Cory LaViska
9027ce055a
prettier
2022-10-24 10:06:39 -04:00
Felix Becker
119b923522
testing: components/tag ( #949 )
...
* add test for SlTag
* add all classes (even not test relevant ones) to fix failing tests
2022-10-24 10:04:42 -04:00
Felix Becker
3b4d0652c4
testing: components/skeleton ( #951 )
...
* add tests for SlSkeleton
* check base aria-properties too
2022-10-24 10:04:30 -04:00
Felix Becker
1301934796
add test for SlRating ( #953 )
2022-10-24 10:04:17 -04:00
Emil
a8539bae02
Update vue-2.md ( #959 )
2022-10-24 10:03:24 -04: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
Felix Becker
70766b4e68
add new theme token --sl-input-required-content-color to both themes ( #948 )
...
* add new theme token --sl-input-required-content-color to both themes
* use new token
* use label color as default value
2022-10-21 08:59:20 -04:00
Nick Cipriani
361efd43a2
Remove extra footer slot from Card with Footer example ( #966 )
...
The button and div both had a slot equal to footer when only the footer div actually needs it.
2022-10-21 08:08:49 -04:00
Manuel Schmidt
a78b9fe5bd
`sl-alert`: move description from docs to component ( #947 )
...
* move component description from docs to component
* use component description in docs
* add style for lead sentence, keep bc for not updated components
* run `npm prettier`
* render summary as part of the header
* add `title` as another custom tag for JSDoc
* render components title in header
2022-10-19 09:35:53 -04:00
Manuel Schmidt
0cba4695ba
Enrich docs with `@summary` and `@title` from `custom-elements.json` ( #952 )
...
* provide possibility to render components "description" into docs with `[component-description:COMPONENT_NAME]`
* the meta summary should be rendered into header too
2022-10-18 12:22:48 -04:00
Buni48
22fa81433e
tests for sl-tab-panel ( #956 )
2022-10-18 10:49:50 -04:00
Buni48
5458a0e8f5
Added tests to menu-item & menu-label ( #935 )
...
* added tests to menu-item & menu-label
* updated changelog
* aTimeout instead of setTimeout
2022-10-14 08:55:09 -04:00
Buni48
0e67f85995
Fixed applying border radius to card header ( #934 )
...
* fixed applying border radius to card header
* updated changelog
Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2022-10-14 08:36:11 -04:00
Buni48
808003f3df
Added checked state part for radio & radio button ( #933 )
...
* added checked state part for radio & radio button
* updated changelog
2022-10-14 08:35:00 -04:00
Buni48
46c225d50f
removed intl safari support notice ( #954 )
2022-10-14 08:34:11 -04:00
Cory LaViska
0a3656efc5
prettier
2022-10-03 16:19:22 -04:00
Greg Leaver
0aca600063
Fix `<sl-range>` docs to have correct closing tag in examples. ( #928 )
...
A couple of the examples had `</sl-input>` instead of `</sl-range>`
2022-10-03 16:15:04 -04:00
Cory LaViska
38f05ff010
ts
2022-09-21 10:30:23 -04:00
Cory LaViska
3d4cbbf6ba
fix path
2022-09-21 10:27:37 -04:00
Cory LaViska
c877e16c14
improve badge font size
2022-09-20 10:25:01 -04:00
Cory LaViska
acce8eb146
increase badge padding
2022-09-20 10:19:35 -04:00
Cory LaViska
03fe71353a
2.0.0-beta.83
2022-09-19 08:50:51 -04:00
Cory LaViska
8915282082
update version
2022-09-19 08:46:31 -04:00
Cory LaViska
28003ac430
downgrade Floating UI for perf reasons
2022-09-19 08:39:11 -04:00
Cory LaViska
f2dcad82a9
fixes #916
2022-09-19 08:19:04 -04:00
Cory LaViska
69ff4f0bbc
refactor emit into ShoelaceElement
2022-09-16 16:21:40 -04:00
Cory LaViska
a1c93fd30f
fixes #913
2022-09-16 15:27:10 -04:00
ErikOnBike
bdf8c4e669
Fix workaround for Safari which still has old property name in sl-progress-ring ( #914 )
2022-09-16 15:14:38 -04:00
Cory LaViska
854e576c2c
fixes #912
2022-09-16 15:11:02 -04:00
Cory LaViska
cf32064e8c
add issue number
2022-09-12 08:53:32 -04:00
Cory LaViska
1f91d4cb79
add missing part
2022-09-12 08:50:16 -04:00
Cory LaViska
a7fdb23577
fix tooltip alignmen
2022-09-12 07:51:03 -04:00
Cory LaViska
39d1bbed2c
fixes #905
2022-09-09 09:38:54 -04:00
Cory LaViska
e2e152c373
update changelog
2022-09-05 12:56:05 -04:00
Cory LaViska
aae74dbaf7
reorder and update changelog
2022-09-05 12:56:00 -04:00
Buni48
6c716db037
added expand button part for tree item ( #893 ); fixes #890
2022-09-05 12:52:41 -04:00
Cory LaViska
7c0c0fa244
use event phase constants
2022-09-05 12:27:47 -04:00
Jared White
ffd32e52ef
Avoid bubbling events for sl-include ( #897 )
...
* Avoid bubbling events for sl-include
I ran into an issue where icons inside of an HTML include were dispatching `sl-load` events, which was causing my `sl-include` event handler to run multiple times. By adding these guards, we ensure only events immediately dispatched by the element itself will be handled.
* Use the correct event variable
2022-09-05 12:23:47 -04:00
Cory LaViska
27868b56e8
fixes #891
2022-09-02 15:19:35 -04:00
Cory LaViska
346f13e5a5
fix arrow placement
2022-09-02 11:28:49 -04:00
Cory LaViska
69547d4800
remove unused styles
2022-08-31 16:19:42 -05: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
Justin Fagnani
08b5da7c56
Change LitElement and site to Lit and lit.dev ( #889 )
2022-08-30 23:28:45 -05:00
Cory LaViska
05e026876a
fix transition in Firefox
2022-08-30 17:51:51 -05:00
Cory LaViska
8d0d0ac4e0
forEach
2022-08-30 16:59:40 -05:00
Cory LaViska
972d629883
remove 404 from search
2022-08-30 16:59:24 -05:00
Cory LaViska
ce12020fca
remove clearable
2022-08-30 16:09:49 -05:00
Cory LaViska
29b149cd26
fix sidebar buttons
2022-08-30 16:08:51 -05:00
Cory LaViska
7de37b9315
remove date
2022-08-30 16:08:40 -05:00
Cory LaViska
237cda3b63
fixes #884
2022-08-30 11:56:34 -05:00