@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,406 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-CK3hc5C5.js";
|
|
2
|
-
import { a as r, i, n as a } from "./custom-element-BVKCDhPV.js";
|
|
3
|
-
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { n as s, r as c, t as l } from "./custom-font-size-D7KNr84p.js";
|
|
5
|
-
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
// src/components/content/text/text.styles.ts
|
|
8
|
-
var f = r(d.smMax), p = r(d.mdMin), m = r(d.mdMax), h = r(d.lgMin), g = (e, t, n, a) => i`
|
|
9
|
-
${r(e)} {
|
|
10
|
-
@media (max-width: ${f}) {
|
|
11
|
-
--_text-font: ${r(t)};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@media (min-width: ${p}) and (max-width: ${m}) {
|
|
15
|
-
--_text-font: ${r(n)};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@media (min-width: ${h}) {
|
|
19
|
-
--_text-font: ${r(a)};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@container layout-container (max-width: ${f}) {
|
|
23
|
-
--_text-font: ${r(t)};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@container layout-container (min-width: ${p}) and (max-width: ${m}) {
|
|
27
|
-
--_text-font: ${r(n)};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@container layout-container (min-width: ${h}) {
|
|
31
|
-
--_text-font: ${r(a)};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
`, _ = (e, t, n, a) => i`
|
|
35
|
-
${r(e)} {
|
|
36
|
-
@media ${t} {
|
|
37
|
-
--_text-font: ${r(a)};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@container layout-container ${n} {
|
|
41
|
-
--_text-font: ${r(a)};
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`, v = i`
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/* # Host */
|
|
48
|
-
|
|
49
|
-
:host {
|
|
50
|
-
--_text-font-size: var(--primitives-font-size-100);
|
|
51
|
-
--_text-font-weight: var(--primitives-font-weight-body-regular);
|
|
52
|
-
--_text-line-height: var(--primitives-line-height-snug);
|
|
53
|
-
--_text-max-width: var(--semantics-text-max-width);
|
|
54
|
-
--_text-font: var(--_text-font-weight) var(--_text-font-size) / var(--_text-line-height) var(--primitives-font-family-body);
|
|
55
|
-
--_text-hyphenate-limit-before: 5;
|
|
56
|
-
--_text-hyphenate-limit-after: 5;
|
|
57
|
-
--_text-sm-custom-size: initial;
|
|
58
|
-
--_text-md-custom-size: initial;
|
|
59
|
-
--_text-lg-custom-size: initial;
|
|
60
|
-
--_text-sm-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-sm-custom-size), var(--primitives-font-size-700)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
61
|
-
--_text-md-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-md-custom-size), var(--primitives-font-size-800)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
62
|
-
--_text-lg-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-lg-custom-size), var(--primitives-font-size-1000)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
63
|
-
--_text-color: var(--context-content-color);
|
|
64
|
-
--_text-align: left;
|
|
65
|
-
--_text-link-color: var(--context-link-color);
|
|
66
|
-
--_text-link-is-hovered-color: var(--context-link-is-hovered-color);
|
|
67
|
-
--_text-link-is-active-color: var(--context-link-is-active-color);
|
|
68
|
-
--_text-link-underline-offset: var(--primitives-space-2);
|
|
69
|
-
--_text-link-corner-radius: var(--primitives-corner-radius-xxs);
|
|
70
|
-
--_text-mention-color: var(--semantics-mentions-content-color);
|
|
71
|
-
--_text-mention-icon-size: 0.95em;
|
|
72
|
-
--_text-mention-inline-padding: 0.3em;
|
|
73
|
-
--_text-mention-corner-radius: var(--primitives-corner-radius-sm);
|
|
74
|
-
--_text-mention-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
75
|
-
--_text-mention-border-color: var(--semantics-mentions-highlight-border-color);
|
|
76
|
-
--_text-mention-background-color: var(--semantics-mentions-background-color);
|
|
77
|
-
--_text-mention-is-hovered-background-color: var(--semantics-mentions-is-hovered-background-color);
|
|
78
|
-
--_text-mention-is-active-background-color: var(--semantics-mentions-is-active-background-color);
|
|
79
|
-
--_text-code-padding: var(--primitives-space-2) var(--primitives-space-4);
|
|
80
|
-
--_text-code-corner-radius: var(--semantics-controls-xs-corner-radius);
|
|
81
|
-
--_text-code-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
82
|
-
--_text-code-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
83
|
-
--_text-code-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
84
|
-
--_text-code-font-family: var(--primitives-font-family-monospace);
|
|
85
|
-
--_text-code-font-size: var(--semantics-code-inline-font-size);
|
|
86
|
-
--_text-mark-padding: var(--primitives-space-1) var(--primitives-space-2);
|
|
87
|
-
--_text-mark-corner-radius: var(--semantics-controls-xs-corner-radius);
|
|
88
|
-
--_text-mark-background-color: var(--semantics-content-mark-background-color);
|
|
89
|
-
--_text-mark-color: var(--semantics-content-mark-color);
|
|
90
|
-
|
|
91
|
-
display: block;
|
|
92
|
-
max-width: var(--_text-max-width);
|
|
93
|
-
color: var(--_text-color);
|
|
94
|
-
text-align: var(--_text-align);
|
|
95
|
-
font: var(--_text-font);
|
|
96
|
-
text-wrap: pretty;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
:host([hidden]) {
|
|
100
|
-
display: none;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/* # Size */
|
|
105
|
-
|
|
106
|
-
:host([size="xxs"]) {
|
|
107
|
-
--_text-font-size: var(--primitives-font-size-70);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
:host([size="xs"]) {
|
|
111
|
-
--_text-font-size: var(--primitives-font-size-80);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
:host([size="sm"]) {
|
|
115
|
-
--_text-font-size: var(--primitives-font-size-90);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
:host([size="lg"]) {
|
|
119
|
-
--_text-font-size: var(--primitives-font-size-200);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/* ## Display */
|
|
123
|
-
|
|
124
|
-
${r([
|
|
125
|
-
6,
|
|
126
|
-
5,
|
|
127
|
-
4,
|
|
128
|
-
3,
|
|
129
|
-
2,
|
|
130
|
-
1
|
|
131
|
-
].map((e) => g(`:host([size="display-${e}"])`, `var(--primitives-font-display-${e}-sm)`, `var(--primitives-font-display-${e}-md)`, `var(--primitives-font-display-${e}-lg)`).cssText).join("\n"))}
|
|
132
|
-
|
|
133
|
-
/* ## Custom size */
|
|
134
|
-
|
|
135
|
-
${_(":host([data-sm-custom-size])", i`(max-width: ${f})`, i`(max-width: ${f})`, "var(--_text-sm-custom-font)")}
|
|
136
|
-
${_(":host([data-md-custom-size])", i`(min-width: ${p}) and (max-width: ${m})`, i`(min-width: ${p}) and (max-width: ${m})`, "var(--_text-md-custom-font)")}
|
|
137
|
-
${_(":host([data-lg-custom-size])", i`(min-width: ${h})`, i`(min-width: ${h})`, "var(--_text-lg-custom-font)")}
|
|
138
|
-
|
|
139
|
-
/* The measure is in ch, as on nldd-title: 40em of large letters is a ruler. */
|
|
140
|
-
:host([size^="display-"]),
|
|
141
|
-
:host([data-sm-custom-size]),
|
|
142
|
-
:host([data-md-custom-size]),
|
|
143
|
-
:host([data-lg-custom-size]) {
|
|
144
|
-
--_text-max-width: 40ch;
|
|
145
|
-
|
|
146
|
-
overflow-wrap: anywhere;
|
|
147
|
-
text-wrap: balance;
|
|
148
|
-
-webkit-hyphens: auto;
|
|
149
|
-
hyphens: auto;
|
|
150
|
-
-webkit-hyphenate-limit-before: var(--_text-hyphenate-limit-before);
|
|
151
|
-
-webkit-hyphenate-limit-after: var(--_text-hyphenate-limit-after);
|
|
152
|
-
hyphenate-limit-chars: 12 var(--_text-hyphenate-limit-before) var(--_text-hyphenate-limit-after);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
/* # Weight */
|
|
157
|
-
|
|
158
|
-
:host([weight="medium"]) {
|
|
159
|
-
--_text-font-weight: var(--primitives-font-weight-body-medium);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
:host([weight="bold"]) {
|
|
163
|
-
--_text-font-weight: var(--primitives-font-weight-body-bold);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/* Not the browser's "bolder", which is relative: from medium it lands on 700
|
|
167
|
-
and from bold it asks for a weight this font does not have, so the browser
|
|
168
|
-
thickens the glyphs itself. */
|
|
169
|
-
::slotted(strong),
|
|
170
|
-
::slotted(b) {
|
|
171
|
-
color: inherit;
|
|
172
|
-
font-weight: var(--primitives-font-weight-body-bold);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
:host([size^="display-"]) ::slotted(strong),
|
|
176
|
-
:host([size^="display-"]) ::slotted(b) {
|
|
177
|
-
font-weight: inherit;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
/* # Inline elements */
|
|
182
|
-
|
|
183
|
-
::slotted(em),
|
|
184
|
-
::slotted(i) {
|
|
185
|
-
color: inherit;
|
|
186
|
-
font-style: italic;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
::slotted(a) {
|
|
190
|
-
border-radius: var(--_text-link-corner-radius);
|
|
191
|
-
--context-content-color: var(--_text-link-color);
|
|
192
|
-
color: var(--_text-link-color);
|
|
193
|
-
text-decoration: underline;
|
|
194
|
-
text-underline-offset: var(--_text-link-underline-offset);
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
::slotted(a:hover) {
|
|
199
|
-
--context-content-color: var(--_text-link-is-hovered-color);
|
|
200
|
-
color: var(--_text-link-is-hovered-color);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
::slotted(a:active) {
|
|
204
|
-
--context-content-color: var(--_text-link-is-active-color);
|
|
205
|
-
color: var(--_text-link-is-active-color);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
::slotted(:focus-visible) {
|
|
209
|
-
outline: var(--semantics-focus-ring-outline);
|
|
210
|
-
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
211
|
-
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
::slotted(:focus:not(:focus-visible)) {
|
|
215
|
-
outline: none;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
::slotted([data-mention]) {
|
|
219
|
-
--context-content-color: var(--_text-mention-color);
|
|
220
|
-
color: var(--_text-mention-color);
|
|
221
|
-
font-weight: var(--primitives-font-weight-body-bold);
|
|
222
|
-
white-space: nowrap;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
::slotted([data-mention])::before {
|
|
226
|
-
content: '';
|
|
227
|
-
display: inline-block;
|
|
228
|
-
margin-inline-end: 0.1em;
|
|
229
|
-
background-color: currentColor;
|
|
230
|
-
width: var(--_text-mention-icon-size);
|
|
231
|
-
height: var(--_text-mention-icon-size);
|
|
232
|
-
vertical-align: -0.16em;
|
|
233
|
-
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 12c0 2.73 1.3 3.5 2 3.5s2-.77 2-3.5a8 8 0 1 0-5.93 7.73l.52 1.93A10 10 0 1 1 22 12c0 3.27-1.7 5.5-4 5.5-1.36 0-2.5-.78-3.22-2.08A4.3 4.3 0 0 1 11.5 17C9 17 7 14.76 7 12s2-5 4.5-5c.92 0 1.78.31 2.5.84V7h2zm-4.5-3C10.3 9 9 10.14 9 12s1.31 3 2.5 3 2.5-1.14 2.5-3-1.31-3-2.5-3'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
234
|
-
|
|
235
|
-
@media (forced-colors: active) {
|
|
236
|
-
forced-color-adjust: none;
|
|
237
|
-
background-color: CanvasText;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
::slotted(a[data-mention]) {
|
|
242
|
-
padding-block: max(0em, (1lh - 1.2em) / 2);
|
|
243
|
-
padding-inline: max(0em, (max(1.2em, 1lh) - var(--_text-mention-icon-size)) / 2) var(--_text-mention-inline-padding);
|
|
244
|
-
border-radius: var(--_text-mention-corner-radius);
|
|
245
|
-
box-shadow: inset 0 0 0 var(--_text-mention-border-width) var(--_text-mention-border-color);
|
|
246
|
-
background-color: var(--_text-mention-background-color);
|
|
247
|
-
--context-content-color: var(--_text-mention-color);
|
|
248
|
-
color: var(--_text-mention-color);
|
|
249
|
-
text-decoration: none;
|
|
250
|
-
cursor: default;
|
|
251
|
-
-webkit-box-decoration-break: clone;
|
|
252
|
-
box-decoration-break: clone;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
::slotted(a[data-mention]:hover) {
|
|
256
|
-
background-color: var(--_text-mention-is-hovered-background-color);
|
|
257
|
-
--context-content-color: var(--_text-mention-color);
|
|
258
|
-
color: var(--_text-mention-color);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
::slotted(a[data-mention]:active) {
|
|
262
|
-
background-color: var(--_text-mention-is-active-background-color);
|
|
263
|
-
--context-content-color: var(--_text-mention-color);
|
|
264
|
-
color: var(--_text-mention-color);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
@media (forced-colors: active) {
|
|
268
|
-
::slotted(a[data-mention])::before {
|
|
269
|
-
background-color: LinkText;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
::slotted(code) {
|
|
274
|
-
border-radius: var(--_text-code-corner-radius);
|
|
275
|
-
box-shadow: inset 0 0 0 var(--_text-code-border-width) var(--_text-code-border-color);
|
|
276
|
-
background-color: var(--_text-code-background-color);
|
|
277
|
-
padding: var(--_text-code-padding);
|
|
278
|
-
font-family: var(--_text-code-font-family);
|
|
279
|
-
font-size: var(--_text-code-font-size);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
::slotted(q) {
|
|
283
|
-
font-style: italic;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
::slotted(q)::before {
|
|
287
|
-
content: open-quote;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
::slotted(q)::after {
|
|
291
|
-
content: close-quote;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
::slotted(mark) {
|
|
295
|
-
border-radius: var(--_text-mark-corner-radius);
|
|
296
|
-
background-color: var(--_text-mark-background-color);
|
|
297
|
-
padding: var(--_text-mark-padding);
|
|
298
|
-
--context-content-color: var(--_text-mark-color);
|
|
299
|
-
color: var(--_text-mark-color);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
/* # Line height */
|
|
304
|
-
|
|
305
|
-
:host([line-height="flat"]) {
|
|
306
|
-
--_text-line-height: var(--primitives-line-height-flat);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
:host([line-height="tight"]) {
|
|
310
|
-
--_text-line-height: var(--primitives-line-height-tight);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
:host([line-height="loose"]) {
|
|
314
|
-
--_text-line-height: var(--primitives-line-height-loose);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
/* # Color */
|
|
319
|
-
|
|
320
|
-
:host([color="secondary"]) {
|
|
321
|
-
--_text-color: var(--context-content-secondary-color);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
:host([color="accent"]) {
|
|
325
|
-
--_text-color: var(--context-content-accent-color);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
:host([color="success"]) {
|
|
329
|
-
--_text-color: var(--context-content-success-color);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
:host([color="warning"]) {
|
|
333
|
-
--_text-color: var(--context-content-warning-color);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
:host([color="critical"]) {
|
|
337
|
-
--_text-color: var(--context-content-critical-color);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
/* # Alignment */
|
|
342
|
-
|
|
343
|
-
:host([horizontal-alignment="center"]) {
|
|
344
|
-
--_text-align: center;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
:host([horizontal-alignment="right"]) {
|
|
348
|
-
--_text-align: right;
|
|
349
|
-
}
|
|
350
|
-
`;
|
|
351
|
-
// src/components/content/text/text.template.ts
|
|
352
|
-
function y() {
|
|
353
|
-
return t`
|
|
354
|
-
<slot></slot>
|
|
355
|
-
`;
|
|
356
|
-
}
|
|
357
|
-
// src/components/content/text/text.ts
|
|
358
|
-
var b = class extends e {
|
|
359
|
-
constructor(...e) {
|
|
360
|
-
super(...e), this.size = "md", this.smCustomSize = "", this.mdCustomSize = "", this.lgCustomSize = "", this.weight = "regular", this.lineHeight = "snug", this.color = "content", this.horizontalAlignment = "left", this._customSizes = {};
|
|
361
|
-
}
|
|
362
|
-
willUpdate(e) {
|
|
363
|
-
super.willUpdate(e), (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && (this._customSizes = s(this, "text", {
|
|
364
|
-
sm: this.smCustomSize,
|
|
365
|
-
md: this.mdCustomSize,
|
|
366
|
-
lg: this.lgCustomSize
|
|
367
|
-
}));
|
|
368
|
-
}
|
|
369
|
-
updated(e) {
|
|
370
|
-
super.updated(e), import.meta.env?.DEV && (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && c(this, this._customSizes, l);
|
|
371
|
-
}
|
|
372
|
-
render() {
|
|
373
|
-
return y();
|
|
374
|
-
}
|
|
375
|
-
}, x = (b.styles = v, b);
|
|
376
|
-
n([a({
|
|
377
|
-
reflect: !0,
|
|
378
|
-
converter: u("md")
|
|
379
|
-
})], x.prototype, "size", void 0), n([a({
|
|
380
|
-
reflect: !0,
|
|
381
|
-
attribute: "sm-custom-size",
|
|
382
|
-
converter: u("")
|
|
383
|
-
})], x.prototype, "smCustomSize", void 0), n([a({
|
|
384
|
-
reflect: !0,
|
|
385
|
-
attribute: "md-custom-size",
|
|
386
|
-
converter: u("")
|
|
387
|
-
})], x.prototype, "mdCustomSize", void 0), n([a({
|
|
388
|
-
reflect: !0,
|
|
389
|
-
attribute: "lg-custom-size",
|
|
390
|
-
converter: u("")
|
|
391
|
-
})], x.prototype, "lgCustomSize", void 0), n([a({
|
|
392
|
-
reflect: !0,
|
|
393
|
-
converter: u("regular")
|
|
394
|
-
})], x.prototype, "weight", void 0), n([a({
|
|
395
|
-
reflect: !0,
|
|
396
|
-
attribute: "line-height",
|
|
397
|
-
converter: u("snug")
|
|
398
|
-
})], x.prototype, "lineHeight", void 0), n([a({
|
|
399
|
-
reflect: !0,
|
|
400
|
-
converter: u("content")
|
|
401
|
-
})], x.prototype, "color", void 0), n([a({
|
|
402
|
-
reflect: !0,
|
|
403
|
-
attribute: "horizontal-alignment",
|
|
404
|
-
converter: u("left")
|
|
405
|
-
})], x.prototype, "horizontalAlignment", void 0), x = n([o("nldd-text")], x);
|
|
406
|
-
export { x as NLDDText };
|