Wykres commitów

2739 Commity (1af711bc89365a50e24da1d23c2bff777b1b8b57)

Autor SHA1 Wiadomość Data
Cory LaViska d638d811ad remove unused type 2023-02-23 11:04:51 -05:00
Cory LaViska bc58472b7b fix skipped tests 2023-02-23 11:02:26 -05:00
Cory LaViska 226c856b1e update scroll controls when adding tabs; fixes #1208 2023-02-23 10:12:36 -05:00
Cory LaViska a127b8722e fix autoload timing issues 2023-02-22 14:18:43 -05:00
Cory LaViska 9c573fb454 add autoloader to docs 2023-02-22 14:18:36 -05:00
Cory LaViska a346d18930 add autoloader docs 2023-02-22 14:18:19 -05:00
Cory LaViska a32488baeb add autoloader prototype 2023-02-22 14:18:04 -05:00
Cory LaViska a4131caeda add subpath 2023-02-22 14:16:11 -05:00
Cory LaViska 6c62a4f4c0 use passive listeners 2023-02-22 12:54:33 -05:00
Cory LaViska 5b12de1edf fixes #1205 2023-02-21 11:54:39 -05:00
Cory LaViska f79a670ca3 fix padding in Chrome; closes #1197 2023-02-17 09:56:52 -05:00
Cory LaViska e1ec60af62 2.1.0 2023-02-16 16:40:34 -05:00
Cory LaViska dcbcc4c050 bump version 2023-02-16 16:39:11 -05:00
Cory LaViska 0eb3375bb9 welcome back, null 2023-02-16 16:30:13 -05:00
Cory LaViska c26a8810c8 add crude inline error example; closes #1191 2023-02-16 16:22:46 -05:00
Cory LaViska 872227e345 reformat and add comment 2023-02-16 15:19:24 -05:00
dhellgartner f22c529eab
Avoid null logs on resize observer errors (#1196)
* Resize observer sometimes throws errors which
are nothing to worry about, see also the corresponding
comment on tab-group.test.ts
* Unfortunately, the web testing library installs an
error event handler which takes precedence before the
event handlers installed in the tests
(see node_modules/@web/browser-logs/dist/logUncaughtErrors.js)
* the only possibility to avoid these null logs is to install
an error event handler at an even earlier place

Co-authored-by: Dominikus Hellgartner <dominikus.hellgartner@gmail.com>
2023-02-16 15:13:57 -05:00
dhellgartner 3430b33c3e
Alert test (#1189)
* Improved tests for SlAlert

* added more test for coverage
* Grouped tests in multiple subgroups

* remove executing only one tests

* Fix the now executing tests

---------

Co-authored-by: Dominikus Hellgartner <dominikus.hellgartner@gmail.com>
2023-02-16 15:04:11 -05:00
Cory LaViska 1bc2a6ef76 expose rel; fixes #1200 2023-02-16 12:15:59 -05:00
Cory LaViska 5a94f5bf5b update changelog 2023-02-16 10:43:28 -05:00
Thomas Blum 4277377189
Underscore was missing (#1195) 2023-02-16 10:39:01 -05:00
Matt Pharoah d818980dea Fixed copy-paste type in comment 2023-02-15 09:41:05 -05:00
Matt Pharoah 636f61006f Adjusted comment to be more clear 2023-02-15 09:39:43 -05:00
Matt Pharoah d93e698baf Added comments to explain the Typescript metaprogramming 2023-02-15 09:37:48 -05:00
Matt Pharoah f8d8291caa Added sl-invalid event type 2023-02-14 23:06:47 -05:00
Matt Pharoah 21bef1c2ea Merge branch 'next' into mpharoah/typescript-events 2023-02-14 22:59:20 -05:00
Cory LaViska f0efb9253c remove inline validation examples 2023-02-14 16:38:10 -05:00
Cory LaViska cfd28f2608 update changelog 2023-02-14 15:24:19 -05:00
Cory LaViska a3844fe074 comments 2023-02-14 15:21:52 -05:00
Cory LaViska 65e90f12f4 rename event 2023-02-14 15:12:21 -05:00
Cory LaViska 4335289d6a make doc comments consistent for check/report validity 2023-02-14 15:02:52 -05:00
Cory LaViska 86cc721e03 update description and document sl-invalid event 2023-02-14 14:59:34 -05:00
xdev1 4a28825ea7
Added some missing form validation standard features (implemented for #1181) (#1167)
* #1163 - added read-only properties 'validity' and 'validationMessage' to all nine form controls

* #1163 - added base support for showing form validation messages below the form controls

* #1163 - animated validation errors in demo

* #1181 - Removed all previous changes that have been validation error specific

* Started with 'Inline validation' demo / fixed merge issues / etc.

* #1181 - continued work on missing form validation features

* #1181 - enhanced validation support for SlColorPicker / some cleanup

* #1181 - fixed CSS issues

* #1181 - fixed again CSS issues

* '1181 - added form validation features finally working

* #1181 - bug fixes

* #1181 - fixed open issues / added API doc comments

* #1181 - updated inline validation demos / removed some legacy code

* #1181 - finished invalid form validation example

* #1181 - added tests / several bugfixes

* #1181 - fixed typos etc.

* #1181 - tests

* #1181 - tests

* #1181 - tests
2023-02-14 14:50:06 -05:00
Cory LaViska 19cf823da5 Merge branch 'ceymard-popup-element' into next 2023-02-14 09:30:47 -05:00
Christophe Eymard 737b55d78d allow Element as the anchor - now with correct typings 2023-02-10 21:56:57 +01:00
Cory LaViska 8493131db5 Revert "let popup be anchored to Element and not HTMLElement (#1186)"
This reverts commit 0d86c2af37.
2023-02-10 12:42:19 -05:00
Christophe Eymard 0d86c2af37
let popup be anchored to Element and not HTMLElement (#1186)
It works with SVG as well, is there a need to be restrictive here ?
2023-02-10 12:38:47 -05:00
Matt Pharoah d6a7820a52 Make emit return the actual event type instead of CustomEvent<any> 2023-02-09 15:56:54 -05:00
Matt Pharoah 39ca1208f5 Removed unused event handler from sl-dropdown 2023-02-09 13:09:31 -05:00
Matt Pharoah 610a06bcb9 Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
Matt Pharoah b8584c0581 Require detail to always be provided when calling emit with an event that requires it 2023-02-09 13:00:04 -05:00
Matt Pharoah ab19afeb66 Resolved merge conflict 2023-02-08 18:24:17 -05:00
Matt Pharoah 41b5cb367f Use typed events in components and tests 2023-02-08 18:19:27 -05:00
Matt Pharoah e65b09fdec Fixed Typescript error when CustomEvents with non-object details are registered 2023-02-08 17:55:28 -05:00
Matt Pharoah 15a4049a01 Require the options parameter to have a detail property for events with details 2023-02-08 17:42:14 -05:00
Matt Pharoah ce708fbba8 Perform type checking of the event detail in the emit function if the event type matches a Shoelace event 2023-02-08 17:01:00 -05:00
Matt Pharoah 75bd7784fb Basic events have an empty details object, not a null 2023-02-08 14:12:15 -05:00
Matt Pharoah 6e092ccf7a Added event types for all events 2023-02-08 13:55:19 -05:00
Matt Pharoah b7b73ea3a9 Added sl-request-close event 2023-02-08 13:30:56 -05:00
Matt Pharoah 9dab91e0d1 Added event for sl-error 2023-02-08 13:17:12 -05:00