@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,18 +1,18 @@
|
|
|
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 "./overlay-invoker-Dj6MQAtF.js";
|
|
6
|
-
import { t as u } from "./form-associated-mixin-
|
|
6
|
+
import { t as u } from "./form-associated-mixin-Cm1N24gR.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import "./icon-
|
|
8
|
+
import { t as f } from "./shadow-resets-DR73IFIL.js";
|
|
9
|
+
import "./icon-button-HKoCqWG3.js";
|
|
10
|
+
import "./icon-Dj98ov4G.js";
|
|
11
11
|
import { t as p } from "./combo-box.i18n-BorzYnJ2.js";
|
|
12
|
-
import "./menu-
|
|
12
|
+
import "./menu-LZ0DmVCe.js";
|
|
13
13
|
import { t as m } from "./implicit-submission-Csbcor_E.js";
|
|
14
|
-
import { t as h } from "./described-by-mixin-
|
|
15
|
-
import { t as g } from "./translations-
|
|
14
|
+
import { t as h } from "./described-by-mixin-Jh_PTTde.js";
|
|
15
|
+
import { t as g } from "./translations-C6WKR-hE.js";
|
|
16
16
|
import { r as _ } from "./element-state-B-44fVqq.js";
|
|
17
17
|
import { t as v } from "./defer-focus-F73ud2D9.js";
|
|
18
18
|
// src/components/inputs/combo-box/combo-box.styles.ts
|
|
@@ -302,9 +302,9 @@ var S = class extends h(u(e)) {
|
|
|
302
302
|
super(...e), this.value = "", this.text = "", this.placeholder = "", this.size = "md", this.valid = !1, this.invalid = !1, this.disabled = !1, this.readonly = !1, this.allowCustom = !1, this.noFilter = !1, this.name = "", this.autocomplete = "off", this.maxItems = 8, this.accessibleLabel = "", this.translations = {}, this.noSpellcheck = !1, this.width = "", this._isOpen = !1, this._highlightedId = "", this._menuId = `nldd-combo-box-menu-${C._idCounter++}`, this._menu = null, this._resizeObserver = null, this._menuObserver = null, this._openPending = !1, this._typedText = null, this.required = !1, this.pattern = "", this._handleScrollOrResize = () => {
|
|
303
303
|
this._isOpen && (this._updateMenuWidth(), this._menu?.reposition());
|
|
304
304
|
}, this._handleMenuToggle = (e) => {
|
|
305
|
-
this._isOpen = e.newState === "open", this._isOpen ? (this._openPending = !1, requestAnimationFrame(() => {
|
|
305
|
+
this._isOpen = e.newState === "open", this._isOpen ? (this._followAnchor(), this._openPending = !1, requestAnimationFrame(() => {
|
|
306
306
|
this._menu && !this._menu.getHighlighted() && this._menu.moveHighlight("next"), this._highlightedId = this._menu?.getHighlightedId() ?? "";
|
|
307
|
-
})) : this._highlightedId = "";
|
|
307
|
+
})) : (this._unfollowAnchor(), this._highlightedId = "");
|
|
308
308
|
}, this._handleMenuSelect = (e) => {
|
|
309
309
|
let t = e.target;
|
|
310
310
|
this._typedText = null, this.text = t.text, this.value = t.value || t.text, this._highlightedId = "", this._closeMenu(), this._menu?.filter(""), this.emitFormEvent("change", { value: this.value }), this._input?.focus();
|
|
@@ -345,10 +345,10 @@ var S = class extends h(u(e)) {
|
|
|
345
345
|
e instanceof FormData ? (this.value = String(e.get("value") ?? ""), this.text = String(e.get("display") ?? "")) : typeof e == "string" && (this.value = e, this.text = e);
|
|
346
346
|
}
|
|
347
347
|
connectedCallback() {
|
|
348
|
-
super.connectedCallback(), this.
|
|
348
|
+
super.connectedCallback(), this.hasUpdated && this._onSlotChange();
|
|
349
349
|
}
|
|
350
350
|
disconnectedCallback() {
|
|
351
|
-
super.disconnectedCallback(), this.
|
|
351
|
+
super.disconnectedCallback(), this._unfollowAnchor(), this._menuObserver?.disconnect(), this._menuObserver = null, this._menu && (this._menu.removeEventListener("toggle", this._handleMenuToggle), this._menu.removeEventListener("select", this._handleMenuSelect), this._menu.removeEventListener("keydown", this._handleMenuKeydown), this._menu = null);
|
|
352
352
|
}
|
|
353
353
|
_onSlotChange() {
|
|
354
354
|
let e = (this.shadowRoot?.querySelector("slot"))?.assignedElements({ flatten: !0 }).find((e) => e.tagName.toLowerCase() === "nldd-menu");
|
|
@@ -357,7 +357,7 @@ var S = class extends h(u(e)) {
|
|
|
357
357
|
subtree: !0,
|
|
358
358
|
attributes: !0,
|
|
359
359
|
attributeFilter: ["hidden"]
|
|
360
|
-
}), this.
|
|
360
|
+
}), this.value && !this.text && this._deriveTextFromMenu());
|
|
361
361
|
}
|
|
362
362
|
_deriveTextFromMenu() {
|
|
363
363
|
if (this._menu) {
|
|
@@ -373,6 +373,12 @@ var S = class extends h(u(e)) {
|
|
|
373
373
|
let e = this.getBoundingClientRect();
|
|
374
374
|
this._menu.width = `${e.width}px`;
|
|
375
375
|
}
|
|
376
|
+
_followAnchor() {
|
|
377
|
+
this._resizeObserver || (this._resizeObserver = new ResizeObserver(() => this._updateMenuWidth()), this._resizeObserver.observe(this), window.addEventListener("scroll", this._handleScrollOrResize, !0), window.addEventListener("resize", this._handleScrollOrResize));
|
|
378
|
+
}
|
|
379
|
+
_unfollowAnchor() {
|
|
380
|
+
this._resizeObserver && (this._resizeObserver.disconnect(), this._resizeObserver = null, window.removeEventListener("scroll", this._handleScrollOrResize, !0), window.removeEventListener("resize", this._handleScrollOrResize));
|
|
381
|
+
}
|
|
376
382
|
_updateActiveDescendant() {
|
|
377
383
|
this._highlightedId = this._menu?.getHighlightedId() ?? "";
|
|
378
384
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { c as i, n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { c as i, 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 "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { n as u } from "./breakpoints-Cwor8TRP.js";
|
|
@@ -352,14 +352,7 @@ var v = /* @__PURE__ */ e({ NLDDContainer: () => C }), y, b = {
|
|
|
352
352
|
], C = (y = class extends t {
|
|
353
353
|
constructor(...e) {
|
|
354
354
|
super(...e), this.width = "", this.minWidth = "", this.maxWidth = "", this.minHeight = "", this.hideOn = "", this.gap = void 0, this.smGap = void 0, this.mdGap = void 0, this.lgGap = void 0, this.padding = void 0, this.paddingInline = void 0, this.paddingBlock = void 0, this.paddingTop = void 0, this.paddingRight = void 0, this.paddingBottom = void 0, this.paddingLeft = void 0, this.smPadding = void 0, this.smPaddingInline = void 0, this.smPaddingBlock = void 0, this.smPaddingTop = void 0, this.smPaddingRight = void 0, this.smPaddingBottom = void 0, this.smPaddingLeft = void 0, this.mdPadding = void 0, this.mdPaddingInline = void 0, this.mdPaddingBlock = void 0, this.mdPaddingTop = void 0, this.mdPaddingRight = void 0, this.mdPaddingBottom = void 0, this.mdPaddingLeft = void 0, this.lgPadding = void 0, this.lgPaddingInline = void 0, this.lgPaddingBlock = void 0, this.lgPaddingTop = void 0, this.lgPaddingRight = void 0, this.lgPaddingBottom = void 0, this.lgPaddingLeft = void 0, this.horizontalAlignment = void 0, this.verticalAlignment = void 0, this._sizedByContent = !1, this.list = !1, this._listItems = /* @__PURE__ */ new WeakSet(), this._onSlotChange = (e) => {
|
|
355
|
-
|
|
356
|
-
this.list && this._applyListRoles(), this._childObserver?.disconnect(), this._childObserver = new MutationObserver((e) => {
|
|
357
|
-
for (let t of e) t.target instanceof HTMLElement && this._applyOrderProps(t.target);
|
|
358
|
-
});
|
|
359
|
-
for (let e of t.assignedElements()) e instanceof HTMLElement && (this._applyOrderProps(e), this._childObserver.observe(e, {
|
|
360
|
-
attributes: !0,
|
|
361
|
-
attributeFilter: [...S]
|
|
362
|
-
}));
|
|
355
|
+
this._watchChildren(e.target);
|
|
363
356
|
};
|
|
364
357
|
}
|
|
365
358
|
get _isSizedByContent() {
|
|
@@ -371,6 +364,8 @@ var v = /* @__PURE__ */ e({ NLDDContainer: () => C }), y, b = {
|
|
|
371
364
|
}
|
|
372
365
|
connectedCallback() {
|
|
373
366
|
super.connectedCallback(), this._syncSizedByContent();
|
|
367
|
+
let e = this.shadowRoot?.querySelector("slot");
|
|
368
|
+
this.hasUpdated && e && this._watchChildren(e);
|
|
374
369
|
}
|
|
375
370
|
_applyListRoles() {
|
|
376
371
|
this.list ? this.setAttribute("role", "list") : this.getAttribute("role") === "list" && this.removeAttribute("role");
|
|
@@ -421,6 +416,15 @@ var v = /* @__PURE__ */ e({ NLDDContainer: () => C }), y, b = {
|
|
|
421
416
|
disconnectedCallback() {
|
|
422
417
|
super.disconnectedCallback(), this._childObserver?.disconnect(), this._childObserver = void 0;
|
|
423
418
|
}
|
|
419
|
+
_watchChildren(e) {
|
|
420
|
+
this.list && this._applyListRoles(), this._childObserver?.disconnect(), this._childObserver = new MutationObserver((e) => {
|
|
421
|
+
for (let t of e) t.target instanceof HTMLElement && this._applyOrderProps(t.target);
|
|
422
|
+
});
|
|
423
|
+
for (let t of e.assignedElements()) t instanceof HTMLElement && (this._applyOrderProps(t), this._childObserver.observe(t, {
|
|
424
|
+
attributes: !0,
|
|
425
|
+
attributeFilter: [...S]
|
|
426
|
+
}));
|
|
427
|
+
}
|
|
424
428
|
_applyOrderProps(e) {
|
|
425
429
|
for (let t of S) {
|
|
426
430
|
let n = e.getAttribute(t), r = `--_container-slot-${t}`;
|
|
@@ -297,7 +297,7 @@ function O(e) {
|
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
299
|
// src/utilities/dev-checks-trigger.ts
|
|
300
|
-
import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-
|
|
300
|
+
import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-Bet7bhMS.js").then(({ startDevChecks: e }) => e());
|
|
301
301
|
// src/utilities/custom-element.ts
|
|
302
302
|
var k = globalThis.HTMLElement ?? class {};
|
|
303
303
|
export { w as a, a as c, x as i, O as n, t as o, D as r, o as s, k as t };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { c as i, n as a, r as o, s } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-BhnGmemK.js";
|
|
2
|
+
import { c as i, n as a, r as o, s } from "./custom-element-DtLjpays.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./css-time-DmkAFd1y.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 "./implicit-submission-Csbcor_E.js";
|
|
7
7
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as p } from "./shadow-resets-
|
|
8
|
+
import { t as p } from "./shadow-resets-DR73IFIL.js";
|
|
9
9
|
import { n as m } from "./breakpoints-Cwor8TRP.js";
|
|
10
|
-
import "./icon-button-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./popover-
|
|
13
|
-
import "./container-
|
|
14
|
-
import "./top-title-bar-
|
|
15
|
-
import { n as h, r as g } from "./date-picker-
|
|
10
|
+
import "./icon-button-HKoCqWG3.js";
|
|
11
|
+
import "./icon-Dj98ov4G.js";
|
|
12
|
+
import "./popover-C6j3sO70.js";
|
|
13
|
+
import "./container-Dhf1Ahi8.js";
|
|
14
|
+
import "./top-title-bar-DUp0bSIU.js";
|
|
15
|
+
import { n as h, r as g } from "./date-picker-D8qv2iuG.js";
|
|
16
16
|
import { t as _ } from "./date-field.i18n-BqIx3eyr.js";
|
|
17
|
-
import { t as v } from "./described-by-mixin-
|
|
18
|
-
import { t as y } from "./translations-
|
|
17
|
+
import { t as v } from "./described-by-mixin-Jh_PTTde.js";
|
|
18
|
+
import { t as y } from "./translations-C6WKR-hE.js";
|
|
19
19
|
import { n as b, r as x } from "./return-focus-CpwHVxYU.js";
|
|
20
20
|
import { n as S } from "./input-modality-XE0B7yCn.js";
|
|
21
21
|
// src/components/inputs/date-field/date-field.styles.ts
|
|
@@ -1,18 +1,18 @@
|
|
|
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 { n as l } from "./breakpoints-Cwor8TRP.js";
|
|
6
6
|
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
7
|
-
import { t as d } from "./with-translations-
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import { t as p } from "./class-map-
|
|
7
|
+
import { t as d } from "./with-translations-nT8q6ELU.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-DR73IFIL.js";
|
|
9
|
+
import { t as p } from "./class-map-1XjgYGeg.js";
|
|
10
10
|
import { n as m, r as h, t as g } from "./date-picker.i18n-Dsc_M5QK.js";
|
|
11
|
-
import "./icon-button-
|
|
12
|
-
import "./button-
|
|
13
|
-
import "./button-bar-
|
|
14
|
-
import "./menu-
|
|
15
|
-
import { t as _ } from "./described-by-mixin-
|
|
11
|
+
import "./icon-button-HKoCqWG3.js";
|
|
12
|
+
import "./button-BK8CmshL.js";
|
|
13
|
+
import "./button-bar-5RtXjgGl.js";
|
|
14
|
+
import "./menu-LZ0DmVCe.js";
|
|
15
|
+
import { t as _ } from "./described-by-mixin-Jh_PTTde.js";
|
|
16
16
|
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
17
17
|
import { t as y } from "./defer-focus-F73ud2D9.js";
|
|
18
18
|
// src/utilities/resolve-date-bound.ts
|
|
@@ -471,16 +471,17 @@ function k(e) {
|
|
|
471
471
|
<nldd-menu class="date-picker__month-menu"
|
|
472
472
|
accessible-label=${e._t("components.date-picker.to-choose-month-action")}
|
|
473
473
|
width="176px"
|
|
474
|
+
@beforetoggle=${e._handleMonthMenuBeforeToggle}
|
|
474
475
|
@toggle=${e._handleMonthMenuToggle}
|
|
475
476
|
>
|
|
476
|
-
${t.map((t) => n`
|
|
477
|
+
${e._monthMenuRendered ? t.map((t) => n`
|
|
477
478
|
<nldd-menu-item
|
|
478
479
|
type="radio"
|
|
479
480
|
text=${e._t(`components.date-picker.${g[t - 1]}-capitalize`)}
|
|
480
481
|
?selected=${t === e._viewMonth}
|
|
481
482
|
@click=${() => e._handleMonthSelect(t)}
|
|
482
483
|
></nldd-menu-item>
|
|
483
|
-
`)}
|
|
484
|
+
`) : r}
|
|
484
485
|
</nldd-menu>
|
|
485
486
|
`}
|
|
486
487
|
${i.length < 2 ? r : n`
|
|
@@ -488,16 +489,17 @@ function k(e) {
|
|
|
488
489
|
accessible-label=${e._t("components.date-picker.to-choose-year-action")}
|
|
489
490
|
max-items="8"
|
|
490
491
|
width="136px"
|
|
492
|
+
@beforetoggle=${e._handleYearMenuBeforeToggle}
|
|
491
493
|
@toggle=${e._handleYearMenuToggle}
|
|
492
494
|
>
|
|
493
|
-
${i.map((t) => n`
|
|
495
|
+
${e._yearMenuRendered ? i.map((t) => n`
|
|
494
496
|
<nldd-menu-item
|
|
495
497
|
type="radio"
|
|
496
498
|
text=${String(t)}
|
|
497
499
|
?selected=${t === e._viewYear}
|
|
498
500
|
@click=${() => e._handleYearSelect(t)}
|
|
499
501
|
></nldd-menu-item>
|
|
500
|
-
`)}
|
|
502
|
+
`) : r}
|
|
501
503
|
</nldd-menu>
|
|
502
504
|
`}
|
|
503
505
|
${e._stacked ? r : n`
|
|
@@ -706,6 +708,10 @@ var Y = (I = class extends _(d(t, h)) {
|
|
|
706
708
|
constructor(...e) {
|
|
707
709
|
super(...e), this.value = "", this.start = "", this.end = "", this.width = "", this.range = !1, this.min = "", this.max = "", this.firstDayOfWeek = 1, this.weekNumbers = !1, this.accessibleLabel = "", this._focused = "", this._view = "", this._anchor = "", this._hover = "", this._announcement = "", this._monthMenuOpen = !1, this._yearMenuOpen = !1, this._stacked = !1, this._handleStackedChange = () => {
|
|
708
710
|
this._stacked = !!this._stackedQuery?.matches;
|
|
711
|
+
}, this._monthMenuRendered = !1, this._yearMenuRendered = !1, this._handleMonthMenuBeforeToggle = (e) => {
|
|
712
|
+
e.newState === "open" && (this._monthMenuRendered = !0);
|
|
713
|
+
}, this._handleYearMenuBeforeToggle = (e) => {
|
|
714
|
+
e.newState === "open" && (this._yearMenuRendered = !0);
|
|
709
715
|
}, this._restoreFocus = !1, this.invalid = !1, this._focusFromKeyboard = !1, this._dragOrigin = "", this._dragged = !1, this._suppressClick = !1, this._onDocumentPointerUp = (e) => {
|
|
710
716
|
document.removeEventListener("pointerup", this._onDocumentPointerUp);
|
|
711
717
|
let t = this._dragOrigin;
|
|
@@ -994,7 +1000,7 @@ i([o({ type: String })], Y.prototype, "value", void 0), i([o({ type: String })],
|
|
|
994
1000
|
})], Y.prototype, "weekNumbers", void 0), i([o({
|
|
995
1001
|
type: String,
|
|
996
1002
|
attribute: "accessible-label"
|
|
997
|
-
})], Y.prototype, "accessibleLabel", void 0), i([o({ attribute: !1 })], Y.prototype, "isDateUnavailable", void 0), i([a()], Y.prototype, "_focused", void 0), i([a()], Y.prototype, "_view", void 0), i([a()], Y.prototype, "_anchor", void 0), i([a()], Y.prototype, "_hover", void 0), i([a()], Y.prototype, "_announcement", void 0), i([a()], Y.prototype, "_monthMenuOpen", void 0), i([a()], Y.prototype, "_yearMenuOpen", void 0), i([a()], Y.prototype, "_stacked", void 0), i([o({
|
|
1003
|
+
})], Y.prototype, "accessibleLabel", void 0), i([o({ attribute: !1 })], Y.prototype, "isDateUnavailable", void 0), i([a()], Y.prototype, "_focused", void 0), i([a()], Y.prototype, "_view", void 0), i([a()], Y.prototype, "_anchor", void 0), i([a()], Y.prototype, "_hover", void 0), i([a()], Y.prototype, "_announcement", void 0), i([a()], Y.prototype, "_monthMenuOpen", void 0), i([a()], Y.prototype, "_yearMenuOpen", void 0), i([a()], Y.prototype, "_stacked", void 0), i([a()], Y.prototype, "_monthMenuRendered", void 0), i([a()], Y.prototype, "_yearMenuRendered", void 0), i([o({
|
|
998
1004
|
type: Boolean,
|
|
999
1005
|
reflect: !0
|
|
1000
1006
|
})], Y.prototype, "invalid", void 0), Y = i([c("nldd-date-picker")], Y);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./custom-element-
|
|
1
|
+
import { a as e } from "./custom-element-DtLjpays.js";
|
|
2
2
|
// node_modules/lit-html/lit-html.js
|
|
3
3
|
var t = globalThis, n = (e) => e, r = t.trustedTypes, i = r ? r.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, a = "$lit$", o = `lit$${Math.random().toFixed(9).slice(2)}$`, s = "?" + o, c = `<${s}>`, l = document, u = () => l.createComment(""), d = (e) => e === null || typeof e != "object" && typeof e != "function", f = Array.isArray, p = (e) => f(e) || typeof e?.[Symbol.iterator] == "function", m = "[ \n\f\r]", h = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, g = /-->/g, _ = />/g, v = RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), y = /'/g, b = /"/g, x = /^(?:script|style|textarea|title)$/i, S = (e) => (t, ...n) => ({
|
|
4
4
|
_$litType$: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-
|
|
1
|
+
import { r as e } from "./custom-element-DtLjpays.js";
|
|
2
2
|
import { r as t } from "./element-state-B-44fVqq.js";
|
|
3
3
|
import { t as n } from "./owned-attribute-x9OCTy_4.js";
|
|
4
|
-
import { t as r } from "./decorate-
|
|
4
|
+
import { t as r } from "./decorate-BhnGmemK.js";
|
|
5
5
|
// src/utilities/described-by-mixin.ts
|
|
6
6
|
function i(e, t, n = !1) {
|
|
7
7
|
if (!e) return;
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
-
import { t as o } from "./reorder-handle-mixin-
|
|
4
|
+
import { t as o } from "./reorder-handle-mixin-Co5E_Y7l.js";
|
|
5
5
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { i as c, t as l } from "./shadow-resets-
|
|
7
|
-
import { t as u } from "./visibility-mixin-
|
|
8
|
-
import { t as d } from "./row-header-mixin-
|
|
6
|
+
import { i as c, t as l } from "./shadow-resets-DR73IFIL.js";
|
|
7
|
+
import { t as u } from "./visibility-mixin-DL737l0g.js";
|
|
8
|
+
import { t as d } from "./row-header-mixin-BCYXiXva.js";
|
|
9
9
|
// src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts
|
|
10
10
|
var f = i`
|
|
11
11
|
:host {
|
|
@@ -674,6 +674,26 @@ var t = [
|
|
|
674
674
|
message: "A second page renders a main landmark, which a document may have only one of. Leave `landmarks` at \"auto\" on pages in a pane or an overlay, or set landmarks=\"region\" on the ones that are not the document's page.",
|
|
675
675
|
context: "nldd-page:state(second-main)"
|
|
676
676
|
},
|
|
677
|
+
{
|
|
678
|
+
id: "password-field-hide-button-accessible-label-no-effect",
|
|
679
|
+
message: "`hide-button-accessible-label` is gone. The accessible name of the button that hides the password is the translation key `components.password-field.hide-accessible-label` now. Set it in `translations` or with `setTranslations()`.",
|
|
680
|
+
context: "nldd-password-field[hide-button-accessible-label]"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
id: "password-field-hide-button-text-no-effect",
|
|
684
|
+
message: "`hide-button-text` is gone. The text of the button that hides the password is the translation key `components.password-field.hide-action` now. Set it in `translations` or with `setTranslations()`.",
|
|
685
|
+
context: "nldd-password-field[hide-button-text]"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
id: "password-field-show-button-accessible-label-no-effect",
|
|
689
|
+
message: "`show-button-accessible-label` is gone. The accessible name of the button that shows the password is the translation key `components.password-field.show-accessible-label` now. Set it in `translations` or with `setTranslations()`.",
|
|
690
|
+
context: "nldd-password-field[show-button-accessible-label]"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
id: "password-field-show-button-text-no-effect",
|
|
694
|
+
message: "`show-button-text` is gone. The text of the button that shows the password is the translation key `components.password-field.show-action` now. Set it in `translations` or with `setTranslations()`.",
|
|
695
|
+
context: "nldd-password-field[show-button-text]"
|
|
696
|
+
},
|
|
677
697
|
{
|
|
678
698
|
id: "popover-anchor-not-found",
|
|
679
699
|
message: "Anchor element not found. Set `anchor` or `anchorElement` before calling show().",
|
|
@@ -715,7 +735,7 @@ var t = [
|
|
|
715
735
|
},
|
|
716
736
|
{
|
|
717
737
|
id: "rich-text-color-no-effect",
|
|
718
|
-
message: "`color` is gone
|
|
738
|
+
message: "`color` is gone. `color=\"content\"` was the default, so remove it. `color=\"inherit\"` took the CSS `color` around it, so this text may have changed color: where your own CSS sets `color` here, set `--context-content-color` too, then remove the attribute.",
|
|
719
739
|
context: "nldd-rich-text[color]"
|
|
720
740
|
},
|
|
721
741
|
{
|
|
@@ -743,6 +763,18 @@ var t = [
|
|
|
743
763
|
message: "The `show-search-button` attribute is now `search-button`, which also takes the appearance of the button. Rename it here and on every other nldd-search-field.",
|
|
744
764
|
context: "nldd-search-field[show-search-button]"
|
|
745
765
|
},
|
|
766
|
+
{
|
|
767
|
+
id: "section-goes-in-page",
|
|
768
|
+
message: "Put this section in an nldd-page: a section lays out by the width of the page, and the page makes its content the main landmark, scrolls it and tells sticky content where the bars are.",
|
|
769
|
+
context: ":is(nldd-full-bleed-section, nldd-hero, nldd-one-half-one-half-section, nldd-one-third-two-thirds-section, nldd-sidebar-section, nldd-simple-section, nldd-two-thirds-one-third-section)",
|
|
770
|
+
assert: "nldd-page *",
|
|
771
|
+
properties: []
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
id: "section-no-section",
|
|
775
|
+
message: "Put this section next to the other one in nldd-page, not inside it: a section lays out by the width of the page.",
|
|
776
|
+
context: ":is(nldd-full-bleed-section, nldd-hero, nldd-one-half-one-half-section, nldd-one-third-two-thirds-section, nldd-sidebar-section, nldd-simple-section, nldd-two-thirds-one-third-section) :is(nldd-full-bleed-section, nldd-hero, nldd-one-half-one-half-section, nldd-one-third-two-thirds-section, nldd-sidebar-section, nldd-simple-section, nldd-two-thirds-one-third-section):not(:is(nldd-full-bleed-section, nldd-hero, nldd-one-half-one-half-section, nldd-one-third-two-thirds-section, nldd-sidebar-section, nldd-simple-section, nldd-two-thirds-one-third-section) nldd-page *)"
|
|
777
|
+
},
|
|
746
778
|
{
|
|
747
779
|
id: "segmented-control-needs-name",
|
|
748
780
|
message: "nldd-segmented-control needs `accessible-label`, `accessible-labeled-by` or a labeled nldd-form-field around it, or it has no accessible name.",
|
|
@@ -998,6 +1030,11 @@ var t = [
|
|
|
998
1030
|
assert: ":not([source]:not([source=\"\"])):not([source-href]:not([source-href=\"\"]))",
|
|
999
1031
|
properties: []
|
|
1000
1032
|
},
|
|
1033
|
+
{
|
|
1034
|
+
id: "text-color-inherit-no-effect",
|
|
1035
|
+
message: "`color=\"inherit\"` is gone, so this text no longer takes the CSS `color` around it and may have changed color. Where your own CSS sets `color` here, set `--context-content-color` too, then remove the attribute.",
|
|
1036
|
+
context: "nldd-text[color=\"inherit\"]"
|
|
1037
|
+
},
|
|
1001
1038
|
{
|
|
1002
1039
|
id: "text-custom-size-invalid",
|
|
1003
1040
|
message: "This is not a size the text can use, so it keeps its size from `size` at this breakpoint. Use a length such as \"96px\" or \"6rem\", not a keyword.",
|
|
@@ -1064,7 +1101,7 @@ var t = [
|
|
|
1064
1101
|
},
|
|
1065
1102
|
{
|
|
1066
1103
|
id: "title-color-no-effect",
|
|
1067
|
-
message: "`color` is gone
|
|
1104
|
+
message: "`color` is gone. `color=\"content\"` was the default, so remove it. `color=\"inherit\"` took the CSS `color` around it, so this text may have changed color: where your own CSS sets `color` here, set `--context-content-color` too, then remove the attribute.",
|
|
1068
1105
|
context: "nldd-title[color]"
|
|
1069
1106
|
},
|
|
1070
1107
|
{
|
|
@@ -2901,8 +2938,8 @@ var t = [
|
|
|
2901
2938
|
message: "`scheme` on nldd-window takes: dark, inherit, light.",
|
|
2902
2939
|
context: "nldd-window[scheme]:not([scheme=\"dark\"], [scheme=\"inherit\"], [scheme=\"light\"])"
|
|
2903
2940
|
}
|
|
2904
|
-
], n = 300, r = 2e3;
|
|
2905
|
-
function
|
|
2941
|
+
], n = 300, r = 1e3, i = 2e3;
|
|
2942
|
+
function a(e, t) {
|
|
2906
2943
|
if (e.assert) return !e.properties?.some((e) => t[e]) && !t.matches(e.assert);
|
|
2907
2944
|
if (e.report) return t.matches(e.report);
|
|
2908
2945
|
if (e.count) {
|
|
@@ -2911,63 +2948,74 @@ function i(e, t) {
|
|
|
2911
2948
|
}
|
|
2912
2949
|
return !0;
|
|
2913
2950
|
}
|
|
2914
|
-
function
|
|
2951
|
+
function o(e, t) {
|
|
2915
2952
|
try {
|
|
2916
|
-
return
|
|
2953
|
+
return a(e, t);
|
|
2917
2954
|
} catch {
|
|
2918
2955
|
return !1;
|
|
2919
2956
|
}
|
|
2920
2957
|
}
|
|
2921
|
-
function
|
|
2958
|
+
function s(e, t) {
|
|
2922
2959
|
try {
|
|
2923
2960
|
return e.querySelectorAll(t);
|
|
2924
2961
|
} catch {
|
|
2925
2962
|
return [];
|
|
2926
2963
|
}
|
|
2927
2964
|
}
|
|
2928
|
-
function
|
|
2965
|
+
function c(e, n = t) {
|
|
2929
2966
|
let r = [];
|
|
2930
|
-
for (let t of n) for (let n of
|
|
2967
|
+
for (let t of n) for (let n of s(e, t.context)) o(t, n) && r.push({
|
|
2931
2968
|
rule: t,
|
|
2932
2969
|
element: n
|
|
2933
2970
|
});
|
|
2934
2971
|
return r;
|
|
2935
2972
|
}
|
|
2936
|
-
function
|
|
2973
|
+
function l(e = document) {
|
|
2937
2974
|
let t = [e];
|
|
2938
|
-
for (let n of e.querySelectorAll("*")) n.shadowRoot && !n.localName.startsWith("nldd-") && t.push(...
|
|
2975
|
+
for (let n of e.querySelectorAll("*")) n.shadowRoot && !n.localName.startsWith("nldd-") && t.push(...l(n.shadowRoot));
|
|
2939
2976
|
return t;
|
|
2940
2977
|
}
|
|
2941
|
-
function
|
|
2978
|
+
function u() {
|
|
2942
2979
|
let e = /* @__PURE__ */ new WeakMap();
|
|
2943
2980
|
return (n = t) => {
|
|
2944
|
-
for (let { rule: t, element: r } of
|
|
2981
|
+
for (let { rule: t, element: r } of l().flatMap((e) => c(e, n))) {
|
|
2945
2982
|
let n = e.get(r) ?? /* @__PURE__ */ new Set();
|
|
2946
2983
|
n.has(t.id) || (e.set(r, n.add(t.id)), console.warn(`[nldd] ${t.id}: ${t.message}`, r));
|
|
2947
2984
|
}
|
|
2948
2985
|
};
|
|
2949
2986
|
}
|
|
2950
|
-
async function
|
|
2987
|
+
async function d(e) {
|
|
2951
2988
|
let { nl: t } = await import("./nl.generated-BDowZkhc.js"), n = e.filter((e) => !(e in t));
|
|
2952
2989
|
n.length > 0 && console.warn(`[nldd] setTranslations: no component knows ${n.join(", ")}.`);
|
|
2953
2990
|
}
|
|
2954
|
-
var
|
|
2955
|
-
function
|
|
2956
|
-
let n = e.filter((e) => !t.includes(e) && !
|
|
2991
|
+
var f = /* @__PURE__ */ new Set();
|
|
2992
|
+
function p(e, t) {
|
|
2993
|
+
let n = e.filter((e) => !t.includes(e) && !f.has(e));
|
|
2957
2994
|
if (n.length !== 0) {
|
|
2958
|
-
for (let e of n)
|
|
2995
|
+
for (let e of n) f.add(e);
|
|
2959
2996
|
console.warn(`[nldd] translations: the element has no key ${n.join(", ")}, so that text stays Dutch.`);
|
|
2960
2997
|
}
|
|
2961
2998
|
}
|
|
2962
|
-
var
|
|
2963
|
-
function
|
|
2999
|
+
var m = (e) => [...e.querySelectorAll("*")].some((e) => e.localName.startsWith("nldd-")), h = "nldd-fouc-reveal";
|
|
3000
|
+
function g(e = document.body) {
|
|
2964
3001
|
let { body: t } = document;
|
|
2965
|
-
return !t || !e || !
|
|
3002
|
+
return !t || !e || !m(e) ? !1 : !getComputedStyle(t).animationName.split(",").map((e) => e.trim()).includes(h);
|
|
2966
3003
|
}
|
|
2967
|
-
function
|
|
2968
|
-
|
|
3004
|
+
function _() {
|
|
3005
|
+
g() && console.warn("[nldd] fouc.css: this page has no FOUC guard, so components show unstyled until they load. Import '@nldd/design-system/styles', which includes it, or '@nldd/design-system/styles/fouc' on its own.");
|
|
2969
3006
|
}
|
|
2970
|
-
|
|
3007
|
+
function v() {
|
|
3008
|
+
let e = !1;
|
|
3009
|
+
return () => {
|
|
3010
|
+
!e && document.body && m(document.body) && (e = !0, _());
|
|
3011
|
+
};
|
|
3012
|
+
}
|
|
3013
|
+
var y = (e) => e.filter((e) => [
|
|
3014
|
+
e.context,
|
|
3015
|
+
e.assert,
|
|
3016
|
+
e.report,
|
|
3017
|
+
e.count?.of
|
|
3018
|
+
].some((e) => e?.includes(":state("))), b = (e) => e >= r ? 0 : n, x = [
|
|
2971
3019
|
{
|
|
2972
3020
|
sheet: "text",
|
|
2973
3021
|
selector: "nldd-text:has(> :is(p, span))",
|
|
@@ -2984,47 +3032,49 @@ var g = [
|
|
|
2984
3032
|
variable: "--_link-color"
|
|
2985
3033
|
}
|
|
2986
3034
|
];
|
|
2987
|
-
function
|
|
2988
|
-
return
|
|
3035
|
+
function S(e = l()) {
|
|
3036
|
+
return x.filter(({ selector: t, variable: n }) => {
|
|
2989
3037
|
let r = e.map((e) => e.querySelector(t)).find((e) => e !== null) ?? null;
|
|
2990
3038
|
return r !== null && getComputedStyle(r).getPropertyValue(n) === "";
|
|
2991
3039
|
}).map(({ sheet: e }) => e);
|
|
2992
3040
|
}
|
|
2993
|
-
function
|
|
3041
|
+
function C() {
|
|
2994
3042
|
let e = /* @__PURE__ */ new Set();
|
|
2995
3043
|
return () => {
|
|
2996
|
-
for (let t of
|
|
3044
|
+
for (let t of S()) e.has(t) || (e.add(t), console.warn(`[nldd] ${t}.css: the links, code and other inline elements in nldd-${t} have no look of their own, because this page does not load that stylesheet. Import '@nldd/design-system/styles', which includes it, or '@nldd/design-system/styles/${t}' on its own.`));
|
|
2997
3045
|
};
|
|
2998
3046
|
}
|
|
2999
|
-
var
|
|
3000
|
-
function
|
|
3047
|
+
var w = 3e3;
|
|
3048
|
+
function T(e = l()) {
|
|
3001
3049
|
return e.flatMap((e) => [...e.querySelectorAll(":not(:defined)")]).filter((e) => e.localName.startsWith("nldd-"));
|
|
3002
3050
|
}
|
|
3003
|
-
function
|
|
3051
|
+
function E() {
|
|
3004
3052
|
let t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new Set();
|
|
3005
3053
|
return () => {
|
|
3006
3054
|
let r = Date.now();
|
|
3007
|
-
for (let i of
|
|
3055
|
+
for (let i of T()) {
|
|
3008
3056
|
let a = t.get(i);
|
|
3009
|
-
a === void 0 ? t.set(i, r) : r - a <
|
|
3057
|
+
a === void 0 ? t.set(i, r) : r - a < w || n.has(i.localName) || e.has(i.localName) || (n.add(i.localName), console.warn(`[nldd] <${i.localName}> is not registered, so it renders nothing of its own. Import its module from @nldd/design-system, or check the name.`, i));
|
|
3010
3058
|
}
|
|
3011
3059
|
};
|
|
3012
3060
|
}
|
|
3013
|
-
var
|
|
3014
|
-
function
|
|
3015
|
-
if (
|
|
3016
|
-
|
|
3017
|
-
let e =
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3061
|
+
var D = !1;
|
|
3062
|
+
function O() {
|
|
3063
|
+
if (D || typeof MutationObserver > "u") return;
|
|
3064
|
+
D = !0;
|
|
3065
|
+
let e = u(), n = E(), r = C(), a = v(), o = y(t), s, c = Date.now(), d = new MutationObserver(() => h()), f = /* @__PURE__ */ new WeakSet(), p = (e) => {
|
|
3066
|
+
for (let t of e) f.has(t) || (f.add(t), d.observe(t, {
|
|
3067
|
+
subtree: !0,
|
|
3068
|
+
childList: !0,
|
|
3069
|
+
attributes: !0
|
|
3070
|
+
}));
|
|
3071
|
+
}, m = () => {
|
|
3072
|
+
c = Date.now(), e(), n(), r(), p(l()), a();
|
|
3073
|
+
}, h = () => {
|
|
3074
|
+
clearTimeout(s), s = setTimeout(m, b(Date.now() - c));
|
|
3021
3075
|
};
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
attributes: !0
|
|
3026
|
-
}), setInterval(() => {
|
|
3027
|
-
document.hidden || (e(o), i());
|
|
3028
|
-
}, r), c(), setTimeout(h, n);
|
|
3076
|
+
p([document.documentElement]), setInterval(() => {
|
|
3077
|
+
document.hidden || (e(o), n());
|
|
3078
|
+
}, i), h();
|
|
3029
3079
|
}
|
|
3030
|
-
export {
|
|
3080
|
+
export { p as checkElementTranslationKeys, d as checkTranslationKeys, O as startDevChecks };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as e } from "./decorate-
|
|
1
|
+
import { s as e } from "./decorate-BhnGmemK.js";
|
|
2
2
|
// node_modules/lit-html/directive-helpers.js
|
|
3
3
|
var { I: t } = e, n = (e) => e, r = (e) => e.strings === void 0, i = () => document.createComment(""), a = (e, r, a) => {
|
|
4
4
|
let o = e._$AA.parentNode, s = r === void 0 ? e._$AB : r._$AA;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { i as t, n, r, t as i } from "./dist-3C80SZN9.js";
|
|
3
3
|
import { c as a, f as o, i as s, o as c } from "./style-mod-DGMhzWuk.js";
|
|
4
|
-
import { $ as ee, D as l, O as u, S as d, _ as f, g as te, h as ne, j as re, m as p, p as m, s as ie, u as ae, v as h } from "./languages-
|
|
5
|
-
import { o as g, r as oe, s as _ } from "./dist-
|
|
4
|
+
import { $ as ee, D as l, O as u, S as d, _ as f, g as te, h as ne, j as re, m as p, p as m, s as ie, u as ae, v as h } from "./languages-CPd7_I8H.js";
|
|
5
|
+
import { o as g, r as oe, s as _ } from "./dist-Dzlvec4O.js";
|
|
6
6
|
// node_modules/@lezer/javascript/dist/index.js
|
|
7
7
|
var se = 316, ce = 317, v = 1, le = 2, ue = 3, de = 4, fe = 318, pe = 320, me = 321, he = 5, ge = 6, y = 0, b = [
|
|
8
8
|
9,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as e, S as t, p as n, s as r, u as i, v as a } from "./languages-
|
|
1
|
+
import { O as e, S as t, p as n, s as r, u as i, v as a } from "./languages-CPd7_I8H.js";
|
|
2
2
|
import { i as o, o as s } from "./style-mod-DGMhzWuk.js";
|
|
3
3
|
import { n as c, r as l } from "./dist-3C80SZN9.js";
|
|
4
|
-
import { o as u, r as d } from "./dist-
|
|
4
|
+
import { o as u, r as d } from "./dist-Dzlvec4O.js";
|
|
5
5
|
// node_modules/@codemirror/lang-sql/dist/index.js
|
|
6
6
|
var f = 36, p = 1, ee = 2, m = 3, h = 4, g = 5, _ = 6, v = 7, te = 8, ne = 9, re = 10, ie = 11, ae = 12, oe = 13, se = 14, y = 15, b = 16, x = 17, S = 18, C = 19, w = 20, T = 21, E = 22, D = 23, ce = 24;
|
|
7
7
|
function O(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { i as t, n, r } from "./dist-3C80SZN9.js";
|
|
3
3
|
import { c as i, f as a, i as o, o as s } from "./style-mod-DGMhzWuk.js";
|
|
4
|
-
import { O as c, S as ee, _ as l, p as u, s as d, u as f, v as p } from "./languages-
|
|
4
|
+
import { O as c, S as ee, _ as l, p as u, s as d, u as f, v as p } from "./languages-CPd7_I8H.js";
|
|
5
5
|
// node_modules/@lezer/css/dist/index.js
|
|
6
6
|
var te = 148, m = 1, h = 149, g = 150, _ = 2, v = 151, ne = 3, y = 4, b = [
|
|
7
7
|
9,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./dist-3C80SZN9.js";
|
|
2
2
|
import { i as r, o as i } from "./style-mod-DGMhzWuk.js";
|
|
3
|
-
import { $ as a, O as o, S as s, f as c, j as l, s as u, u as d, v as f } from "./languages-
|
|
3
|
+
import { $ as a, O as o, S as s, f as c, j as l, s as u, u as d, v as f } from "./languages-CPd7_I8H.js";
|
|
4
4
|
// node_modules/@lezer/xml/dist/index.js
|
|
5
5
|
var p = 1, m = 2, h = 3, g = 4, _ = 5, v = 36, y = 37, b = 38, x = 11, S = 13;
|
|
6
6
|
function C(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { $ as t, H as n, O as r, S as i, T as a, c as o, d as s, et as c, j as l, l as u, m as d, mt as f, rt as p, u as m, v as h, w as g, y as ee } from "./languages-
|
|
3
|
-
import { t as te } from "./dist-
|
|
2
|
+
import { $ as t, H as n, O as r, S as i, T as a, c as o, d as s, et as c, j as l, l as u, m as d, mt as f, rt as p, u as m, v as h, w as g, y as ee } from "./languages-CPd7_I8H.js";
|
|
3
|
+
import { t as te } from "./dist-Dzlvec4O.js";
|
|
4
4
|
import { d as _, g as ne, i as re, l as v, m as y, n as ie, o as b, p as ae, u as oe } from "./style-mod-DGMhzWuk.js";
|
|
5
|
-
import { n as se, r as ce } from "./dist-
|
|
5
|
+
import { n as se, r as ce } from "./dist-u6MS5-M8.js";
|
|
6
6
|
// node_modules/@lezer/markdown/dist/index.js
|
|
7
7
|
var le = class e {
|
|
8
8
|
static create(t, n, r, i, a) {
|