@nldd/design-system 0.8.93 → 0.8.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/NOTICES.md +21 -1
  2. package/README.md +3 -3
  3. package/custom-elements.json +575 -96
  4. package/dist/components/actions/button/button.d.ts +8 -5
  5. package/dist/components/actions/button/button.d.ts.map +1 -1
  6. package/dist/components/actions/button/button.js +11 -5
  7. package/dist/components/actions/button/button.js.map +1 -1
  8. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  9. package/dist/components/actions/button/button.styles.js +41 -73
  10. package/dist/components/actions/button/button.styles.js.map +1 -1
  11. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  12. package/dist/components/actions/button/button.template.js +1 -0
  13. package/dist/components/actions/button/button.template.js.map +1 -1
  14. package/dist/components/actions/button-bar/button-bar.d.ts +11 -4
  15. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  16. package/dist/components/actions/button-bar/button-bar.js +25 -9
  17. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  18. package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
  19. package/dist/components/actions/button-bar/button-bar.styles.js +18 -3
  20. package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.d.ts +8 -5
  22. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  23. package/dist/components/actions/icon-button/icon-button.js +11 -5
  24. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  25. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  26. package/dist/components/actions/icon-button/icon-button.styles.js +35 -61
  27. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  28. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  29. package/dist/components/actions/icon-button/icon-button.template.js +1 -0
  30. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  31. package/dist/components/actions/menu/menu.d.ts +17 -2
  32. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  33. package/dist/components/actions/menu/menu.js +34 -11
  34. package/dist/components/actions/menu/menu.js.map +1 -1
  35. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  36. package/dist/components/actions/menu/menu.template.js +5 -3
  37. package/dist/components/actions/menu/menu.template.js.map +1 -1
  38. package/dist/components/actions/split-button/split-button.d.ts +2 -2
  39. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  40. package/dist/components/actions/split-button/split-button.js +5 -4
  41. package/dist/components/actions/split-button/split-button.js.map +1 -1
  42. package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
  43. package/dist/components/actions/split-button/split-button.styles.js +18 -3
  44. package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
  45. package/dist/components/actions/split-button/split-button.template.js +2 -2
  46. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  47. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  48. package/dist/components/actions/toolbar/toolbar.js +3 -2
  49. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  50. package/dist/components/components.js +1132 -461
  51. package/dist/components/content/avatar/avatar.js +1 -1
  52. package/dist/components/content/avatar/avatar.js.map +1 -1
  53. package/dist/components/content/code-viewer/code-viewer.d.ts +2 -2
  54. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  55. package/dist/components/content/code-viewer/code-viewer.js +10 -6
  56. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  57. package/dist/components/content/code-viewer/code-viewer.styles.js +6 -6
  58. package/dist/components/content/image/image.d.ts.map +1 -1
  59. package/dist/components/content/image/image.js +2 -1
  60. package/dist/components/content/image/image.js.map +1 -1
  61. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +3 -3
  62. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  63. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +3 -3
  64. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  65. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +7 -7
  66. package/dist/components/content/rich-text/rich-text.d.ts +2 -0
  67. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  68. package/dist/components/content/rich-text/rich-text.js +8 -1
  69. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  70. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  71. package/dist/components/content/text/text.styles.js +1 -0
  72. package/dist/components/content/text/text.styles.js.map +1 -1
  73. package/dist/components/content/token/token.d.ts.map +1 -1
  74. package/dist/components/content/token/token.js +2 -1
  75. package/dist/components/content/token/token.js.map +1 -1
  76. package/dist/components/content/token/token.template.js +2 -2
  77. package/dist/components/forms/form-actions/form-actions.d.ts +1 -1
  78. package/dist/components/forms/form-actions/form-actions.js +1 -1
  79. package/dist/components/{icon-button-hO6k8W63.js → icon-button-DHzLMmj0.js} +45 -67
  80. package/dist/components/index.d.ts +1 -0
  81. package/dist/components/index.d.ts.map +1 -1
  82. package/dist/components/index.js +2 -0
  83. package/dist/components/index.js.map +1 -1
  84. package/dist/components/inputs/code-editor/code-editor.d.ts +5 -5
  85. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  86. package/dist/components/inputs/code-editor/code-editor.js +5 -5
  87. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  88. package/dist/components/inputs/code-editor/code-editor.styles.js +3 -3
  89. package/dist/components/inputs/combo-box/combo-box.d.ts +43 -2
  90. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  91. package/dist/components/inputs/combo-box/combo-box.js +115 -40
  92. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  93. package/dist/components/inputs/combo-box/combo-box.template.js +2 -2
  94. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  95. package/dist/components/inputs/date-field/date-field.js +2 -1
  96. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  97. package/dist/components/inputs/date-field/date-field.template.js +1 -1
  98. package/dist/components/inputs/date-picker/date-picker.template.js +2 -2
  99. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  100. package/dist/components/inputs/dropdown/dropdown.d.ts +0 -2
  101. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  102. package/dist/components/inputs/dropdown/dropdown.js +1 -13
  103. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  104. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  105. package/dist/components/inputs/dropdown/dropdown.styles.js +24 -12
  106. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  107. package/dist/components/inputs/dropdown/dropdown.template.d.ts.map +1 -1
  108. package/dist/components/inputs/dropdown/dropdown.template.js +0 -1
  109. package/dist/components/inputs/dropdown/dropdown.template.js.map +1 -1
  110. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  111. package/dist/components/inputs/file-field/file-field.js +2 -7
  112. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  113. package/dist/components/inputs/file-field/file-field.template.js +2 -2
  114. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  115. package/dist/components/inputs/number-field/number-field.js +2 -1
  116. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  117. package/dist/components/inputs/number-field/number-field.template.js +2 -2
  118. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  119. package/dist/components/inputs/search-field/search-field.js +2 -1
  120. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  121. package/dist/components/inputs/search-field/search-field.template.js +2 -2
  122. package/dist/components/inputs/segmented-control/segmented-control.d.ts +6 -0
  123. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  124. package/dist/components/inputs/segmented-control/segmented-control.js +13 -0
  125. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  126. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  127. package/dist/components/inputs/segmented-control/segmented-control.styles.js +54 -16
  128. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  129. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  130. package/dist/components/inputs/stepper/stepper.js +2 -1
  131. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  132. package/dist/components/inputs/stepper/stepper.template.js +2 -2
  133. package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -1
  134. package/dist/components/inputs/text-editor/text-editor.annotations.js +6 -4
  135. package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
  136. package/dist/components/inputs/text-editor/text-editor.d.ts +27 -64
  137. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  138. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +2 -0
  139. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  140. package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -0
  141. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  142. package/dist/components/inputs/text-editor/text-editor.js +87 -20
  143. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  144. package/dist/components/inputs/text-editor/text-editor.labels.d.ts +4 -0
  145. package/dist/components/inputs/text-editor/text-editor.labels.d.ts.map +1 -0
  146. package/dist/components/inputs/text-editor/text-editor.labels.js +5 -0
  147. package/dist/components/inputs/text-editor/text-editor.labels.js.map +1 -0
  148. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  149. package/dist/components/inputs/text-editor/text-editor.links.js +6 -4
  150. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  151. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  152. package/dist/components/inputs/text-editor/text-editor.markdown.js +5 -1
  153. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  154. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +27 -3
  155. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  156. package/dist/components/inputs/text-editor/text-editor.mentions.js +144 -25
  157. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  158. package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts +11 -0
  159. package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts.map +1 -0
  160. package/dist/components/inputs/text-editor/text-editor.spellcheck.js +134 -0
  161. package/dist/components/inputs/text-editor/text-editor.spellcheck.js.map +1 -0
  162. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  163. package/dist/components/inputs/text-editor/text-editor.styles.js +9 -3
  164. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  165. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  166. package/dist/components/inputs/time-field/time-field.js +2 -1
  167. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  168. package/dist/components/inputs/time-field/time-field.template.js +2 -2
  169. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  170. package/dist/components/inputs/time-picker/time-picker.js +2 -1
  171. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  172. package/dist/components/inputs/toggle-button/toggle-button.d.ts +12 -0
  173. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  174. package/dist/components/inputs/toggle-button/toggle-button.js +17 -0
  175. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  176. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  177. package/dist/components/inputs/toggle-button/toggle-button.styles.js +99 -12
  178. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  179. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  180. package/dist/components/inputs/toggle-button/toggle-button.template.js +3 -2
  181. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  182. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +4 -2
  183. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  184. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -2
  185. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  186. package/dist/components/inputs/token-field/token-field.d.ts +26 -1
  187. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  188. package/dist/components/inputs/token-field/token-field.js +59 -6
  189. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  190. package/dist/components/inputs/token-field/token-field.template.js +1 -1
  191. package/dist/components/layout/card/card.d.ts +3 -0
  192. package/dist/components/layout/card/card.d.ts.map +1 -1
  193. package/dist/components/layout/card/card.js +3 -0
  194. package/dist/components/layout/card/card.js.map +1 -1
  195. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  196. package/dist/components/layout/card/card.styles.js +22 -2
  197. package/dist/components/layout/card/card.styles.js.map +1 -1
  198. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  199. package/dist/components/layout/collection/collection.js +2 -1
  200. package/dist/components/layout/collection/collection.js.map +1 -1
  201. package/dist/components/layout/collection/collection.template.js +1 -1
  202. package/dist/components/layout/page-footer/page-footer.d.ts +0 -2
  203. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  204. package/dist/components/layout/page-footer/page-footer.js +4 -19
  205. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  206. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  207. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -1
  208. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  209. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  210. package/dist/components/layout/popover/popover.js +2 -1
  211. package/dist/components/layout/popover/popover.js.map +1 -1
  212. package/dist/components/layout/window/window.d.ts.map +1 -1
  213. package/dist/components/layout/window/window.js +2 -1
  214. package/dist/components/layout/window/window.js.map +1 -1
  215. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
  216. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
  217. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  218. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +7 -7
  219. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
  220. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +9 -9
  221. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
  222. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +5 -5
  223. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +1 -1
  224. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
  225. package/dist/components/lists-and-tables/list/list.d.ts +11 -8
  226. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  227. package/dist/components/lists-and-tables/list/list.js +31 -31
  228. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  229. package/dist/components/lists-and-tables/list/list.styles.js +5 -5
  230. package/dist/components/lists-and-tables/list/list.template.js +1 -1
  231. package/dist/components/lists-and-tables/list-item/list-item.d.ts +4 -4
  232. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  233. package/dist/components/lists-and-tables/list-item/list-item.js +10 -10
  234. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  235. package/dist/components/lists-and-tables/table/table.d.ts +2 -0
  236. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  237. package/dist/components/lists-and-tables/table/table.js +10 -7
  238. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  239. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -2
  240. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  241. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -19
  242. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  243. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
  244. package/dist/components/navigation/menu-bar/menu-bar.js +1 -1
  245. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  246. package/dist/components/navigation/pagination/pagination.d.ts +0 -3
  247. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  248. package/dist/components/navigation/pagination/pagination.js +2 -13
  249. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  250. package/dist/components/navigation/pagination/pagination.template.js +2 -2
  251. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +12 -0
  252. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  253. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +37 -2
  254. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  255. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  256. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +48 -3
  257. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  258. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +3 -3
  259. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  260. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -1
  261. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  262. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  263. package/dist/components/status-and-feedback/banner/banner.js +2 -1
  264. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  265. package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
  266. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +1 -1
  267. package/dist/components/status-and-feedback/notification/notification.template.js +1 -1
  268. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +4 -4
  269. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  270. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +11 -10
  271. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  272. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -6
  273. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +1 -1
  274. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
  275. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +6 -4
  276. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  277. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -13
  278. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  279. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
  280. package/dist/components/{with-translations-BAKFoEKy.js → with-translations-Dt2DTXJF.js} +40 -12
  281. package/dist/css/rich-text.css +5 -1
  282. package/dist/css/variables.css +30 -42
  283. package/dist/nldd.min.js +1053 -869
  284. package/dist/translations/en-US.d.ts +17 -0
  285. package/dist/translations/en-US.d.ts.map +1 -0
  286. package/dist/translations/en-US.js +185 -0
  287. package/dist/translations/en-US.js.map +1 -0
  288. package/dist/translations/fy.d.ts +20 -0
  289. package/dist/translations/fy.d.ts.map +1 -0
  290. package/dist/translations/fy.js +185 -0
  291. package/dist/translations/fy.js.map +1 -0
  292. package/dist/translations/nl.generated.d.ts +188 -0
  293. package/dist/translations/nl.generated.d.ts.map +1 -0
  294. package/dist/translations/nl.generated.js +101 -0
  295. package/dist/translations/nl.generated.js.map +1 -0
  296. package/dist/translations/pap-AW.d.ts +22 -0
  297. package/dist/translations/pap-AW.d.ts.map +1 -0
  298. package/dist/translations/pap-AW.js +185 -0
  299. package/dist/translations/pap-AW.js.map +1 -0
  300. package/dist/translations/pap-CW.d.ts +22 -0
  301. package/dist/translations/pap-CW.d.ts.map +1 -0
  302. package/dist/translations/pap-CW.js +185 -0
  303. package/dist/translations/pap-CW.js.map +1 -0
  304. package/dist/types/vue.d.ts +76 -38
  305. package/dist/utilities/translations.d.ts +37 -0
  306. package/dist/utilities/translations.d.ts.map +1 -0
  307. package/dist/utilities/translations.js +80 -0
  308. package/dist/utilities/translations.js.map +1 -0
  309. package/dist/utilities/with-translations.d.ts.map +1 -1
  310. package/dist/utilities/with-translations.js +2 -15
  311. package/dist/utilities/with-translations.js.map +1 -1
  312. package/package.json +29 -3
