@nldd/design-system 0.8.70 → 0.8.72

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 (530) hide show
  1. package/README.md +12 -5
  2. package/custom-elements.json +2990 -577
  3. package/dist/assets/styles/style-resets.d.ts +1 -1
  4. package/dist/assets/styles/style-resets.js +1 -1
  5. package/dist/components/actions/button/button.d.ts +10 -5
  6. package/dist/components/actions/button/button.d.ts.map +1 -1
  7. package/dist/components/actions/button/button.i18n.d.ts +1 -1
  8. package/dist/components/actions/button/button.i18n.js +1 -1
  9. package/dist/components/actions/button/button.i18n.js.map +1 -1
  10. package/dist/components/actions/button/button.js +19 -4
  11. package/dist/components/actions/button/button.js.map +1 -1
  12. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  13. package/dist/components/actions/button/button.styles.js +13 -3
  14. package/dist/components/actions/button/button.styles.js.map +1 -1
  15. package/dist/components/actions/button/button.template.js +1 -1
  16. package/dist/components/actions/button/button.template.js.map +1 -1
  17. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  18. package/dist/components/actions/button-bar/button-bar.js +6 -0
  19. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  20. package/dist/components/actions/icon-button/icon-button.d.ts +26 -39
  21. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  22. package/dist/components/actions/icon-button/icon-button.i18n.d.ts +1 -1
  23. package/dist/components/actions/icon-button/icon-button.i18n.js +1 -1
  24. package/dist/components/actions/icon-button/icon-button.i18n.js.map +1 -1
  25. package/dist/components/actions/icon-button/icon-button.js +25 -38
  26. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  27. package/dist/components/actions/icon-button/icon-button.styles.js +1 -1
  28. package/dist/components/actions/icon-button/icon-button.template.js +1 -1
  29. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  30. package/dist/components/actions/menu/menu.d.ts +47 -52
  31. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  32. package/dist/components/actions/menu/menu.js +55 -54
  33. package/dist/components/actions/menu/menu.js.map +1 -1
  34. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  35. package/dist/components/actions/menu/menu.styles.js +7 -1
  36. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  37. package/dist/components/actions/menu/menu.template.js +1 -1
  38. package/dist/components/actions/menu/menu.template.js.map +1 -1
  39. package/dist/components/actions/toolbar/toolbar.d.ts +10 -4
  40. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  41. package/dist/components/actions/toolbar/toolbar.js +30 -11
  42. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  43. package/dist/components/actions/toolbar/toolbar.styles.js +3 -3
  44. package/dist/components/components.js +65 -62
  45. package/dist/components/content/avatar/avatar.d.ts +44 -12
  46. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  47. package/dist/components/content/avatar/avatar.i18n.d.ts +5 -0
  48. package/dist/components/content/avatar/avatar.i18n.d.ts.map +1 -0
  49. package/dist/components/content/avatar/avatar.i18n.js +4 -0
  50. package/dist/components/content/avatar/avatar.i18n.js.map +1 -0
  51. package/dist/components/content/avatar/avatar.js +87 -13
  52. package/dist/components/content/avatar/avatar.js.map +1 -1
  53. package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
  54. package/dist/components/content/avatar/avatar.styles.js +44 -9
  55. package/dist/components/content/avatar/avatar.styles.js.map +1 -1
  56. package/dist/components/content/avatar/avatar.template.d.ts +2 -1
  57. package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
  58. package/dist/components/content/avatar/avatar.template.js +53 -23
  59. package/dist/components/content/avatar/avatar.template.js.map +1 -1
  60. package/dist/components/content/byline/byline.d.ts +6 -6
  61. package/dist/components/content/byline/byline.js +6 -6
  62. package/dist/components/content/code-viewer/code-viewer.js +2 -2
  63. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  64. package/dist/components/content/code-viewer/code-viewer.styles.js +5 -4
  65. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  66. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  67. package/dist/components/content/icon/icon-aliases.js +19 -5
  68. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  69. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  70. package/dist/components/content/icon/icon-registry.js +9 -2
  71. package/dist/components/content/icon/icon-registry.js.map +1 -1
  72. package/dist/components/content/icon/icon.d.ts +14 -16
  73. package/dist/components/content/icon/icon.d.ts.map +1 -1
  74. package/dist/components/content/icon/icon.js +13 -15
  75. package/dist/components/content/icon/icon.js.map +1 -1
  76. package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
  77. package/dist/components/content/icon/icon.styles.js +7 -4
  78. package/dist/components/content/icon/icon.styles.js.map +1 -1
  79. package/dist/components/content/image/image.d.ts +9 -9
  80. package/dist/components/content/image/image.js +9 -9
  81. package/dist/components/content/image/image.styles.js +2 -2
  82. package/dist/components/content/image/image.template.js +2 -2
  83. package/dist/components/content/image/image.template.js.map +1 -1
  84. package/dist/components/content/image/lqip-encoder.js +1 -1
  85. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -2
  86. package/dist/components/content/rich-text/rich-text.d.ts +4 -4
  87. package/dist/components/content/rich-text/rich-text.js +4 -4
  88. package/dist/components/content/token/token.d.ts +7 -7
  89. package/dist/components/content/token/token.js +7 -7
  90. package/dist/components/content/tooltip/tooltip.d.ts +4 -14
  91. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  92. package/dist/components/content/tooltip/tooltip.js +4 -14
  93. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  94. package/dist/components/forms/form/form.d.ts +10 -19
  95. package/dist/components/forms/form/form.d.ts.map +1 -1
  96. package/dist/components/forms/form/form.js +10 -19
  97. package/dist/components/forms/form/form.js.map +1 -1
  98. package/dist/components/forms/form-actions/form-actions.d.ts +2 -6
  99. package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
  100. package/dist/components/forms/form-actions/form-actions.js +2 -6
  101. package/dist/components/forms/form-actions/form-actions.js.map +1 -1
  102. package/dist/components/forms/form-field/form-field.d.ts +7 -14
  103. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  104. package/dist/components/forms/form-field/form-field.js +7 -14
  105. package/dist/components/forms/form-field/form-field.js.map +1 -1
  106. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  107. package/dist/components/forms/form-field/form-field.styles.js +15 -2
  108. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  109. package/dist/components/forms/form-section/form-section.d.ts +2 -3
  110. package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
  111. package/dist/components/forms/form-section/form-section.js +2 -3
  112. package/dist/components/forms/form-section/form-section.js.map +1 -1
  113. package/dist/components/{index-BP0XMTYa.js → index-B9_6JE9f.js} +1 -1
  114. package/dist/components/{index-Dgxr-sEe.js → index-Bt_KkJKU.js} +1 -1
  115. package/dist/components/{index-BuLJAwiB.js → index-CSxjYgj9.js} +4217 -2494
  116. package/dist/components/{index-sa60dMt-.js → index-CqbiWdc5.js} +1 -1
  117. package/dist/components/{index-CTUlN5qN.js → index-CvGdvr33.js} +1 -1
  118. package/dist/components/{index-DS-RnHMu.js → index-i1n9W3UN.js} +1 -1
  119. package/dist/components/{index-Bh_hMHn8.js → index-ipWLrQY3.js} +1 -1
  120. package/dist/components/index.d.ts +2 -0
  121. package/dist/components/index.d.ts.map +1 -1
  122. package/dist/components/index.js +2 -0
  123. package/dist/components/index.js.map +1 -1
  124. package/dist/components/inputs/checkbox/checkbox.d.ts +11 -11
  125. package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
  126. package/dist/components/inputs/checkbox/checkbox.js +11 -15
  127. package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
  128. package/dist/components/inputs/checkbox/checkbox.styles.js +1 -1
  129. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +20 -6
  130. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
  131. package/dist/components/inputs/checkbox-field/checkbox-field.js +29 -7
  132. package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
  133. package/dist/components/inputs/code-editor/code-editor.d.ts +19 -18
  134. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  135. package/dist/components/inputs/code-editor/code-editor.js +23 -23
  136. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  137. package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
  138. package/dist/components/inputs/combo-box/combo-box.d.ts +26 -29
  139. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  140. package/dist/components/inputs/combo-box/combo-box.js +74 -39
  141. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  142. package/dist/components/inputs/combo-box/combo-box.styles.js +7 -7
  143. package/dist/components/inputs/date-field/date-field.d.ts +25 -24
  144. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  145. package/dist/components/inputs/date-field/date-field.js +26 -29
  146. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  147. package/dist/components/inputs/date-field/date-field.styles.js +5 -5
  148. package/dist/components/inputs/date-picker/date-picker.d.ts +16 -13
  149. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  150. package/dist/components/inputs/date-picker/date-picker.js +35 -15
  151. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  152. package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
  153. package/dist/components/inputs/date-picker/date-picker.styles.js +21 -29
  154. package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
  155. package/dist/components/inputs/dropdown/dropdown.d.ts +4 -4
  156. package/dist/components/inputs/dropdown/dropdown.js +4 -4
  157. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +21 -21
  158. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  159. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +23 -26
  160. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  161. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +5 -5
  162. package/dist/components/inputs/number-field/number-field.d.ts +17 -20
  163. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  164. package/dist/components/inputs/number-field/number-field.js +20 -23
  165. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  166. package/dist/components/inputs/number-field/number-field.styles.js +4 -4
  167. package/dist/components/inputs/password-field/password-field.d.ts +25 -24
  168. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  169. package/dist/components/inputs/password-field/password-field.js +27 -29
  170. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  171. package/dist/components/inputs/password-field/password-field.styles.js +7 -7
  172. package/dist/components/inputs/radio-button/radio-button.d.ts +10 -10
  173. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  174. package/dist/components/inputs/radio-button/radio-button.js +9 -14
  175. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  176. package/dist/components/inputs/radio-button/radio-button.styles.js +2 -2
  177. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +24 -6
  178. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  179. package/dist/components/inputs/radio-button-field/radio-button-field.js +32 -7
  180. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  181. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +3 -3
  182. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
  183. package/dist/components/inputs/radio-button-group/radio-button-group.js +17 -10
  184. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  185. package/dist/components/inputs/search-field/search-field.d.ts +15 -17
  186. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  187. package/dist/components/inputs/search-field/search-field.js +19 -22
  188. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  189. package/dist/components/inputs/search-field/search-field.styles.js +5 -5
  190. package/dist/components/inputs/segmented-control/segmented-control.d.ts +27 -29
  191. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  192. package/dist/components/inputs/segmented-control/segmented-control.js +47 -57
  193. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  194. package/dist/components/inputs/segmented-control/segmented-control.styles.js +4 -4
  195. package/dist/components/inputs/stepper/stepper.d.ts +14 -14
  196. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  197. package/dist/components/inputs/stepper/stepper.js +13 -18
  198. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  199. package/dist/components/inputs/switch/switch.d.ts +12 -13
  200. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  201. package/dist/components/inputs/switch/switch.js +13 -18
  202. package/dist/components/inputs/switch/switch.js.map +1 -1
  203. package/dist/components/inputs/switch/switch.styles.js +6 -6
  204. package/dist/components/inputs/switch-field/switch-field.d.ts +4 -4
  205. package/dist/components/inputs/switch-field/switch-field.js +4 -4
  206. package/dist/components/inputs/text-editor/text-editor.caret.d.ts +1 -1
  207. package/dist/components/inputs/text-editor/text-editor.caret.js +1 -1
  208. package/dist/components/inputs/text-editor/text-editor.commands.js +1 -1
  209. package/dist/components/inputs/text-editor/text-editor.d.ts +21 -21
  210. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  211. package/dist/components/inputs/text-editor/text-editor.js +27 -27
  212. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  213. package/dist/components/inputs/text-editor/text-editor.links.js +4 -4
  214. package/dist/components/inputs/text-editor/text-editor.markdown.js +7 -7
  215. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  216. package/dist/components/inputs/text-editor/text-editor.ordered-list.js +1 -1
  217. package/dist/components/inputs/text-editor/text-editor.styles.js +14 -14
  218. package/dist/components/inputs/text-field/text-field.d.ts +20 -19
  219. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  220. package/dist/components/inputs/text-field/text-field.js +22 -24
  221. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  222. package/dist/components/inputs/text-field/text-field.styles.js +3 -3
  223. package/dist/components/inputs/toggle-button/toggle-button.d.ts +14 -13
  224. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  225. package/dist/components/inputs/toggle-button/toggle-button.js +18 -18
  226. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  227. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +7 -7
  228. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  229. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +25 -17
  230. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  231. package/dist/components/inputs/token-field/token-field.d.ts +24 -29
  232. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  233. package/dist/components/inputs/token-field/token-field.i18n.d.ts +1 -1
  234. package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
  235. package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
  236. package/dist/components/inputs/token-field/token-field.js +35 -39
  237. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  238. package/dist/components/inputs/token-field/token-field.styles.js +4 -4
  239. package/dist/components/inputs/token-field/token-field.template.js +1 -1
  240. package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
  241. package/dist/components/layout/app-view/app-view.d.ts +16 -4
  242. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  243. package/dist/components/layout/app-view/app-view.js +18 -13
  244. package/dist/components/layout/app-view/app-view.js.map +1 -1
  245. package/dist/components/layout/box/box.d.ts +1 -1
  246. package/dist/components/layout/box/box.js +1 -1
  247. package/dist/components/layout/box/box.styles.d.ts.map +1 -1
  248. package/dist/components/layout/box/box.styles.js +8 -18
  249. package/dist/components/layout/box/box.styles.js.map +1 -1
  250. package/dist/components/layout/card/card.d.ts +26 -9
  251. package/dist/components/layout/card/card.d.ts.map +1 -1
  252. package/dist/components/layout/card/card.i18n.d.ts +1 -1
  253. package/dist/components/layout/card/card.i18n.js +1 -1
  254. package/dist/components/layout/card/card.i18n.js.map +1 -1
  255. package/dist/components/layout/card/card.js +51 -14
  256. package/dist/components/layout/card/card.js.map +1 -1
  257. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  258. package/dist/components/layout/card/card.styles.js +41 -4
  259. package/dist/components/layout/card/card.styles.js.map +1 -1
  260. package/dist/components/layout/card/card.template.d.ts.map +1 -1
  261. package/dist/components/layout/card/card.template.js +14 -6
  262. package/dist/components/layout/card/card.template.js.map +1 -1
  263. package/dist/components/layout/collection/collection.d.ts +3 -10
  264. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  265. package/dist/components/layout/collection/collection.js +3 -10
  266. package/dist/components/layout/collection/collection.js.map +1 -1
  267. package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
  268. package/dist/components/layout/collection/collection.styles.js +21 -3
  269. package/dist/components/layout/collection/collection.styles.js.map +1 -1
  270. package/dist/components/layout/container/container.d.ts +41 -41
  271. package/dist/components/layout/container/container.js +41 -41
  272. package/dist/components/layout/page/page.d.ts +1 -1
  273. package/dist/components/layout/page/page.js +2 -2
  274. package/dist/components/layout/page-footer/page-footer.d.ts +10 -12
  275. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  276. package/dist/components/layout/page-footer/page-footer.js +11 -13
  277. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  278. package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
  279. package/dist/components/layout/page-footer/page-footer.styles.js +8 -1
  280. package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
  281. package/dist/components/layout/page-footer/page-footer.template.js +1 -1
  282. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -3
  283. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  284. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -3
  285. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  286. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -3
  287. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  288. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -3
  289. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  290. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -3
  291. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  292. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -3
  293. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  294. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +20 -18
  295. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  296. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +26 -20
  297. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  298. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
  299. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +20 -2
  300. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
  301. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -3
  302. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  303. package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -3
  304. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  305. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -3
  306. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  307. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -3
  308. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  309. package/dist/components/layout/popover/popover.d.ts +18 -47
  310. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  311. package/dist/components/layout/popover/popover.js +18 -47
  312. package/dist/components/layout/popover/popover.js.map +1 -1
  313. package/dist/components/layout/sheet/sheet.d.ts +9 -17
  314. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  315. package/dist/components/layout/sheet/sheet.js +39 -27
  316. package/dist/components/layout/sheet/sheet.js.map +1 -1
  317. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +4 -4
  318. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -4
  319. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +17 -17
  320. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +17 -17
  321. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
  322. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
  323. package/dist/components/layout/window/window.d.ts +26 -20
  324. package/dist/components/layout/window/window.d.ts.map +1 -1
  325. package/dist/components/layout/window/window.js +58 -30
  326. package/dist/components/layout/window/window.js.map +1 -1
  327. package/dist/components/layout/window/window.template.d.ts.map +1 -1
  328. package/dist/components/layout/window/window.template.js +1 -0
  329. package/dist/components/layout/window/window.template.js.map +1 -1
  330. package/dist/components/lists-and-tables/cells/cell/cell.styles.d.ts.map +1 -1
  331. package/dist/components/lists-and-tables/cells/cell/cell.styles.js +1 -0
  332. package/dist/components/lists-and-tables/cells/cell/cell.styles.js.map +1 -1
  333. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
  334. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +1 -0
  335. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
  336. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +1 -1
  337. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +1 -1
  338. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +1 -1
  339. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +1 -1
  340. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -2
  341. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  342. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +1 -1
  343. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +1 -0
  344. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +1 -1
  345. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  346. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +1 -0
  347. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  348. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  349. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +1 -0
  350. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  351. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +43 -9
  352. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
  353. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +69 -9
  354. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
  355. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -1
  356. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +100 -43
  357. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -1
  358. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +1 -1
  359. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +19 -7
  360. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
  361. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  362. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +1 -0
  363. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  364. package/dist/components/lists-and-tables/list/list.d.ts +77 -31
  365. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  366. package/dist/components/lists-and-tables/list/list.i18n.d.ts +4 -4
  367. package/dist/components/lists-and-tables/list/list.i18n.js +4 -4
  368. package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -1
  369. package/dist/components/lists-and-tables/list/list.js +202 -70
  370. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  371. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  372. package/dist/components/lists-and-tables/list/list.styles.js +29 -22
  373. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  374. package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
  375. package/dist/components/lists-and-tables/list/list.template.js +4 -3
  376. package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
  377. package/dist/components/lists-and-tables/list-item/list-item.d.ts +189 -18
  378. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  379. package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts +1 -1
  380. package/dist/components/lists-and-tables/list-item/list-item.i18n.js +1 -1
  381. package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -1
  382. package/dist/components/lists-and-tables/list-item/list-item.js +467 -45
  383. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  384. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  385. package/dist/components/lists-and-tables/list-item/list-item.styles.js +133 -101
  386. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  387. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
  388. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  389. package/dist/components/lists-and-tables/list-item/list-item.template.js +51 -24
  390. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  391. package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts +108 -0
  392. package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts.map +1 -0
  393. package/dist/components/lists-and-tables/list-item-action/list-item-action.js +228 -0
  394. package/dist/components/lists-and-tables/list-item-action/list-item-action.js.map +1 -0
  395. package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts +2 -0
  396. package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts.map +1 -0
  397. package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js +145 -0
  398. package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js.map +1 -0
  399. package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts +3 -0
  400. package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts.map +1 -0
  401. package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js +35 -0
  402. package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js.map +1 -0
  403. package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
  404. package/dist/components/lists-and-tables/table/table.styles.js +4 -2
  405. package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
  406. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -7
  407. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  408. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -7
  409. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  410. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
  411. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +15 -16
  412. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  413. package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.d.ts +1 -1
  414. package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js +1 -1
  415. package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js.map +1 -1
  416. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +14 -15
  417. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  418. package/dist/components/navigation/link/link.d.ts +2 -2
  419. package/dist/components/navigation/link/link.i18n.d.ts +1 -1
  420. package/dist/components/navigation/link/link.i18n.js +1 -1
  421. package/dist/components/navigation/link/link.i18n.js.map +1 -1
  422. package/dist/components/navigation/link/link.template.js +1 -1
  423. package/dist/components/navigation/link/link.template.js.map +1 -1
  424. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +1 -1
  425. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
  426. package/dist/components/navigation/pagination/pagination.i18n.d.ts +1 -1
  427. package/dist/components/navigation/pagination/pagination.i18n.js +1 -1
  428. package/dist/components/navigation/pagination/pagination.i18n.js.map +1 -1
  429. package/dist/components/navigation/pagination/pagination.styles.js +5 -5
  430. package/dist/components/navigation/pagination/pagination.template.js +1 -1
  431. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  432. package/dist/components/navigation/tab-bar/tab-bar.d.ts +11 -11
  433. package/dist/components/navigation/tab-bar/tab-bar.js +11 -11
  434. package/dist/components/navigation/tab-bar/tab-bar.styles.js +7 -7
  435. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +11 -11
  436. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  437. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +11 -12
  438. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  439. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  440. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +9 -4
  441. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  442. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +5 -5
  443. package/dist/components/navigation/top-title-bar/top-title-bar.js +6 -6
  444. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  445. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +3 -3
  446. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.d.ts +1 -1
  447. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js +1 -1
  448. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js.map +1 -1
  449. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -4
  450. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  451. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +6 -6
  452. package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
  453. package/dist/components/status-and-feedback/badge/badge.i18n.d.ts +1 -1
  454. package/dist/components/status-and-feedback/badge/badge.i18n.js +1 -1
  455. package/dist/components/status-and-feedback/badge/badge.i18n.js.map +1 -1
  456. package/dist/components/status-and-feedback/badge/badge.js +1 -1
  457. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  458. package/dist/components/status-and-feedback/banner/banner.d.ts +9 -9
  459. package/dist/components/status-and-feedback/banner/banner.js +9 -9
  460. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
  461. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +6 -6
  462. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +7 -7
  463. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +8 -8
  464. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +1 -1
  465. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +22 -8
  466. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  467. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +63 -27
  468. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  469. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
  470. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +1 -0
  471. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
  472. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +13 -13
  473. package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.d.ts +2 -2
  474. package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js +2 -2
  475. package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js.map +1 -1
  476. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +14 -14
  477. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  478. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +1 -1
  479. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +1 -1
  480. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
  481. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +15 -15
  482. package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.d.ts +2 -2
  483. package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js +2 -2
  484. package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js.map +1 -1
  485. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +20 -20
  486. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  487. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
  488. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +4 -4
  489. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  490. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +4 -4
  491. package/dist/components/status-and-feedback/status-bar/status-bar.js +4 -4
  492. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +124 -0
  493. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -0
  494. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts +9 -0
  495. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts.map +1 -0
  496. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js +8 -0
  497. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js.map +1 -0
  498. package/dist/components/status-and-feedback/step-indicator/step-indicator.js +210 -0
  499. package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -0
  500. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts +3 -0
  501. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts.map +1 -0
  502. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js +294 -0
  503. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js.map +1 -0
  504. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts +5 -0
  505. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts.map +1 -0
  506. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +69 -0
  507. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js.map +1 -0
  508. package/dist/css/form.css +16 -7
  509. package/dist/css/settings.css +68 -73
  510. package/dist/types/vue.d.ts +186 -42
  511. package/dist/utilities/autofocus.d.ts +19 -0
  512. package/dist/utilities/autofocus.d.ts.map +1 -0
  513. package/dist/utilities/autofocus.js +35 -0
  514. package/dist/utilities/autofocus.js.map +1 -0
  515. package/dist/utilities/codemirror/theme.js +2 -2
  516. package/dist/utilities/codemirror/theme.js.map +1 -1
  517. package/dist/utilities/color-scheme-repaint.d.ts +2 -2
  518. package/dist/utilities/color-scheme-repaint.js +2 -2
  519. package/dist/utilities/form-associated-mixin.d.ts +33 -0
  520. package/dist/utilities/form-associated-mixin.d.ts.map +1 -0
  521. package/dist/utilities/form-associated-mixin.js +52 -0
  522. package/dist/utilities/form-associated-mixin.js.map +1 -0
  523. package/dist/utilities/input-modality.d.ts +3 -1
  524. package/dist/utilities/input-modality.d.ts.map +1 -1
  525. package/dist/utilities/input-modality.js +12 -1
  526. package/dist/utilities/input-modality.js.map +1 -1
  527. package/dist/utilities/page-section-mixin.d.ts +1 -1
  528. package/dist/utilities/page-section-mixin.js +2 -2
  529. package/dist/utilities/popup-anchor-controller.d.ts +2 -2
  530. package/package.json +9 -1
