@nldd/design-system 0.13.2 → 0.15.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 (686) hide show
  1. package/NOTICES.md +1 -1
  2. package/README.md +4 -2
  3. package/custom-elements.json +2089 -172
  4. package/dist/components/actions/button/button.d.ts +1 -3
  5. package/dist/components/actions/button/button.d.ts.map +1 -1
  6. package/dist/components/actions/button/button.js +27 -34
  7. package/dist/components/actions/button/button.js.map +1 -1
  8. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  9. package/dist/components/actions/button/button.template.js +4 -4
  10. package/dist/components/actions/button/button.template.js.map +1 -1
  11. package/dist/components/actions/button-bar/button-bar.d.ts +0 -2
  12. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  13. package/dist/components/actions/button-bar/button-bar.js +2 -12
  14. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  15. package/dist/components/actions/button-group/button-group.d.ts +8 -3
  16. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  17. package/dist/components/actions/button-group/button-group.js +40 -22
  18. package/dist/components/actions/button-group/button-group.js.map +1 -1
  19. package/dist/components/actions/icon-button/icon-button.d.ts +1 -2
  20. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.js +14 -12
  22. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  23. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  24. package/dist/components/actions/icon-button/icon-button.template.js +4 -4
  25. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  26. package/dist/components/actions/menu/menu-divider.d.ts +1 -0
  27. package/dist/components/actions/menu/menu-divider.d.ts.map +1 -1
  28. package/dist/components/actions/menu/menu-divider.js +1 -0
  29. package/dist/components/actions/menu/menu-divider.js.map +1 -1
  30. package/dist/components/actions/menu/menu-group.d.ts +1 -0
  31. package/dist/components/actions/menu/menu-group.d.ts.map +1 -1
  32. package/dist/components/actions/menu/menu-group.js +1 -0
  33. package/dist/components/actions/menu/menu-group.js.map +1 -1
  34. package/dist/components/actions/menu/menu-item.d.ts +1 -0
  35. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  36. package/dist/components/actions/menu/menu-item.js +7 -7
  37. package/dist/components/actions/menu/menu-item.js.map +1 -1
  38. package/dist/components/actions/menu/menu.d.ts +26 -4
  39. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  40. package/dist/components/actions/menu/menu.i18n.d.ts +2 -0
  41. package/dist/components/actions/menu/menu.i18n.d.ts.map +1 -1
  42. package/dist/components/actions/menu/menu.i18n.js +4 -0
  43. package/dist/components/actions/menu/menu.i18n.js.map +1 -1
  44. package/dist/components/actions/menu/menu.js +57 -19
  45. package/dist/components/actions/menu/menu.js.map +1 -1
  46. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  47. package/dist/components/actions/split-button/split-button.js +2 -1
  48. package/dist/components/actions/split-button/split-button.js.map +1 -1
  49. package/dist/components/actions/toolbar/toolbar-item.d.ts +0 -2
  50. package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
  51. package/dist/components/actions/toolbar/toolbar-item.js +2 -20
  52. package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
  53. package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
  54. package/dist/components/actions/toolbar/toolbar-title.js +2 -1
  55. package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
  56. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  57. package/dist/components/actions/toolbar/toolbar.js +2 -1
  58. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  59. package/dist/components/button.i18n-DiDGynnq.js +8 -0
  60. package/dist/components/components.js +2357 -1255
  61. package/dist/components/content/avatar/avatar.d.ts +0 -2
  62. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  63. package/dist/components/content/avatar/avatar.js +2 -27
  64. package/dist/components/content/avatar/avatar.js.map +1 -1
  65. package/dist/components/content/avatar-group/avatar-group.d.ts +0 -1
  66. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  67. package/dist/components/content/avatar-group/avatar-group.js +2 -24
  68. package/dist/components/content/avatar-group/avatar-group.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 +16 -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 +2 -0
  82. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  83. package/dist/components/content/icon/icon.d.ts +3 -0
  84. package/dist/components/content/icon/icon.d.ts.map +1 -1
  85. package/dist/components/content/icon/icon.js +19 -15
  86. package/dist/components/content/icon/icon.js.map +1 -1
  87. package/dist/components/content/identity/identity.d.ts.map +1 -1
  88. package/dist/components/content/identity/identity.js +2 -1
  89. package/dist/components/content/identity/identity.js.map +1 -1
  90. package/dist/components/content/image/image.d.ts +5 -11
  91. package/dist/components/content/image/image.d.ts.map +1 -1
  92. package/dist/components/content/image/image.js +14 -31
  93. package/dist/components/content/image/image.js.map +1 -1
  94. package/dist/components/content/image/lqip-encoder-element.d.ts.map +1 -1
  95. package/dist/components/content/image/lqip-encoder-element.js +2 -1
  96. package/dist/components/content/image/lqip-encoder-element.js.map +1 -1
  97. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  98. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +2 -1
  99. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  100. package/dist/components/content/rich-text/rich-text.d.ts +4 -1
  101. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  102. package/dist/components/content/rich-text/rich-text.js +6 -2
  103. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  104. package/dist/components/content/tag/tag.d.ts.map +1 -1
  105. package/dist/components/content/tag/tag.js +5 -5
  106. package/dist/components/content/tag/tag.js.map +1 -1
  107. package/dist/components/content/text/text.d.ts.map +1 -1
  108. package/dist/components/content/text/text.js +2 -1
  109. package/dist/components/content/text/text.js.map +1 -1
  110. package/dist/components/content/title/title.d.ts +9 -5
  111. package/dist/components/content/title/title.d.ts.map +1 -1
  112. package/dist/components/content/title/title.js +23 -27
  113. package/dist/components/content/title/title.js.map +1 -1
  114. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  115. package/dist/components/content/title/title.styles.js +13 -0
  116. package/dist/components/content/title/title.styles.js.map +1 -1
  117. package/dist/components/content/token/token.d.ts.map +1 -1
  118. package/dist/components/content/token/token.js +2 -1
  119. package/dist/components/content/token/token.js.map +1 -1
  120. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  121. package/dist/components/content/tooltip/tooltip.js +6 -2
  122. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  123. package/dist/components/content/visually-hidden/visually-hidden.js +1 -1
  124. package/dist/components/content/visually-hidden/visually-hidden.js.map +1 -1
  125. package/dist/components/{decorate-Cz9-peTN.js → decorate-CzRe1eif.js} +9 -1
  126. package/dist/components/{with-translations-DRuOq3QK.js → defer-focus-DIPAUUJa.js} +57 -5
  127. package/dist/components/dev-checks-tdnaA2UV.js +2518 -0
  128. package/dist/components/{dist-BaLc58I_.js → dist-245LaK9m.js} +1 -1
  129. package/dist/components/{dist-DgjvHvsN.js → dist-4g23YHP0.js} +1 -1
  130. package/dist/components/{dist-YYLChwRq.js → dist-Bf823YyL.js} +1 -1
  131. package/dist/components/{dist-Bm3708s5.js → dist-CeMOOqgP.js} +13 -1
  132. package/dist/components/{dist-CJ9uLG0u.js → dist-DFjwTlJV.js} +1 -1
  133. package/dist/components/element-state-BnarBv0M.js +42 -0
  134. package/dist/components/forms/form/form.d.ts +1 -96
  135. package/dist/components/forms/form/form.d.ts.map +1 -1
  136. package/dist/components/forms/form/form.js +1 -0
  137. package/dist/components/forms/form/form.js.map +1 -1
  138. package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
  139. package/dist/components/forms/form-actions/form-actions.js +2 -1
  140. package/dist/components/forms/form-actions/form-actions.js.map +1 -1
  141. package/dist/components/forms/form-field/form-field.d.ts +3 -4
  142. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  143. package/dist/components/forms/form-field/form-field.js +14 -29
  144. package/dist/components/forms/form-field/form-field.js.map +1 -1
  145. package/dist/components/forms/form-field/form-field.template.d.ts.map +1 -1
  146. package/dist/components/forms/form-field/form-field.template.js +3 -2
  147. package/dist/components/forms/form-field/form-field.template.js.map +1 -1
  148. package/dist/components/forms/form-section/form-section.d.ts +1 -67
  149. package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
  150. package/dist/components/forms/form-section/form-section.js +2 -16
  151. package/dist/components/forms/form-section/form-section.js.map +1 -1
  152. package/dist/components/forms/validation-list/validation-list.d.ts +26 -0
  153. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  154. package/dist/components/forms/validation-list/validation-list.i18n.d.ts +12 -0
  155. package/dist/components/forms/validation-list/validation-list.i18n.d.ts.map +1 -0
  156. package/dist/components/forms/validation-list/validation-list.i18n.js +11 -0
  157. package/dist/components/forms/validation-list/validation-list.i18n.js.map +1 -0
  158. package/dist/components/forms/validation-list/validation-list.js +81 -8
  159. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  160. package/dist/components/{icon-DRpTWSIg.js → icon-BPNDyhu9.js} +18 -4
  161. package/dist/components/{icon-button-DUEmWlBD.js → icon-button-Dbo_SGor.js} +51 -29
  162. package/dist/components/icon-button.i18n-1_N-wN6x.js +10 -0
  163. package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
  164. package/dist/components/inputs/checkbox/checkbox.js +5 -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 +5 -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/code-editor/code-editor.styles.d.ts.map +1 -1
  173. package/dist/components/inputs/code-editor/code-editor.styles.js +36 -13
  174. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  175. package/dist/components/inputs/combo-box/combo-box.d.ts +4 -0
  176. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  177. package/dist/components/inputs/combo-box/combo-box.js +16 -5
  178. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  179. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  180. package/dist/components/inputs/date-field/date-field.i18n.js +4 -4
  181. package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
  182. package/dist/components/inputs/date-field/date-field.js +2 -1
  183. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  184. package/dist/components/inputs/date-picker/date-picker.d.ts +3 -3
  185. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  186. package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +2 -2
  187. package/dist/components/inputs/date-picker/date-picker.i18n.js +2 -2
  188. package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -1
  189. package/dist/components/inputs/date-picker/date-picker.js +5 -1
  190. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  191. package/dist/components/inputs/date-picker/date-picker.template.js +2 -2
  192. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  193. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  194. package/dist/components/inputs/dropdown/dropdown.js +10 -5
  195. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  196. package/dist/components/inputs/file-field/file-field.d.ts +147 -17
  197. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  198. package/dist/components/inputs/file-field/file-field.drop.d.ts +16 -1
  199. package/dist/components/inputs/file-field/file-field.drop.d.ts.map +1 -1
  200. package/dist/components/inputs/file-field/file-field.drop.js +33 -0
  201. package/dist/components/inputs/file-field/file-field.drop.js.map +1 -1
  202. package/dist/components/inputs/file-field/file-field.i18n.d.ts +11 -1
  203. package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
  204. package/dist/components/inputs/file-field/file-field.i18n.js +16 -6
  205. package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
  206. package/dist/components/inputs/file-field/file-field.js +421 -75
  207. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  208. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  209. package/dist/components/inputs/file-field/file-field.styles.js +235 -91
  210. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  211. package/dist/components/inputs/file-field/file-field.template.d.ts +2 -1
  212. package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
  213. package/dist/components/inputs/file-field/file-field.template.js +282 -83
  214. package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
  215. package/dist/components/inputs/file-field/file-field.truncate.d.ts +17 -0
  216. package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -1
  217. package/dist/components/inputs/file-field/file-field.truncate.js +26 -3
  218. package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -1
  219. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  220. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +2 -4
  221. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  222. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  223. package/dist/components/inputs/number-field/number-field.js +5 -4
  224. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  225. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  226. package/dist/components/inputs/password-field/password-field.js +2 -1
  227. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  228. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  229. package/dist/components/inputs/radio-button/radio-button.js +2 -1
  230. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  231. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  232. package/dist/components/inputs/radio-button-field/radio-button-field.js +2 -1
  233. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  234. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +0 -1
  235. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
  236. package/dist/components/inputs/radio-button-group/radio-button-group.js +5 -6
  237. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  238. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  239. package/dist/components/inputs/search-field/search-field.js +5 -1
  240. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  241. package/dist/components/inputs/segmented-control/segmented-control.d.ts +0 -1
  242. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  243. package/dist/components/inputs/segmented-control/segmented-control.js +7 -11
  244. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  245. package/dist/components/inputs/slider/slider.d.ts +32 -10
  246. package/dist/components/inputs/slider/slider.d.ts.map +1 -1
  247. package/dist/components/inputs/slider/slider.js +115 -35
  248. package/dist/components/inputs/slider/slider.js.map +1 -1
  249. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
  250. package/dist/components/inputs/slider/slider.styles.js +22 -13
  251. package/dist/components/inputs/slider/slider.styles.js.map +1 -1
  252. package/dist/components/inputs/slider/slider.template.d.ts.map +1 -1
  253. package/dist/components/inputs/slider/slider.template.js +12 -4
  254. package/dist/components/inputs/slider/slider.template.js.map +1 -1
  255. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  256. package/dist/components/inputs/stepper/stepper.js +5 -1
  257. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  258. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  259. package/dist/components/inputs/switch/switch.js +5 -4
  260. package/dist/components/inputs/switch/switch.js.map +1 -1
  261. package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
  262. package/dist/components/inputs/switch-field/switch-field.js +5 -1
  263. package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
  264. package/dist/components/inputs/text-editor/text-editor.code-copy.js +2 -2
  265. package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -1
  266. package/dist/components/inputs/text-editor/text-editor.cursor.d.ts.map +1 -1
  267. package/dist/components/inputs/text-editor/text-editor.cursor.js +1 -11
  268. package/dist/components/inputs/text-editor/text-editor.cursor.js.map +1 -1
  269. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  270. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
  271. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +127 -11
  272. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
  273. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +3 -1
  274. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  275. package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -1
  276. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  277. package/dist/components/inputs/text-editor/text-editor.js +14 -8
  278. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  279. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts +3 -0
  280. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  281. package/dist/components/inputs/text-editor/text-editor.markdown.js +9 -1
  282. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  283. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +9 -2
  284. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  285. package/dist/components/inputs/text-editor/text-editor.mentions.js +61 -147
  286. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  287. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  288. package/dist/components/inputs/text-editor/text-editor.styles.js +187 -2
  289. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  290. package/dist/components/inputs/text-field/text-field.d.ts +1 -5
  291. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  292. package/dist/components/inputs/text-field/text-field.js +9 -23
  293. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  294. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  295. package/dist/components/inputs/time-field/time-field.i18n.js +3 -3
  296. package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
  297. package/dist/components/inputs/time-field/time-field.js +2 -1
  298. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  299. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  300. package/dist/components/inputs/time-picker/time-picker.js +5 -1
  301. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  302. package/dist/components/inputs/toggle-button/toggle-button.d.ts +0 -2
  303. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  304. package/dist/components/inputs/toggle-button/toggle-button.js +5 -23
  305. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  306. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +0 -2
  307. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  308. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +5 -12
  309. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  310. package/dist/components/inputs/token-field/token-field.d.ts +4 -0
  311. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  312. package/dist/components/inputs/token-field/token-field.i18n.d.ts +1 -1
  313. package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
  314. package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
  315. package/dist/components/inputs/token-field/token-field.js +14 -1
  316. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  317. package/dist/components/inputs/token-field/token-field.template.js +1 -1
  318. package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
  319. package/dist/components/just-in-time-education.i18n-BgCd3s-c.js +395 -0
  320. package/dist/components/layout/box/box.d.ts.map +1 -1
  321. package/dist/components/layout/box/box.js +2 -1
  322. package/dist/components/layout/box/box.js.map +1 -1
  323. package/dist/components/layout/card/card.d.ts +0 -1
  324. package/dist/components/layout/card/card.d.ts.map +1 -1
  325. package/dist/components/layout/card/card.js +2 -15
  326. package/dist/components/layout/card/card.js.map +1 -1
  327. package/dist/components/layout/card/card.template.js +2 -2
  328. package/dist/components/layout/collection/collection.d.ts +4 -2
  329. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  330. package/dist/components/layout/collection/collection.js +64 -32
  331. package/dist/components/layout/collection/collection.js.map +1 -1
  332. package/dist/components/layout/collection/collection.template.js +1 -1
  333. package/dist/components/layout/collection/collection.template.js.map +1 -1
  334. package/dist/components/layout/container/container.d.ts +6 -3
  335. package/dist/components/layout/container/container.d.ts.map +1 -1
  336. package/dist/components/layout/container/container.js +17 -23
  337. package/dist/components/layout/container/container.js.map +1 -1
  338. package/dist/components/layout/divider/divider.js +1 -1
  339. package/dist/components/layout/divider/divider.js.map +1 -1
  340. package/dist/components/layout/page/page.d.ts +2 -3
  341. package/dist/components/layout/page/page.d.ts.map +1 -1
  342. package/dist/components/layout/page/page.js +9 -12
  343. package/dist/components/layout/page/page.js.map +1 -1
  344. package/dist/components/layout/page-footer/page-footer.d.ts +2 -0
  345. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  346. package/dist/components/layout/page-footer/page-footer.js +13 -7
  347. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  348. package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
  349. package/dist/components/layout/page-footer/page-footer.styles.js +22 -8
  350. package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
  351. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  352. package/dist/components/layout/page-footer/page-footer.template.js +2 -0
  353. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  354. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  355. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +2 -1
  356. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  357. package/dist/components/layout/page-sections/hero/hero-corner.d.ts +0 -1
  358. package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
  359. package/dist/components/layout/page-sections/hero/hero-corner.js +9 -28
  360. package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
  361. package/dist/components/layout/page-sections/hero/hero.d.ts +1 -4
  362. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  363. package/dist/components/layout/page-sections/hero/hero.js +7 -29
  364. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  365. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  366. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +2 -1
  367. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  368. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  369. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -1
  370. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  371. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  372. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -1
  373. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  374. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  375. package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -1
  376. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  377. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  378. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -1
  379. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  380. package/dist/components/layout/popover/popover.d.ts +14 -6
  381. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  382. package/dist/components/layout/popover/popover.js +26 -30
  383. package/dist/components/layout/popover/popover.js.map +1 -1
  384. package/dist/components/layout/sheet/sheet.d.ts +0 -2
  385. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  386. package/dist/components/layout/sheet/sheet.js +9 -20
  387. package/dist/components/layout/sheet/sheet.js.map +1 -1
  388. package/dist/components/layout/shell/shell.d.ts.map +1 -1
  389. package/dist/components/layout/shell/shell.js +2 -1
  390. package/dist/components/layout/shell/shell.js.map +1 -1
  391. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  392. package/dist/components/layout/spacer/spacer.js +2 -1
  393. package/dist/components/layout/spacer/spacer.js.map +1 -1
  394. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +6 -6
  395. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  396. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +9 -12
  397. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  398. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  399. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +2 -1
  400. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  401. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  402. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +2 -1
  403. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  404. package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts.map +1 -1
  405. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +2 -1
  406. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js.map +1 -1
  407. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  408. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
  409. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  410. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  411. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +2 -1
  412. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  413. package/dist/components/layout/task-board/task-board-column.d.ts.map +1 -1
  414. package/dist/components/layout/task-board/task-board-column.js +2 -4
  415. package/dist/components/layout/task-board/task-board-column.js.map +1 -1
  416. package/dist/components/layout/task-board/task-board.d.ts +1 -1
  417. package/dist/components/layout/task-board/task-board.d.ts.map +1 -1
  418. package/dist/components/layout/task-board/task-board.js +12 -7
  419. package/dist/components/layout/task-board/task-board.js.map +1 -1
  420. package/dist/components/layout/window/window.d.ts +0 -1
  421. package/dist/components/layout/window/window.d.ts.map +1 -1
  422. package/dist/components/layout/window/window.js +4 -6
  423. package/dist/components/layout/window/window.js.map +1 -1
  424. package/dist/components/list-item.i18n-89uqlBMK.js +8 -0
  425. package/dist/components/list.i18n-CKqbhFQ_.js +13 -0
  426. package/dist/components/lists-and-tables/cells/cell/cell.d.ts +2 -0
  427. package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
  428. package/dist/components/lists-and-tables/cells/cell/cell.js +4 -2
  429. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  430. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
  431. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
  432. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +4 -2
  433. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
  434. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
  435. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
  436. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  437. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +1 -0
  438. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  439. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +3 -1
  440. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  441. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  442. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
  443. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
  444. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +0 -1
  445. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
  446. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +5 -15
  447. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
  448. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -0
  449. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  450. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +4 -2
  451. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  452. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +7 -2
  453. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  454. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +5 -4
  455. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  456. package/dist/components/lists-and-tables/list/list.d.ts +5 -23
  457. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  458. package/dist/components/lists-and-tables/list/list.i18n.d.ts +1 -1
  459. package/dist/components/lists-and-tables/list/list.i18n.js +1 -1
  460. package/dist/components/lists-and-tables/list/list.js +54 -99
  461. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  462. package/dist/components/lists-and-tables/list-item/list-item.d.ts +18 -16
  463. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  464. package/dist/components/lists-and-tables/list-item/list-item.js +61 -88
  465. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  466. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +3 -3
  467. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  468. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +17 -13
  469. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  470. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
  471. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
  472. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +1 -2
  473. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
  474. package/dist/components/lists-and-tables/table/table.d.ts +24 -13
  475. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  476. package/dist/components/lists-and-tables/table/table.js +58 -45
  477. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  478. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  479. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -1
  480. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  481. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +4 -4
  482. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  483. package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.d.ts +1 -1
  484. package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js +1 -1
  485. package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js.map +1 -1
  486. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +7 -6
  487. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  488. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
  489. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  490. package/dist/components/navigation/link/link.d.ts.map +1 -1
  491. package/dist/components/navigation/link/link.js +2 -1
  492. package/dist/components/navigation/link/link.js.map +1 -1
  493. package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
  494. package/dist/components/navigation/link/link.styles.js +0 -4
  495. package/dist/components/navigation/link/link.styles.js.map +1 -1
  496. package/dist/components/navigation/link/link.template.js +2 -2
  497. package/dist/components/navigation/menu-bar/menu-bar.d.ts +4 -0
  498. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  499. package/dist/components/navigation/menu-bar/menu-bar.js +17 -10
  500. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  501. package/dist/components/navigation/menu-bar/menu-bar.styles.d.ts.map +1 -1
  502. package/dist/components/navigation/menu-bar/menu-bar.styles.js +9 -0
  503. package/dist/components/navigation/menu-bar/menu-bar.styles.js.map +1 -1
  504. package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
  505. package/dist/components/navigation/menu-bar/menu-bar.template.js +25 -19
  506. package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
  507. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  508. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +12 -1
  509. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  510. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  511. package/dist/components/navigation/pagination/pagination.i18n.d.ts +3 -3
  512. package/dist/components/navigation/pagination/pagination.i18n.js +3 -3
  513. package/dist/components/navigation/pagination/pagination.i18n.js.map +1 -1
  514. package/dist/components/navigation/pagination/pagination.js +2 -1
  515. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  516. package/dist/components/navigation/pagination/pagination.template.js +3 -3
  517. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  518. package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
  519. package/dist/components/navigation/skip-link/skip-link.js +6 -8
  520. package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
  521. package/dist/components/navigation/tab-bar/tab-bar.d.ts +1 -1
  522. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  523. package/dist/components/navigation/tab-bar/tab-bar.js +8 -15
  524. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  525. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +0 -1
  526. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  527. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +6 -6
  528. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  529. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +11 -0
  530. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  531. package/dist/components/navigation/top-title-bar/top-title-bar.js +44 -6
  532. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  533. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +1 -1
  534. package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
  535. package/dist/components/nl.generated-D-8UF1iR.js +62 -0
  536. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +1 -1
  537. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  538. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +5 -4
  539. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  540. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  541. package/dist/components/status-and-feedback/badge/badge.js +3 -6
  542. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  543. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  544. package/dist/components/status-and-feedback/banner/banner.js +2 -1
  545. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  546. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +2 -2
  547. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  548. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +4 -3
  549. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  550. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
  551. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +9 -2
  552. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
  553. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  554. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +2 -1
  555. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  556. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +1 -4
  557. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  558. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +3 -15
  559. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  560. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
  561. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +9 -6
  562. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
  563. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  564. package/dist/components/status-and-feedback/notification/notification.js +3 -7
  565. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  566. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  567. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -5
  568. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  569. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  570. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +2 -1
  571. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  572. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +1 -1
  573. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  574. package/dist/components/status-and-feedback/status-bar/status-bar.js +8 -7
  575. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  576. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +0 -7
  577. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  578. package/dist/components/status-and-feedback/step-bar/step-bar.js +2 -24
  579. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  580. package/dist/components/{visibility-mixin-C-K7ho5Q.js → visibility-mixin-CNCT26tu.js} +1 -7
  581. package/dist/css/rich-text.css +5 -0
  582. package/dist/nldd.min.js +1493 -997
  583. package/dist/translations/en-US.d.ts.map +1 -1
  584. package/dist/translations/en-US.js +44 -22
  585. package/dist/translations/en-US.js.map +1 -1
  586. package/dist/translations/fy.d.ts.map +1 -1
  587. package/dist/translations/fy.js +44 -22
  588. package/dist/translations/fy.js.map +1 -1
  589. package/dist/translations/nl.generated.d.ts +32 -10
  590. package/dist/translations/nl.generated.d.ts.map +1 -1
  591. package/dist/translations/nl.generated.js +2 -0
  592. package/dist/translations/nl.generated.js.map +1 -1
  593. package/dist/translations/pap-AW.d.ts.map +1 -1
  594. package/dist/translations/pap-AW.js +44 -22
  595. package/dist/translations/pap-AW.js.map +1 -1
  596. package/dist/translations/pap-CW.d.ts.map +1 -1
  597. package/dist/translations/pap-CW.js +44 -22
  598. package/dist/translations/pap-CW.js.map +1 -1
  599. package/dist/types/vue.d.ts +123 -35
  600. package/dist/utilities/carried-context.d.ts +14 -3
  601. package/dist/utilities/carried-context.d.ts.map +1 -1
  602. package/dist/utilities/carried-context.js +12 -5
  603. package/dist/utilities/carried-context.js.map +1 -1
  604. package/dist/utilities/codemirror/codemirror-input.d.ts +0 -2
  605. package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -1
  606. package/dist/utilities/codemirror/codemirror-input.js +0 -14
  607. package/dist/utilities/codemirror/codemirror-input.js.map +1 -1
  608. package/dist/utilities/custom-element.d.ts +7 -0
  609. package/dist/utilities/custom-element.d.ts.map +1 -0
  610. package/dist/utilities/custom-element.js +7 -0
  611. package/dist/utilities/custom-element.js.map +1 -0
  612. package/dist/utilities/defer-focus.d.ts +24 -0
  613. package/dist/utilities/defer-focus.d.ts.map +1 -0
  614. package/dist/utilities/defer-focus.js +33 -0
  615. package/dist/utilities/defer-focus.js.map +1 -0
  616. package/dist/utilities/dev-checks-trigger.d.ts +2 -0
  617. package/dist/utilities/dev-checks-trigger.d.ts.map +1 -0
  618. package/dist/utilities/dev-checks-trigger.js +10 -0
  619. package/dist/utilities/dev-checks-trigger.js.map +1 -0
  620. package/dist/utilities/dev-checks.d.ts +40 -0
  621. package/dist/utilities/dev-checks.d.ts.map +1 -0
  622. package/dist/utilities/dev-checks.js +115 -0
  623. package/dist/utilities/dev-checks.js.map +1 -0
  624. package/dist/utilities/dev-rules.generated.d.ts +3 -0
  625. package/dist/utilities/dev-rules.generated.d.ts.map +1 -0
  626. package/dist/utilities/dev-rules.generated.js +2487 -0
  627. package/dist/utilities/dev-rules.generated.js.map +1 -0
  628. package/dist/utilities/element-state.d.ts +19 -0
  629. package/dist/utilities/element-state.d.ts.map +1 -0
  630. package/dist/utilities/element-state.js +49 -0
  631. package/dist/utilities/element-state.js.map +1 -0
  632. package/dist/utilities/file-drag-and-drop.d.ts +18 -0
  633. package/dist/utilities/file-drag-and-drop.d.ts.map +1 -0
  634. package/dist/utilities/file-drag-and-drop.js +31 -0
  635. package/dist/utilities/file-drag-and-drop.js.map +1 -0
  636. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  637. package/dist/utilities/form-associated-mixin.js +2 -1
  638. package/dist/utilities/form-associated-mixin.js.map +1 -1
  639. package/dist/utilities/link-hint.d.ts +2 -21
  640. package/dist/utilities/link-hint.d.ts.map +1 -1
  641. package/dist/utilities/link-hint.js +22 -8
  642. package/dist/utilities/link-hint.js.map +1 -1
  643. package/dist/utilities/list-items.d.ts +10 -0
  644. package/dist/utilities/list-items.d.ts.map +1 -0
  645. package/dist/utilities/list-items.js +21 -0
  646. package/dist/utilities/list-items.js.map +1 -0
  647. package/dist/utilities/popover-target.d.ts +14 -0
  648. package/dist/utilities/popover-target.d.ts.map +1 -0
  649. package/dist/utilities/popover-target.js +21 -0
  650. package/dist/utilities/popover-target.js.map +1 -0
  651. package/dist/utilities/popup-anchor-controller.d.ts.map +1 -1
  652. package/dist/utilities/popup-anchor-controller.js +6 -1
  653. package/dist/utilities/popup-anchor-controller.js.map +1 -1
  654. package/dist/utilities/render-marked.d.ts +2 -0
  655. package/dist/utilities/render-marked.d.ts.map +1 -1
  656. package/dist/utilities/render-marked.js +4 -0
  657. package/dist/utilities/render-marked.js.map +1 -1
  658. package/dist/utilities/row-header-mixin.d.ts +31 -0
  659. package/dist/utilities/row-header-mixin.d.ts.map +1 -0
  660. package/dist/utilities/row-header-mixin.js +44 -0
  661. package/dist/utilities/row-header-mixin.js.map +1 -0
  662. package/dist/utilities/spacing-scale.d.ts +4 -5
  663. package/dist/utilities/spacing-scale.d.ts.map +1 -1
  664. package/dist/utilities/spacing-scale.js +4 -23
  665. package/dist/utilities/spacing-scale.js.map +1 -1
  666. package/dist/utilities/translations.d.ts.map +1 -1
  667. package/dist/utilities/translations.js +3 -15
  668. package/dist/utilities/translations.js.map +1 -1
  669. package/dist/utilities/visibility-mixin.d.ts +7 -0
  670. package/dist/utilities/visibility-mixin.d.ts.map +1 -1
  671. package/dist/utilities/visibility-mixin.js +0 -10
  672. package/dist/utilities/visibility-mixin.js.map +1 -1
  673. package/lint/cli.js +18 -0
  674. package/lint/data.generated.json +1 -0
  675. package/lint/engine.js +191 -0
  676. package/lint/fix.js +293 -0
  677. package/lint/format.js +133 -0
  678. package/lint/frontends.js +483 -0
  679. package/lint/linter.js +262 -0
  680. package/lint/main.js +279 -0
  681. package/lint/project.js +143 -0
  682. package/lint/rule-data.js +83 -0
  683. package/lint/rule-index.js +20 -0
  684. package/lint/rule.schema.json +65 -0
  685. package/lint/tree.js +131 -0
  686. package/package.json +22 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-header-mixin.js","sourceRoot":"","sources":["../../src/utilities/row-header-mixin.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAK7C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,UAAU,cAAc,CAAwC,IAAW;IAChF,MAAM,aAAc,SAAQ,IAAI;QAAhC;;YAEC,cAAS,GAAG,KAAK,CAAC;QACnB,CAAC;KAAA;IADA;QADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;oDAClD;IAEnB,OAAO,aAC0C,CAAC;AACnD,CAAC"}
