@nldd/design-system 0.8.40 → 0.8.42

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 (300) hide show
  1. package/README.md +18 -1
  2. package/dist/assets/styles/tokens.d.ts +25 -0
  3. package/dist/assets/styles/tokens.d.ts.map +1 -0
  4. package/dist/assets/styles/tokens.js +25 -0
  5. package/dist/assets/styles/tokens.js.map +1 -0
  6. package/dist/components/actions/button/button.d.ts +5 -0
  7. package/dist/components/actions/button/button.d.ts.map +1 -1
  8. package/dist/components/actions/button/button.js +7 -0
  9. package/dist/components/actions/button/button.js.map +1 -1
  10. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  11. package/dist/components/actions/button/button.styles.js +32 -20
  12. package/dist/components/actions/button/button.styles.js.map +1 -1
  13. package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
  14. package/dist/components/actions/button-bar/button-bar.styles.js +22 -0
  15. package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
  16. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  17. package/dist/components/actions/button-group/button-group.styles.js +0 -1
  18. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  19. package/dist/components/actions/icon-button/icon-button.d.ts +11 -0
  20. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.js +16 -0
  22. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  23. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  24. package/dist/components/actions/icon-button/icon-button.styles.js +33 -21
  25. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  26. package/dist/components/actions/icon-button/icon-button.template.js +1 -1
  27. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  28. package/dist/components/actions/link/link.d.ts +17 -6
  29. package/dist/components/actions/link/link.d.ts.map +1 -1
  30. package/dist/components/actions/link/link.js +15 -5
  31. package/dist/components/actions/link/link.js.map +1 -1
  32. package/dist/components/actions/link/link.styles.d.ts.map +1 -1
  33. package/dist/components/actions/link/link.styles.js +48 -8
  34. package/dist/components/actions/link/link.styles.js.map +1 -1
  35. package/dist/components/actions/link/link.template.d.ts.map +1 -1
  36. package/dist/components/actions/link/link.template.js +7 -9
  37. package/dist/components/actions/link/link.template.js.map +1 -1
  38. package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
  39. package/dist/components/actions/split-button/split-button.styles.js +14 -1
  40. package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
  41. package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
  42. package/dist/components/actions/split-button/split-button.template.js +1 -0
  43. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  44. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  45. package/dist/components/actions/toolbar/toolbar.styles.js +3 -2
  46. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  47. package/dist/components/components.js +83 -24795
  48. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  49. package/dist/components/content/blockquote/blockquote.styles.js +1 -0
  50. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  51. package/dist/components/content/code/code.d.ts +58 -0
  52. package/dist/components/content/code/code.d.ts.map +1 -0
  53. package/dist/components/content/code/code.js +155 -0
  54. package/dist/components/content/code/code.js.map +1 -0
  55. package/dist/components/content/code/code.styles.d.ts +2 -0
  56. package/dist/components/content/code/code.styles.d.ts.map +1 -0
  57. package/dist/components/content/code/code.styles.js +105 -0
  58. package/dist/components/content/code/code.styles.js.map +1 -0
  59. package/dist/components/content/code/code.template.d.ts +4 -0
  60. package/dist/components/content/code/code.template.d.ts.map +1 -0
  61. package/dist/components/content/code/code.template.js +18 -0
  62. package/dist/components/content/code/code.template.js.map +1 -0
  63. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  64. package/dist/components/content/icon/icon-aliases.js +6 -1
  65. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  66. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  67. package/dist/components/content/icon/icon-registry.js +11 -7
  68. package/dist/components/content/icon/icon-registry.js.map +1 -1
  69. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  70. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +1 -0
  71. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  72. package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
  73. package/dist/components/content/tag/tag.styles.js +1 -0
  74. package/dist/components/content/tag/tag.styles.js.map +1 -1
  75. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  76. package/dist/components/content/tooltip/tooltip.styles.js +2 -1
  77. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  78. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  79. package/dist/components/forms/form-field/form-field.styles.js +9 -5
  80. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  81. package/dist/components/index-CJ3mdHHo.js +28089 -0
  82. package/dist/components/index.d.ts +2 -0
  83. package/dist/components/index.d.ts.map +1 -1
  84. package/dist/components/index.js +2 -0
  85. package/dist/components/index.js.map +1 -1
  86. package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
  87. package/dist/components/inputs/checkbox/checkbox.styles.js +11 -9
  88. package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
  89. package/dist/components/inputs/code-editor/code-editor.d.ts +77 -0
  90. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -0
  91. package/dist/components/inputs/code-editor/code-editor.js +163 -0
  92. package/dist/components/inputs/code-editor/code-editor.js.map +1 -0
  93. package/dist/components/inputs/code-editor/code-editor.styles.d.ts +2 -0
  94. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -0
  95. package/dist/components/inputs/code-editor/code-editor.styles.js +110 -0
  96. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -0
  97. package/dist/components/inputs/code-editor/code-editor.template.d.ts +4 -0
  98. package/dist/components/inputs/code-editor/code-editor.template.d.ts.map +1 -0
  99. package/dist/components/inputs/code-editor/code-editor.template.js +24 -0
  100. package/dist/components/inputs/code-editor/code-editor.template.js.map +1 -0
  101. package/dist/components/inputs/combo-box/combo-box.d.ts +27 -3
  102. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  103. package/dist/components/inputs/combo-box/combo-box.js +78 -21
  104. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  105. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  106. package/dist/components/inputs/combo-box/combo-box.styles.js +2 -1
  107. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  108. package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
  109. package/dist/components/inputs/combo-box/combo-box.template.js +4 -2
  110. package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
  111. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  112. package/dist/components/inputs/dropdown/dropdown.styles.js +2 -1
  113. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  114. package/dist/components/inputs/dropdown/dropdown.template.js +1 -1
  115. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  116. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -1
  117. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  118. package/dist/components/inputs/number-field/number-field.d.ts +5 -0
  119. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  120. package/dist/components/inputs/number-field/number-field.js +7 -0
  121. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  122. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  123. package/dist/components/inputs/number-field/number-field.styles.js +2 -1
  124. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  125. package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
  126. package/dist/components/inputs/number-field/number-field.template.js +2 -0
  127. package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
  128. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  129. package/dist/components/inputs/password-field/password-field.styles.js +2 -1
  130. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  131. package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
  132. package/dist/components/inputs/radio-button/radio-button.styles.js +13 -11
  133. package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
  134. package/dist/components/inputs/search-field/search-field.d.ts +5 -0
  135. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  136. package/dist/components/inputs/search-field/search-field.js +7 -0
  137. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  138. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  139. package/dist/components/inputs/segmented-control/segmented-control.styles.js +8 -5
  140. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  141. package/dist/components/inputs/stepper/stepper.template.d.ts.map +1 -1
  142. package/dist/components/inputs/stepper/stepper.template.js +2 -0
  143. package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
  144. package/dist/components/inputs/switch/switch.d.ts +5 -0
  145. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  146. package/dist/components/inputs/switch/switch.js +7 -0
  147. package/dist/components/inputs/switch/switch.js.map +1 -1
  148. package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
  149. package/dist/components/inputs/switch/switch.styles.js +4 -3
  150. package/dist/components/inputs/switch/switch.styles.js.map +1 -1
  151. package/dist/components/inputs/switch-field/switch-field.d.ts +6 -0
  152. package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
  153. package/dist/components/inputs/switch-field/switch-field.js +8 -0
  154. package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
  155. package/dist/components/inputs/text-field/text-field.d.ts +5 -1
  156. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  157. package/dist/components/inputs/text-field/text-field.js +7 -3
  158. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  159. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  160. package/dist/components/inputs/text-field/text-field.styles.js +2 -1
  161. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  162. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  163. package/dist/components/inputs/toggle-button/toggle-button.styles.js +12 -8
  164. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  165. package/dist/components/inputs/token/token.styles.d.ts.map +1 -1
  166. package/dist/components/inputs/token/token.styles.js +10 -6
  167. package/dist/components/inputs/token/token.styles.js.map +1 -1
  168. package/dist/components/inputs/token/token.template.d.ts.map +1 -1
  169. package/dist/components/inputs/token/token.template.js +1 -0
  170. package/dist/components/inputs/token/token.template.js.map +1 -1
  171. package/dist/components/layout/app-view/app-view.d.ts +7 -0
  172. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  173. package/dist/components/layout/app-view/app-view.js +13 -1
  174. package/dist/components/layout/app-view/app-view.js.map +1 -1
  175. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  176. package/dist/components/layout/page/page.styles.js +2 -0
  177. package/dist/components/layout/page/page.styles.js.map +1 -1
  178. package/dist/components/layout/sheet/sheet.d.ts +4 -0
  179. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  180. package/dist/components/layout/sheet/sheet.js +7 -0
  181. package/dist/components/layout/sheet/sheet.js.map +1 -1
  182. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  183. package/dist/components/layout/sheet/sheet.styles.js +20 -1
  184. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  185. package/dist/components/layout/spacer/spacer.d.ts +28 -3
  186. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  187. package/dist/components/layout/spacer/spacer.js +33 -2
  188. package/dist/components/layout/spacer/spacer.js.map +1 -1
  189. package/dist/components/layout/spacer/spacer.styles.d.ts.map +1 -1
  190. package/dist/components/layout/spacer/spacer.styles.js +157 -110
  191. package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
  192. package/dist/components/lists-and-menus/cells/cell/cell.styles.d.ts.map +1 -1
  193. package/dist/components/lists-and-menus/cells/cell/cell.styles.js +10 -5
  194. package/dist/components/lists-and-menus/cells/cell/cell.styles.js.map +1 -1
  195. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.d.ts.map +1 -1
  196. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +9 -4
  197. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js.map +1 -1
  198. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts +2 -2
  199. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts.map +1 -1
  200. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js +1 -1
  201. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  202. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.js +50 -14
  203. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.js.map +1 -1
  204. package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts +28 -5
  205. package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts.map +1 -1
  206. package/dist/components/lists-and-menus/cells/text-cell/text-cell.js +58 -5
  207. package/dist/components/lists-and-menus/cells/text-cell/text-cell.js.map +1 -1
  208. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  209. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +38 -9
  210. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
  211. package/dist/components/lists-and-menus/cells/text-cell/text-cell.template.d.ts.map +1 -1
  212. package/dist/components/lists-and-menus/cells/text-cell/text-cell.template.js +33 -3
  213. package/dist/components/lists-and-menus/cells/text-cell/text-cell.template.js.map +1 -1
  214. package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts +28 -5
  215. package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts.map +1 -1
  216. package/dist/components/lists-and-menus/cells/title-cell/title-cell.js +58 -5
  217. package/dist/components/lists-and-menus/cells/title-cell/title-cell.js.map +1 -1
  218. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  219. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +57 -9
  220. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
  221. package/dist/components/lists-and-menus/cells/title-cell/title-cell.template.d.ts.map +1 -1
  222. package/dist/components/lists-and-menus/cells/title-cell/title-cell.template.js +36 -7
  223. package/dist/components/lists-and-menus/cells/title-cell/title-cell.template.js.map +1 -1
  224. package/dist/components/lists-and-menus/list/list.styles.d.ts.map +1 -1
  225. package/dist/components/lists-and-menus/list/list.styles.js +4 -3
  226. package/dist/components/lists-and-menus/list/list.styles.js.map +1 -1
  227. package/dist/components/lists-and-menus/list-item/list-item.d.ts +5 -0
  228. package/dist/components/lists-and-menus/list-item/list-item.d.ts.map +1 -1
  229. package/dist/components/lists-and-menus/list-item/list-item.js +7 -0
  230. package/dist/components/lists-and-menus/list-item/list-item.js.map +1 -1
  231. package/dist/components/lists-and-menus/list-item/list-item.styles.d.ts.map +1 -1
  232. package/dist/components/lists-and-menus/list-item/list-item.styles.js +24 -19
  233. package/dist/components/lists-and-menus/list-item/list-item.styles.js.map +1 -1
  234. package/dist/components/lists-and-menus/menu/menu.d.ts +254 -0
  235. package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
  236. package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +1 -0
  237. package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
  238. package/dist/components/lists-and-menus/menu/menu.i18n.js +1 -0
  239. package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
  240. package/dist/components/lists-and-menus/menu/menu.js +906 -15
  241. package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
  242. package/dist/components/lists-and-menus/menu/menu.styles.d.ts +1 -0
  243. package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
  244. package/dist/components/lists-and-menus/menu/menu.styles.js +150 -9
  245. package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
  246. package/dist/components/lists-and-menus/menu/menu.template.d.ts +2 -1
  247. package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
  248. package/dist/components/lists-and-menus/menu/menu.template.js +60 -0
  249. package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
  250. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
  251. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +21 -12
  252. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
  253. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  254. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +9 -4
  255. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  256. package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  257. package/dist/components/navigation/pagination/pagination.styles.js +10 -3
  258. package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
  259. package/dist/components/navigation/pagination/pagination.template.js +1 -1
  260. package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
  261. package/dist/components/navigation/skip-link/skip-link.styles.js +1 -0
  262. package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
  263. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  264. package/dist/components/navigation/tab-bar/tab-bar.styles.js +9 -3
  265. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  266. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +5 -0
  267. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  268. package/dist/components/navigation/top-title-bar/top-title-bar.js +19 -7
  269. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  270. package/dist/components/prism-bash-vbqaw3JR.js +226 -0
  271. package/dist/components/prism-css-B93tXdOU.js +59 -0
  272. package/dist/components/prism-javascript-DeC_17Pw.js +140 -0
  273. package/dist/components/prism-json-DIMpow89.js +25 -0
  274. package/dist/components/prism-markdown-D-uFBkiz.js +339 -0
  275. package/dist/components/prism-markup-DfJYPYHA.js +177 -0
  276. package/dist/components/prism-typescript-Cdpexfvg.js +87 -0
  277. package/dist/components/prism-yaml-DO0f9pf6.js +71 -0
  278. package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
  279. package/dist/components/status-and-feedback/badge/badge.styles.js +2 -0
  280. package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
  281. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +7 -4
  282. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  283. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +10 -3
  284. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  285. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
  286. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +16 -5
  287. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
  288. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
  289. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +2 -1
  290. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
  291. package/dist/css/settings.css +100 -18
  292. package/dist/fonts/JetBrainsMono-Italic[wght].woff2 +0 -0
  293. package/dist/fonts/JetBrainsMono[wght].woff2 +0 -0
  294. package/dist/fonts/RijksSansWeb-Italic.woff2 +0 -0
  295. package/dist/fonts/RijksSansWeb-Regular.woff2 +0 -0
  296. package/package.json +18 -4
  297. package/dist/fonts/IBMPlexMono-Bold.woff2 +0 -0
  298. package/dist/fonts/IBMPlexMono-Regular.woff2 +0 -0
  299. package/dist/fonts/RijksSansVF-Italic.ttf +0 -0
  300. package/dist/fonts/RijksSansVF-Regular.ttf +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"badge.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/badge/badge.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmI7B,CAAC"}
