@nldd/design-system 0.8.68 → 0.8.70

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 (346) hide show
  1. package/custom-elements.json +29536 -0
  2. package/dist/components/actions/button/button.d.ts +8 -0
  3. package/dist/components/actions/button/button.d.ts.map +1 -1
  4. package/dist/components/actions/button/button.js +14 -0
  5. package/dist/components/actions/button/button.js.map +1 -1
  6. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  7. package/dist/components/actions/button/button.styles.js +109 -108
  8. package/dist/components/actions/button/button.styles.js.map +1 -1
  9. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  10. package/dist/components/actions/button/button.template.js +9 -0
  11. package/dist/components/actions/button/button.template.js.map +1 -1
  12. package/dist/components/actions/icon-button/icon-button.d.ts +11 -0
  13. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  14. package/dist/components/actions/icon-button/icon-button.js +17 -0
  15. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  16. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  17. package/dist/components/actions/icon-button/icon-button.styles.js +55 -54
  18. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  19. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  20. package/dist/components/actions/icon-button/icon-button.template.js +7 -1
  21. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  22. package/dist/components/actions/menu/menu.d.ts +19 -0
  23. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  24. package/dist/components/actions/menu/menu.js +53 -2
  25. package/dist/components/actions/menu/menu.js.map +1 -1
  26. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  27. package/dist/components/actions/menu/menu.styles.js +51 -23
  28. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  29. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  30. package/dist/components/actions/menu/menu.template.js +58 -33
  31. package/dist/components/actions/menu/menu.template.js.map +1 -1
  32. package/dist/components/actions/split-button/split-button.d.ts +16 -18
  33. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  34. package/dist/components/actions/split-button/split-button.js +28 -54
  35. package/dist/components/actions/split-button/split-button.js.map +1 -1
  36. package/dist/components/actions/split-button/split-button.template.js +1 -1
  37. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  38. package/dist/components/actions/toolbar/toolbar.d.ts +14 -0
  39. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  40. package/dist/components/actions/toolbar/toolbar.js +45 -2
  41. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  42. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  43. package/dist/components/actions/toolbar/toolbar.styles.js +16 -2
  44. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  45. package/dist/components/components.js +106 -102
  46. package/dist/components/content/avatar/avatar.d.ts +96 -0
  47. package/dist/components/content/avatar/avatar.d.ts.map +1 -0
  48. package/dist/components/content/avatar/avatar.js +210 -0
  49. package/dist/components/content/avatar/avatar.js.map +1 -0
  50. package/dist/components/content/avatar/avatar.styles.d.ts +2 -0
  51. package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -0
  52. package/dist/components/content/avatar/avatar.styles.js +127 -0
  53. package/dist/components/content/avatar/avatar.styles.js.map +1 -0
  54. package/dist/components/content/avatar/avatar.template.d.ts +3 -0
  55. package/dist/components/content/avatar/avatar.template.d.ts.map +1 -0
  56. package/dist/components/content/avatar/avatar.template.js +36 -0
  57. package/dist/components/content/avatar/avatar.template.js.map +1 -0
  58. package/dist/components/content/byline/byline.d.ts +1 -0
  59. package/dist/components/content/byline/byline.d.ts.map +1 -1
  60. package/dist/components/content/byline/byline.js +1 -0
  61. package/dist/components/content/byline/byline.js.map +1 -1
  62. package/dist/components/content/byline/byline.styles.d.ts.map +1 -1
  63. package/dist/components/content/byline/byline.styles.js +15 -5
  64. package/dist/components/content/byline/byline.styles.js.map +1 -1
  65. package/dist/components/content/byline/byline.template.js +11 -11
  66. package/dist/components/content/byline/byline.template.js.map +1 -1
  67. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  68. package/dist/components/content/code-viewer/code-viewer.js +2 -0
  69. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  70. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  71. package/dist/components/content/icon/icon-aliases.js +19 -0
  72. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  73. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  74. package/dist/components/content/icon/icon-registry.js +34 -4
  75. package/dist/components/content/icon/icon-registry.js.map +1 -1
  76. package/dist/components/content/image/image.d.ts +2 -0
  77. package/dist/components/content/image/image.d.ts.map +1 -1
  78. package/dist/components/content/image/image.js +2 -0
  79. package/dist/components/content/image/image.js.map +1 -1
  80. package/dist/components/content/image/lqip-encoder-element.d.ts.map +1 -1
  81. package/dist/components/content/image/lqip-encoder-element.js +2 -1
  82. package/dist/components/content/image/lqip-encoder-element.js.map +1 -1
  83. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +4 -0
  84. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  85. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +4 -0
  86. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  87. package/dist/components/content/rich-text/rich-text.d.ts +7 -0
  88. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  89. package/dist/components/content/rich-text/rich-text.js +10 -0
  90. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  91. package/dist/components/content/tag/tag.styles.js +23 -23
  92. package/dist/components/content/token/token.styles.d.ts.map +1 -1
  93. package/dist/components/content/token/token.styles.js +2 -1
  94. package/dist/components/content/token/token.styles.js.map +1 -1
  95. package/dist/components/{index-DWwviobk.js → index-BP0XMTYa.js} +1 -1
  96. package/dist/components/{index-Bfw_pYWB.js → index-Bh_hMHn8.js} +1 -1
  97. package/dist/components/{index-DjsXjoZJ.js → index-BuLJAwiB.js} +8816 -6015
  98. package/dist/components/{index-CKnwqp_9.js → index-CTUlN5qN.js} +1 -1
  99. package/dist/components/{index-Bqf6o41r.js → index-DS-RnHMu.js} +1 -1
  100. package/dist/components/{index-CXT1jMFt.js → index-Dgxr-sEe.js} +1 -1
  101. package/dist/components/{index-DO7aT0MT.js → index-sa60dMt-.js} +1 -1
  102. package/dist/components/index.d.ts +4 -0
  103. package/dist/components/index.d.ts.map +1 -1
  104. package/dist/components/index.js +4 -0
  105. package/dist/components/index.js.map +1 -1
  106. package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
  107. package/dist/components/inputs/checkbox/checkbox.styles.js +1 -0
  108. package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
  109. package/dist/components/inputs/date-field/date-field.d.ts +226 -0
  110. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -0
  111. package/dist/components/inputs/date-field/date-field.i18n.d.ts +11 -0
  112. package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -0
  113. package/dist/components/inputs/date-field/date-field.i18n.js +17 -0
  114. package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -0
  115. package/dist/components/inputs/date-field/date-field.js +589 -0
  116. package/dist/components/inputs/date-field/date-field.js.map +1 -0
  117. package/dist/components/inputs/date-field/date-field.styles.d.ts +2 -0
  118. package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -0
  119. package/dist/components/inputs/date-field/date-field.styles.js +246 -0
  120. package/dist/components/inputs/date-field/date-field.styles.js.map +1 -0
  121. package/dist/components/inputs/date-field/date-field.template.d.ts +17 -0
  122. package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -0
  123. package/dist/components/inputs/date-field/date-field.template.js +141 -0
  124. package/dist/components/inputs/date-field/date-field.template.js.map +1 -0
  125. package/dist/components/inputs/date-picker/date-picker.d.ts +268 -0
  126. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -0
  127. package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +64 -0
  128. package/dist/components/inputs/date-picker/date-picker.i18n.d.ts.map +1 -0
  129. package/dist/components/inputs/date-picker/date-picker.i18n.js +81 -0
  130. package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -0
  131. package/dist/components/inputs/date-picker/date-picker.js +748 -0
  132. package/dist/components/inputs/date-picker/date-picker.js.map +1 -0
  133. package/dist/components/inputs/date-picker/date-picker.styles.d.ts +2 -0
  134. package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -0
  135. package/dist/components/inputs/date-picker/date-picker.styles.js +353 -0
  136. package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -0
  137. package/dist/components/inputs/date-picker/date-picker.template.d.ts +8 -0
  138. package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -0
  139. package/dist/components/inputs/date-picker/date-picker.template.js +223 -0
  140. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -0
  141. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  142. package/dist/components/inputs/dropdown/dropdown.styles.js +7 -6
  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.d.ts +1 -0
  145. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  146. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +1 -0
  147. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  148. package/dist/components/inputs/password-field/password-field.d.ts +1 -0
  149. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  150. package/dist/components/inputs/password-field/password-field.js +1 -0
  151. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  152. package/dist/components/inputs/radio-button/radio-button.d.ts +3 -0
  153. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  154. package/dist/components/inputs/radio-button/radio-button.js +3 -0
  155. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  156. package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
  157. package/dist/components/inputs/radio-button/radio-button.styles.js +1 -0
  158. package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
  159. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +2 -0
  160. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  161. package/dist/components/inputs/radio-button-field/radio-button-field.js +2 -0
  162. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  163. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +1 -0
  164. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
  165. package/dist/components/inputs/radio-button-group/radio-button-group.js +1 -0
  166. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  167. package/dist/components/inputs/segmented-control/segmented-control.d.ts +10 -1
  168. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  169. package/dist/components/inputs/segmented-control/segmented-control.js +11 -2
  170. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  171. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  172. package/dist/components/inputs/segmented-control/segmented-control.styles.js +7 -6
  173. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  174. package/dist/components/inputs/stepper/stepper.d.ts +1 -0
  175. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  176. package/dist/components/inputs/stepper/stepper.js +1 -0
  177. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  178. package/dist/components/inputs/stepper/stepper.styles.d.ts.map +1 -1
  179. package/dist/components/inputs/stepper/stepper.styles.js +1 -0
  180. package/dist/components/inputs/stepper/stepper.styles.js.map +1 -1
  181. package/dist/components/inputs/switch/switch.d.ts +2 -0
  182. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  183. package/dist/components/inputs/switch/switch.js +2 -0
  184. package/dist/components/inputs/switch/switch.js.map +1 -1
  185. package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
  186. package/dist/components/inputs/switch/switch.styles.js +1 -0
  187. package/dist/components/inputs/switch/switch.styles.js.map +1 -1
  188. package/dist/components/inputs/text-editor/text-editor.links.d.ts +8 -0
  189. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  190. package/dist/components/inputs/text-editor/text-editor.links.js +48 -7
  191. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  192. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  193. package/dist/components/inputs/text-editor/text-editor.markdown.js +11 -0
  194. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  195. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  196. package/dist/components/inputs/text-editor/text-editor.styles.js +14 -3
  197. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  198. package/dist/components/inputs/text-field/text-field.d.ts +1 -0
  199. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  200. package/dist/components/inputs/text-field/text-field.js +1 -0
  201. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  202. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  203. package/dist/components/inputs/toggle-button/toggle-button.styles.js +7 -6
  204. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  205. package/dist/components/layout/container/container.d.ts +26 -3
  206. package/dist/components/layout/container/container.d.ts.map +1 -1
  207. package/dist/components/layout/container/container.js +26 -3
  208. package/dist/components/layout/container/container.js.map +1 -1
  209. package/dist/components/layout/page-footer/page-footer.d.ts +9 -1
  210. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  211. package/dist/components/layout/page-footer/page-footer.js +23 -1
  212. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  213. package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
  214. package/dist/components/layout/page-footer/page-footer.styles.js +9 -0
  215. package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
  216. package/dist/components/layout/page-sections/hero/hero.styles.js +19 -19
  217. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +2 -2
  218. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -2
  219. package/dist/components/layout/popover/popover.d.ts +17 -0
  220. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  221. package/dist/components/layout/popover/popover.js +114 -7
  222. package/dist/components/layout/popover/popover.js.map +1 -1
  223. package/dist/components/layout/sheet/sheet.d.ts +18 -0
  224. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  225. package/dist/components/layout/sheet/sheet.js +38 -3
  226. package/dist/components/layout/sheet/sheet.js.map +1 -1
  227. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  228. package/dist/components/layout/sheet/sheet.styles.js +6 -1
  229. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  230. package/dist/components/layout/sheet/sheet.template.d.ts.map +1 -1
  231. package/dist/components/layout/sheet/sheet.template.js +2 -0
  232. package/dist/components/layout/sheet/sheet.template.js.map +1 -1
  233. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +1 -0
  234. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  235. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +5 -0
  236. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  237. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
  238. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +27 -0
  239. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
  240. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +2 -0
  241. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  242. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +3 -0
  243. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  244. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
  245. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +24 -0
  246. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
  247. package/dist/components/layout/window/window.d.ts +9 -0
  248. package/dist/components/layout/window/window.d.ts.map +1 -1
  249. package/dist/components/layout/window/window.js +19 -0
  250. package/dist/components/layout/window/window.js.map +1 -1
  251. package/dist/components/layout/window/window.styles.d.ts.map +1 -1
  252. package/dist/components/layout/window/window.styles.js +5 -1
  253. package/dist/components/layout/window/window.styles.js.map +1 -1
  254. package/dist/components/layout/window/window.template.d.ts.map +1 -1
  255. package/dist/components/layout/window/window.template.js +1 -0
  256. package/dist/components/layout/window/window.template.js.map +1 -1
  257. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +2 -2
  258. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +1 -0
  259. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
  260. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +1 -0
  261. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  262. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +6 -6
  263. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +11 -11
  264. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +11 -11
  265. package/dist/components/lists-and-tables/list/list.d.ts +14 -0
  266. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  267. package/dist/components/lists-and-tables/list/list.js +14 -0
  268. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  269. package/dist/components/lists-and-tables/list-item/list-item.d.ts +10 -0
  270. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  271. package/dist/components/lists-and-tables/list-item/list-item.js +10 -0
  272. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  273. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  274. package/dist/components/lists-and-tables/list-item/list-item.styles.js +14 -7
  275. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  276. package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
  277. package/dist/components/lists-and-tables/table/table.styles.js +2 -1
  278. package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
  279. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
  280. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +15 -14
  281. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
  282. package/dist/components/navigation/menu-bar/menu-bar.styles.d.ts.map +1 -1
  283. package/dist/components/navigation/menu-bar/menu-bar.styles.js +1 -0
  284. package/dist/components/navigation/menu-bar/menu-bar.styles.js.map +1 -1
  285. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +1 -0
  286. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  287. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -0
  288. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  289. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  290. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +1 -0
  291. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  292. package/dist/components/navigation/pagination/pagination.d.ts +1 -0
  293. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  294. package/dist/components/navigation/pagination/pagination.js +1 -0
  295. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  296. package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  297. package/dist/components/navigation/pagination/pagination.styles.js +10 -9
  298. package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
  299. package/dist/components/navigation/tab-bar/tab-bar.d.ts +2 -0
  300. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  301. package/dist/components/navigation/tab-bar/tab-bar.js +2 -0
  302. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  303. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  304. package/dist/components/navigation/tab-bar/tab-bar.styles.js +7 -6
  305. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  306. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +22 -0
  307. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  308. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +22 -0
  309. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  310. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +10 -0
  311. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  312. package/dist/components/navigation/top-title-bar/top-title-bar.js +27 -2
  313. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  314. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +14 -2
  315. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  316. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +14 -2
  317. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  318. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  319. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +3 -2
  320. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  321. package/dist/components/status-and-feedback/badge/badge.styles.js +23 -23
  322. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +3 -2
  323. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  324. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -1
  325. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  326. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
  327. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +8 -1
  328. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
  329. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  330. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +2 -0
  331. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  332. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
  333. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +16 -0
  334. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
  335. package/dist/css/rich-text.css +19 -0
  336. package/dist/css/settings.css +253 -246
  337. package/dist/types/vue.d.ts +3277 -0
  338. package/dist/utilities/popup-anchor-controller.d.ts +63 -0
  339. package/dist/utilities/popup-anchor-controller.d.ts.map +1 -0
  340. package/dist/utilities/popup-anchor-controller.js +63 -0
  341. package/dist/utilities/popup-anchor-controller.js.map +1 -0
  342. package/dist/utilities/resolve-date-bound.d.ts +21 -0
  343. package/dist/utilities/resolve-date-bound.d.ts.map +1 -0
  344. package/dist/utilities/resolve-date-bound.js +75 -0
  345. package/dist/utilities/resolve-date-bound.js.map +1 -0
  346. package/package.json +35 -7
