@nldd/design-system 0.26.1 → 0.26.3

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 (799) hide show
  1. package/README.md +7 -7
  2. package/custom-elements.json +5615 -1321
  3. package/dist/cdn/autoloader.js +141 -141
  4. package/dist/cdn/chunks/{accordion-item-Ca1o93cq.js → accordion-item-BXEHwzcv.js} +7 -7
  5. package/dist/cdn/chunks/{accordion-DA4IlxS5.js → accordion-qXirmNBj.js} +6 -6
  6. package/dist/cdn/chunks/{activity-indicator-Cj4H0Mbz.js → activity-indicator-DP61AhsJ.js} +13 -13
  7. package/dist/cdn/chunks/{admonition-CdZSoO8O.js → admonition-RnRSNAri.js} +11 -11
  8. package/dist/cdn/chunks/{avatar-Dhqn-Dmv.js → avatar-DsexiOhH.js} +18 -18
  9. package/dist/cdn/chunks/{avatar-group-B017eF-u.js → avatar-group-BrfrpXvd.js} +42 -40
  10. package/dist/cdn/chunks/{badge-Bep5B0_g.js → badge-BiQFOq2l.js} +15 -15
  11. package/dist/cdn/chunks/{banner-DGpIXuE2.js → banner-42zIYAEN.js} +16 -16
  12. package/dist/cdn/chunks/{bar-split-view-CKwJxd3e.js → bar-split-view-CjYEp276.js} +8 -8
  13. package/dist/cdn/chunks/{blockquote-ChMgaOuI.js → blockquote-qf4hJYvm.js} +8 -8
  14. package/dist/cdn/chunks/{box-BRmziG-6.js → box-CWyg7sbR.js} +5 -5
  15. package/dist/cdn/chunks/{breadcrumbs-BeVO8bkQ.js → breadcrumbs-BaHjYdz8.js} +13 -13
  16. package/dist/cdn/chunks/{button-cHBkq_s7.js → button-CKV-jwGY.js} +53 -54
  17. package/dist/cdn/chunks/{button-bar-CLxOdalJ.js → button-bar-DeJ81759.js} +8 -8
  18. package/dist/cdn/chunks/{button-group-BIvKtEIX.js → button-group-CuRkiHR5.js} +6 -6
  19. package/dist/cdn/chunks/{card-B5gp9Zly.js → card-DxeUNE3V.js} +10 -10
  20. package/dist/cdn/chunks/{cell-D4Nrd5Z9.js → cell-QaG8b-Qk.js} +13 -13
  21. package/dist/cdn/chunks/{checkbox-CeLTJhAc.js → checkbox-V0YerUKf.js} +26 -43
  22. package/dist/cdn/chunks/{checkbox-field-C8cU8fuf.js → checkbox-field-DeySECgv.js} +35 -43
  23. package/dist/cdn/chunks/checkbox-group-DFNy1y-A.js +91 -0
  24. package/dist/cdn/chunks/choice-group-AZsqoheP.js +64 -0
  25. package/dist/cdn/chunks/{class-map-xzscTu4B.js → class-map-CmgI2Tu-.js} +1 -1
  26. package/dist/cdn/chunks/{code-editor-BNhlXTSl.js → code-editor-BBMbUJ4d.js} +11 -11
  27. package/dist/cdn/chunks/{code-viewer-D_JwouYO.js → code-viewer-B8jse0-5.js} +25 -28
  28. package/dist/cdn/chunks/{codemirror-input-DJ0wgYrc.js → codemirror-input-BEotDTtZ.js} +5 -5
  29. package/dist/cdn/chunks/{collection-BXvz_OtU.js → collection-DRoS7Ona.js} +19 -19
  30. package/dist/cdn/chunks/{combo-box-8kbmoStb.js → combo-box-DA1ZQJJS.js} +69 -87
  31. package/dist/cdn/chunks/{container-Dq-2uHd5.js → container-F1i2pmko.js} +48 -48
  32. package/dist/cdn/chunks/{custom-element-DeaCQ2NP.js → custom-element-DD4ffKRs.js} +2 -2
  33. package/dist/cdn/chunks/{date-field-CQg1_73u.js → date-field-DVgisQnm.js} +33 -40
  34. package/dist/cdn/chunks/{date-picker-CTMxGOiA.js → date-picker-BaDTota3.js} +17 -17
  35. package/dist/cdn/chunks/{decorate-CCYde2ES.js → decorate-CeGXihRM.js} +1 -1
  36. package/dist/cdn/chunks/deep-active-element-DgiHjYGG.js +7 -0
  37. package/dist/cdn/chunks/{described-by-mixin-BYFim7aO.js → described-by-mixin-qFatR9dF.js} +2 -2
  38. package/dist/cdn/chunks/{description-cell-GcVeCz2_.js → description-cell-D45N4P1X.js} +12 -12
  39. package/dist/cdn/chunks/{dev-checks-CSlbfDuF.js → dev-checks-CkCD0tPh.js} +972 -922
  40. package/dist/cdn/chunks/{directive-helpers-DgaADFyY.js → directive-helpers-B9pcQxsE.js} +1 -1
  41. package/dist/cdn/chunks/{dist-CyDpBAaD.js → dist-BS_pQgb6.js} +2 -2
  42. package/dist/cdn/chunks/{dist-D4SViUJx.js → dist-Cl-rXzh7.js} +1 -1
  43. package/dist/cdn/chunks/{dist-1OQdP4ho.js → dist-DJQUgOKW.js} +3 -3
  44. package/dist/cdn/chunks/{dist-VCymi0hs.js → dist-DjlGttcc.js} +1 -1
  45. package/dist/cdn/chunks/{dist-DBxjWahH.js → dist-Dsyc1RGG.js} +1 -1
  46. package/dist/cdn/chunks/{dist-CcpLhc4y.js → dist-jTL_Kil1.js} +1 -1
  47. package/dist/cdn/chunks/{dist-B23jHvJ5.js → dist-mxb0NzAU.js} +1 -1
  48. package/dist/cdn/chunks/{dist-DLtwMUDc.js → dist-n8aCu6Kg.js} +2 -2
  49. package/dist/cdn/chunks/{dist-CNy2sPTt.js → dist-rjQNj-KZ.js} +2 -2
  50. package/dist/cdn/chunks/{dist-5vPsM2aV.js → dist-v62GtoI6.js} +1 -1
  51. package/dist/cdn/chunks/{dist-Da_liXcd.js → dist-v7yvd26H.js} +3 -3
  52. package/dist/cdn/chunks/{divider-8XD3xTbl.js → divider-CtMx3Byp.js} +2 -2
  53. package/dist/cdn/chunks/{document-tab-bar-RBAmckHS.js → document-tab-bar-SKSf69FX.js} +42 -53
  54. package/dist/cdn/chunks/{dropdown-DVlxPcjr.js → dropdown-se1zjYlw.js} +14 -14
  55. package/dist/cdn/chunks/{file-field-BrHnFplX.js → file-field-DW_Xt5O3.js} +42 -40
  56. package/dist/cdn/chunks/{floating-ui.dom-BvAAdCVe.js → floating-ui.dom-CB34tcZx.js} +1 -1
  57. package/dist/cdn/chunks/{form-DGHeGEIr.js → form-C9-eW3zc.js} +1 -1
  58. package/dist/cdn/chunks/{form-actions-CHwWKfMM.js → form-actions-Cy5tH1nk.js} +4 -4
  59. package/dist/cdn/chunks/form-associated-mixin-CA0F9CPx.js +123 -0
  60. package/dist/cdn/chunks/{form-field-CdTSI-8h.js → form-field-BMWm8VGS.js} +55 -11
  61. package/dist/cdn/chunks/{form-section-CjECOIiZ.js → form-section-DrrXc4wZ.js} +1 -1
  62. package/dist/cdn/chunks/{full-bleed-section-CQgq4iGQ.js → full-bleed-section-6QL0av4x.js} +5 -5
  63. package/dist/cdn/chunks/{hero-DhdcYt2N.js → hero-BThWV3MR.js} +19 -19
  64. package/dist/cdn/chunks/{icon-qpmEfU9B.js → icon-CVM6X_F1.js} +8 -8
  65. package/dist/cdn/chunks/{icon-button-DT_Bi4Ac.js → icon-button-h_sEz0Ia.js} +41 -38
  66. package/dist/cdn/chunks/{icon-cell-C-qrZAlN.js → icon-cell-C3Ygercd.js} +10 -10
  67. package/dist/cdn/chunks/{identity-DFmvuPkl.js → identity-BR0KxjM5.js} +12 -12
  68. package/dist/cdn/chunks/{if-defined-BINBE69I.js → if-defined-CvQli6P0.js} +1 -1
  69. package/dist/cdn/chunks/{image-B4M3h1xJ.js → image-D8H73DIj.js} +21 -21
  70. package/dist/cdn/chunks/{inline-dialog-L-NvjANF.js → inline-dialog-Dlu3bneh.js} +16 -16
  71. package/dist/cdn/chunks/interest-intent-Bk3i_upv.js +63 -0
  72. package/dist/cdn/chunks/{interest-controller-Ban-3NrX.js → interest-invoker-CfOJaqZQ.js} +28 -38
  73. package/dist/cdn/chunks/{just-in-time-education-CWplH4r9.js → just-in-time-education-DG0teV5g.js} +14 -14
  74. package/dist/cdn/chunks/{kanban-B6Wa-2aM.js → kanban-MNLyqki_.js} +25 -29
  75. package/dist/cdn/chunks/{kanban-column-D2-Xq79_.js → kanban-column-CGF_4Q0N.js} +10 -10
  76. package/dist/cdn/chunks/{keyboard-shortcut-Ci95olxF.js → keyboard-shortcut-DZDtndhS.js} +13 -13
  77. package/dist/cdn/chunks/{languages-C9AGuuSS.js → languages-BCn4J5Ck.js} +12 -12
  78. package/dist/cdn/chunks/{link-BJB2a_fG.js → link-CTj3dTmJ.js} +18 -18
  79. package/dist/cdn/chunks/{link-group-aNoedLZo.js → link-group--C486tYV.js} +7 -7
  80. package/dist/cdn/chunks/{list-CZWX62tH.js → list-DApLHKj-.js} +110 -95
  81. package/dist/cdn/chunks/{list-item-DHzsbK_S.js → list-item-BN9uuvXr.js} +50 -29
  82. package/dist/cdn/chunks/{list-item-segment-CHLlU9Gg.js → list-item-segment-CvdZT9Ni.js} +23 -20
  83. package/dist/cdn/chunks/{menu-NGpB1SKq.js → menu-2-9LtMLY.js} +113 -101
  84. package/dist/cdn/chunks/{menu-bar-CJazkmY7.js → menu-bar-g-O3_TNl.js} +59 -60
  85. package/dist/cdn/chunks/{menu-bar-item-CSqXWNKE.js → menu-bar-item-tOFEx-lS.js} +35 -35
  86. package/dist/cdn/chunks/{menu-divider-Cn1hTpcM.js → menu-divider-Dmv0lMHV.js} +3 -3
  87. package/dist/cdn/chunks/{menu-group-C71K1Vmv.js → menu-group-Ci9QUUwZ.js} +4 -4
  88. package/dist/cdn/chunks/{menu-item-TqBlQfI2.js → menu-item-BnIbV4yo.js} +4 -4
  89. package/dist/cdn/chunks/{menu.template-DthELYky.js → menu.template-sPjaMfc8.js} +4 -4
  90. package/dist/cdn/chunks/{modal-dialog-0V2HsrJC.js → modal-dialog-D-jAbabe.js} +28 -78
  91. package/dist/cdn/chunks/modal-overlay-Bx0bYzF3.js +95 -0
  92. package/dist/cdn/chunks/{multi-line-text-field-BV4uUDoK.js → multi-line-text-field-uBZqAdr6.js} +28 -45
  93. package/dist/cdn/chunks/{navigation-split-view-tPhkxEVD.js → navigation-split-view-DARbBPq-.js} +10 -10
  94. package/dist/cdn/chunks/{notification-CZccv6qx.js → notification-CntIGoYh.js} +12 -12
  95. package/dist/cdn/chunks/{number-field-4R2blHda.js → number-field-C0MTabLP.js} +26 -32
  96. package/dist/cdn/chunks/{one-half-one-half-section-h2fLPQfP.js → one-half-one-half-section-DYzf6LtU.js} +6 -6
  97. package/dist/cdn/chunks/{one-third-two-thirds-section-mqUAH5lK.js → one-third-two-thirds-section-AAiaxCHH.js} +6 -6
  98. package/dist/cdn/chunks/{one-time-code-field-Bf_qymKd.js → one-time-code-field-CCILuCy1.js} +25 -38
  99. package/dist/cdn/chunks/overflow-menu-DFoh3xL_.js +83 -0
  100. package/dist/cdn/chunks/overlay-invoker-Dj6MQAtF.js +97 -0
  101. package/dist/cdn/chunks/{page-Kipfvmi6.js → page-BDXLREou.js} +41 -19
  102. package/dist/cdn/chunks/{page-footer-DxE966Oe.js → page-footer-BsVMZCXs.js} +13 -13
  103. package/dist/cdn/chunks/{page-section-mixin-DpF9JDpd.js → page-section-mixin-L0bl3wCm.js} +21 -21
  104. package/dist/cdn/chunks/{pagination-DUFFhaU8.js → pagination-DLwbSZdO.js} +13 -13
  105. package/dist/cdn/chunks/{password-field-DdYAVmF3.js → password-field-DKTJgEyb.js} +28 -45
  106. package/dist/cdn/chunks/{popover-CRHxyhGx.js → popover-RB7uLASo.js} +66 -65
  107. package/dist/cdn/chunks/{progress-bar-BuYsjmSo.js → progress-bar-DnXWbmiw.js} +26 -26
  108. package/dist/cdn/chunks/{progress-circle-Cvu1bfNG.js → progress-circle-S89MUtU8.js} +24 -24
  109. package/dist/cdn/chunks/{radio-button-B_4AxWDx.js → radio-button-B31lAjlk.js} +17 -26
  110. package/dist/cdn/chunks/{radio-button-field-D7jIg6Oi.js → radio-button-field-BF4MHiOQ.js} +29 -37
  111. package/dist/cdn/chunks/radio-button-group-BQUqV8wJ.js +112 -0
  112. package/dist/cdn/chunks/{render-marked-CIuiSS_8.js → render-marked-ChJNzktf.js} +1 -1
  113. package/dist/cdn/chunks/{reorder-handle-cell-DNPaZjSC.js → reorder-handle-cell-SEERkeh7.js} +7 -7
  114. package/dist/cdn/chunks/{reorder-handle-mixin-CgvWq4fF.js → reorder-handle-mixin-tWe9XTjZ.js} +2 -2
  115. package/dist/cdn/chunks/{repeat-DfVuWl6o.js → repeat-CdCK17GF.js} +2 -2
  116. package/dist/cdn/chunks/{return-focus-D0fF2hjd.js → return-focus-CpwHVxYU.js} +10 -14
  117. package/dist/cdn/chunks/{rich-text-CVHlMQY6.js → rich-text-vVWOndD2.js} +3 -3
  118. package/dist/cdn/chunks/{row-header-mixin-B25JK2B3.js → row-header-mixin-6MoJ5Mjq.js} +2 -2
  119. package/dist/cdn/chunks/{scroll-fade-Dv57rTww.js → scroll-fade-Cr7_IXpU.js} +4 -4
  120. package/dist/cdn/chunks/{search-field-hmD_DXbG.js → search-field-C9urWH_J.js} +33 -58
  121. package/dist/cdn/chunks/{segmented-control-e8e-jYSw.js → segmented-control-DkILAMOJ.js} +92 -103
  122. package/dist/cdn/chunks/{shadow-resets-CRdvf-Ei.js → shadow-resets-9v6K-Fie.js} +2 -2
  123. package/dist/cdn/chunks/{sheet-D09y3J45.js → sheet-D89xI-KY.js} +40 -90
  124. package/dist/cdn/chunks/{shell-CV3gooGg.js → shell-CFmfUD0_.js} +5 -5
  125. package/dist/cdn/chunks/{side-by-side-split-view-Ckz1C9zk.js → side-by-side-split-view-ir9c0mwZ.js} +8 -8
  126. package/dist/cdn/chunks/{sidebar-section-CdyD-x4t.js → sidebar-section-BhJXels3.js} +14 -14
  127. package/dist/cdn/chunks/{simple-section-CEf38rBZ.js → simple-section-CMoYuLYV.js} +7 -7
  128. package/dist/cdn/chunks/{skip-link-DMRhATWw.js → skip-link-rUQq0D-l.js} +7 -7
  129. package/dist/cdn/chunks/{slider-Db3FPiP6.js → slider-CIQqjKUo.js} +30 -37
  130. package/dist/cdn/chunks/{spacer-BPFIYueo.js → spacer-CD85egxE.js} +8 -8
  131. package/dist/cdn/chunks/{spacer-cell-kITa3CDV.js → spacer-cell-B33mGdru.js} +6 -6
  132. package/dist/cdn/chunks/{split-button-CJs9-Nha.js → split-button-COL7r-wa.js} +21 -21
  133. package/dist/cdn/chunks/{split-view-divider-lHlM1Ss8.js → split-view-divider-DVBuBzeO.js} +5 -5
  134. package/dist/cdn/chunks/{split-view-pane-DlsbZtyo.js → split-view-pane-CSvIzeBg.js} +7 -7
  135. package/dist/cdn/chunks/{stacked-split-view-uRSVhrMd.js → stacked-split-view-onSk2QEi.js} +8 -8
  136. package/dist/cdn/chunks/{static-html-BahSPV_4.js → static-html-Cyhp44gp.js} +1 -1
  137. package/dist/cdn/chunks/{status-bar-DCJLVpsW.js → status-bar-CjYXOQAX.js} +8 -8
  138. package/dist/cdn/chunks/{step-bar-CRR2jiyo.js → step-bar-D-To0TEw.js} +18 -18
  139. package/dist/cdn/chunks/{step-cell-CbtKxJNJ.js → step-cell-B7sVGixc.js} +15 -15
  140. package/dist/cdn/chunks/{stepper-Con1_CnB.js → stepper-h6boMOhz.js} +16 -26
  141. package/dist/cdn/chunks/{style-map-uOwLerwV.js → style-map-BrdTV34-.js} +1 -1
  142. package/dist/cdn/chunks/{swatch-picker-Bqn0eaC9.js → swatch-picker-gQ3m3y9U.js} +63 -69
  143. package/dist/cdn/chunks/{switch-CMQcLEBJ.js → switch-DC-BTi9E.js} +25 -42
  144. package/dist/cdn/chunks/{switch-field-D9kWq4Kw.js → switch-field-D82mLobj.js} +19 -32
  145. package/dist/cdn/chunks/{tab-bar-DXzyZI3V.js → tab-bar-sKiFzvfj.js} +34 -29
  146. package/dist/cdn/chunks/{table-CWACLpHx.js → table-CuxZfCZD.js} +15 -15
  147. package/dist/cdn/chunks/{tag-Bo4yJbtF.js → tag-DP_ome5l.js} +11 -11
  148. package/dist/cdn/chunks/{term-CQ379ZbN.js → term-BdiTV-Jk.js} +42 -39
  149. package/dist/cdn/chunks/{text-D-dFoj6N.js → text-C-b1ygHI.js} +29 -29
  150. package/dist/cdn/chunks/{text-cell-Be1hStxp.js → text-cell-DfRh7JqZ.js} +23 -23
  151. package/dist/cdn/chunks/{text-editor-BjzQEBWm.js → text-editor-DuT9Rrpv.js} +12 -12
  152. package/dist/cdn/chunks/{text-field-DA8nirp6.js → text-field-kAbXzkUj.js} +28 -45
  153. package/dist/cdn/chunks/{time-field-Dd_TxJuf.js → time-field-DUz9ifmn.js} +65 -153
  154. package/dist/cdn/chunks/{time-picker-B0-rv1qp.js → time-picker-DGOKwC9T.js} +119 -40
  155. package/dist/cdn/chunks/{title-DOoPdG_i.js → title-BA-SUyAq.js} +12 -12
  156. package/dist/cdn/chunks/{title-cell-BzCNOMGr.js → title-cell-Cu5NFNUu.js} +23 -23
  157. package/dist/cdn/chunks/{toggle-button-9PbDHviQ.js → toggle-button-J6UapeqB.js} +41 -54
  158. package/dist/cdn/chunks/{toggle-button-group-C-H-xp0M.js → toggle-button-group-wrps-tL9.js} +40 -54
  159. package/dist/cdn/chunks/{token-CMKFC3gz.js → token-DJkyJz-k.js} +32 -35
  160. package/dist/cdn/chunks/{token-field-D4-XHfnG.js → token-field-SiBFPD8-.js} +67 -57
  161. package/dist/cdn/chunks/{toolbar-z9OhEE5l.js → toolbar-be8hoSAz.js} +34 -78
  162. package/dist/cdn/chunks/{toolbar-item-ZYoyKOyy.js → toolbar-item-DPizdgYi.js} +3 -3
  163. package/dist/cdn/chunks/{toolbar-title-FKtQ8ZC4.js → toolbar-title-CB4IJFGv.js} +4 -4
  164. package/dist/cdn/chunks/{toolbar.styles-DDjpdCHV.js → toolbar.styles-vmMPyzS_.js} +3 -3
  165. package/dist/cdn/chunks/{tooltip-BvRNYRo3.js → tooltip-Bg2ovCCg.js} +116 -80
  166. package/dist/cdn/chunks/{top-navigation-bar-BHPQntER.js → top-navigation-bar-vA8wpJXS.js} +29 -29
  167. package/dist/cdn/chunks/{top-title-bar-BVjegLlh.js → top-title-bar-BAJGmgnj.js} +16 -16
  168. package/dist/cdn/chunks/{translations-cJjO6nQV.js → translations-Cjd13Xb6.js} +1 -1
  169. package/dist/cdn/chunks/{two-thirds-one-third-section-BdBHQuXc.js → two-thirds-one-third-section-D1FvorKO.js} +6 -6
  170. package/dist/cdn/chunks/{validation-list-5E3-3_95.js → validation-list-D3rKnfTu.js} +12 -12
  171. package/dist/cdn/chunks/{visibility-mixin-DvRe3O8t.js → visibility-mixin-BRMACV1l.js} +14 -14
  172. package/dist/cdn/chunks/{visually-hidden-F85D_HcR.js → visually-hidden-BukWRiJA.js} +2 -2
  173. package/dist/cdn/chunks/{window-CabW35M1.js → window-C9njVzzK.js} +44 -80
  174. package/dist/cdn/chunks/{with-translations-BHDG37HJ.js → with-translations-BLzHPSUF.js} +3 -3
  175. package/dist/components/actions/button/button.d.ts +15 -13
  176. package/dist/components/actions/button/button.d.ts.map +1 -1
  177. package/dist/components/actions/button/button.js +15 -14
  178. package/dist/components/actions/button/button.js.map +1 -1
  179. package/dist/components/actions/button/button.template.js +1 -1
  180. package/dist/components/actions/button/button.template.js.map +1 -1
  181. package/dist/components/actions/button-bar/button-bar.d.ts +7 -4
  182. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  183. package/dist/components/actions/button-bar/button-bar.js +6 -4
  184. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  185. package/dist/components/actions/button-group/button-group.d.ts +4 -2
  186. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  187. package/dist/components/actions/button-group/button-group.js +4 -2
  188. package/dist/components/actions/button-group/button-group.js.map +1 -1
  189. package/dist/components/actions/icon-button/icon-button.d.ts +13 -11
  190. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  191. package/dist/components/actions/icon-button/icon-button.js +13 -12
  192. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  193. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  194. package/dist/components/actions/icon-button/icon-button.styles.js +4 -0
  195. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  196. package/dist/components/actions/icon-button/icon-button.template.js +1 -1
  197. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  198. package/dist/components/actions/menu/menu-group.d.ts +1 -1
  199. package/dist/components/actions/menu/menu-group.js +1 -1
  200. package/dist/components/actions/menu/menu-item.d.ts +4 -4
  201. package/dist/components/actions/menu/menu-item.js +4 -4
  202. package/dist/components/actions/menu/menu.d.ts +61 -38
  203. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  204. package/dist/components/actions/menu/menu.js +92 -102
  205. package/dist/components/actions/menu/menu.js.map +1 -1
  206. package/dist/components/actions/split-button/split-button.d.ts +5 -3
  207. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  208. package/dist/components/actions/split-button/split-button.js +6 -4
  209. package/dist/components/actions/split-button/split-button.js.map +1 -1
  210. package/dist/components/actions/toolbar/toolbar-item.d.ts +1 -1
  211. package/dist/components/actions/toolbar/toolbar-item.js +1 -1
  212. package/dist/components/actions/toolbar/toolbar-title.d.ts +1 -1
  213. package/dist/components/actions/toolbar/toolbar-title.js +1 -1
  214. package/dist/components/actions/toolbar/toolbar.d.ts +10 -8
  215. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  216. package/dist/components/actions/toolbar/toolbar.js +11 -9
  217. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  218. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  219. package/dist/components/actions/toolbar/toolbar.template.js +5 -9
  220. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  221. package/dist/components/content/accordion/accordion.d.ts +2 -0
  222. package/dist/components/content/accordion/accordion.d.ts.map +1 -1
  223. package/dist/components/content/accordion/accordion.js +2 -0
  224. package/dist/components/content/accordion/accordion.js.map +1 -1
  225. package/dist/components/content/admonition/admonition.d.ts +2 -0
  226. package/dist/components/content/admonition/admonition.d.ts.map +1 -1
  227. package/dist/components/content/admonition/admonition.js +2 -0
  228. package/dist/components/content/admonition/admonition.js.map +1 -1
  229. package/dist/components/content/avatar/avatar.d.ts +3 -1
  230. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  231. package/dist/components/content/avatar/avatar.js +3 -1
  232. package/dist/components/content/avatar/avatar.js.map +1 -1
  233. package/dist/components/content/avatar-group/avatar-group.d.ts +8 -1
  234. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  235. package/dist/components/content/avatar-group/avatar-group.js +10 -9
  236. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  237. package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
  238. package/dist/components/content/avatar-group/avatar-group.template.js +0 -1
  239. package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
  240. package/dist/components/content/blockquote/blockquote.d.ts +3 -1
  241. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  242. package/dist/components/content/blockquote/blockquote.js +3 -1
  243. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  244. package/dist/components/content/code-viewer/code-viewer.d.ts +1 -0
  245. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  246. package/dist/components/content/code-viewer/code-viewer.js +9 -9
  247. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  248. package/dist/components/content/icon/icon.d.ts +4 -3
  249. package/dist/components/content/icon/icon.d.ts.map +1 -1
  250. package/dist/components/content/icon/icon.js +4 -3
  251. package/dist/components/content/icon/icon.js.map +1 -1
  252. package/dist/components/content/identity/identity.d.ts +4 -1
  253. package/dist/components/content/identity/identity.d.ts.map +1 -1
  254. package/dist/components/content/identity/identity.js +4 -1
  255. package/dist/components/content/identity/identity.js.map +1 -1
  256. package/dist/components/content/image/image.d.ts +11 -9
  257. package/dist/components/content/image/image.d.ts.map +1 -1
  258. package/dist/components/content/image/image.js +10 -8
  259. package/dist/components/content/image/image.js.map +1 -1
  260. package/dist/components/content/image/lqip-encoder-element.d.ts +1 -1
  261. package/dist/components/content/image/lqip-encoder-element.js +1 -1
  262. package/dist/components/content/image/lqip-encoder.d.ts +3 -3
  263. package/dist/components/content/image/lqip-encoder.js +6 -6
  264. package/dist/components/content/image/lqip-encoder.js.map +1 -1
  265. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +6 -5
  266. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  267. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +6 -5
  268. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  269. package/dist/components/content/rich-text/rich-text.d.ts +3 -1
  270. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  271. package/dist/components/content/rich-text/rich-text.js +3 -1
  272. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  273. package/dist/components/content/tag/tag.d.ts +5 -3
  274. package/dist/components/content/tag/tag.d.ts.map +1 -1
  275. package/dist/components/content/tag/tag.js +5 -3
  276. package/dist/components/content/tag/tag.js.map +1 -1
  277. package/dist/components/content/term/term.d.ts +7 -5
  278. package/dist/components/content/term/term.d.ts.map +1 -1
  279. package/dist/components/content/term/term.js +24 -23
  280. package/dist/components/content/term/term.js.map +1 -1
  281. package/dist/components/content/term/term.template.js +1 -1
  282. package/dist/components/content/term/term.template.js.map +1 -1
  283. package/dist/components/content/text/text.d.ts +9 -7
  284. package/dist/components/content/text/text.d.ts.map +1 -1
  285. package/dist/components/content/text/text.js +9 -7
  286. package/dist/components/content/text/text.js.map +1 -1
  287. package/dist/components/content/title/title.d.ts +2 -0
  288. package/dist/components/content/title/title.d.ts.map +1 -1
  289. package/dist/components/content/title/title.js +2 -0
  290. package/dist/components/content/title/title.js.map +1 -1
  291. package/dist/components/content/token/token.d.ts +11 -9
  292. package/dist/components/content/token/token.d.ts.map +1 -1
  293. package/dist/components/content/token/token.js +36 -37
  294. package/dist/components/content/token/token.js.map +1 -1
  295. package/dist/components/content/token/token.template.js +1 -1
  296. package/dist/components/content/token/token.template.js.map +1 -1
  297. package/dist/components/content/tooltip/tooltip.d.ts +27 -8
  298. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  299. package/dist/components/content/tooltip/tooltip.js +122 -127
  300. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  301. package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
  302. package/dist/components/content/tooltip/tooltip.template.js +2 -1
  303. package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
  304. package/dist/components/content/visually-hidden/visually-hidden.d.ts +3 -1
  305. package/dist/components/content/visually-hidden/visually-hidden.d.ts.map +1 -1
  306. package/dist/components/content/visually-hidden/visually-hidden.js +3 -1
  307. package/dist/components/content/visually-hidden/visually-hidden.js.map +1 -1
  308. package/dist/components/forms/form/form.d.ts +2 -2
  309. package/dist/components/forms/form/form.d.ts.map +1 -1
  310. package/dist/components/forms/form/form.js +20 -16
  311. package/dist/components/forms/form/form.js.map +1 -1
  312. package/dist/components/forms/form-actions/form-actions.d.ts +15 -11
  313. package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
  314. package/dist/components/forms/form-actions/form-actions.js +15 -11
  315. package/dist/components/forms/form-actions/form-actions.js.map +1 -1
  316. package/dist/components/forms/form-field/form-field.d.ts +9 -5
  317. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  318. package/dist/components/forms/form-field/form-field.js +13 -6
  319. package/dist/components/forms/form-field/form-field.js.map +1 -1
  320. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  321. package/dist/components/forms/form-field/form-field.styles.js +44 -0
  322. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  323. package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
  324. package/dist/components/forms/form-section/form-section.js +34 -30
  325. package/dist/components/forms/form-section/form-section.js.map +1 -1
  326. package/dist/components/forms/validation-list/validation-list.d.ts +1 -0
  327. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  328. package/dist/components/forms/validation-list/validation-list.js +1 -0
  329. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  330. package/dist/components/inputs/checkbox/checkbox.d.ts +4 -5
  331. package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
  332. package/dist/components/inputs/checkbox/checkbox.js +6 -24
  333. package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
  334. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +3 -5
  335. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
  336. package/dist/components/inputs/checkbox-field/checkbox-field.js +10 -17
  337. package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
  338. package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +3 -9
  339. package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
  340. package/dist/components/inputs/checkbox-group/checkbox-group.js +20 -59
  341. package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
  342. package/dist/components/inputs/code-editor/code-editor.d.ts +2 -1
  343. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  344. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  345. package/dist/components/inputs/combo-box/combo-box.d.ts +11 -10
  346. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  347. package/dist/components/inputs/combo-box/combo-box.js +30 -61
  348. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  349. package/dist/components/inputs/date-field/date-field.d.ts +8 -5
  350. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  351. package/dist/components/inputs/date-field/date-field.js +11 -17
  352. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  353. package/dist/components/inputs/date-picker/date-picker.d.ts +8 -0
  354. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  355. package/dist/components/inputs/date-picker/date-picker.js +8 -0
  356. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  357. package/dist/components/inputs/dropdown/dropdown.d.ts +7 -5
  358. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  359. package/dist/components/inputs/dropdown/dropdown.js +7 -5
  360. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  361. package/dist/components/inputs/file-field/file-field.d.ts +10 -6
  362. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  363. package/dist/components/inputs/file-field/file-field.js +19 -21
  364. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  365. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +7 -8
  366. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  367. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +9 -27
  368. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  369. package/dist/components/inputs/number-field/number-field.d.ts +7 -4
  370. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  371. package/dist/components/inputs/number-field/number-field.js +15 -17
  372. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  373. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +5 -6
  374. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  375. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +6 -19
  376. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  377. package/dist/components/inputs/password-field/password-field.d.ts +4 -5
  378. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  379. package/dist/components/inputs/password-field/password-field.js +6 -24
  380. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  381. package/dist/components/inputs/radio-button/radio-button.d.ts +3 -5
  382. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  383. package/dist/components/inputs/radio-button/radio-button.js +3 -11
  384. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  385. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +4 -6
  386. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  387. package/dist/components/inputs/radio-button-field/radio-button-field.js +7 -14
  388. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  389. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +3 -10
  390. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
  391. package/dist/components/inputs/radio-button-group/radio-button-group.js +19 -74
  392. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  393. package/dist/components/inputs/search-field/search-field.d.ts +5 -6
  394. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  395. package/dist/components/inputs/search-field/search-field.js +9 -37
  396. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  397. package/dist/components/inputs/segmented-control/segmented-control.d.ts +13 -14
  398. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  399. package/dist/components/inputs/segmented-control/segmented-control.js +18 -52
  400. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  401. package/dist/components/inputs/slider/slider.d.ts +4 -5
  402. package/dist/components/inputs/slider/slider.d.ts.map +1 -1
  403. package/dist/components/inputs/slider/slider.js +4 -15
  404. package/dist/components/inputs/slider/slider.js.map +1 -1
  405. package/dist/components/inputs/stepper/stepper.d.ts +3 -4
  406. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  407. package/dist/components/inputs/stepper/stepper.js +4 -14
  408. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  409. package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +6 -6
  410. package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
  411. package/dist/components/inputs/swatch-picker/swatch-picker.js +10 -31
  412. package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
  413. package/dist/components/inputs/switch/switch.d.ts +6 -7
  414. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  415. package/dist/components/inputs/switch/switch.js +8 -25
  416. package/dist/components/inputs/switch/switch.js.map +1 -1
  417. package/dist/components/inputs/switch-field/switch-field.d.ts +3 -4
  418. package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
  419. package/dist/components/inputs/switch-field/switch-field.js +4 -16
  420. package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
  421. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +1 -1
  422. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +1 -1
  423. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +3 -3
  424. package/dist/components/inputs/text-editor/text-editor.commands.js +5 -5
  425. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
  426. package/dist/components/inputs/text-editor/text-editor.d.ts +6 -6
  427. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  428. package/dist/components/inputs/text-editor/text-editor.js +10 -8
  429. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  430. package/dist/components/inputs/text-editor/text-editor.links.d.ts +2 -2
  431. package/dist/components/inputs/text-editor/text-editor.links.js +2 -2
  432. package/dist/components/inputs/text-editor/text-editor.mention.d.ts +3 -3
  433. package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
  434. package/dist/components/inputs/text-editor/text-editor.mention.js +3 -3
  435. package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
  436. package/dist/components/inputs/text-field/text-field.d.ts +7 -8
  437. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  438. package/dist/components/inputs/text-field/text-field.js +9 -27
  439. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  440. package/dist/components/inputs/time-field/time-field.d.ts +11 -3
  441. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  442. package/dist/components/inputs/time-field/time-field.js +26 -15
  443. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  444. package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
  445. package/dist/components/inputs/time-field/time-field.styles.js +0 -7
  446. package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
  447. package/dist/components/inputs/time-picker/time-picker.d.ts +13 -7
  448. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  449. package/dist/components/inputs/time-picker/time-picker.js +21 -14
  450. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  451. package/dist/components/inputs/toggle-button/toggle-button.d.ts +6 -7
  452. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  453. package/dist/components/inputs/toggle-button/toggle-button.js +9 -21
  454. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  455. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +3 -11
  456. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  457. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +24 -78
  458. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  459. package/dist/components/inputs/token-field/token-field.d.ts +29 -25
  460. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  461. package/dist/components/inputs/token-field/token-field.js +50 -50
  462. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  463. package/dist/components/layout/box/box.d.ts +4 -2
  464. package/dist/components/layout/box/box.d.ts.map +1 -1
  465. package/dist/components/layout/box/box.js +4 -2
  466. package/dist/components/layout/box/box.js.map +1 -1
  467. package/dist/components/layout/card/card.d.ts +3 -1
  468. package/dist/components/layout/card/card.d.ts.map +1 -1
  469. package/dist/components/layout/card/card.js +3 -1
  470. package/dist/components/layout/card/card.js.map +1 -1
  471. package/dist/components/layout/collection/collection.d.ts +3 -1
  472. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  473. package/dist/components/layout/collection/collection.js +3 -1
  474. package/dist/components/layout/collection/collection.js.map +1 -1
  475. package/dist/components/layout/container/container.d.ts +7 -5
  476. package/dist/components/layout/container/container.d.ts.map +1 -1
  477. package/dist/components/layout/container/container.js +7 -5
  478. package/dist/components/layout/container/container.js.map +1 -1
  479. package/dist/components/layout/divider/divider.d.ts +2 -0
  480. package/dist/components/layout/divider/divider.d.ts.map +1 -1
  481. package/dist/components/layout/divider/divider.js +2 -0
  482. package/dist/components/layout/divider/divider.js.map +1 -1
  483. package/dist/components/layout/kanban/kanban.d.ts +1 -1
  484. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  485. package/dist/components/layout/kanban/kanban.js +3 -7
  486. package/dist/components/layout/kanban/kanban.js.map +1 -1
  487. package/dist/components/layout/page/page.d.ts +12 -3
  488. package/dist/components/layout/page/page.d.ts.map +1 -1
  489. package/dist/components/layout/page/page.js +49 -3
  490. package/dist/components/layout/page/page.js.map +1 -1
  491. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  492. package/dist/components/layout/page/page.styles.js +7 -0
  493. package/dist/components/layout/page/page.styles.js.map +1 -1
  494. package/dist/components/layout/page-footer/page-footer.d.ts +1 -0
  495. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  496. package/dist/components/layout/page-footer/page-footer.js +1 -0
  497. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  498. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -0
  499. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  500. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -0
  501. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  502. package/dist/components/layout/page-sections/hero/hero.d.ts +1 -0
  503. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  504. package/dist/components/layout/page-sections/hero/hero.js +1 -0
  505. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  506. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -0
  507. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  508. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -0
  509. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  510. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -0
  511. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  512. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -0
  513. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  514. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +7 -5
  515. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  516. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +7 -5
  517. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  518. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +2 -0
  519. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  520. package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -0
  521. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  522. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -0
  523. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  524. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -0
  525. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  526. package/dist/components/layout/popover/popover.d.ts +30 -6
  527. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  528. package/dist/components/layout/popover/popover.js +50 -129
  529. package/dist/components/layout/popover/popover.js.map +1 -1
  530. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  531. package/dist/components/layout/popover/popover.styles.js +6 -0
  532. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  533. package/dist/components/layout/sheet/sheet.d.ts +9 -38
  534. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  535. package/dist/components/layout/sheet/sheet.js +15 -174
  536. package/dist/components/layout/sheet/sheet.js.map +1 -1
  537. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  538. package/dist/components/layout/sheet/sheet.styles.js +1 -0
  539. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  540. package/dist/components/layout/sheet/sheet.template.js +5 -5
  541. package/dist/components/layout/sheet/sheet.template.js.map +1 -1
  542. package/dist/components/layout/shell/shell.d.ts +2 -1
  543. package/dist/components/layout/shell/shell.d.ts.map +1 -1
  544. package/dist/components/layout/shell/shell.js +2 -1
  545. package/dist/components/layout/shell/shell.js.map +1 -1
  546. package/dist/components/layout/spacer/spacer.d.ts +7 -5
  547. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  548. package/dist/components/layout/spacer/spacer.js +7 -5
  549. package/dist/components/layout/spacer/spacer.js.map +1 -1
  550. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +3 -2
  551. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  552. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +3 -2
  553. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  554. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +5 -3
  555. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  556. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +5 -3
  557. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  558. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +4 -2
  559. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  560. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +4 -2
  561. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  562. package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
  563. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
  564. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +1 -1
  565. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
  566. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +2 -0
  567. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  568. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +2 -0
  569. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  570. package/dist/components/layout/window/window.d.ts +4 -30
  571. package/dist/components/layout/window/window.d.ts.map +1 -1
  572. package/dist/components/layout/window/window.js +14 -139
  573. package/dist/components/layout/window/window.js.map +1 -1
  574. package/dist/components/layout/window/window.template.d.ts.map +1 -1
  575. package/dist/components/layout/window/window.template.js +5 -4
  576. package/dist/components/layout/window/window.template.js.map +1 -1
  577. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -2
  578. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -2
  579. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +2 -1
  580. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
  581. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -1
  582. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -1
  583. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +1 -1
  584. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +1 -1
  585. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -2
  586. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -2
  587. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +7 -7
  588. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +7 -7
  589. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +3 -3
  590. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +3 -3
  591. package/dist/components/lists-and-tables/list/list.d.ts +42 -64
  592. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  593. package/dist/components/lists-and-tables/list/list.js +71 -168
  594. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  595. package/dist/components/lists-and-tables/list/list.roving.d.ts +79 -0
  596. package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -0
  597. package/dist/components/lists-and-tables/list/list.roving.js +122 -0
  598. package/dist/components/lists-and-tables/list/list.roving.js.map +1 -0
  599. package/dist/components/lists-and-tables/list-item/list-item.d.ts +63 -47
  600. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  601. package/dist/components/lists-and-tables/list-item/list-item.js +68 -55
  602. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  603. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +12 -11
  604. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  605. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +13 -13
  606. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  607. package/dist/components/lists-and-tables/table/table.d.ts +8 -5
  608. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  609. package/dist/components/lists-and-tables/table/table.js +8 -5
  610. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  611. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +1 -0
  612. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  613. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +1 -0
  614. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  615. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -6
  616. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  617. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +15 -64
  618. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  619. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
  620. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +14 -9
  621. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  622. package/dist/components/navigation/link/link.d.ts +6 -4
  623. package/dist/components/navigation/link/link.d.ts.map +1 -1
  624. package/dist/components/navigation/link/link.js +6 -4
  625. package/dist/components/navigation/link/link.js.map +1 -1
  626. package/dist/components/navigation/link-group/link-group.d.ts +3 -3
  627. package/dist/components/navigation/link-group/link-group.js +3 -3
  628. package/dist/components/navigation/menu-bar/menu-bar.d.ts +14 -18
  629. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  630. package/dist/components/navigation/menu-bar/menu-bar.js +47 -72
  631. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  632. package/dist/components/navigation/menu-bar/menu-bar.template.js +2 -2
  633. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +5 -6
  634. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  635. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +17 -33
  636. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  637. package/dist/components/navigation/pagination/pagination.d.ts +4 -3
  638. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  639. package/dist/components/navigation/pagination/pagination.js +4 -3
  640. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  641. package/dist/components/navigation/skip-link/skip-link.d.ts +1 -0
  642. package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
  643. package/dist/components/navigation/skip-link/skip-link.js +1 -0
  644. package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
  645. package/dist/components/navigation/tab-bar/tab-bar.d.ts +12 -4
  646. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  647. package/dist/components/navigation/tab-bar/tab-bar.js +22 -6
  648. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  649. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  650. package/dist/components/navigation/tab-bar/tab-bar.template.js +4 -2
  651. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  652. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +2 -0
  653. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  654. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -0
  655. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  656. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +2 -0
  657. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  658. package/dist/components/navigation/top-title-bar/top-title-bar.js +2 -0
  659. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  660. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +1 -1
  661. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +10 -8
  662. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  663. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +11 -9
  664. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  665. package/dist/components/status-and-feedback/badge/badge.d.ts +3 -1
  666. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  667. package/dist/components/status-and-feedback/badge/badge.js +3 -1
  668. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  669. package/dist/components/status-and-feedback/banner/banner.d.ts +7 -5
  670. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  671. package/dist/components/status-and-feedback/banner/banner.js +6 -4
  672. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  673. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +5 -3
  674. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  675. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +5 -3
  676. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  677. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +4 -2
  678. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  679. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +4 -2
  680. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  681. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +5 -23
  682. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  683. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +7 -125
  684. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  685. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
  686. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +5 -3
  687. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
  688. package/dist/components/status-and-feedback/notification/notification.d.ts +3 -1
  689. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  690. package/dist/components/status-and-feedback/notification/notification.js +3 -1
  691. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  692. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +5 -3
  693. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  694. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +5 -3
  695. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  696. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -2
  697. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  698. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -2
  699. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  700. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -0
  701. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  702. package/dist/components/status-and-feedback/status-bar/status-bar.js +2 -0
  703. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  704. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +2 -0
  705. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  706. package/dist/components/status-and-feedback/step-bar/step-bar.js +2 -0
  707. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  708. package/dist/css/document-reset.css +9 -0
  709. package/dist/nldd.min.js +929 -865
  710. package/dist/types/react.d.ts +156 -62
  711. package/dist/types/vue.d.ts +255 -74
  712. package/dist/utilities/ancestor-scroll.d.ts +15 -0
  713. package/dist/utilities/ancestor-scroll.d.ts.map +1 -0
  714. package/dist/utilities/ancestor-scroll.js +24 -0
  715. package/dist/utilities/ancestor-scroll.js.map +1 -0
  716. package/dist/utilities/choice-group.d.ts +91 -0
  717. package/dist/utilities/choice-group.d.ts.map +1 -0
  718. package/dist/utilities/choice-group.js +135 -0
  719. package/dist/utilities/choice-group.js.map +1 -0
  720. package/dist/utilities/deep-active-element.d.ts +6 -0
  721. package/dist/utilities/deep-active-element.d.ts.map +1 -0
  722. package/dist/utilities/deep-active-element.js +11 -0
  723. package/dist/utilities/deep-active-element.js.map +1 -0
  724. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  725. package/dist/utilities/dev-rules.generated.js +972 -922
  726. package/dist/utilities/dev-rules.generated.js.map +1 -1
  727. package/dist/utilities/form-associated-mixin.d.ts +21 -5
  728. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  729. package/dist/utilities/form-associated-mixin.js +86 -5
  730. package/dist/utilities/form-associated-mixin.js.map +1 -1
  731. package/dist/utilities/interest-intent.d.ts +63 -0
  732. package/dist/utilities/interest-intent.d.ts.map +1 -0
  733. package/dist/utilities/interest-intent.js +139 -0
  734. package/dist/utilities/interest-intent.js.map +1 -0
  735. package/dist/utilities/{interest-controller.d.ts → interest-invoker.d.ts} +5 -14
  736. package/dist/utilities/interest-invoker.d.ts.map +1 -0
  737. package/dist/utilities/{interest-controller.js → interest-invoker.js} +39 -97
  738. package/dist/utilities/interest-invoker.js.map +1 -0
  739. package/dist/utilities/modal-overlay.d.ts +73 -0
  740. package/dist/utilities/modal-overlay.d.ts.map +1 -0
  741. package/dist/utilities/modal-overlay.js +219 -0
  742. package/dist/utilities/modal-overlay.js.map +1 -0
  743. package/dist/utilities/overflow-menu.d.ts +97 -0
  744. package/dist/utilities/overflow-menu.d.ts.map +1 -0
  745. package/dist/utilities/overflow-menu.js +209 -0
  746. package/dist/utilities/overflow-menu.js.map +1 -0
  747. package/dist/utilities/overlay-invoker.d.ts +185 -0
  748. package/dist/utilities/overlay-invoker.d.ts.map +1 -0
  749. package/dist/utilities/overlay-invoker.js +329 -0
  750. package/dist/utilities/overlay-invoker.js.map +1 -0
  751. package/dist/utilities/page-section-mixin.d.ts +11 -0
  752. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  753. package/dist/utilities/page-section-mixin.js +11 -0
  754. package/dist/utilities/page-section-mixin.js.map +1 -1
  755. package/dist/utilities/return-focus.d.ts +0 -2
  756. package/dist/utilities/return-focus.d.ts.map +1 -1
  757. package/dist/utilities/return-focus.js +1 -7
  758. package/dist/utilities/return-focus.js.map +1 -1
  759. package/dist/utilities/with-translations.d.ts +3 -0
  760. package/dist/utilities/with-translations.d.ts.map +1 -1
  761. package/dist/utilities/with-translations.js +3 -0
  762. package/dist/utilities/with-translations.js.map +1 -1
  763. package/lint/data.generated.json +1 -1
  764. package/lint/engine.js +4 -114
  765. package/lint/fix.js +53 -136
  766. package/lint/frontends.js +68 -6
  767. package/lint/linter.js +1 -0
  768. package/lint/main.js +21 -123
  769. package/lint/project.js +31 -0
  770. package/lint/rule-compiler.js +318 -0
  771. package/lint/rule-index.js +33 -1
  772. package/lint/rule.schema.json +1 -1
  773. package/lint/session.js +127 -0
  774. package/lint/tree.js +46 -0
  775. package/package.json +11 -19
  776. package/dist/cdn/chunks/checkbox-group-CC72cq-P.js +0 -103
  777. package/dist/cdn/chunks/form-associated-mixin-BtStDDYA.js +0 -73
  778. package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +0 -20
  779. package/dist/cdn/chunks/popover-target-B25dxnmt.js +0 -10
  780. package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +0 -30
  781. package/dist/cdn/chunks/radio-button-group-D_OezDhB.js +0 -124
  782. package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts +0 -52
  783. package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts.map +0 -1
  784. package/dist/components/actions/toolbar/toolbar.overflow-menu.js +0 -105
  785. package/dist/components/actions/toolbar/toolbar.overflow-menu.js.map +0 -1
  786. package/dist/utilities/interest-controller.d.ts.map +0 -1
  787. package/dist/utilities/interest-controller.js.map +0 -1
  788. package/dist/utilities/open-when-rendered.d.ts +0 -21
  789. package/dist/utilities/open-when-rendered.d.ts.map +0 -1
  790. package/dist/utilities/open-when-rendered.js +0 -30
  791. package/dist/utilities/open-when-rendered.js.map +0 -1
  792. package/dist/utilities/popover-target.d.ts +0 -25
  793. package/dist/utilities/popover-target.d.ts.map +0 -1
  794. package/dist/utilities/popover-target.js +0 -48
  795. package/dist/utilities/popover-target.js.map +0 -1
  796. package/dist/utilities/popup-anchor-controller.d.ts +0 -63
  797. package/dist/utilities/popup-anchor-controller.d.ts.map +0 -1
  798. package/dist/utilities/popup-anchor-controller.js +0 -72
  799. package/dist/utilities/popup-anchor-controller.js.map +0 -1
