@nldd/design-system 0.29.0 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/custom-elements.json +1672 -514
  2. package/dist/assets/styles/shadow-resets.d.ts +7 -0
  3. package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
  4. package/dist/assets/styles/shadow-resets.js +17 -0
  5. package/dist/assets/styles/shadow-resets.js.map +1 -1
  6. package/dist/cdn/autoloader.js +123 -123
  7. package/dist/cdn/chunks/{accordion-Eyvvbt4L.js → accordion-BIgPiBgT.js} +3 -2
  8. package/dist/cdn/chunks/{accordion-item-tTwSzJIR.js → accordion-item-YHiK4fhb.js} +1 -1
  9. package/dist/cdn/chunks/{activity-indicator-DPQNZQDO.js → activity-indicator-BiuU--e6.js} +21 -29
  10. package/dist/cdn/chunks/{admonition-BRmILQsf.js → admonition-CpxxWW6f.js} +1 -1
  11. package/dist/cdn/chunks/{avatar-D3gM-JHI.js → avatar-DeeEjbzl.js} +38 -37
  12. package/dist/cdn/chunks/{avatar-group-B_d8PyyP.js → avatar-group-Ey17PhOt.js} +11 -11
  13. package/dist/cdn/chunks/{badge-Bh665MoY.js → badge-B0K1AVec.js} +2 -2
  14. package/dist/cdn/chunks/{banner-DChycHh5.js → banner-YQpzU7Yz.js} +6 -9
  15. package/dist/cdn/chunks/{bar-split-view-DakaOexc.js → bar-split-view-DNWrGLv3.js} +3 -3
  16. package/dist/cdn/chunks/{blockquote-BqBNTgop.js → blockquote-zBgtNbdZ.js} +1 -1
  17. package/dist/cdn/chunks/{box-B3zUs9dD.js → box-CLEd1Y-1.js} +1 -1
  18. package/dist/cdn/chunks/{breadcrumbs-CNRmh93a.js → breadcrumbs-DCwiSLxQ.js} +6 -9
  19. package/dist/cdn/chunks/{button-3oNu2JqC.js → button-DpSJe6ns.js} +81 -88
  20. package/dist/cdn/chunks/{card-BVW0oCKu.js → card-xq9jqLek.js} +18 -17
  21. package/dist/cdn/chunks/{cell-C2vZmYOL.js → cell-CNGu9Srs.js} +1 -1
  22. package/dist/cdn/chunks/{checkbox-LCfb8_rn.js → checkbox-DJU2ntYs.js} +1 -0
  23. package/dist/cdn/chunks/{checkbox-field-BeIbKEWd.js → checkbox-field-36mh4uD-.js} +2 -2
  24. package/dist/cdn/chunks/{checkbox-group-DezaH0Mb.js → checkbox-group-CaoyYQC1.js} +1 -1
  25. package/dist/cdn/chunks/{code-editor-BP9eNQVl.js → code-editor-CqHXUdbC.js} +2 -1
  26. package/dist/cdn/chunks/{code-viewer-DJ3TJWD_.js → code-viewer-ro55V04o.js} +41 -57
  27. package/dist/cdn/chunks/{collection-CTa6APvK.js → collection-DVED8Kff.js} +8 -10
  28. package/dist/cdn/chunks/{combo-box-BcUXaJuO.js → combo-box-CMdGMQ8q.js} +8 -10
  29. package/dist/cdn/chunks/{date-field-3AJMYQ6k.js → date-field-KrAEvvJg.js} +66 -69
  30. package/dist/cdn/chunks/{date-picker-Ho8Mkvcv.js → date-picker-CeyTd4Mj.js} +131 -125
  31. package/dist/cdn/chunks/{description-cell-DnyCIOZd.js → description-cell-DDjPf92m.js} +1 -1
  32. package/dist/cdn/chunks/{document-tab-bar-CqjLOpKx.js → document-tab-bar-BlP7NEb9.js} +54 -62
  33. package/dist/cdn/chunks/{dropdown-DHlIJDc9.js → dropdown-DpCdMFod.js} +1 -1
  34. package/dist/cdn/chunks/{file-field-B-R605PQ.js → file-field-CYjsw4xy.js} +105 -112
  35. package/dist/cdn/chunks/{form-field-CiWFS40A.js → form-field-CuTa78j4.js} +5 -8
  36. package/dist/cdn/chunks/{full-bleed-section-Q4drn-q0.js → full-bleed-section-enjghRsm.js} +1 -1
  37. package/dist/cdn/chunks/{hero-CiPeHBJi.js → hero-AHBPM3ks.js} +12 -12
  38. package/dist/cdn/chunks/{icon-button-CCiDTx3_.js → icon-button-CkNgX7Ra.js} +5 -5
  39. package/dist/cdn/chunks/{identity-xlk5m8S9.js → identity-CnYwgyF7.js} +3 -3
  40. package/dist/cdn/chunks/{image--hemIqn_.js → image--K2M19ce.js} +47 -55
  41. package/dist/cdn/chunks/{inline-dialog-TetcCCuR.js → inline-dialog-CfiC1tbk.js} +2 -2
  42. package/dist/cdn/chunks/{just-in-time-education-B5veXLNI.js → just-in-time-education-Dxca2LqF.js} +22 -30
  43. package/dist/cdn/chunks/{kanban-D_rUckwT.js → kanban-Dwb93dgS.js} +3 -3
  44. package/dist/cdn/chunks/{kanban-column-DXhOQ64A.js → kanban-column-Br4GovWU.js} +26 -31
  45. package/dist/cdn/chunks/{keyboard-shortcut-CtLlBcQg.js → keyboard-shortcut-a-CkABX1.js} +66 -71
  46. package/dist/cdn/chunks/{layout-pass-Cq85kSHX.js → layout-pass-B2ALRYc9.js} +14 -4
  47. package/dist/cdn/chunks/{link-ChRCGtWP.js → link-CROYAF4K.js} +34 -41
  48. package/dist/cdn/chunks/{list-Bfh3X6o8.js → list-D_BWUBh4.js} +38 -48
  49. package/dist/cdn/chunks/{list-item-BcEWw55r.js → list-item-DeFrncLo.js} +114 -125
  50. package/dist/cdn/chunks/{list-item-segment-ChGSqurx.js → list-item-segment-C1X5v2_Z.js} +33 -40
  51. package/dist/cdn/chunks/{menu-Dj1cdu5O.js → menu-CkMJUE0H.js} +10 -13
  52. package/dist/cdn/chunks/{menu-bar-DCkLwYES.js → menu-bar-B3F-QjLV.js} +5 -5
  53. package/dist/cdn/chunks/{menu-bar-item-eLhyoBaG.js → menu-bar-item-CyixR7Fi.js} +30 -38
  54. package/dist/cdn/chunks/{menu-divider-BUNkdRG6.js → menu-divider-uBPiSPsv.js} +1 -1
  55. package/dist/cdn/chunks/{menu-group-rgTyUCIY.js → menu-group-BXS5r-lc.js} +2 -2
  56. package/dist/cdn/chunks/{menu-item-CttLz526.js → menu-item-CORxUt3u.js} +2 -2
  57. package/dist/cdn/chunks/{menu.template-D6Y2bQao.js → menu.template-NyA_JtUm.js} +37 -53
  58. package/dist/cdn/chunks/{modal-dialog-CUb8QrtP.js → modal-dialog-Dt5uenA0.js} +2 -2
  59. package/dist/cdn/chunks/{multi-line-text-field-Db8a2YIL.js → multi-line-text-field-CkCvyJov.js} +2 -1
  60. package/dist/cdn/chunks/{navigation-split-view-D8ATWcAf.js → navigation-split-view-Clp3Camr.js} +3 -3
  61. package/dist/cdn/chunks/{notification-DHvaRREb.js → notification-B36JO2cS.js} +4 -4
  62. package/dist/cdn/chunks/{number-field-C_rgYWIM.js → number-field-Cjrwd3G0.js} +26 -19
  63. package/dist/cdn/chunks/{one-half-one-half-section-DFYjUF3h.js → one-half-one-half-section-Bc4rFjtM.js} +1 -1
  64. package/dist/cdn/chunks/{one-third-two-thirds-section-DovKfHkM.js → one-third-two-thirds-section-DikIdU3X.js} +1 -1
  65. package/dist/cdn/chunks/{one-time-code-field-BBg30doG.js → one-time-code-field-CqNmLld4.js} +3 -2
  66. package/dist/cdn/chunks/{overflow-menu-CAIY3hk-.js → overflow-menu-6tdlRjhY.js} +1 -1
  67. package/dist/cdn/chunks/{page-DpcervFE.js → page-CpdGz0K6.js} +11 -11
  68. package/dist/cdn/chunks/{page-footer-B0JJvSf7.js → page-footer-_W5dGcQt.js} +6 -9
  69. package/dist/cdn/chunks/{page-section-mixin-B98EwIts.js → page-section-mixin-DSdHIkwR.js} +1 -1
  70. package/dist/cdn/chunks/{pagination-D1o7xN9-.js → pagination-DJqmp7nt.js} +6 -9
  71. package/dist/cdn/chunks/{password-field-CWneSaEV.js → password-field-JKBHK_MQ.js} +7 -9
  72. package/dist/cdn/chunks/picker-popover-controller-dE7AINjc.js +15 -0
  73. package/dist/cdn/chunks/{popover-Bm7Kc6Ep.js → popover-LljgfgHS.js} +5 -8
  74. package/dist/cdn/chunks/{progress-bar-3eU3rFW6.js → progress-bar-fILD82bn.js} +6 -9
  75. package/dist/cdn/chunks/{progress-circle-CHMKX8uz.js → progress-circle-72YbT9v1.js} +6 -9
  76. package/dist/cdn/chunks/{radio-button-field-CsJ0DMrB.js → radio-button-field-CG2ljZ-j.js} +1 -1
  77. package/dist/cdn/chunks/{radio-button-group-CdDmgzn3.js → radio-button-group-DgQHIiXR.js} +1 -1
  78. package/dist/cdn/chunks/{reorder-handle-cell-M_xNSghw.js → reorder-handle-cell-Bc0LM08A.js} +4 -7
  79. package/dist/cdn/chunks/{rich-text-B8ANpryO.js → rich-text-BZ6J0VNi.js} +4 -7
  80. package/dist/cdn/chunks/sanitize-url-EEu5iGkI.js +7 -0
  81. package/dist/cdn/chunks/{scroll-mode-controller-CuCRKyLT.js → scroll-mode-controller-DlKGaDhM.js} +1 -1
  82. package/dist/cdn/chunks/{search-field-1zFx-owG.js → search-field-BaPPorsw.js} +9 -11
  83. package/dist/cdn/chunks/{segmented-control-CRRWCyFW.js → segmented-control-CY7eFebV.js} +6 -7
  84. package/dist/cdn/chunks/{shadow-resets-B6C3rG8q.js → shadow-resets-kAFcguCG.js} +11 -1
  85. package/dist/cdn/chunks/{sheet-ChPeBrfk.js → sheet-EvUuqzd5.js} +1 -1
  86. package/dist/cdn/chunks/{shell-DpKdCX0m.js → shell-ZiZriusi.js} +2 -2
  87. package/dist/cdn/chunks/{side-by-side-split-view-BoJ6fcJg.js → side-by-side-split-view-qj871uv2.js} +3 -3
  88. package/dist/cdn/chunks/{sidebar-section-D1fyh0uU.js → sidebar-section-C2KLgpwu.js} +75 -75
  89. package/dist/cdn/chunks/{simple-section-CyDYDeg_.js → simple-section-CVQRynxS.js} +1 -1
  90. package/dist/cdn/chunks/{skip-link-Dzz1lV-5.js → skip-link-CpxEwJKH.js} +3 -3
  91. package/dist/cdn/chunks/{slider-K7ylsn0X.js → slider-DHY89yV6.js} +6 -8
  92. package/dist/cdn/chunks/{split-button-BYqftEp3.js → split-button-DGzX2W4w.js} +8 -11
  93. package/dist/cdn/chunks/{stacked-split-view-BG0kRfdn.js → stacked-split-view-CdXyXpzb.js} +3 -3
  94. package/dist/cdn/chunks/{status-bar-oyMa4uJG.js → status-bar-S5IvBhAD.js} +2 -2
  95. package/dist/cdn/chunks/{step-bar-CQd9nSub.js → step-bar-pkYf_gF8.js} +31 -41
  96. package/dist/cdn/chunks/{stepper-d-usvzY0.js → stepper-DIufBp3c.js} +5 -8
  97. package/dist/cdn/chunks/{swatch-picker-CDCUnY72.js → swatch-picker-uyMsXHeI.js} +3 -2
  98. package/dist/cdn/chunks/{switch-BMGaGKGr.js → switch-DQ3UDIy5.js} +1 -0
  99. package/dist/cdn/chunks/{switch-field-BaKICGGz.js → switch-field-BXH62I0E.js} +2 -2
  100. package/dist/cdn/chunks/{tab-bar-BFDYrnsi.js → tab-bar-B2m7RGKe.js} +60 -58
  101. package/dist/cdn/chunks/{table-DZx86t9S.js → table-Dtg4t_dM.js} +40 -43
  102. package/dist/cdn/chunks/{tag-BcfNqWxs.js → tag-BdB8MDQQ.js} +1 -1
  103. package/dist/cdn/chunks/{term-BgyQFHrz.js → term-DD2K8Qqb.js} +11 -14
  104. package/dist/cdn/chunks/{text-ChSJGujM.js → text-C8iP63bA.js} +1 -1
  105. package/dist/cdn/chunks/{text-cell-fnnbWR_Y.js → text-cell-1pWwBLLI.js} +1 -1
  106. package/dist/cdn/chunks/{text-editor-D9K1Z87u.js → text-editor-DjNky4l-.js} +605 -622
  107. package/dist/cdn/chunks/{text-field-DzNb872n.js → text-field-ClVrHYGz.js} +2 -1
  108. package/dist/cdn/chunks/{time-field-DiJhXcaX.js → time-field-CrwLpzZp.js} +42 -48
  109. package/dist/cdn/chunks/{time-picker-DZlD7fVz.js → time-picker-BYhEzGJL.js} +100 -95
  110. package/dist/cdn/chunks/{title-BUC_Asb4.js → title-DdqeERnM.js} +1 -1
  111. package/dist/cdn/chunks/{title-cell-jmBvTRwY.js → title-cell-C4U3rN33.js} +1 -1
  112. package/dist/cdn/chunks/{toggle-button-UssRHIiz.js → toggle-button-CknaEM8j.js} +70 -63
  113. package/dist/cdn/chunks/{toggle-button-group-Bj8Rjd93.js → toggle-button-group-CxyhERqD.js} +1 -1
  114. package/dist/cdn/chunks/{token-DTjIKIJl.js → token-I0vH42iy.js} +6 -9
  115. package/dist/cdn/chunks/{token-field-CEtnrqKT.js → token-field-B1sAqN0B.js} +9 -11
  116. package/dist/cdn/chunks/{toolbar-CvinP7R9.js → toolbar-DRIyU8-Z.js} +46 -52
  117. package/dist/cdn/chunks/{toolbar-item-CiCs-MqI.js → toolbar-item-D1JDaFal.js} +1 -1
  118. package/dist/cdn/chunks/{toolbar-title-YdFqO0Xq.js → toolbar-title-D7CCOmDz.js} +5 -8
  119. package/dist/cdn/chunks/{toolbar.styles-DO1jDSfb.js → toolbar.styles-CXjPigMk.js} +8 -16
  120. package/dist/cdn/chunks/{tooltip-CGSe6rYu.js → tooltip-5clp5S3T.js} +2 -2
  121. package/dist/cdn/chunks/{top-navigation-bar-akJzlepM.js → top-navigation-bar-CEuIAOoy.js} +14 -14
  122. package/dist/cdn/chunks/{top-title-bar-CuU2kYrc.js → top-title-bar-M3NiRgr_.js} +4 -4
  123. package/dist/cdn/chunks/{two-thirds-one-third-section-BE40gzfe.js → two-thirds-one-third-section-BJGAw7Mq.js} +1 -1
  124. package/dist/cdn/chunks/{validation-list-B_VwBQD0.js → validation-list-CTb7X_Gq.js} +4 -7
  125. package/dist/cdn/chunks/{window-CJybFUUG.js → window-BmxrtW9P.js} +5 -8
  126. package/dist/cdn/chunks/with-translations-DSfo7eL-.js +28 -0
  127. package/dist/components/actions/button/button.d.ts +6 -9
  128. package/dist/components/actions/button/button.d.ts.map +1 -1
  129. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  130. package/dist/components/actions/button/button.styles.js +2 -10
  131. package/dist/components/actions/button/button.styles.js.map +1 -1
  132. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  133. package/dist/components/actions/button/button.template.js +2 -1
  134. package/dist/components/actions/button/button.template.js.map +1 -1
  135. package/dist/components/actions/icon-button/icon-button.d.ts +6 -9
  136. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  137. package/dist/components/actions/menu/menu-item.d.ts +5 -8
  138. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  139. package/dist/components/actions/menu/menu.d.ts +9 -9
  140. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  141. package/dist/components/actions/menu/menu.js +2 -15
  142. package/dist/components/actions/menu/menu.js.map +1 -1
  143. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  144. package/dist/components/actions/menu/menu.styles.js +3 -19
  145. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  146. package/dist/components/actions/split-button/split-button.d.ts +5 -4
  147. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  148. package/dist/components/actions/split-button/split-button.js +2 -10
  149. package/dist/components/actions/split-button/split-button.js.map +1 -1
  150. package/dist/components/actions/toolbar/toolbar-title.d.ts +7 -4
  151. package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
  152. package/dist/components/actions/toolbar/toolbar-title.js +2 -9
  153. package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
  154. package/dist/components/actions/toolbar/toolbar.d.ts +7 -4
  155. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  156. package/dist/components/actions/toolbar/toolbar.js +15 -25
  157. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  158. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  159. package/dist/components/actions/toolbar/toolbar.styles.js +2 -10
  160. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  161. package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -1
  162. package/dist/components/content/accordion/accordion.styles.js +1 -0
  163. package/dist/components/content/accordion/accordion.styles.js.map +1 -1
  164. package/dist/components/content/avatar/avatar.d.ts +5 -8
  165. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  166. package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
  167. package/dist/components/content/avatar/avatar.template.js +2 -1
  168. package/dist/components/content/avatar/avatar.template.js.map +1 -1
  169. package/dist/components/content/avatar-group/avatar-group.d.ts +5 -8
  170. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  171. package/dist/components/content/code-viewer/code-viewer.d.ts +13 -5
  172. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  173. package/dist/components/content/code-viewer/code-viewer.js +2 -10
  174. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  175. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  176. package/dist/components/content/code-viewer/code-viewer.styles.js +3 -16
  177. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  178. package/dist/components/content/image/image.d.ts +9 -9
  179. package/dist/components/content/image/image.d.ts.map +1 -1
  180. package/dist/components/content/image/image.js +9 -17
  181. package/dist/components/content/image/image.js.map +1 -1
  182. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  183. package/dist/components/content/image/image.styles.js +2 -7
  184. package/dist/components/content/image/image.styles.js.map +1 -1
  185. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  186. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -7
  187. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  188. package/dist/components/content/rich-text/rich-text.d.ts +4 -4
  189. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  190. package/dist/components/content/rich-text/rich-text.js +2 -9
  191. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  192. package/dist/components/content/term/term.d.ts +6 -5
  193. package/dist/components/content/term/term.d.ts.map +1 -1
  194. package/dist/components/content/term/term.js +2 -10
  195. package/dist/components/content/term/term.js.map +1 -1
  196. package/dist/components/content/token/token.d.ts +7 -4
  197. package/dist/components/content/token/token.d.ts.map +1 -1
  198. package/dist/components/content/token/token.js +2 -9
  199. package/dist/components/content/token/token.js.map +1 -1
  200. package/dist/components/forms/form-field/form-field.d.ts +5 -6
  201. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  202. package/dist/components/forms/form-field/form-field.js +2 -11
  203. package/dist/components/forms/form-field/form-field.js.map +1 -1
  204. package/dist/components/forms/validation-list/validation-list.d.ts +12 -4
  205. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  206. package/dist/components/forms/validation-list/validation-list.js +2 -9
  207. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  208. package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
  209. package/dist/components/inputs/checkbox/checkbox.styles.js +1 -0
  210. package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
  211. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
  212. package/dist/components/inputs/code-editor/code-editor.styles.js +1 -0
  213. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  214. package/dist/components/inputs/combo-box/combo-box.d.ts +7 -4
  215. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  216. package/dist/components/inputs/combo-box/combo-box.js +2 -10
  217. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  218. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  219. package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
  220. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  221. package/dist/components/inputs/date-field/date-field.d.ts +26 -5
  222. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  223. package/dist/components/inputs/date-field/date-field.js +11 -21
  224. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  225. package/dist/components/inputs/date-picker/date-picker.d.ts +128 -62
  226. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  227. package/dist/components/inputs/date-picker/date-picker.js +19 -1
  228. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  229. package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
  230. package/dist/components/inputs/date-picker/date-picker.styles.js +3 -8
  231. package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
  232. package/dist/components/inputs/file-field/file-field.d.ts +75 -5
  233. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  234. package/dist/components/inputs/file-field/file-field.js +2 -10
  235. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  236. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  237. package/dist/components/inputs/file-field/file-field.styles.js +3 -7
  238. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  239. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  240. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -0
  241. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  242. package/dist/components/inputs/number-field/number-field.d.ts +13 -6
  243. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  244. package/dist/components/inputs/number-field/number-field.js +13 -14
  245. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  246. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  247. package/dist/components/inputs/number-field/number-field.styles.js +10 -4
  248. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  249. package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
  250. package/dist/components/inputs/number-field/number-field.template.js +3 -2
  251. package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
  252. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  253. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
  254. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  255. package/dist/components/inputs/password-field/password-field.d.ts +11 -5
  256. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  257. package/dist/components/inputs/password-field/password-field.js +2 -10
  258. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  259. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  260. package/dist/components/inputs/password-field/password-field.styles.js +1 -0
  261. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  262. package/dist/components/inputs/search-field/search-field.d.ts +7 -5
  263. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  264. package/dist/components/inputs/search-field/search-field.js +2 -11
  265. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  266. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  267. package/dist/components/inputs/search-field/search-field.styles.js +1 -0
  268. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  269. package/dist/components/inputs/segmented-control/segmented-control.js +3 -3
  270. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  271. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  272. package/dist/components/inputs/segmented-control/segmented-control.styles.js +3 -4
  273. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  274. package/dist/components/inputs/slider/slider.d.ts +7 -5
  275. package/dist/components/inputs/slider/slider.d.ts.map +1 -1
  276. package/dist/components/inputs/slider/slider.js +2 -10
  277. package/dist/components/inputs/slider/slider.js.map +1 -1
  278. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
  279. package/dist/components/inputs/slider/slider.styles.js +1 -0
  280. package/dist/components/inputs/slider/slider.styles.js.map +1 -1
  281. package/dist/components/inputs/stepper/stepper.d.ts +9 -5
  282. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  283. package/dist/components/inputs/stepper/stepper.js +2 -11
  284. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  285. package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +20 -23
  286. package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
  287. package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
  288. package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
  289. package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
  290. package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
  291. package/dist/components/inputs/switch/switch.styles.js +1 -0
  292. package/dist/components/inputs/switch/switch.styles.js.map +1 -1
  293. package/dist/components/inputs/text-editor/text-editor.d.ts +16 -10
  294. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  295. package/dist/components/inputs/text-editor/text-editor.js +2 -15
  296. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  297. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  298. package/dist/components/inputs/text-editor/text-editor.styles.js +5 -19
  299. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  300. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  301. package/dist/components/inputs/text-field/text-field.styles.js +1 -0
  302. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  303. package/dist/components/inputs/time-field/time-field.d.ts +16 -5
  304. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  305. package/dist/components/inputs/time-field/time-field.js +5 -18
  306. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  307. package/dist/components/inputs/time-picker/time-picker.d.ts +18 -4
  308. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  309. package/dist/components/inputs/time-picker/time-picker.js +15 -8
  310. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  311. package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
  312. package/dist/components/inputs/time-picker/time-picker.styles.js +1 -0
  313. package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
  314. package/dist/components/inputs/toggle-button/toggle-button.d.ts +7 -2
  315. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  316. package/dist/components/inputs/toggle-button/toggle-button.js +11 -2
  317. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  318. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  319. package/dist/components/inputs/toggle-button/toggle-button.styles.js +1 -0
  320. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  321. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  322. package/dist/components/inputs/toggle-button/toggle-button.template.js +0 -1
  323. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  324. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -10
  325. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  326. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -12
  327. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  328. package/dist/components/inputs/token-field/token-field.d.ts +13 -4
  329. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  330. package/dist/components/inputs/token-field/token-field.js +2 -9
  331. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  332. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  333. package/dist/components/inputs/token-field/token-field.styles.js +1 -0
  334. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  335. package/dist/components/layout/card/card.d.ts +6 -9
  336. package/dist/components/layout/card/card.d.ts.map +1 -1
  337. package/dist/components/layout/card/card.template.d.ts.map +1 -1
  338. package/dist/components/layout/card/card.template.js +2 -1
  339. package/dist/components/layout/card/card.template.js.map +1 -1
  340. package/dist/components/layout/collection/collection.d.ts +7 -4
  341. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  342. package/dist/components/layout/collection/collection.js +2 -10
  343. package/dist/components/layout/collection/collection.js.map +1 -1
  344. package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
  345. package/dist/components/layout/collection/collection.styles.js +1 -0
  346. package/dist/components/layout/collection/collection.styles.js.map +1 -1
  347. package/dist/components/layout/kanban/kanban.d.ts +9 -12
  348. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  349. package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
  350. package/dist/components/layout/kanban/kanban.styles.js +2 -7
  351. package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
  352. package/dist/components/layout/page/page.d.ts +5 -5
  353. package/dist/components/layout/page/page.d.ts.map +1 -1
  354. package/dist/components/layout/page/page.js +11 -11
  355. package/dist/components/layout/page/page.js.map +1 -1
  356. package/dist/components/layout/page-footer/page-footer.d.ts +5 -4
  357. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  358. package/dist/components/layout/page-footer/page-footer.js +2 -12
  359. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  360. package/dist/components/layout/page-footer/page-footer.template.js +1 -1
  361. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  362. package/dist/components/layout/page-sections/hero/hero.d.ts +7 -7
  363. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  364. package/dist/components/layout/page-sections/hero/hero.js +13 -13
  365. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  366. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +4 -5
  367. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  368. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -10
  369. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  370. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
  371. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +25 -22
  372. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
  373. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +1 -1
  374. package/dist/components/layout/popover/popover.d.ts +5 -8
  375. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  376. package/dist/components/layout/popover/popover.js +2 -14
  377. package/dist/components/layout/popover/popover.js.map +1 -1
  378. package/dist/components/layout/window/window.d.ts +5 -8
  379. package/dist/components/layout/window/window.d.ts.map +1 -1
  380. package/dist/components/layout/window/window.js +2 -14
  381. package/dist/components/layout/window/window.js.map +1 -1
  382. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +3 -5
  383. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
  384. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -11
  385. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -1
  386. package/dist/components/lists-and-tables/list/list.d.ts +13 -5
  387. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  388. package/dist/components/lists-and-tables/list/list.js +2 -11
  389. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  390. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  391. package/dist/components/lists-and-tables/list/list.styles.js +2 -9
  392. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  393. package/dist/components/lists-and-tables/list-item/list-item.d.ts +6 -9
  394. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  395. package/dist/components/lists-and-tables/list-item/list-item.js +4 -14
  396. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  397. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  398. package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -10
  399. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  400. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  401. package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -1
  402. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  403. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +6 -9
  404. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  405. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  406. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +2 -9
  407. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  408. package/dist/components/lists-and-tables/table/table.d.ts +5 -4
  409. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  410. package/dist/components/lists-and-tables/table/table.js +15 -21
  411. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  412. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -4
  413. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  414. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -12
  415. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  416. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
  417. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
  418. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -10
  419. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  420. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
  421. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +2 -10
  422. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
  423. package/dist/components/navigation/link/link.d.ts +6 -9
  424. package/dist/components/navigation/link/link.d.ts.map +1 -1
  425. package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
  426. package/dist/components/navigation/link/link.styles.js +2 -10
  427. package/dist/components/navigation/link/link.styles.js.map +1 -1
  428. package/dist/components/navigation/link/link.template.d.ts.map +1 -1
  429. package/dist/components/navigation/link/link.template.js +2 -1
  430. package/dist/components/navigation/link/link.template.js.map +1 -1
  431. package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -6
  432. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  433. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  434. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +2 -10
  435. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  436. package/dist/components/navigation/pagination/pagination.d.ts +9 -4
  437. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  438. package/dist/components/navigation/pagination/pagination.js +2 -9
  439. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  440. package/dist/components/navigation/skip-link/skip-link.d.ts +4 -7
  441. package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
  442. package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -6
  443. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  444. package/dist/components/navigation/tab-bar/tab-bar.js +25 -17
  445. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  446. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +8 -11
  447. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  448. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +5 -4
  449. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  450. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -9
  451. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  452. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  453. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -7
  454. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  455. package/dist/components/status-and-feedback/badge/badge.d.ts +3 -6
  456. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  457. package/dist/components/status-and-feedback/banner/banner.d.ts +5 -5
  458. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  459. package/dist/components/status-and-feedback/banner/banner.js +2 -10
  460. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  461. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +4 -7
  462. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  463. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
  464. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +2 -10
  465. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
  466. package/dist/components/status-and-feedback/notification/notification.d.ts +4 -7
  467. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  468. package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -1
  469. package/dist/components/status-and-feedback/notification/notifications-area.js +5 -0
  470. package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
  471. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +8 -5
  472. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  473. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +2 -10
  474. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  475. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +8 -4
  476. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  477. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +2 -9
  478. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  479. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +8 -11
  480. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  481. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
  482. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +3 -13
  483. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
  484. package/dist/nldd.min.js +960 -1081
  485. package/dist/types/react.d.ts +46 -40
  486. package/dist/types/vue.d.ts +56 -48
  487. package/dist/utilities/layout-pass.d.ts +3 -1
  488. package/dist/utilities/layout-pass.d.ts.map +1 -1
  489. package/dist/utilities/layout-pass.js +26 -3
  490. package/dist/utilities/layout-pass.js.map +1 -1
  491. package/dist/utilities/picker-popover-controller.d.ts +25 -0
  492. package/dist/utilities/picker-popover-controller.d.ts.map +1 -0
  493. package/dist/utilities/picker-popover-controller.js +33 -0
  494. package/dist/utilities/picker-popover-controller.js.map +1 -0
  495. package/dist/utilities/sanitize-url.d.ts +11 -5
  496. package/dist/utilities/sanitize-url.d.ts.map +1 -1
  497. package/dist/utilities/sanitize-url.js +13 -9
  498. package/dist/utilities/sanitize-url.js.map +1 -1
  499. package/dist/utilities/with-translations.d.ts +14 -9
  500. package/dist/utilities/with-translations.d.ts.map +1 -1
  501. package/dist/utilities/with-translations.js +6 -5
  502. package/dist/utilities/with-translations.js.map +1 -1
  503. package/lint/data.generated.json +1 -1
  504. package/package.json +1 -1
  505. package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +0 -7
  506. package/dist/cdn/chunks/translations-tgPL1Hx3.js +0 -14
  507. package/dist/cdn/chunks/with-translations-CZaQOZ9L.js +0 -16
