@tmorrow/cre8-wc 2.0.3 → 2.0.5

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 (223) hide show
  1. package/a2ui/build-knowledge-graph.py +297 -0
  2. package/a2ui/catalog +240 -0
  3. package/a2ui/catalog-kg.json +6704 -0
  4. package/a2ui/catalog.json +6114 -0
  5. package/a2ui/catalog.svg +3295 -0
  6. package/a2ui/demo.html +243 -0
  7. package/a2ui/examples/card-gallery.json +786 -0
  8. package/a2ui/examples/dating-grid.json +456 -0
  9. package/a2ui/examples/llm-observability.json +1719 -0
  10. package/a2ui/examples/portfolio.json +341 -0
  11. package/a2ui/generate-catalog.mjs +246 -0
  12. package/a2ui/index.d.ts +4 -0
  13. package/a2ui/index.js +2 -0
  14. package/a2ui/index.ts +12 -0
  15. package/a2ui/registry.d.ts +3 -0
  16. package/a2ui/registry.js +166 -0
  17. package/a2ui/registry.ts +182 -0
  18. package/a2ui/renderer.d.ts +7 -0
  19. package/a2ui/renderer.js +108 -0
  20. package/a2ui/renderer.ts +156 -0
  21. package/a2ui/smoke-test.mjs +238 -0
  22. package/a2ui/types.d.ts +75 -0
  23. package/a2ui/types.js +1 -0
  24. package/a2ui/types.ts +80 -0
  25. package/cdn/cre8-wc.esm.js +3057 -2438
  26. package/cdn/cre8-wc.esm.js.map +1 -1
  27. package/cdn/cre8-wc.min.js +1801 -1204
  28. package/cdn/cre8-wc.min.js.map +1 -1
  29. package/lib/a2ui/index.d.ts +5 -0
  30. package/lib/a2ui/index.d.ts.map +1 -0
  31. package/lib/a2ui/index.js +3 -0
  32. package/lib/a2ui/index.js.map +1 -0
  33. package/lib/a2ui/registry.d.ts +4 -0
  34. package/lib/a2ui/registry.d.ts.map +1 -0
  35. package/lib/a2ui/registry.js +167 -0
  36. package/lib/a2ui/registry.js.map +1 -0
  37. package/lib/a2ui/renderer.d.ts +8 -0
  38. package/lib/a2ui/renderer.d.ts.map +1 -0
  39. package/lib/a2ui/renderer.js +109 -0
  40. package/lib/a2ui/renderer.js.map +1 -0
  41. package/lib/a2ui/types.d.ts +76 -0
  42. package/lib/a2ui/types.d.ts.map +1 -0
  43. package/lib/a2ui/types.js +2 -0
  44. package/lib/a2ui/types.js.map +1 -0
  45. package/lib/components/accordion/accordion.d.ts +1 -0
  46. package/lib/components/accordion/accordion.d.ts.map +1 -1
  47. package/lib/components/accordion/accordion.js +1 -0
  48. package/lib/components/accordion/accordion.js.map +1 -1
  49. package/lib/components/accordion-item/accordion-item.d.ts +1 -0
  50. package/lib/components/accordion-item/accordion-item.d.ts.map +1 -1
  51. package/lib/components/accordion-item/accordion-item.js +1 -0
  52. package/lib/components/accordion-item/accordion-item.js.map +1 -1
  53. package/lib/components/alert/alert.d.ts +6 -0
  54. package/lib/components/alert/alert.d.ts.map +1 -1
  55. package/lib/components/alert/alert.js +6 -0
  56. package/lib/components/alert/alert.js.map +1 -1
  57. package/lib/components/button/button.d.ts +2 -0
  58. package/lib/components/button/button.d.ts.map +1 -1
  59. package/lib/components/button/button.js +2 -0
  60. package/lib/components/button/button.js.map +1 -1
  61. package/lib/components/button/button.styles.d.ts.map +1 -1
  62. package/lib/components/button/button.styles.js +1120 -557
  63. package/lib/components/button/button.styles.js.map +1 -1
  64. package/lib/components/button-group/button-group.d.ts +9 -0
  65. package/lib/components/button-group/button-group.d.ts.map +1 -1
  66. package/lib/components/button-group/button-group.js +8 -0
  67. package/lib/components/button-group/button-group.js.map +1 -1
  68. package/lib/components/button-group/button-group.styles.d.ts.map +1 -1
  69. package/lib/components/button-group/button-group.styles.js +12 -0
  70. package/lib/components/button-group/button-group.styles.js.map +1 -1
  71. package/lib/components/card/card.d.ts +1 -1
  72. package/lib/components/card/card.d.ts.map +1 -1
  73. package/lib/components/card/card.js +1 -0
  74. package/lib/components/card/card.js.map +1 -1
  75. package/lib/components/card/card.styles.d.ts.map +1 -1
  76. package/lib/components/card/card.styles.js +8 -0
  77. package/lib/components/card/card.styles.js.map +1 -1
  78. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts +6 -0
  79. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -1
  80. package/lib/components/checkbox-field-item/checkbox-field-item.js +6 -0
  81. package/lib/components/checkbox-field-item/checkbox-field-item.js.map +1 -1
  82. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js +1 -1
  83. package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -1
  84. package/lib/components/date-picker/date-picker.d.ts +5 -0
  85. package/lib/components/date-picker/date-picker.d.ts.map +1 -1
  86. package/lib/components/date-picker/date-picker.js +12 -10
  87. package/lib/components/date-picker/date-picker.js.map +1 -1
  88. package/lib/components/dropdown/dropdown.d.ts +2 -0
  89. package/lib/components/dropdown/dropdown.d.ts.map +1 -1
  90. package/lib/components/dropdown/dropdown.js +2 -0
  91. package/lib/components/dropdown/dropdown.js.map +1 -1
  92. package/lib/components/dropdown-item/dropdown-item.d.ts +8 -0
  93. package/lib/components/dropdown-item/dropdown-item.d.ts.map +1 -1
  94. package/lib/components/dropdown-item/dropdown-item.js +15 -2
  95. package/lib/components/dropdown-item/dropdown-item.js.map +1 -1
  96. package/lib/components/feature/feature.d.ts +4 -0
  97. package/lib/components/feature/feature.d.ts.map +1 -1
  98. package/lib/components/feature/feature.js +4 -1
  99. package/lib/components/feature/feature.js.map +1 -1
  100. package/lib/components/field/field.d.ts +2 -0
  101. package/lib/components/field/field.d.ts.map +1 -1
  102. package/lib/components/field/field.js +3 -0
  103. package/lib/components/field/field.js.map +1 -1
  104. package/lib/components/global-nav-item/global-nav-item.d.ts +2 -0
  105. package/lib/components/global-nav-item/global-nav-item.d.ts.map +1 -1
  106. package/lib/components/global-nav-item/global-nav-item.js +2 -0
  107. package/lib/components/global-nav-item/global-nav-item.js.map +1 -1
  108. package/lib/components/header/header.d.ts +2 -0
  109. package/lib/components/header/header.d.ts.map +1 -1
  110. package/lib/components/header/header.js +2 -0
  111. package/lib/components/header/header.js.map +1 -1
  112. package/lib/components/hero/hero.d.ts +4 -0
  113. package/lib/components/hero/hero.d.ts.map +1 -1
  114. package/lib/components/hero/hero.js +4 -0
  115. package/lib/components/hero/hero.js.map +1 -1
  116. package/lib/components/hero/hero.styles.d.ts.map +1 -1
  117. package/lib/components/hero/hero.styles.js +13 -0
  118. package/lib/components/hero/hero.styles.js.map +1 -1
  119. package/lib/components/icon/icon.d.ts +3 -0
  120. package/lib/components/icon/icon.d.ts.map +1 -1
  121. package/lib/components/icon/icon.js +7 -5
  122. package/lib/components/icon/icon.js.map +1 -1
  123. package/lib/components/link/link.d.ts +2 -0
  124. package/lib/components/link/link.d.ts.map +1 -1
  125. package/lib/components/link/link.js +2 -0
  126. package/lib/components/link/link.js.map +1 -1
  127. package/lib/components/link-list-item/link-list-item.d.ts +2 -0
  128. package/lib/components/link-list-item/link-list-item.d.ts.map +1 -1
  129. package/lib/components/link-list-item/link-list-item.js +2 -0
  130. package/lib/components/link-list-item/link-list-item.js.map +1 -1
  131. package/lib/components/modal/modal.d.ts +4 -0
  132. package/lib/components/modal/modal.d.ts.map +1 -1
  133. package/lib/components/modal/modal.js +4 -0
  134. package/lib/components/modal/modal.js.map +1 -1
  135. package/lib/components/multi-select/multi-select.d.ts +4 -0
  136. package/lib/components/multi-select/multi-select.d.ts.map +1 -1
  137. package/lib/components/multi-select/multi-select.js +5 -2
  138. package/lib/components/multi-select/multi-select.js.map +1 -1
  139. package/lib/components/page-header/page-header.d.ts +1 -0
  140. package/lib/components/page-header/page-header.d.ts.map +1 -1
  141. package/lib/components/page-header/page-header.js +3 -2
  142. package/lib/components/page-header/page-header.js.map +1 -1
  143. package/lib/components/pagination/pagination.d.ts +7 -0
  144. package/lib/components/pagination/pagination.d.ts.map +1 -1
  145. package/lib/components/pagination/pagination.js +7 -0
  146. package/lib/components/pagination/pagination.js.map +1 -1
  147. package/lib/components/percent-bar/percent-bar.d.ts.map +1 -1
  148. package/lib/components/percent-bar/percent-bar.js +1 -0
  149. package/lib/components/percent-bar/percent-bar.js.map +1 -1
  150. package/lib/components/popover/popover.d.ts +6 -0
  151. package/lib/components/popover/popover.d.ts.map +1 -1
  152. package/lib/components/popover/popover.js +7 -1
  153. package/lib/components/popover/popover.js.map +1 -1
  154. package/lib/components/primary-nav-item/primary-nav-item.d.ts +2 -0
  155. package/lib/components/primary-nav-item/primary-nav-item.d.ts.map +1 -1
  156. package/lib/components/primary-nav-item/primary-nav-item.js +2 -0
  157. package/lib/components/primary-nav-item/primary-nav-item.js.map +1 -1
  158. package/lib/components/remove-tag/remove-tag.d.ts +2 -0
  159. package/lib/components/remove-tag/remove-tag.d.ts.map +1 -1
  160. package/lib/components/remove-tag/remove-tag.js +3 -1
  161. package/lib/components/remove-tag/remove-tag.js.map +1 -1
  162. package/lib/components/section/section.d.ts +1 -0
  163. package/lib/components/section/section.d.ts.map +1 -1
  164. package/lib/components/section/section.js +1 -0
  165. package/lib/components/section/section.js.map +1 -1
  166. package/lib/components/select/select.d.ts +2 -0
  167. package/lib/components/select/select.d.ts.map +1 -1
  168. package/lib/components/select/select.js +5 -1
  169. package/lib/components/select/select.js.map +1 -1
  170. package/lib/components/split-button/split-button.d.ts +3 -0
  171. package/lib/components/split-button/split-button.d.ts.map +1 -1
  172. package/lib/components/split-button/split-button.js.map +1 -1
  173. package/lib/components/tab/tab.d.ts +2 -0
  174. package/lib/components/tab/tab.d.ts.map +1 -1
  175. package/lib/components/tab/tab.js +2 -0
  176. package/lib/components/tab/tab.js.map +1 -1
  177. package/lib/components/table-object/table-object.d.ts +2 -0
  178. package/lib/components/table-object/table-object.d.ts.map +1 -1
  179. package/lib/components/table-object/table-object.js +2 -0
  180. package/lib/components/table-object/table-object.js.map +1 -1
  181. package/lib/components/table-row/table-row.d.ts +1 -0
  182. package/lib/components/table-row/table-row.d.ts.map +1 -1
  183. package/lib/components/table-row/table-row.js +1 -0
  184. package/lib/components/table-row/table-row.js.map +1 -1
  185. package/lib/components/tag/tag.d.ts +5 -0
  186. package/lib/components/tag/tag.d.ts.map +1 -1
  187. package/lib/components/tag/tag.js +2 -0
  188. package/lib/components/tag/tag.js.map +1 -1
  189. package/lib/components/tag-list/tag-list.d.ts +2 -0
  190. package/lib/components/tag-list/tag-list.d.ts.map +1 -1
  191. package/lib/components/tag-list/tag-list.js +2 -0
  192. package/lib/components/tag-list/tag-list.js.map +1 -1
  193. package/lib/components/text-link/text-link.d.ts +1 -0
  194. package/lib/components/text-link/text-link.d.ts.map +1 -1
  195. package/lib/components/text-link/text-link.js +1 -0
  196. package/lib/components/text-link/text-link.js.map +1 -1
  197. package/lib/components/tooltip/tooltip.d.ts +6 -0
  198. package/lib/components/tooltip/tooltip.d.ts.map +1 -1
  199. package/lib/components/tooltip/tooltip.js +3 -0
  200. package/lib/components/tooltip/tooltip.js.map +1 -1
  201. package/lib/design-tokens/brands/claude-terracotta/css/tokens_brand.css +85 -0
  202. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.css +1 -0
  203. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.d.ts +3 -0
  204. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.d.ts.map +1 -0
  205. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.js +90 -0
  206. package/lib/design-tokens/brands/claude-terracotta/css/tokens_claude-terracotta.module.js.map +1 -0
  207. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_brand.css +1 -0
  208. package/lib/design-tokens/brands/cre8-teal/css/tokens_brand.css +87 -0
  209. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.css +1 -0
  210. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.d.ts +3 -0
  211. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.d.ts.map +1 -0
  212. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.js +90 -0
  213. package/lib/design-tokens/brands/cre8-teal/css/tokens_cre8-teal.module.js.map +1 -0
  214. package/lib/scripts/generate-react-manifest.d.ts +20 -0
  215. package/lib/scripts/generate-react-manifest.d.ts.map +1 -0
  216. package/lib/scripts/generate-react-manifest.js +154 -0
  217. package/lib/scripts/generate-react-manifest.js.map +1 -0
  218. package/mcp-manifest.json +203 -38
  219. package/package.json +24 -4
  220. package/react-manifest.json +3594 -0
  221. package/dist/leaf.png +0 -0
  222. package/dist/leafDS.png +0 -0
  223. package/dist/leafLogo.svg +0 -1