@@ -1,16 +1,16 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
- import { n as i, r as a } from "./custom-element-DeaCQ2NP.js";
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 } from "./custom-element-DD4ffKRs.js";
3
3
  import { t as o } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { n as c } from "./toolbar.styles-DDjpdCHV.js";
6
- import "./icon-button-DT_Bi4Ac.js";
5
+ import { n as c } from "./toolbar.styles-vmMPyzS_.js";
6
+ import "./icon-button-h_sEz0Ia.js";
7
7
  import { t as l } from "./toolbar.i18n-QwS37CBC.js";
8
- import { t as u } from "./translations-cJjO6nQV.js";
9
- import "./menu-NGpB1SKq.js";
10
- import { NLDDToolbarItem as d } from "./toolbar-item-ZYoyKOyy.js";
11
- import { NLDDToolbarTitle as f } from "./toolbar-title-FKtQ8ZC4.js";
8
+ import { t as u } from "./translations-Cjd13Xb6.js";
9
+ import { t as d } from "./overflow-menu-DFoh3xL_.js";
10
+ import { NLDDToolbarItem as f } from "./toolbar-item-DPizdgYi.js";
11
+ import { NLDDToolbarTitle as p } from "./toolbar-title-CB4IJFGv.js";
12
12
  // src/components/actions/toolbar/toolbar.template.ts
