@solid-design-system/components 6.15.0 → 6.15.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.3TJM745S.js → chunk.UCL7PTZ5.js} +1 -1
- package/cdn/chunks/chunk.UIPLDTDG.js +12 -0
- 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.d.ts +3 -0
- 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 +1 -1
- package/cdn/solid-components.bundle.js +29 -29
- package/cdn/solid-components.iife.js +25 -25
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/web-types.json +1 -1
- 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.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.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.3TJM745S.js → chunk.UCL7PTZ5.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.UIPLDTDG.js +12 -0
- 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-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 +4 -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 +246 -246
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +83 -83
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +83 -83
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +107 -107
- package/cdn-versioned/web-types.json +157 -157
- package/dist/chunks/{chunk.4MX2FLFI.js → chunk.FIJX3VUF.js} +45 -11
- package/dist/chunks/{chunk.M6QWSNU3.js → chunk.XWRZKAAC.js} +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion-group/accordion-group.js +1 -1
- package/dist/components/audio/audio.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/carousel/carousel.d.ts +3 -0
- package/dist/components/carousel/carousel.js +2 -2
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/datepicker/datepicker.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/expandable/expandable.js +1 -1
- package/dist/components/flipcard/flipcard.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/navigation-item/navigation-item.js +1 -1
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/optgroup/optgroup.js +1 -1
- package/dist/components/quickfact/quickfact.js +1 -1
- package/dist/components/range/range.js +1 -1
- package/dist/components/range-tick/range-tick.js +1 -1
- package/dist/components/scrollable/scrollable.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-group/tab-group.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/video/video.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/utilities/localize.js +1 -1
- package/dist/web-types.json +1 -1
- 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.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.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.4MX2FLFI.js → chunk.FIJX3VUF.js} +55 -21
- 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.M6QWSNU3.js → chunk.XWRZKAAC.js} +1 -1
- 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 +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +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/audio/audio.js +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/breadcrumb.js +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +4 -1
- package/dist-versioned/components/carousel/carousel.js +2 -2
- 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 +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +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/drawer/drawer.js +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +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/loader/loader.js +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/menu.js +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/navigation-item/navigation-item.js +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +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/range.js +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +1 -1
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +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/tab.js +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +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/tag/tag.js +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/tooltip/tooltip.js +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +1 -1
- package/dist-versioned/custom-elements.json +246 -246
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +2 -2
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/localize.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +107 -107
- package/dist-versioned/web-types.json +157 -157
- package/package.json +2 -2
- package/cdn/chunks/chunk.2ZTXIUMD.js +0 -12
- package/cdn-versioned/chunks/chunk.2ZTXIUMD.js +0 -12
|
@@ -58,9 +58,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
58
58
|
this.activeSlide = 0;
|
|
59
59
|
this.currentPage = 1;
|
|
60
60
|
this.pausedAutoplay = false;
|
|
61
|
-
this.
|
|
61
|
+
this.isFocused = false;
|
|
62
|
+
this.autoplayController = new AutoplayController(this, () => {
|
|
63
|
+
if (!this.isFocused) this.next();
|
|
64
|
+
});
|
|
62
65
|
this.scrollController = new ScrollController(this);
|
|
63
|
-
this.slides = this.getElementsByTagName("sd-6-15-
|
|
66
|
+
this.slides = this.getElementsByTagName("sd-6-15-1-carousel-item");
|
|
64
67
|
// determines which slide is displayed
|
|
65
68
|
// A map containing the state of all the slides
|
|
66
69
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -90,6 +93,9 @@ var SdCarousel = class extends SolidElement {
|
|
|
90
93
|
connectedCallback() {
|
|
91
94
|
super.connectedCallback();
|
|
92
95
|
["click", "keydown"].forEach((event) => this.addEventListener(event, this.handleUserInteraction));
|
|
96
|
+
this.addEventListener("focusin", this.handleFocus);
|
|
97
|
+
this.addEventListener("focusout", this.handleBlur);
|
|
98
|
+
this.addEventListener("keydown", this.handleKeyDown);
|
|
93
99
|
const intersectionObserver = new IntersectionObserver(
|
|
94
100
|
(entries) => {
|
|
95
101
|
entries.forEach((entry) => {
|
|
@@ -115,6 +121,9 @@ var SdCarousel = class extends SolidElement {
|
|
|
115
121
|
this.intersectionObserver.disconnect();
|
|
116
122
|
this.mutationObserver.disconnect();
|
|
117
123
|
["click", "keydown"].forEach((event) => this.removeEventListener(event, this.handleUserInteraction));
|
|
124
|
+
this.removeEventListener("focusin", this.handleFocus);
|
|
125
|
+
this.removeEventListener("focusout", this.handleBlur);
|
|
126
|
+
this.removeEventListener("keydown", this.handleKeyDown);
|
|
118
127
|
if (this.fade) {
|
|
119
128
|
this.fadeController.disable();
|
|
120
129
|
}
|
|
@@ -206,14 +215,26 @@ var SdCarousel = class extends SolidElement {
|
|
|
206
215
|
}
|
|
207
216
|
}
|
|
208
217
|
handleFocus() {
|
|
209
|
-
|
|
210
|
-
this.scrollContainer.setAttribute("aria-live", "polite");
|
|
211
|
-
}
|
|
218
|
+
this.isFocused = true;
|
|
212
219
|
}
|
|
213
220
|
handleBlur() {
|
|
214
|
-
|
|
215
|
-
|
|
221
|
+
this.isFocused = false;
|
|
222
|
+
}
|
|
223
|
+
getSlideText(slide) {
|
|
224
|
+
var _a;
|
|
225
|
+
const parts = [];
|
|
226
|
+
const walker = document.createTreeWalker(slide, NodeFilter.SHOW_ALL);
|
|
227
|
+
let node = walker.nextNode();
|
|
228
|
+
while (node) {
|
|
229
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
230
|
+
const text = (_a = node.textContent) == null ? void 0 : _a.trim();
|
|
231
|
+
if (text) parts.push(text);
|
|
232
|
+
} else if (node instanceof HTMLImageElement && node.alt) {
|
|
233
|
+
parts.push(node.alt);
|
|
234
|
+
}
|
|
235
|
+
node = walker.nextNode();
|
|
216
236
|
}
|
|
237
|
+
return parts.join(" ");
|
|
217
238
|
}
|
|
218
239
|
/**
|
|
219
240
|
* Pause the autoplay.
|
|
@@ -303,6 +324,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
303
324
|
slide: slides[this.activeSlide]
|
|
304
325
|
}
|
|
305
326
|
});
|
|
327
|
+
if (this.announcementRegion) {
|
|
328
|
+
const text = this.getSlideText(slides[this.activeSlide]);
|
|
329
|
+
const position = this.localize.term("slideNum", this.activeSlide + 1, slides.length);
|
|
330
|
+
requestAnimationFrame(() => {
|
|
331
|
+
this.announcementRegion.textContent = text ? `${text} ${position}` : position;
|
|
332
|
+
});
|
|
333
|
+
}
|
|
306
334
|
}
|
|
307
335
|
const pageCount = this.getPageCount(slides.length, this.slidesPerPage, this.slidesPerMove);
|
|
308
336
|
if (this.currentPage > pageCount) {
|
|
@@ -435,21 +463,21 @@ var SdCarousel = class extends SolidElement {
|
|
|
435
463
|
const prevEnabled = this.loop || currentPage > 1;
|
|
436
464
|
const nextEnabled = this.loop || currentPage < pagesCount;
|
|
437
465
|
const isLtr = this.localize.dir() === "ltr";
|
|
438
|
-
return html`<div part="base" class="${cx(`carousel h-full w-full`)}"><div id="scroll-container" part="scroll-container" class="${cx(
|
|
466
|
+
return html`<div part="base" class="${cx(`carousel h-full w-full`)}"><div class="carousel__announcement sr-only" aria-live="${!this.autoplay || this.pausedAutoplay || this.isFocused ? "polite" : "off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${cx(
|
|
439
467
|
`carousel__slides mb-6 max-h-full w-full items-center justify-items-center`,
|
|
440
468
|
this.inverted ? "focus-visible:focus-outline-inverted" : "focus-visible:focus-outline",
|
|
441
469
|
this.fade ? "relative overflow-hidden" : `grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden`
|
|
442
470
|
)}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${scrollController.scrolling ? "true" : "false"}" aria-label="${this.localize.term(
|
|
443
471
|
"carouselContainer",
|
|
444
472
|
Array.from(this.slides).filter((el) => !el.hasAttribute("data-clone")).length
|
|
445
|
-
)}"
|
|
473
|
+
)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${cx("w-full flex items-center justify-center relative")}"><div part="navigation" class="${cx("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!prevEnabled ? true : false}" class="${cx(
|
|
446
474
|
"!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",
|
|
447
475
|
!prevEnabled && "sd-interactive--disabled",
|
|
448
476
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset"
|
|
449
|
-
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @
|
|
477
|
+
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
450
478
|
this.previous();
|
|
451
479
|
this.unblockAutoplay(e, this.previousButton);
|
|
452
|
-
} : null}"><slot name="previous-icon"><sd-6-15-
|
|
480
|
+
} : null}"><slot name="previous-icon"><sd-6-15-1-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-6-15-1-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
453
481
|
const isActive = index + 1 === currentPage;
|
|
454
482
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
455
483
|
"carousel__pagination-item",
|
|
@@ -459,23 +487,23 @@ var SdCarousel = class extends SolidElement {
|
|
|
459
487
|
)}" role="tab" tabindex="0" aria-selected="${isActive ? "true" : "false"}" aria-label="${this.localize.term("goToSlide", index + 1, pagesCount)}" @click="${(e) => {
|
|
460
488
|
this.goToSlide(index * slidesPerMove);
|
|
461
489
|
this.unblockAutoplay(e, this.paginationItems[index]);
|
|
462
|
-
}}"
|
|
463
|
-
"h-4 w-4 block border sd-6-15-
|
|
464
|
-
this.inverted ? "sd-6-15-
|
|
490
|
+
}}"><span class="${cx(
|
|
491
|
+
"h-4 w-4 block border sd-6-15-1-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",
|
|
492
|
+
this.inverted ? "sd-6-15-1-carousel__pager-dot--inverted-border hover:border-primary-200" : "border-primary hover:border-primary-500",
|
|
465
493
|
isActive && "border-none",
|
|
466
|
-
isActive ? this.inverted ? "sd-6-15-
|
|
494
|
+
isActive ? this.inverted ? "sd-6-15-1-carousel__pager-dot--inverted-background hover:sd-6-15-1-carousel__pager-dot--inverted--hovered-background" : "sd-6-15-1-carousel__pager-dot-background hover:bg-accent-550" : ""
|
|
467
495
|
)}"></span></button>`;
|
|
468
496
|
})}</div>` : html`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${cx(
|
|
469
497
|
"w-5 text-center border-b-2",
|
|
470
|
-
this.inverted ? "text-white sd-6-15-
|
|
498
|
+
this.inverted ? "text-white sd-6-15-1-carousel--active--inverted-color-border" : "text-black sd-6-15-1-carousel--active-color-border"
|
|
471
499
|
)}">${currentPage}</span> <span part="pagination-divider" class="${cx("scale-y-[1.5]", "text-center", this.inverted ? "text-white" : "text-black")}">/</span> <span part="pagination-item" class="${cx("w-5 text-center", this.inverted ? "text-white" : "text-black")}">${pagesCount}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!nextEnabled ? true : false}" class="${cx(
|
|
472
500
|
"!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",
|
|
473
501
|
!nextEnabled && "sd-interactive--disabled",
|
|
474
502
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset"
|
|
475
|
-
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @
|
|
503
|
+
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
476
504
|
this.next();
|
|
477
505
|
this.unblockAutoplay(e, this.nextButton);
|
|
478
|
-
} : null}"><slot name="next-icon"><sd-6-15-
|
|
506
|
+
} : null}"><slot name="next-icon"><sd-6-15-1-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-6-15-1-icon></slot></button></div><button class="${cx(
|
|
479
507
|
"ml-6 !rounded-sm",
|
|
480
508
|
"!absolute !right-0 sd-interactive",
|
|
481
509
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -485,13 +513,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
485
513
|
if (e.detail) {
|
|
486
514
|
this.autoplayControls.blur();
|
|
487
515
|
}
|
|
488
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-15-
|
|
516
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-6-15-1-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-6-15-1-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-6-15-1-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-6-15-1-icon></slot></button></div></div>`;
|
|
489
517
|
}
|
|
490
518
|
};
|
|
491
519
|
SdCarousel.styles = [
|
|
492
520
|
...SolidElement.styles,
|
|
493
521
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
494
|
-
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-6-15-
|
|
522
|
+
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-6-15-1-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}#carousel__navigation-button--next,#carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-primary))}#carousel__navigation-button--next:disabled,#carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-500))}:host([inverted]) #carousel__navigation-button--next,:host([inverted]) #carousel__navigation-button--previous{color:rgba(var(--sd-color-icon-fill-white))}:host([inverted]) #carousel__navigation-button--next:disabled,:host([inverted]) #carousel__navigation-button--previous:disabled{color:rgba(var(--sd-color-icon-fill-neutral-600))}`
|
|
495
523
|
];
|
|
496
524
|
__decorateClass([
|
|
497
525
|
query('[part~="autoplay-controls"]')
|
|
@@ -535,6 +563,9 @@ __decorateClass([
|
|
|
535
563
|
__decorateClass([
|
|
536
564
|
query(".carousel__pagination")
|
|
537
565
|
], SdCarousel.prototype, "paginationContainer", 2);
|
|
566
|
+
__decorateClass([
|
|
567
|
+
query(".carousel__announcement")
|
|
568
|
+
], SdCarousel.prototype, "announcementRegion", 2);
|
|
538
569
|
__decorateClass([
|
|
539
570
|
state()
|
|
540
571
|
], SdCarousel.prototype, "activeSlide", 2);
|
|
@@ -544,6 +575,9 @@ __decorateClass([
|
|
|
544
575
|
__decorateClass([
|
|
545
576
|
state()
|
|
546
577
|
], SdCarousel.prototype, "pausedAutoplay", 2);
|
|
578
|
+
__decorateClass([
|
|
579
|
+
state()
|
|
580
|
+
], SdCarousel.prototype, "isFocused", 2);
|
|
547
581
|
__decorateClass([
|
|
548
582
|
watch("pausedAutoplay")
|
|
549
583
|
], SdCarousel.prototype, "handlePausedAutoplay", 1);
|
|
@@ -564,7 +598,7 @@ __decorateClass([
|
|
|
564
598
|
watch("autoplay")
|
|
565
599
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
566
600
|
SdCarousel = __decorateClass([
|
|
567
|
-
customElement("sd-6-15-
|
|
601
|
+
customElement("sd-6-15-1-carousel")
|
|
568
602
|
], SdCarousel);
|
|
569
603
|
|
|
570
604
|
export {
|
|
@@ -414,14 +414,14 @@ var SdInput = class extends SolidElement {
|
|
|
414
414
|
!isFloatingLabelActive || !hasValue && (this.readonly || this.visuallyDisabled) ? textSize : "text-xs",
|
|
415
415
|
(this.visuallyDisabled || this.disabled) && "text-neutral-500",
|
|
416
416
|
isFloatingLabelActive && !this.visuallyDisabled && !this.disabled && "form-control--filled__floating-label-color-text"
|
|
417
|
-
)}">${this.label}</span></label>` : null} ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-15-
|
|
417
|
+
)}">${this.label}</span></label>` : null} ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-15-1-icon class="${cx(
|
|
418
418
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-neutral-700",
|
|
419
419
|
iconSize
|
|
420
|
-
)}" library="_internal" name="closing-round"></sd-6-15-
|
|
420
|
+
)}" library="_internal" name="closing-round"></sd-6-15-1-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx(
|
|
421
421
|
"flex items-center sd-interactive",
|
|
422
422
|
iconMarginLeft,
|
|
423
423
|
this.floatingLabel && !isFloatingLabelActive && "hide-password-toggle"
|
|
424
|
-
)}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${() => this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-6-15-
|
|
424
|
+
)}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${() => this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-6-15-1-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-6-15-1-icon></slot>` : html`<slot name="hide-password-icon"><sd-6-15-1-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-6-15-1-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-6-15-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-6-15-1-icon>` : ""} ${this.type === "time" ? html`<sd-6-15-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-6-15-1-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-6-15-1-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-15-1-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-6-15-1-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-6-15-1-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-6-15-1-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-15-1-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${() => this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-6-15-1-icon library="_internal" name="minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-6-15-1-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-6-15-1-icon library="_internal" name="plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-6-15-1-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText && !this.showInvalidStyle ? "block" : "hidden")}" aria-hidden="${!hasHelpText || this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
/**
|
|
@@ -430,7 +430,7 @@ var SdInput = class extends SolidElement {
|
|
|
430
430
|
SdInput.styles = [
|
|
431
431
|
...SolidElement.styles,
|
|
432
432
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
433
|
-
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-6-15-
|
|
433
|
+
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-6-15-1-icon{color:rgba(var(--sd-color-text-neutral-500))}.hide-password-toggle{display:none}.has-floating-label input[type=date]:not(.has-value),.has-floating-label input[type=datetime-local]:not(.has-value),.has-floating-label input[type=time]:not(.has-value){color:transparent}.has-floating-label input[type=date]:focus,.has-floating-label input[type=datetime-local]:focus,.has-floating-label input[type=time]:focus{color:inherit}.icon-color{color:rgb(var(--sd-color-icon-fill-primary))}`
|
|
434
434
|
];
|
|
435
435
|
__decorateClass([
|
|
436
436
|
query("#input")
|
|
@@ -569,7 +569,7 @@ __decorateClass([
|
|
|
569
569
|
watch(["size", "floatingLabel"])
|
|
570
570
|
], SdInput.prototype, "handleSizeChange", 1);
|
|
571
571
|
SdInput = __decorateClass([
|
|
572
|
-
customElement("sd-6-15-
|
|
572
|
+
customElement("sd-6-15-1-input")
|
|
573
573
|
], SdInput);
|
|
574
574
|
|
|
575
575
|
export {
|
|
@@ -102,18 +102,18 @@ var SdMenuItem = class extends SolidElement {
|
|
|
102
102
|
};
|
|
103
103
|
return html`<div id="anchor" part="base" class="${cx(
|
|
104
104
|
"relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",
|
|
105
|
-
this.disabled ? "outline-none cursor-not-allowed sd-6-15-
|
|
105
|
+
this.disabled ? "outline-none cursor-not-allowed sd-6-15-1-menu--disabled-color-text hover:bg-transparent" : "cursor-pointer sd-6-15-1-menu-color-text hover:bg-neutral-200",
|
|
106
106
|
this.isSubmenu() && isSubmenuExpanded && "submenu-expanded"
|
|
107
107
|
)}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${isSubmenuExpanded ? true : false}">${this.type === "checkbox" ? html`<span part="checked-icon" class="${cx(
|
|
108
108
|
"flex items-center justify-center grow-0 shrink-0 basis-auto",
|
|
109
109
|
this.checked ? "visible" : "invisible"
|
|
110
|
-
)}"><sd-6-15-
|
|
110
|
+
)}"><sd-6-15-1-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-6-15-1-icon></span>` : ""} ${slots.iconIndent ? html`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>` : ""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron || this.isSubmenu() ? html`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-6-15-1-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-6-15-1-icon></span>` : ""} ${this.submenuController.renderSubmenu()}</div>`;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
SdMenuItem.styles = [
|
|
114
114
|
...SolidElement.styles,
|
|
115
115
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
116
|
-
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-15-
|
|
116
|
+
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-6-15-1-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary));outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary));outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}//TODO clean up sd-6-15-1-menu-color-icon variable replacing with sd-6-15-1-menu-item-color-icon-fill (breakingchange) :host [part=icon-indent],:host [part=checked-icon],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon,var(--sd-menu-item-color-icon-fill)))}//TODO clean up sd-6-15-1-menu--disabled-color-icon variable replacing with sd-6-15-1-menu-item--disabled-color-icon-fill (breakingchange) :host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon,var(--sd-menu-item--disabled-color-icon-fill)))}sd-6-15-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-6-15-1-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}.sd-6-15-1-menu-color-text{color:rgba(var(--sd-menu-color-text,var(--sd-menu-item-color-text)))}.sd-6-15-1-menu--disabled-color-text{color:rgba(var(--sd-menu--disabled-color-text,var(--sd-menu-item--disabled-color-text)))}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`
|
|
117
117
|
];
|
|
118
118
|
__decorateClass([
|
|
119
119
|
query("slot:not([name])")
|
|
@@ -146,7 +146,7 @@ __decorateClass([
|
|
|
146
146
|
watch("type")
|
|
147
147
|
], SdMenuItem.prototype, "handleTypeChange", 1);
|
|
148
148
|
SdMenuItem = __decorateClass([
|
|
149
|
-
customElement("sd-6-15-
|
|
149
|
+
customElement("sd-6-15-1-menu-item")
|
|
150
150
|
], SdMenuItem);
|
|
151
151
|
|
|
152
152
|
export {
|
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-6-15-
|
|
13
|
+
const popup = document.createElement("sd-6-15-1-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -23,7 +23,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
25
|
const styles = css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
26
|
-
sd-6-15-
|
|
26
|
+
sd-6-15-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:rgba(var(--sd-color-border-primary));background-color:rgba(var(--sd-color-background-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-6-15-1-popup li{transition-property:all;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))}sd-6-15-1-popup li:hover:not([disabled]){background-color:rgba(var(--sd-color-background-neutral-100))}sd-6-15-1-popup li{list-style-type:''}sd-6-15-1-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-6-15-1-popup li:not(:has(sd-6-15-1-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:rgba(var(--sd-color-text-black))}sd-6-15-1-popup li:not(:has(sd-6-15-1-option)):hover{background-color:rgba(var(--sd-color-background-neutral-200))}sd-6-15-1-popup li[aria-selected=true]{background-color:rgba(var(--sd-color-background-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`;
|
|
27
27
|
const styleSheet = new CSSStyleSheet();
|
|
28
28
|
styleSheet.replaceSync(styles);
|
|
29
29
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -36,13 +36,13 @@ sd-6-15-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:s
|
|
|
36
36
|
}
|
|
37
37
|
input.addEventListener("open", () => {
|
|
38
38
|
var _a, _b, _c, _d, _e, _f;
|
|
39
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-15-
|
|
39
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-15-1-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
40
40
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
41
41
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
42
42
|
});
|
|
43
43
|
input.addEventListener("close", () => {
|
|
44
44
|
var _a, _b, _c, _d, _e, _f;
|
|
45
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-15-
|
|
45
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-15-1-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
46
46
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
47
47
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
48
48
|
});
|
|
@@ -53,7 +53,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
53
53
|
}
|
|
54
54
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
55
55
|
const element = node;
|
|
56
|
-
return element.tagName.toLowerCase() === "sd-6-15-
|
|
56
|
+
return element.tagName.toLowerCase() === "sd-6-15-1-icon";
|
|
57
57
|
}
|
|
58
58
|
return false;
|
|
59
59
|
});
|
|
@@ -126,8 +126,8 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
126
126
|
const root = html`<${tag} part="base" class="${cx(
|
|
127
127
|
"flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",
|
|
128
128
|
{ md: "navigable-font-size", lg: "text-lg", sm: "text-[14px]" }[this.size],
|
|
129
|
-
this.disabled ? "text-neutral-500 pointer-events-none" : "sd-6-15-
|
|
130
|
-
this.current && "font-bold sd-6-15-
|
|
129
|
+
this.disabled ? "text-neutral-500 pointer-events-none" : "sd-6-15-1-navigation-item-color-text",
|
|
130
|
+
this.current && "font-bold sd-6-15-1-navigation-item--current-color-text",
|
|
131
131
|
!isAccordion && "w-full",
|
|
132
132
|
this.divider && this.vertical && "mt-0.25",
|
|
133
133
|
!this.vertical && "inline-flex items-center",
|
|
@@ -143,19 +143,19 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
143
143
|
slots["description"] && "pt-3",
|
|
144
144
|
!slots["description"] && !this.separated && horizontalPadding,
|
|
145
145
|
this.calculatePaddingX
|
|
146
|
-
)}">${this.divider && this.vertical ? html`<sd-6-15-
|
|
146
|
+
)}">${this.divider && this.vertical ? html`<sd-6-15-1-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-6-15-1-divider>` : ""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron || slots["children"] && this.vertical && !this.separated ? html`<sd-6-15-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
147
147
|
"h-6 w-6 ml-2 transition-all",
|
|
148
148
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
149
|
-
)}"></sd-6-15-
|
|
149
|
+
)}"></sd-6-15-1-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot id="description" name="description" part="description" class="${cx(
|
|
150
150
|
"inline-block text-sm text-left font-normal text-black pb-3",
|
|
151
151
|
isAccordion || this.separated ? "grow" : "w-full",
|
|
152
152
|
this.calculatePaddingX
|
|
153
153
|
)}"></slot>` : ""}</div></${tag}>`;
|
|
154
154
|
if (this.separated) {
|
|
155
|
-
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-15-
|
|
155
|
+
return html`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${root} ${slots["children"] && this.vertical ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-6-15-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
156
156
|
"m-4 h-6 w-6 transition-all",
|
|
157
157
|
isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
158
|
-
)}"></sd-6-15-
|
|
158
|
+
)}"></sd-6-15-1-icon></button>` : ""}</div>${this.open ? html`<slot name="children"></slot>` : ""}</div>`;
|
|
159
159
|
}
|
|
160
160
|
if (isAccordion) {
|
|
161
161
|
return html`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${root}<slot name="children"></slot></details>`;
|
|
@@ -169,7 +169,7 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
169
169
|
SdNavigationItem.styles = [
|
|
170
170
|
...SolidElement.styles,
|
|
171
171
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
172
|
-
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}.sd-6-15-
|
|
172
|
+
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}.sd-6-15-1-navigation-item--current-color-text{color:rgb(var(--sd-navigation-item--current-color-text,var(--sd-navigation-item-color-text)))}details summary::-webkit-details-marker{display:none}[part=current-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,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top 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([current]) [part=current-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,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@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}@property --tw-duration{syntax:"*";inherits:false}`
|
|
173
173
|
];
|
|
174
174
|
__decorateClass([
|
|
175
175
|
query('[part="base"]')
|
|
@@ -217,7 +217,7 @@ __decorateClass([
|
|
|
217
217
|
property({ type: Boolean, reflect: true })
|
|
218
218
|
], SdNavigationItem.prototype, "separated", 2);
|
|
219
219
|
SdNavigationItem = __decorateClass([
|
|
220
|
-
customElement("sd-6-15-
|
|
220
|
+
customElement("sd-6-15-1-navigation-item")
|
|
221
221
|
], SdNavigationItem);
|
|
222
222
|
|
|
223
223
|
export {
|
|
@@ -48,7 +48,7 @@ var SubmenuController = class {
|
|
|
48
48
|
if (event.target === this.host) {
|
|
49
49
|
event.preventDefault();
|
|
50
50
|
event.stopPropagation();
|
|
51
|
-
} else if (event.target instanceof Element && (event.target.tagName === "sd-6-15-
|
|
51
|
+
} else if (event.target instanceof Element && (event.target.tagName === "sd-6-15-1-menu-item" || ((_a = event.target.role) == null ? void 0 : _a.startsWith("menuitem")))) {
|
|
52
52
|
const type = event.target.getAttribute("type");
|
|
53
53
|
if (type !== "checkbox") {
|
|
54
54
|
this.disableSubmenu();
|
|
@@ -69,7 +69,7 @@ var SubmenuController = class {
|
|
|
69
69
|
// Set the safe triangle values for the submenu when the position changes
|
|
70
70
|
this.handlePopupReposition = () => {
|
|
71
71
|
const submenuSlot = this.host.renderRoot.querySelector("slot[name='submenu']");
|
|
72
|
-
const menu = submenuSlot == null ? void 0 : submenuSlot.assignedElements({ flatten: true }).filter((el) => el.localName === "sd-6-15-
|
|
72
|
+
const menu = submenuSlot == null ? void 0 : submenuSlot.assignedElements({ flatten: true }).filter((el) => el.localName === "sd-6-15-1-menu")[0];
|
|
73
73
|
const isRtl = getComputedStyle(this.host).direction === "rtl";
|
|
74
74
|
if (!menu) {
|
|
75
75
|
return;
|
|
@@ -141,7 +141,7 @@ var SubmenuController = class {
|
|
|
141
141
|
}
|
|
142
142
|
let menuItems = null;
|
|
143
143
|
for (const elt of submenuSlot.assignedElements()) {
|
|
144
|
-
menuItems = elt.querySelectorAll("sd-6-15-
|
|
144
|
+
menuItems = elt.querySelectorAll("sd-6-15-1-menu-item, [role^='menuitem']");
|
|
145
145
|
if (menuItems.length !== 0) {
|
|
146
146
|
break;
|
|
147
147
|
}
|
|
@@ -220,7 +220,7 @@ var SubmenuController = class {
|
|
|
220
220
|
if (!this.isConnected) {
|
|
221
221
|
return html`<slot name="submenu" hidden></slot>`;
|
|
222
222
|
}
|
|
223
|
-
return html`<sd-6-15-
|
|
223
|
+
return html`<sd-6-15-1-popup ${ref(this.popupRef)} placement="${isRtl ? "left-start" : "right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-6-15-1-popup>`;
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
|
|
@@ -22,9 +22,9 @@ var SdBadge = class extends SolidElement {
|
|
|
22
22
|
"inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",
|
|
23
23
|
{
|
|
24
24
|
/* variants */
|
|
25
|
-
blue: !this.inverted ? "text-white sd-6-15-
|
|
26
|
-
green: !this.inverted ? "text-white sd-6-15-
|
|
27
|
-
red: !this.inverted ? "text-white sd-6-15-
|
|
25
|
+
blue: !this.inverted ? "text-white sd-6-15-1-badge--blue-color-background border-white" : "sd-6-15-1-badge--blue--inverted-color-text sd-6-15-1-badge--blue--inverted-color-background sd-6-15-1-badge--inverted-color-border",
|
|
26
|
+
green: !this.inverted ? "text-white sd-6-15-1-badge--green-color-background border-white" : "sd-6-15-1-badge--green-color--inverted-text sd-6-15-1-badge--green-color--inverted-background sd-6-15-1-badge--inverted-color-border",
|
|
27
|
+
red: !this.inverted ? "text-white sd-6-15-1-badge--red-color-background border-white" : "sd-6-15-1-badge--red--inverted-text sd-6-15-1-badge--red--inverted-background sd-6-15-1-badge--inverted-color-border"
|
|
28
28
|
}[this.variant]
|
|
29
29
|
)}"><span id="content" part="content" class="${cx(this.size === "sm" && "sr-only")}"><slot></slot></span></span>`;
|
|
30
30
|
}
|
|
@@ -44,7 +44,7 @@ __decorateClass([
|
|
|
44
44
|
property({ type: Boolean, reflect: true })
|
|
45
45
|
], SdBadge.prototype, "inverted", 2);
|
|
46
46
|
SdBadge = __decorateClass([
|
|
47
|
-
customElement("sd-6-15-
|
|
47
|
+
customElement("sd-6-15-1-badge")
|
|
48
48
|
], SdBadge);
|
|
49
49
|
|
|
50
50
|
export {
|
|
@@ -54,7 +54,7 @@ var SdHeader = class extends SolidElement {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return html`<header class="w-full sd-6-15-
|
|
57
|
+
return html`<header class="w-full sd-6-15-1-header-color-background sd-6-15-1-header-padding-bottom relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
SdHeader.styles = [
|
|
@@ -72,7 +72,7 @@ __decorateClass([
|
|
|
72
72
|
debounce(100)
|
|
73
73
|
], SdHeader.prototype, "updateCalculatedHeight", 1);
|
|
74
74
|
SdHeader = __decorateClass([
|
|
75
|
-
customElement("sd-6-15-
|
|
75
|
+
customElement("sd-6-15-1-header")
|
|
76
76
|
], SdHeader);
|
|
77
77
|
|
|
78
78
|
export {
|
|
@@ -24,7 +24,7 @@ var SdTab = class extends SolidElement {
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments);
|
|
26
26
|
this.attrId = ++id;
|
|
27
|
-
this.componentId = `sd-6-15-
|
|
27
|
+
this.componentId = `sd-6-15-1-tab-${this.attrId}`;
|
|
28
28
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
29
29
|
this.localize = new LocalizeController(this);
|
|
30
30
|
this.variant = "default";
|
|
@@ -62,20 +62,20 @@ var SdTab = class extends SolidElement {
|
|
|
62
62
|
"outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",
|
|
63
63
|
this.variant === "container" ? "tab-container-border bg-white rounded-[4px_4px_0_0]" : "navigable-border-radius",
|
|
64
64
|
this.variant === "container" && this.active && "tab--active-container-border bg-white",
|
|
65
|
-
this.disabled || this.visuallyDisabled ? "!cursor-not-allowed" : "hover:sd-6-15-
|
|
66
|
-
this.active && "z-20 sd-6-15-
|
|
65
|
+
this.disabled || this.visuallyDisabled ? "!cursor-not-allowed" : "hover:sd-6-15-1-tab--hover-color-background",
|
|
66
|
+
this.active && "z-20 sd-6-15-1-tab--active-color-text"
|
|
67
67
|
)}" tabindex="${!this.active || this.disabled ? "-1" : "0"}"><div class="${cx(
|
|
68
68
|
"flex h-full items-center justify-center whitespace-nowrap",
|
|
69
69
|
this.disabled || this.visuallyDisabled && "opacity-50 "
|
|
70
70
|
)}"><slot name="left" class="${cx(
|
|
71
71
|
slots.left && "block pr-2",
|
|
72
|
-
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.active ? "sd-6-15-
|
|
72
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.active ? "sd-6-15-1-tab--active-color-text" : "sd-6-15-1-tab-color-text"
|
|
73
73
|
)}"></slot><slot class="${cx(
|
|
74
|
-
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.active ? "sd-6-15-
|
|
74
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.active ? "sd-6-15-1-tab--active-color-text" : "sd-6-15-1-tab-color-text"
|
|
75
75
|
)}"></slot>${this.variant === "container" ? html`<div part="active-tab-indicator" class="${cx(
|
|
76
76
|
"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"
|
|
77
77
|
)}"></div>` : ""}<div part="hover-bottom-border" class="${cx(
|
|
78
|
-
!this.active && !this.disabled && "absolute bottom-0 left-0 w-full h-0.25 border-b sd-6-15-
|
|
78
|
+
!this.active && !this.disabled && "absolute bottom-0 left-0 w-full h-0.25 border-b sd-6-15-1-tab-color-border"
|
|
79
79
|
)}"></div></div></div>`;
|
|
80
80
|
}
|
|
81
81
|
};
|
|
@@ -112,7 +112,7 @@ __decorateClass([
|
|
|
112
112
|
watch(["disabled", "visually-disabled"])
|
|
113
113
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
114
114
|
SdTab = __decorateClass([
|
|
115
|
-
customElement("sd-6-15-
|
|
115
|
+
customElement("sd-6-15-1-tab")
|
|
116
116
|
], SdTab);
|
|
117
117
|
|
|
118
118
|
export {
|