@ui5/webcomponents 1.5.0 → 1.7.1
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/CHANGELOG.md +113 -0
- package/dist/Avatar.js +29 -1
- package/dist/AvatarGroup.js +20 -2
- package/dist/BreadcrumbsItem.js +2 -2
- package/dist/Button.js +4 -4
- package/dist/Calendar.js +33 -45
- package/dist/CalendarHeader.js +5 -1
- package/dist/CardHeader.js +1 -0
- package/dist/Carousel.js +9 -0
- package/dist/CheckBox.js +2 -2
- package/dist/ComboBox.js +52 -6
- package/dist/DatePicker.js +17 -1
- package/dist/DateRangePicker.js +8 -2
- package/dist/DateTimePicker.js +1 -1
- package/dist/Dialog.js +41 -1
- package/dist/Icon.js +9 -9
- package/dist/Input.js +32 -13
- package/dist/Label.js +1 -3
- package/dist/Link.js +4 -2
- package/dist/List.js +17 -1
- package/dist/Menu.js +6 -4
- package/dist/MenuItem.js +20 -5
- package/dist/MessageStrip.js +1 -1
- package/dist/MonthPicker.js +9 -0
- package/dist/MultiComboBox.js +47 -6
- package/dist/MultiInput.js +9 -2
- package/dist/Option.js +2 -2
- package/dist/Panel.js +24 -4
- package/dist/Popover.js +5 -4
- package/dist/Popup.js +13 -2
- package/dist/RadioButton.js +7 -5
- package/dist/RangeSlider.js +1 -1
- package/dist/RatingIndicator.js +1 -1
- package/dist/SegmentedButton.js +1 -1
- package/dist/Select.js +34 -7
- package/dist/Slider.js +1 -1
- package/dist/SliderBase.js +4 -4
- package/dist/SplitButton.js +2 -2
- package/dist/StandardListItem.js +3 -3
- package/dist/StepInput.js +1 -1
- package/dist/SuggestionItem.js +2 -2
- package/dist/Switch.js +1 -1
- package/dist/Tab.js +17 -10
- package/dist/TabContainer.js +169 -148
- package/dist/TabSeparator.js +8 -1
- package/dist/Table.js +1 -1
- package/dist/TextArea.js +8 -3
- package/dist/TimePickerBase.js +8 -0
- package/dist/TimeSelection.js +1 -2
- package/dist/Tokenizer.js +74 -8
- package/dist/Tree.js +4 -0
- package/dist/TreeItem.js +2 -2
- package/dist/TreeListItem.js +1 -1
- package/dist/YearPicker.js +50 -25
- package/dist/api.json +1 -1
- package/dist/assets/SAP-icons-business-suite.7cff1fd8.js +1 -0
- package/dist/assets/SAP-icons.7f154911.js +1 -0
- package/dist/assets/SAP-icons.e76c8241.js +1 -0
- package/dist/assets/messagebundle_ar.f3e988df.js +1 -0
- package/dist/assets/messagebundle_bg.a3f6fdd8.js +1 -0
- package/dist/assets/messagebundle_ca.5e72bf09.js +1 -0
- package/dist/assets/messagebundle_cs.5720e069.js +1 -0
- package/dist/assets/messagebundle_cy.51ed6118.js +1 -0
- package/dist/assets/messagebundle_da.d83f1df6.js +1 -0
- package/dist/assets/messagebundle_de.00b8fac3.js +1 -0
- package/dist/assets/messagebundle_el.54337d1a.js +1 -0
- package/dist/assets/messagebundle_en.46c4c8b4.js +1 -0
- package/dist/assets/messagebundle_en_GB.d9037cba.js +1 -0
- package/dist/assets/messagebundle_en_US_sappsd.2f342e46.js +1 -0
- package/dist/assets/messagebundle_en_US_saprigi.9e3ec6ce.js +1 -0
- package/dist/assets/messagebundle_en_US_saptrc.a358bbc3.js +1 -0
- package/dist/assets/messagebundle_es.6edd9aac.js +1 -0
- package/dist/assets/messagebundle_es_MX.b9a235b1.js +1 -0
- package/dist/assets/messagebundle_et.2f95fbc0.js +1 -0
- package/dist/assets/messagebundle_fi.e408238f.js +1 -0
- package/dist/assets/messagebundle_fr.023ec658.js +1 -0
- package/dist/assets/messagebundle_fr_CA.700b3003.js +1 -0
- package/dist/assets/messagebundle_hi.e54398ec.js +1 -0
- package/dist/assets/messagebundle_hr.87a5cf12.js +1 -0
- package/dist/assets/messagebundle_hu.11f04021.js +1 -0
- package/dist/assets/messagebundle_it.aa33f57d.js +1 -0
- package/dist/assets/messagebundle_iw.876a2de2.js +1 -0
- package/dist/assets/messagebundle_ja.8e38b3b9.js +1 -0
- package/dist/assets/messagebundle_kk.16201d64.js +1 -0
- package/dist/assets/messagebundle_ko.efd3d190.js +1 -0
- package/dist/assets/messagebundle_lt.8df3235f.js +1 -0
- package/dist/assets/messagebundle_lv.1485b0dd.js +1 -0
- package/dist/assets/messagebundle_ms.2801cf14.js +1 -0
- package/dist/assets/messagebundle_nl.fbaa57e5.js +1 -0
- package/dist/assets/messagebundle_no.aed62d2d.js +1 -0
- package/dist/assets/messagebundle_pl.ec09771e.js +1 -0
- package/dist/assets/messagebundle_pt.2ba5f988.js +1 -0
- package/dist/assets/messagebundle_pt_PT.f26a67f1.js +1 -0
- package/dist/assets/messagebundle_ro.71197951.js +1 -0
- package/dist/assets/messagebundle_ru.0bc1939f.js +1 -0
- package/dist/assets/messagebundle_sh.097c2c2b.js +1 -0
- package/dist/assets/messagebundle_sk.79a87686.js +1 -0
- package/dist/assets/messagebundle_sl.9d602bfb.js +1 -0
- package/dist/assets/messagebundle_sv.efb6e0ef.js +1 -0
- package/dist/assets/messagebundle_th.94c0d1ab.js +1 -0
- package/dist/assets/messagebundle_tr.b3a571be.js +1 -0
- package/dist/assets/messagebundle_uk.8d0551a9.js +1 -0
- package/dist/assets/messagebundle_vi.6819ccf0.js +1 -0
- package/dist/assets/messagebundle_zh_CN.0c604a5d.js +1 -0
- package/dist/assets/messagebundle_zh_TW.4659173f.js +1 -0
- package/dist/assets/{parameters-bundle.css.d35c9c32.js → parameters-bundle.css.13aed676.js} +1 -1
- package/dist/assets/{parameters-bundle.css.95d13129.js → parameters-bundle.css.157592af.js} +1 -1
- package/dist/assets/parameters-bundle.css.18cb3350.js +1 -0
- package/dist/assets/{parameters-bundle.css.e9998509.js → parameters-bundle.css.25017933.js} +1 -1
- package/dist/assets/parameters-bundle.css.2be7f26d.js +1 -0
- package/dist/assets/parameters-bundle.css.31a66508.js +1 -0
- package/dist/assets/parameters-bundle.css.33915181.js +1 -0
- package/dist/assets/parameters-bundle.css.41e95390.js +1 -0
- package/dist/assets/parameters-bundle.css.4343d807.js +1 -0
- package/dist/assets/parameters-bundle.css.4438b4b3.js +1 -0
- package/dist/assets/parameters-bundle.css.54a888ff.js +1 -0
- package/dist/assets/{parameters-bundle.css.e9339a13.js → parameters-bundle.css.5550ceb2.js} +1 -1
- package/dist/assets/{parameters-bundle.css.c967e7ef.js → parameters-bundle.css.60956972.js} +1 -1
- package/dist/assets/{parameters-bundle.css.3db3a626.js → parameters-bundle.css.61a5fde8.js} +1 -1
- package/dist/assets/parameters-bundle.css.6d229ca8.js +1 -0
- package/dist/assets/parameters-bundle.css.7c26b98b.js +1 -0
- package/dist/assets/{parameters-bundle.css.780c6a0b.js → parameters-bundle.css.adc7c452.js} +1 -1
- package/dist/assets/{parameters-bundle.css.16d388d6.js → parameters-bundle.css.ba38c500.js} +1 -1
- package/dist/assets/{parameters-bundle.css.d4f504ed.js → parameters-bundle.css.c64ba63b.js} +1 -1
- package/dist/assets/{parameters-bundle.css.f0eeb6a4.js → parameters-bundle.css.cac9f3de.js} +1 -1
- package/dist/assets/parameters-bundle.css.cad0773b.js +1 -0
- package/dist/assets/parameters-bundle.css.d532d151.js +1 -0
- package/dist/assets/{parameters-bundle.css.7be18144.js → parameters-bundle.css.d5d27adb.js} +1 -1
- package/dist/assets/{parameters-bundle.css.f6aea851.js → parameters-bundle.css.fbd8d2ab.js} +1 -1
- package/dist/css/themes/Avatar.css +1 -1
- package/dist/css/themes/AvatarGroup.css +1 -1
- package/dist/css/themes/Badge.css +1 -1
- package/dist/css/themes/Breadcrumbs.css +1 -1
- package/dist/css/themes/BrowserScrollbar.css +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/CalendarHeader.css +1 -1
- package/dist/css/themes/ComboBox.css +1 -1
- package/dist/css/themes/DatePicker.css +1 -1
- package/dist/css/themes/DayPicker.css +1 -1
- package/dist/css/themes/Dialog.css +1 -1
- package/dist/css/themes/GroupHeaderListItem.css +1 -1
- package/dist/css/themes/Input.css +1 -1
- package/dist/css/themes/Menu.css +1 -1
- package/dist/css/themes/MonthPicker.css +1 -1
- package/dist/css/themes/MultiComboBox.css +1 -1
- package/dist/css/themes/Panel.css +1 -1
- package/dist/css/themes/Select.css +1 -1
- package/dist/css/themes/TextArea.css +1 -1
- package/dist/css/themes/Title.css +1 -1
- package/dist/css/themes/Tokenizer.css +1 -1
- package/dist/css/themes/YearPicker.css +1 -1
- package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/dist/features/InputElementsFormSupport.js +5 -1
- package/dist/features/InputSuggestions.js +21 -2
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
- package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.js +2 -2
- package/dist/generated/templates/AvatarTemplate.lit.js +1 -1
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js +1 -1
- package/dist/generated/templates/CalendarHeaderTemplate.lit.js +2 -2
- package/dist/generated/templates/CalendarTemplate.lit.js +1 -1
- package/dist/generated/templates/CardHeaderTemplate.lit.js +2 -2
- package/dist/generated/templates/CarouselTemplate.lit.js +1 -1
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js +3 -3
- package/dist/generated/templates/ComboBoxTemplate.lit.js +1 -1
- package/dist/generated/templates/CustomListItemTemplate.lit.js +2 -2
- package/dist/generated/templates/DatePickerTemplate.lit.js +1 -1
- package/dist/generated/templates/DialogTemplate.lit.js +7 -6
- package/dist/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -1
- package/dist/generated/templates/IconTemplate.lit.js +2 -1
- package/dist/generated/templates/ListItemTemplate.lit.js +2 -2
- package/dist/generated/templates/ListTemplate.lit.js +1 -1
- package/dist/generated/templates/MenuTemplate.lit.js +1 -1
- package/dist/generated/templates/MonthPickerTemplate.lit.js +2 -1
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js +3 -3
- package/dist/generated/templates/MultiComboBoxTemplate.lit.js +1 -1
- package/dist/generated/templates/PanelTemplate.lit.js +7 -6
- package/dist/generated/templates/PopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/PopupTemplate.lit.js +1 -1
- package/dist/generated/templates/RangeSliderTemplate.lit.js +1 -1
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/SliderTemplate.lit.js +1 -1
- package/dist/generated/templates/StandardListItemTemplate.lit.js +2 -2
- package/dist/generated/templates/SuggestionListItemTemplate.lit.js +2 -2
- package/dist/generated/templates/TabContainerTemplate.lit.js +1 -1
- package/dist/generated/templates/TabInOverflowTemplate.lit.js +1 -1
- package/dist/generated/templates/TabInStripTemplate.lit.js +1 -1
- package/dist/generated/templates/TableTemplate.lit.js +9 -8
- package/dist/generated/templates/TextAreaTemplate.lit.js +1 -1
- package/dist/generated/templates/TreeListItemTemplate.lit.js +2 -2
- package/dist/generated/templates/YearPickerTemplate.lit.js +2 -1
- package/dist/generated/themes/Avatar.css.js +1 -1
- package/dist/generated/themes/AvatarGroup.css.js +1 -1
- package/dist/generated/themes/Badge.css.js +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js +1 -1
- package/dist/generated/themes/BrowserScrollbar.css.js +1 -1
- package/dist/generated/themes/Button.css.js +1 -1
- package/dist/generated/themes/CalendarHeader.css.js +1 -1
- package/dist/generated/themes/ComboBox.css.js +1 -1
- package/dist/generated/themes/DatePicker.css.js +1 -1
- package/dist/generated/themes/DayPicker.css.js +1 -1
- package/dist/generated/themes/Dialog.css.js +1 -1
- package/dist/generated/themes/GroupHeaderListItem.css.js +1 -1
- package/dist/generated/themes/Input.css.js +1 -1
- package/dist/generated/themes/Menu.css.js +1 -1
- package/dist/generated/themes/MonthPicker.css.js +1 -1
- package/dist/generated/themes/MultiComboBox.css.js +1 -1
- package/dist/generated/themes/Panel.css.js +1 -1
- package/dist/generated/themes/Select.css.js +1 -1
- package/dist/generated/themes/TextArea.css.js +1 -1
- package/dist/generated/themes/Title.css.js +1 -1
- package/dist/generated/themes/Tokenizer.css.js +1 -1
- package/dist/generated/themes/YearPicker.css.js +1 -1
- package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/i18n/messagebundle.properties +16 -4
- package/dist/i18n/messagebundle_ar.properties +10 -0
- package/dist/i18n/messagebundle_bg.properties +10 -0
- package/dist/i18n/messagebundle_ca.properties +10 -0
- package/dist/i18n/messagebundle_cs.properties +10 -0
- package/dist/i18n/messagebundle_cy.properties +10 -0
- package/dist/i18n/messagebundle_da.properties +10 -0
- package/dist/i18n/messagebundle_de.properties +11 -1
- package/dist/i18n/messagebundle_el.properties +10 -0
- package/dist/i18n/messagebundle_en.properties +10 -0
- package/dist/i18n/messagebundle_en_GB.properties +10 -0
- package/dist/i18n/messagebundle_en_US_sappsd.properties +10 -0
- package/dist/i18n/messagebundle_en_US_saprigi.properties +10 -2
- package/dist/i18n/messagebundle_en_US_saptrc.properties +11 -1
- package/dist/i18n/messagebundle_es.properties +10 -0
- package/dist/i18n/messagebundle_es_MX.properties +10 -0
- package/dist/i18n/messagebundle_et.properties +10 -0
- package/dist/i18n/messagebundle_fi.properties +10 -0
- package/dist/i18n/messagebundle_fr.properties +10 -0
- package/dist/i18n/messagebundle_fr_CA.properties +10 -0
- package/dist/i18n/messagebundle_hi.properties +10 -0
- package/dist/i18n/messagebundle_hr.properties +10 -0
- package/dist/i18n/messagebundle_hu.properties +10 -0
- package/dist/i18n/messagebundle_id.properties +10 -0
- package/dist/i18n/messagebundle_it.properties +12 -2
- package/dist/i18n/messagebundle_iw.properties +10 -0
- package/dist/i18n/messagebundle_ja.properties +10 -0
- package/dist/i18n/messagebundle_kk.properties +10 -0
- package/dist/i18n/messagebundle_ko.properties +10 -0
- package/dist/i18n/messagebundle_lt.properties +10 -0
- package/dist/i18n/messagebundle_lv.properties +10 -0
- package/dist/i18n/messagebundle_ms.properties +10 -0
- package/dist/i18n/messagebundle_nl.properties +10 -0
- package/dist/i18n/messagebundle_no.properties +10 -0
- package/dist/i18n/messagebundle_pl.properties +10 -0
- package/dist/i18n/messagebundle_pt.properties +10 -0
- package/dist/i18n/messagebundle_pt_PT.properties +10 -0
- package/dist/i18n/messagebundle_ro.properties +10 -0
- package/dist/i18n/messagebundle_ru.properties +10 -0
- package/dist/i18n/messagebundle_sh.properties +10 -0
- package/dist/i18n/messagebundle_sk.properties +10 -0
- package/dist/i18n/messagebundle_sl.properties +10 -0
- package/dist/i18n/messagebundle_sv.properties +10 -0
- package/dist/i18n/messagebundle_th.properties +13 -3
- package/dist/i18n/messagebundle_tr.properties +10 -0
- package/dist/i18n/messagebundle_uk.properties +11 -1
- package/dist/i18n/messagebundle_vi.properties +10 -0
- package/dist/i18n/messagebundle_zh_CN.properties +10 -0
- package/dist/i18n/messagebundle_zh_TW.properties +10 -0
- package/package.json +7 -7
- package/src/Avatar.hbs +2 -0
- package/src/Avatar.js +29 -1
- package/src/AvatarGroup.js +20 -2
- package/src/Breadcrumbs.hbs +1 -1
- package/src/BreadcrumbsItem.js +2 -2
- package/src/Button.js +4 -4
- package/src/Calendar.hbs +3 -0
- package/src/Calendar.js +33 -45
- package/src/CalendarHeader.hbs +5 -1
- package/src/CalendarHeader.js +5 -1
- package/src/CardHeader.hbs +2 -1
- package/src/CardHeader.js +1 -0
- package/src/Carousel.hbs +1 -1
- package/src/Carousel.js +9 -0
- package/src/CheckBox.js +2 -2
- package/src/ComboBox.hbs +1 -1
- package/src/ComboBox.js +52 -6
- package/src/ComboBoxPopover.hbs +1 -1
- package/src/DatePicker.hbs +2 -0
- package/src/DatePicker.js +17 -1
- package/src/DateRangePicker.js +8 -2
- package/src/DateTimePicker.js +1 -1
- package/src/Dialog.hbs +5 -1
- package/src/Dialog.js +41 -1
- package/src/GroupHeaderListItem.hbs +2 -2
- package/src/Icon.hbs +3 -1
- package/src/Icon.js +9 -9
- package/src/Input.js +32 -13
- package/src/Label.js +1 -3
- package/src/Link.js +4 -2
- package/src/List.hbs +1 -1
- package/src/List.js +17 -1
- package/src/ListItem.hbs +1 -1
- package/src/Menu.hbs +1 -0
- package/src/Menu.js +6 -4
- package/src/MenuItem.js +20 -5
- package/src/MessageStrip.js +1 -1
- package/src/MonthPicker.hbs +8 -1
- package/src/MonthPicker.js +9 -0
- package/src/MultiComboBox.hbs +1 -1
- package/src/MultiComboBox.js +47 -6
- package/src/MultiComboBoxPopover.hbs +1 -1
- package/src/MultiInput.js +9 -2
- package/src/Option.js +2 -2
- package/src/Panel.hbs +56 -46
- package/src/Panel.js +24 -4
- package/src/Popover.js +5 -4
- package/src/Popup.hbs +1 -1
- package/src/Popup.js +13 -2
- package/src/RadioButton.js +7 -5
- package/src/RangeSlider.hbs +2 -2
- package/src/RangeSlider.js +1 -1
- package/src/RatingIndicator.js +1 -1
- package/src/SegmentedButton.js +1 -1
- package/src/Select.js +34 -7
- package/src/Slider.hbs +1 -1
- package/src/Slider.js +1 -1
- package/src/SliderBase.js +4 -4
- package/src/SplitButton.js +2 -2
- package/src/StandardListItem.js +3 -3
- package/src/StepInput.js +1 -1
- package/src/SuggestionItem.js +2 -2
- package/src/Switch.js +1 -1
- package/src/Tab.js +17 -10
- package/src/TabContainer.hbs +5 -1
- package/src/TabContainer.js +169 -148
- package/src/TabInOverflow.hbs +1 -1
- package/src/TabInStrip.hbs +1 -1
- package/src/TabSeparator.js +8 -1
- package/src/Table.hbs +9 -7
- package/src/Table.js +1 -1
- package/src/TextArea.hbs +1 -1
- package/src/TextArea.js +8 -3
- package/src/TimePickerBase.js +8 -0
- package/src/TimeSelection.js +1 -2
- package/src/Tokenizer.js +74 -8
- package/src/Tree.js +4 -0
- package/src/TreeItem.js +2 -2
- package/src/TreeListItem.js +1 -1
- package/src/YearPicker.hbs +7 -0
- package/src/YearPicker.js +50 -25
- package/src/features/InputElementsFormSupport.js +5 -1
- package/src/features/InputSuggestions.js +21 -2
- package/src/i18n/messagebundle.properties +16 -4
- package/src/i18n/messagebundle_ar.properties +10 -0
- package/src/i18n/messagebundle_bg.properties +10 -0
- package/src/i18n/messagebundle_ca.properties +10 -0
- package/src/i18n/messagebundle_cs.properties +10 -0
- package/src/i18n/messagebundle_cy.properties +10 -0
- package/src/i18n/messagebundle_da.properties +10 -0
- package/src/i18n/messagebundle_de.properties +11 -1
- package/src/i18n/messagebundle_el.properties +10 -0
- package/src/i18n/messagebundle_en.properties +10 -0
- package/src/i18n/messagebundle_en_GB.properties +10 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +10 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +10 -2
- package/src/i18n/messagebundle_en_US_saptrc.properties +11 -1
- package/src/i18n/messagebundle_es.properties +10 -0
- package/src/i18n/messagebundle_es_MX.properties +10 -0
- package/src/i18n/messagebundle_et.properties +10 -0
- package/src/i18n/messagebundle_fi.properties +10 -0
- package/src/i18n/messagebundle_fr.properties +10 -0
- package/src/i18n/messagebundle_fr_CA.properties +10 -0
- package/src/i18n/messagebundle_hi.properties +10 -0
- package/src/i18n/messagebundle_hr.properties +10 -0
- package/src/i18n/messagebundle_hu.properties +10 -0
- package/src/i18n/messagebundle_id.properties +10 -0
- package/src/i18n/messagebundle_it.properties +12 -2
- package/src/i18n/messagebundle_iw.properties +10 -0
- package/src/i18n/messagebundle_ja.properties +10 -0
- package/src/i18n/messagebundle_kk.properties +10 -0
- package/src/i18n/messagebundle_ko.properties +10 -0
- package/src/i18n/messagebundle_lt.properties +10 -0
- package/src/i18n/messagebundle_lv.properties +10 -0
- package/src/i18n/messagebundle_ms.properties +10 -0
- package/src/i18n/messagebundle_nl.properties +10 -0
- package/src/i18n/messagebundle_no.properties +10 -0
- package/src/i18n/messagebundle_pl.properties +10 -0
- package/src/i18n/messagebundle_pt.properties +10 -0
- package/src/i18n/messagebundle_pt_PT.properties +10 -0
- package/src/i18n/messagebundle_ro.properties +10 -0
- package/src/i18n/messagebundle_ru.properties +10 -0
- package/src/i18n/messagebundle_sh.properties +10 -0
- package/src/i18n/messagebundle_sk.properties +10 -0
- package/src/i18n/messagebundle_sl.properties +10 -0
- package/src/i18n/messagebundle_sv.properties +10 -0
- package/src/i18n/messagebundle_th.properties +13 -3
- package/src/i18n/messagebundle_tr.properties +10 -0
- package/src/i18n/messagebundle_uk.properties +11 -1
- package/src/i18n/messagebundle_vi.properties +10 -0
- package/src/i18n/messagebundle_zh_CN.properties +10 -0
- package/src/i18n/messagebundle_zh_TW.properties +10 -0
- package/src/themes/Avatar.css +51 -0
- package/src/themes/AvatarGroup.css +1 -0
- package/src/themes/Badge.css +12 -0
- package/src/themes/Breadcrumbs.css +3 -0
- package/src/themes/BrowserScrollbar.css +6 -6
- package/src/themes/Button.css +5 -0
- package/src/themes/CalendarHeader.css +2 -2
- package/src/themes/DatePicker.css +13 -1
- package/src/themes/DayPicker.css +4 -4
- package/src/themes/Dialog.css +35 -0
- package/src/themes/GroupHeaderListItem.css +1 -0
- package/src/themes/Icon.css +1 -1
- package/src/themes/Input.css +34 -22
- package/src/themes/Menu.css +1 -0
- package/src/themes/MonthPicker.css +9 -2
- package/src/themes/Panel.css +0 -4
- package/src/themes/TextArea.css +7 -7
- package/src/themes/Title.css +1 -1
- package/src/themes/Tokenizer.css +1 -5
- package/src/themes/YearPicker.css +13 -2
- package/src/themes/base/DayPicker-parameters.css +3 -0
- package/src/themes/base/Dialog-parameters.css +8 -0
- package/src/themes/base/Input-parameters.css +2 -1
- package/src/themes/sap_belize/DayPicker-parameters.css +1 -1
- package/src/themes/sap_belize_hcb/Button-parameters.css +1 -0
- package/src/themes/sap_belize_hcb/DayPicker-parameters.css +7 -0
- package/src/themes/sap_belize_hcb/Input-parameters.css +3 -0
- package/src/themes/sap_belize_hcw/Button-parameters.css +1 -0
- package/src/themes/sap_belize_hcw/DayPicker-parameters.css +7 -0
- package/src/themes/sap_belize_hcw/Input-parameters.css +3 -0
- package/src/themes/sap_fiori_3_hcb/Button-parameters.css +1 -0
- package/src/themes/sap_fiori_3_hcb/Dialog-parameters.css +8 -0
- package/src/themes/sap_fiori_3_hcb/Input-parameters.css +2 -1
- package/src/themes/sap_fiori_3_hcw/Button-parameters.css +1 -0
- package/src/themes/sap_fiori_3_hcw/Dialog-parameters.css +8 -0
- package/src/themes/sap_fiori_3_hcw/Input-parameters.css +2 -1
- package/src/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon_hcb/Dialog-parameters.css +4 -0
- package/src/themes/sap_horizon_hcb/Input-parameters.css +1 -1
- package/src/themes/sap_horizon_hcw/Dialog-parameters.css +4 -0
- package/src/themes/sap_horizon_hcw/Input-parameters.css +1 -1
- package/dist/assets/SAP-icons-business-suite.60260cdf.js +0 -1
- package/dist/assets/SAP-icons.09567bd9.js +0 -1
- package/dist/assets/SAP-icons.1f482d05.js +0 -1
- package/dist/assets/messagebundle_ar.9c5ee5ed.js +0 -1
- package/dist/assets/messagebundle_bg.0e988870.js +0 -1
- package/dist/assets/messagebundle_ca.a127ab38.js +0 -1
- package/dist/assets/messagebundle_cs.629a9626.js +0 -1
- package/dist/assets/messagebundle_cy.9e45bbce.js +0 -1
- package/dist/assets/messagebundle_da.773ab830.js +0 -1
- package/dist/assets/messagebundle_de.e3b00529.js +0 -1
- package/dist/assets/messagebundle_el.40c4d9bd.js +0 -1
- package/dist/assets/messagebundle_en.8eab6481.js +0 -1
- package/dist/assets/messagebundle_en_GB.43ff6ad4.js +0 -1
- package/dist/assets/messagebundle_en_US_sappsd.3123c345.js +0 -1
- package/dist/assets/messagebundle_en_US_saprigi.ce3d7e4c.js +0 -1
- package/dist/assets/messagebundle_en_US_saptrc.09e99a05.js +0 -1
- package/dist/assets/messagebundle_es.827626df.js +0 -1
- package/dist/assets/messagebundle_es_MX.a36afbf1.js +0 -1
- package/dist/assets/messagebundle_et.ef5644ec.js +0 -1
- package/dist/assets/messagebundle_fi.51171aa3.js +0 -1
- package/dist/assets/messagebundle_fr.1534fb7f.js +0 -1
- package/dist/assets/messagebundle_fr_CA.3ec2f1d9.js +0 -1
- package/dist/assets/messagebundle_hi.df105d55.js +0 -1
- package/dist/assets/messagebundle_hr.99b625e3.js +0 -1
- package/dist/assets/messagebundle_hu.45d5a14f.js +0 -1
- package/dist/assets/messagebundle_it.baf6d99f.js +0 -1
- package/dist/assets/messagebundle_iw.50133cb0.js +0 -1
- package/dist/assets/messagebundle_ja.4684bb4f.js +0 -1
- package/dist/assets/messagebundle_kk.153a974f.js +0 -1
- package/dist/assets/messagebundle_ko.2cbd9a48.js +0 -1
- package/dist/assets/messagebundle_lt.4792b637.js +0 -1
- package/dist/assets/messagebundle_lv.1c982a41.js +0 -1
- package/dist/assets/messagebundle_ms.6de4a307.js +0 -1
- package/dist/assets/messagebundle_nl.346b5b0c.js +0 -1
- package/dist/assets/messagebundle_no.55c09a78.js +0 -1
- package/dist/assets/messagebundle_pl.24f1673c.js +0 -1
- package/dist/assets/messagebundle_pt.a0acef65.js +0 -1
- package/dist/assets/messagebundle_pt_PT.d5340844.js +0 -1
- package/dist/assets/messagebundle_ro.c47aa2e7.js +0 -1
- package/dist/assets/messagebundle_ru.9d147f84.js +0 -1
- package/dist/assets/messagebundle_sh.42d912a5.js +0 -1
- package/dist/assets/messagebundle_sk.66be6ecd.js +0 -1
- package/dist/assets/messagebundle_sl.7aef5bf8.js +0 -1
- package/dist/assets/messagebundle_sv.0e001a3d.js +0 -1
- package/dist/assets/messagebundle_th.a1ae28b0.js +0 -1
- package/dist/assets/messagebundle_tr.91751c7e.js +0 -1
- package/dist/assets/messagebundle_uk.3fff2ce5.js +0 -1
- package/dist/assets/messagebundle_vi.dcd6b37b.js +0 -1
- package/dist/assets/messagebundle_zh_CN.3447b7cf.js +0 -1
- package/dist/assets/messagebundle_zh_TW.a6d3c782.js +0 -1
- package/dist/assets/parameters-bundle.css.01f054a7.js +0 -1
- package/dist/assets/parameters-bundle.css.0a36e0eb.js +0 -1
- package/dist/assets/parameters-bundle.css.38e4d904.js +0 -1
- package/dist/assets/parameters-bundle.css.40bf20d0.js +0 -1
- package/dist/assets/parameters-bundle.css.4260a678.js +0 -1
- package/dist/assets/parameters-bundle.css.4cd19aca.js +0 -1
- package/dist/assets/parameters-bundle.css.4d47c982.js +0 -1
- package/dist/assets/parameters-bundle.css.6993a07a.js +0 -1
- package/dist/assets/parameters-bundle.css.6f186b45.js +0 -1
- package/dist/assets/parameters-bundle.css.9c6e589c.js +0 -1
- package/dist/assets/parameters-bundle.css.c35f092e.js +0 -1
- package/dist/assets/parameters-bundle.css.d09464d2.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,119 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.7.1](https://github.com/SAP/ui5-webcomponents/compare/v1.7.0...v1.7.1) (2022-09-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui5-tabcontainer:** fixed error when no tabs ([#5793](https://github.com/SAP/ui5-webcomponents/issues/5793)) ([4aefe17](https://github.com/SAP/ui5-webcomponents/commit/4aefe176bfed5a6ba963418413aa167955b40418))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [1.7.0](https://github.com/SAP/ui5-webcomponents/compare/v1.6.0...v1.7.0) (2022-09-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* correct imports of horizon Badge CSS files ([#5673](https://github.com/SAP/ui5-webcomponents/issues/5673)) ([583a63d](https://github.com/SAP/ui5-webcomponents/commit/583a63ddc93717fe3a7f047888ca964a53091415))
|
|
23
|
+
* correctly calculate accessibleNameRef ([#5520](https://github.com/SAP/ui5-webcomponents/issues/5520)) ([a872c9b](https://github.com/SAP/ui5-webcomponents/commit/a872c9be58ee38f2d81d65e1a977cf7c80a380fd)), closes [#5452](https://github.com/SAP/ui5-webcomponents/issues/5452)
|
|
24
|
+
* remove woff files and woff/ttf usage ([#5629](https://github.com/SAP/ui5-webcomponents/issues/5629)) ([e4175cd](https://github.com/SAP/ui5-webcomponents/commit/e4175cdf000ace65758e75fb70545edd872197b8))
|
|
25
|
+
* **ui5-avatar-group:** width calculations for (non-)Chromium browsers adjusted ([#5737](https://github.com/SAP/ui5-webcomponents/issues/5737)) ([2741705](https://github.com/SAP/ui5-webcomponents/commit/274170508f944d1cbcd3df7e2a66d7cc55a9c2cd)), closes [#5643](https://github.com/SAP/ui5-webcomponents/issues/5643)
|
|
26
|
+
* **ui5-breadcrumbs:** current location misalignment is fixed ([#5585](https://github.com/SAP/ui5-webcomponents/issues/5585)) ([b685860](https://github.com/SAP/ui5-webcomponents/commit/b685860f56ad8669969a5d7df087ea26cdaf8351))
|
|
27
|
+
* **ui5-button:** adjust icon role ([#5714](https://github.com/SAP/ui5-webcomponents/issues/5714)) ([5b446f5](https://github.com/SAP/ui5-webcomponents/commit/5b446f52d2634ba400f2fbe2938d48fdd6c056af)), closes [#5505](https://github.com/SAP/ui5-webcomponents/issues/5505) [#5596](https://github.com/SAP/ui5-webcomponents/issues/5596) [#5687](https://github.com/SAP/ui5-webcomponents/issues/5687)
|
|
28
|
+
* **ui5-button:** announce is now correct when button is icon only with tooltip ([#5592](https://github.com/SAP/ui5-webcomponents/issues/5592)) ([7703945](https://github.com/SAP/ui5-webcomponents/commit/77039457ce0492894e416cdd0ecac0f9baaf8746)), closes [#5386](https://github.com/SAP/ui5-webcomponents/issues/5386)
|
|
29
|
+
* **ui5-button:** correct calculation of the min width of an icon button ([#5701](https://github.com/SAP/ui5-webcomponents/issues/5701)) ([005ada0](https://github.com/SAP/ui5-webcomponents/commit/005ada03f47f9b7657cf714cee4bfe3f6559acc8))
|
|
30
|
+
* **ui5-button:** correct text shadow in contrast themes ([#5750](https://github.com/SAP/ui5-webcomponents/issues/5750)) ([7fb7e4c](https://github.com/SAP/ui5-webcomponents/commit/7fb7e4cc4aa7dc6a7566226fc46513441e39cfde)), closes [#5420](https://github.com/SAP/ui5-webcomponents/issues/5420)
|
|
31
|
+
* **ui5-button:** provide tooltip for icon-only buttons ([#5734](https://github.com/SAP/ui5-webcomponents/issues/5734)) ([d49427f](https://github.com/SAP/ui5-webcomponents/commit/d49427f4a07d1f1c744bbc8f9964307662718440)), closes [#5687](https://github.com/SAP/ui5-webcomponents/issues/5687) [#5596](https://github.com/SAP/ui5-webcomponents/issues/5596) [#5505](https://github.com/SAP/ui5-webcomponents/issues/5505)
|
|
32
|
+
* **ui5-calendar:** adjust high contrast belize themes ([#5756](https://github.com/SAP/ui5-webcomponents/issues/5756)) ([4d19f91](https://github.com/SAP/ui5-webcomponents/commit/4d19f91f13f355f35d97b702fb4c8ccba0118a4b)), closes [#5377](https://github.com/SAP/ui5-webcomponents/issues/5377)
|
|
33
|
+
* **ui5-calendar:** adjust the role attribute of the header actions elements ([#5723](https://github.com/SAP/ui5-webcomponents/issues/5723)) ([3acd9bf](https://github.com/SAP/ui5-webcomponents/commit/3acd9bf5b44b1de3d919e46a5292dfbdae2ad340)), closes [#5708](https://github.com/SAP/ui5-webcomponents/issues/5708)
|
|
34
|
+
* **ui5-calendar:** align year and month picker focus to horizon ([#5692](https://github.com/SAP/ui5-webcomponents/issues/5692)) ([02816a9](https://github.com/SAP/ui5-webcomponents/commit/02816a944f392aded156d4725fef86f9c5382746)), closes [#5644](https://github.com/SAP/ui5-webcomponents/issues/5644)
|
|
35
|
+
* **ui5-date-picker:** focus out now closes the popup ([#5603](https://github.com/SAP/ui5-webcomponents/issues/5603)) ([0a7fcac](https://github.com/SAP/ui5-webcomponents/commit/0a7fcac976f56c3598ebe20af9acde4d8d1cd2d0)), closes [#5532](https://github.com/SAP/ui5-webcomponents/issues/5532)
|
|
36
|
+
* **ui5-date-picker:** remove background whitespace ([#5764](https://github.com/SAP/ui5-webcomponents/issues/5764)) ([2ad0c44](https://github.com/SAP/ui5-webcomponents/commit/2ad0c4480fbaea02ea8c5f6c25ab62490bddd641)), closes [#5640](https://github.com/SAP/ui5-webcomponents/issues/5640)
|
|
37
|
+
* **ui5-daterange-picker:** handle single date value ([#5769](https://github.com/SAP/ui5-webcomponents/issues/5769)) ([ce8a446](https://github.com/SAP/ui5-webcomponents/commit/ce8a446b32cd56b2e6d547c8f75b1f56b5426c99))
|
|
38
|
+
* **ui5-input:** additional check added for robustness ([#5619](https://github.com/SAP/ui5-webcomponents/issues/5619)) ([7275652](https://github.com/SAP/ui5-webcomponents/commit/72756520d7d7183bcee8db94ccd7e0e817024ff5)), closes [#5580](https://github.com/SAP/ui5-webcomponents/issues/5580)
|
|
39
|
+
* **ui5-input:** allows changing value in selection change event handler ([#5677](https://github.com/SAP/ui5-webcomponents/issues/5677)) ([46b175f](https://github.com/SAP/ui5-webcomponents/commit/46b175f8a6e1ff52adb6b1bf237e8df5fc482455))
|
|
40
|
+
* **ui5-input:** correction of change event ([#5671](https://github.com/SAP/ui5-webcomponents/issues/5671)) ([b89f91c](https://github.com/SAP/ui5-webcomponents/commit/b89f91c0a2f8afb336f2269cc441566b3ebfdd2c))
|
|
41
|
+
* **ui5-input:** fix item selection bugs ([#5372](https://github.com/SAP/ui5-webcomponents/issues/5372)) ([274efaa](https://github.com/SAP/ui5-webcomponents/commit/274efaaa212e3152d27665f1809e649a75f67001))
|
|
42
|
+
* **ui5-link:** multiple click events ([#5642](https://github.com/SAP/ui5-webcomponents/issues/5642)) ([74fd5b9](https://github.com/SAP/ui5-webcomponents/commit/74fd5b91fd83bf28c0f4347df92b3721eb11577d))
|
|
43
|
+
* **ui5-list:** unexpected spaces between group items ([#5726](https://github.com/SAP/ui5-webcomponents/issues/5726)) ([d69932c](https://github.com/SAP/ui5-webcomponents/commit/d69932c02afec12d0b9d6c600459abe1a1673395)), closes [#3869](https://github.com/SAP/ui5-webcomponents/issues/3869) [#5720](https://github.com/SAP/ui5-webcomponents/issues/5720)
|
|
44
|
+
* **ui5-menu:** opening a submenu no longer throws a console error ([#5591](https://github.com/SAP/ui5-webcomponents/issues/5591)) ([1b5caf7](https://github.com/SAP/ui5-webcomponents/commit/1b5caf761079017d7edbe4bff2fa9949390896f8)), closes [#5582](https://github.com/SAP/ui5-webcomponents/issues/5582)
|
|
45
|
+
* **ui5-menu:** prevent closing sub menu when hovering over icon ([#5670](https://github.com/SAP/ui5-webcomponents/issues/5670)) ([36cb3d2](https://github.com/SAP/ui5-webcomponents/commit/36cb3d20b2c51920f7bb31b2a44895060e456977)), closes [#5669](https://github.com/SAP/ui5-webcomponents/issues/5669)
|
|
46
|
+
* **ui5-multiinput:** prevented token-delete event firing when readonly ([#5613](https://github.com/SAP/ui5-webcomponents/issues/5613)) ([c8f4178](https://github.com/SAP/ui5-webcomponents/commit/c8f417819a8628afeff2ca496a4d72335190463e)), closes [#5448](https://github.com/SAP/ui5-webcomponents/issues/5448)
|
|
47
|
+
* **ui5-panel:** recognizable panel heading ([#5628](https://github.com/SAP/ui5-webcomponents/issues/5628)) ([6f1b250](https://github.com/SAP/ui5-webcomponents/commit/6f1b250813d858baaeabada4996daecfb8da9a08))
|
|
48
|
+
* **ui5-panel:** toggle ui5-panel correctly on Enter key ([#5660](https://github.com/SAP/ui5-webcomponents/issues/5660)) ([137d8f3](https://github.com/SAP/ui5-webcomponents/commit/137d8f395b7ebd6df2f180a6fcec83bdb959b931))
|
|
49
|
+
* **ui5-popup:** Synchronous opening of a popup from another popup with Enter key now works ([#4975](https://github.com/SAP/ui5-webcomponents/issues/4975)) ([1bb87f5](https://github.com/SAP/ui5-webcomponents/commit/1bb87f5a3ced8b11741deec6e64a6ad6a0af08cf)), closes [#4861](https://github.com/SAP/ui5-webcomponents/issues/4861)
|
|
50
|
+
* **ui5-select:** selected option in dropdown is now read out ([#5589](https://github.com/SAP/ui5-webcomponents/issues/5589)) ([f8ab6ed](https://github.com/SAP/ui5-webcomponents/commit/f8ab6ede3ff8ee1b972c0cdeb8399d446b4888b0))
|
|
51
|
+
* **ui5-slider, ui5-range-slider:** apply correct handle's icon ([#5612](https://github.com/SAP/ui5-webcomponents/issues/5612)) ([1706174](https://github.com/SAP/ui5-webcomponents/commit/1706174a9f052f293d87338b7cb00241b911d9d4))
|
|
52
|
+
* **ui5-tabcontainer:** update tab strip on tab selection ([#5449](https://github.com/SAP/ui5-webcomponents/issues/5449)) ([bbc9246](https://github.com/SAP/ui5-webcomponents/commit/bbc9246647854a4a509a6fe9c368cfd89a9cddb9)), closes [#5172](https://github.com/SAP/ui5-webcomponents/issues/5172) [#5116](https://github.com/SAP/ui5-webcomponents/issues/5116)
|
|
53
|
+
* **ui5-textarea:** show exceeded text when maxLength is 0 ([#5691](https://github.com/SAP/ui5-webcomponents/issues/5691)) ([52db670](https://github.com/SAP/ui5-webcomponents/commit/52db67087dfbcd61770755b6220a73fe1fe0195a)), closes [#5384](https://github.com/SAP/ui5-webcomponents/issues/5384)
|
|
54
|
+
* **ui5-time-picker:** remove ampm translation ([#5751](https://github.com/SAP/ui5-webcomponents/issues/5751)) ([4943ef9](https://github.com/SAP/ui5-webcomponents/commit/4943ef94683b197e1a3ee6c9995e05187d9b52d2)), closes [#5181](https://github.com/SAP/ui5-webcomponents/issues/5181)
|
|
55
|
+
* **ui5-tokenizer:** adjust scrolling behavior ([#5281](https://github.com/SAP/ui5-webcomponents/issues/5281)) ([572ca8d](https://github.com/SAP/ui5-webcomponents/commit/572ca8d58ccb6e189d4874c0f77b8558e1987a70))
|
|
56
|
+
* **ui5-tree:** include `targetItem` in `selection-change` event ([#5631](https://github.com/SAP/ui5-webcomponents/issues/5631)) ([dc73fe2](https://github.com/SAP/ui5-webcomponents/commit/dc73fe284ef23200c734f4d62308bd9ace2e0fcf)), closes [#5430](https://github.com/SAP/ui5-webcomponents/issues/5430)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Features
|
|
60
|
+
|
|
61
|
+
* **framework:** reset scrollbar styles class ([#5623](https://github.com/SAP/ui5-webcomponents/issues/5623)) ([c3f3063](https://github.com/SAP/ui5-webcomponents/commit/c3f306383f971744886b99cc60911dcba924720b))
|
|
62
|
+
* **icons:** update to 4.14.0 5.0.2 SAP-Icons font ([#5605](https://github.com/SAP/ui5-webcomponents/issues/5605)) ([d794c0b](https://github.com/SAP/ui5-webcomponents/commit/d794c0b84ea03581cd969a84dc5c05383ec91b60))
|
|
63
|
+
* **ui5-avatar:** introduce badge support ([#5418](https://github.com/SAP/ui5-webcomponents/issues/5418)) ([816edf0](https://github.com/SAP/ui5-webcomponents/commit/816edf048ddeb67bc6332d85d38bb93431a6b1fb))
|
|
64
|
+
* **ui5-carousel:** add new CSS Shadow part ([#5700](https://github.com/SAP/ui5-webcomponents/issues/5700)) ([b60ff3f](https://github.com/SAP/ui5-webcomponents/commit/b60ff3ff0bfd48af58838ef1b40d4bbe5f7cab76))
|
|
65
|
+
* **ui5-dialog:** add state property ([#5587](https://github.com/SAP/ui5-webcomponents/issues/5587)) ([c680e7c](https://github.com/SAP/ui5-webcomponents/commit/c680e7cb3a1e1cc6e34ff1ac11b106c8314c04e9))
|
|
66
|
+
* **ui5-icon:** support SVGs with multiple paths ([#5630](https://github.com/SAP/ui5-webcomponents/issues/5630)) ([ce17ca5](https://github.com/SAP/ui5-webcomponents/commit/ce17ca559ce507b8e10f20d7f80dab48908a8305)), closes [#5347](https://github.com/SAP/ui5-webcomponents/issues/5347) [#5526](https://github.com/SAP/ui5-webcomponents/issues/5526)
|
|
67
|
+
* **ui5-menu-item:** add new `accessibleName` property ([#5727](https://github.com/SAP/ui5-webcomponents/issues/5727)) ([51987c8](https://github.com/SAP/ui5-webcomponents/commit/51987c8db1b3d152c585cb242fcb05dd54e6b80d)), closes [#5514](https://github.com/SAP/ui5-webcomponents/issues/5514) [#5656](https://github.com/SAP/ui5-webcomponents/issues/5656)
|
|
68
|
+
* **ui5-popover:** new type DOMReference for opener ([#5609](https://github.com/SAP/ui5-webcomponents/issues/5609)) ([1a4de12](https://github.com/SAP/ui5-webcomponents/commit/1a4de12b37a2cb82be2af010758f4641acf7385d))
|
|
69
|
+
* **ui5-tabcontainer:** make tab-select event preventable ([#5661](https://github.com/SAP/ui5-webcomponents/issues/5661)) ([928f4fc](https://github.com/SAP/ui5-webcomponents/commit/928f4fc62181aa4e562eec4d8e06b5e39918c9b2)), closes [#5116](https://github.com/SAP/ui5-webcomponents/issues/5116)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Reverts
|
|
73
|
+
|
|
74
|
+
* Revert "fix(ui5-button): adjust icon role" (#5722) ([22170f4](https://github.com/SAP/ui5-webcomponents/commit/22170f4c9ca591de8c807a5495c95443de51e056)), closes [#5722](https://github.com/SAP/ui5-webcomponents/issues/5722) [#5714](https://github.com/SAP/ui5-webcomponents/issues/5714)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
# [1.6.0](https://github.com/SAP/ui5-webcomponents/compare/v1.5.0...v1.6.0) (2022-07-25)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Bug Fixes
|
|
84
|
+
|
|
85
|
+
* **formEnablement:** correct submit event behaviour ([#5500](https://github.com/SAP/ui5-webcomponents/issues/5500)) ([07237ec](https://github.com/SAP/ui5-webcomponents/commit/07237ec))
|
|
86
|
+
* **inputs:** adjust placeholder styling ([#5547](https://github.com/SAP/ui5-webcomponents/issues/5547)) ([c427344](https://github.com/SAP/ui5-webcomponents/commit/c427344))
|
|
87
|
+
* **InvisibleMessage:** clear announcement after a while ([#5446](https://github.com/SAP/ui5-webcomponents/issues/5446)) ([af213f1](https://github.com/SAP/ui5-webcomponents/commit/af213f1))
|
|
88
|
+
* **MultoComboBox:** fix component scoping ([#5553](https://github.com/SAP/ui5-webcomponents/issues/5553)) ([9c26e8e](https://github.com/SAP/ui5-webcomponents/commit/9c26e8e)), closes [#5521](https://github.com/SAP/ui5-webcomponents/issues/5521)
|
|
89
|
+
* **ui5-card:** correct accessibility attribute ([#5479](https://github.com/SAP/ui5-webcomponents/issues/5479)) ([48ff032](https://github.com/SAP/ui5-webcomponents/commit/48ff032))
|
|
90
|
+
* **ui5-combobox:** annouce group item's text when accessed via keyboard ([#5478](https://github.com/SAP/ui5-webcomponents/issues/5478)) ([0f60574](https://github.com/SAP/ui5-webcomponents/commit/0f60574))
|
|
91
|
+
* **ui5-combobox:** correct ok and close buttons' behavior, as well as item select behavior on mobile ([#5541](https://github.com/SAP/ui5-webcomponents/issues/5541)) ([fdf25c3](https://github.com/SAP/ui5-webcomponents/commit/fdf25c3))
|
|
92
|
+
* **ui5-combobox:** correctly fire change event on item press ([#5447](https://github.com/SAP/ui5-webcomponents/issues/5447)) ([0218c19](https://github.com/SAP/ui5-webcomponents/commit/0218c19)), closes [#5432](https://github.com/SAP/ui5-webcomponents/issues/5432)
|
|
93
|
+
* **ui5-combobox:** simplify condition ([#5508](https://github.com/SAP/ui5-webcomponents/issues/5508)) ([514f632](https://github.com/SAP/ui5-webcomponents/commit/514f632))
|
|
94
|
+
* **ui5-date-picker:** adjust background color ([#5466](https://github.com/SAP/ui5-webcomponents/issues/5466)) ([7ea3f49](https://github.com/SAP/ui5-webcomponents/commit/7ea3f49)), closes [#5396](https://github.com/SAP/ui5-webcomponents/issues/5396)
|
|
95
|
+
* **ui5-date-picker:** adjust value help icon role ([#5419](https://github.com/SAP/ui5-webcomponents/issues/5419)) ([56cc995](https://github.com/SAP/ui5-webcomponents/commit/56cc995)), closes [#5378](https://github.com/SAP/ui5-webcomponents/issues/5378)
|
|
96
|
+
* **ui5-input:** enhance lazy loading ([#5370](https://github.com/SAP/ui5-webcomponents/issues/5370)) ([73010dc](https://github.com/SAP/ui5-webcomponents/commit/73010dc))
|
|
97
|
+
* **ui5-input, ui5-multi-input, ui5-combobox, ui5-multi-combobox:** announce value state type ([#5515](https://github.com/SAP/ui5-webcomponents/issues/5515)) ([82317d0](https://github.com/SAP/ui5-webcomponents/commit/82317d0)), closes [#5392](https://github.com/SAP/ui5-webcomponents/issues/5392)
|
|
98
|
+
* **ui5-li:** correct accessibility attribute to checkbox ([#5475](https://github.com/SAP/ui5-webcomponents/issues/5475)) ([88f278b](https://github.com/SAP/ui5-webcomponents/commit/88f278b))
|
|
99
|
+
* **ui5-li-groupheader:** use group role on UL nodes only ([#5518](https://github.com/SAP/ui5-webcomponents/issues/5518)) ([1010f73](https://github.com/SAP/ui5-webcomponents/commit/1010f73)), closes [#5400](https://github.com/SAP/ui5-webcomponents/issues/5400)
|
|
100
|
+
* **ui5-list:** focus handling on nested lists ([#5502](https://github.com/SAP/ui5-webcomponents/issues/5502)) ([5d4ae79](https://github.com/SAP/ui5-webcomponents/commit/5d4ae79))
|
|
101
|
+
* **ui5-panel:** add tooltip to expand/collapse icon ([#5543](https://github.com/SAP/ui5-webcomponents/issues/5543)) ([533469d](https://github.com/SAP/ui5-webcomponents/commit/533469d))
|
|
102
|
+
* **ui5-panel:** enhance aria-labelledby handling ([#5539](https://github.com/SAP/ui5-webcomponents/issues/5539)) ([410dee1](https://github.com/SAP/ui5-webcomponents/commit/410dee1))
|
|
103
|
+
* **ui5-radio-button:** correct keyboard navigation in RTL ([#5529](https://github.com/SAP/ui5-webcomponents/issues/5529)) ([bc726a9](https://github.com/SAP/ui5-webcomponents/commit/bc726a9))
|
|
104
|
+
* **ui5-select:** announce value state type ([#5538](https://github.com/SAP/ui5-webcomponents/issues/5538)) ([c0f8a2a](https://github.com/SAP/ui5-webcomponents/commit/c0f8a2a))
|
|
105
|
+
* **ui5-table:** render selectAll checkbox only in case ui5-table is not empty ([#5523](https://github.com/SAP/ui5-webcomponents/issues/5523)) ([cbf23d1](https://github.com/SAP/ui5-webcomponents/commit/cbf23d1))
|
|
106
|
+
* **ui5-title:** use correct font-family for Horizon Themes ([#5457](https://github.com/SAP/ui5-webcomponents/issues/5457)) ([62c4c20](https://github.com/SAP/ui5-webcomponents/commit/62c4c20))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Features
|
|
110
|
+
|
|
111
|
+
* **ui5-calendar:** show months and years from both primary and secon… ([#5412](https://github.com/SAP/ui5-webcomponents/issues/5412)) ([d5dc7ec](https://github.com/SAP/ui5-webcomponents/commit/d5dc7ec))
|
|
112
|
+
* **ui5-panel:** remove header when not used ([#5513](https://github.com/SAP/ui5-webcomponents/issues/5513)) ([73757a4](https://github.com/SAP/ui5-webcomponents/commit/73757a4))
|
|
113
|
+
* **ui5-radio-button:** add accessibleName property ([#5548](https://github.com/SAP/ui5-webcomponents/issues/5548)) ([967b441](https://github.com/SAP/ui5-webcomponents/commit/967b441)), closes [#5516](https://github.com/SAP/ui5-webcomponents/issues/5516)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
6
119
|
# [1.5.0](https://github.com/SAP/ui5-webcomponents/compare/v1.4.0...v1.5.0) (2022-07-03)
|
|
7
120
|
|
|
8
121
|
|
package/dist/Avatar.js
CHANGED
|
@@ -54,7 +54,7 @@ const metadata = {
|
|
|
54
54
|
* <br>
|
|
55
55
|
* <pre><ui5-avatar icon="employee"></pre>
|
|
56
56
|
*
|
|
57
|
-
* See all the available icons in the <ui5-link target="_blank" href="https://openui5.
|
|
57
|
+
* See all the available icons in the <ui5-link target="_blank" href="https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
|
|
58
58
|
* @type {string}
|
|
59
59
|
* @defaultvalue ""
|
|
60
60
|
* @public
|
|
@@ -208,6 +208,34 @@ const metadata = {
|
|
|
208
208
|
propertyName: "image",
|
|
209
209
|
type: HTMLElement,
|
|
210
210
|
},
|
|
211
|
+
/**
|
|
212
|
+
* Defines the optional badge that will be used for visual affordance.
|
|
213
|
+
* <b>Note:</b> While the slot allows for custom badges, to achieve
|
|
214
|
+
* the Fiori design, please use <code>ui5-badge</code> with <code>ui5-icon</code>
|
|
215
|
+
* in the corresponding <code>icon</code> slot, without text nodes.
|
|
216
|
+
* <br><br>
|
|
217
|
+
* Example:
|
|
218
|
+
* <br><br>
|
|
219
|
+
* <ui5-avatar><br>
|
|
220
|
+
* <ui5-badge slot="badge"><br>
|
|
221
|
+
* <ui5-icon slot="icon" name="employee"></ui5-icon><br>
|
|
222
|
+
*  </ui5-badge><br>
|
|
223
|
+
* </ui5-avatar>
|
|
224
|
+
* <br><br>
|
|
225
|
+
* <ui5-avatar initials="AB" color-scheme="Accent1">
|
|
226
|
+
* <ui5-badge slot="badge">
|
|
227
|
+
* <ui5-icon slot="icon" name="accelerated"></ui5-icon>
|
|
228
|
+
* </ui5-badge>
|
|
229
|
+
* </ui5-avatar>
|
|
230
|
+
*
|
|
231
|
+
* @type {HTMLElement}
|
|
232
|
+
* @slot badge
|
|
233
|
+
* @public
|
|
234
|
+
* @since 1.7.0
|
|
235
|
+
*/
|
|
236
|
+
badge: {
|
|
237
|
+
type: HTMLElement,
|
|
238
|
+
},
|
|
211
239
|
},
|
|
212
240
|
events: /** @lends sap.ui.webcomponents.main.Avatar.prototype */ {
|
|
213
241
|
/**
|
package/dist/AvatarGroup.js
CHANGED
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
isEnter,
|
|
9
9
|
isSpace,
|
|
10
10
|
} from "@ui5/webcomponents-base/dist/Keys.js";
|
|
11
|
+
import { isChrome } from "@ui5/webcomponents-base/dist/Device.js";
|
|
11
12
|
|
|
12
13
|
import {
|
|
13
14
|
AVATAR_GROUP_DISPLAYED_HIDDEN_LABEL,
|
|
@@ -376,13 +377,21 @@ class AvatarGroup extends UI5Element {
|
|
|
376
377
|
// if in "Group" mode overflow button size is equal to the offset from second item
|
|
377
378
|
if (this._isGroup) {
|
|
378
379
|
let item = this.items[1];
|
|
380
|
+
let ltrEffectiveWidth;
|
|
379
381
|
|
|
380
382
|
// in some cases when second avatar is overflowed the offset of the button is the right one
|
|
381
383
|
if (!item || item.hidden) {
|
|
382
384
|
item = button;
|
|
383
385
|
}
|
|
384
386
|
|
|
385
|
-
|
|
387
|
+
ltrEffectiveWidth = item.offsetLeft;
|
|
388
|
+
|
|
389
|
+
if (!isChrome()) {
|
|
390
|
+
// additional subtractions required for non-Chromium browsers
|
|
391
|
+
ltrEffectiveWidth = item.offsetLeft - this.offsetLeft;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
return this.effectiveDir === "rtl" ? this._getWidthToItem(item) : ltrEffectiveWidth;
|
|
386
395
|
}
|
|
387
396
|
|
|
388
397
|
return button.offsetWidth;
|
|
@@ -518,6 +527,7 @@ class AvatarGroup extends UI5Element {
|
|
|
518
527
|
*/
|
|
519
528
|
_getWidthToItem(item) {
|
|
520
529
|
const isRTL = this.effectiveDir === "rtl";
|
|
530
|
+
let ltrWidthToItem;
|
|
521
531
|
|
|
522
532
|
if (isRTL) {
|
|
523
533
|
// in RTL the total width is equal to difference of the parent container width and
|
|
@@ -526,7 +536,15 @@ class AvatarGroup extends UI5Element {
|
|
|
526
536
|
}
|
|
527
537
|
|
|
528
538
|
// in LTR the width is equal to item.offsetLeft
|
|
529
|
-
|
|
539
|
+
ltrWidthToItem = item.offsetLeft;
|
|
540
|
+
|
|
541
|
+
if (!isChrome()) {
|
|
542
|
+
// for non-Chromium browsers offsetLeft may differ
|
|
543
|
+
// to normalize it, the Avatar Group's offset-left is subtracted
|
|
544
|
+
ltrWidthToItem = item.offsetLeft - this.offsetLeft;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
return ltrWidthToItem;
|
|
530
548
|
}
|
|
531
549
|
|
|
532
550
|
/**
|
package/dist/BreadcrumbsItem.js
CHANGED
|
@@ -45,7 +45,7 @@ const metadata = {
|
|
|
45
45
|
},
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Defines the accessible
|
|
48
|
+
* Defines the accessible ARIA name of the item.
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @defaultvalue undefined
|
|
@@ -77,7 +77,7 @@ const metadata = {
|
|
|
77
77
|
*
|
|
78
78
|
* <h3 class="comment-api-title">Overview</h3>
|
|
79
79
|
*
|
|
80
|
-
* The <code>ui5-breadcrumbs-item</code> component defines the content of an item in <code>ui5-
|
|
80
|
+
* The <code>ui5-breadcrumbs-item</code> component defines the content of an item in <code>ui5-breadcrumbs</code>.
|
|
81
81
|
*
|
|
82
82
|
* @constructor
|
|
83
83
|
* @author SAP SE
|
package/dist/Button.js
CHANGED
|
@@ -75,7 +75,7 @@ const metadata = {
|
|
|
75
75
|
* <br><br>
|
|
76
76
|
* Example:
|
|
77
77
|
*
|
|
78
|
-
* See all the available icons within the <ui5-link target="_blank" href="https://openui5.
|
|
78
|
+
* See all the available icons within the <ui5-link target="_blank" href="https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @defaultvalue ""
|
|
@@ -114,7 +114,7 @@ const metadata = {
|
|
|
114
114
|
/**
|
|
115
115
|
* Defines the tooltip of the component.
|
|
116
116
|
* <br>
|
|
117
|
-
* <b>Note:</b>
|
|
117
|
+
* <b>Note:</b> A tooltip attribute should be provided for icon-only buttons, in order to represent their exact meaning/function.
|
|
118
118
|
* @type {string}
|
|
119
119
|
* @defaultvalue: ""
|
|
120
120
|
* @public
|
|
@@ -157,7 +157,7 @@ const metadata = {
|
|
|
157
157
|
},
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
* Defines the accessible
|
|
160
|
+
* Defines the accessible ARIA name of the component.
|
|
161
161
|
*
|
|
162
162
|
* @type {string}
|
|
163
163
|
* @defaultvalue: ""
|
|
@@ -466,7 +466,7 @@ class Button extends UI5Element {
|
|
|
466
466
|
return "";
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
-
return this.
|
|
469
|
+
return this.showIconTooltip ? "img" : "presentation";
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
get isIconOnly() {
|
package/dist/Calendar.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import transformDateToSecondaryType from "@ui5/webcomponents-localization/dist/dates/transformDateToSecondaryType.js";
|
|
2
|
+
import convertMonthNumbersToMonthNames from "@ui5/webcomponents-localization/dist/dates/convertMonthNumbersToMonthNames.js";
|
|
1
3
|
import CalendarDate from "@ui5/webcomponents-localization/dist/dates/CalendarDate.js";
|
|
2
4
|
import { renderFinished } from "@ui5/webcomponents-base/dist/Render.js";
|
|
3
5
|
import {
|
|
@@ -86,6 +88,10 @@ const metadata = {
|
|
|
86
88
|
_headerYearButtonText: {
|
|
87
89
|
type: String,
|
|
88
90
|
},
|
|
91
|
+
|
|
92
|
+
_headerYearButtonTextSecType: {
|
|
93
|
+
type: String,
|
|
94
|
+
},
|
|
89
95
|
},
|
|
90
96
|
managedSlots: true,
|
|
91
97
|
slots: /** @lends sap.ui.webcomponents.main.Calendar.prototype */ {
|
|
@@ -302,6 +308,8 @@ class Calendar extends CalendarPart {
|
|
|
302
308
|
} else {
|
|
303
309
|
this._headerYearButtonText = String(yearFormat.format(this._localDate, true));
|
|
304
310
|
}
|
|
311
|
+
|
|
312
|
+
this.secondaryCalendarType && this._setSecondaryCalendarTypeButtonText();
|
|
305
313
|
}
|
|
306
314
|
|
|
307
315
|
/**
|
|
@@ -340,6 +348,27 @@ class Calendar extends CalendarPart {
|
|
|
340
348
|
this._currentPickerDOM._showNextPage();
|
|
341
349
|
}
|
|
342
350
|
|
|
351
|
+
_setSecondaryCalendarTypeButtonText() {
|
|
352
|
+
const localeData = getCachedLocaleDataInstance(getLocale());
|
|
353
|
+
const yearFormatSecType = DateFormat.getDateInstance({ format: "y", calendarType: this.secondaryCalendarType });
|
|
354
|
+
this._headerMonthButtonTextInSexType = localeData.getMonthsStandAlone("wide", this.secondaryCalendarType)[this._calendarDate.getMonth()];
|
|
355
|
+
|
|
356
|
+
if (this._currentPicker === "year") {
|
|
357
|
+
const rangeStart = new CalendarDate(this._calendarDate, this._primaryCalendarType);
|
|
358
|
+
const rangeEnd = new CalendarDate(this._calendarDate, this._primaryCalendarType);
|
|
359
|
+
rangeStart.setYear(this._currentPickerDOM._firstYear);
|
|
360
|
+
rangeEnd.setYear(this._currentPickerDOM._lastYear);
|
|
361
|
+
|
|
362
|
+
const rangeStartSecType = transformDateToSecondaryType(this.primaryCalendarType, this.secondaryCalendarType, rangeStart.valueOf() / 1000, true)
|
|
363
|
+
.firstDate;
|
|
364
|
+
const rangeEndSecType = transformDateToSecondaryType(this.primaryCalendarType, this.secondaryCalendarType, rangeEnd.valueOf() / 1000, true)
|
|
365
|
+
.lastDate;
|
|
366
|
+
this._headerYearButtonTextSecType = `${yearFormatSecType.format(rangeStartSecType.toLocalJSDate(), true)} - ${yearFormatSecType.format(rangeEndSecType.toLocalJSDate(), true)}`;
|
|
367
|
+
} else {
|
|
368
|
+
this._headerYearButtonTextSecType = String(yearFormatSecType.format(this._localDate, true));
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
343
372
|
get secondaryCalendarTypeButtonText() {
|
|
344
373
|
if (!this.secondaryCalendarType) {
|
|
345
374
|
return;
|
|
@@ -347,58 +376,17 @@ class Calendar extends CalendarPart {
|
|
|
347
376
|
|
|
348
377
|
const localDate = new Date(this._timestamp * 1000);
|
|
349
378
|
const secondYearFormat = DateFormat.getDateInstance({ format: "y", calendarType: this.secondaryCalendarType });
|
|
350
|
-
const
|
|
379
|
+
const dateInSecType = transformDateToSecondaryType(this._primaryCalendarType, this.secondaryCalendarType, this._timestamp);
|
|
380
|
+
const secondMonthInfo = convertMonthNumbersToMonthNames(dateInSecType.firstDate.getMonth(), dateInSecType.lastDate.getMonth(), this.secondaryCalendarType);
|
|
351
381
|
const secondYearText = secondYearFormat.format(localDate, true);
|
|
382
|
+
|
|
352
383
|
return {
|
|
353
384
|
yearButtonText: secondYearText,
|
|
354
385
|
monthButtonText: secondMonthInfo.text,
|
|
355
|
-
monthButtonInfo: secondMonthInfo.
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
_getDisplayedSecondaryMonthText() {
|
|
360
|
-
const month = this._getDisplayedSecondaryMonths();
|
|
361
|
-
const localeData = getCachedLocaleDataInstance(getLocale());
|
|
362
|
-
const pattern = localeData.getIntervalPattern();
|
|
363
|
-
const secondaryMonthsNames = getCachedLocaleDataInstance(getLocale()).getMonthsStandAlone("abbreviated", this.secondaryCalendarType);
|
|
364
|
-
const secondaryMonthsNamesWide = getCachedLocaleDataInstance(getLocale()).getMonthsStandAlone("wide", this.secondaryCalendarType);
|
|
365
|
-
|
|
366
|
-
if (month.startMonth === month.endMonth) {
|
|
367
|
-
return {
|
|
368
|
-
text: localeData.getMonths("abbreviated", this.secondaryCalendarType)[month.startMonth],
|
|
369
|
-
textInfo: localeData.getMonths("wide", this.secondaryCalendarType)[month.startMonth],
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
return {
|
|
374
|
-
text: pattern.replace(/\{0\}/, secondaryMonthsNames[month.startMonth]).replace(/\{1\}/, secondaryMonthsNames[month.endMonth]),
|
|
375
|
-
textInfo: pattern.replace(/\{0\}/, secondaryMonthsNamesWide[month.startMonth]).replace(/\{1\}/, secondaryMonthsNamesWide[month.endMonth]),
|
|
386
|
+
monthButtonInfo: secondMonthInfo.textInfo,
|
|
376
387
|
};
|
|
377
388
|
}
|
|
378
389
|
|
|
379
|
-
_getDisplayedSecondaryMonths() {
|
|
380
|
-
const localDate = new Date(this._timestamp * 1000);
|
|
381
|
-
let firstDate = CalendarDate.fromLocalJSDate(localDate, this._primaryCalendarType);
|
|
382
|
-
firstDate.setDate(1);
|
|
383
|
-
firstDate = new CalendarDate(firstDate, this.secondaryCalendarType);
|
|
384
|
-
const startMonth = firstDate.getMonth();
|
|
385
|
-
|
|
386
|
-
let lastDate = CalendarDate.fromLocalJSDate(localDate, this._primaryCalendarType);
|
|
387
|
-
lastDate.setDate(this._getDaysInMonth(lastDate));
|
|
388
|
-
lastDate = new CalendarDate(lastDate, this.secondaryCalendarType);
|
|
389
|
-
const endMonth = lastDate.getMonth();
|
|
390
|
-
|
|
391
|
-
return { startMonth, endMonth };
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
_getDaysInMonth(date) {
|
|
395
|
-
const tempCalendarDate = new CalendarDate(date);
|
|
396
|
-
tempCalendarDate.setDate(1);
|
|
397
|
-
tempCalendarDate.setMonth(tempCalendarDate.getMonth() + 1);
|
|
398
|
-
tempCalendarDate.setDate(0);
|
|
399
|
-
return tempCalendarDate.getDate();
|
|
400
|
-
}
|
|
401
|
-
|
|
402
390
|
/**
|
|
403
391
|
* The month button is hidden when the month picker or year picker is shown
|
|
404
392
|
* @returns {boolean}
|
package/dist/CalendarHeader.js
CHANGED
|
@@ -78,6 +78,10 @@ const metadata = {
|
|
|
78
78
|
type: String,
|
|
79
79
|
},
|
|
80
80
|
|
|
81
|
+
_yearButtonTextSecType: {
|
|
82
|
+
type: String,
|
|
83
|
+
},
|
|
84
|
+
|
|
81
85
|
isYearButtonHidden: {
|
|
82
86
|
type: Boolean,
|
|
83
87
|
},
|
|
@@ -199,7 +203,7 @@ class CalendarHeader extends UI5Element {
|
|
|
199
203
|
get accInfo() {
|
|
200
204
|
return {
|
|
201
205
|
ariaLabelMonthButton: this.hasSecondaryCalendarType
|
|
202
|
-
? `${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.
|
|
206
|
+
? `${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.monthButtonInfo}` : `${this._monthButtonText}`,
|
|
203
207
|
};
|
|
204
208
|
}
|
|
205
209
|
}
|
package/dist/CardHeader.js
CHANGED
|
@@ -133,6 +133,7 @@ const metadata = {
|
|
|
133
133
|
* <br>
|
|
134
134
|
* The <code>ui5-card</code> exposes the following CSS Shadow Parts:
|
|
135
135
|
* <ul>
|
|
136
|
+
* <li>root - Used to style the root DOM element of the CardHeader</li>
|
|
136
137
|
* <li>title - Used to style the title of the CardHeader</li>
|
|
137
138
|
* <li>subtitle - Used to style the subtitle of the CardHeader</li>
|
|
138
139
|
* <li>status - Used to style the status of the CardHeader</li>
|
package/dist/Carousel.js
CHANGED
|
@@ -238,6 +238,15 @@ const metadata = {
|
|
|
238
238
|
* with the following keyboard shortcuts:
|
|
239
239
|
* <br>
|
|
240
240
|
*
|
|
241
|
+
* <h3>CSS Shadow Parts</h3>
|
|
242
|
+
*
|
|
243
|
+
* <ui5-link target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.
|
|
244
|
+
* <br>
|
|
245
|
+
* The <code>ui5-carousel</code> exposes the following CSS Shadow Parts:
|
|
246
|
+
* <ul>
|
|
247
|
+
* <li>content - Used to style the content of the component</li>
|
|
248
|
+
* </ul>
|
|
249
|
+
*
|
|
241
250
|
* * <h4>Fast Navigation</h4>
|
|
242
251
|
* This component provides a build in fast navigation group which can be used via <code>F6 / Shift + F6</code> or <code> Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up</code>.
|
|
243
252
|
* In order to use this functionality, you need to import the following module:
|
package/dist/CheckBox.js
CHANGED
|
@@ -46,7 +46,7 @@ const metadata = {
|
|
|
46
46
|
},
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Defines the accessible
|
|
49
|
+
* Defines the accessible ARIA name of the component.
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @public
|
|
@@ -99,7 +99,7 @@ const metadata = {
|
|
|
99
99
|
/**
|
|
100
100
|
* Defines whether the component is displayed as partially checked.
|
|
101
101
|
* <br><br>
|
|
102
|
-
* <b>Note:</b> The indeterminate state can be set only
|
|
102
|
+
* <b>Note:</b> The indeterminate state can be set only programmatically and can’t be achieved by user
|
|
103
103
|
* interaction and the resulting visual state depends on the values of the <code>indeterminate</code>
|
|
104
104
|
* and <code>checked</code> properties:
|
|
105
105
|
* <ul>
|
package/dist/ComboBox.js
CHANGED
|
@@ -36,10 +36,15 @@ import {
|
|
|
36
36
|
VALUE_STATE_ERROR,
|
|
37
37
|
VALUE_STATE_WARNING,
|
|
38
38
|
VALUE_STATE_INFORMATION,
|
|
39
|
+
VALUE_STATE_TYPE_SUCCESS,
|
|
40
|
+
VALUE_STATE_TYPE_INFORMATION,
|
|
41
|
+
VALUE_STATE_TYPE_ERROR,
|
|
42
|
+
VALUE_STATE_TYPE_WARNING,
|
|
39
43
|
INPUT_SUGGESTIONS_TITLE,
|
|
40
44
|
SELECT_OPTIONS,
|
|
41
45
|
LIST_ITEM_POSITION,
|
|
42
46
|
LIST_ITEM_SELECTED,
|
|
47
|
+
LIST_ITEM_GROUP_HEADER,
|
|
43
48
|
} from "./generated/i18n/i18n-defaults.js";
|
|
44
49
|
|
|
45
50
|
// Templates
|
|
@@ -212,7 +217,7 @@ const metadata = {
|
|
|
212
217
|
},
|
|
213
218
|
|
|
214
219
|
/**
|
|
215
|
-
* Defines the accessible
|
|
220
|
+
* Defines the accessible ARIA name of the component.
|
|
216
221
|
*
|
|
217
222
|
* @type {string}
|
|
218
223
|
* @defaultvalue: ""
|
|
@@ -550,6 +555,10 @@ class ComboBox extends UI5Element {
|
|
|
550
555
|
this.inner.focus();
|
|
551
556
|
this._resetFilter();
|
|
552
557
|
|
|
558
|
+
if (isPhone() && this.value && !this._lastValue) {
|
|
559
|
+
this._lastValue = this.value;
|
|
560
|
+
}
|
|
561
|
+
|
|
553
562
|
this._toggleRespPopover();
|
|
554
563
|
}
|
|
555
564
|
|
|
@@ -661,12 +670,12 @@ class ComboBox extends UI5Element {
|
|
|
661
670
|
this._isValueStateFocused = false;
|
|
662
671
|
this._selectionChanged = true;
|
|
663
672
|
|
|
673
|
+
this._announceSelectedItem(indexOfItem);
|
|
674
|
+
|
|
664
675
|
if (isGroupItem && isOpen) {
|
|
665
676
|
return;
|
|
666
677
|
}
|
|
667
678
|
|
|
668
|
-
this._announceSelectedItem(indexOfItem);
|
|
669
|
-
|
|
670
679
|
// autocomplete
|
|
671
680
|
const item = this._getFirstMatchingItem(this.value);
|
|
672
681
|
this._applyAtomicValueAndSelection(item, (this.open ? this._userTypedValue : null), true);
|
|
@@ -829,11 +838,20 @@ class ComboBox extends UI5Element {
|
|
|
829
838
|
}
|
|
830
839
|
|
|
831
840
|
_closeRespPopover(event) {
|
|
832
|
-
if (
|
|
841
|
+
if (event && event.target.classList.contains("ui5-responsive-popover-close-btn") && this._selectedItemText) {
|
|
833
842
|
this.value = this._selectedItemText;
|
|
834
843
|
this.filterValue = this._selectedItemText;
|
|
835
844
|
}
|
|
836
845
|
|
|
846
|
+
if (event && event.target.classList.contains("ui5-responsive-popover-close-btn")) {
|
|
847
|
+
this.value = this._lastValue ? this._lastValue : "";
|
|
848
|
+
this.filterValue = this._lastValue ? this._lastValue : "";
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
if (isPhone()) {
|
|
852
|
+
this._fireChangeEvent();
|
|
853
|
+
}
|
|
854
|
+
|
|
837
855
|
this._isValueStateFocused = false;
|
|
838
856
|
this._clearFocus();
|
|
839
857
|
|
|
@@ -965,10 +983,17 @@ class ComboBox extends UI5Element {
|
|
|
965
983
|
}
|
|
966
984
|
|
|
967
985
|
_announceSelectedItem(indexOfItem) {
|
|
986
|
+
const currentItem = this._filteredItems[indexOfItem];
|
|
987
|
+
const isGroupItem = currentItem && currentItem.isGroupItem;
|
|
968
988
|
const itemPositionText = ComboBox.i18nBundle.getText(LIST_ITEM_POSITION, indexOfItem + 1, this._filteredItems.length);
|
|
969
989
|
const itemSelectionText = ComboBox.i18nBundle.getText(LIST_ITEM_SELECTED);
|
|
990
|
+
const groupHeaderText = ComboBox.i18nBundle.getText(LIST_ITEM_GROUP_HEADER);
|
|
970
991
|
|
|
971
|
-
|
|
992
|
+
if (isGroupItem) {
|
|
993
|
+
announce(`${groupHeaderText} ${currentItem.text} ${itemPositionText}`, "Polite");
|
|
994
|
+
} else {
|
|
995
|
+
announce(`${itemPositionText} ${itemSelectionText}`, "Polite");
|
|
996
|
+
}
|
|
972
997
|
}
|
|
973
998
|
|
|
974
999
|
get _headerTitleText() {
|
|
@@ -1001,7 +1026,19 @@ class ComboBox extends UI5Element {
|
|
|
1001
1026
|
return this.hasValueState && this.valueState !== ValueState.Success;
|
|
1002
1027
|
}
|
|
1003
1028
|
|
|
1004
|
-
get
|
|
1029
|
+
get ariaValueStateHiddenText() {
|
|
1030
|
+
if (!this.hasValueState) {
|
|
1031
|
+
return;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
if (this.shouldDisplayDefaultValueStateMessage) {
|
|
1035
|
+
return `${this.valueStateTypeMappings[this.valueState]} ${this.valueStateDefaultText}`;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
return `${this.valueStateTypeMappings[this.valueState]}`.concat(" ", this.valueStateMessageText.map(el => el.textContent).join(" "));
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
get valueStateDefaultText() {
|
|
1005
1042
|
return this.valueStateTextMappings[this.valueState];
|
|
1006
1043
|
}
|
|
1007
1044
|
|
|
@@ -1022,6 +1059,15 @@ class ComboBox extends UI5Element {
|
|
|
1022
1059
|
};
|
|
1023
1060
|
}
|
|
1024
1061
|
|
|
1062
|
+
get valueStateTypeMappings() {
|
|
1063
|
+
return {
|
|
1064
|
+
"Success": ComboBox.i18nBundle.getText(VALUE_STATE_TYPE_SUCCESS),
|
|
1065
|
+
"Information": ComboBox.i18nBundle.getText(VALUE_STATE_TYPE_INFORMATION),
|
|
1066
|
+
"Error": ComboBox.i18nBundle.getText(VALUE_STATE_TYPE_ERROR),
|
|
1067
|
+
"Warning": ComboBox.i18nBundle.getText(VALUE_STATE_TYPE_WARNING),
|
|
1068
|
+
};
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1025
1071
|
get shouldOpenValueStateMessagePopover() {
|
|
1026
1072
|
return this.focused && !this.readonly && this.hasValueStateText && !this._iconPressed
|
|
1027
1073
|
&& !this.open && !this._isPhone;
|
package/dist/DatePicker.js
CHANGED
|
@@ -15,8 +15,12 @@ import {
|
|
|
15
15
|
isShow,
|
|
16
16
|
isF4,
|
|
17
17
|
isEnter,
|
|
18
|
+
isTabNext,
|
|
19
|
+
isTabPrevious,
|
|
20
|
+
isF6Next,
|
|
21
|
+
isF6Previous,
|
|
18
22
|
} from "@ui5/webcomponents-base/dist/Keys.js";
|
|
19
|
-
import { isPhone } from "@ui5/webcomponents-base/dist/Device.js";
|
|
23
|
+
import { isPhone, isDesktop } from "@ui5/webcomponents-base/dist/Device.js";
|
|
20
24
|
import "@ui5/webcomponents-icons/dist/appointment-2.js";
|
|
21
25
|
import "@ui5/webcomponents-icons/dist/decline.js";
|
|
22
26
|
import HasPopup from "./types/HasPopup.js";
|
|
@@ -476,6 +480,10 @@ class DatePicker extends DateComponentBase {
|
|
|
476
480
|
}
|
|
477
481
|
}
|
|
478
482
|
|
|
483
|
+
if ((this._getInput().isEqualNode(event.target) && this.isOpen()) && (isTabNext(event) || isTabPrevious(event) || isF6Next(event) || isF6Previous(event))) {
|
|
484
|
+
this.closePicker();
|
|
485
|
+
}
|
|
486
|
+
|
|
479
487
|
if (this.isOpen()) {
|
|
480
488
|
return;
|
|
481
489
|
}
|
|
@@ -705,6 +713,14 @@ class DatePicker extends DateComponentBase {
|
|
|
705
713
|
return false;
|
|
706
714
|
}
|
|
707
715
|
|
|
716
|
+
/**
|
|
717
|
+
* Defines whether the value help icon is hidden
|
|
718
|
+
* @private
|
|
719
|
+
*/
|
|
720
|
+
get _ariaHidden() {
|
|
721
|
+
return isDesktop();
|
|
722
|
+
}
|
|
723
|
+
|
|
708
724
|
async _respPopover() {
|
|
709
725
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
710
726
|
return staticAreaItem.querySelector("[ui5-responsive-popover]");
|