@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,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
4
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as u
|
|
6
|
-
import { n as f } from "./
|
|
7
|
-
import { n as p, r as m } from "./static-html-
|
|
5
|
+
import { n as u } from "./breakpoints-Cwor8TRP.js";
|
|
6
|
+
import { n as d, t as f } from "./shadow-resets-BeVmf7ky.js";
|
|
7
|
+
import { n as p, r as m } from "./static-html-OvWm15yg.js";
|
|
8
8
|
import { n as h, r as g, t as _ } from "./custom-font-size-D7KNr84p.js";
|
|
9
9
|
// src/components/content/title/title.styles.ts
|
|
10
|
-
var v =
|
|
10
|
+
var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
11
11
|
:host {
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
}
|
|
@@ -26,87 +26,112 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
26
26
|
--_title-md-custom-font: var(--primitives-font-weight-display-bold) max(var(--_title-md-custom-size), var(--primitives-font-size-800)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
27
27
|
--_title-lg-custom-font: var(--primitives-font-weight-display-bold) max(var(--_title-lg-custom-size), var(--primitives-font-size-1000)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
28
28
|
|
|
29
|
+
--_title-font: var(--primitives-font-body-md-regular-snug);
|
|
30
|
+
--_title-overline-font: var(--primitives-font-body-sm-regular-tight);
|
|
31
|
+
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
32
|
+
--_title-secondary-text-max-width: var(--semantics-text-max-width);
|
|
33
|
+
|
|
34
|
+
${f}
|
|
35
|
+
display: flex;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* # Size */
|
|
39
|
+
|
|
40
|
+
:host([data-level][size="display-1"]),
|
|
41
|
+
:host(:not([size^="display-"])[data-level="1"]) {
|
|
42
|
+
--_title-overline-font: var(--primitives-font-body-md-regular-tight);
|
|
43
|
+
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
44
|
+
|
|
29
45
|
@media (max-width: ${v}) {
|
|
30
|
-
--_title-font: var(--primitives-font-display-
|
|
46
|
+
--_title-font: var(--primitives-font-display-1-sm);
|
|
31
47
|
}
|
|
32
48
|
|
|
33
49
|
@media (min-width: ${y}) and (max-width: ${b}) {
|
|
34
|
-
--_title-font: var(--primitives-font-display-
|
|
50
|
+
--_title-font: var(--primitives-font-display-1-md);
|
|
35
51
|
}
|
|
36
52
|
|
|
37
53
|
@media (min-width: ${x}) {
|
|
38
|
-
--_title-font: var(--primitives-font-display-
|
|
54
|
+
--_title-font: var(--primitives-font-display-1-lg);
|
|
39
55
|
}
|
|
40
56
|
|
|
41
57
|
@container layout-container (max-width: ${v}) {
|
|
42
|
-
--_title-font: var(--primitives-font-display-
|
|
58
|
+
--_title-font: var(--primitives-font-display-1-sm);
|
|
43
59
|
}
|
|
44
60
|
|
|
45
61
|
@container layout-container (min-width: ${y}) and (max-width: ${b}) {
|
|
46
|
-
--_title-font: var(--primitives-font-display-
|
|
62
|
+
--_title-font: var(--primitives-font-display-1-md);
|
|
47
63
|
}
|
|
48
64
|
|
|
49
65
|
@container layout-container (min-width: ${x}) {
|
|
50
|
-
--_title-font: var(--primitives-font-display-
|
|
66
|
+
--_title-font: var(--primitives-font-display-1-lg);
|
|
51
67
|
}
|
|
52
|
-
|
|
53
|
-
${d}
|
|
54
|
-
display: flex;
|
|
55
68
|
}
|
|
56
69
|
|
|
57
|
-
:host([size="
|
|
70
|
+
:host([data-level][size="display-2"]),
|
|
71
|
+
:host(:not([size^="display-"])[data-level="2"]) {
|
|
72
|
+
--_title-overline-font: var(--primitives-font-body-md-regular-tight);
|
|
73
|
+
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
74
|
+
|
|
58
75
|
@media (max-width: ${v}) {
|
|
59
|
-
--_title-font: var(--primitives-font-display-
|
|
76
|
+
--_title-font: var(--primitives-font-display-2-sm);
|
|
60
77
|
}
|
|
61
78
|
|
|
62
79
|
@media (min-width: ${y}) and (max-width: ${b}) {
|
|
63
|
-
--_title-font: var(--primitives-font-display-
|
|
80
|
+
--_title-font: var(--primitives-font-display-2-md);
|
|
64
81
|
}
|
|
65
82
|
|
|
66
83
|
@media (min-width: ${x}) {
|
|
67
|
-
--_title-font: var(--primitives-font-display-
|
|
84
|
+
--_title-font: var(--primitives-font-display-2-lg);
|
|
68
85
|
}
|
|
69
86
|
|
|
70
87
|
@container layout-container (max-width: ${v}) {
|
|
71
|
-
--_title-font: var(--primitives-font-display-
|
|
88
|
+
--_title-font: var(--primitives-font-display-2-sm);
|
|
72
89
|
}
|
|
73
90
|
|
|
74
91
|
@container layout-container (min-width: ${y}) and (max-width: ${b}) {
|
|
75
|
-
--_title-font: var(--primitives-font-display-
|
|
92
|
+
--_title-font: var(--primitives-font-display-2-md);
|
|
76
93
|
}
|
|
77
94
|
|
|
78
95
|
@container layout-container (min-width: ${x}) {
|
|
79
|
-
--_title-font: var(--primitives-font-display-
|
|
96
|
+
--_title-font: var(--primitives-font-display-2-lg);
|
|
80
97
|
}
|
|
81
98
|
}
|
|
82
99
|
|
|
83
|
-
:host([size="
|
|
100
|
+
:host([data-level][size="display-3"]),
|
|
101
|
+
:host(:not([size^="display-"])[data-level="3"]) {
|
|
102
|
+
--_title-overline-font: var(--primitives-font-body-md-regular-tight);
|
|
103
|
+
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
104
|
+
|
|
84
105
|
@media (max-width: ${v}) {
|
|
85
|
-
--_title-font: var(--primitives-font-display-
|
|
106
|
+
--_title-font: var(--primitives-font-display-3-sm);
|
|
86
107
|
}
|
|
87
108
|
|
|
88
109
|
@media (min-width: ${y}) and (max-width: ${b}) {
|
|
89
|
-
--_title-font: var(--primitives-font-display-
|
|
110
|
+
--_title-font: var(--primitives-font-display-3-md);
|
|
90
111
|
}
|
|
91
112
|
|
|
92
113
|
@media (min-width: ${x}) {
|
|
93
|
-
--_title-font: var(--primitives-font-display-
|
|
114
|
+
--_title-font: var(--primitives-font-display-3-lg);
|
|
94
115
|
}
|
|
95
116
|
|
|
96
117
|
@container layout-container (max-width: ${v}) {
|
|
97
|
-
--_title-font: var(--primitives-font-display-
|
|
118
|
+
--_title-font: var(--primitives-font-display-3-sm);
|
|
98
119
|
}
|
|
99
120
|
|
|
100
121
|
@container layout-container (min-width: ${y}) and (max-width: ${b}) {
|
|
101
|
-
--_title-font: var(--primitives-font-display-
|
|
122
|
+
--_title-font: var(--primitives-font-display-3-md);
|
|
102
123
|
}
|
|
103
124
|
|
|
104
125
|
@container layout-container (min-width: ${x}) {
|
|
105
|
-
--_title-font: var(--primitives-font-display-
|
|
126
|
+
--_title-font: var(--primitives-font-display-3-lg);
|
|
106
127
|
}
|
|
107
128
|
}
|
|
108
129
|
|
|
109
|
-
:host([size="4"])
|
|
130
|
+
:host([data-level][size="display-4"]),
|
|
131
|
+
:host(:not([size^="display-"])[data-level="4"]) {
|
|
132
|
+
--_title-overline-font: var(--primitives-font-body-sm-regular-tight);
|
|
133
|
+
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
134
|
+
|
|
110
135
|
@media (max-width: ${v}) {
|
|
111
136
|
--_title-font: var(--primitives-font-display-4-sm);
|
|
112
137
|
}
|
|
@@ -132,7 +157,11 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
132
157
|
}
|
|
133
158
|
}
|
|
134
159
|
|
|
135
|
-
:host([size="5"])
|
|
160
|
+
:host([data-level][size="display-5"]),
|
|
161
|
+
:host(:not([size^="display-"])[data-level="5"]) {
|
|
162
|
+
--_title-overline-font: var(--primitives-font-body-sm-regular-tight);
|
|
163
|
+
--_title-supporting-text-font: var(--primitives-font-body-sm-regular-tight);
|
|
164
|
+
|
|
136
165
|
@media (max-width: ${v}) {
|
|
137
166
|
--_title-font: var(--primitives-font-display-5-sm);
|
|
138
167
|
}
|
|
@@ -158,7 +187,11 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
158
187
|
}
|
|
159
188
|
}
|
|
160
189
|
|
|
161
|
-
:host([size="6"])
|
|
190
|
+
:host([data-level][size="display-6"]),
|
|
191
|
+
:host(:not([size^="display-"])[data-level="6"]) {
|
|
192
|
+
--_title-overline-font: var(--primitives-font-body-xs-regular-tight);
|
|
193
|
+
--_title-supporting-text-font: var(--primitives-font-body-sm-regular-tight);
|
|
194
|
+
|
|
162
195
|
@media (max-width: ${v}) {
|
|
163
196
|
--_title-font: var(--primitives-font-display-6-sm);
|
|
164
197
|
}
|
|
@@ -186,7 +219,7 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
186
219
|
|
|
187
220
|
/* ## Custom size */
|
|
188
221
|
|
|
189
|
-
:host([data-sm-custom-size]) {
|
|
222
|
+
:host([data-level][data-sm-custom-size]) {
|
|
190
223
|
@media (max-width: ${v}) {
|
|
191
224
|
--_title-font: var(--_title-sm-custom-font);
|
|
192
225
|
}
|
|
@@ -196,7 +229,7 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
196
229
|
}
|
|
197
230
|
}
|
|
198
231
|
|
|
199
|
-
:host([data-md-custom-size]) {
|
|
232
|
+
:host([data-level][data-md-custom-size]) {
|
|
200
233
|
@media (min-width: ${y}) and (max-width: ${b}) {
|
|
201
234
|
--_title-font: var(--_title-md-custom-font);
|
|
202
235
|
}
|
|
@@ -206,7 +239,7 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
206
239
|
}
|
|
207
240
|
}
|
|
208
241
|
|
|
209
|
-
:host([data-lg-custom-size]) {
|
|
242
|
+
:host([data-level][data-lg-custom-size]) {
|
|
210
243
|
@media (min-width: ${x}) {
|
|
211
244
|
--_title-font: var(--_title-lg-custom-font);
|
|
212
245
|
}
|
|
@@ -245,18 +278,22 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
245
278
|
|
|
246
279
|
.title__overline {
|
|
247
280
|
margin: 0;
|
|
281
|
+
max-width: var(--_title-secondary-text-max-width);
|
|
248
282
|
color: var(--semantics-content-secondary-color);
|
|
249
|
-
font: var(--
|
|
283
|
+
font: var(--_title-overline-font);
|
|
250
284
|
overflow-wrap: anywhere;
|
|
285
|
+
text-wrap: balance;
|
|
251
286
|
}
|
|
252
287
|
|
|
253
288
|
::slotted([slot="overline"]) {
|
|
254
|
-
${u}
|
|
255
289
|
${d}
|
|
290
|
+
${f}
|
|
256
291
|
margin: 0 !important;
|
|
292
|
+
max-width: var(--_title-secondary-text-max-width) !important;
|
|
257
293
|
color: var(--semantics-content-secondary-color) !important;
|
|
258
|
-
font: var(--
|
|
294
|
+
font: var(--_title-overline-font) !important;
|
|
259
295
|
overflow-wrap: anywhere !important;
|
|
296
|
+
text-wrap: balance !important;
|
|
260
297
|
}
|
|
261
298
|
|
|
262
299
|
/* The measure is in ch, so one value covers every size: ch scales with the
|
|
@@ -276,8 +313,8 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
276
313
|
}
|
|
277
314
|
|
|
278
315
|
::slotted(:not([slot])) {
|
|
279
|
-
${u}
|
|
280
316
|
${d}
|
|
317
|
+
${f}
|
|
281
318
|
margin: 0 !important;
|
|
282
319
|
max-width: 40ch !important;
|
|
283
320
|
color: var(--semantics-content-color) !important;
|
|
@@ -293,28 +330,22 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
293
330
|
|
|
294
331
|
.title__supporting-text {
|
|
295
332
|
margin: 0;
|
|
333
|
+
max-width: var(--_title-secondary-text-max-width);
|
|
296
334
|
color: var(--semantics-content-secondary-color);
|
|
297
|
-
font: var(--
|
|
335
|
+
font: var(--_title-supporting-text-font);
|
|
298
336
|
overflow-wrap: anywhere;
|
|
337
|
+
text-wrap: balance;
|
|
299
338
|
}
|
|
300
339
|
|
|
301
340
|
::slotted([slot="supporting-text"]) {
|
|
302
|
-
${u}
|
|
303
341
|
${d}
|
|
342
|
+
${f}
|
|
304
343
|
margin: 0 !important;
|
|
344
|
+
max-width: var(--_title-secondary-text-max-width) !important;
|
|
305
345
|
color: var(--semantics-content-secondary-color) !important;
|
|
306
|
-
font: var(--
|
|
346
|
+
font: var(--_title-supporting-text-font) !important;
|
|
307
347
|
overflow-wrap: anywhere !important;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
:host([size="5"]) .title__supporting-text,
|
|
311
|
-
:host([size="6"]) .title__supporting-text {
|
|
312
|
-
font: var(--primitives-font-body-sm-regular-tight);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
:host([size="5"]) ::slotted([slot="supporting-text"]),
|
|
316
|
-
:host([size="6"]) ::slotted([slot="supporting-text"]) {
|
|
317
|
-
font: var(--primitives-font-body-sm-regular-tight) !important;
|
|
348
|
+
text-wrap: balance !important;
|
|
318
349
|
}
|
|
319
350
|
|
|
320
351
|
:host([color="inherit"]) .title__text {
|
|
@@ -352,22 +383,22 @@ var v = e(f.smMax), y = e(f.mdMin), b = e(f.mdMax), x = e(f.lgMin), S = t`
|
|
|
352
383
|
6: p("h6")
|
|
353
384
|
};
|
|
354
385
|
function w(e) {
|
|
355
|
-
if (!e.text || e._hasDefaultSlotted) return
|
|
356
|
-
let
|
|
357
|
-
return
|
|
386
|
+
if (!e.text || e._hasDefaultSlotted) return n;
|
|
387
|
+
let r = e.headingLevel ? C[e.headingLevel] : void 0;
|
|
388
|
+
return r ? m`<${r} class="title__text">${e.text}</${r}>` : t`<p class="title__text">${e.text}</p>`;
|
|
358
389
|
}
|
|
359
390
|
function T(e) {
|
|
360
|
-
return
|
|
391
|
+
return t`
|
|
361
392
|
<div class="title">
|
|
362
393
|
<div class="title__title-group">
|
|
363
|
-
${e.overline && !e._hasOverlineSlotted ?
|
|
394
|
+
${e.overline && !e._hasOverlineSlotted ? t`<p class="title__overline">${e.overline}</p>` : n}
|
|
364
395
|
<slot
|
|
365
396
|
name="overline"
|
|
366
397
|
@slotchange=${e._onSlotChange}
|
|
367
398
|
></slot>
|
|
368
399
|
${w(e)}
|
|
369
400
|
<slot @slotchange=${e._onSlotChange}></slot>
|
|
370
|
-
${e.supportingText && !e._hasSupportingTextSlotted ?
|
|
401
|
+
${e.supportingText && !e._hasSupportingTextSlotted ? t`<p class="title__supporting-text">${e.supportingText}</p>` : n}
|
|
371
402
|
<slot
|
|
372
403
|
name="supporting-text"
|
|
373
404
|
@slotchange=${e._onSlotChange}
|
|
@@ -380,15 +411,23 @@ function T(e) {
|
|
|
380
411
|
`;
|
|
381
412
|
}
|
|
382
413
|
// src/components/content/title/title.ts
|
|
383
|
-
var E = class extends
|
|
414
|
+
var E = class extends e {
|
|
384
415
|
constructor(...e) {
|
|
385
|
-
super(...e), this.
|
|
416
|
+
super(...e), this.smCustomSize = "", this.mdCustomSize = "", this.lgCustomSize = "", this.color = "content", this.text = "", this.supportingText = "", this.overline = "", this.headingLevel = null, this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._slottedLevel = null, this._onSlotChange = (e) => {
|
|
386
417
|
let t = e.target, n = t.assignedNodes().some((e) => e.nodeType === Node.ELEMENT_NODE || (e.textContent ?? "").trim().length > 0);
|
|
387
|
-
t.name === "overline"
|
|
418
|
+
if (t.name === "overline") this._hasOverlineSlotted = n;
|
|
419
|
+
else if (t.name === "supporting-text") this._hasSupportingTextSlotted = n;
|
|
420
|
+
else {
|
|
421
|
+
this._hasDefaultSlotted = n;
|
|
422
|
+
let e = t.assignedElements().find((e) => /^H[1-6]$/.test(e.tagName));
|
|
423
|
+
this._slottedLevel = e ? Number(e.tagName[1]) : null;
|
|
424
|
+
}
|
|
388
425
|
}, this._customSizes = {};
|
|
389
426
|
}
|
|
390
427
|
willUpdate(e) {
|
|
391
|
-
super.willUpdate(e)
|
|
428
|
+
super.willUpdate(e);
|
|
429
|
+
let t = this.headingLevel ?? this._slottedLevel;
|
|
430
|
+
t && t >= 1 && t <= 6 ? this.setAttribute("data-level", String(t)) : this.removeAttribute("data-level"), (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && (this._customSizes = h(this, "title", {
|
|
392
431
|
sm: this.smCustomSize,
|
|
393
432
|
md: this.mdCustomSize,
|
|
394
433
|
lg: this.lgCustomSize
|
|
@@ -401,37 +440,34 @@ var E = class extends i {
|
|
|
401
440
|
return T(this);
|
|
402
441
|
}
|
|
403
442
|
}, D = (E.styles = S, E);
|
|
404
|
-
|
|
405
|
-
reflect: !0,
|
|
406
|
-
converter: l(3)
|
|
407
|
-
})], D.prototype, "size", void 0), s([n({
|
|
443
|
+
r([o({ reflect: !0 })], D.prototype, "size", void 0), r([o({
|
|
408
444
|
reflect: !0,
|
|
409
445
|
attribute: "sm-custom-size",
|
|
410
446
|
converter: l("")
|
|
411
|
-
})], D.prototype, "smCustomSize", void 0),
|
|
447
|
+
})], D.prototype, "smCustomSize", void 0), r([o({
|
|
412
448
|
reflect: !0,
|
|
413
449
|
attribute: "md-custom-size",
|
|
414
450
|
converter: l("")
|
|
415
|
-
})], D.prototype, "mdCustomSize", void 0),
|
|
451
|
+
})], D.prototype, "mdCustomSize", void 0), r([o({
|
|
416
452
|
reflect: !0,
|
|
417
453
|
attribute: "lg-custom-size",
|
|
418
454
|
converter: l("")
|
|
419
|
-
})], D.prototype, "lgCustomSize", void 0),
|
|
455
|
+
})], D.prototype, "lgCustomSize", void 0), r([o({
|
|
420
456
|
reflect: !0,
|
|
421
457
|
converter: l("content")
|
|
422
|
-
})], D.prototype, "color", void 0),
|
|
458
|
+
})], D.prototype, "color", void 0), r([o({
|
|
423
459
|
reflect: !0,
|
|
424
460
|
converter: l("")
|
|
425
|
-
})], D.prototype, "text", void 0),
|
|
461
|
+
})], D.prototype, "text", void 0), r([o({
|
|
426
462
|
reflect: !0,
|
|
427
463
|
attribute: "supporting-text",
|
|
428
464
|
converter: l("")
|
|
429
|
-
})], D.prototype, "supportingText", void 0),
|
|
465
|
+
})], D.prototype, "supportingText", void 0), r([o({
|
|
430
466
|
reflect: !0,
|
|
431
467
|
converter: l("")
|
|
432
|
-
})], D.prototype, "overline", void 0),
|
|
468
|
+
})], D.prototype, "overline", void 0), r([o({
|
|
433
469
|
type: Number,
|
|
434
470
|
reflect: !0,
|
|
435
471
|
attribute: "heading-level"
|
|
436
|
-
})], D.prototype, "headingLevel", void 0),
|
|
472
|
+
})], D.prototype, "headingLevel", void 0), r([s()], D.prototype, "_hasOverlineSlotted", void 0), r([s()], D.prototype, "_hasDefaultSlotted", void 0), r([s()], D.prototype, "_hasSupportingTextSlotted", void 0), r([s()], D.prototype, "_slottedLevel", void 0), D = r([c("nldd-title")], D);
|
|
437
473
|
export { D as NLDDTitle };
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
-
import { t as c } from "./
|
|
6
|
-
import { t as l } from "./
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { t as
|
|
4
|
+
import { t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
|
+
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { t as u } from "./owned-attribute-x9OCTy_4.js";
|
|
7
|
+
import { t as d } from "./implicit-submission-Csbcor_E.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-BeVmf7ky.js";
|
|
9
|
+
import { i as p, n as m, r as h } from "./keyboard-shortcut-CVNilmgr.js";
|
|
10
|
+
import "./tooltip-B6XDYQNn.js";
|
|
11
|
+
import "./icon-D5dJm51v.js";
|
|
12
|
+
import { t as g } from "./described-by-mixin-CPultP0p.js";
|
|
13
|
+
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
14
14
|
// src/components/inputs/toggle-button/toggle-button.styles.ts
|
|
15
|
-
var v =
|
|
15
|
+
var v = i`
|
|
16
16
|
:host {
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
}
|
|
@@ -48,7 +48,7 @@ var v = e`
|
|
|
48
48
|
--_toggle-button-is-selected-is-active-content-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-content-color);
|
|
49
49
|
--_toggle-button-is-selected-is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-highlight-border-color);
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${f}
|
|
52
52
|
display: inline-block;
|
|
53
53
|
position: relative;
|
|
54
54
|
-webkit-user-select: none;
|
|
@@ -313,13 +313,13 @@ var v = e`
|
|
|
313
313
|
`;
|
|
314
314
|
// src/components/inputs/toggle-button/toggle-button.template.ts
|
|
315
315
|
function y(e) {
|
|
316
|
-
let
|
|
316
|
+
let r = e.variant !== "icon" && !!e.text, i = e.variant !== "text" && e._hasIcon, a = e.variant === "icon" || e.variant === "icon-and-text", o = p(e), s = e.accessibleLabel || ((e.variant === "icon" || o) && e.text ? e.text : ""), c = s ? [s, o].filter(Boolean).join(" ") : n, l = (i || e.variant === "icon") && !r && (e.accessibleLabel || e.text) || "", u = (e.selected && e.selectedIcon ? e.selectedIcon : e.icon) || (a ? "icon-placeholder" : ""), d = t`<slot
|
|
317
317
|
name="icon"
|
|
318
318
|
@slotchange=${e.requestUpdate}
|
|
319
|
-
>${
|
|
320
|
-
icon=${
|
|
321
|
-
></nldd-icon>` :
|
|
322
|
-
return
|
|
319
|
+
>${u ? t`<nldd-icon class="toggle-button__icon"
|
|
320
|
+
icon=${u}
|
|
321
|
+
></nldd-icon>` : n}</slot>`, f = r ? t`<span class="toggle-button__text">${e.text}</span>` : n, m;
|
|
322
|
+
return m = e.type === "radio" ? t`
|
|
323
323
|
<div class="toggle-button">
|
|
324
324
|
<input class="toggle-button__validation-input"
|
|
325
325
|
type="radio"
|
|
@@ -329,56 +329,56 @@ function y(e) {
|
|
|
329
329
|
?disabled=${e.disabled}
|
|
330
330
|
.checked=${e._groupHasSelection}
|
|
331
331
|
>
|
|
332
|
-
${
|
|
333
|
-
${
|
|
332
|
+
${d}
|
|
333
|
+
${f}
|
|
334
334
|
</div>
|
|
335
|
-
` : e.type === "checkbox" ?
|
|
335
|
+
` : e.type === "checkbox" ? t`
|
|
336
336
|
<label class="toggle-button">
|
|
337
337
|
<input class="toggle-button__input"
|
|
338
338
|
type="checkbox"
|
|
339
339
|
.checked=${e.selected}
|
|
340
340
|
?disabled=${e.disabled}
|
|
341
341
|
?required=${e.required}
|
|
342
|
-
name=${e.name ||
|
|
342
|
+
name=${e.name || n}
|
|
343
343
|
value=${e.value}
|
|
344
344
|
aria-label=${c}
|
|
345
|
-
tabindex=${e.noTab ? "-1" :
|
|
345
|
+
tabindex=${e.noTab ? "-1" : n}
|
|
346
346
|
@change=${e._handleInputChange}
|
|
347
347
|
>
|
|
348
|
-
${
|
|
349
|
-
${
|
|
348
|
+
${d}
|
|
349
|
+
${f}
|
|
350
350
|
</label>
|
|
351
|
-
` :
|
|
351
|
+
` : t`
|
|
352
352
|
<button class="toggle-button"
|
|
353
353
|
type="button"
|
|
354
354
|
aria-pressed=${e.selected}
|
|
355
355
|
?disabled=${e.disabled}
|
|
356
356
|
aria-label=${c}
|
|
357
|
-
tabindex=${e.noTab ? "-1" :
|
|
357
|
+
tabindex=${e.noTab ? "-1" : n}
|
|
358
358
|
@click=${e._handleButtonClick}
|
|
359
359
|
>
|
|
360
|
-
${
|
|
361
|
-
${
|
|
360
|
+
${d}
|
|
361
|
+
${f}
|
|
362
362
|
</button>
|
|
363
|
-
`, l ||
|
|
363
|
+
`, l || h(e) ? t`
|
|
364
364
|
<nldd-tooltip
|
|
365
|
-
text=${l ||
|
|
366
|
-
shortcut=${e.shortcut ||
|
|
367
|
-
shortcut-mac=${e.shortcutMac ||
|
|
368
|
-
shortcut-windows=${e.shortcutWindows ||
|
|
369
|
-
shortcut-linux=${e.shortcutLinux ||
|
|
365
|
+
text=${l || n}
|
|
366
|
+
shortcut=${e.shortcut || n}
|
|
367
|
+
shortcut-mac=${e.shortcutMac || n}
|
|
368
|
+
shortcut-windows=${e.shortcutWindows || n}
|
|
369
|
+
shortcut-linux=${e.shortcutLinux || n}
|
|
370
370
|
>
|
|
371
|
-
${
|
|
371
|
+
${m}
|
|
372
372
|
</nldd-tooltip>
|
|
373
|
-
` :
|
|
373
|
+
` : m;
|
|
374
374
|
}
|
|
375
375
|
// src/components/inputs/toggle-button/toggle-button.ts
|
|
376
|
-
var b = class extends
|
|
376
|
+
var b = class extends g(c(e)) {
|
|
377
377
|
constructor(...e) {
|
|
378
|
-
super(...e), this.required = !1, this._initialSelected = !1, this.type = "button", this.appearance = "neutral-tinted", this.size = "md", this.selected = !1, this.disabled = !1, this.noTab = !1, this.value = "on", this.name = "", this.text = "", this.icon = "", this.selectedIcon = "", this.variant = "", this.accessibleLabel = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.invalid = !1, this._groupPosition = null, this._groupHasSelection = !1, this._appliedRadioLabel = null, this._shortcutAvailability = new
|
|
378
|
+
super(...e), this.required = !1, this._initialSelected = !1, this.type = "button", this.appearance = "neutral-tinted", this.size = "md", this.selected = !1, this.disabled = !1, this.noTab = !1, this.value = "on", this.name = "", this.text = "", this.icon = "", this.selectedIcon = "", this.variant = "", this.accessibleLabel = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.invalid = !1, this._groupPosition = null, this._groupHasSelection = !1, this._appliedRadioLabel = null, this._shortcutAvailability = new m(this), this._onRadioClick = () => {
|
|
379
379
|
this.type === "radio" && this.toggle();
|
|
380
380
|
}, this._onRadioKeyDown = (e) => {
|
|
381
|
-
this.type !== "radio" || this.disabled || (e.key === " " ? (e.preventDefault(), this.toggle()) : e.key === "Enter" &&
|
|
381
|
+
this.type !== "radio" || this.disabled || (e.key === " " ? (e.preventDefault(), this.toggle()) : e.key === "Enter" && d(this, e));
|
|
382
382
|
}, this._onRadioFocus = () => {
|
|
383
383
|
this._tooltip?._handleFocusIn();
|
|
384
384
|
}, this._onRadioBlur = () => {
|
|
@@ -406,12 +406,12 @@ var b = class extends p(g(r)) {
|
|
|
406
406
|
"aria-setsize",
|
|
407
407
|
"tabindex"
|
|
408
408
|
]) this.removeAttribute(e);
|
|
409
|
-
this._appliedRadioLabel =
|
|
409
|
+
this._appliedRadioLabel = u(this, "aria-label", "", this._appliedRadioLabel);
|
|
410
410
|
return;
|
|
411
411
|
}
|
|
412
412
|
this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.selected));
|
|
413
|
-
let e = [this.accessibleLabel || this.text,
|
|
414
|
-
this._appliedRadioLabel =
|
|
413
|
+
let e = [this.accessibleLabel || this.text, p(this)].filter(Boolean).join(" ");
|
|
414
|
+
this._appliedRadioLabel = u(this, "aria-label", e, this._appliedRadioLabel), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled");
|
|
415
415
|
let t = this._groupPosition;
|
|
416
416
|
t ? (this.setAttribute("aria-posinset", String(t.posInSet)), this.setAttribute("aria-setsize", String(t.setSize))) : (this.removeAttribute("aria-posinset"), this.removeAttribute("aria-setsize"));
|
|
417
417
|
let n = !this.disabled && !this.noTab && t?.tabbable !== !1;
|
|
@@ -459,7 +459,7 @@ var b = class extends p(g(r)) {
|
|
|
459
459
|
this.disabled || this.type === "radio" && this.selected || this._toggle();
|
|
460
460
|
}
|
|
461
461
|
focus(e) {
|
|
462
|
-
|
|
462
|
+
_(this, e) || (this.type === "radio" ? super.focus(e) : this.shadowRoot?.querySelector(".toggle-button__input, button.toggle-button")?.focus(e));
|
|
463
463
|
}
|
|
464
464
|
describedTarget() {
|
|
465
465
|
return this.shadowRoot?.querySelector("button.toggle-button") ?? null;
|
|
@@ -468,61 +468,61 @@ var b = class extends p(g(r)) {
|
|
|
468
468
|
return y(this);
|
|
469
469
|
}
|
|
470
470
|
}, x = (b.styles = v, b.isFormInput = !0, b);
|
|
471
|
-
|
|
471
|
+
r([a({
|
|
472
472
|
type: Boolean,
|
|
473
473
|
reflect: !0
|
|
474
|
-
})], x.prototype, "required", void 0),
|
|
474
|
+
})], x.prototype, "required", void 0), r([a({
|
|
475
475
|
reflect: !0,
|
|
476
|
-
converter:
|
|
477
|
-
})], x.prototype, "type", void 0),
|
|
476
|
+
converter: l("button")
|
|
477
|
+
})], x.prototype, "type", void 0), r([a({
|
|
478
478
|
reflect: !0,
|
|
479
|
-
converter:
|
|
480
|
-
})], x.prototype, "appearance", void 0),
|
|
479
|
+
converter: l("neutral-tinted")
|
|
480
|
+
})], x.prototype, "appearance", void 0), r([a({
|
|
481
481
|
reflect: !0,
|
|
482
|
-
converter:
|
|
483
|
-
})], x.prototype, "size", void 0),
|
|
482
|
+
converter: l("md")
|
|
483
|
+
})], x.prototype, "size", void 0), r([a({
|
|
484
484
|
type: Boolean,
|
|
485
485
|
reflect: !0
|
|
486
|
-
})], x.prototype, "selected", void 0),
|
|
486
|
+
})], x.prototype, "selected", void 0), r([a({
|
|
487
487
|
type: Boolean,
|
|
488
488
|
reflect: !0
|
|
489
|
-
})], x.prototype, "disabled", void 0),
|
|
489
|
+
})], x.prototype, "disabled", void 0), r([a({
|
|
490
490
|
type: Boolean,
|
|
491
491
|
reflect: !0,
|
|
492
492
|
attribute: "no-tab"
|
|
493
|
-
})], x.prototype, "noTab", void 0),
|
|
493
|
+
})], x.prototype, "noTab", void 0), r([a({ type: String })], x.prototype, "value", void 0), r([a({
|
|
494
494
|
reflect: !0,
|
|
495
|
-
converter:
|
|
496
|
-
})], x.prototype, "name", void 0),
|
|
495
|
+
converter: l("")
|
|
496
|
+
})], x.prototype, "name", void 0), r([a({
|
|
497
497
|
reflect: !0,
|
|
498
|
-
converter:
|
|
499
|
-
})], x.prototype, "text", void 0),
|
|
498
|
+
converter: l("")
|
|
499
|
+
})], x.prototype, "text", void 0), r([a({ type: String })], x.prototype, "icon", void 0), r([a({
|
|
500
500
|
reflect: !0,
|
|
501
501
|
attribute: "selected-icon",
|
|
502
|
-
converter:
|
|
503
|
-
})], x.prototype, "selectedIcon", void 0),
|
|
502
|
+
converter: l("")
|
|
503
|
+
})], x.prototype, "selectedIcon", void 0), r([a({
|
|
504
504
|
reflect: !0,
|
|
505
|
-
converter:
|
|
506
|
-
})], x.prototype, "variant", void 0),
|
|
505
|
+
converter: l("")
|
|
506
|
+
})], x.prototype, "variant", void 0), r([a({
|
|
507
507
|
type: String,
|
|
508
508
|
attribute: "accessible-label"
|
|
509
|
-
})], x.prototype, "accessibleLabel", void 0),
|
|
509
|
+
})], x.prototype, "accessibleLabel", void 0), r([a({
|
|
510
510
|
reflect: !0,
|
|
511
|
-
converter:
|
|
512
|
-
})], x.prototype, "shortcut", void 0),
|
|
511
|
+
converter: l("")
|
|
512
|
+
})], x.prototype, "shortcut", void 0), r([a({
|
|
513
513
|
reflect: !0,
|
|
514
514
|
attribute: "shortcut-mac",
|
|
515
|
-
converter:
|
|
516
|
-
})], x.prototype, "shortcutMac", void 0),
|
|
515
|
+
converter: l("")
|
|
516
|
+
})], x.prototype, "shortcutMac", void 0), r([a({
|
|
517
517
|
reflect: !0,
|
|
518
518
|
attribute: "shortcut-windows",
|
|
519
|
-
converter:
|
|
520
|
-
})], x.prototype, "shortcutWindows", void 0),
|
|
519
|
+
converter: l("")
|
|
520
|
+
})], x.prototype, "shortcutWindows", void 0), r([a({
|
|
521
521
|
reflect: !0,
|
|
522
522
|
attribute: "shortcut-linux",
|
|
523
|
-
converter:
|
|
524
|
-
})], x.prototype, "shortcutLinux", void 0),
|
|
523
|
+
converter: l("")
|
|
524
|
+
})], x.prototype, "shortcutLinux", void 0), r([a({
|
|
525
525
|
type: Boolean,
|
|
526
526
|
reflect: !0
|
|
527
|
-
})], x.prototype, "invalid", void 0),
|
|
527
|
+
})], x.prototype, "invalid", void 0), r([o()], x.prototype, "_groupPosition", void 0), r([o()], x.prototype, "_groupHasSelection", void 0), x = r([s("nldd-toggle-button")], x);
|
|
528
528
|
export { x as NLDDToggleButton };
|