@ui5/webcomponents 1.4.0 → 1.5.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/CHANGELOG.md +42 -0
- package/README.md +9 -7
- package/dist/Avatar.js +4 -4
- package/dist/AvatarGroup.js +2 -2
- package/dist/Badge.js +2 -1
- package/dist/Breadcrumbs.js +15 -5
- package/dist/BreadcrumbsItem.js +1 -1
- package/dist/BusyIndicator.js +1 -3
- package/dist/Button.js +14 -10
- package/dist/Calendar.js +3 -3
- package/dist/CalendarDate.js +1 -1
- package/dist/CalendarPart.js +1 -1
- package/dist/CardHeader.js +21 -22
- package/dist/Carousel.js +10 -0
- package/dist/ColorPalette.js +1 -1
- package/dist/ColorPaletteItem.js +1 -1
- package/dist/ColorPalettePopover.js +1 -1
- package/dist/ColorPicker.js +0 -9
- package/dist/ComboBox.js +8 -1
- package/dist/ComboBoxGroupItem.js +4 -4
- package/dist/ComboBoxItem.js +1 -1
- package/dist/DateComponentBase.js +1 -1
- package/dist/DatePicker.js +6 -10
- package/dist/DateTimePicker.js +6 -10
- package/dist/DayPicker.js +2 -2
- package/dist/Dialog.js +44 -31
- package/dist/GroupHeaderListItem.js +2 -2
- package/dist/Icon.js +0 -30
- package/dist/Input.js +35 -46
- package/dist/Link.js +38 -13
- package/dist/List.js +4 -10
- package/dist/ListItem.js +11 -1
- package/dist/ListItemBase.js +2 -2
- package/dist/MonthPicker.js +2 -2
- package/dist/MultiComboBox.js +140 -34
- package/dist/MultiComboBoxGroupItem.js +67 -0
- package/dist/MultiComboBoxItem.js +1 -1
- package/dist/MultiInput.js +2 -2
- package/dist/Option.js +1 -1
- package/dist/Panel.js +1 -1
- package/dist/Popover.js +5 -1
- package/dist/Popup.js +4 -4
- package/dist/RatingIndicator.js +5 -0
- package/dist/SegmentedButton.js +1 -10
- package/dist/SegmentedButtonItem.js +2 -2
- package/dist/Select.js +1 -1
- package/dist/StandardListItem.js +16 -0
- package/dist/SuggestionGroupItem.js +3 -3
- package/dist/SuggestionItem.js +3 -3
- package/dist/Tab.js +1 -1
- package/dist/TabContainer.js +3 -3
- package/dist/Table.js +5 -19
- package/dist/TextArea.js +0 -10
- package/dist/TimeSelection.js +1 -5
- package/dist/ToggleButton.js +3 -5
- package/dist/Token.js +1 -1
- package/dist/TreeListItem.js +1 -2
- package/dist/YearPicker.js +2 -2
- package/dist/api.json +1 -7457
- package/dist/assets/John_Miller.fc9d0d73.png +0 -0
- package/dist/assets/Lamp_avatar_01.ab251b40.jpg +0 -0
- package/dist/assets/SAP-icons-TNT.fa06c05f.js +1 -0
- package/dist/assets/SAP-icons-business-suite.60260cdf.js +1 -0
- package/dist/assets/SAP-icons.09567bd9.js +1 -0
- package/dist/assets/SAP-icons.1f482d05.js +1 -0
- package/dist/assets/ar.7fd1011b.js +1 -0
- package/dist/assets/ar_EG.4dd5f305.js +1 -0
- package/dist/assets/ar_SA.8c5a937a.js +1 -0
- package/dist/assets/bg.a4d82c03.js +1 -0
- package/dist/assets/ca.0021f734.js +1 -0
- package/dist/assets/cs.0e585b65.js +1 -0
- package/dist/assets/da.521611de.js +1 -0
- package/dist/assets/de.63fdffdf.js +1 -0
- package/dist/assets/de_AT.ea95f993.js +1 -0
- package/dist/assets/de_CH.90d5e701.js +1 -0
- package/dist/assets/el.3e1beb01.js +1 -0
- package/dist/assets/el_CY.209073e0.js +1 -0
- package/dist/assets/en.1af5f31c.js +1 -0
- package/dist/assets/en_AU.25e8cf38.js +1 -0
- package/dist/assets/en_GB.43297e37.js +1 -0
- package/dist/assets/en_HK.0da1e0b5.js +1 -0
- package/dist/assets/en_IE.c4988873.js +1 -0
- package/dist/assets/en_IN.96d721e2.js +1 -0
- package/dist/assets/en_NZ.1091e526.js +1 -0
- package/dist/assets/en_PG.f028e345.js +1 -0
- package/dist/assets/en_SG.8d370bdb.js +1 -0
- package/dist/assets/en_ZA.0cbf9d6e.js +1 -0
- package/dist/assets/es.37dda275.js +1 -0
- package/dist/assets/es_AR.da796f99.js +1 -0
- package/dist/assets/es_BO.2b15333c.js +1 -0
- package/dist/assets/es_CL.048ca1f2.js +1 -0
- package/dist/assets/es_CO.257ed3d6.js +1 -0
- package/dist/assets/es_MX.061e6bbb.js +1 -0
- package/dist/assets/es_PE.f7c17b7a.js +1 -0
- package/dist/assets/es_UY.73781c0c.js +1 -0
- package/dist/assets/es_VE.fe0f3310.js +1 -0
- package/dist/assets/et.fbe81c9d.js +1 -0
- package/dist/assets/fa.acfcfa4d.js +1 -0
- package/dist/assets/fi.0379b5fc.js +1 -0
- package/dist/assets/fr.f6c58c06.js +1 -0
- package/dist/assets/fr_BE.c6e52c3f.js +1 -0
- package/dist/assets/fr_CA.e3c92112.js +1 -0
- package/dist/assets/fr_CH.fc89bdfc.js +1 -0
- package/dist/assets/fr_LU.4fffec47.js +1 -0
- package/dist/assets/he.ca2cb3e0.js +1 -0
- package/dist/assets/hi.82a0ad5b.js +1 -0
- package/dist/assets/hr.ab15877f.js +1 -0
- package/dist/assets/hu.c3d72d24.js +1 -0
- package/dist/assets/id.163ccc8d.js +1 -0
- package/dist/assets/it.bcf089f4.js +1 -0
- package/dist/assets/it_CH.69227571.js +1 -0
- package/dist/assets/ja.18f39a5b.js +1 -0
- package/dist/assets/kitchen-scripts.489c25fb.css +1 -0
- package/dist/assets/kitchen-scripts.ec775613.js +1 -0
- package/dist/assets/kk.a697e741.js +1 -0
- package/dist/assets/ko.ebe1e5db.js +1 -0
- package/dist/assets/loading.b2cd685f.gif +0 -0
- package/dist/assets/lt.775927de.js +1 -0
- package/dist/assets/lv.d7e9d5e6.js +1 -0
- package/dist/assets/messagebundle_ar.3285e748.js +1 -0
- package/dist/assets/messagebundle_ar.9c5ee5ed.js +1 -0
- package/dist/assets/messagebundle_bg.0e988870.js +1 -0
- package/dist/assets/messagebundle_bg.eba3e906.js +1 -0
- package/dist/assets/messagebundle_ca.47eb5246.js +1 -0
- package/dist/assets/messagebundle_ca.a127ab38.js +1 -0
- package/dist/assets/messagebundle_cs.2c9254dc.js +1 -0
- package/dist/assets/messagebundle_cs.629a9626.js +1 -0
- package/dist/assets/messagebundle_cy.9e45bbce.js +1 -0
- package/dist/assets/messagebundle_cy.b66ab3d7.js +1 -0
- package/dist/assets/messagebundle_da.7306ba78.js +1 -0
- package/dist/assets/messagebundle_da.773ab830.js +1 -0
- package/dist/assets/messagebundle_de.11a43c3f.js +1 -0
- package/dist/assets/messagebundle_de.e3b00529.js +1 -0
- package/dist/assets/messagebundle_el.40c4d9bd.js +1 -0
- package/dist/assets/messagebundle_el.5313ff1a.js +1 -0
- package/dist/assets/messagebundle_en.4d827ce9.js +1 -0
- package/dist/assets/messagebundle_en.8eab6481.js +1 -0
- package/dist/assets/messagebundle_en_GB.43ff6ad4.js +1 -0
- package/dist/assets/messagebundle_en_GB.b09b6a64.js +1 -0
- package/dist/assets/messagebundle_en_US_sappsd.3123c345.js +1 -0
- package/dist/assets/messagebundle_en_US_sappsd.7d173b62.js +1 -0
- package/dist/assets/messagebundle_en_US_saprigi.443cefd7.js +1 -0
- package/dist/assets/messagebundle_en_US_saprigi.ce3d7e4c.js +1 -0
- package/dist/assets/messagebundle_en_US_saptrc.09e99a05.js +1 -0
- package/dist/assets/messagebundle_en_US_saptrc.ec370551.js +1 -0
- package/dist/assets/messagebundle_es.827626df.js +1 -0
- package/dist/assets/messagebundle_es.881ff0f9.js +1 -0
- package/dist/assets/messagebundle_es_MX.3fc62f39.js +1 -0
- package/dist/assets/messagebundle_es_MX.a36afbf1.js +1 -0
- package/dist/assets/messagebundle_et.45f3eda8.js +1 -0
- package/dist/assets/messagebundle_et.ef5644ec.js +1 -0
- package/dist/assets/messagebundle_fi.17dccdfe.js +1 -0
- package/dist/assets/messagebundle_fi.51171aa3.js +1 -0
- package/dist/assets/messagebundle_fr.01378189.js +1 -0
- package/dist/assets/messagebundle_fr.1534fb7f.js +1 -0
- package/dist/assets/messagebundle_fr_CA.2594af28.js +1 -0
- package/dist/assets/messagebundle_fr_CA.3ec2f1d9.js +1 -0
- package/dist/assets/messagebundle_hi.0dd7cf25.js +1 -0
- package/dist/assets/messagebundle_hi.df105d55.js +1 -0
- package/dist/assets/messagebundle_hr.22e41fe6.js +1 -0
- package/dist/assets/messagebundle_hr.99b625e3.js +1 -0
- package/dist/assets/messagebundle_hu.31a245d6.js +1 -0
- package/dist/assets/messagebundle_hu.45d5a14f.js +1 -0
- package/dist/assets/messagebundle_in.52c1e21c.js +1 -0
- package/dist/assets/messagebundle_in.920ee55c.js +1 -0
- package/dist/assets/messagebundle_it.7c4db606.js +1 -0
- package/dist/assets/messagebundle_it.baf6d99f.js +1 -0
- package/dist/assets/messagebundle_iw.50133cb0.js +1 -0
- package/dist/assets/messagebundle_iw.668edbae.js +1 -0
- package/dist/assets/messagebundle_ja.4684bb4f.js +1 -0
- package/dist/assets/messagebundle_ja.4ca0da85.js +1 -0
- package/dist/assets/messagebundle_kk.153a974f.js +1 -0
- package/dist/assets/messagebundle_kk.f1d95e67.js +1 -0
- package/dist/assets/messagebundle_ko.2cbd9a48.js +1 -0
- package/dist/assets/messagebundle_ko.a9126af1.js +1 -0
- package/dist/assets/messagebundle_lt.1c86044c.js +1 -0
- package/dist/assets/messagebundle_lt.4792b637.js +1 -0
- package/dist/assets/messagebundle_lv.023b46ad.js +1 -0
- package/dist/assets/messagebundle_lv.1c982a41.js +1 -0
- package/dist/assets/messagebundle_ms.12fa7211.js +1 -0
- package/dist/assets/messagebundle_ms.6de4a307.js +1 -0
- package/dist/assets/messagebundle_nl.346b5b0c.js +1 -0
- package/dist/assets/messagebundle_nl.3d8877e1.js +1 -0
- package/dist/assets/messagebundle_no.416b83e7.js +1 -0
- package/dist/assets/messagebundle_no.55c09a78.js +1 -0
- package/dist/assets/messagebundle_pl.24f1673c.js +1 -0
- package/dist/assets/messagebundle_pl.942cdbbd.js +1 -0
- package/dist/assets/messagebundle_pt.027e899b.js +1 -0
- package/dist/assets/messagebundle_pt.a0acef65.js +1 -0
- package/dist/assets/messagebundle_pt_PT.9bca19db.js +1 -0
- package/dist/assets/messagebundle_pt_PT.d5340844.js +1 -0
- package/dist/assets/messagebundle_ro.80e6cfad.js +1 -0
- package/dist/assets/messagebundle_ro.c47aa2e7.js +1 -0
- package/dist/assets/messagebundle_ru.9d147f84.js +1 -0
- package/dist/assets/messagebundle_ru.e5bfb3ae.js +1 -0
- package/dist/assets/messagebundle_sh.42d912a5.js +1 -0
- package/dist/assets/messagebundle_sh.6d1a0a62.js +1 -0
- package/dist/assets/messagebundle_sk.1c800907.js +1 -0
- package/dist/assets/messagebundle_sk.66be6ecd.js +1 -0
- package/dist/assets/messagebundle_sl.7aef5bf8.js +1 -0
- package/dist/assets/messagebundle_sl.af7daebc.js +1 -0
- package/dist/assets/messagebundle_sv.0e001a3d.js +1 -0
- package/dist/assets/messagebundle_sv.d8d543df.js +1 -0
- package/dist/assets/messagebundle_th.a1ae28b0.js +1 -0
- package/dist/assets/messagebundle_th.f54d55d7.js +1 -0
- package/dist/assets/messagebundle_tr.91751c7e.js +1 -0
- package/dist/assets/messagebundle_tr.971a97d0.js +1 -0
- package/dist/assets/messagebundle_uk.3fff2ce5.js +1 -0
- package/dist/assets/messagebundle_uk.e0830675.js +1 -0
- package/dist/assets/messagebundle_vi.57d3d183.js +1 -0
- package/dist/assets/messagebundle_vi.dcd6b37b.js +1 -0
- package/dist/assets/messagebundle_zh_CN.3447b7cf.js +1 -0
- package/dist/assets/messagebundle_zh_CN.9669c0a2.js +1 -0
- package/dist/assets/messagebundle_zh_TW.4841569f.js +1 -0
- package/dist/assets/messagebundle_zh_TW.a6d3c782.js +1 -0
- package/dist/assets/ms.d6569411.js +1 -0
- package/dist/assets/nb.e08266d5.js +1 -0
- package/dist/assets/nl.9999541e.js +1 -0
- package/dist/assets/nl_BE.10b9e463.js +1 -0
- package/dist/assets/parameters-bundle.css.01f054a7.js +1 -0
- package/dist/assets/parameters-bundle.css.0a36e0eb.js +1 -0
- package/dist/assets/parameters-bundle.css.16d388d6.js +1 -0
- package/dist/assets/parameters-bundle.css.38e4d904.js +1 -0
- package/dist/assets/parameters-bundle.css.3db3a626.js +1 -0
- package/dist/assets/parameters-bundle.css.40bf20d0.js +1 -0
- package/dist/assets/parameters-bundle.css.4260a678.js +1 -0
- package/dist/assets/parameters-bundle.css.4cd19aca.js +1 -0
- package/dist/assets/parameters-bundle.css.4d47c982.js +1 -0
- package/dist/assets/parameters-bundle.css.6993a07a.js +1 -0
- package/dist/assets/parameters-bundle.css.6f186b45.js +1 -0
- package/dist/assets/parameters-bundle.css.780c6a0b.js +1 -0
- package/dist/assets/parameters-bundle.css.7be18144.js +1 -0
- package/dist/assets/parameters-bundle.css.95d13129.js +1 -0
- package/dist/assets/parameters-bundle.css.9c6e589c.js +1 -0
- package/dist/assets/parameters-bundle.css.c35f092e.js +1 -0
- package/dist/assets/parameters-bundle.css.c967e7ef.js +1 -0
- package/dist/assets/parameters-bundle.css.d09464d2.js +1 -0
- package/dist/assets/parameters-bundle.css.d35c9c32.js +1 -0
- package/dist/assets/parameters-bundle.css.d4f504ed.js +1 -0
- package/dist/assets/parameters-bundle.css.e9339a13.js +1 -0
- package/dist/assets/parameters-bundle.css.e9998509.js +1 -0
- package/dist/assets/parameters-bundle.css.f0eeb6a4.js +1 -0
- package/dist/assets/parameters-bundle.css.f6aea851.js +1 -0
- package/dist/assets/pl.896f748a.js +1 -0
- package/dist/assets/pt.9282da43.js +1 -0
- package/dist/assets/pt_PT.8de6f4a2.js +1 -0
- package/dist/assets/ro.f27aab0d.js +1 -0
- package/dist/assets/ru.925a56df.js +1 -0
- package/dist/assets/ru_UA.066d9903.js +1 -0
- package/dist/assets/sk.cea36c4c.js +1 -0
- package/dist/assets/sl.00e904c8.js +1 -0
- package/dist/assets/sr.5ffa8a72.js +1 -0
- package/dist/assets/sr_Latn.37760dd7.js +1 -0
- package/dist/assets/sv.e8d71660.js +1 -0
- package/dist/assets/th.9c7b50b0.js +1 -0
- package/dist/assets/tr.0a0fb3ee.js +1 -0
- package/dist/assets/uk.7ee1da23.js +1 -0
- package/dist/assets/vi.b1f74e9c.js +1 -0
- package/dist/assets/woman_avatar_5.7316a316.png +0 -0
- package/dist/assets/zh_CN.a1d71c11.js +1 -0
- package/dist/assets/zh_HK.a47dd921.js +1 -0
- package/dist/assets/zh_SG.1cd17a31.js +1 -0
- package/dist/assets/zh_TW.b03069d7.js +1 -0
- package/dist/css/themes/Badge.css +1 -1
- package/dist/css/themes/BusyIndicator.css +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/CalendarHeader.css +1 -1
- package/dist/css/themes/CardHeader.css +1 -1
- package/dist/css/themes/Carousel.css +1 -1
- package/dist/css/themes/CheckBox.css +1 -1
- package/dist/css/themes/ColorPicker.css +1 -1
- package/dist/css/themes/ComboBox.css +1 -1
- package/dist/css/themes/DayPicker.css +1 -1
- package/dist/css/themes/Dialog.css +1 -1
- package/dist/css/themes/Input.css +1 -1
- package/dist/css/themes/Link.css +1 -1
- package/dist/css/themes/ListItem.css +1 -1
- package/dist/css/themes/ListItemBase.css +1 -1
- package/dist/css/themes/MonthPicker.css +1 -1
- package/dist/css/themes/MultiComboBox.css +1 -1
- package/dist/css/themes/MultiInput.css +1 -1
- package/dist/css/themes/Panel.css +1 -1
- package/dist/css/themes/PopupsCommon.css +1 -1
- package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
- package/dist/css/themes/Select.css +1 -1
- package/dist/css/themes/SliderBase.css +1 -1
- package/dist/css/themes/Switch.css +1 -1
- package/dist/css/themes/TextArea.css +1 -1
- package/dist/css/themes/Toast.css +1 -1
- package/dist/css/themes/ToggleButton.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 +16 -3
- 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_US_sappsd.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/json-imports/Themes-static.js +1 -1
- package/dist/generated/json-imports/Themes.js +2 -2
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js +1 -1
- package/dist/generated/templates/ButtonTemplate.lit.js +1 -1
- package/dist/generated/templates/CardHeaderTemplate.lit.js +3 -3
- package/dist/generated/templates/CarouselTemplate.lit.js +3 -3
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/CustomListItemTemplate.lit.js +1 -1
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/InputPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/InputTemplate.lit.js +2 -2
- package/dist/generated/templates/ListItemTemplate.lit.js +1 -1
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js +13 -9
- package/dist/generated/templates/MultiInputTemplate.lit.js +2 -2
- package/dist/generated/templates/RangeSliderTemplate.lit.js +1 -1
- package/dist/generated/templates/SliderBaseTemplate.lit.js +1 -1
- package/dist/generated/templates/SliderTemplate.lit.js +1 -1
- package/dist/generated/templates/StandardListItemTemplate.lit.js +1 -1
- package/dist/generated/templates/SuggestionListItemTemplate.lit.js +1 -1
- package/dist/generated/templates/TabInOverflowTemplate.lit.js +1 -1
- package/dist/generated/templates/TimeSelectionTemplate.lit.js +3 -3
- package/dist/generated/templates/ToggleButtonTemplate.lit.js +1 -1
- package/dist/generated/templates/TreeListItemTemplate.lit.js +1 -1
- package/dist/generated/themes/Badge.css.js +1 -1
- package/dist/generated/themes/BusyIndicator.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/CardHeader.css.js +1 -1
- package/dist/generated/themes/Carousel.css.js +1 -1
- package/dist/generated/themes/CheckBox.css.js +1 -1
- package/dist/generated/themes/ColorPicker.css.js +1 -1
- package/dist/generated/themes/ComboBox.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/Input.css.js +1 -1
- package/dist/generated/themes/Link.css.js +1 -1
- package/dist/generated/themes/ListItem.css.js +1 -1
- package/dist/generated/themes/ListItemBase.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/MultiInput.css.js +1 -1
- package/dist/generated/themes/Panel.css.js +1 -1
- package/dist/generated/themes/PopupsCommon.css.js +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/dist/generated/themes/Select.css.js +1 -1
- package/dist/generated/themes/SliderBase.css.js +1 -1
- package/dist/generated/themes/Switch.css.js +1 -1
- package/dist/generated/themes/TextArea.css.js +1 -1
- package/dist/generated/themes/Toast.css.js +1 -1
- package/dist/generated/themes/ToggleButton.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_ar.properties +7 -7
- package/dist/i18n/messagebundle_bg.properties +7 -7
- package/dist/i18n/messagebundle_ca.properties +6 -6
- package/dist/i18n/messagebundle_cs.properties +7 -7
- package/dist/i18n/messagebundle_cy.properties +6 -6
- package/dist/i18n/messagebundle_da.properties +6 -6
- package/dist/i18n/messagebundle_de.properties +6 -6
- package/dist/i18n/messagebundle_el.properties +7 -7
- package/dist/i18n/messagebundle_en_US_sappsd.properties +14 -0
- package/dist/i18n/messagebundle_en_US_saptrc.properties +14 -0
- package/dist/i18n/messagebundle_es.properties +6 -6
- package/dist/i18n/messagebundle_es_MX.properties +6 -6
- package/dist/i18n/messagebundle_et.properties +7 -7
- package/dist/i18n/messagebundle_fi.properties +7 -7
- package/dist/i18n/messagebundle_fr.properties +6 -6
- package/dist/i18n/messagebundle_fr_CA.properties +6 -6
- package/dist/i18n/messagebundle_hi.properties +7 -7
- package/dist/i18n/messagebundle_hr.properties +7 -7
- package/dist/i18n/messagebundle_hu.properties +7 -7
- package/dist/i18n/messagebundle_id.properties +7 -7
- package/dist/i18n/messagebundle_it.properties +7 -7
- package/dist/i18n/messagebundle_iw.properties +7 -7
- package/dist/i18n/messagebundle_ja.properties +7 -7
- package/dist/i18n/messagebundle_kk.properties +7 -7
- package/dist/i18n/messagebundle_ko.properties +7 -7
- package/dist/i18n/messagebundle_lt.properties +7 -7
- package/dist/i18n/messagebundle_lv.properties +7 -7
- package/dist/i18n/messagebundle_ms.properties +7 -7
- package/dist/i18n/messagebundle_nl.properties +7 -7
- package/dist/i18n/messagebundle_no.properties +7 -7
- package/dist/i18n/messagebundle_pl.properties +7 -7
- package/dist/i18n/messagebundle_pt.properties +6 -6
- package/dist/i18n/messagebundle_pt_PT.properties +6 -6
- package/dist/i18n/messagebundle_ro.properties +7 -7
- package/dist/i18n/messagebundle_ru.properties +7 -7
- package/dist/i18n/messagebundle_sh.properties +7 -7
- package/dist/i18n/messagebundle_sk.properties +7 -7
- package/dist/i18n/messagebundle_sl.properties +7 -7
- package/dist/i18n/messagebundle_sv.properties +6 -6
- package/dist/i18n/messagebundle_th.properties +7 -7
- package/dist/i18n/messagebundle_tr.properties +7 -7
- package/dist/i18n/messagebundle_uk.properties +7 -7
- package/dist/i18n/messagebundle_vi.properties +6 -6
- package/dist/i18n/messagebundle_zh_CN.properties +6 -6
- package/dist/i18n/messagebundle_zh_TW.properties +6 -6
- package/package.json +9 -8
- package/src/Avatar.js +4 -4
- package/src/AvatarGroup.js +2 -2
- package/src/Badge.js +2 -1
- package/src/Breadcrumbs.hbs +1 -1
- package/src/Breadcrumbs.js +15 -5
- package/src/BreadcrumbsItem.js +1 -1
- package/src/BusyIndicator.js +1 -3
- package/src/Button.hbs +1 -0
- package/src/Button.js +14 -10
- package/src/Calendar.js +3 -3
- package/src/CalendarDate.js +1 -1
- package/src/CalendarPart.js +1 -1
- package/src/CardHeader.hbs +44 -29
- package/src/CardHeader.js +21 -22
- package/src/Carousel.hbs +2 -2
- package/src/Carousel.js +10 -0
- package/src/ColorPalette.js +1 -1
- package/src/ColorPaletteItem.js +1 -1
- package/src/ColorPalettePopover.js +1 -1
- package/src/ColorPicker.js +0 -9
- package/src/ComboBox.js +8 -1
- package/src/ComboBoxGroupItem.js +4 -4
- package/src/ComboBoxItem.js +1 -1
- package/src/ComboBoxPopover.hbs +2 -1
- package/src/DateComponentBase.js +1 -1
- package/src/DatePicker.js +6 -10
- package/src/DatePickerPopover.hbs +0 -1
- package/src/DateTimePicker.js +6 -10
- package/src/DayPicker.js +2 -2
- package/src/Dialog.js +44 -31
- package/src/GroupHeaderListItem.js +2 -2
- package/src/Icon.js +0 -30
- package/src/Input.hbs +2 -2
- package/src/Input.js +35 -46
- package/src/InputPopover.hbs +1 -1
- package/src/Link.js +38 -13
- package/src/List.js +4 -10
- package/src/ListItem.hbs +1 -1
- package/src/ListItem.js +11 -1
- package/src/ListItemBase.js +2 -2
- package/src/MonthPicker.js +2 -2
- package/src/MultiComboBox.js +140 -34
- package/src/MultiComboBoxGroupItem.js +67 -0
- package/src/MultiComboBoxItem.js +1 -1
- package/src/MultiComboBoxPopover.hbs +13 -3
- package/src/MultiInput.js +2 -2
- package/src/Option.js +1 -1
- package/src/Panel.js +1 -1
- package/src/Popover.js +5 -1
- package/src/Popup.js +4 -4
- package/src/RatingIndicator.js +5 -0
- package/src/SegmentedButton.js +1 -10
- package/src/SegmentedButtonItem.js +2 -2
- package/src/Select.js +1 -1
- package/src/SliderBase.hbs +1 -0
- package/src/StandardListItem.js +16 -0
- package/src/SuggestionGroupItem.js +3 -3
- package/src/SuggestionItem.js +3 -3
- package/src/Tab.js +1 -1
- package/src/TabContainer.js +3 -3
- package/src/TabInOverflow.hbs +0 -1
- package/src/Table.js +5 -19
- package/src/TextArea.js +0 -10
- package/src/TimeSelection.hbs +3 -3
- package/src/TimeSelection.js +1 -5
- package/src/ToggleButton.js +3 -5
- package/src/Token.js +1 -1
- package/src/TreeListItem.js +1 -2
- package/src/YearPicker.js +2 -2
- package/src/features/InputElementsFormSupport.js +16 -3
- package/src/i18n/messagebundle_ar.properties +7 -7
- package/src/i18n/messagebundle_bg.properties +7 -7
- package/src/i18n/messagebundle_ca.properties +6 -6
- package/src/i18n/messagebundle_cs.properties +7 -7
- package/src/i18n/messagebundle_cy.properties +6 -6
- package/src/i18n/messagebundle_da.properties +6 -6
- package/src/i18n/messagebundle_de.properties +6 -6
- package/src/i18n/messagebundle_el.properties +7 -7
- package/src/i18n/messagebundle_en_US_sappsd.properties +14 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +14 -0
- package/src/i18n/messagebundle_es.properties +6 -6
- package/src/i18n/messagebundle_es_MX.properties +6 -6
- package/src/i18n/messagebundle_et.properties +7 -7
- package/src/i18n/messagebundle_fi.properties +7 -7
- package/src/i18n/messagebundle_fr.properties +6 -6
- package/src/i18n/messagebundle_fr_CA.properties +6 -6
- package/src/i18n/messagebundle_hi.properties +7 -7
- package/src/i18n/messagebundle_hr.properties +7 -7
- package/src/i18n/messagebundle_hu.properties +7 -7
- package/src/i18n/messagebundle_id.properties +7 -7
- package/src/i18n/messagebundle_it.properties +7 -7
- package/src/i18n/messagebundle_iw.properties +7 -7
- package/src/i18n/messagebundle_ja.properties +7 -7
- package/src/i18n/messagebundle_kk.properties +7 -7
- package/src/i18n/messagebundle_ko.properties +7 -7
- package/src/i18n/messagebundle_lt.properties +7 -7
- package/src/i18n/messagebundle_lv.properties +7 -7
- package/src/i18n/messagebundle_ms.properties +7 -7
- package/src/i18n/messagebundle_nl.properties +7 -7
- package/src/i18n/messagebundle_no.properties +7 -7
- package/src/i18n/messagebundle_pl.properties +7 -7
- package/src/i18n/messagebundle_pt.properties +6 -6
- package/src/i18n/messagebundle_pt_PT.properties +6 -6
- package/src/i18n/messagebundle_ro.properties +7 -7
- package/src/i18n/messagebundle_ru.properties +7 -7
- package/src/i18n/messagebundle_sh.properties +7 -7
- package/src/i18n/messagebundle_sk.properties +7 -7
- package/src/i18n/messagebundle_sl.properties +7 -7
- package/src/i18n/messagebundle_sv.properties +6 -6
- package/src/i18n/messagebundle_th.properties +7 -7
- package/src/i18n/messagebundle_tr.properties +7 -7
- package/src/i18n/messagebundle_uk.properties +7 -7
- package/src/i18n/messagebundle_vi.properties +6 -6
- package/src/i18n/messagebundle_zh_CN.properties +6 -6
- package/src/i18n/messagebundle_zh_TW.properties +6 -6
- package/src/themes/Badge.css +0 -5
- package/src/themes/BusyIndicator.css +0 -13
- package/src/themes/Button.css +0 -1
- package/src/themes/CalendarHeader.css +1 -2
- package/src/themes/CardHeader.css +13 -2
- package/src/themes/Carousel.css +2 -0
- package/src/themes/CheckBox.css +0 -10
- package/src/themes/ColorPicker.css +5 -5
- package/src/themes/DayPicker.css +0 -1
- package/src/themes/Dialog.css +4 -0
- package/src/themes/Input.css +0 -21
- package/src/themes/Link.css +6 -8
- package/src/themes/ListItem.css +10 -5
- package/src/themes/ListItemBase.css +0 -2
- package/src/themes/MonthPicker.css +0 -1
- package/src/themes/MultiComboBox.css +1 -15
- package/src/themes/MultiInput.css +1 -6
- package/src/themes/Panel.css +1 -1
- package/src/themes/PopupsCommon.css +2 -8
- package/src/themes/ResponsivePopoverCommon.css +0 -11
- package/src/themes/SliderBase.css +3 -5
- package/src/themes/Switch.css +3 -4
- package/src/themes/TextArea.css +1 -15
- package/src/themes/Toast.css +0 -6
- package/src/themes/ToggleButton.css +1 -6
- package/src/themes/YearPicker.css +0 -1
- package/src/themes/base/PopupsCommon-parameters.css +2 -1
- package/src/themes/base/SliderBase-parameters.css +2 -0
- package/src/themes/base/sizes-parameters.css +5 -1
- package/src/themes/sap_horizon/CheckBox-parameters.css +1 -0
- package/src/themes/sap_horizon/PopupsCommon-parameters.css +3 -0
- package/src/themes/sap_horizon/parameters-bundle.css +0 -1
- package/src/themes/sap_horizon_dark/CheckBox-parameters.css +1 -0
- package/src/themes/sap_horizon_dark/PopupsCommon-parameters.css +3 -0
- package/src/themes/sap_horizon_dark/parameters-bundle.css +0 -1
- package/src/themes/sap_horizon_hcb/CheckBox-parameters.css +1 -0
- package/src/themes/sap_horizon_hcb/PopupsCommon-parameters.css +3 -0
- package/src/themes/sap_horizon_hcb/RatingIndicator-parameters.css +1 -1
- package/src/themes/sap_horizon_hcb/parameters-bundle.css +0 -1
- package/src/themes/sap_horizon_hcw/CheckBox-parameters.css +1 -0
- package/src/themes/sap_horizon_hcw/PopupsCommon-parameters.css +3 -0
- package/src/themes/sap_horizon_hcw/RatingIndicator-parameters.css +1 -1
- package/src/themes/sap_horizon_hcw/parameters-bundle.css +0 -1
- package/dist/css/themes/Button.ie11.css +0 -1
- package/dist/css/themes/ToggleButton.ie11.css +0 -1
- package/dist/generated/themes/Button.ie11.css.js +0 -8
- package/dist/generated/themes/ToggleButton.ie11.css.js +0 -8
- package/src/themes/Button.ie11.css +0 -48
- package/src/themes/ToggleButton.ie11.css +0 -48
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
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.5.0](https://github.com/SAP/ui5-webcomponents/compare/v1.4.0...v1.5.0) (2022-07-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **formEnablement:** enable required attribute ([#5133](https://github.com/SAP/ui5-webcomponents/issues/5133)) ([ff044b0](https://github.com/SAP/ui5-webcomponents/commit/ff044b0)), closes [#3498](https://github.com/SAP/ui5-webcomponents/issues/3498)
|
|
12
|
+
* **framework:** correct use of arrow keys for ItemNavigation in RTL ([#5408](https://github.com/SAP/ui5-webcomponents/issues/5408)) ([cec8119](https://github.com/SAP/ui5-webcomponents/commit/cec8119)), closes [#5166](https://github.com/SAP/ui5-webcomponents/issues/5166)
|
|
13
|
+
* **ui5-avatar-group:** adapt width calculations in composite layouts ([#5357](https://github.com/SAP/ui5-webcomponents/issues/5357)) ([d176800](https://github.com/SAP/ui5-webcomponents/commit/d176800)), closes [#5333](https://github.com/SAP/ui5-webcomponents/issues/5333)
|
|
14
|
+
* **ui5-badge:** correctly detect if default slot is provided ([#5334](https://github.com/SAP/ui5-webcomponents/issues/5334)) ([0dceaf5](https://github.com/SAP/ui5-webcomponents/commit/0dceaf5)), closes [#5328](https://github.com/SAP/ui5-webcomponents/issues/5328)
|
|
15
|
+
* **ui5-button:** adjust icon role ([#5355](https://github.com/SAP/ui5-webcomponents/issues/5355)) ([1aac3c5](https://github.com/SAP/ui5-webcomponents/commit/1aac3c5)), closes [#5288](https://github.com/SAP/ui5-webcomponents/issues/5288)
|
|
16
|
+
* **ui5-card:** refactor header to avoid nesting interactive elements ([#5301](https://github.com/SAP/ui5-webcomponents/issues/5301)) ([9b33bad](https://github.com/SAP/ui5-webcomponents/commit/9b33bad))
|
|
17
|
+
* **ui5-carousel:** correct navigation buttons behavior ([#5302](https://github.com/SAP/ui5-webcomponents/issues/5302)) ([34027cd](https://github.com/SAP/ui5-webcomponents/commit/34027cd)), closes [#5125](https://github.com/SAP/ui5-webcomponents/issues/5125)
|
|
18
|
+
* **ui5-checkbox:** correct label color in Horizon ([#5375](https://github.com/SAP/ui5-webcomponents/issues/5375)) ([659cd7f](https://github.com/SAP/ui5-webcomponents/commit/659cd7f)), closes [#5364](https://github.com/SAP/ui5-webcomponents/issues/5364)
|
|
19
|
+
* **ui5-combobox:** change event is now fired on Enter if value is cha… ([#5284](https://github.com/SAP/ui5-webcomponents/issues/5284)) ([b8a4854](https://github.com/SAP/ui5-webcomponents/commit/b8a4854))
|
|
20
|
+
* **ui5-combobox, ui5-multi-combobox:** adjust dropdown width according to the visual specification ([#5371](https://github.com/SAP/ui5-webcomponents/issues/5371)) ([e585304](https://github.com/SAP/ui5-webcomponents/commit/e585304))
|
|
21
|
+
* **ui5-dialog:** add height to footer and samples achieving fiori footer design ([#5338](https://github.com/SAP/ui5-webcomponents/issues/5338)) ([03269f4](https://github.com/SAP/ui5-webcomponents/commit/03269f4))
|
|
22
|
+
* **ui5-dialog:** improved shrinking dialog when resizing ([#5291](https://github.com/SAP/ui5-webcomponents/issues/5291)) ([997f2a2](https://github.com/SAP/ui5-webcomponents/commit/997f2a2)), closes [#5265](https://github.com/SAP/ui5-webcomponents/issues/5265)
|
|
23
|
+
* **ui5-dialog:** make header text bold ([#5266](https://github.com/SAP/ui5-webcomponents/issues/5266)) ([42c0cbe](https://github.com/SAP/ui5-webcomponents/commit/42c0cbe)), closes [#5230](https://github.com/SAP/ui5-webcomponents/issues/5230)
|
|
24
|
+
* **ui5-dialog:** reposition on screen resize ([#5283](https://github.com/SAP/ui5-webcomponents/issues/5283)) ([c2341e8](https://github.com/SAP/ui5-webcomponents/commit/c2341e8))
|
|
25
|
+
* **ui5-input:** fix typeahead on mobile devices ([#5292](https://github.com/SAP/ui5-webcomponents/issues/5292)) ([edcdd24](https://github.com/SAP/ui5-webcomponents/commit/edcdd24))
|
|
26
|
+
* **ui5-input:** refactor change event ([#5296](https://github.com/SAP/ui5-webcomponents/issues/5296)) ([17465e3](https://github.com/SAP/ui5-webcomponents/commit/17465e3))
|
|
27
|
+
* **ui5-li:** correct accessible-name mappings ([#5280](https://github.com/SAP/ui5-webcomponents/issues/5280)) ([21ed1ee](https://github.com/SAP/ui5-webcomponents/commit/21ed1ee))
|
|
28
|
+
* **ui5-link:** enable overstyling ([#5366](https://github.com/SAP/ui5-webcomponents/issues/5366)) ([a359ebf](https://github.com/SAP/ui5-webcomponents/commit/a359ebf)), closes [#5267](https://github.com/SAP/ui5-webcomponents/issues/5267) [#5218](https://github.com/SAP/ui5-webcomponents/issues/5218)
|
|
29
|
+
* **ui5-panel:** set pointer cursor only over the header ([#5275](https://github.com/SAP/ui5-webcomponents/issues/5275)) ([04c23b9](https://github.com/SAP/ui5-webcomponents/commit/04c23b9))
|
|
30
|
+
* **ui5-popover:** avoid dangling aria-labelledby attribute ([#5428](https://github.com/SAP/ui5-webcomponents/issues/5428)) ([21d5457](https://github.com/SAP/ui5-webcomponents/commit/21d5457)), closes [#3956](https://github.com/SAP/ui5-webcomponents/issues/3956)
|
|
31
|
+
* **ui5-rating-indicator:** apply correct styles for focus in HC themes ([#5289](https://github.com/SAP/ui5-webcomponents/issues/5289)) ([4531582](https://github.com/SAP/ui5-webcomponents/commit/4531582))
|
|
32
|
+
* **ui5-rating-indicator:** import ui5-icon as used in template ([#5320](https://github.com/SAP/ui5-webcomponents/issues/5320)) ([885e359](https://github.com/SAP/ui5-webcomponents/commit/885e359)), closes [#5318](https://github.com/SAP/ui5-webcomponents/issues/5318)
|
|
33
|
+
* **ui5-slider, ui5-range-slider:** adjust padding to spec ([#5343](https://github.com/SAP/ui5-webcomponents/issues/5343)) ([bfbd23f](https://github.com/SAP/ui5-webcomponents/commit/bfbd23f)), closes [#4801](https://github.com/SAP/ui5-webcomponents/issues/4801)
|
|
34
|
+
* **ui5-tabcontainer:** make disabled tabs focusable in overflow ([#5300](https://github.com/SAP/ui5-webcomponents/issues/5300)) ([c39917f](https://github.com/SAP/ui5-webcomponents/commit/c39917f))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **ui5-datetime-picker:** make change events preventable ([#5286](https://github.com/SAP/ui5-webcomponents/issues/5286)) ([7395dc3](https://github.com/SAP/ui5-webcomponents/commit/7395dc3)), closes [#4684](https://github.com/SAP/ui5-webcomponents/issues/4684) [#5121](https://github.com/SAP/ui5-webcomponents/issues/5121)
|
|
40
|
+
* **ui5-link, ui5-breadcrumbs:** add modifiers keys to click event ([#5228](https://github.com/SAP/ui5-webcomponents/issues/5228)) ([379cc7b](https://github.com/SAP/ui5-webcomponents/commit/379cc7b))
|
|
41
|
+
* **ui5-multi-combobox:** implement type ahead (autocomplete) ([#5358](https://github.com/SAP/ui5-webcomponents/issues/5358)) ([b8e46f4](https://github.com/SAP/ui5-webcomponents/commit/b8e46f4))
|
|
42
|
+
* **ui5-multi-combobox:** introduce grouping functionality ([#5250](https://github.com/SAP/ui5-webcomponents/issues/5250)) ([597a6f2](https://github.com/SAP/ui5-webcomponents/commit/597a6f2))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [1.4.0](https://github.com/SAP/ui5-webcomponents/compare/v1.3.1...v1.4.0) (2022-05-25)
|
|
7
49
|
|
|
8
50
|
|
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
# UI5 Web Components - Main
|
|
4
4
|
|
|
5
|
-
[](https://travis-ci.org/SAP/ui5-webcomponents)
|
|
6
5
|
[](https://www.npmjs.com/package/@ui5/webcomponents)
|
|
7
6
|
|
|
8
7
|
Provides general purpose UI building blocks such as buttons, labels, inputs and popups.
|
|
@@ -45,9 +44,11 @@ Provides general purpose UI building blocks such as buttons, labels, inputs and
|
|
|
45
44
|
| List - Standard Item | `ui5-li` | `import "@ui5/webcomponents/dist/StandardListItem.js";` |
|
|
46
45
|
| List - Custom Item | `ui5-li-custom` | `import "@ui5/webcomponents/dist/CustomListItem.js";` |
|
|
47
46
|
| List - Group Header Item | `ui5-li-groupheader` | `import "@ui5/webcomponents/dist/GroupHeaderListItem.js";` |
|
|
48
|
-
|
|
|
47
|
+
| Menu | `ui5-menu ` | `import "@ui5/webcomponents/dist/Menu.js";` |
|
|
48
|
+
| Message Strip | `ui5-message-strip` | `import "@ui5/webcomponents/dist/MessageStrip.js";` |
|
|
49
49
|
| Multi ComboBox | `ui5-multi-combobox` | `import "@ui5/webcomponents/dist/MultiComboBox.js";` |
|
|
50
50
|
| Multi ComboBox Item | `ui5-mcb-item` | comes with `ui5-multi-combobox` |
|
|
51
|
+
| Multi ComboBox Group Item| `ui5-mcb-group-item` | comes with `ui5-multi-combobox` |
|
|
51
52
|
| Multi Input | `ui5-multi-input` | `import "@ui5/webcomponents/dist/MultiInput.js";` |
|
|
52
53
|
| Panel | `ui5-panel` | `import "@ui5/webcomponents/dist/Panel.js";` |
|
|
53
54
|
| Popover | `ui5-popover` | `import "@ui5/webcomponents/dist/Popover.js";` |
|
|
@@ -78,6 +79,7 @@ Provides general purpose UI building blocks such as buttons, labels, inputs and
|
|
|
78
79
|
| Title | `ui5-title` | `import "@ui5/webcomponents/dist/Title.js";` |
|
|
79
80
|
| Toast | `ui5-toast` | `import "@ui5/webcomponents/dist/Toast.js";` |
|
|
80
81
|
| Toggle Button | `ui5-toggle-button` | `import "@ui5/webcomponents/dist/ToggleButton.js";` |
|
|
82
|
+
| Token | `ui5-token` | comes with `ui5-multi-input` |
|
|
81
83
|
| Tree | `ui5-tree` | `import "@ui5/webcomponents/dist/Tree.js";` |
|
|
82
84
|
| Tree Item | `ui5-tree-item` | comes with `ui5-tree` |
|
|
83
85
|
|
|
@@ -157,16 +159,16 @@ There are two ways of submitting a form:
|
|
|
157
159
|
|
|
158
160
|
|
|
159
161
|
## Resources
|
|
160
|
-
- [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/
|
|
162
|
+
- [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/main/README.md)
|
|
161
163
|
- [UI5 Web Components - Home Page](https://sap.github.io/ui5-webcomponents)
|
|
162
164
|
- [UI5 Web Components - Playground and API Reference](https://sap.github.io/ui5-webcomponents/playground/)
|
|
163
165
|
|
|
164
166
|
## Support
|
|
165
|
-
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/
|
|
167
|
+
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
|
|
166
168
|
|
|
167
169
|
## Contribute
|
|
168
|
-
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/
|
|
170
|
+
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/docs/6-contributing/02-conventions-and-guidelines.md).
|
|
169
171
|
|
|
170
172
|
## License
|
|
171
173
|
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
|
|
172
|
-
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/
|
|
174
|
+
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/main/LICENSE.txt) file.
|
package/dist/Avatar.js
CHANGED
|
@@ -26,7 +26,7 @@ const metadata = {
|
|
|
26
26
|
properties: /** @lends sap.ui.webcomponents.main.Avatar.prototype */ {
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Defines if the avatar is interactive (focusable and pressable)
|
|
29
|
+
* Defines if the avatar is interactive (focusable and pressable).
|
|
30
30
|
* @type {boolean}
|
|
31
31
|
* @defaultValue false
|
|
32
32
|
* @public
|
|
@@ -44,9 +44,9 @@ const metadata = {
|
|
|
44
44
|
},
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* Defines the name of the UI5 Icon, that
|
|
47
|
+
* Defines the name of the UI5 Icon, that will be displayed.
|
|
48
48
|
* <br>
|
|
49
|
-
* <b>Note:</b> If <code>image</code> slot is provided, the property
|
|
49
|
+
* <b>Note:</b> If <code>image</code> slot is provided, the property will be ignored.
|
|
50
50
|
* <br>
|
|
51
51
|
* <b>Note:</b> You should import the desired icon first, then use its name as "icon".
|
|
52
52
|
* <br><br>
|
|
@@ -226,7 +226,7 @@ const metadata = {
|
|
|
226
226
|
*
|
|
227
227
|
* <h3 class="comment-api-title">Overview</h3>
|
|
228
228
|
*
|
|
229
|
-
* An image-like
|
|
229
|
+
* An image-like component that has different display options for representing images and icons
|
|
230
230
|
* in different shapes and sizes, depending on the use case.
|
|
231
231
|
*
|
|
232
232
|
* The shape can be circular or square. There are several predefined sizes, as well as an option to
|
package/dist/AvatarGroup.js
CHANGED
|
@@ -382,7 +382,7 @@ class AvatarGroup extends UI5Element {
|
|
|
382
382
|
item = button;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
return this.effectiveDir === "rtl" ? this._getWidthToItem(item) : item.offsetLeft;
|
|
385
|
+
return this.effectiveDir === "rtl" ? this._getWidthToItem(item) : item.offsetLeft - this.offsetLeft;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
return button.offsetWidth;
|
|
@@ -526,7 +526,7 @@ class AvatarGroup extends UI5Element {
|
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
// in LTR the width is equal to item.offsetLeft
|
|
529
|
-
return item.offsetLeft;
|
|
529
|
+
return item.offsetLeft - this.offsetLeft;
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
/**
|
package/dist/Badge.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
2
|
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
3
|
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
4
|
+
import isDefaultSlotProvided from "@ui5/webcomponents-base/dist/util/isDefaultSlotProvided.js";
|
|
4
5
|
|
|
5
6
|
// Template
|
|
6
7
|
import BadgeTemplate from "./generated/templates/BadgeTemplate.lit.js";
|
|
@@ -129,7 +130,7 @@ class Badge extends UI5Element {
|
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
get hasText() {
|
|
132
|
-
return
|
|
133
|
+
return isDefaultSlotProvided(this);
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
get hasIcon() {
|
package/dist/Breadcrumbs.js
CHANGED
|
@@ -60,7 +60,7 @@ const metadata = {
|
|
|
60
60
|
},
|
|
61
61
|
|
|
62
62
|
},
|
|
63
|
-
properties: /** @lends
|
|
63
|
+
properties: /** @lends sap.ui.webcomponents.main.Breadcrumbs.prototype */ {
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Defines the visual indication and behavior of the breadcrumbs.
|
|
@@ -115,7 +115,7 @@ const metadata = {
|
|
|
115
115
|
},
|
|
116
116
|
|
|
117
117
|
},
|
|
118
|
-
events: /** @lends
|
|
118
|
+
events: /** @lends sap.ui.webcomponents.main.Breadcrumbs.prototype */ {
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Fires when a <code>BreadcrumbsItem</code> is clicked.
|
|
@@ -124,11 +124,19 @@ const metadata = {
|
|
|
124
124
|
* @event sap.ui.webcomponents.main.Breadcrumbs#item-click
|
|
125
125
|
* @allowPreventDefault
|
|
126
126
|
* @param {HTMLElement} item The clicked item.
|
|
127
|
+
* @param {Boolean} altKey Returns whether the "ALT" key was pressed when the event was triggered.
|
|
128
|
+
* @param {Boolean} ctrlKey Returns whether the "CTRL" key was pressed when the event was triggered.
|
|
129
|
+
* @param {Boolean} metaKey Returns whether the "META" key was pressed when the event was triggered.
|
|
130
|
+
* @param {Boolean} shiftKey Returns whether the "SHIFT" key was pressed when the event was triggered.
|
|
127
131
|
* @public
|
|
128
132
|
*/
|
|
129
133
|
"item-click": {
|
|
130
134
|
detail: {
|
|
131
135
|
item: { type: HTMLElement },
|
|
136
|
+
altKey: { type: Boolean },
|
|
137
|
+
ctrlKey: { type: Boolean },
|
|
138
|
+
metaKey: { type: Boolean },
|
|
139
|
+
shiftKey: { type: Boolean },
|
|
132
140
|
},
|
|
133
141
|
},
|
|
134
142
|
},
|
|
@@ -391,15 +399,17 @@ class Breadcrumbs extends UI5Element {
|
|
|
391
399
|
const link = event.target,
|
|
392
400
|
items = this.getSlottedNodes("items"),
|
|
393
401
|
item = items.find(x => `${x._id}-link` === link.id);
|
|
394
|
-
|
|
402
|
+
|
|
403
|
+
if (!this.fireEvent("item-click", { item, ...event.detail }, true)) {
|
|
395
404
|
event.preventDefault();
|
|
396
405
|
}
|
|
397
406
|
}
|
|
398
407
|
|
|
399
|
-
_onLabelPress() {
|
|
408
|
+
_onLabelPress(event) {
|
|
400
409
|
const items = this.getSlottedNodes("items"),
|
|
401
410
|
item = items[items.length - 1];
|
|
402
|
-
|
|
411
|
+
|
|
412
|
+
this.fireEvent("item-click", { item, ...event.detail });
|
|
403
413
|
}
|
|
404
414
|
|
|
405
415
|
_onOverflowListItemSelect(event) {
|
package/dist/BreadcrumbsItem.js
CHANGED
|
@@ -6,7 +6,7 @@ import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
6
6
|
const metadata = {
|
|
7
7
|
tag: "ui5-breadcrumbs-item",
|
|
8
8
|
managedSlots: true,
|
|
9
|
-
properties: /** @lends
|
|
9
|
+
properties: /** @lends sap.ui.webcomponents.main.BreadcrumbsItem.prototype */ {
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Defines the link href.
|
package/dist/BusyIndicator.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
2
|
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
import { isIE } from "@ui5/webcomponents-base/dist/Device.js";
|
|
4
3
|
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
5
4
|
import { isTabNext } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
6
5
|
import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
|
|
@@ -123,7 +122,7 @@ const metadata = {
|
|
|
123
122
|
* <h4>When to use:</h4>
|
|
124
123
|
* <ul>
|
|
125
124
|
* <li>The user needs to be able to cancel the operation.</li>
|
|
126
|
-
* <li>Only part of the application or a particular
|
|
125
|
+
* <li>Only part of the application or a particular component is affected.</li>
|
|
127
126
|
* </ul>
|
|
128
127
|
*
|
|
129
128
|
* <h4>When not to use:</h4>
|
|
@@ -207,7 +206,6 @@ class BusyIndicator extends UI5Element {
|
|
|
207
206
|
return {
|
|
208
207
|
root: {
|
|
209
208
|
"ui5-busy-indicator-root": true,
|
|
210
|
-
"ui5-busy-indicator-root--ie": isIE(),
|
|
211
209
|
},
|
|
212
210
|
};
|
|
213
211
|
}
|
package/dist/Button.js
CHANGED
|
@@ -4,7 +4,6 @@ import { isSpace, isEnter } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
|
4
4
|
import { getEffectiveAriaLabelText } from "@ui5/webcomponents-base/dist/util/AriaLabelHelper.js";
|
|
5
5
|
import { getFeature } from "@ui5/webcomponents-base/dist/FeaturesRegistry.js";
|
|
6
6
|
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
7
|
-
import isLegacyBrowser from "@ui5/webcomponents-base/dist/isLegacyBrowser.js";
|
|
8
7
|
import {
|
|
9
8
|
isPhone,
|
|
10
9
|
isTablet,
|
|
@@ -12,6 +11,7 @@ import {
|
|
|
12
11
|
isDesktop,
|
|
13
12
|
isSafari,
|
|
14
13
|
} from "@ui5/webcomponents-base/dist/Device.js";
|
|
14
|
+
import isDefaultSlotProvided from "@ui5/webcomponents-base/dist/util/isDefaultSlotProvided.js";
|
|
15
15
|
import ButtonDesign from "./types/ButtonDesign.js";
|
|
16
16
|
import ButtonTemplate from "./generated/templates/ButtonTemplate.lit.js";
|
|
17
17
|
import Icon from "./Icon.js";
|
|
@@ -20,7 +20,6 @@ import { BUTTON_ARIA_TYPE_ACCEPT, BUTTON_ARIA_TYPE_REJECT, BUTTON_ARIA_TYPE_EMPH
|
|
|
20
20
|
|
|
21
21
|
// Styles
|
|
22
22
|
import buttonCss from "./generated/themes/Button.css.js";
|
|
23
|
-
import buttonIECss from "./generated/themes/Button.ie11.css.js";
|
|
24
23
|
|
|
25
24
|
let isGlobalHandlerAttached = false;
|
|
26
25
|
let activeButton = null;
|
|
@@ -71,12 +70,12 @@ const metadata = {
|
|
|
71
70
|
},
|
|
72
71
|
|
|
73
72
|
/**
|
|
74
|
-
* Defines the icon
|
|
73
|
+
* Defines the icon, displayed as graphical element within the component.
|
|
75
74
|
* The SAP-icons font provides numerous options.
|
|
76
75
|
* <br><br>
|
|
77
76
|
* Example:
|
|
78
77
|
*
|
|
79
|
-
* See all the available icons
|
|
78
|
+
* See all the available icons within the <ui5-link target="_blank" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
|
|
80
79
|
*
|
|
81
80
|
* @type {string}
|
|
82
81
|
* @defaultvalue ""
|
|
@@ -99,7 +98,7 @@ const metadata = {
|
|
|
99
98
|
|
|
100
99
|
/**
|
|
101
100
|
* When set to <code>true</code>, the component will
|
|
102
|
-
* automatically submit the nearest form element
|
|
101
|
+
* automatically submit the nearest HTML form element on <code>press</code>.
|
|
103
102
|
* <br><br>
|
|
104
103
|
* <b>Note:</b> For the <code>submits</code> property to have effect, you must add the following import to your project:
|
|
105
104
|
* <code>import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";</code>
|
|
@@ -327,7 +326,7 @@ class Button extends UI5Element {
|
|
|
327
326
|
}
|
|
328
327
|
|
|
329
328
|
static get styles() {
|
|
330
|
-
return
|
|
329
|
+
return buttonCss;
|
|
331
330
|
}
|
|
332
331
|
|
|
333
332
|
static get render() {
|
|
@@ -462,11 +461,16 @@ class Button extends UI5Element {
|
|
|
462
461
|
return this.design !== ButtonDesign.Default && this.design !== ButtonDesign.Transparent;
|
|
463
462
|
}
|
|
464
463
|
|
|
464
|
+
get iconRole() {
|
|
465
|
+
if (!this.icon) {
|
|
466
|
+
return "";
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
return this.isIconOnly ? "img" : "presentation";
|
|
470
|
+
}
|
|
471
|
+
|
|
465
472
|
get isIconOnly() {
|
|
466
|
-
return !
|
|
467
|
-
return node.nodeType !== Node.COMMENT_NODE
|
|
468
|
-
&& (node.nodeType !== Node.TEXT_NODE || node.nodeValue.trim().length !== 0);
|
|
469
|
-
}).length;
|
|
473
|
+
return !isDefaultSlotProvided(this);
|
|
470
474
|
}
|
|
471
475
|
|
|
472
476
|
static typeTextMappings() {
|
package/dist/Calendar.js
CHANGED
|
@@ -30,7 +30,7 @@ import calendarCSS from "./generated/themes/Calendar.css.js";
|
|
|
30
30
|
const metadata = {
|
|
31
31
|
tag: "ui5-calendar",
|
|
32
32
|
fastNavigation: true,
|
|
33
|
-
properties: /** @lends
|
|
33
|
+
properties: /** @lends sap.ui.webcomponents.main.Calendar.prototype */ {
|
|
34
34
|
/**
|
|
35
35
|
* Defines the type of selection used in the calendar component.
|
|
36
36
|
* Accepted property values are:<br>
|
|
@@ -88,7 +88,7 @@ const metadata = {
|
|
|
88
88
|
},
|
|
89
89
|
},
|
|
90
90
|
managedSlots: true,
|
|
91
|
-
slots: /** @lends
|
|
91
|
+
slots: /** @lends sap.ui.webcomponents.main.Calendar.prototype */ {
|
|
92
92
|
/**
|
|
93
93
|
* Defines the selected date or dates (depending on the <code>selectionMode</code> property) for this calendar as instances of <code>ui5-date</code>
|
|
94
94
|
*
|
|
@@ -102,7 +102,7 @@ const metadata = {
|
|
|
102
102
|
invalidateOnChildChange: true,
|
|
103
103
|
},
|
|
104
104
|
},
|
|
105
|
-
events: /** @lends
|
|
105
|
+
events: /** @lends sap.ui.webcomponents.main.Calendar.prototype */ {
|
|
106
106
|
/**
|
|
107
107
|
* Fired when the selected dates change.
|
|
108
108
|
* <b>Note:</b> If you call <code>preventDefault()</code> for this event, the component will not
|
package/dist/CalendarDate.js
CHANGED
|
@@ -5,7 +5,7 @@ import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
5
5
|
*/
|
|
6
6
|
const metadata = {
|
|
7
7
|
tag: "ui5-date",
|
|
8
|
-
properties: /** @lends
|
|
8
|
+
properties: /** @lends sap.ui.webcomponents.main.CalendarDate.prototype */ {
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* The date formatted according to the <code>formatPattern</code> property of the <code>ui5-calendar</code> that hosts the component
|
package/dist/CalendarPart.js
CHANGED
|
@@ -8,7 +8,7 @@ import DateComponentBase from "./DateComponentBase.js";
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
const metadata = {
|
|
11
|
-
properties: /** @lends
|
|
11
|
+
properties: /** @lends sap.ui.webcomponents.main.CalendarPart.prototype */ {
|
|
12
12
|
/**
|
|
13
13
|
* The timestamp of the currently focused date. Set this property to move the component's focus to a certain date.
|
|
14
14
|
* <b>Node:</b> Timestamp is 10-digit Integer representing the seconds (not milliseconds) since the Unix Epoch.
|
package/dist/CardHeader.js
CHANGED
|
@@ -4,7 +4,6 @@ import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
|
4
4
|
import { isSpace, isEnter } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
5
5
|
import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
|
|
6
6
|
import CardHeaderTemplate from "./generated/templates/CardHeaderTemplate.lit.js";
|
|
7
|
-
import Icon from "./Icon.js";
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
AVATAR_TOOLTIP,
|
|
@@ -176,27 +175,23 @@ class CardHeader extends UI5Element {
|
|
|
176
175
|
};
|
|
177
176
|
}
|
|
178
177
|
|
|
179
|
-
get
|
|
180
|
-
return this.
|
|
178
|
+
get _root() {
|
|
179
|
+
return this.shadowRoot.querySelector(".ui5-card-header");
|
|
181
180
|
}
|
|
182
181
|
|
|
183
|
-
get
|
|
184
|
-
|
|
185
|
-
return undefined;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
return this.ariaLevel;
|
|
182
|
+
get ariaRoleDescription() {
|
|
183
|
+
return this.interactive ? CardHeader.i18nBundle.getText(ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER) : CardHeader.i18nBundle.getText(ARIA_ROLEDESCRIPTION_CARD_HEADER);
|
|
189
184
|
}
|
|
190
185
|
|
|
191
|
-
get
|
|
192
|
-
return this.interactive ?
|
|
186
|
+
get ariaRoleFocusableElement() {
|
|
187
|
+
return this.interactive ? "button" : null;
|
|
193
188
|
}
|
|
194
189
|
|
|
195
190
|
get ariaCardAvatarLabel() {
|
|
196
191
|
return CardHeader.i18nBundle.getText(AVATAR_TOOLTIP);
|
|
197
192
|
}
|
|
198
193
|
|
|
199
|
-
get
|
|
194
|
+
get ariaLabelledBy() {
|
|
200
195
|
const labels = [];
|
|
201
196
|
|
|
202
197
|
if (this.titleText) {
|
|
@@ -226,25 +221,29 @@ class CardHeader extends UI5Element {
|
|
|
226
221
|
return !!this.action.length;
|
|
227
222
|
}
|
|
228
223
|
|
|
229
|
-
static get dependencies() {
|
|
230
|
-
return [Icon];
|
|
231
|
-
}
|
|
232
|
-
|
|
233
224
|
static async onDefine() {
|
|
234
225
|
CardHeader.i18nBundle = await getI18nBundle("@ui5/webcomponents");
|
|
235
226
|
}
|
|
236
227
|
|
|
237
|
-
|
|
228
|
+
_actionsFocusin() {
|
|
229
|
+
this._root.classList.add("ui5-card-header-hide-focus");
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
_actionsFocusout() {
|
|
233
|
+
this._root.classList.remove("ui5-card-header-hide-focus");
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
_click(event) {
|
|
238
237
|
// prevents the native browser "click" event from firing
|
|
239
238
|
event.stopImmediatePropagation();
|
|
240
239
|
|
|
241
|
-
if (this.interactive && event.target
|
|
240
|
+
if (this.interactive && this._root.contains(event.target)) {
|
|
242
241
|
this.fireEvent("click");
|
|
243
242
|
}
|
|
244
243
|
}
|
|
245
244
|
|
|
246
|
-
|
|
247
|
-
if (!this.interactive || event.target
|
|
245
|
+
_keydown(event) {
|
|
246
|
+
if (!this.interactive || !this._root.contains(event.target)) {
|
|
248
247
|
return;
|
|
249
248
|
}
|
|
250
249
|
|
|
@@ -263,8 +262,8 @@ class CardHeader extends UI5Element {
|
|
|
263
262
|
}
|
|
264
263
|
}
|
|
265
264
|
|
|
266
|
-
|
|
267
|
-
if (!this.interactive || event.target
|
|
265
|
+
_keyup(event) {
|
|
266
|
+
if (!this.interactive || !this._root.contains(event.target)) {
|
|
268
267
|
return;
|
|
269
268
|
}
|
|
270
269
|
|
package/dist/Carousel.js
CHANGED
|
@@ -479,6 +479,16 @@ class Carousel extends UI5Element {
|
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
+
_navButtonClick(event) {
|
|
483
|
+
if (event.target.hasAttribute("arrow-forward")) {
|
|
484
|
+
this.navigateRight();
|
|
485
|
+
} else {
|
|
486
|
+
this.navigateLeft();
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
this.focus();
|
|
490
|
+
}
|
|
491
|
+
|
|
482
492
|
/**
|
|
483
493
|
* Changes the currently displayed page.
|
|
484
494
|
* @param {Integer} itemIndex The index of the target page
|
package/dist/ColorPalette.js
CHANGED
package/dist/ColorPaletteItem.js
CHANGED
|
@@ -17,7 +17,7 @@ import ColorPaletteItemCss from "./generated/themes/ColorPaletteItem.css.js";
|
|
|
17
17
|
const metadata = {
|
|
18
18
|
tag: "ui5-color-palette-item",
|
|
19
19
|
managedSlots: true,
|
|
20
|
-
properties: /** @lends
|
|
20
|
+
properties: /** @lends sap.ui.webcomponents.main.ColorPaletteItem.prototype */ {
|
|
21
21
|
/**
|
|
22
22
|
* Defines the colour of the component.
|
|
23
23
|
* <br><br>
|
package/dist/ColorPicker.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
2
|
import { isEnter } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
3
3
|
import CSSColor from "@ui5/webcomponents-base/dist/types/CSSColor.js";
|
|
4
|
-
import { isIE } from "@ui5/webcomponents-base/dist/Device.js";
|
|
5
|
-
import { renderFinished } from "@ui5/webcomponents-base/dist/Render.js";
|
|
6
4
|
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
7
5
|
import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
|
|
8
6
|
import Float from "@ui5/webcomponents-base/dist/types/Float.js";
|
|
@@ -224,13 +222,6 @@ class ColorPicker extends UI5Element {
|
|
|
224
222
|
this.style.setProperty("--ui5_Color_Picker_Progress_Container_Color", tempColor);
|
|
225
223
|
}
|
|
226
224
|
|
|
227
|
-
async onAfterRendering() {
|
|
228
|
-
if (isIE()) {
|
|
229
|
-
await renderFinished();
|
|
230
|
-
this._applySliderStyles();
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
225
|
_applySliderStyles() {
|
|
235
226
|
const hueSlider = this.getDomRef().querySelector(".ui5-color-picker-hue-slider").shadowRoot,
|
|
236
227
|
alphaSlider = this.getDomRef().querySelector(".ui5-color-picker-alpha-slider").shadowRoot;
|
package/dist/ComboBox.js
CHANGED
|
@@ -779,8 +779,9 @@ class ComboBox extends UI5Element {
|
|
|
779
779
|
}
|
|
780
780
|
|
|
781
781
|
if (isEnter(event)) {
|
|
782
|
+
this._fireChangeEvent();
|
|
783
|
+
|
|
782
784
|
if (this.responsivePopover.opened) {
|
|
783
|
-
this._fireChangeEvent();
|
|
784
785
|
this._closeRespPopover();
|
|
785
786
|
this.focused = true;
|
|
786
787
|
} else if (this.FormSupport) {
|
|
@@ -933,6 +934,7 @@ class ComboBox extends UI5Element {
|
|
|
933
934
|
const sameSelectionPerformed = this.value.toLowerCase() === this.filterValue.toLowerCase();
|
|
934
935
|
|
|
935
936
|
if (sameItemSelected && sameSelectionPerformed) {
|
|
937
|
+
this._fireChangeEvent(); // Click on an already typed, but not memoized value shouold also trigger the change event
|
|
936
938
|
return this._closeRespPopover();
|
|
937
939
|
}
|
|
938
940
|
|
|
@@ -1083,6 +1085,7 @@ class ComboBox extends UI5Element {
|
|
|
1083
1085
|
}
|
|
1084
1086
|
|
|
1085
1087
|
get styles() {
|
|
1088
|
+
const remSizeInPx = parseInt(getComputedStyle(document.documentElement).fontSize);
|
|
1086
1089
|
return {
|
|
1087
1090
|
popoverHeader: {
|
|
1088
1091
|
"width": `${this.offsetWidth}px`,
|
|
@@ -1091,6 +1094,10 @@ class ComboBox extends UI5Element {
|
|
|
1091
1094
|
"display": this._listWidth === 0 ? "none" : "inline-block",
|
|
1092
1095
|
"width": `${this._listWidth}px`,
|
|
1093
1096
|
},
|
|
1097
|
+
suggestionsPopover: {
|
|
1098
|
+
"min-width": `${this.offsetWidth}px`,
|
|
1099
|
+
"max-width": (this.offsetWidth / remSizeInPx) > 40 ? `${this.offsetWidth}px` : "40rem",
|
|
1100
|
+
},
|
|
1094
1101
|
};
|
|
1095
1102
|
}
|
|
1096
1103
|
|
|
@@ -6,7 +6,7 @@ import GroupHeaderListItem from "./GroupHeaderListItem.js";
|
|
|
6
6
|
*/
|
|
7
7
|
const metadata = {
|
|
8
8
|
tag: "ui5-cb-group-item",
|
|
9
|
-
properties: /** @lends
|
|
9
|
+
properties: /** @lends sap.ui.webcomponents.main.ComboBoxGroupItem.prototype */ {
|
|
10
10
|
/**
|
|
11
11
|
* Defines the text of the component.
|
|
12
12
|
*
|
|
@@ -25,15 +25,15 @@ const metadata = {
|
|
|
25
25
|
type: Boolean,
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
|
-
slots: /** @lends
|
|
28
|
+
slots: /** @lends sap.ui.webcomponents.main.ComboBoxGroupItem.prototype */ {
|
|
29
29
|
},
|
|
30
|
-
events: /** @lends
|
|
30
|
+
events: /** @lends sap.ui.webcomponents.main.ComboBoxGroupItem.prototype */ {
|
|
31
31
|
},
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* @class
|
|
36
|
-
* The <code>ui5-
|
|
36
|
+
* The <code>ui5-cb-group-item</code> is type of suggestion item,
|
|
37
37
|
* that can be used to split the <code>ui5-combobox</code> suggestions into groups.
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
package/dist/ComboBoxItem.js
CHANGED
|
@@ -5,7 +5,7 @@ import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
|
5
5
|
*/
|
|
6
6
|
const metadata = {
|
|
7
7
|
tag: "ui5-cb-item",
|
|
8
|
-
properties: /** @lends
|
|
8
|
+
properties: /** @lends sap.ui.webcomponents.main.ComboBoxItem.prototype */ {
|
|
9
9
|
/**
|
|
10
10
|
* Defines the text of the component.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ import { getMaxCalendarDate, getMinCalendarDate } from "@ui5/webcomponents-local
|
|
|
15
15
|
*/
|
|
16
16
|
const metadata = {
|
|
17
17
|
languageAware: true,
|
|
18
|
-
properties: /** @lends
|
|
18
|
+
properties: /** @lends sap.ui.webcomponents.main.DateComponentBase.prototype */ {
|
|
19
19
|
/**
|
|
20
20
|
* Sets a calendar type used for display.
|
|
21
21
|
* If not set, the calendar type of the global configuration is used.
|