@@ -19,7 +19,7 @@
19
19
  },
20
20
  {
21
21
  "kind": "class",
22
- "description": "A horizontal container for grouping buttons with a neutral background. Automatically propagates its size and variant to all child nldd-button and nldd-icon-button elements. Renders nldd-button-bar-divider elements as internal dividers — no separate component needed.",
22
+ "description": "A horizontal container for grouping buttons with a neutral background. Automatically propagates its size and appearance to all child nldd-button and nldd-icon-button elements. Renders nldd-button-bar-divider elements as internal dividers — no separate component needed. The bar is one surface for actions; on/off buttons do not go in it. For a row of toggles use nldd-toggle-button-group, and for one choice out of a few options on one surface nldd-segmented-control. An nldd-toggle-button placed here is shown as it is, and a warning says so in development.",
23
23
  "name": "NLDDButtonBar",
24
24
  "members": [
25
25
  {
@@ -34,12 +34,12 @@
34
34
  },
35
35
  {
36
36
  "kind": "field",
37
- "name": "variant",
37
+ "name": "appearance",
38
38
  "type": {
39
39
  "text": "string"
40
40
  },
41
41
  "default": "'neutral-tinted'",
42
- "attribute": "variant",
42
+ "attribute": "appearance",
43
43
  "reflects": true
44
44
  },
45
45
  {
@@ -64,13 +64,13 @@
64
64
  "description": "Bar size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). At 'lg', icon-button children stack their label below the icon (mobile action-bar style)."
65
65
  },
66
66
  {
67
- "name": "variant",
67
+ "name": "appearance",
68
68
  "type": {
69
69
  "text": "string"
70
70
  },
71
71
  "default": "'neutral-tinted'",
72
- "fieldName": "variant",
73
- "description": "Button variant (default: 'neutral-tinted')"
72
+ "fieldName": "appearance",
73
+ "description": "Visual style of the buttons (default: 'neutral-tinted'; 'inherit-tinted' and 'inherit-filled' for a colored surface)"
74
74
  },
75
75
  {
76
76
  "name": "disabled",
@@ -230,12 +230,12 @@
230
230
  },
231
231
  {
232
232
  "kind": "field",
233
- "name": "variant",
233
+ "name": "appearance",
234
234
  "type": {
235
- "text": "Variant"
235
+ "text": "Appearance"
236
236
  },
237
237
  "default": "'neutral-tinted'",
238
- "attribute": "variant",
238
+ "attribute": "appearance",
239
239
  "reflects": true
240
240
  },
241
241
  {
@@ -370,6 +370,16 @@
370
370
  "attribute": "loading",
371
371
  "reflects": true
372
372
  },
373
+ {
374
+ "kind": "field",
375
+ "name": "loadingText",
376
+ "type": {
377
+ "text": "string"
378
+ },
379
+ "default": "''",
380
+ "description": "What the screen reader announces while loading. Empty falls back to the activity indicator's \"Laden\".",
381
+ "attribute": "loading-text"
382
+ },
373
383
  {
374
384
  "kind": "field",
375
385
  "name": "disabled",
@@ -419,7 +429,7 @@
419
429
  "text": "boolean"
420
430
  },
421
431
  "default": "false",
422
- "description": "Removes the per-variant highlight border (e.g. when nldd-button-bar draws a single group border instead).",
432
+ "description": "Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead).",
423
433
  "attribute": "no-highlight-border",
424
434
  "reflects": true
425
435
  },
@@ -546,13 +556,13 @@
546
556
  ],
547
557
  "attributes": [
548
558
  {
549
- "name": "variant",
559
+ "name": "appearance",
550
560
  "type": {
551
- "text": "Variant"
561
+ "text": "Appearance"
552
562
  },
553
563
  "default": "'neutral-tinted'",
554
- "fieldName": "variant",
555
- "description": "Button variant: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted'. The inherit variants derive their colors from currentColor, for buttons on colored surfaces; inherit-filled uses the surface color (--context-parent-background-color) as the label color, with a white/black contrast flip as a fallback."
564
+ "fieldName": "appearance",
565
+ "description": "Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted'. The inherit appearances derive their colors from currentColor, for buttons on colored surfaces; inherit-filled uses the surface color (--context-parent-background-color) as the label color, with a white/black contrast flip as a fallback."
556
566
  },
557
567
  {
558
568
  "name": "size",
@@ -652,6 +662,15 @@
652
662
  "description": "Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width.",
653
663
  "fieldName": "loading"
654
664
  },
665
+ {
666
+ "name": "loading-text",
667
+ "type": {
668
+ "text": "string"
669
+ },
670
+ "default": "''",
671
+ "description": "What the screen reader announces while `loading` is on, for a button that does more than load: \"Aan het bewaren\". Leave it out and the activity indicator says its translated \"Laden\".",
672
+ "fieldName": "loadingText"
673
+ },
655
674
  {
656
675
  "name": "disabled",
657
676
  "type": {
@@ -694,7 +713,7 @@
694
713
  "text": "boolean"
695
714
  },
696
715
  "default": "false",
697
- "description": "Removes the per-variant highlight border (e.g. when nldd-button-bar draws a single group border instead).",
716
+ "description": "Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead).",
698
717
  "fieldName": "noHighlightBorder"
699
718
  },
700
719
  {
@@ -846,12 +865,12 @@
846
865
  },
847
866
  {
848
867
  "kind": "field",
849
- "name": "variant",
868
+ "name": "appearance",
850
869
  "type": {
851
- "text": "Variant"
870
+ "text": "Appearance"
852
871
  },
853
872
  "default": "'neutral-tinted'",
854
- "attribute": "variant",
873
+ "attribute": "appearance",
855
874
  "reflects": true
856
875
  },
857
876
  {
@@ -886,6 +905,16 @@
886
905
  "attribute": "loading",
887
906
  "reflects": true
888
907
  },
908
+ {
909
+ "kind": "field",
910
+ "name": "loadingText",
911
+ "type": {
912
+ "text": "string"
913
+ },
914
+ "default": "''",
915
+ "description": "What the screen reader announces while loading. Empty falls back to the activity indicator's \"Laden\".",
916
+ "attribute": "loading-text"
917
+ },
889
918
  {
890
919
  "kind": "field",
891
920
  "name": "disabled",
@@ -903,7 +932,7 @@
903
932
  "text": "boolean"
904
933
  },
905
934
  "default": "false",
906
- "description": "Removes the per-variant highlight border (e.g. when nldd-button-bar draws a single group border instead).",
935
+ "description": "Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead).",
907
936
  "attribute": "no-highlight-border",
908
937
  "reflects": true
909
938
  },