@@ -5,8 +5,10 @@
5
5
  * @attr {string} variant - Button variant: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted'. De inherit-varianten leiden hun kleuren af van currentColor, voor knoppen op gekleurde vlakken; inherit-filled gebruikt de vlakkleur (--context-parent-background-color) als labelkleur met een wit/zwart-contrastflip als fallback.
6
6
  * @attr {string} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). 'lg' uses larger text and 24px start/end icons.
7
7
  * @attr {string} horizontal-alignment - Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width.
8
+ * @attr {boolean} loading - Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width.
8
9
  * @attr {boolean} disabled - Disabled state
9
10
  * @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
11
+ * @attr {string} popovertarget - ID of a popover element this button invokes; forwarded to the inner button. Use the popoverTargetElement property instead when the popover lives in another tree.
10
12
  * @attr {boolean} expandable - Whether the button has a icon to indicate it opens a menu or popover
11
13
  * @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
12
14
  * @attr {string} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state.
@@ -26,10 +28,12 @@
26
28
  * @slot text - Slot for custom button content (e.g. text with inline markup). Used when the text attribute is empty or not set (an empty string counts as "not set", since the attribute and the unset property are indistinguishable). Provide accessible-label when the slotted content isn't plain text.
27
29
  * @slot start-icon - Slot for a custom start icon (e.g. custom SVG). Only used when start-icon attribute is not set.
