@nldd/design-system 0.22.0 → 0.24.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 +1268 -204
- package/dist/assets/styles/scroll-fade.d.ts +13 -0
- package/dist/assets/styles/scroll-fade.d.ts.map +1 -0
- package/dist/assets/styles/scroll-fade.js +53 -0
- package/dist/assets/styles/scroll-fade.js.map +1 -0
- 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 +137 -136
- package/dist/cdn/chunks/{activity-indicator-BTnpfsIt.js → activity-indicator-DWBG1Csi.js} +8 -7
- package/dist/cdn/chunks/{avatar--5c37XVW.js → avatar-CRZLseMs.js} +20 -19
- package/dist/cdn/chunks/{avatar-group-BNfmY5CU.js → avatar-group-coYbMhot.js} +17 -16
- package/dist/cdn/chunks/{badge-YAvIVoRy.js → badge-DAXG-uIw.js} +13 -10
- package/dist/cdn/chunks/{banner-BpCK57yd.js → banner-BbR0rebp.js} +9 -7
- package/dist/cdn/chunks/{bar-split-view-BgYo4YJw.js → bar-split-view-DoklVwuj.js} +27 -24
- package/dist/cdn/chunks/{blockquote-BOu-31f3.js → blockquote-DfIl4wTC.js} +4 -3
- package/dist/cdn/chunks/{box-YipFNjJh.js → box-CXICi_Gs.js} +12 -10
- package/dist/cdn/chunks/{breadcrumbs-DSVAVozW.js → breadcrumbs-CVoNqsU2.js} +13 -8
- package/dist/cdn/chunks/{button-XtEOeBEq.js → button-DWzqSerk.js} +101 -75
- package/dist/cdn/chunks/{button-bar-D1i71rRQ.js → button-bar-DwFLuumP.js} +15 -11
- package/dist/cdn/chunks/{button-group-un5QDbqK.js → button-group-D-nEY7Wz.js} +2 -2
- package/dist/cdn/chunks/{card-D5yTAdts.js → card-CIVLEFhz.js} +24 -22
- package/dist/cdn/chunks/{cell-BbtB9C2Z.js → cell-C79LmCOU.js} +6 -6
- package/dist/cdn/chunks/{checkbox-oYX8b8iy.js → checkbox-BQepKdVv.js} +25 -20
- package/dist/cdn/chunks/{checkbox-field-Cmc6Aagc.js → checkbox-field-ColaTYKE.js} +9 -7
- package/dist/cdn/chunks/{class-map-DKd4N9Wz.js → class-map-9VgiG_zt.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BZwpTu4O.js → code-editor-FNmK9xRx.js} +7 -6
- package/dist/cdn/chunks/{code-viewer-C4XDF03i.js → code-viewer-C5whEGq6.js} +147 -102
- package/dist/cdn/chunks/{codemirror-input-Sen5OmAF.js → codemirror-input-SKGbh9LP.js} +4 -4
- package/dist/cdn/chunks/{collection-BnZstW7U.js → collection-Dq6Z66UX.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BpaGeypm.js → combo-box-CoOSPICd.js} +17 -8
- package/dist/cdn/chunks/{container-DuV5d7Eb.js → container-CtwuWO3a.js} +14 -6
- package/dist/cdn/chunks/{custom-element-DsfOrnOD.js → custom-element-BVKCDhPV.js} +1 -1
- package/dist/cdn/chunks/{date-field-FactdbhC.js → date-field-CqnGM7GR.js} +24 -14
- package/dist/cdn/chunks/{date-field.i18n-BTzc0E9a.js → date-field.i18n-BqIx3eyr.js} +1 -1
- package/dist/cdn/chunks/{date-picker-BtlBTKvh.js → date-picker-C2iGHw2u.js} +18 -10
- package/dist/cdn/chunks/{decorate-CJCfz_g6.js → decorate-CK3hc5C5.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-CPultP0p.js → described-by-mixin-DGAPpEdM.js} +6 -3
- package/dist/cdn/chunks/{description-cell-DFc0_dWI.js → description-cell-B08Ma5EJ.js} +9 -8
- package/dist/cdn/chunks/{dev-checks-DGwOQoR3.js → dev-checks-BwWYGVrJ.js} +175 -72
- package/dist/cdn/chunks/{dist-BUqkX3a-.js → dist-B2YK3eT2.js} +3 -3
- package/dist/cdn/chunks/{dist-D-9cbJjq.js → dist-B4vELUJW.js} +3 -3
- package/dist/cdn/chunks/{dist-CtdONv3x.js → dist-B8vBP_Xz.js} +1 -1
- package/dist/cdn/chunks/{dist-ClsiJytN.js → dist-BThgPtD7.js} +2 -2
- package/dist/cdn/chunks/{dist-BuquxOFD.js → dist-CKeY28-M.js} +2 -2
- package/dist/cdn/chunks/{dist-CxdoWiwX.js → dist-CQ5kBaGZ.js} +1 -1
- package/dist/cdn/chunks/{dist-Bmb_H8Sp.js → dist-CWN_qz9z.js} +1 -1
- package/dist/cdn/chunks/{dist-6xUfJUfa.js → dist-D1t9kkjo.js} +1 -1
- package/dist/cdn/chunks/{dist-BWSiWu4t.js → dist-DP5DQSlX.js} +2 -2
- package/dist/cdn/chunks/{dist-CM5DHMaz.js → dist-DzcXDSFC.js} +1 -1
- package/dist/cdn/chunks/{dist-AQ1Gehx3.js → dist-jAq440y0.js} +1 -1
- package/dist/cdn/chunks/{divider-CZ8Hn1om.js → divider-KgHxRNV9.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-BBnyyiEA.js → document-tab-bar-CTIcETDr.js} +27 -13
- package/dist/cdn/chunks/{dropdown-Bbbgy8mT.js → dropdown-BhrCadMW.js} +10 -5
- package/dist/cdn/chunks/{file-field-CddG_e0F.js → file-field-DzH4Yrj5.js} +30 -12
- package/dist/cdn/chunks/{form-DIIMIq0q.js → form-CzmdlZ0i.js} +1 -1
- package/dist/cdn/chunks/{form-actions-BICy0Sgp.js → form-actions-CDQW1p3w.js} +2 -2
- package/dist/cdn/chunks/{form-field-Bnei2EQO.js → form-field-D_qJpPAS.js} +15 -8
- package/dist/cdn/chunks/{form-section-Cv0tr0pm.js → form-section-Jy5b5Qtp.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-LOfo_1Aj.js → full-bleed-section-BDIuXLGU.js} +3 -3
- package/dist/cdn/chunks/{hero-BABWpYs5.js → hero-BPHFHrUT.js} +106 -97
- package/dist/cdn/chunks/{icon-D5dJm51v.js → icon-BE2ojX0S.js} +52 -29
- package/dist/cdn/chunks/{icon-button-DtxIRaQy.js → icon-button-CFMhdG1B.js} +85 -63
- package/dist/cdn/chunks/{icon-cell-Be5awZV7.js → icon-cell-CQ-e1GB2.js} +11 -11
- package/dist/cdn/chunks/{identity-B4KtbT8h.js → identity-7wQDjeGb.js} +7 -5
- package/dist/cdn/chunks/{if-defined-BirFs11D.js → if-defined-G1P3HUvi.js} +1 -1
- package/dist/cdn/chunks/{image-BpVEir6U.js → image-QPbmNKvZ.js} +44 -34
- package/dist/cdn/chunks/{inline-dialog-B627fZmT.js → inline-dialog-DP3AXfJV.js} +9 -6
- package/dist/cdn/chunks/interest-controller-Ban-3NrX.js +117 -0
- package/dist/cdn/chunks/{just-in-time-education-Nw5ido3N.js → just-in-time-education-DnaF_sLc.js} +8 -5
- package/dist/cdn/chunks/{kanban-column-v5rfv8fN.js → kanban-column-B_Jrut9s.js} +6 -4
- package/dist/cdn/chunks/{kanban-9HGexCJx.js → kanban-o2GMLjsq.js} +5 -5
- package/dist/cdn/chunks/{keyboard-shortcut-CVNilmgr.js → keyboard-shortcut-Dm366Dra.js} +8 -6
- package/dist/cdn/chunks/{languages-Ce4h7R1-.js → languages-Dlh_tbAH.js} +12 -12
- package/dist/cdn/chunks/{link-BQQwp17j.js → link-DhTY3Sjh.js} +41 -23
- package/dist/cdn/chunks/{link-group-CQhEcQIV.js → link-group-YuwD1m6-.js} +2 -2
- package/dist/cdn/chunks/{list-DDxjOe38.js → list-Cdvib5Y-.js} +48 -13
- package/dist/cdn/chunks/{list-item-segment-CnGHU6G-.js → list-item-segment-F3av0jxz.js} +14 -12
- package/dist/cdn/chunks/{list-item-Da6-fFDs.js → list-item-vO3GwQWa.js} +110 -103
- package/dist/cdn/chunks/{menu-bar-MPNB2ovW.js → menu-bar-imOaTlGm.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-BuZ-VvnR.js → menu-bar-item-ChQbM1ER.js} +7 -6
- package/dist/cdn/chunks/{menu-uOExHS1i.js → menu-dTVlz6mn.js} +35 -18
- package/dist/cdn/chunks/{menu-divider-CcOTQxx5.js → menu-divider-D7s6f49y.js} +3 -3
- package/dist/cdn/chunks/{menu-group-DGgbYejF.js → menu-group-BcEmoNvL.js} +4 -4
- package/dist/cdn/chunks/{menu-item-DgM4RmyD.js → menu-item-BGlVTfe6.js} +34 -32
- package/dist/cdn/chunks/menu-item.i18n-CKUJBOeE.js +7 -0
- package/dist/cdn/chunks/{menu.template-DkbfQRQ6.js → menu.template-syBthjEV.js} +150 -90
- package/dist/cdn/chunks/{modal-dialog-BRYfJ7Vf.js → modal-dialog-BBK25tjm.js} +27 -26
- package/dist/cdn/chunks/{multi-line-text-field-CWOPY6sF.js → multi-line-text-field-DuL6nLG_.js} +9 -5
- package/dist/cdn/chunks/{navigation-split-view-BRiplUXM.js → navigation-split-view-CdZNbX91.js} +50 -69
- package/dist/cdn/chunks/nl.generated-CgRVSEh6.js +116 -0
- package/dist/cdn/chunks/{notification-DhnzrUQp.js → notification-Dwhfnjb2.js} +9 -6
- package/dist/cdn/chunks/{number-field-DgRrXCiv.js → number-field-Dl4zZvVe.js} +13 -7
- package/dist/cdn/chunks/{one-half-one-half-section-D7tzDw-p.js → one-half-one-half-section-BJxLZfiK.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-E8xOdcsf.js → one-third-two-thirds-section-CARh_hdH.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BoJdVvNN.js → one-time-code-field-FaxqiiD6.js} +10 -6
- package/dist/cdn/chunks/{page-DDm193hL.js → page-Cc5bb6VU.js} +35 -32
- package/dist/cdn/chunks/{page-footer-32oZSwvG.js → page-footer-Df1cS-ks.js} +45 -42
- package/dist/cdn/chunks/{page-section-mixin-CmsW9L1S.js → page-section-mixin-BzgAU2sX.js} +38 -40
- package/dist/cdn/chunks/{pagination-Co1BlFTP.js → pagination-BcnkrWV_.js} +13 -6
- package/dist/cdn/chunks/{password-field-BxKQRE4K.js → password-field-CeIJm406.js} +11 -7
- package/dist/cdn/chunks/{popover-DpCE_XjR.js → popover-BIMt3aqW.js} +75 -49
- package/dist/cdn/chunks/{progress-bar-5WAVf0HV.js → progress-bar-C9CWhkse.js} +11 -9
- package/dist/cdn/chunks/{progress-circle-D7Mn6WZv.js → progress-circle-CJL1aFbS.js} +9 -7
- package/dist/cdn/chunks/{radio-button-pd8lwtEO.js → radio-button-DKo5kdLW.js} +16 -16
- package/dist/cdn/chunks/{radio-button-field-Dxnahic-.js → radio-button-field-DPZajMnT.js} +9 -7
- package/dist/cdn/chunks/{radio-button-group-D_4lI2U-.js → radio-button-group-BBZhU3bn.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CAskRZMx.js → render-marked-Bkoq5vNH.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BL8ECfi5.js → reorder-handle-cell-CEW8Cg1r.js} +5 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-BDRPLv58.js → reorder-handle-mixin-BkksqjmK.js} +2 -2
- package/dist/cdn/chunks/{repeat-D5W3dDCY.js → repeat-C5V9E9Ta.js} +1 -1
- package/dist/cdn/chunks/{rich-text-diNxNddp.js → rich-text-DEFr_Niu.js} +4 -7
- package/dist/cdn/chunks/{row-header-mixin-Dj6t4nYI.js → row-header-mixin-BSORP0i7.js} +2 -2
- package/dist/cdn/chunks/scroll-fade-B7kZVxmh.js +41 -0
- package/dist/cdn/chunks/{search-field-CLuQnvBU.js → search-field-Dr0MLD_z.js} +17 -9
- package/dist/cdn/chunks/{segmented-control-B0z5J7r9.js → segmented-control-aOIkoklF.js} +12 -6
- package/dist/cdn/chunks/shadow-resets-CRBumQjX.js +28 -0
- package/dist/cdn/chunks/{sheet-CKfFzUCu.js → sheet-BCPE_pDl.js} +38 -36
- package/dist/cdn/chunks/{shell-CglPjEWB.js → shell-ZCsqW56P.js} +24 -21
- package/dist/cdn/chunks/{side-by-side-split-view-DU4ODEBX.js → side-by-side-split-view-BWIyZmzo.js} +22 -19
- package/dist/cdn/chunks/{sidebar-section-DzJw-MHs.js → sidebar-section-Di3mQROc.js} +23 -18
- package/dist/cdn/chunks/{simple-section-BfhBYqMa.js → simple-section-sOkNMsbz.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DwVvD9XL.js → skip-link-mcskOuFr.js} +14 -8
- package/dist/cdn/chunks/skip-link.i18n-B7pVqo5u.js +6 -0
- package/dist/cdn/chunks/{slider-BBxKxr-H.js → slider-CkPk4lBA.js} +11 -9
- package/dist/cdn/chunks/{spacer-CqK1xVh2.js → spacer-RB_KBaTr.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DS7Tphdm.js → spacer-cell-V1UaaPcO.js} +4 -4
- package/dist/cdn/chunks/{split-button-Brh7EmIA.js → split-button-BUEhYiI5.js} +19 -15
- package/dist/cdn/chunks/{split-view-divider-Bh3XLobi.js → split-view-divider-Rmb9cG9K.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-BPKlAR4d.js → split-view-pane-DQRZ9tE0.js} +23 -20
- package/dist/cdn/chunks/{stacked-split-view-SrIHWkKW.js → stacked-split-view-BaeQhWmd.js} +22 -19
- package/dist/cdn/chunks/{static-html-OvWm15yg.js → static-html-CAczcbUD.js} +1 -1
- package/dist/cdn/chunks/{status-bar-IqyLnoMx.js → status-bar-D3-IYqUp.js} +5 -4
- package/dist/cdn/chunks/{step-bar-DltkU-AG.js → step-bar-BfNXoHds.js} +13 -6
- package/dist/cdn/chunks/{step-cell-BHW3t6nn.js → step-cell-BN2ZKsQ4.js} +9 -6
- package/dist/cdn/chunks/{stepper-DMlk7A-Y.js → stepper-DuPRMxBx.js} +6 -6
- package/dist/cdn/chunks/{style-map-CNYX1L3t.js → style-map-LFqo5rE_.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BAKkJFgt.js → swatch-picker-BVKCFzpO.js} +6 -5
- package/dist/cdn/chunks/{switch-B3d_1Leh.js → switch-CgUZ0WlQ.js} +11 -10
- package/dist/cdn/chunks/{switch-field-BXJj1PHC.js → switch-field-B4c8-L61.js} +9 -7
- package/dist/cdn/chunks/{tab-bar-C7T0XL0u.js → tab-bar-D-1g8fdF.js} +14 -8
- package/dist/cdn/chunks/{table-CVyPmXfX.js → table-jrJ4EJpq.js} +5 -5
- package/dist/cdn/chunks/{tag-KdbJbRcK.js → tag-JYwa5l-A.js} +11 -6
- package/dist/cdn/chunks/term-NyLmTWnF.js +214 -0
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +3 -0
- package/dist/cdn/chunks/{text-cell-CUH5Tf5F.js → text-cell-BXLFcD_e.js} +21 -18
- package/dist/cdn/chunks/{text-editor-Bsfygq28.js → text-editor-rLc5H6kD.js} +284 -238
- package/dist/cdn/chunks/{text-field-BQxQe0ch.js → text-field-B7M4VwCe.js} +14 -5
- package/dist/cdn/chunks/{text-lQLJJw1m.js → text-gy-gkfSS.js} +19 -34
- package/dist/cdn/chunks/{time-field-kdMQ7qaa.js → time-field-BtQRsvpR.js} +128 -98
- package/dist/cdn/chunks/{time-field.i18n-CLH5vmS7.js → time-field.i18n-BM6qGbmN.js} +0 -1
- package/dist/cdn/chunks/{time-picker-T1bZ4zxP.js → time-picker-BKLwibb9.js} +13 -7
- package/dist/cdn/chunks/{title-yXmufzsm.js → title-DLD3RW7l.js} +15 -34
- package/dist/cdn/chunks/{title-cell-CyJr9OiV.js → title-cell-BCUBuKIO.js} +22 -19
- package/dist/cdn/chunks/{toggle-button-DiZaFEAk.js → toggle-button-Etx8hKQS.js} +13 -7
- package/dist/cdn/chunks/{toggle-button-group-DRai7q0C.js → toggle-button-group-Ph1kcTqj.js} +2 -2
- package/dist/cdn/chunks/{token-C6EudIjw.js → token-BQtumlDT.js} +9 -7
- package/dist/cdn/chunks/{token-field-OCw3wLIW.js → token-field-BrV2RZHi.js} +19 -11
- package/dist/cdn/chunks/{toolbar-item-CI3OVQuq.js → toolbar-item-x-y_AxHu.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-xvfrEhvQ.js → toolbar-title-g47zMdG2.js} +4 -4
- package/dist/cdn/chunks/{toolbar-K5UY_y15.js → toolbar-w_2rxcNu.js} +8 -8
- package/dist/cdn/chunks/{toolbar.styles-BBj5j7Iq.js → toolbar.styles-EP0gu8kg.js} +7 -3
- package/dist/cdn/chunks/{tooltip-B6XDYQNn.js → tooltip-D47hF_iD.js} +49 -36
- package/dist/cdn/chunks/{top-navigation-bar-D7JkgCQi.js → top-navigation-bar-DO7JsQVs.js} +19 -17
- package/dist/cdn/chunks/{top-title-bar-BMSTl1Z7.js → top-title-bar-CVEOoXhu.js} +8 -6
- package/dist/cdn/chunks/translations-eWWV6weF.js +14 -0
- package/dist/cdn/chunks/{two-thirds-one-third-section-Cc1Mh9TT.js → two-thirds-one-third-section-x3dadNwz.js} +3 -3
- package/dist/cdn/chunks/{validation-list-xF6yTpz8.js → validation-list-krcQHzP3.js} +4 -3
- package/dist/cdn/chunks/{visibility-mixin-LkgEnUqn.js → visibility-mixin-CXBa-fVi.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CMo9yGtA.js → visually-hidden-Cd1_FE1J.js} +2 -2
- package/dist/cdn/chunks/{window-CclQ8SHn.js → window-JbrLuRjR.js} +40 -39
- package/dist/cdn/chunks/{with-translations-DdCPcavT.js → with-translations-DhRk5rH-.js} +3 -3
- package/dist/components/actions/button/button.d.ts +11 -2
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +17 -1
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +45 -26
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -2
- package/dist/components/actions/button/button.template.js.map +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 +10 -2
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +18 -1
- package/dist/components/actions/icon-button/icon-button.js.map +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 +35 -20
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.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 +17 -2
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +15 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +59 -2
- 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 +58 -4
- 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 +63 -55
- 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 +7 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +42 -14
- 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/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.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 +7 -2
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/term/term.d.ts +115 -0
- package/dist/components/content/term/term.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.d.ts +5 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.js +5 -0
- package/dist/components/content/term/term.i18n.js.map +1 -0
- package/dist/components/content/term/term.js +256 -0
- package/dist/components/content/term/term.js.map +1 -0
- package/dist/components/content/term/term.styles.d.ts +2 -0
- package/dist/components/content/term/term.styles.d.ts.map +1 -0
- package/dist/components/content/term/term.styles.js +65 -0
- package/dist/components/content/term/term.styles.js.map +1 -0
- package/dist/components/content/term/term.template.d.ts +4 -0
- package/dist/components/content/term/term.template.d.ts.map +1 -0
- package/dist/components/content/term/term.template.js +57 -0
- package/dist/components/content/term/term.template.js.map +1 -0
- 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/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.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.i18n.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +3 -2
- package/dist/components/inputs/date-field/date-field.i18n.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 +11 -1
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.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.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.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.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts +5 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js +17 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js.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.d.ts +21 -6
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts +0 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.js +0 -2
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +69 -13
- package/dist/components/inputs/time-field/time-field.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 +17 -1
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +13 -10
- package/dist/components/inputs/time-field/time-field.template.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 +8 -2
- 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/full-bleed-section/full-bleed-section.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +4 -5
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +4 -5
- 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/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +2 -2
- package/dist/components/layout/page-sections/page-section-controls.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/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +29 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +70 -8
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +18 -2
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.template.js +1 -1
- package/dist/components/layout/popover/popover.template.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.d.ts +8 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +18 -0
- 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 +11 -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.d.ts +12 -4
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts +1 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.js +2 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +18 -4
- package/dist/components/navigation/skip-link/skip-link.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/skip-link/skip-link.template.js +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.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 +2983 -2327
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +6 -2
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +6 -2
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +6 -2
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +4 -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 +6 -2
- 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 +6 -2
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +76 -50
- package/dist/types/vue.d.ts +84 -56
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +1 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +2 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +10 -1
- package/dist/utilities/described-by-mixin.js.map +1 -1
- 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 +154 -54
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/interest-controller.d.ts +80 -0
- package/dist/utilities/interest-controller.d.ts.map +1 -0
- package/dist/utilities/interest-controller.js +339 -0
- package/dist/utilities/interest-controller.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +4 -5
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +10 -13
- 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 +5 -1
- package/dist/cdn/chunks/nl.generated-fkFCex7n.js +0 -112
- package/dist/cdn/chunks/shadow-resets-BeVmf7ky.js +0 -12
- package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +0 -3
- package/dist/cdn/chunks/translations-wxBSz213.js +0 -8
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
+
import { surfaceContent } from '../../../assets/styles/shadow-resets.js';
|
|
2
3
|
export const pageStyles = css `
|
|
3
4
|
:host {
|
|
4
5
|
box-sizing: border-box;
|
|
@@ -8,7 +9,7 @@ export const pageStyles = css `
|
|
|
8
9
|
/* # Host */
|
|
9
10
|
|
|
10
11
|
:host {
|
|
11
|
-
--_page-background-color: var(--context-
|
|
12
|
+
--_page-background-color: var(--context-background-color);
|
|
12
13
|
/* The insets this page arrived with, parked before it adds its own:
|
|
13
14
|
republishing --context-inset-top on the element it reads from would be
|
|
14
15
|
a cycle. */
|
|
@@ -42,13 +43,15 @@ export const pageStyles = css `
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
:host([background="base"]) {
|
|
45
|
-
--context-
|
|
46
|
-
|
|
46
|
+
--context-background-color: var(--semantics-surfaces-base-background-color);
|
|
47
|
+
${surfaceContent}
|
|
48
|
+
--_page-background-color: var(--context-background-color);
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
:host([background="tinted"]) {
|
|
50
|
-
--context-
|
|
51
|
-
|
|
52
|
+
--context-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
53
|
+
${surfaceContent}
|
|
54
|
+
--_page-background-color: var(--context-background-color);
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
/* Overflow hidden prevents content from escaping the scroll wrapper.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page/page.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"page.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page/page.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAEzE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4CzB,cAAc;;;;;;IAMd,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmMjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-footer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"page-footer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,yBAuJ5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,yBA6CpC,CAAC;AAEF,eAAO,MAAM,4BAA4B,yBA+BxC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
import { queryBreakpoints } from '../../../assets/styles/breakpoints.js';
|
|
3
|
-
import { inheritedTextReset } from '../../../assets/styles/shadow-resets.js';
|
|
3
|
+
import { inheritedTextReset, surfaceContent } from '../../../assets/styles/shadow-resets.js';
|
|
4
4
|
const smMax = unsafeCSS(queryBreakpoints.smMax);
|
|
5
5
|
const mdMin = unsafeCSS(queryBreakpoints.mdMin);
|
|
6
6
|
const mdMax = unsafeCSS(queryBreakpoints.mdMax);
|
|
@@ -14,7 +14,8 @@ export const pageFooterStyles = css `
|
|
|
14
14
|
--_page-footer-ribbon-color: var(--semantics-brand-ribbon-color);
|
|
15
15
|
--_page-footer-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-50));
|
|
16
16
|
--_page-footer-divider-color: light-dark(var(--primitives-color-neutral-200), var(--primitives-color-neutral-150));
|
|
17
|
-
--context-
|
|
17
|
+
--context-background-color: var(--_page-footer-background-color);
|
|
18
|
+
${surfaceContent}
|
|
18
19
|
|
|
19
20
|
container-type: inline-size;
|
|
20
21
|
display: block;
|
|
@@ -216,11 +217,13 @@ export const pageFooterLegalBarItemStyles = css `
|
|
|
216
217
|
|
|
217
218
|
.page-footer__legal-bar-item {
|
|
218
219
|
display: inline-flex;
|
|
220
|
+
--context-content-color: var(--_page-footer-legal-bar-item-color);
|
|
219
221
|
color: var(--_page-footer-legal-bar-item-color);
|
|
220
222
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
221
223
|
}
|
|
222
224
|
|
|
223
225
|
.page-footer__legal-bar-item-link {
|
|
226
|
+
--context-content-color: var(--_page-footer-legal-bar-item-color);
|
|
224
227
|
color: var(--_page-footer-legal-bar-item-color);
|
|
225
228
|
text-decoration: underline;
|
|
226
229
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-footer.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"page-footer.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAE7F,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,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;IAU/B,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgCS,KAAK;;;;;2BAKL,KAAK,qBAAqB,KAAK;;;;;2BAK/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA8CL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;2BAML,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B/B,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C1C,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAA;;;;IAI3C,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrB,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-full-bleed-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-full-bleed-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -37,15 +37,14 @@
|
|
|
37
37
|
* below the image. A hero given `height` says so in development.
|
|
38
38
|
*
|
|
39
39
|
* The panel takes the accent color of the theme, closest to its reference
|
|
40
|
-
* color in both modes, with a pure white or black content color
|
|
41
|
-
*
|
|
42
|
-
* contrast. `main-background="base"` gives it the base surface instead. A
|
|
40
|
+
* color in both modes, with a pure white or black content color that it
|
|
41
|
+
* passes on, so the text, links and icons on it keep their contrast. `main-background="base"` gives it the base surface instead. A
|
|
43
42
|
* Rijkshuisstijl color per hero is gone: the theme picks the color for the
|
|
44
43
|
* whole site, and a hero given one says so in development.
|
|
45
44
|
*
|
|
46
45
|
* @element nldd-hero
|
|
47
46
|
*
|
|
48
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
47
|
+
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
49
48
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
50
49
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
51
50
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
@@ -69,7 +68,7 @@
|
|
|
69
68
|
* @accepts img
|
|
70
69
|
* Takes precedence over the media-src attributes. Set `alt=""` when the image is decorative;
|
|
71
70
|
* otherwise give a describing alt text.
|
|
72
|
-
* @slot - Content of the text panel (nldd-title and nldd-rich-text
|
|
71
|
+
* @slot - Content of the text panel (nldd-title and nldd-rich-text, for instance)
|
|
73
72
|
*/
|
|
74
73
|
import { LitElement, type PropertyValues } from 'lit';
|
|
75
74
|
export type HeroMainPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left' | 'right';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":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5B,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAyD/C,qEAAqE;IACrE,OAAO,CAAC,eAAe,CAA+B;IAEtD,OAAO,CAAC,YAAY;IAiBpB,yFAAyF;IACzF,OAAO,CAAC,gBAAgB,CAA+B;IAEvD,OAAO,CAAC,aAAa;IAiBrB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAKrB,4EAA4E;IAC5E,kBAAkB,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAKzB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -43,15 +43,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
43
43
|
* below the image. A hero given `height` says so in development.
|
|
44
44
|
*
|
|
45
45
|
* The panel takes the accent color of the theme, closest to its reference
|
|
46
|
-
* color in both modes, with a pure white or black content color
|
|
47
|
-
*
|
|
48
|
-
* contrast. `main-background="base"` gives it the base surface instead. A
|
|
46
|
+
* color in both modes, with a pure white or black content color that it
|
|
47
|
+
* passes on, so the text, links and icons on it keep their contrast. `main-background="base"` gives it the base surface instead. A
|
|
49
48
|
* Rijkshuisstijl color per hero is gone: the theme picks the color for the
|
|
50
49
|
* whole site, and a hero given one says so in development.
|
|
51
50
|
*
|
|
52
51
|
* @element nldd-hero
|
|
53
52
|
*
|
|
54
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
53
|
+
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
55
54
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
56
55
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
57
56
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
@@ -75,7 +74,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
75
74
|
* @accepts img
|
|
76
75
|
* Takes precedence over the media-src attributes. Set `alt=""` when the image is decorative;
|
|
77
76
|
* otherwise give a describing alt text.
|
|
78
|
-
* @slot - Content of the text panel (nldd-title and nldd-rich-text
|
|
77
|
+
* @slot - Content of the text panel (nldd-title and nldd-rich-text, for instance)
|
|
79
78
|
*/
|
|
80
79
|
import { LitElement } from 'lit';
|
|
81
80
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC5G,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAMlE,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAA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AmMpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,yBAyVtB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
import { queryBreakpoints } from '../../../../assets/styles/breakpoints.js';
|
|
3
|
-
import { inheritedTextReset, slottedReset } from '../../../../assets/styles/shadow-resets.js';
|
|
3
|
+
import { inheritedTextReset, linksFollowContent, slottedReset, surfaceContent } from '../../../../assets/styles/shadow-resets.js';
|
|
4
4
|
const smMax = unsafeCSS(queryBreakpoints.smMax);
|
|
5
5
|
const mdMin = unsafeCSS(queryBreakpoints.mdMin);
|
|
6
6
|
const mdMax = unsafeCSS(queryBreakpoints.mdMax);
|
|
@@ -34,6 +34,7 @@ export const heroStyles = css `
|
|
|
34
34
|
--_hero-main-width: auto;
|
|
35
35
|
--_hero-main-background-color: var(--semantics-surfaces-accent-filled-background-color);
|
|
36
36
|
--_hero-main-content-color: var(--semantics-content-on-accent-filled-color);
|
|
37
|
+
--_hero-main-secondary-color: var(--semantics-content-on-accent-filled-secondary-color);
|
|
37
38
|
--_hero-main-padding: var(--primitives-space-16);
|
|
38
39
|
--_hero-main-inset: var(--primitives-space-0);
|
|
39
40
|
--_hero-sm-main-inset: var(--semantics-page-sections-sm-gap);
|
|
@@ -67,6 +68,10 @@ export const heroStyles = css `
|
|
|
67
68
|
--_hero-main-content-color: var(--semantics-content-color);
|
|
68
69
|
}
|
|
69
70
|
|
|
71
|
+
:host([main-background="base"]) .hero__main {
|
|
72
|
+
${surfaceContent}
|
|
73
|
+
}
|
|
74
|
+
|
|
70
75
|
|
|
71
76
|
/* # Block */
|
|
72
77
|
|
|
@@ -200,10 +205,14 @@ export const heroStyles = css `
|
|
|
200
205
|
/* # Main */
|
|
201
206
|
|
|
202
207
|
.hero__main {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
208
|
+
--context-background-color: var(--_hero-main-background-color);
|
|
209
|
+
--context-content-color: var(--_hero-main-content-color);
|
|
210
|
+
--context-content-secondary-color: var(--_hero-main-secondary-color);
|
|
211
|
+
${linksFollowContent}
|
|
212
|
+
--context-content-accent-color: var(--_hero-main-content-color);
|
|
213
|
+
--context-content-success-color: var(--_hero-main-content-color);
|
|
214
|
+
--context-content-warning-color: var(--_hero-main-content-color);
|
|
215
|
+
--context-content-critical-color: var(--_hero-main-content-color);
|
|
207
216
|
|
|
208
217
|
box-sizing: border-box;
|
|
209
218
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"hero.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAElI,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,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsCzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BlB,cAAc;;;;;;;;;;;;;;;;;;2BAkBS,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;;;;;2BAU/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6CL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B5B,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+BZ,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgCK,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAsDN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA8BL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B9B,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-one-half-one-half-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js
CHANGED
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-one-half-one-half-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-one-third-two-thirds-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-one-third-two-thirds-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -39,8 +39,8 @@ export const pageSectionArgs = {
|
|
|
39
39
|
export const pageSectionArgTypes = {
|
|
40
40
|
background: {
|
|
41
41
|
control: { type: 'select' },
|
|
42
|
-
options: ['inherit', 'base', 'tinted'
|
|
43
|
-
description: 'Oppervlak: "inherit" laat het oppervlak van de ouder doorschijnen, "base"
|
|
42
|
+
options: ['inherit', 'base', 'tinted'],
|
|
43
|
+
description: 'Oppervlak: "inherit" laat het oppervlak van de ouder doorschijnen, "base" en "tinted" tekenen een eigen oppervlak dat naar de inhoud cascadeert',
|
|
44
44
|
table: { defaultValue: { summary: 'inherit' } },
|
|
45
45
|
},
|
|
46
46
|
width: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-section-controls.js","sourceRoot":"","sources":["../../../../src/components/layout/page-sections/page-section-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC9B,OAAO,EACN,SAAS,EACT,SAAS,EACT,QAAQ,GAGR,MAAM,kBAAkB,CAAC;AAE1B,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;IAC/D,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;CACpD,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,WAAmB,EAAE,EAAE,CAAC,CAAC;IAC9D,IAAI;IACJ,OAAO,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE;IACpC,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzB,WAAW;IACX,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;CAC9C,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,UAAU,EAAE,SAAS;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,EAAE;IAChB,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,UAAU,EAAE;QACX,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"page-section-controls.js","sourceRoot":"","sources":["../../../../src/components/layout/page-sections/page-section-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC9B,OAAO,EACN,SAAS,EACT,SAAS,EACT,QAAQ,GAGR,MAAM,kBAAkB,CAAC;AAE1B,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG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|
|
15
15
|
* any chrome (a button, a chosen-filters bar, …) wherever you want, show it only
|
|
16
|
-
* while collapsed
|
|
17
|
-
* reading `collapsed` / listening to `collapse-change`), and call `show()` /
|
|
16
|
+
* while collapsed with `sidebar-section-only="collapsed"` on it, and call `show()` /
|
|
18
17
|
* `toggle()` to open the sheet. Bind `aria-expanded` via the `open`/`close` events.
|
|
19
18
|
* The sheet gets a sticky title bar by default — the `sidebar-label` as title plus a
|
|
20
19
|
* "Sluit" button — overridable via the `sheet-top-title-bar` slot.
|
|
@@ -44,6 +43,7 @@
|
|
|
44
43
|
* Inherits block `padding` and `height` from PageSectionMixin.
|
|
45
44
|
*
|
|
46
45
|
* @element nldd-sidebar-section
|
|
46
|
+
* @descendantattr {'collapsed'|'expanded'} sidebar-section-only - Set on anything inside the section, at any depth: shows that element only while the sidebar is a sheet (`collapsed`), such as the button that opens it, or only while it is a box beside the main (`expanded`), such as a heading the sheet's title bar repeats. Put it on an nldd-spacer next to such an element too, so the space goes with it.
|
|
47
47
|
*
|
|
48
48
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint; any CSS length overrides the default.
|
|
49
49
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAQtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,sBAAsB,CAAC;AAC9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oDAAoD,CAAC;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sidebar-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAQtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,sBAAsB,CAAC;AAC9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oDAAoD,CAAC;;;;;;;;;;;;;;;;;;;AAuB5D,qBACa,kBAAmB,SAAQ,uBAA4B;IACnE,OAAgB,MAAM,4BAAuD;IAG7E,KAAK,SAAM;IAGX,YAAY,SAAM;IAElB,yGAAyG;IAEzG,YAAY,EAAE,OAAO,CAAC,OAAO,8BAA8B,CAAC,CAAM;IAGlE,UAAU,UAAS;IAGnB,SAAS,SAAM;IAGf,YAAY,SAAM;IAGlB,SAAS,UAAS;IAGlB,OAAO,CAAC,MAAM,CAAC,CAAY;IAE3B,OAAO,CAAC,GAAG,CAAC,CAAiB;IAC7B,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,UAAU,CAAS;IAE3B,IAAI,qBAAqB,IAAI,MAAM,CAElC;IAED,qEAAqE;IACrE,IAAI,iBAAiB,IAAI,MAAM,CAE9B;IAED,OAAO,CAAC,EAAE;IAID,iBAAiB,IAAI,IAAI;IAUzB,oBAAoB,IAAI,IAAI;IAS5B,YAAY,IAAI,IAAI;IAM7B,OAAO,CAAC,SAAS,CAOf;IAEF,OAAO,CAAC,eAAe;IAcd,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAoB/C,OAAO,CAAC,WAAW;IAQnB,iFAAiF;IACjF,IAAI,IAAI,IAAI;IAKZ,gCAAgC;IAChC,IAAI,IAAI,IAAI;IAIZ,sDAAsD;IACtD,MAAM,IAAI,IAAI;IAMd,mFAAmF;IACnF,OAAO,CAAC,QAAQ,CA4Bd;IAEF,OAAO,CAAC,YAAY,CAAC,CAAkB;IAEvC,OAAO,CAAC,UAAU;IAMlB,YAAY,QAAO,IAAI,CAIrB;IACF,aAAa,QAAO,IAAI,CAAiC;IAEhD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,sBAAsB,EAAE,kBAAkB,CAAC;KAC3C;CACD"}
|
|
@@ -19,8 +19,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
* md+ viewports, a bottom sheet on mobile), and the host reflects a `collapsed`
|
|
20
20
|
* attribute. The consumer owns the trigger: place
|
|
21
21
|
* any chrome (a button, a chosen-filters bar, …) wherever you want, show it only
|
|
22
|
-
* while collapsed
|
|
23
|
-
* reading `collapsed` / listening to `collapse-change`), and call `show()` /
|
|
22
|
+
* while collapsed with `sidebar-section-only="collapsed"` on it, and call `show()` /
|
|
24
23
|
* `toggle()` to open the sheet. Bind `aria-expanded` via the `open`/`close` events.
|
|
25
24
|
* The sheet gets a sticky title bar by default — the `sidebar-label` as title plus a
|
|
26
25
|
* "Sluit" button — overridable via the `sheet-top-title-bar` slot.
|
|
@@ -50,6 +49,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
50
49
|
* Inherits block `padding` and `height` from PageSectionMixin.
|
|
51
50
|
*
|
|
52
51
|
* @element nldd-sidebar-section
|
|
52
|
+
* @descendantattr {'collapsed'|'expanded'} sidebar-section-only - Set on anything inside the section, at any depth: shows that element only while the sidebar is a sheet (`collapsed`), such as the button that opens it, or only while it is a box beside the main (`expanded`), such as a heading the sheet's title bar repeats. Put it on an nldd-spacer next to such an element too, so the space goes with it.
|
|
53
53
|
*
|
|
54
54
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint; any CSS length overrides the default.
|
|
55
55
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -88,6 +88,24 @@ import '../../page/page.js';
|
|
|
88
88
|
import '../../../navigation/top-title-bar/top-title-bar.js';
|
|
89
89
|
import { translate } from '../../../../utilities/translations.js';
|
|
90
90
|
import { focusTemporarily, hashTarget, samePageHash } from '../../../../utilities/focus-target.js';
|
|
91
|
+
/**
|
|
92
|
+
* `sidebar-section-only` sits on elements in the light DOM, at any depth, which the
|
|
93
|
+
* section's own styles cannot reach. So the rule goes into the tree the section is
|
|
94
|
+
* in, once, and needs no stylesheet from the app.
|
|
95
|
+
*/
|
|
96
|
+
const onlyRule = typeof CSSStyleSheet === 'undefined' ? null : new CSSStyleSheet();
|
|
97
|
+
onlyRule?.replaceSync(`
|
|
98
|
+
nldd-sidebar-section:not([collapsed]) [sidebar-section-only="collapsed"],
|
|
99
|
+
nldd-sidebar-section[collapsed] [sidebar-section-only="expanded"] {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
`);
|
|
103
|
+
function adoptOnlyRule(root) {
|
|
104
|
+
if (!onlyRule || !(root instanceof Document || root instanceof ShadowRoot))
|
|
105
|
+
return;
|
|
106
|
+
if (!root.adoptedStyleSheets.includes(onlyRule))
|
|
107
|
+
root.adoptedStyleSheets = [...root.adoptedStyleSheets, onlyRule];
|
|
108
|
+
}
|
|
91
109
|
let NLDDSidebarSection = class NLDDSidebarSection extends PageSectionMixin(LitElement) {
|
|
92
110
|
constructor() {
|
|
93
111
|
super(...arguments);
|
|
@@ -167,6 +185,7 @@ let NLDDSidebarSection = class NLDDSidebarSection extends PageSectionMixin(LitEl
|
|
|
167
185
|
}
|
|
168
186
|
connectedCallback() {
|
|
169
187
|
super.connectedCallback();
|
|
188
|
+
adoptOnlyRule(this.getRootNode());
|
|
170
189
|
// Collapse on the section's OWN width, not the viewport, so it adapts to
|
|
171
190
|
// whatever space it's placed in (a narrow column, a split-view pane, …).
|
|
172
191
|
this._ro = new ResizeObserver(this._onResize);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC5G,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,sBAAsB,CAAC;AAC9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oDAAoD,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"sidebar-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAA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AS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;wDAChF;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qDACzB;AAGV;IADP,KAAK,CAAC,yBAAyB,CAAC;kDACN;AA1Bf,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CA4L9B"}
|
|
@@ -36,7 +36,7 @@ export const sidebarSectionStyles = css `
|
|
|
36
36
|
--_sidebar-section-sticky-top: calc(var(--context-inset-top, 0px) + var(--primitives-space-24));
|
|
37
37
|
--_sidebar-section-sticky-bottom: calc(var(--context-inset-bottom, 0px) + var(--primitives-space-24));
|
|
38
38
|
--_sidebar-section-width: var(--primitives-area-320);
|
|
39
|
-
--_sidebar-section-sidebar-box-background-color: var(--context-
|
|
39
|
+
--_sidebar-section-sidebar-box-background-color: var(--context-background-color);
|
|
40
40
|
--_sidebar-section-sidebar-box-border-color: var(--semantics-dividers-color);
|
|
41
41
|
|
|
42
42
|
display: flex;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
* @element nldd-simple-section
|
|
17
17
|
*
|
|
18
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
18
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
19
19
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
20
20
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
21
21
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -21,7 +21,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
*
|
|
22
22
|
* @element nldd-simple-section
|
|
23
23
|
*
|
|
24
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
24
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
25
25
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
26
26
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
27
27
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-two-thirds-one-third-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-two-thirds-one-third-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
* For a custom focus target inside the popover, put `autofocus` on the child you
|
|
25
25
|
* want. Without it the popover host itself takes focus.
|
|
26
26
|
*
|
|
27
|
+
* Content taller than the room the window leaves scrolls in the popover, with
|
|
28
|
+
* a fade at the edge where more content waits: at the bottom while you can
|
|
29
|
+
* scroll down, at the top once you have scrolled.
|
|
30
|
+
*
|
|
27
31
|
* On md and up the popover closes with Escape or a click outside it, and that
|
|
28
32
|
* click goes on to what it lands on, as with any native popover: the page has
|
|
29
33
|
* no backdrop and stays in use, so a click on another control does what it
|
|
@@ -32,6 +36,15 @@
|
|
|
32
36
|
* is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education
|
|
33
37
|
* is the exception, a manual popover that stays until it is dismissed.
|
|
34
38
|
*
|
|
39
|
+
* In the `interest` slot of an nldd-button or nldd-icon-button, or named by
|
|
40
|
+
* `interestfor` on those or on an nldd-link, the popover describes that control
|
|
41
|
+
* instead: it opens when the pointer rests on the control, when the control
|
|
42
|
+
* gets keyboard focus, and on a long press on touch, and the control keeps its
|
|
43
|
+
* own click. Focus stays on the control, the control gets no expanded state,
|
|
44
|
+
* and the popover's content is read as its description. It holds information
|
|
45
|
+
* only, no link or button. In the slot it needs no `accessible-label`; one that
|
|
46
|
+
* `interestfor` names keeps its label, which is left out while it describes.
|
|
47
|
+
*
|
|
35
48
|
* On sm the popover is a bottom sheet with a dimmed backdrop, which closes with
|
|
36
49
|
* Escape or a tap outside it, and slides down as it goes. It is a manual popover
|
|
37
50
|
* there and closes itself, so a close request from the system, such as the back
|
|
@@ -94,6 +107,19 @@ export declare class NLDDPopover extends LitElement {
|
|
|
94
107
|
private _isOpen;
|
|
95
108
|
/** True when this popover picks its own popover mode: the consumer set none. */
|
|
96
109
|
private _managesMode;
|
|
110
|
+
/** True when this popover set its own role: the consumer set none. */
|
|
111
|
+
private _managesRole;
|
|
112
|
+
private _interestMode;
|
|
113
|
+
/**
|
|
114
|
+
* Set by the control this popover opens on interest for, from its
|
|
115
|
+
* `interest` slot or `interestfor` (see InterestController). The popover
|
|
116
|
+
* then describes that control: it opens on hover, focus or a long press,
|
|
117
|
+
* leaves focus where it is, and puts no disclosure state on the control.
|
|
118
|
+
* Not an attribute of its own: it follows from the control.
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
get _interest(): boolean;
|
|
122
|
+
set _interest(value: boolean);
|
|
97
123
|
/** Set while the sm bottom sheet slides down before it really closes. */
|
|
98
124
|
private _closing;
|
|
99
125
|
private _closingTimer;
|
|
@@ -115,6 +141,9 @@ export declare class NLDDPopover extends LitElement {
|
|
|
115
141
|
updated(changed: PropertyValues): void;
|
|
116
142
|
private _t;
|
|
117
143
|
get _resolvedAccessibleLabel(): string;
|
|
144
|
+
/** As a description its content is what is read, and a label would take
|
|
145
|
+
* its place: the control would be described as "Popover". */
|
|
146
|
+
private _syncLabel;
|
|
118
147
|
show(): void;
|
|
119
148
|
private _handleDismiss;
|
|
120
149
|
hide(): void;
|