@ui5/webcomponents-fiori 0.0.0-11d529e8a → 0.0.0-1e08ebdef

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.
Files changed (219) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/README.md +1 -1
  3. package/dist/Assets-static.js +1 -1
  4. package/dist/Assets.js +1 -1
  5. package/dist/BarcodeScannerDialog.js +4 -5
  6. package/dist/FilterItem.js +1 -0
  7. package/dist/FilterItemOption.js +1 -0
  8. package/dist/FlexibleColumnLayout.js +9 -10
  9. package/dist/IllustratedMessage.js +4 -5
  10. package/dist/NotificationListGroupItem.js +11 -16
  11. package/dist/NotificationListItem.js +9 -14
  12. package/dist/NotificationListItemBase.js +4 -7
  13. package/dist/ProductSwitch.js +3 -5
  14. package/dist/ShellBar.js +127 -32
  15. package/dist/ShellBarItem.js +5 -17
  16. package/dist/SideNavigation.js +4 -0
  17. package/dist/SortItem.js +1 -0
  18. package/dist/Timeline.js +3 -4
  19. package/dist/UploadCollection.js +7 -8
  20. package/dist/UploadCollectionItem.js +16 -13
  21. package/dist/ViewSettingsDialog.js +12 -13
  22. package/dist/Wizard.js +18 -29
  23. package/dist/WizardStep.js +0 -23
  24. package/dist/api.json +62 -35
  25. package/dist/css/themes/Bar.css +1 -0
  26. package/dist/css/themes/BarcodeScannerDialog.css +1 -0
  27. package/dist/css/themes/FilterItem.css +1 -0
  28. package/dist/css/themes/FlexibleColumnLayout.css +1 -0
  29. package/dist/css/themes/IllustratedMessage.css +1 -0
  30. package/dist/css/themes/InvisibleTextStyles.css +1 -0
  31. package/dist/css/themes/NotifactionOverflowActionsPopover.css +1 -0
  32. package/dist/css/themes/NotificationListGroupItem.css +1 -0
  33. package/dist/css/themes/NotificationListItem.css +1 -0
  34. package/dist/css/themes/NotificationListItemBase.css +1 -0
  35. package/dist/css/themes/NotificationPrioIcon.css +1 -0
  36. package/dist/css/themes/Page.css +1 -0
  37. package/dist/css/themes/ProductSwitch.css +1 -0
  38. package/dist/css/themes/ProductSwitchItem.css +1 -0
  39. package/dist/css/themes/ShellBar.css +1 -0
  40. package/dist/css/themes/SideNavigation.css +1 -0
  41. package/dist/css/themes/Timeline.css +1 -0
  42. package/dist/css/themes/TimelineItem.css +1 -0
  43. package/dist/css/themes/UploadCollection.css +1 -0
  44. package/dist/css/themes/UploadCollectionItem.css +1 -0
  45. package/dist/css/themes/ViewSettingsDialog.css +1 -0
  46. package/dist/css/themes/Wizard.css +1 -0
  47. package/dist/css/themes/WizardPopover.css +1 -0
  48. package/dist/css/themes/WizardTab.css +1 -0
  49. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -0
  50. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
  51. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
  52. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
  53. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
  54. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
  55. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
  56. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -0
  57. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -0
  58. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  59. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  60. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  61. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  62. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  63. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  64. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  65. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  66. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -0
  67. package/dist/generated/json-imports/Themes-static.js +4 -2
  68. package/dist/generated/json-imports/Themes.js +2 -1
  69. package/dist/generated/templates/FilterItemTemplate.lit.js +1 -1
  70. package/dist/generated/templates/FlexibleColumnLayoutTemplate.lit.js +1 -1
  71. package/dist/generated/templates/IllustratedMessageTemplate.lit.js +1 -1
  72. package/dist/generated/templates/NotificationListGroupItemTemplate.lit.js +1 -1
  73. package/dist/generated/templates/NotificationListItemTemplate.lit.js +2 -2
  74. package/dist/generated/templates/ShellBarTemplate.lit.js +6 -6
  75. package/dist/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +1 -1
  76. package/dist/generated/templates/TimelineTemplate.lit.js +1 -1
  77. package/dist/generated/templates/UploadCollectionItemTemplate.lit.js +1 -1
  78. package/dist/generated/templates/WizardTemplate.lit.js +2 -2
  79. package/dist/generated/themes/Bar.css.js +3 -3
  80. package/dist/generated/themes/BarcodeScannerDialog.css.js +3 -3
  81. package/dist/generated/themes/FilterItem.css.js +3 -3
  82. package/dist/generated/themes/FlexibleColumnLayout.css.js +3 -3
  83. package/dist/generated/themes/IllustratedMessage.css.js +3 -3
  84. package/dist/generated/themes/InvisibleTextStyles.css.js +3 -3
  85. package/dist/generated/themes/NotifactionOverflowActionsPopover.css.js +3 -3
  86. package/dist/generated/themes/NotificationListGroupItem.css.js +3 -3
  87. package/dist/generated/themes/NotificationListItem.css.js +3 -3
  88. package/dist/generated/themes/NotificationListItemBase.css.js +3 -3
  89. package/dist/generated/themes/NotificationPrioIcon.css.js +3 -3
  90. package/dist/generated/themes/Page.css.js +3 -3
  91. package/dist/generated/themes/ProductSwitch.css.js +3 -3
  92. package/dist/generated/themes/ProductSwitchItem.css.js +3 -3
  93. package/dist/generated/themes/ShellBar.css.js +3 -3
  94. package/dist/generated/themes/SideNavigation.css.js +3 -3
  95. package/dist/generated/themes/Timeline.css.js +3 -3
  96. package/dist/generated/themes/TimelineItem.css.js +3 -3
  97. package/dist/generated/themes/UploadCollection.css.js +3 -3
  98. package/dist/generated/themes/UploadCollectionItem.css.js +3 -3
  99. package/dist/generated/themes/ViewSettingsDialog.css.js +3 -3
  100. package/dist/generated/themes/Wizard.css.js +3 -3
  101. package/dist/generated/themes/WizardPopover.css.js +3 -3
  102. package/dist/generated/themes/WizardTab.css.js +3 -3
  103. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  104. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  105. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  106. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  107. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  108. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  109. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  110. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  111. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -0
  112. package/package-scripts.js +1 -1
  113. package/package.json +8 -8
  114. package/src/Assets-static.js +1 -1
  115. package/src/Assets.js +1 -1
  116. package/src/BarcodeScannerDialog.js +4 -5
  117. package/src/FilterItem.js +1 -0
  118. package/src/FilterItemOption.js +1 -0
  119. package/src/FlexibleColumnLayout.hbs +0 -2
  120. package/src/FlexibleColumnLayout.js +9 -10
  121. package/src/IllustratedMessage.hbs +13 -13
  122. package/src/IllustratedMessage.js +4 -5
  123. package/src/NotificationListGroupItem.hbs +0 -1
  124. package/src/NotificationListGroupItem.js +11 -16
  125. package/src/NotificationListItem.hbs +1 -1
  126. package/src/NotificationListItem.js +9 -14
  127. package/src/NotificationListItemBase.js +4 -7
  128. package/src/ProductSwitch.js +3 -5
  129. package/src/ShellBar.hbs +24 -19
  130. package/src/ShellBar.js +127 -32
  131. package/src/ShellBarItem.js +5 -17
  132. package/src/SideNavigation.js +4 -0
  133. package/src/SideNavigationItemPopoverContent.hbs +1 -0
  134. package/src/SortItem.js +1 -0
  135. package/src/Timeline.hbs +1 -1
  136. package/src/Timeline.js +3 -4
  137. package/src/UploadCollection.js +7 -8
  138. package/src/UploadCollectionItem.js +16 -13
  139. package/src/ViewSettingsDialog.js +12 -13
  140. package/src/Wizard.hbs +3 -1
  141. package/src/Wizard.js +18 -29
  142. package/src/WizardStep.js +0 -23
  143. package/src/themes/Bar.css +72 -0
  144. package/src/themes/BarcodeScannerDialog.css +35 -0
  145. package/src/themes/FilterItem.css +3 -0
  146. package/src/themes/FlexibleColumnLayout.css +111 -0
  147. package/src/themes/IllustratedMessage.css +167 -0
  148. package/src/themes/InvisibleTextStyles.css +9 -0
  149. package/src/themes/NotifactionOverflowActionsPopover.css +5 -0
  150. package/src/themes/NotificationListGroupItem.css +86 -0
  151. package/src/themes/NotificationListItem.css +168 -0
  152. package/src/themes/NotificationListItemBase.css +57 -0
  153. package/src/themes/NotificationPrioIcon.css +22 -0
  154. package/src/themes/Page.css +129 -0
  155. package/src/themes/ProductSwitch.css +30 -0
  156. package/src/themes/ProductSwitchItem.css +179 -0
  157. package/src/themes/ShellBar.css +534 -0
  158. package/src/themes/SideNavigation.css +50 -0
  159. package/src/themes/Timeline.css +52 -0
  160. package/src/themes/TimelineItem.css +287 -0
  161. package/src/themes/UploadCollection.css +118 -0
  162. package/src/themes/UploadCollectionItem.css +166 -0
  163. package/src/themes/ViewSettingsDialog.css +56 -0
  164. package/src/themes/Wizard.css +89 -0
  165. package/src/themes/WizardPopover.css +18 -0
  166. package/src/themes/WizardTab.css +171 -0
  167. package/src/themes/base/Bar-parameters.css +11 -0
  168. package/src/themes/base/FlexibleColumnLayout-parameters.css +6 -0
  169. package/src/themes/base/IllustratedMessage-parameters.css +13 -0
  170. package/src/themes/base/NotificationListItem-parameters.css +3 -0
  171. package/src/themes/base/Page-parameters.css +3 -0
  172. package/src/themes/base/ProductSwitchItem-parameters.css +10 -0
  173. package/src/themes/base/ShellBar-parameters.css +10 -0
  174. package/src/themes/base/SideNavigation-parameters.css +3 -0
  175. package/src/themes/base/TimelineItem-parameters.css +12 -0
  176. package/src/themes/base/UploadCollection-parameters.css +5 -0
  177. package/src/themes/base/WizardTab-parameters.css +11 -0
  178. package/src/themes/sap_belize/parameters-bundle.css +9 -0
  179. package/src/themes/sap_belize_hcb/FlexibleColumnLayout-parameters.css +6 -0
  180. package/src/themes/sap_belize_hcb/Page-parameters.css +3 -0
  181. package/src/themes/sap_belize_hcb/ProductSwitchItem-parameters.css +8 -0
  182. package/src/themes/sap_belize_hcb/TimelineItem-parameters.css +11 -0
  183. package/src/themes/sap_belize_hcb/UploadCollection-parameters.css +7 -0
  184. package/src/themes/sap_belize_hcb/WizardTab-parameters.css +9 -0
  185. package/src/themes/sap_belize_hcb/parameters-bundle.css +9 -0
  186. package/src/themes/sap_belize_hcw/FlexibleColumnLayout-parameters.css +6 -0
  187. package/src/themes/sap_belize_hcw/Page-parameters.css +3 -0
  188. package/src/themes/sap_belize_hcw/ProductSwitchItem-parameters.css +8 -0
  189. package/src/themes/sap_belize_hcw/TimelineItem-parameters.css +11 -0
  190. package/src/themes/sap_belize_hcw/UploadCollection-parameters.css +6 -0
  191. package/src/themes/sap_belize_hcw/WizardTab-parameters.css +8 -0
  192. package/src/themes/sap_belize_hcw/parameters-bundle.css +9 -0
  193. package/src/themes/sap_fiori_3/parameters-bundle.css +9 -0
  194. package/src/themes/sap_fiori_3_dark/FlexibleColumnLayout-parameters.css +6 -0
  195. package/src/themes/sap_fiori_3_dark/parameters-bundle.css +9 -0
  196. package/src/themes/sap_fiori_3_hcb/FlexibleColumnLayout-parameters.css +6 -0
  197. package/src/themes/sap_fiori_3_hcb/Page-parameters.css +3 -0
  198. package/src/themes/sap_fiori_3_hcb/ProductSwitchItem-parameters.css +9 -0
  199. package/src/themes/sap_fiori_3_hcb/TimelineItem-parameters.css +11 -0
  200. package/src/themes/sap_fiori_3_hcb/UploadCollection-parameters.css +9 -0
  201. package/src/themes/sap_fiori_3_hcb/WizardTab-parameters.css +9 -0
  202. package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +9 -0
  203. package/src/themes/sap_fiori_3_hcw/FlexibleColumnLayout-parameters.css +6 -0
  204. package/src/themes/sap_fiori_3_hcw/Page-parameters.css +3 -0
  205. package/src/themes/sap_fiori_3_hcw/ProductSwitchItem-parameters.css +9 -0
  206. package/src/themes/sap_fiori_3_hcw/TimelineItem-parameters.css +11 -0
  207. package/src/themes/sap_fiori_3_hcw/UploadCollection-parameters.css +8 -0
  208. package/src/themes/sap_fiori_3_hcw/WizardTab-parameters.css +8 -0
  209. package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +9 -0
  210. package/src/themes/sap_horizon/NotificationListItem-parameters.css +3 -0
  211. package/src/themes/sap_horizon/ProductSwitchItem-parameters.css +5 -0
  212. package/src/themes/sap_horizon/ShellBar-parameters.css +10 -0
  213. package/src/themes/sap_horizon/SideNavigation-parameters.css +5 -0
  214. package/src/themes/sap_horizon/TimelineItem-parameters.css +13 -0
  215. package/src/themes/sap_horizon/WizardTab-parameters.css +8 -0
  216. package/src/themes/sap_horizon/parameters-bundle.css +11 -0
  217. package/src/themes/sap_horizon_exp/parameters-bundle.css +9 -0
  218. package/dist/generated/templates/ShellBarItemTemplate.lit.js +0 -7
  219. package/src/ShellBarItem.hbs +0 -1
