Cory LaViska
848c059d51
don't steal focus when removing focused tree items; #1428
2023-07-05 16:44:02 -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
630b5b19a0
fix regression; #1417
2023-07-03 15:49:25 -04:00
Cory LaViska
1b5db078a7
move aria attribs off <slot>; fixes #1417
2023-07-03 12:39:42 -04:00
dhellgartner
d05b8fca20
Qr code tests ( #1416 )
...
* Add tests for qr-code
* Fix a small bug in qr-code
The background color was not passed to the
qr code
---------
Co-authored-by: Dominikus Hellgartner <dominikus.hellgartner@gmail.com>
2023-07-03 11:19:50 -04:00
Cory LaViska
24929e27c1
skip
2023-06-22 11:23:45 -04:00
Konnor Rogers
60d7f688eb
fix extensionless imports ( #1394 )
2023-06-22 10:56:24 -04:00
Cory LaViska
985d4585c4
fixes #1387 ( #1392 )
2023-06-21 11:07:02 -04:00
Konnor Rogers
d7145f1f84
Konnorrogers/fix value as number 2 ( #1385 )
...
* fix: garbage collected valueAs*
* weird....
* prettier and tests
2023-06-20 15:22:13 -04:00
Konnor Rogers
441a957432
fix: `<sl-carousel>` has the wrong import for `LocalizeController` ( #1384 )
...
* fix autoloading translations
* add changelog entry
* prettier
* prettier
2023-06-20 14:02:07 -04:00
Konnor Rogers
67cbb85682
Add support for svg sprites in `<sl-icon>` ( #1374 )
...
* wip: initial implementation for review
* icon testing
* feat: add the ability to use SVG sprite sheets
* finish up spritesheets
* add icon notes
* update plopfile, add changelog entry
* prettier
* linting
* linting
* fix icon test
* eslint fixes?
* prettier
* disable eslint -.-
* linting loop!
* linting loop!
* prettier
* prettier
---------
Co-authored-by: Diego <diego@trebellar.com>
2023-06-20 14:01:58 -04:00
Cory LaViska
0005d16a06
fixes #1380
2023-06-19 15:13:48 -04:00
Justin Fagnani
b9f62bb1bc
Migrate SlCarousel.handleSlotChange
2023-06-14 15:16:26 +09:00
Justin Fagnani
a01b2cf8a2
Replace .bind() with arrow functions, add listeners in constructors.
2023-06-14 08:52:12 +09:00
konnorrogers
af8426579e
prettier
2023-06-13 15:59:16 -04:00
konnorrogers
6b9ba9becf
eslint
2023-06-13 15:54:09 -04: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
1b347874ef
fix tests
2023-06-13 14:22:56 -04:00
Cory LaViska
ff5b1e8573
fix imports
2023-06-13 14:06:37 -04:00
Cory LaViska
b5a3045bae
update typescript
2023-06-13 11:37:33 -04:00
Brendon Muir
bd3b2c93ee
Fix sl-input[type="date|time"] placeholder on macOS Safari ( #1341 )
...
Allowing the background to inherit rather than removing it allows the weird date and time placeholder text opacity to work on macOS Safari.
2023-06-12 12:09:20 -04:00
Konnor Rogers
1ef8e1cf73
fix: radio group race condition ( #1364 )
...
* fix: radio group race condition
* update changelog
* prettier
* fix changelog
2023-06-08 15:45:34 -04:00
dhellgartner
c71da4a075
Split panel tests ( #1343 )
...
* Added tests for sl-split-panel
test for horizontal arrangement
* Added tests for sl-split-panel
tests for vertical arrangement
---------
Co-authored-by: stefanie.hellgartner <stefanie.hellgartner@in-tech.com>
2023-05-25 12:25:48 -04:00
Cory LaViska
d609fa87b4
reflect size; fixes #1348
2023-05-25 10:47:44 -04:00
ErikOnBike
6144e5eff4
Replace .map with .forEach when return value not used. See issue #740 ( #1349 )
2023-05-24 10:34:42 -04:00
Konnor Rogers
be1c38f0e5
tests: add regression tests for checkbox and toggle focus behavior ( #1330 )
...
* add regression test for checkbox focusing
* change number of checkboxes / switches
* change max-height to 400px so it fails
* re-add positon: relative;
2023-05-10 16:54:44 -04:00
Cory LaViska
b1bdedd3a3
add submenu-icon part
2023-05-04 10:17:41 -04:00
Cory LaViska
3a212030c0
Merge branch 'mpharoah/sl-rating-perf' of github.com:mpharoah/shoelace into mpharoah-mpharoah/sl-rating-perf
2023-05-02 10:02:13 -04:00
Cory LaViska
9c3e344ae0
reorder properties
2023-05-02 10:01:25 -04:00
Cory LaViska
db147e77b0
Merge branch 'KonnorRogers-patch-1' into next
2023-05-02 10:00:14 -04:00
Cory LaViska
0384b03528
add checkbox + exported parts; #1318
2023-05-01 13:43:42 -04:00
Konnor Rogers
fc06de7b11
feat: support variable height elements inside <sl-button>
2023-04-28 22:31:42 -04:00
Cory LaViska
5ada0a7093
update radio size when group size changes
2023-04-27 13:18:21 -04:00
Matt Pharoah
56a160464f
Fixed clipPath
2023-04-21 08:56:43 -04:00
Matt Pharoah
3dc9430932
Improve performance of sl-rating by not render all icons twice
2023-04-20 17:01:12 -04:00
Cory LaViska
9c5e184d82
fixes #1302
2023-04-14 12:48:57 -04:00
Cory LaViska
385b5451c8
add size to radio group; fixes #1301
2023-04-14 12:20:17 -04:00
Cory LaViska
0e7487257b
spell check and reorder static function
2023-04-13 14:16:03 -04:00
Matt Pharoah
eab0e3219f
Improve performance of sl-icon by caching later ( #1286 )
...
* Improve performance of sl-icon by caching later
* Fixed error handling
* Don't use requestInclude in sl-icon
* Separate sl-icon errors into cacheable and retryable errors
2023-04-13 14:12:59 -04:00
Cory LaViska
cf89c901a2
no roles on slots; fixes #1287
2023-04-13 12:52:03 -04:00
Cory LaViska
902b08cc0f
revert role and don't use <header> for buttons
2023-04-13 12:47:48 -04:00
Cory LaViska
caf9a09efa
fix typos
2023-04-13 12:47:18 -04:00
dhellgartner
65734dc993
Slot aria attributes ( #1296 )
...
* Fix acessability issue
* Additionally adapted the test
* Added more accessability tests
* Updated the testing documentation
to take the fact that accessability checks cover only
rendered content into account
---------
Co-authored-by: Dominikus Hellgartner <dominikus.hellgartner@gmail.com>
2023-04-13 12:45:52 -04:00
Alessandro
c137f83df6
fix(carousel): clickable elements don't work on chrome ( #1266 )
...
* fix(carousel): clickable elements don't work on chrome
* fix: update implementation
2023-04-13 11:55:40 -04:00
Cory LaViska
d3a0a38dce
don't show hover when focused; fixes #1282
2023-04-13 10:31:24 -04:00
Cory LaViska
5cf6a37ee2
wait until registered to set initial state; fixes #1292
2023-04-13 09:51:07 -04:00
Cory LaViska
63194abf93
prettier + changelog
2023-04-05 09:21:25 -05:00
Konnor Rogers
e196b0915a
fix: split-panel divider now focusable in Edge / Chrome ( #1289 )
2023-04-05 09:18:57 -05:00