Wykres commitów

3197 Commity (next)

Autor SHA1 Wiadomość Data
Cory LaViska 8748394f54 add PR 2023-10-02 09:06:41 -05:00
Cory LaViska 87d82639f8 update changelog 2023-10-02 09:06:11 -05:00
Cam Skene 566f0e41a4
comma separate exportparts (#1586)
Fixes #1585.
2023-10-02 09:04:08 -05:00
Cory LaViska cf85d6af41 fix localize bug 2023-09-27 13:03:35 -04:00
Cory LaViska 789ba7a13c ignore package.json 2023-09-27 13:02:20 -04:00
Cory LaViska fac6e12b4e update changelog 2023-09-26 09:55:21 -04:00
Cory LaViska d56fbb6197 2.9.0 2023-09-26 09:35:48 -04:00
Cory LaViska 1f2407d673 update version 2023-09-26 09:31:12 -04:00
Cory LaViska ed7949261e update changelog 2023-09-26 09:06:48 -04:00
Cory LaViska c9f810ac3e rename private var; #1572 2023-09-26 09:05:17 -04:00
Cory LaViska c900c2a9ca Merge branch 'yringler-only-use-library-for-library' into next 2023-09-26 09:03:09 -04:00
Cory LaViska b7107ace1b Merge branch 'only-use-library-for-library' of github.com:yringler/shoelace into yringler-only-use-library-for-library 2023-09-26 09:02:24 -04:00
Cory LaViska cbd4336773
add support for external modals; fixes #1571 (#1575) 2023-09-26 08:50:11 -04:00
Cory LaViska 9b969339a1 fixes #1576 2023-09-25 09:08:04 -04:00
Cory LaViska 24f7b190f7 fix words; #1578 2023-09-25 09:01:24 -04:00
mfocqueteau a41e4e8928
Fixed typo (Alert doc): "take affect" -> "take effect" (#1578)
One of the examples given in the documentation for Alerts says "Settings will take **affect** on next login". Which is a typo since affect is a verb, not a noun.
2023-09-25 08:59:51 -04:00
Yehuda Ringler 25dd15b92c ONLY-USE: Fix bug: svg url treated as sprite 2023-09-20 16:43:26 -04:00
Cory LaViska 2ed5a4ff97 Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2023-09-14 12:08:07 -04:00
Cory LaViska 4d3297937a fixes #1548 2023-09-14 12:08:05 -04:00
Christian Schuller 1d28e1bbc5
fix: add missing super.disconnectCallback() calls (#1564) 2023-09-14 11:17:12 -04:00
Alan Chambers 3b77c3b99f
updated react wrapper (#1565)
- updated @lit-labs/react to latest version with improved type compatibility
- added small preact section to the react docs with link to preact/compat typescript config guide
2023-09-14 11:13:29 -04:00
Cory LaViska c858bc3723 update changelog 2023-09-13 11:51:50 -04:00
Wes 317d567fe8
fix(autoloader): only attempt to register root element if it's shoelace element (#1563) 2023-09-13 11:50:02 -04:00
Cory LaViska e6db8c953a update bootstrap icons 2023-09-12 12:09:29 -04:00
Cory LaViska aa2cf24be5 Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2023-09-08 08:33:42 -04:00
Cory LaViska 42f881806b remove webtypes 2023-09-08 08:32:48 -04:00
Mario Hamann 2b5e8286df
fix: make German translation more consistent + neutral (#1558)
In German you can say "Du" (=informal) or "Sie" (= formal). Before this commit both versions were used at the same time. It is preferred to make interfaces neutral, as some systems use "Du" (iOS, macOS) and some "Sie" (MS, Android). In addition all other translations were neutral, too, so this makes it more consistent.
2023-09-08 08:31:57 -04:00
Cory LaViska 32342f803c Merge branch 'break-stuff-fix-web-types-reference' into next 2023-09-08 08:28:14 -04:00
Burton Smith 7d6f770cd9 simplify implementation 2023-09-07 23:04:31 -04:00
Burton Smith 8d86f374f9 clean up messaging 2023-09-07 21:38:16 -04:00
Burton Smith 242e8e92ae fix web-types reference 2023-09-07 21:32:45 -04:00
Konnor Rogers 883cb161ec
show errors in dev server (#1547)
* show errors in dev server

* fix build

* prettier
2023-08-30 09:42:34 -04:00
Cory LaViska a2fbe121c3
update ctrl/tinycolor; fixes #1542 (#1545) 2023-08-28 09:39:16 -04:00
Cory LaViska ab770c566e
fix spacing; #1540 (#1544) 2023-08-28 09:27:57 -04:00
Konnor Rogers 1867603225
log stderr in builds (#1543) 2023-08-25 16:20:19 -04:00
Cory LaViska cf195da424 fix stuck search 2023-08-25 09:35:05 -04:00
Cory LaViska 0cb6aa5d12 reformat by CEM plugin 2023-08-23 15:36:19 -04:00
Cory LaViska 7e4d4c3c98 2.8.0 2023-08-23 12:55:35 -04:00
Cory LaViska b5ef3191b7 update version 2023-08-23 12:53:47 -04:00
Konnor Rogers f30481e229
remove unused code path (#1539) 2023-08-23 12:52:42 -04:00
Konnor Rogers ae010c333b
fix: check `<slot>` elements for assignedElements to allow wrapping focus-trapped elements (#1537)
* fix: internal logic for tabbable checks slotted elements

* prettier

* add better note for generators

* prettier

* fix tests

* prettier

* prettier

* fix tabbable test for safari

* prettier

* Update src/internal/tabbable.ts

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>

* Update src/internal/modal.ts

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>

* Update src/internal/tabbable.ts

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2023-08-23 11:43:48 -04:00
Konnor Rogers 43d1f9ee7a
fix: use verbatimModuleSyntax and isolatedModules (#1534)
* feat: use verbatimModuleSyntax and isolatedModules

* prettier

* remove newline

* prettier
2023-08-23 10:34:40 -04:00
Cory LaViska ec17e8736d fix component links; closes #1538 2023-08-23 09:46:23 -04:00
Cory LaViska 44b27e791e fix plop template 2023-08-23 09:29:24 -04:00
Cory LaViska 02385027db fix copy button focus 2023-08-22 17:10:01 -04:00
Cory LaViska b311072d9b
use <sl-copy-button> (#1535) 2023-08-22 17:01:00 -04:00
Cory LaViska 87ac077b0a
fix empty attributes in properties table (#1536) 2023-08-22 16:59:08 -04:00
Konnor Rogers 87837df35c
remove extra react component wrapper, upgrade to v2 of @lit-labs/react (#1531)
* remove extra react wrapper, upgrade to v2 of @lit-labs/react, call define in module.

* add changelog entry

* prettier
2023-08-22 11:26:54 -04:00
Konnor Rogers 5d72bbd162
remove baseUrl from tsconfig for better dev experience (#1530) 2023-08-22 10:32:15 -04:00
Cory LaViska a4fc1c5b44
Submenus (#1527)
* [RFC] Proof-of-concept commit for submenu support

This is a Request For Comments to seek directional guidance towards
implementing the submenu slot of menu-item.

Includes:
- SubmenuController to manage event listeners on menu-item.
- Example usage in menu-item documentation.
- Trivial tests to check rendering.

Outstanding questions include:
- Accessibility concerns. E.g. where to handle 'ArrowRight',
  'ArrowLeft'?
- Should selection of menu-item denoting submenu be possible or
  customizable?
- How to parameterize contained popup?
- Implementation concerns:
  - Use of ref / id
  - delegation of some rendering to the controller
  - What to test

Related to [#620](https://github.com/shoelace-style/shoelace/issues/620).

* Update submenu-controller.ts

Removed extraneous `console.log()`.

* PoC working of ArrowRight to focus on submenu.

* Revert "PoC working of ArrowRight to focus on submenu."

(Didn't mean to publish this.)

This reverts commit be04e9a221.

* [WIP] Submenu WIP continues.

- Submenus now close on change-of-focus, not a timeout.
- Keyboard navigation support added.
- Skidding fix for better alignment.
- Submenu documentation moved to Menu page.
- Tests for accessibility, right and left arrow keys.

* Cleanup: Removed dead code and dead code comments.

* style: Eslint warnings and errors fixed. npm run verify now passes.

* fix: 2 changes to menu / submenu on-click behavior:

1. Close submenu on click explicitly, so this occurs even if the menu is
   not inside of an sl-dropdown.

2. In menu, ignore clicks that do not explicitly target a menu-item.
   Clicks that were on (e.g. a menu-border) were emitting select events.

* fix: Prevent menu's extraneous Enter / space key propagation.

Menu's handleKeyDown calls item.click (to emit the selection).
Propagating the keyboard event on Enter / space would the cause re-entry
into a submenu, so prevent the needless propagation.

* Submenu tweaks ...

- 100 ms delay when opening submenus on mouseover
- Shadows added
- Distance added to popup to have submenus overlap menu slightly.

* polish up submenu stuff

* stay highlighted when submenu is open

* update changelog

* resolve feedback

---------

Co-authored-by: Bryce Moore <bryce.moore@gmail.com>
2023-08-21 17:26:41 -04:00