@tmorrow/cre8-wc 1.2.4 → 1.2.6

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 (855) hide show
  1. package/lib/cdn-entry.d.ts +126 -0
  2. package/lib/cdn-entry.d.ts.map +1 -0
  3. package/lib/cdn-entry.js +131 -0
  4. package/lib/cdn-entry.js.map +1 -0
  5. package/lib/components/accordion/accordion.d.ts +39 -0
  6. package/lib/components/accordion/accordion.d.ts.map +1 -0
  7. package/lib/components/accordion/accordion.js +58 -666
  8. package/lib/components/accordion/accordion.js.map +1 -0
  9. package/lib/components/accordion/accordion.styles.d.ts +3 -0
  10. package/lib/components/accordion/accordion.styles.d.ts.map +1 -0
  11. package/lib/components/accordion/accordion.styles.js +630 -0
  12. package/lib/components/accordion/accordion.styles.js.map +1 -0
  13. package/lib/components/accordion-item/accordion-item.d.ts +141 -0
  14. package/lib/components/accordion-item/accordion-item.d.ts.map +1 -0
  15. package/lib/components/accordion-item/accordion-item.js +183 -904
  16. package/lib/components/accordion-item/accordion-item.js.map +1 -0
  17. package/lib/components/accordion-item/accordion-item.styles.d.ts +3 -0
  18. package/lib/components/accordion-item/accordion-item.styles.d.ts.map +1 -0
  19. package/lib/components/accordion-item/accordion-item.styles.js +811 -0
  20. package/lib/components/accordion-item/accordion-item.styles.js.map +1 -0
  21. package/lib/components/alert/alert.d.ts +60 -0
  22. package/lib/components/alert/alert.d.ts.map +1 -0
  23. package/lib/components/alert/alert.js +146 -866
  24. package/lib/components/alert/alert.js.map +1 -0
  25. package/lib/components/alert/alert.styles.d.ts +3 -0
  26. package/lib/components/alert/alert.styles.d.ts.map +1 -0
  27. package/lib/components/alert/alert.styles.js +749 -0
  28. package/lib/components/alert/alert.styles.js.map +1 -0
  29. package/lib/components/badge/badge.d.ts +62 -0
  30. package/lib/components/badge/badge.d.ts.map +1 -0
  31. package/lib/components/badge/badge.js +72 -764
  32. package/lib/components/badge/badge.js.map +1 -0
  33. package/lib/components/badge/badge.styles.d.ts +3 -0
  34. package/lib/components/badge/badge.styles.d.ts.map +1 -0
  35. package/lib/components/badge/badge.styles.js +719 -0
  36. package/lib/components/badge/badge.styles.js.map +1 -0
  37. package/lib/components/band/band.d.ts +29 -0
  38. package/lib/components/band/band.d.ts.map +1 -0
  39. package/lib/components/band/band.js +34 -641
  40. package/lib/components/band/band.js.map +1 -0
  41. package/lib/components/band/band.styles.d.ts +3 -0
  42. package/lib/components/band/band.styles.d.ts.map +1 -0
  43. package/lib/components/band/band.styles.js +614 -0
  44. package/lib/components/band/band.styles.js.map +1 -0
  45. package/lib/components/breadcrumbs/breadcrumbs.d.ts +32 -0
  46. package/lib/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
  47. package/lib/components/breadcrumbs/breadcrumbs.js +52 -625
  48. package/lib/components/breadcrumbs/breadcrumbs.js.map +1 -0
  49. package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts +3 -0
  50. package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -0
  51. package/lib/components/breadcrumbs/breadcrumbs.styles.js +601 -0
  52. package/lib/components/breadcrumbs/breadcrumbs.styles.js.map +1 -0
  53. package/lib/components/breadcrumbs-item/breadcrumbs-item.d.ts +17 -0
  54. package/lib/components/breadcrumbs-item/breadcrumbs-item.d.ts.map +1 -0
  55. package/lib/components/breadcrumbs-item/breadcrumbs-item.js +28 -641
  56. package/lib/components/breadcrumbs-item/breadcrumbs-item.js.map +1 -0
  57. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts +3 -0
  58. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.map +1 -0
  59. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js +616 -0
  60. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js.map +1 -0
  61. package/lib/components/button/button.d.ts +229 -0
  62. package/lib/components/button/button.d.ts.map +1 -0
  63. package/lib/components/button/button.js +290 -1040
  64. package/lib/components/button/button.js.map +1 -0
  65. package/lib/components/button/button.styles.d.ts +3 -0
  66. package/lib/components/button/button.styles.d.ts.map +1 -0
  67. package/lib/components/button/button.styles.js +885 -0
  68. package/lib/components/button/button.styles.js.map +1 -0
  69. package/lib/components/button-group/button-group.d.ts +19 -0
  70. package/lib/components/button-group/button-group.d.ts.map +1 -0
  71. package/lib/components/button-group/button-group.js +30 -638
  72. package/lib/components/button-group/button-group.js.map +1 -0
  73. package/lib/components/button-group/button-group.styles.d.ts +3 -0
  74. package/lib/components/button-group/button-group.styles.d.ts.map +1 -0
  75. package/lib/components/button-group/button-group.styles.js +615 -0
  76. package/lib/components/button-group/button-group.styles.js.map +1 -0
  77. package/lib/components/card/card.d.ts +45 -0
  78. package/lib/components/card/card.d.ts.map +1 -0
  79. package/lib/components/card/card.js +57 -734
  80. package/lib/components/card/card.js.map +1 -0
  81. package/lib/components/card/card.styles.d.ts +3 -0
  82. package/lib/components/card/card.styles.d.ts.map +1 -0
  83. package/lib/components/card/card.styles.js +703 -0
  84. package/lib/components/card/card.styles.js.map +1 -0
  85. package/lib/components/chart/chart.d.ts +224 -0
  86. package/lib/components/chart/chart.d.ts.map +1 -0
  87. package/lib/components/chart/chart.js +528 -714
  88. package/lib/components/chart/chart.js.map +1 -0
  89. package/lib/components/chart/chart.styles.d.ts +3 -0
  90. package/lib/components/chart/chart.styles.d.ts.map +1 -0
  91. package/lib/components/chart/chart.styles.js +364 -0
  92. package/lib/components/chart/chart.styles.js.map +1 -0
  93. package/lib/components/checkbox-field/checkbox-field.d.ts +54 -0
  94. package/lib/components/checkbox-field/checkbox-field.d.ts.map +1 -0
  95. package/lib/components/checkbox-field/checkbox-field.js +64 -669
  96. package/lib/components/checkbox-field/checkbox-field.js.map +1 -0
  97. package/lib/components/checkbox-field/checkbox-field.styles.d.ts +3 -0
  98. package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -0
  99. package/lib/components/checkbox-field/checkbox-field.styles.js +622 -0
  100. package/lib/components/checkbox-field/checkbox-field.styles.js.map +1 -0
  101. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts +172 -0
  102. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -0
  103. package/lib/components/checkbox-field-item/checkbox-field-item.js +241 -1038
  104. package/lib/components/checkbox-field-item/checkbox-field-item.js.map +1 -0
  105. package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts +3 -0
  106. package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -0
  107. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js +867 -0
  108. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -0
  109. package/lib/components/contexts/form-internals-context.d.ts +35 -0
  110. package/lib/components/contexts/form-internals-context.d.ts.map +1 -0
  111. package/lib/components/contexts/form-internals-context.js +9 -0
  112. package/lib/components/contexts/form-internals-context.js.map +1 -0
  113. package/lib/components/cre8-element.d.ts +54 -0
  114. package/lib/components/cre8-element.d.ts.map +1 -0
  115. package/lib/components/cre8-element.js +57 -56
  116. package/lib/components/cre8-element.js.map +1 -0
  117. package/lib/components/cre8-form-element.d.ts +137 -0
  118. package/lib/components/cre8-form-element.d.ts.map +1 -0
  119. package/lib/components/cre8-form-element.js +213 -6
  120. package/lib/components/cre8-form-element.js.map +1 -0
  121. package/lib/components/danger-button/danger-button.d.ts +208 -0
  122. package/lib/components/danger-button/danger-button.d.ts.map +1 -0
  123. package/lib/components/danger-button/danger-button.js +271 -1257
  124. package/lib/components/danger-button/danger-button.js.map +1 -0
  125. package/lib/components/danger-button/danger-button.styles.d.ts +3 -0
  126. package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -0
  127. package/lib/components/danger-button/danger-button.styles.js +1117 -0
  128. package/lib/components/danger-button/danger-button.styles.js.map +1 -0
  129. package/lib/components/date-picker/calendar/calendar.d.ts +115 -0
  130. package/lib/components/date-picker/calendar/calendar.d.ts.map +1 -0
  131. package/lib/components/date-picker/calendar/calendar.js +465 -0
  132. package/lib/components/date-picker/calendar/calendar.js.map +1 -0
  133. package/lib/components/date-picker/calendar/calendar.styles.d.ts +3 -0
  134. package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -0
  135. package/lib/components/date-picker/calendar/calendar.styles.js +689 -0
  136. package/lib/components/date-picker/calendar/calendar.styles.js.map +1 -0
  137. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.d.ts +22 -0
  138. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.d.ts.map +1 -0
  139. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js +76 -0
  140. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js.map +1 -0
  141. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts +3 -0
  142. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -0
  143. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js +610 -0
  144. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js.map +1 -0
  145. package/lib/components/date-picker/calendar-navigation/calendar-navigation.d.ts +19 -0
  146. package/lib/components/date-picker/calendar-navigation/calendar-navigation.d.ts.map +1 -0
  147. package/lib/components/date-picker/calendar-navigation/calendar-navigation.js +110 -0
  148. package/lib/components/date-picker/calendar-navigation/calendar-navigation.js.map +1 -0
  149. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts +3 -0
  150. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -0
  151. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js +598 -0
  152. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js.map +1 -0
  153. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.d.ts +28 -0
  154. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.d.ts.map +1 -0
  155. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js +116 -0
  156. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js.map +1 -0
  157. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts +3 -0
  158. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -0
  159. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js +617 -0
  160. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js.map +1 -0
  161. package/lib/components/date-picker/date-picker.d.ts +43 -0
  162. package/lib/components/date-picker/date-picker.d.ts.map +1 -0
  163. package/lib/components/date-picker/date-picker.js +97 -3320
  164. package/lib/components/date-picker/date-picker.js.map +1 -0
  165. package/lib/components/date-picker/date-picker.styles.d.ts +3 -0
  166. package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -0
  167. package/lib/components/date-picker/date-picker.styles.js +4 -0
  168. package/lib/components/date-picker/date-picker.styles.js.map +1 -0
  169. package/lib/components/divider/divider.d.ts +29 -0
  170. package/lib/components/divider/divider.d.ts.map +1 -0
  171. package/lib/components/divider/divider.js +44 -653
  172. package/lib/components/divider/divider.js.map +1 -0
  173. package/lib/components/divider/divider.styles.d.ts +3 -0
  174. package/lib/components/divider/divider.styles.d.ts.map +1 -0
  175. package/lib/components/divider/divider.styles.js +623 -0
  176. package/lib/components/divider/divider.styles.js.map +1 -0
  177. package/lib/components/dropdown/dropdown.d.ts +35 -0
  178. package/lib/components/dropdown/dropdown.d.ts.map +1 -0
  179. package/lib/components/dropdown/dropdown.js +90 -713
  180. package/lib/components/dropdown/dropdown.js.map +1 -0
  181. package/lib/components/dropdown/dropdown.styles.d.ts +3 -0
  182. package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -0
  183. package/lib/components/dropdown/dropdown.styles.js +659 -0
  184. package/lib/components/dropdown/dropdown.styles.js.map +1 -0
  185. package/lib/components/dropdown-item/dropdown-item.d.ts +19 -0
  186. package/lib/components/dropdown-item/dropdown-item.d.ts.map +1 -0
  187. package/lib/components/dropdown-item/dropdown-item.js +37 -640
  188. package/lib/components/dropdown-item/dropdown-item.js.map +1 -0
  189. package/lib/components/dropdown-item/dropdown-item.styles.d.ts +3 -0
  190. package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -0
  191. package/lib/components/dropdown-item/dropdown-item.styles.js +614 -0
  192. package/lib/components/dropdown-item/dropdown-item.styles.js.map +1 -0
  193. package/lib/components/feature/feature.d.ts +28 -0
  194. package/lib/components/feature/feature.d.ts.map +1 -0
  195. package/lib/components/feature/feature.js +40 -679
  196. package/lib/components/feature/feature.js.map +1 -0
  197. package/lib/components/feature/feature.styles.d.ts +3 -0
  198. package/lib/components/feature/feature.styles.d.ts.map +1 -0
  199. package/lib/components/feature/feature.styles.js +648 -0
  200. package/lib/components/feature/feature.styles.js.map +1 -0
  201. package/lib/components/field/field.d.ts +209 -0
  202. package/lib/components/field/field.d.ts.map +1 -0
  203. package/lib/components/field/field.js +213 -854
  204. package/lib/components/field/field.js.map +1 -0
  205. package/lib/components/field/field.styles.d.ts +3 -0
  206. package/lib/components/field/field.styles.d.ts.map +1 -0
  207. package/lib/components/field/field.styles.js +710 -0
  208. package/lib/components/field/field.styles.js.map +1 -0
  209. package/lib/components/field-note/field-note.d.ts +37 -0
  210. package/lib/components/field-note/field-note.d.ts.map +1 -0
  211. package/lib/components/field-note/field-note.js +58 -674
  212. package/lib/components/field-note/field-note.js.map +1 -0
  213. package/lib/components/field-note/field-note.styles.d.ts +3 -0
  214. package/lib/components/field-note/field-note.styles.d.ts.map +1 -0
  215. package/lib/components/field-note/field-note.styles.js +628 -0
  216. package/lib/components/field-note/field-note.styles.js.map +1 -0
  217. package/lib/components/footer/footer.d.ts +17 -0
  218. package/lib/components/footer/footer.d.ts.map +1 -0
  219. package/lib/components/footer/footer.js +25 -620
  220. package/lib/components/footer/footer.js.map +1 -0
  221. package/lib/components/footer/footer.styles.d.ts +3 -0
  222. package/lib/components/footer/footer.styles.d.ts.map +1 -0
  223. package/lib/components/footer/footer.styles.js +606 -0
  224. package/lib/components/footer/footer.styles.js.map +1 -0
  225. package/lib/components/global-nav/global-nav.d.ts +33 -0
  226. package/lib/components/global-nav/global-nav.d.ts.map +1 -0
  227. package/lib/components/global-nav/global-nav.js +44 -638
  228. package/lib/components/global-nav/global-nav.js.map +1 -0
  229. package/lib/components/global-nav/global-nav.styles.d.ts +3 -0
  230. package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -0
  231. package/lib/components/global-nav/global-nav.styles.js +605 -0
  232. package/lib/components/global-nav/global-nav.styles.js.map +1 -0
  233. package/lib/components/global-nav-item/global-nav-item.d.ts +71 -0
  234. package/lib/components/global-nav-item/global-nav-item.d.ts.map +1 -0
  235. package/lib/components/global-nav-item/global-nav-item.js +144 -768
  236. package/lib/components/global-nav-item/global-nav-item.js.map +1 -0
  237. package/lib/components/global-nav-item/global-nav-item.styles.d.ts +3 -0
  238. package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -0
  239. package/lib/components/global-nav-item/global-nav-item.styles.js +665 -0
  240. package/lib/components/global-nav-item/global-nav-item.styles.js.map +1 -0
  241. package/lib/components/grid/grid.d.ts +49 -0
  242. package/lib/components/grid/grid.d.ts.map +1 -0
  243. package/lib/components/grid/grid.js +48 -976
  244. package/lib/components/grid/grid.js.map +1 -0
  245. package/lib/components/grid/grid.styles.d.ts +3 -0
  246. package/lib/components/grid/grid.styles.d.ts.map +1 -0
  247. package/lib/components/grid/grid.styles.js +935 -0
  248. package/lib/components/grid/grid.styles.js.map +1 -0
  249. package/lib/components/grid-item/grid-item.d.ts +15 -0
  250. package/lib/components/grid-item/grid-item.d.ts.map +1 -0
  251. package/lib/components/grid-item/grid-item.js +17 -602
  252. package/lib/components/grid-item/grid-item.js.map +1 -0
  253. package/lib/components/grid-item/grid-item.styles.d.ts +3 -0
  254. package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -0
  255. package/lib/components/grid-item/grid-item.styles.js +592 -0
  256. package/lib/components/grid-item/grid-item.styles.js.map +1 -0
  257. package/lib/components/header/header.d.ts +20 -0
  258. package/lib/components/header/header.d.ts.map +1 -0
  259. package/lib/components/header/header.js +34 -670
  260. package/lib/components/header/header.js.map +1 -0
  261. package/lib/components/header/header.styles.d.ts +3 -0
  262. package/lib/components/header/header.styles.d.ts.map +1 -0
  263. package/lib/components/header/header.styles.js +645 -0
  264. package/lib/components/header/header.styles.js.map +1 -0
  265. package/lib/components/heading/heading.d.ts +81 -0
  266. package/lib/components/heading/heading.d.ts.map +1 -0
  267. package/lib/components/heading/heading.js +111 -977
  268. package/lib/components/heading/heading.js.map +1 -0
  269. package/lib/components/heading/heading.styles.d.ts +3 -0
  270. package/lib/components/heading/heading.styles.d.ts.map +1 -0
  271. package/lib/components/heading/heading.styles.js +907 -0
  272. package/lib/components/heading/heading.styles.js.map +1 -0
  273. package/lib/components/hero/hero.d.ts +39 -0
  274. package/lib/components/hero/hero.d.ts.map +1 -0
  275. package/lib/components/hero/hero.js +43 -760
  276. package/lib/components/hero/hero.js.map +1 -0
  277. package/lib/components/hero/hero.styles.d.ts +3 -0
  278. package/lib/components/hero/hero.styles.d.ts.map +1 -0
  279. package/lib/components/hero/hero.styles.js +724 -0
  280. package/lib/components/hero/hero.styles.js.map +1 -0
  281. package/lib/components/icon/icon.d.ts +78 -0
  282. package/lib/components/icon/icon.d.ts.map +1 -0
  283. package/lib/components/icon/icon.js +228 -1246
  284. package/lib/components/icon/icon.js.map +1 -0
  285. package/lib/components/icon/icon.styles.d.ts +3 -0
  286. package/lib/components/icon/icon.styles.d.ts.map +1 -0
  287. package/lib/components/icon/icon.styles.js +660 -0
  288. package/lib/components/icon/icon.styles.js.map +1 -0
  289. package/lib/components/inline-alert/inline-alert.d.ts +52 -0
  290. package/lib/components/inline-alert/inline-alert.d.ts.map +1 -0
  291. package/lib/components/inline-alert/inline-alert.js +114 -849
  292. package/lib/components/inline-alert/inline-alert.js.map +1 -0
  293. package/lib/components/inline-alert/inline-alert.styles.d.ts +3 -0
  294. package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -0
  295. package/lib/components/inline-alert/inline-alert.styles.js +755 -0
  296. package/lib/components/inline-alert/inline-alert.styles.js.map +1 -0
  297. package/lib/components/layout/layout.d.ts +25 -0
  298. package/lib/components/layout/layout.d.ts.map +1 -0
  299. package/lib/components/layout/layout.js +30 -641
  300. package/lib/components/layout/layout.js.map +1 -0
  301. package/lib/components/layout/layout.styles.d.ts +3 -0
  302. package/lib/components/layout/layout.styles.d.ts.map +1 -0
  303. package/lib/components/layout/layout.styles.js +618 -0
  304. package/lib/components/layout/layout.styles.js.map +1 -0
  305. package/lib/components/layout-container/layout-container.d.ts +20 -0
  306. package/lib/components/layout-container/layout-container.d.ts.map +1 -0
  307. package/lib/components/layout-container/layout-container.js +30 -628
  308. package/lib/components/layout-container/layout-container.js.map +1 -0
  309. package/lib/components/layout-container/layout-container.styles.d.ts +3 -0
  310. package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -0
  311. package/lib/components/layout-container/layout-container.styles.js +605 -0
  312. package/lib/components/layout-container/layout-container.styles.js.map +1 -0
  313. package/lib/components/layout-section/layout-section.d.ts +26 -0
  314. package/lib/components/layout-section/layout-section.d.ts.map +1 -0
  315. package/lib/components/layout-section/layout-section.js +41 -622
  316. package/lib/components/layout-section/layout-section.js.map +1 -0
  317. package/lib/components/layout-section/layout-section.styles.d.ts +3 -0
  318. package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -0
  319. package/lib/components/layout-section/layout-section.styles.js +593 -0
  320. package/lib/components/layout-section/layout-section.styles.js.map +1 -0
  321. package/lib/components/linelength-container/linelength-container.d.ts +15 -0
  322. package/lib/components/linelength-container/linelength-container.d.ts.map +1 -0
  323. package/lib/components/linelength-container/linelength-container.js +17 -602
  324. package/lib/components/linelength-container/linelength-container.js.map +1 -0
  325. package/lib/components/linelength-container/linelength-container.styles.d.ts +3 -0
  326. package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -0
  327. package/lib/components/linelength-container/linelength-container.styles.js +592 -0
  328. package/lib/components/linelength-container/linelength-container.styles.js.map +1 -0
  329. package/lib/components/link/link.d.ts +93 -0
  330. package/lib/components/link/link.d.ts.map +1 -0
  331. package/lib/components/link/link.js +123 -846
  332. package/lib/components/link/link.js.map +1 -0
  333. package/lib/components/link/link.styles.d.ts +3 -0
  334. package/lib/components/link/link.styles.d.ts.map +1 -0
  335. package/lib/components/link/link.styles.js +765 -0
  336. package/lib/components/link/link.styles.js.map +1 -0
  337. package/lib/components/link-list/link-list.d.ts +42 -0
  338. package/lib/components/link-list/link-list.d.ts.map +1 -0
  339. package/lib/components/link-list/link-list.js +48 -739
  340. package/lib/components/link-list/link-list.js.map +1 -0
  341. package/lib/components/link-list/link-list.styles.d.ts +3 -0
  342. package/lib/components/link-list/link-list.styles.d.ts.map +1 -0
  343. package/lib/components/link-list/link-list.styles.js +698 -0
  344. package/lib/components/link-list/link-list.styles.js.map +1 -0
  345. package/lib/components/link-list-item/link-list-item.d.ts +27 -0
  346. package/lib/components/link-list-item/link-list-item.d.ts.map +1 -0
  347. package/lib/components/link-list-item/link-list-item.js +40 -677
  348. package/lib/components/link-list-item/link-list-item.js.map +1 -0
  349. package/lib/components/link-list-item/link-list-item.styles.d.ts +3 -0
  350. package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -0
  351. package/lib/components/link-list-item/link-list-item.styles.js +644 -0
  352. package/lib/components/link-list-item/link-list-item.styles.js.map +1 -0
  353. package/lib/components/list/list.d.ts +34 -0
  354. package/lib/components/list/list.d.ts.map +1 -0
  355. package/lib/components/list/list.js +35 -662
  356. package/lib/components/list/list.js.map +1 -0
  357. package/lib/components/list/list.styles.d.ts +3 -0
  358. package/lib/components/list/list.styles.d.ts.map +1 -0
  359. package/lib/components/list/list.styles.js +634 -0
  360. package/lib/components/list/list.styles.js.map +1 -0
  361. package/lib/components/list-item/list-item.d.ts +16 -0
  362. package/lib/components/list-item/list-item.d.ts.map +1 -0
  363. package/lib/components/list-item/list-item.js +25 -606
  364. package/lib/components/list-item/list-item.js.map +1 -0
  365. package/lib/components/list-item/list-item.styles.d.ts +3 -0
  366. package/lib/components/list-item/list-item.styles.d.ts.map +1 -0
  367. package/lib/components/list-item/list-item.styles.js +589 -0
  368. package/lib/components/list-item/list-item.styles.js.map +1 -0
  369. package/lib/components/loading-spinner/loading-spinner.d.ts +90 -0
  370. package/lib/components/loading-spinner/loading-spinner.d.ts.map +1 -0
  371. package/lib/components/loading-spinner/loading-spinner.js +124 -787
  372. package/lib/components/loading-spinner/loading-spinner.js.map +1 -0
  373. package/lib/components/loading-spinner/loading-spinner.styles.d.ts +3 -0
  374. package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -0
  375. package/lib/components/loading-spinner/loading-spinner.styles.js +722 -0
  376. package/lib/components/loading-spinner/loading-spinner.styles.js.map +1 -0
  377. package/lib/components/logo/logo.d.ts +19 -0
  378. package/lib/components/logo/logo.d.ts.map +1 -0
  379. package/lib/components/logo/logo.js +28 -613
  380. package/lib/components/logo/logo.js.map +1 -0
  381. package/lib/components/logo/logo.styles.d.ts +3 -0
  382. package/lib/components/logo/logo.styles.d.ts.map +1 -0
  383. package/lib/components/logo/logo.styles.js +592 -0
  384. package/lib/components/logo/logo.styles.js.map +1 -0
  385. package/lib/components/main/main.d.ts +20 -0
  386. package/lib/components/main/main.d.ts.map +1 -0
  387. package/lib/components/main/main.js +29 -628
  388. package/lib/components/main/main.js.map +1 -0
  389. package/lib/components/main/main.styles.d.ts +3 -0
  390. package/lib/components/main/main.styles.d.ts.map +1 -0
  391. package/lib/components/main/main.styles.js +606 -0
  392. package/lib/components/main/main.styles.js.map +1 -0
  393. package/lib/components/modal/modal.d.ts +99 -0
  394. package/lib/components/modal/modal.d.ts.map +1 -0
  395. package/lib/components/modal/modal.js +170 -878
  396. package/lib/components/modal/modal.js.map +1 -0
  397. package/lib/components/modal/modal.styles.d.ts +3 -0
  398. package/lib/components/modal/modal.styles.d.ts.map +1 -0
  399. package/lib/components/modal/modal.styles.js +743 -0
  400. package/lib/components/modal/modal.styles.js.map +1 -0
  401. package/lib/components/multi-select/multi-select.d.ts +131 -0
  402. package/lib/components/multi-select/multi-select.d.ts.map +1 -0
  403. package/lib/components/multi-select/multi-select.js +294 -1030
  404. package/lib/components/multi-select/multi-select.js.map +1 -0
  405. package/lib/components/multi-select/multi-select.styles.d.ts +3 -0
  406. package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -0
  407. package/lib/components/multi-select/multi-select.styles.js +829 -0
  408. package/lib/components/multi-select/multi-select.styles.js.map +1 -0
  409. package/lib/components/nav-container/nav-container.d.ts +15 -0
  410. package/lib/components/nav-container/nav-container.d.ts.map +1 -0
  411. package/lib/components/nav-container/nav-container.js +17 -631
  412. package/lib/components/nav-container/nav-container.js.map +1 -0
  413. package/lib/components/nav-container/nav-container.styles.d.ts +3 -0
  414. package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -0
  415. package/lib/components/nav-container/nav-container.styles.js +621 -0
  416. package/lib/components/nav-container/nav-container.styles.js.map +1 -0
  417. package/lib/components/page-header/page-header.d.ts +19 -0
  418. package/lib/components/page-header/page-header.d.ts.map +1 -0
  419. package/lib/components/page-header/page-header.js +36 -664
  420. package/lib/components/page-header/page-header.js.map +1 -0
  421. package/lib/components/page-header/page-header.styles.d.ts +3 -0
  422. package/lib/components/page-header/page-header.styles.d.ts.map +1 -0
  423. package/lib/components/page-header/page-header.styles.js +639 -0
  424. package/lib/components/page-header/page-header.styles.js.map +1 -0
  425. package/lib/components/pagination/page-counter/page-counter.d.ts +20 -0
  426. package/lib/components/pagination/page-counter/page-counter.d.ts.map +1 -0
  427. package/lib/components/pagination/page-counter/page-counter.js +67 -0
  428. package/lib/components/pagination/page-counter/page-counter.js.map +1 -0
  429. package/lib/components/pagination/page-counter/page-counter.styles.d.ts +3 -0
  430. package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -0
  431. package/lib/components/pagination/page-counter/page-counter.styles.js +602 -0
  432. package/lib/components/pagination/page-counter/page-counter.styles.js.map +1 -0
  433. package/lib/components/pagination/pagination.d.ts +126 -0
  434. package/lib/components/pagination/pagination.d.ts.map +1 -0
  435. package/lib/components/pagination/pagination.js +272 -1475
  436. package/lib/components/pagination/pagination.js.map +1 -0
  437. package/lib/components/pagination/pagination.styles.d.ts +3 -0
  438. package/lib/components/pagination/pagination.styles.d.ts.map +1 -0
  439. package/lib/components/pagination/pagination.styles.js +648 -0
  440. package/lib/components/pagination/pagination.styles.js.map +1 -0
  441. package/lib/components/percent-bar/percent-bar.d.ts +26 -0
  442. package/lib/components/percent-bar/percent-bar.d.ts.map +1 -0
  443. package/lib/components/percent-bar/percent-bar.js +53 -657
  444. package/lib/components/percent-bar/percent-bar.js.map +1 -0
  445. package/lib/components/percent-bar/percent-bar.styles.d.ts +3 -0
  446. package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -0
  447. package/lib/components/percent-bar/percent-bar.styles.js +614 -0
  448. package/lib/components/percent-bar/percent-bar.styles.js.map +1 -0
  449. package/lib/components/popover/popover.d.ts +155 -0
  450. package/lib/components/popover/popover.d.ts.map +1 -0
  451. package/lib/components/popover/popover.js +293 -933
  452. package/lib/components/popover/popover.js.map +1 -0
  453. package/lib/components/popover/popover.styles.d.ts +3 -0
  454. package/lib/components/popover/popover.styles.d.ts.map +1 -0
  455. package/lib/components/popover/popover.styles.js +769 -0
  456. package/lib/components/popover/popover.styles.js.map +1 -0
  457. package/lib/components/primary-nav/primary-nav.d.ts +33 -0
  458. package/lib/components/primary-nav/primary-nav.d.ts.map +1 -0
  459. package/lib/components/primary-nav/primary-nav.js +44 -649
  460. package/lib/components/primary-nav/primary-nav.js.map +1 -0
  461. package/lib/components/primary-nav/primary-nav.styles.d.ts +3 -0
  462. package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -0
  463. package/lib/components/primary-nav/primary-nav.styles.js +616 -0
  464. package/lib/components/primary-nav/primary-nav.styles.js.map +1 -0
  465. package/lib/components/primary-nav-item/primary-nav-item.d.ts +71 -0
  466. package/lib/components/primary-nav-item/primary-nav-item.d.ts.map +1 -0
  467. package/lib/components/primary-nav-item/primary-nav-item.js +146 -874
  468. package/lib/components/primary-nav-item/primary-nav-item.js.map +1 -0
  469. package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts +3 -0
  470. package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -0
  471. package/lib/components/primary-nav-item/primary-nav-item.styles.js +770 -0
  472. package/lib/components/primary-nav-item/primary-nav-item.styles.js.map +1 -0
  473. package/lib/components/progress-meter/progress-meter.d.ts +51 -0
  474. package/lib/components/progress-meter/progress-meter.d.ts.map +1 -0
  475. package/lib/components/progress-meter/progress-meter.js +72 -753
  476. package/lib/components/progress-meter/progress-meter.js.map +1 -0
  477. package/lib/components/progress-meter/progress-meter.styles.d.ts +3 -0
  478. package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -0
  479. package/lib/components/progress-meter/progress-meter.styles.js +702 -0
  480. package/lib/components/progress-meter/progress-meter.styles.js.map +1 -0
  481. package/lib/components/progress-steps/progress-steps.d.ts +34 -0
  482. package/lib/components/progress-steps/progress-steps.d.ts.map +1 -0
  483. package/lib/components/progress-steps/progress-steps.js +38 -617
  484. package/lib/components/progress-steps/progress-steps.js.map +1 -0
  485. package/lib/components/progress-steps/progress-steps.styles.d.ts +3 -0
  486. package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -0
  487. package/lib/components/progress-steps/progress-steps.styles.js +604 -0
  488. package/lib/components/progress-steps/progress-steps.styles.js.map +1 -0
  489. package/lib/components/progress-steps-item/progress-steps-item.d.ts +44 -0
  490. package/lib/components/progress-steps-item/progress-steps-item.d.ts.map +1 -0
  491. package/lib/components/progress-steps-item/progress-steps-item.js +51 -749
  492. package/lib/components/progress-steps-item/progress-steps-item.js.map +1 -0
  493. package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts +3 -0
  494. package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -0
  495. package/lib/components/progress-steps-item/progress-steps-item.styles.js +714 -0
  496. package/lib/components/progress-steps-item/progress-steps-item.styles.js.map +1 -0
  497. package/lib/components/radio-field/radio-field.d.ts +56 -0
  498. package/lib/components/radio-field/radio-field.d.ts.map +1 -0
  499. package/lib/components/radio-field/radio-field.js +59 -672
  500. package/lib/components/radio-field/radio-field.js.map +1 -0
  501. package/lib/components/radio-field/radio-field.styles.d.ts +3 -0
  502. package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -0
  503. package/lib/components/radio-field/radio-field.styles.js +627 -0
  504. package/lib/components/radio-field/radio-field.styles.js.map +1 -0
  505. package/lib/components/radio-field-item/radio-field-item.d.ts +158 -0
  506. package/lib/components/radio-field-item/radio-field-item.d.ts.map +1 -0
  507. package/lib/components/radio-field-item/radio-field-item.js +213 -890
  508. package/lib/components/radio-field-item/radio-field-item.js.map +1 -0
  509. package/lib/components/radio-field-item/radio-field-item.styles.d.ts +3 -0
  510. package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -0
  511. package/lib/components/radio-field-item/radio-field-item.styles.js +724 -0
  512. package/lib/components/radio-field-item/radio-field-item.styles.js.map +1 -0
  513. package/lib/components/remove-tag/remove-tag.d.ts +53 -0
  514. package/lib/components/remove-tag/remove-tag.d.ts.map +1 -0
  515. package/lib/components/remove-tag/remove-tag.js +86 -742
  516. package/lib/components/remove-tag/remove-tag.js.map +1 -0
  517. package/lib/components/remove-tag/remove-tag.styles.d.ts +3 -0
  518. package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -0
  519. package/lib/components/remove-tag/remove-tag.styles.js +684 -0
  520. package/lib/components/remove-tag/remove-tag.styles.js.map +1 -0
  521. package/lib/components/section/section.d.ts +33 -0
  522. package/lib/components/section/section.d.ts.map +1 -0
  523. package/lib/components/section/section.js +46 -634
  524. package/lib/components/section/section.js.map +1 -0
  525. package/lib/components/section/section.styles.d.ts +3 -0
  526. package/lib/components/section/section.styles.d.ts.map +1 -0
  527. package/lib/components/section/section.styles.js +611 -0
  528. package/lib/components/section/section.styles.js.map +1 -0
  529. package/lib/components/select/select.d.ts +169 -0
  530. package/lib/components/select/select.d.ts.map +1 -0
  531. package/lib/components/select/select.js +235 -890
  532. package/lib/components/select/select.js.map +1 -0
  533. package/lib/components/select/select.styles.d.ts +3 -0
  534. package/lib/components/select/select.styles.d.ts.map +1 -0
  535. package/lib/components/select/select.styles.js +742 -0
  536. package/lib/components/select/select.styles.js.map +1 -0
  537. package/lib/components/select-tile/select-tile-checkbox-controller.d.ts +40 -0
  538. package/lib/components/select-tile/select-tile-checkbox-controller.d.ts.map +1 -0
  539. package/lib/components/select-tile/select-tile-checkbox-controller.js +60 -0
  540. package/lib/components/select-tile/select-tile-checkbox-controller.js.map +1 -0
  541. package/lib/components/select-tile/select-tile-radio-controller.d.ts +87 -0
  542. package/lib/components/select-tile/select-tile-radio-controller.d.ts.map +1 -0
  543. package/lib/components/select-tile/select-tile-radio-controller.js +167 -0
  544. package/lib/components/select-tile/select-tile-radio-controller.js.map +1 -0
  545. package/lib/components/select-tile/select-tile.d.ts +159 -0
  546. package/lib/components/select-tile/select-tile.d.ts.map +1 -0
  547. package/lib/components/select-tile/select-tile.js +228 -226
  548. package/lib/components/select-tile/select-tile.js.map +1 -0
  549. package/lib/components/select-tile/select-tile.styles.d.ts +3 -0
  550. package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -0
  551. package/lib/components/select-tile/select-tile.styles.js +4 -0
  552. package/lib/components/select-tile/select-tile.styles.js.map +1 -0
  553. package/lib/components/select-tile-list/select-tile-list.d.ts +52 -0
  554. package/lib/components/select-tile-list/select-tile-list.d.ts.map +1 -0
  555. package/lib/components/select-tile-list/select-tile-list.js +73 -678
  556. package/lib/components/select-tile-list/select-tile-list.js.map +1 -0
  557. package/lib/components/select-tile-list/select-tile-list.styles.d.ts +3 -0
  558. package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -0
  559. package/lib/components/select-tile-list/select-tile-list.styles.js +623 -0
  560. package/lib/components/select-tile-list/select-tile-list.styles.js.map +1 -0
  561. package/lib/components/skeleton-loader/skeleton-loader.d.ts +53 -0
  562. package/lib/components/skeleton-loader/skeleton-loader.d.ts.map +1 -0
  563. package/lib/components/skeleton-loader/skeleton-loader.js +68 -672
  564. package/lib/components/skeleton-loader/skeleton-loader.js.map +1 -0
  565. package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts +3 -0
  566. package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -0
  567. package/lib/components/skeleton-loader/skeleton-loader.styles.js +637 -0
  568. package/lib/components/skeleton-loader/skeleton-loader.styles.js.map +1 -0
  569. package/lib/components/split-button/split-button.d.ts +34 -0
  570. package/lib/components/split-button/split-button.d.ts.map +1 -0
  571. package/lib/components/split-button/split-button.js +49 -638
  572. package/lib/components/split-button/split-button.js.map +1 -0
  573. package/lib/components/split-button/split-button.styles.d.ts +3 -0
  574. package/lib/components/split-button/split-button.styles.d.ts.map +1 -0
  575. package/lib/components/split-button/split-button.styles.js +598 -0
  576. package/lib/components/split-button/split-button.styles.js.map +1 -0
  577. package/lib/components/submenu/submenu.d.ts +15 -0
  578. package/lib/components/submenu/submenu.d.ts.map +1 -0
  579. package/lib/components/submenu/submenu.js +17 -604
  580. package/lib/components/submenu/submenu.js.map +1 -0
  581. package/lib/components/submenu/submenu.styles.d.ts +3 -0
  582. package/lib/components/submenu/submenu.styles.d.ts.map +1 -0
  583. package/lib/components/submenu/submenu.styles.js +594 -0
  584. package/lib/components/submenu/submenu.styles.js.map +1 -0
  585. package/lib/components/submenu-item/submenu-item.d.ts +19 -0
  586. package/lib/components/submenu-item/submenu-item.d.ts.map +1 -0
  587. package/lib/components/submenu-item/submenu-item.js +32 -624
  588. package/lib/components/submenu-item/submenu-item.js.map +1 -0
  589. package/lib/components/submenu-item/submenu-item.styles.d.ts +3 -0
  590. package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -0
  591. package/lib/components/submenu-item/submenu-item.styles.js +602 -0
  592. package/lib/components/submenu-item/submenu-item.styles.js.map +1 -0
  593. package/lib/components/tab/tab.d.ts +58 -0
  594. package/lib/components/tab/tab.d.ts.map +1 -0
  595. package/lib/components/tab/tab.js +73 -741
  596. package/lib/components/tab/tab.js.map +1 -0
  597. package/lib/components/tab/tab.styles.d.ts +3 -0
  598. package/lib/components/tab/tab.styles.d.ts.map +1 -0
  599. package/lib/components/tab/tab.styles.js +683 -0
  600. package/lib/components/tab/tab.styles.js.map +1 -0
  601. package/lib/components/tab-panel/tab-panel.d.ts +38 -0
  602. package/lib/components/tab-panel/tab-panel.d.ts.map +1 -0
  603. package/lib/components/tab-panel/tab-panel.js +49 -657
  604. package/lib/components/tab-panel/tab-panel.js.map +1 -0
  605. package/lib/components/tab-panel/tab-panel.styles.d.ts +3 -0
  606. package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -0
  607. package/lib/components/tab-panel/tab-panel.styles.js +618 -0
  608. package/lib/components/tab-panel/tab-panel.styles.js.map +1 -0
  609. package/lib/components/table/table.d.ts +43 -0
  610. package/lib/components/table/table.d.ts.map +1 -0
  611. package/lib/components/table/table.js +46 -673
  612. package/lib/components/table/table.js.map +1 -0
  613. package/lib/components/table/table.styles.d.ts +3 -0
  614. package/lib/components/table/table.styles.d.ts.map +1 -0
  615. package/lib/components/table/table.styles.js +636 -0
  616. package/lib/components/table/table.styles.js.map +1 -0
  617. package/lib/components/table-body/table-body.d.ts +15 -0
  618. package/lib/components/table-body/table-body.d.ts.map +1 -0
  619. package/lib/components/table-body/table-body.js +19 -607
  620. package/lib/components/table-body/table-body.js.map +1 -0
  621. package/lib/components/table-body/table-body.styles.d.ts +3 -0
  622. package/lib/components/table-body/table-body.styles.d.ts.map +1 -0
  623. package/lib/components/table-body/table-body.styles.js +595 -0
  624. package/lib/components/table-body/table-body.styles.js.map +1 -0
  625. package/lib/components/table-cell/table-cell.d.ts +32 -0
  626. package/lib/components/table-cell/table-cell.d.ts.map +1 -0
  627. package/lib/components/table-cell/table-cell.js +39 -660
  628. package/lib/components/table-cell/table-cell.js.map +1 -0
  629. package/lib/components/table-cell/table-cell.styles.d.ts +3 -0
  630. package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -0
  631. package/lib/components/table-cell/table-cell.styles.js +628 -0
  632. package/lib/components/table-cell/table-cell.styles.js.map +1 -0
  633. package/lib/components/table-header/table-header.d.ts +15 -0
  634. package/lib/components/table-header/table-header.d.ts.map +1 -0
  635. package/lib/components/table-header/table-header.js +19 -627
  636. package/lib/components/table-header/table-header.js.map +1 -0
  637. package/lib/components/table-header/table-header.styles.d.ts +3 -0
  638. package/lib/components/table-header/table-header.styles.d.ts.map +1 -0
  639. package/lib/components/table-header/table-header.styles.js +615 -0
  640. package/lib/components/table-header/table-header.styles.js.map +1 -0
  641. package/lib/components/table-header-cell/table-header-cell.d.ts +24 -0
  642. package/lib/components/table-header-cell/table-header-cell.d.ts.map +1 -0
  643. package/lib/components/table-header-cell/table-header-cell.js +35 -635
  644. package/lib/components/table-header-cell/table-header-cell.js.map +1 -0
  645. package/lib/components/table-header-cell/table-header-cell.styles.d.ts +3 -0
  646. package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -0
  647. package/lib/components/table-header-cell/table-header-cell.styles.js +607 -0
  648. package/lib/components/table-header-cell/table-header-cell.styles.js.map +1 -0
  649. package/lib/components/table-object/table-object.d.ts +15 -0
  650. package/lib/components/table-object/table-object.d.ts.map +1 -0
  651. package/lib/components/table-object/table-object.js +21 -616
  652. package/lib/components/table-object/table-object.js.map +1 -0
  653. package/lib/components/table-object/table-object.styles.d.ts +3 -0
  654. package/lib/components/table-object/table-object.styles.d.ts.map +1 -0
  655. package/lib/components/table-object/table-object.styles.js +602 -0
  656. package/lib/components/table-object/table-object.styles.js.map +1 -0
  657. package/lib/components/table-row/table-row.d.ts +43 -0
  658. package/lib/components/table-row/table-row.d.ts.map +1 -0
  659. package/lib/components/table-row/table-row.js +74 -745
  660. package/lib/components/table-row/table-row.js.map +1 -0
  661. package/lib/components/table-row/table-row.styles.d.ts +3 -0
  662. package/lib/components/table-row/table-row.styles.d.ts.map +1 -0
  663. package/lib/components/table-row/table-row.styles.js +694 -0
  664. package/lib/components/table-row/table-row.styles.js.map +1 -0
  665. package/lib/components/tabs/tabs.d.ts +238 -0
  666. package/lib/components/tabs/tabs.d.ts.map +1 -0
  667. package/lib/components/tabs/tabs.js +441 -969
  668. package/lib/components/tabs/tabs.js.map +1 -0
  669. package/lib/components/tabs/tabs.styles.d.ts +3 -0
  670. package/lib/components/tabs/tabs.styles.d.ts.map +1 -0
  671. package/lib/components/tabs/tabs.styles.js +681 -0
  672. package/lib/components/tabs/tabs.styles.js.map +1 -0
  673. package/lib/components/tag/tag.d.ts +92 -0
  674. package/lib/components/tag/tag.d.ts.map +1 -0
  675. package/lib/components/tag/tag.js +222 -850
  676. package/lib/components/tag/tag.js.map +1 -0
  677. package/lib/components/tag/tag.styles.d.ts +3 -0
  678. package/lib/components/tag/tag.styles.d.ts.map +1 -0
  679. package/lib/components/tag/tag.styles.js +698 -0
  680. package/lib/components/tag/tag.styles.js.map +1 -0
  681. package/lib/components/tag-list/tag-list.d.ts +28 -0
  682. package/lib/components/tag-list/tag-list.d.ts.map +1 -0
  683. package/lib/components/tag-list/tag-list.js +40 -646
  684. package/lib/components/tag-list/tag-list.js.map +1 -0
  685. package/lib/components/tag-list/tag-list.styles.d.ts +3 -0
  686. package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -0
  687. package/lib/components/tag-list/tag-list.styles.js +615 -0
  688. package/lib/components/tag-list/tag-list.styles.js.map +1 -0
  689. package/lib/components/tertiary-nav/tertiary-nav.d.ts +23 -0
  690. package/lib/components/tertiary-nav/tertiary-nav.d.ts.map +1 -0
  691. package/lib/components/tertiary-nav/tertiary-nav.js +40 -645
  692. package/lib/components/tertiary-nav/tertiary-nav.js.map +1 -0
  693. package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts +3 -0
  694. package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -0
  695. package/lib/components/tertiary-nav/tertiary-nav.styles.js +616 -0
  696. package/lib/components/tertiary-nav/tertiary-nav.styles.js.map +1 -0
  697. package/lib/components/tertiary-nav-item/tertiary-nav-item.d.ts +29 -0
  698. package/lib/components/tertiary-nav-item/tertiary-nav-item.d.ts.map +1 -0
  699. package/lib/components/tertiary-nav-item/tertiary-nav-item.js +52 -677
  700. package/lib/components/tertiary-nav-item/tertiary-nav-item.js.map +1 -0
  701. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts +3 -0
  702. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -0
  703. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js +638 -0
  704. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js.map +1 -0
  705. package/lib/components/text-link/text-link.d.ts +43 -0
  706. package/lib/components/text-link/text-link.d.ts.map +1 -0
  707. package/lib/components/text-link/text-link.js +45 -692
  708. package/lib/components/text-link/text-link.js.map +1 -0
  709. package/lib/components/text-link/text-link.styles.d.ts +3 -0
  710. package/lib/components/text-link/text-link.styles.d.ts.map +1 -0
  711. package/lib/components/text-link/text-link.styles.js +655 -0
  712. package/lib/components/text-link/text-link.styles.js.map +1 -0
  713. package/lib/components/text-passage/text-passage-light-dom.d.ts +3 -0
  714. package/lib/components/text-passage/text-passage-light-dom.d.ts.map +1 -0
  715. package/lib/components/text-passage/text-passage-light-dom.js +145 -0
  716. package/lib/components/text-passage/text-passage-light-dom.js.map +1 -0
  717. package/lib/components/text-passage/text-passage-light-dom.styles.d.ts +3 -0
  718. package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -0
  719. package/lib/components/text-passage/text-passage-light-dom.styles.js +843 -0
  720. package/lib/components/text-passage/text-passage-light-dom.styles.js.map +1 -0
  721. package/lib/components/text-passage/text-passage.d.ts +44 -0
  722. package/lib/components/text-passage/text-passage.d.ts.map +1 -0
  723. package/lib/components/text-passage/text-passage.js +73 -1505
  724. package/lib/components/text-passage/text-passage.js.map +1 -0
  725. package/lib/components/text-passage/text-passage.styles.d.ts +3 -0
  726. package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -0
  727. package/lib/components/text-passage/text-passage.styles.js +625 -0
  728. package/lib/components/text-passage/text-passage.styles.js.map +1 -0
  729. package/lib/components/tooltip/tooltip.d.ts +171 -0
  730. package/lib/components/tooltip/tooltip.d.ts.map +1 -0
  731. package/lib/components/tooltip/tooltip.js +270 -945
  732. package/lib/components/tooltip/tooltip.js.map +1 -0
  733. package/lib/components/tooltip/tooltip.styles.d.ts +3 -0
  734. package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -0
  735. package/lib/components/tooltip/tooltip.styles.js +784 -0
  736. package/lib/components/tooltip/tooltip.styles.js.map +1 -0
  737. package/lib/components/utility-nav/utility-nav.d.ts +24 -0
  738. package/lib/components/utility-nav/utility-nav.d.ts.map +1 -0
  739. package/lib/components/utility-nav/utility-nav.js +40 -645
  740. package/lib/components/utility-nav/utility-nav.js.map +1 -0
  741. package/lib/components/utility-nav/utility-nav.styles.d.ts +3 -0
  742. package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -0
  743. package/lib/components/utility-nav/utility-nav.styles.js +616 -0
  744. package/lib/components/utility-nav/utility-nav.styles.js.map +1 -0
  745. package/lib/components/utility-nav-item/utility-nav-item.d.ts +39 -0
  746. package/lib/components/utility-nav-item/utility-nav-item.d.ts.map +1 -0
  747. package/lib/components/utility-nav-item/utility-nav-item.js +70 -691
  748. package/lib/components/utility-nav-item/utility-nav-item.js.map +1 -0
  749. package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts +3 -0
  750. package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -0
  751. package/lib/components/utility-nav-item/utility-nav-item.styles.js +646 -0
  752. package/lib/components/utility-nav-item/utility-nav-item.styles.js.map +1 -0
  753. package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts +3 -0
  754. package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts.map +1 -0
  755. package/lib/design-tokens/brands/blue/css/tokens_blue.module.js +737 -0
  756. package/lib/design-tokens/brands/blue/css/tokens_blue.module.js.map +1 -0
  757. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts +3 -0
  758. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts.map +1 -0
  759. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js +756 -0
  760. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js.map +1 -0
  761. package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.d.ts +3 -0
  762. package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.d.ts.map +1 -0
  763. package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js +771 -0
  764. package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js.map +1 -0
  765. package/lib/design-tokens/brands/cre8-a2ui/css/fonts.css +4 -8
  766. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +3 -0
  767. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -0
  768. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js +776 -0
  769. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js.map +1 -0
  770. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts +3 -0
  771. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts.map +1 -0
  772. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js +737 -0
  773. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js.map +1 -0
  774. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts +3 -0
  775. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts.map +1 -0
  776. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js +983 -0
  777. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js.map +1 -0
  778. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts +3 -0
  779. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts.map +1 -0
  780. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js +737 -0
  781. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js.map +1 -0
  782. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts +3 -0
  783. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts.map +1 -0
  784. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js +736 -0
  785. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js.map +1 -0
  786. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts +3 -0
  787. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts.map +1 -0
  788. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js +737 -0
  789. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js.map +1 -0
  790. package/lib/design-tokens/brands/notion/tokens_notion.module.d.ts +3 -0
  791. package/lib/design-tokens/brands/notion/tokens_notion.module.d.ts.map +1 -0
  792. package/lib/design-tokens/brands/notion/tokens_notion.module.js +91 -0
  793. package/lib/design-tokens/brands/notion/tokens_notion.module.js.map +1 -0
  794. package/lib/design-tokens/brands/prisma/tokens_prisma.module.d.ts +3 -0
  795. package/lib/design-tokens/brands/prisma/tokens_prisma.module.d.ts.map +1 -0
  796. package/lib/design-tokens/brands/prisma/tokens_prisma.module.js +771 -0
  797. package/lib/design-tokens/brands/prisma/tokens_prisma.module.js.map +1 -0
  798. package/lib/design-tokens/brands/starbucks/tokens.module.d.ts +3 -0
  799. package/lib/design-tokens/brands/starbucks/tokens.module.d.ts.map +1 -0
  800. package/lib/design-tokens/brands/starbucks/tokens.module.js +552 -0
  801. package/lib/design-tokens/brands/starbucks/tokens.module.js.map +1 -0
  802. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts +3 -0
  803. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts.map +1 -0
  804. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js +776 -0
  805. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js.map +1 -0
  806. package/lib/design-tokens/core/scss/theming/head.module.d.ts +3 -0
  807. package/lib/design-tokens/core/scss/theming/head.module.d.ts.map +1 -0
  808. package/lib/design-tokens/core/scss/theming/head.module.js +6 -0
  809. package/lib/design-tokens/core/scss/theming/head.module.js.map +1 -0
  810. package/lib/directives/if-truthy.d.ts +10 -0
  811. package/lib/directives/if-truthy.d.ts.map +1 -0
  812. package/lib/directives/if-truthy.js +24 -0
  813. package/lib/directives/if-truthy.js.map +1 -0
  814. package/lib/directives/spread.d.ts +10 -0
  815. package/lib/directives/spread.d.ts.map +1 -0
  816. package/lib/directives/spread.js +29 -0
  817. package/lib/directives/spread.js.map +1 -0
  818. package/lib/index.d.ts +88 -0
  819. package/lib/index.d.ts.map +1 -0
  820. package/lib/index.js +86 -172
  821. package/lib/index.js.map +1 -0
  822. package/lib/scripts/convert-scss-to-ts.d.ts +2 -0
  823. package/lib/scripts/convert-scss-to-ts.d.ts.map +1 -0
  824. package/lib/scripts/convert-scss-to-ts.js +100 -0
  825. package/lib/scripts/convert-scss-to-ts.js.map +1 -0
  826. package/lib/scripts/generate-mcp-manifest.d.ts +8 -0
  827. package/lib/scripts/generate-mcp-manifest.d.ts.map +1 -0
  828. package/lib/scripts/generate-mcp-manifest.js +350 -0
  829. package/lib/scripts/generate-mcp-manifest.js.map +1 -0
  830. package/lib/scripts/generate-react-wrappers.d.ts +2 -0
  831. package/lib/scripts/generate-react-wrappers.d.ts.map +1 -0
  832. package/lib/scripts/generate-react-wrappers.js +292 -0
  833. package/lib/scripts/generate-react-wrappers.js.map +1 -0
  834. package/lib/toBeAccessible.d.ts +9 -0
  835. package/lib/toBeAccessible.d.ts.map +1 -0
  836. package/lib/toBeAccessible.js +18 -0
  837. package/lib/toBeAccessible.js.map +1 -0
  838. package/lib/utilities/is-mobile.d.ts +5 -0
  839. package/lib/utilities/is-mobile.d.ts.map +1 -0
  840. package/lib/utilities/is-mobile.js +10 -0
  841. package/lib/utilities/is-mobile.js.map +1 -0
  842. package/lib/utilities/story-helpers.d.ts +9 -0
  843. package/lib/utilities/story-helpers.d.ts.map +1 -0
  844. package/lib/utilities/story-helpers.js +14 -0
  845. package/lib/utilities/story-helpers.js.map +1 -0
  846. package/lib/vite.config.cdn.d.ts +18 -0
  847. package/lib/vite.config.cdn.d.ts.map +1 -0
  848. package/lib/vite.config.cdn.js +87 -0
  849. package/lib/vite.config.cdn.js.map +1 -0
  850. package/lib/vite.config.d.ts +3 -0
  851. package/lib/vite.config.d.ts.map +1 -0
  852. package/lib/vite.config.js +195 -0
  853. package/lib/vite.config.js.map +1 -0
  854. package/mcp-manifest.json +1 -1
  855. package/package.json +1 -1