1
+ {"version":3,"file":"badge.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/badge/badge.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqI7B,CAAC"}
@@ -6,9 +6,10 @@
6
6
  *
7
7
  * @element nldd-inline-dialog
8
8
  *
9
- * @attr {'alert'} variant - Semantic variant; 'alert' forces icon="alert" and colors the icon
10
- * @attr {string} icon - Name of the nldd-icon icon above the text; absent when not set. Ignored when variant is set.
11
- * @attr {string} text - Main text (heading or paragraph, depending on heading-level)
9
+ * @attr {'alert'|'success'} variant - Semantic variant; 'alert' or 'success' forces a matching icon and color
10
+ * @attr {string} icon - Name of the nldd-icon icon above the text; absent when not set. Ignored when variant is set.
11
+ * @attr {string} icon-color - 'secondary' | 'accent' | 'critical' | 'warning' | 'success'. Overrides the default and variant icon color.
12
+ * @attr {string} text - Main text (heading or paragraph, depending on heading-level)
12
13
  * @attr {string} supporting-text - Supporting text below the heading
13
14
  * @attr {1|2|3|4|5|6} heading-level - Renders text as h1–h6; absent renders a p
14
15
  *
@@ -18,11 +19,13 @@
18
19
  import { LitElement } from 'lit';