28
30
  * @slot end-icon - Slot for a custom end icon (e.g. custom SVG). Only used when end-icon attribute is not set.
31
+ * @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; the manual `anchor`/`popovertarget` wiring keeps working when you don't slot an overlay.
29
32
  *
30
33
  * @fires click - When button is clicked (not fired when disabled)
31
34
  */
32
35
  import { LitElement } from 'lit';
36
+ import { PopupAnchorController } from '../../../utilities/popup-anchor-controller.js';
33
37
  import './../../content/icon/icon.js';
34
38
  import './../../status-and-feedback/activity-indicator/activity-indicator.js';
35
39
  type Variant = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted';
@@ -114,6 +118,10 @@ export declare class NLDDButton extends NLDDButton_base {
114
118
  */
115
119
  rel: string | undefined;
116
120
  private _warnedA11y;
121
+ /** Shared wiring for an overlay slotted into `popup`: anchors it to this
122
+ * button and turns clicks into open/close. Not private: the template module
123
+ * binds its handlers. */
124
+ _popup: PopupAnchorController;
117
125
  updated(changedProperties: Map<string, unknown>): void;
118
126
  private _handleClick;
119
127
  /** Resolves the effective rel value for link rendering. */
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOjC,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAE9E,KAAK,OAAO,GACT,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtC,KAAK,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAChD,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;AAEjE,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' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted'. De inherit-varianten leiden hun kleuren af van currentColor, voor knoppen op gekleurde vlakken; inherit-filled gebruikt de vlakkleur (--context-parent-background-color) als labelkleur met een wit/zwart-contrastflip als fallback.
6
6
  * @attr {string} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). 'lg' uses larger text and 24px start/end icons.
7
7
  * @attr {string} horizontal-alignment - Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width.