@@ -1,1288 +1,302 @@
1
- import s from "classnames";
2
- import { css as p, nothing as i, html as n } from "lit";
3
- import { ifDefined as a } from "lit-html/directives/if-defined.js";
4
- import "../icon/icon.js";
5
- import "../loading-spinner/loading-spinner.js";
6
- import { property as t, query as m } from "lit/decorators.js";
7
- import { C as v } from "../../cre8-form-element-BymRdQUC.js";
8
- const h = p`@charset "UTF-8";
9
- .cre8-u-content-knockout-brand {
10
- color: var(----cre8-color-content-knockout-brand);
11
- }
12
-
13
- .cre8-u-is-hidden {
14
- display: none !important;
15
- visibility: hidden !important;
16
- }
17
-
18
- .cre8-u-is-vishidden {
19
- position: absolute !important;
20
- overflow: hidden;
21
- width: 1px;
22
- height: 1px;
23
- padding: 0;
24
- border: 0;
25
- clip: rect(1px, 1px, 1px, 1px);
26
- }
27
-
28
- @media all and (min-width: 23.4375rem) {
29
- .cre8-u-hide-sm {
30
- display: none !important;
31
- }
32
- }
33
- @media all and (min-width: 35rem) {
34
- .cre8-u-hide-sm-2 {
35
- display: none !important;
36
- }
37
- }
38
- @media all and (min-width: 48rem) {
39
- .cre8-u-hide-md {
40
- display: none !important;
41
- }
42
- }
43
- @media all and (min-width: 60rem) {
44
- .cre8-u-hide-lg {
45
- display: none !important;
46
- }
47
- }
48
- @media all and (min-width: 75rem) {
49
- .cre8-u-hide-xl {
50
- display: none !important;
51
- }
52
- }
53
- @media all and (max-width: 23.4375rem) {
54
- .cre8-u-show-sm {
55
- display: none !important;
56
- }
57
- }
58
- @media all and (max-width: 35rem) {
59
- .cre8-u-show-sm-2 {
60
- display: none !important;
61
- }
62
- }
63
- @media all and (max-width: 48rem) {
64
- .cre8-u-show-md {
65
- display: none !important;
66
- }
67
- }
68
- @media all and (max-width: 60rem) {
69
- .cre8-u-show-lg {
70
- display: none !important;
71
- }
72
- }
73
- @media all and (max-width: 75rem) {
74
- .cre8-u-show-xl {
75
- display: none !important;
76
- }
77
- }
78
- .cre8-u-margin-none {
79
- margin: 0 !important;
80
- }
81
-
82
- .cre8-u-margin-sm {
83
- margin: size(1) !important;
84
- }
85
-
86
- .cre8-u-margin-md {
87
- margin: size(2) !important;
88
- }
89
-
90
- .cre8-u-margin-lg {
91
- margin: size(3) !important;
92
- }
93
-
94
- .cre8-u-margin-xl {
95
- margin: size(4) !important;
96
- }
97
-
98
- .cre8-u-margin-xxl {
99
- margin: size(8) !important;
100
- }
101
-
102
- .cre8-u-margin-top-none {
103
- margin-top: 0 !important;
104
- }
105
-
106
- .cre8-u-margin-top-sm {
107
- margin-top: size(1) !important;
108
- }
109
-
110
- .cre8-u-margin-top-md {
111
- margin-top: size(2) !important;
112
- }
113
-
114
- .cre8-u-margin-top-lg {
115
- margin-top: size(3) !important;
116
- }
117
-
118
- .cre8-u-margin-top-xl {
119
- margin-top: size(4) !important;
120
- }
121
-
122
- .cre8-u-margin-top-xxl {
123
- margin-top: size(8) !important;
124
- }
125
-
126
- .cre8-u-margin-right-none {
127
- margin-right: 0 !important;
128
- }
129
-
130
- .cre8-u-margin-right-sm {
131
- margin-right: size(1) !important;
132
- }
133
-
134
- .cre8-u-margin-right-md {
135
- margin-right: size(2) !important;
136
- }
137
-
138
- .cre8-u-margin-right-lg {
139
- margin-right: size(3) !important;
140
- }
141
-
142
- .cre8-u-margin-right-xl {
143
- margin-right: size(4) !important;
144
- }
145
-
146
- .cre8-u-margin-right-xxl {
147
- margin-right: size(8) !important;
148
- }
149
-
150
- .cre8-u-margin-bottom-none {
151
- margin-bottom: 0 !important;
152
- }
153
-
154
- .cre8-u-margin-bottom-sm {
155
- margin-bottom: size(1) !important;
156
- }
157
-
158
- .cre8-u-margin-bottom-md {
159
- margin-bottom: size(2) !important;
160
- }
161
-
162
- .cre8-u-margin-bottom-lg {
163
- margin-bottom: size(3) !important;
164
- }
165
-
166
- .cre8-u-margin-bottom-xl {
167
- margin-bottom: size(4) !important;
168
- }
169
-
170
- .cre8-u-margin-bottom-xxl {
171
- margin-bottom: size(8) !important;
172
- }
173
-
174
- .cre8-u-margin-bottom-xl-xxl {
175
- margin-bottom: size(4) !important;
176
- }
177
-
178
- @media all and (min-width: 768px) {
179
- .cre8-u-margin-bottom-xl-xxl {
180
- margin-bottom: size(8) !important;
181
- }
182
- }
183
- .cre8-u-margin-left-none {
184
- margin-left: 0 !important;
185
- }
186
-
187
- .cre8-u-margin-left-sm {
188
- margin-left: size(1) !important;
189
- }
190
-
191
- .cre8-u-margin-left-md {
192
- margin-left: size(2) !important;
193
- }
194
-
195
- .cre8-u-margin-left-lg {
196
- margin-left: size(3) !important;
197
- }
198
-
199
- .cre8-u-margin-left-xl {
200
- margin-left: size(4) !important;
201
- }
202
-
203
- .cre8-u-margin-left-xxl {
204
- margin-left: size(8) !important;
205
- }
206
-
207
- .cre8-u-padding-none {
208
- padding: 0 !important;
209
- }
210
-
211
- .cre8-u-padding-sm {
212
- padding: size(1) !important;
213
- }
214
-
215
- .cre8-u-padding-md {
216
- padding: size(2) !important;
217
- }
218
-
219
- .cre8-u-padding-lg {
220
- padding: size(3) !important;
221
- }
222
-
223
- .cre8-u-padding-xl {
224
- padding: size(4) !important;
225
- }
226
-
227
- .cre8-u-padding-xxl {
228
- padding: size(8) !important;
229
- }
230
-
231
- .cre8-u-padding-top-none {
232
- padding-top: 0 !important;
233
- }
234
-
235
- .cre8-u-padding-top-sm {
236
- padding-top: size(1) !important;
237
- }
238
-
239
- .cre8-u-padding-top-md {
240
- padding-top: size(2) !important;
241
- }
242
-
243
- .cre8-u-padding-top-lg {
244
- padding-top: size(3) !important;
245
- }
246
-
247
- .cre8-u-padding-top-xl {
248
- padding-top: size(4) !important;
249
- }
250
-
251
- .cre8-u-padding-top-xxl {
252
- padding-top: size(8) !important;
253
- }
254
-
255
- .cre8-u-padding-right-none {
256
- padding-right: 0 !important;
257
- }
258
-
259
- .cre8-u-padding-right-sm {
260
- padding-right: size(1) !important;
261
- }
262
-
263
- .cre8-u-padding-right-md {
264
- padding-right: size(2) !important;
265
- }
266
-
267
- .cre8-u-padding-right-lg {
268
- padding-right: size(3) !important;
269
- }
270
-
271
- .cre8-u-padding-right-xl {
272
- padding-right: size(4) !important;
273
- }
274
-
275
- .cre8-u-padding-right-xxl {
276
- padding-right: size(8) !important;
277
- }
278
-
279
- .cre8-u-padding-bottom-none {
280
- padding-bottom: 0 !important;
281
- }
282
-
283
- .cre8-u-padding-bottom-sm {
284
- padding-bottom: size(1) !important;
285
- }
286
-
287
- .cre8-u-padding-bottom-md {
288
- padding-bottom: size(2) !important;
289
- }
290
-
291
- .cre8-u-padding-bottom-lg {
292
- padding-bottom: size(3) !important;
293
- }
294
-
295
- .cre8-u-padding-bottom-xl {
296
- padding-bottom: size(4) !important;
297
- }
298
-
299
- .cre8-u-padding-bottom-xxl {
300
- padding-bottom: size(8) !important;
301
- }
302
-
303
- .cre8-u-padding-left-none {
304
- padding-left: 0 !important;
305
- }
306
-
307
- .cre8-u-padding-left-sm {
308
- padding-left: size(1) !important;
309
- }
310
-
311
- .cre8-u-padding-left-md {
312
- padding-left: size(2) !important;
313
- }
314
-
315
- .cre8-u-padding-left-lg {
316
- padding-left: size(3) !important;
317
- }
318
-
319
- .cre8-u-padding-left-xl {
320
- padding-left: size(4) !important;
321
- }
322
-
323
- .cre8-u-padding-left-xxl {
324
- padding-left: size(8) !important;
325
- }
326
-
327
- .cre8-u-display-flex {
328
- display: flex !important;
329
- }
330
-
331
- .cre8-u-display-block {
332
- display: block !important;
333
- }
334
-
335
- body {
336
- font-family: var(--cre8-typography-body-default-font-family);
337
- font-size: var(--cre8-typography-body-default-font-size);
338
- font-weight: var(--cre8-typography-body-default-font-weight);
339
- line-height: var(--cre8-typography-body-default-line-height);
340
- -webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
341
- text-decoration: var(--cre8-typography-body-default-text-decoration);
342
- text-transform: var(--cre8-typography-body-default-text-transform);
343
- display: flex;
344
- flex-direction: column;
345
- padding: 0;
346
- margin: 0;
347
- color: var(--cre8-color-content-default);
348
- background: var(--background-default);
349
- }
350
-
351
- @media all and (min-width: 60rem) {
352
- .page-container {
353
- background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
354
- }
355
- }
356
- .band__inner {
357
- margin-left: 2rem;
358
- margin-right: 2rem;
359
- }
360
-
361
- @media all and (min-width: 60rem) {
362
- .band__inner {
363
- margin-right: 0;
364
- }
365
- }
366
- img {
367
- max-width: 100%;
368
- height: auto;
369
- }
370
-
371
- /**
372
- * Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
373
- */
374
- *,
375
- ::slotted(*),
376
- *:before,
377
- *:after {
378
- box-sizing: border-box;
379
- }
380
-
381
- :root {
382
- --size-base-unit: 0.5rem;
383
- }
384
-
385
- /**
386
- * RTL support for values logical properties can't automatically adjust for
387
- * 1) Percentage based horizontal translate values need to be flipped
388
- * 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
389
- * 3) Inverse items that have 45degs
390
- */
391
- [dir=rtl] {
392
- --rtlTranslateX: 50%;
393
- /* 1 */
394
- --rtlGradientToRight: 270deg;
395
- /* 2 */
396
- --rtlRotate45Inverse: -45deg;
397
- /* 3 */
398
- }
399
-
400
- /**
401
- * Visible focus outline for elements on a light background
402
- */
403
- /**
404
- * Visible focus outline for elements with an error status
405
- */
406
- /**
407
- * Visible focus outline for elements on a dark background
408
- */
409
- /**
410
- * Focus state for themes that need a dashed outline for focus
411
- * state
412
- **/
413
- /**
414
- * Invisible focus outline for elements that need a more visible
415
- * focus state for high-contrast mode
416
- */
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import classnames from 'classnames';
8
+ import { html, nothing } from 'lit';
9
+ import { ifDefined } from 'lit-html/directives/if-defined.js';
10
+ import '../icon/icon';
11
+ import '../loading-spinner/loading-spinner';
12
+ import { property, query } from 'lit/decorators.js';
13
+ import styles from './danger-button.styles.js';
14
+ import { Cre8FormElement } from '../cre8-form-element';
417
15
  /**
418
- * Visually hidden from display
419
- */
420
- /*
421
- =======
422
- Animations
423
- =======
424
- */
425
- :host {
426
- --cre8-z-index-1: 1;
427
- --cre8-z-index-50: 50;
428
- --cre8-z-index-100: 100;
429
- --cre8-z-index-200: 200;
430
- --cre8-z-index-1030: 1030;
431
- --cre8-anim-fade-quick: 0.35s;
432
- --cre8-anim-ease: ease;
433
- }
434
-
435
- @keyframes fadeIn {
436
- 100% {
437
- opacity: 1;
438
- }
439
- }
440
- @keyframes slideIn {
441
- 100% {
442
- transform: translateX(0);
443
- }
444
- }
445
- @keyframes slideInFwd {
446
- 100% {
447
- width: 272px;
448
- height: 272px;
449
- }
450
- }
451
- @keyframes slideOutRight {
452
- 100% {
453
- width: 272px;
454
- height: 272px;
455
- }
456
- }
457
- @keyframes slideUp {
458
- 100% {
459
- transform: translateY(0);
460
- }
461
- }
462
- @media (width >= 481px) {
463
- @keyframes slideInFwd {
464
- 100% {
465
- width: 417px;
466
- height: 417px;
16
+ * The size and state of buttons on the screen serve as visual cues for the user
17
+ * about what they can do and what they should do next.
18
+ * They indicate the availability and priority of the action on the page.
19
+ *
20
+ * - Buttons are a single call-to-action where a single click performs that action
21
+ * - Use Danger Buttons when you are performing an action that is potentially dangerous,
22
+ * such as permanently deleting information
23
+ * - Use a link instead of a button when you're navigating to another place
24
+ *
25
+ * ## How to Use
26
+ *
27
+ * Danger Buttons are distinguished by three key properties:
28
+ *
29
+ * - **Visual Priority**: Style and size: Primary, Secondary, or Tertiary styles;
30
+ * each with large and small variations
31
+ * - **State**: Interaction state: hover/click (press), focus, disabled,
32
+ * and submitting/loading (only for large buttons)
33
+ * - **Brand**: Styles determined by the site or component theme
34
+ *
35
+ * ### Usage Guidelines
36
+ *
37
+ * Primary, Secondary and Tertiary styles emphasize or de-emphasize an action. They also define
38
+ * background, font style, and border colors. Large and small sizing assists with visual priority by defining button
39
+ * heights, left and right internal padding, and font-size.
40
+ *
41
+ * #### System Feedback
42
+ * Each button has a default and hover/click (press) state that give the user feedback
43
+ * that they have successfully interacted with a button.
44
+ * Button presses should always be combined with other types of timely system feedback.
45
+ * Examples of system feedback may be a page refresh, exposing additional controls or content,
46
+ * dialogs, alerts and notifications.
47
+ * If there is perceived a delay in system response, generally due to technical constraints,
48
+ * provide a progress or loading indicator.
49
+ *
50
+ * #### Button Text
51
+ *
52
+ * - Button text should be as short and simple as possible, ideally a maximum of 3 words.
53
+ * - Use Title Case for readability.
54
+ * - They should not include punctuation (exception: "Loading...").
55
+ * - They should not be used as an indicator of what happens on the next page, or as a substitute
56
+ * for a progress meter.
57
+ *
58
+ * #### Button Styling
59
+ *
60
+ * - DO use only the styles of the brand you are working on.
61
+ * - DO NOT combine styles, even if the page is co-branded.
62
+ *
63
+ * #### Button Sizes
64
+ * - DO always pair like sizes together and maintain the hierarchy of Primary and Secondary/Tertiary.
65
+ * - DO NOT mix sizes of buttons when they are used together as a group.
66
+ *
67
+ * #### Input Pairing
68
+ *
69
+ * Primary and Secondary buttons may be paired with input fields.
70
+ * Only one Primary button may appear on each screen.
71
+ * Use the Secondary button when there are multiple in-context buttons
72
+ * and/or when there is an emphasized page level button.
73
+ * When used in a form context, the button's `type` needs to be `submit` to pass along form data.
74
+ *
75
+ * - DO use only large buttons with input fields.
76
+ * - DO NOT use small buttons with input fields.
77
+ *
78
+ */
79
+ export class Cre8DangerButton extends Cre8FormElement {
80
+ constructor() {
81
+ super(...arguments);
82
+ /**
83
+ *
84
+ * The button text. Should be as short and simple as possible, ideally a maximum of 3 words.
85
+ * - Use Title Case for readability.
86
+ * - Should not include punctuation (exception: "Loading...").
87
+ * - Should not be used as an indicator of what happens on the next page, or as a substitute for a progress meter.
88
+ */
89
+ this.text = 'Button';
90
+ /**
91
+ * Style variant
92
+ * - **primary** renders the button used for primary actions. Presents highest visual priority.
93
+ * When grouped with other buttons, only one primary is allowed
94
+ * - **secondary** renders a secondary button. Presents a lower visual priority
95
+ * - **tertiary** renders a tertiary button. Presents the lowest visual priority.
96
+ * Should be used in limited amounts - consider if a link (`<a>`) would be more appropriate
97
+ */
98
+ this.variant = 'primary';
99
+ /**
100
+ * Type of button.
101
+ * - **button** (default) button has no default behavior and does nothing unless provided some sort
102
+ * of client-side trigger
103
+ * - **submit** button for submitting form data to a server
104
+ */
105
+ this.type = 'button';
106
+ /**
107
+ * rotate is used for <cre8-icon> to set the arrow in the correct direction
108
+ */
109
+ this.iconRotateDegree = 0;
110
+ /**
111
+ * Icon position. Must include the name of the icon with `iconName`
112
+ *
113
+ * - **before** places the icon before the button text
114
+ * - **after** places the icon after the button text
115
+ */
116
+ this.iconPosition = undefined;
117
+ /**
118
+ * Controls whether your loading status update to voiceover users will occur
119
+ * immediately (used for more urgently needed updates) using `assertive` or at the next convenient
120
+ * pause in their navigation using `polite`.
121
+ */
122
+ this.ariaLive = 'assertive';
467
123
  }
468
- }
469
- @keyframes slideOutRight {
470
- 100% {
471
- width: 417px;
472
- height: 417px;
473
- }
474
- }
475
- }
476
- @media (width >= 48rem) {
477
- @keyframes slideInFwd {
478
- 100% {
479
- width: 330px;
480
- height: 330px;
481
- }
482
- }
483
- @keyframes slideOutRight {
484
- 100% {
485
- width: 330px;
486
- height: 330px;
487
- transform: translateX(calc(100vw - 45px));
488
- }
489
- }
490
- }
491
- @media (width >= 60rem) {
492
- @keyframes slideInFwd {
493
- 100% {
494
- width: 460px;
495
- height: 460px;
124
+ formSubmit() {
125
+ const form = this._internals.form;
126
+ if (form) {
127
+ form.requestSubmit();
128
+ }
496
129
  }
497
- }
498
- @keyframes slideOutRight {
499
- 100% {
500
- width: 460px;
501
- height: 460px;
502
- transform: translateX(calc(100vw - 45px));
130
+ formReset() {
131
+ const form = this._internals.form;
132
+ if (form) {
133
+ form.reset();
134
+ }
503
135
  }
504
- }
505
- }
506
- @media (width >= 75rem) {
507
- @keyframes slideInFwd {
508
- 100% {
509
- width: 592px;
510
- height: 591px;
511
- }
512
- }
513
- @keyframes slideOutRight {
514
- 100% {
515
- width: 592px;
516
- height: 591px;
517
- transform: translateX(calc(100vw - 45px));
518
- }
519
- }
520
- }
521
- @media (width >= 87.5rem) {
522
- @keyframes slideOutRight {
523
- 100% {
524
- width: 592px;
525
- height: 591px;
526
- transform: translateX(calc(100vw - 120px));
527
- }
528
- }
529
- }
530
- @media (width >= 2200px) {
531
- @keyframes slideOutRight {
532
- 100% {
533
- width: 592px;
534
- height: 591px;
535
- transform: translateX(calc(100vw - 592px));
536
- }
537
- }
538
- }
539
- span.ripple {
540
- position: absolute;
541
- border-radius: 50%;
542
- transform: scale(0);
543
- animation: ripple 600ms linear;
544
- background-color: var(--ripple-bg-color);
545
- }
546
-
547
- @keyframes ripple {
548
- to {
549
- transform: scale(4);
550
- opacity: 1;
551
- }
552
- }
553
- :root {
554
- --size-base-unit: 0.5rem;
555
- }
556
-
557
- /**
558
- * RTL support for values logical properties can't automatically adjust for
559
- * 1) Percentage based horizontal translate values need to be flipped
560
- * 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
561
- * 3) Inverse items that have 45degs
562
- */
563
- [dir=rtl] {
564
- --rtlTranslateX: 50%;
565
- /* 1 */
566
- --rtlGradientToRight: 270deg;
567
- /* 2 */
568
- --rtlRotate45Inverse: -45deg;
569
- /* 3 */
570
- }
571
-
572
- /**
573
- * Visible focus outline for elements on a light background
574
- */
575
- /**
576
- * Visible focus outline for elements with an error status
577
- */
578
- /**
579
- * Visible focus outline for elements on a dark background
580
- */
581
- /**
582
- * Focus state for themes that need a dashed outline for focus
583
- * state
584
- **/
585
- /**
586
- * Invisible focus outline for elements that need a more visible
587
- * focus state for high-contrast mode
588
- */
589
- /**
590
- * Visually hidden from display
591
- */
592
- :host {
593
- display: inline-flex;
594
- }
595
-
596
- :host([fullWidth]) {
597
- display: flex;
598
- }
599
-
600
- /**
601
- * 1) Danger Button or link that has functionality to it
602
- */
603
- /**
604
- * Primary button
605
- */
606
- .cre8-c-danger-button {
607
- font-family: var(--cre8-typography-label-default-font-family);
608
- font-size: var(--cre8-typography-label-default-font-size);
609
- font-weight: var(--cre8-typography-label-default-font-weight);
610
- line-height: var(--cre8-typography-label-default-line-height);
611
- text-decoration: var(--cre8-typography-label-default-text-decoration);
612
- text-transform: var(--cre8-typography-label-default-text-transform);
613
- width: var(--cre8-button-width, auto);
614
- height: var(--cre8-button-height, auto);
615
- min-width: var(--cre8-button-min-width, auto);
616
- min-height: var(--cre8-button-min-height, auto);
617
- justify-content: center;
618
- text-align: center;
619
- margin-top: var(--cre8-button-margin-top, 0);
620
- margin-bottom: var(--cre8-button-margin-bottom, 0);
621
- margin-left: var(--cre8-button-margin-left, 0);
622
- margin-right: var(--cre8-button-margin-right, 0);
623
- display: inline-flex;
624
- align-items: center;
625
- border-width: var(--cre8-border-width-button-default);
626
- box-shadow: var(--cre8-shadow-button);
627
- padding-top: var(--cre8-button-padding-vertical-medium);
628
- padding-right: var(--cre8-button-padding-horizontal-medium);
629
- padding-bottom: var(--cre8-button-padding-vertical-medium);
630
- padding-left: var(--cre8-button-padding-horizontal-medium);
631
- margin: 0;
632
- cursor: pointer;
633
- border-style: var(--cre8-border-style-default);
634
- transition: revert;
635
- transform: revert;
636
- white-space: nowrap;
637
- }
638
- .cre8-c-danger-button:hover, .cre8-c-danger-button:focus, .cre8-c-danger-button:active, .cre8-c-danger-button:focus-visible {
639
- border-style: var(--cre8-border-style-default);
640
- box-shadow: none;
641
- transform: revert;
642
- transition: revert;
643
- }
644
- .cre8-c-danger-button.cre8-c-danger-button--primary {
645
- background: var(--cre8-color-button-primary-danger-bg);
646
- border-width: var(--cre8-border-width-button-default);
647
- border-color: var(--cre8-color-button-primary-danger-border);
648
- border-radius: var(--cre8-border-radius-button);
649
- box-shadow: var(--cre8-shadow-button);
650
- color: var(--cre8-color-button-primary-danger-content);
651
- --cre8-icon-fill: var(--cre8-color-button-primary-danger-content);
652
- }
653
- .cre8-c-danger-button.cre8-c-danger-button--primary:hover, .cre8-c-danger-button.cre8-c-danger-button--primary:focus {
654
- box-shadow: none;
655
- --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-hover);
656
- color: var(--cre8-color-button-primary-danger-content-hover);
657
- border-color: var(--cre8-color-button-primary-danger-border-hover);
658
- background: var(--cre8-color-button-primary-danger-bg-hover);
659
- text-decoration: none;
660
- }
661
- .cre8-c-danger-button.cre8-c-danger-button--primary:hover:focus, .cre8-c-danger-button.cre8-c-danger-button--primary:focus:focus {
662
- outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
663
- outline-offset: 0.125rem;
664
- }
665
- .cre8-c-danger-button.cre8-c-danger-button--primary:active, .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--loading {
666
- box-shadow: none;
667
- color: var(--cre8-color-button-primary-danger-content-active);
668
- --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-active);
669
- border-color: var(--cre8-color-button-primary-danger-border-active);
670
- background-color: var(--cre8-color-button-primary-danger-bg-active);
671
- }
672
- .cre8-c-danger-button.cre8-c-danger-button--primary:focus-visible {
673
- outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
674
- outline-offset: 0.125rem;
675
- }
676
- .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--loading {
677
- cursor: not-allowed;
678
- }
679
- .cre8-c-danger-button.cre8-c-danger-button--primary {
680
- /**
681
- * Disabled primary and secondary button
682
- */
683
- }
684
- .cre8-c-danger-button.cre8-c-danger-button--primary:disabled {
685
- box-shadow: none;
686
- background-color: var(--cre8-color-button-primary-danger-bg-disabled);
687
- border-color: var(--cre8-color-button-primary-danger-border-disabled);
688
- color: var(--cre8-color-button-primary-danger-content-disabled);
689
- --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-disabled);
690
- cursor: not-allowed;
691
- outline: none;
692
- }
693
- .cre8-c-danger-button.cre8-c-danger-button--primary:disabled:hover, .cre8-c-danger-button.cre8-c-danger-button--primary:disabled:focus, .cre8-c-danger-button.cre8-c-danger-button--primary:disabled:active, .cre8-c-danger-button.cre8-c-danger-button--primary:disabled:focus-visible {
694
- outline: none;
695
- background-color: var(--cre8-color-button-primary-danger-bg-disabled);
696
- border-color: var(--cre8-color-button-primary-danger-border-disabled);
697
- color: var(--cre8-color-button-primary-danger-content-disabled);
698
- --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-disabled);
699
- }
700
- .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted {
701
- background-color: var(--cre8-color-button-primary-danger-inverse-bg);
702
- border-color: var(--cre8-color-button-primary-danger-inverse-border);
703
- color: var(--cre8-color-button-primary-danger-inverse-content);
704
- }
705
- .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:hover, .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:focus {
706
- background-color: var(--cre8-color-button-primary-danger-inverse-bg-hover);
707
- border-color: var(--cre8-color-button-primary-danger-inverse-border-hover);
708
- color: var(--cre8-color-button-primary-danger-inverse-content-hover);
709
- }
710
- .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:focus {
711
- outline-color: var(--cre8-color-button-primary-danger-inverse-outline);
712
- }
713
- .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:active {
714
- background-color: var(--cre8-color-button-primary-danger-inverse-bg-active);
715
- border-color: var(--cre8-color-button-primary-danger-inverse-border-active);
716
- color: var(--cre8-color-button-primary-danger-inverse-content-active);
717
- }
718
- .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:active.cre8-c-danger-button--loading {
719
- --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-active);
720
- }
721
- .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:disabled {
722
- outline: none;
723
- cursor: not-allowed;
724
- background-color: var(--cre8-color-button-primary-danger-inverse-bg-disabled);
725
- border-color: var(--cre8-color-button-primary-danger-inverse-border-disabled);
726
- color: var(--cre8-color-button-primary-danger-inverse-content-disabled);
727
- }
728
- .cre8-c-danger-button {
729
- /**
730
- * Secondary button
731
- * The icon button shares the styles of the standard secondary button
732
- */
733
- }
734
- .cre8-c-danger-button.cre8-c-danger-button--secondary {
735
- background-color: var(--cre8-color-button-secondary-danger-bg);
736
- border-color: var(--cre8-color-button-secondary-danger-border);
737
- color: var(--cre8-color-button-secondary-danger-content);
738
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content);
739
- border-radius: var(--cre8-border-radius-button);
740
- border-width: var(--cre8-border-width-button-default);
741
- }
742
- .cre8-c-danger-button.cre8-c-danger-button--secondary:hover, .cre8-c-danger-button.cre8-c-danger-button--secondary:focus {
743
- background-color: var(--cre8-color-button-secondary-danger-bg-hover);
744
- border-color: var(--cre8-color-button-secondary-danger-border-hover);
745
- color: var(--cre8-color-button-secondary-danger-content-hover);
746
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-hover);
747
- }
748
- .cre8-c-danger-button.cre8-c-danger-button--secondary:hover:focus, .cre8-c-danger-button.cre8-c-danger-button--secondary:focus:focus {
749
- outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
750
- outline-offset: 0.125rem;
751
- }
752
- .cre8-c-danger-button.cre8-c-danger-button--secondary:active, .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--loading {
753
- transition: none;
754
- transform: none;
755
- background-color: var(--cre8-color-button-secondary-danger-bg-active);
756
- border-color: var(--cre8-color-button-secondary-danger-border-active);
757
- color: var(--cre8-color-button-secondary-danger-content-active);
758
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);
759
- }
760
- .cre8-c-danger-button.cre8-c-danger-button--secondary:focus-visible {
761
- outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
762
- outline-offset: 0.125rem;
763
- }
764
- .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--loading {
765
- cursor: not-allowed;
766
- }
767
- .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled {
768
- box-shadow: none;
769
- background-color: var(--cre8-color-button-secondary-danger-bg-disabled);
770
- border-color: var(--cre8-color-button-secondary-danger-border-disabled);
771
- color: var(--cre8-color-button-secondary-danger-content-disabled);
772
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-disabled);
773
- outline: none;
774
- border-radius: var(--cre8-border-radius-button);
775
- border-width: var(--cre8-border-width-button-default);
776
- cursor: not-allowed;
777
- }
778
- .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:hover, .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:focus, .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:active, .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:focus-visible {
779
- outline: none;
780
- background-color: var(--cre8-color-button-secondary-danger-bg-disabled);
781
- border-color: var(--cre8-color-button-secondary-danger-border-disabled);
782
- color: var(--cre8-color-button-secondary-danger-content-disabled);
783
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-disabled);
784
- }
785
- .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted {
786
- background-color: var(--cre8-color-button-secondary-danger-inverse-bg);
787
- border-color: var(--cre8-color-button-secondary-danger-inverse-border);
788
- color: var(--cre8-color-button-secondary-danger-inverse-content);
789
- }
790
- .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:hover, .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:focus {
791
- background-color: var(--cre8-color-button-secondary-danger-inverse-bg-hover);
792
- border-color: var(--cre8-color-button-secondary-danger-inverse-border-hover);
793
- color: var(--cre8-color-button-secondary-danger-inverse-content-hover);
794
- }
795
- .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:focus {
796
- outline-color: var(--cre8-color-button-secondary-danger-inverse-outline);
797
- }
798
- .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:active {
799
- background-color: var(--cre8-color-button-secondary-danger-inverse-bg-active);
800
- border-color: var(--cre8-color-button-secondary-danger-inverse-border-active);
801
- color: var(--cre8-color-button-secondary-danger-inverse-content-active);
802
- }
803
- .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:active.cre8-c-danger-button--loading {
804
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);
805
- }
806
- .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:disabled {
807
- outline: none;
808
- cursor: not-allowed;
809
- background-color: var(--cre8-color-button-secondary-danger-inverse-bg-disabled);
810
- border-color: var(--cre8-color-button-secondary-danger-inverse-border-disabled);
811
- color: var(--cre8-color-button-secondary-danger-inverse-content-disabled);
812
- }
813
- .cre8-c-danger-button {
814
- /**
815
- * Tertiary button
816
- */
817
- }
818
- .cre8-c-danger-button.cre8-c-danger-button--tertiary {
819
- border-radius: var(--cre8-border-radius-button);
820
- background-color: var(--cre8-color-button-tertiary-danger-bg);
821
- border-width: var(--cre8-border-width-button-default);
822
- border-color: var(--cre8-color-button-tertiary-danger-border);
823
- color: var(--cre8-color-button-tertiary-danger-content);
824
- --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content);
825
- box-shadow: none;
826
- }
827
- .cre8-c-danger-button.cre8-c-danger-button--tertiary:hover, .cre8-c-danger-button.cre8-c-danger-button--tertiary:focus {
828
- border-radius: var(--cre8-border-radius-button);
829
- background-color: var(--cre8-color-button-tertiary-danger-bg-hover);
830
- border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);
831
- border-color: var(--cre8-color-button-tertiary-danger-border-hover);
832
- color: var(--cre8-color-button-tertiary-danger-content-hover);
833
- --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-hover);
834
- }
835
- .cre8-c-danger-button.cre8-c-danger-button--tertiary:hover:focus, .cre8-c-danger-button.cre8-c-danger-button--tertiary:focus:focus {
836
- outline: var(--cre8-border-width-focus) var(--cre8-border-style-button-tertiary-outline-focus) var(--cre8-color-border-active-outline);
837
- outline-offset: 0.125rem;
838
- }
839
- .cre8-c-danger-button.cre8-c-danger-button--tertiary:active, .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--loading {
840
- border-radius: var(--cre8-border-radius-button);
841
- background-color: var(--cre8-color-button-tertiary-danger-bg-active);
842
- border-color: var(--cre8-color-button-tertiary-danger-border-active);
843
- border-width: var(--cre8-border-width-button-default);
844
- color: var(--cre8-color-button-tertiary-danger-content-active);
845
- --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-active);
846
- }
847
- .cre8-c-danger-button.cre8-c-danger-button--tertiary:focus-visible {
848
- outline: var(--cre8-border-width-focus) var(--cre8-border-style-button-tertiary-outline-focus) var(--cre8-color-border-active-outline);
849
- outline-offset: 0.125rem;
850
- }
851
- .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--loading {
852
- cursor: not-allowed;
853
- }
854
- .cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled {
855
- background-color: var(--cre8-color-button-tertiary-danger-bg-disabled);
856
- border-color: transparent;
857
- color: var(--cre8-color-button-tertiary-danger-content-disabled);
858
- --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-disabled);
859
- outline: none;
860
- box-shadow: none;
861
- cursor: not-allowed;
862
- }
863
- .cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:hover, .cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:focus {
864
- outline: none;
865
- box-shadow: none;
866
- background-color: var(--cre8-color-button-tertiary-danger-bg-disabled);
867
- color: var(--cre8-color-button-tertiary-danger-content-disabled);
868
- --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-disabled);
869
- }
870
- .cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:active, .cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:focus-visible {
871
- outline: none;
872
- box-shadow: none;
873
- background-color: var(--cre8-color-button-tertiary-danger-bg-disabled);
874
- color: var(--cre8-color-button-tertiary-danger-content-disabled);
875
- --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-disabled);
876
- }
877
- .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted {
878
- background-color: var(--cre8-color-button-tertiary-danger-inverse-bg);
879
- border-color: var(--cre8-color-button-tertiary-danger-inverse-border);
880
- color: var(--cre8-color-button-tertiary-danger-inverse-content);
881
- }
882
- .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:hover, .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:focus {
883
- background-color: var(--cre8-color-button-tertiary-danger-inverse-bg-hover);
884
- border-color: var(--cre8-color-button-tertiary-danger-inverse-border-hover);
885
- color: var(--cre8-color-button-tertiary-danger-inverse-content-hover);
886
- }
887
- .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:focus {
888
- outline-color: var(--cre8-color-button-tertiary-danger-inverse-outline);
889
- }
890
- .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:active {
891
- background-color: var(--cre8-color-button-tertiary-danger-inverse-bg-active);
892
- border-color: var(--cre8-color-button-tertiary-danger-inverse-border-active);
893
- color: var(--cre8-color-button-tertiary-danger-inverse-content-active);
894
- }
895
- .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:active.cre8-c-danger-button--loading {
896
- --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-active);
897
- }
898
- .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:disabled {
899
- outline: none;
900
- cursor: not-allowed;
901
- background-color: var(--cre8-color-button-tertiary-danger-inverse-bg-disabled);
902
- border-color: var(--cre8-color-button-tertiary-danger-inverse-border-disabled);
903
- color: var(--cre8-color-button-tertiary-danger-inverse-content-disabled);
904
- }
905
- .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text {
906
- border-radius: var(--cre8-border-radius-button) var(--cre8-border-radius-none) var(--cre8-border-radius-none) var(--cre8-border-radius-button);
907
- border-color: var(--cre8-color-button-secondary-danger-border);
908
- border-width: var(--cre8-border-width-button-default);
909
- color: var(--cre8-color-button-secondary-danger-content);
910
- }
911
- .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text:active, .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text:focus-visible {
912
- outline: none;
913
- }
914
- .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text.cre8-c-danger-button--lg {
915
- padding: var(--cre8-button-padding-vertical-large) var(--cre8-button-padding-horizontal-large);
916
- }
917
- .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text.cre8-c-danger-button--sm {
918
- padding: var(--cre8-button-padding-vertical-small) var(--cre8-button-padding-horizontal-small);
919
- }
920
- .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret {
921
- padding: var(--cre8-button-padding-vertical-medium);
922
- border-radius: var(--cre8-border-radius-none) var(--cre8-border-radius-button) var(--cre8-border-radius-button) var(--cre8-border-radius-none);
923
- height: 100%;
924
- border-left: none !important;
925
- border-collapse: collapse;
926
- background: var(--cre8-color-button-secondary-danger-bg);
927
- border-color: var(--cre8-color-button-secondary-danger-border);
928
- border-width: var(--cre8-border-width-button-default);
929
- color: var(--cre8-color-button-secondary-danger-content);
930
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content);
931
- }
932
- .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:hover, .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:focus {
933
- background: var(--cre8-color-button-secondary-danger-bg-hover);
934
- border-color: var(--cre8-color-button-secondary-danger-border-hover);
935
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-hover);
936
- outline: none;
937
- border-left: none;
938
- border-collapse: collapse;
939
- }
940
- .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:active, .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:focus-visible {
941
- background: var(--cre8-color-button-secondary-danger-bg-active);
942
- border-color: var(--cre8-color-button-secondary-danger-border-active);
943
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);
944
- outline: none;
945
- border-left: none;
946
- border-collapse: collapse;
947
- }
948
-
949
- .cre8-c-danger-button--lg {
950
- padding: var(--cre8-button-padding-vertical-large);
951
- }
952
-
953
- .cre8-c-danger-button--sm {
954
- padding: var(--cre8-button-padding-vertical-small);
955
- }
956
-
957
- .cre8-c-danger-button--icon-only {
958
- padding: var(--cre8-button-padding-vertical-small);
959
- color: var(--cre8-icon-fill, currentColor);
960
- }
961
-
962
- /**
963
-  * Full-width button
964
-  */
965
- .cre8-c-danger-button--full-width {
966
- width: 100%;
967
- display: flex;
968
- }
969
-
970
- /**
971
- * Small button
972
- */
973
- .cre8-c-danger-button--sm {
974
- font-family: var(--cre8-typography-label-small-font-family);
975
- font-size: var(--cre8-typography-label-small-font-size);
976
- font-weight: var(--cre8-typography-label-small-font-weight);
977
- line-height: var(--cre8-typography-label-small-line-height);
978
- text-decoration: var(--cre8-typography-label-small-text-decoration);
979
- text-transform: var(--cre8-typography-label-small-text-transform);
980
- padding-top: var(--cre8-button-padding-vertical-small);
981
- padding-right: var(--cre8-button-padding-horizontal-small);
982
- padding-bottom: var(--cre8-button-padding-vertical-small);
983
- padding-left: var(--cre8-button-padding-horizontal-small);
984
- }
985
-
986
- /**
987
- * Large button
988
- */
989
- .cre8-c-danger-button--lg {
990
- font-family: var(--cre8-typography-label-large-font-family);
991
- font-size: var(--cre8-typography-label-large-font-size);
992
- font-weight: var(--cre8-typography-label-large-font-weight);
993
- line-height: var(--cre8-typography-label-large-line-height);
994
- text-decoration: var(--cre8-typography-label-large-text-decoration);
995
- text-transform: var(--cre8-typography-label-large-text-transform);
996
- padding-top: var(--cre8-button-padding-vertical-large);
997
- padding-right: var(--cre8-button-padding-horizontal-large);
998
- padding-bottom: var(--cre8-button-padding-vertical-large);
999
- padding-left: var(--cre8-button-padding-horizontal-large);
1000
- }
1001
-
1002
- /**
1003
- * Icon within small button
1004
- */
1005
- .cre8-c-danger-button--sm cre8-icon {
1006
- --cre8-icon-height: var(--cre8-icon-size-small);
1007
- --cre8-icon-width: var(--cre8-icon-size-small);
1008
- /**
1009
- * Button text directly after button icon within small button
1010
- */
1011
- }
1012
-
1013
- /**
1014
- * Icon within large button
1015
- */
1016
- .cre8-c-danger-button--lg cre8-icon {
1017
- --cre8-icon-height: var(--cre8-icon-size-large);
1018
- --cre8-icon-width: var(--cre8-icon-size-large);
1019
- }
1020
-
1021
- ::slotted(*) {
1022
- margin-right: 0;
1023
- }
1024
-
1025
- /**
1026
- * Button icon directly before button text
1027
- */
1028
- cre8-icon + .cre8-c-danger-button__text:not(.cre8-u-is-vishidden) {
1029
- margin-left: 0.5rem;
1030
- display: inline-flex;
1031
- }
1032
-
1033
- /**
1034
- * Button icon directly after button text
1035
- */
1036
- .cre8-c-danger-button__text:not(.cre8-u-is-vishidden) + cre8-icon {
1037
- margin-left: 0.5rem;
1038
- display: inline-flex;
1039
- }
1040
-
1041
- /**
1042
- * Button icon only
1043
- */
1044
- .cre8-c-danger-button:has(.cre8-c-danger-button__text.cre8-u-is-vishidden) + cre8-icon {
1045
- border-radius: var(--cre8-border-radius-button);
1046
- }
1047
-
1048
- .cre8-c-danger-button__text.cre8-u-is-vishidden + cre8-icon {
1049
- margin-left: 0px;
1050
- margin-right: 0px;
1051
- display: flex;
1052
- }
1053
-
1054
- .cre8-c-danger-button__text.cre8-u-is-vishidden {
1055
- border: 0;
1056
- clip: rect(0 0 0 0);
1057
- height: 1px;
1058
- margin: -1px;
1059
- overflow: hidden;
1060
- padding: 0;
1061
- position: absolute;
1062
- width: 1px;
1063
- }
1064
-
1065
- .cre8-c-danger-button--primary.cre8-c-danger-button--loading {
1066
- --cre8-icon-fill: var(--cre8-color-content-knockout);
1067
- }
1068
-
1069
- .cre8-c-danger-button--secondary.cre8-c-danger-button--loading,
1070
- .cre8-c-danger-button--tertiary.cre8-c-danger-button--loading {
1071
- --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);
1072
- }
1073
-
1074
- /**
1075
- * Aria live span
1076
- */
1077
- .cre8-u-is-vishidden {
1078
- --cre8-icon-height: 0px;
1079
- --cre8-icon-width: 0px;
1080
- max-width: fit-content;
1081
- min-width: 0px;
1082
- width: auto;
1083
- height: auto;
1084
- max-height: fit-content;
1085
- min-width: 0px;
1086
- border: 0;
1087
- clip: rect(0 0 0 0);
1088
- height: 1px;
1089
- margin: -1px;
1090
- overflow: hidden;
1091
- padding: 0;
1092
- position: absolute;
1093
- width: 1px;
1094
- }
1095
-
1096
- cre8-icon.cre8-u-is-vishidden {
1097
- border: 0;
1098
- clip: rect(0 0 0 0);
1099
- height: 1px;
1100
- margin: -1px;
1101
- overflow: hidden;
1102
- padding: 0;
1103
- position: absolute;
1104
- width: 1px;
1105
- }
1106
-
1107
- cre8-icon {
1108
- display: flex;
1109
- align-items: center;
1110
- justify-content: center;
1111
- }
1112
-
1113
- span.cre8-c-danger-button__icon {
1114
- margin-left: 0.5rem;
1115
- max-width: fit-content;
1116
- min-width: 0px;
1117
- width: auto;
1118
- height: auto;
1119
- max-height: fit-content;
1120
- min-width: 0px;
1121
- }`;
1122
- var y = Object.defineProperty, e = (g, o, u, f) => {
1123
- for (var c = void 0, d = g.length - 1, b; d >= 0; d--)
1124
- (b = g[d]) && (c = b(o, u, c) || c);
1125
- return c && y(o, u, c), c;
1126
- };
1127
- const l = class l extends v {
1128
- constructor() {
1129
- super(...arguments), this.text = "Button", this.variant = "primary", this.type = "button", this.iconRotateDegree = 0, this.iconPosition = void 0, this.ariaLive = "assertive";
1130
- }
1131
- formSubmit() {
1132
- const o = this._internals.form;
1133
- o && o.requestSubmit();
1134
- }
1135
- formReset() {
1136
- const o = this._internals.form;
1137
- o && o.reset();
1138
- }
1139
- renderDangerButtonLink(o) {
1140
- return n`
136
+ renderDangerButtonLink(componentClassName) {
137
+ return html `
1141
138
  <a
1142
- href="${a(this.href)}"
1143
- class="${o}"
1144
- rel="${a(this.rel)}"
1145
- target="${a(this.target)}"
139
+ href="${ifDefined(this.href)}"
140
+ class="${componentClassName}"
141
+ rel="${ifDefined(this.rel)}"
142
+ target="${ifDefined(this.target)}"
1146
143
  >
1147
- ${this.iconPosition === "before" ? n`<cre8-icon width="16" height="16" aria-hidden="true" svg="${a(this.svg)}">
1148
- </cre8-icon>` : i}
144
+ ${this.iconPosition === 'before'
145
+ ? html `<cre8-icon width="16" height="16" aria-hidden="true" svg="${ifDefined(this.svg)}">
146
+ </cre8-icon>`
147
+ : nothing}
1149
148
  <span
1150
- class="${this.hideText ? "cre8-u-is-vishidden cre8-c-danger-button__text" : "cre8-c-danger-button__text"}"
149
+ class="${this.hideText ? 'cre8-u-is-vishidden cre8-c-danger-button__text' : 'cre8-c-danger-button__text'}"
1151
150
  >
1152
151
  ${this.text}
1153
152
  </span>
1154
- ${this.iconPosition === "after" ? n`<cre8-icon width="16" height="16" aria-hidden="true" svg="${a(this.svg)}">
1155
- </cre8-icon> ` : i}
153
+ ${this.iconPosition === 'after'
154
+ ? html `<cre8-icon width="16" height="16" aria-hidden="true" svg="${ifDefined(this.svg)}">
155
+ </cre8-icon> `
156
+ : nothing}
1156
157
  </a>
1157
158
  `;
1158
- }
1159
- renderDangerButtonIconography() {
1160
- return n`
159
+ }
160
+ renderDangerButtonIconography() {
161
+ return html `
1161
162
  <cre8-icon width="16" height="16" aria-hidden="true" svg="${this.svg}"></cre8-icon>
1162
163
  `;
1163
- }
1164
- renderDangerButtonLoading() {
1165
- return n`
164
+ }
165
+ renderDangerButtonLoading() {
166
+ return html `
1166
167
  <span class="cre8-c-danger-button__icon" aria-live="${this.ariaLive}" role="alert">
1167
- <span class="cre8-u-is-vishidden">${this.loadingComplete ? "Loading Complete" : "Loading"}</span>
1168
- ${this.loadingComplete ? i : n`
168
+ <span class="cre8-u-is-vishidden">${this.loadingComplete ? 'Loading Complete' : 'Loading'}</span>
169
+ ${!this.loadingComplete
170
+ ? html `
1169
171
  <cre8-loading-spinner
1170
172
  class="cre8-c-danger-button__loading-icon"
1171
173
  inverted size="small"
1172
174
  aria-hidden="true"
1173
- ></cre8-loading-spinner>`}
175
+ ></cre8-loading-spinner>`
176
+ : nothing}
1174
177
  </span>`;
1175
- }
1176
- render() {
1177
- const o = s("cre8-c-danger-button", {
1178
- "cre8-c-danger-button--primary": this.variant === "primary",
1179
- "cre8-c-danger-button--secondary": this.variant === "secondary",
1180
- "cre8-c-danger-button--tertiary": this.variant === "tertiary",
1181
- "cre8-c-danger-button--full-width": this.fullWidth === !0,
1182
- "cre8-c-danger-button--sm": this.size === "sm",
1183
- "cre8-c-danger-button--lg": this.size === "lg",
1184
- "cre8-c-danger-button--icon-only": this.hideText,
1185
- "cre8-c-danger-button--loading": this.loading,
1186
- "cre8-c-danger-button--inverted": this.inverted
1187
- });
1188
- return this.hideText && (this.iconPosition = "after"), this.href ? n`${this.renderDangerButtonLink(o)}` : n`
178
+ }
179
+ render() {
180
+ const componentClassName = classnames('cre8-c-danger-button', {
181
+ 'cre8-c-danger-button--primary': this.variant === 'primary',
182
+ 'cre8-c-danger-button--secondary': this.variant === 'secondary',
183
+ 'cre8-c-danger-button--tertiary': this.variant === 'tertiary',
184
+ 'cre8-c-danger-button--full-width': this.fullWidth === true,
185
+ 'cre8-c-danger-button--sm': this.size === 'sm',
186
+ 'cre8-c-danger-button--lg': this.size === 'lg',
187
+ 'cre8-c-danger-button--icon-only': this.hideText,
188
+ 'cre8-c-danger-button--loading': this.loading,
189
+ 'cre8-c-danger-button--inverted': this.inverted,
190
+ });
191
+ if (this.hideText) {
192
+ this.iconPosition = 'after';
193
+ }
194
+ if (this.href) {
195
+ return html `${this.renderDangerButtonLink(componentClassName)}`;
196
+ }
197
+ return html `
1189
198
  <button
1190
- class="${o}"
199
+ class="${componentClassName}"
1191
200
  part="button"
1192
- aria-disabled=${a(this.loading)}
201
+ aria-disabled=${ifDefined(this.loading)}
1193
202
  ?disabled=${this.disabled}
1194
203
  @click="${this._buttonClick}"
1195
- aria-expanded=${a(this.buttonAriaExpanded)}
204
+ aria-expanded=${ifDefined(this.buttonAriaExpanded)}
1196
205
  type=${this.type}
1197
206
  >
1198
- ${this.iconPosition === "before" && this.svg ? this.renderDangerButtonIconography() : i}
207
+ ${this.iconPosition === 'before' && this.svg
208
+ ? this.renderDangerButtonIconography() : nothing}
1199
209
  <span
1200
- class="${this.hideText ? "cre8-u-is-vishidden cre8-c-danger-button__text" : "cre8-c-danger-button__text"}"
210
+ class="${this.hideText ? 'cre8-u-is-vishidden cre8-c-danger-button__text' : 'cre8-c-danger-button__text'}"
1201
211
  >
1202
212
  ${this.text}
1203
213
  </span>
1204
- ${this.iconPosition === "after" && this.svg ? this.renderDangerButtonIconography() : i}
1205
- ${this.loading || this.loadingComplete ? this.renderDangerButtonLoading() : i}
214
+ ${this.iconPosition === 'after' && this.svg
215
+ ? this.renderDangerButtonIconography() : nothing}
216
+ ${this.loading || this.loadingComplete
217
+ ? this.renderDangerButtonLoading() : nothing}
1206
218
  </button>`;
1207
- }
1208
- _buttonClick(o) {
1209
- if (this.loading)
1210
- o.stopPropagation();
1211
- else
1212
- switch (this.type) {
1213
- case "submit":
1214
- this.formSubmit();
1215
- break;
1216
- case "reset":
1217
- this.formReset();
1218
- break;
1219
- }
1220
- }
1221
- };
1222
- l.styles = [h];
1223
- let r = l;
1224
- e([
1225
- t()
1226
- ], r.prototype, "text");
1227
- e([
1228
- t({ type: String })
1229
- ], r.prototype, "variant");
1230
- e([
1231
- t({ type: Boolean, reflect: !0 })
1232
- ], r.prototype, "disabled");
1233
- e([
1234
- t()
1235
- ], r.prototype, "href");
1236
- e([
1237
- t()
1238
- ], r.prototype, "target");
1239
- e([
1240
- t()
1241
- ], r.prototype, "type");
1242
- e([
1243
- t()
1244
- ], r.prototype, "rel");
1245
- e([
1246
- t()
1247
- ], r.prototype, "svg");
1248
- e([
1249
- t({ type: Number })
1250
- ], r.prototype, "iconRotateDegree");
1251
- e([
1252
- t()
1253
- ], r.prototype, "iconFlipDirection");
1254
- e([
1255
- t()
1256
- ], r.prototype, "iconPosition");
1257
- e([
1258
- t()
1259
- ], r.prototype, "size");
1260
- e([
1261
- t({ type: Boolean, reflect: !0 })
1262
- ], r.prototype, "hideText");
1263
- e([
1264
- t({ type: Boolean, reflect: !0 })
1265
- ], r.prototype, "fullWidth");
1266
- e([
1267
- t({ type: Boolean, reflect: !0 })
1268
- ], r.prototype, "loading");
1269
- e([
1270
- t({ type: Boolean, reflect: !0 })
1271
- ], r.prototype, "loadingComplete");
1272
- e([
1273
- t({ type: Boolean })
1274
- ], r.prototype, "inverted");
1275
- e([
1276
- t()
1277
- ], r.prototype, "ariaLive");
1278
- e([
1279
- t({ type: Boolean, reflect: !0 })
1280
- ], r.prototype, "buttonAriaExpanded");
1281
- e([
1282
- m("button")
1283
- ], r.prototype, "field");
1284
- customElements.get("cre8-danger-button") === void 0 && customElements.define("cre8-danger-button", r);
1285
- export {
1286
- r as Cre8DangerButton,
1287
- r as default
1288
- };
219
+ }
220
+ _buttonClick(e) {
221
+ if (this.loading) {
222
+ e.stopPropagation();
223
+ }
224
+ else {
225
+ switch (this.type) {
226
+ case 'submit':
227
+ this.formSubmit();
228
+ break;
229
+ case 'reset':
230
+ this.formReset();
231
+ break;
232
+ // no default
233
+ }
234
+ }
235
+ }
236
+ }
237
+ Cre8DangerButton.styles = [styles];
238
+ __decorate([
239
+ property()
240
+ ], Cre8DangerButton.prototype, "text", void 0);
241
+ __decorate([
242
+ property({ type: String })
243
+ ], Cre8DangerButton.prototype, "variant", void 0);
244
+ __decorate([
245
+ property({ type: Boolean, reflect: true })
246
+ ], Cre8DangerButton.prototype, "disabled", void 0);
247
+ __decorate([
248
+ property()
249
+ ], Cre8DangerButton.prototype, "href", void 0);
250
+ __decorate([
251
+ property()
252
+ ], Cre8DangerButton.prototype, "target", void 0);
253
+ __decorate([
254
+ property()
255
+ ], Cre8DangerButton.prototype, "type", void 0);
256
+ __decorate([
257
+ property()
258
+ ], Cre8DangerButton.prototype, "rel", void 0);
259
+ __decorate([
260
+ property()
261
+ ], Cre8DangerButton.prototype, "svg", void 0);
262
+ __decorate([
263
+ property({ type: Number })
264
+ ], Cre8DangerButton.prototype, "iconRotateDegree", void 0);
265
+ __decorate([
266
+ property()
267
+ ], Cre8DangerButton.prototype, "iconFlipDirection", void 0);
268
+ __decorate([
269
+ property()
270
+ ], Cre8DangerButton.prototype, "iconPosition", void 0);
271
+ __decorate([
272
+ property()
273
+ ], Cre8DangerButton.prototype, "size", void 0);
274
+ __decorate([
275
+ property({ type: Boolean, reflect: true })
276
+ ], Cre8DangerButton.prototype, "hideText", void 0);
277
+ __decorate([
278
+ property({ type: Boolean, reflect: true })
279
+ ], Cre8DangerButton.prototype, "fullWidth", void 0);
280
+ __decorate([
281
+ property({ type: Boolean, reflect: true })
282
+ ], Cre8DangerButton.prototype, "loading", void 0);
283
+ __decorate([
284
+ property({ type: Boolean, reflect: true })
285
+ ], Cre8DangerButton.prototype, "loadingComplete", void 0);
286
+ __decorate([
287
+ property({ type: Boolean })
288
+ ], Cre8DangerButton.prototype, "inverted", void 0);
289
+ __decorate([
290
+ property()
291
+ ], Cre8DangerButton.prototype, "ariaLive", void 0);
292
+ __decorate([
293
+ property({ type: Boolean, reflect: true })
294
+ ], Cre8DangerButton.prototype, "buttonAriaExpanded", void 0);
295
+ __decorate([
296
+ query('button')
297
+ ], Cre8DangerButton.prototype, "field", void 0);
298
+ if (customElements.get('cre8-danger-button') === undefined) {
299
+ customElements.define('cre8-danger-button', Cre8DangerButton);
300
+ }
301
+ export default Cre8DangerButton;
302
+ //# sourceMappingURL=danger-button.js.map