@solid-design-system/components 6.17.1 → 6.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.ZSZLZIYX.js +12 -0
- package/cdn/components/carousel/carousel.d.ts +2 -0
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/custom-elements.json +21 -1
- package/cdn/solid-components.bundle.js +65 -65
- package/cdn/solid-components.iife.js +65 -65
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +5 -0
- package/cdn/web-types.json +11 -1
- package/cdn-versioned/chunks/chunk.2DHBC2XZ.js +2 -2
- package/cdn-versioned/chunks/chunk.3GRKVX3Y.js +2 -2
- package/cdn-versioned/chunks/chunk.4V4SW2MU.js +2 -2
- package/cdn-versioned/chunks/chunk.52TRFRJK.js +2 -2
- package/cdn-versioned/chunks/chunk.72BMHDYW.js +2 -2
- package/cdn-versioned/chunks/chunk.A4Y2ZTQS.js +2 -2
- package/cdn-versioned/chunks/chunk.ACBSQQGQ.js +2 -2
- package/cdn-versioned/chunks/chunk.B66QBBOC.js +1 -1
- package/cdn-versioned/chunks/chunk.BAAF4SAM.js +2 -2
- package/cdn-versioned/chunks/chunk.BDF5Y2DV.js +2 -2
- package/cdn-versioned/chunks/chunk.BOEKLLMY.js +2 -2
- package/cdn-versioned/chunks/chunk.C2B2WHBX.js +2 -2
- package/cdn-versioned/chunks/chunk.CEWEUYL5.js +2 -2
- package/cdn-versioned/chunks/chunk.CSMKAOUE.js +2 -2
- package/cdn-versioned/chunks/chunk.CZUZXVXM.js +1 -1
- package/cdn-versioned/chunks/chunk.DDGEG3JJ.js +2 -2
- package/cdn-versioned/chunks/chunk.DSXSUMRR.js +3 -3
- package/cdn-versioned/chunks/chunk.E2V26BUA.js +1 -1
- package/cdn-versioned/chunks/chunk.ETLWMEM7.js +5 -5
- package/cdn-versioned/chunks/chunk.EYHWAYCC.js +2 -2
- package/cdn-versioned/chunks/chunk.F2YBTYYO.js +1 -1
- package/cdn-versioned/chunks/chunk.FSMYSRQ5.js +2 -2
- package/cdn-versioned/chunks/chunk.G6OWFL7B.js +2 -2
- package/cdn-versioned/chunks/chunk.GBSKWBQY.js +5 -5
- package/cdn-versioned/chunks/chunk.GS46R6QO.js +2 -2
- package/cdn-versioned/chunks/chunk.HX4A7MNJ.js +2 -2
- package/cdn-versioned/chunks/chunk.JG5FT5V3.js +2 -2
- package/cdn-versioned/chunks/chunk.K65Y3BMV.js +2 -2
- package/cdn-versioned/chunks/chunk.KAVHO7BF.js +2 -2
- package/cdn-versioned/chunks/chunk.KXYEKUBH.js +1 -1
- package/cdn-versioned/chunks/chunk.L4Q4HWT2.js +1 -1
- package/cdn-versioned/chunks/chunk.LFLXMIIF.js +2 -2
- package/cdn-versioned/chunks/chunk.OGNOPC3L.js +1 -1
- package/cdn-versioned/chunks/chunk.PCPQDPIJ.js +2 -2
- package/cdn-versioned/chunks/chunk.PUDOHTPG.js +2 -2
- package/cdn-versioned/chunks/chunk.Q36PSPCX.js +1 -1
- package/cdn-versioned/chunks/chunk.QDWVVB6U.js +2 -2
- package/cdn-versioned/chunks/chunk.QKQ2FAEH.js +2 -2
- package/cdn-versioned/chunks/chunk.QRCDP5AE.js +2 -2
- package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
- package/cdn-versioned/chunks/chunk.RJVOMEKW.js +2 -2
- package/cdn-versioned/chunks/chunk.SH4PMEHV.js +2 -2
- package/cdn-versioned/chunks/chunk.SWMRHLCD.js +2 -2
- package/cdn-versioned/chunks/chunk.T2VQOPNR.js +2 -2
- package/cdn-versioned/chunks/chunk.TEQ3DTJK.js +2 -2
- package/cdn-versioned/chunks/chunk.THPGET7V.js +2 -2
- package/cdn-versioned/chunks/chunk.TXQVRNR7.js +2 -2
- package/cdn-versioned/chunks/chunk.U5H4A4ZD.js +2 -2
- package/cdn-versioned/chunks/chunk.UK3QQAGA.js +2 -2
- package/cdn-versioned/chunks/chunk.VREAKVXD.js +2 -2
- package/cdn-versioned/chunks/chunk.VW4SG3XG.js +2 -2
- package/cdn-versioned/chunks/chunk.VXGSYVQJ.js +3 -3
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WC4UPG7R.js +2 -2
- package/cdn-versioned/chunks/chunk.WMBV6H4W.js +2 -2
- package/cdn-versioned/chunks/chunk.WOCCV524.js +1 -1
- package/cdn-versioned/chunks/chunk.XF2NJUOO.js +2 -2
- package/cdn-versioned/chunks/chunk.XFJLF5M4.js +2 -2
- package/cdn-versioned/chunks/chunk.XGLBODZT.js +2 -2
- package/cdn-versioned/chunks/chunk.XYQCPWUJ.js +1 -1
- package/cdn-versioned/chunks/chunk.YDS5VIM3.js +2 -2
- package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
- package/cdn-versioned/chunks/chunk.ZMRAUCHT.js +9 -9
- package/cdn-versioned/chunks/chunk.ZSZLZIYX.js +12 -0
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +3 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +265 -245
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +82 -82
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +83 -83
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +112 -107
- package/cdn-versioned/web-types.json +167 -157
- package/dist/chunks/{chunk.DOQJMWSI.js → chunk.BWFGZZU7.js} +15 -3
- package/dist/components/carousel/carousel.d.ts +2 -0
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/custom-elements.json +21 -1
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +5 -0
- package/dist/web-types.json +11 -1
- package/dist-versioned/chunks/chunk.2U32VSHR.js +3 -3
- package/dist-versioned/chunks/chunk.2WGBXYET.js +3 -3
- package/dist-versioned/chunks/chunk.33OSBM2L.js +1 -1
- package/dist-versioned/chunks/chunk.37VMM4OR.js +1 -1
- package/dist-versioned/chunks/chunk.3ZZBKPOH.js +5 -5
- package/dist-versioned/chunks/chunk.4VG6NHCU.js +6 -6
- package/dist-versioned/chunks/chunk.5IARX66P.js +11 -11
- package/dist-versioned/chunks/chunk.6RD6BJ43.js +1 -1
- package/dist-versioned/chunks/chunk.6UAU2Y7U.js +2 -2
- package/dist-versioned/chunks/chunk.7EU5PQGA.js +5 -5
- package/dist-versioned/chunks/chunk.AFMRRRYY.js +2 -2
- package/dist-versioned/chunks/chunk.AXQ65JS3.js +6 -6
- package/dist-versioned/chunks/chunk.B43IHGRK.js +4 -4
- package/dist-versioned/chunks/chunk.B46QWFGW.js +5 -5
- package/dist-versioned/chunks/chunk.BDBRCTEF.js +10 -10
- package/dist-versioned/chunks/chunk.BDOSAOAF.js +1 -1
- package/dist-versioned/chunks/chunk.BKNVWJRC.js +4 -4
- package/dist-versioned/chunks/chunk.BNUP4TMP.js +6 -6
- package/dist-versioned/chunks/chunk.BQINNFJP.js +5 -5
- package/dist-versioned/chunks/chunk.BV25PV23.js +6 -6
- package/dist-versioned/chunks/{chunk.DOQJMWSI.js → chunk.BWFGZZU7.js} +24 -12
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.COSVGBTT.js +12 -12
- package/dist-versioned/chunks/chunk.DEYMV3AS.js +11 -11
- package/dist-versioned/chunks/chunk.E2PJNXY4.js +3 -3
- package/dist-versioned/chunks/chunk.EQ3WBPH5.js +1 -1
- package/dist-versioned/chunks/chunk.EREHAJGM.js +5 -5
- package/dist-versioned/chunks/chunk.FKPD6TIK.js +14 -14
- package/dist-versioned/chunks/chunk.GQEY7HYL.js +1 -1
- package/dist-versioned/chunks/chunk.GU6XT67W.js +2 -2
- package/dist-versioned/chunks/chunk.GXX7ZVMH.js +2 -2
- package/dist-versioned/chunks/chunk.HPHV4VKP.js +3 -3
- package/dist-versioned/chunks/chunk.HPYZXPZN.js +2 -2
- package/dist-versioned/chunks/chunk.IOIU7TDJ.js +9 -9
- package/dist-versioned/chunks/chunk.IQMEFOSJ.js +4 -4
- package/dist-versioned/chunks/chunk.JZSKAHSL.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KENPAY6Q.js +2 -2
- package/dist-versioned/chunks/chunk.KQYOSLIW.js +5 -5
- package/dist-versioned/chunks/chunk.KVQN5R3X.js +11 -11
- package/dist-versioned/chunks/chunk.MACL5DD6.js +6 -6
- package/dist-versioned/chunks/chunk.MFLCJDVY.js +25 -25
- package/dist-versioned/chunks/chunk.MQG727Y4.js +4 -4
- package/dist-versioned/chunks/chunk.N4W5UD4U.js +3 -3
- package/dist-versioned/chunks/chunk.NMS67TKX.js +13 -13
- package/dist-versioned/chunks/chunk.NO5K5NRM.js +5 -5
- package/dist-versioned/chunks/chunk.RC4YZBAG.js +4 -4
- package/dist-versioned/chunks/chunk.RJQAUVFZ.js +5 -5
- package/dist-versioned/chunks/chunk.S4SI3HWM.js +2 -2
- package/dist-versioned/chunks/chunk.SBC2I6JO.js +8 -8
- package/dist-versioned/chunks/chunk.T27MZUKA.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UQIEZ6RZ.js +25 -25
- package/dist-versioned/chunks/chunk.USC7EHJV.js +32 -32
- package/dist-versioned/chunks/chunk.VDMPM2P2.js +2 -2
- package/dist-versioned/chunks/chunk.VLHNMJ5F.js +10 -10
- package/dist-versioned/chunks/chunk.VSWXW4QR.js +3 -3
- package/dist-versioned/chunks/chunk.W76DK5Q3.js +2 -2
- package/dist-versioned/chunks/chunk.WC2SM7KI.js +4 -4
- package/dist-versioned/chunks/chunk.WG6PNLWA.js +10 -10
- package/dist-versioned/chunks/chunk.WOZA4YTR.js +5 -5
- package/dist-versioned/chunks/chunk.XF6FDNUR.js +2 -2
- package/dist-versioned/chunks/chunk.ZGCNF5LQ.js +1 -1
- package/dist-versioned/chunks/chunk.ZR5RDB6B.js +7 -7
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +3 -1
- package/dist-versioned/components/carousel/carousel.js +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +265 -245
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +112 -107
- package/dist-versioned/web-types.json +167 -157
- package/package.json +1 -1
- package/cdn/chunks/chunk.HYIE6V5T.js +0 -12
- package/cdn-versioned/chunks/chunk.HYIE6V5T.js +0 -12
|
@@ -52,6 +52,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
52
52
|
this.inverted = false;
|
|
53
53
|
this.loop = false;
|
|
54
54
|
this.autoplay = false;
|
|
55
|
+
this.autoplayInterval = 5;
|
|
55
56
|
this.fade = false;
|
|
56
57
|
this.slidesPerPage = 1;
|
|
57
58
|
this.slidesPerMove = 1;
|
|
@@ -252,7 +253,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
252
253
|
if (this.pausedAutoplay) {
|
|
253
254
|
this.autoplayController.stop();
|
|
254
255
|
} else if (this.autoplay) {
|
|
255
|
-
this.autoplayController.start(
|
|
256
|
+
this.autoplayController.start(this.autoplayInterval * 1e3);
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
handleFadeChange() {
|
|
@@ -354,9 +355,14 @@ var SdCarousel = class extends SolidElement {
|
|
|
354
355
|
handleAutoplayChange() {
|
|
355
356
|
this.autoplayController.stop();
|
|
356
357
|
if (this.autoplay && !this.pausedAutoplay) {
|
|
357
|
-
this.autoplayController.start(
|
|
358
|
+
this.autoplayController.start(this.autoplayInterval * 1e3);
|
|
358
359
|
}
|
|
359
360
|
}
|
|
361
|
+
handleautoplayIntervalChange() {
|
|
362
|
+
if (!this.autoplay || this.pausedAutoplay) return;
|
|
363
|
+
this.autoplayController.stop();
|
|
364
|
+
this.autoplayController.start(this.autoplayInterval * 1e3);
|
|
365
|
+
}
|
|
360
366
|
/**
|
|
361
367
|
* Move the carousel backward by `slides-per-move` slides.
|
|
362
368
|
*
|
|
@@ -516,7 +522,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
516
522
|
SdCarousel.styles = [
|
|
517
523
|
...SolidElement.styles,
|
|
518
524
|
css`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
519
|
-
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`
|
|
525
|
+
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`
|
|
520
526
|
];
|
|
521
527
|
__decorateClass([
|
|
522
528
|
query('[part~="autoplay-controls"]')
|
|
@@ -542,6 +548,9 @@ __decorateClass([
|
|
|
542
548
|
__decorateClass([
|
|
543
549
|
property({ type: Boolean, reflect: true })
|
|
544
550
|
], SdCarousel.prototype, "autoplay", 2);
|
|
551
|
+
__decorateClass([
|
|
552
|
+
property({ type: Number, attribute: "autoplay-interval", reflect: true })
|
|
553
|
+
], SdCarousel.prototype, "autoplayInterval", 2);
|
|
545
554
|
__decorateClass([
|
|
546
555
|
property({ type: Boolean, reflect: true })
|
|
547
556
|
], SdCarousel.prototype, "fade", 2);
|
|
@@ -594,6 +603,9 @@ __decorateClass([
|
|
|
594
603
|
__decorateClass([
|
|
595
604
|
watch("autoplay")
|
|
596
605
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
606
|
+
__decorateClass([
|
|
607
|
+
watch("autoplayInterval")
|
|
608
|
+
], SdCarousel.prototype, "handleautoplayIntervalChange", 1);
|
|
597
609
|
SdCarousel = __decorateClass([
|
|
598
610
|
customElement("sd-carousel")
|
|
599
611
|
], SdCarousel);
|
|
@@ -11,6 +11,7 @@ export default class SdCarousel extends SolidElement {
|
|
|
11
11
|
inverted: boolean;
|
|
12
12
|
loop: boolean;
|
|
13
13
|
autoplay: boolean;
|
|
14
|
+
autoplayInterval: number;
|
|
14
15
|
fade: boolean;
|
|
15
16
|
slidesPerPage: number;
|
|
16
17
|
slidesPerMove: number;
|
|
@@ -55,6 +56,7 @@ export default class SdCarousel extends SolidElement {
|
|
|
55
56
|
handleSlideChange(): void;
|
|
56
57
|
handleSlidesPerMoveChange(): void;
|
|
57
58
|
handleAutoplayChange(): void;
|
|
59
|
+
handleautoplayIntervalChange(): void;
|
|
58
60
|
previous(behavior?: ScrollBehavior): void;
|
|
59
61
|
next(behavior?: ScrollBehavior): void;
|
|
60
62
|
nextTillFirst(behavior?: ScrollBehavior): void;
|
|
@@ -3765,6 +3765,17 @@
|
|
|
3765
3765
|
"attribute": "autoplay",
|
|
3766
3766
|
"reflects": true
|
|
3767
3767
|
},
|
|
3768
|
+
{
|
|
3769
|
+
"kind": "field",
|
|
3770
|
+
"name": "autoplayInterval",
|
|
3771
|
+
"type": {
|
|
3772
|
+
"text": "number"
|
|
3773
|
+
},
|
|
3774
|
+
"default": "5",
|
|
3775
|
+
"description": "Time (in seconds) between automatic slide transitions.",
|
|
3776
|
+
"attribute": "autoplay-interval",
|
|
3777
|
+
"reflects": true
|
|
3778
|
+
},
|
|
3768
3779
|
{
|
|
3769
3780
|
"kind": "field",
|
|
3770
3781
|
"name": "fade",
|
|
@@ -3993,6 +4004,15 @@
|
|
|
3993
4004
|
"description": "When set, the slides will scroll automatically when the user is not interacting with them.",
|
|
3994
4005
|
"fieldName": "autoplay"
|
|
3995
4006
|
},
|
|
4007
|
+
{
|
|
4008
|
+
"name": "autoplay-interval",
|
|
4009
|
+
"type": {
|
|
4010
|
+
"text": "number"
|
|
4011
|
+
},
|
|
4012
|
+
"default": "5",
|
|
4013
|
+
"description": "Time (in seconds) between automatic slide transitions.",
|
|
4014
|
+
"fieldName": "autoplayInterval"
|
|
4015
|
+
},
|
|
3996
4016
|
{
|
|
3997
4017
|
"name": "fade",
|
|
3998
4018
|
"type": {
|
|
@@ -22867,7 +22887,7 @@
|
|
|
22867
22887
|
"package": {
|
|
22868
22888
|
"name": "@solid-design-system/components",
|
|
22869
22889
|
"description": "Solid Design System: Components",
|
|
22870
|
-
"version": "6.
|
|
22890
|
+
"version": "6.18.0",
|
|
22871
22891
|
"author": "Union Investment",
|
|
22872
22892
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
22873
22893
|
"license": "MIT"
|
package/dist/solid-components.js
CHANGED
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
import "./chunks/chunk.KVQN5R3X.js";
|
|
156
156
|
import {
|
|
157
157
|
SdCarousel
|
|
158
|
-
} from "./chunks/chunk.
|
|
158
|
+
} from "./chunks/chunk.BWFGZZU7.js";
|
|
159
159
|
import "./chunks/chunk.W2YDXTG5.js";
|
|
160
160
|
import "./chunks/chunk.6RE6UZ72.js";
|
|
161
161
|
import "./chunks/chunk.UVI5HHLF.js";
|
|
@@ -530,6 +530,11 @@
|
|
|
530
530
|
"description": "When set, the slides will scroll automatically when the user is not interacting with them.",
|
|
531
531
|
"values": []
|
|
532
532
|
},
|
|
533
|
+
{
|
|
534
|
+
"name": "autoplay-interval",
|
|
535
|
+
"description": "Time (in seconds) between automatic slide transitions.",
|
|
536
|
+
"values": []
|
|
537
|
+
},
|
|
533
538
|
{
|
|
534
539
|
"name": "fade",
|
|
535
540
|
"description": "When set, slides will fade between each other instead of scrolling.",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.18.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1102,6 +1102,11 @@
|
|
|
1102
1102
|
"description": "When set, the slides will scroll automatically when the user is not interacting with them.",
|
|
1103
1103
|
"value": { "type": "boolean", "default": "false" }
|
|
1104
1104
|
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "autoplay-interval",
|
|
1107
|
+
"description": "Time (in seconds) between automatic slide transitions.",
|
|
1108
|
+
"value": { "type": "number", "default": "5" }
|
|
1109
|
+
},
|
|
1105
1110
|
{
|
|
1106
1111
|
"name": "fade",
|
|
1107
1112
|
"description": "When set, slides will fade between each other instead of scrolling.",
|
|
@@ -1179,6 +1184,11 @@
|
|
|
1179
1184
|
"description": "When set, the slides will scroll automatically when the user is not interacting with them.",
|
|
1180
1185
|
"type": "boolean"
|
|
1181
1186
|
},
|
|
1187
|
+
{
|
|
1188
|
+
"name": "autoplayInterval",
|
|
1189
|
+
"description": "Time (in seconds) between automatic slide transitions.",
|
|
1190
|
+
"type": "number"
|
|
1191
|
+
},
|
|
1182
1192
|
{
|
|
1183
1193
|
"name": "fade",
|
|
1184
1194
|
"description": "When set, slides will fade between each other instead of scrolling.",
|
|
@@ -38,13 +38,13 @@ var SdBreadcrumbItem = class extends SolidElement {
|
|
|
38
38
|
requestAnimationFrame(() => this.handleCurrentChange());
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return html`<sd-6-
|
|
41
|
+
return html`<sd-6-18-0-link part="base" href="${ifDefined(!this.current ? this.href : void 0)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-6-18-0-link>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdBreadcrumbItem.styles = [
|
|
45
45
|
...SolidElement.styles,
|
|
46
46
|
css`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
47
|
-
:host{display:inline-flex;align-items:center}sd-6-
|
|
47
|
+
:host{display:inline-flex;align-items:center}sd-6-18-0-link::part(base){align-items:center}sd-6-18-0-link::part(icon-left){margin-right:calc(var(--sd-spacing-1) * 0);display:inline-flex}:host([current]) sd-6-18-0-link::part(base){color:rgba(var(--sd-color-text-neutral-700))}:host([current]) sd-6-18-0-link::part(label){text-decoration-line:none}`
|
|
48
48
|
];
|
|
49
49
|
__decorateClass([
|
|
50
50
|
query('[part="base"]')
|
|
@@ -62,7 +62,7 @@ __decorateClass([
|
|
|
62
62
|
watch("current")
|
|
63
63
|
], SdBreadcrumbItem.prototype, "handleCurrentChange", 1);
|
|
64
64
|
SdBreadcrumbItem = __decorateClass([
|
|
65
|
-
customElement("sd-6-
|
|
65
|
+
customElement("sd-6-18-0-breadcrumb-item")
|
|
66
66
|
], SdBreadcrumbItem);
|
|
67
67
|
|
|
68
68
|
export {
|
|
@@ -22,7 +22,7 @@ var SdDivider = class extends SolidElement {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
return html`<hr part="main" aria-orientation="${this.orientation}" class="${cx(
|
|
25
|
-
this.inverted ? "sd-6-
|
|
25
|
+
this.inverted ? "sd-6-18-0-divider--inverted-color-border" : "border-neutral-400",
|
|
26
26
|
this.orientation === "horizontal" ? "border-t w-full" : " border-l h-full"
|
|
27
27
|
)}">`;
|
|
28
28
|
}
|
|
@@ -33,7 +33,7 @@ var SdDivider = class extends SolidElement {
|
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
35
|
css`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
36
|
-
:host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-
|
|
36
|
+
:host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-18-0-divider[orientation=horizontal]){display:block}:host(sd-6-18-0-divider[orientation=vertical]){display:inline-block}`
|
|
37
37
|
];
|
|
38
38
|
__decorateClass([
|
|
39
39
|
property({ type: String, reflect: true })
|
|
@@ -42,7 +42,7 @@ __decorateClass([
|
|
|
42
42
|
property({ type: Boolean, reflect: true })
|
|
43
43
|
], SdDivider.prototype, "inverted", 2);
|
|
44
44
|
SdDivider = __decorateClass([
|
|
45
|
-
customElement("sd-6-
|
|
45
|
+
customElement("sd-6-18-0-divider")
|
|
46
46
|
], SdDivider);
|
|
47
47
|
|
|
48
48
|
export {
|