@nldd/design-system 0.21.1 → 0.22.0
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 +708 -231
- package/dist/cdn/autoloader.js +136 -136
- package/dist/cdn/chunks/{activity-indicator-JglZJ8dh.js → activity-indicator-BTnpfsIt.js} +22 -22
- package/dist/cdn/chunks/{avatar-ASqePVhU.js → avatar--5c37XVW.js} +44 -43
- package/dist/cdn/chunks/{avatar-group-GinEMPm9.js → avatar-group-BNfmY5CU.js} +41 -41
- package/dist/cdn/chunks/{badge-Cc2Nufoc.js → badge-YAvIVoRy.js} +28 -28
- package/dist/cdn/chunks/{banner-BLVKM07M.js → banner-BpCK57yd.js} +41 -37
- package/dist/cdn/chunks/{bar-split-view-Clbg-p9H.js → bar-split-view-BgYo4YJw.js} +27 -27
- package/dist/cdn/chunks/blockquote-BOu-31f3.js +240 -0
- package/dist/cdn/chunks/{box-WkhyjQVy.js → box-YipFNjJh.js} +7 -7
- package/dist/cdn/chunks/{breadcrumbs-D9YxZzRj.js → breadcrumbs-DSVAVozW.js} +33 -33
- package/dist/cdn/chunks/{button-DO90Lo6q.js → button-XtEOeBEq.js} +101 -100
- package/dist/cdn/chunks/{button-bar-Bxgdbyh3.js → button-bar-D1i71rRQ.js} +13 -13
- package/dist/cdn/chunks/{button-group-BYGPPLmZ.js → button-group-un5QDbqK.js} +10 -10
- package/dist/cdn/chunks/{card-BP0jfOkS.js → card-D5yTAdts.js} +22 -22
- package/dist/cdn/chunks/{cell-BRD2ilQh.js → cell-BbtB9C2Z.js} +24 -23
- package/dist/cdn/chunks/{checkbox-field-DDZ-B6vH.js → checkbox-field-Cmc6Aagc.js} +33 -30
- package/dist/cdn/chunks/{checkbox-Cazx8CQn.js → checkbox-oYX8b8iy.js} +28 -27
- package/dist/cdn/chunks/{class-map-CXSdNjt8.js → class-map-DKd4N9Wz.js} +1 -1
- package/dist/cdn/chunks/{code-editor-D6Q55oaY.js → code-editor-BZwpTu4O.js} +55 -57
- package/dist/cdn/chunks/{code-viewer-DspLH2T1.js → code-viewer-C4XDF03i.js} +75 -75
- package/dist/cdn/chunks/{codemirror-input-Db65x22n.js → codemirror-input-Sen5OmAF.js} +5 -5
- package/dist/cdn/chunks/{collection-NVtkvDls.js → collection-BnZstW7U.js} +36 -36
- package/dist/cdn/chunks/{combo-box-OywRKaWj.js → combo-box-BpaGeypm.js} +68 -68
- package/dist/cdn/chunks/{container-rrbwk0z4.js → container-DuV5d7Eb.js} +51 -51
- package/dist/cdn/chunks/{custom-element-q6NzoL5b.js → custom-element-DsfOrnOD.js} +1 -1
- package/dist/cdn/chunks/{date-field-vmZLo80s.js → date-field-FactdbhC.js} +83 -83
- package/dist/cdn/chunks/{date-picker-CXDzSBoL.js → date-picker-BtlBTKvh.js} +78 -78
- package/dist/cdn/chunks/{decorate-TduJMFD_.js → decorate-CJCfz_g6.js} +2 -2
- package/dist/cdn/chunks/{described-by-mixin-daRE7orX.js → described-by-mixin-CPultP0p.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CQwOj_rN.js → description-cell-DFc0_dWI.js} +24 -23
- package/dist/cdn/chunks/{dev-checks-zW_W-hnh.js → dev-checks-DGwOQoR3.js} +76 -26
- package/dist/cdn/chunks/{dist-EgIBI-FG.js → dist-6xUfJUfa.js} +26 -26
- package/dist/cdn/chunks/{dist-A7_1pHX0.js → dist-AQ1Gehx3.js} +25 -25
- package/dist/cdn/chunks/{dist-DPUBF0MZ.js → dist-BUqkX3a-.js} +362 -371
- package/dist/cdn/chunks/{dist-Rm6FvrSR.js → dist-BWSiWu4t.js} +55 -55
- package/dist/cdn/chunks/{dist-CP3G1pSK.js → dist-Bmb_H8Sp.js} +1 -1
- package/dist/cdn/chunks/{dist-DrTzvgE7.js → dist-BuquxOFD.js} +178 -188
- package/dist/cdn/chunks/{dist-EM4MWLQq.js → dist-CM5DHMaz.js} +120 -125
- package/dist/cdn/chunks/{dist-C_dGY6zR.js → dist-ClsiJytN.js} +43 -43
- package/dist/cdn/chunks/{dist-D2qap2OY.js → dist-CtdONv3x.js} +13 -13
- package/dist/cdn/chunks/{dist-ChmCRv39.js → dist-CxdoWiwX.js} +50 -50
- package/dist/cdn/chunks/{dist-BEfLdOvy.js → dist-D-9cbJjq.js} +190 -196
- package/dist/cdn/chunks/{divider-CCNbnplA.js → divider-CZ8Hn1om.js} +6 -6
- package/dist/cdn/chunks/{document-tab-bar-A2DFWrP9.js → document-tab-bar-BBnyyiEA.js} +56 -56
- package/dist/cdn/chunks/{dropdown-DZTZtkm5.js → dropdown-Bbbgy8mT.js} +31 -31
- package/dist/cdn/chunks/{file-field-DQ52qq5L.js → file-field-CddG_e0F.js} +116 -116
- package/dist/cdn/chunks/{form-hXLgy_tY.js → form-DIIMIq0q.js} +23 -9
- package/dist/cdn/chunks/{form-actions-C_7hINq-.js → form-actions-BICy0Sgp.js} +7 -7
- package/dist/cdn/chunks/{form-associated-mixin--GIbl98p.js → form-associated-mixin-BtStDDYA.js} +14 -3
- package/dist/cdn/chunks/{form-field--4nWJ_DK.js → form-field-Bnei2EQO.js} +36 -36
- package/dist/cdn/chunks/{form-section-By-D4un0.js → form-section-Cv0tr0pm.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-Dg4sIJG1.js → full-bleed-section-LOfo_1Aj.js} +10 -10
- package/dist/cdn/chunks/{hero-CQQMNCT_.js → hero-BABWpYs5.js} +48 -48
- package/dist/cdn/chunks/{icon-BORlalt0.js → icon-D5dJm51v.js} +41 -47
- package/dist/cdn/chunks/{icon-button-rKiIHs7A.js → icon-button-DtxIRaQy.js} +80 -79
- package/dist/cdn/chunks/{icon-cell-rk4NQid2.js → icon-cell-Be5awZV7.js} +26 -24
- package/dist/cdn/chunks/{identity-BLXecYsZ.js → identity-B4KtbT8h.js} +26 -26
- package/dist/cdn/chunks/{if-defined-CaKKERku.js → if-defined-BirFs11D.js} +1 -1
- package/dist/cdn/chunks/{image-DZMW6JgL.js → image-BpVEir6U.js} +66 -61
- package/dist/cdn/chunks/{inline-dialog-WlqtPBPJ.js → inline-dialog-B627fZmT.js} +29 -28
- package/dist/cdn/chunks/{just-in-time-education-DRcb5g7x.js → just-in-time-education-Nw5ido3N.js} +44 -48
- package/dist/cdn/chunks/{kanban-Ca_mfqsA.js → kanban-9HGexCJx.js} +24 -24
- package/dist/cdn/chunks/{kanban-column-fgIMc7pw.js → kanban-column-v5rfv8fN.js} +13 -13
- package/dist/cdn/chunks/{keyboard-shortcut-EknnW7Ub.js → keyboard-shortcut-CVNilmgr.js} +20 -20
- package/dist/cdn/chunks/{languages-yKikVFv_.js → languages-Ce4h7R1-.js} +12 -12
- package/dist/cdn/chunks/{link-FBSAJ3UC.js → link-BQQwp17j.js} +36 -36
- package/dist/cdn/chunks/{link-group-90qVfKa0.js → link-group-CQhEcQIV.js} +11 -11
- package/dist/cdn/chunks/{list-CaWl3q0Z.js → list-DDxjOe38.js} +41 -39
- package/dist/cdn/chunks/{list-item-Cagnf6eG.js → list-item-Da6-fFDs.js} +131 -77
- package/dist/cdn/chunks/{list-item-segment-BRzBF1y_.js → list-item-segment-CnGHU6G-.js} +44 -44
- package/dist/cdn/chunks/{menu-bar-BU3Hjk1b.js → menu-bar-MPNB2ovW.js} +21 -21
- package/dist/cdn/chunks/{menu-bar-item-C7LQ0NI_.js → menu-bar-item-BuZ-VvnR.js} +34 -34
- package/dist/cdn/chunks/{menu-divider-CLLRgMll.js → menu-divider-CcOTQxx5.js} +6 -6
- package/dist/cdn/chunks/{menu-group-BL24ChpR.js → menu-group-DGgbYejF.js} +8 -8
- package/dist/cdn/chunks/{menu-item-CooKfrFa.js → menu-item-DgM4RmyD.js} +28 -28
- package/dist/cdn/chunks/{menu-BtxzRedh.js → menu-uOExHS1i.js} +58 -57
- package/dist/cdn/chunks/{menu.template-C6rbfI-u.js → menu.template-DkbfQRQ6.js} +3 -3
- package/dist/cdn/chunks/{modal-dialog-BrUMP4Jm.js → modal-dialog-BRYfJ7Vf.js} +26 -26
- package/dist/cdn/chunks/{multi-line-text-field-D7hXhyOn.js → multi-line-text-field-CWOPY6sF.js} +47 -47
- package/dist/cdn/chunks/{navigation-split-view-B2ZQhxEb.js → navigation-split-view-BRiplUXM.js} +37 -37
- package/dist/cdn/chunks/nl.generated-fkFCex7n.js +112 -0
- package/dist/cdn/chunks/{notification-DSGP14d1.js → notification-DhnzrUQp.js} +25 -25
- package/dist/cdn/chunks/{number-field-B8op14Y_.js → number-field-DgRrXCiv.js} +39 -39
- package/dist/cdn/chunks/{one-half-one-half-section-ZYmHYf4Q.js → one-half-one-half-section-D7tzDw-p.js} +11 -11
- package/dist/cdn/chunks/{one-third-two-thirds-section-Ds10K6AS.js → one-third-two-thirds-section-E8xOdcsf.js} +11 -11
- package/dist/cdn/chunks/{one-time-code-field-Cgy_tTS4.js → one-time-code-field-BoJdVvNN.js} +54 -54
- package/dist/cdn/chunks/{page-CBf_Decp.js → page-DDm193hL.js} +27 -27
- package/dist/cdn/chunks/{page-footer-CSv1dU7M.js → page-footer-32oZSwvG.js} +46 -61
- package/dist/cdn/chunks/{page-section-mixin-Dp6X8GKd.js → page-section-mixin-CmsW9L1S.js} +2 -2
- package/dist/cdn/chunks/{pagination-CMUcFB53.js → pagination-Co1BlFTP.js} +45 -45
- package/dist/cdn/chunks/{password-field-C76Vm3rm.js → password-field-BxKQRE4K.js} +54 -54
- package/dist/cdn/chunks/{popover-CGbeEv_-.js → popover-DpCE_XjR.js} +81 -47
- package/dist/cdn/chunks/{progress-bar-BLiHaRUS.js → progress-bar-5WAVf0HV.js} +53 -53
- package/dist/cdn/chunks/{progress-circle-CjkovRbL.js → progress-circle-D7Mn6WZv.js} +55 -55
- package/dist/cdn/chunks/{radio-button-field-C-Z6Lnd4.js → radio-button-field-Dxnahic-.js} +25 -25
- package/dist/cdn/chunks/{radio-button-group-ChTqBCnQ.js → radio-button-group-D_4lI2U-.js} +18 -18
- package/dist/cdn/chunks/{radio-button-GHyO-GQB.js → radio-button-pd8lwtEO.js} +29 -29
- package/dist/cdn/chunks/{render-marked-DX_5ISZE.js → render-marked-CAskRZMx.js} +1 -1
- package/dist/cdn/chunks/{drag-handle-cell-CbzDYebG.js → reorder-handle-cell-BL8ECfi5.js} +38 -37
- package/dist/cdn/chunks/reorder-handle-cell.i18n-DlH2aVwd.js +3 -0
- package/dist/cdn/chunks/reorder-handle-mixin-BDRPLv58.js +16 -0
- package/dist/cdn/chunks/{repeat-Ch_5OsXE.js → repeat-D5W3dDCY.js} +1 -1
- package/dist/cdn/chunks/rich-text-diNxNddp.js +61 -0
- package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/cdn/chunks/{row-header-mixin-CgqvREoV.js → row-header-mixin-Dj6t4nYI.js} +2 -2
- package/dist/cdn/chunks/{search-field-BGNfERhn.js → search-field-CLuQnvBU.js} +67 -67
- package/dist/cdn/chunks/{segmented-control-BYAG4VRp.js → segmented-control-B0z5J7r9.js} +86 -82
- package/dist/cdn/chunks/{shadow-resets-6SToDsPu.js → shadow-resets-BeVmf7ky.js} +2 -2
- package/dist/cdn/chunks/{sheet-CqN7ViYV.js → sheet-CKfFzUCu.js} +22 -22
- package/dist/cdn/chunks/{shell-C9rds_D9.js → shell-CglPjEWB.js} +7 -7
- package/dist/cdn/chunks/{side-by-side-split-view-C5oX4c6Z.js → side-by-side-split-view-DU4ODEBX.js} +21 -21
- package/dist/cdn/chunks/{sidebar-section-CFPBdETU.js → sidebar-section-DzJw-MHs.js} +29 -29
- package/dist/cdn/chunks/{simple-section-qrCqXeBa.js → simple-section-BfhBYqMa.js} +12 -12
- package/dist/cdn/chunks/{skip-link-DWh4W6-J.js → skip-link-DwVvD9XL.js} +19 -19
- package/dist/cdn/chunks/{slider--hODfOwh.js → slider-BBxKxr-H.js} +86 -82
- package/dist/cdn/chunks/{spacer-CFzq_JCh.js → spacer-CqK1xVh2.js} +11 -11
- package/dist/cdn/chunks/{spacer-cell-DuVOgIj8.js → spacer-cell-DS7Tphdm.js} +13 -12
- package/dist/cdn/chunks/{split-button-DH19p8So.js → split-button-Brh7EmIA.js} +32 -32
- package/dist/cdn/chunks/{split-view-divider-jzcPmnMh.js → split-view-divider-Bh3XLobi.js} +10 -10
- package/dist/cdn/chunks/{split-view-pane-BLsZz263.js → split-view-pane-BPKlAR4d.js} +13 -13
- package/dist/cdn/chunks/{stacked-split-view-CcOR8LrJ.js → stacked-split-view-SrIHWkKW.js} +20 -20
- package/dist/cdn/chunks/{static-html-Cf4ccUIg.js → static-html-OvWm15yg.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CINbOihq.js → status-bar-IqyLnoMx.js} +24 -24
- package/dist/cdn/chunks/{step-bar-6FvZL1Ti.js → step-bar-DltkU-AG.js} +56 -56
- package/dist/cdn/chunks/{step-cell-CejRisgS.js → step-cell-BHW3t6nn.js} +40 -39
- package/dist/cdn/chunks/{stepper-CY2rJWOJ.js → stepper-DMlk7A-Y.js} +30 -30
- package/dist/cdn/chunks/{style-map-DsIw6lkq.js → style-map-CNYX1L3t.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BY3DBIl6.js → swatch-picker-BAKkJFgt.js} +47 -47
- package/dist/cdn/chunks/{switch-DDSsZFwK.js → switch-B3d_1Leh.js} +27 -26
- package/dist/cdn/chunks/{switch-field-CMoM9I38.js → switch-field-BXJj1PHC.js} +47 -28
- package/dist/cdn/chunks/{tab-bar-CA8K1XjU.js → tab-bar-C7T0XL0u.js} +70 -70
- package/dist/cdn/chunks/{table-DwXjCSD5.js → table-CVyPmXfX.js} +31 -31
- package/dist/cdn/chunks/{tag-DM3APy3B.js → tag-KdbJbRcK.js} +25 -25
- package/dist/cdn/chunks/{text-cell-BkEsGI3g.js → text-cell-CUH5Tf5F.js} +43 -42
- package/dist/cdn/chunks/{text-editor-BvTiMeNV.js → text-editor-Bsfygq28.js} +71 -71
- package/dist/cdn/chunks/{text-field-CUyh1-V8.js → text-field-BQxQe0ch.js} +56 -56
- package/dist/cdn/chunks/{text-B1CatNR1.js → text-lQLJJw1m.js} +45 -45
- package/dist/cdn/chunks/{time-field--5K0YTcr.js → time-field-kdMQ7qaa.js} +60 -60
- package/dist/cdn/chunks/{time-picker-W0xYXLy8.js → time-picker-T1bZ4zxP.js} +86 -79
- package/dist/cdn/chunks/{title-cell-8d8psUBX.js → title-cell-CyJr9OiV.js} +61 -63
- package/dist/cdn/chunks/{title-BuT7tWqN.js → title-yXmufzsm.js} +110 -74
- package/dist/cdn/chunks/{toggle-button-DNXWXZpE.js → toggle-button-DiZaFEAk.js} +74 -74
- package/dist/cdn/chunks/{toggle-button-group-ByowJYgs.js → toggle-button-group-DRai7q0C.js} +20 -20
- package/dist/cdn/chunks/{token-CnkEB3hB.js → token-C6EudIjw.js} +30 -30
- package/dist/cdn/chunks/{token-field-BpyxOGmU.js → token-field-OCw3wLIW.js} +69 -69
- package/dist/cdn/chunks/{toolbar-C24LqAzK.js → toolbar-K5UY_y15.js} +26 -26
- package/dist/cdn/chunks/{toolbar-item-DpPfPxCi.js → toolbar-item-CI3OVQuq.js} +13 -13
- package/dist/cdn/chunks/{toolbar-title-KBMpfL9d.js → toolbar-title-xvfrEhvQ.js} +31 -31
- package/dist/cdn/chunks/{toolbar.styles-BQkG4gVc.js → toolbar.styles-BBj5j7Iq.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BsAHJjci.js → tooltip-B6XDYQNn.js} +42 -45
- package/dist/cdn/chunks/{top-navigation-bar-C_kLPVKD.js → top-navigation-bar-D7JkgCQi.js} +86 -86
- package/dist/cdn/chunks/{top-title-bar-iNFB2zQL.js → top-title-bar-BMSTl1Z7.js} +50 -44
- package/dist/cdn/chunks/{two-thirds-one-third-section-D-UANbHC.js → two-thirds-one-third-section-Cc1Mh9TT.js} +11 -11
- package/dist/cdn/chunks/{validation-list-C5BhHZIG.js → validation-list-xF6yTpz8.js} +19 -19
- package/dist/cdn/chunks/{visibility-mixin-COAZ9pON.js → visibility-mixin-LkgEnUqn.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BPgATaH0.js → visually-hidden-CMo9yGtA.js} +6 -6
- package/dist/cdn/chunks/{window-CxV6ELE9.js → window-CclQ8SHn.js} +37 -37
- package/dist/cdn/chunks/with-translations-DdCPcavT.js +16 -0
- package/dist/components/actions/toolbar/toolbar.story-sync.js +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +9 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +23 -7
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +51 -10
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +4 -0
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/image/image.d.ts +6 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +28 -15
- 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 +1 -2
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +9 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +40 -2
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +26 -11
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +38 -12
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +74 -43
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +5 -3
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +11 -0
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +56 -4
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +6 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +9 -11
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -3
- package/dist/components/inputs/code-editor/code-editor.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 +23 -25
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +4 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.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 +4 -0
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +4 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +12 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +24 -2
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +2 -3
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +18 -17
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +19 -19
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +28 -19
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +78 -51
- 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 +2 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban-column.d.ts +1 -1
- package/dist/components/layout/kanban/kanban-column.js +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +7 -7
- package/dist/components/layout/kanban/kanban.js +9 -9
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +4 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +7 -12
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +4 -19
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -4
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +24 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +106 -11
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +6 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +46 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts +5 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js +4 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.js → reorder-handle-cell/reorder-handle-cell.js} +24 -24
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.styles.js → reorder-handle-cell/reorder-handle-cell.styles.js} +14 -14
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.d.ts → reorder-handle-cell/reorder-handle-cell.template.d.ts} +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.js → reorder-handle-cell/reorder-handle-cell.template.js} +4 -4
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +7 -5
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +4 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +5 -5
- package/dist/components/lists-and-tables/list/list.d.ts +3 -2
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +15 -21
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +30 -14
- 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 +107 -154
- 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.js +3 -3
- package/dist/components/lists-and-tables/table/table.d.ts +4 -4
- package/dist/components/lists-and-tables/table/table.js +5 -5
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
- 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.js +16 -24
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +2 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +4 -4
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +12 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +6 -2
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +2 -2
- 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.js +5 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/title.css +88 -0
- package/dist/css/variables.css +2 -3
- package/dist/nldd.min.js +940 -866
- package/dist/translations/en-US.js +1 -1
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +1 -1
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -1
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +1 -1
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +1 -1
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +45 -37
- package/dist/types/vue.d.ts +74 -59
- package/dist/utilities/autoloader.generated.js +1 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +75 -25
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +17 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/reorder-handle-mixin.d.ts +21 -0
- package/dist/utilities/reorder-handle-mixin.d.ts.map +1 -0
- package/dist/utilities/reorder-handle-mixin.js +34 -0
- package/dist/utilities/reorder-handle-mixin.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +11 -0
- package/lint/linter.js +5 -1
- package/lint/rule.schema.json +1 -0
- package/package.json +6 -6
- package/dist/cdn/chunks/blockquote-BoOqbGdm.js +0 -189
- package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +0 -3
- package/dist/cdn/chunks/nl.generated-D6T41jG3.js +0 -112
- package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +0 -47
- package/dist/cdn/chunks/with-translations-XX14GKFh.js +0 -16
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +0 -44
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +0 -5
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +0 -4
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CJCfz_g6.js";
|
|
2
|
+
import { a as r, i, n as a } from "./custom-element-DsfOrnOD.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 {
|
|
6
|
-
import {
|
|
5
|
+
import { n as c, t as l } from "./page-section-mixin-CmsW9L1S.js";
|
|
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
|
-
var f =
|
|
8
|
+
var f = r(d.smMax), p = r(d.mdMin), m = r(d.mdMax), h = r(d.lgMin), g = r(u.stackedMax), _ = i`
|
|
9
9
|
:host {
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
}
|
|
@@ -155,7 +155,7 @@ var f = e(l.smMax), p = e(l.mdMin), m = e(l.mdMax), h = e(l.lgMin), g = e(c.stac
|
|
|
155
155
|
`;
|
|
156
156
|
// src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.ts
|
|
157
157
|
function v(e) {
|
|
158
|
-
return
|
|
158
|
+
return t`
|
|
159
159
|
<section class="one-third-two-thirds-section">
|
|
160
160
|
<div class="one-third-two-thirds-section__body">
|
|
161
161
|
<header class="one-third-two-thirds-section__header"
|
|
@@ -188,7 +188,7 @@ function v(e) {
|
|
|
188
188
|
`;
|
|
189
189
|
}
|
|
190
190
|
// src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts
|
|
191
|
-
var y = class extends
|
|
191
|
+
var y = class extends l(e) {
|
|
192
192
|
constructor(...e) {
|
|
193
193
|
super(...e), this.width = "", this.verticalAlignment = "top";
|
|
194
194
|
}
|
|
@@ -201,13 +201,13 @@ var y = class extends d(r) {
|
|
|
201
201
|
render() {
|
|
202
202
|
return v(this);
|
|
203
203
|
}
|
|
204
|
-
}, b = (y.styles = [
|
|
205
|
-
|
|
204
|
+
}, b = (y.styles = [c, _], y);
|
|
205
|
+
n([a({
|
|
206
206
|
reflect: !0,
|
|
207
207
|
converter: s("")
|
|
208
|
-
})], b.prototype, "width", void 0),
|
|
208
|
+
})], b.prototype, "width", void 0), n([a({
|
|
209
209
|
reflect: !0,
|
|
210
210
|
attribute: "vertical-alignment",
|
|
211
211
|
converter: s("top")
|
|
212
|
-
})], b.prototype, "verticalAlignment", void 0), b =
|
|
212
|
+
})], b.prototype, "verticalAlignment", void 0), b = n([o("nldd-one-third-two-thirds-section")], b);
|
|
213
213
|
export { b as NLDDOneThirdTwoThirdsSection };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { i
|
|
3
|
-
import { n as r, o as i, r as a, t as o } from "./decorate-TduJMFD_.js";
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CJCfz_g6.js";
|
|
2
|
+
import { i, n as a, t as o } from "./custom-element-DsfOrnOD.js";
|
|
4
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
4
|
import { t as c } from "./query-ChDzi9FQ.js";
|
|
6
|
-
import { t as l } from "./
|
|
7
|
-
import { t as u } from "./
|
|
8
|
-
import { t as d } from "./
|
|
9
|
-
import { t as f } from "./
|
|
5
|
+
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
|
+
import { t as u } from "./described-by-mixin-CPultP0p.js";
|
|
7
|
+
import { t as d } from "./implicit-submission-Csbcor_E.js";
|
|
8
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
10
9
|
import { t as p } from "./defer-focus-F73ud2D9.js";
|
|
11
|
-
import { t as m } from "./
|
|
12
|
-
import { t as h } from "./
|
|
10
|
+
import { t as m } from "./shadow-resets-BeVmf7ky.js";
|
|
11
|
+
import { t as h } from "./class-map-DKd4N9Wz.js";
|
|
12
|
+
import "./icon-D5dJm51v.js";
|
|
13
13
|
// src/components/inputs/one-time-code-field/one-time-code-field.styles.ts
|
|
14
|
-
var g =
|
|
14
|
+
var g = i`
|
|
15
15
|
:host {
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
@@ -36,7 +36,7 @@ var g = e`
|
|
|
36
36
|
--_one-time-code-field-letter-spacing: 0.1em;
|
|
37
37
|
--_one-time-code-field-validation-icon-size: var(--semantics-input-fields-md-validation-icon-size);
|
|
38
38
|
|
|
39
|
-
${
|
|
39
|
+
${m}
|
|
40
40
|
display: block;
|
|
41
41
|
max-width: 100%;
|
|
42
42
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -327,18 +327,18 @@ var g = e`
|
|
|
327
327
|
}
|
|
328
328
|
`;
|
|
329
329
|
// src/components/inputs/one-time-code-field/one-time-code-field.template.ts
|
|
330
|
-
function _(e,
|
|
331
|
-
let
|
|
332
|
-
return
|
|
333
|
-
<div class=${
|
|
330
|
+
function _(e, r) {
|
|
331
|
+
let i = e.charAt(r), a = r === e.activeBox, o = a && !e.readonly;
|
|
332
|
+
return t`
|
|
333
|
+
<div class=${h({
|
|
334
334
|
"one-time-code-field__box": !0,
|
|
335
|
-
"is-filled":
|
|
336
|
-
"is-active":
|
|
335
|
+
"is-filled": i !== "",
|
|
336
|
+
"is-active": a
|
|
337
337
|
})}>
|
|
338
|
-
${
|
|
338
|
+
${i === "" ? o ? t`<span class="one-time-code-field__caret"></span>` : n : t`
|
|
339
339
|
<span class="one-time-code-field__character">
|
|
340
|
-
${
|
|
341
|
-
${o ?
|
|
340
|
+
${i}
|
|
341
|
+
${o ? t`<span class="one-time-code-field__caret is-after"></span>` : n}
|
|
342
342
|
</span>
|
|
343
343
|
`}
|
|
344
344
|
</div>
|
|
@@ -351,14 +351,14 @@ function v(e) {
|
|
|
351
351
|
return t.map((t) => t === C ? _(e, n++) : y(t));
|
|
352
352
|
}
|
|
353
353
|
function y(e) {
|
|
354
|
-
let
|
|
355
|
-
return
|
|
354
|
+
let n = e.trim();
|
|
355
|
+
return n === "" ? t`<span class="one-time-code-field__separator one-time-code-field__separator--space"></span>` : n === "-" || n === "–" ? t`<span class="one-time-code-field__separator one-time-code-field__separator--dash"></span>` : t`<span class="one-time-code-field__separator">${e}</span>`;
|
|
356
356
|
}
|
|
357
357
|
function b(e) {
|
|
358
|
-
return
|
|
358
|
+
return t`
|
|
359
359
|
<div class="one-time-code-field">
|
|
360
360
|
<input class="one-time-code-field__input"
|
|
361
|
-
id=${e.inputId ||
|
|
361
|
+
id=${e.inputId || n}
|
|
362
362
|
type="text"
|
|
363
363
|
inputmode=${e.type === "alphanumeric" ? "text" : "numeric"}
|
|
364
364
|
autocomplete="one-time-code"
|
|
@@ -370,9 +370,9 @@ function b(e) {
|
|
|
370
370
|
?disabled=${e.disabled}
|
|
371
371
|
?readonly=${e.readonly}
|
|
372
372
|
?required=${e.required}
|
|
373
|
-
name=${e.name ||
|
|
374
|
-
aria-label=${e.accessibleLabel ||
|
|
375
|
-
aria-invalid=${e.invalid ? "true" :
|
|
373
|
+
name=${e.name || n}
|
|
374
|
+
aria-label=${e.accessibleLabel || n}
|
|
375
|
+
aria-invalid=${e.invalid ? "true" : n}
|
|
376
376
|
@focus=${e._handleFocus}
|
|
377
377
|
@blur=${e._handleBlur}
|
|
378
378
|
@pointerdown=${e._handlePointerDown}
|
|
@@ -384,14 +384,14 @@ function b(e) {
|
|
|
384
384
|
@change=${e._handleChange}
|
|
385
385
|
>
|
|
386
386
|
<div class="one-time-code-field__input-fade"></div>
|
|
387
|
-
${e.invalid ?
|
|
387
|
+
${e.invalid ? t`
|
|
388
388
|
<div class="one-time-code-field__validation-icon-area">
|
|
389
389
|
<nldd-icon class="one-time-code-field__validation-icon"
|
|
390
390
|
icon="invalid"
|
|
391
391
|
aria-hidden="true"
|
|
392
392
|
></nldd-icon>
|
|
393
393
|
</div>
|
|
394
|
-
` :
|
|
394
|
+
` : n}
|
|
395
395
|
<div class="one-time-code-field__boxes"
|
|
396
396
|
aria-hidden="true"
|
|
397
397
|
>
|
|
@@ -407,7 +407,7 @@ var x, S = 6, C = Symbol("box"), w = {
|
|
|
407
407
|
}, T = {
|
|
408
408
|
numeric: "[0-9]",
|
|
409
409
|
alphanumeric: "[0-9A-Za-z]"
|
|
410
|
-
}, E = (x = class extends
|
|
410
|
+
}, E = (x = class extends u(l(e)) {
|
|
411
411
|
constructor(...e) {
|
|
412
412
|
super(...e), this._initialValue = "", this.size = "md", this.centered = !1, this.length = S, this.format = "", this.accessibleLabel = "", this.invalid = !1, this.readonly = !1, this.disabled = !1, this.inputId = "", this.name = "", this.value = "", this.type = "numeric", this.uppercase = !1, this.required = !1, this._focused = !1, this._chars = [], this._box = 0, this._completed = "", this._pressedBox = null;
|
|
413
413
|
}
|
|
@@ -512,10 +512,10 @@ var x, S = 6, C = Symbol("box"), w = {
|
|
|
512
512
|
_handlePointerDown(e) {
|
|
513
513
|
if (this._asField) return;
|
|
514
514
|
let t = this._boxAt(e.clientX);
|
|
515
|
-
this._pressedBox = t, this._moveTo(t),
|
|
515
|
+
this._pressedBox = t, this._moveTo(t), e.pointerType !== "mouse" || this.disabled || (e.preventDefault(), this._input.focus());
|
|
516
516
|
}
|
|
517
517
|
_handleFocus() {
|
|
518
|
-
this._focused = !0,
|
|
518
|
+
this._focused = !0, this._asField || (this._pressedBox === null && this._moveTo(this._nextBox), this._pressedBox = null, this._keepNativeCaretAtEnd());
|
|
519
519
|
}
|
|
520
520
|
_handleBlur() {
|
|
521
521
|
this._focused = !1, this._pressedBox = null;
|
|
@@ -598,7 +598,7 @@ var x, S = 6, C = Symbol("box"), w = {
|
|
|
598
598
|
this._setChars(n, r);
|
|
599
599
|
}
|
|
600
600
|
_handleKeydown(e) {
|
|
601
|
-
if (
|
|
601
|
+
if (d(this, e), this._asField || e.altKey || e.ctrlKey || e.metaKey) return;
|
|
602
602
|
let t = {
|
|
603
603
|
ArrowLeft: () => this._box - 1,
|
|
604
604
|
ArrowRight: () => Math.min(this._box + 1, this._nextBox),
|
|
@@ -624,7 +624,7 @@ var x, S = 6, C = Symbol("box"), w = {
|
|
|
624
624
|
detail: { value: this.value },
|
|
625
625
|
bubbles: !0,
|
|
626
626
|
composed: !0
|
|
627
|
-
})), e.includes("") || n.length < this.boxes ? this._completed = "" : n !== this._completed && (this._completed = n, this.dispatchEvent(new CustomEvent("
|
|
627
|
+
})), e.includes("") || n.length < this.boxes ? this._completed = "" : n !== this._completed && (this._completed = n, this.dispatchEvent(new CustomEvent("complete", {
|
|
628
628
|
detail: { value: n },
|
|
629
629
|
bubbles: !0,
|
|
630
630
|
composed: !0
|
|
@@ -647,47 +647,47 @@ var x, S = 6, C = Symbol("box"), w = {
|
|
|
647
647
|
return b(this);
|
|
648
648
|
}
|
|
649
649
|
}, x.shadowRootOptions = {
|
|
650
|
-
...
|
|
650
|
+
...e.shadowRootOptions,
|
|
651
651
|
delegatesFocus: !0
|
|
652
652
|
}, x.styles = g, x.isFormInput = !0, x.blocksImplicitSubmission = !0, x);
|
|
653
|
-
|
|
653
|
+
r([a({
|
|
654
654
|
reflect: !0,
|
|
655
|
-
converter:
|
|
656
|
-
})], E.prototype, "size", void 0),
|
|
655
|
+
converter: f("md")
|
|
656
|
+
})], E.prototype, "size", void 0), r([a({
|
|
657
657
|
type: Boolean,
|
|
658
658
|
reflect: !0
|
|
659
|
-
})], E.prototype, "centered", void 0),
|
|
659
|
+
})], E.prototype, "centered", void 0), r([a({
|
|
660
660
|
reflect: !0,
|
|
661
|
-
converter:
|
|
662
|
-
})], E.prototype, "length", void 0),
|
|
661
|
+
converter: f(S)
|
|
662
|
+
})], E.prototype, "length", void 0), r([a({
|
|
663
663
|
reflect: !0,
|
|
664
|
-
converter:
|
|
665
|
-
})], E.prototype, "format", void 0),
|
|
664
|
+
converter: f("")
|
|
665
|
+
})], E.prototype, "format", void 0), r([a({
|
|
666
666
|
type: String,
|
|
667
667
|
attribute: "accessible-label"
|
|
668
|
-
})], E.prototype, "accessibleLabel", void 0),
|
|
668
|
+
})], E.prototype, "accessibleLabel", void 0), r([a({
|
|
669
669
|
type: Boolean,
|
|
670
670
|
reflect: !0
|
|
671
|
-
})], E.prototype, "invalid", void 0),
|
|
671
|
+
})], E.prototype, "invalid", void 0), r([a({
|
|
672
672
|
type: Boolean,
|
|
673
673
|
reflect: !0
|
|
674
|
-
})], E.prototype, "readonly", void 0),
|
|
674
|
+
})], E.prototype, "readonly", void 0), r([a({
|
|
675
675
|
type: Boolean,
|
|
676
676
|
reflect: !0
|
|
677
|
-
})], E.prototype, "disabled", void 0),
|
|
677
|
+
})], E.prototype, "disabled", void 0), r([a({
|
|
678
678
|
type: String,
|
|
679
679
|
attribute: "input-id"
|
|
680
|
-
})], E.prototype, "inputId", void 0),
|
|
680
|
+
})], E.prototype, "inputId", void 0), r([a({
|
|
681
681
|
reflect: !0,
|
|
682
|
-
converter:
|
|
683
|
-
})], E.prototype, "name", void 0),
|
|
682
|
+
converter: f("")
|
|
683
|
+
})], E.prototype, "name", void 0), r([a({ type: String })], E.prototype, "value", void 0), r([a({
|
|
684
684
|
reflect: !0,
|
|
685
|
-
converter:
|
|
686
|
-
})], E.prototype, "type", void 0),
|
|
685
|
+
converter: f("numeric")
|
|
686
|
+
})], E.prototype, "type", void 0), r([a({
|
|
687
687
|
type: Boolean,
|
|
688
688
|
reflect: !0
|
|
689
|
-
})], E.prototype, "uppercase", void 0),
|
|
689
|
+
})], E.prototype, "uppercase", void 0), r([a({
|
|
690
690
|
type: Boolean,
|
|
691
691
|
reflect: !0
|
|
692
|
-
})], E.prototype, "required", void 0),
|
|
692
|
+
})], E.prototype, "required", void 0), r([o()], E.prototype, "_focused", void 0), r([o()], E.prototype, "_chars", void 0), r([o()], E.prototype, "_box", void 0), r([c(".one-time-code-field__input")], E.prototype, "_input", void 0), E = r([s("nldd-one-time-code-field")], E);
|
|
693
693
|
export { C as BOX, E as NLDDOneTimeCodeField };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
+
import { n as t, r as n, t as r } from "./decorate-CJCfz_g6.js";
|
|
3
|
+
import { i, n as a, t as o } from "./custom-element-DsfOrnOD.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import {
|
|
6
|
-
import { r as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { i as c, r as l } from "./scroll-mode-controller-COUD1-3P.js";
|
|
6
|
+
import { r as u, t as d } from "./static-html-OvWm15yg.js";
|
|
7
|
+
import { r as f } from "./element-state-B-44fVqq.js";
|
|
8
|
+
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
9
|
// src/components/layout/page/page.styles.ts
|
|
10
|
-
var m =
|
|
10
|
+
var m = i`
|
|
11
11
|
:host {
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
}
|
|
@@ -253,25 +253,25 @@ var m = t`
|
|
|
253
253
|
`;
|
|
254
254
|
// src/components/layout/page/page.template.ts
|
|
255
255
|
function h(e) {
|
|
256
|
-
let t = e._isRegion,
|
|
257
|
-
return
|
|
258
|
-
<${
|
|
259
|
-
aria-label=${t ?
|
|
256
|
+
let t = e._isRegion, r = t ? d`section` : d`div`, i = t ? d`div` : d`main`, a = e.accessibleLabel.trim() || n;
|
|
257
|
+
return u`
|
|
258
|
+
<${r} class="page"
|
|
259
|
+
aria-label=${t ? a : n}
|
|
260
260
|
>
|
|
261
261
|
<header class="page__header ${e._scrolled ? "is-scrolled" : ""}">
|
|
262
262
|
<slot name="header"></slot>
|
|
263
263
|
</header>
|
|
264
264
|
<div class="page__scroll">
|
|
265
|
-
<${
|
|
266
|
-
aria-label=${t ?
|
|
265
|
+
<${i} class="page__main"
|
|
266
|
+
aria-label=${t ? n : a}
|
|
267
267
|
>
|
|
268
268
|
<slot></slot>
|
|
269
|
-
</${
|
|
269
|
+
</${i}>
|
|
270
270
|
<footer class="page__footer ${e._atEnd ? "is-at-end" : ""}">
|
|
271
271
|
<slot name="footer"></slot>
|
|
272
272
|
</footer>
|
|
273
273
|
</div>
|
|
274
|
-
</${
|
|
274
|
+
</${r}>
|
|
275
275
|
`;
|
|
276
276
|
}
|
|
277
277
|
// src/components/layout/page/page.ts
|
|
@@ -284,7 +284,7 @@ var g = /* @__PURE__ */ e({ NLDDPage: () => x }), _, v = [
|
|
|
284
284
|
"nldd-navigation-split-view",
|
|
285
285
|
"nldd-side-by-side-split-view",
|
|
286
286
|
"nldd-stacked-split-view"
|
|
287
|
-
], b = /* @__PURE__ */ new Set(), x = (_ = class extends
|
|
287
|
+
], b = /* @__PURE__ */ new Set(), x = (_ = class extends t {
|
|
288
288
|
constructor(...e) {
|
|
289
289
|
super(...e), this.background = "inherit", this.accessibleLabel = "", this.stickyHeader = !1, this.stickyFooter = !1, this.landmarks = "auto", this._scrolled = !1, this._atEnd = !0, this._derived = "page", this._scrollMode = "nested", this._scrollTarget = null, this._scrollProvider = null, this._insetObserver = null, this._headerFullHeight = 0, this._mainSlot = null, this._mainAttrObserver = null, this._resizeRaf = 0, this._adoptScrollProvider = (e) => {
|
|
290
290
|
this._scrollProvider || (window.removeEventListener("resize", this._onResize), this._scrollProvider = e, e.registerScrollConsumer(this), this.hasUpdated && this._configureScroll());
|
|
@@ -323,7 +323,7 @@ var g = /* @__PURE__ */ e({ NLDDPage: () => x }), _, v = [
|
|
|
323
323
|
_syncSecondMain() {
|
|
324
324
|
if (!import.meta.env?.DEV) return;
|
|
325
325
|
let [, ...e] = [...b].filter((e) => !e._isRegion);
|
|
326
|
-
|
|
326
|
+
f(this, "second-main", e.includes(this));
|
|
327
327
|
}
|
|
328
328
|
get _isRoot() {
|
|
329
329
|
return this._scrollMode === "root";
|
|
@@ -344,7 +344,7 @@ var g = /* @__PURE__ */ e({ NLDDPage: () => x }), _, v = [
|
|
|
344
344
|
return this.shadowRoot?.querySelector(".page__footer") ?? null;
|
|
345
345
|
}
|
|
346
346
|
connectedCallback() {
|
|
347
|
-
super.connectedCallback(), this._deriveLandmarks(), b.add(this), this.style.containerType = "inline-size", this.style.containerName = "layout-container", this._scrollProvider =
|
|
347
|
+
super.connectedCallback(), this._deriveLandmarks(), b.add(this), this.style.containerType = "inline-size", this.style.containerName = "layout-container", this._scrollProvider = l(this), this._scrollProvider ? (this._scrollProvider.registerScrollConsumer(this), this.hasUpdated && this._configureScroll()) : (window.addEventListener("resize", this._onResize, { passive: !0 }), this.hasUpdated && (this._readScrollMode(), this._configureScroll()), c(this, this._adoptScrollProvider));
|
|
348
348
|
}
|
|
349
349
|
disconnectedCallback() {
|
|
350
350
|
super.disconnectedCallback(), b.delete(this), window.removeEventListener("resize", this._onResize), this._scrollProvider?.unregisterScrollConsumer(this), this._scrollProvider = null, this._resizeRaf && cancelAnimationFrame(this._resizeRaf), this._teardownScrollListener(), this._teardownInsetObserver(), this._teardownMainSlotListener();
|
|
@@ -410,22 +410,22 @@ var g = /* @__PURE__ */ e({ NLDDPage: () => x }), _, v = [
|
|
|
410
410
|
return h(this);
|
|
411
411
|
}
|
|
412
412
|
}, _.styles = m, _);
|
|
413
|
-
|
|
413
|
+
r([a({
|
|
414
414
|
reflect: !0,
|
|
415
|
-
converter:
|
|
416
|
-
})], x.prototype, "background", void 0),
|
|
415
|
+
converter: p("inherit")
|
|
416
|
+
})], x.prototype, "background", void 0), r([a({
|
|
417
417
|
type: String,
|
|
418
418
|
attribute: "accessible-label"
|
|
419
|
-
})], x.prototype, "accessibleLabel", void 0),
|
|
419
|
+
})], x.prototype, "accessibleLabel", void 0), r([a({
|
|
420
420
|
type: Boolean,
|
|
421
421
|
reflect: !0,
|
|
422
422
|
attribute: "sticky-header"
|
|
423
|
-
})], x.prototype, "stickyHeader", void 0),
|
|
423
|
+
})], x.prototype, "stickyHeader", void 0), r([a({
|
|
424
424
|
type: Boolean,
|
|
425
425
|
reflect: !0,
|
|
426
426
|
attribute: "sticky-footer"
|
|
427
|
-
})], x.prototype, "stickyFooter", void 0),
|
|
427
|
+
})], x.prototype, "stickyFooter", void 0), r([a({
|
|
428
428
|
reflect: !0,
|
|
429
|
-
converter:
|
|
430
|
-
})], x.prototype, "landmarks", void 0),
|
|
429
|
+
converter: p("auto")
|
|
430
|
+
})], x.prototype, "landmarks", void 0), r([o()], x.prototype, "_scrolled", void 0), r([o()], x.prototype, "_atEnd", void 0), r([o()], x.prototype, "_derived", void 0), x = r([s("nldd-page")], x);
|
|
431
431
|
export { g as t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CJCfz_g6.js";
|
|
2
|
+
import { a as i, i as a, n as o, t as s } from "./custom-element-DsfOrnOD.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as l } from "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as f } from "./
|
|
8
|
-
import {
|
|
9
|
-
import { t as m } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { t as g } from "./
|
|
4
|
+
import { t as l } from "./slot-content-BLuPqVXw.js";
|
|
5
|
+
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
+
import { t as f } from "./shadow-resets-BeVmf7ky.js";
|
|
8
|
+
import { t as p } from "./page-footer.i18n-pbdr4lN3.js";
|
|
9
|
+
import { t as m } from "./translations-wxBSz213.js";
|
|
10
|
+
import { r as h } from "./element-state-B-44fVqq.js";
|
|
11
|
+
import { t as g } from "./list-items-Du0RCWsY.js";
|
|
12
12
|
// src/components/layout/page-footer/page-footer.styles.ts
|
|
13
|
-
var _ =
|
|
13
|
+
var _ = i(d.smMax), v = i(d.mdMin), y = i(d.mdMax), b = i(d.lgMin), x = a`
|
|
14
14
|
:host {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
}
|
|
@@ -41,11 +41,13 @@ var _ = e(p.smMax), v = e(p.mdMin), y = e(p.mdMax), b = e(p.lgMin), x = t`
|
|
|
41
41
|
|
|
42
42
|
.page-footer {
|
|
43
43
|
--_page-footer-ribbon-height: calc(var(--_page-footer-ribbon-width) / 2);
|
|
44
|
+
--_page-footer-ribbon-room: var(--primitives-space-16);
|
|
44
45
|
|
|
45
46
|
box-sizing: border-box;
|
|
46
47
|
display: flex;
|
|
47
48
|
position: relative;
|
|
48
49
|
width: 100%;
|
|
50
|
+
padding-bottom: var(--_page-footer-ribbon-room);
|
|
49
51
|
flex-direction: column;
|
|
50
52
|
align-items: center;
|
|
51
53
|
|
|
@@ -70,12 +72,13 @@ var _ = e(p.smMax), v = e(p.mdMin), y = e(p.mdMax), b = e(p.lgMin), x = t`
|
|
|
70
72
|
transparent host) so a preceding tinted page section doesn't butt right up
|
|
71
73
|
against the ribbon. */
|
|
72
74
|
:host([empty]) .page-footer {
|
|
73
|
-
|
|
75
|
+
--_page-footer-ribbon-room: var(--_page-footer-ribbon-height);
|
|
74
76
|
margin-top: var(--_page-footer-ribbon-height);
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
:host([no-ribbon]) .page-footer {
|
|
78
80
|
--_page-footer-ribbon-height: 0px;
|
|
81
|
+
--_page-footer-ribbon-room: 0px;
|
|
79
82
|
}
|
|
80
83
|
|
|
81
84
|
:host(:not([no-ribbon])) .page-footer::after {
|
|
@@ -137,24 +140,6 @@ var _ = e(p.smMax), v = e(p.mdMin), y = e(p.mdMax), b = e(p.lgMin), x = t`
|
|
|
137
140
|
padding-block: var(--_page-footer-section-padding-block);
|
|
138
141
|
}
|
|
139
142
|
|
|
140
|
-
.page-footer__body > div:not([hidden]):not(:has(~ div:not([hidden]))) {
|
|
141
|
-
padding-bottom: calc(var(--primitives-space-16) + var(--_page-footer-ribbon-height));
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
:host([no-ribbon]:not([single-slot])) .page-footer__body > div:not([hidden]):not(:has(~ div:not([hidden]))) {
|
|
145
|
-
padding-bottom: var(--_page-footer-section-padding-block);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
:host([single-slot]) .page-footer__body > div:not([hidden]) {
|
|
149
|
-
padding-top: calc(var(--primitives-space-16) + var(--_page-footer-ribbon-height));
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
:host([single-slot]:not([no-ribbon])) .page-footer__body > div:not([hidden]) {
|
|
153
|
-
@container (max-width: ${_}) {
|
|
154
|
-
padding-block: var(--primitives-space-32);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
143
|
.page-footer__breadcrumbs[hidden],
|
|
159
144
|
.page-footer__main[hidden],
|
|
160
145
|
.page-footer__legal-bar[hidden],
|
|
@@ -175,7 +160,7 @@ var _ = e(p.smMax), v = e(p.mdMin), y = e(p.mdMax), b = e(p.lgMin), x = t`
|
|
|
175
160
|
background-color: CanvasText;
|
|
176
161
|
}
|
|
177
162
|
}
|
|
178
|
-
`, S =
|
|
163
|
+
`, S = a`
|
|
179
164
|
:host {
|
|
180
165
|
display: block;
|
|
181
166
|
}
|
|
@@ -220,11 +205,11 @@ var _ = e(p.smMax), v = e(p.mdMin), y = e(p.mdMax), b = e(p.lgMin), x = t`
|
|
|
220
205
|
.page-footer__legal-bar-start[hidden] + .page-footer__legal-bar-end {
|
|
221
206
|
margin-inline-start: auto;
|
|
222
207
|
}
|
|
223
|
-
`, C =
|
|
208
|
+
`, C = a`
|
|
224
209
|
:host {
|
|
225
210
|
--_page-footer-legal-bar-item-color: var(--semantics-content-secondary-color);
|
|
226
211
|
|
|
227
|
-
${
|
|
212
|
+
${f}
|
|
228
213
|
display: inline-flex;
|
|
229
214
|
}
|
|
230
215
|
|
|
@@ -252,8 +237,8 @@ var _ = e(p.smMax), v = e(p.mdMin), y = e(p.mdMax), b = e(p.lgMin), x = t`
|
|
|
252
237
|
`;
|
|
253
238
|
// src/components/layout/page-footer/page-footer.template.ts
|
|
254
239
|
function w(e) {
|
|
255
|
-
let
|
|
256
|
-
return
|
|
240
|
+
let n = e._hasBreadcrumbs && e._hasMain, r = (e._hasBreadcrumbs || e._hasMain) && e._hasLegalBar;
|
|
241
|
+
return t`
|
|
257
242
|
<div class="page-footer">
|
|
258
243
|
<div class="page-footer__body">
|
|
259
244
|
<div class="page-footer__breadcrumbs"
|
|
@@ -265,7 +250,7 @@ function w(e) {
|
|
|
265
250
|
></slot>
|
|
266
251
|
</div>
|
|
267
252
|
<hr class="page-footer__divider"
|
|
268
|
-
?hidden=${!
|
|
253
|
+
?hidden=${!n}
|
|
269
254
|
>
|
|
270
255
|
<div class="page-footer__main"
|
|
271
256
|
?hidden=${!e._hasMain}
|
|
@@ -273,7 +258,7 @@ function w(e) {
|
|
|
273
258
|
<slot @slotchange=${e._onSlotChange}></slot>
|
|
274
259
|
</div>
|
|
275
260
|
<hr class="page-footer__divider"
|
|
276
|
-
?hidden=${!
|
|
261
|
+
?hidden=${!r}
|
|
277
262
|
>
|
|
278
263
|
<div class="page-footer__legal-bar"
|
|
279
264
|
?hidden=${!e._hasLegalBar}
|
|
@@ -288,10 +273,10 @@ function w(e) {
|
|
|
288
273
|
`;
|
|
289
274
|
}
|
|
290
275
|
function T(e) {
|
|
291
|
-
let
|
|
292
|
-
return
|
|
276
|
+
let r = e._t("components.page-footer.legal-bar-accessible-label");
|
|
277
|
+
return t`
|
|
293
278
|
<nav class="page-footer__legal-bar"
|
|
294
|
-
aria-label=${
|
|
279
|
+
aria-label=${r || n}
|
|
295
280
|
?hidden=${!e._hasStart && !e._hasEnd}
|
|
296
281
|
>
|
|
297
282
|
<div class="page-footer__legal-bar-start"
|
|
@@ -316,52 +301,52 @@ function T(e) {
|
|
|
316
301
|
`;
|
|
317
302
|
}
|
|
318
303
|
function E(e) {
|
|
319
|
-
let
|
|
320
|
-
return e.href ?
|
|
304
|
+
let r = t`${e._textSlot.has ? n : e.text}<slot @slotchange=${e._textSlot.onChange}></slot>`;
|
|
305
|
+
return e.href ? t`
|
|
321
306
|
<span class="page-footer__legal-bar-item">
|
|
322
307
|
<a class="page-footer__legal-bar-item-link"
|
|
323
308
|
href=${e.href}
|
|
324
|
-
>${
|
|
309
|
+
>${r}</a>
|
|
325
310
|
</span>
|
|
326
|
-
` :
|
|
311
|
+
` : t`<span class="page-footer__legal-bar-item">${r}</span>`;
|
|
327
312
|
}
|
|
328
313
|
// src/components/layout/page-footer/page-footer.ts
|
|
329
|
-
var D, O, k, A = class extends
|
|
314
|
+
var D, O, k, A = class extends e {
|
|
330
315
|
constructor(...e) {
|
|
331
|
-
super(...e), this._textSlot = new
|
|
316
|
+
super(...e), this._textSlot = new l(this), this.text = "";
|
|
332
317
|
}
|
|
333
318
|
render() {
|
|
334
319
|
return E(this);
|
|
335
320
|
}
|
|
336
321
|
};
|
|
337
|
-
D = A, D.styles = C,
|
|
322
|
+
D = A, D.styles = C, r([o({
|
|
338
323
|
reflect: !0,
|
|
339
|
-
converter:
|
|
340
|
-
})], A.prototype, "text", void 0),
|
|
324
|
+
converter: u("")
|
|
325
|
+
})], A.prototype, "text", void 0), r([o({
|
|
341
326
|
type: String,
|
|
342
327
|
reflect: !0
|
|
343
328
|
})], A.prototype, "href", void 0), customElements.get("nldd-page-footer-legal-bar-item") || customElements.define("nldd-page-footer-legal-bar-item", A);
|
|
344
|
-
var j = class extends
|
|
329
|
+
var j = class extends e {
|
|
345
330
|
constructor(...e) {
|
|
346
331
|
super(...e), this.accessibleLabel = "", this.translations = {}, this._hasStart = !1, this._hasEnd = !1, this._onSlotChange = (e) => {
|
|
347
332
|
let t = e.target;
|
|
348
|
-
|
|
333
|
+
g(t.assignedElements());
|
|
349
334
|
let n = t.assignedElements().length > 0, r = t.getAttribute("name") ?? "";
|
|
350
335
|
r === "start" ? this._hasStart = n : r === "end" && (this._hasEnd = n);
|
|
351
336
|
};
|
|
352
337
|
}
|
|
353
338
|
_t(e) {
|
|
354
|
-
return e === "components.page-footer.legal-bar-accessible-label" && this.accessibleLabel ? this.accessibleLabel :
|
|
339
|
+
return e === "components.page-footer.legal-bar-accessible-label" && this.accessibleLabel ? this.accessibleLabel : m(this.translations, p, e);
|
|
355
340
|
}
|
|
356
341
|
render() {
|
|
357
342
|
return T(this);
|
|
358
343
|
}
|
|
359
344
|
};
|
|
360
|
-
O = j, O.styles = S,
|
|
345
|
+
O = j, O.styles = S, r([o({
|
|
361
346
|
type: String,
|
|
362
347
|
attribute: "accessible-label"
|
|
363
|
-
})], j.prototype, "accessibleLabel", void 0),
|
|
364
|
-
var M = (k = class extends
|
|
348
|
+
})], j.prototype, "accessibleLabel", void 0), r([o({ type: Object })], j.prototype, "translations", void 0), r([s()], j.prototype, "_hasStart", void 0), r([s()], j.prototype, "_hasEnd", void 0), customElements.get("nldd-page-footer-legal-bar") || customElements.define("nldd-page-footer-legal-bar", j);
|
|
349
|
+
var M = (k = class extends e {
|
|
365
350
|
constructor(...e) {
|
|
366
351
|
super(...e), this.width = "", this.noRibbon = !1, this._hasBreadcrumbs = !1, this._hasMain = !1, this._hasLegalBar = !1, this._onSlotChange = (e) => {
|
|
367
352
|
let t = e.target, n = this._hasMeaningfulContent(t), r = t.getAttribute("name") ?? "";
|
|
@@ -369,14 +354,14 @@ var M = (k = class extends i {
|
|
|
369
354
|
};
|
|
370
355
|
}
|
|
371
356
|
connectedCallback() {
|
|
372
|
-
super.connectedCallback(), this.
|
|
357
|
+
super.connectedCallback(), this.id || (import.meta.env?.DEV && h(this, "duplicate-id", document.getElementById("page-footer") !== null), this.id = "page-footer");
|
|
373
358
|
}
|
|
374
359
|
_hasMeaningfulContent(e) {
|
|
375
360
|
return (e?.assignedNodes({ flatten: !0 }) ?? []).some((e) => e.nodeType === Node.ELEMENT_NODE || e.nodeType === Node.TEXT_NODE && (e.textContent?.trim() ?? "") !== "");
|
|
376
361
|
}
|
|
377
362
|
updated(e) {
|
|
378
363
|
let t = +!!this._hasBreadcrumbs + +!!this._hasMain + +!!this._hasLegalBar;
|
|
379
|
-
if (this.toggleAttribute("
|
|
364
|
+
if (this.toggleAttribute("empty", t === 0), e.has("width")) {
|
|
380
365
|
let e = this.width;
|
|
381
366
|
e && e !== "full" && CSS.supports("max-width", e) ? this.style.setProperty("--_page-footer-max-width", e) : this.style.removeProperty("--_page-footer-max-width");
|
|
382
367
|
}
|
|
@@ -385,12 +370,12 @@ var M = (k = class extends i {
|
|
|
385
370
|
return w(this);
|
|
386
371
|
}
|
|
387
372
|
}, k.styles = x, k);
|
|
388
|
-
|
|
373
|
+
r([o({
|
|
389
374
|
reflect: !0,
|
|
390
|
-
converter:
|
|
391
|
-
})], M.prototype, "width", void 0),
|
|
375
|
+
converter: u("")
|
|
376
|
+
})], M.prototype, "width", void 0), r([o({
|
|
392
377
|
type: Boolean,
|
|
393
378
|
reflect: !0,
|
|
394
379
|
attribute: "no-ribbon"
|
|
395
|
-
})], M.prototype, "noRibbon", void 0),
|
|
380
|
+
})], M.prototype, "noRibbon", void 0), r([s()], M.prototype, "_hasBreadcrumbs", void 0), r([s()], M.prototype, "_hasMain", void 0), r([s()], M.prototype, "_hasLegalBar", void 0), M = r([c("nldd-page-footer")], M);
|
|
396
381
|
export { M as NLDDPageFooter, j as NLDDPageFooterLegalBar, A as NLDDPageFooterLegalBarItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, n as t } from "./custom-element-
|
|
2
|
-
import { t as n } from "./decorate-
|
|
1
|
+
import { i as e, n as t } from "./custom-element-DsfOrnOD.js";
|
|
2
|
+
import { t as n } from "./decorate-CJCfz_g6.js";
|
|
3
3
|
import { t as r } from "./reflect-non-default-Bu3rpCvg.js";
|
|
4
4
|
// src/utilities/page-section-mixin.ts
|
|
5
5
|
var i = e`
|