@nldd/design-system 0.8.62 → 0.8.64

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 (476) hide show
  1. package/dist/assets/styles/{slotted-reset.d.ts → style-resets.d.ts} +1 -1
  2. package/dist/assets/styles/style-resets.d.ts.map +1 -0
  3. package/dist/assets/styles/{slotted-reset.fixtures.d.ts → style-resets.fixtures.d.ts} +4 -4
  4. package/dist/assets/styles/style-resets.fixtures.d.ts.map +1 -0
  5. package/dist/assets/styles/{slotted-reset.fixtures.js → style-resets.fixtures.js} +4 -4
  6. package/dist/assets/styles/style-resets.fixtures.js.map +1 -0
  7. package/dist/assets/styles/{slotted-reset.js → style-resets.js} +1 -1
  8. package/dist/assets/styles/style-resets.js.map +1 -0
  9. package/dist/components/actions/button/button.d.ts +9 -2
  10. package/dist/components/actions/button/button.d.ts.map +1 -1
  11. package/dist/components/actions/button/button.i18n.d.ts +5 -0
  12. package/dist/components/actions/button/button.i18n.d.ts.map +1 -0
  13. package/dist/components/actions/button/button.i18n.js +4 -0
  14. package/dist/components/actions/button/button.i18n.js.map +1 -0
  15. package/dist/components/actions/button/button.js +5 -2
  16. package/dist/components/actions/button/button.js.map +1 -1
  17. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  18. package/dist/components/actions/button/button.styles.js +21 -7
  19. package/dist/components/actions/button/button.styles.js.map +1 -1
  20. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  21. package/dist/components/actions/button/button.template.js +17 -4
  22. package/dist/components/actions/button/button.template.js.map +1 -1
  23. package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
  24. package/dist/components/actions/button-bar/button-bar.styles.js +3 -0
  25. package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
  26. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  27. package/dist/components/actions/button-group/button-group.styles.js +3 -0
  28. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  29. package/dist/components/actions/icon-button/icon-button.d.ts +10 -2
  30. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  31. package/dist/components/actions/icon-button/icon-button.i18n.d.ts +5 -0
  32. package/dist/components/actions/icon-button/icon-button.i18n.d.ts.map +1 -0
  33. package/dist/components/actions/icon-button/icon-button.i18n.js +4 -0
  34. package/dist/components/actions/icon-button/icon-button.i18n.js.map +1 -0
  35. package/dist/components/actions/icon-button/icon-button.js +5 -2
  36. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  37. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  38. package/dist/components/actions/icon-button/icon-button.styles.js +4 -1
  39. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  40. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  41. package/dist/components/actions/icon-button/icon-button.template.js +11 -2
  42. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  43. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  44. package/dist/components/actions/menu/menu.styles.js +4 -1
  45. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  46. package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
  47. package/dist/components/actions/split-button/split-button.styles.js +4 -1
  48. package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
  49. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  50. package/dist/components/actions/toolbar/toolbar.styles.js +4 -1
  51. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  52. package/dist/components/components.js +64 -62
  53. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  54. package/dist/components/content/blockquote/blockquote.styles.js +4 -1
  55. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  56. package/dist/components/content/byline/byline.d.ts +11 -0
  57. package/dist/components/content/byline/byline.d.ts.map +1 -1
  58. package/dist/components/content/byline/byline.js +20 -0
  59. package/dist/components/content/byline/byline.js.map +1 -1
  60. package/dist/components/content/byline/byline.styles.d.ts.map +1 -1
  61. package/dist/components/content/byline/byline.styles.js +17 -2
  62. package/dist/components/content/byline/byline.styles.js.map +1 -1
  63. package/dist/components/content/byline/byline.template.d.ts.map +1 -1
  64. package/dist/components/content/byline/byline.template.js +17 -2
  65. package/dist/components/content/byline/byline.template.js.map +1 -1
  66. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  67. package/dist/components/content/code-viewer/code-viewer.styles.js +4 -1
  68. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  69. package/dist/components/content/icon/icon-aliases.js +1 -1
  70. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  71. package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
  72. package/dist/components/content/icon/icon.styles.js +3 -0
  73. package/dist/components/content/icon/icon.styles.js.map +1 -1
  74. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  75. package/dist/components/content/image/image.styles.js +4 -1
  76. package/dist/components/content/image/image.styles.js.map +1 -1
  77. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  78. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +4 -1
  79. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  80. package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
  81. package/dist/components/content/tag/tag.styles.js +4 -1
  82. package/dist/components/content/tag/tag.styles.js.map +1 -1
  83. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  84. package/dist/components/content/title/title.styles.js +4 -1
  85. package/dist/components/content/title/title.styles.js.map +1 -1
  86. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  87. package/dist/components/content/tooltip/tooltip.styles.js +4 -1
  88. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  89. package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
  90. package/dist/components/forms/form-actions/form-actions.styles.js +4 -0
  91. package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
  92. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  93. package/dist/components/forms/form-field/form-field.styles.js +5 -1
  94. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  95. package/dist/components/{index-DPe5myEj.js → index-BNhqNvDd.js} +4882 -2776
  96. package/dist/components/index.d.ts +2 -0
  97. package/dist/components/index.d.ts.map +1 -1
  98. package/dist/components/index.js +2 -0
  99. package/dist/components/index.js.map +1 -1
  100. package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
  101. package/dist/components/inputs/checkbox/checkbox.styles.js +3 -0
  102. package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
  103. package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
  104. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -1
  105. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
  106. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
  107. package/dist/components/inputs/code-editor/code-editor.styles.js +4 -1
  108. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  109. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  110. package/dist/components/inputs/combo-box/combo-box.styles.js +4 -1
  111. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  112. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  113. package/dist/components/inputs/dropdown/dropdown.styles.js +4 -1
  114. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  115. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  116. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +4 -1
  117. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  118. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  119. package/dist/components/inputs/number-field/number-field.styles.js +4 -1
  120. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  121. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  122. package/dist/components/inputs/password-field/password-field.styles.js +4 -1
  123. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  124. package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
  125. package/dist/components/inputs/radio-button/radio-button.styles.js +3 -0
  126. package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
  127. package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
  128. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -1
  129. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
  130. package/dist/components/inputs/radio-button-group/radio-button-group.styles.d.ts.map +1 -1
  131. package/dist/components/inputs/radio-button-group/radio-button-group.styles.js +4 -1
  132. package/dist/components/inputs/radio-button-group/radio-button-group.styles.js.map +1 -1
  133. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  134. package/dist/components/inputs/search-field/search-field.styles.js +13 -1
  135. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  136. package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
  137. package/dist/components/inputs/search-field/search-field.template.js +47 -39
  138. package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
  139. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  140. package/dist/components/inputs/segmented-control/segmented-control.styles.js +4 -1
  141. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  142. package/dist/components/inputs/stepper/stepper.styles.d.ts.map +1 -1
  143. package/dist/components/inputs/stepper/stepper.styles.js +3 -0
  144. package/dist/components/inputs/stepper/stepper.styles.js.map +1 -1
  145. package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
  146. package/dist/components/inputs/switch/switch.styles.js +3 -0
  147. package/dist/components/inputs/switch/switch.styles.js.map +1 -1
  148. package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
  149. package/dist/components/inputs/switch-field/switch-field.styles.js +4 -1
  150. package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
  151. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  152. package/dist/components/inputs/text-field/text-field.styles.js +4 -1
  153. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  154. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  155. package/dist/components/inputs/toggle-button/toggle-button.styles.js +4 -1
  156. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  157. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
  158. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -0
  159. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js.map +1 -1
  160. package/dist/components/inputs/token/token.styles.d.ts.map +1 -1
  161. package/dist/components/inputs/token/token.styles.js +4 -1
  162. package/dist/components/inputs/token/token.styles.js.map +1 -1
  163. package/dist/components/layout/app-view/app-view.styles.d.ts.map +1 -1
  164. package/dist/components/layout/app-view/app-view.styles.js +3 -0
  165. package/dist/components/layout/app-view/app-view.styles.js.map +1 -1
  166. package/dist/components/layout/box/box.styles.d.ts.map +1 -1
  167. package/dist/components/layout/box/box.styles.js +3 -0
  168. package/dist/components/layout/box/box.styles.js.map +1 -1
  169. package/dist/components/layout/card/card.d.ts +28 -2
  170. package/dist/components/layout/card/card.d.ts.map +1 -1
  171. package/dist/components/layout/card/card.i18n.d.ts +5 -0
  172. package/dist/components/layout/card/card.i18n.d.ts.map +1 -0
  173. package/dist/components/layout/card/card.i18n.js +4 -0
  174. package/dist/components/layout/card/card.i18n.js.map +1 -0
  175. package/dist/components/layout/card/card.js +54 -2
  176. package/dist/components/layout/card/card.js.map +1 -1
  177. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  178. package/dist/components/layout/card/card.styles.js +20 -0
  179. package/dist/components/layout/card/card.styles.js.map +1 -1
  180. package/dist/components/layout/card/card.template.d.ts.map +1 -1
  181. package/dist/components/layout/card/card.template.js +17 -1
  182. package/dist/components/layout/card/card.template.js.map +1 -1
  183. package/dist/components/layout/collection/collection.d.ts +7 -5
  184. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  185. package/dist/components/layout/collection/collection.js +17 -5
  186. package/dist/components/layout/collection/collection.js.map +1 -1
  187. package/dist/components/layout/collection/collection.styles.js +12 -12
  188. package/dist/components/layout/collection/collection.styles.js.map +1 -1
  189. package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
  190. package/dist/components/layout/collection/collection.template.js +4 -2
  191. package/dist/components/layout/collection/collection.template.js.map +1 -1
  192. package/dist/components/layout/container/container.d.ts +7 -3
  193. package/dist/components/layout/container/container.d.ts.map +1 -1
  194. package/dist/components/layout/container/container.js +15 -3
  195. package/dist/components/layout/container/container.js.map +1 -1
  196. package/dist/components/layout/container/container.styles.d.ts.map +1 -1
  197. package/dist/components/layout/container/container.styles.js +42 -1
  198. package/dist/components/layout/container/container.styles.js.map +1 -1
  199. package/dist/components/layout/divider/divider.styles.d.ts.map +1 -1
  200. package/dist/components/layout/divider/divider.styles.js +3 -0
  201. package/dist/components/layout/divider/divider.styles.js.map +1 -1
  202. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  203. package/dist/components/layout/page/page.styles.js +3 -0
  204. package/dist/components/layout/page/page.styles.js.map +1 -1
  205. package/dist/components/layout/page-footer/page-footer.d.ts +1 -0
  206. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  207. package/dist/components/layout/page-footer/page-footer.js +12 -4
  208. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  209. package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
  210. package/dist/components/layout/page-footer/page-footer.styles.js +13 -1
  211. package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
  212. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  213. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +3 -0
  214. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  215. package/dist/components/layout/page-sections/hero/hero.d.ts +25 -5
  216. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  217. package/dist/components/layout/page-sections/hero/hero.js +60 -11
  218. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  219. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  220. package/dist/components/layout/page-sections/hero/hero.styles.js +15 -4
  221. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  222. package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -1
  223. package/dist/components/layout/page-sections/hero/hero.template.js +13 -1
  224. package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
  225. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  226. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +3 -0
  227. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  228. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  229. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +3 -0
  230. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  231. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +119 -0
  232. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -0
  233. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.d.ts +6 -0
  234. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.d.ts.map +1 -0
  235. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.js +5 -0
  236. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.js.map +1 -0
  237. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +219 -0
  238. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -0
  239. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts +2 -0
  240. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -0
  241. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +157 -0
  242. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -0
  243. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts +4 -0
  244. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -0
  245. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +57 -0
  246. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -0
  247. package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
  248. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +3 -0
  249. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  250. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  251. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +3 -0
  252. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  253. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  254. package/dist/components/layout/popover/popover.styles.js +3 -0
  255. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  256. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  257. package/dist/components/layout/sheet/sheet.styles.js +3 -0
  258. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  259. package/dist/components/layout/spacer/spacer.styles.d.ts.map +1 -1
  260. package/dist/components/layout/spacer/spacer.styles.js +3 -0
  261. package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
  262. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
  263. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +3 -0
  264. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
  265. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +47 -19
  266. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  267. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +123 -73
  268. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  269. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  270. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +17 -14
  271. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  272. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
  273. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +10 -8
  274. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
  275. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
  276. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +3 -0
  277. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
  278. package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.d.ts.map +1 -1
  279. package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +3 -0
  280. package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js.map +1 -1
  281. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
  282. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -0
  283. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
  284. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
  285. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +3 -0
  286. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
  287. package/dist/components/layout/window/window.d.ts +1 -19
  288. package/dist/components/layout/window/window.d.ts.map +1 -1
  289. package/dist/components/layout/window/window.js +1 -187
  290. package/dist/components/layout/window/window.js.map +1 -1
  291. package/dist/components/layout/window/window.styles.d.ts.map +1 -1
  292. package/dist/components/layout/window/window.styles.js +5 -28
  293. package/dist/components/layout/window/window.styles.js.map +1 -1
  294. package/dist/components/layout/window/window.template.d.ts.map +1 -1
  295. package/dist/components/layout/window/window.template.js +1 -2
  296. package/dist/components/layout/window/window.template.js.map +1 -1
  297. package/dist/components/lists-and-tables/cells/cell/cell.styles.d.ts.map +1 -1
  298. package/dist/components/lists-and-tables/cells/cell/cell.styles.js +4 -1
  299. package/dist/components/lists-and-tables/cells/cell/cell.styles.js.map +1 -1
  300. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
  301. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +4 -1
  302. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
  303. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +1 -1
  304. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +3 -0
  305. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +1 -1
  306. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  307. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +3 -0
  308. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  309. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.d.ts.map +1 -1
  310. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js +3 -0
  311. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js.map +1 -1
  312. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  313. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +4 -1
  314. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  315. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -1
  316. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +3 -0
  317. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -1
  318. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  319. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +4 -1
  320. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  321. package/dist/components/lists-and-tables/list/list.d.ts +183 -8
  322. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  323. package/dist/components/lists-and-tables/list/list.i18n.d.ts +3 -0
  324. package/dist/components/lists-and-tables/list/list.i18n.d.ts.map +1 -1
  325. package/dist/components/lists-and-tables/list/list.i18n.js +3 -0
  326. package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -1
  327. package/dist/components/lists-and-tables/list/list.js +522 -17
  328. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  329. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  330. package/dist/components/lists-and-tables/list/list.styles.js +163 -25
  331. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  332. package/dist/components/lists-and-tables/list/list.template.d.ts +26 -1
  333. package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
  334. package/dist/components/lists-and-tables/list/list.template.js +76 -18
  335. package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
  336. package/dist/components/lists-and-tables/list-item/list-item.d.ts +30 -9
  337. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  338. package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts +1 -1
  339. package/dist/components/lists-and-tables/list-item/list-item.i18n.js +1 -1
  340. package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -1
  341. package/dist/components/lists-and-tables/list-item/list-item.js +81 -20
  342. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  343. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  344. package/dist/components/lists-and-tables/list-item/list-item.styles.js +55 -32
  345. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  346. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
  347. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  348. package/dist/components/lists-and-tables/list-item/list-item.template.js +10 -5
  349. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  350. package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
  351. package/dist/components/lists-and-tables/table/table.styles.js +4 -1
  352. package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
  353. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -44
  354. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  355. package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts +0 -1
  356. package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts.map +1 -1
  357. package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js +0 -1
  358. package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js.map +1 -1
  359. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +1 -84
  360. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  361. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
  362. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +6 -52
  363. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
  364. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
  365. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -17
  366. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
  367. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
  368. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +5 -1
  369. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
  370. package/dist/components/navigation/link/link.d.ts +9 -2
  371. package/dist/components/navigation/link/link.d.ts.map +1 -1
  372. package/dist/components/navigation/link/link.i18n.d.ts +5 -0
  373. package/dist/components/navigation/link/link.i18n.d.ts.map +1 -0
  374. package/dist/components/navigation/link/link.i18n.js +4 -0
  375. package/dist/components/navigation/link/link.i18n.js.map +1 -0
  376. package/dist/components/navigation/link/link.js +5 -2
  377. package/dist/components/navigation/link/link.js.map +1 -1
  378. package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
  379. package/dist/components/navigation/link/link.styles.js +18 -1
  380. package/dist/components/navigation/link/link.styles.js.map +1 -1
  381. package/dist/components/navigation/link/link.template.d.ts.map +1 -1
  382. package/dist/components/navigation/link/link.template.js +14 -1
  383. package/dist/components/navigation/link/link.template.js.map +1 -1
  384. package/dist/components/navigation/menu-bar/menu-bar.styles.d.ts.map +1 -1
  385. package/dist/components/navigation/menu-bar/menu-bar.styles.js +4 -1
  386. package/dist/components/navigation/menu-bar/menu-bar.styles.js.map +1 -1
  387. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  388. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +4 -1
  389. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  390. package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  391. package/dist/components/navigation/pagination/pagination.styles.js +4 -1
  392. package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
  393. package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
  394. package/dist/components/navigation/skip-link/skip-link.styles.js +4 -1
  395. package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
  396. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  397. package/dist/components/navigation/tab-bar/tab-bar.js +11 -4
  398. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  399. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  400. package/dist/components/navigation/tab-bar/tab-bar.styles.js +29 -4
  401. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  402. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -0
  403. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  404. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +17 -0
  405. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  406. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  407. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +32 -16
  408. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  409. package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
  410. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +4 -1
  411. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
  412. package/dist/components/{prism-python-mIMEATOA.js → prism-python--N285k7w.js} +1 -1
  413. package/dist/components/{prism-rust-Ig3wVTFD.js → prism-rust-Cnm1tSdo.js} +1 -1
  414. package/dist/components/{prism-typescript-BeulJu8Z.js → prism-typescript-BPJAiB1s.js} +1 -1
  415. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +35 -12
  416. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  417. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +48 -13
  418. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  419. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  420. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +81 -18
  421. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  422. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts +1 -2
  423. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
  424. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +21 -7
  425. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
  426. package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
  427. package/dist/components/status-and-feedback/badge/badge.styles.js +4 -1
  428. package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
  429. package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
  430. package/dist/components/status-and-feedback/banner/banner.styles.js +4 -1
  431. package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
  432. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  433. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +12 -2
  434. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  435. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
  436. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +4 -1
  437. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
  438. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +124 -0
  439. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -0
  440. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.d.ts +6 -0
  441. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.d.ts.map +1 -0
  442. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.js +5 -0
  443. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.js.map +1 -0
  444. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +550 -0
  445. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -0
  446. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts +2 -0
  447. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -0
  448. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +304 -0
  449. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -0
  450. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.d.ts +4 -0
  451. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.d.ts.map +1 -0
  452. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +72 -0
  453. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js.map +1 -0
  454. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
  455. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +4 -1
  456. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
  457. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  458. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +4 -1
  459. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  460. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
  461. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +4 -1
  462. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
  463. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +6 -1
  464. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  465. package/dist/components/status-and-feedback/status-bar/status-bar.js +23 -9
  466. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  467. package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
  468. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +4 -1
  469. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
  470. package/dist/css/rich-text.css +63 -0
  471. package/dist/css/settings.css +10 -3
  472. package/package.json +9 -1
  473. package/dist/assets/styles/slotted-reset.d.ts.map +0 -1
  474. package/dist/assets/styles/slotted-reset.fixtures.d.ts.map +0 -1
  475. package/dist/assets/styles/slotted-reset.fixtures.js.map +0 -1
  476. package/dist/assets/styles/slotted-reset.js.map +0 -1
