@sapudex/web-components 0.226.1 → 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/Breadcrumbs.js +3 -2
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/Button.d.ts +7 -0
- package/dist/Button.js +3 -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/MastheadShell.d.ts +4 -1
- package/dist/MastheadShell.js +21 -5
- package/dist/MastheadShell.js.map +1 -1
- package/dist/Pagination.d.ts +18 -2
- package/dist/Pagination.js +35 -11
- 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/Search.js +1 -2
- package/dist/Search.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/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/Wizard.d.ts +20 -0
- package/dist/Wizard.js +21 -6
- package/dist/Wizard.js.map +1 -1
- package/dist/assets/{bundle.esm-a49b6527.js → bundle.esm-8018708a.js} +182 -182
- package/dist/css/themes/Breadcrumbs.css +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/ListItem.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/Search.css +1 -1
- package/dist/css/themes/Slider.css +1 -1
- package/dist/custom-elements-internal.json +202 -66
- package/dist/custom-elements.json +181 -64
- 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/BreadcrumbsTemplate.lit.js +1 -1
- package/dist/generated/templates/BreadcrumbsTemplate.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/PhoneNumberFieldTemplate.lit.js +2 -2
- package/dist/generated/templates/PhoneNumberFieldTemplate.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/templates/WizardTemplate.lit.js +5 -3
- package/dist/generated/templates/WizardTemplate.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/ListItem.css.js +1 -1
- package/dist/generated/themes/ListItem.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/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/vscode.html-custom-data.json +25 -0
- package/dist/web-types.json +41 -1
- package/package.json +1 -1
- package/src/Breadcrumbs.hbs +10 -12
- package/src/Breadcrumbs.ts +3 -2
- package/src/Button.ts +9 -0
- package/src/ListItem.ts +4 -4
- package/src/MastheadItem.ts +1 -1
- package/src/MastheadShell.ts +25 -5
- package/src/Pagination.hbs +11 -5
- package/src/Pagination.ts +51 -8
- package/src/PhoneNumberField.hbs +1 -1
- package/src/PhoneNumberField.ts +8 -3
- package/src/Search.hbs +3 -2
- package/src/Search.ts +1 -2
- package/src/SearchableListBase.ts +18 -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/Wizard.hbs +9 -1
- package/src/Wizard.ts +39 -7
- package/src/data/CountryListISO3166.ts +10 -2
- package/src/generated/templates/BreadcrumbsTemplate.lit.ts +1 -1
- package/src/generated/templates/PaginationTemplate.lit.ts +3 -3
- package/src/generated/templates/PhoneNumberFieldTemplate.lit.ts +1 -1
- 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/templates/WizardTemplate.lit.ts +5 -3
- package/src/generated/themes/Breadcrumbs.css.ts +1 -1
- package/src/generated/themes/Button.css.ts +1 -1
- package/src/generated/themes/ListItem.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/Search.css.ts +1 -1
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/themes/Breadcrumbs.css +3 -0
- package/src/themes/Button.css +84 -29
- package/src/themes/ListItem.css +5 -1
- package/src/themes/MastheadCountrySelector.css +8 -5
- package/src/themes/MastheadItem.css +12 -4
- package/src/themes/MastheadShell.css +5 -2
- package/src/themes/Modal.css +6 -1
- package/src/themes/Pagination.css +19 -0
- package/src/themes/Search.css +8 -1
|
@@ -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/Search.css.ts",content:`:host{--udex-input-color-border: var(--sapField_BorderColor, var(--udexColorGrey6));--udex-input-color-label: var(--sapField_PlaceholderTextColor, var(--udexColorGrey7));--udex-input-font-family-label: var(--sapFontFamily, sans-serif);--udex-input-font-size-label: var(--sapFontLargeSize, var(--udexTypographyBodySFontSize));--udex-input-font-weight-label: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label: var(--udexTypographyBodyLineHeight, 24px);--udex-input-background-color: var(--sapList_Hover_Background, var(--udexColorGrey1));--udex-input-font-family-label-active: var(--sapFontFamily, sans-serif);--udex-input-font-size-label-active: var(--sapFontSmallSize, var(--udexTypographyBodyXXSFontSize));--udex-input-font-weight-label-active: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label-active: var(--udexTypographyBodyLineHeight, 1.5);--udex-input-color-typed-text: var(--sapField_TextColor, var(--udexCoreTextDark));--udex-input-color-background-light: var(--sapField_Background, var(--udexColorNeutralWhite));--udex-input-color-hover-border: var(--sapField_Hover_BorderColor, var(--udexColorBlue6));--udex-input-color-active-border: var(--sapField_Active_BorderColor, var(--udexColorBlue9));--udex-input-radius: var(--sapField_BorderCornerRadius, var(--udexRadiusXS));--udex-input-padding-horizontal: var(--udexSpacer12, 12px);--udex-input-padding-vertical: 8px;--udex-home-input-padding-left: var(--udexSpacer12, 12px);--udex-home-input-padding-right: var(--udexSpacer8, 8px);--udex-home-input-padding-vertical: 8px;--udex-button-size: var(--sapFontHeader2Size, 28px);--udex-button-color: var(--sapAccentColor10, var(--udexColorGrey7));--udex-button-non-interactive-icon-color: var(--sapContent_NonInteractiveIconColor, var(--udexColorGrey7));--udex-button-non-interactive-icon-size: var(--sapFontHeader5Size, 18px);--udex-dropdown-border-width: auto;--udex-search-container-padding-inline-end: var(--udexSpacer12, 12px);--udex-search-home-container-padding-inline-end: var(--udexSpacer8, 8px);--udex-search-label-inset-inline-start: var(--udexSpacer12, 12px);--udex-search-icons-column-gap: 0;--udex-search-home-icons-column-gap: var(--udexSpacer4, 4px);--udex-search-label-width: calc( 100% - var(--udex-search-label-inset-inline-start) - var(--udex-input-padding-horizontal) - var(--udex-search-container-padding-inline-end) );display:block;width:100%;position:relative}:host([mode="Standard"]) .udex-search__label.udex-search__label--active{display:none}:host(:not([mode="Home Search"])) .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled,:host(:not([mode="Home Search"])) .udex-search-prefix .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled{display:block;inset-block-start:9px;line-height:18px;transform:translateY(-110%);padding:0 4px;font-family:var(--udex-input-font-family-label-active);font-size:var(--udex-input-font-size-label-active);font-weight:var(--udex-input-font-weight-label-active);line-height:var(--udex-input-line-height-label-active);background-color:#fff}:host([mode="Home Search"]) .udex-search__root,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{--udex-input-radius: var(--udexRadiusXXL, 24px);position:relative;z-index:1}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{display:flex;width:100%;position:relative;z-index:1}:host([mode="Home Search"]) .udex-search-prefix .udex-search__prefix+.udex-search__container{border-start-start-radius:0;border-start-end-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:0;border-end-end-radius:var(--udexRadiusXXL, 24px);flex-grow:1}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{content:"";position:absolute;z-index:-1;height:21px;inset-inline:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 54, 73, .3));overflow-y:hidden}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after,.udex-search__prefix--show-popover-top:after{transform:translateY(-21px)}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__container:not(.udex-search__container--has-value),:host([mode="Home Search"]) .udex-search__container:not(.udex-search__container--has-value) .udex-search__field,:host([mode="Home Search"]) .udex-search-prefix .udex-search__container:not(.udex-search__container--has-value),:host([mode="Home Search"]) .udex-search-prefix .udex-search__container:not(.udex-search__container--has-value) .udex-search__field{background-color:var(--udex-input-background-color)}:host([mode="Home Search"]) .udex-search__label.udex-search__label--active,:host([mode="Home Search"]) .udex-search-prefix .udex-search__label.udex-search__label--active{display:none}.udex-search__container{padding-inline-end:var(--udex-search-container-padding-inline-end);display:flex;align-items:center;position:relative;z-index:1;border:1px solid var(--udex-input-color-border);border-radius:var(--udex-input-radius);background-color:field}.udex-search-mode-home-search .udex-search__container{padding-inline-end:var(--udex-search-home-container-padding-inline-end)}.udex-search__container:not(.udex-search__container--focus):hover{border-color:var(--udex-input-color-hover-border)}.udex-search__container--focus{border-color:var(--udex-input-color-active-border)}:host(:not([_is-touched])[active]) .udex-search__root:before{content:"";position:absolute;inset:-5px;border:2px solid var(--udexColorBlue10);border-radius:var(--udex-input-radius)}:host([mode="Home Search"]:not([_is-touched])[active]) .udex-search__root:before{z-index:-1}.udex-search__field{display:block;width:100%;color:var(--udex-input-color-typed-text);font-size:16px;font-family:var(--sapFontFamily);line-height:24px;padding:var(--udex-input-padding-vertical) var(--udex-input-padding-horizontal);box-sizing:border-box;border:0;border-radius:var(--udex-input-radius);font-weight:var(--udexTypographyFontWeightRegular, 400);background:var(--udex-input-color-background-light)}.udex-search-mode-home-search .udex-search__field{padding:var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-right) var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-left)}.udex-search__field::placeholder{color:var(--udexColorGrey7);font-family:var(--sapFontFamily, sans-serif);font-size:16px}.udex-search__field:focus{outline:none}input[type=search]::-ms-clear{display:none;width:0;height:0}input[type=search]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.udex-search__label{position:absolute;inset-inline-start:var(--udex-search-label-inset-inline-start);z-index:2;color:var(--udex-input-color-label);font-family:var(--udex-input-font-family-label);font-size:var(--udex-input-font-size-label);font-weight:var(--udex-input-font-weight-label);line-height:var(--udex-input-line-height-label);transition:transform .15s ease-out,font-size .15s ease-out;overflow:hidden;white-space:nowrap;max-width:var(--udex-search-label-width)}.udex-search__label-with-search-icon,.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size))}.udex-search__label-with-search-icon.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size) * 2 - var(--udex-search-icons-column-gap))}.udex-search__icons{display:flex;align-items:center;column-gap:var(--udex-search-icons-column-gap)}.udex-search-mode-home-search .udex-search__icons{column-gap:var(--udex-search-home-icons-column-gap)}.udex-search__icon{margin-inline:5px;background-color:transparent;border:none;color:var(--udex-button-non-interactive-icon-color);min-width:var(--udex-button-non-interactive-icon-size);height:var(--udex-button-non-interactive-icon-size);border-radius:50%;position:relative;z-index:1;overflow:visible}.udex-search__button{background-color:transparent;border:none;color:var(--udex-button-color);min-width:var(--udex-button-size);height:var(--udex-button-size);border-radius:50%;position:relative;z-index:1;overflow:visible}[udex-control-button]{--udex-control-button-large-height: 40px;--udex-control-button-large-width: 40px}[udex-control-button].udex-search__reset-button{--sapButton_BorderWidth: 0px 1px 0 1px}[udex-control-button].udex-search__submit-button{margin:0px calc((var(--udex-search-container-padding-inline-end)) * -1) 0px 0;--sapButton_BorderWidth: 0 0 0 1px}[ui5-button].udex-search__button::part(button):focus-visible:before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;width:28px;height:28px;border:2px solid var(--udexColorBlue9, #0040B0);border-radius:50%;box-sizing:border-box}[ui5-button].udex-search__button::part(button){padding:0;width:28px;height:28px;line-height:0}[ui5-icon].udex-search__button-icon{color:inherit;width:18px;height:18px}[ui5-button].udex-search__button::part(icon){width:18px;height:18px}[ui5-button].udex-search__button::part(button):after{display:none}[ui5-button].udex-search__button.udex-search__voice-button:hover{background-color:#0000001a;border:none;box-shadow:none}[ui5-button].udex-search__button.udex-search__voice-button.udex-search__voice-button--active,[ui5-button][active].udex-search__button.udex-search__voice-button{background:var(--udexColorBlue8, #0057D2);color:var(--udexColorNeutralWhite, #FFFFFF)}[ui5-button].udex-search__button:focus{outline:none}.udex-search__prefix{position:relative;z-index:1}.udex-search__prefix--show-popover:after,.udex-search__prefix--show-popover-top:after{content:"";position:absolute;z-index:-1;height:50%;width:50px;inset-inline-start:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 54, 73, .3));overflow-y:hidden}.udex-search__prefix-button{padding-inline:var(--udexSpacer12) var(--udexSpacer8);display:flex;align-items:center;max-width:200px;height:100%;border:1px solid var(--udex-input-color-border);border-inline-end:0;border-start-start-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:var(--udexRadiusXXL, 24px);background-color:var(--sapShell_Navigation_Active_Background, var(--udexColorGrey1));color:var(--sapContent_LabelColor, var(--udexColorGrey7));font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodySFontSize, 16px);font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:var(--udexTypographyBodyLineHeight, 1.5);text-align:start;white-space:nowrap}.udex-search__prefix-button:hover{cursor:pointer;background-color:var(--udexCoreBase);color:var(--udexColorBlue8)}.udex-search__prefix-button:focus,.udex-search__prefix-button:focus-visible{outline:2px solid var(--udexColorBlue10, #002A86);outline-offset:-2px}.udex-search__prefix-button--active{background-color:var(--udexCoreBase);color:var(--udexColorBlue10)}.udex-search__prefix-label{margin-inline-end:var(--udexSpacer4, 4px);max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}.udex-search__prefix-icon{width:16px;height:16px;color:inherit;flex-shrink:1}.udex-search__prefix-popover{border-start-start-radius:0;border-start-end-radius:0;border:1px solid var(--udexCoreBorderDefault);border-block-start:0;box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34,54,73,.3));background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover-top{border-end-start-radius:0;border-end-end-radius:0;border:1px solid var(--udexCoreBorderDefault);border-block-end:0;box-shadow:none;background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover::part(content),.udex-search__prefix-popover-top::part(content){padding:0}[udex-dropdown]{--udex-dropdown-pane-max-width: 100%}.hidden{display:none}
|
|
10
|
+
const styleData: StyleData = {packageName:"@sapudex/web-components",fileName:"themes/Search.css.ts",content:`:host{--udex-input-color-border: var(--sapField_BorderColor, var(--udexColorGrey6));--udex-input-color-label: var(--sapField_PlaceholderTextColor, var(--udexColorGrey7));--udex-input-font-family-label: var(--sapFontFamily, sans-serif);--udex-input-font-size-label: var(--sapFontLargeSize, var(--udexTypographyBodySFontSize));--udex-input-font-weight-label: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label: var(--udexTypographyBodyLineHeight, 24px);--udex-input-background-color: var(--sapList_Hover_Background, var(--udexColorGrey1));--udex-input-font-family-label-active: var(--sapFontFamily, sans-serif);--udex-input-font-size-label-active: var(--sapFontSmallSize, var(--udexTypographyBodyXXSFontSize));--udex-input-font-weight-label-active: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label-active: var(--udexTypographyBodyLineHeight, 1.5);--udex-input-color-typed-text: var(--sapField_TextColor, var(--udexCoreTextDark));--udex-input-color-background-light: var(--sapField_Background, var(--udexColorNeutralWhite));--udex-input-color-hover-border: var(--sapField_Hover_BorderColor, var(--udexColorBlue6));--udex-input-color-active-border: var(--sapField_Active_BorderColor, var(--udexColorBlue9));--udex-input-radius: var(--sapField_BorderCornerRadius, var(--udexRadiusXS));--udex-input-padding-horizontal: var(--udexSpacer12, 12px);--udex-input-padding-vertical: 8px;--udex-home-input-padding-left: var(--udexSpacer12, 12px);--udex-home-input-padding-right: var(--udexSpacer8, 8px);--udex-home-input-padding-vertical: 8px;--udex-button-size: var(--sapFontHeader2Size, 28px);--udex-button-color: var(--sapAccentColor10, var(--udexColorGrey7));--udex-button-non-interactive-icon-color: var(--sapContent_NonInteractiveIconColor, var(--udexColorGrey7));--udex-button-non-interactive-icon-size: var(--sapFontHeader5Size, 18px);--udex-dropdown-border-width: auto;--udex-search-container-padding-inline-end: var(--udexSpacer12, 12px);--udex-search-home-container-padding-inline-end: var(--udexSpacer8, 8px);--udex-search-label-inset-inline-start: var(--udexSpacer12, 12px);--udex-search-icons-column-gap: 0;--udex-search-home-icons-column-gap: var(--udexSpacer4, 4px);--udex-search-label-width: calc( 100% - var(--udex-search-label-inset-inline-start) - var(--udex-input-padding-horizontal) - var(--udex-search-container-padding-inline-end) );display:block;width:100%;position:relative}:host([mode="Standard"]) .udex-search__label.udex-search__label--active{display:none}:host(:not([mode="Home Search"])) .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled,:host(:not([mode="Home Search"])) .udex-search-prefix .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled{display:block;inset-block-start:9px;line-height:18px;transform:translateY(-110%);padding:0 4px;font-family:var(--udex-input-font-family-label-active);font-size:var(--udex-input-font-size-label-active);font-weight:var(--udex-input-font-weight-label-active);line-height:var(--udex-input-line-height-label-active);background-color:#fff}:host([mode="Home Search"]) .udex-search__root,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{--udex-input-radius: var(--udexRadiusXXL, 24px);position:relative;z-index:1}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{display:flex;width:100%;position:relative;z-index:1}:host([mode="Home Search"]) .udex-search-prefix .udex-search__prefix+.udex-search__container{border-start-start-radius:0;border-start-end-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:0;border-end-end-radius:var(--udexRadiusXXL, 24px);flex-grow:1}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{content:"";position:absolute;z-index:-1;height:21px;inset-inline:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 54, 73, .3));overflow-y:hidden}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after,.udex-search__prefix--show-popover-top:after{transform:translateY(-21px)}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__container:not(.udex-search__container--has-value),:host([mode="Home Search"]) .udex-search__container:not(.udex-search__container--has-value) .udex-search__field,:host([mode="Home Search"]) .udex-search-prefix .udex-search__container:not(.udex-search__container--has-value),:host([mode="Home Search"]) .udex-search-prefix .udex-search__container:not(.udex-search__container--has-value) .udex-search__field{background-color:var(--udex-input-background-color)}:host([mode="Home Search"]) .udex-search__label.udex-search__label--active,:host([mode="Home Search"]) .udex-search-prefix .udex-search__label.udex-search__label--active{display:none}.udex-search__container{padding-inline-end:var(--udex-search-container-padding-inline-end);display:flex;align-items:center;position:relative;z-index:1;border:1px solid var(--udex-input-color-border);border-radius:var(--udex-input-radius);background-color:field}.udex-search-mode-home-search .udex-search__container{padding-inline-end:var(--udex-search-home-container-padding-inline-end)}.udex-search__container:not(.udex-search__container--focus):hover{border-color:var(--udex-input-color-hover-border)}.udex-search__container--focus{border-color:var(--udex-input-color-active-border)}:host(:not([_is-touched])[active]) .udex-search__root:before{content:"";position:absolute;inset:-5px;border:2px solid var(--udexColorBlue10);border-radius:var(--udex-input-radius)}:host([mode="Home Search"]:not([_is-touched])[active]) .udex-search__root:before{z-index:-1}.udex-search__field{display:block;width:100%;color:var(--udex-input-color-typed-text);font-size:16px;font-family:var(--sapFontFamily);line-height:24px;padding:var(--udex-input-padding-vertical) var(--udex-input-padding-horizontal);box-sizing:border-box;border:0;border-radius:var(--udex-input-radius);font-weight:var(--udexTypographyFontWeightRegular, 400);background:var(--udex-input-color-background-light)}.udex-search-mode-home-search .udex-search__field{padding:var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-right) var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-left)}.udex-search__field::placeholder{color:var(--udexColorGrey7);font-family:var(--sapFontFamily, sans-serif);font-size:16px}.udex-search__field:focus{outline:none}input[type=search]::-ms-clear{display:none;width:0;height:0}input[type=search]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.udex-search__label{position:absolute;inset-inline-start:var(--udex-search-label-inset-inline-start);z-index:2;color:var(--udex-input-color-label);font-family:var(--udex-input-font-family-label);font-size:var(--udex-input-font-size-label);font-weight:var(--udex-input-font-weight-label);line-height:var(--udex-input-line-height-label);transition:transform .15s ease-out,font-size .15s ease-out;overflow:hidden;white-space:nowrap;max-width:var(--udex-search-label-width)}.udex-search__label-with-search-icon,.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size))}.udex-search__label-with-search-icon.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size) * 2 - var(--udex-search-icons-column-gap))}.udex-search__icons{display:flex;align-items:center;column-gap:var(--udex-search-icons-column-gap)}.udex-search-mode-home-search .udex-search__icons{column-gap:var(--udex-search-home-icons-column-gap)}.udex-search__icon{margin-inline:5px;background-color:transparent;border:none;color:var(--udex-button-non-interactive-icon-color);min-width:var(--udex-button-non-interactive-icon-size);height:var(--udex-button-non-interactive-icon-size);border-radius:50%;position:relative;z-index:1;overflow:visible}.udex-search__button{background-color:transparent;border:none;color:var(--udex-button-color);min-width:var(--udex-button-size);height:var(--udex-button-size);border-radius:50%;position:relative;z-index:1;overflow:visible}[udex-control-button]{--udex-control-button-large-height: 40px;--udex-control-button-large-width: 40px}[udex-control-button].udex-search__reset-button{--sapButton_BorderWidth: 0px 1px 0 1px}[udex-control-button].udex-search__submit-button{margin:0px calc((var(--udex-search-container-padding-inline-end)) * -1) 0px 0;--sapButton_BorderWidth: 0 0 0 1px}[ui5-button].udex-search__button::part(button):focus-visible:before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;width:28px;height:28px;border:2px solid var(--udexColorBlue9, #0040B0);border-radius:50%;box-sizing:border-box}[ui5-button].udex-search__button::part(button){padding:0;width:28px;height:28px;line-height:0}[ui5-icon].udex-search__button-icon{color:inherit;width:18px;height:18px}[ui5-button].udex-search__button::part(icon){width:18px;height:18px}[ui5-button].udex-search__button::part(button):after{display:none}[ui5-button].udex-search__button.udex-search__voice-button:hover{background-color:#0000001a;border:none;box-shadow:none}[ui5-button].udex-search__button.udex-search__voice-button.udex-search__voice-button--active,[ui5-button][active].udex-search__button.udex-search__voice-button{background:var(--udexColorBlue8, #0057D2);color:var(--udexColorNeutralWhite, #FFFFFF)}[ui5-button].udex-search__button:focus{outline:none}.udex-search__prefix{position:relative;z-index:1}.udex-search__prefix--show-popover:after,.udex-search__prefix--show-popover-top:after{content:"";position:absolute;z-index:-1;height:50%;width:50px;inset-inline-start:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 54, 73, .3));overflow-y:hidden}.udex-search__prefix-button{padding-inline:var(--udexSpacer12) var(--udexSpacer8);display:flex;align-items:center;max-width:200px;height:100%;border:1px solid var(--udex-input-color-border);border-inline-end:0;border-start-start-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:var(--udexRadiusXXL, 24px);background-color:var(--sapShell_Navigation_Active_Background, var(--udexColorGrey1));color:var(--sapContent_LabelColor, var(--udexColorGrey7));font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodySFontSize, 16px);font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:var(--udexTypographyBodyLineHeight, 1.5);text-align:start;white-space:nowrap}.udex-search__prefix-button:hover{cursor:pointer;background-color:var(--udexCoreBase);color:var(--udexColorBlue8)}.udex-search__prefix-button:focus,.udex-search__prefix-button:focus-visible{outline:2px solid var(--udexColorBlue10, #002A86);outline-offset:-2px}.udex-search__prefix-button--active{background-color:var(--udexCoreBase);color:var(--udexColorBlue10)}.udex-search__prefix-label{margin-inline-end:var(--udexSpacer4, 4px);max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}.udex-search__prefix-icon{width:16px;height:16px;color:inherit;flex-shrink:1}.udex-search__prefix-popover{border-start-start-radius:0;border-start-end-radius:0;border:1px solid var(--udexCoreBorderDefault);border-block-start:0;box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34,54,73,.3));background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover-top{border-end-start-radius:0;border-end-end-radius:0;border:1px solid var(--udexCoreBorderDefault);border-block-end:0;box-shadow:none;background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover::part(content),.udex-search__prefix-popover-top::part(content){padding:0}[udex-dropdown]{--udex-dropdown-pane-max-width: 100%}.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/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 */
|
|
@@ -91,8 +92,8 @@
|
|
|
91
92
|
--udex-button-color-tertiary-standard-hover-border: var(--sapButton_Lite_Hover_BorderColor, var(--udexColorGrey7));
|
|
92
93
|
--udex-button-color-tertiary-standard-hover-text-and-icon: var(--sapButton_Lite_Hover_TextColor, var(--udexColorBlue9));
|
|
93
94
|
/* Active */
|
|
94
|
-
--udex-button-color-tertiary-standard-active-background: var(--sapButton_Lite_Active_Background, var(--
|
|
95
|
-
--udex-button-color-tertiary-standard-active-border: var(--sapButton_Lite_Active_BorderColor, var(--
|
|
95
|
+
--udex-button-color-tertiary-standard-active-background: var(--sapButton_Lite_Active_Background, var(--udexColorNeutralWhite));
|
|
96
|
+
--udex-button-color-tertiary-standard-active-border: var(--sapButton_Lite_Active_BorderColor, var(--udexColorBlue9));
|
|
96
97
|
--udex-button-color-tertiary-standard-active-text-and-icon: var(--sapButton_Lite_TextColor, var(--udexColorBlue9));
|
|
97
98
|
/* Disabled */
|
|
98
99
|
--udex-button-color-tertiary-standard-disabled-background: var(--udex-button-color-transparent, hsla(0, 0%, 0%, 0));
|
|
@@ -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
|
}
|
|
@@ -362,11 +372,26 @@
|
|
|
362
372
|
margin-inline-start: var(--udex-button-icon-text-spacing-large-size);
|
|
363
373
|
}
|
|
364
374
|
|
|
375
|
+
:host:disabled,
|
|
376
|
+
:host([design="Default"]):disabled,
|
|
377
|
+
:host([design="Secondary"]):disabled,
|
|
378
|
+
:host([design="Invisible"]):disabled,
|
|
379
|
+
:host([design="Emphasized"][_aria-disabled]):disabled,
|
|
380
|
+
:host([design="Primary"][_aria-disabled]):disabled,
|
|
381
|
+
:host([design="Transparent"]):disabled,
|
|
382
|
+
:host([design="Tertiary"]):disabled,
|
|
383
|
+
:host([design="Negative"]):disabled,
|
|
384
|
+
:host([design="Attention"]):disabled,
|
|
385
|
+
:host([design="Warning"]):disabled,
|
|
386
|
+
:host([design="Positive"]):disabled {
|
|
387
|
+
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
388
|
+
}
|
|
365
389
|
|
|
366
390
|
/* Standard/Primary css-rules */
|
|
367
391
|
:host,
|
|
368
392
|
:host([design="Emphasized"]),
|
|
369
393
|
:host([design="Primary"]) {
|
|
394
|
+
font-family: var(--sapFontFamily);
|
|
370
395
|
color: var(--udex-button-color-primary-standard-default-text-and-icon);
|
|
371
396
|
background-color: var(--udex-button-color-primary-standard-default-background);
|
|
372
397
|
border: 1px solid var(--udex-button-color-primary-standard-default-border-color);
|
|
@@ -384,8 +409,8 @@
|
|
|
384
409
|
border: 1px solid var(--udex-button-color-primary-standard-hover-border-color);
|
|
385
410
|
}
|
|
386
411
|
|
|
387
|
-
:host([active]:not([disabled]))
|
|
388
|
-
:host([design="Emphasized"][active]:not([disabled]))
|
|
412
|
+
:host([active]:not([disabled])),
|
|
413
|
+
:host([design="Emphasized"][active]:not([disabled])),
|
|
389
414
|
:host([design="Primary"][active]:not([disabled])) {
|
|
390
415
|
color: var(--udex-button-color-primary-standard-active-text-and-icon);
|
|
391
416
|
background-color: var(--udex-button-color-primary-standard-active-background);
|
|
@@ -398,7 +423,6 @@
|
|
|
398
423
|
color: var(--udex-button-color-primary-standard-disabled-text-and-icon);
|
|
399
424
|
background-color: var(--udex-button-color-primary-standard-disabled-background);
|
|
400
425
|
border: 1px solid var(--udex-button-color-primary-standard-disabled-background);
|
|
401
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
402
426
|
}
|
|
403
427
|
|
|
404
428
|
/*Primary toggled*/
|
|
@@ -418,13 +442,12 @@
|
|
|
418
442
|
border: 1px solid var(--udex-button-color-primary-toggled-hover-border);
|
|
419
443
|
}
|
|
420
444
|
|
|
421
|
-
:host([toggled]):disabled
|
|
422
|
-
:host([design="Emphasized"][toggled]):disabled
|
|
445
|
+
:host([toggled]):disabled,
|
|
446
|
+
:host([design="Emphasized"][toggled]):disabled,
|
|
423
447
|
:host([design="Primary"][toggled]):disabled {
|
|
424
448
|
color: var(--udex-button-color-primary-toggled-disabled-text-and-icon);
|
|
425
449
|
background-color: var(--udex-button-color-primary-toggled-disabled-background);
|
|
426
450
|
border: 1px solid var(--udex-button-color-primary-toggled-disabled-border);
|
|
427
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
428
451
|
}
|
|
429
452
|
|
|
430
453
|
/* Secondary css-rules */
|
|
@@ -446,7 +469,7 @@
|
|
|
446
469
|
border: 1px solid var(--udex-button-color-secondary-standard-hover-border);
|
|
447
470
|
}
|
|
448
471
|
|
|
449
|
-
:host([design="Default"][active]:not([disabled]))
|
|
472
|
+
:host([design="Default"][active]:not([disabled])),
|
|
450
473
|
:host([design="Secondary"][active]:not([disabled])) {
|
|
451
474
|
color: var(--udex-button-color-secondary-standard-active-text-and-icon);
|
|
452
475
|
background-color: var(--udex-button-color-secondary-standard-active-background);
|
|
@@ -458,30 +481,28 @@
|
|
|
458
481
|
color: var(--udex-button-color-secondary-standard-disabled-text-and-icon);
|
|
459
482
|
background-color: var(--udex-button-color-secondary-standard-disabled-background);
|
|
460
483
|
border: 1px solid var(--udex-button-color-secondary-standard-disabled-border);
|
|
461
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
462
484
|
}
|
|
463
485
|
|
|
464
486
|
/*Secondary toggled*/
|
|
465
|
-
:host([design="Default"][toggled])
|
|
487
|
+
:host([design="Default"][toggled]),
|
|
466
488
|
:host([design="Secondary"][toggled]) {
|
|
467
489
|
color: var(--udex-button-color-secondary-toggled-default-text-and-icon);
|
|
468
490
|
background-color: var(--udex-button-color-secondary-toggled-default-background);
|
|
469
491
|
border: 1px solid var(--udex-button-color-secondary-toggled-default-border);
|
|
470
492
|
}
|
|
471
493
|
|
|
472
|
-
:host([design="Default"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
494
|
+
:host([design="Default"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
473
495
|
:host([design="Secondary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
474
496
|
color: var(--udex-button-color-secondary-toggled-hover-text-and-icon);
|
|
475
497
|
background-color: var(--udex-button-color-secondary-toggled-hover-background);
|
|
476
498
|
border: 1px solid var(--sapButton_Selected_Hover_BorderColor);
|
|
477
499
|
}
|
|
478
500
|
|
|
479
|
-
:host([design="Default"][toggled]):disabled
|
|
501
|
+
:host([design="Default"][toggled]):disabled,
|
|
480
502
|
:host([design="Secondary"][toggled]):disabled {
|
|
481
503
|
color: var(--udex-button-color-secondary-toggled-disabled-text-and-icon);
|
|
482
504
|
background-color: var(--udex-button-color-secondary-toggled-disabled-background);
|
|
483
505
|
border: 1px solid var(--udex-button-color-secondary-toggled-disabled-border);
|
|
484
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
485
506
|
}
|
|
486
507
|
|
|
487
508
|
/* Tertiary css-rules */
|
|
@@ -515,7 +536,6 @@
|
|
|
515
536
|
color: var(--udex-button-color-tertiary-standard-disabled-text-and-icon);
|
|
516
537
|
background-color: var(--udex-button-color-tertiary-standard-disabled-background);
|
|
517
538
|
border: 1px solid var(--udex-button-color-tertiary-standard-disabled-border);
|
|
518
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
519
539
|
}
|
|
520
540
|
|
|
521
541
|
/*Tertiary toggled*/
|
|
@@ -527,7 +547,7 @@
|
|
|
527
547
|
}
|
|
528
548
|
|
|
529
549
|
:host([design="Transparent"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
530
|
-
:host([design="Tertiary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover){
|
|
550
|
+
:host([design="Tertiary"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
531
551
|
color: var(--udex-button-color-tertiary-toggled-hover-text-and-icon);
|
|
532
552
|
background-color: var(--udex-button-color-tertiary-toggled-hover-background);
|
|
533
553
|
border: 1px solid var(--udex-button-color-tertiary-toggled-hover-border);
|
|
@@ -576,7 +596,6 @@
|
|
|
576
596
|
color: var(--udex-button-color-invisible-standard-disabled-text-and-icon);
|
|
577
597
|
background-color: var(--udex-button-color-invisible-standard-disabled-background);
|
|
578
598
|
border: none;
|
|
579
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
580
599
|
}
|
|
581
600
|
|
|
582
601
|
/* Positive css-rules */
|
|
@@ -604,7 +623,6 @@
|
|
|
604
623
|
color: var(--udex-button-color-positive-standard-disabled-text-and-icon);
|
|
605
624
|
background-color: var(--udex-button-color-positive-standard-disabled-background);
|
|
606
625
|
border: 1px solid var(--udex-button-color-positive-standard-disabled-border);
|
|
607
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
608
626
|
}
|
|
609
627
|
|
|
610
628
|
/*Positive toggled*/
|
|
@@ -614,7 +632,7 @@
|
|
|
614
632
|
border: 1px solid var(--udex-button-color-positive-toggled-default-border);
|
|
615
633
|
}
|
|
616
634
|
|
|
617
|
-
:host([design=Positive][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover){
|
|
635
|
+
:host([design=Positive][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
618
636
|
color: var(--udex-button-color-positive-toggled-hover-text-and-icon);
|
|
619
637
|
background-color: var(--udex-button-color-positive-toggled-hover-background);
|
|
620
638
|
border: 1px solid var(--udex-button-color-positive-toggled-hover-border);
|
|
@@ -624,7 +642,6 @@
|
|
|
624
642
|
color: var(--udex-button-color-positive-toggled-disabled-text-and-icon);
|
|
625
643
|
background-color: var(--udex-button-color-positive-toggled-disabled-background);
|
|
626
644
|
border: 1px solid var(--udex-button-color-positive-toggled-disabled-border);
|
|
627
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
628
645
|
}
|
|
629
646
|
|
|
630
647
|
/* Negative css-rules */
|
|
@@ -642,7 +659,8 @@
|
|
|
642
659
|
border: 1px solid var(--udex-button-color-negative-standard-hover-border);
|
|
643
660
|
}
|
|
644
661
|
|
|
645
|
-
:host([design=Negative][active]:not([disabled]))
|
|
662
|
+
:host([design=Negative][active]:not([disabled])),
|
|
663
|
+
:host([design=Negative][active][_aria-disabled="false"]) {
|
|
646
664
|
color: var(--udex-button-color-negative-standard-active-text-and-icon);
|
|
647
665
|
background-color: var(--udex-button-color-negative-standard-active-background);
|
|
648
666
|
border: 1px solid var(--udex-button-color-negative-standard-active-border);
|
|
@@ -652,7 +670,6 @@
|
|
|
652
670
|
color: var(--udex-button-color-negative-standard-disabled-text-and-icon);
|
|
653
671
|
background-color: var(--udex-button-color-negative-standard-disabled-background);
|
|
654
672
|
border: 1px solid var(--udex-button-color-negative-standard-disabled-border);
|
|
655
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
656
673
|
}
|
|
657
674
|
|
|
658
675
|
/*Negative toggled*/
|
|
@@ -672,7 +689,6 @@
|
|
|
672
689
|
color: var(--udex-button-color-negative-toggled-disabled-text-and-icon);
|
|
673
690
|
background-color: var(--udex-button-color-negative-toggled-disabled-background);
|
|
674
691
|
border: 1px solid var(--udex-button-color-negative-toggled-disabled-border);
|
|
675
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
676
692
|
}
|
|
677
693
|
|
|
678
694
|
/* Warning css-rules */
|
|
@@ -694,7 +710,7 @@
|
|
|
694
710
|
border: 1px solid var(--udex-button-color-warning-standard-hover-border);
|
|
695
711
|
}
|
|
696
712
|
|
|
697
|
-
:host([design="Attention"][active]:not([disabled]))
|
|
713
|
+
:host([design="Attention"][active]:not([disabled])),
|
|
698
714
|
:host([design="Warning"][active]:not([disabled])) {
|
|
699
715
|
color: var(--udex-button-color-warning-standard-active-text-and-icon);
|
|
700
716
|
background-color: var(--udex-button-color-warning-standard-active-background);
|
|
@@ -706,7 +722,6 @@
|
|
|
706
722
|
color: var(--udex-button-color-warning-standard-disabled-text-and-icon);
|
|
707
723
|
background-color: var(--udex-button-color-warning-standard-disabled-background);
|
|
708
724
|
border: 1px solid var(--udex-button-color-warning-standard-disabled-border);
|
|
709
|
-
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
710
725
|
}
|
|
711
726
|
|
|
712
727
|
/*Warning toggled*/
|
|
@@ -717,7 +732,7 @@
|
|
|
717
732
|
border: 1px solid var(--udex-button-color-warning-toggled-default-border);
|
|
718
733
|
}
|
|
719
734
|
|
|
720
|
-
:host([design="Attention"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover)
|
|
735
|
+
:host([design="Attention"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover),
|
|
721
736
|
:host([design="Warning"][toggled]:not([non-interactive]):not([_is-touch]):not([disabled]):hover) {
|
|
722
737
|
color: var(--udex-button-color-warning-toggled-hover-text-and-icon);
|
|
723
738
|
background-color: var(--udex-button-color-warning-toggled-hover-background);
|
|
@@ -729,5 +744,45 @@
|
|
|
729
744
|
color: var(--udex-button-color-warning-toggled-disabled-text-and-icon);
|
|
730
745
|
background-color: var(--udex-button-color-warning-toggled-disabled-background);
|
|
731
746
|
border: 1px solid var(--udex-button-color-warning-toggled-disabled-border);
|
|
747
|
+
}
|
|
748
|
+
|
|
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 {
|
|
732
760
|
opacity: var(--sapContent_DisabledOpacity, 0.4);
|
|
733
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;
|
|
788
|
+
}
|
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
|
|
|
@@ -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);
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
--udex-masthead-item-dropdown-mobile-min-width: 360px;
|
|
24
24
|
--udex-masthead-item-dropdown-select-box-min-width: 397px;
|
|
25
25
|
--udex-masthead-item-dropdown-position: absolute;
|
|
26
|
-
--udex-masthead-item-dropdown-height:
|
|
26
|
+
--udex-masthead-item-dropdown-mobile-height: var(--udex-masthead-shell-mobile-menu-height, 100%);
|
|
27
|
+
--udex-masthead-item-dropdown-box-shadow-mobile: none;
|
|
27
28
|
--udex-masthead-item-dropdown-zindex: 100;
|
|
28
29
|
--udex-masthead-item-button-icon-size: 32px;
|
|
29
30
|
|
|
@@ -224,12 +225,18 @@
|
|
|
224
225
|
--udex-masthead-menu-grid-template-columns: repeat(4, calc(25% - var(--udex-masthead-menu-column_gap)*3/4));
|
|
225
226
|
}
|
|
226
227
|
|
|
228
|
+
:host([slot="countrySelector"]) ::slotted([slot="dropdown"]),
|
|
227
229
|
:host([slot="profile"]) ::slotted([slot="dropdown"]) {
|
|
228
230
|
width: 100%;
|
|
229
231
|
display: flex;
|
|
230
232
|
flex-direction: column;
|
|
231
233
|
}
|
|
232
234
|
|
|
235
|
+
:host([slot="countrySelector"][_is-mobile-mode]) ::slotted([slot="dropdown"]),
|
|
236
|
+
:host([slot="profile"][_is-mobile-mode]) ::slotted([slot="dropdown"]) {
|
|
237
|
+
display: initial;
|
|
238
|
+
}
|
|
239
|
+
|
|
233
240
|
:host([_is-mobile-mode]) .udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown,
|
|
234
241
|
:host([part="menu-open-btn"]) .udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown {
|
|
235
242
|
min-width: var(--udex-masthead-item-dropdown-mobile-min-width);
|
|
@@ -238,7 +245,7 @@
|
|
|
238
245
|
:host([_is-mobile-mode]) .udex-masthead-item__dropdown,
|
|
239
246
|
:host([part="menu-open-btn"]) .udex-masthead-item__dropdown {
|
|
240
247
|
position: var(--udex-masthead-item-dropdown-position);
|
|
241
|
-
height: var(--udex-masthead-item-dropdown-height);
|
|
248
|
+
height: var(--udex-masthead-item-dropdown-mobile-height);
|
|
242
249
|
width: var(--udex-masthead-item-dropdown-mobile-min-width);
|
|
243
250
|
top: 60px;
|
|
244
251
|
right: 0;
|
|
@@ -278,6 +285,7 @@
|
|
|
278
285
|
position: initial;
|
|
279
286
|
}
|
|
280
287
|
|
|
288
|
+
:host([slot="countrySelector"]) ::slotted([slot="dropdown"]),
|
|
281
289
|
:host([slot="profile"]) ::slotted([slot="dropdown"]) {
|
|
282
290
|
display: initial;
|
|
283
291
|
}
|
|
@@ -300,9 +308,9 @@
|
|
|
300
308
|
|
|
301
309
|
.udex-masthead-item__dropdown {
|
|
302
310
|
position: var(--udex-masthead-item-dropdown-position);
|
|
303
|
-
height: var(--udex-masthead-item-dropdown-height);
|
|
311
|
+
height: var(--udex-masthead-item-dropdown-mobile-height);
|
|
304
312
|
width: var(--udex-masthead-item-dropdown-mobile-min-width);
|
|
305
|
-
box-shadow:
|
|
313
|
+
box-shadow: var(--udex-masthead-item-dropdown-box-shadow-mobile);
|
|
306
314
|
top: 60px;
|
|
307
315
|
}
|
|
308
316
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
:host {
|
|
2
|
+
--udex-masthead-shell-height: 60px;
|
|
2
3
|
--udex-masthead-shell-background: var(--udexColorGrey1, #F5F6F7);
|
|
3
4
|
--udex-masthead-shell-dropdown-shadow: var(--sapContent_Shadow2, 0 10px 30px 0 #22364940);
|
|
4
5
|
--udex-masthead-shell-site-label-font-size: var(--udexTypographyNavigationRegularXLFontSize, 16px);
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
--udex-masthead-mobile-menu-buttons-width: 360px;
|
|
24
25
|
--udex-masthead-right-menu-padding: var(--udexSpacer64);
|
|
25
26
|
--udex-masthead-shell-explore-margin: var(--udexSpacer12);
|
|
27
|
+
--udex-masthead-shell-mobile-menu-height: 100%;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
:host {
|
|
@@ -74,7 +76,7 @@
|
|
|
74
76
|
padding: 0 var(--udexSpacer84);
|
|
75
77
|
max-width: var(--udex-masthead-shell-container-xl-max-width);
|
|
76
78
|
margin: 0 auto;
|
|
77
|
-
height:
|
|
79
|
+
height: var(--udex-masthead-shell-height);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
.udex-masthead-shell__logo {
|
|
@@ -211,7 +213,7 @@
|
|
|
211
213
|
:host([_is-mobile-menu-open]) .udex-masthead-shell__country-selector,
|
|
212
214
|
:host([_is-mobile-menu-open]) .udex-masthead-shell__cart,
|
|
213
215
|
:host([_is-mobile-menu-open]) .udex-masthead-shell__profile,
|
|
214
|
-
:host([_is-mobile-menu-open]) .udex-masthead-shell__close-btn {
|
|
216
|
+
:host([_is-mobile-mode][_is-mobile-menu-open]) .udex-masthead-shell__close-btn {
|
|
215
217
|
display: flex;
|
|
216
218
|
}
|
|
217
219
|
|
|
@@ -283,6 +285,7 @@
|
|
|
283
285
|
display: none;
|
|
284
286
|
}
|
|
285
287
|
|
|
288
|
+
:host([_is-mobile-menu-open]) .udex-masthead-shell__close-btn,
|
|
286
289
|
.udex-masthead-shell__menu-btn {
|
|
287
290
|
display: flex;
|
|
288
291
|
}
|
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,11 @@
|
|
|
33
33
|
|
|
34
34
|
:host([type="basic"]) .ui5-popup-root .ui5-popup-content {
|
|
35
35
|
padding: 0 var(--udexModalAndOverlayModalContentPaddingHorizontal);
|
|
36
|
+
scrollbar-gutter: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:host ::slotted([slot="header"][ui5-bar]) {
|
|
40
|
+
height: 32px;
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
:host ::slotted([slot="footer"]) {
|
|
@@ -124,3 +124,22 @@
|
|
|
124
124
|
.udex-pagination__item--short-value {
|
|
125
125
|
padding: var(--udex-pagination-short-item-paddings);
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
[udex-button][aria-disabled="true"]:focus,
|
|
129
|
+
[udex-button][aria-disabled="true"]:focus-visible,
|
|
130
|
+
[udex-button][_aria-disabled]:focus,
|
|
131
|
+
[udex-button][_aria-disabled]:focus-visible {
|
|
132
|
+
outline: 2px solid #002A86;
|
|
133
|
+
outline-offset: -4px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.hidden {
|
|
137
|
+
position: absolute;
|
|
138
|
+
width: 0px;
|
|
139
|
+
height: 0px;
|
|
140
|
+
margin: -1px;
|
|
141
|
+
overflow: hidden;
|
|
142
|
+
clip: rect(0 0 0 0);
|
|
143
|
+
border: 0;
|
|
144
|
+
padding: 0;
|
|
145
|
+
}
|
package/src/themes/Search.css
CHANGED
|
@@ -447,5 +447,12 @@ input[type="search"]::-webkit-search-results-decoration {
|
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.hidden {
|
|
450
|
-
|
|
450
|
+
position: absolute;
|
|
451
|
+
width: 0px;
|
|
452
|
+
height: 0px;
|
|
453
|
+
margin: -1px;
|
|
454
|
+
overflow: hidden;
|
|
455
|
+
clip: rect(0 0 0 0);
|
|
456
|
+
border: 0;
|
|
457
|
+
padding: 0;
|
|
451
458
|
}
|