@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,263 +1,13 @@
|
|
|
1
1
|
import { css as h, html as c } from "lit";
|
|
2
2
|
import { property as l } from "lit/decorators.js";
|
|
3
|
-
import { Cre8Element as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*:before,
|
|
10
|
-
*:after {
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:root {
|
|
15
|
-
--size-base-unit: 0.5rem;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
20
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
21
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
22
|
-
* 3) Inverse items that have 45degs
|
|
23
|
-
*/
|
|
24
|
-
[dir=rtl] {
|
|
25
|
-
--rtlTranslateX: 50%;
|
|
26
|
-
/* 1 */
|
|
27
|
-
--rtlGradientToRight: 270deg;
|
|
28
|
-
/* 2 */
|
|
29
|
-
--rtlRotate45Inverse: -45deg;
|
|
30
|
-
/* 3 */
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Visible focus outline for elements on a light background
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* Visible focus outline for elements with an error status
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Visible focus outline for elements on a dark background
|
|
41
|
-
*/
|
|
42
|
-
/**
|
|
43
|
-
* Focus state for themes that need a dashed outline for focus
|
|
44
|
-
* state
|
|
45
|
-
**/
|
|
46
|
-
/**
|
|
47
|
-
* Invisible focus outline for elements that need a more visible
|
|
48
|
-
* focus state for high-contrast mode
|
|
49
|
-
*/
|
|
50
|
-
/**
|
|
51
|
-
* Visually hidden from display
|
|
52
|
-
*/
|
|
53
|
-
/*
|
|
54
|
-
=======
|
|
55
|
-
Animations
|
|
56
|
-
=======
|
|
57
|
-
*/
|
|
58
|
-
:host {
|
|
59
|
-
--cre8-z-index-1: 1;
|
|
60
|
-
--cre8-z-index-50: 50;
|
|
61
|
-
--cre8-z-index-100: 100;
|
|
62
|
-
--cre8-z-index-200: 200;
|
|
63
|
-
--cre8-z-index-1030: 1030;
|
|
64
|
-
--cre8-anim-fade-quick: 0.35s;
|
|
65
|
-
--cre8-anim-ease: ease;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@keyframes fadeIn {
|
|
69
|
-
100% {
|
|
70
|
-
opacity: 1;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@keyframes slideIn {
|
|
74
|
-
100% {
|
|
75
|
-
transform: translateX(0);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
@keyframes slideInFwd {
|
|
79
|
-
100% {
|
|
80
|
-
width: 272px;
|
|
81
|
-
height: 272px;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
@keyframes slideOutRight {
|
|
85
|
-
100% {
|
|
86
|
-
width: 272px;
|
|
87
|
-
height: 272px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
@keyframes slideUp {
|
|
91
|
-
100% {
|
|
92
|
-
transform: translateY(0);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
@media (width >= 481px) {
|
|
96
|
-
@keyframes slideInFwd {
|
|
97
|
-
100% {
|
|
98
|
-
width: 417px;
|
|
99
|
-
height: 417px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
@keyframes slideOutRight {
|
|
103
|
-
100% {
|
|
104
|
-
width: 417px;
|
|
105
|
-
height: 417px;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
@media (width >= 48rem) {
|
|
110
|
-
@keyframes slideInFwd {
|
|
111
|
-
100% {
|
|
112
|
-
width: 330px;
|
|
113
|
-
height: 330px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
@keyframes slideOutRight {
|
|
117
|
-
100% {
|
|
118
|
-
width: 330px;
|
|
119
|
-
height: 330px;
|
|
120
|
-
transform: translateX(calc(100vw - 45px));
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
@media (width >= 60rem) {
|
|
125
|
-
@keyframes slideInFwd {
|
|
126
|
-
100% {
|
|
127
|
-
width: 460px;
|
|
128
|
-
height: 460px;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
@keyframes slideOutRight {
|
|
132
|
-
100% {
|
|
133
|
-
width: 460px;
|
|
134
|
-
height: 460px;
|
|
135
|
-
transform: translateX(calc(100vw - 45px));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
@media (width >= 75rem) {
|
|
140
|
-
@keyframes slideInFwd {
|
|
141
|
-
100% {
|
|
142
|
-
width: 592px;
|
|
143
|
-
height: 591px;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
@keyframes slideOutRight {
|
|
147
|
-
100% {
|
|
148
|
-
width: 592px;
|
|
149
|
-
height: 591px;
|
|
150
|
-
transform: translateX(calc(100vw - 45px));
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
@media (width >= 87.5rem) {
|
|
155
|
-
@keyframes slideOutRight {
|
|
156
|
-
100% {
|
|
157
|
-
width: 592px;
|
|
158
|
-
height: 591px;
|
|
159
|
-
transform: translateX(calc(100vw - 120px));
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
@media (width >= 2200px) {
|
|
164
|
-
@keyframes slideOutRight {
|
|
165
|
-
100% {
|
|
166
|
-
width: 592px;
|
|
167
|
-
height: 591px;
|
|
168
|
-
transform: translateX(calc(100vw - 592px));
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
span.ripple {
|
|
173
|
-
position: absolute;
|
|
174
|
-
border-radius: 50%;
|
|
175
|
-
transform: scale(0);
|
|
176
|
-
animation: ripple 600ms linear;
|
|
177
|
-
background-color: var(--ripple-bg-color);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
@keyframes ripple {
|
|
181
|
-
to {
|
|
182
|
-
transform: scale(4);
|
|
183
|
-
opacity: 1;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
:root {
|
|
187
|
-
--size-base-unit: 0.5rem;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
192
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
193
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
194
|
-
* 3) Inverse items that have 45degs
|
|
195
|
-
*/
|
|
196
|
-
[dir=rtl] {
|
|
197
|
-
--rtlTranslateX: 50%;
|
|
198
|
-
/* 1 */
|
|
199
|
-
--rtlGradientToRight: 270deg;
|
|
200
|
-
/* 2 */
|
|
201
|
-
--rtlRotate45Inverse: -45deg;
|
|
202
|
-
/* 3 */
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Visible focus outline for elements on a light background
|
|
207
|
-
*/
|
|
208
|
-
/**
|
|
209
|
-
* Visible focus outline for elements with an error status
|
|
210
|
-
*/
|
|
211
|
-
/**
|
|
212
|
-
* Visible focus outline for elements on a dark background
|
|
213
|
-
*/
|
|
214
|
-
/**
|
|
215
|
-
* Focus state for themes that need a dashed outline for focus
|
|
216
|
-
* state
|
|
217
|
-
**/
|
|
218
|
-
/**
|
|
219
|
-
* Invisible focus outline for elements that need a more visible
|
|
220
|
-
* focus state for high-contrast mode
|
|
221
|
-
*/
|
|
222
|
-
/**
|
|
223
|
-
* Visually hidden from display
|
|
224
|
-
*/
|
|
225
|
-
/**
|
|
226
|
-
* 1) A container with a background that can house various recipes of Components within
|
|
227
|
-
*/
|
|
228
|
-
.cre8-c-band {
|
|
229
|
-
background: var(--cre8-color-bg-subtle);
|
|
230
|
-
padding: 24px 0;
|
|
231
|
-
}
|
|
232
|
-
@media all and (min-width: 1200px) {
|
|
233
|
-
.cre8-c-band {
|
|
234
|
-
padding: 32px 0;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Branded variant
|
|
240
|
-
*/
|
|
241
|
-
.cre8-c-band--branded {
|
|
242
|
-
color: var(--cre8-color-content-knockout);
|
|
243
|
-
background: var(--cre8-theme-color-utility-information);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Full height
|
|
248
|
-
* 1) Height set to 100% to fill a container like a sidebar
|
|
249
|
-
*/
|
|
250
|
-
.cre8-c-band--full-height {
|
|
251
|
-
height: 100%;
|
|
252
|
-
}
|
|
253
|
-
/* sourceMappingURL=band.module.css.map */
|
|
254
|
-
`;
|
|
255
|
-
var f = Object.defineProperty, d = (s, r, o, p) => {
|
|
256
|
-
for (var e = void 0, a = s.length - 1, n; a >= 0; a--)
|
|
257
|
-
(n = s[a]) && (e = n(r, o, e) || e);
|
|
258
|
-
return e && f(r, o, e), e;
|
|
3
|
+
import { Cre8Element as m } from "../cre8-element.js";
|
|
4
|
+
const p = h`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}.cre8-c-band{background:var(--cre8-color-bg-subtle);padding:1.5rem 0}@media all and (min-width: 1200px){.cre8-c-band{padding:2rem 0}}.cre8-c-band--branded{color:var(--cre8-color-content-knockout);background:var(--cre8-theme-color-utility-information)}.cre8-c-band--full-height{height:100%}`;
|
|
5
|
+
var f = Object.defineProperty, o = (s, r, d, x) => {
|
|
6
|
+
for (var e = void 0, i = s.length - 1, n; i >= 0; i--)
|
|
7
|
+
(n = s[i]) && (e = n(r, d, e) || e);
|
|
8
|
+
return e && f(r, d, e), e;
|
|
259
9
|
};
|
|
260
|
-
const
|
|
10
|
+
const a = class a extends m {
|
|
261
11
|
render() {
|
|
262
12
|
const r = this.componentClassNames("cre8-c-band", {
|
|
263
13
|
"cre8-c-band--branded": this.variant === "branded",
|
|
@@ -270,12 +20,12 @@ const i = class i extends u {
|
|
|
270
20
|
`;
|
|
271
21
|
}
|
|
272
22
|
};
|
|
273
|
-
|
|
274
|
-
let t =
|
|
275
|
-
|
|
23
|
+
a.styles = [p];
|
|
24
|
+
let t = a;
|
|
25
|
+
o([
|
|
276
26
|
l()
|
|
277
27
|
], t.prototype, "variant");
|
|
278
|
-
|
|
28
|
+
o([
|
|
279
29
|
l({ type: Boolean, reflect: !0 })
|
|
280
30
|
], t.prototype, "fullHeight");
|
|
281
31
|
customElements.get("cre8-band") === void 0 && customElements.define("cre8-band", t);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"band.styles.d.ts","sourceRoot":"","sources":["../../../components/band/band.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"band.styles.d.ts","sourceRoot":"","sources":["../../../components/band/band.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAAijE,CAAC;AAC9jE,eAAe,MAAM,CAAC"}
|
|
@@ -1,39 +1,20 @@
|
|
|
1
|
-
import { css as
|
|
2
|
-
import { property as
|
|
1
|
+
import { css as n, html as m } from "lit";
|
|
2
|
+
import { property as o } from "lit/decorators.js";
|
|
3
3
|
import { Cre8Element as p } from "../cre8-element.js";
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 1) An ordered list of navigational hierarchy showing the user where they are on the site
|
|
14
|
-
*/
|
|
15
|
-
.cre8-c-breadcrumbs__list {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-wrap: wrap;
|
|
18
|
-
margin: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
list-style: none;
|
|
21
|
-
gap: calc(8px * 1);
|
|
22
|
-
}
|
|
23
|
-
`;
|
|
24
|
-
var b = Object.defineProperty, f = (n, s, o, h) => {
|
|
25
|
-
for (var e = void 0, t = n.length - 1, l; t >= 0; t--)
|
|
26
|
-
(l = n[t]) && (e = l(s, o, e) || e);
|
|
27
|
-
return e && b(s, o, e), e;
|
|
4
|
+
const h = n`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{display:inline-flex}.cre8-c-breadcrumbs__list{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;gap:0.5rem}`;
|
|
5
|
+
var c = Object.defineProperty, f = (s, t, l, x) => {
|
|
6
|
+
for (var e = void 0, a = s.length - 1, d; a >= 0; a--)
|
|
7
|
+
(d = s[a]) && (e = d(t, l, e) || e);
|
|
8
|
+
return e && c(t, l, e), e;
|
|
28
9
|
};
|
|
29
|
-
const
|
|
10
|
+
const i = class i extends p {
|
|
30
11
|
constructor() {
|
|
31
12
|
super(...arguments), this.navAriaLabel = "breadcrumbs";
|
|
32
13
|
}
|
|
33
14
|
render() {
|
|
34
|
-
const
|
|
35
|
-
return
|
|
36
|
-
<nav aria-label="${this.navAriaLabel}" class="${
|
|
15
|
+
const t = this.componentClassNames("cre8-c-breadcrumbs", {});
|
|
16
|
+
return m`
|
|
17
|
+
<nav aria-label="${this.navAriaLabel}" class="${t}">
|
|
37
18
|
<ol class="cre8-c-breadcrumbs__list">
|
|
38
19
|
<slot></slot>
|
|
39
20
|
</ol>
|
|
@@ -41,10 +22,10 @@ const a = class a extends p {
|
|
|
41
22
|
`;
|
|
42
23
|
}
|
|
43
24
|
};
|
|
44
|
-
|
|
45
|
-
let r =
|
|
25
|
+
i.styles = [h];
|
|
26
|
+
let r = i;
|
|
46
27
|
f([
|
|
47
|
-
|
|
28
|
+
o()
|
|
48
29
|
], r.prototype, "navAriaLabel");
|
|
49
30
|
customElements.get("cre8-breadcrumbs") === void 0 && customElements.define("cre8-breadcrumbs", r);
|
|
50
31
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs/breadcrumbs.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"breadcrumbs.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs/breadcrumbs.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA84D,CAAC;AAC35D,eAAe,MAAM,CAAC"}
|
|
@@ -1,58 +1,23 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
import { css as
|
|
3
|
-
import { Cre8Element as
|
|
4
|
-
import "../../icon-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
:host {
|
|
8
|
-
display: inline-flex;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* 1) Singular item within the breadcrumbs component that contains a link elsewhere on the site
|
|
13
|
-
*/
|
|
14
|
-
.cre8-c-breadcrumbs--item {
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Breadcrumbs caret doesn't display for last breadcrumb item
|
|
20
|
-
*/
|
|
21
|
-
:host(:last-child) & {
|
|
22
|
-
cre8-icon {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Breadcrumbs icon
|
|
30
|
-
*/
|
|
31
|
-
cre8-icon {
|
|
32
|
-
margin-left: calc(8px * 1);
|
|
33
|
-
color: var(--cre8-color-content-subtle);
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
svg {
|
|
36
|
-
height: calc(8px * 2);
|
|
37
|
-
width: calc(8px * 2);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
`, t = class t extends n {
|
|
1
|
+
import { s as i } from "../../Caret_Right-DZH0BlfG.js";
|
|
2
|
+
import { css as s, html as a } from "lit";
|
|
3
|
+
import { Cre8Element as l } from "../cre8-element.js";
|
|
4
|
+
import "../../icon-D22g8aWB.js";
|
|
5
|
+
const n = s`*,::slotted(*),*:before,*:after{box-sizing:border-box}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}:root{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{display:inline-flex}.cre8-c-breadcrumbs--item{display:inline-flex;align-items:center}:host(:last-child) .cre8-c-breadcrumbs--item cre8-icon{display:none}cre8-icon{margin-left:0.5rem;color:var(--cre8-color-content-subtle);display:inline-flex}cre8-icon svg{height:1rem;width:1rem}`, t = class t extends l {
|
|
41
6
|
// Set the role before rendering for better accessibility
|
|
42
7
|
// Because we're settting this role, we don't wrap the slot in an <li>
|
|
43
8
|
connectedCallback() {
|
|
44
9
|
this.setAttribute("role", "listitem"), super.connectedCallback();
|
|
45
10
|
}
|
|
46
11
|
render() {
|
|
47
|
-
const
|
|
12
|
+
const r = this.componentClassNames(
|
|
48
13
|
"cre8-c-breadcrumbs--item",
|
|
49
14
|
{}
|
|
50
15
|
);
|
|
51
|
-
return
|
|
52
|
-
<div class="${
|
|
16
|
+
return a`
|
|
17
|
+
<div class="${r}">
|
|
53
18
|
<slot></slot>
|
|
54
19
|
<cre8-icon
|
|
55
|
-
svg="${
|
|
20
|
+
svg="${i}"
|
|
56
21
|
rotate="90"
|
|
57
22
|
container-class="cre8-c-icon-wrapper"
|
|
58
23
|
aria-hidden="true"
|
|
@@ -63,7 +28,7 @@ cre8-icon {
|
|
|
63
28
|
`;
|
|
64
29
|
}
|
|
65
30
|
};
|
|
66
|
-
t.styles = [
|
|
31
|
+
t.styles = [n];
|
|
67
32
|
let e = t;
|
|
68
33
|
customElements.get("cre8-breadcrumbs-item") === void 0 && customElements.define("cre8-breadcrumbs-item", e);
|
|
69
34
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs-item.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs-item/breadcrumbs-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"breadcrumbs-item.styles.d.ts","sourceRoot":"","sources":["../../../components/breadcrumbs-item/breadcrumbs-item.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAA4iE,CAAC;AACzjE,eAAe,MAAM,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { css as v, html as n, nothing as i } from "lit";
|
|
|
2
2
|
import { ifDefined as c } from "lit-html/directives/if-defined.js";
|
|
3
3
|
import { property as e, query as y } from "lit/decorators.js";
|
|
4
4
|
import { Cre8FormElement as h } from "../cre8-form-element.js";
|
|
5
|
-
import "../../icon-
|
|
5
|
+
import "../../icon-D22g8aWB.js";
|
|
6
6
|
import "../loading-spinner/loading-spinner.js";
|
|
7
7
|
const g = v`
|
|
8
8
|
@import '../../design-tokens/core/scss/theming/component';
|
|
@@ -767,8 +767,8 @@ color: var(--cre8-color-button-primary-inverse-content);
|
|
|
767
767
|
|
|
768
768
|
.cre8-c-button--sm cre8-icon {
|
|
769
769
|
svg {
|
|
770
|
-
height:
|
|
771
|
-
width:
|
|
770
|
+
height: size(1.75);
|
|
771
|
+
width: size(1.75);
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
774
|
|
|
@@ -782,8 +782,8 @@ color: var(--cre8-color-button-primary-inverse-content);
|
|
|
782
782
|
|
|
783
783
|
.cre8-c-button--lg cre8-icon {
|
|
784
784
|
svg {
|
|
785
|
-
height:
|
|
786
|
-
width:
|
|
785
|
+
height: size(2.25);
|
|
786
|
+
width: size(2.25);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
|
|
@@ -795,22 +795,22 @@ color: var(--cre8-color-button-primary-inverse-content);
|
|
|
795
795
|
*/
|
|
796
796
|
|
|
797
797
|
cre8-icon-legacy + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
|
|
798
|
-
margin-left:
|
|
798
|
+
margin-left: size(1);
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
cre8-icon + .cre8-c-button__text:not(.cre8-u-is-vishidden) {
|
|
802
|
-
margin-left:
|
|
802
|
+
margin-left: size(1);
|
|
803
803
|
}
|
|
804
804
|
|
|
805
805
|
/**
|
|
806
806
|
* Button icon directly after button text
|
|
807
807
|
*/
|
|
808
808
|
.cre8-c-button__text:not(.cre8-u-is-vishidden) + cre8-icon-legacy {
|
|
809
|
-
margin-left:
|
|
809
|
+
margin-left: size(1);
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
.cre8-c-button__text:not(.cre8-u-is-vishidden) + cre8-icon {
|
|
813
|
-
margin-left:
|
|
813
|
+
margin-left: size(1);
|
|
814
814
|
}
|
|
815
815
|
/**
|
|
816
816
|
* Button icon only
|
|
@@ -866,7 +866,7 @@ cre8-icon-legacy.cre8-u-is-vishidden {
|
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
span.cre8-c-button__icon {
|
|
869
|
-
margin-left:
|
|
869
|
+
margin-left: size(1);
|
|
870
870
|
max-width: fit-content;
|
|
871
871
|
min-width: 0px;
|
|
872
872
|
width: auto;
|
|
@@ -881,15 +881,15 @@ cre8-icon {
|
|
|
881
881
|
justify-content: center;
|
|
882
882
|
|
|
883
883
|
svg {
|
|
884
|
-
height:
|
|
885
|
-
width:
|
|
884
|
+
height: size(2);
|
|
885
|
+
width: size(2);
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
888
|
`;
|
|
889
|
-
var
|
|
889
|
+
var f = Object.defineProperty, o = (b, t, u, p) => {
|
|
890
890
|
for (var a = void 0, l = b.length - 1, s; l >= 0; l--)
|
|
891
891
|
(s = b[l]) && (a = s(t, u, a) || a);
|
|
892
|
-
return a &&
|
|
892
|
+
return a && f(t, u, a), a;
|
|
893
893
|
};
|
|
894
894
|
const d = class d extends h {
|
|
895
895
|
constructor() {
|