@nldd/design-system 0.21.0 → 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 +864 -232
- 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-rknt4FBO.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-DyBQSaQl.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-Clti_wKN.js → date-field-FactdbhC.js} +125 -117
- package/dist/cdn/chunks/{date-picker-2TCQLd5D.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-CUc4WWY3.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-Bff6_1pp.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-Cg1l0HhB.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-0NFXvq-v.js → menu-bar-MPNB2ovW.js} +21 -21
- package/dist/cdn/chunks/{menu-bar-item-DGSC_ETi.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-BOu_pD1Q.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-C-CVVtfl.js → popover-DpCE_XjR.js} +92 -58
- 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/{return-focus-Xmagtk6r.js → return-focus-BzZWhXhc.js} +21 -16
- 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-BdVCqm2H.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-DP4jnS7g.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-BeXnOUTt.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-DmslEoPD.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-Cj5WojfO.js → time-field-kdMQ7qaa.js} +123 -113
- 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-hvDB3l6O.js → token-field-OCw3wLIW.js} +69 -69
- package/dist/cdn/chunks/{toolbar-iNd1VmuG.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-D1hjWIF3.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-t5iFkMLY.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 +10 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +24 -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/identity/identity.d.ts +1 -0
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +1 -0
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/image/image.d.ts +7 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +29 -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 +10 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +41 -2
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.d.ts +1 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +1 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +26 -10
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +38 -11
- 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 +57 -4
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +1 -0
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +1 -0
- package/dist/components/forms/form-field/form-field.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/date-field/date-field.d.ts +9 -4
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +20 -7
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -0
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +1 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +1 -0
- package/dist/components/inputs/dropdown/dropdown.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-field/time-field.d.ts +4 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +17 -2
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +1 -0
- package/dist/components/inputs/time-field/time-field.template.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/page-sections/hero/hero.d.ts +1 -0
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -0
- package/dist/components/layout/page-sections/hero/hero.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 +110 -13
- 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 +942 -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/dist/utilities/return-focus.d.ts +14 -0
- package/dist/utilities/return-focus.d.ts.map +1 -1
- package/dist/utilities/return-focus.js +26 -8
- package/dist/utilities/return-focus.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +53 -1
- package/lint/fix.js +11 -0
- package/lint/format.js +6 -5
- package/lint/frontends.js +224 -16
- package/lint/linter.js +10 -4
- package/lint/main.js +36 -9
- package/lint/project.js +73 -4
- package/lint/rule-data.js +17 -2
- package/lint/rule.schema.json +1 -0
- package/lint/tree.js +3 -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,14 +1,14 @@
|
|
|
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 } from "./custom-element-DsfOrnOD.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as d } from "./described-by-mixin-
|
|
4
|
+
import { t as c } from "./owned-attribute-x9OCTy_4.js";
|
|
5
|
+
import { r as l, t as u } from "./render-marked-CAskRZMx.js";
|
|
6
|
+
import { n as d } from "./described-by-mixin-CPultP0p.js";
|
|
7
7
|
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { n as p, t as m } from "./shadow-resets-BeVmf7ky.js";
|
|
9
|
+
import { r as h } from "./element-state-B-44fVqq.js";
|
|
10
10
|
// src/components/forms/form-field/form-field.styles.ts
|
|
11
|
-
var g =
|
|
11
|
+
var g = i(f.mdMin), _ = a`
|
|
12
12
|
:host {
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
}
|
|
@@ -20,7 +20,7 @@ var g = e(f.mdMin), _ = t`
|
|
|
20
20
|
--_form-field-gap: var(--primitives-space-4);
|
|
21
21
|
--_form-field-description-gap: var(--primitives-space-4);
|
|
22
22
|
|
|
23
|
-
${
|
|
23
|
+
${m}
|
|
24
24
|
display: block;
|
|
25
25
|
width: 100%;
|
|
26
26
|
container-type: inline-size;
|
|
@@ -178,13 +178,13 @@ var g = e(f.mdMin), _ = t`
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
`, v =
|
|
181
|
+
`, v = a`
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
/* # Host */
|
|
185
185
|
|
|
186
186
|
:host {
|
|
187
|
-
${
|
|
187
|
+
${m}
|
|
188
188
|
display: contents;
|
|
189
189
|
}
|
|
190
190
|
|
|
@@ -207,8 +207,8 @@ var g = e(f.mdMin), _ = t`
|
|
|
207
207
|
/* # Links */
|
|
208
208
|
|
|
209
209
|
::slotted(a) {
|
|
210
|
-
${
|
|
211
|
-
${
|
|
210
|
+
${p}
|
|
211
|
+
${m}
|
|
212
212
|
border-radius: var(--primitives-corner-radius-xxs) !important;
|
|
213
213
|
color: var(--semantics-links-color) !important;
|
|
214
214
|
text-decoration: underline !important;
|
|
@@ -237,27 +237,27 @@ var g = e(f.mdMin), _ = t`
|
|
|
237
237
|
`;
|
|
238
238
|
// src/components/forms/form-field/form-field.template.ts
|
|
239
239
|
function y(e) {
|
|
240
|
-
return
|
|
240
|
+
return t`<span class="form-field__optional">${e}</span>`;
|
|
241
241
|
}
|
|
242
242
|
function b(e) {
|
|
243
|
-
let
|
|
244
|
-
<div class="form-field__header ${!
|
|
245
|
-
${
|
|
243
|
+
let r = !!e.label, i = !!e.supportingLabel, a = t`
|
|
244
|
+
<div class="form-field__header ${!r && !i ? "is-empty" : ""}">
|
|
245
|
+
${r ? t`
|
|
246
246
|
<label class="form-field__label"
|
|
247
247
|
@click=${(t) => e._focusInput(t)}
|
|
248
248
|
>
|
|
249
|
-
<span>${
|
|
250
|
-
${e.optional ? y(e.optionalLabel) :
|
|
249
|
+
<span>${u(e.label)}</span>
|
|
250
|
+
${e.optional ? y(e.optionalLabel) : n}
|
|
251
251
|
</label>
|
|
252
|
-
` :
|
|
253
|
-
${
|
|
254
|
-
<span class="form-field__supporting-label">${
|
|
255
|
-
` :
|
|
252
|
+
` : n}
|
|
253
|
+
${i ? t`
|
|
254
|
+
<span class="form-field__supporting-label">${u(e.supportingLabel)}</span>
|
|
255
|
+
` : n}
|
|
256
256
|
</div>
|
|
257
257
|
`;
|
|
258
|
-
return
|
|
258
|
+
return t`
|
|
259
259
|
<div class="form-field">
|
|
260
|
-
${
|
|
260
|
+
${a}
|
|
261
261
|
<div class="form-field__main">
|
|
262
262
|
<slot></slot>
|
|
263
263
|
<slot name="help"></slot>
|
|
@@ -266,7 +266,7 @@ function b(e) {
|
|
|
266
266
|
`;
|
|
267
267
|
}
|
|
268
268
|
function x(e) {
|
|
269
|
-
return
|
|
269
|
+
return t`
|
|
270
270
|
<p class="form-field__help-text">
|
|
271
271
|
<slot></slot>
|
|
272
272
|
</p>
|
|
@@ -280,7 +280,7 @@ function T(e) {
|
|
|
280
280
|
function E() {
|
|
281
281
|
return `nldd-field-input-${crypto.randomUUID?.() ?? Math.random().toString(36).slice(2)}`;
|
|
282
282
|
}
|
|
283
|
-
var D = (S = class extends
|
|
283
|
+
var D = (S = class extends e {
|
|
284
284
|
constructor(...e) {
|
|
285
285
|
super(...e), this.labelAlignment = void 0, this.label = "", this.supportingLabel = "", this.optional = !1, this.optionalLabel = "Optioneel", this._childObserver = null, this._listObserver = null, this._appliedLabel = null;
|
|
286
286
|
}
|
|
@@ -305,18 +305,18 @@ var D = (S = class extends r {
|
|
|
305
305
|
}
|
|
306
306
|
_onSlotChange() {
|
|
307
307
|
let e = this._findInput();
|
|
308
|
-
|
|
308
|
+
h(this, "has-input", !!e), e && ("inputId" in e ? e.inputId = e.inputId || E() : e.id || (e.id = E()), this._applyAccessibleLabel(e), this._adoptValidationLists(e), this._syncDescription());
|
|
309
309
|
}
|
|
310
310
|
_applyAccessibleLabel(e) {
|
|
311
311
|
let t = "accessibleLabel" in e ? "accessible-label" : e instanceof HTMLInputElement || e instanceof HTMLSelectElement || e instanceof HTMLTextAreaElement ? "aria-label" : null;
|
|
312
|
-
t && (this._appliedLabel =
|
|
312
|
+
t && (this._appliedLabel = c(e, t, l(this.label), this._appliedLabel));
|
|
313
313
|
}
|
|
314
314
|
_adoptValidationLists(e) {
|
|
315
315
|
let t = Array.from(this.children).filter((e) => e.tagName.toLowerCase() === "nldd-validation-list");
|
|
316
316
|
for (let n of t) n.getAttribute("for") || (n.control = e);
|
|
317
317
|
if (!import.meta.env?.DEV) return;
|
|
318
318
|
let n = t.some((e) => !e.getAttribute("for") && Array.from(e.children).some((e) => e.hasAttribute("match") || e.hasAttribute("minlength") || e.hasAttribute("maxlength"))), r = Array.from(this.children).filter((e) => !w.includes(e.tagName.toLowerCase()) && T(e));
|
|
319
|
-
|
|
319
|
+
h(this, "list-reads-first-control", n && r.length > 1);
|
|
320
320
|
}
|
|
321
321
|
_findInput() {
|
|
322
322
|
let e = Array.from(this.children).filter((e) => !w.includes(e.tagName.toLowerCase()));
|
|
@@ -341,18 +341,18 @@ var D = (S = class extends r {
|
|
|
341
341
|
"describedByElements" in e ? e.describedByElements = i : d(e, i);
|
|
342
342
|
}
|
|
343
343
|
}, S.styles = _, S);
|
|
344
|
-
|
|
344
|
+
r([o({
|
|
345
345
|
type: String,
|
|
346
346
|
attribute: "label-alignment",
|
|
347
347
|
reflect: !0
|
|
348
|
-
})], D.prototype, "labelAlignment", void 0),
|
|
348
|
+
})], D.prototype, "labelAlignment", void 0), r([o({ type: String })], D.prototype, "label", void 0), r([o({
|
|
349
349
|
type: String,
|
|
350
350
|
attribute: "supporting-label"
|
|
351
|
-
})], D.prototype, "supportingLabel", void 0),
|
|
351
|
+
})], D.prototype, "supportingLabel", void 0), r([o({ type: Boolean })], D.prototype, "optional", void 0), r([o({
|
|
352
352
|
type: String,
|
|
353
353
|
attribute: "optional-label"
|
|
354
|
-
})], D.prototype, "optionalLabel", void 0), D =
|
|
355
|
-
var O = (C = class extends
|
|
354
|
+
})], D.prototype, "optionalLabel", void 0), D = r([s("nldd-form-field")], D);
|
|
355
|
+
var O = (C = class extends e {
|
|
356
356
|
connectedCallback() {
|
|
357
357
|
super.connectedCallback(), this.slot = "help";
|
|
358
358
|
}
|
|
@@ -360,5 +360,5 @@ var O = (C = class extends r {
|
|
|
360
360
|
return x(this);
|
|
361
361
|
}
|
|
362
362
|
}, C.styles = v, C);
|
|
363
|
-
O =
|
|
363
|
+
O = r([s("nldd-form-field-help-text")], O);
|
|
364
364
|
export { D as NLDDFormField, O as NLDDFormFieldHelpText };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./custom-element-
|
|
1
|
+
import "./custom-element-DsfOrnOD.js";
|
|
2
2
|
// src/components/forms/form-section/form-section.ts
|
|
3
3
|
var e = "form-section", t = "form-section__header", n = "form-section__title", r = "form-section__supporting-text", i = "form-section__main", a = class extends HTMLElement {
|
|
4
4
|
constructor(...e) {
|
|
@@ -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 { n as c } from "./
|
|
6
|
-
import { n as
|
|
5
|
+
import { n as c, t as l } from "./page-section-mixin-CmsW9L1S.js";
|
|
6
|
+
import { n as u } from "./breakpoints-Cwor8TRP.js";
|
|
7
7
|
// src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts
|
|
8
|
-
var d =
|
|
8
|
+
var d = r(u.smMax), f = r(u.mdMin), p = r(u.mdMax), m = r(u.lgMin), h = i`
|
|
9
9
|
:host {
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
}
|
|
@@ -113,7 +113,7 @@ var d = e(c.smMax), f = e(c.mdMin), p = e(c.mdMax), m = e(c.lgMin), h = t`
|
|
|
113
113
|
`;
|
|
114
114
|
// src/components/layout/page-sections/full-bleed-section/full-bleed-section.template.ts
|
|
115
115
|
function g(e) {
|
|
116
|
-
return
|
|
116
|
+
return t`
|
|
117
117
|
<section class="full-bleed-section">
|
|
118
118
|
<div class="full-bleed-section__body">
|
|
119
119
|
<header class="full-bleed-section__header"
|
|
@@ -140,7 +140,7 @@ function g(e) {
|
|
|
140
140
|
`;
|
|
141
141
|
}
|
|
142
142
|
// src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts
|
|
143
|
-
var _ = class extends
|
|
143
|
+
var _ = class extends l(e) {
|
|
144
144
|
constructor(...e) {
|
|
145
145
|
super(...e), this.width = "";
|
|
146
146
|
}
|
|
@@ -153,9 +153,9 @@ var _ = class extends u(r) {
|
|
|
153
153
|
render() {
|
|
154
154
|
return g(this);
|
|
155
155
|
}
|
|
156
|
-
}, v = (_.styles = [
|
|
157
|
-
|
|
156
|
+
}, v = (_.styles = [c, h], _);
|
|
157
|
+
n([a({
|
|
158
158
|
reflect: !0,
|
|
159
159
|
converter: s("")
|
|
160
|
-
})], v.prototype, "width", void 0), v =
|
|
160
|
+
})], v.prototype, "width", void 0), v = n([o("nldd-full-bleed-section")], v);
|
|
161
161
|
export { v as NLDDFullBleedSection };
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as p } from "./
|
|
8
|
-
import {
|
|
4
|
+
import { n as l, t as u } from "./page-section-mixin-CmsW9L1S.js";
|
|
5
|
+
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
+
import { n as p, t as m } from "./shadow-resets-BeVmf7ky.js";
|
|
8
|
+
import { r as h } from "./element-state-B-44fVqq.js";
|
|
9
9
|
// src/components/layout/page-sections/hero/hero.styles.ts
|
|
10
|
-
var g =
|
|
10
|
+
var g = i(f.smMax), _ = i(f.mdMin), v = i(f.mdMax), y = i(f.lgMin), b = a`
|
|
11
11
|
:host {
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
}
|
|
@@ -44,7 +44,7 @@ var g = e(p.smMax), _ = e(p.mdMin), v = e(p.mdMax), y = e(p.lgMin), b = t`
|
|
|
44
44
|
--_hero-default-overlap-size: var(--primitives-space-0);
|
|
45
45
|
--_hero-default-media-height: auto;
|
|
46
46
|
|
|
47
|
-
${
|
|
47
|
+
${m}
|
|
48
48
|
display: flex;
|
|
49
49
|
width: 100%;
|
|
50
50
|
flex-direction: column;
|
|
@@ -174,7 +174,7 @@ var g = e(p.smMax), _ = e(p.mdMin), v = e(p.mdMax), y = e(p.lgMin), b = t`
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
.hero__media ::slotted(img) {
|
|
177
|
-
${
|
|
177
|
+
${p}
|
|
178
178
|
display: block !important;
|
|
179
179
|
width: 100% !important;
|
|
180
180
|
height: 100% !important;
|
|
@@ -346,15 +346,15 @@ var g = e(p.smMax), _ = e(p.mdMin), v = e(p.mdMax), y = e(p.lgMin), b = t`
|
|
|
346
346
|
`;
|
|
347
347
|
// src/components/layout/page-sections/hero/hero.template.ts
|
|
348
348
|
function x(e) {
|
|
349
|
-
let
|
|
349
|
+
let r = e.mediaSrc && !e._slotHasMedia ? t`<img
|
|
350
350
|
src=${e.mediaSrc}
|
|
351
|
-
srcset=${e.mediaSrcset ||
|
|
352
|
-
sizes=${e.mediaSizes ||
|
|
351
|
+
srcset=${e.mediaSrcset || n}
|
|
352
|
+
sizes=${e.mediaSizes || n}
|
|
353
353
|
alt=${e.mediaAlt}
|
|
354
354
|
loading="eager"
|
|
355
355
|
decoding="async"
|
|
356
|
-
>` :
|
|
357
|
-
return
|
|
356
|
+
>` : n;
|
|
357
|
+
return t`
|
|
358
358
|
<section class="hero">
|
|
359
359
|
<div class="hero__body">
|
|
360
360
|
<div class="hero__media"
|
|
@@ -364,7 +364,7 @@ function x(e) {
|
|
|
364
364
|
name="media"
|
|
365
365
|
@slotchange=${e._onMediaSlotChange}
|
|
366
366
|
></slot>
|
|
367
|
-
${
|
|
367
|
+
${r}
|
|
368
368
|
</div>
|
|
369
369
|
<div class="hero__main">
|
|
370
370
|
<slot></slot>
|
|
@@ -374,7 +374,7 @@ function x(e) {
|
|
|
374
374
|
`;
|
|
375
375
|
}
|
|
376
376
|
// src/components/layout/page-sections/hero/hero-corner.styles.ts
|
|
377
|
-
var S =
|
|
377
|
+
var S = i(f.smMax), C = i(f.mdMin), w = i(f.mdMax), T = i(f.lgMin), E = a`
|
|
378
378
|
|
|
379
379
|
|
|
380
380
|
/* # Corner */
|
|
@@ -598,15 +598,15 @@ function j(e, t) {
|
|
|
598
598
|
return [`${n}-left`, `${n}-right`];
|
|
599
599
|
}
|
|
600
600
|
function M(e) {
|
|
601
|
-
e.removeAttribute("data-media-corner"), e.removeAttribute("data-main-corner"),
|
|
601
|
+
e.removeAttribute("data-media-corner"), e.removeAttribute("data-main-corner"), h(e, "corner-covered", !1), h(e, "corner-unknown", !1);
|
|
602
602
|
}
|
|
603
603
|
function N(e) {
|
|
604
604
|
if (e.corner === null || e.corner === void 0) {
|
|
605
|
-
M(e),
|
|
605
|
+
M(e), h(e, "corner-unsupported", !1);
|
|
606
606
|
return;
|
|
607
607
|
}
|
|
608
608
|
let t = e.mainPosition === "top-center" || e.mainPosition === "bottom-center", n = Object.prototype.hasOwnProperty.call(A, e.mainPosition) ? e.mainPosition : "bottom-left", r = e._hasMedia && (e.layout !== "contained" || t);
|
|
609
|
-
if (
|
|
609
|
+
if (h(e, "corner-unsupported", r), r) {
|
|
610
610
|
M(e);
|
|
611
611
|
return;
|
|
612
612
|
}
|
|
@@ -616,7 +616,7 @@ function N(e) {
|
|
|
616
616
|
s = `${s.startsWith("top") ? "bottom" : "top"}-${e}`;
|
|
617
617
|
}
|
|
618
618
|
let c = e._hasMedia && e.mainWidth !== "full" ? A[n] : null;
|
|
619
|
-
e.setAttribute("data-media-corner", s), c ? e.setAttribute("data-main-corner", c) : e.removeAttribute("data-main-corner"),
|
|
619
|
+
e.setAttribute("data-media-corner", s), c ? e.setAttribute("data-main-corner", c) : e.removeAttribute("data-main-corner"), h(e, "corner-covered", a !== null && o.includes(a)), h(e, "corner-unknown", a === null && i !== "" && i !== "auto");
|
|
620
620
|
}
|
|
621
621
|
var P = ["--_hero-media-corner-limit", "--_hero-main-corner-limit"];
|
|
622
622
|
function F(e, t) {
|
|
@@ -641,7 +641,7 @@ var L, R = /* @__PURE__ */ new Set([
|
|
|
641
641
|
function z(e, t) {
|
|
642
642
|
return !R.has(t.trim().toLowerCase()) && CSS.supports(e, t);
|
|
643
643
|
}
|
|
644
|
-
var B = (L = class extends
|
|
644
|
+
var B = (L = class extends u(e) {
|
|
645
645
|
constructor(...e) {
|
|
646
646
|
super(...e), this.width = "", this.corner = null, this.layout = "overlap", this.mainBackground = "accent", this.mainWidth = "auto", this.mainPosition = "bottom-left", this.mediaAspectRatio = "", this.overlapSize = "", this.mediaHeight = "", this.mediaSrc = "", this.mediaSrcset = "", this.mediaSizes = "", this.mediaAlt = "", this._slotHasMedia = !1, this._cornerObserver = null, this._overlapObserver = null;
|
|
647
647
|
}
|
|
@@ -664,7 +664,7 @@ var B = (L = class extends h(i) {
|
|
|
664
664
|
}
|
|
665
665
|
if (import.meta.env?.DEV && e.has("layout") && this._watchOverlap(), e.has("corner") && this._watchCorner(), e.has("mainWidth")) {
|
|
666
666
|
let e = (this.mainWidth ?? "").trim(), t = e !== "" && e !== "auto" && e !== "full", n = t && z("width", e);
|
|
667
|
-
n ? this.style.setProperty("--_hero-main-width", e) : this.style.removeProperty("--_hero-main-width"), this.toggleAttribute("data-main-width-length", n),
|
|
667
|
+
n ? this.style.setProperty("--_hero-main-width", e) : this.style.removeProperty("--_hero-main-width"), this.toggleAttribute("data-main-width-length", n), h(this, "invalid-main-width", t && !n);
|
|
668
668
|
}
|
|
669
669
|
if (e.has("overlapSize")) {
|
|
670
670
|
let e = (this.overlapSize ?? "").trim();
|
|
@@ -690,7 +690,7 @@ var B = (L = class extends h(i) {
|
|
|
690
690
|
}
|
|
691
691
|
_watchOverlap() {
|
|
692
692
|
if (this.layout === "contained" || typeof ResizeObserver > "u") {
|
|
693
|
-
this._overlapObserver?.disconnect(), this._overlapObserver = null,
|
|
693
|
+
this._overlapObserver?.disconnect(), this._overlapObserver = null, h(this, "short-overlap-panel", !1);
|
|
694
694
|
return;
|
|
695
695
|
}
|
|
696
696
|
if (this._overlapObserver) return;
|
|
@@ -698,7 +698,7 @@ var B = (L = class extends h(i) {
|
|
|
698
698
|
e && t && (this._overlapObserver = new ResizeObserver(() => this._checkOverlap(e, t)), this._overlapObserver.observe(e), this._overlapObserver.observe(t));
|
|
699
699
|
}
|
|
700
700
|
_checkOverlap(e, t) {
|
|
701
|
-
this._hasMedia && getComputedStyle(e).position !== "static" &&
|
|
701
|
+
this._hasMedia && getComputedStyle(e).position !== "static" && h(this, "short-overlap-panel", t.getBoundingClientRect().bottom <= e.getBoundingClientRect().bottom);
|
|
702
702
|
}
|
|
703
703
|
_onMediaSlotChange(e) {
|
|
704
704
|
let t = e.target;
|
|
@@ -708,54 +708,54 @@ var B = (L = class extends h(i) {
|
|
|
708
708
|
return x(this);
|
|
709
709
|
}
|
|
710
710
|
}, L.styles = [
|
|
711
|
-
|
|
711
|
+
l,
|
|
712
712
|
b,
|
|
713
713
|
E
|
|
714
714
|
], L);
|
|
715
|
-
|
|
715
|
+
r([o({
|
|
716
716
|
reflect: !0,
|
|
717
|
-
converter:
|
|
718
|
-
})], B.prototype, "width", void 0),
|
|
717
|
+
converter: d("")
|
|
718
|
+
})], B.prototype, "width", void 0), r([o({
|
|
719
719
|
type: String,
|
|
720
720
|
reflect: !0
|
|
721
|
-
})], B.prototype, "corner", void 0),
|
|
721
|
+
})], B.prototype, "corner", void 0), r([o({
|
|
722
722
|
reflect: !0,
|
|
723
|
-
converter:
|
|
724
|
-
})], B.prototype, "layout", void 0),
|
|
723
|
+
converter: d("overlap")
|
|
724
|
+
})], B.prototype, "layout", void 0), r([o({
|
|
725
725
|
reflect: !0,
|
|
726
726
|
attribute: "main-background",
|
|
727
|
-
converter:
|
|
728
|
-
})], B.prototype, "mainBackground", void 0),
|
|
727
|
+
converter: d("accent")
|
|
728
|
+
})], B.prototype, "mainBackground", void 0), r([o({
|
|
729
729
|
reflect: !0,
|
|
730
730
|
attribute: "main-width",
|
|
731
|
-
converter:
|
|
732
|
-
})], B.prototype, "mainWidth", void 0),
|
|
731
|
+
converter: d("auto")
|
|
732
|
+
})], B.prototype, "mainWidth", void 0), r([o({
|
|
733
733
|
reflect: !0,
|
|
734
734
|
attribute: "main-position",
|
|
735
|
-
converter:
|
|
736
|
-
})], B.prototype, "mainPosition", void 0),
|
|
735
|
+
converter: d("bottom-left")
|
|
736
|
+
})], B.prototype, "mainPosition", void 0), r([o({
|
|
737
737
|
reflect: !0,
|
|
738
738
|
attribute: "media-aspect-ratio",
|
|
739
|
-
converter:
|
|
740
|
-
})], B.prototype, "mediaAspectRatio", void 0),
|
|
739
|
+
converter: d("")
|
|
740
|
+
})], B.prototype, "mediaAspectRatio", void 0), r([o({
|
|
741
741
|
reflect: !0,
|
|
742
742
|
attribute: "overlap-size",
|
|
743
|
-
converter:
|
|
744
|
-
})], B.prototype, "overlapSize", void 0),
|
|
743
|
+
converter: d("")
|
|
744
|
+
})], B.prototype, "overlapSize", void 0), r([o({
|
|
745
745
|
reflect: !0,
|
|
746
746
|
attribute: "media-height",
|
|
747
|
-
converter:
|
|
748
|
-
})], B.prototype, "mediaHeight", void 0),
|
|
747
|
+
converter: d("")
|
|
748
|
+
})], B.prototype, "mediaHeight", void 0), r([o({
|
|
749
749
|
type: String,
|
|
750
750
|
attribute: "media-src"
|
|
751
|
-
})], B.prototype, "mediaSrc", void 0),
|
|
751
|
+
})], B.prototype, "mediaSrc", void 0), r([o({
|
|
752
752
|
type: String,
|
|
753
753
|
attribute: "media-srcset"
|
|
754
|
-
})], B.prototype, "mediaSrcset", void 0),
|
|
754
|
+
})], B.prototype, "mediaSrcset", void 0), r([o({
|
|
755
755
|
type: String,
|
|
756
756
|
attribute: "media-sizes"
|
|
757
|
-
})], B.prototype, "mediaSizes", void 0),
|
|
757
|
+
})], B.prototype, "mediaSizes", void 0), r([o({
|
|
758
758
|
type: String,
|
|
759
759
|
attribute: "media-alt"
|
|
760
|
-
})], B.prototype, "mediaAlt", void 0),
|
|
760
|
+
})], B.prototype, "mediaAlt", void 0), r([s()], B.prototype, "_slotHasMedia", void 0), B = r([c("nldd-hero")], B);
|
|
761
761
|
export { B as NLDDHero };
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import { t as c } from "./custom-element-
|
|
4
|
-
import { t as l } from "./
|
|
5
|
-
import {
|
|
6
|
-
import { r as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
for (var r in e) h(n, r, {
|
|
11
|
-
get: e[r],
|
|
12
|
-
enumerable: !0
|
|
13
|
-
});
|
|
14
|
-
return t || h(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
15
|
-
}, _ = e`
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
+
import { i as t, n, o as r, r as i, t as a } from "./decorate-CJCfz_g6.js";
|
|
3
|
+
import { i as o, n as s, t as c } from "./custom-element-DsfOrnOD.js";
|
|
4
|
+
import { t as l } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { n as d, r as f, t as p } from "./directive-CwRgozUW.js";
|
|
7
|
+
import { r as m, t as h } from "./element-state-B-44fVqq.js";
|
|
8
|
+
// src/components/content/icon/icon.styles.ts
|
|
9
|
+
var g = o`
|
|
16
10
|
:host {
|
|
17
11
|
box-sizing: border-box;
|
|
18
12
|
}
|
|
@@ -138,32 +132,32 @@ var h = Object.defineProperty, g = (e, t) => {
|
|
|
138
132
|
:host([box]) svg {
|
|
139
133
|
color: var(--semantics-content-contrast-color);
|
|
140
134
|
}
|
|
141
|
-
`,
|
|
135
|
+
`, _ = class extends d {
|
|
142
136
|
constructor(e) {
|
|
143
|
-
if (super(e), this.it =
|
|
137
|
+
if (super(e), this.it = i, e.type !== f.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
144
138
|
}
|
|
145
139
|
render(e) {
|
|
146
|
-
if (e ===
|
|
147
|
-
if (e ===
|
|
140
|
+
if (e === i || e == null) return this._t = void 0, this.it = e;
|
|
141
|
+
if (e === t) return e;
|
|
148
142
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
149
143
|
if (e === this.it) return this._t;
|
|
150
144
|
this.it = e;
|
|
151
|
-
let
|
|
152
|
-
return
|
|
145
|
+
let n = [e];
|
|
146
|
+
return n.raw = n, this._t = {
|
|
153
147
|
_$litType$: this.constructor.resultType,
|
|
154
|
-
strings:
|
|
148
|
+
strings: n,
|
|
155
149
|
values: []
|
|
156
150
|
};
|
|
157
151
|
}
|
|
158
152
|
};
|
|
159
|
-
|
|
160
|
-
var
|
|
153
|
+
_.directiveName = "unsafeHTML", _.resultType = 1;
|
|
154
|
+
var v = p(_);
|
|
161
155
|
// src/components/content/icon/icon.template.ts
|
|
162
|
-
function
|
|
163
|
-
return e ?
|
|
156
|
+
function y(e) {
|
|
157
|
+
return e ? r`${v(e)}` : r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"></svg>`;
|
|
164
158
|
}
|
|
165
159
|
// src/components/content/icon/icon-aliases.js
|
|
166
|
-
var
|
|
160
|
+
var b = {
|
|
167
161
|
office: "apartment-building",
|
|
168
162
|
building: "apartment-building",
|
|
169
163
|
company: "apartment-building",
|
|
@@ -519,7 +513,7 @@ var x = {
|
|
|
519
513
|
"stop-filled": "media-stop-filled",
|
|
520
514
|
"play-pause": "media-play-pause",
|
|
521
515
|
"play-pause-filled": "media-play-pause-filled"
|
|
522
|
-
},
|
|
516
|
+
}, x = /* @__PURE__ */ new Map([
|
|
523
517
|
["accessibility", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\">\n <path fill=\"currentColor\" d=\"M48 8a40 40 0 1 1 0 80 40 40 0 0 1 0-80m0 8a32 32 0 1 0 0 64 32 32 0 0 0 0-64m18.2 16.5a3 3 0 0 1 1.6 5.8L54 42v7.4a20 20 0 0 0 .7 5.2l4.2 15.6a3 3 0 0 1-5.8 1.6L49 57a1.2 1.2 0 0 0-2.3 0l-4 14.8a3 3 0 0 1-5.8-1.3v-.3l4.3-15.7a20 20 0 0 0 .7-5.2V42l-13.8-3.7a3 3 0 0 1 1.6-5.8l8.5 2.3a38 38 0 0 0 19.4 0zM48 22a6 6 0 1 1 0 12 6 6 0 0 1 0-12\"/>\n</svg>"],
|
|
524
518
|
["antenna-radio-waves", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\">\n <path fill=\"currentColor\" d=\"M48 32a8 8 0 0 1 4 15v37h-8V47a8 8 0 0 1 4-15M25.4 17.4A32 32 0 0 0 16 40c0 8.4 3.4 16.7 9.4 22.6l-5.7 5.7A40 40 0 0 1 8 40c0-10.5 4.3-20.8 11.7-28.3zm50.9-5.7a40 40 0 0 1 0 56.6l-5.7-5.7a32 32 0 0 0 0-45.2z\"/>\n <path fill=\"currentColor\" d=\"M36.7 28.7A16 16 0 0 0 32 40c0 4.2 1.7 8.4 4.7 11.3L31 57a24 24 0 0 1-7-17 24 24 0 0 1 7-17zM65 23a24 24 0 0 1 0 34l-5.7-5.7a16 16 0 0 0 0-22.6z\"/>\n</svg>"],
|
|
525
519
|
["apartment-building", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\">\n <path fill=\"currentColor\" d=\"M44 64h-8v-8h8zm16 0h-8v-8h8zM44 48h-8v-8h8zm16 0h-8v-8h8zM44 32h-8v-8h8zm16 0h-8v-8h8z\"/>\n <path fill=\"currentColor\" d=\"M64 8a12 12 0 0 1 12 12v68H52v-8h-8v8H20V20A12 12 0 0 1 32 8zm-32 8a4 4 0 0 0-4 4v60h8v-8h24v8h8V20a4 4 0 0 0-4-4z\"/>\n</svg>"],
|
|
@@ -914,11 +908,11 @@ var x = {
|
|
|
914
908
|
["waving-crossing-lines", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\">\n <path fill=\"currentColor\" d=\"M88 60a99 99 0 0 0-40 7.7C37.2 71.7 26.7 76 8 76v-8c17.2 0 26.7-3.8 37-7.7C55.9 56.2 67.4 52 88 52zM72.7 65q6.7 3 15.3 3v8a46 46 0 0 1-27-8.5q5.2-1.6 11.7-2.5M88 28c-18.6 0-28.7 7.3-39 15.2C38.3 51.2 27.4 60 8 60v-8c16.5 0 25.6-7.2 36-15.2C54.8 28.7 66.7 20 88 20zM50.8 46.8l5 5.5q-4.5 1.3-8.3 2.8l-3.1-3.5z\"/>\n <path fill=\"currentColor\" d=\"M22.4 36a42 42 0 0 1 7.6 6l-3.8 2H8v-8zM88 44H54.5a70 70 0 0 1 13.1-8H88zM8 20c14.2 0 23.9 6.8 32 14.9l-6.6 4.8C26.4 32.7 18.8 28 8 28z\"/>\n</svg>"],
|
|
915
909
|
["wheat", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\">\n <path fill=\"currentColor\" d=\"M32 88h-8V76h8zm40 0h-8V76h8zM12 56a16 16 0 0 1 16 16 16 16 0 0 1-16-16m32 0a16 16 0 0 1-16 16 16 16 0 0 1 16-16m8 0a16 16 0 0 1 16 16 16 16 0 0 1-16-16m32 0a16 16 0 0 1-16 16 16 16 0 0 1 16-16M12 40a16 16 0 0 1 16 16 16 16 0 0 1-16-16m32 0a16 16 0 0 1-16 16 16 16 0 0 1 16-16m8 0a16 16 0 0 1 16 16 16 16 0 0 1-16-16m32 0a16 16 0 0 1-16 16 16 16 0 0 1 16-16M12 24a16 16 0 0 1 16 16 16 16 0 0 1-16-16m32 0a16 16 0 0 1-16 16 16 16 0 0 1 16-16m8 0a16 16 0 0 1 16 16 16 16 0 0 1-16-16m32 0a16 16 0 0 1-16 16 16 16 0 0 1 16-16M28 8a16 16 0 0 1 0 21.2A16 16 0 0 1 28 8m40 0a16 16 0 0 1 0 21.2A16 16 0 0 1 68 8\"/>\n</svg>"],
|
|
916
910
|
["wrench", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\">\n <path fill=\"currentColor\" d=\"M43.6 15.6A26 26 0 0 1 77.4 13l-14 14a4 4 0 0 0 0 5.6c1.6 1.6 4 1.4 5.7 0l13.9-14a26 26 0 0 1-28.8 40.2L28.5 84.5a12 12 0 0 1-16.5.4l-.5-.4a12 12 0 0 1-.4-16.5l26.1-26.2a26 26 0 0 1 6.4-26.2M63 16a18 18 0 0 0-18.2 23.4l1.5 4.6-29.1 29.2a4 4 0 1 0 5.7 5.7L52 49.8l4.6 1.4A18 18 0 0 0 80 33l-5.2 5.3a12 12 0 0 1-17-17z\"/>\n</svg>"]
|
|
917
|
-
]),
|
|
918
|
-
ICONS: () =>
|
|
919
|
-
NLDDIcon: () =>
|
|
920
|
-
aliases: () =>
|
|
921
|
-
}),
|
|
911
|
+
]), S = /* @__PURE__ */ e({
|
|
912
|
+
ICONS: () => w,
|
|
913
|
+
NLDDIcon: () => T,
|
|
914
|
+
aliases: () => b
|
|
915
|
+
}), C, w = [...x.keys(), ...Object.keys(b)].sort(), T = (C = class extends n {
|
|
922
916
|
constructor(...e) {
|
|
923
917
|
super(...e), this.icon = "circle-dashed", this.size = "full", this.color = "", this.customColor = "", this.box = !1, this._iconSvg = null, this._wasUnknown = !1;
|
|
924
918
|
}
|
|
@@ -931,28 +925,28 @@ var x = {
|
|
|
931
925
|
_syncHosts() {
|
|
932
926
|
if (!import.meta.env?.DEV) return;
|
|
933
927
|
let e = this.getRootNode();
|
|
934
|
-
for (; e instanceof ShadowRoot && e.host.localName.startsWith("nldd-");)
|
|
928
|
+
for (; e instanceof ShadowRoot && e.host.localName.startsWith("nldd-");) m(e.host, "unknown-icon", h(e, "unknown-icon")), e = e.host.getRootNode();
|
|
935
929
|
}
|
|
936
930
|
_loadIcon(e) {
|
|
937
|
-
let t =
|
|
938
|
-
return
|
|
931
|
+
let t = b[e] ?? e, n = x.get(t);
|
|
932
|
+
return m(this, "unknown-icon", !n), (!n || this._wasUnknown) && this._syncHosts(), this._wasUnknown = !n, n ?? null;
|
|
939
933
|
}
|
|
940
934
|
render() {
|
|
941
|
-
return
|
|
935
|
+
return y(this._iconSvg);
|
|
942
936
|
}
|
|
943
|
-
},
|
|
944
|
-
|
|
937
|
+
}, C.styles = g, C);
|
|
938
|
+
a([s({ type: String })], T.prototype, "icon", void 0), a([s({
|
|
945
939
|
reflect: !0,
|
|
946
|
-
converter:
|
|
947
|
-
})],
|
|
940
|
+
converter: u("full")
|
|
941
|
+
})], T.prototype, "size", void 0), a([s({
|
|
948
942
|
reflect: !0,
|
|
949
|
-
converter:
|
|
950
|
-
})],
|
|
943
|
+
converter: u("")
|
|
944
|
+
})], T.prototype, "color", void 0), a([s({
|
|
951
945
|
reflect: !0,
|
|
952
946
|
attribute: "custom-color",
|
|
953
|
-
converter:
|
|
954
|
-
})],
|
|
947
|
+
converter: u("")
|
|
948
|
+
})], T.prototype, "customColor", void 0), a([s({
|
|
955
949
|
type: Boolean,
|
|
956
950
|
reflect: !0
|
|
957
|
-
})],
|
|
958
|
-
export {
|
|
951
|
+
})], T.prototype, "box", void 0), a([c()], T.prototype, "_iconSvg", void 0), T = a([l("nldd-icon")], T);
|
|
952
|
+
export { v as n, S as t };
|