@nldd/design-system 0.8.56 → 0.8.58

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 (348) hide show
  1. package/dist/components/actions/button/button.d.ts +13 -4
  2. package/dist/components/actions/button/button.d.ts.map +1 -1
  3. package/dist/components/actions/button/button.js +23 -3
  4. package/dist/components/actions/button/button.js.map +1 -1
  5. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  6. package/dist/components/actions/button/button.styles.js +352 -87
  7. package/dist/components/actions/button/button.styles.js.map +1 -1
  8. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  9. package/dist/components/actions/button/button.template.js +33 -17
  10. package/dist/components/actions/button/button.template.js.map +1 -1
  11. package/dist/components/actions/button-bar/button-bar.d.ts +2 -2
  12. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  13. package/dist/components/actions/button-bar/button-bar.js +3 -1
  14. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  15. package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
  16. package/dist/components/actions/button-bar/button-bar.styles.js +28 -4
  17. package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
  18. package/dist/components/actions/button-bar/button-bar.template.d.ts.map +1 -1
  19. package/dist/components/actions/button-bar/button-bar.template.js +4 -1
  20. package/dist/components/actions/button-bar/button-bar.template.js.map +1 -1
  21. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  22. package/dist/components/actions/button-group/button-group.styles.js +4 -2
  23. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  24. package/dist/components/actions/icon-button/icon-button.d.ts +15 -5
  25. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  26. package/dist/components/actions/icon-button/icon-button.js +24 -4
  27. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  28. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  29. package/dist/components/actions/icon-button/icon-button.styles.js +195 -63
  30. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  31. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  32. package/dist/components/actions/icon-button/icon-button.template.js +4 -2
  33. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  34. package/dist/components/actions/menu/menu.d.ts +9 -0
  35. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  36. package/dist/components/actions/menu/menu.js +27 -2
  37. package/dist/components/actions/menu/menu.js.map +1 -1
  38. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  39. package/dist/components/actions/menu/menu.template.js +17 -5
  40. package/dist/components/actions/menu/menu.template.js.map +1 -1
  41. package/dist/components/actions/split-button/split-button.d.ts +30 -20
  42. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  43. package/dist/components/actions/split-button/split-button.js +73 -49
  44. package/dist/components/actions/split-button/split-button.js.map +1 -1
  45. package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
  46. package/dist/components/actions/split-button/split-button.styles.js +39 -3
  47. package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
  48. package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
  49. package/dist/components/actions/split-button/split-button.template.js +6 -1
  50. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  51. package/dist/components/actions/toolbar/toolbar.d.ts +91 -14
  52. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  53. package/dist/components/actions/toolbar/toolbar.js +299 -103
  54. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  55. package/dist/components/actions/toolbar/toolbar.styles.d.ts +2 -0
  56. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  57. package/dist/components/actions/toolbar/toolbar.styles.js +109 -41
  58. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  59. package/dist/components/actions/toolbar/toolbar.template.d.ts +7 -4
  60. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  61. package/dist/components/actions/toolbar/toolbar.template.js +22 -69
  62. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  63. package/dist/components/components.js +88 -85
  64. package/dist/components/content/blockquote/blockquote.d.ts +3 -1
  65. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  66. package/dist/components/content/blockquote/blockquote.js +12 -1
  67. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  68. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  69. package/dist/components/content/blockquote/blockquote.styles.js +4 -0
  70. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  71. package/dist/components/content/blockquote/blockquote.template.js +1 -1
  72. package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
  73. package/dist/components/content/byline/byline.d.ts +53 -0
  74. package/dist/components/content/byline/byline.d.ts.map +1 -0
  75. package/dist/components/content/byline/byline.js +90 -0
  76. package/dist/components/content/byline/byline.js.map +1 -0
  77. package/dist/components/content/byline/byline.styles.d.ts +2 -0
  78. package/dist/components/content/byline/byline.styles.d.ts.map +1 -0
  79. package/dist/components/content/byline/byline.styles.js +94 -0
  80. package/dist/components/content/byline/byline.styles.js.map +1 -0
  81. package/dist/components/content/byline/byline.template.d.ts +3 -0
  82. package/dist/components/content/byline/byline.template.d.ts.map +1 -0
  83. package/dist/components/content/byline/byline.template.js +23 -0
  84. package/dist/components/content/byline/byline.template.js.map +1 -0
  85. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  86. package/dist/components/content/code-viewer/code-viewer.styles.js +8 -0
  87. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  88. package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
  89. package/dist/components/content/code-viewer/code-viewer.template.js +4 -1
  90. package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
  91. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  92. package/dist/components/content/icon/icon-aliases.js +48 -2
  93. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  94. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  95. package/dist/components/content/icon/icon-registry.js +37 -2
  96. package/dist/components/content/icon/icon-registry.js.map +1 -1
  97. package/dist/components/content/image/image.d.ts +1 -1
  98. package/dist/components/content/image/image.d.ts.map +1 -1
  99. package/dist/components/content/image/image.i18n.d.ts +1 -1
  100. package/dist/components/content/image/image.i18n.js +1 -1
  101. package/dist/components/content/image/image.i18n.js.map +1 -1
  102. package/dist/components/content/image/image.js +7 -2
  103. package/dist/components/content/image/image.js.map +1 -1
  104. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  105. package/dist/components/content/image/image.styles.js +21 -30
  106. package/dist/components/content/image/image.styles.js.map +1 -1
  107. package/dist/components/content/image/image.template.d.ts.map +1 -1
  108. package/dist/components/content/image/image.template.js +7 -12
  109. package/dist/components/content/image/image.template.js.map +1 -1
  110. package/dist/components/content/image/lqip-encoder-element.js +2 -2
  111. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.d.ts.map +1 -1
  112. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js +3 -1
  113. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js.map +1 -1
  114. package/dist/components/content/rich-text/rich-text.d.ts +16 -0
  115. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  116. package/dist/components/content/rich-text/rich-text.js +19 -0
  117. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  118. package/dist/components/content/tag/tag.d.ts +2 -2
  119. package/dist/components/content/tag/tag.d.ts.map +1 -1
  120. package/dist/components/content/tag/tag.js +1 -1
  121. package/dist/components/content/tag/tag.js.map +1 -1
  122. package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
  123. package/dist/components/content/tag/tag.styles.js +81 -51
  124. package/dist/components/content/tag/tag.styles.js.map +1 -1
  125. package/dist/components/content/title/title.d.ts +6 -0
  126. package/dist/components/content/title/title.d.ts.map +1 -1
  127. package/dist/components/content/title/title.js +8 -0
  128. package/dist/components/content/title/title.js.map +1 -1
  129. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  130. package/dist/components/content/title/title.styles.js +15 -0
  131. package/dist/components/content/title/title.styles.js.map +1 -1
  132. package/dist/components/{index-C3JellW2.js → index-C2jQOZa6.js} +4782 -2608
  133. package/dist/components/index.d.ts +3 -0
  134. package/dist/components/index.d.ts.map +1 -1
  135. package/dist/components/index.js +3 -0
  136. package/dist/components/index.js.map +1 -1
  137. package/dist/components/inputs/checkbox/checkbox.template.d.ts.map +1 -1
  138. package/dist/components/inputs/checkbox/checkbox.template.js +9 -3
  139. package/dist/components/inputs/checkbox/checkbox.template.js.map +1 -1
  140. package/dist/components/inputs/combo-box/combo-box.styles.js +1 -1
  141. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  142. package/dist/components/inputs/dropdown/dropdown.styles.js +31 -18
  143. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  144. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -1
  145. package/dist/components/inputs/password-field/password-field.styles.js +1 -1
  146. package/dist/components/inputs/radio-button/radio-button.template.d.ts.map +1 -1
  147. package/dist/components/inputs/radio-button/radio-button.template.js +3 -1
  148. package/dist/components/inputs/radio-button/radio-button.template.js.map +1 -1
  149. package/dist/components/inputs/search-field/search-field.styles.js +1 -1
  150. package/dist/components/inputs/segmented-control/segmented-control.d.ts +5 -4
  151. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  152. package/dist/components/inputs/segmented-control/segmented-control.js +4 -3
  153. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  154. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  155. package/dist/components/inputs/segmented-control/segmented-control.styles.js +59 -9
  156. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  157. package/dist/components/inputs/segmented-control/segmented-control.template.js +3 -3
  158. package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
  159. package/dist/components/inputs/stepper/stepper.styles.d.ts.map +1 -1
  160. package/dist/components/inputs/stepper/stepper.styles.js +16 -5
  161. package/dist/components/inputs/stepper/stepper.styles.js.map +1 -1
  162. package/dist/components/inputs/stepper/stepper.template.d.ts.map +1 -1
  163. package/dist/components/inputs/stepper/stepper.template.js +2 -0
  164. package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
  165. package/dist/components/inputs/text-field/text-field.styles.js +1 -1
  166. package/dist/components/inputs/toggle-button/toggle-button.d.ts +4 -3
  167. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  168. package/dist/components/inputs/toggle-button/toggle-button.js +3 -2
  169. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  170. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  171. package/dist/components/inputs/toggle-button/toggle-button.styles.js +53 -17
  172. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  173. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  174. package/dist/components/inputs/toggle-button/toggle-button.template.js +11 -6
  175. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  176. package/dist/components/inputs/token/token.styles.d.ts.map +1 -1
  177. package/dist/components/inputs/token/token.styles.js +24 -7
  178. package/dist/components/inputs/token/token.styles.js.map +1 -1
  179. package/dist/components/inputs/token/token.template.d.ts.map +1 -1
  180. package/dist/components/inputs/token/token.template.js +4 -1
  181. package/dist/components/inputs/token/token.template.js.map +1 -1
  182. package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
  183. package/dist/components/layout/collection/collection.template.js +3 -1
  184. package/dist/components/layout/collection/collection.template.js.map +1 -1
  185. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
  186. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  187. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +0 -5
  188. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  189. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.d.ts.map +1 -1
  190. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js +6 -2
  191. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js.map +1 -1
  192. package/dist/components/layout/page-sections/hero/hero.d.ts +92 -0
  193. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -0
  194. package/dist/components/layout/page-sections/hero/hero.js +153 -0
  195. package/dist/components/layout/page-sections/hero/hero.js.map +1 -0
  196. package/dist/components/layout/page-sections/hero/hero.styles.d.ts +2 -0
  197. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -0
  198. package/dist/components/layout/page-sections/hero/hero.styles.js +488 -0
  199. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -0
  200. package/dist/components/layout/page-sections/hero/hero.template.d.ts +4 -0
  201. package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -0
  202. package/dist/components/layout/page-sections/hero/hero.template.js +18 -0
  203. package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -0
  204. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -0
  205. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  206. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  207. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +5 -0
  208. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  209. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.d.ts +1 -1
  210. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.d.ts.map +1 -1
  211. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js +11 -3
  212. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js.map +1 -1
  213. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -0
  214. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  215. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  216. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +5 -0
  217. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  218. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.d.ts +1 -1
  219. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.d.ts.map +1 -1
  220. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js +11 -3
  221. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js.map +1 -1
  222. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
  223. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  224. package/dist/components/layout/page-sections/simple-section/simple-section.js +0 -5
  225. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  226. package/dist/components/layout/page-sections/simple-section/simple-section.template.d.ts.map +1 -1
  227. package/dist/components/layout/page-sections/simple-section/simple-section.template.js +6 -2
  228. package/dist/components/layout/page-sections/simple-section/simple-section.template.js.map +1 -1
  229. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -0
  230. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  231. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  232. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +5 -0
  233. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  234. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.d.ts +1 -1
  235. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.d.ts.map +1 -1
  236. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js +11 -3
  237. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js.map +1 -1
  238. package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
  239. package/dist/components/lists-and-tables/list/list.template.js +3 -1
  240. package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
  241. package/dist/components/lists-and-tables/list-item/list-item.d.ts +3 -4
  242. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  243. package/dist/components/lists-and-tables/list-item/list-item.js +7 -5
  244. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  245. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
  246. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  247. package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -2
  248. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  249. package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
  250. package/dist/components/lists-and-tables/table/table.styles.js +7 -0
  251. package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
  252. package/dist/components/lists-and-tables/table/table.template.d.ts.map +1 -1
  253. package/dist/components/lists-and-tables/table/table.template.js +7 -2
  254. package/dist/components/lists-and-tables/table/table.template.js.map +1 -1
  255. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +46 -22
  256. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  257. package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts +1 -1
  258. package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js +1 -1
  259. package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js.map +1 -1
  260. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +84 -51
  261. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  262. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
  263. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +44 -36
  264. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
  265. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
  266. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +16 -16
  267. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
  268. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
  269. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +39 -19
  270. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
  271. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
  272. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +9 -3
  273. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  274. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  275. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +4 -0
  276. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  277. package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  278. package/dist/components/navigation/pagination/pagination.styles.js +35 -15
  279. package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
  280. package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
  281. package/dist/components/navigation/pagination/pagination.template.js +11 -3
  282. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  283. package/dist/components/navigation/tab-bar/tab-bar.d.ts +11 -4
  284. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  285. package/dist/components/navigation/tab-bar/tab-bar.js +17 -2
  286. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  287. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  288. package/dist/components/navigation/tab-bar/tab-bar.styles.js +74 -18
  289. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  290. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  291. package/dist/components/navigation/tab-bar/tab-bar.template.js +10 -3
  292. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  293. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +4 -4
  294. package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
  295. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +3 -1
  296. package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
  297. package/dist/components/{prism-python-QiimuE8j.js → prism-python-BzzeiWRd.js} +1 -1
  298. package/dist/components/{prism-rust-D4vfxUpk.js → prism-rust-DzgIGUtE.js} +1 -1
  299. package/dist/components/{prism-typescript-Dy2F4cF2.js → prism-typescript-KyVBIohW.js} +1 -1
  300. package/dist/components/status-and-feedback/badge/badge.d.ts +1 -1
  301. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  302. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  303. package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
  304. package/dist/components/status-and-feedback/badge/badge.styles.js +69 -75
  305. package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
  306. package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
  307. package/dist/components/status-and-feedback/banner/banner.styles.js +21 -35
  308. package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
  309. package/dist/components/status-and-feedback/banner/banner.template.d.ts.map +1 -1
  310. package/dist/components/status-and-feedback/banner/banner.template.js +9 -3
  311. package/dist/components/status-and-feedback/banner/banner.template.js.map +1 -1
  312. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +2 -2
  313. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
  314. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +6 -2
  315. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
  316. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -1
  317. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  318. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  319. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  320. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +73 -80
  321. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  322. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -1
  323. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  324. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  325. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
  326. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +48 -50
  327. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
  328. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +1 -1
  329. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  330. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +60 -0
  331. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -0
  332. package/dist/components/status-and-feedback/status-bar/status-bar.js +116 -0
  333. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -0
  334. package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts +2 -0
  335. package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -0
  336. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +142 -0
  337. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -0
  338. package/dist/components/status-and-feedback/status-bar/status-bar.template.d.ts +3 -0
  339. package/dist/components/status-and-feedback/status-bar/status-bar.template.d.ts.map +1 -0
  340. package/dist/components/status-and-feedback/status-bar/status-bar.template.js +32 -0
  341. package/dist/components/status-and-feedback/status-bar/status-bar.template.js.map +1 -0
  342. package/dist/css/rich-text.css +97 -14
  343. package/dist/css/settings.css +566 -373
  344. package/dist/utilities/page-section-mixin.d.ts +1 -0
  345. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  346. package/dist/utilities/page-section-mixin.js +9 -0
  347. package/dist/utilities/page-section-mixin.js.map +1 -1
  348. package/package.json +13 -1
