@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
@@ -7,15 +7,40 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  /**
8
8
  * Nederlandse Digitale Dienst Hero Component (Lit + TypeScript)
9
9
  *
10
- * A page header with a media area and a text panel (the main) that can stand in
11
- * six positions. Every area is rectangular.
10
+ * The section that says what a page is for: it names the main goal of what
11
+ * you can find there, draws the eye and is the visual welcome. It has a media
12
+ * area and a text panel (the main) that can stand in eight positions. Every
13
+ * area is rectangular. Use it on pages where a visitor first has to know where
14
+ * they are, such as a home or a topic page; where the title already does
15
+ * that, a section with a title is enough.
12
16
  *
13
- * With `main-width="full"` the media area sits as its own strip above or below
14
- * the panel rather than behind it. On mobile the media always stacks above the
15
- * full-width panel. Without media the main fills the whole area; with
17
+ * The image in a hero sets the mood and is never the main content, so the
18
+ * panel always stands on it. Over an image the panel keeps a section gap from
19
+ * its edges, so it reads as a panel on the image rather than a frame cut out of
20
+ * it; with `main-width="full"` it is a strip across the whole image, the same
21
+ * gap from the sides. On mobile the image comes first and the panel below it,
22
+ * indented by the section gap and overlapping the image by 48px. For an
23
+ * image beside text without that relation, use a section with an image beside
24
+ * text instead. Without media the main fills the whole area; with
16
25
  * `main-background="base"` that area gets a border so it stays visible on the
17
26
  * base surface.
18
27
  *
28
+ * The hero is the head of a page and sits right under the top bar, so its top
29
+ * padding is half that of the other page sections: the full distance is meant
30
+ * to separate two sections, and under the top bar it reads as a gap. The
31
+ * bottom keeps the full distance to the section below. Set `padding-top` to
32
+ * place a hero elsewhere.
33
+ *
34
+ * By default the panel falls over the bottom of the image and runs on below it
35
+ * (`layout="overlap"`), so the image keeps its height whatever the content.
36
+ * `layout="contained"` keeps the panel on the image, for a short panel or one
37
+ * that stands at the top or along a side.
38
+ *
39
+ * The height of a hero comes from its image: `media-aspect-ratio`, or a fixed
40
+ * `media-height`. The `height` of the other page sections is not used here: as
41
+ * a minimum height for the whole hero it stretched the panel once that sat
42
+ * below the image. A hero given `height` says so in development.
43
+ *
19
44
  * `main-background` gives the panel a surface color from the filled categories.
20
45
  * Those carry a pure white or black content color along, so components with
21
46
  * `color="inherit"` (title, rich-text) are guaranteed to keep their contrast.
@@ -24,17 +49,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
24
49
  *
25
50
  * @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
26
51
  * @attr {string} width - Body max-width; 'full' removes the bound (section API)
27
- * @attr {string} height - Minimum height of the section (section API)
52
+ * @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
28
53
  * @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
54
+ * @attr {'contained'|'overlap'} layout - How the panel relates to the image (default: 'overlap'). 'contained' keeps it on the image, in any of the eight positions; 'overlap' lets it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content. In 'overlap' the image has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and only the horizontal side of `main-position` counts. A panel shorter than `overlap-size` ends inside the image and says so in development
29
55
  * @attr {string} main-background - Surface color of the panel: 'base' (the base surface)
30
56
  * or a category color — 'accent' (default) or a Rijkshuisstijl color such as
31
57
  * 'lintblauw'|'donkerblauw'|'oranje'
32
- * @attr {'1/2'|'2/3'|'3/4'|'full'} main-width - Width of the panel (default: '1/2');
33
- * 'full' makes a full top or bottom strip and is ignored with 'left'/'right'
34
- * @attr {'top-left'|'top-right'|'bottom-left'|'bottom-right'|'left'|'right'} main-position -
58
+ * @attr {string} main-width - Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto'
59
+ * @attr {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'|'left'|'right'} main-position -
35
60
  * Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height
61
+ * @attr {string} overlap-size - With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image
36
62
  * @attr {string} media-aspect-ratio - Aspect ratio of the media area (CSS form, '16/9' or '16:9');
37
63
  * default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area
64
+ * @attr {string} media-height - Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio
38
65
  * @attr {string} media-src - Source of the media area (an alternative to the media slot);
39
66
  * ignored as soon as the media slot is filled
40
67
  * @attr {string} media-srcset - Responsive source set for media-src
@@ -52,17 +79,30 @@ import { PageSectionMixin } from '../../../../utilities/page-section-mixin.js';
52
79
  import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
53
80
  import { heroStyles } from './hero.styles.js';
54
81
  import { heroTemplate } from './hero.template.js';
82
+ const CSS_WIDE_KEYWORDS = new Set(['inherit', 'initial', 'unset', 'revert', 'revert-layer']);
83
+ /**
84
+ * Whether `property` takes `value` as a value of its own. CSS.supports alone
85
+ * also says yes to the CSS-wide keywords, for any property; written into a
86
+ * custom property those would not fall back to the default but resolve to
87
+ * something else.
88
+ */
89
+ function takesValue(property, value) {
90
+ return !CSS_WIDE_KEYWORDS.has(value.trim().toLowerCase()) && CSS.supports(property, value);
91
+ }
55
92
  let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
