@tmorrow/cre8-wc 1.1.2 → 1.1.4

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 (666) hide show
  1. package/cdn/cre8-wc.esm.js +1 -1
  2. package/cdn/cre8-wc.esm.js.map +1 -1
  3. package/cdn/cre8-wc.min.js +1 -1
  4. package/cdn/cre8-wc.min.js.map +1 -1
  5. package/lib/cdn-entry.js +129 -0
  6. package/lib/cdn-entry.js.map +1 -0
  7. package/lib/components/accordion/accordion.js +58 -40
  8. package/lib/components/accordion/accordion.js.map +1 -0
  9. package/lib/components/accordion/accordion.styles.js +4 -0
  10. package/lib/components/accordion/accordion.styles.js.map +1 -0
  11. package/lib/components/accordion-item/accordion-item.js +187 -98
  12. package/lib/components/accordion-item/accordion-item.js.map +1 -0
  13. package/lib/components/accordion-item/accordion-item.styles.js +4 -0
  14. package/lib/components/accordion-item/accordion-item.styles.js.map +1 -0
  15. package/lib/components/alert/alert.js +146 -107
  16. package/lib/components/alert/alert.js.map +1 -0
  17. package/lib/components/alert/alert.styles.js +4 -0
  18. package/lib/components/alert/alert.styles.js.map +1 -0
  19. package/lib/components/badge/badge.js +73 -50
  20. package/lib/components/badge/badge.js.map +1 -0
  21. package/lib/components/badge/badge.styles.js +4 -0
  22. package/lib/components/badge/badge.styles.js.map +1 -0
  23. package/lib/components/band/band.js +34 -31
  24. package/lib/components/band/band.js.map +1 -0
  25. package/lib/components/band/band.styles.js +4 -0
  26. package/lib/components/band/band.styles.js.map +1 -0
  27. package/lib/components/breadcrumbs/breadcrumbs.js +52 -28
  28. package/lib/components/breadcrumbs/breadcrumbs.js.map +1 -0
  29. package/lib/components/breadcrumbs/breadcrumbs.styles.js +4 -0
  30. package/lib/components/breadcrumbs/breadcrumbs.styles.js.map +1 -0
  31. package/lib/components/breadcrumbs-item/breadcrumbs-item.js +28 -27
  32. package/lib/components/breadcrumbs-item/breadcrumbs-item.js.map +1 -0
  33. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js +4 -0
  34. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js.map +1 -0
  35. package/lib/components/button/button.js +297 -1040
  36. package/lib/components/button/button.js.map +1 -0
  37. package/lib/components/button/button.styles.js +885 -0
  38. package/lib/components/button/button.styles.js.map +1 -0
  39. package/lib/components/button-group/button-group.js +30 -27
  40. package/lib/components/button-group/button-group.js.map +1 -0
  41. package/lib/components/button-group/button-group.styles.js +4 -0
  42. package/lib/components/button-group/button-group.styles.js.map +1 -0
  43. package/lib/components/card/card.js +57 -35
  44. package/lib/components/card/card.js.map +1 -0
  45. package/lib/components/card/card.styles.js +4 -0
  46. package/lib/components/card/card.styles.js.map +1 -0
  47. package/lib/components/chart/chart.js +528 -354
  48. package/lib/components/chart/chart.js.map +1 -0
  49. package/lib/components/chart/chart.styles.js +4 -0
  50. package/lib/components/chart/chart.styles.js.map +1 -0
  51. package/lib/components/checkbox-field/checkbox-field.js +66 -53
  52. package/lib/components/checkbox-field/checkbox-field.js.map +1 -0
  53. package/lib/components/checkbox-field/checkbox-field.styles.js +4 -0
  54. package/lib/components/checkbox-field/checkbox-field.styles.js.map +1 -0
  55. package/lib/components/checkbox-field-item/checkbox-field-item.js +252 -183
  56. package/lib/components/checkbox-field-item/checkbox-field-item.js.map +1 -0
  57. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js +4 -0
  58. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -0
  59. package/lib/components/contexts/form-internals-context.js +9 -0
  60. package/lib/components/contexts/form-internals-context.js.map +1 -0
  61. package/lib/components/cre8-element.js +57 -56
  62. package/lib/components/cre8-element.js.map +1 -0
  63. package/lib/components/cre8-form-element.js +212 -244
  64. package/lib/components/cre8-form-element.js.map +1 -0
  65. package/lib/components/danger-button/danger-button.js +274 -147
  66. package/lib/components/danger-button/danger-button.js.map +1 -0
  67. package/lib/components/danger-button/danger-button.styles.js +4 -0
  68. package/lib/components/danger-button/danger-button.styles.js.map +1 -0
  69. package/lib/components/date-picker/calendar/calendar.js +465 -0
  70. package/lib/components/date-picker/calendar/calendar.js.map +1 -0
  71. package/lib/components/date-picker/calendar/calendar.styles.js +4 -0
  72. package/lib/components/date-picker/calendar/calendar.styles.js.map +1 -0
  73. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js +76 -0
  74. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js.map +1 -0
  75. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js +4 -0
  76. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js.map +1 -0
  77. package/lib/components/date-picker/calendar-navigation/calendar-navigation.js +110 -0
  78. package/lib/components/date-picker/calendar-navigation/calendar-navigation.js.map +1 -0
  79. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js +4 -0
  80. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js.map +1 -0
  81. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js +116 -0
  82. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js.map +1 -0
  83. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js +4 -0
  84. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js.map +1 -0
  85. package/lib/components/date-picker/date-picker.js +91 -784
  86. package/lib/components/date-picker/date-picker.js.map +1 -0
  87. package/lib/components/date-picker/date-picker.styles.js +4 -0
  88. package/lib/components/date-picker/date-picker.styles.js.map +1 -0
  89. package/lib/components/divider/divider.js +45 -35
  90. package/lib/components/divider/divider.js.map +1 -0
  91. package/lib/components/divider/divider.styles.js +4 -0
  92. package/lib/components/divider/divider.styles.js.map +1 -0
  93. package/lib/components/dropdown/dropdown.js +97 -63
  94. package/lib/components/dropdown/dropdown.js.map +1 -0
  95. package/lib/components/dropdown/dropdown.styles.js +4 -0
  96. package/lib/components/dropdown/dropdown.styles.js.map +1 -0
  97. package/lib/components/dropdown-item/dropdown-item.js +38 -31
  98. package/lib/components/dropdown-item/dropdown-item.js.map +1 -0
  99. package/lib/components/dropdown-item/dropdown-item.styles.js +4 -0
  100. package/lib/components/dropdown-item/dropdown-item.styles.js.map +1 -0
  101. package/lib/components/feature/feature.js +40 -35
  102. package/lib/components/feature/feature.js.map +1 -0
  103. package/lib/components/feature/feature.styles.js +4 -0
  104. package/lib/components/feature/feature.styles.js.map +1 -0
  105. package/lib/components/field/field.js +218 -153
  106. package/lib/components/field/field.js.map +1 -0
  107. package/lib/components/field/field.styles.js +4 -0
  108. package/lib/components/field/field.styles.js.map +1 -0
  109. package/lib/components/field-note/field-note.js +58 -45
  110. package/lib/components/field-note/field-note.js.map +1 -0
  111. package/lib/components/field-note/field-note.styles.js +4 -0
  112. package/lib/components/field-note/field-note.styles.js.map +1 -0
  113. package/lib/components/footer/footer.js +25 -18
  114. package/lib/components/footer/footer.js.map +1 -0
  115. package/lib/components/footer/footer.styles.js +4 -0
  116. package/lib/components/footer/footer.styles.js.map +1 -0
  117. package/lib/components/global-nav/global-nav.js +44 -37
  118. package/lib/components/global-nav/global-nav.js.map +1 -0
  119. package/lib/components/global-nav/global-nav.styles.js +4 -0
  120. package/lib/components/global-nav/global-nav.styles.js.map +1 -0
  121. package/lib/components/global-nav-item/global-nav-item.js +149 -112
  122. package/lib/components/global-nav-item/global-nav-item.js.map +1 -0
  123. package/lib/components/global-nav-item/global-nav-item.styles.js +4 -0
  124. package/lib/components/global-nav-item/global-nav-item.styles.js.map +1 -0
  125. package/lib/components/grid/grid.js +48 -45
  126. package/lib/components/grid/grid.js.map +1 -0
  127. package/lib/components/grid/grid.styles.js +4 -0
  128. package/lib/components/grid/grid.styles.js.map +1 -0
  129. package/lib/components/grid-item/grid-item.js +19 -16
  130. package/lib/components/grid-item/grid-item.js.map +1 -0
  131. package/lib/components/grid-item/grid-item.styles.js +4 -0
  132. package/lib/components/grid-item/grid-item.styles.js.map +1 -0
  133. package/lib/components/header/header.js +34 -29
  134. package/lib/components/header/header.js.map +1 -0
  135. package/lib/components/header/header.styles.js +4 -0
  136. package/lib/components/header/header.styles.js.map +1 -0
  137. package/lib/components/heading/heading.js +113 -76
  138. package/lib/components/heading/heading.js.map +1 -0
  139. package/lib/components/heading/heading.styles.js +4 -0
  140. package/lib/components/heading/heading.styles.js.map +1 -0
  141. package/lib/components/hero/hero.js +43 -40
  142. package/lib/components/hero/hero.js.map +1 -0
  143. package/lib/components/hero/hero.styles.js +4 -0
  144. package/lib/components/hero/hero.styles.js.map +1 -0
  145. package/lib/components/icon/icon.js +232 -9
  146. package/lib/components/icon/icon.js.map +1 -0
  147. package/lib/components/icon/icon.styles.js +4 -0
  148. package/lib/components/icon/icon.styles.js.map +1 -0
  149. package/lib/components/inline-alert/inline-alert.js +114 -87
  150. package/lib/components/inline-alert/inline-alert.js.map +1 -0
  151. package/lib/components/inline-alert/inline-alert.styles.js +4 -0
  152. package/lib/components/inline-alert/inline-alert.styles.js.map +1 -0
  153. package/lib/components/layout/layout.js +30 -27
  154. package/lib/components/layout/layout.js.map +1 -0
  155. package/lib/components/layout/layout.styles.js +4 -0
  156. package/lib/components/layout/layout.styles.js.map +1 -0
  157. package/lib/components/layout-container/layout-container.js +30 -27
  158. package/lib/components/layout-container/layout-container.js.map +1 -0
  159. package/lib/components/layout-container/layout-container.styles.js +4 -0
  160. package/lib/components/layout-container/layout-container.styles.js.map +1 -0
  161. package/lib/components/layout-section/layout-section.js +41 -33
  162. package/lib/components/layout-section/layout-section.js.map +1 -0
  163. package/lib/components/layout-section/layout-section.styles.js +4 -0
  164. package/lib/components/layout-section/layout-section.styles.js.map +1 -0
  165. package/lib/components/linelength-container/linelength-container.js +19 -16
  166. package/lib/components/linelength-container/linelength-container.js.map +1 -0
  167. package/lib/components/linelength-container/linelength-container.styles.js +4 -0
  168. package/lib/components/linelength-container/linelength-container.styles.js.map +1 -0
  169. package/lib/components/link/link.js +125 -87
  170. package/lib/components/link/link.js.map +1 -0
  171. package/lib/components/link/link.styles.js +4 -0
  172. package/lib/components/link/link.styles.js.map +1 -0
  173. package/lib/components/link-list/link-list.js +48 -45
  174. package/lib/components/link-list/link-list.js.map +1 -0
  175. package/lib/components/link-list/link-list.styles.js +4 -0
  176. package/lib/components/link-list/link-list.styles.js.map +1 -0
  177. package/lib/components/link-list-item/link-list-item.js +40 -37
  178. package/lib/components/link-list-item/link-list-item.js.map +1 -0
  179. package/lib/components/link-list-item/link-list-item.styles.js +4 -0
  180. package/lib/components/link-list-item/link-list-item.styles.js.map +1 -0
  181. package/lib/components/list/list.js +35 -32
  182. package/lib/components/list/list.js.map +1 -0
  183. package/lib/components/list/list.styles.js +4 -0
  184. package/lib/components/list/list.styles.js.map +1 -0
  185. package/lib/components/list-item/list-item.js +25 -21
  186. package/lib/components/list-item/list-item.js.map +1 -0
  187. package/lib/components/list-item/list-item.styles.js +4 -0
  188. package/lib/components/list-item/list-item.styles.js.map +1 -0
  189. package/lib/components/loading-spinner/loading-spinner.js +126 -71
  190. package/lib/components/loading-spinner/loading-spinner.js.map +1 -0
  191. package/lib/components/loading-spinner/loading-spinner.styles.js +4 -0
  192. package/lib/components/loading-spinner/loading-spinner.styles.js.map +1 -0
  193. package/lib/components/logo/logo.js +28 -25
  194. package/lib/components/logo/logo.js.map +1 -0
  195. package/lib/components/logo/logo.styles.js +4 -0
  196. package/lib/components/logo/logo.styles.js.map +1 -0
  197. package/lib/components/main/main.js +29 -26
  198. package/lib/components/main/main.js.map +1 -0
  199. package/lib/components/main/main.styles.js +4 -0
  200. package/lib/components/main/main.styles.js.map +1 -0
  201. package/lib/components/modal/modal.js +174 -125
  202. package/lib/components/modal/modal.js.map +1 -0
  203. package/lib/components/modal/modal.styles.js +4 -0
  204. package/lib/components/modal/modal.styles.js.map +1 -0
  205. package/lib/components/multi-select/multi-select.js +300 -211
  206. package/lib/components/multi-select/multi-select.js.map +1 -0
  207. package/lib/components/multi-select/multi-select.styles.js +4 -0
  208. package/lib/components/multi-select/multi-select.styles.js.map +1 -0
  209. package/lib/components/nav-container/nav-container.js +19 -16
  210. package/lib/components/nav-container/nav-container.js.map +1 -0
  211. package/lib/components/nav-container/nav-container.styles.js +4 -0
  212. package/lib/components/nav-container/nav-container.styles.js.map +1 -0
  213. package/lib/components/page-header/page-header.js +36 -29
  214. package/lib/components/page-header/page-header.js.map +1 -0
  215. package/lib/components/page-header/page-header.styles.js +4 -0
  216. package/lib/components/page-header/page-header.styles.js.map +1 -0
  217. package/lib/components/pagination/page-counter/page-counter.js +67 -0
  218. package/lib/components/pagination/page-counter/page-counter.js.map +1 -0
  219. package/lib/components/pagination/page-counter/page-counter.styles.js +4 -0
  220. package/lib/components/pagination/page-counter/page-counter.styles.js.map +1 -0
  221. package/lib/components/pagination/pagination.js +282 -237
  222. package/lib/components/pagination/pagination.js.map +1 -0
  223. package/lib/components/pagination/pagination.styles.js +4 -0
  224. package/lib/components/pagination/pagination.styles.js.map +1 -0
  225. package/lib/components/percent-bar/percent-bar.js +56 -48
  226. package/lib/components/percent-bar/percent-bar.js.map +1 -0
  227. package/lib/components/percent-bar/percent-bar.styles.js +4 -0
  228. package/lib/components/percent-bar/percent-bar.styles.js.map +1 -0
  229. package/lib/components/popover/popover.js +304 -179
  230. package/lib/components/popover/popover.js.map +1 -0
  231. package/lib/components/popover/popover.styles.js +4 -0
  232. package/lib/components/popover/popover.styles.js.map +1 -0
  233. package/lib/components/primary-nav/primary-nav.js +44 -37
  234. package/lib/components/primary-nav/primary-nav.js.map +1 -0
  235. package/lib/components/primary-nav/primary-nav.styles.js +4 -0
  236. package/lib/components/primary-nav/primary-nav.styles.js.map +1 -0
  237. package/lib/components/primary-nav-item/primary-nav-item.js +151 -113
  238. package/lib/components/primary-nav-item/primary-nav-item.js.map +1 -0
  239. package/lib/components/primary-nav-item/primary-nav-item.styles.js +4 -0
  240. package/lib/components/primary-nav-item/primary-nav-item.styles.js.map +1 -0
  241. package/lib/components/progress-meter/progress-meter.js +74 -57
  242. package/lib/components/progress-meter/progress-meter.js.map +1 -0
  243. package/lib/components/progress-meter/progress-meter.styles.js +4 -0
  244. package/lib/components/progress-meter/progress-meter.styles.js.map +1 -0
  245. package/lib/components/progress-steps/progress-steps.js +19 -0
  246. package/lib/components/progress-steps/progress-steps.js.map +1 -0
  247. package/lib/components/progress-steps/progress-steps.styles.js +4 -0
  248. package/lib/components/progress-steps/progress-steps.styles.js.map +1 -0
  249. package/lib/components/progress-steps-item/progress-steps-item.js +52 -40
  250. package/lib/components/progress-steps-item/progress-steps-item.js.map +1 -0
  251. package/lib/components/progress-steps-item/progress-steps-item.styles.js +4 -0
  252. package/lib/components/progress-steps-item/progress-steps-item.styles.js.map +1 -0
  253. package/lib/components/radio-field/radio-field.js +59 -49
  254. package/lib/components/radio-field/radio-field.js.map +1 -0
  255. package/lib/components/radio-field/radio-field.styles.js +4 -0
  256. package/lib/components/radio-field/radio-field.styles.js.map +1 -0
  257. package/lib/components/radio-field-item/radio-field-item.js +222 -179
  258. package/lib/components/radio-field-item/radio-field-item.js.map +1 -0
  259. package/lib/components/radio-field-item/radio-field-item.styles.js +4 -0
  260. package/lib/components/radio-field-item/radio-field-item.styles.js.map +1 -0
  261. package/lib/components/remove-tag/remove-tag.js +89 -60
  262. package/lib/components/remove-tag/remove-tag.js.map +1 -0
  263. package/lib/components/remove-tag/remove-tag.styles.js +4 -0
  264. package/lib/components/remove-tag/remove-tag.styles.js.map +1 -0
  265. package/lib/components/section/section.js +46 -27
  266. package/lib/components/section/section.js.map +1 -0
  267. package/lib/components/section/section.styles.js +4 -0
  268. package/lib/components/section/section.styles.js.map +1 -0
  269. package/lib/components/select/select.js +243 -158
  270. package/lib/components/select/select.js.map +1 -0
  271. package/lib/components/select/select.styles.js +4 -0
  272. package/lib/components/select/select.styles.js.map +1 -0
  273. package/lib/components/select-tile/select-tile-checkbox-controller.js +60 -0
  274. package/lib/components/select-tile/select-tile-checkbox-controller.js.map +1 -0
  275. package/lib/components/select-tile/select-tile-radio-controller.js +167 -0
  276. package/lib/components/select-tile/select-tile-radio-controller.js.map +1 -0
  277. package/lib/components/select-tile/select-tile.js +228 -223
  278. package/lib/components/select-tile/select-tile.js.map +1 -0
  279. package/lib/components/select-tile/select-tile.styles.js +4 -0
  280. package/lib/components/select-tile/select-tile.styles.js.map +1 -0
  281. package/lib/components/select-tile-list/select-tile-list.js +76 -62
  282. package/lib/components/select-tile-list/select-tile-list.js.map +1 -0
  283. package/lib/components/select-tile-list/select-tile-list.styles.js +4 -0
  284. package/lib/components/select-tile-list/select-tile-list.styles.js.map +1 -0
  285. package/lib/components/skeleton-loader/skeleton-loader.js +68 -39
  286. package/lib/components/skeleton-loader/skeleton-loader.js.map +1 -0
  287. package/lib/components/skeleton-loader/skeleton-loader.styles.js +4 -0
  288. package/lib/components/skeleton-loader/skeleton-loader.styles.js.map +1 -0
  289. package/lib/components/split-button/split-button.js +51 -46
  290. package/lib/components/split-button/split-button.js.map +1 -0
  291. package/lib/components/split-button/split-button.styles.js +4 -0
  292. package/lib/components/split-button/split-button.styles.js.map +1 -0
  293. package/lib/components/submenu/submenu.js +19 -16
  294. package/lib/components/submenu/submenu.js.map +1 -0
  295. package/lib/components/submenu/submenu.styles.js +4 -0
  296. package/lib/components/submenu/submenu.styles.js.map +1 -0
  297. package/lib/components/submenu-item/submenu-item.js +32 -26
  298. package/lib/components/submenu-item/submenu-item.js.map +1 -0
  299. package/lib/components/submenu-item/submenu-item.styles.js +4 -0
  300. package/lib/components/submenu-item/submenu-item.styles.js.map +1 -0
  301. package/lib/components/tab/tab.js +74 -63
  302. package/lib/components/tab/tab.js.map +1 -0
  303. package/lib/components/tab/tab.styles.js +4 -0
  304. package/lib/components/tab/tab.styles.js.map +1 -0
  305. package/lib/components/tab-panel/tab-panel.js +49 -43
  306. package/lib/components/tab-panel/tab-panel.js.map +1 -0
  307. package/lib/components/tab-panel/tab-panel.styles.js +4 -0
  308. package/lib/components/tab-panel/tab-panel.styles.js.map +1 -0
  309. package/lib/components/table/table.js +46 -41
  310. package/lib/components/table/table.js.map +1 -0
  311. package/lib/components/table/table.styles.js +4 -0
  312. package/lib/components/table/table.styles.js.map +1 -0
  313. package/lib/components/table-body/table-body.js +20 -17
  314. package/lib/components/table-body/table-body.js.map +1 -0
  315. package/lib/components/table-body/table-body.styles.js +4 -0
  316. package/lib/components/table-body/table-body.styles.js.map +1 -0
  317. package/lib/components/table-cell/table-cell.js +39 -36
  318. package/lib/components/table-cell/table-cell.js.map +1 -0
  319. package/lib/components/table-cell/table-cell.styles.js +4 -0
  320. package/lib/components/table-cell/table-cell.styles.js.map +1 -0
  321. package/lib/components/table-header/table-header.js +20 -17
  322. package/lib/components/table-header/table-header.js.map +1 -0
  323. package/lib/components/table-header/table-header.styles.js +4 -0
  324. package/lib/components/table-header/table-header.styles.js.map +1 -0
  325. package/lib/components/table-header-cell/table-header-cell.js +35 -32
  326. package/lib/components/table-header-cell/table-header-cell.js.map +1 -0
  327. package/lib/components/table-header-cell/table-header-cell.styles.js +4 -0
  328. package/lib/components/table-header-cell/table-header-cell.styles.js.map +1 -0
  329. package/lib/components/table-object/table-object.js +21 -18
  330. package/lib/components/table-object/table-object.js.map +1 -0
  331. package/lib/components/table-object/table-object.styles.js +4 -0
  332. package/lib/components/table-object/table-object.styles.js.map +1 -0
  333. package/lib/components/table-row/table-row.js +76 -55
  334. package/lib/components/table-row/table-row.js.map +1 -0
  335. package/lib/components/table-row/table-row.styles.js +4 -0
  336. package/lib/components/table-row/table-row.styles.js.map +1 -0
  337. package/lib/components/tabs/tabs.js +452 -303
  338. package/lib/components/tabs/tabs.js.map +1 -0
  339. package/lib/components/tabs/tabs.styles.js +4 -0
  340. package/lib/components/tabs/tabs.styles.js.map +1 -0
  341. package/lib/components/tag/tag.js +236 -167
  342. package/lib/components/tag/tag.js.map +1 -0
  343. package/lib/components/tag/tag.styles.js +4 -0
  344. package/lib/components/tag/tag.styles.js.map +1 -0
  345. package/lib/components/tag-list/tag-list.js +40 -35
  346. package/lib/components/tag-list/tag-list.js.map +1 -0
  347. package/lib/components/tag-list/tag-list.styles.js +4 -0
  348. package/lib/components/tag-list/tag-list.styles.js.map +1 -0
  349. package/lib/components/tertiary-nav/tertiary-nav.js +40 -33
  350. package/lib/components/tertiary-nav/tertiary-nav.js.map +1 -0
  351. package/lib/components/tertiary-nav/tertiary-nav.styles.js +4 -0
  352. package/lib/components/tertiary-nav/tertiary-nav.styles.js.map +1 -0
  353. package/lib/components/tertiary-nav-item/tertiary-nav-item.js +52 -43
  354. package/lib/components/tertiary-nav-item/tertiary-nav-item.js.map +1 -0
  355. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js +4 -0
  356. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js.map +1 -0
  357. package/lib/components/text-link/text-link.js +45 -41
  358. package/lib/components/text-link/text-link.js.map +1 -0
  359. package/lib/components/text-link/text-link.styles.js +4 -0
  360. package/lib/components/text-link/text-link.styles.js.map +1 -0
  361. package/lib/components/text-passage/text-passage-light-dom.js +145 -0
  362. package/lib/components/text-passage/text-passage-light-dom.js.map +1 -0
  363. package/lib/components/text-passage/text-passage-light-dom.styles.js +4 -0
  364. package/lib/components/text-passage/text-passage-light-dom.styles.js.map +1 -0
  365. package/lib/components/text-passage/text-passage.js +72 -44
  366. package/lib/components/text-passage/text-passage.js.map +1 -0
  367. package/lib/components/text-passage/text-passage.styles.js +4 -0
  368. package/lib/components/text-passage/text-passage.styles.js.map +1 -0
  369. package/lib/components/tooltip/tooltip.js +278 -173
  370. package/lib/components/tooltip/tooltip.js.map +1 -0
  371. package/lib/components/tooltip/tooltip.styles.js +4 -0
  372. package/lib/components/tooltip/tooltip.styles.js.map +1 -0
  373. package/lib/components/utility-nav/utility-nav.js +40 -33
  374. package/lib/components/utility-nav/utility-nav.js.map +1 -0
  375. package/lib/components/utility-nav/utility-nav.styles.js +4 -0
  376. package/lib/components/utility-nav/utility-nav.styles.js.map +1 -0
  377. package/lib/components/utility-nav-item/utility-nav-item.js +70 -49
  378. package/lib/components/utility-nav-item/utility-nav-item.js.map +1 -0
  379. package/lib/components/utility-nav-item/utility-nav-item.styles.js +4 -0
  380. package/lib/components/utility-nav-item/utility-nav-item.styles.js.map +1 -0
  381. package/lib/design-tokens/brands/blue/css/fonts.css +31 -0
  382. package/lib/design-tokens/brands/blue/css/tokens_blue.css +248 -0
  383. package/lib/design-tokens/brands/blue/css/tokens_blue.module.js +737 -0
  384. package/lib/design-tokens/brands/blue/css/tokens_blue.module.js.map +1 -0
  385. package/lib/design-tokens/brands/blue/css/tokens_brand.css +492 -0
  386. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js +756 -0
  387. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js.map +1 -0
  388. package/lib/design-tokens/brands/cre8/css/fonts.css +35 -0
  389. package/lib/design-tokens/brands/cre8/css/tokens_brand.css +494 -0
  390. package/lib/design-tokens/brands/cre8/css/tokens_cre8.css +767 -0
  391. package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js +771 -0
  392. package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js.map +1 -0
  393. package/lib/design-tokens/brands/cre8-a2ui/css/fonts.css +35 -0
  394. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +494 -0
  395. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.css +248 -0
  396. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js +772 -0
  397. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js.map +1 -0
  398. package/lib/design-tokens/brands/cre8-legacy/css/fonts.css +47 -0
  399. package/lib/design-tokens/brands/cre8-legacy/css/tokens_brand.css +464 -0
  400. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.css +0 -0
  401. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js +737 -0
  402. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js.map +1 -0
  403. package/lib/design-tokens/brands/femmecubator/css/fonts.css +35 -0
  404. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js +983 -0
  405. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js.map +1 -0
  406. package/lib/design-tokens/brands/legacy/css/fonts.css +26 -0
  407. package/lib/design-tokens/brands/legacy/css/tokens_brand.css +491 -0
  408. package/lib/design-tokens/brands/legacy/css/tokens_legacy.css +250 -0
  409. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js +737 -0
  410. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js.map +1 -0
  411. package/lib/design-tokens/brands/marketing/css/fonts.css +31 -0
  412. package/lib/design-tokens/brands/marketing/css/tokens_brand.css +502 -0
  413. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js +736 -0
  414. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js.map +1 -0
  415. package/lib/design-tokens/brands/minimalist/css/fonts.css +26 -0
  416. package/lib/design-tokens/brands/minimalist/css/tokens_brand.css +492 -0
  417. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.css +736 -0
  418. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js +737 -0
  419. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js.map +1 -0
  420. package/lib/design-tokens/brands/prisma/figma-tokens.css +339 -0
  421. package/lib/design-tokens/brands/prisma/tokens_prisma.module.js +771 -0
  422. package/lib/design-tokens/brands/prisma/tokens_prisma.module.js.map +1 -0
  423. package/lib/design-tokens/brands/starbucks/fonts.css +26 -0
  424. package/lib/design-tokens/brands/starbucks/tokens.module.js +552 -0
  425. package/lib/design-tokens/brands/starbucks/tokens.module.js.map +1 -0
  426. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js +776 -0
  427. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js.map +1 -0
  428. package/lib/design-tokens/brands/tmorrow/css/tokens_brand.css +104 -0
  429. package/lib/design-tokens/brands/tmorrow/css/tokens_tmorrow-frost.css +222 -0
  430. package/lib/design-tokens/brands/tmorrow/css/tokens_tmorrow-neon.css +218 -0
  431. package/lib/design-tokens/capitalone/fonts.css +26 -0
  432. package/lib/design-tokens/capitalone/overrides.css +33 -0
  433. package/lib/design-tokens/capitalone/tokens.module.css +532 -0
  434. package/lib/design-tokens/core/scss/abstracts/functions.css +0 -0
  435. package/lib/design-tokens/core/scss/theming/animation.css +1 -0
  436. package/lib/design-tokens/core/scss/theming/body.css +1 -0
  437. package/lib/design-tokens/core/scss/theming/breakpoints.css +0 -0
  438. package/lib/design-tokens/core/scss/theming/component.css +1 -0
  439. package/lib/design-tokens/core/scss/theming/display.css +1 -0
  440. package/lib/design-tokens/core/scss/theming/head.css +1 -0
  441. package/lib/design-tokens/core/scss/theming/head.module.js +6 -0
  442. package/lib/design-tokens/core/scss/theming/head.module.js.map +1 -0
  443. package/lib/design-tokens/core/scss/theming/spacing.css +1 -0
  444. package/lib/design-tokens/core/scss/theming/typography-usage.css +0 -0
  445. package/lib/design-tokens/core/scss/theming/variables.css +1 -0
  446. package/lib/design-tokens/core/scss/theming/visibility.css +1 -0
  447. package/lib/design-tokens/core/scss/utilities/animation.css +1 -0
  448. package/lib/design-tokens/core/scss/utilities/colors.css +1 -0
  449. package/lib/design-tokens/core/scss/utilities/display.css +1 -0
  450. package/lib/design-tokens/femmecubator/equity.css +142 -0
  451. package/lib/design-tokens/femmecubator/fonts.css +35 -0
  452. package/lib/design-tokens/femmecubator/tokens_brand.css +146 -0
  453. package/lib/design-tokens/femmecubator/tokens_femmecubator.module.css +247 -0
  454. package/lib/design-tokens/figma-tokens.css +0 -0
  455. package/lib/design-tokens/mcdonalds/tokens.module.css +58 -0
  456. package/lib/design-tokens/target/fonts.css +26 -0
  457. package/lib/design-tokens/target/tokens.module.css +738 -0
  458. package/lib/design-tokens/tokens_netflix.theme.js +806 -0
  459. package/lib/design-tokens/tokens_netflix.theme.js.map +1 -0
  460. package/lib/directives/if-truthy.js +24 -0
  461. package/lib/directives/if-truthy.js.map +1 -0
  462. package/lib/directives/spread.js +29 -0
  463. package/lib/directives/spread.js.map +1 -0
  464. package/lib/index.js +84 -168
  465. package/lib/index.js.map +1 -0
  466. package/lib/scripts/convert-scss-to-ts.js +25 -0
  467. package/lib/scripts/convert-scss-to-ts.js.map +1 -0
  468. package/lib/scripts/extract-tokens.js +120 -0
  469. package/lib/scripts/extract-tokens.js.map +1 -0
  470. package/lib/scripts/generate-react-wrappers.js +229 -0
  471. package/lib/scripts/generate-react-wrappers.js.map +1 -0
  472. package/lib/scripts/generateWesparkleThemes.js +52 -0
  473. package/lib/scripts/generateWesparkleThemes.js.map +1 -0
  474. package/lib/toBeAccessible.js +18 -0
  475. package/lib/toBeAccessible.js.map +1 -0
  476. package/lib/utilities/is-mobile.js +10 -0
  477. package/lib/utilities/is-mobile.js.map +1 -0
  478. package/lib/utilities/story-helpers.js +14 -0
  479. package/lib/utilities/story-helpers.js.map +1 -0
  480. package/lib/vite.config.cdn.js +85 -0
  481. package/lib/vite.config.cdn.js.map +1 -0
  482. package/lib/vite.config.js +156 -0
  483. package/lib/vite.config.js.map +1 -0
  484. package/package.json +8 -9
  485. package/lib/design-tokens/brands copy/blue/_base.scss +0 -142
  486. package/lib/design-tokens/brands copy/blue/badge.scss +0 -5
  487. package/lib/design-tokens/brands copy/blue/bg.scss +0 -35
  488. package/lib/design-tokens/brands copy/blue/border-style.scss +0 -5
  489. package/lib/design-tokens/brands copy/blue/border.scss +0 -21
  490. package/lib/design-tokens/brands copy/blue/borderRadius.scss +0 -15
  491. package/lib/design-tokens/brands copy/blue/borderWidth.scss +0 -11
  492. package/lib/design-tokens/brands copy/blue/breakpoint.scss +0 -9
  493. package/lib/design-tokens/brands copy/blue/button.scss +0 -225
  494. package/lib/design-tokens/brands copy/blue/content.scss +0 -29
  495. package/lib/design-tokens/brands copy/blue/css/tokens_blue.module.d.ts +0 -3
  496. package/lib/design-tokens/brands copy/blue/css/tokens_blue.module.d.ts.map +0 -1
  497. package/lib/design-tokens/brands copy/blue/desktop-menu.scss +0 -5
  498. package/lib/design-tokens/brands copy/blue/fontFamilies.scss +0 -5
  499. package/lib/design-tokens/brands copy/blue/fontSize.scss +0 -17
  500. package/lib/design-tokens/brands copy/blue/fontWeights.scss +0 -7
  501. package/lib/design-tokens/brands copy/blue/footer.scss +0 -9
  502. package/lib/design-tokens/brands copy/blue/header.scss +0 -81
  503. package/lib/design-tokens/brands copy/blue/icon-size.scss +0 -6
  504. package/lib/design-tokens/brands copy/blue/letterSpacing.scss +0 -9
  505. package/lib/design-tokens/brands copy/blue/lineHeights.scss +0 -15
  506. package/lib/design-tokens/brands copy/blue/link.scss +0 -4
  507. package/lib/design-tokens/brands copy/blue/paragraphIndent.scss +0 -4
  508. package/lib/design-tokens/brands copy/blue/paragraphSpacing.scss +0 -4
  509. package/lib/design-tokens/brands copy/blue/progress-meter.scss +0 -4
  510. package/lib/design-tokens/brands copy/blue/shadow.scss +0 -8
  511. package/lib/design-tokens/brands copy/blue/spacing.scss +0 -21
  512. package/lib/design-tokens/brands copy/blue/textCase.scss +0 -5
  513. package/lib/design-tokens/brands copy/blue/textDecoration.scss +0 -5
  514. package/lib/design-tokens/brands copy/blue/tokens-all-blue.scss +0 -628
  515. package/lib/design-tokens/brands copy/blue/tokens-brand.scss +0 -31
  516. package/lib/design-tokens/brands copy/blue-v1/_base.scss +0 -76
  517. package/lib/design-tokens/brands copy/blue-v1/badge.scss +0 -5
  518. package/lib/design-tokens/brands copy/blue-v1/bg.scss +0 -34
  519. package/lib/design-tokens/brands copy/blue-v1/border-style.scss +0 -5
  520. package/lib/design-tokens/brands copy/blue-v1/border.scss +0 -21
  521. package/lib/design-tokens/brands copy/blue-v1/borderRadius.scss +0 -15
  522. package/lib/design-tokens/brands copy/blue-v1/borderWidth.scss +0 -11
  523. package/lib/design-tokens/brands copy/blue-v1/breakpoint.scss +0 -9
  524. package/lib/design-tokens/brands copy/blue-v1/button.scss +0 -199
  525. package/lib/design-tokens/brands copy/blue-v1/content.scss +0 -29
  526. package/lib/design-tokens/brands copy/blue-v1/desktop-menu.scss +0 -5
  527. package/lib/design-tokens/brands copy/blue-v1/fontFamilies.scss +0 -5
  528. package/lib/design-tokens/brands copy/blue-v1/fontSize.scss +0 -17
  529. package/lib/design-tokens/brands copy/blue-v1/fontWeights.scss +0 -9
  530. package/lib/design-tokens/brands copy/blue-v1/footer.scss +0 -9
  531. package/lib/design-tokens/brands copy/blue-v1/header.scss +0 -79
  532. package/lib/design-tokens/brands copy/blue-v1/icon-size.scss +0 -6
  533. package/lib/design-tokens/brands copy/blue-v1/letterSpacing.scss +0 -9
  534. package/lib/design-tokens/brands copy/blue-v1/lineHeights.scss +0 -15
  535. package/lib/design-tokens/brands copy/blue-v1/link.scss +0 -4
  536. package/lib/design-tokens/brands copy/blue-v1/paragraphIndent.scss +0 -4
  537. package/lib/design-tokens/brands copy/blue-v1/paragraphSpacing.scss +0 -4
  538. package/lib/design-tokens/brands copy/blue-v1/shadow.scss +0 -8
  539. package/lib/design-tokens/brands copy/blue-v1/spacing.scss +0 -21
  540. package/lib/design-tokens/brands copy/blue-v1/textCase.scss +0 -5
  541. package/lib/design-tokens/brands copy/blue-v1/textDecoration.scss +0 -5
  542. package/lib/design-tokens/brands copy/blue-v1/tokens-all-blue-v1.scss +0 -534
  543. package/lib/design-tokens/brands copy/blue-v1/tokens-brand.scss +0 -30
  544. package/lib/design-tokens/brands copy/cre8/_base.scss +0 -157
  545. package/lib/design-tokens/brands copy/cre8/badge.scss +0 -5
  546. package/lib/design-tokens/brands copy/cre8/bg.scss +0 -34
  547. package/lib/design-tokens/brands copy/cre8/border-style.scss +0 -5
  548. package/lib/design-tokens/brands copy/cre8/border.scss +0 -18
  549. package/lib/design-tokens/brands copy/cre8/borderRadius.scss +0 -15
  550. package/lib/design-tokens/brands copy/cre8/borderWidth.scss +0 -11
  551. package/lib/design-tokens/brands copy/cre8/breakpoint.scss +0 -9
  552. package/lib/design-tokens/brands copy/cre8/button.scss +0 -211
  553. package/lib/design-tokens/brands copy/cre8/content.scss +0 -29
  554. package/lib/design-tokens/brands copy/cre8/desktop-menu.scss +0 -5
  555. package/lib/design-tokens/brands copy/cre8/fontFamilies.scss +0 -4
  556. package/lib/design-tokens/brands copy/cre8/fontSize.scss +0 -17
  557. package/lib/design-tokens/brands copy/cre8/fontWeights.scss +0 -7
  558. package/lib/design-tokens/brands copy/cre8/footer.scss +0 -8
  559. package/lib/design-tokens/brands copy/cre8/header.scss +0 -81
  560. package/lib/design-tokens/brands copy/cre8/icon-size.scss +0 -6
  561. package/lib/design-tokens/brands copy/cre8/letterSpacing.scss +0 -10
  562. package/lib/design-tokens/brands copy/cre8/lineHeights.scss +0 -22
  563. package/lib/design-tokens/brands copy/cre8/link.scss +0 -4
  564. package/lib/design-tokens/brands copy/cre8/paragraphIndent.scss +0 -4
  565. package/lib/design-tokens/brands copy/cre8/paragraphSpacing.scss +0 -4
  566. package/lib/design-tokens/brands copy/cre8/progress-meter.scss +0 -4
  567. package/lib/design-tokens/brands copy/cre8/shadow.scss +0 -8
  568. package/lib/design-tokens/brands copy/cre8/spacing.scss +0 -21
  569. package/lib/design-tokens/brands copy/cre8/textCase.scss +0 -5
  570. package/lib/design-tokens/brands copy/cre8/textDecoration.scss +0 -5
  571. package/lib/design-tokens/brands copy/cre8/tokens-all-cre8.scss +0 -631
  572. package/lib/design-tokens/brands copy/cre8/tokens-brand.scss +0 -31
  573. package/lib/design-tokens/brands copy/femmecubator/base.scss +0 -64
  574. package/lib/design-tokens/brands copy/femmecubator/border.scss +0 -15
  575. package/lib/design-tokens/brands copy/femmecubator/color.scss +0 -56
  576. package/lib/design-tokens/brands copy/femmecubator/spacing.scss +0 -13
  577. package/lib/design-tokens/brands copy/femmecubator/tokens-all-femmecubator.scss +0 -139
  578. package/lib/design-tokens/brands copy/femmecubator/tokens-brand.scss +0 -8
  579. package/lib/design-tokens/brands copy/legacy/_base.scss +0 -103
  580. package/lib/design-tokens/brands copy/legacy/badge.scss +0 -5
  581. package/lib/design-tokens/brands copy/legacy/bg.scss +0 -34
  582. package/lib/design-tokens/brands copy/legacy/border-style.scss +0 -5
  583. package/lib/design-tokens/brands copy/legacy/border.scss +0 -17
  584. package/lib/design-tokens/brands copy/legacy/borderRadius.scss +0 -15
  585. package/lib/design-tokens/brands copy/legacy/borderWidth.scss +0 -11
  586. package/lib/design-tokens/brands copy/legacy/breakpoint.scss +0 -9
  587. package/lib/design-tokens/brands copy/legacy/button.scss +0 -225
  588. package/lib/design-tokens/brands copy/legacy/content.scss +0 -29
  589. package/lib/design-tokens/brands copy/legacy/desktop-menu.scss +0 -5
  590. package/lib/design-tokens/brands copy/legacy/fontFamilies.scss +0 -4
  591. package/lib/design-tokens/brands copy/legacy/fontSize.scss +0 -17
  592. package/lib/design-tokens/brands copy/legacy/fontWeights.scss +0 -10
  593. package/lib/design-tokens/brands copy/legacy/footer.scss +0 -9
  594. package/lib/design-tokens/brands copy/legacy/header.scss +0 -81
  595. package/lib/design-tokens/brands copy/legacy/icon-size.scss +0 -6
  596. package/lib/design-tokens/brands copy/legacy/letterSpacing.scss +0 -9
  597. package/lib/design-tokens/brands copy/legacy/lineHeights.scss +0 -19
  598. package/lib/design-tokens/brands copy/legacy/paragraphIndent.scss +0 -4
  599. package/lib/design-tokens/brands copy/legacy/paragraphSpacing.scss +0 -4
  600. package/lib/design-tokens/brands copy/legacy/progress-meter.scss +0 -4
  601. package/lib/design-tokens/brands copy/legacy/shadow.scss +0 -8
  602. package/lib/design-tokens/brands copy/legacy/spacing.scss +0 -20
  603. package/lib/design-tokens/brands copy/legacy/textCase.scss +0 -5
  604. package/lib/design-tokens/brands copy/legacy/textDecoration.scss +0 -5
  605. package/lib/design-tokens/brands copy/legacy/tokens-all-legacy.scss +0 -588
  606. package/lib/design-tokens/brands copy/legacy/tokens-brand.scss +0 -30
  607. package/lib/design-tokens/brands copy/marketing/_base.scss +0 -137
  608. package/lib/design-tokens/brands copy/marketing/asset.scss +0 -7
  609. package/lib/design-tokens/brands copy/marketing/badge.scss +0 -5
  610. package/lib/design-tokens/brands copy/marketing/bg.scss +0 -35
  611. package/lib/design-tokens/brands copy/marketing/border-style.scss +0 -5
  612. package/lib/design-tokens/brands copy/marketing/border.scss +0 -21
  613. package/lib/design-tokens/brands copy/marketing/borderRadius.scss +0 -15
  614. package/lib/design-tokens/brands copy/marketing/borderWidth.scss +0 -11
  615. package/lib/design-tokens/brands copy/marketing/breakpoint.scss +0 -9
  616. package/lib/design-tokens/brands copy/marketing/button.scss +0 -225
  617. package/lib/design-tokens/brands copy/marketing/content.scss +0 -29
  618. package/lib/design-tokens/brands copy/marketing/desktop-menu.scss +0 -5
  619. package/lib/design-tokens/brands copy/marketing/fontFamilies.scss +0 -4
  620. package/lib/design-tokens/brands copy/marketing/fontSize.scss +0 -17
  621. package/lib/design-tokens/brands copy/marketing/fontWeights.scss +0 -7
  622. package/lib/design-tokens/brands copy/marketing/footer.scss +0 -9
  623. package/lib/design-tokens/brands copy/marketing/header.scss +0 -81
  624. package/lib/design-tokens/brands copy/marketing/icon-size.scss +0 -6
  625. package/lib/design-tokens/brands copy/marketing/letterSpacing.scss +0 -9
  626. package/lib/design-tokens/brands copy/marketing/lineHeights.scss +0 -22
  627. package/lib/design-tokens/brands copy/marketing/link.scss +0 -4
  628. package/lib/design-tokens/brands copy/marketing/paragraphIndent.scss +0 -4
  629. package/lib/design-tokens/brands copy/marketing/paragraphSpacing.scss +0 -4
  630. package/lib/design-tokens/brands copy/marketing/progress-meter.scss +0 -4
  631. package/lib/design-tokens/brands copy/marketing/shadow.scss +0 -8
  632. package/lib/design-tokens/brands copy/marketing/spacing.scss +0 -21
  633. package/lib/design-tokens/brands copy/marketing/textCase.scss +0 -5
  634. package/lib/design-tokens/brands copy/marketing/textDecoration.scss +0 -5
  635. package/lib/design-tokens/brands copy/marketing/tokens-all-marketing.scss +0 -633
  636. package/lib/design-tokens/brands copy/marketing/tokens-brand.scss +0 -32
  637. package/lib/design-tokens/brands copy/minimalist/_base.scss +0 -81
  638. package/lib/design-tokens/brands copy/minimalist/asset.scss +0 -6
  639. package/lib/design-tokens/brands copy/minimalist/badge.scss +0 -5
  640. package/lib/design-tokens/brands copy/minimalist/bg.scss +0 -34
  641. package/lib/design-tokens/brands copy/minimalist/border-style.scss +0 -5
  642. package/lib/design-tokens/brands copy/minimalist/border.scss +0 -17
  643. package/lib/design-tokens/brands copy/minimalist/borderRadius.scss +0 -15
  644. package/lib/design-tokens/brands copy/minimalist/borderWidth.scss +0 -11
  645. package/lib/design-tokens/brands copy/minimalist/breakpoint.scss +0 -9
  646. package/lib/design-tokens/brands copy/minimalist/button.scss +0 -225
  647. package/lib/design-tokens/brands copy/minimalist/content.scss +0 -29
  648. package/lib/design-tokens/brands copy/minimalist/desktop-menu.scss +0 -5
  649. package/lib/design-tokens/brands copy/minimalist/fontFamilies.scss +0 -4
  650. package/lib/design-tokens/brands copy/minimalist/fontFamily.scss +0 -4
  651. package/lib/design-tokens/brands copy/minimalist/fontSize.scss +0 -17
  652. package/lib/design-tokens/brands copy/minimalist/fontWeights.scss +0 -6
  653. package/lib/design-tokens/brands copy/minimalist/footer.scss +0 -9
  654. package/lib/design-tokens/brands copy/minimalist/header.scss +0 -81
  655. package/lib/design-tokens/brands copy/minimalist/icon-size.scss +0 -6
  656. package/lib/design-tokens/brands copy/minimalist/letterSpacing.scss +0 -9
  657. package/lib/design-tokens/brands copy/minimalist/lineHeights.scss +0 -20
  658. package/lib/design-tokens/brands copy/minimalist/paragraphIndent.scss +0 -4
  659. package/lib/design-tokens/brands copy/minimalist/paragraphSpacing.scss +0 -4
  660. package/lib/design-tokens/brands copy/minimalist/progress-meter.scss +0 -4
  661. package/lib/design-tokens/brands copy/minimalist/shadow.scss +0 -8
  662. package/lib/design-tokens/brands copy/minimalist/spacing.scss +0 -20
  663. package/lib/design-tokens/brands copy/minimalist/textCase.scss +0 -5
  664. package/lib/design-tokens/brands copy/minimalist/textDecoration.scss +0 -5
  665. package/lib/design-tokens/brands copy/minimalist/tokens-all-minimalist.scss +0 -567
  666. package/lib/design-tokens/brands copy/minimalist/tokens-brand.scss +0 -32