8
+ * @attr {boolean} loading - Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width.
8
9
  * @attr {boolean} disabled - Disabled state
9
10
  * @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
11
+ * @attr {string} popovertarget - ID of a popover element this button invokes; forwarded to the inner button. Use the popoverTargetElement property instead when the popover lives in another tree.
10
12
  * @attr {boolean} expandable - Whether the button has a icon to indicate it opens a menu or popover
11
13
  * @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
12
14
  * @attr {string} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state.
@@ -26,6 +28,7 @@
26
28
  * @slot text - Slot for custom button content (e.g. text with inline markup). Used when the text attribute is empty or not set (an empty string counts as "not set", since the attribute and the unset property are indistinguishable). Provide accessible-label when the slotted content isn't plain text.
27
29
  * @slot start-icon - Slot for a custom start icon (e.g. custom SVG). Only used when start-icon attribute is not set.
28
30
  * @slot end-icon - Slot for a custom end icon (e.g. custom SVG). Only used when end-icon attribute is not set.
31
+ * @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; the manual `anchor`/`popovertarget` wiring keeps working when you don't slot an overlay.
29
32
  *
30
33
  * @fires click - When button is clicked (not fired when disabled)
31
34
  */
@@ -42,6 +45,7 @@ import { template } from './button.template.js';
42
45
  import { withTranslations } from '../../../utilities/with-translations.js';
43
46
  import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
44
47
  import { nlddButtonTranslations } from './button.i18n.js';
48
+ import { PopupAnchorController } from '../../../utilities/popup-anchor-controller.js';
45
49
  import './../../content/icon/icon.js';
46
50
  import './../../status-and-feedback/activity-indicator/activity-indicator.js';
47
51
  let NLDDButton = class NLDDButton extends withTranslations(LitElement, nlddButtonTranslations) {
@@ -110,6 +114,10 @@ let NLDDButton = class NLDDButton extends withTranslations(LitElement, nlddButto
110
114
  */
111
115
  this.rel = undefined;
112
116
  this._warnedA11y = false;
117
+ /** Shared wiring for an overlay slotted into `popup`: anchors it to this
118
+ * button and turns clicks into open/close. Not private: the template module
119
+ * binds its handlers. */
120
+ this._popup = new PopupAnchorController(this);
113
121
  }
114
122
  updated(changedProperties) {
115
123
  if (changedProperties.has('width')) {
@@ -146,6 +154,12 @@ let NLDDButton = class NLDDButton extends withTranslations(LitElement, nlddButto
146
154
  e.stopPropagation();
147
155
  return;
148
156
  }
157
+ // A slotted overlay makes this button its invoker: toggle it and stop —
158
+ // a popup button neither submits a form nor navigates.
159
+ if (this._popup.handleClick(e)) {
160
+ e.preventDefault();
161
+ return;
162
+ }
149
163
  // A link button has no form behaviour. Otherwise drive the associated
150
164
  // form ourselves: the shadow <button type="submit"|"reset"> can't reach
151
165
  // the light-DOM form across the shadow boundary. requestSubmit() runs
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;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B,CAAS,EAAE,CAAC,EAAE,CAAC;kDAChF;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;8CAClD;AAInB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC;qDACnD;AAI1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;6CACrC;AAIf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;2CACrC;AAIb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;mDACrC;AAIrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCACL;AAIrC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACY;AAOvC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCACS;AAxHxB,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CAgNtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBAylBxB,CAAC"}
1
+ {"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBA0lBxB,CAAC"}
@@ -20,22 +20,23 @@ export const buttonStyles = css `
20
20
  --_disclosure-icon-size: var(--primitives-space-20);
21
21
  --_supporting-font: var(--semantics-buttons-md-supporting-text-font);
22
22
  --_background-color: var(--semantics-buttons-neutral-tinted-background-color);
23
- --_primary-content-color: var(--semantics-buttons-neutral-tinted-primary-content-color);
24
- --_secondary-content-color: var(--semantics-buttons-neutral-tinted-secondary-content-color);
23
+ --_primary-content-color: var(--semantics-buttons-neutral-tinted-content-color);
24
+ --_secondary-content-color: var(--semantics-buttons-neutral-tinted-content-secondary-color);
25
25
  --_highlight-border-color: var(--semantics-buttons-neutral-tinted-highlight-border-color);
26
26
  --_is-hovered-background-color: var(--semantics-buttons-neutral-tinted-is-hovered-background-color);
27
- --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-tinted-is-hovered-primary-content-color);
28
- --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-hovered-secondary-content-color);
27
+ --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-tinted-is-hovered-content-color);
28
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-hovered-content-secondary-color);
29
29
  --_is-hovered-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-hovered-highlight-border-color);
30
30
  --_is-active-background-color: var(--semantics-buttons-neutral-tinted-is-active-background-color);
31
- --_is-active-primary-content-color: var(--semantics-buttons-neutral-tinted-is-active-primary-content-color);
32
- --_is-active-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-active-secondary-content-color);
31
+ --_is-active-primary-content-color: var(--semantics-buttons-neutral-tinted-is-active-content-color);
32
+ --_is-active-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-active-content-secondary-color);
33
33
  --_is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-active-highlight-border-color);
34
34
 
35
35
  ${inheritedTextReset}
36
36
  display: inline-block;
37
37
  position: relative;
38
38
  max-width: 100%;
39
+ -webkit-user-select: none;
39
40
  user-select: none;
40
41
  -webkit-tap-highlight-color: transparent;
41
42
  }
@@ -78,93 +79,93 @@ export const buttonStyles = css `
78
79
 
79
80
  :host([variant="neutral-base"]) {
80
81
  --_background-color: var(--semantics-buttons-neutral-base-background-color);
81
- --_primary-content-color: var(--semantics-buttons-neutral-base-primary-content-color);
82
- --_secondary-content-color: var(--semantics-buttons-neutral-base-secondary-content-color);
82
+ --_primary-content-color: var(--semantics-buttons-neutral-base-content-color);
83
+ --_secondary-content-color: var(--semantics-buttons-neutral-base-content-secondary-color);
83
84
  --_highlight-border-color: var(--semantics-buttons-neutral-base-highlight-border-color);
84
85
  --_is-hovered-background-color: var(--semantics-buttons-neutral-base-is-hovered-background-color);
85
- --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-base-is-hovered-primary-content-color);
86
- --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-base-is-hovered-secondary-content-color);
86
+ --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-base-is-hovered-content-color);
87
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-base-is-hovered-content-secondary-color);
87
88
  --_is-hovered-highlight-border-color: var(--semantics-buttons-neutral-base-is-hovered-highlight-border-color);
