Commit Graph

179 Commits

Author SHA1 Message Date
Cory LaViska
7ff09070ad fix required content color; closes #1882 2024-02-23 11:47:04 -05:00
Cory LaViska
12ce0217e5 update changelog 2024-02-23 11:43:38 -05:00
Cory LaViska
033fec9471 update changelog 2024-02-21 13:29:40 -05:00
Cory LaViska
e1102ba9cf prevent tab group safari twitch; fixes #1839 2024-02-20 14:58:11 -05:00
Cory LaViska
b589938443 fixes #1709 (#1879) 2024-02-20 14:18:05 -05:00
Cory LaViska
e9405d33a8 Fix close behavior when select is in a shadow root; fixes #1859 (#1878)
* fix close behavior when select is in a shadow root

* add pr
2024-02-20 13:55:50 -05:00
Cory LaViska
23f09dfa79 update changelog 2024-02-20 13:46:09 -05:00
stefanholzapfel
6e288a80a3 feat(sl-popup): Add contextElement property to VirtualElement interface (#1874) 2024-02-20 13:44:53 -05:00
Cory LaViska
9b19c4c782 update changelog 2024-02-20 12:51:59 -05:00
Cory LaViska
1056a10f8e update version 2024-02-15 09:59:53 -05:00
Cory LaViska
02ce4dbf4e Import styles more efficiently (#1861)
* import styles more efficiently; fixes #1692

* remove scale transition
2024-02-09 10:12:47 -05:00
Cory LaViska
9ee1617696 update changelog 2024-02-09 09:33:14 -05:00
Cory LaViska
dafb35c6e2 update changelog 2024-02-08 15:20:18 -05:00
Cory LaViska
a36bbe2fc4 update changelog 2024-02-08 15:19:51 -05:00
Cory LaViska
e6d3d8317a Add checkbox help text (#1860)
* add help text to sl-checkbox to match sl-switch

* add missing import
2024-02-08 14:51:00 -05:00
clintcs
9451c3b8de add switch help text (#1800) 2024-02-08 12:54:21 -05:00
Cory LaViska
380d56fa40 remove html from getTextLabel() (#1840) 2024-02-08 12:42:59 -05:00
Cory LaViska
a4c49e95a9 no more tomatoes (#1836) 2024-01-24 10:29:45 -05:00
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
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