19
20
  import '../../content/icon/icon.js';
20
21
  import '../../actions/button-group/button-group.js';
21
- export type InlineDialogVariant = 'alert';
22
+ export type InlineDialogVariant = 'alert' | 'success';
23
+ export type InlineDialogIconColor = 'secondary' | 'accent' | 'critical' | 'warning' | 'success';
22
24
  export declare class NLDDInlineDialog extends LitElement {
23
25
  static styles: import("lit").CSSResult;
24
26
  variant: InlineDialogVariant | '';
25
27
  icon: string;
28
+ iconColor: InlineDialogIconColor | '';
26
29
  text: string;
27
30
  supportingText: string;
28
31
  headingLevel: 1 | 2 | 3 | 4 | 5 | 6 | null;
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,4CAA4C,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAE1C,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAG5C,OAAO,EAAE,mBAAmB,GAAG,EAAE,CAAM;IAGvC,IAAI,SAAM;IAGV,IAAI,SAAM;IAGV,cAAc,SAAM;IAGpB,YAAY,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAQ;IAGlD,WAAW,UAAS;IAGpB,WAAW,UAAS;IAEpB,IAAI,iBAAiB,IAAI,MAAM,CAI9B;IAEQ,YAAY;IAsBZ,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,oBAAoB,EAAE,gBAAgB,CAAC;KACvC;CACD"}
1
+ {"version":3,"file":"inline-dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,4CAA4C,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,CAAC;AACtD,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhG,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAG5C,OAAO,EAAE,mBAAmB,GAAG,EAAE,CAAM;IAGvC,IAAI,SAAM;IAGV,SAAS,EAAE,qBAAqB,GAAG,EAAE,CAAM;IAG3C,IAAI,SAAM;IAGV,cAAc,SAAM;IAGpB,YAAY,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAQ;IAGlD,WAAW,UAAS;IAGpB,WAAW,UAAS;IAEpB,IAAI,iBAAiB,IAAI,MAAM,CAK9B;IAEQ,YAAY;IAsBZ,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,oBAAoB,EAAE,gBAAgB,CAAC;KACvC;CACD"}
@@ -12,9 +12,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
12
12
  *
13
13
  * @element nldd-inline-dialog
14
14
  *
15
- * @attr {'alert'} variant - Semantic variant; 'alert' forces icon="alert" and colors the icon
16
- * @attr {string} icon - Name of the nldd-icon icon above the text; absent when not set. Ignored when variant is set.
17
- * @attr {string} text - Main text (heading or paragraph, depending on heading-level)
15
+ * @attr {'alert'|'success'} variant - Semantic variant; 'alert' or 'success' forces a matching icon and color
16
+ * @attr {string} icon - Name of the nldd-icon icon above the text; absent when not set. Ignored when variant is set.
17
+ * @attr {string} icon-color - 'secondary' | 'accent' | 'critical' | 'warning' | 'success'. Overrides the default and variant icon color.
18
+ * @attr {string} text - Main text (heading or paragraph, depending on heading-level)
18
19
  * @attr {string} supporting-text - Supporting text below the heading
19
20
  * @attr {1|2|3|4|5|6} heading-level - Renders text as h1–h6; absent renders a p
20
21
  *
@@ -32,6 +33,7 @@ let NLDDInlineDialog = class NLDDInlineDialog extends LitElement {
32
33
  super(...arguments);
33
34
  this.variant = '';
34
35
  this.icon = '';
36
+ this.iconColor = '';
35
37
  this.text = '';
36
38
  this.supportingText = '';
37
39
  this.headingLevel = null;
@@ -41,6 +43,8 @@ let NLDDInlineDialog = class NLDDInlineDialog extends LitElement {
41
43
  get _resolvedIconName() {
42
44
  if (this.variant === 'alert')
43
45
  return 'alert';
46
+ if (this.variant === 'success')
47
+ return 'success';
44
48
  if (this.icon)
45
49
  return this.icon;
46
50
  return '';
@@ -75,6 +79,9 @@ __decorate([
75
79
  __decorate([
76
80
  property({ type: String, reflect: true })
77
81
  ], NLDDInlineDialog.prototype, "icon", void 0);
82
+ __decorate([
83
+ property({ type: String, reflect: true, attribute: 'icon-color' })
84
+ ], NLDDInlineDialog.prototype, "iconColor", void 0);
78
85
  __decorate([
79
86
  property({ type: String, reflect: true })
80
87
  ], NLDDInlineDialog.prototype, "text", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;A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B;IADC,KAAK,EAAE;qDACY;AAtBR,gBAAgB;IAD5B,aAAa,CAAC,oBAAoB,CAAC;GACvB,gBAAgB,CAuD5B"}
1
+ {"version":3,"file":"inline-dialog.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,4BAA4B,CAAC;AACpC,OAAO,4CAA4C,CAAC;AAM7C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAIN,YAAO,GAA6B,EAAE,CAAC;QAGvC,SAAI,GAAG,EAAE,CAAC;QAGV,cAAS,GAA+B,EAAE,CAAC;QAG3C,SAAI,GAAG,EAAE,CAAC;QAGV,mBAAc,GAAG,EAAE,CAAC;QAGpB,iBAAY,GAAiC,IAAI,CAAC;QAGlD,gBAAW,GAAG,KAAK,CAAC;QAGpB,gBAAW,GAAG,KAAK,CAAC;IAkCrB,CAAC;IAhCA,IAAI,iBAAiB;QACpB,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO;YAAE,OAAO,OAAO,CAAC;QAC7C,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS;YAAE,OAAO,SAAS,CAAC;QACjD,IAAI,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,IAAI,CAAC;QAChC,OAAO,EAAE,CAAC;IACX,CAAC;IAEQ,YAAY;QACpB,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,aAAa,CAAkB,kBAAkB,CAAC,CAAC;QACxF,MAAM,WAAW,GAAG,IAA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AI,EAAE,CAAC;8CAChC;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;mDACxB;AAG3C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAChC;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;wDACpD;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;sDACpB;AAGlD;IADC,KAAK,EAAE;qDACY;AAGpB;IADC,KAAK,EAAE;qDACY;AAzBR,gBAAgB;IAD5B,aAAa,CAAC,oBAAoB,CAAC;GACvB,gBAAgB,CA2D5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,yBAgG9B,CAAC"}
1
+ {"version":3,"file":"inline-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,yBA2G9B,CAAC"}
@@ -5,12 +5,13 @@ export const inlineDialogStyles = css `
5
5
  /* # Host */
6
6
 
7
7
  :host {
8
+ --_icon-size: var(--primitives-space-48);
9
+ --_icon-color: var(--components-inline-dialog-icon-color);
10
+
8
11
  display: flex;
9
12
  justify-content: center;
10
13
  align-items: center;
11
14
  flex-grow: 1;
12
-
13
- --_icon-color: var(--semantics-content-color);
14
15
  }
15
16
 
16
17
  :host([hidden]) {
@@ -18,9 +19,19 @@ export const inlineDialogStyles = css `
18
19
  }
19
20
 
20
21
  :host([variant='alert']) {
21
- --_icon-color: var(--primitives-color-warning-350);
22
+ --_icon-color: var(--components-inline-dialog-icon-warning-color);
22
23
  }
23
24
 
25
+ :host([variant='success']) {
26
+ --_icon-color: var(--components-inline-dialog-icon-success-color);
27
+ }
28
+
29
+ :host([icon-color='secondary']) { --_icon-color: var(--components-inline-dialog-icon-secondary-color); }
30
+ :host([icon-color='accent']) { --_icon-color: var(--components-inline-dialog-icon-accent-color); }
31
+ :host([icon-color='critical']) { --_icon-color: var(--components-inline-dialog-icon-critical-color); }
32
+ :host([icon-color='warning']) { --_icon-color: var(--components-inline-dialog-icon-warning-color); }
33
+ :host([icon-color='success']) { --_icon-color: var(--components-inline-dialog-icon-success-color); }
34
+
24
35
 
25
36
  /* # Body */
26
37
 
@@ -40,8 +51,8 @@ export const inlineDialogStyles = css `
40
51
  display: flex;
41
52
  align-items: center;
42
53
  justify-content: center;
43
- width: var(--primitives-space-48);
44
- height: var(--primitives-space-48);
54
+ width: var(--_icon-size);
55
+ height: var(--_icon-size);
45
56
  color: var(--_icon-color);
46
57
  flex-shrink: 0;
47
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGpC,CAAC"}
1
+ {"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"modal-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,yBA8F7B,CAAC"}
1
+ {"version":3,"file":"modal-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,yBA+F7B,CAAC"}
@@ -7,10 +7,11 @@ export const modalDialogStyles = css `
7
7
  /* # Host */
8
8
 
9
9
  :host {
10
- display: contents;
11
10
  --_max-height: 90vh;
12
11
  --_animation-duration: 150ms;
13
12
  --_animation-easing: ease;
13
+
14
+ display: contents;
14
15
  }
15
16
 
16
17
  :host([hidden]) {
@@ -1 +1 @@
1
- {"version":3,"file":"modal-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAiCb,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D3B,CAAC"}
1
+ {"version":3,"file":"modal-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAkCb,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D3B,CAAC"}
@@ -5,34 +5,34 @@
5
5
  @import "./palettes.generated.css";
6
6
 
7
7
  @font-face {
8
- font-family: 'RijksSansVF';
9
- src: url('../fonts/RijksSansVF-Regular.ttf') format('truetype-variations');
8
+ font-family: 'RijksSans';
9
+ src: url('../fonts/RijksSansWeb-Regular.woff2') format('woff2-variations');
10
10
  font-weight: 100 900;
11
11
  font-style: normal;
12
12
  font-display: swap;
13
13
  }
14
14
 
15
15
  @font-face {
16
- font-family: 'RijksSansVF';
17
- src: url('../fonts/RijksSansVF-Italic.ttf') format('truetype-variations');
16
+ font-family: 'RijksSans';
17
+ src: url('../fonts/RijksSansWeb-Italic.woff2') format('woff2-variations');
18
18
  font-weight: 100 900;
19
19
  font-style: italic;
20
20
  font-display: swap;
21
21
  }
22
22
 
23
23
  @font-face {
24
- font-family: 'IBM Plex Mono';
25
- src: url('../fonts/IBMPlexMono-Regular.woff2') format('woff2');
26
- font-weight: 400;
24
+ font-family: 'JetBrains Mono';
25
+ src: url('../fonts/JetBrainsMono[wght].woff2') format('woff2-variations');
26
+ font-weight: 100 900;
27
27
  font-style: normal;
28
28
  font-display: swap;
29
29
  }
30
30
 
31
31
  @font-face {
32
- font-family: 'IBM Plex Mono';
33
- src: url('../fonts/IBMPlexMono-Bold.woff2') format('woff2');
34
- font-weight: 700;
35
- font-style: normal;
32
+ font-family: 'JetBrains Mono';
33
+ src: url('../fonts/JetBrainsMono-Italic[wght].woff2') format('woff2-variations');
34
+ font-weight: 100 900;
35
+ font-style: italic;
36
36
  font-display: swap;
37
37
  }
38
38
 
@@ -322,11 +322,11 @@
322
322
  /* ## Typography */
323
323
 
324
324
  --primitives-font-family-sans-serif-fallback: system-ui, sans-serif;
325
- --primitives-font-family-sans-serif: RijksSansVF, system-ui, sans-serif;
325
+ --primitives-font-family-sans-serif: RijksSans, system-ui, sans-serif;
326
326
  --primitives-font-family-serif-fallback: serif;
327
327
  --primitives-font-family-serif: RijksoverheidSerif, serif;
328
328
  --primitives-font-family-monospace-fallback: monospace;
329
- --primitives-font-family-monospace: 'IBM Plex Mono', monospace;
329
+ --primitives-font-family-monospace: 'JetBrains Mono', monospace;
330
330
  --primitives-font-family-body-fallback: var(--primitives-font-family-sans-serif-fallback);
331
331
  --primitives-font-family-body: var(--primitives-font-family-sans-serif);
332
332
  --primitives-font-family-display-fallback: var(--primitives-font-family-sans-serif-fallback);
@@ -572,6 +572,41 @@
572
572
  var(--primitives-font-family-body)
573
573
  ;
574
574
 
575
+ /* Monospace tokens use one font-size step smaller than the matching body
576
+ size. Constant character widths in monospace render denser than
577
+ proportional fonts, so monospace-md sits visually next to body-md
578
+ while using font-size-90 (16px) instead of -100 (18px). */
579
+ --primitives-font-monospace-md-regular-snug:
580
+ var(--primitives-font-weight-body-regular)
581
+ var(--primitives-font-size-90) / var(--primitives-line-height-snug)
582
+ var(--primitives-font-family-monospace)
583
+ ;
584
+ --primitives-font-monospace-md-regular-flat:
585
+ var(--primitives-font-weight-body-regular)
586
+ var(--primitives-font-size-90) / var(--primitives-line-height-flat)
587
+ var(--primitives-font-family-monospace)
588
+ ;
589
+ --primitives-font-monospace-sm-regular-snug:
590
+ var(--primitives-font-weight-body-regular)
591
+ var(--primitives-font-size-80) / var(--primitives-line-height-snug)
592
+ var(--primitives-font-family-monospace)
593
+ ;
594
+ --primitives-font-monospace-sm-regular-flat:
595
+ var(--primitives-font-weight-body-regular)
596
+ var(--primitives-font-size-80) / var(--primitives-line-height-flat)
597
+ var(--primitives-font-family-monospace)
598
+ ;
599
+ --primitives-font-monospace-xs-regular-snug:
600
+ var(--primitives-font-weight-body-regular)
601
+ var(--primitives-font-size-70) / var(--primitives-line-height-snug)
602
+ var(--primitives-font-family-monospace)
603
+ ;
604
+ --primitives-font-monospace-xs-regular-flat:
605
+ var(--primitives-font-weight-body-regular)
606
+ var(--primitives-font-size-70) / var(--primitives-line-height-flat)
607
+ var(--primitives-font-family-monospace)
608
+ ;
609
+
575
610
  --primitives-font-display-1-sm:
576
611
  var(--primitives-font-weight-display-bold)
577
612
  var(--primitives-font-size-700) / var(--primitives-line-height-flat)
@@ -687,7 +722,6 @@
687
722
  --primitives-opacity-95: 0.95;
688
723
  --primitives-opacity-100: 1;
689
724
  --primitives-opacity-disabled: 0.38;
690
- --primitives-opacity-dragging: 0.4;
691
725
 
692
726
  /* ## Transition */
693
727
 
@@ -762,8 +796,10 @@
762
796
 
763
797
  --semantics-content-color: light-dark(var(--primitives-color-neutral-800), var(--primitives-color-neutral-850));
764
798
  --semantics-content-secondary-color: light-dark(var(--primitives-color-neutral-550), var(--primitives-color-neutral-650));
765
- --semantics-content-error-color: light-dark(var(--primitives-color-critical-600), var(--primitives-color-critical-650));
766
- --semantics-content-success-color: light-dark(var(--primitives-color-success-600), var(--primitives-color-success-650));
799
+ --semantics-content-accent-color: light-dark(var(--primitives-color-accent-750), var(--primitives-color-accent-650));
800
+ --semantics-content-critical-color: light-dark(var(--primitives-color-critical-550), var(--primitives-color-critical-650));
801
+ --semantics-content-warning-color: light-dark(var(--primitives-color-warning-550), var(--primitives-color-warning-650));
802
+ --semantics-content-success-color: light-dark(var(--primitives-color-success-550), var(--primitives-color-success-650));
767
803
 
768
804
  /* ## Links */
769
805
 
@@ -820,6 +856,8 @@
820
856
  --semantics-controls-is-highlighted-is-active-indicator-color: light-dark(var(--primitives-color-accent-850), var(--primitives-color-accent-750));
821
857
  --semantics-controls-is-highlighted-is-active-contrast-color: var(--semantics-surfaces-background-color);
822
858
 
859
+ --semantics-controls-is-dragging-opacity: var(--primitives-opacity-40);
860
+
823
861
  --semantics-controls-link-cursor: default;
824
862
 
825
863
  /* ## Buttons */
@@ -839,7 +877,7 @@
839
877
  --semantics-buttons-neutral-tinted-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-200));
840
878
  --semantics-buttons-neutral-tinted-content-color: light-dark(var(--primitives-color-neutral-900), var(--primitives-color-neutral-900));
841
879
  --semantics-buttons-neutral-tinted-secondary-content-color: light-dark(var(--primitives-color-neutral-750), var(--primitives-color-neutral-750));
842
- --semantics-buttons-neutral-tinted-divider-color: light-dark(var(--primitives-color-neutral-250), var(--primitives-color-neutral-350));
880
+ --semantics-buttons-neutral-tinted-divider-color: light-dark(var(--primitives-color-neutral-250), var(--primitives-color-neutral-450));
843
881
  --semantics-buttons-neutral-tinted-is-hovered-background-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-250));
844
882
  --semantics-buttons-neutral-tinted-is-hovered-content-color: light-dark(var(--primitives-color-neutral-1000), var(--primitives-color-neutral-1000));
845
883
  --semantics-buttons-neutral-tinted-is-hovered-secondary-content-color: light-dark(var(--primitives-color-neutral-650), var(--primitives-color-neutral-800));
@@ -866,6 +904,7 @@
866
904
  --semantics-buttons-accent-filled-is-hovered-content-color: light-dark(var(--primitives-color-accent-0), var(--primitives-color-accent-0));
867
905
  --semantics-buttons-accent-filled-is-active-background-color: light-dark(var(--primitives-color-accent-850), var(--primitives-color-accent-750));
868
906
  --semantics-buttons-accent-filled-is-active-content-color: light-dark(var(--primitives-color-accent-0), var(--primitives-color-accent-0));
907
+ --semantics-buttons-accent-filled-divider-color: light-dark(var(--primitives-color-accent-500), var(--primitives-color-accent-450));
869
908
 
870
909
  --semantics-buttons-accent-outlined-border-thickness: var(--primitives-border-width-regular);
871
910
  --semantics-buttons-accent-outlined-border-color: light-dark(var(--primitives-color-accent-750), var(--primitives-color-accent-650));
@@ -1048,6 +1087,15 @@
1048
1087
 
1049
1088
  --components-form-field-gap: var(--primitives-space-2);
1050
1089
 
1090
+ /* ## Inline dialog */
1091
+
1092
+ --components-inline-dialog-icon-color: var(--semantics-content-color);
1093
+ --components-inline-dialog-icon-secondary-color: var(--semantics-content-secondary-color);
1094
+ --components-inline-dialog-icon-accent-color: light-dark(var(--primitives-color-accent-750), var(--primitives-color-accent-650));
1095
+ --components-inline-dialog-icon-critical-color: light-dark(var(--primitives-color-critical-500), var(--primitives-color-critical-500));
1096
+ --components-inline-dialog-icon-warning-color: light-dark(var(--primitives-color-warning-350), var(--primitives-color-warning-650));
1097
+ --components-inline-dialog-icon-success-color: light-dark(var(--primitives-color-success-500), var(--primitives-color-success-500));
1098
+
1051
1099
  /* ## Keyboard shortcut */
1052
1100
 
1053
1101
  --components-keyboard-shortcut-sm-size: var(--primitives-space-20);
@@ -1059,6 +1107,39 @@
1059
1107
  --components-keyboard-shortcut-corner-radius: var(--primitives-corner-radius-xs);
1060
1108
  --components-keyboard-shortcut-separator-color: var(--semantics-content-secondary-color);
1061
1109
 
1110
+ /* ## Code
1111
+
1112
+ Token colors used by nldd-code's Prism syntax highlighting.
1113
+ Solarized-inspired, mapped to descriptive DS palettes. Consumers
1114
+ can override per-instance on `nldd-code` to swap the theme. */
1115
+
1116
+ --components-code-token-comment-color: var(--semantics-content-secondary-color);
1117
+ --components-code-token-punctuation-color: var(--semantics-content-color);
1118
+ --components-code-token-keyword-color: var(--primitives-color-donkergeel-650);
1119
+ --components-code-token-string-color: var(--primitives-color-groen-650);
1120
+ --components-code-token-number-color: var(--primitives-color-oranje-650);
1121
+ --components-code-token-boolean-color: var(--primitives-color-oranje-650);
1122
+ --components-code-token-null-color: var(--primitives-color-oranje-650);
1123
+ --components-code-token-function-color: var(--primitives-color-lintblauw-650);
1124
+ --components-code-token-class-color: var(--primitives-color-donkergeel-650);
1125
+ --components-code-token-builtin-color: var(--primitives-color-donkergeel-650);
1126
+ --components-code-token-tag-color: var(--primitives-color-groen-650);
1127
+ --components-code-token-attr-name-color: var(--primitives-color-lintblauw-650);
1128
+ --components-code-token-attr-value-color: var(--primitives-color-mintgroen-650);
1129
+ --components-code-token-property-color: var(--primitives-color-lintblauw-650);
1130
+ --components-code-token-selector-color: var(--primitives-color-donkergeel-650);
1131
+ --components-code-token-atrule-color: var(--primitives-color-groen-650);
1132
+ --components-code-token-regex-color: var(--primitives-color-rood-650);
1133
+ --components-code-token-url-color: var(--primitives-color-mintgroen-650);
1134
+ --components-code-token-operator-color: var(--primitives-color-groen-650);
1135
+ --components-code-token-constant-color: var(--primitives-color-oranje-650);
1136
+ --components-code-token-deleted-color: var(--primitives-color-rood-650);
1137
+ --components-code-token-inserted-color: var(--primitives-color-groen-650);
1138
+ --components-code-token-important-color: var(--primitives-color-rood-650);
1139
+ --components-code-token-symbol-color: var(--primitives-color-violet-650);
1140
+ --components-code-token-entity-color: var(--primitives-color-paars-650);
1141
+ --components-code-token-variable-color: var(--primitives-color-lintblauw-650);
1142
+
1062
1143
  /* ## List */
1063
1144
 
1064
1145
  --components-list-corner-radius: var(--semantics-controls-md-corner-radius);
@@ -1073,13 +1154,14 @@
1073
1154
  --components-list-item-is-selected-content-color: var(--primitives-color-neutral-1000);
1074
1155
  --components-list-item-is-highlighted-background-color: var(--semantics-controls-is-highlighted-indicator-color);
1075
1156
  --components-list-item-is-highlighted-content-color: var(--semantics-controls-is-highlighted-contrast-color);
1076
- --components-list-item-is-dragging-opacity: var(--primitives-opacity-dragging);
1077
1157
 
1078
1158
  /* ## Menu */
1079
1159
 
1080
1160
  --components-menu-box-shadow: var(--primitives-box-shadows-level-5);
1081
1161
  --components-menu-item-is-highlighted-background-color: var(--semantics-controls-is-highlighted-indicator-color);
1082
1162
  --components-menu-item-is-highlighted-content-color: var(--semantics-controls-is-highlighted-contrast-color);
1163
+ --components-menu-item-is-open-background-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-250));
1164
+ --components-menu-item-is-open-content-color: var(--primitives-color-neutral-1000);
1083
1165
 
1084
1166
  /* ## Menu bar */
1085
1167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nldd/design-system",
3
- "version": "0.8.40",
3
+ "version": "0.8.42",
4
4
  "description": "Design System voor Nederlandse Digitale Dienst",
5
5
  "type": "module",
6
6
  "main": "dist/components/components.js",
@@ -63,6 +63,10 @@
63
63
  "types": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts",
64
64
  "default": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.js"
65
65
  },
