Wykres commitów

207 Commity (konnorrogers/fix-animated-image-docs)

Autor SHA1 Wiadomość Data
Konnor Rogers 7891dbef93
Add missing extensions (#1770)
* fix(typescript): add missing extension to imports in typescript

This is required for the types to work with the new
`--module-resolution=node16`.

The list of places to fix was obtained by a crude script:

```sh
rg -g'**/*.ts' -g'!**/*.test.ts' ' from\s+.\.' | rg -v '\.js'
```

References #1765

* add missing extensions

* revert tsconfig

* prettier

* fix test files for NodeNext

* prettier

* changelog entry

* prettier

* prettier

* prettier

---------

Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2023-12-08 12:30:31 -05:00
Cory LaViska 4864ab808d
Fixes `setRangeText()` in `<sl-input>` and `<sl-textarea>` (#1752)
* fix setSelectionRange(); fixes #1746

* remove comment

* remove console.log
2023-12-01 10:06:48 -05:00
Cory LaViska 4b03675116
oh, safari (#1655) 2023-10-16 12:55:20 -04:00
Cory LaViska c7b53cff47 update prettier 2023-10-12 13:56:11 -04:00
Cory LaViska 1383ea3fe8
React import paths (#1507)
* fix react imports in examples

* move types to definition files

* update changelog

* update changelog
2023-08-11 13:09:44 -04:00
Cory LaViska 5b6c1632bd update var names and use stylesheet; #1496 2023-08-09 15:38:24 -04:00
Tomas Drencak bf15f2fb8a
Toggle visibility of the clear button (#1496) 2023-08-09 15:28:30 -04:00
Konnor Rogers 3a61d20d93
Create non-auto-registering routes (#1450)
* initial attempt at not auto defining

* add files with -

* continued work on removing auto-define

* fix component definitions

* update with new tag stuff

* fix lots of things

* fix improper scoped elements

* working through side effects

* continued react wrapper work

* update changelog

* formatting

* fixes

* update changelog

* lint / formatting

* fix version injection

* fix version injection, work on test

* fix version injection, work on test

* fix merge conflicts

* fix jsdoc null issue

* fix templates

* use exports

* working on tests

* working on registration mocking

* fix customElements test

* linting

* fix some test stuff

* clean up test

* clean up comment

* rename scopedElements to dependencies

* linting / formatting

* linting / formatting

* mark all packages external and still bundle

* set bundle false

* set bundle true

* dont minify

* fix merge conflicts

* use built shoelace-element

* fix lint errors

* prettier

* appease eslint

* appease eslint gods

* appease eslint gods

* appease eslint gods

* appease eslint gods

* add shoelace-autoloader

* move it all into 1 function

* add exportmaps note

* prettier

* add jsdelivr entrypoint

* read as utf8

* update docs with .component.js importS

* prettier
2023-07-24 13:00:07 -04:00
Cory LaViska e1ca7d1f59
Lit a11y update (#1444)
* update eslint-plugin-lit-a11y to latest

* update eslint deps

* remove aria- and role attribs from slots; closes #1422
2023-07-12 11:12:15 -04:00
Konnor Rogers a4f0ae9088
fix: valueAsDate now falls back to native implementation (#1399)
* fix: valueAsDate now falls back to native implementation

* changelog

* prettier

* prettier
2023-07-07 13:51:22 -04:00
Konnor Rogers 60d7f688eb
fix extensionless imports (#1394) 2023-06-22 10:56:24 -04:00
Konnor Rogers d7145f1f84
Konnorrogers/fix value as number 2 (#1385)
* fix: garbage collected valueAs*

* weird....

* prettier and tests
2023-06-20 15:22:13 -04:00
konnorrogers af8426579e prettier 2023-06-13 15:59:16 -04:00
konnorrogers 6b9ba9becf eslint 2023-06-13 15:54:09 -04:00
konnorrogers c6cc7b6983 prettier 2023-06-13 15:43:21 -04:00
konnorrogers 0e869ec18d fix the tests 2023-06-13 15:40:04 -04:00
Cory LaViska 1b347874ef fix tests 2023-06-13 14:22:56 -04:00
Cory LaViska ff5b1e8573 fix imports 2023-06-13 14:06:37 -04:00
Brendon Muir bd3b2c93ee
Fix sl-input[type="date|time"] placeholder on macOS Safari (#1341)
Allowing the background to inherit rather than removing it allows the weird date and time placeholder text opacity to work on macOS Safari.
2023-06-12 12:09:20 -04:00
Cory LaViska 9c5e184d82 fixes #1302 2023-04-14 12:48:57 -04:00
Cory LaViska 6aaf17b81a fixes #1224 2023-03-06 17:11:39 -05:00
Cory LaViska 218e78e947 add getForm() method; closes #1180 2023-02-28 12:10:14 -05:00
Bünyamin Eskiocak dde1010465
Fixed clipped calendar toggle in Firefox (#1213)
* fixed clipped calendar toggle in firefox

* changelog

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2023-02-27 12:04:32 -05:00
Justin Fagnani 22b8ef4edf
Fix a few spelling issues (#1192) 2023-02-23 11:15:20 -05:00
Cory LaViska 5b12de1edf fixes #1205 2023-02-21 11:54:39 -05:00
Cory LaViska 65e90f12f4 rename event 2023-02-14 15:12:21 -05:00
Cory LaViska 4335289d6a make doc comments consistent for check/report validity 2023-02-14 15:02:52 -05:00
Cory LaViska 86cc721e03 update description and document sl-invalid event 2023-02-14 14:59:34 -05:00
xdev1 4a28825ea7
Added some missing form validation standard features (implemented for #1181) (#1167)
* #1163 - added read-only properties 'validity' and 'validationMessage' to all nine form controls

* #1163 - added base support for showing form validation messages below the form controls

* #1163 - animated validation errors in demo

* #1181 - Removed all previous changes that have been validation error specific

* Started with 'Inline validation' demo / fixed merge issues / etc.

* #1181 - continued work on missing form validation features

* #1181 - enhanced validation support for SlColorPicker / some cleanup

* #1181 - fixed CSS issues

* #1181 - fixed again CSS issues

* '1181 - added form validation features finally working

* #1181 - bug fixes

* #1181 - fixed open issues / added API doc comments

* #1181 - updated inline validation demos / removed some legacy code

* #1181 - finished invalid form validation example

* #1181 - added tests / several bugfixes

* #1181 - fixed typos etc.

* #1181 - tests

* #1181 - tests

* #1181 - tests
2023-02-14 14:50:06 -05:00
Cory LaViska 1f1024f4ca change default; #1175 2023-02-07 15:57:50 -05:00
Cory LaViska 527bf79973 improve user interaction heuristics; closes #1175 2023-02-07 15:29:26 -05:00
Cory LaViska a539058253 validate even with novalidate; fixes #1164 2023-02-06 17:18:01 -05:00
Cory LaViska 3c2f5ec48e sort this, eslint 2023-01-13 15:43:55 -05:00
Cory LaViska 29ff99dd76 sigh 2023-01-13 14:37:45 -05:00
Cory LaViska 6b9b410bdc *put table back up* 2023-01-13 14:37:34 -05:00
Cory LaViska 7ce079b7a1 *flip table* 2023-01-13 14:29:25 -05:00
Cory LaViska b0ba9ff14f remove expect 2023-01-13 14:22:45 -05:00
Cory LaViska ac429a62c0 disable lint 2023-01-13 14:16:16 -05:00
Cory LaViska aa65077b12 add getFormControls() method 2023-01-13 14:06:58 -05:00
Cory LaViska 6e26daf804 add form attribute; fixes #1130 2023-01-13 12:34:33 -05:00
Cory LaViska edc9e69f30 add @documentation tag 2023-01-12 10:26:25 -05:00
Cory LaViska 68ed69292c add validation tests; fixes #1065 2023-01-10 15:05:44 -05:00
Cory LaViska 1fbb809057 update docs comment 2023-01-10 15:04:53 -05:00
Cory LaViska e2d2f5d670 rename FormSubmitController; remove this.invalid 2023-01-10 13:24:06 -05:00
Cory LaViska acef0da2c1 remove unused classes 2023-01-10 12:28:44 -05:00
Cory LaViska d81e2f1470 fixes #1063 2023-01-05 12:43:17 -05:00
Cory LaViska dcca64a986 use public method for validity 2023-01-05 11:54:10 -05:00
Cory LaViska c216cfe0fd fix min/max types 2023-01-05 11:29:51 -05:00
Cory LaViska c8555f448c reorg and add private keyword 2023-01-03 15:04:07 -05:00
Cory LaViska f7d7fdf5b1 rerorder props 2022-12-20 18:23:19 -05:00