@nldd/design-system 0.8.42 → 0.8.44

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 (381) hide show
  1. package/README.md +1 -1
  2. package/dist/components/actions/button/button.d.ts +36 -5
  3. package/dist/components/actions/button/button.d.ts.map +1 -1
  4. package/dist/components/actions/button/button.js +62 -6
  5. package/dist/components/actions/button/button.js.map +1 -1
  6. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  7. package/dist/components/actions/button/button.styles.js +149 -63
  8. package/dist/components/actions/button/button.styles.js.map +1 -1
  9. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  10. package/dist/components/actions/button/button.template.js +19 -1
  11. package/dist/components/actions/button/button.template.js.map +1 -1
  12. package/dist/components/actions/button-bar/button-bar.styles.js +4 -4
  13. package/dist/components/actions/button-group/button-group.js +2 -2
  14. package/dist/components/actions/button-group/button-group.js.map +1 -1
  15. package/dist/components/actions/button-group/button-group.styles.js +1 -1
  16. package/dist/components/actions/icon-button/icon-button.d.ts +43 -11
  17. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  18. package/dist/components/actions/icon-button/icon-button.js +68 -14
  19. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  20. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.styles.js +163 -106
  22. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  23. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  24. package/dist/components/actions/icon-button/icon-button.template.js +20 -2
  25. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  26. package/dist/components/actions/split-button/split-button.d.ts +5 -5
  27. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  28. package/dist/components/actions/split-button/split-button.js +19 -15
  29. package/dist/components/actions/split-button/split-button.js.map +1 -1
  30. package/dist/components/actions/split-button/split-button.styles.js +1 -1
  31. package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
  32. package/dist/components/actions/split-button/split-button.template.js +14 -12
  33. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  34. package/dist/components/actions/toolbar/toolbar.d.ts +4 -6
  35. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  36. package/dist/components/actions/toolbar/toolbar.js +31 -28
  37. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  38. package/dist/components/actions/toolbar/toolbar.styles.js +17 -17
  39. package/dist/components/actions/toolbar/toolbar.template.d.ts +3 -3
  40. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  41. package/dist/components/actions/toolbar/toolbar.template.js +17 -9
  42. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  43. package/dist/components/components.js +1 -1
  44. package/dist/components/content/blockquote/blockquote.styles.js +6 -6
  45. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  46. package/dist/components/content/code/code.styles.js +3 -3
  47. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  48. package/dist/components/content/icon/icon-aliases.js +15 -0
  49. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  50. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  51. package/dist/components/content/icon/icon-registry.js +11 -5
  52. package/dist/components/content/icon/icon-registry.js.map +1 -1
  53. package/dist/components/content/icon/icon.styles.js +1 -1
  54. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +22 -0
  55. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  56. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +46 -2
  57. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  58. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -5
  59. package/dist/components/content/rich-text/rich-text.d.ts +3 -1
  60. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  61. package/dist/components/content/rich-text/rich-text.js +6 -1
  62. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  63. package/dist/components/content/tag/tag.d.ts +3 -3
  64. package/dist/components/content/tag/tag.d.ts.map +1 -1
  65. package/dist/components/content/tag/tag.js +3 -3
  66. package/dist/components/content/tag/tag.js.map +1 -1
  67. package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
  68. package/dist/components/content/tag/tag.styles.js +113 -15
  69. package/dist/components/content/tag/tag.styles.js.map +1 -1
  70. package/dist/components/content/title/title.styles.js +20 -20
  71. package/dist/components/content/title/title.styles.js.map +1 -1
  72. package/dist/components/content/tooltip/tooltip.d.ts +13 -7
  73. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  74. package/dist/components/content/tooltip/tooltip.js +34 -22
  75. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  76. package/dist/components/content/tooltip/tooltip.styles.js +8 -8
  77. package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
  78. package/dist/components/forms/form-field/form-field.styles.js +6 -6
  79. package/dist/components/{index-CJ3mdHHo.js → index-1v33GjGX.js} +4134 -3286
  80. package/dist/components/index.d.ts +1 -1
  81. package/dist/components/index.d.ts.map +1 -1
  82. package/dist/components/index.js +1 -1
  83. package/dist/components/index.js.map +1 -1
  84. package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
  85. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -4
  86. package/dist/components/inputs/code-editor/code-editor.styles.js +14 -14
  87. package/dist/components/inputs/combo-box/combo-box.d.ts +1 -1
  88. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  89. package/dist/components/inputs/combo-box/combo-box.js +8 -2
  90. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  91. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  92. package/dist/components/inputs/combo-box/combo-box.styles.js +17 -14
  93. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  94. package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
  95. package/dist/components/inputs/combo-box/combo-box.template.js +4 -2
  96. package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
  97. package/dist/components/inputs/dropdown/dropdown.d.ts +13 -1
  98. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  99. package/dist/components/inputs/dropdown/dropdown.js +33 -2
  100. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  101. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  102. package/dist/components/inputs/dropdown/dropdown.styles.js +24 -16
  103. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  104. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
  105. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  106. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +8 -2
  107. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  108. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  109. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +14 -11
  110. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  111. package/dist/components/inputs/number-field/number-field.d.ts +2 -4
  112. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  113. package/dist/components/inputs/number-field/number-field.js +8 -12
  114. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  115. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  116. package/dist/components/inputs/number-field/number-field.styles.js +19 -18
  117. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  118. package/dist/components/inputs/number-field/number-field.template.js +2 -2
  119. package/dist/components/inputs/password-field/password-field.d.ts +9 -9
  120. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  121. package/dist/components/inputs/password-field/password-field.js +24 -18
  122. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  123. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  124. package/dist/components/inputs/password-field/password-field.styles.js +20 -17
  125. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  126. package/dist/components/inputs/password-field/password-field.template.js +3 -3
  127. package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
  128. package/dist/components/inputs/radio-button/radio-button.styles.js +11 -11
  129. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -4
  130. package/dist/components/inputs/search-field/search-field.d.ts +1 -1
  131. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  132. package/dist/components/inputs/search-field/search-field.js +8 -2
  133. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  134. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  135. package/dist/components/inputs/search-field/search-field.styles.js +19 -16
  136. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  137. package/dist/components/inputs/segmented-control/segmented-control.d.ts +8 -2
  138. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  139. package/dist/components/inputs/segmented-control/segmented-control.js +25 -4
  140. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  141. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  142. package/dist/components/inputs/segmented-control/segmented-control.styles.js +78 -107
  143. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  144. package/dist/components/inputs/segmented-control/segmented-control.template.js +1 -1
  145. package/dist/components/inputs/stepper/stepper.styles.js +2 -2
  146. package/dist/components/inputs/stepper/stepper.template.js +2 -2
  147. package/dist/components/inputs/switch/switch.styles.js +13 -13
  148. package/dist/components/inputs/switch-field/switch-field.styles.js +4 -4
  149. package/dist/components/inputs/text-field/text-field.d.ts +1 -1
  150. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  151. package/dist/components/inputs/text-field/text-field.js +8 -2
  152. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  153. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  154. package/dist/components/inputs/text-field/text-field.styles.js +19 -16
  155. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  156. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  157. package/dist/components/inputs/toggle-button/toggle-button.styles.js +38 -18
  158. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  159. package/dist/components/inputs/token/token.d.ts +3 -3
  160. package/dist/components/inputs/token/token.d.ts.map +1 -1
  161. package/dist/components/inputs/token/token.js +6 -6
  162. package/dist/components/inputs/token/token.js.map +1 -1
  163. package/dist/components/inputs/token/token.styles.js +7 -7
  164. package/dist/components/inputs/token/token.template.js +2 -2
  165. package/dist/components/inputs/token/token.template.js.map +1 -1
  166. package/dist/components/layout/app-view/app-view.styles.js +4 -4
  167. package/dist/components/layout/box/box.styles.js +2 -2
  168. package/dist/components/layout/card/card.js +1 -1
  169. package/dist/components/layout/card/card.js.map +1 -1
  170. package/dist/components/layout/card/card.styles.js +4 -4
  171. package/dist/components/layout/collection/collection.styles.js +6 -6
  172. package/dist/components/layout/container/container.d.ts +4 -4
  173. package/dist/components/layout/container/container.js +4 -4
  174. package/dist/components/layout/container/container.styles.js +399 -399
  175. package/dist/components/layout/container/container.styles.js.map +1 -1
  176. package/dist/components/layout/divider/divider.styles.js +2 -2
  177. package/dist/components/layout/page/page.js +1 -1
  178. package/dist/components/layout/page/page.js.map +1 -1
  179. package/dist/components/layout/page/page.styles.js +9 -9
  180. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +6 -3
  181. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  182. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +21 -5
  183. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  184. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  185. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +24 -23
  186. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  187. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +6 -3
  188. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  189. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +21 -5
  190. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  191. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +18 -18
  192. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  193. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +6 -3
  194. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  195. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +21 -5
  196. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  197. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +18 -18
  198. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  199. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +6 -3
  200. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  201. package/dist/components/layout/page-sections/simple-section/simple-section.js +21 -5
  202. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  203. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +23 -23
  204. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  205. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +6 -3
  206. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  207. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +21 -5
  208. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  209. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +18 -18
  210. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  211. package/dist/components/layout/popover/popover.js +1 -1
  212. package/dist/components/layout/popover/popover.js.map +1 -1
  213. package/dist/components/layout/popover/popover.styles.js +4 -4
  214. package/dist/components/layout/sheet/sheet.d.ts +17 -4
  215. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  216. package/dist/components/layout/sheet/sheet.js +43 -9
  217. package/dist/components/layout/sheet/sheet.js.map +1 -1
  218. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  219. package/dist/components/layout/sheet/sheet.styles.js +33 -40
  220. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  221. package/dist/components/layout/spacer/spacer.styles.js +5 -5
  222. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +9 -9
  223. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +34 -34
  224. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
  225. package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
  226. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
  227. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  228. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -3
  229. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +7 -7
  230. package/dist/components/layout/window/window.js +1 -1
  231. package/dist/components/layout/window/window.js.map +1 -1
  232. package/dist/components/layout/window/window.styles.js +8 -8
  233. package/dist/components/lists-and-menus/cells/cell/cell.d.ts +4 -2
  234. package/dist/components/lists-and-menus/cells/cell/cell.d.ts.map +1 -1
  235. package/dist/components/lists-and-menus/cells/cell/cell.js +17 -6
  236. package/dist/components/lists-and-menus/cells/cell/cell.js.map +1 -1
  237. package/dist/components/lists-and-menus/cells/cell/cell.styles.d.ts.map +1 -1
  238. package/dist/components/lists-and-menus/cells/cell/cell.styles.js +26 -15
  239. package/dist/components/lists-and-menus/cells/cell/cell.styles.js.map +1 -1
  240. package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts +2 -2
  241. package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts.map +1 -1
  242. package/dist/components/lists-and-menus/cells/description-cell/description-cell.js +12 -7
  243. package/dist/components/lists-and-menus/cells/description-cell/description-cell.js.map +1 -1
  244. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.d.ts.map +1 -1
  245. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +9 -8
  246. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js.map +1 -1
  247. package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
  248. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts.map +1 -1
  249. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js +1 -1
  250. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js.map +1 -1
  251. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  252. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js +1 -1
  253. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js.map +1 -1
  254. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +1 -1
  255. package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts +3 -4
  256. package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts.map +1 -1
  257. package/dist/components/lists-and-menus/cells/text-cell/text-cell.js +13 -9
  258. package/dist/components/lists-and-menus/cells/text-cell/text-cell.js.map +1 -1
  259. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  260. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +26 -9
  261. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
  262. package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts +3 -4
  263. package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts.map +1 -1
  264. package/dist/components/lists-and-menus/cells/title-cell/title-cell.js +12 -8
  265. package/dist/components/lists-and-menus/cells/title-cell/title-cell.js.map +1 -1
  266. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  267. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +26 -9
  268. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
  269. package/dist/components/lists-and-menus/list/list.d.ts.map +1 -1
  270. package/dist/components/lists-and-menus/list/list.i18n.js +1 -1
  271. package/dist/components/lists-and-menus/list/list.i18n.js.map +1 -1
  272. package/dist/components/lists-and-menus/list/list.js +7 -0
  273. package/dist/components/lists-and-menus/list/list.js.map +1 -1
  274. package/dist/components/lists-and-menus/list/list.styles.js +13 -13
  275. package/dist/components/lists-and-menus/list-item/list-item.styles.js +21 -21
  276. package/dist/components/lists-and-menus/menu/menu.d.ts +160 -29
  277. package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
  278. package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +2 -0
  279. package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
  280. package/dist/components/lists-and-menus/menu/menu.i18n.js +2 -0
  281. package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
  282. package/dist/components/lists-and-menus/menu/menu.js +534 -102
  283. package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
  284. package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
  285. package/dist/components/lists-and-menus/menu/menu.styles.js +93 -32
  286. package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
  287. package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
  288. package/dist/components/lists-and-menus/menu/menu.template.js +13 -0
  289. package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
  290. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +0 -2
  291. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  292. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +20 -22
  293. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  294. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +48 -48
  295. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
  296. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +12 -10
  297. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  298. package/dist/components/navigation/link/link.d.ts.map +1 -0
  299. package/dist/components/navigation/link/link.js.map +1 -0
  300. package/dist/components/navigation/link/link.styles.d.ts.map +1 -0
  301. package/dist/components/{actions → navigation}/link/link.styles.js +4 -4
  302. package/dist/components/navigation/link/link.styles.js.map +1 -0
  303. package/dist/components/navigation/link/link.template.d.ts.map +1 -0
  304. package/dist/components/navigation/link/link.template.js.map +1 -0
  305. package/dist/components/navigation/menu-bar/menu-bar.d.ts +17 -5
  306. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  307. package/dist/components/navigation/menu-bar/menu-bar.js +80 -35
  308. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  309. package/dist/components/navigation/menu-bar/menu-bar.styles.js +2 -2
  310. package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
  311. package/dist/components/navigation/menu-bar/menu-bar.template.js +12 -2
  312. package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
  313. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +17 -1
  314. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  315. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +28 -6
  316. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  317. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +21 -21
  318. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
  319. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +3 -1
  320. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
  321. package/dist/components/navigation/pagination/pagination.d.ts +15 -2
  322. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  323. package/dist/components/navigation/pagination/pagination.js +24 -4
  324. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  325. package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  326. package/dist/components/navigation/pagination/pagination.styles.js +48 -76
  327. package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
  328. package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
  329. package/dist/components/navigation/pagination/pagination.template.js +23 -16
  330. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  331. package/dist/components/navigation/skip-link/skip-link.styles.js +9 -9
  332. package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -1
  333. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  334. package/dist/components/navigation/tab-bar/tab-bar.js +5 -3
  335. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  336. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  337. package/dist/components/navigation/tab-bar/tab-bar.styles.js +55 -58
  338. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  339. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
  340. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  341. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  342. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +57 -70
  343. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  344. package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
  345. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +16 -14
  346. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
  347. package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
  348. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +1 -0
  349. package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
  350. package/dist/components/{prism-typescript-Cdpexfvg.js → prism-typescript-D2EqsCqV.js} +1 -1
  351. package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
  352. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  353. package/dist/components/status-and-feedback/badge/badge.js +3 -3
  354. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  355. package/dist/components/status-and-feedback/badge/badge.styles.js +13 -13
  356. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +7 -7
  357. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +5 -5
  358. package/dist/css/global.css +1 -0
  359. package/dist/css/reset.css +7 -0
  360. package/dist/css/rich-text.css +106 -79
  361. package/dist/css/settings.css +121 -89
  362. package/dist/utilities/os.d.ts +27 -0
  363. package/dist/utilities/os.d.ts.map +1 -0
  364. package/dist/utilities/os.js +60 -0
  365. package/dist/utilities/os.js.map +1 -0
  366. package/dist/utilities/visibility-mixin.d.ts +18 -12
  367. package/dist/utilities/visibility-mixin.d.ts.map +1 -1
  368. package/dist/utilities/visibility-mixin.js +21 -14
  369. package/dist/utilities/visibility-mixin.js.map +1 -1
  370. package/package.json +6 -6
  371. package/dist/components/actions/link/link.d.ts.map +0 -1
  372. package/dist/components/actions/link/link.js.map +0 -1
  373. package/dist/components/actions/link/link.styles.d.ts.map +0 -1
  374. package/dist/components/actions/link/link.styles.js.map +0 -1
  375. package/dist/components/actions/link/link.template.d.ts.map +0 -1
  376. package/dist/components/actions/link/link.template.js.map +0 -1
  377. /package/dist/components/{actions → navigation}/link/link.d.ts +0 -0
  378. /package/dist/components/{actions → navigation}/link/link.js +0 -0
  379. /package/dist/components/{actions → navigation}/link/link.styles.d.ts +0 -0
  380. /package/dist/components/{actions → navigation}/link/link.template.d.ts +0 -0
  381. /package/dist/components/{actions → navigation}/link/link.template.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AAyBD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,wCA+BlE"}
