@nldd/design-system 0.8.95 → 0.8.97

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 (468) hide show
  1. package/README.md +20 -19
  2. package/custom-elements.json +781 -379
  3. package/dist/assets/styles/shadow-resets.d.ts +1 -1
  4. package/dist/assets/styles/shadow-resets.js +1 -1
  5. package/dist/components/actions/button/button.js +3 -3
  6. package/dist/components/actions/button/button.js.map +1 -1
  7. package/dist/components/actions/button/button.styles.js +273 -273
  8. package/dist/components/actions/button-bar/button-bar.styles.js +34 -34
  9. package/dist/components/actions/button-group/button-group.styles.js +11 -11
  10. package/dist/components/actions/icon-button/icon-button.js +3 -3
  11. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  12. package/dist/components/actions/icon-button/icon-button.styles.js +203 -203
  13. package/dist/components/actions/menu/menu.d.ts +3 -3
  14. package/dist/components/actions/menu/menu.js +15 -15
  15. package/dist/components/actions/menu/menu.js.map +1 -1
  16. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  17. package/dist/components/actions/menu/menu.styles.js +46 -41
  18. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  19. package/dist/components/actions/split-button/split-button.js +3 -3
  20. package/dist/components/actions/split-button/split-button.js.map +1 -1
  21. package/dist/components/actions/split-button/split-button.styles.js +30 -30
  22. package/dist/components/actions/toolbar/toolbar.d.ts +5 -0
  23. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  24. package/dist/components/actions/toolbar/toolbar.js +28 -18
  25. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  26. package/dist/components/actions/toolbar/toolbar.styles.js +55 -55
  27. package/dist/components/components.js +4682 -4158
  28. package/dist/components/content/avatar/avatar.d.ts +1 -1
  29. package/dist/components/content/avatar/avatar.js +3 -3
  30. package/dist/components/content/avatar/avatar.js.map +1 -1
  31. package/dist/components/content/avatar/avatar.styles.js +39 -39
  32. package/dist/components/content/avatar-group/avatar-group.styles.js +36 -36
  33. package/dist/components/content/blockquote/blockquote.styles.js +14 -14
  34. package/dist/components/content/code-viewer/code-viewer.js +1 -1
  35. package/dist/components/content/code-viewer/code-viewer.styles.js +36 -36
  36. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  37. package/dist/components/content/icon/icon-aliases.js +17 -1
  38. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  39. package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
  40. package/dist/components/content/icon/icon-gallery-status.js +25 -42
  41. package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
  42. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  43. package/dist/components/content/icon/icon-registry.js +24 -12
  44. package/dist/components/content/icon/icon-registry.js.map +1 -1
  45. package/dist/components/content/icon/icon.js +2 -2
  46. package/dist/components/content/icon/icon.js.map +1 -1
  47. package/dist/components/content/icon/icon.styles.js +48 -48
  48. package/dist/components/content/identity/identity.styles.js +17 -17
  49. package/dist/components/content/image/image.d.ts +19 -3
  50. package/dist/components/content/image/image.d.ts.map +1 -1
  51. package/dist/components/content/image/image.js +28 -7
  52. package/dist/components/content/image/image.js.map +1 -1
  53. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  54. package/dist/components/content/image/image.styles.js +189 -153
  55. package/dist/components/content/image/image.styles.js.map +1 -1
  56. package/dist/components/content/image/image.template.d.ts.map +1 -1
  57. package/dist/components/content/image/image.template.js +13 -1
  58. package/dist/components/content/image/image.template.js.map +1 -1
  59. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  60. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +42 -40
  61. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  62. package/dist/components/content/rich-text/rich-text.d.ts +25 -12
  63. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  64. package/dist/components/content/rich-text/rich-text.js +25 -12
  65. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  66. package/dist/components/content/tag/tag.styles.js +95 -95
  67. package/dist/components/content/text/text.styles.js +23 -23
  68. package/dist/components/content/title/title.styles.js +38 -38
  69. package/dist/components/content/token/token.styles.js +4 -4
  70. package/dist/components/content/tooltip/tooltip.js +5 -5
  71. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  72. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  73. package/dist/components/content/tooltip/tooltip.styles.js +21 -18
  74. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  75. package/dist/components/forms/form-field/form-field.styles.js +5 -5
  76. package/dist/components/forms/validation-list/validation-list.styles.js +7 -7
  77. package/dist/components/{icon-Typdp4av.js → icon-D_ZGezHx.js} +83 -63
  78. package/dist/components/{icon-button-9mo3oIyL.js → icon-button-NN0SrgS3.js} +278 -275
  79. package/dist/components/index.d.ts +3 -3
  80. package/dist/components/index.d.ts.map +1 -1
  81. package/dist/components/index.js +3 -3
  82. package/dist/components/index.js.map +1 -1
  83. package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
  84. package/dist/components/inputs/checkbox/checkbox.styles.js +31 -16
  85. package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
  86. package/dist/components/inputs/code-editor/code-editor.js +2 -2
  87. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  88. package/dist/components/inputs/code-editor/code-editor.styles.js +30 -30
  89. package/dist/components/inputs/combo-box/combo-box.js +2 -2
  90. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  91. package/dist/components/inputs/combo-box/combo-box.styles.js +30 -30
  92. package/dist/components/inputs/date-field/date-field.js +4 -4
  93. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  94. package/dist/components/inputs/date-field/date-field.styles.js +46 -46
  95. package/dist/components/inputs/date-picker/date-picker.js +3 -3
  96. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  97. package/dist/components/inputs/date-picker/date-picker.styles.js +65 -65
  98. package/dist/components/inputs/dropdown/dropdown.js +2 -2
  99. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  100. package/dist/components/inputs/dropdown/dropdown.styles.js +66 -66
  101. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  102. package/dist/components/inputs/file-field/file-field.styles.js +33 -30
  103. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  104. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +3 -3
  105. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  106. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +30 -30
  107. package/dist/components/inputs/number-field/number-field.js +3 -3
  108. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  109. package/dist/components/inputs/number-field/number-field.styles.js +18 -18
  110. package/dist/components/inputs/password-field/password-field.js +2 -2
  111. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  112. package/dist/components/inputs/password-field/password-field.styles.js +37 -37
  113. package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
  114. package/dist/components/inputs/radio-button/radio-button.styles.js +29 -13
  115. package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
  116. package/dist/components/inputs/search-field/search-field.js +2 -2
  117. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  118. package/dist/components/inputs/search-field/search-field.styles.js +30 -30
  119. package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
  120. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  121. package/dist/components/inputs/segmented-control/segmented-control.styles.js +108 -108
  122. package/dist/components/inputs/stepper/stepper.styles.js +10 -10
  123. package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
  124. package/dist/components/inputs/switch/switch.styles.js +39 -31
  125. package/dist/components/inputs/switch/switch.styles.js.map +1 -1
  126. package/dist/components/inputs/text-editor/text-editor.js +2 -2
  127. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  128. package/dist/components/inputs/text-editor/text-editor.markdown.js +2 -2
  129. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  130. package/dist/components/inputs/text-editor/text-editor.mentions.js +7 -7
  131. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  132. package/dist/components/inputs/text-editor/text-editor.styles.js +138 -138
  133. package/dist/components/inputs/text-field/text-field.js +2 -2
  134. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  135. package/dist/components/inputs/text-field/text-field.styles.js +27 -27
  136. package/dist/components/inputs/time-field/time-field.js +4 -4
  137. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  138. package/dist/components/inputs/time-field/time-field.styles.js +40 -40
  139. package/dist/components/inputs/time-picker/time-picker.js +4 -4
  140. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  141. package/dist/components/inputs/time-picker/time-picker.styles.js +30 -30
  142. package/dist/components/inputs/toggle-button/toggle-button.d.ts +1 -1
  143. package/dist/components/inputs/toggle-button/toggle-button.js +1 -1
  144. package/dist/components/inputs/toggle-button/toggle-button.styles.js +145 -145
  145. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
  146. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +7 -3
  147. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js.map +1 -1
  148. package/dist/components/inputs/token-field/token-field.styles.js +28 -28
  149. package/dist/components/layout/box/box.d.ts +1 -1
  150. package/dist/components/layout/box/box.js +1 -1
  151. package/dist/components/layout/box/box.styles.js +13 -13
  152. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  153. package/dist/components/layout/card/card.styles.js +24 -21
  154. package/dist/components/layout/card/card.styles.js.map +1 -1
  155. package/dist/components/layout/collection/collection.js +6 -6
  156. package/dist/components/layout/collection/collection.js.map +1 -1
  157. package/dist/components/layout/collection/collection.styles.js +19 -19
  158. package/dist/components/layout/container/container.d.ts +2 -2
  159. package/dist/components/layout/container/container.d.ts.map +1 -1
  160. package/dist/components/layout/container/container.js +32 -31
  161. package/dist/components/layout/container/container.js.map +1 -1
  162. package/dist/components/layout/container/container.styles.js +125 -125
  163. package/dist/components/layout/page/page.d.ts +9 -3
  164. package/dist/components/layout/page/page.d.ts.map +1 -1
  165. package/dist/components/layout/page/page.js +41 -18
  166. package/dist/components/layout/page/page.js.map +1 -1
  167. package/dist/components/layout/page/page.styles.js +21 -21
  168. package/dist/components/layout/page-footer/page-footer.js +4 -4
  169. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  170. package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
  171. package/dist/components/layout/page-footer/page-footer.styles.js +26 -26
  172. package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
  173. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +2 -0
  174. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  175. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +6 -4
  176. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  177. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  178. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +22 -17
  179. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  180. package/dist/components/layout/page-sections/hero/hero.d.ts +57 -11
  181. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  182. package/dist/components/layout/page-sections/hero/hero.js +164 -21
  183. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  184. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  185. package/dist/components/layout/page-sections/hero/hero.styles.js +159 -105
  186. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  187. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -0
  188. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  189. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +11 -4
  190. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  191. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  192. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +30 -17
  193. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  194. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -0
  195. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  196. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +11 -4
  197. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  198. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  199. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +34 -17
  200. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  201. package/dist/components/layout/page-sections/page-section-controls.d.ts +11 -1
  202. package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
  203. package/dist/components/layout/page-sections/page-section-controls.js +11 -2
  204. package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
  205. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +5 -1
  206. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  207. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +11 -7
  208. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  209. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
  210. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +37 -34
  211. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
  212. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +2 -0
  213. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  214. package/dist/components/layout/page-sections/simple-section/simple-section.js +6 -5
  215. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  216. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +19 -19
  217. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
  218. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  219. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +11 -4
  220. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  221. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  222. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +34 -17
  223. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  224. package/dist/components/layout/popover/popover.d.ts +1 -1
  225. package/dist/components/layout/popover/popover.js +5 -5
  226. package/dist/components/layout/popover/popover.js.map +1 -1
  227. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  228. package/dist/components/layout/popover/popover.styles.js +4 -3
  229. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  230. package/dist/components/layout/sheet/sheet.js +5 -5
  231. package/dist/components/layout/sheet/sheet.js.map +1 -1
  232. package/dist/components/layout/sheet/sheet.styles.js +8 -8
  233. package/dist/components/layout/{app-view/app-view.d.ts → shell/shell.d.ts} +11 -11
  234. package/dist/components/layout/shell/shell.d.ts.map +1 -0
  235. package/dist/components/layout/{app-view/app-view.js → shell/shell.js} +24 -24
  236. package/dist/components/layout/shell/shell.js.map +1 -0
  237. package/dist/components/layout/shell/shell.styles.d.ts +2 -0
  238. package/dist/components/layout/shell/shell.styles.d.ts.map +1 -0
  239. package/dist/components/layout/{app-view/app-view.styles.js → shell/shell.styles.js} +8 -8
  240. package/dist/components/layout/shell/shell.styles.js.map +1 -0
  241. package/dist/components/layout/shell/shell.template.d.ts +4 -0
  242. package/dist/components/layout/shell/shell.template.d.ts.map +1 -0
  243. package/dist/components/layout/shell/shell.template.js +9 -0
  244. package/dist/components/layout/shell/shell.template.js.map +1 -0
  245. package/dist/components/layout/spacer/spacer.styles.js +76 -76
  246. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
  247. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  248. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -5
  249. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +1 -1
  250. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +5 -5
  251. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  252. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +12 -12
  253. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +1 -1
  254. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +2 -2
  255. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  256. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
  257. package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
  258. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +4 -4
  259. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +1 -1
  260. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  261. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +6 -6
  262. package/dist/components/layout/window/window.d.ts +1 -1
  263. package/dist/components/layout/window/window.js +1 -1
  264. package/dist/components/layout/window/window.styles.d.ts.map +1 -1
  265. package/dist/components/layout/window/window.styles.js +3 -1
  266. package/dist/components/layout/window/window.styles.js.map +1 -1
  267. package/dist/components/lists-and-tables/cells/cell/cell.js +8 -8
  268. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  269. package/dist/components/lists-and-tables/cells/cell/cell.styles.js +9 -9
  270. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +8 -8
  271. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
  272. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +10 -10
  273. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
  274. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +14 -14
  275. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js +20 -20
  276. package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.d.ts → step-cell/step-cell.d.ts} +18 -17
  277. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -0
  278. package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.js → step-cell/step-cell.js} +33 -32
  279. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -0
  280. package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts +2 -0
  281. package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -0
  282. package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +184 -0
  283. package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -0
  284. package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts +4 -0
  285. package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts.map +1 -0
  286. package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.template.js → step-cell/step-cell.template.js} +10 -10
  287. package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.js.map +1 -0
  288. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +9 -9
  289. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  290. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  291. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +39 -37
  292. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  293. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +8 -8
  294. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  295. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  296. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +39 -37
  297. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  298. package/dist/components/lists-and-tables/list/list.js +7 -7
  299. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  300. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  301. package/dist/components/lists-and-tables/list/list.styles.js +49 -48
  302. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  303. package/dist/components/lists-and-tables/list-item/list-item.d.ts +16 -6
  304. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  305. package/dist/components/lists-and-tables/list-item/list-item.js +29 -16
  306. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  307. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  308. package/dist/components/lists-and-tables/list-item/list-item.styles.js +69 -67
  309. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  310. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +4 -1
  311. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  312. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +8 -2
  313. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  314. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +30 -30
  315. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
  316. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
  317. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +1 -1
  318. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
  319. package/dist/components/lists-and-tables/table/table.js +2 -2
  320. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  321. package/dist/components/lists-and-tables/table/table.styles.js +21 -21
  322. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +3 -3
  323. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
  324. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +1 -1
  325. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +12 -12
  326. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  327. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
  328. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +51 -49
  329. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
  330. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +5 -0
  331. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  332. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +13 -1
  333. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  334. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  335. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +35 -19
  336. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  337. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
  338. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +11 -10
  339. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
  340. package/dist/components/navigation/pagination/pagination.styles.js +29 -29
  341. package/dist/components/navigation/skip-link/skip-link.styles.js +8 -8
  342. package/dist/components/navigation/tab-bar/tab-bar.styles.js +53 -53
  343. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -3
  344. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  345. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  346. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +35 -32
  347. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  348. package/dist/components/navigation/top-title-bar/top-title-bar.js +1 -1
  349. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  350. package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
  351. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +3 -1
  352. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
  353. package/dist/components/{shadow-resets-aG-rgyNQ.js → shadow-resets-CPa58rmc.js} +1 -1
  354. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +46 -46
  355. package/dist/components/status-and-feedback/badge/badge.js +2 -2
  356. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  357. package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
  358. package/dist/components/status-and-feedback/badge/badge.styles.js +120 -119
  359. package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
  360. package/dist/components/status-and-feedback/banner/banner.styles.js +49 -49
  361. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +19 -19
  362. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +12 -12
  363. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  364. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +58 -58
  365. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +6 -6
  366. package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
  367. package/dist/components/status-and-feedback/notification/notification.styles.js +45 -39
  368. package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
  369. package/dist/components/status-and-feedback/notification/notifications-area.js +2 -2
  370. package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
  371. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  372. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +121 -119
  373. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  374. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +58 -58
  375. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +1 -1
  376. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  377. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +10 -0
  378. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  379. package/dist/components/status-and-feedback/status-bar/status-bar.js +21 -0
  380. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  381. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +36 -36
  382. package/dist/components/status-and-feedback/{step-indicator/step-indicator.d.ts → step-bar/step-bar.d.ts} +32 -32
  383. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -0
  384. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +9 -0
  385. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -0
  386. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +8 -0
  387. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -0
  388. package/dist/components/status-and-feedback/{step-indicator/step-indicator.js → step-bar/step-bar.js} +46 -46
  389. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -0
  390. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts +3 -0
  391. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -0
  392. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +294 -0
  393. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -0
  394. package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts +5 -0
  395. package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -0
  396. package/dist/components/status-and-feedback/step-bar/step-bar.template.js +69 -0
  397. package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -0
  398. package/dist/css/document-reset.css +3 -3
  399. package/dist/css/rich-text.css +71 -122
  400. package/dist/css/variables.css +54 -410
  401. package/dist/nldd.min.js +4607 -4331
  402. package/dist/translations/en-US.js +5 -5
  403. package/dist/translations/en-US.js.map +1 -1
  404. package/dist/translations/fy.js +5 -5
  405. package/dist/translations/fy.js.map +1 -1
  406. package/dist/translations/nl.generated.d.ts +5 -5
  407. package/dist/translations/nl.generated.js +2 -2
  408. package/dist/translations/nl.generated.js.map +1 -1
  409. package/dist/translations/pap-AW.js +5 -5
  410. package/dist/translations/pap-AW.js.map +1 -1
  411. package/dist/translations/pap-CW.js +5 -5
  412. package/dist/translations/pap-CW.js.map +1 -1
  413. package/dist/types/vue.d.ts +125 -82
  414. package/dist/utilities/codemirror/theme.js +17 -17
  415. package/dist/utilities/codemirror/theme.js.map +1 -1
  416. package/dist/utilities/page-section-mixin.d.ts +5 -0
  417. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  418. package/dist/utilities/page-section-mixin.js +13 -4
  419. package/dist/utilities/page-section-mixin.js.map +1 -1
  420. package/dist/utilities/scroll-mode-controller.d.ts +29 -13
  421. package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
  422. package/dist/utilities/scroll-mode-controller.js +48 -13
  423. package/dist/utilities/scroll-mode-controller.js.map +1 -1
  424. package/dist/utilities/spacing-scale.d.ts +1 -1
  425. package/dist/utilities/spacing-scale.js +1 -1
  426. package/package.json +13 -11
  427. package/dist/components/layout/app-view/app-view.d.ts.map +0 -1
  428. package/dist/components/layout/app-view/app-view.js.map +0 -1
  429. package/dist/components/layout/app-view/app-view.styles.d.ts +0 -2
  430. package/dist/components/layout/app-view/app-view.styles.d.ts.map +0 -1
  431. package/dist/components/layout/app-view/app-view.styles.js.map +0 -1
  432. package/dist/components/layout/app-view/app-view.template.d.ts +0 -4
  433. package/dist/components/layout/app-view/app-view.template.d.ts.map +0 -1
  434. package/dist/components/layout/app-view/app-view.template.js +0 -9
  435. package/dist/components/layout/app-view/app-view.template.js.map +0 -1
  436. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +0 -1
  437. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +0 -1
  438. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts +0 -2
  439. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +0 -1
  440. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +0 -184
  441. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +0 -1
  442. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts +0 -4
  443. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +0 -1
  444. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +0 -1
  445. package/dist/components/palettes.html +0 -245
  446. package/dist/components/sample-images/butterfly-1200.jpg +0 -0
  447. package/dist/components/sample-images/butterfly-1600.jpg +0 -0
  448. package/dist/components/sample-images/butterfly-480.jpg +0 -0
  449. package/dist/components/sample-images/butterfly-960.jpg +0 -0
  450. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +0 -1
  451. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts +0 -9
  452. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts.map +0 -1
  453. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js +0 -8
  454. package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js.map +0 -1
  455. package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +0 -1
  456. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts +0 -3
  457. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts.map +0 -1
  458. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js +0 -294
  459. package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js.map +0 -1
  460. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts +0 -5
  461. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts.map +0 -1
  462. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +0 -69
  463. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js.map +0 -1
  464. package/dist/palettes.html +0 -245
  465. package/dist/sample-images/butterfly-1200.jpg +0 -0
  466. package/dist/sample-images/butterfly-1600.jpg +0 -0
  467. package/dist/sample-images/butterfly-480.jpg +0 -0
  468. package/dist/sample-images/butterfly-960.jpg +0 -0