66
+ "./code": {
67
+ "types": "./dist/components/content/code/code.d.ts",
68
+ "default": "./dist/components/content/code/code.js"
69
+ },
66
70
  "./form": {
67
71
  "types": "./dist/components/forms/form/form.d.ts",
68
72
  "default": "./dist/components/forms/form/form.js"
@@ -87,6 +91,10 @@
87
91
  "types": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts",
88
92
  "default": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.js"
89
93
  },
94
+ "./code-editor": {
95
+ "types": "./dist/components/inputs/code-editor/code-editor.d.ts",
96
+ "default": "./dist/components/inputs/code-editor/code-editor.js"
97
+ },
90
98
  "./password-field": {
91
99
  "types": "./dist/components/inputs/password-field/password-field.d.ts",
92
100
  "default": "./dist/components/inputs/password-field/password-field.js"
@@ -328,7 +336,11 @@
328
336
  "default": "./dist/components/status-and-feedback/badge/badge.js"
329
337
  },
330
338
  "./styles": "./dist/css/global.css",
331
- "./styles/tokens": "./dist/css/settings.css"
339
+ "./styles/tokens": "./dist/css/settings.css",
340
+ "./tokens": {
341
+ "types": "./dist/assets/styles/tokens.d.ts",
342
+ "default": "./dist/assets/styles/tokens.js"
343
+ }
332
344
  },