13
- function p(e, r, i, a, o, s, c, l, u, d) {
13
+ function m(e, r, i, a, o, s, c, l, u, d) {
14
14
  return t`
15
15
  <div class="toolbar"
16
16
  role="toolbar"
@@ -47,74 +47,30 @@ function p(e, r, i, a, o, s, c, l, u, d) {
47
47
  </div>
48
48
  `;
49
49
  }
50
- // src/components/actions/toolbar/toolbar.overflow-menu.ts
51
- var m, h = class e {
52
- constructor(e) {
53
- this._host = e, this.open = !1, this._menu = null, this._originals = /* @__PURE__ */ new Map(), this._forwardSelect = (e) => {
54
- let t = e.composedPath().find((e) => e instanceof Element && e.hasAttribute("data-toolbar-oid")), n = t && this._originals.get(t.getAttribute("data-toolbar-oid"));
55
- n && n.dispatchEvent(new CustomEvent("select", {
56
- bubbles: !0,
57
- composed: !0,
58
- detail: e.detail
59
- }));
60
- }, e.addController(this);
61
- }
62
- hostConnected() {
63
- if (this._menu) return;
64
- let t = document.createElement("nldd-menu");
65
- t.setAttribute("placement", "bottom-end"), t.id = `nldd-toolbar-overflow-menu-${e._counter++}`, t.addEventListener("toggle", (e) => {
66
- this.open = e.newState === "open", this._host.requestUpdate();
67
- }), t.addEventListener("select", this._forwardSelect), this._host.renderRoot.appendChild(t), this._menu = t;
68
- }
69
- hostDisconnected() {
70
- this._menu?.remove(), this._menu = null, this.open = !1;
71
- }
72
- hide() {
73
- this.open && this._menu?.hidePopover();
74
- }
75
- anchorTo(e) {
76
- this._menu && e && (this._menu.anchorElement = e, "popoverTargetElement" in e && (e.popoverTargetElement = this._menu), "popoverTargetAction" in e && e.popoverTargetAction === "toggle" && (e.popoverTargetAction = "show"));
77
- }
78
- fill(e) {
79
- if (this._menu) {
80
- this._menu.innerHTML = "", this._originals.clear();
81
- for (let t of e) this._menu.appendChild(this._clone(t));
82
- }
83
- }
84
- _clone(t) {
85
- for (let n of [t, ...t.querySelectorAll("*")]) {
86
- let t = n.getAttribute("data-toolbar-oid");
87
- t || (t = `oid-${e._counter++}`, n.setAttribute("data-toolbar-oid", t)), this._originals.set(t, n);
88
- }
89
- let n = t.cloneNode(!0);
90
- return n.removeAttribute("slot"), n;
91
- }
92
- };
93
- m = h, m._counter = 0;
94
50
  // src/components/actions/toolbar/toolbar.layout.ts
95
- function g(e) {
51
+ function h(e) {
96
52
  return e.filter((e) => e.type === "item");
97
53
  }
98
- function _(e, t, n) {
54
+ function g(e, t, n) {
99
55
  return [
100
- ...g(n).map((e, t) => ({
56
+ ...h(n).map((e, t) => ({
101
57
  item: e,
102
58
  areaOrder: 0,
103
59
  index: t
104
60
  })),
105
- ...g(t).map((e, t) => ({
61
+ ...h(t).map((e, t) => ({
106
62
  item: e,
107
63
  areaOrder: 1,
108
64
  index: t
109
65
  })),
110
- ...g(e).map((e, t) => ({
66
+ ...h(e).map((e, t) => ({
111
67
  item: e,
112
68
  areaOrder: 2,
113
69
  index: t
114
70
  }))
115
71
  ].sort((e, t) => e.item.priority === t.item.priority ? e.areaOrder === t.areaOrder ? t.index - e.index : e.areaOrder - t.areaOrder : e.item.priority - t.item.priority).map(({ item: e }) => e);
116
72
  }
117
- function v(e) {
73
+ function _(e) {
118
74
  let t = [], n = /* @__PURE__ */ new Map();
119
75
  for (let r of e) {
120
76
  if (!r.hasPriority) {
@@ -131,11 +87,11 @@ function v(e) {
131
87
  }
132
88
  return t;
133
89
  }
134
- function y(e, t, n, r) {
90
+ function v(e, t, n, r) {
135
91
  let i = e.filter((e) => !t.has(e.id));
136
92
  return Math.max(0, i.length - 1) * r + i.reduce((e, t) => t.type === "item" || t.type === "title" ? e + (n.get(t.id) ?? 0) : e, 0);
137
93
  }
138
- function b(e, t, n, r, i, a) {
94
+ function y(e, t, n, r, i, a) {
139
95
  if (r === 0 && a === 0) return {
140
96
  leftZero: !0,
141
97
  rightZero: !0
@@ -146,15 +102,15 @@ function b(e, t, n, r, i, a) {
146
102
  rightZero: s <= 0
147
103
  };
148
104
  }
149
- function x(e) {
105
+ function b(e) {
150
106
  if (e.length !== 1) return !1;
151
107
  let [t] = e;
152
108
  return t.type === "title" || t.type === "item" && t.isFluid;
153
109
  }
154
110
  // src/components/actions/toolbar/toolbar.ts
155
- var S = class extends e {
111
+ var x = class extends e {
156
112
  constructor(...e) {
157
- super(...e), this.size = "md", this.showItemLabels = !1, this.accessibleLabel = "", this.translations = {}, this._overflowMenu = new h(this), this._startChildren = [], this._centerChildren = [], this._endChildren = [], this._overflowIds = /* @__PURE__ */ new Set(), this._leftSpacerZero = !1, this._rightSpacerZero = !1, this._centerOnly = !1, this._soloFluid = !1, this._pinnedOverflowItems = [], this._childIds = /* @__PURE__ */ new WeakMap(), this._idCounter = 0, this._itemWidths = /* @__PURE__ */ new Map(), this._observer = null, this._resizeObserver = null, this._isMeasuring = !1, this._childResizeObserver = null, this._lastChildWidths = /* @__PURE__ */ new WeakMap(), this._isBuilding = !1, this._hasMeasured = !1, this._prioritizedItemsCache = null, this._onFontsLoaded = () => {
113
+ super(...e), this.size = "md", this.showItemLabels = !1, this.accessibleLabel = "", this.translations = {}, this._overflowMenu = new d(this, { id: "nldd-toolbar-overflow-menu" }), this._startChildren = [], this._centerChildren = [], this._endChildren = [], this._overflowIds = /* @__PURE__ */ new Set(), this._leftSpacerZero = !1, this._rightSpacerZero = !1, this._centerOnly = !1, this._soloFluid = !1, this._pinnedOverflowItems = [], this._childIds = /* @__PURE__ */ new WeakMap(), this._idCounter = 0, this._itemWidths = /* @__PURE__ */ new Map(), this._observer = null, this._resizeObserver = null, this._isMeasuring = !1, this._childResizeObserver = null, this._lastChildWidths = /* @__PURE__ */ new WeakMap(), this._isBuilding = !1, this._hasMeasured = !1, this._prioritizedItemsCache = null, this._onFontsLoaded = () => {
158
114
  this._hasMeasured && this._measureAndUpdate();
159
115
  };
160
116
  }
@@ -191,7 +147,7 @@ var S = class extends e {
191
147
  }
192
148
  _syncMenuItems() {
193
149
  let e = [...this._getPrioritizedItems()].reverse().filter((e) => this._overflowIds.has(e.id)).flatMap((e) => e.overflowItems);
194
- this._overflowMenu.fill([...e, ...this._pinnedOverflowItems]);
150
+ this._overflowMenu.mirror([...e, ...this._pinnedOverflowItems]);
195
151
  }
196
152
  _syncHosts() {
197
153
  this._allHostChildren().forEach((e) => {
@@ -204,7 +160,7 @@ var S = class extends e {
204
160
  });
205
161
  }
206
162
  _getPrioritizedItems() {
207
- return this._prioritizedItemsCache ?? (this._prioritizedItemsCache = _(this._startChildren, this._centerChildren, this._endChildren)), this._prioritizedItemsCache;
163
+ return this._prioritizedItemsCache ?? (this._prioritizedItemsCache = g(this._startChildren, this._centerChildren, this._endChildren)), this._prioritizedItemsCache;
208
164
  }
209
165
  _allHostChildren() {
210
166
  return [
@@ -230,13 +186,13 @@ var S = class extends e {
230
186
  if (!e) return;
231
187
  let t = this.getBoundingClientRect().width, n = parseFloat(getComputedStyle(e).gap ?? "0"), r = parseFloat(getComputedStyle(this).gap ?? "0"), i = this.shadowRoot?.querySelector(".toolbar__overflow-button"), a = this.shadowRoot?.querySelector(".toolbar__overflow-button nldd-icon-button"), o = i && !i.classList.contains("is-hidden") && a ? a.getBoundingClientRect().width + r : 0;
232
188
  this.style.setProperty("--_toolbar-overflow-button-width", `${o}px`);
233
- let s = y(this._startChildren, this._overflowIds, this._itemWidths, n), c = y(this._centerChildren, this._overflowIds, this._itemWidths, n), l = y(this._endChildren, this._overflowIds, this._itemWidths, n);
189
+ let s = v(this._startChildren, this._overflowIds, this._itemWidths, n), c = v(this._centerChildren, this._overflowIds, this._itemWidths, n), l = v(this._endChildren, this._overflowIds, this._itemWidths, n);
234
190
  this.style.setProperty("--_toolbar-start-width", `${s}px`), this.style.setProperty("--_toolbar-center-width", `${c}px`), this.style.setProperty("--_toolbar-end-width", `${l}px`), this.style.setProperty("--_toolbar-left-spacer-gap", s > 0 ? `${n}px` : "0px"), this.style.setProperty("--_toolbar-right-spacer-gap", l > 0 ? `${n}px` : "0px");
235
- let { leftZero: u, rightZero: d } = b(t, n, o, s, c, l);
191
+ let { leftZero: u, rightZero: d } = y(t, n, o, s, c, l);
236
192
  u !== this._leftSpacerZero && (this._leftSpacerZero = u), d !== this._rightSpacerZero && (this._rightSpacerZero = d);
237
193
  let f = this._isCenterOnly();
238
194
  f !== this._centerOnly && (this._centerOnly = f);
239
- let p = x(this._allHostChildren().filter((e) => !this._overflowIds.has(e.id) && e.element.getClientRects().length > 0));
195
+ let p = b(this._allHostChildren().filter((e) => !this._overflowIds.has(e.id) && e.element.getClientRects().length > 0));
240
196
  p !== this._soloFluid && (this._soloFluid = p);
241
197
  }
242
198
  _isCenterOnly() {
@@ -257,7 +213,7 @@ var S = class extends e {
257
213
  this.style.setProperty("--_toolbar-width", `${t}px`), this._measureOverflow(e), this._hasMeasured = !0, this._isMeasuring = !1;
258
214
  }
259
215
  _measureOverflow(e) {
260
- let t = this.shadowRoot?.querySelector(".toolbar__overflow-button"), n = this._allHostChildren(), r = g(n), i = n.filter((e) => e.type === "title");
216
+ let t = this.shadowRoot?.querySelector(".toolbar__overflow-button"), n = this._allHostChildren(), r = h(n), i = n.filter((e) => e.type === "title");
261
217
  r.forEach((e) => {
262
218
  let t = e.element;
263
219
  t.hidden = !1, this._syncShrinkable(t), t.hasAttribute("solo-fluid") && (t.removeAttribute("solo-fluid"), t.toggleAttribute("fluid", e.isFluid), e.isFluid && e.minWidth && t.style.setProperty("--_toolbar-item-min-width", e.minWidth));
@@ -271,7 +227,7 @@ var S = class extends e {
271
227
  return;
272
228
  }
273
229
  t?.classList.remove("is-hidden"), e.offsetWidth;
274
- let s = this._getPrioritizedItems(), c = /* @__PURE__ */ new Set(), l = v(s);
230
+ let s = this._getPrioritizedItems(), c = /* @__PURE__ */ new Set(), l = _(s);
275
231
  for (let t of l) {
276
232
  if (!o()) break;
277
233
  if (t.some((e) => e.isFluid)) {
@@ -389,20 +345,20 @@ var S = class extends e {
389
345
  });
390
346
  }
391
347
  render() {
392
- let e = this._soloFluid || x(this._allHostChildren().filter((e) => !this._overflowIds.has(e.id)));
393
- return p(this, this._centerChildren.length > 0, this._leftSpacerZero, this._rightSpacerZero, e, this._pinnedOverflowItems.length > 0 || this._overflowIds.size > 0, this._overflowMenu.open, this.accessibleLabel, this._centerOnly, (e) => this._t(e));
348
+ let e = this._soloFluid || b(this._allHostChildren().filter((e) => !this._overflowIds.has(e.id)));
349
+ return m(this, this._centerChildren.length > 0, this._leftSpacerZero, this._rightSpacerZero, e, this._pinnedOverflowItems.length > 0 || this._overflowIds.size > 0, this._overflowMenu.open, this.accessibleLabel, this._centerOnly, (e) => this._t(e));
394
350
  }
395
- }, C = (S.styles = c, S);
351
+ }, S = (x.styles = c, x);
396
352
  r([a({
397
353
  reflect: !0,
398
354
  converter: s("md")
399
- })], C.prototype, "size", void 0), r([a({
355
+ })], S.prototype, "size", void 0), r([a({
400
356
  type: Boolean,
401
357
  reflect: !0,
402
358
  attribute: "show-item-labels"
403
- })], C.prototype, "showItemLabels", void 0), r([a({
359
+ })], S.prototype, "showItemLabels", void 0), r([a({
404
360
  reflect: !0,
405
361
  attribute: "accessible-label",
406
362
  converter: s("")
407
- })], C.prototype, "accessibleLabel", void 0), r([a({ type: Object })], C.prototype, "translations", void 0), r([i()], C.prototype, "_startChildren", void 0), r([i()], C.prototype, "_centerChildren", void 0), r([i()], C.prototype, "_endChildren", void 0), r([i()], C.prototype, "_overflowIds", void 0), r([i()], C.prototype, "_leftSpacerZero", void 0), r([i()], C.prototype, "_rightSpacerZero", void 0), r([i()], C.prototype, "_centerOnly", void 0), r([i()], C.prototype, "_soloFluid", void 0), r([i()], C.prototype, "_pinnedOverflowItems", void 0), C = r([o("nldd-toolbar")], C);
408
- export { C as NLDDToolbar, d as NLDDToolbarItem, f as NLDDToolbarTitle, v as groupForOverflow };
363
+ })], S.prototype, "accessibleLabel", void 0), r([a({ type: Object })], S.prototype, "translations", void 0), r([i()], S.prototype, "_startChildren", void 0), r([i()], S.prototype, "_centerChildren", void 0), r([i()], S.prototype, "_endChildren", void 0), r([i()], S.prototype, "_overflowIds", void 0), r([i()], S.prototype, "_leftSpacerZero", void 0), r([i()], S.prototype, "_rightSpacerZero", void 0), r([i()], S.prototype, "_centerOnly", void 0), r([i()], S.prototype, "_soloFluid", void 0), r([i()], S.prototype, "_pinnedOverflowItems", void 0), S = r([o("nldd-toolbar")], S);
364
+ export { S as NLDDToolbar, f as NLDDToolbarItem, p as NLDDToolbarTitle, _ as groupForOverflow };
@@ -1,8 +1,8 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
- import { r as i } from "./custom-element-DeaCQ2NP.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CeGXihRM.js";
2
+ import { r as i } from "./custom-element-DD4ffKRs.js";
3
3
  import { t as a } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { t as s } from "./toolbar.styles-DDjpdCHV.js";
5
+ import { t as s } from "./toolbar.styles-vmMPyzS_.js";
6
6
  // src/components/actions/toolbar/toolbar-item.template.ts
7
7
  function c(e) {
8
8
  return t`
@@ -1,12 +1,12 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
- import { r as i } from "./custom-element-DeaCQ2NP.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CeGXihRM.js";
2
+ import { r as i } from "./custom-element-DD4ffKRs.js";
3
3
  import { t as a } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { r as s } from "./toolbar.styles-DDjpdCHV.js";
5
+ import { r as s } from "./toolbar.styles-vmMPyzS_.js";
6
6
  import { t as c } from "./link-rel-DvrTEfVT.js";
7
7
  import { n as l } from "./link-hint-KFhgr5Ng.js";
8
8
  import { t as u } from "./toolbar.i18n-QwS37CBC.js";
9
- import { t as d } from "./translations-cJjO6nQV.js";
9
+ import { t as d } from "./translations-Cjd13Xb6.js";
10
10
  // src/components/actions/toolbar/toolbar-title.template.ts
11
11
  function f(e) {
12
12
  let r = t`
@@ -1,6 +1,6 @@
1
- import { a as e } from "./custom-element-DeaCQ2NP.js";
2
- import "./decorate-CCYde2ES.js";
3
- import { t } from "./shadow-resets-CRdvf-Ei.js";
1
+ import { s as e } from "./custom-element-DD4ffKRs.js";
2
+ import "./decorate-CeGXihRM.js";
3
+ import { t } from "./shadow-resets-9v6K-Fie.js";
4
4
  // src/components/actions/toolbar/toolbar.styles.ts
5
5
  var n = e`
6
6
  :host {
@@ -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-CCYde2ES.js";
3
- import { a, n as o, r as s } from "./custom-element-DeaCQ2NP.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";
4
4
  import { t as c } from "./custom-element-BW8Ua4c7.js";
5
- import { a as l, i as u, n as d, o as f, r as p, s as m } from "./floating-ui.dom-BvAAdCVe.js";
6
- import { t as h } from "./reflect-non-default-Bu3rpCvg.js";
7
- import { n as g, t as _ } from "./shadow-resets-CRdvf-Ei.js";
8
- import { i as v, n as y, r as b } from "./keyboard-shortcut-Ci95olxF.js";
9
- import { r as x } from "./input-modality-XE0B7yCn.js";
10
- import { t as S } from "./carried-context-DlMSujiJ.js";
5
+ import { a as l, i as u, l as d, n as f, o as p, r as m, s as h } from "./floating-ui.dom-CB34tcZx.js";
6
+ import { t as g } from "./reflect-non-default-Bu3rpCvg.js";
7
+ import { n as _, t as v } from "./shadow-resets-9v6K-Fie.js";
8
+ import { i as y, n as b, r as x } from "./keyboard-shortcut-DZDtndhS.js";
9
+ import { t as S } from "./interest-intent-Bk3i_upv.js";
10
+ import { t as C } from "./carried-context-DlMSujiJ.js";
11
+ import { t as w } from "./css-time-DmkAFd1y.js";
11
12
  // src/components/content/tooltip/tooltip.styles.ts
12
- var C = a`
13
+ var T = s`
13
14
  :host {
14
15
  box-sizing: border-box;
15
16
  }
@@ -36,7 +37,7 @@ var C = a`
36
37
  --_tooltip-offset: 4; /* px, unitless — read by JS */
37
38
  --_tooltip-shift-padding: 8; /* px, unitless — read by JS */
38
39
 
39
- ${_}
40
+ ${v}
40
41
  display: contents;
41
42
  }
42
43
 
@@ -113,7 +114,7 @@ var C = a`
113
114
  --context-background-color: var(--_tooltip-background-color);
114
115
  --context-content-color: var(--_tooltip-content-color);
115
116
  --context-content-secondary-color: var(--_tooltip-secondary-color);
116
- ${g}
117
+ ${_}
117
118
  --context-content-accent-color: var(--_tooltip-content-color);
118
119
  --context-content-success-color: var(--_tooltip-content-color);
119
120
  --context-content-warning-color: var(--_tooltip-content-color);
@@ -150,11 +151,12 @@ var C = a`
150
151
  }
151
152
  `;
152
153
  // src/components/content/tooltip/tooltip.template.ts
153
- function w(e) {
154
+ function E(e) {
154
155
  return n`
155
156
  <slot
156
157
  @mouseenter=${e._handleTriggerEnter}
157
158
  @mouseleave=${e._handleTriggerLeave}
159
+ @pointerdown=${e._handleTriggerPress}
158
160
  @focusin=${e._handleFocusIn}
159
161
  @focusout=${e._handleFocusOut}
160
162
  @click=${e._handleTriggerActivate}
@@ -166,8 +168,8 @@ function w(e) {
166
168
  @mouseleave=${e._handleTooltipLeave}
167
169
  >
168
170
  <div class="tooltip__body">
169
- ${e.text ? n`<span class="tooltip__text">${e.text}</span>` : r}
170
- ${b(e) ? n`
171
+ ${e._shownText ? n`<span class="tooltip__text">${e._shownText}</span>` : r}
172
+ ${x(e) ? n`
171
173
  <span class="tooltip__shortcut">
172
174
  <nldd-keyboard-shortcut
173
175
  size="inherit"
@@ -184,47 +186,83 @@ function w(e) {
184
186
  </div>
185
187
  `;
186
188
  }
189
+ // src/utilities/ancestor-scroll.ts
190
+ function D(e, t) {
191
+ let n = d(e);
192
+ for (let e of n) e.addEventListener("scroll", t, { passive: !0 });
193
+ return () => {
194
+ for (let e of n) e.removeEventListener("scroll", t);
195
+ };
196
+ }
187
197
  // src/components/content/tooltip/tooltip.ts
188
- var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchMedia == "function" ? matchMedia("(pointer: coarse)") : null, k = 700, A = 50, j = (E = class extends t {
198
+ var O = /* @__PURE__ */ e({ NLDDTooltip: () => F }), k;
199
+ function A(e) {
200
+ let t = [], n = e;
201
+ for (; n;) {
202
+ let e = n.assignedSlot ?? n.parentNode;
203
+ if (n = e instanceof ShadowRoot ? e.host : e instanceof Element ? e : null, !n) return "clippingAncestors";
204
+ let { overflowX: r, overflowY: i } = getComputedStyle(n);
205
+ if ((r !== "visible" || i !== "visible") && t.push(n), n.matches(":popover-open, :modal")) return t;
206
+ }
207
+ return "clippingAncestors";
208
+ }
209
+ var j = 0, M = typeof matchMedia == "function" ? matchMedia("(pointer: coarse)") : null, N = 700, P = 50, F = (k = class extends t {
189
210
  constructor(...e) {
190
- super(...e), this.text = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.open = !1, this.placement = "bottom", this.timing = "delay", this._visible = !1, this._tooltipId = `nldd-tooltip-${++D}`, this._hideTimeout = null, this._showTimeout = null, this._descriptionEl = null, this._currentTrigger = null, this._boundSlotChange = () => this._syncAriaDescribedBy(), this._shortcutAvailability = new y(this, () => this._syncAriaDescribedBy()), this._positionVersion = 0, this._shownByHover = !1, this._handleScroll = () => {
191
- this.open || !this._shownByHover ? this._updatePosition() : (this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._visible = !1);
211
+ super(...e), this.text = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.open = !1, this.placement = "bottom", this.timing = "delay", this._visible = !1, this._tooltipId = `nldd-tooltip-${++j}`, this._descriptionEl = null, this._currentTrigger = null, this._boundSlotChange = () => this._syncAriaDescribedBy(), this._shortcutAvailability = new b(this, () => this._syncAriaDescribedBy()), this._positionVersion = 0, this._pressed = !1, this._interest = new S({
212
+ showDelay: () => this.timing === "instant" ? 0 : this._delay("--_tooltip-show-delay", N),
213
+ hideDelay: () => this._delay("--_tooltip-hide-delay", P),
214
+ isOpen: () => this._visible,
215
+ available: () => this.timing !== "never" && this._hasContent,
216
+ show: () => {
217
+ this._visible = !0;
218
+ },
219
+ hide: () => {
220
+ this.open || (this._visible = !1);
221
+ }
222
+ }), this._release = () => {
223
+ this._pressed = !1, document.removeEventListener("pointerup", this._release, !0), document.removeEventListener("pointercancel", this._release, !0);
224
+ }, this._handleScroll = () => {
225
+ !this._visible || this.open || this._interest.focused ? this._updatePosition() : this._interest.close();
192
226
  }, this._handleKeyDown = (e) => {
193
227
  if (e.key === "Escape" && this._visible) {
194
228
  if (this.open) {
195
229
  if (!e.composedPath().includes(this)) return;
196
230
  this.dispatchEvent(new CustomEvent("dismiss")), e.preventDefault(), e.stopPropagation();
197
- } else this._visible = !1, e.preventDefault(), e.stopPropagation();
231
+ } else this._interest.dismiss(), e.preventDefault(), e.stopPropagation();
198
232
  }
199
233
  };
200
234
  }
201
235
  get _effectivePlacement() {
202
236
  return this.placement;
203
237
  }
238
+ get _shownText() {
239
+ return this._fadingText ?? this.text;
240
+ }
241
+ _delay(e, t) {
242
+ let n = parseInt(getComputedStyle(this).getPropertyValue(e), 10);
243
+ return Number.isFinite(n) ? n : t;
244
+ }
204
245
  connectedCallback() {
205
- super.connectedCallback(), this._visible && (document.addEventListener("keydown", this._handleKeyDown, !0), document.addEventListener("scroll", this._handleScroll, {
206
- capture: !0,
207
- passive: !0
208
- })), this.hasUpdated && this.shadowRoot?.querySelector("slot")?.addEventListener("slotchange", this._boundSlotChange);
246
+ super.connectedCallback(), this._visible && (document.addEventListener("keydown", this._handleKeyDown, !0), this._listenToScroll()), this.hasUpdated && this.shadowRoot?.querySelector("slot")?.addEventListener("slotchange", this._boundSlotChange);
209
247
  }
210
248
  firstUpdated() {
211
249
  this.shadowRoot?.querySelector("slot")?.addEventListener("slotchange", this._boundSlotChange);
212
250
  }
251
+ willUpdate(e) {
252
+ e.has("open") && !this.open && this._visible || e.has("_visible") && !this._visible && e.get("_visible") === !0 ? this._fadingText ?? (this._fadingText = e.has("text") ? e.get("text") : this.text) : this._visible && (this._fadingText = void 0);
253
+ }
213
254
  updated(e) {
214
- if (e.has("open") && (this.open ? (this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this._shownByHover = !1, this._visible = !0) : this._visible && (this._visible = !1)), e.has("_visible")) {
215
- this._visible ? (document.addEventListener("keydown", this._handleKeyDown, !0), document.addEventListener("scroll", this._handleScroll, {
216
- capture: !0,
217
- passive: !0
218
- })) : (document.removeEventListener("keydown", this._handleKeyDown, !0), document.removeEventListener("scroll", this._handleScroll, { capture: !0 }));
219
- let e = this._getTooltipElement();
220
- e && (this._visible ? (e.matches(":popover-open") || (e.removeAttribute("positioned"), e.showPopover()), this._updatePosition()) : e.matches(":popover-open") && e.hidePopover());
255
+ if (e.has("open") && (this._interest.reset(), this.open ? this._visible = !0 : this._visible && (this._visible = !1)), e.has("_visible")) {
256
+ this._visible ? (document.addEventListener("keydown", this._handleKeyDown, !0), this._listenToScroll()) : (document.removeEventListener("keydown", this._handleKeyDown, !0), e.get("_visible") === !0 && this._afterFade());
257
+ let t = this._getTooltipElement();
258
+ t && (this._visible ? (t.matches(":popover-open") || (t.removeAttribute("positioned"), t.showPopover()), this._updatePosition()) : t.matches(":popover-open") && t.hidePopover());
221
259
  }
222
- (e.has("text") || e.has("timing") || e.has("shortcut") || e.has("shortcutMac") || e.has("shortcutWindows") || e.has("shortcutLinux")) && this._syncAriaDescribedBy(), e.has("text") && this._visible && this._updatePosition(), e.has("timing") && this.timing === "never" && (this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this._visible && (this._visible = !1));
260
+ (e.has("text") || e.has("timing") || e.has("shortcut") || e.has("shortcutMac") || e.has("shortcutWindows") || e.has("shortcutLinux")) && this._syncAriaDescribedBy(), e.has("text") && this._visible && this._updatePosition(), e.has("timing") && this.timing === "never" && (this._interest.reset(), this._visible && (this._visible = !1));
223
261
  }
224
262
  _syncAriaDescribedBy() {
225
263
  let e = this._getTriggerElement();
226
264
  if (this._currentTrigger && this._currentTrigger !== e && this._currentTrigger.removeAttribute("aria-describedby"), this._currentTrigger = e, !e || e.getRootNode() !== document) return;
227
- let t = [this.text, v(this)].filter(Boolean).join(" ");
265
+ let t = [this.text, y(this)].filter(Boolean).join(" ");
228
266
  t && this.timing !== "never" ? (this._descriptionEl || (this._descriptionEl = document.createElement("span"), this._descriptionEl.id = this._tooltipId, Object.assign(this._descriptionEl.style, {
229
267
  position: "absolute",
230
268
  top: "0",
@@ -234,7 +272,7 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
234
272
  overflow: "hidden",
235
273
  clipPath: "inset(50%)",
236
274
  whiteSpace: "nowrap"
237
- }), document.body.appendChild(this._descriptionEl)), S(this._descriptionEl, this, { scheme: !1 }), this._descriptionEl.textContent !== t && (this._descriptionEl.textContent = t), e.getAttribute("aria-describedby") !== this._tooltipId && e.setAttribute("aria-describedby", this._tooltipId)) : (e.removeAttribute("aria-describedby"), this._descriptionEl?.remove(), this._descriptionEl = null);
275
+ }), document.body.appendChild(this._descriptionEl)), C(this._descriptionEl, this, { scheme: !1 }), this._descriptionEl.textContent !== t && (this._descriptionEl.textContent = t), e.getAttribute("aria-describedby") !== this._tooltipId && e.setAttribute("aria-describedby", this._tooltipId)) : (e.removeAttribute("aria-describedby"), this._descriptionEl?.remove(), this._descriptionEl = null);
238
276
  }
239
277
  _getTriggerElement() {
240
278
  return (this.shadowRoot?.querySelector("slot"))?.assignedElements({ flatten: !0 })?.[0] ?? null;
@@ -243,42 +281,40 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
243
281
  return this.shadowRoot?.querySelector(".tooltip") ?? null;
244
282
  }
245
283
  get _hasContent() {
246
- return !!(this.text || v(this));
284
+ return !!(this.text || y(this));
247
285
  }
248
286
  _handleTriggerEnter() {
249
- if (this.timing === "never" || (this._syncAriaDescribedBy(), !this._hasContent) || O?.matches) return;
250
- if (this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._showTimeout && clearTimeout(this._showTimeout), this.timing === "instant") {
251
- this._showTimeout = null, this._shownByHover = !this._visible || this._shownByHover, this._visible = !0;
252
- return;
253
- }
254
- let e = parseInt(getComputedStyle(this).getPropertyValue("--_tooltip-show-delay"), 10), t = Number.isFinite(e) ? e : k;
255
- this._showTimeout = setTimeout(() => {
256
- this._showTimeout = null, this._shownByHover = !this._visible || this._shownByHover, this._visible = !0;
257
- }, t);
287
+ this.timing !== "never" && (this._syncAriaDescribedBy(), this._hasContent && !M?.matches && this._interest.enter());
258
288
  }
259
289
  _handleFocusIn() {
260
- this.timing !== "never" && (this._syncAriaDescribedBy(), this._hasContent && (x() || (this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this._shownByHover = !1, this._visible = !0)));
290
+ this.timing !== "never" && (this._syncAriaDescribedBy(), this._pressed || this._interest.focus());
291
+ }
292
+ _handleTriggerPress() {
293
+ this._pressed = !0, document.addEventListener("pointerup", this._release, !0), document.addEventListener("pointercancel", this._release, !0);
261
294
  }
262
295
  _handleTriggerLeave() {
263
- if (this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this.open) return;
264
- this._hideTimeout && clearTimeout(this._hideTimeout);
265
- let e = parseInt(getComputedStyle(this).getPropertyValue("--_tooltip-hide-delay"), 10), t = Number.isFinite(e) ? e : A;
266
- this._hideTimeout = setTimeout(() => {
267
- this._visible = !1, this._hideTimeout = null;
268
- }, t);
296
+ this._interest.leave();
269
297
  }
270
298
  _handleFocusOut(e) {
271
299
  let t = (this.shadowRoot?.querySelector("slot"))?.assignedElements({ flatten: !0 }) ?? [], n = e.relatedTarget;
272
- n && t.some((e) => e.contains(n) || e.shadowRoot?.contains(n)) || this._handleTriggerLeave();
300
+ n && t.some((e) => e.contains(n) || e.shadowRoot?.contains(n)) || (this._release(), this._interest.blur());
273
301
  }
274
302
  _handleTriggerActivate() {
275
- this.open || (this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._visible = !1);
303
+ this.open || this._interest.close();
276
304
  }
277
305
  _handleTooltipEnter() {
278
- this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null);
306
+ this._interest.enter();
279
307
  }
280
308
  _handleTooltipLeave() {
281
- this._handleTriggerLeave();
309
+ this._interest.leave();
310
+ }
311
+ _listenToScroll() {
312
+ this._boundary = void 0, clearTimeout(this._fadeTimer), this._stopScroll?.(), this._stopScroll = D(this, this._handleScroll);
313
+ }
314
+ _afterFade() {
315
+ clearTimeout(this._fadeTimer), this._fadeTimer = setTimeout(() => {
316
+ this._stopScroll?.(), this._stopScroll = void 0, this._fadingText = void 0;
317
+ }, w(getComputedStyle(this).getPropertyValue("--_tooltip-hide-duration")));
282
318
  }
283
319
  async _updatePosition() {
284
320
  let e = ++this._positionVersion, t = this._getTriggerElement(), n = this._getTooltipElement();
@@ -287,57 +323,57 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
287
323
  return;
288
324
  }
289
325
  if (document.fonts?.status !== "loaded" && (await document.fonts?.ready, e !== this._positionVersion)) return;
290
- let r = getComputedStyle(this), i = parseInt(r.getPropertyValue("--_tooltip-offset"), 10), a = parseFloat(r.getPropertyValue("--context-tooltip-fingertip-size")), o = O?.matches && Number.isFinite(a) ? ({ placement: e, rects: t }) => {
326
+ let r = getComputedStyle(this), i = parseInt(r.getPropertyValue("--_tooltip-offset"), 10), a = parseFloat(r.getPropertyValue("--context-tooltip-fingertip-size")), o = M?.matches && Number.isFinite(a) ? ({ placement: e, rects: t }) => {
291
327
  let n = /^(top|bottom)/.test(e) ? t.reference.height : t.reference.width;
292
328
  return Math.max(i, (a - n) / 2);
293
- } : i, { x: s, y: c, middlewareData: h } = await d(t, n, {
329
+ } : i, { x: s, y: c, middlewareData: d } = await f(t, n, {
294
330
  placement: this._effectivePlacement,
295
331
  strategy: "fixed",
296
332
  middleware: [
297
- f(o),
298
- p(),
299
- m({
333
+ p(o),
334
+ m(),
335
+ h({
300
336
  padding: parseInt(r.getPropertyValue("--_tooltip-shift-padding"), 10),
301
337
  limiter: l()
302
338
  }),
303
- u()
339
+ u({ boundary: this._boundary ?? (this._boundary = A(t)) })
304
340
  ]
305
341
  });
306
- e === this._positionVersion && (n.style.left = `${s}px`, n.style.top = `${c}px`, n.toggleAttribute("reference-hidden", !!h.hide?.referenceHidden), n.setAttribute("positioned", ""));
342
+ e === this._positionVersion && (n.style.left = `${s}px`, n.style.top = `${c}px`, n.toggleAttribute("reference-hidden", !!d.hide?.referenceHidden), n.setAttribute("positioned", ""));
307
343
  }
308
344
  disconnectedCallback() {
309
- super.disconnectedCallback(), document.removeEventListener("keydown", this._handleKeyDown, !0), document.removeEventListener("scroll", this._handleScroll, { capture: !0 }), this.shadowRoot?.querySelector("slot")?.removeEventListener("slotchange", this._boundSlotChange), this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this._currentTrigger?.removeAttribute("aria-describedby"), this._currentTrigger = null, this._descriptionEl?.remove(), this._descriptionEl = null;
345
+ super.disconnectedCallback(), document.removeEventListener("keydown", this._handleKeyDown, !0), this._release(), clearTimeout(this._fadeTimer), this._fadingText = void 0, this._stopScroll?.(), this._stopScroll = void 0, this.shadowRoot?.querySelector("slot")?.removeEventListener("slotchange", this._boundSlotChange), this._interest.reset(), this._currentTrigger?.removeAttribute("aria-describedby"), this._currentTrigger = null, this._descriptionEl?.remove(), this._descriptionEl = null;
310
346
  }
311
347
  render() {
312
- return w(this);
348
+ return E(this);
313
349
  }
314
- }, E.styles = C, E);
315
- i([s({
350
+ }, k.styles = T, k);
351
+ i([o({
316
352
  reflect: !0,
317
- converter: h("")
318
- })], j.prototype, "text", void 0), i([s({
353
+ converter: g("")
354
+ })], F.prototype, "text", void 0), i([o({
319
355
  reflect: !0,
320
- converter: h("")
321
- })], j.prototype, "shortcut", void 0), i([s({
356
+ converter: g("")
357
+ })], F.prototype, "shortcut", void 0), i([o({
322
358
  reflect: !0,
323
359
  attribute: "shortcut-mac",
324
- converter: h("")
325
- })], j.prototype, "shortcutMac", void 0), i([s({
360
+ converter: g("")
361
+ })], F.prototype, "shortcutMac", void 0), i([o({
326
362
  reflect: !0,
327
363
  attribute: "shortcut-windows",
328
- converter: h("")
329
- })], j.prototype, "shortcutWindows", void 0), i([s({
364
+ converter: g("")
365
+ })], F.prototype, "shortcutWindows", void 0), i([o({
330
366
  reflect: !0,
331
367
  attribute: "shortcut-linux",
332
- converter: h("")
333
- })], j.prototype, "shortcutLinux", void 0), i([s({
368
+ converter: g("")
369
+ })], F.prototype, "shortcutLinux", void 0), i([o({
334
370
  type: Boolean,
335
371
  reflect: !0
336
- })], j.prototype, "open", void 0), i([s({
372
+ })], F.prototype, "open", void 0), i([o({
337
373
  reflect: !0,
338
- converter: h("bottom")
339
- })], j.prototype, "placement", void 0), i([s({
374
+ converter: g("bottom")
375
+ })], F.prototype, "placement", void 0), i([o({
340
376
  reflect: !0,
341
- converter: h("delay")
342
- })], j.prototype, "timing", void 0), i([o()], j.prototype, "_visible", void 0), j = i([c("nldd-tooltip")], j);
343
- export { T as t };
377
+ converter: g("delay")
378
+ })], F.prototype, "timing", void 0), i([a()], F.prototype, "_visible", void 0), i([a()], F.prototype, "_fadingText", void 0), F = i([c("nldd-tooltip")], F);
379
+ export { D as n, O as t };