56
93
  constructor() {
57
94
  super(...arguments);
58
95
  /** Width mode: 'full' (removes body max-width) or any CSS length. */
59
96
  this.width = '';
97
+ this.layout = 'overlap';
60
98
  this.mainBackground = 'accent';
61
- this.mainWidth = '1/2';
99
+ this.mainWidth = 'auto';
62
100
  this.mainPosition = 'bottom-left';
63
101
  /** Media aspect-ratio in CSS form ('16/9' or '16:9'); default '21/9'. Drives
64
102
  * the hero height on md/lg and the media strip height on sm. */
65
103
  this.mediaAspectRatio = '';
104
+ this.overlapSize = '';
105
+ this.mediaHeight = '';
66
106
  /** Hybrid media source: media-src renders an internal <img>, but a slotted
67
107
  * media element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt
68
108
  * feed that internal img. */
@@ -71,6 +111,11 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
71
111
  this.mediaSizes = '';
72
112
  this.mediaAlt = '';
73
113
  this._slotHasMedia = false;
114
+ /** DEV-only latch for the `height` warning. */
115
+ this._warnedHeight = false;
116
+ /** DEV-only: watches an overlap hero for a panel that does not reach below its image. */
117
+ this._overlapObserver = null;
118
+ this._warnedOverlap = false;
74
119
  }
75
120
  /** Media is present when the slot has content or media-src is set. */
76
121
  get _hasMedia() {
@@ -81,32 +126,121 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
81
126
  // The stylesheet only keys off whether media is present.
82
127
  this.toggleAttribute('data-has-media', this._hasMedia);
83
128
  }
