@nldd/design-system 0.8.92 → 0.8.94

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 (630) hide show
  1. package/NOTICES.md +29 -27
  2. package/README.md +39 -26
  3. package/custom-elements.json +2134 -1509
  4. package/dist/components/actions/button/button.d.ts +28 -6
  5. package/dist/components/actions/button/button.d.ts.map +1 -1
  6. package/dist/components/actions/button/button.js +58 -8
  7. package/dist/components/actions/button/button.js.map +1 -1
  8. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  9. package/dist/components/actions/button/button.styles.js +44 -74
  10. package/dist/components/actions/button/button.styles.js.map +1 -1
  11. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  12. package/dist/components/actions/button/button.template.js +4 -3
  13. package/dist/components/actions/button/button.template.js.map +1 -1
  14. package/dist/components/actions/button-bar/button-bar.d.ts +11 -4
  15. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  16. package/dist/components/actions/button-bar/button-bar.js +25 -9
  17. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  18. package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
  19. package/dist/components/actions/button-bar/button-bar.styles.js +18 -3
  20. package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
  21. package/dist/components/actions/button-group/button-group.d.ts +48 -3
  22. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  23. package/dist/components/actions/button-group/button-group.js +104 -11
  24. package/dist/components/actions/button-group/button-group.js.map +1 -1
  25. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  26. package/dist/components/actions/button-group/button-group.styles.js +64 -4
  27. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  28. package/dist/components/actions/icon-button/icon-button.d.ts +13 -7
  29. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  30. package/dist/components/actions/icon-button/icon-button.js +16 -7
  31. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  32. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  33. package/dist/components/actions/icon-button/icon-button.styles.js +35 -61
  34. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  35. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  36. package/dist/components/actions/icon-button/icon-button.template.js +8 -4
  37. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  38. package/dist/components/actions/menu/menu.d.ts +46 -31
  39. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  40. package/dist/components/actions/menu/menu.js +87 -64
  41. package/dist/components/actions/menu/menu.js.map +1 -1
  42. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  43. package/dist/components/actions/menu/menu.styles.js +4 -0
  44. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  45. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  46. package/dist/components/actions/menu/menu.template.js +13 -5
  47. package/dist/components/actions/menu/menu.template.js.map +1 -1
  48. package/dist/components/actions/split-button/split-button.d.ts +2 -2
  49. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  50. package/dist/components/actions/split-button/split-button.js +5 -4
  51. package/dist/components/actions/split-button/split-button.js.map +1 -1
  52. package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
  53. package/dist/components/actions/split-button/split-button.styles.js +18 -3
  54. package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
  55. package/dist/components/actions/split-button/split-button.template.js +2 -2
  56. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  57. package/dist/components/actions/toolbar/toolbar.d.ts +24 -10
  58. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  59. package/dist/components/actions/toolbar/toolbar.js +60 -28
  60. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  61. package/dist/components/actions/toolbar/toolbar.styles.js +7 -7
  62. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  63. package/dist/components/actions/toolbar/toolbar.template.js +3 -2
  64. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  65. package/dist/components/components.js +3034 -1382
  66. package/dist/components/content/avatar/avatar.d.ts +23 -5
  67. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  68. package/dist/components/content/avatar/avatar.js +24 -6
  69. package/dist/components/content/avatar/avatar.js.map +1 -1
  70. package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
  71. package/dist/components/content/avatar/avatar.template.js +5 -2
  72. package/dist/components/content/avatar/avatar.template.js.map +1 -1
  73. package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
  74. package/dist/components/content/avatar-group/avatar-group.template.js +6 -2
  75. package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
  76. package/dist/components/content/code-viewer/code-viewer.d.ts +2 -2
  77. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  78. package/dist/components/content/code-viewer/code-viewer.js +10 -6
  79. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  80. package/dist/components/content/code-viewer/code-viewer.styles.js +6 -6
  81. package/dist/components/content/icon/icon.d.ts +18 -6
  82. package/dist/components/content/icon/icon.d.ts.map +1 -1
  83. package/dist/components/content/icon/icon.js +30 -10
  84. package/dist/components/content/icon/icon.js.map +1 -1
  85. package/dist/components/content/identity/identity.template.d.ts.map +1 -1
  86. package/dist/components/content/identity/identity.template.js +4 -1
  87. package/dist/components/content/identity/identity.template.js.map +1 -1
  88. package/dist/components/content/image/image.d.ts.map +1 -1
  89. package/dist/components/content/image/image.js +2 -1
  90. package/dist/components/content/image/image.js.map +1 -1
  91. package/dist/components/content/image/image.template.d.ts.map +1 -1
  92. package/dist/components/content/image/image.template.js +7 -2
  93. package/dist/components/content/image/image.template.js.map +1 -1
  94. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +3 -3
  95. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  96. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +3 -3
  97. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  98. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +7 -7
  99. package/dist/components/content/rich-text/rich-text.d.ts +20 -9
  100. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  101. package/dist/components/content/rich-text/rich-text.js +32 -16
  102. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  103. package/dist/components/content/tag/tag.d.ts +2 -2
  104. package/dist/components/content/tag/tag.d.ts.map +1 -1
  105. package/dist/components/content/tag/tag.js +5 -5
  106. package/dist/components/content/tag/tag.js.map +1 -1
  107. package/dist/components/content/tag/tag.template.js +2 -2
  108. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  109. package/dist/components/content/text/text.styles.js +1 -0
  110. package/dist/components/content/text/text.styles.js.map +1 -1
  111. package/dist/components/content/title/title.d.ts +30 -6
  112. package/dist/components/content/title/title.d.ts.map +1 -1
  113. package/dist/components/content/title/title.js +72 -8
  114. package/dist/components/content/title/title.js.map +1 -1
  115. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  116. package/dist/components/content/title/title.styles.js +41 -4
  117. package/dist/components/content/title/title.styles.js.map +1 -1
  118. package/dist/components/content/title/title.template.d.ts +2 -1
  119. package/dist/components/content/title/title.template.d.ts.map +1 -1
  120. package/dist/components/content/title/title.template.js +33 -5
  121. package/dist/components/content/title/title.template.js.map +1 -1
  122. package/dist/components/content/token/token.d.ts +15 -5
  123. package/dist/components/content/token/token.d.ts.map +1 -1
  124. package/dist/components/content/token/token.i18n.d.ts +7 -0
  125. package/dist/components/content/token/token.i18n.d.ts.map +1 -0
  126. package/dist/components/content/token/token.i18n.js +6 -0
  127. package/dist/components/content/token/token.i18n.js.map +1 -0
  128. package/dist/components/content/token/token.js +56 -14
  129. package/dist/components/content/token/token.js.map +1 -1
  130. package/dist/components/content/token/token.template.js +6 -6
  131. package/dist/components/content/token/token.template.js.map +1 -1
  132. package/dist/components/forms/form/form.d.ts +18 -7
  133. package/dist/components/forms/form/form.d.ts.map +1 -1
  134. package/dist/components/forms/form/form.js +18 -7
  135. package/dist/components/forms/form/form.js.map +1 -1
  136. package/dist/components/forms/form-actions/form-actions.d.ts +1 -1
  137. package/dist/components/forms/form-actions/form-actions.js +1 -1
  138. package/dist/components/forms/form-field/form-field.d.ts +12 -1
  139. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  140. package/dist/components/forms/form-field/form-field.js +12 -1
  141. package/dist/components/forms/form-field/form-field.js.map +1 -1
  142. package/dist/components/forms/form-section/form-section.d.ts +3 -3
  143. package/dist/components/forms/form-section/form-section.js +8 -8
  144. package/dist/components/forms/form-section/form-section.js.map +1 -1
  145. package/dist/components/forms/validation-list/validation-list.d.ts +7 -4
  146. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  147. package/dist/components/forms/validation-list/validation-list.js +7 -4
  148. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  149. package/dist/components/{icon-C_zwJZ_g.js → icon-DWNVcttg.js} +4 -4
  150. package/dist/components/{icon-button-oua8pmMC.js → icon-button-DHzLMmj0.js} +62 -78
  151. package/dist/components/index.d.ts +1 -0
  152. package/dist/components/index.d.ts.map +1 -1
  153. package/dist/components/index.js +2 -0
  154. package/dist/components/index.js.map +1 -1
  155. package/dist/components/inputs/checkbox/checkbox.template.d.ts.map +1 -1
  156. package/dist/components/inputs/checkbox/checkbox.template.js +11 -5
  157. package/dist/components/inputs/checkbox/checkbox.template.js.map +1 -1
  158. package/dist/components/inputs/code-editor/code-editor.d.ts +5 -5
  159. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  160. package/dist/components/inputs/code-editor/code-editor.js +5 -5
  161. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  162. package/dist/components/inputs/code-editor/code-editor.styles.js +3 -3
  163. package/dist/components/inputs/combo-box/combo-box.d.ts +47 -3
  164. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  165. package/dist/components/inputs/combo-box/combo-box.js +119 -41
  166. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  167. package/dist/components/inputs/combo-box/combo-box.template.js +4 -4
  168. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  169. package/dist/components/inputs/date-field/date-field.js +2 -1
  170. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  171. package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
  172. package/dist/components/inputs/date-field/date-field.template.js +6 -4
  173. package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
  174. package/dist/components/inputs/date-picker/date-picker.template.js +3 -3
  175. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  176. package/dist/components/inputs/dropdown/dropdown.d.ts +0 -2
  177. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  178. package/dist/components/inputs/dropdown/dropdown.js +1 -13
  179. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  180. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  181. package/dist/components/inputs/dropdown/dropdown.styles.js +24 -12
  182. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  183. package/dist/components/inputs/dropdown/dropdown.template.d.ts.map +1 -1
  184. package/dist/components/inputs/dropdown/dropdown.template.js +3 -4
  185. package/dist/components/inputs/dropdown/dropdown.template.js.map +1 -1
  186. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  187. package/dist/components/inputs/file-field/file-field.js +2 -7
  188. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  189. package/dist/components/inputs/file-field/file-field.template.js +3 -3
  190. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +2 -2
  191. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  192. package/dist/components/inputs/number-field/number-field.js +2 -1
  193. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  194. package/dist/components/inputs/number-field/number-field.styles.js +4 -4
  195. package/dist/components/inputs/number-field/number-field.template.js +2 -2
  196. package/dist/components/inputs/password-field/password-field.template.js +2 -2
  197. package/dist/components/inputs/radio-button/radio-button.template.d.ts.map +1 -1
  198. package/dist/components/inputs/radio-button/radio-button.template.js +3 -1
  199. package/dist/components/inputs/radio-button/radio-button.template.js.map +1 -1
  200. package/dist/components/inputs/search-field/search-field.d.ts +24 -24
  201. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  202. package/dist/components/inputs/search-field/search-field.js +42 -41
  203. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  204. package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
  205. package/dist/components/inputs/search-field/search-field.template.js +6 -4
  206. package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
  207. package/dist/components/inputs/segmented-control/segmented-control.d.ts +6 -0
  208. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  209. package/dist/components/inputs/segmented-control/segmented-control.js +13 -0
  210. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  211. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  212. package/dist/components/inputs/segmented-control/segmented-control.styles.js +54 -16
  213. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  214. package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
  215. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  216. package/dist/components/inputs/stepper/stepper.js +2 -1
  217. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  218. package/dist/components/inputs/stepper/stepper.template.js +2 -2
  219. package/dist/components/inputs/switch/switch.template.js +1 -1
  220. package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -1
  221. package/dist/components/inputs/text-editor/text-editor.annotations.js +6 -4
  222. package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
  223. package/dist/components/inputs/text-editor/text-editor.d.ts +27 -64
  224. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  225. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +2 -0
  226. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  227. package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -0
  228. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  229. package/dist/components/inputs/text-editor/text-editor.js +87 -20
  230. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  231. package/dist/components/inputs/text-editor/text-editor.labels.d.ts +4 -0
  232. package/dist/components/inputs/text-editor/text-editor.labels.d.ts.map +1 -0
  233. package/dist/components/inputs/text-editor/text-editor.labels.js +5 -0
  234. package/dist/components/inputs/text-editor/text-editor.labels.js.map +1 -0
  235. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  236. package/dist/components/inputs/text-editor/text-editor.links.js +7 -5
  237. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  238. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  239. package/dist/components/inputs/text-editor/text-editor.markdown.js +6 -2
  240. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  241. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +27 -3
  242. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  243. package/dist/components/inputs/text-editor/text-editor.mentions.js +145 -26
  244. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  245. package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts +11 -0
  246. package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts.map +1 -0
  247. package/dist/components/inputs/text-editor/text-editor.spellcheck.js +134 -0
  248. package/dist/components/inputs/text-editor/text-editor.spellcheck.js.map +1 -0
  249. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  250. package/dist/components/inputs/text-editor/text-editor.styles.js +9 -3
  251. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  252. package/dist/components/inputs/text-field/text-field.template.js +2 -2
  253. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  254. package/dist/components/inputs/time-field/time-field.js +2 -1
  255. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  256. package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
  257. package/dist/components/inputs/time-field/time-field.template.js +7 -5
  258. package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
  259. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  260. package/dist/components/inputs/time-picker/time-picker.js +2 -1
  261. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  262. package/dist/components/inputs/toggle-button/toggle-button.d.ts +12 -0
  263. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  264. package/dist/components/inputs/toggle-button/toggle-button.js +17 -0
  265. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  266. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  267. package/dist/components/inputs/toggle-button/toggle-button.styles.js +99 -12
  268. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  269. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  270. package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -4
  271. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  272. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +4 -2
  273. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  274. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -2
  275. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  276. package/dist/components/inputs/token-field/token-field.d.ts +26 -1
  277. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  278. package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
  279. package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
  280. package/dist/components/inputs/token-field/token-field.js +59 -6
  281. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  282. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  283. package/dist/components/inputs/token-field/token-field.styles.js +2 -1
  284. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  285. package/dist/components/inputs/token-field/token-field.template.d.ts.map +1 -1
  286. package/dist/components/inputs/token-field/token-field.template.js +7 -5
  287. package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
  288. package/dist/components/layout/app-view/app-view.d.ts +8 -0
  289. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  290. package/dist/components/layout/app-view/app-view.js +8 -0
  291. package/dist/components/layout/app-view/app-view.js.map +1 -1
  292. package/dist/components/layout/card/card.d.ts +7 -4
  293. package/dist/components/layout/card/card.d.ts.map +1 -1
  294. package/dist/components/layout/card/card.js +10 -7
  295. package/dist/components/layout/card/card.js.map +1 -1
  296. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  297. package/dist/components/layout/card/card.styles.js +22 -2
  298. package/dist/components/layout/card/card.styles.js.map +1 -1
  299. package/dist/components/layout/card/card.template.d.ts.map +1 -1
  300. package/dist/components/layout/card/card.template.js +4 -2
  301. package/dist/components/layout/card/card.template.js.map +1 -1
  302. package/dist/components/layout/collection/collection.d.ts +11 -6
  303. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  304. package/dist/components/layout/collection/collection.js +21 -15
  305. package/dist/components/layout/collection/collection.js.map +1 -1
  306. package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
  307. package/dist/components/layout/collection/collection.template.js +5 -2
  308. package/dist/components/layout/collection/collection.template.js.map +1 -1
  309. package/dist/components/layout/container/container.d.ts +13 -8
  310. package/dist/components/layout/container/container.d.ts.map +1 -1
  311. package/dist/components/layout/container/container.js +19 -14
  312. package/dist/components/layout/container/container.js.map +1 -1
  313. package/dist/components/layout/page/page.d.ts +52 -2
  314. package/dist/components/layout/page/page.d.ts.map +1 -1
  315. package/dist/components/layout/page/page.js +94 -3
  316. package/dist/components/layout/page/page.js.map +1 -1
  317. package/dist/components/layout/page/page.template.d.ts +6 -0
  318. package/dist/components/layout/page/page.template.d.ts.map +1 -1
  319. package/dist/components/layout/page/page.template.js +21 -6
  320. package/dist/components/layout/page/page.template.js.map +1 -1
  321. package/dist/components/layout/page-footer/page-footer.d.ts +2 -4
  322. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  323. package/dist/components/layout/page-footer/page-footer.js +8 -23
  324. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  325. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  326. package/dist/components/layout/page-footer/page-footer.template.js +16 -4
  327. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  328. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +4 -6
  329. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  330. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +4 -5
  331. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  332. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.d.ts.map +1 -1
  333. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js +8 -2
  334. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js.map +1 -1
  335. package/dist/components/layout/page-sections/hero/hero.d.ts +12 -14
  336. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  337. package/dist/components/layout/page-sections/hero/hero.js +19 -20
  338. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  339. package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -1
  340. package/dist/components/layout/page-sections/hero/hero.template.js +6 -2
  341. package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
  342. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +6 -8
  343. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  344. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +6 -7
  345. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  346. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.d.ts.map +1 -1
  347. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js +8 -2
  348. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js.map +1 -1
  349. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +6 -8
  350. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  351. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +6 -7
  352. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  353. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.d.ts.map +1 -1
  354. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js +8 -2
  355. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js.map +1 -1
  356. package/dist/components/layout/page-sections/page-section-controls.d.ts +139 -44
  357. package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
  358. package/dist/components/layout/page-sections/page-section-controls.js +44 -47
  359. package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
  360. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -12
  361. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  362. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +21 -20
  363. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  364. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
  365. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +8 -2
  366. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
  367. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +14 -8
  368. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  369. package/dist/components/layout/page-sections/simple-section/simple-section.js +14 -7
  370. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  371. package/dist/components/layout/page-sections/simple-section/simple-section.template.d.ts.map +1 -1
  372. package/dist/components/layout/page-sections/simple-section/simple-section.template.js +8 -2
  373. package/dist/components/layout/page-sections/simple-section/simple-section.template.js.map +1 -1
  374. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +6 -8
  375. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  376. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +6 -7
  377. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  378. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.d.ts.map +1 -1
  379. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js +8 -2
  380. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js.map +1 -1
  381. package/dist/components/layout/popover/popover.d.ts +12 -8
  382. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  383. package/dist/components/layout/popover/popover.js +40 -19
  384. package/dist/components/layout/popover/popover.js.map +1 -1
  385. package/dist/components/layout/sheet/sheet.d.ts +26 -11
  386. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  387. package/dist/components/layout/sheet/sheet.js +59 -20
  388. package/dist/components/layout/sheet/sheet.js.map +1 -1
  389. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  390. package/dist/components/layout/sheet/sheet.styles.js +4 -0
  391. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  392. package/dist/components/layout/sheet/sheet.template.js +1 -1
  393. package/dist/components/layout/sheet/sheet.template.js.map +1 -1
  394. package/dist/components/layout/spacer/spacer.d.ts +13 -0
  395. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  396. package/dist/components/layout/spacer/spacer.js +13 -0
  397. package/dist/components/layout/spacer/spacer.js.map +1 -1
  398. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +4 -1
  399. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  400. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -1
  401. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  402. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +11 -6
  403. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  404. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +17 -12
  405. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  406. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  407. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +4 -0
  408. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  409. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +3 -1
  410. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  411. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -1
  412. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  413. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +4 -4
  414. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  415. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +8 -8
  416. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  417. package/dist/components/layout/window/window.d.ts +30 -18
  418. package/dist/components/layout/window/window.d.ts.map +1 -1
  419. package/dist/components/layout/window/window.js +68 -32
  420. package/dist/components/layout/window/window.js.map +1 -1
  421. package/dist/components/lists-and-tables/cells/cell/cell.d.ts +4 -2
  422. package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
  423. package/dist/components/lists-and-tables/cells/cell/cell.js +7 -5
  424. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  425. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
  426. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
  427. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
  428. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +1 -1
  429. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js +88 -16
  430. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +1 -1
  431. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +4 -2
  432. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  433. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -5
  434. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  435. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  436. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +23 -0
  437. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  438. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.d.ts.map +1 -1
  439. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +11 -2
  440. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
  441. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  442. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  443. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
  444. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  445. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
  446. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +8 -2
  447. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
  448. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +11 -11
  449. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
  450. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +15 -15
  451. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
  452. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +5 -5
  453. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +2 -2
  454. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
  455. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +3 -3
  456. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  457. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +6 -6
  458. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  459. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
  460. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +8 -2
  461. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
  462. package/dist/components/lists-and-tables/list/list.d.ts +14 -11
  463. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  464. package/dist/components/lists-and-tables/list/list.js +36 -36
  465. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  466. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  467. package/dist/components/lists-and-tables/list/list.styles.js +9 -5
  468. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  469. package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
  470. package/dist/components/lists-and-tables/list/list.template.js +26 -9
  471. package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
  472. package/dist/components/lists-and-tables/list-item/list-item.d.ts +65 -43
  473. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  474. package/dist/components/lists-and-tables/list-item/list-item.js +116 -47
  475. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  476. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  477. package/dist/components/lists-and-tables/list-item/list-item.styles.js +4 -14
  478. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  479. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +35 -10
  480. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  481. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +45 -18
  482. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  483. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  484. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +4 -14
  485. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  486. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
  487. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
  488. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +11 -2
  489. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
  490. package/dist/components/lists-and-tables/table/table.d.ts +4 -2
  491. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  492. package/dist/components/lists-and-tables/table/table.js +15 -12
  493. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  494. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -2
  495. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  496. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -19
  497. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  498. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
  499. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +6 -6
  500. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  501. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
  502. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +10 -4
  503. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  504. package/dist/components/navigation/link/link.template.js +2 -2
  505. package/dist/components/navigation/menu-bar/menu-bar.js +1 -1
  506. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  507. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +4 -4
  508. package/dist/components/navigation/pagination/pagination.d.ts +0 -3
  509. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  510. package/dist/components/navigation/pagination/pagination.js +2 -13
  511. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  512. package/dist/components/navigation/pagination/pagination.styles.js +4 -4
  513. package/dist/components/navigation/pagination/pagination.template.js +3 -3
  514. package/dist/components/navigation/tab-bar/tab-bar.template.js +2 -2
  515. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +12 -0
  516. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  517. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +37 -2
  518. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  519. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  520. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +48 -3
  521. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  522. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.d.ts.map +1 -1
  523. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +4 -2
  524. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
  525. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +6 -2
  526. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  527. package/dist/components/navigation/top-title-bar/top-title-bar.js +7 -2
  528. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  529. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -2
  530. package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
  531. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +21 -6
  532. package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
  533. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  534. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -1
  535. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  536. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +4 -4
  537. package/dist/components/status-and-feedback/badge/badge.template.js +1 -1
  538. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  539. package/dist/components/status-and-feedback/banner/banner.js +2 -1
  540. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  541. package/dist/components/status-and-feedback/banner/banner.template.js +2 -2
  542. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +1 -1
  543. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +1 -1
  544. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +14 -5
  545. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  546. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +43 -13
  547. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  548. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
  549. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +4 -1
  550. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
  551. package/dist/components/status-and-feedback/notification/notification.d.ts +8 -8
  552. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  553. package/dist/components/status-and-feedback/notification/notification.js +13 -13
  554. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  555. package/dist/components/status-and-feedback/notification/notification.template.d.ts.map +1 -1
  556. package/dist/components/status-and-feedback/notification/notification.template.js +6 -3
  557. package/dist/components/status-and-feedback/notification/notification.template.js.map +1 -1
  558. package/dist/components/status-and-feedback/notification/{notification-region.d.ts → notifications-area.d.ts} +3 -3
  559. package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -0
  560. package/dist/components/status-and-feedback/notification/{notification-region.js → notifications-area.js} +137 -140
  561. package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -0
  562. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +4 -4
  563. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  564. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +11 -10
  565. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  566. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  567. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +10 -6
  568. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  569. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
  570. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +3 -2
  571. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
  572. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +6 -4
  573. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  574. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -13
  575. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  576. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
  577. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
  578. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +106 -18
  579. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  580. package/dist/components/status-and-feedback/status-bar/status-bar.template.js +1 -1
  581. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +4 -1
  582. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
  583. package/dist/components/status-and-feedback/step-indicator/step-indicator.js +4 -1
  584. package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
  585. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +2 -2
  586. package/dist/components/{with-translations-BAKFoEKy.js → with-translations-Dt2DTXJF.js} +40 -12
  587. package/dist/css/form-section.css +4 -4
  588. package/dist/css/form.css +4 -0
  589. package/dist/css/rich-text.css +31 -12
  590. package/dist/css/variables.css +33 -56
  591. package/dist/nldd.min.js +1772 -1113
  592. package/dist/translations/en-US.d.ts +17 -0
  593. package/dist/translations/en-US.d.ts.map +1 -0
  594. package/dist/translations/en-US.js +185 -0
  595. package/dist/translations/en-US.js.map +1 -0
  596. package/dist/translations/fy.d.ts +20 -0
  597. package/dist/translations/fy.d.ts.map +1 -0
  598. package/dist/translations/fy.js +185 -0
  599. package/dist/translations/fy.js.map +1 -0
  600. package/dist/translations/nl.generated.d.ts +188 -0
  601. package/dist/translations/nl.generated.d.ts.map +1 -0
  602. package/dist/translations/nl.generated.js +101 -0
  603. package/dist/translations/nl.generated.js.map +1 -0
  604. package/dist/translations/pap-AW.d.ts +22 -0
  605. package/dist/translations/pap-AW.d.ts.map +1 -0
  606. package/dist/translations/pap-AW.js +185 -0
  607. package/dist/translations/pap-AW.js.map +1 -0
  608. package/dist/translations/pap-CW.d.ts +22 -0
  609. package/dist/translations/pap-CW.d.ts.map +1 -0
  610. package/dist/translations/pap-CW.js +185 -0
  611. package/dist/translations/pap-CW.js.map +1 -0
  612. package/dist/types/vue.d.ts +387 -302
  613. package/dist/utilities/page-section-mixin.d.ts +3 -8
  614. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  615. package/dist/utilities/page-section-mixin.js +4 -84
  616. package/dist/utilities/page-section-mixin.js.map +1 -1
  617. package/dist/utilities/title-bar-label-controller.d.ts +25 -0
  618. package/dist/utilities/title-bar-label-controller.d.ts.map +1 -0
  619. package/dist/utilities/title-bar-label-controller.js +52 -0
  620. package/dist/utilities/title-bar-label-controller.js.map +1 -0
  621. package/dist/utilities/translations.d.ts +37 -0
  622. package/dist/utilities/translations.d.ts.map +1 -0
  623. package/dist/utilities/translations.js +80 -0
  624. package/dist/utilities/translations.js.map +1 -0
  625. package/dist/utilities/with-translations.d.ts.map +1 -1
  626. package/dist/utilities/with-translations.js +2 -15
  627. package/dist/utilities/with-translations.js.map +1 -1
  628. package/package.json +32 -4
  629. package/dist/components/status-and-feedback/notification/notification-region.d.ts.map +0 -1
  630. package/dist/components/status-and-feedback/notification/notification-region.js.map +0 -1
