Wykres commitów

2911 Commity (konnorrogers/fix-react-tree-shaking)

Autor SHA1 Wiadomość Data
konnorrogers a0fd73bb00 prettier 2023-08-01 17:37:05 -04:00
konnorrogers 542f7583ed fix react import paths 2023-08-01 17:16:43 -04:00
konnorrogers a9b4dfbd99 prettier 2023-08-01 16:10:48 -04:00
konnorrogers bd590f5344 fix react tree shaking and main tree shaking 2023-08-01 15:58:37 -04:00
Cory LaViska dcbbc55f28
fix up/down focus in dropdown; closes #1472 (#1481) 2023-08-01 14:05:11 -04:00
Konnor Rogers 81dfcc2eae
fix treeshaking array (#1480)
* fix treeshaking array

* fix treeshaking array

* imports to not use .component
2023-08-01 14:04:36 -04:00
Thomas Allmer 16f3e256b0
feat(clipboard): add new component sl-clipboard (#1473)
* feat(clipboard): add new component sl-clipboard

* using slots

* using a single copyStatus

* feat(clipboard): support inputs/textarea/links and shadow dom

* fix(clipboard): add area-live to announce copied

* feat(clipboard): support any component with a value property
2023-08-01 13:53:11 -04:00
Cory LaViska 75b2da9eab 2.6.0 2023-07-31 15:17:43 -04:00
Cory LaViska 9736f053d9 update version 2023-07-31 15:15:54 -04:00
Cory LaViska d0b710c26d clear search index and other cache with cmd+shift+r 2023-07-31 15:14:25 -04:00
Cory LaViska 5b83d4d1b0 update changelog 2023-07-31 14:00:57 -04:00
Thomas Allmer 89f0f4a02c
feat(details): use details and summary html tag to enable in browser searching (#1470) 2023-07-31 13:58:42 -04:00
Cory LaViska a067ccb9e0 fix docs 2023-07-27 12:39:44 -04:00
Cory LaViska 1ccea42cca fix card borders 2023-07-26 15:20:51 -04:00
Cory LaViska 0f90dd0f54 update changelog 2023-07-25 22:20:13 -04:00
Ben Anderson 262cbc9a22
Add entry to changelog for types for react-wrapped elements (#1464) 2023-07-25 22:18:54 -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 95f4f87eb8 update changelog 2023-07-19 15:06:25 -04:00
Cory LaViska 5b3cc0d492 add part to docs; #1460 2023-07-19 15:05:52 -04:00
Yehuda Ringler 0de39a8163
Add part to button spinner (#1460) 2023-07-19 15:04:49 -04:00
Cory LaViska 879fd7a224 wait for registration before attaching form handlers; closes #1452 2023-07-18 13:38:20 -04:00
Cory LaViska 50af138424 fix typos 2023-07-18 13:15:21 -04:00
Cory LaViska 9d592f4e08 wait longer to prevent flakiness 2023-07-18 13:13:59 -04:00
Cory LaViska 5016d27af7 remove test because we can't reliably suppress retargeted clicks 2023-07-18 13:11:08 -04:00
Chellappan 7218a19357
Replace .bind() with arrow functions in form controller,modal and slot controller (#1453) 2023-07-18 13:05:00 -04:00
Cory LaViska 33d2d4368f fix logic 2023-07-18 13:03:34 -04:00
Cory LaViska cca40ca710 remove test because we can't reliably prevent retargeted click handlers 2023-07-18 12:58:22 -04:00
Cory LaViska c6281859fd remove dead logic 2023-07-18 12:49:22 -04:00
Cory LaViska 956271880d fix for contained 2023-07-18 12:39:44 -04:00
Cory LaViska 201ff4efc5 fix escape key in dialog/drawer; closes #1457 2023-07-18 12:37:52 -04:00
Cory LaViska f954233bda Revert "Move keydown handler for sl-drawer back to base div (#1459)"
This reverts commit 1e243e4257.
2023-07-18 12:12:43 -04:00
Cory LaViska 8267968b76 update output 2023-07-18 12:08:50 -04:00
Stephen Sugden 1e243e4257
Move keydown handler for sl-drawer back to base div (#1459)
* Move keydown handler for sl-drawer back to base div

This restores the stacking behaviour of drawers

See: #1457

* Autofocus panel of sl-drawer when it is open on firstUpdate
2023-07-18 11:57:16 -04:00
Cory LaViska 0b6c3a46cf
Quick fixes (#1458)
* update base path docs

* fix examples

* fix broken CEM data in <sl-popup>

* Update docs/pages/getting-started/installation.md

Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com>

---------

Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com>
2023-07-17 14:05:17 -04:00
Cory LaViska a2e58b7696 fix link 2023-07-17 10:05:00 -04:00
Cory LaViska 119d299657 remove old SPA settings 2023-07-13 17:00:23 -04:00
Cory LaViska e8634e4178
Popup virtual elements (#1449)
* 1433: POC for comments (+ fix build.watch())

* 1433: consolidate virtualAnchor into anchor

* add virtual element examples

* update changelog

---------

Co-authored-by: Marko <marko@modelcitizen.com>
2023-07-13 16:49:57 -04:00
Cory LaViska 2e2a683d11
cleanup /index.html from search results (#1454) 2023-07-13 16:20:26 -04:00
Cory LaViska 414197acc9
unset last focused item; #1436 (#1446) 2023-07-12 14:52:13 -04:00
Ben Anderson 8fd01e1eda
Add event types to react wrapper components (#1419)
* Rename SlSlideChange for consistency with other events

* Setup React event types for events used by Shoelace components

Means that consumers of Shoelace via the React wrapper will be able to
use callback methods with the correct event type, instead of having to
rely on casting and friends when using Typescript.

* Add docs demonstrating importing event types for React callbacks
2023-07-12 11:31:27 -04:00
Cory LaViska e1ca7d1f59
Lit a11y update (#1444)
* update eslint-plugin-lit-a11y to latest

* update eslint deps

* remove aria- and role attribs from slots; closes #1422
2023-07-12 11:12:15 -04:00
Cory LaViska f84d6939bd
Doc updates (#1445)
* rename to CSS parts

* fix double dashes from merging
2023-07-11 15:23:51 -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 a4f0ae9088
fix: valueAsDate now falls back to native implementation (#1399)
* fix: valueAsDate now falls back to native implementation

* changelog

* prettier

* prettier
2023-07-07 13:51:22 -04:00
Cory LaViska fe3906f766
Don't steal focus when removing focused tree items (#1430)
* don't steal focus when removing focused tree items; #1428

* update PR link
2023-07-06 10:36:41 -04:00
Cory LaViska c9e644f3fc
Allow selecting menu items with space (#1429)
* allow selecting menu items with space; #1423

* update PR
2023-07-06 10:36:29 -04:00
Cory LaViska 8ffbd02db7 update changelog 2023-07-05 16:32:59 -04:00
Evan Harrison e88d57d17d
change .floor to .ceil in getCurrentPage; modify prev function to return to closest previous snappable index (#1420) 2023-07-05 16:26:00 -04:00
Cory LaViska 5f4de6d9f5 skip flaky tests 2023-07-03 15:59:24 -04:00
Cory LaViska 2cce87deeb add links 2023-07-03 15:50:58 -04:00