@nldd/design-system 0.13.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (610) hide show
  1. package/NOTICES.md +18 -1
  2. package/README.md +36 -26
  3. package/custom-elements.json +2508 -179
  4. package/dist/components/actions/button/button.d.ts +0 -2
  5. package/dist/components/actions/button/button.d.ts.map +1 -1
  6. package/dist/components/actions/button/button.js +17 -33
  7. package/dist/components/actions/button/button.js.map +1 -1
  8. package/dist/components/actions/button/button.template.js +2 -2
  9. package/dist/components/actions/button-bar/button-bar.d.ts +0 -2
  10. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  11. package/dist/components/actions/button-bar/button-bar.js +2 -12
  12. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  13. package/dist/components/actions/button-group/button-group.d.ts +22 -7
  14. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  15. package/dist/components/actions/button-group/button-group.js +41 -23
  16. package/dist/components/actions/button-group/button-group.js.map +1 -1
  17. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  18. package/dist/components/actions/button-group/button-group.styles.js +43 -18
  19. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  20. package/dist/components/actions/button-group/button-group.template.js +1 -1
  21. package/dist/components/actions/button-group/button-group.template.js.map +1 -1
  22. package/dist/components/actions/icon-button/icon-button.d.ts +0 -1
  23. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  24. package/dist/components/actions/icon-button/icon-button.js +4 -11
  25. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  26. package/dist/components/actions/icon-button/icon-button.template.js +2 -2
  27. package/dist/components/actions/menu/menu-divider.d.ts +1 -0
  28. package/dist/components/actions/menu/menu-divider.d.ts.map +1 -1
  29. package/dist/components/actions/menu/menu-divider.js +1 -0
  30. package/dist/components/actions/menu/menu-divider.js.map +1 -1
  31. package/dist/components/actions/menu/menu-group.d.ts +1 -0
  32. package/dist/components/actions/menu/menu-group.d.ts.map +1 -1
  33. package/dist/components/actions/menu/menu-group.js +1 -0
  34. package/dist/components/actions/menu/menu-group.js.map +1 -1
  35. package/dist/components/actions/menu/menu-item.d.ts +1 -0
  36. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  37. package/dist/components/actions/menu/menu-item.js +4 -7
  38. package/dist/components/actions/menu/menu-item.js.map +1 -1
  39. package/dist/components/actions/menu/menu.d.ts +15 -4
  40. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  41. package/dist/components/actions/menu/menu.js +44 -17
  42. package/dist/components/actions/menu/menu.js.map +1 -1
  43. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  44. package/dist/components/actions/split-button/split-button.js +2 -1
  45. package/dist/components/actions/split-button/split-button.js.map +1 -1
  46. package/dist/components/actions/toolbar/toolbar-item.d.ts +0 -2
  47. package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
  48. package/dist/components/actions/toolbar/toolbar-item.js +2 -20
  49. package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
  50. package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
  51. package/dist/components/actions/toolbar/toolbar-title.js +2 -1
  52. package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
  53. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  54. package/dist/components/actions/toolbar/toolbar.js +2 -1
  55. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  56. package/dist/components/button.i18n-DiDGynnq.js +8 -0
  57. package/dist/components/components.js +2761 -780
  58. package/dist/components/content/avatar/avatar.d.ts +0 -2
  59. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  60. package/dist/components/content/avatar/avatar.js +2 -27
  61. package/dist/components/content/avatar/avatar.js.map +1 -1
  62. package/dist/components/content/avatar-group/avatar-group.d.ts +0 -1
  63. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  64. package/dist/components/content/avatar-group/avatar-group.js +2 -24
  65. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  66. package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
  67. package/dist/components/content/avatar-group/avatar-group.styles.js +12 -1
  68. package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
  69. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  70. package/dist/components/content/blockquote/blockquote.js +2 -1
  71. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  72. package/dist/components/content/code-viewer/code-viewer.d.ts +1 -0
  73. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  74. package/dist/components/content/code-viewer/code-viewer.diff.d.ts +2 -0
  75. package/dist/components/content/code-viewer/code-viewer.diff.d.ts.map +1 -1
  76. package/dist/components/content/code-viewer/code-viewer.diff.js +1 -4
  77. package/dist/components/content/code-viewer/code-viewer.diff.js.map +1 -1
  78. package/dist/components/content/code-viewer/code-viewer.js +13 -11
  79. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  80. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  81. package/dist/components/content/icon/icon-aliases.js +10 -5
  82. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  83. package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
  84. package/dist/components/content/icon/icon-gallery-status.js +4 -0
  85. package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
  86. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  87. package/dist/components/content/icon/icon-registry.js +4 -2
  88. package/dist/components/content/icon/icon-registry.js.map +1 -1
  89. package/dist/components/content/icon/icon.d.ts +3 -0
  90. package/dist/components/content/icon/icon.d.ts.map +1 -1
  91. package/dist/components/content/icon/icon.js +19 -15
  92. package/dist/components/content/icon/icon.js.map +1 -1
  93. package/dist/components/content/identity/identity.d.ts.map +1 -1
  94. package/dist/components/content/identity/identity.js +2 -1
  95. package/dist/components/content/identity/identity.js.map +1 -1
  96. package/dist/components/content/image/image.d.ts +5 -11
  97. package/dist/components/content/image/image.d.ts.map +1 -1
  98. package/dist/components/content/image/image.js +14 -31
  99. package/dist/components/content/image/image.js.map +1 -1
  100. package/dist/components/content/image/lqip-encoder-element.d.ts.map +1 -1
  101. package/dist/components/content/image/lqip-encoder-element.js +2 -1
  102. package/dist/components/content/image/lqip-encoder-element.js.map +1 -1
  103. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  104. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +2 -1
  105. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  106. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  107. package/dist/components/content/rich-text/rich-text.js +2 -1
  108. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  109. package/dist/components/content/tag/tag.d.ts.map +1 -1
  110. package/dist/components/content/tag/tag.js +5 -5
  111. package/dist/components/content/tag/tag.js.map +1 -1
  112. package/dist/components/content/text/text.d.ts +1 -1
  113. package/dist/components/content/text/text.d.ts.map +1 -1
  114. package/dist/components/content/text/text.js +3 -2
  115. package/dist/components/content/text/text.js.map +1 -1
  116. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  117. package/dist/components/content/text/text.styles.js +104 -1
  118. package/dist/components/content/text/text.styles.js.map +1 -1
  119. package/dist/components/content/title/title.d.ts +1 -5
  120. package/dist/components/content/title/title.d.ts.map +1 -1
  121. package/dist/components/content/title/title.js +15 -27
  122. package/dist/components/content/title/title.js.map +1 -1
  123. package/dist/components/content/token/token.d.ts.map +1 -1
  124. package/dist/components/content/token/token.js +2 -1
  125. package/dist/components/content/token/token.js.map +1 -1
  126. package/dist/components/content/token/token.styles.d.ts.map +1 -1
  127. package/dist/components/content/token/token.styles.js +2 -1
  128. package/dist/components/content/token/token.styles.js.map +1 -1
  129. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  130. package/dist/components/content/tooltip/tooltip.js +2 -1
  131. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  132. package/dist/components/content/tooltip/tooltip.styles.js +7 -7
  133. package/dist/components/content/visually-hidden/visually-hidden.js +1 -1
  134. package/dist/components/content/visually-hidden/visually-hidden.js.map +1 -1
  135. package/dist/components/{decorate-Cz9-peTN.js → decorate-x12uDAK4.js} +9 -1
  136. package/dist/components/dev-checks-BgrW077W.js +2503 -0
  137. package/dist/components/element-state-BnarBv0M.js +42 -0
  138. package/dist/components/forms/form/form.d.ts +1 -96
  139. package/dist/components/forms/form/form.d.ts.map +1 -1
  140. package/dist/components/forms/form/form.js +1 -0
  141. package/dist/components/forms/form/form.js.map +1 -1
  142. package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
  143. package/dist/components/forms/form-actions/form-actions.js +2 -1
  144. package/dist/components/forms/form-actions/form-actions.js.map +1 -1
  145. package/dist/components/forms/form-field/form-field.d.ts +10 -7
  146. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  147. package/dist/components/forms/form-field/form-field.js +27 -32
  148. package/dist/components/forms/form-field/form-field.js.map +1 -1
  149. package/dist/components/forms/form-section/form-section.d.ts +1 -67
  150. package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
  151. package/dist/components/forms/form-section/form-section.js +2 -16
  152. package/dist/components/forms/form-section/form-section.js.map +1 -1
  153. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  154. package/dist/components/forms/validation-list/validation-list.js +7 -6
  155. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  156. package/dist/components/{icon-DZ1UXCzO.js → icon-IgCyk9ui.js} +29 -10
  157. package/dist/components/{icon-button-984CwkU1.js → icon-button-B5tH4b3c.js} +15 -24
  158. package/dist/components/icon-button.i18n-1_N-wN6x.js +10 -0
  159. package/dist/components/index.d.ts +2 -0
  160. package/dist/components/index.d.ts.map +1 -1
  161. package/dist/components/index.js +2 -0
  162. package/dist/components/index.js.map +1 -1
  163. package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
  164. package/dist/components/inputs/checkbox/checkbox.js +2 -1
  165. package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
  166. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
  167. package/dist/components/inputs/checkbox-field/checkbox-field.js +2 -1
  168. package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
  169. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  170. package/dist/components/inputs/code-editor/code-editor.js +2 -1
  171. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  172. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  173. package/dist/components/inputs/combo-box/combo-box.js +4 -5
  174. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  175. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  176. package/dist/components/inputs/date-field/date-field.js +2 -1
  177. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  178. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  179. package/dist/components/inputs/date-picker/date-picker.js +2 -1
  180. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  181. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  182. package/dist/components/inputs/dropdown/dropdown.js +5 -4
  183. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  184. package/dist/components/inputs/file-field/file-field.d.ts +12 -0
  185. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  186. package/dist/components/inputs/file-field/file-field.i18n.d.ts +1 -0
  187. package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
  188. package/dist/components/inputs/file-field/file-field.i18n.js +1 -0
  189. package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
  190. package/dist/components/inputs/file-field/file-field.js +30 -10
  191. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  192. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  193. package/dist/components/inputs/file-field/file-field.styles.js +91 -8
  194. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  195. package/dist/components/inputs/file-field/file-field.template.d.ts +1 -0
  196. package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
  197. package/dist/components/inputs/file-field/file-field.template.js +51 -21
  198. package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
  199. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  200. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +2 -4
  201. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  202. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  203. package/dist/components/inputs/number-field/number-field.js +2 -4
  204. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  205. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  206. package/dist/components/inputs/password-field/password-field.js +2 -1
  207. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  208. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  209. package/dist/components/inputs/radio-button/radio-button.js +2 -1
  210. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  211. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  212. package/dist/components/inputs/radio-button-field/radio-button-field.js +2 -1
  213. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  214. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +0 -1
  215. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
  216. package/dist/components/inputs/radio-button-group/radio-button-group.js +2 -6
  217. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  218. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  219. package/dist/components/inputs/search-field/search-field.js +2 -1
  220. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  221. package/dist/components/inputs/segmented-control/segmented-control.d.ts +0 -1
  222. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  223. package/dist/components/inputs/segmented-control/segmented-control.js +2 -11
  224. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  225. package/dist/components/inputs/slider/slider.d.ts +161 -0
  226. package/dist/components/inputs/slider/slider.d.ts.map +1 -0
  227. package/dist/components/inputs/slider/slider.i18n.d.ts +6 -0
  228. package/dist/components/inputs/slider/slider.i18n.d.ts.map +1 -0
  229. package/dist/components/inputs/slider/slider.i18n.js +5 -0
  230. package/dist/components/inputs/slider/slider.i18n.js.map +1 -0
  231. package/dist/components/inputs/slider/slider.js +437 -0
  232. package/dist/components/inputs/slider/slider.js.map +1 -0
  233. package/dist/components/inputs/slider/slider.styles.d.ts +2 -0
  234. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -0
  235. package/dist/components/inputs/slider/slider.styles.js +360 -0
  236. package/dist/components/inputs/slider/slider.styles.js.map +1 -0
  237. package/dist/components/inputs/slider/slider.template.d.ts +5 -0
  238. package/dist/components/inputs/slider/slider.template.d.ts.map +1 -0
  239. package/dist/components/inputs/slider/slider.template.js +99 -0
  240. package/dist/components/inputs/slider/slider.template.js.map +1 -0
  241. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  242. package/dist/components/inputs/stepper/stepper.js +2 -1
  243. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  244. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  245. package/dist/components/inputs/switch/switch.js +2 -4
  246. package/dist/components/inputs/switch/switch.js.map +1 -1
  247. package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
  248. package/dist/components/inputs/switch-field/switch-field.js +2 -1
  249. package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
  250. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  251. package/dist/components/inputs/text-editor/text-editor.js +7 -3
  252. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  253. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +2 -0
  254. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  255. package/dist/components/inputs/text-editor/text-editor.mentions.js +14 -2
  256. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  257. package/dist/components/inputs/text-field/text-field.d.ts +1 -5
  258. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  259. package/dist/components/inputs/text-field/text-field.js +6 -23
  260. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  261. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  262. package/dist/components/inputs/time-field/time-field.js +2 -1
  263. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  264. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  265. package/dist/components/inputs/time-picker/time-picker.js +2 -1
  266. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  267. package/dist/components/inputs/toggle-button/toggle-button.d.ts +0 -2
  268. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  269. package/dist/components/inputs/toggle-button/toggle-button.js +2 -23
  270. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  271. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +0 -2
  272. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  273. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +2 -12
  274. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  275. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  276. package/dist/components/inputs/token-field/token-field.js +2 -1
  277. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  278. package/dist/components/just-in-time-education.i18n-BJ5ovWVB.js +370 -0
  279. package/dist/components/layout/box/box.d.ts.map +1 -1
  280. package/dist/components/layout/box/box.js +2 -1
  281. package/dist/components/layout/box/box.js.map +1 -1
  282. package/dist/components/layout/card/card.d.ts +0 -1
  283. package/dist/components/layout/card/card.d.ts.map +1 -1
  284. package/dist/components/layout/card/card.js +2 -15
  285. package/dist/components/layout/card/card.js.map +1 -1
  286. package/dist/components/layout/card/card.template.js +2 -2
  287. package/dist/components/layout/collection/collection.d.ts +0 -2
  288. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  289. package/dist/components/layout/collection/collection.js +8 -24
  290. package/dist/components/layout/collection/collection.js.map +1 -1
  291. package/dist/components/layout/container/container.d.ts +6 -3
  292. package/dist/components/layout/container/container.d.ts.map +1 -1
  293. package/dist/components/layout/container/container.js +17 -23
  294. package/dist/components/layout/container/container.js.map +1 -1
  295. package/dist/components/layout/divider/divider.js +1 -1
  296. package/dist/components/layout/divider/divider.js.map +1 -1
  297. package/dist/components/layout/page/page.d.ts +2 -3
  298. package/dist/components/layout/page/page.d.ts.map +1 -1
  299. package/dist/components/layout/page/page.js +9 -12
  300. package/dist/components/layout/page/page.js.map +1 -1
  301. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  302. package/dist/components/layout/page-footer/page-footer.js +6 -7
  303. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  304. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  305. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +2 -1
  306. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  307. package/dist/components/layout/page-sections/hero/hero-corner.d.ts +0 -1
  308. package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
  309. package/dist/components/layout/page-sections/hero/hero-corner.js +9 -28
  310. package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
  311. package/dist/components/layout/page-sections/hero/hero.d.ts +1 -4
  312. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  313. package/dist/components/layout/page-sections/hero/hero.js +7 -29
  314. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  315. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  316. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +2 -1
  317. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  318. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  319. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -1
  320. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  321. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  322. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -1
  323. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  324. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  325. package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -1
  326. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  327. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  328. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -1
  329. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  330. package/dist/components/layout/popover/popover.d.ts +0 -2
  331. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  332. package/dist/components/layout/popover/popover.js +6 -25
  333. package/dist/components/layout/popover/popover.js.map +1 -1
  334. package/dist/components/layout/sheet/sheet.d.ts +0 -2
  335. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  336. package/dist/components/layout/sheet/sheet.js +9 -20
  337. package/dist/components/layout/sheet/sheet.js.map +1 -1
  338. package/dist/components/layout/shell/shell.d.ts.map +1 -1
  339. package/dist/components/layout/shell/shell.js +2 -1
  340. package/dist/components/layout/shell/shell.js.map +1 -1
  341. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  342. package/dist/components/layout/spacer/spacer.js +2 -1
  343. package/dist/components/layout/spacer/spacer.js.map +1 -1
  344. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +6 -6
  345. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  346. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +9 -12
  347. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  348. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  349. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +2 -1
  350. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  351. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  352. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +2 -1
  353. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  354. package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts.map +1 -1
  355. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +2 -1
  356. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js.map +1 -1
  357. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  358. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
  359. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  360. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  361. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +2 -1
  362. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  363. package/dist/components/layout/task-board/task-board-column.d.ts +80 -0
  364. package/dist/components/layout/task-board/task-board-column.d.ts.map +1 -0
  365. package/dist/components/layout/task-board/task-board-column.js +205 -0
  366. package/dist/components/layout/task-board/task-board-column.js.map +1 -0
  367. package/dist/components/layout/task-board/task-board-column.template.d.ts +3 -0
  368. package/dist/components/layout/task-board/task-board-column.template.d.ts.map +1 -0
  369. package/dist/components/layout/task-board/task-board-column.template.js +45 -0
  370. package/dist/components/layout/task-board/task-board-column.template.js.map +1 -0
  371. package/dist/components/layout/task-board/task-board.d.ts +169 -0
  372. package/dist/components/layout/task-board/task-board.d.ts.map +1 -0
  373. package/dist/components/layout/task-board/task-board.i18n.d.ts +11 -0
  374. package/dist/components/layout/task-board/task-board.i18n.d.ts.map +1 -0
  375. package/dist/components/layout/task-board/task-board.i18n.js +10 -0
  376. package/dist/components/layout/task-board/task-board.i18n.js.map +1 -0
  377. package/dist/components/layout/task-board/task-board.js +702 -0
  378. package/dist/components/layout/task-board/task-board.js.map +1 -0
  379. package/dist/components/layout/task-board/task-board.styles.d.ts +3 -0
  380. package/dist/components/layout/task-board/task-board.styles.d.ts.map +1 -0
  381. package/dist/components/layout/task-board/task-board.styles.js +259 -0
  382. package/dist/components/layout/task-board/task-board.styles.js.map +1 -0
  383. package/dist/components/layout/task-board/task-board.template.d.ts +3 -0
  384. package/dist/components/layout/task-board/task-board.template.d.ts.map +1 -0
  385. package/dist/components/layout/task-board/task-board.template.js +25 -0
  386. package/dist/components/layout/task-board/task-board.template.js.map +1 -0
  387. package/dist/components/layout/window/window.d.ts +0 -1
  388. package/dist/components/layout/window/window.d.ts.map +1 -1
  389. package/dist/components/layout/window/window.js +4 -6
  390. package/dist/components/layout/window/window.js.map +1 -1
  391. package/dist/components/list-item.i18n-89uqlBMK.js +8 -0
  392. package/dist/components/list.i18n-nFB6dZpc.js +13 -0
  393. package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
  394. package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
  395. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  396. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
  397. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
  398. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
  399. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
  400. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
  401. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  402. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +1 -0
  403. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  404. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +3 -1
  405. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  406. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  407. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
  408. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
  409. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +0 -1
  410. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
  411. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +5 -15
  412. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
  413. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  414. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -1
  415. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  416. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  417. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +2 -1
  418. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  419. package/dist/components/lists-and-tables/list/list.d.ts +5 -23
  420. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  421. package/dist/components/lists-and-tables/list/list.js +53 -98
  422. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  423. package/dist/components/lists-and-tables/list-item/list-item.d.ts +10 -15
  424. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  425. package/dist/components/lists-and-tables/list-item/list-item.js +40 -87
  426. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  427. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +2 -2
  428. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  429. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +6 -11
  430. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  431. package/dist/components/lists-and-tables/table/table.d.ts +0 -13
  432. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  433. package/dist/components/lists-and-tables/table/table.js +6 -41
  434. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  435. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  436. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -1
  437. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  438. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  439. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -4
  440. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  441. package/dist/components/navigation/link/link.d.ts +5 -0
  442. package/dist/components/navigation/link/link.d.ts.map +1 -1
  443. package/dist/components/navigation/link/link.js +21 -1
  444. package/dist/components/navigation/link/link.js.map +1 -1
  445. package/dist/components/navigation/link/link.template.d.ts +1 -0
  446. package/dist/components/navigation/link/link.template.d.ts.map +1 -1
  447. package/dist/components/navigation/link/link.template.js +18 -16
  448. package/dist/components/navigation/link/link.template.js.map +1 -1
  449. package/dist/components/navigation/menu-bar/menu-bar.d.ts +4 -0
  450. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  451. package/dist/components/navigation/menu-bar/menu-bar.js +13 -10
  452. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  453. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  454. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +2 -1
  455. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  456. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  457. package/dist/components/navigation/pagination/pagination.js +2 -1
  458. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  459. package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
  460. package/dist/components/navigation/skip-link/skip-link.js +6 -8
  461. package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
  462. package/dist/components/navigation/tab-bar/tab-bar.d.ts +1 -1
  463. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  464. package/dist/components/navigation/tab-bar/tab-bar.js +5 -15
  465. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  466. package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
  467. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +0 -1
  468. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  469. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +6 -6
  470. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  471. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  472. package/dist/components/navigation/top-title-bar/top-title-bar.js +7 -6
  473. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  474. package/dist/components/nl.generated-Ny3Kwppu.js +61 -0
  475. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  476. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -1
  477. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  478. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  479. package/dist/components/status-and-feedback/badge/badge.js +3 -6
  480. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  481. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  482. package/dist/components/status-and-feedback/banner/banner.js +2 -1
  483. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  484. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  485. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -1
  486. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  487. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  488. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +2 -1
  489. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  490. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +0 -3
  491. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  492. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +2 -14
  493. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  494. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  495. package/dist/components/status-and-feedback/notification/notification.js +3 -7
  496. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  497. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  498. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -5
  499. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  500. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  501. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +2 -1
  502. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  503. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +1 -1
  504. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  505. package/dist/components/status-and-feedback/status-bar/status-bar.js +8 -7
  506. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  507. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +0 -7
  508. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  509. package/dist/components/status-and-feedback/step-bar/step-bar.js +2 -24
  510. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  511. package/dist/components/{visibility-mixin-C-K7ho5Q.js → visibility-mixin-DcwzF0_a.js} +1 -7
  512. package/dist/components/{with-translations-DRuOq3QK.js → with-translations-DLzmBSkU.js} +26 -5
  513. package/dist/css/{global-system-font.css → global-open-font.css} +2 -0
  514. package/dist/css/global.css +1 -0
  515. package/dist/css/inter-font.css +47 -0
  516. package/dist/css/jetbrains-mono-font.css +22 -0
  517. package/dist/css/rijksoverheid-fonts.css +4 -21
  518. package/dist/css/themes/bruin.css +1 -0
  519. package/dist/css/themes/donkerblauw.css +1 -0
  520. package/dist/css/themes/donkerbruin.css +1 -0
  521. package/dist/css/themes/donkergeel.css +1 -0
  522. package/dist/css/themes/donkergroen.css +1 -0
  523. package/dist/css/themes/geel.css +1 -0
  524. package/dist/css/themes/groen.css +1 -0
  525. package/dist/css/themes/hemelblauw.css +1 -0
  526. package/dist/css/themes/lichtblauw.css +1 -0
  527. package/dist/css/themes/mintgroen.css +1 -0
  528. package/dist/css/themes/mosgroen.css +1 -0
  529. package/dist/css/themes/oranje.css +1 -0
  530. package/dist/css/themes/paars.css +1 -0
  531. package/dist/css/themes/robijnrood.css +1 -0
  532. package/dist/css/themes/rood.css +1 -0
  533. package/dist/css/themes/roze.css +1 -0
  534. package/dist/css/themes/violet.css +1 -0
  535. package/dist/css/themes.css +17 -0
  536. package/dist/css/tokens.css +1 -0
  537. package/dist/css/variables.css +27 -5
  538. package/dist/fonts/Inter-Latin-Italic[wght].woff2 +0 -0
  539. package/dist/fonts/Inter-LatinExt-Italic[wght].woff2 +0 -0
  540. package/dist/fonts/Inter-LatinExt[wght].woff2 +0 -0
  541. package/dist/fonts/Inter-Latin[wght].woff2 +0 -0
  542. package/dist/nldd.min.js +1856 -895
  543. package/dist/translations/en-US.d.ts.map +1 -1
  544. package/dist/translations/en-US.js +10 -0
  545. package/dist/translations/en-US.js.map +1 -1
  546. package/dist/translations/nl.generated.d.ts +10 -0
  547. package/dist/translations/nl.generated.d.ts.map +1 -1
  548. package/dist/translations/nl.generated.js +4 -0
  549. package/dist/translations/nl.generated.js.map +1 -1
  550. package/dist/types/vue.d.ts +183 -9
  551. package/dist/utilities/codemirror/codemirror-input.d.ts +0 -2
  552. package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -1
  553. package/dist/utilities/codemirror/codemirror-input.js +0 -14
  554. package/dist/utilities/codemirror/codemirror-input.js.map +1 -1
  555. package/dist/utilities/custom-element.d.ts +7 -0
  556. package/dist/utilities/custom-element.d.ts.map +1 -0
  557. package/dist/utilities/custom-element.js +7 -0
  558. package/dist/utilities/custom-element.js.map +1 -0
  559. package/dist/utilities/dev-checks-trigger.d.ts +2 -0
  560. package/dist/utilities/dev-checks-trigger.d.ts.map +1 -0
  561. package/dist/utilities/dev-checks-trigger.js +10 -0
  562. package/dist/utilities/dev-checks-trigger.js.map +1 -0
  563. package/dist/utilities/dev-checks.d.ts +40 -0
  564. package/dist/utilities/dev-checks.d.ts.map +1 -0
  565. package/dist/utilities/dev-checks.js +115 -0
  566. package/dist/utilities/dev-checks.js.map +1 -0
  567. package/dist/utilities/dev-rules.generated.d.ts +3 -0
  568. package/dist/utilities/dev-rules.generated.d.ts.map +1 -0
  569. package/dist/utilities/dev-rules.generated.js +2472 -0
  570. package/dist/utilities/dev-rules.generated.js.map +1 -0
  571. package/dist/utilities/element-state.d.ts +19 -0
  572. package/dist/utilities/element-state.d.ts.map +1 -0
  573. package/dist/utilities/element-state.js +49 -0
  574. package/dist/utilities/element-state.js.map +1 -0
  575. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  576. package/dist/utilities/form-associated-mixin.js +2 -1
  577. package/dist/utilities/form-associated-mixin.js.map +1 -1
  578. package/dist/utilities/link-hint.d.ts +2 -21
  579. package/dist/utilities/link-hint.d.ts.map +1 -1
  580. package/dist/utilities/link-hint.js +22 -8
  581. package/dist/utilities/link-hint.js.map +1 -1
  582. package/dist/utilities/spacing-scale.d.ts +4 -5
  583. package/dist/utilities/spacing-scale.d.ts.map +1 -1
  584. package/dist/utilities/spacing-scale.js +4 -23
  585. package/dist/utilities/spacing-scale.js.map +1 -1
  586. package/dist/utilities/tab-order.d.ts +11 -0
  587. package/dist/utilities/tab-order.d.ts.map +1 -0
  588. package/dist/utilities/tab-order.js +55 -0
  589. package/dist/utilities/tab-order.js.map +1 -0
  590. package/dist/utilities/translations.d.ts.map +1 -1
  591. package/dist/utilities/translations.js +3 -15
  592. package/dist/utilities/translations.js.map +1 -1
  593. package/dist/utilities/visibility-mixin.d.ts +7 -0
  594. package/dist/utilities/visibility-mixin.d.ts.map +1 -1
  595. package/dist/utilities/visibility-mixin.js +0 -10
  596. package/dist/utilities/visibility-mixin.js.map +1 -1
  597. package/lint/cli.js +18 -0
  598. package/lint/data.generated.json +1 -0
  599. package/lint/engine.js +191 -0
  600. package/lint/fix.js +293 -0
  601. package/lint/format.js +133 -0
  602. package/lint/frontends.js +483 -0
  603. package/lint/linter.js +262 -0
  604. package/lint/main.js +279 -0
  605. package/lint/project.js +143 -0
  606. package/lint/rule-data.js +83 -0
  607. package/lint/rule-index.js +20 -0
  608. package/lint/rule.schema.json +65 -0
  609. package/lint/tree.js +131 -0
  610. package/package.json +32 -6
