@nldd/design-system 0.29.0 → 0.29.2
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 +8 -8
- 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
|
@@ -4,12 +4,12 @@ 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 "./implicit-submission-Csbcor_E.js";
|
|
6
6
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as u } from "./shadow-resets-
|
|
8
|
-
import "./icon-button-
|
|
7
|
+
import { t as u } from "./shadow-resets-kAFcguCG.js";
|
|
8
|
+
import "./icon-button-CkNgX7Ra.js";
|
|
9
9
|
import { t as d } from "./number-field.i18n-BS0bINWY.js";
|
|
10
10
|
import "./icon-C_xeQP4j.js";
|
|
11
11
|
import { t as f } from "./described-by-mixin-DSeADwWP.js";
|
|
12
|
-
import { t as p } from "./translations-
|
|
12
|
+
import { t as p } from "./with-translations-DSfo7eL-.js";
|
|
13
13
|
import { t as m } from "./defer-focus-F73ud2D9.js";
|
|
14
14
|
// src/components/inputs/number-field/number-field.styles.ts
|
|
15
15
|
var h = a`
|
|
@@ -47,10 +47,6 @@ var h = a`
|
|
|
47
47
|
pointer-events: none;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
:host([disabled]) nldd-icon-button {
|
|
51
|
-
opacity: 1;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
50
|
:host {
|
|
55
51
|
width: var(--_number-field-width);
|
|
56
52
|
max-width: 100%;
|
|
@@ -80,6 +76,11 @@ var h = a`
|
|
|
80
76
|
align-items: center;
|
|
81
77
|
}
|
|
82
78
|
|
|
79
|
+
:host([readonly]) .number-field {
|
|
80
|
+
border-color: var(--semantics-input-fields-is-read-only-border-color);
|
|
81
|
+
background-color: var(--semantics-input-fields-is-read-only-background-color);
|
|
82
|
+
}
|
|
83
|
+
|
|
83
84
|
.number-field:has(.number-field__input:focus-visible) {
|
|
84
85
|
outline: var(--semantics-focus-ring-outline);
|
|
85
86
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
@@ -100,6 +101,11 @@ var h = a`
|
|
|
100
101
|
--context-control-corner-radius: var(--_number-field-nested-control-corner-radius);
|
|
101
102
|
}
|
|
102
103
|
|
|
104
|
+
/* Hidden, not removed: the field keeps its width when it turns readonly or disabled. */
|
|
105
|
+
:host(:is([readonly], [disabled])) :is(.number-field__decrement-button, .number-field__increment-button) {
|
|
106
|
+
visibility: hidden;
|
|
107
|
+
}
|
|
108
|
+
|
|
103
109
|
.number-field__spin-buttons {
|
|
104
110
|
display: flex;
|
|
105
111
|
height: 100%;
|
|
@@ -164,7 +170,7 @@ function g(e) {
|
|
|
164
170
|
icon="minus"
|
|
165
171
|
text=${e._t("components.number-field.decrement-action")}
|
|
166
172
|
tooltip-timing="never"
|
|
167
|
-
?disabled=${e.disabled || !o}
|
|
173
|
+
?disabled=${e.disabled || e.readonly || !o}
|
|
168
174
|
@click=${e._handleDecrease}
|
|
169
175
|
></nldd-icon-button>
|
|
170
176
|
</div>
|
|
@@ -176,7 +182,7 @@ function g(e) {
|
|
|
176
182
|
icon="plus"
|
|
177
183
|
text=${e._t("components.number-field.increment-action")}
|
|
178
184
|
tooltip-timing="never"
|
|
179
|
-
?disabled=${e.disabled || !s}
|
|
185
|
+
?disabled=${e.disabled || e.readonly || !s}
|
|
180
186
|
@click=${e._handleIncrease}
|
|
181
187
|
></nldd-icon-button>
|
|
182
188
|
</div>
|
|
@@ -196,6 +202,7 @@ function g(e) {
|
|
|
196
202
|
max=${Number.isFinite(e.max) ? e.max : n}
|
|
197
203
|
step=${e.step}
|
|
198
204
|
?disabled=${e.disabled}
|
|
205
|
+
?readonly=${e.readonly}
|
|
199
206
|
?required=${e.required}
|
|
200
207
|
name=${e.name || n}
|
|
201
208
|
@keydown=${e._handleKeydown}
|
|
@@ -220,9 +227,9 @@ function y(e) {
|
|
|
220
227
|
let n = Number(t);
|
|
221
228
|
return Number.isFinite(n) ? n : null;
|
|
222
229
|
}
|
|
223
|
-
var b = (_ = class extends f(s(e)) {
|
|
230
|
+
var b = (_ = class extends f(s(p(e, d))) {
|
|
224
231
|
constructor(...e) {
|
|
225
|
-
super(...e), this.spinButtons = "end", this.size = "md", this.width = "", this.accessibleLabel = "", this.invalid = !1, this.name = "", this.value = null, this.min = -Infinity, this.max = Infinity, this.step = 1, this.required = !1, this.
|
|
232
|
+
super(...e), this.spinButtons = "end", this.size = "md", this.width = "", this.accessibleLabel = "", this.invalid = !1, this.name = "", this.value = null, this.min = -Infinity, this.max = Infinity, this.step = 1, this.required = !1, this.readonly = !1, this.disabled = !1, this._committed = null, this._typed = void 0;
|
|
226
233
|
}
|
|
227
234
|
updated(e) {
|
|
228
235
|
if (e.has("width")) {
|
|
@@ -243,14 +250,11 @@ var b = (_ = class extends f(s(e)) {
|
|
|
243
250
|
_clampValue() {
|
|
244
251
|
this.value !== null && (this.value = this._clamp(this.value));
|
|
245
252
|
}
|
|
246
|
-
_t(e) {
|
|
247
|
-
return p(this.translations, d, e);
|
|
248
|
-
}
|
|
249
253
|
_handleDecrease() {
|
|
250
|
-
this.disabled || this._commitValue(this.value === null ? this._startValue() : this.value - this.step);
|
|
254
|
+
this.disabled || this.readonly || this._commitValue(this.value === null ? this._startValue() : this.value - this.step);
|
|
251
255
|
}
|
|
252
256
|
_handleIncrease() {
|
|
253
|
-
this.disabled || this._commitValue(this.value === null ? this._startValue() : this.value + this.step);
|
|
257
|
+
this.disabled || this.readonly || this._commitValue(this.value === null ? this._startValue() : this.value + this.step);
|
|
254
258
|
}
|
|
255
259
|
_startValue() {
|
|
256
260
|
return this._clamp(0);
|
|
@@ -259,12 +263,12 @@ var b = (_ = class extends f(s(e)) {
|
|
|
259
263
|
c(this, e);
|
|
260
264
|
}
|
|
261
265
|
_handleInput(e) {
|
|
262
|
-
if (this.disabled) return;
|
|
266
|
+
if (e.stopPropagation(), this.disabled) return;
|
|
263
267
|
let t = e.target, n = t.value === "" && !t.validity.badInput ? null : parseFloat(t.value);
|
|
264
268
|
n !== null && isNaN(n) || n !== this.value && (this._typed = n, this.value = n, this.emitFormEvent("input", { value: this.value }));
|
|
265
269
|
}
|
|
266
270
|
_handleChange(e) {
|
|
267
|
-
if (this.disabled) return;
|
|
271
|
+
if (e.stopPropagation(), this.disabled) return;
|
|
268
272
|
let t = e.target, n = parseFloat(t.value);
|
|
269
273
|
this._commitValue(isNaN(n) ? null : n, t);
|
|
270
274
|
}
|
|
@@ -315,5 +319,8 @@ r([i({
|
|
|
315
319
|
})], b.prototype, "required", void 0), r([i({
|
|
316
320
|
type: Boolean,
|
|
317
321
|
reflect: !0
|
|
318
|
-
})], b.prototype, "
|
|
322
|
+
})], b.prototype, "readonly", void 0), r([i({
|
|
323
|
+
type: Boolean,
|
|
324
|
+
reflect: !0
|
|
325
|
+
})], b.prototype, "disabled", void 0), b = r([o("nldd-number-field")], b);
|
|
319
326
|
export { b as NLDDNumberField };
|
|
@@ -2,7 +2,7 @@ import { n as e, o as t, t as n } from "./decorate-CIC8fGPN.js";
|
|
|
2
2
|
import { c as r, 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 "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as c, t as l } from "./page-section-mixin-
|
|
5
|
+
import { n as c, t as l } from "./page-section-mixin-DSdHIkwR.js";
|
|
6
6
|
import { i as u, n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
7
|
// src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts
|
|
8
8
|
var f = r(d.smMax), p = r(d.mdMin), m = r(d.mdMax), h = r(d.lgMin), g = r(u.stackedMax), _ = a`
|
|
@@ -2,7 +2,7 @@ import { n as e, o as t, t as n } from "./decorate-CIC8fGPN.js";
|
|
|
2
2
|
import { c as r, 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 "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as c, t as l } from "./page-section-mixin-
|
|
5
|
+
import { n as c, t as l } from "./page-section-mixin-DSdHIkwR.js";
|
|
6
6
|
import { i as u, n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
7
|
// src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts
|
|
8
8
|
var f = r(d.smMax), p = r(d.mdMin), m = r(d.mdMax), h = r(d.lgMin), g = r(u.stackedMax), _ = a`
|
|
@@ -7,8 +7,8 @@ import { t as u } from "./described-by-mixin-DSeADwWP.js";
|
|
|
7
7
|
import { t as d } from "./implicit-submission-Csbcor_E.js";
|
|
8
8
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
9
|
import { t as p } from "./defer-focus-F73ud2D9.js";
|
|
10
|
-
import { n as m, t as h } from "./layout-pass-
|
|
11
|
-
import { t as g } from "./shadow-resets-
|
|
10
|
+
import { n as m, t as h } from "./layout-pass-B2ALRYc9.js";
|
|
11
|
+
import { t as g } from "./shadow-resets-kAFcguCG.js";
|
|
12
12
|
import { t as _ } from "./class-map-07EioFee.js";
|
|
13
13
|
import "./icon-C_xeQP4j.js";
|
|
14
14
|
// src/components/inputs/one-time-code-field/one-time-code-field.styles.ts
|
|
@@ -39,6 +39,7 @@ var v = o`
|
|
|
39
39
|
|
|
40
40
|
${g}
|
|
41
41
|
display: block;
|
|
42
|
+
isolation: isolate;
|
|
42
43
|
max-width: 100%;
|
|
43
44
|
-webkit-tap-highlight-color: transparent;
|
|
44
45
|
pointer-events: none;
|
|
@@ -2,12 +2,12 @@ import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
|
2
2
|
import { n as t, r as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
3
3
|
import { n as i, r as a, s as o } from "./custom-element-7tLnKgZE.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { a as c, i as l, o as u, r as d, s as f } from "./scroll-mode-controller-
|
|
6
|
-
import { a as p } from "./shadow-resets-
|
|
5
|
+
import { a as c, i as l, o as u, r as d, s as f } from "./scroll-mode-controller-DlKGaDhM.js";
|
|
6
|
+
import { a as p } from "./shadow-resets-kAFcguCG.js";
|
|
7
7
|
import { r as m, t as h } from "./static-html-ooiG7-by.js";
|
|
8
8
|
import { r as g } from "./element-state-D-J_cHEV.js";
|
|
9
9
|
import { t as _ } from "./reflect-non-default-Bu3rpCvg.js";
|
|
10
|
-
import { n as v, t as y } from "./layout-pass-
|
|
10
|
+
import { n as v, t as y } from "./layout-pass-B2ALRYc9.js";
|
|
11
11
|
// src/components/layout/page/page.styles.ts
|
|
12
12
|
var b = o`
|
|
13
13
|
:host {
|
|
@@ -317,7 +317,7 @@ var k = [
|
|
|
317
317
|
"nldd-stacked-split-view"
|
|
318
318
|
], j = /* @__PURE__ */ new Set(), M = (C = class extends t {
|
|
319
319
|
constructor(...e) {
|
|
320
|
-
super(...e), this.background = "inherit", this.
|
|
320
|
+
super(...e), this.background = "inherit", this.stickyHeader = !1, this.stickyFooter = !1, this.accessibleLabel = "", this.landmarks = "auto", this._scrolled = !1, this._atEnd = !0, this._derived = "page", this._renderedRegion = null, this._scrollMode = "nested", this._scrollTarget = null, this._scrollProvider = null, this._inOverlay = !1, this._insetsReady = !1, this._headerFullHeight = 0, this._mainSlot = null, this._mainAttrObserver = null, this._scrollConfigured = !1, this._adoptScrollProvider = (e) => {
|
|
321
321
|
this._scrollProvider || (u(this), this._scrollProvider = e, e.registerScrollConsumer(this), this.hasUpdated && this._configureScroll());
|
|
322
322
|
}, this._hostTabStop = !1, this._onScroll = () => {
|
|
323
323
|
if (this._isRoot) {
|
|
@@ -469,12 +469,6 @@ r([a({
|
|
|
469
469
|
reflect: !0,
|
|
470
470
|
converter: _("inherit")
|
|
471
471
|
})], M.prototype, "background", void 0), r([a({
|
|
472
|
-
type: String,
|
|
473
|
-
attribute: "accessible-label"
|
|
474
|
-
})], M.prototype, "accessibleLabel", void 0), r([a({
|
|
475
|
-
reflect: !0,
|
|
476
|
-
converter: _("auto")
|
|
477
|
-
})], M.prototype, "landmarks", void 0), r([a({
|
|
478
472
|
type: Boolean,
|
|
479
473
|
reflect: !0,
|
|
480
474
|
attribute: "sticky-header"
|
|
@@ -482,5 +476,11 @@ r([a({
|
|
|
482
476
|
type: Boolean,
|
|
483
477
|
reflect: !0,
|
|
484
478
|
attribute: "sticky-footer"
|
|
485
|
-
})], M.prototype, "stickyFooter", void 0), r([
|
|
479
|
+
})], M.prototype, "stickyFooter", void 0), r([a({
|
|
480
|
+
type: String,
|
|
481
|
+
attribute: "accessible-label"
|
|
482
|
+
})], M.prototype, "accessibleLabel", void 0), r([a({
|
|
483
|
+
reflect: !0,
|
|
484
|
+
converter: _("auto")
|
|
485
|
+
})], M.prototype, "landmarks", void 0), r([i()], M.prototype, "_scrolled", void 0), r([i()], M.prototype, "_atEnd", void 0), r([i()], M.prototype, "_derived", void 0), M = r([s("nldd-page")], M);
|
|
486
486
|
export { S as t };
|
|
@@ -5,9 +5,9 @@ import { t as l } from "./slot-content-2qH2vEC_.js";
|
|
|
5
5
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { o as d } from "./text-wrap-DJ9PcwZ4.js";
|
|
7
7
|
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import { a as p, t as m } from "./shadow-resets-
|
|
8
|
+
import { a as p, t as m } from "./shadow-resets-kAFcguCG.js";
|
|
9
9
|
import { t as h } from "./page-footer.i18n-pbdr4lN3.js";
|
|
10
|
-
import { t as g } from "./translations-
|
|
10
|
+
import { t as g } from "./with-translations-DSfo7eL-.js";
|
|
11
11
|
import { r as _ } from "./element-state-D-J_cHEV.js";
|
|
12
12
|
import { t as v } from "./list-items-Du0RCWsY.js";
|
|
13
13
|
// src/components/layout/page-footer/page-footer.styles.ts
|
|
@@ -278,7 +278,7 @@ function E(e) {
|
|
|
278
278
|
`;
|
|
279
279
|
}
|
|
280
280
|
function D(e) {
|
|
281
|
-
let r = e._t("components.page-footer.legal-bar-accessible-label");
|
|
281
|
+
let r = e.accessibleLabel || e._t("components.page-footer.legal-bar-accessible-label");
|
|
282
282
|
return t`
|
|
283
283
|
<nav class="page-footer__legal-bar"
|
|
284
284
|
aria-label=${r || n}
|
|
@@ -331,18 +331,15 @@ k = M, k.styles = T, r([o({
|
|
|
331
331
|
type: String,
|
|
332
332
|
reflect: !0
|
|
333
333
|
})], M.prototype, "href", void 0), customElements.get("nldd-page-footer-legal-bar-item") || customElements.define("nldd-page-footer-legal-bar-item", M);
|
|
334
|
-
var N = class extends e {
|
|
334
|
+
var N = class extends g(e, h) {
|
|
335
335
|
constructor(...e) {
|
|
336
|
-
super(...e), this.accessibleLabel = "", this.
|
|
336
|
+
super(...e), this.accessibleLabel = "", this._hasStart = !1, this._hasEnd = !1, this._onSlotChange = (e) => {
|
|
337
337
|
let t = e.target;
|
|
338
338
|
v(t.assignedElements());
|
|
339
339
|
let n = t.assignedElements().length > 0, r = t.getAttribute("name") ?? "";
|
|
340
340
|
r === "start" ? this._hasStart = n : r === "end" && (this._hasEnd = n);
|
|
341
341
|
};
|
|
342
342
|
}
|
|
343
|
-
_t(e) {
|
|
344
|
-
return e === "components.page-footer.legal-bar-accessible-label" && this.accessibleLabel ? this.accessibleLabel : g(this.translations, h, e);
|
|
345
|
-
}
|
|
346
343
|
render() {
|
|
347
344
|
return D(this);
|
|
348
345
|
}
|
|
@@ -350,7 +347,7 @@ var N = class extends e {
|
|
|
350
347
|
A = N, A.styles = w, r([o({
|
|
351
348
|
type: String,
|
|
352
349
|
attribute: "accessible-label"
|
|
353
|
-
})], N.prototype, "accessibleLabel", void 0), r([
|
|
350
|
+
})], N.prototype, "accessibleLabel", void 0), r([a()], N.prototype, "_hasStart", void 0), r([a()], N.prototype, "_hasEnd", void 0), customElements.get("nldd-page-footer-legal-bar") || customElements.define("nldd-page-footer-legal-bar", N);
|
|
354
351
|
var P = (j = class extends e {
|
|
355
352
|
constructor(...e) {
|
|
356
353
|
super(...e), this.noRibbon = !1, this.width = "", this._hasBreadcrumbs = !1, this._hasMain = !1, this._hasLegalBar = !1, this._onSlotChange = (e) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e, s as t } from "./custom-element-7tLnKgZE.js";
|
|
2
|
-
import { a as n } from "./shadow-resets-
|
|
2
|
+
import { a as n } from "./shadow-resets-kAFcguCG.js";
|
|
3
3
|
import { t as r } from "./decorate-CIC8fGPN.js";
|
|
4
4
|
import { t as i } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
5
|
// src/utilities/page-section-mixin.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as e, o as t, r as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
2
2
|
import { r as i, s as a } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as s } from "./shadow-resets-
|
|
5
|
-
import "./icon-button-
|
|
4
|
+
import { t as s } from "./shadow-resets-kAFcguCG.js";
|
|
5
|
+
import "./icon-button-CkNgX7Ra.js";
|
|
6
6
|
import "./icon-C_xeQP4j.js";
|
|
7
7
|
import { t as c } from "./pagination.i18n-QQMx14CQ.js";
|
|
8
8
|
import { n as l } from "./input-modality-XE0B7yCn.js";
|
|
9
|
-
import { t as u } from "./translations-
|
|
9
|
+
import { t as u } from "./with-translations-DSfo7eL-.js";
|
|
10
10
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
11
|
// src/components/navigation/pagination/pagination.styles.ts
|
|
12
12
|
var f = a`
|
|
@@ -403,9 +403,9 @@ function p(e) {
|
|
|
403
403
|
`;
|
|
404
404
|
}
|
|
405
405
|
// src/components/navigation/pagination/pagination.ts
|
|
406
|
-
var m = class extends e {
|
|
406
|
+
var m = class extends u(e, c) {
|
|
407
407
|
constructor(...e) {
|
|
408
|
-
super(...e), this.centered = !1, this.hrefPattern = "", this.current = 1, this.total = 1, this.disabled = !1, this.
|
|
408
|
+
super(...e), this.centered = !1, this.hrefPattern = "", this.current = 1, this.total = 1, this.disabled = !1, this._handleSelectFocus = () => {
|
|
409
409
|
this.toggleAttribute("is-pointer-focus", l());
|
|
410
410
|
}, this._handleSelectBlur = () => {
|
|
411
411
|
this.toggleAttribute("is-pointer-focus", !1), this.toggleAttribute("select-expanded", !1);
|
|
@@ -415,9 +415,6 @@ var m = class extends e {
|
|
|
415
415
|
this.toggleAttribute("select-expanded", e.newState === "open");
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
_t(e, t) {
|
|
419
|
-
return u(this.translations, c, e, t);
|
|
420
|
-
}
|
|
421
418
|
_getVisiblePages() {
|
|
422
419
|
return this.total <= 7 ? Array.from({ length: this.total }, (e, t) => t + 1) : this.current <= 3 ? [
|
|
423
420
|
1,
|
|
@@ -488,5 +485,5 @@ r([i({
|
|
|
488
485
|
})], h.prototype, "total", void 0), r([i({
|
|
489
486
|
type: Boolean,
|
|
490
487
|
reflect: !0
|
|
491
|
-
})], h.prototype, "disabled", void 0),
|
|
488
|
+
})], h.prototype, "disabled", void 0), h = r([o("nldd-pagination")], h);
|
|
492
489
|
export { h as NLDDPagination };
|
|
@@ -5,11 +5,11 @@ import { t as s } from "./query-ChDzi9FQ.js";
|
|
|
5
5
|
import { t as c } from "./form-associated-mixin-9cC5HSCG.js";
|
|
6
6
|
import { t as l } from "./implicit-submission-Csbcor_E.js";
|
|
7
7
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as d } from "./shadow-resets-
|
|
8
|
+
import { t as d } from "./shadow-resets-kAFcguCG.js";
|
|
9
9
|
import "./icon-C_xeQP4j.js";
|
|
10
|
-
import "./button-
|
|
10
|
+
import "./button-DpSJe6ns.js";
|
|
11
11
|
import { t as f } from "./described-by-mixin-DSeADwWP.js";
|
|
12
|
-
import { t as p } from "./translations-
|
|
12
|
+
import { t as p } from "./with-translations-DSfo7eL-.js";
|
|
13
13
|
import { t as m } from "./password-field.i18n-CzdBn-1b.js";
|
|
14
14
|
// src/components/inputs/password-field/password-field.styles.ts
|
|
15
15
|
var h = a`
|
|
@@ -34,6 +34,7 @@ var h = a`
|
|
|
34
34
|
|
|
35
35
|
${d}
|
|
36
36
|
display: block;
|
|
37
|
+
isolation: isolate;
|
|
37
38
|
width: var(--_password-field-width);
|
|
38
39
|
max-width: 100%;
|
|
39
40
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -261,9 +262,9 @@ function v(e) {
|
|
|
261
262
|
`;
|
|
262
263
|
}
|
|
263
264
|
// src/components/inputs/password-field/password-field.ts
|
|
264
|
-
var y = class extends f(c(e)) {
|
|
265
|
+
var y = class extends f(c(p(e, m))) {
|
|
265
266
|
constructor(...e) {
|
|
266
|
-
super(...e), this.size = "md", this.width = "", this.placeholder = "", this.accessibleLabel = "", this.valid = !1, this.invalid = !1, this.masked = !0, this.name = "", this.inputId = "", this.value = "", this.pattern = "", this.required = !1, this.autocomplete = "", this.readonly = !1, this.disabled = !1
|
|
267
|
+
super(...e), this.size = "md", this.width = "", this.placeholder = "", this.accessibleLabel = "", this.valid = !1, this.invalid = !1, this.masked = !0, this.name = "", this.inputId = "", this.value = "", this.pattern = "", this.required = !1, this.autocomplete = "", this.readonly = !1, this.disabled = !1;
|
|
267
268
|
}
|
|
268
269
|
updated(e) {
|
|
269
270
|
if (e.has("width")) {
|
|
@@ -274,9 +275,6 @@ var y = class extends f(c(e)) {
|
|
|
274
275
|
formValue() {
|
|
275
276
|
return this.value;
|
|
276
277
|
}
|
|
277
|
-
_t(e) {
|
|
278
|
-
return p(this.translations, m, e);
|
|
279
|
-
}
|
|
280
278
|
_handleKeydown(e) {
|
|
281
279
|
l(this, e);
|
|
282
280
|
}
|
|
@@ -351,5 +349,5 @@ r([i({
|
|
|
351
349
|
})], b.prototype, "readonly", void 0), r([i({
|
|
352
350
|
type: Boolean,
|
|
353
351
|
reflect: !0
|
|
354
|
-
})], b.prototype, "disabled", void 0), r([
|
|
352
|
+
})], b.prototype, "disabled", void 0), r([s(".password-field__input")], b.prototype, "_input", void 0), b = r([o("nldd-password-field")], b);
|
|
355
353
|
export { b as NLDDPasswordField };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { n as e, r as t } from "./return-focus-CpwHVxYU.js";
|
|
2
|
+
// src/utilities/picker-popover-controller.ts
|
|
3
|
+
var n = class {
|
|
4
|
+
constructor(e, t) {
|
|
5
|
+
this._host = e, this._trigger = t;
|
|
6
|
+
}
|
|
7
|
+
focusTrigger(n) {
|
|
8
|
+
let r = this._trigger();
|
|
9
|
+
r && (n || t(this._host)) && e(r);
|
|
10
|
+
}
|
|
11
|
+
restoreFocus(e) {
|
|
12
|
+
queueMicrotask(() => this.focusTrigger(e));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export { n as t };
|
|
@@ -5,11 +5,11 @@ import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
|
5
5
|
import { c, n as l, r as u, s as d, t as f } from "./floating-ui.dom-CB34tcZx.js";
|
|
6
6
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
7
|
import { t as m } from "./scroll-fade-BoXGZJeO.js";
|
|
8
|
-
import { a as h } from "./shadow-resets-
|
|
8
|
+
import { a as h } from "./shadow-resets-kAFcguCG.js";
|
|
9
9
|
import { n as g } from "./breakpoints-Cwor8TRP.js";
|
|
10
10
|
import { t as _ } from "./popover.i18n-DmFBHUvB.js";
|
|
11
11
|
import { n as v } from "./input-modality-XE0B7yCn.js";
|
|
12
|
-
import { t as y } from "./translations-
|
|
12
|
+
import { t as y } from "./with-translations-DSfo7eL-.js";
|
|
13
13
|
import { t as b } from "./dismiss-from-title-bar-C6mP7sWP.js";
|
|
14
14
|
import { r as x } from "./element-state-D-J_cHEV.js";
|
|
15
15
|
import { n as S, t as C } from "./return-focus-CpwHVxYU.js";
|
|
@@ -166,9 +166,9 @@ function j() {
|
|
|
166
166
|
return n`<div class="popover__scroller"><slot></slot></div>`;
|
|
167
167
|
}
|
|
168
168
|
// src/components/layout/popover/popover.ts
|
|
169
|
-
var M = /* @__PURE__ */ e({ NLDDPopover: () => F }), N = class extends t {
|
|
169
|
+
var M = /* @__PURE__ */ e({ NLDDPopover: () => F }), N = class extends y(t, _) {
|
|
170
170
|
constructor(...e) {
|
|
171
|
-
super(...e), this.smFullHeight = !1, this.centered = !1, this.placement = "bottom-start", this.top = void 0, this.right = void 0, this.bottom = void 0, this.left = void 0, this.accessibleLabel = "", this.mdTitleBar = !1, this.anchor = "", this.anchorElement = null, this.open = !1, this.
|
|
171
|
+
super(...e), this.smFullHeight = !1, this.centered = !1, this.placement = "bottom-start", this.top = void 0, this.right = void 0, this.bottom = void 0, this.left = void 0, this.accessibleLabel = "", this.mdTitleBar = !1, this.anchor = "", this.anchorElement = null, this.open = !1, this._isOpen = !1, this._managesMode = !1, this._managesRole = !1, this._interestMode = !1, this._closing = !1, this._closingTimer = null, this._focusReturn = new C(), this._cleanupAutoUpdate = null, this._smQuery = null, this._wasOnSm = !1, this._handleDismiss = (e) => {
|
|
172
172
|
b(e) && (e.stopPropagation(), this.hide());
|
|
173
173
|
}, this._removeClosingListener = null, this._triggerAria = new T({ attributes: !0 }), this._handleViewportChange = () => {
|
|
174
174
|
this._isOpen ? this.reposition() : (this._wasOnSm = this._smQuery?.matches ?? !1, this._syncMode());
|
|
@@ -231,9 +231,6 @@ var M = /* @__PURE__ */ e({ NLDDPopover: () => F }), N = class extends t {
|
|
|
231
231
|
}
|
|
232
232
|
e.has("width") && (this.width && !P.CONTENT_WIDTHS.test(this.width.trim()) ? this.style.setProperty("--_popover-default-width", this.width) : this.style.removeProperty("--_popover-default-width")), (e.has("accessibleLabel") || e.has("translations")) && this._syncLabel(), (e.has("anchor") || e.has("anchorElement")) && this._updateAnchorAria(this._isOpen), (e.has("top") || e.has("left") || e.has("right") || e.has("bottom") || e.has("centered")) && (!this.top && !this.centered && this.style.removeProperty("top"), !this.left && !this.centered && this.style.removeProperty("left"), this.right || this.style.removeProperty("right"), this.bottom || this.style.removeProperty("bottom"), this._isOpen && this.reposition());
|
|
233
233
|
}
|
|
234
|
-
_t(e) {
|
|
235
|
-
return y(this.translations, _, e);
|
|
236
|
-
}
|
|
237
234
|
get _resolvedAccessibleLabel() {
|
|
238
235
|
return this.accessibleLabel || this._t("components.popover.accessible-label");
|
|
239
236
|
}
|
|
@@ -391,5 +388,5 @@ r([a({
|
|
|
391
388
|
})], F.prototype, "anchor", void 0), r([a({ attribute: !1 })], F.prototype, "anchorElement", void 0), r([a({
|
|
392
389
|
type: Boolean,
|
|
393
390
|
reflect: !0
|
|
394
|
-
})], F.prototype, "open", void 0),
|
|
391
|
+
})], F.prototype, "open", void 0), F = P = r([s("nldd-popover")], F);
|
|
395
392
|
export { M as t };
|
|
@@ -2,13 +2,13 @@ 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
4
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
5
|
+
import { t as l } from "./shadow-resets-kAFcguCG.js";
|
|
6
6
|
import { o as u } from "./text-wrap-DJ9PcwZ4.js";
|
|
7
7
|
import { t as d } from "./if-defined-BG5WQE1B.js";
|
|
8
8
|
import { t as f } from "./class-map-07EioFee.js";
|
|
9
9
|
import { t as p } from "./progress-bar.i18n-Cr5miGTx.js";
|
|
10
|
-
import "./tooltip-
|
|
11
|
-
import { t as m } from "./translations-
|
|
10
|
+
import "./tooltip-5clp5S3T.js";
|
|
11
|
+
import { t as m } from "./with-translations-DSfo7eL-.js";
|
|
12
12
|
import { r as h } from "./element-state-D-J_cHEV.js";
|
|
13
13
|
// src/components/status-and-feedback/progress-bar/progress-bar.styles.ts
|
|
14
14
|
var g = o`
|
|
@@ -521,12 +521,9 @@ r([a({
|
|
|
521
521
|
type: Number,
|
|
522
522
|
reflect: !0
|
|
523
523
|
})], C.prototype, "value", void 0), r([i()], C.prototype, "_autoTooltipText", void 0), C = r([s("nldd-progress-bar-segment-indicator")], C);
|
|
524
|
-
var w = (x = class extends e {
|
|
524
|
+
var w = (x = class extends m(e, p) {
|
|
525
525
|
constructor(...e) {
|
|
526
|
-
super(...e), this.variant = "progress", this.color = "accent", this.size = "md", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "inline", this.indeterminate = !1, this.value = null, this.max = 100, this.
|
|
527
|
-
}
|
|
528
|
-
_t(e) {
|
|
529
|
-
return m(this.translations, p, e);
|
|
526
|
+
super(...e), this.variant = "progress", this.color = "accent", this.size = "md", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "inline", this.indeterminate = !1, this.value = null, this.max = 100, this._segmentIndicators = [], this._indeterminateExiting = !1, this._indeterminateEntering = !1, this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
530
527
|
}
|
|
531
528
|
get _hasSegmentIndicators() {
|
|
532
529
|
return this._segmentIndicators.length > 0;
|
|
@@ -680,5 +677,5 @@ r([a({
|
|
|
680
677
|
})], w.prototype, "value", void 0), r([a({
|
|
681
678
|
reflect: !0,
|
|
682
679
|
converter: c(100)
|
|
683
|
-
})], w.prototype, "max", void 0), r([
|
|
680
|
+
})], w.prototype, "max", void 0), r([i()], w.prototype, "_segmentIndicators", void 0), r([i()], w.prototype, "_indeterminateExiting", void 0), r([i()], w.prototype, "_indeterminateEntering", void 0), w = r([s("nldd-progress-bar")], w);
|
|
684
681
|
export { S as INDETERMINATE_TRANSITION_MS, w as NLDDProgressBar, C as NLDDProgressBarSegmentIndicator };
|
|
@@ -2,13 +2,13 @@ import { c as e, n as t, o as n, r, t as i } from "./decorate-CIC8fGPN.js";
|
|
|
2
2
|
import { 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 "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as u } from "./shadow-resets-
|
|
5
|
+
import { t as u } from "./shadow-resets-kAFcguCG.js";
|
|
6
6
|
import { o as d } from "./text-wrap-DJ9PcwZ4.js";
|
|
7
7
|
import { t as f } from "./if-defined-BG5WQE1B.js";
|
|
8
8
|
import { t as p } from "./style-map-DP8rklU9.js";
|
|
9
9
|
import { t as m } from "./progress-circle.i18n-CRrXuY4V.js";
|
|
10
|
-
import "./tooltip-
|
|
11
|
-
import { t as h } from "./translations-
|
|
10
|
+
import "./tooltip-5clp5S3T.js";
|
|
11
|
+
import { t as h } from "./with-translations-DSfo7eL-.js";
|
|
12
12
|
// src/components/status-and-feedback/progress-circle/progress-circle.styles.ts
|
|
13
13
|
var g = s`
|
|
14
14
|
:host {
|
|
@@ -499,12 +499,9 @@ i([o({
|
|
|
499
499
|
type: Number,
|
|
500
500
|
reflect: !0
|
|
501
501
|
})], D.prototype, "value", void 0), D = i([c("nldd-progress-circle-segment-indicator")], D);
|
|
502
|
-
var O = (w = class extends t {
|
|
502
|
+
var O = (w = class extends h(t, m) {
|
|
503
503
|
constructor(...e) {
|
|
504
|
-
super(...e), this.variant = "progress", this.color = "accent", this.size = "28", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "tooltip", this.indeterminate = !1, this.value = null, this.max = 100, this.
|
|
505
|
-
}
|
|
506
|
-
_t(e) {
|
|
507
|
-
return h(this.translations, m, e);
|
|
504
|
+
super(...e), this.variant = "progress", this.color = "accent", this.size = "28", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "tooltip", this.indeterminate = !1, this.value = null, this.max = 100, this._segmentIndicators = [], this._indeterminateExiting = !1, this._indeterminateEntering = !1, this._arcsAtZero = !1, this._uid = `pc-${T._idCounter++}`, this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
508
505
|
}
|
|
509
506
|
get _hasSegmentIndicators() {
|
|
510
507
|
return this._segmentIndicators.length > 0;
|
|
@@ -670,5 +667,5 @@ i([o({
|
|
|
670
667
|
})], O.prototype, "value", void 0), i([o({
|
|
671
668
|
reflect: !0,
|
|
672
669
|
converter: l(100)
|
|
673
|
-
})], O.prototype, "max", void 0), i([
|
|
670
|
+
})], O.prototype, "max", void 0), i([a()], O.prototype, "_segmentIndicators", void 0), i([a()], O.prototype, "_indeterminateExiting", void 0), i([a()], O.prototype, "_indeterminateEntering", void 0), i([a()], O.prototype, "_arcsAtZero", void 0), O = T = i([c("nldd-progress-circle")], O);
|
|
674
671
|
export { E as INDETERMINATE_TRANSITION_MS, O as NLDDProgressCircle, D as NLDDProgressCircleSegmentIndicator };
|
|
@@ -3,7 +3,7 @@ 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
4
|
import { t as c } from "./form-associated-mixin-9cC5HSCG.js";
|
|
5
5
|
import { o as l } from "./text-wrap-DJ9PcwZ4.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
6
|
+
import { t as u } from "./shadow-resets-kAFcguCG.js";
|
|
7
7
|
import { n as d } from "./radio-button-B45WY4fZ.js";
|
|
8
8
|
import { t as f } from "./described-by-mixin-DSeADwWP.js";
|
|
9
9
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e, o as t, t as n } from "./decorate-CIC8fGPN.js";
|
|
2
2
|
import { r, s as i } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./shadow-resets-
|
|
4
|
+
import { t as o } from "./shadow-resets-kAFcguCG.js";
|
|
5
5
|
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
6
6
|
import { t as c } from "./defer-focus-F73ud2D9.js";
|
|
7
7
|
import { n as l, t as u } from "./choice-group-AZsqoheP.js";
|
|
@@ -4,7 +4,7 @@ import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
|
4
4
|
import { t as s } from "./reorder-handle-mixin-DIkeFpRU.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { t as l } from "./reorder-handle-cell.i18n-DlH2aVwd.js";
|
|
7
|
-
import { t as u } from "./translations-
|
|
7
|
+
import { t as u } from "./with-translations-DSfo7eL-.js";
|
|
8
8
|
// src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.ts
|
|
9
9
|
var d = a`
|
|
10
10
|
:host {
|
|
@@ -189,12 +189,9 @@ function m(e, t) {
|
|
|
189
189
|
`;
|
|
190
190
|
}
|
|
191
191
|
// src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.ts
|
|
192
|
-
var h = class extends s(t, !0) {
|
|
192
|
+
var h = class extends s(u(t, l), !0) {
|
|
193
193
|
constructor(...e) {
|
|
194
|
-
super(...e), this.size = "md"
|
|
195
|
-
}
|
|
196
|
-
_t(e) {
|
|
197
|
-
return u(this.translations, l, e);
|
|
194
|
+
super(...e), this.size = "md";
|
|
198
195
|
}
|
|
199
196
|
render() {
|
|
200
197
|
let e = this._t("components.reorder-handle-cell.accessible-label");
|
|
@@ -204,5 +201,5 @@ var h = class extends s(t, !0) {
|
|
|
204
201
|
r([i({
|
|
205
202
|
reflect: !0,
|
|
206
203
|
converter: c("md")
|
|
207
|
-
})], g.prototype, "size", void 0),
|
|
204
|
+
})], g.prototype, "size", void 0), g = r([o("nldd-reorder-handle-cell")], g);
|
|
208
205
|
export { g as NLDDReorderHandleCell };
|
|
@@ -3,7 +3,7 @@ import { r as n } from "./custom-element-7tLnKgZE.js";
|
|
|
3
3
|
import { t as r } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as i } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
5
|
import { t as a } from "./rich-text.i18n-BlJ68YuU.js";
|
|
6
|
-
import { t as o } from "./translations-
|
|
6
|
+
import { t as o } from "./with-translations-DSfo7eL-.js";
|
|
7
7
|
import { r as s } from "./element-state-D-J_cHEV.js";
|
|
8
8
|
// src/components/content/rich-text/rich-text.ts
|
|
9
9
|
var c = "data-nldd-managed-label", l = /* @__PURE__ */ new Set(/* @__PURE__ */ "A.ABBR.B.BDI.BDO.BR.CITE.CODE.DATA.DEL.DFN.EM.I.INS.KBD.LABEL.MARK.Q.RUBY.S.SAMP.SMALL.SPAN.STRONG.SUB.SUP.TIME.U.VAR.WBR.NLDD-ICON".split("."));
|
|
@@ -11,12 +11,9 @@ function u(e) {
|
|
|
11
11
|
for (let t of e) if (t.nodeType === Node.TEXT_NODE && t.textContent.trim() || t.nodeType === Node.ELEMENT_NODE && l.has(t.tagName)) return !0;
|
|
12
12
|
return !1;
|
|
13
13
|
}
|
|
14
|
-
var d = class extends e {
|
|
14
|
+
var d = class extends o(e, a) {
|
|
15
15
|
constructor(...e) {
|
|
16
|
-
super(...e), this.spacing = "snug", this.centered = !1, this.hyphens = !1
|
|
17
|
-
}
|
|
18
|
-
_t(e) {
|
|
19
|
-
return o(this.translations, a, e);
|
|
16
|
+
super(...e), this.spacing = "snug", this.centered = !1, this.hyphens = !1;
|
|
20
17
|
}
|
|
21
18
|
createRenderRoot() {
|
|
22
19
|
return this;
|
|
@@ -54,5 +51,5 @@ t([n({
|
|
|
54
51
|
})], d.prototype, "centered", void 0), t([n({
|
|
55
52
|
type: Boolean,
|
|
56
53
|
reflect: !0
|
|
57
|
-
})], d.prototype, "hyphens", void 0),
|
|
54
|
+
})], d.prototype, "hyphens", void 0), d = t([r("nldd-rich-text")], d);
|
|
58
55
|
export { d as NLDDRichText };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// src/utilities/sanitize-url.ts
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (!e) return null;
|
|
4
|
+
let n = e.replace(/^[\s\u00A0\u200B\u2028\u2029]+|[\s\u00A0\u200B\u2028\u2029]+$/g, "").replace(/[\0\t\n\r]/g, ""), r = n.toLowerCase();
|
|
5
|
+
return r.startsWith("javascript:") || r.startsWith("vbscript:") || !t?.allowData && (r.startsWith("data:") || r.startsWith("blob:")) ? null : n;
|
|
6
|
+
}
|
|
7
|
+
export { e as t };
|
package/dist/cdn/chunks/{scroll-mode-controller-CuCRKyLT.js → scroll-mode-controller-DlKGaDhM.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./layout-pass-
|
|
1
|
+
import { t as e } from "./layout-pass-B2ALRYc9.js";
|
|
2
2
|
// src/utilities/scroll-mode-controller.ts
|
|
3
3
|
var t = "nldd-single-column-change", n = "nldd-shell, nldd-sheet, nldd-modal-dialog", r = "nldd-sheet, nldd-modal-dialog, nldd-window, nldd-popover";
|
|
4
4
|
function i(e) {
|