@@ -1,33 +1,619 @@
1
- import { css } from "lit";
2
- const styles = css `
3
- @import '../../design-tokens/core/scss/theming/component';
1
+ import { css } from 'lit';
2
+ const styles = css `@charset "UTF-8";
3
+ .cre8-u-content-knockout-brand {
4
+ color: var(----cre8-color-content-knockout-brand);
5
+ }
6
+
7
+ .cre8-u-is-hidden {
8
+ display: none !important;
9
+ visibility: hidden !important;
10
+ }
11
+
12
+ .cre8-u-is-vishidden {
13
+ position: absolute !important;
14
+ overflow: hidden;
15
+ width: 1px;
16
+ height: 1px;
17
+ padding: 0;
18
+ border: 0;
19
+ clip: rect(1px, 1px, 1px, 1px);
20
+ }
21
+
22
+ @media all and (min-width: 23.4375rem) {
23
+ .cre8-u-hide-sm {
24
+ display: none !important;
25
+ }
26
+ }
27
+ @media all and (min-width: 35rem) {
28
+ .cre8-u-hide-sm-2 {
29
+ display: none !important;
30
+ }
31
+ }
32
+ @media all and (min-width: 48rem) {
33
+ .cre8-u-hide-md {
34
+ display: none !important;
35
+ }
36
+ }
37
+ @media all and (min-width: 60rem) {
38
+ .cre8-u-hide-lg {
39
+ display: none !important;
40
+ }
41
+ }
42
+ @media all and (min-width: 75rem) {
43
+ .cre8-u-hide-xl {
44
+ display: none !important;
45
+ }
46
+ }
47
+ @media all and (max-width: 23.4375rem) {
48
+ .cre8-u-show-sm {
49
+ display: none !important;
50
+ }
51
+ }
52
+ @media all and (max-width: 35rem) {
53
+ .cre8-u-show-sm-2 {
54
+ display: none !important;
55
+ }
56
+ }
57
+ @media all and (max-width: 48rem) {
58
+ .cre8-u-show-md {
59
+ display: none !important;
60
+ }
61
+ }
62
+ @media all and (max-width: 60rem) {
63
+ .cre8-u-show-lg {
64
+ display: none !important;
65
+ }
66
+ }
67
+ @media all and (max-width: 75rem) {
68
+ .cre8-u-show-xl {
69
+ display: none !important;
70
+ }
71
+ }
72
+ .cre8-u-margin-none {
73
+ margin: 0 !important;
74
+ }
75
+
76
+ .cre8-u-margin-sm {
77
+ margin: size(1) !important;
78
+ }
79
+
80
+ .cre8-u-margin-md {
81
+ margin: size(2) !important;
82
+ }
83
+
84
+ .cre8-u-margin-lg {
85
+ margin: size(3) !important;
86
+ }
87
+
88
+ .cre8-u-margin-xl {
89
+ margin: size(4) !important;
90
+ }
91
+
92
+ .cre8-u-margin-xxl {
93
+ margin: size(8) !important;
94
+ }
95
+
96
+ .cre8-u-margin-top-none {
97
+ margin-top: 0 !important;
98
+ }
99
+
100
+ .cre8-u-margin-top-sm {
101
+ margin-top: size(1) !important;
102
+ }
103
+
104
+ .cre8-u-margin-top-md {
105
+ margin-top: size(2) !important;
106
+ }
107
+
108
+ .cre8-u-margin-top-lg {
109
+ margin-top: size(3) !important;
110
+ }
111
+
112
+ .cre8-u-margin-top-xl {
113
+ margin-top: size(4) !important;
114
+ }
115
+
116
+ .cre8-u-margin-top-xxl {
117
+ margin-top: size(8) !important;
118
+ }
119
+
120
+ .cre8-u-margin-right-none {
121
+ margin-right: 0 !important;
122
+ }
123
+
124
+ .cre8-u-margin-right-sm {
125
+ margin-right: size(1) !important;
126
+ }
127
+
128
+ .cre8-u-margin-right-md {
129
+ margin-right: size(2) !important;
130
+ }
131
+
132
+ .cre8-u-margin-right-lg {
133
+ margin-right: size(3) !important;
134
+ }
135
+
136
+ .cre8-u-margin-right-xl {
137
+ margin-right: size(4) !important;
138
+ }
139
+
140
+ .cre8-u-margin-right-xxl {
141
+ margin-right: size(8) !important;
142
+ }
143
+
144
+ .cre8-u-margin-bottom-none {
145
+ margin-bottom: 0 !important;
146
+ }
147
+
148
+ .cre8-u-margin-bottom-sm {
149
+ margin-bottom: size(1) !important;
150
+ }
151
+
152
+ .cre8-u-margin-bottom-md {
153
+ margin-bottom: size(2) !important;
154
+ }
155
+
156
+ .cre8-u-margin-bottom-lg {
157
+ margin-bottom: size(3) !important;
158
+ }
159
+
160
+ .cre8-u-margin-bottom-xl {
161
+ margin-bottom: size(4) !important;
162
+ }
163
+
164
+ .cre8-u-margin-bottom-xxl {
165
+ margin-bottom: size(8) !important;
166
+ }
167
+
168
+ .cre8-u-margin-bottom-xl-xxl {
169
+ margin-bottom: size(4) !important;
170
+ }
171
+
172
+ @media all and (min-width: 768px) {
173
+ .cre8-u-margin-bottom-xl-xxl {
174
+ margin-bottom: size(8) !important;
175
+ }
176
+ }
177
+ .cre8-u-margin-left-none {
178
+ margin-left: 0 !important;
179
+ }
180
+
181
+ .cre8-u-margin-left-sm {
182
+ margin-left: size(1) !important;
183
+ }
184
+
185
+ .cre8-u-margin-left-md {
186
+ margin-left: size(2) !important;
187
+ }
188
+
189
+ .cre8-u-margin-left-lg {
190
+ margin-left: size(3) !important;
191
+ }
192
+
193
+ .cre8-u-margin-left-xl {
194
+ margin-left: size(4) !important;
195
+ }
196
+
197
+ .cre8-u-margin-left-xxl {
198
+ margin-left: size(8) !important;
199
+ }
200
+
201
+ .cre8-u-padding-none {
202
+ padding: 0 !important;
203
+ }
204
+
205
+ .cre8-u-padding-sm {
206
+ padding: size(1) !important;
207
+ }
208
+
209
+ .cre8-u-padding-md {
210
+ padding: size(2) !important;
211
+ }
212
+
213
+ .cre8-u-padding-lg {
214
+ padding: size(3) !important;
215
+ }
216
+
217
+ .cre8-u-padding-xl {
218
+ padding: size(4) !important;
219
+ }
220
+
221
+ .cre8-u-padding-xxl {
222
+ padding: size(8) !important;
223
+ }
224
+
225
+ .cre8-u-padding-top-none {
226
+ padding-top: 0 !important;
227
+ }
228
+
229
+ .cre8-u-padding-top-sm {
230
+ padding-top: size(1) !important;
231
+ }
232
+
233
+ .cre8-u-padding-top-md {
234
+ padding-top: size(2) !important;
235
+ }
236
+
237
+ .cre8-u-padding-top-lg {
238
+ padding-top: size(3) !important;
239
+ }
240
+
241
+ .cre8-u-padding-top-xl {
242
+ padding-top: size(4) !important;
243
+ }
244
+
245
+ .cre8-u-padding-top-xxl {
246
+ padding-top: size(8) !important;
247
+ }
248
+
249
+ .cre8-u-padding-right-none {
250
+ padding-right: 0 !important;
251
+ }
252
+
253
+ .cre8-u-padding-right-sm {
254
+ padding-right: size(1) !important;
255
+ }
256
+
257
+ .cre8-u-padding-right-md {
258
+ padding-right: size(2) !important;
259
+ }
260
+
261
+ .cre8-u-padding-right-lg {
262
+ padding-right: size(3) !important;
263
+ }
264
+
265
+ .cre8-u-padding-right-xl {
266
+ padding-right: size(4) !important;
267
+ }
268
+
269
+ .cre8-u-padding-right-xxl {
270
+ padding-right: size(8) !important;
271
+ }
272
+
273
+ .cre8-u-padding-bottom-none {
274
+ padding-bottom: 0 !important;
275
+ }
276
+
277
+ .cre8-u-padding-bottom-sm {
278
+ padding-bottom: size(1) !important;
279
+ }
280
+
281
+ .cre8-u-padding-bottom-md {
282
+ padding-bottom: size(2) !important;
283
+ }
284
+
285
+ .cre8-u-padding-bottom-lg {
286
+ padding-bottom: size(3) !important;
287
+ }
288
+
289
+ .cre8-u-padding-bottom-xl {
290
+ padding-bottom: size(4) !important;
291
+ }
292
+
293
+ .cre8-u-padding-bottom-xxl {
294
+ padding-bottom: size(8) !important;
295
+ }
296
+
297
+ .cre8-u-padding-left-none {
298
+ padding-left: 0 !important;
299
+ }
300
+
301
+ .cre8-u-padding-left-sm {
302
+ padding-left: size(1) !important;
303
+ }
304
+
305
+ .cre8-u-padding-left-md {
306
+ padding-left: size(2) !important;
307
+ }
308
+
309
+ .cre8-u-padding-left-lg {
310
+ padding-left: size(3) !important;
311
+ }
312
+
313
+ .cre8-u-padding-left-xl {
314
+ padding-left: size(4) !important;
315
+ }
316
+
317
+ .cre8-u-padding-left-xxl {
318
+ padding-left: size(8) !important;
319
+ }
4
320
 
