@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,17 +1,17 @@
|
|
|
1
|
-
import { i as e, n as t, t as n } from "./custom-element-
|
|
1
|
+
import { i as e, n as t, t as n } from "./custom-element-BVKCDhPV.js";
|
|
2
2
|
import { t as r } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import { $ as i, A as a, B as o, O as s, P as c,
|
|
4
|
-
import { t as
|
|
5
|
-
import { o as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./tooltip-
|
|
10
|
-
import { t as
|
|
11
|
-
import { r as
|
|
12
|
-
import { t as
|
|
3
|
+
import { $ as i, A as a, B as o, O as s, P as c, U as l, Z as u, i as d, j as f, r as p, rt as m, t as h, z as g } from "./languages-Dlh_tbAH.js";
|
|
4
|
+
import { t as _ } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { o as v, r as y, t as b } from "./decorate-CK3hc5C5.js";
|
|
6
|
+
import { t as x } from "./shadow-resets-CRBumQjX.js";
|
|
7
|
+
import { t as S } from "./code-viewer.i18n-BHfSDRbK.js";
|
|
8
|
+
import "./icon-button-CFMhdG1B.js";
|
|
9
|
+
import "./tooltip-D47hF_iD.js";
|
|
10
|
+
import { t as C } from "./translations-eWWV6weF.js";
|
|
11
|
+
import { r as w } from "./element-state-B-44fVqq.js";
|
|
12
|
+
import { t as T } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
// src/components/content/code-viewer/code-viewer.styles.ts
|
|
14
|
-
var
|
|
14
|
+
var E = e`
|
|
15
15
|
:host {
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
@@ -46,14 +46,14 @@ var T = e`
|
|
|
46
46
|
--_code-viewer-diff-removed-word-background-color: light-dark(var(--primitives-color-critical-250), var(--primitives-color-critical-450));
|
|
47
47
|
--_code-viewer-diff-removed-word-content-color: light-dark(var(--primitives-color-critical-1000), var(--primitives-color-critical-975));
|
|
48
48
|
--_code-viewer-diff-removed-sign-color: light-dark(var(--primitives-color-critical-750), var(--primitives-color-critical-800));
|
|
49
|
-
--_code-viewer-
|
|
49
|
+
--_code-viewer-gutter-color: var(--semantics-content-secondary-color);
|
|
50
50
|
--_code-viewer-diff-row-content-color: light-dark(var(--primitives-color-neutral-950), var(--primitives-color-neutral-975));
|
|
51
51
|
--_code-viewer-diff-row-number-color: light-dark(var(--primitives-color-neutral-750), var(--primitives-color-neutral-850));
|
|
52
|
-
--_code-viewer-
|
|
52
|
+
--_code-viewer-gutter-inline-padding: var(--primitives-space-8);
|
|
53
53
|
--_code-viewer-gutter-border-width: var(--semantics-dividers-thickness);
|
|
54
54
|
--_code-viewer-gutter-border-color: var(--semantics-dividers-color);
|
|
55
55
|
|
|
56
|
-
${
|
|
56
|
+
${x}
|
|
57
57
|
display: flex;
|
|
58
58
|
max-width: 100%;
|
|
59
59
|
position: relative;
|
|
@@ -97,6 +97,7 @@ var T = e`
|
|
|
97
97
|
flex-grow: 1;
|
|
98
98
|
flex-shrink: 1;
|
|
99
99
|
flex-basis: auto;
|
|
100
|
+
--context-content-color: var(--_code-viewer-content-color);
|
|
100
101
|
color: var(--_code-viewer-content-color);
|
|
101
102
|
font: var(--_code-viewer-font);
|
|
102
103
|
}
|
|
@@ -168,6 +169,26 @@ var T = e`
|
|
|
168
169
|
tab-size: 2;
|
|
169
170
|
}
|
|
170
171
|
|
|
172
|
+
/* # Line numbers */
|
|
173
|
+
|
|
174
|
+
:host([line-numbers]:not([diff])) .code-viewer .cm-scroller .cm-content {
|
|
175
|
+
padding-left: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:host([line-numbers]:not([diff])) .cm-line {
|
|
179
|
+
padding-left: var(--_code-viewer-gutter-inline-padding);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:host([line-numbers]:not([diff])) .cm-gutters {
|
|
183
|
+
--context-content-color: var(--_code-viewer-gutter-color);
|
|
184
|
+
color: var(--_code-viewer-gutter-color);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host([line-numbers]:not([diff])) .cm-lineNumbers .cm-gutterElement {
|
|
188
|
+
padding-inline: var(--_code-viewer-inline-padding) var(--_code-viewer-gutter-inline-padding);
|
|
189
|
+
text-align: right;
|
|
190
|
+
}
|
|
191
|
+
|
|
171
192
|
/* # Diff */
|
|
172
193
|
|
|
173
194
|
:host([diff]) .code-viewer .cm-scroller .cm-content {
|
|
@@ -175,7 +196,7 @@ var T = e`
|
|
|
175
196
|
}
|
|
176
197
|
|
|
177
198
|
:host([diff]) .cm-line {
|
|
178
|
-
padding-inline: var(--_code-viewer-
|
|
199
|
+
padding-inline: var(--_code-viewer-gutter-inline-padding) var(--_code-viewer-inline-padding);
|
|
179
200
|
}
|
|
180
201
|
|
|
181
202
|
:host([diff]:not([no-copy]):not([copy-unavailable])) .code-viewer .cm-scroller .cm-content {
|
|
@@ -197,11 +218,12 @@ var T = e`
|
|
|
197
218
|
}
|
|
198
219
|
|
|
199
220
|
:host([diff]) .cm-gutters {
|
|
200
|
-
color: var(--_code-viewer-
|
|
221
|
+
--context-content-color: var(--_code-viewer-gutter-color);
|
|
222
|
+
color: var(--_code-viewer-gutter-color);
|
|
201
223
|
}
|
|
202
224
|
|
|
203
225
|
:host([diff]) .cm-diff-gutter .cm-gutterElement {
|
|
204
|
-
padding-inline: var(--_code-viewer-
|
|
226
|
+
padding-inline: var(--_code-viewer-gutter-inline-padding) 0;
|
|
205
227
|
text-align: right;
|
|
206
228
|
}
|
|
207
229
|
|
|
@@ -210,13 +232,14 @@ var T = e`
|
|
|
210
232
|
}
|
|
211
233
|
|
|
212
234
|
:host([diff]) .cm-diff-sign-gutter .cm-gutterElement {
|
|
213
|
-
padding-inline: var(--_code-viewer-
|
|
235
|
+
padding-inline: var(--_code-viewer-gutter-inline-padding);
|
|
214
236
|
text-align: center;
|
|
215
237
|
}
|
|
216
238
|
|
|
217
239
|
/* A diff row is three steps from the tinted surface (25 to 100, 75 to 200), so
|
|
218
240
|
its text takes three steps more as well. Only on the row. */
|
|
219
241
|
:host([diff]) .cm-line:is(.cm-diff-added, .cm-diff-removed) {
|
|
242
|
+
--context-content-color: var(--_code-viewer-diff-row-content-color);
|
|
220
243
|
color: var(--_code-viewer-diff-row-content-color);
|
|
221
244
|
--semantics-code-syntax-comment-color: light-dark(var(--primitives-color-neutral-750), var(--primitives-color-neutral-850));
|
|
222
245
|
--semantics-code-syntax-punctuation-color: light-dark(var(--primitives-color-neutral-950), var(--primitives-color-neutral-975));
|
|
@@ -246,6 +269,7 @@ var T = e`
|
|
|
246
269
|
}
|
|
247
270
|
|
|
248
271
|
:is(.cm-diff-old-gutter, .cm-diff-new-gutter) .cm-gutterElement:is(.cm-diff-added, .cm-diff-removed) {
|
|
272
|
+
--context-content-color: var(--_code-viewer-diff-row-number-color);
|
|
249
273
|
color: var(--_code-viewer-diff-row-number-color);
|
|
250
274
|
}
|
|
251
275
|
|
|
@@ -257,11 +281,13 @@ var T = e`
|
|
|
257
281
|
|
|
258
282
|
.cm-diff-sign-gutter .cm-diff-added {
|
|
259
283
|
background-image: linear-gradient(var(--_code-viewer-diff-added-word-background-color), var(--_code-viewer-diff-added-word-background-color));
|
|
284
|
+
--context-content-color: var(--_code-viewer-diff-added-sign-color);
|
|
260
285
|
color: var(--_code-viewer-diff-added-sign-color);
|
|
261
286
|
}
|
|
262
287
|
|
|
263
288
|
.cm-diff-sign-gutter .cm-diff-removed {
|
|
264
289
|
background-image: linear-gradient(var(--_code-viewer-diff-removed-word-background-color), var(--_code-viewer-diff-removed-word-background-color));
|
|
290
|
+
--context-content-color: var(--_code-viewer-diff-removed-sign-color);
|
|
265
291
|
color: var(--_code-viewer-diff-removed-sign-color);
|
|
266
292
|
}
|
|
267
293
|
|
|
@@ -272,6 +298,7 @@ var T = e`
|
|
|
272
298
|
|
|
273
299
|
.cm-diff-added-word,
|
|
274
300
|
.cm-diff-added-word * {
|
|
301
|
+
--context-content-color: var(--_code-viewer-diff-added-word-content-color);
|
|
275
302
|
color: var(--_code-viewer-diff-added-word-content-color);
|
|
276
303
|
}
|
|
277
304
|
|
|
@@ -282,12 +309,14 @@ var T = e`
|
|
|
282
309
|
|
|
283
310
|
.cm-diff-removed-word,
|
|
284
311
|
.cm-diff-removed-word * {
|
|
312
|
+
--context-content-color: var(--_code-viewer-diff-removed-word-content-color);
|
|
285
313
|
color: var(--_code-viewer-diff-removed-word-content-color);
|
|
286
314
|
}
|
|
287
315
|
|
|
288
316
|
.cm-diff-hunk {
|
|
289
|
-
padding-inline: var(--_code-viewer-
|
|
290
|
-
color: var(--_code-viewer-
|
|
317
|
+
padding-inline: var(--_code-viewer-gutter-inline-padding) var(--_code-viewer-inline-padding);
|
|
318
|
+
--context-content-color: var(--_code-viewer-gutter-color);
|
|
319
|
+
color: var(--_code-viewer-gutter-color);
|
|
291
320
|
}
|
|
292
321
|
|
|
293
322
|
.cm-diff-line-label,
|
|
@@ -344,9 +373,9 @@ var T = e`
|
|
|
344
373
|
}
|
|
345
374
|
`;
|
|
346
375
|
// src/components/content/code-viewer/code-viewer.template.ts
|
|
347
|
-
function
|
|
376
|
+
function D(e) {
|
|
348
377
|
let t = e._copyState, n = t === "success" ? e._t("components.code-viewer.copy-success-text") : t === "failure" ? e._t("components.code-viewer.copy-failure-text") : e._t("components.code-viewer.copy-action"), r = n, i = t === "success" ? e._t("components.code-viewer.copy-success-text") : t === "failure" ? e._t("components.code-viewer.copy-failure-text") : "", a = e._diffSummary;
|
|
349
|
-
return
|
|
378
|
+
return v`<div class="code-viewer">${a ? v`<div class="code-viewer__diff-summary">${a}</div>` : y}<div class="code-viewer__codemirror"></div><slot @slotchange=${e._onSlotChange}></slot>${e._canCopy ? v`
|
|
350
379
|
<div class="code-viewer__actions">
|
|
351
380
|
<div class="code-viewer__copy-button">
|
|
352
381
|
<nldd-tooltip
|
|
@@ -354,6 +383,8 @@ function E(e) {
|
|
|
354
383
|
placement="left"
|
|
355
384
|
?open=${t !== "idle"}
|
|
356
385
|
@dismiss=${e._onCopyDismiss}
|
|
386
|
+
@pointerenter=${e._onCopyPointerEnter}
|
|
387
|
+
@pointerleave=${e._onCopyPointerLeave}
|
|
357
388
|
>
|
|
358
389
|
<nldd-icon-button
|
|
359
390
|
icon=${t === "success" ? "check-mark" : "copy"}
|
|
@@ -370,26 +401,26 @@ function E(e) {
|
|
|
370
401
|
aria-live="polite"
|
|
371
402
|
>${i}</div>
|
|
372
403
|
</div>
|
|
373
|
-
` :
|
|
404
|
+
` : y}</div>`;
|
|
374
405
|
}
|
|
375
406
|
// src/components/content/code-viewer/code-viewer.diff.ts
|
|
376
|
-
var
|
|
377
|
-
function
|
|
407
|
+
var O = /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/, k = /^(diff |index |--- |\+\+\+ |new file|deleted file|similarity |rename |old mode|new mode)/;
|
|
408
|
+
function A(e) {
|
|
378
409
|
let t = 0;
|
|
379
|
-
for (; t < e.length &&
|
|
410
|
+
for (; t < e.length && k.test(e[t]);) t++;
|
|
380
411
|
let n = e.slice(0, t);
|
|
381
412
|
return n.some((e, t) => e.startsWith("--- ") && n[t + 1]?.startsWith("+++ ")) ? e.slice(t) : e;
|
|
382
413
|
}
|
|
383
|
-
function
|
|
384
|
-
let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) =>
|
|
414
|
+
function j(e) {
|
|
415
|
+
let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) => O.test(e)), r = n ? t : A(t), i = [], a = 1, o = 1, s = n ? 0 : Infinity, c = n ? 0 : Infinity, l = null, u = 0, d = 0, f = !1, p = 0;
|
|
385
416
|
for (let e of r) {
|
|
386
|
-
let t =
|
|
417
|
+
let t = O.exec(e);
|
|
387
418
|
if (t) {
|
|
388
419
|
a = Number(t[1]), s = t[2] === void 0 ? 1 : Number(t[2]), o = Number(t[3]), c = t[4] === void 0 ? 1 : Number(t[4]), l = e, f = !0;
|
|
389
420
|
continue;
|
|
390
421
|
}
|
|
391
422
|
if (s <= 0 && c <= 0) {
|
|
392
|
-
f && e !== "" && !e.startsWith("\\") && !
|
|
423
|
+
f && e !== "" && !e.startsWith("\\") && !k.test(e) && p++;
|
|
393
424
|
continue;
|
|
394
425
|
}
|
|
395
426
|
if (e.startsWith("\\")) continue;
|
|
@@ -422,7 +453,7 @@ function A(e) {
|
|
|
422
453
|
dropped: p
|
|
423
454
|
};
|
|
424
455
|
}
|
|
425
|
-
function
|
|
456
|
+
function M(e) {
|
|
426
457
|
let t = [], n = 0;
|
|
427
458
|
for (; n < e.length;) {
|
|
428
459
|
if (e[n].kind !== "removed") {
|
|
@@ -437,7 +468,7 @@ function j(e) {
|
|
|
437
468
|
}
|
|
438
469
|
return t;
|
|
439
470
|
}
|
|
440
|
-
var
|
|
471
|
+
var N = class extends f {
|
|
441
472
|
constructor(e) {
|
|
442
473
|
super(), this.text = e;
|
|
443
474
|
}
|
|
@@ -447,14 +478,14 @@ var M = class extends d {
|
|
|
447
478
|
toDOM() {
|
|
448
479
|
return document.createTextNode(this.text);
|
|
449
480
|
}
|
|
450
|
-
},
|
|
481
|
+
}, P = class extends f {
|
|
451
482
|
constructor(e) {
|
|
452
483
|
super(), this.className = e, this.elementClass = e;
|
|
453
484
|
}
|
|
454
485
|
eq(e) {
|
|
455
486
|
return e.className === this.className;
|
|
456
487
|
}
|
|
457
|
-
},
|
|
488
|
+
}, F = class extends c {
|
|
458
489
|
constructor(e) {
|
|
459
490
|
super(), this.text = e;
|
|
460
491
|
}
|
|
@@ -465,7 +496,7 @@ var M = class extends d {
|
|
|
465
496
|
let e = document.createElement("span");
|
|
466
497
|
return e.className = "cm-diff-line-label", e.textContent = `${this.text}: `, e;
|
|
467
498
|
}
|
|
468
|
-
},
|
|
499
|
+
}, I = class extends c {
|
|
469
500
|
constructor(e) {
|
|
470
501
|
super(), this.header = e;
|
|
471
502
|
}
|
|
@@ -476,112 +507,112 @@ var M = class extends d {
|
|
|
476
507
|
let e = document.createElement("div");
|
|
477
508
|
return e.className = "cm-diff-hunk", e.setAttribute("aria-hidden", "true"), e.textContent = this.header, e;
|
|
478
509
|
}
|
|
479
|
-
},
|
|
510
|
+
}, L = {
|
|
480
511
|
added: "cm-diff-added",
|
|
481
512
|
removed: "cm-diff-removed",
|
|
482
513
|
context: "cm-diff-context"
|
|
483
|
-
},
|
|
514
|
+
}, R = {
|
|
484
515
|
added: "+",
|
|
485
516
|
removed: "−",
|
|
486
517
|
context: ""
|
|
487
518
|
};
|
|
488
|
-
function
|
|
519
|
+
function z(e) {
|
|
489
520
|
let t = [], n = 0;
|
|
490
521
|
for (let r of e) t.push(n), n += r.text.length + 1;
|
|
491
522
|
return t;
|
|
492
523
|
}
|
|
493
|
-
function
|
|
524
|
+
function B(e, t) {
|
|
494
525
|
let { lines: n } = e;
|
|
495
526
|
if (n.length === 0) return [];
|
|
496
|
-
let r =
|
|
527
|
+
let r = z(n), i = [], c = [];
|
|
497
528
|
n.forEach((e, n) => {
|
|
498
529
|
let a = r[n];
|
|
499
530
|
e.hunk && i.push(s.widget({
|
|
500
|
-
widget: new
|
|
531
|
+
widget: new I(e.hunk),
|
|
501
532
|
block: !0,
|
|
502
533
|
side: -1
|
|
503
|
-
}).range(a)), i.push(s.line({ class:
|
|
504
|
-
widget: new
|
|
534
|
+
}).range(a)), i.push(s.line({ class: L[e.kind] }).range(a)), e.kind === "added" && i.push(s.widget({
|
|
535
|
+
widget: new F(t.addedLine(e.newNumber)),
|
|
505
536
|
side: -1
|
|
506
537
|
}).range(a)), e.kind === "removed" && i.push(s.widget({
|
|
507
|
-
widget: new
|
|
538
|
+
widget: new F(t.removedLine(e.oldNumber)),
|
|
508
539
|
side: -1
|
|
509
|
-
}).range(a)), c.push(new
|
|
540
|
+
}).range(a)), c.push(new P(L[e.kind]).range(a));
|
|
510
541
|
});
|
|
511
|
-
let l = (e, t) => n[e.state.doc.lineAt(t.from).number - 1], u = (e) => String(n.reduce((t, n) => Math.max(t, e(n) ?? 0), 0)), d = (e, t) =>
|
|
542
|
+
let l = (e, t) => n[e.state.doc.lineAt(t.from).number - 1], u = (e) => String(n.reduce((t, n) => Math.max(t, e(n) ?? 0), 0)), d = (e, t) => g({
|
|
512
543
|
class: `cm-diff-gutter cm-diff-${e}-gutter`,
|
|
513
544
|
lineMarker: (e, n) => {
|
|
514
545
|
let r = l(e, n), i = r ? t(r) : null;
|
|
515
|
-
return i === null ? null : new
|
|
546
|
+
return i === null ? null : new N(String(i));
|
|
516
547
|
},
|
|
517
|
-
initialSpacer: () => new
|
|
548
|
+
initialSpacer: () => new N(u(t))
|
|
518
549
|
});
|
|
519
550
|
return [
|
|
520
551
|
a.decorations.of(s.set(i, !0)),
|
|
521
|
-
o.of(
|
|
552
|
+
o.of(m.of(c, !0)),
|
|
522
553
|
d("old", (e) => e.oldNumber),
|
|
523
554
|
d("new", (e) => e.newNumber),
|
|
524
|
-
|
|
555
|
+
g({
|
|
525
556
|
class: "cm-diff-gutter cm-diff-sign-gutter",
|
|
526
557
|
lineMarker: (e, t) => {
|
|
527
558
|
let n = l(e, t);
|
|
528
|
-
return n && n.kind !== "context" ? new
|
|
559
|
+
return n && n.kind !== "context" ? new N(R[n.kind]) : null;
|
|
529
560
|
},
|
|
530
|
-
initialSpacer: () => new
|
|
561
|
+
initialSpacer: () => new N("+")
|
|
531
562
|
})
|
|
532
563
|
];
|
|
533
564
|
}
|
|
534
|
-
var
|
|
535
|
-
async function
|
|
536
|
-
let t =
|
|
565
|
+
var V = .5, H = s.mark({ class: "cm-diff-removed-word" }), U = s.mark({ class: "cm-diff-added-word" });
|
|
566
|
+
async function W(e) {
|
|
567
|
+
let t = M(e.lines);
|
|
537
568
|
if (t.length === 0) return [];
|
|
538
|
-
let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r =
|
|
569
|
+
let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r = z(e.lines), i = [];
|
|
539
570
|
for (let [a, o] of t) {
|
|
540
571
|
let t = e.lines[a].text, s = e.lines[o].text, c = n(t, s);
|
|
541
|
-
if (c.length !== 0 && !(c.reduce((e, t) => e + t.toA - t.fromA, 0) + c.reduce((e, t) => e + t.toB - t.fromB, 0) > (t.length + s.length) *
|
|
572
|
+
if (c.length !== 0 && !(c.reduce((e, t) => e + t.toA - t.fromA, 0) + c.reduce((e, t) => e + t.toB - t.fromB, 0) > (t.length + s.length) * V)) for (let e of c) e.toA > e.fromA && i.push(H.range(r[a] + e.fromA, r[a] + e.toA)), e.toB > e.fromB && i.push(U.range(r[o] + e.fromB, r[o] + e.toB));
|
|
542
573
|
}
|
|
543
574
|
return i.length ? a.decorations.of(s.set(i, !0)) : [];
|
|
544
575
|
}
|
|
545
576
|
// src/utilities/color-scheme-repaint.ts
|
|
546
|
-
var
|
|
547
|
-
function
|
|
548
|
-
|
|
577
|
+
var G = /* @__PURE__ */ new Set(), K = null;
|
|
578
|
+
function q() {
|
|
579
|
+
K || (K = new MutationObserver((e) => {
|
|
549
580
|
for (let t of e) if (t.attributeName === "data-scheme") {
|
|
550
|
-
for (let e of
|
|
581
|
+
for (let e of G) e();
|
|
551
582
|
return;
|
|
552
583
|
}
|
|
553
|
-
}),
|
|
584
|
+
}), K.observe(document.documentElement, {
|
|
554
585
|
attributes: !0,
|
|
555
586
|
attributeFilter: ["data-scheme"]
|
|
556
587
|
}));
|
|
557
588
|
}
|
|
558
|
-
function
|
|
559
|
-
return
|
|
560
|
-
|
|
589
|
+
function J(e) {
|
|
590
|
+
return q(), G.add(e), () => {
|
|
591
|
+
G.delete(e), G.size === 0 && (K?.disconnect(), K = null);
|
|
561
592
|
};
|
|
562
593
|
}
|
|
563
|
-
function
|
|
594
|
+
function Y(e) {
|
|
564
595
|
let t = e.scrollLeft, n = e.scrollTop, r = e.style.display;
|
|
565
596
|
e.style.display = "none", e.offsetHeight, e.style.display = r, e.scrollLeft = t, e.scrollTop = n;
|
|
566
597
|
}
|
|
567
598
|
// src/components/content/code-viewer/code-viewer.ts
|
|
568
|
-
var
|
|
569
|
-
function
|
|
599
|
+
var X, Z = 300;
|
|
600
|
+
function Q() {
|
|
570
601
|
return typeof window < "u" && window.isSecureContext === !0 && typeof navigator < "u" && typeof navigator.clipboard?.writeText == "function";
|
|
571
602
|
}
|
|
572
|
-
var
|
|
603
|
+
var $ = (X = class extends d {
|
|
573
604
|
constructor(...e) {
|
|
574
|
-
super(...e), this.appearance = "box-tinted", this.language = "", this.diff = !1, this.noCopy = !1, this.wrap = !1, this.maxHeight = "", this._copyUnavailable = !1, this.translations = {}, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new
|
|
605
|
+
super(...e), this.appearance = "box-tinted", this.language = "", this.diff = !1, this.lineNumbers = !1, this.noCopy = !1, this.wrap = !1, this.maxHeight = "", this._copyUnavailable = !1, this.translations = {}, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new u(), this._wrapCompartment = new u(), this._diffCompartment = new u(), this._wordCompartment = new u(), this._lineNumbersCompartment = new u(), this._languagePending = Promise.resolve(), this._wordsPending = Promise.resolve(), this._parsedDiff = null;
|
|
575
606
|
}
|
|
576
607
|
get _canCopy() {
|
|
577
|
-
return !this.noCopy &&
|
|
608
|
+
return !this.noCopy && Q();
|
|
578
609
|
}
|
|
579
610
|
getEditorParent() {
|
|
580
611
|
return this.shadowRoot?.querySelector(".code-viewer__codemirror");
|
|
581
612
|
}
|
|
582
613
|
buildExtensions() {
|
|
583
614
|
return [
|
|
584
|
-
|
|
615
|
+
p,
|
|
585
616
|
a.editable.of(!1),
|
|
586
617
|
i.readOnly.of(!0),
|
|
587
618
|
a.contentAttributes.of({
|
|
@@ -592,14 +623,15 @@ var Q = (Y = class extends u {
|
|
|
592
623
|
this._wrapCompartment.of(this.wrap ? a.lineWrapping : []),
|
|
593
624
|
this._languageCompartment.of([]),
|
|
594
625
|
this._diffCompartment.of(this._parsedDiff ? this._diffExtension(this._parsedDiff) : []),
|
|
595
|
-
this._wordCompartment.of([])
|
|
626
|
+
this._wordCompartment.of([]),
|
|
627
|
+
this._lineNumbersCompartment.of(this._lineNumbersExtension())
|
|
596
628
|
];
|
|
597
629
|
}
|
|
598
630
|
render() {
|
|
599
|
-
return
|
|
631
|
+
return D(this);
|
|
600
632
|
}
|
|
601
633
|
focus(e) {
|
|
602
|
-
if (
|
|
634
|
+
if (T(this, e)) return;
|
|
603
635
|
let t = this.view?.scrollDOM;
|
|
604
636
|
this._isScrollable && t && t.focus(e);
|
|
605
637
|
}
|
|
@@ -607,16 +639,16 @@ var Q = (Y = class extends u {
|
|
|
607
639
|
return this._parseDiff(this._getRawText()), this._parsedDiff?.doc ?? this._getRawText();
|
|
608
640
|
}
|
|
609
641
|
_parseDiff(e) {
|
|
610
|
-
this._parsedDiff = this.diff ?
|
|
642
|
+
this._parsedDiff = this.diff ? j(e) : null, w(this, "diff-lines-dropped", (this._parsedDiff?.dropped ?? 0) > 0);
|
|
611
643
|
}
|
|
612
644
|
connectedCallback() {
|
|
613
|
-
super.connectedCallback(), this._unsubscribeScheme =
|
|
645
|
+
super.connectedCallback(), this._unsubscribeScheme = J(() => this._repaint());
|
|
614
646
|
}
|
|
615
647
|
disconnectedCallback() {
|
|
616
648
|
super.disconnectedCallback(), this._unsubscribeScheme?.(), this._unsubscribeScheme = void 0, this._resizeObserver?.disconnect(), this._resizeObserver = void 0, this._mutationObserver?.disconnect(), this._mutationObserver = void 0, this._scrollableRaf !== void 0 && (cancelAnimationFrame(this._scrollableRaf), this._scrollableRaf = void 0), clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
|
|
617
649
|
}
|
|
618
650
|
firstUpdated() {
|
|
619
|
-
this._copyUnavailable = !this.noCopy && !
|
|
651
|
+
this._copyUnavailable = !this.noCopy && !Q(), this._parseDiff(this._getRawText()), this.mountEditor(this._parsedDiff?.doc ?? this._getRawText()), this.onEditorMounted();
|
|
620
652
|
}
|
|
621
653
|
_observeSlotText() {
|
|
622
654
|
this._mutationObserver?.disconnect(), this._mutationObserver = new MutationObserver(() => this._onSlotChange()), this._mutationObserver.observe(this, {
|
|
@@ -632,7 +664,7 @@ var Q = (Y = class extends u {
|
|
|
632
664
|
}), this._resizeObserver.observe(e)), this._observeSlotText(), this.language && this._applyLanguage(), this._applyWords(), this._updateScrollable();
|
|
633
665
|
}
|
|
634
666
|
updated(e) {
|
|
635
|
-
e.has("noCopy") && (this._copyUnavailable = !this.noCopy && !
|
|
667
|
+
e.has("noCopy") && (this._copyUnavailable = !this.noCopy && !Q()), e.has("maxHeight") && (this.maxHeight && CSS.supports("max-height", this.maxHeight) ? this.style.setProperty("--_code-viewer-max-height", this.maxHeight) : this.style.removeProperty("--_code-viewer-max-height"), w(this, "invalid-max-height", !!this.maxHeight && !CSS.supports("max-height", this.maxHeight))), this.view && (this._isScrollable && this.view.scrollDOM.setAttribute("aria-label", this._t("components.code-viewer.region-label")), e.has("language") && this._applyLanguage(), e.has("diff") && e.get("diff") !== void 0 && this._applyContent(), (e.has("lineNumbers") && e.get("lineNumbers") !== void 0 || e.has("diff") && e.get("diff") !== void 0) && this.reconfigure(this._lineNumbersCompartment, this._lineNumbersExtension()), e.has("translations") && e.get("translations") !== void 0 && this._parsedDiff && this.reconfigure(this._diffCompartment, this._diffExtension(this._parsedDiff)), e.has("wrap") && (this.reconfigure(this._wrapCompartment, this.wrap ? a.lineWrapping : []), this._updateScrollable()), (e.has("appearance") || e.has("maxHeight") || e.has("noCopy") || e.has("_copyUnavailable")) && this._updateScrollable());
|
|
636
668
|
}
|
|
637
669
|
_onSlotChange() {
|
|
638
670
|
this._applyContent();
|
|
@@ -652,17 +684,20 @@ var Q = (Y = class extends u {
|
|
|
652
684
|
effects: [this._diffCompartment.reconfigure(this._parsedDiff ? this._diffExtension(this._parsedDiff) : []), this._wordCompartment.reconfigure([])]
|
|
653
685
|
}), this._applyWords(), this._updateScrollable(), this.requestUpdate();
|
|
654
686
|
}
|
|
687
|
+
_lineNumbersExtension() {
|
|
688
|
+
return this.lineNumbers && !this.diff ? l() : [];
|
|
689
|
+
}
|
|
655
690
|
_diffExtension(e) {
|
|
656
|
-
return
|
|
691
|
+
return B(e, {
|
|
657
692
|
addedLine: (e) => this._t("components.code-viewer.added-line-label", { number: e }),
|
|
658
693
|
removedLine: (e) => this._t("components.code-viewer.removed-line-label", { number: e })
|
|
659
694
|
});
|
|
660
695
|
}
|
|
661
696
|
_applyWords() {
|
|
662
697
|
let e = this._parsedDiff;
|
|
663
|
-
e && (this._wordsPending =
|
|
664
|
-
this._parsedDiff === e && this.reconfigure(this._wordCompartment, t),
|
|
665
|
-
}, () =>
|
|
698
|
+
e && (this._wordsPending = W(e).then((t) => {
|
|
699
|
+
this._parsedDiff === e && this.reconfigure(this._wordCompartment, t), w(this, "no-diff-words", !1);
|
|
700
|
+
}, () => w(this, "no-diff-words", !0)));
|
|
666
701
|
}
|
|
667
702
|
get _diffSummary() {
|
|
668
703
|
let e = this._parsedDiff;
|
|
@@ -676,7 +711,7 @@ var Q = (Y = class extends u {
|
|
|
676
711
|
});
|
|
677
712
|
}
|
|
678
713
|
_t(e, t) {
|
|
679
|
-
return
|
|
714
|
+
return C(this.translations, S, e, t);
|
|
680
715
|
}
|
|
681
716
|
async getUpdateComplete() {
|
|
682
717
|
let e = await super.getUpdateComplete();
|
|
@@ -691,7 +726,7 @@ var Q = (Y = class extends u {
|
|
|
691
726
|
this.reconfigure(this._languageCompartment, []);
|
|
692
727
|
return;
|
|
693
728
|
}
|
|
694
|
-
let t =
|
|
729
|
+
let t = h(e);
|
|
695
730
|
if (!t) this.reconfigure(this._languageCompartment, []);
|
|
696
731
|
else try {
|
|
697
732
|
let n = await t;
|
|
@@ -718,49 +753,59 @@ var Q = (Y = class extends u {
|
|
|
718
753
|
async _onCopyClick(e) {
|
|
719
754
|
(e?.currentTarget)?.focus?.();
|
|
720
755
|
try {
|
|
721
|
-
if (!
|
|
756
|
+
if (!Q()) throw Error("Clipboard API unavailable");
|
|
722
757
|
await navigator.clipboard.writeText(this._getRawText()), this._copyState = "success";
|
|
723
758
|
} catch {
|
|
724
759
|
this._copyState = "failure";
|
|
725
760
|
}
|
|
726
|
-
clearTimeout(this._copyResetTimer), this.
|
|
727
|
-
this._copyState = "idle";
|
|
728
|
-
}, X));
|
|
761
|
+
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
|
|
729
762
|
}
|
|
730
763
|
_onCopyBlur() {
|
|
731
|
-
this._copyState
|
|
764
|
+
this._copyState !== "idle" && (this._copyState = "idle");
|
|
765
|
+
}
|
|
766
|
+
_onCopyPointerLeave() {
|
|
767
|
+
this._copyState !== "idle" && (this.shadowRoot?.querySelector("nldd-icon-button")?.matches(":focus-within") || (clearTimeout(this._copyResetTimer), this._copyResetTimer = setTimeout(() => {
|
|
768
|
+
this._copyResetTimer = void 0, this._copyState = "idle";
|
|
769
|
+
}, Z)));
|
|
770
|
+
}
|
|
771
|
+
_onCopyPointerEnter() {
|
|
772
|
+
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
|
|
732
773
|
}
|
|
733
774
|
_onCopyDismiss() {
|
|
734
775
|
clearTimeout(this._copyResetTimer), this._copyState = "idle";
|
|
735
776
|
}
|
|
736
777
|
_repaint() {
|
|
737
778
|
let e = this.view?.scrollDOM;
|
|
738
|
-
e &&
|
|
779
|
+
e && Y(e);
|
|
739
780
|
}
|
|
740
|
-
},
|
|
741
|
-
|
|
781
|
+
}, X.styles = E, X);
|
|
782
|
+
b([t({
|
|
742
783
|
reflect: !0,
|
|
743
784
|
converter: r("box-tinted")
|
|
744
|
-
})],
|
|
785
|
+
})], $.prototype, "appearance", void 0), b([t({
|
|
745
786
|
reflect: !0,
|
|
746
787
|
converter: r("")
|
|
747
|
-
})],
|
|
788
|
+
})], $.prototype, "language", void 0), b([t({
|
|
748
789
|
type: Boolean,
|
|
749
790
|
reflect: !0
|
|
750
|
-
})],
|
|
791
|
+
})], $.prototype, "diff", void 0), b([t({
|
|
792
|
+
type: Boolean,
|
|
793
|
+
reflect: !0,
|
|
794
|
+
attribute: "line-numbers"
|
|
795
|
+
})], $.prototype, "lineNumbers", void 0), b([t({
|
|
751
796
|
type: Boolean,
|
|
752
797
|
reflect: !0,
|
|
753
798
|
attribute: "no-copy"
|
|
754
|
-
})],
|
|
799
|
+
})], $.prototype, "noCopy", void 0), b([t({
|
|
755
800
|
type: Boolean,
|
|
756
801
|
reflect: !0
|
|
757
|
-
})],
|
|
802
|
+
})], $.prototype, "wrap", void 0), b([t({
|
|
758
803
|
reflect: !0,
|
|
759
804
|
attribute: "max-height",
|
|
760
805
|
converter: r("")
|
|
761
|
-
})],
|
|
806
|
+
})], $.prototype, "maxHeight", void 0), b([t({
|
|
762
807
|
type: Boolean,
|
|
763
808
|
reflect: !0,
|
|
764
809
|
attribute: "copy-unavailable"
|
|
765
|
-
})],
|
|
766
|
-
export {
|
|
810
|
+
})], $.prototype, "_copyUnavailable", void 0), b([t({ type: Object })], $.prototype, "translations", void 0), b([n()], $.prototype, "_isScrollable", void 0), b([n()], $.prototype, "_copyState", void 0), $ = b([_("nldd-code-viewer")], $);
|
|
811
|
+
export { $ as NLDDCodeViewer };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as e } from "./style-mod-DGMhzWuk.js";
|
|
2
|
-
import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-
|
|
3
|
-
import { n as y } from "./custom-element-
|
|
4
|
-
import { n as se, t as b } from "./decorate-
|
|
2
|
+
import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-Dlh_tbAH.js";
|
|
3
|
+
import { n as y } from "./custom-element-BVKCDhPV.js";
|
|
4
|
+
import { n as se, t as b } from "./decorate-CK3hc5C5.js";
|
|
5
5
|
import { t as ce } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as le } from "./described-by-mixin-
|
|
6
|
+
import { t as le } from "./described-by-mixin-DGAPpEdM.js";
|
|
7
7
|
import { t as ue } from "./form-associated-mixin-BtStDDYA.js";
|
|
8
8
|
// node_modules/@codemirror/commands/dist/index.js
|
|
9
9
|
var de = (e) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, i as a, n as o, t as s } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CK3hc5C5.js";
|
|
2
|
+
import { a as i, i as a, n as o, t as s } from "./custom-element-BVKCDhPV.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
import { t as f } from "./if-defined-
|
|
7
|
+
import { t as f } from "./if-defined-G1P3HUvi.js";
|
|
8
8
|
import { t as p } from "./collection.i18n-DqWPGnZO.js";
|
|
9
|
-
import "./button-
|
|
10
|
-
import "./button-bar-
|
|
11
|
-
import "./icon-button-
|
|
12
|
-
import "./icon-
|
|
9
|
+
import "./button-DWzqSerk.js";
|
|
10
|
+
import "./button-bar-DwFLuumP.js";
|
|
11
|
+
import "./icon-button-CFMhdG1B.js";
|
|
12
|
+
import "./icon-BE2ojX0S.js";
|
|
13
13
|
import { t as m } from "./spacing-scale-SufIjHeN.js";
|
|
14
|
-
import { t as h } from "./translations-
|
|
14
|
+
import { t as h } from "./translations-eWWV6weF.js";
|
|
15
15
|
import { t as g } from "./list-items-Du0RCWsY.js";
|
|
16
16
|
// src/components/layout/collection/collection.styles.ts
|
|
17
17
|
var _ = i(d.smMax), v = i(d.mdMin), y = i(d.mdMax), b = i(d.lgMin), x = a`
|