@nldd/design-system 0.21.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/custom-elements.json +900 -414
- package/dist/assets/styles/shadow-resets.d.ts +19 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +35 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +136 -136
- package/dist/cdn/chunks/{activity-indicator-JglZJ8dh.js → activity-indicator-D86Mv6SL.js} +25 -24
- package/dist/cdn/chunks/{avatar-ASqePVhU.js → avatar-BISv6tzp.js} +58 -56
- package/dist/cdn/chunks/{avatar-group-GinEMPm9.js → avatar-group-D7IN6DxU.js} +43 -42
- package/dist/cdn/chunks/{badge-Cc2Nufoc.js → badge-R3PZUsqZ.js} +36 -33
- package/dist/cdn/chunks/{banner-BLVKM07M.js → banner-DRANlf5k.js} +43 -37
- package/dist/cdn/chunks/{bar-split-view-Clbg-p9H.js → bar-split-view-B-Y2nqgS.js} +33 -30
- package/dist/cdn/chunks/blockquote-pUgJLPY1.js +241 -0
- package/dist/cdn/chunks/{box-WkhyjQVy.js → box-BbXHpBQy.js} +14 -12
- package/dist/cdn/chunks/{breadcrumbs-D9YxZzRj.js → breadcrumbs-BdF4m3DB.js} +41 -36
- package/dist/cdn/chunks/{button-DO90Lo6q.js → button-CsqNHH3w.js} +141 -127
- package/dist/cdn/chunks/{button-bar-Bxgdbyh3.js → button-bar-CnYIw4fN.js} +25 -21
- package/dist/cdn/chunks/{button-group-BYGPPLmZ.js → button-group-xaHghyon.js} +10 -10
- package/dist/cdn/chunks/{card-BP0jfOkS.js → card-Bbf0aCIh.js} +35 -33
- package/dist/cdn/chunks/{cell-BRD2ilQh.js → cell-Dggt5oYG.js} +24 -23
- package/dist/cdn/chunks/{checkbox-Cazx8CQn.js → checkbox-DmFAS8ec.js} +49 -43
- package/dist/cdn/chunks/{checkbox-field-DDZ-B6vH.js → checkbox-field-fOWPH8Q7.js} +37 -32
- package/dist/cdn/chunks/{class-map-CXSdNjt8.js → class-map-BWGTUNv4.js} +1 -1
- package/dist/cdn/chunks/{code-editor-D6Q55oaY.js → code-editor-CANFZX66.js} +56 -57
- package/dist/cdn/chunks/{code-viewer-DspLH2T1.js → code-viewer-C_vUEx7J.js} +160 -123
- package/dist/cdn/chunks/{codemirror-input-Db65x22n.js → codemirror-input-wexTiqWw.js} +5 -5
- package/dist/cdn/chunks/{collection-NVtkvDls.js → collection-_emTry5U.js} +36 -36
- package/dist/cdn/chunks/{combo-box-OywRKaWj.js → combo-box-CGwj1u4a.js} +77 -68
- package/dist/cdn/chunks/{container-rrbwk0z4.js → container-D5Dz-j6a.js} +62 -54
- package/dist/cdn/chunks/{custom-element-q6NzoL5b.js → custom-element-DbwbPetH.js} +1 -1
- package/dist/cdn/chunks/{date-field-vmZLo80s.js → date-field-ChmyLtTj.js} +93 -83
- package/dist/cdn/chunks/{date-picker-CXDzSBoL.js → date-picker-CUQKdjS4.js} +86 -78
- package/dist/cdn/chunks/{decorate-TduJMFD_.js → decorate-_JGq4E_7.js} +2 -2
- package/dist/cdn/chunks/{described-by-mixin-daRE7orX.js → described-by-mixin-DbnuGktP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CQwOj_rN.js → description-cell-BgcO7ObI.js} +27 -25
- package/dist/cdn/chunks/{dev-checks-zW_W-hnh.js → dev-checks-KAnKlxY0.js} +188 -80
- package/dist/cdn/chunks/{dist-C_dGY6zR.js → dist-BF9euKgj.js} +43 -43
- package/dist/cdn/chunks/{dist-BEfLdOvy.js → dist-BHMubC6P.js} +190 -196
- package/dist/cdn/chunks/{dist-ChmCRv39.js → dist-BJrN5nEM.js} +50 -50
- package/dist/cdn/chunks/{dist-D2qap2OY.js → dist-Bz3Isx60.js} +13 -13
- package/dist/cdn/chunks/{dist-DrTzvgE7.js → dist-CBnQQ6kV.js} +178 -188
- package/dist/cdn/chunks/{dist-EM4MWLQq.js → dist-CJLBwJx0.js} +120 -125
- package/dist/cdn/chunks/{dist-DPUBF0MZ.js → dist-CKZ98PMy.js} +362 -371
- package/dist/cdn/chunks/{dist-EgIBI-FG.js → dist-CLKJ5z0x.js} +26 -26
- package/dist/cdn/chunks/{dist-A7_1pHX0.js → dist-D7Wubc1l.js} +25 -25
- package/dist/cdn/chunks/{dist-Rm6FvrSR.js → dist-DADIyiX-.js} +55 -55
- package/dist/cdn/chunks/{dist-CP3G1pSK.js → dist-HgRt6IKh.js} +1 -1
- package/dist/cdn/chunks/{divider-CCNbnplA.js → divider-pO5O6wL4.js} +6 -6
- package/dist/cdn/chunks/{document-tab-bar-A2DFWrP9.js → document-tab-bar-C_-iuaUc.js} +74 -60
- package/dist/cdn/chunks/{dropdown-DZTZtkm5.js → dropdown-DYO6049g.js} +36 -31
- package/dist/cdn/chunks/{file-field-DQ52qq5L.js → file-field-C-Fk92rD.js} +134 -116
- package/dist/cdn/chunks/{form-hXLgy_tY.js → form-ChXBrKw6.js} +23 -9
- package/dist/cdn/chunks/{form-actions-C_7hINq-.js → form-actions-DrOX7nX8.js} +7 -7
- package/dist/cdn/chunks/{form-associated-mixin--GIbl98p.js → form-associated-mixin-BtStDDYA.js} +14 -3
- package/dist/cdn/chunks/{form-field--4nWJ_DK.js → form-field-CR2Py09O.js} +46 -39
- package/dist/cdn/chunks/{form-section-By-D4un0.js → form-section-s1mkLzaC.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-Dg4sIJG1.js → full-bleed-section-vOVI_f86.js} +10 -10
- package/dist/cdn/chunks/{hero-CQQMNCT_.js → hero-Cb3qIvvh.js} +125 -116
- package/dist/cdn/chunks/{icon-BORlalt0.js → icon-DBhTZrnl.js} +89 -72
- package/dist/cdn/chunks/{icon-button-rKiIHs7A.js → icon-button-bDuQ_6W_.js} +109 -99
- package/dist/cdn/chunks/{icon-cell-rk4NQid2.js → icon-cell-DlSZNTF3.js} +32 -30
- package/dist/cdn/chunks/{identity-BLXecYsZ.js → identity-CJTVNI9J.js} +28 -26
- package/dist/cdn/chunks/{if-defined-CaKKERku.js → if-defined-28B8DYUB.js} +1 -1
- package/dist/cdn/chunks/{image-DZMW6JgL.js → image-DlTxyeL3.js} +100 -85
- package/dist/cdn/chunks/{inline-dialog-WlqtPBPJ.js → inline-dialog-BJlOrD6M.js} +32 -28
- package/dist/cdn/chunks/{just-in-time-education-DRcb5g7x.js → just-in-time-education-DWBDshKs.js} +47 -48
- package/dist/cdn/chunks/{kanban-Ca_mfqsA.js → kanban-DIXY8FcZ.js} +24 -24
- package/dist/cdn/chunks/{kanban-column-fgIMc7pw.js → kanban-column-DmnxctX6.js} +15 -13
- package/dist/cdn/chunks/{keyboard-shortcut-EknnW7Ub.js → keyboard-shortcut-kYOKwBqs.js} +25 -23
- package/dist/cdn/chunks/{languages-yKikVFv_.js → languages-DGtcUhLc.js} +12 -12
- package/dist/cdn/chunks/{link-FBSAJ3UC.js → link-DhnhhTOg.js} +42 -39
- package/dist/cdn/chunks/{link-group-90qVfKa0.js → link-group-Bx2nkQcS.js} +11 -11
- package/dist/cdn/chunks/{list-CaWl3q0Z.js → list-CXCG_IEc.js} +81 -44
- package/dist/cdn/chunks/{list-item-Cagnf6eG.js → list-item-CSNBaRlK.js} +185 -124
- package/dist/cdn/chunks/{list-item-segment-BRzBF1y_.js → list-item-segment-D6WvAh3A.js} +55 -53
- package/dist/cdn/chunks/{menu-BtxzRedh.js → menu-CKxKVA36.js} +58 -57
- package/dist/cdn/chunks/{menu-bar-item-C7LQ0NI_.js → menu-bar-item-C950rfSt.js} +35 -34
- package/dist/cdn/chunks/{menu-bar-BU3Hjk1b.js → menu-bar-xahTEYTX.js} +21 -21
- package/dist/cdn/chunks/{menu-divider-CLLRgMll.js → menu-divider-XlYJ4zQz.js} +6 -6
- package/dist/cdn/chunks/{menu-group-BL24ChpR.js → menu-group-E6hIEtLj.js} +8 -8
- package/dist/cdn/chunks/{menu-item-CooKfrFa.js → menu-item-2y0VC5Gb.js} +38 -36
- package/dist/cdn/chunks/menu-item.i18n-CKUJBOeE.js +7 -0
- package/dist/cdn/chunks/{menu.template-C6rbfI-u.js → menu.template-ZBhUFgBJ.js} +55 -34
- package/dist/cdn/chunks/{modal-dialog-BrUMP4Jm.js → modal-dialog-DdFpcRLJ.js} +37 -36
- package/dist/cdn/chunks/{multi-line-text-field-D7hXhyOn.js → multi-line-text-field-okvEa54Q.js} +51 -47
- package/dist/cdn/chunks/{navigation-split-view-B2ZQhxEb.js → navigation-split-view-dNRQDSpy.js} +72 -91
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +114 -0
- package/dist/cdn/chunks/{notification-DSGP14d1.js → notification-2tnwXEY1.js} +28 -25
- package/dist/cdn/chunks/{number-field-B8op14Y_.js → number-field-CH7EvpSq.js} +45 -39
- package/dist/cdn/chunks/{one-half-one-half-section-ZYmHYf4Q.js → one-half-one-half-section-UZDP-KO-.js} +11 -11
- package/dist/cdn/chunks/{one-third-two-thirds-section-Ds10K6AS.js → one-third-two-thirds-section-8KtESdXO.js} +11 -11
- package/dist/cdn/chunks/{one-time-code-field-Cgy_tTS4.js → one-time-code-field-Bvm3ND6e.js} +58 -54
- package/dist/cdn/chunks/{page-CBf_Decp.js → page-PK1FWuKJ.js} +44 -41
- package/dist/cdn/chunks/{page-footer-CSv1dU7M.js → page-footer-BamWKHwH.js} +68 -80
- package/dist/cdn/chunks/{page-section-mixin-Dp6X8GKd.js → page-section-mixin-3q59_Jo_.js} +39 -35
- package/dist/cdn/chunks/{pagination-CMUcFB53.js → pagination-47zAyQhM.js} +52 -45
- package/dist/cdn/chunks/{password-field-C76Vm3rm.js → password-field-FaU02DSW.js} +58 -54
- package/dist/cdn/chunks/{popover-CGbeEv_-.js → popover-642mOFR5.js} +97 -61
- package/dist/cdn/chunks/{progress-bar-BLiHaRUS.js → progress-bar-BivaNkIY.js} +57 -55
- package/dist/cdn/chunks/{progress-circle-CjkovRbL.js → progress-circle-ewL0JIcz.js} +57 -55
- package/dist/cdn/chunks/{radio-button-GHyO-GQB.js → radio-button-DvrYYSnm.js} +42 -42
- package/dist/cdn/chunks/{radio-button-field-C-Z6Lnd4.js → radio-button-field-BVi0YrTF.js} +29 -27
- package/dist/cdn/chunks/{radio-button-group-ChTqBCnQ.js → radio-button-group-DZ9OWUNe.js} +18 -18
- package/dist/cdn/chunks/{render-marked-DX_5ISZE.js → render-marked-CO31_4GS.js} +1 -1
- package/dist/cdn/chunks/{drag-handle-cell-CbzDYebG.js → reorder-handle-cell-Doetg58W.js} +39 -37
- package/dist/cdn/chunks/reorder-handle-cell.i18n-DlH2aVwd.js +3 -0
- package/dist/cdn/chunks/reorder-handle-mixin-DCjwUXr0.js +16 -0
- package/dist/cdn/chunks/{repeat-Ch_5OsXE.js → repeat-Wb4hkVZc.js} +1 -1
- package/dist/cdn/chunks/rich-text-Do08iiIz.js +58 -0
- package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/cdn/chunks/{row-header-mixin-CgqvREoV.js → row-header-mixin-CKR5rHBA.js} +2 -2
- package/dist/cdn/chunks/{search-field-BGNfERhn.js → search-field-CCeeGiJM.js} +75 -67
- package/dist/cdn/chunks/{segmented-control-BYAG4VRp.js → segmented-control-CWIPxEBq.js} +92 -82
- package/dist/cdn/chunks/shadow-resets-NKr5gQCc.js +28 -0
- package/dist/cdn/chunks/{sheet-CqN7ViYV.js → sheet-WOjBtZvN.js} +41 -39
- package/dist/cdn/chunks/{shell-C9rds_D9.js → shell-Brn0Dr8F.js} +26 -23
- package/dist/cdn/chunks/{side-by-side-split-view-C5oX4c6Z.js → side-by-side-split-view-DGIMsyma.js} +33 -30
- package/dist/cdn/chunks/{sidebar-section-CFPBdETU.js → sidebar-section-BXHeI8GN.js} +37 -32
- package/dist/cdn/chunks/{simple-section-qrCqXeBa.js → simple-section-C8lJZLAO.js} +12 -12
- package/dist/cdn/chunks/{skip-link-DWh4W6-J.js → skip-link-QdRgHljr.js} +20 -19
- package/dist/cdn/chunks/{slider--hODfOwh.js → slider-BhjBeWqc.js} +90 -84
- package/dist/cdn/chunks/{spacer-CFzq_JCh.js → spacer-BgkOjuUj.js} +11 -11
- package/dist/cdn/chunks/{spacer-cell-DuVOgIj8.js → spacer-cell-DBI0PVd7.js} +13 -12
- package/dist/cdn/chunks/{split-button-DH19p8So.js → split-button-DfD9vxPe.js} +45 -41
- package/dist/cdn/chunks/{split-view-divider-jzcPmnMh.js → split-view-divider-B4NFlri5.js} +10 -10
- package/dist/cdn/chunks/{split-view-pane-BLsZz263.js → split-view-pane-CwFf13hX.js} +27 -24
- package/dist/cdn/chunks/{stacked-split-view-CcOR8LrJ.js → stacked-split-view-BmbzTinq.js} +32 -29
- package/dist/cdn/chunks/{static-html-Cf4ccUIg.js → static-html-CZrcQRgC.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CINbOihq.js → status-bar-CTOf_bDL.js} +25 -24
- package/dist/cdn/chunks/{step-bar-6FvZL1Ti.js → step-bar-B5vzvhz-.js} +64 -57
- package/dist/cdn/chunks/{step-cell-CejRisgS.js → step-cell-CUA-HUZv.js} +44 -40
- package/dist/cdn/chunks/{stepper-CY2rJWOJ.js → stepper-LxPTQ6HJ.js} +30 -30
- package/dist/cdn/chunks/{style-map-DsIw6lkq.js → style-map-DiIQAb_L.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BY3DBIl6.js → swatch-picker-Cxv9HK3A.js} +48 -47
- package/dist/cdn/chunks/{switch-DDSsZFwK.js → switch-CbNSJQPp.js} +34 -32
- package/dist/cdn/chunks/{switch-field-CMoM9I38.js → switch-field-B8vOvcKc.js} +51 -30
- package/dist/cdn/chunks/{tab-bar-CA8K1XjU.js → tab-bar-D4ot_wZ4.js} +76 -70
- package/dist/cdn/chunks/{table-DwXjCSD5.js → table-uh4YPqda.js} +31 -31
- package/dist/cdn/chunks/{tag-DM3APy3B.js → tag-D2dCXT7A.js} +26 -25
- package/dist/cdn/chunks/{text-B1CatNR1.js → text-BX4Xm40t.js} +62 -77
- package/dist/cdn/chunks/{text-cell-BkEsGI3g.js → text-cell-DNCpmw9h.js} +57 -53
- package/dist/cdn/chunks/{text-editor-BvTiMeNV.js → text-editor-C6UKAmPL.js} +97 -71
- package/dist/cdn/chunks/{text-field-CUyh1-V8.js → text-field-Dmkd4mHV.js} +65 -56
- package/dist/cdn/chunks/{time-field--5K0YTcr.js → time-field-BfgNZbEb.js} +64 -60
- package/dist/cdn/chunks/{time-picker-W0xYXLy8.js → time-picker-C1SBkU-e.js} +91 -79
- package/dist/cdn/chunks/{title-BuT7tWqN.js → title-DFrd-Fsh.js} +119 -102
- package/dist/cdn/chunks/{title-cell-8d8psUBX.js → title-cell-CC1dQyth.js} +75 -74
- package/dist/cdn/chunks/{toggle-button-DNXWXZpE.js → toggle-button-bAX6uzgz.js} +80 -74
- package/dist/cdn/chunks/{toggle-button-group-ByowJYgs.js → toggle-button-group-B7CHBww5.js} +20 -20
- package/dist/cdn/chunks/{token-CnkEB3hB.js → token-CicHNqIk.js} +34 -32
- package/dist/cdn/chunks/{token-field-BpyxOGmU.js → token-field-BFynQ-T-.js} +78 -70
- package/dist/cdn/chunks/{toolbar-C24LqAzK.js → toolbar-hAmL7o23.js} +26 -26
- package/dist/cdn/chunks/{toolbar-item-DpPfPxCi.js → toolbar-item-CjgkcYJ2.js} +13 -13
- package/dist/cdn/chunks/{toolbar-title-KBMpfL9d.js → toolbar-title-B1acxCGx.js} +31 -31
- package/dist/cdn/chunks/{toolbar.styles-BQkG4gVc.js → toolbar.styles-xiyZx5D0.js} +7 -3
- package/dist/cdn/chunks/{tooltip-BsAHJjci.js → tooltip-Mj47t8v7.js} +72 -62
- package/dist/cdn/chunks/{top-navigation-bar-C_kLPVKD.js → top-navigation-bar-vP5QGBXd.js} +88 -86
- package/dist/cdn/chunks/{top-title-bar-iNFB2zQL.js → top-title-bar-Yt6cmRLj.js} +52 -44
- package/dist/cdn/chunks/translations-BMMzf2sX.js +14 -0
- package/dist/cdn/chunks/{two-thirds-one-third-section-D-UANbHC.js → two-thirds-one-third-section-BHN98jET.js} +11 -11
- package/dist/cdn/chunks/{validation-list-C5BhHZIG.js → validation-list-CUPzu9_z.js} +20 -19
- package/dist/cdn/chunks/{visibility-mixin-COAZ9pON.js → visibility-mixin-DPuxf-sj.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BPgATaH0.js → visually-hidden-CvjJIBhz.js} +6 -6
- package/dist/cdn/chunks/{window-CxV6ELE9.js → window-BqGlzGaS.js} +41 -40
- package/dist/cdn/chunks/with-translations-CRvWJWep.js +16 -0
- package/dist/components/actions/button/button.d.ts +2 -2
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +39 -26
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +1 -1
- package/dist/components/actions/button-bar/button-bar.js +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +12 -8
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -2
- package/dist/components/actions/icon-button/icon-button.js +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +29 -20
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +15 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.i18n.d.ts +7 -0
- package/dist/components/actions/menu/menu-item.i18n.d.ts.map +1 -0
- package/dist/components/actions/menu/menu-item.i18n.js +6 -0
- package/dist/components/actions/menu/menu-item.i18n.js.map +1 -0
- package/dist/components/actions/menu/menu-item.js +14 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +18 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +8 -2
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +2 -2
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +12 -8
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.js +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.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.d.ts +9 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +23 -7
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +52 -10
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +20 -1
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +37 -8
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +1 -1
- 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.d.ts +6 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +28 -15
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +34 -25
- 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 +9 -7
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +40 -12
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +1 -0
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +17 -32
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +26 -17
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +38 -20
- 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 +84 -69
- 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.d.ts +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +5 -3
- package/dist/components/content/tooltip/tooltip.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/form.d.ts +11 -0
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +56 -4
- package/dist/components/forms/form/form.js.map +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 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- 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 +7 -4
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +8 -3
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- 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.d.ts +9 -11
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -3
- package/dist/components/inputs/code-editor/code-editor.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 +24 -25
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +9 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +10 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +8 -0
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +5 -0
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +18 -0
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +4 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +6 -0
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +4 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.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 +10 -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 +7 -1
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +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 +15 -4
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +26 -4
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -2
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +2 -3
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +24 -17
- 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.mentions.d.ts +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 +45 -19
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +9 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +4 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +28 -19
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +78 -51
- package/dist/components/inputs/time-picker/time-picker.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 +7 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.template.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-column.d.ts +1 -1
- package/dist/components/layout/kanban/kanban-column.js +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +7 -7
- package/dist/components/layout/kanban/kanban.js +9 -9
- package/dist/components/layout/kanban/kanban.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.d.ts +4 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +7 -12
- package/dist/components/layout/page-footer/page-footer.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 +9 -21
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -4
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +3 -4
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +3 -4
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +14 -5
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +2 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +21 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +24 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +106 -11
- 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 +9 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +3 -1
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/shell/shell.d.ts +1 -1
- package/dist/components/layout/shell/shell.js +1 -1
- package/dist/components/layout/shell/shell.styles.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.styles.js +6 -3
- package/dist/components/layout/shell/shell.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +0 -28
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +10 -57
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +8 -5
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -2
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.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.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.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.d.ts +46 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts +5 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js +4 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.js → reorder-handle-cell/reorder-handle-cell.js} +24 -24
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.styles.js → reorder-handle-cell/reorder-handle-cell.styles.js} +15 -14
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.d.ts → reorder-handle-cell/reorder-handle-cell.template.d.ts} +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.js → reorder-handle-cell/reorder-handle-cell.template.js} +4 -4
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.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 +7 -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 +7 -4
- 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.d.ts +7 -5
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +4 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +19 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +3 -2
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +15 -21
- package/dist/components/lists-and-tables/list/list.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 +31 -15
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +107 -154
- package/dist/components/lists-and-tables/list-item/list-item.js.map +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 +30 -23
- 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/lists-and-tables/table/table.d.ts +4 -4
- package/dist/components/lists-and-tables/table/table.js +5 -5
- package/dist/components/lists-and-tables/table/table.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.d.ts +6 -6
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +16 -24
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +18 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +6 -3
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +1 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +7 -0
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +1 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +2 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +4 -4
- package/dist/components/navigation/tab-bar/tab-bar.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.menu-sheet.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.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.d.ts +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +12 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.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.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +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 +8 -2
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +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.d.ts +2 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +5 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.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.d.ts +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +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/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +14 -38
- package/dist/css/title.css +80 -0
- package/dist/css/variables.css +43 -27
- package/dist/nldd.min.js +1803 -1280
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +4 -1
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +4 -1
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +4 -1
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +4 -2
- 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 +4 -1
- 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 +4 -1
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +88 -76
- package/dist/types/vue.d.ts +123 -104
- package/dist/utilities/autoloader.generated.js +1 -1
- package/dist/utilities/autoloader.generated.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 +162 -62
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +17 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +2 -2
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +10 -6
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/reorder-handle-mixin.d.ts +21 -0
- package/dist/utilities/reorder-handle-mixin.d.ts.map +1 -0
- package/dist/utilities/reorder-handle-mixin.js +34 -0
- package/dist/utilities/reorder-handle-mixin.js.map +1 -0
- 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/fix.js +11 -0
- package/lint/frontends.js +67 -42
- package/lint/linter.js +193 -8
- package/lint/main.js +20 -7
- package/lint/project.js +2 -2
- package/lint/rule-data.js +20 -0
- package/lint/rule.schema.json +1 -0
- package/package.json +6 -6
- package/dist/cdn/chunks/blockquote-BoOqbGdm.js +0 -189
- package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +0 -3
- package/dist/cdn/chunks/nl.generated-D6T41jG3.js +0 -112
- package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +0 -47
- package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +0 -12
- package/dist/cdn/chunks/translations-wxBSz213.js +0 -8
- package/dist/cdn/chunks/with-translations-XX14GKFh.js +0 -16
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +0 -44
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +0 -5
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +0 -4
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { o as
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import { t as
|
|
1
|
+
import { i as e, n as t, t as n } from "./custom-element-DbwbPetH.js";
|
|
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, 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-DGtcUhLc.js";
|
|
4
|
+
import { t as _ } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { o as v, r as y, t as b } from "./decorate-_JGq4E_7.js";
|
|
6
|
+
import { t as x } from "./shadow-resets-NKr5gQCc.js";
|
|
7
|
+
import { t as S } from "./code-viewer.i18n-BHfSDRbK.js";
|
|
8
|
+
import "./icon-button-bDuQ_6W_.js";
|
|
9
|
+
import "./tooltip-Mj47t8v7.js";
|
|
10
|
+
import { t as C } from "./translations-BMMzf2sX.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,10 +46,10 @@ var T = f`
|
|
|
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
|
|
|
@@ -97,6 +97,7 @@ var T = f`
|
|
|
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 = f`
|
|
|
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 = f`
|
|
|
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 = f`
|
|
|
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 = f`
|
|
|
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 = f`
|
|
|
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 = f`
|
|
|
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 = f`
|
|
|
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 = f`
|
|
|
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,16 +373,16 @@ var T = f`
|
|
|
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
|
|
353
382
|
text=${n}
|
|
354
383
|
placement="left"
|
|
355
384
|
?open=${t !== "idle"}
|
|
356
|
-
@
|
|
385
|
+
@dismiss=${e._onCopyDismiss}
|
|
357
386
|
>
|
|
358
387
|
<nldd-icon-button
|
|
359
388
|
icon=${t === "success" ? "check-mark" : "copy"}
|
|
@@ -370,26 +399,26 @@ function E(e) {
|
|
|
370
399
|
aria-live="polite"
|
|
371
400
|
>${i}</div>
|
|
372
401
|
</div>
|
|
373
|
-
` :
|
|
402
|
+
` : y}</div>`;
|
|
374
403
|
}
|
|
375
404
|
// src/components/content/code-viewer/code-viewer.diff.ts
|
|
376
|
-
var
|
|
377
|
-
function
|
|
405
|
+
var O = /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/, k = /^(diff |index |--- |\+\+\+ |new file|deleted file|similarity |rename |old mode|new mode)/;
|
|
406
|
+
function A(e) {
|
|
378
407
|
let t = 0;
|
|
379
|
-
for (; t < e.length &&
|
|
408
|
+
for (; t < e.length && k.test(e[t]);) t++;
|
|
380
409
|
let n = e.slice(0, t);
|
|
381
410
|
return n.some((e, t) => e.startsWith("--- ") && n[t + 1]?.startsWith("+++ ")) ? e.slice(t) : e;
|
|
382
411
|
}
|
|
383
|
-
function
|
|
384
|
-
let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) =>
|
|
412
|
+
function j(e) {
|
|
413
|
+
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
414
|
for (let e of r) {
|
|
386
|
-
let t =
|
|
415
|
+
let t = O.exec(e);
|
|
387
416
|
if (t) {
|
|
388
417
|
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
418
|
continue;
|
|
390
419
|
}
|
|
391
420
|
if (s <= 0 && c <= 0) {
|
|
392
|
-
f && e !== "" && !e.startsWith("\\") && !
|
|
421
|
+
f && e !== "" && !e.startsWith("\\") && !k.test(e) && p++;
|
|
393
422
|
continue;
|
|
394
423
|
}
|
|
395
424
|
if (e.startsWith("\\")) continue;
|
|
@@ -422,7 +451,7 @@ function A(e) {
|
|
|
422
451
|
dropped: p
|
|
423
452
|
};
|
|
424
453
|
}
|
|
425
|
-
function
|
|
454
|
+
function M(e) {
|
|
426
455
|
let t = [], n = 0;
|
|
427
456
|
for (; n < e.length;) {
|
|
428
457
|
if (e[n].kind !== "removed") {
|
|
@@ -437,7 +466,7 @@ function j(e) {
|
|
|
437
466
|
}
|
|
438
467
|
return t;
|
|
439
468
|
}
|
|
440
|
-
var
|
|
469
|
+
var N = class extends f {
|
|
441
470
|
constructor(e) {
|
|
442
471
|
super(), this.text = e;
|
|
443
472
|
}
|
|
@@ -447,14 +476,14 @@ var M = class extends s {
|
|
|
447
476
|
toDOM() {
|
|
448
477
|
return document.createTextNode(this.text);
|
|
449
478
|
}
|
|
450
|
-
},
|
|
479
|
+
}, P = class extends f {
|
|
451
480
|
constructor(e) {
|
|
452
481
|
super(), this.className = e, this.elementClass = e;
|
|
453
482
|
}
|
|
454
483
|
eq(e) {
|
|
455
484
|
return e.className === this.className;
|
|
456
485
|
}
|
|
457
|
-
},
|
|
486
|
+
}, F = class extends c {
|
|
458
487
|
constructor(e) {
|
|
459
488
|
super(), this.text = e;
|
|
460
489
|
}
|
|
@@ -465,7 +494,7 @@ var M = class extends s {
|
|
|
465
494
|
let e = document.createElement("span");
|
|
466
495
|
return e.className = "cm-diff-line-label", e.textContent = `${this.text}: `, e;
|
|
467
496
|
}
|
|
468
|
-
},
|
|
497
|
+
}, I = class extends c {
|
|
469
498
|
constructor(e) {
|
|
470
499
|
super(), this.header = e;
|
|
471
500
|
}
|
|
@@ -476,130 +505,131 @@ var M = class extends s {
|
|
|
476
505
|
let e = document.createElement("div");
|
|
477
506
|
return e.className = "cm-diff-hunk", e.setAttribute("aria-hidden", "true"), e.textContent = this.header, e;
|
|
478
507
|
}
|
|
479
|
-
},
|
|
508
|
+
}, L = {
|
|
480
509
|
added: "cm-diff-added",
|
|
481
510
|
removed: "cm-diff-removed",
|
|
482
511
|
context: "cm-diff-context"
|
|
483
|
-
},
|
|
512
|
+
}, R = {
|
|
484
513
|
added: "+",
|
|
485
514
|
removed: "−",
|
|
486
515
|
context: ""
|
|
487
516
|
};
|
|
488
|
-
function
|
|
517
|
+
function z(e) {
|
|
489
518
|
let t = [], n = 0;
|
|
490
519
|
for (let r of e) t.push(n), n += r.text.length + 1;
|
|
491
520
|
return t;
|
|
492
521
|
}
|
|
493
|
-
function
|
|
494
|
-
let { lines:
|
|
495
|
-
if (
|
|
496
|
-
let
|
|
497
|
-
|
|
498
|
-
let
|
|
499
|
-
e.hunk &&
|
|
500
|
-
widget: new
|
|
522
|
+
function B(e, t) {
|
|
523
|
+
let { lines: n } = e;
|
|
524
|
+
if (n.length === 0) return [];
|
|
525
|
+
let r = z(n), i = [], c = [];
|
|
526
|
+
n.forEach((e, n) => {
|
|
527
|
+
let a = r[n];
|
|
528
|
+
e.hunk && i.push(s.widget({
|
|
529
|
+
widget: new I(e.hunk),
|
|
501
530
|
block: !0,
|
|
502
531
|
side: -1
|
|
503
|
-
}).range(
|
|
504
|
-
widget: new
|
|
532
|
+
}).range(a)), i.push(s.line({ class: L[e.kind] }).range(a)), e.kind === "added" && i.push(s.widget({
|
|
533
|
+
widget: new F(t.addedLine(e.newNumber)),
|
|
505
534
|
side: -1
|
|
506
|
-
}).range(
|
|
507
|
-
widget: new
|
|
535
|
+
}).range(a)), e.kind === "removed" && i.push(s.widget({
|
|
536
|
+
widget: new F(t.removedLine(e.oldNumber)),
|
|
508
537
|
side: -1
|
|
509
|
-
}).range(
|
|
538
|
+
}).range(a)), c.push(new P(L[e.kind]).range(a));
|
|
510
539
|
});
|
|
511
|
-
let
|
|
540
|
+
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
541
|
class: `cm-diff-gutter cm-diff-${e}-gutter`,
|
|
513
542
|
lineMarker: (e, n) => {
|
|
514
|
-
let r =
|
|
515
|
-
return i === null ? null : new
|
|
543
|
+
let r = l(e, n), i = r ? t(r) : null;
|
|
544
|
+
return i === null ? null : new N(String(i));
|
|
516
545
|
},
|
|
517
|
-
initialSpacer: () => new
|
|
546
|
+
initialSpacer: () => new N(u(t))
|
|
518
547
|
});
|
|
519
548
|
return [
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
549
|
+
a.decorations.of(s.set(i, !0)),
|
|
550
|
+
o.of(m.of(c, !0)),
|
|
551
|
+
d("old", (e) => e.oldNumber),
|
|
552
|
+
d("new", (e) => e.newNumber),
|
|
553
|
+
g({
|
|
525
554
|
class: "cm-diff-gutter cm-diff-sign-gutter",
|
|
526
555
|
lineMarker: (e, t) => {
|
|
527
|
-
let n =
|
|
528
|
-
return n && n.kind !== "context" ? new
|
|
556
|
+
let n = l(e, t);
|
|
557
|
+
return n && n.kind !== "context" ? new N(R[n.kind]) : null;
|
|
529
558
|
},
|
|
530
|
-
initialSpacer: () => new
|
|
559
|
+
initialSpacer: () => new N("+")
|
|
531
560
|
})
|
|
532
561
|
];
|
|
533
562
|
}
|
|
534
|
-
var
|
|
535
|
-
async function
|
|
536
|
-
let
|
|
537
|
-
if (
|
|
538
|
-
let { presentableDiff:
|
|
539
|
-
for (let [
|
|
540
|
-
let
|
|
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) > (
|
|
542
|
-
}
|
|
543
|
-
return
|
|
563
|
+
var V = .5, H = s.mark({ class: "cm-diff-removed-word" }), U = s.mark({ class: "cm-diff-added-word" });
|
|
564
|
+
async function W(e) {
|
|
565
|
+
let t = M(e.lines);
|
|
566
|
+
if (t.length === 0) return [];
|
|
567
|
+
let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r = z(e.lines), i = [];
|
|
568
|
+
for (let [a, o] of t) {
|
|
569
|
+
let t = e.lines[a].text, s = e.lines[o].text, c = n(t, s);
|
|
570
|
+
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));
|
|
571
|
+
}
|
|
572
|
+
return i.length ? a.decorations.of(s.set(i, !0)) : [];
|
|
544
573
|
}
|
|
545
574
|
// src/utilities/color-scheme-repaint.ts
|
|
546
|
-
var
|
|
547
|
-
function
|
|
548
|
-
|
|
575
|
+
var G = /* @__PURE__ */ new Set(), K = null;
|
|
576
|
+
function q() {
|
|
577
|
+
K || (K = new MutationObserver((e) => {
|
|
549
578
|
for (let t of e) if (t.attributeName === "data-scheme") {
|
|
550
|
-
for (let e of
|
|
579
|
+
for (let e of G) e();
|
|
551
580
|
return;
|
|
552
581
|
}
|
|
553
|
-
}),
|
|
582
|
+
}), K.observe(document.documentElement, {
|
|
554
583
|
attributes: !0,
|
|
555
584
|
attributeFilter: ["data-scheme"]
|
|
556
585
|
}));
|
|
557
586
|
}
|
|
558
|
-
function
|
|
559
|
-
return
|
|
560
|
-
|
|
587
|
+
function J(e) {
|
|
588
|
+
return q(), G.add(e), () => {
|
|
589
|
+
G.delete(e), G.size === 0 && (K?.disconnect(), K = null);
|
|
561
590
|
};
|
|
562
591
|
}
|
|
563
|
-
function
|
|
592
|
+
function Y(e) {
|
|
564
593
|
let t = e.scrollLeft, n = e.scrollTop, r = e.style.display;
|
|
565
594
|
e.style.display = "none", e.offsetHeight, e.style.display = r, e.scrollLeft = t, e.scrollTop = n;
|
|
566
595
|
}
|
|
567
596
|
// src/components/content/code-viewer/code-viewer.ts
|
|
568
|
-
var
|
|
569
|
-
function
|
|
597
|
+
var X, Z = 2e3;
|
|
598
|
+
function Q() {
|
|
570
599
|
return typeof window < "u" && window.isSecureContext === !0 && typeof navigator < "u" && typeof navigator.clipboard?.writeText == "function";
|
|
571
600
|
}
|
|
572
|
-
var
|
|
601
|
+
var $ = (X = class extends d {
|
|
573
602
|
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
|
|
603
|
+
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
604
|
}
|
|
576
605
|
get _canCopy() {
|
|
577
|
-
return !this.noCopy &&
|
|
606
|
+
return !this.noCopy && Q();
|
|
578
607
|
}
|
|
579
608
|
getEditorParent() {
|
|
580
609
|
return this.shadowRoot?.querySelector(".code-viewer__codemirror");
|
|
581
610
|
}
|
|
582
611
|
buildExtensions() {
|
|
583
612
|
return [
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
613
|
+
p,
|
|
614
|
+
a.editable.of(!1),
|
|
615
|
+
i.readOnly.of(!0),
|
|
616
|
+
a.contentAttributes.of({
|
|
588
617
|
role: "code",
|
|
589
618
|
"aria-multiline": null,
|
|
590
619
|
"aria-readonly": null
|
|
591
620
|
}),
|
|
592
|
-
this._wrapCompartment.of(this.wrap ?
|
|
621
|
+
this._wrapCompartment.of(this.wrap ? a.lineWrapping : []),
|
|
593
622
|
this._languageCompartment.of([]),
|
|
594
623
|
this._diffCompartment.of(this._parsedDiff ? this._diffExtension(this._parsedDiff) : []),
|
|
595
|
-
this._wordCompartment.of([])
|
|
624
|
+
this._wordCompartment.of([]),
|
|
625
|
+
this._lineNumbersCompartment.of(this._lineNumbersExtension())
|
|
596
626
|
];
|
|
597
627
|
}
|
|
598
628
|
render() {
|
|
599
|
-
return
|
|
629
|
+
return D(this);
|
|
600
630
|
}
|
|
601
631
|
focus(e) {
|
|
602
|
-
if (
|
|
632
|
+
if (T(this, e)) return;
|
|
603
633
|
let t = this.view?.scrollDOM;
|
|
604
634
|
this._isScrollable && t && t.focus(e);
|
|
605
635
|
}
|
|
@@ -607,16 +637,16 @@ var Q = (Y = class extends o {
|
|
|
607
637
|
return this._parseDiff(this._getRawText()), this._parsedDiff?.doc ?? this._getRawText();
|
|
608
638
|
}
|
|
609
639
|
_parseDiff(e) {
|
|
610
|
-
this._parsedDiff = this.diff ?
|
|
640
|
+
this._parsedDiff = this.diff ? j(e) : null, w(this, "diff-lines-dropped", (this._parsedDiff?.dropped ?? 0) > 0);
|
|
611
641
|
}
|
|
612
642
|
connectedCallback() {
|
|
613
|
-
super.connectedCallback(), this._unsubscribeScheme =
|
|
643
|
+
super.connectedCallback(), this._unsubscribeScheme = J(() => this._repaint());
|
|
614
644
|
}
|
|
615
645
|
disconnectedCallback() {
|
|
616
646
|
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
647
|
}
|
|
618
648
|
firstUpdated() {
|
|
619
|
-
this._copyUnavailable = !this.noCopy && !
|
|
649
|
+
this._copyUnavailable = !this.noCopy && !Q(), this._parseDiff(this._getRawText()), this.mountEditor(this._parsedDiff?.doc ?? this._getRawText()), this.onEditorMounted();
|
|
620
650
|
}
|
|
621
651
|
_observeSlotText() {
|
|
622
652
|
this._mutationObserver?.disconnect(), this._mutationObserver = new MutationObserver(() => this._onSlotChange()), this._mutationObserver.observe(this, {
|
|
@@ -632,7 +662,7 @@ var Q = (Y = class extends o {
|
|
|
632
662
|
}), this._resizeObserver.observe(e)), this._observeSlotText(), this.language && this._applyLanguage(), this._applyWords(), this._updateScrollable();
|
|
633
663
|
}
|
|
634
664
|
updated(e) {
|
|
635
|
-
e.has("noCopy") && (this._copyUnavailable = !this.noCopy && !
|
|
665
|
+
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
666
|
}
|
|
637
667
|
_onSlotChange() {
|
|
638
668
|
this._applyContent();
|
|
@@ -652,17 +682,20 @@ var Q = (Y = class extends o {
|
|
|
652
682
|
effects: [this._diffCompartment.reconfigure(this._parsedDiff ? this._diffExtension(this._parsedDiff) : []), this._wordCompartment.reconfigure([])]
|
|
653
683
|
}), this._applyWords(), this._updateScrollable(), this.requestUpdate();
|
|
654
684
|
}
|
|
685
|
+
_lineNumbersExtension() {
|
|
686
|
+
return this.lineNumbers && !this.diff ? l() : [];
|
|
687
|
+
}
|
|
655
688
|
_diffExtension(e) {
|
|
656
|
-
return
|
|
689
|
+
return B(e, {
|
|
657
690
|
addedLine: (e) => this._t("components.code-viewer.added-line-label", { number: e }),
|
|
658
691
|
removedLine: (e) => this._t("components.code-viewer.removed-line-label", { number: e })
|
|
659
692
|
});
|
|
660
693
|
}
|
|
661
694
|
_applyWords() {
|
|
662
695
|
let e = this._parsedDiff;
|
|
663
|
-
e && (this._wordsPending =
|
|
664
|
-
this._parsedDiff === e && this.reconfigure(this._wordCompartment, t),
|
|
665
|
-
}, () =>
|
|
696
|
+
e && (this._wordsPending = W(e).then((t) => {
|
|
697
|
+
this._parsedDiff === e && this.reconfigure(this._wordCompartment, t), w(this, "no-diff-words", !1);
|
|
698
|
+
}, () => w(this, "no-diff-words", !0)));
|
|
666
699
|
}
|
|
667
700
|
get _diffSummary() {
|
|
668
701
|
let e = this._parsedDiff;
|
|
@@ -676,7 +709,7 @@ var Q = (Y = class extends o {
|
|
|
676
709
|
});
|
|
677
710
|
}
|
|
678
711
|
_t(e, t) {
|
|
679
|
-
return
|
|
712
|
+
return C(this.translations, S, e, t);
|
|
680
713
|
}
|
|
681
714
|
async getUpdateComplete() {
|
|
682
715
|
let e = await super.getUpdateComplete();
|
|
@@ -691,7 +724,7 @@ var Q = (Y = class extends o {
|
|
|
691
724
|
this.reconfigure(this._languageCompartment, []);
|
|
692
725
|
return;
|
|
693
726
|
}
|
|
694
|
-
let t =
|
|
727
|
+
let t = h(e);
|
|
695
728
|
if (!t) this.reconfigure(this._languageCompartment, []);
|
|
696
729
|
else try {
|
|
697
730
|
let n = await t;
|
|
@@ -718,14 +751,14 @@ var Q = (Y = class extends o {
|
|
|
718
751
|
async _onCopyClick(e) {
|
|
719
752
|
(e?.currentTarget)?.focus?.();
|
|
720
753
|
try {
|
|
721
|
-
if (!
|
|
754
|
+
if (!Q()) throw Error("Clipboard API unavailable");
|
|
722
755
|
await navigator.clipboard.writeText(this._getRawText()), this._copyState = "success";
|
|
723
756
|
} catch {
|
|
724
757
|
this._copyState = "failure";
|
|
725
758
|
}
|
|
726
759
|
clearTimeout(this._copyResetTimer), this._copyState !== "failure" && (this._copyResetTimer = setTimeout(() => {
|
|
727
760
|
this._copyState = "idle";
|
|
728
|
-
},
|
|
761
|
+
}, Z));
|
|
729
762
|
}
|
|
730
763
|
_onCopyBlur() {
|
|
731
764
|
this._copyState === "failure" && (this._copyState = "idle");
|
|
@@ -735,32 +768,36 @@ var Q = (Y = class extends o {
|
|
|
735
768
|
}
|
|
736
769
|
_repaint() {
|
|
737
770
|
let e = this.view?.scrollDOM;
|
|
738
|
-
e &&
|
|
771
|
+
e && Y(e);
|
|
739
772
|
}
|
|
740
|
-
},
|
|
741
|
-
|
|
773
|
+
}, X.styles = E, X);
|
|
774
|
+
b([t({
|
|
742
775
|
reflect: !0,
|
|
743
|
-
converter:
|
|
744
|
-
})],
|
|
776
|
+
converter: r("box-tinted")
|
|
777
|
+
})], $.prototype, "appearance", void 0), b([t({
|
|
745
778
|
reflect: !0,
|
|
746
|
-
converter:
|
|
747
|
-
})],
|
|
779
|
+
converter: r("")
|
|
780
|
+
})], $.prototype, "language", void 0), b([t({
|
|
748
781
|
type: Boolean,
|
|
749
782
|
reflect: !0
|
|
750
|
-
})],
|
|
783
|
+
})], $.prototype, "diff", void 0), b([t({
|
|
784
|
+
type: Boolean,
|
|
785
|
+
reflect: !0,
|
|
786
|
+
attribute: "line-numbers"
|
|
787
|
+
})], $.prototype, "lineNumbers", void 0), b([t({
|
|
751
788
|
type: Boolean,
|
|
752
789
|
reflect: !0,
|
|
753
790
|
attribute: "no-copy"
|
|
754
|
-
})],
|
|
791
|
+
})], $.prototype, "noCopy", void 0), b([t({
|
|
755
792
|
type: Boolean,
|
|
756
793
|
reflect: !0
|
|
757
|
-
})],
|
|
794
|
+
})], $.prototype, "wrap", void 0), b([t({
|
|
758
795
|
reflect: !0,
|
|
759
796
|
attribute: "max-height",
|
|
760
|
-
converter:
|
|
761
|
-
})],
|
|
797
|
+
converter: r("")
|
|
798
|
+
})], $.prototype, "maxHeight", void 0), b([t({
|
|
762
799
|
type: Boolean,
|
|
763
800
|
reflect: !0,
|
|
764
801
|
attribute: "copy-unavailable"
|
|
765
|
-
})],
|
|
766
|
-
export {
|
|
802
|
+
})], $.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")], $);
|
|
803
|
+
export { $ as NLDDCodeViewer };
|
|
@@ -1,10 +1,10 @@
|
|
|
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-DGtcUhLc.js";
|
|
3
|
+
import { n as y } from "./custom-element-DbwbPetH.js";
|
|
4
|
+
import { n as se, t as b } from "./decorate-_JGq4E_7.js";
|
|
5
5
|
import { t as ce } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as le } from "./described-by-mixin-
|
|
7
|
-
import { t as ue } from "./form-associated-mixin
|
|
6
|
+
import { t as le } from "./described-by-mixin-DbnuGktP.js";
|
|
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) => {
|
|
10
10
|
let { state: t } = e, n = t.doc.lineAt(t.selection.main.from), r = S(e.state, n.from);
|