@nldd/design-system 0.29.0 → 0.29.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/custom-elements.json +1672 -514
- package/dist/assets/styles/shadow-resets.d.ts +7 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +17 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +123 -123
- package/dist/cdn/chunks/{accordion-Eyvvbt4L.js → accordion-BIgPiBgT.js} +3 -2
- package/dist/cdn/chunks/{accordion-item-tTwSzJIR.js → accordion-item-YHiK4fhb.js} +1 -1
- package/dist/cdn/chunks/{activity-indicator-DPQNZQDO.js → activity-indicator-BiuU--e6.js} +21 -29
- package/dist/cdn/chunks/{admonition-BRmILQsf.js → admonition-CpxxWW6f.js} +1 -1
- package/dist/cdn/chunks/{avatar-D3gM-JHI.js → avatar-DeeEjbzl.js} +38 -37
- package/dist/cdn/chunks/{avatar-group-B_d8PyyP.js → avatar-group-Ey17PhOt.js} +11 -11
- package/dist/cdn/chunks/{badge-Bh665MoY.js → badge-B0K1AVec.js} +2 -2
- package/dist/cdn/chunks/{banner-DChycHh5.js → banner-YQpzU7Yz.js} +6 -9
- package/dist/cdn/chunks/{bar-split-view-DakaOexc.js → bar-split-view-DNWrGLv3.js} +3 -3
- package/dist/cdn/chunks/{blockquote-BqBNTgop.js → blockquote-zBgtNbdZ.js} +1 -1
- package/dist/cdn/chunks/{box-B3zUs9dD.js → box-CLEd1Y-1.js} +1 -1
- package/dist/cdn/chunks/{breadcrumbs-CNRmh93a.js → breadcrumbs-DCwiSLxQ.js} +6 -9
- package/dist/cdn/chunks/{button-3oNu2JqC.js → button-DpSJe6ns.js} +81 -88
- package/dist/cdn/chunks/{card-BVW0oCKu.js → card-xq9jqLek.js} +18 -17
- package/dist/cdn/chunks/{cell-C2vZmYOL.js → cell-CNGu9Srs.js} +1 -1
- package/dist/cdn/chunks/{checkbox-LCfb8_rn.js → checkbox-DJU2ntYs.js} +1 -0
- package/dist/cdn/chunks/{checkbox-field-BeIbKEWd.js → checkbox-field-36mh4uD-.js} +2 -2
- package/dist/cdn/chunks/{checkbox-group-DezaH0Mb.js → checkbox-group-CaoyYQC1.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BP9eNQVl.js → code-editor-CqHXUdbC.js} +2 -1
- package/dist/cdn/chunks/{code-viewer-DJ3TJWD_.js → code-viewer-ro55V04o.js} +41 -57
- package/dist/cdn/chunks/{collection-CTa6APvK.js → collection-DVED8Kff.js} +8 -10
- package/dist/cdn/chunks/{combo-box-BcUXaJuO.js → combo-box-CMdGMQ8q.js} +8 -10
- package/dist/cdn/chunks/{date-field-3AJMYQ6k.js → date-field-KrAEvvJg.js} +66 -69
- package/dist/cdn/chunks/{date-picker-Ho8Mkvcv.js → date-picker-CeyTd4Mj.js} +131 -125
- package/dist/cdn/chunks/{description-cell-DnyCIOZd.js → description-cell-DDjPf92m.js} +1 -1
- package/dist/cdn/chunks/{document-tab-bar-CqjLOpKx.js → document-tab-bar-BlP7NEb9.js} +54 -62
- package/dist/cdn/chunks/{dropdown-DHlIJDc9.js → dropdown-DpCdMFod.js} +1 -1
- package/dist/cdn/chunks/{file-field-B-R605PQ.js → file-field-CYjsw4xy.js} +105 -112
- package/dist/cdn/chunks/{form-field-CiWFS40A.js → form-field-CuTa78j4.js} +5 -8
- package/dist/cdn/chunks/{full-bleed-section-Q4drn-q0.js → full-bleed-section-enjghRsm.js} +1 -1
- package/dist/cdn/chunks/{hero-CiPeHBJi.js → hero-AHBPM3ks.js} +12 -12
- package/dist/cdn/chunks/{icon-button-CCiDTx3_.js → icon-button-CkNgX7Ra.js} +5 -5
- package/dist/cdn/chunks/{identity-xlk5m8S9.js → identity-CnYwgyF7.js} +3 -3
- package/dist/cdn/chunks/{image--hemIqn_.js → image--K2M19ce.js} +47 -55
- package/dist/cdn/chunks/{inline-dialog-TetcCCuR.js → inline-dialog-CfiC1tbk.js} +2 -2
- package/dist/cdn/chunks/{just-in-time-education-B5veXLNI.js → just-in-time-education-Dxca2LqF.js} +22 -30
- package/dist/cdn/chunks/{kanban-D_rUckwT.js → kanban-Dwb93dgS.js} +3 -3
- package/dist/cdn/chunks/{kanban-column-DXhOQ64A.js → kanban-column-Br4GovWU.js} +26 -31
- package/dist/cdn/chunks/{keyboard-shortcut-CtLlBcQg.js → keyboard-shortcut-a-CkABX1.js} +66 -71
- package/dist/cdn/chunks/{layout-pass-Cq85kSHX.js → layout-pass-B2ALRYc9.js} +14 -4
- package/dist/cdn/chunks/{link-ChRCGtWP.js → link-CROYAF4K.js} +34 -41
- package/dist/cdn/chunks/{list-Bfh3X6o8.js → list-D_BWUBh4.js} +38 -48
- package/dist/cdn/chunks/{list-item-BcEWw55r.js → list-item-DeFrncLo.js} +114 -125
- package/dist/cdn/chunks/{list-item-segment-ChGSqurx.js → list-item-segment-C1X5v2_Z.js} +33 -40
- package/dist/cdn/chunks/{menu-Dj1cdu5O.js → menu-CkMJUE0H.js} +10 -13
- package/dist/cdn/chunks/{menu-bar-DCkLwYES.js → menu-bar-B3F-QjLV.js} +5 -5
- package/dist/cdn/chunks/{menu-bar-item-eLhyoBaG.js → menu-bar-item-CyixR7Fi.js} +30 -38
- package/dist/cdn/chunks/{menu-divider-BUNkdRG6.js → menu-divider-uBPiSPsv.js} +1 -1
- package/dist/cdn/chunks/{menu-group-rgTyUCIY.js → menu-group-BXS5r-lc.js} +2 -2
- package/dist/cdn/chunks/{menu-item-CttLz526.js → menu-item-CORxUt3u.js} +2 -2
- package/dist/cdn/chunks/{menu.template-D6Y2bQao.js → menu.template-NyA_JtUm.js} +37 -53
- package/dist/cdn/chunks/{modal-dialog-CUb8QrtP.js → modal-dialog-Dt5uenA0.js} +2 -2
- package/dist/cdn/chunks/{multi-line-text-field-Db8a2YIL.js → multi-line-text-field-CkCvyJov.js} +2 -1
- package/dist/cdn/chunks/{navigation-split-view-D8ATWcAf.js → navigation-split-view-Clp3Camr.js} +3 -3
- package/dist/cdn/chunks/{notification-DHvaRREb.js → notification-B36JO2cS.js} +4 -4
- package/dist/cdn/chunks/{number-field-C_rgYWIM.js → number-field-Cjrwd3G0.js} +26 -19
- package/dist/cdn/chunks/{one-half-one-half-section-DFYjUF3h.js → one-half-one-half-section-Bc4rFjtM.js} +1 -1
- package/dist/cdn/chunks/{one-third-two-thirds-section-DovKfHkM.js → one-third-two-thirds-section-DikIdU3X.js} +1 -1
- package/dist/cdn/chunks/{one-time-code-field-BBg30doG.js → one-time-code-field-CqNmLld4.js} +3 -2
- package/dist/cdn/chunks/{overflow-menu-CAIY3hk-.js → overflow-menu-6tdlRjhY.js} +1 -1
- package/dist/cdn/chunks/{page-DpcervFE.js → page-CpdGz0K6.js} +11 -11
- package/dist/cdn/chunks/{page-footer-B0JJvSf7.js → page-footer-_W5dGcQt.js} +6 -9
- package/dist/cdn/chunks/{page-section-mixin-B98EwIts.js → page-section-mixin-DSdHIkwR.js} +1 -1
- package/dist/cdn/chunks/{pagination-D1o7xN9-.js → pagination-DJqmp7nt.js} +6 -9
- package/dist/cdn/chunks/{password-field-CWneSaEV.js → password-field-JKBHK_MQ.js} +7 -9
- package/dist/cdn/chunks/picker-popover-controller-dE7AINjc.js +15 -0
- package/dist/cdn/chunks/{popover-Bm7Kc6Ep.js → popover-LljgfgHS.js} +5 -8
- package/dist/cdn/chunks/{progress-bar-3eU3rFW6.js → progress-bar-fILD82bn.js} +6 -9
- package/dist/cdn/chunks/{progress-circle-CHMKX8uz.js → progress-circle-72YbT9v1.js} +6 -9
- package/dist/cdn/chunks/{radio-button-field-CsJ0DMrB.js → radio-button-field-CG2ljZ-j.js} +1 -1
- package/dist/cdn/chunks/{radio-button-group-CdDmgzn3.js → radio-button-group-DgQHIiXR.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-M_xNSghw.js → reorder-handle-cell-Bc0LM08A.js} +4 -7
- package/dist/cdn/chunks/{rich-text-B8ANpryO.js → rich-text-BZ6J0VNi.js} +4 -7
- package/dist/cdn/chunks/sanitize-url-EEu5iGkI.js +7 -0
- package/dist/cdn/chunks/{scroll-mode-controller-CuCRKyLT.js → scroll-mode-controller-DlKGaDhM.js} +1 -1
- package/dist/cdn/chunks/{search-field-1zFx-owG.js → search-field-BaPPorsw.js} +9 -11
- package/dist/cdn/chunks/{segmented-control-CRRWCyFW.js → segmented-control-CY7eFebV.js} +6 -7
- package/dist/cdn/chunks/{shadow-resets-B6C3rG8q.js → shadow-resets-kAFcguCG.js} +11 -1
- package/dist/cdn/chunks/{sheet-ChPeBrfk.js → sheet-EvUuqzd5.js} +1 -1
- package/dist/cdn/chunks/{shell-DpKdCX0m.js → shell-ZiZriusi.js} +2 -2
- package/dist/cdn/chunks/{side-by-side-split-view-BoJ6fcJg.js → side-by-side-split-view-qj871uv2.js} +3 -3
- package/dist/cdn/chunks/{sidebar-section-D1fyh0uU.js → sidebar-section-C2KLgpwu.js} +75 -75
- package/dist/cdn/chunks/{simple-section-CyDYDeg_.js → simple-section-CVQRynxS.js} +1 -1
- package/dist/cdn/chunks/{skip-link-Dzz1lV-5.js → skip-link-CpxEwJKH.js} +3 -3
- package/dist/cdn/chunks/{slider-K7ylsn0X.js → slider-DHY89yV6.js} +6 -8
- package/dist/cdn/chunks/{split-button-BYqftEp3.js → split-button-DGzX2W4w.js} +8 -11
- package/dist/cdn/chunks/{stacked-split-view-BG0kRfdn.js → stacked-split-view-CdXyXpzb.js} +3 -3
- package/dist/cdn/chunks/{status-bar-oyMa4uJG.js → status-bar-S5IvBhAD.js} +2 -2
- package/dist/cdn/chunks/{step-bar-CQd9nSub.js → step-bar-pkYf_gF8.js} +31 -41
- package/dist/cdn/chunks/{stepper-d-usvzY0.js → stepper-DIufBp3c.js} +5 -8
- package/dist/cdn/chunks/{swatch-picker-CDCUnY72.js → swatch-picker-uyMsXHeI.js} +3 -2
- package/dist/cdn/chunks/{switch-BMGaGKGr.js → switch-DQ3UDIy5.js} +1 -0
- package/dist/cdn/chunks/{switch-field-BaKICGGz.js → switch-field-BXH62I0E.js} +2 -2
- package/dist/cdn/chunks/{tab-bar-BFDYrnsi.js → tab-bar-B2m7RGKe.js} +60 -58
- package/dist/cdn/chunks/{table-DZx86t9S.js → table-Dtg4t_dM.js} +40 -43
- package/dist/cdn/chunks/{tag-BcfNqWxs.js → tag-BdB8MDQQ.js} +1 -1
- package/dist/cdn/chunks/{term-BgyQFHrz.js → term-DD2K8Qqb.js} +11 -14
- package/dist/cdn/chunks/{text-ChSJGujM.js → text-C8iP63bA.js} +1 -1
- package/dist/cdn/chunks/{text-cell-fnnbWR_Y.js → text-cell-1pWwBLLI.js} +1 -1
- package/dist/cdn/chunks/{text-editor-D9K1Z87u.js → text-editor-DjNky4l-.js} +605 -622
- package/dist/cdn/chunks/{text-field-DzNb872n.js → text-field-ClVrHYGz.js} +2 -1
- package/dist/cdn/chunks/{time-field-DiJhXcaX.js → time-field-CrwLpzZp.js} +42 -48
- package/dist/cdn/chunks/{time-picker-DZlD7fVz.js → time-picker-BYhEzGJL.js} +100 -95
- package/dist/cdn/chunks/{title-BUC_Asb4.js → title-DdqeERnM.js} +1 -1
- package/dist/cdn/chunks/{title-cell-jmBvTRwY.js → title-cell-C4U3rN33.js} +1 -1
- package/dist/cdn/chunks/{toggle-button-UssRHIiz.js → toggle-button-CknaEM8j.js} +70 -63
- package/dist/cdn/chunks/{toggle-button-group-Bj8Rjd93.js → toggle-button-group-CxyhERqD.js} +1 -1
- package/dist/cdn/chunks/{token-DTjIKIJl.js → token-I0vH42iy.js} +6 -9
- package/dist/cdn/chunks/{token-field-CEtnrqKT.js → token-field-B1sAqN0B.js} +9 -11
- package/dist/cdn/chunks/{toolbar-CvinP7R9.js → toolbar-DRIyU8-Z.js} +46 -52
- package/dist/cdn/chunks/{toolbar-item-CiCs-MqI.js → toolbar-item-D1JDaFal.js} +1 -1
- package/dist/cdn/chunks/{toolbar-title-YdFqO0Xq.js → toolbar-title-D7CCOmDz.js} +5 -8
- package/dist/cdn/chunks/{toolbar.styles-DO1jDSfb.js → toolbar.styles-CXjPigMk.js} +8 -16
- package/dist/cdn/chunks/{tooltip-CGSe6rYu.js → tooltip-5clp5S3T.js} +2 -2
- package/dist/cdn/chunks/{top-navigation-bar-akJzlepM.js → top-navigation-bar-CEuIAOoy.js} +14 -14
- package/dist/cdn/chunks/{top-title-bar-CuU2kYrc.js → top-title-bar-M3NiRgr_.js} +4 -4
- package/dist/cdn/chunks/{two-thirds-one-third-section-BE40gzfe.js → two-thirds-one-third-section-BJGAw7Mq.js} +1 -1
- package/dist/cdn/chunks/{validation-list-B_VwBQD0.js → validation-list-CTb7X_Gq.js} +4 -7
- package/dist/cdn/chunks/{window-CJybFUUG.js → window-BmxrtW9P.js} +5 -8
- package/dist/cdn/chunks/with-translations-DSfo7eL-.js +28 -0
- package/dist/components/actions/button/button.d.ts +6 -9
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +2 -10
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +6 -9
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +5 -8
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +9 -9
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +2 -15
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +3 -19
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -4
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +2 -10
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +2 -9
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +15 -25
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +2 -10
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion.styles.js +1 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +5 -8
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +2 -1
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +5 -8
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +13 -5
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +2 -10
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +3 -16
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/image/image.d.ts +9 -9
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +9 -17
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +2 -7
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -7
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +4 -4
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +2 -9
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +6 -5
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +2 -10
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/token/token.d.ts +7 -4
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +2 -9
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +5 -6
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +2 -11
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +12 -4
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +2 -9
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +1 -0
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +1 -0
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +7 -4
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +2 -10
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +26 -5
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -21
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +128 -62
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +19 -1
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +3 -8
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +75 -5
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +2 -10
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +3 -7
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +13 -6
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +13 -14
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +10 -4
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +3 -2
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +11 -5
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +2 -10
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +7 -5
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -11
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +3 -3
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +3 -4
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +7 -5
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +2 -10
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +1 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +9 -5
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -11
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +20 -23
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -0
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +16 -10
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -15
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +5 -19
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +16 -5
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +5 -18
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +18 -4
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +15 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +7 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +11 -2
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +1 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +0 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -10
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -12
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +13 -4
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +2 -9
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +1 -0
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +6 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +2 -1
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +7 -4
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +2 -10
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +1 -0
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +9 -12
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.js +2 -7
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +5 -5
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +11 -11
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +5 -4
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +2 -12
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +7 -7
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +13 -13
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +4 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -10
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +25 -22
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +5 -8
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +2 -14
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +5 -8
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +2 -14
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +3 -5
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -11
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +13 -5
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +2 -11
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +2 -9
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +6 -9
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +4 -14
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -10
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +6 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +2 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +5 -4
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +15 -21
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -4
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -12
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +2 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +6 -9
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +2 -10
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +2 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -6
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +2 -10
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +9 -4
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -9
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +4 -7
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -6
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +25 -17
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +8 -11
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +5 -4
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -7
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -6
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +5 -5
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -10
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +4 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +2 -10
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +4 -7
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +5 -0
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +8 -5
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +2 -10
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +8 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +2 -9
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +8 -11
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +3 -13
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/nldd.min.js +960 -1081
- package/dist/types/react.d.ts +46 -40
- package/dist/types/vue.d.ts +56 -48
- package/dist/utilities/layout-pass.d.ts +3 -1
- package/dist/utilities/layout-pass.d.ts.map +1 -1
- package/dist/utilities/layout-pass.js +26 -3
- package/dist/utilities/layout-pass.js.map +1 -1
- package/dist/utilities/picker-popover-controller.d.ts +25 -0
- package/dist/utilities/picker-popover-controller.d.ts.map +1 -0
- package/dist/utilities/picker-popover-controller.js +33 -0
- package/dist/utilities/picker-popover-controller.js.map +1 -0
- package/dist/utilities/sanitize-url.d.ts +11 -5
- package/dist/utilities/sanitize-url.d.ts.map +1 -1
- package/dist/utilities/sanitize-url.js +13 -9
- package/dist/utilities/sanitize-url.js.map +1 -1
- package/dist/utilities/with-translations.d.ts +14 -9
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +6 -5
- package/dist/utilities/with-translations.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +1 -1
- package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +0 -7
- package/dist/cdn/chunks/translations-tgPL1Hx3.js +0 -14
- package/dist/cdn/chunks/with-translations-CZaQOZ9L.js +0 -16
|
@@ -3,14 +3,14 @@ import { c as i, n as a, r as o, s } from "./custom-element-7tLnKgZE.js";
|
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as d } from "./with-translations-
|
|
6
|
+
import { t as d } from "./with-translations-DSfo7eL-.js";
|
|
7
7
|
import { t as f } from "./step-bar.i18n-DipTJYgp.js";
|
|
8
8
|
import { n as p, r as m, t as h } from "./breakpoints-Cwor8TRP.js";
|
|
9
|
-
import {
|
|
10
|
-
import { o as
|
|
9
|
+
import { o as g, t as _ } from "./shadow-resets-kAFcguCG.js";
|
|
10
|
+
import { o as v } from "./text-wrap-DJ9PcwZ4.js";
|
|
11
11
|
import "./icon-C_xeQP4j.js";
|
|
12
12
|
// src/components/status-and-feedback/step-bar/step-bar.styles.ts
|
|
13
|
-
var
|
|
13
|
+
var y = i(p.smMax), b = 7.5, x = [
|
|
14
14
|
6,
|
|
15
15
|
7,
|
|
16
16
|
8,
|
|
@@ -18,16 +18,11 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
18
18
|
10,
|
|
19
19
|
11,
|
|
20
20
|
12
|
|
21
|
-
],
|
|
21
|
+
], S = (e, t) => s`
|
|
22
22
|
${i(e)} .step-bar__items {
|
|
23
23
|
/* Stays in the DOM for assistive tech. Standard visually-hidden recipe. */
|
|
24
24
|
@container (max-width: ${t}) {
|
|
25
|
-
|
|
26
|
-
width: 1px;
|
|
27
|
-
height: 1px;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
clip-path: inset(50%);
|
|
30
|
-
white-space: nowrap;
|
|
25
|
+
${g}
|
|
31
26
|
}
|
|
32
27
|
}
|
|
33
28
|
|
|
@@ -37,7 +32,7 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
37
32
|
display: flex;
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
|
-
`,
|
|
35
|
+
`, C = s`
|
|
41
36
|
:host {
|
|
42
37
|
box-sizing: border-box;
|
|
43
38
|
}
|
|
@@ -78,7 +73,7 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
78
73
|
--_step-bar-control-ring-z-index: 1;
|
|
79
74
|
--_step-bar-control-hover-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
|
|
80
75
|
|
|
81
|
-
${
|
|
76
|
+
${_}
|
|
82
77
|
isolation: isolate;
|
|
83
78
|
display: block;
|
|
84
79
|
container-type: inline-size;
|
|
@@ -106,7 +101,7 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
106
101
|
|
|
107
102
|
.step-bar__compact-title {
|
|
108
103
|
min-width: 0;
|
|
109
|
-
${
|
|
104
|
+
${v}
|
|
110
105
|
text-wrap: pretty;
|
|
111
106
|
}
|
|
112
107
|
|
|
@@ -139,15 +134,15 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
139
134
|
|
|
140
135
|
/* ## Compact */
|
|
141
136
|
|
|
142
|
-
${
|
|
143
|
-
${i(
|
|
144
|
-
`,
|
|
137
|
+
${S(":host", y)}
|
|
138
|
+
${i(x.map((e) => S(`:host([data-steps="${e}"])`, i(`${e * b}rem`)).cssText).join("\n"))}
|
|
139
|
+
`, w = s`
|
|
145
140
|
:host {
|
|
146
141
|
box-sizing: border-box;
|
|
147
142
|
}
|
|
148
143
|
|
|
149
144
|
:host {
|
|
150
|
-
${
|
|
145
|
+
${_}
|
|
151
146
|
display: block;
|
|
152
147
|
flex: 1;
|
|
153
148
|
min-width: 0;
|
|
@@ -251,7 +246,7 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
251
246
|
color: var(--_step-bar-title-color);
|
|
252
247
|
max-width: 100%;
|
|
253
248
|
font: var(--primitives-font-body-sm-regular-flat);
|
|
254
|
-
${
|
|
249
|
+
${v}
|
|
255
250
|
text-wrap: balance;
|
|
256
251
|
}
|
|
257
252
|
|
|
@@ -262,12 +257,7 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
262
257
|
|
|
263
258
|
/* Standard visually-hidden recipe. */
|
|
264
259
|
.step-bar__item-status {
|
|
265
|
-
|
|
266
|
-
width: 1px;
|
|
267
|
-
height: 1px;
|
|
268
|
-
overflow: hidden;
|
|
269
|
-
clip-path: inset(50%);
|
|
270
|
-
white-space: nowrap;
|
|
260
|
+
${g}
|
|
271
261
|
}
|
|
272
262
|
|
|
273
263
|
.step-bar__item-control {
|
|
@@ -336,7 +326,7 @@ var v = i(p.smMax), y = 7.5, b = [
|
|
|
336
326
|
}
|
|
337
327
|
`;
|
|
338
328
|
// src/components/status-and-feedback/step-bar/step-bar.template.ts
|
|
339
|
-
function
|
|
329
|
+
function T(e) {
|
|
340
330
|
let r = e.accessibleLabel || e._t("components.step-bar.accessible-label"), i = e.resolvedCurrent, a = e.total, o = e.currentItem?.text ?? "", s = i ? e._t("components.step-bar.compact-text", {
|
|
341
331
|
current: i,
|
|
342
332
|
total: a
|
|
@@ -370,7 +360,7 @@ function w(e) {
|
|
|
370
360
|
</nav>
|
|
371
361
|
`;
|
|
372
362
|
}
|
|
373
|
-
function
|
|
363
|
+
function E(e) {
|
|
374
364
|
let r = e.resolvedStatus, i = e.icon ? t`<nldd-icon class="step-bar__item-icon" icon=${e.icon}></nldd-icon>` : r === "past" ? t`<nldd-icon class="step-bar__item-icon" icon="check-mark"></nldd-icon>` : t`<span class="step-bar__item-number">${e._index}</span>`, a = t`
|
|
375
365
|
<span class="step-bar__item-marker"
|
|
376
366
|
aria-hidden="true"
|
|
@@ -397,7 +387,7 @@ function T(e) {
|
|
|
397
387
|
`;
|
|
398
388
|
}
|
|
399
389
|
// src/components/status-and-feedback/step-bar/step-bar.ts
|
|
400
|
-
var
|
|
390
|
+
var D, O, k = class extends e {
|
|
401
391
|
constructor(...e) {
|
|
402
392
|
super(...e), this._textSlot = new l(this), this.text = "", this.icon = "", this.button = !1, this.href = "", this._derivedStatus = "future", this._index = 1, this._statusText = "", this._compact = !1;
|
|
403
393
|
}
|
|
@@ -411,23 +401,23 @@ var E, D, O = class extends e {
|
|
|
411
401
|
(e.has("status") || e.has("_derivedStatus")) && (this.resolvedStatus === "current" ? this.setAttribute("aria-current", "step") : this.removeAttribute("aria-current"));
|
|
412
402
|
}
|
|
413
403
|
render() {
|
|
414
|
-
return
|
|
404
|
+
return E(this);
|
|
415
405
|
}
|
|
416
406
|
};
|
|
417
|
-
|
|
407
|
+
D = k, D.styles = w, r([o({
|
|
418
408
|
type: String,
|
|
419
409
|
reflect: !0
|
|
420
|
-
})],
|
|
410
|
+
})], k.prototype, "status", void 0), r([o({
|
|
421
411
|
reflect: !0,
|
|
422
412
|
converter: u("")
|
|
423
|
-
})],
|
|
413
|
+
})], k.prototype, "text", void 0), r([o({ type: String })], k.prototype, "icon", void 0), r([o({
|
|
424
414
|
type: Boolean,
|
|
425
415
|
reflect: !0
|
|
426
|
-
})],
|
|
416
|
+
})], k.prototype, "button", void 0), r([o({
|
|
427
417
|
reflect: !0,
|
|
428
418
|
converter: u("")
|
|
429
|
-
})],
|
|
430
|
-
var
|
|
419
|
+
})], k.prototype, "href", void 0), r([a()], k.prototype, "_derivedStatus", void 0), r([a()], k.prototype, "_index", void 0), r([a()], k.prototype, "_statusText", void 0), r([a()], k.prototype, "_compact", void 0), customElements.get("nldd-step-bar-item") || customElements.define("nldd-step-bar-item", k);
|
|
420
|
+
var A = (O = class extends d(e, f) {
|
|
431
421
|
constructor(...e) {
|
|
432
422
|
super(...e), this.accessibleLabel = "", this._items = [], this._observer = new MutationObserver(() => this.requestUpdate()), this._compact = !1, this._width = 0, this._resizeObserver = new ResizeObserver(([e]) => {
|
|
433
423
|
this._width = e.contentRect.width;
|
|
@@ -446,7 +436,7 @@ var k = (D = class extends d(e, f) {
|
|
|
446
436
|
return this._items.find((e) => e.resolvedStatus === "current");
|
|
447
437
|
}
|
|
448
438
|
get _thresholdCount() {
|
|
449
|
-
return this.total <
|
|
439
|
+
return this.total < x[0] ? null : Math.min(this.total, x[x.length - 1]);
|
|
450
440
|
}
|
|
451
441
|
connectedCallback() {
|
|
452
442
|
super.connectedCallback(), this._observer.observe(this, {
|
|
@@ -462,7 +452,7 @@ var k = (D = class extends d(e, f) {
|
|
|
462
452
|
super.willUpdate(e);
|
|
463
453
|
let t = this._thresholdCount;
|
|
464
454
|
t === null ? this.removeAttribute("data-steps") : this.setAttribute("data-steps", String(t));
|
|
465
|
-
let n = Math.max(h("smMax"), (t ?? 0) *
|
|
455
|
+
let n = Math.max(h("smMax"), (t ?? 0) * b * m());
|
|
466
456
|
this._compact = this._width > 0 && this._width <= n, this._syncItems();
|
|
467
457
|
}
|
|
468
458
|
_syncItems() {
|
|
@@ -473,11 +463,11 @@ var k = (D = class extends d(e, f) {
|
|
|
473
463
|
});
|
|
474
464
|
}
|
|
475
465
|
render() {
|
|
476
|
-
return
|
|
466
|
+
return T(this);
|
|
477
467
|
}
|
|
478
|
-
},
|
|
468
|
+
}, O.styles = C, O);
|
|
479
469
|
r([o({
|
|
480
470
|
type: String,
|
|
481
471
|
attribute: "accessible-label"
|
|
482
|
-
})],
|
|
483
|
-
export {
|
|
472
|
+
})], A.prototype, "accessibleLabel", void 0), r([a()], A.prototype, "_items", void 0), r([a()], A.prototype, "_width", void 0), A = r([c("nldd-step-bar")], A);
|
|
473
|
+
export { A as NLDDStepBar, k as NLDDStepBarItem };
|
|
@@ -3,11 +3,11 @@ import { r as i, s as a } from "./custom-element-7tLnKgZE.js";
|
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./form-associated-mixin-9cC5HSCG.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import "./icon-button-
|
|
6
|
+
import "./icon-button-CkNgX7Ra.js";
|
|
7
7
|
import { t as l } from "./stepper.i18n-COOAkaBl.js";
|
|
8
8
|
import "./icon-C_xeQP4j.js";
|
|
9
9
|
import { t as u } from "./described-by-mixin-DSeADwWP.js";
|
|
10
|
-
import { t as d } from "./translations-
|
|
10
|
+
import { t as d } from "./with-translations-DSfo7eL-.js";
|
|
11
11
|
import { t as f } from "./defer-focus-F73ud2D9.js";
|
|
12
12
|
// src/components/inputs/stepper/stepper.styles.ts
|
|
13
13
|
var p = a`
|
|
@@ -140,9 +140,9 @@ function m(e) {
|
|
|
140
140
|
`;
|
|
141
141
|
}
|
|
142
142
|
// src/components/inputs/stepper/stepper.ts
|
|
143
|
-
var h = class extends u(s(e)) {
|
|
143
|
+
var h = class extends u(s(d(e, l))) {
|
|
144
144
|
constructor(...e) {
|
|
145
|
-
super(...e), this.size = "md", this.accessibleLabel = "", this.invalid = !1, this.name = "", this.value = 0, this.min = 0, this.max = Infinity, this.step = 1, this.disabled = !1
|
|
145
|
+
super(...e), this.size = "md", this.accessibleLabel = "", this.invalid = !1, this.name = "", this.value = 0, this.min = 0, this.max = Infinity, this.step = 1, this.disabled = !1;
|
|
146
146
|
}
|
|
147
147
|
formValue() {
|
|
148
148
|
return String(this.value);
|
|
@@ -152,9 +152,6 @@ var h = class extends u(s(e)) {
|
|
|
152
152
|
let t = parseFloat(e);
|
|
153
153
|
isNaN(t) || (this.value = Math.max(this.min, Math.min(this.max, t)));
|
|
154
154
|
}
|
|
155
|
-
_t(e) {
|
|
156
|
-
return d(this.translations, l, e);
|
|
157
|
-
}
|
|
158
155
|
_decrement() {
|
|
159
156
|
if (this.disabled) return;
|
|
160
157
|
let e = Math.max(this.min, this.value - this.step);
|
|
@@ -209,5 +206,5 @@ r([i({
|
|
|
209
206
|
})], g.prototype, "name", void 0), r([i({ type: Number })], g.prototype, "value", void 0), r([i({ type: Number })], g.prototype, "min", void 0), r([i({ type: Number })], g.prototype, "max", void 0), r([i({ type: Number })], g.prototype, "step", void 0), r([i({
|
|
210
207
|
type: Boolean,
|
|
211
208
|
reflect: !0
|
|
212
|
-
})], g.prototype, "disabled", void 0),
|
|
209
|
+
})], g.prototype, "disabled", void 0), g = r([o("nldd-stepper")], g);
|
|
213
210
|
export { g as NLDDStepper };
|
|
@@ -9,8 +9,8 @@ import { t as p } from "./owned-attribute-x9OCTy_4.js";
|
|
|
9
9
|
import { t as m } from "./implicit-submission-Csbcor_E.js";
|
|
10
10
|
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
11
11
|
import { a as g } from "./element-state-D-J_cHEV.js";
|
|
12
|
-
import { t as _ } from "./with-translations-
|
|
13
|
-
import "./tooltip-
|
|
12
|
+
import { t as _ } from "./with-translations-DSfo7eL-.js";
|
|
13
|
+
import "./tooltip-5clp5S3T.js";
|
|
14
14
|
import { t as v } from "./swatch-picker.i18n-_G0nmnGe.js";
|
|
15
15
|
import "./icon-C_xeQP4j.js";
|
|
16
16
|
// src/components/inputs/swatch-picker/swatch-picker.styles.ts
|
|
@@ -24,6 +24,7 @@ var y = o`
|
|
|
24
24
|
|
|
25
25
|
box-sizing: border-box;
|
|
26
26
|
display: block;
|
|
27
|
+
isolation: isolate;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
:host([size="xs"]),
|
|
@@ -32,6 +32,7 @@ var f = o`
|
|
|
32
32
|
--_switch-is-selected-thumb-background-color: var(--semantics-controls-is-selected-mark-color);
|
|
33
33
|
|
|
34
34
|
display: inline-block;
|
|
35
|
+
isolation: isolate;
|
|
35
36
|
position: relative;
|
|
36
37
|
width: var(--_switch-track-width);
|
|
37
38
|
height: var(--_switch-track-height);
|
|
@@ -3,8 +3,8 @@ import { t as i } from "./reflect-non-default-Bu3rpCvg.js";
|
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { r as o, s } from "./custom-element-7tLnKgZE.js";
|
|
5
5
|
import { o as c } from "./text-wrap-DJ9PcwZ4.js";
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import "./switch-
|
|
6
|
+
import { t as l } from "./shadow-resets-kAFcguCG.js";
|
|
7
|
+
import "./switch-DQ3UDIy5.js";
|
|
8
8
|
import { t as u } from "./described-by-mixin-DSeADwWP.js";
|
|
9
9
|
import { n as d, t as f } from "./form-associated-mixin-9cC5HSCG.js";
|
|
10
10
|
import { t as p } from "./defer-focus-F73ud2D9.js";
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { n as e, o as t, r as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
2
2
|
import { n as i, r as a, s as o } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as u } from "./
|
|
7
|
-
import "./
|
|
4
|
+
import { n as c } from "./layout-pass-B2ALRYc9.js";
|
|
5
|
+
import { r as l } from "./element-state-D-J_cHEV.js";
|
|
6
|
+
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
+
import { t as d } from "./shadow-resets-kAFcguCG.js";
|
|
8
|
+
import "./tooltip-5clp5S3T.js";
|
|
8
9
|
import "./icon-C_xeQP4j.js";
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import "./icon-button-
|
|
15
|
-
import "./menu-
|
|
16
|
-
import { t as
|
|
10
|
+
import { t as f } from "./sanitize-url-EEu5iGkI.js";
|
|
11
|
+
import { t as p } from "./with-translations-DSfo7eL-.js";
|
|
12
|
+
import { t as m } from "./tab-bar.i18n-Crsc7ShA.js";
|
|
13
|
+
import { t as h } from "./after-parse-BSKUm67Q.js";
|
|
14
|
+
import { t as g } from "./frame-pass-C0RUoFMc.js";
|
|
15
|
+
import "./icon-button-CkNgX7Ra.js";
|
|
16
|
+
import "./menu-CkMJUE0H.js";
|
|
17
|
+
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
17
18
|
// src/components/navigation/tab-bar/tab-bar.styles.ts
|
|
18
|
-
var
|
|
19
|
+
var v = o`
|
|
19
20
|
:host {
|
|
20
21
|
box-sizing: border-box;
|
|
21
22
|
}
|
|
@@ -29,7 +30,7 @@ var _ = o`
|
|
|
29
30
|
--_tab-bar-current-z-index: 1;
|
|
30
31
|
--_tab-bar-focus-z-index: 2;
|
|
31
32
|
|
|
32
|
-
${
|
|
33
|
+
${d}
|
|
33
34
|
display: inline-block;
|
|
34
35
|
position: relative;
|
|
35
36
|
max-width: 100%;
|
|
@@ -167,7 +168,7 @@ var _ = o`
|
|
|
167
168
|
position: relative;
|
|
168
169
|
z-index: var(--_tab-bar-focus-z-index);
|
|
169
170
|
}
|
|
170
|
-
`,
|
|
171
|
+
`, y = o`
|
|
171
172
|
|
|
172
173
|
|
|
173
174
|
/* # Host */
|
|
@@ -184,7 +185,7 @@ var _ = o`
|
|
|
184
185
|
--_tab-bar-item-content-z-index: 1;
|
|
185
186
|
--_tab-bar-item-natural-width: 0;
|
|
186
187
|
|
|
187
|
-
${
|
|
188
|
+
${d}
|
|
188
189
|
display: inline-block;
|
|
189
190
|
position: relative;
|
|
190
191
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -366,7 +367,7 @@ var _ = o`
|
|
|
366
367
|
}
|
|
367
368
|
`;
|
|
368
369
|
// src/components/navigation/tab-bar/tab-bar.template.ts
|
|
369
|
-
function
|
|
370
|
+
function b(e) {
|
|
370
371
|
let r = e.accessibleLabel || "Tabs", i = e.navigation, a = t`
|
|
371
372
|
<div class="tab-bar__box">
|
|
372
373
|
<div class="tab-bar__items"
|
|
@@ -401,7 +402,7 @@ function y(e) {
|
|
|
401
402
|
<nldd-menu-item
|
|
402
403
|
text=${r.text}
|
|
403
404
|
icon=${r.icon || n}
|
|
404
|
-
href=${
|
|
405
|
+
href=${f(r.href) || n}
|
|
405
406
|
@select=${() => e._selectFromOverflow(r)}
|
|
406
407
|
>${r._slottedIcon?.cloneNode(!0) ?? n}</nldd-menu-item>
|
|
407
408
|
`)}
|
|
@@ -422,8 +423,8 @@ function y(e) {
|
|
|
422
423
|
</div>
|
|
423
424
|
`;
|
|
424
425
|
}
|
|
425
|
-
function
|
|
426
|
-
let r =
|
|
426
|
+
function x(e) {
|
|
427
|
+
let r = f(e.href), i = !!r, a = e._navigation, o = e._groupDisabled, s = o ? "-1" : e.current || e._isFallbackFocusable ? "0" : "-1", c = e._effectiveVariant === "icon", l = c && e.text || n, u = c || e._effectiveVariant === "icon-and-text", d = t`
|
|
427
428
|
<span class="tab-bar__item-icon"
|
|
428
429
|
aria-hidden="true"
|
|
429
430
|
>
|
|
@@ -443,7 +444,7 @@ function b(e) {
|
|
|
443
444
|
aria-label=${l}
|
|
444
445
|
tabindex=${s}
|
|
445
446
|
@click=${e._handleClick}
|
|
446
|
-
>${
|
|
447
|
+
>${d}</a>
|
|
447
448
|
` : t`
|
|
448
449
|
<button class="tab-bar__item"
|
|
449
450
|
type="button"
|
|
@@ -453,11 +454,11 @@ function b(e) {
|
|
|
453
454
|
aria-label=${l}
|
|
454
455
|
tabindex=${s}
|
|
455
456
|
@click=${e._handleClick}
|
|
456
|
-
>${
|
|
457
|
+
>${d}</button>
|
|
457
458
|
`, c && e.text ? t`<nldd-tooltip text=${e.text}>${p}</nldd-tooltip>` : p;
|
|
458
459
|
}
|
|
459
460
|
// src/components/navigation/tab-bar/tab-bar.ts
|
|
460
|
-
var
|
|
461
|
+
var S = class extends e {
|
|
461
462
|
constructor(...e) {
|
|
462
463
|
super(...e), this.size = "md", this.text = "", this._groupVariant = "", this._authorVariant = "", this.icon = "", this.controls = "", this.current = !1, this.controlsElement = null, this.href = "", this._hasIconSlot = !1, this._navigation = !1, this._isFallbackFocusable = !1, this._groupDisabled = !1, this._awaitingLoad = !1;
|
|
463
464
|
}
|
|
@@ -485,7 +486,7 @@ var x = class extends e {
|
|
|
485
486
|
return this.controls ? this.getRootNode().getElementById?.(this.controls) ?? null : null;
|
|
486
487
|
}
|
|
487
488
|
focus(e) {
|
|
488
|
-
|
|
489
|
+
_(this, e) || this.shadowRoot?.querySelector(".tab-bar__item")?.focus(e);
|
|
489
490
|
}
|
|
490
491
|
_onIconSlotChange(e) {
|
|
491
492
|
let t = e.target;
|
|
@@ -495,57 +496,58 @@ var x = class extends e {
|
|
|
495
496
|
return this.querySelector(":scope > [slot=\"icon\"]");
|
|
496
497
|
}
|
|
497
498
|
_handleClick(e) {
|
|
498
|
-
this._groupDisabled ? e.preventDefault() : (
|
|
499
|
+
this._groupDisabled ? e.preventDefault() : (f(this.href) || e.preventDefault(), this.dispatchEvent(new CustomEvent("select", {
|
|
499
500
|
bubbles: !0,
|
|
500
501
|
composed: !0,
|
|
501
502
|
detail: { item: this }
|
|
502
503
|
})));
|
|
503
504
|
}
|
|
504
505
|
render() {
|
|
505
|
-
return
|
|
506
|
+
return x(this);
|
|
506
507
|
}
|
|
507
|
-
},
|
|
508
|
+
}, C, w = (S.styles = y, S);
|
|
508
509
|
r([a({
|
|
509
510
|
reflect: !0,
|
|
510
|
-
converter:
|
|
511
|
-
})],
|
|
511
|
+
converter: u("md")
|
|
512
|
+
})], w.prototype, "size", void 0), r([a({
|
|
512
513
|
reflect: !0,
|
|
513
|
-
converter:
|
|
514
|
-
})],
|
|
514
|
+
converter: u("")
|
|
515
|
+
})], w.prototype, "text", void 0), r([a({ attribute: !1 })], w.prototype, "_groupVariant", void 0), r([a({
|
|
515
516
|
reflect: !0,
|
|
516
|
-
converter:
|
|
517
|
-
})],
|
|
517
|
+
converter: u("")
|
|
518
|
+
})], w.prototype, "icon", void 0), r([a({
|
|
518
519
|
reflect: !0,
|
|
519
|
-
converter:
|
|
520
|
-
})],
|
|
520
|
+
converter: u("")
|
|
521
|
+
})], w.prototype, "controls", void 0), r([a({
|
|
521
522
|
type: Boolean,
|
|
522
523
|
reflect: !0
|
|
523
|
-
})],
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
})], w.prototype, "current", void 0), r([a({ attribute: !1 })], w.prototype, "controlsElement", void 0), r([a({ type: String })], w.prototype, "href", void 0), r([i()], w.prototype, "_hasIconSlot", void 0), r([i()], w.prototype, "_navigation", void 0), r([i()], w.prototype, "_isFallbackFocusable", void 0), r([i()], w.prototype, "_groupDisabled", void 0), w = r([s("nldd-tab-bar-item")], w);
|
|
525
|
+
var T = new g((e) => E(e.filter((e) => e.isConnected)));
|
|
526
|
+
function E(e) {
|
|
526
527
|
e.forEach((e) => e._setMeasuring(!0));
|
|
527
528
|
let t = e.map((e) => e._readMeasurement());
|
|
528
529
|
e.forEach((e) => e._setMeasuring(!1)), e.forEach((e, n) => e._decideOverflow(t[n]));
|
|
529
530
|
}
|
|
530
|
-
var
|
|
531
|
+
var D = /* @__PURE__ */ new WeakMap(), O = null;
|
|
531
532
|
function k(e, t) {
|
|
532
|
-
O ?? (O =
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
533
|
+
O ?? (O = c((e, t) => {
|
|
534
|
+
let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
|
|
535
|
+
for (let i of e) for (let e of t(i)) {
|
|
536
|
+
if (r.has(e.target)) continue;
|
|
537
|
+
r.add(e.target);
|
|
538
|
+
let t = e.contentRect.width;
|
|
539
|
+
D.get(e.target) !== t && (D.set(e.target, t), n.add(e.target));
|
|
536
540
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
E.set(e, n), n.add(t), O.observe(e);
|
|
541
|
+
for (let r of e) t(r).some((e) => n.has(e.target)) && r._scheduleOverflow();
|
|
542
|
+
})), O.observe(e, t);
|
|
540
543
|
}
|
|
541
544
|
function A(e, t) {
|
|
542
|
-
|
|
543
|
-
n?.delete(t) && !n.size && (E.delete(e), D.delete(e), O?.unobserve(e));
|
|
545
|
+
D.delete(e), O?.unobserve(e, t);
|
|
544
546
|
}
|
|
545
|
-
var j = (
|
|
547
|
+
var j = (C = class extends p(e, m) {
|
|
546
548
|
constructor(...e) {
|
|
547
549
|
super(...e), this.variant = "", this.size = "md", this.centered = !1, this.navigation = !1, this.accessibleLabel = "", this.disabled = !1, this._hasCustomLabel = !1, this._overflowItems = [], this._menuItems = [], this._menuOpen = !1, this._itemObserver = null, this._sized = [], this._syncPending = !1, this._onlyCurrentChanged = !0, this._scheduleOverflow = (e = !0) => {
|
|
548
|
-
e && (this._onlyCurrentChanged = !1),
|
|
550
|
+
e && (this._onlyCurrentChanged = !1), T.schedule(this);
|
|
549
551
|
}, this._onItemsMutated = (e) => {
|
|
550
552
|
e.some((e) => e.attributeName === "current") && this._syncItems(), this._scheduleOverflow(e.some((e) => e.attributeName !== "current"));
|
|
551
553
|
}, this._handleItemSelect = (e) => {
|
|
@@ -593,7 +595,7 @@ var j = (S = class extends f(e, p) {
|
|
|
593
595
|
}), document.fonts?.ready.then(() => this._scheduleOverflow());
|
|
594
596
|
}
|
|
595
597
|
disconnectedCallback() {
|
|
596
|
-
super.disconnectedCallback(), this.removeEventListener("select", this._handleItemSelect), this.removeEventListener("keydown", this._handleKeyDown), this._sized.forEach((e) => A(e, this)), this._sized = [], this._itemObserver?.disconnect(), this._itemObserver = null,
|
|
598
|
+
super.disconnectedCallback(), this.removeEventListener("select", this._handleItemSelect), this.removeEventListener("keydown", this._handleKeyDown), this._sized.forEach((e) => A(e, this)), this._sized = [], this._itemObserver?.disconnect(), this._itemObserver = null, T.cancel(this);
|
|
597
599
|
}
|
|
598
600
|
_measure() {
|
|
599
601
|
let e = !this.hasAttribute("data-measuring");
|
|
@@ -696,7 +698,7 @@ var j = (S = class extends f(e, p) {
|
|
|
696
698
|
}
|
|
697
699
|
_syncItems() {
|
|
698
700
|
let e = this._getItems();
|
|
699
|
-
|
|
701
|
+
l(this, "link-tabs", e.some((e) => e.href)), e.forEach((e) => {
|
|
700
702
|
e._groupVariant = this.variant, e.size = this.size, e._navigation = this.navigation, e._groupDisabled = this.disabled;
|
|
701
703
|
});
|
|
702
704
|
let t = e.some((e) => e.current), n = e.find((e) => !e.hasAttribute("data-overflow")) ?? null;
|
|
@@ -705,7 +707,7 @@ var j = (S = class extends f(e, p) {
|
|
|
705
707
|
});
|
|
706
708
|
}
|
|
707
709
|
_onSlotChange() {
|
|
708
|
-
this._syncPending || (this._syncPending =
|
|
710
|
+
this._syncPending || (this._syncPending = h(() => {
|
|
709
711
|
this._syncPending = !1, this._syncItems(), this._scheduleOverflow();
|
|
710
712
|
}, this.ownerDocument), this._syncPending || (this._syncItems(), this._scheduleOverflow()));
|
|
711
713
|
}
|
|
@@ -719,15 +721,15 @@ var j = (S = class extends f(e, p) {
|
|
|
719
721
|
})));
|
|
720
722
|
}
|
|
721
723
|
render() {
|
|
722
|
-
return
|
|
724
|
+
return b(this);
|
|
723
725
|
}
|
|
724
|
-
},
|
|
726
|
+
}, C.styles = v, C);
|
|
725
727
|
r([a({
|
|
726
728
|
reflect: !0,
|
|
727
|
-
converter:
|
|
729
|
+
converter: u("")
|
|
728
730
|
})], j.prototype, "variant", void 0), r([a({
|
|
729
731
|
reflect: !0,
|
|
730
|
-
converter:
|
|
732
|
+
converter: u("md")
|
|
731
733
|
})], j.prototype, "size", void 0), r([a({
|
|
732
734
|
type: Boolean,
|
|
733
735
|
reflect: !0
|
|
@@ -741,4 +743,4 @@ r([a({
|
|
|
741
743
|
type: Boolean,
|
|
742
744
|
reflect: !0
|
|
743
745
|
})], j.prototype, "disabled", void 0), r([i()], j.prototype, "_overflowItems", void 0), r([i()], j.prototype, "_menuItems", void 0), j = r([s("nldd-tab-bar")], j);
|
|
744
|
-
export { j as NLDDTabBar,
|
|
746
|
+
export { j as NLDDTabBar, w as NLDDTabBarItem };
|