@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.
Files changed (471) hide show
  1. package/custom-elements.json +460 -37
  2. package/dist/cdn/autoloader.js +141 -141
  3. package/dist/cdn/chunks/{accordion-item-BXEHwzcv.js → accordion-item-Db9LW8AG.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-qXirmNBj.js → accordion-tLICRUFs.js} +4 -4
  5. package/dist/cdn/chunks/{activity-indicator-DP61AhsJ.js → activity-indicator-CMNIikEV.js} +5 -5
  6. package/dist/cdn/chunks/{admonition-RnRSNAri.js → admonition-DEXVkTJm.js} +4 -4
  7. package/dist/cdn/chunks/after-parse-BSKUm67Q.js +9 -0
  8. package/dist/cdn/chunks/{avatar-group-BrfrpXvd.js → avatar-group-DMU0HLBL.js} +71 -49
  9. package/dist/cdn/chunks/{avatar-DsexiOhH.js → avatar-nLrlfh4s.js} +75 -41
  10. package/dist/cdn/chunks/{badge-BiQFOq2l.js → badge-D1XadmOE.js} +5 -5
  11. package/dist/cdn/chunks/{banner-42zIYAEN.js → banner-B4kFQlHx.js} +7 -7
  12. package/dist/cdn/chunks/{bar-split-view-CjYEp276.js → bar-split-view-DtD4zmoP.js} +28 -21
  13. package/dist/cdn/chunks/{blockquote-qf4hJYvm.js → blockquote-DbFjwox8.js} +3 -3
  14. package/dist/cdn/chunks/{box-CWyg7sbR.js → box-BlwaDicI.js} +3 -3
  15. package/dist/cdn/chunks/{breadcrumbs-BaHjYdz8.js → breadcrumbs-DJS9-8wX.js} +5 -5
  16. package/dist/cdn/chunks/{button-CKV-jwGY.js → button-BK8CmshL.js} +8 -8
  17. package/dist/cdn/chunks/{button-bar-DeJ81759.js → button-bar-5RtXjgGl.js} +3 -3
  18. package/dist/cdn/chunks/{button-group-CuRkiHR5.js → button-group-BYMkQNhT.js} +2 -2
  19. package/dist/cdn/chunks/{card-DxeUNE3V.js → card-NNl0PxBY.js} +4 -4
  20. package/dist/cdn/chunks/{cell-QaG8b-Qk.js → cell-D2NzCBVZ.js} +6 -6
  21. package/dist/cdn/chunks/{checkbox-V0YerUKf.js → checkbox-CXFA_up4.js} +5 -5
  22. package/dist/cdn/chunks/{checkbox-field-DeySECgv.js → checkbox-field-sFs7GvAq.js} +7 -7
  23. package/dist/cdn/chunks/{checkbox-group-DFNy1y-A.js → checkbox-group-BPN4eRCX.js} +3 -3
  24. package/dist/cdn/chunks/{class-map-CmgI2Tu-.js → class-map-1XjgYGeg.js} +1 -1
  25. package/dist/cdn/chunks/{code-editor-BBMbUJ4d.js → code-editor-KZEaMAN7.js} +5 -5
  26. package/dist/cdn/chunks/{code-viewer-B8jse0-5.js → code-viewer-CJwpLKb1.js} +94 -87
  27. package/dist/cdn/chunks/{codemirror-input-BEotDTtZ.js → codemirror-input-CYBNNf0-.js} +5 -5
  28. package/dist/cdn/chunks/{collection-DRoS7Ona.js → collection-BdUB8qeL.js} +61 -42
  29. package/dist/cdn/chunks/{combo-box-DA1ZQJJS.js → combo-box-DxWW-zeE.js} +20 -14
  30. package/dist/cdn/chunks/{container-F1i2pmko.js → container-Dhf1Ahi8.js} +14 -10
  31. package/dist/cdn/chunks/{custom-element-DD4ffKRs.js → custom-element-DtLjpays.js} +1 -1
  32. package/dist/cdn/chunks/{date-field-DVgisQnm.js → date-field-D83r9gjY.js} +12 -12
  33. package/dist/cdn/chunks/{date-picker-BaDTota3.js → date-picker-D8qv2iuG.js} +21 -15
  34. package/dist/cdn/chunks/{decorate-CeGXihRM.js → decorate-BhnGmemK.js} +1 -1
  35. package/dist/cdn/chunks/{described-by-mixin-qFatR9dF.js → described-by-mixin-Jh_PTTde.js} +2 -2
  36. package/dist/cdn/chunks/{description-cell-D45N4P1X.js → description-cell-nQKMluy8.js} +6 -6
  37. package/dist/cdn/chunks/{dev-checks-CkCD0tPh.js → dev-checks-Bet7bhMS.js} +99 -49
  38. package/dist/cdn/chunks/{directive-helpers-B9pcQxsE.js → directive-helpers-dLE2M1R1.js} +1 -1
  39. package/dist/cdn/chunks/{dist-n8aCu6Kg.js → dist-BTuJ-NyU.js} +2 -2
  40. package/dist/cdn/chunks/{dist-BS_pQgb6.js → dist-BbwC3zHR.js} +2 -2
  41. package/dist/cdn/chunks/{dist-Dsyc1RGG.js → dist-BpqJqkl_.js} +1 -1
  42. package/dist/cdn/chunks/{dist-mxb0NzAU.js → dist-C9xmfEc_.js} +1 -1
  43. package/dist/cdn/chunks/{dist-v7yvd26H.js → dist-CYKK2xXE.js} +3 -3
  44. package/dist/cdn/chunks/{dist-rjQNj-KZ.js → dist-Cdmhq-4P.js} +2 -2
  45. package/dist/cdn/chunks/{dist-v62GtoI6.js → dist-DJSiRJRL.js} +1 -1
  46. package/dist/cdn/chunks/{dist-Cl-rXzh7.js → dist-DwevYbXo.js} +1 -1
  47. package/dist/cdn/chunks/{dist-DjlGttcc.js → dist-Dzlvec4O.js} +1 -1
  48. package/dist/cdn/chunks/{dist-jTL_Kil1.js → dist-EP5KATv0.js} +1 -1
  49. package/dist/cdn/chunks/{dist-DJQUgOKW.js → dist-u6MS5-M8.js} +3 -3
  50. package/dist/cdn/chunks/{divider-CtMx3Byp.js → divider-DjT76fuO.js} +2 -2
  51. package/dist/cdn/chunks/{document-tab-bar-SKSf69FX.js → document-tab-bar-CO2M1bFc.js} +95 -56
  52. package/dist/cdn/chunks/{dropdown-se1zjYlw.js → dropdown-CdQ1beF2.js} +5 -5
  53. package/dist/cdn/chunks/{file-field-DW_Xt5O3.js → file-field-D0UlnM9R.js} +14 -14
  54. package/dist/cdn/chunks/{form-C9-eW3zc.js → form-BV9wifov.js} +1 -1
  55. package/dist/cdn/chunks/{form-actions-Cy5tH1nk.js → form-actions-DDeF8urg.js} +2 -2
  56. package/dist/cdn/chunks/{form-associated-mixin-CA0F9CPx.js → form-associated-mixin-Cm1N24gR.js} +2 -2
  57. package/dist/cdn/chunks/{form-field-BMWm8VGS.js → form-field-IeKadcwe.js} +6 -6
  58. package/dist/cdn/chunks/{form-section-DrrXc4wZ.js → form-section-C350G5wg.js} +1 -1
  59. package/dist/cdn/chunks/frame-pass-C0RUoFMc.js +17 -0
  60. package/dist/cdn/chunks/{full-bleed-section-6QL0av4x.js → full-bleed-section-CR3zsX7K.js} +9 -10
  61. package/dist/cdn/chunks/{hero-BThWV3MR.js → hero-Ch5el5J5.js} +73 -68
  62. package/dist/cdn/chunks/{icon-CVM6X_F1.js → icon-Dj98ov4G.js} +2 -2
  63. package/dist/cdn/chunks/{icon-button-h_sEz0Ia.js → icon-button-HKoCqWG3.js} +9 -9
  64. package/dist/cdn/chunks/{icon-cell-C3Ygercd.js → icon-cell-C1I-oIWn.js} +5 -5
  65. package/dist/cdn/chunks/{identity-BR0KxjM5.js → identity-DNkEDJ8m.js} +6 -6
  66. package/dist/cdn/chunks/{if-defined-CvQli6P0.js → if-defined-CZ1Fmb74.js} +1 -1
  67. package/dist/cdn/chunks/{image-D8H73DIj.js → image-KXTd-hL-.js} +8 -8
  68. package/dist/cdn/chunks/{inline-dialog-Dlu3bneh.js → inline-dialog-BTI0xmIT.js} +6 -6
  69. package/dist/cdn/chunks/{just-in-time-education-DG0teV5g.js → just-in-time-education-BtjbYffu.js} +5 -5
  70. package/dist/cdn/chunks/{kanban-MNLyqki_.js → kanban-DNXtL34O.js} +35 -30
  71. package/dist/cdn/chunks/{kanban-column-CGF_4Q0N.js → kanban-column-D0ujQ2_W.js} +37 -25
  72. package/dist/cdn/chunks/{keyboard-shortcut-DZDtndhS.js → keyboard-shortcut-BikzmCBH.js} +3 -3
  73. package/dist/cdn/chunks/{languages-BCn4J5Ck.js → languages-CPd7_I8H.js} +12 -12
  74. package/dist/cdn/chunks/layout-pass-Cq85kSHX.js +45 -0
  75. package/dist/cdn/chunks/{link-CTj3dTmJ.js → link-DqMeRYFm.js} +6 -6
  76. package/dist/cdn/chunks/{link-group--C486tYV.js → link-group-BKn4MHA-.js} +2 -2
  77. package/dist/cdn/chunks/{list-DApLHKj-.js → list-C8Dnks-q.js} +48 -34
  78. package/dist/cdn/chunks/{list-item-BN9uuvXr.js → list-item-CSP1a_cN.js} +5 -6
  79. package/dist/cdn/chunks/{list-item-segment-CvdZT9Ni.js → list-item-segment-BvFqXXnA.js} +3 -3
  80. package/dist/cdn/chunks/{menu-2-9LtMLY.js → menu-LZ0DmVCe.js} +20 -19
  81. package/dist/cdn/chunks/{menu-bar-item-tOFEx-lS.js → menu-bar-item-DENdrp0m.js} +6 -6
  82. package/dist/cdn/chunks/{menu-bar-g-O3_TNl.js → menu-bar-rsGd3kKq.js} +62 -46
  83. package/dist/cdn/chunks/{menu-divider-Dmv0lMHV.js → menu-divider-BptK2nug.js} +3 -3
  84. package/dist/cdn/chunks/{menu-group-Ci9QUUwZ.js → menu-group-0B34NyN5.js} +4 -4
  85. package/dist/cdn/chunks/{menu-item-BnIbV4yo.js → menu-item-55vjckz2.js} +16 -12
  86. package/dist/cdn/chunks/{menu.template-sPjaMfc8.js → menu.template-B_HMnBsa.js} +105 -76
  87. package/dist/cdn/chunks/{modal-dialog-D-jAbabe.js → modal-dialog-DQY_0Qlk.js} +4 -4
  88. package/dist/cdn/chunks/{multi-line-text-field-uBZqAdr6.js → multi-line-text-field-DB4Vflno.js} +6 -6
  89. package/dist/cdn/chunks/{navigation-split-view-DARbBPq-.js → navigation-split-view-Dbhrxni9.js} +59 -47
  90. package/dist/cdn/chunks/{notification-CntIGoYh.js → notification-dtrMLORo.js} +6 -6
  91. package/dist/cdn/chunks/{number-field-C0MTabLP.js → number-field-Ctxk40as.js} +8 -8
  92. package/dist/cdn/chunks/{one-half-one-half-section-DYzf6LtU.js → one-half-one-half-section-Bx6KLSY5.js} +15 -16
  93. package/dist/cdn/chunks/{one-third-two-thirds-section-AAiaxCHH.js → one-third-two-thirds-section-Bql0Xrsc.js} +15 -16
  94. package/dist/cdn/chunks/{one-time-code-field-CCILuCy1.js → one-time-code-field-B-y5gRLi.js} +103 -64
  95. package/dist/cdn/chunks/{overflow-menu-DFoh3xL_.js → overflow-menu-Cs1VLcX7.js} +1 -1
  96. package/dist/cdn/chunks/{page-BDXLREou.js → page-Bdkit86l.js} +78 -56
  97. package/dist/cdn/chunks/{page-footer-BsVMZCXs.js → page-footer-D68JiIFE.js} +4 -4
  98. package/dist/cdn/chunks/{page-section-mixin-L0bl3wCm.js → page-section-mixin-Bmlpcmrw.js} +3 -3
  99. package/dist/cdn/chunks/{pagination-DLwbSZdO.js → pagination-BH6UQbby.js} +6 -6
  100. package/dist/cdn/chunks/{password-field-DKTJgEyb.js → password-field-Dz0znv2L.js} +8 -8
  101. package/dist/cdn/chunks/{popover-RB7uLASo.js → popover-C6j3sO70.js} +5 -5
  102. package/dist/cdn/chunks/{progress-bar-DnXWbmiw.js → progress-bar-BA_5dDXK.js} +10 -7
  103. package/dist/cdn/chunks/{progress-circle-S89MUtU8.js → progress-circle-DsCyTyw-.js} +10 -7
  104. package/dist/cdn/chunks/{radio-button-field-BF4MHiOQ.js → radio-button-field-JsQalrMs.js} +8 -7
  105. package/dist/cdn/chunks/{radio-button-group-BQUqV8wJ.js → radio-button-group-Bqn43LYh.js} +3 -3
  106. package/dist/cdn/chunks/{radio-button-B31lAjlk.js → radio-button-pcE5Vo5k.js} +92 -51
  107. package/dist/cdn/chunks/{render-marked-ChJNzktf.js → render-marked-DAVGoeYa.js} +1 -1
  108. package/dist/cdn/chunks/{reorder-handle-cell-SEERkeh7.js → reorder-handle-cell-r4OuA45S.js} +4 -4
  109. package/dist/cdn/chunks/{reorder-handle-mixin-tWe9XTjZ.js → reorder-handle-mixin-Co5E_Y7l.js} +2 -2
  110. package/dist/cdn/chunks/{repeat-CdCK17GF.js → repeat-DoLR8W_a.js} +2 -2
  111. package/dist/cdn/chunks/{rich-text-vVWOndD2.js → rich-text-CEmzxZRC.js} +3 -3
  112. package/dist/cdn/chunks/{row-header-mixin-6MoJ5Mjq.js → row-header-mixin-BCYXiXva.js} +2 -2
  113. package/dist/cdn/chunks/{scroll-fade-Cr7_IXpU.js → scroll-fade-OSFrYTum.js} +2 -2
  114. package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +52 -0
  115. package/dist/cdn/chunks/{search-field-C9urWH_J.js → search-field-CT483s7J.js} +10 -10
  116. package/dist/cdn/chunks/{segmented-control-DkILAMOJ.js → segmented-control-5zMasjz7.js} +7 -7
  117. package/dist/cdn/chunks/{shadow-resets-9v6K-Fie.js → shadow-resets-DR73IFIL.js} +2 -2
  118. package/dist/cdn/chunks/{sheet-D89xI-KY.js → sheet-CDXX61d_.js} +3 -3
  119. package/dist/cdn/chunks/{shell-CFmfUD0_.js → shell-C4vAeA49.js} +4 -4
  120. package/dist/cdn/chunks/{side-by-side-split-view-ir9c0mwZ.js → side-by-side-split-view-D9_u1TIS.js} +38 -29
  121. package/dist/cdn/chunks/{sidebar-section-BhJXels3.js → sidebar-section-vWX-ymIa.js} +70 -48
  122. package/dist/cdn/chunks/{simple-section-CMoYuLYV.js → simple-section-CEw2oC7K.js} +9 -10
  123. package/dist/cdn/chunks/{skip-link-rUQq0D-l.js → skip-link-DcOGlfM9.js} +4 -4
  124. package/dist/cdn/chunks/{slider-CIQqjKUo.js → slider-B108QDlz.js} +9 -9
  125. package/dist/cdn/chunks/{spacer-CD85egxE.js → spacer-CpfTNtbZ.js} +2 -2
  126. package/dist/cdn/chunks/{spacer-cell-B33mGdru.js → spacer-cell-DBm7_AUi.js} +4 -4
  127. package/dist/cdn/chunks/{split-button-COL7r-wa.js → split-button-DxgDxdan.js} +7 -7
  128. package/dist/cdn/chunks/{split-view-divider-DVBuBzeO.js → split-view-divider-6_RDvANN.js} +2 -2
  129. package/dist/cdn/chunks/{split-view-pane-CSvIzeBg.js → split-view-pane-9tEGLRZC.js} +4 -4
  130. package/dist/cdn/chunks/{stacked-split-view-onSk2QEi.js → stacked-split-view-CRMEMwtv.js} +29 -25
  131. package/dist/cdn/chunks/{static-html-Cyhp44gp.js → static-html-CmXnRyP6.js} +1 -1
  132. package/dist/cdn/chunks/{status-bar-CjYXOQAX.js → status-bar-Blk_iYSD.js} +29 -17
  133. package/dist/cdn/chunks/{step-bar-D-To0TEw.js → step-bar-DM4a_0PG.js} +5 -5
  134. package/dist/cdn/chunks/{step-cell-B7sVGixc.js → step-cell-CUs8AKJq.js} +5 -5
  135. package/dist/cdn/chunks/{stepper-h6boMOhz.js → stepper-JwxPNJRc.js} +7 -7
  136. package/dist/cdn/chunks/{style-map-BrdTV34-.js → style-map-DUDIMhuW.js} +1 -1
  137. package/dist/cdn/chunks/{swatch-picker-gQ3m3y9U.js → swatch-picker-BXs7Ob4o.js} +6 -6
  138. package/dist/cdn/chunks/{switch-DC-BTi9E.js → switch-CWKoOyz7.js} +5 -5
  139. package/dist/cdn/chunks/{switch-field-D82mLobj.js → switch-field-BgX9mNOA.js} +6 -6
  140. package/dist/cdn/chunks/{tab-bar-sKiFzvfj.js → tab-bar-BNaJSB38.js} +85 -49
  141. package/dist/cdn/chunks/{table-CuxZfCZD.js → table-dgJdHR92.js} +111 -54
  142. package/dist/cdn/chunks/{tag-DP_ome5l.js → tag-DHHf_gxq.js} +4 -4
  143. package/dist/cdn/chunks/{term-BdiTV-Jk.js → term-DNLqQErM.js} +12 -12
  144. package/dist/cdn/chunks/{text-C-b1ygHI.js → text-CK1-qJ6d.js} +3 -3
  145. package/dist/cdn/chunks/{text-cell-DfRh7JqZ.js → text-cell-CrKBqL5A.js} +8 -8
  146. package/dist/cdn/chunks/{text-editor-DuT9Rrpv.js → text-editor-B0A2vNpD.js} +191 -191
  147. package/dist/cdn/chunks/{text-field-kAbXzkUj.js → text-field-CqYxSiKy.js} +6 -6
  148. package/dist/cdn/chunks/{time-field-DUz9ifmn.js → time-field-DHm6KQsG.js} +14 -14
  149. package/dist/cdn/chunks/{time-picker-DGOKwC9T.js → time-picker-C_BE5oNq.js} +170 -99
  150. package/dist/cdn/chunks/{title-BA-SUyAq.js → title-BpREzeX9.js} +4 -4
  151. package/dist/cdn/chunks/{title-cell-Cu5NFNUu.js → title-cell-C4ZL3mJo.js} +8 -8
  152. package/dist/cdn/chunks/{toggle-button-J6UapeqB.js → toggle-button-COQdr-hZ.js} +8 -8
  153. package/dist/cdn/chunks/{toggle-button-group-wrps-tL9.js → toggle-button-group-D4vTcGce.js} +2 -2
  154. package/dist/cdn/chunks/{token-DJkyJz-k.js → token-1DfHVSVj.js} +5 -5
  155. package/dist/cdn/chunks/{token-field-SiBFPD8-.js → token-field-s_mCjtcZ.js} +12 -12
  156. package/dist/cdn/chunks/toolbar-Bz_8d1v-.js +441 -0
  157. package/dist/cdn/chunks/{toolbar-item-DPizdgYi.js → toolbar-item-B-EDYaPf.js} +3 -3
  158. package/dist/cdn/chunks/{toolbar-title-CB4IJFGv.js → toolbar-title-Cl8VPHYK.js} +4 -4
  159. package/dist/cdn/chunks/{toolbar.styles-vmMPyzS_.js → toolbar.styles-BiT7JPsr.js} +3 -3
  160. package/dist/cdn/chunks/{tooltip-Bg2ovCCg.js → tooltip-DhPeqDvL.js} +4 -4
  161. package/dist/cdn/chunks/{top-navigation-bar-vA8wpJXS.js → top-navigation-bar-CHWqoNms.js} +121 -104
  162. package/dist/cdn/chunks/{top-title-bar-BAJGmgnj.js → top-title-bar-DUp0bSIU.js} +43 -30
  163. package/dist/cdn/chunks/{translations-Cjd13Xb6.js → translations-C6WKR-hE.js} +1 -1
  164. package/dist/cdn/chunks/{two-thirds-one-third-section-D1FvorKO.js → two-thirds-one-third-section-CftZqodu.js} +15 -16
  165. package/dist/cdn/chunks/{validation-list-D3rKnfTu.js → validation-list-BdTSfsD6.js} +3 -3
  166. package/dist/cdn/chunks/{visibility-mixin-BRMACV1l.js → visibility-mixin-DL737l0g.js} +2 -2
  167. package/dist/cdn/chunks/{visually-hidden-BukWRiJA.js → visually-hidden-DvU3wAD4.js} +2 -2
  168. package/dist/cdn/chunks/{window-C9njVzzK.js → window-7XYqha2V.js} +4 -4
  169. package/dist/cdn/chunks/{with-translations-BLzHPSUF.js → with-translations-nT8q6ELU.js} +3 -3
  170. package/dist/components/actions/menu/menu-item.d.ts +11 -0
  171. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  172. package/dist/components/actions/menu/menu-item.js +28 -13
  173. package/dist/components/actions/menu/menu-item.js.map +1 -1
  174. package/dist/components/actions/menu/menu.d.ts +6 -0
  175. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  176. package/dist/components/actions/menu/menu.js +14 -4
  177. package/dist/components/actions/menu/menu.js.map +1 -1
  178. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  179. package/dist/components/actions/menu/menu.styles.js +63 -3
  180. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  181. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  182. package/dist/components/actions/menu/menu.template.js +18 -47
  183. package/dist/components/actions/menu/menu.template.js.map +1 -1
  184. package/dist/components/actions/toolbar/toolbar.d.ts +56 -16
  185. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  186. package/dist/components/actions/toolbar/toolbar.js +263 -95
  187. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  188. package/dist/components/actions/toolbar/toolbar.steps.d.ts +16 -0
  189. package/dist/components/actions/toolbar/toolbar.steps.d.ts.map +1 -0
  190. package/dist/components/actions/toolbar/toolbar.steps.js +33 -0
  191. package/dist/components/actions/toolbar/toolbar.steps.js.map +1 -0
  192. package/dist/components/content/avatar/avatar.d.ts +22 -10
  193. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  194. package/dist/components/content/avatar/avatar.js +122 -29
  195. package/dist/components/content/avatar/avatar.js.map +1 -1
  196. package/dist/components/content/avatar-group/avatar-group.d.ts +25 -10
  197. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  198. package/dist/components/content/avatar-group/avatar-group.js +97 -26
  199. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  200. package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
  201. package/dist/components/content/avatar-group/avatar-group.template.js +5 -4
  202. package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
  203. package/dist/components/content/code-viewer/code-viewer.d.ts +4 -2
  204. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  205. package/dist/components/content/code-viewer/code-viewer.js +35 -32
  206. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  207. package/dist/components/content/image/image.d.ts +1 -4
  208. package/dist/components/content/image/image.d.ts.map +1 -1
  209. package/dist/components/content/image/image.js +1 -4
  210. package/dist/components/content/image/image.js.map +1 -1
  211. package/dist/components/content/tooltip/tooltip.d.ts +1 -4
  212. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  213. package/dist/components/content/tooltip/tooltip.js +1 -4
  214. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  215. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  216. package/dist/components/forms/form-field/form-field.js +4 -0
  217. package/dist/components/forms/form-field/form-field.js.map +1 -1
  218. package/dist/components/inputs/combo-box/combo-box.d.ts +8 -0
  219. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  220. package/dist/components/inputs/combo-box/combo-box.js +28 -9
  221. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  222. package/dist/components/inputs/date-picker/date-picker.d.ts +11 -0
  223. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  224. package/dist/components/inputs/date-picker/date-picker.js +23 -0
  225. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  226. package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
  227. package/dist/components/inputs/date-picker/date-picker.template.js +4 -2
  228. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  229. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  230. package/dist/components/inputs/file-field/file-field.js +6 -1
  231. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  232. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +27 -5
  233. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  234. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +128 -30
  235. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  236. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  237. package/dist/components/inputs/radio-button/radio-button.js +5 -2
  238. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  239. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  240. package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -2
  241. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  242. package/dist/components/inputs/text-editor/text-editor.annotations.js +1 -1
  243. package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
  244. package/dist/components/inputs/text-editor/text-editor.js +2 -2
  245. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  246. package/dist/components/inputs/text-editor/text-editor.selection.js +1 -1
  247. package/dist/components/inputs/text-editor/text-editor.selection.js.map +1 -1
  248. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
  249. package/dist/components/inputs/text-editor/text-editor.toolbar.js +18 -12
  250. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
  251. package/dist/components/inputs/time-picker/time-picker.d.ts +23 -0
  252. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  253. package/dist/components/inputs/time-picker/time-picker.js +132 -12
  254. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  255. package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
  256. package/dist/components/inputs/time-picker/time-picker.styles.js +27 -6
  257. package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
  258. package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
  259. package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
  260. package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
  261. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  262. package/dist/components/inputs/token-field/token-field.js +3 -0
  263. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  264. package/dist/components/layout/collection/collection.d.ts +9 -1
  265. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  266. package/dist/components/layout/collection/collection.js +96 -38
  267. package/dist/components/layout/collection/collection.js.map +1 -1
  268. package/dist/components/layout/container/container.d.ts +1 -0
  269. package/dist/components/layout/container/container.d.ts.map +1 -1
  270. package/dist/components/layout/container/container.js +22 -16
  271. package/dist/components/layout/container/container.js.map +1 -1
  272. package/dist/components/layout/kanban/kanban-column.d.ts +7 -2
  273. package/dist/components/layout/kanban/kanban-column.d.ts.map +1 -1
  274. package/dist/components/layout/kanban/kanban-column.js +49 -17
  275. package/dist/components/layout/kanban/kanban-column.js.map +1 -1
  276. package/dist/components/layout/kanban/kanban.d.ts +4 -1
  277. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  278. package/dist/components/layout/kanban/kanban.js +25 -7
  279. package/dist/components/layout/kanban/kanban.js.map +1 -1
  280. package/dist/components/layout/kanban/kanban.template.js +1 -1
  281. package/dist/components/layout/kanban/kanban.template.js.map +1 -1
  282. package/dist/components/layout/page/page.d.ts +43 -12
  283. package/dist/components/layout/page/page.d.ts.map +1 -1
  284. package/dist/components/layout/page/page.js +116 -66
  285. package/dist/components/layout/page/page.js.map +1 -1
  286. package/dist/components/layout/page/page.styles.js +2 -2
  287. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -1
  288. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  289. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -1
  290. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  291. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  292. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +6 -7
  293. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  294. package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
  295. package/dist/components/layout/page-sections/hero/hero-corner.js +24 -1
  296. package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
  297. package/dist/components/layout/page-sections/hero/hero-corner.styles.js +22 -22
  298. package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
  299. package/dist/components/layout/page-sections/hero/hero.d.ts +2 -0
  300. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  301. package/dist/components/layout/page-sections/hero/hero.js +2 -0
  302. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  303. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  304. package/dist/components/layout/page-sections/hero/hero.styles.js +8 -11
  305. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  306. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -2
  307. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  308. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +4 -2
  309. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  310. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  311. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +12 -13
  312. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  313. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -2
  314. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  315. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +4 -2
  316. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  317. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  318. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +12 -13
  319. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  320. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +12 -9
  321. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  322. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +66 -21
  323. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  324. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
  325. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +23 -17
  326. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
  327. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
  328. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +5 -0
  329. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
  330. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +4 -3
  331. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  332. package/dist/components/layout/page-sections/simple-section/simple-section.js +4 -3
  333. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  334. package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
  335. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +6 -7
  336. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  337. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -2
  338. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  339. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +4 -2
  340. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  341. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  342. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +12 -13
  343. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  344. package/dist/components/layout/shell/shell.d.ts +2 -0
  345. package/dist/components/layout/shell/shell.d.ts.map +1 -1
  346. package/dist/components/layout/shell/shell.js +2 -0
  347. package/dist/components/layout/shell/shell.js.map +1 -1
  348. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +2 -1
  349. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  350. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +30 -17
  351. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  352. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +8 -3
  353. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  354. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +35 -20
  355. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  356. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +1 -1
  357. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +6 -2
  358. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  359. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +30 -15
  360. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  361. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +1 -1
  362. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +6 -3
  363. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  364. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +28 -16
  365. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  366. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +1 -1
  367. package/dist/components/lists-and-tables/list/list.d.ts +19 -0
  368. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  369. package/dist/components/lists-and-tables/list/list.js +47 -15
  370. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  371. package/dist/components/lists-and-tables/list/list.roving.d.ts +2 -1
  372. package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -1
  373. package/dist/components/lists-and-tables/list/list.roving.js +7 -3
  374. package/dist/components/lists-and-tables/list/list.roving.js.map +1 -1
  375. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  376. package/dist/components/lists-and-tables/list-item/list-item.styles.js +0 -1
  377. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  378. package/dist/components/lists-and-tables/table/table.d.ts +34 -6
  379. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  380. package/dist/components/lists-and-tables/table/table.js +143 -40
  381. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  382. package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
  383. package/dist/components/lists-and-tables/table/table.styles.js +13 -0
  384. package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
  385. package/dist/components/lists-and-tables/table/table.template.d.ts.map +1 -1
  386. package/dist/components/lists-and-tables/table/table.template.js +6 -0
  387. package/dist/components/lists-and-tables/table/table.template.js.map +1 -1
  388. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +33 -2
  389. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  390. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +136 -38
  391. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  392. package/dist/components/navigation/menu-bar/menu-bar.d.ts +21 -3
  393. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  394. package/dist/components/navigation/menu-bar/menu-bar.js +61 -29
  395. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  396. package/dist/components/navigation/tab-bar/tab-bar.d.ts +26 -4
  397. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  398. package/dist/components/navigation/tab-bar/tab-bar.js +99 -24
  399. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  400. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  401. package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -0
  402. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  403. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +23 -14
  404. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  405. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +126 -83
  406. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  407. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +28 -28
  408. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  409. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +5 -1
  410. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  411. package/dist/components/navigation/top-title-bar/top-title-bar.js +36 -13
  412. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  413. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -0
  414. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  415. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +6 -0
  416. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  417. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -0
  418. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  419. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +6 -0
  420. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  421. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +0 -1
  422. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  423. package/dist/components/status-and-feedback/status-bar/status-bar.js +26 -6
  424. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  425. package/dist/nldd.min.js +882 -816
  426. package/dist/types/react.d.ts +8 -8
  427. package/dist/types/vue.d.ts +8 -8
  428. package/dist/utilities/after-parse.d.ts +30 -0
  429. package/dist/utilities/after-parse.d.ts.map +1 -0
  430. package/dist/utilities/after-parse.js +44 -0
  431. package/dist/utilities/after-parse.js.map +1 -0
  432. package/dist/utilities/dev-checks.d.ts +6 -0
  433. package/dist/utilities/dev-checks.d.ts.map +1 -1
  434. package/dist/utilities/dev-checks.js +42 -16
  435. package/dist/utilities/dev-checks.js.map +1 -1
  436. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  437. package/dist/utilities/dev-rules.generated.js +39 -2
  438. package/dist/utilities/dev-rules.generated.js.map +1 -1
  439. package/dist/utilities/frame-pass.d.ts +28 -0
  440. package/dist/utilities/frame-pass.d.ts.map +1 -0
  441. package/dist/utilities/frame-pass.js +41 -0
  442. package/dist/utilities/frame-pass.js.map +1 -0
  443. package/dist/utilities/layout-pass.d.ts +49 -0
  444. package/dist/utilities/layout-pass.d.ts.map +1 -0
  445. package/dist/utilities/layout-pass.js +103 -0
  446. package/dist/utilities/layout-pass.js.map +1 -0
  447. package/dist/utilities/radio-grouping.d.ts +30 -4
  448. package/dist/utilities/radio-grouping.d.ts.map +1 -1
  449. package/dist/utilities/radio-grouping.js +98 -17
  450. package/dist/utilities/radio-grouping.js.map +1 -1
  451. package/dist/utilities/scroll-mode-controller.d.ts +13 -6
  452. package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
  453. package/dist/utilities/scroll-mode-controller.js +47 -21
  454. package/dist/utilities/scroll-mode-controller.js.map +1 -1
  455. package/lint/css.js +58 -26
  456. package/lint/data.generated.json +1 -1
  457. package/lint/engine.js +29 -12
  458. package/lint/fix.js +103 -12
  459. package/lint/format.js +4 -3
  460. package/lint/frontends.js +153 -35
  461. package/lint/linter.js +174 -25
  462. package/lint/main.js +7 -2
  463. package/lint/project.js +50 -12
  464. package/lint/rule-compiler.js +20 -11
  465. package/lint/rule-data.js +8 -0
  466. package/lint/rule.schema.json +2 -1
  467. package/lint/session.js +42 -18
  468. package/lint/tree.js +5 -2
  469. package/package.json +1 -1
  470. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +0 -42
  471. 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-CeGXihRM.js";