88
89
  --_is-active-background-color: var(--semantics-buttons-neutral-base-is-active-background-color);
89
- --_is-active-primary-content-color: var(--semantics-buttons-neutral-base-is-active-primary-content-color);
90
- --_is-active-secondary-content-color: var(--semantics-buttons-neutral-base-is-active-secondary-content-color);
90
+ --_is-active-primary-content-color: var(--semantics-buttons-neutral-base-is-active-content-color);
91
+ --_is-active-secondary-content-color: var(--semantics-buttons-neutral-base-is-active-content-secondary-color);
91
92
  --_is-active-highlight-border-color: var(--semantics-buttons-neutral-base-is-active-highlight-border-color);
92
93
  }
93
94
 
94
95
  :host([variant="neutral-transparent"]) {
95
96
  --_background-color: transparent;
96
- --_primary-content-color: var(--semantics-buttons-neutral-transparent-primary-content-color);
97
- --_secondary-content-color: var(--semantics-buttons-neutral-transparent-secondary-content-color);
97
+ --_primary-content-color: var(--semantics-buttons-neutral-transparent-content-color);
98
+ --_secondary-content-color: var(--semantics-buttons-neutral-transparent-content-secondary-color);
98
99
  --_highlight-border-color: transparent;
99
100
  --_is-hovered-background-color: transparent;
100
- --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-primary-content-color);
101
- --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-secondary-content-color);
101
+ --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-content-color);
102
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-content-secondary-color);
102
103
  --_is-hovered-highlight-border-color: transparent;
103
104
  --_is-active-background-color: transparent;
104
- --_is-active-primary-content-color: var(--semantics-buttons-neutral-transparent-is-active-primary-content-color);
105
- --_is-active-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-active-secondary-content-color);
105
+ --_is-active-primary-content-color: var(--semantics-buttons-neutral-transparent-is-active-content-color);
106
+ --_is-active-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-active-content-secondary-color);
106
107
  --_is-active-highlight-border-color: transparent;
107
108
  }
108
109
 
109
110
  :host([variant="accent-filled"]),
110
111
  :host([variant="primary"]) {
111
112
  --_background-color: var(--semantics-buttons-accent-filled-background-color);
112
- --_primary-content-color: var(--semantics-buttons-accent-filled-primary-content-color);
113
- --_secondary-content-color: var(--semantics-buttons-accent-filled-secondary-content-color);
113
+ --_primary-content-color: var(--semantics-buttons-accent-filled-content-color);
114
+ --_secondary-content-color: var(--semantics-buttons-accent-filled-content-secondary-color);
114
115
  --_highlight-border-color: var(--semantics-buttons-accent-filled-highlight-border-color);
115
116
  --_is-hovered-background-color: var(--semantics-buttons-accent-filled-is-hovered-background-color);
116
- --_is-hovered-primary-content-color: var(--semantics-buttons-accent-filled-is-hovered-primary-content-color);
117
- --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-filled-is-hovered-secondary-content-color);
117
+ --_is-hovered-primary-content-color: var(--semantics-buttons-accent-filled-is-hovered-content-color);
118
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-filled-is-hovered-content-secondary-color);
118
119
  --_is-hovered-highlight-border-color: var(--semantics-buttons-accent-filled-is-hovered-highlight-border-color);
119
120
  --_is-active-background-color: var(--semantics-buttons-accent-filled-is-active-background-color);
120
- --_is-active-primary-content-color: var(--semantics-buttons-accent-filled-is-active-primary-content-color);
121
- --_is-active-secondary-content-color: var(--semantics-buttons-accent-filled-is-active-secondary-content-color);
121
+ --_is-active-primary-content-color: var(--semantics-buttons-accent-filled-is-active-content-color);
122
+ --_is-active-secondary-content-color: var(--semantics-buttons-accent-filled-is-active-content-secondary-color);
122
123
  --_is-active-highlight-border-color: var(--semantics-buttons-accent-filled-is-active-highlight-border-color);
123
124
  }
124
125
 
125
126
  :host([variant="accent-transparent"]) {
126
127
  --_background-color: transparent;
127
- --_primary-content-color: var(--semantics-buttons-accent-transparent-primary-content-color);
128
- --_secondary-content-color: var(--semantics-buttons-accent-transparent-secondary-content-color);
128
+ --_primary-content-color: var(--semantics-buttons-accent-transparent-content-color);
129
+ --_secondary-content-color: var(--semantics-buttons-accent-transparent-content-secondary-color);
129
130
  --_highlight-border-color: transparent;
130
131
  --_is-hovered-background-color: transparent;
131
- --_is-hovered-primary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-primary-content-color);
132
- --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-secondary-content-color);
132
+ --_is-hovered-primary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-content-color);
133
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-content-secondary-color);
133
134
  --_is-hovered-highlight-border-color: transparent;
134
135
  --_is-active-background-color: transparent;
135
- --_is-active-primary-content-color: var(--semantics-buttons-accent-transparent-is-active-primary-content-color);
136
- --_is-active-secondary-content-color: var(--semantics-buttons-accent-transparent-is-active-secondary-content-color);
136
+ --_is-active-primary-content-color: var(--semantics-buttons-accent-transparent-is-active-content-color);
137
+ --_is-active-secondary-content-color: var(--semantics-buttons-accent-transparent-is-active-content-secondary-color);
137
138
  --_is-active-highlight-border-color: transparent;
138
139
  }
139
140
 
140
141
  :host([variant="critical-tinted"]),
141
142
  :host([variant="destructive"]) {
142
143
  --_background-color: var(--semantics-buttons-critical-tinted-background-color);
143
- --_primary-content-color: var(--semantics-buttons-critical-tinted-primary-content-color);
144
- --_secondary-content-color: var(--semantics-buttons-critical-tinted-secondary-content-color);
144
+ --_primary-content-color: var(--semantics-buttons-critical-tinted-content-color);
145
+ --_secondary-content-color: var(--semantics-buttons-critical-tinted-content-secondary-color);
145
146
  --_highlight-border-color: var(--semantics-buttons-critical-tinted-highlight-border-color);
146
147
  --_is-hovered-background-color: var(--semantics-buttons-critical-tinted-is-hovered-background-color);
147
- --_is-hovered-primary-content-color: var(--semantics-buttons-critical-tinted-is-hovered-primary-content-color);
148
- --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-tinted-is-hovered-secondary-content-color);
148
+ --_is-hovered-primary-content-color: var(--semantics-buttons-critical-tinted-is-hovered-content-color);
149
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-tinted-is-hovered-content-secondary-color);
149
150
  --_is-hovered-highlight-border-color: var(--semantics-buttons-critical-tinted-is-hovered-highlight-border-color);
