@nldd/design-system 0.26.5 → 0.27.0

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 (441) hide show
  1. package/custom-elements.json +428 -37
  2. package/dist/cdn/autoloader.js +141 -141
  3. package/dist/cdn/chunks/{accordion-qXirmNBj.js → accordion-DBM4AcGb.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-BXEHwzcv.js → accordion-item-D90CmJyl.js} +4 -4
  5. package/dist/cdn/chunks/{activity-indicator-DP61AhsJ.js → activity-indicator-B6m9h0oa.js} +5 -5
  6. package/dist/cdn/chunks/{admonition-RnRSNAri.js → admonition-B-YTkCjn.js} +4 -4
  7. package/dist/cdn/chunks/after-parse-BSKUm67Q.js +9 -0
  8. package/dist/cdn/chunks/{avatar-DsexiOhH.js → avatar-CfBP9UZZ.js} +75 -41
  9. package/dist/cdn/chunks/{avatar-group-BrfrpXvd.js → avatar-group-DW_xMwb_.js} +71 -49
  10. package/dist/cdn/chunks/{badge-BiQFOq2l.js → badge-DnAuIhp1.js} +5 -5
  11. package/dist/cdn/chunks/{banner-42zIYAEN.js → banner-CRk2ARtC.js} +7 -7
  12. package/dist/cdn/chunks/{bar-split-view-CjYEp276.js → bar-split-view-DDgOYs7Z.js} +28 -21
  13. package/dist/cdn/chunks/{blockquote-qf4hJYvm.js → blockquote-DlfhBScg.js} +3 -3
  14. package/dist/cdn/chunks/{box-CWyg7sbR.js → box-DdU13yI4.js} +3 -3
  15. package/dist/cdn/chunks/{breadcrumbs-BaHjYdz8.js → breadcrumbs-CqkR_6XN.js} +5 -5
  16. package/dist/cdn/chunks/{button-bar-DeJ81759.js → button-bar-BKkap9nk.js} +3 -3
  17. package/dist/cdn/chunks/{button-group-CuRkiHR5.js → button-group-D-YTmErV.js} +2 -2
  18. package/dist/cdn/chunks/{button-CKV-jwGY.js → button-muXGJHlo.js} +8 -8
  19. package/dist/cdn/chunks/{card-DxeUNE3V.js → card-Dvqz83fC.js} +4 -4
  20. package/dist/cdn/chunks/{cell-QaG8b-Qk.js → cell-C0O8tZbX.js} +6 -6
  21. package/dist/cdn/chunks/{checkbox-V0YerUKf.js → checkbox-CNWROiHV.js} +5 -5
  22. package/dist/cdn/chunks/{checkbox-field-DeySECgv.js → checkbox-field-DCYpRJfz.js} +7 -7
  23. package/dist/cdn/chunks/{checkbox-group-DFNy1y-A.js → checkbox-group-DxWAYp_b.js} +3 -3
  24. package/dist/cdn/chunks/{class-map-CmgI2Tu-.js → class-map-D720ceWJ.js} +1 -1
  25. package/dist/cdn/chunks/{code-editor-BBMbUJ4d.js → code-editor-DlnTXkHx.js} +5 -5
  26. package/dist/cdn/chunks/{code-viewer-B8jse0-5.js → code-viewer-DyJzo36-.js} +94 -87
  27. package/dist/cdn/chunks/{codemirror-input-BEotDTtZ.js → codemirror-input-DPSOMYZ4.js} +5 -5
  28. package/dist/cdn/chunks/{collection-DRoS7Ona.js → collection-i7H8zkQ8.js} +61 -42
  29. package/dist/cdn/chunks/{combo-box-DA1ZQJJS.js → combo-box-CpNl_us0.js} +20 -14
  30. package/dist/cdn/chunks/{container-F1i2pmko.js → container-YWW7mHNa.js} +14 -10
  31. package/dist/cdn/chunks/{custom-element-DD4ffKRs.js → custom-element-D8yf5dqU.js} +1 -1
  32. package/dist/cdn/chunks/{date-field-DVgisQnm.js → date-field-DzhUp4Rk.js} +12 -12
  33. package/dist/cdn/chunks/{date-picker-BaDTota3.js → date-picker-CGvsvK3g.js} +21 -15
  34. package/dist/cdn/chunks/{decorate-CeGXihRM.js → decorate-1aEyfetK.js} +1 -1
  35. package/dist/cdn/chunks/{described-by-mixin-qFatR9dF.js → described-by-mixin-DffYoaxu.js} +2 -2
  36. package/dist/cdn/chunks/{description-cell-D45N4P1X.js → description-cell-DEw6xc2o.js} +6 -6
  37. package/dist/cdn/chunks/{dev-checks-CkCD0tPh.js → dev-checks-CTopJcdE.js} +12 -0
  38. package/dist/cdn/chunks/{directive-helpers-B9pcQxsE.js → directive-helpers-BQml5ahH.js} +1 -1
  39. package/dist/cdn/chunks/{dist-BS_pQgb6.js → dist-B5t9fS8q.js} +2 -2
  40. package/dist/cdn/chunks/{dist-DjlGttcc.js → dist-B87Ag4L-.js} +1 -1
  41. package/dist/cdn/chunks/{dist-v62GtoI6.js → dist-BKnqQxdv.js} +1 -1
  42. package/dist/cdn/chunks/{dist-Dsyc1RGG.js → dist-BYbLHkMP.js} +1 -1
  43. package/dist/cdn/chunks/{dist-Cl-rXzh7.js → dist-C8ZY_QIK.js} +1 -1
  44. package/dist/cdn/chunks/{dist-v7yvd26H.js → dist-CIX4JLW1.js} +3 -3
  45. package/dist/cdn/chunks/{dist-DJQUgOKW.js → dist-Cr8NctvS.js} +3 -3
  46. package/dist/cdn/chunks/{dist-mxb0NzAU.js → dist-D59Ae7dj.js} +1 -1
  47. package/dist/cdn/chunks/{dist-n8aCu6Kg.js → dist-DAf6EMuK.js} +2 -2
  48. package/dist/cdn/chunks/{dist-rjQNj-KZ.js → dist-DevfJ4Mu.js} +2 -2
  49. package/dist/cdn/chunks/{dist-jTL_Kil1.js → dist-qHSPGfTO.js} +1 -1
  50. package/dist/cdn/chunks/{divider-CtMx3Byp.js → divider-44rkHLYj.js} +2 -2
  51. package/dist/cdn/chunks/{document-tab-bar-SKSf69FX.js → document-tab-bar-CcSKzhEy.js} +95 -56
  52. package/dist/cdn/chunks/{dropdown-se1zjYlw.js → dropdown-CJPjI-p1.js} +5 -5
  53. package/dist/cdn/chunks/{file-field-DW_Xt5O3.js → file-field-B4HQKpkI.js} +14 -14
  54. package/dist/cdn/chunks/{form-actions-Cy5tH1nk.js → form-actions-HaBfh6vm.js} +2 -2
  55. package/dist/cdn/chunks/{form-associated-mixin-CA0F9CPx.js → form-associated-mixin-BByNH679.js} +2 -2
  56. package/dist/cdn/chunks/{form-field-BMWm8VGS.js → form-field-CwYXsuvv.js} +6 -6
  57. package/dist/cdn/chunks/{form-C9-eW3zc.js → form-obggZEpt.js} +1 -1
  58. package/dist/cdn/chunks/{form-section-DrrXc4wZ.js → form-section-B2UZx_-z.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-BSnWghWY.js} +9 -10
  61. package/dist/cdn/chunks/{hero-BThWV3MR.js → hero-CzbuEAUM.js} +73 -68
  62. package/dist/cdn/chunks/{icon-CVM6X_F1.js → icon-CkCT7sPE.js} +2 -2
  63. package/dist/cdn/chunks/{icon-button-h_sEz0Ia.js → icon-button-BBGwCfYp.js} +9 -9
  64. package/dist/cdn/chunks/{icon-cell-C3Ygercd.js → icon-cell-DcHnXV-8.js} +5 -5
  65. package/dist/cdn/chunks/{identity-BR0KxjM5.js → identity-C0fujsxK.js} +6 -6
  66. package/dist/cdn/chunks/{if-defined-CvQli6P0.js → if-defined-CL4nn-Q-.js} +1 -1
  67. package/dist/cdn/chunks/{image-D8H73DIj.js → image-BgtqLXfM.js} +8 -8
  68. package/dist/cdn/chunks/{inline-dialog-Dlu3bneh.js → inline-dialog-BYRIWhkm.js} +6 -6
  69. package/dist/cdn/chunks/{just-in-time-education-DG0teV5g.js → just-in-time-education-DwH3ubhZ.js} +5 -5
  70. package/dist/cdn/chunks/{kanban-MNLyqki_.js → kanban-BIZUoBj-.js} +35 -30
  71. package/dist/cdn/chunks/{kanban-column-CGF_4Q0N.js → kanban-column-CtjCIgaR.js} +37 -25
  72. package/dist/cdn/chunks/{keyboard-shortcut-DZDtndhS.js → keyboard-shortcut-BHylGMNu.js} +3 -3
  73. package/dist/cdn/chunks/{languages-BCn4J5Ck.js → languages-DghCYmiz.js} +12 -12
  74. package/dist/cdn/chunks/layout-pass-Cq85kSHX.js +45 -0
  75. package/dist/cdn/chunks/{link-CTj3dTmJ.js → link-S53veJpD.js} +6 -6
  76. package/dist/cdn/chunks/{link-group--C486tYV.js → link-group-B2_vdANe.js} +2 -2
  77. package/dist/cdn/chunks/{list-DApLHKj-.js → list-C8hY4uGW.js} +48 -34
  78. package/dist/cdn/chunks/{list-item-BN9uuvXr.js → list-item-CK1Rli4F.js} +5 -6
  79. package/dist/cdn/chunks/{list-item-segment-CvdZT9Ni.js → list-item-segment-KyrcOFDA.js} +3 -3
  80. package/dist/cdn/chunks/{menu-bar-g-O3_TNl.js → menu-bar-BRoqy5zp.js} +62 -46
  81. package/dist/cdn/chunks/{menu-bar-item-tOFEx-lS.js → menu-bar-item-DKW198ZW.js} +6 -6
  82. package/dist/cdn/chunks/{menu-divider-Dmv0lMHV.js → menu-divider-DDPBPK-o.js} +3 -3
  83. package/dist/cdn/chunks/{menu-group-Ci9QUUwZ.js → menu-group-uZXsE-uu.js} +4 -4
  84. package/dist/cdn/chunks/{menu-item-BnIbV4yo.js → menu-item-BOvb4QLd.js} +16 -12
  85. package/dist/cdn/chunks/{menu-2-9LtMLY.js → menu-m67vk1Z4.js} +20 -19
  86. package/dist/cdn/chunks/{menu.template-sPjaMfc8.js → menu.template-v6VnRUNJ.js} +105 -76
  87. package/dist/cdn/chunks/{modal-dialog-D-jAbabe.js → modal-dialog-BNq0r-1L.js} +4 -4
  88. package/dist/cdn/chunks/{multi-line-text-field-uBZqAdr6.js → multi-line-text-field-Bfq47I3P.js} +6 -6
  89. package/dist/cdn/chunks/{navigation-split-view-DARbBPq-.js → navigation-split-view-BiPoxCLL.js} +59 -47
  90. package/dist/cdn/chunks/{notification-CntIGoYh.js → notification-DjZXBv4J.js} +6 -6
  91. package/dist/cdn/chunks/{number-field-C0MTabLP.js → number-field-tqoQLrgZ.js} +8 -8
  92. package/dist/cdn/chunks/{one-half-one-half-section-DYzf6LtU.js → one-half-one-half-section-CyIm21PD.js} +15 -16
  93. package/dist/cdn/chunks/{one-third-two-thirds-section-AAiaxCHH.js → one-third-two-thirds-section-CpnK0vzB.js} +15 -16
  94. package/dist/cdn/chunks/{one-time-code-field-CCILuCy1.js → one-time-code-field-6sMEfzoY.js} +103 -64
  95. package/dist/cdn/chunks/{overflow-menu-DFoh3xL_.js → overflow-menu-IfYEX8tm.js} +1 -1
  96. package/dist/cdn/chunks/{page-footer-BsVMZCXs.js → page-footer-ET6j1N2Z.js} +4 -4
  97. package/dist/cdn/chunks/{page-section-mixin-L0bl3wCm.js → page-section-mixin-D9JL2q9A.js} +3 -3
  98. package/dist/cdn/chunks/{page-BDXLREou.js → page-w4XAfBWD.js} +76 -54
  99. package/dist/cdn/chunks/{pagination-DLwbSZdO.js → pagination-D7QFUu8x.js} +6 -6
  100. package/dist/cdn/chunks/{password-field-DKTJgEyb.js → password-field-Ck5wx6pg.js} +8 -8
  101. package/dist/cdn/chunks/{popover-RB7uLASo.js → popover-DOmi5m85.js} +5 -5
  102. package/dist/cdn/chunks/{progress-bar-DnXWbmiw.js → progress-bar-BDNcB06i.js} +10 -7
  103. package/dist/cdn/chunks/{progress-circle-S89MUtU8.js → progress-circle-BAMztpb3.js} +10 -7
  104. package/dist/cdn/chunks/{radio-button-B31lAjlk.js → radio-button-DAps6n0Q.js} +92 -51
  105. package/dist/cdn/chunks/{radio-button-field-BF4MHiOQ.js → radio-button-field-BbPk0nM_.js} +8 -7
  106. package/dist/cdn/chunks/{radio-button-group-BQUqV8wJ.js → radio-button-group-lxzwku00.js} +3 -3
  107. package/dist/cdn/chunks/{render-marked-ChJNzktf.js → render-marked-ClMFyNu0.js} +1 -1
  108. package/dist/cdn/chunks/{reorder-handle-cell-SEERkeh7.js → reorder-handle-cell-Cap2u2zx.js} +4 -4
  109. package/dist/cdn/chunks/{reorder-handle-mixin-tWe9XTjZ.js → reorder-handle-mixin-CnRKPVqU.js} +2 -2
  110. package/dist/cdn/chunks/{repeat-CdCK17GF.js → repeat-CIyCvHHQ.js} +2 -2
  111. package/dist/cdn/chunks/{rich-text-vVWOndD2.js → rich-text-CblFmHY-.js} +3 -3
  112. package/dist/cdn/chunks/{row-header-mixin-6MoJ5Mjq.js → row-header-mixin-C8z9StDU.js} +2 -2
  113. package/dist/cdn/chunks/{scroll-fade-Cr7_IXpU.js → scroll-fade-C_L9CJrR.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-JeUPcBjZ.js} +10 -10
  116. package/dist/cdn/chunks/{segmented-control-DkILAMOJ.js → segmented-control-DtycvVyp.js} +7 -7
  117. package/dist/cdn/chunks/{shadow-resets-9v6K-Fie.js → shadow-resets-DgR56wQK.js} +2 -2
  118. package/dist/cdn/chunks/{sheet-D89xI-KY.js → sheet-XtRs26hN.js} +3 -3
  119. package/dist/cdn/chunks/{shell-CFmfUD0_.js → shell-CCaEEGna.js} +4 -4
  120. package/dist/cdn/chunks/{side-by-side-split-view-ir9c0mwZ.js → side-by-side-split-view-mhXD4Lde.js} +38 -29
  121. package/dist/cdn/chunks/{sidebar-section-BhJXels3.js → sidebar-section-Cwd4LSE6.js} +70 -48
  122. package/dist/cdn/chunks/{simple-section-CMoYuLYV.js → simple-section-BuiaCGks.js} +9 -10
  123. package/dist/cdn/chunks/{skip-link-rUQq0D-l.js → skip-link-nTlmioFt.js} +4 -4
  124. package/dist/cdn/chunks/{slider-CIQqjKUo.js → slider-C0rNQEIY.js} +9 -9
  125. package/dist/cdn/chunks/{spacer-CD85egxE.js → spacer-CeSO9CP1.js} +2 -2
  126. package/dist/cdn/chunks/{spacer-cell-B33mGdru.js → spacer-cell-NhlxEdhA.js} +4 -4
  127. package/dist/cdn/chunks/{split-button-COL7r-wa.js → split-button-BR-ccA6_.js} +7 -7
  128. package/dist/cdn/chunks/{split-view-divider-DVBuBzeO.js → split-view-divider-HcIV0yli.js} +2 -2
  129. package/dist/cdn/chunks/{split-view-pane-CSvIzeBg.js → split-view-pane-BgFUL3BV.js} +4 -4
  130. package/dist/cdn/chunks/{stacked-split-view-onSk2QEi.js → stacked-split-view-j77p3uE2.js} +29 -25
  131. package/dist/cdn/chunks/{static-html-Cyhp44gp.js → static-html-CGoLwgpW.js} +1 -1
  132. package/dist/cdn/chunks/{status-bar-CjYXOQAX.js → status-bar-ByJ21hV2.js} +29 -17
  133. package/dist/cdn/chunks/{step-bar-D-To0TEw.js → step-bar-CRxF0S42.js} +5 -5
  134. package/dist/cdn/chunks/{step-cell-B7sVGixc.js → step-cell-C-gOxNA6.js} +5 -5
  135. package/dist/cdn/chunks/{stepper-h6boMOhz.js → stepper-Dmljb7Qc.js} +7 -7
  136. package/dist/cdn/chunks/{style-map-BrdTV34-.js → style-map-CK811FGv.js} +1 -1
  137. package/dist/cdn/chunks/{swatch-picker-gQ3m3y9U.js → swatch-picker-DtAgTXLo.js} +6 -6
  138. package/dist/cdn/chunks/{switch-DC-BTi9E.js → switch-Bqion92b.js} +5 -5
  139. package/dist/cdn/chunks/{switch-field-D82mLobj.js → switch-field-CWobTcEn.js} +6 -6
  140. package/dist/cdn/chunks/{tab-bar-sKiFzvfj.js → tab-bar-DPtRjP8Z.js} +85 -49
  141. package/dist/cdn/chunks/{table-CuxZfCZD.js → table-C4CFiDgr.js} +111 -54
  142. package/dist/cdn/chunks/{tag-DP_ome5l.js → tag-Bo23A60g.js} +4 -4
  143. package/dist/cdn/chunks/{term-BdiTV-Jk.js → term-DPMEWR-t.js} +12 -12
  144. package/dist/cdn/chunks/{text-C-b1ygHI.js → text-CuiMvMZQ.js} +3 -3
  145. package/dist/cdn/chunks/{text-cell-DfRh7JqZ.js → text-cell-E3yc99xw.js} +8 -8
  146. package/dist/cdn/chunks/{text-editor-DuT9Rrpv.js → text-editor-BVmHiq_b.js} +191 -191
  147. package/dist/cdn/chunks/{text-field-kAbXzkUj.js → text-field-DOv1aI_F.js} +6 -6
  148. package/dist/cdn/chunks/{time-field-DUz9ifmn.js → time-field-BhlLk6tt.js} +14 -14
  149. package/dist/cdn/chunks/{time-picker-DGOKwC9T.js → time-picker-A4-HeVas.js} +170 -99
  150. package/dist/cdn/chunks/{title-BA-SUyAq.js → title-EMt-SYKV.js} +4 -4
  151. package/dist/cdn/chunks/{title-cell-Cu5NFNUu.js → title-cell--EE-L_8a.js} +8 -8
  152. package/dist/cdn/chunks/{toggle-button-J6UapeqB.js → toggle-button-BLwpxmQs.js} +8 -8
  153. package/dist/cdn/chunks/{toggle-button-group-wrps-tL9.js → toggle-button-group-scdxolJt.js} +2 -2
  154. package/dist/cdn/chunks/{token-DJkyJz-k.js → token-DVgXuCRO.js} +5 -5
  155. package/dist/cdn/chunks/{token-field-SiBFPD8-.js → token-field-CICQXLlO.js} +12 -12
  156. package/dist/cdn/chunks/toolbar-Des2gaH2.js +441 -0
  157. package/dist/cdn/chunks/{toolbar-item-DPizdgYi.js → toolbar-item-CkwQ2UyY.js} +3 -3
  158. package/dist/cdn/chunks/{toolbar-title-CB4IJFGv.js → toolbar-title-PoOf794l.js} +4 -4
  159. package/dist/cdn/chunks/{toolbar.styles-vmMPyzS_.js → toolbar.styles-DzreUGTp.js} +3 -3
  160. package/dist/cdn/chunks/{tooltip-Bg2ovCCg.js → tooltip-CMCT2iiD.js} +4 -4
  161. package/dist/cdn/chunks/{top-navigation-bar-vA8wpJXS.js → top-navigation-bar-BfMGgTIy.js} +121 -104
  162. package/dist/cdn/chunks/{top-title-bar-BAJGmgnj.js → top-title-bar-CvvldlNt.js} +43 -30
  163. package/dist/cdn/chunks/{translations-Cjd13Xb6.js → translations-C5JpcNNC.js} +1 -1
  164. package/dist/cdn/chunks/{two-thirds-one-third-section-D1FvorKO.js → two-thirds-one-third-section-BTkeIiHm.js} +15 -16
  165. package/dist/cdn/chunks/{validation-list-D3rKnfTu.js → validation-list-BasB3ZaT.js} +3 -3
  166. package/dist/cdn/chunks/{visibility-mixin-BRMACV1l.js → visibility-mixin-BxhcJG-x.js} +2 -2
  167. package/dist/cdn/chunks/{visually-hidden-BukWRiJA.js → visually-hidden-ByHY8pKl.js} +2 -2
  168. package/dist/cdn/chunks/{window-C9njVzzK.js → window-B5blEfMR.js} +4 -4
  169. package/dist/cdn/chunks/{with-translations-BLzHPSUF.js → with-translations-QDhHJYMT.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/forms/form-field/form-field.d.ts.map +1 -1
  208. package/dist/components/forms/form-field/form-field.js +4 -0
  209. package/dist/components/forms/form-field/form-field.js.map +1 -1
  210. package/dist/components/inputs/combo-box/combo-box.d.ts +8 -0
  211. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  212. package/dist/components/inputs/combo-box/combo-box.js +28 -9
  213. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  214. package/dist/components/inputs/date-picker/date-picker.d.ts +11 -0
  215. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  216. package/dist/components/inputs/date-picker/date-picker.js +23 -0
  217. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  218. package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
  219. package/dist/components/inputs/date-picker/date-picker.template.js +4 -2
  220. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  221. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  222. package/dist/components/inputs/file-field/file-field.js +6 -1
  223. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  224. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +27 -5
  225. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  226. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +128 -30
  227. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  228. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  229. package/dist/components/inputs/radio-button/radio-button.js +5 -2
  230. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  231. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  232. package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -2
  233. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  234. package/dist/components/inputs/text-editor/text-editor.annotations.js +1 -1
  235. package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
  236. package/dist/components/inputs/text-editor/text-editor.js +2 -2
  237. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  238. package/dist/components/inputs/text-editor/text-editor.selection.js +1 -1
  239. package/dist/components/inputs/text-editor/text-editor.selection.js.map +1 -1
  240. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
  241. package/dist/components/inputs/text-editor/text-editor.toolbar.js +18 -12
  242. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
  243. package/dist/components/inputs/time-picker/time-picker.d.ts +23 -0
  244. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  245. package/dist/components/inputs/time-picker/time-picker.js +132 -12
  246. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  247. package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
  248. package/dist/components/inputs/time-picker/time-picker.styles.js +27 -6
  249. package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
  250. package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
  251. package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
  252. package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
  253. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  254. package/dist/components/inputs/token-field/token-field.js +3 -0
  255. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  256. package/dist/components/layout/collection/collection.d.ts +9 -1
  257. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  258. package/dist/components/layout/collection/collection.js +96 -38
  259. package/dist/components/layout/collection/collection.js.map +1 -1
  260. package/dist/components/layout/container/container.d.ts +1 -0
  261. package/dist/components/layout/container/container.d.ts.map +1 -1
  262. package/dist/components/layout/container/container.js +22 -16
  263. package/dist/components/layout/container/container.js.map +1 -1
  264. package/dist/components/layout/kanban/kanban-column.d.ts +7 -2
  265. package/dist/components/layout/kanban/kanban-column.d.ts.map +1 -1
  266. package/dist/components/layout/kanban/kanban-column.js +49 -17
  267. package/dist/components/layout/kanban/kanban-column.js.map +1 -1
  268. package/dist/components/layout/kanban/kanban.d.ts +4 -1
  269. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  270. package/dist/components/layout/kanban/kanban.js +25 -7
  271. package/dist/components/layout/kanban/kanban.js.map +1 -1
  272. package/dist/components/layout/kanban/kanban.template.js +1 -1
  273. package/dist/components/layout/kanban/kanban.template.js.map +1 -1
  274. package/dist/components/layout/page/page.d.ts +39 -12
  275. package/dist/components/layout/page/page.d.ts.map +1 -1
  276. package/dist/components/layout/page/page.js +112 -66
  277. package/dist/components/layout/page/page.js.map +1 -1
  278. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -1
  279. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  280. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -1
  281. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  282. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  283. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +6 -7
  284. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  285. package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
  286. package/dist/components/layout/page-sections/hero/hero-corner.js +24 -1
  287. package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
  288. package/dist/components/layout/page-sections/hero/hero-corner.styles.js +22 -22
  289. package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
  290. package/dist/components/layout/page-sections/hero/hero.d.ts +2 -0
  291. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  292. package/dist/components/layout/page-sections/hero/hero.js +2 -0
  293. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  294. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  295. package/dist/components/layout/page-sections/hero/hero.styles.js +8 -11
  296. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  297. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -2
  298. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  299. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +4 -2
  300. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  301. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  302. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +12 -13
  303. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  304. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -2
  305. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  306. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +4 -2
  307. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  308. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  309. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +12 -13
  310. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  311. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +12 -9
  312. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  313. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +66 -21
  314. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  315. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
  316. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +23 -17
  317. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
  318. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
  319. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +5 -0
  320. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
  321. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +4 -3
  322. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  323. package/dist/components/layout/page-sections/simple-section/simple-section.js +4 -3
  324. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  325. package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
  326. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +6 -7
  327. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  328. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -2
  329. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  330. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +4 -2
  331. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  332. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  333. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +12 -13
  334. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  335. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +2 -1
  336. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  337. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +30 -17
  338. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  339. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +8 -3
  340. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  341. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +35 -20
  342. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  343. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +1 -1
  344. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +6 -2
  345. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  346. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +30 -15
  347. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  348. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +1 -1
  349. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +6 -3
  350. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  351. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +28 -16
  352. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  353. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +1 -1
  354. package/dist/components/lists-and-tables/list/list.d.ts +19 -0
  355. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  356. package/dist/components/lists-and-tables/list/list.js +47 -15
  357. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  358. package/dist/components/lists-and-tables/list/list.roving.d.ts +2 -1
  359. package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -1
  360. package/dist/components/lists-and-tables/list/list.roving.js +7 -3
  361. package/dist/components/lists-and-tables/list/list.roving.js.map +1 -1
  362. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  363. package/dist/components/lists-and-tables/list-item/list-item.styles.js +0 -1
  364. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  365. package/dist/components/lists-and-tables/table/table.d.ts +34 -6
  366. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  367. package/dist/components/lists-and-tables/table/table.js +143 -40
  368. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  369. package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
  370. package/dist/components/lists-and-tables/table/table.styles.js +13 -0
  371. package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
  372. package/dist/components/lists-and-tables/table/table.template.d.ts.map +1 -1
  373. package/dist/components/lists-and-tables/table/table.template.js +6 -0
  374. package/dist/components/lists-and-tables/table/table.template.js.map +1 -1
  375. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +33 -2
  376. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  377. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +136 -38
  378. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  379. package/dist/components/navigation/menu-bar/menu-bar.d.ts +21 -3
  380. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  381. package/dist/components/navigation/menu-bar/menu-bar.js +61 -29
  382. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  383. package/dist/components/navigation/tab-bar/tab-bar.d.ts +26 -4
  384. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  385. package/dist/components/navigation/tab-bar/tab-bar.js +99 -24
  386. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  387. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  388. package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -0
  389. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  390. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +23 -14
  391. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  392. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +126 -83
  393. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  394. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +28 -28
  395. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  396. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +5 -1
  397. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  398. package/dist/components/navigation/top-title-bar/top-title-bar.js +36 -13
  399. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  400. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -0
  401. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  402. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +6 -0
  403. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  404. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -0
  405. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  406. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +6 -0
  407. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  408. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +0 -1
  409. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  410. package/dist/components/status-and-feedback/status-bar/status-bar.js +26 -6
  411. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  412. package/dist/nldd.min.js +880 -814
  413. package/dist/types/react.d.ts +8 -8
  414. package/dist/types/vue.d.ts +8 -8
  415. package/dist/utilities/after-parse.d.ts +30 -0
  416. package/dist/utilities/after-parse.d.ts.map +1 -0
  417. package/dist/utilities/after-parse.js +44 -0
  418. package/dist/utilities/after-parse.js.map +1 -0
  419. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  420. package/dist/utilities/dev-rules.generated.js +12 -0
  421. package/dist/utilities/dev-rules.generated.js.map +1 -1
  422. package/dist/utilities/frame-pass.d.ts +28 -0
  423. package/dist/utilities/frame-pass.d.ts.map +1 -0
  424. package/dist/utilities/frame-pass.js +41 -0
  425. package/dist/utilities/frame-pass.js.map +1 -0
  426. package/dist/utilities/layout-pass.d.ts +49 -0
  427. package/dist/utilities/layout-pass.d.ts.map +1 -0
  428. package/dist/utilities/layout-pass.js +103 -0
  429. package/dist/utilities/layout-pass.js.map +1 -0
  430. package/dist/utilities/radio-grouping.d.ts +30 -4
  431. package/dist/utilities/radio-grouping.d.ts.map +1 -1
  432. package/dist/utilities/radio-grouping.js +98 -17
  433. package/dist/utilities/radio-grouping.js.map +1 -1
  434. package/dist/utilities/scroll-mode-controller.d.ts +13 -6
  435. package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
  436. package/dist/utilities/scroll-mode-controller.js +47 -21
  437. package/dist/utilities/scroll-mode-controller.js.map +1 -1
  438. package/lint/data.generated.json +1 -1
  439. package/package.json +1 -1
  440. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +0 -42
  441. package/dist/cdn/chunks/toolbar-be8hoSAz.js +0 -364
@@ -1,14 +1,15 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, r as n, t as r } from "./decorate-CeGXihRM.js";
3
- import { n as i, r as a, s as o } from "./custom-element-DD4ffKRs.js";
2
+ import { n as t, r as n, t as r } from "./decorate-1aEyfetK.js";
3
+ import { n as i, r as a, s as o } from "./custom-element-D8yf5dqU.js";
4
4
  import { t as s } from "./custom-element-BW8Ua4c7.js";