@@ -1,4 +1,4 @@
1
- import { N, a, b, c, d, e, f, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG } from "./index-C3JellW2.js";
1
+ import { N, a, b, c, d, e, f, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ } from "./index-C2jQOZa6.js";
2
2
  export {
3
3
  N as NLDDActivityIndicator,
4
4
  a as NLDDAppView,
@@ -12,88 +12,91 @@ export {
12
12
  j as NLDDButton,
13
13
  k as NLDDButtonBar,
14
14
  l as NLDDButtonGroup,
15
- m as NLDDCard,
16
- n as NLDDCell,
17
- o as NLDDCheckbox,
18
- p as NLDDCheckboxField,
19
- q as NLDDCodeEditor,
20
- r as NLDDCodeViewer,
21
- s as NLDDCollection,
22
- t as NLDDComboBox,
23
- u as NLDDContainer,
24
- v as NLDDDescriptionCell,
25
- w as NLDDDivider,
26
- x as NLDDDocumentTabBar,
27
- y as NLDDDragHandleCell,
28
- z as NLDDDropdown,
29
- A as NLDDForm,
30
- B as NLDDFormActions,
31
- C as NLDDFormField,
32
- D as NLDDFormSection,
33
- E as NLDDFullBleedSection,
34
- F as NLDDIcon,
35
- G as NLDDIconButton,
36
- H as NLDDIconCell,
37
- I as NLDDImage,
38
- J as NLDDInlineDialog,
39
- K as NLDDKeyboardShortcut,
40
- L as NLDDLink,
41
- M as NLDDList,
42
- O as NLDDListItem,
43
- P as NLDDMenu,
44
- Q as NLDDMenuBar,
45
- R as NLDDMenuBarItem,
46
- S as NLDDModalDialog,
47
- T as NLDDMultiLineTextField,
48
- U as NLDDNavigationSplitView,
49
- V as NLDDNumberField,
50
- W as NLDDOneHalfOneHalfSection,
51
- X as NLDDOneThirdTwoThirdsSection,
52
- Y as NLDDPage,
53
- Z as NLDDPageFooter,
54
- _ as NLDDPageFooterLegalBar,
55
- $ as NLDDPageFooterLegalBarItem,
56
- a0 as NLDDPagination,
57
- a1 as NLDDPasswordField,
58
- a2 as NLDDPopover,
59
- a3 as NLDDProgressBar,
60
- a4 as NLDDProgressBarSegmentIndicator,
61
- a5 as NLDDProgressCircle,
62
- a6 as NLDDProgressCircleSegmentIndicator,
63
- a7 as NLDDRadioButton,
64
- a8 as NLDDRadioButtonField,
65
- a9 as NLDDRadioButtonGroup,
66
- aa as NLDDRichText,
67
- ab as NLDDSearchField,
68
- ac as NLDDSegmentedControl,
69
- ad as NLDDSheet,
70
- ae as NLDDSideBySideSplitView,
71
- af as NLDDSimpleSection,
72
- ag as NLDDSkipLink,
73
- ah as NLDDSpacer,
74
- ai as NLDDSpacerCell,
75
- aj as NLDDSplitButton,
76
- ak as NLDDSplitViewPane,
77
- al as NLDDStackedSplitView,
78
- am as NLDDStepper,
79
- an as NLDDSwitch,
80
- ao as NLDDSwitchField,
81
- ap as NLDDTabBar,
82
- aq as NLDDTable,
83
- ar as NLDDTableRow,
84
- as as NLDDTag,
85
- at as NLDDTextCell,
86
- au as NLDDTextField,
87
- av as NLDDTimelineTrackCell,
88
- aw as NLDDTitle,
89
- ax as NLDDTitleCell,
90
- ay as NLDDToggleButton,
91
- az as NLDDToggleButtonGroup,
92
- aA as NLDDToken,
93
- aB as NLDDToolbar,
94
- aC as NLDDTooltip,
95
- aD as NLDDTopNavigationBar,
96
- aE as NLDDTopTitleBar,
97
- aF as NLDDTwoThirdsOneThirdSection,
98
- aG as NLDDWindow
15
+ m as NLDDByline,
16
+ n as NLDDCard,
17
+ o as NLDDCell,
18
+ p as NLDDCheckbox,
19
+ q as NLDDCheckboxField,
20
+ r as NLDDCodeEditor,
21
+ s as NLDDCodeViewer,
22
+ t as NLDDCollection,
23
+ u as NLDDComboBox,
24
+ v as NLDDContainer,
25
+ w as NLDDDescriptionCell,
26
+ x as NLDDDivider,
27
+ y as NLDDDocumentTabBar,
28
+ z as NLDDDragHandleCell,
29
+ A as NLDDDropdown,
30
+ B as NLDDForm,
31
+ C as NLDDFormActions,
32
+ D as NLDDFormField,
33
+ E as NLDDFormSection,
34
+ F as NLDDFullBleedSection,
35
+ G as NLDDHero,
36
+ H as NLDDIcon,
37
+ I as NLDDIconButton,
38
+ J as NLDDIconCell,
39
+ K as NLDDImage,
40
+ L as NLDDInlineDialog,
41
+ M as NLDDKeyboardShortcut,
42
+ O as NLDDLink,
43
+ P as NLDDList,
44
+ Q as NLDDListItem,
45
+ R as NLDDMenu,
46
+ S as NLDDMenuBar,
47
+ T as NLDDMenuBarItem,
48
+ U as NLDDModalDialog,
49
+ V as NLDDMultiLineTextField,
50
+ W as NLDDNavigationSplitView,
51
+ X as NLDDNumberField,
52
+ Y as NLDDOneHalfOneHalfSection,
53
+ Z as NLDDOneThirdTwoThirdsSection,
54
+ _ as NLDDPage,
55
+ $ as NLDDPageFooter,
56
+ a0 as NLDDPageFooterLegalBar,
57
+ a1 as NLDDPageFooterLegalBarItem,
58
+ a2 as NLDDPagination,
59
+ a3 as NLDDPasswordField,
60
+ a4 as NLDDPopover,
61
+ a5 as NLDDProgressBar,
62
+ a6 as NLDDProgressBarSegmentIndicator,
63
+ a7 as NLDDProgressCircle,
64
+ a8 as NLDDProgressCircleSegmentIndicator,
65
+ a9 as NLDDRadioButton,
66
+ aa as NLDDRadioButtonField,
67
+ ab as NLDDRadioButtonGroup,
68
+ ac as NLDDRichText,
69
+ ad as NLDDSearchField,
70
+ ae as NLDDSegmentedControl,
71
+ af as NLDDSheet,
72
+ ag as NLDDSideBySideSplitView,
73
+ ah as NLDDSimpleSection,
74
+ ai as NLDDSkipLink,
75
+ aj as NLDDSpacer,
76
+ ak as NLDDSpacerCell,
77
+ al as NLDDSplitButton,
78
+ am as NLDDSplitViewPane,
79
+ an as NLDDStackedSplitView,
80
+ ao as NLDDStatusBar,
81
+ ap as NLDDStepper,
82
+ aq as NLDDSwitch,
83
+ ar as NLDDSwitchField,
84
+ as as NLDDTabBar,
85
+ at as NLDDTable,
86
+ au as NLDDTableRow,
87
+ av as NLDDTag,
88
+ aw as NLDDTextCell,
89
+ ax as NLDDTextField,
90
+ ay as NLDDTimelineTrackCell,
91
+ az as NLDDTitle,
92
+ aA as NLDDTitleCell,
93
+ aB as NLDDToggleButton,
94
+ aC as NLDDToggleButtonGroup,
95
+ aD as NLDDToken,
96
+ aE as NLDDToolbar,
97
+ aF as NLDDTooltip,
98
+ aG as NLDDTopNavigationBar,
99
+ aH as NLDDTopTitleBar,
100
+ aI as NLDDTwoThirdsOneThirdSection,
101
+ aJ as NLDDWindow
99
102
  };
@@ -7,13 +7,15 @@
7
7
  * @attr {string} cite - URL van de bron (wordt doorgegeven aan het <blockquote> element)
8
8
  *
9
9
  * @slot - De citaat-paragra(a)f(en) — gebruik bij voorkeur <p>-elementen
10
- * @slot attribution - Optionele bronvermelding (auteur, titel, etc.)
10
+ * @slot attribution - Optionele bronvermelding (auteur, titel, etc.). Ook een
11
+ * nldd-byline mag hier; het kastlijntje ("— ") wordt dan weggelaten.
11
12
  */
12
13
  import { LitElement } from 'lit';
13
14
  export declare class NLDDBlockquote extends LitElement {
14
15
  static styles: import("lit").CSSResult;
15
16
  cite: string | undefined;
16
17
  _hasAttribution: boolean;
18
+ _hasBylineAttribution: boolean;
17
19
  /** @internal */
18
20
  _handleAttributionSlotChange: (e: Event) => void;
19
21
  render(): import("lit-html").TemplateResult<1>;
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,cAAe,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAoB;IAG1C,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,eAAe,UAAS;IAExB,gBAAgB;IAChB,4BAA4B,GAAI,GAAG,KAAK,KAAG,IAAI,CAM7C;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,cAAc,CAAC;KAClC;CACD"}
1
+ {"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,cAAe,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAoB;IAG1C,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,eAAe,UAAS;IAGxB,qBAAqB,UAAS;IAE9B,gBAAgB;IAChB,4BAA4B,GAAI,GAAG,KAAK,KAAG,IAAI,CAY7C;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,cAAc,CAAC;KAClC;CACD"}
@@ -7,7 +7,8 @@
7
7
  * @attr {string} cite - URL van de bron (wordt doorgegeven aan het <blockquote> element)
8
8
  *
9
9
  * @slot - De citaat-paragra(a)f(en) — gebruik bij voorkeur <p>-elementen
10
- * @slot attribution - Optionele bronvermelding (auteur, titel, etc.)
10
+ * @slot attribution - Optionele bronvermelding (auteur, titel, etc.). Ook een
11
+ * nldd-byline mag hier; het kastlijntje ("— ") wordt dan weggelaten.
11
12
  */
12
13
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
14
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -24,6 +25,7 @@ let NLDDBlockquote = class NLDDBlockquote extends LitElement {
24
25
  super(...arguments);
25
26
  this.cite = undefined;
26
27
  this._hasAttribution = false;
28
+ this._hasBylineAttribution = false;
27
29
  /** @internal */
28
30
  this._handleAttributionSlotChange = (e) => {
29
31
  const slot = e.target;
@@ -32,6 +34,12 @@ let NLDDBlockquote = class NLDDBlockquote extends LitElement {
32
34
  return true;
33
35
  return (n.textContent ?? '').trim().length > 0;
34
36
  });
37
+ // A byline brings its own layout (avatars + stacked text); the leading
38
+ // em-dash assumes inline text and would wrap onto its own line above
39
+ // the block, so it is suppressed for byline attributions. Matched by
40
+ // tag name rather than instanceof to avoid statically importing (and so
41
+ // bundling) nldd-byline into every blockquote consumer.
42
+ this._hasBylineAttribution = slot.assignedElements({ flatten: true }).some(el => el.tagName === 'NLDD-BYLINE');
35
43
  };
36
44
  }
37
45
  render() {
@@ -45,6 +53,9 @@ __decorate([
45
53
  __decorate([
46
54
  state()
47
55
  ], NLDDBlockquote.prototype, "_hasAttribution", void 0);
56
+ __decorate([
57
+ state()
58
+ ], NLDDBlockquote.prototype, "_hasBylineAttribution", void 0);
48
59
  NLDDBlockquote = __decorate([
49
60
  customElement('nldd-blockquote')
50
61
  ], NLDDBlockquote);
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAIN,SAAI,GAAuB,SAAS,CAAC;QAGrC,oBAAe,GAAG,KAAK,CAAC;QAExB,gBAAgB;QAChB,iCAA4B,GAAG,CAAC,CAAQ,EAAQ,EAAE;YACjD,MAAM,IAAI,GAAG,CAAC,CAAC,MAAyB,CAAC;YACzC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;gBACrE,IAAI,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY;oBAAE,OAAO,IAAI,CAAC;gBAClD,OAAO,CAAC,CAAC,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;YAChD,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC;IAKH,CAAC;IAHS,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;;AAnBe,qBAAM,GAAG,gBAAgB,AAAnB,CAAoB;AAG1C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACU;AAGrC;IADC,KAAK,EAAE;uDACgB;AAPZ,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CAqB1B"}
1
+ {"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAIN,SAAI,GAAuB,SAAS,CAAC;QAGrC,oBAAe,GAAG,KAAK,CAAC;QAGxB,0BAAqB,GAAG,KAAK,CAAC;QAE9B,gBAAgB;QAChB,iCAA4B,GAAG,CAAC,CAAQ,EAAQ,EAAE;YACjD,MAAM,IAAI,GAAG,CAAC,CAAC,MAAyB,CAAC;YACzC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;gBACrE,IAAI,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY;oBAAE,OAAO,IAAI,CAAC;gBAClD,OAAO,CAAC,CAAC,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;YAChD,CAAC,CAAC,CAAC;YACH,uEAAuE;YACvE,qEAAqE;YACrE,qEAAqE;YACrE,wEAAwE;YACxE,wDAAwD;YACxD,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,KAAK,aAAa,CAAC,CAAC;QAChH,CAAC,CAAC;IAKH,CAAC;IAHS,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;;AA5Be,qBAAM,GAAG,gBAAgB,AAAnB,CAAoB;AAG1C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACU;AAGrC;IADC,KAAK,EAAE;uDACgB;AAGxB;IADC,KAAK,EAAE;6DACsB;AAVlB,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CA8B1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,yBAgF5B,CAAC"}
1
+ {"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,yBAoF5B,CAAC"}
@@ -69,6 +69,10 @@ export const blockquoteStyles = css `
69
69
  content: '— ' / '';
70
70
  }
71
71
 
72
+ .blockquote__attribution.is-byline::before {
73
+ content: none;
74
+ }
75
+
72
76
  .blockquote__attribution[hidden] {
73
77
  display: none;
74
78
  }
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.styles.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;uBAUZ,KAAK;;;;;;4CAMgB,KAAK;;;;;;IAM7C,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkDlB,YAAY;IACZ,kBAAkB;;;;;;;CAOrB,CAAC"}
1
+ {"version":3,"file":"blockquote.styles.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;uBAUZ,KAAK;;;;;;4CAMgB,KAAK;;;;;;IAM7C,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsDlB,YAAY;IACZ,kBAAkB;;;;;;;CAOrB,CAAC"}
@@ -7,7 +7,7 @@ export function template(component) {
7
7
  <div class="blockquote__quote">
8
8
  <slot></slot>
9
9
  </div>
10
- <slot class="blockquote__attribution"
10
+ <slot class="blockquote__attribution${component._hasBylineAttribution ? ' is-byline' : ''}"
11
11
  name="attribution"
12
12
  ?hidden=${!component._hasAttribution}
13
13
  @slotchange=${component._handleAttributionSlotChange}
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.template.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAGpC,MAAM,UAAU,QAAQ,CAAC,SAAyB;IACjD,OAAO,IAAI,CAAA;;UAEF,SAAS,CAAC,IAAI,IAAI,OAAO;;;;;;;cAOrB,CAAC,SAAS,CAAC,eAAe;kBACtB,SAAS,CAAC,4BAA4B;;;EAGtD,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"blockquote.template.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAGpC,MAAM,UAAU,QAAQ,CAAC,SAAyB;IACjD,OAAO,IAAI,CAAA;;UAEF,SAAS,CAAC,IAAI,IAAI,OAAO;;;;;yCAKM,SAAS,CAAC,qBAAqB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE;;cAE9E,CAAC,SAAS,CAAC,eAAe;kBACtB,SAAS,CAAC,4BAA4B;;;EAGtD,CAAC;AACH,CAAC"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * NLDD Design System Byline Component (Lit + TypeScript)
3
+ *
4
+ * Een redactionele regel die auteurs of redacteuren toont: optionele
5
+ * avatar(s), een naamregel en ondersteunende tekst (bijvoorbeeld functie
6
+ * of datum). Alle onderdelen zijn optioneel.
7
+ *
8
+ * De naamregel en ondersteunende tekst kunnen als attribuut of als slot
9
+ * worden aangeleverd. Gebruik de slots voor rijkere inhoud, zoals een
10
+ * `<time datetime="…">` voor machine-leesbare datums of een link naar het
11
+ * auteursprofiel. Geslotte inhoud vervangt het bijbehorende attribuut
12
+ * (het attribuut is de fallback van de slot).
13
+ *
14
+ * Bij meerdere redacteuren overlappen de avatars elkaar subtiel; elke
15
+ * avatar krijgt een ring in de surface-kleur (zelfde mechaniek als badge)
16
+ * zodat ze visueel gescheiden blijven. Op een gekleurde ondergrond kan de
17
+ * ringkleur meegegeven worden via `--context-parent-background-color`.
18
+ *
19
+ * Avatars worden geslot als `<img slot="avatars">`. Zet `alt=""` wanneer
20
+ * de namen al in de tekst staan (decoratief); geef anders een
21
+ * beschrijvende alt-tekst op.
22
+ *
23
+ * @element nldd-byline
24
+ *
25
+ * @attr {string} text - Naamregel (bijv. "Jan Jansen en Piet Pietersen"); fallback wanneer de text-slot leeg is
26
+ * @attr {string} supporting-text - Ondersteunende tekst onder de naamregel (bijv. rol of datum); fallback wanneer de supporting-text-slot leeg is
27
+ *
28
+ * @slot avatars - Eén of meer img-elementen; gestyled als ronde, overlappende avatars
29
+ * @slot text - Naamregel als rijke inhoud (bijv. een link naar het auteursprofiel)
30
+ * @slot supporting-text - Ondersteunende tekst als rijke inhoud (bijv. een time-element)
31
+ */
32
+ import { LitElement } from 'lit';
33
+ export declare class NLDDByline extends LitElement {
34
+ static styles: import("lit").CSSResult;
35
+ text: string;
36
+ supportingText: string;
37
+ _hasSlottedAvatars: boolean;
38
+ _hasSlottedText: boolean;
39
+ _hasSlottedSupportingText: boolean;
40
+ /** Tracks slot content so the text / supporting-text attribute fallbacks
41
+ * only render when their slot is empty. Bound per slot in the template via
42
+ * @slotchange, so Lit owns the listener lifecycle (it survives a
43
+ * move-and-reinsert) — no manual connect/disconnect bookkeeping. slotchange
44
+ * also fires for the initial assignment, so the first render is covered. */
45
+ _onSlotChange: (e: Event) => void;
46
+ render(): import("lit-html").TemplateResult<1>;
47
+ }
48
+ declare global {
49
+ interface HTMLElementTagNameMap {
50
+ 'nldd-byline': NLDDByline;
51
+ }
52
+ }
53
+ //# sourceMappingURL=byline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"byline.d.ts","sourceRoot":"","sources":["../../../../src/components/content/byline/byline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,UAAW,SAAQ,UAAU;IACzC,OAAgB,MAAM,0BAAgB;IAGtC,IAAI,SAAM;IAGV,cAAc,SAAM;IAGpB,kBAAkB,UAAS;IAG3B,eAAe,UAAS;IAGxB,yBAAyB,UAAS;IAElC;;;;iFAI6E;IAC7E,aAAa,GAAI,GAAG,KAAK,KAAG,IAAI,CAM9B;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,aAAa,EAAE,UAAU,CAAC;KAC1B;CACD"}
@@ -0,0 +1,90 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ /**
8
+ * NLDD Design System Byline Component (Lit + TypeScript)
9
+ *
10
+ * Een redactionele regel die auteurs of redacteuren toont: optionele
11
+ * avatar(s), een naamregel en ondersteunende tekst (bijvoorbeeld functie
12
+ * of datum). Alle onderdelen zijn optioneel.
13
+ *
14
+ * De naamregel en ondersteunende tekst kunnen als attribuut of als slot
15
+ * worden aangeleverd. Gebruik de slots voor rijkere inhoud, zoals een
16
+ * `<time datetime="…">` voor machine-leesbare datums of een link naar het
17
+ * auteursprofiel. Geslotte inhoud vervangt het bijbehorende attribuut
18
+ * (het attribuut is de fallback van de slot).
19
+ *
20
+ * Bij meerdere redacteuren overlappen de avatars elkaar subtiel; elke
21
+ * avatar krijgt een ring in de surface-kleur (zelfde mechaniek als badge)
22
+ * zodat ze visueel gescheiden blijven. Op een gekleurde ondergrond kan de
23
+ * ringkleur meegegeven worden via `--context-parent-background-color`.
24
+ *
25
+ * Avatars worden geslot als `<img slot="avatars">`. Zet `alt=""` wanneer
26
+ * de namen al in de tekst staan (decoratief); geef anders een
27
+ * beschrijvende alt-tekst op.
28
+ *
29
+ * @element nldd-byline
30
+ *
31
+ * @attr {string} text - Naamregel (bijv. "Jan Jansen en Piet Pietersen"); fallback wanneer de text-slot leeg is
32
+ * @attr {string} supporting-text - Ondersteunende tekst onder de naamregel (bijv. rol of datum); fallback wanneer de supporting-text-slot leeg is
33
+ *
34
+ * @slot avatars - Eén of meer img-elementen; gestyled als ronde, overlappende avatars
35
+ * @slot text - Naamregel als rijke inhoud (bijv. een link naar het auteursprofiel)
36
+ * @slot supporting-text - Ondersteunende tekst als rijke inhoud (bijv. een time-element)
37
+ */
38
+ import { LitElement } from 'lit';
39
+ import { customElement, property, state } from 'lit/decorators.js';
40
+ import { bylineStyles } from './byline.styles.js';
41
+ import { bylineTemplate } from './byline.template.js';
42
+ let NLDDByline = class NLDDByline extends LitElement {
43
+ constructor() {
44
+ super(...arguments);
45
+ this.text = '';
46
+ this.supportingText = '';
47
+ this._hasSlottedAvatars = false;
48
+ this._hasSlottedText = false;
49
+ this._hasSlottedSupportingText = false;
50
+ /** Tracks slot content so the text / supporting-text attribute fallbacks
51
+ * only render when their slot is empty. Bound per slot in the template via
52
+ * @slotchange, so Lit owns the listener lifecycle (it survives a
53
+ * move-and-reinsert) — no manual connect/disconnect bookkeeping. slotchange
54
+ * also fires for the initial assignment, so the first render is covered. */
55
+ this._onSlotChange = (e) => {
56
+ const slot = e.target;
57
+ const has = slot.assignedElements().length > 0;
58
+ if (slot.name === 'avatars')
59
+ this._hasSlottedAvatars = has;
60
+ else if (slot.name === 'text')
61
+ this._hasSlottedText = has;
62
+ else if (slot.name === 'supporting-text')
63
+ this._hasSlottedSupportingText = has;
64
+ };
65
+ }
66
+ render() {
67
+ return bylineTemplate(this);
68
+ }
69
+ };
70
+ NLDDByline.styles = bylineStyles;
71
+ __decorate([
72
+ property({ type: String })
73
+ ], NLDDByline.prototype, "text", void 0);
74
+ __decorate([
75
+ property({ type: String, attribute: 'supporting-text' })
76
+ ], NLDDByline.prototype, "supportingText", void 0);
77
+ __decorate([
78
+ state()
79
+ ], NLDDByline.prototype, "_hasSlottedAvatars", void 0);
80
+ __decorate([
81
+ state()
82
+ ], NLDDByline.prototype, "_hasSlottedText", void 0);
83
+ __decorate([
84
+ state()
85
+ ], NLDDByline.prototype, "_hasSlottedSupportingText", void 0);
86
+ NLDDByline = __decorate([
87
+ customElement('nldd-byline')
88
+ ], NLDDByline);
89
+ export { NLDDByline };
90
+ //# sourceMappingURL=byline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"byline.js","sourceRoot":"","sources":["../../../../src/components/content/byline/byline.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG/C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAAnC;;QAIN,SAAI,GAAG,EAAE,CAAC;QAGV,mBAAc,GAAG,EAAE,CAAC;QAGpB,uBAAkB,GAAG,KAAK,CAAC;QAG3B,oBAAe,GAAG,KAAK,CAAC;QAGxB,8BAAyB,GAAG,KAAK,CAAC;QAElC;;;;qFAI6E;QAC7E,kBAAa,GAAG,CAAC,CAAQ,EAAQ,EAAE;YAClC,MAAM,IAAI,GAAG,CAAC,CAAC,MAAyB,CAAC;YACzC,MAAM,GAAG,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;YAC/C,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS;gBAAE,IAAI,CAAC,kBAAkB,GAAG,GAAG,CAAC;iBACtD,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM;gBAAE,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;iBACrD,IAAI,IAAI,CAAC,IAAI,KAAK,iBAAiB;gBAAE,IAAI,CAAC,yBAAyB,GAAG,GAAG,CAAC;QAChF,CAAC,CAAC;IAKH,CAAC;IAHS,MAAM;QACd,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;;AAhCe,iBAAM,GAAG,YAAY,AAAf,CAAgB;AAGtC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wCACjB;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;kDACrC;AAGpB;IADC,KAAK,EAAE;sDACmB;AAG3B;IADC,KAAK,EAAE;mDACgB;AAGxB;IADC,KAAK,EAAE;6DAC0B;AAhBtB,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CAkCtB"}
@@ -0,0 +1,2 @@
1
+ export declare const bylineStyles: import("lit").CSSResult;
2
+ //# sourceMappingURL=byline.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"byline.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/byline/byline.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBA0FxB,CAAC"}
@@ -0,0 +1,94 @@
1
+ import { css } from 'lit';
2
+ import { slottedReset, inheritedTextReset } from '../../../assets/styles/slotted-reset.js';
3
+ export const bylineStyles = css `
4
+
5
+
6
+ /* # Host */
7
+
8
+ :host {
9
+ --_gap: var(--primitives-space-8);
10
+ --_avatar-overlap: var(--primitives-space-8);
11
+ --_avatar-size: var(--primitives-space-40);
12
+ --_avatar-border-width: var(--primitives-border-width-regular);
13
+ --_avatar-border-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
14
+ --_avatar-corner-radius: var(--primitives-corner-radius-full);
15
+ --_text-color: var(--semantics-content-color);
16
+ --_text-font: var(--primitives-font-body-md-medium-tight);
17
+ --_supporting-text-color: var(--semantics-content-secondary-color);
18
+ --_supporting-text-font: var(--primitives-font-body-sm-regular-tight);
19
+
20
+ ${inheritedTextReset}
21
+ display: flex;
22
+ align-items: center;
23
+ gap: var(--_gap);
24
+ }
25
+
26
+ :host([hidden]) {
27
+ display: none;
28
+ }
29
+
30
+
31
+ /* # Avatars */
32
+
33
+ .byline__avatars {
34
+ display: flex;
35
+ padding-inline-start: var(--_avatar-overlap);
36
+ }
37
+
38
+ .byline__avatars[hidden] {
39
+ display: none;
40
+ }
41
+
42
+ .byline__avatars ::slotted(img) {
43
+ ${slottedReset}
44
+ display: block !important;
45
+ margin-inline-start: calc(-1 * var(--_avatar-overlap)) !important;
46
+ border-radius: var(--_avatar-corner-radius) !important;
47
+ box-shadow: 0 0 0 var(--_avatar-border-width) var(--_avatar-border-color) !important;
48
+ width: var(--_avatar-size) !important;
49
+ height: var(--_avatar-size) !important;
50
+ object-fit: cover !important;
51
+ }
52
+
53
+ @media (forced-colors: active) {
54
+ .byline__avatars ::slotted(img) {
55
+ border: var(--_avatar-border-width) solid Canvas !important;
56
+ }
57
+ }
58
+
59
+
60
+ /* # Text area */
61
+
62
+ .byline__text-area {
63
+ display: flex;
64
+ min-width: 0;
65
+ flex-direction: column;
66
+ }
67
+
68
+ .byline__text-area[hidden] {
69
+ display: none;
70
+ }
71
+
72
+ .byline__text {
73
+ margin: 0;
74
+ color: var(--_text-color);
75
+ font: var(--_text-font);
76
+ text-wrap: pretty;
77
+ }
78
+
79
+ .byline__text[hidden] {
80
+ display: none;
81
+ }
82
+
83
+ .byline__supporting-text {
84
+ margin: 0;
85
+ color: var(--_supporting-text-color);
86
+ font: var(--_supporting-text-font);
87
+ text-wrap: pretty;
88
+ }
89
+
90
+ .byline__supporting-text[hidden] {
91
+ display: none;
92
+ }
93
+ `;
94
+ //# sourceMappingURL=byline.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"byline.styles.js","sourceRoot":"","sources":["../../../../src/components/content/byline/byline.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;IAiB3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;IAuBlB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDf,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { NLDDByline } from './byline.js';
2
+ export declare function bylineTemplate(component: NLDDByline): import("lit-html").TemplateResult<1>;
3
+ //# sourceMappingURL=byline.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"byline.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/byline/byline.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,cAAc,CAAC,SAAS,EAAE,UAAU,wCAoBnD"}
@@ -0,0 +1,23 @@
1
+ import { html } from 'lit';
2
+ export function bylineTemplate(component) {
3
+ const hasText = Boolean(component.text) || component._hasSlottedText;
4
+ const hasSupportingText = Boolean(component.supportingText) || component._hasSlottedSupportingText;
5
+ return html `
6
+ <div class="byline__avatars"
7
+ ?hidden=${!component._hasSlottedAvatars}
8
+ >
9
+ <slot name="avatars" @slotchange=${component._onSlotChange}></slot>
10
+ </div>
11
+ <div class="byline__text-area"
12
+ ?hidden=${!hasText && !hasSupportingText}
13
+ >
14
+ <p class="byline__text"
15
+ ?hidden=${!hasText}
16
+ ><slot name="text" @slotchange=${component._onSlotChange}>${component.text}</slot></p>
17
+ <p class="byline__supporting-text"
18
+ ?hidden=${!hasSupportingText}
19
+ ><slot name="supporting-text" @slotchange=${component._onSlotChange}>${component.supportingText}</slot></p>
20
+ </div>
21
+ `;
22
+ }
23
+ //# sourceMappingURL=byline.template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"byline.template.js","sourceRoot":"","sources":["../../../../src/components/content/byline/byline.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAG3B,MAAM,UAAU,cAAc,CAAC,SAAqB;IACnD,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC,eAAe,CAAC;IACrE,MAAM,iBAAiB,GAAG,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,SAAS,CAAC,yBAAyB,CAAC;IACnG,OAAO,IAAI,CAAA;;aAEC,CAAC,SAAS,CAAC,kBAAkB;;sCAEJ,SAAS,CAAC,aAAa;;;aAGhD,CAAC,OAAO,IAAI,CAAC,iBAAiB;;;cAG7B,CAAC,OAAO;oCACc,SAAS,CAAC,aAAa,IAAI,SAAS,CAAC,IAAI;;cAE/D,CAAC,iBAAiB;+CACe,SAAS,CAAC,aAAa,IAAI,SAAS,CAAC,cAAc;;EAEhG,CAAC;AACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"code-viewer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,yBAgM5B,CAAC"}
1
+ {"version":3,"file":"code-viewer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,yBAwM5B,CAAC"}
@@ -23,6 +23,14 @@ export const codeViewerStyles = css `
23
23
  ${inheritedTextReset}
24
24
  display: flex;
25
25
  position: relative;
26
+ /* Own stacking context so the absolutely-positioned actions button
27
+ (z-index: var(--_actions-z-index)) stays scoped to the code-viewer
28
+ and can't paint over other layers on the page. */
29
+ isolation: isolate;
30
+ /* iOS Safari inflates text in wide scrollable blocks (text autosizing);
31
+ lock the size so code renders at the authored font-size on mobile. */
32
+ -webkit-text-size-adjust: 100%;
33
+ text-size-adjust: 100%;
26
34
  }
27
35
 
28
36
  :host([hidden]) {
@@ -1 +1 @@
1
- {"version":3,"file":"code-viewer.styles.js","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;IAoB/B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4KrB,CAAC"}
1
+ {"version":3,"file":"code-viewer.styles.js","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;IAoB/B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"code-viewer.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AAGpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,cAAc,GAAG,cAAc,CA8D5E"}
1
+ {"version":3,"file":"code-viewer.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AAGpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,cAAc,GAAG,cAAc,CAiE5E"}
@@ -58,7 +58,10 @@ export function codeViewerTemplate(component) {
58
58
  ></nldd-icon-button>
59
59
  </nldd-tooltip>
60
60
  </div>
61
- <div class="code-viewer__live-region" role="status" aria-live="polite">${liveRegionText}</div>
61
+ <div class="code-viewer__live-region"
62
+ role="status"
63
+ aria-live="polite"
64
+ >${liveRegionText}</div>
62
65
  </div>
63
66
  `}`;
64
67
  }