@@ -146,8 +146,6 @@ export declare class NLDDButton extends NLDDButton_base {
146
146
  * With target '_blank', 'noopener noreferrer' is added to it.
147
147
  */
148
148
  rel: string | undefined;
149
- private _warnedA11y;
150
- private _warnedFormId;
151
149
  /** Shared wiring for an overlay slotted into `popup`: anchors it to this
152
150
  * button and turns clicks into open/close. Not private: the template module
153
151
  * binds its handlers. */
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAI9E,KAAK,UAAU,GACZ,SAAS,GACT,WAAW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4G;IAE5G,WAAW,SAAM;IAGjB,QAAQ,UAAS;IAEjB,mBAAmB;IAEnB,IAAI,SAAM;IAEV,mMAAmM;IAEnM,cAAc,SAAM;IAGpB,UAAU,UAAS;IAEnB,mHAAmH;IAEnH,iBAAiB,UAAS;IAE1B,6FAA6F;IAE7F,SAAS,SAAM;IAEf,wFAAwF;IAExF,OAAO,SAAM;IAEb,0GAA0G;IAE1G,eAAe,SAAM;IAGrB,QAAQ,SAAM;IAGd,WAAW,SAAM;IAGjB,eAAe,SAAM;IAGrB,aAAa,SAAM;IAEnB,4DAA4D;IAE5D,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC,+DAA+D;IAE/D,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;8DAC0D;IAE1D,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAEzC;;;OAGG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAEpC;;6BAEyB;IACzB,MAAM,wBAAmC;IAEzC,6GAA6G;IAC7G,OAAO,CAAC,qBAAqB,CAA4C;IAEhE,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IA0B/D,OAAO,CAAC,YAAY;IAgCpB;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,UAAU;IAiBlB;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAI5C,6DAA6D;IACpD,eAAe,IAAI,OAAO,GAAG,IAAI;IAIjC,MAAM;CAKf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,aAAa,EAAE,UAAU,CAAC;KAC1B;CACD"}
@@ -48,7 +48,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
48
48
  return c > 3 && r && Object.defineProperty(target, key, r), r;
49
49
  };