@@ -15,8 +15,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
15
15
  *
16
16
  * The default indicator is a simple icon-sized circle drawn in `currentColor`,
17
17
  * with an optional label below (hidden unless `show-text` is set). Drop a
18
- * `<nldd-progress-circle>`, `<nldd-progress-bar>` or any element in the slot
19
- * to override it.
18
+ * `<nldd-progress-circle>`, `<nldd-progress-bar>` or any element in the
19
+ * `indicator` slot to override it.
20
+ *
21
+ * Overlay mode: put content in the default slot and the indicator wraps it — it
22
+ * becomes a `position: relative` container, renders the spinner over a dimming
23
+ * backdrop (opt out with `no-backdrop`), and makes the content `inert` so its
24
+ * controls can't be focused or clicked. Toggle loading with `complete`
25
+ * (`?complete=${!isLoading}`). With no slotted content it stays the standalone
26
+ * placeholder described above.
20
27
  *
21
28
  * Reconnect behaviour: every `connectedCallback` resets the timer and hides
22
29
  * the indicator again. If a consumer toggles the element via a conditional
@@ -37,12 +44,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
37
44
  * @attr {string} text - Label text. Falls back to the translated "Laden" when unset.
38
45
  * @attr {'default'|'instant'} timing - 'default' waits 1000ms before showing (anti-flash); 'instant' shows immediately (the fade-in still plays). Default 'default'.