150
151
  --_is-active-background-color: var(--semantics-buttons-critical-tinted-is-active-background-color);
151
- --_is-active-primary-content-color: var(--semantics-buttons-critical-tinted-is-active-primary-content-color);
152
- --_is-active-secondary-content-color: var(--semantics-buttons-critical-tinted-is-active-secondary-content-color);
152
+ --_is-active-primary-content-color: var(--semantics-buttons-critical-tinted-is-active-content-color);
153
+ --_is-active-secondary-content-color: var(--semantics-buttons-critical-tinted-is-active-content-secondary-color);
153
154
  --_is-active-highlight-border-color: var(--semantics-buttons-critical-tinted-is-active-highlight-border-color);
154
155
  }
155
156
 
156
157
  :host([variant="critical-transparent"]) {
157
158
  --_background-color: transparent;
158
- --_primary-content-color: var(--semantics-buttons-critical-transparent-primary-content-color);
159
- --_secondary-content-color: var(--semantics-buttons-critical-transparent-secondary-content-color);
159
+ --_primary-content-color: var(--semantics-buttons-critical-transparent-content-color);
160
+ --_secondary-content-color: var(--semantics-buttons-critical-transparent-content-secondary-color);
160
161
  --_highlight-border-color: transparent;
161
162
  --_is-hovered-background-color: transparent;
162
- --_is-hovered-primary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-primary-content-color);
163
- --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-secondary-content-color);
163
+ --_is-hovered-primary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-content-color);
164
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-content-secondary-color);
164
165
  --_is-hovered-highlight-border-color: transparent;
165
166
  --_is-active-background-color: transparent;
166
- --_is-active-primary-content-color: var(--semantics-buttons-critical-transparent-is-active-primary-content-color);
167
- --_is-active-secondary-content-color: var(--semantics-buttons-critical-transparent-is-active-secondary-content-color);
167
+ --_is-active-primary-content-color: var(--semantics-buttons-critical-transparent-is-active-content-color);
168
+ --_is-active-secondary-content-color: var(--semantics-buttons-critical-transparent-is-active-content-secondary-color);
168
169
  --_is-active-highlight-border-color: transparent;
169
170
  }
170
171
 
@@ -176,31 +177,31 @@ export const buttonStyles = css `
176
177
 
177
178
  :host([variant="inherit-tinted"]) {
178
179
  --_background-color: var(--semantics-buttons-inherit-tinted-background-color);
179
- --_primary-content-color: var(--semantics-buttons-inherit-tinted-primary-content-color);
180
- --_secondary-content-color: var(--semantics-buttons-inherit-tinted-secondary-content-color);
180
+ --_primary-content-color: var(--semantics-buttons-inherit-tinted-content-color);
181
+ --_secondary-content-color: var(--semantics-buttons-inherit-tinted-content-secondary-color);
181
182
  --_highlight-border-color: var(--semantics-buttons-inherit-tinted-highlight-border-color);
182
183
  --_is-hovered-background-color: var(--semantics-buttons-inherit-tinted-is-hovered-background-color);
183
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-tinted-is-hovered-primary-content-color);
184
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-hovered-secondary-content-color);
184
+ --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-tinted-is-hovered-content-color);
185
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-hovered-content-secondary-color);
185
186
  --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-hovered-highlight-border-color);
186
187
  --_is-active-background-color: var(--semantics-buttons-inherit-tinted-is-active-background-color);
187
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-tinted-is-active-primary-content-color);
188
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-active-secondary-content-color);
188
+ --_is-active-primary-content-color: var(--semantics-buttons-inherit-tinted-is-active-content-color);
189
+ --_is-active-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-active-content-secondary-color);
189
190
  --_is-active-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-active-highlight-border-color);
190
191
  }
191
192
 
192
193
  :host([variant="inherit-filled"]) {
193
194
  --_background-color: var(--semantics-buttons-inherit-filled-background-color);
194
- --_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-primary-content-color));
195
- --_secondary-content-color: var(--semantics-buttons-inherit-filled-secondary-content-color);
195
+ --_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-content-color));
196
+ --_secondary-content-color: var(--semantics-buttons-inherit-filled-content-secondary-color);
196
197
  --_highlight-border-color: var(--semantics-buttons-inherit-filled-highlight-border-color);
197
198
  --_is-hovered-background-color: var(--semantics-buttons-inherit-filled-is-hovered-background-color);
198
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-filled-is-hovered-primary-content-color);
199
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-filled-is-hovered-secondary-content-color);
199
+ --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-filled-is-hovered-content-color);
200
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-filled-is-hovered-content-secondary-color);
200
201
  --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-filled-is-hovered-highlight-border-color);
201
202
  --_is-active-background-color: var(--semantics-buttons-inherit-filled-is-active-background-color);
202
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-filled-is-active-primary-content-color);
203
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-filled-is-active-secondary-content-color);
203
+ --_is-active-primary-content-color: var(--semantics-buttons-inherit-filled-is-active-content-color);
204
+ --_is-active-secondary-content-color: var(--semantics-buttons-inherit-filled-is-active-content-secondary-color);
204
205
  --_is-active-highlight-border-color: var(--semantics-buttons-inherit-filled-is-active-highlight-border-color);
205
206
  }
206
207
 
@@ -221,108 +222,108 @@ export const buttonStyles = css `
221
222
 
222
223
  :host([expanded]) {
223
224
  --_background-color: var(--semantics-buttons-neutral-tinted-is-expanded-background-color);
224
- --_primary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-primary-content-color);
225
- --_secondary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-secondary-content-color);
225
+ --_primary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-content-color);
226
+ --_secondary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-content-secondary-color);
226
227
  --_highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-highlight-border-color);
227
228
  --_is-hovered-background-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-background-color);
228
- --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-primary-content-color);
229
- --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-secondary-content-color);
229
+ --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-content-color);
230
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-content-secondary-color);
230
231
  --_is-hovered-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-highlight-border-color);
231
232
  --_is-active-background-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-background-color);
232
- --_is-active-primary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-primary-content-color);
233
- --_is-active-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-secondary-content-color);
233
+ --_is-active-primary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-content-color);
234
+ --_is-active-secondary-content-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-content-secondary-color);
234
235
  --_is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-highlight-border-color);
