@sapudex/web-components 0.226.0 → 0.226.2
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/Breadcrumbs.js +3 -2
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/Button.d.ts +7 -0
- package/dist/Button.js +5 -0
- package/dist/Button.js.map +1 -1
- package/dist/ListItem.d.ts +3 -2
- package/dist/ListItem.js +2 -2
- package/dist/ListItem.js.map +1 -1
- package/dist/MastheadItem.js +1 -1
- package/dist/MastheadItem.js.map +1 -1
- package/dist/Pagination.d.ts +2 -2
- package/dist/Pagination.js +10 -8
- package/dist/Pagination.js.map +1 -1
- package/dist/PhoneNumberField.d.ts +1 -0
- package/dist/PhoneNumberField.js +15 -1
- package/dist/PhoneNumberField.js.map +1 -1
- package/dist/Search.js +1 -2
- package/dist/Search.js.map +1 -1
- package/dist/SecondaryNavigation.d.ts +4 -1
- package/dist/SecondaryNavigation.js +37 -10
- package/dist/SecondaryNavigation.js.map +1 -1
- package/dist/SecondaryNavigationItem.d.ts +10 -0
- package/dist/SecondaryNavigationItem.js +19 -0
- package/dist/SecondaryNavigationItem.js.map +1 -1
- package/dist/SecondaryNavigationItemBase.d.ts +1 -0
- package/dist/SecondaryNavigationItemBase.js +3 -0
- package/dist/SecondaryNavigationItemBase.js.map +1 -1
- package/dist/SecondaryNavigationSubItem.d.ts +0 -1
- package/dist/SecondaryNavigationSubItem.js +0 -3
- package/dist/SecondaryNavigationSubItem.js.map +1 -1
- package/dist/assets/{bundle-7a4a3e16.css → bundle-4420b745.css} +1 -1
- package/dist/assets/{bundle.esm-740278cc.js → bundle.esm-8390abc2.js} +189 -189
- package/dist/css/themes/Breadcrumbs.css +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/Checkbox.css +1 -1
- package/dist/css/themes/ListItem.css +1 -1
- package/dist/css/themes/MastheadShell.css +1 -1
- package/dist/css/themes/Modal.css +1 -1
- package/dist/css/themes/Pagination.css +1 -1
- package/dist/css/themes/RadioButton.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/Search.css +1 -1
- package/dist/css/themes/Slider.css +1 -1
- package/dist/css/themes/Tooltip.css +1 -1
- package/dist/css/themes/WizardTab.css +1 -1
- package/dist/custom-elements-internal.json +100 -66
- package/dist/custom-elements.json +83 -64
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js +1 -1
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ButtonTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/ButtonTemplate.lit.js +7 -0
- package/dist/generated/templates/ButtonTemplate.lit.js.map +1 -0
- package/dist/generated/templates/FilterMenuTemplate.lit.js +1 -1
- package/dist/generated/templates/FilterMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PaginationTemplate.lit.js +3 -3
- package/dist/generated/templates/PaginationTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchTemplate.lit.js +3 -3
- package/dist/generated/templates/SearchTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js +2 -2
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +1 -1
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
- package/dist/generated/themes/Button.css.js +1 -1
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/Checkbox.css.js +1 -1
- package/dist/generated/themes/Checkbox.css.js.map +1 -1
- package/dist/generated/themes/ListItem.css.js +1 -1
- package/dist/generated/themes/ListItem.css.js.map +1 -1
- package/dist/generated/themes/MastheadShell.css.js +1 -1
- package/dist/generated/themes/MastheadShell.css.js.map +1 -1
- package/dist/generated/themes/Modal.css.js +1 -1
- package/dist/generated/themes/Modal.css.js.map +1 -1
- package/dist/generated/themes/Pagination.css.js +1 -1
- package/dist/generated/themes/Pagination.css.js.map +1 -1
- package/dist/generated/themes/RadioButton.css.js +1 -1
- package/dist/generated/themes/RadioButton.css.js.map +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/Search.css.js +1 -1
- package/dist/generated/themes/Search.css.js.map +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/Tooltip.css.js +1 -1
- package/dist/generated/themes/Tooltip.css.js.map +1 -1
- package/dist/generated/themes/WizardTab.css.js +1 -1
- package/dist/generated/themes/WizardTab.css.js.map +1 -1
- package/dist/vscode.html-custom-data.json +5 -0
- package/dist/web-types.json +11 -1
- package/package.json +1 -1
- package/src/Breadcrumbs.hbs +10 -12
- package/src/Breadcrumbs.ts +3 -2
- package/src/Button.hbs +50 -0
- package/src/Button.ts +11 -0
- package/src/FilterMenu.hbs +1 -0
- package/src/ListItem.ts +4 -4
- package/src/MastheadItem.ts +1 -1
- package/src/Pagination.hbs +4 -4
- package/src/Pagination.ts +14 -8
- package/src/PhoneNumberField.ts +20 -1
- package/src/Search.hbs +3 -2
- package/src/Search.ts +1 -2
- package/src/SecondaryNavigation.hbs +1 -0
- package/src/SecondaryNavigation.ts +41 -12
- package/src/SecondaryNavigationItem.hbs +2 -1
- package/src/SecondaryNavigationItem.ts +31 -0
- package/src/SecondaryNavigationItemBase.ts +3 -0
- package/src/SecondaryNavigationSubItem.ts +0 -3
- package/src/generated/templates/BreadcrumbsTemplate.lit.ts +1 -1
- package/src/generated/templates/ButtonTemplate.lit.ts +12 -0
- package/src/generated/templates/FilterMenuTemplate.lit.ts +1 -1
- package/src/generated/templates/PaginationTemplate.lit.ts +3 -3
- package/src/generated/templates/SearchTemplate.lit.ts +3 -3
- package/src/generated/templates/SecondaryNavigationItemTemplate.lit.ts +2 -2
- package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +1 -1
- package/src/generated/themes/Breadcrumbs.css.ts +1 -1
- package/src/generated/themes/Button.css.ts +1 -1
- package/src/generated/themes/Checkbox.css.ts +1 -1
- package/src/generated/themes/ListItem.css.ts +1 -1
- package/src/generated/themes/MastheadShell.css.ts +1 -1
- package/src/generated/themes/Modal.css.ts +1 -1
- package/src/generated/themes/Pagination.css.ts +1 -1
- package/src/generated/themes/RadioButton.css.ts +1 -1
- package/src/generated/themes/RatingIndicator.css.ts +1 -1
- package/src/generated/themes/Search.css.ts +1 -1
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/generated/themes/Tooltip.css.ts +1 -1
- package/src/generated/themes/WizardTab.css.ts +1 -1
- package/src/themes/Breadcrumbs.css +3 -0
- package/src/themes/Button.css +197 -66
- package/src/themes/Checkbox.css +2 -0
- package/src/themes/ListItem.css +5 -1
- package/src/themes/MastheadShell.css +2 -1
- package/src/themes/Modal.css +2 -1
- package/src/themes/Pagination.css +5 -0
- package/src/themes/RadioButton.css +5 -0
- package/src/themes/Search.css +9 -1
- package/src/themes/Tooltip.css +1 -1
- package/src/themes/WizardTab.css +5 -0
- package/cypress/screenshots/AccordionItem.cy.tsx/AccordionItem -- can be clicked via keyboard using Space (failed).png +0 -0
package/src/themes/Button.css
CHANGED
|
@@ -21,9 +21,11 @@
|
|
|
21
21
|
|
|
22
22
|
/* Default */
|
|
23
23
|
--udex-button-color-primary-standard-default-background: var(--sapButton_Emphasized_Background, var(--udexColorBlue8));
|
|
24
|
+
--udex-button-color-primary-standard-default-border-color: var(--sapButton_Emphasized_BorderColor, var(--udexColorBlue8));
|
|
24
25
|
--udex-button-color-primary-standard-default-text-and-icon: var(--sapButton_Emphasized_TextColor, var(--udexCoreTextLight));
|
|
25
26
|
/* Hover */
|
|
26
27
|
--udex-button-color-primary-standard-hover-background: var(--sapButton_Emphasized_Hover_Background, var(--udexColorBlue9));
|
|
28
|
+
--udex-button-color-primary-standard-hover-border-color: var(--sapButton_Emphasized_Hover_BorderColor, var(--udexColorBlue9));
|
|
27
29
|
--udex-button-color-primary-standard-hover-text-and-icon: var(--sapButton_Emphasized_Hover_TextColor, var(--udexCoreTextLight));
|
|
28
30
|
/* Active */
|
|
29
31
|
--udex-button-color-primary-standard-active-background: var(--sapButton_Emphasized_Active_Background, var(--udexColorNeutralWhite));
|
|
@@ -89,8 +91,8 @@
|
|
|
89
91
|
--udex-button-color-tertiary-standard-hover-border: var(--sapButton_Lite_Hover_BorderColor, var(--udexColorGrey7));
|
|
90
92
|
--udex-button-color-tertiary-standard-hover-text-and-icon: var(--sapButton_Lite_Hover_TextColor, var(--udexColorBlue9));
|
|
91
93
|
/* Active */
|
|
92
|
-
--udex-button-color-tertiary-standard-active-background: var(--sapButton_Lite_Active_Background, var(--
|
|
93
|
-
--udex-button-color-tertiary-standard-active-border: var(--sapButton_Lite_Active_BorderColor, var(--
|
|
94
|
+
--udex-button-color-tertiary-standard-active-background: var(--sapButton_Lite_Active_Background, var(--udexColorNeutralWhite));
|
|
95
|
+
--udex-button-color-tertiary-standard-active-border: var(--sapButton_Lite_Active_BorderColor, var(--udexColorBlue9));
|
|
94
96
|
--udex-button-color-tertiary-standard-active-text-and-icon: var(--sapButton_Lite_TextColor, var(--udexColorBlue9));
|
|
95
97
|
/* Disabled */
|
|
96
98
|
--udex-button-color-tertiary-standard-disabled-background: var(--udex-button-color-transparent, hsla(0, 0%, 0%, 0));
|
|
@@ -231,7 +233,7 @@
|
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
:host([size="Small"]) {
|
|
234
|
-
font-size: var(--udexTypographyNavigationMediumMFontSize);
|
|
236
|
+
font-size: var(--udexTypographyNavigationMediumMFontSize, 14px);
|
|
235
237
|
height: var(--udex-button-small-size);
|
|
236
238
|
}
|
|
237
239
|
:host([size="Small"])::part(button) {
|
|
@@ -256,7 +258,7 @@
|
|
|
256
258
|
|
|
257
259
|
:host,
|
|
258
260
|
:host([size="Medium"]) {
|
|
259
|
-
font-size: 1rem;
|
|
261
|
+
font-size: var(--udexTypographyNavigationMediumXLFontSize, 1rem);
|
|
260
262
|
height: var(--udex-button-medium-size);
|
|
261
263
|
}
|
|
262
264
|
|
|
@@ -266,7 +268,7 @@
|
|
|
266
268
|
}
|
|
267
269
|
|
|
268
270
|
:host([size="Large"]) {
|
|
269
|
-
font-size: 1rem;
|
|
271
|
+
font-size: var(--udexTypographyNavigationMediumXLFontSize, 1rem);
|
|
270
272
|
height: var(--udex-button-large-size);
|
|
271
273
|
}
|
|
272
274
|
:host([size="Large"])::part(button) {
|
|
@@ -342,10 +344,12 @@
|
|
|
342
344
|
margin-inline-start: var(--udex-button-icon-text-spacing-small-size);
|
|
343
345
|
}
|
|
344
346
|
|
|
347
|
+
:host([has-icon]:not([icon-only])[icon-end]) .ui5-button-text,
|
|
345
348
|
:host([has-icon]:not([icon-only])[size="Medium"][icon-end]) .ui5-button-text {
|
|
346
349
|
margin-inline-end: var(--udex-button-icon-text-spacing-medium-size);
|
|
347
350
|
}
|
|
348
351
|
|
|
352
|
+
:host([has-icon]:not([icon-only]):not([icon-end])) .ui5-button-text,
|
|
349
353
|
:host([has-icon]:not([icon-only])[size="Medium"]:not([icon-end])) .ui5-button-text {
|
|
350
354
|
margin-inline-start: var(--udex-button-icon-text-spacing-medium-size);
|
|
351
355
|
}
|
|
@@ -358,6 +362,59 @@
|
|
|
358
362
|
margin-inline-start: var(--udex-button-icon-text-spacing-large-size);
|
|
359
363
|
}
|
|
360
364
|
|
|
365
|
+
:host:disabled,
|
|
366
|
+
:host([design="Default"]):disabled,
|
|
367
|
+
:host([design="Secondary"]):disabled,
|
|
368
|
+
:host([design="Invisible"]):disabled,
|
|
369
|
+
:host([design="Emphasized"][_aria-disabled]):disabled,
|
|
370
|
+
:host([design="Primary"][_aria-disabled]):disabled,
|
|
371
|
+
:host([design="Transparent"]):disabled,
|
|
372
|
+
:host([design="Tertiary"]):disabled,
|
|
373
|
+
:host([design="Negative"]):disabled,
|
|
374
|
+
:host([design="Attention"]):disabled,
|
|
375
|
+
:host([design="Warning"]):disabled,
|
|
376
|
+
:host([design="Positive"]):disabled,
|
|
377
|
+
:host([_aria-disabled]),
|
|
378
|
+
:host([design="Default"][_aria-disabled]),
|
|
379
|
+
:host([design="Secondary"][_aria-disabled]),
|
|
380
|
+
:host([design="Invisible"][_aria-disabled]),
|
|
381
|
+
:host([design="Emphasized"][_aria-disabled]),
|
|
382
|
+
:host([design="Primary"][_aria-disabled]),
|
|
383
|
+
:host([design="Transparent"][_aria-disabled]),
|
|
384
|
+
:host([design="Tertiary"][_aria-disabled]),
|
|
385
|
+
:host([design="Negative"][_aria-disabled]),
|
|
386
|
+
:host([design="Warning"][_aria-disabled]),
|
|
387
|
+
:host([design="Attention"][_aria-disabled]),
|
|
388
|
+
:host([design="Positive"][_aria-disabled]) {
|
|
389
|
+
opacity: 1;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
:host:disabled .udex-button-content,
|
|
393
|
+
:host([design="Default"]):disabled .udex-button-content,
|
|
394
|
+
:host([design="Secondary"]):disabled .udex-button-content,
|
|
395
|
+
:host([design="Invisible"]):disabled .udex-button-content,
|
|
396
|
+
:host([design="Emphasized"][_aria-disabled]):disabled .udex-button-content,
|
|
397
|
+
:host([design="Primary"][_aria-disabled]):disabled .udex-button-content,
|
|
398
|
+
:host([design="Transparent"]):disabled .udex-button-content,
|
|
399
|
+
:host([design="Tertiary"]):disabled .udex-button-content,
|
|
400
|
+
:host([design="Negative"]):disabled .udex-button-content,
|
|
401
|
+
:host([design="Attention"]):disabled .udex-button-content,
|
|
402
|
+
:host([design="Warning"]):disabled .udex-button-content,
|
|
403
|
+
:host([design="Positive"]):disabled .udex-button-content,
|
|
404
|
+
:host([_aria-disabled]) .udex-button-content,
|
|
405
|
+
:host([design="Default"][_aria-disabled]) .udex-button-content,
|
|
406
|
+
:host([design="Secondary"][_aria-disabled]) .udex-button-content,
|
|
407
|
+
:host([design="Invisible"][_aria-disabled]) .udex-button-content,
|
|
408
|
+
:host([design="Emphasized"][_aria-disabled]) .udex-button-content,
|
|
409
|
+
:host([design="Primary"][_aria-disabled]) .udex-button-content,
|
|
410
|
+
:host([design="Transparent"][_aria-disabled]) .udex-button-content,
|
|
411
|
+
:host([design="Tertiary"][_aria-disabled]) .udex-button-content,
|
|
412
|
+
:host([design="Negative"][_aria-disabled]) .udex-button-content,
|
|
413
|
+
:host([design="Warning"][_aria-disabled]) .udex-button-content,
|
|
414
|
+
:host([design="Attention"][_aria-disabled]) .udex-button-content,
|
|
415
|
+
:host([design="Positive"][_aria-disabled]) .udex-button-content {
|
|
416
|
+
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
417
|
+
}
|
|
361
418
|
|
|
362
419
|
/* Standard/Primary css-rules */
|
|
363
420
|
:host,
|
|
@@ -365,7 +422,7 @@
|
|
|
365
422
|
:host([design="Primary"]) {
|
|
366
423
|
color: var(--udex-button-color-primary-standard-default-text-and-icon);
|
|
367
424
|
background-color: var(--udex-button-color-primary-standard-default-background);
|
|
368
|
-
border: 1px solid var(--udex-button-color-primary-standard-default-
|
|
425
|
+
border: 1px solid var(--udex-button-color-primary-standard-default-border-color);
|
|
369
426
|
}
|
|
370
427
|
|
|
371
428
|
:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
@@ -374,27 +431,39 @@
|
|
|
374
431
|
:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
375
432
|
:host([design="Primary"]:not([disabled]):hover),
|
|
376
433
|
:host([design="Primary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
377
|
-
:host([design="Primary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered)
|
|
434
|
+
:host([design="Primary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
435
|
+
:host([_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
436
|
+
:host([design="Emphasized"][_aria-disabled="false"]:hover),
|
|
437
|
+
:host([design="Emphasized"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
438
|
+
:host([design="Emphasized"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered),
|
|
439
|
+
:host([design="Primary"][_aria-disabled="false"]:hover),
|
|
440
|
+
:host([design="Primary"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
441
|
+
:host([design="Primary"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered) {
|
|
378
442
|
color: var(--udex-button-color-primary-standard-hover-text-and-icon);
|
|
379
443
|
background-color: var(--udex-button-color-primary-standard-hover-background);
|
|
380
|
-
border: 1px solid var(--udex-button-color-primary-standard-hover-
|
|
444
|
+
border: 1px solid var(--udex-button-color-primary-standard-hover-border-color);
|
|
381
445
|
}
|
|
382
446
|
|
|
383
447
|
:host([active]:not([disabled])) ,
|
|
384
448
|
:host([design="Emphasized"][active]:not([disabled])) ,
|
|
385
|
-
:host([design="Primary"][active]:not([disabled]))
|
|
449
|
+
:host([design="Primary"][active]:not([disabled])),
|
|
450
|
+
:host([active][_aria-disabled="false"]) ,
|
|
451
|
+
:host([design="Emphasized"][active][_aria-disabled="false"]) ,
|
|
452
|
+
:host([design="Primary"][active][_aria-disabled="false"]) {
|
|
386
453
|
color: var(--udex-button-color-primary-standard-active-text-and-icon);
|
|
387
454
|
background-color: var(--udex-button-color-primary-standard-active-background);
|
|
388
455
|
border: 1px solid var(--udex-button-color-primary-standard-active-border);
|
|
389
456
|
}
|
|
390
457
|
|
|
391
|
-
:host:disabled
|
|
392
|
-
:host([design="Emphasized"]):disabled
|
|
393
|
-
:host([design="Primary"]):disabled
|
|
458
|
+
:host:disabled,
|
|
459
|
+
:host([design="Emphasized"][_aria-disabled]):disabled,
|
|
460
|
+
:host([design="Primary"][_aria-disabled]):disabled,
|
|
461
|
+
:host([_aria-disabled]),
|
|
462
|
+
:host([design="Emphasized"][_aria-disabled]),
|
|
463
|
+
:host([design="Primary"][_aria-disabled]) {
|
|
394
464
|
color: var(--udex-button-color-primary-standard-disabled-text-and-icon);
|
|
395
465
|
background-color: var(--udex-button-color-primary-standard-disabled-background);
|
|
396
466
|
border: 1px solid var(--udex-button-color-primary-standard-disabled-background);
|
|
397
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
398
467
|
}
|
|
399
468
|
|
|
400
469
|
/*Primary toggled*/
|
|
@@ -406,21 +475,26 @@
|
|
|
406
475
|
border: 1px solid var(--udex-button-color-primary-toggled-default-border);
|
|
407
476
|
}
|
|
408
477
|
|
|
409
|
-
:host([toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
410
|
-
:host([design="Emphasized"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
411
|
-
:host([design="Primary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
478
|
+
:host([toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
479
|
+
:host([design="Emphasized"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
480
|
+
:host([design="Primary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
481
|
+
:host([toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover) ,
|
|
482
|
+
:host([design="Emphasized"][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover) ,
|
|
483
|
+
:host([design="Primary"][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover) {
|
|
412
484
|
color: var(--udex-button-color-primary-toggled-hover-text-and-icon);
|
|
413
485
|
background-color: var(--udex-button-color-primary-toggled-hover-background);
|
|
414
486
|
border: 1px solid var(--udex-button-color-primary-toggled-hover-border);
|
|
415
487
|
}
|
|
416
488
|
|
|
417
|
-
:host([toggled]):disabled
|
|
418
|
-
:host([design="Emphasized"][toggled]):disabled
|
|
419
|
-
:host([design="Primary"][toggled]):disabled
|
|
489
|
+
:host([toggled]):disabled,
|
|
490
|
+
:host([design="Emphasized"][toggled]):disabled,
|
|
491
|
+
:host([design="Primary"][toggled]):disabled,
|
|
492
|
+
:host([toggled][_aria-disabled]) ,
|
|
493
|
+
:host([design="Emphasized"][toggled][_aria-disabled]),
|
|
494
|
+
:host([design="Primary"][toggled][_aria-disabled]) {
|
|
420
495
|
color: var(--udex-button-color-primary-toggled-disabled-text-and-icon);
|
|
421
496
|
background-color: var(--udex-button-color-primary-toggled-disabled-background);
|
|
422
497
|
border: 1px solid var(--udex-button-color-primary-toggled-disabled-border);
|
|
423
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
424
498
|
}
|
|
425
499
|
|
|
426
500
|
/* Secondary css-rules */
|
|
@@ -436,25 +510,34 @@
|
|
|
436
510
|
:host([design="Default"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
437
511
|
:host([design="Secondary"]:not([disabled]):hover),
|
|
438
512
|
:host([design="Secondary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
439
|
-
:host([design="Secondary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered)
|
|
513
|
+
:host([design="Secondary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
514
|
+
:host([design="Default"][_aria-disabled="false"]:hover),
|
|
515
|
+
:host([design="Default"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
516
|
+
:host([design="Default"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered),
|
|
517
|
+
:host([design="Secondary"][_aria-disabled="false"]:hover),
|
|
518
|
+
:host([design="Secondary"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):hover),
|
|
519
|
+
:host([design="Secondary"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]).ui5_hovered) {
|
|
440
520
|
color: var(--udex-button-color-secondary-standard-hover-text-and-icon);
|
|
441
521
|
background-color: var(--udex-button-color-secondary-standard-hover-background);
|
|
442
522
|
border: 1px solid var(--udex-button-color-secondary-standard-hover-border);
|
|
443
523
|
}
|
|
444
524
|
|
|
445
|
-
:host([design="Default"][active]:not([disabled]))
|
|
446
|
-
:host([design="Secondary"][active]:not([disabled]))
|
|
525
|
+
:host([design="Default"][active]:not([disabled])),
|
|
526
|
+
:host([design="Secondary"][active]:not([disabled])),
|
|
527
|
+
:host([design="Default"][active][_aria-disabled="false"]) ,
|
|
528
|
+
:host([design="Secondary"][active][_aria-disabled="false"]) {
|
|
447
529
|
color: var(--udex-button-color-secondary-standard-active-text-and-icon);
|
|
448
530
|
background-color: var(--udex-button-color-secondary-standard-active-background);
|
|
449
531
|
border: 1px solid var(--udex-button-color-secondary-standard-active-border);
|
|
450
532
|
}
|
|
451
533
|
|
|
452
|
-
:host([design="Default"]):disabled
|
|
453
|
-
:host([design="Secondary"]):disabled
|
|
534
|
+
:host([design="Default"]):disabled,
|
|
535
|
+
:host([design="Secondary"]):disabled,
|
|
536
|
+
:host([design="Default"][_aria-disabled]),
|
|
537
|
+
:host([design="Secondary"][_aria-disabled]) {
|
|
454
538
|
color: var(--udex-button-color-secondary-standard-disabled-text-and-icon);
|
|
455
539
|
background-color: var(--udex-button-color-secondary-standard-disabled-background);
|
|
456
540
|
border: 1px solid var(--udex-button-color-secondary-standard-disabled-border);
|
|
457
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
458
541
|
}
|
|
459
542
|
|
|
460
543
|
/*Secondary toggled*/
|
|
@@ -465,19 +548,22 @@
|
|
|
465
548
|
border: 1px solid var(--udex-button-color-secondary-toggled-default-border);
|
|
466
549
|
}
|
|
467
550
|
|
|
468
|
-
:host([design="Default"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
469
|
-
:host([design="Secondary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
551
|
+
:host([design="Default"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
552
|
+
:host([design="Secondary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
553
|
+
:host([design="Default"][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover),
|
|
554
|
+
:host([design="Secondary"][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover) {
|
|
470
555
|
color: var(--udex-button-color-secondary-toggled-hover-text-and-icon);
|
|
471
556
|
background-color: var(--udex-button-color-secondary-toggled-hover-background);
|
|
472
557
|
border: 1px solid var(--sapButton_Selected_Hover_BorderColor);
|
|
473
558
|
}
|
|
474
559
|
|
|
475
|
-
:host([design="Default"][toggled]):disabled
|
|
476
|
-
:host([design="Secondary"][toggled]):disabled
|
|
560
|
+
:host([design="Default"][toggled]):disabled,
|
|
561
|
+
:host([design="Secondary"][toggled]):disabled,
|
|
562
|
+
:host([design="Default"][toggled][_aria-disabled]),
|
|
563
|
+
:host([design="Secondary"][toggled][_aria-disabled]) {
|
|
477
564
|
color: var(--udex-button-color-secondary-toggled-disabled-text-and-icon);
|
|
478
565
|
background-color: var(--udex-button-color-secondary-toggled-disabled-background);
|
|
479
566
|
border: 1px solid var(--udex-button-color-secondary-toggled-disabled-border);
|
|
480
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
481
567
|
}
|
|
482
568
|
|
|
483
569
|
/* Tertiary css-rules */
|
|
@@ -493,25 +579,34 @@
|
|
|
493
579
|
:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
494
580
|
:host([design="Tertiary"]:not([disabled]):hover),
|
|
495
581
|
:host([design="Tertiary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
496
|
-
:host([design="Tertiary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered)
|
|
582
|
+
:host([design="Tertiary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
583
|
+
:host([design="Transparent"][_aria-disabled="false"]:hover),
|
|
584
|
+
:host([design="Transparent"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
585
|
+
:host([design="Transparent"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered),
|
|
586
|
+
:host([design="Tertiary"][_aria-disabled="false"]:hover),
|
|
587
|
+
:host([design="Tertiary"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
588
|
+
:host([design="Tertiary"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered) {
|
|
497
589
|
color: var(--udex-button-color-tertiary-standard-hover-text-and-icon);
|
|
498
590
|
background-color: var(--udex-button-color-tertiary-standard-hover-background);
|
|
499
591
|
border: 1px solid var(--udex-button-color-tertiary-standard-hover-border);
|
|
500
592
|
}
|
|
501
593
|
|
|
502
594
|
:host([design="Transparent"][active]:not([disabled])),
|
|
503
|
-
:host([design="Tertiary"][active]:not([disabled]))
|
|
595
|
+
:host([design="Tertiary"][active]:not([disabled])),
|
|
596
|
+
:host([design="Transparent"][active][_aria-disabled="false"]),
|
|
597
|
+
:host([design="Tertiary"][active][_aria-disabled="false"]) {
|
|
504
598
|
color: var(--udex-button-color-tertiary-standard-active-text-and-icon);
|
|
505
599
|
background-color: var(--udex-button-color-tertiary-standard-active-background);
|
|
506
600
|
border: 1px solid var(--udex-button-color-tertiary-standard-active-border);
|
|
507
601
|
}
|
|
508
602
|
|
|
509
603
|
:host([design="Transparent"]):disabled,
|
|
510
|
-
:host([design="Tertiary"]):disabled
|
|
604
|
+
:host([design="Tertiary"]):disabled,
|
|
605
|
+
:host([design="Transparent"][_aria-disabled]),
|
|
606
|
+
:host([design="Tertiary"][_aria-disabled]) {
|
|
511
607
|
color: var(--udex-button-color-tertiary-standard-disabled-text-and-icon);
|
|
512
608
|
background-color: var(--udex-button-color-tertiary-standard-disabled-background);
|
|
513
609
|
border: 1px solid var(--udex-button-color-tertiary-standard-disabled-border);
|
|
514
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
515
610
|
}
|
|
516
611
|
|
|
517
612
|
/*Tertiary toggled*/
|
|
@@ -523,14 +618,18 @@
|
|
|
523
618
|
}
|
|
524
619
|
|
|
525
620
|
:host([design="Transparent"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
526
|
-
:host([design="Tertiary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
621
|
+
:host([design="Tertiary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
622
|
+
:host([design="Transparent"][toggled]:not([non-interactive]):not([_is-touch])[_aria-disabled="false"]:hover),
|
|
623
|
+
:host([design="Tertiary"][toggled]:not([non-interactive]):not([_is-touch])[_aria-disabled="false"]:hover) {
|
|
527
624
|
color: var(--udex-button-color-tertiary-toggled-hover-text-and-icon);
|
|
528
625
|
background-color: var(--udex-button-color-tertiary-toggled-hover-background);
|
|
529
626
|
border: 1px solid var(--udex-button-color-tertiary-toggled-hover-border);
|
|
530
627
|
}
|
|
531
628
|
|
|
532
629
|
:host([design="Transparent"][toggled]):disabled,
|
|
533
|
-
:host([design="Tertiary"][toggled]):disabled
|
|
630
|
+
:host([design="Tertiary"][toggled]):disabled,
|
|
631
|
+
:host([design="Transparent"][toggled][_aria-disabled])
|
|
632
|
+
:host([design="Tertiary"][_aria-disabled]) {
|
|
534
633
|
color: var(--udex-button-color-tertiary-toggled-disabled-text-and-icon);
|
|
535
634
|
background-color: var(--udex-button-color-tertiary-toggled-disabled-background);
|
|
536
635
|
border: 1px solid var(--udex-button-color-tertiary-toggled-disabled-border);
|
|
@@ -556,23 +655,27 @@
|
|
|
556
655
|
|
|
557
656
|
:host([design="Invisible"]:not([disabled]):hover),
|
|
558
657
|
:host([design="Invisible"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
559
|
-
:host([design="Invisible"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered)
|
|
658
|
+
:host([design="Invisible"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered),
|
|
659
|
+
:host([design="Invisible"][_aria-disabled="false"]:hover),
|
|
660
|
+
:host([design="Invisible"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):hover),
|
|
661
|
+
:host([design="Invisible"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]).ui5_hovered) {
|
|
560
662
|
color: var(--udex-button-color-invisible-standard-hover-text-and-icon);
|
|
561
663
|
background-color: var(--udex-button-color-invisible-standard-hover-background);
|
|
562
664
|
border: none;
|
|
563
665
|
}
|
|
564
666
|
|
|
565
|
-
:host([design="Invisible"][active]:not([disabled]))
|
|
667
|
+
:host([design="Invisible"][active]:not([disabled])),
|
|
668
|
+
:host([design="Invisible"][active][_aria-disabled="false"]) {
|
|
566
669
|
color: var(--udex-button-color-invisible-standard-active-text-and-icon);
|
|
567
670
|
background-color: var(--udex-button-color-invisible-standard-active-background);
|
|
568
671
|
border: none;
|
|
569
672
|
}
|
|
570
673
|
|
|
571
|
-
:host([design="Invisible"]):disabled
|
|
674
|
+
:host([design="Invisible"]):disabled,
|
|
675
|
+
:host([design="Invisible"][_aria-disabled]) {
|
|
572
676
|
color: var(--udex-button-color-invisible-standard-disabled-text-and-icon);
|
|
573
677
|
background-color: var(--udex-button-color-invisible-standard-disabled-background);
|
|
574
678
|
border: none;
|
|
575
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
576
679
|
}
|
|
577
680
|
|
|
578
681
|
/* Positive css-rules */
|
|
@@ -584,23 +687,27 @@
|
|
|
584
687
|
|
|
585
688
|
:host([design="Positive"]:not([disabled]):hover),
|
|
586
689
|
:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
587
|
-
:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered)
|
|
690
|
+
:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
691
|
+
:host([design="Positive"][_aria-disabled="false"]:hover),
|
|
692
|
+
:host([design="Positive"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
693
|
+
:host([design="Positive"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered) {
|
|
588
694
|
color: var(--udex-button-color-positive-standard-hover-text-and-icon);
|
|
589
695
|
background-color: var(--udex-button-color-positive-standard-hover-background);
|
|
590
696
|
border: 1px solid var(--udex-button-color-positive-standard-hover-border);
|
|
591
697
|
}
|
|
592
698
|
|
|
593
|
-
:host([design=Positive][active]:not([disabled]))
|
|
699
|
+
:host([design=Positive][active]:not([disabled])),
|
|
700
|
+
:host([design=Positive][active][_aria-disabled="false"]) {
|
|
594
701
|
color: var(--udex-button-color-positive-standard-active-text-and-icon);
|
|
595
702
|
background-color: var(--udex-button-color-positive-standard-active-background);
|
|
596
703
|
border: 1px solid var(--udex-button-color-positive-standard-active-border);
|
|
597
704
|
}
|
|
598
705
|
|
|
599
|
-
:host([design=Positive]):disabled
|
|
706
|
+
:host([design=Positive]):disabled,
|
|
707
|
+
:host([design=Positive][_aria-disabled]) {
|
|
600
708
|
color: var(--udex-button-color-positive-standard-disabled-text-and-icon);
|
|
601
709
|
background-color: var(--udex-button-color-positive-standard-disabled-background);
|
|
602
710
|
border: 1px solid var(--udex-button-color-positive-standard-disabled-border);
|
|
603
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
604
711
|
}
|
|
605
712
|
|
|
606
713
|
/*Positive toggled*/
|
|
@@ -610,17 +717,18 @@
|
|
|
610
717
|
border: 1px solid var(--udex-button-color-positive-toggled-default-border);
|
|
611
718
|
}
|
|
612
719
|
|
|
613
|
-
:host([design=Positive][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
720
|
+
:host([design=Positive][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
721
|
+
:host([design=Positive][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover) {
|
|
614
722
|
color: var(--udex-button-color-positive-toggled-hover-text-and-icon);
|
|
615
723
|
background-color: var(--udex-button-color-positive-toggled-hover-background);
|
|
616
724
|
border: 1px solid var(--udex-button-color-positive-toggled-hover-border);
|
|
617
725
|
}
|
|
618
726
|
|
|
619
|
-
:host([design=Positive][toggled]):disabled
|
|
727
|
+
:host([design=Positive][toggled]):disabled,
|
|
728
|
+
:host([design=Positive][toggled][_aria-disabled]) {
|
|
620
729
|
color: var(--udex-button-color-positive-toggled-disabled-text-and-icon);
|
|
621
730
|
background-color: var(--udex-button-color-positive-toggled-disabled-background);
|
|
622
731
|
border: 1px solid var(--udex-button-color-positive-toggled-disabled-border);
|
|
623
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
624
732
|
}
|
|
625
733
|
|
|
626
734
|
/* Negative css-rules */
|
|
@@ -632,23 +740,27 @@
|
|
|
632
740
|
|
|
633
741
|
:host([design="Negative"]:not([disabled]):hover),
|
|
634
742
|
:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
635
|
-
:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered)
|
|
743
|
+
:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
744
|
+
:host([design="Negative"][_aria-disabled="false"]:hover),
|
|
745
|
+
:host([design="Negative"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
746
|
+
:host([design="Negative"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered) {
|
|
636
747
|
color: var(--udex-button-color-negative-standard-hover-text-and-icon);
|
|
637
748
|
background-color: var(--udex-button-color-negative-standard-hover-background);
|
|
638
749
|
border: 1px solid var(--udex-button-color-negative-standard-hover-border);
|
|
639
750
|
}
|
|
640
751
|
|
|
641
|
-
:host([design=Negative][active]:not([disabled]))
|
|
752
|
+
:host([design=Negative][active]:not([disabled])),
|
|
753
|
+
:host([design=Negative][active][_aria-disabled="false"]) {
|
|
642
754
|
color: var(--udex-button-color-negative-standard-active-text-and-icon);
|
|
643
755
|
background-color: var(--udex-button-color-negative-standard-active-background);
|
|
644
756
|
border: 1px solid var(--udex-button-color-negative-standard-active-border);
|
|
645
757
|
}
|
|
646
758
|
|
|
647
|
-
:host([design=Negative]):disabled
|
|
759
|
+
:host([design=Negative]):disabled,
|
|
760
|
+
:host([design=Negative][_aria-disabled]) {
|
|
648
761
|
color: var(--udex-button-color-negative-standard-disabled-text-and-icon);
|
|
649
762
|
background-color: var(--udex-button-color-negative-standard-disabled-background);
|
|
650
763
|
border: 1px solid var(--udex-button-color-negative-standard-disabled-border);
|
|
651
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
652
764
|
}
|
|
653
765
|
|
|
654
766
|
/*Negative toggled*/
|
|
@@ -658,17 +770,18 @@
|
|
|
658
770
|
border: 1px solid var(--udex-button-color-negative-toggled-default-border);
|
|
659
771
|
}
|
|
660
772
|
|
|
661
|
-
:host([design=Negative][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
773
|
+
:host([design=Negative][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
774
|
+
:host([design=Negative][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover) {
|
|
662
775
|
color: var(--udex-button-color-negative-toggled-hover-text-and-icon);
|
|
663
776
|
background-color: var(--udex-button-color-negative-toggled-hover-background);
|
|
664
777
|
border: 1px solid var(--udex-button-color-negative-toggled-hover-border);
|
|
665
778
|
}
|
|
666
779
|
|
|
667
|
-
:host([design=Negative][toggled]):disabled
|
|
780
|
+
:host([design=Negative][toggled]):disabled,
|
|
781
|
+
:host([design=Negative][toggled][_aria-disabled]){
|
|
668
782
|
color: var(--udex-button-color-negative-toggled-disabled-text-and-icon);
|
|
669
783
|
background-color: var(--udex-button-color-negative-toggled-disabled-background);
|
|
670
784
|
border: 1px solid var(--udex-button-color-negative-toggled-disabled-border);
|
|
671
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
672
785
|
}
|
|
673
786
|
|
|
674
787
|
/* Warning css-rules */
|
|
@@ -684,46 +797,64 @@
|
|
|
684
797
|
:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
685
798
|
:host([design="Warning"]:not([disabled]):hover),
|
|
686
799
|
:host([design="Warning"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
687
|
-
:host([design="Warning"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered)
|
|
800
|
+
:host([design="Warning"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
801
|
+
:host([design="Attention"][_aria-disabled="false"]:hover),
|
|
802
|
+
:host([design="Attention"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
803
|
+
:host([design="Attention"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered),
|
|
804
|
+
:host([design="Warning"][_aria-disabled="false"]:hover),
|
|
805
|
+
:host([design="Warning"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
806
|
+
:host([design="Warning"][_aria-disabled="false"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]).ui5_hovered) {
|
|
688
807
|
color: var(--udex-button-color-warning-standard-hover-text-and-icon);
|
|
689
808
|
background-color: var(--udex-button-color-warning-standard-hover-background);
|
|
690
809
|
border: 1px solid var(--udex-button-color-warning-standard-hover-border);
|
|
691
810
|
}
|
|
692
811
|
|
|
693
|
-
:host([design="Attention"][active]:not([disabled]))
|
|
694
|
-
:host([design="Warning"][active]:not([disabled]))
|
|
812
|
+
:host([design="Attention"][active]:not([disabled])),
|
|
813
|
+
:host([design="Warning"][active]:not([disabled])),
|
|
814
|
+
:host([design="Attention"][active][_aria-disabled="false"]),
|
|
815
|
+
:host([design="Warning"][active][_aria-disabled="false"]) {
|
|
695
816
|
color: var(--udex-button-color-warning-standard-active-text-and-icon);
|
|
696
817
|
background-color: var(--udex-button-color-warning-standard-active-background);
|
|
697
818
|
border: 1px solid var(--udex-button-color-warning-standard-active-border);
|
|
698
819
|
}
|
|
699
820
|
|
|
700
|
-
:host([design="Attention"]):disabled
|
|
701
|
-
:host([design="Warning"]):disabled
|
|
821
|
+
:host([design="Attention"]):disabled,
|
|
822
|
+
:host([design="Warning"]):disabled,
|
|
823
|
+
:host([design="Attention"][_aria-disabled]),
|
|
824
|
+
:host([design="Warning"][_aria-disabled]) {
|
|
702
825
|
color: var(--udex-button-color-warning-standard-disabled-text-and-icon);
|
|
703
826
|
background-color: var(--udex-button-color-warning-standard-disabled-background);
|
|
704
827
|
border: 1px solid var(--udex-button-color-warning-standard-disabled-border);
|
|
705
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
706
828
|
}
|
|
707
829
|
|
|
708
830
|
/*Warning toggled*/
|
|
709
|
-
:host([design="Attention"][toggled])
|
|
831
|
+
:host([design="Attention"][toggled]),
|
|
710
832
|
:host([design="Warning"][toggled]) {
|
|
711
833
|
color: var(--udex-button-color-warning-toggled-default-text-and-icon);
|
|
712
834
|
background-color: var(--udex-button-color-warning-toggled-default-background);
|
|
713
835
|
border: 1px solid var(--udex-button-color-warning-toggled-default-border);
|
|
714
836
|
}
|
|
715
837
|
|
|
716
|
-
:host([design="Attention"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
717
|
-
:host([design="Warning"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
838
|
+
:host([design="Attention"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
839
|
+
:host([design="Warning"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
840
|
+
:host([design="Attention"][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover),
|
|
841
|
+
:host([design="Warning"][toggled][_aria-disabled="false"]:not([non-interactive]):not([_is-touch]):hover) {
|
|
718
842
|
color: var(--udex-button-color-warning-toggled-hover-text-and-icon);
|
|
719
843
|
background-color: var(--udex-button-color-warning-toggled-hover-background);
|
|
720
844
|
border: 1px solid var(--udex-button-color-warning-toggled-hover-border);
|
|
721
845
|
}
|
|
722
846
|
|
|
723
847
|
:host([design="Attention"][toggled]):disabled,
|
|
724
|
-
:host([design="Warning"][toggled]):disabled
|
|
848
|
+
:host([design="Warning"][toggled]):disabled,
|
|
849
|
+
:host([design="Attention"][toggled][_aria-disabled]),
|
|
850
|
+
:host([design="Warning"][toggled][_aria-disabled]) {
|
|
725
851
|
color: var(--udex-button-color-warning-toggled-disabled-text-and-icon);
|
|
726
852
|
background-color: var(--udex-button-color-warning-toggled-disabled-background);
|
|
727
853
|
border: 1px solid var(--udex-button-color-warning-toggled-disabled-border);
|
|
728
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
729
854
|
}
|
|
855
|
+
|
|
856
|
+
.udex-button-content {
|
|
857
|
+
display: flex;
|
|
858
|
+
justify-content: center;
|
|
859
|
+
align-items: center;
|
|
860
|
+
}
|
package/src/themes/Checkbox.css
CHANGED
package/src/themes/ListItem.css
CHANGED
|
@@ -163,6 +163,10 @@
|
|
|
163
163
|
display: inherit;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
::slotted([udex-button]:hover:not([active])) {
|
|
167
|
+
background-color: var(--udex-button-color-tertiary-standard-default-background);
|
|
168
|
+
}
|
|
169
|
+
|
|
166
170
|
.udex-list__item:focus-visible {
|
|
167
171
|
outline: none;
|
|
168
172
|
}
|
|
@@ -256,7 +260,7 @@
|
|
|
256
260
|
.udex-list__edit-button,
|
|
257
261
|
.udex-list__delete-button {
|
|
258
262
|
--udex-button-color-tertiary-standard-hover-background: none;
|
|
259
|
-
--udex-button-color-tertiary-standard-hover-border: var(--
|
|
263
|
+
--udex-button-color-tertiary-standard-hover-border: var(--udexColorGrey7, #475E75);
|
|
260
264
|
--udex-button-color-tertiary-standard-active-border: var(--udexColorBlue7, #0070f2);
|
|
261
265
|
}
|
|
262
266
|
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
:host([_is-mobile-menu-open]) .udex-masthead-shell__country-selector,
|
|
212
212
|
:host([_is-mobile-menu-open]) .udex-masthead-shell__cart,
|
|
213
213
|
:host([_is-mobile-menu-open]) .udex-masthead-shell__profile,
|
|
214
|
-
:host([_is-mobile-menu-open]) .udex-masthead-shell__close-btn {
|
|
214
|
+
:host([_is-mobile-mode][_is-mobile-menu-open]) .udex-masthead-shell__close-btn {
|
|
215
215
|
display: flex;
|
|
216
216
|
}
|
|
217
217
|
|
|
@@ -283,6 +283,7 @@
|
|
|
283
283
|
display: none;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
+
:host([_is-mobile-menu-open]) .udex-masthead-shell__close-btn,
|
|
286
287
|
.udex-masthead-shell__menu-btn {
|
|
287
288
|
display: flex;
|
|
288
289
|
}
|
package/src/themes/Modal.css
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
:host .ui5-popup-root .ui5-popup-content {
|
|
25
25
|
padding: var(--udexModalAndOverlayModalContentPaddingVertical) var(--udexModalAndOverlayModalContentPaddingHorizontal);
|
|
26
|
-
scrollbar-gutter:
|
|
26
|
+
scrollbar-gutter: auto;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
:host([type="basic"]) {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
:host([type="basic"]) .ui5-popup-root .ui5-popup-content {
|
|
35
35
|
padding: 0 var(--udexModalAndOverlayModalContentPaddingHorizontal);
|
|
36
|
+
scrollbar-gutter: auto;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
:host ::slotted([slot="footer"]) {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
--udex-pagination-short-separator-paddings: 0 4px;
|
|
17
17
|
--udex-pagination-short-separator-margin: 0 4px;
|
|
18
18
|
--udex-pagination-short-item-paddings: 0 4px;
|
|
19
|
+
--udex-pagination-button-opacity: 1;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
.udex-pagination {
|
|
@@ -124,3 +125,7 @@
|
|
|
124
125
|
.udex-pagination__item--short-value {
|
|
125
126
|
padding: var(--udex-pagination-short-item-paddings);
|
|
126
127
|
}
|
|
128
|
+
|
|
129
|
+
.hidden {
|
|
130
|
+
display: none;
|
|
131
|
+
}
|