5
- import { i as c, r as l } from "./scroll-mode-controller-COUD1-3P.js";
6
- import { a as u } from "./shadow-resets-9v6K-Fie.js";
7
- import { r as d, t as f } from "./static-html-Cyhp44gp.js";
8
- import { r as p } from "./element-state-B-44fVqq.js";
9
- import { t as m } from "./reflect-non-default-Bu3rpCvg.js";
5
+ import { a as c, i as l, o as u, r as d } from "./scroll-mode-controller-Dl5hddJo.js";
6
+ import { a as f } from "./shadow-resets-DgR56wQK.js";
7
+ import { r as p, t as m } from "./static-html-CGoLwgpW.js";
8
+ import { r as h } from "./element-state-B-44fVqq.js";
9
+ import { t as g } from "./reflect-non-default-Bu3rpCvg.js";
10
+ import { n as _, t as v } from "./layout-pass-Cq85kSHX.js";
10
11
  // src/components/layout/page/page.styles.ts
11
- var h = o`
12
+ var y = o`
12
13
  :host {
13
14
  box-sizing: border-box;
14
15
  }
@@ -54,13 +55,13 @@ var h = o`
54
55
 
55
56
  :host([background="base"]) {
56
57
  --context-background-color: var(--semantics-surfaces-base-background-color);
57
- ${u}
58
+ ${f}
58
59
  --_page-background-color: var(--context-background-color);
59
60
  }
60
61
 
61
62
  :host([background="tinted"]) {
62
63
  --context-background-color: var(--semantics-surfaces-tinted-background-color);
63
- ${u}
64
+ ${f}
64
65
  --_page-background-color: var(--context-background-color);
65
66
  }
66
67
 
@@ -262,9 +263,9 @@ var h = o`
262
263
  }
