@nldd/design-system 0.8.92 → 0.8.94

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 (630) hide show
  1. package/NOTICES.md +29 -27
  2. package/README.md +39 -26
  3. package/custom-elements.json +2134 -1509
  4. package/dist/components/actions/button/button.d.ts +28 -6
  5. package/dist/components/actions/button/button.d.ts.map +1 -1
  6. package/dist/components/actions/button/button.js +58 -8
  7. package/dist/components/actions/button/button.js.map +1 -1
  8. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  9. package/dist/components/actions/button/button.styles.js +44 -74
  10. package/dist/components/actions/button/button.styles.js.map +1 -1
  11. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  12. package/dist/components/actions/button/button.template.js +4 -3
  13. package/dist/components/actions/button/button.template.js.map +1 -1
  14. package/dist/components/actions/button-bar/button-bar.d.ts +11 -4
  15. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  16. package/dist/components/actions/button-bar/button-bar.js +25 -9
  17. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  18. package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
  19. package/dist/components/actions/button-bar/button-bar.styles.js +18 -3
  20. package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
  21. package/dist/components/actions/button-group/button-group.d.ts +48 -3
  22. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  23. package/dist/components/actions/button-group/button-group.js +104 -11
  24. package/dist/components/actions/button-group/button-group.js.map +1 -1
  25. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  26. package/dist/components/actions/button-group/button-group.styles.js +64 -4
  27. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  28. package/dist/components/actions/icon-button/icon-button.d.ts +13 -7
  29. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  30. package/dist/components/actions/icon-button/icon-button.js +16 -7
  31. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  32. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  33. package/dist/components/actions/icon-button/icon-button.styles.js +35 -61
  34. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  35. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  36. package/dist/components/actions/icon-button/icon-button.template.js +8 -4
  37. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  38. package/dist/components/actions/menu/menu.d.ts +46 -31
  39. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  40. package/dist/components/actions/menu/menu.js +87 -64
  41. package/dist/components/actions/menu/menu.js.map +1 -1
  42. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  43. package/dist/components/actions/menu/menu.styles.js +4 -0
  44. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  45. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  46. package/dist/components/actions/menu/menu.template.js +13 -5
  47. package/dist/components/actions/menu/menu.template.js.map +1 -1
  48. package/dist/components/actions/split-button/split-button.d.ts +2 -2
  49. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  50. package/dist/components/actions/split-button/split-button.js +5 -4
  51. package/dist/components/actions/split-button/split-button.js.map +1 -1
  52. package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
  53. package/dist/components/actions/split-button/split-button.styles.js +18 -3
  54. package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
  55. package/dist/components/actions/split-button/split-button.template.js +2 -2
  56. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  57. package/dist/components/actions/toolbar/toolbar.d.ts +24 -10
  58. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  59. package/dist/components/actions/toolbar/toolbar.js +60 -28
  60. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  61. package/dist/components/actions/toolbar/toolbar.styles.js +7 -7
  62. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  63. package/dist/components/actions/toolbar/toolbar.template.js +3 -2
  64. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  65. package/dist/components/components.js +3034 -1382
  66. package/dist/components/content/avatar/avatar.d.ts +23 -5
  67. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  68. package/dist/components/content/avatar/avatar.js +24 -6
  69. package/dist/components/content/avatar/avatar.js.map +1 -1
  70. package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
  71. package/dist/components/content/avatar/avatar.template.js +5 -2
  72. package/dist/components/content/avatar/avatar.template.js.map +1 -1
  73. package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
  74. package/dist/components/content/avatar-group/avatar-group.template.js +6 -2
  75. package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
  76. package/dist/components/content/code-viewer/code-viewer.d.ts +2 -2
  77. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  78. package/dist/components/content/code-viewer/code-viewer.js +10 -6
  79. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  80. package/dist/components/content/code-viewer/code-viewer.styles.js +6 -6
  81. package/dist/components/content/icon/icon.d.ts +18 -6
  82. package/dist/components/content/icon/icon.d.ts.map +1 -1
  83. package/dist/components/content/icon/icon.js +30 -10
  84. package/dist/components/content/icon/icon.js.map +1 -1
  85. package/dist/components/content/identity/identity.template.d.ts.map +1 -1
  86. package/dist/components/content/identity/identity.template.js +4 -1
  87. package/dist/components/content/identity/identity.template.js.map +1 -1
  88. package/dist/components/content/image/image.d.ts.map +1 -1
  89. package/dist/components/content/image/image.js +2 -1
  90. package/dist/components/content/image/image.js.map +1 -1
  91. package/dist/components/content/image/image.template.d.ts.map +1 -1
  92. package/dist/components/content/image/image.template.js +7 -2
  93. package/dist/components/content/image/image.template.js.map +1 -1
  94. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +3 -3
  95. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  96. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +3 -3
  97. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  98. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +7 -7
  99. package/dist/components/content/rich-text/rich-text.d.ts +20 -9
  100. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  101. package/dist/components/content/rich-text/rich-text.js +32 -16
  102. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  103. package/dist/components/content/tag/tag.d.ts +2 -2
  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/tag/tag.template.js +2 -2
  108. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  109. package/dist/components/content/text/text.styles.js +1 -0
  110. package/dist/components/content/text/text.styles.js.map +1 -1
  111. package/dist/components/content/title/title.d.ts +30 -6
  112. package/dist/components/content/title/title.d.ts.map +1 -1
  113. package/dist/components/content/title/title.js +72 -8
  114. package/dist/components/content/title/title.js.map +1 -1
  115. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  116. package/dist/components/content/title/title.styles.js +41 -4
  117. package/dist/components/content/title/title.styles.js.map +1 -1
  118. package/dist/components/content/title/title.template.d.ts +2 -1
  119. package/dist/components/content/title/title.template.d.ts.map +1 -1
  120. package/dist/components/content/title/title.template.js +33 -5
  121. package/dist/components/content/title/title.template.js.map +1 -1
  122. package/dist/components/content/token/token.d.ts +15 -5
  123. package/dist/components/content/token/token.d.ts.map +1 -1
  124. package/dist/components/content/token/token.i18n.d.ts +7 -0
  125. package/dist/components/content/token/token.i18n.d.ts.map +1 -0
  126. package/dist/components/content/token/token.i18n.js +6 -0
  127. package/dist/components/content/token/token.i18n.js.map +1 -0
  128. package/dist/components/content/token/token.js +56 -14
  129. package/dist/components/content/token/token.js.map +1 -1
  130. package/dist/components/content/token/token.template.js +6 -6
  131. package/dist/components/content/token/token.template.js.map +1 -1
  132. package/dist/components/forms/form/form.d.ts +18 -7
  133. package/dist/components/forms/form/form.d.ts.map +1 -1
  134. package/dist/components/forms/form/form.js +18 -7
  135. package/dist/components/forms/form/form.js.map +1 -1
  136. package/dist/components/forms/form-actions/form-actions.d.ts +1 -1
  137. package/dist/components/forms/form-actions/form-actions.js +1 -1
  138. package/dist/components/forms/form-field/form-field.d.ts +12 -1
  139. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  140. package/dist/components/forms/form-field/form-field.js +12 -1
  141. package/dist/components/forms/form-field/form-field.js.map +1 -1
  142. package/dist/components/forms/form-section/form-section.d.ts +3 -3
  143. package/dist/components/forms/form-section/form-section.js +8 -8
  144. package/dist/components/forms/form-section/form-section.js.map +1 -1
  145. package/dist/components/forms/validation-list/validation-list.d.ts +7 -4
  146. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  147. package/dist/components/forms/validation-list/validation-list.js +7 -4
  148. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  149. package/dist/components/{icon-C_zwJZ_g.js → icon-DWNVcttg.js} +4 -4
  150. package/dist/components/{icon-button-oua8pmMC.js → icon-button-DHzLMmj0.js} +62 -78
  151. package/dist/components/index.d.ts +1 -0
  152. package/dist/components/index.d.ts.map +1 -1
  153. package/dist/components/index.js +2 -0
  154. package/dist/components/index.js.map +1 -1
  155. package/dist/components/inputs/checkbox/checkbox.template.d.ts.map +1 -1
  156. package/dist/components/inputs/checkbox/checkbox.template.js +11 -5
  157. package/dist/components/inputs/checkbox/checkbox.template.js.map +1 -1
  158. package/dist/components/inputs/code-editor/code-editor.d.ts +5 -5
  159. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  160. package/dist/components/inputs/code-editor/code-editor.js +5 -5
  161. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  162. package/dist/components/inputs/code-editor/code-editor.styles.js +3 -3
  163. package/dist/components/inputs/combo-box/combo-box.d.ts +47 -3
  164. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  165. package/dist/components/inputs/combo-box/combo-box.js +119 -41
  166. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  167. package/dist/components/inputs/combo-box/combo-box.template.js +4 -4
  168. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  169. package/dist/components/inputs/date-field/date-field.js +2 -1
  170. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  171. package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
  172. package/dist/components/inputs/date-field/date-field.template.js +6 -4
  173. package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
  174. package/dist/components/inputs/date-picker/date-picker.template.js +3 -3
  175. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  176. package/dist/components/inputs/dropdown/dropdown.d.ts +0 -2
  177. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  178. package/dist/components/inputs/dropdown/dropdown.js +1 -13
  179. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  180. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  181. package/dist/components/inputs/dropdown/dropdown.styles.js +24 -12
  182. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  183. package/dist/components/inputs/dropdown/dropdown.template.d.ts.map +1 -1
  184. package/dist/components/inputs/dropdown/dropdown.template.js +3 -4
  185. package/dist/components/inputs/dropdown/dropdown.template.js.map +1 -1
  186. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  187. package/dist/components/inputs/file-field/file-field.js +2 -7
  188. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  189. package/dist/components/inputs/file-field/file-field.template.js +3 -3
  190. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +2 -2
  191. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  192. package/dist/components/inputs/number-field/number-field.js +2 -1
  193. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  194. package/dist/components/inputs/number-field/number-field.styles.js +4 -4
  195. package/dist/components/inputs/number-field/number-field.template.js +2 -2
  196. package/dist/components/inputs/password-field/password-field.template.js +2 -2
  197. package/dist/components/inputs/radio-button/radio-button.template.d.ts.map +1 -1
  198. package/dist/components/inputs/radio-button/radio-button.template.js +3 -1
  199. package/dist/components/inputs/radio-button/radio-button.template.js.map +1 -1
  200. package/dist/components/inputs/search-field/search-field.d.ts +24 -24
  201. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  202. package/dist/components/inputs/search-field/search-field.js +42 -41
  203. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  204. package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
  205. package/dist/components/inputs/search-field/search-field.template.js +6 -4
  206. package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
  207. package/dist/components/inputs/segmented-control/segmented-control.d.ts +6 -0
  208. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  209. package/dist/components/inputs/segmented-control/segmented-control.js +13 -0
  210. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  211. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  212. package/dist/components/inputs/segmented-control/segmented-control.styles.js +54 -16
  213. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  214. package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
  215. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  216. package/dist/components/inputs/stepper/stepper.js +2 -1
  217. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  218. package/dist/components/inputs/stepper/stepper.template.js +2 -2
  219. package/dist/components/inputs/switch/switch.template.js +1 -1
  220. package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -1
  221. package/dist/components/inputs/text-editor/text-editor.annotations.js +6 -4
  222. package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
  223. package/dist/components/inputs/text-editor/text-editor.d.ts +27 -64
  224. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  225. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +2 -0
  226. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  227. package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -0
  228. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  229. package/dist/components/inputs/text-editor/text-editor.js +87 -20
  230. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  231. package/dist/components/inputs/text-editor/text-editor.labels.d.ts +4 -0
  232. package/dist/components/inputs/text-editor/text-editor.labels.d.ts.map +1 -0
  233. package/dist/components/inputs/text-editor/text-editor.labels.js +5 -0
  234. package/dist/components/inputs/text-editor/text-editor.labels.js.map +1 -0
  235. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  236. package/dist/components/inputs/text-editor/text-editor.links.js +7 -5
  237. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  238. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  239. package/dist/components/inputs/text-editor/text-editor.markdown.js +6 -2
  240. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  241. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +27 -3
  242. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  243. package/dist/components/inputs/text-editor/text-editor.mentions.js +145 -26
  244. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  245. package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts +11 -0
  246. package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts.map +1 -0
  247. package/dist/components/inputs/text-editor/text-editor.spellcheck.js +134 -0
  248. package/dist/components/inputs/text-editor/text-editor.spellcheck.js.map +1 -0
  249. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  250. package/dist/components/inputs/text-editor/text-editor.styles.js +9 -3
  251. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  252. package/dist/components/inputs/text-field/text-field.template.js +2 -2
  253. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  254. package/dist/components/inputs/time-field/time-field.js +2 -1
  255. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  256. package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
  257. package/dist/components/inputs/time-field/time-field.template.js +7 -5
  258. package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
  259. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  260. package/dist/components/inputs/time-picker/time-picker.js +2 -1
  261. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  262. package/dist/components/inputs/toggle-button/toggle-button.d.ts +12 -0
  263. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  264. package/dist/components/inputs/toggle-button/toggle-button.js +17 -0
  265. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  266. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  267. package/dist/components/inputs/toggle-button/toggle-button.styles.js +99 -12
  268. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  269. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  270. package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -4
  271. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  272. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +4 -2
  273. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  274. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -2
  275. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  276. package/dist/components/inputs/token-field/token-field.d.ts +26 -1
  277. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  278. package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
  279. package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
  280. package/dist/components/inputs/token-field/token-field.js +59 -6
  281. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  282. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  283. package/dist/components/inputs/token-field/token-field.styles.js +2 -1
  284. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  285. package/dist/components/inputs/token-field/token-field.template.d.ts.map +1 -1
  286. package/dist/components/inputs/token-field/token-field.template.js +7 -5
  287. package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
  288. package/dist/components/layout/app-view/app-view.d.ts +8 -0
  289. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  290. package/dist/components/layout/app-view/app-view.js +8 -0
  291. package/dist/components/layout/app-view/app-view.js.map +1 -1
  292. package/dist/components/layout/card/card.d.ts +7 -4
  293. package/dist/components/layout/card/card.d.ts.map +1 -1
  294. package/dist/components/layout/card/card.js +10 -7
  295. package/dist/components/layout/card/card.js.map +1 -1
  296. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  297. package/dist/components/layout/card/card.styles.js +22 -2
  298. package/dist/components/layout/card/card.styles.js.map +1 -1
  299. package/dist/components/layout/card/card.template.d.ts.map +1 -1
  300. package/dist/components/layout/card/card.template.js +4 -2
  301. package/dist/components/layout/card/card.template.js.map +1 -1
  302. package/dist/components/layout/collection/collection.d.ts +11 -6
  303. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  304. package/dist/components/layout/collection/collection.js +21 -15
  305. package/dist/components/layout/collection/collection.js.map +1 -1
  306. package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
  307. package/dist/components/layout/collection/collection.template.js +5 -2
  308. package/dist/components/layout/collection/collection.template.js.map +1 -1
  309. package/dist/components/layout/container/container.d.ts +13 -8
  310. package/dist/components/layout/container/container.d.ts.map +1 -1
  311. package/dist/components/layout/container/container.js +19 -14
  312. package/dist/components/layout/container/container.js.map +1 -1
  313. package/dist/components/layout/page/page.d.ts +52 -2
  314. package/dist/components/layout/page/page.d.ts.map +1 -1
  315. package/dist/components/layout/page/page.js +94 -3
  316. package/dist/components/layout/page/page.js.map +1 -1
  317. package/dist/components/layout/page/page.template.d.ts +6 -0
  318. package/dist/components/layout/page/page.template.d.ts.map +1 -1
  319. package/dist/components/layout/page/page.template.js +21 -6
  320. package/dist/components/layout/page/page.template.js.map +1 -1
  321. package/dist/components/layout/page-footer/page-footer.d.ts +2 -4
  322. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  323. package/dist/components/layout/page-footer/page-footer.js +8 -23
  324. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  325. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  326. package/dist/components/layout/page-footer/page-footer.template.js +16 -4
  327. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  328. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +4 -6
  329. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  330. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +4 -5
  331. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  332. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.d.ts.map +1 -1
  333. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js +8 -2
  334. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js.map +1 -1
  335. package/dist/components/layout/page-sections/hero/hero.d.ts +12 -14
  336. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  337. package/dist/components/layout/page-sections/hero/hero.js +19 -20
  338. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  339. package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -1
  340. package/dist/components/layout/page-sections/hero/hero.template.js +6 -2
  341. package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
  342. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +6 -8
  343. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  344. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +6 -7
  345. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  346. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.d.ts.map +1 -1
  347. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js +8 -2
  348. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js.map +1 -1
  349. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +6 -8
  350. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  351. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +6 -7
  352. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  353. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.d.ts.map +1 -1
  354. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js +8 -2
  355. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js.map +1 -1
  356. package/dist/components/layout/page-sections/page-section-controls.d.ts +139 -44
  357. package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
  358. package/dist/components/layout/page-sections/page-section-controls.js +44 -47
  359. package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
  360. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -12
  361. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  362. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +21 -20
  363. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  364. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
  365. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +8 -2
  366. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
  367. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +14 -8
  368. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  369. package/dist/components/layout/page-sections/simple-section/simple-section.js +14 -7
  370. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  371. package/dist/components/layout/page-sections/simple-section/simple-section.template.d.ts.map +1 -1
  372. package/dist/components/layout/page-sections/simple-section/simple-section.template.js +8 -2
  373. package/dist/components/layout/page-sections/simple-section/simple-section.template.js.map +1 -1
  374. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +6 -8
  375. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  376. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +6 -7
  377. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  378. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.d.ts.map +1 -1
  379. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js +8 -2
  380. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js.map +1 -1
  381. package/dist/components/layout/popover/popover.d.ts +12 -8
  382. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  383. package/dist/components/layout/popover/popover.js +40 -19
  384. package/dist/components/layout/popover/popover.js.map +1 -1
  385. package/dist/components/layout/sheet/sheet.d.ts +26 -11
  386. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  387. package/dist/components/layout/sheet/sheet.js +59 -20
  388. package/dist/components/layout/sheet/sheet.js.map +1 -1
  389. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  390. package/dist/components/layout/sheet/sheet.styles.js +4 -0
  391. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  392. package/dist/components/layout/sheet/sheet.template.js +1 -1
  393. package/dist/components/layout/sheet/sheet.template.js.map +1 -1
  394. package/dist/components/layout/spacer/spacer.d.ts +13 -0
  395. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  396. package/dist/components/layout/spacer/spacer.js +13 -0
  397. package/dist/components/layout/spacer/spacer.js.map +1 -1
  398. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +4 -1
  399. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  400. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -1
  401. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  402. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +11 -6
  403. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  404. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +17 -12
  405. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  406. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  407. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +4 -0
  408. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  409. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +3 -1
  410. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  411. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -1
  412. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  413. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +4 -4
  414. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  415. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +8 -8
  416. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  417. package/dist/components/layout/window/window.d.ts +30 -18
  418. package/dist/components/layout/window/window.d.ts.map +1 -1
  419. package/dist/components/layout/window/window.js +68 -32
  420. package/dist/components/layout/window/window.js.map +1 -1
  421. package/dist/components/lists-and-tables/cells/cell/cell.d.ts +4 -2
  422. package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
  423. package/dist/components/lists-and-tables/cells/cell/cell.js +7 -5
  424. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  425. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
  426. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
  427. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  428. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +1 -1
  429. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js +88 -16
  430. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +1 -1
  431. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +4 -2
  432. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  433. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -5
  434. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  435. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  436. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +23 -0
  437. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  438. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.d.ts.map +1 -1
  439. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +11 -2
  440. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
  441. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  442. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  443. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
  444. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  445. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
  446. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +8 -2
  447. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
  448. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +11 -11
  449. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
  450. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +15 -15
  451. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
  452. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +5 -5
  453. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +2 -2
  454. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
  455. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +3 -3
  456. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  457. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +6 -6
  458. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  459. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
  460. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +8 -2
  461. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
  462. package/dist/components/lists-and-tables/list/list.d.ts +14 -11
  463. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  464. package/dist/components/lists-and-tables/list/list.js +36 -36
  465. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  466. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  467. package/dist/components/lists-and-tables/list/list.styles.js +9 -5
  468. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  469. package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
  470. package/dist/components/lists-and-tables/list/list.template.js +26 -9
  471. package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
  472. package/dist/components/lists-and-tables/list-item/list-item.d.ts +65 -43
  473. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  474. package/dist/components/lists-and-tables/list-item/list-item.js +116 -47
  475. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  476. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  477. package/dist/components/lists-and-tables/list-item/list-item.styles.js +4 -14
  478. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  479. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +35 -10
  480. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  481. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +45 -18
  482. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  483. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  484. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +4 -14
  485. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  486. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
  487. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
  488. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +11 -2
  489. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
  490. package/dist/components/lists-and-tables/table/table.d.ts +4 -2
  491. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  492. package/dist/components/lists-and-tables/table/table.js +15 -12
  493. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  494. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -2
  495. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  496. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -19
  497. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  498. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
  499. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +6 -6
  500. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  501. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
  502. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +10 -4
  503. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  504. package/dist/components/navigation/link/link.template.js +2 -2
  505. package/dist/components/navigation/menu-bar/menu-bar.js +1 -1
  506. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  507. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +4 -4
  508. package/dist/components/navigation/pagination/pagination.d.ts +0 -3
  509. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  510. package/dist/components/navigation/pagination/pagination.js +2 -13
  511. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  512. package/dist/components/navigation/pagination/pagination.styles.js +4 -4
  513. package/dist/components/navigation/pagination/pagination.template.js +3 -3
  514. package/dist/components/navigation/tab-bar/tab-bar.template.js +2 -2
  515. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +12 -0
  516. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  517. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +37 -2
  518. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  519. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  520. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +48 -3
  521. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  522. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.d.ts.map +1 -1
  523. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +4 -2
  524. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
  525. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +6 -2
  526. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  527. package/dist/components/navigation/top-title-bar/top-title-bar.js +7 -2
  528. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  529. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -2
  530. package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
  531. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +21 -6
  532. package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
  533. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  534. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -1
  535. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  536. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +4 -4
  537. package/dist/components/status-and-feedback/badge/badge.template.js +1 -1
  538. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  539. package/dist/components/status-and-feedback/banner/banner.js +2 -1
  540. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  541. package/dist/components/status-and-feedback/banner/banner.template.js +2 -2
  542. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +1 -1
  543. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +1 -1
  544. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +14 -5
  545. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  546. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +43 -13
  547. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  548. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
  549. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +4 -1
  550. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
  551. package/dist/components/status-and-feedback/notification/notification.d.ts +8 -8
  552. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  553. package/dist/components/status-and-feedback/notification/notification.js +13 -13
  554. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  555. package/dist/components/status-and-feedback/notification/notification.template.d.ts.map +1 -1
  556. package/dist/components/status-and-feedback/notification/notification.template.js +6 -3
  557. package/dist/components/status-and-feedback/notification/notification.template.js.map +1 -1
  558. package/dist/components/status-and-feedback/notification/{notification-region.d.ts → notifications-area.d.ts} +3 -3
  559. package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -0
  560. package/dist/components/status-and-feedback/notification/{notification-region.js → notifications-area.js} +137 -140
  561. package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -0
  562. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +4 -4
  563. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  564. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +11 -10
  565. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  566. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  567. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +10 -6
  568. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  569. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
  570. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +3 -2
  571. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
  572. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +6 -4
  573. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  574. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -13
  575. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  576. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
  577. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
  578. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +106 -18
  579. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  580. package/dist/components/status-and-feedback/status-bar/status-bar.template.js +1 -1
  581. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +4 -1
  582. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
  583. package/dist/components/status-and-feedback/step-indicator/step-indicator.js +4 -1
  584. package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
  585. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +2 -2
  586. package/dist/components/{with-translations-BAKFoEKy.js → with-translations-Dt2DTXJF.js} +40 -12
  587. package/dist/css/form-section.css +4 -4
  588. package/dist/css/form.css +4 -0
  589. package/dist/css/rich-text.css +31 -12
  590. package/dist/css/variables.css +33 -56
  591. package/dist/nldd.min.js +1772 -1113
  592. package/dist/translations/en-US.d.ts +17 -0
  593. package/dist/translations/en-US.d.ts.map +1 -0
  594. package/dist/translations/en-US.js +185 -0
  595. package/dist/translations/en-US.js.map +1 -0
  596. package/dist/translations/fy.d.ts +20 -0
  597. package/dist/translations/fy.d.ts.map +1 -0
  598. package/dist/translations/fy.js +185 -0
  599. package/dist/translations/fy.js.map +1 -0
  600. package/dist/translations/nl.generated.d.ts +188 -0
  601. package/dist/translations/nl.generated.d.ts.map +1 -0
  602. package/dist/translations/nl.generated.js +101 -0
  603. package/dist/translations/nl.generated.js.map +1 -0
  604. package/dist/translations/pap-AW.d.ts +22 -0
  605. package/dist/translations/pap-AW.d.ts.map +1 -0
  606. package/dist/translations/pap-AW.js +185 -0
  607. package/dist/translations/pap-AW.js.map +1 -0
  608. package/dist/translations/pap-CW.d.ts +22 -0
  609. package/dist/translations/pap-CW.d.ts.map +1 -0
  610. package/dist/translations/pap-CW.js +185 -0
  611. package/dist/translations/pap-CW.js.map +1 -0
  612. package/dist/types/vue.d.ts +387 -302
  613. package/dist/utilities/page-section-mixin.d.ts +3 -8
  614. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  615. package/dist/utilities/page-section-mixin.js +4 -84
  616. package/dist/utilities/page-section-mixin.js.map +1 -1
  617. package/dist/utilities/title-bar-label-controller.d.ts +25 -0
  618. package/dist/utilities/title-bar-label-controller.d.ts.map +1 -0
  619. package/dist/utilities/title-bar-label-controller.js +52 -0
  620. package/dist/utilities/title-bar-label-controller.js.map +1 -0
  621. package/dist/utilities/translations.d.ts +37 -0
  622. package/dist/utilities/translations.d.ts.map +1 -0
  623. package/dist/utilities/translations.js +80 -0
  624. package/dist/utilities/translations.js.map +1 -0
  625. package/dist/utilities/with-translations.d.ts.map +1 -1
  626. package/dist/utilities/with-translations.js +2 -15
  627. package/dist/utilities/with-translations.js.map +1 -1
  628. package/package.json +32 -4
  629. package/dist/components/status-and-feedback/notification/notification-region.d.ts.map +0 -1
  630. package/dist/components/status-and-feedback/notification/notification-region.js.map +0 -1