129
+ connectedCallback() {
130
+ super.connectedCallback();
131
+ if (import.meta.env?.DEV && this.hasUpdated)
132
+ this._watchOverlap();
133
+ }
134
+ disconnectedCallback() {
135
+ super.disconnectedCallback();
136
+ this._overlapObserver?.disconnect();
137
+ this._overlapObserver = null;
138
+ // A hero that comes back is watched again, so it may warn again.
139
+ this._warnedOverlap = false;
140
+ }
84
141
  updated(changed) {
85
142
  super.updated(changed);
86
143
  if (changed.has('width')) {
87
144
  // Same contract as the other page sections: the keyword 'full' is
88
- // handled by CSS; CSS lengths feed --_max-width inline.
145
+ // handled by CSS; CSS lengths feed --_hero-max-width inline.
89
146
  const w = this.width;
90
- if (w && w !== 'full' && CSS.supports('max-width', w)) {
91
- this.style.setProperty('--_max-width', w);
147
+ if (w && w !== 'full' && takesValue('max-width', w)) {
148
+ this.style.setProperty('--_hero-max-width', w);
149
+ }
150
+ else {
151
+ this.style.removeProperty('--_hero-max-width');
152
+ }
153
+ }
154
+ if (import.meta.env?.DEV && changed.has('layout'))
155
+ this._watchOverlap();
156
+ if (changed.has('mainWidth')) {
157
+ const width = (this.mainWidth ?? '').trim();
158
+ const length = width !== '' && width !== 'auto' && width !== 'full';
159
+ const valid = length && takesValue('width', width);
160
+ if (valid)
161
+ this.style.setProperty('--_hero-main-width', width);
162
+ else
163
+ this.style.removeProperty('--_hero-main-width');
164
+ this.toggleAttribute('data-main-width-length', valid);
165
+ if (import.meta.env?.DEV && length && !valid) {
166
+ console.warn(`<nldd-hero>: main-width="${width}" is not "auto", "full" or a CSS width, and falls back to "auto", which follows the content between 480px and 640px.`, this);
167
+ }
168
+ }
169
+ if (changed.has('overlapSize')) {
170
+ const size = (this.overlapSize ?? '').trim();
171
+ if (size && takesValue('margin-top', size)) {
172
+ this.style.setProperty('--_hero-overlap-size', size);
92
173
  }
93
174
  else {
94
- this.style.removeProperty('--_max-width');
175
+ this.style.removeProperty('--_hero-overlap-size');
176
+ }
177
+ }
178
+ if (changed.has('mediaHeight')) {
179
+ const height = (this.mediaHeight ?? '').trim();
180
+ if (height && takesValue('height', height)) {
181
+ this.style.setProperty('--_hero-media-height', height);
182
+ }
183
+ else {
184
+ this.style.removeProperty('--_hero-media-height');
185
+ }
186
+ }
187
+ if (changed.has('height') && this.height) {
188
+ // The section API turns `height` into the host's min-height; a hero
189
+ // takes its height from its image instead.
190
+ this.style.removeProperty('min-height');
191
+ if (import.meta.env?.DEV && !this._warnedHeight) {
192
+ this._warnedHeight = true;
193
+ console.warn('<nldd-hero>: `height` is not used on a hero, whose height comes from its image. Use `media-height` for a fixed height, or `media-aspect-ratio`.', this);
95
194
  }
96
195
  }
97
196
  if (changed.has('mediaAspectRatio')) {
98
197
  // Accept '16:9' as well as '16/9' (like nldd-image). Clearing the
99
198
  // attribute makes Lit set the property to null, so guard with ?? '';
100
- // the empty value falls back to the stylesheet's --_media-aspect-ratio.
199
+ // the empty value falls back to the stylesheet's --_hero-media-aspect-ratio.
101
200
  const ratio = (this.mediaAspectRatio ?? '').replace(':', '/').trim();
102
- if (ratio && CSS.supports('aspect-ratio', ratio)) {
103
- this.style.setProperty('--_media-aspect-ratio', ratio);
201
+ if (ratio && takesValue('aspect-ratio', ratio)) {
202
+ this.style.setProperty('--_hero-media-aspect-ratio', ratio);
104
203
  }
105
204
  else {
106
- this.style.removeProperty('--_media-aspect-ratio');
205
+ this.style.removeProperty('--_hero-media-aspect-ratio');
107
206
  }
108
207
  }
109
208
  }
209
+ _watchOverlap() {
210
+ const watch = this.layout !== 'contained' && typeof ResizeObserver !== 'undefined';
211
+ if (!watch) {
212
+ this._overlapObserver?.disconnect();
213
+ this._overlapObserver = null;
214
+ return;
215
+ }
216
+ if (this._overlapObserver)
217
+ return;
218
+ const media = this.shadowRoot?.querySelector('.hero__media');
219
+ const main = this.shadowRoot?.querySelector('.hero__main');
220
+ if (!media || !main)
221
+ return;
222
+ this._overlapObserver = new ResizeObserver(() => this._checkOverlap(media, main));
223
+ this._overlapObserver.observe(media);
224
+ this._overlapObserver.observe(main);
225
+ }
226
+ /**
227
+ * In an overlap hero the panel is meant to run on below the image. When it
228
+ * ends inside it, the content is shorter than `overlap-size`; the consumer
229
+ * decides how far it runs on, so this only says so, in development.
230
+ */
231
+ _checkOverlap(media, main) {
232
+ if (!this._hasMedia || getComputedStyle(media).position === 'static')
233
+ return;
234
+ const falls = main.getBoundingClientRect().bottom <= media.getBoundingClientRect().bottom;
235
+ if (!falls) {
236
+ this._warnedOverlap = false;
237
+ return;
238
+ }
239
+ if (this._warnedOverlap)
240
+ return;
241
+ this._warnedOverlap = true;
242
+ console.warn('<nldd-hero>: With layout="overlap" the panel is shorter than `overlap-size` and ends inside the image. Give it more content or a smaller `overlap-size`, or set layout="contained" to keep the panel on the image.', this);
243
+ }
110
244
  /** @internal Tracks the media slot so the no-media mode can collapse it. */
111
245
  _onMediaSlotChange(e) {
112
246
  const slot = e.target;
@@ -118,20 +252,29 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
118
252
  };
119
253
  NLDDHero.styles = heroStyles;
120
254
  __decorate([
121
- property({ type: String, reflect: true })
255
+ property({ reflect: true, converter: reflectNonDefault('') })
122
256
  ], NLDDHero.prototype, "width", void 0);
257
+ __decorate([
258
+ property({ reflect: true, converter: reflectNonDefault('overlap') })
259
+ ], NLDDHero.prototype, "layout", void 0);
123
260
  __decorate([
124
261
  property({ reflect: true, attribute: 'main-background', converter: reflectNonDefault('accent') })
125
262
  ], NLDDHero.prototype, "mainBackground", void 0);
126
263
  __decorate([
127
- property({ reflect: true, attribute: 'main-width', converter: reflectNonDefault('1/2') })
264
+ property({ reflect: true, attribute: 'main-width', converter: reflectNonDefault('auto') })
128
265
  ], NLDDHero.prototype, "mainWidth", void 0);
129
266
  __decorate([
130
267
  property({ reflect: true, attribute: 'main-position', converter: reflectNonDefault('bottom-left') })
131
268
  ], NLDDHero.prototype, "mainPosition", void 0);
132
269
  __decorate([
133
- property({ type: String, reflect: true, attribute: 'media-aspect-ratio' })
270
+ property({ reflect: true, attribute: 'media-aspect-ratio', converter: reflectNonDefault('') })
134
271
  ], NLDDHero.prototype, "mediaAspectRatio", void 0);
272
+ __decorate([
273
+ property({ reflect: true, attribute: 'overlap-size', converter: reflectNonDefault('') })
274
+ ], NLDDHero.prototype, "overlapSize", void 0);
275
+ __decorate([
276
+ property({ reflect: true, attribute: 'media-height', converter: reflectNonDefault('') })
277
+ ], NLDDHero.prototype, "mediaHeight", void 0);
135
278
  __decorate([
136
279
  property({ type: String, attribute: 'media-src' })
137
280
  ], NLDDHero.prototype, "mediaSrc", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAc3C,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAAnD;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;QAGX,mBAAc,GAAuB,QAAQ,CAAC;QAG9C,cAAS,GAAkB,KAAK,CAAC;QAGjC,iBAAY,GAAqB,aAAa,CAAC;QAE/C;yEACiE;QAEjE,qBAAgB,GAAG,EAAE,CAAC;QAEtB;;sCAE8B;QAE9B,aAAQ,GAAG,EAAE,CAAC;QAGd,gBAAW,GAAG,EAAE,CAAC;QAGjB,eAAU,GAAG,EAAE,CAAC;QAGhB,aAAQ,GAAG,EAAE,CAAC;QAGd,kBAAa,GAA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CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;0CACrC;AAGd;IADC,KAAK,EAAE;+CACc;AA9CV,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAuLpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,yBAoXtB,CAAC"}
1
+ {"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,yBA0atB,CAAC"}