321
+ .cre8-u-display-flex {
322
+ display: flex !important;
323
+ }
324
+
325
+ .cre8-u-display-block {
326
+ display: block !important;
327
+ }
328
+
329
+ body {
330
+ font-family: var(--cre8-typography-body-default-font-family);
331
+ font-size: var(--cre8-typography-body-default-font-size);
332
+ font-weight: var(--cre8-typography-body-default-font-weight);
333
+ line-height: var(--cre8-typography-body-default-line-height);
334
+ -webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
335
+ text-decoration: var(--cre8-typography-body-default-text-decoration);
336
+ text-transform: var(--cre8-typography-body-default-text-transform);
337
+ display: flex;
338
+ flex-direction: column;
339
+ padding: 0;
340
+ margin: 0;
341
+ color: var(--cre8-color-content-default);
342
+ background: var(--background-default);
343
+ }
344
+
345
+ @media all and (min-width: 60rem) {
346
+ .page-container {
347
+ background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
348
+ }
349
+ }
350
+ .band__inner {
351
+ margin-left: 2rem;
352
+ margin-right: 2rem;
353
+ }
354
+
355
+ @media all and (min-width: 60rem) {
356
+ .band__inner {
357
+ margin-right: 0;
358
+ }
359
+ }
360
+ img {
361
+ max-width: 100%;
362
+ height: auto;
363
+ }
364
+
365
+ /**
366
+ * Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
367
+ */
368
+ *,
369
+ ::slotted(*),
370
+ *:before,
371
+ *:after {
372
+ box-sizing: border-box;
373
+ }
374
+
375
+ :root {
376
+ --size-base-unit: 0.5rem;
377
+ }
378
+
379
+ /**
380
+ * RTL support for values logical properties can't automatically adjust for
381
+ * 1) Percentage based horizontal translate values need to be flipped
382
+ * 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
383
+ * 3) Inverse items that have 45degs
384
+ */
385
+ [dir=rtl] {
386
+ --rtlTranslateX: 50%;
387
+ /* 1 */
388
+ --rtlGradientToRight: 270deg;
389
+ /* 2 */
390
+ --rtlRotate45Inverse: -45deg;
391
+ /* 3 */
392
+ }
393
+
394
+ /**
395
+ * Visible focus outline for elements on a light background
396
+ */
397
+ /**
398
+ * Visible focus outline for elements with an error status
399
+ */
400
+ /**
401
+ * Visible focus outline for elements on a dark background
402
+ */
403
+ /**
404
+ * Focus state for themes that need a dashed outline for focus
405
+ * state
406
+ **/
407
+ /**
408
+ * Invisible focus outline for elements that need a more visible
409
+ * focus state for high-contrast mode
410
+ */
411
+ /**
412
+ * Visually hidden from display
413
+ */
414
+ /*
415
+ =======
416
+ Animations
417
+ =======
418
+ */
419
+ :host {
420
+ --cre8-z-index-1: 1;
421
+ --cre8-z-index-50: 50;
422
+ --cre8-z-index-100: 100;
423
+ --cre8-z-index-200: 200;
424
+ --cre8-z-index-1030: 1030;
425
+ --cre8-anim-fade-quick: 0.35s;
426
+ --cre8-anim-ease: ease;
427
+ }
428
+
429
+ @keyframes fadeIn {
430
+ 100% {
431
+ opacity: 1;
432
+ }
433
+ }
434
+ @keyframes slideIn {
435
+ 100% {
436
+ transform: translateX(0);
437
+ }
438
+ }
439
+ @keyframes slideInFwd {
440
+ 100% {
441
+ width: 272px;
442
+ height: 272px;
443
+ }
444
+ }
445
+ @keyframes slideOutRight {
446
+ 100% {
447
+ width: 272px;
448
+ height: 272px;
449
+ }
450
+ }
451
+ @keyframes slideUp {
452
+ 100% {
453
+ transform: translateY(0);
454
+ }
455
+ }
456
+ @media (width >= 481px) {
457
+ @keyframes slideInFwd {
458
+ 100% {
459
+ width: 417px;
460
+ height: 417px;
461
+ }
462
+ }
463
+ @keyframes slideOutRight {
464
+ 100% {
465
+ width: 417px;
466
+ height: 417px;
467
+ }
468
+ }
469
+ }
470
+ @media (width >= 48rem) {
471
+ @keyframes slideInFwd {
472
+ 100% {
473
+ width: 330px;
474
+ height: 330px;
475
+ }
476
+ }
477
+ @keyframes slideOutRight {
478
+ 100% {
479
+ width: 330px;
480
+ height: 330px;
481
+ transform: translateX(calc(100vw - 45px));
482
+ }
483
+ }
484
+ }
485
+ @media (width >= 60rem) {
486
+ @keyframes slideInFwd {
487
+ 100% {
488
+ width: 460px;
489
+ height: 460px;
490
+ }
491
+ }
492
+ @keyframes slideOutRight {
493
+ 100% {
494
+ width: 460px;
495
+ height: 460px;
496
+ transform: translateX(calc(100vw - 45px));
497
+ }
498
+ }
499
+ }
500
+ @media (width >= 75rem) {
501
+ @keyframes slideInFwd {
502
+ 100% {
503
+ width: 592px;
504
+ height: 591px;
505
+ }
506
+ }
507
+ @keyframes slideOutRight {
508
+ 100% {
509
+ width: 592px;
510
+ height: 591px;
511
+ transform: translateX(calc(100vw - 45px));
512
+ }
513
+ }
514
+ }
515
+ @media (width >= 87.5rem) {
516
+ @keyframes slideOutRight {
517
+ 100% {
518
+ width: 592px;
519
+ height: 591px;
520
+ transform: translateX(calc(100vw - 120px));
521
+ }
522
+ }
523
+ }
524
+ @media (width >= 2200px) {
525
+ @keyframes slideOutRight {
526
+ 100% {
527
+ width: 592px;
528
+ height: 591px;
529
+ transform: translateX(calc(100vw - 592px));
530
+ }
531
+ }
532
+ }
533
+ span.ripple {
534
+ position: absolute;
535
+ border-radius: 50%;
536
+ transform: scale(0);
537
+ animation: ripple 600ms linear;
538
+ background-color: var(--ripple-bg-color);
539
+ }
540
+
541
+ @keyframes ripple {
542
+ to {
543
+ transform: scale(4);
544
+ opacity: 1;
545
+ }
546
+ }
547
+ :root {
548
+ --size-base-unit: 0.5rem;
549
+ }
550
+
551
+ /**
552
+ * RTL support for values logical properties can't automatically adjust for
553
+ * 1) Percentage based horizontal translate values need to be flipped
554
+ * 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
555
+ * 3) Inverse items that have 45degs
556
+ */
557
+ [dir=rtl] {
558
+ --rtlTranslateX: 50%;
559
+ /* 1 */
560
+ --rtlGradientToRight: 270deg;
561
+ /* 2 */
562
+ --rtlRotate45Inverse: -45deg;
563
+ /* 3 */
564
+ }
565
+
566
+ /**
567
+ * Visible focus outline for elements on a light background
568
+ */
569
+ /**
570
+ * Visible focus outline for elements with an error status
571
+ */
572
+ /**
573
+ * Visible focus outline for elements on a dark background
574
+ */
575
+ /**
576
+ * Focus state for themes that need a dashed outline for focus
577
+ * state
578
+ **/
579
+ /**
580
+ * Invisible focus outline for elements that need a more visible
581
+ * focus state for high-contrast mode
582
+ */
583
+ /**
584
+ * Visually hidden from display
585
+ */
5
586
  :host {
6
587
  display: inline-flex;
7
588
  }
589
+
8
590
  :host([fullWidth]) {
9
591
  display: flex;
10
-
11
592
  }
593
+
12
594
  /**
13
595
  * 1) Button or link that has functionality to it
14
596
  */
15
-
16
597
  /**
17
598
  * Primary button
18
599
  */