235
236
  }
236
237
 
237
238
  :host([expanded][variant="neutral-base"]) {
238
239
  --_background-color: var(--semantics-buttons-neutral-base-is-expanded-background-color);
239
- --_primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-primary-content-color);
240
- --_secondary-content-color: var(--semantics-buttons-neutral-base-is-expanded-secondary-content-color);
240
+ --_primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-content-color);
241
+ --_secondary-content-color: var(--semantics-buttons-neutral-base-is-expanded-content-secondary-color);
241
242
  --_highlight-border-color: var(--semantics-buttons-neutral-base-is-expanded-highlight-border-color);
242
243
  --_is-hovered-background-color: var(--semantics-buttons-neutral-base-is-expanded-is-hovered-background-color);
243
- --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-hovered-primary-content-color);
244
- --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-hovered-secondary-content-color);
244
+ --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-hovered-content-color);
245
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-hovered-content-secondary-color);
245
246
  --_is-hovered-highlight-border-color: var(--semantics-buttons-neutral-base-is-expanded-is-hovered-highlight-border-color);
246
247
  --_is-active-background-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-background-color);
247
- --_is-active-primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-primary-content-color);
248
- --_is-active-secondary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-secondary-content-color);
248
+ --_is-active-primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-content-color);
249
+ --_is-active-secondary-content-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-content-secondary-color);
249
250
  --_is-active-highlight-border-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-highlight-border-color);
250
251
  }
251
252
 
252
253
  :host([expanded][variant="neutral-transparent"]) {
253
254
  --_background-color: transparent;
254
- --_primary-content-color: var(--semantics-buttons-neutral-transparent-primary-content-color);
255
- --_secondary-content-color: var(--semantics-buttons-neutral-transparent-secondary-content-color);
255
+ --_primary-content-color: var(--semantics-buttons-neutral-transparent-content-color);
256
+ --_secondary-content-color: var(--semantics-buttons-neutral-transparent-content-secondary-color);
256
257
  --_highlight-border-color: transparent;
257
258
  --_is-hovered-background-color: transparent;
258
- --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-primary-content-color);
259
- --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-secondary-content-color);
259
+ --_is-hovered-primary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-content-color);
260
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-hovered-content-secondary-color);
260
261
  --_is-hovered-highlight-border-color: transparent;
261
262
  --_is-active-background-color: transparent;
262
- --_is-active-primary-content-color: var(--semantics-buttons-neutral-transparent-is-active-primary-content-color);
263
- --_is-active-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-active-secondary-content-color);
263
+ --_is-active-primary-content-color: var(--semantics-buttons-neutral-transparent-is-active-content-color);
264
+ --_is-active-secondary-content-color: var(--semantics-buttons-neutral-transparent-is-active-content-secondary-color);
264
265
  --_is-active-highlight-border-color: transparent;
265
266
  }
266
267
 
267
268
  :host([expanded][variant="accent-filled"]),
268
269
  :host([expanded][variant="primary"]) {
269
270
  --_background-color: var(--semantics-buttons-accent-filled-is-expanded-background-color);
270
- --_primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-primary-content-color);
271
- --_secondary-content-color: var(--semantics-buttons-accent-filled-is-expanded-secondary-content-color);
271
+ --_primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-content-color);
272
+ --_secondary-content-color: var(--semantics-buttons-accent-filled-is-expanded-content-secondary-color);
272
273
  --_highlight-border-color: var(--semantics-buttons-accent-filled-is-expanded-highlight-border-color);
273
274
  --_is-hovered-background-color: var(--semantics-buttons-accent-filled-is-expanded-is-hovered-background-color);
274
- --_is-hovered-primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-hovered-primary-content-color);
275
- --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-hovered-secondary-content-color);
275
+ --_is-hovered-primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-hovered-content-color);
276
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-hovered-content-secondary-color);
276
277
  --_is-hovered-highlight-border-color: var(--semantics-buttons-accent-filled-is-expanded-is-hovered-highlight-border-color);
277
278
  --_is-active-background-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-background-color);
278
- --_is-active-primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-primary-content-color);
279
- --_is-active-secondary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-secondary-content-color);
279
+ --_is-active-primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-content-color);
280
+ --_is-active-secondary-content-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-content-secondary-color);
280
281
  --_is-active-highlight-border-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-highlight-border-color);
281
282
  }
282
283
 
283
284
  :host([expanded][variant="accent-transparent"]) {
284
285
  --_background-color: transparent;
285
- --_primary-content-color: var(--semantics-buttons-accent-transparent-primary-content-color);
286
- --_secondary-content-color: var(--semantics-buttons-accent-transparent-secondary-content-color);
286
+ --_primary-content-color: var(--semantics-buttons-accent-transparent-content-color);
287
+ --_secondary-content-color: var(--semantics-buttons-accent-transparent-content-secondary-color);
287
288
  --_highlight-border-color: transparent;
288
289
  --_is-hovered-background-color: transparent;
289
- --_is-hovered-primary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-primary-content-color);
290
- --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-secondary-content-color);
290
+ --_is-hovered-primary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-content-color);
291
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-accent-transparent-is-hovered-content-secondary-color);
291
292
  --_is-hovered-highlight-border-color: transparent;
292
293
  --_is-active-background-color: transparent;
293
- --_is-active-primary-content-color: var(--semantics-buttons-accent-transparent-is-active-primary-content-color);
294
- --_is-active-secondary-content-color: var(--semantics-buttons-accent-transparent-is-active-secondary-content-color);
294
+ --_is-active-primary-content-color: var(--semantics-buttons-accent-transparent-is-active-content-color);
295
+ --_is-active-secondary-content-color: var(--semantics-buttons-accent-transparent-is-active-content-secondary-color);
295
296
  --_is-active-highlight-border-color: transparent;
296
297
  }
297
298
 
298
299
  :host([expanded][variant="critical-tinted"]),
299
300
  :host([expanded][variant="destructive"]) {
300
301
  --_background-color: var(--semantics-buttons-critical-tinted-is-expanded-background-color);
301
- --_primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-primary-content-color);
302
- --_secondary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-secondary-content-color);
302
+ --_primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-content-color);
303
+ --_secondary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-content-secondary-color);
303
304
  --_highlight-border-color: var(--semantics-buttons-critical-tinted-is-expanded-highlight-border-color);