@@ -17,11 +17,12 @@ export const listStyles = css `
17
17
  --_max-height: none;
18
18
  --_background-color: transparent;
19
19
  --_highlight-border-color: transparent;
20
+ --_box-padding: var(--primitives-space-4);
20
21
  --_gap: var(--primitives-space-8);
21
22
  --_search-field-min-size: var(--semantics-controls-md-min-size);
22
23
  --_search-field-icon-size: var(--primitives-space-24);
23
- --_search-field-end-padding-right: calc((var(--_search-field-min-size) - var(--semantics-controls-sm-min-size)) / 2 - var(--semantics-input-fields-border-thickness));
24
- --_search-field-z-index-button-focus: 1;
24
+ --_search-field-end-padding-right: calc((var(--_search-field-min-size) - var(--semantics-controls-sm-min-size)) / 2 - var(--semantics-input-fields-border-width));
25
+ --_search-field-button-focus-z-index: 1;
25
26
  --_search-bar-gap: var(--primitives-space-8);
26
27
  --_toolbar-gap: var(--primitives-space-8);
27
28
  --_empty-padding: var(--primitives-space-16);
@@ -46,16 +47,8 @@ export const listStyles = css `
46
47
  --_highlight-border-color: var(--semantics-surfaces-base-border-color);
