@nldd/design-system 0.26.5 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +460 -37
- package/dist/cdn/autoloader.js +141 -141
- package/dist/cdn/chunks/{accordion-item-BXEHwzcv.js → accordion-item-Db9LW8AG.js} +4 -4
- package/dist/cdn/chunks/{accordion-qXirmNBj.js → accordion-tLICRUFs.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-DP61AhsJ.js → activity-indicator-CMNIikEV.js} +5 -5
- package/dist/cdn/chunks/{admonition-RnRSNAri.js → admonition-DEXVkTJm.js} +4 -4
- package/dist/cdn/chunks/after-parse-BSKUm67Q.js +9 -0
- package/dist/cdn/chunks/{avatar-group-BrfrpXvd.js → avatar-group-DMU0HLBL.js} +71 -49
- package/dist/cdn/chunks/{avatar-DsexiOhH.js → avatar-nLrlfh4s.js} +75 -41
- package/dist/cdn/chunks/{badge-BiQFOq2l.js → badge-D1XadmOE.js} +5 -5
- package/dist/cdn/chunks/{banner-42zIYAEN.js → banner-B4kFQlHx.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-CjYEp276.js → bar-split-view-DtD4zmoP.js} +28 -21
- package/dist/cdn/chunks/{blockquote-qf4hJYvm.js → blockquote-DbFjwox8.js} +3 -3
- package/dist/cdn/chunks/{box-CWyg7sbR.js → box-BlwaDicI.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-BaHjYdz8.js → breadcrumbs-DJS9-8wX.js} +5 -5
- package/dist/cdn/chunks/{button-CKV-jwGY.js → button-BK8CmshL.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DeJ81759.js → button-bar-5RtXjgGl.js} +3 -3
- package/dist/cdn/chunks/{button-group-CuRkiHR5.js → button-group-BYMkQNhT.js} +2 -2
- package/dist/cdn/chunks/{card-DxeUNE3V.js → card-NNl0PxBY.js} +4 -4
- package/dist/cdn/chunks/{cell-QaG8b-Qk.js → cell-D2NzCBVZ.js} +6 -6
- package/dist/cdn/chunks/{checkbox-V0YerUKf.js → checkbox-CXFA_up4.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DeySECgv.js → checkbox-field-sFs7GvAq.js} +7 -7
- package/dist/cdn/chunks/{checkbox-group-DFNy1y-A.js → checkbox-group-BPN4eRCX.js} +3 -3
- package/dist/cdn/chunks/{class-map-CmgI2Tu-.js → class-map-1XjgYGeg.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BBMbUJ4d.js → code-editor-KZEaMAN7.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-B8jse0-5.js → code-viewer-CJwpLKb1.js} +94 -87
- package/dist/cdn/chunks/{codemirror-input-BEotDTtZ.js → codemirror-input-CYBNNf0-.js} +5 -5
- package/dist/cdn/chunks/{collection-DRoS7Ona.js → collection-BdUB8qeL.js} +61 -42
- package/dist/cdn/chunks/{combo-box-DA1ZQJJS.js → combo-box-DxWW-zeE.js} +20 -14
- package/dist/cdn/chunks/{container-F1i2pmko.js → container-Dhf1Ahi8.js} +14 -10
- package/dist/cdn/chunks/{custom-element-DD4ffKRs.js → custom-element-DtLjpays.js} +1 -1
- package/dist/cdn/chunks/{date-field-DVgisQnm.js → date-field-D83r9gjY.js} +12 -12
- package/dist/cdn/chunks/{date-picker-BaDTota3.js → date-picker-D8qv2iuG.js} +21 -15
- package/dist/cdn/chunks/{decorate-CeGXihRM.js → decorate-BhnGmemK.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-qFatR9dF.js → described-by-mixin-Jh_PTTde.js} +2 -2
- package/dist/cdn/chunks/{description-cell-D45N4P1X.js → description-cell-nQKMluy8.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-CkCD0tPh.js → dev-checks-Bet7bhMS.js} +99 -49
- package/dist/cdn/chunks/{directive-helpers-B9pcQxsE.js → directive-helpers-dLE2M1R1.js} +1 -1
- package/dist/cdn/chunks/{dist-n8aCu6Kg.js → dist-BTuJ-NyU.js} +2 -2
- package/dist/cdn/chunks/{dist-BS_pQgb6.js → dist-BbwC3zHR.js} +2 -2
- package/dist/cdn/chunks/{dist-Dsyc1RGG.js → dist-BpqJqkl_.js} +1 -1
- package/dist/cdn/chunks/{dist-mxb0NzAU.js → dist-C9xmfEc_.js} +1 -1
- package/dist/cdn/chunks/{dist-v7yvd26H.js → dist-CYKK2xXE.js} +3 -3
- package/dist/cdn/chunks/{dist-rjQNj-KZ.js → dist-Cdmhq-4P.js} +2 -2
- package/dist/cdn/chunks/{dist-v62GtoI6.js → dist-DJSiRJRL.js} +1 -1
- package/dist/cdn/chunks/{dist-Cl-rXzh7.js → dist-DwevYbXo.js} +1 -1
- package/dist/cdn/chunks/{dist-DjlGttcc.js → dist-Dzlvec4O.js} +1 -1
- package/dist/cdn/chunks/{dist-jTL_Kil1.js → dist-EP5KATv0.js} +1 -1
- package/dist/cdn/chunks/{dist-DJQUgOKW.js → dist-u6MS5-M8.js} +3 -3
- package/dist/cdn/chunks/{divider-CtMx3Byp.js → divider-DjT76fuO.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-SKSf69FX.js → document-tab-bar-CO2M1bFc.js} +95 -56
- package/dist/cdn/chunks/{dropdown-se1zjYlw.js → dropdown-CdQ1beF2.js} +5 -5
- package/dist/cdn/chunks/{file-field-DW_Xt5O3.js → file-field-D0UlnM9R.js} +14 -14
- package/dist/cdn/chunks/{form-C9-eW3zc.js → form-BV9wifov.js} +1 -1
- package/dist/cdn/chunks/{form-actions-Cy5tH1nk.js → form-actions-DDeF8urg.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-CA0F9CPx.js → form-associated-mixin-Cm1N24gR.js} +2 -2
- package/dist/cdn/chunks/{form-field-BMWm8VGS.js → form-field-IeKadcwe.js} +6 -6
- package/dist/cdn/chunks/{form-section-DrrXc4wZ.js → form-section-C350G5wg.js} +1 -1
- package/dist/cdn/chunks/frame-pass-C0RUoFMc.js +17 -0
- package/dist/cdn/chunks/{full-bleed-section-6QL0av4x.js → full-bleed-section-CR3zsX7K.js} +9 -10
- package/dist/cdn/chunks/{hero-BThWV3MR.js → hero-Ch5el5J5.js} +73 -68
- package/dist/cdn/chunks/{icon-CVM6X_F1.js → icon-Dj98ov4G.js} +2 -2
- package/dist/cdn/chunks/{icon-button-h_sEz0Ia.js → icon-button-HKoCqWG3.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-C3Ygercd.js → icon-cell-C1I-oIWn.js} +5 -5
- package/dist/cdn/chunks/{identity-BR0KxjM5.js → identity-DNkEDJ8m.js} +6 -6
- package/dist/cdn/chunks/{if-defined-CvQli6P0.js → if-defined-CZ1Fmb74.js} +1 -1
- package/dist/cdn/chunks/{image-D8H73DIj.js → image-KXTd-hL-.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-Dlu3bneh.js → inline-dialog-BTI0xmIT.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-DG0teV5g.js → just-in-time-education-BtjbYffu.js} +5 -5
- package/dist/cdn/chunks/{kanban-MNLyqki_.js → kanban-DNXtL34O.js} +35 -30
- package/dist/cdn/chunks/{kanban-column-CGF_4Q0N.js → kanban-column-D0ujQ2_W.js} +37 -25
- package/dist/cdn/chunks/{keyboard-shortcut-DZDtndhS.js → keyboard-shortcut-BikzmCBH.js} +3 -3
- package/dist/cdn/chunks/{languages-BCn4J5Ck.js → languages-CPd7_I8H.js} +12 -12
- package/dist/cdn/chunks/layout-pass-Cq85kSHX.js +45 -0
- package/dist/cdn/chunks/{link-CTj3dTmJ.js → link-DqMeRYFm.js} +6 -6
- package/dist/cdn/chunks/{link-group--C486tYV.js → link-group-BKn4MHA-.js} +2 -2
- package/dist/cdn/chunks/{list-DApLHKj-.js → list-C8Dnks-q.js} +48 -34
- package/dist/cdn/chunks/{list-item-BN9uuvXr.js → list-item-CSP1a_cN.js} +5 -6
- package/dist/cdn/chunks/{list-item-segment-CvdZT9Ni.js → list-item-segment-BvFqXXnA.js} +3 -3
- package/dist/cdn/chunks/{menu-2-9LtMLY.js → menu-LZ0DmVCe.js} +20 -19
- package/dist/cdn/chunks/{menu-bar-item-tOFEx-lS.js → menu-bar-item-DENdrp0m.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-g-O3_TNl.js → menu-bar-rsGd3kKq.js} +62 -46
- package/dist/cdn/chunks/{menu-divider-Dmv0lMHV.js → menu-divider-BptK2nug.js} +3 -3
- package/dist/cdn/chunks/{menu-group-Ci9QUUwZ.js → menu-group-0B34NyN5.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BnIbV4yo.js → menu-item-55vjckz2.js} +16 -12
- package/dist/cdn/chunks/{menu.template-sPjaMfc8.js → menu.template-B_HMnBsa.js} +105 -76
- package/dist/cdn/chunks/{modal-dialog-D-jAbabe.js → modal-dialog-DQY_0Qlk.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-uBZqAdr6.js → multi-line-text-field-DB4Vflno.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-DARbBPq-.js → navigation-split-view-Dbhrxni9.js} +59 -47
- package/dist/cdn/chunks/{notification-CntIGoYh.js → notification-dtrMLORo.js} +6 -6
- package/dist/cdn/chunks/{number-field-C0MTabLP.js → number-field-Ctxk40as.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-DYzf6LtU.js → one-half-one-half-section-Bx6KLSY5.js} +15 -16
- package/dist/cdn/chunks/{one-third-two-thirds-section-AAiaxCHH.js → one-third-two-thirds-section-Bql0Xrsc.js} +15 -16
- package/dist/cdn/chunks/{one-time-code-field-CCILuCy1.js → one-time-code-field-B-y5gRLi.js} +103 -64
- package/dist/cdn/chunks/{overflow-menu-DFoh3xL_.js → overflow-menu-Cs1VLcX7.js} +1 -1
- package/dist/cdn/chunks/{page-BDXLREou.js → page-Bdkit86l.js} +78 -56
- package/dist/cdn/chunks/{page-footer-BsVMZCXs.js → page-footer-D68JiIFE.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-L0bl3wCm.js → page-section-mixin-Bmlpcmrw.js} +3 -3
- package/dist/cdn/chunks/{pagination-DLwbSZdO.js → pagination-BH6UQbby.js} +6 -6
- package/dist/cdn/chunks/{password-field-DKTJgEyb.js → password-field-Dz0znv2L.js} +8 -8
- package/dist/cdn/chunks/{popover-RB7uLASo.js → popover-C6j3sO70.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-DnXWbmiw.js → progress-bar-BA_5dDXK.js} +10 -7
- package/dist/cdn/chunks/{progress-circle-S89MUtU8.js → progress-circle-DsCyTyw-.js} +10 -7
- package/dist/cdn/chunks/{radio-button-field-BF4MHiOQ.js → radio-button-field-JsQalrMs.js} +8 -7
- package/dist/cdn/chunks/{radio-button-group-BQUqV8wJ.js → radio-button-group-Bqn43LYh.js} +3 -3
- package/dist/cdn/chunks/{radio-button-B31lAjlk.js → radio-button-pcE5Vo5k.js} +92 -51
- package/dist/cdn/chunks/{render-marked-ChJNzktf.js → render-marked-DAVGoeYa.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-SEERkeh7.js → reorder-handle-cell-r4OuA45S.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-tWe9XTjZ.js → reorder-handle-mixin-Co5E_Y7l.js} +2 -2
- package/dist/cdn/chunks/{repeat-CdCK17GF.js → repeat-DoLR8W_a.js} +2 -2
- package/dist/cdn/chunks/{rich-text-vVWOndD2.js → rich-text-CEmzxZRC.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-6MoJ5Mjq.js → row-header-mixin-BCYXiXva.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Cr7_IXpU.js → scroll-fade-OSFrYTum.js} +2 -2
- package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +52 -0
- package/dist/cdn/chunks/{search-field-C9urWH_J.js → search-field-CT483s7J.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-DkILAMOJ.js → segmented-control-5zMasjz7.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-9v6K-Fie.js → shadow-resets-DR73IFIL.js} +2 -2
- package/dist/cdn/chunks/{sheet-D89xI-KY.js → sheet-CDXX61d_.js} +3 -3
- package/dist/cdn/chunks/{shell-CFmfUD0_.js → shell-C4vAeA49.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-ir9c0mwZ.js → side-by-side-split-view-D9_u1TIS.js} +38 -29
- package/dist/cdn/chunks/{sidebar-section-BhJXels3.js → sidebar-section-vWX-ymIa.js} +70 -48
- package/dist/cdn/chunks/{simple-section-CMoYuLYV.js → simple-section-CEw2oC7K.js} +9 -10
- package/dist/cdn/chunks/{skip-link-rUQq0D-l.js → skip-link-DcOGlfM9.js} +4 -4
- package/dist/cdn/chunks/{slider-CIQqjKUo.js → slider-B108QDlz.js} +9 -9
- package/dist/cdn/chunks/{spacer-CD85egxE.js → spacer-CpfTNtbZ.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-B33mGdru.js → spacer-cell-DBm7_AUi.js} +4 -4
- package/dist/cdn/chunks/{split-button-COL7r-wa.js → split-button-DxgDxdan.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-DVBuBzeO.js → split-view-divider-6_RDvANN.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-CSvIzeBg.js → split-view-pane-9tEGLRZC.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-onSk2QEi.js → stacked-split-view-CRMEMwtv.js} +29 -25
- package/dist/cdn/chunks/{static-html-Cyhp44gp.js → static-html-CmXnRyP6.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CjYXOQAX.js → status-bar-Blk_iYSD.js} +29 -17
- package/dist/cdn/chunks/{step-bar-D-To0TEw.js → step-bar-DM4a_0PG.js} +5 -5
- package/dist/cdn/chunks/{step-cell-B7sVGixc.js → step-cell-CUs8AKJq.js} +5 -5
- package/dist/cdn/chunks/{stepper-h6boMOhz.js → stepper-JwxPNJRc.js} +7 -7
- package/dist/cdn/chunks/{style-map-BrdTV34-.js → style-map-DUDIMhuW.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-gQ3m3y9U.js → swatch-picker-BXs7Ob4o.js} +6 -6
- package/dist/cdn/chunks/{switch-DC-BTi9E.js → switch-CWKoOyz7.js} +5 -5
- package/dist/cdn/chunks/{switch-field-D82mLobj.js → switch-field-BgX9mNOA.js} +6 -6
- package/dist/cdn/chunks/{tab-bar-sKiFzvfj.js → tab-bar-BNaJSB38.js} +85 -49
- package/dist/cdn/chunks/{table-CuxZfCZD.js → table-dgJdHR92.js} +111 -54
- package/dist/cdn/chunks/{tag-DP_ome5l.js → tag-DHHf_gxq.js} +4 -4
- package/dist/cdn/chunks/{term-BdiTV-Jk.js → term-DNLqQErM.js} +12 -12
- package/dist/cdn/chunks/{text-C-b1ygHI.js → text-CK1-qJ6d.js} +3 -3
- package/dist/cdn/chunks/{text-cell-DfRh7JqZ.js → text-cell-CrKBqL5A.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DuT9Rrpv.js → text-editor-B0A2vNpD.js} +191 -191
- package/dist/cdn/chunks/{text-field-kAbXzkUj.js → text-field-CqYxSiKy.js} +6 -6
- package/dist/cdn/chunks/{time-field-DUz9ifmn.js → time-field-DHm6KQsG.js} +14 -14
- package/dist/cdn/chunks/{time-picker-DGOKwC9T.js → time-picker-C_BE5oNq.js} +170 -99
- package/dist/cdn/chunks/{title-BA-SUyAq.js → title-BpREzeX9.js} +4 -4
- package/dist/cdn/chunks/{title-cell-Cu5NFNUu.js → title-cell-C4ZL3mJo.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-J6UapeqB.js → toggle-button-COQdr-hZ.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-group-wrps-tL9.js → toggle-button-group-D4vTcGce.js} +2 -2
- package/dist/cdn/chunks/{token-DJkyJz-k.js → token-1DfHVSVj.js} +5 -5
- package/dist/cdn/chunks/{token-field-SiBFPD8-.js → token-field-s_mCjtcZ.js} +12 -12
- package/dist/cdn/chunks/toolbar-Bz_8d1v-.js +441 -0
- package/dist/cdn/chunks/{toolbar-item-DPizdgYi.js → toolbar-item-B-EDYaPf.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-CB4IJFGv.js → toolbar-title-Cl8VPHYK.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-vmMPyzS_.js → toolbar.styles-BiT7JPsr.js} +3 -3
- package/dist/cdn/chunks/{tooltip-Bg2ovCCg.js → tooltip-DhPeqDvL.js} +4 -4
- package/dist/cdn/chunks/{top-navigation-bar-vA8wpJXS.js → top-navigation-bar-CHWqoNms.js} +121 -104
- package/dist/cdn/chunks/{top-title-bar-BAJGmgnj.js → top-title-bar-DUp0bSIU.js} +43 -30
- package/dist/cdn/chunks/{translations-Cjd13Xb6.js → translations-C6WKR-hE.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-D1FvorKO.js → two-thirds-one-third-section-CftZqodu.js} +15 -16
- package/dist/cdn/chunks/{validation-list-D3rKnfTu.js → validation-list-BdTSfsD6.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-BRMACV1l.js → visibility-mixin-DL737l0g.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BukWRiJA.js → visually-hidden-DvU3wAD4.js} +2 -2
- package/dist/cdn/chunks/{window-C9njVzzK.js → window-7XYqha2V.js} +4 -4
- package/dist/cdn/chunks/{with-translations-BLzHPSUF.js → with-translations-nT8q6ELU.js} +3 -3
- package/dist/components/actions/menu/menu-item.d.ts +11 -0
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +28 -13
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +6 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +14 -4
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +63 -3
- 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 +18 -47
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +56 -16
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +263 -95
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.steps.d.ts +16 -0
- package/dist/components/actions/toolbar/toolbar.steps.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar.steps.js +33 -0
- package/dist/components/actions/toolbar/toolbar.steps.js.map +1 -0
- package/dist/components/content/avatar/avatar.d.ts +22 -10
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +122 -29
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +25 -10
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +97 -26
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +5 -4
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +4 -2
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +35 -32
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/image/image.d.ts +1 -4
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +1 -4
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +1 -4
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +1 -4
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +4 -0
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +8 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +28 -9
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +11 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +23 -0
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +4 -2
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +6 -1
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +27 -5
- 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 +128 -30
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +5 -2
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +18 -12
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +23 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +132 -12
- 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 +27 -6
- 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/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +3 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +9 -1
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +96 -38
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +1 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +22 -16
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban-column.d.ts +7 -2
- package/dist/components/layout/kanban/kanban-column.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban-column.js +49 -17
- package/dist/components/layout/kanban/kanban-column.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +4 -1
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +25 -7
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/kanban/kanban.template.js +1 -1
- package/dist/components/layout/kanban/kanban.template.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +43 -12
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +116 -66
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +2 -2
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +6 -7
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +24 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +22 -22
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +2 -0
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +2 -0
- 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 +8 -11
- 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 +4 -2
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +4 -2
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +12 -13
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -2
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +4 -2
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +12 -13
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +12 -9
- 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 +66 -21
- 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.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +23 -17
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +5 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +4 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +4 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +6 -7
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -2
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +4 -2
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +12 -13
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/shell/shell.d.ts +2 -0
- package/dist/components/layout/shell/shell.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.js +2 -0
- package/dist/components/layout/shell/shell.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +2 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +30 -17
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +8 -3
- 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 +35 -20
- 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.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +6 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +30 -15
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +6 -3
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +28 -16
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +19 -0
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +47 -15
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.roving.d.ts +2 -1
- package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.roving.js +7 -3
- package/dist/components/lists-and-tables/list/list.roving.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 +0 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +34 -6
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +143 -40
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +13 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.template.js +6 -0
- package/dist/components/lists-and-tables/table/table.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +33 -2
- 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 +136 -38
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +21 -3
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +61 -29
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +26 -4
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +99 -24
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -0
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +23 -14
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +126 -83
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +28 -28
- 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 +5 -1
- 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 +36 -13
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +6 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +6 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +0 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +26 -6
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/nldd.min.js +882 -816
- package/dist/types/react.d.ts +8 -8
- package/dist/types/vue.d.ts +8 -8
- package/dist/utilities/after-parse.d.ts +30 -0
- package/dist/utilities/after-parse.d.ts.map +1 -0
- package/dist/utilities/after-parse.js +44 -0
- package/dist/utilities/after-parse.js.map +1 -0
- package/dist/utilities/dev-checks.d.ts +6 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +42 -16
- 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 +39 -2
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/frame-pass.d.ts +28 -0
- package/dist/utilities/frame-pass.d.ts.map +1 -0
- package/dist/utilities/frame-pass.js +41 -0
- package/dist/utilities/frame-pass.js.map +1 -0
- package/dist/utilities/layout-pass.d.ts +49 -0
- package/dist/utilities/layout-pass.d.ts.map +1 -0
- package/dist/utilities/layout-pass.js +103 -0
- package/dist/utilities/layout-pass.js.map +1 -0
- package/dist/utilities/radio-grouping.d.ts +30 -4
- package/dist/utilities/radio-grouping.d.ts.map +1 -1
- package/dist/utilities/radio-grouping.js +98 -17
- package/dist/utilities/radio-grouping.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +13 -6
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +47 -21
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/lint/css.js +58 -26
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +29 -12
- package/lint/fix.js +103 -12
- package/lint/format.js +4 -3
- package/lint/frontends.js +153 -35
- package/lint/linter.js +174 -25
- package/lint/main.js +7 -2
- package/lint/project.js +50 -12
- package/lint/rule-compiler.js +20 -11
- package/lint/rule-data.js +8 -0
- package/lint/rule.schema.json +2 -1
- package/lint/session.js +42 -18
- package/lint/tree.js +5 -2
- package/package.json +1 -1
- package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +0 -42
- package/dist/cdn/chunks/toolbar-be8hoSAz.js +0 -364
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { n as i, r as a } from "./custom-element-DtLjpays.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
5
|
-
import { t as c } from "./with-translations-
|
|
5
|
+
import { t as c } from "./with-translations-nT8q6ELU.js";
|
|
6
6
|
import { t as l } from "./kanban.i18n-CWqc3e0B.js";
|
|
7
|
-
import { NLDDKanbanColumn as u, t as d } from "./kanban-column-
|
|
8
|
-
import { t as f } from "./class-map-
|
|
7
|
+
import { NLDDKanbanColumn as u, t as d } from "./kanban-column-D0ujQ2_W.js";
|
|
8
|
+
import { t as f } from "./class-map-1XjgYGeg.js";
|
|
9
9
|
import { r as p } from "./element-state-B-44fVqq.js";
|
|
10
10
|
import { t as m } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
11
|
import { t as h } from "./deep-active-element-DgiHjYGG.js";
|
|
12
|
+
import { n as g, t as _ } from "./layout-pass-Cq85kSHX.js";
|
|
12
13
|
// src/components/layout/kanban/kanban.template.ts
|
|
13
|
-
function
|
|
14
|
+
function v(e) {
|
|
14
15
|
return t`
|
|
15
16
|
<div class=${f({
|
|
16
17
|
kanban: !0,
|
|
@@ -23,7 +24,7 @@ function g(e) {
|
|
|
23
24
|
tabindex=${e._canScrollLeft || e._canScrollRight ? "0" : n}
|
|
24
25
|
@scroll=${e._updateScroll}
|
|
25
26
|
>
|
|
26
|
-
<slot @slotchange=${e.
|
|
27
|
+
<slot @slotchange=${e._handleSlotChange}></slot>
|
|
27
28
|
</div>
|
|
28
29
|
<div class="kanban__announcer"
|
|
29
30
|
role="status"
|
|
@@ -33,9 +34,13 @@ function g(e) {
|
|
|
33
34
|
`;
|
|
34
35
|
}
|
|
35
36
|
// src/components/layout/kanban/kanban.ts
|
|
36
|
-
var
|
|
37
|
+
var y, b = 4, x = 8, S = 300, C = 48, w = 12, T = 300, E = 1500, D = 300, O = new _((e) => {
|
|
38
|
+
for (let t of e) t._updateScroll();
|
|
39
|
+
}), k = g((e) => {
|
|
40
|
+
for (let t of e) t._updateScroll();
|
|
41
|
+
}), A = (y = class extends c(e, l) {
|
|
37
42
|
constructor(...e) {
|
|
38
|
-
super(...e), this.accessibleLabel = "", this.height = "", this.readonly = !1, this._canScrollLeft = !1, this._canScrollRight = !1, this._dragging = !1, this.
|
|
43
|
+
super(...e), this.accessibleLabel = "", this.height = "", this.readonly = !1, this._canScrollLeft = !1, this._canScrollRight = !1, this._dragging = !1, this._observing = !1, this._press = null, this._drag = null, this._grabbing = null, this._deniedNote = null, this._deniedCursor = null, this._deniedTimer = 0, this._handleSlotChange = () => O.schedule(this, this.ownerDocument), this._updateScroll = () => {
|
|
39
44
|
let e = this._scroller;
|
|
40
45
|
if (!e) return;
|
|
41
46
|
let t = e.scrollWidth - e.clientWidth, n = Math.abs(e.scrollLeft), r = getComputedStyle(this).direction === "rtl", i = n > 1, a = n < t - 1;
|
|
@@ -52,7 +57,7 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
52
57
|
let n = this._itemFrom(e), r = n && this._columnOf(n);
|
|
53
58
|
if (!n || !r) return;
|
|
54
59
|
if (e.preventDefault(), this.readonly) {
|
|
55
|
-
this._deny(n), this._deniedTimer = window.setTimeout(() => this._hideDenied(),
|
|
60
|
+
this._deny(n), this._deniedTimer = window.setTimeout(() => this._hideDenied(), E);
|
|
56
61
|
return;
|
|
57
62
|
}
|
|
58
63
|
let i = this.columns, a = r.items.indexOf(n), o = getComputedStyle(this).direction === "rtl", s = {
|
|
@@ -83,7 +88,7 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
83
88
|
pointerType: e.pointerType,
|
|
84
89
|
startX: e.clientX,
|
|
85
90
|
startY: e.clientY,
|
|
86
|
-
timer: e.pointerType === "touch" ? window.setTimeout(() => this._startDrag(this._press.startX, this._press.startY),
|
|
91
|
+
timer: e.pointerType === "touch" ? window.setTimeout(() => this._startDrag(this._press.startX, this._press.startY), S) : 0
|
|
87
92
|
}, window.addEventListener("pointermove", this._onPointerMove), window.addEventListener("pointerup", this._onPointerUp), window.addEventListener("pointercancel", this._onPointerCancel), window.addEventListener("selectstart", this._preventSelect));
|
|
88
93
|
}, this._preventSelect = (e) => {
|
|
89
94
|
e.preventDefault();
|
|
@@ -92,10 +97,10 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
92
97
|
if (t && e.pointerId === t.pointerId && !this._drag && !t.denied) {
|
|
93
98
|
let n = Math.hypot(e.clientX - t.startX, e.clientY - t.startY);
|
|
94
99
|
if (t.pointerType === "touch") {
|
|
95
|
-
n >
|
|
100
|
+
n > x && this._endPress();
|
|
96
101
|
return;
|
|
97
102
|
}
|
|
98
|
-
n >
|
|
103
|
+
n > b && this._startDrag(e.clientX, e.clientY);
|
|
99
104
|
}
|
|
100
105
|
let n = this._drag;
|
|
101
106
|
n && (n.x = e.clientX, n.y = e.clientY, this._follow());
|
|
@@ -115,14 +120,14 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
115
120
|
}, this._scrollLoop = () => {
|
|
116
121
|
let e = this._drag;
|
|
117
122
|
if (!e) return;
|
|
118
|
-
let t = this._scroller.getBoundingClientRect(), n = e.x < t.left +
|
|
123
|
+
let t = this._scroller.getBoundingClientRect(), n = e.x < t.left + C ? -12 : e.x > t.right - C ? w : 0;
|
|
119
124
|
n && this._scroller.scrollBy({
|
|
120
125
|
left: n,
|
|
121
126
|
behavior: "instant"
|
|
122
127
|
}), this._followColumnReveal(n !== 0);
|
|
123
128
|
let r = e.target?._main;
|
|
124
129
|
if (r) {
|
|
125
|
-
let t = r.getBoundingClientRect(), n = e.y < t.top +
|
|
130
|
+
let t = r.getBoundingClientRect(), n = e.y < t.top + C ? -12 : e.y > t.bottom - C ? w : 0;
|
|
126
131
|
n && (r.scrollTop += n);
|
|
127
132
|
}
|
|
128
133
|
(n || r) && this._follow(), e.frame = requestAnimationFrame(this._scrollLoop);
|
|
@@ -132,19 +137,19 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
132
137
|
return Array.from(this.children).filter((e) => e instanceof u && !e.hidden);
|
|
133
138
|
}
|
|
134
139
|
connectedCallback() {
|
|
135
|
-
super.connectedCallback(), this.addEventListener("pointerdown", this._onPointerDown), this.addEventListener("keydown", this._onKeyDown), this.addEventListener("touchmove", this._holdTouch, { passive: !1 });
|
|
140
|
+
super.connectedCallback(), this.addEventListener("pointerdown", this._onPointerDown), this.addEventListener("keydown", this._onKeyDown), this.addEventListener("touchmove", this._holdTouch, { passive: !1 }), this.hasUpdated && this.requestUpdate();
|
|
136
141
|
}
|
|
137
142
|
disconnectedCallback() {
|
|
138
|
-
super.disconnectedCallback(), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("keydown", this._onKeyDown), this.removeEventListener("touchmove", this._holdTouch), this.
|
|
143
|
+
super.disconnectedCallback(), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("keydown", this._onKeyDown), this.removeEventListener("touchmove", this._holdTouch), k.unobserveAll(this), O.cancel(this), this._observing = !1, this._endPress(), this._endDrag(), this._hideDenied();
|
|
139
144
|
}
|
|
140
145
|
updated(e) {
|
|
141
146
|
if (e.has("height")) {
|
|
142
147
|
let e = this.height;
|
|
143
148
|
e && CSS.supports("height", e) ? this.style.setProperty("--_kanban-height", e) : this.style.removeProperty("--_kanban-height");
|
|
144
149
|
}
|
|
145
|
-
if (e.has("readonly") && (this._endPress(), this._cancelDrag(), this._hideDenied()), !this.
|
|
146
|
-
this.
|
|
147
|
-
for (let e of this.columns)
|
|
150
|
+
if (e.has("readonly") && (this._endPress(), this._cancelDrag(), this._hideDenied()), !this._observing && this._scroller) {
|
|
151
|
+
this._observing = !0, k.observe(this._scroller, this);
|
|
152
|
+
for (let e of this.columns) k.observe(e, this);
|
|
148
153
|
}
|
|
149
154
|
}
|
|
150
155
|
moveItem(e, t, n) {
|
|
@@ -210,7 +215,7 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
210
215
|
}), setTimeout(() => window.removeEventListener("click", this._swallowClick, { capture: !0 }), 0);
|
|
211
216
|
}
|
|
212
217
|
_endPress() {
|
|
213
|
-
this._press?.timer && clearTimeout(this._press.timer), this._press?.denied && (this._deniedCursor?.remove(), this._deniedCursor = null, this._deniedTimer = window.setTimeout(() => this._hideDenied(),
|
|
218
|
+
this._press?.timer && clearTimeout(this._press.timer), this._press?.denied && (this._deniedCursor?.remove(), this._deniedCursor = null, this._deniedTimer = window.setTimeout(() => this._hideDenied(), E)), this._press = null, this._drag || this._stopListening();
|
|
214
219
|
}
|
|
215
220
|
_stopListening() {
|
|
216
221
|
window.removeEventListener("selectstart", this._preventSelect), window.removeEventListener("pointermove", this._onPointerMove), window.removeEventListener("pointerup", this._onPointerUp), window.removeEventListener("pointercancel", this._onPointerCancel);
|
|
@@ -288,7 +293,7 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
288
293
|
}
|
|
289
294
|
if (!t.note && !t.noteTimer && (t.noteTimer = window.setTimeout(() => {
|
|
290
295
|
this._drag === t && (t.note = this._note(this._t("components.kanban.drag-return-text")), this._followReturnNote(!1));
|
|
291
|
-
},
|
|
296
|
+
}, D)), !t.note) return;
|
|
292
297
|
let n = t.x - t.offsetX + t.ghost.offsetWidth / 2, r = t.y - t.offsetY;
|
|
293
298
|
t.note.style.transform = `translate(${n}px, ${r}px) translate(-50%, calc(-100% - var(--primitives-space-8)))`;
|
|
294
299
|
}
|
|
@@ -298,7 +303,7 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
298
303
|
let n = e ? null : t.target;
|
|
299
304
|
n !== t.columnToReveal && (clearTimeout(t.columnRevealTimer), t.columnRevealTimer = 0, t.columnToReveal = n, n && this._columnRevealLeft(n) !== void 0 && (t.columnRevealTimer = window.setTimeout(() => {
|
|
300
305
|
this._drag === t && t.columnToReveal === n && this._revealColumn(n);
|
|
301
|
-
},
|
|
306
|
+
}, T)));
|
|
302
307
|
}
|
|
303
308
|
_columnRevealLeft(e) {
|
|
304
309
|
let t = this._scroller, n = getComputedStyle(t), r = parseFloat(n.getPropertyValue("--_kanban-fade-size")) || 0, i = r, a = t.scrollLeft, o = e.getBoundingClientRect(), s = t.getBoundingClientRect().left - a, c = o.left - s - r, l = o.right - s + i - t.clientWidth, u;
|
|
@@ -346,7 +351,7 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
346
351
|
this._hideDenied();
|
|
347
352
|
let t = this._t("components.kanban.readonly-text");
|
|
348
353
|
this._announce(t);
|
|
349
|
-
let n = e.getBoundingClientRect(), r = n.top <
|
|
354
|
+
let n = e.getBoundingClientRect(), r = n.top < C, i = this._note(t);
|
|
350
355
|
Object.assign(i.style, {
|
|
351
356
|
top: `${r ? n.bottom : n.top}px`,
|
|
352
357
|
left: `${n.left + n.width / 2}px`,
|
|
@@ -380,17 +385,17 @@ var _, v = 4, y = 8, b = 300, x = 48, S = 12, C = 300, w = 1500, T = 300, E = (_
|
|
|
380
385
|
clearTimeout(this._deniedTimer), this._deniedNote?.remove(), this._deniedNote = null, this._deniedCursor?.remove(), this._deniedCursor = null;
|
|
381
386
|
}
|
|
382
387
|
render() {
|
|
383
|
-
return
|
|
388
|
+
return v(this);
|
|
384
389
|
}
|
|
385
|
-
},
|
|
390
|
+
}, y.styles = d, y);
|
|
386
391
|
r([a({
|
|
387
392
|
type: String,
|
|
388
393
|
attribute: "accessible-label"
|
|
389
|
-
})],
|
|
394
|
+
})], A.prototype, "accessibleLabel", void 0), r([a({
|
|
390
395
|
reflect: !0,
|
|
391
396
|
converter: m("")
|
|
392
|
-
})],
|
|
397
|
+
})], A.prototype, "height", void 0), r([a({
|
|
393
398
|
type: Boolean,
|
|
394
399
|
reflect: !0
|
|
395
|
-
})],
|
|
396
|
-
export {
|
|
400
|
+
})], A.prototype, "readonly", void 0), r([s(".kanban")], A.prototype, "_scroller", void 0), r([i()], A.prototype, "_canScrollLeft", void 0), r([i()], A.prototype, "_canScrollRight", void 0), r([i()], A.prototype, "_dragging", void 0), A = r([o("nldd-kanban")], A);
|
|
401
|
+
export { A as NLDDKanban, u as NLDDKanbanColumn };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-DtLjpays.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
7
|
-
import { t as d } from "./class-map-
|
|
6
|
+
import { t as u } from "./shadow-resets-DR73IFIL.js";
|
|
7
|
+
import { t as d } from "./class-map-1XjgYGeg.js";
|
|
8
|
+
import { t as f } from "./after-parse-BSKUm67Q.js";
|
|
9
|
+
import { n as p, t as m } from "./layout-pass-Cq85kSHX.js";
|
|
8
10
|
// src/components/layout/kanban/kanban.styles.ts
|
|
9
|
-
var
|
|
11
|
+
var h = o`
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
/* # Host */
|
|
@@ -73,7 +75,7 @@ var f = o`
|
|
|
73
75
|
white-space: nowrap;
|
|
74
76
|
overflow: hidden;
|
|
75
77
|
}
|
|
76
|
-
`,
|
|
78
|
+
`, g = o`
|
|
77
79
|
|
|
78
80
|
|
|
79
81
|
/* # Host */
|
|
@@ -265,7 +267,7 @@ var f = o`
|
|
|
265
267
|
}
|
|
266
268
|
`;
|
|
267
269
|
// src/components/layout/kanban/kanban-column.template.ts
|
|
268
|
-
function
|
|
270
|
+
function _(e) {
|
|
269
271
|
return t`
|
|
270
272
|
<section class=${d({
|
|
271
273
|
"kanban-column": !0,
|
|
@@ -308,9 +310,17 @@ function m(e) {
|
|
|
308
310
|
`;
|
|
309
311
|
}
|
|
310
312
|
// src/components/layout/kanban/kanban-column.ts
|
|
311
|
-
var
|
|
313
|
+
var v, y = new m((e) => {
|
|
314
|
+
for (let t of e) t._updateScroll();
|
|
315
|
+
}), b = p((e) => {
|
|
316
|
+
for (let t of e) t._updateScroll();
|
|
317
|
+
}), x = (v = class extends e {
|
|
312
318
|
constructor(...e) {
|
|
313
|
-
super(...e), this.text = "", this.accessibleLabel = "", this.value = "", this._count = 0, this._hasFooter = !1, this._dropIndex = null, this._placeholder = null, this._returning = !1, this._dropState = null, this._canScrollUp = !1, this._canScrollDown = !1, this.
|
|
319
|
+
super(...e), this.text = "", this.accessibleLabel = "", this.value = "", this._count = 0, this._hasFooter = !1, this._dropIndex = null, this._placeholder = null, this._returning = !1, this._dropState = null, this._canScrollUp = !1, this._canScrollDown = !1, this._observing = !1, this._observedItems = null, this._itemsPending = !1, this._refreshItems = () => {
|
|
320
|
+
this._itemsPending = !1;
|
|
321
|
+
let e = this.items;
|
|
322
|
+
this._count = e.length, this._observeItems(e), y.schedule(this, this.ownerDocument);
|
|
323
|
+
}, this._updateScroll = () => {
|
|
314
324
|
let e = this._mainElement;
|
|
315
325
|
e && (this._canScrollUp = e.scrollTop > 1, this._canScrollDown = e.scrollTop < e.scrollHeight - e.clientHeight - 1);
|
|
316
326
|
};
|
|
@@ -325,26 +335,28 @@ var h = class extends e {
|
|
|
325
335
|
return this._mainElement;
|
|
326
336
|
}
|
|
327
337
|
_handleSlotChange() {
|
|
328
|
-
this.
|
|
338
|
+
this._itemsPending || (this._itemsPending = !0, f(this._refreshItems, this.ownerDocument) || this._refreshItems());
|
|
329
339
|
}
|
|
330
|
-
_observeItems() {
|
|
331
|
-
if (!this.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
e
|
|
340
|
+
_observeItems(e = this.items) {
|
|
341
|
+
if (!this._observing || !this._mainElement) return;
|
|
342
|
+
let t = this._observedItems;
|
|
343
|
+
if (t && t.length === e.length && t.every((t, n) => t === e[n])) return;
|
|
344
|
+
this._observedItems = e, b.unobserveAll(this), b.observe(this._mainElement, this);
|
|
345
|
+
for (let t of e) b.observe(t, this);
|
|
346
|
+
let n = this.shadowRoot?.querySelector(".kanban-column__footer");
|
|
347
|
+
n && b.observe(n, this);
|
|
336
348
|
}
|
|
337
349
|
connectedCallback() {
|
|
338
|
-
super.connectedCallback(), this.hasUpdated && !this.
|
|
350
|
+
super.connectedCallback(), this.hasUpdated && !this._observing && (this._observing = !0, this._observeItems());
|
|
339
351
|
}
|
|
340
352
|
disconnectedCallback() {
|
|
341
|
-
super.disconnectedCallback(), this.
|
|
353
|
+
super.disconnectedCallback(), b.unobserveAll(this), y.cancel(this), this._observing = !1, this._observedItems = null;
|
|
342
354
|
}
|
|
343
355
|
_handleFooterChange(e) {
|
|
344
356
|
this._hasFooter = e.target.assignedNodes().length > 0;
|
|
345
357
|
}
|
|
346
358
|
firstUpdated() {
|
|
347
|
-
this.
|
|
359
|
+
this._observing = !0, this._observeItems();
|
|
348
360
|
}
|
|
349
361
|
updated(e) {
|
|
350
362
|
e.has("_dropIndex") && this._placeIndicator(), e.has("_placeholder") && this._placePlaceholder();
|
|
@@ -361,17 +373,17 @@ var h = class extends e {
|
|
|
361
373
|
a = r ? r.getBoundingClientRect().top - n / 2 : i ? i.getBoundingClientRect().bottom + n / 2 : t.top + parseFloat(getComputedStyle(this._mainElement).paddingTop), this._indicator.style.setProperty("--_kanban-column-indicator-top", `${a - t.top + this._mainElement.scrollTop}px`);
|
|
362
374
|
}
|
|
363
375
|
render() {
|
|
364
|
-
return
|
|
376
|
+
return _(this);
|
|
365
377
|
}
|
|
366
|
-
},
|
|
378
|
+
}, v.styles = g, v);
|
|
367
379
|
r([a({
|
|
368
380
|
reflect: !0,
|
|
369
381
|
converter: l("")
|
|
370
|
-
})],
|
|
382
|
+
})], x.prototype, "text", void 0), r([a({
|
|
371
383
|
type: String,
|
|
372
384
|
attribute: "accessible-label"
|
|
373
|
-
})],
|
|
385
|
+
})], x.prototype, "accessibleLabel", void 0), r([a({
|
|
374
386
|
reflect: !0,
|
|
375
387
|
converter: l("")
|
|
376
|
-
})],
|
|
377
|
-
export {
|
|
388
|
+
})], x.prototype, "value", void 0), r([i()], x.prototype, "_count", void 0), r([i()], x.prototype, "_hasFooter", void 0), r([i()], x.prototype, "_dropIndex", void 0), r([i()], x.prototype, "_placeholder", void 0), r([i()], x.prototype, "_returning", void 0), r([i()], x.prototype, "_dropState", void 0), r([i()], x.prototype, "_canScrollUp", void 0), r([i()], x.prototype, "_canScrollDown", void 0), r([c(".kanban-column__main")], x.prototype, "_mainElement", void 0), r([c(".kanban-column__drop-indicator")], x.prototype, "_indicator", void 0), x = r([s("nldd-kanban-column")], x);
|
|
389
|
+
export { x as NLDDKanbanColumn, h as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { r as i, s as a } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { r as i, s as a } from "./custom-element-DtLjpays.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as c } from "./shadow-resets-
|
|
6
|
+
import { t as c } from "./shadow-resets-DR73IFIL.js";
|
|
7
7
|
// src/utilities/os.ts
|
|
8
8
|
var l = null, u = null;
|
|
9
9
|
function d(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, h as r, i, l as a, m as o, o as s, p as c, r as l, t as u, u as d } from "./style-mod-DGMhzWuk.js";
|
|
2
|
-
import { n as f } from "./decorate-
|
|
2
|
+
import { n as f } from "./decorate-BhnGmemK.js";
|
|
3
3
|
// node_modules/@marijn/find-cluster-break/src/index.js
|
|
4
4
|
var p = [], m = [];
|
|
5
5
|
(() => {
|
|
@@ -8854,17 +8854,17 @@ var vl = class extends f {
|
|
|
8854
8854
|
fontStyle: "italic"
|
|
8855
8855
|
}
|
|
8856
8856
|
]))], bl = {
|
|
8857
|
-
json: async () => (await import("./dist-
|
|
8858
|
-
yaml: async () => (await import("./dist-
|
|
8859
|
-
javascript: async () => (await import("./dist-
|
|
8860
|
-
typescript: async () => (await import("./dist-
|
|
8861
|
-
css: async () => (await import("./dist-
|
|
8862
|
-
html: async () => (await import("./dist-
|
|
8863
|
-
xml: async () => (await import("./dist-
|
|
8864
|
-
python: async () => (await import("./dist-
|
|
8865
|
-
rust: async () => (await import("./dist-
|
|
8866
|
-
sql: async () => (await import("./dist-
|
|
8867
|
-
markdown: async () => (await import("./dist-
|
|
8857
|
+
json: async () => (await import("./dist-EP5KATv0.js")).json(),
|
|
8858
|
+
yaml: async () => (await import("./dist-DwevYbXo.js")).yaml(),
|
|
8859
|
+
javascript: async () => (await import("./dist-BTuJ-NyU.js").then((e) => e.t)).javascript(),
|
|
8860
|
+
typescript: async () => (await import("./dist-BTuJ-NyU.js").then((e) => e.t)).javascript({ typescript: !0 }),
|
|
8861
|
+
css: async () => (await import("./dist-BpqJqkl_.js").then((e) => e.r)).css(),
|
|
8862
|
+
html: async () => (await import("./dist-u6MS5-M8.js").then((e) => e.t)).html(),
|
|
8863
|
+
xml: async () => (await import("./dist-C9xmfEc_.js")).xml(),
|
|
8864
|
+
python: async () => (await import("./dist-Cdmhq-4P.js")).python(),
|
|
8865
|
+
rust: async () => (await import("./dist-DJSiRJRL.js")).rust(),
|
|
8866
|
+
sql: async () => (await import("./dist-BbwC3zHR.js")).sql(),
|
|
8867
|
+
markdown: async () => (await import("./dist-CYKK2xXE.js").then((e) => e.n)).markdown(),
|
|
8868
8868
|
bash: async () => new fc(el.define((await import("./shell-DmJOYhyF.js")).shell)),
|
|
8869
8869
|
toml: async () => new fc(el.define((await import("./toml-w97zZfFO.js")).toml)),
|
|
8870
8870
|
gherkin: async () => new fc(el.define((await import("./gherkin-eseYvsxh.js")).gherkin))
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { t as e } from "./after-parse-BSKUm67Q.js";
|
|
2
|
+
// src/utilities/layout-pass.ts
|
|
3
|
+
var t = class {
|
|
4
|
+
constructor(e) {
|
|
5
|
+
this._run = e, this._pending = /* @__PURE__ */ new Set(), this.flush = () => this._flush(), this._flush = () => {
|
|
6
|
+
if (!this._pending.size) return;
|
|
7
|
+
let e = [...this._pending];
|
|
8
|
+
this._pending.clear(), this._run(e);
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
schedule(t, n = document) {
|
|
12
|
+
let r = this._pending.size > 0;
|
|
13
|
+
this._pending.add(t), r || e(this._flush, n) || queueMicrotask(this._flush);
|
|
14
|
+
}
|
|
15
|
+
cancel(e) {
|
|
16
|
+
this._pending.delete(e);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
function n(e) {
|
|
20
|
+
let t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = null;
|
|
21
|
+
return {
|
|
22
|
+
observe(i, a) {
|
|
23
|
+
r ?? (r = new ResizeObserver((n) => {
|
|
24
|
+
let r = /* @__PURE__ */ new Set();
|
|
25
|
+
for (let e of n) t.get(e.target)?.forEach((e) => r.add(e));
|
|
26
|
+
let i = [...r].filter((e) => !(e instanceof Node) || e.isConnected);
|
|
27
|
+
i.length && e(i);
|
|
28
|
+
}));
|
|
29
|
+
let o = t.get(i) ?? /* @__PURE__ */ new Set();
|
|
30
|
+
t.set(i, o);
|
|
31
|
+
let s = o.size > 0 && !o.has(a);
|
|
32
|
+
o.add(a);
|
|
33
|
+
let c = n.get(a) ?? /* @__PURE__ */ new Set();
|
|
34
|
+
n.set(a, c), c.add(i), s && r.unobserve(i), r.observe(i);
|
|
35
|
+
},
|
|
36
|
+
unobserveAll(e) {
|
|
37
|
+
for (let i of n.get(e) ?? []) {
|
|
38
|
+
let n = t.get(i);
|
|
39
|
+
n?.delete(e), n?.size || (r?.unobserve(i), t.delete(i));
|
|
40
|
+
}
|
|
41
|
+
n.delete(e);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export { n, t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-DtLjpays.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
6
|
+
import { t as u } from "./shadow-resets-DR73IFIL.js";
|
|
7
7
|
import { t as d } from "./link-rel-DvrTEfVT.js";
|
|
8
8
|
import { r as f, t as p } from "./link-hint-KFhgr5Ng.js";
|
|
9
|
-
import { t as m } from "./with-translations-
|
|
9
|
+
import { t as m } from "./with-translations-nT8q6ELU.js";
|
|
10
10
|
import { t as h } from "./link.i18n-DJPobGmu.js";
|
|
11
11
|
import { t as g } from "./interest-invoker-CfOJaqZQ.js";
|
|
12
|
-
import { n as _, t as v } from "./described-by-mixin-
|
|
13
|
-
import "./icon-
|
|
12
|
+
import { n as _, t as v } from "./described-by-mixin-Jh_PTTde.js";
|
|
13
|
+
import "./icon-Dj98ov4G.js";
|
|
14
14
|
// src/components/navigation/link/link.styles.ts
|
|
15
15
|
var y = o`
|
|
16
16
|
:host {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { r as i, s as a } from "./custom-element-DtLjpays.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-DtLjpays.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as d } from "./if-defined-
|
|
8
|
-
import "./list-item-
|
|
7
|
+
import { t as d } from "./if-defined-CZ1Fmb74.js";
|
|
8
|
+
import "./list-item-CSP1a_cN.js";
|
|
9
9
|
import { t as f } from "./list.i18n-C40ltgdI.js";
|
|
10
|
-
import "./inline-dialog-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./icon-button-
|
|
13
|
-
import { t as p } from "./translations-
|
|
10
|
+
import "./inline-dialog-BTI0xmIT.js";
|
|
11
|
+
import "./icon-Dj98ov4G.js";
|
|
12
|
+
import "./icon-button-HKoCqWG3.js";
|
|
13
|
+
import { t as p } from "./translations-C6WKR-hE.js";
|
|
14
14
|
import { r as m } from "./element-state-B-44fVqq.js";
|
|
15
15
|
import { t as h } from "./deep-active-element-DgiHjYGG.js";
|
|
16
|
+
import { t as g } from "./after-parse-BSKUm67Q.js";
|
|
16
17
|
// src/components/lists-and-tables/list/list.styles.ts
|
|
17
|
-
var
|
|
18
|
+
var _ = s`
|
|
18
19
|
:host {
|
|
19
20
|
box-sizing: border-box;
|
|
20
21
|
}
|
|
@@ -344,7 +345,7 @@ var g = s`
|
|
|
344
345
|
border: 1px solid CanvasText;
|
|
345
346
|
}
|
|
346
347
|
}
|
|
347
|
-
`,
|
|
348
|
+
`, v = ({ itemsLabel: e, hasToolbar: t, type: i, isEmpty: a, hasItems: o, hasEmptyState: s, hasNoResultsState: c, listbox: l }) => {
|
|
348
349
|
let u = i === "navigation", f = i === "listbox", p = u || f, m = f ? "listbox" : i === "tree" ? "tree" : i === "radiogroup" ? "radiogroup" : "list", h = a && o, g = f && l.searchValue === "", _ = h && !c && s, v = h && c && !g, y = (!h && a && s || _) && !g, b = !a || y || v, x = o || f;
|
|
349
350
|
return n`
|
|
350
351
|
<div class="list">
|
|
@@ -443,7 +444,7 @@ var g = s`
|
|
|
443
444
|
aria-atomic="true"
|
|
444
445
|
></div>
|
|
445
446
|
`;
|
|
446
|
-
},
|
|
447
|
+
}, y = class {
|
|
447
448
|
constructor(e, t) {
|
|
448
449
|
this._host = e, this._options = t, this._scheduled = !1, this._onFocusIn = (e) => {
|
|
449
450
|
if (!this._options.enabled()) return;
|
|
@@ -465,9 +466,12 @@ var g = s`
|
|
|
465
466
|
return this._options.rows().find((e) => e._roving === "stop");
|
|
466
467
|
}
|
|
467
468
|
update() {
|
|
468
|
-
|
|
469
|
+
if (this._scheduled) return;
|
|
470
|
+
this._scheduled = !0;
|
|
471
|
+
let e = () => {
|
|
469
472
|
this._scheduled = !1, this._apply();
|
|
470
|
-
}
|
|
473
|
+
};
|
|
474
|
+
g(e, this._host.ownerDocument) || queueMicrotask(e);
|
|
471
475
|
}
|
|
472
476
|
moveTo(e) {
|
|
473
477
|
for (let t of this._options.rows()) t._roving = t === e ? "stop" : "rest";
|
|
@@ -493,9 +497,9 @@ var g = s`
|
|
|
493
497
|
}
|
|
494
498
|
return !1;
|
|
495
499
|
}
|
|
496
|
-
},
|
|
500
|
+
}, b = /* @__PURE__ */ e({ NLDDList: () => w }), x, S, C = ":is(a[href], button, input, select, textarea, [tabindex]):not([tabindex^=\"-\"]):not(:disabled)", w = (x = class extends t {
|
|
497
501
|
constructor(...e) {
|
|
498
|
-
super(...e), this.appearance = "simple", this.type = "list", this.dividers = "always", this.height = "", this.accessibleLabel = "", this.translations = {}, this.reorderable = !1, this._hasToolbar = !1, this._hasSearchBarEnd = !1, this._hasEmptyState = !1, this._hasNoResultsState = !1, this._hasItems = !1, this._isEmpty = !1, this._searchValue = "", this._activeId = "", this._searchFocused = !1, this._listboxId = `nldd-list-listbox-${
|
|
502
|
+
super(...e), this.appearance = "simple", this.type = "list", this.dividers = "always", this.height = "", this.accessibleLabel = "", this.translations = {}, this.reorderable = !1, this._hasToolbar = !1, this._hasSearchBarEnd = !1, this._hasEmptyState = !1, this._hasNoResultsState = !1, this._hasItems = !1, this._isEmpty = !1, this._searchValue = "", this._activeId = "", this._searchFocused = !1, this._listboxId = `nldd-list-listbox-${S._idCounter++}`, this._draggingEl = null, this._draggingFromIndex = -1, this._placeholder = null, this._currentDropIndex = -1, this._pointerId = null, this._clone = null, this._cloneOffsetY = 0, this._listRect = null, this._itemsObserver = null, this._autoLabel = null, this._refreshPending = !1, this._refreshControls = !1, this._contextScheduled = !1, this._listboxScheduled = !1, this._onSearchInput = (e) => {
|
|
499
503
|
e.stopPropagation();
|
|
500
504
|
let t = e.target;
|
|
501
505
|
this._searchValue = t.value, this._emitListboxInput(this._searchValue);
|
|
@@ -541,7 +545,7 @@ var g = s`
|
|
|
541
545
|
if (e.key !== "Escape" || !this._arrowNavActive) return;
|
|
542
546
|
let t = this._origin(e);
|
|
543
547
|
this._popoverWasOpen = !!t?.control && !!t.row.querySelector(":popover-open");
|
|
544
|
-
}, this._roving = new
|
|
548
|
+
}, this._roving = new y(this, {
|
|
545
549
|
enabled: () => this._arrowNavActive,
|
|
546
550
|
rows: () => this._getAllRows(),
|
|
547
551
|
stops: () => this._getInteractiveItems(),
|
|
@@ -607,15 +611,16 @@ var g = s`
|
|
|
607
611
|
this.hasUpdated || (this._updateEmpty(), this._hasToolbar = this.querySelector(":scope > [slot=\"toolbar\"]") !== null, this._hasSearchBarEnd = this.querySelector(":scope > [slot=\"search-bar-end\"]") !== null);
|
|
608
612
|
}
|
|
609
613
|
firstUpdated() {
|
|
610
|
-
(this.shadowRoot?.querySelector("slot:not([name])"))?.addEventListener("slotchange", () => queueMicrotask(() =>
|
|
611
|
-
this._updateItems(), this._updateEmpty();
|
|
612
|
-
})), this._updateItems(), this._syncUnmanagedControls();
|
|
614
|
+
(this.shadowRoot?.querySelector("slot:not([name])"))?.addEventListener("slotchange", () => queueMicrotask(() => this._refreshItems(!1))), this._updateItems(), this._syncUnmanagedControls();
|
|
613
615
|
let e = this.shadowRoot?.querySelector("slot[name=\"toolbar\"]");
|
|
614
616
|
e?.addEventListener("slotchange", () => queueMicrotask(() => {
|
|
615
617
|
this._hasToolbar = e.assignedElements().length > 0;
|
|
616
|
-
})), (this.shadowRoot?.querySelector("slot[name=\"empty\"]"))?.addEventListener("slotchange", () => queueMicrotask(() => this._updateEmpty())), (this.shadowRoot?.querySelector("slot[name=\"no-results\"]"))?.addEventListener("slotchange", () => queueMicrotask(() => this._updateEmpty())), this.
|
|
618
|
+
})), (this.shadowRoot?.querySelector("slot[name=\"empty\"]"))?.addEventListener("slotchange", () => queueMicrotask(() => this._updateEmpty())), (this.shadowRoot?.querySelector("slot[name=\"no-results\"]"))?.addEventListener("slotchange", () => queueMicrotask(() => this._updateEmpty())), this._watchItems(), this._applyHostType();
|
|
619
|
+
}
|
|
620
|
+
_watchItems() {
|
|
621
|
+
this._itemsObserver?.disconnect(), this._itemsObserver = new MutationObserver((e) => {
|
|
617
622
|
let t = (e) => e instanceof Element && e.tagName.toLowerCase() === "nldd-list-item";
|
|
618
|
-
e.some((e) => e.type === "childList" ? e.target === this || t(e.target) : e.type !== "attributes" || !t(e.target) ? !1 : e.attributeName === "expanded" || e.attributeName === "disabled" || e.attributeName === "hidden" && (e.target.parentElement === this || t(e.target.parentElement))) &&
|
|
623
|
+
e.some((e) => e.type === "childList" ? e.target === this || t(e.target) : e.type !== "attributes" || !t(e.target) ? !1 : e.attributeName === "expanded" || e.attributeName === "disabled" || e.attributeName === "hidden" && (e.target.parentElement === this || t(e.target.parentElement))) && this._refreshItems(!0);
|
|
619
624
|
}), this._itemsObserver.observe(this, {
|
|
620
625
|
childList: !0,
|
|
621
626
|
subtree: !0,
|
|
@@ -625,10 +630,10 @@ var g = s`
|
|
|
625
630
|
"expanded",
|
|
626
631
|
"disabled"
|
|
627
632
|
]
|
|
628
|
-
})
|
|
633
|
+
});
|
|
629
634
|
}
|
|
630
635
|
connectedCallback() {
|
|
631
|
-
super.connectedCallback(), this.style.containerType = "inline-size", this.style.containerName = "cells-container", this.addEventListener("pointerdown", this._onPointerDown), this.addEventListener("keydown", this._onKeyDownCapture, !0), this.addEventListener("keydown", this._onKeyDown), this.addEventListener("click", this._onListClick);
|
|
636
|
+
super.connectedCallback(), this.style.containerType = "inline-size", this.style.containerName = "cells-container", this.addEventListener("pointerdown", this._onPointerDown), this.addEventListener("keydown", this._onKeyDownCapture, !0), this.addEventListener("keydown", this._onKeyDown), this.addEventListener("click", this._onListClick), this.hasUpdated && (this._watchItems(), this._refreshItems(!0));
|
|
632
637
|
}
|
|
633
638
|
disconnectedCallback() {
|
|
634
639
|
super.disconnectedCallback(), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("keydown", this._onKeyDownCapture, !0), this.removeEventListener("keydown", this._onKeyDown), this.removeEventListener("click", this._onListClick), this._itemsObserver?.disconnect(), this._itemsObserver = null, this._cancelDrag();
|
|
@@ -670,6 +675,15 @@ var g = s`
|
|
|
670
675
|
i ? e.setAttribute("reorderable", "") : e.removeAttribute("reorderable");
|
|
671
676
|
}), this._updateItemContext(), this._updateRoving(), this.type === "listbox" && this._updateListboxOptions();
|
|
672
677
|
}
|
|
678
|
+
_refreshItems(e) {
|
|
679
|
+
if (this._refreshControls || (this._refreshControls = e), this._refreshPending) return;
|
|
680
|
+
this._refreshPending = !0;
|
|
681
|
+
let t = () => {
|
|
682
|
+
let e = this._refreshControls;
|
|
683
|
+
this._refreshPending = !1, this._refreshControls = !1, this._updateItems(), this._updateEmpty(), e && this._syncUnmanagedControls();
|
|
684
|
+
};
|
|
685
|
+
g(t, this.ownerDocument) || t();
|
|
686
|
+
}
|
|
673
687
|
_updateItemContext() {
|
|
674
688
|
this._contextScheduled || (this._contextScheduled = !0, queueMicrotask(() => {
|
|
675
689
|
this._contextScheduled = !1, this._applyItemContext();
|
|
@@ -691,7 +705,7 @@ var g = s`
|
|
|
691
705
|
m(this, "empty", t && !this._hasItems), m(this, "filtered", t && this._hasItems);
|
|
692
706
|
}
|
|
693
707
|
_ensureOptionId(e) {
|
|
694
|
-
return e.id || (e.id = `nldd-list-option-${
|
|
708
|
+
return e.id || (e.id = `nldd-list-option-${S._optionIdCounter++}`), e.id;
|
|
695
709
|
}
|
|
696
710
|
_updateListboxOptions() {
|
|
697
711
|
this._listboxScheduled || (this._listboxScheduled = !0, queueMicrotask(() => {
|
|
@@ -821,7 +835,7 @@ var g = s`
|
|
|
821
835
|
for (let t of Array.from(e.querySelectorAll("*"))) {
|
|
822
836
|
if (t.closest("nldd-list-item") !== e || t.tagName.toLowerCase() === "nldd-list-item-segment" || !t.tagName.includes("-") || "noTab" in t) continue;
|
|
823
837
|
let n = t;
|
|
824
|
-
if (n.updateComplete && await n.updateComplete, t.shadowRoot?.querySelector(
|
|
838
|
+
if (n.updateComplete && await n.updateComplete, t.shadowRoot?.querySelector(C) && !this._hiddenWithin(e, t)) return !0;
|
|
825
839
|
}
|
|
826
840
|
return !1;
|
|
827
841
|
}
|
|
@@ -884,7 +898,7 @@ var g = s`
|
|
|
884
898
|
})));
|
|
885
899
|
}
|
|
886
900
|
render() {
|
|
887
|
-
return
|
|
901
|
+
return v({
|
|
888
902
|
itemsLabel: this.accessibleLabel || this._t("components.list.items-accessible-label"),
|
|
889
903
|
hasToolbar: this._hasToolbar,
|
|
890
904
|
type: this.type,
|
|
@@ -909,24 +923,24 @@ var g = s`
|
|
|
909
923
|
}
|
|
910
924
|
});
|
|
911
925
|
}
|
|
912
|
-
},
|
|
926
|
+
}, S = x, x.styles = [_], x._idCounter = 0, x._optionIdCounter = 0, x);
|
|
913
927
|
i([o({
|
|
914
928
|
reflect: !0,
|
|
915
929
|
converter: u("simple")
|
|
916
|
-
})],
|
|
930
|
+
})], w.prototype, "appearance", void 0), i([o({
|
|
917
931
|
reflect: !0,
|
|
918
932
|
converter: u("list")
|
|
919
|
-
})],
|
|
933
|
+
})], w.prototype, "type", void 0), i([o({
|
|
920
934
|
reflect: !0,
|
|
921
935
|
converter: u("always")
|
|
922
|
-
})],
|
|
936
|
+
})], w.prototype, "dividers", void 0), i([o({
|
|
923
937
|
reflect: !0,
|
|
924
938
|
converter: u("")
|
|
925
|
-
})],
|
|
939
|
+
})], w.prototype, "height", void 0), i([o({
|
|
926
940
|
type: String,
|
|
927
941
|
attribute: "accessible-label"
|
|
928
|
-
})],
|
|
942
|
+
})], w.prototype, "accessibleLabel", void 0), i([o({ type: Object })], w.prototype, "translations", void 0), i([o({
|
|
929
943
|
type: Boolean,
|
|
930
944
|
reflect: !0
|
|
931
|
-
})],
|
|
932
|
-
export {
|
|
945
|
+
})], w.prototype, "reorderable", void 0), i([a(), a()], w.prototype, "_hasToolbar", void 0), i([a()], w.prototype, "_hasSearchBarEnd", void 0), i([a()], w.prototype, "_hasEmptyState", void 0), i([a()], w.prototype, "_hasNoResultsState", void 0), i([a()], w.prototype, "_hasItems", void 0), i([a()], w.prototype, "_isEmpty", void 0), i([a()], w.prototype, "_searchValue", void 0), i([a()], w.prototype, "_activeId", void 0), i([a()], w.prototype, "_searchFocused", void 0), i([l(".list__search-field-input")], w.prototype, "_searchInput", void 0), w = S = i([c("nldd-list")], w);
|
|
946
|
+
export { b as t };
|