@@ -1,19 +1,22 @@
1
- import { css as r, html as s } from "lit";
2
- import { Cre8Element as a } from "../cre8-element.js";
3
- const d = r`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}.cre8-c-linelength-container{max-width:var(--cre8-l-linelength-width)}`, t = class t extends a {
4
- render() {
5
- const i = this.componentClassNames("cre8-c-linelength-container", {});
6
- return s`
7
- <div class="${i}">
1
+ import { html, } from 'lit';
2
+ import { Cre8Element } from '../cre8-element';
3
+ import styles from './linelength-container.styles.js';
4
+ /**
5
+ * @slot - The component content
6
+ */
7
+ export class Cre8LinelengthContainer extends Cre8Element {
8
+ render() {
9
+ const componentClassNames = this.componentClassNames('cre8-c-linelength-container', {});
10
+ return html `
11
+ <div class="${componentClassNames}">
8
12
  <slot></slot>
9
13
  </div>
10
14
  `;
11
- }
12
- };
13
- t.styles = [d];
14
- let e = t;
15
- customElements.get("cre8-linelength-container") === void 0 && customElements.define("cre8-linelength-container", e);
16
- export {
17
- e as Cre8LinelengthContainer,
18
- e as default
19
- };
15
+ }
16
+ }
17
+ Cre8LinelengthContainer.styles = [styles];
18
+ if (customElements.get('cre8-linelength-container') === undefined) {
19
+ customElements.define('cre8-linelength-container', Cre8LinelengthContainer);
20
+ }
21
+ export default Cre8LinelengthContainer;
22
+ //# sourceMappingURL=linelength-container.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linelength-container.js","sourceRoot":"","sources":["../../../components/linelength-container/linelength-container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,GAAI,MAAM,KAAK,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,MAAM,MAAM,kCAAkC,CAAC;AAEtD;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,WAAW;IAGpD,MAAM;QACF,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;QAExF,OAAO,IAAI,CAAA;oBACC,mBAAmB;;;KAGlC,CAAC;IACF,CAAC;;AAVM,8BAAM,GAAG,CAAC,MAAM,CAAC,CAAC;AAa7B,IAAI,cAAc,CAAC,GAAG,CAAC,2BAA2B,CAAC,KAAK,SAAS,EAAE,CAAC;IAChE,cAAc,CAAC,MAAM,CAAC,2BAA2B,EAAE,uBAAuB,CAAC,CAAC;AAChF,CAAC;AAQD,eAAe,uBAAuB,CAAC","sourcesContent":["import { html, } from 'lit';\nimport { Cre8Element } from '../cre8-element';\nimport styles from './linelength-container.styles.js';\n\n/**\n * @slot - The component content\n */\nexport class Cre8LinelengthContainer extends Cre8Element {\n static styles = [styles];\n\n render() {\n const componentClassNames = this.componentClassNames('cre8-c-linelength-container', {});\n\n return html`\n <div class=\"${componentClassNames}\">\n <slot></slot>\n </div>\n `;\n }\n}\n\nif (customElements.get('cre8-linelength-container') === undefined) {\n customElements.define('cre8-linelength-container', Cre8LinelengthContainer);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'cre8-linelength-container': Cre8LinelengthContainer;\n }\n}\n\nexport default Cre8LinelengthContainer;\n"]}
@@ -0,0 +1,4 @@
1
+ import { css } from 'lit';
2
+ const styles = css `*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}.cre8-c-linelength-container{max-width:var(--cre8-l-linelength-width)}`;
3
+ export default styles;
4
+ //# sourceMappingURL=linelength-container.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linelength-container.styles.js","sourceRoot":"","sources":["../../../components/linelength-container/linelength-container.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,MAAM,GAAG,GAAG,CAAA,g1DAAg1D,CAAC;AACn2D,eAAe,MAAM,CAAC","sourcesContent":["import { css } from 'lit';\nconst styles = css`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}.cre8-c-linelength-container{max-width:var(--cre8-l-linelength-width)}`;\nexport default styles;\n"]}
@@ -1,112 +1,150 @@
1
- import { css as v, html as c, nothing as n } from "lit";
2
- import { property as r } from "lit/decorators.js";
3
- import { ifDefined as l } from "lit-html/directives/if-defined.js";
4
- import { Cre8Element as k } from "../cre8-element.js";
5
- const f = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
6
- <path d="M8 0C6.41775 0 4.87103 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346628 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C15.9978 5.87895 15.1542 3.84542 13.6544 2.34562C12.1546 0.845814 10.121 0.00223986 8 0ZM11.0769 8.61538H6.40846L7.82 10.0262C7.87718 10.0833 7.92253 10.1512 7.95347 10.2259C7.98442 10.3006 8.00034 10.3807 8.00034 10.4615C8.00034 10.5424 7.98442 10.6225 7.95347 10.6972C7.92253 10.7719 7.87718 10.8397 7.82 10.8969C7.76283 10.9541 7.69495 10.9994 7.62025 11.0304C7.54554 11.0613 7.46548 11.0773 7.38462 11.0773C7.30376 11.0773 7.22369 11.0613 7.14899 11.0304C7.07429 10.9994 7.00641 10.9541 6.94923 10.8969L4.48769 8.43538C4.43048 8.37823 4.38509 8.31036 4.35412 8.23565C4.32315 8.16095 4.30721 8.08087 4.30721 8C4.30721 7.91913 4.32315 7.83905 4.35412 7.76434C4.38509 7.68964 4.43048 7.62177 4.48769 7.56461L6.94923 5.10308C7.0647 4.9876 7.22132 4.92273 7.38462 4.92273C7.54792 4.92273 7.70453 4.9876 7.82 5.10308C7.93547 5.21855 8.00034 5.37516 8.00034 5.53846C8.00034 5.70176 7.93547 5.85837 7.82 5.97385L6.40846 7.38461H11.0769C11.2401 7.38461 11.3967 7.44945 11.5121 7.56486C11.6275 7.68026 11.6923 7.83679 11.6923 8C11.6923 8.16321 11.6275 8.31973 11.5121 8.43514C11.3967 8.55055 11.2401 8.61538 11.0769 8.61538Z"/>
7
- </svg>
8
- `, g = v`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{display:inline-flex}.cre8-c-link{display:inline-flex;text-decoration:none;height:100%;color:var(--cre8-color-content-link)}.cre8-c-link:hover .cre8-c-link__text,.cre8-c-link:hover .cre8-c-link__text-area{color:var(--cre8-color-content-link-hover);border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-opacity-transparent)}.cre8-c-link:focus{outline:none}.cre8-c-link:focus .cre8-c-link__text,.cre8-c-link:focus .cre8-c-link__text-area{border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-active);color:var(--cre8-color-content-link-focus)}.cre8-c-link:focus .cre8-c-link__cta-wrapper{color:var(--cre8-color-content-link-focus);outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);outline-offset:0.125rem;background-color:var(--cre8-color-button-primary-bg-hover);border:var(--cre8-border-width-focus) var(--cre8-border-style-default) var(--color-border-active-outline)}.cre8-c-link:active .cre8-c-link__text,.cre8-c-link:active .cre8-c-link__text-area{border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-opacity-transparent);color:var(--cre8-color-content-link-active)}.cre8-c-link__text-area{display:inline-flex;justify-content:center;text-align:center;align-items:center}.cre8-c-link__text{font-family:var(--cre8-typography-body-default-link-font-family);font-size:var(--cre8-typography-body-default-link-font-size);font-weight:var(--cre8-typography-body-default-link-font-weight);line-height:var(--cre8-typography-body-default-link-line-height);text-decoration:var(--cre8-typography-body-default-link-text-decoration);text-transform:var(--cre8-typography-body-default-link-text-transform);color:var(--cre8-color-content-link);display:inline-flex}.cre8-c-link--sm .cre8-c-link__text{font-family:var(--cre8-typography-body-small-link-font-family);font-size:var(--cre8-typography-body-small-link-font-size);font-weight:var(--cre8-typography-body-small-link-font-weight);line-height:var(--cre8-typography-body-small-link-line-height);text-decoration:var(--cre8-typography-body-small-link-text-decoration);text-transform:var(--cre8-typography-body-small-link-text-transform)}.cre8-c-link--lg .cre8-c-link__text{font-family:var(--cre8-typography-body-large-link-font-family);font-size:var(--cre8-typography-body-large-link-font-size);font-weight:var(--cre8-typography-body-large-link-font-weight);line-height:var(--cre8-typography-body-large-link-line-height);text-decoration:var(--cre8-typography-body-large-link-text-decoration);text-transform:var(--cre8-typography-body-large-link-text-transform)}.cre8-c-link__no-underline .cre8-c-link__text{text-decoration:none}.cre8-c-link__icon-wrapper{display:inline-flex}.cre8-c-link__icon{display:inline-flex;height:1.5rem;width:1.5rem}.cre8-c-link--sm .cre8-c-link__icon{--cre8-icon-height: var(--cre8-icon-size-small);--cre8-icon-width: var(--cre8-icon-size-small);height:1.375rem;width:1.375rem}.cre8-c-link--lg .cre8-c-link__icon{--cre8-icon-height: var(--cre8-icon-size-large);--cre8-icon-width: var(--cre8-icon-size-large);height:1.625rem;width:1.625rem}.cre8-c-link__variation{display:inline-flex;justify-content:center;align-items:center}.cre8-c-link__cta-wrapper{color:var(--cre8-color-button-primary-content);display:inline-flex;margin-left:0.5rem;padding:var(--cre8-spacing-4);background-color:var(--cre8-color-content-link);border-radius:var(--cre8-border-radius-round);border-width:var(--cre8-border-width-button-default)}.cre8-c-link__cta-wrapper svg{height:1rem;width:1rem}.cre8-c-link__icon.before{padding-right:0.5rem}.cre8-c-link__icon.after{padding-left:0.5rem}::slotted([slot=badge]){padding-left:0.5rem}.cre8-c-link--inverted .cre8-c-link__text{color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted .cre8-c-link__icon{color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted .cre8-c-link__cta-wrapper{--cre8-icon-fill: var(--cre8-color-content-brand);color:var(--cre8-color-content-brand);background-color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted:hover .cre8-c-link__text,.cre8-c-link--inverted:hover .cre8-c-link__text-area{color:var(--cre8-color-content-inverse-link-hover)}.cre8-c-link--inverted:hover .cre8-c-link__icon{fill:var(--cre8-color-content-inverse-link-hover)}.cre8-c-link--inverted:active .cre8-c-link__text,.cre8-c-link--inverted:active .cre8-c-link__text-area{color:var(--cre8-color-content-inverse-link-active)}.cre8-c-link--inverted:active .cre8-c-link__icon{fill:var(--cre8-color-content-inverse-link-active)}.cre8-c-link--inverted:focus{outline:none}.cre8-c-link--inverted:focus .cre8-c-link__icon{background-color:var(--cre8-color-bg-inverse-active);fill:var(--cre8-color-content-inverse-link-focus)}.cre8-c-link--inverted:focus .cre8-c-link__text,.cre8-c-link--inverted:focus .cre8-c-link__text-area{background-color:var(--cre8-color-bg-inverse-active);color:var(--cre8-color-content-inverse-link-focus)}.cre8-c-link--inverted:focus .cre8-c-link__cta-wrapper{background-color:var(--cre8-color-content-inverse-link);color:var(--cre8-color-content-inverse-link-focus);outline:var(--cre8-border-width-focus) var(--cre8-border-style-default) var(--cre8-color-content-inverse-link);outline-offset:0.125rem}cre8-icon{display:flex;align-items:center}`;
9
- var y = Object.defineProperty, t = (d, o, p, m) => {
10
- for (var i = void 0, a = d.length - 1, h; a >= 0; a--)
11
- (h = d[a]) && (i = h(o, p, i) || i);
12
- return i && y(o, p, i), i;
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;
13
6
  };
14
- const s = class s extends k {
15
- constructor() {
16
- super(...arguments), this.iconRotateDegree = 0, this.iconPosition = void 0, this.ctaIcon = "arrow-forward";
17
- }
18
- generateIcon() {
19
- return this.iconName ? c`
7
+ import svgArrowLeft from '/Users/tylersmbp/Projects/cre8-web-components/packages/cre8-wc/icons/System/Filled/Arrow_-_Left.svg?raw';
8
+ import { html, nothing, } from 'lit';
9
+ import { property } from 'lit/decorators.js';
10
+ import { ifDefined } from 'lit-html/directives/if-defined.js';
11
+ import { Cre8Element } from '../cre8-element';
12
+ import styles from './link.styles.js';
13
+ /**
14
+ * Link Component are strictly used in the case where the component will take
15
+ * the user away from the current page to a new url.
16
+ * In this vein, this component should ONLY be used in situations an anchor tag would be used (an href is required)
17
+ * This goes for the variations as well such as the Call To Action Link
18
+ *
19
+ * **Note**
20
+ *
21
+ * For link with icon:
22
+ * - **iconRotateDegree** & **iconFlipDirection** props are optional.
23
+ * - They are used to set up the correct direction for icons, for example,
24
+ * arrows, caret up or caret down.
25
+ *
26
+ */
27
+ export class Cre8Link extends Cre8Element {
28
+ constructor() {
29
+ super(...arguments);
30
+ /**
31
+ * iconRotateDegree is used for <cre8-icon> to set the arrow in the correct direction
32
+ */
33
+ this.iconRotateDegree = 0;
34
+ /**
35
+ * Icon position
36
+ * - **before** places the icon before the button text
37
+ * - **after** places the icon after the button text
38
+ */
39
+ this.iconPosition = undefined;
40
+ /**
41
+ * Call To Action Icon
42
+ */
43
+ this.ctaIcon = 'arrow-forward';
44
+ }
45
+ generateIcon() {
46
+ if (this.iconName) {
47
+ return html `
20
48
  <div class="cre8-c-link__icon-wrapper">
21
49
  <cre8-icon-legacy
22
50
  class="cre8-c-link__icon ${this.iconPosition}"
23
51
  aria-hidden="true"
24
- name="${l(this.iconName)}">
52
+ name="${ifDefined(this.iconName)}">
25
53
  </cre8-icon-legacy>
26
- </div>` : this.svg ? c`
54
+ </div>`;
55
+ }
56
+ if (this.svg) {
57
+ return html `
27
58
  <div class="cre8-c-link__icon-wrapper">
28
59
  <cre8-icon
29
60
  class="cre8-c-link__icon ${this.iconPosition}"
30
61
  aria-hidden="true"
31
62
  svg='${this.svg}' rotate="${Number(this.iconRotateDegree)}" flip="${this.iconFlipDirection}">
32
63
  </cre8-icon>
33
- </div>` : n;
34
- }
35
- render() {
36
- const o = this.componentClassNames("cre8-c-link", {
37
- "cre8-c-link--inverted": this.inverted,
38
- "cre8-c-link--sm": this.size === "sm",
39
- "cre8-c-link--lg": this.size === "lg",
40
- "cre8-c-link__no-underline": this.noUnderline
41
- });
42
- return c`
64
+ </div>`;
65
+ }
66
+ return nothing;
67
+ }
68
+ render() {
69
+ const componentClassNames = this.componentClassNames('cre8-c-link', {
70
+ 'cre8-c-link--inverted': this.inverted,
71
+ 'cre8-c-link--sm': this.size === 'sm',
72
+ 'cre8-c-link--lg': this.size === 'lg',
73
+ 'cre8-c-link__no-underline': this.noUnderline,
74
+ });
75
+ return html `
43
76
  <a
44
- class="${o}"
45
- href="${l(this.href)}"
46
- rel="${l(this.rel)}"
47
- target="${l(this.target)}"
77
+ class="${componentClassNames}"
78
+ href="${ifDefined(this.href)}"
79
+ rel="${ifDefined(this.rel)}"
80
+ target="${ifDefined(this.target)}"
48
81
  >
49
82
  <div class="cre8-c-link__text-area">
50
- ${this.iconPosition === "before" ? c`${this.generateIcon()}` : n}
83
+ ${this.iconPosition === 'before'
84
+ ? html `${this.generateIcon()}`
85
+ : nothing}
51
86
  <span class="cre8-c-link__text">
52
87
  <slot></slot>
53
88
  </span>
54
- ${this.iconPosition === "after" ? c`${this.generateIcon()}` : n}
89
+ ${this.iconPosition === 'after'
90
+ ? html `${this.generateIcon()}`
91
+ : nothing}
55
92
  </div>
56
93
  <div class="cre8-c-link__variation">
57
94
  <slot name="badge"></slot>
58
- ${this.ctaLink ? c`<div class="cre8-c-link__cta-wrapper">
59
- <cre8-icon class="cre8-c-link__action" svg='${f}'
95
+ ${this.ctaLink
96
+ ? html `<div class="cre8-c-link__cta-wrapper">
97
+ <cre8-icon class="cre8-c-link__action" svg='${svgArrowLeft}'
60
98
  rotate="180" aria-hidden="true"></cre8-icon>
61
- </div>` : n}
99
+ </div>`
100
+ : nothing}
62
101
  </div>
63
102
  </a>
64
103
  `;
65
- }
66
- };
67
- s.styles = [g];
68
- let e = s;
69
- t([
70
- r()
71
- ], e.prototype, "href");
72
- t([
73
- r()
74
- ], e.prototype, "rel");
75
- t([
76
- r()
77
- ], e.prototype, "target");
78
- t([
79
- r()
80
- ], e.prototype, "iconName");
81
- t([
82
- r()
83
- ], e.prototype, "svg");
84
- t([
85
- r({ type: Number })
86
- ], e.prototype, "iconRotateDegree");
87
- t([
88
- r()
89
- ], e.prototype, "iconFlipDirection");
90
- t([
91
- r()
92
- ], e.prototype, "iconPosition");
93
- t([
94
- r()
95
- ], e.prototype, "ctaIcon");
96
- t([
97
- r({ type: Boolean })
98
- ], e.prototype, "ctaLink");
99
- t([
100
- r({ type: Boolean })
101
- ], e.prototype, "noUnderline");
102
- t([
103
- r()
104
- ], e.prototype, "size");
105
- t([
106
- r({ type: Boolean })
107
- ], e.prototype, "inverted");
108
- customElements.get("cre8-link") === void 0 && customElements.define("cre8-link", e);
109
- export {
110
- e as Cre8Link,
111
- e as default
112
- };
104
+ }
105
+ }
106
+ Cre8Link.styles = [styles];
107
+ __decorate([
108
+ property()
109
+ ], Cre8Link.prototype, "href", void 0);
110
+ __decorate([
111
+ property()
112
+ ], Cre8Link.prototype, "rel", void 0);
113
+ __decorate([
114
+ property()
115
+ ], Cre8Link.prototype, "target", void 0);
116
+ __decorate([
117
+ property()
118
+ ], Cre8Link.prototype, "iconName", void 0);
119
+ __decorate([
120
+ property()
121
+ ], Cre8Link.prototype, "svg", void 0);
122
+ __decorate([
123
+ property({ type: Number })
124
+ ], Cre8Link.prototype, "iconRotateDegree", void 0);
125
+ __decorate([
126
+ property()
127
+ ], Cre8Link.prototype, "iconFlipDirection", void 0);
128
+ __decorate([
129
+ property()
130
+ ], Cre8Link.prototype, "iconPosition", void 0);
131
+ __decorate([
132
+ property()
133
+ ], Cre8Link.prototype, "ctaIcon", void 0);
134
+ __decorate([
135
+ property({ type: Boolean })
136
+ ], Cre8Link.prototype, "ctaLink", void 0);
137
+ __decorate([
138
+ property({ type: Boolean })
139
+ ], Cre8Link.prototype, "noUnderline", void 0);
140
+ __decorate([
141
+ property()
142
+ ], Cre8Link.prototype, "size", void 0);
143
+ __decorate([
144
+ property({ type: Boolean })
145
+ ], Cre8Link.prototype, "inverted", void 0);
146
+ if (customElements.get('cre8-link') === undefined) {
147
+ customElements.define('cre8-link', Cre8Link);
148
+ }
149
+ export default Cre8Link;
150
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","sourceRoot":"","sources":["../../../components/link/link.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,YAAY,MAAM,yGAAyG,CAAC;AACnI,OAAO,EACH,IAAI,EAAE,OAAO,GAChB,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC;;;;;;;;;;;;;EAaE;AAEF,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QA2CE;;WAEG;QAEC,qBAAgB,GAAY,CAAC,CAAC;QAQlC;;;;WAIG;QAEC,iBAAY,GAAwB,SAAS,CAAC;QAElD;;WAEG;QAEC,YAAO,GAAG,eAAe,CAAC;IA0FhC,CAAC;IA9DS,YAAY;QAChB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChB,OAAO,IAAI,CAAA;;;yCAGoB,IAAI,CAAC,YAAY;;sBAEpC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC;;iBAE7B,CAAC;QACZ,CAAC;QAED,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YACX,OAAO,IAAI,CAAA;;;yCAGoB,IAAI,CAAC,YAAY;;qBAErC,IAAI,CAAC,GAAG,aAAa,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,WAAW,IAAI,CAAC,iBAAiB;;iBAEvF,CAAC;QACZ,CAAC;QAAC,OAAO,OAAO,CAAC;IACrB,CAAC;IAED,MAAM;QACF,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC,aAAa,EAAE;YAChE,uBAAuB,EAAE,IAAI,CAAC,QAAQ;YACtC,iBAAiB,EAAE,IAAI,CAAC,IAAI,KAAK,IAAI;YACrC,iBAAiB,EAAE,IAAI,CAAC,IAAI,KAAK,IAAI;YACrC,2BAA2B,EAAE,IAAI,CAAC,WAAW;SAChD,CAAC,CAAC;QAEH,OAAO,IAAI,CAAA;;iBAEA,mBAAmB;gBACpB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;eACrB,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC;kBAChB,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC;;;YAG5B,IAAI,CAAC,YAAY,KAAK,QAAQ;YAClC,CAAC,CAAC,IAAI,CAAA,GAAG,IAAI,CAAC,YAAY,EAAE,EAAE;YAC9B,CAAC,CAAC,OAAO;;;;YAIL,IAAI,CAAC,YAAY,KAAK,OAAO;YACjC,CAAC,CAAC,IAAI,CAAA,GAAG,IAAI,CAAC,YAAY,EAAE,EAAE;YAC9B,CAAC,CAAC,OAAO;;;;YAIL,IAAI,CAAC,OAAO;YAChB,CAAC,CAAC,IAAI,CAAA;8DACgD,YAAY;;qBAErD;YACb,CAAC,CAAC,OAAO;;;KAGZ,CAAC;IACJ,CAAC;;AA3JQ,eAAM,GAAG,CAAC,MAAM,CAAC,AAAX,CAAY;AAMvB;IADH,QAAQ,EAAE;sCACM;AAMb;IADH,QAAQ,EAAE;qCACM;AAab;IADH,QAAQ,EAAE;wCAC0C;AAOjD;IADH,QAAQ,EAAE;0CACW;AAQlB;IADH,QAAQ,EAAE;qCACM;AAMb;IADH,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kDACO;AAM9B;IADH,QAAQ,EAAE;mDACoB;AAQ3B;IADH,QAAQ,EAAE;8CACuC;AAM9C;IADH,QAAQ,EAAE;yCACmB;AAM1B;IADH,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;yCACN;AAMlB;IADH,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;6CACF;AAQtB;IADH,QAAQ,EAAE;sCACY;AAMnB;IADH,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;0CACL;AAkEzB,IAAI,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,SAAS,EAAE,CAAC;IAChD,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AACjD,CAAC;AAQD,eAAe,QAAQ,CAAC","sourcesContent":["import svgArrowLeft from '/Users/tylersmbp/Projects/cre8-web-components/packages/cre8-wc/icons/System/Filled/Arrow_-_Left.svg?raw';\nimport {\n html, nothing,\n} from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit-html/directives/if-defined.js';\nimport { Cre8Element } from '../cre8-element';\nimport styles from './link.styles.js';\n\n/**\n * Link Component are strictly used in the case where the component will take\n * the user away from the current page to a new url.\n * In this vein, this component should ONLY be used in situations an anchor tag would be used (an href is required)\n * This goes for the variations as well such as the Call To Action Link\n *\n * **Note**\n *\n * For link with icon:\n * - **iconRotateDegree** & **iconFlipDirection** props are optional.\n * - They are used to set up the correct direction for icons, for example,\n * arrows, caret up or caret down.\n *\n*/\n\nexport class Cre8Link extends Cre8Element {\n static styles = [styles];\n\n /**\n * Href attribute of the anchor tag\n */\n @property()\n href: string;\n\n /**\n * Rel attribute of the anchor tag\n */\n @property()\n rel?: string;\n\n /**\n * Target attribute for a link (i.e. set to _blank to open in new tab)\n * - **_blank** yields a link that opens in a new tab\n * - **_self** yields a link that loads the URL into the same browsing context as the current one.\n * This is the default behavior\n * - **_parent** yields a link that loads the URL into the parent browsing context of the current one.\n * If there is no parent, this behaves the same way as _self\n * - **_top** yields a link that loads the URL into the top-level browsing context.\n * If there is no parent, this behaves the same way as _self.\n */\n @property()\n target?: '_blank' | '_self' | '_parent' | '_top';\n\n /**\n * DEPRECATED: Icon name, use svg instead\n * @deprecated\n */\n @property()\n iconName?: string;\n\n /**\n * svg as a raw string\n * - For links with icon, the icon is defined by this prop.\n * - Pass in a raw svg as a String for using <cre8-icon>\n */\n @property()\n svg?: string;\n\n /**\n * iconRotateDegree is used for <cre8-icon> to set the arrow in the correct direction\n */\n @property({ type: Number })\n iconRotateDegree?: number = 0;\n\n /**\n * iconFlipDirection is used for <cre8-icon> to set the icon in the correct direction\n */\n @property()\n iconFlipDirection?: string;\n\n /**\n * Icon position\n * - **before** places the icon before the button text\n * - **after** places the icon after the button text\n */\n @property()\n iconPosition?: 'before' | 'after' = undefined;\n\n /**\n * Call To Action Icon\n */\n @property()\n ctaIcon = 'arrow-forward';\n\n /**\n * Call To Action Link\n */\n @property({ type: Boolean })\n ctaLink?: boolean;\n\n /**\n * Link with no underline\n */\n @property({ type: Boolean })\n noUnderline?: boolean;\n\n /**\n * Size variant (default is medium)\n * - **sm** shrinks the link typography and overall size\n * - **lg** increases the link typography size and overall size\n */\n @property()\n size?: 'sm' | 'lg';\n\n /**\n * Inverted colors Link (onDark)\n */\n @property({ type: Boolean })\n inverted?: boolean;\n\n private generateIcon() {\n if (this.iconName) {\n return html`\n <div class=\"cre8-c-link__icon-wrapper\">\n <cre8-icon-legacy\n class=\"cre8-c-link__icon ${this.iconPosition}\"\n aria-hidden=\"true\"\n name=\"${ifDefined(this.iconName)}\">\n </cre8-icon-legacy>\n </div>`;\n }\n\n if (this.svg) {\n return html`\n <div class=\"cre8-c-link__icon-wrapper\">\n <cre8-icon\n class=\"cre8-c-link__icon ${this.iconPosition}\"\n aria-hidden=\"true\"\n svg='${this.svg}' rotate=\"${Number(this.iconRotateDegree)}\" flip=\"${this.iconFlipDirection}\">\n </cre8-icon>\n </div>`;\n } return nothing;\n }\n\n render() {\n const componentClassNames = this.componentClassNames('cre8-c-link', {\n 'cre8-c-link--inverted': this.inverted,\n 'cre8-c-link--sm': this.size === 'sm',\n 'cre8-c-link--lg': this.size === 'lg',\n 'cre8-c-link__no-underline': this.noUnderline,\n });\n\n return html`\n <a\n class=\"${componentClassNames}\"\n href=\"${ifDefined(this.href)}\"\n rel=\"${ifDefined(this.rel)}\"\n target=\"${ifDefined(this.target)}\"\n >\n <div class=\"cre8-c-link__text-area\">\n ${this.iconPosition === 'before'\n ? html`${this.generateIcon()}`\n : nothing}\n <span class=\"cre8-c-link__text\">\n <slot></slot>\n </span>\n ${this.iconPosition === 'after'\n ? html`${this.generateIcon()}`\n : nothing}\n </div>\n <div class=\"cre8-c-link__variation\">\n <slot name=\"badge\"></slot>\n ${this.ctaLink\n ? html`<div class=\"cre8-c-link__cta-wrapper\">\n <cre8-icon class=\"cre8-c-link__action\" svg='${svgArrowLeft}' \n rotate=\"180\" aria-hidden=\"true\"></cre8-icon>\n </div>`\n : nothing}\n </div>\n </a>\n `;\n }\n}\n\nif (customElements.get('cre8-link') === undefined) {\n customElements.define('cre8-link', Cre8Link);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'cre8-link': Cre8Link;\n }\n}\n\nexport default Cre8Link;\n"]}
@@ -0,0 +1,4 @@
1
+ import { css } from 'lit';
2
+ const styles = css `*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{display:inline-flex}.cre8-c-link{display:inline-flex;text-decoration:none;height:100%;color:var(--cre8-color-content-link)}.cre8-c-link:hover .cre8-c-link__text,.cre8-c-link:hover .cre8-c-link__text-area{color:var(--cre8-color-content-link-hover);border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-opacity-transparent)}.cre8-c-link:focus{outline:none}.cre8-c-link:focus .cre8-c-link__text,.cre8-c-link:focus .cre8-c-link__text-area{border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-active);color:var(--cre8-color-content-link-focus)}.cre8-c-link:focus .cre8-c-link__cta-wrapper{color:var(--cre8-color-content-link-focus);outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);outline-offset:0.125rem;background-color:var(--cre8-color-button-primary-bg-hover);border:var(--cre8-border-width-focus) var(--cre8-border-style-default) var(--color-border-active-outline)}.cre8-c-link:active .cre8-c-link__text,.cre8-c-link:active .cre8-c-link__text-area{border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-opacity-transparent);color:var(--cre8-color-content-link-active)}.cre8-c-link__text-area{display:inline-flex;justify-content:center;text-align:center;align-items:center}.cre8-c-link__text{font-family:var(--cre8-typography-body-default-link-font-family);font-size:var(--cre8-typography-body-default-link-font-size);font-weight:var(--cre8-typography-body-default-link-font-weight);line-height:var(--cre8-typography-body-default-link-line-height);text-decoration:var(--cre8-typography-body-default-link-text-decoration);text-transform:var(--cre8-typography-body-default-link-text-transform);color:var(--cre8-color-content-link);display:inline-flex}.cre8-c-link--sm .cre8-c-link__text{font-family:var(--cre8-typography-body-small-link-font-family);font-size:var(--cre8-typography-body-small-link-font-size);font-weight:var(--cre8-typography-body-small-link-font-weight);line-height:var(--cre8-typography-body-small-link-line-height);text-decoration:var(--cre8-typography-body-small-link-text-decoration);text-transform:var(--cre8-typography-body-small-link-text-transform)}.cre8-c-link--lg .cre8-c-link__text{font-family:var(--cre8-typography-body-large-link-font-family);font-size:var(--cre8-typography-body-large-link-font-size);font-weight:var(--cre8-typography-body-large-link-font-weight);line-height:var(--cre8-typography-body-large-link-line-height);text-decoration:var(--cre8-typography-body-large-link-text-decoration);text-transform:var(--cre8-typography-body-large-link-text-transform)}.cre8-c-link__no-underline .cre8-c-link__text{text-decoration:none}.cre8-c-link__icon-wrapper{display:inline-flex}.cre8-c-link__icon{display:inline-flex;height:1.5rem;width:1.5rem}.cre8-c-link--sm .cre8-c-link__icon{--cre8-icon-height: var(--cre8-icon-size-small);--cre8-icon-width: var(--cre8-icon-size-small);height:1.375rem;width:1.375rem}.cre8-c-link--lg .cre8-c-link__icon{--cre8-icon-height: var(--cre8-icon-size-large);--cre8-icon-width: var(--cre8-icon-size-large);height:1.625rem;width:1.625rem}.cre8-c-link__variation{display:inline-flex;justify-content:center;align-items:center}.cre8-c-link__cta-wrapper{color:var(--cre8-color-button-primary-content);display:inline-flex;margin-left:0.5rem;padding:var(--cre8-spacing-4);background-color:var(--cre8-color-content-link);border-radius:var(--cre8-border-radius-round);border-width:var(--cre8-border-width-button-default)}.cre8-c-link__cta-wrapper svg{height:1rem;width:1rem}.cre8-c-link__icon.before{padding-right:0.5rem}.cre8-c-link__icon.after{padding-left:0.5rem}::slotted([slot=badge]){padding-left:0.5rem}.cre8-c-link--inverted .cre8-c-link__text{color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted .cre8-c-link__icon{color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted .cre8-c-link__cta-wrapper{--cre8-icon-fill: var(--cre8-color-content-brand);color:var(--cre8-color-content-brand);background-color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted:hover .cre8-c-link__text,.cre8-c-link--inverted:hover .cre8-c-link__text-area{color:var(--cre8-color-content-inverse-link-hover)}.cre8-c-link--inverted:hover .cre8-c-link__icon{fill:var(--cre8-color-content-inverse-link-hover)}.cre8-c-link--inverted:active .cre8-c-link__text,.cre8-c-link--inverted:active .cre8-c-link__text-area{color:var(--cre8-color-content-inverse-link-active)}.cre8-c-link--inverted:active .cre8-c-link__icon{fill:var(--cre8-color-content-inverse-link-active)}.cre8-c-link--inverted:focus{outline:none}.cre8-c-link--inverted:focus .cre8-c-link__icon{background-color:var(--cre8-color-bg-inverse-active);fill:var(--cre8-color-content-inverse-link-focus)}.cre8-c-link--inverted:focus .cre8-c-link__text,.cre8-c-link--inverted:focus .cre8-c-link__text-area{background-color:var(--cre8-color-bg-inverse-active);color:var(--cre8-color-content-inverse-link-focus)}.cre8-c-link--inverted:focus .cre8-c-link__cta-wrapper{background-color:var(--cre8-color-content-inverse-link);color:var(--cre8-color-content-inverse-link-focus);outline:var(--cre8-border-width-focus) var(--cre8-border-style-default) var(--cre8-color-content-inverse-link);outline-offset:0.125rem}cre8-icon{display:flex;align-items:center}`;
3
+ export default styles;
4
+ //# sourceMappingURL=link.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.styles.js","sourceRoot":"","sources":["../../../components/link/link.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,MAAM,GAAG,GAAG,CAAA,48NAA48N,CAAC;AAC/9N,eAAe,MAAM,CAAC","sourcesContent":["import { css } from 'lit';\nconst styles = css`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{display:inline-flex}.cre8-c-link{display:inline-flex;text-decoration:none;height:100%;color:var(--cre8-color-content-link)}.cre8-c-link:hover .cre8-c-link__text,.cre8-c-link:hover .cre8-c-link__text-area{color:var(--cre8-color-content-link-hover);border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-opacity-transparent)}.cre8-c-link:focus{outline:none}.cre8-c-link:focus .cre8-c-link__text,.cre8-c-link:focus .cre8-c-link__text-area{border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-active);color:var(--cre8-color-content-link-focus)}.cre8-c-link:focus .cre8-c-link__cta-wrapper{color:var(--cre8-color-content-link-focus);outline:var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);outline-offset:0.125rem;background-color:var(--cre8-color-button-primary-bg-hover);border:var(--cre8-border-width-focus) var(--cre8-border-style-default) var(--color-border-active-outline)}.cre8-c-link:active .cre8-c-link__text,.cre8-c-link:active .cre8-c-link__text-area{border-color:var(--cre8-color-border-transparent);background-color:var(--cre8-color-bg-opacity-transparent);color:var(--cre8-color-content-link-active)}.cre8-c-link__text-area{display:inline-flex;justify-content:center;text-align:center;align-items:center}.cre8-c-link__text{font-family:var(--cre8-typography-body-default-link-font-family);font-size:var(--cre8-typography-body-default-link-font-size);font-weight:var(--cre8-typography-body-default-link-font-weight);line-height:var(--cre8-typography-body-default-link-line-height);text-decoration:var(--cre8-typography-body-default-link-text-decoration);text-transform:var(--cre8-typography-body-default-link-text-transform);color:var(--cre8-color-content-link);display:inline-flex}.cre8-c-link--sm .cre8-c-link__text{font-family:var(--cre8-typography-body-small-link-font-family);font-size:var(--cre8-typography-body-small-link-font-size);font-weight:var(--cre8-typography-body-small-link-font-weight);line-height:var(--cre8-typography-body-small-link-line-height);text-decoration:var(--cre8-typography-body-small-link-text-decoration);text-transform:var(--cre8-typography-body-small-link-text-transform)}.cre8-c-link--lg .cre8-c-link__text{font-family:var(--cre8-typography-body-large-link-font-family);font-size:var(--cre8-typography-body-large-link-font-size);font-weight:var(--cre8-typography-body-large-link-font-weight);line-height:var(--cre8-typography-body-large-link-line-height);text-decoration:var(--cre8-typography-body-large-link-text-decoration);text-transform:var(--cre8-typography-body-large-link-text-transform)}.cre8-c-link__no-underline .cre8-c-link__text{text-decoration:none}.cre8-c-link__icon-wrapper{display:inline-flex}.cre8-c-link__icon{display:inline-flex;height:1.5rem;width:1.5rem}.cre8-c-link--sm .cre8-c-link__icon{--cre8-icon-height: var(--cre8-icon-size-small);--cre8-icon-width: var(--cre8-icon-size-small);height:1.375rem;width:1.375rem}.cre8-c-link--lg .cre8-c-link__icon{--cre8-icon-height: var(--cre8-icon-size-large);--cre8-icon-width: var(--cre8-icon-size-large);height:1.625rem;width:1.625rem}.cre8-c-link__variation{display:inline-flex;justify-content:center;align-items:center}.cre8-c-link__cta-wrapper{color:var(--cre8-color-button-primary-content);display:inline-flex;margin-left:0.5rem;padding:var(--cre8-spacing-4);background-color:var(--cre8-color-content-link);border-radius:var(--cre8-border-radius-round);border-width:var(--cre8-border-width-button-default)}.cre8-c-link__cta-wrapper svg{height:1rem;width:1rem}.cre8-c-link__icon.before{padding-right:0.5rem}.cre8-c-link__icon.after{padding-left:0.5rem}::slotted([slot=badge]){padding-left:0.5rem}.cre8-c-link--inverted .cre8-c-link__text{color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted .cre8-c-link__icon{color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted .cre8-c-link__cta-wrapper{--cre8-icon-fill: var(--cre8-color-content-brand);color:var(--cre8-color-content-brand);background-color:var(--cre8-color-content-inverse-link)}.cre8-c-link--inverted:hover .cre8-c-link__text,.cre8-c-link--inverted:hover .cre8-c-link__text-area{color:var(--cre8-color-content-inverse-link-hover)}.cre8-c-link--inverted:hover .cre8-c-link__icon{fill:var(--cre8-color-content-inverse-link-hover)}.cre8-c-link--inverted:active .cre8-c-link__text,.cre8-c-link--inverted:active .cre8-c-link__text-area{color:var(--cre8-color-content-inverse-link-active)}.cre8-c-link--inverted:active .cre8-c-link__icon{fill:var(--cre8-color-content-inverse-link-active)}.cre8-c-link--inverted:focus{outline:none}.cre8-c-link--inverted:focus .cre8-c-link__icon{background-color:var(--cre8-color-bg-inverse-active);fill:var(--cre8-color-content-inverse-link-focus)}.cre8-c-link--inverted:focus .cre8-c-link__text,.cre8-c-link--inverted:focus .cre8-c-link__text-area{background-color:var(--cre8-color-bg-inverse-active);color:var(--cre8-color-content-inverse-link-focus)}.cre8-c-link--inverted:focus .cre8-c-link__cta-wrapper{background-color:var(--cre8-color-content-inverse-link);color:var(--cre8-color-content-inverse-link-focus);outline:var(--cre8-border-width-focus) var(--cre8-border-style-default) var(--cre8-color-content-inverse-link);outline-offset:0.125rem}cre8-icon{display:flex;align-items:center}`;\nexport default styles;\n"]}
@@ -1,49 +1,52 @@
1
- import { css as d, html as p } from "lit";
2
- import { property as r } from "lit/decorators.js";
3
- import { Cre8Element as m } from "../cre8-element.js";
4
- const h = d`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}.cre8-c-link-list{font-family:var(--cre8-typography-body-default-font-family);font-size:var(--cre8-typography-body-default-font-size);font-weight:var(--cre8-typography-body-default-font-weight);line-height:var(--cre8-typography-body-default-line-height);text-decoration:var(--cre8-typography-body-default-text-decoration);text-transform:var(--cre8-typography-body-default-text-transform);display:flex;flex-direction:column;padding:0;margin-top:-1rem;list-style:none}.cre8-c-link-list ::slotted(cre8-link-list-item){margin-top:1rem}.cre8-c-link-list--secondary{--cre8-link-list-item-active-text-color: var(--cre8-color-content-default);color:var(--cre8-color-content-subtle)}.cre8-c-link-list--inverted{--cre8-link-list-link-color: var(--cre8-color-content-knockout)}.cre8-c-link-list--display{color:var(--cre8-color-content-strong)}.cre8-c-link-list--condensed{margin-top:-0.625rem}.cre8-c-link-list--condensed ::slotted(cre8-link-list-item){margin-top:0.625rem}.cre8-c-link-list--sm{font-family:var(--cre8-typography-body-small-font-family);font-size:var(--cre8-typography-body-small-font-size);font-weight:var(--cre8-typography-body-small-font-weight);line-height:var(--cre8-typography-body-small-line-height);text-decoration:var(--cre8-typography-body-small-text-decoration);text-transform:var(--cre8-typography-body-small-text-transform)}.cre8-c-link-list--horizontal{flex-direction:row;flex-wrap:wrap;margin:-0.5rem 0 0 -1rem}.cre8-c-link-list--horizontal ::slotted(cre8-link-list-item){margin-top:0.5rem;margin-left:1rem}@media all and (max-width: 768px){.cre8-c-link-list--responsive{flex-direction:row;flex-wrap:wrap;margin:-0.5rem 0 0 -1rem}.cre8-c-link-list--responsive ::slotted(cre8-link-list-item){margin-top:0.5rem;margin-left:1rem}}`;
5
- var f = Object.defineProperty, i = (s, a, n, y) => {
6
- for (var t = void 0, l = s.length - 1, c; l >= 0; l--)
7
- (c = s[l]) && (t = c(a, n, t) || t);
8
- return t && f(a, n, t), t;
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;
9
6
  };
10
- const o = class o extends m {
11
- render() {
12
- const a = this.componentClassNames("cre8-c-link-list", {
13
- "cre8-c-link-list--secondary": this.variant === "secondary",
14
- "cre8-c-link-list--display": this.variant === "display",
15
- "cre8-c-link-list--inverted": this.inverted === !0,
16
- "cre8-c-link-list--responsive": this.behavior === "responsive",
17
- "cre8-c-link-list--horizontal": this.behavior === "horizontal",
18
- "cre8-c-link-list--condensed": this.spacing === "condensed",
19
- "cre8-c-link-list--sm": this.size === "sm"
20
- });
21
- return p`
22
- <ul class="${a}">
7
+ import { html, } from 'lit';
8
+ import { property } from 'lit/decorators.js';
9
+ import { Cre8Element } from '../cre8-element';
10
+ import styles from './link-list.styles.js';
11
+ /**
12
+ * @slot - The link list items
13
+ */
14
+ export class Cre8LinkList extends Cre8Element {
15
+ render() {
16
+ const componentClassName = this.componentClassNames('cre8-c-link-list', {
17
+ 'cre8-c-link-list--secondary': this.variant === 'secondary',
18
+ 'cre8-c-link-list--display': this.variant === 'display',
19
+ 'cre8-c-link-list--inverted': this.inverted === true,
20
+ 'cre8-c-link-list--responsive': this.behavior === 'responsive',
21
+ 'cre8-c-link-list--horizontal': this.behavior === 'horizontal',
22
+ 'cre8-c-link-list--condensed': this.spacing === 'condensed',
23
+ 'cre8-c-link-list--sm': this.size === 'sm',
24
+ });
25
+ return html `
26
+ <ul class="${componentClassName}">
23
27
  <slot></slot>
24
28
  </ul>
25
29
  `;
26
- }
27
- };
28
- o.styles = [h];
29
- let e = o;
30
- i([
31
- r()
32
- ], e.prototype, "behavior");
33
- i([
34
- r({ type: Boolean, reflect: !0 })
35
- ], e.prototype, "inverted");
36
- i([
37
- r()
38
- ], e.prototype, "size");
39
- i([
40
- r()
41
- ], e.prototype, "spacing");
42
- i([
43
- r()
44
- ], e.prototype, "variant");
45
- customElements.get("cre8-link-list") === void 0 && customElements.define("cre8-link-list", e);
46
- export {
47
- e as Cre8LinkList,
48
- e as default
49
- };
30
+ }
31
+ }
32
+ Cre8LinkList.styles = [styles];
33
+ __decorate([
34
+ property()
35
+ ], Cre8LinkList.prototype, "behavior", void 0);
36
+ __decorate([
37
+ property({ type: Boolean, reflect: true })
38
+ ], Cre8LinkList.prototype, "inverted", void 0);
39
+ __decorate([
40
+ property()
41
+ ], Cre8LinkList.prototype, "size", void 0);
42
+ __decorate([
43
+ property()
44
+ ], Cre8LinkList.prototype, "spacing", void 0);
45
+ __decorate([
46
+ property()
47
+ ], Cre8LinkList.prototype, "variant", void 0);
48
+ if (customElements.get('cre8-link-list') === undefined) {
49
+ customElements.define('cre8-link-list', Cre8LinkList);
50
+ }
51
+ export default Cre8LinkList;
52
+ //# sourceMappingURL=link-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-list.js","sourceRoot":"","sources":["../../../components/link-list/link-list.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,GAAI,MAAM,KAAK,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAwC3C,MAAM;QACF,MAAM,kBAAkB,GAAG,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,EAAE;YACpE,6BAA6B,EAAE,IAAI,CAAC,OAAO,KAAK,WAAW;YAC3D,2BAA2B,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS;YACvD,4BAA4B,EAAE,IAAI,CAAC,QAAQ,KAAK,IAAI;YACpD,8BAA8B,EAAE,IAAI,CAAC,QAAQ,KAAK,YAAY;YAC9D,8BAA8B,EAAE,IAAI,CAAC,QAAQ,KAAK,YAAY;YAC9D,6BAA6B,EAAE,IAAI,CAAC,OAAO,KAAK,WAAW;YAC3D,sBAAsB,EAAE,IAAI,CAAC,IAAI,KAAK,IAAI;SAC7C,CAAC,CAAC;QAEH,OAAO,IAAI,CAAA;mBACE,kBAAkB;;;KAGhC,CAAC;IACJ,CAAC;;AAvDQ,mBAAM,GAAG,CAAC,MAAM,CAAC,CAAC;AAQvB;IADH,QAAQ,EAAE;8CACgC;AAOvC;IADH,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CACpB;AAOnB;IADH,QAAQ,EAAE;0CACK;AAOZ;IADH,QAAQ,EAAE;6CACe;AAQtB;IADH,QAAQ,EAAE;6CAC2B;AAqBxC,IAAI,cAAc,CAAC,GAAG,CAAC,gBAAgB,CAAC,KAAK,SAAS,EAAE,CAAC;IACrD,cAAc,CAAC,MAAM,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;AAC1D,CAAC;AAQD,eAAe,YAAY,CAAC","sourcesContent":["import { html, } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { Cre8Element } from '../cre8-element';\nimport styles from './link-list.styles.js';\n\n/**\n * @slot - The link list items\n */\nexport class Cre8LinkList extends Cre8Element {\n static styles = [styles];\n\n /**\n * Behavioral variant\n * - **responsive** renders a horizontal wrapping link list that converts to a stacked link list on large screens\n * - **horizontal** renders a horizontal wrapping link list on all screens\n */\n @property()\n behavior?: 'responsive' | 'horizontal';\n\n /**\n * Inverted variant\n * 1. Used for dark backgrounds\n */\n @property({ type: Boolean, reflect: true })\n inverted?: boolean;\n\n /**\n * Size variants\n * - **sm** renders a link list with a smaller typography\n */\n @property()\n size?: 'sm';\n\n /**\n * Spacing between link list items\n * - **condensed** renders a link list with a more compact display\n */\n @property()\n spacing?: 'condensed';\n\n /**\n * Style variants\n * - **secondary** renders a link list with a more subtle visual treatment\n * - **display** renders a link list with a display treatment (e.g. article title)\n */\n @property()\n variant?: 'secondary' | 'display';\n\n render() {\n const componentClassName = this.componentClassNames('cre8-c-link-list', {\n 'cre8-c-link-list--secondary': this.variant === 'secondary',\n 'cre8-c-link-list--display': this.variant === 'display',\n 'cre8-c-link-list--inverted': this.inverted === true,\n 'cre8-c-link-list--responsive': this.behavior === 'responsive',\n 'cre8-c-link-list--horizontal': this.behavior === 'horizontal',\n 'cre8-c-link-list--condensed': this.spacing === 'condensed',\n 'cre8-c-link-list--sm': this.size === 'sm',\n });\n\n return html`\n <ul class=\"${componentClassName}\">\n <slot></slot>\n </ul>\n `;\n }\n}\n\nif (customElements.get('cre8-link-list') === undefined) {\n customElements.define('cre8-link-list', Cre8LinkList);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'cre8-link-list': Cre8LinkList;\n }\n}\n\nexport default Cre8LinkList;\n"]}
@@ -0,0 +1,4 @@
1
+ import { css } from 'lit';
2
+ const styles = css `*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}.cre8-c-link-list{font-family:var(--cre8-typography-body-default-font-family);font-size:var(--cre8-typography-body-default-font-size);font-weight:var(--cre8-typography-body-default-font-weight);line-height:var(--cre8-typography-body-default-line-height);text-decoration:var(--cre8-typography-body-default-text-decoration);text-transform:var(--cre8-typography-body-default-text-transform);display:flex;flex-direction:column;padding:0;margin-top:-1rem;list-style:none}.cre8-c-link-list ::slotted(cre8-link-list-item){margin-top:1rem}.cre8-c-link-list--secondary{--cre8-link-list-item-active-text-color: var(--cre8-color-content-default);color:var(--cre8-color-content-subtle)}.cre8-c-link-list--inverted{--cre8-link-list-link-color: var(--cre8-color-content-knockout)}.cre8-c-link-list--display{color:var(--cre8-color-content-strong)}.cre8-c-link-list--condensed{margin-top:-0.625rem}.cre8-c-link-list--condensed ::slotted(cre8-link-list-item){margin-top:0.625rem}.cre8-c-link-list--sm{font-family:var(--cre8-typography-body-small-font-family);font-size:var(--cre8-typography-body-small-font-size);font-weight:var(--cre8-typography-body-small-font-weight);line-height:var(--cre8-typography-body-small-line-height);text-decoration:var(--cre8-typography-body-small-text-decoration);text-transform:var(--cre8-typography-body-small-text-transform)}.cre8-c-link-list--horizontal{flex-direction:row;flex-wrap:wrap;margin:-0.5rem 0 0 -1rem}.cre8-c-link-list--horizontal ::slotted(cre8-link-list-item){margin-top:0.5rem;margin-left:1rem}@media all and (max-width: 768px){.cre8-c-link-list--responsive{flex-direction:row;flex-wrap:wrap;margin:-0.5rem 0 0 -1rem}.cre8-c-link-list--responsive ::slotted(cre8-link-list-item){margin-top:0.5rem;margin-left:1rem}}`;
3
+ export default styles;
4
+ //# sourceMappingURL=link-list.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-list.styles.js","sourceRoot":"","sources":["../../../components/link-list/link-list.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,MAAM,GAAG,GAAG,CAAA,69GAA69G,CAAC;AACh/G,eAAe,MAAM,CAAC","sourcesContent":["import { css } from 'lit';\nconst styles = css`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}.cre8-c-link-list{font-family:var(--cre8-typography-body-default-font-family);font-size:var(--cre8-typography-body-default-font-size);font-weight:var(--cre8-typography-body-default-font-weight);line-height:var(--cre8-typography-body-default-line-height);text-decoration:var(--cre8-typography-body-default-text-decoration);text-transform:var(--cre8-typography-body-default-text-transform);display:flex;flex-direction:column;padding:0;margin-top:-1rem;list-style:none}.cre8-c-link-list ::slotted(cre8-link-list-item){margin-top:1rem}.cre8-c-link-list--secondary{--cre8-link-list-item-active-text-color: var(--cre8-color-content-default);color:var(--cre8-color-content-subtle)}.cre8-c-link-list--inverted{--cre8-link-list-link-color: var(--cre8-color-content-knockout)}.cre8-c-link-list--display{color:var(--cre8-color-content-strong)}.cre8-c-link-list--condensed{margin-top:-0.625rem}.cre8-c-link-list--condensed ::slotted(cre8-link-list-item){margin-top:0.625rem}.cre8-c-link-list--sm{font-family:var(--cre8-typography-body-small-font-family);font-size:var(--cre8-typography-body-small-font-size);font-weight:var(--cre8-typography-body-small-font-weight);line-height:var(--cre8-typography-body-small-line-height);text-decoration:var(--cre8-typography-body-small-text-decoration);text-transform:var(--cre8-typography-body-small-text-transform)}.cre8-c-link-list--horizontal{flex-direction:row;flex-wrap:wrap;margin:-0.5rem 0 0 -1rem}.cre8-c-link-list--horizontal ::slotted(cre8-link-list-item){margin-top:0.5rem;margin-left:1rem}@media all and (max-width: 768px){.cre8-c-link-list--responsive{flex-direction:row;flex-wrap:wrap;margin:-0.5rem 0 0 -1rem}.cre8-c-link-list--responsive ::slotted(cre8-link-list-item){margin-top:0.5rem;margin-left:1rem}}`;\nexport default styles;\n"]}