47
48
  }
48
49
 
49
- :host([variant="box"]) .list__main {
50
- position: relative;
51
- border-radius: var(--components-list-corner-radius);
52
- background-color: var(--_background-color);
53
- box-shadow: inset 0 0 0 1px var(--_highlight-border-color);
54
- overflow: hidden;
55
- }
56
-
57
50
 
58
- /* # Elements */
51
+ /* # Block */
59
52
 
60
53
  .list {
61
54
  display: flex;
@@ -63,6 +56,9 @@ export const listStyles = css `
63
56
  gap: var(--_gap);
64
57
  }
65
58
 
59
+
60
+ /* # Elements */
61
+
66
62
  .list__header {
67
63
  display: contents;
68
64
  }
@@ -84,17 +80,29 @@ export const listStyles = css `
84
80
  flex-direction: column;
85
81
  }
86
82
 
87
- .list__main[hidden] {
88
- display: none;
83
+ /* No overflow clip: the rows sit 4px inside the frame, so their fills never
84
+ reach its corners and have nothing to be clipped against. Without it a
85
+ focus ring inside the box paints outward, like every other control in the
86
+ system, instead of being cut off by the frame. */
87
+ :host([variant="box"]) .list__main {
88
+ position: relative;
89
+ border-radius: var(--semantics-surfaces-corner-radius);
90
+ background-color: var(--_background-color);
91
+ box-shadow: inset 0 0 0 1px var(--_highlight-border-color);
89
92
  }
90
93
 
91
94
  /* Listbox: give the options a bit more breathing room from the pinned
92
95
  search bar (and toolbar) above them than the default inter-row gap, so
93
96
  the search field reads as a zone distinct from the scrolling options. */
97
+
94
98
  :host([type="listbox"]) .list__main {
95
99
  margin-block-start: var(--primitives-space-8);
96
100
  }
97
101
 
102
+ .list__main[hidden] {
103
+ display: none;
104
+ }
105
+
98
106
  .list__items {
99
107
  display: flex;
100
108
  flex-direction: column;
@@ -104,6 +112,11 @@ export const listStyles = css `
104
112
  display: none;
105
113
  }
106
114
 
115
+ :host([variant="box"]) .list__items {
116
+ padding-inline: calc(var(--components-list-item-indicator-inline-inset) + var(--_box-padding));
117
+ padding-block: var(--_box-padding);
118
+ }
119
+
107
120
  :host([type="listbox"]) .list__items {
108
121
  max-height: var(--_max-height);
109
122
  overflow-x: hidden;
@@ -111,10 +124,6 @@ export const listStyles = css `
111
124
  padding-inline: var(--components-list-item-indicator-inline-inset);
112
125
  }
113
126
 
114
- :host([type="listbox"][variant="box"]) .list__items {
115
- padding-inline: 0;
116
- }
117
-
118
127
  .list__empty {
119
128
  padding: var(--_empty-padding);
120
129
  }
@@ -123,8 +132,6 @@ export const listStyles = css `
123
132
  display: none;
124
133
  }
125
134
 
126
- /* ## Search */
127
-
128
135
  .list__search-bar {
129
136
  display: flex;
130
137
  flex-direction: row;
@@ -175,7 +182,7 @@ export const listStyles = css `
175
182
 
176
183
  .list__search-field-icon {
177
184
  display: flex;
178
- margin-inline: calc((var(--_search-field-min-size) - var(--_search-field-icon-size)) / 2 - var(--semantics-input-fields-border-thickness));
185
+ margin-inline: calc((var(--_search-field-min-size) - var(--_search-field-icon-size)) / 2 - var(--semantics-input-fields-border-width));
179
186
  width: var(--_search-field-icon-size);
180
187
  height: var(--_search-field-icon-size);
181
188
  flex-shrink: 0;
@@ -215,7 +222,7 @@ export const listStyles = css `
215
222
 
216
223
  .list__search-field-clear:focus-within {
217
224
  position: relative;
218
- z-index: var(--_search-field-z-index-button-focus);
225
+ z-index: var(--_search-field-button-focus-z-index);
219
226
  }
220
227
 
221
228
  ::slotted(.nldd-list-drag-placeholder) {
@@ -256,7 +263,7 @@ export const listStyles = css `
256
263
  }
257
264
 
258
265
 
259
- /* # Accessibility*/
266
+ /* # Accessibility */
260
267
 
261
268
  @media (forced-colors: active) {
262
269
  :host([variant="box"]) .list__main {
@@ -1 +1 @@
1
- {"version":3,"file":"list.styles.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwQ5B,CAAC"}
1
+ {"version":3,"file":"list.styles.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Q5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,6EAA6E;AAC7E,MAAM,WAAW,cAAc;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,wBAAwB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACjD;AAED,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,cAAc,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,GAAI,qFAQtB,iBAAiB,yCAwGnB,CAAC"}
1
+ {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,6EAA6E;AAC7E,MAAM,WAAW,cAAc;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,wBAAwB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACjD;AAED,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,cAAc,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,GAAI,qFAQtB,iBAAiB,yCAyGnB,CAAC"}
@@ -6,13 +6,14 @@ export const template = ({ itemsLabel, hasToolbar, type, isEmpty, emptyText, emp
6
6
  // Navigation: the host carries role="navigation" with its own label; an
7
7
  // extra aria-label on the inner role="list" would make the landmark name
8
8
  // and the inner list name stack in screen-reader announcements. Listbox:
9
- // the input is the labelled control, so the listbox itself stays unlabelled.
9
+ // the input is the labeled control, so the listbox itself stays unlabeled.
10
10
  const skipItemsLabel = isNavigation || isListbox;
11
- // Role on .list__items: role="listbox" in listbox mode, else role="list".
11
+ // Role on .list__items: role="listbox" in listbox mode, role="tree" for a
12
+ // tree, else role="list".
12
13
  // The empty-state (a non-option) is now a SIBLING of .list__items inside
13
14
  // .list__main, so .list__items only ever contains options/items — the role
14
15
  // can be set unconditionally per type (it's hidden when empty anyway).
15
- const itemsRole = isListbox ? 'listbox' : 'list';
16
+ const itemsRole = isListbox ? 'listbox' : type === 'tree' ? 'tree' : 'list';
16
17
  // In listbox mode an empty search has no "no results" meaning yet, so the
17
18
  // empty state is suppressed — the consumer shows just the search field (and
18
19
  // may place its own hint outside the list). It appears only once a query is
@@ -1 +1 @@
1
- {"version":3,"file":"list.template.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AA8BzD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACxB,UAAU,EACV,UAAU,EACV,IAAI,EACJ,OAAO,EACP,SAAS,EACT,mBAAmB,EACnB,OAAO,GACY,EAAE,EAAE;IACvB,MAAM,YAAY,GAAG,IAAI,KAAK,YAAY,CAAC;IAC3C,MAAM,SAAS,GAAG,IAAI,KAAK,SAAS,CAAC;IACrC,wEAAwE;IACxE,yEAAyE;IACzE,yEAAyE;IACzE,6EAA6E;IAC7E,MAAM,cAAc,G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AAC;eACrD,OAAO;;;;;eAKP,CAAC,SAAS;;;;cAIX,SAAS;yBACE,mBAAmB,IAAI,OAAO;;;;;;;;;;;;;;;;EAgBrD,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"list.template.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AA8BzD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACxB,UAAU,EACV,UAAU,EACV,IAAI,EACJ,OAAO,EACP,SAAS,EACT,mBAAmB,EACnB,OAAO,GACY,EAAE,EAAE;IACvB,MAAM,YAAY,GAAG,IAAI,KAAK,YAAY,CAAC;IAC3C,MAAM,SAAS,GAAG,IAAI,KAAK,SAAS,CAAC;IACrC,wEAAwE;IACxE,yEAAyE;IACzE,yEAAyE;IACzE,2EAA2E;IAC3E,MAAM,cAAc,GAAG,YAAY,IAAI,SAAS,CAAC;IACjD,0EAA0E;IAC1E,0BAA0B;IAC1B,yEAAyE;IACzE,2EAA2E;IAC3E,uEAAuE;IACvE,MAAM,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5E,0EAA0E;IAC1E,4EAA4E;IAC5E,4EAA4E;IAC5E,4EAA4E;IAC5E,mDAAmD;IACnD,MAAM,SAAS,GAAG,OAAO,IAAI,CAAC,CAAC,SAAS,IAAI,OAAO,CAAC,WAAW,KAAK,EAAE,CAAC,CAAC;IACxE,MAAM,QAAQ,GAAG,CAAC,OAAO,IAAI,SAAS,CAAC;IACvC,OAAO,IAAI,CAAA;;;MAGN,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;;;;;;;yBAYG,OAAO,CAAC,SAAS;yBACjB,CAAC,OAAO;;iCAEA,OAAO,CAAC,QAAQ,IAAI,OAAO;sBACtC,OAAO,CAAC,qBAAqB;uBAC5B,OAAO,CAAC,iBAAiB;kBAC9B,OAAO,CAAC,WAAW;kBACnB,OAAO,CAAC,aAAa;oBACnB,OAAO,CAAC,eAAe;kBACzB,OAAO,CAAC,aAAa;iBACtB,OAAO,CAAC,YAAY;;;SAG5B,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;;kBAOjB,OAAO,CAAC,gBAAgB;;oBAEtB,OAAO,CAAC,YAAY;;;;QAIhC,CAAC,CAAC,CAAC,OAAO;;kDAEgC,CAAC,OAAO,CAAC,eAAe;iDACzB,OAAO,CAAC,wBAAwB;;;KAG5E,CAAC,CAAC,CAAC,OAAO;yCAC0B,CAAC,UAAU;;;;qCAIf,CAAC,QAAQ;;UAEpC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,SAAS;kBACH,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC;eACrD,OAAO;;;;;eAKP,CAAC,SAAS;;;;cAIX,SAAS;yBACE,mBAAmB,IAAI,OAAO;;;;;;;;;;;;;;;;EAgBrD,CAAC;AACH,CAAC,CAAC"}
@@ -1,17 +1,60 @@
1
1
  import { LitElement } from 'lit';
2
2
  import type { ListType } from '../list/list.js';
3
- import '../cells/spacer-cell/spacer-cell.js';
4
3
  export type ListItemSize = 'sm' | 'md';
5
4
  declare const NLDDListItem_base: (abstract new (...args: any[]) => LitElement & {
6
5
  translations: Partial<{
7
- 'components.list-item.opens-in-new-tab-text': string;
6
+ 'components.list-item.opens-in-new-tab-label': string;
8
7
  }>;
9
- _t(key: "components.list-item.opens-in-new-tab-text", vars?: Record<string, string | number>): string;
8
+ _t(key: "components.list-item.opens-in-new-tab-label", vars?: Record<string, string | number>): string;
10
9
  }) & typeof LitElement;
11
10
  /**
12
- * A row within an `nldd-list`, providing layout for start, main and end areas.
13
- * Renders as a link when `href` is set, as a button when `button` is set, or
14
- * as a plain container otherwise. When it renders as a link, `target` and `rel`
11
+ * A row within an `nldd-list`. Renders as a link when `href` is set, as a
12
+ * checkbox when `checkbox` is set, as a button when `button` is set, or as a
13
+ * plain container otherwise. All cells and action segmented actions share one flat
14
+ * slot, in source order.
15
+ *
16
+ * ## Geometry
17
+ * Two rules govern every row:
18
+ * 1. State fills always paint the WIDENED row geometry — the row box extended
19
+ * by the indicator inline inset on both sides — whether or not the row is
20
+ * interactive. Paint never differs between a selected plain row and a
21
+ * selected interactive row.
22
+ * 2. The widened strip belongs to the ROW, never to a segment. A row with any
23
+ * action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls
24
+ * itself outward (`is-interactive` host class → negative inline margin)
25
+ * and pads the row block back by the same amount, so content stays on the
26
+ * grid. A row-wide action owns that padding itself, making the whole
27
+ * widened box one hit area; slotted segmented actions stay in the grid, so their
28
+ * footprint is position-independent and tree columns line up at any depth.
29
+ *
30
+ * ## Divider
31
+ * The divider spans the content width by default. Mark a cell with
32
+ * `divider-start` and/or `divider-end` to run it from that cell's start edge
33
+ * to that cell's end edge instead (e.g. starting after an avatar). Multiple
34
+ * markers resolve as the union: first `divider-start` through last
35
+ * `divider-end`. A start past the last end is an authoring error — the item
36
+ * DEV-warns and falls back to the full content width.
37
+ *
38
+ * ## Disclosure
39
+ * A branch row can disclose its children in two ways: a dedicated
40
+ * `nldd-list-item-action[disclosure]` segment (only the chevron is clickable),
41
+ * or the row itself as the control (`button` + `expanded`, the whole row
42
+ * toggles). In the second case, mark the chevron's `nldd-icon-cell` with
43
+ * `disclosure` and the row turns it with `expanded` — the same affordance,
44
+ * without having to trade a clickable row for a turning chevron.
45
+ *
46
+ * `checkbox` makes the WHOLE row the control: the inner action becomes a
47
+ * `role="checkbox"` button carrying `aria-checked`, it toggles `checked` on
48
+ * activation and fires `change`. Slot a visual `nldd-checkbox` (or any glyph)
49
+ * before the text and mark it `aria-hidden` + non-focusable — the row already
50
+ * conveys role and state, and a second focusable control would double the tab
51
+ * stops. Do NOT nest a real `<input type="checkbox">` in the action: interactive
52
+ * content inside a `<button>` is invalid HTML and AT announces the button, not
53
+ * the checked state. A `<label>` variant is not offered for the same reason it
54
+ * cannot work — label-to-input association walks the DOM tree, and a slotted
55
+ * input is not a descendant of a label in the shadow root.
56
+ *
57
+ * When it renders as a link, `target` and `rel`
15
58
  * are forwarded to the inner `<a>` (e.g. `target="_blank" rel="noopener noreferrer"`). With
16
59
  * `target="_blank"` the item also injects a visually hidden "opens in new tab"
17
60
  * announcement for assistive technology (WCAG 2.1 SC 3.2.2).
@@ -19,24 +62,28 @@ declare const NLDDListItem_base: (abstract new (...args: any[]) => LitElement &
19
62
  * The item synchronises its ARIA with its parent `nldd-list`'s `type`:
20
63
  * - `list` parent → `role="listitem"`
21
64
  * - `navigation` parent → `role="listitem"` + `aria-current="page"` on the
22
- * inner `<a>` / `<button>` when `selected`
65
+ * inner `<a>` / `<button>` when `selected`
23
66
  * - `listbox` parent → `role="option"` + `aria-selected` reflecting `selected`.
24
- * The list points its search input's `aria-activedescendant`
25
- * at the active option via `_highlighted` (separate from `selected`).
67
+ * The list points its search input's `aria-activedescendant`
68
+ * at the active option via `_highlighted` (separate from `selected`).
26
69
  *
27
70
  * @element nldd-list-item
28
71
  *
29
- * @attr {'sm'|'md'} size - Row size (default: 'md')
72
+ * @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.
30
73
  * @attr {boolean} selected - Marks the item as selected. 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`.
31
74
  * @attr {boolean} button - Renders the item as a `<button>`; ignored when `href` is set (a link wins)
75
+ * @attr {boolean} checkbox - Makes the whole row a `role="checkbox"` control; ignored when `href` is set
76
+ * @attr {boolean} checked - Checked state of a `checkbox` row; the item toggles it on activation
77
+ * @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 segmented action marked `disclosure`. Written once either way; the item DEV-warns when there is nowhere for it to live.
32
78
  * @attr {string} href - Renders the item as an `<a>` with this URL. Takes precedence over `button`; without either the item is a plain container with no action.
33
79
  * @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.
34
80
  * @attr {string} rel - Link rel forwarded to the `<a>` (e.g. 'noopener noreferrer'); only applies with `href`
35
81
  * @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.
36
82
  *
37
- * @slot - Main content area
38
- * @slot start - Content at the start of the row
39
- * @slot end - Content at the end of the row
83
+ * @slot - Cells and segmented actions, in source order
84
+ * @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.
85
+ *
86
+ * @fires change - On a `checkbox` row after it toggles; detail: { checked: boolean }
40
87
  */
41
88
  export declare class NLDDListItem extends NLDDListItem_base {
42
89
  static styles: import("lit").CSSResult[];
@@ -44,6 +91,17 @@ export declare class NLDDListItem extends NLDDListItem_base {
44
91
  selected: boolean;
45
92
  /** When set, renders the item as a button; ignored when href is set. */
46
93
  button: boolean;
94
+ /** When set, the whole row is the checkbox control. Ignored when href is set. */
95
+ checkbox: boolean;
96
+ /** Checked state of a `checkbox` row. Toggled by the item on activation. */
97
+ checked: boolean;
98
+ /**
99
+ * Disclosure state of a row that opens something (a tree row's children, a
100
+ * details panel). Reflected as `aria-expanded` on the row's own control —
101
+ * `listitem` does not support the property, a `<button>` / `<a>` does. Leave
102
+ * the attribute off entirely when the row discloses nothing.
103
+ */
104
+ expanded?: boolean;
47
105
  /** When set, renders the item as a link. */
48
106
  href?: string;
49
107
  /**
@@ -57,8 +115,7 @@ export declare class NLDDListItem extends NLDDListItem_base {
57
115
  rel?: string;
58
116
  /** Set by the parent nldd-list when reorderable is enabled. Used as a CSS hook for drag handle visibility. */
59
117
  reorderable: boolean;
60
- private _showStart;
61
- private _showEnd;
118
+ private _showChildren;
62
119
  private _parentType;
63
120
  /** Set by the parent nldd-list when `arrow-navigation` (roving tabindex) is on.
64
121
  * Switches the inner action from a normal tab stop to a roving one. */
@@ -74,10 +131,79 @@ export declare class NLDDListItem extends NLDDListItem_base {
74
131
  _highlighted: boolean;
75
132
  private _action?;
76
133
  private _isBoxed;
134
+ private _hasCheckedSegment;
135
+ private _lightDomObserver;
136
+ /** Watches the row and its divider-marker cells for size changes; marker
137
+ * insets are measured, so any reflow can move them. */
138
+ private _dividerMarkerObserver;
139
+ private _observedMarkerTargets;
140
+ private _warnedDegenerateDivider;
77
141
  connectedCallback(): void;
78
142
  disconnectedCallback(): void;
143
+ private _onLightDomChange;
144
+ /** A checked checkbox-segment reads as "this row is selected", so the fill
145
+ * covers the whole row — including a disclosure segment — instead of
146
+ * stopping at the segmented action boundary. Scoped to own descendants: a checked
147
+ * row in a nested branch must not light up its ancestors. */
148
+ private _updateCheckedSegment;
149
+ /** A row with any action — its own href/button/checkbox or a slotted
150
+ * segment — carries the widened geometry: negative host margin plus the
151
+ * compensating row padding (see the geometry rules in the class doc).
152
+ *
153
+ * An action segment at a row edge owns the padding for that side itself,
154
+ * so the row drops its own there and the segmented action lands on the row's edge.
155
+ * Stamped as classes because the CSS cannot ask: `:has()` is not allowed
156
+ * inside `:host()`, and the row's own padding is what has to change — a
157
+ * `::slotted()` rule could only reach the segmented action. */
158
+ private _updateInteractive;
79
159
  firstUpdated(): void;
160
+ /**
161
+ * Cells whose `size` means the sm/md scale. NOT every cell: `size` on
162
+ * nldd-icon-cell and nldd-spacer-cell is a pixel value and on nldd-title-cell
163
+ * a 1-6 heading scale, so pushing 'sm' there would corrupt them.
164
+ */
165
+ private static readonly SIZED_CELLS;
166
+ /** Remembers the size a cell was authored with, so a later push can restore it. */
167
+ private _ownCellSize;
168
+ /**
169
+ * The row's own descendants for `selector` — everything down to and inside
170
+ * its action segmented actions, but NOT inside a nested row. In a tree the child rows
171
+ * are DOM children of this row, so a plain querySelectorAll would push this
172
+ * row's state into theirs (a parent's `expanded` turning every nested
173
+ * chevron, its `size` overwriting theirs). A `:scope >` child selector is
174
+ * too strict the other way: cells legitimately sit one level deeper, inside
175
+ * an nldd-list-item-action.
176
+ */
177
+ private _ownDescendants;
178
+ /**
179
+ * Records the authored `size` before the cells upgrade. Custom elements
180
+ * upgrade in document order, so the item's connectedCallback runs before its
181
+ * children's — the only moment an authored `size="md"` is still readable.
182
+ * After upgrade `reflectNonDefault` strips it, making it indistinguishable
183
+ * from no attribute at all.
184
+ */
185
+ private _captureAuthoredCellSizes;
186
+ /**
187
+ * Pushes the row's size onto its sized cells so `size="sm"` is written once
188
+ * instead of on the row and on every cell. An explicit size on the cell wins
189
+ * and survives later pushes.
190
+ */
191
+ private _propagateSize;
80
192
  updated(changed: Map<string, unknown>): void;
193
+ /**
194
+ * A row WITH children is a branch, and a branch is either open or closed —
195
+ * there is no third state. So an absent `expanded` reads as collapsed there,
196
+ * and aria-expanded is always emitted. On a row without children an absent
197
+ * attribute keeps its other meaning: this row discloses nothing, emit no
198
+ * aria-expanded at all. Without this split, `?expanded=\${false}` (which
199
+ * removes the attribute) would leave a branch that never collapses.
200
+ */
201
+ private get _resolvedExpanded();
202
+ /** Segments marked `disclosure` announce the row's expanded state, so the
203
+ * consumer writes it once — here, where it also drives the children group. */
204
+ private _relayExpanded;
205
+ /** `expanded` needs a control to sit on; a plain container has none. */
206
+ private _warnOnStrayExpanded;
81
207
  /** True when the item is an option in a `type="listbox"` parent. */
82
208
  get _isListboxOption(): boolean;
83
209
  /**
@@ -91,20 +217,65 @@ export declare class NLDDListItem extends NLDDListItem_base {
91
217
  private _syncWithList;
92
218
  _applyVariant(variant: string): void;
93
219
  _applyParentType(type: ListType): void;
220
+ /** Nested rows sit in this item's `children` slot, not the list's, so a plain
221
+ * `querySelector` from the list walks past them. */
222
+ get childRows(): NLDDListItem[];
223
+ /** Every push the item receives is relayed one level down. */
224
+ private _relayToChildren;
94
225
  private _updateAriaState;
95
- private _updateVisibility;
96
- private _observeStartSlot;
97
- private _observeEndSlot;
226
+ /**
227
+ * Measures the divider markers and writes the result as `--_divider-inset-
228
+ * start/-end` on the host. No markers → the vars are cleared and CSS falls
229
+ * back to the content width. Union semantics: the divider runs from the
230
+ * FIRST `divider-start` to the LAST `divider-end`; a side without markers
231
+ * keeps its default. Insets are measured against the row block (the widened
232
+ * box on interactive rows), so the values compose with the edge geometry.
233
+ */
234
+ private _measureDividerMarkers;
235
+ private _observeChildrenSlot;
236
+ /** Renders the group only when there is something in it — an empty
237
+ * `role="group"` would be an empty branch in the accessibility tree. */
238
+ private _updateChildren;
98
239
  private _handleClick;
99
240
  private _handleFocusIn;
100
241
  private _handleFocusOut;
101
242
  private _onPointerDown;
243
+ /** Whether the event started in a row nested inside this one. Only the part
244
+ * of the path BELOW this row counts — everything above it is this row's own
245
+ * ancestry, which is where the event is heading, not where it came from. */
246
+ private _isFromNestedRow;
102
247
  private _clearPressed;
103
248
  /**
104
249
  * Delegates focus to the inner `.list-item__action` (the button or anchor),
105
250
  * so consumers can call `listItemEl.focus()` without reaching into shadow DOM.
106
251
  */
107
252
  focus(options?: FocusOptions): void;
253
+ /**
254
+ * The roving tab stop, spread over the row and the controls inside it: the
255
+ * current row is reachable with Tab, everything else only with the arrow
256
+ * keys. Within the current row Tab then walks its segmented actions, so a row
257
+ * that holds a checkbox and a chevron stays fully operable.
258
+ *
259
+ * A row that is not the current one carries NO tabindex at all rather than
260
+ * -1. A shadow host with a tabindex is a focus scope of its own, and Chromium
261
+ * walks straight past such a scope when tabbing BACKWARDS if the host itself
262
+ * isn't tabbable — so a `-1` on a branch made every row inside it
263
+ * unreachable with Shift+Tab, while forward navigation still found them.
264
+ *
265
+ * @internal Also called by the list right after it moves the roving, so the
266
+ * tab stop is in the DOM before focus is handed over.
267
+ */
268
+ _syncRovingTabStops(): void;
269
+ /** The control that opens and closes this row: the segmented action marked
270
+ * `disclosure`, or the row itself when it is a button. Never a link — Left
271
+ * and Right may not navigate away. */
272
+ private get _disclosureControl();
273
+ /** Activates whatever opens this row, so the consumer's own click handler runs
274
+ * and stays the only place `expanded` is written. Returns false when the row
275
+ * has nothing to activate. */
276
+ _activateDisclosure(): boolean;
277
+ /** The branch this row hangs under, or undefined for a top-level row. */
278
+ get parentRow(): NLDDListItem | undefined;
108
279
  render(): import("lit-html").TemplateResult<1>;
109
280
  }
110
281
  declare global {
@@ -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;AAQjC,OAAO,KAAK,EAAY,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,qCAAqC,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC;;;;;;;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBACa,YAAa,SAAQ,iBAAsD;IACvF,OAAgB,MAAM,4BAAoB;IAG1C,IAAI,EAAE,YAAY,CAAQ;IAG1B,QAAQ,UAAS;IAEjB,wEAAwE;IAExE,MAAM,UAAS;IAEf,4CAA4C;IAE5C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,6FAA6F;IAE7F,GAAG,CAAC,EAA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AO,KAAK,kBAAkB,GAS7B;IAED;;mCAE+B;IAC/B,mBAAmB,IAAI,OAAO;IAa9B,yEAAyE;IACzE,IAAI,SAAS,IAAI,YAAY,GAAG,SAAS,CAIxC;IAEQ,MAAM;CAiCf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
@@ -1,5 +1,5 @@
1
1
  export declare const nlddListItemTranslations: {
2
- 'components.list-item.opens-in-new-tab-text': string;
2
+ 'components.list-item.opens-in-new-tab-label': string;
3
3
  };
4
4
  export type NLDDListItemTranslations = typeof nlddListItemTranslations;
5
5
  //# sourceMappingURL=list-item.i18n.d.ts.map
@@ -1,4 +1,4 @@
1
1
  export const nlddListItemTranslations = {
2
- 'components.list-item.opens-in-new-tab-text': 'Opent in nieuw tabblad',
2
+ 'components.list-item.opens-in-new-tab-label': 'Opent in nieuw tabblad',
3
3
  };
4
4
  //# sourceMappingURL=list-item.i18n.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.i18n.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list-item/list-item.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC,4CAA4C,EAAE,wBAAwB;CACtE,CAAC"}
1
+ {"version":3,"file":"list-item.i18n.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list-item/list-item.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC,6CAA6C,EAAE,wBAAwB;CACvE,CAAC"}