@sapudex/web-components 0.172.0 → 0.176.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/AvatarGroup.js +0 -6
- package/dist/AvatarGroup.js.map +1 -1
- package/dist/Badge.js.map +1 -1
- package/dist/Search.d.ts +15 -1
- package/dist/Search.js +62 -15
- package/dist/Search.js.map +1 -1
- package/dist/assets/{bundle.esm-981c5cbb.js → bundle.esm-f0e73f3b.js} +181 -181
- package/dist/assets/parameters-bundle.css-beef06a9.js +2 -0
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/Pagination.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/ReviewItem.css +1 -1
- package/dist/css/themes/Search.css +1 -1
- package/dist/css/themes/SearchSuggestions.css +1 -1
- package/dist/css/themes/Slider.css +1 -1
- package/dist/css/themes/TabNavigation.css +1 -1
- package/dist/css/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +58 -58
- package/dist/custom-elements.json +58 -58
- package/dist/generated/assets/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.json +1 -1
- package/dist/generated/templates/RatingBarTemplate.lit.js +1 -1
- package/dist/generated/templates/RatingBarTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ReviewItemTemplate.lit.js +1 -1
- package/dist/generated/templates/ReviewItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchTemplate.lit.js +2 -2
- package/dist/generated/templates/SearchTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabHeaderTemplate.lit.js +2 -2
- package/dist/generated/templates/TabHeaderTemplate.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/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/ReviewItem.css.js +1 -1
- package/dist/generated/themes/ReviewItem.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/SearchSuggestions.css.js +1 -1
- package/dist/generated/themes/SearchSuggestions.css.js.map +1 -1
- package/dist/generated/themes/Slider.css.js +1 -1
- package/dist/generated/themes/Slider.css.js.map +1 -1
- package/dist/generated/themes/TabNavigation.css.js +1 -1
- package/dist/generated/themes/TabNavigation.css.js.map +1 -1
- package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +7 -7
- package/src/AvatarGroup.ts +0 -7
- package/src/Badge.ts +1 -1
- package/src/RatingBar.hbs +1 -1
- package/src/ReviewItem.hbs +1 -1
- package/src/Search.hbs +3 -3
- package/src/Search.ts +82 -20
- package/src/TabHeader.hbs +2 -2
- package/src/generated/templates/RatingBarTemplate.lit.ts +1 -1
- package/src/generated/templates/ReviewItemTemplate.lit.ts +1 -1
- package/src/generated/templates/SearchTemplate.lit.ts +2 -2
- package/src/generated/templates/TabHeaderTemplate.lit.ts +2 -2
- package/src/generated/themes/Button.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/ReviewItem.css.ts +1 -1
- package/src/generated/themes/Search.css.ts +1 -1
- package/src/generated/themes/SearchSuggestions.css.ts +1 -1
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/generated/themes/TabNavigation.css.ts +1 -1
- package/src/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.ts +1 -1
- package/src/themes/Button.css +13 -0
- package/src/themes/Pagination.css +2 -1
- package/src/themes/ReviewItem.css +0 -2
- package/src/themes/Search.css +27 -3
- package/src/themes/SearchSuggestions.css +16 -0
- package/src/themes/TabNavigation.css +11 -6
- package/dist/assets/parameters-bundle.css-07457fce.js +0 -2
package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters-bundle.css.js","sourceRoot":"","sources":["../../../../../../../src/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,EAAC,WAAW,EAAC,yBAAyB,EAAC,QAAQ,EAAC,uEAAuE,EAAC,OAAO,EAAC;CAC5J,EAAC,CAAC;AACH,eAAe,SAAS,CAAC","sourcesContent":["import type { StyleData } from \"@ui5/webcomponents-base/dist/types.js\";\n\nconst styleData: StyleData = {packageName:\"@sapudex/web-components\",fileName:\"themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.ts\",content:`:root{--browser_scrollbar_border_radius: var(--udexRadiusM, 8px);--_ui5-v1-24-17_popup_header_font_family: var(--sapFontFamily);--_ui5-v1-24-17_popup_header_font_weight: var(--udexTypographyFontWeightRegular);--_ui5-v1-24-17_checkbox_inner_background: var(--sapBackgroundColor);--_ui5-v1-24-17_checkbox_inner_border: var(--sapElement_BorderWidth) solid var(--sapField_BorderColor);--_ui5-v1-24-17_checkbox_inner_selected_border_color: var(--sapField_BorderColor);--_ui5-v1-24-17_checkbox_checkmark_color: var(--udexColorBlue7);--_ui5-v1-24-17_checkbox_inner_hover_checked_border_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-17_checkbox_inner_hover_border_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-17_checkbox_hover_background: var(--sapInformationBackground, #EBF8FF);--_ui5-v1-24-17_checkbox_inner_active_border_color: var(--sapSelectedColor);--_ui5-v1-24-17_checkbox_label_color: var(--sapField_TextColor);--_ui5-v1-24-17_checkbox_inner_disabled_border_color: var(--sapField_BorderColor);--_ui5-v1-24-17_checkbox_disabled_label_color: var(--sapField_TextColor);--_ui5-v1-24-17_checkbox_inner_width_height: 24px;--_ui5-v1-24-17_checkbox_width_height: 42px;--_ui5-v1-24-17_checkbox_icon_size: 16px;--_ui5-v1-24-17_checkbox_partially_icon_size: 16px;--_ui5-v1-24-17_checkbox_inner_border_radius: 4px;--_ui5-v1-24-17_checkbox_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5-v1-24-17_checkbox_inner_readonly_border: var(--sapElement_BorderWidth) var(--sapField_ReadOnly_BorderColor) dashed;--_ui5-v1-24-17_checkbox_inner_success_border: var(--sapField_SuccessBorderWidth) solid var(--udexCoreSemanticSuccess6);--_ui5-v1-24-17_checkbox_inner_success_background_hover: var(--sapSuccessBackground, #F5FAE5);--_ui5-v1-24-17_checkbox_inner_error_border: var(--sapField_InvalidBorderWidth) solid var(--udexCoreSemanticError5);--_ui5-v1-24-17_checkbox_inner_error_background_hover: var(--sapErrorBackground, #FFEAF4);--_ui5-v1-24-17_checkbox_label_offset: .563rem;--_ui5-v1-24-17_checkbox_right_focus_distance: var(--udexSpacer8);--_ui5-v1-24-17_radio_button_outer_ring_bg: var(--sapField_Background, #ffffff);--_ui5-v1-24-17_radio_button_inner_size: 24px;--_ui5-v1-24-17_radio_button_checked_fill: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-17_radio_button_height: 42px;--_ui5-v1-24-17_radio_button_svg_size: 24px;--_ui5-v1-24-17_radio_button_inner_ring_radius: 25%;--_ui5-v1-24-17_radio_button_outer_ring_padding_with_label: 9px 11px 9px 9px;--_ui5-v1-24-17_radio_button_outer_ring_padding: 9px;--_ui5-v1-24-17_radio_button_label_offset: 0;--_ui5-v1-24-17_radio_button_hover_fill: #EBF8FF;--_ui5-v1-24-17_radio_button_outer_ring_checked_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-17_radio_button_outer_ring_checked_hover_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-17_radio_button_outer_ring_color: var(--sapField_BorderColor, #5b738b);--_ui5-v1-24-17_radio_button_outer_ring_hover_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-17_radio_button_inner_ring_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-17_radio_button_read_only_inner_ring_color: var(--sapField_ReadOnly_BorderColor, #5B738B);--_ui5-v1-24-17_radio_button_hover_fill_success: var(--sapSuccessBackground, #F5FAE5);--_ui5-v1-24-17_radio_button_hover_fill_error: var(--sapErrorBackground, #FFEAF4);--_ui5-v1-24-17_link_focus_background_color: transparent;--_ui5-v1-24-17_link_focus_color: var(--sapLinkColor);--_ui5-v1-24-17_link_focus_text_decoration: underline;--_ui5-v1-24-17_link_focused_hover_text_color: var(--sapLink_Hover_Color);--_ui5-v1-24-17_link_focused_hover_text_decoration: underline;--_ui5-v1-24-17_progress_indicator_bar_border_radius: 6px;--_ui5-v1-24-17_progress_indicator_root_height: .5rem;--_ui5-v1-24-17_progress_indicator_bar_height: .75rem;--_ui5-v1-24-17_progress_indicator_icon_size: 1.125rem;--_ui5-v1-24-17_progress_indicator_icon_right_position: -24px;--_ui5-v1-24-17_progress_indicator_padding_end: 24px;--_ui5-v1-24-17_toast_vertical_offset: 2.5rem;--_ui5-v1-24-17_toast_background: var(--udexColorNeutralWhite);--_ui5-v1-24-17_toast_shadow: var(--sapContent_Shadow2);--_ui5-v1-24-17_popover_box_shadow: 0px 0px 0px 1px var(--udexColorGrey4);--_ui5-v1-24-17_message_strip_padding_inline_no_icon: var(--udexSpacer12, 12px);--_ui5-v1-24-17_message_strip_padding_block_no_icon: var(--udexSpacer8, 8px);--_ui5-v1-24-17_message_strip_padding: var(--udexSpacer8, 8px) 36px;--_ui5-v1-24-17_message_strip_icon_top:calc(50% - 8px);--_ui5-v1-24-17_daypicker_daynames_container_height: 42px;--_ui5-v1-24-17_daypicker_dayname_color: var(--udexColorGrey6, #5B738B);--_ui5-v1-24-17_daypicker_weekname_color: var(--udexColorGrey6, #5B738B);--_ui5-v1-24-17_daypicker_item_now_border_color: var(--udexColorPink8, #A100C2);--_ui5-v1-24-17_daypicker_item_weeekend_filter: none;--_ui5-v1-24-17_daypicker_item_select_between_border: 1px solid var(--udexColorBlue9, #0040B0);--_ui5-v1-24-17_calendar_header_middle_button_focus_outline: 1px solid var(--udexColorBlue9, #0040B0);--_ui5-v1-24-17_calendar_header_arrow_button_box_shadow: none;--ui5-v1-24-17_carousel_active_dot_background: var(--udexColorBlue9);--_ui5-v1-24-17_tokenizer_padding: var(--udexSpacer12, 12px);--_ui5-v1-24-17_slider_handle_icon_size: var(--udexSpacer20, 1.25rem);--_ui5-v1-24-17_slider_handle_width: 2.75rem;--_ui5-v1-24-17_slider_handle_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-17_slider_handle_top: -.875rem;--_ui5-v1-24-17_slider_label_color: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-17_range_slider_progress_focus_top: -1.18rem;--_ui5-v1-24-17_slider_progress_after_background: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-17_slider_tickmark_bg: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-17_slider_tickmark_in_range_bg: var(--sapSlider_Selected_BorderColor, #0070f2);--_ui5-v1-24-17_slider_start_end_point_left: -.875rem;--_ui5-v1-24-17_slider_tooltip_bottom: 2.5rem;--_ui5-v1-24-17_slider_tooltip_border: 1px solid var(--sapField_BorderColor, #5B738B);--_ui5-v1-24-17_slider_tooltip_border_radius: var(--udexSpacer4, .25rem);--_ui5-v1-24-17_slider_tooltip_color: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-17_slider_tooltip_fontsize: var(--udexTypographyNavigationRegularMFontSize, 14px);--_ui5-v1-24-17_slider_tooltip_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-17_slider_tooltip_min_width: 2.75rem;--_ui5-v1-24-17_slider_handle_focus_border: 2px solid var(--sapSlider_Active_HandleBorderColor)}udex-phone-number-field{--_ui5-v1-24-17_button_border_radius: var(--udexRadiusXS)}udex-search,udex-password-field,udex-select-box,udex-filter-menu,udex-country-selector{--_ui5-v1-24-17_button_pressed_focused_border_color: transparent}udex-password-field{--_ui5-v1-24-17_icon_transform_scale: none}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5-v1-24-17_button_base_height: 3rem;--_ui5-v1-24-17_button_base_padding: 3rem;--_ui5-v1-24-17_checkbox_inner_width_height: 24px;--_ui5-v1-24-17_checkbox_width_height: 42px;--_ui5-v1-24-17_checkbox_icon_size: 16px;--_ui5-v1-24-17_checkbox_partially_icon_size: 16px;--_ui5-v1-24-17_radio_button_min_width: 42px;--_ui5-v1-24-17_radio_button_outer_ring_padding: 9px;--_ui5-v1-24-17_radio_button_inner_size: 24px;--_ui5-v1-24-17_radio_button_height: 42px;--_ui5-v1-24-17_radio_button_svg_size: 24px;--_ui5-v1-24-17_radio_button_inner_ring_radius: 25%;--_ui5-v1-24-17_radio_button_outer_ring_padding_with_label: 9px 11px 9px 9px;--_ui5-v1-24-17_radio_button_label_offset: 0;--_ui5-v1-24-17_progress_indicator_bar_border_radius: 6px;--_ui5-v1-24-17_progress_indicator_root_height: .5rem;--_ui5-v1-24-17_progress_indicator_bar_height: .75rem;--_ui5-v1-24-17_progress_indicator_icon_size: 1.125rem;--_ui5-v1-24-17_progress_indicator_icon_right_position: -24px;--_ui5-v1-24-17_progress_indicator_padding_end: 24px;--_ui5-v1-24-17_toast_vertical_offset: 2.5rem;--_ui5-v1-24-17_tc_item_text_line_height: 1.25rem;--_ui5-v1-24-17_calendar_top_bottom_padding: var(--udexSpacer8, 8px);--_ui5-v1-24-17_calendar_left_right_padding: var(--udexSpacer8, 8px);--_ui5-v1-24-17_day_picker_item_width: 42px;--_ui5-v1-24-17_day_picker_item_height: 42px;--_ui5-v1-24-17_calendar_width: 371px;--_ui5-v1-24-17_calendar_height: auto;--_ui5-v1-24-17_calendar_header_height: 42px;--_ui5-v1-24-17_calendar_header_arrow_button_width: 42px;--_ui5-v1-24-17_month_picker_item_height: 36px;--_ui5-v1-24-17_monthpicker_item_margin: -8px 0 var(--udexSpacer16, 16px) 0;--_ui5-v1-24-17_year_picker_item_height: 36px;--_ui5-v1-24-17_yearpicker_item_margin: -8px 0 var(--udexSpacer16, 16px) 0;--_ui5-v1-24-17_slider_handle_icon_size: var(--udexSpacer20, 1.25rem);--_ui5-v1-24-17_slider_handle_width: 2.75rem;--_ui5-v1-24-17_slider_handle_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-17_slider_handle_top: -.875rem;--_ui5-v1-24-17_range_slider_progress_focus_top: -1.18rem;--_ui5-v1-24-17_slider_start_end_point_left: -.875rem;--_ui5-v1-24-17_slider_tooltip_bottom: 2.5rem;--_ui5-v1-24-17_slider_tooltip_border_radius: var(--udexSpacer4, .25rem);--_ui5-v1-24-17_slider_tooltip_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-17_slider_tooltip_min_width: 2.75rem;--_ui5-v1-24-17_slider_handle_focus_border: 2px solid var(--sapSlider_Active_HandleBorderColor)}\n`};\nexport default styleData;\n\t"]}
|
|
1
|
+
{"version":3,"file":"parameters-bundle.css.js","sourceRoot":"","sources":["../../../../../../../src/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,EAAC,WAAW,EAAC,yBAAyB,EAAC,QAAQ,EAAC,uEAAuE,EAAC,OAAO,EAAC;CAC5J,EAAC,CAAC;AACH,eAAe,SAAS,CAAC","sourcesContent":["import type { StyleData } from \"@ui5/webcomponents-base/dist/types.js\";\n\nconst styleData: StyleData = {packageName:\"@sapudex/web-components\",fileName:\"themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.ts\",content:`:root{--browser_scrollbar_border_radius: var(--udexRadiusM, 8px);--_ui5-v1-24-20_popup_header_font_family: var(--sapFontFamily);--_ui5-v1-24-20_popup_header_font_weight: var(--udexTypographyFontWeightRegular);--_ui5-v1-24-20_checkbox_inner_background: var(--sapBackgroundColor);--_ui5-v1-24-20_checkbox_inner_border: var(--sapElement_BorderWidth) solid var(--sapField_BorderColor);--_ui5-v1-24-20_checkbox_inner_selected_border_color: var(--sapField_BorderColor);--_ui5-v1-24-20_checkbox_checkmark_color: var(--udexColorBlue7);--_ui5-v1-24-20_checkbox_inner_hover_checked_border_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-20_checkbox_inner_hover_border_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-20_checkbox_hover_background: var(--sapInformationBackground, #EBF8FF);--_ui5-v1-24-20_checkbox_inner_active_border_color: var(--sapSelectedColor);--_ui5-v1-24-20_checkbox_label_color: var(--sapField_TextColor);--_ui5-v1-24-20_checkbox_inner_disabled_border_color: var(--sapField_BorderColor);--_ui5-v1-24-20_checkbox_disabled_label_color: var(--sapField_TextColor);--_ui5-v1-24-20_checkbox_inner_width_height: 24px;--_ui5-v1-24-20_checkbox_width_height: 42px;--_ui5-v1-24-20_checkbox_icon_size: 16px;--_ui5-v1-24-20_checkbox_partially_icon_size: 16px;--_ui5-v1-24-20_checkbox_inner_border_radius: 4px;--_ui5-v1-24-20_checkbox_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5-v1-24-20_checkbox_inner_readonly_border: var(--sapElement_BorderWidth) var(--sapField_ReadOnly_BorderColor) dashed;--_ui5-v1-24-20_checkbox_inner_success_border: var(--sapField_SuccessBorderWidth) solid var(--udexCoreSemanticSuccess6);--_ui5-v1-24-20_checkbox_inner_success_background_hover: var(--sapSuccessBackground, #F5FAE5);--_ui5-v1-24-20_checkbox_inner_error_border: var(--sapField_InvalidBorderWidth) solid var(--udexCoreSemanticError5);--_ui5-v1-24-20_checkbox_inner_error_background_hover: var(--sapErrorBackground, #FFEAF4);--_ui5-v1-24-20_checkbox_label_offset: .563rem;--_ui5-v1-24-20_checkbox_right_focus_distance: var(--udexSpacer8);--_ui5-v1-24-20_radio_button_outer_ring_bg: var(--sapField_Background, #ffffff);--_ui5-v1-24-20_radio_button_inner_size: 24px;--_ui5-v1-24-20_radio_button_checked_fill: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-20_radio_button_height: 42px;--_ui5-v1-24-20_radio_button_svg_size: 24px;--_ui5-v1-24-20_radio_button_inner_ring_radius: 25%;--_ui5-v1-24-20_radio_button_outer_ring_padding_with_label: 9px 11px 9px 9px;--_ui5-v1-24-20_radio_button_outer_ring_padding: 9px;--_ui5-v1-24-20_radio_button_label_offset: 0;--_ui5-v1-24-20_radio_button_hover_fill: #EBF8FF;--_ui5-v1-24-20_radio_button_outer_ring_checked_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-20_radio_button_outer_ring_checked_hover_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-20_radio_button_outer_ring_color: var(--sapField_BorderColor, #5b738b);--_ui5-v1-24-20_radio_button_outer_ring_hover_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-20_radio_button_inner_ring_color: var(--sapContent_Selected_ForegroundColor, #0070f2);--_ui5-v1-24-20_radio_button_read_only_inner_ring_color: var(--sapField_ReadOnly_BorderColor, #5B738B);--_ui5-v1-24-20_radio_button_hover_fill_success: var(--sapSuccessBackground, #F5FAE5);--_ui5-v1-24-20_radio_button_hover_fill_error: var(--sapErrorBackground, #FFEAF4);--_ui5-v1-24-20_link_focus_background_color: transparent;--_ui5-v1-24-20_link_focus_color: var(--sapLinkColor);--_ui5-v1-24-20_link_focus_text_decoration: underline;--_ui5-v1-24-20_link_focused_hover_text_color: var(--sapLink_Hover_Color);--_ui5-v1-24-20_link_focused_hover_text_decoration: underline;--_ui5-v1-24-20_progress_indicator_bar_border_radius: 6px;--_ui5-v1-24-20_progress_indicator_root_height: .5rem;--_ui5-v1-24-20_progress_indicator_bar_height: .75rem;--_ui5-v1-24-20_progress_indicator_icon_size: 1.125rem;--_ui5-v1-24-20_progress_indicator_icon_right_position: -24px;--_ui5-v1-24-20_progress_indicator_padding_end: 24px;--_ui5-v1-24-20_toast_vertical_offset: 2.5rem;--_ui5-v1-24-20_toast_background: var(--udexColorNeutralWhite);--_ui5-v1-24-20_toast_shadow: var(--sapContent_Shadow2);--_ui5-v1-24-20_popover_box_shadow: 0px 0px 0px 1px var(--udexColorGrey4);--_ui5-v1-24-20_message_strip_padding_inline_no_icon: var(--udexSpacer12, 12px);--_ui5-v1-24-20_message_strip_padding_block_no_icon: var(--udexSpacer8, 8px);--_ui5-v1-24-20_message_strip_padding: var(--udexSpacer8, 8px) 36px;--_ui5-v1-24-20_message_strip_icon_top:calc(50% - 8px);--_ui5-v1-24-20_daypicker_daynames_container_height: 42px;--_ui5-v1-24-20_daypicker_dayname_color: var(--udexColorGrey6, #5B738B);--_ui5-v1-24-20_daypicker_weekname_color: var(--udexColorGrey6, #5B738B);--_ui5-v1-24-20_daypicker_item_now_border_color: var(--udexColorPink8, #A100C2);--_ui5-v1-24-20_daypicker_item_weeekend_filter: none;--_ui5-v1-24-20_daypicker_item_select_between_border: 1px solid var(--udexColorBlue9, #0040B0);--_ui5-v1-24-20_calendar_header_middle_button_focus_outline: 1px solid var(--udexColorBlue9, #0040B0);--_ui5-v1-24-20_calendar_header_arrow_button_box_shadow: none;--ui5-v1-24-20_carousel_active_dot_background: var(--udexColorBlue9);--_ui5-v1-24-20_tokenizer_padding: var(--udexSpacer12, 12px);--_ui5-v1-24-20_slider_handle_icon_size: var(--udexSpacer20, 1.25rem);--_ui5-v1-24-20_slider_handle_width: 2.75rem;--_ui5-v1-24-20_slider_handle_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-20_slider_handle_top: -.875rem;--_ui5-v1-24-20_slider_label_color: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-20_range_slider_progress_focus_top: -1.18rem;--_ui5-v1-24-20_slider_progress_after_background: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-20_slider_tickmark_bg: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-20_slider_tickmark_in_range_bg: var(--sapSlider_Selected_BorderColor, #0070f2);--_ui5-v1-24-20_slider_start_end_point_left: -.875rem;--_ui5-v1-24-20_slider_tooltip_bottom: 2.5rem;--_ui5-v1-24-20_slider_tooltip_border: 1px solid var(--sapField_BorderColor, #5B738B);--_ui5-v1-24-20_slider_tooltip_border_radius: var(--udexSpacer4, .25rem);--_ui5-v1-24-20_slider_tooltip_color: var(--sapContent_MeasureIndicatorColor, #5b738b);--_ui5-v1-24-20_slider_tooltip_fontsize: var(--udexTypographyNavigationRegularMFontSize, 14px);--_ui5-v1-24-20_slider_tooltip_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-20_slider_tooltip_min_width: 2.75rem;--_ui5-v1-24-20_slider_handle_focus_border: 2px solid var(--sapSlider_Active_HandleBorderColor)}udex-phone-number-field{--_ui5-v1-24-20_button_border_radius: var(--udexRadiusXS)}udex-search,udex-password-field,udex-select-box,udex-filter-menu,udex-country-selector{--_ui5-v1-24-20_button_pressed_focused_border_color: transparent}udex-password-field{--_ui5-v1-24-20_icon_transform_scale: none}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5-v1-24-20_button_base_height: 3rem;--_ui5-v1-24-20_button_base_padding: 3rem;--_ui5-v1-24-20_checkbox_inner_width_height: 24px;--_ui5-v1-24-20_checkbox_width_height: 42px;--_ui5-v1-24-20_checkbox_icon_size: 16px;--_ui5-v1-24-20_checkbox_partially_icon_size: 16px;--_ui5-v1-24-20_radio_button_min_width: 42px;--_ui5-v1-24-20_radio_button_outer_ring_padding: 9px;--_ui5-v1-24-20_radio_button_inner_size: 24px;--_ui5-v1-24-20_radio_button_height: 42px;--_ui5-v1-24-20_radio_button_svg_size: 24px;--_ui5-v1-24-20_radio_button_inner_ring_radius: 25%;--_ui5-v1-24-20_radio_button_outer_ring_padding_with_label: 9px 11px 9px 9px;--_ui5-v1-24-20_radio_button_label_offset: 0;--_ui5-v1-24-20_progress_indicator_bar_border_radius: 6px;--_ui5-v1-24-20_progress_indicator_root_height: .5rem;--_ui5-v1-24-20_progress_indicator_bar_height: .75rem;--_ui5-v1-24-20_progress_indicator_icon_size: 1.125rem;--_ui5-v1-24-20_progress_indicator_icon_right_position: -24px;--_ui5-v1-24-20_progress_indicator_padding_end: 24px;--_ui5-v1-24-20_toast_vertical_offset: 2.5rem;--_ui5-v1-24-20_tc_item_text_line_height: 1.25rem;--_ui5-v1-24-20_calendar_top_bottom_padding: var(--udexSpacer8, 8px);--_ui5-v1-24-20_calendar_left_right_padding: var(--udexSpacer8, 8px);--_ui5-v1-24-20_day_picker_item_width: 42px;--_ui5-v1-24-20_day_picker_item_height: 42px;--_ui5-v1-24-20_calendar_width: 371px;--_ui5-v1-24-20_calendar_height: auto;--_ui5-v1-24-20_calendar_header_height: 42px;--_ui5-v1-24-20_calendar_header_arrow_button_width: 42px;--_ui5-v1-24-20_month_picker_item_height: 36px;--_ui5-v1-24-20_monthpicker_item_margin: -8px 0 var(--udexSpacer16, 16px) 0;--_ui5-v1-24-20_year_picker_item_height: 36px;--_ui5-v1-24-20_yearpicker_item_margin: -8px 0 var(--udexSpacer16, 16px) 0;--_ui5-v1-24-20_slider_handle_icon_size: var(--udexSpacer20, 1.25rem);--_ui5-v1-24-20_slider_handle_width: 2.75rem;--_ui5-v1-24-20_slider_handle_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-20_slider_handle_top: -.875rem;--_ui5-v1-24-20_range_slider_progress_focus_top: -1.18rem;--_ui5-v1-24-20_slider_start_end_point_left: -.875rem;--_ui5-v1-24-20_slider_tooltip_bottom: 2.5rem;--_ui5-v1-24-20_slider_tooltip_border_radius: var(--udexSpacer4, .25rem);--_ui5-v1-24-20_slider_tooltip_height: var(--udexSpacer32, 2rem);--_ui5-v1-24-20_slider_tooltip_min_width: 2.75rem;--_ui5-v1-24-20_slider_handle_focus_border: 2px solid var(--sapSlider_Active_HandleBorderColor)}\n`};\nexport default styleData;\n\t"]}
|
package/dist/web-types.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapudex/web-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.176.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@types/vimeo__player": "^2.18.3",
|
|
32
32
|
"@types/youtube": "^0.1.0",
|
|
33
|
-
"@ui5/webcomponents": "1.24.
|
|
34
|
-
"@ui5/webcomponents-base": "1.24.
|
|
35
|
-
"@ui5/webcomponents-fiori": "1.24.
|
|
36
|
-
"@ui5/webcomponents-icons": "1.24.
|
|
37
|
-
"@ui5/webcomponents-theming": "1.24.
|
|
33
|
+
"@ui5/webcomponents": "1.24.20",
|
|
34
|
+
"@ui5/webcomponents-base": "1.24.20",
|
|
35
|
+
"@ui5/webcomponents-fiori": "1.24.20",
|
|
36
|
+
"@ui5/webcomponents-icons": "1.24.20",
|
|
37
|
+
"@ui5/webcomponents-theming": "1.24.20",
|
|
38
38
|
"@vimeo/player": "^2.24.0",
|
|
39
39
|
"video.js": "8.22.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@ui5/webcomponents-tools": "1.24.
|
|
42
|
+
"@ui5/webcomponents-tools": "1.24.20",
|
|
43
43
|
"chromedriver": "132.0.2",
|
|
44
44
|
"cross-env": "^7.0.3",
|
|
45
45
|
"typescript": "^4.9.4",
|
package/src/AvatarGroup.ts
CHANGED
|
@@ -104,7 +104,6 @@ class UDExAvatarGroup extends AvatarGroup {
|
|
|
104
104
|
_prepareAvatars() {
|
|
105
105
|
this._colorIndex = 0;
|
|
106
106
|
const visibleColors = Object.values(AvatarColorScheme);
|
|
107
|
-
let avatarInitials = "";
|
|
108
107
|
|
|
109
108
|
this.items.forEach((avatar, index) => {
|
|
110
109
|
if (++this._colorIndex > visibleColors.length - 3) {
|
|
@@ -112,8 +111,6 @@ class UDExAvatarGroup extends AvatarGroup {
|
|
|
112
111
|
}
|
|
113
112
|
avatar.interactive = !this._isGroup;
|
|
114
113
|
avatar.toggleAttribute("ui5-avatar", true);
|
|
115
|
-
avatarInitials += this._isGroup && avatar.hasAttribute("initials") && !avatar.shadowRoot?.firstElementChild?.hasAttribute("_has-image")
|
|
116
|
-
? `${avatar.getAttribute("initials")} ` : "";
|
|
117
114
|
|
|
118
115
|
if (!avatar.getAttribute("color-scheme")) {
|
|
119
116
|
avatar.setAttribute("color-scheme", visibleColors[this._colorIndex]);
|
|
@@ -123,10 +120,6 @@ class UDExAvatarGroup extends AvatarGroup {
|
|
|
123
120
|
avatar.style.marginInlineEnd = avatarOffsets[avatar.effectiveSize][this.type];
|
|
124
121
|
}
|
|
125
122
|
});
|
|
126
|
-
|
|
127
|
-
if (avatarInitials) {
|
|
128
|
-
this.shadowRoot?.querySelector(".ui5-avatar-group-items")?.setAttribute("aria-label", `${avatarInitials}${this._ariaLabelText}`);
|
|
129
|
-
}
|
|
130
123
|
}
|
|
131
124
|
}
|
|
132
125
|
|
package/src/Badge.ts
CHANGED
|
@@ -87,7 +87,7 @@ class UDExBadge extends UI5Element {
|
|
|
87
87
|
* @default "End"
|
|
88
88
|
* @public
|
|
89
89
|
*/
|
|
90
|
-
|
|
90
|
+
@property({ type: IconPlacement, defaultValue: IconPlacement.End })
|
|
91
91
|
iconPlacement? : `${IconPlacement}`;
|
|
92
92
|
/**
|
|
93
93
|
* Defines icon name
|
package/src/RatingBar.hbs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="udex-rating-bar__progress"></div>
|
|
6
6
|
</div>
|
|
7
7
|
{{#if showPercentage}}
|
|
8
|
-
<div role="note" class="udex-rating-bar__percentage">{{validatedPercentage}}</div>
|
|
8
|
+
<div role="note" class="udex-rating-bar__percentage" aria-label="{{validatedPercentage}}">{{validatedPercentage}}</div>
|
|
9
9
|
{{/if}}
|
|
10
10
|
<span id="ratingDescription" class="hidden-text">{{_ratingDescription}}</span>
|
|
11
11
|
</div>
|
package/src/ReviewItem.hbs
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div class="udex-review-item__text-wrapper">
|
|
11
11
|
<p class="udex-review-item__text" id="udex-review-item__text">{{_completeText}}</p>
|
|
12
12
|
{{#if _showTextExpander}}
|
|
13
|
-
<udex-button id="reviewExpander" class="udex-review-item__text-expander" design="Invisible" size="
|
|
13
|
+
<udex-button id="reviewExpander" class="udex-review-item__text-expander" design="Invisible" size="Large" @click="{{_toggleText}}">{{buttonText}}</udex-button>
|
|
14
14
|
{{/if}}
|
|
15
15
|
</div>
|
|
16
16
|
{{#if author}}
|
package/src/Search.hbs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<div class="udex-search__root {{
|
|
1
|
+
<div class="udex-search__root {{searchClasses}}">
|
|
2
2
|
{{#if isShowSearchHomePrefix}}
|
|
3
|
-
<div class="udex-search__prefix">
|
|
3
|
+
<div class="udex-search__prefix {{prefixWrapperClasses}}">
|
|
4
4
|
<button
|
|
5
5
|
type="button"
|
|
6
6
|
role="combobox"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</button>
|
|
15
15
|
<ui5-popover
|
|
16
16
|
id="udex-search-prefix"
|
|
17
|
-
class="
|
|
17
|
+
class="{{prefixPopoverClasses}}"
|
|
18
18
|
hide-arrow
|
|
19
19
|
placement-type="Bottom"
|
|
20
20
|
horizontal-align="Left"
|
package/src/Search.ts
CHANGED
|
@@ -88,6 +88,8 @@ export enum Mode {
|
|
|
88
88
|
HomeSearch = "Home Search"
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
export type PopoverPlacement = "Bottom" | "Top";
|
|
92
|
+
|
|
91
93
|
/**
|
|
92
94
|
* @class
|
|
93
95
|
*
|
|
@@ -214,6 +216,15 @@ class UDExSearch extends UI5Element {
|
|
|
214
216
|
@property({ type: Boolean, noAttribute: true })
|
|
215
217
|
showResetButton!: boolean;
|
|
216
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Defines where the SuggestionPopover is currently placed.
|
|
221
|
+
*
|
|
222
|
+
* @default "Bottom"
|
|
223
|
+
* @private
|
|
224
|
+
*/
|
|
225
|
+
@property({ type: String, noAttribute: true, defaultValue: "Bottom" })
|
|
226
|
+
_popoverPlacement!: PopoverPlacement;
|
|
227
|
+
|
|
217
228
|
/**
|
|
218
229
|
* Defines display the submit button for the search field.
|
|
219
230
|
*
|
|
@@ -709,7 +720,7 @@ class UDExSearch extends UI5Element {
|
|
|
709
720
|
return this.shadowRoot!.querySelector(".udex-search__prefix") as HTMLElement;
|
|
710
721
|
}
|
|
711
722
|
|
|
712
|
-
getPrefixPopover() {
|
|
723
|
+
getPrefixPopover(): Popover {
|
|
713
724
|
return this.shadowRoot!.querySelector<Popover>("[ui5-popover]")!;
|
|
714
725
|
}
|
|
715
726
|
|
|
@@ -726,8 +737,9 @@ class UDExSearch extends UI5Element {
|
|
|
726
737
|
this._prefixDropdownExpanded = true;
|
|
727
738
|
dropdown.showAt(this.getPrefixButton());
|
|
728
739
|
dropdown.style.width = `${button.offsetWidth + 1}px`;
|
|
740
|
+
dropdown.classList.add(this.prefixPopoverClasses);
|
|
729
741
|
button.classList.add("udex-search__prefix-button--active");
|
|
730
|
-
wrapper.classList.add(
|
|
742
|
+
wrapper.classList.add(this.prefixWrapperClasses);
|
|
731
743
|
this.dropdownPrefix[0].addEventListener("item-press", this.handleItemClick);
|
|
732
744
|
}
|
|
733
745
|
}
|
|
@@ -750,8 +762,7 @@ class UDExSearch extends UI5Element {
|
|
|
750
762
|
handleAfterClosePrefixPopover() {
|
|
751
763
|
const wrapper = this.getPrefixWrapper();
|
|
752
764
|
const button = this.getPrefixButton();
|
|
753
|
-
|
|
754
|
-
wrapper.classList.remove("udex-search__prefix--show-popover");
|
|
765
|
+
wrapper.classList.remove("udex-search__prefix--show-popover", "udex-search__prefix--show-popover-top");
|
|
755
766
|
button.classList.remove("udex-search__prefix-button--active");
|
|
756
767
|
}
|
|
757
768
|
|
|
@@ -790,10 +801,9 @@ class UDExSearch extends UI5Element {
|
|
|
790
801
|
console.warn(error.message);
|
|
791
802
|
});
|
|
792
803
|
} else {
|
|
804
|
+
this.open = true;
|
|
793
805
|
this.Suggestion.open();
|
|
794
806
|
}
|
|
795
|
-
|
|
796
|
-
this.handleClassToRoot();
|
|
797
807
|
this.handleAriaExpanded();
|
|
798
808
|
}
|
|
799
809
|
}
|
|
@@ -801,9 +811,8 @@ class UDExSearch extends UI5Element {
|
|
|
801
811
|
onClosePopover(): void {
|
|
802
812
|
if (this.showSuggestedPopover) {
|
|
803
813
|
this.Suggestion!.close();
|
|
804
|
-
this.handleClassToRoot();
|
|
805
814
|
this.handleAriaExpanded();
|
|
806
|
-
this.
|
|
815
|
+
this.open = false;
|
|
807
816
|
}
|
|
808
817
|
}
|
|
809
818
|
|
|
@@ -811,16 +820,11 @@ class UDExSearch extends UI5Element {
|
|
|
811
820
|
this.Suggestion?.handleKeyPress(e);
|
|
812
821
|
}
|
|
813
822
|
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
if (this.mode === Mode.HomeSearch && hasAdditionRootClass && this.open) {
|
|
818
|
-
this.shadowRoot?.querySelector(".udex-search__root")?.classList.add("udex-search__root--show-popover");
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
if (this.mode === Mode.HomeSearch && !hasAdditionRootClass && !this.open) {
|
|
822
|
-
this.shadowRoot?.querySelector(".udex-search__root")?.classList.remove("udex-search__root--show-popover");
|
|
823
|
+
get rootClasses(): string {
|
|
824
|
+
if (this.mode === Mode.HomeSearch && this.showSuggestedPopover && this.open) {
|
|
825
|
+
return this.isSuggestionPopoverTop ? "udex-search__root--show-popover-top" : "udex-search__root--show-popover";
|
|
823
826
|
}
|
|
827
|
+
return "";
|
|
824
828
|
}
|
|
825
829
|
|
|
826
830
|
onBeforeRendering(): void {
|
|
@@ -875,8 +879,39 @@ class UDExSearch extends UI5Element {
|
|
|
875
879
|
}
|
|
876
880
|
}
|
|
877
881
|
|
|
882
|
+
private _createObserver(popover: Popover, ingoreOpenState: boolean = false): MutationObserver {
|
|
883
|
+
return new MutationObserver(mutationList => {
|
|
884
|
+
mutationList.forEach(mutation => {
|
|
885
|
+
const newValue = popover?.actualPlacementType;
|
|
886
|
+
const oldValue = mutation.oldValue;
|
|
887
|
+
|
|
888
|
+
if (mutation.attributeName === "actual-placement-type" && newValue !== oldValue) {
|
|
889
|
+
this._popoverPlacement = newValue as PopoverPlacement;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
if (mutation.attributeName === "open" && newValue !== oldValue && !ingoreOpenState) {
|
|
893
|
+
this.open = popover?.open || false;
|
|
894
|
+
}
|
|
895
|
+
});
|
|
896
|
+
});
|
|
897
|
+
}
|
|
898
|
+
|
|
878
899
|
onAfterRendering(): void {
|
|
879
900
|
if (this.showSuggestedPopover) {
|
|
901
|
+
const prefixPopover = this.getPrefixPopover();
|
|
902
|
+
|
|
903
|
+
if (this.Suggestion?.popover) {
|
|
904
|
+
const suggestionObserver = this._createObserver(this.Suggestion.popover);
|
|
905
|
+
const popoverNode = this.Suggestion?.popover as Node;
|
|
906
|
+
suggestionObserver.observe(popoverNode, { attributes: true, attributeOldValue: true });
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
if (prefixPopover) {
|
|
910
|
+
const prefixObserver = this._createObserver(prefixPopover, true);
|
|
911
|
+
const popoverNode = prefixPopover as Node;
|
|
912
|
+
prefixObserver.observe(popoverNode, { attributes: true, attributeOldValue: true });
|
|
913
|
+
}
|
|
914
|
+
|
|
880
915
|
this.handleOutsideClick();
|
|
881
916
|
this.handleOpenSuggestionPopover();
|
|
882
917
|
this.setSearchWidth();
|
|
@@ -957,7 +992,6 @@ class UDExSearch extends UI5Element {
|
|
|
957
992
|
if (isEscape(e)) {
|
|
958
993
|
if (this.open) {
|
|
959
994
|
this.Suggestion?.onEscape(e);
|
|
960
|
-
this.handleClassToRoot();
|
|
961
995
|
}
|
|
962
996
|
this.fireEvent("handle-close-search");
|
|
963
997
|
}
|
|
@@ -976,7 +1010,6 @@ class UDExSearch extends UI5Element {
|
|
|
976
1010
|
handleTabKeyList(e: KeyboardEvent) {
|
|
977
1011
|
if (isTabNext(e)) {
|
|
978
1012
|
this.Suggestion?.onKeyTabList(e);
|
|
979
|
-
this.handleClassToRoot();
|
|
980
1013
|
}
|
|
981
1014
|
}
|
|
982
1015
|
|
|
@@ -1156,6 +1189,16 @@ class UDExSearch extends UI5Element {
|
|
|
1156
1189
|
return this._recommendLabel;
|
|
1157
1190
|
}
|
|
1158
1191
|
|
|
1192
|
+
get isSuggestionPopoverTop(): boolean {
|
|
1193
|
+
const suggestionPopover = this.Suggestion?.popover;
|
|
1194
|
+
return suggestionPopover! && suggestionPopover.open && this._popoverPlacement === "Top";
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
get isPrefixSuggestionPopoverTop(): boolean {
|
|
1198
|
+
const prefixSuggestionPopover = this.getPrefixPopover();
|
|
1199
|
+
return prefixSuggestionPopover && prefixSuggestionPopover.open && this._popoverPlacement === "Top";
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1159
1202
|
get isShowSearchHomePrefix(): boolean {
|
|
1160
1203
|
return this.isHomeSearchWithPrefixMode && !!this.dropdownPrefix.length;
|
|
1161
1204
|
}
|
|
@@ -1168,12 +1211,31 @@ class UDExSearch extends UI5Element {
|
|
|
1168
1211
|
return this.mode === Mode.HomeSearch && !!this.dropdownPrefix.length;
|
|
1169
1212
|
}
|
|
1170
1213
|
|
|
1214
|
+
get searchClasses(): string {
|
|
1215
|
+
return `${this.classWithPrefix} ${this.rootClasses}`;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
get prefixWrapperClasses(): string {
|
|
1219
|
+
const prefixPopover = this.getPrefixPopover();
|
|
1220
|
+
if (prefixPopover && prefixPopover.open) {
|
|
1221
|
+
return this._popoverPlacement === "Top" ? "udex-search__prefix--show-popover-top" : "udex-search__prefix--show-popover";
|
|
1222
|
+
}
|
|
1223
|
+
return "";
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
get prefixPopoverClasses(): string {
|
|
1227
|
+
return this.isPrefixSuggestionPopoverTop ? "udex-search__prefix-popover-top" : "udex-search__prefix-popover";
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1171
1230
|
get classWithPrefix(): string {
|
|
1172
1231
|
return this.isHomeSearchWithPrefixMode ? "udex-search-prefix" : "";
|
|
1173
1232
|
}
|
|
1174
1233
|
|
|
1175
1234
|
get homeSearchPopoverClass(): string {
|
|
1176
|
-
|
|
1235
|
+
if (this.isHomeSearchMode || this.isHomeSearchWithPrefixMode) {
|
|
1236
|
+
return this.isSuggestionPopoverTop ? "udex-search-suggestions__root-top--home" : "udex-search-suggestions__root--home";
|
|
1237
|
+
}
|
|
1238
|
+
return "";
|
|
1177
1239
|
}
|
|
1178
1240
|
|
|
1179
1241
|
get homeSearchWithPrefixPopoverClass(): string {
|
package/src/TabHeader.hbs
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
{{/if}}
|
|
46
46
|
</span>
|
|
47
47
|
{{/if}}
|
|
48
|
-
<
|
|
48
|
+
<p class="udex-tab-navigation__button-text {{classWithIcon}}">
|
|
49
49
|
{{text}}
|
|
50
50
|
{{#if numberBadge}}
|
|
51
51
|
<udex-badge
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
{{numberBadge}}
|
|
57
57
|
</udex-badge>
|
|
58
58
|
{{/if}}
|
|
59
|
-
</
|
|
59
|
+
</p>
|
|
60
60
|
{{#if hasNotIcon}}
|
|
61
61
|
<span class="udex-tab-navigation__button-badge"></span>
|
|
62
62
|
{{/if}}
|
|
@@ -5,7 +5,7 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
5
5
|
import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
|
|
6
6
|
|
|
7
7
|
function block0 (this: RatingBar, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class="udex-rating-bar__container"><div aria-hidden="true" class="udex-rating-bar__rating">${ifDefined(this.validatedRating)}</div><${scopeTag("ui5-icon", tags, suffix)} role="img" aria-labelledby="ratingDescription" name="favorite" class="udex-rating__icon"></${scopeTag("ui5-icon", tags, suffix)}><div class="udex-rating-bar__track"><div class="udex-rating-bar__progress"></div></div>${ this.showPercentage ? block1.call(this, context, tags, suffix) : undefined }<span id="ratingDescription" class="hidden-text">${ifDefined(this._ratingDescription)}</span></div>` : html`<div class="udex-rating-bar__container"><div aria-hidden="true" class="udex-rating-bar__rating">${ifDefined(this.validatedRating)}</div><ui5-icon role="img" aria-labelledby="ratingDescription" name="favorite" class="udex-rating__icon"></ui5-icon><div class="udex-rating-bar__track"><div class="udex-rating-bar__progress"></div></div>${ this.showPercentage ? block1.call(this, context, tags, suffix) : undefined }<span id="ratingDescription" class="hidden-text">${ifDefined(this._ratingDescription)}</span></div>`;}
|
|
8
|
-
function block1 (this: RatingBar, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div role="note" class="udex-rating-bar__percentage">${ifDefined(this.validatedPercentage)}</div>`;}
|
|
8
|
+
function block1 (this: RatingBar, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div role="note" class="udex-rating-bar__percentage" aria-label="${ifDefined(this.validatedPercentage)}">${ifDefined(this.validatedPercentage)}</div>`;}
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
export default block0;
|
|
@@ -6,7 +6,7 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
6
6
|
|
|
7
7
|
function block0 (this: ReviewItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class="${ifDefined(this.reviewItemClasses)}"><div class="udex-review-item__rating-container"><${scopeTag("udex-rating-indicator", tags, suffix)} value="${ifDefined(this.validatedRating)}" max="${ifDefined(this._maxRating)}" readonly></${scopeTag("udex-rating-indicator", tags, suffix)}>${ this.date ? block1.call(this, context, tags, suffix) : undefined }</div><div class="udex-review-item__text-container"><div class="udex-review-item__title">${ifDefined(this.reviewTitle)}</div><div class="udex-review-item__text-wrapper"><p class="udex-review-item__text" id="udex-review-item__text">${ifDefined(this._completeText)}</p>${ this._showTextExpander ? block2.call(this, context, tags, suffix) : undefined }</div>${ this.author ? block3.call(this, context, tags, suffix) : undefined }</div></div>` : html`<div class="${ifDefined(this.reviewItemClasses)}"><div class="udex-review-item__rating-container"><udex-rating-indicator value="${ifDefined(this.validatedRating)}" max="${ifDefined(this._maxRating)}" readonly></udex-rating-indicator>${ this.date ? block1.call(this, context, tags, suffix) : undefined }</div><div class="udex-review-item__text-container"><div class="udex-review-item__title">${ifDefined(this.reviewTitle)}</div><div class="udex-review-item__text-wrapper"><p class="udex-review-item__text" id="udex-review-item__text">${ifDefined(this._completeText)}</p>${ this._showTextExpander ? block2.call(this, context, tags, suffix) : undefined }</div>${ this.author ? block3.call(this, context, tags, suffix) : undefined }</div></div>`;}
|
|
8
8
|
function block1 (this: ReviewItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot slot="date" name="date" class="udex-review-item__date"></slot>`;}
|
|
9
|
-
function block2 (this: ReviewItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-button", tags, suffix)} id="reviewExpander" class="udex-review-item__text-expander" design="Invisible" size="
|
|
9
|
+
function block2 (this: ReviewItem, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-button", tags, suffix)} id="reviewExpander" class="udex-review-item__text-expander" design="Invisible" size="Large" @click="${this._toggleText}">${ifDefined(this.buttonText)}</${scopeTag("udex-button", tags, suffix)}>` : html`<udex-button id="reviewExpander" class="udex-review-item__text-expander" design="Invisible" size="Large" @click="${this._toggleText}">${ifDefined(this.buttonText)}</udex-button>`;}
|
|
10
10
|
function block3 (this: ReviewItem, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<slot slot="author" name="author" class="udex-review-item__author"></slot>`;}
|
|
11
11
|
|
|
12
12
|
|
|
@@ -4,8 +4,8 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
4
4
|
import type Search from "../../Search.js";
|
|
5
5
|
import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
|
|
6
6
|
|
|
7
|
-
function block0 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-search__root ${ifDefined(this.
|
|
8
|
-
function block1 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class="udex-search__prefix"><button type="button" role="combobox" aria-expanded="${ifDefined(this._prefixDropdownExpanded)}" aria-haspopup="true" aria-controls="udex-search-prefix" class="udex-search__prefix-button" @click="${this.handleDropdownClick}"><span class="udex-search__prefix-label">${ifDefined(this.labelPrefix)}</span><${scopeTag("ui5-icon", tags, suffix)} class="udex-search__prefix-icon" name="slim-arrow-down"></${scopeTag("ui5-icon", tags, suffix)}></button><${scopeTag("ui5-popover", tags, suffix)} id="udex-search-prefix" class="
|
|
7
|
+
function block0 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class="udex-search__root ${ifDefined(this.searchClasses)}">${ this.isShowSearchHomePrefix ? block1.call(this, context, tags, suffix) : undefined }<form role="search" class="udex-search__container ${ifDefined(this.focusClasses)}${ifDefined(this.isNotEmptyClass)}">${ this.labelAnimationDisabled ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }<div class="udex-search__icons">${ this.isShowResetButton ? block5.call(this, context, tags, suffix) : undefined }${ this.isVoiceButton ? block6.call(this, context, tags, suffix) : undefined }${ this.showSubmitButton ? block7.call(this, context, tags, suffix) : undefined }</div></form></div>`;}
|
|
8
|
+
function block1 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class="udex-search__prefix ${ifDefined(this.prefixWrapperClasses)}"><button type="button" role="combobox" aria-expanded="${ifDefined(this._prefixDropdownExpanded)}" aria-haspopup="true" aria-controls="udex-search-prefix" class="udex-search__prefix-button" @click="${this.handleDropdownClick}"><span class="udex-search__prefix-label">${ifDefined(this.labelPrefix)}</span><${scopeTag("ui5-icon", tags, suffix)} class="udex-search__prefix-icon" name="slim-arrow-down"></${scopeTag("ui5-icon", tags, suffix)}></button><${scopeTag("ui5-popover", tags, suffix)} id="udex-search-prefix" class="${ifDefined(this.prefixPopoverClasses)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${styleMap(this.prefixPopoverStyles)}" @after-close="${this.handleAfterClosePrefixPopover}"><slot></slot></${scopeTag("ui5-popover", tags, suffix)}></div>` : html`<div class="udex-search__prefix ${ifDefined(this.prefixWrapperClasses)}"><button type="button" role="combobox" aria-expanded="${ifDefined(this._prefixDropdownExpanded)}" aria-haspopup="true" aria-controls="udex-search-prefix" class="udex-search__prefix-button" @click="${this.handleDropdownClick}"><span class="udex-search__prefix-label">${ifDefined(this.labelPrefix)}</span><ui5-icon class="udex-search__prefix-icon" name="slim-arrow-down"></ui5-icon></button><ui5-popover id="udex-search-prefix" class="${ifDefined(this.prefixPopoverClasses)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${styleMap(this.prefixPopoverStyles)}" @after-close="${this.handleAfterClosePrefixPopover}"><slot></slot></ui5-popover></div>`;}
|
|
9
9
|
function block2 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<input id="search-input" type="search" name="search" class="udex-search__field" autocomplete="off" aria-autocomplete="list" aria-haspopup="${ifDefined(this.getAriaHasPopup)}" aria-label="Search" placeholder="${ifDefined(this.label)}" .value="${ifDefined(this.value)}" @input="${this.handleSearchChange}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @focusout="${this.handleFocusout}" @blur="${this.handleBlur}" @click="${this.handleInputClick}" />`;}
|
|
10
10
|
function block3 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.label ? block4.call(this, context, tags, suffix) : undefined }<input id="search-input" type="search" name="search" class="udex-search__field" autocomplete="off" aria-autocomplete="list" aria-label="${ifDefined(this.accInfo.ariaLabel)}" aria-haspopup="${ifDefined(this.getAriaHasPopup)}" .value="${ifDefined(this.value)}" @input="${this.handleSearchChange}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @focusout="${this.handleFocusout}" @blur="${this.handleBlur}" @click="${this.handleInputClick}" />`;}
|
|
11
11
|
function block4 (this: Search, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<label for="search-input" class="${ifDefined(this.labelClasses)}">${ifDefined(this.label)}</label>`;}
|
|
@@ -5,12 +5,12 @@ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
5
5
|
import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
|
|
6
6
|
|
|
7
7
|
function block0 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.hasNotHref ? block1.call(this, context, tags, suffix) : block6.call(this, context, tags, suffix) } `;}
|
|
8
|
-
function block1 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" tabindex="${ifDefined(this._tabIndex)}" type="button" role="tab" aria-describedby="udex-tab-navigation__${ifDefined(this._id)}__accessible-name" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" aria-controls="${ifDefined(this._contentId)}" aria-selected="${ifDefined(this.effectiveSelected)}" aria-labelledby="${ifDefined(this.ariaLabelledBy)}" ._realTab="${ifDefined(this)}" style="width: ${ifDefined(this._width)};">${ this.hasIcon ? block2.call(this, context, tags, suffix) : undefined }<
|
|
8
|
+
function block1 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" tabindex="${ifDefined(this._tabIndex)}" type="button" role="tab" aria-describedby="udex-tab-navigation__${ifDefined(this._id)}__accessible-name" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" aria-controls="${ifDefined(this._contentId)}" aria-selected="${ifDefined(this.effectiveSelected)}" aria-labelledby="${ifDefined(this.ariaLabelledBy)}" ._realTab="${ifDefined(this)}" style="width: ${ifDefined(this._width)};">${ this.hasIcon ? block2.call(this, context, tags, suffix) : undefined }<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block4.call(this, context, tags, suffix) : undefined }</p>${ this.hasNotIcon ? block5.call(this, context, tags, suffix) : undefined }<span aria-hidden="true" class="hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span></button>`;}
|
|
9
9
|
function block2 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block3.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block3.call(this, context, tags, suffix) : undefined }</span>`;}
|
|
10
10
|
function block3 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
|
|
11
11
|
function block4 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Large">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Large">${ifDefined(this.numberBadge)}</udex-badge>`;}
|
|
12
12
|
function block5 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
|
|
13
|
-
function block6 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" tabindex="-1" role="tab" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" href="${ifDefined(this.href)}" target="${ifDefined(this.target)}" style="max-width: ${ifDefined(this._maxWidth)}px; width: ${ifDefined(this._width)};" ._realTab="${ifDefined(this)}">${ this.hasIcon ? block7.call(this, context, tags, suffix) : undefined }<
|
|
13
|
+
function block6 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a id="${ifDefined(this._id)}" class="udex-tab-navigation__button-tab ${ifDefined(this.selectedClass)}${ifDefined(this.classWithIconWithoutBackground)}${ifDefined(this.buttonClassWithIcon)}" tabindex="-1" role="tab" aria-posinset="${ifDefined(this._posinset)}" aria-setsize="${ifDefined(this._setsize)}" href="${ifDefined(this.href)}" target="${ifDefined(this.target)}" style="max-width: ${ifDefined(this._maxWidth)}px; width: ${ifDefined(this._width)};" ._realTab="${ifDefined(this)}">${ this.hasIcon ? block7.call(this, context, tags, suffix) : undefined }<p class="udex-tab-navigation__button-text ${ifDefined(this.classWithIcon)}">${ifDefined(this.text)}${ this.numberBadge ? block9.call(this, context, tags, suffix) : undefined }</p>${ this.hasNotIcon ? block10.call(this, context, tags, suffix) : undefined }<span aria-hidden="true" class="hidden" id="udex-tab-navigation__${ifDefined(this._id)}__accessible-name">${ifDefined(this.accessibleNameText)}</span></a>`;}
|
|
14
14
|
function block7 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><${scopeTag("ui5-icon", tags, suffix)} class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></${scopeTag("ui5-icon", tags, suffix)}>${ this.showAttentionBadge ? block8.call(this, context, tags, suffix) : undefined }</span>` : html`<span class="udex-tab-navigation__button-icon-outer" role="presentation" aria-hidden="true"><ui5-icon class="udex-tab-navigation__button-icon" name="${ifDefined(this.icon)}"></ui5-icon>${ this.showAttentionBadge ? block8.call(this, context, tags, suffix) : undefined }</span>`;}
|
|
15
15
|
function block8 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class="udex-tab-navigation__button-badge"></span>`;}
|
|
16
16
|
function block9 (this: TabHeader, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("udex-badge", tags, suffix)} class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Large">${ifDefined(this.numberBadge)}</${scopeTag("udex-badge", tags, suffix)}>` : html`<udex-badge class="udex-tab-navigation__badge" type="Number" number-design="Blue" size="Large">${ifDefined(this.numberBadge)}</udex-badge>`;}
|