@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
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-DGlHv_OV.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
5
|
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
6
6
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as f } from "./shadow-resets-
|
|
7
|
+
import { t as f } from "./shadow-resets-CodxnaUh.js";
|
|
8
8
|
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./popover-
|
|
12
|
-
import "./container-
|
|
13
|
-
import "./spacer-
|
|
14
|
-
import "./button-
|
|
15
|
-
import "./top-title-bar-
|
|
16
|
-
import "./time-picker-
|
|
9
|
+
import "./icon-button-C_MZ-jXt.js";
|
|
10
|
+
import "./icon-BydOAoVO.js";
|
|
11
|
+
import "./popover-C-jxcCHx.js";
|
|
12
|
+
import "./container-Be2J-GhB.js";
|
|
13
|
+
import "./spacer-H4zmoDr_.js";
|
|
14
|
+
import "./button-CwY9fWCg.js";
|
|
15
|
+
import "./top-title-bar-BUjpi-w6.js";
|
|
16
|
+
import "./time-picker-DYkxhEYm.js";
|
|
17
17
|
import { t as m } from "./time-field.i18n-BM6qGbmN.js";
|
|
18
|
-
import { t as h } from "./described-by-mixin-
|
|
18
|
+
import { t as h } from "./described-by-mixin-fLi4Nmt7.js";
|
|
19
19
|
import { n as g, r as _ } from "./return-focus-BzZWhXhc.js";
|
|
20
|
-
import { t as v } from "./translations-
|
|
20
|
+
import { t as v } from "./translations-BWgmZCAK.js";
|
|
21
21
|
// src/components/inputs/time-field/time-field.styles.ts
|
|
22
|
-
var y =
|
|
22
|
+
var y = o(p.smMax), b = o(p.mdMin), x = i`
|
|
23
23
|
:host {
|
|
24
24
|
box-sizing: border-box;
|
|
25
25
|
}
|
|
@@ -596,42 +596,42 @@ var z, B, V = 7, H = 3, U = (z = class extends h(l(e)) {
|
|
|
596
596
|
...e.shadowRootOptions,
|
|
597
597
|
delegatesFocus: !0
|
|
598
598
|
}, z.styles = x, z.isFormInput = !0, z.blocksImplicitSubmission = !0, z._finePointerQuery = null, z);
|
|
599
|
-
r([
|
|
599
|
+
r([s({
|
|
600
600
|
reflect: !0,
|
|
601
601
|
converter: d("md")
|
|
602
|
-
})], U.prototype, "size", void 0), r([
|
|
602
|
+
})], U.prototype, "size", void 0), r([s({ type: String })], U.prototype, "value", void 0), r([s({ type: String })], U.prototype, "min", void 0), r([s({ type: String })], U.prototype, "max", void 0), r([s({ type: Number })], U.prototype, "step", void 0), r([s({
|
|
603
603
|
type: Boolean,
|
|
604
604
|
reflect: !0,
|
|
605
605
|
attribute: "no-picker"
|
|
606
|
-
})], U.prototype, "noPicker", void 0), r([
|
|
606
|
+
})], U.prototype, "noPicker", void 0), r([s({
|
|
607
607
|
type: String,
|
|
608
608
|
attribute: "input-id"
|
|
609
|
-
})], U.prototype, "inputId", void 0), r([
|
|
609
|
+
})], U.prototype, "inputId", void 0), r([s({
|
|
610
610
|
reflect: !0,
|
|
611
611
|
converter: d("")
|
|
612
|
-
})], U.prototype, "placeholder", void 0), r([
|
|
612
|
+
})], U.prototype, "placeholder", void 0), r([s({
|
|
613
613
|
type: Boolean,
|
|
614
614
|
reflect: !0
|
|
615
|
-
})], U.prototype, "invalid", void 0), r([
|
|
615
|
+
})], U.prototype, "invalid", void 0), r([s({
|
|
616
616
|
type: Boolean,
|
|
617
617
|
reflect: !0
|
|
618
|
-
})], U.prototype, "valid", void 0), r([
|
|
618
|
+
})], U.prototype, "valid", void 0), r([s({
|
|
619
619
|
type: Boolean,
|
|
620
620
|
reflect: !0
|
|
621
|
-
})], U.prototype, "disabled", void 0), r([
|
|
621
|
+
})], U.prototype, "disabled", void 0), r([s({
|
|
622
622
|
type: Boolean,
|
|
623
623
|
reflect: !0
|
|
624
|
-
})], U.prototype, "readonly", void 0), r([
|
|
624
|
+
})], U.prototype, "readonly", void 0), r([s({
|
|
625
625
|
type: Boolean,
|
|
626
626
|
reflect: !0
|
|
627
|
-
})], U.prototype, "required", void 0), r([
|
|
627
|
+
})], U.prototype, "required", void 0), r([s({
|
|
628
628
|
reflect: !0,
|
|
629
629
|
converter: d("")
|
|
630
|
-
})], U.prototype, "name", void 0), r([
|
|
630
|
+
})], U.prototype, "name", void 0), r([s({ type: String })], U.prototype, "autocomplete", void 0), r([s({
|
|
631
631
|
type: String,
|
|
632
632
|
attribute: "accessible-label"
|
|
633
|
-
})], U.prototype, "accessibleLabel", void 0), r([
|
|
633
|
+
})], U.prototype, "accessibleLabel", void 0), r([s({
|
|
634
634
|
reflect: !0,
|
|
635
635
|
converter: d("")
|
|
636
|
-
})], U.prototype, "width", void 0), r([
|
|
636
|
+
})], U.prototype, "width", void 0), r([s({ type: Object })], U.prototype, "translations", void 0), r([a()], U.prototype, "_finePointer", void 0), r([a()], U.prototype, "_pickerRows", void 0), r([a()], U.prototype, "_display", void 0), r([a()], U.prototype, "_hasSlottedPicker", void 0), r([a()], U.prototype, "_pickerOpen", void 0), r([a()], U.prototype, "_pickerSeed", void 0), U = B = r([c("nldd-time-field")], U);
|
|
637
637
|
export { U as NLDDTimeField, A as parseTime, j as roundToStep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-DGlHv_OV.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
5
|
+
import { t as l } from "./shadow-resets-CodxnaUh.js";
|
|
6
6
|
import { t as u } from "./time-picker.i18n-BilOCXlS.js";
|
|
7
|
-
import { t as d } from "./described-by-mixin-
|
|
7
|
+
import { t as d } from "./described-by-mixin-fLi4Nmt7.js";
|
|
8
8
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
|
-
import { t as p } from "./translations-
|
|
9
|
+
import { t as p } from "./translations-BWgmZCAK.js";
|
|
10
10
|
import { t as m } from "./defer-focus-F73ud2D9.js";
|
|
11
11
|
// src/components/inputs/time-picker/time-picker.styles.ts
|
|
12
12
|
var h = a`
|
|
@@ -505,16 +505,16 @@ var k = (x = class extends d(t) {
|
|
|
505
505
|
return y(this);
|
|
506
506
|
}
|
|
507
507
|
}, x.styles = h, x.isFormInput = !0, x);
|
|
508
|
-
i([
|
|
508
|
+
i([s({ type: String })], k.prototype, "value", void 0), i([s({ type: String })], k.prototype, "min", void 0), i([s({ type: String })], k.prototype, "max", void 0), i([s({ type: Number })], k.prototype, "step", void 0), i([s({
|
|
509
509
|
reflect: !0,
|
|
510
510
|
converter: f(7)
|
|
511
|
-
})], k.prototype, "rows", void 0), i([
|
|
511
|
+
})], k.prototype, "rows", void 0), i([s({
|
|
512
512
|
reflect: !0,
|
|
513
513
|
converter: f("")
|
|
514
|
-
})], k.prototype, "width", void 0), i([
|
|
514
|
+
})], k.prototype, "width", void 0), i([s({
|
|
515
515
|
type: String,
|
|
516
516
|
attribute: "accessible-label"
|
|
517
|
-
})], k.prototype, "accessibleLabel", void 0), i([
|
|
517
|
+
})], k.prototype, "accessibleLabel", void 0), i([s({ type: Object })], k.prototype, "translations", void 0), i([o()], k.prototype, "_scrolledTo", void 0), i([s({
|
|
518
518
|
type: Boolean,
|
|
519
519
|
reflect: !0
|
|
520
520
|
})], k.prototype, "invalid", void 0), k = i([c("nldd-time-picker")], k);
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-DGlHv_OV.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as l } from "./
|
|
5
|
-
import { n as u } from "./
|
|
6
|
-
import {
|
|
7
|
-
import { n as p
|
|
8
|
-
import {
|
|
4
|
+
import { t as l } from "./slotted-block-xNpJoXLz.js";
|
|
5
|
+
import { n as u, r as d } from "./slot-content-2qH2vEC_.js";
|
|
6
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
+
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
+
import { i as m, t as h } from "./shadow-resets-CodxnaUh.js";
|
|
9
|
+
import { n as g, r as _ } from "./static-html--Xd5vkAU.js";
|
|
10
|
+
import { n as v, r as y, t as b } from "./custom-font-size-D7KNr84p.js";
|
|
9
11
|
// src/components/content/title/title.styles.ts
|
|
10
|
-
var
|
|
12
|
+
var x = o(p.smMax), S = o(p.mdMin), C = o(p.mdMax), w = o(p.lgMin), T = i`
|
|
11
13
|
:host {
|
|
12
14
|
box-sizing: border-box;
|
|
13
15
|
}
|
|
@@ -31,7 +33,7 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
31
33
|
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
32
34
|
--_title-secondary-text-max-width: var(--semantics-text-max-width);
|
|
33
35
|
|
|
34
|
-
${
|
|
36
|
+
${h}
|
|
35
37
|
display: flex;
|
|
36
38
|
}
|
|
37
39
|
|
|
@@ -42,27 +44,27 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
42
44
|
--_title-overline-font: var(--primitives-font-body-md-regular-tight);
|
|
43
45
|
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
44
46
|
|
|
45
|
-
@media (max-width: ${
|
|
47
|
+
@media (max-width: ${x}) {
|
|
46
48
|
--_title-font: var(--primitives-font-display-1-sm);
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
@media (min-width: ${
|
|
51
|
+
@media (min-width: ${S}) and (max-width: ${C}) {
|
|
50
52
|
--_title-font: var(--primitives-font-display-1-md);
|
|
51
53
|
}
|
|
52
54
|
|
|
53
|
-
@media (min-width: ${
|
|
55
|
+
@media (min-width: ${w}) {
|
|
54
56
|
--_title-font: var(--primitives-font-display-1-lg);
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
@container layout-container (max-width: ${
|
|
59
|
+
@container layout-container (max-width: ${x}) {
|
|
58
60
|
--_title-font: var(--primitives-font-display-1-sm);
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
@container layout-container (min-width: ${
|
|
63
|
+
@container layout-container (min-width: ${S}) and (max-width: ${C}) {
|
|
62
64
|
--_title-font: var(--primitives-font-display-1-md);
|
|
63
65
|
}
|
|
64
66
|
|
|
65
|
-
@container layout-container (min-width: ${
|
|
67
|
+
@container layout-container (min-width: ${w}) {
|
|
66
68
|
--_title-font: var(--primitives-font-display-1-lg);
|
|
67
69
|
}
|
|
68
70
|
}
|
|
@@ -72,27 +74,27 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
72
74
|
--_title-overline-font: var(--primitives-font-body-md-regular-tight);
|
|
73
75
|
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
74
76
|
|
|
75
|
-
@media (max-width: ${
|
|
77
|
+
@media (max-width: ${x}) {
|
|
76
78
|
--_title-font: var(--primitives-font-display-2-sm);
|
|
77
79
|
}
|
|
78
80
|
|
|
79
|
-
@media (min-width: ${
|
|
81
|
+
@media (min-width: ${S}) and (max-width: ${C}) {
|
|
80
82
|
--_title-font: var(--primitives-font-display-2-md);
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
@media (min-width: ${
|
|
85
|
+
@media (min-width: ${w}) {
|
|
84
86
|
--_title-font: var(--primitives-font-display-2-lg);
|
|
85
87
|
}
|
|
86
88
|
|
|
87
|
-
@container layout-container (max-width: ${
|
|
89
|
+
@container layout-container (max-width: ${x}) {
|
|
88
90
|
--_title-font: var(--primitives-font-display-2-sm);
|
|
89
91
|
}
|
|
90
92
|
|
|
91
|
-
@container layout-container (min-width: ${
|
|
93
|
+
@container layout-container (min-width: ${S}) and (max-width: ${C}) {
|
|
92
94
|
--_title-font: var(--primitives-font-display-2-md);
|
|
93
95
|
}
|
|
94
96
|
|
|
95
|
-
@container layout-container (min-width: ${
|
|
97
|
+
@container layout-container (min-width: ${w}) {
|
|
96
98
|
--_title-font: var(--primitives-font-display-2-lg);
|
|
97
99
|
}
|
|
98
100
|
}
|
|
@@ -102,27 +104,27 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
102
104
|
--_title-overline-font: var(--primitives-font-body-md-regular-tight);
|
|
103
105
|
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
104
106
|
|
|
105
|
-
@media (max-width: ${
|
|
107
|
+
@media (max-width: ${x}) {
|
|
106
108
|
--_title-font: var(--primitives-font-display-3-sm);
|
|
107
109
|
}
|
|
108
110
|
|
|
109
|
-
@media (min-width: ${
|
|
111
|
+
@media (min-width: ${S}) and (max-width: ${C}) {
|
|
110
112
|
--_title-font: var(--primitives-font-display-3-md);
|
|
111
113
|
}
|
|
112
114
|
|
|
113
|
-
@media (min-width: ${
|
|
115
|
+
@media (min-width: ${w}) {
|
|
114
116
|
--_title-font: var(--primitives-font-display-3-lg);
|
|
115
117
|
}
|
|
116
118
|
|
|
117
|
-
@container layout-container (max-width: ${
|
|
119
|
+
@container layout-container (max-width: ${x}) {
|
|
118
120
|
--_title-font: var(--primitives-font-display-3-sm);
|
|
119
121
|
}
|
|
120
122
|
|
|
121
|
-
@container layout-container (min-width: ${
|
|
123
|
+
@container layout-container (min-width: ${S}) and (max-width: ${C}) {
|
|
122
124
|
--_title-font: var(--primitives-font-display-3-md);
|
|
123
125
|
}
|
|
124
126
|
|
|
125
|
-
@container layout-container (min-width: ${
|
|
127
|
+
@container layout-container (min-width: ${w}) {
|
|
126
128
|
--_title-font: var(--primitives-font-display-3-lg);
|
|
127
129
|
}
|
|
128
130
|
}
|
|
@@ -132,27 +134,27 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
132
134
|
--_title-overline-font: var(--primitives-font-body-sm-regular-tight);
|
|
133
135
|
--_title-supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
134
136
|
|
|
135
|
-
@media (max-width: ${
|
|
137
|
+
@media (max-width: ${x}) {
|
|
136
138
|
--_title-font: var(--primitives-font-display-4-sm);
|
|
137
139
|
}
|
|
138
140
|
|
|
139
|
-
@media (min-width: ${
|
|
141
|
+
@media (min-width: ${S}) and (max-width: ${C}) {
|
|
140
142
|
--_title-font: var(--primitives-font-display-4-md);
|
|
141
143
|
}
|
|
142
144
|
|
|
143
|
-
@media (min-width: ${
|
|
145
|
+
@media (min-width: ${w}) {
|
|
144
146
|
--_title-font: var(--primitives-font-display-4-lg);
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
@container layout-container (max-width: ${
|
|
149
|
+
@container layout-container (max-width: ${x}) {
|
|
148
150
|
--_title-font: var(--primitives-font-display-4-sm);
|
|
149
151
|
}
|
|
150
152
|
|
|
151
|
-
@container layout-container (min-width: ${
|
|
153
|
+
@container layout-container (min-width: ${S}) and (max-width: ${C}) {
|
|
152
154
|
--_title-font: var(--primitives-font-display-4-md);
|
|
153
155
|
}
|
|
154
156
|
|
|
155
|
-
@container layout-container (min-width: ${
|
|
157
|
+
@container layout-container (min-width: ${w}) {
|
|
156
158
|
--_title-font: var(--primitives-font-display-4-lg);
|
|
157
159
|
}
|
|
158
160
|
}
|
|
@@ -162,27 +164,27 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
162
164
|
--_title-overline-font: var(--primitives-font-body-sm-regular-tight);
|
|
163
165
|
--_title-supporting-text-font: var(--primitives-font-body-sm-regular-tight);
|
|
164
166
|
|
|
165
|
-
@media (max-width: ${
|
|
167
|
+
@media (max-width: ${x}) {
|
|
166
168
|
--_title-font: var(--primitives-font-display-5-sm);
|
|
167
169
|
}
|
|
168
170
|
|
|
169
|
-
@media (min-width: ${
|
|
171
|
+
@media (min-width: ${S}) and (max-width: ${C}) {
|
|
170
172
|
--_title-font: var(--primitives-font-display-5-md);
|
|
171
173
|
}
|
|
172
174
|
|
|
173
|
-
@media (min-width: ${
|
|
175
|
+
@media (min-width: ${w}) {
|
|
174
176
|
--_title-font: var(--primitives-font-display-5-lg);
|
|
175
177
|
}
|
|
176
178
|
|
|
177
|
-
@container layout-container (max-width: ${
|
|
179
|
+
@container layout-container (max-width: ${x}) {
|
|
178
180
|
--_title-font: var(--primitives-font-display-5-sm);
|
|
179
181
|
}
|
|
180
182
|
|
|
181
|
-
@container layout-container (min-width: ${
|
|
183
|
+
@container layout-container (min-width: ${S}) and (max-width: ${C}) {
|
|
182
184
|
--_title-font: var(--primitives-font-display-5-md);
|
|
183
185
|
}
|
|
184
186
|
|
|
185
|
-
@container layout-container (min-width: ${
|
|
187
|
+
@container layout-container (min-width: ${w}) {
|
|
186
188
|
--_title-font: var(--primitives-font-display-5-lg);
|
|
187
189
|
}
|
|
188
190
|
}
|
|
@@ -192,27 +194,27 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
192
194
|
--_title-overline-font: var(--primitives-font-body-xs-regular-tight);
|
|
193
195
|
--_title-supporting-text-font: var(--primitives-font-body-sm-regular-tight);
|
|
194
196
|
|
|
195
|
-
@media (max-width: ${
|
|
197
|
+
@media (max-width: ${x}) {
|
|
196
198
|
--_title-font: var(--primitives-font-display-6-sm);
|
|
197
199
|
}
|
|
198
200
|
|
|
199
|
-
@media (min-width: ${
|
|
201
|
+
@media (min-width: ${S}) and (max-width: ${C}) {
|
|
200
202
|
--_title-font: var(--primitives-font-display-6-md);
|
|
201
203
|
}
|
|
202
204
|
|
|
203
|
-
@media (min-width: ${
|
|
205
|
+
@media (min-width: ${w}) {
|
|
204
206
|
--_title-font: var(--primitives-font-display-6-lg);
|
|
205
207
|
}
|
|
206
208
|
|
|
207
|
-
@container layout-container (max-width: ${
|
|
209
|
+
@container layout-container (max-width: ${x}) {
|
|
208
210
|
--_title-font: var(--primitives-font-display-6-sm);
|
|
209
211
|
}
|
|
210
212
|
|
|
211
|
-
@container layout-container (min-width: ${
|
|
213
|
+
@container layout-container (min-width: ${S}) and (max-width: ${C}) {
|
|
212
214
|
--_title-font: var(--primitives-font-display-6-md);
|
|
213
215
|
}
|
|
214
216
|
|
|
215
|
-
@container layout-container (min-width: ${
|
|
217
|
+
@container layout-container (min-width: ${w}) {
|
|
216
218
|
--_title-font: var(--primitives-font-display-6-lg);
|
|
217
219
|
}
|
|
218
220
|
}
|
|
@@ -220,31 +222,31 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
220
222
|
/* ## Custom size */
|
|
221
223
|
|
|
222
224
|
:host([data-level][data-sm-custom-size]) {
|
|
223
|
-
@media (max-width: ${
|
|
225
|
+
@media (max-width: ${x}) {
|
|
224
226
|
--_title-font: var(--_title-sm-custom-font);
|
|
225
227
|
}
|
|
226
228
|
|
|
227
|
-
@container layout-container (max-width: ${
|
|
229
|
+
@container layout-container (max-width: ${x}) {
|
|
228
230
|
--_title-font: var(--_title-sm-custom-font);
|
|
229
231
|
}
|
|
230
232
|
}
|
|
231
233
|
|
|
232
234
|
:host([data-level][data-md-custom-size]) {
|
|
233
|
-
@media (min-width: ${
|
|
235
|
+
@media (min-width: ${S}) and (max-width: ${C}) {
|
|
234
236
|
--_title-font: var(--_title-md-custom-font);
|
|
235
237
|
}
|
|
236
238
|
|
|
237
|
-
@container layout-container (min-width: ${
|
|
239
|
+
@container layout-container (min-width: ${S}) and (max-width: ${C}) {
|
|
238
240
|
--_title-font: var(--_title-md-custom-font);
|
|
239
241
|
}
|
|
240
242
|
}
|
|
241
243
|
|
|
242
244
|
:host([data-level][data-lg-custom-size]) {
|
|
243
|
-
@media (min-width: ${
|
|
245
|
+
@media (min-width: ${w}) {
|
|
244
246
|
--_title-font: var(--_title-lg-custom-font);
|
|
245
247
|
}
|
|
246
248
|
|
|
247
|
-
@container layout-container (min-width: ${
|
|
249
|
+
@container layout-container (min-width: ${w}) {
|
|
248
250
|
--_title-font: var(--_title-lg-custom-font);
|
|
249
251
|
}
|
|
250
252
|
}
|
|
@@ -287,8 +289,8 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
287
289
|
}
|
|
288
290
|
|
|
289
291
|
::slotted([slot="overline"]) {
|
|
290
|
-
${
|
|
291
|
-
${
|
|
292
|
+
${m}
|
|
293
|
+
${h}
|
|
292
294
|
margin: 0 !important;
|
|
293
295
|
max-width: var(--_title-secondary-text-max-width) !important;
|
|
294
296
|
--context-content-color: var(--context-content-secondary-color) !important;
|
|
@@ -315,8 +317,8 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
315
317
|
}
|
|
316
318
|
|
|
317
319
|
::slotted(:not([slot])) {
|
|
318
|
-
${
|
|
319
|
-
${
|
|
320
|
+
${m}
|
|
321
|
+
${h}
|
|
320
322
|
margin: 0 !important;
|
|
321
323
|
max-width: 40ch !important;
|
|
322
324
|
color: var(--context-content-color) !important;
|
|
@@ -341,8 +343,8 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
341
343
|
}
|
|
342
344
|
|
|
343
345
|
::slotted([slot="supporting-text"]) {
|
|
344
|
-
${
|
|
345
|
-
${
|
|
346
|
+
${m}
|
|
347
|
+
${h}
|
|
346
348
|
margin: 0 !important;
|
|
347
349
|
max-width: var(--_title-secondary-text-max-width) !important;
|
|
348
350
|
--context-content-color: var(--context-content-secondary-color) !important;
|
|
@@ -358,20 +360,20 @@ var v = i(u.smMax), y = i(u.mdMin), b = i(u.mdMax), x = i(u.lgMin), S = a`
|
|
|
358
360
|
flex-shrink: 0;
|
|
359
361
|
align-items: center;
|
|
360
362
|
}
|
|
361
|
-
`,
|
|
362
|
-
1:
|
|
363
|
-
2:
|
|
364
|
-
3:
|
|
365
|
-
4:
|
|
366
|
-
5:
|
|
367
|
-
6:
|
|
363
|
+
`, E = {
|
|
364
|
+
1: g("h1"),
|
|
365
|
+
2: g("h2"),
|
|
366
|
+
3: g("h3"),
|
|
367
|
+
4: g("h4"),
|
|
368
|
+
5: g("h5"),
|
|
369
|
+
6: g("h6")
|
|
368
370
|
};
|
|
369
|
-
function
|
|
371
|
+
function D(e) {
|
|
370
372
|
if (!e.text || e._hasDefaultSlotted) return n;
|
|
371
|
-
let r = e.headingLevel ?
|
|
372
|
-
return r ?
|
|
373
|
+
let r = e.headingLevel ? E[e.headingLevel] : void 0;
|
|
374
|
+
return r ? _`<${r} class="title__text">${e.text}</${r}>` : t`<p class="title__text">${e.text}</p>`;
|
|
373
375
|
}
|
|
374
|
-
function
|
|
376
|
+
function O(e) {
|
|
375
377
|
return t`
|
|
376
378
|
<div class="title">
|
|
377
379
|
<div class="title__title-group">
|
|
@@ -380,7 +382,7 @@ function T(e) {
|
|
|
380
382
|
name="overline"
|
|
381
383
|
@slotchange=${e._onSlotChange}
|
|
382
384
|
></slot>
|
|
383
|
-
${
|
|
385
|
+
${D(e)}
|
|
384
386
|
<slot @slotchange=${e._onSlotChange}></slot>
|
|
385
387
|
${e.supportingText && !e._hasSupportingTextSlotted ? t`<p class="title__supporting-text">${e.supportingText}</p>` : n}
|
|
386
388
|
<slot
|
|
@@ -395,60 +397,73 @@ function T(e) {
|
|
|
395
397
|
`;
|
|
396
398
|
}
|
|
397
399
|
// src/components/content/title/title.ts
|
|
398
|
-
var
|
|
400
|
+
var k = class extends e {
|
|
399
401
|
constructor(...e) {
|
|
400
|
-
super(...e), this.smCustomSize = "", this.mdCustomSize = "", this.lgCustomSize = "", this.text = "", this.supportingText = "", this.overline = "", this.headingLevel = null, this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._slottedLevel = null, this._onSlotChange = (e) => {
|
|
401
|
-
let t = e.target
|
|
402
|
-
|
|
403
|
-
else if (t.name === "supporting-text") this._hasSupportingTextSlotted = n;
|
|
404
|
-
else {
|
|
405
|
-
this._hasDefaultSlotted = n;
|
|
406
|
-
let e = t.assignedElements().find((e) => /^H[1-6]$/.test(e.tagName));
|
|
407
|
-
this._slottedLevel = e ? Number(e.tagName[1]) : null;
|
|
408
|
-
}
|
|
402
|
+
super(...e), this.smCustomSize = "", this.mdCustomSize = "", this.lgCustomSize = "", this.text = "", this.supportingText = "", this.overline = "", this.headingLevel = null, this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._slottedLevel = null, this._looseText = new l(this), this._onSlotChange = (e) => {
|
|
403
|
+
let t = e.target;
|
|
404
|
+
this._readSlot(t.name, t.assignedNodes());
|
|
409
405
|
}, this._customSizes = {};
|
|
410
406
|
}
|
|
407
|
+
connectedCallback() {
|
|
408
|
+
super.connectedCallback();
|
|
409
|
+
for (let e of [
|
|
410
|
+
"overline",
|
|
411
|
+
"",
|
|
412
|
+
"supporting-text"
|
|
413
|
+
]) this._readSlot(e, d(this, e));
|
|
414
|
+
}
|
|
415
|
+
_readSlot(e, t) {
|
|
416
|
+
this._looseText.read(e, t);
|
|
417
|
+
let n = u(t);
|
|
418
|
+
if (e === "overline") this._hasOverlineSlotted = n;
|
|
419
|
+
else if (e === "supporting-text") this._hasSupportingTextSlotted = n;
|
|
420
|
+
else {
|
|
421
|
+
this._hasDefaultSlotted = n;
|
|
422
|
+
let e = t.find((e) => e instanceof Element && /^H[1-6]$/.test(e.tagName));
|
|
423
|
+
this._slottedLevel = e ? Number(e.tagName[1]) : null;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
411
426
|
willUpdate(e) {
|
|
412
427
|
super.willUpdate(e);
|
|
413
428
|
let t = this.headingLevel ?? this._slottedLevel;
|
|
414
|
-
t && t >= 1 && t <= 6 ? this.setAttribute("data-level", String(t)) : this.removeAttribute("data-level"), (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && (this._customSizes =
|
|
429
|
+
t && t >= 1 && t <= 6 ? this.setAttribute("data-level", String(t)) : this.removeAttribute("data-level"), (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && (this._customSizes = v(this, "title", {
|
|
415
430
|
sm: this.smCustomSize,
|
|
416
431
|
md: this.mdCustomSize,
|
|
417
432
|
lg: this.lgCustomSize
|
|
418
433
|
}));
|
|
419
434
|
}
|
|
420
435
|
updated(e) {
|
|
421
|
-
super.updated(e), import.meta.env?.DEV && (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) &&
|
|
436
|
+
super.updated(e), import.meta.env?.DEV && (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && y(this, this._customSizes, b);
|
|
422
437
|
}
|
|
423
438
|
render() {
|
|
424
|
-
return
|
|
439
|
+
return O(this);
|
|
425
440
|
}
|
|
426
|
-
},
|
|
427
|
-
r([
|
|
441
|
+
}, A = (k.styles = T, k);
|
|
442
|
+
r([s({ reflect: !0 })], A.prototype, "size", void 0), r([s({
|
|
428
443
|
reflect: !0,
|
|
429
444
|
attribute: "sm-custom-size",
|
|
430
|
-
converter:
|
|
431
|
-
})],
|
|
445
|
+
converter: f("")
|
|
446
|
+
})], A.prototype, "smCustomSize", void 0), r([s({
|
|
432
447
|
reflect: !0,
|
|
433
448
|
attribute: "md-custom-size",
|
|
434
|
-
converter:
|
|
435
|
-
})],
|
|
449
|
+
converter: f("")
|
|
450
|
+
})], A.prototype, "mdCustomSize", void 0), r([s({
|
|
436
451
|
reflect: !0,
|
|
437
452
|
attribute: "lg-custom-size",
|
|
438
|
-
converter:
|
|
439
|
-
})],
|
|
453
|
+
converter: f("")
|
|
454
|
+
})], A.prototype, "lgCustomSize", void 0), r([s({
|
|
440
455
|
reflect: !0,
|
|
441
|
-
converter:
|
|
442
|
-
})],
|
|
456
|
+
converter: f("")
|
|
457
|
+
})], A.prototype, "text", void 0), r([s({
|
|
443
458
|
reflect: !0,
|
|
444
459
|
attribute: "supporting-text",
|
|
445
|
-
converter:
|
|
446
|
-
})],
|
|
460
|
+
converter: f("")
|
|
461
|
+
})], A.prototype, "supportingText", void 0), r([s({
|
|
447
462
|
reflect: !0,
|
|
448
|
-
converter:
|
|
449
|
-
})],
|
|
463
|
+
converter: f("")
|
|
464
|
+
})], A.prototype, "overline", void 0), r([s({
|
|
450
465
|
type: Number,
|
|
451
466
|
reflect: !0,
|
|
452
467
|
attribute: "heading-level"
|
|
453
|
-
})],
|
|
454
|
-
export {
|
|
468
|
+
})], A.prototype, "headingLevel", void 0), r([a()], A.prototype, "_hasOverlineSlotted", void 0), r([a()], A.prototype, "_hasDefaultSlotted", void 0), r([a()], A.prototype, "_hasSupportingTextSlotted", void 0), r([a()], A.prototype, "_slottedLevel", void 0), A = r([c("nldd-title")], A);
|
|
469
|
+
export { A as NLDDTitle };
|