Wykres commitów

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

Autor SHA1 Wiadomość Data
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
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 60d7f688eb
fix extensionless imports (#1394) 2023-06-22 10:56:24 -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 218e78e947 add getForm() method; closes #1180 2023-02-28 12:10:14 -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 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 8056379fdd support multiple properties in watch decorator 2023-01-09 16:07:59 -05:00
Cory LaViska d81e2f1470 fixes #1063 2023-01-05 12:43:17 -05:00
Cory LaViska f50fe72df2 don't show scrollbar 2023-01-05 12:40:22 -05:00
Cory LaViska dcca64a986 use public method for validity 2023-01-05 11:54:10 -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
Cory LaViska 1ff05c4b3d fixes #1061 2022-12-08 14:42:04 -05:00
Cory LaViska c6df057e15 fixes #917 2022-12-07 17:40:46 -05:00
Cory LaViska f2efa73e20 improve documentation 2022-12-06 11:18:14 -05:00
Cory LaViska 80a16ee42a remove slot wrappers 2022-12-02 17:03:59 -05:00
Cory LaViska fda9bd52a3 move up 2022-11-30 15:45:21 -05:00
Cory LaViska e10651565f fix typos 2022-11-30 15:43:36 -05:00
Bünyamin Eskiocak 35aa56d334
Added title attribute (#1043)
* added title attribute

Fixes #1042

* added tests for title

* also some other tests

* clarify why title was added
2022-11-30 15:42:56 -05:00
Cory LaViska a50909d474 fixes #1037 2022-11-29 15:52:13 -05:00
Bünyamin Eskiocak a706e69be6
Added stepUp, stepDown and showPicker functions (#1013)
* added stepUp and stepDown to sl-range

* step function & default props tests for sl-range

* stepUp, stepDown & showPicker functions for input

* step functions & default props tests for sl-input

* made name and placeholder default to empty string

* updated changelog

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2022-11-21 12:41:09 -05:00
Cory LaViska daebd08475 add validation states to all form controls; closes #1011 2022-11-18 09:56:05 -05:00
Cory LaViska a3f658938d bulletproof part selectors 2022-11-17 09:35:44 -05:00
Manuel Schmidt 8121faa1d4
Enrich components `@summary` with description from docs (#962)
* keep header styles with repositioned description text

* `animated-image` move description to component

* code style

* `avatar` add summary from docs

* `badge` add summary from docs

* `breadcrumb` add summary from docs

* `button` add summary from docs

* lead sentence is now part of the header

* `button-group` add summary from docs

* `card` add summary from docs

* `checkbox` add summary from docs

* `color-picker` add summary from docs

* `details` add summary from docs

* `dialog` add summary from docs

* `divider` add summary from docs

* `drawer` add summary from docs

* `dropdown` add summary from docs

* `format-bytes` add summary from docs

* `format-date` add summary from docs

* `format-number` add summary from docs

* `icon` add summary from docs

* `icon-button` add summary from docs

* `image-comparer` add summary from docs

* `include` add summary from docs

* `input` add summary from docs

* `menu` add summary from docs

* `menu-item` add summary from docs

* `menu-label` add summary from docs

* `popup` add summary from docs

* `progressbar` add summary from docs

* `progress-ring` add summary from docs

* `radio` add summary from docs

* `radio-button` add summary from docs

* `range` add summary from docs

* `rating` add summary from docs

* `relative-time` add summary from docs

* `select` add summary from docs

* `skeleton` add summary from docs

* `spinner` add summary from docs

* `split-panel` add summary from docs

* `switch` add summary from docs

* `tab-group` add summary from docs

* `tag` add summary from docs

* `textarea` add summary from docs

* `tooltip` add summary from docs

* `visually-hidden` add summary from docs

* `animation` add summary from docs

* `breadcrumb-item` add summary from docs

* `mutation-observer` add summary from docs

* `radio-group` add summary from docs

* `resize-observer` add summary from docs

* `tab` add summary from docs

* `tab-panel` add summary from docs

* `tree` add summary from docs

* `tree-item` add summary from docs

* remove `title` for further usage of `Sl` classnames in docs

* revert: use markdown parser for component summary
2022-10-21 09:56:35 -04:00
Cory LaViska 69ff4f0bbc refactor emit into ShoelaceElement 2022-09-16 16:21:40 -04:00
Cory LaViska 854e576c2c fixes #912 2022-09-16 15:11:02 -04:00
Cory LaViska 32f24a881e make dir/lang reactive everywhere 2022-08-17 11:37:37 -04:00
Cory LaViska 4b7da8f510 update docs 2022-08-03 11:06:52 -04:00
Philipp Sonntag 3fb4cba856
Added type declaration to styles property for all components (#829)
* Updated the plop template with type for styles property
2022-07-19 08:27:39 -04:00
Alessandro b2cf3a5505
feat(form): add reset functionality (#799)
* feat(form): add reset functionality

* feat(interal): add defaultValue decorator

* feat: add defaultValue and defaultChecked

* chore: implement unit tests

* chore: remove leftover
2022-06-28 17:59:52 -04:00
Cory LaViska b4e5544ff8 fixes #767 2022-05-31 08:41:06 -04:00
Cory LaViska ca81a507b6 rework focus rings 2022-05-27 10:13:51 -04:00