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
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
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
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
c7b53cff47
update prettier
2023-10-12 13:56:11 -04:00
Cory LaViska
cbd4336773
add support for external modals; fixes #1571 ( #1575 )
2023-09-26 08:50:11 -04:00
Cory LaViska
1383ea3fe8
React import paths ( #1507 )
...
* fix react imports in examples
* move types to definition files
* update changelog
* update changelog
2023-08-11 13:09:44 -04:00
Konnor Rogers
3a61d20d93
Create non-auto-registering routes ( #1450 )
...
* initial attempt at not auto defining
* add files with -
* continued work on removing auto-define
* fix component definitions
* update with new tag stuff
* fix lots of things
* fix improper scoped elements
* working through side effects
* continued react wrapper work
* update changelog
* formatting
* fixes
* update changelog
* lint / formatting
* fix version injection
* fix version injection, work on test
* fix version injection, work on test
* fix merge conflicts
* fix jsdoc null issue
* fix templates
* use exports
* working on tests
* working on registration mocking
* fix customElements test
* linting
* fix some test stuff
* clean up test
* clean up comment
* rename scopedElements to dependencies
* linting / formatting
* linting / formatting
* mark all packages external and still bundle
* set bundle false
* set bundle true
* dont minify
* fix merge conflicts
* use built shoelace-element
* fix lint errors
* prettier
* appease eslint
* appease eslint gods
* appease eslint gods
* appease eslint gods
* appease eslint gods
* add shoelace-autoloader
* move it all into 1 function
* add exportmaps note
* prettier
* add jsdelivr entrypoint
* read as utf8
* update docs with .component.js importS
* prettier
2023-07-24 13:00:07 -04:00
Cory LaViska
201ff4efc5
fix escape key in dialog/drawer; closes #1457
2023-07-18 12:37:52 -04:00
Konnor Rogers
82446e2114
Add modal tab tracking ( #1403 )
...
* add modal tab tracking
* prettier
* sort by tabindex
* sort by tabindex
* add a dialog test case for shadow roots
* add a changelog note
* add a changelog note
* prettier + test fixes
* prettier + test fixes
2023-07-07 15:32:23 -04:00
Konnor Rogers
60d7f688eb
fix extensionless imports ( #1394 )
2023-06-22 10:56:24 -04:00
Justin Fagnani
a01b2cf8a2
Replace .bind() with arrow functions, add listeners in constructors.
2023-06-14 08:52:12 +09:00
konnorrogers
c6cc7b6983
prettier
2023-06-13 15:43:21 -04:00
konnorrogers
0e869ec18d
fix the tests
2023-06-13 15:40:04 -04:00
Cory LaViska
e4c908b08b
add missing docs
2023-01-17 10:33:21 -05:00
Cory LaViska
3c2f5ec48e
sort this, eslint
2023-01-13 15:43:55 -05:00
Cory LaViska
edc9e69f30
add @documentation tag
2023-01-12 10:26:25 -05:00
Cory LaViska
c8555f448c
reorg and add private keyword
2023-01-03 15:04:07 -05:00
Cory LaViska
388a4f85a4
Revert "Remove the need to bind member methods in the connectedCallback ( #1081 )"
...
This reverts commit 5f8556b1b2
.
2023-01-03 10:19:25 -05:00
Jeremiah Hoyet
5f8556b1b2
Remove the need to bind member methods in the connectedCallback ( #1081 )
...
* Remove the need to bind member methods in the connectedCallback
* Remove console.log
2023-01-03 10:15:12 -05:00
Cory LaViska
f2efa73e20
improve documentation
2022-12-06 11:18:14 -05:00
Cory LaViska
80a16ee42a
remove slot wrappers
2022-12-02 17:03:59 -05:00
Cory LaViska
c6a044416a
remove transform from animations
2022-12-01 15:38:59 -05:00
Cory LaViska
829e22dc1e
stop using transform
2022-12-01 15:26:46 -05:00
Cory LaViska
488088d5f0
add header-actions slot
2022-11-29 11:17:15 -05:00
Cory LaViska
a3f658938d
bulletproof part selectors
2022-11-17 09:35:44 -05:00
Cory LaViska
d79d7da299
various improvements in forced-colors mode
2022-11-14 16:12:24 -05:00
Cory LaViska
36e677dd6b
fix dialog/drawer borders in WHC
2022-11-14 14:49:24 -05:00
Cory LaViska
0d9767596a
disable rule
2022-11-09 13:18:05 -05:00
Cory LaViska
5eeb98d39d
fixes #925
2022-11-09 11:34:50 -05:00
Manuel Schmidt
8121faa1d4
Enrich components `@summary` with description from docs ( #962 )
...
* keep header styles with repositioned description text
* `animated-image` move description to component
* code style
* `avatar` add summary from docs
* `badge` add summary from docs
* `breadcrumb` add summary from docs
* `button` add summary from docs
* lead sentence is now part of the header
* `button-group` add summary from docs
* `card` add summary from docs
* `checkbox` add summary from docs
* `color-picker` add summary from docs
* `details` add summary from docs
* `dialog` add summary from docs
* `divider` add summary from docs
* `drawer` add summary from docs
* `dropdown` add summary from docs
* `format-bytes` add summary from docs
* `format-date` add summary from docs
* `format-number` add summary from docs
* `icon` add summary from docs
* `icon-button` add summary from docs
* `image-comparer` add summary from docs
* `include` add summary from docs
* `input` add summary from docs
* `menu` add summary from docs
* `menu-item` add summary from docs
* `menu-label` add summary from docs
* `popup` add summary from docs
* `progressbar` add summary from docs
* `progress-ring` add summary from docs
* `radio` add summary from docs
* `radio-button` add summary from docs
* `range` add summary from docs
* `rating` add summary from docs
* `relative-time` add summary from docs
* `select` add summary from docs
* `skeleton` add summary from docs
* `spinner` add summary from docs
* `split-panel` add summary from docs
* `switch` add summary from docs
* `tab-group` add summary from docs
* `tag` add summary from docs
* `textarea` add summary from docs
* `tooltip` add summary from docs
* `visually-hidden` add summary from docs
* `animation` add summary from docs
* `breadcrumb-item` add summary from docs
* `mutation-observer` add summary from docs
* `radio-group` add summary from docs
* `resize-observer` add summary from docs
* `tab` add summary from docs
* `tab-panel` add summary from docs
* `tree` add summary from docs
* `tree-item` add summary from docs
* remove `title` for further usage of `Sl` classnames in docs
* revert: use markdown parser for component summary
2022-10-21 09:56:35 -04:00
Cory LaViska
69ff4f0bbc
refactor emit into ShoelaceElement
2022-09-16 16:21:40 -04:00
Cory LaViska
2696b1a9ec
fixes #867 (for real this time)
2022-08-23 10:55:49 -04:00
Cory LaViska
32f24a881e
make dir/lang reactive everywhere
2022-08-17 11:37:37 -04:00
Cory LaViska
d07a8cfaea
fix import paths
2022-08-08 10:15:41 -04:00
Cory LaViska
4b7da8f510
update docs
2022-08-03 11:06:52 -04:00
Philipp Sonntag
3fb4cba856
Added type declaration to styles property for all components ( #829 )
...
* Updated the plop template with type for styles property
2022-07-19 08:27:39 -04:00
Cory LaViska
8a28d66393
fixes #784
2022-06-09 18:14:38 -04:00
Godgiven
96c63c60a2
refactor: changed style to minimum support of RTL language ( #768 )
2022-06-01 10:00:46 -04:00
Cory LaViska
300cbd090f
revert path aliases
2022-03-24 08:01:09 -04:00
Cory LaViska
e32c15204c
Revert recent changes
2022-03-24 07:48:03 -04:00
Cory LaViska
f34960d82a
revert path aliases since we can't override WTR's TS config
2022-03-23 09:30:39 -04:00
Cory LaViska
a5cd9a4968
refactor parts and exported parts
2022-03-09 15:54:18 -05:00
Cory LaViska
ff1e11022d
reintroduce path aliasing and fix autosort
2022-03-02 09:28:34 -05:00
Cory LaViska
eb18d759f1
fixes #693
2022-02-27 11:46:55 -05:00
Cory LaViska
3fa41ea8d9
revert path aliasing and update import orders
2022-02-26 10:48:56 -05:00
Cory LaViska
946fcf2b25
add support for autofocus in dialog/drawer
2022-02-20 21:38:45 -05:00
Cory LaViska
a517a8038f
fixes #688
2022-02-20 21:18:26 -05:00