Wykres commitów

660 Commity (8d7bf97127ed4ddd02063a839074041d497f5c61)

Autor SHA1 Wiadomość Data
Cory LaViska f3b0e3ccc9 Remove default theme class
We can't scope the default theme like we can other themes because they use ::part and have a higher specificity, so this isn't very useful.
2020-08-18 17:07:39 -04:00
Cory LaViska 76e5ed1d93 Use border radius token for inputs 2020-08-18 17:06:48 -04:00
Cory LaViska ae5af1edb7 Add panel tokens 2020-08-18 17:05:46 -04:00
Cory LaViska 2b776661ca Move dark theme to themes dir 2020-08-18 09:41:02 -04:00
Cory LaViska c49fbf3587 Cleanup selectors 2020-08-17 16:52:52 -04:00
Cory LaViska c6f081c399 Finish up dark theme and split files 2020-08-17 08:23:27 -04:00
Cory LaViska d45dc5144e Export parts for color picker 2020-08-17 08:23:06 -04:00
Cory LaViska 474ef6182f Export parts for select 2020-08-17 08:22:53 -04:00
Cory LaViska 661a84941e Finish initial dark mode component styles 2020-08-16 11:28:23 -04:00
Cory LaViska 6d09a43fbf Reflect tag props 2020-08-16 11:27:18 -04:00
Cory LaViska 90a309d006 Refactor property name 2020-08-16 11:27:06 -04:00
Cory LaViska 88bd79fa1b Remove default color prop from progress ring 2020-08-16 11:26:52 -04:00
Cory LaViska a566e6b48d Reflect menu item props 2020-08-16 11:26:31 -04:00
Cory LaViska 3130ea1c39 Add --color to menu divider 2020-08-16 11:26:11 -04:00
Cory LaViska 2f15b782f8 Move bg color styles from menu item to menu 2020-08-16 11:25:58 -04:00
Cory LaViska d658aa5fed Add --tabs-border-color to tab-group 2020-08-16 11:25:23 -04:00
Cory LaViska 229fa437e0 Reflect tab props 2020-08-16 11:25:11 -04:00
Cory LaViska b402f2f2ab Add --track-color to range 2020-08-16 11:24:58 -04:00
Cory LaViska 2ffc1de1b6 Reflect icon button props 2020-08-16 11:24:43 -04:00
Cory LaViska dab9b8a1f5 Fix bug where radio dot was always technically visible 2020-08-16 10:58:15 -04:00
Cory LaViska 15f0662e77 Fix bug where progress bar had the wrong part name 2020-08-16 10:54:11 -04:00
Cory LaViska 19934bbd15 Revert "Revert "Revert "Revert "Initial dark theme (WIP)""""
This reverts commit 389b9248db.
2020-08-14 17:56:40 -04:00
Cory LaViska 389b9248db Revert "Revert "Revert "Initial dark theme (WIP)"""
This reverts commit 76e86922f0.
2020-08-14 17:55:44 -04:00
Cory LaViska 76e86922f0 Revert "Revert "Initial dark theme (WIP)""
This reverts commit 4e1abbc885.
2020-08-14 17:43:29 -04:00
Cory LaViska 4e1abbc885 Revert "Initial dark theme (WIP)"
This reverts commit 787735cec7.
2020-08-14 17:38:35 -04:00
Cory LaViska d4ff32efba Revert "Make prettier happy"
This reverts commit 35074461b8.
2020-08-14 17:38:27 -04:00
Cory LaViska 35074461b8 Make prettier happy 2020-08-14 17:31:46 -04:00
Cory LaViska 787735cec7 Initial dark theme (WIP) 2020-08-14 17:31:21 -04:00
Cory LaViska 573552b457 Rework show/hide logic; #fixes 170 2020-08-13 10:29:31 -04:00
Cory LaViska b1a93d73c8 Prevent duplicate show/hide events; fixes #170 2020-08-13 07:43:45 -04:00
Cory LaViska 2f9290fafe Fixes Safari dialog resize bug; closes #171 2020-08-13 07:24:18 -04:00
Cory LaViska cc7501e530 Allow type to select to accept symbols 2020-08-12 08:21:39 -04:00
Cory LaViska e64a23cdfc Set initial playback rate 2020-08-12 07:35:00 -04:00
Cory LaViska 3567b3f6f4 Set default duration 2020-08-12 07:25:16 -04:00
Cory LaViska 945630e235 Prevent Safari from borking scrolling for menus in dropdowns 2020-08-12 07:02:43 -04:00
Cory LaViska 63f6cfddf6 Animations 2020-08-11 18:47:02 -04:00
Cory LaViska afc5e292c3 Rewrite animation component from scratch 2020-08-11 09:32:10 -04:00
Cory LaViska f2a33ab070 Update; not gonna fork 2020-08-10 10:45:46 -04:00
Cory LaViska 9b5ac44934 Initial fork of animatable-component 2020-08-10 10:04:25 -04:00
Cory LaViska 6c16eb9a11 Add slActivate/slDeactivate events to menu item 2020-08-08 15:45:32 -04:00
Cory LaViska be44db8e35 Move scrollIntoView logic from menu to dropdown 2020-08-08 15:26:21 -04:00
Cory LaViska 251e3059a0 Move scrolling from menu to dropdown panel 2020-08-08 15:00:12 -04:00
Cory LaViska d70908ef8d Fix button group tooltips in Safari 2020-08-07 16:43:40 -04:00
Cory LaViska bc5ea9cf00 Fix link button type bug 2020-08-07 16:18:15 -04:00
Cory LaViska 12581ca76b Add support for link buttons; closes #165 2020-08-07 15:42:55 -04:00
Nathan Berks 592977b7b8
Update index.ts component export ref (#163)
Co-authored-by: nathanb21 <nathan.berks@nanoporetech.com>
2020-08-06 12:25:44 -04:00
Cory LaViska 68f08b04bb Fix button width in Safari 2020-08-06 12:13:11 -04:00
Cory LaViska 7574c0e840 Remove console.log 2020-08-06 09:13:45 -04:00
Cory LaViska 2b2a37bc3f Add button group component 2020-08-06 09:07:24 -04:00
Cory LaViska 767decf6c6 Fix icon button alignment 2020-08-06 09:05:50 -04:00
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