@cupra/ui-kit 2.0.0-canary.180 → 2.0.0-canary.182
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/dist/cjs/components/ds-avatar/styles/common.styles.cjs +117 -0
- package/dist/cjs/components/ds-badge/styles/common.styles.cjs +42 -0
- package/dist/cjs/components/ds-breadcrumbs/ds-breadcrumbs.cjs +2 -2
- package/dist/cjs/components/ds-breadcrumbs/styles/common.styles.cjs +107 -0
- package/dist/cjs/components/ds-breadcrumbs-item/ds-breadcrumbs-item.cjs +2 -2
- package/dist/cjs/components/ds-breadcrumbs-item/styles/common.styles.cjs +72 -0
- package/dist/cjs/components/ds-calendar/styles/common.styles.cjs +88 -0
- package/dist/cjs/components/ds-calendar-day/styles/common.styles.cjs +78 -0
- package/dist/cjs/components/ds-carousel-indicator/styles/common.styles.cjs +50 -0
- package/dist/cjs/components/ds-checkbox-group/styles/common.styles.cjs +87 -0
- package/dist/cjs/components/ds-icon/iconNames.cjs +1 -1
- package/dist/cjs/components/ds-icon-button-group/styles/common.styles.cjs +9 -0
- package/dist/cjs/components/ds-interactive-card/styles/common.styles.cjs +214 -0
- package/dist/cjs/components/ds-list/styles/common.styles.cjs +37 -0
- package/dist/cjs/components/ds-main-title/styles/common.styles.cjs +58 -0
- package/dist/cjs/components/ds-media-control/styles/common.styles.cjs +4 -0
- package/dist/cjs/components/ds-navigation-controls/styles/common.styles.cjs +23 -0
- package/dist/cjs/components/ds-password-input/ds-password-input.cjs +2 -2
- package/dist/cjs/components/ds-password-input/styles/common.styles.cjs +8 -0
- package/dist/cjs/components/ds-picker-item/styles/common.styles.cjs +175 -0
- package/dist/cjs/components/ds-radio-button/styles/common.styles.cjs +178 -0
- package/dist/cjs/components/ds-radio-button-group/styles/common.styles.cjs +87 -0
- package/dist/cjs/components/ds-rating/styles/common.styles.cjs +24 -0
- package/dist/cjs/components/ds-secondary-navigation/ds-secondary-navigation.cjs +3 -3
- package/dist/cjs/components/ds-secondary-navigation/styles/common.styles.cjs +290 -0
- package/dist/cjs/components/ds-skeleton/styles/common.styles.cjs +38 -0
- package/dist/cjs/components/ds-stepper/styles/common.styles.cjs +58 -0
- package/dist/cjs/components/ds-table/styles/common.styles.cjs +35 -0
- package/dist/cjs/components/ds-table-cell/styles/common.styles.cjs +39 -0
- package/dist/cjs/components/ds-table-row/styles/common.styles.cjs +8 -0
- package/dist/cjs/components/ds-theme-provider/ds-theme-provider.cjs +1 -1
- package/dist/cjs/components/ds-toast-message/styles/common.styles.cjs +136 -0
- package/dist/cjs/decorators/customUiKitElement.cjs +1 -1
- package/dist/cjs/utils/IconsManager.cjs +1 -1
- package/dist/cjs/utils/PubSub.cjs +1 -1
- package/dist/cjs/utils/StylesRegistry/StylesRegistry.cjs +1 -1
- package/dist/cjs/utils/version.cjs +1 -1
- package/dist/esm/components/ds-avatar/styles/common.styles.js +117 -0
- package/dist/esm/components/ds-badge/styles/common.styles.js +42 -0
- package/dist/esm/components/ds-breadcrumbs/ds-breadcrumbs.js +8 -7
- package/dist/esm/components/ds-breadcrumbs/styles/common.styles.js +112 -0
- package/dist/esm/components/ds-breadcrumbs-item/ds-breadcrumbs-item.js +6 -5
- package/dist/esm/components/ds-breadcrumbs-item/styles/common.styles.js +77 -0
- package/dist/esm/components/ds-calendar/styles/common.styles.js +88 -0
- package/dist/esm/components/ds-calendar-day/styles/common.styles.js +78 -0
- package/dist/esm/components/ds-carousel-indicator/styles/common.styles.js +50 -0
- package/dist/esm/components/ds-checkbox-group/styles/common.styles.js +87 -0
- package/dist/esm/components/ds-icon/iconNames.js +1 -1
- package/dist/esm/components/ds-icon-button-group/styles/common.styles.js +9 -0
- package/dist/esm/components/ds-interactive-card/styles/common.styles.js +214 -0
- package/dist/esm/components/ds-list/styles/common.styles.js +37 -0
- package/dist/esm/components/ds-main-title/styles/common.styles.js +58 -0
- package/dist/esm/components/ds-media-control/styles/common.styles.js +4 -0
- package/dist/esm/components/ds-navigation-controls/styles/common.styles.js +23 -0
- package/dist/esm/components/ds-password-input/ds-password-input.js +5 -4
- package/dist/esm/components/ds-password-input/styles/common.styles.js +13 -0
- package/dist/esm/components/ds-picker-item/styles/common.styles.js +175 -0
- package/dist/esm/components/ds-radio-button/styles/common.styles.js +178 -0
- package/dist/esm/components/ds-radio-button-group/styles/common.styles.js +87 -0
- package/dist/esm/components/ds-rating/styles/common.styles.js +24 -0
- package/dist/esm/components/ds-secondary-navigation/ds-secondary-navigation.js +6 -6
- package/dist/esm/components/ds-secondary-navigation/styles/common.styles.js +290 -0
- package/dist/esm/components/ds-skeleton/styles/common.styles.js +38 -0
- package/dist/esm/components/ds-stepper/styles/common.styles.js +58 -0
- package/dist/esm/components/ds-table/styles/common.styles.js +35 -0
- package/dist/esm/components/ds-table-cell/styles/common.styles.js +39 -0
- package/dist/esm/components/ds-table-row/styles/common.styles.js +8 -0
- package/dist/esm/components/ds-theme-provider/ds-theme-provider.js +1 -1
- package/dist/esm/components/ds-toast-message/styles/common.styles.js +136 -0
- package/dist/esm/decorators/customUiKitElement.js +1 -1
- package/dist/esm/utils/IconsManager.js +1 -1
- package/dist/esm/utils/PubSub.js +1 -1
- package/dist/esm/utils/StylesRegistry/StylesRegistry.js +1 -1
- package/dist/esm/utils/version.js +1 -1
- package/dist/types/components/ds-breadcrumbs/ds-breadcrumbs.d.ts +1 -0
- package/dist/types/components/ds-breadcrumbs/styles/common.styles.d.ts +1 -0
- package/dist/types/components/ds-breadcrumbs-item/ds-breadcrumbs-item.d.ts +1 -0
- package/dist/types/components/ds-breadcrumbs-item/styles/common.styles.d.ts +1 -0
- package/dist/types/components/ds-icon/Icons.type.d.ts +1 -1
- package/dist/types/components/ds-icon/iconNames.d.ts +1 -1
- package/dist/types/components/ds-password-input/ds-password-input.d.ts +1 -0
- package/dist/types/components/ds-password-input/styles/common.styles.d.ts +1 -0
- package/dist/types/components/ds-secondary-navigation/ds-secondary-navigation.d.ts +1 -0
- package/dist-react/cjs/components/ds-avatar/styles/common.styles.cjs +117 -0
- package/dist-react/cjs/components/ds-badge/styles/common.styles.cjs +42 -0
- package/dist-react/cjs/components/ds-breadcrumbs/ds-breadcrumbs.cjs +2 -2
- package/dist-react/cjs/components/ds-breadcrumbs/styles/common.styles.cjs +107 -0
- package/dist-react/cjs/components/ds-breadcrumbs-item/ds-breadcrumbs-item.cjs +2 -2
- package/dist-react/cjs/components/ds-breadcrumbs-item/styles/common.styles.cjs +72 -0
- package/dist-react/cjs/components/ds-calendar/styles/common.styles.cjs +88 -0
- package/dist-react/cjs/components/ds-calendar-day/styles/common.styles.cjs +78 -0
- package/dist-react/cjs/components/ds-carousel-indicator/styles/common.styles.cjs +50 -0
- package/dist-react/cjs/components/ds-checkbox-group/styles/common.styles.cjs +87 -0
- package/dist-react/cjs/components/ds-icon/iconNames.cjs +1 -1
- package/dist-react/cjs/components/ds-icon-button-group/styles/common.styles.cjs +9 -0
- package/dist-react/cjs/components/ds-interactive-card/styles/common.styles.cjs +214 -0
- package/dist-react/cjs/components/ds-list/styles/common.styles.cjs +37 -0
- package/dist-react/cjs/components/ds-main-title/styles/common.styles.cjs +58 -0
- package/dist-react/cjs/components/ds-media-control/styles/common.styles.cjs +4 -0
- package/dist-react/cjs/components/ds-navigation-controls/styles/common.styles.cjs +23 -0
- package/dist-react/cjs/components/ds-password-input/ds-password-input.cjs +2 -2
- package/dist-react/cjs/components/ds-password-input/styles/common.styles.cjs +8 -0
- package/dist-react/cjs/components/ds-picker-item/styles/common.styles.cjs +175 -0
- package/dist-react/cjs/components/ds-radio-button/styles/common.styles.cjs +178 -0
- package/dist-react/cjs/components/ds-radio-button-group/styles/common.styles.cjs +87 -0
- package/dist-react/cjs/components/ds-rating/styles/common.styles.cjs +24 -0
- package/dist-react/cjs/components/ds-secondary-navigation/ds-secondary-navigation.cjs +3 -3
- package/dist-react/cjs/components/ds-secondary-navigation/styles/common.styles.cjs +290 -0
- package/dist-react/cjs/components/ds-skeleton/styles/common.styles.cjs +38 -0
- package/dist-react/cjs/components/ds-stepper/styles/common.styles.cjs +58 -0
- package/dist-react/cjs/components/ds-table/styles/common.styles.cjs +35 -0
- package/dist-react/cjs/components/ds-table-cell/styles/common.styles.cjs +39 -0
- package/dist-react/cjs/components/ds-table-row/styles/common.styles.cjs +8 -0
- package/dist-react/cjs/components/ds-theme-provider/ds-theme-provider.cjs +1 -1
- package/dist-react/cjs/components/ds-toast-message/styles/common.styles.cjs +136 -0
- package/dist-react/cjs/decorators/customUiKitElement.cjs +1 -1
- package/dist-react/cjs/utils/IconsManager.cjs +1 -1
- package/dist-react/cjs/utils/PubSub.cjs +1 -1
- package/dist-react/cjs/utils/StylesRegistry/StylesRegistry.cjs +1 -1
- package/dist-react/cjs/utils/version.cjs +1 -1
- package/dist-react/esm/components/ds-avatar/styles/common.styles.js +117 -0
- package/dist-react/esm/components/ds-badge/styles/common.styles.js +42 -0
- package/dist-react/esm/components/ds-breadcrumbs/ds-breadcrumbs.js +8 -7
- package/dist-react/esm/components/ds-breadcrumbs/styles/common.styles.js +112 -0
- package/dist-react/esm/components/ds-breadcrumbs-item/ds-breadcrumbs-item.js +6 -5
- package/dist-react/esm/components/ds-breadcrumbs-item/styles/common.styles.js +77 -0
- package/dist-react/esm/components/ds-calendar/styles/common.styles.js +88 -0
- package/dist-react/esm/components/ds-calendar-day/styles/common.styles.js +78 -0
- package/dist-react/esm/components/ds-carousel-indicator/styles/common.styles.js +50 -0
- package/dist-react/esm/components/ds-checkbox-group/styles/common.styles.js +87 -0
- package/dist-react/esm/components/ds-icon/iconNames.js +1 -1
- package/dist-react/esm/components/ds-icon-button-group/styles/common.styles.js +9 -0
- package/dist-react/esm/components/ds-interactive-card/styles/common.styles.js +214 -0
- package/dist-react/esm/components/ds-list/styles/common.styles.js +37 -0
- package/dist-react/esm/components/ds-main-title/styles/common.styles.js +58 -0
- package/dist-react/esm/components/ds-media-control/styles/common.styles.js +4 -0
- package/dist-react/esm/components/ds-navigation-controls/styles/common.styles.js +23 -0
- package/dist-react/esm/components/ds-password-input/ds-password-input.js +5 -4
- package/dist-react/esm/components/ds-password-input/styles/common.styles.js +13 -0
- package/dist-react/esm/components/ds-picker-item/styles/common.styles.js +175 -0
- package/dist-react/esm/components/ds-radio-button/styles/common.styles.js +178 -0
- package/dist-react/esm/components/ds-radio-button-group/styles/common.styles.js +87 -0
- package/dist-react/esm/components/ds-rating/styles/common.styles.js +24 -0
- package/dist-react/esm/components/ds-secondary-navigation/ds-secondary-navigation.js +6 -6
- package/dist-react/esm/components/ds-secondary-navigation/styles/common.styles.js +290 -0
- package/dist-react/esm/components/ds-skeleton/styles/common.styles.js +38 -0
- package/dist-react/esm/components/ds-stepper/styles/common.styles.js +58 -0
- package/dist-react/esm/components/ds-table/styles/common.styles.js +35 -0
- package/dist-react/esm/components/ds-table-cell/styles/common.styles.js +39 -0
- package/dist-react/esm/components/ds-table-row/styles/common.styles.js +8 -0
- package/dist-react/esm/components/ds-theme-provider/ds-theme-provider.js +1 -1
- package/dist-react/esm/components/ds-toast-message/styles/common.styles.js +136 -0
- package/dist-react/esm/decorators/customUiKitElement.js +1 -1
- package/dist-react/esm/utils/IconsManager.js +1 -1
- package/dist-react/esm/utils/PubSub.js +1 -1
- package/dist-react/esm/utils/StylesRegistry/StylesRegistry.js +1 -1
- package/dist-react/esm/utils/version.js +1 -1
- package/dist-react/types/components/ds-breadcrumbs/ds-breadcrumbs.d.ts +1 -0
- package/dist-react/types/components/ds-breadcrumbs/styles/common.styles.d.ts +1 -0
- package/dist-react/types/components/ds-breadcrumbs-item/ds-breadcrumbs-item.d.ts +1 -0
- package/dist-react/types/components/ds-breadcrumbs-item/styles/common.styles.d.ts +1 -0
- package/dist-react/types/components/ds-icon/Icons.type.d.ts +1 -1
- package/dist-react/types/components/ds-icon/iconNames.d.ts +1 -1
- package/dist-react/types/components/ds-password-input/ds-password-input.d.ts +1 -0
- package/dist-react/types/components/ds-password-input/styles/common.styles.d.ts +1 -0
- package/dist-react/types/components/ds-secondary-navigation/ds-secondary-navigation.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,4 +2,294 @@ const e=require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_mo
|
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.ds-blur {
|
|
7
|
+
position: relative;
|
|
8
|
+
isolation: isolate;
|
|
9
|
+
overflow: visible;
|
|
10
|
+
background: transparent;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ds-blur::before {
|
|
14
|
+
content: '';
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
position: absolute;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
background: var(--ui-kit-private-blur-background);
|
|
22
|
+
backdrop-filter: blur(var(--ui-kit-private-blur-size));
|
|
23
|
+
border-radius: var(--ui-kit-private-blur-border-radius, inherit);
|
|
24
|
+
border: var(--ui-kit-private-blur-border, inherit);
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
z-index: -1;
|
|
27
|
+
will-change: filter;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host {
|
|
31
|
+
--ui-kit-private-secondary-navigation-container-height: 58px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.container {
|
|
35
|
+
position: relative;
|
|
36
|
+
margin: 0 auto;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.nav {
|
|
45
|
+
position: relative;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: var(--ui-kit-private-secondary-navigation-container-height);
|
|
48
|
+
display: flex;
|
|
49
|
+
padding: var(--ds-spacing-s-5);
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: var(--ds-spacing-m-1);
|
|
53
|
+
max-width: 100%;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
pointer-events: auto;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.nav::before {
|
|
59
|
+
border-radius: var(--ds-border-radius-s);
|
|
60
|
+
border: var(--ds-border-width-m) solid var(--ds-color-border-default);
|
|
61
|
+
--ui-kit-private-blur-background: var(--ds-color-surface-container-hover);
|
|
62
|
+
--ui-kit-private-blur-size: 40px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.gutter {
|
|
66
|
+
padding: 0 var(--ds-spacing-s-5);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (min-width: 480px) {
|
|
70
|
+
.gutter {
|
|
71
|
+
padding: 0 var(--ds-spacing-m-1);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (min-width: 768px) {
|
|
76
|
+
.gutter {
|
|
77
|
+
padding: 0 var(--ds-spacing-m-2);
|
|
78
|
+
}
|
|
79
|
+
.nav {
|
|
80
|
+
flex-wrap: wrap;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (min-width: 1024px) {
|
|
85
|
+
.gutter {
|
|
86
|
+
padding: 0;
|
|
87
|
+
max-width: 1375px;
|
|
88
|
+
}
|
|
89
|
+
.nav {
|
|
90
|
+
width: auto;
|
|
91
|
+
flex-wrap: nowrap;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media (min-width: 1440px) {
|
|
96
|
+
:host {
|
|
97
|
+
--ui-kit-private-secondary-navigation-container-height: 66px;
|
|
98
|
+
}
|
|
99
|
+
.gutter {
|
|
100
|
+
max-width: 1360px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@media (min-width: 1920px) {
|
|
105
|
+
.gutter {
|
|
106
|
+
max-width: 1824px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.items-container {
|
|
111
|
+
flex: 1 1 auto;
|
|
112
|
+
overflow-x: auto;
|
|
113
|
+
display: flex;
|
|
114
|
+
min-width: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.scroll-left .items-container {
|
|
118
|
+
mask-image: linear-gradient(
|
|
119
|
+
to left,
|
|
120
|
+
rgba(0, 0, 0, 1) 0%,
|
|
121
|
+
rgba(0, 0, 0, 1) 80%,
|
|
122
|
+
rgba(0, 0, 0, 0.5) 95%,
|
|
123
|
+
rgba(0, 0, 0, 0) 100%
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.scroll-right .items-container {
|
|
128
|
+
mask-image: linear-gradient(
|
|
129
|
+
to right,
|
|
130
|
+
rgba(0, 0, 0, 1) 0%,
|
|
131
|
+
rgba(0, 0, 0, 1) 80%,
|
|
132
|
+
rgba(0, 0, 0, 0.5) 95%,
|
|
133
|
+
rgba(0, 0, 0, 0) 100%
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.scroll-left.scroll-right .items-container {
|
|
138
|
+
mask-image: linear-gradient(
|
|
139
|
+
to right,
|
|
140
|
+
rgba(0, 0, 0, 0) 0%,
|
|
141
|
+
rgba(0, 0, 0, 0.5) 5%,
|
|
142
|
+
rgba(0, 0, 0, 1) 10%,
|
|
143
|
+
rgba(0, 0, 0, 1) 80%,
|
|
144
|
+
rgba(0, 0, 0, 0.5) 95%,
|
|
145
|
+
rgba(0, 0, 0, 0) 100%
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.items-container::-webkit-scrollbar {
|
|
150
|
+
display: none;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.items-container div {
|
|
154
|
+
display: flex;
|
|
155
|
+
text-transform: var(--ui-kit-secondary-navigation-text-transform);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
::slotted([slot='items']) {
|
|
159
|
+
width: auto;
|
|
160
|
+
max-width: 300px;
|
|
161
|
+
-webkit-box-orient: vertical;
|
|
162
|
+
-webkit-line-clamp: 1;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
color: var(--ds-color-text-default) !important;
|
|
165
|
+
text-align: center;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
font-family: var(--ds-typography-family-primary);
|
|
168
|
+
font-size: var(--ds-typography-size-body-l);
|
|
169
|
+
font-style: normal;
|
|
170
|
+
font-weight: 400;
|
|
171
|
+
line-height: var(--ds-typography-height-body-l);
|
|
172
|
+
letter-spacing: var(--ds-typography-letter-spacing-m);
|
|
173
|
+
text-decoration: none;
|
|
174
|
+
display: inline-flex;
|
|
175
|
+
padding: var(--ds-spacing-s-5) var(--ds-spacing-m-1);
|
|
176
|
+
align-items: center;
|
|
177
|
+
border-radius: var(--ds-border-radius-xs);
|
|
178
|
+
border: none;
|
|
179
|
+
background: transparent;
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
flex: 0 0 auto;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
::slotted([slot='items']:hover) {
|
|
185
|
+
color: var(--ds-color-text-default-subtle);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
::slotted([slot='items'].selected) {
|
|
189
|
+
border: var(--ds-border-width-m) solid var(--ds-color-border-selected-subtle);
|
|
190
|
+
background: var(--ds-color-surface-container-active);
|
|
191
|
+
color: var(--ds-color-text-selected-subtle) !important;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
:host a:-webkit-any-link {
|
|
195
|
+
all: unset;
|
|
196
|
+
color: -webkit-link;
|
|
197
|
+
text-decoration: underline;
|
|
198
|
+
cursor: auto;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
@media (min-width: 768px) {
|
|
202
|
+
::slotted([slot='items']) {
|
|
203
|
+
padding: var(--ds-spacing-s-5) var(--ds-spacing-m-1);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@media (min-width: 1440px) {
|
|
208
|
+
::slotted([slot='items']) {
|
|
209
|
+
padding: var(--ds-spacing-m-1);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.actions-container {
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
gap: var(--ds-spacing-m-1);
|
|
217
|
+
flex: 0 0 auto;
|
|
218
|
+
text-overflow: ellipsis;
|
|
219
|
+
text-transform: var(--ui-kit-secondary-navigation-text-transform);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (min-width: 0px) {
|
|
223
|
+
.nav {
|
|
224
|
+
gap: var(--ds-spacing-s-4);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.dropdown-container {
|
|
229
|
+
display: none;
|
|
230
|
+
position: absolute;
|
|
231
|
+
box-sizing: border-box;
|
|
232
|
+
width: 100%;
|
|
233
|
+
z-index: var(--ds-z-index-context-menu);
|
|
234
|
+
left: 0;
|
|
235
|
+
bottom: calc(var(--ui-kit-private-secondary-navigation-container-height) + var(--ds-spacing-s-5));
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.dropdown-container.open {
|
|
239
|
+
display: flex;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.dropdown {
|
|
243
|
+
width: 100%;
|
|
244
|
+
display: flex;
|
|
245
|
+
padding: var(--ds-spacing-s-5);
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
gap: var(--ds-spacing-m-1);
|
|
248
|
+
align-self: stretch;
|
|
249
|
+
border-radius: var(--ds-border-radius-s);
|
|
250
|
+
border: var(--ds-border-width-m) solid var(--ds-color-border-default);
|
|
251
|
+
max-height: 75dvh;
|
|
252
|
+
overflow-y: scroll;
|
|
253
|
+
text-transform: var(--ui-kit-secondary-navigation-text-transform);
|
|
254
|
+
|
|
255
|
+
--ui-kit-private-blur-background: var(--ds-color-surface-container-hover);
|
|
256
|
+
--ui-kit-private-blur-size: 40px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.items-dropdown,
|
|
260
|
+
.actions-dropdown {
|
|
261
|
+
pointer-events: auto;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.items-dropdown.open .dropdown {
|
|
265
|
+
align-items: flex-start;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.actions-dropdown.open .dropdown {
|
|
269
|
+
justify-content: flex-end;
|
|
270
|
+
align-items: flex-end;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.dropdown-backdrop {
|
|
274
|
+
position: fixed;
|
|
275
|
+
top: 0;
|
|
276
|
+
left: 0;
|
|
277
|
+
right: 0;
|
|
278
|
+
bottom: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.items-dropdown-button {
|
|
282
|
+
--ui-kit-button-background: var(--ds-dropdown-select-bg-color-default);
|
|
283
|
+
--ui-kit-button-background-hover: var(--ds-dropdown-select-bg-color-hover);
|
|
284
|
+
--ui-kit-button-background-focus: var(--ds-dropdown-select-bg-color-focus);
|
|
285
|
+
--ui-kit-button-background-active: var(--ds-dropdown-select-bg-color-pressed);
|
|
286
|
+
--ui-kit-button-color: var(--ds-dropdown-select-text-color-input-default);
|
|
287
|
+
--ui-kit-button-color-hover: var(--ds-icon-button-icon-color-secondary-hover);
|
|
288
|
+
--ui-kit-button-border-color: var(--ds-dropdown-select-border-color-default);
|
|
289
|
+
--ui-kit-button-border-color-hover: var(--ds-icon-button-border-color-secondary-hover);
|
|
290
|
+
--ui-kit-button-border-color-active: var(--ds-dropdown-select-border-color-pressed);
|
|
291
|
+
--ui-kit-button-border-width: var(--ds-border-width-m);
|
|
292
|
+
--ui-kit-button-font-weight: var(--ds-typography-weight-body-primary);
|
|
293
|
+
--ui-kit-button-text-transform: none;
|
|
294
|
+
}
|
|
5
295
|
`;exports.commonStyles=t;
|
|
@@ -2,4 +2,42 @@ const e=require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_mo
|
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.skeleton {
|
|
7
|
+
position: relative;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
background: linear-gradient(
|
|
10
|
+
90deg,
|
|
11
|
+
var(--ds-color-surface-skeleton-start) 0%,
|
|
12
|
+
var(--ds-color-surface-skeleton-mid) 50%,
|
|
13
|
+
var(--ds-color-surface-skeleton-end) 100%
|
|
14
|
+
);
|
|
15
|
+
background-size: 200% 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.skeleton.variant-text {
|
|
19
|
+
height: 16px;
|
|
20
|
+
border-radius: var(--ds-border-radius-04);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.skeleton.variant-circular {
|
|
24
|
+
border-radius: var(--ds-border-radius-full);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.skeleton.variant-rectangular {
|
|
28
|
+
border-radius: var(--ds-border-radius-00);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.skeleton.animation-shimmer {
|
|
32
|
+
animation: shimmer 1.5s ease-in-out infinite;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@keyframes shimmer {
|
|
36
|
+
0% {
|
|
37
|
+
background-position: 200% 0;
|
|
38
|
+
}
|
|
39
|
+
100% {
|
|
40
|
+
background-position: -200% 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
5
43
|
`;exports.commonStyles=t;
|
|
@@ -2,4 +2,62 @@ const e=require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_mo
|
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.container {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
width: 100%;
|
|
10
|
+
gap: var(--ds-spacing-s-5);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.header {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: flex-start;
|
|
16
|
+
gap: var(--ds-spacing-s-5);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.section-name {
|
|
20
|
+
flex: 1 1 auto;
|
|
21
|
+
font-family: var(--ds-typography-family-primary);
|
|
22
|
+
font-size: var(--ds-typography-size-headline-xxs);
|
|
23
|
+
font-weight: var(--ds-typography-weight-headline-secondary);
|
|
24
|
+
line-height: var(--ds-typography-height-headline-xxs);
|
|
25
|
+
letter-spacing: var(--ds-typography-letter-spacing-base);
|
|
26
|
+
color: var(--ds-color-text-default);
|
|
27
|
+
text-transform: uppercase;
|
|
28
|
+
display: -webkit-box;
|
|
29
|
+
-webkit-line-clamp: 2;
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.section-number {
|
|
35
|
+
flex: 0 0 auto;
|
|
36
|
+
font-family: var(--ds-typography-family-primary);
|
|
37
|
+
font-size: var(--ds-typography-size-body-m);
|
|
38
|
+
font-weight: var(--ds-typography-weight-body-secondary);
|
|
39
|
+
line-height: var(--ds-typography-height-body-m);
|
|
40
|
+
letter-spacing: var(--ds-typography-letter-spacing-base);
|
|
41
|
+
color: var(--ds-color-text-default-subtle);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.steps-row {
|
|
45
|
+
display: flex;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 24px;
|
|
48
|
+
padding: var(--ds-spacing-s-1);
|
|
49
|
+
align-items: center;
|
|
50
|
+
gap: var(--ds-spacing-s-5);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.step {
|
|
54
|
+
flex: 1 1 auto;
|
|
55
|
+
height: var(--ds-sizing-04);
|
|
56
|
+
border-radius: var(--ds-border-radius-full);
|
|
57
|
+
background: var(--ds-indicator-bg-color-default);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.step.active {
|
|
61
|
+
background: var(--ds-indicator-bg-color-active-primary);
|
|
62
|
+
}
|
|
5
63
|
`;exports.commonStyles=t;
|
|
@@ -2,4 +2,39 @@ const e=require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_mo
|
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.table-wrapper {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-columns: var(
|
|
9
|
+
--ui-kit-table-row-grid-template-columns,
|
|
10
|
+
var(--ui-kit-private-table-grid-template-columns-default)
|
|
11
|
+
);
|
|
12
|
+
grid-auto-flow: row;
|
|
13
|
+
grid-auto-columns: 1fr;
|
|
14
|
+
width: 100%;
|
|
15
|
+
border-radius: var(--ds-border-radius-s);
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
border: 1px solid var(--ds-color-border-default-subtle);
|
|
18
|
+
background-color: var(--ds-color-bg-default);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.header {
|
|
22
|
+
display: contents;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.body {
|
|
26
|
+
display: contents;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.empty-state {
|
|
30
|
+
grid-column: 1 / -1;
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
padding: var(--ds-sizing-24);
|
|
35
|
+
font-family: var(--ds-typography-family-primary);
|
|
36
|
+
font-size: var(--ds-typography-size-body-l);
|
|
37
|
+
line-height: var(--ds-typography-height-body-s);
|
|
38
|
+
color: var(--ds-color-text-subtle);
|
|
39
|
+
}
|
|
5
40
|
`;exports.commonStyles=t;
|
|
@@ -3,4 +3,43 @@ const e=require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_mo
|
|
|
3
3
|
display: table-cell;
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
}
|
|
6
|
+
|
|
7
|
+
:host {
|
|
8
|
+
display: contents;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.cell {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
gap: var(--ds-sizing-08);
|
|
15
|
+
padding: var(--ds-sizing-12);
|
|
16
|
+
font-family: var(--ds-typography-family-primary);
|
|
17
|
+
font-size: var(--ds-typography-size-body-l);
|
|
18
|
+
line-height: var(--ds-typography-height-body-l);
|
|
19
|
+
letter-spacing: var(--ds-typography-letter-spacing-base);
|
|
20
|
+
color: var(--ds-color-text-default);
|
|
21
|
+
border-top: 1px solid var(--ds-color-border-default-subtle);
|
|
22
|
+
border-left: 1px solid var(--ds-color-border-default-subtle);
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host(:first-child) .cell {
|
|
27
|
+
border-left: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([variant='header']) .cell {
|
|
31
|
+
background-color: var(--ds-color-bg-default);
|
|
32
|
+
font-weight: var(--ds-typography-weight-body-primary);
|
|
33
|
+
border-top: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([variant='default']) .cell {
|
|
37
|
+
background-color: var(--ds-color-surface-default-subtlest);
|
|
38
|
+
font-weight: var(--ds-typography-weight-body-tertiary);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host([variant='alternative']) .cell {
|
|
42
|
+
background-color: var(--ds-color-surface-default-subtle);
|
|
43
|
+
font-weight: var(--ds-typography-weight-body-tertiary);
|
|
44
|
+
}
|
|
6
45
|
`;exports.commonStyles=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const e=require("../../node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/provide.cjs"),t=require("./themeContext.cjs");require("../../core/theme.constants.cjs");const n=require("../../utils/PubSub.cjs"),r=require("../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs"),i=require("../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");require("../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/index.cjs");const a=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.cjs"),o=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.cjs");require("../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/decorators.cjs");const s=require("../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.cjs"),c=require("../../decorators/customUiKitElement.cjs"),l=require("../../utils/booleanConverter.cjs"),u=require("../../styles/source/shared/fonts-config.cjs");var d=class extends i.i{constructor(...e){super(...e),this.loadFonts=!0,this.loadStyles=!0,this.loadUnusedStyles=!0,this.cssLoaded=!1,this.loadedFonts=new Set}updated(e){if(super.updated(e),e.has(`theme`)){var t,r;n.pubSub.publish(`theme`,this.theme),(t=sessionStorage)==null||t.setItem(`@cupra/ui-kit/theme`,this.theme),typeof FontFace<`u`&&(r=document)!=null&&r.fonts&&this.loadThemeFonts(),this.loadThemeStyles().then(()=>{this.cssLoaded=!0,this.dispatchEvent(new CustomEvent(`ui-kit:ready`,{bubbles:!0,composed:!0}))})}}loadThemeFonts(){var e;(e=u.fontsConfig[this.theme])==null||e.fonts.forEach(e=>{this.loadThemeFont(e)})}async loadThemeFont({weight:e,name:t,file:n}){if(!this.loadFonts)return Promise.resolve();let r=`${t}-${e}`;if(this.loadedFonts.has(r))return;let i=new FontFace(t,`url('https://ds-assets.cupra.com/fonts/${this.theme}/${n}.woff2') format('woff2'),
|
|
2
2
|
url('https://ds-assets.cupra.com/fonts/${this.theme}/${n}.woff') format('woff'),
|
|
3
3
|
url('https://ds-assets.cupra.com/fonts/${this.theme}/${n}.ttf') format('truetype'),
|
|
4
|
-
url('https://ds-assets.cupra.com/fonts/${this.theme}/${n}.otf') format('opentype')`,{style:`normal`,weight:e,display:`optional`});try{await i.load(),document.fonts.add(i),this.loadedFonts.add(r)}catch(n){console.error(`Error loading "${t}" font with "${e}" weight:`,n)}}loadThemeStyles(){let e=`/2.0.0-canary.
|
|
4
|
+
url('https://ds-assets.cupra.com/fonts/${this.theme}/${n}.otf') format('opentype')`,{style:`normal`,weight:e,display:`optional`});try{await i.load(),document.fonts.add(i),this.loadedFonts.add(r)}catch(n){console.error(`Error loading "${t}" font with "${e}" weight:`,n)}}loadThemeStyles(){let e=`/2.0.0-canary.182`;return this.loadUnusedStyles&&this.applyUnusedStyles(e),this.loadStyles?new Promise((t,n)=>{let r=`https://ds-assets.cupra.com${e}/styles/${this.theme}/theme.css`;if(document.head.querySelector(`link[href="${r}"]`))t();else{let i=`ui-kit-theme-${e}`,a=document.getElementById(i),o=document.createElement(`link`);o.id=i,o.rel=`stylesheet`,o.href=r,o.onload=()=>t(),o.onerror=()=>n(Error(`Failed to load theme CSS: ${r}`)),document.head.appendChild(o),a==null||a.remove()}}):Promise.resolve()}applyUnusedStyles(e){let t=`https://ds-assets.cupra.com${e}/styles/${this.theme}/unused-styles.css`;if(document.head.querySelector(`link[href="${t}"]`))return;let n=`ui-kit-unused-styles-${e}`,r=document.getElementById(n),i=document.createElement(`link`);i.id=n,i.rel=`preload`,i.as=`style`,i.href=t,i.onload=()=>{i.rel=`stylesheet`},document.head.appendChild(i),r==null||r.remove()}render(){return this.cssLoaded?r.x`<slot></slot>`:r.E}};s.__decorate([a.n({type:Boolean,converter:l.booleanConverter,attribute:`load-fonts`})],d.prototype,`loadFonts`,void 0),s.__decorate([a.n({type:Boolean,converter:l.booleanConverter,attribute:`load-styles`})],d.prototype,`loadStyles`,void 0),s.__decorate([a.n({type:Boolean,converter:l.booleanConverter,attribute:`load-unused-styles`})],d.prototype,`loadUnusedStyles`,void 0),s.__decorate([e.e({context:t.themeContext}),a.n({type:String})],d.prototype,`theme`,void 0),s.__decorate([o.r()],d.prototype,`cssLoaded`,void 0),s.__decorate([o.r()],d.prototype,`loadedFonts`,void 0),d=s.__decorate([c.customUiKitElement(`ds-theme-provider`)],d);
|
|
@@ -2,4 +2,140 @@ const e=require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_mo
|
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.container {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
width: auto;
|
|
11
|
+
min-width: 288px;
|
|
12
|
+
max-width: 317px;
|
|
13
|
+
padding: var(--ds-spacing-m-1);
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
gap: var(--ds-spacing-s-5);
|
|
16
|
+
border-radius: var(--ds-border-radius-m);
|
|
17
|
+
border-width: var(--ds-border-width-l);
|
|
18
|
+
border-style: solid;
|
|
19
|
+
border-color: var(--ds-color-border-selected);
|
|
20
|
+
background: var(--ds-card-bg-color-default);
|
|
21
|
+
box-shadow: 0px 4px 4px 0px var(--ds-opacity-black-20);
|
|
22
|
+
backdrop-filter: blur(60px);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.container.warning {
|
|
26
|
+
border-color: var(--ds-color-border-feedback-warning);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.container.info {
|
|
30
|
+
border-color: var(--ds-color-border-feedback-info);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.container.error {
|
|
34
|
+
border-color: var(--ds-color-border-feedback-error);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.container.success {
|
|
38
|
+
border-color: var(--ds-color-border-feedback-success);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.icon {
|
|
42
|
+
--ui-kit-icon-color: var(--ds-color-border-selected);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.container.warning .icon {
|
|
46
|
+
--ui-kit-icon-color: var(--ds-color-border-feedback-warning);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.container.info .icon {
|
|
50
|
+
--ui-kit-icon-color: var(--ds-color-border-feedback-info);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.container.error .icon {
|
|
54
|
+
--ui-kit-icon-color: var(--ds-color-border-feedback-error);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.container.success .icon {
|
|
58
|
+
--ui-kit-icon-color: var(--ds-color-border-feedback-success);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.content {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex: 1 1 auto;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
align-items: flex-start;
|
|
66
|
+
gap: 8px;
|
|
67
|
+
align-self: stretch;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.header {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
align-items: flex-start;
|
|
74
|
+
gap: var(--ds-spacing-s-3);
|
|
75
|
+
align-self: stretch;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.title {
|
|
79
|
+
color: var(--ds-color-text-default);
|
|
80
|
+
font-family: var(--ds-typography-family-primary);
|
|
81
|
+
font-size: var(--ds-typography-size-headline-xs);
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
line-height: var(--ds-typography-height-headline-xs);
|
|
85
|
+
letter-spacing: var(--ds-typography-letter-spacing-m);
|
|
86
|
+
display: -webkit-box;
|
|
87
|
+
-webkit-box-orient: vertical;
|
|
88
|
+
-webkit-line-clamp: 2;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.message {
|
|
93
|
+
color: var(--ds-color-text-default);
|
|
94
|
+
font-family: var(--ds-typography-family-primary);
|
|
95
|
+
font-size: var(--ds-typography-size-body-m);
|
|
96
|
+
font-style: normal;
|
|
97
|
+
font-weight: 350;
|
|
98
|
+
line-height: var(--ds-typography-height-body-m);
|
|
99
|
+
letter-spacing: var(--ds-typography-letter-spacing-m);
|
|
100
|
+
display: -webkit-box;
|
|
101
|
+
-webkit-box-orient: vertical;
|
|
102
|
+
-webkit-line-clamp: 4;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
text-align: left;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@media (min-width: 480px) {
|
|
108
|
+
.container {
|
|
109
|
+
min-width: 318px;
|
|
110
|
+
max-width: 456px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (min-width: 768px) {
|
|
115
|
+
.container {
|
|
116
|
+
min-width: 457px;
|
|
117
|
+
max-width: 463px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media (min-width: 1024px) {
|
|
122
|
+
.container {
|
|
123
|
+
min-width: 464px;
|
|
124
|
+
max-width: 547px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@media (min-width: 1440px) {
|
|
129
|
+
.container {
|
|
130
|
+
min-width: 548px;
|
|
131
|
+
max-width: 575px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (min-width: 1920px) {
|
|
136
|
+
.container {
|
|
137
|
+
min-width: 576px;
|
|
138
|
+
max-width: 732px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
5
141
|
`;exports.toastMessageStyles=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("../utils/version.cjs");function t(t,n){return function(r){var i,a,o,s;if(!(r!=null&&r.prototype))throw TypeError(`@customUiKitElement requires a class that extends HTMLElement.`);let c=`${t}${e.VERSION_TAG_SUFFIX}`;if(!((i=globalThis)==null||(i=i.customElements)==null)&&i.get(c))return;let l=n!=null&&n.skipTagAsComponentName?[]:[t];Array.isArray(n==null?void 0:n.extendComponentNames)&&(l=[...n.extendComponentNames,...l]),(a=globalThis)==null||(a=a.customElements)==null||(o=a.define)==null||o.call(a,c,(s=class extends r{connectedCallback(){var e;(e=r.prototype.connectedCallback)==null||e.call(this),this.setAttribute(`data-ui-kit-version`,`2.0.0-canary.
|
|
1
|
+
const e=require("../utils/version.cjs");function t(t,n){return function(r){var i,a,o,s;if(!(r!=null&&r.prototype))throw TypeError(`@customUiKitElement requires a class that extends HTMLElement.`);let c=`${t}${e.VERSION_TAG_SUFFIX}`;if(!((i=globalThis)==null||(i=i.customElements)==null)&&i.get(c))return;let l=n!=null&&n.skipTagAsComponentName?[]:[t];Array.isArray(n==null?void 0:n.extendComponentNames)&&(l=[...n.extendComponentNames,...l]),(a=globalThis)==null||(a=a.customElements)==null||(o=a.define)==null||o.call(a,c,(s=class extends r{connectedCallback(){var e;(e=r.prototype.connectedCallback)==null||e.call(this),this.setAttribute(`data-ui-kit-version`,`2.0.0-canary.182`)}},s.componentName=l,s))}}exports.customUiKitElement=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("../core/theme.constants.cjs"),t=require("./PubSub.cjs");var n=class{constructor(){this.icons={},this.handleChangeTheme=e=>{if(this.theme===e)return;this.theme=e;let t=Object.keys(this.icons);this.icons={},t.forEach(e=>this.fetchIcon(e))},this.fetchIcon=async(t,n={})=>{var r;let i=typeof sessionStorage<`u`?(r=sessionStorage)==null?void 0:r.getItem(e.THEME_STORAGE_KEY):null;!this.theme&&i&&(this.theme=i);let a=this.icons[t];if(a)return await a;let o=this.loadIcon(t,n).catch(e=>{throw delete this.icons[t],e});return this.icons[t]=o,o},this.loadIcon=(e,{cache:t=`force-cache`,...n})=>!this.theme||typeof fetch>`u`?Promise.resolve(`<svg class="ds-icon"></svg>`):fetch(`https://ds-assets.cupra.com/icons/${this.theme}/${e}.svg`,{cache:t,...n}).then(e=>e.text()).catch(t=>{if((t==null?void 0:t.name)===`AbortError`)throw t;return console.error(`Failed to fetch icon "${e}":`,t),``}),t.pubSub.subscribe(`theme`,this.handleChangeTheme)}},r=Symbol.for(`@cupra/ui-kit/icons-manager/2.0.0-canary.
|
|
1
|
+
const e=require("../core/theme.constants.cjs"),t=require("./PubSub.cjs");var n=class{constructor(){this.icons={},this.handleChangeTheme=e=>{if(this.theme===e)return;this.theme=e;let t=Object.keys(this.icons);this.icons={},t.forEach(e=>this.fetchIcon(e))},this.fetchIcon=async(t,n={})=>{var r;let i=typeof sessionStorage<`u`?(r=sessionStorage)==null?void 0:r.getItem(e.THEME_STORAGE_KEY):null;!this.theme&&i&&(this.theme=i);let a=this.icons[t];if(a)return await a;let o=this.loadIcon(t,n).catch(e=>{throw delete this.icons[t],e});return this.icons[t]=o,o},this.loadIcon=(e,{cache:t=`force-cache`,...n})=>!this.theme||typeof fetch>`u`?Promise.resolve(`<svg class="ds-icon"></svg>`):fetch(`https://ds-assets.cupra.com/icons/${this.theme}/${e}.svg`,{cache:t,...n}).then(e=>e.text()).catch(t=>{if((t==null?void 0:t.name)===`AbortError`)throw t;return console.error(`Failed to fetch icon "${e}":`,t),``}),t.pubSub.subscribe(`theme`,this.handleChangeTheme)}},r=Symbol.for(`@cupra/ui-kit/icons-manager/2.0.0-canary.182`),i=globalThis,a=i[r];a||(a=new n,Object.defineProperty(i,r,{value:a,writable:!1,configurable:!1,enumerable:!1}));var o=a;exports.iconsManager=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=class{constructor(){this.subscribers={},this.lastPublishedData={}}subscribe(e,t){return this.subscribers[e]||(this.subscribers[e]=[]),this.subscribers[e].push(t),this.lastPublishedData[e]}unsubscribe(e,t){this.subscribers[e]&&(this.subscribers[e]=this.subscribers[e].filter(e=>e!==t))}publish(e,t){this.lastPublishedData[e]=t,this.subscribers[e]&&this.subscribers[e].forEach(n=>{try{n(t)}catch(t){console.error(`Error in subscriber for event "${e}":`,t)}})}},t=Symbol.for(`@cupra/ui-kit/pubsub/2.0.0-canary.
|
|
1
|
+
var e=class{constructor(){this.subscribers={},this.lastPublishedData={}}subscribe(e,t){return this.subscribers[e]||(this.subscribers[e]=[]),this.subscribers[e].push(t),this.lastPublishedData[e]}unsubscribe(e,t){this.subscribers[e]&&(this.subscribers[e]=this.subscribers[e].filter(e=>e!==t))}publish(e,t){this.lastPublishedData[e]=t,this.subscribers[e]&&this.subscribers[e].forEach(n=>{try{n(t)}catch(t){console.error(`Error in subscriber for event "${e}":`,t)}})}},t=Symbol.for(`@cupra/ui-kit/pubsub/2.0.0-canary.182`),n=globalThis,r=n[t];r||(r=new e,Object.defineProperty(n,t,{value:r,writable:!1,configurable:!1,enumerable:!1}));var i=r;exports.pubSub=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=require("../concurrencyLimit.cjs").concurrencyLimit(20),t=class t{constructor(){this.stylePromises=new Map,this.getStyles=async({componentName:t,theme:n})=>{if(!n||!t)return;let r=`https://ds-assets.cupra.com/2.0.0-canary.
|
|
1
|
+
var e=require("../concurrencyLimit.cjs").concurrencyLimit(20),t=class t{constructor(){this.stylePromises=new Map,this.getStyles=async({componentName:t,theme:n})=>{if(!n||!t)return;let r=`https://ds-assets.cupra.com/2.0.0-canary.182/styles/${n}/components/${t}.css`,i=this.getCachedStyleSheetPromise({url:r});if(i)return i;let a=e(()=>this.fetchStyle({url:r})).then(e=>(e||this.stylePromises.delete(r),e));return this.stylePromises.set(r,a),this.stylePromises.get(r)}}async fetchStyle({url:e}){try{if(typeof fetch>`u`)return;let t=await fetch(e,{cache:`force-cache`});if(t.ok)return t.text()}catch(t){console.error(`Failed to fetch Style Sheet "${e}":`,t)}}getCachedStyleSheetPromise({url:e}){return this.stylePromises.get(e)}static getInstance(){return t.instance||(t.instance=new t),t.instance}}.getInstance();exports.stylesRegistry=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=`2.0.0-canary.
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=`2.0.0-canary.182`,t=`--v${e.replaceAll(`.`,`-`)}`;exports.VERSION=e,exports.VERSION_TAG_SUFFIX=t;
|