263
264
  `;
264
265
  // src/components/layout/page/page.template.ts
265
- function g(e) {
266
- let t = e._isRegion, r = t ? f`section` : f`div`, i = t ? f`div` : f`main`, a = e.accessibleLabel.trim() || n;
267
- return d`
266
+ function b(e) {
267
+ let t = e._isRegion, r = t ? m`section` : m`div`, i = t ? m`div` : m`main`, a = e.accessibleLabel.trim() || n;
268
+ return p`
268
269
  <${r} class="page"
269
270
  aria-label=${t ? a : n}
270
271
  >
@@ -285,34 +286,37 @@ function g(e) {
285
286
  `;
286
287
  }
287
288
  // src/components/layout/page/page.ts
288
- var _ = /* @__PURE__ */ e({ NLDDPage: () => w }), v;
289
- function y(e) {
289
+ var x = /* @__PURE__ */ e({ NLDDPage: () => j }), S;
290
+ function C(e) {
291
+ let t = e.filter((e) => e.isConnected), n = t.filter((e) => e._insetsReady), r = n.map((e) => e._measureInsets());
292
+ n.forEach((e, t) => e._applyInsets(r[t]));
293
+ let i = t.map((e) => e._readScrollState());
294
+ t.forEach((e, t) => e._applyScrollState(i[t]));
295
+ }
296
+ var w = _(C), T = new v(C);
297
+ function E(e) {
290
298
  return e.tabIndex < 0 || e.matches(":disabled") || e.localName === "a" && !e.hasAttribute("href") && !e.hasAttribute("tabindex") ? !1 : e.checkVisibility({ visibilityProperty: !0 });
291
299
  }
292
- function b(e) {
300
+ function D(e) {
293
301
  let t = (n) => {
294
- for (let r of n.children) if (!(!(r instanceof HTMLElement) || r.hidden || r.inert) && (n !== e || r.slot !== "header") && (y(r) || r.shadowRoot && t(r.shadowRoot) || t(r))) return !0;
302
+ for (let r of n.children) if (!(!(r instanceof HTMLElement) || r.hidden || r.inert) && (n !== e || r.slot !== "header") && (E(r) || r.shadowRoot && t(r.shadowRoot) || t(r))) return !0;
295
303
  return !1;
296
304
  };
297
305
  return t(e);
298
306
  }
299
- var x = [
307
+ var O = [
300
308
  "nldd-sheet",
301
309
  "nldd-modal-dialog",
302
310
  "nldd-window",
303
311
  "nldd-popover"
304
- ], S = [
312
+ ], k = [
305
313
  "nldd-navigation-split-view",
306
314
  "nldd-side-by-side-split-view",
307
315
  "nldd-stacked-split-view"
308
- ], C = /* @__PURE__ */ new Set(), w = (v = class extends t {
316
+ ], A = /* @__PURE__ */ new Set(), j = (S = class extends t {
309
317
  constructor(...e) {
310
- super(...e), this.background = "inherit", this.accessibleLabel = "", this.stickyHeader = !1, this.stickyFooter = !1, this.landmarks = "auto", this._scrolled = !1, this._atEnd = !0, this._derived = "page", this._scrollMode = "nested", this._scrollTarget = null, this._scrollProvider = null, this._insetObserver = null, this._headerFullHeight = 0, this._mainSlot = null, this._mainAttrObserver = null, this._resizeRaf = 0, this._adoptScrollProvider = (e) => {
311
- this._scrollProvider || (window.removeEventListener("resize", this._onResize), this._scrollProvider = e, e.registerScrollConsumer(this), this.hasUpdated && this._configureScroll());
312
- }, this._onResize = () => {
313
- this._resizeRaf || (this._resizeRaf = requestAnimationFrame(() => {
314
- this._resizeRaf = 0, this._readScrollMode() && this._configureScroll();
315
- }));
318
+ super(...e), this.background = "inherit", this.accessibleLabel = "", this.stickyHeader = !1, this.stickyFooter = !1, this.landmarks = "auto", this._scrolled = !1, this._atEnd = !0, this._derived = "page", this._renderedRegion = null, this._scrollMode = "nested", this._scrollTarget = null, this._scrollProvider = null, this._insetsReady = !1, this._headerFullHeight = 0, this._mainSlot = null, this._mainAttrObserver = null, this._scrollConfigured = !1, this._adoptScrollProvider = (e) => {
319
+ this._scrollProvider || (c(this), this._scrollProvider = e, e.registerScrollConsumer(this), this.hasUpdated && this._configureScroll());
316
320
  }, this._onScroll = () => {
317
321
  if (this._isRoot) {
318
322
  let e = document.documentElement;
@@ -334,7 +338,7 @@ var x = [
334
338
  _deriveLandmarks() {
335
339
  for (let e = this.parentElement; e; e = e.parentElement) {
336
340
  let t = e.localName;
337
- if (x.includes(t) || S.includes(t)) {
341
+ if (O.includes(t) || k.includes(t)) {
338
342
  this._derived = "region";
339
343
  return;
340
344
  }
@@ -343,8 +347,8 @@ var x = [
343
347
  }
344
348
  _syncSecondMain() {
345
349
  if (!import.meta.env?.DEV) return;
346
- let [, ...e] = [...C].filter((e) => !e._isRegion);
347
- p(this, "second-main", e.includes(this));
350
+ let [, ...e] = [...A].filter((e) => !e._isRegion);
351
+ h(this, "second-main", e.includes(this));
348
352
  }
349
353
  get _isRoot() {
350
354
  return this._scrollMode === "root";
@@ -365,44 +369,62 @@ var x = [
365
369
  return this.shadowRoot?.querySelector(".page__footer") ?? null;
366
370
  }
367
371
  connectedCallback() {
368
- super.connectedCallback(), this._deriveLandmarks(), C.add(this), this.style.containerType = "inline-size", this.style.containerName = "layout-container", this._scrollProvider = l(this), this._scrollProvider ? (this._scrollProvider.registerScrollConsumer(this), this.hasUpdated && this._configureScroll()) : (window.addEventListener("resize", this._onResize, { passive: !0 }), this.hasUpdated && (this._readScrollMode(), this._configureScroll()), c(this, this._adoptScrollProvider));
372
+ super.connectedCallback(), this._deriveLandmarks(), A.add(this), this.style.containerType = "inline-size", this.style.containerName = "layout-container page-container", this._scrollProvider = l(this), this._scrollProvider ? (this._scrollProvider.registerScrollConsumer(this), this.hasUpdated && this._configureScroll()) : (this.hasUpdated && (this._scrollConfigured = !1, d(this, this.ownerDocument)), u(this, this._adoptScrollProvider)), this.hasUpdated && this._setupMainSlotListener();
369
373
  }
370
374
  disconnectedCallback() {
371
- super.disconnectedCallback(), C.delete(this), window.removeEventListener("resize", this._onResize), this._scrollProvider?.unregisterScrollConsumer(this), this._scrollProvider = null, this._resizeRaf && cancelAnimationFrame(this._resizeRaf), this._teardownScrollListener(), this._teardownInsetObserver(), this._teardownMainSlotListener();
375
+ super.disconnectedCallback(), A.delete(this), T.cancel(this), c(this), this._scrollProvider?.unregisterScrollConsumer(this), this._scrollProvider = null, this._teardownScrollListener(), this._teardownInsetObserver(), this._teardownMainSlotListener();
372
376
  }
373
377
  firstUpdated() {
374
- this._scrollProvider || this._readScrollMode(), this._configureScroll(), this._setupMainSlotListener();
378
+ this._scrollProvider ? this._configureScroll() : d(this, this.ownerDocument), this._setupMainSlotListener();
375
379
  }
376
380
  updated(e) {
377
- e.has("stickyHeader") && this._configureScroll(), this._syncSecondMain();
381
+ let t = this._renderedRegion !== null && this._renderedRegion !== this._isRegion;
382
+ this._renderedRegion = this._isRegion, t && this._setupMainSlotListener(), (e.has("stickyHeader") || t && this._scrollConfigured) && this._configureScroll(), this._syncSecondMain();
378
383
  }
379
384
  readScrollMode(e) {
380
- this._readScrollMode(e) && this._configureScroll();
385
+ (this._readScrollMode(e) || !this._scrollConfigured) && this._configureScroll();
381
386
  }
382
387
  _readScrollMode(e) {
383
- let t = e ?? (getComputedStyle(this).getPropertyValue("--context-scroll-mode").trim() === "root" ? "root" : "nested");
388
+ let t = e ?? this.inheritedScrollMode();
384
389
  return t !== this._scrollMode && (this._scrollMode = t, this.dataset.scroll = t, !0);
385
390
  }
391
+ inheritedScrollMode() {
392
+ return getComputedStyle(this).getPropertyValue("--context-scroll-mode").trim() === "root" ? "root" : "nested";
393
+ }
386
394
  _configureScroll() {
387
- this._teardownScrollListener(), this._setupScrollListener(), this._headerFullHeight = 0, this._setupInsetObserver(), this._onScroll();
395
+ this._scrollConfigured = !0, this._teardownScrollListener(), this._setupScrollListener(), this._headerFullHeight = 0, this._setupInsetObserver(), T.schedule(this, this.ownerDocument);
388
396
  }
389
397
  _setupInsetObserver() {
390
398
  this._teardownInsetObserver();
391
399
  let e = this._headerEl, t = this._footerEl;
392
400
  if (!e || !t) return;
393
- let n = () => {
394
- this._publish("--_page-header-height", `${this.stickyHeader ? e.offsetHeight : 0}px`), this._publish("--_page-footer-height", `${this.stickyFooter ? t.offsetHeight : 0}px`), this._publish("--_page-header-full-height", `${this._measureHeaderFullHeight(e)}px`), this._isRoot ? this.style.removeProperty("--_page-scroll-height") : this._publish("--_page-scroll-height", `${this._scrollEl?.clientHeight ?? 0}px`), this._onScroll(), this._syncScrollerFocus();
401
+ this._insetsReady = !0, w.observe(e, this), w.observe(t, this), this._scrollEl && w.observe(this._scrollEl, this);
402
+ let n = this.shadowRoot?.querySelector(".page__main");
403
+ n && w.observe(n, this);
404
+ }
405
+ _measureInsets() {
406
+ let e = this._headerEl;
407
+ return {
408
+ header: this.stickyHeader ? e.offsetHeight : 0,
409
+ footer: this.stickyFooter ? this._footerEl.offsetHeight : 0,
410
+ headerFull: this._measureHeaderFullHeight(e),
411
+ scroll: this._isRoot ? null : this._scrollEl?.clientHeight ?? 0
395
412
  };
396
- n(), this._insetObserver = new ResizeObserver(n), this._insetObserver.observe(e), this._insetObserver.observe(t), this._scrollEl && this._insetObserver.observe(this._scrollEl);
397
- let r = this.shadowRoot?.querySelector(".page__main");
398
- r && this._insetObserver.observe(r);
399
413
  }
400
- _syncScrollerFocus() {
414
+ _applyInsets(e) {
415
+ this._publish("--_page-header-height", `${e.header}px`), this._publish("--_page-footer-height", `${e.footer}px`), this._publish("--_page-header-full-height", `${e.headerFull}px`), e.scroll === null ? this.style.removeProperty("--_page-scroll-height") : this._publish("--_page-scroll-height", `${e.scroll}px`);
416
+ }
417
+ _readScrollState() {
418
+ this._onScroll();
401
419
  let e = this._scrollEl;
402
- e && (!this._isRoot && e.scrollHeight > e.clientHeight && !b(this) ? e.setAttribute("tabindex", "0") : e.removeAttribute("tabindex"));
420
+ return { focusable: !!e && !this._isRoot && e.scrollHeight > e.clientHeight && !D(this) };
421
+ }
422
+ _applyScrollState({ focusable: e }) {
423
+ let t = this._scrollEl;
424
+ t && (e ? t.setAttribute("tabindex", "0") : t.removeAttribute("tabindex"));
403
425
  }
404
426
  _teardownInsetObserver() {
405
- this._insetObserver && (this._insetObserver.disconnect(), this._insetObserver = null);
427
+ this._insetsReady = !1, w.unobserveAll(this);
406
428
  }
407
429
  _publish(e, t) {
408
430
  this.style.getPropertyValue(e) !== t && this.style.setProperty(e, t);
@@ -432,25 +454,25 @@ var x = [
432
454
  this._mainSlot && (this._mainSlot.removeEventListener("slotchange", this._updateMainItems), this._mainSlot = null), this._mainAttrObserver?.disconnect(), this._mainAttrObserver = null;
433
455
  }
434
456
  render() {
435
- return g(this);
457
+ return b(this);
436
458
  }
437
- }, v.styles = h, v);
459
+ }, S.styles = y, S);
438
460
  r([a({
439
461
  reflect: !0,
440
- converter: m("inherit")
441
- })], w.prototype, "background", void 0), r([a({
462
+ converter: g("inherit")
463
+ })], j.prototype, "background", void 0), r([a({
442
464
  type: String,
443
465
  attribute: "accessible-label"
444
- })], w.prototype, "accessibleLabel", void 0), r([a({
466
+ })], j.prototype, "accessibleLabel", void 0), r([a({
445
467
  type: Boolean,
446
468
  reflect: !0,
447
469
  attribute: "sticky-header"
448
- })], w.prototype, "stickyHeader", void 0), r([a({
470
+ })], j.prototype, "stickyHeader", void 0), r([a({
449
471
  type: Boolean,
450
472
  reflect: !0,
451
473
  attribute: "sticky-footer"
452
- })], w.prototype, "stickyFooter", void 0), r([a({
474
+ })], j.prototype, "stickyFooter", void 0), r([a({
453
475
  reflect: !0,
454
- converter: m("auto")
455
- })], w.prototype, "landmarks", void 0), r([i()], w.prototype, "_scrolled", void 0), r([i()], w.prototype, "_atEnd", void 0), r([i()], w.prototype, "_derived", void 0), w = r([s("nldd-page")], w);
456
- export { _ as t };
476
+ converter: g("auto")
477
+ })], j.prototype, "landmarks", void 0), r([i()], j.prototype, "_scrolled", void 0), r([i()], j.prototype, "_atEnd", void 0), r([i()], j.prototype, "_derived", void 0), j = r([s("nldd-page")], j);
478
+ export { x as t };
@@ -1,12 +1,12 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CeGXihRM.js";
2
- import { r as i, s as a } from "./custom-element-DD4ffKRs.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-1aEyfetK.js";
2
+ import { r as i, s as a } from "./custom-element-D8yf5dqU.js";
3
3
  import { t as o } from "./custom-element-BW8Ua4c7.js";
4
- import { t as s } from "./shadow-resets-9v6K-Fie.js";
5
- import "./icon-button-h_sEz0Ia.js";
6
- import "./icon-CVM6X_F1.js";
4
+ import { t as s } from "./shadow-resets-DgR56wQK.js";
5
+ import "./icon-button-BBGwCfYp.js";
6
+ import "./icon-CkCT7sPE.js";
7
7
  import { t as c } from "./pagination.i18n-QQMx14CQ.js";
8
8
  import { n as l } from "./input-modality-XE0B7yCn.js";
9
- import { t as u } from "./translations-Cjd13Xb6.js";
9
+ import { t as u } from "./translations-C5JpcNNC.js";
10
10
  import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
11
11
  // src/components/navigation/pagination/pagination.styles.ts
12
12
  var f = a`
@@ -1,15 +1,15 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CeGXihRM.js";
2
- import { r as i, s as a } from "./custom-element-DD4ffKRs.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-1aEyfetK.js";
2
+ import { r as i, s as a } from "./custom-element-D8yf5dqU.js";
3
3
  import { t as o } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as s } from "./query-ChDzi9FQ.js";
5
- import { t as c } from "./form-associated-mixin-CA0F9CPx.js";
5
+ import { t as c } from "./form-associated-mixin-BByNH679.js";
6
6
  import { t as l } from "./implicit-submission-Csbcor_E.js";
7
7
  import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
8
- import { t as d } from "./shadow-resets-9v6K-Fie.js";
9
- import "./icon-CVM6X_F1.js";
10
- import "./button-CKV-jwGY.js";
11
- import { t as f } from "./described-by-mixin-qFatR9dF.js";
12
- import { t as p } from "./translations-Cjd13Xb6.js";
8
+ import { t as d } from "./shadow-resets-DgR56wQK.js";
9
+ import "./icon-CkCT7sPE.js";
10
+ import "./button-muXGJHlo.js";
11
+ import { t as f } from "./described-by-mixin-DffYoaxu.js";
12
+ import { t as p } from "./translations-C5JpcNNC.js";
13
13
  import { t as m } from "./password-field.i18n-CzdBn-1b.js";
14
14
  // src/components/inputs/password-field/password-field.styles.ts
15
15
  var h = a`
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, o as n, t as r } from "./decorate-CeGXihRM.js";
3
- import { c as i, r as a, s as o } from "./custom-element-DD4ffKRs.js";
2
+ import { n as t, o as n, t as r } from "./decorate-1aEyfetK.js";
3
+ import { c as i, r as a, s as o } from "./custom-element-D8yf5dqU.js";
4
4
  import { t as s } from "./custom-element-BW8Ua4c7.js";
5
5
  import { c, n as l, r as u, s as d, t as f } from "./floating-ui.dom-CB34tcZx.js";
6
6
  import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
7
- import { t as m } from "./scroll-fade-Cr7_IXpU.js";
8
- import { a as h } from "./shadow-resets-9v6K-Fie.js";
7
+ import { t as m } from "./scroll-fade-C_L9CJrR.js";
8
+ import { a as h } from "./shadow-resets-DgR56wQK.js";
9
9
  import { n as g } from "./breakpoints-Cwor8TRP.js";
10
10
  import { t as _ } from "./popover.i18n-DmFBHUvB.js";
11
11
  import { n as v } from "./input-modality-XE0B7yCn.js";
12
- import { t as y } from "./translations-Cjd13Xb6.js";
12
+ import { t as y } from "./translations-C5JpcNNC.js";
13
13
  import { t as b } from "./dismiss-from-title-bar-C6mP7sWP.js";
14
14
  import { r as x } from "./element-state-B-44fVqq.js";
15
15
  import { n as S, t as C } from "./return-focus-CpwHVxYU.js";
@@ -1,13 +1,13 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CeGXihRM.js";
2
- import { n 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-1aEyfetK.js";
2
+ import { n as i, r as a, s as o } from "./custom-element-D8yf5dqU.js";
3
3
  import { t as s } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { t as l } from "./shadow-resets-9v6K-Fie.js";
6
- import { t as u } from "./if-defined-CvQli6P0.js";
7
- import { t as d } from "./class-map-CmgI2Tu-.js";
5
+ import { t as l } from "./shadow-resets-DgR56wQK.js";
6
+ import { t as u } from "./if-defined-CL4nn-Q-.js";
7
+ import { t as d } from "./class-map-D720ceWJ.js";
8
8
  import { t as f } from "./progress-bar.i18n-Cr5miGTx.js";
9
- import "./tooltip-Bg2ovCCg.js";
10
- import { t as p } from "./translations-Cjd13Xb6.js";
9
+ import "./tooltip-CMCT2iiD.js";
10
+ import { t as p } from "./translations-C5JpcNNC.js";
11
11
  import { r as m } from "./element-state-B-44fVqq.js";
12
12
  // src/components/status-and-feedback/progress-bar/progress-bar.styles.ts
13
13
  var h = o`
@@ -600,6 +600,9 @@ var C = (b = class extends e {
600
600
  }
601
601
  return e.name ? `${e.name}: ${r}` : r;
602
602
  }
603
+ connectedCallback() {
604
+ super.connectedCallback(), this.hasUpdated && this._onSlotChange();
605
+ }
603
606
  disconnectedCallback() {
604
607
  super.disconnectedCallback(), this._cancelIndeterminateExit(), this._cancelIndeterminateEnter(), this._attributeObserver?.disconnect();
605
608
  }
@@ -1,13 +1,13 @@
1
- import { c as e, n as t, o as n, r, t as i } from "./decorate-CeGXihRM.js";
2
- import { n as a, r as o, s } from "./custom-element-DD4ffKRs.js";
1
+ import { c as e, n as t, o as n, r, t as i } from "./decorate-1aEyfetK.js";
2
+ import { n as a, r as o, s } from "./custom-element-D8yf5dqU.js";
3
3
  import { t as c } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { t as u } from "./shadow-resets-9v6K-Fie.js";
6
- import { t as d } from "./if-defined-CvQli6P0.js";
7
- import { t as f } from "./style-map-BrdTV34-.js";
5
+ import { t as u } from "./shadow-resets-DgR56wQK.js";
6
+ import { t as d } from "./if-defined-CL4nn-Q-.js";
7
+ import { t as f } from "./style-map-CK811FGv.js";
8
8
  import { t as p } from "./progress-circle.i18n-CRrXuY4V.js";
9
- import "./tooltip-Bg2ovCCg.js";
10
- import { t as m } from "./translations-Cjd13Xb6.js";
9
+ import "./tooltip-CMCT2iiD.js";
10
+ import { t as m } from "./translations-C5JpcNNC.js";
11
11
  // src/components/status-and-feedback/progress-circle/progress-circle.styles.ts
12
12
  var h = s`
13
13
  :host {
@@ -562,6 +562,9 @@ var D = (C = class extends t {
562
562
  t === !0 && !this.indeterminate ? this._beginIndeterminateExit() : t === !1 && this.indeterminate && this._beginIndeterminateEnter();
563
563
  }
564
564
  }
565
+ connectedCallback() {
566
+ super.connectedCallback(), this.hasUpdated && this._onSlotChange();
567
+ }
565
568
  disconnectedCallback() {
566
569
  super.disconnectedCallback(), this._cancelIndeterminateExit(), this._cancelIndeterminateEnter(), this._attributeObserver?.disconnect();
567
570
  }
@@ -1,15 +1,16 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, o as n, t as r } from "./decorate-CeGXihRM.js";
3
- import { r as i, s as a } from "./custom-element-DD4ffKRs.js";
2
+ import { n as t, o as n, t as r } from "./decorate-1aEyfetK.js";
3
+ import { r as i, s as a } from "./custom-element-D8yf5dqU.js";
4
4
  import { t as o } from "./custom-element-BW8Ua4c7.js";
5
- import { t as s } from "./form-associated-mixin-CA0F9CPx.js";
6
- import { t as c } from "./described-by-mixin-qFatR9dF.js";
5
+ import { t as s } from "./form-associated-mixin-BByNH679.js";
6
+ import { t as c } from "./described-by-mixin-DffYoaxu.js";
7
7
  import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
8
- import { t as u } from "./radio-position-CXWYAjaz.js";
9
- import { t as d } from "./owned-attribute-x9OCTy_4.js";
10
- import { t as f } from "./implicit-submission-Csbcor_E.js";
8
+ import { t as u } from "./after-parse-BSKUm67Q.js";
9
+ import { t as d } from "./radio-position-CXWYAjaz.js";
10
+ import { t as f } from "./owned-attribute-x9OCTy_4.js";
11
+ import { t as p } from "./implicit-submission-Csbcor_E.js";
11
12
  // src/components/inputs/radio-button/radio-button.styles.ts
12
- var p = a`
13
+ var m = a`
13
14
  :host {
14
15
  box-sizing: border-box;
15
16
  }
@@ -146,7 +147,7 @@ var p = a`
146
147
  }
147
148
  `;
148
149
  // src/components/inputs/radio-button/radio-button.template.ts
149
- function m(e) {
150
+ function h(e) {
150
151
  return e.decorative ? n`
151
152
  <div class="radio-button__outer-shape"
152
153
  aria-hidden="true"
@@ -170,40 +171,43 @@ function m(e) {
170
171
  `;
171
172
  }
172
173
  // src/utilities/radio-grouping.ts
173
- var h = "nldd-radio-button, nldd-radio-button-field", g = {
174
+ var g, _ = "nldd-radio-button, nldd-radio-button-field", v = {
174
175
  ArrowDown: 1,
175
176
  ArrowRight: 1,
176
177
  ArrowUp: -1,
177
178
  ArrowLeft: -1
178
- }, _ = /* @__PURE__ */ new WeakMap();
179
- function v(e) {
179
+ }, y = /* @__PURE__ */ new WeakMap();
180
+ function b(e) {
180
181
  return !e.decorative;
181
182
  }
182
- var y = class e {
183
+ var x = class e {
183
184
  constructor(e) {
184
- this.host = e, this.position = null, this.answered = !1, this._groupedIn = null, _.set(e, this), e.addController(this);
185
+ this.host = e, this.position = null, this.answered = !1, this._groupedIn = null, y.set(e, this), e.addController(this);
185
186
  }
186
187
  hostConnected() {
187
- queueMicrotask(() => this.regroup());
188
+ queueMicrotask(() => this.regroup(!0));
188
189
  }
189
190
  hostDisconnected() {
190
- this.regroup();
191
+ this.regroup(!0);
191
192
  }
192
- regroup() {
193
- let t = this._groupedIn, n = this._key();
194
- this._groupedIn = n;
195
- let r = !n || !t || t.root !== n.root || t.name !== n.name || t.form !== n.form;
196
- t && r && e._recount(t), n ? e._recount(n) : this._apply(null, this.host.checked);
193
+ regroup(t = !1) {
194
+ let n = this._groupedIn, r = this._key();
195
+ this._groupedIn = r;
196
+ let i = !r || !n || n.root !== r.root || n.name !== r.name || n.form !== r.form, a = t ? e._schedule : e._recount;
197
+ n && i && a(n), r ? a(r) : this._apply(null, this.host.checked);
197
198
  }
198
199
  refresh() {
199
200
  this._groupedIn ? e._recount(this._groupedIn) : this._apply(null, this.host.checked);
200
201
  }
201
- uncheckOthers() {
202
- let t = this._key();
203
- if (t) for (let n of e._radiosIn(t)) n !== this.host && n.checked && (n.checked = !1, n.commitFormValue());
202
+ uncheckOthers(t = !1) {
203
+ let n = this._key();
204
+ if (n) {
205
+ if (t) e._claims.add(this.host), e._schedule(n);
206
+ else for (let t of e._radiosIn(n)) t !== this.host && t.checked && (t.checked = !1, t.commitFormValue());
207
+ }
204
208
  }
205
209
  moveWithArrow(t) {
206
- let n = g[t.key], r = n ? this._key() : null;
210
+ let n = v[t.key], r = n ? this._key() : null;
207
211
  if (!r || !this.position) return !1;
208
212
  let i = e._radiosIn(r).filter((e) => !e.disabled), a = i.indexOf(this.host);
209
213
  if (a === -1) return !1;
@@ -212,7 +216,7 @@ var y = class e {
212
216
  return o.focus(), o.select(), !0;
213
217
  }
214
218
  _key() {
215
- return !this.host.isConnected || !v(this.host) || !this.host.name ? null : {
219
+ return !this.host.isConnected || !b(this.host) || !this.host.name ? null : {
216
220
  root: this.host.getRootNode(),
217
221
  name: this.host.name,
218
222
  form: this.host.internals.form
@@ -221,22 +225,58 @@ var y = class e {
221
225
  _apply(e, t) {
222
226
  (this.answered !== t || this.position?.posInSet !== e?.posInSet || this.position?.setSize !== e?.setSize || this.position?.tabbable !== e?.tabbable) && (this.position = e, this.answered = t, this.host.requestUpdate());
223
227
  }
224
- static _radiosIn({ root: e, name: t, form: n }) {
225
- let r = e.querySelectorAll?.(h) ?? [];
226
- return Array.from(r).filter((e) => _.has(e) && e.isConnected && e.name === t && v(e) && e.internals.form === n);
228
+ static _radiosIn({ root: t, name: n, form: r }) {
229
+ return e._groupsIn(t).get(n)?.get(r) ?? [];
230
+ }
231
+ static _groupsIn(e) {
232
+ let t = /* @__PURE__ */ new Map();
233
+ for (let n of e.querySelectorAll?.(_) ?? []) {
234
+ if (!y.has(n) || !n.isConnected || !b(n)) continue;
235
+ let { name: e, internals: r } = n, i = t.get(e) ?? /* @__PURE__ */ new Map();
236
+ t.set(e, i);
237
+ let a = i.get(r.form) ?? [];
238
+ i.set(r.form, a), a.push(n);
239
+ }
240
+ return t;
241
+ }
242
+ static _settleClaims(e, t) {
243
+ let n = new Set(e), r = t.find((e) => n.has(e) && e.checked);
244
+ if (r) for (let t of e) t !== r && t.checked && (t.checked = !1, t.commitFormValue());
227
245
  }
228
- static _recount(t) {
229
- let n = e._radiosIn(t), r = n.length > 1 ? u(n, (e) => e.checked, (e) => e.disabled) : [], i = n.some((e) => e.checked);
230
- n.forEach((e, t) => {
231
- _.get(e)?._apply(r[t] ?? null, i);
246
+ static _place(e) {
247
+ let t = e.length > 1 ? d(e, (e) => e.checked, (e) => e.disabled) : [], n = e.some((e) => e.checked);
248
+ e.forEach((e, r) => {
249
+ y.get(e)?._apply(t[r] ?? null, n);
232
250
  });
233
251
  }
234
- }, b = /* @__PURE__ */ e({ NLDDRadioButton: () => S }), x = class extends c(s(t)) {
252
+ };
253
+ g = x, g._pending = /* @__PURE__ */ new Map(), g._schedule = (e) => {
254
+ let t = g._pending, n = t.size > 0, r = t.get(e.root) ?? /* @__PURE__ */ new Map();
255
+ t.set(e.root, r);
256
+ let i = r.get(e.name) ?? /* @__PURE__ */ new Set();
257
+ if (r.set(e.name, i), i.add(e.form), n) return;
258
+ let a = e.root.ownerDocument ?? e.root;
259
+ u(g._flush, a) || queueMicrotask(g._flush);
260
+ }, g._claims = /* @__PURE__ */ new Set(), g._flush = () => {
261
+ let e = [...g._pending], t = [...g._claims].reverse();
262
+ g._pending.clear(), g._claims.clear();
263
+ for (let [n, r] of e) {
264
+ let e = g._groupsIn(n);
265
+ for (let [n, i] of r) for (let r of i) {
266
+ let i = e.get(n)?.get(r) ?? [];
267
+ g._settleClaims(i, t), g._place(i);
268
+ }
269
+ }
270
+ }, g._recount = (e) => {
271
+ g._place(g._radiosIn(e));
272
+ };
273
+ // src/components/inputs/radio-button/radio-button.ts
274
+ var S = /* @__PURE__ */ e({ NLDDRadioButton: () => w }), C = class extends c(s(t)) {
235
275
  constructor(...e) {
236
- super(...e), this.checked = !1, this.decorative = !1, this.disabled = !1, this.noTab = !1, this.required = !1, this.focusRing = !1, this.name = "", this.value = "", this.color = "", this.accessibleLabel = "", this.invalid = !1, this._grouping = new y(this), this._appliedLabel = null, this._onClick = () => {
276
+ super(...e), this.checked = !1, this.decorative = !1, this.disabled = !1, this.noTab = !1, this.required = !1, this.focusRing = !1, this.name = "", this.value = "", this.color = "", this.accessibleLabel = "", this.invalid = !1, this._grouping = new x(this), this._appliedLabel = null, this._onClick = () => {
237
277
  this.select();
238
278
  }, this._onKeyDown = (e) => {
239
- this.disabled || this.decorative || (e.key === " " ? (e.preventDefault(), this.select()) : e.key === "Enter" ? f(this, e) : this.noTab || this._grouping.moveWithArrow(e));
279
+ this.disabled || this.decorative || (e.key === " " ? (e.preventDefault(), this.select()) : e.key === "Enter" ? p(this, e) : this.noTab || this._grouping.moveWithArrow(e));
240
280
  };
241
281
  }
242
282
  get _groupHasSelection() {
@@ -249,7 +289,8 @@ var y = class e {
249
289
  super.disconnectedCallback(), this.removeEventListener("click", this._onClick), this.removeEventListener("keydown", this._onKeyDown);
250
290
  }
251
291
  willUpdate(e) {
252
- e.has("checked") && this.checked && this._grouping.uncheckOthers(), e.has("name") || e.has("decorative") ? this._grouping.regroup() : (e.has("checked") || e.has("disabled")) && this._grouping.refresh();
292
+ let t = !this.hasUpdated;
293
+ e.has("checked") && this.checked && this._grouping.uncheckOthers(t), e.has("name") || e.has("decorative") ? this._grouping.regroup(t) : (e.has("checked") || e.has("disabled")) && this._grouping.refresh();
253
294
  }
254
295
  updated(e) {
255
296
  super.updated(e), this._syncHostAria();
@@ -266,7 +307,7 @@ var y = class e {
266
307
  ]) this.removeAttribute(e);
267
308
  return;
268
309
  }
269
- this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.checked)), this._appliedLabel = d(this, "aria-label", this.accessibleLabel, this._appliedLabel), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled");
310
+ this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.checked)), this._appliedLabel = f(this, "aria-label", this.accessibleLabel, this._appliedLabel), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled");
270
311
  let e = this._grouping.position;
271
312
  e ? (this.setAttribute("aria-posinset", String(e.posInSet)), this.setAttribute("aria-setsize", String(e.setSize))) : (this.removeAttribute("aria-posinset"), this.removeAttribute("aria-setsize"));
272
313
  let t = !this.disabled && !this.noTab && e?.tabbable !== !1;
@@ -290,40 +331,40 @@ var y = class e {
290
331
  })));
291
332
  }
292
333
  render() {
293
- return m(this);
334
+ return h(this);
294
335
  }
295
- }, S = (x.styles = p, x.formProperties = ["checked"], x.isFormInput = !0, x);
336
+ }, w = (C.styles = m, C.formProperties = ["checked"], C.isFormInput = !0, C);
296
337
  r([i({
297
338
  type: Boolean,
298
339
  reflect: !0
299
- })], S.prototype, "checked", void 0), r([i({
340
+ })], w.prototype, "checked", void 0), r([i({
300
341
  type: Boolean,
301
342
  reflect: !0
302
- })], S.prototype, "decorative", void 0), r([i({
343
+ })], w.prototype, "decorative", void 0), r([i({
303
344
  type: Boolean,
304
345
  reflect: !0
305
- })], S.prototype, "disabled", void 0), r([i({
346
+ })], w.prototype, "disabled", void 0), r([i({
306
347
  type: Boolean,
307
348
  reflect: !0,
308
349
  attribute: "no-tab"
309
- })], S.prototype, "noTab", void 0), r([i({
350
+ })], w.prototype, "noTab", void 0), r([i({
310
351
  type: Boolean,
311
352
  reflect: !0
312
- })], S.prototype, "required", void 0), r([i({
353
+ })], w.prototype, "required", void 0), r([i({
313
354
  type: Boolean,
314
355
  reflect: !0,
315
356
  attribute: "focus-ring"
316
- })], S.prototype, "focusRing", void 0), r([i({
357
+ })], w.prototype, "focusRing", void 0), r([i({
317
358
  reflect: !0,
318
359
  converter: l("")
319
- })], S.prototype, "name", void 0), r([i({ type: String })], S.prototype, "value", void 0), r([i({
360
+ })], w.prototype, "name", void 0), r([i({ type: String })], w.prototype, "value", void 0), r([i({
320
361
  reflect: !0,
321
362
  converter: l("")
322
- })], S.prototype, "color", void 0), r([i({
363
+ })], w.prototype, "color", void 0), r([i({
323
364
  type: String,
324
365
  attribute: "accessible-label"
325
- })], S.prototype, "accessibleLabel", void 0), r([i({
366
+ })], w.prototype, "accessibleLabel", void 0), r([i({
326
367
  type: Boolean,
327
368
  reflect: !0
328
- })], S.prototype, "invalid", void 0), S = r([o("nldd-radio-button")], S);
329
- export { y as n, b as t };
369
+ })], w.prototype, "invalid", void 0), w = r([o("nldd-radio-button")], w);
370
+ export { x as n, S as t };