@@ -0,0 +1,86 @@
1
+ @import "./NotificationListItemBase.css";
2
+ @import "./NotificationPrioIcon.css";
3
+
4
+ :host {
5
+ --_ui5-notification_item-border-raius: 0px;
6
+ }
7
+
8
+ :host(:not([collapsed])) .ui5-nli-group-toggle-btn {
9
+ transform: rotate(90deg);
10
+ }
11
+
12
+ :host(:not([collapsed])) [dir="rtl"] .ui5-nli-group-toggle-btn {
13
+ transform: rotate(270deg);
14
+ }
15
+
16
+ :host([collapsed]) .ui5-nli-group-items {
17
+ display: none;
18
+ }
19
+
20
+ :host([read]) .ui5-nli-group-title-text {
21
+ font-weight: normal;
22
+ }
23
+
24
+ .ui5-nli-group-root {
25
+ display: flex;
26
+ flex-direction: column;
27
+ position: relative;
28
+ width: 100%;
29
+ box-sizing: border-box;
30
+ }
31
+
32
+ .ui5-nli-group-header {
33
+ display: flex;
34
+ align-items: center;
35
+ padding: 0.75rem 0.5rem 0.25rem 0.75rem;
36
+ width: 100%;
37
+ border-bottom: 0.0625rem solid var(--sapList_GroupHeaderBorderColor);
38
+ box-sizing: border-box;
39
+ cursor: default;
40
+ }
41
+
42
+ [dir="rtl"] .ui5-nli-group-header {
43
+ padding: 0.75rem 0.75rem 0.25rem 0.5rem;
44
+ }
45
+
46
+ .ui5-nli-group-toggle-btn {
47
+ margin-right: 0.75rem;
48
+ cursor: pointer;
49
+ }
50
+
51
+ .ui5-nli-group-title-text {
52
+ color: var(--sapGroup_TitleTextColor);
53
+ font-family: "72override", var(--sapFontFamily);
54
+ font-size: var(--sapFontHeader6Size);
55
+ font-weight: bold;
56
+ white-space: nowrap;
57
+ overflow: hidden;
58
+ text-overflow: ellipsis;
59
+ }
60
+
61
+ .ui5-nli-group-divider {
62
+ flex: 1;
63
+ }
64
+
65
+ .ui5-nli-group-counter {
66
+ margin-left: 0.25rem;
67
+ margin-right: 1rem;
68
+ color: var(--sapList_TableGroupHeaderTextColor);
69
+ font-size: var(--sapFontHeader6Size);
70
+ font-family: "72override", var(--sapFontHeaderFamily);
71
+ }
72
+
73
+ [dir="rtl"] .ui5-nli-group-toggle-btn {
74
+ margin-left: 1rem;
75
+ margin-right: 0;
76
+ }
77
+
78
+ [dir="rtl"] .ui5-nli-group-counter {
79
+ margin-right: 0.25rem;
80
+ margin-left: 1rem;
81
+ }
82
+
83
+ /* fix for blue background color on tap (touchscreen devices) */
84
+ :host([ui5-li-notification-group]) {
85
+ -webkit-tap-highlight-color: transparent;
86
+ }
@@ -0,0 +1,168 @@
1
+ @import "./NotificationListItemBase.css";
2
+ @import "./NotificationPrioIcon.css";
3
+
4
+ :host([wrapping-type="None"]) .ui5-nli-title-text {
5
+ display: -webkit-box;
6
+ -webkit-line-clamp: 2;
7
+ -webkit-box-orient: vertical;
8
+ overflow: hidden;
9
+ }
10
+
11
+ :host(:not([wrapping-type="Normal"])) .ui5-nli-description {
12
+ display: -webkit-box;
13
+ -webkit-line-clamp: 2;
14
+ -webkit-box-orient: vertical;
15
+ overflow: hidden;
16
+ }
17
+
18
+ :host([_show-more-pressed]) .ui5-nli-title-text {
19
+ -webkit-line-clamp: unset;
20
+ }
21
+
22
+ :host([_show-more-pressed]) .ui5-nli-description {
23
+ -webkit-line-clamp: unset;
24
+ }
25
+
26
+ :host([read]) .ui5-nli-title-text {
27
+ font-weight: normal;
28
+ }
29
+
30
+ /* IE */
31
+ :host([wrapping-type="None"]) .ui5-nli-content--ie .ui5-nli-description {
32
+ max-height: 32px;
33
+ }
34
+
35
+ :host([wrapping-type="None"]) .ui5-nli-content--ie .ui5-nli-title-text {
36
+ max-height: 32px;
37
+ }
38
+
39
+ :host([_show-more-pressed]) .ui5-nli-content--ie .ui5-nli-title-text {
40
+ max-height: inherit;
41
+ }
42
+
43
+ :host([_show-more-pressed]) .ui5-nli-content--ie .ui5-nli-description {
44
+ max-height: inherit;
45
+ }
46
+
47
+ :host(:first-of-type) {
48
+ border-top-left-radius: var(--_ui5-notification_item-border-raius);
49
+ border-top-right-radius: var(--_ui5-notification_item-border-raius);
50
+ }
51
+
52
+ :host(:last-of-type) {
53
+ border-bottom-left-radius: var(--_ui5-notification_item-border-raius);
54
+ border-bottom-right-radius: var(--_ui5-notification_item-border-raius);
55
+ }
56
+
57
+ :host(:first-of-type) .ui5-nli-focusable:after {
58
+ border-top-left-radius: var(--_ui5-notification_item-border-raius);
59
+ border-top-right-radius: var(--_ui5-notification_item-border-raius);
60
+ }
61
+ :host(:last-of-type) .ui5-nli-focusable:after {
62
+ border-bottom-left-radius: var(--_ui5-notification_item-border-raius);
63
+ border-bottom-right-radius: var(--_ui5-notification_item-border-raius);
64
+ }
65
+ /* End */
66
+
67
+ .ui5-nli-root {
68
+ display: flex;
69
+ flex-direction: row-reverse;
70
+ position: relative;
71
+ width: 100%;
72
+ padding: 1rem 0.5rem 1rem 1rem;
73
+ box-sizing: border-box;
74
+ cursor: pointer;
75
+ }
76
+
77
+ [dir="rtl"].ui5-nli-root {
78
+ padding: 1rem 1rem 1rem 0.5rem;
79
+ }
80
+
81
+ .ui5-nli-content {
82
+ display: flex;
83
+ flex-direction: column;
84
+ flex: 1;
85
+ min-width: 0; /* fixes Chrome flex issue */
86
+ width: 100%;
87
+ padding: 0 1rem 0 0.75rem;
88
+ font-family: "72override", var(--sapFontFamily);
89
+ box-sizing: border-box;
90
+ }
91
+
92
+ .ui5-nli-title-text-wrapper {
93
+ display: flex;
94
+ flex-direction: row;
95
+ }
96
+
97
+ .ui5-nli-title-text {
98
+ display: flex;
99
+ margin-bottom: 0.25rem;
100
+ box-sizing: border-box;
101
+ }
102
+
103
+ .ui5-nli-title-text {
104
+ color: var(--sapGroup_TitleTextColor);
105
+ font-weight: bold;
106
+ font-size: var(--sapFontHeader6Size);
107
+ }
108
+
109
+ .ui5-nli-description {
110
+ display: flex;
111
+ margin-top: 0.5rem;
112
+ color: var(--sapTextColor);
113
+ font-size: var(--sapFontSize);
114
+ box-sizing: border-box;
115
+ box-sizing: border-box;
116
+ }
117
+
118
+ /* Footer */
119
+ .ui5-nli-footer {
120
+ display: flex;
121
+ color: var(--sapContent_LabelColor);
122
+ font-size: var(--sapFontSize);
123
+ padding-top: 0.5rem;
124
+ box-sizing: border-box;
125
+ flex-wrap: wrap;
126
+ }
127
+
128
+ .ui5-nli-footer-divider {
129
+ position: relative;
130
+ align-items: center;
131
+ margin-left: 0.5rem;
132
+ margin-right: 0.625rem;
133
+ }
134
+
135
+ .ui5-nli-footer-divider::after {
136
+ position: absolute;
137
+ content: ".";
138
+ top: -20%;
139
+ }
140
+
141
+ .ui5-nli-footer-showMore {
142
+ margin-left: 1rem;
143
+ }
144
+
145
+ ::slotted([slot^="footnotes"]) {
146
+ color: var(--sapContent_LabelColor);
147
+ font-size: var(--sapFontSize);
148
+ text-overflow: ellipsis;
149
+ white-space: nowrap;
150
+ overflow: hidden;
151
+ }
152
+
153
+ /* Actions */
154
+ .ui5-nli-actions {
155
+ display: flex;
156
+ box-sizing: border-box;
157
+ }
158
+
159
+ /* RTL */
160
+
161
+ [dir="rtl"] .ui5-nli-footer-divider {
162
+ margin-right: 0.5rem;
163
+ margin-left: 0.625rem;
164
+ }
165
+
166
+ [dir="rtl"] .ui5-nli-footer-showMore {
167
+ margin-right: 1rem;
168
+ }
@@ -0,0 +1,57 @@
1
+ @import "./InvisibleTextStyles.css";
2
+
3
+ :host(:not([hidden])) {
4
+ display: block;
5
+ width: 100%;
6
+ min-height: var(--_ui5_list_item_base_height);
7
+ background: var(--ui5-listitem-background-color);
8
+ cursor: pointer;
9
+ }
10
+
11
+ :host([has-border]) {
12
+ border-bottom: var(--ui5-listitem-border-bottom);
13
+ }
14
+
15
+ :host([focused]) .ui5-nli-focusable {
16
+ outline: none;
17
+ }
18
+
19
+ :host([focused]) .ui5-nli-focusable:after {
20
+ content: "";
21
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
22
+ position: absolute;
23
+ top: 0;
24
+ right: 0;
25
+ bottom: 0;
26
+ left: 0;
27
+ pointer-events: none;
28
+ }
29
+
30
+ :host([busy]) {
31
+ opacity: 0.6;
32
+ pointer-events: none;
33
+ }
34
+
35
+ :host([busy]) .ui5-nli-busy {
36
+ position: absolute;
37
+ top: 50%;
38
+ left: 50%;
39
+ transform: translate(-50%, -50%);
40
+ }
41
+
42
+ .ui5-nli-action {
43
+ flex-shrink: 0;
44
+ margin-right: 0.5rem;
45
+ }
46
+
47
+ .ui5-nli-overflow-btn {
48
+ margin-right: 0.5rem;
49
+ }
50
+
51
+ [dir="rtl"] .ui5-nli-group-action {
52
+ margin-left: 0.5rem;
53
+ }
54
+
55
+ [dir="rtl"] .ui5-nli-overflow-btn {
56
+ margin-left: 0.5rem;
57
+ }
@@ -0,0 +1,22 @@
1
+ .ui5-prio-icon {
2
+ min-width: 1rem;
3
+ min-height: 1rem;
4
+ padding-right: 0.5rem;
5
+ }
6
+
7
+ .ui5-prio-icon--message-error {
8
+ color: var(--sapNegativeElementColor);
9
+ }
10
+
11
+ .ui5-prio-icon--message-warning {
12
+ color: var(--sapCriticalElementColor);
13
+ }
14
+
15
+ .ui5-prio-icon--message-success {
16
+ color: var(--sapPositiveElementColor);
17
+ }
18
+
19
+ [dir=rtl] .ui5-prio-icon {
20
+ padding-left: .5rem;
21
+ padding-right: 0rem;
22
+ }
@@ -0,0 +1,129 @@
1
+
2
+ :host(:not([hidden])) {
3
+ width: 100%;
4
+ height: 100%;
5
+ display: inline-block;
6
+ }
7
+
8
+ .ui5-page-root {
9
+ height: inherit;
10
+ overflow: hidden;
11
+ position: relative;
12
+ z-index: 0;
13
+ box-sizing: border-box;
14
+ background-color: inherit;
15
+ }
16
+
17
+ .ui5-page-header-root {
18
+ z-index: 1;
19
+ }
20
+
21
+ .ui5-page-content-root {
22
+ overflow: hidden auto;
23
+ position: absolute;
24
+ will-change: scroll-position;
25
+ width: 100%;
26
+ top: 2.75rem;
27
+ bottom: 0;
28
+ box-sizing: border-box;
29
+ }
30
+
31
+ .ui5-page-footer-root {
32
+ width: 100%;
33
+ box-sizing: border-box;
34
+ position: absolute;
35
+ bottom: 0;
36
+ left: 0;
37
+ z-index: 2;
38
+ width: 100%;
39
+ }
40
+
41
+ :host([floating-footer]) .ui5-page-footer-root {
42
+ opacity: 1;
43
+ bottom: 0.5rem;
44
+ }
45
+ /*** Responsive paddings ***/
46
+
47
+ :host([media-range="S"]) .ui5-page-content-root,
48
+ :host([media-range="S"][floating-footer]) .ui5-page-footer-root {
49
+ padding: 0 1rem;
50
+ }
51
+
52
+ :host([media-range="S"]) ::slotted([ui5-bar][slot="header"]) {
53
+ box-sizing: border-box;
54
+ padding: 0 .25rem;
55
+ }
56
+
57
+ :host([media-range="M"]) .ui5-page-content-root,
58
+ :host([media-range="L"]) .ui5-page-content-root,
59
+ :host([media-range="M"][floating-footer]) .ui5-page-footer-root,
60
+ :host([media-range="L"][floating-footer]) .ui5-page-footer-root {
61
+ padding: 0 2rem;
62
+ }
63
+
64
+ :host([media-range="M"]) ::slotted([ui5-bar][slot="header"]),
65
+ :host([media-range="L"]) ::slotted([ui5-bar][slot="header"]) {
66
+ box-sizing: border-box;
67
+ padding: 0 1.25rem;
68
+ }
69
+
70
+ :host([media-range="XL"]) .ui5-page-content-root,
71
+ :host([media-range="XL"][floating-footer]) .ui5-page-footer-root {
72
+ padding: 0 3rem;
73
+ }
74
+
75
+ :host([media-range="XL"]) ::slotted([ui5-bar][slot="header"]) {
76
+ box-sizing: border-box;
77
+ padding: 0 2.25rem;
78
+ }
79
+
80
+ :host([disable-scrolling]) .ui5-page-content-root {
81
+ overflow: hidden;
82
+ }
83
+
84
+ :host([hide-footer]:not([floating-footer])) .ui5-page-footer-root {
85
+ display: none;
86
+ }
87
+
88
+ :host([floating-footer]:not([hide-footer])) .ui5-page-footer-root {
89
+ animation: bounceShow 0.35s forwards ease-in-out;
90
+ }
91
+
92
+ :host([floating-footer][hide-footer]) .ui5-page-footer-root {
93
+ animation: bounceHide 0.35s forwards ease-in-out;
94
+ }
95
+
96
+ /* BackgroundDesign */
97
+ :host([background-design="Solid"]) {
98
+ background-color: var(--sapBackgroundColor);
99
+ }
100
+
101
+ :host([background-design="Transparent"]) {
102
+ background-color: transparent;
103
+ }
104
+
105
+ :host([background-design="List"]) {
106
+ background-color: var(--_ui5_page_list_bg);
107
+ }
108
+
109
+ /* Footer animation */
110
+ @keyframes bounceShow {
111
+ 0% {
112
+ transform: translateY(100%);
113
+ opacity: 0;
114
+ }
115
+ 100% {
116
+ opacity: 1;
117
+ }
118
+ }
119
+
120
+ @keyframes bounceHide {
121
+ 0% {
122
+ transform: translateY(-5%);
123
+ opacity: 1;
124
+ }
125
+ 100% {
126
+ transform: translateY(100%);
127
+ opacity: 0;
128
+ }
129
+ }
@@ -0,0 +1,30 @@
1
+ :host {
2
+ font-family: "72override", var(--sapFontFamily);
3
+ font-size: var(--sapFontSize);
4
+ }
5
+
6
+ .ui5-product-switch-root {
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ width: 752px; /* 4 * item size */
10
+ padding: 1.25rem .75rem;
11
+ }
12
+
13
+ :host([desktop-columns="3"]) .ui5-product-switch-root {
14
+ width: 564px; /* 3 * item size */
15
+ }
16
+
17
+ @media only screen and (max-width: 900px) {
18
+ .ui5-product-switch-root {
19
+ width: 564px; /* 3 * item size */
20
+ }
21
+ }
22
+
23
+ @media only screen and (max-width: 600px) {
24
+ .ui5-product-switch-root,
25
+ :host([desktop-columns="3"]) .ui5-product-switch-root {
26
+ flex-direction: column;
27
+ padding: 0;
28
+ width: 100%;
29
+ }
30
+ }
@@ -0,0 +1,179 @@
1
+ :host {
2
+ width: var(--_ui5_product_switch_item_width);
3
+ height: var(--_ui5_product_switch_item_height);
4
+ margin: .25rem;
5
+ border-radius: .25rem;
6
+ box-sizing: border-box;
7
+ background:var(--sapList_Background);
8
+ }
9
+
10
+ :host([selected]) {
11
+ background: var(--sapList_SelectionBackgroundColor);
12
+ border: 0.125rem solid var(--sapList_SelectionBorderColor);
13
+ }
14
+
15
+ :host(:hover) {
16
+ background:var(--sapList_Hover_Background);
17
+ }
18
+
19
+ :host([selected]:hover) {
20
+ background: var(--sapList_Hover_SelectionBackground);
21
+ }
22
+
23
+
24
+ :host([active]),
25
+ :host([selected][active]) {
26
+ background: var(--sapList_Active_Background);
27
+ }
28
+
29
+ :host([active]) .ui5-product-switch-item-root .ui5-product-switch-item-icon,
30
+ :host([active]) .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-title,
31
+ :host([active]) .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-subtitle {
32
+ color:var(--sapList_Active_TextColor);
33
+ }
34
+
35
+ :host([focused]) {
36
+ outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
37
+ outline-offset:var(--_ui5_product_switch_item_outline_offset)
38
+ }
39
+
40
+ :host([active][focused]) {
41
+ outline-color: var(--_ui5_product_switch_item_active_outline_color);
42
+ }
43
+
44
+ .ui5-product-switch-item-root {
45
+ user-select: none;
46
+ -ms-user-select: none;
47
+ width: 100%;
48
+ height: 100%;
49
+ flex-direction: column;
50
+ display: flex;
51
+ align-items: center;
52
+ text-decoration: none;
53
+ outline: none;
54
+ box-sizing: border-box;
55
+ padding: .5rem;
56
+ padding-top: 4rem;
57
+ cursor: pointer;
58
+ border: var(--_ui5_product_switch_item_border);
59
+ }
60
+
61
+ :host([icon]) .ui5-product-switch-item-root {
62
+ padding-top: .5rem;
63
+ }
64
+
65
+ :host([selected]) .ui5-product-switch-item-root {
66
+ padding: .375rem;
67
+ }
68
+
69
+ .ui5-product-switch-item-root .ui5-product-switch-item-icon {
70
+ width: 3rem;
71
+ height: 3rem;
72
+ padding: .75rem;
73
+ margin-bottom: .5rem;
74
+ box-sizing: border-box;
75
+ color: var(--sapContent_IconColor);
76
+ pointer-events: none;
77
+ }
78
+
79
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content {
80
+ display: flex;
81
+ align-items: center;
82
+ flex-direction: column;
83
+ max-width: 10.25rem;
84
+ }
85
+
86
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-subtitle,
87
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-title {
88
+ line-height: 1.25rem;
89
+ white-space: nowrap;
90
+ overflow: hidden;
91
+ text-overflow: ellipsis;
92
+ max-width: 100%;
93
+ pointer-events: none;
94
+ text-align: center;
95
+ }
96
+
97
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-title {
98
+ font-size:var( --sapFontHeader6Size);
99
+ color:var(--sapGroup_TitleTextColor);
100
+ }
101
+
102
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-title:only-child {
103
+ white-space: normal;
104
+ -webkit-line-clamp: 2;
105
+ display: -webkit-box;
106
+ -webkit-box-orient: vertical;
107
+ }
108
+
109
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-subtitle {
110
+ font-size:var( --sapFontSmallSize);
111
+ color:var(--sapContent_LabelColor);
112
+ }
113
+
114
+ @media only screen and (max-width: 600px) {
115
+ :host {
116
+ margin: 0;
117
+ width: 100%;
118
+ width: 100%;
119
+ max-width: 600px;
120
+ height: 5rem;
121
+ border-radius: 0;
122
+ }
123
+
124
+ .ui5-product-switch-item-root {
125
+ padding: 0 1rem;
126
+ flex-direction: row;
127
+ }
128
+
129
+ :host([icon]) .ui5-product-switch-item-root {
130
+ padding-top: 0;
131
+ }
132
+
133
+ .ui5-product-switch-item-root .ui5-product-switch-item-icon {
134
+ padding: .875rem;
135
+ color: var(--sapContent_NonInteractiveIconColor);
136
+ margin: 0 .75rem 0 0;
137
+ }
138
+
139
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content {
140
+ align-items: flex-start;
141
+ max-width: 100%;
142
+ }
143
+
144
+ :host([icon]) .ui5-product-switch-item-root .ui5-product-switch-item-text-content {
145
+ max-width: calc(100% - 3.75rem); /* 100% width - (3rem for the icon + right margin)*/
146
+ }
147
+
148
+
149
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-subtitle,
150
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-title {
151
+ line-height: normal;
152
+ }
153
+
154
+ .ui5-product-switch-item-root .ui5-product-switch-item-text-content .ui5-product-switch-item-subtitle {
155
+ font-size: var(--sapFontSize);
156
+ padding-top: .75rem;
157
+ }
158
+ }
159
+
160
+ [ui5-product-switch-item][focused] {
161
+ outline: none;
162
+ position: relative;
163
+ }
164
+
165
+ [ui5-product-switch-item][focused] .ui5-product-switch-item-root::after {
166
+ content: "";
167
+ position: absolute;
168
+ border-color: var(--_ui5_product_switch_item_outline_color);
169
+ border-width: var(--_ui5_product_switch_item_outline_width);
170
+ border-style: dotted;
171
+ top: var(--_ui5_product_switch_item_outline_offset_positive);
172
+ bottom: var(--_ui5_product_switch_item_outline_offset_positive);
173
+ left: var(--_ui5_product_switch_item_outline_offset_positive);
174
+ right: var(--_ui5_product_switch_item_outline_offset_positive);
175
+ }
176
+
177
+ [ui5-product-switch-item][active][focused] .ui5-product-switch-item-root::after {
178
+ border-color: var(--_ui5_product_switch_item_active_outline_color);
179
+ }