50
50
  import { LitElement } from 'lit';
51
- import { customElement, property } from 'lit/decorators.js';
51
+ import { property } from 'lit/decorators.js';
52
+ import { customElement } from '../../../utilities/custom-element.js';
52
53
  import { buttonStyles } from './button.styles.js';
53
54
  import { template } from './button.template.js';
54
55
  import { withTranslations } from '../../../utilities/with-translations.js';
@@ -59,10 +60,12 @@ import './../../content/icon/icon.js';
59
60
  import './../../status-and-feedback/activity-indicator/activity-indicator.js';
60
61
  import { DescribedBy } from '../../../utilities/described-by-mixin.js';
61
62
  import { ShortcutAvailabilityController } from '../../../utilities/shortcut.js';
63
+ import { internalsOf } from '../../../utilities/element-state.js';
64
+ import { setState } from '../../../utilities/element-state.js';
62
65
  let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElement, nlddButtonTranslations)) {
63
66
  constructor() {
64
67
  super(...arguments);
65
- this._internals = this.attachInternals();
68
+ this._internals = internalsOf(this);
66
69
  this.appearance = 'neutral-tinted';
67
70
  this.size = 'md';
68
71
  /** Horizontal alignment of the button content. Most visible with width="full" or a fixed width. */
@@ -141,8 +144,6 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
141
144
  * With target '_blank', 'noopener noreferrer' is added to it.
142
145
  */
143
146
  this.rel = undefined;
144
- this._warnedA11y = false;
145
- this._warnedFormId = null;
146
147
  /** Shared wiring for an overlay slotted into `popup`: anchors it to this
147
148
  * button and turns clicks into open/close. Not private: the template module
148
149
  * binds its handlers. */
@@ -175,16 +176,6 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
175
176
  this.style.removeProperty('--_button-width');
176
177
  }
177
178
  }
