@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.
- package/cdn/cre8-wc.esm.js +9082 -15604
- package/cdn/cre8-wc.esm.js.map +1 -1
- package/cdn/cre8-wc.min.js +1231 -8308
- package/cdn/cre8-wc.min.js.map +1 -1
- package/lib/cdn-entry.d.ts +20 -2
- package/lib/cdn-entry.d.ts.map +1 -1
- package/lib/components/accordion/accordion.js +18 -64
- package/lib/components/accordion/accordion.styles.d.ts.map +1 -1
- package/lib/components/accordion-item/accordion-item.js +35 -238
- package/lib/components/accordion-item/accordion-item.styles.d.ts.map +1 -1
- package/lib/components/alert/alert.js +56 -221
- package/lib/components/alert/alert.styles.d.ts.map +1 -1
- package/lib/components/badge/badge.js +33 -164
- package/lib/components/badge/badge.styles.d.ts.map +1 -1
- package/lib/components/band/band.js +11 -261
- package/lib/components/band/band.styles.d.ts.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.js +14 -33
- package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/lib/components/breadcrumbs-item/breadcrumbs-item.js +10 -45
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.map +1 -1
- package/lib/components/button/button.js +14 -14
- package/lib/components/button-group/button-group.js +10 -261
- package/lib/components/button-group/button-group.styles.d.ts.map +1 -1
- package/lib/components/card/card.js +17 -130
- package/lib/components/card/card.styles.d.ts.map +1 -1
- package/lib/components/chart/chart.js +137 -223
- package/lib/components/chart/chart.styles.d.ts.map +1 -1
- package/lib/components/checkbox-field/checkbox-field.js +26 -59
- package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/lib/components/checkbox-field-item/checkbox-field-item.js +38 -205
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -1
- package/lib/components/danger-button/danger-button.js +53 -582
- package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -1
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -1
- package/lib/components/date-picker/date-picker.js +262 -499
- package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -1
- package/lib/components/divider/divider.js +20 -61
- package/lib/components/divider/divider.styles.d.ts.map +1 -1
- package/lib/components/dropdown/dropdown.js +34 -107
- package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -1
- package/lib/components/dropdown-item/dropdown-item.js +18 -49
- package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -1
- package/lib/components/feature/feature.js +19 -81
- package/lib/components/feature/feature.styles.d.ts.map +1 -1
- package/lib/components/field/field.js +12 -146
- package/lib/components/field/field.styles.d.ts.map +1 -1
- package/lib/components/field-note/field-note.js +22 -66
- package/lib/components/field-note/field-note.styles.d.ts.map +1 -1
- package/lib/components/footer/footer.js +10 -29
- package/lib/components/footer/footer.styles.d.ts.map +1 -1
- package/lib/components/global-nav/global-nav.js +20 -43
- package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -1
- package/lib/components/global-nav-item/global-nav-item.js +26 -105
- package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -1
- package/lib/components/grid/grid.js +15 -337
- package/lib/components/grid/grid.styles.d.ts.map +1 -1
- package/lib/components/grid-item/grid-item.js +7 -15
- package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -1
- package/lib/components/header/header.js +17 -80
- package/lib/components/header/header.styles.d.ts.map +1 -1
- package/lib/components/heading/heading.js +16 -153
- package/lib/components/heading/heading.styles.d.ts.map +1 -1
- package/lib/components/hero/hero.js +17 -149
- package/lib/components/hero/hero.styles.d.ts.map +1 -1
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon.styles.d.ts.map +1 -1
- package/lib/components/inline-alert/inline-alert.js +53 -214
- package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -1
- package/lib/components/layout/layout.js +20 -53
- package/lib/components/layout/layout.styles.d.ts.map +1 -1
- package/lib/components/layout-container/layout-container.js +20 -43
- package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -1
- package/lib/components/layout-section/layout-section.js +20 -29
- package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -1
- package/lib/components/linelength-container/linelength-container.js +7 -15
- package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -1
- package/lib/components/link/link.js +33 -228
- package/lib/components/link/link.styles.d.ts.map +1 -1
- package/lib/components/link-list/link-list.js +23 -129
- package/lib/components/link-list/link-list.styles.d.ts.map +1 -1
- package/lib/components/link-list-item/link-list-item.js +19 -80
- package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -1
- package/lib/components/list/list.js +17 -67
- package/lib/components/list/list.styles.d.ts.map +1 -1
- package/lib/components/list-item/list-item.js +11 -16
- package/lib/components/list-item/list-item.styles.d.ts.map +1 -1
- package/lib/components/loading-spinner/loading-spinner.js +13 -157
- package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -1
- package/lib/components/logo/logo.js +20 -30
- package/lib/components/logo/logo.styles.d.ts.map +1 -1
- package/lib/components/main/main.js +18 -42
- package/lib/components/main/main.styles.d.ts.map +1 -1
- package/lib/components/modal/modal.js +50 -215
- package/lib/components/modal/modal.styles.d.ts.map +1 -1
- package/lib/components/multi-select/multi-select.js +71 -532
- package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -1
- package/lib/components/nav-container/nav-container.js +5 -40
- package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -1
- package/lib/components/page-header/page-header.js +19 -54
- package/lib/components/page-header/page-header.styles.d.ts.map +1 -1
- package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -1
- package/lib/components/pagination/pagination.js +102 -183
- package/lib/components/pagination/pagination.styles.d.ts.map +1 -1
- package/lib/components/percent-bar/percent-bar.js +22 -50
- package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -1
- package/lib/components/popover/popover.js +51 -220
- package/lib/components/popover/popover.styles.d.ts.map +1 -1
- package/lib/components/primary-nav/primary-nav.js +17 -51
- package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -1
- package/lib/components/primary-nav-item/primary-nav-item.js +24 -191
- package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -1
- package/lib/components/progress-meter/progress-meter.js +23 -127
- package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -1
- package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -1
- package/lib/components/progress-steps-item/progress-steps-item.js +27 -118
- package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -1
- package/lib/components/radio-field/radio-field.js +28 -64
- package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -1
- package/lib/components/radio-field-item/radio-field-item.js +54 -189
- package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -1
- package/lib/components/remove-tag/remove-tag.js +36 -129
- package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -1
- package/lib/components/section/section.js +19 -50
- package/lib/components/section/section.styles.d.ts.map +1 -1
- package/lib/components/select/select.js +43 -416
- package/lib/components/select/select.styles.d.ts.map +1 -1
- package/lib/components/select-tile/select-tile.js +18 -442
- package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -1
- package/lib/components/select-tile-list/select-tile-list.js +24 -62
- package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -1
- package/lib/components/skeleton-loader/skeleton-loader.js +19 -73
- package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -1
- package/lib/components/split-button/split-button.js +21 -37
- package/lib/components/split-button/split-button.styles.d.ts.map +1 -1
- package/lib/components/submenu/submenu.js +8 -18
- package/lib/components/submenu/submenu.styles.d.ts.map +1 -1
- package/lib/components/submenu-item/submenu-item.js +21 -42
- package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -1
- package/lib/components/tab/tab.js +17 -100
- package/lib/components/tab/tab.styles.d.ts.map +1 -1
- package/lib/components/tab-panel/tab-panel.js +18 -52
- package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -1
- package/lib/components/table/table.js +21 -73
- package/lib/components/table/table.styles.d.ts.map +1 -1
- package/lib/components/table-body/table-body.js +12 -24
- package/lib/components/table-body/table-body.styles.d.ts.map +1 -1
- package/lib/components/table-cell/table-cell.js +29 -69
- package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -1
- package/lib/components/table-header/table-header.js +8 -39
- package/lib/components/table-header/table-header.styles.d.ts.map +1 -1
- package/lib/components/table-header-cell/table-header-cell.js +18 -37
- package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -1
- package/lib/components/table-object/table-object.js +13 -32
- package/lib/components/table-object/table-object.styles.d.ts.map +1 -1
- package/lib/components/table-row/table-row.js +33 -139
- package/lib/components/table-row/table-row.styles.d.ts.map +1 -1
- package/lib/components/tabs/tabs.js +24 -339
- package/lib/components/tabs/tabs.styles.d.ts.map +1 -1
- package/lib/components/tag/tag.js +44 -159
- package/lib/components/tag/tag.styles.d.ts.map +1 -1
- package/lib/components/tag-list/tag-list.js +20 -51
- package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -1
- package/lib/components/tertiary-nav/tertiary-nav.js +21 -54
- package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -1
- package/lib/components/tertiary-nav-item/tertiary-nav-item.js +18 -68
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -1
- package/lib/components/text-link/text-link.js +20 -85
- package/lib/components/text-link/text-link.styles.d.ts.map +1 -1
- package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -1
- package/lib/components/text-passage/text-passage.js +17 -189
- package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -1
- package/lib/components/tooltip/tooltip.js +57 -248
- package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -1
- package/lib/components/utility-nav/utility-nav.js +23 -56
- package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -1
- package/lib/components/utility-nav-item/utility-nav-item.js +28 -83
- package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -1
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts.map +1 -1
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts.map +1 -1
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +3 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts.map +1 -1
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts.map +1 -1
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts.map +1 -1
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts.map +1 -1
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts +2 -2
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts.map +1 -1
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts.map +1 -1
- package/lib/design-tokens/core/scss/theming/component.scss +5 -5
- package/lib/design-tokens/core/scss/theming/functions.scss +4 -0
- package/lib/design-tokens/core/scss/theming/spacing.scss +60 -60
- package/lib/design-tokens/core/scss/theming/variables.scss +11 -11
- package/lib/design-tokens/mixins/typography-usage.scss +277 -277
- package/lib/design-tokens/tokens_netflix.theme.d.ts.map +1 -1
- package/lib/{icon-DImqxDiW.js → icon-D22g8aWB.js} +35 -138
- package/lib/index.js +1 -1
- package/package.json +7 -6
|
@@ -1,155 +1,18 @@
|
|
|
1
|
-
import { css as
|
|
1
|
+
import { css as y, html as t } from "lit";
|
|
2
2
|
import { property as i } from "lit/decorators.js";
|
|
3
|
-
import { Cre8Element as
|
|
4
|
-
const o = p`@import '../../design-tokens/core/scss/theming/component';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
10
|
+
const h = class h extends c {
|
|
148
11
|
constructor() {
|
|
149
12
|
super(...arguments), this.tagVariant = "h5";
|
|
150
13
|
}
|
|
151
14
|
render() {
|
|
152
|
-
const
|
|
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
|
-
...
|
|
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
|
-
|
|
198
|
-
let a =
|
|
199
|
-
|
|
60
|
+
h.styles = [d];
|
|
61
|
+
let a = h;
|
|
62
|
+
o([
|
|
200
63
|
i()
|
|
201
64
|
], a.prototype, "type");
|
|
202
|
-
|
|
65
|
+
o([
|
|
203
66
|
i()
|
|
204
67
|
], a.prototype, "tagVariant");
|
|
205
|
-
|
|
68
|
+
o([
|
|
206
69
|
i({ type: Boolean, reflect: !0 })
|
|
207
70
|
], a.prototype, "inverted");
|
|
208
|
-
|
|
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,
|
|
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
|
|
2
|
-
import { property as
|
|
3
|
-
import { Cre8Element as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
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
|
|
10
|
+
const n = class n extends m {
|
|
143
11
|
render() {
|
|
144
|
-
const
|
|
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
|
|
155
|
-
<div class="${
|
|
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
|
-
|
|
167
|
-
let t =
|
|
34
|
+
n.styles = [p];
|
|
35
|
+
let t = n;
|
|
168
36
|
o([
|
|
169
|
-
|
|
37
|
+
a()
|
|
170
38
|
], t.prototype, "imgSrc");
|
|
171
39
|
o([
|
|
172
|
-
|
|
40
|
+
a()
|
|
173
41
|
], t.prototype, "imgAlt");
|
|
174
42
|
o([
|
|
175
|
-
|
|
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,
|
|
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-
|
|
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,
|
|
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"}
|