@nldd/design-system 0.8.64 → 0.8.65

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 (459) hide show
  1. package/dist/components/actions/button/button.d.ts.map +1 -1
  2. package/dist/components/actions/button/button.js +7 -6
  3. package/dist/components/actions/button/button.js.map +1 -1
  4. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  5. package/dist/components/actions/button/button.styles.js +9 -5
  6. package/dist/components/actions/button/button.styles.js.map +1 -1
  7. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  8. package/dist/components/actions/button-bar/button-bar.js +3 -2
  9. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  10. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  11. package/dist/components/actions/button-group/button-group.js +3 -2
  12. package/dist/components/actions/button-group/button-group.js.map +1 -1
  13. package/dist/components/actions/icon-button/icon-button.d.ts +4 -0
  14. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  15. package/dist/components/actions/icon-button/icon-button.js +13 -5
  16. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  17. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  18. package/dist/components/actions/icon-button/icon-button.styles.js +15 -10
  19. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  20. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.template.js +2 -0
  22. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  23. package/dist/components/actions/menu/menu.d.ts +1 -0
  24. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  25. package/dist/components/actions/menu/menu.js +33 -15
  26. package/dist/components/actions/menu/menu.js.map +1 -1
  27. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  28. package/dist/components/actions/menu/menu.styles.js +8 -0
  29. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  30. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  31. package/dist/components/actions/split-button/split-button.js +5 -4
  32. package/dist/components/actions/split-button/split-button.js.map +1 -1
  33. package/dist/components/actions/toolbar/toolbar.d.ts +11 -0
  34. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  35. package/dist/components/actions/toolbar/toolbar.js +112 -40
  36. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  37. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  38. package/dist/components/actions/toolbar/toolbar.styles.js +3 -12
  39. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  40. package/dist/components/components.js +104 -102
  41. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  42. package/dist/components/content/blockquote/blockquote.styles.js +0 -3
  43. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  44. package/dist/components/content/byline/byline.d.ts.map +1 -1
  45. package/dist/components/content/byline/byline.js +3 -2
  46. package/dist/components/content/byline/byline.js.map +1 -1
  47. package/dist/components/content/code-viewer/code-viewer.d.ts +24 -64
  48. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  49. package/dist/components/content/code-viewer/code-viewer.js +239 -156
  50. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  51. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  52. package/dist/components/content/code-viewer/code-viewer.styles.js +33 -92
  53. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  54. package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
  55. package/dist/components/content/code-viewer/code-viewer.template.js +10 -29
  56. package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
  57. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  58. package/dist/components/content/icon/icon-aliases.js +22 -1
  59. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  60. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  61. package/dist/components/content/icon/icon-registry.js +18 -0
  62. package/dist/components/content/icon/icon-registry.js.map +1 -1
  63. package/dist/components/content/icon/icon.d.ts.map +1 -1
  64. package/dist/components/content/icon/icon.js +3 -2
  65. package/dist/components/content/icon/icon.js.map +1 -1
  66. package/dist/components/content/image/image.d.ts.map +1 -1
  67. package/dist/components/content/image/image.js +7 -6
  68. package/dist/components/content/image/image.js.map +1 -1
  69. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  70. package/dist/components/content/image/image.styles.js +2 -6
  71. package/dist/components/content/image/image.styles.js.map +1 -1
  72. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  73. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +8 -7
  74. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  75. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  76. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -1
  77. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  78. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  79. package/dist/components/content/rich-text/rich-text.js +3 -2
  80. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  81. package/dist/components/content/tag/tag.d.ts.map +1 -1
  82. package/dist/components/content/tag/tag.js +5 -4
  83. package/dist/components/content/tag/tag.js.map +1 -1
  84. package/dist/components/content/title/title.d.ts.map +1 -1
  85. package/dist/components/content/title/title.js +2 -1
  86. package/dist/components/content/title/title.js.map +1 -1
  87. package/dist/components/content/token/token.d.ts +70 -0
  88. package/dist/components/content/token/token.d.ts.map +1 -0
  89. package/dist/components/content/token/token.js +170 -0
  90. package/dist/components/content/token/token.js.map +1 -0
  91. package/dist/components/content/token/token.styles.d.ts.map +1 -0
  92. package/dist/components/content/token/token.styles.js +122 -0
  93. package/dist/components/content/token/token.styles.js.map +1 -0
  94. package/dist/components/content/token/token.template.d.ts +6 -0
  95. package/dist/components/content/token/token.template.d.ts.map +1 -0
  96. package/dist/components/content/token/token.template.js +47 -0
  97. package/dist/components/content/token/token.template.js.map +1 -0
  98. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  99. package/dist/components/content/tooltip/tooltip.js +14 -5
  100. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  101. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  102. package/dist/components/content/tooltip/tooltip.styles.js +11 -0
  103. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  104. package/dist/components/gherkin-DhZlEZiy.js +115 -0
  105. package/dist/components/index-BI4lrehT.js +66595 -0
  106. package/dist/components/index-BcdqzZql.js +703 -0
  107. package/dist/components/index-BlMqctke.js +81 -0
  108. package/dist/components/index-BseMFLNF.js +688 -0
  109. package/dist/components/index-ChjtFo6I.js +177 -0
  110. package/dist/components/index-D3NSlPL5.js +405 -0
  111. package/dist/components/index-D7B3n3QJ.js +384 -0
  112. package/dist/components/index.d.ts +20 -18
  113. package/dist/components/index.d.ts.map +1 -1
  114. package/dist/components/index.js +20 -18
  115. package/dist/components/index.js.map +1 -1
  116. package/dist/components/inputs/code-editor/code-editor.d.ts +58 -29
  117. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  118. package/dist/components/inputs/code-editor/code-editor.js +241 -52
  119. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  120. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
  121. package/dist/components/inputs/code-editor/code-editor.styles.js +58 -46
  122. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  123. package/dist/components/inputs/code-editor/code-editor.template.d.ts +1 -1
  124. package/dist/components/inputs/code-editor/code-editor.template.d.ts.map +1 -1
  125. package/dist/components/inputs/code-editor/code-editor.template.js +5 -22
  126. package/dist/components/inputs/code-editor/code-editor.template.js.map +1 -1
  127. package/dist/components/inputs/combo-box/combo-box.d.ts +15 -4
  128. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  129. package/dist/components/inputs/combo-box/combo-box.js +53 -9
  130. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  131. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  132. package/dist/components/inputs/dropdown/dropdown.js +2 -1
  133. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  134. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
  135. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  136. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +6 -5
  137. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  138. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  139. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +8 -11
  140. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  141. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  142. package/dist/components/inputs/number-field/number-field.js +2 -1
  143. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  144. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  145. package/dist/components/inputs/password-field/password-field.js +3 -2
  146. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  147. package/dist/components/inputs/radio-button-group/radio-button-group.js +1 -1
  148. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  149. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  150. package/dist/components/inputs/search-field/search-field.js +2 -1
  151. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  152. package/dist/components/inputs/segmented-control/segmented-control.d.ts +1 -1
  153. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  154. package/dist/components/inputs/segmented-control/segmented-control.js +10 -9
  155. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  156. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  157. package/dist/components/inputs/segmented-control/segmented-control.styles.js +70 -36
  158. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  159. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  160. package/dist/components/inputs/stepper/stepper.js +2 -1
  161. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  162. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  163. package/dist/components/inputs/switch/switch.js +2 -1
  164. package/dist/components/inputs/switch/switch.js.map +1 -1
  165. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +51 -0
  166. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -0
  167. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +148 -0
  168. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -0
  169. package/dist/components/inputs/text-editor/text-editor.annotations.d.ts +47 -0
  170. package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -0
  171. package/dist/components/inputs/text-editor/text-editor.annotations.js +327 -0
  172. package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -0
  173. package/dist/components/inputs/text-editor/text-editor.caret.d.ts +13 -0
  174. package/dist/components/inputs/text-editor/text-editor.caret.d.ts.map +1 -0
  175. package/dist/components/inputs/text-editor/text-editor.caret.js +27 -0
  176. package/dist/components/inputs/text-editor/text-editor.caret.js.map +1 -0
  177. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +61 -0
  178. package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -0
  179. package/dist/components/inputs/text-editor/text-editor.commands.js +376 -0
  180. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -0
  181. package/dist/components/inputs/text-editor/text-editor.d.ts +241 -0
  182. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -0
  183. package/dist/components/inputs/text-editor/text-editor.drag.d.ts +30 -0
  184. package/dist/components/inputs/text-editor/text-editor.drag.d.ts.map +1 -0
  185. package/dist/components/inputs/text-editor/text-editor.drag.js +231 -0
  186. package/dist/components/inputs/text-editor/text-editor.drag.js.map +1 -0
  187. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +8 -0
  188. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -0
  189. package/dist/components/inputs/text-editor/text-editor.i18n.js +13 -0
  190. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -0
  191. package/dist/components/inputs/text-editor/text-editor.js +782 -0
  192. package/dist/components/inputs/text-editor/text-editor.js.map +1 -0
  193. package/dist/components/inputs/text-editor/text-editor.links.d.ts +18 -0
  194. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -0
  195. package/dist/components/inputs/text-editor/text-editor.links.js +147 -0
  196. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -0
  197. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts +20 -0
  198. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -0
  199. package/dist/components/inputs/text-editor/text-editor.markdown.js +372 -0
  200. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -0
  201. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +32 -0
  202. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -0
  203. package/dist/components/inputs/text-editor/text-editor.mentions.js +153 -0
  204. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -0
  205. package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts +12 -0
  206. package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts.map +1 -0
  207. package/dist/components/inputs/text-editor/text-editor.ordered-list.js +85 -0
  208. package/dist/components/inputs/text-editor/text-editor.ordered-list.js.map +1 -0
  209. package/dist/components/inputs/text-editor/text-editor.styles.d.ts +2 -0
  210. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -0
  211. package/dist/components/inputs/text-editor/text-editor.styles.js +592 -0
  212. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -0
  213. package/dist/components/inputs/text-editor/text-editor.template.d.ts +4 -0
  214. package/dist/components/inputs/text-editor/text-editor.template.d.ts.map +1 -0
  215. package/dist/components/inputs/text-editor/text-editor.template.js +7 -0
  216. package/dist/components/inputs/text-editor/text-editor.template.js.map +1 -0
  217. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  218. package/dist/components/inputs/text-field/text-field.js +3 -2
  219. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  220. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  221. package/dist/components/inputs/toggle-button/toggle-button.js +4 -3
  222. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  223. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  224. package/dist/components/inputs/toggle-button/toggle-button.styles.js +14 -10
  225. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  226. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +1 -1
  227. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  228. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +5 -4
  229. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  230. package/dist/components/inputs/token-field/token-field.d.ts +257 -0
  231. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -0
  232. package/dist/components/inputs/token-field/token-field.i18n.d.ts +9 -0
  233. package/dist/components/inputs/token-field/token-field.i18n.d.ts.map +1 -0
  234. package/dist/components/inputs/token-field/token-field.i18n.js +8 -0
  235. package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -0
  236. package/dist/components/inputs/token-field/token-field.js +877 -0
  237. package/dist/components/inputs/token-field/token-field.js.map +1 -0
  238. package/dist/components/inputs/token-field/token-field.styles.d.ts +2 -0
  239. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -0
  240. package/dist/components/inputs/token-field/token-field.styles.js +194 -0
  241. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -0
  242. package/dist/components/inputs/token-field/token-field.template.d.ts +8 -0
  243. package/dist/components/inputs/token-field/token-field.template.d.ts.map +1 -0
  244. package/dist/components/inputs/token-field/token-field.template.js +136 -0
  245. package/dist/components/inputs/token-field/token-field.template.js.map +1 -0
  246. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  247. package/dist/components/layout/app-view/app-view.js +2 -1
  248. package/dist/components/layout/app-view/app-view.js.map +1 -1
  249. package/dist/components/layout/box/box.d.ts.map +1 -1
  250. package/dist/components/layout/box/box.js +2 -1
  251. package/dist/components/layout/box/box.js.map +1 -1
  252. package/dist/components/layout/box/box.styles.d.ts.map +1 -1
  253. package/dist/components/layout/box/box.styles.js +1 -6
  254. package/dist/components/layout/box/box.styles.js.map +1 -1
  255. package/dist/components/layout/collection/collection.d.ts +5 -0
  256. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  257. package/dist/components/layout/collection/collection.js +17 -1
  258. package/dist/components/layout/collection/collection.js.map +1 -1
  259. package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
  260. package/dist/components/layout/collection/collection.styles.js +18 -17
  261. package/dist/components/layout/collection/collection.styles.js.map +1 -1
  262. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  263. package/dist/components/layout/page-footer/page-footer.js +2 -1
  264. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  265. package/dist/components/layout/page-sections/hero/hero.d.ts +7 -23
  266. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  267. package/dist/components/layout/page-sections/hero/hero.js +12 -73
  268. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  269. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  270. package/dist/components/layout/page-sections/hero/hero.styles.js +13 -159
  271. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  272. package/dist/components/layout/popover/popover.d.ts +1 -0
  273. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  274. package/dist/components/layout/popover/popover.js +14 -1
  275. package/dist/components/layout/popover/popover.js.map +1 -1
  276. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  277. package/dist/components/layout/popover/popover.styles.js +11 -0
  278. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  279. package/dist/components/layout/sheet/sheet.d.ts +1 -1
  280. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  281. package/dist/components/layout/sheet/sheet.js +16 -6
  282. package/dist/components/layout/sheet/sheet.js.map +1 -1
  283. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  284. package/dist/components/layout/sheet/sheet.styles.js +60 -83
  285. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  286. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  287. package/dist/components/layout/spacer/spacer.js +2 -1
  288. package/dist/components/layout/spacer/spacer.js.map +1 -1
  289. package/dist/components/layout/spacer/spacer.styles.d.ts.map +1 -1
  290. package/dist/components/layout/spacer/spacer.styles.js +0 -1
  291. package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
  292. package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts.map +1 -1
  293. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +2 -1
  294. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js.map +1 -1
  295. package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +10 -10
  296. package/dist/components/layout/window/window.d.ts.map +1 -1
  297. package/dist/components/layout/window/window.js +11 -2
  298. package/dist/components/layout/window/window.js.map +1 -1
  299. package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
  300. package/dist/components/lists-and-tables/cells/cell/cell.js +4 -3
  301. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  302. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
  303. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +3 -2
  304. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
  305. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
  306. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
  307. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  308. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  309. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +3 -2
  310. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  311. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  312. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +10 -9
  313. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  314. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
  315. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +3 -2
  316. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
  317. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  318. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +9 -8
  319. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  320. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  321. package/dist/components/lists-and-tables/list/list.js +5 -4
  322. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  323. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  324. package/dist/components/lists-and-tables/list/list.styles.js +3 -2
  325. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  326. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  327. package/dist/components/lists-and-tables/list-item/list-item.js +2 -1
  328. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  329. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  330. package/dist/components/lists-and-tables/table/table.js +4 -3
  331. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  332. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  333. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -1
  334. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  335. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  336. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +5 -4
  337. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  338. package/dist/components/navigation/link/link.d.ts.map +1 -1
  339. package/dist/components/navigation/link/link.js +2 -1
  340. package/dist/components/navigation/link/link.js.map +1 -1
  341. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  342. package/dist/components/navigation/menu-bar/menu-bar.js +2 -1
  343. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  344. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  345. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +4 -3
  346. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  347. package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
  348. package/dist/components/navigation/skip-link/skip-link.js +2 -1
  349. package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
  350. package/dist/components/navigation/tab-bar/tab-bar.d.ts +7 -0
  351. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  352. package/dist/components/navigation/tab-bar/tab-bar.js +31 -5
  353. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  354. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  355. package/dist/components/navigation/tab-bar/tab-bar.styles.js +74 -78
  356. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  357. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  358. package/dist/components/navigation/tab-bar/tab-bar.template.js +8 -1
  359. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  360. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  361. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +7 -6
  362. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  363. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  364. package/dist/components/navigation/top-title-bar/top-title-bar.js +5 -4
  365. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  366. package/dist/components/shell-BlsXDxCn.js +222 -0
  367. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  368. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -3
  369. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  370. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  371. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +0 -1
  372. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  373. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  374. package/dist/components/status-and-feedback/badge/badge.js +4 -3
  375. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  376. package/dist/components/status-and-feedback/banner/banner.d.ts +0 -1
  377. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  378. package/dist/components/status-and-feedback/banner/banner.js +13 -13
  379. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  380. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  381. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +5 -4
  382. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  383. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +1 -0
  384. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  385. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +35 -4
  386. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  387. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
  388. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +11 -0
  389. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
  390. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  391. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +4 -3
  392. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  393. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  394. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +9 -8
  395. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  396. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  397. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +0 -6
  398. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  399. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  400. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +8 -7
  401. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  402. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
  403. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +0 -2
  404. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
  405. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  406. package/dist/components/status-and-feedback/status-bar/status-bar.js +3 -2
  407. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  408. package/dist/components/toml-BOuWGMcf.js +76 -0
  409. package/dist/css/fouc.css +30 -0
  410. package/dist/css/global.css +1 -0
  411. package/dist/css/rich-text.css +0 -5
  412. package/dist/css/settings.css +25 -10
  413. package/dist/utilities/codemirror/codemirror-element.d.ts +66 -0
  414. package/dist/utilities/codemirror/codemirror-element.d.ts.map +1 -0
  415. package/dist/utilities/codemirror/codemirror-element.js +121 -0
  416. package/dist/utilities/codemirror/codemirror-element.js.map +1 -0
  417. package/dist/utilities/codemirror/languages.d.ts +4 -0
  418. package/dist/utilities/codemirror/languages.d.ts.map +1 -0
  419. package/dist/utilities/codemirror/languages.js +39 -0
  420. package/dist/utilities/codemirror/languages.js.map +1 -0
  421. package/dist/utilities/codemirror/theme.d.ts +4 -0
  422. package/dist/utilities/codemirror/theme.d.ts.map +1 -0
  423. package/dist/utilities/codemirror/theme.js +84 -0
  424. package/dist/utilities/codemirror/theme.js.map +1 -0
  425. package/dist/utilities/dismiss-from-title-bar.d.ts +19 -0
  426. package/dist/utilities/dismiss-from-title-bar.d.ts.map +1 -0
  427. package/dist/utilities/dismiss-from-title-bar.js +21 -0
  428. package/dist/utilities/dismiss-from-title-bar.js.map +1 -0
  429. package/dist/utilities/reflect-non-default.d.ts +30 -0
  430. package/dist/utilities/reflect-non-default.d.ts.map +1 -0
  431. package/dist/utilities/reflect-non-default.js +34 -0
  432. package/dist/utilities/reflect-non-default.js.map +1 -0
  433. package/package.json +92 -68
  434. package/dist/components/index-BNhqNvDd.js +0 -36784
  435. package/dist/components/inputs/token/token.d.ts +0 -42
  436. package/dist/components/inputs/token/token.d.ts.map +0 -1
  437. package/dist/components/inputs/token/token.js +0 -86
  438. package/dist/components/inputs/token/token.js.map +0 -1
  439. package/dist/components/inputs/token/token.styles.d.ts.map +0 -1
  440. package/dist/components/inputs/token/token.styles.js +0 -142
  441. package/dist/components/inputs/token/token.styles.js.map +0 -1
  442. package/dist/components/inputs/token/token.template.d.ts +0 -4
  443. package/dist/components/inputs/token/token.template.d.ts.map +0 -1
  444. package/dist/components/inputs/token/token.template.js +0 -41
  445. package/dist/components/inputs/token/token.template.js.map +0 -1
  446. package/dist/components/prism-bash-vbqaw3JR.js +0 -226
  447. package/dist/components/prism-css-B93tXdOU.js +0 -59
  448. package/dist/components/prism-gherkin-CMPYyXOQ.js +0 -82
  449. package/dist/components/prism-javascript-DeC_17Pw.js +0 -140
  450. package/dist/components/prism-json-DIMpow89.js +0 -25
  451. package/dist/components/prism-markdown-D-uFBkiz.js +0 -339
  452. package/dist/components/prism-markup-DfJYPYHA.js +0 -177
  453. package/dist/components/prism-python--N285k7w.js +0 -99
  454. package/dist/components/prism-rust-Cnm1tSdo.js +0 -157
  455. package/dist/components/prism-sql-BGqCBMyJ.js +0 -33
  456. package/dist/components/prism-toml-Ubdq-a5x.js +0 -45
  457. package/dist/components/prism-typescript-BPJAiB1s.js +0 -87
  458. package/dist/components/prism-yaml-DO0f9pf6.js +0 -71
  459. /package/dist/components/{inputs → content}/token/token.styles.d.ts +0 -0