@@ -9,19 +9,19 @@ export const descriptionCellStyles = css `
9
9
  /* # Host */
10
10
 
11
11
  :host {
12
- --_width: auto;
13
- --_min-width: 0;
14
- --_max-width: none;
15
- --_min-height: 0;
12
+ --_description-cell-width: auto;
13
+ --_description-cell-min-width: 0;
14
+ --_description-cell-max-width: none;
15
+ --_description-cell-min-height: 0;
16
16
 
17
17
  ${inheritedTextReset}
18
18
  /* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
19
19
  padding-block: var(--context-cell-padding-block, 0px) !important;
20
20
  display: flex;
21
- width: var(--_width);
22
- min-width: var(--_min-width);
23
- max-width: var(--_max-width);
24
- min-height: var(--_min-height);
21
+ width: var(--_description-cell-width);
22
+ min-width: var(--_description-cell-min-width);
23
+ max-width: var(--_description-cell-max-width);
24
+ min-height: var(--_description-cell-min-height);
25
25
  flex-direction: column;
26
26
  justify-content: center;
27
27
  }
@@ -45,7 +45,7 @@ export const descriptionCellStyles = css `
45
45
  /* min-content rather than 0 as the floor: the cell gives way as soon as
46
46
  the row is too narrow, but never past the width of its longest word,
47
47
  so the text stays readable instead of breaking mid-word. */