@@ -9,8 +9,8 @@
9
9
  * Which also settles what the attribute means. `gap="16"` in a component that
10
10
  * expected a CSS length wrote `--_container-gap: 16`, which is not one: the declaration
11
11
  * fell away and the gap became zero with nothing said. Anything this cannot
12
- * place is refused and named in dev instead, a length included — writing an
13
- * unplaceable value is that same silent zero.
12
+ * place is refused instead, a length included: writing an unplaceable value is
13
+ * that same silent zero.
14
14
  */
15
15
  /** Every step there is. `'0'` is a value, not the absence of one. */
16
16
  export declare const SPACING_SCALE: readonly ["0", "2", "4", "6", "8", "10", "12", "16", "20", "24", "28", "32", "40", "44", "48", "56", "64", "80", "96"];
@@ -19,8 +19,7 @@ export type SpacingSize = (typeof SPACING_SCALE)[number];
19
19
  * A step of the scale as the token it stands for.
20
20
  *
21
21
  * Returns null when there is nothing to set, so a caller can remove the
22
- * property rather than write an empty one. `element` and `attribute` are only
23
- * there to name the offender in a dev warning.
22
+ * property rather than write an empty one.
24
23
  */
25
- export declare function spacingToValue(value: string | undefined, element: string, attribute: string): string | null;
24
+ export declare function spacingToValue(value: string | undefined): string | null;
26
25
  //# sourceMappingURL=spacing-scale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spacing-scale.d.ts","sourceRoot":"","sources":["../../src/utilities/spacing-scale.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,qEAAqE;AACrE,eAAO,MAAM,aAAa,wHAGhB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAgBzD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC7B,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GACf,MAAM,GAAG,IAAI,CAiBf"}
