@tmorrow/cre8-wc 1.0.25 → 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 (214) 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 +15 -46
  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 +16 -16
  22. package/lib/components/button-group/button-group.js +19 -50
  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.d.ts +0 -5
  31. package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -1
  32. package/lib/components/checkbox-field-item/checkbox-field-item.js +42 -212
  33. package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -1
  34. package/lib/components/contexts/form-internals-context.d.ts +30 -0
  35. package/lib/components/contexts/form-internals-context.d.ts.map +1 -0
  36. package/lib/components/cre8-form-element.d.ts +98 -24
  37. package/lib/components/cre8-form-element.d.ts.map +1 -1
  38. package/lib/components/cre8-form-element.js +221 -22
  39. package/lib/components/danger-button/danger-button.js +53 -582
  40. package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -1
  41. package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -1
  42. package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -1
  43. package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -1
  44. package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -1
  45. package/lib/components/date-picker/date-picker.js +262 -499
  46. package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -1
  47. package/lib/components/divider/divider.js +20 -61
  48. package/lib/components/divider/divider.styles.d.ts.map +1 -1
  49. package/lib/components/dropdown/dropdown.js +34 -107
  50. package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -1
  51. package/lib/components/dropdown-item/dropdown-item.js +18 -49
  52. package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -1
  53. package/lib/components/feature/feature.js +19 -81
  54. package/lib/components/feature/feature.styles.d.ts.map +1 -1
  55. package/lib/components/field/field.js +12 -146
  56. package/lib/components/field/field.styles.d.ts.map +1 -1
  57. package/lib/components/field-note/field-note.js +22 -66
  58. package/lib/components/field-note/field-note.styles.d.ts.map +1 -1
  59. package/lib/components/footer/footer.js +10 -29
  60. package/lib/components/footer/footer.styles.d.ts.map +1 -1
  61. package/lib/components/global-nav/global-nav.js +20 -43
  62. package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -1
  63. package/lib/components/global-nav-item/global-nav-item.js +26 -105
  64. package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -1
  65. package/lib/components/grid/grid.js +15 -337
  66. package/lib/components/grid/grid.styles.d.ts.map +1 -1
  67. package/lib/components/grid-item/grid-item.js +7 -15
  68. package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -1
  69. package/lib/components/header/header.js +17 -80
  70. package/lib/components/header/header.styles.d.ts.map +1 -1
  71. package/lib/components/heading/heading.js +16 -153
  72. package/lib/components/heading/heading.styles.d.ts.map +1 -1
  73. package/lib/components/hero/hero.js +17 -149
  74. package/lib/components/hero/hero.styles.d.ts.map +1 -1
  75. package/lib/components/icon/icon.js +1 -1
  76. package/lib/components/icon/icon.styles.d.ts.map +1 -1
  77. package/lib/components/inline-alert/inline-alert.js +53 -214
  78. package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -1
  79. package/lib/components/layout/layout.js +20 -53
  80. package/lib/components/layout/layout.styles.d.ts.map +1 -1
  81. package/lib/components/layout-container/layout-container.js +20 -43
  82. package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -1
  83. package/lib/components/layout-section/layout-section.js +20 -29
  84. package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -1
  85. package/lib/components/linelength-container/linelength-container.js +7 -15
  86. package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -1
  87. package/lib/components/link/link.js +33 -228
  88. package/lib/components/link/link.styles.d.ts.map +1 -1
  89. package/lib/components/link-list/link-list.js +23 -129
  90. package/lib/components/link-list/link-list.styles.d.ts.map +1 -1
  91. package/lib/components/link-list-item/link-list-item.js +19 -80
  92. package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -1
  93. package/lib/components/list/list.js +17 -67
  94. package/lib/components/list/list.styles.d.ts.map +1 -1
  95. package/lib/components/list-item/list-item.js +11 -16
  96. package/lib/components/list-item/list-item.styles.d.ts.map +1 -1
  97. package/lib/components/loading-spinner/loading-spinner.js +13 -157
  98. package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -1
  99. package/lib/components/logo/logo.js +20 -30
  100. package/lib/components/logo/logo.styles.d.ts.map +1 -1
  101. package/lib/components/main/main.js +18 -42
  102. package/lib/components/main/main.styles.d.ts.map +1 -1
  103. package/lib/components/modal/modal.js +50 -215
  104. package/lib/components/modal/modal.styles.d.ts.map +1 -1
  105. package/lib/components/multi-select/multi-select.js +57 -222
  106. package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -1
  107. package/lib/components/nav-container/nav-container.js +5 -40
  108. package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -1
  109. package/lib/components/page-header/page-header.js +19 -54
  110. package/lib/components/page-header/page-header.styles.d.ts.map +1 -1
  111. package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -1
  112. package/lib/components/pagination/pagination.js +102 -183
  113. package/lib/components/pagination/pagination.styles.d.ts.map +1 -1
  114. package/lib/components/percent-bar/percent-bar.js +22 -50
  115. package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -1
  116. package/lib/components/popover/popover.js +51 -220
  117. package/lib/components/popover/popover.styles.d.ts.map +1 -1
  118. package/lib/components/primary-nav/primary-nav.js +17 -51
  119. package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -1
  120. package/lib/components/primary-nav-item/primary-nav-item.js +24 -191
  121. package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -1
  122. package/lib/components/progress-meter/progress-meter.js +23 -127
  123. package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -1
  124. package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -1
  125. package/lib/components/progress-steps-item/progress-steps-item.js +27 -118
  126. package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -1
  127. package/lib/components/radio-field/radio-field.js +28 -64
  128. package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -1
  129. package/lib/components/radio-field-item/radio-field-item.d.ts +0 -4
  130. package/lib/components/radio-field-item/radio-field-item.d.ts.map +1 -1
  131. package/lib/components/radio-field-item/radio-field-item.js +69 -207
  132. package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -1
  133. package/lib/components/remove-tag/remove-tag.js +36 -129
  134. package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -1
  135. package/lib/components/section/section.js +19 -50
  136. package/lib/components/section/section.styles.d.ts.map +1 -1
  137. package/lib/components/select/select.d.ts +6 -10
  138. package/lib/components/select/select.d.ts.map +1 -1
  139. package/lib/components/select/select.js +67 -135
  140. package/lib/components/select/select.styles.d.ts.map +1 -1
  141. package/lib/components/select-tile/select-tile.d.ts +0 -4
  142. package/lib/components/select-tile/select-tile.d.ts.map +1 -1
  143. package/lib/components/select-tile/select-tile.js +21 -448
  144. package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -1
  145. package/lib/components/select-tile-list/select-tile-list.js +24 -62
  146. package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -1
  147. package/lib/components/skeleton-loader/skeleton-loader.js +19 -73
  148. package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -1
  149. package/lib/components/split-button/split-button.js +21 -37
  150. package/lib/components/split-button/split-button.styles.d.ts.map +1 -1
  151. package/lib/components/submenu/submenu.js +8 -18
  152. package/lib/components/submenu/submenu.styles.d.ts.map +1 -1
  153. package/lib/components/submenu-item/submenu-item.js +21 -42
  154. package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -1
  155. package/lib/components/tab/tab.js +17 -100
  156. package/lib/components/tab/tab.styles.d.ts.map +1 -1
  157. package/lib/components/tab-panel/tab-panel.js +18 -52
  158. package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -1
  159. package/lib/components/table/table.js +21 -73
  160. package/lib/components/table/table.styles.d.ts.map +1 -1
  161. package/lib/components/table-body/table-body.js +12 -24
  162. package/lib/components/table-body/table-body.styles.d.ts.map +1 -1
  163. package/lib/components/table-cell/table-cell.js +29 -69
  164. package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -1
  165. package/lib/components/table-header/table-header.js +8 -39
  166. package/lib/components/table-header/table-header.styles.d.ts.map +1 -1
  167. package/lib/components/table-header-cell/table-header-cell.js +18 -37
  168. package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -1
  169. package/lib/components/table-object/table-object.js +13 -32
  170. package/lib/components/table-object/table-object.styles.d.ts.map +1 -1
  171. package/lib/components/table-row/table-row.js +33 -139
  172. package/lib/components/table-row/table-row.styles.d.ts.map +1 -1
  173. package/lib/components/tabs/tabs.d.ts.map +1 -1
  174. package/lib/components/tabs/tabs.js +58 -159
  175. package/lib/components/tabs/tabs.styles.d.ts.map +1 -1
  176. package/lib/components/tag/tag.js +46 -161
  177. package/lib/components/tag/tag.styles.d.ts.map +1 -1
  178. package/lib/components/tag-list/tag-list.js +20 -51
  179. package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -1
  180. package/lib/components/tertiary-nav/tertiary-nav.js +21 -54
  181. package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -1
  182. package/lib/components/tertiary-nav-item/tertiary-nav-item.js +18 -68
  183. package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -1
  184. package/lib/components/text-link/text-link.js +20 -85
  185. package/lib/components/text-link/text-link.styles.d.ts.map +1 -1
  186. package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -1
  187. package/lib/components/text-passage/text-passage.js +17 -189
  188. package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -1
  189. package/lib/components/tooltip/tooltip.js +57 -248
  190. package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -1
  191. package/lib/components/utility-nav/utility-nav.js +23 -56
  192. package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -1
  193. package/lib/components/utility-nav-item/utility-nav-item.js +28 -83
  194. package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -1
  195. package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts.map +1 -1
  196. package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts.map +1 -1
  197. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +3 -0
  198. package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -0
  199. package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts.map +1 -1
  200. package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts.map +1 -1
  201. package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts.map +1 -1
  202. package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts.map +1 -1
  203. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts +2 -2
  204. package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts.map +1 -1
  205. package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts.map +1 -1
  206. package/lib/design-tokens/core/scss/theming/component.scss +6 -6
  207. package/lib/design-tokens/core/scss/theming/functions.scss +4 -0
  208. package/lib/design-tokens/core/scss/theming/spacing.scss +60 -60
  209. package/lib/design-tokens/core/scss/theming/variables.scss +11 -11
  210. package/lib/design-tokens/mixins/typography-usage.scss +277 -277
  211. package/lib/design-tokens/tokens_netflix.theme.d.ts.map +1 -1
  212. package/lib/{icon-DImqxDiW.js → icon-D22g8aWB.js} +35 -138
  213. package/lib/index.js +1 -1
  214. package/package.json +12 -5
