@tmorrow/cre8-wc 1.0.26 → 1.1.1

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 (200) hide show
  1. package/cdn/cre8-wc.esm.js +9082 -15604
  2. package/cdn/cre8-wc.esm.js.map +1 -1
  3. package/cdn/cre8-wc.min.js +1231 -8308
  4. package/cdn/cre8-wc.min.js.map +1 -1
  5. package/lib/cdn-entry.d.ts +20 -2
  6. package/lib/cdn-entry.d.ts.map +1 -1
  7. package/lib/components/accordion/accordion.js +18 -64
  8. package/lib/components/accordion/accordion.styles.d.ts.map +1 -1
  9. package/lib/components/accordion-item/accordion-item.js +35 -238
  10. package/lib/components/accordion-item/accordion-item.styles.d.ts.map +1 -1
  11. package/lib/components/alert/alert.js +56 -221
  12. package/lib/components/alert/alert.styles.d.ts.map +1 -1
  13. package/lib/components/badge/badge.js +33 -164
  14. package/lib/components/badge/badge.styles.d.ts.map +1 -1
  15. package/lib/components/band/band.js +11 -261
  16. package/lib/components/band/band.styles.d.ts.map +1 -1
  17. package/lib/components/breadcrumbs/breadcrumbs.js +14 -33
  18. package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
  19. package/lib/components/breadcrumbs-item/breadcrumbs-item.js +10 -45
  20. package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.map +1 -1
  21. package/lib/components/button/button.js +14 -14
  22. package/lib/components/button-group/button-group.js +10 -261
  23. package/lib/components/button-group/button-group.styles.d.ts.map +1 -1
  24. package/lib/components/card/card.js +17 -130
  25. package/lib/components/card/card.styles.d.ts.map +1 -1
  26. package/lib/components/chart/chart.js +137 -223
  27. package/lib/components/chart/chart.styles.d.ts.map +1 -1
  28. package/lib/components/checkbox-field/checkbox-field.js +26 -59
  29. package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
  30. package/lib/components/checkbox-field-item/checkbox-field-item.js +38 -205
  31. package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -1
  32. package/lib/components/danger-button/danger-button.js +53 -582
  33. package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -1
  34. package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -1
  35. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -1
  36. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -1
  37. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -1
  38. package/lib/components/date-picker/date-picker.js +262 -499
  39. package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -1
  40. package/lib/components/divider/divider.js +20 -61
  41. package/lib/components/divider/divider.styles.d.ts.map +1 -1
  42. package/lib/components/dropdown/dropdown.js +34 -107
  43. package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -1
  44. package/lib/components/dropdown-item/dropdown-item.js +18 -49
  45. package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -1
  46. package/lib/components/feature/feature.js +19 -81
  47. package/lib/components/feature/feature.styles.d.ts.map +1 -1
  48. package/lib/components/field/field.js +12 -146
  49. package/lib/components/field/field.styles.d.ts.map +1 -1
  50. package/lib/components/field-note/field-note.js +22 -66
  51. package/lib/components/field-note/field-note.styles.d.ts.map +1 -1
  52. package/lib/components/footer/footer.js +10 -29
  53. package/lib/components/footer/footer.styles.d.ts.map +1 -1
  54. package/lib/components/global-nav/global-nav.js +20 -43
  55. package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -1
  56. package/lib/components/global-nav-item/global-nav-item.js +26 -105
  57. package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -1
  58. package/lib/components/grid/grid.js +15 -337
  59. package/lib/components/grid/grid.styles.d.ts.map +1 -1
  60. package/lib/components/grid-item/grid-item.js +7 -15
  61. package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -1
  62. package/lib/components/header/header.js +17 -80
  63. package/lib/components/header/header.styles.d.ts.map +1 -1
  64. package/lib/components/heading/heading.js +16 -153
  65. package/lib/components/heading/heading.styles.d.ts.map +1 -1
  66. package/lib/components/hero/hero.js +17 -149
  67. package/lib/components/hero/hero.styles.d.ts.map +1 -1
  68. package/lib/components/icon/icon.js +1 -1
  69. package/lib/components/icon/icon.styles.d.ts.map +1 -1
  70. package/lib/components/inline-alert/inline-alert.js +53 -214
  71. package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -1
  72. package/lib/components/layout/layout.js +20 -53
  73. package/lib/components/layout/layout.styles.d.ts.map +1 -1
  74. package/lib/components/layout-container/layout-container.js +20 -43
  75. package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -1
  76. package/lib/components/layout-section/layout-section.js +20 -29
  77. package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -1
  78. package/lib/components/linelength-container/linelength-container.js +7 -15
  79. package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -1
  80. package/lib/components/link/link.js +33 -228
  81. package/lib/components/link/link.styles.d.ts.map +1 -1
  82. package/lib/components/link-list/link-list.js +23 -129
  83. package/lib/components/link-list/link-list.styles.d.ts.map +1 -1
  84. package/lib/components/link-list-item/link-list-item.js +19 -80
  85. package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -1
  86. package/lib/components/list/list.js +17 -67
  87. package/lib/components/list/list.styles.d.ts.map +1 -1
  88. package/lib/components/list-item/list-item.js +11 -16
  89. package/lib/components/list-item/list-item.styles.d.ts.map +1 -1
  90. package/lib/components/loading-spinner/loading-spinner.js +13 -157
  91. package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -1
  92. package/lib/components/logo/logo.js +20 -30
  93. package/lib/components/logo/logo.styles.d.ts.map +1 -1
  94. package/lib/components/main/main.js +18 -42
  95. package/lib/components/main/main.styles.d.ts.map +1 -1
  96. package/lib/components/modal/modal.js +50 -215
  97. package/lib/components/modal/modal.styles.d.ts.map +1 -1
  98. package/lib/components/multi-select/multi-select.js +71 -532
  99. package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -1
  100. package/lib/components/nav-container/nav-container.js +5 -40
  101. package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -1
  102. package/lib/components/page-header/page-header.js +19 -54
  103. package/lib/components/page-header/page-header.styles.d.ts.map +1 -1
  104. package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -1
  105. package/lib/components/pagination/pagination.js +102 -183
  106. package/lib/components/pagination/pagination.styles.d.ts.map +1 -1
  107. package/lib/components/percent-bar/percent-bar.js +22 -50
  108. package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -1
  109. package/lib/components/popover/popover.js +51 -220
  110. package/lib/components/popover/popover.styles.d.ts.map +1 -1
  111. package/lib/components/primary-nav/primary-nav.js +17 -51
  112. package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -1
  113. package/lib/components/primary-nav-item/primary-nav-item.js +24 -191
  114. package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -1
  115. package/lib/components/progress-meter/progress-meter.js +23 -127
  116. package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -1
  117. package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -1
  118. package/lib/components/progress-steps-item/progress-steps-item.js +27 -118
  119. package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -1
  120. package/lib/components/radio-field/radio-field.js +28 -64
  121. package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -1
  122. package/lib/components/radio-field-item/radio-field-item.js +54 -189
  123. package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -1
  124. package/lib/components/remove-tag/remove-tag.js +36 -129
  125. package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -1
  126. package/lib/components/section/section.js +19 -50
  127. package/lib/components/section/section.styles.d.ts.map +1 -1
  128. package/lib/components/select/select.js +43 -416
  129. package/lib/components/select/select.styles.d.ts.map +1 -1
  130. package/lib/components/select-tile/select-tile.js +18 -442
  131. package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -1
  132. package/lib/components/select-tile-list/select-tile-list.js +24 -62
  133. package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -1
  134. package/lib/components/skeleton-loader/skeleton-loader.js +19 -73
  135. package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -1
  136. package/lib/components/split-button/split-button.js +21 -37
  137. package/lib/components/split-button/split-button.styles.d.ts.map +1 -1
  138. package/lib/components/submenu/submenu.js +8 -18
  139. package/lib/components/submenu/submenu.styles.d.ts.map +1 -1
  140. package/lib/components/submenu-item/submenu-item.js +21 -42
  141. package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -1
  142. package/lib/components/tab/tab.js +17 -100
  143. package/lib/components/tab/tab.styles.d.ts.map +1 -1
  144. package/lib/components/tab-panel/tab-panel.js +18 -52
  145. package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -1
  146. package/lib/components/table/table.js +21 -73
  147. package/lib/components/table/table.styles.d.ts.map +1 -1
  148. package/lib/components/table-body/table-body.js +12 -24
  149. package/lib/components/table-body/table-body.styles.d.ts.map +1 -1
  150. package/lib/components/table-cell/table-cell.js +29 -69
  151. package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -1
  152. package/lib/components/table-header/table-header.js +8 -39
  153. package/lib/components/table-header/table-header.styles.d.ts.map +1 -1
  154. package/lib/components/table-header-cell/table-header-cell.js +18 -37
  155. package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -1
  156. package/lib/components/table-object/table-object.js +13 -32
  157. package/lib/components/table-object/table-object.styles.d.ts.map +1 -1
  158. package/lib/components/table-row/table-row.js +33 -139
  159. package/lib/components/table-row/table-row.styles.d.ts.map +1 -1
  160. package/lib/components/tabs/tabs.js +24 -339
  161. package/lib/components/tabs/tabs.styles.d.ts.map +1 -1
  162. package/lib/components/tag/tag.js +44 -159
  163. package/lib/components/tag/tag.styles.d.ts.map +1 -1
  164. package/lib/components/tag-list/tag-list.js +20 -51
  165. package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -1
  166. package/lib/components/tertiary-nav/tertiary-nav.js +21 -54
  167. package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -1
  168. package/lib/components/tertiary-nav-item/tertiary-nav-item.js +18 -68
  169. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -1
  170. package/lib/components/text-link/text-link.js +20 -85
  171. package/lib/components/text-link/text-link.styles.d.ts.map +1 -1
  172. package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -1
  173. package/lib/components/text-passage/text-passage.js +17 -189
  174. package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -1
  175. package/lib/components/tooltip/tooltip.js +57 -248
  176. package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -1
  177. package/lib/components/utility-nav/utility-nav.js +23 -56
  178. package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -1
  179. package/lib/components/utility-nav-item/utility-nav-item.js +28 -83
  180. package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -1
  181. package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts.map +1 -1
  182. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts.map +1 -1
  183. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +3 -0
  184. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -0
  185. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts.map +1 -1
  186. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts.map +1 -1
  187. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts.map +1 -1
  188. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts.map +1 -1
  189. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts +2 -2
  190. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts.map +1 -1
  191. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts.map +1 -1
  192. package/lib/design-tokens/core/scss/theming/component.scss +5 -5
  193. package/lib/design-tokens/core/scss/theming/functions.scss +4 -0
  194. package/lib/design-tokens/core/scss/theming/spacing.scss +60 -60
  195. package/lib/design-tokens/core/scss/theming/variables.scss +11 -11
  196. package/lib/design-tokens/mixins/typography-usage.scss +277 -277
  197. package/lib/design-tokens/tokens_netflix.theme.d.ts.map +1 -1
  198. package/lib/{icon-DImqxDiW.js → icon-D22g8aWB.js} +35 -138
  199. package/lib/index.js +1 -1
  200. package/package.json +7 -6
