Commit Graph

1638 Commits

Author SHA1 Message Date
Cory LaViska
97467d580b remove html from getTextLabel() 2024-01-26 14:07:33 -05:00
Cory LaViska
a4c49e95a9 no more tomatoes (#1836) 2024-01-24 10:29:45 -05:00
Cory LaViska
6751b21283 remove unused import 2024-01-23 11:29:05 -05:00
Cory LaViska
e37139b7cf remove old test 2024-01-23 11:26:59 -05:00
Cory LaViska
afc6dc1923 whitespace 2024-01-23 11:12:47 -05:00
Cory LaViska
e2a64486d0 ignore types 2024-01-23 11:12:30 -05:00
Cory LaViska
8473d06822 prettier 2024-01-23 11:10:09 -05:00
Luke Warlow
0a319c3646 Use close watcher when supported in place of escape key handlers (#1788)
* Use close watcher when supported in place of escape key handlers

* Update src/components/select/select.component.ts

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2024-01-23 11:07:46 -05:00
Matin
1d626c1357 internals: refactor stop animations resolve mechanism (#1780)
* internals: refactor stop animations resolve mechanism

* remove cancel/finish listeners from stop animations function
2024-01-23 10:48:35 -05:00
Konnor Rogers
773255881b fix dialog focus trapping behavior (#1813)
* fix dialog focus trapping behavior

* add changelog entry

* prettier

* remove duplicate 'disabled' check in tabbable

* fix dialog stuff

* prettier

* fix logic around checking active elements

* prettier

* prettier

* remove cusrtom-elements.mjs

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2024-01-23 10:45:20 -05:00
Alessandro
9f640aa0a2 fix(carousel): fix issues with safari (#1748)
* fix(carousel): fix scrollend polyfill

* fix(carousel): refactor mouse dragging

* chore: revert original mouse dragging implementation

* fix: add workaround for safari

* chore: add unit tests

* chore: minor changes

* chore: revert change

* chore: skip test case

* chore: revert changes to docs

* chore: remove leftover
2024-01-23 10:39:48 -05:00
clintcs
1a77e603f8 Add Radio Group help-text slot documentation (#1818) 2024-01-23 10:27:22 -05:00
Alessandro
95881b8cf8 fix(color-picker): add missing percent signs (#1831) 2024-01-23 10:17:42 -05:00
Cory LaViska
e231f8a4a1 fixes #1823 (#1826) 2024-01-23 10:17:01 -05:00
Cory LaViska
6b9e78f05d fixes #1795 (#1822) 2024-01-23 10:16:38 -05:00
Cory LaViska
b79c72725b fixes #1805 (#1821) 2024-01-23 10:15:58 -05:00
Cory LaViska
92bde9c66b fixes #1730 (#1820) 2024-01-23 10:15:33 -05:00
Cory LaViska
dd483c0a04 fix typo 2023-12-13 12:04:39 -05:00
Cory LaViska
f5f4f9ae43 reformat comment 2023-12-13 12:03:01 -05:00
Cory LaViska
a21ab1d044 update changelog; #1787 2023-12-13 12:00:37 -05:00
Michael Warren
d909f4f73d fix(spinner): fix spinner animation, prevent spinner resize in flex containers (#1787) 2023-12-13 11:40:51 -05:00
Konnor Rogers
7891dbef93 Add missing extensions (#1770)
* fix(typescript): add missing extension to imports in typescript

This is required for the types to work with the new
`--module-resolution=node16`.

The list of places to fix was obtained by a crude script:

```sh
rg -g'**/*.ts' -g'!**/*.test.ts' ' from\s+.\.' | rg -v '\.js'
```

References #1765

* add missing extensions

* revert tsconfig

* prettier

* fix test files for NodeNext

* prettier

* changelog entry

* prettier

* prettier

* prettier

---------

Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2023-12-08 12:30:31 -05:00
Konnor Rogers
b4ed398240 Account for elements with tabbable controls (#1755)
* account for elements with tabbable controls

* prettier

* add changelog entry

* prettier
2023-12-08 12:10:00 -05:00
Cory LaViska
1710cfb8bc update; #1700 2023-12-06 17:06:18 -05:00
Cory LaViska
e1417b8e1a prettier 2023-12-06 16:21:14 -05:00
Cory LaViska
0d043767ec Merge branch 'menu-item-loading' of github.com:mitchray/shoelace into next 2023-12-06 13:57:49 -05:00
Cory LaViska
b7eccb1bff Make sure <sl-select> closes when focusing out (#1764)
* fixes #1763

* fix comment

* 🤷🏻‍♂️

* whatever wtr
2023-12-06 11:58:49 -05:00
Konnor Rogers
dd27db5196 Further improve tabbable performance (#1750)
* improve tabbable performance

* improve tabbable performance

* add PR #

* prettier

* change to getSlottedChildrenOutsideRootElement

* prettier
2023-12-01 12:06:16 -05:00
Cory LaViska
3e38da210e remove unused style 2023-12-01 10:29:16 -05:00
Cory LaViska
4864ab808d Fixes setRangeText() in <sl-input> and <sl-textarea> (#1752)
* fix setSelectionRange(); fixes #1746

* remove comment

* remove console.log
2023-12-01 10:06:48 -05:00
Cory LaViska
e2b7327d98 Improve tooltip accessibility (#1749)
* always close on escape, even when not focused; #1734

* use fallbacks instead of defaults

* add words

* add safe trapezoids / hover bridge; fixes #1734

* oh, webkit

* remove unused import

* cleanup just in case
2023-12-01 10:02:46 -05:00
Mitch Ray
1a8403b9b2 Reduce size 2023-11-25 09:51:08 +11:00
Cory LaViska
7fae62b806 prettier 2023-11-20 21:09:07 -05:00
Cory LaViska
1e57a632d9 fix a11y error 2023-11-20 21:04:46 -05:00
Cory LaViska
b6c9b64ec0 restore ff tests 2023-11-20 19:59:39 -05:00
Cory LaViska
00435ac682 more ff test skips 2023-11-20 19:47:58 -05:00
Cory LaViska
66c5e4cba2 skip ff 2023-11-20 12:15:17 -05:00
Cory LaViska
d7d9242d58 skip because ff 2023-11-20 12:14:11 -05:00
Cory LaViska
02ad181775 skip because firefox 2023-11-20 12:11:58 -05:00
Cory LaViska
024c6e2e48 update deprecated properties 2023-11-20 11:57:54 -05:00
Cory LaViska
facb5504a4 prettier 2023-11-17 10:07:57 -05:00
folini96
c3c770b0e0 Add italian translations (#1727)
Co-authored-by: Andrea Folini <andrea.folini@skillbill.it>
2023-11-17 09:50:46 -05:00
Nick Lemmon
a1888c628f removes duplicative style declaration in the skeleton component (#1722) 2023-11-14 13:15:22 -05:00
Konnor Rogers
35c2ad886d Fix nested dialogs (#1711)
* fix nested dialog focus

* fix nested dialog focus

* fix nested dialog focus

* prettier

* remove index.html

* fix tests

* prettier
2023-11-13 14:13:42 -05:00
Konnor Rogers
5221419816 Fix form controls entering / leaving a form (#1708)
* fix dynamic form controls

* update comment

* add form.checkValidity()

* prettier
2023-11-07 10:39:57 -05:00
Konnor Rogers
f015dc9169 fix form controls to read from property instead of attribute (#1707)
* fix form controls to read from properties and attributes

* update changelog

* prettier

* update changelog

* prettier

* small comment fix
2023-11-07 10:28:01 -05:00
Mitch Ray
a2b7816010 Keep text shown 2023-11-04 10:05:09 +11:00
Henry Wilkinson
8ddef1a0bd Updates copy button with Bootstrap Icons 1.11 (#1702) 2023-11-03 10:25:18 -04:00
Mitch Ray
468b0b9e66 Add loading attribute to menu-item 2023-11-03 08:12:27 +11:00
Konnor Rogers
12a45eb65d only emit sl-change when you stop dragging (#1689)
* only emit sl-change when you stop dragging

* only emit sl-change when you stop dragging

* prettier

* add changelog entry

* update changelog

* update changelog

* update changelog
2023-10-31 14:09:10 -04:00