39
46
  * @attr {boolean} complete - Mark the loader as finished while keeping the element mounted; clears aria-busy and hides the indicator.
40
- * @attr {boolean} backdrop - Dim and blur the content underneath with a frosted backdrop while loading (opt-in, default false). Uses the context parent background colour (fallback: base surface) at one minus the disabled opacity, plus a backdrop blur.
47
+ * @attr {boolean} no-backdrop - Overlay mode dims and blurs the wrapped content with a frosted backdrop by default; set this to show only the indicator panel without dimming. No effect in standalone mode.
41
48
  * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
42
49
  *
43
- * @slot - Optional custom indicator; overrides the default circle (and its
44
- * visually-hidden label). Consumers replacing the slot supply their own
45
- * indicator semantics; the host's role="status" still marks the loading region.
50
+ * @slot - Content to wrap (overlay mode); made inert while loading. Leave empty
51
+ * for the standalone placeholder.
52
+ * @slot indicator - Optional custom indicator; overrides the default circle (and
53
+ * its visually-hidden label). Consumers replacing it supply their own indicator
54
+ * semantics; the host's role="status" still marks the loading region.
55
+ *
56
+ * @migration The custom-indicator override moved from the default slot to the
57
+ * `indicator` slot, since the default slot now holds wrapped content:
58
+ * `<nldd-progress-bar slot="indicator">`.
46
59
  */