@@ -1,63 +1,32 @@
1
- import { css as d, html as h } from "lit";
2
- import { property as s } from "lit/decorators.js";
1
+ import { css as h, html as c } from "lit";
2
+ import { property as l } from "lit/decorators.js";
3
3
  import { Cre8Element as m } from "../cre8-element.js";
4
- const p = d`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- // #BAND
7
-
8
- /**
9
- * 1) A container with a background that can house various recipes of Components within
10
- */
11
- .cre8-c-band {
12
- background: var(--cre8-color-bg-subtle);
13
- padding: calc(8px * 3) 0;
14
-
15
- @media all and (min-width:$cre8-breakpoint-xl) {
16
- padding: calc(8px * 4) 0;
17
- }
18
- }
19
-
20
- /**
21
- * Branded variant
22
- */
23
- .cre8-c-band--branded {
24
- color: var(--cre8-color-content-knockout);
25
- background: var(--cre8-theme-color-utility-information);
26
- }
27
-
28
- /**
29
- * Full height
30
- * 1) Height set to 100% to fill a container like a sidebar
31
- */
32
- .cre8-c-band--full-height {
33
- height: 100%;
34
- }
35
- `;
36
- var u = Object.defineProperty, l = (a, r, c, b) => {
37
- for (var e = void 0, n = a.length - 1, i; n >= 0; n--)
38
- (i = a[n]) && (e = i(r, c, e) || e);
39
- return e && u(r, c, e), e;
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;
40
9
  };
