@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,19 +1,20 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { c 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 { c 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 "./status-bar-change-CR9l0Gyk.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { n as d
|
|
8
|
-
import { t as
|
|
9
|
-
import { n as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import "./menu-bar-item-
|
|
14
|
-
import "./menu-bar-
|
|
15
|
-
import { t as
|
|
16
|
-
import { r as
|
|
7
|
+
import { n as d } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-DR73IFIL.js";
|
|
9
|
+
import { n as p } from "./icon-Dj98ov4G.js";
|
|
10
|
+
import { t as m } from "./sanitize-url-CBuGmY0W.js";
|
|
11
|
+
import { t as h } from "./with-translations-nT8q6ELU.js";
|
|
12
|
+
import { t as g } from "./top-navigation-bar.i18n-C-lcH1nB.js";
|
|
13
|
+
import "./menu-bar-item-DENdrp0m.js";
|
|
14
|
+
import "./menu-bar-rsGd3kKq.js";
|
|
15
|
+
import { t as _ } from "./carried-context-DlMSujiJ.js";
|
|
16
|
+
import { r as v } from "./element-state-B-44fVqq.js";
|
|
17
|
+
import { t as y } from "./layout-pass-Cq85kSHX.js";
|
|
17
18
|
// src/components/navigation/top-navigation-bar/top-navigation-bar.styles.ts
|
|
18
19
|
var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
19
20
|
:host {
|
|
@@ -37,8 +38,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
37
38
|
--_top-navigation-bar-title-md-font: var(--primitives-font-display-5-sm);
|
|
38
39
|
--_top-navigation-bar-title-lg-font: var(--primitives-font-display-4-sm);
|
|
39
40
|
|
|
40
|
-
${
|
|
41
|
-
container-type: inline-size;
|
|
41
|
+
${f}
|
|
42
42
|
display: block;
|
|
43
43
|
width: 100%;
|
|
44
44
|
}
|
|
@@ -52,19 +52,18 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
52
52
|
|
|
53
53
|
.top-navigation-bar {
|
|
54
54
|
/* The ribbon's width, and with it everything measured against the ribbon:
|
|
55
|
-
its own height and the wordmark beside it.
|
|
56
|
-
because a container query cannot measure the container it sits on. */
|
|
55
|
+
its own height and the wordmark beside it. */
|
|
57
56
|
--_top-navigation-bar-logo-height: calc(var(--_top-navigation-bar-logo-width) * 2);
|
|
58
57
|
|
|
59
|
-
@
|
|
58
|
+
@media (max-width: ${b}) {
|
|
60
59
|
--_top-navigation-bar-logo-width: var(--semantics-brand-ribbon-sm-width);
|
|
61
60
|
}
|
|
62
61
|
|
|
63
|
-
@
|
|
62
|
+
@media (min-width: ${x}) and (max-width: ${S}) {
|
|
64
63
|
--_top-navigation-bar-logo-width: var(--semantics-brand-ribbon-md-width);
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
@
|
|
66
|
+
@media (min-width: ${C}) {
|
|
68
67
|
--_top-navigation-bar-logo-width: var(--semantics-brand-ribbon-lg-width);
|
|
69
68
|
}
|
|
70
69
|
|
|
@@ -77,15 +76,15 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
77
76
|
/* The page-section inline margin lives on the wrapper; each bar caps to
|
|
78
77
|
the content width and centers, so bar content lines up with page
|
|
79
78
|
sections. width=full drops the cap (bars fill the margin box). */
|
|
80
|
-
@
|
|
79
|
+
@media (max-width: ${b}) {
|
|
81
80
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
82
81
|
}
|
|
83
82
|
|
|
84
|
-
@
|
|
83
|
+
@media (min-width: ${x}) and (max-width: ${S}) {
|
|
85
84
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
@
|
|
87
|
+
@media (min-width: ${C}) {
|
|
89
88
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
90
89
|
}
|
|
91
90
|
}
|
|
@@ -105,7 +104,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
105
104
|
width: 100%;
|
|
106
105
|
|
|
107
106
|
/* Off the 4px grid on purpose: puts the wordmark where the printed logo has it. */
|
|
108
|
-
@
|
|
107
|
+
@media (min-width: ${x}) {
|
|
109
108
|
gap: var(--primitives-space-10);
|
|
110
109
|
}
|
|
111
110
|
max-width: var(--_top-navigation-bar-max-width);
|
|
@@ -177,7 +176,9 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
177
176
|
}
|
|
178
177
|
|
|
179
178
|
:host([data-under-status-bar]) .top-navigation-bar__logo::before,
|
|
180
|
-
:host([data-under-status-bar]) .top-navigation-bar__logo > .top-navigation-bar__ribbon-at-top
|
|
179
|
+
:host([data-under-status-bar]) .top-navigation-bar__logo > .top-navigation-bar__ribbon-at-top,
|
|
180
|
+
:host(:not([data-ribbon])) .top-navigation-bar__logo::before,
|
|
181
|
+
:host(:not([data-ribbon])) .top-navigation-bar__logo > .top-navigation-bar__ribbon-at-top {
|
|
181
182
|
display: none;
|
|
182
183
|
}
|
|
183
184
|
|
|
@@ -275,7 +276,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
275
276
|
/* The distance the text keeps from the top edge once it outgrows the
|
|
276
277
|
ribbon. Only at the top: space under it would raise the bar for
|
|
277
278
|
nothing. */
|
|
278
|
-
@
|
|
279
|
+
@media (max-width: ${b}) {
|
|
279
280
|
align-self: start;
|
|
280
281
|
padding-block-start: var(--primitives-space-16);
|
|
281
282
|
}
|
|
@@ -286,7 +287,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
286
287
|
flex-grow: 0;
|
|
287
288
|
flex-shrink: 0;
|
|
288
289
|
|
|
289
|
-
@
|
|
290
|
+
@media (max-width: ${b}) {
|
|
290
291
|
display: none;
|
|
291
292
|
}
|
|
292
293
|
}
|
|
@@ -308,7 +309,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
308
309
|
auto margin takes positive free space and never negative, so the text
|
|
309
310
|
cannot ride up past the top. Growing is the flex item's job here, and
|
|
310
311
|
an item that grows leaves nothing for the margin to push with. */
|
|
311
|
-
@
|
|
312
|
+
@media (max-width: ${b}) {
|
|
312
313
|
flex-grow: 0;
|
|
313
314
|
flex-basis: auto;
|
|
314
315
|
margin-block-start: auto;
|
|
@@ -341,17 +342,17 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
341
342
|
width: 100%;
|
|
342
343
|
max-width: var(--_top-navigation-bar-max-width);
|
|
343
344
|
|
|
344
|
-
@
|
|
345
|
+
@media (max-width: ${b}) {
|
|
345
346
|
flex-direction: column;
|
|
346
347
|
}
|
|
347
348
|
|
|
348
|
-
@
|
|
349
|
+
@media (min-width: ${x}) and (max-width: ${S}) {
|
|
349
350
|
flex-direction: row;
|
|
350
351
|
align-items: center;
|
|
351
352
|
gap: var(--semantics-menu-bar-items-inline-padding);
|
|
352
353
|
}
|
|
353
354
|
|
|
354
|
-
@
|
|
355
|
+
@media (min-width: ${C}) {
|
|
355
356
|
flex-direction: row;
|
|
356
357
|
align-items: center;
|
|
357
358
|
gap: var(--semantics-menu-bar-items-inline-padding);
|
|
@@ -365,7 +366,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
365
366
|
align-items: center;
|
|
366
367
|
justify-content: flex-start;
|
|
367
368
|
|
|
368
|
-
@
|
|
369
|
+
@media (min-width: ${x}) {
|
|
369
370
|
padding-inline-end: var(--semantics-menu-bar-items-inline-padding);
|
|
370
371
|
}
|
|
371
372
|
}
|
|
@@ -375,7 +376,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
375
376
|
offset, two of outline, and the halo that follows it. */
|
|
376
377
|
|
|
377
378
|
:host([no-logo]) .top-navigation-bar__website-title-bar {
|
|
378
|
-
@
|
|
379
|
+
@media (max-width: ${b}) {
|
|
379
380
|
padding-top: var(--primitives-space-6);
|
|
380
381
|
}
|
|
381
382
|
}
|
|
@@ -393,18 +394,18 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
393
394
|
color: var(--semantics-content-color);
|
|
394
395
|
white-space: nowrap;
|
|
395
396
|
|
|
396
|
-
@
|
|
397
|
+
@media (max-width: ${b}) {
|
|
397
398
|
padding-top: var(--primitives-space-4);
|
|
398
399
|
min-width: 0;
|
|
399
400
|
white-space: normal;
|
|
400
401
|
overflow-wrap: break-word;
|
|
401
402
|
}
|
|
402
403
|
|
|
403
|
-
@
|
|
404
|
+
@media (min-width: ${x}) {
|
|
404
405
|
font: var(--_top-navigation-bar-title-md-font);
|
|
405
406
|
}
|
|
406
407
|
|
|
407
|
-
@
|
|
408
|
+
@media (min-width: ${C}) {
|
|
408
409
|
font: var(--_top-navigation-bar-title-lg-font);
|
|
409
410
|
}
|
|
410
411
|
}
|
|
@@ -440,12 +441,12 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
440
441
|
min-width: 0;
|
|
441
442
|
align-items: center;
|
|
442
443
|
|
|
443
|
-
@
|
|
444
|
+
@media (max-width: ${S}) {
|
|
444
445
|
flex-grow: 0;
|
|
445
446
|
flex-shrink: 0;
|
|
446
447
|
}
|
|
447
448
|
|
|
448
|
-
@
|
|
449
|
+
@media (min-width: ${C}) {
|
|
449
450
|
flex-grow: 1;
|
|
450
451
|
flex-shrink: 1;
|
|
451
452
|
}
|
|
@@ -458,12 +459,12 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
458
459
|
min-width: 0;
|
|
459
460
|
align-items: center;
|
|
460
461
|
|
|
461
|
-
@
|
|
462
|
+
@media (max-width: ${S}) {
|
|
462
463
|
flex-grow: 1;
|
|
463
464
|
flex-shrink: 1;
|
|
464
465
|
}
|
|
465
466
|
|
|
466
|
-
@
|
|
467
|
+
@media (min-width: ${C}) {
|
|
467
468
|
flex-grow: 0;
|
|
468
469
|
flex-shrink: 0;
|
|
469
470
|
}
|
|
@@ -476,7 +477,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
476
477
|
min-width: 0;
|
|
477
478
|
flex-grow: 1;
|
|
478
479
|
flex-shrink: 1;
|
|
479
|
-
@
|
|
480
|
+
@media (min-width: ${C}) {
|
|
480
481
|
:host(.has-global-items) & {
|
|
481
482
|
display: flex;
|
|
482
483
|
}
|
|
@@ -488,7 +489,7 @@ var b = i(d.smMax), x = i(d.mdMin), S = i(d.mdMax), C = i(d.lgMin), w = o`
|
|
|
488
489
|
.top-navigation-bar__menu-button {
|
|
489
490
|
display: none;
|
|
490
491
|
|
|
491
|
-
@
|
|
492
|
+
@media (max-width: ${S}) {
|
|
492
493
|
:host(.has-global-items) & {
|
|
493
494
|
display: inline-block;
|
|
494
495
|
}
|
|
@@ -537,7 +538,7 @@ function D(e) {
|
|
|
537
538
|
`;
|
|
538
539
|
}
|
|
539
540
|
function O(e) {
|
|
540
|
-
let r =
|
|
541
|
+
let r = m(e.logoHref), i = m(e.websiteHref);
|
|
541
542
|
return t`
|
|
542
543
|
<div class="top-navigation-bar">
|
|
543
544
|
${e.noLogo ? n : t`<div class="top-navigation-bar__logo-bar">
|
|
@@ -549,7 +550,7 @@ function O(e) {
|
|
|
549
550
|
aria-hidden="true"
|
|
550
551
|
>
|
|
551
552
|
${E}
|
|
552
|
-
${
|
|
553
|
+
${p(T)}
|
|
553
554
|
</div>
|
|
554
555
|
${D(e)}
|
|
555
556
|
</a>
|
|
@@ -559,7 +560,7 @@ function O(e) {
|
|
|
559
560
|
aria-label="${e._t("components.top-navigation-bar.logo-label")}"
|
|
560
561
|
>
|
|
561
562
|
${E}
|
|
562
|
-
<span aria-hidden="true">${
|
|
563
|
+
<span aria-hidden="true">${p(T)}</span>
|
|
563
564
|
</a>
|
|
564
565
|
` : t`
|
|
565
566
|
<div class="top-navigation-bar__logo"
|
|
@@ -567,7 +568,7 @@ function O(e) {
|
|
|
567
568
|
aria-label="${e._t("components.top-navigation-bar.logo-label")}"
|
|
568
569
|
>
|
|
569
570
|
${E}
|
|
570
|
-
${
|
|
571
|
+
${p(T)}
|
|
571
572
|
</div>
|
|
572
573
|
${e.logoTitle ? D(e) : n}
|
|
573
574
|
`}
|
|
@@ -659,7 +660,7 @@ var k = class {
|
|
|
659
660
|
this._stack = [{
|
|
660
661
|
title: this._menuText,
|
|
661
662
|
container: this._host._globalMenuBar
|
|
662
|
-
}], this._render(),
|
|
663
|
+
}], this._render(), _(this._sheet, this._host), requestAnimationFrame(() => this._sheet?.show());
|
|
663
664
|
}
|
|
664
665
|
applyTexts() {
|
|
665
666
|
this._sheet?.setAttribute("accessible-label", this._menuText), this.titleBar?.setAttribute("dismiss-text", this._host._t("components.top-navigation-bar.menu-sheet-dismiss-action")), this._stack.length > 0 && (this._stack[0].title = this._menuText, this._render());
|
|
@@ -719,29 +720,29 @@ var k = class {
|
|
|
719
720
|
}, A = 0;
|
|
720
721
|
async function j() {
|
|
721
722
|
await Promise.all([
|
|
722
|
-
import("./sheet-
|
|
723
|
-
import("./page-
|
|
724
|
-
import("./simple-section-
|
|
725
|
-
import("./top-title-bar-
|
|
726
|
-
import("./title-
|
|
727
|
-
import("./list-
|
|
728
|
-
import("./list-item-
|
|
729
|
-
import("./text-cell-
|
|
730
|
-
import("./icon-cell-
|
|
731
|
-
import("./icon-
|
|
723
|
+
import("./sheet-CDXX61d_.js"),
|
|
724
|
+
import("./page-Bdkit86l.js").then((e) => e.t),
|
|
725
|
+
import("./simple-section-CEw2oC7K.js"),
|
|
726
|
+
import("./top-title-bar-DUp0bSIU.js").then((e) => e.t),
|
|
727
|
+
import("./title-BpREzeX9.js"),
|
|
728
|
+
import("./list-C8Dnks-q.js").then((e) => e.t),
|
|
729
|
+
import("./list-item-CSP1a_cN.js").then((e) => e.t),
|
|
730
|
+
import("./text-cell-CrKBqL5A.js").then((e) => e.t),
|
|
731
|
+
import("./icon-cell-C1I-oIWn.js").then((e) => e.t),
|
|
732
|
+
import("./icon-Dj98ov4G.js").then((e) => e.t)
|
|
732
733
|
]);
|
|
733
734
|
}
|
|
734
735
|
function M(e) {
|
|
735
736
|
return e ? e.tagName === "NLDD-MENU-BAR" ? Array.from(e.querySelectorAll(":scope > nldd-menu-bar-item")).map((e) => ({
|
|
736
737
|
text: e.text,
|
|
737
|
-
href:
|
|
738
|
+
href: m(e.href) ?? "",
|
|
738
739
|
selected: e.current,
|
|
739
740
|
currentType: e.currentType,
|
|
740
741
|
submenu: e.querySelector(":scope > nldd-menu"),
|
|
741
742
|
activate: () => e.click()
|
|
742
743
|
})) : Array.from(e.querySelectorAll(":scope > nldd-menu-item, :scope > nldd-menu-group > nldd-menu-item")).map((e) => ({
|
|
743
744
|
text: e.text || e.getAttribute("text") || "",
|
|
744
|
-
href:
|
|
745
|
+
href: m(e.href || "") ?? "",
|
|
745
746
|
selected: e.hasAttribute("selected"),
|
|
746
747
|
submenu: e.querySelector(":scope > nldd-menu"),
|
|
747
748
|
activate: () => e.dispatchEvent(new CustomEvent("select", {
|
|
@@ -756,20 +757,39 @@ function P(e) {
|
|
|
756
757
|
let t = document.createElement("a");
|
|
757
758
|
return t.href = e, t.href;
|
|
758
759
|
}
|
|
759
|
-
|
|
760
|
+
function F() {
|
|
761
|
+
if (window.scrollY > 0) return;
|
|
762
|
+
let e = [...L].filter((e) => e.isConnected), t = null, n = e.map((e) => {
|
|
763
|
+
let n = e._logoRect();
|
|
764
|
+
return n ? (t ?? (t = [...document.querySelectorAll("nldd-status-bar")].map((e) => e.getBoundingClientRect())), {
|
|
765
|
+
offset: Math.max(0, Math.round(n.top + window.scrollY)),
|
|
766
|
+
underStatusBar: t.some((e) => e.height > 0 && e.bottom <= n.top + 1 && e.left < n.right && e.right > n.left),
|
|
767
|
+
ribbon: !1
|
|
768
|
+
}) : null;
|
|
769
|
+
}), r = null;
|
|
770
|
+
for (let e of n) e && (!r || e.offset < r.offset) && (r = e);
|
|
771
|
+
r && (r.ribbon = !0), e.forEach((e, t) => {
|
|
772
|
+
let r = n[t];
|
|
773
|
+
r && e._applyLogoPosition(r);
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
var I = new y(F), L = /* @__PURE__ */ new Set(), R = () => F();
|
|
777
|
+
function z(e) {
|
|
778
|
+
L.size || (window.addEventListener("scroll", R, { passive: !0 }), window.addEventListener("resize", R, { passive: !0 }), window.addEventListener(l, R)), L.add(e);
|
|
779
|
+
}
|
|
780
|
+
function B(e) {
|
|
781
|
+
L.delete(e), L.size || (window.removeEventListener("scroll", R), window.removeEventListener("resize", R), window.removeEventListener(l, R));
|
|
782
|
+
}
|
|
783
|
+
var V = /* @__PURE__ */ new WeakMap();
|
|
784
|
+
function H(e) {
|
|
785
|
+
let t = V.get(e);
|
|
786
|
+
return t || (t = e.matchMedia(`(max-width: ${d.smMax})`), t.addEventListener("change", () => {
|
|
787
|
+
for (let t of L) t.ownerDocument.defaultView === e && t._syncCompactAttribute();
|
|
788
|
+
}), V.set(e, t)), t;
|
|
789
|
+
}
|
|
790
|
+
var U = (N = class extends h(e, g) {
|
|
760
791
|
constructor(...e) {
|
|
761
|
-
super(...e), this.websiteTitle = "", this.noLogo = !1, this.width = "", this.logoTitle = "", this.logoSubtitle = "", this.logoSupportingText1 = "", this.logoSupportingText2 = "", this.logoHref = "", this.websiteHref = "", this.backHref = "", this.backText = "", this._menuSheet = new k(this), this.
|
|
762
|
-
if (window.scrollY > 0) return;
|
|
763
|
-
let e = this.shadowRoot?.querySelector(".top-navigation-bar__logo");
|
|
764
|
-
if (!e) return;
|
|
765
|
-
let t = e.getBoundingClientRect(), n = Math.max(0, Math.round(t.top + window.scrollY));
|
|
766
|
-
this.style.setProperty("--_top-navigation-bar-logo-offset", `${n}px`);
|
|
767
|
-
let r = [...document.querySelectorAll("nldd-status-bar")].some((e) => {
|
|
768
|
-
let n = e.getBoundingClientRect();
|
|
769
|
-
return n.height > 0 && n.bottom <= t.top + 1 && n.left < t.right && n.right > t.left;
|
|
770
|
-
});
|
|
771
|
-
this.toggleAttribute("data-under-status-bar", r);
|
|
772
|
-
}, this._handleItemSelect = (e) => {
|
|
792
|
+
super(...e), this.websiteTitle = "", this.noLogo = !1, this.width = "", this.logoTitle = "", this.logoSubtitle = "", this.logoSupportingText1 = "", this.logoSupportingText2 = "", this.logoHref = "", this.websiteHref = "", this.backHref = "", this.backText = "", this._menuSheet = new k(this), this._appliedMenuBarLabels = /* @__PURE__ */ new WeakMap(), this._appliedTexts = null, this._handleItemSelect = (e) => {
|
|
773
793
|
let t = e.detail;
|
|
774
794
|
if (!t?.item) return;
|
|
775
795
|
let n = this._getSlottedItems(this._globalSlot);
|
|
@@ -787,10 +807,6 @@ var F = (N = class extends g(e, _) {
|
|
|
787
807
|
this._syncHasGlobalItems(), this._syncSlottedMenuBarLabels(), this._syncCompactAttribute();
|
|
788
808
|
}, this._onUtilitySlotChange = () => {
|
|
789
809
|
this._syncSlottedMenuBarLabels(), this._syncCompactAttribute();
|
|
790
|
-
}, this._scheduleCompactUpdate = () => {
|
|
791
|
-
this._compactRAF && cancelAnimationFrame(this._compactRAF), this._compactRAF = requestAnimationFrame(() => {
|
|
792
|
-
this._syncCompactAttribute();
|
|
793
|
-
});
|
|
794
810
|
}, this._onMenuButtonClick = () => this._menuSheet.open(this._menuButton?.querySelector("nldd-menu-bar-item") ?? null), this._handleBackClick = (e) => {
|
|
795
811
|
this.backHref || (e.preventDefault(), this.dispatchEvent(new CustomEvent("back-click", {
|
|
796
812
|
bubbles: !0,
|
|
@@ -807,7 +823,7 @@ var F = (N = class extends g(e, _) {
|
|
|
807
823
|
].join("\n");
|
|
808
824
|
}
|
|
809
825
|
willUpdate(e) {
|
|
810
|
-
super.willUpdate(e), import.meta.env?.DEV &&
|
|
826
|
+
super.willUpdate(e), import.meta.env?.DEV && v(this, "same-href", !!this.logoHref && !!this.websiteHref && P(this.logoHref) === P(this.websiteHref));
|
|
811
827
|
let t = this._translatedTexts();
|
|
812
828
|
if (t !== this._appliedTexts && (this._appliedTexts = t, this._menuSheet.applyTexts(), this._syncSlottedMenuBarLabels()), e.has("width")) {
|
|
813
829
|
let e = this.width;
|
|
@@ -847,38 +863,39 @@ var F = (N = class extends g(e, _) {
|
|
|
847
863
|
return this._t("components.top-navigation-bar.menu-action");
|
|
848
864
|
}
|
|
849
865
|
connectedCallback() {
|
|
850
|
-
super.connectedCallback(), this.addEventListener("select", this._handleItemSelect),
|
|
866
|
+
super.connectedCallback(), this.addEventListener("select", this._handleItemSelect), z(this), this.hasUpdated && this._syncCompactAttribute();
|
|
851
867
|
}
|
|
852
868
|
disconnectedCallback() {
|
|
853
|
-
super.disconnectedCallback(), this.removeEventListener("select", this._handleItemSelect),
|
|
869
|
+
super.disconnectedCallback(), this.removeEventListener("select", this._handleItemSelect), B(this), I.cancel(this);
|
|
870
|
+
let [e] = L;
|
|
871
|
+
e && I.schedule(e, e.ownerDocument), this._menuSheet.remove();
|
|
854
872
|
}
|
|
855
873
|
firstUpdated() {
|
|
856
|
-
this._syncHasGlobalItems(), this.
|
|
874
|
+
this._syncHasGlobalItems(), I.schedule(this, this.ownerDocument);
|
|
857
875
|
}
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
});
|
|
876
|
+
updated(e) {
|
|
877
|
+
super.updated(e), this._syncCompactAttribute();
|
|
878
|
+
}
|
|
879
|
+
_logoRect() {
|
|
880
|
+
return this.shadowRoot?.querySelector(".top-navigation-bar__logo")?.getBoundingClientRect() ?? null;
|
|
864
881
|
}
|
|
865
|
-
|
|
866
|
-
this.
|
|
882
|
+
_applyLogoPosition({ offset: e, underStatusBar: t, ribbon: n }) {
|
|
883
|
+
this.style.setProperty("--_top-navigation-bar-logo-offset", `${e}px`), this.toggleAttribute("data-under-status-bar", t), this.toggleAttribute("data-ribbon", n);
|
|
867
884
|
}
|
|
868
885
|
_syncHasGlobalItems() {
|
|
869
886
|
this.classList.toggle("has-global-items", this._getSlottedItems(this._globalSlot).length > 0);
|
|
870
887
|
}
|
|
871
888
|
_syncCompactAttribute() {
|
|
872
|
-
let e = this.
|
|
889
|
+
let e = this.ownerDocument.defaultView;
|
|
890
|
+
e && this._applyCompact(H(e).matches);
|
|
891
|
+
}
|
|
892
|
+
_applyCompact(e) {
|
|
893
|
+
let t = [this._getSlottedMenuBar(this._globalSlot), this._getSlottedMenuBar(this._utilitySlot)].filter((e) => e !== null);
|
|
873
894
|
for (let n of t) n.toggleAttribute("compact", e), n.requestOverflowUpdate();
|
|
874
895
|
let n = this.shadowRoot?.querySelectorAll("nldd-menu-bar-item") ?? [];
|
|
875
896
|
for (let t of n) t.toggleAttribute("compact", e);
|
|
876
897
|
this._syncHasGlobalItems();
|
|
877
898
|
}
|
|
878
|
-
_isSmBreakpoint() {
|
|
879
|
-
let e = this.shadowRoot?.querySelector(".top-navigation-bar");
|
|
880
|
-
return e ? e.clientWidth <= f("smMax") : !1;
|
|
881
|
-
}
|
|
882
899
|
render() {
|
|
883
900
|
return O(this);
|
|
884
901
|
}
|
|
@@ -887,41 +904,41 @@ r([a({
|
|
|
887
904
|
reflect: !0,
|
|
888
905
|
attribute: "website-title",
|
|
889
906
|
converter: u("")
|
|
890
|
-
})],
|
|
907
|
+
})], U.prototype, "websiteTitle", void 0), r([a({
|
|
891
908
|
type: Boolean,
|
|
892
909
|
attribute: "no-logo",
|
|
893
910
|
reflect: !0
|
|
894
|
-
})],
|
|
911
|
+
})], U.prototype, "noLogo", void 0), r([a({
|
|
895
912
|
reflect: !0,
|
|
896
913
|
converter: u("")
|
|
897
|
-
})],
|
|
914
|
+
})], U.prototype, "width", void 0), r([a({
|
|
898
915
|
reflect: !0,
|
|
899
916
|
attribute: "logo-title",
|
|
900
917
|
converter: u("")
|
|
901
|
-
})],
|
|
918
|
+
})], U.prototype, "logoTitle", void 0), r([a({
|
|
902
919
|
reflect: !0,
|
|
903
920
|
attribute: "logo-subtitle",
|
|
904
921
|
converter: u("")
|
|
905
|
-
})],
|
|
922
|
+
})], U.prototype, "logoSubtitle", void 0), r([a({
|
|
906
923
|
reflect: !0,
|
|
907
924
|
attribute: "logo-supporting-text-1",
|
|
908
925
|
converter: u("")
|
|
909
|
-
})],
|
|
926
|
+
})], U.prototype, "logoSupportingText1", void 0), r([a({
|
|
910
927
|
reflect: !0,
|
|
911
928
|
attribute: "logo-supporting-text-2",
|
|
912
929
|
converter: u("")
|
|
913
|
-
})],
|
|
930
|
+
})], U.prototype, "logoSupportingText2", void 0), r([a({
|
|
914
931
|
type: String,
|
|
915
932
|
attribute: "logo-href"
|
|
916
|
-
})],
|
|
933
|
+
})], U.prototype, "logoHref", void 0), r([a({
|
|
917
934
|
type: String,
|
|
918
935
|
attribute: "website-href"
|
|
919
|
-
})],
|
|
936
|
+
})], U.prototype, "websiteHref", void 0), r([a({
|
|
920
937
|
type: String,
|
|
921
938
|
attribute: "back-href"
|
|
922
|
-
})],
|
|
939
|
+
})], U.prototype, "backHref", void 0), r([a({
|
|
923
940
|
reflect: !0,
|
|
924
941
|
attribute: "back-text",
|
|
925
942
|
converter: u("")
|
|
926
|
-
})],
|
|
927
|
-
export {
|
|
943
|
+
})], U.prototype, "backText", void 0), r([c(".top-navigation-bar__menu-button")], U.prototype, "_menuButton", void 0), r([c("slot[name=\"global\"]")], U.prototype, "_globalSlot", void 0), r([c("slot[name=\"utility\"]")], U.prototype, "_utilitySlot", void 0), U = r([s("nldd-top-navigation-bar")], U);
|
|
944
|
+
export { U as NLDDTopNavigationBar };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-BhnGmemK.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-DtLjpays.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
7
|
-
import { n as d, r as f } from "./static-html-
|
|
8
|
-
import "./button-
|
|
9
|
-
import "./icon-button-
|
|
6
|
+
import { t as u } from "./shadow-resets-DR73IFIL.js";
|
|
7
|
+
import { n as d, r as f } from "./static-html-CmXnRyP6.js";
|
|
8
|
+
import "./button-BK8CmshL.js";
|
|
9
|
+
import "./icon-button-HKoCqWG3.js";
|
|
10
10
|
import { r as p } from "./element-state-B-44fVqq.js";
|
|
11
|
+
import { n as m, t as h } from "./layout-pass-Cq85kSHX.js";
|
|
11
12
|
// src/components/navigation/top-title-bar/top-title-bar.styles.ts
|
|
12
|
-
var
|
|
13
|
+
var g = s`
|
|
13
14
|
:host {
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
}
|
|
@@ -154,7 +155,7 @@ var m = s`
|
|
|
154
155
|
.top-title-bar__dismiss-button {
|
|
155
156
|
display: var(--context-dismiss-button-display, block);
|
|
156
157
|
}
|
|
157
|
-
`,
|
|
158
|
+
`, _ = {
|
|
158
159
|
1: d("h1"),
|
|
159
160
|
2: d("h2"),
|
|
160
161
|
3: d("h3"),
|
|
@@ -162,8 +163,8 @@ var m = s`
|
|
|
162
163
|
5: d("h5"),
|
|
163
164
|
6: d("h6")
|
|
164
165
|
};
|
|
165
|
-
function
|
|
166
|
-
let t = !!e.backText, i =
|
|
166
|
+
function v(e) {
|
|
167
|
+
let t = !!e.backText, i = _[e.headingLevel] ?? _[1];
|
|
167
168
|
return n`
|
|
168
169
|
<div class="top-title-bar">
|
|
169
170
|
<div class="top-title-bar__start">
|
|
@@ -222,9 +223,16 @@ function g(e) {
|
|
|
222
223
|
`;
|
|
223
224
|
}
|
|
224
225
|
// src/components/navigation/top-title-bar/top-title-bar.ts
|
|
225
|
-
var
|
|
226
|
+
var y = /* @__PURE__ */ e({ NLDDTopTitleBar: () => w }), b;
|
|
227
|
+
function x(e) {
|
|
228
|
+
let t = e.map((e) => e._measureCompact());
|
|
229
|
+
e.forEach((e, n) => {
|
|
230
|
+
t[n] !== null && e.classList.toggle("is-compact", t[n]);
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
var S = new h(x), C = m(x), w = (b = class extends t {
|
|
226
234
|
constructor(...e) {
|
|
227
|
-
super(...e), this.text = "", this.supportingText = "", this.headingLevel = 1, this.collapseAnchor = "", this.backText = "", this.backHref = "", this.dismissText = "", this._hasToolbarItems = !1, this._pageElement = null, this._anchorElement = null, this._activeScrollTarget = null, this._scrollTargetStyleObserver = null, this._pageModeObserver = null, this.
|
|
235
|
+
super(...e), this.text = "", this.supportingText = "", this.headingLevel = 1, this.collapseAnchor = "", this.backText = "", this.backHref = "", this.dismissText = "", this._hasToolbarItems = !1, this._pageElement = null, this._anchorElement = null, this._activeScrollTarget = null, this._scrollTargetStyleObserver = null, this._pageModeObserver = null, this._anchorAppearObserver = null, this._boundOnScroll = this._onScroll.bind(this), this._pageWait = 0, this._gaveHeadingLevel = !1, this._onToolbarSlotChange = (e) => {
|
|
228
236
|
let t = e.target;
|
|
229
237
|
this._hasToolbarItems = t.assignedElements().length > 0;
|
|
230
238
|
};
|
|
@@ -279,7 +287,7 @@ var _ = /* @__PURE__ */ e({ NLDDTopTitleBar: () => y }), v = class extends t {
|
|
|
279
287
|
} else this._wireScrollTarget(), this._pageElement && (this._pageModeObserver = new MutationObserver(() => this._wireScrollTarget()), this._pageModeObserver.observe(this._pageElement, {
|
|
280
288
|
attributes: !0,
|
|
281
289
|
attributeFilter: ["data-scroll"]
|
|
282
|
-
})),
|
|
290
|
+
})), C.observe(this._anchorElement, this), this.updateComplete.then(() => this._checkAnchor());
|
|
283
291
|
}
|
|
284
292
|
_waitForAnchor(e) {
|
|
285
293
|
this._anchorAppearObserver = new MutationObserver(() => {
|
|
@@ -292,20 +300,25 @@ var _ = /* @__PURE__ */ e({ NLDDTopTitleBar: () => y }), v = class extends t {
|
|
|
292
300
|
_wireScrollTarget() {
|
|
293
301
|
this._activeScrollTarget?.removeEventListener("scroll", this._boundOnScroll), this._scrollTargetStyleObserver?.disconnect(), this._scrollTargetStyleObserver = null;
|
|
294
302
|
let e = this._pageElement;
|
|
295
|
-
this._activeScrollTarget = e ? e.scrollEventTarget : window, this._activeScrollTarget.addEventListener("scroll", this._boundOnScroll, { passive: !0 }), this._activeScrollTarget instanceof Element && (this._scrollTargetStyleObserver = new MutationObserver(() => this.
|
|
303
|
+
this._activeScrollTarget = e ? e.scrollEventTarget : window, this._activeScrollTarget.addEventListener("scroll", this._boundOnScroll, { passive: !0 }), this._activeScrollTarget instanceof Element && (this._scrollTargetStyleObserver = new MutationObserver(() => this._checkAnchor()), this._scrollTargetStyleObserver.observe(this._activeScrollTarget, {
|
|
296
304
|
attributes: !0,
|
|
297
305
|
attributeFilter: ["style"]
|
|
298
|
-
})), this.
|
|
306
|
+
})), this._checkAnchor();
|
|
307
|
+
}
|
|
308
|
+
_checkAnchor() {
|
|
309
|
+
S.schedule(this, this.ownerDocument);
|
|
299
310
|
}
|
|
300
311
|
_teardownAnchor() {
|
|
301
|
-
this._pageWait++, this._gaveHeadingLevel = !1, p(this, "anchor-not-heading", !1), this._activeScrollTarget?.removeEventListener("scroll", this._boundOnScroll), this._activeScrollTarget = null, this._anchorElement = null, this._scrollTargetStyleObserver?.disconnect(), this._scrollTargetStyleObserver = null, this._pageModeObserver?.disconnect(), this._pageModeObserver = null,
|
|
312
|
+
this._pageWait++, this._gaveHeadingLevel = !1, p(this, "anchor-not-heading", !1), this._activeScrollTarget?.removeEventListener("scroll", this._boundOnScroll), this._activeScrollTarget = null, this._anchorElement = null, this._scrollTargetStyleObserver?.disconnect(), this._scrollTargetStyleObserver = null, this._pageModeObserver?.disconnect(), this._pageModeObserver = null, C.unobserveAll(this), S.cancel(this), this._anchorAppearObserver?.disconnect(), this._anchorAppearObserver = null;
|
|
302
313
|
}
|
|
303
314
|
_onScroll() {
|
|
304
|
-
|
|
315
|
+
let e = this._measureCompact();
|
|
316
|
+
e !== null && this.classList.toggle("is-compact", e);
|
|
317
|
+
}
|
|
318
|
+
_measureCompact() {
|
|
319
|
+
if (!this._anchorElement || !this._pageElement || !this.isConnected) return null;
|
|
305
320
|
let e = this._anchorElement.getBoundingClientRect();
|
|
306
|
-
|
|
307
|
-
let t = this.getBoundingClientRect().top;
|
|
308
|
-
this.classList.toggle("is-compact", e.top <= t);
|
|
321
|
+
return e.width === 0 && e.height === 0 ? null : e.top <= this.getBoundingClientRect().top;
|
|
309
322
|
}
|
|
310
323
|
_handleBack() {
|
|
311
324
|
this.backHref || this.dispatchEvent(new CustomEvent("back", {
|
|
@@ -320,33 +333,33 @@ var _ = /* @__PURE__ */ e({ NLDDTopTitleBar: () => y }), v = class extends t {
|
|
|
320
333
|
}));
|
|
321
334
|
}
|
|
322
335
|
render() {
|
|
323
|
-
return
|
|
336
|
+
return v(this);
|
|
324
337
|
}
|
|
325
|
-
},
|
|
338
|
+
}, b.styles = g, b);
|
|
326
339
|
i([o({
|
|
327
340
|
reflect: !0,
|
|
328
341
|
converter: l("")
|
|
329
|
-
})],
|
|
342
|
+
})], w.prototype, "text", void 0), i([o({
|
|
330
343
|
reflect: !0,
|
|
331
344
|
attribute: "supporting-text",
|
|
332
345
|
converter: l("")
|
|
333
|
-
})],
|
|
346
|
+
})], w.prototype, "supportingText", void 0), i([o({
|
|
334
347
|
reflect: !0,
|
|
335
348
|
attribute: "heading-level",
|
|
336
349
|
converter: l(1)
|
|
337
|
-
})],
|
|
350
|
+
})], w.prototype, "headingLevel", void 0), i([o({
|
|
338
351
|
type: String,
|
|
339
352
|
attribute: "collapse-anchor"
|
|
340
|
-
})],
|
|
353
|
+
})], w.prototype, "collapseAnchor", void 0), i([o({
|
|
341
354
|
reflect: !0,
|
|
342
355
|
attribute: "back-text",
|
|
343
356
|
converter: l("")
|
|
344
|
-
})],
|
|
357
|
+
})], w.prototype, "backText", void 0), i([o({
|
|
345
358
|
type: String,
|
|
346
359
|
attribute: "back-href"
|
|
347
|
-
})],
|
|
360
|
+
})], w.prototype, "backHref", void 0), i([o({
|
|
348
361
|
reflect: !0,
|
|
349
362
|
attribute: "dismiss-text",
|
|
350
363
|
converter: l("")
|
|
351
|
-
})],
|
|
352
|
-
export {
|
|
364
|
+
})], w.prototype, "dismissText", void 0), i([a()], w.prototype, "_hasToolbarItems", void 0), i([a()], w.prototype, "_anchorElement", void 0), w = i([c("nldd-top-title-bar")], w);
|
|
365
|
+
export { y as t };
|