333
345
  "files": [
334
346
  "dist"
@@ -343,7 +355,7 @@
343
355
  },
344
356
  "scripts": {
345
357
  "build": "npm run build:styles && npm run validate:styles && npm run build:components",
346
- "build:styles": "mkdir -p dist/css dist/fonts && cp src/assets/styles/settings.css dist/css/settings.css && cp src/assets/styles/palettes.generated.css dist/css/palettes.generated.css && cp src/components/content/rich-text/rich-text.css dist/css/rich-text.css && cp src/components/forms/form/form.css dist/css/form.css && cp src/components/forms/form-section/form-section.css dist/css/form-section.css && printf '@import \"./settings.css\";\\n@import \"./rich-text.css\";\\n@import \"./form-section.css\";\\n@import \"./form.css\";\\n' > dist/css/global.css && cp src/assets/fonts/*.ttf src/assets/fonts/*.woff2 dist/fonts/",
358
+ "build:styles": "mkdir -p dist/css dist/fonts && cp src/assets/styles/settings.css dist/css/settings.css && cp src/assets/styles/palettes.generated.css dist/css/palettes.generated.css && cp src/components/content/rich-text/rich-text.css dist/css/rich-text.css && cp src/components/forms/form/form.css dist/css/form.css && cp src/components/forms/form-section/form-section.css dist/css/form-section.css && printf '@import \"./settings.css\";\\n@import \"./rich-text.css\";\\n@import \"./form-section.css\";\\n@import \"./form.css\";\\n' > dist/css/global.css && cp src/assets/fonts/*.woff2 dist/fonts/",
347
359
  "generate:palettes": "node scripts/generate-palettes.js",
348
360
  "validate:styles": "node scripts/validate-css-variables.js",
349
361
  "build:components": "npm run clean:components && npm run build:icons && npm run build:components:modules && npm run build:components:bundle && npm run build:exports",
@@ -381,6 +393,7 @@
381
393
  "@storybook/addon-themes": "^10.3.4",
382
394
  "@storybook/addon-vitest": "^10.3.4",
383
395
  "@storybook/web-components-vite": "^10.3.4",
396
+ "@types/prismjs": "^1.26.6",
384
397
  "@vitest/browser-playwright": "^4.0.16",
385
398
  "@vitest/coverage-v8": "^4.0.16",
386
399
  "eslint": "^9.17.0",
@@ -408,6 +421,7 @@
408
421
  "dependencies": {
409
422
  "@floating-ui/dom": "^1.7.6",
410
423
  "@rijkshuisstijl-community/font": "^1.1.2",
411
- "lit": "^3.3.1"
424
+ "lit": "^3.3.1",
425
+ "prismjs": "^1.30.0"
412
426
  }
413
427
  }
Binary file
Binary file
Binary file