@ui5/webcomponents-fiori 1.0.1 → 1.1.2
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 +68 -0
- package/dist/Bar.js +14 -0
- package/dist/DynamicSideContent.js +567 -0
- package/dist/FlexibleColumnLayout.js +58 -0
- package/dist/IllustratedMessage.js +43 -1
- package/dist/Interfaces.js +10 -0
- package/dist/MediaGallery.js +596 -0
- package/dist/MediaGalleryItem.js +337 -0
- package/dist/ShellBar.js +40 -18
- package/dist/ShellBarItem.js +1 -1
- package/dist/SideNavigation.js +11 -1
- package/dist/UploadCollectionItem.js +5 -0
- package/dist/ViewSettingsDialog.js +18 -2
- package/dist/Wizard.js +29 -9
- package/dist/WizardTab.js +4 -18
- package/dist/api.json +753 -19
- package/dist/css/themes/Bar.css +1 -1
- package/dist/css/themes/DynamicSideContent.css +1 -0
- package/dist/css/themes/IllustratedMessage.css +1 -1
- package/dist/css/themes/MediaGallery.css +1 -0
- package/dist/css/themes/MediaGalleryItem.css +1 -0
- package/dist/css/themes/NotificationListGroupItem.css +1 -1
- package/dist/css/themes/NotificationListItem.css +1 -1
- package/dist/css/themes/SideNavigation.css +1 -1
- package/dist/css/themes/SideNavigationPopover.css +1 -0
- package/dist/css/themes/UploadCollectionItem.css +1 -1
- package/dist/css/themes/ViewSettingsDialog.css +1 -1
- package/dist/css/themes/Wizard.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/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/i18n/i18n-defaults.js +2 -2
- package/dist/generated/templates/BarTemplate.lit.js +1 -1
- package/dist/generated/templates/DynamicSideContentTemplate.lit.js +7 -0
- package/dist/generated/templates/FilterItemTemplate.lit.js +2 -2
- package/dist/generated/templates/FlexibleColumnLayoutTemplate.lit.js +1 -1
- package/dist/generated/templates/MediaGalleryItemTemplate.lit.js +10 -0
- package/dist/generated/templates/MediaGalleryTemplate.lit.js +13 -0
- package/dist/generated/templates/ShellBarPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/ShellBarTemplate.lit.js +5 -5
- package/dist/generated/templates/UploadCollectionItemTemplate.lit.js +2 -2
- package/dist/generated/templates/ViewSettingsDialogTemplate.lit.js +14 -11
- package/dist/generated/templates/WizardTemplate.lit.js +1 -1
- package/dist/generated/themes/Bar.css.js +1 -1
- package/dist/generated/themes/DynamicSideContent.css.js +8 -0
- package/dist/generated/themes/IllustratedMessage.css.js +1 -1
- package/dist/generated/themes/MediaGallery.css.js +8 -0
- package/dist/generated/themes/MediaGalleryItem.css.js +8 -0
- package/dist/generated/themes/NotificationListGroupItem.css.js +1 -1
- package/dist/generated/themes/NotificationListItem.css.js +1 -1
- package/dist/generated/themes/SideNavigation.css.js +1 -1
- package/dist/generated/themes/SideNavigationPopover.css.js +8 -0
- package/dist/generated/themes/UploadCollectionItem.css.js +1 -1
- package/dist/generated/themes/ViewSettingsDialog.css.js +1 -1
- package/dist/generated/themes/Wizard.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/i18n/messagebundle.properties +82 -1
- package/dist/i18n/messagebundle_ar.properties +2 -0
- package/dist/i18n/messagebundle_bg.properties +8 -6
- package/dist/i18n/messagebundle_ca.properties +2 -0
- package/dist/i18n/messagebundle_cs.properties +2 -0
- package/dist/i18n/messagebundle_cy.properties +2 -0
- package/dist/i18n/messagebundle_da.properties +2 -0
- package/dist/i18n/messagebundle_de.properties +2 -0
- package/dist/i18n/messagebundle_el.properties +2 -0
- package/dist/i18n/messagebundle_en.properties +2 -0
- package/dist/i18n/messagebundle_en_GB.properties +2 -0
- package/dist/i18n/messagebundle_en_US_sappsd.properties +54 -0
- package/dist/i18n/messagebundle_en_US_saprigi.properties +54 -0
- package/dist/i18n/messagebundle_en_US_saptrc.properties +54 -0
- package/dist/i18n/messagebundle_es.properties +2 -0
- package/dist/i18n/messagebundle_es_MX.properties +2 -0
- package/dist/i18n/messagebundle_et.properties +2 -0
- package/dist/i18n/messagebundle_fi.properties +2 -0
- package/dist/i18n/messagebundle_fr.properties +2 -0
- package/dist/i18n/messagebundle_fr_CA.properties +2 -0
- package/dist/i18n/messagebundle_hi.properties +2 -0
- package/dist/i18n/messagebundle_hr.properties +2 -0
- package/dist/i18n/messagebundle_hu.properties +2 -0
- package/dist/i18n/messagebundle_id.properties +2 -0
- package/dist/i18n/messagebundle_it.properties +2 -0
- package/dist/i18n/messagebundle_iw.properties +2 -0
- package/dist/i18n/messagebundle_ja.properties +2 -0
- package/dist/i18n/messagebundle_kk.properties +2 -0
- package/dist/i18n/messagebundle_ko.properties +2 -0
- package/dist/i18n/messagebundle_lt.properties +2 -0
- package/dist/i18n/messagebundle_lv.properties +2 -0
- package/dist/i18n/messagebundle_ms.properties +2 -0
- package/dist/i18n/messagebundle_nl.properties +2 -0
- package/dist/i18n/messagebundle_no.properties +2 -0
- package/dist/i18n/messagebundle_pl.properties +2 -0
- package/dist/i18n/messagebundle_pt.properties +2 -0
- package/dist/i18n/messagebundle_pt_PT.properties +2 -0
- package/dist/i18n/messagebundle_ro.properties +2 -0
- package/dist/i18n/messagebundle_ru.properties +2 -0
- package/dist/i18n/messagebundle_sh.properties +2 -0
- package/dist/i18n/messagebundle_sk.properties +2 -0
- package/dist/i18n/messagebundle_sl.properties +2 -0
- package/dist/i18n/messagebundle_sv.properties +2 -0
- package/dist/i18n/messagebundle_th.properties +2 -0
- package/dist/i18n/messagebundle_tr.properties +2 -0
- package/dist/i18n/messagebundle_uk.properties +2 -0
- package/dist/i18n/messagebundle_vi.properties +2 -0
- package/dist/i18n/messagebundle_zh_CN.properties +2 -0
- package/dist/i18n/messagebundle_zh_TW.properties +2 -0
- package/dist/illustrations/AddColumn.js +28 -0
- package/dist/illustrations/AddPeople.js +28 -0
- package/dist/illustrations/BalloonSky.js +28 -0
- package/dist/illustrations/Connection.js +28 -0
- package/dist/illustrations/EmptyCalendar.js +28 -0
- package/dist/illustrations/EmptyList.js +28 -0
- package/dist/illustrations/EmptyPlanningCalendar.js +28 -0
- package/dist/illustrations/ErrorScreen.js +28 -0
- package/dist/illustrations/FilterTable.js +28 -0
- package/dist/illustrations/GroupTable.js +28 -0
- package/dist/illustrations/NoFilterResults.js +28 -0
- package/dist/illustrations/NoMail_v1.js +28 -0
- package/dist/illustrations/NoSavedItems_v1.js +28 -0
- package/dist/illustrations/NoTasks_v1.js +28 -0
- package/dist/illustrations/PageNotFound.js +28 -0
- package/dist/illustrations/ReloadScreen.js +28 -0
- package/dist/illustrations/ResizeColumn.js +28 -0
- package/dist/illustrations/SearchEarth.js +28 -0
- package/dist/illustrations/SearchFolder.js +28 -0
- package/dist/illustrations/SimpleBalloon.js +28 -0
- package/dist/illustrations/SimpleBell.js +28 -0
- package/dist/illustrations/SimpleCalendar.js +28 -0
- package/dist/illustrations/SimpleCheckMark.js +28 -0
- package/dist/illustrations/SimpleConnection.js +28 -0
- package/dist/illustrations/SimpleEmptyDoc.js +28 -0
- package/dist/illustrations/SimpleEmptyList.js +28 -0
- package/dist/illustrations/SimpleError.js +28 -0
- package/dist/illustrations/SimpleMagnifier.js +28 -0
- package/dist/illustrations/SimpleMail.js +28 -0
- package/dist/illustrations/SimpleNoSavedItems.js +28 -0
- package/dist/illustrations/SimpleNotFoundMagnifier.js +28 -0
- package/dist/illustrations/SimpleReload.js +28 -0
- package/dist/illustrations/SimpleTask.js +28 -0
- package/dist/illustrations/SleepingBell.js +28 -0
- package/dist/illustrations/SortColumn.js +28 -0
- package/dist/illustrations/SuccessBalloon.js +28 -0
- package/dist/illustrations/SuccessCheckMark.js +28 -0
- package/dist/illustrations/SuccessHighFive.js +28 -0
- package/dist/illustrations/SuccessScreen.js +28 -0
- package/dist/illustrations/Tent.js +28 -0
- package/dist/illustrations/UnableToLoadImage.js +28 -0
- package/dist/illustrations/UploadCollection.js +28 -0
- package/dist/illustrations/sapIllus-Dialog-AddColumn.js +38 -0
- package/dist/illustrations/sapIllus-Dialog-AddPeople.js +32 -0
- package/dist/illustrations/sapIllus-Dialog-BalloonSky.js +34 -0
- package/dist/illustrations/sapIllus-Dialog-Connection.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-EmptyCalendar.js +74 -0
- package/dist/illustrations/sapIllus-Dialog-EmptyList.js +22 -0
- package/dist/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.js +79 -0
- package/dist/illustrations/sapIllus-Dialog-ErrorScreen.js +35 -0
- package/dist/illustrations/sapIllus-Dialog-FilterTable.js +42 -0
- package/dist/illustrations/sapIllus-Dialog-GroupTable.js +68 -0
- package/dist/illustrations/sapIllus-Dialog-NoFilterResults.js +25 -0
- package/dist/illustrations/sapIllus-Dialog-NoMail_v1.js +23 -0
- package/dist/illustrations/sapIllus-Dialog-NoSavedItems_v1.js +37 -0
- package/dist/illustrations/sapIllus-Dialog-NoTasks_v1.js +54 -0
- package/dist/illustrations/sapIllus-Dialog-PageNotFound.js +30 -0
- package/dist/illustrations/sapIllus-Dialog-ReloadScreen.js +35 -0
- package/dist/illustrations/sapIllus-Dialog-ResizeColumn.js +42 -0
- package/dist/illustrations/sapIllus-Dialog-SearchEarth.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-SearchFolder.js +28 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleBalloon.js +18 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleBell.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleCalendar.js +48 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleCheckMark.js +7 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleConnection.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleEmptyDoc.js +18 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleEmptyList.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleError.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleMagnifier.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleMail.js +14 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleNoSavedItems.js +18 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.js +22 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleReload.js +12 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleTask.js +24 -0
- package/dist/illustrations/sapIllus-Dialog-SleepingBell.js +24 -0
- package/dist/illustrations/sapIllus-Dialog-SortColumn.js +40 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessBalloon.js +16 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessCheckMark.js +9 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessHighFive.js +46 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessScreen.js +33 -0
- package/dist/illustrations/sapIllus-Dialog-Tent.js +27 -0
- package/dist/illustrations/sapIllus-Dialog-UnableToLoadImage.js +39 -0
- package/dist/illustrations/sapIllus-Dialog-UploadCollection.js +33 -0
- package/dist/illustrations/sapIllus-Scene-AddColumn.js +49 -0
- package/dist/illustrations/sapIllus-Scene-AddPeople.js +31 -0
- package/dist/illustrations/sapIllus-Scene-BalloonSky.js +43 -0
- package/dist/illustrations/sapIllus-Scene-Connection.js +32 -0
- package/dist/illustrations/sapIllus-Scene-EmptyCalendar.js +87 -0
- package/dist/illustrations/sapIllus-Scene-EmptyList.js +28 -0
- package/dist/illustrations/sapIllus-Scene-EmptyPlanningCalendar.js +92 -0
- package/dist/illustrations/sapIllus-Scene-ErrorScreen.js +79 -0
- package/dist/illustrations/sapIllus-Scene-FilterTable.js +57 -0
- package/dist/illustrations/sapIllus-Scene-GroupTable.js +77 -0
- package/dist/illustrations/sapIllus-Scene-NoFilterResults.js +40 -0
- package/dist/illustrations/sapIllus-Scene-NoMail_v1.js +56 -0
- package/dist/illustrations/sapIllus-Scene-NoSavedItems_v1.js +40 -0
- package/dist/illustrations/sapIllus-Scene-NoTasks_v1.js +91 -0
- package/dist/illustrations/sapIllus-Scene-PageNotFound.js +34 -0
- package/dist/illustrations/sapIllus-Scene-ReloadScreen.js +81 -0
- package/dist/illustrations/sapIllus-Scene-ResizeColumn.js +53 -0
- package/dist/illustrations/sapIllus-Scene-SearchEarth.js +31 -0
- package/dist/illustrations/sapIllus-Scene-SearchFolder.js +37 -0
- package/dist/illustrations/sapIllus-Scene-SimpleBalloon.js +21 -0
- package/dist/illustrations/sapIllus-Scene-SimpleBell.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleCalendar.js +44 -0
- package/dist/illustrations/sapIllus-Scene-SimpleCheckMark.js +10 -0
- package/dist/illustrations/sapIllus-Scene-SimpleConnection.js +23 -0
- package/dist/illustrations/sapIllus-Scene-SimpleEmptyDoc.js +21 -0
- package/dist/illustrations/sapIllus-Scene-SimpleEmptyList.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleError.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleMagnifier.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleMail.js +17 -0
- package/dist/illustrations/sapIllus-Scene-SimpleNoSavedItems.js +28 -0
- package/dist/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.js +25 -0
- package/dist/illustrations/sapIllus-Scene-SimpleReload.js +15 -0
- package/dist/illustrations/sapIllus-Scene-SimpleTask.js +20 -0
- package/dist/illustrations/sapIllus-Scene-SleepingBell.js +44 -0
- package/dist/illustrations/sapIllus-Scene-SortColumn.js +51 -0
- package/dist/illustrations/sapIllus-Scene-SuccessBalloon.js +34 -0
- package/dist/illustrations/sapIllus-Scene-SuccessCheckMark.js +44 -0
- package/dist/illustrations/sapIllus-Scene-SuccessHighFive.js +28 -0
- package/dist/illustrations/sapIllus-Scene-SuccessScreen.js +79 -0
- package/dist/illustrations/sapIllus-Scene-Tent.js +55 -0
- package/dist/illustrations/sapIllus-Scene-UnableToLoadImage.js +36 -0
- package/dist/illustrations/sapIllus-Scene-UploadCollection.js +31 -0
- package/dist/illustrations/sapIllus-Spot-AddColumn.js +38 -0
- package/dist/illustrations/sapIllus-Spot-AddPeople.js +32 -0
- package/dist/illustrations/sapIllus-Spot-BalloonSky.js +30 -0
- package/dist/illustrations/sapIllus-Spot-Connection.js +23 -0
- package/dist/illustrations/sapIllus-Spot-EmptyCalendar.js +43 -0
- package/dist/illustrations/sapIllus-Spot-EmptyList.js +22 -0
- package/dist/illustrations/sapIllus-Spot-EmptyPlanningCalendar.js +79 -0
- package/dist/illustrations/sapIllus-Spot-ErrorScreen.js +33 -0
- package/dist/illustrations/sapIllus-Spot-FilterTable.js +47 -0
- package/dist/illustrations/sapIllus-Spot-GroupTable.js +68 -0
- package/dist/illustrations/sapIllus-Spot-NoFilterResults.js +26 -0
- package/dist/illustrations/sapIllus-Spot-NoMail_v1.js +17 -0
- package/dist/illustrations/sapIllus-Spot-NoSavedItems.js +1 -1
- package/dist/illustrations/sapIllus-Spot-NoSavedItems_v1.js +34 -0
- package/dist/illustrations/sapIllus-Spot-NoTasks_v1.js +16 -0
- package/dist/illustrations/sapIllus-Spot-PageNotFound.js +32 -0
- package/dist/illustrations/sapIllus-Spot-ReloadScreen.js +33 -0
- package/dist/illustrations/sapIllus-Spot-ResizeColumn.js +42 -0
- package/dist/illustrations/sapIllus-Spot-SearchEarth.js +56 -0
- package/dist/illustrations/sapIllus-Spot-SearchFolder.js +26 -0
- package/dist/illustrations/sapIllus-Spot-SimpleBalloon.js +8 -0
- package/dist/illustrations/sapIllus-Spot-SimpleBell.js +10 -0
- package/dist/illustrations/sapIllus-Spot-SimpleCalendar.js +47 -0
- package/dist/illustrations/sapIllus-Spot-SimpleCheckMark.js +6 -0
- package/dist/illustrations/sapIllus-Spot-SimpleConnection.js +11 -0
- package/dist/illustrations/sapIllus-Spot-SimpleEmptyDoc.js +7 -0
- package/dist/illustrations/sapIllus-Spot-SimpleEmptyList.js +7 -0
- package/dist/illustrations/sapIllus-Spot-SimpleError.js +10 -0
- package/dist/illustrations/sapIllus-Spot-SimpleMagnifier.js +9 -0
- package/dist/illustrations/sapIllus-Spot-SimpleMail.js +13 -0
- package/dist/illustrations/sapIllus-Spot-SimpleNoSavedItems.js +24 -0
- package/dist/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.js +11 -0
- package/dist/illustrations/sapIllus-Spot-SimpleReload.js +8 -0
- package/dist/illustrations/sapIllus-Spot-SimpleTask.js +23 -0
- package/dist/illustrations/sapIllus-Spot-SleepingBell.js +23 -0
- package/dist/illustrations/sapIllus-Spot-SortColumn.js +40 -0
- package/dist/illustrations/sapIllus-Spot-SuccessBalloon.js +20 -0
- package/dist/illustrations/sapIllus-Spot-SuccessCheckMark.js +8 -0
- package/dist/illustrations/sapIllus-Spot-SuccessHighFive.js +32 -0
- package/dist/illustrations/sapIllus-Spot-SuccessScreen.js +33 -0
- package/dist/illustrations/sapIllus-Spot-Tent.js +25 -0
- package/dist/illustrations/sapIllus-Spot-UnableToLoadImage.js +37 -0
- package/dist/illustrations/sapIllus-Spot-UploadCollection.js +32 -0
- package/dist/types/IllustrationMessageType.js +267 -15
- package/dist/types/MediaGalleryItemLayout.js +44 -0
- package/dist/types/MediaGalleryLayout.js +48 -0
- package/dist/types/MediaGalleryMenuHorizontalAlign.js +41 -0
- package/dist/types/MediaGalleryMenuVerticalAlign.js +40 -0
- package/dist/types/SideContentFallDown.js +54 -0
- package/dist/types/SideContentPosition.js +42 -0
- package/dist/types/SideContentVisibility.js +61 -0
- package/package.json +8 -8
- package/src/Bar.hbs +1 -0
- package/src/Bar.js +14 -0
- package/src/DynamicSideContent.hbs +20 -0
- package/src/DynamicSideContent.js +567 -0
- package/src/FlexibleColumnLayout.hbs +8 -9
- package/src/FlexibleColumnLayout.js +58 -0
- package/src/IllustratedMessage.js +43 -1
- package/src/Interfaces.js +10 -0
- package/src/MediaGallery.hbs +47 -0
- package/src/MediaGallery.js +596 -0
- package/src/MediaGalleryItem.hbs +22 -0
- package/src/MediaGalleryItem.js +337 -0
- package/src/ShellBar.hbs +21 -16
- package/src/ShellBar.js +40 -18
- package/src/ShellBarItem.js +1 -1
- package/src/ShellBarPopover.hbs +2 -2
- package/src/SideNavigation.js +11 -1
- package/src/UploadCollectionItem.js +5 -0
- package/src/ViewSettingsDialog.hbs +62 -56
- package/src/ViewSettingsDialog.js +18 -2
- package/src/Wizard.hbs +2 -0
- package/src/Wizard.js +29 -9
- package/src/WizardTab.js +4 -18
- package/src/i18n/messagebundle.properties +82 -1
- package/src/i18n/messagebundle_ar.properties +2 -0
- package/src/i18n/messagebundle_bg.properties +8 -6
- package/src/i18n/messagebundle_ca.properties +2 -0
- package/src/i18n/messagebundle_cs.properties +2 -0
- package/src/i18n/messagebundle_cy.properties +2 -0
- package/src/i18n/messagebundle_da.properties +2 -0
- package/src/i18n/messagebundle_de.properties +2 -0
- package/src/i18n/messagebundle_el.properties +2 -0
- package/src/i18n/messagebundle_en.properties +2 -0
- package/src/i18n/messagebundle_en_GB.properties +2 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +54 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +54 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +54 -0
- package/src/i18n/messagebundle_es.properties +2 -0
- package/src/i18n/messagebundle_es_MX.properties +2 -0
- package/src/i18n/messagebundle_et.properties +2 -0
- package/src/i18n/messagebundle_fi.properties +2 -0
- package/src/i18n/messagebundle_fr.properties +2 -0
- package/src/i18n/messagebundle_fr_CA.properties +2 -0
- package/src/i18n/messagebundle_hi.properties +2 -0
- package/src/i18n/messagebundle_hr.properties +2 -0
- package/src/i18n/messagebundle_hu.properties +2 -0
- package/src/i18n/messagebundle_id.properties +2 -0
- package/src/i18n/messagebundle_it.properties +2 -0
- package/src/i18n/messagebundle_iw.properties +2 -0
- package/src/i18n/messagebundle_ja.properties +2 -0
- package/src/i18n/messagebundle_kk.properties +2 -0
- package/src/i18n/messagebundle_ko.properties +2 -0
- package/src/i18n/messagebundle_lt.properties +2 -0
- package/src/i18n/messagebundle_lv.properties +2 -0
- package/src/i18n/messagebundle_ms.properties +2 -0
- package/src/i18n/messagebundle_nl.properties +2 -0
- package/src/i18n/messagebundle_no.properties +2 -0
- package/src/i18n/messagebundle_pl.properties +2 -0
- package/src/i18n/messagebundle_pt.properties +2 -0
- package/src/i18n/messagebundle_pt_PT.properties +2 -0
- package/src/i18n/messagebundle_ro.properties +2 -0
- package/src/i18n/messagebundle_ru.properties +2 -0
- package/src/i18n/messagebundle_sh.properties +2 -0
- package/src/i18n/messagebundle_sk.properties +2 -0
- package/src/i18n/messagebundle_sl.properties +2 -0
- package/src/i18n/messagebundle_sv.properties +2 -0
- package/src/i18n/messagebundle_th.properties +2 -0
- package/src/i18n/messagebundle_tr.properties +2 -0
- package/src/i18n/messagebundle_uk.properties +2 -0
- package/src/i18n/messagebundle_vi.properties +2 -0
- package/src/i18n/messagebundle_zh_CN.properties +2 -0
- package/src/i18n/messagebundle_zh_TW.properties +2 -0
- package/src/illustrations/sapIllus-Dialog-AddColumn.svg +37 -0
- package/src/illustrations/sapIllus-Dialog-AddPeople.svg +31 -0
- package/src/illustrations/sapIllus-Dialog-BalloonSky.svg +33 -0
- package/src/illustrations/sapIllus-Dialog-Connection.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -0
- package/src/illustrations/sapIllus-Dialog-EmptyList.svg +21 -0
- package/src/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.svg +78 -0
- package/src/illustrations/sapIllus-Dialog-ErrorScreen.svg +34 -0
- package/src/illustrations/sapIllus-Dialog-FilterTable.svg +41 -0
- package/src/illustrations/sapIllus-Dialog-GroupTable.svg +67 -0
- package/src/illustrations/sapIllus-Dialog-NoFilterResults.svg +24 -0
- package/src/illustrations/sapIllus-Dialog-NoMail_v1.svg +22 -0
- package/src/illustrations/sapIllus-Dialog-NoSavedItems_v1.svg +36 -0
- package/src/illustrations/sapIllus-Dialog-NoTasks_v1.svg +53 -0
- package/src/illustrations/sapIllus-Dialog-PageNotFound.svg +29 -0
- package/src/illustrations/sapIllus-Dialog-ReloadScreen.svg +34 -0
- package/src/illustrations/sapIllus-Dialog-ResizeColumn.svg +41 -0
- package/src/illustrations/sapIllus-Dialog-SearchEarth.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-SearchFolder.svg +27 -0
- package/src/illustrations/sapIllus-Dialog-SimpleBalloon.svg +17 -0
- package/src/illustrations/sapIllus-Dialog-SimpleBell.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleCalendar.svg +47 -0
- package/src/illustrations/sapIllus-Dialog-SimpleCheckMark.svg +6 -0
- package/src/illustrations/sapIllus-Dialog-SimpleConnection.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-SimpleEmptyDoc.svg +17 -0
- package/src/illustrations/sapIllus-Dialog-SimpleEmptyList.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleError.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleMagnifier.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleMail.svg +13 -0
- package/src/illustrations/sapIllus-Dialog-SimpleNoSavedItems.svg +17 -0
- package/src/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.svg +21 -0
- package/src/illustrations/sapIllus-Dialog-SimpleReload.svg +11 -0
- package/src/illustrations/sapIllus-Dialog-SimpleTask.svg +23 -0
- package/src/illustrations/sapIllus-Dialog-SleepingBell.svg +23 -0
- package/src/illustrations/sapIllus-Dialog-SortColumn.svg +39 -0
- package/src/illustrations/sapIllus-Dialog-SuccessBalloon.svg +16 -0
- package/src/illustrations/sapIllus-Dialog-SuccessCheckMark.svg +8 -0
- package/src/illustrations/sapIllus-Dialog-SuccessHighFive.svg +45 -0
- package/src/illustrations/sapIllus-Dialog-SuccessScreen.svg +32 -0
- package/src/illustrations/sapIllus-Dialog-Tent.svg +26 -0
- package/src/illustrations/sapIllus-Dialog-UnableToLoadImage.svg +38 -0
- package/src/illustrations/sapIllus-Dialog-UploadCollection.svg +32 -0
- package/src/illustrations/sapIllus-Patterns.svg +20 -0
- package/src/illustrations/sapIllus-Scene-AddColumn.svg +48 -0
- package/src/illustrations/sapIllus-Scene-AddPeople.svg +30 -0
- package/src/illustrations/sapIllus-Scene-BalloonSky.svg +42 -0
- package/src/illustrations/sapIllus-Scene-Connection.svg +31 -0
- package/src/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -0
- package/src/illustrations/sapIllus-Scene-EmptyList.svg +27 -0
- package/src/illustrations/sapIllus-Scene-EmptyPlanningCalendar.svg +91 -0
- package/src/illustrations/sapIllus-Scene-ErrorScreen.svg +78 -0
- package/src/illustrations/sapIllus-Scene-FilterTable.svg +56 -0
- package/src/illustrations/sapIllus-Scene-GroupTable.svg +76 -0
- package/src/illustrations/sapIllus-Scene-NoFilterResults.svg +39 -0
- package/src/illustrations/sapIllus-Scene-NoMail_v1.svg +55 -0
- package/src/illustrations/sapIllus-Scene-NoSavedItems_v1.svg +39 -0
- package/src/illustrations/sapIllus-Scene-NoTasks_v1.svg +90 -0
- package/src/illustrations/sapIllus-Scene-PageNotFound.svg +33 -0
- package/src/illustrations/sapIllus-Scene-ReloadScreen.svg +80 -0
- package/src/illustrations/sapIllus-Scene-ResizeColumn.svg +52 -0
- package/src/illustrations/sapIllus-Scene-SearchEarth.svg +30 -0
- package/src/illustrations/sapIllus-Scene-SearchFolder.svg +36 -0
- package/src/illustrations/sapIllus-Scene-SimpleBalloon.svg +20 -0
- package/src/illustrations/sapIllus-Scene-SimpleBell.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -0
- package/src/illustrations/sapIllus-Scene-SimpleCheckMark.svg +9 -0
- package/src/illustrations/sapIllus-Scene-SimpleConnection.svg +22 -0
- package/src/illustrations/sapIllus-Scene-SimpleEmptyDoc.svg +20 -0
- package/src/illustrations/sapIllus-Scene-SimpleEmptyList.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleError.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleMagnifier.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleMail.svg +16 -0
- package/src/illustrations/sapIllus-Scene-SimpleNoSavedItems.svg +27 -0
- package/src/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.svg +24 -0
- package/src/illustrations/sapIllus-Scene-SimpleReload.svg +14 -0
- package/src/illustrations/sapIllus-Scene-SimpleTask.svg +19 -0
- package/src/illustrations/sapIllus-Scene-SleepingBell.svg +43 -0
- package/src/illustrations/sapIllus-Scene-SortColumn.svg +50 -0
- package/src/illustrations/sapIllus-Scene-SuccessBalloon.svg +33 -0
- package/src/illustrations/sapIllus-Scene-SuccessCheckMark.svg +43 -0
- package/src/illustrations/sapIllus-Scene-SuccessHighFive.svg +27 -0
- package/src/illustrations/sapIllus-Scene-SuccessScreen.svg +78 -0
- package/src/illustrations/sapIllus-Scene-Tent.svg +54 -0
- package/src/illustrations/sapIllus-Scene-UnableToLoadImage.svg +35 -0
- package/src/illustrations/sapIllus-Scene-UploadCollection.svg +30 -0
- package/src/illustrations/sapIllus-Spot-AddColumn.svg +37 -0
- package/src/illustrations/sapIllus-Spot-AddPeople.svg +31 -0
- package/src/illustrations/sapIllus-Spot-BalloonSky.svg +29 -0
- package/src/illustrations/sapIllus-Spot-Connection.svg +22 -0
- package/src/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -0
- package/src/illustrations/sapIllus-Spot-EmptyList.svg +21 -0
- package/src/illustrations/sapIllus-Spot-EmptyPlanningCalendar.svg +78 -0
- package/src/illustrations/sapIllus-Spot-ErrorScreen.svg +32 -0
- package/src/illustrations/sapIllus-Spot-FilterTable.svg +46 -0
- package/src/illustrations/sapIllus-Spot-GroupTable.svg +67 -0
- package/src/illustrations/sapIllus-Spot-NoFilterResults.svg +25 -0
- package/src/illustrations/sapIllus-Spot-NoMail_v1.svg +16 -0
- package/src/illustrations/sapIllus-Spot-NoSavedItems.svg +1 -1
- package/src/illustrations/sapIllus-Spot-NoSavedItems_v1.svg +33 -0
- package/src/illustrations/sapIllus-Spot-NoTasks_v1.svg +15 -0
- package/src/illustrations/sapIllus-Spot-PageNotFound.svg +31 -0
- package/src/illustrations/sapIllus-Spot-ReloadScreen.svg +32 -0
- package/src/illustrations/sapIllus-Spot-ResizeColumn.svg +41 -0
- package/src/illustrations/sapIllus-Spot-SearchEarth.svg +55 -0
- package/src/illustrations/sapIllus-Spot-SearchFolder.svg +25 -0
- package/src/illustrations/sapIllus-Spot-SimpleBalloon.svg +7 -0
- package/src/illustrations/sapIllus-Spot-SimpleBell.svg +9 -0
- package/src/illustrations/sapIllus-Spot-SimpleCalendar.svg +46 -0
- package/src/illustrations/sapIllus-Spot-SimpleCheckMark.svg +5 -0
- package/src/illustrations/sapIllus-Spot-SimpleConnection.svg +10 -0
- package/src/illustrations/sapIllus-Spot-SimpleEmptyDoc.svg +6 -0
- package/src/illustrations/sapIllus-Spot-SimpleEmptyList.svg +6 -0
- package/src/illustrations/sapIllus-Spot-SimpleError.svg +9 -0
- package/src/illustrations/sapIllus-Spot-SimpleMagnifier.svg +9 -0
- package/src/illustrations/sapIllus-Spot-SimpleMail.svg +12 -0
- package/src/illustrations/sapIllus-Spot-SimpleNoSavedItems.svg +23 -0
- package/src/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.svg +10 -0
- package/src/illustrations/sapIllus-Spot-SimpleReload.svg +7 -0
- package/src/illustrations/sapIllus-Spot-SimpleTask.svg +22 -0
- package/src/illustrations/sapIllus-Spot-SleepingBell.svg +22 -0
- package/src/illustrations/sapIllus-Spot-SortColumn.svg +39 -0
- package/src/illustrations/sapIllus-Spot-SuccessBalloon.svg +19 -0
- package/src/illustrations/sapIllus-Spot-SuccessCheckMark.svg +7 -0
- package/src/illustrations/sapIllus-Spot-SuccessHighFive.svg +31 -0
- package/src/illustrations/sapIllus-Spot-SuccessScreen.svg +32 -0
- package/src/illustrations/sapIllus-Spot-Tent.svg +24 -0
- package/src/illustrations/sapIllus-Spot-UnableToLoadImage.svg +36 -0
- package/src/illustrations/sapIllus-Spot-UploadCollection.svg +31 -0
- package/src/themes/Bar.css +17 -1
- package/src/themes/DynamicSideContent.css +66 -0
- package/src/themes/IllustratedMessage.css +4 -0
- package/src/themes/MediaGallery.css +158 -0
- package/src/themes/MediaGalleryItem.css +131 -0
- package/src/themes/NotificationListGroupItem.css +14 -0
- package/src/themes/NotificationListItem.css +4 -0
- package/src/themes/SideNavigation.css +1 -11
- package/src/themes/SideNavigationPopover.css +9 -0
- package/src/themes/UploadCollectionItem.css +0 -13
- package/src/themes/ViewSettingsDialog.css +1 -1
- package/src/themes/Wizard.css +2 -2
- package/src/themes/base/MediaGallery-parameters.css +5 -0
- package/src/themes/base/MediaGalleryItem-parameters.css +6 -0
- package/src/themes/sap_belize/parameters-bundle.css +2 -0
- package/src/themes/sap_belize_hcb/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_belize_hcb/parameters-bundle.css +2 -0
- package/src/themes/sap_belize_hcw/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_belize_hcw/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3_dark/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3_hcb/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3_hcw/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +2 -0
- package/src/themes/sap_horizon/parameters-bundle.css +2 -0
- package/src/types/IllustrationMessageType.js +267 -15
- package/src/types/MediaGalleryItemLayout.js +44 -0
- package/src/types/MediaGalleryLayout.js +48 -0
- package/src/types/MediaGalleryMenuHorizontalAlign.js +41 -0
- package/src/types/MediaGalleryMenuVerticalAlign.js +40 -0
- package/src/types/SideContentFallDown.js +54 -0
- package/src/types/SideContentPosition.js +42 -0
- package/src/types/SideContentVisibility.js +61 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,74 @@
|
|
|
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.1.2](https://github.com/SAP/ui5-webcomponents/compare/v1.1.1...v1.1.2) (2022-01-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui5-illustrated-message:** remove uncompleted illustration ([#4638](https://github.com/SAP/ui5-webcomponents/issues/4638)) ([adafeba](https://github.com/SAP/ui5-webcomponents/commit/adafeba))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.1.1](https://github.com/SAP/ui5-webcomponents/compare/v1.1.0...v1.1.1) (2022-01-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **ui5-media-gallery-item:** add missing icon import ([#4615](https://github.com/SAP/ui5-webcomponents/issues/4615)) ([d04cf8c](https://github.com/SAP/ui5-webcomponents/commit/d04cf8c))
|
|
23
|
+
* **ui5-media-gallery-item:** correct initialization order ([#4614](https://github.com/SAP/ui5-webcomponents/issues/4614)) ([436f8f4](https://github.com/SAP/ui5-webcomponents/commit/436f8f4)), closes [#4610](https://github.com/SAP/ui5-webcomponents/issues/4610)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# [1.1.0](https://github.com/SAP/ui5-webcomponents/compare/v1.0.2...v1.1.0) (2022-01-21)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **ui5-bar:** fix rtl support ([#4496](https://github.com/SAP/ui5-webcomponents/issues/4496)) ([e5c0f2d](https://github.com/SAP/ui5-webcomponents/commit/e5c0f2d))
|
|
35
|
+
* **ui5-bar:** remove unnecessary slot names ([#4510](https://github.com/SAP/ui5-webcomponents/issues/4510)) ([32d4507](https://github.com/SAP/ui5-webcomponents/commit/32d4507))
|
|
36
|
+
* **ui5-li-notification-group:** fixed close button functionality in shell bar sample ([#4408](https://github.com/SAP/ui5-webcomponents/issues/4408)) ([6a66797](https://github.com/SAP/ui5-webcomponents/commit/6a66797)), closes [#4202](https://github.com/SAP/ui5-webcomponents/issues/4202)
|
|
37
|
+
* **ui5-li-notification-group:** visual fixes for right-to-left mode ([#4354](https://github.com/SAP/ui5-webcomponents/issues/4354)) ([13b7d68](https://github.com/SAP/ui5-webcomponents/commit/13b7d68)), closes [#4255](https://github.com/SAP/ui5-webcomponents/issues/4255) [#4256](https://github.com/SAP/ui5-webcomponents/issues/4256) [#4257](https://github.com/SAP/ui5-webcomponents/issues/4257)
|
|
38
|
+
* **ui5-shellbar:** allow selection with Enter key in overflow menu ([#4577](https://github.com/SAP/ui5-webcomponents/issues/4577)) ([fb40514](https://github.com/SAP/ui5-webcomponents/commit/fb40514)), closes [#4556](https://github.com/SAP/ui5-webcomponents/issues/4556)
|
|
39
|
+
* **ui5-side-navigation:** correct styles for static area ([#4526](https://github.com/SAP/ui5-webcomponents/issues/4526)) ([7d35bd6](https://github.com/SAP/ui5-webcomponents/commit/7d35bd6)), closes [#4515](https://github.com/SAP/ui5-webcomponents/issues/4515)
|
|
40
|
+
* **ui5-view-settings-dialog:** implement single page functionality ([#4419](https://github.com/SAP/ui5-webcomponents/issues/4419)) ([572a323](https://github.com/SAP/ui5-webcomponents/commit/572a323))
|
|
41
|
+
* Scoping issues corrected ([#4573](https://github.com/SAP/ui5-webcomponents/issues/4573)) ([4e430d3](https://github.com/SAP/ui5-webcomponents/commit/4e430d3))
|
|
42
|
+
* **ui5-upload-collection:** make buttons visible on small screens ([#4361](https://github.com/SAP/ui5-webcomponents/issues/4361)) ([fcb7f62](https://github.com/SAP/ui5-webcomponents/commit/fcb7f62))
|
|
43
|
+
* **ui5-upload-collection:** removed active and hover states ([#4360](https://github.com/SAP/ui5-webcomponents/issues/4360)) ([cb76902](https://github.com/SAP/ui5-webcomponents/commit/cb76902)), closes [#4258](https://github.com/SAP/ui5-webcomponents/issues/4258)
|
|
44
|
+
* **ui5-wizard:** adjust content and navigator paddings based on spec ([#4479](https://github.com/SAP/ui5-webcomponents/issues/4479)) ([303ecb1](https://github.com/SAP/ui5-webcomponents/commit/303ecb1))
|
|
45
|
+
* **ui5-wizard:** make playground sample fully usable ([#4457](https://github.com/SAP/ui5-webcomponents/issues/4457)) ([1416d42](https://github.com/SAP/ui5-webcomponents/commit/1416d42))
|
|
46
|
+
* adding stable selectors for tab container and shellbar ([#4369](https://github.com/SAP/ui5-webcomponents/issues/4369)) ([9abdaba](https://github.com/SAP/ui5-webcomponents/commit/9abdaba))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
* **ui5-illustrated-message:** add more illustrations to the default set ([#4587](https://github.com/SAP/ui5-webcomponents/issues/4587)) ([417bd6a](https://github.com/SAP/ui5-webcomponents/commit/417bd6a))
|
|
52
|
+
* stable-dom-ref supported for abstract items ([#4604](https://github.com/SAP/ui5-webcomponents/issues/4604)) ([5526dea](https://github.com/SAP/ui5-webcomponents/commit/5526dea))
|
|
53
|
+
* **ui5-dynamic-side-content:** initial implementation ([#4379](https://github.com/SAP/ui5-webcomponents/issues/4379)) ([c36cb57](https://github.com/SAP/ui5-webcomponents/commit/c36cb57))
|
|
54
|
+
* **ui5-shellbar:** improved accessibilityTexts property ([#4551](https://github.com/SAP/ui5-webcomponents/issues/4551)) ([c811a41](https://github.com/SAP/ui5-webcomponents/commit/c811a41))
|
|
55
|
+
* implement F6 Navigation Helper ([#4490](https://github.com/SAP/ui5-webcomponents/issues/4490)) ([60d0dc1](https://github.com/SAP/ui5-webcomponents/commit/60d0dc1))
|
|
56
|
+
* **ui5-flexible-column-layout:** new property accessibilityRoles ([#4446](https://github.com/SAP/ui5-webcomponents/issues/4446)) ([f515f3d](https://github.com/SAP/ui5-webcomponents/commit/f515f3d)), closes [#3804](https://github.com/SAP/ui5-webcomponents/issues/3804) [#3796](https://github.com/SAP/ui5-webcomponents/issues/3796)
|
|
57
|
+
* **ui5-media-gallery:** Initial implementation ([#4427](https://github.com/SAP/ui5-webcomponents/issues/4427)) ([17cb225](https://github.com/SAP/ui5-webcomponents/commit/17cb225))
|
|
58
|
+
* **ui5-shellbar:** introduce accessibilityTexts property ([#4377](https://github.com/SAP/ui5-webcomponents/issues/4377)) ([f762e76](https://github.com/SAP/ui5-webcomponents/commit/f762e76)), closes [#4009](https://github.com/SAP/ui5-webcomponents/issues/4009)
|
|
59
|
+
* **ui5-tabcontainer:** implement overflow functionality ([#4403](https://github.com/SAP/ui5-webcomponents/issues/4403)) ([a38bbab](https://github.com/SAP/ui5-webcomponents/commit/a38bbab)), closes [#2540](https://github.com/SAP/ui5-webcomponents/issues/2540)
|
|
60
|
+
* **ui5-wizard:** Extend keyboard handling ([#4444](https://github.com/SAP/ui5-webcomponents/issues/4444)) ([57151a3](https://github.com/SAP/ui5-webcomponents/commit/57151a3))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## [1.0.2](https://github.com/SAP/ui5-webcomponents/compare/v1.0.1...v1.0.2) (2021-11-29)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @ui5/webcomponents-fiori
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
6
74
|
## [1.0.1](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0...v1.0.1) (2021-11-10)
|
|
7
75
|
|
|
8
76
|
**Note:** Version bump only for package @ui5/webcomponents-fiori
|
package/dist/Bar.js
CHANGED
|
@@ -13,6 +13,7 @@ import BarCss from "./generated/themes/Bar.css.js";
|
|
|
13
13
|
const metadata = {
|
|
14
14
|
tag: "ui5-bar",
|
|
15
15
|
managedSlots: true,
|
|
16
|
+
fastNavigation: true,
|
|
16
17
|
properties: /** @lends sap.ui.webcomponents.fiori.Bar.prototype */ {
|
|
17
18
|
/**
|
|
18
19
|
* Defines the <code>ui5-bar</code> design.
|
|
@@ -109,6 +110,14 @@ const metadata = {
|
|
|
109
110
|
* <li>bar - Used to style the wrapper of the content of the component</li>
|
|
110
111
|
* </ul>
|
|
111
112
|
*
|
|
113
|
+
* <h3>Keyboard Handling</h3>
|
|
114
|
+
*
|
|
115
|
+
* <h4>Fast Navigation</h4>
|
|
116
|
+
* 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>.
|
|
117
|
+
* In order to use this functionality, you need to import the following module:
|
|
118
|
+
* <code>import "@ui5/webcomponents-base/dist/features/F6Navigation.js"</code>
|
|
119
|
+
* <br><br>
|
|
120
|
+
*
|
|
112
121
|
* <h3>ES6 Module Import</h3>
|
|
113
122
|
*
|
|
114
123
|
* <code>import "@ui5/webcomponents-fiori/dist/Bar.js";</code>
|
|
@@ -168,6 +177,11 @@ class Bar extends UI5Element {
|
|
|
168
177
|
};
|
|
169
178
|
}
|
|
170
179
|
|
|
180
|
+
onBeforeRendering() {
|
|
181
|
+
// Next row is specific for IE11. Please remove after stop support and edit css file
|
|
182
|
+
[...this.startContent, ...this.middleContent, ...this.endContent].forEach(element => element.classList.add("ui5-bar-content"));
|
|
183
|
+
}
|
|
184
|
+
|
|
171
185
|
onEnterDOM() {
|
|
172
186
|
ResizeHandler.register(this, this._handleResizeBound);
|
|
173
187
|
}
|
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
+
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
3
|
+
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
4
|
+
import ResizeHandler from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
|
|
5
|
+
import SideContentPosition from "./types/SideContentPosition.js";
|
|
6
|
+
import SideContentVisibility from "./types/SideContentVisibility.js";
|
|
7
|
+
import SideContentFallDown from "./types/SideContentFallDown.js";
|
|
8
|
+
import DynamicSideContentTemplate from "./generated/templates/DynamicSideContentTemplate.lit.js";
|
|
9
|
+
|
|
10
|
+
// Styles
|
|
11
|
+
import DynamicSideContentCss from "./generated/themes/DynamicSideContent.css.js";
|
|
12
|
+
|
|
13
|
+
// Texts
|
|
14
|
+
import {
|
|
15
|
+
DSC_SIDE_ARIA_LABEL,
|
|
16
|
+
} from "./generated/i18n/i18n-defaults.js";
|
|
17
|
+
|
|
18
|
+
// Breakpoint-related constants
|
|
19
|
+
const S_M_BREAKPOINT = 720, // Breakpoint between S and M screen sizes
|
|
20
|
+
M_L_BREAKPOINT = 1024, // Breakpoint between M and L screen sizes
|
|
21
|
+
L_XL_BREAKPOINT = 1440, // Breakpoint between L and XL screen sizes
|
|
22
|
+
MINIMUM_WIDTH_BREAKPOINT = 960; // Minimum width of the control where main and side contents are side by side
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
const metadata = {
|
|
28
|
+
tag: "ui5-dynamic-side-content",
|
|
29
|
+
managedSlots: true,
|
|
30
|
+
properties: /** @lends sap.ui.webcomponents.fiori.DynamicSideContent.prototype */ {
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Defines the visibility of the main content.
|
|
34
|
+
*
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @defaultvalue false
|
|
37
|
+
* @public
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
hideMainContent: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Defines the visibility of the side content.
|
|
46
|
+
*
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @defaultvalue false
|
|
49
|
+
* @public
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
hideSideContent: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Defines whether the side content is positioned before the main content (left side
|
|
58
|
+
* in LTR mode), or after the the main content (right side in LTR mode).
|
|
59
|
+
*
|
|
60
|
+
* <br><br>
|
|
61
|
+
* <b>The available values are:</b>
|
|
62
|
+
*
|
|
63
|
+
* <ul>
|
|
64
|
+
* <li><code>Start</code></li>
|
|
65
|
+
* <li><code>End</code></li>
|
|
66
|
+
* </ul>
|
|
67
|
+
*
|
|
68
|
+
* @type {SideContentPosition}
|
|
69
|
+
* @defaultvalue "End"
|
|
70
|
+
* @public
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
sideContentPosition: {
|
|
74
|
+
type: SideContentPosition,
|
|
75
|
+
defaultValue: SideContentPosition.End,
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Defines on which breakpoints the side content is visible.
|
|
80
|
+
*
|
|
81
|
+
* <br><br>
|
|
82
|
+
* <b>The available values are:</b>
|
|
83
|
+
*
|
|
84
|
+
* <ul>
|
|
85
|
+
* <li><code>AlwaysShow</code></li>
|
|
86
|
+
* <li><code>ShowAboveL</code></li>
|
|
87
|
+
* <li><code>ShowAboveM</code></li>
|
|
88
|
+
* <li><code>ShowAboveS</code></li>
|
|
89
|
+
* <li><code>NeverShow</code></li>
|
|
90
|
+
* </ul>
|
|
91
|
+
*
|
|
92
|
+
* @type {SideContentVisibility}
|
|
93
|
+
* @defaultvalue "ShowAboveS"
|
|
94
|
+
* @public
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
sideContentVisibility: {
|
|
98
|
+
type: SideContentVisibility,
|
|
99
|
+
defaultValue: SideContentVisibility.ShowAboveS,
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Defines on which breakpoints the side content falls down below the main content.
|
|
104
|
+
*
|
|
105
|
+
* <br><br>
|
|
106
|
+
* <b>The available values are:</b>
|
|
107
|
+
*
|
|
108
|
+
* <ul>
|
|
109
|
+
* <li><code>BelowXL</code></li>
|
|
110
|
+
* <li><code>BelowL</code></li>
|
|
111
|
+
* <li><code>BelowM</code></li>
|
|
112
|
+
* <li><code>OnMinimumWidth</code></li>
|
|
113
|
+
* </ul>
|
|
114
|
+
*
|
|
115
|
+
* @type {SideContentFallDown}
|
|
116
|
+
* @defaultvalue "OnMinimumWidth"
|
|
117
|
+
* @public
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
sideContentFallDown: {
|
|
121
|
+
type: SideContentFallDown,
|
|
122
|
+
defaultValue: SideContentFallDown.OnMinimumWidth,
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Defines whether the component is in equal split mode. In this mode, the side and
|
|
127
|
+
* the main content take 50:50 percent of the container on all screen sizes
|
|
128
|
+
* except for phone, where the main and side contents are switching visibility
|
|
129
|
+
* using the toggle method.
|
|
130
|
+
*
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
* @defaultvalue false
|
|
133
|
+
* @public
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
equalSplit: {
|
|
137
|
+
type: Boolean,
|
|
138
|
+
},
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @private
|
|
142
|
+
*/
|
|
143
|
+
_mcSpan: {
|
|
144
|
+
type: String,
|
|
145
|
+
defaultValue: "0",
|
|
146
|
+
noAttribute: true,
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @private
|
|
151
|
+
*/
|
|
152
|
+
_scSpan: {
|
|
153
|
+
type: String,
|
|
154
|
+
defaultValue: "0",
|
|
155
|
+
noAttribute: true,
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @private
|
|
160
|
+
*/
|
|
161
|
+
_toggled: {
|
|
162
|
+
type: Boolean,
|
|
163
|
+
noAttribute: true,
|
|
164
|
+
},
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @private
|
|
168
|
+
*/
|
|
169
|
+
_currentBreakpoint: {
|
|
170
|
+
type: String,
|
|
171
|
+
noAttribute: true,
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
},
|
|
175
|
+
slots: /** @lends sap.ui.webcomponents.fiori.DynamicSideContent.prototype */ {
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Defines the main content.
|
|
179
|
+
*
|
|
180
|
+
* @type {HTMLElement[]}
|
|
181
|
+
* @slot
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
"default": {
|
|
185
|
+
type: HTMLElement,
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Defines the side content.
|
|
190
|
+
*
|
|
191
|
+
* @type {HTMLElement[]}
|
|
192
|
+
* @slot
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
"sideContent": {
|
|
196
|
+
type: HTMLElement,
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
},
|
|
200
|
+
events: /** @lends sap.ui.webcomponents.fiori.DynamicSideContent.prototype */ {
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Fires when the current breakpoint has been changed.
|
|
204
|
+
* @event sap.ui.webcomponents.fiori.DynamicSideContent#layout-change
|
|
205
|
+
* @param {String} currentBreakpoint the current breakpoint.
|
|
206
|
+
* @param {String} previousBreakpoint the breakpoint that was active before change to current breakpoint.
|
|
207
|
+
* @param {Boolean} mainContentVisible visibility of the main content.
|
|
208
|
+
* @param {Boolean} sideContentVisible visibility of the side content.
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
"layout-change": {
|
|
212
|
+
details: {
|
|
213
|
+
currentBreakpoint: {
|
|
214
|
+
type: String,
|
|
215
|
+
},
|
|
216
|
+
previousBreakpoint: {
|
|
217
|
+
type: String,
|
|
218
|
+
},
|
|
219
|
+
mainContentVisible: {
|
|
220
|
+
type: Boolean,
|
|
221
|
+
},
|
|
222
|
+
sideContentVisible: {
|
|
223
|
+
type: Boolean,
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @class
|
|
233
|
+
*
|
|
234
|
+
* <h3 class="comment-api-title">Overview</h3>
|
|
235
|
+
*
|
|
236
|
+
* The DynamicSideContent (<code>ui5-dynamic-side-content</code>) is a layout component that allows additional content
|
|
237
|
+
* to be displayed in a way that flexibly adapts to different screen sizes. The side
|
|
238
|
+
* content appears in a container next to or directly below the main content
|
|
239
|
+
* (it doesn't overlay). When the side content is triggered, the main content becomes
|
|
240
|
+
* narrower (if appearing side-by-side). The side content contains a separate scrollbar
|
|
241
|
+
* when appearing next to the main content.
|
|
242
|
+
*
|
|
243
|
+
*
|
|
244
|
+
* <h3>Usage</h3>
|
|
245
|
+
*
|
|
246
|
+
* <i>When to use?</i>
|
|
247
|
+
*
|
|
248
|
+
* Use this component if you want to display relevant information that is not critical
|
|
249
|
+
* for users to complete a task. Users should have access to all the key functions and
|
|
250
|
+
* critical information in the app even if they do not see the side content. This is
|
|
251
|
+
* important because on smaller screen sizes it may be difficult to display the side
|
|
252
|
+
* content in a way that is easily accessible for the user.
|
|
253
|
+
*
|
|
254
|
+
* <i>When not to use?</i>
|
|
255
|
+
*
|
|
256
|
+
* Don't use it if you want to display navigation or critical information that prevents
|
|
257
|
+
* users from completing a task when they have no access to the side content.
|
|
258
|
+
*
|
|
259
|
+
*
|
|
260
|
+
* <h3>Responsive Behavior</h3>
|
|
261
|
+
*
|
|
262
|
+
* Screen width > 1440px
|
|
263
|
+
*
|
|
264
|
+
* <ul><li>Main vs. side content ratio is 75 vs. 25 percent (with a minimum of 320px
|
|
265
|
+
* each).</li>
|
|
266
|
+
* <li>If the application defines a trigger, the side content can be hidden.</li></ul>
|
|
267
|
+
*
|
|
268
|
+
* Screen width <= 1440px and > 1024px
|
|
269
|
+
*
|
|
270
|
+
* <ul><li>Main vs. side content ratio is 66.666 vs. 33.333 percent (with a minimum of
|
|
271
|
+
* 320px each). If the side content width falls below 320 px, it automatically slides
|
|
272
|
+
* under the main content, unless the app development team specifies that it should
|
|
273
|
+
* disappear.</li></ul>
|
|
274
|
+
*
|
|
275
|
+
* Screen width <= 1024px and > 720px
|
|
276
|
+
*
|
|
277
|
+
* <ul><li>The side content ratio is fixed to 340px, and the main content takes the rest
|
|
278
|
+
* of the width. Only if the <code>sideContentFallDown</code> is set to <code>OnMinimumWidth</code>
|
|
279
|
+
* and screen width is <= 960px and > 720px the side content falls below the main content.</li></ul>
|
|
280
|
+
*
|
|
281
|
+
* Screen width <= 720px (for example on a mobile device)
|
|
282
|
+
*
|
|
283
|
+
* <ul><li>In this case, the side content automatically disappears from the screen (unless
|
|
284
|
+
* specified to stay under the content by setting of <code>sideContentVisibility</code>
|
|
285
|
+
* property to <code>AlwaysShow</code>) and can be triggered from a pre-set trigger
|
|
286
|
+
* (specified within the app). When the side content is triggered, it replaces the main
|
|
287
|
+
* content. We recommend that you always place the trigger for the side content in the
|
|
288
|
+
* same location, such as in the app footer.</li></ul>
|
|
289
|
+
*
|
|
290
|
+
* A special case allows switching the comparison mode between the main and side content.
|
|
291
|
+
* In this case, the screen is split into 50:50 percent for main vs. side content. The
|
|
292
|
+
* responsive behavior of the equal split is the same as in the standard view - the
|
|
293
|
+
* side content disappears on screen widths of less than 720 px and can only be
|
|
294
|
+
* viewed by triggering it.
|
|
295
|
+
*
|
|
296
|
+
* <h3>ES6 Module Import</h3>
|
|
297
|
+
*
|
|
298
|
+
* <code>import "@ui5/webcomponents-fiori/dist/DynamicSideContent";</code>
|
|
299
|
+
*
|
|
300
|
+
* @constructor
|
|
301
|
+
* @author SAP SE
|
|
302
|
+
* @alias sap.ui.webcomponents.fiori.DynamicSideContent
|
|
303
|
+
* @extends UI5Element
|
|
304
|
+
* @tagname ui5-dynamic-side-content
|
|
305
|
+
* @public
|
|
306
|
+
* @since 1.1.0
|
|
307
|
+
*/
|
|
308
|
+
class DynamicSideContent extends UI5Element {
|
|
309
|
+
constructor() {
|
|
310
|
+
super();
|
|
311
|
+
this._handleResizeBound = this.handleResize.bind(this);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
static get metadata() {
|
|
315
|
+
return metadata;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
static get styles() {
|
|
319
|
+
return DynamicSideContentCss;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
static get render() {
|
|
323
|
+
return litRender;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
static get template() {
|
|
327
|
+
return DynamicSideContentTemplate;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
static async onDefine() {
|
|
331
|
+
DynamicSideContent.i18nBundle = await getI18nBundle("@ui5/webcomponents-fiori");
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
onAfterRendering() {
|
|
335
|
+
this._resizeContents();
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
onEnterDOM() {
|
|
339
|
+
ResizeHandler.register(this, this._handleResizeBound);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
onExitDOM() {
|
|
343
|
+
ResizeHandler.deregister(this, this._handleResizeBound);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Toggles visibility of main and side contents on S screen size (mobile device).
|
|
348
|
+
* @type {String}
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
toggleContents() {
|
|
352
|
+
if (this.breakpoint === this.sizeS && this.sideContentVisibility !== SideContentVisibility.AlwaysShow) {
|
|
353
|
+
this._toggled = !this._toggled;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
get classes() {
|
|
358
|
+
const gridPrefix = "ui5-dsc-span",
|
|
359
|
+
mcSpan = this._toggled ? this._scSpan : this._mcSpan,
|
|
360
|
+
scSpan = this._toggled ? this._mcSpan : this._scSpan,
|
|
361
|
+
classes = {
|
|
362
|
+
main: {
|
|
363
|
+
"ui5-dsc-main": true,
|
|
364
|
+
},
|
|
365
|
+
side: {
|
|
366
|
+
"ui5-dsc-side": true,
|
|
367
|
+
},
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
classes.main[`${gridPrefix}-${mcSpan}`] = true;
|
|
371
|
+
classes.side[`${gridPrefix}-${scSpan}`] = true;
|
|
372
|
+
|
|
373
|
+
return classes;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
get styles() {
|
|
377
|
+
const isToggled = this.breakpoint === this.sizeS && this._toggled,
|
|
378
|
+
mcSpan = isToggled ? this._scSpan : this._mcSpan,
|
|
379
|
+
scSpan = isToggled ? this._mcSpan : this._scSpan,
|
|
380
|
+
contentHeight = this.breakpoint === this.sizeS && this.sideContentVisibility !== SideContentVisibility.AlwaysShow ? "100%" : "auto";
|
|
381
|
+
|
|
382
|
+
return {
|
|
383
|
+
root: {
|
|
384
|
+
"flex-wrap": this._mcSpan === "12" ? "wrap" : "nowrap",
|
|
385
|
+
},
|
|
386
|
+
main: {
|
|
387
|
+
"height": mcSpan === this.span12 ? contentHeight : "100%",
|
|
388
|
+
"order": this.sideContentPosition === SideContentPosition.Start ? 2 : 1,
|
|
389
|
+
},
|
|
390
|
+
side: {
|
|
391
|
+
"height": scSpan === this.span12 ? contentHeight : "100%",
|
|
392
|
+
"order": this.sideContentPosition === SideContentPosition.Start ? 1 : 2,
|
|
393
|
+
},
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
get accInfo() {
|
|
398
|
+
return {
|
|
399
|
+
"label": DynamicSideContent.i18nBundle.getText(DSC_SIDE_ARIA_LABEL),
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
get sizeS() {
|
|
404
|
+
return "S";
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
get sizeM() {
|
|
408
|
+
return "M";
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
get sizeL() {
|
|
412
|
+
return "L";
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
get sizeXL() {
|
|
416
|
+
return "XL";
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
get span0() {
|
|
420
|
+
return "0";
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
get span3() {
|
|
424
|
+
return "3";
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
get span4() {
|
|
428
|
+
return "4";
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
get span6() {
|
|
432
|
+
return "6";
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
get span8() {
|
|
436
|
+
return "8";
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
get span9() {
|
|
440
|
+
return "9";
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
get span12() {
|
|
444
|
+
return "12";
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
get spanFixed() {
|
|
448
|
+
return "fixed";
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
get containerWidth() {
|
|
452
|
+
return this.parentElement.clientWidth;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
get breakpoint() {
|
|
456
|
+
let size;
|
|
457
|
+
|
|
458
|
+
if (this.containerWidth <= S_M_BREAKPOINT) {
|
|
459
|
+
size = this.sizeS;
|
|
460
|
+
} else if (this.containerWidth > S_M_BREAKPOINT && this.containerWidth <= M_L_BREAKPOINT) {
|
|
461
|
+
size = this.sizeM;
|
|
462
|
+
} else if (this.containerWidth > M_L_BREAKPOINT && this.containerWidth <= L_XL_BREAKPOINT) {
|
|
463
|
+
size = this.sizeL;
|
|
464
|
+
} else {
|
|
465
|
+
size = this.sizeXL;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
return size;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
handleResize() {
|
|
472
|
+
this._resizeContents();
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
_resizeContents() {
|
|
476
|
+
let mainSize,
|
|
477
|
+
sideSize,
|
|
478
|
+
sideVisible;
|
|
479
|
+
|
|
480
|
+
// initial set contents sizes
|
|
481
|
+
switch (this.breakpoint) {
|
|
482
|
+
case this.sizeS:
|
|
483
|
+
mainSize = this.span12;
|
|
484
|
+
sideSize = this.span12;
|
|
485
|
+
break;
|
|
486
|
+
case this.sizeM:
|
|
487
|
+
if (this.sideContentFallDown === SideContentFallDown.BelowXL
|
|
488
|
+
|| this.sideContentFallDown === SideContentFallDown.BelowL
|
|
489
|
+
|| (this.containerWidth <= MINIMUM_WIDTH_BREAKPOINT && this.sideContentFallDown === SideContentFallDown.OnMinimumWidth)) {
|
|
490
|
+
mainSize = this.span12;
|
|
491
|
+
sideSize = this.span12;
|
|
492
|
+
} else {
|
|
493
|
+
mainSize = this.equalSplit ? this.span6 : this.spanFixed;
|
|
494
|
+
sideSize = this.equalSplit ? this.span6 : this.spanFixed;
|
|
495
|
+
}
|
|
496
|
+
sideVisible = this.sideContentVisibility === SideContentVisibility.ShowAboveS
|
|
497
|
+
|| this.sideContentVisibility === SideContentVisibility.AlwaysShow;
|
|
498
|
+
break;
|
|
499
|
+
case this.sizeL:
|
|
500
|
+
if (this.sideContentFallDown === SideContentFallDown.BelowXL) {
|
|
501
|
+
mainSize = this.span12;
|
|
502
|
+
sideSize = this.span12;
|
|
503
|
+
} else {
|
|
504
|
+
mainSize = this.equalSplit ? this.span6 : this.span8;
|
|
505
|
+
sideSize = this.equalSplit ? this.span6 : this.span4;
|
|
506
|
+
}
|
|
507
|
+
sideVisible = this.sideContentVisibility === SideContentVisibility.ShowAboveS
|
|
508
|
+
|| this.sideContentVisibility === SideContentVisibility.ShowAboveM
|
|
509
|
+
|| this.sideContentVisibility === SideContentVisibility.AlwaysShow;
|
|
510
|
+
break;
|
|
511
|
+
case this.sizeXL:
|
|
512
|
+
mainSize = this.equalSplit ? this.span6 : this.span9;
|
|
513
|
+
sideSize = this.equalSplit ? this.span6 : this.span3;
|
|
514
|
+
sideVisible = this.sideContentVisibility !== SideContentVisibility.NeverShow;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
if (this.sideContentVisibility === SideContentVisibility.AlwaysShow) {
|
|
518
|
+
sideVisible = true;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
// modify sizes of the contents depending on hideMainContent and hideSideContent properties
|
|
522
|
+
if (this.hideSideContent) {
|
|
523
|
+
mainSize = this.hideMainContent ? this.span0 : this.span12;
|
|
524
|
+
sideSize = this.span0;
|
|
525
|
+
sideVisible = false;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
if (this.hideMainContent) {
|
|
529
|
+
mainSize = this.span0;
|
|
530
|
+
sideSize = this.hideSideContent ? this.span0 : this.span12;
|
|
531
|
+
sideVisible = true;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
// set final sizes of the contents
|
|
535
|
+
if (!sideVisible) {
|
|
536
|
+
mainSize = this.span12;
|
|
537
|
+
sideSize = this.span0;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// fire "layout-change" event
|
|
541
|
+
if (this._currentBreakpoint !== this.breakpoint) {
|
|
542
|
+
const eventParams = {
|
|
543
|
+
currentBreakpoint: this.breakpoint,
|
|
544
|
+
previousBreakpoint: this._currentBreakpoint,
|
|
545
|
+
mainContentVisible: mainSize !== this.span0,
|
|
546
|
+
sideContentVisible: sideSize !== this.span0,
|
|
547
|
+
};
|
|
548
|
+
this.fireEvent("layout-change", eventParams);
|
|
549
|
+
this._currentBreakpoint = this.breakpoint;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
// update contents sizes
|
|
553
|
+
this._setSpanSizes(mainSize, sideSize);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
_setSpanSizes(mainSize, sideSize) {
|
|
557
|
+
this._mcSpan = mainSize;
|
|
558
|
+
this._scSpan = sideSize;
|
|
559
|
+
if (this.breakpoint !== this.sizeS) {
|
|
560
|
+
this._toggled = false;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
DynamicSideContent.define();
|
|
566
|
+
|
|
567
|
+
export default DynamicSideContent;
|