@nldd/design-system 0.24.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 +211 -27
- 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 -137
- package/dist/cdn/chunks/{activity-indicator-DWBG1Csi.js → activity-indicator-Dc6c9HtC.js} +12 -12
- package/dist/cdn/chunks/{avatar-CRZLseMs.js → avatar-CHXRpWWk.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-coYbMhot.js → avatar-group-B76E8oC6.js} +20 -20
- package/dist/cdn/chunks/{badge-DAXG-uIw.js → badge-tO7gHhdi.js} +5 -5
- package/dist/cdn/chunks/{banner-BbR0rebp.js → banner-D4kFQYXF.js} +15 -15
- package/dist/cdn/chunks/{bar-split-view-DoklVwuj.js → bar-split-view-C9bYdWSR.js} +7 -7
- package/dist/cdn/chunks/{blockquote-DfIl4wTC.js → blockquote-DRJajjBB.js} +9 -9
- package/dist/cdn/chunks/{box-CXICi_Gs.js → box-D10mS19t.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-CVoNqsU2.js → breadcrumbs-BUdQJG3z.js} +6 -6
- package/dist/cdn/chunks/{button-DWzqSerk.js → button-CwY9fWCg.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DwFLuumP.js → button-bar-DkqbRvff.js} +30 -30
- package/dist/cdn/chunks/{button-group-D-nEY7Wz.js → button-group-p364JgTR.js} +2 -2
- package/dist/cdn/chunks/{card-CIVLEFhz.js → card-B7TaSaw7.js} +9 -9
- package/dist/cdn/chunks/{cell-C79LmCOU.js → cell-BTIpXf1T.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BQepKdVv.js → checkbox-BLEK0rAV.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-ColaTYKE.js → checkbox-field-CDtlpN-u.js} +5 -5
- package/dist/cdn/chunks/{class-map-9VgiG_zt.js → class-map-5WYS_nCb.js} +1 -1
- package/dist/cdn/chunks/{code-editor-FNmK9xRx.js → code-editor-CanGMLIo.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C5whEGq6.js → code-viewer-DCZ3wjMd.js} +16 -16
- package/dist/cdn/chunks/{codemirror-input-SKGbh9LP.js → codemirror-input-CtvDBy25.js} +4 -4
- package/dist/cdn/chunks/{collection-Dq6Z66UX.js → collection-D8K79X0H.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CoOSPICd.js → combo-box-BeWoeEY8.js} +25 -25
- package/dist/cdn/chunks/{container-CtwuWO3a.js → container-Be2J-GhB.js} +48 -48
- package/dist/cdn/chunks/{custom-element-BVKCDhPV.js → custom-element-DGlHv_OV.js} +4 -2
- package/dist/cdn/chunks/{date-field-CqnGM7GR.js → date-field-BLaGVd4x.js} +26 -26
- package/dist/cdn/chunks/{date-picker-C2iGHw2u.js → date-picker-C4mLZKWF.js} +16 -16
- package/dist/cdn/chunks/{decorate-CK3hc5C5.js → decorate-Czy-wI4F.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DGAPpEdM.js → described-by-mixin-fLi4Nmt7.js} +2 -2
- package/dist/cdn/chunks/{description-cell-B08Ma5EJ.js → description-cell-aQyLX0U0.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-BwWYGVrJ.js → dev-checks-qTR6tciJ.js} +79 -17
- package/dist/cdn/chunks/{dist-CWN_qz9z.js → dist-BLnIbkqH.js} +1 -1
- package/dist/cdn/chunks/{dist-DP5DQSlX.js → dist-BNS6C8sP.js} +2 -2
- package/dist/cdn/chunks/{dist-D1t9kkjo.js → dist-B_fXtXqM.js} +1 -1
- package/dist/cdn/chunks/{dist-B2YK3eT2.js → dist-CX0g6sV1.js} +3 -3
- package/dist/cdn/chunks/{dist-DzcXDSFC.js → dist-CZOXq9aZ.js} +1 -1
- package/dist/cdn/chunks/{dist-CKeY28-M.js → dist-CdF0c6UD.js} +2 -2
- package/dist/cdn/chunks/{dist-CQ5kBaGZ.js → dist-DHK9tNd7.js} +1 -1
- package/dist/cdn/chunks/{dist-BThgPtD7.js → dist-WQv_JUmB.js} +2 -2
- package/dist/cdn/chunks/{dist-jAq440y0.js → dist-_QFa91Kz.js} +1 -1
- package/dist/cdn/chunks/{dist-B8vBP_Xz.js → dist-fDpuYq7K.js} +1 -1
- package/dist/cdn/chunks/{dist-B4vELUJW.js → dist-p1FcXq9E.js} +3 -3
- package/dist/cdn/chunks/{divider-KgHxRNV9.js → divider-2hHcSIga.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CTIcETDr.js → document-tab-bar-CIWiZUB5.js} +18 -18
- package/dist/cdn/chunks/{dropdown-BhrCadMW.js → dropdown-Bwn6dQrK.js} +5 -5
- package/dist/cdn/chunks/{file-field-DzH4Yrj5.js → file-field-CtQ6Fzkj.js} +25 -25
- package/dist/cdn/chunks/{form-actions-CDQW1p3w.js → form-actions-DSL0qce-.js} +3 -3
- package/dist/cdn/chunks/{form-field-D_qJpPAS.js → form-field--t3Bz1pc.js} +7 -7
- package/dist/cdn/chunks/{form-section-Jy5b5Qtp.js → form-section-D1n8Sdmt.js} +16 -16
- package/dist/cdn/chunks/{form-CzmdlZ0i.js → form-vSM2SOrK.js} +10 -10
- package/dist/cdn/chunks/{full-bleed-section-BDIuXLGU.js → full-bleed-section-w2pDVC5v.js} +4 -4
- package/dist/cdn/chunks/{hero-BPHFHrUT.js → hero-BypUmnRi.js} +22 -22
- package/dist/cdn/chunks/{icon-BE2ojX0S.js → icon-BydOAoVO.js} +7 -7
- package/dist/cdn/chunks/{icon-button-CFMhdG1B.js → icon-button-C_MZ-jXt.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-CQ-e1GB2.js → icon-cell-jiYNsV84.js} +6 -6
- package/dist/cdn/chunks/{identity-7wQDjeGb.js → identity-D1Sw6OdG.js} +55 -39
- package/dist/cdn/chunks/{if-defined-G1P3HUvi.js → if-defined-pKQLIQvK.js} +1 -1
- package/dist/cdn/chunks/{image-QPbmNKvZ.js → image-DEI0hogS.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-DP3AXfJV.js → inline-dialog-CTjJ8Tl_.js} +15 -15
- package/dist/cdn/chunks/{just-in-time-education-DnaF_sLc.js → just-in-time-education-pUUxdKPR.js} +5 -5
- package/dist/cdn/chunks/{kanban-o2GMLjsq.js → kanban-KSLBcCb4.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-B_Jrut9s.js → kanban-column-RNSdiBIT.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-Dm366Dra.js → keyboard-shortcut-D9TYAQu1.js} +3 -3
- package/dist/cdn/chunks/{languages-Dlh_tbAH.js → languages-DGZO3jTf.js} +12 -12
- package/dist/cdn/chunks/{link-DhTY3Sjh.js → link-C4K1qVcb.js} +70 -21
- package/dist/cdn/chunks/{link-group-YuwD1m6-.js → link-group-BEYO7nTK.js} +2 -2
- package/dist/cdn/chunks/{list-item-vO3GwQWa.js → list-item-CotWNKc1.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-F3av0jxz.js → list-item-segment-C-yl2GAS.js} +15 -15
- package/dist/cdn/chunks/{list-Cdvib5Y-.js → list-rMBdnf1f.js} +15 -15
- package/dist/cdn/chunks/{menu-bar-imOaTlGm.js → menu-bar-D9IxDwC2.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-ChQbM1ER.js → menu-bar-item-768OWJdt.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-D7s6f49y.js → menu-divider-BHAGnkBl.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BcEmoNvL.js → menu-group-B5MAz_Yk.js} +6 -6
- package/dist/cdn/chunks/{menu-item-BGlVTfe6.js → menu-item-Ba581zRi.js} +22 -22
- package/dist/cdn/chunks/{menu-dTVlz6mn.js → menu-rE6tDSAy.js} +39 -35
- package/dist/cdn/chunks/{menu.template-syBthjEV.js → menu.template-Eb7J7UrL.js} +20 -5
- package/dist/cdn/chunks/{modal-dialog-BBK25tjm.js → modal-dialog-Djln8pr7.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-DuL6nLG_.js → multi-line-text-field-Omt0oidK.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-CdZNbX91.js → navigation-split-view-DDng9DdF.js} +11 -11
- package/dist/cdn/chunks/{notification-Dwhfnjb2.js → notification-DB6JOmCC.js} +13 -13
- package/dist/cdn/chunks/{number-field-Dl4zZvVe.js → number-field-xgr4dysX.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-BJxLZfiK.js → one-half-one-half-section-CFhmSDDa.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-CARh_hdH.js → one-third-two-thirds-section-D0JV0GJ_.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-FaxqiiD6.js → one-time-code-field-CqgKQqdE.js} +20 -20
- package/dist/cdn/chunks/{page-Cc5bb6VU.js → page-DXWHG-hD.js} +10 -10
- package/dist/cdn/chunks/{page-footer-Df1cS-ks.js → page-footer-GexGY_m-.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-BzgAU2sX.js → page-section-mixin-CtiPKCqL.js} +3 -3
- package/dist/cdn/chunks/{pagination-BcnkrWV_.js → pagination-DJkfE8t9.js} +6 -6
- package/dist/cdn/chunks/{password-field-CeIJm406.js → password-field-gKiiE_5e.js} +7 -7
- package/dist/cdn/chunks/{popover-BIMt3aqW.js → popover-C-jxcCHx.js} +6 -6
- package/dist/cdn/chunks/{progress-bar-C9CWhkse.js → progress-bar-CBWQRWkE.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-CJL1aFbS.js → progress-circle-CCcRDOOJ.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DKo5kdLW.js → radio-button-B8xwJO3_.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-DPZajMnT.js → radio-button-field-B9lRNOXJ.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-BBZhU3bn.js → radio-button-group-Cy7Ya28w.js} +3 -3
- package/dist/cdn/chunks/{render-marked-Bkoq5vNH.js → render-marked-DjXBoUGY.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-CEW8Cg1r.js → reorder-handle-cell-B6V85qYk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-BkksqjmK.js → reorder-handle-mixin-DTmEmT-V.js} +2 -2
- package/dist/cdn/chunks/{repeat-C5V9E9Ta.js → repeat-Ck8L8Iy9.js} +1 -1
- package/dist/cdn/chunks/{rich-text-DEFr_Niu.js → rich-text-CqQeOXwL.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BSORP0i7.js → row-header-mixin-XRu3gHMf.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-B7kZVxmh.js → scroll-fade-e6d1wo3D.js} +4 -4
- package/dist/cdn/chunks/{search-field-Dr0MLD_z.js → search-field-Cz7Ucf6x.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-aOIkoklF.js → segmented-control-CLzKU4SX.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-CRBumQjX.js → shadow-resets-CodxnaUh.js} +11 -7
- package/dist/cdn/chunks/{sheet-BCPE_pDl.js → sheet-DkmSsRV3.js} +4 -4
- package/dist/cdn/chunks/{shell-ZCsqW56P.js → shell-Ex_f7Ov3.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-BWIyZmzo.js → side-by-side-split-view-C8aSEGRc.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-Di3mQROc.js → sidebar-section-CnD-3i7r.js} +8 -8
- package/dist/cdn/chunks/{simple-section-sOkNMsbz.js → simple-section-CeKnmobI.js} +4 -4
- package/dist/cdn/chunks/{skip-link-mcskOuFr.js → skip-link-DwtFm_NJ.js} +4 -4
- package/dist/cdn/chunks/{slider-CkPk4lBA.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-RB_KBaTr.js → spacer-H4zmoDr_.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-V1UaaPcO.js → spacer-cell-BES4eJH1.js} +4 -4
- package/dist/cdn/chunks/{split-button-BUEhYiI5.js → split-button-Caa30uTx.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-Rmb9cG9K.js → split-view-divider-klvZ8lgP.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-DQRZ9tE0.js → split-view-pane-Cnx56S5C.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BaeQhWmd.js → stacked-split-view-CYdGBY7Q.js} +7 -7
- package/dist/cdn/chunks/{static-html-CAczcbUD.js → static-html--Xd5vkAU.js} +1 -1
- package/dist/cdn/chunks/{status-bar-D3-IYqUp.js → status-bar-CJybViWL.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BfNXoHds.js → step-bar-BO6Y1BrK.js} +21 -21
- package/dist/cdn/chunks/{step-cell-BN2ZKsQ4.js → step-cell-BQ8EHZVR.js} +5 -5
- package/dist/cdn/chunks/{stepper-DuPRMxBx.js → stepper-COTaJwSU.js} +6 -6
- package/dist/cdn/chunks/{style-map-LFqo5rE_.js → style-map-BwtZr74h.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BVKCFzpO.js → swatch-picker-5fxe3QB1.js} +21 -21
- package/dist/cdn/chunks/{switch-CgUZ0WlQ.js → switch-BUxGg2ww.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B4c8-L61.js → switch-field-DOsEK534.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D-1g8fdF.js → tab-bar-CZ9Z9qV9.js} +21 -21
- package/dist/cdn/chunks/{table-jrJ4EJpq.js → table-SAsB1kDN.js} +5 -5
- package/dist/cdn/chunks/{tag-JYwa5l-A.js → tag-xuCeECO3.js} +10 -10
- package/dist/cdn/chunks/{term-NyLmTWnF.js → term-DHEvoltZ.js} +20 -22
- package/dist/cdn/chunks/text-CiFzQPQw.js +260 -0
- package/dist/cdn/chunks/{text-cell-BXLFcD_e.js → text-cell-DQNzo2Rp.js} +74 -62
- package/dist/cdn/chunks/{text-editor-rLc5H6kD.js → text-editor-DCYF_nqz.js} +10 -10
- package/dist/cdn/chunks/{text-field-B7M4VwCe.js → text-field-BiPeMi6s.js} +22 -22
- package/dist/cdn/chunks/{time-field-BtQRsvpR.js → time-field-C-Euaiy0.js} +27 -27
- package/dist/cdn/chunks/{time-picker-BKLwibb9.js → time-picker-DYkxhEYm.js} +9 -9
- package/dist/cdn/chunks/{title-DLD3RW7l.js → title-DkS07R_v.js} +113 -98
- package/dist/cdn/chunks/{title-cell-BCUBuKIO.js → title-cell-CJevv6Vg.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-Etx8hKQS.js → toggle-button-DDqd56_3.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-Ph1kcTqj.js → toggle-button-group-ByxgMVzH.js} +2 -2
- package/dist/cdn/chunks/{token-BQtumlDT.js → token-YpVKK1g4.js} +13 -13
- package/dist/cdn/chunks/{token-field-BrV2RZHi.js → token-field-vLdJSvUz.js} +21 -21
- package/dist/cdn/chunks/{toolbar-w_2rxcNu.js → toolbar-C-5H46y9.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-x-y_AxHu.js → toolbar-item-CvPtoAoQ.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-g47zMdG2.js → toolbar-title-HElUvLeY.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-EP0gu8kg.js → toolbar.styles-BuJIgj1E.js} +3 -3
- package/dist/cdn/chunks/{tooltip-D47hF_iD.js → tooltip-BF4HkWOi.js} +16 -16
- package/dist/cdn/chunks/{top-navigation-bar-DO7JsQVs.js → top-navigation-bar-ngF2MF40.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-CVEOoXhu.js → top-title-bar-BUjpi-w6.js} +14 -14
- package/dist/cdn/chunks/{translations-eWWV6weF.js → translations-BWgmZCAK.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-x3dadNwz.js → two-thirds-one-third-section-Ci6O8SwP.js} +4 -4
- package/dist/cdn/chunks/{validation-list-krcQHzP3.js → validation-list-BBNFz_2I.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-CXBa-fVi.js → visibility-mixin-BP5T5qYB.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-Cd1_FE1J.js → visually-hidden-BqYWVy4n.js} +2 -2
- package/dist/cdn/chunks/{window-JbrLuRjR.js → window-CvgGg1Ib.js} +4 -4
- package/dist/cdn/chunks/{with-translations-DhRk5rH-.js → with-translations-8SmMZkGa.js} +3 -3
- 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/menu/menu.d.ts +13 -3
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +31 -4
- 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 +16 -1
- package/dist/components/actions/menu/menu.styles.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/term/term.template.d.ts.map +1 -1
- package/dist/components/content/term/term.template.js +6 -8
- package/dist/components/content/term/term.template.js.map +1 -1
- 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/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 +60 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +145 -2
- 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 +4 -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/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 +878 -999
- package/dist/types/react.d.ts +9 -7
- package/dist/types/vue.d.ts +9 -7
- 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/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 +37 -2
- package/dist/utilities/dev-rules.generated.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 +7 -2
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/text-gy-gkfSS.js +0 -406
package/custom-elements.json
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"description": "A vertical rule between groups of buttons in an `nldd-button-bar`. Purely presentational: no attributes, no slots — place it between buttons.",
|
|
12
12
|
"name": "anonymous_0",
|
|
13
13
|
"superclass": {
|
|
14
|
-
"name": "
|
|
14
|
+
"name": "PlainElement",
|
|
15
|
+
"module": "/src/utilities/custom-element.js"
|
|
15
16
|
},
|
|
16
17
|
"tagName": "nldd-button-bar-divider",
|
|
17
18
|
"customElement": true,
|
|
@@ -2993,7 +2994,7 @@
|
|
|
2993
2994
|
"declarations": [
|
|
2994
2995
|
{
|
|
2995
2996
|
"kind": "class",
|
|
2996
|
-
"description": "A floating menu component using the Popover API. Positioned relative to an anchor element using Floating UI. Supports filtering, keyboard navigation, and highlight management. Use nldd-menu-item and nldd-menu-divider as children. A chosen item blinks once before the menu closes, as a native menu on macOS does, so you see what you picked. `select` fires at once: the action does not wait for the blink. With `prefers-reduced-motion` the menu closes at once. A menu that scrolls fades at the edge where more items wait. Note: Only type=\"button\" items are supported when used inside nldd-combo-box-field. Radio and checkbox types may be used in standalone menus.",
|
|
2997
|
+
"description": "A floating menu component using the Popover API. Positioned relative to an anchor element using Floating UI. Supports filtering, keyboard navigation, and highlight management. Use nldd-menu-item and nldd-menu-divider as children. A chosen item blinks once before the menu closes, as a native menu on macOS does, so you see what you picked. After a tap there is no hover to blink from, so the item lights up and holds a moment instead. `select` fires at once: the action does not wait for the blink. With `prefers-reduced-motion` the menu closes at once. A menu that scrolls fades at the edge where more items wait. Note: Only type=\"button\" items are supported when used inside nldd-combo-box-field. Radio and checkbox types may be used in standalone menus.",
|
|
2997
2998
|
"name": "NLDDMenu",
|
|
2998
2999
|
"slots": [
|
|
2999
3000
|
{
|
|
@@ -5985,7 +5986,7 @@
|
|
|
5985
5986
|
"declarations": [
|
|
5986
5987
|
{
|
|
5987
5988
|
"kind": "class",
|
|
5988
|
-
"description": "An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute or as a slot. Use the
|
|
5989
|
+
"description": "An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute, which the component draws as a `<p>`, or as a `<p>` of your own in the slot. Use the slot for richer content and put it in that `<p>`: a `<time datetime=\"…\">` for a machine-readable date, or a link to the author's profile. Slotted content replaces the matching attribute. Each of the two chooses for itself, so a `<p>` with a link in `text` can go with plain `supporting-text`. The element in a slot takes the text style of the identity: a font, margin or other style the page sets on it does not apply. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. Set the avatars to decorative (or an `img` to `alt=\"\"`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`.",
|
|
5989
5990
|
"name": "NLDDIdentity",
|
|
5990
5991
|
"members": [
|
|
5991
5992
|
{
|
|
@@ -6090,7 +6091,8 @@
|
|
|
6090
6091
|
"tagName": "nldd-identity",
|
|
6091
6092
|
"customElement": true,
|
|
6092
6093
|
"accepts": [
|
|
6093
|
-
"img"
|
|
6094
|
+
"img",
|
|
6095
|
+
"p"
|
|
6094
6096
|
],
|
|
6095
6097
|
"slots": [
|
|
6096
6098
|
{
|
|
@@ -6099,11 +6101,11 @@
|
|
|
6099
6101
|
},
|
|
6100
6102
|
{
|
|
6101
6103
|
"name": "text",
|
|
6102
|
-
"description": "
|
|
6104
|
+
"description": "A `<p>` of your own for a name line that is more than text (with a link to the author's profile, for instance)"
|
|
6103
6105
|
},
|
|
6104
6106
|
{
|
|
6105
6107
|
"name": "supporting-text",
|
|
6106
|
-
"description": "
|
|
6108
|
+
"description": "A `<p>` of your own for supporting text that is more than text (with a time element, for instance)"
|
|
6107
6109
|
}
|
|
6108
6110
|
]
|
|
6109
6111
|
}
|
|
@@ -7367,9 +7369,19 @@
|
|
|
7367
7369
|
"declarations": [
|
|
7368
7370
|
{
|
|
7369
7371
|
"kind": "class",
|
|
7370
|
-
"description": "One run of body text at a size from the type scale. It is what you reach for where an app would otherwise write a bare `<p>` and inherit whatever the page happens to set: a line under a title, a sentence in a panel, a caption. Every combination it offers exists as a token, so it cannot invent typography — it only names what the scale already has. The three axes are the same three the tokens carry: size, weight and line height. Not for headings, which is `nldd-title`, and not for a block of prose with its own rhythm, spacing and media widths, which is `nldd-rich-text`. This is one run of text and nothing around it. For large letters that are not a heading, such as a number or a statement on a landing page, take a display size: `display-6` to `display-1` are the sizes of `nldd-title`, with its weight, typeface and line height, and they follow the breakpoint as a title does. `weight` and `line-height` belong to the body sizes and do nothing at a display size. For a statement larger than `display-1`, give each breakpoint a size of its own with `sm-custom-size`, `md-custom-size` and `lg-custom-size`. Color follows the context channel a list item, menu or table sets on its content, so text inside a row travels with that row as it is hovered or selected. Standalone that channel is unset and the semantic color answers. A line stops at `--semantics-text-max-width`, 40em, so it holds the same number of characters at every size and a wide column does not turn one sentence into a ruler. Override that variable, or `max-width` on the element, where a line is meant to run the full width: a label in a table cell, a value beside its own heading.",
|
|
7372
|
+
"description": "One run of body text at a size from the type scale. It is what you reach for where an app would otherwise write a bare `<p>` and inherit whatever the page happens to set: a line under a title, a sentence in a panel, a caption. Every combination it offers exists as a token, so it cannot invent typography — it only names what the scale already has. The three axes are the same three the tokens carry: size, weight and line height. Plain text goes in `text`, and the component draws a `<p>` for it. Text with a link, a `<strong>` or a tag goes in the slot, in a `<p>` of your own, or a `<span>` where the text is no paragraph, such as a label or a number. What is in the slot is in the HTML before any script runs; `text` is drawn in the browser. On a page of a website that has to read without script, use the slot. The element in the slot takes the text style of the component: a font, margin or other style the page sets on it does not apply. Not for headings, which is `nldd-title`, and not for a block of prose with its own rhythm, spacing and media widths, which is `nldd-rich-text`. This is one run of text and nothing around it. For large letters that are not a heading, such as a number or a statement on a landing page, take a display size: `display-6` to `display-1` are the sizes of `nldd-title`, with its weight, typeface and line height, and they follow the breakpoint as a title does. `weight` and `line-height` belong to the body sizes and do nothing at a display size. For a statement larger than `display-1`, give each breakpoint a size of its own with `sm-custom-size`, `md-custom-size` and `lg-custom-size`. Color follows the context channel a list item, menu or table sets on its content, so text inside a row travels with that row as it is hovered or selected. Standalone that channel is unset and the semantic color answers. A line stops at `--semantics-text-max-width`, 40em, so it holds the same number of characters at every size and a wide column does not turn one sentence into a ruler. Override that variable, or `max-width` on the element, where a line is meant to run the full width: a label in a table cell, a value beside its own heading.",
|
|
7371
7373
|
"name": "NLDDText",
|
|
7372
7374
|
"members": [
|
|
7375
|
+
{
|
|
7376
|
+
"kind": "field",
|
|
7377
|
+
"name": "text",
|
|
7378
|
+
"type": {
|
|
7379
|
+
"text": "string"
|
|
7380
|
+
},
|
|
7381
|
+
"default": "''",
|
|
7382
|
+
"attribute": "text",
|
|
7383
|
+
"reflects": true
|
|
7384
|
+
},
|
|
7373
7385
|
{
|
|
7374
7386
|
"kind": "field",
|
|
7375
7387
|
"name": "size",
|
|
@@ -7452,6 +7464,15 @@
|
|
|
7452
7464
|
}
|
|
7453
7465
|
],
|
|
7454
7466
|
"attributes": [
|
|
7467
|
+
{
|
|
7468
|
+
"name": "text",
|
|
7469
|
+
"type": {
|
|
7470
|
+
"text": "string"
|
|
7471
|
+
},
|
|
7472
|
+
"default": "''",
|
|
7473
|
+
"fieldName": "text",
|
|
7474
|
+
"description": "The text, when it is plain text. The component draws it as a `<p>`. Content in the slot wins."
|
|
7475
|
+
},
|
|
7455
7476
|
{
|
|
7456
7477
|
"name": "size",
|
|
7457
7478
|
"type": {
|
|
@@ -7547,6 +7568,8 @@
|
|
|
7547
7568
|
"tagName": "nldd-text",
|
|
7548
7569
|
"customElement": true,
|
|
7549
7570
|
"accepts": [
|
|
7571
|
+
"p",
|
|
7572
|
+
"span",
|
|
7550
7573
|
"strong",
|
|
7551
7574
|
"b",
|
|
7552
7575
|
"em",
|
|
@@ -7554,13 +7577,12 @@
|
|
|
7554
7577
|
"a",
|
|
7555
7578
|
"code",
|
|
7556
7579
|
"mark",
|
|
7557
|
-
"q"
|
|
7558
|
-
"span"
|
|
7580
|
+
"q"
|
|
7559
7581
|
],
|
|
7560
7582
|
"slots": [
|
|
7561
7583
|
{
|
|
7562
7584
|
"name": "",
|
|
7563
|
-
"description": "
|
|
7585
|
+
"description": "Text that is more than plain text, in a `<p>` of your own, or a `<span>` for text that is no paragraph (a label, a number). Inline elements in it look as they do in nldd-rich-text: `<strong>` and `<b>` take the bold weight from the scale, `<em>` and `<i>` are italic, `<a>` is an underlined link, `<code>` sits on a tinted surface in the monospace font, `<mark>` is highlighted, `<q>` is quoted in italics, and an element with `data-mention` is a mention (`<a href=\"…\" data-mention>` as the tinted token, `<span data-mention>` without the tint; write the name without the `@`). Components such as `nldd-tag` are left alone. That styling comes from a global stylesheet, `dist/css/text.css` or `global.css`, which includes it: a shadow root cannot reach inside a slotted element."
|
|
7564
7586
|
}
|
|
7565
7587
|
]
|
|
7566
7588
|
}
|
|
@@ -7590,7 +7612,7 @@
|
|
|
7590
7612
|
"declarations": [
|
|
7591
7613
|
{
|
|
7592
7614
|
"kind": "class",
|
|
7593
|
-
"description": "A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. The level also sets the size: an h2 looks like `display-2`. Set `size` where the look should differ from the level, such as a section heading that is smaller than its place. A heading of your own in the default slot sets the level the same way, so `<h2>` there looks like `display-2` without a `heading-level`. A title without a level is no heading and shows as body text, whatever its `size`: give it a level, or for large letters that are not a heading use nldd-text with a display size. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text, and a filled slot takes the place of the attribute. Both grow and shrink with the size of the title, and keep to the width of a line of reading (40em), with balanced lines. The supporting text is a line or two, not a paragraph. Inline elements in a slotted heading (a link, strong, em, code, mark, q) look as they do in nldd-text. A shadow root cannot reach inside a slotted element, so that styling comes from a global stylesheet: `dist/css/title.css`, or `global.css`, which includes it. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own.",
|
|
7615
|
+
"description": "A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. The level also sets the size: an h2 looks like `display-2`. Set `size` where the look should differ from the level, such as a section heading that is smaller than its place. A heading of your own in the default slot sets the level the same way, so `<h2>` there looks like `display-2` without a `heading-level`. A title without a level is no heading and shows as body text, whatever its `size`: give it a level, or for large letters that are not a heading use nldd-text with a display size. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text. The slot takes the element the attribute draws: a heading, or a `<p>` for a title that is no heading, and a `<p>` for the overline and the supporting text. Put inline markup inside that element. A filled slot takes the place of the attribute. Each of the three chooses for itself, so a heading in the slot can go with plain `supporting-text`. Both grow and shrink with the size of the title, and keep to the width of a line of reading (40em), with balanced lines. The supporting text is a line or two, not a paragraph. What is in a slot is in the HTML the server sends; what comes from an attribute is drawn in the browser. On a page of a website, which search engines, link previews and reader mode read without script, put the heading in the default slot. In an application `text` with `heading-level` is enough. Inline elements in a slotted heading or `<p>` (a link, strong, em, code, mark, q) look as they do in nldd-text. A shadow root cannot reach inside a slotted element, so that styling comes from a global stylesheet: `dist/css/title.css`, or `global.css`, which includes it. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own.",
|
|
7594
7616
|
"name": "NLDDTitle",
|
|
7595
7617
|
"members": [
|
|
7596
7618
|
{
|
|
@@ -7765,6 +7787,7 @@
|
|
|
7765
7787
|
"h4",
|
|
7766
7788
|
"h5",
|
|
7767
7789
|
"h6",
|
|
7790
|
+
"p",
|
|
7768
7791
|
"a",
|
|
7769
7792
|
"strong",
|
|
7770
7793
|
"b",
|
|
@@ -7777,15 +7800,15 @@
|
|
|
7777
7800
|
"slots": [
|
|
7778
7801
|
{
|
|
7779
7802
|
"name": "overline",
|
|
7780
|
-
"description": "Overline that is more than text. Takes the place of the overline attribute."
|
|
7803
|
+
"description": "Overline that is more than text, in a `<p>` of its own as the attribute draws it. Takes the place of the overline attribute."
|
|
7781
7804
|
},
|
|
7782
7805
|
{
|
|
7783
7806
|
"name": "",
|
|
7784
|
-
"description": "
|
|
7807
|
+
"description": "A heading (`h1`–`h6`) of your own for a title that is more than text, such as a link, or a `<p>` for a title that is no heading. Takes the place of text."
|
|
7785
7808
|
},
|
|
7786
7809
|
{
|
|
7787
7810
|
"name": "supporting-text",
|
|
7788
|
-
"description": "Supporting text that is more than text. Takes the place of the supporting-text attribute."
|
|
7811
|
+
"description": "Supporting text that is more than text, in a `<p>` of its own as the attribute draws it. Takes the place of the supporting-text attribute."
|
|
7789
7812
|
},
|
|
7790
7813
|
{
|
|
7791
7814
|
"name": "end",
|
|
@@ -8590,7 +8613,8 @@
|
|
|
8590
8613
|
}
|
|
8591
8614
|
],
|
|
8592
8615
|
"superclass": {
|
|
8593
|
-
"name": "
|
|
8616
|
+
"name": "PlainElement",
|
|
8617
|
+
"module": "/src/utilities/custom-element.js"
|
|
8594
8618
|
},
|
|
8595
8619
|
"tagName": "nldd-form-section",
|
|
8596
8620
|
"customElement": true
|
|
@@ -8690,7 +8714,8 @@
|
|
|
8690
8714
|
}
|
|
8691
8715
|
],
|
|
8692
8716
|
"superclass": {
|
|
8693
|
-
"name": "
|
|
8717
|
+
"name": "PlainElement",
|
|
8718
|
+
"module": "/src/utilities/custom-element.js"
|
|
8694
8719
|
},
|
|
8695
8720
|
"tagName": "nldd-form",
|
|
8696
8721
|
"customElement": true,
|
|
@@ -40405,7 +40430,7 @@
|
|
|
40405
40430
|
"declarations": [
|
|
40406
40431
|
{
|
|
40407
40432
|
"kind": "class",
|
|
40408
|
-
"description": "A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment=\"center\"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment=\"top\"`. Each text region (overline, main text, supporting text)
|
|
40433
|
+
"description": "A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment=\"center\"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment=\"top\"`. Each text region (overline, main text, supporting text) takes plain text in its attribute, which the cell draws as a `<p>`, or a `<p>` of your own in its slot. Use the slot when you need components mixed with text, such as `<nldd-link>`, `<nldd-tag>` or `<nldd-icon>`, and put them in that `<p>`: the paragraph is then in the HTML before any script runs. The slot wins over the attribute. Each region chooses for itself, so an attribute and a slot stand side by side: plain text in `overline`, a `<p>` with a tag in the default slot. The cell does not style plain HTML: for bold, write `**bold**` in the attribute, and for code put an `<nldd-text>` in the `<p>`, with the `<code>` in a `<span>` of its own. The element in a slot takes the text style of the cell: a font, margin or other style the page sets on it does not apply. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path; slotted content is rendered as-is.",
|
|
40409
40434
|
"name": "NLDDTextCell",
|
|
40410
40435
|
"members": [
|
|
40411
40436
|
{
|
|
@@ -40780,18 +40805,21 @@
|
|
|
40780
40805
|
},
|
|
40781
40806
|
"tagName": "nldd-text-cell",
|
|
40782
40807
|
"customElement": true,
|
|
40808
|
+
"accepts": [
|
|
40809
|
+
"p"
|
|
40810
|
+
],
|
|
40783
40811
|
"slots": [
|
|
40784
40812
|
{
|
|
40785
40813
|
"name": "overline",
|
|
40786
|
-
"description": "
|
|
40814
|
+
"description": "A `<p>` of your own for an overline that is more than text. Wins over `overline`."
|
|
40787
40815
|
},
|
|
40788
40816
|
{
|
|
40789
40817
|
"name": "",
|
|
40790
|
-
"description": "(default)
|
|
40818
|
+
"description": "(default) A `<p>` of your own for main text that is more than text. Wins over `text`."
|
|
40791
40819
|
},
|
|
40792
40820
|
{
|
|
40793
40821
|
"name": "supporting-text",
|
|
40794
|
-
"description": "
|
|
40822
|
+
"description": "A `<p>` of your own for supporting text that is more than text. Wins over `supporting-text`."
|
|
40795
40823
|
}
|
|
40796
40824
|
]
|
|
40797
40825
|
}
|
|
@@ -40821,7 +40849,7 @@
|
|
|
40821
40849
|
"declarations": [
|
|
40822
40850
|
{
|
|
40823
40851
|
"kind": "class",
|
|
40824
|
-
"description": "A cell component for displaying a title with optional overline and supporting text in lists. `vertical-alignment=\"center\"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment=\"top\"`. Each text region (overline, title, supporting text)
|
|
40852
|
+
"description": "A cell component for displaying a title with optional overline and supporting text in lists. `vertical-alignment=\"center\"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment=\"top\"`. Each text region (overline, title, supporting text) takes plain text in its attribute, or the element itself in its slot: a heading (`h1`–`h6`) or a `<p>` for the title, a `<p>` for the other two, as the cell draws them for the attribute. Use the slot when you need inline elements like `<nldd-tag>`, `<nldd-icon>` or other components mixed with text, and put them in that element: the heading is then in the HTML before any script runs. The slot wins over the attribute, and `heading-level` only applies to the attribute. Each region chooses for itself, so an attribute and a slot stand side by side: plain text in `supporting-text`, a heading with a tag in the default slot. The element in a slot takes the text style of the cell: a font, margin or other style the page sets on it does not apply. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path; slotted content is rendered as-is.",
|
|
40825
40853
|
"name": "NLDDTitleCell",
|
|
40826
40854
|
"members": [
|
|
40827
40855
|
{
|
|
@@ -41214,18 +41242,27 @@
|
|
|
41214
41242
|
},
|
|
41215
41243
|
"tagName": "nldd-title-cell",
|
|
41216
41244
|
"customElement": true,
|
|
41245
|
+
"accepts": [
|
|
41246
|
+
"h1",
|
|
41247
|
+
"h2",
|
|
41248
|
+
"h3",
|
|
41249
|
+
"h4",
|
|
41250
|
+
"h5",
|
|
41251
|
+
"h6",
|
|
41252
|
+
"p"
|
|
41253
|
+
],
|
|
41217
41254
|
"slots": [
|
|
41218
41255
|
{
|
|
41219
41256
|
"name": "overline",
|
|
41220
|
-
"description": "
|
|
41257
|
+
"description": "A `<p>` of your own for an overline that is more than text. Wins over `overline`."
|
|
41221
41258
|
},
|
|
41222
41259
|
{
|
|
41223
41260
|
"name": "",
|
|
41224
|
-
"description": "(default)
|
|
41261
|
+
"description": "(default) A heading (`h1`–`h6`) or `<p>` of your own for a title that is more than text. Wins over `text`."
|
|
41225
41262
|
},
|
|
41226
41263
|
{
|
|
41227
41264
|
"name": "supporting-text",
|
|
41228
|
-
"description": "
|
|
41265
|
+
"description": "A `<p>` of your own for supporting text that is more than text. Wins over `supporting-text`."
|
|
41229
41266
|
}
|
|
41230
41267
|
]
|
|
41231
41268
|
}
|
|
@@ -43286,7 +43323,7 @@
|
|
|
43286
43323
|
"declarations": [
|
|
43287
43324
|
{
|
|
43288
43325
|
"kind": "class",
|
|
43289
|
-
"description": "Hyperlink component with two modes: 1. **Standalone (sized)**: set `size=\"xs\"|\"sm\"|\"md\"|\"lg\"` for menus, action areas or overviews. Fixed text size, `display: inline-flex` with `gap` for icon spacing. 2. **Inline (inherit)**: leave `size` out or set `size=\"inherit\"` explicitly. The link inherits `font-size`, `line-height` and `font-family` from its surroundings. Text wraps naturally across lines (`display: inline`). Icons work here too; the natural whitespace between icon and text provides the spacing. For links in CMS or markdown output, where the `<a>` arrives as HTML, `<nldd-rich-text>` with a raw `<a>` remains the route to take.",
|
|
43326
|
+
"description": "Hyperlink component with two modes: 1. **Standalone (sized)**: set `size=\"xs\"|\"sm\"|\"md\"|\"lg\"` for menus, action areas or overviews. Fixed text size, `display: inline-flex` with `gap` for icon spacing. 2. **Inline (inherit)**: leave `size` out or set `size=\"inherit\"` explicitly. The link inherits `font-size`, `line-height` and `font-family` from its surroundings. Text wraps naturally across lines (`display: inline`). Icons work here too; the natural whitespace between icon and text provides the spacing. For links in CMS or markdown output, where the `<a>` arrives as HTML, `<nldd-rich-text>` with a raw `<a>` remains the route to take. Put an `<a>` in the default slot and the component draws no link of its own: it gives yours its look instead. A page then has the link in its HTML before any script runs, for a search engine that does not render the page, a link preview or reader mode, and a router gets the click: put the `<Link>` of React Router or Next in it, which renders an `<a>` and navigates itself. Without that, every click on a link in a shadow root loads the whole page. <nldd-link size=\"md\"><a href=\"/patronen\">Patronen</a></nldd-link> Everything about the link goes on the `<a>`: `href`, `target`, `rel`, `download`, and its text. Those attributes, `text`, `start-icon` and `end-icon` do nothing on `nldd-link` then. An icon goes in the `<a>` as an nldd-icon, so it is part of what you click and inside the focus ring. `size`, `accessible-label`, `interestfor`, `no-tab` and `disabled` keep working: the component sets `aria-label`, the description, `tabindex` and `aria-disabled` on your `<a>`, and leaves an attribute you set yourself alone. With `target=\"_blank\"` it adds `noopener noreferrer` to the `rel` of the `<a>`, as it does to its own. A disabled link ignores a click before your router sees it. The hint about another website, a new tab or a download goes on it as `aria-description`, so a screen reader reads it after the name. Not as hidden text in the `<a>`: a framework that renders the `<a>` owns its children, and an extra one breaks hydration. One `<a>` per link. The look of the `<a>` comes from the global stylesheet, `dist/css/link.css` or `global.css`, which includes it, so the link looks right before the component loads, and without script.",
|
|
43290
43327
|
"name": "NLDDLink",
|
|
43291
43328
|
"members": [
|
|
43292
43329
|
{
|
|
@@ -43557,10 +43594,13 @@
|
|
|
43557
43594
|
},
|
|
43558
43595
|
"tagName": "nldd-link",
|
|
43559
43596
|
"customElement": true,
|
|
43597
|
+
"accepts": [
|
|
43598
|
+
"a"
|
|
43599
|
+
],
|
|
43560
43600
|
"slots": [
|
|
43561
43601
|
{
|
|
43562
43602
|
"name": "",
|
|
43563
|
-
"description": "Link text. Wins over `text`."
|
|
43603
|
+
"description": "Link text. Wins over `text`. Or an `<a>` of your own, which takes the place of the link the component draws."
|
|
43564
43604
|
},
|
|
43565
43605
|
{
|
|
43566
43606
|
"name": "start-icon",
|
|
@@ -52797,9 +52837,49 @@
|
|
|
52797
52837
|
],
|
|
52798
52838
|
"description": "Whether a slot holds something to show: an element, or text that is more\nthan whitespace.\n\nA default slot also gets the whitespace and line breaks between the tags of\nthe markup around it, and that whitespace switches off the slot's fallback\ncontent. A component that lets its slot win over an attribute therefore\nrenders the attribute beside the slot, and hides it when this says so."
|
|
52799
52839
|
},
|
|
52840
|
+
{
|
|
52841
|
+
"kind": "function",
|
|
52842
|
+
"name": "holdsContent",
|
|
52843
|
+
"return": {
|
|
52844
|
+
"type": {
|
|
52845
|
+
"text": "boolean"
|
|
52846
|
+
}
|
|
52847
|
+
},
|
|
52848
|
+
"parameters": [
|
|
52849
|
+
{
|
|
52850
|
+
"name": "nodes",
|
|
52851
|
+
"type": {
|
|
52852
|
+
"text": "readonly Node[]"
|
|
52853
|
+
}
|
|
52854
|
+
}
|
|
52855
|
+
],
|
|
52856
|
+
"description": "Whether these nodes hold something to show, by the rule of hasSlotContent."
|
|
52857
|
+
},
|
|
52858
|
+
{
|
|
52859
|
+
"kind": "function",
|
|
52860
|
+
"name": "slottedNodes",
|
|
52861
|
+
"return": {
|
|
52862
|
+
"type": {
|
|
52863
|
+
"text": "Node[]"
|
|
52864
|
+
}
|
|
52865
|
+
},
|
|
52866
|
+
"parameters": [
|
|
52867
|
+
{
|
|
52868
|
+
"name": "host",
|
|
52869
|
+
"type": {
|
|
52870
|
+
"text": "Element"
|
|
52871
|
+
}
|
|
52872
|
+
},
|
|
52873
|
+
{
|
|
52874
|
+
"name": "name",
|
|
52875
|
+
"default": "''"
|
|
52876
|
+
}
|
|
52877
|
+
],
|
|
52878
|
+
"description": "The children of a host that go to a slot, read from the host itself: before\nthe first render there is no slot to ask. `''` is the default slot, which also\ntakes the text between the tags."
|
|
52879
|
+
},
|
|
52800
52880
|
{
|
|
52801
52881
|
"kind": "class",
|
|
52802
|
-
"description": "Tracks whether
|
|
52882
|
+
"description": "Tracks whether the default slot holds something, for a component whose slot\nwins over an attribute. Pass `onChange` to the slot's `@slotchange` and render\nthe attribute only while `has` is false:\n\n```ts\nprivate _textSlot = new SlotContent(this);\n// in the template\nhtml`${this._textSlot.has ? nothing : this.text}<slot",
|
|
52803
52883
|
"name": "SlotContent",
|
|
52804
52884
|
"members": [
|
|
52805
52885
|
{
|
|
@@ -52810,6 +52890,15 @@
|
|
|
52810
52890
|
},
|
|
52811
52891
|
"default": "false"
|
|
52812
52892
|
},
|
|
52893
|
+
{
|
|
52894
|
+
"kind": "method",
|
|
52895
|
+
"name": "hostConnected",
|
|
52896
|
+
"return": {
|
|
52897
|
+
"type": {
|
|
52898
|
+
"text": "void"
|
|
52899
|
+
}
|
|
52900
|
+
}
|
|
52901
|
+
},
|
|
52813
52902
|
{
|
|
52814
52903
|
"kind": "field",
|
|
52815
52904
|
"name": "onChange"
|
|
@@ -52826,6 +52915,22 @@
|
|
|
52826
52915
|
"module": "src/utilities/slot-content.ts"
|
|
52827
52916
|
}
|
|
52828
52917
|
},
|
|
52918
|
+
{
|
|
52919
|
+
"kind": "js",
|
|
52920
|
+
"name": "holdsContent",
|
|
52921
|
+
"declaration": {
|
|
52922
|
+
"name": "holdsContent",
|
|
52923
|
+
"module": "src/utilities/slot-content.ts"
|
|
52924
|
+
}
|
|
52925
|
+
},
|
|
52926
|
+
{
|
|
52927
|
+
"kind": "js",
|
|
52928
|
+
"name": "slottedNodes",
|
|
52929
|
+
"declaration": {
|
|
52930
|
+
"name": "slottedNodes",
|
|
52931
|
+
"module": "src/utilities/slot-content.ts"
|
|
52932
|
+
}
|
|
52933
|
+
},
|
|
52829
52934
|
{
|
|
52830
52935
|
"kind": "js",
|
|
52831
52936
|
"name": "SlotContent",
|
|
@@ -52836,6 +52941,85 @@
|
|
|
52836
52941
|
}
|
|
52837
52942
|
]
|
|
52838
52943
|
},
|
|
52944
|
+
{
|
|
52945
|
+
"kind": "javascript-module",
|
|
52946
|
+
"path": "src/utilities/slotted-block.ts",
|
|
52947
|
+
"declarations": [
|
|
52948
|
+
{
|
|
52949
|
+
"kind": "function",
|
|
52950
|
+
"name": "holdsLooseText",
|
|
52951
|
+
"return": {
|
|
52952
|
+
"type": {
|
|
52953
|
+
"text": "boolean"
|
|
52954
|
+
}
|
|
52955
|
+
},
|
|
52956
|
+
"parameters": [
|
|
52957
|
+
{
|
|
52958
|
+
"name": "nodes",
|
|
52959
|
+
"type": {
|
|
52960
|
+
"text": "readonly Node[]"
|
|
52961
|
+
}
|
|
52962
|
+
}
|
|
52963
|
+
],
|
|
52964
|
+
"description": "Whether these slotted nodes hold text of their own, outside any element."
|
|
52965
|
+
},
|
|
52966
|
+
{
|
|
52967
|
+
"kind": "class",
|
|
52968
|
+
"description": "Keeps the `loose-text` state of a host: set while any of its slots holds loose text.",
|
|
52969
|
+
"name": "LooseText",
|
|
52970
|
+
"members": [
|
|
52971
|
+
{
|
|
52972
|
+
"kind": "field",
|
|
52973
|
+
"name": "_slots",
|
|
52974
|
+
"privacy": "private",
|
|
52975
|
+
"readonly": true,
|
|
52976
|
+
"default": "new Set<string>()"
|
|
52977
|
+
},
|
|
52978
|
+
{
|
|
52979
|
+
"kind": "method",
|
|
52980
|
+
"name": "read",
|
|
52981
|
+
"return": {
|
|
52982
|
+
"type": {
|
|
52983
|
+
"text": "void"
|
|
52984
|
+
}
|
|
52985
|
+
},
|
|
52986
|
+
"parameters": [
|
|
52987
|
+
{
|
|
52988
|
+
"name": "name",
|
|
52989
|
+
"type": {
|
|
52990
|
+
"text": "string"
|
|
52991
|
+
}
|
|
52992
|
+
},
|
|
52993
|
+
{
|
|
52994
|
+
"name": "nodes",
|
|
52995
|
+
"type": {
|
|
52996
|
+
"text": "readonly Node[]"
|
|
52997
|
+
}
|
|
52998
|
+
}
|
|
52999
|
+
]
|
|
53000
|
+
}
|
|
53001
|
+
]
|
|
53002
|
+
}
|
|
53003
|
+
],
|
|
53004
|
+
"exports": [
|
|
53005
|
+
{
|
|
53006
|
+
"kind": "js",
|
|
53007
|
+
"name": "holdsLooseText",
|
|
53008
|
+
"declaration": {
|
|
53009
|
+
"name": "holdsLooseText",
|
|
53010
|
+
"module": "src/utilities/slotted-block.ts"
|
|
53011
|
+
}
|
|
53012
|
+
},
|
|
53013
|
+
{
|
|
53014
|
+
"kind": "js",
|
|
53015
|
+
"name": "LooseText",
|
|
53016
|
+
"declaration": {
|
|
53017
|
+
"name": "LooseText",
|
|
53018
|
+
"module": "src/utilities/slotted-block.ts"
|
|
53019
|
+
}
|
|
53020
|
+
}
|
|
53021
|
+
]
|
|
53022
|
+
},
|
|
52839
53023
|
{
|
|
52840
53024
|
"kind": "javascript-module",
|
|
52841
53025
|
"path": "src/utilities/spacing-scale.ts",
|
|
@@ -33,6 +33,15 @@
|
|
|
33
33
|
* does not cover.
|
|
34
34
|
*/
|
|
35
35
|
export declare const slottedReset: import("lit").CSSResult;
|
|
36
|
+
/**
|
|
37
|
+
* A `<p>`, `<span>` or heading of the consumer in a slot whose box the
|
|
38
|
+
* component draws: it takes the text style of that box. Only for
|
|
39
|
+
* `::slotted()` rules on those elements. `all: revert` drops what the page sets
|
|
40
|
+
* on its own paragraphs and headings; the margin and the heading size of the
|
|
41
|
+
* browser go with the two lines after it. Each is `!important`, because a rule
|
|
42
|
+
* of the page beats a normal `::slotted()` declaration whatever its specificity.
|
|
43
|
+
*/
|
|
44
|
+
export declare const slottedBlockReset: import("lit").CSSResult;
|
|
36
45
|
/**
|
|
37
46
|
* Inherited typography that the `font` shorthand does NOT cover and that a host
|
|
38
47
|
* can otherwise leak into our text — directly (`a { text-decoration }`) or via
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow-resets.d.ts","sourceRoot":"","sources":["../../../src/assets/styles/shadow-resets.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,YAAY,yBAExB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,yBAK9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,yBAIxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,yBAI9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,yBAQ1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"shadow-resets.d.ts","sourceRoot":"","sources":["../../../src/assets/styles/shadow-resets.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,YAAY,yBAExB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,yBAI7B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,yBAK9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,yBAIxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,yBAI9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,yBAQ1B,CAAC"}
|
|
@@ -36,6 +36,19 @@ import { css } from 'lit';
|
|
|
36
36
|
export const slottedReset = css `
|
|
37
37
|
all: revert !important;
|
|
38
38
|
`;
|
|
39
|
+
/**
|
|
40
|
+
* A `<p>`, `<span>` or heading of the consumer in a slot whose box the
|
|
41
|
+
* component draws: it takes the text style of that box. Only for
|
|
42
|
+
* `::slotted()` rules on those elements. `all: revert` drops what the page sets
|
|
43
|
+
* on its own paragraphs and headings; the margin and the heading size of the
|
|
44
|
+
* browser go with the two lines after it. Each is `!important`, because a rule
|
|
45
|
+
* of the page beats a normal `::slotted()` declaration whatever its specificity.
|
|
46
|
+
*/
|
|
47
|
+
export const slottedBlockReset = css `
|
|
48
|
+
all: revert !important;
|
|
49
|
+
margin: 0 !important;
|
|
50
|
+
font: inherit !important;
|
|
51
|
+
`;
|
|
39
52
|
/**
|
|
40
53
|
* Inherited typography that the `font` shorthand does NOT cover and that a host
|
|
41
54
|
* can otherwise leak into our text — directly (`a { text-decoration }`) or via
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow-resets.js","sourceRoot":"","sources":["../../../src/assets/styles/shadow-resets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;CAE9B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;CAKpC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;CAI9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;CAIpC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;GAC9B,YAAY;;;;;;;CAOd,CAAC"}
|
|
1
|
+
{"version":3,"file":"shadow-resets.js","sourceRoot":"","sources":["../../../src/assets/styles/shadow-resets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;CAE9B,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;CAInC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;CAKpC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;CAI9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;CAIpC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;GAC9B,YAAY;;;;;;;CAOd,CAAC"}
|