@@ -2,22 +2,24 @@
2
2
  * Nederlandse Digitale Dienst Button Component (Lit + TypeScript)
3
3
  *
4
4
  * @element nldd-button
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'. The inherit variants derive their colors from currentColor, for buttons on colored surfaces; inherit-filled uses the surface color (--context-parent-background-color) as the label color, with a white/black contrast flip as a fallback.
5
+ * @attr {string} appearance - Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted'. The inherit appearances derive their colors from currentColor, for buttons on colored surfaces; inherit-filled uses the surface color (--context-parent-background-color) as the label color, with a white/black contrast flip as a 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
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.
9
+ * @attr {string} loading-text - What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden".
9
10
  * @attr {boolean} disabled - Disabled state
10
11
  * @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
11
12
  * @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.
12
13
  * @attr {boolean} expandable - Whether the button has a icon to indicate it opens a menu or popover
13
14
  * @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.
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.
15
+ * @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. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup.
16
+ * @attr {string} form - Id of the form this button submits or resets, for a button that sits outside it. Takes an `nldd-form` as well as a plain `<form>`. Without it the button acts on the form it stands in. The id is looked up in the button's own root, as the platform does it: a button inside a shadow tree does not reach a form in the document around it. An id that finds nothing, or an `nldd-form` that has not rendered its form yet, says so in development rather than letting the click do nothing.
15
17
  * @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