@@ -1104,13 +1133,13 @@
1104
1133
  ],
1105
1134
  "attributes": [
1106
1135
  {
1107
- "name": "variant",
1136
+ "name": "appearance",
1108
1137
  "type": {
1109
- "text": "Variant"
1138
+ "text": "Appearance"
1110
1139
  },
1111
1140
  "default": "'neutral-tinted'",
1112
- "fieldName": "variant",
1113
- "description": "Button variant: 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted' | 'primary' | 'secondary' | 'destructive'. The inherit variants derive their colors from currentColor, for buttons on colored surfaces."
1141
+ "fieldName": "appearance",
1142
+ "description": "Visual style, color included: 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted' | 'primary' | 'secondary' | 'destructive'. The inherit appearances derive their colors from currentColor, for buttons on colored surfaces."
1114
1143
  },
1115
1144
  {
1116
1145
  "name": "size",
@@ -1139,6 +1168,15 @@
1139
1168
  "description": "Loading state (default: false). Shows an activity indicator over the visually hidden icon, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled).",
1140
1169
  "fieldName": "loading"
1141
1170
  },
1171
+ {
1172
+ "name": "loading-text",
1173
+ "type": {
1174
+ "text": "string"
1175
+ },
1176
+ "default": "''",
1177
+ "description": "What the screen reader announces while `loading` is on, for a button that does more than load: \"Aan het bewaren\". Leave it out and the activity indicator says its translated \"Laden\".",
1178
+ "fieldName": "loadingText"
1179
+ },
1142
1180
  {
1143
1181
  "name": "disabled",
1144
1182
  "type": {
@@ -1154,7 +1192,7 @@
1154
1192
  "text": "boolean"
1155
1193
  },
1156
1194
  "default": "false",
1157
- "description": "Removes the per-variant highlight border (e.g. when a control group draws a single border instead).",
1195
+ "description": "Removes the per-appearance highlight border (e.g. when a control group draws a single border instead).",
1158
1196
  "fieldName": "noHighlightBorder"
1159
1197
  },
1160
1198
  {
@@ -1575,6 +1613,15 @@
1575
1613
  "default": "null",
1576
1614
  "description": "Which menu owns this item, set by that nldd-menu. Not part of the public API.\n\n`null` until one claims it, and an unclaimed item carries no menu role.\nA menu role is a promise about what is around you, so an item cannot make\nit on its own. `nldd-toolbar-item` holds exactly such an item: the\ndeclaration of what belongs in the overflow menu, which the toolbar clones\ninto the real menu when it collapses. The clone is claimed there and the\ndeclaration stays what it is."
1577
1615
  },
1616
+ {
1617
+ "kind": "field",
1618
+ "name": "checkColumn",
1619
+ "type": {
1620
+ "text": "boolean"
1621
+ },
1622
+ "default": "false",
1623
+ "description": "Whether this item keeps the check-mark column free without being\ncheckable, because another item in its menu is. Set by that nldd-menu.\nNot part of the public API."
1624
+ },
1578
1625
  {
1579
1626
  "kind": "method",
1580
1627
  "name": "focus",
@@ -1693,7 +1740,7 @@
1693
1740
  "type": {
1694
1741
  "text": "'button' | 'checkbox' | 'radio'"
1695
1742
  },
1696
- "description": "Item type: 'button' | 'checkbox' | 'radio'. Default: 'button'.",
1743
+ "description": "Item type: 'button' | 'checkbox' | 'radio'. Default: 'button'. One checkbox or radio item gives every item in its menu the check-mark column, so the text of the whole menu starts at one line, as in a native menu. Submenus decide for themselves.",
1697
1744
  "name": "type",
1698
1745
  "default": "'button'",
1699
1746
  "fieldName": "type"
@@ -1914,9 +1961,16 @@
1914
1961
  "type": {
1915
1962
  "text": "string"
1916
1963
  }
1964
+ },
1965
+ {
1966
+ "name": "{ hide = true }",
1967
+ "default": "{}",
1968
+ "type": {
1969
+ "text": "{ hide?: boolean }"
1970
+ }
1917
1971
  }
1918
1972
  ],
1919
- "description": "Filter items based on a query string.\n\nMatching items are kept visible. Non-matching items are hidden. Matching\nitems receive `query=<query>` so their text-cell bolds the non-typed\nremainder (predictive completion — the ARIA APG pattern for combobox).\n\nWhen the query is empty, all items are shown and `query` is cleared."
1973
+ "description": "Filter items based on a query string.\n\nMatching items are kept visible. Non-matching items are hidden. Matching\nitems receive `query=<query>` so their text-cell bolds the non-typed\nremainder (predictive completion — the ARIA APG pattern for combobox).\n\nWhen the query is empty, all items are shown and `query` is cleared.\n\nWith `hide: false` nothing is hidden and every item gets the `query`, for\na list someone else already filtered, such as a server answering per\nkeystroke. Text without the query in it is shown as it is."
1920
1974
  },
1921
1975
  {
1922
1976
  "kind": "method",
@@ -2167,12 +2221,12 @@
2167
2221
  },
2168
2222
  {
2169
2223
  "kind": "field",
2170
- "name": "variant",
2224
+ "name": "appearance",
2171
2225
  "type": {
2172
2226
  "text": "string"
2173
2227
  },
2174
2228
  "default": "'neutral-tinted'",
2175
- "attribute": "variant",
2229
+ "attribute": "appearance",
2176
2230
  "reflects": true
2177
2231
  },
2178
2232
  {
@@ -2248,13 +2302,13 @@
2248
2302
  "description": "Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')"
2249
2303
  },
2250
2304
  {
2251
- "name": "variant",
2305
+ "name": "appearance",
2252
2306
  "type": {
2253
2307
  "text": "string"
2254
2308
  },
2255
2309
  "default": "'neutral-tinted'",
2256
- "fieldName": "variant",
2257
- "description": "Button variant (default: 'neutral-tinted')"
2310
+ "fieldName": "appearance",
2311
+ "description": "Visual style (default: 'neutral-tinted'; 'inherit-tinted' and 'inherit-filled' for a colored surface)"
2258
2312
  },
