Wykres commitów

341 Commity (099dfc93d8820d413384b4354d9ecc0ab245b46e)

Autor SHA1 Wiadomość Data
Cory LaViska 134a8b26ac Fix stacking bug 2020-09-16 12:42:24 -04:00
Cory LaViska 1065ec0e61 Remove redundant styles 2020-09-16 12:17:08 -04:00
Cory LaViska 5d21c6f2b1 Fixes 2020-09-16 12:06:39 -04:00
Cory LaViska dbb1a69e67 Add light dom styles; reset duration on mouse move 2020-09-16 11:10:25 -04:00
Cory LaViska 017e6db629 Fix transitions 2020-09-16 10:19:06 -04:00
Cory LaViska d8b8c8a050 Use toast prop and no light dom 2020-09-16 10:16:08 -04:00
Cory LaViska ad9de54752 Light DOM variation 2020-09-16 09:34:54 -04:00
Cory LaViska ed393f169e Fixes #210 2020-09-14 09:23:20 -04:00
Cory LaViska 64aae41910 Fixes #208 2020-09-11 10:55:24 -04:00
Cory LaViska d8fc0464bb Refactor clear logic in input 2020-09-09 16:19:48 -04:00
Cory LaViska 6a731ca015 Prevent mouse events from bubbling up in buttons 2020-09-08 08:27:07 -04:00
Cory LaViska 4bf67c839a Export inputs parts in sl-select; fixes #206 2020-09-08 07:39:46 -04:00
Cory LaViska 5ae49175af Fix typo 2020-09-04 17:11:25 -04:00
Cory LaViska a8f040f3f0 Fix placements 2020-09-04 16:18:00 -04:00
Cory LaViska 56b64940ca Add support for form submission and validation in color picker 2020-09-04 10:18:46 -04:00
Cory LaViska 9285dd5926 Remove -webkit-appearance property 2020-09-04 10:16:48 -04:00
Cory LaViska fbd3a67dac Fix onAfterShow callback 2020-09-04 10:15:35 -04:00
Cory LaViska 551f57aa9a Fix color picker form submit bug 2020-09-04 08:57:34 -04:00
Cory LaViska b51978b1a6 Fix duplicate slBlur/slFocus in select; closes #200 2020-09-04 08:02:39 -04:00
Cory LaViska 84d4421575 Improve keyboard logic 2020-09-03 17:44:52 -04:00
Cory LaViska 0a5c4da2d1 Fix menu focus bug 2020-09-03 12:53:04 -04:00
Cory LaViska 8b4507cf60 Fix disabled cursor in select 2020-09-03 10:25:14 -04:00
Cory LaViska 72b0c46d2f Fix animation bug and refactor 2020-09-02 17:45:59 -04:00
Cory LaViska 6529200dda Return '' for slots that are null or not loaded 2020-09-02 17:23:33 -04:00
Cory LaViska 2aa0f83e6a Fix typo in comment 2020-09-02 16:59:20 -04:00
Cory LaViska 0c4beb3608 Use copy cursors 2020-09-02 07:51:19 -04:00
Cory LaViska 215ea51a26 Add responsive embed utility component 2020-08-31 16:47:31 -04:00
Cory LaViska 2cf2f63c86 Use directional cursor 2020-08-31 08:46:41 -04:00
Cory LaViska 9ad226924c Merge branch 'input-validation' into next 2020-08-31 07:08:24 -04:00
Cory LaViska b1f1d0de12 Update generated file 2020-08-31 07:06:49 -04:00
Marvin Tunji-ola 36ac492651
Update: changed alert class name from Tab to Alert (#196) 2020-08-31 07:06:02 -04:00
Cory LaViska 01237ee3ef Clarify the active prop 2020-08-29 20:01:16 -04:00
Cory LaViska 918b11f558 Improve documentation 2020-08-29 12:52:13 -04:00
Cory LaViska 03ca66eba3 Improve faux readonly behavior 2020-08-29 11:26:14 -04:00
Cory LaViska 08bd5fe146 Add novalidate 2020-08-29 10:39:18 -04:00
Cory LaViska ba7242367a Remove slValid/slInvalid events 2020-08-28 17:37:36 -04:00
Cory LaViska bc92981c16 Fix select validation 2020-08-28 17:24:23 -04:00
Cory LaViska 9612a77c7e Make checkboxes show validation message 2020-08-28 16:55:27 -04:00
Cory LaViska 50775daec8 Make setCustomValidity a method; add report/set to all form controls 2020-08-28 16:50:18 -04:00
Cory LaViska 7c76fb3813 Rework input validation 2020-08-28 16:14:39 -04:00
Cory LaViska e16ad458ee Remove return value since there isn't one 2020-08-28 06:53:22 -04:00
Chris Haynes f0ba06e6ec
Fixes #188 - update value after setRangeText call (#189)
* Fixes #188 - update value after setRangeText call

* Apply setRangeText fix to textarea

* Update setRangeFix to check for changed value
2020-08-28 06:51:48 -04:00
Cory LaViska 6b9a07eab8 Fix slot listeners 2020-08-27 17:14:47 -04:00
Cory LaViska f4c2611575 Fix role/aria 2020-08-27 16:51:31 -04:00
Cory LaViska 8e94f9fa9e Optimize hasSlot selector 2020-08-27 16:30:45 -04:00
Cory LaViska 83825d899d Refactor slotchange listeners 2020-08-27 15:54:06 -04:00
Cory LaViska 6adca7eed1 Fixed value = null error; closes #187 2020-08-27 12:23:24 -04:00
Cory LaViska 82b41ebaed Fix select options positioning; closes #184 2020-08-27 09:16:34 -04:00
Cory LaViska 2aca25c476 Toggle menu when clicking a tag 2020-08-27 08:20:36 -04:00
Cory LaViska f438393db0 Fix cursor 2020-08-27 08:19:31 -04:00
Cory LaViska 90c5e77b1d Make overflowing content more sane 2020-08-27 08:19:05 -04:00
Cory LaViska 4b0008b0a7 Fix input color tokens bug 2020-08-26 08:30:50 -04:00
Cory LaViska 9d194a17f4 Fix tooltip custom properties 2020-08-26 07:09:01 -04:00
Cory LaViska c54ef43534 More explicit selectors 2020-08-26 07:08:41 -04:00
Cory LaViska c9a2aabd1f Rename positioner 2020-08-26 06:47:27 -04:00
Cory LaViska b78f5990f6 Use positioner for tooltip 2020-08-25 18:01:23 -04:00
Cory LaViska 8f2efa848b Separate position and transition 2020-08-25 17:51:52 -04:00
Cory LaViska a69063934c Add transitionElement option 2020-08-25 17:51:32 -04:00
Cory LaViska b8f52e48ec Add hoist prop; fixes #179 2020-08-25 17:07:28 -04:00
Cory LaViska 7d5aac4bc8 Add clearable and required props to select; fixes #182 2020-08-25 16:25:25 -04:00
Cory LaViska e169c937df Add slClear event to input 2020-08-25 16:24:33 -04:00
Cory LaViska cd0d01f5e5 Add required prop to select 2020-08-25 09:30:28 -04:00
Cory LaViska 26d04a9b2e Add format-bytes utility component 2020-08-25 09:20:13 -04:00
Cory LaViska ac31a16b8e Fix aria state 2020-08-24 12:11:55 -04:00
Cory LaViska ee42170f7b Add slot docs 2020-08-24 09:32:39 -04:00
Cory LaViska 3b6fe57909 Refactor styles 2020-08-24 09:23:02 -04:00
Cory LaViska 2349bc8074 Use scrollbar role 2020-08-24 09:22:52 -04:00
Cory LaViska 175d85a96d Add image comparer 2020-08-21 17:27:11 -04:00
Cory LaViska d0f4478f94 Remove hover/keyboard conflict logic 2020-08-21 16:59:36 -04:00
Cory LaViska d9c5d270f2 Fix select bugs 2020-08-21 16:58:02 -04:00
Cory LaViska 8da9dd7873 Make TypeScript 4 happy 2020-08-21 06:50:31 -04:00
Cory LaViska d949eba957 Add missing part docs 2020-08-21 06:35:39 -04:00
Cory LaViska 21889924e7 Fix aria-labelledby attributes 2020-08-20 09:12:13 -04:00
Cory LaViska ee41a71ccd Expose switch custom props and fix width bug 2020-08-20 09:09:23 -04:00
Cory LaViska dd9b955113 Fix webkit autocomplete colors 2020-08-20 08:57:13 -04:00
Cory LaViska 8aa598ee92 Fix border color in dark mode 2020-08-20 08:27:00 -04:00
Cory LaViska c71bbb4384 Update value on change 2020-08-20 08:25:52 -04:00
Cory LaViska a64d25cfa4 Remove unused comment 2020-08-18 17:31:31 -04:00
Cory LaViska c8cbfa3253 Remove panel part (not breaking) 2020-08-18 17:09:06 -04:00
Cory LaViska 92e58b9657 Remove menu and panel parts (not breaking); add tag part 2020-08-18 17:08:47 -04:00
Cory LaViska 0ebdcbe220 Adjust menu label color 2020-08-18 17:08:00 -04:00
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