@nldd/design-system 0.23.0 → 0.25.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 +1286 -47
- package/dist/assets/styles/scroll-fade.d.ts +13 -0
- package/dist/assets/styles/scroll-fade.d.ts.map +1 -0
- package/dist/assets/styles/scroll-fade.js +53 -0
- package/dist/assets/styles/scroll-fade.js.map +1 -0
- package/dist/assets/styles/shadow-resets.d.ts +9 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +13 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +137 -136
- package/dist/cdn/chunks/{activity-indicator-D86Mv6SL.js → activity-indicator-Dc6c9HtC.js} +12 -12
- package/dist/cdn/chunks/{avatar-BISv6tzp.js → avatar-CHXRpWWk.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-D7IN6DxU.js → avatar-group-B76E8oC6.js} +20 -20
- package/dist/cdn/chunks/{badge-R3PZUsqZ.js → badge-tO7gHhdi.js} +5 -5
- package/dist/cdn/chunks/{banner-DRANlf5k.js → banner-D4kFQYXF.js} +15 -15
- package/dist/cdn/chunks/{bar-split-view-B-Y2nqgS.js → bar-split-view-C9bYdWSR.js} +7 -7
- package/dist/cdn/chunks/{blockquote-pUgJLPY1.js → blockquote-DRJajjBB.js} +9 -9
- package/dist/cdn/chunks/{box-BbXHpBQy.js → box-D10mS19t.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-BdF4m3DB.js → breadcrumbs-BUdQJG3z.js} +6 -6
- package/dist/cdn/chunks/{button-CsqNHH3w.js → button-CwY9fWCg.js} +61 -48
- package/dist/cdn/chunks/{button-bar-CnYIw4fN.js → button-bar-DkqbRvff.js} +30 -30
- package/dist/cdn/chunks/{button-group-xaHghyon.js → button-group-p364JgTR.js} +2 -2
- package/dist/cdn/chunks/{card-Bbf0aCIh.js → card-B7TaSaw7.js} +9 -9
- package/dist/cdn/chunks/{cell-Dggt5oYG.js → cell-BTIpXf1T.js} +6 -6
- package/dist/cdn/chunks/{checkbox-DmFAS8ec.js → checkbox-BLEK0rAV.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-fOWPH8Q7.js → checkbox-field-CDtlpN-u.js} +5 -5
- package/dist/cdn/chunks/{class-map-BWGTUNv4.js → class-map-5WYS_nCb.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CANFZX66.js → code-editor-CanGMLIo.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C_vUEx7J.js → code-viewer-DCZ3wjMd.js} +29 -21
- package/dist/cdn/chunks/{codemirror-input-wexTiqWw.js → codemirror-input-CtvDBy25.js} +4 -4
- package/dist/cdn/chunks/{collection-_emTry5U.js → collection-D8K79X0H.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CGwj1u4a.js → combo-box-BeWoeEY8.js} +25 -25
- package/dist/cdn/chunks/{container-D5Dz-j6a.js → container-Be2J-GhB.js} +48 -48
- package/dist/cdn/chunks/{custom-element-DbwbPetH.js → custom-element-DGlHv_OV.js} +4 -2
- package/dist/cdn/chunks/{date-field-ChmyLtTj.js → date-field-BLaGVd4x.js} +29 -29
- package/dist/cdn/chunks/{date-field.i18n-BTzc0E9a.js → date-field.i18n-BqIx3eyr.js} +1 -1
- package/dist/cdn/chunks/{date-picker-CUQKdjS4.js → date-picker-C4mLZKWF.js} +16 -16
- package/dist/cdn/chunks/{decorate-_JGq4E_7.js → decorate-Czy-wI4F.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DbnuGktP.js → described-by-mixin-fLi4Nmt7.js} +6 -3
- package/dist/cdn/chunks/{description-cell-BgcO7ObI.js → description-cell-aQyLX0U0.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-KAnKlxY0.js → dev-checks-qTR6tciJ.js} +140 -33
- package/dist/cdn/chunks/{dist-HgRt6IKh.js → dist-BLnIbkqH.js} +1 -1
- package/dist/cdn/chunks/{dist-DADIyiX-.js → dist-BNS6C8sP.js} +2 -2
- package/dist/cdn/chunks/{dist-CLKJ5z0x.js → dist-B_fXtXqM.js} +1 -1
- package/dist/cdn/chunks/{dist-CKZ98PMy.js → dist-CX0g6sV1.js} +3 -3
- package/dist/cdn/chunks/{dist-CJLBwJx0.js → dist-CZOXq9aZ.js} +1 -1
- package/dist/cdn/chunks/{dist-CBnQQ6kV.js → dist-CdF0c6UD.js} +2 -2
- package/dist/cdn/chunks/{dist-BJrN5nEM.js → dist-DHK9tNd7.js} +1 -1
- package/dist/cdn/chunks/{dist-BF9euKgj.js → dist-WQv_JUmB.js} +2 -2
- package/dist/cdn/chunks/{dist-D7Wubc1l.js → dist-_QFa91Kz.js} +1 -1
- package/dist/cdn/chunks/{dist-Bz3Isx60.js → dist-fDpuYq7K.js} +1 -1
- package/dist/cdn/chunks/{dist-BHMubC6P.js → dist-p1FcXq9E.js} +3 -3
- package/dist/cdn/chunks/{divider-pO5O6wL4.js → divider-2hHcSIga.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C_-iuaUc.js → document-tab-bar-CIWiZUB5.js} +18 -18
- package/dist/cdn/chunks/{dropdown-DYO6049g.js → dropdown-Bwn6dQrK.js} +5 -5
- package/dist/cdn/chunks/{file-field-C-Fk92rD.js → file-field-CtQ6Fzkj.js} +25 -25
- package/dist/cdn/chunks/{form-actions-DrOX7nX8.js → form-actions-DSL0qce-.js} +3 -3
- package/dist/cdn/chunks/{form-field-CR2Py09O.js → form-field--t3Bz1pc.js} +7 -7
- package/dist/cdn/chunks/{form-section-s1mkLzaC.js → form-section-D1n8Sdmt.js} +16 -16
- package/dist/cdn/chunks/{form-ChXBrKw6.js → form-vSM2SOrK.js} +10 -10
- package/dist/cdn/chunks/{full-bleed-section-vOVI_f86.js → full-bleed-section-w2pDVC5v.js} +4 -4
- package/dist/cdn/chunks/{hero-Cb3qIvvh.js → hero-BypUmnRi.js} +22 -22
- package/dist/cdn/chunks/{icon-DBhTZrnl.js → icon-BydOAoVO.js} +7 -7
- package/dist/cdn/chunks/{icon-button-bDuQ_6W_.js → icon-button-C_MZ-jXt.js} +56 -43
- package/dist/cdn/chunks/{icon-cell-DlSZNTF3.js → icon-cell-jiYNsV84.js} +6 -6
- package/dist/cdn/chunks/{identity-CJTVNI9J.js → identity-D1Sw6OdG.js} +55 -39
- package/dist/cdn/chunks/{if-defined-28B8DYUB.js → if-defined-pKQLIQvK.js} +1 -1
- package/dist/cdn/chunks/{image-DlTxyeL3.js → image-DEI0hogS.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-BJlOrD6M.js → inline-dialog-CTjJ8Tl_.js} +15 -15
- package/dist/cdn/chunks/interest-controller-Ban-3NrX.js +117 -0
- package/dist/cdn/chunks/{just-in-time-education-DWBDshKs.js → just-in-time-education-pUUxdKPR.js} +5 -5
- package/dist/cdn/chunks/{kanban-DIXY8FcZ.js → kanban-KSLBcCb4.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-DmnxctX6.js → kanban-column-RNSdiBIT.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-kYOKwBqs.js → keyboard-shortcut-D9TYAQu1.js} +3 -3
- package/dist/cdn/chunks/{languages-DGtcUhLc.js → languages-DGZO3jTf.js} +12 -12
- package/dist/cdn/chunks/{link-DhnhhTOg.js → link-C4K1qVcb.js} +88 -24
- package/dist/cdn/chunks/{link-group-Bx2nkQcS.js → link-group-BEYO7nTK.js} +2 -2
- package/dist/cdn/chunks/{list-item-CSNBaRlK.js → list-item-CotWNKc1.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-D6WvAh3A.js → list-item-segment-C-yl2GAS.js} +15 -15
- package/dist/cdn/chunks/{list-CXCG_IEc.js → list-rMBdnf1f.js} +15 -15
- package/dist/cdn/chunks/{menu-bar-xahTEYTX.js → menu-bar-D9IxDwC2.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-C950rfSt.js → menu-bar-item-768OWJdt.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-XlYJ4zQz.js → menu-divider-BHAGnkBl.js} +3 -3
- package/dist/cdn/chunks/{menu-group-E6hIEtLj.js → menu-group-B5MAz_Yk.js} +6 -6
- package/dist/cdn/chunks/{menu-item-2y0VC5Gb.js → menu-item-Ba581zRi.js} +24 -24
- package/dist/cdn/chunks/{menu-CKxKVA36.js → menu-rE6tDSAy.js} +48 -27
- package/dist/cdn/chunks/{menu.template-ZBhUFgBJ.js → menu.template-Eb7J7UrL.js} +130 -76
- package/dist/cdn/chunks/{modal-dialog-DdFpcRLJ.js → modal-dialog-Djln8pr7.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-okvEa54Q.js → multi-line-text-field-Omt0oidK.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-dNRQDSpy.js → navigation-split-view-DDng9DdF.js} +11 -11
- package/dist/cdn/chunks/nl.generated-CgRVSEh6.js +116 -0
- package/dist/cdn/chunks/{notification-2tnwXEY1.js → notification-DB6JOmCC.js} +13 -13
- package/dist/cdn/chunks/{number-field-CH7EvpSq.js → number-field-xgr4dysX.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-UZDP-KO-.js → one-half-one-half-section-CFhmSDDa.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-8KtESdXO.js → one-third-two-thirds-section-D0JV0GJ_.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-Bvm3ND6e.js → one-time-code-field-CqgKQqdE.js} +20 -20
- package/dist/cdn/chunks/{page-PK1FWuKJ.js → page-DXWHG-hD.js} +10 -10
- package/dist/cdn/chunks/{page-footer-BamWKHwH.js → page-footer-GexGY_m-.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-3q59_Jo_.js → page-section-mixin-CtiPKCqL.js} +4 -10
- package/dist/cdn/chunks/{pagination-47zAyQhM.js → pagination-DJkfE8t9.js} +6 -6
- package/dist/cdn/chunks/{password-field-FaU02DSW.js → password-field-gKiiE_5e.js} +7 -7
- package/dist/cdn/chunks/{popover-642mOFR5.js → popover-C-jxcCHx.js} +74 -50
- package/dist/cdn/chunks/{progress-bar-BivaNkIY.js → progress-bar-CBWQRWkE.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-ewL0JIcz.js → progress-circle-CCcRDOOJ.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DvrYYSnm.js → radio-button-B8xwJO3_.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-BVi0YrTF.js → radio-button-field-B9lRNOXJ.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-DZ9OWUNe.js → radio-button-group-Cy7Ya28w.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CO31_4GS.js → render-marked-DjXBoUGY.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Doetg58W.js → reorder-handle-cell-B6V85qYk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DCjwUXr0.js → reorder-handle-mixin-DTmEmT-V.js} +2 -2
- package/dist/cdn/chunks/{repeat-Wb4hkVZc.js → repeat-Ck8L8Iy9.js} +1 -1
- package/dist/cdn/chunks/{rich-text-Do08iiIz.js → rich-text-CqQeOXwL.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CKR5rHBA.js → row-header-mixin-XRu3gHMf.js} +2 -2
- package/dist/cdn/chunks/scroll-fade-e6d1wo3D.js +41 -0
- package/dist/cdn/chunks/{search-field-CCeeGiJM.js → search-field-Cz7Ucf6x.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-CWIPxEBq.js → segmented-control-CLzKU4SX.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-NKr5gQCc.js → shadow-resets-CodxnaUh.js} +11 -7
- package/dist/cdn/chunks/{sheet-WOjBtZvN.js → sheet-DkmSsRV3.js} +4 -4
- package/dist/cdn/chunks/{shell-Brn0Dr8F.js → shell-Ex_f7Ov3.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DGIMsyma.js → side-by-side-split-view-C8aSEGRc.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-BXHeI8GN.js → sidebar-section-CnD-3i7r.js} +8 -8
- package/dist/cdn/chunks/{simple-section-C8lJZLAO.js → simple-section-CeKnmobI.js} +4 -4
- package/dist/cdn/chunks/{skip-link-QdRgHljr.js → skip-link-DwtFm_NJ.js} +13 -8
- package/dist/cdn/chunks/skip-link.i18n-B7pVqo5u.js +6 -0
- package/dist/cdn/chunks/{slider-BhjBeWqc.js → slider-BVdkwNW3.js} +21 -21
- package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
- package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
- package/dist/cdn/chunks/{spacer-BgkOjuUj.js → spacer-H4zmoDr_.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-DBI0PVd7.js → spacer-cell-BES4eJH1.js} +4 -4
- package/dist/cdn/chunks/{split-button-DfD9vxPe.js → split-button-Caa30uTx.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-B4NFlri5.js → split-view-divider-klvZ8lgP.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-CwFf13hX.js → split-view-pane-Cnx56S5C.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BmbzTinq.js → stacked-split-view-CYdGBY7Q.js} +7 -7
- package/dist/cdn/chunks/{static-html-CZrcQRgC.js → static-html--Xd5vkAU.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CTOf_bDL.js → status-bar-CJybViWL.js} +4 -4
- package/dist/cdn/chunks/{step-bar-B5vzvhz-.js → step-bar-BO6Y1BrK.js} +21 -21
- package/dist/cdn/chunks/{step-cell-CUA-HUZv.js → step-cell-BQ8EHZVR.js} +5 -5
- package/dist/cdn/chunks/{stepper-LxPTQ6HJ.js → stepper-COTaJwSU.js} +6 -6
- package/dist/cdn/chunks/{style-map-DiIQAb_L.js → style-map-BwtZr74h.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Cxv9HK3A.js → swatch-picker-5fxe3QB1.js} +21 -21
- package/dist/cdn/chunks/{switch-CbNSJQPp.js → switch-BUxGg2ww.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B8vOvcKc.js → switch-field-DOsEK534.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D4ot_wZ4.js → tab-bar-CZ9Z9qV9.js} +21 -21
- package/dist/cdn/chunks/{table-uh4YPqda.js → table-SAsB1kDN.js} +5 -5
- package/dist/cdn/chunks/{tag-D2dCXT7A.js → tag-xuCeECO3.js} +16 -12
- package/dist/cdn/chunks/term-DHEvoltZ.js +212 -0
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +3 -0
- package/dist/cdn/chunks/text-CiFzQPQw.js +260 -0
- package/dist/cdn/chunks/{text-cell-DNCpmw9h.js → text-cell-DQNzo2Rp.js} +74 -62
- package/dist/cdn/chunks/{text-editor-C6UKAmPL.js → text-editor-DCYF_nqz.js} +257 -237
- package/dist/cdn/chunks/{text-field-Dmkd4mHV.js → text-field-BiPeMi6s.js} +22 -22
- package/dist/cdn/chunks/{time-field-BfgNZbEb.js → time-field-C-Euaiy0.js} +125 -99
- package/dist/cdn/chunks/{time-field.i18n-CLH5vmS7.js → time-field.i18n-BM6qGbmN.js} +0 -1
- package/dist/cdn/chunks/{time-picker-C1SBkU-e.js → time-picker-DYkxhEYm.js} +12 -11
- package/dist/cdn/chunks/{title-DFrd-Fsh.js → title-DkS07R_v.js} +113 -98
- package/dist/cdn/chunks/{title-cell-CC1dQyth.js → title-cell-CJevv6Vg.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-bAX6uzgz.js → toggle-button-DDqd56_3.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-B7CHBww5.js → toggle-button-group-ByxgMVzH.js} +2 -2
- package/dist/cdn/chunks/{token-CicHNqIk.js → token-YpVKK1g4.js} +13 -13
- package/dist/cdn/chunks/{token-field-BFynQ-T-.js → token-field-vLdJSvUz.js} +21 -21
- package/dist/cdn/chunks/{toolbar-hAmL7o23.js → toolbar-C-5H46y9.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-CjgkcYJ2.js → toolbar-item-CvPtoAoQ.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-B1acxCGx.js → toolbar-title-HElUvLeY.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-xiyZx5D0.js → toolbar.styles-BuJIgj1E.js} +3 -3
- package/dist/cdn/chunks/{tooltip-Mj47t8v7.js → tooltip-BF4HkWOi.js} +16 -16
- package/dist/cdn/chunks/{top-navigation-bar-vP5QGBXd.js → top-navigation-bar-ngF2MF40.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-Yt6cmRLj.js → top-title-bar-BUjpi-w6.js} +14 -14
- package/dist/cdn/chunks/{translations-BMMzf2sX.js → translations-BWgmZCAK.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BHN98jET.js → two-thirds-one-third-section-Ci6O8SwP.js} +4 -4
- package/dist/cdn/chunks/{validation-list-CUPzu9_z.js → validation-list-BBNFz_2I.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-DPuxf-sj.js → visibility-mixin-BP5T5qYB.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-CvjJIBhz.js → visually-hidden-BqYWVy4n.js} +2 -2
- package/dist/cdn/chunks/{window-BqGlzGaS.js → window-CvgGg1Ib.js} +4 -4
- package/dist/cdn/chunks/{with-translations-CRvWJWep.js → with-translations-8SmMZkGa.js} +3 -3
- package/dist/components/actions/button/button.d.ts +9 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +16 -0
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +6 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +2 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +8 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +17 -0
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +6 -0
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +3 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +25 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +86 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +55 -3
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +55 -53
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +2 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +26 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +17 -10
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +33 -19
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +5 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +11 -5
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +6 -2
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/term/term.d.ts +115 -0
- package/dist/components/content/term/term.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.d.ts +5 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.js +5 -0
- package/dist/components/content/term/term.i18n.js.map +1 -0
- package/dist/components/content/term/term.js +256 -0
- package/dist/components/content/term/term.js.map +1 -0
- package/dist/components/content/term/term.styles.d.ts +2 -0
- package/dist/components/content/term/term.styles.d.ts.map +1 -0
- package/dist/components/content/term/term.styles.js +65 -0
- package/dist/components/content/term/term.styles.js.map +1 -0
- package/dist/components/content/term/term.template.d.ts +4 -0
- package/dist/components/content/term/term.template.d.ts.map +1 -0
- package/dist/components/content/term/term.template.js +55 -0
- package/dist/components/content/term/term.template.js.map +1 -0
- package/dist/components/content/text/text.d.ts +15 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +19 -3
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -155
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/text/text.template.d.ts +3 -2
- package/dist/components/content/text/text.template.d.ts.map +1 -1
- package/dist/components/content/text/text.template.js +3 -4
- package/dist/components/content/text/text.template.js.map +1 -1
- package/dist/components/content/title/title.d.ts +22 -7
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +43 -19
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +8 -7
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +2 -2
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -2
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -2
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +3 -2
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts +5 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js +17 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +21 -6
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts +0 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.js +0 -2
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +69 -13
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +13 -1
- package/dist/components/inputs/time-field/time-field.styles.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 +13 -10
- package/dist/components/inputs/time-field/time-field.template.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 +3 -2
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +2 -2
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +29 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +70 -8
- 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 +15 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.template.js +1 -1
- package/dist/components/layout/popover/popover.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
- 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 +40 -31
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
- 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 +39 -29
- 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.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +68 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +162 -1
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +9 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +4 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +12 -4
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts +1 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.js +2 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +18 -4
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/css/global-open-font.css +2 -0
- package/dist/css/global.css +2 -0
- package/dist/css/link.css +93 -0
- package/dist/css/text.css +159 -0
- package/dist/css/title.css +10 -10
- package/dist/nldd.min.js +2207 -2121
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +3 -2
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +3 -2
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +3 -2
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +3 -2
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +3 -2
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +40 -16
- package/dist/types/vue.d.ts +42 -16
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +1 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/custom-element.d.ts +10 -0
- package/dist/utilities/custom-element.d.ts.map +1 -1
- package/dist/utilities/custom-element.js +11 -0
- package/dist/utilities/custom-element.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +2 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +10 -1
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +8 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +36 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +102 -17
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/interest-controller.d.ts +80 -0
- package/dist/utilities/interest-controller.d.ts.map +1 -0
- package/dist/utilities/interest-controller.js +339 -0
- package/dist/utilities/interest-controller.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +2 -3
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +2 -9
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/slot-content.d.ts +18 -7
- package/dist/utilities/slot-content.d.ts.map +1 -1
- package/dist/utilities/slot-content.js +25 -4
- package/dist/utilities/slot-content.js.map +1 -1
- package/dist/utilities/slotted-block.d.ts +20 -0
- package/dist/utilities/slotted-block.d.ts.map +1 -0
- package/dist/utilities/slotted-block.js +30 -0
- package/dist/utilities/slotted-block.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -2
- package/lint/frontends.js +149 -15
- package/lint/linter.js +3 -2
- package/lint/main.js +17 -3
- package/lint/project.js +2 -2
- package/lint/rule.schema.json +2 -1
- package/package.json +11 -2
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +0 -114
- package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +0 -3
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/text-BX4Xm40t.js +0 -406
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, o as a, r as o } from "./custom-element-DGlHv_OV.js";
|
|
3
|
+
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as c } from "./slot-content-2qH2vEC_.js";
|
|
5
|
+
import { n as l, r as u, t as d } from "./custom-font-size-D7KNr84p.js";
|
|
6
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
+
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
+
import { r as m } from "./shadow-resets-CodxnaUh.js";
|
|
9
|
+
// src/components/content/text/text.styles.ts
|
|
10
|
+
var h = a(p.smMax), g = a(p.mdMin), _ = a(p.mdMax), v = a(p.lgMin), y = (e, t, n, r) => i`
|
|
11
|
+
${a(e)} {
|
|
12
|
+
@media (max-width: ${h}) {
|
|
13
|
+
--_text-font: ${a(t)};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (min-width: ${g}) and (max-width: ${_}) {
|
|
17
|
+
--_text-font: ${a(n)};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (min-width: ${v}) {
|
|
21
|
+
--_text-font: ${a(r)};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@container layout-container (max-width: ${h}) {
|
|
25
|
+
--_text-font: ${a(t)};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@container layout-container (min-width: ${g}) and (max-width: ${_}) {
|
|
29
|
+
--_text-font: ${a(n)};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@container layout-container (min-width: ${v}) {
|
|
33
|
+
--_text-font: ${a(r)};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`, b = (e, t, n, r) => i`
|
|
37
|
+
${a(e)} {
|
|
38
|
+
@media ${t} {
|
|
39
|
+
--_text-font: ${a(r)};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@container layout-container ${n} {
|
|
43
|
+
--_text-font: ${a(r)};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
`, x = i`
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/* # Host */
|
|
50
|
+
|
|
51
|
+
:host {
|
|
52
|
+
--_text-font-size: var(--primitives-font-size-100);
|
|
53
|
+
--_text-font-weight: var(--primitives-font-weight-body-regular);
|
|
54
|
+
--_text-line-height: var(--primitives-line-height-snug);
|
|
55
|
+
--_text-max-width: var(--semantics-text-max-width);
|
|
56
|
+
--_text-font: var(--_text-font-weight) var(--_text-font-size) / var(--_text-line-height) var(--primitives-font-family-body);
|
|
57
|
+
--_text-hyphenate-limit-before: 5;
|
|
58
|
+
--_text-hyphenate-limit-after: 5;
|
|
59
|
+
--_text-sm-custom-size: initial;
|
|
60
|
+
--_text-md-custom-size: initial;
|
|
61
|
+
--_text-lg-custom-size: initial;
|
|
62
|
+
--_text-sm-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-sm-custom-size), var(--primitives-font-size-700)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
63
|
+
--_text-md-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-md-custom-size), var(--primitives-font-size-800)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
64
|
+
--_text-lg-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-lg-custom-size), var(--primitives-font-size-1000)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
65
|
+
--_text-color: var(--context-content-color);
|
|
66
|
+
--_text-align: left;
|
|
67
|
+
|
|
68
|
+
display: block;
|
|
69
|
+
max-width: var(--_text-max-width);
|
|
70
|
+
color: var(--_text-color);
|
|
71
|
+
text-align: var(--_text-align);
|
|
72
|
+
font: var(--_text-font);
|
|
73
|
+
text-wrap: pretty;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([hidden]) {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/* # Size */
|
|
82
|
+
|
|
83
|
+
:host([size="xxs"]) {
|
|
84
|
+
--_text-font-size: var(--primitives-font-size-70);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:host([size="xs"]) {
|
|
88
|
+
--_text-font-size: var(--primitives-font-size-80);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:host([size="sm"]) {
|
|
92
|
+
--_text-font-size: var(--primitives-font-size-90);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:host([size="lg"]) {
|
|
96
|
+
--_text-font-size: var(--primitives-font-size-200);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* ## Display */
|
|
100
|
+
|
|
101
|
+
${a([
|
|
102
|
+
6,
|
|
103
|
+
5,
|
|
104
|
+
4,
|
|
105
|
+
3,
|
|
106
|
+
2,
|
|
107
|
+
1
|
|
108
|
+
].map((e) => y(`:host([size="display-${e}"])`, `var(--primitives-font-display-${e}-sm)`, `var(--primitives-font-display-${e}-md)`, `var(--primitives-font-display-${e}-lg)`).cssText).join("\n"))}
|
|
109
|
+
|
|
110
|
+
/* ## Custom size */
|
|
111
|
+
|
|
112
|
+
${b(":host([data-sm-custom-size])", i`(max-width: ${h})`, i`(max-width: ${h})`, "var(--_text-sm-custom-font)")}
|
|
113
|
+
${b(":host([data-md-custom-size])", i`(min-width: ${g}) and (max-width: ${_})`, i`(min-width: ${g}) and (max-width: ${_})`, "var(--_text-md-custom-font)")}
|
|
114
|
+
${b(":host([data-lg-custom-size])", i`(min-width: ${v})`, i`(min-width: ${v})`, "var(--_text-lg-custom-font)")}
|
|
115
|
+
|
|
116
|
+
/* The measure is in ch, as on nldd-title: 40em of large letters is a ruler. */
|
|
117
|
+
:host([size^="display-"]),
|
|
118
|
+
:host([data-sm-custom-size]),
|
|
119
|
+
:host([data-md-custom-size]),
|
|
120
|
+
:host([data-lg-custom-size]) {
|
|
121
|
+
--_text-max-width: 40ch;
|
|
122
|
+
|
|
123
|
+
overflow-wrap: anywhere;
|
|
124
|
+
text-wrap: balance;
|
|
125
|
+
-webkit-hyphens: auto;
|
|
126
|
+
hyphens: auto;
|
|
127
|
+
-webkit-hyphenate-limit-before: var(--_text-hyphenate-limit-before);
|
|
128
|
+
-webkit-hyphenate-limit-after: var(--_text-hyphenate-limit-after);
|
|
129
|
+
hyphenate-limit-chars: 12 var(--_text-hyphenate-limit-before) var(--_text-hyphenate-limit-after);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/* # Weight */
|
|
134
|
+
|
|
135
|
+
:host([weight="medium"]) {
|
|
136
|
+
--_text-font-weight: var(--primitives-font-weight-body-medium);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:host([weight="bold"]) {
|
|
140
|
+
--_text-font-weight: var(--primitives-font-weight-body-bold);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
/* # Slot */
|
|
145
|
+
|
|
146
|
+
::slotted(:is(p, span)) {
|
|
147
|
+
${m}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.text {
|
|
151
|
+
margin: 0;
|
|
152
|
+
font: inherit;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
/* # Line height */
|
|
157
|
+
|
|
158
|
+
:host([line-height="flat"]) {
|
|
159
|
+
--_text-line-height: var(--primitives-line-height-flat);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:host([line-height="tight"]) {
|
|
163
|
+
--_text-line-height: var(--primitives-line-height-tight);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:host([line-height="loose"]) {
|
|
167
|
+
--_text-line-height: var(--primitives-line-height-loose);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
/* # Color */
|
|
172
|
+
|
|
173
|
+
:host([color="secondary"]) {
|
|
174
|
+
--_text-color: var(--context-content-secondary-color);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
:host([color="accent"]) {
|
|
178
|
+
--_text-color: var(--context-content-accent-color);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:host([color="success"]) {
|
|
182
|
+
--_text-color: var(--context-content-success-color);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host([color="warning"]) {
|
|
186
|
+
--_text-color: var(--context-content-warning-color);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:host([color="critical"]) {
|
|
190
|
+
--_text-color: var(--context-content-critical-color);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
/* # Alignment */
|
|
195
|
+
|
|
196
|
+
:host([horizontal-alignment="center"]) {
|
|
197
|
+
--_text-align: center;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:host([horizontal-alignment="right"]) {
|
|
201
|
+
--_text-align: right;
|
|
202
|
+
}
|
|
203
|
+
`;
|
|
204
|
+
// src/components/content/text/text.template.ts
|
|
205
|
+
function S() {
|
|
206
|
+
return t`${this.text && !this._textSlot.has ? t`<p class="text">${this.text}</p>` : n}<slot @slotchange=${this._textSlot.onChange}></slot>`;
|
|
207
|
+
}
|
|
208
|
+
// src/components/content/text/text.ts
|
|
209
|
+
var C = class extends e {
|
|
210
|
+
constructor(...e) {
|
|
211
|
+
super(...e), this.text = "", this.size = "md", this._textSlot = new c(this), this.smCustomSize = "", this.mdCustomSize = "", this.lgCustomSize = "", this.weight = "regular", this.lineHeight = "snug", this.color = "content", this.horizontalAlignment = "left", this._customSizes = {};
|
|
212
|
+
}
|
|
213
|
+
willUpdate(e) {
|
|
214
|
+
super.willUpdate(e), (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && (this._customSizes = l(this, "text", {
|
|
215
|
+
sm: this.smCustomSize,
|
|
216
|
+
md: this.mdCustomSize,
|
|
217
|
+
lg: this.lgCustomSize
|
|
218
|
+
}));
|
|
219
|
+
}
|
|
220
|
+
updated(e) {
|
|
221
|
+
super.updated(e), import.meta.env?.DEV && (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && u(this, this._customSizes, d);
|
|
222
|
+
}
|
|
223
|
+
render() {
|
|
224
|
+
return S.call(this);
|
|
225
|
+
}
|
|
226
|
+
}, w = (C.styles = x, C);
|
|
227
|
+
r([o({
|
|
228
|
+
reflect: !0,
|
|
229
|
+
converter: f("")
|
|
230
|
+
})], w.prototype, "text", void 0), r([o({
|
|
231
|
+
reflect: !0,
|
|
232
|
+
converter: f("md")
|
|
233
|
+
})], w.prototype, "size", void 0), r([o({
|
|
234
|
+
reflect: !0,
|
|
235
|
+
attribute: "sm-custom-size",
|
|
236
|
+
converter: f("")
|
|
237
|
+
})], w.prototype, "smCustomSize", void 0), r([o({
|
|
238
|
+
reflect: !0,
|
|
239
|
+
attribute: "md-custom-size",
|
|
240
|
+
converter: f("")
|
|
241
|
+
})], w.prototype, "mdCustomSize", void 0), r([o({
|
|
242
|
+
reflect: !0,
|
|
243
|
+
attribute: "lg-custom-size",
|
|
244
|
+
converter: f("")
|
|
245
|
+
})], w.prototype, "lgCustomSize", void 0), r([o({
|
|
246
|
+
reflect: !0,
|
|
247
|
+
converter: f("regular")
|
|
248
|
+
})], w.prototype, "weight", void 0), r([o({
|
|
249
|
+
reflect: !0,
|
|
250
|
+
attribute: "line-height",
|
|
251
|
+
converter: f("snug")
|
|
252
|
+
})], w.prototype, "lineHeight", void 0), r([o({
|
|
253
|
+
reflect: !0,
|
|
254
|
+
converter: f("content")
|
|
255
|
+
})], w.prototype, "color", void 0), r([o({
|
|
256
|
+
reflect: !0,
|
|
257
|
+
attribute: "horizontal-alignment",
|
|
258
|
+
converter: f("left")
|
|
259
|
+
})], w.prototype, "horizontalAlignment", void 0), w = r([s("nldd-text")], w);
|
|
260
|
+
export { w as NLDDText };
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t,
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as d } from "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { n as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { a as i, n as a, r as o } from "./custom-element-DGlHv_OV.js";
|
|
4
|
+
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as c } from "./slotted-block-xNpJoXLz.js";
|
|
6
|
+
import { n as l, r as u } from "./slot-content-2qH2vEC_.js";
|
|
7
|
+
import { t as d } from "./reorder-handle-mixin-DTmEmT-V.js";
|
|
8
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
|
+
import { r as p, t as m } from "./shadow-resets-CodxnaUh.js";
|
|
10
|
+
import { n as h, r as g } from "./static-html--Xd5vkAU.js";
|
|
11
|
+
import { n as _ } from "./render-marked-DjXBoUGY.js";
|
|
12
|
+
import { t as v } from "./visibility-mixin-BP5T5qYB.js";
|
|
13
|
+
import { t as y } from "./row-header-mixin-XRu3gHMf.js";
|
|
11
14
|
// src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts
|
|
12
|
-
var
|
|
15
|
+
var b = i`
|
|
13
16
|
:host {
|
|
14
17
|
box-sizing: border-box;
|
|
15
18
|
}
|
|
@@ -28,7 +31,7 @@ var h = a`
|
|
|
28
31
|
--_text-cell-color: var(--context-content-color);
|
|
29
32
|
--_text-cell-font: var(--primitives-font-body-md-regular-tight);
|
|
30
33
|
|
|
31
|
-
${
|
|
34
|
+
${m}
|
|
32
35
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
33
36
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
34
37
|
display: flex;
|
|
@@ -194,53 +197,49 @@ var h = a`
|
|
|
194
197
|
overflow-wrap: anywhere;
|
|
195
198
|
text-wrap: pretty;
|
|
196
199
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
|
|
201
|
+
::slotted(:is(p, h1, h2, h3, h4, h5, h6)) {
|
|
202
|
+
${p}
|
|
203
|
+
}
|
|
204
|
+
`, x = h("div"), S = h("p");
|
|
205
|
+
function C() {
|
|
206
|
+
let e = this._hasOverlineSlotted ? x : S, t = this._hasDefaultSlotted ? x : S, r = this._hasSupportingTextSlotted ? x : S;
|
|
207
|
+
return g`
|
|
208
|
+
<${e}
|
|
202
209
|
class="text-cell__overline"
|
|
203
210
|
?hidden=${!this.overline && !this._hasOverlineSlotted}
|
|
204
211
|
>
|
|
205
|
-
${this.overline && !this._hasOverlineSlotted ?
|
|
212
|
+
${this.overline && !this._hasOverlineSlotted ? _(this.overline, this.query, this.queryMarkMode) : n}
|
|
206
213
|
<slot
|
|
207
214
|
name="overline"
|
|
208
215
|
@slotchange=${this._onSlotChange}
|
|
209
216
|
></slot>
|
|
210
|
-
|
|
211
|
-
|
|
217
|
+
</${e}>
|
|
218
|
+
<${t}
|
|
212
219
|
class="text-cell__text"
|
|
213
220
|
?hidden=${!this.text && !this._hasDefaultSlotted}
|
|
214
221
|
>
|
|
215
|
-
${this.text && !this._hasDefaultSlotted ?
|
|
222
|
+
${this.text && !this._hasDefaultSlotted ? _(this.text, this.query, this.queryMarkMode) : n}
|
|
216
223
|
<slot @slotchange=${this._onSlotChange}></slot>
|
|
217
|
-
|
|
218
|
-
|
|
224
|
+
</${t}>
|
|
225
|
+
<${r}
|
|
219
226
|
class="text-cell__supporting-text"
|
|
220
227
|
?hidden=${!this.supportingText && !this._hasSupportingTextSlotted}
|
|
221
228
|
>
|
|
222
|
-
${this.supportingText && !this._hasSupportingTextSlotted ?
|
|
229
|
+
${this.supportingText && !this._hasSupportingTextSlotted ? _(this.supportingText, this.query, this.queryMarkMode) : n}
|
|
223
230
|
<slot
|
|
224
231
|
name="supporting-text"
|
|
225
232
|
@slotchange=${this._onSlotChange}
|
|
226
233
|
></slot>
|
|
227
|
-
|
|
234
|
+
</${r}>
|
|
228
235
|
`;
|
|
229
236
|
}
|
|
230
237
|
// src/components/lists-and-tables/cells/text-cell/text-cell.ts
|
|
231
|
-
var
|
|
238
|
+
var w = /* @__PURE__ */ e({ NLDDTextCell: () => E }), T = class extends d(y(v(t, "cells-container"))) {
|
|
232
239
|
constructor(...e) {
|
|
233
|
-
super(...e), this.size = "md", this.color = "content", this.width = "full", this.horizontalAlignment = "left", this.verticalAlignment = "center", this.text = "", this.supportingText = "", this.overline = "", this.query = "", this.queryMarkMode = "predictive", this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._onSlotChange = (e) => {
|
|
234
|
-
let t = e.target
|
|
235
|
-
|
|
236
|
-
case "overline":
|
|
237
|
-
this._hasOverlineSlotted = n;
|
|
238
|
-
break;
|
|
239
|
-
case "supporting-text":
|
|
240
|
-
this._hasSupportingTextSlotted = n;
|
|
241
|
-
break;
|
|
242
|
-
default: this._hasDefaultSlotted = n;
|
|
243
|
-
}
|
|
240
|
+
super(...e), this.size = "md", this.color = "content", this.width = "full", this.horizontalAlignment = "left", this.verticalAlignment = "center", this.text = "", this.supportingText = "", this.overline = "", this.query = "", this.queryMarkMode = "predictive", this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._looseText = new c(this), this._onSlotChange = (e) => {
|
|
241
|
+
let t = e.target;
|
|
242
|
+
this._readSlot(t.name, t.assignedNodes());
|
|
244
243
|
};
|
|
245
244
|
}
|
|
246
245
|
updated(e) {
|
|
@@ -250,54 +249,67 @@ var _ = /* @__PURE__ */ e({ NLDDTextCell: () => y }), v = class extends l(m(p(t,
|
|
|
250
249
|
let e = this.width, t = e === "full" || e === "fit-content", n = !!e && !t && CSS.supports("width", e);
|
|
251
250
|
n ? this.style.setProperty("--_text-cell-width", e) : this.style.removeProperty("--_text-cell-width"), e && !t && !n && (this.width = ""), this.minWidth ? this.style.setProperty("--_text-cell-min-width", this.minWidth) : this.style.removeProperty("--_text-cell-min-width"), this.maxWidth ? this.style.setProperty("--_text-cell-max-width", this.maxWidth) : this.style.removeProperty("--_text-cell-max-width"), this.minHeight ? this.style.setProperty("--_text-cell-min-height", this.minHeight) : this.style.removeProperty("--_text-cell-min-height");
|
|
252
251
|
}
|
|
252
|
+
connectedCallback() {
|
|
253
|
+
super.connectedCallback();
|
|
254
|
+
for (let e of [
|
|
255
|
+
"overline",
|
|
256
|
+
"",
|
|
257
|
+
"supporting-text"
|
|
258
|
+
]) this._readSlot(e, u(this, e));
|
|
259
|
+
}
|
|
260
|
+
_readSlot(e, t) {
|
|
261
|
+
this._looseText.read(e, t);
|
|
262
|
+
let n = l(t);
|
|
263
|
+
e === "overline" ? this._hasOverlineSlotted = n : e === "supporting-text" ? this._hasSupportingTextSlotted = n : this._hasDefaultSlotted = n;
|
|
264
|
+
}
|
|
253
265
|
render() {
|
|
254
|
-
return
|
|
266
|
+
return C.call(this);
|
|
255
267
|
}
|
|
256
|
-
},
|
|
257
|
-
|
|
268
|
+
}, E = (T.styles = [b], T);
|
|
269
|
+
r([o({
|
|
258
270
|
reflect: !0,
|
|
259
|
-
converter:
|
|
260
|
-
})],
|
|
271
|
+
converter: f("md")
|
|
272
|
+
})], E.prototype, "size", void 0), r([o({
|
|
261
273
|
reflect: !0,
|
|
262
|
-
converter:
|
|
263
|
-
})],
|
|
274
|
+
converter: f("content")
|
|
275
|
+
})], E.prototype, "color", void 0), r([o({
|
|
264
276
|
reflect: !0,
|
|
265
|
-
converter:
|
|
266
|
-
})],
|
|
277
|
+
converter: f("full")
|
|
278
|
+
})], E.prototype, "width", void 0), r([o({
|
|
267
279
|
type: String,
|
|
268
280
|
reflect: !0,
|
|
269
281
|
attribute: "min-width"
|
|
270
|
-
})],
|
|
282
|
+
})], E.prototype, "minWidth", void 0), r([o({
|
|
271
283
|
type: String,
|
|
272
284
|
reflect: !0,
|
|
273
285
|
attribute: "max-width"
|
|
274
|
-
})],
|
|
286
|
+
})], E.prototype, "maxWidth", void 0), r([o({
|
|
275
287
|
type: String,
|
|
276
288
|
reflect: !0,
|
|
277
289
|
attribute: "min-height"
|
|
278
|
-
})],
|
|
290
|
+
})], E.prototype, "minHeight", void 0), r([o({
|
|
279
291
|
reflect: !0,
|
|
280
292
|
attribute: "horizontal-alignment",
|
|
281
|
-
converter:
|
|
282
|
-
})],
|
|
293
|
+
converter: f("left")
|
|
294
|
+
})], E.prototype, "horizontalAlignment", void 0), r([o({
|
|
283
295
|
reflect: !0,
|
|
284
296
|
attribute: "vertical-alignment",
|
|
285
|
-
converter:
|
|
286
|
-
})],
|
|
297
|
+
converter: f("center")
|
|
298
|
+
})], E.prototype, "verticalAlignment", void 0), r([o({
|
|
287
299
|
reflect: !0,
|
|
288
|
-
converter:
|
|
289
|
-
})],
|
|
300
|
+
converter: f("")
|
|
301
|
+
})], E.prototype, "text", void 0), r([o({
|
|
290
302
|
reflect: !0,
|
|
291
303
|
attribute: "supporting-text",
|
|
292
|
-
converter:
|
|
293
|
-
})],
|
|
304
|
+
converter: f("")
|
|
305
|
+
})], E.prototype, "supportingText", void 0), r([o({
|
|
294
306
|
reflect: !0,
|
|
295
|
-
converter:
|
|
296
|
-
})],
|
|
307
|
+
converter: f("")
|
|
308
|
+
})], E.prototype, "overline", void 0), r([o({
|
|
297
309
|
reflect: !0,
|
|
298
|
-
converter:
|
|
299
|
-
})],
|
|
310
|
+
converter: f("")
|
|
311
|
+
})], E.prototype, "query", void 0), r([o({
|
|
300
312
|
type: String,
|
|
301
313
|
attribute: "query-mark-mode"
|
|
302
|
-
})],
|
|
303
|
-
export {
|
|
314
|
+
})], E.prototype, "queryMarkMode", void 0), r([a()], E.prototype, "_hasOverlineSlotted", void 0), r([a()], E.prototype, "_hasDefaultSlotted", void 0), r([a()], E.prototype, "_hasSupportingTextSlotted", void 0), E = r([s("nldd-text-cell")], E);
|
|
315
|
+
export { w as t };
|