@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
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, o as a, r as o } from "./custom-element-DGlHv_OV.js";
|
|
3
|
+
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as c } from "./slot-content-2qH2vEC_.js";
|
|
5
|
+
import { n as l, r as u, t as d } from "./custom-font-size-D7KNr84p.js";
|
|
6
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
+
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
+
import { r as m } from "./shadow-resets-CodxnaUh.js";
|
|
9
|
+
// src/components/content/text/text.styles.ts
|
|
10
|
+
var h = a(p.smMax), g = a(p.mdMin), _ = a(p.mdMax), v = a(p.lgMin), y = (e, t, n, r) => i`
|
|
11
|
+
${a(e)} {
|
|
12
|
+
@media (max-width: ${h}) {
|
|
13
|
+
--_text-font: ${a(t)};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (min-width: ${g}) and (max-width: ${_}) {
|
|
17
|
+
--_text-font: ${a(n)};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (min-width: ${v}) {
|
|
21
|
+
--_text-font: ${a(r)};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@container layout-container (max-width: ${h}) {
|
|
25
|
+
--_text-font: ${a(t)};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@container layout-container (min-width: ${g}) and (max-width: ${_}) {
|
|
29
|
+
--_text-font: ${a(n)};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@container layout-container (min-width: ${v}) {
|
|
33
|
+
--_text-font: ${a(r)};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`, b = (e, t, n, r) => i`
|
|
37
|
+
${a(e)} {
|
|
38
|
+
@media ${t} {
|
|
39
|
+
--_text-font: ${a(r)};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@container layout-container ${n} {
|
|
43
|
+
--_text-font: ${a(r)};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
`, x = i`
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/* # Host */
|
|
50
|
+
|
|
51
|
+
:host {
|
|
52
|
+
--_text-font-size: var(--primitives-font-size-100);
|
|
53
|
+
--_text-font-weight: var(--primitives-font-weight-body-regular);
|
|
54
|
+
--_text-line-height: var(--primitives-line-height-snug);
|
|
55
|
+
--_text-max-width: var(--semantics-text-max-width);
|
|
56
|
+
--_text-font: var(--_text-font-weight) var(--_text-font-size) / var(--_text-line-height) var(--primitives-font-family-body);
|
|
57
|
+
--_text-hyphenate-limit-before: 5;
|
|
58
|
+
--_text-hyphenate-limit-after: 5;
|
|
59
|
+
--_text-sm-custom-size: initial;
|
|
60
|
+
--_text-md-custom-size: initial;
|
|
61
|
+
--_text-lg-custom-size: initial;
|
|
62
|
+
--_text-sm-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-sm-custom-size), var(--primitives-font-size-700)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
63
|
+
--_text-md-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-md-custom-size), var(--primitives-font-size-800)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
64
|
+
--_text-lg-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-lg-custom-size), var(--primitives-font-size-1000)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
|
|
65
|
+
--_text-color: var(--context-content-color);
|
|
66
|
+
--_text-align: left;
|
|
67
|
+
|
|
68
|
+
display: block;
|
|
69
|
+
max-width: var(--_text-max-width);
|
|
70
|
+
color: var(--_text-color);
|
|
71
|
+
text-align: var(--_text-align);
|
|
72
|
+
font: var(--_text-font);
|
|
73
|
+
text-wrap: pretty;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([hidden]) {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/* # Size */
|
|
82
|
+
|
|
83
|
+
:host([size="xxs"]) {
|
|
84
|
+
--_text-font-size: var(--primitives-font-size-70);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:host([size="xs"]) {
|
|
88
|
+
--_text-font-size: var(--primitives-font-size-80);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:host([size="sm"]) {
|
|
92
|
+
--_text-font-size: var(--primitives-font-size-90);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:host([size="lg"]) {
|
|
96
|
+
--_text-font-size: var(--primitives-font-size-200);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* ## Display */
|
|
100
|
+
|
|
101
|
+
${a([
|
|
102
|
+
6,
|
|
103
|
+
5,
|
|
104
|
+
4,
|
|
105
|
+
3,
|
|
106
|
+
2,
|
|
107
|
+
1
|
|
108
|
+
].map((e) => y(`:host([size="display-${e}"])`, `var(--primitives-font-display-${e}-sm)`, `var(--primitives-font-display-${e}-md)`, `var(--primitives-font-display-${e}-lg)`).cssText).join("\n"))}
|
|
109
|
+
|
|
110
|
+
/* ## Custom size */
|
|
111
|
+
|
|
112
|
+
${b(":host([data-sm-custom-size])", i`(max-width: ${h})`, i`(max-width: ${h})`, "var(--_text-sm-custom-font)")}
|
|
113
|
+
${b(":host([data-md-custom-size])", i`(min-width: ${g}) and (max-width: ${_})`, i`(min-width: ${g}) and (max-width: ${_})`, "var(--_text-md-custom-font)")}
|
|
114
|
+
${b(":host([data-lg-custom-size])", i`(min-width: ${v})`, i`(min-width: ${v})`, "var(--_text-lg-custom-font)")}
|
|
115
|
+
|
|
116
|
+
/* The measure is in ch, as on nldd-title: 40em of large letters is a ruler. */
|
|
117
|
+
:host([size^="display-"]),
|
|
118
|
+
:host([data-sm-custom-size]),
|
|
119
|
+
:host([data-md-custom-size]),
|
|
120
|
+
:host([data-lg-custom-size]) {
|
|
121
|
+
--_text-max-width: 40ch;
|
|
122
|
+
|
|
123
|
+
overflow-wrap: anywhere;
|
|
124
|
+
text-wrap: balance;
|
|
125
|
+
-webkit-hyphens: auto;
|
|
126
|
+
hyphens: auto;
|
|
127
|
+
-webkit-hyphenate-limit-before: var(--_text-hyphenate-limit-before);
|
|
128
|
+
-webkit-hyphenate-limit-after: var(--_text-hyphenate-limit-after);
|
|
129
|
+
hyphenate-limit-chars: 12 var(--_text-hyphenate-limit-before) var(--_text-hyphenate-limit-after);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/* # Weight */
|
|
134
|
+
|
|
135
|
+
:host([weight="medium"]) {
|
|
136
|
+
--_text-font-weight: var(--primitives-font-weight-body-medium);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:host([weight="bold"]) {
|
|
140
|
+
--_text-font-weight: var(--primitives-font-weight-body-bold);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
/* # Slot */
|
|
145
|
+
|
|
146
|
+
::slotted(:is(p, span)) {
|
|
147
|
+
${m}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.text {
|
|
151
|
+
margin: 0;
|
|
152
|
+
font: inherit;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
/* # Line height */
|
|
157
|
+
|
|
158
|
+
:host([line-height="flat"]) {
|
|
159
|
+
--_text-line-height: var(--primitives-line-height-flat);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:host([line-height="tight"]) {
|
|
163
|
+
--_text-line-height: var(--primitives-line-height-tight);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:host([line-height="loose"]) {
|
|
167
|
+
--_text-line-height: var(--primitives-line-height-loose);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
/* # Color */
|
|
172
|
+
|
|
173
|
+
:host([color="secondary"]) {
|
|
174
|
+
--_text-color: var(--context-content-secondary-color);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
:host([color="accent"]) {
|
|
178
|
+
--_text-color: var(--context-content-accent-color);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:host([color="success"]) {
|
|
182
|
+
--_text-color: var(--context-content-success-color);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host([color="warning"]) {
|
|
186
|
+
--_text-color: var(--context-content-warning-color);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:host([color="critical"]) {
|
|
190
|
+
--_text-color: var(--context-content-critical-color);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
/* # Alignment */
|
|
195
|
+
|
|
196
|
+
:host([horizontal-alignment="center"]) {
|
|
197
|
+
--_text-align: center;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:host([horizontal-alignment="right"]) {
|
|
201
|
+
--_text-align: right;
|
|
202
|
+
}
|
|
203
|
+
`;
|
|
204
|
+
// src/components/content/text/text.template.ts
|
|
205
|
+
function S() {
|
|
206
|
+
return t`${this.text && !this._textSlot.has ? t`<p class="text">${this.text}</p>` : n}<slot @slotchange=${this._textSlot.onChange}></slot>`;
|
|
207
|
+
}
|
|
208
|
+
// src/components/content/text/text.ts
|
|
209
|
+
var C = class extends e {
|
|
210
|
+
constructor(...e) {
|
|
211
|
+
super(...e), this.text = "", this.size = "md", this._textSlot = new c(this), this.smCustomSize = "", this.mdCustomSize = "", this.lgCustomSize = "", this.weight = "regular", this.lineHeight = "snug", this.color = "content", this.horizontalAlignment = "left", this._customSizes = {};
|
|
212
|
+
}
|
|
213
|
+
willUpdate(e) {
|
|
214
|
+
super.willUpdate(e), (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && (this._customSizes = l(this, "text", {
|
|
215
|
+
sm: this.smCustomSize,
|
|
216
|
+
md: this.mdCustomSize,
|
|
217
|
+
lg: this.lgCustomSize
|
|
218
|
+
}));
|
|
219
|
+
}
|
|
220
|
+
updated(e) {
|
|
221
|
+
super.updated(e), import.meta.env?.DEV && (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && u(this, this._customSizes, d);
|
|
222
|
+
}
|
|
223
|
+
render() {
|
|
224
|
+
return S.call(this);
|
|
225
|
+
}
|
|
226
|
+
}, w = (C.styles = x, C);
|
|
227
|
+
r([o({
|
|
228
|
+
reflect: !0,
|
|
229
|
+
converter: f("")
|
|
230
|
+
})], w.prototype, "text", void 0), r([o({
|
|
231
|
+
reflect: !0,
|
|
232
|
+
converter: f("md")
|
|
233
|
+
})], w.prototype, "size", void 0), r([o({
|
|
234
|
+
reflect: !0,
|
|
235
|
+
attribute: "sm-custom-size",
|
|
236
|
+
converter: f("")
|
|
237
|
+
})], w.prototype, "smCustomSize", void 0), r([o({
|
|
238
|
+
reflect: !0,
|
|
239
|
+
attribute: "md-custom-size",
|
|
240
|
+
converter: f("")
|
|
241
|
+
})], w.prototype, "mdCustomSize", void 0), r([o({
|
|
242
|
+
reflect: !0,
|
|
243
|
+
attribute: "lg-custom-size",
|
|
244
|
+
converter: f("")
|
|
245
|
+
})], w.prototype, "lgCustomSize", void 0), r([o({
|
|
246
|
+
reflect: !0,
|
|
247
|
+
converter: f("regular")
|
|
248
|
+
})], w.prototype, "weight", void 0), r([o({
|
|
249
|
+
reflect: !0,
|
|
250
|
+
attribute: "line-height",
|
|
251
|
+
converter: f("snug")
|
|
252
|
+
})], w.prototype, "lineHeight", void 0), r([o({
|
|
253
|
+
reflect: !0,
|
|
254
|
+
converter: f("content")
|
|
255
|
+
})], w.prototype, "color", void 0), r([o({
|
|
256
|
+
reflect: !0,
|
|
257
|
+
attribute: "horizontal-alignment",
|
|
258
|
+
converter: f("left")
|
|
259
|
+
})], w.prototype, "horizontalAlignment", void 0), w = r([s("nldd-text")], w);
|
|
260
|
+
export { w as NLDDText };
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t,
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as d } from "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { n as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { a as i, n as a, r as o } from "./custom-element-DGlHv_OV.js";
|
|
4
|
+
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as c } from "./slotted-block-xNpJoXLz.js";
|
|
6
|
+
import { n as l, r as u } from "./slot-content-2qH2vEC_.js";
|
|
7
|
+
import { t as d } from "./reorder-handle-mixin-DTmEmT-V.js";
|
|
8
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
|
+
import { r as p, t as m } from "./shadow-resets-CodxnaUh.js";
|
|
10
|
+
import { n as h, r as g } from "./static-html--Xd5vkAU.js";
|
|
11
|
+
import { n as _ } from "./render-marked-DjXBoUGY.js";
|
|
12
|
+
import { t as v } from "./visibility-mixin-BP5T5qYB.js";
|
|
13
|
+
import { t as y } from "./row-header-mixin-XRu3gHMf.js";
|
|
11
14
|
// src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts
|
|
12
|
-
var
|
|
15
|
+
var b = i`
|
|
13
16
|
:host {
|
|
14
17
|
box-sizing: border-box;
|
|
15
18
|
}
|
|
@@ -28,7 +31,7 @@ var h = a`
|
|
|
28
31
|
--_text-cell-color: var(--context-content-color);
|
|
29
32
|
--_text-cell-font: var(--primitives-font-body-md-regular-tight);
|
|
30
33
|
|
|
31
|
-
${
|
|
34
|
+
${m}
|
|
32
35
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
33
36
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
34
37
|
display: flex;
|
|
@@ -194,53 +197,49 @@ var h = a`
|
|
|
194
197
|
overflow-wrap: anywhere;
|
|
195
198
|
text-wrap: pretty;
|
|
196
199
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
|
|
201
|
+
::slotted(:is(p, h1, h2, h3, h4, h5, h6)) {
|
|
202
|
+
${p}
|
|
203
|
+
}
|
|
204
|
+
`, x = h("div"), S = h("p");
|
|
205
|
+
function C() {
|
|
206
|
+
let e = this._hasOverlineSlotted ? x : S, t = this._hasDefaultSlotted ? x : S, r = this._hasSupportingTextSlotted ? x : S;
|
|
207
|
+
return g`
|
|
208
|
+
<${e}
|
|
202
209
|
class="text-cell__overline"
|
|
203
210
|
?hidden=${!this.overline && !this._hasOverlineSlotted}
|
|
204
211
|
>
|
|
205
|
-
${this.overline && !this._hasOverlineSlotted ?
|
|
212
|
+
${this.overline && !this._hasOverlineSlotted ? _(this.overline, this.query, this.queryMarkMode) : n}
|
|
206
213
|
<slot
|
|
207
214
|
name="overline"
|
|
208
215
|
@slotchange=${this._onSlotChange}
|
|
209
216
|
></slot>
|
|
210
|
-
|
|
211
|
-
|
|
217
|
+
</${e}>
|
|
218
|
+
<${t}
|
|
212
219
|
class="text-cell__text"
|
|
213
220
|
?hidden=${!this.text && !this._hasDefaultSlotted}
|
|
214
221
|
>
|
|
215
|
-
${this.text && !this._hasDefaultSlotted ?
|
|
222
|
+
${this.text && !this._hasDefaultSlotted ? _(this.text, this.query, this.queryMarkMode) : n}
|
|
216
223
|
<slot @slotchange=${this._onSlotChange}></slot>
|
|
217
|
-
|
|
218
|
-
|
|
224
|
+
</${t}>
|
|
225
|
+
<${r}
|
|
219
226
|
class="text-cell__supporting-text"
|
|
220
227
|
?hidden=${!this.supportingText && !this._hasSupportingTextSlotted}
|
|
221
228
|
>
|
|
222
|
-
${this.supportingText && !this._hasSupportingTextSlotted ?
|
|
229
|
+
${this.supportingText && !this._hasSupportingTextSlotted ? _(this.supportingText, this.query, this.queryMarkMode) : n}
|
|
223
230
|
<slot
|
|
224
231
|
name="supporting-text"
|
|
225
232
|
@slotchange=${this._onSlotChange}
|
|
226
233
|
></slot>
|
|
227
|
-
|
|
234
|
+
</${r}>
|
|
228
235
|
`;
|
|
229
236
|
}
|
|
230
237
|
// src/components/lists-and-tables/cells/text-cell/text-cell.ts
|
|
231
|
-
var
|
|
238
|
+
var w = /* @__PURE__ */ e({ NLDDTextCell: () => E }), T = class extends d(y(v(t, "cells-container"))) {
|
|
232
239
|
constructor(...e) {
|
|
233
|
-
super(...e), this.size = "md", this.color = "content", this.width = "full", this.horizontalAlignment = "left", this.verticalAlignment = "center", this.text = "", this.supportingText = "", this.overline = "", this.query = "", this.queryMarkMode = "predictive", this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._onSlotChange = (e) => {
|
|
234
|
-
let t = e.target
|
|
235
|
-
|
|
236
|
-
case "overline":
|
|
237
|
-
this._hasOverlineSlotted = n;
|
|
238
|
-
break;
|
|
239
|
-
case "supporting-text":
|
|
240
|
-
this._hasSupportingTextSlotted = n;
|
|
241
|
-
break;
|
|
242
|
-
default: this._hasDefaultSlotted = n;
|
|
243
|
-
}
|
|
240
|
+
super(...e), this.size = "md", this.color = "content", this.width = "full", this.horizontalAlignment = "left", this.verticalAlignment = "center", this.text = "", this.supportingText = "", this.overline = "", this.query = "", this.queryMarkMode = "predictive", this._hasOverlineSlotted = !1, this._hasDefaultSlotted = !1, this._hasSupportingTextSlotted = !1, this._looseText = new c(this), this._onSlotChange = (e) => {
|
|
241
|
+
let t = e.target;
|
|
242
|
+
this._readSlot(t.name, t.assignedNodes());
|
|
244
243
|
};
|
|
245
244
|
}
|
|
246
245
|
updated(e) {
|
|
@@ -250,54 +249,67 @@ var _ = /* @__PURE__ */ e({ NLDDTextCell: () => y }), v = class extends l(m(p(t,
|
|
|
250
249
|
let e = this.width, t = e === "full" || e === "fit-content", n = !!e && !t && CSS.supports("width", e);
|
|
251
250
|
n ? this.style.setProperty("--_text-cell-width", e) : this.style.removeProperty("--_text-cell-width"), e && !t && !n && (this.width = ""), this.minWidth ? this.style.setProperty("--_text-cell-min-width", this.minWidth) : this.style.removeProperty("--_text-cell-min-width"), this.maxWidth ? this.style.setProperty("--_text-cell-max-width", this.maxWidth) : this.style.removeProperty("--_text-cell-max-width"), this.minHeight ? this.style.setProperty("--_text-cell-min-height", this.minHeight) : this.style.removeProperty("--_text-cell-min-height");
|
|
252
251
|
}
|
|
252
|
+
connectedCallback() {
|
|
253
|
+
super.connectedCallback();
|
|
254
|
+
for (let e of [
|
|
255
|
+
"overline",
|
|
256
|
+
"",
|
|
257
|
+
"supporting-text"
|
|
258
|
+
]) this._readSlot(e, u(this, e));
|
|
259
|
+
}
|
|
260
|
+
_readSlot(e, t) {
|
|
261
|
+
this._looseText.read(e, t);
|
|
262
|
+
let n = l(t);
|
|
263
|
+
e === "overline" ? this._hasOverlineSlotted = n : e === "supporting-text" ? this._hasSupportingTextSlotted = n : this._hasDefaultSlotted = n;
|
|
264
|
+
}
|
|
253
265
|
render() {
|
|
254
|
-
return
|
|
266
|
+
return C.call(this);
|
|
255
267
|
}
|
|
256
|
-
},
|
|
257
|
-
|
|
268
|
+
}, E = (T.styles = [b], T);
|
|
269
|
+
r([o({
|
|
258
270
|
reflect: !0,
|
|
259
|
-
converter:
|
|
260
|
-
})],
|
|
271
|
+
converter: f("md")
|
|
272
|
+
})], E.prototype, "size", void 0), r([o({
|
|
261
273
|
reflect: !0,
|
|
262
|
-
converter:
|
|
263
|
-
})],
|
|
274
|
+
converter: f("content")
|
|
275
|
+
})], E.prototype, "color", void 0), r([o({
|
|
264
276
|
reflect: !0,
|
|
265
|
-
converter:
|
|
266
|
-
})],
|
|
277
|
+
converter: f("full")
|
|
278
|
+
})], E.prototype, "width", void 0), r([o({
|
|
267
279
|
type: String,
|
|
268
280
|
reflect: !0,
|
|
269
281
|
attribute: "min-width"
|
|
270
|
-
})],
|
|
282
|
+
})], E.prototype, "minWidth", void 0), r([o({
|
|
271
283
|
type: String,
|
|
272
284
|
reflect: !0,
|
|
273
285
|
attribute: "max-width"
|
|
274
|
-
})],
|
|
286
|
+
})], E.prototype, "maxWidth", void 0), r([o({
|
|
275
287
|
type: String,
|
|
276
288
|
reflect: !0,
|
|
277
289
|
attribute: "min-height"
|
|
278
|
-
})],
|
|
290
|
+
})], E.prototype, "minHeight", void 0), r([o({
|
|
279
291
|
reflect: !0,
|
|
280
292
|
attribute: "horizontal-alignment",
|
|
281
|
-
converter:
|
|
282
|
-
})],
|
|
293
|
+
converter: f("left")
|
|
294
|
+
})], E.prototype, "horizontalAlignment", void 0), r([o({
|
|
283
295
|
reflect: !0,
|
|
284
296
|
attribute: "vertical-alignment",
|
|
285
|
-
converter:
|
|
286
|
-
})],
|
|
297
|
+
converter: f("center")
|
|
298
|
+
})], E.prototype, "verticalAlignment", void 0), r([o({
|
|
287
299
|
reflect: !0,
|
|
288
|
-
converter:
|
|
289
|
-
})],
|
|
300
|
+
converter: f("")
|
|
301
|
+
})], E.prototype, "text", void 0), r([o({
|
|
290
302
|
reflect: !0,
|
|
291
303
|
attribute: "supporting-text",
|
|
292
|
-
converter:
|
|
293
|
-
})],
|
|
304
|
+
converter: f("")
|
|
305
|
+
})], E.prototype, "supportingText", void 0), r([o({
|
|
294
306
|
reflect: !0,
|
|
295
|
-
converter:
|
|
296
|
-
})],
|
|
307
|
+
converter: f("")
|
|
308
|
+
})], E.prototype, "overline", void 0), r([o({
|
|
297
309
|
reflect: !0,
|
|
298
|
-
converter:
|
|
299
|
-
})],
|
|
310
|
+
converter: f("")
|
|
311
|
+
})], E.prototype, "query", void 0), r([o({
|
|
300
312
|
type: String,
|
|
301
313
|
attribute: "query-mark-mode"
|
|
302
|
-
})],
|
|
303
|
-
export {
|
|
314
|
+
})], E.prototype, "queryMarkMode", void 0), r([a()], E.prototype, "_hasOverlineSlotted", void 0), r([a()], E.prototype, "_hasDefaultSlotted", void 0), r([a()], E.prototype, "_hasSupportingTextSlotted", void 0), E = r([s("nldd-text-cell")], E);
|
|
315
|
+
export { w as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { $ as e, A as t, D as n, F as r, H as i, I as a, J as o, K as s, L as c, M as l, N as u, O as d, P as f, Q as p, V as m, Z as h, et as g, it as _, lt as ee, n as te, nt as v, ot as y, q as ne, r as re, st as b } from "./languages-
|
|
2
|
-
import {
|
|
1
|
+
import { $ as e, A as t, D as n, F as r, H as i, I as a, J as o, K as s, L as c, M as l, N as u, O as d, P as f, Q as p, V as m, Z as h, et as g, it as _, lt as ee, n as te, nt as v, ot as y, q as ne, r as re, st as b } from "./languages-DGZO3jTf.js";
|
|
2
|
+
import { a as ie, r as x } from "./custom-element-DGlHv_OV.js";
|
|
3
3
|
import { t as ae } from "./reflect-non-default-Bu3rpCvg.js";
|
|
4
|
-
import { a as oe, c as se, d as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he, u as ge } from "./codemirror-input-
|
|
5
|
-
import { n as _e, r as ve } from "./dist-
|
|
4
|
+
import { a as oe, c as se, d as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he, u as ge } from "./codemirror-input-CtvDBy25.js";
|
|
5
|
+
import { n as _e, r as ve } from "./dist-CX0g6sV1.js";
|
|
6
6
|
import { t as ye } from "./custom-element-BW8Ua4c7.js";
|
|
7
7
|
import { t as be } from "./query-ChDzi9FQ.js";
|
|
8
|
-
import "./icon-
|
|
9
|
-
import { a as xe, c as Se, i as Ce, n as we } from "./dist-
|
|
10
|
-
import "./avatar-
|
|
11
|
-
import { o as Te, t as S } from "./decorate-
|
|
12
|
-
import { t as Ee } from "./shadow-resets-
|
|
8
|
+
import "./icon-BydOAoVO.js";
|
|
9
|
+
import { a as xe, c as Se, i as Ce, n as we } from "./dist-BLnIbkqH.js";
|
|
10
|
+
import "./avatar-CHXRpWWk.js";
|
|
11
|
+
import { o as Te, t as S } from "./decorate-Czy-wI4F.js";
|
|
12
|
+
import { t as Ee } from "./shadow-resets-CodxnaUh.js";
|
|
13
13
|
import { t as De } from "./text-editor.i18n-sJKiRQ4i.js";
|
|
14
|
-
import { t as Oe } from "./translations-
|
|
14
|
+
import { t as Oe } from "./translations-BWgmZCAK.js";
|
|
15
15
|
import { r as ke } from "./element-state-B-44fVqq.js";
|
|
16
16
|
// src/components/inputs/text-editor/text-editor.labels.ts
|
|
17
17
|
var Ae = y.define();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i, n as a,
|
|
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, r as o } from "./custom-element-DGlHv_OV.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
6
|
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import "./icon-
|
|
10
|
-
import { t as p } from "./described-by-mixin-
|
|
8
|
+
import { t as f } from "./shadow-resets-CodxnaUh.js";
|
|
9
|
+
import "./icon-BydOAoVO.js";
|
|
10
|
+
import { t as p } from "./described-by-mixin-fLi4Nmt7.js";
|
|
11
11
|
import { r as m } from "./element-state-B-44fVqq.js";
|
|
12
12
|
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
// src/components/inputs/text-field/text-field.styles.ts
|
|
@@ -350,57 +350,57 @@ var y, b = [
|
|
|
350
350
|
...e.shadowRootOptions,
|
|
351
351
|
delegatesFocus: !0
|
|
352
352
|
}, y.styles = g, y.isFormInput = !0, y.blocksImplicitSubmission = !0, y);
|
|
353
|
-
r([
|
|
353
|
+
r([o({
|
|
354
354
|
reflect: !0,
|
|
355
355
|
converter: d("md")
|
|
356
|
-
})], C.prototype, "size", void 0), r([
|
|
356
|
+
})], C.prototype, "size", void 0), r([o({ type: String })], C.prototype, "value", void 0), r([o({
|
|
357
357
|
type: String,
|
|
358
358
|
attribute: "input-id"
|
|
359
|
-
})], C.prototype, "inputId", void 0), r([
|
|
359
|
+
})], C.prototype, "inputId", void 0), r([o({
|
|
360
360
|
reflect: !0,
|
|
361
361
|
converter: d("")
|
|
362
|
-
})], C.prototype, "placeholder", void 0), r([
|
|
362
|
+
})], C.prototype, "placeholder", void 0), r([o({
|
|
363
363
|
type: Boolean,
|
|
364
364
|
reflect: !0
|
|
365
|
-
})], C.prototype, "invalid", void 0), r([
|
|
365
|
+
})], C.prototype, "invalid", void 0), r([o({
|
|
366
366
|
type: Boolean,
|
|
367
367
|
reflect: !0
|
|
368
|
-
})], C.prototype, "valid", void 0), r([
|
|
368
|
+
})], C.prototype, "valid", void 0), r([o({
|
|
369
369
|
type: Boolean,
|
|
370
370
|
reflect: !0
|
|
371
|
-
})], C.prototype, "disabled", void 0), r([
|
|
371
|
+
})], C.prototype, "disabled", void 0), r([o({ type: String })], C.prototype, "type", void 0), r([o({
|
|
372
372
|
type: String,
|
|
373
373
|
reflect: !0
|
|
374
|
-
})], C.prototype, "keyboard", void 0), r([
|
|
374
|
+
})], C.prototype, "keyboard", void 0), r([o({
|
|
375
375
|
type: String,
|
|
376
376
|
reflect: !0,
|
|
377
377
|
attribute: "enter-key"
|
|
378
|
-
})], C.prototype, "enterKey", void 0), r([
|
|
378
|
+
})], C.prototype, "enterKey", void 0), r([o({
|
|
379
379
|
reflect: !0,
|
|
380
380
|
converter: d("")
|
|
381
|
-
})], C.prototype, "name", void 0), r([
|
|
381
|
+
})], C.prototype, "name", void 0), r([o({
|
|
382
382
|
type: Boolean,
|
|
383
383
|
reflect: !0
|
|
384
|
-
})], C.prototype, "readonly", void 0), r([
|
|
384
|
+
})], C.prototype, "readonly", void 0), r([o({
|
|
385
385
|
type: Boolean,
|
|
386
386
|
reflect: !0
|
|
387
|
-
})], C.prototype, "required", void 0), r([
|
|
387
|
+
})], C.prototype, "required", void 0), r([o({ type: String })], C.prototype, "autocomplete", void 0), r([o({
|
|
388
388
|
type: String,
|
|
389
389
|
attribute: "accessible-label"
|
|
390
|
-
})], C.prototype, "accessibleLabel", void 0), r([
|
|
390
|
+
})], C.prototype, "accessibleLabel", void 0), r([o({
|
|
391
391
|
type: Boolean,
|
|
392
392
|
reflect: !0,
|
|
393
393
|
attribute: "no-spellcheck"
|
|
394
|
-
})], C.prototype, "noSpellcheck", void 0), r([
|
|
394
|
+
})], C.prototype, "noSpellcheck", void 0), r([o({
|
|
395
395
|
reflect: !0,
|
|
396
396
|
converter: d("")
|
|
397
|
-
})], C.prototype, "width", void 0), r([c(".text-field__input")], C.prototype, "_input", void 0), r([
|
|
397
|
+
})], C.prototype, "width", void 0), r([c(".text-field__input")], C.prototype, "_input", void 0), r([a()], C.prototype, "_hasButton", void 0), r([o({
|
|
398
398
|
reflect: !0,
|
|
399
399
|
converter: d("")
|
|
400
|
-
})], C.prototype, "pattern", void 0), r([
|
|
400
|
+
})], C.prototype, "pattern", void 0), r([o({
|
|
401
401
|
type: Number,
|
|
402
402
|
reflect: !0
|
|
403
|
-
})], C.prototype, "minlength", void 0), r([
|
|
403
|
+
})], C.prototype, "minlength", void 0), r([o({
|
|
404
404
|
type: Number,
|
|
405
405
|
reflect: !0
|
|
406
406
|
})], C.prototype, "maxlength", void 0), C = r([s("nldd-text-field")], C);
|