@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
@@ -1,4 +1,4 @@
1
- import { fetchI18nBundle, getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
1
+ import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
2
2
  import { isPhone } from "@ui5/webcomponents-base/dist/Device.js";
3
3
  import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
4
4
  import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
@@ -208,7 +208,6 @@ const metadata = {
208
208
  class ViewSettingsDialog extends UI5Element {
209
209
  constructor() {
210
210
  super();
211
- this.i18nBundle = getI18nBundle("@ui5/webcomponents-fiori");
212
211
  this._currentSettings = {
213
212
  sortOrder: [],
214
213
  sortBy: [],
@@ -267,7 +266,7 @@ class ViewSettingsDialog extends UI5Element {
267
266
  }
268
267
 
269
268
  static async onDefine() {
270
- await fetchI18nBundle("@ui5/webcomponents-fiori");
269
+ ViewSettingsDialog.i18nBundle = await getI18nBundle("@ui5/webcomponents-fiori");
271
270
  }
272
271
 
273
272
  get _selectedFilter() {
@@ -281,44 +280,44 @@ class ViewSettingsDialog extends UI5Element {
281
280
  }
282
281
 
283
282
  get _filterByTitle() {
284
- return `${this.i18nBundle.getText(VSD_FILTER_BY)}: ${this._selectedFilter.text}`;
283
+ return `${ViewSettingsDialog.i18nBundle.getText(VSD_FILTER_BY)}: ${this._selectedFilter.text}`;
285
284
  }
286
285
 
287
286
  get _dialogTitle() {
288
287
  const currentModeText = this._currentMode === ViewSettingsDialogMode.Sort ? VSD_DIALOG_TITLE_SORT : VSD_FILTER_BY;
289
- return this.i18nBundle.getText(currentModeText);
288
+ return ViewSettingsDialog.i18nBundle.getText(currentModeText);
290
289
  }
291
290
 
292
291
  get _okButtonLabel() {
293
- return this.i18nBundle.getText(VSD_SUBMIT_BUTTON);
292
+ return ViewSettingsDialog.i18nBundle.getText(VSD_SUBMIT_BUTTON);
294
293
  }
295
294
 
296
295
  get _cancelButtonLabel() {
297
- return this.i18nBundle.getText(VSD_CANCEL_BUTTON);
296
+ return ViewSettingsDialog.i18nBundle.getText(VSD_CANCEL_BUTTON);
298
297
  }
299
298
 
300
299
  get _resetButtonLabel() {
301
- return this.i18nBundle.getText(VSD_RESET_BUTTON);
300
+ return ViewSettingsDialog.i18nBundle.getText(VSD_RESET_BUTTON);
302
301
  }
303
302
 
304
303
  get _ascendingLabel() {
305
- return this.i18nBundle.getText(VSD_ORDER_ASCENDING);
304
+ return ViewSettingsDialog.i18nBundle.getText(VSD_ORDER_ASCENDING);
306
305
  }
307
306
 
308
307
  get _descendingLabel() {
309
- return this.i18nBundle.getText(VSD_ORDER_DESCENDING);
308
+ return ViewSettingsDialog.i18nBundle.getText(VSD_ORDER_DESCENDING);
310
309
  }
311
310
 
312
311
  get _sortOrderLabel() {
313
- return this.i18nBundle.getText(VSD_SORT_ORDER);
312
+ return ViewSettingsDialog.i18nBundle.getText(VSD_SORT_ORDER);
314
313
  }
315
314
 
316
315
  get _filterByLabel() {
317
- return this.i18nBundle.getText(VSD_FILTER_BY);
316
+ return ViewSettingsDialog.i18nBundle.getText(VSD_FILTER_BY);
318
317
  }
319
318
 
320
319
  get _sortByLabel() {
321
- return this.i18nBundle.getText(VSD_SORT_BY);
320
+ return ViewSettingsDialog.i18nBundle.getText(VSD_SORT_BY);
322
321
  }
323
322
 
324
323
  get _isPhone() {
package/src/Wizard.hbs CHANGED
@@ -33,9 +33,11 @@
33
33
  ?hidden="{{disabled}}"
34
34
  ?selected="{{selected}}"
35
35
  ?stretch="{{stretch}}"
36
+ aria-label="{{stepContentAriaLabel}}"
37
+ role="region"
36
38
  data-ui5-content-item-ref-id="{{_id}}">
37
39
  <slot name="{{this._individualSlot}}"></slot>
38
40
  </div>
39
41
  {{/each}}
40
42
  </div>
41
- </div>
43
+ </div>
package/src/Wizard.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
2
  import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- import { fetchI18nBundle, getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
3
+ import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
4
4
  import ItemNavigation from "@ui5/webcomponents-base/dist/delegate/ItemNavigation.js";
5
5
  import NavigationMode from "@ui5/webcomponents-base/dist/types/NavigationMode.js";
6
6
  import Float from "@ui5/webcomponents-base/dist/types/Float.js";
@@ -57,19 +57,6 @@ const metadata = {
57
57
  tag: "ui5-wizard",
58
58
  managedSlots: true,
59
59
  properties: /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */ {
60
- /**
61
- * Sets the accessible aria name of the component.
62
- *
63
- * @type {String}
64
- * @defaultvalue undefined
65
- * @public
66
- * @since 1.0.0-rc.15
67
- */
68
- accessibleName: {
69
- type: String,
70
- defaultValue: undefined,
71
- },
72
-
73
60
  /**
74
61
  * Defines the width of the <code>ui5-wizard</code>.
75
62
  * @private
@@ -261,8 +248,6 @@ class Wizard extends UI5Element {
261
248
  });
262
249
 
263
250
  this._onStepResize = this.onStepResize.bind(this);
264
-
265
- this.i18nBundle = getI18nBundle("@ui5/webcomponents-fiori");
266
251
  }
267
252
 
268
253
  static get metadata() {
@@ -305,7 +290,7 @@ class Wizard extends UI5Element {
305
290
  }
306
291
 
307
292
  static async onDefine() {
308
- await fetchI18nBundle("@ui5/webcomponents-fiori");
293
+ Wizard.i18nBundle = await getI18nBundle("@ui5/webcomponents-fiori");
309
294
  }
310
295
 
311
296
  static get PHONE_BREAKPOINT() {
@@ -695,7 +680,7 @@ class Wizard extends UI5Element {
695
680
  }
696
681
 
697
682
  getStepAriaLabelText(step, ariaLabel) {
698
- return this.i18nBundle.getText(WIZARD_STEP_ARIA_LABEL, ariaLabel);
683
+ return Wizard.i18nBundle.getText(WIZARD_STEP_ARIA_LABEL, ariaLabel);
699
684
  }
700
685
 
701
686
  get stepsDOM() {
@@ -708,9 +693,11 @@ class Wizard extends UI5Element {
708
693
 
709
694
  get _steps() {
710
695
  const lastEnabledStepIndex = this.getLastEnabledStepIndex();
696
+ const stepsInfo = this.getStepsInfo();
711
697
 
712
698
  return this.steps.map((step, idx) => {
713
699
  step.stretch = idx === lastEnabledStepIndex;
700
+ step.stepContentAriaLabel = `${this.navStepDefaultHeading} ${stepsInfo[idx].number} ${stepsInfo[idx].titleText}`;
714
701
  return step;
715
702
  });
716
703
  }
@@ -772,43 +759,43 @@ class Wizard extends UI5Element {
772
759
  }
773
760
 
774
761
  get navAriaRoleDescription() {
775
- return this.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
762
+ return Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
776
763
  }
777
764
 
778
765
  get navAriaLabelText() {
779
- return this.i18nBundle.getText(WIZARD_NAV_ARIA_LABEL);
766
+ return Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_LABEL);
780
767
  }
781
768
 
782
769
  get navAriaDescribedbyText() {
783
- return this.i18nBundle.getText(WIZARD_LIST_ARIA_DESCRIBEDBY);
770
+ return Wizard.i18nBundle.getText(WIZARD_LIST_ARIA_DESCRIBEDBY);
784
771
  }
785
772
 
786
773
  get listAriaLabelText() {
787
- return this.i18nBundle.getText(WIZARD_LIST_ARIA_LABEL);
774
+ return Wizard.i18nBundle.getText(WIZARD_LIST_ARIA_LABEL);
788
775
  }
789
776
 
790
777
  get actionSheetStepsText() {
791
- return this.i18nBundle.getText(WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);
778
+ return Wizard.i18nBundle.getText(WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);
792
779
  }
793
780
 
794
781
  get navStepDefaultHeading() {
795
- return this.i18nBundle.getText(WIZARD_NAV_STEP_DEFAULT_HEADING);
782
+ return Wizard.i18nBundle.getText(WIZARD_NAV_STEP_DEFAULT_HEADING);
796
783
  }
797
784
 
798
785
  get optionalStepText() {
799
- return this.i18nBundle.getText(WIZARD_OPTIONAL_STEP_ARIA_LABEL);
786
+ return Wizard.i18nBundle.getText(WIZARD_OPTIONAL_STEP_ARIA_LABEL);
800
787
  }
801
788
 
802
789
  get activeStepText() {
803
- return this.i18nBundle.getText(WIZARD_STEP_ACTIVE);
790
+ return Wizard.i18nBundle.getText(WIZARD_STEP_ACTIVE);
804
791
  }
805
792
 
806
793
  get inactiveStepText() {
807
- return this.i18nBundle.getText(WIZARD_STEP_INACTIVE);
794
+ return Wizard.i18nBundle.getText(WIZARD_STEP_INACTIVE);
808
795
  }
809
796
 
810
797
  get ariaLabelText() {
811
- return this.accessibleName || this.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
798
+ return Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
812
799
  }
813
800
 
814
801
  get effectiveStepSwitchThreshold() {
@@ -861,7 +848,9 @@ class Wizard extends UI5Element {
861
848
  accInfo,
862
849
  refStepId: step._id,
863
850
  tabIndex: this.selectedStepIndex === idx ? "0" : "-1",
864
- styles: `z-index: ${isAfterCurrent ? --inintialZIndex : 1}`,
851
+ styles: {
852
+ zIndex: isAfterCurrent ? --inintialZIndex : 1,
853
+ },
865
854
  };
866
855
  });
867
856
  }
package/src/WizardStep.js CHANGED
@@ -99,29 +99,6 @@ const metadata = {
99
99
  branching: {
100
100
  type: Boolean,
101
101
  },
102
-
103
- /**
104
- * Sets the accessible aria name of the component.
105
- *
106
- * @type {String}
107
- * @defaultvalue ""
108
- * @public
109
- * @since 1.0.0-rc.15
110
- */
111
- accessibleName: {
112
- type: String,
113
- },
114
-
115
- /**
116
- * Defines the aria-labelledby of the step.
117
- * @type {String}
118
- * @defaultvalue ""
119
- * @public
120
- * @since 1.0.0-rc.15
121
- */
122
- accessibleNameRef: {
123
- type: String,
124
- },
125
102
  },
126
103
  slots: /** @lends sap.ui.webcomponents.fiori.WizardStep.prototype */ {
127
104
  /**
@@ -0,0 +1,72 @@
1
+ :host {
2
+ background-color: var(--sapPageHeader_Background);
3
+ height: var(--_ui5_bar_base_height);
4
+ width: 100%;
5
+ box-shadow: inset 0 -0.0625rem var(--sapPageHeader_BorderColor);
6
+ display: block;
7
+ }
8
+
9
+ .ui5-bar-root {
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: space-between;
13
+ height: inherit;
14
+ width: inherit;
15
+ background-color: inherit;
16
+ box-shadow: inherit;
17
+ border-radius: inherit;
18
+ }
19
+
20
+ .ui5-bar-root .ui5-bar-startcontent-container {
21
+ padding-left: 0.5rem;
22
+ display: flex;
23
+ flex-direction: row;
24
+ align-items: center;
25
+ justify-content: flex-start;
26
+ }
27
+
28
+ .ui5-bar-root .ui5-bar-content-container {
29
+ min-width: 30%;
30
+ }
31
+
32
+ .ui5-bar-root.ui5-bar-root-shrinked .ui5-bar-content-container {
33
+ min-width: 0px;
34
+ overflow: hidden;
35
+ }
36
+
37
+ .ui5-bar-root .ui5-bar-endcontent-container {
38
+ padding-right: 0.5rem;
39
+ display: flex;
40
+ flex-direction: row;
41
+ align-items: center;
42
+ justify-content: flex-end;
43
+ }
44
+ .ui5-bar-root .ui5-bar-midcontent-container {
45
+ padding-left: 0.5rem;
46
+ padding-right: 0.5rem;
47
+ display: flex;
48
+ flex-direction: row;
49
+ align-items: center;
50
+ justify-content: center;
51
+ }
52
+
53
+ :host([design="Footer"]){
54
+ background-color: var(--sapPageFooter_Background);
55
+ border-top: 0.0625rem solid var(--sapPageFooter_BorderColor);
56
+ box-shadow: none;
57
+ }
58
+
59
+ :host([design="Subheader"]){
60
+ height: var(--_ui5_bar_subheader_height);
61
+ }
62
+
63
+ :host([design="FloatingFooter"]){
64
+ border-radius: var(--sapElement_BorderCornerRadius);
65
+ background-color: var(--sapPageFooter_Background);
66
+ box-shadow: var(--sapContent_Shadow1);
67
+ border: none;
68
+ }
69
+
70
+ ::slotted(*){
71
+ margin: 0 0.25rem;
72
+ }
@@ -0,0 +1,35 @@
1
+ /* video */
2
+ .ui5-barcode-scanner-dialog-video-wrapper,
3
+ .ui5-barcode-scanner-dialog-video {
4
+ height:100%;
5
+ width: 100%;
6
+ }
7
+
8
+ .ui5-barcode-scanner-dialog-video {
9
+ object-fit: cover;
10
+ }
11
+
12
+ /* footer */
13
+ .ui5-barcode-scanner-dialog-footer {
14
+ display: flex;
15
+ justify-content: flex-end;
16
+ width: 100%;
17
+ padding: 0 0.5rem 0 0;
18
+ }
19
+
20
+ [dir="rtl"] .ui5-barcode-scanner-dialog-footer {
21
+ padding: 0 0 0 0.5rem;
22
+ }
23
+
24
+ /* busy indicator */
25
+ .ui5-barcode-scanner-dialog-busy {
26
+ position: absolute;
27
+ top: 50%;
28
+ left: 50%;
29
+ transform: translate(-50%, -50%);
30
+ z-index: 1;
31
+ }
32
+
33
+ .ui5-barcode-scanner-dialog-busy:not([active]) {
34
+ display: none;
35
+ }
@@ -0,0 +1,3 @@
1
+ .ui5-li-content {
2
+ justify-content: space-between;
3
+ }
@@ -0,0 +1,111 @@
1
+ @import "./InvisibleTextStyles.css";
2
+
3
+ :host(:not([hidden])) {
4
+ display: block;
5
+ background: var(--_ui5_fcl_solid_bg);
6
+ }
7
+
8
+ .ui5-fcl-root {
9
+ height: 100%;
10
+ display: flex;
11
+ flex-direction: row;
12
+ }
13
+
14
+ /* columns */
15
+ .ui5-fcl-column {
16
+ background: inherit;
17
+ box-sizing: border-box;
18
+ will-change: width;
19
+ overflow-y: auto;
20
+ }
21
+
22
+ .ui5-fcl-column-animation {
23
+ transition: width 560ms cubic-bezier(0.1, 0, 0.05, 1), visibility 560ms ease-in;
24
+ }
25
+
26
+ :host([_visible-columns="2"]) .ui5-fcl-column--start {
27
+ border-right: var(--_ui5_fcl_column_border);
28
+ }
29
+
30
+ :host([_visible-columns="3"]) .ui5-fcl-column--start {
31
+ border-right: var(--_ui5_fcl_column_border);
32
+ }
33
+
34
+ :host([_visible-columns="2"]) .ui5-fcl-column--middle {
35
+ border-left: var(--_ui5_fcl_column_border)
36
+ }
37
+
38
+ :host([_visible-columns="3"]) .ui5-fcl-column--middle {
39
+ border-left: var(--_ui5_fcl_column_border)
40
+ }
41
+
42
+ :host([_visible-columns="3"]) .ui5-fcl-column--middle {
43
+ border-right: var(--_ui5_fcl_column_border)
44
+ }
45
+
46
+ :host([_visible-columns="3"]) .ui5-fcl-column--end {
47
+ border-left: var(--_ui5_fcl_column_border);
48
+ }
49
+
50
+ .ui5-fcl-column--hidden {
51
+ display: none;
52
+ }
53
+
54
+ /* arrow */
55
+ .ui5-fcl-arrow-container {
56
+ display: flex;
57
+ align-items: center;
58
+ justify-content: center;
59
+ width: 1rem;
60
+ background-color: var(--sapShell_Background);
61
+ }
62
+
63
+ .ui5-fcl-arrow {
64
+ position: relative;
65
+ width: 1.5rem;
66
+ height: 1.5rem;
67
+ min-width: 1.5rem;
68
+ will-change: transform;
69
+ overflow: visible;
70
+ z-index: 1;
71
+ }
72
+
73
+ /* arrow decoration */
74
+ .ui5-fcl-arrow:before {
75
+ background-image: var(--_ui5_fcl_decoration_top);
76
+ background-position-y: -0.3125rem;
77
+ bottom: 100%;
78
+ }
79
+
80
+ .ui5-fcl-arrow:after {
81
+ background-image: var(--_ui5_fcl_decoration_bottom);
82
+ background-position-y: 0.3125rem;
83
+ top: 100%;
84
+ }
85
+
86
+ .ui5-fcl-arrow:before,
87
+ .ui5-fcl-arrow:after {
88
+ content: '';
89
+ position: absolute;
90
+ left: 0;
91
+ height: 4rem;
92
+ width: 100%;
93
+ transition: all 0.1s ease-in;
94
+ background-repeat: no-repeat;
95
+ background-size: 0.0625rem 100%;
96
+ background-position-x: calc(50% - 0.03125rem);
97
+ }
98
+
99
+ .ui5-fcl-arrow:hover:before,
100
+ .ui5-fcl-arrow:hover:after {
101
+ height: 7rem;
102
+ }
103
+
104
+ /*
105
+ * IE FIX:
106
+ * The column separator, that is also the arrow container, is 1rem,
107
+ * whereas the arrow button is 1.5rem and the arrows just doesnt center within the
108
+ */
109
+ .ui5-fcl--ie .ui5-fcl-arrow {
110
+ margin: 0 -0.75rem;
111
+ }
@@ -0,0 +1,167 @@
1
+ :host(:not([hidden])) {
2
+ display: block;
3
+ }
4
+
5
+ :host {
6
+ box-sizing: border-box;
7
+ width: 100%;
8
+ padding: 1rem;
9
+ }
10
+
11
+ .ui5-illustrated-message-root {
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ justify-content: center;
16
+ }
17
+
18
+ .ui5-illustrated-message-illustration {
19
+ margin-bottom: 2rem;
20
+ }
21
+
22
+ .ui5-illustrated-message-title {
23
+ text-align: center;
24
+ margin-bottom: 0.5rem;
25
+ line-height: 1.3;
26
+ max-width: 30rem;
27
+ }
28
+
29
+ .ui5-illustrated-message-subtitle {
30
+ text-align: center;
31
+ font-size: var(--sapFontLargeSize);
32
+ font-family: var(--sapFontFamily);
33
+ line-height: 1.4;
34
+ color: var(--sapContent_LabelColor);
35
+ margin-bottom: 2rem;
36
+ max-width: 30rem;
37
+ }
38
+
39
+ .ui5-illustrated-message-actions {
40
+ margin-bottom: 2rem;
41
+ }
42
+
43
+ :host([media="dialog"]) .ui5-illustrated-message-illustration {
44
+ margin-top: 1rem;
45
+ margin-bottom: 2rem;
46
+ }
47
+
48
+ :host([media="dialog"]) .ui5-illustrated-message-title {
49
+ margin-bottom: 0.25rem;
50
+ font-size: var(--sapFontHeader4Size);
51
+ max-width: 20rem;
52
+ }
53
+
54
+ :host([media="dialog"]) .ui5-illustrated-message-subtitle {
55
+ font-size: var(--sapFontSize);
56
+ max-width: 20rem;
57
+ }
58
+
59
+ :host([media="dialog"]) .ui5-illustrated-message-actions {
60
+ margin-bottom: 0rem;
61
+ }
62
+
63
+ :host([media="spot"]) .ui5-illustrated-message-illustration {
64
+ margin-top: 0.5rem;
65
+ margin-bottom: 0.5rem;
66
+ }
67
+
68
+ :host([media="spot"]) .ui5-illustrated-message-title {
69
+ margin-bottom: 0.25rem;
70
+ font-size: var(--sapFontHeader5Size);
71
+ line-height: 1.25rem;
72
+ max-width: 16rem;
73
+ }
74
+
75
+ :host([media="spot"]) .ui5-illustrated-message-subtitle {
76
+ font-size: var(--sapFontSize);
77
+ max-width: 16rem;
78
+ margin-bottom: 1rem;
79
+ }
80
+
81
+ :host([media="spot"]) .ui5-illustrated-message-actions {
82
+ margin-top: 0.5rem;
83
+ margin-bottom: 1rem;
84
+ }
85
+
86
+ :host([media="base"]) .ui5-illustrated-message-illustration {
87
+ display: none;
88
+ }
89
+
90
+ :host([media="base"]) .ui5-illustrated-message-title {
91
+ margin-bottom: 0.25rem;
92
+ font-size: var(--sapFontHeader5Size);
93
+ line-height: 1.25rem;
94
+ max-width: 10rem;
95
+ }
96
+
97
+ :host([media="base"]) .ui5-illustrated-message-subtitle {
98
+ font-size: var(--sapFontSize);
99
+ max-width: 10rem;
100
+ margin-bottom: 0rem;
101
+ }
102
+
103
+ .ui5-illustrated-message-util {
104
+ position: absolute;
105
+ top: -9999px;
106
+ left: -9999px;
107
+ }
108
+
109
+ :host([invalid]) .ui5-illustrated-message-illustration,
110
+ :host([invalid]:not([title-text])) .ui5-illustrated-message-title,
111
+ :host([invalid]:not([subtitle-text])) .ui5-illustrated-message-subtitle {
112
+ display: none;
113
+ }
114
+
115
+ .sapIllus_BackgroundColor {
116
+ fill: var(--sapIllus_BackgroundColor);
117
+ }
118
+
119
+ .sapIllus_BrandColorPrimary {
120
+ fill: var(--sapIllus_BrandColorPrimary);
121
+ }
122
+
123
+ .sapIllus_BrandColorSecondary {
124
+ fill: var(--sapIllus_BrandColorSecondary);
125
+ }
126
+
127
+ .sapIllus_StrokeDetailColor {
128
+ fill: var(--sapIllus_StrokeDetailColor);
129
+ }
130
+
131
+ .sapIllus_Layering1 {
132
+ fill: var(--sapIllus_Layering1);
133
+ }
134
+
135
+ .sapIllus_Layering2 {
136
+ fill: var(--sapIllus_Layering2);
137
+ }
138
+
139
+ .sapIllus_ObjectFillColor {
140
+ fill: var(--sapIllus_ObjectFillColor);
141
+ }
142
+
143
+ .sapIllus_AccentColor {
144
+ fill: var(--sapIllus_AccentColor);
145
+ }
146
+
147
+ .sapIllus_NoColor {
148
+ fill: var(--sapIllus_NoColor);
149
+ }
150
+
151
+ .sapIllus_PatternShadow {
152
+ fill: var(--sapIllus_PatternShadow);
153
+ }
154
+
155
+ .sapIllus_PatternHighlight {
156
+ fill: var(--sapIllus_PatternHighlight);
157
+ }
158
+
159
+ .sapIllus_NoColor_Fill {
160
+ fill: var(--sapIllus_NoColor);
161
+ }
162
+ .sapIllus_BrandColorPrimary_Fill {
163
+ fill: var(--sapIllus_BrandColorPrimary);
164
+ }
165
+ .sapIllus_ObjectFillColor_Fill {
166
+ fill: var(--sapIllus_ObjectFillColor);
167
+ }
@@ -0,0 +1,9 @@
1
+ .ui5-hidden-text {
2
+ position: absolute;
3
+ clip: rect(1px,1px,1px,1px);
4
+ user-select: none;
5
+ left: -1000px; /* ensure the invisible texts are never part of the viewport */
6
+ top: -1000px;
7
+ pointer-events: none;
8
+ font-size: 0;
9
+ }
@@ -0,0 +1,5 @@
1
+ .ui5-notification-overflow-list {
2
+ display: flex;
3
+ flex-direction: column;
4
+ padding: 0 0.5rem;
5
+ }