19
600
  .cre8-c-button {
20
- @include cre8-typography-label-default();
601
+ font-family: var(--cre8-typography-label-default-font-family);
602
+ font-size: var(--cre8-typography-label-default-font-size);
603
+ font-weight: var(--cre8-typography-label-default-font-weight);
604
+ line-height: var(--cre8-typography-label-default-line-height);
605
+ text-decoration: var(--cre8-typography-label-default-text-decoration);
606
+ text-transform: var(--cre8-typography-label-default-text-transform);
21
607
  width: var(--cre8-button-width, auto);
22
608
  height: var(--cre8-button-height, auto);
23
609
  min-width: var(--cre8-button-min-width, auto);
24
610
  min-height: var(--cre8-button-min-height, auto);
25
611
  justify-content: center;
26
612
  text-align: center;
27
- margin-top: var( --cre8-button-margin-top, 0);
28
- margin-bottom: var( --cre8-button-margin-bottom, 0);
29
- margin-left: var( --cre8-button-margin-left, 0);
30
- margin-right: var( --cre8-button-margin-right, 0);
613
+ margin-top: var(--cre8-button-margin-top, 0);
614
+ margin-bottom: var(--cre8-button-margin-bottom, 0);
615
+ margin-left: var(--cre8-button-margin-left, 0);
616
+ margin-right: var(--cre8-button-margin-right, 0);
31
617
  display: inline-flex;
32
618
  align-items: center;
33
619
  border-width: var(--cre8-border-width-button-default);
@@ -42,114 +628,110 @@ const styles = css `
42
628
  transition: revert;
43
629
  transform: revert;
44
630
  white-space: nowrap;
45
- &:hover,
46
- &:focus,
47
- &:active,
48
- &:focus-visible {
49
- border-style: var(--cre8-border-style-default);
50
- box-shadow: none;
51
- transform: revert;
52
- transition: revert;
53
- }
54
- &.cre8-c-button--primary {
55
- background: var(--cre8-color-button-primary-bg);
56
- border-width: var(--cre8-border-width-button-default);
57
- border-color: var(--cre8-color-button-primary-border);
58
- border-radius: var(--cre8-border-radius-button);
59
- box-shadow: var(--cre8-shadow-button);
60
- color: var(--cre8-color-button-primary-content);
61
- --cre8-icon-fill: var(--cre8-color-button-primary-content);
62
- &:hover,
63
- &:focus {
64
- box-shadow: none;
65
- --cre8-icon-fill: var(--cre8-color-button-primary-content-hover);
66
- color: var(--cre8-color-button-primary-content-hover);
67
- border-color: var(--cre8-color-button-primary-border-hover);
68
- background: var(--cre8-color-button-primary-bg-hover);
69
- text-decoration: none;
70
- &:focus {
71
- @includefocus();
72
- }
73
- }
74
- &:focus-visible,
75
- &:active,
76
- &.cre8-c-button--loading {
77
- box-shadow: none;
78
- color: var(--cre8-color-button-primary-content-active);
79
- --cre8-icon-fill: var(--cre8-color-button-primary-content-active);
80
- border-color: var(--cre8-color-button-primary-border-active);
81
- background-color: var(--cre8-color-button-primary-bg-active);
82
- }
83
- &:focus-visible{
84
- @includefocus();
85
- }
86
- &.cre8-c-button--loading{
87
- cursor: not-allowed;
88
- }
89
- /**
90
- * Disabled primary and secondary button
91
- */
92
- &:disabled {
93
- box-shadow: none;
94
- background-color: var(--cre8-color-button-primary-bg-disabled);
95
- border-color: var(--cre8-color-button-primary-border-disabled);
96
- color: var(--cre8-color-button-primary-content-disabled);
97
- --cre8-icon-fill: var(--cre8-color-button-primary-content-disabled);
98
- cursor: not-allowed;
99
- outline: none;
100
- &:hover,
101
- &:focus,
102
- &:active,
103
- &:focus-visible {
104
- outline: none;
105
- background-color: var(--cre8-color-button-primary-bg-disabled);
106
- border-color: var(--cre8-color-button-primary-border-disabled);
107
- color: var(--cre8-color-button-primary-content-disabled);
108
- --cre8-icon-fill: var(--cre8-color-button-primary-content-disabled);
109
- }
110
- }
111
631
  }
112
-
113
- /**
114
- * Primary button inverse
115
- */
116
- &.cre8-c-button--primary.cre8-c-button--inverse {
117
- background: var(--cre8-color-button-primary-inverse-bg);
118
- border-width: var(--cre8-border-width-button-default);
119
- border-color: var(--cre8-color-button-primary-inverse-border);
120
- border-radius: var(--cre8-border-radius-button);
121
- box-shadow: var(--cre8-shadow-button);
122
- color: var(--cre8-color-button-primary-inverse-content);
123
- --cre8-icon-fill: var(--cre8-color-button-primary-inverse-content);
124
- &:hover,
125
- &:focus {
632
+ .cre8-c-button:hover, .cre8-c-button:focus, .cre8-c-button:active, .cre8-c-button:focus-visible {
633
+ border-style: var(--cre8-border-style-default);
634
+ box-shadow: none;
635
+ transform: revert;
636
+ transition: revert;
637
+ }
638
+ .cre8-c-button.cre8-c-button--primary {
639
+ background: var(--cre8-color-button-primary-bg);
640
+ border-width: var(--cre8-border-width-button-default);
641
+ border-color: var(--cre8-color-button-primary-border);
642
+ border-radius: var(--cre8-border-radius-button);
643
+ box-shadow: var(--cre8-shadow-button);
644
+ color: var(--cre8-color-button-primary-content);
645
+ --cre8-icon-fill: var(--cre8-color-button-primary-content);
646
+ }
647
+ .cre8-c-button.cre8-c-button--primary:hover, .cre8-c-button.cre8-c-button--primary:focus {
648
+ box-shadow: none;
649
+ --cre8-icon-fill: var(--cre8-color-button-primary-content-hover);
650
+ color: var(--cre8-color-button-primary-content-hover);
651
+ border-color: var(--cre8-color-button-primary-border-hover);
652
+ background: var(--cre8-color-button-primary-bg-hover);
653
+ text-decoration: none;
654
+ }
655
+ .cre8-c-button.cre8-c-button--primary:hover:focus, .cre8-c-button.cre8-c-button--primary:focus:focus {
656
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
657
+ outline-offset: 0.125rem;
658
+ }
659
+ .cre8-c-button.cre8-c-button--primary:focus-visible, .cre8-c-button.cre8-c-button--primary:active, .cre8-c-button.cre8-c-button--primary.cre8-c-button--loading {
660
+ box-shadow: none;
661
+ color: var(--cre8-color-button-primary-content-active);
662
+ --cre8-icon-fill: var(--cre8-color-button-primary-content-active);
663
+ border-color: var(--cre8-color-button-primary-border-active);
664
+ background-color: var(--cre8-color-button-primary-bg-active);
665
+ }
666
+ .cre8-c-button.cre8-c-button--primary:focus-visible {
667
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
668
+ outline-offset: 0.125rem;
669
+ }
670
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--loading {
671
+ cursor: not-allowed;
672
+ }
673
+ .cre8-c-button.cre8-c-button--primary {
674
+ /**
675
+ * Disabled primary and secondary button
676
+ */
677
+ }
678
+ .cre8-c-button.cre8-c-button--primary:disabled {
679
+ box-shadow: none;
680
+ background-color: var(--cre8-color-button-primary-bg-disabled);
681
+ border-color: var(--cre8-color-button-primary-border-disabled);
682
+ color: var(--cre8-color-button-primary-content-disabled);
683
+ --cre8-icon-fill: var(--cre8-color-button-primary-content-disabled);
684
+ cursor: not-allowed;
685
+ outline: none;
686
+ }
687
+ .cre8-c-button.cre8-c-button--primary:disabled:hover, .cre8-c-button.cre8-c-button--primary:disabled:focus, .cre8-c-button.cre8-c-button--primary:disabled:active, .cre8-c-button.cre8-c-button--primary:disabled:focus-visible {
688
+ outline: none;
689
+ background-color: var(--cre8-color-button-primary-bg-disabled);
690
+ border-color: var(--cre8-color-button-primary-border-disabled);
691
+ color: var(--cre8-color-button-primary-content-disabled);
692
+ --cre8-icon-fill: var(--cre8-color-button-primary-content-disabled);
693
+ }
694
+ .cre8-c-button {
695
+ /**
696
+ * Primary button inverse
697
+ */
698
+ }
699
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse {
700
+ background: var(--cre8-color-button-primary-inverse-bg);
701
+ border-width: var(--cre8-border-width-button-default);
702
+ border-color: var(--cre8-color-button-primary-inverse-border);
703
+ border-radius: var(--cre8-border-radius-button);
704
+ box-shadow: var(--cre8-shadow-button);
705
+ color: var(--cre8-color-button-primary-inverse-content);
706
+ --cre8-icon-fill: var(--cre8-color-button-primary-inverse-content);
707
+ }
708
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:hover, .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:focus {
126
709
  box-shadow: none;
127
710
  --cre8-icon-fill: var(--cre8-color-button-primary-inverse-content-hover);
128
711
  color: var(--cre8-color-button-primary-inverse-content-hover);
129
712
  border-color: var(--cre8-color-button-primary-inverse-border-hover);
130
713
  background: var(--cre8-color-button-primary-inverse-bg-hover);
131
714
  text-decoration: none;
132
- &:focus {
133
- @includefocus();
134
- }
135
715
  }
136
- &:focus-visible,
137
- &:active,
138
- &.cre8-c-button--loading {
716
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:hover:focus, .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:focus:focus {
717
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
718
+ outline-offset: 0.125rem;
719
+ }
720
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:focus-visible, .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:active, .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse.cre8-c-button--loading {
139
721
  box-shadow: none;
140
722
  color: var(--cre8-color-button-primary-inverse-content-active);
141
723
  --cre8-icon-fill: var(--cre8-color-button-primary-inverse-content-active);
142
724
  border-color: var(--cre8-color-button-primary-inverse-border-active);
143
725
  background-color: var(--cre8-color-button-primary-inverse-bg-active);
144
726
  }
145
- &:focus-visible{
146
- @includefocus();
727
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:focus-visible {
728
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
729
+ outline-offset: 0.125rem;
147
730
  }
148
- &.cre8-c-button--loading{
731
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse.cre8-c-button--loading {
149
732
  cursor: not-allowed;
150
733
  }
151
-
152
- &:disabled {
734
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:disabled {
153
735
  box-shadow: none;
154
736
  background-color: var(--cre8-color-button-primary-inverse-bg-disabled);
155
737
  border-color: var(--cre8-color-button-primary-inverse-border-disabled);
@@ -157,163 +739,148 @@ color: var(--cre8-color-button-primary-inverse-content);
157
739
  --cre8-icon-fill: var(--cre8-color-button-primary-inverse-content-disabled);
158
740
  cursor: not-allowed;
159
741
  outline: none;
160
- &:hover,
161
- &:focus,
162
- &:active,
163
- &:focus-visible {
164
- outline: none;
165
- background-color: var(--cre8-color-button-primary-inverse-bg-disabled);
166
- border-color: var(--cre8-color-button-primary-inverse-border-disabled);
167
- color: var(--cre8-color-button-primary-inverse-content-disabled);
168
- --cre8-icon-fill: var(--cre8-color-button-primary-inverse-content-disabled);
169
- }
170
742
  }
743
+ .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:disabled:hover, .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:disabled:focus, .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:disabled:active, .cre8-c-button.cre8-c-button--primary.cre8-c-button--inverse:disabled:focus-visible {
744
+ outline: none;
745
+ background-color: var(--cre8-color-button-primary-inverse-bg-disabled);
746
+ border-color: var(--cre8-color-button-primary-inverse-border-disabled);
747
+ color: var(--cre8-color-button-primary-inverse-content-disabled);
748
+ --cre8-icon-fill: var(--cre8-color-button-primary-inverse-content-disabled);
171
749
  }
172
-
173
- /**
174
- * Secondary button
175
- * The icon button shares the styles of the standard secondary button
176
- */
177
- &.cre8-c-button--secondary {
178
- background-color: var(--cre8-color-button-secondary-bg);
179
- border-color: var(--cre8-color-button-secondary-border);
180
- color: var(--cre8-color-button-secondary-content);
181
- --cre8-icon-fill: var(--cre8-color-button-secondary-content);
182
- border-radius: var(--cre8-border-radius-button);
183
- border-width: var(--cre8-border-width-button-default);
184
-
185
- &:hover,
186
- &:focus {
187
- background-color: var(--cre8-color-button-secondary-bg-hover);
188
- border-color: var(--cre8-color-button-secondary-border-hover);
189
- color: var(--cre8-color-button-secondary-content-hover);
190
- --cre8-icon-fill: var(--cre8-color-button-secondary-content-hover);
191
- &:focus {
192
- @includefocus();
193
- }
194
- }
195
- &:focus-visible,
196
- &:active,
197
- &.cre8-c-button--loading {
198
- transition: none;
199
- transform: none;
200
- background-color: var(--cre8-color-button-secondary-bg-active);
201
- border-color: var(--cre8-color-button-secondary-border-active);
202
- color: var(--cre8-color-button-secondary-content-active);
203
- --cre8-icon-fill: var(--cre8-color-button-secondary-content-active);
204
- }
205
- &:focus-visible {
206
- @includefocus();
207
- }
208
- &.cre8-c-button--loading {
209
- cursor: not-allowed;
210
- }
211
-
212
- &:disabled {
213
- box-shadow: none;
214
- background-color: var(--cre8-color-button-secondary-bg-disabled);
215
- border-color: var(--cre8-color-button-secondary-border-disabled);
216
- color: var(--cre8-color-button-secondary-content-disabled);
217
- --cre8-icon-fill: var(--cre8-color-button-secondary-content-disabled);
218
- outline: none;
219
- border-radius: var(--cre8-border-radius-button);
220
- border-width: var(--cre8-border-width-button-default);
221
- cursor: not-allowed;
222
- &:hover,
223
- &:focus,
224
- &:active,
225
- &:focus-visible {
226
- outline: none;
227
- background-color: var(--cre8-color-button-secondary-bg-disabled);
228
- border-color: var(--cre8-color-button-secondary-border-disabled);
229
- color: var(--cre8-color-button-secondary-content-disabled);
230
- --cre8-icon-fill: var(--cre8-color-button-secondary-content-disabled);
231
- }
232
- }
750
+ .cre8-c-button {
751
+ /**
752
+ * Secondary button
753
+ * The icon button shares the styles of the standard secondary button
754
+ */
233
755
  }
234
-
235
- /**
236
- * Secondary button neutral
237
- */
238
- &.cre8-c-button--secondary.cre8-c-button--neutral {
239
- background-color: var(--cre8-color-button-secondary-neutral-bg);
240
- border-color: var(--cre8-color-button-secondary-neutral-border);
241
- color: var(--cre8-color-button-secondary-neutral-content);
242
- --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content);
243
- border-radius: var(--cre8-border-radius-button);
244
- border-width: var(--cre8-border-width-button-default);
245
-
246
- &:hover,
247
- &:focus {
248
- background-color: var(--cre8-color-button-secondary-neutral-bg-hover);
249
- border-color: var(--cre8-color-button-secondary-neutral-border-hover);
250
- color: var(--cre8-color-button-secondary-neutral-content-hover);
251
- --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-hover);
252
- &:focus {
253
- @includefocus();
254
- }
255
- }
256
- &:focus-visible,
257
- &:active,
258
- &.cre8-c-button--loading {
259
- transition: none;
260
- transform: none;
261
- background-color: var(--cre8-color-button-secondary-neutral-bg-active);
262
- border-color: var(--cre8-color-button-secondary-neutral-border-active);
263
- color: var(--cre8-color-button-secondary-neutral-content-active);
264
- --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-active);
265
- }
266
- &:focus-visible {
267
- @includefocus();
268
- }
269
-
270
- &:disabled {
271
- box-shadow: none;
272
- background-color: var(--cre8-color-button-secondary-neutral-bg-disabled);
273
- border-color: var(--cre8-color-button-secondary-neutral-border-disabled);
274
- color: var(--cre8-color-button-secondary-neutral-content-disabled);
275
- --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-disabled);
276
- outline: none;
277
- border-radius: var(--cre8-border-radius-button);
278
- border-width: var(--cre8-border-width-button-default);
279
- cursor: not-allowed;
280
- &:hover,
281
- &:focus,
282
- &:active,
283
- &:focus-visible {
284
- outline: none;
285
- background-color: var(--cre8-color-button-secondary-neutral-bg-disabled);
286
- border-color: var(--cre8-color-button-secondary-neutral-border-disabled);
287
- color: var(--cre8-color-button-secondary-neutral-content-disabled);
288
- --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-disabled);
289
- }
290
- }
291
- }
292
-
293
- /**
294
- * Secondary button inverse
295
- */
296
- &.cre8-c-button--secondary.cre8-c-button--inverse {
756
+ .cre8-c-button.cre8-c-button--secondary {
757
+ background-color: var(--cre8-color-button-secondary-bg);
758
+ border-color: var(--cre8-color-button-secondary-border);
759
+ color: var(--cre8-color-button-secondary-content);
760
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content);
761
+ border-radius: var(--cre8-border-radius-button);
762
+ border-width: var(--cre8-border-width-button-default);
763
+ }
764
+ .cre8-c-button.cre8-c-button--secondary:hover, .cre8-c-button.cre8-c-button--secondary:focus {
765
+ background-color: var(--cre8-color-button-secondary-bg-hover);
766
+ border-color: var(--cre8-color-button-secondary-border-hover);
767
+ color: var(--cre8-color-button-secondary-content-hover);
768
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content-hover);
769
+ }
770
+ .cre8-c-button.cre8-c-button--secondary:hover:focus, .cre8-c-button.cre8-c-button--secondary:focus:focus {
771
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
772
+ outline-offset: 0.125rem;
773
+ }
774
+ .cre8-c-button.cre8-c-button--secondary:focus-visible, .cre8-c-button.cre8-c-button--secondary:active, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--loading {
775
+ transition: none;
776
+ transform: none;
777
+ background-color: var(--cre8-color-button-secondary-bg-active);
778
+ border-color: var(--cre8-color-button-secondary-border-active);
779
+ color: var(--cre8-color-button-secondary-content-active);
780
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content-active);
781
+ }
782
+ .cre8-c-button.cre8-c-button--secondary:focus-visible {
783
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
784
+ outline-offset: 0.125rem;
785
+ }
786
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--loading {
787
+ cursor: not-allowed;
788
+ }
789
+ .cre8-c-button.cre8-c-button--secondary:disabled {
790
+ box-shadow: none;
791
+ background-color: var(--cre8-color-button-secondary-bg-disabled);
792
+ border-color: var(--cre8-color-button-secondary-border-disabled);
793
+ color: var(--cre8-color-button-secondary-content-disabled);
794
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content-disabled);
795
+ outline: none;
796
+ border-radius: var(--cre8-border-radius-button);
797
+ border-width: var(--cre8-border-width-button-default);
798
+ cursor: not-allowed;
799
+ }
800
+ .cre8-c-button.cre8-c-button--secondary:disabled:hover, .cre8-c-button.cre8-c-button--secondary:disabled:focus, .cre8-c-button.cre8-c-button--secondary:disabled:active, .cre8-c-button.cre8-c-button--secondary:disabled:focus-visible {
801
+ outline: none;
802
+ background-color: var(--cre8-color-button-secondary-bg-disabled);
803
+ border-color: var(--cre8-color-button-secondary-border-disabled);
804
+ color: var(--cre8-color-button-secondary-content-disabled);
805
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content-disabled);
806
+ }
807
+ .cre8-c-button {
808
+ /**
809
+ * Secondary button neutral
810
+ */
811
+ }
812
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral {
813
+ background-color: var(--cre8-color-button-secondary-neutral-bg);
814
+ border-color: var(--cre8-color-button-secondary-neutral-border);
815
+ color: var(--cre8-color-button-secondary-neutral-content);
816
+ --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content);
817
+ border-radius: var(--cre8-border-radius-button);
818
+ border-width: var(--cre8-border-width-button-default);
819
+ }
820
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:hover, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:focus {
821
+ background-color: var(--cre8-color-button-secondary-neutral-bg-hover);
822
+ border-color: var(--cre8-color-button-secondary-neutral-border-hover);
823
+ color: var(--cre8-color-button-secondary-neutral-content-hover);
824
+ --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-hover);
825
+ }
826
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:hover:focus, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:focus:focus {
827
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
828
+ outline-offset: 0.125rem;
829
+ }
830
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:focus-visible, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:active, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--loading {
831
+ transition: none;
832
+ transform: none;
833
+ background-color: var(--cre8-color-button-secondary-neutral-bg-active);
834
+ border-color: var(--cre8-color-button-secondary-neutral-border-active);
835
+ color: var(--cre8-color-button-secondary-neutral-content-active);
836
+ --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-active);
837
+ }
838
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:focus-visible {
839
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
840
+ outline-offset: 0.125rem;
841
+ }
842
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:disabled {
843
+ box-shadow: none;
844
+ background-color: var(--cre8-color-button-secondary-neutral-bg-disabled);
845
+ border-color: var(--cre8-color-button-secondary-neutral-border-disabled);
846
+ color: var(--cre8-color-button-secondary-neutral-content-disabled);
847
+ --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-disabled);
848
+ outline: none;
849
+ border-radius: var(--cre8-border-radius-button);
850
+ border-width: var(--cre8-border-width-button-default);
851
+ cursor: not-allowed;
852
+ }
853
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:disabled:hover, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:disabled:focus, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:disabled:active, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral:disabled:focus-visible {
854
+ outline: none;
855
+ background-color: var(--cre8-color-button-secondary-neutral-bg-disabled);
856
+ border-color: var(--cre8-color-button-secondary-neutral-border-disabled);
857
+ color: var(--cre8-color-button-secondary-neutral-content-disabled);
858
+ --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-content-disabled);
859
+ }
860
+ .cre8-c-button {
861
+ /**
862
+ * Secondary button inverse
863
+ */
864
+ }
865
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse {
297
866
  background-color: var(--cre8-color-button-secondary-inverse-bg);
298
867
  border-color: var(--cre8-color-button-secondary-inverse-border);
299
868
  color: var(--cre8-color-button-secondary-inverse-content);
300
869
  --cre8-icon-fill: var(--cre8-color-button-secondary-inverse-content);
301
870
  border-radius: var(--cre8-border-radius-button);
302
871
  border-width: var(--cre8-border-width-button-default);
303
-
304
- &:hover,
305
- &:focus {
872
+ }
873
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:hover, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:focus {
306
874
  background-color: var(--cre8-color-button-secondary-inverse-bg-hover);
307
875
  border-color: var(--cre8-color-button-secondary-inverse-border-hover);
308
876
  color: var(--cre8-color-button-secondary-inverse-content-hover);
309
877
  --cre8-icon-fill: var(--cre8-color-button-secondary-inverse-content-hover);
310
- &:focus {
311
- @includefocus();
312
- }
313
878
  }
314
- &:focus-visible,
315
- &:active,
316
- &.cre8-c-button--loading {
879
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:hover:focus, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:focus:focus {
880
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
881
+ outline-offset: 0.125rem;
882
+ }
883
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:focus-visible, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:active, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse.cre8-c-button--loading {
317
884
  transition: none;
318
885
  transform: none;
319
886
  background-color: var(--cre8-color-button-secondary-inverse-bg-active);
@@ -321,11 +888,11 @@ color: var(--cre8-color-button-primary-inverse-content);
321
888
  color: var(--cre8-color-button-secondary-inverse-content-active);
322
889
  --cre8-icon-fill: var(--cre8-color-button-secondary-inverse-content-active);
323
890
  }
324
- &:focus-visible {
325
- @includefocus();
891
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:focus-visible {
892
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
893
+ outline-offset: 0.125rem;
326
894
  }
327
-
328
- &:disabled {
895
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:disabled {
329
896
  box-shadow: none;
330
897
  background-color: var(--cre8-color-button-secondary-inverse-bg-disabled);
331
898
  border-color: var(--cre8-color-button-secondary-inverse-border-disabled);
@@ -335,43 +902,37 @@ color: var(--cre8-color-button-primary-inverse-content);
335
902
  border-radius: var(--cre8-border-radius-button);
336
903
  border-width: var(--cre8-border-width-button-default);
337
904
  cursor: not-allowed;
338
- &:hover,
339
- &:focus,
340
- &:active,
341
- &:focus-visible {
342
- outline: none;
343
- background-color: var(--cre8-color-button-secondary-inverse-bg-disabled);
344
- border-color: var(--cre8-color-button-secondary-inverse-border-disabled);
345
- color: var(--cre8-color-button-secondary-inverse-content-disabled);
346
- --cre8-icon-fill: var(--cre8-color-button-secondary-inverse-content-disabled);
347
- }
348
905
  }
906
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:disabled:hover, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:disabled:focus, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:disabled:active, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--inverse:disabled:focus-visible {
907
+ outline: none;
908
+ background-color: var(--cre8-color-button-secondary-inverse-bg-disabled);
909
+ border-color: var(--cre8-color-button-secondary-inverse-border-disabled);
910
+ color: var(--cre8-color-button-secondary-inverse-content-disabled);
911
+ --cre8-icon-fill: var(--cre8-color-button-secondary-inverse-content-disabled);
349
912
  }
350
-
913
+ .cre8-c-button {
351
914
  /**
352
- * Secondary button neutral inverse
353
- */
354
- &.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse {
915
+ * Secondary button neutral inverse
916
+ */
917
+ }
918
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse {
355
919
  background-color: var(--cre8-color-button-secondary-neutral-inverse-bg);
356
920
  border-color: var(--cre8-color-button-secondary-neutral-inverse-border);
357
921
  color: var(--cre8-color-button-secondary-neutral-inverse-content);
358
922
  --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-inverse-content);
359
923
  border-radius: var(--cre8-border-radius-button);
360
924
  border-width: var(--cre8-border-width-button-default);
361
-
362
- &:hover,
363
- &:focus {
364
- @includefocus();
925
+ }
926
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:hover, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:focus {
927
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
928
+ outline-offset: 0.125rem;
365
929
  background-color: var(--cre8-color-button-secondary-neutral-bg-active);
366
930
  border-color: var(--cre8-color-button-secondary-neutral-inverse-border-active);
367
931
  outline-color: var(--cre8-color-button-secondary-neutral-inverse-outline);
368
932
  color: var(--cre8-color-button-secondary-neutral-inverse-content-active);
369
933
  --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-inverse-content-active);
370
934
  }
371
-
372
- &:focus-visible,
373
- &:active,
374
- &.cre8-c-button--loading {
935
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:focus-visible, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:active, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse.cre8-c-button--loading {
375
936
  transition: none;
376
937
  transform: none;
377
938
  background-color: var(--cre8-color-button-secondary-neutral-inverse-bg-active);
@@ -379,11 +940,11 @@ color: var(--cre8-color-button-primary-inverse-content);
379
940
  color: var(--cre8-color-button-secondary-neutral-inverse-content-active);
380
941
  --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-inverse-content-active);
381
942
  }
382
- &:focus-visible {
383
- @includefocus();
943
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:focus-visible {
944
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
945
+ outline-offset: 0.125rem;
384
946
  }
385
-
386
- &:disabled {
947
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:disabled {
387
948
  box-shadow: none;
388
949
  background-color: var(--cre8-color-button-secondary-neutral-inverse-bg-disabled);
389
950
  border-color: var(--cre8-color-button-secondary-neutral-inverse-border-disabled);
@@ -393,140 +954,127 @@ color: var(--cre8-color-button-primary-inverse-content);
393
954
  border-radius: var(--cre8-border-radius-button);
394
955
  border-width: var(--cre8-border-width-button-default);
395
956
  cursor: not-allowed;
396
- &:hover,
397
- &:focus,
398
- &:active,
399
- &:focus-visible {
400
- outline: none;
401
- background-color: var(--cre8-color-button-secondary-neutral-inverse-bg-disabled);
402
- border-color: var(--cre8-color-button-secondary-neutral-inverse-border-disabled);
403
- color: var(--cre8-color-button-secondary-neutral-inverse-content-disabled);
404
- --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-inverse-content-disabled);
405
- }
406
957
  }
958
+ .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:disabled:hover, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:disabled:focus, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:disabled:active, .cre8-c-button.cre8-c-button--secondary.cre8-c-button--neutral.cre8-c-button--inverse:disabled:focus-visible {
959
+ outline: none;
960
+ background-color: var(--cre8-color-button-secondary-neutral-inverse-bg-disabled);
961
+ border-color: var(--cre8-color-button-secondary-neutral-inverse-border-disabled);
962
+ color: var(--cre8-color-button-secondary-neutral-inverse-content-disabled);
963
+ --cre8-icon-fill: var(--cre8-color-button-secondary-neutral-inverse-content-disabled);
407
964
  }
408
-
965
+ .cre8-c-button {
409
966
  /**
410
- * Tertiary button
411
- */
412
- &.cre8-c-button--tertiary {
413
- border-radius: var(--cre8-border-radius-button);
414
- background-color: var(--cre8-color-button-tertiary-bg);
415
- border-width: var(--cre8-border-width-button-default);
416
- border-color: var(--cre8-color-button-tertiary-border);
417
- color: var(--cre8-color-button-tertiary-content);
418
- --cre8-icon-fill: var(--cre8-color-button-tertiary-content);
419
- box-shadow: none;
420
- &:hover,
421
- &:focus {
422
- border-radius: var(--cre8-border-radius-button);
423
- background-color: var(--cre8-color-button-tertiary-bg-hover);
424
- border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);
425
- border-color: var(--cre8-color-button-tertiary-border-hover);
426
- color: var(--cre8-color-button-tertiary-content-hover);
427
- --cre8-icon-fill: var(--cre8-color-button-tertiary-content-hover);
428
- &:focus {
429
- @includefocusTertiary();
430
- }
431
- }
432
-
433
- &:focus-visible,
434
- &:active,
435
- &.cre8-c-button--loading {
436
- border-radius: var(--cre8-border-radius-button);
437
- background-color: var(--cre8-color-button-tertiary-bg-active);
438
- border-color: var(--cre8-color-button-tertiary-border-active);
439
- border-width: var(--cre8-border-width-button-default);
440
- color: var(--cre8-color-button-tertiary-content-active);
441
- --cre8-icon-fill: var(--cre8-color-button-tertiary-content-active);
442
- }
443
- &:focus-visible {
444
- @includefocusTertiary();
445
- }
446
- &.cre8-c-button--loading {
447
- cursor: not-allowed;
448
- }
449
- &:disabled {
450
- background-color: var(--cre8-color-button-tertiary-bg-disabled);
451
- border-color: transparent;
452
- color: var(--cre8-color-button-tertiary-content-disabled);
453
- --cre8-icon-fill: var(--cre8-color-button-tertiary-content-disabled);
454
- outline: none;
455
- box-shadow: none;
456
- cursor: not-allowed;
457
-
458
- &:hover,
459
- &:focus {
460
- outline: none;
461
- box-shadow: none;
462
- background-color: var(--cre8-color-button-tertiary-bg-disabled);
463
- color: var(--cre8-color-button-tertiary-content-disabled);
464
- --cre8-icon-fill: var(--cre8-color-button-tertiary-content-disabled);
465
- }
466
- &:active,
467
- &:focus-visible {
468
- outline: none;
469
- box-shadow: none;
470
- background-color: var(--cre8-color-button-tertiary-bg-disabled);
471
- color: var(--cre8-color-button-tertiary-content-disabled);
472
- --cre8-icon-fill: var(--cre8-color-button-tertiary-content-disabled);
473
- }
474
- }
967
+ * Tertiary button
968
+ */
475
969
  }
476
-
477
- /**
478
- * Tertiary button neutral
479
- */
480
- &.cre8-c-button--tertiary.cre8-c-button--neutral {
970
+ .cre8-c-button.cre8-c-button--tertiary {
971
+ border-radius: var(--cre8-border-radius-button);
972
+ background-color: var(--cre8-color-button-tertiary-bg);
973
+ border-width: var(--cre8-border-width-button-default);
974
+ border-color: var(--cre8-color-button-tertiary-border);
975
+ color: var(--cre8-color-button-tertiary-content);
976
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-content);
977
+ box-shadow: none;
978
+ }
979
+ .cre8-c-button.cre8-c-button--tertiary:hover, .cre8-c-button.cre8-c-button--tertiary:focus {
980
+ border-radius: var(--cre8-border-radius-button);
981
+ background-color: var(--cre8-color-button-tertiary-bg-hover);
982
+ border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);
983
+ border-color: var(--cre8-color-button-tertiary-border-hover);
984
+ color: var(--cre8-color-button-tertiary-content-hover);
985
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-content-hover);
986
+ }
987
+ .cre8-c-button.cre8-c-button--tertiary:hover:focus, .cre8-c-button.cre8-c-button--tertiary:focus:focus {
988
+ outline: var(--cre8-border-width-focus) var(--cre8-border-style-button-tertiary-outline-focus) var(--cre8-color-border-active-outline);
989
+ outline-offset: 0.125rem;
990
+ }
991
+ .cre8-c-button.cre8-c-button--tertiary:focus-visible, .cre8-c-button.cre8-c-button--tertiary:active, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--loading {
992
+ border-radius: var(--cre8-border-radius-button);
993
+ background-color: var(--cre8-color-button-tertiary-bg-active);
994
+ border-color: var(--cre8-color-button-tertiary-border-active);
995
+ border-width: var(--cre8-border-width-button-default);
996
+ color: var(--cre8-color-button-tertiary-content-active);
997
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-content-active);
998
+ }
999
+ .cre8-c-button.cre8-c-button--tertiary:focus-visible {
1000
+ outline: var(--cre8-border-width-focus) var(--cre8-border-style-button-tertiary-outline-focus) var(--cre8-color-border-active-outline);
1001
+ outline-offset: 0.125rem;
1002
+ }
1003
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--loading {
1004
+ cursor: not-allowed;
1005
+ }
1006
+ .cre8-c-button.cre8-c-button--tertiary:disabled {
1007
+ background-color: var(--cre8-color-button-tertiary-bg-disabled);
1008
+ border-color: transparent;
1009
+ color: var(--cre8-color-button-tertiary-content-disabled);
1010
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-content-disabled);
1011
+ outline: none;
1012
+ box-shadow: none;
1013
+ cursor: not-allowed;
1014
+ }
1015
+ .cre8-c-button.cre8-c-button--tertiary:disabled:hover, .cre8-c-button.cre8-c-button--tertiary:disabled:focus {
1016
+ outline: none;
1017
+ box-shadow: none;
1018
+ background-color: var(--cre8-color-button-tertiary-bg-disabled);
1019
+ color: var(--cre8-color-button-tertiary-content-disabled);
1020
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-content-disabled);
1021
+ }
1022
+ .cre8-c-button.cre8-c-button--tertiary:disabled:active, .cre8-c-button.cre8-c-button--tertiary:disabled:focus-visible {
1023
+ outline: none;
1024
+ box-shadow: none;
1025
+ background-color: var(--cre8-color-button-tertiary-bg-disabled);
1026
+ color: var(--cre8-color-button-tertiary-content-disabled);
1027
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-content-disabled);
1028
+ }
1029
+ .cre8-c-button {
1030
+ /**
1031
+ * Tertiary button neutral
1032
+ */
1033
+ }
1034
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral {
481
1035
  background-color: var(--cre8-color-button-tertiary-neutral-bg);
482
1036
  border-color: var(--cre8-color-button-tertiary-border);
483
1037
  color: var(--cre8-color-button-tertiary-neutral-content);
484
1038
  --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-content);
485
1039
  border-radius: var(--cre8-border-radius-button);
486
1040
  border-width: var(--cre8-border-width-button-default);
487
-
488
- &:hover,
489
- &:focus {
490
- background-color: var(--cre8-color-button-tertiary-neutral-bg-hover);
491
- border-color: var(--cre8-color-button-tertiary-neutral-border-hover);
492
- color: var(--cre8-color-button-tertiary-neutral-content-hover);
493
- --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-content-hover);
494
- outline-color: var(--cre8-color-button-tertiary-neutral-outline);
495
- }
496
-
497
- &:focus-visible,
498
- &:active,
499
- &.cre8-c-button--loading {
500
- transition: none;
501
- transform: none;
502
- background-color: var(--cre8-color-button-tertiary-neutral-bg-active);
503
- border-color: var(--cre8-color-button-tertiary-neutral-border-active);
504
- color: var(--cre8-color-button-tertiary-neutral-content-active);
505
- --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-content-active);
506
- }
507
-
508
- &:focus-visible {
509
- @includefocus();
510
- }
511
-
512
- &:disabled {
513
- box-shadow: none;
514
- background-color: var(--cre8-color-button-tertiary-neutral-bg-disabled);
515
- border-color: var(--cre8-color-button-tertiary-neutral-border-disabled);
516
- color: var(--cre8-color-button-tertiary-neutral-content-disabled);
517
- --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-content-disabled);
518
- outline: none;
519
- border-radius: var(--cre8-border-radius-button);
520
- border-width: var(--cre8-border-width-button-default);
521
-
522
- cursor: not-allowed;
523
- }
524
- }
525
-
526
- /**
527
- * Tertiary button inverse
528
- */
529
- &.cre8-c-button--tertiary.cre8-c-button--inverse {
1041
+ }
1042
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral:hover, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral:focus {
1043
+ background-color: var(--cre8-color-button-tertiary-neutral-bg-hover);
1044
+ border-color: var(--cre8-color-button-tertiary-neutral-border-hover);
1045
+ color: var(--cre8-color-button-tertiary-neutral-content-hover);
1046
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-content-hover);
1047
+ outline-color: var(--cre8-color-button-tertiary-neutral-outline);
1048
+ }
1049
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral:focus-visible, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral:active, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--loading {
1050
+ transition: none;
1051
+ transform: none;
1052
+ background-color: var(--cre8-color-button-tertiary-neutral-bg-active);
1053
+ border-color: var(--cre8-color-button-tertiary-neutral-border-active);
1054
+ color: var(--cre8-color-button-tertiary-neutral-content-active);
1055
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-content-active);
1056
+ }
1057
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral:focus-visible {
1058
+ outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
1059
+ outline-offset: 0.125rem;
1060
+ }
1061
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral:disabled {
1062
+ box-shadow: none;
1063
+ background-color: var(--cre8-color-button-tertiary-neutral-bg-disabled);
1064
+ border-color: var(--cre8-color-button-tertiary-neutral-border-disabled);
1065
+ color: var(--cre8-color-button-tertiary-neutral-content-disabled);
1066
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-content-disabled);
1067
+ outline: none;
1068
+ border-radius: var(--cre8-border-radius-button);
1069
+ border-width: var(--cre8-border-width-button-default);
1070
+ cursor: not-allowed;
1071
+ }
1072
+ .cre8-c-button {
1073
+ /**
1074
+ * Tertiary button inverse
1075
+ */
1076
+ }
1077
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse {
530
1078
  border-radius: var(--cre8-border-radius-button);
531
1079
  background-color: var(--cre8-color-button-tertiary-inverse-bg);
532
1080
  border-width: var(--cre8-border-width-button-default);
@@ -534,21 +1082,17 @@ color: var(--cre8-color-button-primary-inverse-content);
534
1082
  color: var(--cre8-color-button-tertiary-inverse-content);
535
1083
  --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content);
536
1084
  box-shadow: none;
537
-
538
- &:hover,
539
- &:focus {
540
- border-radius: var(--cre8-border-radius-button);
541
- background-color: var(--cre8-color-button-tertiary-inverse-bg-hover);
542
- border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);
543
- border-color: var(--cre8-color-button-tertiary-inverse-border-hover);
544
- color: var(--cre8-color-button-tertiary-inverse-content-hover);
545
- --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content-hover);
546
- outline-color: var(--cre8-color-button-tertiary-inverse-outline);
547
- }
548
-
549
- &:focus-visible,
550
- &:active,
551
- &.cre8-c-button--loading {
1085
+ }
1086
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:hover, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:focus {
1087
+ border-radius: var(--cre8-border-radius-button);
1088
+ background-color: var(--cre8-color-button-tertiary-inverse-bg-hover);
1089
+ border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);
1090
+ border-color: var(--cre8-color-button-tertiary-inverse-border-hover);
1091
+ color: var(--cre8-color-button-tertiary-inverse-content-hover);
1092
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content-hover);
1093
+ outline-color: var(--cre8-color-button-tertiary-inverse-outline);
1094
+ }
1095
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:focus-visible, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:active, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse.cre8-c-button--loading {
552
1096
  border-radius: var(--cre8-border-radius-button);
553
1097
  background-color: var(--cre8-color-button-tertiary-inverse-bg-active);
554
1098
  border-color: var(--cre8-color-button-tertiary-inverse-border-active);
@@ -557,11 +1101,10 @@ color: var(--cre8-color-button-primary-inverse-content);
557
1101
  --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content-active);
558
1102
  outline-color: var(--cre8-color-button-tertiary-inverse-outline);
559
1103
  }
560
-
561
- &.cre8-c-button--loading {
1104
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse.cre8-c-button--loading {
562
1105
  cursor: not-allowed;
563
1106
  }
564
- &:disabled {
1107
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:disabled {
565
1108
  background-color: var(--cre8-color-button-tertiary-inverse-bg-disabled);
566
1109
  border-color: transparent;
567
1110
  color: var(--cre8-color-button-tertiary-inverse-content-disabled);
@@ -569,128 +1112,112 @@ color: var(--cre8-color-button-primary-inverse-content);
569
1112
  outline: none;
570
1113
  box-shadow: none;
571
1114
  cursor: not-allowed;
572
-
573
- &:hover,
574
- &:focus {
575
- outline: none;
576
- box-shadow: none;
577
- background-color: var(--cre8-color-button-tertiary-inverse-bg-disabled);
578
- color: var(--cre8-color-button-tertiary-inverse-content-disabled);
579
- --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content-disabled);
580
- }
581
- &:active,
582
- &:focus-visible {
583
- outline: none;
584
- box-shadow: none;
585
- background-color: var(--cre8-color-button-tertiary-inverse-bg-disabled);
586
- color: var(--cre8-color-button-tertiary-inverse-content-disabled);
587
- --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content-disabled);
588
- }
589
1115
  }
1116
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:disabled:hover, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:disabled:focus {
1117
+ outline: none;
1118
+ box-shadow: none;
1119
+ background-color: var(--cre8-color-button-tertiary-inverse-bg-disabled);
1120
+ color: var(--cre8-color-button-tertiary-inverse-content-disabled);
1121
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content-disabled);
1122
+ }
1123
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:disabled:active, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--inverse:disabled:focus-visible {
1124
+ outline: none;
1125
+ box-shadow: none;
1126
+ background-color: var(--cre8-color-button-tertiary-inverse-bg-disabled);
1127
+ color: var(--cre8-color-button-tertiary-inverse-content-disabled);
1128
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-inverse-content-disabled);
590
1129
  }
591
-
592
- /**
593
- * Tertiary Neutral button inverse
594
- */
595
- &.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse {
1130
+ .cre8-c-button {
1131
+ /**
1132
+ * Tertiary Neutral button inverse
1133
+ */
1134
+ }
1135
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse {
596
1136
  border-radius: var(--cre8-border-radius-button);
597
1137
  background-color: var(--cre8-color-button-tertiary-neutral-inverse-bg);
598
1138
  border-width: var(--cre8-border-width-button-default);
599
1139
  color: var(--cre8-color-button-tertiary-neutral-inverse-content);
600
1140
  --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-inverse-content);
601
1141
  box-shadow: none;
602
-
603
- &:hover,
604
- &:focus {
605
- border-radius: var(--cre8-border-radius-button);
606
- background-color: var(--cre8-color-button-tertiary-neutral-inverse-bg-hover);
607
- border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);
608
- border-color: var(--cre8-color-button-tertiary-neutral-inverse-border-hover);
609
- color: var(--cre8-color-button-tertiary-neutral-inverse-content-hover);
610
- --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-inverse-content-hover);
611
- outline-color: var(--cre8-color-button-tertiary-neutral-inverse-outline);
612
- }
613
-
614
- &:focus-visible,
615
- &:active,
616
- &.cre8-c-button--loading {
617
- border-radius: var(--cre8-border-radius-button);
618
- background-color: var(--cre8-color-button-tertiary-neutral-inverse-bg-active);
619
- border-color: var(--cre8-color-button-tertiary-neutral-inverse-border-active);
620
- border-width: var(--cre8-border-width-button-default);
621
- color: var(--cre8-color-button-tertiary-neutral-inverse-content-active);
622
- --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-inverse-content-active);
623
- outline-color: var(--cre8-color-button-tertiary-neutral-inverse-outline);
624
- }
625
-
626
- &.cre8-c-button--loading {
627
- cursor: not-allowed;
628
- }
629
-
630
- &:disabled {
631
- background-color: var(--cre8-color-button-tertiary-neutral-inverse-bg-disabled);
632
- border-color: transparent;
633
- color: var(--cre8-color-button-tertiary-neutral-inverse-content-disabled);
634
- --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-inverse-content-disabled);
635
- outline: none;
636
- box-shadow: none;
637
- cursor: not-allowed;
638
- }
639
- }
640
-
641
- &.cre8-c-button.cre8-c-button--secondary.cre8-c-button--split-button-text {
642
- border-radius: var(--cre8-border-radius-button) var(--cre8-border-radius-none) var(--cre8-border-radius-none) var(--cre8-border-radius-button);
643
- border-color: var(--cre8-color-button-secondary-border);
644
- border-width: var(--cre8-border-width-button-default);
645
- color: var(--cre8-color-button-secondary-content);
646
- &:active,
647
- &:focus-visible {
648
- outline: none;
649
- }
650
- &.cre8-c-button--lg {
651
- padding: var(--cre8-button-padding-vertical-large) var(--cre8-button-padding-horizontal-large);
652
- }
653
- &.cre8-c-button--sm {
654
- padding: var(--cre8-button-padding-vertical-small) var(--cre8-button-padding-horizontal-small);
655
- }
656
- }
657
-
658
- &.cre8-c-button.cre8-c-button--icon-only.cre8-c-button--split-button-caret {
659
- padding: var(--cre8-button-padding-vertical-medium);
660
- border-radius: var(--cre8-border-radius-none) var(--cre8-border-radius-button) var(--cre8-border-radius-button) var(--cre8-border-radius-none);
661
- height: 100%;
662
- border-left: none !important ;
663
- border-collapse: collapse;
664
- background: var(--cre8-color-button-secondary-bg);
665
- border-color: var(--cre8-color-button-secondary-border);
666
- border-width: var(--cre8-border-width-button-default);
667
- color: var(--cre8-color-button-secondary-content);
668
- --cre8-icon-fill: var(--cre8-color-button-secondary-content);
669
-
670
- &:hover,
671
- &:focus {
672
- background: var(--cre8-color-button-secondary-bg-hover);
673
- border-color: var(--cre8-color-button-secondary-border-hover);
674
- --cre8-icon-fill: var(--cre8-color-button-secondary-content-hover);
675
- outline: none;
676
- border-left: none;
677
- border-collapse: collapse;
678
- }
679
- &:active,
680
- &:focus-visible {
681
- background: var(--cre8-color-button-secondary-bg-active);
682
- border-color: var(--cre8-color-button-secondary-border-active);
683
- --cre8-icon-fill: var(--cre8-color-button-secondary-content-active);
684
- outline: none;
685
- border-left: none;
686
- border-collapse: collapse;
687
- }
688
- }
1142
+ }
1143
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse:hover, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse:focus {
1144
+ border-radius: var(--cre8-border-radius-button);
1145
+ background-color: var(--cre8-color-button-tertiary-neutral-inverse-bg-hover);
1146
+ border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);
1147
+ border-color: var(--cre8-color-button-tertiary-neutral-inverse-border-hover);
1148
+ color: var(--cre8-color-button-tertiary-neutral-inverse-content-hover);
1149
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-inverse-content-hover);
1150
+ outline-color: var(--cre8-color-button-tertiary-neutral-inverse-outline);
1151
+ }
1152
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse:focus-visible, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse:active, .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse.cre8-c-button--loading {
1153
+ border-radius: var(--cre8-border-radius-button);
1154
+ background-color: var(--cre8-color-button-tertiary-neutral-inverse-bg-active);
1155
+ border-color: var(--cre8-color-button-tertiary-neutral-inverse-border-active);
1156
+ border-width: var(--cre8-border-width-button-default);
1157
+ color: var(--cre8-color-button-tertiary-neutral-inverse-content-active);
1158
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-inverse-content-active);
1159
+ outline-color: var(--cre8-color-button-tertiary-neutral-inverse-outline);
1160
+ }
1161
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse.cre8-c-button--loading {
1162
+ cursor: not-allowed;
1163
+ }
1164
+ .cre8-c-button.cre8-c-button--tertiary.cre8-c-button--neutral.cre8-c-button--inverse:disabled {
1165
+ background-color: var(--cre8-color-button-tertiary-neutral-inverse-bg-disabled);
1166
+ border-color: transparent;
1167
+ color: var(--cre8-color-button-tertiary-neutral-inverse-content-disabled);
1168
+ --cre8-icon-fill: var(--cre8-color-button-tertiary-neutral-inverse-content-disabled);
1169
+ outline: none;
1170
+ box-shadow: none;
1171
+ cursor: not-allowed;
1172
+ }
1173
+ .cre8-c-button.cre8-c-button.cre8-c-button--secondary.cre8-c-button--split-button-text {
1174
+ border-radius: var(--cre8-border-radius-button) var(--cre8-border-radius-none) var(--cre8-border-radius-none) var(--cre8-border-radius-button);
1175
+ border-color: var(--cre8-color-button-secondary-border);
1176
+ border-width: var(--cre8-border-width-button-default);
1177
+ color: var(--cre8-color-button-secondary-content);
1178
+ }
1179
+ .cre8-c-button.cre8-c-button.cre8-c-button--secondary.cre8-c-button--split-button-text:active, .cre8-c-button.cre8-c-button.cre8-c-button--secondary.cre8-c-button--split-button-text:focus-visible {
1180
+ outline: none;
1181
+ }
1182
+ .cre8-c-button.cre8-c-button.cre8-c-button--secondary.cre8-c-button--split-button-text.cre8-c-button--lg {
1183
+ padding: var(--cre8-button-padding-vertical-large) var(--cre8-button-padding-horizontal-large);
1184
+ }
1185
+ .cre8-c-button.cre8-c-button.cre8-c-button--secondary.cre8-c-button--split-button-text.cre8-c-button--sm {
1186
+ padding: var(--cre8-button-padding-vertical-small) var(--cre8-button-padding-horizontal-small);
1187
+ }
1188
+ .cre8-c-button.cre8-c-button.cre8-c-button--icon-only.cre8-c-button--split-button-caret {
1189
+ padding: var(--cre8-button-padding-vertical-medium);
1190
+ border-radius: var(--cre8-border-radius-none) var(--cre8-border-radius-button) var(--cre8-border-radius-button) var(--cre8-border-radius-none);
1191
+ height: 100%;
1192
+ border-left: none !important;
1193
+ border-collapse: collapse;
1194
+ background: var(--cre8-color-button-secondary-bg);
1195
+ border-color: var(--cre8-color-button-secondary-border);
1196
+ border-width: var(--cre8-border-width-button-default);
1197
+ color: var(--cre8-color-button-secondary-content);
1198
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content);
1199
+ }
1200
+ .cre8-c-button.cre8-c-button.cre8-c-button--icon-only.cre8-c-button--split-button-caret:hover, .cre8-c-button.cre8-c-button.cre8-c-button--icon-only.cre8-c-button--split-button-caret:focus {
1201
+ background: var(--cre8-color-button-secondary-bg-hover);
1202
+ border-color: var(--cre8-color-button-secondary-border-hover);
1203
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content-hover);
1204
+ outline: none;
1205
+ border-left: none;
1206
+ border-collapse: collapse;
1207
+ }
1208
+ .cre8-c-button.cre8-c-button.cre8-c-button--icon-only.cre8-c-button--split-button-caret:active, .cre8-c-button.cre8-c-button.cre8-c-button--icon-only.cre8-c-button--split-button-caret:focus-visible {
1209
+ background: var(--cre8-color-button-secondary-bg-active);
1210
+ border-color: var(--cre8-color-button-secondary-border-active);
1211
+ --cre8-icon-fill: var(--cre8-color-button-secondary-content-active);
1212
+ outline: none;
1213
+ border-left: none;
1214
+ border-collapse: collapse;
689
1215
  }
690
1216
 
691
1217
  .cre8-c-button--lg {
692
1218
  padding: var(--cre8-button-padding-vertical-large);
693
1219
  }
1220
+
694
1221
  .cre8-c-button--sm {
695
1222
  padding: var(--cre8-button-padding-vertical-small);
696
1223
  }
@@ -712,7 +1239,12 @@ color: var(--cre8-color-button-primary-inverse-content);
712
1239
  * Small button
713
1240
  */
714
1241
  .cre8-c-button--sm {
715
- @include cre8-typography-label-small();
1242
+ font-family: var(--cre8-typography-label-small-font-family);
1243
+ font-size: var(--cre8-typography-label-small-font-size);
1244
+ font-weight: var(--cre8-typography-label-small-font-weight);
1245
+ line-height: var(--cre8-typography-label-small-line-height);
1246
+ text-decoration: var(--cre8-typography-label-small-text-decoration);
1247
+ text-transform: var(--cre8-typography-label-small-text-transform);
716
1248
  padding-top: var(--cre8-button-padding-vertical-small);
717
1249
  padding-right: var(--cre8-button-padding-horizontal-small);
718
1250
  padding-bottom: var(--cre8-button-padding-vertical-small);
@@ -722,8 +1254,13 @@ color: var(--cre8-color-button-primary-inverse-content);
722
1254
  /**
723
1255
  * Small button sized for icon only
724
1256
  */
725
- .cre8-c-button--sm.cre8-c-button--icon-only {
726
- @include cre8-typography-label-small();
1257
+ .cre8-c-button--sm.cre8-c-button--icon-only {
1258
+ font-family: var(--cre8-typography-label-small-font-family);
1259
+ font-size: var(--cre8-typography-label-small-font-size);
1260
+ font-weight: var(--cre8-typography-label-small-font-weight);
1261
+ line-height: var(--cre8-typography-label-small-line-height);
1262
+ text-decoration: var(--cre8-typography-label-small-text-decoration);
1263
+ text-transform: var(--cre8-typography-label-small-text-transform);
727
1264
  padding-top: var(--cre8-button-padding-vertical-small-icon-only);
728
1265
  padding-right: var(--cre8-button-padding-horizontal-small-icon-only);
729
1266
  padding-bottom: var(--cre8-button-padding-vertical-small-icon-only);
@@ -734,7 +1271,12 @@ color: var(--cre8-color-button-primary-inverse-content);
734
1271
  * Large button
735
1272
  */
736
1273
  .cre8-c-button--lg {
737
- @include cre8-typography-label-large();
1274
+ font-family: var(--cre8-typography-label-large-font-family);
1275
+ font-size: var(--cre8-typography-label-large-font-size);
1276
+ font-weight: var(--cre8-typography-label-large-font-weight);
1277
+ line-height: var(--cre8-typography-label-large-line-height);
1278
+ text-decoration: var(--cre8-typography-label-large-text-decoration);
1279
+ text-transform: var(--cre8-typography-label-large-text-transform);
738
1280
  padding-top: var(--cre8-button-padding-vertical-large);
739
1281
  padding-right: var(--cre8-button-padding-horizontal-large);
740
1282
  padding-bottom: var(--cre8-button-padding-vertical-large);
@@ -744,8 +1286,13 @@ color: var(--cre8-color-button-primary-inverse-content);
744
1286
  /**
745
1287
  * Large button sized for icon only
746
1288
  */
747
- .cre8-c-button--lg.cre8-c-button--icon-only {
748
- @include cre8-typography-label-large();
1289
+ .cre8-c-button--lg.cre8-c-button--icon-only {
1290
+ font-family: var(--cre8-typography-label-large-font-family);
1291
+ font-size: var(--cre8-typography-label-large-font-size);
1292
+ font-weight: var(--cre8-typography-label-large-font-weight);
1293
+ line-height: var(--cre8-typography-label-large-line-height);
1294
+ text-decoration: var(--cre8-typography-label-large-text-decoration);
1295
+ text-transform: var(--cre8-typography-label-large-text-transform);
749
1296
  padding-top: var(--cre8-button-padding-vertical-large-icon-only);
750
1297
  padding-right: var(--cre8-button-padding-horizontal-large-icon-only);
751
1298
  padding-bottom: var(--cre8-button-padding-vertical-large-icon-only);
@@ -760,11 +1307,9 @@ color: var(--cre8-color-button-primary-inverse-content);
760
1307
  --cre8-icon-width: var(--cre8-icon-size-small);
761
1308
  }
762
1309
 
763
- .cre8-c-button--sm cre8-icon {
764
- svg {
765
- height: size(1.75);
766
- width: size(1.75);
767
- }
1310
+ .cre8-c-button--sm cre8-icon svg {
1311
+ height: 0.875rem;
1312
+ width: 0.875rem;
768
1313
  }
769
1314
 
770
1315
  /**
@@ -775,38 +1320,37 @@ color: var(--cre8-color-button-primary-inverse-content);
775
1320
  --cre8-icon-width: var(--cre8-icon-size-large);
776
1321
  }
777
1322
 
778
- .cre8-c-button--lg cre8-icon {
779
- svg {
780
- height: size(2.25);
781
- width: size(2.25);
782
- }
1323
+ .cre8-c-button--lg cre8-icon svg {
1324
+ height: 1.125rem;
1325
+ width: 1.125rem;
783
1326
  }
784
1327
 
785
1328
  ::slotted(*) {
786
1329
  margin-right: 0;
787
1330
  }
1331
+
788
1332
  /**
789
1333
  * Button icon directly before button text
790
1334
  */
791
-
792
1335
  cre8-icon-legacy + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
793
- margin-left: size(1);
1336
+ margin-left: 0.5rem;
794
1337
  }
795
1338
 
796
1339
  cre8-icon + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
797
- margin-left: size(1);
1340
+ margin-left: 0.5rem;
798
1341
  }
799
1342
 
800
1343
  /**
801
1344
  * Button icon directly after button text
802
1345
  */
803
1346
  .cre8-c-button__text:not(.cre8-u-is-vishidden) + cre8-icon-legacy {
804
- margin-left: size(1);
1347
+ margin-left: 0.5rem;
805
1348
  }
806
1349
 
807
1350
  .cre8-c-button__text:not(.cre8-u-is-vishidden) + cre8-icon {
808
- margin-left: size(1);
1351
+ margin-left: 0.5rem;
809
1352
  }
1353
+
810
1354
  /**
811
1355
  * Button icon only
812
1356
  */
@@ -829,12 +1373,20 @@ cre8-icon + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
829
1373
  }
830
1374
 
831
1375
  .cre8-c-button__text.cre8-u-is-vishidden {
832
- @include visuallyHidden();
1376
+ border: 0;
1377
+ clip: rect(0 0 0 0);
1378
+ height: 1px;
1379
+ margin: -1px;
1380
+ overflow: hidden;
1381
+ padding: 0;
1382
+ position: absolute;
1383
+ width: 1px;
833
1384
  }
834
1385
 
835
1386
  .cre8-c-button--primary.cre8-c-button--loading {
836
1387
  --cre8-icon-fill: var(--cre8-color-content-knockout);
837
1388
  }
1389
+
838
1390
  .cre8-c-button--secondary.cre8-c-button--loading,
839
1391
  .cre8-c-button--tertiary.cre8-c-button--loading {
840
1392
  --cre8-icon-fill: var(--cre8-color-button-secondary-content-active);
@@ -852,16 +1404,29 @@ cre8-icon + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
852
1404
  height: auto;
853
1405
  max-height: fit-content;
854
1406
  min-width: 0px;
855
-
856
- @include visuallyHidden();
1407
+ border: 0;
1408
+ clip: rect(0 0 0 0);
1409
+ height: 1px;
1410
+ margin: -1px;
1411
+ overflow: hidden;
1412
+ padding: 0;
1413
+ position: absolute;
1414
+ width: 1px;
857
1415
  }
858
1416
 
859
1417
  cre8-icon-legacy.cre8-u-is-vishidden {
860
- @include visuallyHidden();
1418
+ border: 0;
1419
+ clip: rect(0 0 0 0);
1420
+ height: 1px;
1421
+ margin: -1px;
1422
+ overflow: hidden;
1423
+ padding: 0;
1424
+ position: absolute;
1425
+ width: 1px;
861
1426
  }
862
1427
 
863
1428
  span.cre8-c-button__icon {
864
- margin-left: size(1);
1429
+ margin-left: 0.5rem;
865
1430
  max-width: fit-content;
866
1431
  min-width: 0px;
867
1432
  width: auto;
@@ -874,12 +1439,10 @@ cre8-icon {
874
1439
  display: flex;
875
1440
  align-items: center;
876
1441
  justify-content: center;
877
-
878
- svg {
879
- height: size(2);
880
- width: size(2);
881
- }
882
1442
  }
883
- `;
1443
+ cre8-icon svg {
1444
+ height: 1rem;
1445
+ width: 1rem;
1446
+ }`;
884
1447
  export default styles;
885
1448
  //# sourceMappingURL=button.styles.js.map