1
+ {"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AAyBD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,wCAkDlE"}
@@ -7,7 +7,7 @@ function renderContent(component) {
7
7
  name=${component.startIcon}
8
8
  ></nldd-icon>
9
9
  ` : html `<slot name="start-icon"></slot>`}
10
- ${component.text}
10
+ <span class="button__text">${component.text}</span>
11
11
  ${component.endIcon ? html `
12
12
  <nldd-icon class="button__end-icon"
13
13
  name=${component.endIcon}
@@ -23,6 +23,13 @@ function renderContent(component) {
23
23
  }
24
24
  export function template(helpers) {
25
25
  const content = renderContent(this);
26
+ // `expandable` (disclosure widget signal) or `popup-type` (popup container
27
+ // signal) both require aria-expanded to always be present so screen
28
+ // readers know the current open/closed state. Without one of these, only
29
+ // open=true forwards aria-expanded — keeps plain buttons free of
30
+ // irrelevant ARIA attributes.
31
+ const isDisclosure = this.expandable || !!this.popupType;
32
+ const ariaExpanded = isDisclosure ? String(this.expanded) : (this.expanded ? 'true' : nothing);
26
33
  if (this.href) {
27
34
  const resolvedRel = this._resolvedRel();
28
35
  return html `
@@ -32,19 +39,30 @@ export function template(helpers) {
32
39
  rel=${resolvedRel || nothing}
33
40
  aria-disabled=${this.disabled ? 'true' : nothing}
34
41
  aria-label=${this.accessibleLabel || nothing}
42
+ aria-haspopup=${this.popupType || nothing}
43
+ aria-expanded=${ariaExpanded}
35
44
  @click=${helpers.handleClick}
36
45
  >
37
46
  ${content}
38
47
  </a>
39
48
  `;
40
49
  }
50
+ // .popoverTargetElement / .popoverTargetAction are bound unguarded: in
51
+ // browsers without Popover-invoker IDL support Lit sets a harmless expando
52
+ // and the cross-shadow association just doesn't take effect — but those
53
+ // browsers don't support the Popover API at all, so the menu this button
54
+ // drives is non-functional regardless. No per-binding capability check.
41
55
  return html `
42
56
  <button class="button"
43
57
  type=${this.type}
44
58
  ?disabled=${this.disabled}
45
59
  aria-disabled=${this.disabled ? 'true' : nothing}
46
60
  aria-label=${this.accessibleLabel || nothing}
61
+ aria-haspopup=${this.popupType || nothing}
62
+ aria-expanded=${ariaExpanded}
47
63
  popovertarget=${this.popovertarget || nothing}
64
+ .popoverTargetElement=${this.popoverTargetElement}
65
+ .popoverTargetAction=${this.popoverTargetAction}
48
66
  @click=${helpers.handleClick}
49
67
  >
50
68
  ${content}
@@ -1 +1 @@
1
- {"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAOpC,SAAS,aAAa,CAAC,SAAqB;IAC3C,OAAO,IAAI,CAAA;;KAEP,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;YAEnB,SAAS,CAAC,SAAS;;IAE3B,CAAC,CAAC,CAAC,IAAI,CAAA,iCAAiC;KACvC,SAAS,CAAC,IAAI;KACd,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA;;YAEjB,SAAS,CAAC,OAAO;;IAEzB,CAAC,CAAC,CAAC,IAAI,CAAA,+BAA+B;KACrC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAA;;;;IAI5B,CAAC,CAAC,CAAC,OAAO;;EAEZ,CAAC;AACH,CAAC;AAED,MAAM,UAAU,QAAQ,CAAmB,OAAwB;IAClE,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IAEpC,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;QACf,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QACxC,OAAO,IAAI,CAAA;;WAEF,IAAI,CAAC,IAAI;aACP,IAAI,CAAC,MAAM,IAAI,OAAO;UACzB,WAAW,IAAI,OAAO;oBACZ,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;iBACnC,IAAI,CAAC,eAAe,IAAI,OAAO;aACnC,OAAO,CAAC,WAAW;;MAE1B,OAAO;;GAEV,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAA;;UAEF,IAAI,CAAC,IAAI;eACJ,IAAI,CAAC,QAAQ;mBACT,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBACnC,IAAI,CAAC,eAAe,IAAI,OAAO;mBAC5B,IAAI,CAAC,aAAa,IAAI,OAAO;YACpC,OAAO,CAAC,WAAW;;KAE1B,OAAO;;EAEV,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAOpC,SAAS,aAAa,CAAC,SAAqB;IAC3C,OAAO,IAAI,CAAA;;KAEP,SAAS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;GAEV,CAAC;IACH,CAAC;IAED,uEAAuE;IACvE,2EAA2E;IAC3E,wEAAwE;IACxE,yEAAyE;IACzE,wEAAwE;IACxE,OAAO,IAAI,CAAA;;UAEF,IAAI,CAAC,IAAI;eACJ,IAAI,CAAC,QAAQ;mBACT,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBACnC,IAAI,CAAC,eAAe,IAAI,OAAO;mBAC5B,IAAI,CAAC,SAAS,IAAI,OAAO;mBACzB,YAAY;mBACZ,IAAI,CAAC,aAAa,IAAI,OAAO;2BACrB,IAAI,CAAC,oBAAoB;0BAC1B,IAAI,CAAC,mBAAmB;YACtC,OAAO,CAAC,WAAW;;KAE1B,OAAO;;EAEV,CAAC;AACH,CAAC"}
@@ -55,16 +55,16 @@ export const buttonBarStyles = css `
55
55
  /* # Size: XS */
56
56
 
57
57
  :host([size="xs"]) .button-bar {
58
- height: var(--semantics-controls-xs-min-size);
59
58
  border-radius: var(--semantics-controls-xs-corner-radius);
59
+ height: var(--semantics-controls-xs-min-size);
60
60
  }
61
61
 
62
62
 
63
63
  /* # Size: SM */
64
64
 
65
65
  :host([size="sm"]) .button-bar {
66
- height: var(--semantics-controls-sm-min-size);
67
66
  border-radius: var(--semantics-controls-sm-corner-radius);
67
+ height: var(--semantics-controls-sm-min-size);
68
68
  }
69
69
 
70
70
 
@@ -72,8 +72,8 @@ export const buttonBarStyles = css `
72
72
 
73
73
  :host([size="md"]) .button-bar,
74
74
  :host(:not([size])) .button-bar {
75
- height: var(--semantics-controls-md-min-size);
76
75
  border-radius: var(--semantics-controls-md-corner-radius);
76
+ height: var(--semantics-controls-md-min-size);
77
77
  }
78
78
 
79
79
 
@@ -100,8 +100,8 @@ export const buttonBarStyles = css `
100
100
  }
101
101
 
102
102
  .button-bar__divider-line {
103
- width: var(--semantics-dividers-thickness);
104
103
  background-color: var(--semantics-buttons-neutral-tinted-divider-color);
104
+ width: var(--semantics-dividers-thickness);
105
105
  }
106
106
 
107
107
  :host([variant="accent-filled"]) .button-bar__divider-line,
@@ -38,10 +38,10 @@ let NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
38
38
  console.warn('nldd-button-group: Only 3 buttons are allowed. Extra buttons will be hidden.');
39
39
  }
