Commit Graph

1729 Commits

Author SHA1 Message Date
Cory LaViska
cb15749500 update changelog 2024-01-23 11:08:57 -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
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
Cory LaViska
ac5e2d2d43 update changelog 2024-01-23 10:19:07 -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
a21ab1d044 update changelog; #1787 2023-12-13 12:00:37 -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
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
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
Matt Obee
4699f99107 Fix 'controlled' typo (#1735) 2023-11-20 19:45:10 -05:00
Rikard Kling
025da5e59f Small typo (#1728) 2023-11-20 17:09:09 -05:00
Cory LaViska
ee18f3a449 update changelog 2023-11-17 09:51:21 -05:00
Cory LaViska
13c3e88384 Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2023-11-13 15:56:26 -05:00
Cory LaViska
e0701fe3fc add two-way binding info back 2023-11-13 15:56:23 -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
Cory LaViska
2a1f48c332 update changelog 2023-11-03 10:25:59 -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
Cory LaViska
b7a4a228d6 update changelog 2023-10-25 13:08:51 -04:00
Cory LaViska
207a660738 update version 2023-10-25 10:34:17 -04:00
Cory LaViska
d07f8e01ad update changelog 2023-10-23 11:00:11 -04:00
floflausch
f53309b04a Update angular.md (#1671)
removed the < brackets

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2023-10-23 10:48:10 -04:00
Cory LaViska
49b42c3b90 fix script in docs; closes #1670 2023-10-23 10:18:52 -04:00
Cory LaViska
f28ea9b834 update version 2023-10-20 09:07:22 -04:00
Cory LaViska
0272e3dcff prettier 2023-10-20 09:05:15 -04:00
floflausch
8d42e9fd7e Update angular.md (#1670)
Added more instructions for clearity about what to do
2023-10-20 09:00:27 -04:00
Cory LaViska
e5da26fe6d fix empty react index; closes #1659 (#1663) 2023-10-19 10:30:16 -04:00
Cory LaViska
eb96e3db4b fix details example 2023-10-19 09:39:13 -04:00
Cory LaViska
b1b54a5a34 Fix placeholder color in sl-select (#1667)
* fix placeholder color in sl-select

* add issue number
2023-10-19 09:33:09 -04:00
Cory LaViska
a5404ecab0 don't block escape; fixes #1607 (#1661) 2023-10-18 13:42:37 -04:00
Cory LaViska
afe7778f89 update changelog 2023-10-18 13:25:43 -04:00
Cory LaViska
6e9abc0226 update version 2023-10-16 12:58:26 -04:00
Cory LaViska
4b03675116 oh, safari (#1655) 2023-10-16 12:55:20 -04:00
Cory LaViska
54923edd22 update default 2023-10-16 12:41:22 -04:00
John F Morton
6ef246c575 Update carousel.md to document the default aspect ratio of 16/9. (#1617) 2023-10-16 12:35:00 -04:00