@sapudex/web-components 2.25.1 → 2.27.0
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/cypress/fixtures/profile-menu.ts +2 -1
- package/cypress/specs/MastheadProfileMenu.cy.tsx +21 -6
- package/cypress/specs/TabNavigation.cy.tsx +1024 -0
- package/cypress/support/component-imports.src.ts +4 -0
- package/dist/List.d.ts +9 -0
- package/dist/List.js +33 -2
- package/dist/List.js.map +1 -1
- package/dist/MastheadCountrySelector.d.ts +11 -0
- package/dist/MastheadCountrySelector.js +71 -14
- package/dist/MastheadCountrySelector.js.map +1 -1
- package/dist/MastheadItem.d.ts +1 -0
- package/dist/MastheadItem.js +9 -1
- package/dist/MastheadItem.js.map +1 -1
- package/dist/MastheadMenu.d.ts +11 -0
- package/dist/MastheadMenu.js +43 -13
- package/dist/MastheadMenu.js.map +1 -1
- package/dist/MastheadProfileMenu.d.ts +33 -3
- package/dist/MastheadProfileMenu.js +93 -5
- package/dist/MastheadProfileMenu.js.map +1 -1
- package/dist/Pagination.d.ts +2 -0
- package/dist/Pagination.js +31 -6
- package/dist/Pagination.js.map +1 -1
- package/dist/PaginationTemplate.js +6 -5
- package/dist/PaginationTemplate.js.map +1 -1
- package/dist/Tab.d.ts +57 -0
- package/dist/Tab.js +67 -0
- package/dist/Tab.js.map +1 -1
- package/dist/TabNavigation.d.ts +25 -3
- package/dist/TabNavigation.js +96 -18
- package/dist/TabNavigation.js.map +1 -1
- package/dist/Tooltip.js +3 -5
- package/dist/Tooltip.js.map +1 -1
- package/dist/TooltipTemplate.d.ts +2 -0
- package/dist/TooltipTemplate.js +7 -0
- package/dist/TooltipTemplate.js.map +1 -0
- package/dist/assets/{InputSuggestions-CTFZ6hH-.js → InputSuggestions-Bm_0fOBQ.js} +1 -1
- package/dist/assets/{ListItemStandardExpandableTextTemplate-wXdCijez.js → ListItemStandardExpandableTextTemplate-CHXlUP-E.js} +1 -1
- package/dist/assets/{bundle.esm-BXCZ9BP3.js → bundle.esm-D_SXCGNu.js} +219 -219
- package/dist/css/themes/MastheadCountrySelector.css +1 -1
- package/dist/css/themes/MastheadItem.css +1 -1
- package/dist/css/themes/MastheadMenu.css +1 -1
- package/dist/css/themes/MastheadMenuItem.css +1 -1
- package/dist/css/themes/MastheadProfileMenu.css +1 -1
- package/dist/css/themes/Quote.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/Slider.css +1 -1
- package/dist/css/themes/TabNavigation.css +1 -1
- package/dist/custom-elements-internal.json +60 -1
- package/dist/custom-elements.json +52 -1
- package/dist/generated/templates/MastheadCountrySelectorTemplate.lit.js +1 -1
- package/dist/generated/templates/MastheadCountrySelectorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadProfileMenuTemplate.lit.js +7 -5
- package/dist/generated/templates/MastheadProfileMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabHeaderTemplate.lit.js +30 -11
- package/dist/generated/templates/TabHeaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabNavigationTemplate.lit.js +8 -6
- package/dist/generated/templates/TabNavigationTemplate.lit.js.map +1 -1
- package/dist/generated/themes/MastheadCountrySelector.css.d.ts +1 -1
- package/dist/generated/themes/MastheadCountrySelector.css.js +1 -1
- package/dist/generated/themes/MastheadCountrySelector.css.js.map +1 -1
- package/dist/generated/themes/MastheadItem.css.d.ts +1 -1
- package/dist/generated/themes/MastheadItem.css.js +1 -1
- package/dist/generated/themes/MastheadItem.css.js.map +1 -1
- package/dist/generated/themes/MastheadMenu.css.d.ts +1 -1
- package/dist/generated/themes/MastheadMenu.css.js +1 -1
- package/dist/generated/themes/MastheadMenu.css.js.map +1 -1
- package/dist/generated/themes/MastheadMenuItem.css.d.ts +1 -1
- package/dist/generated/themes/MastheadMenuItem.css.js +1 -1
- package/dist/generated/themes/MastheadMenuItem.css.js.map +1 -1
- package/dist/generated/themes/MastheadProfileMenu.css.d.ts +1 -1
- package/dist/generated/themes/MastheadProfileMenu.css.js +1 -1
- package/dist/generated/themes/MastheadProfileMenu.css.js.map +1 -1
- package/dist/generated/themes/Quote.css.d.ts +1 -1
- package/dist/generated/themes/Quote.css.js +1 -1
- package/dist/generated/themes/Quote.css.js.map +1 -1
- package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
- package/dist/generated/themes/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
- package/dist/generated/themes/Slider.css.d.ts +1 -1
- package/dist/generated/themes/Slider.css.js +1 -1
- package/dist/generated/themes/Slider.css.js.map +1 -1
- package/dist/generated/themes/TabNavigation.css.d.ts +1 -1
- package/dist/generated/themes/TabNavigation.css.js +1 -1
- package/dist/generated/themes/TabNavigation.css.js.map +1 -1
- package/dist/types/List.d.ts +6 -0
- package/dist/types/List.js +7 -0
- package/dist/types/List.js.map +1 -1
- package/dist/vscode.html-custom-data.json +12 -2
- package/dist/web-types.json +32 -7
- package/package.json +1 -1
- package/src/List.ts +41 -2
- package/src/MastheadCountrySelector.hbs +20 -16
- package/src/MastheadCountrySelector.ts +83 -16
- package/src/MastheadItem.ts +10 -1
- package/src/MastheadMenu.ts +56 -13
- package/src/MastheadProfileMenu.hbs +43 -26
- package/src/MastheadProfileMenu.ts +124 -7
- package/src/Pagination.ts +32 -6
- package/src/PaginationTemplate.tsx +19 -16
- package/src/Tab.ts +98 -0
- package/src/TabHeader.hbs +85 -33
- package/src/TabNavigation.hbs +16 -0
- package/src/TabNavigation.ts +109 -21
- package/src/Tooltip.ts +7 -6
- package/src/TooltipTemplate.tsx +29 -0
- package/src/generated/templates/MastheadCountrySelectorTemplate.lit.ts +1 -1
- package/src/generated/templates/MastheadProfileMenuTemplate.lit.ts +7 -5
- package/src/generated/templates/TabHeaderTemplate.lit.ts +29 -10
- package/src/generated/templates/TabNavigationTemplate.lit.ts +8 -6
- package/src/generated/themes/MastheadCountrySelector.css.ts +1 -1
- package/src/generated/themes/MastheadItem.css.ts +1 -1
- package/src/generated/themes/MastheadMenu.css.ts +1 -1
- package/src/generated/themes/MastheadMenuItem.css.ts +1 -1
- package/src/generated/themes/MastheadProfileMenu.css.ts +1 -1
- package/src/generated/themes/Quote.css.ts +1 -1
- package/src/generated/themes/RatingIndicator.css.ts +1 -1
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/generated/themes/TabNavigation.css.ts +1 -1
- package/src/themes/MastheadCountrySelector.css +70 -10
- package/src/themes/MastheadItem.css +0 -1
- package/src/themes/MastheadMenu.css +1 -2
- package/src/themes/MastheadMenuItem.css +1 -0
- package/src/themes/MastheadProfileMenu.css +113 -17
- package/src/themes/Quote.css +1 -1
- package/src/themes/TabNavigation.css +203 -1
- package/src/types/List.ts +7 -0
- package/cypress/downloads/downloads.html +0 -0
- package/dist/generated/templates/TooltipTemplate.lit.d.ts +0 -3
- package/dist/generated/templates/TooltipTemplate.lit.js +0 -8
- package/dist/generated/templates/TooltipTemplate.lit.js.map +0 -1
- package/src/Tooltip.hbs +0 -22
- package/src/generated/templates/TooltipTemplate.lit.ts +0 -12
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
display: inline-flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
align-items: stretch;
|
|
32
|
-
gap: var(--udexSpacer48);
|
|
33
32
|
background-color: var(--udex-masthead-profile-menu-background-color);
|
|
34
33
|
padding: var(--udex-masthead-profile-menu-paddings-desktop);
|
|
35
34
|
box-sizing: border-box;
|
|
36
35
|
}
|
|
37
36
|
|
|
38
|
-
.udex-masthead-profile-
|
|
39
|
-
|
|
37
|
+
.udex-masthead-profile-menu__message,
|
|
38
|
+
.udex-masthead-profile-menu__header {
|
|
39
|
+
margin-bottom: var(--udexSpacer48);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.udex-masthead-profile-menu__header {
|
|
@@ -72,17 +72,27 @@
|
|
|
72
72
|
width: 100%;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.udex-masthead-profile-menu__actions {
|
|
76
|
-
border-top: 1px solid var(--udex-masthead-profile-menu-login-border-color);
|
|
77
|
-
position: relative;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
75
|
:host([_is-mobile-mode]) .udex-masthead-profile-menu {
|
|
81
76
|
padding: var(--udex-masthead-profile-menu-paddings-mobile);
|
|
82
|
-
gap: var(--udexSpacer24);
|
|
83
77
|
box-sizing: border-box;
|
|
84
78
|
width: 100%;
|
|
85
|
-
|
|
79
|
+
height: 100%;
|
|
80
|
+
overflow: auto;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__message,
|
|
84
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__header {
|
|
85
|
+
margin-bottom: var(--udexSpacer24);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.udex-masthead-profile-menu__identities-list-wrap {
|
|
89
|
+
overflow: auto;
|
|
90
|
+
min-height: 150px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.udex-masthead-profile-menu__identities-list-wrap {
|
|
94
|
+
height: 100%;
|
|
95
|
+
position: relative;
|
|
86
96
|
}
|
|
87
97
|
|
|
88
98
|
.udex-masthead-profile-menu__btn-back {
|
|
@@ -115,16 +125,15 @@
|
|
|
115
125
|
font-weight: var(--udexTypographyFontWeightMedium);
|
|
116
126
|
border-bottom: 1px solid var(--udex-masthead-profile-menu-login-border-color);
|
|
117
127
|
margin-bottom: var(--udexSpacer4);
|
|
128
|
+
margin-top: var(--udexSpacer32);
|
|
118
129
|
display: block;
|
|
119
130
|
}
|
|
120
131
|
|
|
121
|
-
:host([_is-mobile-mode]) .udex-masthead-profile-menu__switcher-title {
|
|
122
|
-
display: none;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
132
|
.udex-masthead-profile-menu__add-remove-btn {
|
|
126
133
|
margin-inline-end: auto;
|
|
127
134
|
margin-top: var(--udexSpacer24);
|
|
135
|
+
display: block;
|
|
136
|
+
min-height: 42px;
|
|
128
137
|
}
|
|
129
138
|
|
|
130
139
|
.udex-masthead-profile-menu__header-wrap {
|
|
@@ -133,8 +142,12 @@
|
|
|
133
142
|
}
|
|
134
143
|
|
|
135
144
|
:host([_is-mobile-mode]) .udex-masthead-profile-menu__identities-list {
|
|
136
|
-
max-height:
|
|
137
|
-
|
|
145
|
+
max-height: 100%;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu.udex-masthead-profile-menu_switcher,
|
|
149
|
+
.udex-masthead-profile-menu.udex-masthead-profile-menu_switcher {
|
|
150
|
+
gap: 0;
|
|
138
151
|
}
|
|
139
152
|
|
|
140
153
|
.udex-masthead-profile-menu__identities-list {
|
|
@@ -143,6 +156,49 @@
|
|
|
143
156
|
display: block;
|
|
144
157
|
}
|
|
145
158
|
|
|
159
|
+
.udex-masthead-profile-menu__content {
|
|
160
|
+
position: relative;
|
|
161
|
+
min-height: 150px;
|
|
162
|
+
overflow: auto;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.udex-masthead-profile-menu__links {
|
|
166
|
+
height: 100%;
|
|
167
|
+
overflow: auto;
|
|
168
|
+
max-height: 100%;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.udex-masthead-profile-menu__content {
|
|
172
|
+
position: relative;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__links_scrollable:before,
|
|
176
|
+
.udex-masthead-profile-menu__identities-list_scrollable:before {
|
|
177
|
+
content: "";
|
|
178
|
+
position: absolute;
|
|
179
|
+
left: 0;
|
|
180
|
+
right: 0;
|
|
181
|
+
bottom: 0;
|
|
182
|
+
height: 40px;
|
|
183
|
+
z-index: 1;
|
|
184
|
+
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host([desktop][_is-mobile-mode]) .udex-masthead-profile-menu__links_scrollable:before,
|
|
188
|
+
:host([desktop]) .udex-masthead-profile-menu__identities-list_scrollable:before {
|
|
189
|
+
right: 15px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:host([desktop][_is-mobile-mode]:dir(rtl)) .udex-masthead-profile-menu__links_scrollable:before,
|
|
193
|
+
:host([desktop]:dir(rtl)) .udex-masthead-profile-menu__identities-list_scrollable:before {
|
|
194
|
+
right: 0;
|
|
195
|
+
left: 15px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__switcher-title {
|
|
199
|
+
display: none;
|
|
200
|
+
}
|
|
201
|
+
|
|
146
202
|
.udex-masthead-profile-menu__identities-list-item {
|
|
147
203
|
margin-bottom: var(--udexSpacer4);
|
|
148
204
|
}
|
|
@@ -151,7 +207,42 @@
|
|
|
151
207
|
word-break: break-all;
|
|
152
208
|
}
|
|
153
209
|
|
|
210
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__actions [udex-link] {
|
|
211
|
+
padding: var(--udexSpacer16) var(--udexSpacer8);
|
|
212
|
+
margin: 0;
|
|
213
|
+
display: block;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.udex-masthead-profile-menu__actions [udex-link] {
|
|
217
|
+
font-family: var(--udex-masthead-menu-item-font-family, sans-serif);
|
|
218
|
+
font-size: var(--udex-masthead-menu-item-font-size, 14px);
|
|
219
|
+
line-height: var(--udex-masthead-menu-item-line-height, 1.1);
|
|
220
|
+
font-weight: var(--udex-masthead-menu-item-font-weight, 500);
|
|
221
|
+
margin: var(--udexSpacer8) var(--udexSpacer12) var(--udexSpacer8) var(--udexSpacer8);
|
|
222
|
+
color: var(--sapList_TextColor, #000);
|
|
223
|
+
--udex-link-icon-width: 14px;
|
|
224
|
+
--udex-link-icon-height: 14px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.udex-masthead-profile-menu__btn {
|
|
228
|
+
padding-top: var(--udexSpacer32);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__btn {
|
|
232
|
+
padding-top: var(--udexSpacer24);
|
|
233
|
+
}
|
|
234
|
+
|
|
154
235
|
@media (max-width: 1279px) {
|
|
236
|
+
.udex-masthead-profile-menu__actions [udex-link] {
|
|
237
|
+
padding: var(--udexSpacer16) var(--udexSpacer8);
|
|
238
|
+
margin: 0;
|
|
239
|
+
display: block;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.udex-masthead-profile-menu__btn {
|
|
243
|
+
padding-top: var(--udexSpacer24);
|
|
244
|
+
}
|
|
245
|
+
|
|
155
246
|
.udex-masthead-profile-menu__btn-back::part(menu-item-button) {
|
|
156
247
|
justify-content: space-between;
|
|
157
248
|
}
|
|
@@ -166,14 +257,19 @@
|
|
|
166
257
|
|
|
167
258
|
.udex-masthead-profile-menu {
|
|
168
259
|
padding: var(--udex-masthead-profile-menu-paddings-mobile);
|
|
169
|
-
gap: var(--udexSpacer32);
|
|
170
260
|
box-sizing: border-box;
|
|
171
261
|
width: 100%;
|
|
172
262
|
min-height: 100%;
|
|
173
263
|
}
|
|
174
264
|
|
|
265
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__message,
|
|
266
|
+
:host([_is-mobile-mode]) .udex-masthead-profile-menu__header {
|
|
267
|
+
margin-bottom: var(--udexSpacer32);
|
|
268
|
+
}
|
|
269
|
+
|
|
175
270
|
.udex-masthead-profile-menu__actions {
|
|
176
271
|
border-top: 0;
|
|
272
|
+
margin-top: auto;
|
|
177
273
|
}
|
|
178
274
|
|
|
179
275
|
udex-masthead-menu-item::part(menu-item) {
|
package/src/themes/Quote.css
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
|
|
75
75
|
.udex-quote__text-container:before,
|
|
76
76
|
.udex-quote__text-container:after {
|
|
77
|
-
font-family:
|
|
77
|
+
font-family: "72 Brand Variable", "Arial", "Helvetica", "sans-serif";
|
|
78
78
|
font-weight: var(--udexTypographyFontWeightMedium, 500);
|
|
79
79
|
text-align: center;
|
|
80
80
|
position: absolute;
|
|
@@ -63,7 +63,9 @@
|
|
|
63
63
|
--udex-tab-navigation-content-font-family: var(--sapFontFamily, sans-serif);
|
|
64
64
|
--udex-tab-navigation-content-font-size: var(--udexTypographyNavigationRegularMFontSize, 14px);
|
|
65
65
|
--udex-tab-navigation-content-font-weight: var(--udexTypographyFontWeightRegular, 400);
|
|
66
|
-
--udex-tab-navigation-content-line-height: var(--
|
|
66
|
+
--udex-tab-navigation-content-line-height: var(--udexTypographyBodyLineHeight, 1.5);
|
|
67
|
+
|
|
68
|
+
--udex-tab-header-width: 428px;
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
:host([icon-without-background]) .udex-tab-navigation__button-icon-outer {
|
|
@@ -375,13 +377,213 @@
|
|
|
375
377
|
display: none;
|
|
376
378
|
}
|
|
377
379
|
|
|
380
|
+
.visually-hidden {
|
|
381
|
+
position: absolute;
|
|
382
|
+
width: 1px;
|
|
383
|
+
height: 1px;
|
|
384
|
+
padding: 0;
|
|
385
|
+
margin: -1px;
|
|
386
|
+
overflow: hidden;
|
|
387
|
+
clip: rect(0, 0, 0, 0);
|
|
388
|
+
white-space: nowrap;
|
|
389
|
+
border-width: 0;
|
|
390
|
+
}
|
|
391
|
+
|
|
378
392
|
.udex-tab-navigation__badge {
|
|
379
393
|
margin-inline-start: var(--udexSpacer4);
|
|
380
394
|
display: inline-flex;
|
|
381
395
|
}
|
|
382
396
|
|
|
397
|
+
/* Hide body text and link by default (horizontal tabs) */
|
|
398
|
+
.udex-tab-navigation__button-body-text,
|
|
399
|
+
.udex-tab-navigation__button-link {
|
|
400
|
+
display: none;
|
|
401
|
+
}
|
|
402
|
+
|
|
383
403
|
@media screen and (max-width: 979px) {
|
|
384
404
|
.udex-tab-navigation__content {
|
|
385
405
|
padding-block-start: var(--udex-tab-navigation-content-padding-vertical-mobile);
|
|
386
406
|
}
|
|
407
|
+
|
|
408
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__root {
|
|
409
|
+
flex-direction: column;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header {
|
|
413
|
+
flex: 0 0 100%;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__content {
|
|
417
|
+
flex: 0 0 100%;
|
|
418
|
+
padding-inline-start: 0;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
:host([orientation="Vertical"]) > .udex-tab-navigation__root > .udex-tab-navigation__content {
|
|
422
|
+
display: none;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/* Vertical Tabs Styles */
|
|
427
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__root {
|
|
428
|
+
display: flex;
|
|
429
|
+
gap: var(--udexSpacer24, 24px);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header {
|
|
433
|
+
flex-direction: column;
|
|
434
|
+
align-items: stretch;
|
|
435
|
+
min-height: auto;
|
|
436
|
+
height: 100%;
|
|
437
|
+
flex: 0 0 25%;
|
|
438
|
+
width: 100%;
|
|
439
|
+
max-height: none;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header:before {
|
|
443
|
+
display: none;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs {
|
|
447
|
+
flex-direction: column;
|
|
448
|
+
gap: var(--udexSpacer32, 32px);
|
|
449
|
+
overflow: visible;
|
|
450
|
+
white-space: normal;
|
|
451
|
+
max-height: none;
|
|
452
|
+
border-inline-start: 1px solid var(--udexColorGrey3, #D5DADD);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
@media screen and (max-width: 979px) {
|
|
456
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs {
|
|
457
|
+
gap: var(--udexSpacer24, 24px);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs > .udex-tab-navigation__button-tab:not(:last-child):not(:has(+ .udex-tab-navigation__content)),
|
|
461
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs > .udex-tab-navigation__tab-wrapper:not(:last-child):not(:has(+ .udex-tab-navigation__content)),
|
|
462
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs > .udex-tab-navigation__button-link:not(:last-child):not(:has(+ .udex-tab-navigation__content)) {
|
|
463
|
+
margin-block-end: var(--udexSpacer8, 8px);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-tab {
|
|
468
|
+
padding: 0 var(--udexSpacer16, 16px);
|
|
469
|
+
align-items: flex-start;
|
|
470
|
+
width: 100%;
|
|
471
|
+
height: auto;
|
|
472
|
+
min-height: auto;
|
|
473
|
+
margin-inline-end: 0;
|
|
474
|
+
transition: all 200ms ease-in;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-tab:not(:last-child) {
|
|
478
|
+
margin-inline-end: 0;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active {
|
|
482
|
+
padding: var(--udexSpacer16, 16px);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active::before {
|
|
486
|
+
content: '';
|
|
487
|
+
position: absolute;
|
|
488
|
+
inset-inline-start: -1px;
|
|
489
|
+
inset-block: 0;
|
|
490
|
+
z-index: 1;
|
|
491
|
+
width: 3px;
|
|
492
|
+
height: 100%;
|
|
493
|
+
background-color: var(--udex-button-tab-border-color-active);
|
|
494
|
+
border-start-start-radius: 0;
|
|
495
|
+
border-start-end-radius: 2px;
|
|
496
|
+
border-end-start-radius: 0;
|
|
497
|
+
border-end-end-radius: 2px;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper {
|
|
501
|
+
position: relative;
|
|
502
|
+
display: flex;
|
|
503
|
+
flex-direction: column;
|
|
504
|
+
gap: var(--udexSpacer16, 16px);
|
|
505
|
+
padding: 0 var(--udexSpacer16, 16px);
|
|
506
|
+
transition: all 200ms ease-in;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper:has(.udex-tab-navigation__button-tab--active) {
|
|
510
|
+
padding: var(--udexSpacer16, 16px);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper:has(.udex-tab-navigation__button-tab--active)::before {
|
|
514
|
+
content: '';
|
|
515
|
+
position: absolute;
|
|
516
|
+
inset-inline-start: -1px;
|
|
517
|
+
inset-block: 0;
|
|
518
|
+
z-index: 1;
|
|
519
|
+
width: 3px;
|
|
520
|
+
height: 100%;
|
|
521
|
+
background-color: var(--udex-button-tab-border-color-active);
|
|
522
|
+
border-start-start-radius: 0;
|
|
523
|
+
border-start-end-radius: 2px;
|
|
524
|
+
border-end-start-radius: 0;
|
|
525
|
+
border-end-end-radius: 2px;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper > .udex-tab-navigation__button-tab {
|
|
529
|
+
padding: 0;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper > .udex-tab-navigation__button-tab--active::before {
|
|
533
|
+
display: none;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-badge {
|
|
537
|
+
inset-block-start: 0;
|
|
538
|
+
inset-inline-end: -10px;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-text {
|
|
542
|
+
position: relative;
|
|
543
|
+
font-size: var(--udexTypographyHeadingRegularXXSFontSize, 20px);
|
|
544
|
+
line-height: 1.1;
|
|
545
|
+
font-weight: var(--udexTypographyFontWeightMedium);
|
|
546
|
+
text-align: start;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-body-text {
|
|
550
|
+
display: none;
|
|
551
|
+
margin: 0;
|
|
552
|
+
font-family: var(--udex-button-tab-font-family);
|
|
553
|
+
font-size: var(--udexTypographyBodyXSFontSize, 14px);
|
|
554
|
+
font-weight: var(--udexTypographyFontWeightRegular, 400);
|
|
555
|
+
color: var(--udexColorGrey7);
|
|
556
|
+
line-height: var(--udex-tab-navigation-content-line-height);
|
|
557
|
+
text-align: start;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active ~ .udex-tab-navigation__button-body-text {
|
|
561
|
+
display: block;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-link {
|
|
565
|
+
font-size: var(--udexTypographyNavigationRegularXLFontSize, 16px);
|
|
566
|
+
font-weight: var(--udexTypographyFontWeightRegular, 400);
|
|
567
|
+
line-height: 24px;
|
|
568
|
+
display: none;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active ~ .udex-tab-navigation__button-link {
|
|
572
|
+
display: block;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-links {
|
|
576
|
+
display: none;
|
|
577
|
+
flex-direction: column;
|
|
578
|
+
gap: var(--udexSpacer2, 2px);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active ~ .udex-tab-navigation__button-links {
|
|
582
|
+
display: flex;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
:host([orientation="Vertical"]) .udex-tab-navigation__content {
|
|
586
|
+
flex: 1 1 75%;
|
|
587
|
+
padding-block-start: 0;
|
|
588
|
+
padding-inline-start: var(--udexSpacer16, 16px);
|
|
387
589
|
}
|
package/src/types/List.ts
CHANGED
|
Binary file
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* eslint no-unused-vars: 0 */
|
|
2
|
-
import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
import { getCustomElementsScopingSuffix } from "@ui5/webcomponents-base/dist/CustomElementsScopeUtils.js";
|
|
4
|
-
function block0(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-popover", tags, suffix)} .opener="${ifDefined(this.opener)}" ?open="${this.open}" class="udex-tooltip__pane" ?hide-arrow="${this.hideArrow}" placement="${ifDefined(this.placement)}" horizontal-align="${ifDefined(this.horizontalAlign)}" vertical-align="${ifDefined(this.verticalAlign)}" accessible-name="${ifDefined(this.accessibleName)}" accessible-name-ref="${ifDefined(this.accessibleNameRef)}" accessible-role="${ifDefined(this.accessibleRole)}" ?prevent-initial-focus="${this.preventInitialFocus}" ?prevent-focus-restore="${this.preventFocusRestore}" @ui5-open="${ifDefined(this.handleOpen)}" @ui5-close="${ifDefined(this.handleClose)}" @ui5-before-close="${ifDefined(this.handleBeforeClose)}" @ui5-before-open="${ifDefined(this.handleBeforeOpen)}">${this.title ? block1.call(this, context, tags, suffix) : undefined}<slot></slot></${scopeTag("ui5-popover", tags, suffix)}>` : html `<ui5-popover .opener="${ifDefined(this.opener)}" ?open="${this.open}" class="udex-tooltip__pane" ?hide-arrow="${this.hideArrow}" placement="${ifDefined(this.placement)}" horizontal-align="${ifDefined(this.horizontalAlign)}" vertical-align="${ifDefined(this.verticalAlign)}" accessible-name="${ifDefined(this.accessibleName)}" accessible-name-ref="${ifDefined(this.accessibleNameRef)}" accessible-role="${ifDefined(this.accessibleRole)}" ?prevent-initial-focus="${this.preventInitialFocus}" ?prevent-focus-restore="${this.preventFocusRestore}" @ui5-open="${ifDefined(this.handleOpen)}" @ui5-close="${ifDefined(this.handleClose)}" @ui5-before-close="${ifDefined(this.handleBeforeClose)}" @ui5-before-open="${ifDefined(this.handleBeforeOpen)}">${this.title ? block1.call(this, context, tags, suffix) : undefined}<slot></slot></ui5-popover>`; }
|
|
5
|
-
function block1(context, tags, suffix) { return html `<div class="udex-tooltip-title">${ifDefined(this.title)}</div>`; }
|
|
6
|
-
function template() { return block0.call(this, this, this.constructor.tagsToScope, getCustomElementsScopingSuffix()); }
|
|
7
|
-
export default template;
|
|
8
|
-
//# sourceMappingURL=TooltipTemplate.lit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/TooltipTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAmC,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAC9I,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAK1G,SAAS,MAAM,CAAiB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,aAAa,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,IAAI,CAAC,IAAI,6CAA6C,IAAI,CAAC,SAAS,gBAAgB,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,uBAAuB,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,qBAAqB,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,0BAA0B,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,6BAA6B,IAAI,CAAC,mBAAmB,6BAA6B,IAAI,CAAC,mBAAmB,gBAAgB,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,iBAAiB,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,wBAAwB,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,uBAAuB,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAM,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,kBAAkB,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,yBAAyB,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,IAAI,CAAC,IAAI,6CAA6C,IAAI,CAAC,SAAS,gBAAgB,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,uBAAuB,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,qBAAqB,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,0BAA0B,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,6BAA6B,IAAI,CAAC,mBAAmB,6BAA6B,IAAI,CAAC,mBAAmB,gBAAgB,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,iBAAiB,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,wBAAwB,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,uBAAuB,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAM,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,6BAA6B,CAAC,CAAA,CAAC;AAC10D,SAAS,MAAM,CAAiB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,mCAAmC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA,CAAC;AAEhL,SAAS,QAAQ,KAAkB,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAG,IAAI,CAAC,WAAiC,CAAC,WAAW,EAAE,8BAA8B,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3J,eAAe,QAAQ,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getCustomElementsScopingSuffix } from \"@ui5/webcomponents-base/dist/CustomElementsScopeUtils.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type Tooltip from \"../../Tooltip.js\";\nimport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Tooltip, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-popover\", tags, suffix)} .opener=\"${ifDefined(this.opener)}\" ?open=\"${this.open}\" class=\"udex-tooltip__pane\" ?hide-arrow=\"${this.hideArrow}\" placement=\"${ifDefined(this.placement)}\" horizontal-align=\"${ifDefined(this.horizontalAlign)}\" vertical-align=\"${ifDefined(this.verticalAlign)}\" accessible-name=\"${ifDefined(this.accessibleName)}\" accessible-name-ref=\"${ifDefined(this.accessibleNameRef)}\" accessible-role=\"${ifDefined(this.accessibleRole)}\" ?prevent-initial-focus=\"${this.preventInitialFocus}\" ?prevent-focus-restore=\"${this.preventFocusRestore}\" @ui5-open=\"${ifDefined(this.handleOpen)}\" @ui5-close=\"${ifDefined(this.handleClose)}\" @ui5-before-close=\"${ifDefined(this.handleBeforeClose)}\" @ui5-before-open=\"${ifDefined(this.handleBeforeOpen)}\">${ this.title ? block1.call(this, context, tags, suffix) : undefined }<slot></slot></${scopeTag(\"ui5-popover\", tags, suffix)}>` : html`<ui5-popover .opener=\"${ifDefined(this.opener)}\" ?open=\"${this.open}\" class=\"udex-tooltip__pane\" ?hide-arrow=\"${this.hideArrow}\" placement=\"${ifDefined(this.placement)}\" horizontal-align=\"${ifDefined(this.horizontalAlign)}\" vertical-align=\"${ifDefined(this.verticalAlign)}\" accessible-name=\"${ifDefined(this.accessibleName)}\" accessible-name-ref=\"${ifDefined(this.accessibleNameRef)}\" accessible-role=\"${ifDefined(this.accessibleRole)}\" ?prevent-initial-focus=\"${this.preventInitialFocus}\" ?prevent-focus-restore=\"${this.preventFocusRestore}\" @ui5-open=\"${ifDefined(this.handleOpen)}\" @ui5-close=\"${ifDefined(this.handleClose)}\" @ui5-before-close=\"${ifDefined(this.handleBeforeClose)}\" @ui5-before-open=\"${ifDefined(this.handleBeforeOpen)}\">${ this.title ? block1.call(this, context, tags, suffix) : undefined }<slot></slot></ui5-popover>`;}\nfunction block1 (this: Tooltip, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-tooltip-title\">${ifDefined(this.title)}</div>`;}\n\nfunction template(this: Tooltip) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }\nexport default template;"]}
|
package/src/Tooltip.hbs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<ui5-popover
|
|
2
|
-
.opener="{{opener}}"
|
|
3
|
-
?open="{{open}}"
|
|
4
|
-
class="udex-tooltip__pane"
|
|
5
|
-
?hide-arrow="{{hideArrow}}"
|
|
6
|
-
placement="{{placement}}"
|
|
7
|
-
horizontal-align="{{horizontalAlign}}"
|
|
8
|
-
vertical-align="{{verticalAlign}}"
|
|
9
|
-
accessible-name="{{accessibleName}}"
|
|
10
|
-
accessible-name-ref="{{accessibleNameRef}}"
|
|
11
|
-
accessible-role="{{accessibleRole}}"
|
|
12
|
-
?prevent-initial-focus="{{preventInitialFocus}}"
|
|
13
|
-
?prevent-focus-restore="{{preventFocusRestore}}"
|
|
14
|
-
@ui5-open="{{handleOpen}}"
|
|
15
|
-
@ui5-close="{{handleClose}}"
|
|
16
|
-
@ui5-before-close="{{handleBeforeClose}}"
|
|
17
|
-
@ui5-before-open="{{handleBeforeOpen}}">
|
|
18
|
-
{{#if title}}
|
|
19
|
-
<div class="udex-tooltip-title">{{title}}</div>
|
|
20
|
-
{{/if}}
|
|
21
|
-
<slot></slot>
|
|
22
|
-
</ui5-popover>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* eslint no-unused-vars: 0 */
|
|
2
|
-
import { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
import { getCustomElementsScopingSuffix } from "@ui5/webcomponents-base/dist/CustomElementsScopeUtils.js";
|
|
4
|
-
import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
5
|
-
import type Tooltip from "../../Tooltip.js";
|
|
6
|
-
import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
|
|
7
|
-
|
|
8
|
-
function block0 (this: Tooltip, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("ui5-popover", tags, suffix)} .opener="${ifDefined(this.opener)}" ?open="${this.open}" class="udex-tooltip__pane" ?hide-arrow="${this.hideArrow}" placement="${ifDefined(this.placement)}" horizontal-align="${ifDefined(this.horizontalAlign)}" vertical-align="${ifDefined(this.verticalAlign)}" accessible-name="${ifDefined(this.accessibleName)}" accessible-name-ref="${ifDefined(this.accessibleNameRef)}" accessible-role="${ifDefined(this.accessibleRole)}" ?prevent-initial-focus="${this.preventInitialFocus}" ?prevent-focus-restore="${this.preventFocusRestore}" @ui5-open="${ifDefined(this.handleOpen)}" @ui5-close="${ifDefined(this.handleClose)}" @ui5-before-close="${ifDefined(this.handleBeforeClose)}" @ui5-before-open="${ifDefined(this.handleBeforeOpen)}">${ this.title ? block1.call(this, context, tags, suffix) : undefined }<slot></slot></${scopeTag("ui5-popover", tags, suffix)}>` : html`<ui5-popover .opener="${ifDefined(this.opener)}" ?open="${this.open}" class="udex-tooltip__pane" ?hide-arrow="${this.hideArrow}" placement="${ifDefined(this.placement)}" horizontal-align="${ifDefined(this.horizontalAlign)}" vertical-align="${ifDefined(this.verticalAlign)}" accessible-name="${ifDefined(this.accessibleName)}" accessible-name-ref="${ifDefined(this.accessibleNameRef)}" accessible-role="${ifDefined(this.accessibleRole)}" ?prevent-initial-focus="${this.preventInitialFocus}" ?prevent-focus-restore="${this.preventFocusRestore}" @ui5-open="${ifDefined(this.handleOpen)}" @ui5-close="${ifDefined(this.handleClose)}" @ui5-before-close="${ifDefined(this.handleBeforeClose)}" @ui5-before-open="${ifDefined(this.handleBeforeOpen)}">${ this.title ? block1.call(this, context, tags, suffix) : undefined }<slot></slot></ui5-popover>`;}
|
|
9
|
-
function block1 (this: Tooltip, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-tooltip-title">${ifDefined(this.title)}</div>`;}
|
|
10
|
-
|
|
11
|
-
function template(this: Tooltip) { return block0.call(this, this, (this.constructor as typeof UI5Element).tagsToScope, getCustomElementsScopingSuffix()); }
|
|
12
|
-
export default template;
|