Commit Graph

3133 Commits

Author SHA1 Message Date
Cory LaViska
97467d580b remove html from getTextLabel() 2024-01-26 14:07:33 -05:00
Cory LaViska
83fe1ff28e 2.13.1 v2.13.1 2024-01-24 11:55:27 -05:00
Cory LaViska
a4c49e95a9 no more tomatoes (#1836) 2024-01-24 10:29:45 -05:00
Cory LaViska
beea96b373 2.13.0 v2.13.0 2024-01-23 11:29:13 -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
1f87f429ed don't ignore 2024-01-23 11:24:02 -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
Cory LaViska
cb15749500 update changelog 2024-01-23 11:08:57 -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
YassSSH
caf47069c0 Fixing the initial values on doc (#1785)
This commit replaces the string-based 'value' prop with an array in the documentation example related to multiple selection in Shoelace's React components.
2024-01-23 10:45:48 -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
Cory LaViska
478c8bdf69 update changelog; #1748 2024-01-23 10:42:46 -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
Burton Smith
b1908d73dc add vue types (#1797)
* add vue types

* run prettier

* add postinstall script for playwright

* Update docs/pages/frameworks/vue.md

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2024-01-23 10:34:36 -05:00
clintcs
1a77e603f8 Add Radio Group help-text slot documentation (#1818) 2024-01-23 10:27:22 -05:00
Cory LaViska
ac5e2d2d43 update changelog 2024-01-23 10:19:07 -05:00
Alessandro
95881b8cf8 fix(color-picker): add missing percent signs (#1831) 2024-01-23 10:17:42 -05:00
Cory LaViska
eb39610a46 fixes #1779 (#1828) 2024-01-23 10:17:16 -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
Cory LaViska
75c45a2aa7 update settings 2023-12-13 12:00:23 -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
0080ff9c60 fix trimPipes 2023-12-06 16:53:03 -05:00
Cory LaViska
caae94119c No more pipes (#1771)
* a little whitespace never hurt nobody

* remove pipes from docs
2023-12-06 16:24:21 -05:00
Cory LaViska
59ef323f38 moar prettier 2023-12-06 16:23:39 -05:00
Cory LaViska
e1417b8e1a prettier 2023-12-06 16:21:14 -05:00
Cory LaViska
bb20126b17 Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2023-12-06 16:17:12 -05:00
Ryan
3de99eee0a Add .d.ts files to theme style.js files (#1767) 2023-12-06 16:16:52 -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
Konnor Rogers
bfa7c4cda9 Run web test runner with production modules (#1736)
* Run web test runner with production modules

* prettier
2023-11-21 11:19:06 -05:00
Cory LaViska
7fae62b806 prettier 2023-11-20 21:09:07 -05:00
Cory LaViska
15c6733949 temporarily disable FF in Web Test Runner 2023-11-20 21:04:57 -05:00