2259
2313
  {
2260
2314
  "name": "disabled",
@@ -3441,13 +3495,13 @@
3441
3495
  "members": [
3442
3496
  {
3443
3497
  "kind": "field",
3444
- "name": "variant",
3498
+ "name": "appearance",
3445
3499
  "type": {
3446
- "text": "CodeViewerVariant"
3500
+ "text": "CodeViewerAppearance"
3447
3501
  },
3448
3502
  "default": "'box-tinted'",
3449
3503
  "description": "Visual style. The `box` values are a framed card and name the surface they\nfill with; `simple` drops the frame.",
3450
- "attribute": "variant",
3504
+ "attribute": "appearance",
3451
3505
  "reflects": true
3452
3506
  },
3453
3507
  {
@@ -3521,13 +3575,13 @@
3521
3575
  ],
3522
3576
  "attributes": [
3523
3577
  {
3524
- "name": "variant",
3578
+ "name": "appearance",
3525
3579
  "type": {
3526
- "text": "CodeViewerVariant"
3580
+ "text": "CodeViewerAppearance"
3527
3581
  },
3528
3582
  "default": "'box-tinted'",
3529
3583
  "description": "Visual style. The two `box` values are a framed card with rounded corners, padding, fill, and a 1px border ring, and differ in which surface they fill with; `box-tinted` is the default. `simple` drops the entire frame — use when embedding inside a parent surface.",
3530
- "fieldName": "variant"
3584
+ "fieldName": "appearance"
3531
3585
  },
3532
3586
  {
3533
3587
  "name": "language",
@@ -4464,13 +4518,13 @@
4464
4518
  },
4465
4519
  {
4466
4520
  "kind": "field",
4467
- "name": "variant",
4521
+ "name": "appearance",
4468
4522
  "type": {
4469
- "text": "Variant"
4523
+ "text": "Appearance"
4470
4524
  },
4471
4525
  "default": "'box'",
4472
4526
  "description": "'box' (default) renders each key as a keycap with a fill and highlight\nborder. 'simple' renders the keys as plain text with separators — lighter,\nfor inline use such as inside a menu item.",
4473
- "attribute": "variant",
4527
+ "attribute": "appearance",
4474
4528
  "reflects": true
4475
4529
  },
4476
4530
  {
@@ -4542,13 +4596,13 @@
4542
4596
  "description": "Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the font-size from the container; in the box variant the keycaps then scale along in em."
4543
4597
  },
4544
4598
  {
4545
- "name": "variant",
4599
+ "name": "appearance",
4546
4600
  "type": {
4547
- "text": "Variant"
4601
+ "text": "Appearance"
4548
4602
  },
4549
4603
  "default": "'box'",
4550
4604
  "description": "'box' (default) shows each key as a keycap with a fill and a highlight edge. 'simple' shows the keys as plain text with separators: lighter, for inline use such as in a menu item.",
4551
- "fieldName": "variant"
4605
+ "fieldName": "appearance"
4552
4606
  },
4553
4607
  {
4554
4608
  "name": "color",
@@ -5565,7 +5619,7 @@
5565
5619
  "declarations": [
5566
5620
  {
5567
5621
  "kind": "class",
5568
- "description": "A layout wrapper for the action buttons at the bottom of a form (typically a submit button or a button group). Follows the same responsive layout as `nldd-form-field`: with `label-alignment=\"right\"` or `\"left\"` the content gets the same indent as the fields above it, thanks to a `::before` pseudo-element that acts as the spacer column where the label would sit. Inherits `label-alignment` automatically from a wrapping `<nldd-form>`: the form propagates its own `label-alignment` as `form-label-alignment` to descendant `nldd-form-actions` (and `nldd-form-field`) through a MutationObserver. An explicit `label-alignment` on the form-actions itself wins through the CSS cascade, and the form code never touches the `label-alignment` attribute of the descendant. <nldd-form label-alignment=\"right\"> <nldd-form-field>...</nldd-form-field> <nldd-form-actions> <nldd-button-group> <nldd-button variant=\"primary\" type=\"submit\" text=\"Bewaar\"></nldd-button> </nldd-button-group> </nldd-form-actions> </nldd-form>",
5622
+ "description": "A layout wrapper for the action buttons at the bottom of a form (typically a submit button or a button group). Follows the same responsive layout as `nldd-form-field`: with `label-alignment=\"right\"` or `\"left\"` the content gets the same indent as the fields above it, thanks to a `::before` pseudo-element that acts as the spacer column where the label would sit. Inherits `label-alignment` automatically from a wrapping `<nldd-form>`: the form propagates its own `label-alignment` as `form-label-alignment` to descendant `nldd-form-actions` (and `nldd-form-field`) through a MutationObserver. An explicit `label-alignment` on the form-actions itself wins through the CSS cascade, and the form code never touches the `label-alignment` attribute of the descendant. <nldd-form label-alignment=\"right\"> <nldd-form-field>...</nldd-form-field> <nldd-form-actions> <nldd-button-group> <nldd-button appearance=\"primary\" type=\"submit\" text=\"Bewaar\"></nldd-button> </nldd-button-group> </nldd-form-actions> </nldd-form>",
5569
5623
  "name": "NLDDFormActions",
5570
5624
  "members": [
5571
5625
  {
@@ -7172,6 +7226,14 @@
7172
7226
  "name": "NLDDJustInTimeEducation",
7173
7227
  "module": "./status-and-feedback/just-in-time-education/just-in-time-education.js"
7174
7228
  }
7229
+ },
7230
+ {
7231
+ "kind": "js",
7232
+ "name": "setTranslations",
7233
+ "declaration": {
7234
+ "name": "setTranslations",
7235
+ "module": "../utilities/translations.js"
7236
+ }
7175
7237
  }
7176
7238
  ]
7177
7239
  },
@@ -8105,7 +8167,7 @@
8105
8167
  "declarations": [
8106
8168
  {
8107
8169
  "kind": "class",
8108
- "description": "A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface. Default `variant=\"simple\"` is a bare, flush editor (no frame, no focus ring) for use inside an nldd-form-field or a consumer composition that owns its own chrome and focus treatment; the caret is rendered as a prominent accent as the focus cue. `variant=\"input-field\"` adds the framed surface (border ring, tinted fill, inner padding, radius) and a focus ring for standalone use. The simple variant has no surrounding space of its own: let a layout container own the spacing and forward clicks with `focusFromPoint()` so clicking the padding still starts editing. Optional `language` enables lazy syntax highlighting; `line-numbers` adds a gutter (click a number to move the caret to that line).",
8170
+ "description": "A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface. Default `appearance=\"simple\"` is a bare, flush editor (no frame, no focus ring) for use inside an nldd-form-field or a consumer composition that owns its own chrome and focus treatment; the caret is rendered as a prominent accent as the focus cue. `appearance=\"input-field\"` adds the framed surface (border ring, tinted fill, inner padding, radius) and a focus ring for standalone use. The simple variant has no surrounding space of its own: let a layout container own the spacing and forward clicks with `focusFromPoint()` so clicking the padding still starts editing. Optional `language` enables lazy syntax highlighting; `line-numbers` adds a gutter (click a number to move the caret to that line).",
8109
8171
  "name": "NLDDCodeEditor",
8110
8172
  "members": [
8111
8173
  {
@@ -8226,12 +8288,12 @@
8226
8288
  },
8227
8289
  {
8228
8290
  "kind": "field",
8229
- "name": "variant",
8291
+ "name": "appearance",
8230
8292
  "type": {
8231
- "text": "CodeEditorVariant"
8293
+ "text": "CodeEditorAppearance"
8232
8294
  },
8233
8295
  "default": "'simple'",
8234
- "attribute": "variant",
8296
+ "attribute": "appearance",
8235
8297
  "reflects": true
8236
8298
  },
8237
8299
  {
@@ -8579,12 +8641,12 @@
8579
8641
  "description": "'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default)"
8580
8642
  },
8581
8643
  {
8582
- "name": "variant",
8644
+ "name": "appearance",
8583
8645
  "type": {
8584
- "text": "CodeEditorVariant"
8646
+ "text": "CodeEditorAppearance"
8585
8647
  },
8586
8648
  "default": "'simple'",
8587
- "fieldName": "variant",
8649
+ "fieldName": "appearance",
8588
8650
  "description": "'simple' (default, bare) | 'input-field' (framed surface)"
8589
8651
  },
8590
8652
  {
@@ -8780,6 +8842,17 @@
8780
8842
  "attribute": "allow-custom",
8781
8843
  "reflects": true
8782
8844
  },
8845
+ {
8846
+ "kind": "field",
8847
+ "name": "noFilter",
8848
+ "type": {
8849
+ "text": "boolean"
8850
+ },
8851
+ "default": "false",
8852
+ "description": "Leaves the options as they are while typing: the list was filtered already, by a server.",
8853
+ "attribute": "no-filter",
8854
+ "reflects": true
8855
+ },
8783
8856
  {
8784
8857
  "kind": "field",
8785
8858
  "name": "name",
@@ -9201,9 +9274,18 @@
9201
9274
  "text": "boolean"
9202
9275
  },
9203
9276
  "default": "false",
9204
- "description": "Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted.",
9277
+ "description": "Allow committing free-typed values that match no option (Enter/blur). Default false: only menu options are accepted. Typing an option's label in full picks that option, ignoring case and the spaces around it; with two such labels, the first one.",
9205
9278
  "fieldName": "allowCustom"
9206
9279
  },
9280
+ {
9281
+ "name": "no-filter",
9282
+ "type": {
9283
+ "text": "boolean"
9284
+ },
9285
+ "default": "false",
9286
+ "description": "Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address.",
9287
+ "fieldName": "noFilter"
9288
+ },
9207
9289
  {
9208
9290
  "name": "name",
9209
9291
  "type": {
@@ -14686,6 +14768,17 @@
14686
14768
  "attribute": "disabled",
14687
14769
  "reflects": true
14688
14770
  },
14771
+ {
14772
+ "kind": "field",
14773
+ "name": "appearance",
14774
+ "type": {
14775
+ "text": "SegmentedControlAppearance"
14776
+ },
14777
+ "default": "'neutral-tinted'",
14778
+ "description": "Set by nldd-segmented-control. Not part of the public API.",
14779
+ "attribute": "appearance",
14780
+ "reflects": true
14781
+ },
14689
14782
  {
14690
14783
  "kind": "field",
14691
14784
  "name": "size",
@@ -14813,6 +14906,15 @@
14813
14906
  "fieldName": "disabled",
14814
14907
  "description": "Disabled state"
14815
14908
  },
14909
+ {
14910
+ "name": "appearance",
14911
+ "type": {
14912
+ "text": "SegmentedControlAppearance"
14913
+ },
14914
+ "default": "'neutral-tinted'",
14915
+ "description": "Visual style: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). Set by nldd-segmented-control.",
14916
+ "fieldName": "appearance"
14917
+ },
14816
14918
  {
14817
14919
  "name": "size",
14818
14920
  "type": {
@@ -14938,6 +15040,16 @@
14938
15040
  "default": "[]",
14939
15041
  "description": "Selected values for checkbox type.\nUse property binding: .values=${['New York', 'Amsterdam']}\nDoes not reflect to an attribute — safe for values containing spaces or special characters."
14940
15042
  },
15043
+ {
15044
+ "kind": "field",
15045
+ "name": "appearance",
15046
+ "type": {
15047
+ "text": "SegmentedControlAppearance"
15048
+ },
15049
+ "default": "'neutral-tinted'",
15050
+ "attribute": "appearance",
15051
+ "reflects": true
15052
+ },
14941
15053
  {
14942
15054
  "kind": "field",
14943
15055
  "name": "size",
@@ -15243,6 +15355,15 @@
15243
15355
  "description": "Selected value for radio type",
15244
15356
  "fieldName": "value"
15245
15357
  },
15358
+ {
15359
+ "name": "appearance",
15360
+ "type": {
15361
+ "text": "SegmentedControlAppearance"
15362
+ },
15363
+ "default": "'neutral-tinted'",
15364
+ "fieldName": "appearance",
15365
+ "description": "Visual style, color included: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). neutral-base is for a tinted surface. For a quiet row without a track, use nldd-toggle-button-group with type=\"radio\" and a transparent appearance."
15366
+ },
15246
15367
  {
15247
15368
  "name": "size",
15248
15369
  "type": {
@@ -17664,6 +17785,27 @@
17664
17785
  }
17665
17786
  ]
17666
17787
  },
17788
+ {
17789
+ "kind": "javascript-module",
17790
+ "path": "src/components/inputs/text-editor/text-editor.labels.ts",
17791
+ "declarations": [
17792
+ {
17793
+ "kind": "variable",
17794
+ "name": "relabel",
17795
+ "description": "Says the editor's labels changed, such as after a language switch: the\nwidgets that draw a translated label rebuild with the new text."
17796
+ }
17797
+ ],
17798
+ "exports": [
17799
+ {
17800
+ "kind": "js",
17801
+ "name": "relabel",
17802
+ "declaration": {
17803
+ "name": "relabel",
17804
+ "module": "src/components/inputs/text-editor/text-editor.labels.ts"
17805
+ }
17806
+ }
17807
+ ]
17808
+ },
17667
17809
  {
17668
17810
  "kind": "javascript-module",
17669
17811
  "path": "src/components/inputs/text-editor/text-editor.links.ts",
@@ -17939,6 +18081,15 @@
17939
18081
  "kind": "javascript-module",
17940
18082
  "path": "src/components/inputs/text-editor/text-editor.mentions.ts",
17941
18083
  "declarations": [
18084
+ {
18085
+ "kind": "variable",
18086
+ "name": "DEFAULT_TYPEAHEAD_QUERY",
18087
+ "type": {
18088
+ "text": "string"
18089
+ },
18090
+ "default": "'[\\\\p{L}\\\\p{M}\\\\p{N}_.+-]*'",
18091
+ "description": "What may follow a trigger when a list says nothing else: letters in any\nscript and with any accent, digits, `_`, `.`, `+` and `-`. A name like\n`józef` reaches the source whole, and so does the `+1` of `:+1:`. A space\nends the query, as it ends a mention in most systems."
18092
+ },
17942
18093
  {
17943
18094
  "kind": "function",
17944
18095
  "name": "typeaheadQueryAt",
@@ -17963,7 +18114,7 @@
17963
18114
  {
17964
18115
  "name": "triggers",
17965
18116
  "type": {
17966
- "text": "readonly string[]"
18117
+ "text": "readonly TypeaheadTrigger[]"
17967
18118
  }
17968
18119
  }
17969
18120
  ],
@@ -18070,12 +18221,27 @@
18070
18221
  "type": {
18071
18222
  "text": "(choice: TypeaheadChoice) => void"
18072
18223
  }
18224
+ },
18225
+ {
18226
+ "name": "defaultEmptyText",
18227
+ "default": "() => null",
18228
+ "type": {
18229
+ "text": "(query: string) => string | null"
18230
+ }
18073
18231
  }
18074
18232
  ],
18075
18233
  "description": "The typeaheads. `getTypeaheads` is read on every keystroke, so the editor can\nhand over its current lists; choosing a candidate writes what the list's\n`insert` says and calls `onChoose`. Without lists it is inert."
18076
18234
  }
18077
18235
  ],
18078
18236
  "exports": [
18237
+ {
18238
+ "kind": "js",
18239
+ "name": "DEFAULT_TYPEAHEAD_QUERY",
18240
+ "declaration": {
18241
+ "name": "DEFAULT_TYPEAHEAD_QUERY",
18242
+ "module": "src/components/inputs/text-editor/text-editor.mentions.ts"
18243
+ }
18244
+ },
18079
18245
  {
18080
18246
  "kind": "js",
18081
18247
  "name": "typeaheadQueryAt",
@@ -18180,6 +18346,76 @@
18180
18346
  }
18181
18347
  ]
18182
18348
  },
18349
+ {
18350
+ "kind": "javascript-module",
18351
+ "path": "src/components/inputs/text-editor/text-editor.spellcheck.ts",
18352
+ "declarations": [
18353
+ {
18354
+ "kind": "variable",
18355
+ "name": "spellcheckExclusions",
18356
+ "description": "Says whether a syntax node is left out of spellchecking, and with it all it\ncontains. A plugin that renders something of its own adds a test here, so\nits syntax does not get a red underline in every consumer's editor."
18357
+ },
18358
+ {
18359
+ "kind": "function",
18360
+ "name": "leaveDeletionToBrowser",
18361
+ "return": {
18362
+ "type": {
18363
+ "text": "boolean"
18364
+ }
18365
+ },
18366
+ "parameters": [
18367
+ {
18368
+ "name": "view",
18369
+ "type": {
18370
+ "text": "EditorView"
18371
+ }
18372
+ },
18373
+ {
18374
+ "name": "key",
18375
+ "type": {
18376
+ "text": "'Backspace' | 'Delete'"
18377
+ }
18378
+ }
18379
+ ]
18380
+ },
18381
+ {
18382
+ "kind": "function",
18383
+ "name": "spellcheck",
18384
+ "return": {
18385
+ "type": {
18386
+ "text": "Extension"
18387
+ }
18388
+ },
18389
+ "description": "Spellchecking on the content, without the parts that are not running text."
18390
+ }
18391
+ ],
18392
+ "exports": [
18393
+ {
18394
+ "kind": "js",
18395
+ "name": "spellcheckExclusions",
18396
+ "declaration": {
18397
+ "name": "spellcheckExclusions",
18398
+ "module": "src/components/inputs/text-editor/text-editor.spellcheck.ts"
18399
+ }
18400
+ },
18401
+ {
18402
+ "kind": "js",
18403
+ "name": "leaveDeletionToBrowser",
18404
+ "declaration": {
18405
+ "name": "leaveDeletionToBrowser",
18406
+ "module": "src/components/inputs/text-editor/text-editor.spellcheck.ts"
18407
+ }
18408
+ },
18409
+ {
18410
+ "kind": "js",
18411
+ "name": "spellcheck",
18412
+ "declaration": {
18413
+ "name": "spellcheck",
18414
+ "module": "src/components/inputs/text-editor/text-editor.spellcheck.ts"
18415
+ }
18416
+ }
18417
+ ]
18418
+ },
18183
18419
  {
18184
18420
  "kind": "javascript-module",
18185
18421
  "path": "src/components/inputs/text-editor/text-editor.syntax.ts",
@@ -18282,7 +18518,7 @@
18282
18518
  "declarations": [
18283
18519
  {
18284
18520
  "kind": "class",
18285
- "description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `variant=\"simple\"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `variant=\"input-field\"` adds a framed surface + focus Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style \"set\" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a dashed underline, light tint and a count badge without touching the underlying text.",
18521
+ "description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `appearance=\"simple\"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `appearance=\"input-field\"` adds a framed surface + focus Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style \"set\" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a dashed underline, light tint and a count badge without touching the underlying text.",
18286
18522
  "name": "NLDDTextEditor",
18287
18523
  "members": [
18288
18524
  {
@@ -18372,6 +18608,17 @@
18372
18608
  "attribute": "required",
18373
18609
  "reflects": true
18374
18610
  },
18611
+ {
18612
+ "kind": "field",
18613
+ "name": "noSpellcheck",
18614
+ "type": {
18615
+ "text": "boolean"
18616
+ },
18617
+ "default": "false",
18618
+ "description": "Turns spellchecking off. On by default, without code, URLs and mentions.",
18619
+ "attribute": "no-spellcheck",
18620
+ "reflects": true
18621
+ },
18375
18622
  {
18376
18623
  "kind": "field",
18377
18624
  "name": "wrap",
@@ -18403,12 +18650,12 @@
18403
18650
  },
18404
18651
  {
18405
18652
  "kind": "field",
18406
- "name": "variant",
18653
+ "name": "appearance",
18407
18654
  "type": {
18408
- "text": "TextEditorVariant"
18655
+ "text": "TextEditorAppearance"
18409
18656
  },
18410
18657
  "default": "'simple'",
18411
- "attribute": "variant",
18658
+ "attribute": "appearance",
18412
18659
  "reflects": true
18413
18660
  },
18414
18661
  {
@@ -18428,6 +18675,22 @@
18428
18675
  },
18429
18676
  "description": "Consumer-supplied"
18430
18677
  },
18678
+ {
18679
+ "kind": "field",
18680
+ "name": "mentionQuery",
18681
+ "type": {
18682
+ "text": "string | undefined"
18683
+ },
18684
+ "description": "What may follow the `@` of a mention, as a regular expression without\nanchors or capturing groups. Property only. Without it: letters with any\naccent, digits, `_`, `.`, `+` and `-`. Allow one space to search on a full\nname: `'[\\\\p{L}\\\\p{M}\\\\p{N}_.+-]*(?: [\\\\p{L}\\\\p{M}\\\\p{N}_.+-]+)?'`."
18685
+ },
18686
+ {
18687
+ "kind": "field",
18688
+ "name": "mentionEmptyText",
18689
+ "type": {
18690
+ "text": "(query: string) => string | null | undefined | undefined"
18691
+ },
18692
+ "description": "What to say when the"
18693
+ },
18431
18694
  {
18432
18695
  "kind": "field",
18433
18696
  "name": "typeaheads",
@@ -19095,6 +19358,15 @@
19095
19358
  "fieldName": "required",
19096
19359
  "description": "Required state"
19097
19360
  },
19361
+ {
19362
+ "name": "no-spellcheck",
19363
+ "type": {
19364
+ "text": "boolean"
19365
+ },
19366
+ "default": "false",
19367
+ "description": "Turns spellchecking off. It is on by default, like the other text fields, and leaves out what is not running text: inline code and code blocks, the address of a link and a bare URL (the link text is checked), and mentions. Autocorrect and autocapitalize follow the user's own settings, as in the other fields, also with `no-spellcheck`. Two limits come from the browser: text that was already there is checked once you edit near it, not when the editor opens (the editor lives in a shadow root; Firefox only checks around the caret), and markup that changes how a line is built, such as starting a list item, hides the underlines on that line until you type on.",
19368
+ "fieldName": "noSpellcheck"
19369
+ },
19098
19370
  {
19099
19371
  "name": "wrap",
19100
19372
  "type": {
@@ -19123,12 +19395,12 @@
19123
19395
  "description": "'none' (fixed) | 'vertical' (drag) | 'auto' (grow, default)"
19124
19396
  },
19125
19397
  {
19126
- "name": "variant",
19398
+ "name": "appearance",
19127
19399
  "type": {
19128
- "text": "TextEditorVariant"
19400
+ "text": "TextEditorAppearance"
19129
19401
  },
19130
19402
  "default": "'simple'",
19131
- "fieldName": "variant",
19403
+ "fieldName": "appearance",
19132
19404
  "description": "'simple' (default, bare) | 'input-field' (framed surface)"
19133
19405
  },
19134
19406
  {
@@ -19275,6 +19547,22 @@
19275
19547
  "module": "./text-editor.mentions.js"
19276
19548
  }
19277
19549
  },
19550
+ {
19551
+ "kind": "js",
19552
+ "name": "TypeaheadTrigger",
19553
+ "declaration": {
19554
+ "name": "TypeaheadTrigger",
19555
+ "module": "./text-editor.mentions.js"
19556
+ }
19557
+ },
19558
+ {
19559
+ "kind": "js",
19560
+ "name": "DEFAULT_TYPEAHEAD_QUERY",
19561
+ "declaration": {
19562
+ "name": "DEFAULT_TYPEAHEAD_QUERY",
19563
+ "module": "./text-editor.mentions.js"
19564
+ }
19565
+ },
19278
19566
  {
19279
19567
  "kind": "js",
19280
19568
  "name": "Annotation",
@@ -21066,7 +21354,7 @@
21066
21354
  "declarations": [
21067
21355
  {
21068
21356
  "kind": "class",
21069
- "description": "Groups nldd-toggle-button elements and manages selection, keyboard navigation, and forwarding of type, name, size, and disabled state to all buttons. For type=\"radio\" (single-select), arrow keys navigate between buttons and automatically select the focused one. For type=\"checkbox\" (multi-select), multiple buttons can be selected simultaneously.",
21357
+ "description": "Groups nldd-toggle-button elements and manages selection, keyboard navigation, and forwarding of type, name, appearance, size, and disabled state to all buttons. For type=\"radio\" (single-select), arrow keys navigate between buttons and automatically select the focused one. For type=\"checkbox\" (multi-select), multiple buttons can be selected simultaneously.",
21070
21358
  "name": "NLDDToggleButtonGroup",
21071
21359
  "members": [
21072
21360
  {
@@ -21109,6 +21397,16 @@
21109
21397
  "default": "''",
21110
21398
  "attribute": "name"
21111
21399
  },
21400
+ {
21401
+ "kind": "field",
21402
+ "name": "appearance",
21403
+ "type": {
21404
+ "text": "ToggleButtonAppearance"
21405
+ },
21406
+ "default": "'neutral-tinted'",
21407
+ "attribute": "appearance",
21408
+ "reflects": true
21409
+ },
21112
21410
  {
21113
21411
  "kind": "field",
21114
21412
  "name": "size",
@@ -21208,6 +21506,15 @@
21208
21506
  "fieldName": "name",
21209
21507
  "description": "Forwarded to all buttons"
21210
21508
  },
21509
+ {
21510
+ "name": "appearance",
21511
+ "type": {
21512
+ "text": "ToggleButtonAppearance"
21513
+ },
21514
+ "default": "'neutral-tinted'",
21515
+ "fieldName": "appearance",
21516
+ "description": "Forwarded to all buttons (default: 'neutral-tinted')"
21517
+ },
21211
21518
  {
21212
21519
  "name": "size",
21213
21520
  "type": {
@@ -21299,7 +21606,7 @@
21299
21606
  "declarations": [
21300
21607
  {
21301
21608
  "kind": "class",
21302
- "description": "A selectable button that toggles between selected and unselected. Available as a button (aria-pressed), a checkbox, or a radio. In radio mode the button itself is the radio: it carries the role, the state and its place in the group. A native radio in a shadow root of its own would be a group of one, counted as \"1 of 1\" and stopped at by Tab.",
21609
+ "description": "A selectable button that toggles between selected and unselected. Available as a button (aria-pressed), a checkbox, or a radio. The label stays the same in both states: the state is in aria-pressed (or checked) and in the fill, so a screen reader says \"Favoriet, pressed\". A label that changes with the state (\"Volgen\", then \"Ontvolgen\") says what the button does next; that is an nldd-button whose text you change, not a toggle. In radio mode the button itself is the radio: it carries the role, the state and its place in the group. A native radio in a shadow root of its own would be a group of one, counted as \"1 of 1\" and stopped at by Tab.",
21303
21610
  "name": "NLDDToggleButton",
21304
21611
  "members": [
21305
21612
  {
@@ -21332,6 +21639,16 @@
21332
21639
  "attribute": "type",
21333
21640
  "reflects": true
21334
21641
  },
21642
+ {
21643
+ "kind": "field",
21644
+ "name": "appearance",
21645
+ "type": {
21646
+ "text": "ToggleButtonAppearance"
21647
+ },
21648
+ "default": "'neutral-tinted'",
21649
+ "attribute": "appearance",
21650
+ "reflects": true
21651
+ },
21335
21652
  {
21336
21653
  "kind": "field",
21337
21654
  "name": "size",
@@ -21413,6 +21730,17 @@
21413
21730
  "description": "Icon name for the nldd-icon element. When not set, the icon slot is used; the\nicon and icon-and-text variants show a placeholder icon when neither is provided.",
21414
21731
  "attribute": "icon"
21415
21732
  },
21733
+ {
21734
+ "kind": "field",
21735
+ "name": "selectedIcon",
21736
+ "type": {
21737
+ "text": "string"
21738
+ },
21739
+ "default": "''",
21740
+ "description": "Icon shown instead of `icon` while selected. On the transparent\nappearances it replaces the fill, so it is reflected for the styles.",
21741
+ "attribute": "selected-icon",
21742
+ "reflects": true
21743
+ },
21416
21744
  {
21417
21745
  "kind": "field",
21418
21746
  "name": "variant",
@@ -21700,6 +22028,15 @@
21700
22028
  "fieldName": "type",
21701
22029
  "description": "What the button is: a button with aria-pressed, a native checkbox, or a radio (default: 'button')"
21702
22030
  },
22031
+ {
22032
+ "name": "appearance",
22033
+ "type": {
22034
+ "text": "ToggleButtonAppearance"
22035
+ },
22036
+ "default": "'neutral-tinted'",
22037
+ "fieldName": "appearance",
22038
+ "description": "Visual style, color included (default: 'neutral-tinted'). Selected is filled in each of them; the transparent ones are for a toggle among transparent buttons, and with a selected-icon they stay quiet when on."
22039
+ },
21703
22040
  {
21704
22041
  "name": "size",
21705
22042
  "type": {
@@ -21772,6 +22109,15 @@
21772
22109
  "description": "Icon name for nldd-icon",
21773
22110
  "fieldName": "icon"
21774
22111
  },
22112
+ {
22113
+ "name": "selected-icon",
22114
+ "type": {
22115
+ "text": "string"
22116
+ },
22117
+ "default": "''",
22118
+ "description": "Icon shown instead of `icon` while selected, such as `check-mark` for `plus` or `heart-filled` for `heart`. The appearances with a surface fill it when on, as without one. The transparent appearances have no surface to fill: with a selected-icon they stay quiet when on and the change of shape says it is on; without one they fill, so the state always shows.",
22119
+ "fieldName": "selectedIcon"
22120
+ },
21775
22121
  {
21776
22122
  "name": "variant",
21777
22123
  "type": {
@@ -21849,7 +22195,7 @@
21849
22195
  "declarations": [
21850
22196
  {
21851
22197
  "kind": "class",
21852
- "description": "A multi-select input that looks like a normal input field: chosen values show as dismissible tokens in a wrapping row, followed by an inline text input that stretches to fill the remaining space and wraps to a new line (growing the field) when it no longer fits. Options are supplied as a slotted nldd-menu, exactly like nldd-combo-box; the menu filters as you type, with a chevron picker button, arrow-key roving across the tokens and ElementInternals form participation.",
22198
+ "description": "A multi-select input that looks like a normal input field: chosen values show as dismissible tokens in a wrapping row, followed by an inline text input that stretches to fill the remaining space and wraps to a new line (growing the field) when it no longer fits. Options are supplied as a slotted nldd-menu, exactly like nldd-combo-box; the menu filters as you type, with a chevron picker button, arrow-key roving across the tokens and ElementInternals form participation. Options can arrive after the keystroke, from a server you query per keystroke. Slot them into the menu when they come in: if the user is still in the field and the keystroke found nothing to show, the menu opens then. After Escape, or once the user left the field, it stays shut.",
21853
22199
  "name": "NLDDTokenField",
21854
22200
  "members": [
21855
22201
  {
@@ -21929,6 +22275,17 @@
21929
22275
  "attribute": "allow-custom",
21930
22276
  "reflects": true
21931
22277
  },
22278
+ {
22279
+ "kind": "field",
22280
+ "name": "noFilter",
22281
+ "type": {
22282
+ "text": "boolean"
22283
+ },
22284
+ "default": "false",
22285
+ "description": "Leaves the options as they are while typing: the list was filtered already, by a server.",
22286
+ "attribute": "no-filter",
22287
+ "reflects": true
22288
+ },
21932
22289
  {
21933
22290
  "kind": "field",
21934
22291
  "name": "valid",
@@ -22288,9 +22645,18 @@
22288
22645
  "text": "boolean"
22289
22646
  },
22290
22647
  "default": "false",
22291
- "description": "Allow free-typed values (not just menu options)",
22648
+ "description": "Allow free-typed values (not just menu options). Typing an option's label in full adds that option, with its value, ignoring case and the spaces around it; with two such labels, the first one.",
22292
22649
  "fieldName": "allowCustom"
22293
22650
  },
22651
+ {
22652
+ "name": "no-filter",
22653
+ "type": {
22654
+ "text": "boolean"
22655
+ },
22656
+ "default": "false",
22657
+ "description": "Leaves the options as they are while typing, for a list your server already filtered per keystroke. Without it the field hides options that do not contain the typed text, which also hides a server match on, say, an e-mail address.",
22658
+ "fieldName": "noFilter"
22659
+ },
22294
22660
  {
22295
22661
  "name": "valid",
22296
22662
  "type": {
@@ -22554,7 +22920,7 @@
22554
22920
  "declarations": [
22555
22921
  {
22556
22922
  "kind": "class",
22557
- "description": "A visually bounded card with optional header, body and footer sections. The card is elevated by default. Padding is left to nested containers. With `href` the whole card becomes a link (an overlay anchor across the card), with `button` a button (an overlay button that fires a plain, composed `click`, so a click listener or htmx attribute on the card itself works directly, and Enter/Space work natively). `href` wins when both are set. Nested interactive content, footer buttons for instance, has to be lifted above it with `position: relative; z-index: 1` to stay clickable.",
22923
+ "description": "A visually bounded card with optional header, body and footer sections. The card is elevated by default. Padding is left to nested containers. With `href` the whole card becomes a link (an overlay anchor across the card), with `button` a button (an overlay button that fires a plain, composed `click`, so a click listener or htmx attribute on the card itself works directly, and Enter/Space work natively). `href` wins when both are set. Nested interactive content, footer buttons for instance, has to be lifted above it with `position: relative; z-index: 1` to stay clickable. A card that is a link or button steps its surface and border one shade up on hover and one more while pressed, as a neutral-base button does; content lifted above the overlay does not set it off.",
22558
22924
  "name": "NLDDCard",
22559
22925
  "members": [
22560
22926
  {
@@ -30330,18 +30696,18 @@
30330
30696
  "declarations": [
30331
30697
  {
30332
30698
  "kind": "class",
30333
- "description": "A cell component for displaying timeline track indicators in lists. Shows a vertical line with a dot indicating timeline position and state. The row's block padding belongs to the cell itself (via `--context-cell-padding-block`), so the line spans the cell's own box edge to edge and consecutive steps connect without gaps. By default the cell is a bare track: a line with a dot per row, for a timeline of events. With `variant=\"step\"` the dot grows big enough for a number or an icon and you have a list of steps under each other, the vertical counterpart of `nldd-step-indicator`. The size belongs to the variant rather than to the content: every dot in a list is the same size, or the track would jump.",
30699
+ "description": "A cell component for displaying timeline track indicators in lists. Shows a vertical line with a dot indicating timeline position and state. The row's block padding belongs to the cell itself (via `--context-cell-padding-block`), so the line spans the cell's own box edge to edge and consecutive steps connect without gaps. By default the cell is a bare track: a line with a dot per row, for a timeline of events. With `size=\"md\"` the dot grows big enough for a number or an icon and you have a list of steps under each other, the vertical counterpart of `nldd-step-indicator`. The size belongs to the lane rather than to the content: every dot in a list is the same size, or the track would jump.",
30334
30700
  "name": "NLDDTimelineTrackCell",
30335
30701
  "members": [
30336
30702
  {
30337
30703
  "kind": "field",
30338
- "name": "variant",
30704
+ "name": "level",
30339
30705
  "type": {
30340
- "text": "Variant"
30706
+ "text": "Level"
30341
30707
  },
30342
30708
  "default": "'major'",
30343
30709
  "description": "What stands in the lane: a whole dot, a smaller one, or nothing.\n\nA rank rather than a measurement — the cell picks the sizes, so the scale\ncan change later without every consumer following. `minor` is a row that\nbelongs under the one above it, and its dot stays empty: a number would not\nfit and would make the row a step of its own, so carry that hierarchy in\nthe row instead, with an `nldd-text-cell` rather than an `nldd-title-cell`.\n`none` is a row that carries what a step holds rather than being one.",
30344
- "attribute": "variant",
30710
+ "attribute": "level",
30345
30711
  "reflects": true
30346
30712
  },
30347
30713
  {
@@ -30453,13 +30819,13 @@
30453
30819
  ],
30454
30820
  "attributes": [
30455
30821
  {
30456
- "name": "variant",
30822
+ "name": "level",
30457
30823
  "type": {
30458
- "text": "Variant"
30824
+ "text": "Level"
30459
30825
  },
30460
30826
  "default": "'major'",
30461
30827
  "description": "What stands in the lane: a whole dot (`major`, the default), a smaller one for a row that belongs under the one above it (`minor`), or nothing at all (`none`) for a row that carries what a step holds rather than being a step. A `none` row keeps its `size` and its `status`, so it stays in the same lane and the track runs on in the right color",
30462
- "fieldName": "variant"
30828
+ "fieldName": "level"
30463
30829
  },
30464
30830
  {
30465
30831
  "name": "status",
@@ -30495,7 +30861,7 @@
30495
30861
  },
30496
30862
  "default": "'between'",
30497
30863
  "fieldName": "position",
30498
- "description": "Place in the series (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere. On a `variant=\"none\"` row, which is nothing but line, `only` leaves it out altogether: the track ends above it"
30864
+ "description": "Place in the series (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere. On a `level=\"none\"` row, which is nothing but line, `only` leaves it out altogether: the track ends above it"
30499
30865
  },
30500
30866
  {
30501
30867
  "name": "line",
@@ -30503,7 +30869,7 @@
30503
30869
  "text": "Line"
30504
30870
  },
30505
30871
  "default": "'auto'",
30506
- "description": "Which halves of the track you have covered, when `status` and `direction` get it wrong (default 'auto', which is what those two say). The halves you name are drawn as covered and the other one as still ahead, so `none` covers neither. Which halves are drawn at all stays with `position`, except that naming a half draws it: `line=\"both\"` on a `first` row draws one above too. A row that opens a group of its own is the case for `both`, since the going carries on below it. A `variant=\"none\"` row has one line rather than two halves, and no point where a fill could change over, so there the status colors the whole of it and `line` overrules the whole of it. On a `current` row that leans the way the timeline runs: what belongs to a point usually comes after it, so going `down` the stretch reads as still ahead and going `up` as behind you",
30872
+ "description": "Which halves of the track you have covered, when `status` and `direction` get it wrong (default 'auto', which is what those two say). The halves you name are drawn as covered and the other one as still ahead, so `none` covers neither. Which halves are drawn at all stays with `position`, except that naming a half draws it: `line=\"both\"` on a `first` row draws one above too. A row that opens a group of its own is the case for `both`, since the going carries on below it. A `level=\"none\"` row has one line rather than two halves, and no point where a fill could change over, so there the status colors the whole of it and `line` overrules the whole of it. On a `current` row that leans the way the timeline runs: what belongs to a point usually comes after it, so going `down` the stretch reads as still ahead and going `up` as behind you",
30507
30873
  "fieldName": "line"
30508
30874
  },
30509
30875
  {
@@ -31731,13 +32097,13 @@
31731
32097
  "members": [
31732
32098
  {
31733
32099
  "kind": "field",
31734
- "name": "variant",
32100
+ "name": "appearance",
31735
32101
  "type": {
31736
- "text": "ListVariant"
32102
+ "text": "ListAppearance"
31737
32103
  },
31738
32104
  "default": "'simple'",
31739
32105
  "description": "Visual style of the list. `simple` is a plain vertical strip with\nno chrome (no rounded corners, no fill, no border); `box` is a\nframed card with rounded corners, fill, and an inset border ring.",
31740
- "attribute": "variant",
32106
+ "attribute": "appearance",
31741
32107
  "reflects": true
31742
32108
  },
31743
32109
  {
@@ -31818,12 +32184,12 @@
31818
32184
  "attributes": [
31819
32185
  {
31820
32186
  "type": {
31821
- "text": "ListVariant"
32187
+ "text": "ListAppearance"
31822
32188
  },
31823
32189
  "description": "Visual style (default 'simple'): `simple` is a plain vertical strip with no chrome, the two `box` values a framed card with rounded corners, fill and inset border ring. `box-tinted` for a list on a plain page, `box-base` for one on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card)",
31824
- "name": "variant",
32190
+ "name": "appearance",
31825
32191
  "default": "'simple'",
31826
- "fieldName": "variant"
32192
+ "fieldName": "appearance"
31827
32193
  },
31828
32194
  {
31829
32195
  "type": {
@@ -34258,7 +34624,17 @@
34258
34624
  "package": "lit"
34259
34625
  },
34260
34626
  "tagName": "nldd-top-navigation-bar",
34261
- "customElement": true
34627
+ "customElement": true,
34628
+ "slots": [
34629
+ {
34630
+ "name": "global",
34631
+ "description": "The global navigation: an nldd-menu-bar with nldd-menu-bar-item elements. On narrow widths these items move into the menu sheet behind the menu button."
34632
+ },
34633
+ {
34634
+ "name": "utility",
34635
+ "description": "The utility navigation, such as search and language: an nldd-menu-bar with nldd-menu-bar-item elements. Stays in the bar on every width."
34636
+ }
34637
+ ]
34262
34638
  }
34263
34639
  ],
34264
34640
  "exports": [
@@ -36104,17 +36480,17 @@
36104
36480
  },
36105
36481
  {
36106
36482
  "kind": "class",
36107
- "description": "Exports both NLDDProgressBar and NLDDProgressBarSegmentIndicator. A progress bar that supports a single value (loading-style) or multiple segments (multi-stage progress, or distribution like storage usage). The consumer provides raw values; the component computes percentages from `max`. Two modes: - `progress` (default): segments sum toward `max`; remaining space is empty track. ARIA reads \"X% voltooid\". - `distribution`: segments fill the bar; ARIA enumerates segments. If the sum of segment values exceeds `max`, segments are normalized proportionally to fit and a warning is logged.",
36483
+ "description": "Exports both NLDDProgressBar and NLDDProgressBarSegmentIndicator. A progress bar that supports a single value (loading-style) or multiple segments (multi-stage progress, or distribution like storage usage). The consumer provides raw values; the component computes percentages from `max`. Two variants: - `progress` (default): segments sum toward `max`; remaining space is empty track. ARIA reads \"X% voltooid\". - `distribution`: segments fill the bar; ARIA enumerates segments. If the sum of segment values exceeds `max`, segments are normalized proportionally to fit and a warning is logged.",
36108
36484
  "name": "NLDDProgressBar",
36109
36485
  "members": [
36110
36486
  {
36111
36487
  "kind": "field",
36112
- "name": "mode",
36488
+ "name": "variant",
36113
36489
  "type": {
36114
- "text": "ProgressBarMode"
36490
+ "text": "ProgressBarVariant"
36115
36491
  },
36116
36492
  "default": "'progress'",
36117
- "attribute": "mode",
36493
+ "attribute": "variant",
36118
36494
  "reflects": true
36119
36495
  },
36120
36496
  {
@@ -36230,12 +36606,12 @@
36230
36606
  ],
36231
36607
  "attributes": [
36232
36608
  {
36233
- "name": "mode",
36609
+ "name": "variant",
36234
36610
  "type": {
36235
- "text": "ProgressBarMode"
36611
+ "text": "ProgressBarVariant"
36236
36612
  },
36237
36613
  "default": "'progress'",
36238
- "fieldName": "mode",
36614
+ "fieldName": "variant",
36239
36615
  "description": "Semantics for ARIA and visualization (default: 'progress')"
36240
36616
  },
36241
36617
  {
@@ -36482,17 +36858,17 @@
36482
36858
  },
36483
36859
  {
36484
36860
  "kind": "class",
36485
- "description": "Exports both NLDDProgressCircle and NLDDProgressCircleSegmentIndicator. A circular progress indicator that mirrors the API of nldd-progress-bar: single-value or multi-segment, progress or distribution mode, 24 colors, fade transitions between determinate/indeterminate, indeterminate indicator. Visual differences vs the bar: - SVG arcs instead of rectangular bars. - Label below the circle (not above). - No center text; the consumer can wrap the circle if needed. - One combined tooltip on the whole circle showing all segment info (no per-segment tooltips). - Indeterminate uses a rotating elastic arc (Material-style) instead of the bar's Knight Rider scanner.",
36861
+ "description": "Exports both NLDDProgressCircle and NLDDProgressCircleSegmentIndicator. A circular progress indicator that mirrors the API of nldd-progress-bar: single-value or multi-segment, progress or distribution variant, 24 colors, fade transitions between determinate/indeterminate, indeterminate indicator. Visual differences vs the bar: - SVG arcs instead of rectangular bars. - Label below the circle (not above). - No center text; the consumer can wrap the circle if needed. - One combined tooltip on the whole circle showing all segment info (no per-segment tooltips). - Indeterminate uses a rotating elastic arc (Material-style) instead of the bar's Knight Rider scanner.",
36486
36862
  "name": "NLDDProgressCircle",
36487
36863
  "members": [
36488
36864
  {
36489
36865
  "kind": "field",
36490
- "name": "mode",
36866
+ "name": "variant",
36491
36867
  "type": {
36492
- "text": "ProgressCircleMode"
36868
+ "text": "ProgressCircleVariant"
36493
36869
  },
36494
36870
  "default": "'progress'",
36495
- "attribute": "mode",
36871
+ "attribute": "variant",
36496
36872
  "reflects": true
36497
36873
  },
36498
36874
  {
@@ -36607,12 +36983,12 @@
36607
36983
  ],
36608
36984
  "attributes": [
36609
36985
  {
36610
- "name": "mode",
36986
+ "name": "variant",
36611
36987
  "type": {
36612
- "text": "ProgressCircleMode"
36988
+ "text": "ProgressCircleVariant"
36613
36989
  },
36614
36990
  "default": "'progress'",
36615
- "fieldName": "mode",
36991
+ "fieldName": "variant",
36616
36992
  "description": "Semantics for ARIA and gap behavior (default: 'progress')"
36617
36993
  },
36618
36994
  {
@@ -36720,7 +37096,13 @@
36720
37096
  "package": "lit"
36721
37097
  },
36722
37098
  "tagName": "nldd-progress-circle",
36723
- "customElement": true
37099
+ "customElement": true,
37100
+ "slots": [
37101
+ {
37102
+ "name": "",
37103
+ "description": "Place for nldd-progress-circle-segment-indicator elements"
37104
+ }
37105
+ ]
36724
37106
  }
36725
37107
  ],
36726
37108
  "exports": [
@@ -39214,6 +39596,103 @@
39214
39596
  }
39215
39597
  ]
39216
39598
  },
39599
+ {
39600
+ "kind": "javascript-module",
39601
+ "path": "src/utilities/translations.ts",
39602
+ "declarations": [
39603
+ {
39604
+ "kind": "function",
39605
+ "name": "setTranslations",
39606
+ "return": {
39607
+ "type": {
39608
+ "text": "void"
39609
+ }
39610
+ },
39611
+ "parameters": [
39612
+ {
39613
+ "name": "translations",
39614
+ "type": {
39615
+ "text": "Translations"
39616
+ }
39617
+ }
39618
+ ],
39619
+ "description": "Sets the texts for the whole package, replacing what was set before. Keys you\nleave out fall back to Dutch. To start from the shipped English and change a\nfew texts, spread them: `setTranslations({ ...enUS, 'key': 'Mine' })`.\n\nCall it before the components render. Calling it again re-renders the\ncomponents on the page, so a language switch at runtime works too. Call it\nwhen the language changes, not on every render: each call walks the page.\nA component inside a closed shadow root is out of its reach and keeps its old\ntexts until it renders again; ask it to with `requestUpdate()`."
39620
+ },
39621
+ {
39622
+ "kind": "function",
39623
+ "name": "getTranslations",
39624
+ "return": {
39625
+ "type": {
39626
+ "text": "Readonly<Translations>"
39627
+ }
39628
+ },
39629
+ "description": "What the app set with `setTranslations()`, for tests and debugging."
39630
+ },
39631
+ {
39632
+ "kind": "function",
39633
+ "name": "translate",
39634
+ "return": {
39635
+ "type": {
39636
+ "text": "string"
39637
+ }
39638
+ },
39639
+ "parameters": [
39640
+ {
39641
+ "name": "own",
39642
+ "type": {
39643
+ "text": "Partial<T> | undefined"
39644
+ }
39645
+ },
39646
+ {
39647
+ "name": "defaults",
39648
+ "type": {
39649
+ "text": "T"
39650
+ }
39651
+ },
39652
+ {
39653
+ "name": "key",
39654
+ "type": {
39655
+ "text": "keyof T"
39656
+ }
39657
+ },
39658
+ {
39659
+ "name": "vars",
39660
+ "optional": true,
39661
+ "type": {
39662
+ "text": "Record<string, string | number>"
39663
+ }
39664
+ }
39665
+ ],
39666
+ "description": "Looks a key up through the three layers and fills in `{placeholders}`. Every\ncomponent's `_t()` goes through here, so none of them skips the package-wide\nlayer."
39667
+ }
39668
+ ],
39669
+ "exports": [
39670
+ {
39671
+ "kind": "js",
39672
+ "name": "setTranslations",
39673
+ "declaration": {
39674
+ "name": "setTranslations",
39675
+ "module": "src/utilities/translations.ts"
39676
+ }
39677
+ },
39678
+ {
39679
+ "kind": "js",
39680
+ "name": "getTranslations",
39681
+ "declaration": {
39682
+ "name": "getTranslations",
39683
+ "module": "src/utilities/translations.ts"
39684
+ }
39685
+ },
39686
+ {
39687
+ "kind": "js",
39688
+ "name": "translate",
39689
+ "declaration": {
39690
+ "name": "translate",
39691
+ "module": "src/utilities/translations.ts"
39692
+ }
39693
+ }
39694
+ ]
39695
+ },
39217
39696
  {
39218
39697
  "kind": "javascript-module",
39219
39698
  "path": "src/utilities/visibility-mixin.ts",