Cory LaViska
80fa1cea83
Use disconnectedCallback instead of componentDidUnload; fixes #161
2020-08-06 06:56:29 -04:00
Cory LaViska
d5eed12177
Fix bug where focusVisible observer wasn't removed from details
2020-08-05 14:54:48 -04:00
Cory LaViska
b27fc01118
Fixes #160
2020-08-05 13:56:47 -04:00
Cory LaViska
b15a12d4e1
Fix details initial height when open; closes #160
2020-08-05 13:45:39 -04:00
Cory LaViska
6a3b2c995d
Update docs
2020-08-03 12:54:47 -04:00
Cory LaViska
1e65163983
Move methods
2020-08-03 07:40:53 -04:00
Cory LaViska
9974771185
Fixed bug where tab group wasn't scrollable by mouse
2020-08-03 07:40:02 -04:00
Cory LaViska
41ff07b965
Add header part to details; fixes #150
2020-08-02 06:54:17 -04:00
Chris Haynes
b51871aca3
Tab Group - set active tab when element is visible ( #154 )
...
Another great catch. Thanks!
2020-08-02 06:49:47 -04:00
Chris Haynes
92fdc551d8
Merge branch 'fix/tabgroup-mutation-observer' of https://github.com/lamplightdev/shoelace into fix/tabgroup-mutation-observer
...
* 'fix/tabgroup-mutation-observer' of https://github.com/lamplightdev/shoelace :
Fix typo in aria attribute
Fixes #148 - prevents recursive calls to observer
2020-08-01 22:43:17 +01:00
Chris Haynes
d09c4f06a7
Fix typo in aria attribute
2020-08-01 22:40:40 +01:00
Chris Haynes
8f0c1eb339
Fixes #148 - prevents recursive calls to observer
...
Uses a block list for the attributes that shouldn't trigger the observer. It may be better to use an allow list since the observer is still called unnecessarily for e.g. `style` attribute changes.
2020-08-01 20:34:07 +01:00
Chris Haynes
4789399170
Fixes #148 - prevents recursive calls to observer
...
Uses a block list for the attributes that shouldn't trigger the observer. It may be better to use an allow list since the observer is still called unnecessarily for e.g. `style` attribute changes.
2020-07-30 22:27:43 +01:00
Chris Haynes
4e3934eb28
Ensures there are no id clashes ( #146 )
...
Ensures there are no id clashes by renaming the internal id property to componentId
2020-07-29 07:15:47 -04:00
Cory LaViska
f02a09b697
Fix comment
2020-07-28 08:41:55 -04:00
Cory LaViska
919d75c022
First version of skeleton
2020-07-28 08:41:45 -04:00
Cory LaViska
c32581678a
Super early implementation
2020-07-27 16:20:15 -04:00
Cory LaViska
b4dfae2a79
Fix bug where color picker wouldn't parse uppercase values
2020-07-27 07:36:17 -04:00
Cory LaViska
1bfbd665fa
Add pulse prop to badge
2020-07-27 07:32:17 -04:00
Cory LaViska
96f32122c0
Add icon button
2020-07-24 16:57:38 -04:00
Cory LaViska
79b84cc47e
Fix bug where pressing enter on a tag would open the control
2020-07-24 16:57:19 -04:00
Cory LaViska
bd07f16348
Fix focus bug; move method into correct place
2020-07-24 15:28:14 -04:00
Cory LaViska
23d749c1fd
Fix comment
2020-07-24 11:06:25 -04:00
Cory LaViska
4ec2a34718
Fix type-to-select behavior; add typeToSelect method to menu
2020-07-24 10:41:52 -04:00
Cory LaViska
f32b54cae3
Make dropdowns give focus back to the trigger when closing
2020-07-24 09:28:36 -04:00
Cory LaViska
91a023e564
Remove unused method
2020-07-24 09:27:11 -04:00
Cory LaViska
3e0f174052
Prevent text selection when select is focused
2020-07-24 09:25:41 -04:00
Cory LaViska
89cce4bbb8
Close select when tabbing
2020-07-24 09:25:09 -04:00
Cory LaViska
caef94339b
Remove benign properties
2020-07-24 08:44:31 -04:00
Cory LaViska
a220b694ef
Make footer slot existence automatic (dialog, drawer)
2020-07-24 08:38:00 -04:00
Cory LaViska
60e8e4579a
Remove unused prop
2020-07-24 08:24:33 -04:00
Cory LaViska
308d68bcb4
Fix cursor when hovering over select
2020-07-23 18:00:43 -04:00
Chris Haynes
0328854285
Fixes #135 - uses the composedPath() array to find the closest matching elements the event was triggered on ( #136 )
...
composedPath() is preferred over closest() since it pierces shadow DOM boundaries
2020-07-23 17:12:05 -04:00
Cory LaViska
66c3de9c3b
Add card component
2020-07-22 16:02:49 -04:00
Cory LaViska
905152a412
Add hasSlot utility
2020-07-22 16:02:32 -04:00
Cory LaViska
8177ce2a4a
Update badge status
2020-07-22 16:02:20 -04:00
Cory LaViska
4234292ec4
Remove comment
2020-07-22 16:02:07 -04:00
Cory LaViska
3c1ad8e0dc
Fix rating display for easier alignment
2020-07-22 11:49:51 -04:00
Cory LaViska
f2a7ab3f40
Use design token
2020-07-22 07:20:11 -04:00
Cory LaViska
d6c8afb9bc
Fix range tooltip on iOS; closes #110
2020-07-22 07:12:08 -04:00
Cory LaViska
a91f1d15d6
Merge branch 'next' of https://github.com/shoelace-style/shoelace into next
2020-07-21 15:23:19 -04:00
Michael Stramel
2821cacb37
Switch lock array to set operations ( #131 )
...
* Switch lock array to set operations
* Remove falsy/null check from lockBodyScrolling function
2020-07-21 15:21:35 -04:00
Cory LaViska
ce30c35663
Move bindings from constructor to connectedCallback
2020-07-21 15:18:58 -04:00
Cory LaViska
57b8632eb7
Make tag colors AA compliant; fixes #128
2020-07-21 06:38:21 -04:00
Cory LaViska
7a4fec532c
Refactor host vars and remove non-display props
2020-07-20 16:58:29 -04:00
Cory LaViska
b45ca1a6d3
Expose --focus-ring prop on tab
2020-07-20 16:56:35 -04:00
Cory LaViska
bfe67e5b88
Improve rating selection
2020-07-20 16:22:32 -04:00
Cory LaViska
aaa9187b84
Add rating component
2020-07-20 12:58:05 -04:00
Cory LaViska
b57151f282
Initial commit for rating (unfinished)
2020-07-20 06:17:20 -04:00
Chris Haynes
5709d993ef
Fixes #109 - ensure sl-form finds all nested controls
2020-07-18 22:56:18 +01:00
Cory LaViska
7f89b6ab09
Fix initial dialog transition in Firefox
2020-07-17 09:09:57 -04:00
Cory LaViska
20b55f8ad7
Fix initial transitions
2020-07-17 08:15:09 -04:00
Cory LaViska
9ddc7aa797
Fix color picker input width in Safari
2020-07-17 07:18:54 -04:00
Cory LaViska
8b5e2445ed
Fix giant cursors in Safari inputs
2020-07-17 07:02:05 -04:00
Cory LaViska
c755735e03
Delay opening
2020-07-17 06:30:15 -04:00
Cory LaViska
a7ae0a0fb5
Explicitly define all sides
2020-07-17 06:24:48 -04:00
Cory LaViska
f3eff6edf8
Update @since to 2.0
2020-07-17 06:09:10 -04:00
Cory LaViska
eea6b93292
Enable pointer events on badges
2020-07-16 16:13:46 -04:00
Cory LaViska
79a48a3cc2
Add pill variation to badge
2020-07-16 15:31:46 -04:00
Cory LaViska
0b86753038
2.0 cleanup
2020-07-15 17:30:37 -04:00