@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,181 +1,14 @@
1
- import { css as p, html as a } from "lit";
2
- import { ifDefined as h } from "lit-html/directives/if-defined.js";
1
+ import { css as h, html as a } from "lit";
2
+ import { ifDefined as p } from "lit-html/directives/if-defined.js";
3
3
  import { property as o, state as v } from "lit/decorators.js";
4
- import { Cre8Element as u } from "../cre8-element.js";
5
- const y = p`@import '../../design-tokens/core/scss/theming/component';
6
-
7
- // #PRIMARY NAV ITEM
8
-
9
- /**
10
- * Actual primary nav list item
11
- */
12
- .cre8-c-primary-nav__item {
13
- border-bottom-width: var(--cre8-border-width-default);
14
- border-bottom-style: var(--cre8-border-style-default);
15
- border-bottom-color: var(--cre8-color-border-subtle);
16
-
17
- @media all and (min-width:$cre8-breakpoint-lg) {
18
- border-bottom: none;
19
- }
20
- }
21
-
22
- /**
23
- * Content within the primary nav item
24
- */
25
- .cre8-c-primary-nav__item-content {
26
- display: flex;
27
- align-items: baseline;
28
- }
29
-
30
- /**
31
- * Primary navigation link
32
- * 1) Used to remove any sort of default button styles when a button tag is rendered
33
- */
34
- .cre8-c-primary-nav__link {
35
- @include cre8-typography-label-default;
36
- display: flex;
37
- align-items: center;
38
- appearance: none; /* 1 */
39
- background: transparent; /* 1 */
40
- border: none;
41
- //border: 1px solid var(--cre8-color-header-menu-border-default); /* 1 */
42
- white-space: nowrap;
43
- width: 100%;
44
- margin: 0;
45
- padding: calc(8px * 2) calc(8px * 4);
46
- color: var(--cre8-primary-nav-link-color, var(--cre8-color-header-menu-content-default));
47
- text-decoration: none;
48
- transition: all var(--cre8-anim-fade-quick) var(--cre8-anim-ease);
49
- cursor: pointer;
50
-
51
- &:hover,
52
- &:focus-visible {
53
- //border-color: var(--cre8-color-header-menu-border-hover);
54
- background: var(--cre8-color-header-menu-bg-hover);
55
- color: var(--cre8-color-header-menu-content-hover);
56
- }
57
-
58
- &:active {
59
- border-color: var(--cre8-color-header-menu-border-pressed);
60
- background: var(--cre8-color-header-menu-bg-pressed);
61
- color: var(--cre8-color-header-menu-content-pressed);
62
- }
63
-
64
- /**
65
- * Primary navigation link within active primary nav item
66
- */
67
- .cre8-c-primary-nav__item.cre8-is-active & {
68
- background: var(--cre8-color-bg-brand);
69
- color: var(--cre8-color-header-menu-content-hover);
70
- }
71
-
72
- /**
73
- * Medium screen primary navigation
74
- */
75
- @media all and (min-width:$cre8-breakpoint-lg) {
76
- padding: calc(8px * 2) calc(8px * 1);
77
- }
78
-
79
- @media all and (min-width:$cre8-breakpoint-lg) {
80
- padding: calc(8px * 2);
81
- border-bottom: none;
82
- }
83
- }
84
-
85
- /**
86
- * Icon within primary navigation item
87
- */
88
- cre8-icon-legacy {
89
- --cre8-icon-height: #{calc(8px * 1.5)}; /* 1 */
90
- --cre8-icon-width: #{calc(8px * 1.5)}; /* 1 */
91
- margin-left: auto;
92
- transition: transform var(--cre8-anim-fade-quick) var(--cre8-anim-ease);
93
-
94
- /**
95
- * Icon within active primary nav item
96
- * 1) Rotate the icon to show that the dropdown is open
97
- */
98
- .cre8-c-primary-nav__item.cre8-is-active & {
99
- transform: rotate(-180deg); /* 1 */
100
- }
101
-
102
- @media all and (min-width:$cre8-breakpoint-lg) {
103
- margin-left: calc(8px * 1);
104
- }
105
- }
106
-
107
- /**
108
- * Primary nav item panel
109
- * 1) Panel for the dropdown content
110
- * 1) Hide when not active
111
- */
112
- .cre8-c-primary-nav__item-panel {
113
- //display: none;
114
- visibility: hidden; /* 1 */
115
- width: 100%;
116
- height: 0; /* 1 */
117
- overflow: hidden; /* 1 */
118
- background: transparent;
119
- opacity: 0; /* 1 */
120
- transition: all 0s var(--cre8-anim-ease);
121
- z-index: -1;
122
-
123
- @media all and (min-width:$cre8-breakpoint-lg) {
124
- position: absolute;
125
- top: 100%;
126
- left: 0;
127
- height: auto;
128
- box-shadow: var(--cre8-theme-box-shadow-md);
129
- }
130
-
131
- /**
132
- * Primary nav item panel within active item
133
- * 1) Show the primary nav item dropdown
134
- */
135
- .cre8-c-primary-nav__item.cre8-is-active & {
136
- display: block;
137
- visibility: visible; /* 1 */
138
- height: auto; /* 1 */
139
- padding-top: calc(8px * 4);
140
- padding-bottom: calc(8px * 4);
141
- background: var(--cre8-color-bg-default);
142
- opacity: 1; /* 1 */
143
- z-index: 1;
144
- transition: opacity var(--cre8-anim-fade-quick) var(--cre8-anim-ease);
145
- }
146
- }
147
-
148
- /**
149
- * Primary nav item panel inner container
150
- * 1) Container within primary nav item panel that caps the content width and aligns
151
- */
152
- .cre8-c-primary-nav__item-panel-inner {
153
- /**
154
- * Primary nav item inner container within megamenu item
155
- * 1) Cap the content width and center
156
- */
157
- .cre8-c-primary-nav__item--megamenu & {
158
- max-width: 70rem; /* 1 */
159
- padding-right: calc(8px * 4);
160
- padding-left: calc(8px * 4);
161
- margin: 0 auto; /* 1 */
162
- }
163
- }
164
-
165
- .cre8-c-primary-nav__item-before {
166
- margin-right: calc(8px * 1);
167
- }
168
-
169
- .cre8-c-primary-nav__item-after {
170
- margin-left: calc(8px * 1);
171
- }
172
- `;
173
- var f = Object.defineProperty, n = (d, e, t, c) => {
174
- for (var r = void 0, s = d.length - 1, m; s >= 0; s--)
175
- (m = d[s]) && (r = m(e, t, r) || r);
176
- return r && f(e, t, r), r;
4
+ import { Cre8Element as f } from "../cre8-element.js";
5
+ const y = 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-primary-nav__item{border-bottom-width:var(--cre8-border-width-default);border-bottom-style:var(--cre8-border-style-default);border-bottom-color:var(--cre8-color-border-subtle)}@media all and (min-width: 960px){.cre8-c-primary-nav__item{border-bottom:none}}.cre8-c-primary-nav__item-content{display:flex;align-items:baseline}.cre8-c-primary-nav__link{font-family:var(--cre8-typography-label-default-font-family);font-size:var(--cre8-typography-label-default-font-size);font-weight:var(--cre8-typography-label-default-font-weight);line-height:var(--cre8-typography-label-default-line-height);text-decoration:var(--cre8-typography-label-default-text-decoration);text-transform:var(--cre8-typography-label-default-text-transform);display:flex;align-items:center;appearance:none;background:rgba(0,0,0,0);border:none;white-space:nowrap;width:100%;margin:0;padding:1rem 2rem;color:var(--cre8-primary-nav-link-color, var(--cre8-color-header-menu-content-default));text-decoration:none;transition:all var(--cre8-anim-fade-quick) var(--cre8-anim-ease);cursor:pointer}.cre8-c-primary-nav__link:hover,.cre8-c-primary-nav__link:focus-visible{background:var(--cre8-color-header-menu-bg-hover);color:var(--cre8-color-header-menu-content-hover)}.cre8-c-primary-nav__link:active{border-color:var(--cre8-color-header-menu-border-pressed);background:var(--cre8-color-header-menu-bg-pressed);color:var(--cre8-color-header-menu-content-pressed)}.cre8-c-primary-nav__item.cre8-is-active .cre8-c-primary-nav__link{background:var(--cre8-color-bg-brand);color:var(--cre8-color-header-menu-content-hover)}@media all and (min-width: 960px){.cre8-c-primary-nav__link{padding:1rem 0.5rem}}@media all and (min-width: 960px){.cre8-c-primary-nav__link{padding:1rem;border-bottom:none}}cre8-icon-legacy{--cre8-icon-height: 0.75rem;--cre8-icon-width: 0.75rem;margin-left:auto;transition:transform var(--cre8-anim-fade-quick) var(--cre8-anim-ease)}.cre8-c-primary-nav__item.cre8-is-active cre8-icon-legacy{transform:rotate(-180deg)}@media all and (min-width: 960px){cre8-icon-legacy{margin-left:0.5rem}}.cre8-c-primary-nav__item-panel{visibility:hidden;width:100%;height:0;overflow:hidden;background:rgba(0,0,0,0);opacity:0;transition:all 0s var(--cre8-anim-ease);z-index:-1}@media all and (min-width: 960px){.cre8-c-primary-nav__item-panel{position:absolute;top:100%;left:0;height:auto;box-shadow:var(--cre8-theme-box-shadow-md)}}.cre8-c-primary-nav__item.cre8-is-active .cre8-c-primary-nav__item-panel{display:block;visibility:visible;height:auto;padding-top:2rem;padding-bottom:2rem;background:var(--cre8-color-bg-default);opacity:1;z-index:1;transition:opacity var(--cre8-anim-fade-quick) var(--cre8-anim-ease)}.cre8-c-primary-nav__item--megamenu .cre8-c-primary-nav__item-panel-inner{max-width:70rem;padding-right:2rem;padding-left:2rem;margin:0 auto}.cre8-c-primary-nav__item-before{margin-right:0.5rem}.cre8-c-primary-nav__item-after{margin-left:0.5rem}`;
6
+ var u = Object.defineProperty, n = (d, e, r, c) => {
7
+ for (var i = void 0, s = d.length - 1, m; s >= 0; s--)
8
+ (m = d[s]) && (i = m(e, r, i) || i);
9
+ return i && u(e, r, i), i;
177
10
  };
178
- const l = class l extends u {
11
+ const l = class l extends f {
179
12
  /**
180
13
  * Initialize functions
181
14
  */
@@ -214,8 +47,8 @@ const l = class l extends u {
214
47
  return;
215
48
  if (!this.shadowRoot?.host)
216
49
  throw Error("Could not determine navigation context during click handler");
217
- const t = e.composedPath().includes(this.shadowRoot.host);
218
- this.isActive && !t && (this.isActive = !1);
50
+ const r = e.composedPath().includes(this.shadowRoot.host);
51
+ this.isActive && !r && (this.isActive = !1);
219
52
  }
220
53
  /**
221
54
  * Toggle active state of primary nav item
@@ -233,11 +66,11 @@ const l = class l extends u {
233
66
  _handleOnKeyDown(e) {
234
67
  if (e.key === "Escape" && this.isActive === !0) {
235
68
  this._closePanel();
236
- const t = this.shadowRoot?.querySelector(
69
+ const r = this.shadowRoot?.querySelector(
237
70
  ".cre8-c-primary-nav__link"
238
71
  );
239
- t && setTimeout(() => {
240
- t.focus();
72
+ r && setTimeout(() => {
73
+ r.focus();
241
74
  }, 1);
242
75
  }
243
76
  }
@@ -265,7 +98,7 @@ const l = class l extends u {
265
98
  <slot name="itemAfter"></slot>
266
99
  </div>
267
100
  `}