48
- --_min-width: min-content;
48
+ --_description-cell-min-width: min-content;
49
49
 
50
50
  width: fit-content;
51
51
  flex-grow: 0;
@@ -61,7 +61,7 @@ export const descriptionCellStyles = css `
61
61
  }
62
62
 
63
63
  :host([max-width]) {
64
- flex-basis: var(--_max-width);
64
+ flex-basis: var(--_description-cell-max-width);
65
65
  }
66
66
 
67
67
 
@@ -8,9 +8,9 @@ export const dragHandleCellStyles = css `
8
8
  /* # Host */
9
9
 
10
10
  :host {
11
- --_corner-radius: var(--semantics-controls-md-corner-radius);
12
- --_width: var(--semantics-controls-sm-min-size);
13
- --_height: var(--semantics-controls-md-min-size);
11
+ --_drag-handle-cell-corner-radius: var(--semantics-controls-md-corner-radius);
12
+ --_drag-handle-cell-width: var(--semantics-controls-sm-min-size);
13
+ --_drag-handle-cell-height: var(--semantics-controls-md-min-size);
14
14
 
15
15
  display: inline-flex;
16
16
  /* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
@@ -30,9 +30,9 @@ export const dragHandleCellStyles = css `
30
30
  }
31
31
 
32
32
  :host([size="sm"]) {
33
- --_corner-radius: var(--semantics-controls-sm-corner-radius);
34
- --_width: var(--semantics-controls-xs-min-size);
35
- --_height: var(--semantics-controls-sm-min-size);
33
+ --_drag-handle-cell-corner-radius: var(--semantics-controls-sm-corner-radius);
34
+ --_drag-handle-cell-width: var(--semantics-controls-xs-min-size);
35
+ --_drag-handle-cell-height: var(--semantics-controls-sm-min-size);
36
36
  }
37
37
 
38
38
 
@@ -42,11 +42,11 @@ export const dragHandleCellStyles = css `
42
42
  display: flex;
43
43
  margin: 0;
44
44
  border: none;
45
- border-radius: var(--_corner-radius);
45
+ border-radius: var(--_drag-handle-cell-corner-radius);
46
46
  background-color: var(--semantics-grab-handles-background-color);
47
47
  cursor: inherit;
48
- width: var(--_width);
49
- height: var(--_height);
48
+ width: var(--_drag-handle-cell-width);
49
+ height: var(--_drag-handle-cell-height);
50
50
  padding: 0;
51
51
  align-items: center;
52
52
  justify-content: center;
@@ -8,16 +8,16 @@ export const iconCellStyles = css `
8
8
  /* # Host */
9
9
 
10
10
  :host {
11
- --_size: var(--primitives-space-24);
12
- --_content-color: var(--context-content-color, var(--semantics-content-color));
11
+ --_icon-cell-size: var(--primitives-space-24);
12
+ --_icon-cell-content-color: var(--context-content-color, var(--semantics-content-color));
13
13
 
14
14
  display: flex;
15
15
  /* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
16
16
  padding-block: var(--context-cell-padding-block, 0px) !important;
17
- width: var(--_size);
17
+ width: var(--_icon-cell-size);
18
18
  flex-direction: column;
19
19
  align-items: center;
20
- color: var(--_content-color);
20
+ color: var(--_icon-cell-content-color);
21
21
  }
22
22
 
23
23
  :host([hidden]) {
@@ -25,37 +25,37 @@ export const iconCellStyles = css `
25
25
  }
26
26
 
27
27
  :host([size="16"]) {
28
- --_size: var(--primitives-space-16);
28
+ --_icon-cell-size: var(--primitives-space-16);
29
29
  }
30
30
 
31
31
  :host([size="20"]) {
32
- --_size: var(--primitives-space-20);
32
+ --_icon-cell-size: var(--primitives-space-20);
33
33
  }
34
34
 
35
35
  :host([size="32"]) {
36
- --_size: var(--primitives-space-32);
36
+ --_icon-cell-size: var(--primitives-space-32);
37
37
  }
38
38
 
39
39
  /* ## Color */
40
40
 
41
41
  :host([color="secondary"]) {
42
- --_content-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
42
+ --_icon-cell-content-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
43
43
  }
44
44
 
45
45
  :host([color="accent"]) {
46
- --_content-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
46
+ --_icon-cell-content-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
47
47
  }
48
48
 
49
49
  :host([color="success"]) {
50
- --_content-color: var(--context-content-success-color, var(--semantics-content-success-color));
50
+ --_icon-cell-content-color: var(--context-content-success-color, var(--semantics-content-success-color));
51
51
  }
52
52
 
53
53
  :host([color="warning"]) {
54
- --_content-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
54
+ --_icon-cell-content-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
55
55
  }
56
56
 
57
57
  :host([color="critical"]) {
58
- --_content-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
58
+ --_icon-cell-content-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
59
59
  }
60
60
 
61
61
 
@@ -80,8 +80,8 @@ export const iconCellStyles = css `
80
80
 
81
81
  /* # Elements */
82
82
 
83
- /* No width/height here: a slotted nldd-icon defines its own --_size,
84
- which shadows this cell's --_size in ::slotted var() resolution
83
+ /* No width/height here: a slotted nldd-icon defines its own --_icon-cell-size,
84
+ which shadows this cell's --_icon-cell-size in ::slotted var() resolution
85
85
  (custom props resolve against the slotted element). The icon sizes
86
86
  itself — width fills the cell, height auto keeps it square. */
87
87
  ::slotted(*) {
@@ -8,10 +8,10 @@ export const spacerCellStyles = css `
8
8
  /* # Host */
9
9
 
10
10
  :host {
11
- --_width: var(--primitives-space-16);
11
+ --_spacer-cell-width: var(--primitives-space-16);
12
12
 
13
13
  display: block;
14
- width: var(--_width);
14
+ width: var(--_spacer-cell-width);
15
15
  flex-grow: 0;
16
16
  flex-shrink: 0;
17
17
  }
@@ -23,26 +23,26 @@ export const spacerCellStyles = css `
23
23
 
24
24
  /* # Size */
25
25
 
26
- :host([size="2"]) { --_width: var(--primitives-space-2); }
27
- :host([size="4"]) { --_width: var(--primitives-space-4); }
28
- :host([size="6"]) { --_width: var(--primitives-space-6); }
29
- :host([size="8"]) { --_width: var(--primitives-space-8); }
30
- :host([size="10"]) { --_width: var(--primitives-space-10); }
31
- :host([size="12"]) { --_width: var(--primitives-space-12); }
32
- :host([size="20"]) { --_width: var(--primitives-space-20); }
33
- :host([size="24"]) { --_width: var(--primitives-space-24); }
34
- :host([size="28"]) { --_width: var(--primitives-space-28); }
35
- :host([size="32"]) { --_width: var(--primitives-space-32); }
36
- :host([size="40"]) { --_width: var(--primitives-space-40); }
37
- :host([size="44"]) { --_width: var(--primitives-space-44); }
38
- :host([size="48"]) { --_width: var(--primitives-space-48); }
39
- :host([size="56"]) { --_width: var(--primitives-space-56); }
40
- :host([size="64"]) { --_width: var(--primitives-space-64); }
41
- :host([size="80"]) { --_width: var(--primitives-space-80); }
42
- :host([size="96"]) { --_width: var(--primitives-space-96); }
26
+ :host([size="2"]) { --_spacer-cell-width: var(--primitives-space-2); }
27
+ :host([size="4"]) { --_spacer-cell-width: var(--primitives-space-4); }
28
+ :host([size="6"]) { --_spacer-cell-width: var(--primitives-space-6); }
29
+ :host([size="8"]) { --_spacer-cell-width: var(--primitives-space-8); }
30
+ :host([size="10"]) { --_spacer-cell-width: var(--primitives-space-10); }
31
+ :host([size="12"]) { --_spacer-cell-width: var(--primitives-space-12); }
32
+ :host([size="20"]) { --_spacer-cell-width: var(--primitives-space-20); }
33
+ :host([size="24"]) { --_spacer-cell-width: var(--primitives-space-24); }
34
+ :host([size="28"]) { --_spacer-cell-width: var(--primitives-space-28); }
35
+ :host([size="32"]) { --_spacer-cell-width: var(--primitives-space-32); }
36
+ :host([size="40"]) { --_spacer-cell-width: var(--primitives-space-40); }
37
+ :host([size="44"]) { --_spacer-cell-width: var(--primitives-space-44); }
38
+ :host([size="48"]) { --_spacer-cell-width: var(--primitives-space-48); }
39
+ :host([size="56"]) { --_spacer-cell-width: var(--primitives-space-56); }
40
+ :host([size="64"]) { --_spacer-cell-width: var(--primitives-space-64); }
41
+ :host([size="80"]) { --_spacer-cell-width: var(--primitives-space-80); }
42
+ :host([size="96"]) { --_spacer-cell-width: var(--primitives-space-96); }
43
43
 
44
44
  :host([size="flexible"]) {
45
- --_width: auto;
45
+ --_spacer-cell-width: auto;
46
46
  flex-grow: 1;
47
47
  flex-shrink: 1;
48
48
  flex-basis: 0;
@@ -1,22 +1,23 @@
1
1
  /**
2
- * Nederlandse Digitale Dienst Timeline Track Cell Component (Lit + TypeScript)
2
+ * Nederlandse Digitale Dienst Step Cell Component (Lit + TypeScript)
3
3
  *
4
- * A cell component for displaying timeline track indicators in lists.
5
- * Shows a vertical line with a dot indicating timeline position and state.
6
- * The row's block padding belongs to the cell itself (via
7
- * `--context-cell-padding-block`), so the line spans the cell's own box edge to
8
- * edge and consecutive steps connect without gaps.
4
+ * A cell that draws steps under each other in an `nldd-list`: a vertical track
5
+ * with a dot per row, colored by how far along each step is. It is the vertical
6
+ * counterpart of `nldd-step-bar`, with the same `status` values. Other systems
7
+ * call this a stepper, a progress list or a timeline. The row's block padding
8
+ * belongs to the cell itself (via `--context-cell-padding-block`), so the line
9
+ * spans the cell's own box edge to edge and consecutive steps connect without
10
+ * gaps.
9
11
  *
10
- * By default the cell is a bare track: a line with a dot per row, for a timeline
11
- * of events. With `size="md"` the dot grows big enough for a number or an
12
- * icon and you have a list of steps under each other, the vertical counterpart
13
- * of `nldd-step-indicator`. The size belongs to the lane rather than to the
12
+ * By default the dot is small and empty, for steps without a number, such as
13
+ * the moments in the history of a case. With `size="md"` it grows big enough
14
+ * for a number or an icon. The size belongs to the lane rather than to the
14
15
  * content: every dot in a list is the same size, or the track would jump.
15
16
  *
16
- * @element nldd-timeline-track-cell
17
+ * @element nldd-step-cell
17
18
  * @attr {'major' | 'minor' | 'none'} level - What stands in the lane: a whole dot (`major`, the default), a smaller one for a row that belongs under the one above it (`minor`), or nothing at all (`none`) for a row that carries what a step holds rather than being a step. A `none` row keeps its `size` and its `status`, so it stays in the same lane and the track runs on in the right color
18
- * @attr {'past' | 'current' | 'future'} status - How far along this row is (default 'past'); the same values as `nldd-step-indicator-item`. It colors the dot and the track around it: covered above where you are, still ahead below
19
- * @attr {'sm' | 'md'} size - How wide the lane is and so how big the dot: `sm` (default, 16px) for a timeline of events, `md` (24px) where a number or an icon has to fit. Every row in one list takes the same size, or the track jumps
19
+ * @attr {'past' | 'current' | 'future'} status - How far along this row is (default 'past'); the same values as `nldd-step-bar-item`. It colors the dot and the track around it: covered above where you are, still ahead below
20
+ * @attr {'sm' | 'md'} size - How wide the lane is and so how big the dot: `sm` (default, 16px) for steps without a number, `md` (24px) where a number or an icon has to fit. Every row in one list takes the same size, or the track jumps
20
21
  * @attr {'down' | 'up'} direction - The direction the timeline moves forward in: `down` (default) puts the past above, `up` below. Only the current step has half a track, so this only has an effect there
21
22
  * @attr {'first' | 'between' | 'last' | 'only'} position - Place of the row in the list as it stands on screen (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `first` is the top row and only has a line below, `last` the bottom row and only has a line above, also with `direction="up"`: position is about where the row stands, `direction` about which way time runs. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere. On a `level="none"` row, which is nothing but line, `only` leaves it out altogether: the track ends above it
22
23
  * @attr {'auto' | 'top' | 'bottom' | 'both' | 'none'} line - Which halves of the track you have covered, when `status` and `direction` get it wrong (default 'auto', which is what those two say). The halves you name are drawn as covered and the other one as still ahead, so `none` covers neither. Which halves are drawn at all stays with `position`, except that naming a half draws it: `line="both"` on a `first` row draws one above too. A row that opens a group of its own is the case for `both`, since the going carries on below it. A `level="none"` row has one line rather than two halves, and no point where a fill could change over, so there the status colors the whole of it and `line` overrules the whole of it. On a `current` row that leans the way the timeline runs: what belongs to a point usually comes after it, so going `down` the stretch reads as still ahead and going `up` as behind you
@@ -33,11 +34,11 @@ type Level = 'major' | 'minor' | 'none';
33
34
  type Direction = 'down' | 'up';
34
35
  type Position = 'first' | 'between' | 'last' | 'only';
35
36
  type Line = 'auto' | 'top' | 'bottom' | 'both' | 'none';
36
- declare const NLDDTimelineTrackCell_base: typeof LitElement & (new (...args: any[]) => LitElement & {
37
+ declare const NLDDStepCell_base: typeof LitElement & (new (...args: any[]) => LitElement & {
37
38
  hideBelow?: string;
38
39
  hideAbove?: string;
39
40
  });
40
- export declare class NLDDTimelineTrackCell extends NLDDTimelineTrackCell_base {
41
+ export declare class NLDDStepCell extends NLDDStepCell_base {
41
42
  static styles: import("lit").CSSResult;
42
43
  /**
43
44
  * What stands in the lane: a whole dot, a smaller one, or nothing.
@@ -89,8 +90,8 @@ export declare class NLDDTimelineTrackCell extends NLDDTimelineTrackCell_base {
89
90
  }
90
91
  declare global {
91
92
  interface HTMLElementTagNameMap {
92
- 'nldd-timeline-track-cell': NLDDTimelineTrackCell;
93
+ 'nldd-step-cell': NLDDStepCell;
93
94
  }
94
95
  }
95
96
  export {};
96
- //# sourceMappingURL=timeline-track-cell.d.ts.map
97
+ //# sourceMappingURL=step-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAMtD,OAAO,+BAA+B,CAAC;AAEvC,KAAK,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC5C,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACxB,KAAK,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AACxC,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAC/B,KAAK,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AACtD,KAAK,IAAI,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;AAExD,qBACa,YAAa,SAAQ,iBAA8C;IAC/E,OAAgB,MAAM,0BAAkB;IAExC;;;;;;;;;OASG;IAEH,KAAK,EAAE,KAAK,CAAW;IAGvB,MAAM,EAAE,MAAM,CAAU;IAExB;2DACuD;IAEvD,IAAI,EAAE,IAAI,CAAQ;IAElB;;;;4BAIwB;IAExB,SAAS,EAAE,SAAS,CAAU;IAG9B,QAAQ,EAAE,QAAQ,CAAa;IAE/B;;;;;;;;;;;;;;;OAeG;IAEH,IAAI,EAAE,IAAI,CAAU;IAGpB,IAAI,SAAM;IAGV,IAAI,SAAM;IAEV;kEAC8D;IAC9D,IAAI,YAAY,IAAI,OAAO,CAE1B;IAED,OAAO,CAAC,cAAc,CAAS;IAEtB,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAatC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
@@ -5,24 +5,25 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  /**
8
- * Nederlandse Digitale Dienst Timeline Track Cell Component (Lit + TypeScript)
8
+ * Nederlandse Digitale Dienst Step Cell Component (Lit + TypeScript)
9
9
  *
10
- * A cell component for displaying timeline track indicators in lists.
11
- * Shows a vertical line with a dot indicating timeline position and state.
12
- * The row's block padding belongs to the cell itself (via
13
- * `--context-cell-padding-block`), so the line spans the cell's own box edge to
14
- * edge and consecutive steps connect without gaps.
10
+ * A cell that draws steps under each other in an `nldd-list`: a vertical track
11
+ * with a dot per row, colored by how far along each step is. It is the vertical
12
+ * counterpart of `nldd-step-bar`, with the same `status` values. Other systems
13
+ * call this a stepper, a progress list or a timeline. The row's block padding
14
+ * belongs to the cell itself (via `--context-cell-padding-block`), so the line
15
+ * spans the cell's own box edge to edge and consecutive steps connect without
16
+ * gaps.
15
17
  *
16
- * By default the cell is a bare track: a line with a dot per row, for a timeline
17
- * of events. With `size="md"` the dot grows big enough for a number or an
18
- * icon and you have a list of steps under each other, the vertical counterpart
19
- * of `nldd-step-indicator`. The size belongs to the lane rather than to the
18
+ * By default the dot is small and empty, for steps without a number, such as
19
+ * the moments in the history of a case. With `size="md"` it grows big enough
20
+ * for a number or an icon. The size belongs to the lane rather than to the
20
21
  * content: every dot in a list is the same size, or the track would jump.
21
22
  *
22
- * @element nldd-timeline-track-cell
23
+ * @element nldd-step-cell
23
24
  * @attr {'major' | 'minor' | 'none'} level - What stands in the lane: a whole dot (`major`, the default), a smaller one for a row that belongs under the one above it (`minor`), or nothing at all (`none`) for a row that carries what a step holds rather than being a step. A `none` row keeps its `size` and its `status`, so it stays in the same lane and the track runs on in the right color
24
- * @attr {'past' | 'current' | 'future'} status - How far along this row is (default 'past'); the same values as `nldd-step-indicator-item`. It colors the dot and the track around it: covered above where you are, still ahead below
25
- * @attr {'sm' | 'md'} size - How wide the lane is and so how big the dot: `sm` (default, 16px) for a timeline of events, `md` (24px) where a number or an icon has to fit. Every row in one list takes the same size, or the track jumps
25
+ * @attr {'past' | 'current' | 'future'} status - How far along this row is (default 'past'); the same values as `nldd-step-bar-item`. It colors the dot and the track around it: covered above where you are, still ahead below
26
+ * @attr {'sm' | 'md'} size - How wide the lane is and so how big the dot: `sm` (default, 16px) for steps without a number, `md` (24px) where a number or an icon has to fit. Every row in one list takes the same size, or the track jumps
26
27
  * @attr {'down' | 'up'} direction - The direction the timeline moves forward in: `down` (default) puts the past above, `up` below. Only the current step has half a track, so this only has an effect there
27
28
  * @attr {'first' | 'between' | 'last' | 'only'} position - Place of the row in the list as it stands on screen (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `first` is the top row and only has a line below, `last` the bottom row and only has a line above, also with `direction="up"`: position is about where the row stands, `direction` about which way time runs. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere. On a `level="none"` row, which is nothing but line, `only` leaves it out altogether: the track ends above it
28
29
  * @attr {'auto' | 'top' | 'bottom' | 'both' | 'none'} line - Which halves of the track you have covered, when `status` and `direction` get it wrong (default 'auto', which is what those two say). The halves you name are drawn as covered and the other one as still ahead, so `none` covers neither. Which halves are drawn at all stays with `position`, except that naming a half draws it: `line="both"` on a `first` row draws one above too. A row that opens a group of its own is the case for `both`, since the going carries on below it. A `level="none"` row has one line rather than two halves, and no point where a fill could change over, so there the status colors the whole of it and `line` overrules the whole of it. On a `current` row that leans the way the timeline runs: what belongs to a point usually comes after it, so going `down` the stretch reads as still ahead and going `up` as behind you
@@ -35,10 +36,10 @@ import { LitElement } from 'lit';
35
36
  import { customElement, property } from 'lit/decorators.js';
36
37
  import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
37
38
  import { VisibilityMixin } from '../../../../utilities/visibility-mixin.js';
38
- import { timelineTrackCellStyles } from './timeline-track-cell.styles.js';
39
- import { timelineTrackCellTemplate } from './timeline-track-cell.template.js';
39
+ import { stepCellStyles } from './step-cell.styles.js';
40
+ import { stepCellTemplate } from './step-cell.template.js';
40
41
  import '../../../content/icon/icon.js';
41
- let NLDDTimelineTrackCell = class NLDDTimelineTrackCell extends VisibilityMixin(LitElement, 'cells-container') {
42
+ let NLDDStepCell = class NLDDStepCell extends VisibilityMixin(LitElement, 'cells-container') {
42
43
  constructor() {
43
44
  super(...arguments);
44
45
  /**
@@ -96,43 +97,43 @@ let NLDDTimelineTrackCell = class NLDDTimelineTrackCell extends VisibilityMixin(
96
97
  const ignored = !this.showsContent && Boolean(this.text || this.icon);
97
98
  if (ignored && !this._warnedContent) {
98
99
  this._warnedContent = true;
99
- console.warn('<nldd-timeline-track-cell>: `text` and `icon` only fit in a full dot on a wide track (`size="md"` with `level="major"`); they are not shown here.');
100
+ console.warn('<nldd-step-cell>: `text` and `icon` only fit in a full dot on a wide track (`size="md"` with `level="major"`); they are not shown here.');
100
101
  }
101
102
  else if (!ignored) {
102
103
  this._warnedContent = false;
103
104
  }
104
105
  }
105
106
  render() {
106
- return timelineTrackCellTemplate(this);
107
+ return stepCellTemplate(this);
107
108
  }
108
109
  };
109
- NLDDTimelineTrackCell.styles = timelineTrackCellStyles;
110
+ NLDDStepCell.styles = stepCellStyles;
110
111
  __decorate([
111
112
  property({ reflect: true, converter: reflectNonDefault('major') })
112
- ], NLDDTimelineTrackCell.prototype, "level", void 0);
113
+ ], NLDDStepCell.prototype, "level", void 0);
113
114
  __decorate([
114
115
  property({ reflect: true, converter: reflectNonDefault('past') })
115
- ], NLDDTimelineTrackCell.prototype, "status", void 0);
116
+ ], NLDDStepCell.prototype, "status", void 0);
116
117
  __decorate([
117
118
  property({ reflect: true, converter: reflectNonDefault('sm') })
118
- ], NLDDTimelineTrackCell.prototype, "size", void 0);
119
+ ], NLDDStepCell.prototype, "size", void 0);
119
120
  __decorate([
120
121
  property({ reflect: true, converter: reflectNonDefault('down') })
121
- ], NLDDTimelineTrackCell.prototype, "direction", void 0);
122
+ ], NLDDStepCell.prototype, "direction", void 0);
122
123
  __decorate([
123
124
  property({ reflect: true, converter: reflectNonDefault('between') })
124
- ], NLDDTimelineTrackCell.prototype, "position", void 0);
125
+ ], NLDDStepCell.prototype, "position", void 0);
125
126
  __decorate([
126
127
  property({ reflect: true, converter: reflectNonDefault('auto') })
127
- ], NLDDTimelineTrackCell.prototype, "line", void 0);
128
+ ], NLDDStepCell.prototype, "line", void 0);
128
129
  __decorate([
129
130
  property({ type: String })
130
- ], NLDDTimelineTrackCell.prototype, "text", void 0);
131
+ ], NLDDStepCell.prototype, "text", void 0);
131
132
  __decorate([
132
133
  property({ type: String })
133
- ], NLDDTimelineTrackCell.prototype, "icon", void 0);
134
- NLDDTimelineTrackCell = __decorate([
135
- customElement('nldd-timeline-track-cell')
136
- ], NLDDTimelineTrackCell);
137
- export { NLDDTimelineTrackCell };
138
- //# sourceMappingURL=timeline-track-cell.js.map
134
+ ], NLDDStepCell.prototype, "icon", void 0);
135
+ NLDDStepCell = __decorate([
136
+ customElement('nldd-step-cell')
137
+ ], NLDDStepCell);
138
+ export { NLDDStepCell };
139
+ //# sourceMappingURL=step-cell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,+BAA+B,CAAC;AAUhC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,eAAe,CAAC,UAAU,EAAE,iBAAiB,CAAC;IAAzE;;QAGN;;;;;;;;;WASG;QAEH,UAAK,GAAU,OAAO,CAAC;QAGvB,WAAM,GAAW,MAAM,CAAC;QAExB;+DACuD;QAEvD,SAAI,GAAS,IAAI,CAAC;QAElB;;;;gCAIwB;QAExB,cAAS,GAAc,MAAM,CAAC;QAG9B,aAAQ,GAAa,SAAS,CAAC;QAE/B;;;;;;;;;;;;;;;WAeG;QAEH,SAAI,GAAS,MAAM,CAAC;QAGpB,SAAI,GAAG,EAAE,CAAC;QAGV,SAAI,GAAG,EAAE,CAAC;QAQF,mBAAc,GAAG,KAAK,CAAC;IAkBhC,CAAC;IAxBA;kEAC8D;IAC9D,IAAI,YAAY;QACf,OAAO,IAAI,CAAC,KAAK,KAAK,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC;IACrD,CAAC;IAIQ,OAAO,CAAC,OAAuB;QACvC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACvB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG;YAAE,OAAO;QAClC,MAAM,OAAO,GAAG,CAAC,IAAI,CAAC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;QACtE,IAAI,OAAO,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACrC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAC3B,OAAO,CAAC,IAAI,CAAC,yIAAyI,CAAC,CAAC;QACzJ,CAAC;aACI,IAAI,CAAC,OAAO,EAAE,CAAC;YACnB,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAC7B,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;;AAlFe,mBAAM,GAAG,cAAc,AAAjB,CAAkB;AAaxC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAQ,OAAO,CAAC,EAAE,CAAC;2CACnD;AAGvB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,MAAM,CAAC,EAAE,CAAC;4CAClD;AAKxB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,IAAI,CAAC,EAAE,CAAC;0CACpD;AAQlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAY,MAAM,CAAC,EAAE,CAAC;+CAC/C;AAG9B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAW,SAAS,CAAC,EAAE,CAAC;8CAChD;AAmB/B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,MAAM,CAAC,EAAE,CAAC;0CACpD;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACjB;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACjB;AA1DE,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAoFxB"}
@@ -0,0 +1,2 @@
1
+ export declare const stepCellStyles: import("lit").CSSResult;
2
+ //# sourceMappingURL=step-cell.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBAqL1B,CAAC"}
@@ -0,0 +1,184 @@
1
+ import { css } from 'lit';
2
+ export const stepCellStyles = css `
3
+ :host {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ :host {
8
+ --_step-cell-lane-size: var(--primitives-space-16);
9
+ --_step-cell-marker-size: var(--primitives-space-16);
10
+ --_step-cell-marker-corner-radius: var(--primitives-corner-radius-full);
11
+
12
+ --_step-cell-line-width: var(--primitives-space-2);
13
+ --_step-cell-track-color: light-dark(var(--primitives-color-accent-750), var(--primitives-color-accent-650));
14
+ --_step-cell-future-fill-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-200));
15
+ --_step-cell-marker-z-index: 1;
16
+ --_step-cell-ring-thickness: var(--semantics-surfaces-ring-thickness);
17
+ --_step-cell-ring-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
18
+ --_step-cell-marker-content-color: var(--semantics-content-contrast-color);
19
+ --_step-cell-future-content-color: var(--semantics-content-secondary-color);
20
+ --_step-cell-current-fill-color: light-dark(var(--primitives-color-accent-75), var(--primitives-color-accent-100));
21
+ --_step-cell-icon-size: calc(var(--_step-cell-marker-size) * 2 / 3);
22
+
23
+ isolation: isolate;
24
+ display: flex;
25
+ /* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
26
+ padding-block: var(--context-cell-padding-block, 0px) !important;
27
+ width: var(--_step-cell-lane-size);
28
+ flex-direction: column;
29
+ align-self: stretch;
30
+ align-items: center;
31
+ }
32
+
33
+ :host([hidden]) {
34
+ display: none;
35
+ }
36
+
37
+ :host([size="md"]) {
38
+ --_step-cell-lane-size: var(--primitives-space-24);
39
+ --_step-cell-marker-size: var(--primitives-space-24);
40
+ }
41
+
42
+ :host([level="minor"]) {
43
+ --_step-cell-marker-size: var(--primitives-space-10);
44
+ }
45
+
46
+ :host([size="md"][level="minor"]) {
47
+ --_step-cell-marker-size: var(--primitives-space-12);
48
+ }
49
+
50
+ /* Bleeds back over the host's block padding, so consecutive rows connect. */
51
+ .step-cell {
52
+ position: relative;
53
+ width: var(--_step-cell-lane-size);
54
+ height: calc(100% + 2 * var(--context-cell-padding-block, 0px));
55
+ min-height: var(--primitives-space-48);
56
+ margin-block: calc(var(--context-cell-padding-block, 0px) * -1);
57
+ }
58
+
59
+ /* The ring, but only left and right. A spread would put the same band above
60
+ and below the line, and there it would cut the track at every row
61
+ boundary: the lines that run on downward deliberately reach past the cell
62
+ to bridge the divider. Two offset copies do the sides and nothing else. A
63
+ copy shifted sideways has the same top and bottom as the line itself, so
64
+ it can only show along the edge it is pushed out from. */
65
+ .step-cell__full-line,
66
+ .step-cell__top-line,
67
+ .step-cell__bottom-line {
68
+ position: absolute;
69
+ left: 50%;
70
+ margin-left: calc(var(--_step-cell-line-width) / -2);
71
+ box-shadow:
72
+ calc(-1 * var(--_step-cell-ring-thickness)) 0 0 0 var(--_step-cell-ring-color),
73
+ var(--_step-cell-ring-thickness) 0 0 0 var(--_step-cell-ring-color);
74
+ background-color: var(--_step-cell-track-color);
75
+ width: var(--_step-cell-line-width);
76
+ }
77
+
78
+ /* The lines that run on downward also bridge the row boundary: an
79
+ nldd-list-item reserves a divider's worth of space below itself, and
80
+ without this the track breaks at every row. The top line needs nothing —
81
+ the row above already covers the band. */
82
+ .step-cell__full-line {
83
+ top: 0;
84
+ bottom: calc(-1 * var(--semantics-dividers-thickness));
85
+ }
86
+
87
+ .step-cell__top-line {
88
+ bottom: 50%;
89
+ height: 50%;
90
+ }
91
+
92
+ .step-cell__bottom-line {
93
+ top: 50%;
94
+ bottom: calc(-1 * var(--semantics-dividers-thickness));
95
+ }
96
+
97
+ :host([status="future"]:not([line])) .step-cell__top-line,
98
+ :host([status="future"]:not([line])) .step-cell__bottom-line {
99
+ background-color: var(--_step-cell-future-fill-color);
100
+ }
101
+
102
+ :host([status="current"]:not([line])) .step-cell__bottom-line {
103
+ background-color: var(--_step-cell-future-fill-color);
104
+ }
105
+
106
+ :host([status="current"][direction="up"]:not([line])) .step-cell__bottom-line {
107
+ background-color: var(--_step-cell-track-color);
108
+ }
109
+
110
+ :host([status="current"][direction="up"]:not([line])) .step-cell__top-line {
111
+ background-color: var(--_step-cell-future-fill-color);
112
+ }
113
+
114
+ :host([line="top"]) .step-cell__top-line,
115
+ :host([line="bottom"]) .step-cell__bottom-line,
116
+ :host([line="both"]) .step-cell__top-line,
117
+ :host([line="both"]) .step-cell__bottom-line {
118
+ background-color: var(--_step-cell-track-color);
119
+ }
120
+
121
+ :host([level="none"][status="future"]) .step-cell__full-line,
122
+ :host([level="none"][status="current"]:not([direction="up"])) .step-cell__full-line,
123
+ :host([level="none"][line="none"]) .step-cell__full-line {
124
+ background-color: var(--_step-cell-future-fill-color);
125
+ }
126
+
127
+ :host([line="top"]) .step-cell__bottom-line,
128
+ :host([line="bottom"]) .step-cell__top-line,
129
+ :host([line="none"]) .step-cell__top-line,
130
+ :host([line="none"]) .step-cell__bottom-line {
131
+ background-color: var(--_step-cell-future-fill-color);
132
+ }
133
+
134
+ .step-cell__marker {
135
+ box-sizing: border-box;
136
+ position: absolute;
137
+ top: 50%;
138
+ left: 50%;
139
+ z-index: var(--_step-cell-marker-z-index);
140
+ display: flex;
141
+ width: var(--_step-cell-marker-size);
142
+ height: var(--_step-cell-marker-size);
143
+ margin-top: calc(var(--_step-cell-marker-size) / -2);
144
+ margin-left: calc(var(--_step-cell-marker-size) / -2);
145
+ align-items: center;
146
+ justify-content: center;
147
+ border: var(--_step-cell-line-width) solid var(--_step-cell-track-color);
148
+ border-radius: var(--_step-cell-marker-corner-radius);
149
+ box-shadow: 0 0 0 var(--_step-cell-ring-thickness) var(--_step-cell-ring-color);
150
+ color: var(--_step-cell-marker-content-color);
151
+ font: var(--primitives-font-body-sm-medium-flat);
152
+ }
153
+
154
+ :host([status="past"]) .step-cell__marker,
155
+ :host(:not([status])) .step-cell__marker {
156
+ background-color: var(--_step-cell-track-color);
157
+ }
158
+
159
+ :host([status="current"]) .step-cell__marker {
160
+ background-color: var(--_step-cell-current-fill-color);
161
+ color: var(--_step-cell-track-color);
162
+ }
163
+
164
+ :host([status="future"]) .step-cell__marker {
165
+ border-color: var(--_step-cell-future-fill-color);
166
+ background-color: var(--_step-cell-future-fill-color);
167
+ color: var(--_step-cell-future-content-color);
168
+ }
169
+
170
+ .step-cell__icon {
171
+ width: var(--_step-cell-icon-size);
172
+ height: var(--_step-cell-icon-size);
173
+ }
174
+
175
+ @media (forced-colors: active) {
176
+ .step-cell__marker,
177
+ .step-cell__top-line,
178
+ .step-cell__bottom-line,
179
+ .step-cell__full-line {
180
+ forced-color-adjust: none;
181
+ }
182
+ }
183
+ `;
184
+ //# sourceMappingURL=step-cell.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqLhC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type TemplateResult } from 'lit';
2
+ import type { NLDDStepCell } from './step-cell.js';
3
+ export declare function stepCellTemplate(component: NLDDStepCell): TemplateResult;
4
+ //# sourceMappingURL=step-cell.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step-cell.template.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,YAAY,GAAG,cAAc,CAuCxE"}