@@ -850,8 +850,6 @@ declare module 'vue' {
850
850
  'readonly'?: NLDDComboBox['readonly'];
851
851
  /** Disabled state */
852
852
  'disabled'?: NLDDComboBox['disabled'];
853
- /** Override translation keys; unset keys fall back to Dutch */
854
- 'translations'?: NLDDComboBox['translations'];
855
853
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
856
854
  'accessible-description'?: NLDDComboBox['accessibleDescription'];
857
855
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -860,6 +858,8 @@ declare module 'vue' {
860
858
  'accessible-described-by'?: NLDDComboBox['accessibleDescribedBy'];
861
859
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
862
860
  'accessibleDescribedBy'?: NLDDComboBox['accessibleDescribedBy'];
861
+ /** Override translation keys; unset keys fall back to Dutch */
862
+ 'translations'?: NLDDComboBox['translations'];
863
863
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
864
864
  'describedByElements'?: NLDDComboBox['describedByElements'];
865
865
  'internals'?: NLDDComboBox['internals'];
@@ -1097,8 +1097,6 @@ declare module 'vue' {
1097
1097
  'readonly'?: NLDDDateField['readonly'];
1098
1098
  /** Disabled state. */
1099
1099
  'disabled'?: NLDDDateField['disabled'];
1100
- /** Translations; unspecified keys fall back to Dutch. */
1101
- 'translations'?: NLDDDateField['translations'];
1102
1100
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
1103
1101
  'accessible-description'?: NLDDDateField['accessibleDescription'];
1104
1102
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -1107,6 +1105,8 @@ declare module 'vue' {
1107
1105
  'accessible-described-by'?: NLDDDateField['accessibleDescribedBy'];
1108
1106
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
1109
1107
  'accessibleDescribedBy'?: NLDDDateField['accessibleDescribedBy'];
1108
+ /** Translations; unspecified keys fall back to Dutch. */
1109
+ 'translations'?: NLDDDateField['translations'];
1110
1110
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
1111
1111
  'describedByElements'?: NLDDDateField['describedByElements'];
1112
1112
  'internals'?: NLDDDateField['internals'];
@@ -1133,6 +1133,8 @@ declare module 'vue' {
1133
1133
  'firstDayOfWeek'?: NLDDDatePicker['firstDayOfWeek'];
1134
1134
  /** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
1135
1135
  'invalid'?: NLDDDatePicker['invalid'];
1136
+ /** Name for form submission; the picker submits on its own, so it works in a form without an nldd-date-field. A single date submits as ISO, a period as an ISO 8601 interval `start/end`, and as empty until both ends are set. */
1137
+ 'name'?: NLDDDatePicker['name'];
1136
1138
  /** The chosen date as ISO (yyyy-mm-dd). Only without `range`. */
1137
1139
  'value'?: NLDDDatePicker['value'];
1138
1140
  /** Start of the period as ISO. Only with `range`. */
@@ -1159,6 +1161,7 @@ declare module 'vue' {
1159
1161
  'isDateUnavailable'?: NLDDDatePicker['isDateUnavailable'];
1160
1162
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
1161
1163
  'describedByElements'?: NLDDDatePicker['describedByElements'];
1164
+ 'internals'?: NLDDDatePicker['internals'];
1162
1165
  /** When a date or a complete period has been chosen. detail: { value } or { start, end }. */
1163
1166
  'onChange'?: (event: CustomEvent) => void;
1164
1167
  /** Also on the intermediate step of a period, when only the start date is set. */
@@ -1313,8 +1316,6 @@ declare module 'vue' {
1313
1316
  'required'?: NLDDFileField['required'];
1314
1317
  /** Disabled state */
1315
1318
  'disabled'?: NLDDFileField['disabled'];
1316
- /** Override translation keys; unset keys fall back to Dutch */
1317
- 'translations'?: NLDDFileField['translations'];
1318
1319
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
1319
1320
  'accessible-description'?: NLDDFileField['accessibleDescription'];
1320
1321
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -1323,6 +1324,8 @@ declare module 'vue' {
1323
1324
  'accessible-described-by'?: NLDDFileField['accessibleDescribedBy'];
1324
1325
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
1325
1326
  'accessibleDescribedBy'?: NLDDFileField['accessibleDescribedBy'];
1327
+ /** Override translation keys; unset keys fall back to Dutch */
1328
+ 'translations'?: NLDDFileField['translations'];
1326
1329
  'files'?: NLDDFileField['files'];
1327
1330
  /** Where each file sat: its name, or for a file from a dropped folder the path from that folder down ("site/css/main.css"). Same order as `files`. */
1328
1331
  'paths'?: NLDDFileField['paths'];
@@ -1464,6 +1467,14 @@ declare module 'vue' {
1464
1467
  'layout'?: NLDDHero['layout'];
1465
1468
  /** Body max-width; 'full' removes the bound (section API) */
1466
1469
  'width'?: NLDDHero['width'];
1470
+ /** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
1471
+ 'media-height'?: NLDDHero['mediaHeight'];
1472
+ /** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
1473
+ 'mediaHeight'?: NLDDHero['mediaHeight'];
1474
+ /** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
1475
+ 'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
1476
+ /** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
1477
+ 'mediaAspectRatio'?: NLDDHero['mediaAspectRatio'];
1467
1478
  /** Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
1468
1479
  'main-width'?: NLDDHero['mainWidth'];
1469
1480
  /** Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
@@ -1492,14 +1503,6 @@ declare module 'vue' {
1492
1503
  'media-alt'?: NLDDHero['mediaAlt'];
1493
1504
  /** Alt text for media-src; empty means decorative */
1494
1505
  'mediaAlt'?: NLDDHero['mediaAlt'];
1495
- /** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
1496
- 'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
1497
- /** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
1498
- 'mediaAspectRatio'?: NLDDHero['mediaAspectRatio'];
1499
- /** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
1500
- 'media-height'?: NLDDHero['mediaHeight'];
1501
- /** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
1502
- 'mediaHeight'?: NLDDHero['mediaHeight'];
1503
1506
  /** Surface behind the hero (section API) */
1504
1507
  'background'?: NLDDHero['background'];
1505
1508
  'height'?: NLDDHero['height'];
@@ -1710,8 +1713,12 @@ declare module 'vue' {
1710
1713
  'shape'?: NLDDImage['shape'];
1711
1714
  /** Display width, never wider than the parent. `full` (default) fills the parent. A number is pixels and also sets the `<img>` layout-hint width; any other CSS length (`20rem`, `50%`) only sets the width, so reserve space with `height` or `aspect-ratio`. Written as an inline `max-width` on the host, so it holds against a rule from a parent such as `nldd-rich-text`, and against one of your own. */
1712
1715
  'width'?: NLDDImage['width'];
1713
- /** Intrinsic height (for layout reservation) */
1716
+ /** Height in pixels as a layout hint for the `<img>`, not a display height. With a `width` in pixels the browser takes the ratio of the two and reserves the space before the image loads; the shown height follows from the width. With any other `width` it does nothing: reserve space with `aspect-ratio` instead. */
1714
1717
  'height'?: NLDDImage['height'];
1718
+ /** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
1719
+ 'aspect-ratio'?: NLDDImage['aspectRatio'];
1720
+ /** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
1721
+ 'aspectRatio'?: NLDDImage['aspectRatio'];
1715
1722
  /** Image URL */
1716
1723
  'src'?: NLDDImage['src'];
1717
1724
  /** Responsive source set */
@@ -1720,10 +1727,6 @@ declare module 'vue' {
1720
1727
  'sizes'?: NLDDImage['sizes'];
1721
1728
  /** Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own. */
1722
1729
  'alt'?: NLDDImage['alt'];
1723
- /** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
1724
- 'aspect-ratio'?: NLDDImage['aspectRatio'];
1725
- /** Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3"). "16:9" colon notation is also accepted for convenience. */
1726
- 'aspectRatio'?: NLDDImage['aspectRatio'];
1727
1730
  /** default: 'cover' */
1728
1731
  'object-fit'?: NLDDImage['objectFit'];
1729
1732
  /** default: 'cover' */
@@ -2391,10 +2394,10 @@ declare module 'vue' {
2391
2394
  'step'?: NLDDNumberField['step'];
2392
2395
  /** A value has to be filled in. An empty field is then invalid. */
2393
2396
  'required'?: NLDDNumberField['required'];
2394
- /** Disabled state */
2397
+ /** Readonly state: the value shows and submits but cannot be changed. The +/- buttons are hidden, and the field keeps its width */
2398
+ 'readonly'?: NLDDNumberField['readonly'];
2399
+ /** Disabled state. The +/- buttons are hidden, and the field keeps its width */
2395
2400
  'disabled'?: NLDDNumberField['disabled'];
2396
- /** Translations; unspecified keys fall back to Dutch */
2397
- 'translations'?: NLDDNumberField['translations'];
2398
2401
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
2399
2402
  'accessible-description'?: NLDDNumberField['accessibleDescription'];
2400
2403
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -2403,6 +2406,8 @@ declare module 'vue' {
2403
2406
  'accessible-described-by'?: NLDDNumberField['accessibleDescribedBy'];
2404
2407
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
2405
2408
  'accessibleDescribedBy'?: NLDDNumberField['accessibleDescribedBy'];
2409
+ /** Translations; unspecified keys fall back to Dutch */
2410
+ 'translations'?: NLDDNumberField['translations'];
2406
2411
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
2407
2412
  'describedByElements'?: NLDDNumberField['describedByElements'];
2408
2413
  'internals'?: NLDDNumberField['internals'];
@@ -2601,12 +2606,6 @@ declare module 'vue' {
2601
2606
  type NLDDPageProps = {
2602
2607
  /** Use a gray background instead of white */
2603
2608
  'background'?: NLDDPage['background'];
2604
- /** Name of the landmark this page is: the region it becomes beside another page, or its main landmark */
2605
- 'accessible-label'?: NLDDPage['accessibleLabel'];
2606
- /** Name of the landmark this page is: the region it becomes beside another page, or its main landmark */
2607
- 'accessibleLabel'?: NLDDPage['accessibleLabel'];
2608
- /** Whether this page carries the document's landmarks: 'auto' (default) derives it from where the page sits, 'page' keeps banner, main and contentinfo, 'region' drops all three */
2609
- 'landmarks'?: NLDDPage['landmarks'];
2610
2609
  /** Sticky header */
2611
2610
  'sticky-header'?: NLDDPage['stickyHeader'];
2612
2611
  /** Sticky header */
@@ -2615,6 +2614,12 @@ declare module 'vue' {
2615
2614
  'sticky-footer'?: NLDDPage['stickyFooter'];
2616
2615
  /** Sticky footer */
2617
2616
  'stickyFooter'?: NLDDPage['stickyFooter'];
2617
+ /** Name of the landmark this page is: the region it becomes beside another page, or its main landmark */
2618
+ 'accessible-label'?: NLDDPage['accessibleLabel'];
2619
+ /** Name of the landmark this page is: the region it becomes beside another page, or its main landmark */
2620
+ 'accessibleLabel'?: NLDDPage['accessibleLabel'];
2621
+ /** Whether this page carries the document's landmarks: 'auto' (default) derives it from where the page sits, 'page' keeps banner, main and contentinfo, 'region' drops all three */
2622
+ 'landmarks'?: NLDDPage['landmarks'];
2618
2623
  'scrollTarget'?: NLDDPage['scrollTarget'];
2619
2624
  };
2620
2625
 
@@ -2701,8 +2706,6 @@ declare module 'vue' {
2701
2706
  'readonly'?: NLDDPasswordField['readonly'];
2702
2707
  /** Disabled state */
2703
2708
  'disabled'?: NLDDPasswordField['disabled'];
2704
- /** Override translation keys; unset keys fall back to Dutch */
2705
- 'translations'?: NLDDPasswordField['translations'];
2706
2709
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
2707
2710
  'accessible-description'?: NLDDPasswordField['accessibleDescription'];
2708
2711
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -2711,6 +2714,8 @@ declare module 'vue' {
2711
2714
  'accessible-described-by'?: NLDDPasswordField['accessibleDescribedBy'];
2712
2715
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
2713
2716
  'accessibleDescribedBy'?: NLDDPasswordField['accessibleDescribedBy'];
2717
+ /** Override translation keys; unset keys fall back to Dutch */
2718
+ 'translations'?: NLDDPasswordField['translations'];
2714
2719
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
2715
2720
  'describedByElements'?: NLDDPasswordField['describedByElements'];
2716
2721
  'internals'?: NLDDPasswordField['internals'];
@@ -2950,12 +2955,12 @@ declare module 'vue' {
2950
2955
  type NLDDReorderHandleCellProps = {
2951
2956
  /** Handle size: 'sm' | 'md' (default: 'md') */
2952
2957
  'size'?: NLDDReorderHandleCell['size'];
2953
- /** Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label. */
2954
- 'translations'?: NLDDReorderHandleCell['translations'];
2955
2958
  /** Makes this cell the grip that drags its row in a `reorderable` nldd-list. The cell shows only while the row is `reorderable`. */
2956
2959
  'reorder-handle'?: NLDDReorderHandleCell['reorderHandle'];
2957
2960
  /** Makes this cell the grip that drags its row in a `reorderable` nldd-list. The cell shows only while the row is `reorderable`. */
2958
2961
  'reorderHandle'?: NLDDReorderHandleCell['reorderHandle'];
2962
+ /** Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label. */
2963
+ 'translations'?: NLDDReorderHandleCell['translations'];
2959
2964
  };
2960
2965
 
2961
2966
  type NLDDRichTextProps = {
@@ -3018,8 +3023,6 @@ declare module 'vue' {
3018
3023
  'noSpellcheck'?: NLDDSearchField['noSpellcheck'];
3019
3024
  /** Disabled state */
3020
3025
  'disabled'?: NLDDSearchField['disabled'];
3021
- /** Override translation keys; unset keys fall back to Dutch */
3022
- 'translations'?: NLDDSearchField['translations'];
3023
3026
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
3024
3027
  'accessible-description'?: NLDDSearchField['accessibleDescription'];
3025
3028
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -3028,6 +3031,8 @@ declare module 'vue' {
3028
3031
  'accessible-described-by'?: NLDDSearchField['accessibleDescribedBy'];
3029
3032
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
3030
3033
  'accessibleDescribedBy'?: NLDDSearchField['accessibleDescribedBy'];
3034
+ /** Override translation keys; unset keys fall back to Dutch */
3035
+ 'translations'?: NLDDSearchField['translations'];
3031
3036
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
3032
3037
  'describedByElements'?: NLDDSearchField['describedByElements'];
3033
3038
  'internals'?: NLDDSearchField['internals'];
@@ -3159,8 +3164,6 @@ declare module 'vue' {
3159
3164
  'noCollapse'?: NLDDSidebarSection['noCollapse'];
3160
3165
  /** Read-only, reflected: true while the sidebar is a sheet (the section is narrower than lg). Target it via CSS to reveal sheet-only chrome. */
3161
3166
  'collapsed'?: NLDDSidebarSection['collapsed'];
3162
- /** Override translation keys (sheet title fallback, dismiss label); unset keys fall back to Dutch. */
3163
- 'translations'?: NLDDSidebarSection['translations'];
3164
3167
  'background'?: NLDDSidebarSection['background'];
3165
3168
  'height'?: NLDDSidebarSection['height'];
3166
3169
  /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
@@ -3207,6 +3210,8 @@ declare module 'vue' {
3207
3210
  'lg-padding-bottom'?: NLDDSidebarSection['lgPaddingBottom'];
3208
3211
  /** Bottom padding in the lg range; wins there over `lg-padding-block` and the padding attributes without a breakpoint. */
3209
3212
  'lgPaddingBottom'?: NLDDSidebarSection['lgPaddingBottom'];
3213
+ /** Override translation keys (sheet title fallback, dismiss label); unset keys fall back to Dutch. */
3214
+ 'translations'?: NLDDSidebarSection['translations'];
3210
3215
  /** Set on anything inside the section, at any depth: shows that element only while the sidebar is a sheet (`collapsed`), such as the button that opens it, or only while it is a box beside the main (`expanded`), such as a heading the sheet's title bar repeats. Put it on an nldd-spacer next to such an element too, so the space goes with it. */
3211
3216
  'sidebar-section-only'?: NLDDSidebarSection['sidebarSectionOnly'];
3212
3217
  /** Set on anything inside the section, at any depth: shows that element only while the sidebar is a sheet (`collapsed`), such as the button that opens it, or only while it is a box beside the main (`expanded`), such as a heading the sheet's title bar repeats. Put it on an nldd-spacer next to such an element too, so the space goes with it. */
@@ -3340,8 +3345,6 @@ declare module 'vue' {
3340
3345
  'step'?: NLDDSlider['step'];
3341
3346
  /** Disabled state */
3342
3347
  'disabled'?: NLDDSlider['disabled'];
3343
- /** Override translation keys; unset keys fall back to Dutch */
3344
- 'translations'?: NLDDSlider['translations'];
3345
3348
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
3346
3349
  'accessible-description'?: NLDDSlider['accessibleDescription'];
3347
3350
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -3350,6 +3353,8 @@ declare module 'vue' {
3350
3353
  'accessible-described-by'?: NLDDSlider['accessibleDescribedBy'];
3351
3354
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
3352
3355
  'accessibleDescribedBy'?: NLDDSlider['accessibleDescribedBy'];
3356
+ /** Override translation keys; unset keys fall back to Dutch */
3357
+ 'translations'?: NLDDSlider['translations'];
3353
3358
  'formatValue'?: NLDDSlider['formatValue'];
3354
3359
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
3355
3360
  'describedByElements'?: NLDDSlider['describedByElements'];
@@ -3568,8 +3573,6 @@ declare module 'vue' {
3568
3573
  'step'?: NLDDStepper['step'];
3569
3574
  /** Disabled state */
3570
3575
  'disabled'?: NLDDStepper['disabled'];
3571
- /** Translations; unspecified keys fall back to Dutch */
3572
- 'translations'?: NLDDStepper['translations'];
3573
3576
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
3574
3577
  'accessible-description'?: NLDDStepper['accessibleDescription'];
3575
3578
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -3578,6 +3581,8 @@ declare module 'vue' {
3578
3581
  'accessible-described-by'?: NLDDStepper['accessibleDescribedBy'];
3579
3582
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
3580
3583
  'accessibleDescribedBy'?: NLDDStepper['accessibleDescribedBy'];
3584
+ /** Translations; unspecified keys fall back to Dutch */
3585
+ 'translations'?: NLDDStepper['translations'];
3581
3586
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
3582
3587
  'describedByElements'?: NLDDStepper['describedByElements'];
3583
3588
  'internals'?: NLDDStepper['internals'];
@@ -4100,8 +4105,6 @@ declare module 'vue' {
4100
4105
  'readonly'?: NLDDTimeField['readonly'];
4101
4106
  /** Disabled state. */
4102
4107
  'disabled'?: NLDDTimeField['disabled'];
4103
- /** Translations; unspecified keys fall back to Dutch. */
4104
- 'translations'?: NLDDTimeField['translations'];
4105
4108
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
4106
4109
  'accessible-description'?: NLDDTimeField['accessibleDescription'];
4107
4110
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -4110,6 +4113,8 @@ declare module 'vue' {
4110
4113
  'accessible-described-by'?: NLDDTimeField['accessibleDescribedBy'];
4111
4114
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
4112
4115
  'accessibleDescribedBy'?: NLDDTimeField['accessibleDescribedBy'];
4116
+ /** Translations; unspecified keys fall back to Dutch. */
4117
+ 'translations'?: NLDDTimeField['translations'];
4113
4118
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
4114
4119
  'describedByElements'?: NLDDTimeField['describedByElements'];
4115
4120
  'internals'?: NLDDTimeField['internals'];
@@ -4130,6 +4135,8 @@ declare module 'vue' {
4130
4135
  'accessibleLabel'?: NLDDTimePicker['accessibleLabel'];
4131
4136
  /** Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it. */
4132
4137
  'invalid'?: NLDDTimePicker['invalid'];
4138
+ /** Name for form submission; the picker submits on its own, so it works in a form without an nldd-time-field. Submits the chosen time as `HH:mm`. */
4139
+ 'name'?: NLDDTimePicker['name'];
4133
4140
  /** The chosen time as `HH:mm` (24-hour), written exactly so: unlike `min` and `max`, it is what the picker reports back. In nldd-time-field the field writes it. */
4134
4141
  'value'?: NLDDTimePicker['value'];
4135
4142
  /** Earliest allowed time as `HH:mm`, read as generously as nldd-time-field reads it (`9:00` too). Also the base that `step` counts from. */
@@ -4138,8 +4145,6 @@ declare module 'vue' {
4138
4145
  'max'?: NLDDTimePicker['max'];
4139
4146
  /** Step in minutes (default 1). Decides which minutes are in the column. */
4140
4147
  'step'?: NLDDTimePicker['step'];
4141
- /** Translations; unspecified keys fall back to Dutch. */
4142
- 'translations'?: NLDDTimePicker['translations'];
4143
4148
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
4144
4149
  'accessible-description'?: NLDDTimePicker['accessibleDescription'];
4145
4150
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -4148,8 +4153,11 @@ declare module 'vue' {
4148
4153
  'accessible-described-by'?: NLDDTimePicker['accessibleDescribedBy'];
4149
4154
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
4150
4155
  'accessibleDescribedBy'?: NLDDTimePicker['accessibleDescribedBy'];
4156
+ /** Translations; unspecified keys fall back to Dutch. */
4157
+ 'translations'?: NLDDTimePicker['translations'];
4151
4158
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
4152
4159
  'describedByElements'?: NLDDTimePicker['describedByElements'];
4160
+ 'internals'?: NLDDTimePicker['internals'];
4153
4161
  /** On every change: scrolling, the arrow keys. detail: { value } with `HH:mm`. */
4154
4162
  'onInput'?: (event: CustomEvent) => void;
4155
4163
  /** When the choice is confirmed: a click on a value or on the selection, or Enter. detail: { value } with `HH:mm`. Scrolling only fires `input`, because otherwise a field showing the picker in a popover would commit as soon as you stopped scrolling. */
@@ -4299,7 +4307,7 @@ declare module 'vue' {
4299
4307
  'value'?: NLDDToggleButton['value'];
4300
4308
  /** What the button is: a button with aria-pressed, a native checkbox, or a radio (default: 'button') */
4301
4309
  'type'?: NLDDToggleButton['type'];
4302
- /** Required state. Set by nldd-toggle-button-group. */
4310
+ /** A checkbox has to be selected. On its own it asks for this button; in an nldd-toggle-button-group, which sets it on its buttons, for any button of the group. */
4303
4311
  'required'?: NLDDToggleButton['required'];
4304
4312
  /** Disabled state */
4305
4313
  'disabled'?: NLDDToggleButton['disabled'];
@@ -4337,7 +4345,7 @@ declare module 'vue' {
4337
4345
  'name'?: NLDDToggleButtonGroup['name'];
4338
4346
  /** Selection mode (default: 'checkbox') */
4339
4347
  'type'?: NLDDToggleButtonGroup['type'];
4340
- /** Marks the group as required. Enforced in radio mode; in checkbox mode only announced. */
4348
+ /** Marks the group as required: at least one button has to be selected. Enforced in both radio and checkbox mode. */
4341
4349
  'required'?: NLDDToggleButtonGroup['required'];
4342
4350
  /** Disables all buttons */
4343
4351
  'disabled'?: NLDDToggleButtonGroup['disabled'];
@@ -4409,8 +4417,6 @@ declare module 'vue' {
4409
4417
  'readonly'?: NLDDTokenField['readonly'];
4410
4418
  /** Disabled state */
4411
4419
  'disabled'?: NLDDTokenField['disabled'];
4412
- /** Override translation keys; unset keys fall back to Dutch */
4413
- 'translations'?: NLDDTokenField['translations'];
4414
4420
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
4415
4421
  'accessible-description'?: NLDDTokenField['accessibleDescription'];
4416
4422
  /** A description in words, read after the name, role and state, as `aria-description` would. Extra information, never the name: a button with only an icon still needs its `accessible-label`. Not shown; prefer `accessible-described-by` to text that is on the page. That one wins when it finds an element, as `aria-describedby` wins from `aria-description`. */
@@ -4419,6 +4425,8 @@ declare module 'vue' {
4419
4425
  'accessible-described-by'?: NLDDTokenField['accessibleDescribedBy'];
4420
4426
  /** IDs of elements whose text describes this control, separated by spaces, as `aria-describedby` takes them. Looked up in the tree of this element and handed to the control inside, where an `aria-describedby` on the host would not reach. Read after the name, role and state, after the help and error text of an nldd-form-field. Looked up again on each render and when focus comes in, so an element added later counts from then on. */
4421
4427
  'accessibleDescribedBy'?: NLDDTokenField['accessibleDescribedBy'];
4428
+ /** Override translation keys; unset keys fall back to Dutch */
4429
+ 'translations'?: NLDDTokenField['translations'];
4422
4430
  /** Set by nldd-form-field. A consumer never writes this: the app has `accessible-described-by` and `accessible-description`. */
4423
4431
  'describedByElements'?: NLDDTokenField['describedByElements'];
4424
4432
  'internals'?: NLDDTokenField['internals'];
@@ -35,6 +35,8 @@ export declare class LayoutPass<T> {
35
35
  /** One ResizeObserver for every host of a component. */
36
36
  export interface SharedResizeObserver<T extends object> {
37
37
  observe(target: Element, host: T): void;
38
+ /** Stops watching one target for this host. */
39
+ unobserve(target: Element, host: T): void;
38
40
  /** Stops watching every target of this host. */
39
41
  unobserveAll(host: T): void;
40
42
  }
@@ -45,5 +47,5 @@ export interface SharedResizeObserver<T extends object> {
45
47
  * also for a host that joins a target another host already observes: the
46
48
  * hosts that were there get that report too.
47
49
  */
48
- export declare function sharedResizeObserver<T extends object>(onResize: (hosts: T[]) => void): SharedResizeObserver<T>;
50
+ export declare function sharedResizeObserver<T extends object>(onResize: (hosts: T[], entriesOf: (host: T) => ResizeObserverEntry[]) => void): SharedResizeObserver<T>;
49
51
  //# sourceMappingURL=layout-pass.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout-pass.d.ts","sourceRoot":"","sources":["../../src/utilities/layout-pass.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,UAAU,CAAC,CAAC;IAMZ,OAAO,CAAC,IAAI;IALxB,OAAO,CAAC,QAAQ,CAAgB;IAEhC;;uCAEmC;gBACf,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI;IAE9C;;qBAEiB;IACjB,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,GAAE,QAAmB,GAAG,IAAI;IAOjD,gEAAgE;IAChE,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAIrB;6EACyE;IACzE,KAAK,QAAO,IAAI,CAAkB;IAElC,OAAO,CAAC,MAAM,CAKZ;CACF;AAED,wDAAwD;AACxD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM;IACrD,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IACxC,gDAAgD;IAChD,YAAY,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAuC9G"}
1
+ {"version":3,"file":"layout-pass.d.ts","sourceRoot":"","sources":["../../src/utilities/layout-pass.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,UAAU,CAAC,CAAC;IAMZ,OAAO,CAAC,IAAI;IALxB,OAAO,CAAC,QAAQ,CAAgB;IAEhC;;uCAEmC;gBACf,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI;IAE9C;;qBAEiB;IACjB,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,GAAE,QAAmB,GAAG,IAAI;IAOjD,gEAAgE;IAChE,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAIrB;6EACyE;IACzE,KAAK,QAAO,IAAI,CAAkB;IAElC,OAAO,CAAC,MAAM,CAKZ;CACF;AAED,wDAAwD;AACxD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM;IACrD,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IACxC,+CAA+C;IAC/C,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IAC1C,gDAAgD;IAChD,YAAY,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EACpD,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,mBAAmB,EAAE,KAAK,IAAI,GAC3E,oBAAoB,CAAC,CAAC,CAAC,CA8DzB"}
@@ -67,12 +67,23 @@ export function sharedResizeObserver(onResize) {
67
67
  observe(target, host) {
68
68
  observer ?? (observer = new ResizeObserver((entries) => {
69
69
  const hosts = new Set();
70
- for (const entry of entries)
71
- hostsOf.get(entry.target)?.forEach((of) => hosts.add(of));
70
+ // The entries of this batch, grouped by host, so a host that reads a
71
+ // changed size (a width, a border box) gets its own. A host with more
72
+ // than one target, such as a toolbar watching itself and each item,
73
+ // gets all of them.
74
+ const entriesByHost = new Map();
75
+ for (const entry of entries) {
76
+ hostsOf.get(entry.target)?.forEach((of) => {
77
+ hosts.add(of);
78
+ const list = entriesByHost.get(of) ?? [];
79
+ list.push(entry);
80
+ entriesByHost.set(of, list);
81
+ });
82
+ }
72
83
  // A host that left the page in the same tick is not reported.
73
84
  const live = [...hosts].filter((of) => !(of instanceof Node) || of.isConnected);
74
85
  if (live.length)
75
- onResize(live);
86
+ onResize(live, (host) => entriesByHost.get(host) ?? []);
76
87
  }));
77
88
  const hosts = hostsOf.get(target) ?? new Set();
78
89
  hostsOf.set(target, hosts);
@@ -87,6 +98,18 @@ export function sharedResizeObserver(onResize) {
87
98
  observer.unobserve(target);
88
99
  observer.observe(target);
89
100
  },
101
+ unobserve(target, host) {
102
+ const hosts = hostsOf.get(target);
103
+ hosts?.delete(host);
104
+ if (!hosts?.size) {
105
+ observer?.unobserve(target);
106
+ hostsOf.delete(target);
107
+ }
108
+ const targets = targetsOf.get(host);
109
+ targets?.delete(target);
110
+ if (targets && !targets.size)
111
+ targetsOf.delete(host);
112
+ },
90
113
  unobserveAll(host) {
91
114
  for (const target of targetsOf.get(host) ?? []) {
92
115
  const hosts = hostsOf.get(target);
@@ -1 +1 @@
1
- {"version":3,"file":"layout-pass.js","sourceRoot":"","sources":["../../src/utilities/layout-pass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,OAAO,UAAU;IAGtB;;uCAEmC;IACnC,YAAoB,IAA0B;QAA1B,SAAI,GAAJ,IAAI,CAAsB;QALtC,aAAQ,GAAG,IAAI,GAAG,EAAK,CAAC;QAsBhC;iFACyE;QACzE,UAAK,GAAG,GAAS,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QAE1B,WAAM,GAAG,GAAS,EAAE;YAC3B,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI;gBAAE,OAAO;YAChC,MAAM,KAAK,GAAG,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;YACjC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;YACtB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClB,CAAC,C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QACtD,CAAC;QACD,YAAY,CAAC,IAAI;YAChB,KAAK,MAAM,MAAM,IAAI,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;gBAChD,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;gBAClC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;gBACpB,IAAI,KAAK,EAAE,IAAI;oBAAE,SAAS;gBAC1B,QAAQ,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;gBAC5B,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YACxB,CAAC;YACD,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;KACD,CAAC;AACH,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The focus restore a field shares around its picker popover (nldd-date-field,
3
+ * nldd-time-field).
4
+ *
5
+ * With `delegatesFocus`, Safari does not focus a button on click: it focuses the
6
+ * text field instead. On close the popover restores focus to the element from
7
+ * before it opened, so in Safari that lands on the input rather than the picker
8
+ * button. The field takes focus back itself, one microtask after the popover's
9
+ * own restore so it is not overwritten. A microtask rather than a frame: it
10
+ * beats that same restore but is not throttled while the tab is unfocused.
11
+ */
12
+ export declare class PickerPopoverController {
13
+ private readonly _host;
14
+ private readonly _trigger;
15
+ constructor(_host: HTMLElement, _trigger: () => HTMLElement | null);
16
+ /**
17
+ * Focus the trigger button. `asked` forces it (a dismiss, Escape or an
18
+ * explicit close); otherwise only when the close left focus loose, as after a
19
+ * click beside the popover, and not when the click put focus elsewhere.
20
+ */
21
+ focusTrigger(asked: boolean): void;
22
+ /** `focusTrigger`, one microtask after the popover's own restore. */
23
+ restoreFocus(asked: boolean): void;
24
+ }
25
+ //# sourceMappingURL=picker-popover-controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picker-popover-controller.d.ts","sourceRoot":"","sources":["../../src/utilities/picker-popover-controller.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,qBAAa,uBAAuB;IAElC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,MAAM,WAAW,GAAG,IAAI;IAGpD;;;;OAIG;IACH,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAKlC,qEAAqE;IACrE,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;CAGlC"}
@@ -0,0 +1,33 @@
1
+ import { focusAsLastInput, focusIsFree } from './return-focus.js';
2
+ /**
3
+ * The focus restore a field shares around its picker popover (nldd-date-field,
4
+ * nldd-time-field).
5
+ *
6
+ * With `delegatesFocus`, Safari does not focus a button on click: it focuses the
7
+ * text field instead. On close the popover restores focus to the element from
8
+ * before it opened, so in Safari that lands on the input rather than the picker
9
+ * button. The field takes focus back itself, one microtask after the popover's
10
+ * own restore so it is not overwritten. A microtask rather than a frame: it
11
+ * beats that same restore but is not throttled while the tab is unfocused.
12
+ */
13
+ export class PickerPopoverController {
14
+ constructor(_host, _trigger) {
15
+ this._host = _host;
16
+ this._trigger = _trigger;
17
+ }
18
+ /**
19
+ * Focus the trigger button. `asked` forces it (a dismiss, Escape or an
20
+ * explicit close); otherwise only when the close left focus loose, as after a
21
+ * click beside the popover, and not when the click put focus elsewhere.
22
+ */
23
+ focusTrigger(asked) {
24
+ const trigger = this._trigger();
25
+ if (trigger && (asked || focusIsFree(this._host)))
26
+ focusAsLastInput(trigger);
27
+ }
28
+ /** `focusTrigger`, one microtask after the popover's own restore. */
29
+ restoreFocus(asked) {
30
+ queueMicrotask(() => this.focusTrigger(asked));
31
+ }
32
+ }
33
+ //# sourceMappingURL=picker-popover-controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picker-popover-controller.js","sourceRoot":"","sources":["../../src/utilities/picker-popover-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAElE;;;;;;;;;;GAUG;AACH,MAAM,OAAO,uBAAuB;IACnC,YACkB,KAAkB,EAClB,QAAkC;QADlC,UAAK,GAAL,KAAK,CAAa;QAClB,aAAQ,GAAR,QAAQ,CAA0B;IACjD,CAAC;IAEJ;;;;OAIG;IACH,YAAY,CAAC,KAAc;QAC1B,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChC,IAAI,OAAO,IAAI,CAAC,KAAK,IAAI,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED,qEAAqE;IACrE,YAAY,CAAC,KAAc;QAC1B,cAAc,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAChD,CAAC;CACD"}
@@ -4,13 +4,19 @@
4
4
  * browsers strip during URL parsing (tab, newline, carriage return), and
5
5
  * blocking dangerous protocols.
6
6
  *
7
- * Blocked protocols: javascript:, data:, vbscript:, blob:.
7
+ * Blocked protocols: javascript:, data:, vbscript:, blob:. With
8
+ * `{ allowData: true }` the data: and blob: URLs are permitted while
9
+ * javascript: and vbscript: stay blocked: a download link legitimately points
10
+ * at a data: or blob: URL, so a component passes this when its `download`
11
+ * attribute is set. The browser saves such a URL as a file and never runs
12
+ * it, so a `data:text/html` URL is harmless there.
8
13
  *
9
- * Note: data: and blob: are blocked entirely because this utility is designed
10
- * for href contexts (<a>, navigation). Do not reuse for <img src>, download
11
- * links, or other contexts where data: or blob: URLs are legitimate.
14
+ * Note: tuned for href contexts (<a>, navigation). Do not reuse for <img src>
15
+ * or other contexts without reviewing which protocols are safe there.
12
16
  *
13
17
  * Returns null for empty or dangerous URLs, the trimmed URL otherwise.
14
18
  */
15
- export declare function sanitizeUrl(url: string | null): string | null;
19
+ export declare function sanitizeUrl(url: string | null | undefined, options?: {
20
+ allowData?: boolean;
21
+ }): string | null;
16
22
  //# sourceMappingURL=sanitize-url.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sanitize-url.d.ts","sourceRoot":"","sources":["../../src/utilities/sanitize-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAe7D"}
1
+ {"version":3,"file":"sanitize-url.d.ts","sourceRoot":"","sources":["../../src/utilities/sanitize-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,OAAO,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,GAAG,IAAI,CAa5G"}
@@ -4,25 +4,29 @@
4
4
  * browsers strip during URL parsing (tab, newline, carriage return), and
5
5
  * blocking dangerous protocols.
6
6
  *
7
- * Blocked protocols: javascript:, data:, vbscript:, blob:.
7
+ * Blocked protocols: javascript:, data:, vbscript:, blob:. With
8
+ * `{ allowData: true }` the data: and blob: URLs are permitted while
9
+ * javascript: and vbscript: stay blocked: a download link legitimately points
10
+ * at a data: or blob: URL, so a component passes this when its `download`
11
+ * attribute is set. The browser saves such a URL as a file and never runs
12
+ * it, so a `data:text/html` URL is harmless there.
8
13
  *
9
- * Note: data: and blob: are blocked entirely because this utility is designed
10
- * for href contexts (<a>, navigation). Do not reuse for <img src>, download
11
- * links, or other contexts where data: or blob: URLs are legitimate.
14
+ * Note: tuned for href contexts (<a>, navigation). Do not reuse for <img src>
15
+ * or other contexts without reviewing which protocols are safe there.
12
16
  *
13
17
  * Returns null for empty or dangerous URLs, the trimmed URL otherwise.
14
18
  */
15
- export function sanitizeUrl(url) {
19
+ export function sanitizeUrl(url, options) {
16
20
  if (!url)
17
21
  return null;
18
22
  const trimmed = url
19
23
  .replace(/^[\s\u00A0\u200B\u2028\u2029]+|[\s\u00A0\u200B\u2028\u2029]+$/g, '')
20
24
  .replace(/[\0\t\n\r]/g, '');
21
25
  const lower = trimmed.toLowerCase();
22
- if (lower.startsWith('javascript:') ||
23
- lower.startsWith('data:') ||
24
- lower.startsWith('vbscript:') ||
25
- lower.startsWith('blob:')) {
26
+ if (lower.startsWith('javascript:') || lower.startsWith('vbscript:')) {
27
+ return null;
28
+ }
29
+ if (!options?.allowData && (lower.startsWith('data:') || lower.startsWith('blob:'))) {
26
30
  return null;
27
31
  }
28
32
  return trimmed;
@@ -1 +1 @@
1
- {"version":3,"file":"sanitize-url.js","sourceRoot":"","sources":["../../src/utilities/sanitize-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,WAAW,CAAC,GAAkB;IAC7C,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IACtB,MAAM,OAAO,GAAG,GAAG;SACjB,OAAO,CAAC,gEAAgE,EAAE,EAAE,CAAC;SAC7E,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;IAC7B,MAAM,KAAK,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IACpC,IACC,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC;QAC/B,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC;QACzB,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7B,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,EACxB,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"sanitize-url.js","sourceRoot":"","sources":["../../src/utilities/sanitize-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,WAAW,CAAC,GAA8B,EAAE,OAAiC;IAC5F,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IACtB,MAAM,OA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