@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,15 +1,16 @@
|
|
|
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
|
-
import { t as s } from "./form-associated-mixin-
|
|
6
|
-
import { t as c } from "./described-by-mixin-
|
|
5
|
+
import { t as s } from "./form-associated-mixin-Cm1N24gR.js";
|
|
6
|
+
import { t as c } from "./described-by-mixin-Jh_PTTde.js";
|
|
7
7
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as u } from "./
|
|
9
|
-
import { t as d } from "./
|
|
10
|
-
import { t as f } from "./
|
|
8
|
+
import { t as u } from "./after-parse-BSKUm67Q.js";
|
|
9
|
+
import { t as d } from "./radio-position-CXWYAjaz.js";
|
|
10
|
+
import { t as f } from "./owned-attribute-x9OCTy_4.js";
|
|
11
|
+
import { t as p } from "./implicit-submission-Csbcor_E.js";
|
|
11
12
|
// src/components/inputs/radio-button/radio-button.styles.ts
|
|
12
|
-
var
|
|
13
|
+
var m = a`
|
|
13
14
|
:host {
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
}
|
|
@@ -146,7 +147,7 @@ var p = a`
|
|
|
146
147
|
}
|
|
147
148
|
`;
|
|
148
149
|
// src/components/inputs/radio-button/radio-button.template.ts
|
|
149
|
-
function
|
|
150
|
+
function h(e) {
|
|
150
151
|
return e.decorative ? n`
|
|
151
152
|
<div class="radio-button__outer-shape"
|
|
152
153
|
aria-hidden="true"
|
|
@@ -170,40 +171,43 @@ function m(e) {
|
|
|
170
171
|
`;
|
|
171
172
|
}
|
|
172
173
|
// src/utilities/radio-grouping.ts
|
|
173
|
-
var
|
|
174
|
+
var g, _ = "nldd-radio-button, nldd-radio-button-field", v = {
|
|
174
175
|
ArrowDown: 1,
|
|
175
176
|
ArrowRight: 1,
|
|
176
177
|
ArrowUp: -1,
|
|
177
178
|
ArrowLeft: -1
|
|
178
|
-
},
|
|
179
|
-
function
|
|
179
|
+
}, y = /* @__PURE__ */ new WeakMap();
|
|
180
|
+
function b(e) {
|
|
180
181
|
return !e.decorative;
|
|
181
182
|
}
|
|
182
|
-
var
|
|
183
|
+
var x = class e {
|
|
183
184
|
constructor(e) {
|
|
184
|
-
this.host = e, this.position = null, this.answered = !1, this._groupedIn = null,
|
|
185
|
+
this.host = e, this.position = null, this.answered = !1, this._groupedIn = null, y.set(e, this), e.addController(this);
|
|
185
186
|
}
|
|
186
187
|
hostConnected() {
|
|
187
|
-
queueMicrotask(() => this.regroup());
|
|
188
|
+
queueMicrotask(() => this.regroup(!0));
|
|
188
189
|
}
|
|
189
190
|
hostDisconnected() {
|
|
190
|
-
this.regroup();
|
|
191
|
+
this.regroup(!0);
|
|
191
192
|
}
|
|
192
|
-
regroup() {
|
|
193
|
-
let
|
|
194
|
-
this._groupedIn =
|
|
195
|
-
let
|
|
196
|
-
|
|
193
|
+
regroup(t = !1) {
|
|
194
|
+
let n = this._groupedIn, r = this._key();
|
|
195
|
+
this._groupedIn = r;
|
|
196
|
+
let i = !r || !n || n.root !== r.root || n.name !== r.name || n.form !== r.form, a = t ? e._schedule : e._recount;
|
|
197
|
+
n && i && a(n), r ? a(r) : this._apply(null, this.host.checked);
|
|
197
198
|
}
|
|
198
199
|
refresh() {
|
|
199
200
|
this._groupedIn ? e._recount(this._groupedIn) : this._apply(null, this.host.checked);
|
|
200
201
|
}
|
|
201
|
-
uncheckOthers() {
|
|
202
|
-
let
|
|
203
|
-
if (
|
|
202
|
+
uncheckOthers(t = !1) {
|
|
203
|
+
let n = this._key();
|
|
204
|
+
if (n) {
|
|
205
|
+
if (t) e._claims.add(this.host), e._schedule(n);
|
|
206
|
+
else for (let t of e._radiosIn(n)) t !== this.host && t.checked && (t.checked = !1, t.commitFormValue());
|
|
207
|
+
}
|
|
204
208
|
}
|
|
205
209
|
moveWithArrow(t) {
|
|
206
|
-
let n =
|
|
210
|
+
let n = v[t.key], r = n ? this._key() : null;
|
|
207
211
|
if (!r || !this.position) return !1;
|
|
208
212
|
let i = e._radiosIn(r).filter((e) => !e.disabled), a = i.indexOf(this.host);
|
|
209
213
|
if (a === -1) return !1;
|
|
@@ -212,7 +216,7 @@ var y = class e {
|
|
|
212
216
|
return o.focus(), o.select(), !0;
|
|
213
217
|
}
|
|
214
218
|
_key() {
|
|
215
|
-
return !this.host.isConnected || !
|
|
219
|
+
return !this.host.isConnected || !b(this.host) || !this.host.name ? null : {
|
|
216
220
|
root: this.host.getRootNode(),
|
|
217
221
|
name: this.host.name,
|
|
218
222
|
form: this.host.internals.form
|
|
@@ -221,22 +225,58 @@ var y = class e {
|
|
|
221
225
|
_apply(e, t) {
|
|
222
226
|
(this.answered !== t || this.position?.posInSet !== e?.posInSet || this.position?.setSize !== e?.setSize || this.position?.tabbable !== e?.tabbable) && (this.position = e, this.answered = t, this.host.requestUpdate());
|
|
223
227
|
}
|
|
224
|
-
static _radiosIn({ root:
|
|
225
|
-
|
|
226
|
-
|
|
228
|
+
static _radiosIn({ root: t, name: n, form: r }) {
|
|
229
|
+
return e._groupsIn(t).get(n)?.get(r) ?? [];
|
|
230
|
+
}
|
|
231
|
+
static _groupsIn(e) {
|
|
232
|
+
let t = /* @__PURE__ */ new Map();
|
|
233
|
+
for (let n of e.querySelectorAll?.(_) ?? []) {
|
|
234
|
+
if (!y.has(n) || !n.isConnected || !b(n)) continue;
|
|
235
|
+
let { name: e, internals: r } = n, i = t.get(e) ?? /* @__PURE__ */ new Map();
|
|
236
|
+
t.set(e, i);
|
|
237
|
+
let a = i.get(r.form) ?? [];
|
|
238
|
+
i.set(r.form, a), a.push(n);
|
|
239
|
+
}
|
|
240
|
+
return t;
|
|
241
|
+
}
|
|
242
|
+
static _settleClaims(e, t) {
|
|
243
|
+
let n = new Set(e), r = t.find((e) => n.has(e) && e.checked);
|
|
244
|
+
if (r) for (let t of e) t !== r && t.checked && (t.checked = !1, t.commitFormValue());
|
|
227
245
|
}
|
|
228
|
-
static
|
|
229
|
-
let
|
|
230
|
-
|
|
231
|
-
|
|
246
|
+
static _place(e) {
|
|
247
|
+
let t = e.length > 1 ? d(e, (e) => e.checked, (e) => e.disabled) : [], n = e.some((e) => e.checked);
|
|
248
|
+
e.forEach((e, r) => {
|
|
249
|
+
y.get(e)?._apply(t[r] ?? null, n);
|
|
232
250
|
});
|
|
233
251
|
}
|
|
234
|
-
}
|
|
252
|
+
};
|
|
253
|
+
g = x, g._pending = /* @__PURE__ */ new Map(), g._schedule = (e) => {
|
|
254
|
+
let t = g._pending, n = t.size > 0, r = t.get(e.root) ?? /* @__PURE__ */ new Map();
|
|
255
|
+
t.set(e.root, r);
|
|
256
|
+
let i = r.get(e.name) ?? /* @__PURE__ */ new Set();
|
|
257
|
+
if (r.set(e.name, i), i.add(e.form), n) return;
|
|
258
|
+
let a = e.root.ownerDocument ?? e.root;
|
|
259
|
+
u(g._flush, a) || queueMicrotask(g._flush);
|
|
260
|
+
}, g._claims = /* @__PURE__ */ new Set(), g._flush = () => {
|
|
261
|
+
let e = [...g._pending], t = [...g._claims].reverse();
|
|
262
|
+
g._pending.clear(), g._claims.clear();
|
|
263
|
+
for (let [n, r] of e) {
|
|
264
|
+
let e = g._groupsIn(n);
|
|
265
|
+
for (let [n, i] of r) for (let r of i) {
|
|
266
|
+
let i = e.get(n)?.get(r) ?? [];
|
|
267
|
+
g._settleClaims(i, t), g._place(i);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}, g._recount = (e) => {
|
|
271
|
+
g._place(g._radiosIn(e));
|
|
272
|
+
};
|
|
273
|
+
// src/components/inputs/radio-button/radio-button.ts
|
|
274
|
+
var S = /* @__PURE__ */ e({ NLDDRadioButton: () => w }), C = class extends c(s(t)) {
|
|
235
275
|
constructor(...e) {
|
|
236
|
-
super(...e), this.checked = !1, this.decorative = !1, this.disabled = !1, this.noTab = !1, this.required = !1, this.focusRing = !1, this.name = "", this.value = "", this.color = "", this.accessibleLabel = "", this.invalid = !1, this._grouping = new
|
|
276
|
+
super(...e), this.checked = !1, this.decorative = !1, this.disabled = !1, this.noTab = !1, this.required = !1, this.focusRing = !1, this.name = "", this.value = "", this.color = "", this.accessibleLabel = "", this.invalid = !1, this._grouping = new x(this), this._appliedLabel = null, this._onClick = () => {
|
|
237
277
|
this.select();
|
|
238
278
|
}, this._onKeyDown = (e) => {
|
|
239
|
-
this.disabled || this.decorative || (e.key === " " ? (e.preventDefault(), this.select()) : e.key === "Enter" ?
|
|
279
|
+
this.disabled || this.decorative || (e.key === " " ? (e.preventDefault(), this.select()) : e.key === "Enter" ? p(this, e) : this.noTab || this._grouping.moveWithArrow(e));
|
|
240
280
|
};
|
|
241
281
|
}
|
|
242
282
|
get _groupHasSelection() {
|
|
@@ -249,7 +289,8 @@ var y = class e {
|
|
|
249
289
|
super.disconnectedCallback(), this.removeEventListener("click", this._onClick), this.removeEventListener("keydown", this._onKeyDown);
|
|
250
290
|
}
|
|
251
291
|
willUpdate(e) {
|
|
252
|
-
|
|
292
|
+
let t = !this.hasUpdated;
|
|
293
|
+
e.has("checked") && this.checked && this._grouping.uncheckOthers(t), e.has("name") || e.has("decorative") ? this._grouping.regroup(t) : (e.has("checked") || e.has("disabled")) && this._grouping.refresh();
|
|
253
294
|
}
|
|
254
295
|
updated(e) {
|
|
255
296
|
super.updated(e), this._syncHostAria();
|
|
@@ -266,7 +307,7 @@ var y = class e {
|
|
|
266
307
|
]) this.removeAttribute(e);
|
|
267
308
|
return;
|
|
268
309
|
}
|
|
269
|
-
this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.checked)), this._appliedLabel =
|
|
310
|
+
this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.checked)), this._appliedLabel = f(this, "aria-label", this.accessibleLabel, this._appliedLabel), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled");
|
|
270
311
|
let e = this._grouping.position;
|
|
271
312
|
e ? (this.setAttribute("aria-posinset", String(e.posInSet)), this.setAttribute("aria-setsize", String(e.setSize))) : (this.removeAttribute("aria-posinset"), this.removeAttribute("aria-setsize"));
|
|
272
313
|
let t = !this.disabled && !this.noTab && e?.tabbable !== !1;
|
|
@@ -290,40 +331,40 @@ var y = class e {
|
|
|
290
331
|
})));
|
|
291
332
|
}
|
|
292
333
|
render() {
|
|
293
|
-
return
|
|
334
|
+
return h(this);
|
|
294
335
|
}
|
|
295
|
-
},
|
|
336
|
+
}, w = (C.styles = m, C.formProperties = ["checked"], C.isFormInput = !0, C);
|
|
296
337
|
r([i({
|
|
297
338
|
type: Boolean,
|
|
298
339
|
reflect: !0
|
|
299
|
-
})],
|
|
340
|
+
})], w.prototype, "checked", void 0), r([i({
|
|
300
341
|
type: Boolean,
|
|
301
342
|
reflect: !0
|
|
302
|
-
})],
|
|
343
|
+
})], w.prototype, "decorative", void 0), r([i({
|
|
303
344
|
type: Boolean,
|
|
304
345
|
reflect: !0
|
|
305
|
-
})],
|
|
346
|
+
})], w.prototype, "disabled", void 0), r([i({
|
|
306
347
|
type: Boolean,
|
|
307
348
|
reflect: !0,
|
|
308
349
|
attribute: "no-tab"
|
|
309
|
-
})],
|
|
350
|
+
})], w.prototype, "noTab", void 0), r([i({
|
|
310
351
|
type: Boolean,
|
|
311
352
|
reflect: !0
|
|
312
|
-
})],
|
|
353
|
+
})], w.prototype, "required", void 0), r([i({
|
|
313
354
|
type: Boolean,
|
|
314
355
|
reflect: !0,
|
|
315
356
|
attribute: "focus-ring"
|
|
316
|
-
})],
|
|
357
|
+
})], w.prototype, "focusRing", void 0), r([i({
|
|
317
358
|
reflect: !0,
|
|
318
359
|
converter: l("")
|
|
319
|
-
})],
|
|
360
|
+
})], w.prototype, "name", void 0), r([i({ type: String })], w.prototype, "value", void 0), r([i({
|
|
320
361
|
reflect: !0,
|
|
321
362
|
converter: l("")
|
|
322
|
-
})],
|
|
363
|
+
})], w.prototype, "color", void 0), r([i({
|
|
323
364
|
type: String,
|
|
324
365
|
attribute: "accessible-label"
|
|
325
|
-
})],
|
|
366
|
+
})], w.prototype, "accessibleLabel", void 0), r([i({
|
|
326
367
|
type: Boolean,
|
|
327
368
|
reflect: !0
|
|
328
|
-
})],
|
|
329
|
-
export {
|
|
369
|
+
})], w.prototype, "invalid", void 0), w = r([o("nldd-radio-button")], w);
|
|
370
|
+
export { x as n, S as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as e, n as t, o as n, t as r } from "./decorate-
|
|
2
|
-
import { r as i, s as a } from "./custom-element-
|
|
1
|
+
import { c as e, n as t, o 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
|
-
import { t as s } from "./reorder-handle-mixin-
|
|
4
|
+
import { t as s } from "./reorder-handle-mixin-Co5E_Y7l.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { t as l } from "./reorder-handle-cell.i18n-DlH2aVwd.js";
|
|
7
|
-
import { t as u } from "./translations-
|
|
7
|
+
import { t as u } from "./translations-C6WKR-hE.js";
|
|
8
8
|
// src/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.ts
|
|
9
9
|
var d = a`
|
|
10
10
|
:host {
|
package/dist/cdn/chunks/{reorder-handle-mixin-tWe9XTjZ.js → reorder-handle-mixin-Co5E_Y7l.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-
|
|
2
|
-
import { t } from "./decorate-
|
|
1
|
+
import { r as e } from "./custom-element-DtLjpays.js";
|
|
2
|
+
import { t } from "./decorate-BhnGmemK.js";
|
|
3
3
|
// src/utilities/reorder-handle-mixin.ts
|
|
4
4
|
function n(n, r = !1) {
|
|
5
5
|
class i extends n {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e } from "./decorate-
|
|
1
|
+
import { i as e } from "./decorate-BhnGmemK.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./directive-CwRgozUW.js";
|
|
3
|
-
import { a as i, n as a, o, r as s, t as c } from "./directive-helpers-
|
|
3
|
+
import { a as i, n as a, o, r as s, t as c } from "./directive-helpers-dLE2M1R1.js";
|
|
4
4
|
// node_modules/lit-html/directives/repeat.js
|
|
5
5
|
var l = (e, t, n) => {
|
|
6
6
|
let r = /* @__PURE__ */ new Map();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, t } from "./decorate-
|
|
2
|
-
import { r as n } from "./custom-element-
|
|
1
|
+
import { n as e, t } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { r as n } from "./custom-element-DtLjpays.js";
|
|
3
3
|
import { t as r } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as i } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
5
|
import { t as a } from "./rich-text.i18n-BlJ68YuU.js";
|
|
6
|
-
import { t as o } from "./translations-
|
|
6
|
+
import { t as o } from "./translations-C6WKR-hE.js";
|
|
7
7
|
import { r as s } from "./element-state-B-44fVqq.js";
|
|
8
8
|
// src/components/content/rich-text/rich-text.ts
|
|
9
9
|
var c = "data-nldd-managed-label", l = /* @__PURE__ */ new Set(/* @__PURE__ */ "A.ABBR.B.BDI.BDO.BR.CITE.CODE.DATA.DEL.DFN.EM.I.INS.KBD.LABEL.MARK.Q.RUBY.S.SAMP.SMALL.SPAN.STRONG.SUB.SUP.TIME.U.VAR.WBR.NLDD-ICON".split("."));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-
|
|
2
|
-
import { t } from "./decorate-
|
|
1
|
+
import { r as e } from "./custom-element-DtLjpays.js";
|
|
2
|
+
import { t } from "./decorate-BhnGmemK.js";
|
|
3
3
|
// src/utilities/row-header-mixin.ts
|
|
4
4
|
function n(n) {
|
|
5
5
|
class r extends n {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e, s as t } from "./custom-element-
|
|
2
|
-
import "./decorate-
|
|
1
|
+
import { c as e, s as t } from "./custom-element-DtLjpays.js";
|
|
2
|
+
import "./decorate-BhnGmemK.js";
|
|
3
3
|
// src/assets/styles/scroll-fade.ts
|
|
4
4
|
for (let e of ["--_scroll-fade-start", "--_scroll-fade-end"]) try {
|
|
5
5
|
CSS.registerProperty({
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { t as e } from "./layout-pass-Cq85kSHX.js";
|
|
2
|
+
// src/utilities/scroll-mode-controller.ts
|
|
3
|
+
var t = "nldd-single-column-change", n = "nldd-shell, nldd-sheet, nldd-modal-dialog";
|
|
4
|
+
function r(e) {
|
|
5
|
+
let t = e.map((e) => e.inheritedScrollMode());
|
|
6
|
+
e.forEach((e, n) => e.readScrollMode(t[n]));
|
|
7
|
+
}
|
|
8
|
+
var i = new e(r), a = /* @__PURE__ */ new Set(), o = 0;
|
|
9
|
+
function s() {
|
|
10
|
+
o || (o = requestAnimationFrame(() => {
|
|
11
|
+
o = 0, r([...a]);
|
|
12
|
+
}));
|
|
13
|
+
}
|
|
14
|
+
function c(e, t) {
|
|
15
|
+
a.size || window.addEventListener("resize", s, { passive: !0 }), a.add(e), i.schedule(e, t);
|
|
16
|
+
}
|
|
17
|
+
function l(e) {
|
|
18
|
+
i.cancel(e), a.delete(e) && !a.size && (window.removeEventListener("resize", s), cancelAnimationFrame(o), o = 0);
|
|
19
|
+
}
|
|
20
|
+
function u(e) {
|
|
21
|
+
let t = e.closest?.(n);
|
|
22
|
+
return t && "registerScrollConsumer" in t ? t : null;
|
|
23
|
+
}
|
|
24
|
+
function d(e, t) {
|
|
25
|
+
let r = e.closest?.(n);
|
|
26
|
+
!r || "registerScrollConsumer" in r || customElements.whenDefined(r.localName).then(() => {
|
|
27
|
+
if (!e.isConnected) return;
|
|
28
|
+
let n = u(e);
|
|
29
|
+
n && n === r && t(n);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
var f = class {
|
|
33
|
+
constructor(e, t) {
|
|
34
|
+
this.mode = "nested", this._provider = null, this._adopt = (e) => {
|
|
35
|
+
this._provider || (l(this), this._provider = e, e.registerScrollConsumer(this));
|
|
36
|
+
}, this._host = e, this._onChange = t, e.addController(this);
|
|
37
|
+
}
|
|
38
|
+
hostConnected() {
|
|
39
|
+
this._provider = u(this._host), this._provider ? this._provider.registerScrollConsumer(this) : (c(this, this._host.ownerDocument), d(this._host, this._adopt));
|
|
40
|
+
}
|
|
41
|
+
hostDisconnected() {
|
|
42
|
+
this._provider ? (this._provider.unregisterScrollConsumer(this), this._provider = null) : l(this);
|
|
43
|
+
}
|
|
44
|
+
readScrollMode(e) {
|
|
45
|
+
let t = e ?? this.inheritedScrollMode();
|
|
46
|
+
t !== this.mode && (this.mode = t, this._host.dataset.scroll = t, this._onChange?.(t));
|
|
47
|
+
}
|
|
48
|
+
inheritedScrollMode() {
|
|
49
|
+
return getComputedStyle(this._host).getPropertyValue("--context-scroll-mode").trim() === "root" ? "root" : "nested";
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export { l as a, u as i, f as n, d as o, c as r, t };
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
-
import { t as c } from "./form-associated-mixin-
|
|
5
|
+
import { t as c } from "./form-associated-mixin-Cm1N24gR.js";
|
|
6
6
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as u } from "./shadow-resets-
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./button-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import { a as d, n as f, r as p } from "./keyboard-shortcut-
|
|
7
|
+
import { t as u } from "./shadow-resets-DR73IFIL.js";
|
|
8
|
+
import "./icon-button-HKoCqWG3.js";
|
|
9
|
+
import "./button-BK8CmshL.js";
|
|
10
|
+
import "./icon-Dj98ov4G.js";
|
|
11
|
+
import { a as d, n as f, r as p } from "./keyboard-shortcut-BikzmCBH.js";
|
|
12
12
|
import { t as m } from "./search-field.i18n-B_Oc7hc-.js";
|
|
13
|
-
import { n as h, t as g } from "./described-by-mixin-
|
|
14
|
-
import { t as _ } from "./translations-
|
|
13
|
+
import { n as h, t as g } from "./described-by-mixin-Jh_PTTde.js";
|
|
14
|
+
import { t as _ } from "./translations-C6WKR-hE.js";
|
|
15
15
|
import { t as v } from "./defer-focus-F73ud2D9.js";
|
|
16
16
|
// src/components/inputs/search-field/search-field.styles.ts
|
|
17
17
|
var y = a`
|
|
@@ -1,14 +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 { n as c, r as l } from "./choice-group-AZsqoheP.js";
|
|
5
|
-
import { t as u } from "./form-associated-mixin-
|
|
5
|
+
import { t as u } from "./form-associated-mixin-Cm1N24gR.js";
|
|
6
6
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
7
|
import { t as f } from "./radio-position-CXWYAjaz.js";
|
|
8
|
-
import { t as p } from "./shadow-resets-
|
|
9
|
-
import { i as m, n as h, r as g } from "./keyboard-shortcut-
|
|
10
|
-
import "./tooltip-
|
|
11
|
-
import "./icon-
|
|
8
|
+
import { t as p } from "./shadow-resets-DR73IFIL.js";
|
|
9
|
+
import { i as m, n as h, r as g } from "./keyboard-shortcut-BikzmCBH.js";
|
|
10
|
+
import "./tooltip-DhPeqDvL.js";
|
|
11
|
+
import "./icon-Dj98ov4G.js";
|
|
12
12
|
import { t as _ } from "./owned-attribute-x9OCTy_4.js";
|
|
13
13
|
import { t as v } from "./implicit-submission-Csbcor_E.js";
|
|
14
14
|
import { t as y } from "./defer-focus-F73ud2D9.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { c as r, r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { c as r, 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 "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { a as c } from "./shadow-resets-
|
|
5
|
+
import { a as c } from "./shadow-resets-DR73IFIL.js";
|
|
6
6
|
import { n as l } from "./breakpoints-Cwor8TRP.js";
|
|
7
7
|
import { t as u } from "./title-bar-label-controller-DSxdKZOg.js";
|
|
8
8
|
import { r as d } from "./element-state-B-44fVqq.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-DtLjpays.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as s, t as c } from "./scroll-mode-controller-
|
|
6
|
-
import { a as l } from "./shadow-resets-
|
|
5
|
+
import { n as s, t as c } from "./scroll-mode-controller-Dl5hddJo.js";
|
|
6
|
+
import { a as l } from "./shadow-resets-DR73IFIL.js";
|
|
7
7
|
// src/components/layout/shell/shell.styles.ts
|
|
8
8
|
var u = i`
|
|
9
9
|
:host {
|
package/dist/cdn/chunks/{side-by-side-split-view-ir9c0mwZ.js → side-by-side-split-view-D9_u1TIS.js}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
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
|
-
import { n as c, t as l } from "./scroll-mode-controller-
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
4
|
+
import { n as c, t as l } from "./scroll-mode-controller-Dl5hddJo.js";
|
|
5
|
+
import { n as u, t as d } from "./layout-pass-Cq85kSHX.js";
|
|
6
|
+
import { a as f } from "./shadow-resets-DR73IFIL.js";
|
|
7
|
+
import "./split-view-divider-6_RDvANN.js";
|
|
8
|
+
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
9
|
// src/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.ts
|
|
9
|
-
var
|
|
10
|
+
var m = o`
|
|
10
11
|
:host {
|
|
11
12
|
box-sizing: border-box;
|
|
12
13
|
}
|
|
@@ -16,7 +17,7 @@ var f = o`
|
|
|
16
17
|
|
|
17
18
|
:host {
|
|
18
19
|
--_side-by-side-split-view-background-color: var(--context-background-color);
|
|
19
|
-
/* Pane min-width
|
|
20
|
+
/* Pane min-width, read by JS via getComputedStyle */
|
|
20
21
|
--_side-by-side-split-view-pane-min-width: var(--primitives-area-320);
|
|
21
22
|
|
|
22
23
|
display: flex;
|
|
@@ -39,13 +40,13 @@ var f = o`
|
|
|
39
40
|
|
|
40
41
|
:host([background="base"]) {
|
|
41
42
|
--context-background-color: var(--semantics-surfaces-base-background-color);
|
|
42
|
-
${
|
|
43
|
+
${f}
|
|
43
44
|
--_side-by-side-split-view-background-color: var(--context-background-color);
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
:host([background="tinted"]) {
|
|
47
48
|
--context-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
48
|
-
${
|
|
49
|
+
${f}
|
|
49
50
|
--_side-by-side-split-view-background-color: var(--context-background-color);
|
|
50
51
|
}
|
|
51
52
|
|
|
@@ -108,7 +109,7 @@ var f = o`
|
|
|
108
109
|
}
|
|
109
110
|
`;
|
|
110
111
|
// src/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.template.ts
|
|
111
|
-
function
|
|
112
|
+
function h(e) {
|
|
112
113
|
let r = Array.from({ length: e.panes }, (e, t) => t + 1);
|
|
113
114
|
return t`
|
|
114
115
|
<div class="side-by-side-split-view">
|
|
@@ -127,43 +128,51 @@ function p(e) {
|
|
|
127
128
|
`;
|
|
128
129
|
}
|
|
129
130
|
// src/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.ts
|
|
130
|
-
var
|
|
131
|
+
var g;
|
|
132
|
+
function _(e) {
|
|
133
|
+
let t = e.filter((e) => e.isConnected), n = t.map((e) => e._measureFitting());
|
|
134
|
+
t.forEach((e, t) => e._applyFitting(n[t]));
|
|
135
|
+
}
|
|
136
|
+
var v = u(_), y = new d(_), b = (g = class extends e {
|
|
131
137
|
constructor(...e) {
|
|
132
|
-
super(...e), this._scrollMode = new c(this), this.background = "inherit", this.panes = 2, this._visiblePanes = Infinity, this._paneMinWidth = 0
|
|
138
|
+
super(...e), this._scrollMode = new c(this), this.background = "inherit", this.panes = 2, this._visiblePanes = Infinity, this._paneMinWidth = 0;
|
|
133
139
|
}
|
|
134
140
|
connectedCallback() {
|
|
135
|
-
super.connectedCallback(),
|
|
141
|
+
super.connectedCallback(), v.observe(this, this);
|
|
136
142
|
}
|
|
137
143
|
disconnectedCallback() {
|
|
138
|
-
super.disconnectedCallback(),
|
|
139
|
-
}
|
|
140
|
-
firstUpdated() {
|
|
141
|
-
this._paneMinWidth = parseFloat(getComputedStyle(this).getPropertyValue("--_side-by-side-split-view-pane-min-width")), this._updateVisiblePanes();
|
|
144
|
+
super.disconnectedCallback(), v.unobserveAll(this), y.cancel(this);
|
|
142
145
|
}
|
|
143
146
|
updated(e) {
|
|
144
|
-
e.has("panes") &&
|
|
147
|
+
e.has("panes") && e.get("panes") !== void 0 && y.schedule(this, this.ownerDocument);
|
|
145
148
|
}
|
|
146
149
|
get isSingleColumn() {
|
|
147
150
|
return this._visiblePanes <= 1;
|
|
148
151
|
}
|
|
149
152
|
_updateVisiblePanes() {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
+
this._applyFitting(this._measureFitting());
|
|
154
|
+
}
|
|
155
|
+
_measureFitting() {
|
|
156
|
+
return this._paneMinWidth || (this._paneMinWidth = parseFloat(getComputedStyle(this).getPropertyValue("--_side-by-side-split-view-pane-min-width"))), this._paneMinWidth ? Math.floor(this.getBoundingClientRect().width / this._paneMinWidth) : null;
|
|
157
|
+
}
|
|
158
|
+
_applyFitting(e) {
|
|
159
|
+
if (e === null) return;
|
|
160
|
+
let t = this.isSingleColumn;
|
|
161
|
+
this._visiblePanes = Math.min(this.panes, Math.max(1, e)), this.isSingleColumn !== t && this.dispatchEvent(new CustomEvent(l, {
|
|
153
162
|
bubbles: !0,
|
|
154
163
|
composed: !0,
|
|
155
164
|
detail: { singleColumn: this.isSingleColumn }
|
|
156
165
|
}));
|
|
157
166
|
}
|
|
158
167
|
render() {
|
|
159
|
-
return
|
|
168
|
+
return h(this);
|
|
160
169
|
}
|
|
161
|
-
},
|
|
170
|
+
}, g.styles = m, g);
|
|
162
171
|
r([a({
|
|
163
172
|
reflect: !0,
|
|
164
|
-
converter:
|
|
165
|
-
})],
|
|
173
|
+
converter: p("inherit")
|
|
174
|
+
})], b.prototype, "background", void 0), r([a({
|
|
166
175
|
reflect: !0,
|
|
167
|
-
converter:
|
|
168
|
-
})],
|
|
169
|
-
export {
|
|
176
|
+
converter: p(2)
|
|
177
|
+
})], b.prototype, "panes", void 0), r([i()], b.prototype, "_visiblePanes", void 0), b = r([s("nldd-side-by-side-split-view")], b);
|
|
178
|
+
export { b as NLDDSideBySideSplitView };
|