47
60
  import { LitElement } from 'lit';
48
61
  import { customElement, property, state } from 'lit/decorators.js';
@@ -66,13 +79,25 @@ let NLDDActivityIndicator = class NLDDActivityIndicator extends LitElement {
66
79
  /** Mark the loader as finished while keeping the element mounted.
67
80
  * Clears aria-busy and hides the indicator. Default false. */
68
81
  this.complete = false;
69
- /** Dim and blur the content underneath with a frosted backdrop while
70
- * loading. The layer takes the context parent background colour (fallback:
71
- * base surface) at one minus the disabled opacity, plus a backdrop blur.
72
- * Opt-in; default false. */
73
- this.backdrop = false;
82
+ /** Opt out of the dimming backdrop in overlay mode. With wrapped content the
83
+ * backdrop is on by default — the content is inert, so it should read as
84
+ * inactive so set `no-backdrop` to show only the indicator panel without
85
+ * dimming/blurring the content. No effect in standalone mode (no content to
86
+ * dim). */
87
+ this.noBackdrop = false;
74
88
  this.translations = {};
75
89
  this._visible = false;
90
+ /** Whether the default slot holds wrapped content (overlay mode) instead of
91
+ * being empty (standalone placeholder). Drives the host layout and whether
92
+ * the content is made inert while loading. */
93
+ this._hasContent = false;
94
+ /** Track default-slot content so the component can switch between the
95
+ * standalone placeholder and the content-wrapping overlay, and disable the
96
+ * wrapped content (via `inert`) while loading. */
97
+ this._onContentSlotChange = (e) => {
98
+ const slot = e.target;
99
+ this._hasContent = slot.assignedElements().length > 0;
100
+ };
76
101
  }
77
102
  _t(key) {
78
103
  return this.translations[key] ?? nlddActivityIndicatorTranslations[key];
@@ -136,6 +161,13 @@ let NLDDActivityIndicator = class NLDDActivityIndicator extends LitElement {
136
161
  this.setAttribute('role', 'status');
137
162
  }
138
163
  }
164
+ updated() {
165
+ // Reflect derived state as host attributes the styles key off: `loading`
166
+ // drives the indicator + backdrop fade (in AND out); `has-content` switches
167
+ // between the standalone placeholder and the content-wrapping overlay.
168
+ this.toggleAttribute('loading', this._visible && !this.complete);
169
+ this.toggleAttribute('has-content', this._hasContent);
170
+ }
139
171
  render() {
140
172
  return activityIndicatorTemplate(this);
141
173
  }
@@ -157,14 +189,17 @@ __decorate([
157
189
  property({ type: Boolean, reflect: true })
158
190
  ], NLDDActivityIndicator.prototype, "complete", void 0);
159
191
  __decorate([
160
- property({ type: Boolean, reflect: true })
161
- ], NLDDActivityIndicator.prototype, "backdrop", void 0);
192
+ property({ type: Boolean, reflect: true, attribute: 'no-backdrop' })
193
+ ], NLDDActivityIndicator.prototype, "noBackdrop", void 0);
162
194
  __decorate([
163
195
  property({ type: Object })
164
196
  ], NLDDActivityIndicator.prototype, "translations", void 0);
165
197
  __decorate([
166
198
  state()
167
199
  ], NLDDActivityIndicator.prototype, "_visible", void 0);
200
+ __decorate([
201
+ state()
202
+ ], NLDDActivityIndicator.prototype, "_hasContent", void 0);
168
203
  NLDDActivityIndicator = __decorate([
169
204
  customElement('nldd-activity-indicator')
170
205
  ], NLDDActivityIndicator);
