@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,14 +1,14 @@
|
|
|
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 { n as d } from "./shadow-resets-
|
|
8
|
-
import { t as f } from "./class-map-
|
|
7
|
+
import { n as d } from "./shadow-resets-DR73IFIL.js";
|
|
8
|
+
import { t as f } from "./class-map-1XjgYGeg.js";
|
|
9
9
|
import { t as p } from "./link-rel-DvrTEfVT.js";
|
|
10
10
|
import { n as m } from "./input-modality-XE0B7yCn.js";
|
|
11
|
-
import { t as h } from "./with-translations-
|
|
11
|
+
import { t as h } from "./with-translations-nT8q6ELU.js";
|
|
12
12
|
import { t as g } from "./list-item.i18n-Br6J5Ev9.js";
|
|
13
13
|
import { r as _, t as v } from "./link-hint-KFhgr5Ng.js";
|
|
14
14
|
import { r as y } from "./element-state-B-44fVqq.js";
|
|
@@ -37,7 +37,6 @@ var x = s`
|
|
|
37
37
|
|
|
38
38
|
--context-list-item-size: var(--semantics-controls-md-min-size);
|
|
39
39
|
--context-cell-padding-block: var(--_list-item-md-padding-block);
|
|
40
|
-
container-type: inline-size;
|
|
41
40
|
display: block;
|
|
42
41
|
width: 100%;
|
|
43
42
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -1,11 +1,11 @@
|
|
|
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
6
|
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
7
7
|
import { t as d } from "./link-rel-DvrTEfVT.js";
|
|
8
|
-
import { t as f } from "./with-translations-
|
|
8
|
+
import { t as f } from "./with-translations-nT8q6ELU.js";
|
|
9
9
|
import { r as p, t as m } from "./link-hint-KFhgr5Ng.js";
|
|
10
10
|
import { t as h } from "./list-item-segment.i18n-DHnrQL4V.js";
|
|
11
11
|
import { t as g } from "./defer-focus-F73ud2D9.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r, r as i } from "./custom-element-
|
|
2
|
+
import { n as t, t as n } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-DtLjpays.js";
|
|
4
4
|
import { c as a, n as o, o as s, r as c, s as l, t as u } from "./floating-ui.dom-CB34tcZx.js";
|
|
5
5
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { c as f, i as p } from "./menu.template-
|
|
6
|
+
import { c as f, i as p } from "./menu.template-B_HMnBsa.js";
|
|
7
7
|
import { t as m } from "./menu.i18n-C6uYJsG3.js";
|
|
8
|
-
import "./icon-cell-
|
|
9
|
-
import "./spacer-cell-
|
|
10
|
-
import "./text-cell-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./keyboard-shortcut-
|
|
13
|
-
import "./inline-dialog-
|
|
8
|
+
import "./icon-cell-C1I-oIWn.js";
|
|
9
|
+
import "./spacer-cell-DBm7_AUi.js";
|
|
10
|
+
import "./text-cell-CrKBqL5A.js";
|
|
11
|
+
import "./icon-Dj98ov4G.js";
|
|
12
|
+
import "./keyboard-shortcut-BikzmCBH.js";
|
|
13
|
+
import "./inline-dialog-BTI0xmIT.js";
|
|
14
14
|
import { r as h, t as g } from "./input-modality-XE0B7yCn.js";
|
|
15
15
|
import { t as _ } from "./return-focus-CpwHVxYU.js";
|
|
16
16
|
import { n as v, o as y, t as b } from "./overlay-invoker-Dj6MQAtF.js";
|
|
17
17
|
import { n as x } from "./breakpoints-Cwor8TRP.js";
|
|
18
|
-
import { t as S } from "./translations-
|
|
18
|
+
import { t as S } from "./translations-C6WKR-hE.js";
|
|
19
19
|
import { r as C, t as w } from "./carried-context-DlMSujiJ.js";
|
|
20
20
|
import { r as T } from "./element-state-B-44fVqq.js";
|
|
21
|
-
import { t as E } from "./menu-item-
|
|
22
|
-
import { t as D } from "./menu-group-
|
|
23
|
-
import { t as O } from "./menu-divider-
|
|
21
|
+
import { t as E } from "./menu-item-55vjckz2.js";
|
|
22
|
+
import { t as D } from "./menu-group-0B34NyN5.js";
|
|
23
|
+
import { t as O } from "./menu-divider-BptK2nug.js";
|
|
24
24
|
function k(e, t) {
|
|
25
25
|
let n = document;
|
|
26
26
|
for (let r = 0; r < 20; r++) {
|
|
@@ -472,11 +472,12 @@ var K = 500, q = 40, J = .1, Y = 150, X = class e extends t {
|
|
|
472
472
|
}));
|
|
473
473
|
}
|
|
474
474
|
updated(e) {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
475
|
+
e.has("anchorOffset") && this._isOpen && this.reposition(), e.has("width") && (this.width ? (this.style.setProperty("--_menu-width", this.width), this.style.setProperty("--_menu-min-width", this.width), this.style.setProperty("--_menu-max-width", this.width)) : (this.style.removeProperty("--_menu-width"), this.style.removeProperty("--_menu-min-width"), this.style.removeProperty("--_menu-max-width"))), e.has("maxItems") && (this.maxItems > 0 ? this.style.setProperty("--_menu-max-items", String(this.maxItems)) : this.style.removeProperty("--_menu-max-items")), e.has("variant") && (this._claimItems(), e.get("variant") !== void 0 && this._syncAnchorPopupState(this._isOpen)), (e.has("anchor") || e.has("anchorElement")) && (this._watchAnchorPress(), this._syncAnchorPopupState(this._isOpen));
|
|
476
|
+
}
|
|
477
|
+
_watchAnchorPress() {
|
|
478
|
+
this._previousAnchorForResync?.removeEventListener("pointerdown", this._resyncAnchorFromPopoverState, !0);
|
|
479
|
+
let e = this._getAnchorEl();
|
|
480
|
+
e?.addEventListener("pointerdown", this._resyncAnchorFromPopoverState, !0), this._previousAnchorForResync = e;
|
|
480
481
|
}
|
|
481
482
|
get _listLabel() {
|
|
482
483
|
if (this.accessibleLabel) return this.accessibleLabel;
|
|
@@ -579,7 +580,7 @@ var K = 500, q = 40, J = .1, Y = 150, X = class e extends t {
|
|
|
579
580
|
return i ? (i._finishBlink?.(), !0) : !1;
|
|
580
581
|
}
|
|
581
582
|
connectedCallback() {
|
|
582
|
-
super.connectedCallback(), this.id || (this.id = `nldd-menu-${e._menuIdCounter++}`), this.hasAttribute("popover") || this.setAttribute("popover", ""), this.addEventListener("beforetoggle", this._handleBeforeToggle), this.addEventListener("toggle", this._handleToggle), this.addEventListener("keydown", this._handleKeydown), this.addEventListener("keyup", this._handleSpaceUp), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.addEventListener("mouseover", this._handleMouseover), this.addEventListener("mousemove", this._handleHoverMove), this.addEventListener("mouseleave", this._handleMouseleave), this.addEventListener("menu-item-focused", this._handleMenuItemFocused), this.addEventListener("submenu-open", this._handleSubmenuOpen), this.addEventListener("select", this._handleSelect), this.addEventListener("pointerdown", this._notePress, !0), this.addEventListener("keydown", this._notePress, !0), this.addEventListener("pointercancel", this._forgetPress, !0), this.addEventListener("click", this._forgetPress), this._anchorInvoker.setOverlay(this), this._stopWatchingAnchor = y(this._anchorInvoker, () => this.anchorElement || !this.anchor ? null : document.getElementById(this.anchor)), document.addEventListener("click", this._handleDocumentClick);
|
|
583
|
+
super.connectedCallback(), this.id || (this.id = `nldd-menu-${e._menuIdCounter++}`), this.hasAttribute("popover") || this.setAttribute("popover", ""), this.addEventListener("beforetoggle", this._handleBeforeToggle), this.addEventListener("toggle", this._handleToggle), this.addEventListener("keydown", this._handleKeydown), this.addEventListener("keyup", this._handleSpaceUp), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.addEventListener("mouseover", this._handleMouseover), this.addEventListener("mousemove", this._handleHoverMove), this.addEventListener("mouseleave", this._handleMouseleave), this.addEventListener("menu-item-focused", this._handleMenuItemFocused), this.addEventListener("submenu-open", this._handleSubmenuOpen), this.addEventListener("select", this._handleSelect), this.addEventListener("pointerdown", this._notePress, !0), this.addEventListener("keydown", this._notePress, !0), this.addEventListener("pointercancel", this._forgetPress, !0), this.addEventListener("click", this._forgetPress), this._anchorInvoker.setOverlay(this), this._stopWatchingAnchor = y(this._anchorInvoker, () => this.anchorElement || !this.anchor ? null : document.getElementById(this.anchor)), document.addEventListener("click", this._handleDocumentClick), this.hasUpdated && this._watchAnchorPress();
|
|
583
584
|
}
|
|
584
585
|
willUpdate() {
|
|
585
586
|
this.hasUpdated || this._updateEmptyState();
|
|
@@ -1,12 +1,12 @@
|
|
|
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 "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
5
|
+
import { t as l } from "./shadow-resets-DR73IFIL.js";
|
|
6
6
|
import { t as u } from "./sanitize-url-CBuGmY0W.js";
|
|
7
|
-
import "./tooltip-
|
|
8
|
-
import "./icon-
|
|
9
|
-
import "./menu-
|
|
7
|
+
import "./tooltip-DhPeqDvL.js";
|
|
8
|
+
import "./icon-Dj98ov4G.js";
|
|
9
|
+
import "./menu-LZ0DmVCe.js";
|
|
10
10
|
import { t as d } from "./defer-focus-F73ud2D9.js";
|
|
11
11
|
import { t as f } from "./overlay-invoker-Dj6MQAtF.js";
|
|
12
12
|
// src/components/navigation/menu-bar-item/menu-bar-item.styles.ts
|
|
@@ -1,18 +1,20 @@
|
|
|
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";
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import { t as u } from "./with-translations-
|
|
6
|
+
import { t as l } from "./shadow-resets-DR73IFIL.js";
|
|
7
|
+
import { t as u } from "./with-translations-nT8q6ELU.js";
|
|
8
8
|
import { t as d } from "./menu-bar.i18n-BoMu4Eoz.js";
|
|
9
|
-
import "./menu-bar-item-
|
|
10
|
-
import { t as f } from "./overflow-menu-
|
|
9
|
+
import "./menu-bar-item-DENdrp0m.js";
|
|
10
|
+
import { t as f } from "./overflow-menu-Cs1VLcX7.js";
|
|
11
11
|
import { t as p } from "./overlay-invoker-Dj6MQAtF.js";
|
|
12
12
|
import { r as m } from "./element-state-B-44fVqq.js";
|
|
13
13
|
import { t as h } from "./list-items-Du0RCWsY.js";
|
|
14
|
+
import { n as g } from "./layout-pass-Cq85kSHX.js";
|
|
15
|
+
import { t as _ } from "./frame-pass-C0RUoFMc.js";
|
|
14
16
|
// src/components/navigation/menu-bar/menu-bar.styles.ts
|
|
15
|
-
var
|
|
17
|
+
var v = a`
|
|
16
18
|
:host {
|
|
17
19
|
box-sizing: border-box;
|
|
18
20
|
}
|
|
@@ -64,7 +66,7 @@ var g = a`
|
|
|
64
66
|
}
|
|
65
67
|
`;
|
|
66
68
|
// src/components/navigation/menu-bar/menu-bar.template.ts
|
|
67
|
-
function
|
|
69
|
+
function y(e) {
|
|
68
70
|
return t`
|
|
69
71
|
<nav class="menu-bar"
|
|
70
72
|
aria-label=${e.accessibleLabel || n}
|
|
@@ -100,19 +102,22 @@ function _(e) {
|
|
|
100
102
|
`;
|
|
101
103
|
}
|
|
102
104
|
// src/components/navigation/menu-bar/menu-bar.ts
|
|
103
|
-
var
|
|
105
|
+
var b, x = new _((e) => S(e.filter((e) => e.isConnected)));
|
|
106
|
+
function S(e) {
|
|
107
|
+
let t = e.filter((e) => e._showAllItems()), n = t.map((e) => e._measureItems());
|
|
108
|
+
t.forEach((e, t) => e._cutOverflow(n[t]));
|
|
109
|
+
}
|
|
110
|
+
var C = g((e) => e.forEach((e) => e._scheduleOverflowUpdate())), w = (b = class extends u(e, d) {
|
|
104
111
|
constructor(...e) {
|
|
105
112
|
super(...e), this.overflowText = "", this.accessibleLabel = "", this.compact = !1, this._overflowMenu = new f(this, {
|
|
106
113
|
id: "nldd-menu-bar-overflow-menu",
|
|
107
114
|
onToggle: (e) => {
|
|
108
115
|
!e && this._overflowUpdatePending && (this._overflowUpdatePending = !1, this._scheduleOverflowUpdate());
|
|
109
116
|
}
|
|
110
|
-
}), this._overflowUpdatePending = !1, this.
|
|
117
|
+
}), this._overflowUpdatePending = !1, this._setupRAF = null, this._onSlotChange = () => {
|
|
111
118
|
h(this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []), this._syncCompactAttribute(), this._scheduleOverflowUpdate(), this._syncEmpty();
|
|
112
119
|
}, this._scheduleOverflowUpdate = () => {
|
|
113
|
-
|
|
114
|
-
this._overflowRAF = null, this._updateOverflow();
|
|
115
|
-
});
|
|
120
|
+
x.schedule(this);
|
|
116
121
|
}, this._overflowInvoker = new p(this, {
|
|
117
122
|
anchorFor: () => this._overflowButton?.querySelector("nldd-menu-bar-item") ?? this._overflowButton ?? null,
|
|
118
123
|
open: (e) => {
|
|
@@ -134,6 +139,9 @@ var v = class extends u(e, d) {
|
|
|
134
139
|
get _overflowText() {
|
|
135
140
|
return this.overflowText || this._t("components.menu-bar.overflow-action");
|
|
136
141
|
}
|
|
142
|
+
connectedCallback() {
|
|
143
|
+
super.connectedCallback(), this.hasUpdated && this._setupOverflowDetection();
|
|
144
|
+
}
|
|
137
145
|
disconnectedCallback() {
|
|
138
146
|
super.disconnectedCallback(), this._cleanupOverflowDetection(), this._overflowInvoker.setOverlay(null);
|
|
139
147
|
}
|
|
@@ -159,45 +167,53 @@ var v = class extends u(e, d) {
|
|
|
159
167
|
}
|
|
160
168
|
_setupOverflowDetection() {
|
|
161
169
|
this._cleanupOverflowDetection(), this._setupRAF = requestAnimationFrame(() => {
|
|
162
|
-
this._setupRAF = null, this.isConnected && (this.
|
|
163
|
-
this._scheduleOverflowUpdate();
|
|
164
|
-
}), this._resizeObserver.observe(this), this._defaultSlot && (this._defaultSlot.addEventListener("slotchange", this._onSlotChange), h(this._defaultSlot.assignedElements({ flatten: !0 }))), this._scheduleOverflowUpdate());
|
|
170
|
+
this._setupRAF = null, this.isConnected && (C.observe(this, this), this._defaultSlot && (this._defaultSlot.addEventListener("slotchange", this._onSlotChange), h(this._defaultSlot.assignedElements({ flatten: !0 }))), this._scheduleOverflowUpdate());
|
|
165
171
|
});
|
|
166
172
|
}
|
|
167
173
|
_cleanupOverflowDetection() {
|
|
168
|
-
this._setupRAF && (cancelAnimationFrame(this._setupRAF), this._setupRAF = null),
|
|
174
|
+
this._setupRAF && (cancelAnimationFrame(this._setupRAF), this._setupRAF = null), x.cancel(this), C.unobserveAll(this), this._defaultSlot && this._defaultSlot.removeEventListener("slotchange", this._onSlotChange);
|
|
169
175
|
}
|
|
170
176
|
_updateOverflow() {
|
|
177
|
+
this._showAllItems() && this._cutOverflow(this._measureItems());
|
|
178
|
+
}
|
|
179
|
+
_showAllItems() {
|
|
171
180
|
let e = this._overflowButton;
|
|
172
|
-
if (!e) return;
|
|
173
|
-
if (this._menuOpen)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
177
|
-
let t = (this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []).filter((e) => e.tagName === "NLDD-MENU-BAR-ITEM");
|
|
178
|
-
if (t.length === 0) {
|
|
179
|
-
e.style.display = "none";
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
t.forEach((e) => {
|
|
181
|
+
if (!e) return !1;
|
|
182
|
+
if (this._menuOpen) return this._overflowUpdatePending = !0, !1;
|
|
183
|
+
let t = this._overflowCandidates();
|
|
184
|
+
return t.length === 0 ? (e.style.display = "none", !1) : (t.forEach((e) => {
|
|
183
185
|
e.style.display = "", e.removeAttribute("data-overflow");
|
|
184
|
-
}), e.style.display = "inline-block";
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
}), e.style.display = "inline-block", !0);
|
|
187
|
+
}
|
|
188
|
+
_overflowCandidates() {
|
|
189
|
+
return (this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []).filter((e) => e.tagName === "NLDD-MENU-BAR-ITEM");
|
|
190
|
+
}
|
|
191
|
+
_measureItems() {
|
|
192
|
+
let e = this._overflowCandidates();
|
|
193
|
+
return {
|
|
194
|
+
items: e,
|
|
195
|
+
containerWidth: this.clientWidth,
|
|
196
|
+
itemWidths: e.map((e) => e.offsetWidth),
|
|
197
|
+
overflowButtonWidth: this._overflowButton.offsetWidth
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
_cutOverflow({ items: e, containerWidth: t, itemWidths: n, overflowButtonWidth: r }) {
|
|
201
|
+
let i = this._overflowButton;
|
|
202
|
+
if (n.reduce((e, t) => e + t, 0) <= t) {
|
|
203
|
+
i.style.display = "none";
|
|
188
204
|
return;
|
|
189
205
|
}
|
|
190
|
-
let
|
|
191
|
-
for (let
|
|
192
|
-
let
|
|
193
|
-
if (
|
|
194
|
-
|
|
206
|
+
let a = t - r, o = 0, s = -1;
|
|
207
|
+
for (let t = 0; t < e.length; t++) {
|
|
208
|
+
let e = n[t];
|
|
209
|
+
if (o + e > a) {
|
|
210
|
+
s = t;
|
|
195
211
|
break;
|
|
196
212
|
}
|
|
197
|
-
|
|
213
|
+
o += e;
|
|
198
214
|
}
|
|
199
|
-
if (
|
|
200
|
-
else
|
|
215
|
+
if (s >= 0) for (let t = s; t < e.length; t++) e[t].style.display = "none", e[t].setAttribute("data-overflow", "true");
|
|
216
|
+
else i.style.display = "none";
|
|
201
217
|
}
|
|
202
218
|
_populateOverflowMenu() {
|
|
203
219
|
let e = [], t = (this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []).filter((e) => e.tagName === "NLDD-MENU-BAR-ITEM" && e.hasAttribute("data-overflow"));
|
|
@@ -235,18 +251,18 @@ var v = class extends u(e, d) {
|
|
|
235
251
|
this._overflowMenu.replace(e);
|
|
236
252
|
}
|
|
237
253
|
render() {
|
|
238
|
-
return
|
|
254
|
+
return y(this);
|
|
239
255
|
}
|
|
240
|
-
},
|
|
256
|
+
}, b.styles = v, b);
|
|
241
257
|
r([i({
|
|
242
258
|
reflect: !0,
|
|
243
259
|
attribute: "overflow-text",
|
|
244
260
|
converter: c("")
|
|
245
|
-
})],
|
|
261
|
+
})], w.prototype, "overflowText", void 0), r([i({
|
|
246
262
|
type: String,
|
|
247
263
|
attribute: "accessible-label"
|
|
248
|
-
})],
|
|
264
|
+
})], w.prototype, "accessibleLabel", void 0), r([i({
|
|
249
265
|
type: Boolean,
|
|
250
266
|
reflect: !0
|
|
251
|
-
})],
|
|
252
|
-
export {
|
|
267
|
+
})], w.prototype, "compact", void 0), r([s("slot:not([name])")], w.prototype, "_defaultSlot", void 0), r([s(".menu-bar__overflow-button")], w.prototype, "_overflowButton", void 0), w = r([o("nldd-menu-bar")], w);
|
|
268
|
+
export { w as NLDDMenuBar };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r } from "./custom-element-
|
|
4
|
-
import { a as i, t as a } from "./menu.template-
|
|
2
|
+
import { n as t, t as n } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { n as r } from "./custom-element-DtLjpays.js";
|
|
4
|
+
import { a as i, t as a } from "./menu.template-B_HMnBsa.js";
|
|
5
5
|
// src/components/actions/menu/menu-divider.ts
|
|
6
6
|
var o = /* @__PURE__ */ e({ NLDDMenuDivider: () => c }), s, c = class extends t {
|
|
7
7
|
constructor(...e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r, r as i } from "./custom-element-
|
|
2
|
+
import { n as t, t as n } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-DtLjpays.js";
|
|
4
4
|
import { t as a } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as o, o as s } from "./menu.template-
|
|
6
|
-
import { r as c } from "./menu-item-
|
|
5
|
+
import { n as o, o as s } from "./menu.template-B_HMnBsa.js";
|
|
6
|
+
import { r as c } from "./menu-item-55vjckz2.js";
|
|
7
7
|
// src/components/actions/menu/menu-group.ts
|
|
8
8
|
var l = /* @__PURE__ */ e({ NLDDMenuGroup: () => d }), u, d = class e extends t {
|
|
9
9
|
constructor(...t) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r, r as i } from "./custom-element-
|
|
2
|
+
import { n as t, t as n } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-DtLjpays.js";
|
|
4
4
|
import { t as a } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { r as o, s } from "./menu.template-
|
|
5
|
+
import { r as o, s } from "./menu.template-B_HMnBsa.js";
|
|
6
6
|
import { t as c } from "./owner-form-Cq8tT7ac.js";
|
|
7
7
|
import { r as l } from "./element-state-B-44fVqq.js";
|
|
8
8
|
import { t as u } from "./defer-focus-F73ud2D9.js";
|
|
9
|
-
import { t as d } from "./with-translations-
|
|
9
|
+
import { t as d } from "./with-translations-nT8q6ELU.js";
|
|
10
10
|
import { t as f } from "./menu-item.i18n-CKUJBOeE.js";
|
|
11
11
|
// src/components/actions/menu/menu-item.ts
|
|
12
12
|
var p = /* @__PURE__ */ e({
|
|
@@ -17,13 +17,10 @@ function h(e, t) {
|
|
|
17
17
|
t === "navigation" ? e.setAttribute("role", "listitem") : e.getAttribute("role") === "listitem" && e.removeAttribute("role");
|
|
18
18
|
}
|
|
19
19
|
var g = class e extends d(t, f) {
|
|
20
|
-
constructor(
|
|
21
|
-
super(
|
|
20
|
+
constructor() {
|
|
21
|
+
super(), this.destructive = !1, this.text = "", this.details = "", this.icon = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.href = "", this.target = void 0, this.rel = void 0, this.type = "button", this.form = "", this.selected = !1, this.disabled = !1, this.value = "", this.aliases = "", this.query = "", this.queryMarkMode = "predictive", this.menuVariant = null, this.checkColumn = !1, this._submenuOpen = !1, this._hasIconSlot = !1, this._onIconSlotChange = (e) => {
|
|
22
22
|
this._hasIconSlot = e.target.assignedElements().length > 0;
|
|
23
|
-
}, this._cachedSubmenuEl = null, this._submenuMutationObserver = null
|
|
24
|
-
}
|
|
25
|
-
connectedCallback() {
|
|
26
|
-
super.connectedCallback(), this.id || (this.id = `nldd-menu-item-${e._idCounter++}`), this.addEventListener("focusin", (e) => {
|
|
23
|
+
}, this._cachedSubmenuEl = null, this._submenuMutationObserver = null, this.addEventListener("focusin", (e) => {
|
|
27
24
|
let t = e.composedPath()[0];
|
|
28
25
|
t && this.shadowRoot?.contains(t) && (this.setAttribute("data-focused", ""), this.dispatchEvent(new CustomEvent("menu-item-focused", {
|
|
29
26
|
bubbles: !0,
|
|
@@ -34,6 +31,9 @@ var g = class e extends d(t, f) {
|
|
|
34
31
|
t && this.shadowRoot?.contains(t) && this.removeAttribute("data-focused");
|
|
35
32
|
});
|
|
36
33
|
}
|
|
34
|
+
connectedCallback() {
|
|
35
|
+
super.connectedCallback(), this.id || (this.id = `nldd-menu-item-${e._idCounter++}`), this.hasUpdated && this._watchForLateSubmenu();
|
|
36
|
+
}
|
|
37
37
|
focus(e) {
|
|
38
38
|
u(this, e) || (this.shadowRoot?.querySelector("button, a"))?.focus(e);
|
|
39
39
|
}
|
|
@@ -50,10 +50,14 @@ var g = class e extends d(t, f) {
|
|
|
50
50
|
e.has("menuVariant") && h(this, this.menuVariant), e.has("type") && e.get("type") !== void 0 && this.menuVariant && this.closest("nldd-menu")?._claimItems();
|
|
51
51
|
}
|
|
52
52
|
firstUpdated() {
|
|
53
|
-
this.
|
|
53
|
+
this._watchForLateSubmenu();
|
|
54
|
+
}
|
|
55
|
+
_watchForLateSubmenu() {
|
|
56
|
+
let e = () => {
|
|
54
57
|
let e = this.querySelector(":scope > nldd-menu");
|
|
55
58
|
l(this, "late-submenu", e !== null && e !== this._cachedSubmenuEl);
|
|
56
|
-
}
|
|
59
|
+
};
|
|
60
|
+
this._submenuMutationObserver?.disconnect(), this._submenuMutationObserver = new MutationObserver(e), this._submenuMutationObserver.observe(this, { childList: !0 }), e();
|
|
57
61
|
}
|
|
58
62
|
disconnectedCallback() {
|
|
59
63
|
super.disconnectedCallback(), this._submenuMutationObserver?.disconnect(), this._submenuMutationObserver = null;
|