@@ -0,0 +1,39 @@
1
+ import { LanguageSupport, StreamLanguage } from '@codemirror/language';
2
+ const loaders = {
3
+ json: async () => (await import('@codemirror/lang-json')).json(),
4
+ yaml: async () => (await import('@codemirror/lang-yaml')).yaml(),
5
+ javascript: async () => (await import('@codemirror/lang-javascript')).javascript(),
6
+ typescript: async () => (await import('@codemirror/lang-javascript')).javascript({ typescript: true }),
7
+ css: async () => (await import('@codemirror/lang-css')).css(),
8
+ html: async () => (await import('@codemirror/lang-html')).html(),
9
+ xml: async () => (await import('@codemirror/lang-xml')).xml(),
10
+ python: async () => (await import('@codemirror/lang-python')).python(),
11
+ rust: async () => (await import('@codemirror/lang-rust')).rust(),
12
+ sql: async () => (await import('@codemirror/lang-sql')).sql(),
13
+ markdown: async () => (await import('@codemirror/lang-markdown')).markdown(),
14
+ // No official lang-* package — wrap the legacy StreamLanguage modes.
15
+ bash: async () => new LanguageSupport(StreamLanguage.define((await import('@codemirror/legacy-modes/mode/shell')).shell)),
16
+ toml: async () => new LanguageSupport(StreamLanguage.define((await import('@codemirror/legacy-modes/mode/toml')).toml)),
17
+ gherkin: async () => new LanguageSupport(StreamLanguage.define((await import('@codemirror/legacy-modes/mode/gherkin')).gherkin)),
18
+ };
19
+ const cache = new Map();
20
+ export function isLanguageSupported(name) {
21
+ return Object.prototype.hasOwnProperty.call(loaders, name);
22
+ }
23
+ export function loadLanguage(name) {
24
+ const loader = loaders[name];
25
+ if (!loader)
26
+ return undefined;
27
+ let pending = cache.get(name);
28
+ if (!pending) {
29
+ // Drop the cache entry on failure so a later attempt can retry
30
+ // (e.g. a transient chunk-load failure on a flaky network).
31
+ pending = loader().catch((err) => {
32
+ cache.delete(name);
33
+ throw err;
34
+ });
35
+ cache.set(name, pending);
36
+ }
37
+ return pending;
38
+ }
39
+ //# sourceMappingURL=languages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"languages.js","sourceRoot":"","sources":["../../../src/utilities/codemirror/languages.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ import type { Extension } from '@codemirror/state';
2
+ /** Theme + syntax highlighting as one extension, shared by all DS editors. */
3
+ export declare const nlddCodeMirrorTheme: Extension;
4
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/utilities/codemirror/theme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAkFnD,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB,EAAE,SAA2D,CAAC"}
@@ -0,0 +1,84 @@
1
+ import { EditorView } from '@codemirror/view';
2
+ import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
3
+ import { tags as t } from '@lezer/highlight';
4
+ /* CodeMirror's generated theme styles mount into the same root as the view
5
+ * (the component's shadow root). CSS custom properties inherit across the
6
+ * shadow boundary, so every var(--…) below resolves against settings.css and
7
+ * adapts to light/dark mode automatically. Background and padding are left to
8
+ * the host component (the box/simple variant owns the framing). */
9
+ const baseTheme = EditorView.theme({
10
+ '&': {
11
+ height: '100%',
12
+ color: 'var(--semantics-content-color)',
13
+ backgroundColor: 'transparent',
14
+ },
15
+ '&.cm-focused': {
16
+ // The focus ring lives on the host (.code-editor:focus-within).
17
+ outline: 'none',
18
+ },
19
+ '.cm-scroller': {
20
+ fontFamily: 'inherit',
21
+ lineHeight: 'inherit',
22
+ overflow: 'auto',
23
+ },
24
+ '.cm-content': {
25
+ padding: '0',
26
+ caretColor: 'var(--semantics-content-color)',
27
+ },
28
+ '.cm-line': {
29
+ padding: '0',
30
+ },
31
+ '.cm-cursor, .cm-dropCursor': {
32
+ borderLeftColor: 'var(--semantics-content-color)',
33
+ },
34
+ '.cm-placeholder': {
35
+ color: 'var(--semantics-input-fields-placeholder-color)',
36
+ },
37
+ // A solid selection colour. accent-150/250 are themselves light-dark; the
38
+ // outer light-dark() picks the lighter step in light mode and the darker step
39
+ // in dark mode (the accent scale inverts), keeping the selection subtle.
40
+ // The focused selector matches CodeMirror's own deep one so our colour wins on
41
+ // equal specificity — otherwise CM's light base theme paints the focused
42
+ // selection lavender, unreadable on a dark surface.
43
+ '&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
44
+ backgroundColor: 'light-dark(var(--primitives-color-accent-150), var(--primitives-color-accent-250))',
45
+ },
46
+ '.cm-gutters': {
47
+ border: 'none',
48
+ backgroundColor: 'transparent',
49
+ color: 'var(--semantics-input-fields-placeholder-color)',
50
+ },
51
+ // Breathing room between the line-number gutter and the code (VS Code-like).
52
+ '.cm-lineNumbers .cm-gutterElement': {
53
+ padding: '0 var(--primitives-space-16) 0 var(--primitives-space-8)',
54
+ },
55
+ '.cm-activeLine, .cm-activeLineGutter': {
56
+ backgroundColor: 'transparent',
57
+ },
58
+ });
59
+ /* Token colors reuse the existing code-viewer palette so the editor and the
60
+ * read-only viewer highlight identically with one source of truth. */
61
+ const highlightStyle = HighlightStyle.define([
62
+ { tag: [t.comment, t.lineComment, t.blockComment, t.docComment], color: 'var(--components-code-viewer-token-comment-color)', fontStyle: 'italic' },
63
+ { tag: [t.keyword, t.modifier, t.controlKeyword, t.operatorKeyword], color: 'var(--components-code-viewer-token-keyword-color)' },
64
+ { tag: [t.string, t.special(t.string), t.character], color: 'var(--components-code-viewer-token-string-color)' },
65
+ { tag: [t.number, t.integer, t.float], color: 'var(--components-code-viewer-token-number-color)' },
66
+ { tag: t.bool, color: 'var(--components-code-viewer-token-boolean-color)' },
67
+ { tag: t.null, color: 'var(--components-code-viewer-token-null-color)' },
68
+ { tag: [t.function(t.variableName), t.function(t.propertyName)], color: 'var(--components-code-viewer-token-function-color)' },
69
+ { tag: [t.className, t.typeName, t.namespace], color: 'var(--components-code-viewer-token-class-color)' },
70
+ { tag: [t.propertyName, t.attributeName], color: 'var(--components-code-viewer-token-property-color)' },
71
+ { tag: [t.punctuation, t.separator, t.bracket], color: 'var(--components-code-viewer-token-punctuation-color)' },
72
+ { tag: t.operator, color: 'var(--components-code-viewer-token-operator-color)' },
73
+ { tag: t.tagName, color: 'var(--components-code-viewer-token-tag-color)' },
74
+ { tag: t.attributeValue, color: 'var(--components-code-viewer-token-attr-value-color)' },
75
+ { tag: t.variableName, color: 'var(--components-code-viewer-token-variable-color)' },
76
+ { tag: [t.constant(t.variableName), t.standard(t.variableName)], color: 'var(--components-code-viewer-token-constant-color)' },
77
+ { tag: t.regexp, color: 'var(--components-code-viewer-token-regex-color)' },
78
+ { tag: t.url, color: 'var(--components-code-viewer-token-url-color)' },
79
+ { tag: t.strong, fontWeight: 'bold' },
80
+ { tag: t.emphasis, fontStyle: 'italic' },
81
+ ]);
82
+ /** Theme + syntax highlighting as one extension, shared by all DS editors. */
83
+ export const nlddCodeMirrorTheme = [baseTheme, syntaxHighlighting(highlightStyle)];
84
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/utilities/codemirror/theme.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * True when a bubbling `dismiss` event originates from an `nldd-top-title-bar`'s
3
+ * close button.
4
+ *
5
+ * Overlay containers (`nldd-sheet`, `nldd-window`) listen for bubbling `dismiss`
6
+ * events to close themselves. But nested components fire their own `dismiss` for
7
+ * their own element — an `nldd-token`'s remove button, an `nldd-banner`, an
8
+ * `nldd-document-tab-bar` — and those must NOT close the container. Only the
9
+ * container's own top-title-bar dismiss should. This shared check keeps that rule
10
+ * identical across every overlay container.
11
+ *
12
+ * Limitation: it matches ANY nldd-top-title-bar in the composed path, not
13
+ * specifically the container's own. That is correct for today's one-title-bar-per
14
+ * -container usage; a nested composition with more than one title bar (a sheet
15
+ * inside a sheet, each with its own) would need the inner container to
16
+ * stopPropagation on its own dismiss so it doesn't also reach the outer one.
17
+ */
18
+ export declare function isDismissFromTitleBar(e: Event): boolean;
19
+ //# sourceMappingURL=dismiss-from-title-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dismiss-from-title-bar.d.ts","sourceRoot":"","sources":["../../src/utilities/dismiss-from-title-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,KAAK,GAAG,OAAO,CAIvD"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * True when a bubbling `dismiss` event originates from an `nldd-top-title-bar`'s
3
+ * close button.
4
+ *
5
+ * Overlay containers (`nldd-sheet`, `nldd-window`) listen for bubbling `dismiss`
6
+ * events to close themselves. But nested components fire their own `dismiss` for
7
+ * their own element — an `nldd-token`'s remove button, an `nldd-banner`, an
8
+ * `nldd-document-tab-bar` — and those must NOT close the container. Only the
9
+ * container's own top-title-bar dismiss should. This shared check keeps that rule
10
+ * identical across every overlay container.
11
+ *
12
+ * Limitation: it matches ANY nldd-top-title-bar in the composed path, not
13
+ * specifically the container's own. That is correct for today's one-title-bar-per
14
+ * -container usage; a nested composition with more than one title bar (a sheet
15
+ * inside a sheet, each with its own) would need the inner container to
16
+ * stopPropagation on its own dismiss so it doesn't also reach the outer one.
17
+ */
18
+ export function isDismissFromTitleBar(e) {
19
+ return e.composedPath().some((t) => t instanceof Element && t.tagName.toLowerCase() === 'nldd-top-title-bar');
20
+ }
21
+ //# sourceMappingURL=dismiss-from-title-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dismiss-from-title-bar.js","sourceRoot":"","sources":["../../src/utilities/dismiss-from-title-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,qBAAqB,CAAC,CAAQ;IAC7C,OAAO,CAAC,CAAC,YAAY,EAAE,CAAC,IAAI,CAC3B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,OAAO,IAAI,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,oBAAoB,CAC/E,CAAC;AACH,CAAC"}
@@ -0,0 +1,30 @@
1
+ import type { ComplexAttributeConverter } from 'lit';
2
+ /**
3
+ * A Lit attribute converter for a reflected enum property whose DEFAULT value
4
+ * should not appear in the DOM.
5
+ *
6
+ * It reflects any non-default value to the attribute (so `:host([prop="x"])`
7
+ * styling and framework property binding keep working), but maps the default to
8
+ * *no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a
9
+ * redundant `prop="<default>"` on every instance.
10
+ *
11
+ * Pair it with `reflect: true`. The component's default styling must then live
12
+ * on the bare `:host` (not `:host([prop="<default>"])`), since a default-valued
13
+ * element carries no attribute to select on.
14
+ *
15
+ * Known edge: if markup writes the default *explicitly* (e.g. `<nldd-button
16
+ * size="md">`), `fromAttribute` resolves the property to the value it already
17
+ * holds, so Lit's default `hasChanged` sees no change, schedules no update, and
18
+ * `toAttribute` never runs to strip the attribute — so that one authored default
19
+ * attribute stays in the DOM. Visual behavior is unaffected (styling keys off the
20
+ * bare `:host`); it only matters to code matching `[prop="<default>"]`, which
21
+ * should read the property instead. Not worth a fragile `hasChanged` workaround.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * @property({ reflect: true, converter: reflectNonDefault<Size>('md') })
26
+ * size: Size = 'md';
27
+ * ```
28
+ */
29
+ export declare function reflectNonDefault<T extends string>(defaultValue: T): ComplexAttributeConverter<T>;
30
+ //# sourceMappingURL=reflect-non-default.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflect-non-default.d.ts","sourceRoot":"","sources":["../../src/utilities/reflect-non-default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,KAAK,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,yBAAyB,CAAC,CAAC,CAAC,CAKjG"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * A Lit attribute converter for a reflected enum property whose DEFAULT value
3
+ * should not appear in the DOM.
4
+ *
5
+ * It reflects any non-default value to the attribute (so `:host([prop="x"])`
6
+ * styling and framework property binding keep working), but maps the default to
7
+ * *no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a
8
+ * redundant `prop="<default>"` on every instance.
9
+ *
10
+ * Pair it with `reflect: true`. The component's default styling must then live
11
+ * on the bare `:host` (not `:host([prop="<default>"])`), since a default-valued
12
+ * element carries no attribute to select on.
13
+ *
14
+ * Known edge: if markup writes the default *explicitly* (e.g. `<nldd-button
15
+ * size="md">`), `fromAttribute` resolves the property to the value it already
16
+ * holds, so Lit's default `hasChanged` sees no change, schedules no update, and
17
+ * `toAttribute` never runs to strip the attribute — so that one authored default
18
+ * attribute stays in the DOM. Visual behavior is unaffected (styling keys off the
19
+ * bare `:host`); it only matters to code matching `[prop="<default>"]`, which
20
+ * should read the property instead. Not worth a fragile `hasChanged` workaround.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * @property({ reflect: true, converter: reflectNonDefault<Size>('md') })
25
+ * size: Size = 'md';
26
+ * ```
27
+ */
28
+ export function reflectNonDefault(defaultValue) {
29
+ return {
30
+ fromAttribute: (value) => (value === null ? defaultValue : value),
31
+ toAttribute: (value) => (value === defaultValue ? null : value),
32
+ };
33
+ }
34
+ //# sourceMappingURL=reflect-non-default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflect-non-default.js","sourceRoot":"","sources":["../../src/utilities/reflect-non-default.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,UAAU,iBAAiB,CAAmB,YAAe;IAClE,OAAO;QACN,aAAa,EAAE,CAAC,KAAoB,EAAK,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAE,KAAW,CAAC;QAC1F,WAAW,EAAE,CAAC,KAAQ,EAAiB,EAAE,CAAC,CAAC,KAAK,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;KACjF,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nldd/design-system",
3
- "version": "0.8.64",
3
+ "version": "0.8.65",
4
4
  "description": "Design System voor Nederlandse Digitale Dienst",
5
5
  "type": "module",
6
6
  "main": "dist/components/components.js",
@@ -35,6 +35,18 @@
35
35
  "types": "./dist/components/actions/menu/menu.d.ts",
36
36
  "default": "./dist/components/actions/menu/menu.js"
37
37
  },
38
+ "./blockquote": {
39
+ "types": "./dist/components/content/blockquote/blockquote.d.ts",
40
+ "default": "./dist/components/content/blockquote/blockquote.js"
41
+ },
42
+ "./byline": {
43
+ "types": "./dist/components/content/byline/byline.d.ts",
44
+ "default": "./dist/components/content/byline/byline.js"
45
+ },
46
+ "./code-viewer": {
47
+ "types": "./dist/components/content/code-viewer/code-viewer.d.ts",
48
+ "default": "./dist/components/content/code-viewer/code-viewer.js"
49
+ },
38
50
  "./icon": {
39
51
  "types": "./dist/components/content/icon/icon.d.ts",
40
52
  "default": "./dist/components/content/icon/icon.js"
@@ -43,38 +55,30 @@
43
55
  "types": "./dist/components/content/image/image.d.ts",
44
56
  "default": "./dist/components/content/image/image.js"
45
57
  },
58
+ "./keyboard-shortcut": {
59
+ "types": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts",
60
+ "default": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.js"
61
+ },
46
62
  "./rich-text": {
47
63
  "types": "./dist/components/content/rich-text/rich-text.d.ts",
48
64
  "default": "./dist/components/content/rich-text/rich-text.js"
49
65
  },
66
+ "./tag": {
67
+ "types": "./dist/components/content/tag/tag.d.ts",
68
+ "default": "./dist/components/content/tag/tag.js"
69
+ },
50
70
  "./title": {
51
71
  "types": "./dist/components/content/title/title.d.ts",
52
72
  "default": "./dist/components/content/title/title.js"
53
73
  },
74
+ "./token": {
75
+ "types": "./dist/components/content/token/token.d.ts",
76
+ "default": "./dist/components/content/token/token.js"
77
+ },
54
78
  "./tooltip": {
55
79
  "types": "./dist/components/content/tooltip/tooltip.d.ts",
56
80
  "default": "./dist/components/content/tooltip/tooltip.js"
57
81
  },
58
- "./blockquote": {
59
- "types": "./dist/components/content/blockquote/blockquote.d.ts",
60
- "default": "./dist/components/content/blockquote/blockquote.js"
61
- },
62
- "./tag": {
63
- "types": "./dist/components/content/tag/tag.d.ts",
64
- "default": "./dist/components/content/tag/tag.js"
65
- },
66
- "./keyboard-shortcut": {
67
- "types": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts",
68
- "default": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.js"
69
- },
70
- "./code-viewer": {
71
- "types": "./dist/components/content/code-viewer/code-viewer.d.ts",
72
- "default": "./dist/components/content/code-viewer/code-viewer.js"
73
- },
74
- "./byline": {
75
- "types": "./dist/components/content/byline/byline.d.ts",
76
- "default": "./dist/components/content/byline/byline.js"
77
- },
78
82
  "./form": {
79
83
  "types": "./dist/components/forms/form/form.d.ts",
80
84
  "default": "./dist/components/forms/form/form.js"
@@ -91,49 +95,37 @@
91
95
  "types": "./dist/components/forms/form-section/form-section.d.ts",
92
96
  "default": "./dist/components/forms/form-section/form-section.js"
93
97
  },
94
- "./text-field": {
95
- "types": "./dist/components/inputs/text-field/text-field.d.ts",
96
- "default": "./dist/components/inputs/text-field/text-field.js"
98
+ "./checkbox": {
99
+ "types": "./dist/components/inputs/checkbox/checkbox.d.ts",
100
+ "default": "./dist/components/inputs/checkbox/checkbox.js"
97
101
  },
98
- "./multi-line-text-field": {
99
- "types": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts",
100
- "default": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.js"
102
+ "./checkbox-field": {
103
+ "types": "./dist/components/inputs/checkbox-field/checkbox-field.d.ts",
104
+ "default": "./dist/components/inputs/checkbox-field/checkbox-field.js"
101
105
  },
102
106
  "./code-editor": {
103
107
  "types": "./dist/components/inputs/code-editor/code-editor.d.ts",
104
108
  "default": "./dist/components/inputs/code-editor/code-editor.js"
105
109
  },
106
- "./password-field": {
107
- "types": "./dist/components/inputs/password-field/password-field.d.ts",
108
- "default": "./dist/components/inputs/password-field/password-field.js"
109
- },
110
- "./search-field": {
111
- "types": "./dist/components/inputs/search-field/search-field.d.ts",
112
- "default": "./dist/components/inputs/search-field/search-field.js"
113
- },
114
- "./number-field": {
115
- "types": "./dist/components/inputs/number-field/number-field.d.ts",
116
- "default": "./dist/components/inputs/number-field/number-field.js"
110
+ "./combo-box": {
111
+ "types": "./dist/components/inputs/combo-box/combo-box.d.ts",
112
+ "default": "./dist/components/inputs/combo-box/combo-box.js"
117
113
  },
118
114
  "./dropdown": {
119
115
  "types": "./dist/components/inputs/dropdown/dropdown.d.ts",
120
116
  "default": "./dist/components/inputs/dropdown/dropdown.js"
121
117
  },
122
- "./combo-box": {
123
- "types": "./dist/components/inputs/combo-box/combo-box.d.ts",
124
- "default": "./dist/components/inputs/combo-box/combo-box.js"
125
- },
126
- "./stepper": {
127
- "types": "./dist/components/inputs/stepper/stepper.d.ts",
128
- "default": "./dist/components/inputs/stepper/stepper.js"
118
+ "./multi-line-text-field": {
119
+ "types": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts",
120
+ "default": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.js"
129
121
  },
130
- "./checkbox": {
131
- "types": "./dist/components/inputs/checkbox/checkbox.d.ts",
132
- "default": "./dist/components/inputs/checkbox/checkbox.js"
122
+ "./number-field": {
123
+ "types": "./dist/components/inputs/number-field/number-field.d.ts",
124
+ "default": "./dist/components/inputs/number-field/number-field.js"
133
125
  },
134
- "./checkbox-field": {
135
- "types": "./dist/components/inputs/checkbox-field/checkbox-field.d.ts",
136
- "default": "./dist/components/inputs/checkbox-field/checkbox-field.js"
126
+ "./password-field": {
127
+ "types": "./dist/components/inputs/password-field/password-field.d.ts",
128
+ "default": "./dist/components/inputs/password-field/password-field.js"
137
129
  },
138
130
  "./radio-button": {
139
131
  "types": "./dist/components/inputs/radio-button/radio-button.d.ts",
@@ -147,6 +139,18 @@
147
139
  "types": "./dist/components/inputs/radio-button-group/radio-button-group.d.ts",
148
140
  "default": "./dist/components/inputs/radio-button-group/radio-button-group.js"
149
141
  },
142
+ "./search-field": {
143
+ "types": "./dist/components/inputs/search-field/search-field.d.ts",
144
+ "default": "./dist/components/inputs/search-field/search-field.js"
145
+ },
146
+ "./segmented-control": {
147
+ "types": "./dist/components/inputs/segmented-control/segmented-control.d.ts",
148
+ "default": "./dist/components/inputs/segmented-control/segmented-control.js"
149
+ },
150
+ "./stepper": {
151
+ "types": "./dist/components/inputs/stepper/stepper.d.ts",
152
+ "default": "./dist/components/inputs/stepper/stepper.js"
153
+ },
150
154
  "./switch": {
151
155
  "types": "./dist/components/inputs/switch/switch.d.ts",
152
156
  "default": "./dist/components/inputs/switch/switch.js"
@@ -155,9 +159,13 @@
155
159
  "types": "./dist/components/inputs/switch-field/switch-field.d.ts",
156
160
  "default": "./dist/components/inputs/switch-field/switch-field.js"
157
161
  },
158
- "./segmented-control": {
159
- "types": "./dist/components/inputs/segmented-control/segmented-control.d.ts",
160
- "default": "./dist/components/inputs/segmented-control/segmented-control.js"
162
+ "./text-editor": {
163
+ "types": "./dist/components/inputs/text-editor/text-editor.d.ts",
164
+ "default": "./dist/components/inputs/text-editor/text-editor.js"
165
+ },
166
+ "./text-field": {
167
+ "types": "./dist/components/inputs/text-field/text-field.d.ts",
168
+ "default": "./dist/components/inputs/text-field/text-field.js"
161
169
  },
162
170
  "./toggle-button": {
163
171
  "types": "./dist/components/inputs/toggle-button/toggle-button.d.ts",
@@ -167,9 +175,9 @@
167
175
  "types": "./dist/components/inputs/toggle-button-group/toggle-button-group.d.ts",
168
176
  "default": "./dist/components/inputs/toggle-button-group/toggle-button-group.js"
169
177
  },
170
- "./token": {
171
- "types": "./dist/components/inputs/token/token.d.ts",
172
- "default": "./dist/components/inputs/token/token.js"
178
+ "./token-field": {
179
+ "types": "./dist/components/inputs/token-field/token-field.d.ts",
180
+ "default": "./dist/components/inputs/token-field/token-field.js"
173
181
  },
174
182
  "./app-view": {
175
183
  "types": "./dist/components/layout/app-view/app-view.d.ts",
@@ -389,6 +397,7 @@
389
397
  },
390
398
  "./styles": "./dist/css/global.css",
391
399
  "./styles/tokens": "./dist/css/settings.css",
400
+ "./styles/fouc": "./dist/css/fouc.css",
392
401
  "./tokens": {
393
402
  "types": "./dist/assets/styles/tokens.d.ts",
394
403
  "default": "./dist/assets/styles/tokens.js"
@@ -407,7 +416,7 @@
407
416
  },
408
417
  "scripts": {
409
418
  "build": "npm run build:styles && npm run validate:styles && npm run build:components",
410
- "build:styles": "mkdir -p dist/css dist/fonts && cp src/assets/styles/settings.css dist/css/settings.css && cp src/assets/styles/reset.css dist/css/reset.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 \"./reset.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/",
419
+ "build:styles": "mkdir -p dist/css dist/fonts && cp src/assets/styles/settings.css dist/css/settings.css && cp src/assets/styles/reset.css dist/css/reset.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 && cp src/assets/styles/fouc.css dist/css/fouc.css && printf '@import \"./settings.css\";\\n@import \"./reset.css\";\\n@import \"./rich-text.css\";\\n@import \"./form-section.css\";\\n@import \"./form.css\";\\n@import \"./fouc.css\";\\n' > dist/css/global.css && cp src/assets/fonts/*.woff2 dist/fonts/",
411
420
  "generate:palettes": "node scripts/generate-palettes.js",
412
421
  "generate:component-reference": "node scripts/generate-component-reference.js",
413
422
  "generate:skill-changelog": "node scripts/generate-skill-changelog.js",
@@ -449,22 +458,21 @@
449
458
  "@semantic-release/changelog": "^6.0.3",
450
459
  "@semantic-release/exec": "^7.1.0",
451
460
  "@semantic-release/git": "^10.0.1",
452
- "@storybook/addon-a11y": "^10.4.0",
453
- "@storybook/addon-docs": "^10.4.0",
454
- "@storybook/addon-themes": "^10.4.0",
455
- "@storybook/addon-vitest": "^10.4.0",
456
- "@storybook/web-components-vite": "^10.4.0",
457
- "@types/prismjs": "^1.26.6",
461
+ "@storybook/addon-a11y": "^10.4.6",
462
+ "@storybook/addon-docs": "^10.4.6",
463
+ "@storybook/addon-themes": "^10.4.6",
464
+ "@storybook/addon-vitest": "^10.4.6",
465
+ "@storybook/web-components-vite": "^10.4.6",
458
466
  "@vitest/browser-playwright": "^4.0.16",
459
467
  "@vitest/coverage-v8": "^4.0.16",
460
468
  "conventional-changelog": "^7.2.0",
461
469
  "eslint": "^9.17.0",
462
470
  "eslint-plugin-lit-a11y": "^5.1.1",
463
- "eslint-plugin-storybook": "^10.4.0",
471
+ "eslint-plugin-storybook": "^10.4.6",
464
472
  "globals": "^15.14.0",
465
473
  "playwright": "^1.57.0",
466
474
  "semantic-release": "^25.0.2",
467
- "storybook": "^10.4.0",
475
+ "storybook": "^10.4.6",
468
476
  "typescript": "^5.3.0",
469
477
  "typescript-eslint": "^8.58.0",
470
478
  "vite": "^7.3.1",
@@ -481,9 +489,25 @@
481
489
  ],
482
490
  "license": "EUPL-1.2",
483
491
  "dependencies": {
492
+ "@codemirror/autocomplete": "^6.20.3",
493
+ "@codemirror/commands": "^6.10.4",
494
+ "@codemirror/lang-css": "^6.3.1",
495
+ "@codemirror/lang-html": "^6.4.11",
496
+ "@codemirror/lang-javascript": "^6.2.5",
497
+ "@codemirror/lang-json": "^6.0.2",
498
+ "@codemirror/lang-markdown": "^6.5.0",
499
+ "@codemirror/lang-python": "^6.2.1",
500
+ "@codemirror/lang-rust": "^6.0.2",
501
+ "@codemirror/lang-sql": "^6.10.0",
502
+ "@codemirror/lang-xml": "^6.1.0",
503
+ "@codemirror/lang-yaml": "^6.1.3",
504
+ "@codemirror/language": "^6.12.4",
505
+ "@codemirror/legacy-modes": "^6.5.3",
506
+ "@codemirror/state": "^6.7.0",
507
+ "@codemirror/view": "^6.43.4",
484
508
  "@floating-ui/dom": "^1.7.6",
509
+ "@lezer/highlight": "^1.2.3",
485
510
  "@rijkshuisstijl-community/font": "^1.1.2",
486
- "lit": "^3.3.1",
487
- "prismjs": "^1.30.0"
511
+ "lit": "^3.3.1"
488
512
  }
489
513
  }