@@ -1 +1 @@
1
- {"version":3,"file":"activity-indicator.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,OAAO,EAAE,UAAU,EAAE,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AC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACrC,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;;AA3Ge,4BAAM,GAAG,uBAAuB,AAA1B,CAA2B;AAGjD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDACP;AAKnC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;uDAClD;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAChC;AAKV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qDACE;AAK5C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAC1B;AAOjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2DACmC;AAG9D;IADC,KAAK,EAAE;uDACS;AAnCL,qBAAqB;IADjC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,qBAAqB,CA6GjC"}
1
+ {"version":3,"file":"activity-indicator.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,O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AAE,CAAC;2DACmC;AAG9D;IADC,KAAK,EAAE;uDACS;AAMjB;IADC,KAAK,EAAE;0DACY;AA1CR,qBAAqB;IADjC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,qBAAqB,CAoIjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"activity-indicator.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,yBAgLnC,CAAC"}
1
+ {"version":3,"file":"activity-indicator.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,yBA+OnC,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import { css } from 'lit';
2
- import { inheritedTextReset } from '../../../assets/styles/slotted-reset.js';
2
+ import { inheritedTextReset } from '../../../assets/styles/style-resets.js';
3
3
  export const activityIndicatorStyles = css `
4
+ :host {
5
+ box-sizing: border-box;
6
+ }
4
7
 
5
8
 
6
9
  /* # Host */
@@ -18,6 +21,8 @@ export const activityIndicatorStyles = css `
18
21
  --_gap: var(--primitives-space-4);
19
22
  --_text-font: var(--primitives-font-body-sm-regular-flat);
20
23
  --_backdrop-blur: 3px;
24
+ --_overlay-panel-padding: var(--primitives-space-12);
25
+ --_overlay-panel-corner-radius: var(--primitives-corner-radius-md);
21
26
 
22
27
  ${inheritedTextReset}
23
28
  box-sizing: border-box;
@@ -35,10 +40,13 @@ export const activityIndicatorStyles = css `
35
40
  display: none;
36
41
  }
37
42
 
38
- /* The opt-in backdrop is an absolutely-positioned layer that fills the host,
39
- so the host has to be its containing block. */
40
- :host([backdrop]) {
43
+ /* Overlay mode (content in the default slot): the host wraps the content and
44
+ is the containing block for the absolutely-positioned indicator + backdrop,
45
+ so it sizes to the content instead of filling its parent. */
46
+ :host([has-content]) {
47
+ display: block;
41
48
  position: relative;
49
+ height: auto;
42
50
  }
43
51
 
44
52
 
@@ -59,35 +67,75 @@ export const activityIndicatorStyles = css `
59
67
 
60
68
 
61
69
  /* # Block
62
- Fades the indicator in once it becomes visible (both timing modes), and
63
- stacks the default circle + label as a centred column. width:100% +
70
+ Stacks the default circle + label as a centred column. width:100% +
64
71
  max-width gives a slotted progress-bar a width to fill; the fixed-size
65
72
  circle and the label stay centred via align-items. */
66
73
 
67
74
  .activity-indicator {
68
75
  /* position:relative so it paints above the absolutely-positioned backdrop
69
- (both are z-index:auto; the backdrop comes first in the DOM). */
76
+ (both are z-index:auto; the backdrop comes first in the DOM). Hidden by
77
+ default; the loading host attribute fades it (and the backdrop) in and
78
+ out — opacity + display via transition-behavior: allow-discrete, with a
79
+ starting-style for the entry. */
70
80
  position: relative;
71
- display: flex;
72
- flex-direction: column;
81
+ display: none;
82
+ opacity: 0;
83
+ pointer-events: none;
73
84
  width: 100%;
74
85
  max-width: var(--_max-width);
86
+ flex-direction: column;
75
87
  align-items: center;
76
88
  gap: var(--_gap);
77
- animation: activity-indicator-fade-in var(--_fade-duration) var(--_fade-easing);
89
+ transition-property: opacity, display;
90
+ transition-duration: var(--_fade-duration);
91
+ transition-timing-function: var(--_fade-easing);
92
+ transition-behavior: allow-discrete;
93
+ }
94
+
95
+ :host([loading]) .activity-indicator {
96
+ display: flex;
97
+ opacity: 1;
98
+ }
99
+
100
+ @starting-style {
101
+ :host([loading]) .activity-indicator {
102
+ opacity: 0;
103
+ }
78
104
  }
79
105
 
80
- @keyframes activity-indicator-fade-in {
81
- from { opacity: 0; }
106
+ /* Overlay mode: the wrapped content flows normally; the indicator + backdrop
107
+ sit on top as absolute layers that fill the host. */
108
+ .activity-indicator__content {
109
+ display: block;
82
110
  }
83
111
 
84
- /* Opt-in dimming layer (the backdrop attribute): the context parent
85
- background colour fallback the base surface at one minus the disabled
86
- opacity, so the content underneath reads as inactive while loading. Fades
87
- in with the indicator. */
112
+ /* Overlay mode: the indicator + label sit on a small rounded base-surface
113
+ panel that hugs them with padding (not the full component width) so they
114
+ keep contrast over the dimmed content, and read in the content colour
115
+ instead of inheriting currentColor. */
116
+ :host([has-content]) .activity-indicator {
117
+ box-sizing: border-box;
118
+ position: absolute;
119
+ top: 50%;
120
+ left: 50%;
121
+ border-radius: var(--_overlay-panel-corner-radius);
122
+ background-color: var(--semantics-surfaces-base-background-color);
123
+ width: max-content;
124
+ max-width: calc(100% - var(--primitives-space-32));
125
+ padding: var(--_overlay-panel-padding);
126
+ color: var(--semantics-content-color);
127
+ transform: translate(-50%, -50%);
128
+ }
129
+
130
+ /* Dimming layer (overlay mode, on by default; opt out with no-backdrop): the
131
+ context parent background colour — fallback the base surface — at one minus
132
+ the disabled opacity, so the content underneath reads as inactive while
133
+ loading. Fades in and out with the indicator via the loading attribute. */
88
134
  .activity-indicator__backdrop {
89
135
  position: absolute;
90
136
  inset: 0;
137
+ display: none;
138
+ opacity: 0;
91
139
  /* Frosted dim: the parent surface — fallback base surface — as a
92
140
  translucent fill at one minus the disabled opacity (a translucent
93
141
  colour, not element opacity, which would hide the blur), plus a blur so
@@ -96,7 +144,22 @@ export const activityIndicatorStyles = css `
96
144
  background-color: color-mix(in oklab, var(--context-parent-background-color, var(--semantics-surfaces-base-background-color)) calc((1 - var(--primitives-opacity-disabled)) * 100%), transparent);
97
145
  -webkit-backdrop-filter: blur(var(--_backdrop-blur));
98
146
  backdrop-filter: blur(var(--_backdrop-blur));
99
- animation: activity-indicator-fade-in var(--_fade-duration) var(--_fade-easing);
147
+ pointer-events: none;
148
+ transition-property: opacity, display;
149
+ transition-duration: var(--_fade-duration);
150
+ transition-timing-function: var(--_fade-easing);
151
+ transition-behavior: allow-discrete;
152
+ }
153
+
154
+ :host([loading]) .activity-indicator__backdrop {
155
+ display: block;
156
+ opacity: 1;
157
+ }
158
+
159
+ @starting-style {
160
+ :host([loading]) .activity-indicator__backdrop {
161
+ opacity: 0;
162
+ }
100
163
  }
101
164
 
102
165
  /* display:contents so the default circle + label (or a slotted override)
@@ -162,7 +225,7 @@ export const activityIndicatorStyles = css `
162
225
  @media (prefers-reduced-motion: reduce) {
163
226
  .activity-indicator,
164
227
  .activity-indicator__backdrop {
165
- animation: none;
228
+ transition: none;
166
229
  }
167
230
 
168
231
  .activity-indicator__indicator {
@@ -1 +1 @@
1
- {"version":3,"file":"activity-indicator.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;IAmBtC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JrB,CAAC"}
1
+ {"version":3,"file":"activity-indicator.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;IAwBtC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuNrB,CAAC"}
@@ -1,4 +1,3 @@
1
- import { nothing } from 'lit';
2
1
  import type { NLDDActivityIndicator } from './activity-indicator.js';
3
- export declare function activityIndicatorTemplate(component: NLDDActivityIndicator): import("lit-html").TemplateResult<1> | typeof nothing;
2
+ export declare function activityIndicatorTemplate(component: NLDDActivityIndicator): import("lit-html").TemplateResult<1>;
4
3
  //# sourceMappingURL=activity-indicator.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity-indicator.template.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,qBAAqB,yDAqCzE"}
1
+ {"version":3,"file":"activity-indicator.template.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,qBAAqB,wCAoDzE"}
@@ -1,18 +1,32 @@
1
1
  import { html, nothing } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
3
  export function activityIndicatorTemplate(component) {
4
- // Render nothing while the delay window is open so the indicator doesn't
5
- // even flash for sub-second loads, or once `complete` is set so the
6
- // element stays mounted but ARIA / visuals reflect the finished state.
7
- if (!component._visible || component.complete)
8
- return nothing;
4
+ // Disable + busy-mark the wrapped content while loading (overlay mode). `inert`
5
+ // works over the flat tree, so it reaches the slotted (light-DOM) content and
6
+ // takes its controls out of the tab order which pointer-events alone can't.
7
+ // (aria-busy below reflects the busy state explicitly as true/false rather than
8
+ // toggling the attribute, which some AT track more reliably; note that inert also
9
+ // removes the subtree from the a11y tree, so AT relies on the role="status" host,
10
+ // not this aria-busy, for the loading announcement.)
11
+ const disableContent = component._visible && !component.complete && component._hasContent;
12
+ // The backdrop dims the inert content in overlay mode (unless opted out). It
13
+ // renders for the whole overlay-mode lifetime; the `loading` host attribute —
14
+ // not conditional rendering — drives its (and the indicator's) fade in AND
15
+ // out, so the overlay can also transition away when loading finishes.
16
+ const renderBackdrop = component._hasContent && !component.noBackdrop;
9
17
  // The label always renders so it is the announced content of the
10
18
  // role="status" host; show-text only controls whether it is visible.
11
19
  const text = component._accessibleName;
12
20
  return html `
13
- ${component.backdrop ? html `<div class="activity-indicator__backdrop" aria-hidden="true"></div>` : nothing}
21
+ <div class="activity-indicator__content"
22
+ ?inert=${disableContent}
23
+ aria-busy=${disableContent ? 'true' : 'false'}
24
+ >
25
+ <slot @slotchange=${component._onContentSlotChange}></slot>
26
+ </div>
27
+ ${renderBackdrop ? html `<div class="activity-indicator__backdrop" aria-hidden="true"></div>` : nothing}
14
28
  <div class="activity-indicator">
15
- <slot>
29
+ <slot name="indicator">
16
30
  <svg class="activity-indicator__circle"
17
31
  viewBox="0 0 24 24"
18
32
  fill="none"
@@ -1 +1 @@
1
- {"version":3,"file":"activity-indicator.template.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,MAAM,UAAU,yBAAyB,CAAC,SAAgC;IACzE,yEAAyE;IACzE,oEAAoE;IACpE,uEAAuE;IACvE,IAAI,CAAC,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ;QAAE,OAAO,OAAO,CAAC;IAC9D,iEAAiE;IACjE,qEAAqE;IACrE,MAAM,IAAI,GAAG,SAAS,CAAC,eAAe,CAAC;IACvC,OAAO,IAAI,CAAA;IACR,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,qEAAqE,CAAC,CAAC,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;kBAqB1F,QAAQ,CAAC;QACvB,0BAA0B,EAAE,IAAI;QAChC,2CAA2C,EAAE,CAAC,SAAS,CAAC,QAAQ;KAChE,CAAC,IAAI,IAAI;;;EAGX,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"activity-indicator.template.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/activity-indicator/activity-indicator.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,MAAM,UAAU,yBAAyB,CAAC,SAAgC;IACzE,gFAAgF;IAChF,8EAA8E;IAC9E,8EAA8E;IAC9E,gFAAgF;IAChF,kFAAkF;IAClF,kFAAkF;IAClF,qDAAqD;IACrD,MAAM,cAAc,GAAG,SAAS,CAAC,QAAQ,IAAI,CAAC,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,WAAW,CAAC;IAC1F,6EAA6E;IAC7E,8EAA8E;IAC9E,2EAA2E;IAC3E,sEAAsE;IACtE,MAAM,cAAc,GAAG,SAAS,CAAC,WAAW,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;IACtE,iEAAiE;IACjE,qEAAqE;IACrE,MAAM,IAAI,GAAG,SAAS,CAAC,eAAe,CAAC;IACvC,OAAO,IAAI,CAAA;;YAEA,cAAc;eACX,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;;uBAEzB,SAAS,CAAC,oBAAoB;;IAEjD,cAAc,CAAC,CAAC,CAAC,IAAI,CAAA,qEAAqE,CAAC,CAAC,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;kBAqBtF,QAAQ,CAAC;QACvB,0BAA0B,EAAE,IAAI;QAChC,2CAA2C,EAAE,CAAC,SAAS,CAAC,QAAQ;KAChE,CAAC,IAAI,IAAI;;;EAGX,CAAC;AACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"badge.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/badge/badge.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,yBAgPvB,CAAC"}
1
+ {"version":3,"file":"badge.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/badge/badge.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,yBAmPvB,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import { css } from 'lit';
2
- import { inheritedTextReset } from '../../../assets/styles/slotted-reset.js';
2
+ import { inheritedTextReset } from '../../../assets/styles/style-resets.js';
3
3
  export const badgeStyles = css `
4
+ :host {
5
+ box-sizing: border-box;
6
+ }
4
7
 
5
8
 
6
9
  /* # Host */
@@ -1 +1 @@
1
- {"version":3,"file":"badge.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/badge/badge.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;IAkB1B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8NrB,CAAC"}
1
+ {"version":3,"file":"badge.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/badge/badge.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;IAqB1B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8NrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"banner.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/banner/banner.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBAgJxB,CAAC"}
1
+ {"version":3,"file":"banner.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/banner/banner.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBAmJxB,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import { css } from 'lit';
2
- import { inheritedTextReset } from '../../../assets/styles/slotted-reset.js';
2
+ import { inheritedTextReset } from '../../../assets/styles/style-resets.js';
3
3
  export const bannerStyles = css `
4
+ :host {
5
+ box-sizing: border-box;
6
+ }
4
7
 
5
8
 
6
9
  /* # Host */
@@ -1 +1 @@
1
- {"version":3,"file":"banner.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/banner/banner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;IAoB3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4HrB,CAAC"}
1
+ {"version":3,"file":"banner.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/banner/banner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;IAuB3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4HrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,4CAA4C,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,CAAC;AACtD,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3C,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhG,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAG5C,OAAO,EAAE,mBAAmB,GAAG,EAAE,CAAM;IAGvC,IAAI,EAAE,gBAAgB,CAAQ;IAG9B,IAAI,SAA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;IAEpB,IAAI,iBAAiB,IAAI,MAAM,CAK9B;IAEQ,YAAY;IAgCZ,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,oBAAoB,EAAE,gBAAgB,CAAC;KACvC;CACD"}
@@ -67,8 +67,18 @@ let NLDDInlineDialog = class NLDDInlineDialog extends LitElement {
67
67
  const syncActions = () => { this._hasActions = hasMeaningfulContent(actionsSlot); };
68
68
  contentSlot?.addEventListener('slotchange', syncContent);
69
69
  actionsSlot?.addEventListener('slotchange', syncActions);
70
- syncContent();
71
- syncActions();
70
+ // Defer the initial sync out of the update lifecycle: setting reactive
71
+ // state synchronously here re-enters the current update and triggers Lit's
72
+ // change-in-update warning. A microtask runs after this update completes,
73
+ // so the follow-up render (when a slot has content) is scheduled cleanly.
74
+ // slotchange handles every later change; this covers the initial state.
75
+ // SSR caveat (no SSR today): on hydration the first paint can land before this
76
+ // microtask drains, briefly showing the empty-slot state. If SSR is adopted,
77
+ // move this into willUpdate (or a second requestUpdate in firstUpdated).
78
+ queueMicrotask(() => {
79
+ syncContent();
80
+ syncActions();
81
+ });
72
82
  }
73
83
  render() {
74
84
  return inlineDialogTemplate(this);
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,4BAA4B,CAAC;AACpC,OAAO,4CAA4C,CAAC;AAO7C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,U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EAAE,CAAC;sDACpB;AAGlD;IADC,KAAK,EAAE;qDACY;AAGpB;IADC,KAAK,EAAE;qDACY;AA5BR,gBAAgB;IAD5B,aAAa,CAAC,oBAAoB,CAAC;GACvB,gBAAgB,CA8D5B"}
1
+ {"version":3,"file":"inline-dialog.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,4BAA4B,CAAC;AACpC,OAAO,4CAA4C,CAAC;AAO7C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAIN,YAAO,GAA6B,EAAE,CAAC;QAGvC,SAAI,GAAqB,IAAI,CAAC;QAG9B,SAAI,GAAG,EAAE,CAAC;QAGV,cAAS,GAA+B,EAAE,CAAC;QAG3C,SAAI,GAAG,EAAE,CAAC;QAGV,mBAAc,GAAG,EAAE,CAAC;QAGpB,iBAAY,GAAiC,IAAI,CAAC;QAGlD,gBAAW,GAAG,KAAK,CAAC;QAGpB,gBAAW,GAAG,KAAK,CAAC;IA4CrB,CAAC;IA1CA,IAAI,iBAAiB;QACpB,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO;YAAE,OAAO,OAAO,CAAC;QAC7C,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS;YAAE,OAAO,SAAS,CAAC;QACjD,IAAI,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,IAAI,CAAC;QAChC,OAAO,EAAE,CAAC;IACX,CAAC;IAEQ,YAAY;QACpB,MAAM,WAAW,GAA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AM;QACd,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;;AAtEe,uBAAM,GAAG,kBAAkB,AAArB,CAAsB;AAG5C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDACH;AAGvC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CACZ;AAG9B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAChC;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;mDACxB;AAG3C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAChC;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;wDACpD;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;sDACpB;AAGlD;IADC,KAAK,EAAE;qDACY;AAGpB;IADC,KAAK,EAAE;qDACY;AA5BR,gBAAgB;IAD5B,aAAa,CAAC,oBAAoB,CAAC;GACvB,gBAAgB,CAwE5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,yBA2H9B,CAAC"}
1
+ {"version":3,"file":"inline-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,yBA8H9B,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import { css } from 'lit';
2
- import { inheritedTextReset } from '../../../assets/styles/slotted-reset.js';
2
+ import { inheritedTextReset } from '../../../assets/styles/style-resets.js';
3
3
  export const inlineDialogStyles = css `
4
+ :host {
5
+ box-sizing: border-box;
6
+ }
4
7
 
5
8
 
6
9
  /* # Host */
@@ -1 +1 @@
1
- {"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;IAWjC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHrB,CAAC"}
1
+ {"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;IAcjC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHrB,CAAC"}
@@ -0,0 +1,124 @@
1
+ /**
2
+ * Nederlandse Digitale Dienst Just in Time Education Component (Lit + TypeScript)
3
+ *
4
+ * Een guided-discovery coach-mark. Plaats een control (bijv. nldd-search-field)
5
+ * in de default slot; zolang `active` is gezet tilt het component een callout
6
+ * (titel + supporting text + dismiss) in de top layer via de Popover API
7
+ * (`popover="manual"`), geankerd aan het control met Floating UI. Geen backdrop,
8
+ * non-modaal: de achtergrond blijft interactief. Het control zelf blijft op zijn
9
+ * plek in de flow staan.
10
+ *
11
+ * Met `dismissable` beheert het component het sluiten en vuurt het nldd-close:
12
+ * - de gebruiker voert de geadviseerde interactie uit op het control -> close{completed}
13
+ * - de dismiss-knop -> close{dismissed}
14
+ * - een klik/toets BUITEN de coach-mark -> close{ignored}
15
+ * Zonder `dismissable` sluit niets vanzelf (geen knop, geen buiten- of slot-klik);
16
+ * dan bepaalt de consumer het sluiten zelf via `active` of `complete()`. `complete()`
17
+ * werkt altijd en sluit met close{completed} (bijv. pas bij een echte zoekopdracht).
18
+ *
19
+ * @element nldd-just-in-time-education
20
+ * @attr {boolean} active - Toon de coach-mark. App-gestuurd; standaard false.
21
+ * @attr {string} text - Titel van de callout.
22
+ * @attr {string} supporting-text - Ondersteunende tekst onder de titel.
23
+ * @attr {string} placement - 'auto' | 'top' | 'bottom' | 'left' | 'right' (standaard 'auto').
24
+ * @attr {boolean} dismissable - Toon de dismiss-knop en sta sluiten toe via 1 klik/toets buiten de coach-mark. Standaard false: dan beheert de consumer het sluiten zelf.
25
+ * @attr {string} arrow-length - Pijllengte en dus de afstand tussen card en control, als CSS-lengte (bijv. \`333px\`, \`30vh\`). Leeg = DS-standaard; onder 40px wordt geklemd.
26
+ * @attr {boolean} no-arrow - Verberg de pijl; de card staat dan dicht tegen het control.
27
+ *
28
+ * @slot - Het control waar de coach-mark naar wijst (blijft in de normale flow).
29
+ *
30
+ * @fires nldd-close - Wanneer de coach-mark sluit. detail: { reason: 'completed' | 'dismissed' | 'ignored' }.
31
+ *
32
+ * @note Rendert via de native Popover API (`popover="manual"`) in de top layer,
33
+ * dus het escapet ancestor stacking contexts en `overflow: hidden` clipping.
34
+ * Positionering via Floating UI met `position: absolute` (default strategy) +
35
+ * `autoUpdate`: de callout staat in de documentstroom en scrollt native mee met
36
+ * de pagina, dus scrollen vraagt geen herpositionering. De kant wordt bepaald uit
37
+ * de beschikbare ruimte (horizontaal de viewport, verticaal het hele document)
38
+ * bij openen en bij window-resize.
39
+ *
40
+ * @note Focus-model (dismissable): de callout is een bewust NIET-modale dialog
41
+ * (`role="dialog"`, geen `aria-modal`, geen focus-trap). Bij openen gaat focus
42
+ * erin zodat de dismiss-knop bereikbaar is en Escape sluit; Tab verlaat de callout
43
+ * daarna expres naar de pagina, want de coach-mark wijst naar een control dat de
44
+ * gebruiker moet kunnen bereiken, dus focus vasthouden zou het doel ondermijnen.
45
+ * Niet-dismissable gebruikt een benoemde `role="region"` (aria-label = de titel) en
46
+ * verplaatst focus nooit; de polite live region kondigt de tip aan.
47
+ */
48
+ import { LitElement } from 'lit';
49
+ import type { PropertyValues } from 'lit';
50
+ import '../../actions/icon-button/icon-button.js';
51
+ type Placement = 'auto' | 'top' | 'bottom' | 'left' | 'right';
52
+ export type JustInTimeEducationCloseReason = 'completed' | 'dismissed' | 'ignored';
53
+ declare const NLDDJustInTimeEducation_base: (abstract new (...args: any[]) => LitElement & {
54
+ translations: Partial<{
55
+ 'components.just-in-time-education.accessible-label': string;
56
+ 'components.just-in-time-education.dismiss-action': string;
57
+ }>;
58
+ _t(key: "components.just-in-time-education.accessible-label" | "components.just-in-time-education.dismiss-action", vars?: Record<string, string | number>): string;
59
+ }) & typeof LitElement;
60
+ export declare class NLDDJustInTimeEducation extends NLDDJustInTimeEducation_base {
61
+ static styles: import("lit").CSSResult;
62
+ private static readonly _ownAttributes;
63
+ active: boolean;
64
+ text: string;
65
+ supportingText: string;
66
+ placement: Placement;
67
+ dismissable: boolean;
68
+ arrowLength: string;
69
+ noArrow: boolean;
70
+ private _cleanupAutoUpdate;
71
+ private _attachTimeout;
72
+ private _attributeObserver;
73
+ private _boundDocumentInteraction;
74
+ private _resolvedSide;
75
+ private _lastViewportWidth;
76
+ private _lastViewportHeight;
77
+ readonly _arrowMarkerId: string;
78
+ updated(changed: PropertyValues): void;
79
+ private get _containerEl();
80
+ private get _cardEl();
81
+ private get _announcerEl();
82
+ private _getControl;
83
+ private _getControls;
84
+ /** Mirror one host attribute onto the slotted control(s) — or remove it —
85
+ * unless the component owns that attribute. */
86
+ private _forwardAttribute;
87
+ /** Forward every non-owned host attribute to the slotted control(s); run on
88
+ * slotchange so a freshly slotted control catches up with what's already set. */
89
+ _handleSlotChange(): void;
90
+ private _open;
91
+ private _closePopover;
92
+ private _startPositioning;
93
+ private _stopPositioning;
94
+ private _updatePosition;
95
+ private _chooseSide;
96
+ private _updateArrow;
97
+ /** Route 1: the advised interaction on the slotted control (only when
98
+ * dismissable; otherwise the consumer drives completion via complete()).
99
+ * A mouse click fires pointerdown then focusin, both landing here; the
100
+ * !this.active guard makes the second call a no-op so 'completed' fires once. */
101
+ _handleAdvisedInteraction(): void;
102
+ /** Route 2: a click/keystroke outside the coach-mark (only when dismissable). */
103
+ private _handleDocumentInteraction;
104
+ /** Route 3: the dismiss button. */
105
+ _handleDismiss(): void;
106
+ /** Escape while focus is inside the callout dismisses it (the ARIA non-modal
107
+ * dialog expectation). The document capture listener (route 2) treats inside
108
+ * events as not-outside and bails, so Escape is handled here. stopPropagation
109
+ * keeps it from also closing an ancestor (e.g. a modal the coach-mark sits in). */
110
+ _handleCalloutKeydown(e: KeyboardEvent): void;
111
+ /** Programmatically mark the advised interaction as done (success close). */
112
+ complete(): void;
113
+ private _close;
114
+ connectedCallback(): void;
115
+ disconnectedCallback(): void;
116
+ render(): import("lit-html").TemplateResult;
117
+ }
118
+ declare global {
119
+ interface HTMLElementTagNameMap {
120
+ 'nldd-just-in-time-education': NLDDJustInTimeEducation;
121
+ }
122
+ }
123
+ export {};
124
+ //# sourceMappingURL=just-in-time-education.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"just-in-time-education.d.ts","sourceRoot":"","sources":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AO,CAAC,KAAK;IA8Bb,OAAO,CAAC,aAAa;IAoBrB,OAAO,CAAC,iBAAiB;IAczB,OAAO,CAAC,gBAAgB;YAMV,eAAe;IAwF7B,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,YAAY;IAiFpB;;;sFAGkF;IAClF,yBAAyB,IAAI,IAAI;IAKjC,iFAAiF;IACjF,OAAO,CAAC,0BAA0B;IASlC,mCAAmC;IACnC,cAAc,IAAI,IAAI;IAItB;;;wFAGoF;IACpF,qBAAqB,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAM7C,6EAA6E;IAC7E,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,MAAM;IASL,iBAAiB,IAAI,IAAI;IAezB,oBAAoB,IAAI,IAAI;IAM5B,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,6BAA6B,EAAE,uBAAuB,CAAC;KACvD;CACD"}
@@ -0,0 +1,6 @@
1
+ export declare const nlddJustInTimeEducationTranslations: {
2
+ 'components.just-in-time-education.accessible-label': string;
3
+ 'components.just-in-time-education.dismiss-action': string;
4
+ };
5
+ export type NLDDJustInTimeEducationTranslations = typeof nlddJustInTimeEducationTranslations;
6
+ //# sourceMappingURL=just-in-time-education.i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"just-in-time-education.i18n.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC;;;CAG/C,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC"}