@@ -1,263 +1,13 @@
1
1
  import { css as h, html as c } from "lit";
2
2
  import { property as l } from "lit/decorators.js";
3
- import { Cre8Element as u } from "../cre8-element.js";
4
- const m = h`/**
5
- * Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
6
- */
7
- *,
8
- ::slotted(*),
9
- *:before,
10
- *:after {
11
- box-sizing: border-box;
12
- }
13
-
14
- :root {
15
- --size-base-unit: 0.5rem;
16
- }
17
-
18
- /**
19
- * RTL support for values logical properties can't automatically adjust for
20
- * 1) Percentage based horizontal translate values need to be flipped
21
- * 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
22
- * 3) Inverse items that have 45degs
23
- */
24
- [dir=rtl] {
25
- --rtlTranslateX: 50%;
26
- /* 1 */
27
- --rtlGradientToRight: 270deg;
28
- /* 2 */
29
- --rtlRotate45Inverse: -45deg;
30
- /* 3 */
31
- }
32
-
33
- /**
34
- * Visible focus outline for elements on a light background
35
- */
36
- /**
37
- * Visible focus outline for elements with an error status
38
- */
39
- /**
40
- * Visible focus outline for elements on a dark background
41
- */
42
- /**
43
- * Focus state for themes that need a dashed outline for focus
44
- * state
45
- **/
46
- /**
47
- * Invisible focus outline for elements that need a more visible
48
- * focus state for high-contrast mode
49
- */
50
- /**
51
- * Visually hidden from display
52
- */
53
- /*
54
- =======
55
- Animations
56
- =======
57
- */
58
- :host {
59
- --cre8-z-index-1: 1;
60
- --cre8-z-index-50: 50;
61
- --cre8-z-index-100: 100;
62
- --cre8-z-index-200: 200;
63
- --cre8-z-index-1030: 1030;
64
- --cre8-anim-fade-quick: 0.35s;
65
- --cre8-anim-ease: ease;
66
- }
67
-
68
- @keyframes fadeIn {
69
- 100% {
70
- opacity: 1;
71
- }
72
- }
73
- @keyframes slideIn {
74
- 100% {
75
- transform: translateX(0);
76
- }
77
- }
78
- @keyframes slideInFwd {
79
- 100% {
80
- width: 272px;
81
- height: 272px;
82
- }
83
- }
84
- @keyframes slideOutRight {
85
- 100% {
86
- width: 272px;
87
- height: 272px;
88
- }
89
- }
90
- @keyframes slideUp {
91
- 100% {
92
- transform: translateY(0);
93
- }
94
- }
95
- @media (width >= 481px) {
96
- @keyframes slideInFwd {
97
- 100% {
98
- width: 417px;
99
- height: 417px;
100
- }
101
- }
102
- @keyframes slideOutRight {
103
- 100% {
104
- width: 417px;
105
- height: 417px;
106
- }
107
- }
108
- }
109
- @media (width >= 48rem) {
110
- @keyframes slideInFwd {
111
- 100% {
112
- width: 330px;
113
- height: 330px;
114
- }
115
- }
116
- @keyframes slideOutRight {
117
- 100% {
118
- width: 330px;
119
- height: 330px;
120
- transform: translateX(calc(100vw - 45px));
121
- }
122
- }
123
- }
124
- @media (width >= 60rem) {
125
- @keyframes slideInFwd {
126
- 100% {
127
- width: 460px;
128
- height: 460px;
129
- }
130
- }
131
- @keyframes slideOutRight {
132
- 100% {
133
- width: 460px;
134
- height: 460px;
135
- transform: translateX(calc(100vw - 45px));
136
- }
137
- }
138
- }
139
- @media (width >= 75rem) {
140
- @keyframes slideInFwd {
141
- 100% {
142
- width: 592px;
143
- height: 591px;
144
- }
145
- }
146
- @keyframes slideOutRight {
147
- 100% {
148
- width: 592px;
149
- height: 591px;
150
- transform: translateX(calc(100vw - 45px));
151
- }
152
- }
153
- }
154
- @media (width >= 87.5rem) {
155
- @keyframes slideOutRight {
156
- 100% {
157
- width: 592px;
158
- height: 591px;
159
- transform: translateX(calc(100vw - 120px));
160
- }
161
- }
162
- }
163
- @media (width >= 2200px) {
164
- @keyframes slideOutRight {
165
- 100% {
166
- width: 592px;
167
- height: 591px;
168
- transform: translateX(calc(100vw - 592px));
169
- }
170
- }
171
- }
172
- span.ripple {
173
- position: absolute;
174
- border-radius: 50%;
175
- transform: scale(0);
176
- animation: ripple 600ms linear;
177
- background-color: var(--ripple-bg-color);
178
- }
179
-
180
- @keyframes ripple {
181
- to {
182
- transform: scale(4);
183
- opacity: 1;
184
- }
185
- }
186
- :root {
187
- --size-base-unit: 0.5rem;
188
- }
189
-
190
- /**
191
- * RTL support for values logical properties can't automatically adjust for
192
- * 1) Percentage based horizontal translate values need to be flipped
193
- * 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
194
- * 3) Inverse items that have 45degs
195
- */
196
- [dir=rtl] {
197
- --rtlTranslateX: 50%;
198
- /* 1 */
199
- --rtlGradientToRight: 270deg;
200
- /* 2 */
201
- --rtlRotate45Inverse: -45deg;
202
- /* 3 */
203
- }
204
-
205
- /**
206
- * Visible focus outline for elements on a light background
207
- */
208
- /**
209
- * Visible focus outline for elements with an error status
210
- */
211
- /**
212
- * Visible focus outline for elements on a dark background
213
- */
214
- /**
215
- * Focus state for themes that need a dashed outline for focus
216
- * state
217
- **/
218
- /**
219
- * Invisible focus outline for elements that need a more visible
220
- * focus state for high-contrast mode
221
- */
222
- /**
223
- * Visually hidden from display
224
- */
225
- /**
226
- * 1) A container with a background that can house various recipes of Components within
227
- */
228
- .cre8-c-band {
229
- background: var(--cre8-color-bg-subtle);
230
- padding: 24px 0;
231
- }
232
- @media all and (min-width: 1200px) {
233
- .cre8-c-band {
234
- padding: 32px 0;
235
- }
236
- }
237
-
238
- /**
239
- * Branded variant
240
- */
241
- .cre8-c-band--branded {
242
- color: var(--cre8-color-content-knockout);
243
- background: var(--cre8-theme-color-utility-information);
244
- }
245
-
246
- /**
247
- * Full height
248
- * 1) Height set to 100% to fill a container like a sidebar
249
- */
250
- .cre8-c-band--full-height {
251
- height: 100%;
252
- }
253
- /* sourceMappingURL=band.module.css.map */
254
- `;
255
- var f = Object.defineProperty, d = (s, r, o, p) => {
256
- for (var e = void 0, a = s.length - 1, n; a >= 0; a--)
257
- (n = s[a]) && (e = n(r, o, e) || e);
258
- return e && f(r, o, e), e;
3
+ import { Cre8Element as m } from "../cre8-element.js";
4
+ const p = h`*,::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-band{background:var(--cre8-color-bg-subtle);padding:1.5rem 0}@media all and (min-width: 1200px){.cre8-c-band{padding:2rem 0}}.cre8-c-band--branded{color:var(--cre8-color-content-knockout);background:var(--cre8-theme-color-utility-information)}.cre8-c-band--full-height{height:100%}`;
5
+ var f = Object.defineProperty, o = (s, r, d, x) => {
6
+ for (var e = void 0, i = s.length - 1, n; i >= 0; i--)
7
+ (n = s[i]) && (e = n(r, d, e) || e);
8
+ return e && f(r, d, e), e;
259
9
  };
260
- const i = class i extends u {
10
+ const a = class a extends m {
261
11
  render() {
262
12
  const r = this.componentClassNames("cre8-c-band", {
263
13
  "cre8-c-band--branded": this.variant === "branded",
@@ -270,12 +20,12 @@ const i = class i extends u {
270
20
  `;
271
21
  }
272
22
  };
273
- i.styles = [m];
274
- let t = i;
275
- d([
23
+ a.styles = [p];
24
+ let t = a;
25
+ o([
276
26
  l()
277
27
  ], t.prototype, "variant");
278
- d([
28
+ o([
279
29
  l({ type: Boolean, reflect: !0 })
280
30
  ], t.prototype, "fullHeight");
281
31
  customElements.get("cre8-band") === void 0 && customElements.define("cre8-band", t);
@@ -1 +1 @@
1
- {"version":3,"file":"band.styles.d.ts","sourceRoot":"","sources":["../../../components/band/band.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBA0PX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"band.styles.d.ts","sourceRoot":"","sources":["../../../components/band/band.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAijE,CAAC;AAC9jE,eAAe,MAAM,CAAC"}
@@ -1,39 +1,20 @@
1
- import { css as i, html as c } from "lit";
2
- import { property as m } from "lit/decorators.js";
1
+ import { css as n, html as m } from "lit";
2
+ import { property as o } from "lit/decorators.js";
3
3
  import { Cre8Element as p } from "../cre8-element.js";
4
- const d = i`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- // #BREADCRUMBS
7
-
8
- :host {
9
- display: inline-flex;
10
- }
11
-
12
- /**
13
- * 1) An ordered list of navigational hierarchy showing the user where they are on the site
14
- */
15
- .cre8-c-breadcrumbs__list {
16
- display: flex;
17
- flex-wrap: wrap;
18
- margin: 0;
19
- padding: 0;
20
- list-style: none;
21
- gap: calc(8px * 1);
22
- }
23
- `;
24
- var b = Object.defineProperty, f = (n, s, o, h) => {
25
- for (var e = void 0, t = n.length - 1, l; t >= 0; t--)
26
- (l = n[t]) && (e = l(s, o, e) || e);
27
- return e && b(s, o, e), e;
4
+ const h = n`*,::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-breadcrumbs__list{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;gap:0.5rem}`;
5
+ var c = Object.defineProperty, f = (s, t, l, x) => {
6
+ for (var e = void 0, a = s.length - 1, d; a >= 0; a--)
7
+ (d = s[a]) && (e = d(t, l, e) || e);
8
+ return e && c(t, l, e), e;
28
9
  };
29
- const a = class a extends p {
10
+ const i = class i extends p {
30
11
  constructor() {
31
12
  super(...arguments), this.navAriaLabel = "breadcrumbs";
32
13
  }
33
14
  render() {
34
- const s = this.componentClassNames("cre8-c-breadcrumbs", {});
35
- return c`
36
- <nav aria-label="${this.navAriaLabel}" class="${s}">
15
+ const t = this.componentClassNames("cre8-c-breadcrumbs", {});
16
+ return m`
17
+ <nav aria-label="${this.navAriaLabel}" class="${t}">
37
18
  <ol class="cre8-c-breadcrumbs__list">
38
19
  <slot></slot>
39
20
  </ol>
@@ -41,10 +22,10 @@ const a = class a extends p {
41
22
  `;
42
23
  }
43
24
  };
44
- a.styles = [d];
45
- let r = a;
25
+ i.styles = [h];
26
+ let r = i;
46
27
  f([
47
- m()
28
+ o()
48
29
  ], r.prototype, "navAriaLabel");
49
30
  customElements.get("cre8-breadcrumbs") === void 0 && customElements.define("cre8-breadcrumbs", r);
50
31
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs/breadcrumbs.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAmBX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs/breadcrumbs.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA84D,CAAC;AAC35D,eAAe,MAAM,CAAC"}
@@ -1,58 +1,23 @@
1
- import { s as c } from "../../Caret_Right-DZH0BlfG.js";
2
- import { css as i, html as r } from "lit";
3
- import { Cre8Element as n } from "../cre8-element.js";
4
- import "../../icon-DImqxDiW.js";
5
- const o = i`@import '../../design-tokens/core/scss/theming/component';
6
-
7
- :host {
8
- display: inline-flex;
9
- }
10
-
11
- /**
12
- * 1) Singular item within the breadcrumbs component that contains a link elsewhere on the site
13
- */
14
- .cre8-c-breadcrumbs--item {
15
- display: inline-flex;
16
- align-items: center;
17
-
18
- /**
19
- * Breadcrumbs caret doesn't display for last breadcrumb item
20
- */
21
- :host(:last-child) & {
22
- cre8-icon {
23
- display: none;
24
- }
25
- }
26
- }
27
-
28
- /**
29
- * Breadcrumbs icon
30
- */
31
- cre8-icon {
32
- margin-left: calc(8px * 1);
33
- color: var(--cre8-color-content-subtle);
34
- display: inline-flex;
35
- svg {
36
- height: calc(8px * 2);
37
- width: calc(8px * 2);
38
- }
39
- }
40
- `, t = class t extends n {
1
+ import { s as i } from "../../Caret_Right-DZH0BlfG.js";
2
+ import { css as s, html as a } from "lit";
3
+ import { Cre8Element as l } from "../cre8-element.js";
4
+ import "../../icon-D22g8aWB.js";
5
+ const n = s`*,::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-breadcrumbs--item{display:inline-flex;align-items:center}:host(:last-child) .cre8-c-breadcrumbs--item cre8-icon{display:none}cre8-icon{margin-left:0.5rem;color:var(--cre8-color-content-subtle);display:inline-flex}cre8-icon svg{height:1rem;width:1rem}`, t = class t extends l {
41
6
  // Set the role before rendering for better accessibility
42
7
  // Because we're settting this role, we don't wrap the slot in an <li>
43
8
  connectedCallback() {
44
9
  this.setAttribute("role", "listitem"), super.connectedCallback();
45
10
  }
46
11
  render() {
47
- const s = this.componentClassNames(
12
+ const r = this.componentClassNames(
48
13
  "cre8-c-breadcrumbs--item",
49
14
  {}
50
15
  );
51
- return r`
52
- <div class="${s}">
16
+ return a`
17
+ <div class="${r}">
53
18
  <slot></slot>
54
19
  <cre8-icon
55
- svg="${c}"
20
+ svg="${i}"
56
21
  rotate="90"
57
22
  container-class="cre8-c-icon-wrapper"
58
23
  aria-hidden="true"
@@ -63,7 +28,7 @@ cre8-icon {
63
28
  `;
64
29
  }
65
30
  };
66
- t.styles = [o];
31
+ t.styles = [n];
67
32
  let e = t;
68
33
  customElements.get("cre8-breadcrumbs-item") === void 0 && customElements.define("cre8-breadcrumbs-item", e);
69
34
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs-item.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs-item/breadcrumbs-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAmCX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"breadcrumbs-item.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs-item/breadcrumbs-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA4iE,CAAC;AACzjE,eAAe,MAAM,CAAC"}
@@ -2,7 +2,7 @@ import { css as v, html as n, nothing as i } from "lit";
2
2
  import { ifDefined as c } from "lit-html/directives/if-defined.js";
3
3
  import { property as e, query as y } from "lit/decorators.js";
4
4
  import { Cre8FormElement as h } from "../cre8-form-element.js";
5
- import "../../icon-DImqxDiW.js";
5
+ import "../../icon-D22g8aWB.js";
6
6
  import "../loading-spinner/loading-spinner.js";
7
7
  const g = v`
8
8
  @import '../../design-tokens/core/scss/theming/component';
@@ -767,8 +767,8 @@ color: var(--cre8-color-button-primary-inverse-content);
767
767
 
768
768
  .cre8-c-button--sm cre8-icon {
769
769
  svg {
770
- height: calc(8px * 1.75);
771
- width: calc(8px * 1.75);
770
+ height: size(1.75);
771
+ width: size(1.75);
772
772
  }
773
773
  }
774
774
 
@@ -782,8 +782,8 @@ color: var(--cre8-color-button-primary-inverse-content);
782
782
 
783
783
  .cre8-c-button--lg cre8-icon {
784
784
  svg {
785
- height: calc(8px * 2.25);
786
- width: calc(8px * 2.25);
785
+ height: size(2.25);
786
+ width: size(2.25);
787
787
  }
788
788
  }
789
789
 
@@ -795,22 +795,22 @@ color: var(--cre8-color-button-primary-inverse-content);
795
795
  */
796
796
 
797
797
  cre8-icon-legacy + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
798
- margin-left: calc(8px * 1);
798
+ margin-left: size(1);
799
799
  }
800
800
 
801
801
  cre8-icon + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
802
- margin-left: calc(8px * 1);
802
+ margin-left: size(1);
803
803
  }
804
804
 
805
805
  /**
806
806
  * Button icon directly after button text
807
807
  */
808
808
  .cre8-c-button__text:not(.cre8-u-is-vishidden) + cre8-icon-legacy {
809
- margin-left: calc(8px * 1);
809
+ margin-left: size(1);
810
810
  }
811
811
 
812
812
  .cre8-c-button__text:not(.cre8-u-is-vishidden) + cre8-icon {
813
- margin-left: calc(8px * 1);
813
+ margin-left: size(1);
814
814
  }
815
815
  /**
816
816
  * Button icon only
@@ -866,7 +866,7 @@ cre8-icon-legacy.cre8-u-is-vishidden {
866
866
  }
867
867
 
868
868
  span.cre8-c-button__icon {
869
- margin-left: calc(8px * 1);
869
+ margin-left: size(1);
870
870
  max-width: fit-content;
871
871
  min-width: 0px;
872
872
  width: auto;
@@ -881,15 +881,15 @@ cre8-icon {
881
881
  justify-content: center;
882
882
 
883
883
  svg {
884
- height: calc(8px * 2);
885
- width: calc(8px * 2);
884
+ height: size(2);
885
+ width: size(2);
886
886
  }
887
887
  }
888
888
  `;
889
- var p = Object.defineProperty, o = (b, t, u, f) => {
889
+ var f = Object.defineProperty, o = (b, t, u, p) => {
890
890
  for (var a = void 0, l = b.length - 1, s; l >= 0; l--)
891
891
  (s = b[l]) && (a = s(t, u, a) || a);
892
- return a && p(t, u, a), a;
892
+ return a && f(t, u, a), a;
893
893
  };
894
894
  const d = class d extends h {
895
895
  constructor() {