268
- <cre8-icon-legacy aria-hidden="true" name="${h(this.iconName)}"></cre8-icon-legacy>
101
+ <cre8-icon-legacy aria-hidden="true" name="${p(this.iconName)}"></cre8-icon-legacy>
269
102
  </button>
270
103
  </div>
271
104
  <div class="cre8-c-primary-nav__item-panel">
@@ -296,24 +129,24 @@ const l = class l extends u {
296
129
  }
297
130
  };
298
131
  l.styles = [y];
299
- let i = l;
132
+ let t = l;
300
133
  n([
301
134
  o()
302
- ], i.prototype, "text");
135
+ ], t.prototype, "text");
303
136
  n([
304
137
  o()
305
- ], i.prototype, "href");
138
+ ], t.prototype, "href");
306
139
  n([
307
140
  o()
308
- ], i.prototype, "iconName");
141
+ ], t.prototype, "iconName");
309
142
  n([
310
143
  o({ type: Boolean, reflect: !0 })
311
- ], i.prototype, "megaMenu");
144
+ ], t.prototype, "megaMenu");
312
145
  n([
313
146
  v()
314
- ], i.prototype, "isActive");
315
- customElements.get("cre8-primary-nav-item") === void 0 && customElements.define("cre8-primary-nav-item", i);
147
+ ], t.prototype, "isActive");
148
+ customElements.get("cre8-primary-nav-item") === void 0 && customElements.define("cre8-primary-nav-item", t);
316
149
  export {
317
- i as Cre8PrimaryNavItem,
318
- i as default
150
+ t as Cre8PrimaryNavItem,
151
+ t as default
319
152
  };