2
- import { c as i, r as a, s as o } from "./custom-element-DD4ffKRs.js";
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, t as f } from "./breakpoints-Cwor8TRP.js";
8
- import { t as p } from "./shadow-resets-9v6K-Fie.js";
9
- import { n as m } from "./icon-CVM6X_F1.js";
10
- import { t as h } from "./sanitize-url-CBuGmY0W.js";
11
- import { t as g } from "./with-translations-BLzHPSUF.js";
12
- import { t as _ } from "./top-navigation-bar.i18n-C-lcH1nB.js";
13
- import "./menu-bar-item-tOFEx-lS.js";
14
- import "./menu-bar-g-O3_TNl.js";
15
- import { t as v } from "./carried-context-DlMSujiJ.js";
16
- import { r as y } from "./element-state-B-44fVqq.js";
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
- ${p}
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. Here rather than on :host,
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
- @container (max-width: ${b}) {
58
+ @media (max-width: ${b}) {
60
59
  --_top-navigation-bar-logo-width: var(--semantics-brand-ribbon-sm-width);
61
60
  }
62
61
 
63
- @container (min-width: ${x}) and (max-width: ${S}) {
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
- @container (min-width: ${C}) {
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
- @container (max-width: ${b}) {
79
+ @media (max-width: ${b}) {
81
80
  padding-inline: var(--semantics-page-sections-sm-margin-inline);
82
81
  }
83
82
 
84
- @container (min-width: ${x}) and (max-width: ${S}) {
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
- @container (min-width: ${C}) {
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
- @container (min-width: ${x}) {
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
- @container (max-width: ${b}) {
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
- @container (max-width: ${b}) {
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
- @container (max-width: ${b}) {
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
- @container (max-width: ${b}) {
345
+ @media (max-width: ${b}) {
345
346
  flex-direction: column;
346
347
  }
347
348
 
348
- @container (min-width: ${x}) and (max-width: ${S}) {
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
- @container (min-width: ${C}) {
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
- @container (min-width: ${x}) {
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
- @container (max-width: ${b}) {
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
- @container (max-width: ${b}) {
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
- @container (min-width: ${x}) {
404
+ @media (min-width: ${x}) {
404
405
  font: var(--_top-navigation-bar-title-md-font);
405
406
  }
406
407
 
407
- @container (min-width: ${C}) {
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
- @container (max-width: ${S}) {
444
+ @media (max-width: ${S}) {
444
445
  flex-grow: 0;
445
446
  flex-shrink: 0;
446
447
  }
447
448
 
448
- @container (min-width: ${C}) {
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
- @container (max-width: ${S}) {
462
+ @media (max-width: ${S}) {
462
463
  flex-grow: 1;
463
464
  flex-shrink: 1;
464
465
  }
465
466
 
466
- @container (min-width: ${C}) {
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
- @container (min-width: ${C}) {
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
- @container (max-width: ${S}) {
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 = h(e.logoHref), i = h(e.websiteHref);
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
- ${m(T)}
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">${m(T)}</span>
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
- ${m(T)}
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(), v(this._sheet, this._host), requestAnimationFrame(() => this._sheet?.show());
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-D89xI-KY.js"),
723
- import("./page-BDXLREou.js").then((e) => e.t),
724
- import("./simple-section-CMoYuLYV.js"),
725
- import("./top-title-bar-BAJGmgnj.js").then((e) => e.t),
726
- import("./title-BA-SUyAq.js"),
727
- import("./list-DApLHKj-.js").then((e) => e.t),
728
- import("./list-item-BN9uuvXr.js").then((e) => e.t),
729
- import("./text-cell-DfRh7JqZ.js").then((e) => e.t),
730
- import("./icon-cell-C3Ygercd.js").then((e) => e.t),
731
- import("./icon-CVM6X_F1.js").then((e) => e.t)
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: h(e.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: h(e.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
- var F = (N = class extends g(e, _) {
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._resizeObserver = null, this._compactRAF = null, this._setupRAF = null, this._appliedMenuBarLabels = /* @__PURE__ */ new WeakMap(), this._appliedTexts = null, this._syncLogoOffset = () => {
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 && y(this, "same-href", !!this.logoHref && !!this.websiteHref && P(this.logoHref) === P(this.websiteHref));
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), window.addEventListener("scroll", this._syncLogoOffset, { passive: !0 }), window.addEventListener("resize", this._syncLogoOffset, { passive: !0 }), window.addEventListener(l, this._syncLogoOffset), this._setupCompactDetection();
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), window.removeEventListener("scroll", this._syncLogoOffset), window.removeEventListener("resize", this._syncLogoOffset), window.removeEventListener(l, this._syncLogoOffset), this._cleanupCompactDetection(), this._menuSheet.remove();
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._syncLogoOffset();
874
+ this._syncHasGlobalItems(), I.schedule(this, this.ownerDocument);
857
875
  }
858
- _setupCompactDetection() {
859
- this._cleanupCompactDetection(), this._setupRAF = requestAnimationFrame(() => {
860
- this._setupRAF = null, this.isConnected && (this._resizeObserver = new ResizeObserver(() => {
861
- this._scheduleCompactUpdate();
862
- }), this._resizeObserver.observe(this), this._scheduleCompactUpdate());
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
- _cleanupCompactDetection() {
866
- this._setupRAF && (cancelAnimationFrame(this._setupRAF), this._setupRAF = null), this._compactRAF && (cancelAnimationFrame(this._compactRAF), this._compactRAF = null), this._resizeObserver && (this._resizeObserver.disconnect(), this._resizeObserver = null);
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._isSmBreakpoint(), t = [this._getSlottedMenuBar(this._globalSlot), this._getSlottedMenuBar(this._utilitySlot)].filter((e) => e !== null);
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
- })], F.prototype, "websiteTitle", void 0), r([a({
907
+ })], U.prototype, "websiteTitle", void 0), r([a({
891
908
  type: Boolean,
892
909
  attribute: "no-logo",
893
910
  reflect: !0
894
- })], F.prototype, "noLogo", void 0), r([a({
911
+ })], U.prototype, "noLogo", void 0), r([a({
895
912
  reflect: !0,
896
913
  converter: u("")
897
- })], F.prototype, "width", void 0), r([a({
914
+ })], U.prototype, "width", void 0), r([a({
898
915
  reflect: !0,
899
916
  attribute: "logo-title",
900
917
  converter: u("")
901
- })], F.prototype, "logoTitle", void 0), r([a({
918
+ })], U.prototype, "logoTitle", void 0), r([a({
902
919
  reflect: !0,
903
920
  attribute: "logo-subtitle",
904
921
  converter: u("")
905
- })], F.prototype, "logoSubtitle", void 0), r([a({
922
+ })], U.prototype, "logoSubtitle", void 0), r([a({
906
923
  reflect: !0,
907
924
  attribute: "logo-supporting-text-1",
908
925
  converter: u("")
909
- })], F.prototype, "logoSupportingText1", void 0), r([a({
926
+ })], U.prototype, "logoSupportingText1", void 0), r([a({
910
927
  reflect: !0,
911
928
  attribute: "logo-supporting-text-2",
912
929
  converter: u("")
913
- })], F.prototype, "logoSupportingText2", void 0), r([a({
930
+ })], U.prototype, "logoSupportingText2", void 0), r([a({
914
931
  type: String,
915
932
  attribute: "logo-href"
916
- })], F.prototype, "logoHref", void 0), r([a({
933
+ })], U.prototype, "logoHref", void 0), r([a({
917
934
  type: String,
918
935
  attribute: "website-href"
919
- })], F.prototype, "websiteHref", void 0), r([a({
936
+ })], U.prototype, "websiteHref", void 0), r([a({
920
937
  type: String,
921
938
  attribute: "back-href"
922
- })], F.prototype, "backHref", void 0), r([a({
939
+ })], U.prototype, "backHref", void 0), r([a({
923
940
  reflect: !0,
924
941
  attribute: "back-text",
925
942
  converter: u("")
926
- })], F.prototype, "backText", void 0), r([c(".top-navigation-bar__menu-button")], F.prototype, "_menuButton", void 0), r([c("slot[name=\"global\"]")], F.prototype, "_globalSlot", void 0), r([c("slot[name=\"utility\"]")], F.prototype, "_utilitySlot", void 0), F = r([s("nldd-top-navigation-bar")], F);
927
- export { F as NLDDTopNavigationBar };
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-CeGXihRM.js";
3
- import { n as a, r as o, s } from "./custom-element-DD4ffKRs.js";
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-9v6K-Fie.js";
7
- import { n as d, r as f } from "./static-html-Cyhp44gp.js";
8
- import "./button-CKV-jwGY.js";
9
- import "./icon-button-h_sEz0Ia.js";
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 m = s`
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
- `, h = {
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 g(e) {
166
- let t = !!e.backText, i = h[e.headingLevel] ?? h[1];
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 _ = /* @__PURE__ */ e({ NLDDTopTitleBar: () => y }), v = class extends t {
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._anchorLayoutObserver = null, this._anchorAppearObserver = null, this._boundOnScroll = this._onScroll.bind(this), this._pageWait = 0, this._gaveHeadingLevel = !1, this._onToolbarSlotChange = (e) => {
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
- })), this._anchorLayoutObserver = new ResizeObserver(() => this._onScroll()), this._anchorLayoutObserver.observe(this._anchorElement), this.updateComplete.then(() => this._onScroll());
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._onScroll()), this._scrollTargetStyleObserver.observe(this._activeScrollTarget, {
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._onScroll();
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, this._anchorLayoutObserver?.disconnect(), this._anchorLayoutObserver = null, this._anchorAppearObserver?.disconnect(), this._anchorAppearObserver = 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
- if (!this._anchorElement || !this._pageElement) return;
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
- if (e.width === 0 && e.height === 0) return;
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 g(this);
336
+ return v(this);
324
337
  }
325
- }, y = (v.styles = m, v);
338
+ }, b.styles = g, b);
326
339
  i([o({
327
340
  reflect: !0,
328
341
  converter: l("")
329
- })], y.prototype, "text", void 0), i([o({
342
+ })], w.prototype, "text", void 0), i([o({
330
343
  reflect: !0,
331
344
  attribute: "supporting-text",
332
345
  converter: l("")
333
- })], y.prototype, "supportingText", void 0), i([o({
346
+ })], w.prototype, "supportingText", void 0), i([o({
334
347
  reflect: !0,
335
348
  attribute: "heading-level",
336
349
  converter: l(1)
337
- })], y.prototype, "headingLevel", void 0), i([o({
350
+ })], w.prototype, "headingLevel", void 0), i([o({
338
351
  type: String,
339
352
  attribute: "collapse-anchor"
340
- })], y.prototype, "collapseAnchor", void 0), i([o({
353
+ })], w.prototype, "collapseAnchor", void 0), i([o({
341
354
  reflect: !0,
342
355
  attribute: "back-text",
343
356
  converter: l("")
344
- })], y.prototype, "backText", void 0), i([o({
357
+ })], w.prototype, "backText", void 0), i([o({
345
358
  type: String,
346
359
  attribute: "back-href"
347
- })], y.prototype, "backHref", void 0), i([o({
360
+ })], w.prototype, "backHref", void 0), i([o({
348
361
  reflect: !0,
349
362
  attribute: "dismiss-text",
350
363
  converter: l("")
351
- })], y.prototype, "dismissText", void 0), i([a()], y.prototype, "_hasToolbarItems", void 0), i([a()], y.prototype, "_anchorElement", void 0), y = i([c("nldd-top-title-bar")], y);
352
- export { _ as t };
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 };