@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,83 +1,33 @@
1
- import { css as n, html as p } from "lit";
2
- import { property as a } from "lit/decorators.js";
3
- import { Cre8Element as m } from "../cre8-element.js";
4
- const b = n`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- // #LIST
7
-
8
- /**
9
- * 1) Generic stacked list that allows for styling of borders in between items
10
- */
11
- .cre8-c-list {
12
- list-style: none;
13
- padding: 0;
14
- margin: 0;
15
- margin-bottom: calc(8px * 2);
16
- }
17
-
18
- /**
19
- * Slotted list item compponent
20
- * TODO: Add tier 2 variable that is used for light borders for cards, table rows, etc.
21
- */
22
- ::slotted(cre8-list-item) {
23
- display: block;
24
- padding-top: calc(8px * 2);
25
- padding-bottom: calc(8px * 2);
26
- border-bottom: var(--cre8-border-width-default) var(--cre8-border-style-default) var(--cre8-color-border-subtle);
27
-
28
- /**
29
- * List item with bare list
30
- * 1) Remove the border between items
31
- */
32
- .cre8-c-list--bare & {
33
- border-bottom: 0; /* 1 */
34
- }
35
-
36
- /**
37
- * List item with condensed list
38
- * 1) Reduce padding between items compared to the default
39
- */
40
- .cre8-c-list--condensed & {
41
- padding-top: calc(8px * 1);
42
- padding-bottom: calc(8px * 1);
43
- }
44
-
45
- /**
46
- * List item with padded list
47
- * 1) Increase padding between items compared to the default
48
- */
49
- .cre8-c-list--padded & {
50
- padding-top: calc(8px * 4);
51
- padding-bottom: calc(8px * 4);
52
- }
53
- }
54
- `;
55
- var f = Object.defineProperty, l = (i, s, d, g) => {
56
- for (var e = void 0, r = i.length - 1, c; r >= 0; r--)
57
- (c = i[r]) && (e = c(s, d, e) || e);
58
- return e && f(s, d, e), e;
1
+ import { css as m, html as p } from "lit";
2
+ import { property as o } from "lit/decorators.js";
3
+ import { Cre8Element as c } from "../cre8-element.js";
4
+ const h = m`*,::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-list{list-style:none;padding:0;margin:0;margin-bottom:1rem}::slotted(cre8-list-item){display:block;padding-top:1rem;padding-bottom:1rem;border-bottom:var(--cre8-border-width-default) var(--cre8-border-style-default) var(--cre8-color-border-subtle)}.cre8-c-list--bare ::slotted(cre8-list-item){border-bottom:0}.cre8-c-list--condensed ::slotted(cre8-list-item){padding-top:0.5rem;padding-bottom:0.5rem}.cre8-c-list--padded ::slotted(cre8-list-item){padding-top:2rem;padding-bottom:2rem}`;
5
+ var f = Object.defineProperty, n = (a, r, d, g) => {
6
+ for (var e = void 0, i = a.length - 1, l; i >= 0; i--)
7
+ (l = a[i]) && (e = l(r, d, e) || e);
8
+ return e && f(r, d, e), e;
59
9
  };
60
- const o = class o extends m {
10
+ const s = class s extends c {
61
11
  render() {
62
- const s = this.componentClassNames("cre8-c-list", {
12
+ const r = this.componentClassNames("cre8-c-list", {
63
13
  "cre8-c-list--bare": this.variant === "bare",
64
14
  "cre8-c-list--padded": this.spacing === "padded",
65
15
  "cre8-c-list--condensed": this.spacing === "condensed"
66
16
  });
67
17
  return p`
68
- <ul class="${s}">
18
+ <ul class="${r}">
69
19
  <slot></slot>
70
20
  </ul>
71
21
  `;
72
22
  }
73
23
  };
74
- o.styles = [b];
75
- let t = o;
76
- l([
77
- a()
24
+ s.styles = [h];
25
+ let t = s;
26
+ n([
27
+ o()
78
28
  ], t.prototype, "variant");
79
- l([
80
- a()
29
+ n([
30
+ o()
81
31
  ], t.prototype, "spacing");
82
32
  customElements.get("cre8-list") === void 0 && customElements.define("cre8-list", t);
83
33
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"list.styles.d.ts","sourceRoot":"","sources":["../../../components/list/list.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAkDX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"list.styles.d.ts","sourceRoot":"","sources":["../../../components/list/list.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA4vE,CAAC;AACzwE,eAAe,MAAM,CAAC"}
@@ -1,29 +1,24 @@
1
- import { css as i, html as o } from "lit";
2
- import { Cre8Element as n } from "../cre8-element.js";
3
- const c = i`@import '../../design-tokens/core/scss/theming/component';
4
-
5
- /**
6
- * 1) List item within the list component
7
- */
8
- `, e = class e extends n {
1
+ import { css as r, html as s } from "lit";
2
+ import { Cre8Element as a } from "../cre8-element.js";
3
+ const d = r`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}`, t = class t extends a {
9
4
  // Set the role before rendering for better accessibility
10
5
  // Because we're settting this role, we don't wrap the slot in an <li>
11
6
  connectedCallback() {
12
7
  this.setAttribute("role", "listitem"), super.connectedCallback();
13
8
  }
14
9
  render() {
15
- const s = this.componentClassNames("cre8-c-list__item", {});
16
- return o`
17
- <div class="${s}">
10
+ const i = this.componentClassNames("cre8-c-list__item", {});
11
+ return s`
12
+ <div class="${i}">
18
13
  <slot></slot>
19
14
  </div>
20
15
  `;
21
16
  }
22
17
  };
23
- e.styles = [c];
24
- let t = e;
25
- customElements.get("cre8-list-item") === void 0 && customElements.define("cre8-list-item", t);
18
+ t.styles = [d];
19
+ let e = t;
20
+ customElements.get("cre8-list-item") === void 0 && customElements.define("cre8-list-item", e);
26
21
  export {
27
- t as Cre8ListItem,
28
- t as default
22
+ e as Cre8ListItem,
23
+ e as default
29
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.styles.d.ts","sourceRoot":"","sources":["../../../components/list-item/list-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAKX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"list-item.styles.d.ts","sourceRoot":"","sources":["../../../components/list-item/list-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAgxD,CAAC;AAC7xD,eAAe,MAAM,CAAC"}
@@ -1,170 +1,26 @@
1
- import { css as d, html as n, nothing as m } from "lit";
1
+ import { css as d, html as n, nothing as h } from "lit";
2
2
  import { property as i } from "lit/decorators.js";
3
- import { Cre8Element as h } from "../cre8-element.js";
4
- const v = d`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- /* ------------------------------------ *\
7
- #SPINNER
8
- \* ------------------------------------ */
9
-
10
- @keyframes loading {
11
- 0% {
12
- transform: rotate(0deg);
13
- }
14
- 100% {
15
- transform: rotate(360deg);
16
- }
17
- }
18
-
19
- @keyframes spinner-circle-animation {
20
- 0%,
21
- 25% {
22
- stroke-dashoffset: 280;
23
- transform: rotate(0);
24
- }
25
-
26
- 50%,
27
- 75% {
28
- stroke-dashoffset: 75;
29
- transform: rotate(45deg);
30
- }
31
-
32
- 100% {
33
- stroke-dashoffset: 280;
34
- transform: rotate(360deg);
35
- }
36
- }
37
-
38
- :host {
39
- display: inline-block;
40
- --spinner-stroke-dasharray: 282.743px;
41
- --spinner-large-stroke-width: 10;
42
- --spinner-small-stroke-width: 14;
43
- --spinner-large-width: 4.5rem;
44
- --spinner-small-width: 1.5rem;
45
- @include cre8-typography-label-small();
46
- }
47
-
48
- .cre8-c-spinner,
49
- .cre8-c-spinner--large {
50
- --spinner-height: var(--spinner-large-width);
51
- --spinner-width: var(--spinner-large-width);
52
- --icon-color: var(--cre8-color-content-brand);
53
-
54
- .cre8-c-spinner__icon {
55
- display: block;
56
- }
57
-
58
- .cre8-c-spinner__label {
59
- display: block;
60
- margin-top: var(--cre8-spacing-8);
61
- }
62
- }
63
-
64
- .cre8-c-spinner--small {
65
- --spinner-height: var(--spinner-small-width);
66
- --spinner-width: var(--spinner-small-width);
67
- --icon-color: var(--cre8-color-content-brand);
68
- display: flex;
69
- align-items: center;
70
- .cre8-c-spinner__label {
71
- display: inline-block;
72
- margin-left: var(--cre8-spacing-8);
73
- margin-top: 0;
74
- vertical-align: 0.35rem;
75
- }
76
- }
77
-
78
- .cre8-c-spinner--inverse {
79
- --icon-color: var(--cre8-color-content-brand-knockout);
80
- --label-color: var(--cre8-color-content-brand-knockout); // --cre8-color-content-default-knockout
81
- }
82
-
83
- .cre8-c-spinner--secondary.cre8-c-spinner--inverse.cre8-c-spinner--neutral {
84
- --icon-color: var(--cre8-color-button-secondary-neutral-inverse-content-active);
85
- --label-color: var(--cre8-color-button-secondary-neutral-inverse-content-active); // --cre8-color-content-default-knockout
86
- }
87
-
88
- .cre8-c-spinner--neutral {
89
- --icon-color: var(--cre8-color-button-secondary-neutral-content-active);
90
- }
91
-
92
- .cre8-c-spinner--primary.cre8-c-spinner--inverse {
93
- --icon-color: var(--cre8-color-button-primary-inverse-content-active);
94
- }
95
-
96
- .cre8-c-spinner--secondary.cre8-c-spinner--inverse {
97
- --icon-color: var(--cre8-color-button-secondary-inverse-content-active);
98
- }
99
-
100
- .cre8-c-spinner--tertiary.cre8-c-spinner--inverse {
101
- --icon-color: var(--cre8-color-button-tertiary-inverse-content-active);
102
- }
103
-
104
- .cre8-c-spinner__label {
105
- color: var(--label-color, var(--cre8-color-content-default));
106
- }
107
-
108
- .cre8-c-spinner__hidden-label {
109
- display: none;
110
- }
111
-
112
- .cre8-c-spinner__icon {
113
- height: var(--spinner-height, 1em);
114
- width: var(--spinner-width, 1em);
115
-
116
- circle {
117
- fill: transparent;
118
- stroke: var(--icon-color, inherit);
119
- stroke-dasharray: var(--spinner-stroke-dasharray);
120
- stroke-linecap: round;
121
- stroke-width: var(--spinner-large-stroke-width);
122
- transform-origin: 50% 50%;
123
- }
124
- }
125
-
126
- .cre8-c-spinner__icon-small {
127
- circle {
128
- stroke-width: var(--spinner-small-stroke-width);
129
- }
130
- }
131
-
132
- .cre8-c-spinner--indeterminate .cre8-c-spinner__icon {
133
- animation: loading 2s linear 0s infinite;
134
-
135
- circle {
136
- animation-duration: 1.4s;
137
- animation-iteration-count: infinite;
138
- animation-name: spinner-circle-animation;
139
- animation-timing-function: ease-in-out;
140
- }
141
- }
142
-
143
- .cre8-c-spinner--determinate .cre8-c-spinner__icon {
144
- overflow: hidden;
145
- transform: rotate(-90deg);
146
- transform-origin: center center;
147
- }
148
- `;
149
- var u = Object.defineProperty, t = (l, r, c, g) => {
150
- for (var s = void 0, a = l.length - 1, p; a >= 0; a--)
151
- (p = l[a]) && (s = p(r, c, s) || s);
152
- return s && u(r, c, s), s;
3
+ import { Cre8Element as m } from "../cre8-element.js";
4
+ const g = d`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}@keyframes loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes spinner-circle-animation{0%,25%{stroke-dashoffset:280;transform:rotate(0)}50%,75%{stroke-dashoffset:75;transform:rotate(45deg)}100%{stroke-dashoffset:280;transform:rotate(360deg)}}:host{display:inline-block;--spinner-stroke-dasharray: 282.743px;--spinner-large-stroke-width: 10;--spinner-small-stroke-width: 14;--spinner-large-width: 4.5rem;--spinner-small-width: 1.5rem;font-family:var(--cre8-typography-label-small-font-family);font-size:var(--cre8-typography-label-small-font-size);font-weight:var(--cre8-typography-label-small-font-weight);line-height:var(--cre8-typography-label-small-line-height);text-decoration:var(--cre8-typography-label-small-text-decoration);text-transform:var(--cre8-typography-label-small-text-transform)}.cre8-c-spinner,.cre8-c-spinner--large{--spinner-height: var(--spinner-large-width);--spinner-width: var(--spinner-large-width);--icon-color: var(--cre8-color-content-brand)}.cre8-c-spinner .cre8-c-spinner__icon,.cre8-c-spinner--large .cre8-c-spinner__icon{display:block}.cre8-c-spinner .cre8-c-spinner__label,.cre8-c-spinner--large .cre8-c-spinner__label{display:block;margin-top:var(--cre8-spacing-8)}.cre8-c-spinner--small{--spinner-height: var(--spinner-small-width);--spinner-width: var(--spinner-small-width);--icon-color: var(--cre8-color-content-brand);display:flex;align-items:center}.cre8-c-spinner--small .cre8-c-spinner__label{display:inline-block;margin-left:var(--cre8-spacing-8);margin-top:0;vertical-align:.35rem}.cre8-c-spinner--inverse{--icon-color: var(--cre8-color-content-brand-knockout);--label-color: var(--cre8-color-content-brand-knockout)}.cre8-c-spinner--secondary.cre8-c-spinner--inverse.cre8-c-spinner--neutral{--icon-color: var(--cre8-color-button-secondary-neutral-inverse-content-active);--label-color: var(--cre8-color-button-secondary-neutral-inverse-content-active)}.cre8-c-spinner--neutral{--icon-color: var(--cre8-color-button-secondary-neutral-content-active)}.cre8-c-spinner--primary.cre8-c-spinner--inverse{--icon-color: var(--cre8-color-button-primary-inverse-content-active)}.cre8-c-spinner--secondary.cre8-c-spinner--inverse{--icon-color: var(--cre8-color-button-secondary-inverse-content-active)}.cre8-c-spinner--tertiary.cre8-c-spinner--inverse{--icon-color: var(--cre8-color-button-tertiary-inverse-content-active)}.cre8-c-spinner__label{color:var(--label-color, var(--cre8-color-content-default))}.cre8-c-spinner__hidden-label{display:none}.cre8-c-spinner__icon{height:var(--spinner-height, 1em);width:var(--spinner-width, 1em)}.cre8-c-spinner__icon circle{fill:rgba(0,0,0,0);stroke:var(--icon-color, inherit);stroke-dasharray:var(--spinner-stroke-dasharray);stroke-linecap:round;stroke-width:var(--spinner-large-stroke-width);transform-origin:50% 50%}.cre8-c-spinner__icon-small circle{stroke-width:var(--spinner-small-stroke-width)}.cre8-c-spinner--indeterminate .cre8-c-spinner__icon{animation:loading 2s linear 0s infinite}.cre8-c-spinner--indeterminate .cre8-c-spinner__icon circle{animation-duration:1.4s;animation-iteration-count:infinite;animation-name:spinner-circle-animation;animation-timing-function:ease-in-out}.cre8-c-spinner--determinate .cre8-c-spinner__icon{overflow:hidden;transform:rotate(-90deg);transform-origin:center center}`;
5
+ var f = Object.defineProperty, t = (l, r, s, v) => {
6
+ for (var a = void 0, c = l.length - 1, p; c >= 0; c--)
7
+ (p = l[c]) && (a = p(r, s, a) || a);
8
+ return a && f(r, s, a), a;
153
9
  };
154
- const o = class o extends h {
10
+ const o = class o extends m {
155
11
  constructor() {
156
12
  super(), this.progress = 0, this.size = "large";
157
13
  const r = Math.floor(Math.random() * 9e5) + 1e5;
158
14
  this.labelId = `cre8-spinner-${r}`;
159
15
  }
160
16
  renderDeterminateSpinner() {
161
- const r = Math.max(Math.min(100, this.progress === 0 ? this.progress = 1 : this.progress), 0), c = 2 * 3.1415926 * 45 - r / 100 * (2 * 3.1415926 * 45);
17
+ const r = Math.max(Math.min(100, this.progress === 0 ? this.progress = 1 : this.progress), 0), s = 2 * 3.1415926 * 45 - r / 100 * (2 * 3.1415926 * 45);
162
18
  return n` ${this.size === "small" ? n`
163
19
  <svg class="cre8-c-spinner__icon cre8-c-spinner__icon-small" aria-hidden="true" viewBox="0 0 100 100">
164
- <circle cx="50%" cy="50%" r="43" stroke-dashoffset="${c}"></circle>
20
+ <circle cx="50%" cy="50%" r="43" stroke-dashoffset="${s}"></circle>
165
21
  </svg>
166
22
  ` : n` <svg class="cre8-c-spinner__icon" aria-hidden="true" viewBox="0 0 100 100">
167
- <circle cx="50%" cy="50%" r="45" stroke-dashoffset="${c}"></circle>
23
+ <circle cx="50%" cy="50%" r="45" stroke-dashoffset="${s}"></circle>
168
24
  </svg>`}`;
169
25
  }
170
26
  renderInDeterminateSpinner() {
@@ -195,7 +51,7 @@ const o = class o extends h {
195
51
  aria-labelledby="${this.labelId}"
196
52
  aria-valuemin="0"
197
53
  aria-valuemax="100"
198
- aria-valuenow="${this.determinate ? this.progress : m}"
54
+ aria-valuenow="${this.determinate ? this.progress : h}"
199
55
  part="base"
200
56
  >
201
57
  ${this.determinate ? this.renderDeterminateSpinner() : this.renderInDeterminateSpinner()}
@@ -210,7 +66,7 @@ const o = class o extends h {
210
66
  `;
211
67
  }
212
68
  };
213
- o.styles = v;
69
+ o.styles = g;
214
70
  let e = o;
215
71
  t([
216
72
  i({ type: Boolean, reflect: !0 })
@@ -1 +1 @@
1
- {"version":3,"file":"loading-spinner.styles.d.ts","sourceRoot":"","sources":["../../../components/loading-spinner/loading-spinner.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAgJX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"loading-spinner.styles.d.ts","sourceRoot":"","sources":["../../../components/loading-spinner/loading-spinner.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAogK,CAAC;AACjhK,eAAe,MAAM,CAAC"}
@@ -1,39 +1,29 @@
1
- import { css as m, html as i } from "lit";
2
- import { property as a } from "lit/decorators.js";
3
- import { Cre8Element as f } from "../cre8-element.js";
4
- const p = m`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- // #LOGO
7
-
8
- /**
9
- * 1) Brand's logo
10
- */
11
- .cre8-c-logo {
12
- display: flex;
13
- }
14
- `;
15
- var d = Object.defineProperty, h = (n, s, l, g) => {
16
- for (var e = void 0, o = n.length - 1, c; o >= 0; o--)
17
- (c = n[o]) && (e = c(s, l, e) || e);
18
- return e && d(s, l, e), e;
1
+ import { css as n, html as h } from "lit";
2
+ import { property as o } from "lit/decorators.js";
3
+ import { Cre8Element as m } from "../cre8-element.js";
4
+ const p = 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}.cre8-c-logo{display:flex}`;
5
+ var f = Object.defineProperty, c = (a, t, d, x) => {
6
+ for (var e = void 0, i = a.length - 1, l; i >= 0; i--)
7
+ (l = a[i]) && (e = l(t, d, e) || e);
8
+ return e && f(t, d, e), e;
19
9
  };
20
- const r = class r extends f {
10
+ const s = class s extends m {
21
11
  render() {
22
- const s = this.componentClassNames("cre8-c-logo", {});
23
- return i`
24
- <a href="${this.href}" class="${s}">
12
+ const t = this.componentClassNames("cre8-c-logo", {});
13
+ return h`
14
+ <a href="${this.href}" class="${t}">
25
15
 
26
16
  </a>
27
17
  `;
28
18
  }
29
19
  };
30
- r.styles = [p];
31
- let t = r;
32
- h([
33
- a()
34
- ], t.prototype, "href");
35
- customElements.get("cre8-logo") === void 0 && customElements.define("cre8-logo", t);
20
+ s.styles = [p];
21
+ let r = s;
22
+ c([
23
+ o()
24
+ ], r.prototype, "href");
25
+ customElements.get("cre8-logo") === void 0 && customElements.define("cre8-logo", r);
36
26
  export {
37
- t as Cre8Logo,
38
- t as default
27
+ r as Cre8Logo,
28
+ r as default
39
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"logo.styles.d.ts","sourceRoot":"","sources":["../../../components/logo/logo.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAUX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"logo.styles.d.ts","sourceRoot":"","sources":["../../../components/logo/logo.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA0yD,CAAC;AACvzD,eAAe,MAAM,CAAC"}
@@ -1,51 +1,27 @@
1
- import { css as i, html as m } from "lit";
2
- import { property as c } from "lit/decorators.js";
3
- import { Cre8Element as f } from "../cre8-element.js";
4
- const h = i`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- // #MAIN
7
-
8
- /**
9
- * 1) Container for the main content on the page between the header and footer
10
- * 2) Set to flex: 1 0 auto for a footer that gets pushed all the way to the bottom
11
- * for pages that don't have a lot of content
12
- */
13
- :host {
14
- display: flex;
15
- flex-direction: column;
16
- flex: 1 0 auto; /* 2 */
17
- }
18
-
19
- /**
20
- * Full height main container
21
- */
22
- .cre8-c-main--full-height {
23
- display: flex;
24
- flex-direction: column;
25
- flex: 1;
26
- height: 100%;
27
- }
28
- `;
29
- var p = Object.defineProperty, u = (s, t, r, d) => {
30
- for (var e = void 0, n = s.length - 1, a; n >= 0; n--)
31
- (a = s[n]) && (e = a(t, r, e) || e);
32
- return e && p(t, r, e), e;
1
+ import { css as n, html as h } from "lit";
2
+ import { property as m } from "lit/decorators.js";
3
+ import { Cre8Element as o } from "../cre8-element.js";
4
+ const p = 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:flex;flex-direction:column;flex:1 0 auto}.cre8-c-main--full-height{display:flex;flex-direction:column;flex:1;height:100%}`;
5
+ var f = Object.defineProperty, c = (a, t, l, x) => {
6
+ for (var e = void 0, r = a.length - 1, d; r >= 0; r--)
7
+ (d = a[r]) && (e = d(t, l, e) || e);
8
+ return e && f(t, l, e), e;
33
9
  };
34
- const l = class l extends f {
10
+ const s = class s extends o {
35
11
  render() {
36
12
  const t = this.componentClassNames("cre8-c-main", {
37
13
  "cre8-c-main--full-height": this.fullHeight === !0
38
14
  });
39
- return m`<main class=${t}><slot></slot></main>`;
15
+ return h`<main class=${t}><slot></slot></main>`;
40
16
  }
41
17
  };
42
- l.styles = [h];
43
- let o = l;
44
- u([
45
- c({ type: Boolean, reflect: !0 })
46
- ], o.prototype, "fullHeight");
47
- customElements.get("cre8-main") === void 0 && customElements.define("cre8-main", o);
18
+ s.styles = [p];
19
+ let i = s;
20
+ c([
21
+ m({ type: Boolean, reflect: !0 })
22
+ ], i.prototype, "fullHeight");
23
+ customElements.get("cre8-main") === void 0 && customElements.define("cre8-main", i);
48
24
  export {
49
- o as Cre8Main,
50
- o as default
25
+ i as Cre8Main,
26
+ i as default
51
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"main.styles.d.ts","sourceRoot":"","sources":["../../../components/main/main.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAwBX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"main.styles.d.ts","sourceRoot":"","sources":["../../../components/main/main.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAu5D,CAAC;AACp6D,eAAe,MAAM,CAAC"}