@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,155 +1,18 @@
1
- import { css as p, html as t } from "lit";
1
+ import { css as y, html as t } from "lit";
2
2
  import { property as i } from "lit/decorators.js";
3
- import { Cre8Element as g } from "../cre8-element.js";
4
- const o = p`@import '../../design-tokens/core/scss/theming/component';
5
-
6
-
7
- :host {
8
- display: inline;
9
- text-align: left;
10
- }
11
- /**
12
-  * DefaultHeading component styling/Heading title-large
13
-  */
14
- .cre8-c-heading,
15
- .cre8-c-heading--title-large {
16
- @include cre8-typography-title-large;
17
- margin: 0;
18
- color: var(--cre8-color-content-default);
19
- }
20
-
21
- /**
22
-  * Heading with theme headline-large preset applied
23
-  */
24
- .cre8-c-heading--headline-large {
25
- @include cre8-typography-headline-large;
26
- }
27
-
28
- /**
29
-  * Heading with theme headline-default preset applied
30
-  */
31
- .cre8-c-heading--headline-default {
32
- @include cre8-typography-headline-default;
33
- }
34
-
35
- /**
36
-  * Heading with theme headline-small preset applied
37
-  */
38
- .cre8-c-heading--headline-small {
39
- @include cre8-typography-headline-small;
40
- }
41
-
42
- /**
43
-  * Heading with theme title-xlarge preset applied
44
-  */
45
- .cre8-c-heading--title-xlarge {
46
- @include cre8-typography-title-xlarge;
47
- }
48
-
49
- /**
50
-  * Heading with theme title-large preset applied
51
-  */
52
- .cre8-c-heading--title-large {
53
- @include cre8-typography-title-large;
54
- }
55
-
56
- /**
57
-  * Heading with theme title-default preset applied
58
-  */
59
- .cre8-c-heading--title-default {
60
- @include cre8-typography-title-default;
61
- }
62
-
63
- /**
64
-  * Heading with theme title-small preset applied
65
-  */
66
- .cre8-c-heading--title-small {
67
- @include cre8-typography-title-small;
68
- }
69
- /**
70
-  * Heading with theme display-small preset applied
71
-  */
72
- .cre8-c-heading--display-small {
73
- @include cre8-typography-display-small;
74
- }
75
-
76
- /**
77
-  * Heading with theme display-default preset applied
78
-  */
79
- .cre8-c-heading--display-default {
80
- @include cre8-typography-display-default;
81
- }
82
-
83
- /**
84
-  * Heading with theme label-large preset applied
85
-  */
86
- .cre8-c-heading--label-large {
87
- @include cre8-typography-label-large;
88
- }
89
-
90
- /**
91
-  * Heading with theme label-default preset applied
92
-  */
93
- .cre8-c-heading--label-default {
94
- @include cre8-typography-label-default;
95
- }
96
-
97
- /**
98
-  * Heading with theme label-small preset applied
99
-  */
100
- .cre8-c-heading--label-small {
101
- @include cre8-typography-label-small;
102
- }
103
-
104
- /**
105
-  * Heading with theme meta-default preset applied
106
-  */
107
- .cre8-c-heading--meta-large {
108
- @include cre8-typography-meta-large;
109
- text-transform: uppercase;
110
- }
111
-
112
- /**
113
-  * Heading with theme meta-default preset applied
114
-  */
115
- .cre8-c-heading--meta-default {
116
- @include cre8-typography-meta-default;
117
- text-transform: uppercase;
118
- }
119
-
120
- /**
121
-  * Heading with theme meta-small preset applied
122
-  */
123
- .cre8-c-heading--meta-small {
124
- @include cre8-typography-meta-small;
125
- text-transform: uppercase;
126
- }
127
-
128
- /**
129
-  * Heading with brand color applied
130
-  */
131
- .cre8-c-heading--brand-color {
132
- color: var(--cre8-color-content-brand-strong);
133
- &.cre8-c-heading--inverted {
134
- color: var(--cre8-color-content-brand-knockout);
135
- }
136
- }
137
-
138
- .cre8-c-heading--inverted {
139
- color: var(--cre8-color-content-knockout);
140
- }
141
- `;
142
- var m = Object.defineProperty, c = (h, r, e, y) => {
143
- for (var l = void 0, d = h.length - 1, s; d >= 0; d--)
144
- (s = h[d]) && (l = s(r, e, l) || l);
145
- return l && m(r, e, l), l;
3
+ import { Cre8Element as c } from "../cre8-element.js";
4
+ const d = y`*,::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;text-align:left}.cre8-c-heading,.cre8-c-heading--title-large{font-family:var(--cre8-typography-title-large-mobile-font-family);font-size:var(--cre8-typography-title-large-mobile-font-size);font-weight:var(--cre8-typography-title-large-mobile-font-weight);line-height:var(--cre8-typography-title-large-mobile-line-height);text-decoration:var(--cre8-typography-title-large-mobile-text-decoration);text-transform:var(--cre8-typography-title-large-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading,.cre8-c-heading--title-large{font-family:var(--cre8-typography-title-large-font-family);font-size:var(--cre8-typography-title-large-font-size);font-weight:var(--cre8-typography-title-large-font-weight);line-height:var(--cre8-typography-title-large-line-height);text-decoration:var(--cre8-typography-title-large-text-decoration);text-transform:var(--cre8-typography-title-large-text-transform)}}.cre8-c-heading,.cre8-c-heading--title-large{margin:0;color:var(--cre8-color-content-default)}.cre8-c-heading--headline-large{font-family:var(--cre8-typography-headline-large-mobile-font-family);font-size:var(--cre8-typography-headline-large-mobile-font-size);font-weight:var(--cre8-typography-headline-large-mobile-font-weight);line-height:var(--cre8-typography-headline-large-mobile-line-height);text-decoration:var(--cre8-typography-headline-large-mobile-text-decoration);text-transform:var(--cre8-typography-headline-large-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--headline-large{font-family:var(--cre8-typography-headline-large-font-family);font-size:var(--cre8-typography-headline-large-font-size);font-weight:var(--cre8-typography-headline-large-font-weight);line-height:var(--cre8-typography-headline-large-line-height);text-decoration:var(--cre8-typography-headline-large-text-decoration);text-transform:var(--cre8-typography-headline-large-text-transform)}}.cre8-c-heading--headline-default{font-family:var(--cre8-typography-headline-default-mobile-font-family);font-size:var(--cre8-typography-headline-default-mobile-font-size);font-weight:var(--cre8-typography-headline-default-mobile-font-weight);line-height:var(--cre8-typography-headline-default-mobile-line-height);text-decoration:var(--cre8-typography-headline-default-mobile-text-decoration);text-transform:var(--cre8-typography-headline-default-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--headline-default{font-family:var(--cre8-typography-headline-default-font-family);font-size:var(--cre8-typography-headline-default-font-size);font-weight:var(--cre8-typography-headline-default-font-weight);line-height:var(--cre8-typography-headline-default-line-height);text-decoration:var(--cre8-typography-headline-default-text-decoration);text-transform:var(--cre8-typography-headline-default-text-transform)}}.cre8-c-heading--headline-small{font-family:var(--cre8-typography-headline-small-mobile-font-family);font-size:var(--cre8-typography-headline-small-mobile-font-size);font-weight:var(--cre8-typography-headline-small-mobile-font-weight);line-height:var(--cre8-typography-headline-small-mobile-line-height);text-decoration:var(--cre8-typography-headline-small-mobile-text-decoration);text-transform:var(--cre8-typography-headline-small-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--headline-small{font-family:var(--cre8-typography-headline-small-font-family);font-size:var(--cre8-typography-headline-small-font-size);font-weight:var(--cre8-typography-headline-small-font-weight);line-height:var(--cre8-typography-headline-small-line-height);text-decoration:var(--cre8-typography-headline-small-text-decoration);text-transform:var(--cre8-typography-headline-small-text-transform)}}.cre8-c-heading--title-xlarge{font-family:var(--cre8-typography-title-xlarge-mobile-font-family);font-size:var(--cre8-typography-title-xlarge-mobile-font-size);font-weight:var(--cre8-typography-title-xlarge-mobile-font-weight);line-height:var(--cre8-typography-title-xlarge-mobile-line-height);text-decoration:var(--cre8-typography-title-xlarge-mobile-text-decoration);text-transform:var(--cre8-typography-title-xlarge-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--title-xlarge{font-family:var(--cre8-typography-title-xlarge-font-family);font-size:var(--cre8-typography-title-xlarge-font-size);font-weight:var(--cre8-typography-title-xlarge-font-weight);line-height:var(--cre8-typography-title-xlarge-line-height);text-decoration:var(--cre8-typography-title-xlarge-text-decoration);text-transform:var(--cre8-typography-title-xlarge-text-transform)}}.cre8-c-heading--title-large{font-family:var(--cre8-typography-title-large-mobile-font-family);font-size:var(--cre8-typography-title-large-mobile-font-size);font-weight:var(--cre8-typography-title-large-mobile-font-weight);line-height:var(--cre8-typography-title-large-mobile-line-height);text-decoration:var(--cre8-typography-title-large-mobile-text-decoration);text-transform:var(--cre8-typography-title-large-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--title-large{font-family:var(--cre8-typography-title-large-font-family);font-size:var(--cre8-typography-title-large-font-size);font-weight:var(--cre8-typography-title-large-font-weight);line-height:var(--cre8-typography-title-large-line-height);text-decoration:var(--cre8-typography-title-large-text-decoration);text-transform:var(--cre8-typography-title-large-text-transform)}}.cre8-c-heading--title-default{font-family:var(--cre8-typography-title-default-mobile-font-family);font-size:var(--cre8-typography-title-default-mobile-font-size);font-weight:var(--cre8-typography-title-default-mobile-font-weight);line-height:var(--cre8-typography-title-default-mobile-line-height);text-decoration:var(--cre8-typography-title-default-mobile-text-decoration);text-transform:var(--cre8-typography-title-default-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--title-default{font-family:var(--cre8-typography-title-default-font-family);font-size:var(--cre8-typography-title-default-font-size);font-weight:var(--cre8-typography-title-default-font-weight);line-height:var(--cre8-typography-title-default-line-height);text-decoration:var(--cre8-typography-title-default-text-decoration);text-transform:var(--cre8-typography-title-default-text-transform)}}.cre8-c-heading--title-small{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-heading--title-small{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-heading--display-small{font-family:var(--cre8-typography-display-small-mobile-font-family);font-size:var(--cre8-typography-display-small-mobile-font-size);font-weight:var(--cre8-typography-display-small-mobile-font-weight);line-height:var(--cre8-typography-display-small-mobile-line-height);text-decoration:var(--cre8-typography-display-small-mobile-text-decoration);text-transform:var(--cre8-typography-display-small-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--display-small{font-family:var(--cre8-typography-display-small-font-family);font-size:var(--cre8-typography-display-small-font-size);font-weight:var(--cre8-typography-display-small-font-weight);line-height:var(--cre8-typography-display-small-line-height);text-decoration:var(--cre8-typography-display-small-text-decoration);text-transform:var(--cre8-typography-display-small-text-transform)}}.cre8-c-heading--display-default{font-family:var(--cre8-typography-display-default-mobile-font-family);font-size:var(--cre8-typography-display-default-mobile-font-size);font-weight:var(--cre8-typography-display-default-mobile-font-weight);line-height:var(--cre8-typography-display-default-mobile-line-height);text-decoration:var(--cre8-typography-display-default-mobile-text-decoration);text-transform:var(--cre8-typography-display-default-mobile-text-transform)}@media all and (min-width: 768px){.cre8-c-heading--display-default{font-family:var(--cre8-typography-display-default-font-family);font-size:var(--cre8-typography-display-default-font-size);font-weight:var(--cre8-typography-display-default-font-weight);line-height:var(--cre8-typography-display-default-line-height);text-decoration:var(--cre8-typography-display-default-text-decoration);text-transform:var(--cre8-typography-display-default-text-transform)}}.cre8-c-heading--label-large{font-family:var(--cre8-typography-label-large-font-family);font-size:var(--cre8-typography-label-large-font-size);font-weight:var(--cre8-typography-label-large-font-weight);line-height:var(--cre8-typography-label-large-line-height);text-decoration:var(--cre8-typography-label-large-text-decoration);text-transform:var(--cre8-typography-label-large-text-transform)}.cre8-c-heading--label-default{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)}.cre8-c-heading--label-small{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-heading--meta-large{font-family:var(--cre8-typography-meta-large-font-family);font-size:var(--cre8-typography-meta-large-font-size);font-weight:var(--cre8-typography-meta-large-font-weight);line-height:var(--cre8-typography-meta-large-line-height);text-decoration:var(--cre8-typography-meta-large-text-decoration);text-transform:var(--cre8-typography-meta-large-text-transform);text-transform:uppercase}.cre8-c-heading--meta-default{font-family:var(--cre8-typography-meta-default-font-family);font-size:var(--cre8-typography-meta-default-font-size);font-weight:var(--cre8-typography-meta-default-font-weight);line-height:var(--cre8-typography-meta-default-line-height);text-decoration:var(--cre8-typography-meta-default-text-decoration);text-transform:var(--cre8-typography-meta-default-text-transform);text-transform:uppercase}.cre8-c-heading--meta-small{font-family:var(--cre8-typography-meta-small-font-family);font-size:var(--cre8-typography-meta-small-font-size);font-weight:var(--cre8-typography-meta-small-font-weight);line-height:var(--cre8-typography-meta-small-line-height);text-decoration:var(--cre8-typography-meta-small-text-decoration);text-transform:var(--cre8-typography-meta-small-text-transform);text-transform:uppercase}.cre8-c-heading--brand-color{color:var(--cre8-color-content-brand-strong)}.cre8-c-heading--brand-color.cre8-c-heading--inverted{color:var(--cre8-color-content-brand-knockout)}.cre8-c-heading--inverted{color:var(--cre8-color-content-knockout)}`;
5
+ var f = Object.defineProperty, o = (g, l, e, s) => {
6
+ for (var r = void 0, n = g.length - 1, p; n >= 0; n--)
7
+ (p = g[n]) && (r = p(l, e, r) || r);
8
+ return r && f(l, e, r), r;
146
9
  };
147
- const n = class n extends g {
10
+ const h = class h extends c {
148
11
  constructor() {
149
12
  super(...arguments), this.tagVariant = "h5";
150
13
  }
151
14
  render() {
152
- const r = this.type ? {} : {
15
+ const l = this.type ? {} : {
153
16
  "cre8-c-heading--headline-large": this.tagVariant === "h1",
154
17
  "cre8-c-heading--headline-default": this.tagVariant === "h2",
155
18
  "cre8-c-heading--headline-small": this.tagVariant === "h3",
@@ -157,7 +20,7 @@ const n = class n extends g {
157
20
  "cre8-c-heading--title-default": this.tagVariant === "h5",
158
21
  "cre8-c-heading--title-small": this.tagVariant === "h6"
159
22
  }, e = this.componentClassNames("cre8-c-heading", {
160
- ...r,
23
+ ...l,
161
24
  "cre8-c-heading--headline-large": this.type === "headline-large",
162
25
  "cre8-c-heading--headline-default": this.type === "headline-default",
163
26
  "cre8-c-heading--headline-small": this.type === "headline-small",
@@ -194,18 +57,18 @@ const n = class n extends g {
194
57
  }
195
58
  }
196
59
  };
197
- n.styles = [o];
198
- let a = n;
199
- c([
60
+ h.styles = [d];
61
+ let a = h;
62
+ o([
200
63
  i()
201
64
  ], a.prototype, "type");
202
- c([
65
+ o([
203
66
  i()
204
67
  ], a.prototype, "tagVariant");
205
- c([
68
+ o([
206
69
  i({ type: Boolean, reflect: !0 })
207
70
  ], a.prototype, "inverted");
208
- c([
71
+ o([
209
72
  i({ type: Boolean, reflect: !0 })
210
73
  ], a.prototype, "brandColor");
211
74
  customElements.get("cre8-heading") === void 0 && customElements.define("cre8-heading", a);
@@ -1 +1 @@
1
- {"version":3,"file":"heading.styles.d.ts","sourceRoot":"","sources":["../../../components/heading/heading.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAyIX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"heading.styles.d.ts","sourceRoot":"","sources":["../../../components/heading/heading.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA2va,CAAC;AACxwa,eAAe,MAAM,CAAC"}
@@ -1,147 +1,15 @@
1
- import { css as d, html as s } from "lit";
2
- import { property as r } from "lit/decorators.js";
3
- import { Cre8Element as h } from "../cre8-element.js";
4
- const g = d`@import '../../design-tokens/core/scss/theming/component';
5
-
6
- // #HERO
7
-
8
- /**
9
- * 1) Block with an image and overlay on medium and large screens
10
- */
11
- .cre8-c-hero {
12
- position: relative;
13
- margin-bottom: calc(8px * 4);
14
-
15
- @media all and (min-width:$cre8-breakpoint-md) {
16
- height: 40vh;
17
- }
18
- }
19
-
20
- /**
21
- * Hero image
22
- */
23
- .cre8-c-hero__image {
24
- width: 100%;
25
- height: 100%;
26
-
27
- @media all and (min-width:$cre8-breakpoint-md) {
28
- position: absolute;
29
- top: 0;
30
- left: 0;
31
- object-fit: cover;
32
- }
33
- }
34
-
35
- /**
36
- * Hero body
37
- * 1) Content is placed in the bottom left part of the image on medium/large screens by default
38
- */
39
- .cre8-c-hero__body {
40
- display: flex;
41
- flex-direction: column;
42
- padding-top: calc(8px * 2);
43
-
44
- @media all and (min-width:$cre8-breakpoint-md) {
45
- position: absolute;
46
- align-items: flex-start;
47
- justify-content: flex-end;
48
- width: 100%;
49
- height: 100%;
50
- padding-top: calc(8px * 4);
51
- padding-bottom: calc(8px * 4);
52
- }
53
-
54
- /**
55
- * Hero body within align top left variant
56
- * 1) Place body content in the top left part of the image on medium/large screens
57
- */
58
- .cre8-c-hero--top-left & {
59
- @media all and (min-width:$cre8-breakpoint-md) {
60
- justify-content: flex-start;
61
- align-items: flex-start;
62
- }
63
- }
64
-
65
- /**
66
- * Hero body within align left variant
67
- * 1) Place body content along left part of the image and vertically centered on medium/large screens
68
- */
69
- .cre8-c-hero--left & {
70
- @media all and (min-width:$cre8-breakpoint-md) {
71
- justify-content: center;
72
- }
73
- }
74
-
75
- /**
76
- * Hero body within align top center variant
77
- * 1) Place body content in the top center part of the image on medium/large screens
78
- */
79
- .cre8-c-hero--top-center & {
80
- @media all and (min-width:$cre8-breakpoint-md) {
81
- justify-content: flex-start;
82
- align-items: center;
83
- }
84
- }
85
-
86
- /**
87
- * Hero body within align center variant
88
- * 1) Place body content horizontally and vertically centered overlaying the image on medium/large screens
89
- */
90
- .cre8-c-hero--center & {
91
- @media all and (min-width:$cre8-breakpoint-md) {
92
- justify-content: center;
93
- align-items: center;
94
- }
95
- }
96
-
97
- /**
98
- * Hero body within align bottom center variant
99
- * 1) Place body content in the bottom center part of the image on medium/large screens
100
- */
101
- .cre8-c-hero--bottom-center & {
102
- @media all and (min-width:$cre8-breakpoint-md) {
103
- justify-content: flex-end;
104
- align-items: center;
105
- }
106
- }
107
- .cre8-c-hero--top-right & {
108
- @media all and (min-width:$cre8-breakpoint-md) {
109
- justify-content: flex-start;
110
- align-items: flex-end;
111
- }
112
- }
113
-
114
- /**
115
- * Hero body within align right variant
116
- * 1) Place body content along right part of the image and vertically centered on medium/large screens
117
- */
118
- .cre8-c-hero--right & {
119
- @media all and (min-width:$cre8-breakpoint-md) {
120
- justify-content: center;
121
- align-items: flex-end;
122
- }
123
- }
124
-
125
- /**
126
- * Hero body within align bottom right variant
127
- * 1) Place body content in the bottom right part of the image on medium/large screens
128
- */
129
- .cre8-c-hero--bottom-right & {
130
- @media all and (min-width:$cre8-breakpoint-md) {
131
- justify-content: flex-end;
132
- align-items: flex-end;
133
- }
134
- }
135
- }
136
- `;
137
- var p = Object.defineProperty, o = (c, i, l, f) => {
138
- for (var e = void 0, n = c.length - 1, m; n >= 0; n--)
139
- (m = c[n]) && (e = m(i, l, e) || e);
140
- return e && p(i, l, e), e;
1
+ import { css as l, html as h } from "lit";
2
+ import { property as a } from "lit/decorators.js";
3
+ import { Cre8Element as m } from "../cre8-element.js";
4
+ const p = l`*,::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-hero{position:relative;margin-bottom:2rem}@media all and (min-width: 768px){.cre8-c-hero{height:40vh}}.cre8-c-hero__image{width:100%;height:100%}@media all and (min-width: 768px){.cre8-c-hero__image{position:absolute;top:0;left:0;object-fit:cover}}.cre8-c-hero__body{display:flex;flex-direction:column;padding-top:1rem}@media all and (min-width: 768px){.cre8-c-hero__body{position:absolute;align-items:flex-start;justify-content:flex-end;width:100%;height:100%;padding-top:2rem;padding-bottom:2rem}}@media all and (min-width: 768px){.cre8-c-hero--top-left .cre8-c-hero__body{justify-content:flex-start;align-items:flex-start}}@media all and (min-width: 768px){.cre8-c-hero--left .cre8-c-hero__body{justify-content:center}}@media all and (min-width: 768px){.cre8-c-hero--top-center .cre8-c-hero__body{justify-content:flex-start;align-items:center}}@media all and (min-width: 768px){.cre8-c-hero--center .cre8-c-hero__body{justify-content:center;align-items:center}}@media all and (min-width: 768px){.cre8-c-hero--bottom-center .cre8-c-hero__body{justify-content:flex-end;align-items:center}}@media all and (min-width: 768px){.cre8-c-hero--top-right .cre8-c-hero__body{justify-content:flex-start;align-items:flex-end}}@media all and (min-width: 768px){.cre8-c-hero--right .cre8-c-hero__body{justify-content:center;align-items:flex-end}}@media all and (min-width: 768px){.cre8-c-hero--bottom-right .cre8-c-hero__body{justify-content:flex-end;align-items:flex-end}}`;
5
+ var f = Object.defineProperty, o = (s, r, c, g) => {
6
+ for (var e = void 0, i = s.length - 1, d; i >= 0; i--)
7
+ (d = s[i]) && (e = d(r, c, e) || e);
8
+ return e && f(r, c, e), e;
141
9
  };
142
- const a = class a extends h {
10
+ const n = class n extends m {
143
11
  render() {
144
- const i = this.componentClassNames("cre8-c-hero", {
12
+ const r = this.componentClassNames("cre8-c-hero", {
145
13
  "cre8-c-hero--top-left": this.align === "top-left",
146
14
  "cre8-c-hero--left": this.align === "left",
147
15
  "cre8-c-hero--top-center": this.align === "top-center",
@@ -151,8 +19,8 @@ const a = class a extends h {
151
19
  "cre8-c-hero--right": this.align === "right",
152
20
  "cre8-c-hero--bottom-right": this.align === "bottom-right"
153
21
  });
154
- return s`
155
- <div class="${i}">
22
+ return h`
23
+ <div class="${r}">
156
24
  <cre8-layout-container>
157
25
  <img class="cre8-c-hero__image" src="${this.imgSrc}" alt="${this.imgAlt}" />
158
26
  <div class="cre8-c-hero__body">
@@ -163,16 +31,16 @@ const a = class a extends h {
163
31
  `;
164
32
  }
165
33
  };
166
- a.styles = [g];
167
- let t = a;
34
+ n.styles = [p];
35
+ let t = n;
168
36
  o([
169
- r()
37
+ a()
170
38
  ], t.prototype, "imgSrc");
171
39
  o([
172
- r()
40
+ a()
173
41
  ], t.prototype, "imgAlt");
174
42
  o([
175
- r()
43
+ a()
176
44
  ], t.prototype, "align");
177
45
  customElements.get("cre8-hero") === void 0 && customElements.define("cre8-hero", t);
178
46
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../components/hero/hero.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAoIX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../components/hero/hero.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA6sG,CAAC;AAC1tG,eAAe,MAAM,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import "lit";
2
2
  import "lit/directives/unsafe-html.js";
3
3
  import "lit/decorators.js";
4
- import { C as e, C } from "../../icon-DImqxDiW.js";
4
+ import { C as e, C } from "../../icon-D22g8aWB.js";
5
5
  import "../../Caret_Down-VI6aytYo.js";
6
6
  import "../cre8-element.js";
7
7
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"icon.styles.d.ts","sourceRoot":"","sources":["../../../components/icon/icon.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAuGX,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"icon.styles.d.ts","sourceRoot":"","sources":["../../../components/icon/icon.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAi8F,CAAC;AAC98F,eAAe,MAAM,CAAC"}