304
305
  --_is-hovered-background-color: var(--semantics-buttons-critical-tinted-is-expanded-is-hovered-background-color);
305
- --_is-hovered-primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-hovered-primary-content-color);
306
- --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-hovered-secondary-content-color);
306
+ --_is-hovered-primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-hovered-content-color);
307
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-hovered-content-secondary-color);
307
308
  --_is-hovered-highlight-border-color: var(--semantics-buttons-critical-tinted-is-expanded-is-hovered-highlight-border-color);
308
309
  --_is-active-background-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-background-color);
309
- --_is-active-primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-primary-content-color);
310
- --_is-active-secondary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-secondary-content-color);
310
+ --_is-active-primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-content-color);
311
+ --_is-active-secondary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-content-secondary-color);
311
312
  --_is-active-highlight-border-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-highlight-border-color);
312
313
  }
313
314
 
314
315
  :host([expanded][variant="critical-transparent"]) {
315
316
  --_background-color: transparent;
316
- --_primary-content-color: var(--semantics-buttons-critical-transparent-primary-content-color);
317
- --_secondary-content-color: var(--semantics-buttons-critical-transparent-secondary-content-color);
317
+ --_primary-content-color: var(--semantics-buttons-critical-transparent-content-color);
318
+ --_secondary-content-color: var(--semantics-buttons-critical-transparent-content-secondary-color);
318
319
  --_highlight-border-color: transparent;
319
320
  --_is-hovered-background-color: transparent;
320
- --_is-hovered-primary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-primary-content-color);
321
- --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-secondary-content-color);
321
+ --_is-hovered-primary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-content-color);
322
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-critical-transparent-is-hovered-content-secondary-color);
322
323
  --_is-hovered-highlight-border-color: transparent;
323
324
  --_is-active-background-color: transparent;
324
- --_is-active-primary-content-color: var(--semantics-buttons-critical-transparent-is-active-primary-content-color);
325
- --_is-active-secondary-content-color: var(--semantics-buttons-critical-transparent-is-active-secondary-content-color);
325
+ --_is-active-primary-content-color: var(--semantics-buttons-critical-transparent-is-active-content-color);
326
+ --_is-active-secondary-content-color: var(--semantics-buttons-critical-transparent-is-active-content-secondary-color);
326
327
  --_is-active-highlight-border-color: transparent;
327
328
  }
328
329
 
@@ -332,31 +333,31 @@ export const buttonStyles = css `
332
333
  specificity and later source order, so it would otherwise win. */
333
334
  :host([expanded][variant="inherit-tinted"]) {
334
335
  --_background-color: var(--semantics-buttons-inherit-tinted-is-expanded-background-color);
335
- --_primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-primary-content-color);
336
- --_secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-secondary-content-color);
336
+ --_primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-content-color);
337
+ --_secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-content-secondary-color);
337
338
  --_highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-highlight-border-color);
338
339
  --_is-hovered-background-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-background-color);
339
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-primary-content-color);
340
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-secondary-content-color);
340
+ --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-content-color);
341
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-content-secondary-color);
341
342
  --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-highlight-border-color);
342
343
  --_is-active-background-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-background-color);
343
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-primary-content-color);
344
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-secondary-content-color);
344
+ --_is-active-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-content-color);
345
+ --_is-active-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-content-secondary-color);
345
346
  --_is-active-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-highlight-border-color);
346
347
  }
347
348
 
348
349
  :host([expanded][variant="inherit-filled"]) {
349
350
  --_background-color: var(--semantics-buttons-inherit-filled-is-expanded-background-color);
350
- --_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-is-expanded-primary-content-color));
351
- --_secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-secondary-content-color);
351
+ --_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-is-expanded-content-color));
352
+ --_secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-content-secondary-color);
352
353
  --_highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-highlight-border-color);
353
354
  --_is-hovered-background-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-background-color);
354
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-primary-content-color);
355
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-secondary-content-color);
355
+ --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-content-color);
356
+ --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-content-secondary-color);
356
357
  --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-highlight-border-color);
357
358
  --_is-active-background-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-background-color);
358
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-primary-content-color);
359
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-secondary-content-color);
359
+ --_is-active-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-content-color);
360
+ --_is-active-secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-content-secondary-color);
360
361
  --_is-active-highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-highlight-border-color);
361
362
  }
362
363
 
@@ -1 +1 @@
1
- {"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgC3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyjBrB,CAAC"}
1
+ {"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgC3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0jBrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AA+BD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,wCAqGlE"}
1
+ {"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AA+BD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,wCA+GlE"}
@@ -78,6 +78,11 @@ export function template(helpers) {
78
78
  </div>
79
79
  `
80
80
  : nothing;
81
+ // A single slotted nldd-menu / nldd-popover that this button invokes. Kept in
82
+ // a named slot so it never lands in the text/icon slots; it renders nothing
83
+ // in flow (a popover is display:none until shown in the top layer). See
84
+ // _handleClick.
85
+ const popupSlot = html `<slot name="popup" @slotchange=${this._popup.handleSlotChange}></slot>`;
81
86
  if (this.href) {
82
87
  const resolvedRel = this._resolvedRel();
83
88
  return html `
@@ -90,12 +95,14 @@ export function template(helpers) {
90
95
  aria-haspopup=${this.popupType || nothing}
91
96
  aria-expanded=${ariaExpanded}
92
97
  aria-busy=${ariaBusy}
98
+ @pointerdown=${this._popup.handlePointerdown}
93
99
  @click=${helpers.handleClick}
94
100
  >
95
101
  ${content}
96
102
  ${renderOpensInNewTabHint ? html `<span class="button__opens-in-new-tab-hint">${opensInNewTabHint}</span>` : nothing}
97
103
  </a>
98
104
  ${loadingIndicator}
105
+ ${popupSlot}
99
106
  `;
100
107
  }
101
108
  // .popoverTargetElement / .popoverTargetAction are bound unguarded: in
@@ -115,11 +122,13 @@ export function template(helpers) {
115
122
  popovertarget=${this.popovertarget || nothing}
116
123
  .popoverTargetElement=${this.popoverTargetElement}
117
124
  .popoverTargetAction=${this.popoverTargetAction}
125
+ @pointerdown=${this._popup.handlePointerdown}
118
126
  @click=${helpers.handleClick}
119
127
  >
120
128
  ${content}
121
129
  </button>
122
130
  ${loadingIndicator}
131
+ ${popupSlot}
123
132
  `;
124
133
  }
125
134
  //# sourceMappingURL=button.template.js.map