@nldd/design-system 0.22.0 → 0.23.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/README.md +5 -3
- package/custom-elements.json +194 -185
- package/dist/assets/styles/shadow-resets.d.ts +19 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +35 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +136 -136
- package/dist/cdn/chunks/{activity-indicator-BTnpfsIt.js → activity-indicator-D86Mv6SL.js} +8 -7
- package/dist/cdn/chunks/{avatar--5c37XVW.js → avatar-BISv6tzp.js} +20 -19
- package/dist/cdn/chunks/{avatar-group-BNfmY5CU.js → avatar-group-D7IN6DxU.js} +17 -16
- package/dist/cdn/chunks/{badge-YAvIVoRy.js → badge-R3PZUsqZ.js} +13 -10
- package/dist/cdn/chunks/{banner-BpCK57yd.js → banner-DRANlf5k.js} +9 -7
- package/dist/cdn/chunks/{bar-split-view-BgYo4YJw.js → bar-split-view-B-Y2nqgS.js} +27 -24
- package/dist/cdn/chunks/{blockquote-BOu-31f3.js → blockquote-pUgJLPY1.js} +4 -3
- package/dist/cdn/chunks/{box-YipFNjJh.js → box-BbXHpBQy.js} +12 -10
- package/dist/cdn/chunks/{breadcrumbs-DSVAVozW.js → breadcrumbs-BdF4m3DB.js} +13 -8
- package/dist/cdn/chunks/{button-XtEOeBEq.js → button-CsqNHH3w.js} +48 -35
- package/dist/cdn/chunks/{button-bar-D1i71rRQ.js → button-bar-CnYIw4fN.js} +15 -11
- package/dist/cdn/chunks/{button-group-un5QDbqK.js → button-group-xaHghyon.js} +2 -2
- package/dist/cdn/chunks/{card-D5yTAdts.js → card-Bbf0aCIh.js} +24 -22
- package/dist/cdn/chunks/{cell-BbtB9C2Z.js → cell-Dggt5oYG.js} +6 -6
- package/dist/cdn/chunks/{checkbox-oYX8b8iy.js → checkbox-DmFAS8ec.js} +25 -20
- package/dist/cdn/chunks/{checkbox-field-Cmc6Aagc.js → checkbox-field-fOWPH8Q7.js} +9 -7
- package/dist/cdn/chunks/{class-map-DKd4N9Wz.js → class-map-BWGTUNv4.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BZwpTu4O.js → code-editor-CANFZX66.js} +7 -6
- package/dist/cdn/chunks/{code-viewer-C4XDF03i.js → code-viewer-C_vUEx7J.js} +136 -99
- package/dist/cdn/chunks/{codemirror-input-Sen5OmAF.js → codemirror-input-wexTiqWw.js} +4 -4
- package/dist/cdn/chunks/{collection-BnZstW7U.js → collection-_emTry5U.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BpaGeypm.js → combo-box-CGwj1u4a.js} +17 -8
- package/dist/cdn/chunks/{container-DuV5d7Eb.js → container-D5Dz-j6a.js} +14 -6
- package/dist/cdn/chunks/{custom-element-DsfOrnOD.js → custom-element-DbwbPetH.js} +1 -1
- package/dist/cdn/chunks/{date-field-FactdbhC.js → date-field-ChmyLtTj.js} +21 -11
- package/dist/cdn/chunks/{date-picker-BtlBTKvh.js → date-picker-CUQKdjS4.js} +18 -10
- package/dist/cdn/chunks/{decorate-CJCfz_g6.js → decorate-_JGq4E_7.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-CPultP0p.js → described-by-mixin-DbnuGktP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DFc0_dWI.js → description-cell-BgcO7ObI.js} +9 -8
- package/dist/cdn/chunks/{dev-checks-DGwOQoR3.js → dev-checks-KAnKlxY0.js} +115 -57
- package/dist/cdn/chunks/{dist-ClsiJytN.js → dist-BF9euKgj.js} +2 -2
- package/dist/cdn/chunks/{dist-D-9cbJjq.js → dist-BHMubC6P.js} +3 -3
- package/dist/cdn/chunks/{dist-CxdoWiwX.js → dist-BJrN5nEM.js} +1 -1
- package/dist/cdn/chunks/{dist-CtdONv3x.js → dist-Bz3Isx60.js} +1 -1
- package/dist/cdn/chunks/{dist-BuquxOFD.js → dist-CBnQQ6kV.js} +2 -2
- package/dist/cdn/chunks/{dist-CM5DHMaz.js → dist-CJLBwJx0.js} +1 -1
- package/dist/cdn/chunks/{dist-BUqkX3a-.js → dist-CKZ98PMy.js} +3 -3
- package/dist/cdn/chunks/{dist-6xUfJUfa.js → dist-CLKJ5z0x.js} +1 -1
- package/dist/cdn/chunks/{dist-AQ1Gehx3.js → dist-D7Wubc1l.js} +1 -1
- package/dist/cdn/chunks/{dist-BWSiWu4t.js → dist-DADIyiX-.js} +2 -2
- package/dist/cdn/chunks/{dist-Bmb_H8Sp.js → dist-HgRt6IKh.js} +1 -1
- package/dist/cdn/chunks/{divider-CZ8Hn1om.js → divider-pO5O6wL4.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-BBnyyiEA.js → document-tab-bar-C_-iuaUc.js} +27 -13
- package/dist/cdn/chunks/{dropdown-Bbbgy8mT.js → dropdown-DYO6049g.js} +10 -5
- package/dist/cdn/chunks/{file-field-CddG_e0F.js → file-field-C-Fk92rD.js} +30 -12
- package/dist/cdn/chunks/{form-DIIMIq0q.js → form-ChXBrKw6.js} +1 -1
- package/dist/cdn/chunks/{form-actions-BICy0Sgp.js → form-actions-DrOX7nX8.js} +2 -2
- package/dist/cdn/chunks/{form-field-Bnei2EQO.js → form-field-CR2Py09O.js} +15 -8
- package/dist/cdn/chunks/{form-section-Cv0tr0pm.js → form-section-s1mkLzaC.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-LOfo_1Aj.js → full-bleed-section-vOVI_f86.js} +3 -3
- package/dist/cdn/chunks/{hero-BABWpYs5.js → hero-Cb3qIvvh.js} +106 -97
- package/dist/cdn/chunks/{icon-D5dJm51v.js → icon-DBhTZrnl.js} +52 -29
- package/dist/cdn/chunks/{icon-button-DtxIRaQy.js → icon-button-bDuQ_6W_.js} +37 -28
- package/dist/cdn/chunks/{icon-cell-Be5awZV7.js → icon-cell-DlSZNTF3.js} +11 -11
- package/dist/cdn/chunks/{identity-B4KtbT8h.js → identity-CJTVNI9J.js} +7 -5
- package/dist/cdn/chunks/{if-defined-BirFs11D.js → if-defined-28B8DYUB.js} +1 -1
- package/dist/cdn/chunks/{image-BpVEir6U.js → image-DlTxyeL3.js} +44 -34
- package/dist/cdn/chunks/{inline-dialog-B627fZmT.js → inline-dialog-BJlOrD6M.js} +9 -6
- package/dist/cdn/chunks/{just-in-time-education-Nw5ido3N.js → just-in-time-education-DWBDshKs.js} +8 -5
- package/dist/cdn/chunks/{kanban-9HGexCJx.js → kanban-DIXY8FcZ.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-v5rfv8fN.js → kanban-column-DmnxctX6.js} +6 -4
- package/dist/cdn/chunks/{keyboard-shortcut-CVNilmgr.js → keyboard-shortcut-kYOKwBqs.js} +8 -6
- package/dist/cdn/chunks/{languages-Ce4h7R1-.js → languages-DGtcUhLc.js} +12 -12
- package/dist/cdn/chunks/{link-BQQwp17j.js → link-DhnhhTOg.js} +11 -8
- package/dist/cdn/chunks/{link-group-CQhEcQIV.js → link-group-Bx2nkQcS.js} +2 -2
- package/dist/cdn/chunks/{list-DDxjOe38.js → list-CXCG_IEc.js} +48 -13
- package/dist/cdn/chunks/{list-item-Da6-fFDs.js → list-item-CSNBaRlK.js} +110 -103
- package/dist/cdn/chunks/{list-item-segment-CnGHU6G-.js → list-item-segment-D6WvAh3A.js} +14 -12
- package/dist/cdn/chunks/{menu-uOExHS1i.js → menu-CKxKVA36.js} +13 -13
- package/dist/cdn/chunks/{menu-bar-item-BuZ-VvnR.js → menu-bar-item-C950rfSt.js} +7 -6
- package/dist/cdn/chunks/{menu-bar-MPNB2ovW.js → menu-bar-xahTEYTX.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-CcOTQxx5.js → menu-divider-XlYJ4zQz.js} +3 -3
- package/dist/cdn/chunks/{menu-group-DGgbYejF.js → menu-group-E6hIEtLj.js} +4 -4
- package/dist/cdn/chunks/{menu-item-DgM4RmyD.js → menu-item-2y0VC5Gb.js} +32 -30
- package/dist/cdn/chunks/menu-item.i18n-CKUJBOeE.js +7 -0
- package/dist/cdn/chunks/{menu.template-DkbfQRQ6.js → menu.template-ZBhUFgBJ.js} +55 -34
- package/dist/cdn/chunks/{modal-dialog-BRYfJ7Vf.js → modal-dialog-DdFpcRLJ.js} +27 -26
- package/dist/cdn/chunks/{multi-line-text-field-CWOPY6sF.js → multi-line-text-field-okvEa54Q.js} +9 -5
- package/dist/cdn/chunks/{navigation-split-view-BRiplUXM.js → navigation-split-view-dNRQDSpy.js} +50 -69
- package/dist/cdn/chunks/{nl.generated-fkFCex7n.js → nl.generated-Bo4bmwYF.js} +5 -3
- package/dist/cdn/chunks/{notification-DhnzrUQp.js → notification-2tnwXEY1.js} +9 -6
- package/dist/cdn/chunks/{number-field-DgRrXCiv.js → number-field-CH7EvpSq.js} +13 -7
- package/dist/cdn/chunks/{one-half-one-half-section-D7tzDw-p.js → one-half-one-half-section-UZDP-KO-.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-E8xOdcsf.js → one-third-two-thirds-section-8KtESdXO.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BoJdVvNN.js → one-time-code-field-Bvm3ND6e.js} +10 -6
- package/dist/cdn/chunks/{page-DDm193hL.js → page-PK1FWuKJ.js} +35 -32
- package/dist/cdn/chunks/{page-footer-32oZSwvG.js → page-footer-BamWKHwH.js} +45 -42
- package/dist/cdn/chunks/{page-section-mixin-CmsW9L1S.js → page-section-mixin-3q59_Jo_.js} +39 -35
- package/dist/cdn/chunks/{pagination-Co1BlFTP.js → pagination-47zAyQhM.js} +13 -6
- package/dist/cdn/chunks/{password-field-BxKQRE4K.js → password-field-FaU02DSW.js} +11 -7
- package/dist/cdn/chunks/{popover-DpCE_XjR.js → popover-642mOFR5.js} +44 -42
- package/dist/cdn/chunks/{progress-bar-5WAVf0HV.js → progress-bar-BivaNkIY.js} +11 -9
- package/dist/cdn/chunks/{progress-circle-D7Mn6WZv.js → progress-circle-ewL0JIcz.js} +9 -7
- package/dist/cdn/chunks/{radio-button-pd8lwtEO.js → radio-button-DvrYYSnm.js} +16 -16
- package/dist/cdn/chunks/{radio-button-field-Dxnahic-.js → radio-button-field-BVi0YrTF.js} +9 -7
- package/dist/cdn/chunks/{radio-button-group-D_4lI2U-.js → radio-button-group-DZ9OWUNe.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CAskRZMx.js → render-marked-CO31_4GS.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BL8ECfi5.js → reorder-handle-cell-Doetg58W.js} +5 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-BDRPLv58.js → reorder-handle-mixin-DCjwUXr0.js} +2 -2
- package/dist/cdn/chunks/{repeat-D5W3dDCY.js → repeat-Wb4hkVZc.js} +1 -1
- package/dist/cdn/chunks/{rich-text-diNxNddp.js → rich-text-Do08iiIz.js} +4 -7
- package/dist/cdn/chunks/{row-header-mixin-Dj6t4nYI.js → row-header-mixin-CKR5rHBA.js} +2 -2
- package/dist/cdn/chunks/{search-field-CLuQnvBU.js → search-field-CCeeGiJM.js} +17 -9
- package/dist/cdn/chunks/{segmented-control-B0z5J7r9.js → segmented-control-CWIPxEBq.js} +12 -6
- package/dist/cdn/chunks/shadow-resets-NKr5gQCc.js +28 -0
- package/dist/cdn/chunks/{sheet-CKfFzUCu.js → sheet-WOjBtZvN.js} +38 -36
- package/dist/cdn/chunks/{shell-CglPjEWB.js → shell-Brn0Dr8F.js} +24 -21
- package/dist/cdn/chunks/{side-by-side-split-view-DU4ODEBX.js → side-by-side-split-view-DGIMsyma.js} +22 -19
- package/dist/cdn/chunks/{sidebar-section-DzJw-MHs.js → sidebar-section-BXHeI8GN.js} +23 -18
- package/dist/cdn/chunks/{simple-section-BfhBYqMa.js → simple-section-C8lJZLAO.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DwVvD9XL.js → skip-link-QdRgHljr.js} +5 -4
- package/dist/cdn/chunks/{slider-BBxKxr-H.js → slider-BhjBeWqc.js} +11 -9
- package/dist/cdn/chunks/{spacer-CqK1xVh2.js → spacer-BgkOjuUj.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DS7Tphdm.js → spacer-cell-DBI0PVd7.js} +4 -4
- package/dist/cdn/chunks/{split-button-Brh7EmIA.js → split-button-DfD9vxPe.js} +19 -15
- package/dist/cdn/chunks/{split-view-divider-Bh3XLobi.js → split-view-divider-B4NFlri5.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-BPKlAR4d.js → split-view-pane-CwFf13hX.js} +23 -20
- package/dist/cdn/chunks/{stacked-split-view-SrIHWkKW.js → stacked-split-view-BmbzTinq.js} +22 -19
- package/dist/cdn/chunks/{static-html-OvWm15yg.js → static-html-CZrcQRgC.js} +1 -1
- package/dist/cdn/chunks/{status-bar-IqyLnoMx.js → status-bar-CTOf_bDL.js} +5 -4
- package/dist/cdn/chunks/{step-bar-DltkU-AG.js → step-bar-B5vzvhz-.js} +13 -6
- package/dist/cdn/chunks/{step-cell-BHW3t6nn.js → step-cell-CUA-HUZv.js} +9 -6
- package/dist/cdn/chunks/{stepper-DMlk7A-Y.js → stepper-LxPTQ6HJ.js} +6 -6
- package/dist/cdn/chunks/{style-map-CNYX1L3t.js → style-map-DiIQAb_L.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BAKkJFgt.js → swatch-picker-Cxv9HK3A.js} +6 -5
- package/dist/cdn/chunks/{switch-B3d_1Leh.js → switch-CbNSJQPp.js} +11 -10
- package/dist/cdn/chunks/{switch-field-BXJj1PHC.js → switch-field-B8vOvcKc.js} +9 -7
- package/dist/cdn/chunks/{tab-bar-C7T0XL0u.js → tab-bar-D4ot_wZ4.js} +14 -8
- package/dist/cdn/chunks/{table-CVyPmXfX.js → table-uh4YPqda.js} +5 -5
- package/dist/cdn/chunks/{tag-KdbJbRcK.js → tag-D2dCXT7A.js} +5 -4
- package/dist/cdn/chunks/{text-lQLJJw1m.js → text-BX4Xm40t.js} +19 -34
- package/dist/cdn/chunks/{text-cell-CUH5Tf5F.js → text-cell-DNCpmw9h.js} +21 -18
- package/dist/cdn/chunks/{text-editor-Bsfygq28.js → text-editor-C6UKAmPL.js} +37 -11
- package/dist/cdn/chunks/{text-field-BQxQe0ch.js → text-field-Dmkd4mHV.js} +14 -5
- package/dist/cdn/chunks/{time-field-kdMQ7qaa.js → time-field-BfgNZbEb.js} +17 -13
- package/dist/cdn/chunks/{time-picker-T1bZ4zxP.js → time-picker-C1SBkU-e.js} +10 -5
- package/dist/cdn/chunks/{title-yXmufzsm.js → title-DFrd-Fsh.js} +15 -34
- package/dist/cdn/chunks/{title-cell-CyJr9OiV.js → title-cell-CC1dQyth.js} +22 -19
- package/dist/cdn/chunks/{toggle-button-DiZaFEAk.js → toggle-button-bAX6uzgz.js} +13 -7
- package/dist/cdn/chunks/{toggle-button-group-DRai7q0C.js → toggle-button-group-B7CHBww5.js} +2 -2
- package/dist/cdn/chunks/{token-C6EudIjw.js → token-CicHNqIk.js} +9 -7
- package/dist/cdn/chunks/{token-field-OCw3wLIW.js → token-field-BFynQ-T-.js} +19 -11
- package/dist/cdn/chunks/{toolbar-K5UY_y15.js → toolbar-hAmL7o23.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-CI3OVQuq.js → toolbar-item-CjgkcYJ2.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-xvfrEhvQ.js → toolbar-title-B1acxCGx.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BBj5j7Iq.js → toolbar.styles-xiyZx5D0.js} +7 -3
- package/dist/cdn/chunks/{tooltip-B6XDYQNn.js → tooltip-Mj47t8v7.js} +49 -36
- package/dist/cdn/chunks/{top-navigation-bar-D7JkgCQi.js → top-navigation-bar-vP5QGBXd.js} +19 -17
- package/dist/cdn/chunks/{top-title-bar-BMSTl1Z7.js → top-title-bar-Yt6cmRLj.js} +8 -6
- package/dist/cdn/chunks/translations-BMMzf2sX.js +14 -0
- package/dist/cdn/chunks/{two-thirds-one-third-section-Cc1Mh9TT.js → two-thirds-one-third-section-BHN98jET.js} +3 -3
- package/dist/cdn/chunks/{validation-list-xF6yTpz8.js → validation-list-CUPzu9_z.js} +4 -3
- package/dist/cdn/chunks/{visibility-mixin-LkgEnUqn.js → visibility-mixin-DPuxf-sj.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CMo9yGtA.js → visually-hidden-CvjJIBhz.js} +2 -2
- package/dist/cdn/chunks/{window-CclQ8SHn.js → window-BqGlzGaS.js} +40 -39
- package/dist/cdn/chunks/{with-translations-DdCPcavT.js → with-translations-CRvWJWep.js} +3 -3
- package/dist/components/actions/button/button.d.ts +2 -2
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +39 -26
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +1 -1
- package/dist/components/actions/button-bar/button-bar.js +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +12 -8
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -2
- package/dist/components/actions/icon-button/icon-button.js +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +29 -20
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +15 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.i18n.d.ts +7 -0
- package/dist/components/actions/menu/menu-item.i18n.d.ts.map +1 -0
- package/dist/components/actions/menu/menu-item.i18n.js +6 -0
- package/dist/components/actions/menu/menu-item.i18n.js.map +1 -0
- package/dist/components/actions/menu/menu-item.js +14 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +18 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +8 -2
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +2 -2
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +12 -8
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +4 -0
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +7 -5
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +7 -5
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +13 -12
- package/dist/components/content/avatar/avatar.styles.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +2 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +16 -1
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +37 -8
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +17 -15
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +19 -17
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +47 -24
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +2 -0
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +33 -23
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +6 -8
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +5 -5
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +4 -4
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +0 -7
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +0 -10
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +1 -0
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +17 -32
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +0 -6
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +0 -8
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +10 -26
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/token/token.styles.d.ts.map +1 -1
- package/dist/components/content/token/token.styles.js +4 -2
- package/dist/components/content/token/token.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +18 -5
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +10 -3
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +1 -0
- package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +3 -3
- package/dist/components/inputs/checkbox/checkbox.js +2 -2
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +23 -18
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +3 -3
- package/dist/components/inputs/checkbox-field/checkbox-field.js +2 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +9 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +10 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +8 -0
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +5 -0
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +18 -0
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +4 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +6 -0
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +4 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +3 -3
- package/dist/components/inputs/radio-button/radio-button.js +2 -2
- package/dist/components/inputs/radio-button/radio-button.styles.js +13 -13
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +3 -3
- package/dist/components/inputs/radio-button-field/radio-button-field.js +2 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +8 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +6 -0
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +3 -1
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +3 -3
- package/dist/components/inputs/switch/switch.js +2 -2
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +7 -6
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -3
- package/dist/components/inputs/switch-field/switch-field.js +2 -2
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -2
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +6 -0
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +3 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +26 -0
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +9 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +4 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +5 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +6 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +9 -1
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +3 -1
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +5 -3
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +7 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +30 -0
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.js +2 -0
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +8 -5
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +5 -2
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +3 -4
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +3 -4
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +14 -5
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +2 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +21 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +3 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +3 -1
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/shell/shell.d.ts +1 -1
- package/dist/components/layout/shell/shell.js +1 -1
- package/dist/components/layout/shell/shell.styles.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.styles.js +6 -3
- package/dist/components/layout/shell/shell.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +0 -28
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +10 -57
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +8 -5
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -2
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +6 -6
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +5 -3
- 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 +5 -3
- 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 +14 -11
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.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 +14 -11
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +40 -5
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +27 -20
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +11 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +8 -3
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +18 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +6 -3
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +1 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +7 -0
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +1 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +6 -0
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +2 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +4 -6
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -6
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +3 -2
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
- package/dist/components/status-and-feedback/badge/badge.js +3 -3
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +7 -4
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +2 -0
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +3 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +3 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +3 -2
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +3 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +1 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +8 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/form-section.css +2 -0
- package/dist/css/rich-text.css +14 -38
- package/dist/css/title.css +7 -15
- package/dist/css/variables.css +41 -24
- package/dist/nldd.min.js +1597 -1148
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +3 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +3 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +3 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +3 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +3 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +44 -40
- package/dist/types/vue.d.ts +50 -46
- package/dist/utilities/dev-checks.d.ts +5 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +14 -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 +89 -39
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +2 -2
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +10 -6
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/translations.d.ts.map +1 -1
- package/dist/utilities/translations.js +9 -0
- package/dist/utilities/translations.js.map +1 -1
- package/lint/css.js +224 -0
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +5 -2
- package/lint/frontends.js +67 -42
- package/lint/linter.js +188 -7
- package/lint/main.js +20 -7
- package/lint/project.js +2 -2
- package/lint/rule-data.js +20 -0
- package/package.json +1 -1
- package/dist/cdn/chunks/shadow-resets-BeVmf7ky.js +0 -12
- package/dist/cdn/chunks/translations-wxBSz213.js +0 -8
|
@@ -26,6 +26,13 @@ export const imageStyles = css `
|
|
|
26
26
|
--_image-empty-icon-color: light-dark(var(--primitives-color-neutral-450), var(--primitives-color-neutral-550));
|
|
27
27
|
--_image-object-fit: cover;
|
|
28
28
|
--_image-object-position: center;
|
|
29
|
+
--_image-lqip-base: 0;
|
|
30
|
+
--_image-lqip-c1: 0;
|
|
31
|
+
--_image-lqip-c2: 0;
|
|
32
|
+
--_image-lqip-c3: 0;
|
|
33
|
+
--_image-lqip-c4: 0;
|
|
34
|
+
--_image-lqip-c5: 0;
|
|
35
|
+
--_image-lqip-c6: 0;
|
|
29
36
|
--_image-media-height: var(--context-image-height, auto);
|
|
30
37
|
|
|
31
38
|
${inheritedTextReset}
|
|
@@ -148,8 +155,7 @@ export const imageStyles = css `
|
|
|
148
155
|
(https://leanrada.com/notes/css-only-lqip/) with one quantized
|
|
149
156
|
color per cell instead of grayscale-only cells. The component
|
|
150
157
|
parses lqip="base,c1,c2,c3,c4,c5,c6" and forwards each byte as an
|
|
151
|
-
inline --
|
|
152
|
-
hence the --context-* prefix, not --_).
|
|
158
|
+
inline --_image-lqip-* variable on the media wrapper.
|
|
153
159
|
Each byte packs 2 bits L + 3 bits a + 3 bits b — the same format
|
|
154
160
|
Lean uses for his single base color, applied 7 times. The base
|
|
155
161
|
shows through cell-gradient transparent edges; the six cells carry
|
|
@@ -172,27 +178,27 @@ export const imageStyles = css `
|
|
|
172
178
|
@supports (left: mod(1px, 1px)) and (background: oklab(0 0 0)) and (color: rgb(from red r g b)) {
|
|
173
179
|
|
|
174
180
|
.image__media--lqip {
|
|
175
|
-
--_image-lqip-base-ll: mod(round(down, var(--
|
|
176
|
-
--_image-lqip-base-aaa: mod(round(down, var(--
|
|
177
|
-
--_image-lqip-base-bbb: mod(var(--
|
|
178
|
-
--_image-lqip-c1-ll: mod(round(down, var(--
|
|
179
|
-
--_image-lqip-c1-aaa: mod(round(down, var(--
|
|
180
|
-
--_image-lqip-c1-bbb: mod(var(--
|
|
181
|
-
--_image-lqip-c2-ll: mod(round(down, var(--
|
|
182
|
-
--_image-lqip-c2-aaa: mod(round(down, var(--
|
|
183
|
-
--_image-lqip-c2-bbb: mod(var(--
|
|
184
|
-
--_image-lqip-c3-ll: mod(round(down, var(--
|
|
185
|
-
--_image-lqip-c3-aaa: mod(round(down, var(--
|
|
186
|
-
--_image-lqip-c3-bbb: mod(var(--
|
|
187
|
-
--_image-lqip-c4-ll: mod(round(down, var(--
|
|
188
|
-
--_image-lqip-c4-aaa: mod(round(down, var(--
|
|
189
|
-
--_image-lqip-c4-bbb: mod(var(--
|
|
190
|
-
--_image-lqip-c5-ll: mod(round(down, var(--
|
|
191
|
-
--_image-lqip-c5-aaa: mod(round(down, var(--
|
|
192
|
-
--_image-lqip-c5-bbb: mod(var(--
|
|
193
|
-
--_image-lqip-c6-ll: mod(round(down, var(--
|
|
194
|
-
--_image-lqip-c6-aaa: mod(round(down, var(--
|
|
195
|
-
--_image-lqip-c6-bbb: mod(var(--
|
|
181
|
+
--_image-lqip-base-ll: mod(round(down, var(--_image-lqip-base) / 64), 4);
|
|
182
|
+
--_image-lqip-base-aaa: mod(round(down, var(--_image-lqip-base) / 8), 8);
|
|
183
|
+
--_image-lqip-base-bbb: mod(var(--_image-lqip-base), 8);
|
|
184
|
+
--_image-lqip-c1-ll: mod(round(down, var(--_image-lqip-c1) / 64), 4);
|
|
185
|
+
--_image-lqip-c1-aaa: mod(round(down, var(--_image-lqip-c1) / 8), 8);
|
|
186
|
+
--_image-lqip-c1-bbb: mod(var(--_image-lqip-c1), 8);
|
|
187
|
+
--_image-lqip-c2-ll: mod(round(down, var(--_image-lqip-c2) / 64), 4);
|
|
188
|
+
--_image-lqip-c2-aaa: mod(round(down, var(--_image-lqip-c2) / 8), 8);
|
|
189
|
+
--_image-lqip-c2-bbb: mod(var(--_image-lqip-c2), 8);
|
|
190
|
+
--_image-lqip-c3-ll: mod(round(down, var(--_image-lqip-c3) / 64), 4);
|
|
191
|
+
--_image-lqip-c3-aaa: mod(round(down, var(--_image-lqip-c3) / 8), 8);
|
|
192
|
+
--_image-lqip-c3-bbb: mod(var(--_image-lqip-c3), 8);
|
|
193
|
+
--_image-lqip-c4-ll: mod(round(down, var(--_image-lqip-c4) / 64), 4);
|
|
194
|
+
--_image-lqip-c4-aaa: mod(round(down, var(--_image-lqip-c4) / 8), 8);
|
|
195
|
+
--_image-lqip-c4-bbb: mod(var(--_image-lqip-c4), 8);
|
|
196
|
+
--_image-lqip-c5-ll: mod(round(down, var(--_image-lqip-c5) / 64), 4);
|
|
197
|
+
--_image-lqip-c5-aaa: mod(round(down, var(--_image-lqip-c5) / 8), 8);
|
|
198
|
+
--_image-lqip-c5-bbb: mod(var(--_image-lqip-c5), 8);
|
|
199
|
+
--_image-lqip-c6-ll: mod(round(down, var(--_image-lqip-c6) / 64), 4);
|
|
200
|
+
--_image-lqip-c6-aaa: mod(round(down, var(--_image-lqip-c6) / 8), 8);
|
|
201
|
+
--_image-lqip-c6-bbb: mod(var(--_image-lqip-c6), 8);
|
|
196
202
|
|
|
197
203
|
--_image-lqip-base-clr: oklab(
|
|
198
204
|
calc(var(--_image-lqip-base-ll) / 3 * 0.6 + 0.2)
|
|
@@ -383,6 +389,7 @@ export const imageStyles = css `
|
|
|
383
389
|
display: block;
|
|
384
390
|
width: var(--_image-empty-icon-size);
|
|
385
391
|
height: var(--_image-empty-icon-size);
|
|
392
|
+
--context-content-color: var(--_image-empty-icon-color);
|
|
386
393
|
color: var(--_image-empty-icon-color);
|
|
387
394
|
}
|
|
388
395
|
|
|
@@ -405,6 +412,7 @@ export const imageStyles = css `
|
|
|
405
412
|
justify-content: center;
|
|
406
413
|
gap: var(--_image-error-gap);
|
|
407
414
|
padding: var(--_image-error-padding);
|
|
415
|
+
--context-content-color: var(--_image-error-text-color);
|
|
408
416
|
color: var(--_image-error-text-color);
|
|
409
417
|
font: var(--_image-error-font);
|
|
410
418
|
text-align: center;
|
|
@@ -422,12 +430,14 @@ export const imageStyles = css `
|
|
|
422
430
|
display: flex;
|
|
423
431
|
flex-wrap: wrap;
|
|
424
432
|
gap: var(--_image-caption-row-gap);
|
|
433
|
+
--context-content-color: var(--_image-caption-color);
|
|
425
434
|
color: var(--_image-caption-color);
|
|
426
435
|
font: var(--_image-caption-font);
|
|
427
436
|
text-wrap: pretty;
|
|
428
437
|
}
|
|
429
438
|
|
|
430
439
|
.image__credit {
|
|
440
|
+
--context-content-color: var(--_image-credit-color);
|
|
431
441
|
color: var(--_image-credit-color);
|
|
432
442
|
font: var(--_image-credit-font);
|
|
433
443
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.styles.js","sourceRoot":"","sources":["../../../../src/components/content/image/image.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"image.styles.js","sourceRoot":"","sources":["../../../../src/components/content/image/image.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmC1B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkFlB,YAAY;;;;;;;;;;;;;IAaZ,YAAY;;;;;;;;;;;;IAYZ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Tf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/image/image.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"image.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/image/image.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,wCAuHjD"}
|
|
@@ -6,20 +6,18 @@ export function imageTemplate(component) {
|
|
|
6
6
|
// aspect-ratio is applied to the media wrapper (not the img) so it
|
|
7
7
|
// reserves space in the layout *before* the image loads, avoiding CLS.
|
|
8
8
|
// Slotted img/picture also fills this wrapper.
|
|
9
|
-
// --
|
|
10
|
-
// Oklab bytes from the parsed lqip attribute
|
|
11
|
-
//
|
|
12
|
-
// render time. Uses the --context-* prefix because the inline style and
|
|
13
|
-
// the consuming CSS live in different scopes.
|
|
9
|
+
// --_image-lqip-base / --_image-lqip-c1..c6 carry the seven quantised
|
|
10
|
+
// Oklab bytes from the parsed lqip attribute into the stylesheet. Each
|
|
11
|
+
// byte decodes back into an oklab() color at render time.
|
|
14
12
|
const parsedLqip = component._parsedLqip;
|
|
15
13
|
const hasLqip = parsedLqip !== null;
|
|
16
14
|
const mediaStyles = {};
|
|
17
15
|
if (component._cssAspectRatio)
|
|
18
16
|
mediaStyles.aspectRatio = component._cssAspectRatio;
|
|
19
17
|
if (hasLqip) {
|
|
20
|
-
mediaStyles['--
|
|
18
|
+
mediaStyles['--_image-lqip-base'] = String(parsedLqip.base);
|
|
21
19
|
parsedLqip.cells.forEach((cell, i) => {
|
|
22
|
-
mediaStyles[`--
|
|
20
|
+
mediaStyles[`--_image-lqip-c${i + 1}`] = String(cell);
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
23
|
const isEmpty = component._isEmpty;
|
|
@@ -69,7 +67,7 @@ export function imageTemplate(component) {
|
|
|
69
67
|
<nldd-icon
|
|
70
68
|
icon="broken-image"
|
|
71
69
|
size="32"
|
|
72
|
-
color="secondary
|
|
70
|
+
color="secondary"
|
|
73
71
|
></nldd-icon>
|
|
74
72
|
${component.decorative ? nothing : html `<span class="image__error-text">${component.alt}</span>`}
|
|
75
73
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.template.js","sourceRoot":"","sources":["../../../../src/components/content/image/image.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,mEAAmE;IACnE,uEAAuE;IACvE,+CAA+C;IAC/C,
|
|
1
|
+
{"version":3,"file":"image.template.js","sourceRoot":"","sources":["../../../../src/components/content/image/image.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,mEAAmE;IACnE,uEAAuE;IACvE,+CAA+C;IAC/C,sEAAsE;IACtE,uEAAu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,UAAU,GAAG,IAAI,CAAA;;IAEpB,kBAAkB,SAAS,CAAC;IAE/B,mEAAmE;IACnE,6EAA6E;IAC7E,MAAM,KAAK,GAAG,IAAI,CAAA;eACJ,YAAY;WAChB,QAAQ,CAAC,WAAW,CAAC;iBACf,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;;uBAEpB,SAAS,CAAC,kBAAkB,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW;KACjF,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA,6EAA6E,CAAC,CAAC,CAAC,OAAO;KACrG,YAAY;KACZ,UAAU;;EAEb,CAAC;IAEF,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACd,CAAC;IAED,OAAO,IAAI,CAAA;;KAEP,KAAK;;;kCAGwB,SAAS,CAAC,oBAAoB;OACzD,SAAS,CAAC,OAAO;MAClB,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,+BAA+B,SAAS,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,OAAO;;;EAG7F,CAAC;AACH,CAAC"}
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
* highlight edge. 'simple' shows the keys as plain text with separators: lighter, for
|
|
27
27
|
* inline use such as in a menu item.
|
|
28
28
|
* @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
|
|
29
|
-
* @attr {string} color - 'neutral' (default) uses the component colors of its own. '
|
|
30
|
-
* lets the keys and separators follow the
|
|
29
|
+
* @attr {string} color - 'neutral' (default) uses the component colors of its own. 'content'
|
|
30
|
+
* lets the keys and separators follow the content color of the context, with a
|
|
31
31
|
* translucent contrast fill and highlight edge. Useful on a filled surface color or a
|
|
32
32
|
* highlighted row.
|
|
33
33
|
* @attr {'mac'|'windows'|'linux'|'other'} debug-os - Development aid: overrides the OS
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
import { LitElement } from 'lit';
|
|
41
41
|
import { type OS } from '../../../utilities/os.js';
|
|
42
42
|
type Size = 'sm' | 'md' | 'inherit';
|
|
43
|
-
type Color = 'neutral' | '
|
|
43
|
+
type Color = 'neutral' | 'content';
|
|
44
44
|
type Appearance = 'box' | 'simple';
|
|
45
45
|
export declare class NLDDKeyboardShortcut extends LitElement {
|
|
46
46
|
static styles: import("lit").CSSResult;
|
|
@@ -56,8 +56,8 @@ export declare class NLDDKeyboardShortcut extends LitElement {
|
|
|
56
56
|
*/
|
|
57
57
|
appearance: Appearance;
|
|
58
58
|
/**
|
|
59
|
-
* 'neutral' (default) uses the component's own palette. '
|
|
60
|
-
* keys and separators adopt the
|
|
59
|
+
* 'neutral' (default) uses the component's own palette. 'content' makes the
|
|
60
|
+
* keys and separators adopt the content color of the context, with a
|
|
61
61
|
* translucent contrast fill and highlight border — useful on filled panels or
|
|
62
62
|
* highlighted rows.
|
|
63
63
|
*/
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
* highlight edge. 'simple' shows the keys as plain text with separators: lighter, for
|
|
27
27
|
* inline use such as in a menu item.
|
|
28
28
|
* @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
|
|
29
|
-
* @attr {string} color - 'neutral' (default) uses the component colors of its own. '
|
|
30
|
-
* lets the keys and separators follow the
|
|
29
|
+
* @attr {string} color - 'neutral' (default) uses the component colors of its own. 'content'
|
|
30
|
+
* lets the keys and separators follow the content color of the context, with a
|
|
31
31
|
* translucent contrast fill and highlight edge. Useful on a filled surface color or a
|
|
32
32
|
* highlighted row.
|
|
33
33
|
* @attr {'mac'|'windows'|'linux'|'other'} debug-os - Development aid: overrides the OS
|
|
@@ -66,8 +66,8 @@ let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
|
|
|
66
66
|
*/
|
|
67
67
|
this.appearance = 'box';
|
|
68
68
|
/**
|
|
69
|
-
* 'neutral' (default) uses the component's own palette. '
|
|
70
|
-
* keys and separators adopt the
|
|
69
|
+
* 'neutral' (default) uses the component's own palette. 'content' makes the
|
|
70
|
+
* keys and separators adopt the content color of the context, with a
|
|
71
71
|
* translucent contrast fill and highlight border — useful on filled panels or
|
|
72
72
|
* highlighted rows.
|
|
73
73
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-shortcut.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"keyboard-shortcut.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,yBAgJlC,CAAC"}
|
|
@@ -27,9 +27,9 @@ export const keyboardShortcutStyles = css `
|
|
|
27
27
|
vertical-align: middle;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
:host([color="
|
|
31
|
-
--_keyboard-shortcut-content-color:
|
|
32
|
-
--_keyboard-shortcut-separator-color:
|
|
30
|
+
:host([color="content"]) {
|
|
31
|
+
--_keyboard-shortcut-content-color: var(--context-content-color);
|
|
32
|
+
--_keyboard-shortcut-separator-color: var(--context-content-color);
|
|
33
33
|
--_keyboard-shortcut-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
|
|
34
34
|
--_keyboard-shortcut-background-color: color-mix(in oklab, var(--semantics-content-contrast-color) 20%, transparent);
|
|
35
35
|
}
|
|
@@ -103,6 +103,7 @@ export const keyboardShortcutStyles = css `
|
|
|
103
103
|
padding: 0 var(--_keyboard-shortcut-inline-padding);
|
|
104
104
|
align-items: center;
|
|
105
105
|
justify-content: center;
|
|
106
|
+
--context-content-color: var(--_keyboard-shortcut-content-color);
|
|
106
107
|
color: var(--_keyboard-shortcut-content-color);
|
|
107
108
|
font-family: var(--_keyboard-shortcut-font-family);
|
|
108
109
|
font-size: var(--_keyboard-shortcut-font-size);
|
|
@@ -136,6 +137,7 @@ export const keyboardShortcutStyles = css `
|
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
.keyboard-shortcut__separator {
|
|
140
|
+
--context-content-color: var(--_keyboard-shortcut-separator-color);
|
|
139
141
|
color: var(--_keyboard-shortcut-separator-color);
|
|
140
142
|
font-family: var(--_keyboard-shortcut-font-family);
|
|
141
143
|
font-size: var(--_keyboard-shortcut-font-size);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-shortcut.styles.js","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;IAsBrC,kBAAkB
|
|
1
|
+
{"version":3,"file":"keyboard-shortcut.styles.js","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;IAsBrC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HrB,CAAC"}
|
|
@@ -54,12 +54,6 @@
|
|
|
54
54
|
*
|
|
55
55
|
* @element nldd-rich-text
|
|
56
56
|
*
|
|
57
|
-
* @attr {string} color - 'content' (the default) takes the system's own content
|
|
58
|
-
* colors, each element its own. 'inherit' lets all text follow the color of
|
|
59
|
-
* the surface instead (for colored areas such as the filled categories).
|
|
60
|
-
* Links stay underlined as an affordance; secondary text (figcaption) gets
|
|
61
|
-
* the same color at a lowered opacity. Known v1 gaps: inline code, mark,
|
|
62
|
-
* tables and hr keep their own surfaces.
|
|
63
57
|
* @attr {string} spacing - Spacing between elements: 'flat' | 'tight' | 'snug' (default) | 'loose'
|
|
64
58
|
* @attr {boolean} centered - Centers the main column inside the container; without it, content is left-aligned
|
|
65
59
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
@@ -79,7 +73,6 @@ import { LitElement } from 'lit';
|
|
|
79
73
|
import type { NLDDRichTextTranslations } from './rich-text.i18n.js';
|
|
80
74
|
type Spacing = 'flat' | 'tight' | 'snug' | 'loose';
|
|
81
75
|
export declare class NLDDRichText extends LitElement {
|
|
82
|
-
color: 'content' | 'inherit';
|
|
83
76
|
spacing: Spacing;
|
|
84
77
|
centered: boolean;
|
|
85
78
|
translations: Partial<NLDDRichTextTranslations>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text.d.ts","sourceRoot":"","sources":["../../../../src/components/content/rich-text/rich-text.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"rich-text.d.ts","sourceRoot":"","sources":["../../../../src/components/content/rich-text/rich-text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAIpE,KAAK,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAoBnD,qBACa,YAAa,SAAQ,UAAU;IAG3C,OAAO,EAAE,OAAO,CAAU;IAG1B,QAAQ,UAAS;IAGjB,YAAY,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAM;IAGrD,OAAO,UAAS;IAET,EAAE,CAAC,GAAG,EAAE,MAAM,wBAAwB,GAAG,MAAM;IAItD,OAAO,CAAC,iBAAiB,CAAC,CAAmB;IAC7C,OAAO,CAAC,eAAe,CAAC,CAAiB;IAEhC,gBAAgB;IAIhB,iBAAiB,IAAI,IAAI;IAqBzB,oBAAoB,IAAI,IAAI;IAQrC,qEAAqE;IAC5D,OAAO,IAAI,IAAI;IAMxB;+EAC2E;IAC3E,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,WAAW;CA+BnB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
|
|
@@ -60,12 +60,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
60
60
|
*
|
|
61
61
|
* @element nldd-rich-text
|
|
62
62
|
*
|
|
63
|
-
* @attr {string} color - 'content' (the default) takes the system's own content
|
|
64
|
-
* colors, each element its own. 'inherit' lets all text follow the color of
|
|
65
|
-
* the surface instead (for colored areas such as the filled categories).
|
|
66
|
-
* Links stay underlined as an affordance; secondary text (figcaption) gets
|
|
67
|
-
* the same color at a lowered opacity. Known v1 gaps: inline code, mark,
|
|
68
|
-
* tables and hr keep their own surfaces.
|
|
69
63
|
* @attr {string} spacing - Spacing between elements: 'flat' | 'tight' | 'snug' (default) | 'loose'
|
|
70
64
|
* @attr {boolean} centered - Centers the main column inside the container; without it, content is left-aligned
|
|
71
65
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
@@ -108,7 +102,6 @@ function hasInlineContent(nodes) {
|
|
|
108
102
|
let NLDDRichText = class NLDDRichText extends LitElement {
|
|
109
103
|
constructor() {
|
|
110
104
|
super(...arguments);
|
|
111
|
-
this.color = 'content';
|
|
112
105
|
this.spacing = 'snug';
|
|
113
106
|
this.centered = false;
|
|
114
107
|
this.translations = {};
|
|
@@ -193,9 +186,6 @@ let NLDDRichText = class NLDDRichText extends LitElement {
|
|
|
193
186
|
}
|
|
194
187
|
}
|
|
195
188
|
};
|
|
196
|
-
__decorate([
|
|
197
|
-
property({ reflect: true, converter: reflectNonDefault('content') })
|
|
198
|
-
], NLDDRichText.prototype, "color", void 0);
|
|
199
189
|
__decorate([
|
|
200
190
|
property({ reflect: true, converter: reflectNonDefault('snug') })
|
|
201
191
|
], NLDDRichText.prototype, "spacing", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text.js","sourceRoot":"","sources":["../../../../src/components/content/rich-text/rich-text.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"rich-text.js","sourceRoot":"","sources":["../../../../src/components/content/rich-text/rich-text.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAI/D,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAErD,gFAAgF;AAChF,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC;IACtB,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI;IAChF,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AAY,CAAC,CAAC;oBACpC,KAAK,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;gBAC3C,CAAC;YACF,CAAC;QACF,CAAC;IACF,CAAC;CACD,CAAA;AAjGA;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAU,MAAM,CAAC,EAAE,CAAC;6CACjD;AAG1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kDAC0B;AAGrD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CAC3B;AAZJ,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAoGxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tag/tag.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"tag.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tag/tag.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,yBAgOrB,CAAC"}
|
|
@@ -190,6 +190,7 @@ export const tagStyles = css `
|
|
|
190
190
|
padding: 0 var(--_tag-inline-padding);
|
|
191
191
|
gap: var(--_tag-gap);
|
|
192
192
|
align-items: center;
|
|
193
|
+
--context-content-color: var(--_tag-content-color);
|
|
193
194
|
color: var(--_tag-content-color);
|
|
194
195
|
font: var(--_tag-font);
|
|
195
196
|
white-space: nowrap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.styles.js","sourceRoot":"","sources":["../../../../src/components/content/tag/tag.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;IAqBxB,kBAAkB
|
|
1
|
+
{"version":3,"file":"tag.styles.js","sourceRoot":"","sources":["../../../../src/components/content/tag/tag.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;IAqBxB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2MrB,CAAC"}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* @attr {string} lg-custom-size - The same, at lg
|
|
39
39
|
* @attr {string} weight - Font weight: 'regular' | 'medium' | 'bold' (default: 'regular'). With 'bold' a slotted `<strong>` no longer stands out: there is nothing bolder in the scale.
|
|
40
40
|
* @attr {string} line-height - Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug')
|
|
41
|
-
* @attr {string} color - Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'
|
|
41
|
+
* @attr {string} color - Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. Each follows the surface the text sits on, through the `--context-content-*` it passes on; an area of your own that sets `color` sets `--context-content-color` too.
|
|
42
42
|
* @attr {string} horizontal-alignment - Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box.
|
|
43
43
|
*
|
|
44
44
|
* @slot - The text. Inline elements look as they do in nldd-rich-text: `<strong>` and `<b>` take the bold weight from the scale, `<em>` and `<i>` are italic, `<a>` is an underlined link, `<code>` sits on a tinted surface in the monospace font, `<mark>` is highlighted, `<q>` is quoted in italics, and an element with `data-mention` is a mention (`<a href="…" data-mention>` as the tinted token, `<span data-mention>` without the tint; write the name without the `@`). This holds for elements directly in the text; one inside another (a link inside `<strong>`) keeps only the outer one's styling. Components such as `nldd-tag` are left alone.
|
|
@@ -48,7 +48,7 @@ import { LitElement, type PropertyValues } from 'lit';
|
|
|
48
48
|
type Size = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'display-6' | 'display-5' | 'display-4' | 'display-3' | 'display-2' | 'display-1';
|
|
49
49
|
type Weight = 'regular' | 'medium' | 'bold';
|
|
50
50
|
type LineHeight = 'flat' | 'tight' | 'snug' | 'loose';
|
|
51
|
-
type Color = 'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'
|
|
51
|
+
type Color = 'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical';
|
|
52
52
|
type HorizontalAlignment = 'left' | 'center' | 'right';
|
|
53
53
|
export declare class NLDDText extends LitElement {
|
|
54
54
|
static styles: import("lit").CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/components/content/text/text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAQtD,KAAK,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;AAClI,KAAK,MAAM,GAAG,SAAS,G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G,IAAI;IAMzC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAQtC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* @attr {string} lg-custom-size - The same, at lg
|
|
39
39
|
* @attr {string} weight - Font weight: 'regular' | 'medium' | 'bold' (default: 'regular'). With 'bold' a slotted `<strong>` no longer stands out: there is nothing bolder in the scale.
|
|
40
40
|
* @attr {string} line-height - Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug')
|
|
41
|
-
* @attr {string} color - Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'
|
|
41
|
+
* @attr {string} color - Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. Each follows the surface the text sits on, through the `--context-content-*` it passes on; an area of your own that sets `color` sets `--context-content-color` too.
|
|
42
42
|
* @attr {string} horizontal-alignment - Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box.
|
|
43
43
|
*
|
|
44
44
|
* @slot - The text. Inline elements look as they do in nldd-rich-text: `<strong>` and `<b>` take the bold weight from the scale, `<em>` and `<i>` are italic, `<a>` is an underlined link, `<code>` sits on a tinted surface in the monospace font, `<mark>` is highlighted, `<q>` is quoted in italics, and an element with `data-mention` is a mention (`<a href="…" data-mention>` as the tinted token, `<span data-mention>` without the tint; write the name without the `@`). This holds for elements directly in the text; one inside another (a link inside `<strong>`) keeps only the outer one's styling. Components such as `nldd-tag` are left alone.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/text/text.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAoDrD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"text.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/text/text.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAoDrD,eAAO,MAAM,UAAU,WA2StB,CAAC"}
|
|
@@ -64,14 +64,13 @@ export const textStyles = css `
|
|
|
64
64
|
--_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);
|
|
65
65
|
--_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);
|
|
66
66
|
--_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);
|
|
67
|
-
--_text-color: var(--context-content-color
|
|
67
|
+
--_text-color: var(--context-content-color);
|
|
68
68
|
--_text-align: left;
|
|
69
|
-
--_text-link-color: var(--
|
|
70
|
-
--_text-link-is-hovered-color: var(--
|
|
71
|
-
--_text-link-is-active-color: var(--
|
|
69
|
+
--_text-link-color: var(--context-link-color);
|
|
70
|
+
--_text-link-is-hovered-color: var(--context-link-is-hovered-color);
|
|
71
|
+
--_text-link-is-active-color: var(--context-link-is-active-color);
|
|
72
72
|
--_text-link-underline-offset: var(--primitives-space-2);
|
|
73
73
|
--_text-link-corner-radius: var(--primitives-corner-radius-xxs);
|
|
74
|
-
--_text-link-is-hovered-inherit-thickness: var(--primitives-border-width-regular);
|
|
75
74
|
--_text-mention-color: var(--semantics-mentions-content-color);
|
|
76
75
|
--_text-mention-icon-size: 0.95em;
|
|
77
76
|
--_text-mention-inline-padding: 0.3em;
|
|
@@ -186,6 +185,7 @@ export const textStyles = css `
|
|
|
186
185
|
|
|
187
186
|
::slotted(a) {
|
|
188
187
|
border-radius: var(--_text-link-corner-radius);
|
|
188
|
+
--context-content-color: var(--_text-link-color);
|
|
189
189
|
color: var(--_text-link-color);
|
|
190
190
|
text-decoration: underline;
|
|
191
191
|
text-underline-offset: var(--_text-link-underline-offset);
|
|
@@ -193,10 +193,12 @@ export const textStyles = css `
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
::slotted(a:hover) {
|
|
196
|
+
--context-content-color: var(--_text-link-is-hovered-color);
|
|
196
197
|
color: var(--_text-link-is-hovered-color);
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
::slotted(a:active) {
|
|
201
|
+
--context-content-color: var(--_text-link-is-active-color);
|
|
200
202
|
color: var(--_text-link-is-active-color);
|
|
201
203
|
}
|
|
202
204
|
|
|
@@ -210,21 +212,8 @@ export const textStyles = css `
|
|
|
210
212
|
outline: none;
|
|
211
213
|
}
|
|
212
214
|
|
|
213
|
-
:host([color="inherit"]) ::slotted(a) {
|
|
214
|
-
color: currentColor;
|
|
215
|
-
text-decoration-color: currentColor;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
:host([color="inherit"]) ::slotted(a:hover) {
|
|
219
|
-
color: currentColor;
|
|
220
|
-
text-decoration-thickness: var(--_text-link-is-hovered-inherit-thickness);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
:host([color="inherit"]) ::slotted(a:active) {
|
|
224
|
-
color: currentColor;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
215
|
::slotted([data-mention]) {
|
|
216
|
+
--context-content-color: var(--_text-mention-color);
|
|
228
217
|
color: var(--_text-mention-color);
|
|
229
218
|
font-weight: var(--primitives-font-weight-body-bold);
|
|
230
219
|
white-space: nowrap;
|
|
@@ -252,6 +241,7 @@ export const textStyles = css `
|
|
|
252
241
|
border-radius: var(--_text-mention-corner-radius);
|
|
253
242
|
box-shadow: inset 0 0 0 var(--_text-mention-border-width) var(--_text-mention-border-color);
|
|
254
243
|
background-color: var(--_text-mention-background-color);
|
|
244
|
+
--context-content-color: var(--_text-mention-color);
|
|
255
245
|
color: var(--_text-mention-color);
|
|
256
246
|
text-decoration: none;
|
|
257
247
|
cursor: default;
|
|
@@ -261,15 +251,13 @@ export const textStyles = css `
|
|
|
261
251
|
|
|
262
252
|
::slotted(a[data-mention]:hover) {
|
|
263
253
|
background-color: var(--_text-mention-is-hovered-background-color);
|
|
254
|
+
--context-content-color: var(--_text-mention-color);
|
|
264
255
|
color: var(--_text-mention-color);
|
|
265
256
|
}
|
|
266
257
|
|
|
267
258
|
::slotted(a[data-mention]:active) {
|
|
268
259
|
background-color: var(--_text-mention-is-active-background-color);
|
|
269
|
-
color: var(--_text-mention-color);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
:host([color="inherit"]) ::slotted(a[data-mention]) {
|
|
260
|
+
--context-content-color: var(--_text-mention-color);
|
|
273
261
|
color: var(--_text-mention-color);
|
|
274
262
|
}
|
|
275
263
|
|
|
@@ -304,6 +292,7 @@ export const textStyles = css `
|
|
|
304
292
|
border-radius: var(--_text-mark-corner-radius);
|
|
305
293
|
background-color: var(--_text-mark-background-color);
|
|
306
294
|
padding: var(--_text-mark-padding);
|
|
295
|
+
--context-content-color: var(--_text-mark-color);
|
|
307
296
|
color: var(--_text-mark-color);
|
|
308
297
|
}
|
|
309
298
|
|
|
@@ -326,27 +315,23 @@ export const textStyles = css `
|
|
|
326
315
|
/* # Color */
|
|
327
316
|
|
|
328
317
|
:host([color="secondary"]) {
|
|
329
|
-
--_text-color: var(--context-content-secondary-color
|
|
318
|
+
--_text-color: var(--context-content-secondary-color);
|
|
330
319
|
}
|
|
331
320
|
|
|
332
321
|
:host([color="accent"]) {
|
|
333
|
-
--_text-color: var(--
|
|
322
|
+
--_text-color: var(--context-content-accent-color);
|
|
334
323
|
}
|
|
335
324
|
|
|
336
325
|
:host([color="success"]) {
|
|
337
|
-
--_text-color: var(--
|
|
326
|
+
--_text-color: var(--context-content-success-color);
|
|
338
327
|
}
|
|
339
328
|
|
|
340
329
|
:host([color="warning"]) {
|
|
341
|
-
--_text-color: var(--
|
|
330
|
+
--_text-color: var(--context-content-warning-color);
|
|
342
331
|
}
|
|
343
332
|
|
|
344
333
|
:host([color="critical"]) {
|
|
345
|
-
--_text-color: var(--
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
:host([color="inherit"]) {
|
|
349
|
-
--_text-color: inherit;
|
|
334
|
+
--_text-color: var(--context-content-critical-color);
|
|
350
335
|
}
|
|
351
336
|
|
|
352
337
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.styles.js","sourceRoot":"","sources":["../../../../src/components/content/text/text.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAkB,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,iHAAiH;AACjH,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAE,EAAU,EAAE,EAAU,EAAE,EAAU,EAAa,EAAE,CAAC,GAAG,CAAA;GAC3F,SAAS,CAAC,IAAI,CAAC;uBACK,KAAK;mBACT,SAAS,CAAC,EAAE,CAAC;;;uBAGT,KAAK,qBAAqB,KAAK;mBACnC,SAAS,CAAC,EAAE,CAAC;;;uBAGT,KAAK;mBACT,SAAS,CAAC,EAAE,CAAC;;;4CAGY,KAAK;mBAC9B,SAAS,CAAC,EAAE,CAAC;;;4CAGY,KAAK,qBAAqB,KAAK;mBACxD,SAAS,CAAC,EAAE,CAAC;;;4CAGY,KAAK;mBAC9B,SA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G,CAAA,eAAe,KAAK,GAAG,EAAE,GAAG,CAAA,eAAe,KAAK,GAAG,EAAE,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqN/H,CAAC"}
|
|
@@ -37,10 +37,6 @@
|
|
|
37
37
|
* @attr {string} sm-custom-size - A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the title without its size, the floor included. For headings use `size`; if a design does not fit the scale, raise it as an issue. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a title made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size`
|
|
38
38
|
* @attr {string} md-custom-size - The same, at md
|
|
39
39
|
* @attr {string} lg-custom-size - The same, at lg
|
|
40
|
-
* @attr {string} color - 'content' (the default) takes the system's own content
|
|
41
|
-
* colors. 'inherit' lets the title follow the text color of the surface
|
|
42
|
-
* instead (for colored areas such as the filled categories); overline and
|
|
43
|
-
* supporting-text get the same color at a lowered opacity.
|
|
44
40
|
* @attr {string} text - Title text. Content in the default slot takes its place.
|
|
45
41
|
* @attr {string} supporting-text - Text below the title. Content in the supporting-text slot takes its place.
|
|
46
42
|
* @attr {string} overline - Text above the title. Content in the overline slot takes its place.
|
|
@@ -54,7 +50,6 @@
|
|
|
54
50
|
*/
|
|
55
51
|
import { LitElement, type PropertyValues } from 'lit';
|
|
56
52
|
export type TitleSize = 'display-1' | 'display-2' | 'display-3' | 'display-4' | 'display-5' | 'display-6';
|
|
57
|
-
type TitleColor = 'content' | 'inherit';
|
|
58
53
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
59
54
|
export declare class NLDDTitle extends LitElement {
|
|
60
55
|
static styles: import("lit").CSSResult;
|
|
@@ -62,7 +57,6 @@ export declare class NLDDTitle extends LitElement {
|
|
|
62
57
|
smCustomSize: string;
|
|
63
58
|
mdCustomSize: string;
|
|
64
59
|
lgCustomSize: string;
|
|
65
|
-
color: TitleColor;
|
|
66
60
|
text: string;
|
|
67
61
|
supportingText: string;
|
|
68
62
|
overline: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAQtD,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;AAC1G,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE1C,qBACa,SAAU,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAAe;IAGrC,IAAI,CAAC,EAAE,SAAS,CAAC;IAGjB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,IAAI,SAAM;IAGV,cAAc,SAAM;IAGpB,QAAQ,SAAM;IAGd,YAAY,EAAE,YAAY,GAAG,IAAI,CAAQ;IAEzC,gBAAgB;IACP,mBAAmB,UAAS;IACrC,gBAAgB;IACP,kBAAkB,UAAS;IACpC,gBAAgB;IACP,yBAAyB,UAAS;IAC3C,4DAA4D;IACnD,aAAa,EAAE,YAAY,GAAG,IAAI,CAAQ;IAEnD,gBAAgB;IAChB,aAAa,GAAI,GAAG,KAAK,KAAG,IAAI,CAa9B;IAEF,+EAA+E;IAC/E,OAAO,CAAC,YAAY,CAA2C;IAEtD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAUzC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAQtC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,SAAS,CAAC;KACxB;CACD"}
|