40
40
  if (this.orientation === 'vertical') {
41
- el.setAttribute('full-width', '');
41
+ el.setAttribute('width', 'full');
42
42
  }
43
43
  else {
44
- el.removeAttribute('full-width');
44
+ el.removeAttribute('width');
45
45
  }
46
46
  el.setAttribute('size', this.size);
47
47
  });
@@ -1 +1 @@
1
- {"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAM/C,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,UAAU;IAAxC;;QAIN,SAAI,GAAS,IAAI,CAAC;QAGlB,gBAAW,GAAgB,UAAU,CAAC;IAmCvC,CAAC;IA9BA,gBAAgB;QACf,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK;aACzB,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;aACnC,MAAM,CAAC,CAAC,EAAE,EAAqB,EAAE,CAAC,EAAE,YAAY,WAAW,CAAC,CAAC;QAE/D,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE;YAC9B,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;gBAChB,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;gBAC9B,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG;oBAAE,OAAO,CAAC,IAAI,CAAC,8EAA8E,CAAC,CAAC;YACxH,CAAC;YAED,IAAI,IAAI,CAAC,WAAW,KAAK,UAAU,EAAE,CAAC;gBACrC,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACP,EAAE,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;YAClC,CAAC;YAED,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACJ,CAAC;IAEQ,OAAO,CAAC,iBAAuC;QACvD,IAAI,iBAAiB,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YAC3E,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACzB,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;;AAxCe,sBAAM,GAAG,iBAAiB,AAApB,CAAqB;AAG3C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACxB;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDACJ;AAG9B;IADP,KAAK,CAAC,MAAM,CAAC;8CACkB;AAVpB,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CA0C3B"}
1
+ {"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,M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C;QACzB,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;;AAxCe,sBAAM,GAAG,iBAAiB,AAApB,CAAqB;AAG3C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACxB;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDACJ;AAG9B;IADP,KAAK,CAAC,MAAM,CAAC;8CACkB;AAVpB,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CA0C3B"}
@@ -40,8 +40,8 @@ export const buttonGroupStyles = css `
40
40
  }
41
41
 
42
42
  :host([orientation="vertical"]) .button-group {
43
- flex-direction: column;
44
43
  width: 100%;
44
+ flex-direction: column;
45
45
  }
46
46
 
47
47
 
@@ -2,22 +2,26 @@
2
2
  * Nederlandse Digitale Dienst Icon Button Component (Lit + TypeScript)
3
3
  *
4
4
  * @element nldd-icon-button
5
- * @attr {string} variant - Button variant: 'accent-filled' | 'accent-outlined' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'primary' | 'secondary' | 'destructive'
5
+ * @attr {string} variant - Button variant: 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'primary' | 'secondary' | 'destructive'
6
6
  * @attr {string} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
7
7
  * @attr {boolean} disabled - Disabled state
8
8
  * @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
9
9
  * @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
10
- * @attr {boolean} full-width - Whether the button stretches to fill its container width
10
+ * @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
11
+ * @attr {string} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state.
12
+ * @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
11
13
  * @attr {string} text - Button text, used as aria-label and shown below the icon in lg size
12
14
  * @attr {string} icon - Icon name for the nldd-icon element
13
15
  * @attr {string} accessible-label - Accessible label for screen readers. Overrides text as aria-label
14
16
  * and title tooltip. Use when the visible text alone lacks context for screen
15
17
  * readers (e.g. text "Toon", accessible-label "Toon wachtwoord").
16
18
  * The text is still shown visually in lg size regardless.
17
- * @attr {boolean} hide-tooltip - Suppress the visual tooltip while keeping aria-label intact.
18
- * Use when the surrounding context already explains the button
19
- * (e.g. spin buttons in nldd-number-field, the chevron in
20
- * nldd-split-button) screen readers still get the label.
19
+ * @attr {string} tooltip-timing - Forwarded to the inner nldd-tooltip's `timing`:
20
+ * 'default' (700 ms show-delay), 'instant', or 'never'
21
+ * (suppress the visual tooltip; screen readers still get the
22
+ * aria-label). Use 'never' when the surrounding context
23
+ * already explains the button (e.g. spin buttons in
24
+ * nldd-number-field, the chevron in nldd-split-button).
21
25
  * @attr {string} href - When set, renders an <a> element instead of <button>
22
26
  * @attr {string} target - Link target (e.g. '_blank'); only used when href is set
23
27
  * @attr {string} rel - Link rel attribute; defaults to 'noopener noreferrer' when target is '_blank'
@@ -35,8 +39,9 @@
35
39
  import { LitElement } from 'lit';
36
40
  import './../../content/icon/icon.js';
37
41
  export type Size = 'xs' | 'sm' | 'md' | 'lg';
38
- export type Variant = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-outlined' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted';
42
+ export type Variant = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent';
39
43
  export type ButtonType = 'button' | 'submit' | 'reset';
44
+ export type PopupType = 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid';
40
45
  export declare class NLDDIconButton extends LitElement {
41
46
  static styles: import("lit").CSSResult;
42
47
  variant: Variant;
@@ -44,8 +49,34 @@ export declare class NLDDIconButton extends LitElement {
44
49
  disabled: boolean;
45
50
  type: ButtonType;
46
51
  expandable: boolean;
47
- fullWidth: boolean;
52
+ expanded: boolean;
53
+ /**
54
+ * Type of popup container this button opens. Sets `aria-haspopup` on the
55
+ * inner button and forces `aria-expanded` to always be present (true/false)
56
+ * so screen readers can announce both the popup type and its current state.
57
+ */
58
+ popupType?: PopupType;
59
+ /** Width mode: 'full' (stretch to container) or any CSS length. */
60
+ width: string;
48
61
  popovertarget: string | undefined;
62
+ /**
63
+ * Direct element reference to the popover this button invokes — IDL-only
64
+ * counterpart to `popovertarget` that works across shadow boundaries.
65
+ * Use this when the popover lives in a different tree (e.g. an
66
+ * `nldd-menu` reparented to `<body>`) so the browser still recognises
67
+ * this button as the popover's invoker and excludes it from the popover
68
+ * light-dismiss algorithm. Set programmatically; not reflected to an
69
+ * HTML attribute (the attribute form is `popovertarget`, ID-based).
70
+ */
71
+ popoverTargetElement: Element | null;
72
+ /**
73
+ * Action the browser performs when the button is clicked, mirroring the
74
+ * standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use
75
+ * `'show'` when a separate handler owns the close path (e.g. the
76
+ * consumer toggles the popover programmatically) so the browser's
77
+ * default action doesn't double-fire.
78
+ */
79
+ popoverTargetAction: 'toggle' | 'show' | 'hide';
49
80
  /** Button text, used as aria-label and shown below the icon in lg size. */
50
81
  text: string;
51
82
  /** Icon name for the nldd-icon element. When not set, the icon slot is used. */
@@ -53,8 +84,9 @@ export declare class NLDDIconButton extends LitElement {
53
84
  /** Accessible label for screen readers. Overrides text as aria-label and title tooltip.
54
85
  * The text is still shown visually in lg size regardless. */
55
86
  accessibleLabel: string;
56
- /** Suppress the visual tooltip while keeping aria-label intact. */
57
- hideTooltip: boolean;
87
+ /** Forwarded to the inner nldd-tooltip's `timing`. Use `'never'` to
88
+ * suppress the visual tooltip; aria-label still describes the button. */
89
+ tooltipTiming: 'default' | 'instant' | 'never';
58
90
  /** When set, renders an <a> element instead of <button>. */
59
91
  href: string | undefined;
60
92
  /** Link target (e.g. '_blank'). Only used when href is set. */
@@ -67,7 +99,7 @@ export declare class NLDDIconButton extends LitElement {
67
99
  /** Whether an icon is present via attribute or slot. */
68
100
  private get _hasIcon();
69
101
  private _warnedA11y;
70
- updated(): void;
102
+ updated(changedProperties: Map<string, unknown>): void;
71
103
  /** Resolves the effective rel value for link rendering. */
72
104
  _resolvedRel(): string;
73
105
  protected _handleClick(e: MouseEvent): void;
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,8BAA8B,CAAC;AAEtC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,OAAO,GAChB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,iBAAiB,GACjB,oBAAoB,GACpB,gBAAgB,GAChB,qBAAqB,GACrB,iBAAiB,CAAC;AACrB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEvD,qBACa,cAAe,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAoB;IAG1C,OAAO,EAAE,OAAO,CAAoB;IAGpC,IAAI,EAAE,IAAI,CAAQ;IAGlB,QAAQ,UAAS;IAGjB,IAAI,EAAE,UAAU,CAAY;IAG5B,UAAU,UAAS;IAGnB,SAAS,UAAS;IAGlB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAa;IAE9C,2EAA2E;IAE3E,IAAI,SAAM;IAEV,gFAAgF;IAEhF,IAAI,SAAM;IAEV;kEAC8D;IAE9D,eAAe,SAAM;IAErB,mEAAmE;IAEnE,WAAW,UAAS;IAEpB,4DAA4D;IAE5D,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC,+DAA+D;IAE/D,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;;;OAGG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAEpC,wDAAwD;IACxD,OAAO,KAAK,QAAQ,GAInB;IAED,OAAO,CAAC,WAAW,CAAS;IAEnB,OAAO,IAAI,IAAI;IAUxB,2DAA2D;IAC3D,YAAY,IAAI,MAAM;IAMtB,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAQ3C;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAInC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
1
+ {"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,8BAA8B,CAAC;AAEtC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,OAAO,GAChB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,CAAC;AAC1B,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AACvD,MAAM,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Y,GAAG,IAAI;IAInC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
@@ -8,22 +8,26 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  * Nederlandse Digitale Dienst Icon Button Component (Lit + TypeScript)
9
9
  *
10
10
  * @element nldd-icon-button
11
- * @attr {string} variant - Button variant: 'accent-filled' | 'accent-outlined' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'primary' | 'secondary' | 'destructive'
11
+ * @attr {string} variant - Button variant: 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'primary' | 'secondary' | 'destructive'
12
12
  * @attr {string} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
13
13
  * @attr {boolean} disabled - Disabled state
14
14
  * @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
15
15
  * @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
16
- * @attr {boolean} full-width - Whether the button stretches to fill its container width
16
+ * @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
17
+ * @attr {string} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state.
18
+ * @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
17
19
  * @attr {string} text - Button text, used as aria-label and shown below the icon in lg size
18
20
  * @attr {string} icon - Icon name for the nldd-icon element
19
21
  * @attr {string} accessible-label - Accessible label for screen readers. Overrides text as aria-label
20
22
  * and title tooltip. Use when the visible text alone lacks context for screen
21
23
  * readers (e.g. text "Toon", accessible-label "Toon wachtwoord").
22
24
  * The text is still shown visually in lg size regardless.
23
- * @attr {boolean} hide-tooltip - Suppress the visual tooltip while keeping aria-label intact.
24
- * Use when the surrounding context already explains the button
25
- * (e.g. spin buttons in nldd-number-field, the chevron in
26
- * nldd-split-button) screen readers still get the label.
25
+ * @attr {string} tooltip-timing - Forwarded to the inner nldd-tooltip's `timing`:
26
+ * 'default' (700 ms show-delay), 'instant', or 'never'
27
+ * (suppress the visual tooltip; screen readers still get the
28
+ * aria-label). Use 'never' when the surrounding context
29
+ * already explains the button (e.g. spin buttons in
30
+ * nldd-number-field, the chevron in nldd-split-button).
27
31
  * @attr {string} href - When set, renders an <a> element instead of <button>
28
32
  * @attr {string} target - Link target (e.g. '_blank'); only used when href is set
29
33
  * @attr {string} rel - Link rel attribute; defaults to 'noopener noreferrer' when target is '_blank'
@@ -51,8 +55,28 @@ let NLDDIconButton = class NLDDIconButton extends LitElement {
51
55
  this.disabled = false;
52
56
  this.type = 'button';
53
57
  this.expandable = false;
54
- this.fullWidth = false;
58
+ this.expanded = false;
59
+ /** Width mode: 'full' (stretch to container) or any CSS length. */
60
+ this.width = '';
55
61
  this.popovertarget = undefined;
62
+ /**
63
+ * Direct element reference to the popover this button invokes — IDL-only
64
+ * counterpart to `popovertarget` that works across shadow boundaries.
65
+ * Use this when the popover lives in a different tree (e.g. an
66
+ * `nldd-menu` reparented to `<body>`) so the browser still recognises
67
+ * this button as the popover's invoker and excludes it from the popover
68
+ * light-dismiss algorithm. Set programmatically; not reflected to an
69
+ * HTML attribute (the attribute form is `popovertarget`, ID-based).
70
+ */
71
+ this.popoverTargetElement = null;
72
+ /**
73
+ * Action the browser performs when the button is clicked, mirroring the
74
+ * standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use
75
+ * `'show'` when a separate handler owns the close path (e.g. the
76
+ * consumer toggles the popover programmatically) so the browser's
77
+ * default action doesn't double-fire.
78
+ */
79
+ this.popoverTargetAction = 'toggle';
56
80
  /** Button text, used as aria-label and shown below the icon in lg size. */
57
81
  this.text = '';
58
82
  /** Icon name for the nldd-icon element. When not set, the icon slot is used. */
@@ -60,8 +84,9 @@ let NLDDIconButton = class NLDDIconButton extends LitElement {
60
84
  /** Accessible label for screen readers. Overrides text as aria-label and title tooltip.
61
85
  * The text is still shown visually in lg size regardless. */
62
86
  this.accessibleLabel = '';
63
- /** Suppress the visual tooltip while keeping aria-label intact. */
64
- this.hideTooltip = false;
87
+ /** Forwarded to the inner nldd-tooltip's `timing`. Use `'never'` to
88
+ * suppress the visual tooltip; aria-label still describes the button. */
89
+ this.tooltipTiming = 'default';
65
90
  /** When set, renders an <a> element instead of <button>. */
66
91
  this.href = undefined;
67
92
  /** Link target (e.g. '_blank'). Only used when href is set. */
@@ -80,7 +105,24 @@ let NLDDIconButton = class NLDDIconButton extends LitElement {
80
105
  const slot = this.shadowRoot?.querySelector('slot[name="icon"]');
81
106
  return (slot?.assignedElements().length ?? 0) > 0;
82
107
  }
83
- updated() {
108
+ updated(changedProperties) {
109
+ if (changedProperties.has('width')) {
110
+ const w = this.width;
111
+ // 'full' switches host to block + 100% via CSS attribute selector.
112
+ // A valid CSS length is applied as inline style.width on the host.
113
+ // In either case the inner button stretches via --_width, so
114
+ // a custom width on the host translates to a wide button instead
115
+ // of leaving the size-based square. Invalid values do nothing.
116
+ const isFull = w === 'full';
117
+ const isValidLength = !!w && !isFull && CSS.supports('width', w);
118
+ this.style.width = isValidLength ? w : '';
119
+ if (isFull || isValidLength) {
120
+ this.style.setProperty('--_width', '100%');
121
+ }
122
+ else {
123
+ this.style.removeProperty('--_width');
124
+ }
125
+ }
84
126
  const inaccessible = this._hasIcon && !this.text && !this.accessibleLabel;
85
127
  if (import.meta.env?.DEV && inaccessible && !this._warnedA11y) {
86
128
  this._warnedA11y = true;
@@ -133,11 +175,23 @@ __decorate([
133
175
  property({ type: Boolean, reflect: true, attribute: 'expandable' })
134
176
  ], NLDDIconButton.prototype, "expandable", void 0);
135
177
  __decorate([
136
- property({ type: Boolean, reflect: true, attribute: 'full-width' })
137
- ], NLDDIconButton.prototype, "fullWidth", void 0);
178
+ property({ type: Boolean, reflect: true })
179
+ ], NLDDIconButton.prototype, "expanded", void 0);
180
+ __decorate([
181
+ property({ type: String, reflect: true, attribute: 'popup-type' })
182
+ ], NLDDIconButton.prototype, "popupType", void 0);
183
+ __decorate([
184
+ property({ type: String, reflect: true })
185
+ ], NLDDIconButton.prototype, "width", void 0);
138
186
  __decorate([
139
187
  property({ type: String })
140
188
  ], NLDDIconButton.prototype, "popovertarget", void 0);
189
+ __decorate([
190
+ property({ attribute: false })
191
+ ], NLDDIconButton.prototype, "popoverTargetElement", void 0);
192
+ __decorate([
193
+ property({ attribute: false })
194
+ ], NLDDIconButton.prototype, "popoverTargetAction", void 0);
141
195
  __decorate([
142
196
  property({ type: String })
143
197
  ], NLDDIconButton.prototype, "text", void 0);
@@ -148,8 +202,8 @@ __decorate([
148
202
  property({ type: String, attribute: 'accessible-label' })
149
203
  ], NLDDIconButton.prototype, "accessibleLabel", void 0);
150
204
  __decorate([
151
- property({ type: Boolean, reflect: true, attribute: 'hide-tooltip' })
152
- ], NLDDIconButton.prototype, "hideTooltip", void 0);
205
+ property({ type: String, reflect: true, attribute: 'tooltip-timing' })
206
+ ], NLDDIconButton.prototype, "tooltipTiming", void 0);
153
207
  __decorate([
154
208
  property({ type: String, reflect: true })
155
209
  ], NLDDIconButton.prototype, "href", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,8BAA8B,CAAC;AAg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Q,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qDACmB;AAY9C;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;4DACa;AAU5C;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;2DAC4B;AAI3D;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACjB;AAIV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACjB;AAKV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;uDACrC;AAKrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;qDACZ;AAI3D;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CACL;AAIrC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CACY;AAOvC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CACS;AAzFxB,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAwJ1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAuV5B,CAAC"}
1
+ {"version":3,"file":"icon-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAgZ5B,CAAC"}