@sapudex/web-components 0.226.2 → 0.227.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/dist/Button.d.ts +1 -1
- package/dist/Button.js +0 -2
- package/dist/Button.js.map +1 -1
- package/dist/MastheadShell.d.ts +4 -1
- package/dist/MastheadShell.js +21 -5
- package/dist/MastheadShell.js.map +1 -1
- package/dist/Pagination.d.ts +16 -0
- package/dist/Pagination.js +28 -6
- package/dist/Pagination.js.map +1 -1
- package/dist/PhoneNumberField.d.ts +5 -5
- package/dist/PhoneNumberField.js +1 -1
- package/dist/PhoneNumberField.js.map +1 -1
- package/dist/SearchableListBase.d.ts +9 -0
- package/dist/SearchableListBase.js +10 -2
- package/dist/SearchableListBase.js.map +1 -1
- package/dist/Wizard.d.ts +20 -0
- package/dist/Wizard.js +21 -6
- package/dist/Wizard.js.map +1 -1
- package/dist/assets/{bundle.esm-8390abc2.js → bundle.esm-8018708a.js} +192 -192
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/MastheadCountrySelector.css +1 -1
- package/dist/css/themes/MastheadItem.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/RatingIndicator.css +1 -1
- package/dist/css/themes/Slider.css +1 -1
- package/dist/custom-elements-internal.json +186 -84
- package/dist/custom-elements.json +181 -83
- package/dist/data/CountryListISO3166.d.ts +13 -4
- package/dist/data/CountryListISO3166.js +8 -0
- package/dist/data/CountryListISO3166.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/PhoneNumberFieldTemplate.lit.js +2 -2
- package/dist/generated/templates/PhoneNumberFieldTemplate.lit.js.map +1 -1
- package/dist/generated/templates/WizardTemplate.lit.js +5 -3
- package/dist/generated/templates/WizardTemplate.lit.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/MastheadCountrySelector.css.js +1 -1
- package/dist/generated/themes/MastheadCountrySelector.css.js.map +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/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/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.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/vscode.html-custom-data.json +25 -5
- package/dist/web-types.json +41 -11
- package/package.json +1 -1
- package/src/Button.ts +1 -3
- package/src/MastheadShell.ts +25 -5
- package/src/Pagination.hbs +11 -5
- package/src/Pagination.ts +42 -5
- package/src/PhoneNumberField.hbs +1 -1
- package/src/PhoneNumberField.ts +7 -2
- package/src/SearchableListBase.ts +18 -2
- package/src/Wizard.hbs +9 -1
- package/src/Wizard.ts +39 -7
- package/src/data/CountryListISO3166.ts +10 -2
- package/src/generated/templates/PaginationTemplate.lit.ts +3 -3
- package/src/generated/templates/PhoneNumberFieldTemplate.lit.ts +1 -1
- package/src/generated/templates/WizardTemplate.lit.ts +5 -3
- package/src/generated/themes/Button.css.ts +1 -1
- package/src/generated/themes/MastheadCountrySelector.css.ts +1 -1
- package/src/generated/themes/MastheadItem.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/RatingIndicator.css.ts +1 -1
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/themes/Button.css +96 -168
- package/src/themes/MastheadCountrySelector.css +8 -5
- package/src/themes/MastheadItem.css +12 -4
- package/src/themes/MastheadShell.css +3 -1
- package/src/themes/Modal.css +4 -0
- package/src/themes/Pagination.css +17 -3
- package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ButtonTemplate.lit.js +0 -7
- package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
- package/src/Button.hbs +0 -50
- package/src/generated/templates/ButtonTemplate.lit.ts +0 -12
|
@@ -7,7 +7,7 @@ import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
|
|
|
7
7
|
registerThemePropertiesLoader("@ui5/webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
|
|
8
8
|
registerThemePropertiesLoader("@sapudex/web-components", "sap_horizon", async () => defaultTheme);
|
|
9
9
|
|
|
10
|
-
const styleData: StyleData = {packageName:"@sapudex/web-components",fileName:"themes/Pagination.css.ts",content:`:host{--udex-pagination-font-size: var(--sapFontSize, 16px);--udex-pagination-font-family: var(--sapFontFamily, sans-serif);--udex-pagination-item-paddings: var(--sapFontSmallSize, .75rem);--udex-pagination-item-inner-paddings: 0rem .25rem;--udex-pagination-mobile-item-paddings: .5625rem .875rem .6875rem .875rem;--udex-pagination-item-line-height: var(--sapContent_LineHeight, 1.5rem);--udex-pagination-item-text-color: var(--sapPrimary5, #5b738b);--udex-pagination-item-active-text-color: var(--sapShell_Navigation_TextColor, var(--udexColorGrey9, #223548));--udex-pagination-item-active-background-color: var(--udexColorGrey1);--udex-pagination-item-active-border-color: var(--udexColorBlue8);--udex-pagination-item-active-border-width: var(--sapField_InformationBorderWidth, .125rem);--udex-pagination-item-gap: .25rem;--udex-pagination-mobile-item-gap: .5rem;--udex-pagination-short-item-gap: 24px;--udex-pagination-short-separator-paddings: 0 4px;--udex-pagination-short-separator-margin: 0 4px;--udex-pagination-short-item-paddings: 0 4px
|
|
10
|
+
const styleData: StyleData = {packageName:"@sapudex/web-components",fileName:"themes/Pagination.css.ts",content:`:host{--udex-pagination-font-size: var(--sapFontSize, 16px);--udex-pagination-font-family: var(--sapFontFamily, sans-serif);--udex-pagination-item-paddings: var(--sapFontSmallSize, .75rem);--udex-pagination-item-inner-paddings: 0rem .25rem;--udex-pagination-mobile-item-paddings: .5625rem .875rem .6875rem .875rem;--udex-pagination-item-line-height: var(--sapContent_LineHeight, 1.5rem);--udex-pagination-item-text-color: var(--sapPrimary5, #5b738b);--udex-pagination-item-active-text-color: var(--sapShell_Navigation_TextColor, var(--udexColorGrey9, #223548));--udex-pagination-item-active-background-color: var(--udexColorGrey1);--udex-pagination-item-active-border-color: var(--udexColorBlue8);--udex-pagination-item-active-border-width: var(--sapField_InformationBorderWidth, .125rem);--udex-pagination-item-gap: .25rem;--udex-pagination-mobile-item-gap: .5rem;--udex-pagination-short-item-gap: 24px;--udex-pagination-short-separator-paddings: 0 4px;--udex-pagination-short-separator-margin: 0 4px;--udex-pagination-short-item-paddings: 0 4px}.udex-pagination{font-family:var(--udex-pagination-font-family);font-size:var(--udex-pagination-font-size)}.udex-pagination__list{padding:0;margin:0;display:flex;gap:var(--udex-pagination-item-gap);align-items:center;flex-wrap:wrap}.udex-pagination--short .udex-pagination__list{gap:var(--udex-pagination-short-item-gap)}.udex-pagination__item{cursor:pointer;display:inline-block;position:relative}.udex-pagination__item a{text-decoration:none;display:flex}:host([desktop]) .udex-pagination__item a:focus,.udex-pagination__item a:focus-visible{outline:solid var(--udexSpacer2, 2px) var(--udexColorBlue10, #002A86);outline-offset:var(--udexSpacer2, 2px);border-radius:var(--udexRadiusXXS, 2px)}.udex-pagination__page{display:block;padding:0 var(--udex-pagination-item-paddings) var(--udex-pagination-item-active-border-width) var(--udex-pagination-item-paddings);color:var(--udex-pagination-item-text-color)}.udex-pagination--mobile .udex-pagination__page{padding:var(--udex-pagination-mobile-item-paddings)}.udex-pagination__item--first a,.udex-pagination__item--last a,.udex-pagination__item--prev a,.udex-pagination__item--next a{padding:var(--udex-pagination-item-paddings)}.udex-pagination__page--value{display:block;position:relative;padding:var(--udex-pagination-item-inner-paddings);line-height:var(--udex-pagination-item-line-height)}.udex-pagination__page:not([active]):hover{background-color:var(--udex-pagination-item-active-background-color);color:var(--udex-pagination-item-active-text-color);border-radius:4px}.udex-pagination__page:hover,.udex-pagination__page:visited{color:var(--udex-pagination-item-text-color)}.udex-pagination__page[active]{color:var(--udex-pagination-item-active-text-color)}.udex-pagination__page[active] .udex-pagination__page--value:after{content:"";position:absolute;bottom:calc(-1 * var(--udex-pagination-item-active-border-width));left:0;right:0;height:var(--udex-pagination-item-active-border-width);background-color:var(--udex-pagination-item-active-border-color)}.udex-pagination__item--short{gap:var(--udex-pagination-short-item-gap);direction:inherit}.udex-pagination--rtl .udex-pagination__item--short{display:flex;white-space-collapse:preserve}.udex-pagination__item--short{color:var(--udex-pagination-item-active-text-color)}.udex-pagination__item--short-separator{padding:var(--udex-pagination-short-separator-paddings);margin:var(--udex-pagination-short-separator-margin)}.udex-pagination__item--short-value{padding:var(--udex-pagination-short-item-paddings)}[udex-button][aria-disabled=true]:focus,[udex-button][aria-disabled=true]:focus-visible,[udex-button][_aria-disabled]:focus,[udex-button][_aria-disabled]:focus-visible{outline:2px solid #002A86;outline-offset:-4px}.hidden{position:absolute;width:0px;height:0px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0;padding:0}
|
|
11
11
|
`};
|
|
12
12
|
export default styleData;
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
|
|
|
7
7
|
registerThemePropertiesLoader("@ui5/webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
|
|
8
8
|
registerThemePropertiesLoader("@sapudex/web-components", "sap_horizon", async () => defaultTheme);
|
|
9
9
|
|
|
10
|
-
const styleData: StyleData = {packageName:"@sapudex/web-components",fileName:"themes/RatingIndicator.css.ts",content:`:host{--udex_rating_indicator_readonly_item_width: 1.5rem;--udex_rating_indicator_readonly_item_height: 1.5rem;--udex_rating_indicator_item_width: 1.5rem;--udex_rating_indicator_item_height: 1.5rem;--udex_rating_indicator_mobile_item_padding: 10px;--udex_rating_indicator_disabled_opacity: .4;--udex-rating_indicator_items_gap: 8px;--udex-rating_indicator_mobile_items_gap: 8px;--udex-rating_indicator_rated_color: var(--sapContent_RatedColor, #E76500);--udex-rating_indicator_unrated_color: var(--sapContent_RatedColor, #E76500);--udex-rating_indicator_read-only-unrated_color: var(--udexColorGrey6 ,#5B738B);--udex-rating_indicator_disabled-unrated_color: var(--udexColorMango6, #E76500);--udex-rating_indicator_rated_hover_color: var(--udexColorMango7, #C35500);--udex-rating_indicator_unrated_hover_color: var(--udexColorMango7, #C35500)}.udex-rating-indicator{font-family:var(--sapFontFamily);font-size:var(--sapFontSize, 16px)}:host(:not([hidden])){display:inline-flex;margin:var(--_ui5-v0-
|
|
10
|
+
const styleData: StyleData = {packageName:"@sapudex/web-components",fileName:"themes/RatingIndicator.css.ts",content:`:host{--udex_rating_indicator_readonly_item_width: 1.5rem;--udex_rating_indicator_readonly_item_height: 1.5rem;--udex_rating_indicator_item_width: 1.5rem;--udex_rating_indicator_item_height: 1.5rem;--udex_rating_indicator_mobile_item_padding: 10px;--udex_rating_indicator_disabled_opacity: .4;--udex-rating_indicator_items_gap: 8px;--udex-rating_indicator_mobile_items_gap: 8px;--udex-rating_indicator_rated_color: var(--sapContent_RatedColor, #E76500);--udex-rating_indicator_unrated_color: var(--sapContent_RatedColor, #E76500);--udex-rating_indicator_read-only-unrated_color: var(--udexColorGrey6 ,#5B738B);--udex-rating_indicator_disabled-unrated_color: var(--udexColorMango6, #E76500);--udex-rating_indicator_rated_hover_color: var(--udexColorMango7, #C35500);--udex-rating_indicator_unrated_hover_color: var(--udexColorMango7, #C35500)}.udex-rating-indicator{font-family:var(--sapFontFamily);font-size:var(--sapFontSize, 16px)}:host(:not([hidden])){display:inline-flex;margin:var(--_ui5-v0-227-0_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:var(--udex_rating_indicator_disabled_opacity);cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .udex-rating-indicator__item-unsel,:host([readonly]) .udex-rating-indicator__item-unsel{width:var(--udex_rating_indicator_readonly_item_width);height:var(--udex_rating_indicator_readonly_item_height);padding-inline:0}:host([disabled]) .udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_disabled-unrated_color)}:host([readonly]) .udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_read-only-unrated_color)}:host([_focused]){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:.125rem;border-radius:.25rem}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.udex-rating-indicator{outline:none;position:relative;display:inline-flex;gap:12px;align-items:center}.udex-rating-indicator__total{color:var(--udexColorGrey6);line-height:24px}.udex-rating-indicator__list{list-style-type:none;display:flex;align-items:center;margin:0;padding:0}.udex-rating-indicator__item{position:relative;width:var(--udex_rating_indicator_item_width);height:var(--udex_rating_indicator_item_height)}.udex-rating-indicator__item:not(:last-child){margin-inline-end:var(--udex-rating_indicator_items_gap)}.udex-rating-indicator__item [ui5-icon]{width:100%;height:100%;color:inherit;user-select:none}.udex-rating-indicator__item.udex-rating-indicator__item-sel{color:var(--udex-rating_indicator_rated_color)}.udex-rating-indicator__item.udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_unrated_color)}.udex-rating-indicator__item.udex-rating-indicator__item-half{color:var(--udex-rating_indicator_rated_color)}.udex-rating-indicator__item [ui5-icon].udex-rating-indicator__half-icon{position:absolute;inset-inline-start:50%;color:var(--udex-rating_indicator_rated_color)}:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__item-sel,:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__half-icon,:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__item-half{color:var(--udex-rating_indicator_rated_hover_color)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:1}:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_unrated_hover_color)}.udex-rating-indicator__half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden}.udex-rating-indicator--mobile .udex-rating-indicator__half-icon-wrapper{top:var(--udex_rating_indicator_mobile_item_padding)}.udex-rating-indicator--mobile .udex-rating-indicator__item [ui5-icon].udex-rating-indicator__half-icon{height:var(--udex_rating_indicator_item_height)}.udex-rating-indicator--mobile .udex-rating-indicator__item{padding:var(--udex_rating_indicator_mobile_item_padding)}:host([readonly]) .udex-rating-indicator--mobile .udex-rating-indicator__item-unsel,:host([disabled]) .udex-rating-indicator--mobile .udex-rating-indicator__item-unsel{padding-left:var(--udex_rating_indicator_mobile_item_padding);padding-right:var(--udex_rating_indicator_mobile_item_padding)}.udex-rating-indicator--mobile .udex-rating-indicator__item:not(:last-child){margin-inline-end:var(--udex-rating_indicator_mobile_items_gap)}
|
|
11
11
|
`};
|
|
12
12
|
export default styleData;
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
|
|
|
7
7
|
registerThemePropertiesLoader("@ui5/webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
|
|
8
8
|
registerThemePropertiesLoader("@sapudex/web-components", "sap_horizon", async () => defaultTheme);
|
|
9
9
|
|
|
10
|
-
const styleData: StyleData = {packageName:"@sapudex/web-components",fileName:"themes/Slider.css.ts",content:`:host{--udex-slider-color-track-start-point: var( --sapSlider_Selected_Background, #0070f2 );--udex-slider-color-track-active: var( --sapSlider_Selected_Background, #0070f2 );--udex-slider-color-handle-focus-range: var( --sapSlider_Selected_BorderColor, #0070f2 );--udex-slider-color-handle-active-background: var( --sapSlider_Active_HandleBackground, #ffffff );--udex-slider-color-handle-default-icon: var( --sapContent_Selected_ForegroundColor, #0040b0 );--udex-slider-radius-range-size: var(---udexRadiusM, .5rem)}:host{font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyNavigationRegularMFontSize, 14px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);color:var(--sapContent_MeasureIndicatorColor, #5b738b);height:74px}.ui5-slider-progress-container:before{background-color:var(--udex-slider-color-track-start-point)}.ui5-slider-progress{background-color:var(--udex-slider-color-track-active)}.ui5-slider-progress:focus:after{border:2px solid var(--udex-slider-color-handle-focus-range);border-radius:var(--udex-slider-radius-range-size)}:host([desktop]) .ui5-slider-handle:focus,.ui5-slider-handle:focus-visible{background-color:var(--_ui5-v0-
|
|
10
|
+
const styleData: StyleData = {packageName:"@sapudex/web-components",fileName:"themes/Slider.css.ts",content:`:host{--udex-slider-color-track-start-point: var( --sapSlider_Selected_Background, #0070f2 );--udex-slider-color-track-active: var( --sapSlider_Selected_Background, #0070f2 );--udex-slider-color-handle-focus-range: var( --sapSlider_Selected_BorderColor, #0070f2 );--udex-slider-color-handle-active-background: var( --sapSlider_Active_HandleBackground, #ffffff );--udex-slider-color-handle-default-icon: var( --sapContent_Selected_ForegroundColor, #0040b0 );--udex-slider-radius-range-size: var(---udexRadiusM, .5rem)}:host{font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyNavigationRegularMFontSize, 14px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);color:var(--sapContent_MeasureIndicatorColor, #5b738b);height:74px}.ui5-slider-progress-container:before{background-color:var(--udex-slider-color-track-start-point)}.ui5-slider-progress{background-color:var(--udex-slider-color-track-active)}.ui5-slider-progress:focus:after{border:2px solid var(--udex-slider-color-handle-focus-range);border-radius:var(--udex-slider-radius-range-size)}:host([desktop]) .ui5-slider-handle:focus,.ui5-slider-handle:focus-visible{background-color:var(--_ui5-v0-227-0_range_slider_handle_background_focus)}:host .ui5-slider-inner .ui5-slider-labels{top:34px}:host .ui5-slider-inner .ui5-slider-labels li{height:1.375rem;font-family:var(--sapFontFamily);font-size:var(--udexTypographyNavigationRegularMFontSize, 14px)}[slider-icon]{color:var(--udex-slider-color-handle-default-icon)}
|
|
11
11
|
`};
|
|
12
12
|
export default styleData;
|
|
13
13
|
|
package/src/themes/Button.css
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
--udex-button-icon-text-spacing-small-size: 4px;
|
|
16
16
|
--udex-button-icon-text-spacing-medium-size: 8px;
|
|
17
17
|
--udex-button-icon-text-spacing-large-size: 8px;
|
|
18
|
+
--udex-button-focus-border-radius: 0.375rem;
|
|
18
19
|
--udexTypographyFontWeightMedium: 500;
|
|
19
20
|
|
|
20
21
|
/* Primary design */
|
|
@@ -227,6 +228,10 @@
|
|
|
227
228
|
--udex-button-color-warning-toggled-disabled-text-and-icon: var(--sapButton_Attention_Selected_TextColor, var(--udexCoreSemanticWarning10));
|
|
228
229
|
}
|
|
229
230
|
|
|
231
|
+
:host([desktop][active]) .ui5-button-root:focus-within:before {
|
|
232
|
+
border-radius: var(--udex-button-focus-border-radius);
|
|
233
|
+
}
|
|
234
|
+
|
|
230
235
|
:host {
|
|
231
236
|
display: inline-block;
|
|
232
237
|
font-weight: var(--udexTypographyFontWeightMedium);
|
|
@@ -256,6 +261,8 @@
|
|
|
256
261
|
inset: var(--udex-button-invisible-focus-inset);
|
|
257
262
|
}
|
|
258
263
|
|
|
264
|
+
|
|
265
|
+
|
|
259
266
|
:host,
|
|
260
267
|
:host([size="Medium"]) {
|
|
261
268
|
font-size: var(--udexTypographyNavigationMediumXLFontSize, 1rem);
|
|
@@ -321,17 +328,20 @@
|
|
|
321
328
|
margin-inline-start: 0;
|
|
322
329
|
}
|
|
323
330
|
|
|
324
|
-
:host([size="Small"])::part(icon)
|
|
331
|
+
:host([size="Small"])::part(icon),
|
|
332
|
+
:host([size="Small"])::part(endIcon) {
|
|
325
333
|
height: var(--udex-button-icon-s-size, 14px);
|
|
326
334
|
width: var(--udex-button-icon-s-size, 14px);
|
|
327
335
|
}
|
|
328
336
|
|
|
329
|
-
:host([size="Medium"])::part(icon)
|
|
337
|
+
:host([size="Medium"])::part(icon),
|
|
338
|
+
:host([size="Medium"])::part(endIcon) {
|
|
330
339
|
height: var(--udex-button-icon-m-size, 16px);
|
|
331
340
|
width: var(--udex-button-icon-m-size, 16px);
|
|
332
341
|
}
|
|
333
342
|
|
|
334
|
-
:host([size="Large"])::part(icon)
|
|
343
|
+
:host([size="Large"])::part(icon),
|
|
344
|
+
:host([size="Large"])::part(endIcon) {
|
|
335
345
|
height: var(--udex-button-icon-l-size, 18px);
|
|
336
346
|
width: var(--udex-button-icon-l-size, 18px);
|
|
337
347
|
}
|
|
@@ -373,46 +383,7 @@
|
|
|
373
383
|
:host([design="Negative"]):disabled,
|
|
374
384
|
:host([design="Attention"]):disabled,
|
|
375
385
|
: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 {
|
|
386
|
+
:host([design="Positive"]):disabled {
|
|
416
387
|
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
417
388
|
}
|
|
418
389
|
|
|
@@ -420,6 +391,7 @@
|
|
|
420
391
|
:host,
|
|
421
392
|
:host([design="Emphasized"]),
|
|
422
393
|
:host([design="Primary"]) {
|
|
394
|
+
font-family: var(--sapFontFamily);
|
|
423
395
|
color: var(--udex-button-color-primary-standard-default-text-and-icon);
|
|
424
396
|
background-color: var(--udex-button-color-primary-standard-default-background);
|
|
425
397
|
border: 1px solid var(--udex-button-color-primary-standard-default-border-color);
|
|
@@ -431,36 +403,23 @@
|
|
|
431
403
|
:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
432
404
|
:host([design="Primary"]:not([disabled]):hover),
|
|
433
405
|
:host([design="Primary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
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) {
|
|
406
|
+
:host([design="Primary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered) {
|
|
442
407
|
color: var(--udex-button-color-primary-standard-hover-text-and-icon);
|
|
443
408
|
background-color: var(--udex-button-color-primary-standard-hover-background);
|
|
444
409
|
border: 1px solid var(--udex-button-color-primary-standard-hover-border-color);
|
|
445
410
|
}
|
|
446
411
|
|
|
447
|
-
:host([active]:not([disabled]))
|
|
448
|
-
:host([design="Emphasized"][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"]) {
|
|
412
|
+
:host([active]:not([disabled])),
|
|
413
|
+
:host([design="Emphasized"][active]:not([disabled])),
|
|
414
|
+
:host([design="Primary"][active]:not([disabled])) {
|
|
453
415
|
color: var(--udex-button-color-primary-standard-active-text-and-icon);
|
|
454
416
|
background-color: var(--udex-button-color-primary-standard-active-background);
|
|
455
417
|
border: 1px solid var(--udex-button-color-primary-standard-active-border);
|
|
456
418
|
}
|
|
457
419
|
|
|
458
|
-
:host:disabled,
|
|
459
|
-
:host([design="Emphasized"]
|
|
460
|
-
:host([design="Primary"]
|
|
461
|
-
:host([_aria-disabled]),
|
|
462
|
-
:host([design="Emphasized"][_aria-disabled]),
|
|
463
|
-
:host([design="Primary"][_aria-disabled]) {
|
|
420
|
+
:host:disabled ,
|
|
421
|
+
:host([design="Emphasized"]):disabled ,
|
|
422
|
+
:host([design="Primary"]):disabled {
|
|
464
423
|
color: var(--udex-button-color-primary-standard-disabled-text-and-icon);
|
|
465
424
|
background-color: var(--udex-button-color-primary-standard-disabled-background);
|
|
466
425
|
border: 1px solid var(--udex-button-color-primary-standard-disabled-background);
|
|
@@ -475,12 +434,9 @@
|
|
|
475
434
|
border: 1px solid var(--udex-button-color-primary-toggled-default-border);
|
|
476
435
|
}
|
|
477
436
|
|
|
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) {
|
|
437
|
+
:host([toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) ,
|
|
438
|
+
:host([design="Emphasized"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) ,
|
|
439
|
+
:host([design="Primary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
484
440
|
color: var(--udex-button-color-primary-toggled-hover-text-and-icon);
|
|
485
441
|
background-color: var(--udex-button-color-primary-toggled-hover-background);
|
|
486
442
|
border: 1px solid var(--udex-button-color-primary-toggled-hover-border);
|
|
@@ -488,10 +444,7 @@
|
|
|
488
444
|
|
|
489
445
|
:host([toggled]):disabled,
|
|
490
446
|
: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]) {
|
|
447
|
+
:host([design="Primary"][toggled]):disabled {
|
|
495
448
|
color: var(--udex-button-color-primary-toggled-disabled-text-and-icon);
|
|
496
449
|
background-color: var(--udex-button-color-primary-toggled-disabled-background);
|
|
497
450
|
border: 1px solid var(--udex-button-color-primary-toggled-disabled-border);
|
|
@@ -510,38 +463,28 @@
|
|
|
510
463
|
:host([design="Default"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
511
464
|
:host([design="Secondary"]:not([disabled]):hover),
|
|
512
465
|
:host([design="Secondary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
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) {
|
|
466
|
+
:host([design="Secondary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered) {
|
|
520
467
|
color: var(--udex-button-color-secondary-standard-hover-text-and-icon);
|
|
521
468
|
background-color: var(--udex-button-color-secondary-standard-hover-background);
|
|
522
469
|
border: 1px solid var(--udex-button-color-secondary-standard-hover-border);
|
|
523
470
|
}
|
|
524
471
|
|
|
525
472
|
: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"]) {
|
|
473
|
+
:host([design="Secondary"][active]:not([disabled])) {
|
|
529
474
|
color: var(--udex-button-color-secondary-standard-active-text-and-icon);
|
|
530
475
|
background-color: var(--udex-button-color-secondary-standard-active-background);
|
|
531
476
|
border: 1px solid var(--udex-button-color-secondary-standard-active-border);
|
|
532
477
|
}
|
|
533
478
|
|
|
534
|
-
:host([design="Default"]):disabled,
|
|
535
|
-
:host([design="Secondary"]):disabled
|
|
536
|
-
:host([design="Default"][_aria-disabled]),
|
|
537
|
-
:host([design="Secondary"][_aria-disabled]) {
|
|
479
|
+
:host([design="Default"]):disabled ,
|
|
480
|
+
:host([design="Secondary"]):disabled {
|
|
538
481
|
color: var(--udex-button-color-secondary-standard-disabled-text-and-icon);
|
|
539
482
|
background-color: var(--udex-button-color-secondary-standard-disabled-background);
|
|
540
483
|
border: 1px solid var(--udex-button-color-secondary-standard-disabled-border);
|
|
541
484
|
}
|
|
542
485
|
|
|
543
486
|
/*Secondary toggled*/
|
|
544
|
-
:host([design="Default"][toggled])
|
|
487
|
+
:host([design="Default"][toggled]),
|
|
545
488
|
:host([design="Secondary"][toggled]) {
|
|
546
489
|
color: var(--udex-button-color-secondary-toggled-default-text-and-icon);
|
|
547
490
|
background-color: var(--udex-button-color-secondary-toggled-default-background);
|
|
@@ -549,18 +492,14 @@
|
|
|
549
492
|
}
|
|
550
493
|
|
|
551
494
|
: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) {
|
|
495
|
+
:host([design="Secondary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
555
496
|
color: var(--udex-button-color-secondary-toggled-hover-text-and-icon);
|
|
556
497
|
background-color: var(--udex-button-color-secondary-toggled-hover-background);
|
|
557
498
|
border: 1px solid var(--sapButton_Selected_Hover_BorderColor);
|
|
558
499
|
}
|
|
559
500
|
|
|
560
501
|
: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]) {
|
|
502
|
+
:host([design="Secondary"][toggled]):disabled {
|
|
564
503
|
color: var(--udex-button-color-secondary-toggled-disabled-text-and-icon);
|
|
565
504
|
background-color: var(--udex-button-color-secondary-toggled-disabled-background);
|
|
566
505
|
border: 1px solid var(--udex-button-color-secondary-toggled-disabled-border);
|
|
@@ -579,31 +518,21 @@
|
|
|
579
518
|
:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
580
519
|
:host([design="Tertiary"]:not([disabled]):hover),
|
|
581
520
|
:host([design="Tertiary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
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) {
|
|
521
|
+
:host([design="Tertiary"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered) {
|
|
589
522
|
color: var(--udex-button-color-tertiary-standard-hover-text-and-icon);
|
|
590
523
|
background-color: var(--udex-button-color-tertiary-standard-hover-background);
|
|
591
524
|
border: 1px solid var(--udex-button-color-tertiary-standard-hover-border);
|
|
592
525
|
}
|
|
593
526
|
|
|
594
527
|
:host([design="Transparent"][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"]) {
|
|
528
|
+
:host([design="Tertiary"][active]:not([disabled])) {
|
|
598
529
|
color: var(--udex-button-color-tertiary-standard-active-text-and-icon);
|
|
599
530
|
background-color: var(--udex-button-color-tertiary-standard-active-background);
|
|
600
531
|
border: 1px solid var(--udex-button-color-tertiary-standard-active-border);
|
|
601
532
|
}
|
|
602
533
|
|
|
603
534
|
:host([design="Transparent"]):disabled,
|
|
604
|
-
:host([design="Tertiary"]):disabled
|
|
605
|
-
:host([design="Transparent"][_aria-disabled]),
|
|
606
|
-
:host([design="Tertiary"][_aria-disabled]) {
|
|
535
|
+
:host([design="Tertiary"]):disabled {
|
|
607
536
|
color: var(--udex-button-color-tertiary-standard-disabled-text-and-icon);
|
|
608
537
|
background-color: var(--udex-button-color-tertiary-standard-disabled-background);
|
|
609
538
|
border: 1px solid var(--udex-button-color-tertiary-standard-disabled-border);
|
|
@@ -618,18 +547,14 @@
|
|
|
618
547
|
}
|
|
619
548
|
|
|
620
549
|
:host([design="Transparent"][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) {
|
|
550
|
+
:host([design="Tertiary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
624
551
|
color: var(--udex-button-color-tertiary-toggled-hover-text-and-icon);
|
|
625
552
|
background-color: var(--udex-button-color-tertiary-toggled-hover-background);
|
|
626
553
|
border: 1px solid var(--udex-button-color-tertiary-toggled-hover-border);
|
|
627
554
|
}
|
|
628
555
|
|
|
629
556
|
:host([design="Transparent"][toggled]):disabled,
|
|
630
|
-
:host([design="Tertiary"][toggled]):disabled
|
|
631
|
-
:host([design="Transparent"][toggled][_aria-disabled])
|
|
632
|
-
:host([design="Tertiary"][_aria-disabled]) {
|
|
557
|
+
:host([design="Tertiary"][toggled]):disabled {
|
|
633
558
|
color: var(--udex-button-color-tertiary-toggled-disabled-text-and-icon);
|
|
634
559
|
background-color: var(--udex-button-color-tertiary-toggled-disabled-background);
|
|
635
560
|
border: 1px solid var(--udex-button-color-tertiary-toggled-disabled-border);
|
|
@@ -655,24 +580,19 @@
|
|
|
655
580
|
|
|
656
581
|
:host([design="Invisible"]:not([disabled]):hover),
|
|
657
582
|
:host([design="Invisible"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
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) {
|
|
583
|
+
:host([design="Invisible"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered) {
|
|
662
584
|
color: var(--udex-button-color-invisible-standard-hover-text-and-icon);
|
|
663
585
|
background-color: var(--udex-button-color-invisible-standard-hover-background);
|
|
664
586
|
border: none;
|
|
665
587
|
}
|
|
666
588
|
|
|
667
|
-
:host([design="Invisible"][active]:not([disabled]))
|
|
668
|
-
:host([design="Invisible"][active][_aria-disabled="false"]) {
|
|
589
|
+
:host([design="Invisible"][active]:not([disabled])) {
|
|
669
590
|
color: var(--udex-button-color-invisible-standard-active-text-and-icon);
|
|
670
591
|
background-color: var(--udex-button-color-invisible-standard-active-background);
|
|
671
592
|
border: none;
|
|
672
593
|
}
|
|
673
594
|
|
|
674
|
-
:host([design="Invisible"]):disabled
|
|
675
|
-
:host([design="Invisible"][_aria-disabled]) {
|
|
595
|
+
:host([design="Invisible"]):disabled {
|
|
676
596
|
color: var(--udex-button-color-invisible-standard-disabled-text-and-icon);
|
|
677
597
|
background-color: var(--udex-button-color-invisible-standard-disabled-background);
|
|
678
598
|
border: none;
|
|
@@ -687,24 +607,19 @@
|
|
|
687
607
|
|
|
688
608
|
:host([design="Positive"]:not([disabled]):hover),
|
|
689
609
|
:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
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) {
|
|
610
|
+
:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered) {
|
|
694
611
|
color: var(--udex-button-color-positive-standard-hover-text-and-icon);
|
|
695
612
|
background-color: var(--udex-button-color-positive-standard-hover-background);
|
|
696
613
|
border: 1px solid var(--udex-button-color-positive-standard-hover-border);
|
|
697
614
|
}
|
|
698
615
|
|
|
699
|
-
:host([design=Positive][active]:not([disabled]))
|
|
700
|
-
:host([design=Positive][active][_aria-disabled="false"]) {
|
|
616
|
+
:host([design=Positive][active]:not([disabled])) {
|
|
701
617
|
color: var(--udex-button-color-positive-standard-active-text-and-icon);
|
|
702
618
|
background-color: var(--udex-button-color-positive-standard-active-background);
|
|
703
619
|
border: 1px solid var(--udex-button-color-positive-standard-active-border);
|
|
704
620
|
}
|
|
705
621
|
|
|
706
|
-
:host([design=Positive]):disabled
|
|
707
|
-
:host([design=Positive][_aria-disabled]) {
|
|
622
|
+
:host([design=Positive]):disabled {
|
|
708
623
|
color: var(--udex-button-color-positive-standard-disabled-text-and-icon);
|
|
709
624
|
background-color: var(--udex-button-color-positive-standard-disabled-background);
|
|
710
625
|
border: 1px solid var(--udex-button-color-positive-standard-disabled-border);
|
|
@@ -717,15 +632,13 @@
|
|
|
717
632
|
border: 1px solid var(--udex-button-color-positive-toggled-default-border);
|
|
718
633
|
}
|
|
719
634
|
|
|
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) {
|
|
635
|
+
:host([design=Positive][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
722
636
|
color: var(--udex-button-color-positive-toggled-hover-text-and-icon);
|
|
723
637
|
background-color: var(--udex-button-color-positive-toggled-hover-background);
|
|
724
638
|
border: 1px solid var(--udex-button-color-positive-toggled-hover-border);
|
|
725
639
|
}
|
|
726
640
|
|
|
727
|
-
:host([design=Positive][toggled]):disabled
|
|
728
|
-
:host([design=Positive][toggled][_aria-disabled]) {
|
|
641
|
+
:host([design=Positive][toggled]):disabled {
|
|
729
642
|
color: var(--udex-button-color-positive-toggled-disabled-text-and-icon);
|
|
730
643
|
background-color: var(--udex-button-color-positive-toggled-disabled-background);
|
|
731
644
|
border: 1px solid var(--udex-button-color-positive-toggled-disabled-border);
|
|
@@ -740,10 +653,7 @@
|
|
|
740
653
|
|
|
741
654
|
:host([design="Negative"]:not([disabled]):hover),
|
|
742
655
|
:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
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) {
|
|
656
|
+
:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered) {
|
|
747
657
|
color: var(--udex-button-color-negative-standard-hover-text-and-icon);
|
|
748
658
|
background-color: var(--udex-button-color-negative-standard-hover-background);
|
|
749
659
|
border: 1px solid var(--udex-button-color-negative-standard-hover-border);
|
|
@@ -756,8 +666,7 @@
|
|
|
756
666
|
border: 1px solid var(--udex-button-color-negative-standard-active-border);
|
|
757
667
|
}
|
|
758
668
|
|
|
759
|
-
:host([design=Negative]):disabled
|
|
760
|
-
:host([design=Negative][_aria-disabled]) {
|
|
669
|
+
:host([design=Negative]):disabled {
|
|
761
670
|
color: var(--udex-button-color-negative-standard-disabled-text-and-icon);
|
|
762
671
|
background-color: var(--udex-button-color-negative-standard-disabled-background);
|
|
763
672
|
border: 1px solid var(--udex-button-color-negative-standard-disabled-border);
|
|
@@ -770,15 +679,13 @@
|
|
|
770
679
|
border: 1px solid var(--udex-button-color-negative-toggled-default-border);
|
|
771
680
|
}
|
|
772
681
|
|
|
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) {
|
|
682
|
+
:host([design=Negative][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
775
683
|
color: var(--udex-button-color-negative-toggled-hover-text-and-icon);
|
|
776
684
|
background-color: var(--udex-button-color-negative-toggled-hover-background);
|
|
777
685
|
border: 1px solid var(--udex-button-color-negative-toggled-hover-border);
|
|
778
686
|
}
|
|
779
687
|
|
|
780
|
-
:host([design=Negative][toggled]):disabled
|
|
781
|
-
:host([design=Negative][toggled][_aria-disabled]){
|
|
688
|
+
:host([design=Negative][toggled]):disabled {
|
|
782
689
|
color: var(--udex-button-color-negative-toggled-disabled-text-and-icon);
|
|
783
690
|
background-color: var(--udex-button-color-negative-toggled-disabled-background);
|
|
784
691
|
border: 1px solid var(--udex-button-color-negative-toggled-disabled-border);
|
|
@@ -797,38 +704,28 @@
|
|
|
797
704
|
:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered),
|
|
798
705
|
:host([design="Warning"]:not([disabled]):hover),
|
|
799
706
|
:host([design="Warning"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover),
|
|
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) {
|
|
707
|
+
:host([design="Warning"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]).ui5_hovered) {
|
|
807
708
|
color: var(--udex-button-color-warning-standard-hover-text-and-icon);
|
|
808
709
|
background-color: var(--udex-button-color-warning-standard-hover-background);
|
|
809
710
|
border: 1px solid var(--udex-button-color-warning-standard-hover-border);
|
|
810
711
|
}
|
|
811
712
|
|
|
812
713
|
: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"]) {
|
|
714
|
+
:host([design="Warning"][active]:not([disabled])) {
|
|
816
715
|
color: var(--udex-button-color-warning-standard-active-text-and-icon);
|
|
817
716
|
background-color: var(--udex-button-color-warning-standard-active-background);
|
|
818
717
|
border: 1px solid var(--udex-button-color-warning-standard-active-border);
|
|
819
718
|
}
|
|
820
719
|
|
|
821
|
-
:host([design="Attention"]):disabled,
|
|
822
|
-
:host([design="Warning"]):disabled
|
|
823
|
-
:host([design="Attention"][_aria-disabled]),
|
|
824
|
-
:host([design="Warning"][_aria-disabled]) {
|
|
720
|
+
:host([design="Attention"]):disabled ,
|
|
721
|
+
:host([design="Warning"]):disabled {
|
|
825
722
|
color: var(--udex-button-color-warning-standard-disabled-text-and-icon);
|
|
826
723
|
background-color: var(--udex-button-color-warning-standard-disabled-background);
|
|
827
724
|
border: 1px solid var(--udex-button-color-warning-standard-disabled-border);
|
|
828
725
|
}
|
|
829
726
|
|
|
830
727
|
/*Warning toggled*/
|
|
831
|
-
:host([design="Attention"][toggled]),
|
|
728
|
+
:host([design="Attention"][toggled]) ,
|
|
832
729
|
:host([design="Warning"][toggled]) {
|
|
833
730
|
color: var(--udex-button-color-warning-toggled-default-text-and-icon);
|
|
834
731
|
background-color: var(--udex-button-color-warning-toggled-default-background);
|
|
@@ -836,25 +733,56 @@
|
|
|
836
733
|
}
|
|
837
734
|
|
|
838
735
|
: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) {
|
|
736
|
+
:host([design="Warning"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
842
737
|
color: var(--udex-button-color-warning-toggled-hover-text-and-icon);
|
|
843
738
|
background-color: var(--udex-button-color-warning-toggled-hover-background);
|
|
844
739
|
border: 1px solid var(--udex-button-color-warning-toggled-hover-border);
|
|
845
740
|
}
|
|
846
741
|
|
|
847
742
|
:host([design="Attention"][toggled]):disabled,
|
|
848
|
-
:host([design="Warning"][toggled]):disabled
|
|
849
|
-
:host([design="Attention"][toggled][_aria-disabled]),
|
|
850
|
-
:host([design="Warning"][toggled][_aria-disabled]) {
|
|
743
|
+
:host([design="Warning"][toggled]):disabled {
|
|
851
744
|
color: var(--udex-button-color-warning-toggled-disabled-text-and-icon);
|
|
852
745
|
background-color: var(--udex-button-color-warning-toggled-disabled-background);
|
|
853
746
|
border: 1px solid var(--udex-button-color-warning-toggled-disabled-border);
|
|
854
747
|
}
|
|
855
748
|
|
|
856
|
-
.
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
749
|
+
:host([aria-disabled="true"][design="Tertiary"]) .ui5-button-root,
|
|
750
|
+
:host([_aria-disabled][design="Tertiary"]) .ui5-button-root,
|
|
751
|
+
:host([design="Tertiary"][_aria-disabled][active]),
|
|
752
|
+
:host([design="Tertiary"][aria-disabled="true"][active]) {
|
|
753
|
+
color: var(--udex-button-color-tertiary-standard-disabled-text-and-icon);
|
|
754
|
+
background-color: var(--udex-button-color-tertiary-standard-disabled-background);
|
|
755
|
+
border: 1px solid var(--udex-button-color-tertiary-standard-disabled-border);
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
:host([aria-disabled="true"][design="Tertiary"]) .ui5-button-root,
|
|
759
|
+
:host([_aria-disabled][design="Tertiary"]) .ui5-button-root {
|
|
760
|
+
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
:host([design="Tertiary"][aria-disabled="true"]:not([active]):not([non-interactive]):not([_is-touch]):not([toggled]):hover),
|
|
764
|
+
:host([design="Tertiary"][aria-disabled="true"][active]:not([non-interactive]):not([_is-touch]):not([toggled]))
|
|
765
|
+
:host([design="Tertiary"][_aria-disabled][active]:not([non-interactive]):not([_is-touch]):not([toggled])),
|
|
766
|
+
:host([design="Tertiary"][_aria-disabled]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):not([toggled]):hover) {
|
|
767
|
+
color: var(--udex-button-color-tertiary-standard-disabled-text-and-icon);
|
|
768
|
+
background-color: var(--udex-button-color-tertiary-standard-disabled-background);
|
|
769
|
+
border: 1px solid var(--udex-button-color-tertiary-standard-disabled-border);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
:host([design="Tertiary"][aria-disabled="true"][active]:not([non-interactive]):not([_is-touch]):not([toggled])),
|
|
773
|
+
:host([design="Tertiary"][_aria-disabled][active]:not([disabled])),
|
|
774
|
+
:host([desktop][design="Tertiary"][aria-disabled="true"][active]:not([non-interactive]):not([_is-touch]):not([toggled])),
|
|
775
|
+
:host([desktop][design="Tertiary"][_aria-disabled][active]) {
|
|
776
|
+
border: none;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
:host([desktop][design="Tertiary"][_aria-disabled]) .ui5-button-root::after,
|
|
780
|
+
:host([desktop][design="Tertiary"][_aria-disabled]) .ui5-button-root::before,
|
|
781
|
+
:host([desktop][active][design="Tertiary"][_aria-disabled]) .ui5-button-root::after,
|
|
782
|
+
:host([desktop][active][design="Tertiary"][_aria-disabled]) .ui5-button-root::before,
|
|
783
|
+
:host([desktop][design="Tertiary"][aria-disabled="true"]) .ui5-button-root::after,
|
|
784
|
+
:host([desktop][design="Tertiary"][aria-disabled="true"]) .ui5-button-root::before,
|
|
785
|
+
:host([desktop][active][design="Tertiary"][aria-disabled="true"]) .ui5-button-root::after,
|
|
786
|
+
:host([desktop][active][design="Tertiary"][aria-disabled="true"]) .ui5-button-root::before {
|
|
787
|
+
content: none;
|
|
860
788
|
}
|
|
@@ -7,18 +7,17 @@
|
|
|
7
7
|
--udex-masthead-country-selector-desktop-max-height: 375px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
:host([_is-mobile-mode]) .udex-masthead-country-selector__list_countries {
|
|
11
|
-
max-height: initial;
|
|
12
|
-
overflow: initial;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
10
|
:host([_is-mobile-mode]) .udex-masthead-country-selector__item_countries {
|
|
16
11
|
--udex-masthead-menu-item-padding-desktop: var(--udexSpacer16) var(--udexSpacer12) var(--udexSpacer16) var(--udexSpacer8);
|
|
17
12
|
border-bottom: 1px solid var(--udex-masthead-menu-item-border-color);
|
|
13
|
+
max-height: initial;
|
|
14
|
+
overflow: initial;
|
|
18
15
|
}
|
|
19
16
|
|
|
20
17
|
:host([_is-mobile-mode]) .udex-masthead-country-selector {
|
|
21
18
|
padding: var(--udex-masthead-country-selector-padding-l);
|
|
19
|
+
min-height: 100%;
|
|
20
|
+
box-sizing: border-box;
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
.udex-masthead-country-selector {
|
|
@@ -79,6 +78,10 @@
|
|
|
79
78
|
overflow: auto;
|
|
80
79
|
}
|
|
81
80
|
|
|
81
|
+
:host([_is-mobile-mode]) .udex-masthead-country-selector__list_countries {
|
|
82
|
+
max-height: initial;
|
|
83
|
+
}
|
|
84
|
+
|
|
82
85
|
@media (max-width: 1279px) {
|
|
83
86
|
.udex-masthead-country-selector {
|
|
84
87
|
padding: var(--udex-masthead-country-selector-padding-l);
|