41
- const o = class o extends m {
10
+ const a = class a extends m {
42
11
  render() {
43
12
  const r = this.componentClassNames("cre8-c-band", {
44
13
  "cre8-c-band--branded": this.variant === "branded",
45
14
  "cre8-c-band--full-height": this.fullHeight === !0
46
15
  });
47
- return h`
16
+ return c`
48
17
  <div class="${r}">
49
18
  <slot></slot>
50
19
  </div>
51
20
  `;
52
21
  }
53
22
  };
54
- o.styles = [p];
55
- let t = o;
56
- l([
57
- s()
23
+ a.styles = [p];
24
+ let t = a;
25
+ o([
26
+ l()
58
27
  ], t.prototype, "variant");
59
- l([
60
- s({ type: Boolean, reflect: !0 })
28
+ o([
29
+ l({ type: Boolean, reflect: !0 })
61
30
  ], t.prototype, "fullHeight");
62
31
  customElements.get("cre8-band") === void 0 && customElements.define("cre8-band", t);
63
32
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"band.styles.d.ts","sourceRoot":"","sources":["../../../components/band/band.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBA+BX,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,26 +881,26 @@ 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() {
896
896
  super(...arguments), this.text = "Button", this.variant = "primary", this.type = "button", this.iconRotateDegree = 0, this.iconPosition = void 0, this.size = "md", this.ariaLive = "assertive";
897
897
  }
898
898
  formSubmit() {
899
- const t = this.internals.form;
899
+ const t = this._internals.form;
900
900
  t && t.requestSubmit();
901
901
  }
902
902
  formReset() {
903
- const t = this.internals.form;
903
+ const t = this._internals.form;
904
904
  t && t.reset();
905
905
  }
906
906
  generateIconBefore() {
@@ -1,62 +1,31 @@
1
- import { css as c, html as p } from "lit";
2
- import { property as a } from "lit/decorators.js";
3
- import { Cre8Element as d } from "../cre8-element.js";
4
- const u = c`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- /*------------------------------------*\
7
- #BUTTON-GROUP
8
- \*------------------------------------*/
9
-
10
- :host {
11
- display: inline-flex;
12
- }
13
-
14
- /**
15
- * 1) Button Group
16
- */
17
- .cre8-c-button-group {
18
- display: flex;
19
- flex-wrap: wrap;
20
- gap: calc(8px * 2);
21
- }
22
-
23
- /**
24
- * Button group for Modals
25
- */
26
- .cre8-c-button-group--responsive-full-width {
27
- flex-direction: column;
28
- --cre8-button-width: 100%;
29
-
30
- @media all and (min-width:$cre8-breakpoint-md) {
31
- flex-direction: row;
32
- --cre8-button-width: auto;
33
- }
34
- }
35
- `;
36
- var m = Object.defineProperty, f = (n, e, i, h) => {
37
- for (var t = void 0, r = n.length - 1, l; r >= 0; r--)
38
- (l = n[r]) && (t = l(e, i, t) || t);
39
- return t && m(e, i, t), t;
1
+ import { css as o, html as l } from "lit";
2
+ import { property as p } from "lit/decorators.js";
3
+ import { Cre8Element as h } from "../cre8-element.js";
4
+ const m = o`*,::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-button-group{display:flex;flex-wrap:wrap;gap:1rem}.cre8-c-button-group--responsive-full-width{flex-direction:column;--cre8-button-width: 100%}@media all and (min-width: 768px){.cre8-c-button-group--responsive-full-width{flex-direction:row;--cre8-button-width: auto}}`;
5
+ var c = Object.defineProperty, f = (a, t, d, x) => {
6
+ for (var e = void 0, i = a.length - 1, n; i >= 0; i--)
7
+ (n = a[i]) && (e = n(t, d, e) || e);
8
+ return e && c(t, d, e), e;
40
9
  };
41
- const s = class s extends d {
10
+ const s = class s extends h {
42
11
  render() {
43
- const e = this.componentClassNames("cre8-c-button-group", {
12
+ const t = this.componentClassNames("cre8-c-button-group", {
44
13
  "cre8-c-button-group--responsive-full-width": this.orientation === "responsive-full-width"
45
14
  });
46
- return p`
47
- <div class="${e}">
15
+ return l`
16
+ <div class="${t}">
48
17
  <slot></slot>
49
18
  </div>
50
19
  `;
51
20
  }
52
21
  };
53
- s.styles = [u];
54
- let o = s;
22
+ s.styles = [m];
23
+ let r = s;
55
24
  f([
56
- a()
57
- ], o.prototype, "orientation");
58
- customElements.get("cre8-button-group") === void 0 && customElements.define("cre8-button-group", o);
25
+ p()
26
+ ], r.prototype, "orientation");
27
+ customElements.get("cre8-button-group") === void 0 && customElements.define("cre8-button-group", r);
59
28
  export {
60
- o as Cre8ButtonGroup,
61
- o as default
29
+ r as Cre8ButtonGroup,
30
+ r as default
62
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"button-group.styles.d.ts","sourceRoot":"","sources":["../../../components/button-group/button-group.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBA+BX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"button-group.styles.d.ts","sourceRoot":"","sources":["../../../components/button-group/button-group.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA4jE,CAAC;AACzkE,eAAe,MAAM,CAAC"}
@@ -1,126 +1,13 @@
1
- import { css as h, html as o } from "lit";
2
- import { property as l } from "lit/decorators.js";
1
+ import { css as h, html as i } from "lit";
2
+ import { property as n } from "lit/decorators.js";
3
3
  import { Cre8Element as p } from "../cre8-element.js";
4
- const f = h`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- // #CARD
7
-
8
- :host {
9
- display: block;
10
- }
11
-
12
- /**
13
- * 1) A card is an organized block that typically contains a title, image,
14
- * text, and/or calls to action. It is made up of an optional header slot, required
15
- * body slot, and optional footer slot to place other Components and content within.
16
- */
17
- .cre8-c-card {
18
- overflow: hidden;
19
- display: flex;
20
- flex-direction: column;
21
- height: 100%;
22
- width: 100%;
23
- padding: calc(8px * 3);
24
- gap: calc(8px * 2);
25
- border-color: var(--cre8-color-border-default);
26
- border-style: var(--cre8-border-style-default);
27
- border-width: var(--cre8-border-width-default);
28
- border-radius: var(--cre8-border-radius-default);
29
- background: var(--cre8-color-bg-default);
30
- }
31
- /**
32
- * Horizontal card
33
- * 1) Organized block with flex-direction set to row so that header => footer appears
34
- * from left to right rather than top to bottom
35
- */
36
- .cre8-c-card--horizontal{
37
- flex-direction: row;
38
- align-items: center;
39
- justify-content: center;
40
- }
41
- /**
42
- * Bare card
43
- * 1) Organized block without a border, background, or padding
44
- */
45
- .cre8-c-card--bare {
46
- border: 0;
47
- padding: 0;
48
- gap: 0;
49
- box-shadow: none;
50
- }
51
- /**
52
- * Horizontal-bare card
53
- * 1) Organized block with flex-direction set to row so that header => footer appears
54
- * from left to right rather than top to bottom without a border, background, or padding
55
- */
56
- .cre8-c-card--horizontal-bare{
57
- flex-direction: row;
58
- border: 0;
59
- padding: 0;
60
- gap: 0;
61
- box-shadow: none;
62
- align-items: center;
63
- justify-content: center;
64
- }
65
- /**
66
- * Center aligned card
67
- * 1) Center content and text within the card
68
- */
69
- .cre8-c-card--align-center {
70
- text-align: center; /* 1 */
71
- align-items: center; /* 1 */
72
- justify-content: center; /* 1 */
73
- }
74
-
75
- /**
76
- * Slotted image within a card
77
- * 1) Make the image full width
78
- */
79
- ::slotted(img) {
80
- width: 100%;
81
- }
82
-
83
- /**
84
- * Card header
85
- * 1) Remove flex so that body always takes up remaining space
86
- */
87
- .cre8-c-card__header {
88
- display: block;
89
- flex: none; /* 1 */
90
- }
91
-
92
- /**
93
- * Card body
94
- * 1) Flex applied to always fill the remaining space of the card
95
- */
96
- .cre8-c-card__body {
97
- display: block;
98
- flex: 1 1 auto; /* 1 */
99
-
100
- }
101
-
102
- /**
103
- * Card footer
104
- * 1) Remove flex so that body always takes up remaining space
105
- */
106
- .cre8-c-card__footer {
107
- display: block;
108
- flex: none; /* 1 */
109
-
110
- .cre8-c-card--bare & {
111
- padding: 0;
112
- }
113
- .cre8-c-card--horizontal-bare & {
114
- padding: 0;
115
- }
116
- }
117
- `;
118
- var b = Object.defineProperty, s = (d, t, i, m) => {
119
- for (var e = void 0, a = d.length - 1, n; a >= 0; a--)
120
- (n = d[a]) && (e = n(t, i, e) || e);
121
- return e && b(t, i, e), e;
4
+ const m = 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}:host{display:block}.cre8-c-card{overflow:hidden;display:flex;flex-direction:column;height:100%;width:100%;padding:1.5rem;gap:1rem;border-color:var(--cre8-color-border-default);border-style:var(--cre8-border-style-default);border-width:var(--cre8-border-width-default);border-radius:var(--cre8-border-radius-default);background:var(--cre8-color-bg-default)}.cre8-c-card--horizontal{flex-direction:row;align-items:center;justify-content:center}.cre8-c-card--bare{border:0;padding:0;gap:0;box-shadow:none}.cre8-c-card--horizontal-bare{flex-direction:row;border:0;padding:0;gap:0;box-shadow:none;align-items:center;justify-content:center}.cre8-c-card--align-center{text-align:center;align-items:center;justify-content:center}::slotted(img){width:100%}.cre8-c-card__header{display:block;flex:none}.cre8-c-card__body{display:block;flex:1 1 auto}.cre8-c-card__footer{display:block;flex:none}.cre8-c-card--bare .cre8-c-card__footer{padding:0}.cre8-c-card--horizontal-bare .cre8-c-card__footer{padding:0}`;
5
+ var f = Object.defineProperty, l = (o, t, s, x) => {
6
+ for (var e = void 0, a = o.length - 1, c; a >= 0; a--)
7
+ (c = o[a]) && (e = c(t, s, e) || e);
8
+ return e && f(t, s, e), e;
122
9
  };
123
- const c = class c extends p {
10
+ const d = class d extends p {
124
11
  render() {
125
12
  const t = this.componentClassNames("cre8-c-card", {
126
13
  "cre8-c-card--bare": this.variant === "bare",
@@ -128,24 +15,24 @@ const c = class c extends p {
128
15
  "cre8-c-card--horizontal-bare": this.variant === "horizontal-bare",
129
16
  "cre8-c-card--align-center": this.align === "center"
130
17
  });
131
- return o`
18
+ return i`
132
19
  <div class="${t}" part="card">
133
- ${this.slotNotEmpty("header") && o`<div class="cre8-c-card__header" part="header"><slot name="header"></slot></div>`}
20
+ ${this.slotNotEmpty("header") && i`<div class="cre8-c-card__header" part="header"><slot name="header"></slot></div>`}
134
21
  <div class="cre8-c-card__body" part="body">
135
22
  <slot></slot>
136
23
  </div>
137
- ${this.slotNotEmpty("footer") && o`<div class="cre8-c-card__footer" part="footer"><slot name="footer"></slot></div>`}
24
+ ${this.slotNotEmpty("footer") && i`<div class="cre8-c-card__footer" part="footer"><slot name="footer"></slot></div>`}
138
25
  </div>
139
26
  `;
140
27
  }
141
28
  };
142
- c.styles = [f];
143
- let r = c;
144
- s([
145
- l()
29
+ d.styles = [m];
30
+ let r = d;
31
+ l([
32
+ n()
146
33
  ], r.prototype, "variant");
147
- s([
148
- l()
34
+ l([
35
+ n()
149
36
  ], r.prototype, "align");
150
37
  customElements.get("cre8-card") === void 0 && customElements.define("cre8-card", r);
151
38
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"card.styles.d.ts","sourceRoot":"","sources":["../../../components/card/card.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAiHX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"card.styles.d.ts","sourceRoot":"","sources":["../../../components/card/card.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAovF,CAAC;AACjwF,eAAe,MAAM,CAAC"}