@solid-design-system/components 7.0.0-next.6 → 7.0.0-next.7
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.NB6QF25Q.js +2 -0
- package/cdn/components/header/header.d.ts +1 -0
- package/cdn/components/header/header.js +1 -1
- package/cdn/custom-elements.json +24 -4
- package/cdn/solid-components.bundle.js +33 -33
- package/cdn/solid-components.iife.js +31 -31
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +7 -2
- package/cdn/web-types.json +14 -4
- package/cdn-versioned/chunks/chunk.2G3IPD56.js +2 -2
- package/cdn-versioned/chunks/chunk.3NQGT32X.js +2 -2
- package/cdn-versioned/chunks/chunk.3TH3ZR3I.js +2 -2
- package/cdn-versioned/chunks/chunk.43BVYRG3.js +2 -2
- package/cdn-versioned/chunks/chunk.4D6X7ON2.js +2 -2
- package/cdn-versioned/chunks/chunk.4RJE4TI4.js +2 -2
- package/cdn-versioned/chunks/chunk.4SDWX3GC.js +1 -1
- package/cdn-versioned/chunks/chunk.4UZPAOHT.js +2 -2
- package/cdn-versioned/chunks/chunk.4V7ZA4G4.js +2 -2
- package/cdn-versioned/chunks/chunk.4VWHE6IJ.js +2 -2
- package/cdn-versioned/chunks/chunk.5GCVGJ23.js +2 -2
- package/cdn-versioned/chunks/chunk.626XPPWD.js +2 -2
- package/cdn-versioned/chunks/chunk.64ZBR7T2.js +2 -2
- package/cdn-versioned/chunks/chunk.7HGJUXD2.js +2 -2
- package/cdn-versioned/chunks/chunk.7X2WZGVP.js +3 -3
- package/cdn-versioned/chunks/chunk.AFIMLGBS.js +3 -3
- package/cdn-versioned/chunks/chunk.B5TIWX7C.js +2 -2
- package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
- package/cdn-versioned/chunks/chunk.C4BSOGLY.js +1 -1
- package/cdn-versioned/chunks/chunk.D6JILLMB.js +3 -3
- package/cdn-versioned/chunks/chunk.DK2NRNHC.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.EDB7WM3C.js +2 -2
- package/cdn-versioned/chunks/chunk.EW3C6EAI.js +1 -1
- package/cdn-versioned/chunks/chunk.GTAM35BO.js +2 -2
- package/cdn-versioned/chunks/chunk.H6DSYZZ5.js +2 -2
- package/cdn-versioned/chunks/chunk.HPSXEVMH.js +2 -2
- package/cdn-versioned/chunks/chunk.IHNJ7SE7.js +2 -2
- package/cdn-versioned/chunks/chunk.INUOCLNI.js +1 -1
- package/cdn-versioned/chunks/chunk.IPT2IS3C.js +2 -2
- package/cdn-versioned/chunks/chunk.IUTTUDYG.js +2 -2
- package/cdn-versioned/chunks/chunk.KFO7GTE5.js +2 -2
- package/cdn-versioned/chunks/chunk.KGIRFMVB.js +2 -2
- package/cdn-versioned/chunks/chunk.KIKLU2QF.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MCV2O2DW.js +2 -2
- package/cdn-versioned/chunks/chunk.MMSVMSOT.js +1 -1
- package/cdn-versioned/chunks/chunk.NB6QF25Q.js +2 -0
- package/cdn-versioned/chunks/chunk.NIP2E7XF.js +2 -2
- package/cdn-versioned/chunks/chunk.O45L6PM3.js +5 -5
- package/cdn-versioned/chunks/chunk.ONEC2JGA.js +2 -2
- package/cdn-versioned/chunks/chunk.OR425KE3.js +2 -2
- package/cdn-versioned/chunks/chunk.PINAEP5F.js +2 -2
- package/cdn-versioned/chunks/chunk.Q235YK2W.js +2 -2
- package/cdn-versioned/chunks/chunk.Q7MQTMXO.js +2 -2
- package/cdn-versioned/chunks/chunk.RHWN47DZ.js +2 -2
- package/cdn-versioned/chunks/chunk.SDWSZX52.js +10 -10
- package/cdn-versioned/chunks/chunk.SPIJDZMD.js +2 -2
- package/cdn-versioned/chunks/chunk.SS7M4TZ3.js +2 -2
- package/cdn-versioned/chunks/chunk.SXCJQBLJ.js +2 -2
- package/cdn-versioned/chunks/chunk.TEZ5ERKR.js +5 -5
- package/cdn-versioned/chunks/chunk.TQIQNEOY.js +1 -1
- package/cdn-versioned/chunks/chunk.UQD7EJTJ.js +2 -2
- package/cdn-versioned/chunks/chunk.V65AWGU4.js +1 -1
- package/cdn-versioned/chunks/chunk.VGGACO4K.js +2 -2
- package/cdn-versioned/chunks/chunk.VUEVAYFK.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WUMIGCKG.js +2 -2
- package/cdn-versioned/chunks/chunk.X66Q6CFQ.js +2 -2
- package/cdn-versioned/chunks/chunk.XYOC42VA.js +2 -2
- package/cdn-versioned/chunks/chunk.Y22AL5IU.js +2 -2
- package/cdn-versioned/chunks/chunk.Z4LHGWSU.js +1 -1
- package/cdn-versioned/chunks/chunk.ZDVA3JMZ.js +1 -1
- package/cdn-versioned/chunks/chunk.ZHYZWUO3.js +2 -2
- 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 +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 +2 -1
- package/cdn-versioned/components/header/header.js +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/progress-bar/progress-bar.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/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 +283 -263
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +84 -84
- package/cdn-versioned/solid-components.css +3 -3
- package/cdn-versioned/solid-components.iife.js +84 -84
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +120 -115
- package/cdn-versioned/web-types.json +182 -172
- package/dist/chunks/{chunk.4KUVWN2I.js → chunk.5HSSTHMW.js} +5 -1
- package/dist/components/header/header.d.ts +1 -0
- package/dist/components/header/header.js +1 -1
- package/dist/custom-elements.json +24 -4
- package/dist/solid-components.js +6 -6
- package/dist/vscode.html-custom-data.json +7 -2
- package/dist/web-types.json +14 -4
- package/dist-versioned/chunks/{chunk.4KUVWN2I.js → chunk.5HSSTHMW.js} +7 -3
- package/dist-versioned/chunks/chunk.6ETKGDC3.js +13 -13
- package/dist-versioned/chunks/chunk.6O4N7F3K.js +3 -3
- package/dist-versioned/chunks/chunk.6UABH73N.js +23 -23
- package/dist-versioned/chunks/chunk.742523X2.js +6 -6
- package/dist-versioned/chunks/chunk.7MHQG3BX.js +1 -1
- package/dist-versioned/chunks/chunk.7PKQECKN.js +5 -5
- package/dist-versioned/chunks/chunk.7QL6Y47O.js +3 -3
- package/dist-versioned/chunks/chunk.7WPBGXB4.js +1 -1
- package/dist-versioned/chunks/chunk.AMARMKJU.js +3 -3
- package/dist-versioned/chunks/chunk.BDDLMKAK.js +1 -1
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.D3Q6NREV.js +1 -1
- package/dist-versioned/chunks/chunk.DC2F6ZIN.js +12 -12
- package/dist-versioned/chunks/chunk.DCUIQILU.js +7 -7
- package/dist-versioned/chunks/chunk.DMQ52GO3.js +2 -2
- package/dist-versioned/chunks/chunk.DZ77XUG2.js +11 -11
- package/dist-versioned/chunks/chunk.E7RWXJJE.js +11 -11
- package/dist-versioned/chunks/chunk.EH7PG7IH.js +2 -2
- package/dist-versioned/chunks/chunk.EKH7JJ3U.js +25 -25
- package/dist-versioned/chunks/chunk.GVPPHUUS.js +5 -5
- package/dist-versioned/chunks/chunk.GWWM46XG.js +7 -7
- package/dist-versioned/chunks/chunk.HB3VBJFC.js +10 -10
- package/dist-versioned/chunks/chunk.K22CCY63.js +3 -3
- package/dist-versioned/chunks/chunk.K4ZSZPTN.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KYX4HLN2.js +7 -7
- package/dist-versioned/chunks/chunk.LDTZNWTZ.js +6 -6
- package/dist-versioned/chunks/chunk.LUR5ATJB.js +6 -6
- package/dist-versioned/chunks/chunk.MEMOQ3W7.js +5 -5
- package/dist-versioned/chunks/chunk.MJ6KXGSO.js +5 -5
- package/dist-versioned/chunks/chunk.N5OTEAT2.js +6 -6
- package/dist-versioned/chunks/chunk.NPYCKWWW.js +10 -10
- package/dist-versioned/chunks/chunk.NXG4DNKU.js +12 -12
- package/dist-versioned/chunks/chunk.PUT4P7PK.js +2 -2
- package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
- package/dist-versioned/chunks/chunk.RZXU2X5Z.js +2 -2
- package/dist-versioned/chunks/chunk.S3DD4YSN.js +4 -4
- package/dist-versioned/chunks/chunk.SCWFNFSN.js +4 -4
- package/dist-versioned/chunks/chunk.SOX43MJ5.js +4 -4
- package/dist-versioned/chunks/chunk.T2ZFQMV6.js +8 -8
- package/dist-versioned/chunks/chunk.TNLAM4ZT.js +3 -3
- package/dist-versioned/chunks/chunk.UGIF26DH.js +2 -2
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.V4ILSVMF.js +4 -4
- package/dist-versioned/chunks/chunk.V54VIV3V.js +1 -1
- package/dist-versioned/chunks/chunk.VDQBK7ZK.js +2 -2
- package/dist-versioned/chunks/chunk.VLMSLPLL.js +10 -10
- package/dist-versioned/chunks/chunk.VWGMR2Y5.js +5 -5
- package/dist-versioned/chunks/chunk.VYBHDB7F.js +11 -11
- package/dist-versioned/chunks/chunk.WIKRI7YB.js +5 -5
- package/dist-versioned/chunks/chunk.WKUNYCQZ.js +3 -3
- package/dist-versioned/chunks/chunk.X32Z3OP3.js +14 -14
- package/dist-versioned/chunks/chunk.XQBLC5E4.js +5 -5
- package/dist-versioned/chunks/chunk.Y6MMHW4A.js +1 -1
- package/dist-versioned/chunks/chunk.YAI4GVXU.js +6 -6
- package/dist-versioned/chunks/chunk.YFUYD54K.js +42 -42
- package/dist-versioned/chunks/chunk.YVAYTWVV.js +1 -1
- package/dist-versioned/chunks/chunk.Z4X2ORYU.js +5 -5
- package/dist-versioned/chunks/chunk.Z7VTXC25.js +2 -2
- package/dist-versioned/chunks/chunk.ZMCHJLGT.js +10 -10
- package/dist-versioned/chunks/chunk.ZWSPJTPP.js +5 -5
- package/dist-versioned/chunks/chunk.ZXPU2CGW.js +3 -3
- package/dist-versioned/chunks/chunk.ZXTMNMQT.js +2 -2
- 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 +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 +2 -1
- package/dist-versioned/components/header/header.js +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/progress-bar/progress-bar.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/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 +283 -263
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +3 -3
- package/dist-versioned/solid-components.js +6 -6
- package/dist-versioned/vscode.html-custom-data.json +120 -115
- package/dist-versioned/web-types.json +182 -172
- package/package.json +1 -1
- package/cdn/chunks/chunk.YQHNJLIR.js +0 -2
- package/cdn-versioned/chunks/chunk.YQHNJLIR.js +0 -2
package/cdn/solid-components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as pe}from"./chunks/chunk.C45254AN.js";import"./chunks/chunk.HAL7R4WT.js";import{a as ee}from"./chunks/chunk.PINAEP5F.js";import{a as oe}from"./chunks/chunk.IHNJ7SE7.js";import{a as ae}from"./chunks/chunk.HPSXEVMH.js";import{a as re}from"./chunks/chunk.Y22AL5IU.js";import{a as U}from"./chunks/chunk.4RJE4TI4.js";import{a as W}from"./chunks/chunk.4D6X7ON2.js";import{a as X}from"./chunks/chunk.IPT2IS3C.js";import{a as Y}from"./chunks/chunk.AFIMLGBS.js";import{a as Z}from"./chunks/chunk.Q7MQTMXO.js";import{a as _}from"./chunks/chunk.2G3IPD56.js";import{a as $}from"./chunks/chunk.OR425KE3.js";import{a as
|
|
1
|
+
import{a as pe}from"./chunks/chunk.C45254AN.js";import"./chunks/chunk.HAL7R4WT.js";import{a as ee}from"./chunks/chunk.PINAEP5F.js";import{a as oe}from"./chunks/chunk.IHNJ7SE7.js";import{a as ae}from"./chunks/chunk.HPSXEVMH.js";import{a as re}from"./chunks/chunk.Y22AL5IU.js";import{a as U}from"./chunks/chunk.4RJE4TI4.js";import{a as W}from"./chunks/chunk.4D6X7ON2.js";import{a as X}from"./chunks/chunk.IPT2IS3C.js";import{a as Y}from"./chunks/chunk.AFIMLGBS.js";import{a as Z}from"./chunks/chunk.Q7MQTMXO.js";import{a as _}from"./chunks/chunk.2G3IPD56.js";import{a as $}from"./chunks/chunk.OR425KE3.js";import{a as V}from"./chunks/chunk.4VWHE6IJ.js";import{a as j}from"./chunks/chunk.NIP2E7XF.js";import{a as Q}from"./chunks/chunk.VUEVAYFK.js";import{a as y}from"./chunks/chunk.KIKLU2QF.js";import{a as q}from"./chunks/chunk.D6JILLMB.js";import"./chunks/chunk.IVHEBGOY.js";import{a as z}from"./chunks/chunk.64ZBR7T2.js";import{a as J}from"./chunks/chunk.UQD7EJTJ.js";import{a as K}from"./chunks/chunk.TEZ5ERKR.js";import{a as v}from"./chunks/chunk.4V7ZA4G4.js";import{a as N}from"./chunks/chunk.DK2NRNHC.js";import{a as O}from"./chunks/chunk.43BVYRG3.js";import{a as E}from"./chunks/chunk.IUTTUDYG.js";import{a as F}from"./chunks/chunk.VGGACO4K.js";import{a as H}from"./chunks/chunk.ONEC2JGA.js";import{a as R}from"./chunks/chunk.TQIQNEOY.js";import{a as A}from"./chunks/chunk.4UZPAOHT.js";import{a as w}from"./chunks/chunk.EDB7WM3C.js";import{a as L}from"./chunks/chunk.SS7M4TZ3.js";import{a as P}from"./chunks/chunk.7HGJUXD2.js";import"./chunks/chunk.DSKB3SEU.js";import"./chunks/chunk.ICEC5PGK.js";import{a as M}from"./chunks/chunk.NB6QF25Q.js";import{a as h}from"./chunks/chunk.SXCJQBLJ.js";import"./chunks/chunk.WWGARXPI.js";import"./chunks/chunk.23WKPZET.js";import{a as C}from"./chunks/chunk.MCV2O2DW.js";import{a as I}from"./chunks/chunk.B5TIWX7C.js";import{a as D}from"./chunks/chunk.WUMIGCKG.js";import{a as G}from"./chunks/chunk.RHWN47DZ.js";import{a as T}from"./chunks/chunk.KFO7GTE5.js";import"./chunks/chunk.SAEYIL5V.js";import"./chunks/chunk.IF6Y3ILD.js";import{a as g}from"./chunks/chunk.626XPPWD.js";import{a as B}from"./chunks/chunk.O45L6PM3.js";import"./chunks/chunk.54DO3JVH.js";import{a as k}from"./chunks/chunk.5GCVGJ23.js";import"./chunks/chunk.ERP45OHF.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as l}from"./chunks/chunk.3TH3ZR3I.js";import{a as m}from"./chunks/chunk.GTAM35BO.js";import{a as S}from"./chunks/chunk.ZHYZWUO3.js";import{a as x}from"./chunks/chunk.7X2WZGVP.js";import"./chunks/chunk.OKNJ5BPS.js";import{a as s}from"./chunks/chunk.Z4LHGWSU.js";import{a as n}from"./chunks/chunk.SPIJDZMD.js";import{a as i}from"./chunks/chunk.ZDVA3JMZ.js";import"./chunks/chunk.X66Q6CFQ.js";import{a as b}from"./chunks/chunk.XYOC42VA.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.EOXYPQZI.js";import"./chunks/chunk.MHWW3RZB.js";import{a as c}from"./chunks/chunk.INUOCLNI.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.C4BSOGLY.js";import{a as o}from"./chunks/chunk.3NQGT32X.js";import{a as r}from"./chunks/chunk.EW3C6EAI.js";import"./chunks/chunk.D4E5ZIRW.js";import{a as u}from"./chunks/chunk.H6DSYZZ5.js";import{a as p}from"./chunks/chunk.KGIRFMVB.js";import"./chunks/chunk.I2H6CZK5.js";import{a as f}from"./chunks/chunk.SDWSZX52.js";import{a as d}from"./chunks/chunk.MMSVMSOT.js";import{a as t}from"./chunks/chunk.V65AWGU4.js";import"./chunks/chunk.LZRL7OLU.js";import"./chunks/chunk.LHSR56PH.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.B2NUKX6G.js";import"./chunks/chunk.NL7YFV4O.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as e}from"./chunks/chunk.Q235YK2W.js";import"./chunks/chunk.W5O4FM6B.js";import"./chunks/chunk.QQD62QOV.js";import{d as te,e as de}from"./chunks/chunk.NYJUQAML.js";import"./chunks/chunk.TRGIF57L.js";import"./chunks/chunk.MB7SWCJ2.js";import"./chunks/chunk.U7TS5SGA.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import{a as fe}from"./chunks/chunk.VAM5SM3O.js";import"./chunks/chunk.NADOKI3X.js";import"./chunks/chunk.PB7NJRWC.js";import"./chunks/chunk.4XDRYWQQ.js";import"./chunks/chunk.4ZZFYCXX.js";import"./chunks/chunk.NYKJXI3Q.js";import"./chunks/chunk.4SDWX3GC.js";import"./chunks/chunk.OBAEIKIV.js";import"./chunks/chunk.W4QBFD6E.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.6EV4YU6C.js";export{fe as LocalizeController,o as SdAccordion,a as SdAccordionGroup,r as SdAnimation,u as SdAudio,l as SdBadge,m as SdBrandshape,S as SdBreadcrumb,n as SdBreadcrumbItem,f as SdButton,b as SdCarousel,c as SdCarouselItem,T as SdCheckbox,g as SdCheckboxGroup,B as SdCombobox,h as SdDatepicker,C as SdDialog,I as SdDivider,p as SdDrawer,x as SdDropdown,D as SdExpandable,G as SdFlipcard,M as SdHeader,e as SdIcon,R as SdInclude,A as SdInput,i as SdLink,t as SdLoader,w as SdMapMarker,L as SdMenu,P as SdMenuItem,v as SdNavigationItem,N as SdNotification,O as SdOptgroup,E as SdOption,s as SdPopup,F as SdProgressBar,H as SdQuickfact,Q as SdRadio,V as SdRadioButton,j as SdRadioGroup,y as SdRange,z as SdRangeTick,J as SdScrollable,K as SdSelect,U as SdSkeleton,W as SdStep,X as SdStepGroup,Y as SdSwitch,Z as SdTab,_ as SdTabGroup,$ as SdTabPanel,k as SdTag,ee as SdTeaser,oe as SdTeaserMedia,ae as SdTextarea,d as SdThemeListener,q as SdTooltip,re as SdVideo,te as registerIconLibrary,pe as setupAutocomplete,de as unregisterIconLibrary};
|
|
@@ -1291,11 +1291,16 @@
|
|
|
1291
1291
|
},
|
|
1292
1292
|
{
|
|
1293
1293
|
"name": "sd-header",
|
|
1294
|
-
"description": "Used as a container for the main navigation of a website.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n- **--sd-header-color-background** - The background color of the header. _(default: undefined)_\n- **--sd-header-padding-bottom** - padding bottom of the header content _(default: undefined)_\n- **--sd-header__underline-color-background** - the background color of the underlined background _(default: undefined)_\n- **--sd-header__underline-height** - height of the underlined header _(default: undefined)_\n- **--sd-header__shadow-height** - height of the shadow
|
|
1294
|
+
"description": "Used as a container for the main navigation of a website.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n- **--sd-header-color-background** - The background color of the header. _(default: undefined)_\n- **--sd-header-padding-bottom** - padding bottom of the header content _(default: undefined)_\n- **--sd-header__underline-color-background** - the background color of the underlined background _(default: undefined)_\n- **--sd-header__underline-height** - height of the underlined header _(default: undefined)_\n- **--sd-header__shadow-height** - height of the shadow _(default: undefined)_\n\n### **CSS Parts:**\n - **main** - The container that wraps the header's content.",
|
|
1295
1295
|
"attributes": [
|
|
1296
1296
|
{
|
|
1297
1297
|
"name": "fixed",
|
|
1298
|
-
"description": "Determines whether the header is fixed or not. If the header is fixed at the top of the page
|
|
1298
|
+
"description": "Determines whether the header is fixed or not. If the header is fixed, it stays at the top of the page while scrolling.",
|
|
1299
|
+
"values": []
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "shadow",
|
|
1303
|
+
"description": "Determines whether a drop shadow is shown underneath the header.",
|
|
1299
1304
|
"values": []
|
|
1300
1305
|
},
|
|
1301
1306
|
{
|
package/cdn/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": "7.0.0-next.
|
|
4
|
+
"version": "7.0.0-next.7",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -3102,12 +3102,17 @@
|
|
|
3102
3102
|
},
|
|
3103
3103
|
{
|
|
3104
3104
|
"name": "sd-header",
|
|
3105
|
-
"description": "Used as a container for the main navigation of a website.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n- **--sd-header-color-background** - The background color of the header. _(default: undefined)_\n- **--sd-header-padding-bottom** - padding bottom of the header content _(default: undefined)_\n- **--sd-header__underline-color-background** - the background color of the underlined background _(default: undefined)_\n- **--sd-header__underline-height** - height of the underlined header _(default: undefined)_\n- **--sd-header__shadow-height** - height of the shadow
|
|
3105
|
+
"description": "Used as a container for the main navigation of a website.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n- **--sd-header-color-background** - The background color of the header. _(default: undefined)_\n- **--sd-header-padding-bottom** - padding bottom of the header content _(default: undefined)_\n- **--sd-header__underline-color-background** - the background color of the underlined background _(default: undefined)_\n- **--sd-header__underline-height** - height of the underlined header _(default: undefined)_\n- **--sd-header__shadow-height** - height of the shadow _(default: undefined)_\n\n### **CSS Parts:**\n - **main** - The container that wraps the header's content.",
|
|
3106
3106
|
"doc-url": "",
|
|
3107
3107
|
"attributes": [
|
|
3108
3108
|
{
|
|
3109
3109
|
"name": "fixed",
|
|
3110
|
-
"description": "Determines whether the header is fixed or not. If the header is fixed at the top of the page
|
|
3110
|
+
"description": "Determines whether the header is fixed or not. If the header is fixed, it stays at the top of the page while scrolling.",
|
|
3111
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"name": "shadow",
|
|
3115
|
+
"description": "Determines whether a drop shadow is shown underneath the header.",
|
|
3111
3116
|
"value": { "type": "boolean", "default": "false" }
|
|
3112
3117
|
},
|
|
3113
3118
|
{
|
|
@@ -3129,7 +3134,12 @@
|
|
|
3129
3134
|
"properties": [
|
|
3130
3135
|
{
|
|
3131
3136
|
"name": "fixed",
|
|
3132
|
-
"description": "Determines whether the header is fixed or not. If the header is fixed at the top of the page
|
|
3137
|
+
"description": "Determines whether the header is fixed or not. If the header is fixed, it stays at the top of the page while scrolling.",
|
|
3138
|
+
"type": "boolean"
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
"name": "shadow",
|
|
3142
|
+
"description": "Determines whether a drop shadow is shown underneath the header.",
|
|
3133
3143
|
"type": "boolean"
|
|
3134
3144
|
},
|
|
3135
3145
|
{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as b}from"./chunk.OKNJ5BPS.js";import{a as T}from"./chunk.MHWW3RZB.js";import{a as f}from"./chunk.LHSR56PH.js";import{a as y}from"./chunk.VAM5SM3O.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.4SDWX3GC.js";import{b as m,e as d}from"./chunk.OBAEIKIV.js";import{a as p,e as l}from"./chunk.6EV4YU6C.js";var a=class extends u{constructor(){super(...arguments);this.localize=new y(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-7-0-0-next-
|
|
2
|
-
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:0;width:0}::slotted(sd-7-0-0-next-
|
|
1
|
+
import{a as b}from"./chunk.OKNJ5BPS.js";import{a as T}from"./chunk.MHWW3RZB.js";import{a as f}from"./chunk.LHSR56PH.js";import{a as y}from"./chunk.VAM5SM3O.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.4SDWX3GC.js";import{b as m,e as d}from"./chunk.OBAEIKIV.js";import{a as p,e as l}from"./chunk.6EV4YU6C.js";var a=class extends u{constructor(){super(...arguments);this.localize=new y(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-7-0-0-next-7-tab"),customElements.whenDefined("sd-7-0-0-next-7-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(i=>{i.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),i.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var s;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.activeTab)!=null?s:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let i=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(i.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-7-0-0-next-7-tab"?e:e.querySelector("sd-7-0-0-next-7-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-7-0-0-next-7-tab":e.tagName.toLowerCase()==="sd-7-0-0-next-7-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-7-0-0-next-7-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-7-0-0-next-7-tab");(e==null?void 0:e.closest("sd-7-0-0-next-7-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-7-0-0-next-7-tab");if((e==null?void 0:e.closest("sd-7-0-0-next-7-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let s=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sd-7-0-0-next-7-tab"){let r=this.tabs.indexOf(s);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,i){if(i=p({emitEvents:!0,scrollBehavior:"auto"},i),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var s;return o.active=o.name===((s=this.activeTab)==null?void 0:s.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",i.scrollBehavior),i.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let i=this.panels.find(e=>e.name===t.panel);i&&t.setAttribute("aria-controls",i.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,i=this.indicator,e=this.tabsContainer;if(!t||!i||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),s=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=s.left+s.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-s.left;i.style.width=`${x}px`,i.style.transform=`translateX(${C}px)`}show(t){let i=this.tabs.find(e=>e.panel===t);i&&this.setActiveTab(i,{scrollBehavior:"smooth"})}render(){var i;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-7-0-0-next-7-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-0-next-7-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((i=this.activeTab)==null?void 0:i.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-7-0-0-next-7-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-0-next-7-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...u.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:0;width:0}::slotted(sd-7-0-0-next-7-tab-panel){--padding:1rem 0}::slotted(sd-7-0-0-next-7-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([w({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-7-0-0-next-7-tab-group")],a);export{a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.NL7YFV4O.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.VAM5SM3O.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as r,h}from"./chunk.4SDWX3GC.js";import{b as f}from"./chunk.OBAEIKIV.js";import{b as d,e as l,f as c}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.localize=new v(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let s of e)s.type==="attributes"&&s.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await l(this.body),this.body.hidden=!1;let{keyframes:s,options:a}=m(this,"accordion.show",{dir:this.localize.dir()});await d(this.body,c(s,this.body.scrollHeight),a),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await l(this.body);let{keyframes:s,options:a}=m(this,"accordion.hide",{dir:this.localize.dir()});await d(this.body,c(s,this.body.scrollHeight),a),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base"><summary part="header" id="header" class="${i("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-7-0-0-next-
|
|
2
|
-
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-color:rgba(var(--sd-accordion-color-border,var(--sd-accordion-color-text)));border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-7-0-0-next-
|
|
1
|
+
import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.NL7YFV4O.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.VAM5SM3O.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as r,h}from"./chunk.4SDWX3GC.js";import{b as f}from"./chunk.OBAEIKIV.js";import{b as d,e as l,f as c}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.localize=new v(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let s of e)s.type==="attributes"&&s.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await l(this.body),this.body.hidden=!1;let{keyframes:s,options:a}=m(this,"accordion.show",{dir:this.localize.dir()});await d(this.body,c(s,this.body.scrollHeight),a),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await l(this.body);let{keyframes:s,options:a}=m(this,"accordion.hide",{dir:this.localize.dir()});await d(this.body,c(s,this.body.scrollHeight),a),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base"><summary part="header" id="header" class="${i("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-7-0-0-next-7-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 relative group transition-colors ease-in-out duration-fast hover:sd-7-0-0-next-7-accordion--hover-color-background")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${i(!this.open&&"opacity-0","w-1 sd-7-0-0-next-7-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="${i(this.open?"sd-7-0-0-next-7-accordion--open-color-text":"sd-7-0-0-next-7-accordion-color-text","flex flex-auto items-center text-left")}">${this.summary}</slot><span part="summary-icon" class="${i("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${i(this.open&&"hidden")}"><sd-7-0-0-next-7-icon library="_internal" name="chevron-down"></sd-7-0-0-next-7-icon></slot><slot name="collapse-icon" class="${i(!this.open&&"hidden")}"><sd-7-0-0-next-7-icon library="_internal" name="chevron-down"></sd-7-0-0-next-7-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...h.styles,f`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-color:rgba(var(--sd-accordion-color-border,var(--sd-accordion-color-text)));border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-7-0-0-next-7-icon{color:rgb(var(--sd-accordion__chevron-color-text,var(--sd-accordion-color-icon-fill)))}`],o([r('[part="base"]')],t.prototype,"accordion",2),o([r('[part="header"]')],t.prototype,"header",2),o([r('[part="content"]')],t.prototype,"body",2),o([n({type:Boolean,reflect:!0})],t.prototype,"open",2),o([n({reflect:!0})],t.prototype,"summary",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([y("sd-7-0-0-next-7-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk.4ZZFYCXX.js";import{a,b as r,h as s}from"./chunk.4SDWX3GC.js";import{b as n,e as d}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return d`<span part="base" aria-labelledby="content" class="${i("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"sd-7-0-0-next-
|
|
2
|
-
:host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){height:var(--sd-spacing-4);min-width:var(--sd-spacing-4);font-size:.625rem}:host([size=lg]){height:calc(var(--sd-spacing-1) * 5);min-width:calc(var(--sd-spacing-1) * 5);font-size:.75rem}:host([size=sm])::part(base){height:var(--sd-spacing-2);min-width:var(--sd-spacing-2)}:host([size=md])::part(base){padding-inline:var(--sd-spacing-1)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([a("sd-7-0-0-next-
|
|
1
|
+
import{a as i}from"./chunk.4ZZFYCXX.js";import{a,b as r,h as s}from"./chunk.4SDWX3GC.js";import{b as n,e as d}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return d`<span part="base" aria-labelledby="content" class="${i("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"sd-7-0-0-next-7-badge--blue--inverted-color-text sd-7-0-0-next-7-badge--blue--inverted-color-background sd-7-0-0-next-7-badge--inverted-color-border":"text-white sd-7-0-0-next-7-badge--blue-color-background border-white",green:this.inverted?"sd-7-0-0-next-7-badge--green-color--inverted-text sd-7-0-0-next-7-badge--green-color--inverted-background sd-7-0-0-next-7-badge--inverted-color-border":"text-white sd-7-0-0-next-7-badge--green-color-background border-white",red:this.inverted?"sd-7-0-0-next-7-badge--red--inverted-text sd-7-0-0-next-7-badge--red--inverted-background sd-7-0-0-next-7-badge--inverted-color-border":"text-white sd-7-0-0-next-7-badge--red-color-background border-white"}[this.variant])}"><span id="content" part="content" class="${i(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...s.styles,n`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){height:var(--sd-spacing-4);min-width:var(--sd-spacing-4);font-size:.625rem}:host([size=lg]){height:calc(var(--sd-spacing-1) * 5);min-width:calc(var(--sd-spacing-1) * 5);font-size:.75rem}:host([size=sm])::part(base){height:var(--sd-spacing-2);min-width:var(--sd-spacing-2)}:host([size=md])::part(base){padding-inline:var(--sd-spacing-1)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([a("sd-7-0-0-next-7-badge")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as m}from"./chunk.NL7YFV4O.js";import{a as b}from"./chunk.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as d,b as a,d as n,h as s}from"./chunk.4SDWX3GC.js";import{b as r}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.localize=new b(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:i}=this;this.defaultSlot.assignedElements().filter(l=>l.tagName.toLowerCase()==="sd-7-0-0-next-
|
|
2
|
-
:host{--display-divider:block}#divider{display:var(--display-divider)}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([a({reflect:!0,type:Boolean})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"label",2),t([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-7-0-0-next-
|
|
1
|
+
import{b as m}from"./chunk.NL7YFV4O.js";import{a as b}from"./chunk.VAM5SM3O.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as d,b as a,d as n,h as s}from"./chunk.4SDWX3GC.js";import{b as r}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.localize=new b(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:i}=this;this.defaultSlot.assignedElements().filter(l=>l.tagName.toLowerCase()==="sd-7-0-0-next-7-option").forEach(l=>{l.disabled=i})}handleDisabledChange(){this.handleDisableOptions()}render(){let{disabled:i}=this;return m`<div role="${i?"presentation":"group"}" class="${o(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-7-0-0-next-7-divider id="divider" class="pt-2 pb-4" part="divider"></sd-7-0-0-next-7-divider><div part="label-container" class="${o(this.disabled?"text-neutral-500":"text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};e.styles=[...s.styles,r`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{--display-divider:block}#divider{display:var(--display-divider)}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([a({reflect:!0,type:Boolean})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"label",2),t([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-7-0-0-next-7-optgroup")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk.LHSR56PH.js";import{a as g}from"./chunk.CGQ2BPPZ.js";import{a as h,b as s}from"./chunk.NL7YFV4O.js";import{a as e}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as v,b as r,h as d}from"./chunk.4SDWX3GC.js";import{b as m,i as p}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new g(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){if(this.size==="xs"&&this.orientation!=="vertical")return console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),p;let u=this.isLink(),f=this.notInteractive||this.waiting?h`div`:u?h`a`:h`button`,w=this.hasSlotController.test("label"),c=this.label?!0:w,x=this.hasSlotController.test("[default]"),a=this.description?!0:x,o=this.horizontalInline&&this.orientation==="horizontal",y=e("flex shrink-0 gap-2 group",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"||this.size==="xs"?"mt-1":"mt-3"),z=e("border sd-7-0-0-next-
|
|
2
|
-
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-0-next-
|
|
1
|
+
import{a as n}from"./chunk.LHSR56PH.js";import{a as g}from"./chunk.CGQ2BPPZ.js";import{a as h,b as s}from"./chunk.NL7YFV4O.js";import{a as e}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as v,b as r,h as d}from"./chunk.4SDWX3GC.js";import{b as m,i as p}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new g(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){if(this.size==="xs"&&this.orientation!=="vertical")return console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),p;let u=this.isLink(),f=this.notInteractive||this.waiting?h`div`:u?h`a`:h`button`,w=this.hasSlotController.test("label"),c=this.label?!0:w,x=this.hasSlotController.test("[default]"),a=this.description?!0:x,o=this.horizontalInline&&this.orientation==="horizontal",y=e("flex shrink-0 gap-2 group",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"||this.size==="xs"?"mt-1":"mt-3"),z=e("border sd-7-0-0-next-7-step__circle-border-width rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":this.size==="xs"?"w-2":"w-12":this.size==="lg"?"w-12":this.size==="xs"?"w-2":"w-8 h-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",this.waiting&&this.size==="xs"&&"border-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&(this.size==="xs"?"border-primary":"border-neutral-400"),this.current&&"bg-accent border-none text-white"),b="flex-row items-stretch h-full w-full overflow-hidden";return s`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":this.size==="xs"?`${b} gap-2`:`${b} gap-4`,!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${y}"><${f} part="circle" href="${n(u?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!a?void 0:"description")}" class="${z}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"sd-7-0-0-next-7-step-color-text")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&this.size!=="xs"?s`<sd-7-0-0-next-7-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-7-0-0-next-7-icon>`:this.size==="xs"?"":s`${this.index}`}</slot></${f}>${o?s`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!a?"mt-1":"mt-3")}">${c&&s`<div part="label" id="label" class="${e("font-bold whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":s`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${a?s`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm wrap-break-word",a?"flex-1":"w-0 h-0 overflow-hidden",a&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||s`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":s`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l grow shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div>${o?"":s`<div part="text-container" class="${e("wrap-break-word flex flex-col gap-2",this.size==="xs"?"-mt-1 mb-4":"mt-4",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?this.size==="xs"?"ml-0":"ml-2":"mr-4")}"><div part="label" id="label" class="${e("font-bold",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||s`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{flex:1}:host([orientation=horizontal]) [part=tail]{border-top-width:var(--sd-step__tail-border-width)}:host([orientation=vertical]) [part=tail]{border-left-width:var(--sd-step__tail-border-width)}:host([no-tail]){flex-grow:0}:host(:not([current])) (:not([notInteractive])) slot[name=circle-content]{color:rgba(var(--sd-color-text-neutral-700))}slot[name=circle-content] sd-7-0-0-next-7-icon,slot[name=circle-content]::slotted(sd-7-0-0-next-7-icon){color:rgba(var(--sd-color-icon-fill-primary))}[part=circle]:hover slot[name=circle-content] sd-7-0-0-next-7-icon,[part=circle]:hover slot[name=circle-content]::slotted(sd-7-0-0-next-7-icon){color:rgba(var(--sd-color-icon-fill-primary-500))}:host([horizontal-inline]):has([part=description]){min-width:0;flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([l("current")],t.prototype,"handleCurrentChange",1),i([l("disabled")],t.prototype,"handleDisabledChange",1),i([l("waiting")],t.prototype,"handleWaitingChange",1),i([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([v("sd-7-0-0-next-7-step")],t);export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"./chunk.4ZZFYCXX.js";import{a as i,b as a,h as r}from"./chunk.4SDWX3GC.js";import{b as l,e as s}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.variant="rectangular"}render(){return s`<div part="base" aria-hidden="true" class="${o("sd-7-0-0-next-
|
|
2
|
-
:host{display:block}::slotted(*){visibility:hidden}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),t=e([i("sd-7-0-0-next-
|
|
1
|
+
import{a as o}from"./chunk.4ZZFYCXX.js";import{a as i,b as a,h as r}from"./chunk.4SDWX3GC.js";import{b as l,e as s}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.variant="rectangular"}render(){return s`<div part="base" aria-hidden="true" class="${o("sd-7-0-0-next-7-skeleton-color w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}::slotted(*){visibility:hidden}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),t=e([i("sd-7-0-0-next-7-skeleton")],t);export{t as a};
|