Cory LaViska
752f5cff55
fixes #1071
2022-12-13 09:28:12 -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
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
Cory LaViska
daebd08475
add validation states to all form controls; closes #1011
2022-11-18 09:56:05 -05:00
Cory LaViska
f64f144b4b
fixes #985
2022-11-10 12:27:03 -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
Patrick McElhaney
9fc4185f87
Better descriptions for checkbox attributes ( #894 )
...
The description for the checkbox's value attribute is currently "the checkbox's value attribute." I think we can do better than that, especially considering anyone who hasn't worked with old-school HTML forms that POST to the URL in the `action` attribute is unlikely to know why a checkbox has a value and that value is not boolean.
While I was here I improved a couple of other descriptions. If there's an interest, I can expand this PR to update all of the properties in all controls where the description is tautological.
2022-08-31 16:14:34 -05:00
Cory LaViska
32f24a881e
make dir/lang reactive everywhere
2022-08-17 11:37:37 -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
Cory LaViska
3b3cb6d61d
fixes #786
2022-06-29 08:09:25 -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
8904e9d709
#744
2022-05-11 10:48:06 -04:00
Cory LaViska
35885ef59f
fixes #744
2022-05-11 10:34:40 -04:00
Cory LaViska
300cbd090f
revert path aliases
2022-03-24 08:01:09 -04:00
Cory LaViska
e32c15204c
Revert recent changes
2022-03-24 07:48:03 -04:00
Cory LaViska
f34960d82a
revert path aliases since we can't override WTR's TS config
2022-03-23 09:30:39 -04:00
Cory LaViska
c26b1335f5
refactor form control parts
2022-03-18 17:33:23 -04:00
Cory LaViska
a5cd9a4968
refactor parts and exported parts
2022-03-09 15:54:18 -05:00
Cory LaViska
3aa5fdba55
improve form controls a11y; add tests
2022-03-08 17:34:17 -05:00
Cory LaViska
ff1e11022d
reintroduce path aliasing and fix autosort
2022-03-02 09:28:34 -05:00
Cory LaViska
3fa41ea8d9
revert path aliasing and update import orders
2022-02-26 10:48:56 -05:00
Jason O'Neill
0330498bbb
eslint: enable one-liner functions, dangling promises
2022-01-16 20:44:10 -08:00
Jason O'Neill
9fb3b5cfed
feat: add ESLint, improve types, improve a11y
2022-01-15 21:47:14 -08:00
Cory LaViska
33afecf7da
support for <form> elements; remove <sl-form>
2022-01-11 09:18:20 -05:00
Narendra Sisodiya
8ac007ba9a
Removed lit-html and added lit ( #547 )
2021-09-29 08:40:26 -04:00
Cory LaViska
54fc41e175
update to lit 2.0
2021-09-20 22:01:21 -04:00
Cory LaViska
dfb9127052
fix checkbox/switch focus visible
2021-08-27 08:50:31 -04:00
Cory LaViska
5933e948e1
fix checkbox focus visible
2021-08-27 08:38:11 -04:00
Benny Powers
9b99a92dc1
fix: emit sl-change from checkbox on user interaction only
...
fixes #497
2021-08-10 18:53:15 +03:00
Cory LaViska
1a6c1ed1c3
fixes #480
2021-07-16 10:16:02 -04:00
Cory LaViska
383e039297
sass => lit styles
2021-07-09 20:45:44 -04:00
Cory LaViska
2ea5b65cb8
remove redundant types
2021-06-30 20:04:46 -04:00
Cory LaViska
6883851866
don't use inferred types for analyzer
2021-06-28 09:23:39 -04:00
Cory LaViska
e31a05beb0
Merge branch 'next' into metadata
2021-06-25 19:40:12 -04:00
Cory LaViska
a28942f264
use @watch and reorder handlers
2021-06-25 19:22:05 -04:00
Cory LaViska
af61f45ecb
fixes #473
2021-06-25 19:02:34 -04:00
Cory LaViska
0da9955403
Add dashes back to metadata
2021-06-25 16:25:46 -04:00
Cory LaViska
d0b9488c1c
switch to custom elements manifest analyzer
2021-06-24 18:24:54 -04:00
Cory LaViska
a14dd95c21
assign certain props as properties
2021-06-17 16:45:49 -04:00
Cory LaViska
1e4de5f821
fixes #455
2021-06-16 08:42:02 -04:00
Cory LaViska
16e7287c24
rework @watch decorator
2021-06-15 09:26:35 -04:00
Cory LaViska
e34090a87b
update lit/esbuild
2021-05-27 17:00:43 -04:00
Cory LaViska
16a3d5f156
fix default values
2021-04-02 07:47:25 -04:00
Cory LaViska
784c173728
add click method
2021-04-01 09:50:18 -04:00
Cory LaViska
e4a4281200
fix default values
2021-04-01 07:57:31 -04:00