@solid-design-system/components 6.15.1 → 6.16.1
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.AMWQ5YE5.js +1 -0
- package/cdn/chunks/chunk.IFLZK5J6.js +12 -0
- package/{cdn-versioned/chunks/chunk.UCL7PTZ5.js → cdn/chunks/chunk.WEOX4LVS.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/loader/loader.js +1 -1
- package/cdn/components/menu/menu.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/range-tick/range-tick.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +894 -894
- package/cdn/solid-components.bundle.js +39 -39
- package/cdn/solid-components.iife.js +42 -42
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/localize.d.ts +2 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +86 -86
- package/cdn/web-types.json +214 -214
- package/cdn-versioned/chunks/chunk.3CLS3Q77.js +2 -2
- package/cdn-versioned/chunks/chunk.4FZ6I6UQ.js +2 -2
- package/cdn-versioned/chunks/chunk.4HVH6KEX.js +2 -2
- package/cdn-versioned/chunks/chunk.4KH3R72H.js +2 -2
- package/cdn-versioned/chunks/chunk.4VN3VZD3.js +2 -2
- package/cdn-versioned/chunks/chunk.5DK27TIR.js +1 -1
- package/cdn-versioned/chunks/chunk.66XXYOMG.js +2 -2
- package/cdn-versioned/chunks/chunk.6OZ2A44P.js +2 -2
- package/cdn-versioned/chunks/chunk.A26X4M2A.js +2 -2
- package/cdn-versioned/chunks/chunk.AIWXFV4A.js +9 -9
- package/cdn-versioned/chunks/chunk.AMWQ5YE5.js +1 -0
- package/cdn-versioned/chunks/chunk.ATEIIJMN.js +5 -5
- package/cdn-versioned/chunks/chunk.BDHPDHCE.js +2 -2
- package/cdn-versioned/chunks/chunk.BX67FEHE.js +2 -2
- package/cdn-versioned/chunks/chunk.BZ6LKCYP.js +2 -2
- package/cdn-versioned/chunks/chunk.CGW35BM4.js +2 -2
- package/cdn-versioned/chunks/chunk.CQAF35CP.js +2 -2
- package/cdn-versioned/chunks/chunk.D7HCBQZI.js +2 -2
- package/cdn-versioned/chunks/chunk.DFK6W42J.js +2 -2
- package/cdn-versioned/chunks/chunk.DN2B6JRY.js +2 -2
- package/cdn-versioned/chunks/chunk.DX2U3PRB.js +1 -1
- package/cdn-versioned/chunks/chunk.EWMHJHWS.js +1 -1
- package/cdn-versioned/chunks/chunk.EY5IPEJS.js +2 -2
- package/cdn-versioned/chunks/chunk.G6JKQSEW.js +2 -2
- package/cdn-versioned/chunks/chunk.GSM2BLQT.js +1 -1
- package/cdn-versioned/chunks/chunk.HAAQAD3J.js +2 -2
- package/cdn-versioned/chunks/chunk.HCOXA5X6.js +1 -1
- package/cdn-versioned/chunks/chunk.HHMT3GNH.js +2 -2
- package/cdn-versioned/chunks/chunk.IDTGN2MF.js +3 -3
- package/cdn-versioned/chunks/chunk.IFLZK5J6.js +12 -0
- package/cdn-versioned/chunks/chunk.JI7OGVIM.js +2 -2
- package/cdn-versioned/chunks/chunk.JJKBCUYJ.js +2 -2
- package/cdn-versioned/chunks/chunk.JNP7A56W.js +2 -2
- package/cdn-versioned/chunks/chunk.JY3DTFPL.js +2 -2
- package/cdn-versioned/chunks/chunk.K4IMODXA.js +2 -2
- package/cdn-versioned/chunks/chunk.K5JR46ET.js +5 -5
- package/cdn-versioned/chunks/chunk.KYRKOG2O.js +2 -2
- package/cdn-versioned/chunks/chunk.LHAC7HNW.js +2 -2
- package/cdn-versioned/chunks/chunk.LUYHE3AN.js +1 -1
- package/cdn-versioned/chunks/chunk.LYMIJSNL.js +2 -2
- package/cdn-versioned/chunks/chunk.LZ3V4KEW.js +3 -3
- package/cdn-versioned/chunks/chunk.MPR6UG5R.js +2 -2
- package/cdn-versioned/chunks/chunk.OB5SA2PR.js +2 -2
- package/cdn-versioned/chunks/chunk.OSR5AAH2.js +2 -2
- package/cdn-versioned/chunks/chunk.OU25KON5.js +2 -2
- package/cdn-versioned/chunks/chunk.OWXAMMTH.js +1 -1
- package/cdn-versioned/chunks/chunk.Q53VDSGJ.js +2 -2
- package/cdn-versioned/chunks/chunk.QSVTAUHF.js +2 -2
- package/cdn-versioned/chunks/chunk.QVURGIPC.js +2 -2
- package/cdn-versioned/chunks/chunk.QZSNTDMB.js +1 -1
- package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
- package/cdn-versioned/chunks/chunk.UCWSKJGS.js +2 -2
- package/cdn-versioned/chunks/chunk.UHJGQKEY.js +2 -2
- package/cdn-versioned/chunks/chunk.UJYIZ6FI.js +2 -2
- package/cdn-versioned/chunks/chunk.UK47XFPM.js +2 -2
- package/cdn-versioned/chunks/chunk.UPYENWW7.js +2 -2
- package/cdn-versioned/chunks/chunk.VNKXLA5X.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/{cdn/chunks/chunk.UCL7PTZ5.js → cdn-versioned/chunks/chunk.WEOX4LVS.js} +1 -1
- package/cdn-versioned/chunks/chunk.XAH2RQGI.js +2 -2
- package/cdn-versioned/chunks/chunk.XXL3WNLK.js +2 -2
- package/cdn-versioned/chunks/chunk.YEBMVWCO.js +1 -1
- package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
- package/cdn-versioned/chunks/chunk.Z3NSDZI4.js +2 -2
- package/cdn-versioned/chunks/chunk.Z62KZREG.js +2 -2
- package/cdn-versioned/chunks/chunk.ZQQ27X6I.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +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/audio/audio.js +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/breadcrumb.js +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +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/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/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +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/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +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/input/input.js +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/loader/loader.js +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/menu.js +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/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.js +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/quickfact/quickfact.js +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/range.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +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/spinner/spinner.js +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/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +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/tag/tag.js +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/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +1138 -1138
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +85 -85
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +86 -86
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/localize.d.ts +2 -0
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +190 -190
- package/cdn-versioned/web-types.json +366 -366
- package/dist/chunks/{chunk.FIJX3VUF.js → chunk.7GI2T2BZ.js} +1 -4
- package/dist/chunks/{chunk.XWRZKAAC.js → chunk.BT6SAX2H.js} +2 -0
- package/dist/chunks/{chunk.GWKDETUD.js → chunk.X4IYFUX6.js} +2 -0
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +2 -2
- package/dist/components/carousel/carousel.js +3 -3
- package/dist/components/combobox/combobox.js +2 -2
- package/dist/components/datepicker/datepicker.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/loader/loader.js +2 -2
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +2 -2
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/optgroup/optgroup.js +2 -2
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/range/range.js +2 -2
- package/dist/components/range-tick/range-tick.js +2 -2
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/video/video.js +2 -2
- package/dist/custom-elements.json +894 -894
- package/dist/solid-components.js +3 -3
- package/dist/translations/de.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +86 -86
- package/dist/web-types.json +214 -214
- package/dist-versioned/chunks/chunk.2EW7BYJZ.js +5 -5
- package/dist-versioned/chunks/chunk.2FVZOVKD.js +2 -2
- package/dist-versioned/chunks/chunk.2KAT6BIE.js +6 -6
- package/dist-versioned/chunks/chunk.2LQUJBN6.js +3 -3
- package/dist-versioned/chunks/chunk.2MAKCGJO.js +4 -4
- package/dist-versioned/chunks/chunk.36LQO3TW.js +6 -6
- package/dist-versioned/chunks/chunk.3CHCXOIV.js +11 -11
- package/dist-versioned/chunks/chunk.3EWWVPVW.js +2 -2
- package/dist-versioned/chunks/chunk.3IATPYUU.js +2 -2
- package/dist-versioned/chunks/chunk.4DD46TI2.js +5 -5
- package/dist-versioned/chunks/chunk.4OTHCSXL.js +3 -3
- package/dist-versioned/chunks/chunk.4PVDPEDP.js +1 -1
- package/dist-versioned/chunks/chunk.4UDWRELW.js +5 -5
- package/dist-versioned/chunks/chunk.63RKU7YA.js +12 -12
- package/dist-versioned/chunks/chunk.64ZBVBUO.js +25 -25
- package/dist-versioned/chunks/chunk.7BBBC4LC.js +5 -5
- package/dist-versioned/chunks/{chunk.FIJX3VUF.js → chunk.7GI2T2BZ.js} +11 -14
- package/dist-versioned/chunks/chunk.7MRFW5WU.js +5 -5
- package/dist-versioned/chunks/chunk.AFXQPWOT.js +2 -2
- package/dist-versioned/chunks/chunk.B3QOYMWK.js +2 -2
- package/dist-versioned/chunks/chunk.BN5RGZ7X.js +6 -6
- package/dist-versioned/chunks/{chunk.XWRZKAAC.js → chunk.BT6SAX2H.js} +2 -0
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.E6I6KKTK.js +8 -8
- package/dist-versioned/chunks/chunk.F4SSJ3OK.js +2 -2
- package/dist-versioned/chunks/chunk.GGTTE3O5.js +5 -5
- package/dist-versioned/chunks/chunk.GYT2MOIG.js +4 -4
- package/dist-versioned/chunks/chunk.JBLVT4GJ.js +4 -4
- package/dist-versioned/chunks/chunk.JTMX3R54.js +9 -9
- package/dist-versioned/chunks/chunk.K35ZY362.js +1 -1
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.LQFP4TQA.js +4 -4
- package/dist-versioned/chunks/chunk.LVXSD6QO.js +2 -2
- package/dist-versioned/chunks/chunk.M5DERDHH.js +7 -7
- package/dist-versioned/chunks/chunk.MSAZP6MW.js +6 -6
- package/dist-versioned/chunks/chunk.NJDWX5QK.js +25 -25
- package/dist-versioned/chunks/chunk.NMCXKPQT.js +3 -3
- package/dist-versioned/chunks/chunk.OXOO3KJR.js +3 -3
- package/dist-versioned/chunks/chunk.OYGPRSLI.js +2 -2
- package/dist-versioned/chunks/chunk.OYNQ7MZD.js +5 -5
- package/dist-versioned/chunks/chunk.PBISMPN4.js +2 -2
- package/dist-versioned/chunks/chunk.PIOYH3TM.js +5 -5
- package/dist-versioned/chunks/chunk.PZF3TKOL.js +10 -10
- package/dist-versioned/chunks/chunk.QGQMA2DH.js +2 -2
- package/dist-versioned/chunks/chunk.R6MGPVBY.js +6 -6
- package/dist-versioned/chunks/chunk.RKZHGP4C.js +10 -10
- package/dist-versioned/chunks/chunk.SEB7UTAG.js +4 -4
- package/dist-versioned/chunks/chunk.SP3UZWV2.js +1 -1
- package/dist-versioned/chunks/chunk.SVQ4W63O.js +5 -5
- package/dist-versioned/chunks/chunk.TEYSL3L7.js +11 -11
- package/dist-versioned/chunks/chunk.TKDGBDMS.js +13 -13
- package/dist-versioned/chunks/chunk.UCXRXX5Z.js +10 -10
- package/dist-versioned/chunks/chunk.UF32T6VG.js +14 -14
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.ULAWTDWL.js +11 -11
- package/dist-versioned/chunks/chunk.UUWLJUQT.js +1 -1
- package/dist-versioned/chunks/chunk.UX4SNJ4S.js +3 -3
- package/dist-versioned/chunks/chunk.V7PNN6GB.js +1 -1
- package/dist-versioned/chunks/chunk.VASBQKR7.js +1 -1
- package/dist-versioned/chunks/chunk.W232H3IB.js +1 -1
- package/dist-versioned/chunks/chunk.W5AX2LUX.js +2 -2
- package/dist-versioned/chunks/{chunk.GWKDETUD.js → chunk.X4IYFUX6.js} +2 -0
- package/dist-versioned/chunks/chunk.XYVBMQYZ.js +32 -32
- package/dist-versioned/chunks/chunk.YIT6KCWE.js +1 -1
- package/dist-versioned/chunks/chunk.ZXTVK4F6.js +4 -4
- package/dist-versioned/chunks/chunk.ZZYYNAHQ.js +3 -3
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +2 -2
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +2 -2
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +2 -2
- 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/breadcrumb.js +2 -2
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +2 -2
- 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/carousel.js +3 -3
- 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/combobox/combobox.js +2 -2
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +2 -2
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +2 -2
- 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/input/input.js +2 -2
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/loader/loader.js +2 -2
- 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/menu.js +2 -2
- 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/navigation-item/navigation-item.js +2 -2
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +2 -2
- 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/quickfact/quickfact.js +2 -2
- 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/range.js +2 -2
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +2 -2
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +2 -2
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- 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/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +2 -2
- 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/tag/tag.js +2 -2
- 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/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +2 -2
- package/dist-versioned/custom-elements.json +1138 -1138
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +3 -3
- package/dist-versioned/translations/de.js +1 -1
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/localize.d.ts +2 -0
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +190 -190
- package/dist-versioned/web-types.json +366 -366
- package/package.json +1 -1
- package/cdn/chunks/chunk.B3QUTUIL.js +0 -1
- package/cdn/chunks/chunk.UIPLDTDG.js +0 -12
- package/cdn-versioned/chunks/chunk.B3QUTUIL.js +0 -1
- package/cdn-versioned/chunks/chunk.UIPLDTDG.js +0 -12
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": "6.
|
|
4
|
+
"version": "6.16.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1943,6 +1943,137 @@
|
|
|
1943
1943
|
]
|
|
1944
1944
|
}
|
|
1945
1945
|
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "sd-dialog",
|
|
1948
|
+
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dialog opens.\n- **sd-after-show** - Emitted after the dialog opens and all animations are complete.\n- **sd-hide** - Emitted when the dialog closes.\n- **sd-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\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 dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-button>` and `<sd-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--sd-panel-color-border** - The border color of the dialog panel. _(default: undefined)_\n- **--sd-overlay-color-background** - The background color of the dialog overlay. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1949
|
+
"doc-url": "",
|
|
1950
|
+
"attributes": [
|
|
1951
|
+
{
|
|
1952
|
+
"name": "open",
|
|
1953
|
+
"description": "Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.",
|
|
1954
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"name": "headline",
|
|
1958
|
+
"description": "The dialog's headline as displayed in the header. If you need to display HTML, use the `headline` slot instead.",
|
|
1959
|
+
"value": { "type": "string", "default": "''" }
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"name": "no-close-button",
|
|
1963
|
+
"description": "This will remove the default close button. Please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
1964
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "dir",
|
|
1968
|
+
"description": "The element's directionality.",
|
|
1969
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "lang",
|
|
1973
|
+
"description": "The element's language.",
|
|
1974
|
+
"value": { "type": "string" }
|
|
1975
|
+
}
|
|
1976
|
+
],
|
|
1977
|
+
"slots": [
|
|
1978
|
+
{ "name": "", "description": "The dialog's main content." },
|
|
1979
|
+
{
|
|
1980
|
+
"name": "headline",
|
|
1981
|
+
"description": "The dialog's headline. Alternatively, you can use the `headline` attribute."
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"name": "footer",
|
|
1985
|
+
"description": "The dialog's footer, usually one or more buttons representing various options."
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"name": "close-button",
|
|
1989
|
+
"description": "The dialog's close button. Works best with `<sd-button>` and `<sd-icon>`."
|
|
1990
|
+
}
|
|
1991
|
+
],
|
|
1992
|
+
"events": [
|
|
1993
|
+
{
|
|
1994
|
+
"name": "sd-show",
|
|
1995
|
+
"description": "Emitted when the dialog opens."
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"name": "sd-after-show",
|
|
1999
|
+
"description": "Emitted after the dialog opens and all animations are complete."
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
"name": "sd-hide",
|
|
2003
|
+
"description": "Emitted when the dialog closes."
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"name": "sd-after-hide",
|
|
2007
|
+
"description": "Emitted after the dialog closes and all animations are complete."
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"name": "sd-initial-focus",
|
|
2011
|
+
"description": "Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"name": "sd-request-close",
|
|
2015
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2016
|
+
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
2017
|
+
}
|
|
2018
|
+
],
|
|
2019
|
+
"js": {
|
|
2020
|
+
"properties": [
|
|
2021
|
+
{ "name": "localize" },
|
|
2022
|
+
{
|
|
2023
|
+
"name": "open",
|
|
2024
|
+
"description": "Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.",
|
|
2025
|
+
"type": "boolean"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "headline",
|
|
2029
|
+
"description": "The dialog's headline as displayed in the header. If you need to display HTML, use the `headline` slot instead.",
|
|
2030
|
+
"type": "string"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "noCloseButton",
|
|
2034
|
+
"description": "This will remove the default close button. Please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
2035
|
+
"type": "boolean"
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"name": "dir",
|
|
2039
|
+
"description": "The element's directionality.",
|
|
2040
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"name": "lang",
|
|
2044
|
+
"description": "The element's language.",
|
|
2045
|
+
"type": "string"
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
"events": [
|
|
2049
|
+
{
|
|
2050
|
+
"name": "sd-show",
|
|
2051
|
+
"description": "Emitted when the dialog opens."
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"name": "sd-after-show",
|
|
2055
|
+
"description": "Emitted after the dialog opens and all animations are complete."
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"name": "sd-hide",
|
|
2059
|
+
"description": "Emitted when the dialog closes."
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"name": "sd-after-hide",
|
|
2063
|
+
"description": "Emitted after the dialog closes and all animations are complete."
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "sd-initial-focus",
|
|
2067
|
+
"description": "Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"name": "sd-request-close",
|
|
2071
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2072
|
+
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
2073
|
+
}
|
|
2074
|
+
]
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
1946
2077
|
{
|
|
1947
2078
|
"name": "sd-datepicker",
|
|
1948
2079
|
"description": "\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.",
|
|
@@ -2273,137 +2404,6 @@
|
|
|
2273
2404
|
"events": []
|
|
2274
2405
|
}
|
|
2275
2406
|
},
|
|
2276
|
-
{
|
|
2277
|
-
"name": "sd-dialog",
|
|
2278
|
-
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dialog opens.\n- **sd-after-show** - Emitted after the dialog opens and all animations are complete.\n- **sd-hide** - Emitted when the dialog closes.\n- **sd-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\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 dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-button>` and `<sd-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--sd-panel-color-border** - The border color of the dialog panel. _(default: undefined)_\n- **--sd-overlay-color-background** - The background color of the dialog overlay. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
2279
|
-
"doc-url": "",
|
|
2280
|
-
"attributes": [
|
|
2281
|
-
{
|
|
2282
|
-
"name": "open",
|
|
2283
|
-
"description": "Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.",
|
|
2284
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2285
|
-
},
|
|
2286
|
-
{
|
|
2287
|
-
"name": "headline",
|
|
2288
|
-
"description": "The dialog's headline as displayed in the header. If you need to display HTML, use the `headline` slot instead.",
|
|
2289
|
-
"value": { "type": "string", "default": "''" }
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"name": "no-close-button",
|
|
2293
|
-
"description": "This will remove the default close button. Please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
2294
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2295
|
-
},
|
|
2296
|
-
{
|
|
2297
|
-
"name": "dir",
|
|
2298
|
-
"description": "The element's directionality.",
|
|
2299
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "lang",
|
|
2303
|
-
"description": "The element's language.",
|
|
2304
|
-
"value": { "type": "string" }
|
|
2305
|
-
}
|
|
2306
|
-
],
|
|
2307
|
-
"slots": [
|
|
2308
|
-
{ "name": "", "description": "The dialog's main content." },
|
|
2309
|
-
{
|
|
2310
|
-
"name": "headline",
|
|
2311
|
-
"description": "The dialog's headline. Alternatively, you can use the `headline` attribute."
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"name": "footer",
|
|
2315
|
-
"description": "The dialog's footer, usually one or more buttons representing various options."
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"name": "close-button",
|
|
2319
|
-
"description": "The dialog's close button. Works best with `<sd-button>` and `<sd-icon>`."
|
|
2320
|
-
}
|
|
2321
|
-
],
|
|
2322
|
-
"events": [
|
|
2323
|
-
{
|
|
2324
|
-
"name": "sd-show",
|
|
2325
|
-
"description": "Emitted when the dialog opens."
|
|
2326
|
-
},
|
|
2327
|
-
{
|
|
2328
|
-
"name": "sd-after-show",
|
|
2329
|
-
"description": "Emitted after the dialog opens and all animations are complete."
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
"name": "sd-hide",
|
|
2333
|
-
"description": "Emitted when the dialog closes."
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
"name": "sd-after-hide",
|
|
2337
|
-
"description": "Emitted after the dialog closes and all animations are complete."
|
|
2338
|
-
},
|
|
2339
|
-
{
|
|
2340
|
-
"name": "sd-initial-focus",
|
|
2341
|
-
"description": "Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "sd-request-close",
|
|
2345
|
-
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2346
|
-
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
2347
|
-
}
|
|
2348
|
-
],
|
|
2349
|
-
"js": {
|
|
2350
|
-
"properties": [
|
|
2351
|
-
{ "name": "localize" },
|
|
2352
|
-
{
|
|
2353
|
-
"name": "open",
|
|
2354
|
-
"description": "Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.",
|
|
2355
|
-
"type": "boolean"
|
|
2356
|
-
},
|
|
2357
|
-
{
|
|
2358
|
-
"name": "headline",
|
|
2359
|
-
"description": "The dialog's headline as displayed in the header. If you need to display HTML, use the `headline` slot instead.",
|
|
2360
|
-
"type": "string"
|
|
2361
|
-
},
|
|
2362
|
-
{
|
|
2363
|
-
"name": "noCloseButton",
|
|
2364
|
-
"description": "This will remove the default close button. Please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
2365
|
-
"type": "boolean"
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
"name": "dir",
|
|
2369
|
-
"description": "The element's directionality.",
|
|
2370
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"name": "lang",
|
|
2374
|
-
"description": "The element's language.",
|
|
2375
|
-
"type": "string"
|
|
2376
|
-
}
|
|
2377
|
-
],
|
|
2378
|
-
"events": [
|
|
2379
|
-
{
|
|
2380
|
-
"name": "sd-show",
|
|
2381
|
-
"description": "Emitted when the dialog opens."
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"name": "sd-after-show",
|
|
2385
|
-
"description": "Emitted after the dialog opens and all animations are complete."
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"name": "sd-hide",
|
|
2389
|
-
"description": "Emitted when the dialog closes."
|
|
2390
|
-
},
|
|
2391
|
-
{
|
|
2392
|
-
"name": "sd-after-hide",
|
|
2393
|
-
"description": "Emitted after the dialog closes and all animations are complete."
|
|
2394
|
-
},
|
|
2395
|
-
{
|
|
2396
|
-
"name": "sd-initial-focus",
|
|
2397
|
-
"description": "Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
"name": "sd-request-close",
|
|
2401
|
-
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2402
|
-
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
2403
|
-
}
|
|
2404
|
-
]
|
|
2405
|
-
}
|
|
2406
|
-
},
|
|
2407
2407
|
{
|
|
2408
2408
|
"name": "sd-divider",
|
|
2409
2409
|
"description": "Dividers are used to visually separate or group elements.\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### **CSS Properties:**\n - **--sd-divider--inverted-color-border** - The border color for dividers in inverted state. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -6933,6 +6933,88 @@
|
|
|
6933
6933
|
"events": []
|
|
6934
6934
|
}
|
|
6935
6935
|
},
|
|
6936
|
+
{
|
|
6937
|
+
"name": "sd-teaser",
|
|
6938
|
+
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\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_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--distribution-media** - The distribution ratio of the media. _(default: undefined)_\n- **--distribution-content** - The distribution ratio of the content. _(default: undefined)_\n- **--sd-teaser--neutral-100-color-background** - The background color for neutral‑100 teasers. _(default: undefined)_\n- **--sd-teaser--neutral-400-color-border** - The border color for neutral‑400 teasers. _(default: undefined)_\n- **--sd-teaser--primary-100-color-background** - The background color for primary‑100 teasers. _(default: undefined)_\n- **--sd-teaser-border-radius** - The border radius for teasers. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **main** - The container that wraps the main content.",
|
|
6939
|
+
"doc-url": "",
|
|
6940
|
+
"attributes": [
|
|
6941
|
+
{
|
|
6942
|
+
"name": "variant",
|
|
6943
|
+
"description": "Variant of the teaser",
|
|
6944
|
+
"value": {
|
|
6945
|
+
"type": "| 'white'\n | 'white border-neutral-400'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'",
|
|
6946
|
+
"default": "'white'"
|
|
6947
|
+
}
|
|
6948
|
+
},
|
|
6949
|
+
{
|
|
6950
|
+
"name": "breakpoint",
|
|
6951
|
+
"description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
|
|
6952
|
+
"value": { "type": "number", "default": "448" }
|
|
6953
|
+
},
|
|
6954
|
+
{
|
|
6955
|
+
"name": "inset",
|
|
6956
|
+
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
6957
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6958
|
+
},
|
|
6959
|
+
{
|
|
6960
|
+
"name": "reversed-layout",
|
|
6961
|
+
"description": "Reverses the layout in horizontal variant",
|
|
6962
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6963
|
+
},
|
|
6964
|
+
{
|
|
6965
|
+
"name": "dir",
|
|
6966
|
+
"description": "The element's directionality.",
|
|
6967
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
6968
|
+
},
|
|
6969
|
+
{
|
|
6970
|
+
"name": "lang",
|
|
6971
|
+
"description": "The element's language.",
|
|
6972
|
+
"value": { "type": "string" }
|
|
6973
|
+
}
|
|
6974
|
+
],
|
|
6975
|
+
"slots": [
|
|
6976
|
+
{ "name": "", "description": "An optional main content slot." },
|
|
6977
|
+
{ "name": "media", "description": "An optional media slot." },
|
|
6978
|
+
{ "name": "meta", "description": "An optional meta slot." },
|
|
6979
|
+
{ "name": "headline", "description": "headline slot." }
|
|
6980
|
+
],
|
|
6981
|
+
"events": [],
|
|
6982
|
+
"js": {
|
|
6983
|
+
"properties": [
|
|
6984
|
+
{
|
|
6985
|
+
"name": "variant",
|
|
6986
|
+
"description": "Variant of the teaser",
|
|
6987
|
+
"type": "| 'white'\n | 'white border-neutral-400'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'"
|
|
6988
|
+
},
|
|
6989
|
+
{
|
|
6990
|
+
"name": "breakpoint",
|
|
6991
|
+
"description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
|
|
6992
|
+
"type": "number"
|
|
6993
|
+
},
|
|
6994
|
+
{
|
|
6995
|
+
"name": "inset",
|
|
6996
|
+
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
6997
|
+
"type": "boolean"
|
|
6998
|
+
},
|
|
6999
|
+
{
|
|
7000
|
+
"name": "reversedLayout",
|
|
7001
|
+
"description": "Reverses the layout in horizontal variant",
|
|
7002
|
+
"type": "boolean"
|
|
7003
|
+
},
|
|
7004
|
+
{
|
|
7005
|
+
"name": "dir",
|
|
7006
|
+
"description": "The element's directionality.",
|
|
7007
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
"name": "lang",
|
|
7011
|
+
"description": "The element's language.",
|
|
7012
|
+
"type": "string"
|
|
7013
|
+
}
|
|
7014
|
+
],
|
|
7015
|
+
"events": []
|
|
7016
|
+
}
|
|
7017
|
+
},
|
|
6936
7018
|
{
|
|
6937
7019
|
"name": "sd-tag",
|
|
6938
7020
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n- **sd-remove** - Emitted when the remove button is activated.\n- **sd-hide** - Emitted when the hide method is triggered.\n- **sd-after-hide** - Emitted after the tag is hidden and all animations are complete.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n- **hide()** - Visually hides the tag\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 tag's content.\n- **icon-left** - A prefix icon or similar element.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Properties:**\n - **--sd-tag--default-color-text** - The default text color for tags in their default state. _(default: undefined)_\n- **--sd-tag--default-color-background** - The default color background for tags in their default state. _(default: undefined)_\n- **--sd-tag--default-color-border** - The default color border for tags in their default state. _(default: undefined)_\n- **--sd-tag--default--hover-color-background** - The background color for tags in default state on hover. _(default: undefined)_\n- **--sd-tag--selected--default-color-background** - The default background color for selected tags. _(default: undefined)_\n- **--sd-tag--selected--default-color-text** - The default text color for selected tags. _(default: undefined)_\n- **--sd-tag--selected--default-color-border** - The border color for selected tags in default state. _(default: undefined)_\n- **--sd-tag--selected--hover-color-background** - The background color for selected tags in hover state. _(default: undefined)_\n- **--sd-tag--selected--hover-color-border** - The border color for selected tags in hover state. _(default: undefined)_\n- **--sd-tag--selected--hover-color-text** - The text color for selected tags in hover state. _(default: undefined)_\n- **--sd-tag--selected-border-width** - The border width for selected tags. _(default: undefined)_\n- **--sd-tag-border-radius** - The border radius for tags. _(default: undefined)_\n- **--sd-tag--size-lg-font-size** - The font size for large tags. _(default: undefined)_\n- **--sd-tag--size-sm-font-size** - The font size for small tags. _(default: undefined)_\n- **--sd-choice-control-font-weight** - The font weight for tags. _(default: undefined)_\n- **--sd-tag--disabled-color-text** - The text color for disabled tags. _(default: undefined)_\n- **--sd-tag--disabled-color-border** - This custom property is deprecated. Use `--sd-color-border-neutral-500` instead. _(default: undefined)_\n- **--sd-tag-font-weight** - This custom property is deprecated. Use `--sd-choice-control-font-weight` instead. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.\n- **icon-left** - The container that wraps the left icon area.",
|
|
@@ -7099,88 +7181,6 @@
|
|
|
7099
7181
|
]
|
|
7100
7182
|
}
|
|
7101
7183
|
},
|
|
7102
|
-
{
|
|
7103
|
-
"name": "sd-teaser",
|
|
7104
|
-
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\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_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--distribution-media** - The distribution ratio of the media. _(default: undefined)_\n- **--distribution-content** - The distribution ratio of the content. _(default: undefined)_\n- **--sd-teaser--neutral-100-color-background** - The background color for neutral‑100 teasers. _(default: undefined)_\n- **--sd-teaser--neutral-400-color-border** - The border color for neutral‑400 teasers. _(default: undefined)_\n- **--sd-teaser--primary-100-color-background** - The background color for primary‑100 teasers. _(default: undefined)_\n- **--sd-teaser-border-radius** - The border radius for teasers. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **main** - The container that wraps the main content.",
|
|
7105
|
-
"doc-url": "",
|
|
7106
|
-
"attributes": [
|
|
7107
|
-
{
|
|
7108
|
-
"name": "variant",
|
|
7109
|
-
"description": "Variant of the teaser",
|
|
7110
|
-
"value": {
|
|
7111
|
-
"type": "| 'white'\n | 'white border-neutral-400'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'",
|
|
7112
|
-
"default": "'white'"
|
|
7113
|
-
}
|
|
7114
|
-
},
|
|
7115
|
-
{
|
|
7116
|
-
"name": "breakpoint",
|
|
7117
|
-
"description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
|
|
7118
|
-
"value": { "type": "number", "default": "448" }
|
|
7119
|
-
},
|
|
7120
|
-
{
|
|
7121
|
-
"name": "inset",
|
|
7122
|
-
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
7123
|
-
"value": { "type": "boolean", "default": "false" }
|
|
7124
|
-
},
|
|
7125
|
-
{
|
|
7126
|
-
"name": "reversed-layout",
|
|
7127
|
-
"description": "Reverses the layout in horizontal variant",
|
|
7128
|
-
"value": { "type": "boolean", "default": "false" }
|
|
7129
|
-
},
|
|
7130
|
-
{
|
|
7131
|
-
"name": "dir",
|
|
7132
|
-
"description": "The element's directionality.",
|
|
7133
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
7134
|
-
},
|
|
7135
|
-
{
|
|
7136
|
-
"name": "lang",
|
|
7137
|
-
"description": "The element's language.",
|
|
7138
|
-
"value": { "type": "string" }
|
|
7139
|
-
}
|
|
7140
|
-
],
|
|
7141
|
-
"slots": [
|
|
7142
|
-
{ "name": "", "description": "An optional main content slot." },
|
|
7143
|
-
{ "name": "media", "description": "An optional media slot." },
|
|
7144
|
-
{ "name": "meta", "description": "An optional meta slot." },
|
|
7145
|
-
{ "name": "headline", "description": "headline slot." }
|
|
7146
|
-
],
|
|
7147
|
-
"events": [],
|
|
7148
|
-
"js": {
|
|
7149
|
-
"properties": [
|
|
7150
|
-
{
|
|
7151
|
-
"name": "variant",
|
|
7152
|
-
"description": "Variant of the teaser",
|
|
7153
|
-
"type": "| 'white'\n | 'white border-neutral-400'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'"
|
|
7154
|
-
},
|
|
7155
|
-
{
|
|
7156
|
-
"name": "breakpoint",
|
|
7157
|
-
"description": "Breakpoint where the teaser switches from `vertical` to `horizontal`. `0` is always `horizontal`, `9999` is always `vertical`.",
|
|
7158
|
-
"type": "number"
|
|
7159
|
-
},
|
|
7160
|
-
{
|
|
7161
|
-
"name": "inset",
|
|
7162
|
-
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
7163
|
-
"type": "boolean"
|
|
7164
|
-
},
|
|
7165
|
-
{
|
|
7166
|
-
"name": "reversedLayout",
|
|
7167
|
-
"description": "Reverses the layout in horizontal variant",
|
|
7168
|
-
"type": "boolean"
|
|
7169
|
-
},
|
|
7170
|
-
{
|
|
7171
|
-
"name": "dir",
|
|
7172
|
-
"description": "The element's directionality.",
|
|
7173
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
7174
|
-
},
|
|
7175
|
-
{
|
|
7176
|
-
"name": "lang",
|
|
7177
|
-
"description": "The element's language.",
|
|
7178
|
-
"type": "string"
|
|
7179
|
-
}
|
|
7180
|
-
],
|
|
7181
|
-
"events": []
|
|
7182
|
-
}
|
|
7183
|
-
},
|
|
7184
7184
|
{
|
|
7185
7185
|
"name": "sd-teaser-media",
|
|
7186
7186
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\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_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **expandable** - An optional expandable slot, <strong>not</strong> shown on small devices.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--sd-teaser-media--white--hover-color-background** - The background color for white teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--white-color-background** - The default background color for white teaser media. _(default: undefined)_\n- **--sd-teaser-media--neutral-100--hover-color-background** - The background color for neutral‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--neutral-100-color-background** - The default background color for neutral‑100 teaser media. _(default: undefined)_\n- **--sd-teaser-media--primary-100--hover-color-background** - The background color for primary‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--primary-100-color-background** - The default background color for primary‑100 teaser media. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **expandable** - The container that wraps the expandable.\n- **main** - The container that wraps the main content.\n- **toggle** - The button that toggles the expandable content.",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.IQPMMUES.js";import{a}from"./chunk.3XPSGHFS.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.DX2U3PRB.js";import{b as d,e as s}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-6-
|
|
2
|
-
:host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],e([o("[part=base]")],t.prototype,"tab",2),e([o("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:String,reflect:!0})],t.prototype,"panel",2),e([n("active")],t.prototype,"handleActiveChange",1),e([n(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-6-
|
|
1
|
+
import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.IQPMMUES.js";import{a}from"./chunk.3XPSGHFS.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.DX2U3PRB.js";import{b as d,e as s}from"./chunk.UOAG5PNU.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-6-16-1-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative choice-control-font-weight","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:sd-6-16-1-tab--hover-color-background",this.active&&"z-20 sd-6-16-1-tab--active-color-text")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":this.active?"sd-6-16-1-tab--active-color-text":"sd-6-16-1-tab-color-text")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":this.active?"sd-6-16-1-tab--active-color-text":"sd-6-16-1-tab-color-text")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b sd-6-16-1-tab-color-border")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
+
:host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:rgba(var(--sd-color-border-neutral-400))}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:rgba(var(--sd-color-border-neutral-400));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],e([o("[part=base]")],t.prototype,"tab",2),e([o("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:String,reflect:!0})],t.prototype,"panel",2),e([n("active")],t.prototype,"handleActiveChange",1),e([n(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-6-16-1-tab")],t);export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as p}from"./chunk.SLXPE3UU.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.3XPSGHFS.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as a,h as r}from"./chunk.DX2U3PRB.js";import{b as c,e as o}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return o`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-6-
|
|
2
|
-
:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--sd-color-border-error,var(--sd-color-error));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-
|
|
1
|
+
import{a as p}from"./chunk.SLXPE3UU.js";import{a as b}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.3XPSGHFS.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,c as u,d as a,h as r}from"./chunk.DX2U3PRB.js";import{b as c,e as o}from"./chunk.UOAG5PNU.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasSlotController=new b(this,"[default]","icon");this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(e){if(this.disabled||this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false")}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){let e=this.hasSlotController.test("[default]"),l=this.hasSlotController.test("icon"),m=`${this.size}-${e?"label":"no-label"}`;return o`<div part="base" role="presentation" class="relative"><button part="${`button${this.checked?" button--checked":""}`}" role="radio" aria-checked="${this.checked}" class="${n("relative text-center sd-6-16-1-radio-button-border-radius transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline choice-control-font-weight",this.size==="sm"?"text-sm":"text-base",this.checked&&!this.disabled&&!this.visuallyDisabled?"sd-6-16-1-button--primary--default-color-background sd-6-16-1-button--primary--default-color-text hover:sd-6-16-1-button--primary--hover-color-background hover:text-primary-100":!this.checked&&(this.disabled||this.visuallyDisabled)?"text-neutral-500 hover:cursor-not-allowed":this.checked&&(this.disabled||this.visuallyDisabled)?"bg-neutral-400 text-white hover:cursor-not-allowed ":"bg-transparent sd-6-16-1-radio-button-color-text border-primary cursor-pointer hover:sd-6-16-1-radio-button--hover-color-background hover:sd-6-16-1-radio-button--hover-color-text",e&&{sm:"px-3",md:"px-4",lg:"px-5"}[this.size],this.hasFocus&&"focused-class",e&&"button--has-label",l&&"button--has-icon flex gap-2",m)}" aria-disabled="${this.disabled||this.visuallyDisabled}" type="button" value="${p(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${n(l&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!l}"></slot>${e?o`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:calc(var(--sd-spacing-1) * 0);z-index:calc(10 * -1);opacity:var(--sd-opacity-0);outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--sd-color-border-error,var(--sd-color-error));--tw-outline-style:dotted;outline-style:dotted}.lg-label{height:46px}.lg-no-label{height:46px;padding-inline:calc(var(--sd-spacing-1) * 5)}.md-label{height:38px}.md-no-label{height:38px;padding-inline:var(--sd-spacing-4)}.sm-label{height:30px}.sm-no-label{height:30px;padding-inline:var(--sd-spacing-3)}:host([size=lg].sd-6-16-1-button-group__button:not(.sd-6-16-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-3) * -1)}:host([size=md].sd-6-16-1-button-group__button:not(.sd-6-16-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-2) * -1)}:host([size=sm].sd-6-16-1-button-group__button:not(.sd-6-16-1-button-group__button--first)){margin-inline-start:calc(var(--sd-spacing-1) * -1)}:host(.sd-6-16-1-button-group__button--hover){z-index:20}:host(.sd-6-16-1-button-group__button--focus),:host(.sd-6-16-1-button-group__button[checked]){z-index:10}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],s([a(".button")],t.prototype,"input",2),s([a(".hidden-input")],t.prototype,"hiddenInput",2),s([u()],t.prototype,"hasFocus",2),s([i({type:String,reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),s([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),s([i({type:Boolean,reflect:!0})],t.prototype,"checked",2),s([i()],t.prototype,"value",2),s([h(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=s([d("sd-6-16-1-radio-button")],t);export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as h}from"./chunk.JY3DTFPL.js";import{a as s}from"./chunk.SLXPE3UU.js";import{a as o}from"./chunk.B2NUKX6G.js";import{a,b as p}from"./chunk.SV6DES3E.js";import{a as e}from"./chunk.3XPSGHFS.js";import{a as d,b as m,h as c}from"./chunk.DX2U3PRB.js";import{b as l}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.expandable=!1}render(){let i=this.expandable?a`details`:a`div`,n=this.expandable?a`summary`:a`div`;return p`<${i} part="base" class="sm:p-6"><${n} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"sd-6-
|
|
2
|
-
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=icon]{font-size:var(--sd-spacing-12,3rem);color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],r([m({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=r([d("sd-6-
|
|
1
|
+
import{a as h}from"./chunk.JY3DTFPL.js";import{a as s}from"./chunk.SLXPE3UU.js";import{a as o}from"./chunk.B2NUKX6G.js";import{a,b as p}from"./chunk.SV6DES3E.js";import{a as e}from"./chunk.3XPSGHFS.js";import{a as d,b as m,h as c}from"./chunk.DX2U3PRB.js";import{b as l}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.expandable=!1}render(){let i=this.expandable?a`details`:a`div`,n=this.expandable?a`summary`:a`div`;return p`<${i} part="base" class="sm:p-6"><${n} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"sd-6-16-1-quickfact--expandable-color-text":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-6-16-1-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-16-1-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-6-16-1-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-6-16-1-icon></slot></span></${n}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${i}>`}};t.styles=[...c.styles,l`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=icon]{font-size:var(--sd-spacing-12,3rem);color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],r([m({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=r([d("sd-6-16-1-quickfact")],t);o("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});o("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.SLXPE3UU.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as c}from"./chunk.3XPSGHFS.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.DX2U3PRB.js";import{b as m,e as d}from"./chunk.UOAG5PNU.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-6-
|
|
2
|
-
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-
|
|
1
|
+
import{a as T}from"./chunk.MHWW3RZB.js";import{c as b}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.SLXPE3UU.js";import{a as y}from"./chunk.IQPMMUES.js";import{a as c}from"./chunk.3XPSGHFS.js";import{a as g,b as w,c as v,d as h,h as u}from"./chunk.DX2U3PRB.js";import{b as m,e as d}from"./chunk.UOAG5PNU.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-6-16-1-tab"),customElements.whenDefined("sd-6-16-1-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-6-16-1-tab"?e:e.querySelector("sd-6-16-1-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-6-16-1-tab":e.tagName.toLowerCase()==="sd-6-16-1-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-6-16-1-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-6-16-1-tab");(e==null?void 0:e.closest("sd-6-16-1-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-6-16-1-tab");if((e==null?void 0:e.closest("sd-6-16-1-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-6-16-1-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-6-16-1-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-16-1-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-6-16-1-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-16-1-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.2.1 | 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:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-16-1-tab-panel){--padding:1rem 0}::slotted(sd-6-16-1-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(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-6-16-1-tab-group")],a);export{a};
|