1
+ {"version":3,"file":"spacing-scale.d.ts","sourceRoot":"","sources":["../../src/utilities/spacing-scale.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,qEAAqE;AAErE,eAAO,MAAM,aAAa,wHAGhB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAOvE"}
@@ -9,46 +9,27 @@
9
9
  * Which also settles what the attribute means. `gap="16"` in a component that
10
10
  * expected a CSS length wrote `--_container-gap: 16`, which is not one: the declaration
11
11
  * fell away and the gap became zero with nothing said. Anything this cannot
12
- * place is refused and named in dev instead, a length included — writing an
13
- * unplaceable value is that same silent zero.
12
+ * place is refused instead, a length included: writing an unplaceable value is
13
+ * that same silent zero.
14
14
  */
15
15
  /** Every step there is. `'0'` is a value, not the absence of one. */
16
16
  export const SPACING_SCALE = [
17
17
  '0', '2', '4', '6', '8', '10', '12', '16', '20', '24',
18
18
  '28', '32', '40', '44', '48', '56', '64', '80', '96',
19
19
  ];
20
- /** Anything that is not a bare number: a length, a percentage, a calc(). */
21
- function looksLikeLength(value) {
22
- return /[a-z%()]/i.test(value.trim());
23
- }
24
- const warned = new Set();
25
- function warnOnce(element, attribute, message) {
26
- const key = `${element}.${attribute}.${message}`;
27
- if (warned.has(key))
28
- return;
29
- warned.add(key);
30
- console.warn(`<${element}>: ${message}`);
31
- }
32
20
  /**
33
21
  * A step of the scale as the token it stands for.
34
22
  *
35
23
  * Returns null when there is nothing to set, so a caller can remove the
36
- * property rather than write an empty one. `element` and `attribute` are only
37
- * there to name the offender in a dev warning.
24
+ * property rather than write an empty one.
38
25
  */
39
- export function spacingToValue(value, element, attribute) {
26
+ export function spacingToValue(value) {
40
27
  if (value === undefined || value === '')
41
28
  return null;
42
29
  const step = String(value).trim();
43
30
  if (SPACING_SCALE.includes(step)) {
44
31
  return step === '0' ? '0' : `var(--primitives-space-${step})`;
45
32
  }
46
- if (import.meta.env?.DEV) {
47
- const why = looksLikeLength(step)
48
- ? 'is a CSS length, and these attributes take a step of the spacing scale so the rhythm holds across the page'
49
- : 'is not a step of the spacing scale';
50
- warnOnce(element, attribute, `${attribute}="${step}" ${why} (${SPACING_SCALE.join(', ')}). Nothing is written, so the default stands.`);
51
- }
52
33
  return null;
53
34
  }
54
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G,CAAC;IAC/D,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../src/utilities/translations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAY3C;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,CAIhE;AAED,0EAA0E;AAC1E,wBAAgB,eAAe,IAAI,QAAQ,CAAC,YAAY,CAAC,CAExD;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,YAAY,EAC/C,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,EAC3B,QAAQ,EAAE,CAAC,EACX,GAAG,EAAE,MAAM,CAAC,EACZ,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACpC,MAAM,CASR"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../src/utilities/translations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAY3C;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,CAMhE;AAED,0EAA0E;AAC1E,wBAAgB,eAAe,IAAI,QAAQ,CAAC,YAAY,CAAC,CAExD;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,YAAY,EAC/C,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,EAC3B,QAAQ,EAAE,CAAC,EACX,GAAG,EAAE,MAAM,CAAC,EACZ,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACpC,MAAM,CASR"}
@@ -31,8 +31,9 @@ const store = ((_a = globalThis)[STORE_KEY] ?? (_a[STORE_KEY] = { translations:
31
31
  */
32
32
  export function setTranslations(translations) {
33
33
  store.translations = { ...translations };
34
- if (import.meta.env?.DEV)
35
- warnUnknownKeys(store.translations);
34
+ if (import.meta.env?.DEV && import.meta.env?.MODE !== 'test') {
35
+ void import('./dev-checks.js').then(({ checkTranslationKeys }) => checkTranslationKeys(Object.keys(translations)));
36
+ }
36
37
  if (typeof document !== 'undefined')
37
38
  rerender(document);
38
39
  }
@@ -64,17 +65,4 @@ function rerender(root) {
64
65
  rerender(el.shadowRoot);
65
66
  }
66
67
  }
67
- /**
68
- * A key no component knows does nothing, silently. That is what happens to an
69
- * override after a key is renamed, so in DEV it says so. The full key list is
70
- * loaded only here, so production bundles do not carry it.
71
- */
72
- function warnUnknownKeys(translations) {
73
- import('../translations/nl.generated.js').then(({ nl }) => {
74
- const unknown = Object.keys(translations).filter((key) => !(key in nl));
75
- if (unknown.length) {
76
- console.warn(`setTranslations: no component knows ${unknown.length === 1 ? 'this key, so it does' : 'these keys, so they do'} nothing: ${unknown.join(', ')}`);
77
- }
78
- }).catch(() => { });
79
- }
80
68
  //# sourceMappingURL=translations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.js","sourceRoot":"","sources":["../../src/utilities/translations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;;AAQH,6EAA6E;AAC7E,8EAA8E;AAC9E,kEAAkE;AAClE,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;AAClD,MAAM,KAAK,GAAU,OAAE,UAAsC,EAAC,SAAS,SAAT,SAAS,IAAM,EAAE,YAAY,EAAE,EAAE,EAAE,EAAU,CAAC;AAE5G;;;;;;;;;;GAUG;AACH,MAAM,UAAU,eAAe,CAAC,YAA0B;IACzD,KAAK,CAAC,YAAY,GAAG,EAAE,GAAG,YAAY,EAAE,CAAC;IACzC,IAAI,MA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
@@ -1,5 +1,12 @@
1
1
  import { LitElement } from 'lit';
2
2
  type Constructor<T = LitElement> = new (...args: any[]) => T;
3
+ /**
4
+ * The open edges hide nothing, so the attribute is written but never applies.
5
+ * That reads like a working value, and the name invites it: `hide-below`
6
+ * names the breakpoint you hide BELOW, so "hide it at sm" comes out as
7
+ * `hide-below="md"` and `hide-below="sm"` does nothing at all. Say so once,
8
+ * rather than let it look applied.
9
+ */
3
10
  /**
4
11
  * Adds `hide-below` and `hide-above` attributes that toggle visibility based
5
12
  * on the inline-size of an ancestor CSS container.
@@ -1 +1 @@
1
- {"version":3,"file":"visibility-mixin.d.ts","sourceRoot":"","sources":["../../src/utilities/visibility-mixin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAoE,MAAM,KAAK,CAAC;AAGnG,KAAK,WAAW,CAAC,CAAC,GAAG,UAAU,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAuC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,eAAe,CAAC,KAAK,SAAS,WAAW,CAAC,UAAU,CAAC,EACpE,IAAI,EAAE,KAAK,EACX,aAAa,CAAC,EAAE,MAAM,GA0Ec,KAAK,GACxC,WAAW,CAAC,UAAU,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CACrE"}
1
+ {"version":3,"file":"visibility-mixin.d.ts","sourceRoot":"","sources":["../../src/utilities/visibility-mixin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAoE,MAAM,KAAK,CAAC;AAGnG,KAAK,WAAW,CAAC,CAAC,GAAG,UAAU,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAgB7D;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,eAAe,CAAC,KAAK,SAAS,WAAW,CAAC,UAAU,CAAC,EACpE,IAAI,EAAE,KAAK,EACX,aAAa,CAAC,EAAE,MAAM,GAwEc,KAAK,GACxC,WAAW,CAAC,UAAU,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CACrE"}
@@ -22,14 +22,6 @@ function customThreshold(value) {
22
22
  * `hide-below="md"` and `hide-below="sm"` does nothing at all. Say so once,
23
23
  * rather than let it look applied.
24
24
  */
25
- function warnNoOp(host, attribute, value, openEdge, edgeLabel) {
26
- if (value !== openEdge)
27
- return;
28
- console.warn(`[${host.localName}] ${attribute}="${openEdge}" never hides anything: there is no `
29
- + `breakpoint ${edgeLabel}. The value names the breakpoint you hide below, so the `
30
- + `smallest one that hides is "${attribute === 'hide-below' ? 'md' : 'sm'}". `
31
- + 'Leave the attribute off if you meant "always visible".');
32
- }
33
25
  /**
34
26
  * Adds `hide-below` and `hide-above` attributes that toggle visibility based
35
27
  * on the inline-size of an ancestor CSS container.
@@ -98,12 +90,10 @@ export function VisibilityMixin(Base, containerName) {
98
90
  return;
99
91
  const containerPrefix = containerName ? `${containerName} ` : '';
100
92
  const rules = [];
101
- warnNoOp(this, 'hide-below', this.hideBelow, 'sm', 'below sm');
102
93
  const below = customThreshold(this.hideBelow);
103
94
  if (below) {
104
95
  rules.push(`:host { @container ${containerPrefix}(max-width: ${below}) { display: none !important; } }`);
105
96
  }
106
- warnNoOp(this, 'hide-above', this.hideAbove, 'lg', 'above lg');
107
97
  const above = customThreshold(this.hideAbove);
108
98
  if (above) {
109
99
  rules.push(`:host { @container ${containerPrefix}(min-width: ${above}) { display: none !important; } }`);
@@ -1 +1 @@
1
- {"version":3,"file":"visibility-mixin.js","sourceRoot":"","sources":["../../src/utilities/visibility-mixin.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7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AO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;qDAChD;IAoDpB,OAAO,cAC8D,CAAC;AACvE,CAAC"}
package/lint/cli.js ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * The `nldd` command. One bin, so `npx @nldd/design-system lint` runs it too.
4
+ *
5
+ * This file stays small: most of a run is Node starting and compiling, so the
6
+ * compile cache goes first, before anything else is loaded. Node 18 and 20 go on
7
+ * without it.
8
+ */
9
+
10
+ import module from 'node:module';
11
+ import util from 'node:util';
12
+
13
+ if (!util.parseArgs) {
14
+ console.error('nldd needs Node 18.3 or newer.');
15
+ process.exit(2);
16
+ }
17
+ module.enableCompileCache?.();
18
+ await import('./main.js');