@@ -1 +1 @@
1
- {"version":3,"file":"primary-nav-item.styles.d.ts","sourceRoot":"","sources":["../../../components/primary-nav-item/primary-nav-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAuKX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"primary-nav-item.styles.d.ts","sourceRoot":"","sources":["../../../components/primary-nav-item/primary-nav-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAqoJ,CAAC;AAClpJ,eAAe,MAAM,CAAC"}
@@ -1,132 +1,28 @@
1
- import { css as i, html as l } from "lit";
1
+ import { css as p, html as l } from "lit";
2
2
  import { property as s } from "lit/decorators.js";
3
- import { nanoid as p } from "nanoid";
4
- import { Cre8Element as u } from "../cre8-element.js";
5
- const b = i`@import '../../design-tokens/core/scss/theming/component';
6
-
7
- /**
8
- * 1) Progress Meter
9
- * 2) Progress bar fill color custom property
10
- */
11
-
12
- :host {
13
- display: block;
14
- }
15
-
16
- .cre8-c-progress-meter__progress {
17
- --cre8-progress-meter-background: var(--cre8-color-content-brand); /* 2 */
18
- width: 100%;
19
- height: var(--cre8-progress-meter-height, calc(8px * 1));
20
- background: var(--cre8-color-bg-transparent);
21
- border-width: var(--cre8-border-width-default);
22
- border-style: var(--cre8-border-style-default);
23
- border-color: var(--cre8-color-border-strong);
24
- border-radius: var(--cre8-border-radius-round);
25
-
26
- .cre8-c-progress-meter--knockout & {
27
- --cre8-progress-meter-background: var(--cre8-color-content-brand-knockout);
28
- border-color: var(--cre8-color-border-default);
29
- }
30
-
31
- /**
32
- * Progress bar background styling error
33
- */
34
- .cre8-c-progress-meter--error & {
35
- --cre8-progress-meter-background: var(--cre8-color-bg-error-strong);
36
- }
37
-
38
- /**
39
- * Progress bar background styling warning
40
- */
41
- .cre8-c-progress-meter--warning & {
42
- --cre8-progress-meter-background: var(--cre8-color-bg-warning-strong);
43
- }
44
-
45
- /**
46
- * Progress bar background styling success
47
- */
48
- .cre8-c-progress-meter--success & {
49
- --cre8-progress-meter-background: var(--cre8-color-bg-success-strong);
50
- }
51
-
52
-
53
- /**
54
- * Progress bar background styling indeterminate
55
- */
56
- .cre8-c-progress-meter--indeterminate & {
57
- --cre8-progress-meter-background: repeating-linear-gradient(
58
- -45deg,
59
- #009bdf,
60
- #009bdf 10px,
61
- #00628e 10px,
62
- #00628e 20px
63
- ); // TODO Possibly tokenize these
64
- }
65
- }
66
-
67
- /**
68
- * Progress bar sr-only escriptor
69
- */
70
- .cre8-c-progress-meter__sr-only {
71
- @include visuallyHidden;
72
- }
73
-
74
-
75
- /**
76
- * Progress bar background styling
77
- */
78
- progress {
79
- color: var(--cre8-progress-meter-background);
80
- appearance: none;
81
- }
82
-
83
- /**
84
- * Progress bar background styling for Mozilla
85
- */
86
- progress::-moz-progress-bar {
87
- background: var(--cre8-progress-meter-background);
88
- border-radius: var(--cre8-border-radius-round);
89
- }
90
-
91
- /**
92
- * Progress bar background styling for Safari and Chrome
93
- */
94
- progress::-webkit-progress-bar {
95
- background: var(--cre8-color-bg-subtle);
96
- border-radius: var(--cre8-border-radius-round);
97
- }
98
- progress::-webkit-progress-value {
99
- background: var(--cre8-progress-meter-background);
100
- border-radius: var(--cre8-border-radius-round);
101
- }
102
-
103
- /**
104
- * Hide Label except for screen readers
105
- */
106
- .cre8-c-progress-meter__label {
107
- @include visuallyHidden;
108
- }
109
- `;
110
- var m = Object.defineProperty, o = (r, t, d, v) => {
111
- for (var c = void 0, a = r.length - 1, g; a >= 0; a--)
112
- (g = r[a]) && (c = g(t, d, c) || c);
113
- return c && m(t, d, c), c;
114
- }, k = /* @__PURE__ */ ((r) => (r[r.error = 0] = "error", r[r.warning = 1] = "warning", r[r.success = 2] = "success", r[r.undefined = 3] = "undefined", r))(k || {});
115
- const n = class n extends u {
3
+ import { nanoid as g } from "nanoid";
4
+ import { Cre8Element as m } from "../cre8-element.js";
5
+ const h = p`*,::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:block}.cre8-c-progress-meter__progress{--cre8-progress-meter-background: var(--cre8-color-content-brand);width:100%;height:var(--cre8-progress-meter-height, 0.5rem);background:var(--cre8-color-bg-transparent);border-width:var(--cre8-border-width-default);border-style:var(--cre8-border-style-default);border-color:var(--cre8-color-border-strong);border-radius:var(--cre8-border-radius-round)}.cre8-c-progress-meter--knockout .cre8-c-progress-meter__progress{--cre8-progress-meter-background: var(--cre8-color-content-brand-knockout);border-color:var(--cre8-color-border-default)}.cre8-c-progress-meter--error .cre8-c-progress-meter__progress{--cre8-progress-meter-background: var(--cre8-color-bg-error-strong)}.cre8-c-progress-meter--warning .cre8-c-progress-meter__progress{--cre8-progress-meter-background: var(--cre8-color-bg-warning-strong)}.cre8-c-progress-meter--success .cre8-c-progress-meter__progress{--cre8-progress-meter-background: var(--cre8-color-bg-success-strong)}.cre8-c-progress-meter--indeterminate .cre8-c-progress-meter__progress{--cre8-progress-meter-background: repeating-linear-gradient(-45deg, #009bdf, #009bdf 10px, #00628e 10px, #00628e 20px)}.cre8-c-progress-meter__sr-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}progress{color:var(--cre8-progress-meter-background);appearance:none}progress::-moz-progress-bar{background:var(--cre8-progress-meter-background);border-radius:var(--cre8-border-radius-round)}progress::-webkit-progress-bar{background:var(--cre8-color-bg-subtle);border-radius:var(--cre8-border-radius-round)}progress::-webkit-progress-value{background:var(--cre8-progress-meter-background);border-radius:var(--cre8-border-radius-round)}.cre8-c-progress-meter__label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}`;
6
+ var u = Object.defineProperty, t = (r, a, d, f) => {
7
+ for (var o = void 0, i = r.length - 1, n; i >= 0; i--)
8
+ (n = r[i]) && (o = n(a, d, o) || o);
9
+ return o && u(a, d, o), o;
10
+ }, b = /* @__PURE__ */ ((r) => (r[r.error = 0] = "error", r[r.warning = 1] = "warning", r[r.success = 2] = "success", r[r.undefined = 3] = "undefined", r))(b || {});
11
+ const c = class c extends m {
116
12
  constructor() {
117
13
  super(...arguments), this.max = 100;
118
14
  }
119
15
  connectedCallback() {
120
- super.connectedCallback(), this.fieldId = this.fieldId || p();
16
+ super.connectedCallback(), this.fieldId = this.fieldId || g();
121
17
  }
122
18
  render() {
123
- const t = this.componentClassNames("cre8-c-progress-meter", {
19
+ const a = this.componentClassNames("cre8-c-progress-meter", {
124
20
  "cre8-c-progress-meter--error": this.status === "error",
125
21
  "cre8-c-progress-meter--warning": this.status === "warning",
126
22
  "cre8-c-progress-meter--success": this.status === "success",
127
23
  "cre8-c-progress-meter--knockout": this.knockout
128
24
  });
129
- return l`<div class="${t}">
25
+ return l`<div class="${a}">
130
26
  <label class="cre8-c-progress-meter__label" for="${this.fieldId}">${this.label}</label>
131
27
  <span class="cre8-c-progress-meter__sr-only">${Math.round(this.value / this.max * 100)}%</span>
132
28
  <progress
@@ -142,31 +38,31 @@ const n = class n extends u {
142
38
  </div>`;
143
39
  }
144
40
  };
145
- n.styles = [b];
146
- let e = n;
147
- o([
41
+ c.styles = [h];
42
+ let e = c;
43
+ t([
148
44
  s()
149
45
  ], e.prototype, "status");
150
- o([
46
+ t([
151
47
  s({ type: Boolean, reflect: !0 })
152
48
  ], e.prototype, "knockout");
153
- o([
49
+ t([
154
50
  s()
155
51
  ], e.prototype, "max");
156
- o([
52
+ t([
157
53
  s()
158
54
  ], e.prototype, "value");
159
- o([
55
+ t([
160
56
  s()
161
57
  ], e.prototype, "fieldId");
162
- o([
58
+ t([
163
59
  s()
164
60
  ], e.prototype, "name");
165
- o([
61
+ t([
166
62
  s()
167
63
  ], e.prototype, "label");
168
64
  customElements.get("cre8-progress-meter") === void 0 && customElements.define("cre8-progress-meter", e);
169
65
  export {
170
66
  e as Cre8ProgressMeter,
171
- k as status
67
+ b as status
172
68
  };
@@ -1 +1 @@
1
- {"version":3,"file":"progress-meter.styles.d.ts","sourceRoot":"","sources":["../../../components/progress-meter/progress-meter.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAwGX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"progress-meter.styles.d.ts","sourceRoot":"","sources":["../../../components/progress-meter/progress-meter.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAonH,CAAC;AACjoH,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"progress-steps.styles.d.ts","sourceRoot":"","sources":["../../../components/progress-steps/progress-steps.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAeX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"progress-steps.styles.d.ts","sourceRoot":"","sources":["../../../components/progress-steps/progress-steps.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAg8D,CAAC;AAC78D,eAAe,MAAM,CAAC"}
@@ -1,106 +1,15 @@
1
1
  import { css as p, html as d } from "lit";
2
- import { property as c } from "lit/decorators.js";
3
- import { Cre8Element as g } from "../cre8-element.js";
4
- const v = p`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- :host(:first-child)::part(left-divider),
7
- :host(:last-child)::part(right-divider){
8
- visibility: hidden;
9
- }
10
-
11
- .cre8-c-progress-steps-item--complete {
12
- --divider-color-left: var(--cre8-color-border-brand);
13
- --divider-color-right: var(--cre8-color-border-brand);
14
- --icon-color: var(--cre8-color-content-brand);
15
- --name-color: var(--cre8-color-content-brand);
16
- }
17
-
18
- .cre8-c-progress-steps-item--current {
19
- --divider-color-left: var(--cre8-color-border-brand);
20
- --divider-color-right: var(--cre8-color-border-strong);
21
- --icon-color: var(--cre8-color-content-brand);
22
- --name-color: var(--cre8-color-content-brand);
23
- }
24
-
25
- .cre8-c-progress-steps-item--error {
26
- --divider-color-left: var(--cre8-color-border-brand);
27
- --divider-color-right: var(--cre8-color-border-strong);
28
- --icon-color: var(--cre8-color-content-error-icon);
29
- --name-color: var(--cre8-color-content-error);
30
- }
31
-
32
- .cre8-c-progress-steps-item--incomplete {
33
- --divider-color-left: var(--cre8-color-border-strong);
34
- --divider-color-right: var(--cre8-color-border-strong);
35
- --icon-color: var(--cre8-color-content-subtle);
36
- --name-color: var(--cre8-color-content-subtle);
37
- }
38
-
39
- .cre8-c-progress-steps-item--warning {
40
- --divider-color-left: var(--cre8-color-border-brand);
41
- --divider-color-right: var(--cre8-color-border-strong);
42
- --icon-color: var(--cre8-color-content-warning-icon);
43
- --name-color: var(--cre8-color-content-default);
44
- }
45
-
46
- .cre8-c-progress-steps-item {
47
- @include cre8-typography-title-small();
48
- text-align: center;
49
- }
50
-
51
- .cre8-c-progress-steps-item__top-container {
52
- align-items: center;
53
- display: flex;
54
- padding-bottom: var(--cre8-spacing-8);
55
- }
56
-
57
- .cre8-c-progress-steps-item__svg {
58
- color: var(--icon-color);
59
- height: calc(8px * 2.5);
60
- margin-left: var(--cre8-spacing-8);
61
- margin-right: var(--cre8-spacing-8);
62
- width: calc(8px * 2.5);
63
- svg {
64
- height: calc(8px * 2.5);
65
- width: calc(8px * 2.5);
66
- }
67
- }
68
-
69
- .cre8-c-progress-steps-item__message {
70
- @include cre8-typography-body-small;
71
- padding-left: var(--cre8-spacing-16);
72
- padding-right: var(--cre8-spacing-16);
73
- }
74
-
75
- .cre8-c-progress-steps-item__name {
76
- @include cre8-typography-title-small;
77
- color: var(--name-color);
78
- padding-left: var(--cre8-spacing-16);
79
- padding-right: var(--cre8-spacing-16);
80
- }
81
-
82
- .cre8-c-progress-steps-item__divider--left,
83
- .cre8-c-progress-steps-item__divider--right{
84
- height: calc(8px * 0.25);
85
- width: 100%;
86
- }
87
-
88
- .cre8-c-progress-steps-item__divider--left {
89
- background-color: var(--divider-color-left);
90
- }
91
-
92
- .cre8-c-progress-steps-item__divider--right {
93
- background-color: var(--divider-color-right);
94
- }
95
- `;
96
- var m = Object.defineProperty, t = (a, o, n, h) => {
97
- for (var e = void 0, s = a.length - 1, l; s >= 0; s--)
98
- (l = a[s]) && (e = l(o, n, e) || e);
99
- return e && m(o, n, e), e;
2
+ import { property as i } from "lit/decorators.js";
3
+ import { Cre8Element as m } from "../cre8-element.js";
4
+ const g = p`*,::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(:first-child)::part(left-divider),:host(:last-child)::part(right-divider){visibility:hidden}.cre8-c-progress-steps-item--complete{--divider-color-left: var(--cre8-color-border-brand);--divider-color-right: var(--cre8-color-border-brand);--icon-color: var(--cre8-color-content-brand);--name-color: var(--cre8-color-content-brand)}.cre8-c-progress-steps-item--current{--divider-color-left: var(--cre8-color-border-brand);--divider-color-right: var(--cre8-color-border-strong);--icon-color: var(--cre8-color-content-brand);--name-color: var(--cre8-color-content-brand)}.cre8-c-progress-steps-item--error{--divider-color-left: var(--cre8-color-border-brand);--divider-color-right: var(--cre8-color-border-strong);--icon-color: var(--cre8-color-content-error-icon);--name-color: var(--cre8-color-content-error)}.cre8-c-progress-steps-item--incomplete{--divider-color-left: var(--cre8-color-border-strong);--divider-color-right: var(--cre8-color-border-strong);--icon-color: var(--cre8-color-content-subtle);--name-color: var(--cre8-color-content-subtle)}.cre8-c-progress-steps-item--warning{--divider-color-left: var(--cre8-color-border-brand);--divider-color-right: var(--cre8-color-border-strong);--icon-color: var(--cre8-color-content-warning-icon);--name-color: var(--cre8-color-content-default)}.cre8-c-progress-steps-item{font-family:var(--cre8-typography-title-small-mobile-font-family);font-size:var(--cre8-typography-title-small-mobile-font-size);font-weight:var(--cre8-typography-title-small-mobile-font-weight);line-height:var(--cre8-typography-title-small-mobile-line-height);text-decoration:var(--cre8-typography-title-small-mobile-text-decoration);text-transform:var(--cre8-typography-title-small-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-progress-steps-item{font-family:var(--cre8-typography-title-small-font-family);font-size:var(--cre8-typography-title-small-font-size);font-weight:var(--cre8-typography-title-small-font-weight);line-height:var(--cre8-typography-title-small-line-height);text-decoration:var(--cre8-typography-title-small-text-decoration);text-transform:var(--cre8-typography-title-small-text-transform)}}.cre8-c-progress-steps-item{text-align:center}.cre8-c-progress-steps-item__top-container{align-items:center;display:flex;padding-bottom:var(--cre8-spacing-8)}.cre8-c-progress-steps-item__svg{color:var(--icon-color);height:1.25rem;margin-left:var(--cre8-spacing-8);margin-right:var(--cre8-spacing-8);width:1.25rem}.cre8-c-progress-steps-item__svg svg{height:1.25rem;width:1.25rem}.cre8-c-progress-steps-item__message{font-family:var(--cre8-typography-body-small-font-family);font-size:var(--cre8-typography-body-small-font-size);font-weight:var(--cre8-typography-body-small-font-weight);line-height:var(--cre8-typography-body-small-line-height);text-decoration:var(--cre8-typography-body-small-text-decoration);text-transform:var(--cre8-typography-body-small-text-transform);padding-left:var(--cre8-spacing-16);padding-right:var(--cre8-spacing-16)}.cre8-c-progress-steps-item__name{font-family:var(--cre8-typography-title-small-mobile-font-family);font-size:var(--cre8-typography-title-small-mobile-font-size);font-weight:var(--cre8-typography-title-small-mobile-font-weight);line-height:var(--cre8-typography-title-small-mobile-line-height);text-decoration:var(--cre8-typography-title-small-mobile-text-decoration);text-transform:var(--cre8-typography-title-small-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-progress-steps-item__name{font-family:var(--cre8-typography-title-small-font-family);font-size:var(--cre8-typography-title-small-font-size);font-weight:var(--cre8-typography-title-small-font-weight);line-height:var(--cre8-typography-title-small-line-height);text-decoration:var(--cre8-typography-title-small-text-decoration);text-transform:var(--cre8-typography-title-small-text-transform)}}.cre8-c-progress-steps-item__name{color:var(--name-color);padding-left:var(--cre8-spacing-16);padding-right:var(--cre8-spacing-16)}.cre8-c-progress-steps-item__divider--left,.cre8-c-progress-steps-item__divider--right{height:0.125rem;width:100%}.cre8-c-progress-steps-item__divider--left{background-color:var(--divider-color-left)}.cre8-c-progress-steps-item__divider--right{background-color:var(--divider-color-right)}`;
5
+ var h = Object.defineProperty, o = (c, t, l, v) => {
6
+ for (var r = void 0, s = c.length - 1, n; s >= 0; s--)
7
+ (n = c[s]) && (r = n(t, l, r) || r);
8
+ return r && h(t, l, r), r;
100
9
  };
101
- const i = class i extends g {
10
+ const a = class a extends m {
102
11
  render() {
103
- const o = this.componentClassNames("cre8-c-progress-steps-item", {
12
+ const t = this.componentClassNames("cre8-c-progress-steps-item", {
104
13
  "cre8-c-progress-steps-item--complete": this.state === "complete",
105
14
  "cre8-c-progress-steps-item--current": this.state === "current",
106
15
  "cre8-c-progress-steps-item--error": this.state === "error",
@@ -108,7 +17,7 @@ const i = class i extends g {
108
17
  "cre8-c-progress-steps-item--warning": this.state === "warning"
109
18
  });
110
19
  return d`
111
- <div class='${o}'>
20
+ <div class='${t}'>
112
21
  <div class='cre8-c-progress-steps-item__top-container'>
113
22
  <div class='cre8-c-progress-steps-item__divider--left' part='left-divider'></div>
114
23
  <span class='cre8-c-progress-steps-item__svg'>
@@ -122,22 +31,22 @@ const i = class i extends g {
122
31
  `;
123
32
  }
124
33
  };
125
- i.styles = [v];
126
- let r = i;
127
- t([
128
- c()
129
- ], r.prototype, "message");
130
- t([
131
- c()
132
- ], r.prototype, "name");
133
- t([
134
- c()
135
- ], r.prototype, "state");
136
- t([
137
- c()
138
- ], r.prototype, "svg");
139
- customElements.get("cre8-progress-steps-item") === void 0 && customElements.define("cre8-progress-steps-item", r);
34
+ a.styles = [g];
35
+ let e = a;
36
+ o([
37
+ i()
38
+ ], e.prototype, "message");
39
+ o([
40
+ i()
41
+ ], e.prototype, "name");
42
+ o([
43
+ i()
44
+ ], e.prototype, "state");
45
+ o([
46
+ i()
47
+ ], e.prototype, "svg");
48
+ customElements.get("cre8-progress-steps-item") === void 0 && customElements.define("cre8-progress-steps-item", e);
140
49
  export {
141
- r as Cre8ProgressStepsItem,
142
- r as default
50
+ e as Cre8ProgressStepsItem,
51
+ e as default
143
52
  };
@@ -1 +1 @@
1
- {"version":3,"file":"progress-steps-item.styles.d.ts","sourceRoot":"","sources":["../../../components/progress-steps-item/progress-steps-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBA2FX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"progress-steps-item.styles.d.ts","sourceRoot":"","sources":["../../../components/progress-steps-item/progress-steps-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA69L,CAAC;AAC1+L,eAAe,MAAM,CAAC"}