Commit Graph

3266 Commits

Author SHA1 Message Date
Cory LaViska
f395eabc3d fix select prefix spacing; closes #2167 2024-09-18 09:39:32 -04:00
Cory LaViska
e74b0f2bdc Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2024-09-11 09:04:51 -04:00
Cory LaViska
82618d7237 update changelog 2024-09-11 09:04:49 -04:00
Andrey Lushnikov
948092156f Fix tab-group active indicator when tabs size change (#2164)
* Fix tab-group active indicator when tabs size change

Fixes #2163

* fix prettier

* fix eslint
2024-09-11 09:03:59 -04:00
Cory LaViska
57bafa4ae1 update changelog 2024-09-10 10:27:56 -04:00
RoCat
6bac3faab0 feat: add a countdown on sl-alert (#1899)
Co-authored-by: rcatoio <rcatoio@doubletrade.com>
2024-09-10 10:26:58 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
906e7ba427 [fix][CVE-2024-27307] update jsonata dependency (#2159)
This is a minor change bumping `jsonata` following  security
advisory note that tagged this package vulnerability as critical:
https://www.cve.org/CVERecord?id=CVE-2024-27307
https://github.com/jsonata-js/jsonata/security/advisories/GHSA-fqg8-vfv7-8fj8

Got this through Webstorm extension taggin dependency issue.

Thanks!
2024-09-09 09:11:25 -04:00
Cory LaViska
3e77359fd0 Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2024-09-03 11:21:13 -04:00
Cory LaViska
70e0cd63cf update changelog 2024-09-03 11:21:11 -04:00
Leander Gilles
ab3a66eb6e Fix carousel newActiveSlide calculation to account for slidesPerPage (#2155)
* fix carousel newActiveSlide calculation to account for slidesPerPage

* fix carousel slide-per-page with rtl documents

We always need to scroll to the left most slide of the page. With rtl documents that's the last slide of the page.
2024-09-03 11:19:14 -04:00
Rohan
72130fa26b Fixed link in docs to .md file on GitHub (#2154) 2024-09-03 11:17:38 -04:00
Cory LaViska
77d7ce5f2f prettier 2024-08-07 16:09:33 -04:00
Claudio Marangon
d956fcf964 Fix wrong name of css property of alert component in docs (#2132)
Co-authored-by: Claudio Marangon <claudio.marangon@haar-shop.ch>
2024-08-07 16:06:52 -04:00
Cory LaViska
5760017ad3 update docs 2024-08-05 09:23:58 -04:00
Cory LaViska
c2e0544e4b update changelog 2024-08-05 09:20:01 -04:00
Christian Schilling
2704f72696 Add support for sl-dropdown in the default slot of sl-breadcrumb-item (#2015)
* Add support for dropdowns in the default slot

* Make sure to register changes to the href attribute, too

* Update src/components/breadcrumb-item/breadcrumb-item.component.ts

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update src/components/breadcrumb-item/breadcrumb-item.component.ts

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update src/components/breadcrumb-item/breadcrumb-item.component.ts

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Prettier

---------

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>
2024-08-05 09:19:06 -04:00
Cory LaViska
bc6d25acbc optional chain disconnects; fixes #2127 (#2129) 2024-08-05 08:46:30 -04:00
lindsaym-fa
d0441f53ce update sl-select suffix example 2024-07-29 14:13:55 -04:00
Cory LaViska
ad608d6414 update version in changelog 2024-07-29 13:45:58 -04:00
Cory LaViska
45eca5aa34 2.16.0 v2.16.0 2024-07-29 13:42:53 -04:00
Cory LaViska
c92ade7f1a revert version 2024-07-29 13:42:51 -04:00
Cory LaViska
f9cad91afc update test 2024-07-29 13:41:17 -04:00
Cory LaViska
cf4a181325 2.16.0 2024-07-29 13:34:54 -04:00
Cory LaViska
2a6324f358 update docs 2024-07-29 13:32:14 -04:00
Lindsay M
4f5ac7be61 Merge pull request #2063 from Vivantio/latest-plus-one-select-suffix
Select component: add a suffix to .form-control-input
2024-07-29 12:12:20 -04:00
Cory LaViska
b4fb3c331b prettier 2024-07-29 11:29:21 -04:00
Konnor Rogers
b8cdcd0c55 Fix submenu checkboxes (#2116)
* fix submenu checkboxes not being checkable

* add changelog entry

* prettier

* add changelog entry

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2024-07-29 11:21:04 -04:00
Lorenz Kahl
0c8f44cdb0 uses latest React 18 minor versions for code-previews on Codepen (#2125)
Co-authored-by: Lorenz Kahl <lorenz.kahl@tk.de>
2024-07-29 11:19:47 -04:00
Cory LaViska
5babdf9059 prettier 2024-07-29 11:08:30 -04:00
Yehuda Ringler
03adb45f4f #2078: Send event if image load fails, update changelog closes (#2123)
* AVATAR-EVENT: Send event if image load fails, update changelog

* AVATAR-EVENT: rename handler method

* AVATAR-EVENT: Add test
2024-07-29 11:07:40 -04:00
Konnor Rogers
1cf340b22e fix scrollbar detection (#2121)
* fix scrollbar detection

* add pull #

* prettier
2024-07-23 12:45:08 -04:00
Lindsay M
42fbed116b Increase contrast of interactive element borders in dark mode (#2100)
* increase contrast of interactive element borders

* match default button borders to input borders

* revert tag border change
2024-07-15 11:45:29 -04:00
Lindsay M
38a3186904 increase dark theme's help text contrast (#2101) 2024-07-15 11:45:15 -04:00
Konnor Rogers
af3709ed5c run linting (#2104) 2024-07-10 11:29:10 -04:00
Brett Peary
e1bd1fe790 Add astro tutorial (#2098)
* Add astro tutorial

* Added Astro tutorial link to sidebar nav

* Update docs/pages/tutorials/integrating-with-astro.md

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update docs/pages/tutorials/integrating-with-astro.md

Move import into index

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update docs/pages/tutorials/integrating-with-astro.md

Remove setBasePath from frontmatter imports

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update docs/pages/tutorials/integrating-with-astro.md

Add ssr & client scripts section

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update docs/pages/tutorials/integrating-with-astro.md

add rollup-plugin-copy to npm install command

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update docs/pages/tutorials/integrating-with-astro.md

Move setBasePath to script tag

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update docs/pages/tutorials/integrating-with-astro.md

Add explanation for addition of rollup-plugin-copy

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

* Update docs/pages/tutorials/integrating-with-astro.md

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>

---------

Co-authored-by: Konnor Rogers <konnor5456@gmail.com>
2024-07-10 11:22:44 -04:00
Konnor Rogers
325a9e2c4a add docs for nextjs 14 (#2096)
* add docs for nextjs 14

* prettier
2024-07-10 11:20:37 -04:00
Manuel Correia
0aecf69599 Update nextjs docs (#2080) 2024-06-28 13:54:24 -04:00
Cory LaViska
96edd854f3 sigh 2024-06-24 10:22:21 -04:00
Cory LaViska
6a655468d9 remove old test 2024-06-24 10:16:57 -04:00
Cory LaViska
e7e703394d remove unused var 2024-06-24 10:10:48 -04:00
Cory LaViska
fae513c3f7 fix relative time in screen readers 2024-06-24 10:07:18 -04:00
Cory LaViska
d92a9d9bd5 Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2024-06-21 13:38:25 -04:00
Cory LaViska
14d8521558 update changelog 2024-06-21 13:38:24 -04:00
Konnor Rogers
62eeaf985e Fix tabs when they programmatically become disabled (#2051)
* additional fixes for tab component roving tabindex

* prettier

* fix tests

* fix tests

* prettier

* fix tabs

* Update src/components/tab/tab.component.ts

Co-authored-by: Manuel Correia <20400660+manuelc2209@users.noreply.github.com>

---------

Co-authored-by: Manuel Correia <20400660+manuelc2209@users.noreply.github.com>
2024-06-21 13:38:09 -04:00
Michal Altair Valášek
f453276e56 Create Czech (cs) translation. (#2084) 2024-06-21 13:37:40 -04:00
Cory LaViska
e142132b78 Merge branch 'next' of https://github.com/shoelace-style/shoelace into next 2024-06-21 13:36:06 -04:00
Cory LaViska
c64ecef609 update changelog 2024-06-21 13:35:50 -04:00
Alex Andres
a5c3971a17 Exported the popup part of the dropdown component (#2078) 2024-06-21 13:34:27 -04:00
Konnor Rogers
d7e9d717c2 try registering without anonymous classes first (#2079)
* try registering without anonymous classes first

* Add comment

* Add comment

* Add changelog note

* prettier
2024-06-21 13:32:38 -04:00
Nic Newdigate
dbd4ba835b Select component: add a suffix to .form-control-input 2024-06-11 17:22:14 +01:00