16
18
  * @attr {string} max-width - Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis — a cap only means something if the content respects it.
17
19
  * @attr {string} text - Button text
18
20
  * @attr {string} supporting-text - Supporting text shown below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name).
19
21
  * @attr {boolean} single-line - When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width.
20
- * @attr {boolean} no-highlight-border - Removes the per-variant highlight border (e.g. when nldd-button-bar draws a single group border instead).
22
+ * @attr {boolean} no-highlight-border - Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead).
21
23
  * @attr {boolean} no-tab - Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (e.g. a button in a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable.
22
24
  * @attr {string} start-icon - Icon name for the start icon (before text)
23
25
  * @attr {string} end-icon - Icon name for the end icon (after text)
@@ -38,7 +40,7 @@ import { LitElement } from 'lit';
38
40
  import { PopupAnchorController } from '../../../utilities/popup-anchor-controller.js';
39
41
  import './../../content/icon/icon.js';
40
42
  import './../../status-and-feedback/activity-indicator/activity-indicator.js';
41
- type Variant = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted';
43
+ type Appearance = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted';
42
44
  type Size = 'xs' | 'sm' | 'md' | 'lg';
43
45
  type ButtonType = 'button' | 'submit' | 'reset';
44
46
  type PopupType = 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid';
@@ -52,7 +54,7 @@ export declare class NLDDButton extends NLDDButton_base {
52
54
  static styles: import("lit").CSSResult;
53
55
  static formAssociated: boolean;
54
56
  private _internals;
55
- variant: Variant;
57
+ appearance: Appearance;
56
58
  size: Size;
57
59
  /** Horizontal alignment of the button content. Most visible with width="full" or a fixed width. */
58
60
  horizontalAlignment: 'left' | 'center' | 'right' | '';
@@ -104,13 +106,15 @@ export declare class NLDDButton extends NLDDButton_base {
104
106
  * `click` listener delegated on an ancestor receives nothing while loading.
105
107
  */
106
108
  loading: boolean;
109
+ /** What the screen reader announces while loading. Empty falls back to the activity indicator's "Laden". */
110
+ loadingText: string;
107
111
  disabled: boolean;
108
112
  /** Button text. */
109
113
  text: string;
110
114
  /** Supporting text: below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name). */
111
115
  supportingText: string;
112
116
  singleLine: boolean;
113
- /** Removes the per-variant highlight border (e.g. when nldd-button-bar draws a single group border instead). */
117
+ /** Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead). */
114
118
  noHighlightBorder: boolean;
115
119
  /** Icon name for the start icon (before text). When not set, the start-icon slot is used. */
116
120
  startIcon: string;
@@ -128,12 +132,30 @@ export declare class NLDDButton extends NLDDButton_base {
128
132
  */
129
133
  rel: string | undefined;
130
134
  private _warnedA11y;
135
+ private _warnedFormId;
131
136
  /** Shared wiring for an overlay slotted into `popup`: anchors it to this
132
137
  * button and turns clicks into open/close. Not private: the template module
133
138
  * binds its handlers. */
134
139
  _popup: PopupAnchorController;
135
140
  updated(changedProperties: Map<string, unknown>): void;
136
141
  private _handleClick;
142
+ /**
143
+ * The form this button acts on: the one it sits in, or the one its `form`
144
+ * attribute names.
145
+ *
146
+ * The platform resolves that attribute itself, but only to a real `<form>`.
147
+ * An `nldd-form` renders its form in the light DOM without handing it the id
148
+ * the consumer wrote, so an id pointing at the component finds an element
149
+ * that is not a form, and the button ends up with no form owner at all. That
150
+ * is the whole reason a save button in a page footer, outside the form it
151
+ * belongs to, used to do nothing.
152
+ *
153
+ * The id is looked up in the button's own root, the same scope the platform
154
+ * searches: a button inside a shadow tree reaches the forms in that tree, not
155
+ * one in the document around it. Put the two in the same tree, or hand the
156
+ * button its form another way.
157
+ */
158
+ private _ownerForm;
137
159
  /**
138
160
  * Delegates focus to the inner `<button>` (or `<a>` when `href` is set), so
139
161
  * consumers can call `buttonEl.focus()` without reaching into shadow DOM.
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAG9E,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,qBACa,UAAW,SAAQ,eAAiE;IAChG,OAAgB,MAAM,0BAAgB;IAKtC,MAAM,CAAC,cAAc,UAAQ;IAC7B,OAAO,CAAC,UAAU,CAA0B;IAG5C,OAAO,EAAE,OAAO,CAAoB;IAGpC,IAAI,EAAE,IAAI,CAAQ;IAElB,mGAAmG;IAEnG,mBAAmB,EAAE,MAAM,GAAG,Q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B;CACD"}
@@ -2,22 +2,24 @@
2
2
  * Nederlandse Digitale Dienst Button Component (Lit + TypeScript)
3
3
  *
4
4
  * @element nldd-button
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'. The inherit variants derive their colors from currentColor, for buttons on colored surfaces; inherit-filled uses the surface color (--context-parent-background-color) as the label color, with a white/black contrast flip as a fallback.
5
+ * @attr {string} appearance - Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted'. The inherit appearances derive their colors from currentColor, for buttons on colored surfaces; inherit-filled uses the surface color (--context-parent-background-color) as the label color, with a white/black contrast flip as a 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
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.
9
+ * @attr {string} loading-text - What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden".
9
10
  * @attr {boolean} disabled - Disabled state
10
11
  * @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
11
12
  * @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.
12
13
  * @attr {boolean} expandable - Whether the button has a icon to indicate it opens a menu or popover
13
14
  * @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.
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.
15
+ * @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. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup.
16
+ * @attr {string} form - Id of the form this button submits or resets, for a button that sits outside it. Takes an `nldd-form` as well as a plain `<form>`. Without it the button acts on the form it stands in. The id is looked up in the button's own root, as the platform does it: a button inside a shadow tree does not reach a form in the document around it. An id that finds nothing, or an `nldd-form` that has not rendered its form yet, says so in development rather than letting the click do nothing.
15
17
  * @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
16
18
  * @attr {string} max-width - Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis — a cap only means something if the content respects it.
17
19
  * @attr {string} text - Button text
18
20
  * @attr {string} supporting-text - Supporting text shown below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name).
19
21
  * @attr {boolean} single-line - When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width.
20
- * @attr {boolean} no-highlight-border - Removes the per-variant highlight border (e.g. when nldd-button-bar draws a single group border instead).
22
+ * @attr {boolean} no-highlight-border - Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead).
21
23
  * @attr {boolean} no-tab - Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (e.g. a button in a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable.
22
24
  * @attr {string} start-icon - Icon name for the start icon (before text)
23
25
  * @attr {string} end-icon - Icon name for the end icon (after text)
@@ -55,7 +57,7 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
55
57
  constructor() {
56
58
  super(...arguments);
57
59
  this._internals = this.attachInternals();
58
- this.variant = 'neutral-tinted';
60
+ this.appearance = 'neutral-tinted';
59
61
  this.size = 'md';
60
62
  /** Horizontal alignment of the button content. Most visible with width="full" or a fixed width. */
61
63
  this.horizontalAlignment = '';
@@ -101,13 +103,15 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
101
103
  * `click` listener delegated on an ancestor receives nothing while loading.
102
104
  */
103
105
  this.loading = false;
106
+ /** What the screen reader announces while loading. Empty falls back to the activity indicator's "Laden". */
107
+ this.loadingText = '';
104
108
  this.disabled = false;
105
109
  /** Button text. */
106
110
  this.text = '';
107
111
  /** Supporting text: below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name). */
108
112
  this.supportingText = '';
109
113
  this.singleLine = false;
110
- /** Removes the per-variant highlight border (e.g. when nldd-button-bar draws a single group border instead). */
114
+ /** Removes the per-appearance highlight border (e.g. when nldd-button-bar draws a single group border instead). */
111
115
  this.noHighlightBorder = false;
112
116
  /** Icon name for the start icon (before text). When not set, the start-icon slot is used. */
113
117
  this.startIcon = '';
@@ -125,6 +129,7 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
125
129
  */
126
130
  this.rel = undefined;
127
131
  this._warnedA11y = false;
132
+ this._warnedFormId = null;
128
133
  /** Shared wiring for an overlay slotted into `popup`: anchors it to this
129
134
  * button and turns clicks into open/close. Not private: the template module
130
135
  * binds its handlers. */
@@ -194,10 +199,52 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
194
199
  // or separate forms.
195
200
  if (this.href)
196
201
  return;
202
+ const form = this._ownerForm();
197
203
  if (this.type === 'submit')
198
- this._internals.form?.requestSubmit();
204
+ form?.requestSubmit();
199
205
  else if (this.type === 'reset')
200
- this._internals.form?.reset();
206
+ form?.reset();
207
+ }
208
+ /**
209
+ * The form this button acts on: the one it sits in, or the one its `form`
210
+ * attribute names.
211
+ *
212
+ * The platform resolves that attribute itself, but only to a real `<form>`.
213
+ * An `nldd-form` renders its form in the light DOM without handing it the id
214
+ * the consumer wrote, so an id pointing at the component finds an element
215
+ * that is not a form, and the button ends up with no form owner at all. That
216
+ * is the whole reason a save button in a page footer, outside the form it
217
+ * belongs to, used to do nothing.
218
+ *
219
+ * The id is looked up in the button's own root, the same scope the platform
220
+ * searches: a button inside a shadow tree reaches the forms in that tree, not
221
+ * one in the document around it. Put the two in the same tree, or hand the
222
+ * button its form another way.
223
+ */
224
+ _ownerForm() {
225
+ const id = this.getAttribute('form');
226
+ if (!id)
227
+ return this._internals.form;
228
+ const root = this.getRootNode();
229
+ const target = 'getElementById' in root ? root.getElementById(id) : null;
230
+ if (target instanceof HTMLFormElement)
231
+ return target;
232
+ const rendered = target?.form;
233
+ if (rendered instanceof HTMLFormElement)
234
+ return rendered;
235
+ // Nothing to submit is the silent failure this attribute exists to end:
236
+ // the click does nothing and no error says why. Say it once per button,
237
+ // naming what the id found, since a typo and an nldd-form that has not
238
+ // rendered yet look identical from the outside.
239
+ // Keyed on the id, not a flag: fix a typo and point at another form that
240
+ // does not exist either, and that one has to be said as well.
241
+ if (import.meta.env?.DEV && this._warnedFormId !== id) {
242
+ this._warnedFormId = id;
243
+ console.warn(target
244
+ ? `<nldd-button form="${id}">: that id is an <${target.tagName.toLowerCase()}> without a form, so this button submits nothing. An nldd-form only has one once it has rendered.`
245
+ : `<nldd-button form="${id}">: nothing in this root has that id, so this button submits nothing.`);
246
+ }
247
+ return null;
201
248
  }
202
249
  /**
203
250
  * Delegates focus to the inner `<button>` (or `<a>` when `href` is set), so
@@ -223,7 +270,7 @@ NLDDButton.styles = buttonStyles;
223
270
  NLDDButton.formAssociated = true;
224
271
  __decorate([
225
272
  property({ reflect: true, converter: reflectNonDefault('neutral-tinted') })
226
- ], NLDDButton.prototype, "variant", void 0);
273
+ ], NLDDButton.prototype, "appearance", void 0);
227
274
  __decorate([
228
275
  property({ reflect: true, converter: reflectNonDefault('md') })
229
276
  ], NLDDButton.prototype, "size", void 0);
@@ -263,6 +310,9 @@ __decorate([
263
310
  __decorate([
264
311
  property({ type: Boolean, reflect: true })
265
312
  ], NLDDButton.prototype, "loading", void 0);
313
+ __decorate([
314
+ property({ attribute: 'loading-text' })
315
+ ], NLDDButton.prototype, "loadingText", void 0);
266
316
  __decorate([
267
317
  property({ type: Boolean, reflect: true })
268
318
  ], NLDDButton.prototype, "disabled", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAoBhE,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,WAAW,CAAC,gBAAgB,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAC;IAA1F;;QAOE,eAAU,GAAG,IAAI,CAAC,eAAe,EAAE,CA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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;AAxIxB,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CA8QtB"}
@@ -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,yBAknBxB,CAAC"}
1
+ {"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBAolBxB,CAAC"}
@@ -10,7 +10,9 @@ export const buttonStyles = css `
10
10
 
11
11
  :host {
12
12
  --_corner-radius: var(--semantics-controls-md-corner-radius);
13
- --_width: auto;
13
+ /* A parent that stacks its buttons says so through the context variable;
14
+ the button's own width attribute overrides it with an inline style. */
15
+ --_width: var(--context-button-width, auto);
14
16
  --_min-size: var(--semantics-controls-md-min-size);
15
17
  --_block-padding: var(--semantics-controls-md-block-padding);
16
18
  --_inline-padding: var(--semantics-buttons-md-inline-padding);
@@ -86,7 +88,7 @@ export const buttonStyles = css `
86
88
  --_supporting-font: var(--semantics-buttons-lg-supporting-text-font);
87
89
  }
88
90
 
89
- :host([variant="neutral-base"]) {
91
+ :host([appearance="neutral-base"]) {
90
92
  --_background-color: var(--semantics-buttons-neutral-base-background-color);
91
93
  --_primary-content-color: var(--semantics-buttons-neutral-base-content-color);
92
94
  --_secondary-content-color: var(--semantics-buttons-neutral-base-content-secondary-color);
@@ -101,7 +103,7 @@ export const buttonStyles = css `
101
103
  --_is-active-highlight-border-color: var(--semantics-buttons-neutral-base-is-active-highlight-border-color);
102
104
  }
103
105
 
104
- :host([variant="neutral-transparent"]) {
106
+ :host([appearance="neutral-transparent"]) {
105
107
  --_background-color: transparent;
106
108
  --_primary-content-color: var(--semantics-buttons-neutral-transparent-content-color);
107
109
  --_secondary-content-color: var(--semantics-buttons-neutral-transparent-content-secondary-color);
@@ -116,8 +118,8 @@ export const buttonStyles = css `
116
118
  --_is-active-highlight-border-color: transparent;
117
119
  }
118
120
 
119
- :host([variant="accent-filled"]),
120
- :host([variant="primary"]) {
121
+ :host([appearance="accent-filled"]),
122
+ :host([appearance="primary"]) {
121
123
  --_background-color: var(--semantics-buttons-accent-filled-background-color);
122
124
  --_primary-content-color: var(--semantics-buttons-accent-filled-content-color);
123
125
  --_secondary-content-color: var(--semantics-buttons-accent-filled-content-secondary-color);
@@ -132,7 +134,7 @@ export const buttonStyles = css `
132
134
  --_is-active-highlight-border-color: var(--semantics-buttons-accent-filled-is-active-highlight-border-color);
133
135
  }
134
136
 
135
- :host([variant="accent-transparent"]) {
137
+ :host([appearance="accent-transparent"]) {
136
138
  --_background-color: transparent;
137
139
  --_primary-content-color: var(--semantics-buttons-accent-transparent-content-color);
138
140
  --_secondary-content-color: var(--semantics-buttons-accent-transparent-content-secondary-color);
@@ -147,8 +149,8 @@ export const buttonStyles = css `
147
149
  --_is-active-highlight-border-color: transparent;
148
150
  }
149
151
 
150
- :host([variant="critical-tinted"]),
151
- :host([variant="destructive"]) {
152
+ :host([appearance="critical-tinted"]),
153
+ :host([appearance="destructive"]) {
152
154
  --_background-color: var(--semantics-buttons-critical-tinted-background-color);
153
155
  --_primary-content-color: var(--semantics-buttons-critical-tinted-content-color);
154
156
  --_secondary-content-color: var(--semantics-buttons-critical-tinted-content-secondary-color);
@@ -163,7 +165,7 @@ export const buttonStyles = css `
163
165
  --_is-active-highlight-border-color: var(--semantics-buttons-critical-tinted-is-active-highlight-border-color);
164
166
  }
165
167
 
166
- :host([variant="critical-transparent"]) {
168
+ :host([appearance="critical-transparent"]) {
167
169
  --_background-color: transparent;
168
170
  --_primary-content-color: var(--semantics-buttons-critical-transparent-content-color);
169
171
  --_secondary-content-color: var(--semantics-buttons-critical-transparent-content-secondary-color);
@@ -184,34 +186,36 @@ export const buttonStyles = css `
184
186
  here on the host — inside a :root token it would freeze — with the
185
187
  tokens' white/black contrast flip as fallback. */
186
188
 
187
- :host([variant="inherit-tinted"]) {
188
- --_background-color: var(--semantics-buttons-inherit-tinted-background-color);
189
+ :host([appearance="inherit-tinted"]),
190
+ :host([expanded][appearance="inherit-tinted"]) {
191
+ --_background-color: var(--context-button-background-color, var(--semantics-buttons-inherit-tinted-background-color));
189
192
  --_primary-content-color: var(--semantics-buttons-inherit-tinted-content-color);
190
193
  --_secondary-content-color: var(--semantics-buttons-inherit-tinted-content-secondary-color);
191
194
  --_highlight-border-color: var(--semantics-buttons-inherit-tinted-highlight-border-color);
192
- --_is-hovered-background-color: var(--semantics-buttons-inherit-tinted-is-hovered-background-color);
193
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-tinted-is-hovered-content-color);
194
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-hovered-content-secondary-color);
195
- --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-hovered-highlight-border-color);
196
- --_is-active-background-color: var(--semantics-buttons-inherit-tinted-is-active-background-color);
197
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-tinted-is-active-content-color);
198
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-active-content-secondary-color);
199
- --_is-active-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-active-highlight-border-color);
200
- }
201
-
202
- :host([variant="inherit-filled"]) {
195
+ --_is-hovered-background-color: var(--_background-color);
196
+ --_is-hovered-primary-content-color: var(--_primary-content-color);
197
+ --_is-hovered-secondary-content-color: var(--_secondary-content-color);
198
+ --_is-hovered-highlight-border-color: var(--_highlight-border-color);
199
+ --_is-active-background-color: var(--_background-color);
200
+ --_is-active-primary-content-color: var(--_primary-content-color);
201
+ --_is-active-secondary-content-color: var(--_secondary-content-color);
202
+ --_is-active-highlight-border-color: var(--_highlight-border-color);
203
+ }
204
+
205
+ :host([appearance="inherit-filled"]),
206
+ :host([expanded][appearance="inherit-filled"]) {
203
207
  --_background-color: var(--semantics-buttons-inherit-filled-background-color);
204
208
  --_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-content-color));
205
209
  --_secondary-content-color: var(--semantics-buttons-inherit-filled-content-secondary-color);
206
210
  --_highlight-border-color: var(--semantics-buttons-inherit-filled-highlight-border-color);
207
- --_is-hovered-background-color: var(--semantics-buttons-inherit-filled-is-hovered-background-color);
208
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-filled-is-hovered-content-color);
209
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-filled-is-hovered-content-secondary-color);
210
- --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-filled-is-hovered-highlight-border-color);
211
- --_is-active-background-color: var(--semantics-buttons-inherit-filled-is-active-background-color);
212
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-filled-is-active-content-color);
213
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-filled-is-active-content-secondary-color);
214
- --_is-active-highlight-border-color: var(--semantics-buttons-inherit-filled-is-active-highlight-border-color);
211
+ --_is-hovered-background-color: var(--_background-color);
212
+ --_is-hovered-primary-content-color: var(--_primary-content-color);
213
+ --_is-hovered-secondary-content-color: var(--_secondary-content-color);
214
+ --_is-hovered-highlight-border-color: var(--_highlight-border-color);
215
+ --_is-active-background-color: var(--_background-color);
216
+ --_is-active-primary-content-color: var(--_primary-content-color);
217
+ --_is-active-secondary-content-color: var(--_secondary-content-color);
218
+ --_is-active-highlight-border-color: var(--_highlight-border-color);
215
219
  }
216
220
 
217
221
  /* For inherit-filled the inner button keeps the inherited on-color:
@@ -219,11 +223,11 @@ export const buttonStyles = css `
219
223
  against it, and would otherwise self-reference the label. The label
220
224
  color moves to the content layer instead. The higher specificity of
221
225
  these rules deliberately pins the color through hover/active/expanded. */
222
- :host([variant="inherit-filled"]) .button {
226
+ :host([appearance="inherit-filled"]) .button {
223
227
  color: inherit;
224
228
  }
225
229
 
226
- :host([variant="inherit-filled"]) .button > * {
230
+ :host([appearance="inherit-filled"]) .button > * {
227
231
  color: var(--_primary-content-color);
228
232
  }
229
233
 
@@ -244,7 +248,7 @@ export const buttonStyles = css `
244
248
  --_is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-highlight-border-color);
245
249
  }
246
250
 
247
- :host([expanded][variant="neutral-base"]) {
251
+ :host([expanded][appearance="neutral-base"]) {
248
252
  --_background-color: var(--semantics-buttons-neutral-base-is-expanded-background-color);
249
253
  --_primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-content-color);
250
254
  --_secondary-content-color: var(--semantics-buttons-neutral-base-is-expanded-content-secondary-color);
@@ -259,7 +263,7 @@ export const buttonStyles = css `
259
263
  --_is-active-highlight-border-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-highlight-border-color);
260
264
  }
261
265
 
262
- :host([expanded][variant="neutral-transparent"]) {
266
+ :host([expanded][appearance="neutral-transparent"]) {
263
267
  --_background-color: transparent;
264
268
  --_primary-content-color: var(--semantics-buttons-neutral-transparent-content-color);
265
269
  --_secondary-content-color: var(--semantics-buttons-neutral-transparent-content-secondary-color);
@@ -274,8 +278,8 @@ export const buttonStyles = css `
274
278
  --_is-active-highlight-border-color: transparent;
275
279
  }
276
280
 
277
- :host([expanded][variant="accent-filled"]),
278
- :host([expanded][variant="primary"]) {
281
+ :host([expanded][appearance="accent-filled"]),
282
+ :host([expanded][appearance="primary"]) {
279
283
  --_background-color: var(--semantics-buttons-accent-filled-is-expanded-background-color);
280
284
  --_primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-content-color);
281
285
  --_secondary-content-color: var(--semantics-buttons-accent-filled-is-expanded-content-secondary-color);
@@ -290,7 +294,7 @@ export const buttonStyles = css `
290
294
  --_is-active-highlight-border-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-highlight-border-color);
291
295
  }
292
296
 
293
- :host([expanded][variant="accent-transparent"]) {
297
+ :host([expanded][appearance="accent-transparent"]) {
294
298
  --_background-color: transparent;
295
299
  --_primary-content-color: var(--semantics-buttons-accent-transparent-content-color);
296
300
  --_secondary-content-color: var(--semantics-buttons-accent-transparent-content-secondary-color);
@@ -305,8 +309,8 @@ export const buttonStyles = css `
305
309
  --_is-active-highlight-border-color: transparent;
306
310
  }
307
311
 
308
- :host([expanded][variant="critical-tinted"]),
309
- :host([expanded][variant="destructive"]) {
312
+ :host([expanded][appearance="critical-tinted"]),
313
+ :host([expanded][appearance="destructive"]) {
310
314
  --_background-color: var(--semantics-buttons-critical-tinted-is-expanded-background-color);
311
315
  --_primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-content-color);
312
316
  --_secondary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-content-secondary-color);
@@ -321,7 +325,7 @@ export const buttonStyles = css `
321
325
  --_is-active-highlight-border-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-highlight-border-color);
322
326
  }
323
327
 
324
- :host([expanded][variant="critical-transparent"]) {
328
+ :host([expanded][appearance="critical-transparent"]) {
325
329
  --_background-color: transparent;
326
330
  --_primary-content-color: var(--semantics-buttons-critical-transparent-content-color);
327
331
  --_secondary-content-color: var(--semantics-buttons-critical-transparent-content-secondary-color);
@@ -336,40 +340,6 @@ export const buttonStyles = css `
336
340
  --_is-active-highlight-border-color: transparent;
337
341
  }
338
342
 
339
- /* The on-color variants keep their currentColor-derived content; expanded
340
- only deepens the background. Content is restated (not inherited from the
341
- resting block) because the default [expanded] block has equal
342
- specificity and later source order, so it would otherwise win. */
343
- :host([expanded][variant="inherit-tinted"]) {
344
- --_background-color: var(--semantics-buttons-inherit-tinted-is-expanded-background-color);
345
- --_primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-content-color);
346
- --_secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-content-secondary-color);
347
- --_highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-highlight-border-color);
348
- --_is-hovered-background-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-background-color);
349
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-content-color);
350
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-content-secondary-color);
351
- --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-highlight-border-color);
352
- --_is-active-background-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-background-color);
353
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-content-color);
354
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-content-secondary-color);
355
- --_is-active-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-highlight-border-color);
356
- }
357
-
358
- :host([expanded][variant="inherit-filled"]) {
359
- --_background-color: var(--semantics-buttons-inherit-filled-is-expanded-background-color);
360
- --_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-is-expanded-content-color));
361
- --_secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-content-secondary-color);
362
- --_highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-highlight-border-color);
363
- --_is-hovered-background-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-background-color);
364
- --_is-hovered-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-content-color);
365
- --_is-hovered-secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-content-secondary-color);
366
- --_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-highlight-border-color);
367
- --_is-active-background-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-background-color);
368
- --_is-active-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-content-color);
369
- --_is-active-secondary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-content-secondary-color);
370
- --_is-active-highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-highlight-border-color);
371
- }
372
-
373
343
  :host([width="full"]) {
374
344
  display: block;
375
345
  width: 100%;
@@ -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,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgC3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAklBrB,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,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkjBrB,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;AAG9C,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,wCAiHlE"}
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;AAG9C,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,wCAkHlE"}
@@ -8,7 +8,7 @@ function renderContent(component) {
8
8
  <span class="button__content">
9
9
  ${component.startIcon ? html `
10
10
  <span class="button__start-icon">
11
- <nldd-icon name=${component.startIcon}></nldd-icon>
11
+ <nldd-icon icon=${component.startIcon}></nldd-icon>
12
12
  </span>
13
13
  ` : html `<slot name="start-icon"></slot>`}
14
14
  <span class="button__text-area">
@@ -17,13 +17,13 @@ function renderContent(component) {
17
17
  </span>
18
18
  ${component.endIcon ? html `
19
19
  <span class="button__end-icon">
20
- <nldd-icon name=${component.endIcon}></nldd-icon>
20
+ <nldd-icon icon=${component.endIcon}></nldd-icon>
21
21
  </span>
22
22
  ` : html `<slot name="end-icon"></slot>`}
23
23
  </span>
24
24
  ${component.expandable ? html `
25
25
  <nldd-icon class="button__disclosure-icon"
26
- name="chevron-down-small"
26
+ icon="chevron-down-small"
27
27
  ></nldd-icon>
28
28
  ` : nothing}
29
29
  `;
@@ -75,6 +75,7 @@ export function template(helpers) {
75
75
  <nldd-activity-indicator
76
76
  timing="instant"
77
77
  size=${this.size === 'xs' ? '16' : this.size === 'sm' ? '20' : this.size === 'lg' ? '28' : '24'}
78
+ text=${this.loadingText || nothing}
78
79
  ></nldd-activity-indicator>
79
80
  </div>
80
81
  `
@@ -1 +1 @@
1
- {"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAMzD,SAAS,aAAa,CAAC,SAAqB;IAC3C,sEAAsE;IACtE,6EAA6E;IAC7E,mEAAmE;IACnE,OAAO,IAAI,CAAA;;KAEP,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;uBAER,SAAS,CAAC,SAAS;;IAEtC,CAAC,CAAC,CAAC,IAAI,CAAA,iCAAiC;;iCAEX,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA,2BAA2B;MAC5F,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAA,yCAAyC,SAAS,CAAC,cAAc,SAAS,CAAC,CAAC,CAAC,OAAO;;KAEpH,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA;;uBAEN,SAAS,CAAC,OAAO;;IAEpC,CAAC,CAAC,CAAC,IAAI,CAAA,+BAA+B;;IAEtC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAA;;;;GAI5B,CAAC,CAAC,CAAC,OAAO;EACX,CAAC;AACH,CAAC;AAED,MAAM,UAAU,QAAQ,CAAmB,OAAwB;IAClE,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IAEpC,MAAM,WAAW,GAAG,CAAC,QAAQ;QAC5B,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE;KAChD,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAA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,CAAC,IAAI,CAAA,+CAA+C,iBAAiB,SAAS,CAAC,CAAC,CAAC,OAAO;;KAElH,gBAAgB;KAChB,SAAS;GACX,CAAC;IACH,CAAC;IAED,uEAAuE;IACvE,2EAA2E;IAC3E,wEAAwE;IACxE,yEAAyE;IACzE,wEAAwE;IACxE,OAAO,IAAI,CAAA;kBACM,WAAW;UACnB,IAAI,CAAC,IAAI;eACJ,IAAI,CAAC,QAAQ;mBACT,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBACnC,SAAS;mBACN,IAAI,CAAC,SAAS,IAAI,OAAO;mBACzB,YAAY;eAChB,QAAQ;cACT,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO;mBACtB,IAAI,CAAC,aAAa,IAAI,OAAO;2BACrB,IAAI,CAAC,oBAAoB;0BAC1B,IAAI,CAAC,mBAAmB;kBAChC,IAAI,CAAC,MAAM,CAAC,iBAAiB;YACnC,OAAO,CAAC,WAAW;;KAE1B,OAAO;;IAER,gBAAgB;IAChB,SAAS;EACX,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAMzD,SAAS,aAAa,CAAC,SAAqB;IAC3C,sEAAsE;IACtE,6EAA6E;IAC7E,mEAAmE;IACnE,OAAO,IAAI,CAAA;;KAEP,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;uBAER,SAAS,CAAC,SAAS;;IAEtC,CAAC,CAAC,CAAC,IAAI,CAAA,iCAAiC;;iCAEX,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA,2BA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