178
- const isEmpty = !this.text && !this.accessibleLabel;
179
- if (import.meta.env?.DEV && isEmpty && !this._warnedA11y) {
180
- this._warnedA11y = true;
181
- console.warn(this.supportingText
182
- ? '<nldd-button>: supporting-text is set but text is empty, so the accessible name omits the main label. Set the text attribute (or accessible-label) so screen readers announce it.'
183
- : '<nldd-button>: button has no text or accessible-label. This produces an inaccessible button (WCAG SC 4.1.2).');
184
- }
185
- else if (!isEmpty) {
186
- this._warnedA11y = false;
187
- }
188
179
  }
189
180
  _handleClick(e) {
190
181
  if (this.disabled || this.loading) {
@@ -238,28 +229,21 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
238
229
  */
239
230
  _ownerForm() {
240
231
  const id = this.getAttribute('form');
241
- if (!id)
242
- return this._internals.form;
243
232
  const root = this.getRootNode();
244
- const target = 'getElementById' in root ? root.getElementById(id) : null;
245
- if (target instanceof HTMLFormElement)
246
- return target;
233
+ const target = id && 'getElementById' in root ? root.getElementById(id) : null;
247
234
  const rendered = target?.form;
248
- if (rendered instanceof HTMLFormElement)
249
- return rendered;
235
+ let form = null;
236
+ if (target instanceof HTMLFormElement)
237
+ form = target;
238
+ else if (rendered instanceof HTMLFormElement)
239
+ form = rendered;
250
240
  // Nothing to submit is the silent failure this attribute exists to end:
251
- // the click does nothing and no error says why. Say it once per button,
252
- // naming what the id found, since a typo and an nldd-form that has not
253
- // rendered yet look identical from the outside.
254
- // Keyed on the id, not a flag: fix a typo and point at another form that
255
- // does not exist either, and that one has to be said as well.
256
- if (import.meta.env?.DEV && this._warnedFormId !== id) {
257
- this._warnedFormId = id;
258
- console.warn(target
259
- ? `<nldd-button form="${id}">: that id is an <${target.tagName.toLowerCase()}> without a form, so this button submits nothing. An nldd-form only has one once it has rendered.`
260
- : `<nldd-button form="${id}">: nothing in this root has that id, so this button submits nothing.`);
261
- }
262
- return null;
241
+ // the click does nothing and no error says why. Two facts, since a typo
242
+ // and an nldd-form that has not rendered yet look identical from the
243
+ // outside.
244
+ setState(this, 'no-form-target', Boolean(id) && !target);
245
+ setState(this, 'form-target-not-a-form', Boolean(target) && !form);
246
+ return id ? form : this._internals.form;
263
247
  }
264
248
  /**
265
249
  * Delegates focus to the inner `<button>` (or `<a>` when `href` is set), so
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@@
1
1
  import { html, nothing } from 'lit';
2
2
  import { linkRel } from '../../../utilities/link-rel.js';
3
- import { downloadLinkHintKey, warnDownloadTarget } from '../../../utilities/link-hint.js';
3
+ import { downloadLinkHintKey, markDownloadTarget } from '../../../utilities/link-hint.js';
4
4
  import { hasShortcut, shortcutLabel } from '../../../utilities/shortcut.js';
5
5
  import '../../content/keyboard-shortcut/keyboard-shortcut.js';
6
6
  function renderContent(component) {
@@ -60,7 +60,7 @@ export function template(helpers) {
60
60
  // Only the <a> path (href) navigates.
61
61
  const hintKey = downloadLinkHintKey(this.href, this.target, this.download);
62
62
  if (this.href)
63
- warnDownloadTarget(this, this.download, this.target);
63
+ markDownloadTarget(this, this.download, this.target);
64
64
  const linkHint = hintKey ? this._t(`components.button.${hintKey}`) : '';
65
65
  // `supporting-text` renders in a sibling span next to the text; the
66
66
  // accessible-name flat-string algorithm concatenates them without a
@@ -48,8 +48,6 @@ export declare class NLDDButtonBar extends LitElement {
48
48
  private _propagateAppearance;
49
49
  private _propagateDisabled;
50
50
  private _buildChildren;
51
- private _warnedToggleButton;
52
- private _warnToggleButton;
53
51
  render(): import("lit-html").TemplateResult<1>;
54
52
  }
55
53
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"button-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button-bar/button-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAgBjC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C,MAAM,MAAM,QAAQ,GACjB;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAIpD,qBACa,aAA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EAAE,MAAM,CAAA;CAAE,CAAC;AAIpD,qBACa,aAAc,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAAmB;IAGzC,IAAI,EAAE,IAAI,CAAQ;IAGlB,UAAU,EAAE,MAAM,CAAoB;IAGtC,QAAQ,UAAS;IAGjB,SAAS,EAAE,QAAQ,EAAE,CAAM;IAE3B,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,qBAAqB,CAA0B;IAE9C,iBAAiB,IAAI,IAAI;IASzB,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAiB/D,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,kBAAkB;IAsB1B,OAAO,CAAC,cAAc;IA8Bb,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,aAAa,CAAC;QACjC,yBAAyB,EAAE,WAAW,CAAC;KACvC;CACD"}
@@ -26,7 +26,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
26
26
  * @csspart bar - The button bar container
27
27
  */
28
28
  import { LitElement } from 'lit';
29
- import { customElement, property, state } from 'lit/decorators.js';
29
+ import { property, state } from 'lit/decorators.js';
30
+ import { customElement } from '../../../utilities/custom-element.js';
30
31
  import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
31
32
  import { buttonBarStyles } from './button-bar.styles.js';
32
33
  import { template } from './button-bar.template.js';
@@ -52,7 +53,6 @@ let NLDDButtonBar = class NLDDButtonBar extends LitElement {
52
53
  this._observer = null;
53
54
  this._building = false;
54
55
  this._individuallyDisabled = new WeakSet();
55
- this._warnedToggleButton = false;
56
56
  }
57
57
  connectedCallback() {
58
58
  super.connectedCallback();
@@ -137,8 +137,6 @@ let NLDDButtonBar = class NLDDButtonBar extends LitElement {
137
137
  if (tag === 'nldd-button-bar-divider') {
138
138
  return { type: 'divider', id: this._idCounter++ };
139
139
  }
140
- if (tag === 'nldd-toggle-button')
141
- this._warnToggleButton();
142
140
  if (BUTTON_TAGS.includes(tag)) {
143
141
  el.setAttribute('size', this.size);
144
142
  el.setAttribute('appearance', this.appearance);
@@ -154,14 +152,6 @@ let NLDDButtonBar = class NLDDButtonBar extends LitElement {
154
152
  });
155
153
  this._building = false;
156
154
  }
157
- _warnToggleButton() {
158
- if (!import.meta.env?.DEV || this._warnedToggleButton)
159
- return;
160
- this._warnedToggleButton = true;
161
- console.warn('<nldd-button-bar>: nldd-toggle-button is not supported here. The bar is one surface for actions, '
162
- + 'and a selected toggle breaks it. Use nldd-toggle-button-group for a row of toggles, '
163
- + 'or nldd-segmented-control for one choice out of a few options.');
164
- }
165
155
  render() {
166
156
  return template.call(this);
167
157
  }
@@ -1 +1 @@
1
- {"version":3,"file":"button-bar.js","sourceRoot":"","sources":["../../../../src/components/actions/button-bar/button-bar.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD;;;;;GAKG;AACH,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,yBAAyB,CAAC,EAAE,CAAC;IACpD,cAAc,CAAC,MAAM,CAAC,yBAAyB,EAAE,KAAM,SAAQ,WAAW;KAAG,CAAC,CAAC;AAChF,CAAC;A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AQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAC1B;AAGjB;IADC,KAAK,EAAE;gDACmB;AAbf,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAuIzB"}
@@ -21,34 +21,49 @@
21
21
  * keeps its own size: a bar with a single glyph in the middle is not a bigger
22
22
  * target, only a wider one.
23
23
  *
24
+ * With `width="full"` the buttons fill the row and share it equally. A button
25
+ * whose label does not fit its share takes the width it needs, and the others
26
+ * share what is left. A button that does not fit beside the others moves to the
27
+ * next line and fills it: two buttons stack, three end up as two over one. That
28
+ * replaces the 480px rule of `auto`, and the group is no container then. With
29
+ * `orientation="horizontal"` it stays a row, and a label that does not fit wraps
30
+ * instead. An `nldd-icon-button` takes no share of the row.
31
+ *
32
+ * The group sets its `size` on every button in it: buttons in one group are the
33
+ * same size. It holds three buttons at most and hides the rest.
34
+ *
24
35
  * @element nldd-button-group
25
- * @attr {string} size - Button group size: 'sm' | 'md' (default: 'md')
36
+ * @attr {string} size - Button group size, set on every button in it: 'sm' | 'md' (default: 'md')
26
37
  * @attr {string} orientation - Layout direction: 'auto' | 'horizontal' | 'vertical' (default: 'auto')
38
+ * @attr {string} width - 'full': the buttons fill the row in equal shares, and a button that does not fit moves to a line of its own (default: unset, each button as wide as its label)
27
39
  *
28
40
  * @slot - Default slot for buttons (max 3)
29
- *
30
- * @csspart group - The button group container
31
41
  */
32
42
  import { LitElement } from 'lit';
33
43
  type Size = 'sm' | 'md';
34
44
  type Orientation = 'auto' | 'horizontal' | 'vertical';
45
+ type Width = '' | 'full';
35
46
  export declare class NLDDButtonGroup extends LitElement {
36
47
  static styles: import("lit").CSSResult;
37
48
  size: Size;
38
49
  orientation: Orientation;
50
+ width: Width;
39
51
  private _slot;
40
52
  /** DEV only: watches for the collapse below, then lets itself go. */
41
53
  private _collapseObserver;
42
54
  /** Timer holding a zero-width reading before it counts as a verdict. */
43
55
  private _collapseVerdict;
44
- handleSlotChange(): void;
56
+ /** Buttons whose size the group has set, so a size of their own can be told apart. */
57
+ private _sized;
58
+ /** @internal */
59
+ _handleSlotChange(): void;
45
60
  updated(changedProperties: Map<string, unknown>): void;
46
61
  connectedCallback(): void;
47
62
  disconnectedCallback(): void;
48
63
  /**
49
- * The group is an inline-size container while `orientation` is `auto`, so its
50
- * width has to come from its parent: a container may not size itself from its
51
- * own contents. In a parent that shrink-wraps (inline-flex, a float, a table
64
+ * The group is an inline-size container while `orientation` is `auto` and
65
+ * `width` is not `full`, so its width has to come from its parent: a
66
+ * container may not size itself from its own contents. In a parent that shrink-wraps (inline-flex, a float, a table
52
67
  * cell, a flex item at `width: auto`) there is nothing to take, the group
53
68
  * measures zero and the buttons disappear without an error.
54
69
  *
@@ -1 +1 @@
1
- {"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACxB,KAAK,WAAW,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;AAEtD,qBACa,eAAgB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,0BAAqB;IAG3C,IAAI,EAAE,IAAI,CAAQ;IAGlB,WAAW,EAAE,WAAW,CAAU;IAGlC,OAAO,CAAC,KAAK,CAAmB;IAEhC,qEAAqE;IACrE,OAAO,CAAC,iBAAiB,CAA+B;IACxD,wEAAwE;IACxE,OAAO,CAAC,gBAAgB,CAAK;IAE7B,gBAAgB;IAeP,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAO/C,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAKrC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,iBAAiB;IAgCzB,OAAO,CAAC,wBAAwB;IAOvB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mBAAmB,EAAE,eAAe,CAAC;KACrC;CACD"}
1
+ {"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACxB,KAAK,WAAW,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;AACtD,KAAK,KAAK,GAAG,EAAE,GAAG,MAAM,CAAC;AAEzB,qBACa,eAAgB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,0BAAqB;IAG3C,IAAI,EAAE,IAAI,CAAQ;IAGlB,WAAW,EAAE,WAAW,CAAU;IAGlC,KAAK,EAAE,KAAK,CAAM;IAGlB,OAAO,CAAC,KAAK,CAAmB;IAEhC,qEAAqE;IACrE,OAAO,CAAC,iBAAiB,CAA+B;IACxD,wEAAwE;IACxE,OAAO,CAAC,gBAAgB,CAAK;IAE7B,sFAAsF;IACtF,OAAO,CAAC,MAAM,CAA0B;IAExC,gBAAgB;IAChB,iBAAiB,IAAI,IAAI;IAUhB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAO/C,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAKrC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,iBAAiB;IAkCzB,OAAO,CAAC,wBAAwB;IAOvB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mBAAmB,EAAE,eAAe,CAAC;KACrC;CACD"}
@@ -27,48 +27,61 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
27
27
  * keeps its own size: a bar with a single glyph in the middle is not a bigger
28
28
  * target, only a wider one.
29
29
  *
30
+ * With `width="full"` the buttons fill the row and share it equally. A button
31
+ * whose label does not fit its share takes the width it needs, and the others
32
+ * share what is left. A button that does not fit beside the others moves to the
33
+ * next line and fills it: two buttons stack, three end up as two over one. That
34
+ * replaces the 480px rule of `auto`, and the group is no container then. With
35
+ * `orientation="horizontal"` it stays a row, and a label that does not fit wraps
36
+ * instead. An `nldd-icon-button` takes no share of the row.
37
+ *
38
+ * The group sets its `size` on every button in it: buttons in one group are the
39
+ * same size. It holds three buttons at most and hides the rest.
40
+ *
30
41
  * @element nldd-button-group
31
- * @attr {string} size - Button group size: 'sm' | 'md' (default: 'md')
42
+ * @attr {string} size - Button group size, set on every button in it: 'sm' | 'md' (default: 'md')
32
43
  * @attr {string} orientation - Layout direction: 'auto' | 'horizontal' | 'vertical' (default: 'auto')
44
+ * @attr {string} width - 'full': the buttons fill the row in equal shares, and a button that does not fit moves to a line of its own (default: unset, each button as wide as its label)
33
45
  *
34
46
  * @slot - Default slot for buttons (max 3)
35
- *
36
- * @csspart group - The button group container
37
47
  */
38
48
  import { LitElement } from 'lit';
39
- import { customElement, property, query } from 'lit/decorators.js';
49
+ import { property, query } from 'lit/decorators.js';
50
+ import { customElement } from '../../../utilities/custom-element.js';
40
51
  import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
41
52
  import { buttonGroupStyles } from './button-group.styles.js';
42
53
  import { template } from './button-group.template.js';
54
+ import { setState } from '../../../utilities/element-state.js';
43
55
  let NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
44
56
  constructor() {
45
57
  super(...arguments);
46
58
  this.size = 'md';
47
59
  this.orientation = 'auto';
60
+ this.width = '';
48
61
  /** DEV only: watches for the collapse below, then lets itself go. */
49
62
  this._collapseObserver = null;
50
63
  /** Timer holding a zero-width reading before it counts as a verdict. */
51
64
  this._collapseVerdict = 0;
65
+ /** Buttons whose size the group has set, so a size of their own can be told apart. */
66
+ this._sized = new WeakSet();
52
67
  }
53
- handleSlotChange() {
54
- const assigned = this._slot
55
- .assignedElements({ flatten: true })
56
- .filter((el) => el instanceof HTMLElement);
57
- assigned.forEach((el, index) => {
58
- if (index >= 3) {
59
- el.setAttribute('hidden', '');
60
- if (import.meta.env?.DEV)
61
- console.warn('nldd-button-group: Only 3 buttons are allowed. Extra buttons will be hidden.');
62
- }
68
+ /** @internal */
69
+ _handleSlotChange() {
70
+ const assigned = this._slot.assignedElements({ flatten: true });
71
+ for (const el of assigned) {
72
+ const own = el.getAttribute('size');
73
+ if (own !== null && own !== this.size && !this._sized.has(el))
74
+ setState(this, 'own-size-overwritten', true);
63
75
  el.setAttribute('size', this.size);
64
- });
76
+ this._sized.add(el);
77
+ }
65
78
  }
66
79
  updated(changedProperties) {
67
80
  if (changedProperties.has('size'))
68
- this.handleSlotChange();
81
+ this._handleSlotChange();
69
82
  // Switching to auto makes the group a container after the fact, so the
70
83
  // question it can then fail is only worth asking from here on.
71
- if (changedProperties.has('orientation'))
84
+ if (changedProperties.has('orientation') || changedProperties.has('width'))
72
85
  this._watchForCollapse();
73
86
  }
74
87
  connectedCallback() {
@@ -82,9 +95,9 @@ let NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
82
95
  this._stopWatchingForCollapse();
83
96
  }
84
97
  /**
85
- * The group is an inline-size container while `orientation` is `auto`, so its
86
- * width has to come from its parent: a container may not size itself from its
87
- * own contents. In a parent that shrink-wraps (inline-flex, a float, a table
98
+ * The group is an inline-size container while `orientation` is `auto` and
99
+ * `width` is not `full`, so its width has to come from its parent: a
100
+ * container may not size itself from its own contents. In a parent that shrink-wraps (inline-flex, a float, a table
88
101
  * cell, a flex item at `width: auto`) there is nothing to take, the group
89
102
  * measures zero and the buttons disappear without an error.
90
103
  *
@@ -104,8 +117,9 @@ let NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
104
117
  _watchForCollapse() {
105
118
  if (!import.meta.env?.DEV)
106
119
  return;
107
- if (this.orientation !== 'auto') {
120
+ if (this.orientation !== 'auto' || this.width === 'full') {
108
121
  this._stopWatchingForCollapse();
122
+ setState(this, 'no-width', false);
109
123
  return;
110
124
  }
111
125
  if (this._collapseObserver)
@@ -119,7 +133,8 @@ let NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
119
133
  if (!this._slot?.assignedElements({ flatten: true }).length)
120
134
  return;
121
135
  if (this.getBoundingClientRect().width > 0) {
122
- // It got a width, from the start or a tick late. Nothing to say.
136
+ // It got a width, from the start or a tick late.
137
+ setState(this, 'no-width', false);
123
138
  this._stopWatchingForCollapse();
124
139
  return;
125
140
  }
@@ -133,7 +148,7 @@ let NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
133
148
  return;
134
149
  if (this.getBoundingClientRect().width > 0)
135
150
  return;
136
- console.warn('nldd-button-group: the group is 0 wide, so its buttons are invisible. It takes its width from its parent (it is a container query while orientation is auto), and a parent that sizes itself from its content leaves nothing to take. Give the group or that parent a width.');
151
+ setState(this, 'no-width', true);
137
152
  this._stopWatchingForCollapse();
138
153
  }, 250);
139
154
  });
@@ -157,6 +172,9 @@ __decorate([
157
172
  __decorate([
158
173
  property({ reflect: true, converter: reflectNonDefault('auto') })
159
174
  ], NLDDButtonGroup.prototype, "orientation", void 0);
175
+ __decorate([
176
+ property({ reflect: true, converter: reflectNonDefault('') })
177
+ ], NLDDButtonGroup.prototype, "width", void 0);
160
178
  __decorate([
161
179
  query('slot')
162
180
  ], NLDDButtonGroup.prototype, "_slot", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO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,EAAE,CAAC,MAAM,KAAK,CAAC;oBAAE,OAAO;gBACpE,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC,KAAK,GAAG,CAAC;oBAAE,OAAO;gBACnD,OAAO,CAAC,IAAI,CAAC,8QAA8Q,CAAC,CAAC;gBAC7R,IAAI,CAAC,wBAAwB,EAAE,CAAC;YACjC,CAAC,EAAE,GAAG,CAAC,CAAC;QACT,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IAEO,wBAAwB;QAC/B,IAAI,CAAC,iBAAiB,EAAE,UAAU,EAAE,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAC9B,IAAI,IAAI,CAAC,gBAAgB;YAAE,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC/D,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEQ,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;;AA/Ge,sBAAM,GAAG,iBAAiB,AAApB,CAAqB;AAG3C;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,IAAI,CAAC,EAAE,CAAC;6CACpD;AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAc,MAAM,CAAC,EAAE,CAAC;oDAC7C;AAG1B;IADP,KAAK,CAAC,MAAM,CAAC;8CACkB;AAVpB,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAiH3B"}
1
+ {"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAE,U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,CAAqB;AAG3C;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,IAAI,CAAC,EAAE,CAAC;6CACpD;AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAc,MAAM,CAAC,EAAE,CAAC;oDAC7C;AAGlC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAQ,EAAE,CAAC,EAAE,CAAC;8CACnD;AAGV;IADP,KAAK,CAAC,MAAM,CAAC;8CACkB;AAbpB,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAqH3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"button-group.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yBA+G7B,CAAC"}
1
+ {"version":3,"file":"button-group.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yBAwI7B,CAAC"}
@@ -1,28 +1,24 @@
1
1
  import { css } from 'lit';
2
2
  export const buttonGroupStyles = css `
3
- :host {
4
- box-sizing: border-box;
5
- }
6
3
 
7
4
 
8
5
  /* # Host */
9
6
 
10
7
  :host {
11
- --_button-group-width: 100%;
12
8
  --_button-group-flex-direction: column;
13
9
  --_button-group-flex-wrap: nowrap;
14
10
  --_button-group-gap: var(--primitives-space-8);
15
11
 
12
+ box-sizing: border-box;
16
13
  display: flex;
17
14
  width: 100%;
18
- justify-content: flex-start;
19
15
  }
20
16
 
21
17
  /* Only auto asks its own width a question, so only auto becomes a container.
22
18
  A container may not size itself from its contents, and a group pinned to a
23
19
  row or a stack would then measure zero in a parent that shrink-wraps, for
24
- a query it never runs. */
25
- :host(:not([orientation="horizontal"], [orientation="vertical"])) {
20
+ a query it never runs. width="full" asks what fits instead. */
21
+ :host(:not([orientation="horizontal"], [orientation="vertical"], [width="full"])) {
26
22
  container-type: inline-size;
27
23
  }
28
24
 
@@ -30,6 +26,10 @@ export const buttonGroupStyles = css `
30
26
  --_button-group-gap: var(--primitives-space-6);
31
27
  }
32
28
 
29
+ :host([hidden]) {
30
+ display: none;
31
+ }
32
+
33
33
  /* ## In a row
34
34
  The row keeps the full width (like the stack) so full-width children
35
35
  can actually stretch; content-sized buttons still sit left within
@@ -53,8 +53,8 @@ export const buttonGroupStyles = css `
53
53
  beside it everywhere. */
54
54
 
55
55
  @container (max-width: 30rem) {
56
- :host(:not([orientation="horizontal"], [orientation="vertical"])) .button-group {
57
- flex-direction: column;
56
+ :host(:not([orientation="horizontal"], [orientation="vertical"], [width="full"])) .button-group {
57
+ --_button-group-flex-direction: column;
58
58
  --context-button-width: 100%;
59
59
  }
60
60
 
@@ -63,7 +63,7 @@ export const buttonGroupStyles = css `
63
63
  An icon-only control is the exception: its size is its icon, and a
64
64
  full-width bar with one glyph in the middle is not a bigger target for
65
65
  the thumb, just a wider one. */
66
- :host(:not([orientation="horizontal"], [orientation="vertical"])) ::slotted(:not(nldd-icon-button)) {
66
+ :host(:not([orientation="horizontal"], [orientation="vertical"], [width="full"])) ::slotted(:not(nldd-icon-button)) {
67
67
  display: block;
68
68
  width: 100%;
69
69
  }
@@ -71,11 +71,13 @@ export const buttonGroupStyles = css `
71
71
  /* align-self as well: a column stretches its items across the full width
72
72
  on its own, so without this the icon button is a wide bar regardless of
73
73
  the width rule above. */
74
- :host(:not([orientation="horizontal"], [orientation="vertical"])) ::slotted(nldd-icon-button) {
74
+ :host(:not([orientation="horizontal"], [orientation="vertical"], [width="full"])) ::slotted(nldd-icon-button) {
75
75
  align-self: flex-start;
76
76
  }
77
77
  }
78
78
 
79
+ /* ## Vertical */
80
+
79
81
  :host([orientation="vertical"]) .button-group {
80
82
  --context-button-width: 100%;
81
83
  }
@@ -89,14 +91,37 @@ export const buttonGroupStyles = css `
89
91
  align-self: flex-start;
90
92
  }
91
93
 
92
- :host([hidden]) {
93
- display: none;
94
+ /* ## Full width
95
+ Equal shares from zero. With auto no button shrinks below its label (or the
96
+ group), so one that does not fit wraps and fills the next line. */
97
+
98
+ :host([width="full"]:not([orientation="vertical"])) .button-group {
99
+ --context-button-width: 100%;
100
+ }
101
+
102
+ :host([width="full"][orientation="horizontal"]) .button-group {
103
+ --_button-group-flex-wrap: nowrap;
104
+ }
105
+
106
+ :host([width="full"]:not([orientation="vertical"])) ::slotted(:not(nldd-icon-button)) {
107
+ flex-grow: 1;
108
+ flex-shrink: 1;
109
+ flex-basis: 0;
110
+ }
111
+
112
+ :host([width="full"]:not([orientation="horizontal"], [orientation="vertical"])) ::slotted(:not(nldd-icon-button)) {
113
+ min-width: fit-content;
94
114
  }
95
115
 
96
- /* The stacking rules above set display on every slotted child at a higher
97
- specificity than this selector, so without !important a hidden button in
98
- a stacked group stays in the row. */
99
- ::slotted([hidden]) {
116
+ :host([width="full"]) ::slotted(nldd-icon-button) {
117
+ flex-grow: 0;
118
+ flex-shrink: 0;
119
+ }
120
+
121
+ /* The stack rules set display on slotted children at a higher specificity,
122
+ so without !important a hidden or a fourth button still shows. */
123
+ ::slotted([hidden]),
124
+ ::slotted(:nth-child(n + 4)) {
100
125
  display: none !important;
101
126
  }
102
127
 
@@ -105,7 +130,7 @@ export const buttonGroupStyles = css `
105
130
 
106
131
  .button-group {
107
132
  display: flex;
108
- width: var(--_button-group-width);
133
+ width: 100%;
109
134
  flex-direction: var(--_button-group-flex-direction);
110
135
  flex-wrap: var(--_button-group-flex-wrap);
111
136
  gap: var(--_button-group-gap);
@@ -1 +1 @@
1
- {"version":3,"file":"button-group.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GnC,CAAC"}
1
+ {"version":3,"file":"button-group.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwInC,CAAC"}