@@ -17,6 +17,13 @@ declare const NLDDListItem_base: (abstract new (...args: any[]) => LitElement &
17
17
  * plain container otherwise. All cells and segments share one flat
18
18
  * slot, in source order.
19
19
  *
20
+ * ## One action or several
21
+ * With one action, make the row itself the control (`href`, `button`,
22
+ * `checkbox` or `radio`): the whole row is then one hit area. With two or
23
+ * more, give each its own `nldd-list-item-segment` and leave the row without
24
+ * an action of its own. Both at once nests a control inside a control, and the
25
+ * item warns about that in development.
26
+ *
20
27
  * ## Geometry
21
28
  * Two rules govern every row:
22
29
  * 1. State fills always paint the WIDENED row geometry — the row box extended
@@ -57,8 +64,8 @@ declare const NLDDListItem_base: (abstract new (...args: any[]) => LitElement &
57
64
  *
58
65
  * `checkbox` makes the WHOLE row the control: the inner action becomes a
59
66
  * `role="checkbox"` button carrying `aria-checked`, it toggles `checked` on
60
- * activation and fires `change`. Slot a visual `nldd-checkbox` (or any glyph)
61
- * before the text and mark it `aria-hidden` + non-focusable — the row already
67
+ * activation and fires `change`. Slot an `nldd-checkbox decorative` (or any
68
+ * glyph) before the text: it only shows the state, since the row already
62
69
  * conveys role and state, and a second focusable control would double the tab
63
70
  * stops. Do NOT nest a real `<input type="checkbox">` in the action: interactive
64
71
  * content inside a `<button>` is invalid HTML and AT announces the button, not
@@ -82,20 +89,24 @@ declare const NLDDListItem_base: (abstract new (...args: any[]) => LitElement &
82
89
  * @element nldd-list-item
83
90
  *
84
91
  * @attr {'sm'|'md'} size - Row size (default: 'md'). Pushed onto the cells whose `size` means the same scale (nldd-text-cell, nldd-drag-handle-cell), so it is written once per row instead of once per cell. A size set on the cell itself wins. Cells where `size` means something else — pixels on nldd-icon-cell / nldd-spacer-cell, a heading scale on nldd-title-cell — are left alone.
85
- * @attr {boolean} selected - Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current="page"` on the inner action, in a `listbox` parent it drives `aria-selected`.
86
- * @attr {boolean} current - Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, and takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current="page"` on the inner action. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs.
92
+ * @attr {string} href - Renders the item as an `<a>` with this URL. Wins over `checkbox` and `button`; without any of the three the item is a plain container with no action.
93
+ * @attr {string} target - Link target forwarded to the `<a>` (e.g. '_blank'); only applies with `href`. With '_blank' a visually hidden "opens in new tab" announcement is added for assistive technology.
94
+ * @attr {string} rel - Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set
87
95
  * @attr {boolean} button - Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it.
88
96
  * @attr {boolean} checkbox - Makes the whole row a `role="checkbox"` control. Wins over `button`, loses to `href`.
89
97
  * @attr {boolean} radio - Makes the whole row one radio of a group: the action becomes a `role="radio"` button carrying `aria-checked`, and activation sets `checked` (never clears it) and fires `change`. Put the rows in an `nldd-list type="radiogroup"`, which is what makes them a set. Wins over `button`, loses to `href` and `checkbox`. The arrow keys move focus without checking, where a native radio group and `nldd-radio-button-group` check as they go: a row can carry more than a label, so stepping past one should not commit it.
98
+ * @attr {boolean} reorderable - Set by the parent `nldd-list` when its own `reorderable` is on (with `type="list"`); consumers do not set this. Serves as a CSS hook for drag handle visibility.
99
+ * @attr {boolean} selected - Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current="page"` on the inner action, in a `listbox` parent it drives `aria-selected`.
90
100
  * @attr {boolean} checked - Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it
91
- * @attr {boolean} disabled - Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row.
92
101
  * @attr {boolean} expanded - Disclosure state. Drives the `children` group's visibility AND supplies `aria-expanded` — to the row's own control when the row is interactive, or to the segment marked `disclosure`. Written once either way; the item DEV-warns when there is nowhere for it to live.
93
- * @attr {string} href - Renders the item as an `<a>` with this URL. Wins over `checkbox` and `button`; without any of the three the item is a plain container with no action.
94
- * @attr {string} target - Link target forwarded to the `<a>` (e.g. '_blank'); only applies with `href`. With '_blank' a visually hidden "opens in new tab" announcement is added for assistive technology.
95
- * @attr {string} rel - Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set
96
- * @attr {boolean} reorderable - Set by the parent `nldd-list` when its own `reorderable` is on (with `type="list"`); consumers do not set this. Serves as a CSS hook for drag handle visibility.
102
+ * @attr {boolean} current - Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, and takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current="page"` on the inner action. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs.
103
+ * @attr {boolean} disabled - Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row.
97
104
  *
98
- * @slot - Cells and segments, in source order
105
+ * Divider markers, set on a CELL in the row rather than on the row itself:
106
+ * @attr {boolean} divider-start - The divider starts at this cell instead of at the row's first text or title cell. On the leading cell it restores the full-width line.
107
+ * @attr {boolean} divider-end - The divider stops after this cell. With several markers the line runs from the first start to the last end.
108
+ *
109
+ * @slot - Cells and segments, in source order. Anything else, bare text included, gets none of a cell's typography, size and alignment, and warns in development.
99
110
  * @slot children - Child rows of a branch in an `nldd-list type="tree"`. Rendered as a `role="group"` below the row, hidden while `expanded` is false. The nesting IS the hierarchy, so aria-level / -posinset / -setsize are derived, not authored. The group has no styling of its own: repeat a spacer-cell per level to indent, or show depth some other way.
100
111
  *
101
112
  * @fires change - On a `checkbox` row after it toggles, and on a `radio` row when it becomes checked; detail: { checked: boolean }
@@ -103,35 +114,31 @@ declare const NLDDListItem_base: (abstract new (...args: any[]) => LitElement &
103
114
  export declare class NLDDListItem extends NLDDListItem_base {
104
115
  static styles: import("lit").CSSResult[];
105
116
  size: ListItemSize;
106
- selected: boolean;
117
+ /** When set, renders the item as a link. */
118
+ href?: string;
107
119
  /**
108
- * The row you are on, as opposed to the rows you picked (`selected`).
109
- *
110
- * Kept apart because the two say different things and a list can show both:
111
- * a checkbox list where three rows are ticked and one is open. At rest they
112
- * paint the same, so a menu reads the same as it always did; the difference
113
- * shows when focus is in the row.
120
+ * Link target (e.g. '_blank' to open in a new tab). Forwarded to the `<a>`; only applies with href.
121
+ * When set to '_blank', the item appends a visually hidden "opens in new tab" announcement to the
122
+ * link so the change of context is conveyed to assistive technology (WCAG 2.1 SC 3.2.2). Override
123
+ * the wording via the `translations` property.
114
124
  */
115
- current: boolean;
125
+ target?: string;
126
+ /** Link rel, forwarded to the `<a>` with href. With target '_blank',
127
+ * 'noopener noreferrer' is added to it. */
128
+ rel?: string;
116
129
  /** When set, renders the item as a button; ignored when href is set. */
117
130
  button: boolean;
118
131
  /** When set, the whole row is the checkbox control. Ignored when href is set. */
119
132
  checkbox: boolean;
120
133
  /** When set, the whole row is one radio of a group. Ignored when href is set. */
121
134
  radio: boolean;
135
+ /** Set by the parent nldd-list when reorderable is enabled. Used as a CSS hook for drag handle visibility. */
136
+ reorderable: boolean;
137
+ selected: boolean;
122
138
  /** Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on
123
139
  * activation; a radio row only ever sets it, because picking the option you
124
140
  * already have is not a way to unpick it. */
125
141
  checked: boolean;
126
- /**
127
- * Switches off the row's own control.
128
- *
129
- * Only the row's own: a row built out of segments has no control here, and
130
- * each segment carries its own `disabled`. A link cannot be disabled the way
131
- * a button can, so there it is `aria-disabled` plus a blocked click, the
132
- * same trade `nldd-button` makes.
133
- */
134
- disabled: boolean;
135
142
  /**
136
143
  * Disclosure state of a row that opens something (a tree row's children, a
137
144
  * details panel). Reflected as `aria-expanded` on the row's own control —
@@ -139,20 +146,24 @@ export declare class NLDDListItem extends NLDDListItem_base {
139
146
  * the attribute off entirely when the row discloses nothing.
140
147
  */
141
148
  expanded?: boolean;
142
- /** When set, renders the item as a link. */
143
- href?: string;
144
149
  /**
145
- * Link target (e.g. '_blank' to open in a new tab). Forwarded to the `<a>`; only applies with href.
146
- * When set to '_blank', the item appends a visually hidden "opens in new tab" announcement to the
147
- * link so the change of context is conveyed to assistive technology (WCAG 2.1 SC 3.2.2). Override
148
- * the wording via the `translations` property.
150
+ * The row you are on, as opposed to the rows you picked (`selected`).
151
+ *
152
+ * Kept apart because the two say different things and a list can show both:
153
+ * a checkbox list where three rows are ticked and one is open. At rest they
154
+ * paint the same, so a menu reads the same as it always did; the difference
155
+ * shows when focus is in the row.
149
156
  */
150
- target?: string;
151
- /** Link rel, forwarded to the `<a>` with href. With target '_blank',
152
- * 'noopener noreferrer' is added to it. */
153
- rel?: string;
154
- /** Set by the parent nldd-list when reorderable is enabled. Used as a CSS hook for drag handle visibility. */
155
- reorderable: boolean;
157
+ current: boolean;
158
+ /**
159
+ * Switches off the row's own control.
160
+ *
161
+ * Only the row's own: a row built out of segments has no control here, and
162
+ * each segment carries its own `disabled`. A link cannot be disabled the way
163
+ * a button can, so there it is `aria-disabled` plus a blocked click, the
164
+ * same trade `nldd-button` makes.
165
+ */
166
+ disabled: boolean;
156
167
  private _showChildren;
157
168
  private _parentType;
158
169
  /** Set by the parent nldd-list when it runs the roving tabindex (everywhere
@@ -182,6 +193,8 @@ export declare class NLDDListItem extends NLDDListItem_base {
182
193
  private _observedMarkerTargets;
183
194
  private _warnedDegenerateDivider;
184
195
  private _warnedChildrenOutsideTree;
196
+ private _warnedStrayContent;
197
+ private _warnedNestedControl;
185
198
  connectedCallback(): void;
186
199
  disconnectedCallback(): void;
187
200
  private _onLightDomChange;
@@ -282,18 +295,27 @@ export declare class NLDDListItem extends NLDDListItem_base {
282
295
  private _relayExpanded;
283
296
  /** `expanded` needs a control to sit on; a plain container has none. */
284
297
  private _warnOnStrayExpanded;
298
+ /** A row takes cells and segments. Anything else gets none of the typography,
299
+ * size and alignment a cell brings, and bare text in a clickable row falls
300
+ * back to the browser's button font. */
301
+ private _warnOnStrayContent;
302
+ /** A row that is its own control cannot hold another one: a control inside a
303
+ * link or button is invalid HTML, doubles the tab stop, and a press on it can
304
+ * set off the row as well. A glyph that only shows the row's state is fine:
305
+ * a `decorative` radio button, or a checkbox marked `aria-hidden`. */
306
+ private _warnOnNestedControl;
285
307
  /** True when the item is an option in a `type="listbox"` parent. */
286
308
  get _isListboxOption(): boolean;
287
309
  /**
288
- * Reads the initial variant + type from the closest parent nldd-list, before
310
+ * Reads the initial appearance + type from the closest parent nldd-list, before
289
311
  * the first render, so the item is styled correctly on first paint. Later changes
290
- * are PUSHED by the list: its `updated` / `_updateItems` calls `_applyVariant`
312
+ * are PUSHED by the list: its `updated` / `_updateItems` calls `_applyAppearance`
291
313
  * and `_applyParentType` on every item, so the list is the single source of
292
- * truth and a runtime variant/type switch (or an item moved to another list)
314
+ * truth and a runtime appearance/type switch (or an item moved to another list)
293
315
  * always tracks its current parent.
294
316
  */
295
317
  private _syncWithList;
296
- _applyVariant(variant: string): void;
318
+ _applyAppearance(appearance: string): void;
297
319
  _applyParentType(type: ListType): void;
298
320
  /** Nested rows sit in this item's `children` slot, not the list's, so a plain
299
321
  * `querySelector` from the list walks past them. */
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list-item/list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAQ1C,OAAO,KAAK,EAAY,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC;AAevC,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;;;;;;;AAkD9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,qBACa,YAAa,SAAQ,iBAAsD;IACvF,OAAgB,MAAM,4BAAoB;IAG1C,IAAI,EAAE,YAAY,CAAQ;IAG1B,QAAQ,UAAS;IAEjB;;;;;;;OAOG;IAEH,OAAO,UAAS;IAEhB,wEAAwE;IAExE,MAAM,UAAS;IAE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eAAe;IAuBvB,OAAO,CAAC,YAAY,CA+BlB;IAEF,OAAO,CAAC,cAAc,CAOpB;IAEF,OAAO,CAAC,eAAe,CAErB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAKlB;IAEF,OAAO,CAAC,cAAc,CAgBpB;IAEF;;iFAE6E;IAC7E,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,aAAa,CAInB;IAEF;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAY5C;;;;;;;;;;;;;;;OAeG;IACH,mBAAmB,IAAI,IAAI;IAmB3B;;;;;;;;;;;;;;;;OAgBG;IACH,kBAAkB,CAAC,IAAI,EAAE,SAAS,WAAW,EAAE,GAAG,OAAO,GAAG,IAAI;IAWhE;;;;;;;;;;OAUG;IACH,aAAa,IAAI,IAAI;IAMrB,wEAAwE;IACxE,OAAO,CAAC,YAAY;IAQpB;;2CAEuC;IACvC,OAAO,KAAK,kBAAkB,GAS7B;IAED;;mCAE+B;IAC/B,mBAAmB,IAAI,OAAO;IAa9B;;;;;OAKG;IACH,gBAAgB,IAAI,OAAO;IAc3B,yEAAyE;IACzE,IAAI,SAAS,IAAI,YAAY,GAAG,SAAS,CAIxC;IAEQ,MAAM;CAmCf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
@@ -65,12 +65,25 @@ function releaseTabbable(el) {
65
65
  applyAuthoredTabState(el, authored);
66
66
  authoredTabState.delete(el);
67
67
  }
68
+ /** What counts as a control of its own inside a row that already is one. */
69
+ const NESTED_CONTROLS = [
70
+ 'nldd-list-item-segment', 'nldd-button', 'nldd-icon-button', 'nldd-link',
71
+ 'nldd-checkbox', 'nldd-radio-button', 'nldd-switch',
72
+ 'a[href]', 'button', 'input', 'select', 'textarea',
73
+ ].join(', ');
68
74
  /**
69
75
  * A row within an `nldd-list`. Renders as a link when `href` is set, as a
70
76
  * checkbox when `checkbox` is set, as a button when `button` is set, or as a
71
77
  * plain container otherwise. All cells and segments share one flat
72
78
  * slot, in source order.
73
79
  *
80
+ * ## One action or several
81
+ * With one action, make the row itself the control (`href`, `button`,
82
+ * `checkbox` or `radio`): the whole row is then one hit area. With two or
83
+ * more, give each its own `nldd-list-item-segment` and leave the row without
84
+ * an action of its own. Both at once nests a control inside a control, and the
85
+ * item warns about that in development.
86
+ *
74
87
  * ## Geometry
75
88
  * Two rules govern every row:
76
89
  * 1. State fills always paint the WIDENED row geometry — the row box extended
@@ -111,8 +124,8 @@ function releaseTabbable(el) {
111
124
  *
112
125
  * `checkbox` makes the WHOLE row the control: the inner action becomes a
113
126
  * `role="checkbox"` button carrying `aria-checked`, it toggles `checked` on
114
- * activation and fires `change`. Slot a visual `nldd-checkbox` (or any glyph)
115
- * before the text and mark it `aria-hidden` + non-focusable — the row already
127
+ * activation and fires `change`. Slot an `nldd-checkbox decorative` (or any
128
+ * glyph) before the text: it only shows the state, since the row already
116
129
  * conveys role and state, and a second focusable control would double the tab
117
130
  * stops. Do NOT nest a real `<input type="checkbox">` in the action: interactive
118
131
  * content inside a `<button>` is invalid HTML and AT announces the button, not
@@ -136,20 +149,24 @@ function releaseTabbable(el) {
136
149
  * @element nldd-list-item
137
150
  *
138
151
  * @attr {'sm'|'md'} size - Row size (default: 'md'). Pushed onto the cells whose `size` means the same scale (nldd-text-cell, nldd-drag-handle-cell), so it is written once per row instead of once per cell. A size set on the cell itself wins. Cells where `size` means something else — pixels on nldd-icon-cell / nldd-spacer-cell, a heading scale on nldd-title-cell — are left alone.
139
- * @attr {boolean} selected - Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current="page"` on the inner action, in a `listbox` parent it drives `aria-selected`.
140
- * @attr {boolean} current - Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, and takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current="page"` on the inner action. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs.
152
+ * @attr {string} href - Renders the item as an `<a>` with this URL. Wins over `checkbox` and `button`; without any of the three the item is a plain container with no action.
153
+ * @attr {string} target - Link target forwarded to the `<a>` (e.g. '_blank'); only applies with `href`. With '_blank' a visually hidden "opens in new tab" announcement is added for assistive technology.
154
+ * @attr {string} rel - Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set
141
155
  * @attr {boolean} button - Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it.
142
156
  * @attr {boolean} checkbox - Makes the whole row a `role="checkbox"` control. Wins over `button`, loses to `href`.
143
157
  * @attr {boolean} radio - Makes the whole row one radio of a group: the action becomes a `role="radio"` button carrying `aria-checked`, and activation sets `checked` (never clears it) and fires `change`. Put the rows in an `nldd-list type="radiogroup"`, which is what makes them a set. Wins over `button`, loses to `href` and `checkbox`. The arrow keys move focus without checking, where a native radio group and `nldd-radio-button-group` check as they go: a row can carry more than a label, so stepping past one should not commit it.
158
+ * @attr {boolean} reorderable - Set by the parent `nldd-list` when its own `reorderable` is on (with `type="list"`); consumers do not set this. Serves as a CSS hook for drag handle visibility.
159
+ * @attr {boolean} selected - Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current="page"` on the inner action, in a `listbox` parent it drives `aria-selected`.
144
160
  * @attr {boolean} checked - Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it
145
- * @attr {boolean} disabled - Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row.
146
161
  * @attr {boolean} expanded - Disclosure state. Drives the `children` group's visibility AND supplies `aria-expanded` — to the row's own control when the row is interactive, or to the segment marked `disclosure`. Written once either way; the item DEV-warns when there is nowhere for it to live.
147
- * @attr {string} href - Renders the item as an `<a>` with this URL. Wins over `checkbox` and `button`; without any of the three the item is a plain container with no action.
148
- * @attr {string} target - Link target forwarded to the `<a>` (e.g. '_blank'); only applies with `href`. With '_blank' a visually hidden "opens in new tab" announcement is added for assistive technology.
149
- * @attr {string} rel - Link rel forwarded to the `<a>`, only with `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set
150
- * @attr {boolean} reorderable - Set by the parent `nldd-list` when its own `reorderable` is on (with `type="list"`); consumers do not set this. Serves as a CSS hook for drag handle visibility.
162
+ * @attr {boolean} current - Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, and takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current="page"` on the inner action. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs.
163
+ * @attr {boolean} disabled - Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row.
164
+ *
165
+ * Divider markers, set on a CELL in the row rather than on the row itself:
166
+ * @attr {boolean} divider-start - The divider starts at this cell instead of at the row's first text or title cell. On the leading cell it restores the full-width line.
167
+ * @attr {boolean} divider-end - The divider stops after this cell. With several markers the line runs from the first start to the last end.
151
168
  *
152
- * @slot - Cells and segments, in source order
169
+ * @slot - Cells and segments, in source order. Anything else, bare text included, gets none of a cell's typography, size and alignment, and warns in development.
153
170
  * @slot children - Child rows of a branch in an `nldd-list type="tree"`. Rendered as a `role="group"` below the row, hidden while `expanded` is false. The nesting IS the hierarchy, so aria-level / -posinset / -setsize are derived, not authored. The group has no styling of its own: repeat a spacer-cell per level to indent, or show depth some other way.
154
171
  *
155
172
  * @fires change - On a `checkbox` row after it toggles, and on a `radio` row when it becomes checked; detail: { checked: boolean }
@@ -158,26 +175,28 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
158
175
  constructor() {
159
176
  super(...arguments);
160
177
  this.size = 'md';
161
- this.selected = false;
162
- /**
163
- * The row you are on, as opposed to the rows you picked (`selected`).
164
- *
165
- * Kept apart because the two say different things and a list can show both:
166
- * a checkbox list where three rows are ticked and one is open. At rest they
167
- * paint the same, so a menu reads the same as it always did; the difference
168
- * shows when focus is in the row.
169
- */
170
- this.current = false;
171
178
  /** When set, renders the item as a button; ignored when href is set. */
172
179
  this.button = false;
173
180
  /** When set, the whole row is the checkbox control. Ignored when href is set. */
174
181
  this.checkbox = false;
175
182
  /** When set, the whole row is one radio of a group. Ignored when href is set. */
176
183
  this.radio = false;
184
+ /** Set by the parent nldd-list when reorderable is enabled. Used as a CSS hook for drag handle visibility. */
185
+ this.reorderable = false;
186
+ this.selected = false;
177
187
  /** Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on
178
188
  * activation; a radio row only ever sets it, because picking the option you
179
189
  * already have is not a way to unpick it. */
180
190
  this.checked = false;
191
+ /**
192
+ * The row you are on, as opposed to the rows you picked (`selected`).
193
+ *
194
+ * Kept apart because the two say different things and a list can show both:
195
+ * a checkbox list where three rows are ticked and one is open. At rest they
196
+ * paint the same, so a menu reads the same as it always did; the difference
197
+ * shows when focus is in the row.
198
+ */
199
+ this.current = false;
181
200
  /**
182
201
  * Switches off the row's own control.
183
202
  *
@@ -187,8 +206,6 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
187
206
  * same trade `nldd-button` makes.
188
207
  */
189
208
  this.disabled = false;
190
- /** Set by the parent nldd-list when reorderable is enabled. Used as a CSS hook for drag handle visibility. */
191
- this.reorderable = false;
192
209
  this._showChildren = false;
193
210
  this._parentType = 'list';
194
211
  /** Set by the parent nldd-list when it runs the roving tabindex (everywhere
@@ -217,8 +234,36 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
217
234
  this._observedMarkerTargets = [];
218
235
  this._warnedDegenerateDivider = false;
219
236
  this._warnedChildrenOutsideTree = false;
237
+ this._warnedStrayContent = false;
238
+ this._warnedNestedControl = false;
220
239
  /** Remembers the size a cell was authored with, so a later push can restore it. */
221
240
  this._ownCellSize = new WeakMap();
241
+ /** A row takes cells and segments. Anything else gets none of the typography,
242
+ * size and alignment a cell brings, and bare text in a clickable row falls
243
+ * back to the browser's button font. */
244
+ this._warnOnStrayContent = (e) => {
245
+ if (!import.meta.env?.DEV || this._warnedStrayContent)
246
+ return;
247
+ const slot = e.target;
248
+ if (slot.name)
249
+ return;
250
+ const stray = slot.assignedNodes({ flatten: true }).find((node) => {
251
+ if (node.nodeType === Node.TEXT_NODE)
252
+ return (node.textContent ?? '').trim() !== '';
253
+ if (node.nodeType !== Node.ELEMENT_NODE)
254
+ return false;
255
+ const tag = node.localName;
256
+ return tag !== 'nldd-list-item-segment' && !(tag.startsWith('nldd-') && tag.endsWith('-cell'));
257
+ });
258
+ this._warnOnNestedControl();
259
+ if (!stray)
260
+ return;
261
+ this._warnedStrayContent = true;
262
+ const what = stray.nodeType === Node.TEXT_NODE
263
+ ? `bare text ("${stray.textContent.trim().slice(0, 40)}")`
264
+ : `<${stray.localName}>`;
265
+ console.warn(`nldd-list-item: ${what} sits directly in a row. A row takes cells and segments (nldd-text-cell, nldd-icon-cell, nldd-list-item-segment, …). Anything else gets none of their typography, size and alignment, and bare text in a clickable row falls back to the browser's button font. Wrap it in a cell.`);
266
+ };
222
267
  this._handleClick = (e) => {
223
268
  // A disabled <button> never gets here, but a link does: there is no such
224
269
  // thing as a disabled <a>, so the row stops the navigation itself.
@@ -467,7 +512,7 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
467
512
  }
468
513
  willUpdate(changed) {
469
514
  super.willUpdate(changed);
470
- // Before the first render, so the row is painted with the list's variant and
515
+ // Before the first render, so the row is painted with the list's appearance and
471
516
  // type right away. Setting them in `firstUpdated` asks for a second render
472
517
  // from inside the first.
473
518
  if (this.hasUpdated || this.hasAttribute('data-nldd-clone'))
@@ -480,6 +525,9 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
480
525
  if (this.hasAttribute('data-nldd-clone'))
481
526
  return;
482
527
  this._observeChildrenSlot();
528
+ // On the shadow root, not on the slot: the default slot is re-rendered
529
+ // inside a different wrapper when the row becomes a link or a button.
530
+ this.renderRoot.addEventListener('slotchange', this._warnOnStrayContent);
483
531
  // Read out of the row's own shadow DOM, so not before the first render,
484
532
  // and deferred out of the update cycle: setting the state here would
485
533
  // schedule a second update from inside the first.
@@ -536,6 +584,7 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
536
584
  }
537
585
  if (changed.has('button') || changed.has('checkbox') || changed.has('radio') || changed.has('href')) {
538
586
  this._updateInteractive();
587
+ this._warnOnNestedControl();
539
588
  }
540
589
  if (changed.has('expanded')) {
541
590
  this._relayExpanded();
@@ -585,16 +634,36 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
585
634
  return;
586
635
  console.warn('nldd-list-item: `expanded` needs somewhere to live — make the row interactive (href, button or checkbox), or mark the segment that does the disclosing with `disclosure`.');
587
636
  }
637
+ /** A row that is its own control cannot hold another one: a control inside a
638
+ * link or button is invalid HTML, doubles the tab stop, and a press on it can
639
+ * set off the row as well. A glyph that only shows the row's state is fine:
640
+ * a `decorative` radio button, or a checkbox marked `aria-hidden`. */
641
+ _warnOnNestedControl() {
642
+ if (!import.meta.env?.DEV || this._warnedNestedControl)
643
+ return;
644
+ if (this.hasAttribute('data-nldd-clone'))
645
+ return;
646
+ if (!(this.href || this.button || this.checkbox || this.radio))
647
+ return;
648
+ const nested = [...this.children]
649
+ .filter((child) => !child.slot)
650
+ .flatMap((child) => [child, ...child.querySelectorAll('*')])
651
+ .find((el) => el.matches(NESTED_CONTROLS) && !el.matches('[decorative]') && !el.closest('[aria-hidden="true"], [inert]'));
652
+ if (!nested)
653
+ return;
654
+ this._warnedNestedControl = true;
655
+ console.warn(`nldd-list-item: <${nested.localName}> sits in a row that is its own control (href, button, checkbox or radio). A control inside a control is invalid HTML and doubles the tab stop. With more than one action, give each its own nldd-list-item-segment and leave the row without an action.`);
656
+ }
588
657
  /** True when the item is an option in a `type="listbox"` parent. */
589
658
  get _isListboxOption() {
590
659
  return this._parentType === 'listbox';
591
660
  }
592
661
  /**
593
- * Reads the initial variant + type from the closest parent nldd-list, before
662
+ * Reads the initial appearance + type from the closest parent nldd-list, before
594
663
  * the first render, so the item is styled correctly on first paint. Later changes
595
- * are PUSHED by the list: its `updated` / `_updateItems` calls `_applyVariant`
664
+ * are PUSHED by the list: its `updated` / `_updateItems` calls `_applyAppearance`
596
665
  * and `_applyParentType` on every item, so the list is the single source of
597
- * truth and a runtime variant/type switch (or an item moved to another list)
666
+ * truth and a runtime appearance/type switch (or an item moved to another list)
598
667
  * always tracks its current parent.
599
668
  */
600
669
  _syncWithList() {
@@ -605,12 +674,12 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
605
674
  }
606
675
  return;
607
676
  }
608
- this._applyVariant(list.variant);
677
+ this._applyAppearance(list.appearance);
609
678
  this._applyParentType(list.type);
610
679
  }
611
- _applyVariant(variant) {
612
- this._isBoxed = variant.startsWith('box');
613
- this._relayToChildren(item => item._applyVariant(variant));
680
+ _applyAppearance(appearance) {
681
+ this._isBoxed = appearance.startsWith('box');
682
+ this._relayToChildren(item => item._applyAppearance(appearance));
614
683
  this.classList.toggle('is-boxed', this._isBoxed);
615
684
  }
616
685
  _applyParentType(type) {
@@ -750,7 +819,7 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
750
819
  // A start past the last end: authoring error, fall back to full width.
751
820
  if (import.meta.env?.DEV && !this._warnedDegenerateDivider) {
752
821
  this._warnedDegenerateDivider = true;
753
- console.warn('nldd-list-item: divider-start ligt voorbij de laatste divider-end; de divider valt terug op de volle contentbreedte.');
822
+ console.warn('<nldd-list-item>: divider-start lies past the last divider-end, so the divider falls back to the full content width.');
754
823
  }
755
824
  this.style.removeProperty('--_divider-inset-start');
756
825
  this.style.removeProperty('--_divider-inset-end');
@@ -783,7 +852,7 @@ let NLDDListItem = NLDDListItem_1 = class NLDDListItem extends withTranslations(
783
852
  // reach them. Relay what we were given, and they relay it downwards.
784
853
  rows.forEach(row => {
785
854
  const item = row;
786
- item._applyVariant?.(this._isBoxed ? 'box-tinted' : 'simple');
855
+ item._applyAppearance?.(this._isBoxed ? 'box-tinted' : 'simple');
787
856
  item._applyParentType?.(this._parentType);
788
857
  });
789
858
  }
@@ -998,11 +1067,14 @@ __decorate([
998
1067
  property({ reflect: true, converter: reflectNonDefault('md') })
999
1068
  ], NLDDListItem.prototype, "size", void 0);
1000
1069
  __decorate([
1001
- property({ type: Boolean, reflect: true })
1002
- ], NLDDListItem.prototype, "selected", void 0);
1070
+ property({ reflect: true })
1071
+ ], NLDDListItem.prototype, "href", void 0);
1003
1072
  __decorate([
1004
- property({ type: Boolean, reflect: true })
1005
- ], NLDDListItem.prototype, "current", void 0);
1073
+ property({ reflect: true })
1074
+ ], NLDDListItem.prototype, "target", void 0);
1075
+ __decorate([
1076
+ property({ reflect: true })
1077
+ ], NLDDListItem.prototype, "rel", void 0);
1006
1078
  __decorate([
1007
1079
  property({ type: Boolean, reflect: true })
1008
1080
  ], NLDDListItem.prototype, "button", void 0);
@@ -1014,25 +1086,22 @@ __decorate([
1014
1086
  ], NLDDListItem.prototype, "radio", void 0);
1015
1087
  __decorate([
1016
1088
  property({ type: Boolean, reflect: true })
1017
- ], NLDDListItem.prototype, "checked", void 0);
1089
+ ], NLDDListItem.prototype, "reorderable", void 0);
1018
1090
  __decorate([
1019
1091
  property({ type: Boolean, reflect: true })
1020
- ], NLDDListItem.prototype, "disabled", void 0);
1092
+ ], NLDDListItem.prototype, "selected", void 0);
1021
1093
  __decorate([
1022
1094
  property({ type: Boolean, reflect: true })
1023
- ], NLDDListItem.prototype, "expanded", void 0);
1024
- __decorate([
1025
- property({ reflect: true })
1026
- ], NLDDListItem.prototype, "href", void 0);
1095
+ ], NLDDListItem.prototype, "checked", void 0);
1027
1096
  __decorate([
1028
- property({ reflect: true })
1029
- ], NLDDListItem.prototype, "target", void 0);
1097
+ property({ type: Boolean, reflect: true })
1098
+ ], NLDDListItem.prototype, "expanded", void 0);
1030
1099
  __decorate([
1031
- property({ reflect: true })
1032
- ], NLDDListItem.prototype, "rel", void 0);
1100
+ property({ type: Boolean, reflect: true })
1101
+ ], NLDDListItem.prototype, "current", void 0);
1033
1102
  __decorate([
1034
1103
  property({ type: Boolean, reflect: true })
1035
- ], NLDDListItem.prototype, "reorderable", void 0);
1104
+ ], NLDDListItem.prototype, "disabled", void 0);
1036
1105
  __decorate([
1037
1106
  state()
1038
1107
  ], NLDDListItem.prototype, "_showChildren", void 0);