@ui5/webcomponents 1.10.0 → 1.10.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.
Files changed (101) hide show
  1. package/.dev-server-port +1 -0
  2. package/CHANGELOG.md +101 -0
  3. package/dist/Avatar.d.ts +2 -2
  4. package/dist/Badge.d.ts +3 -3
  5. package/dist/Breadcrumbs.d.ts +5 -5
  6. package/dist/Breadcrumbs.js +1 -1
  7. package/dist/BusyIndicator.d.ts +136 -0
  8. package/dist/BusyIndicator.js +126 -208
  9. package/dist/BusyIndicator.js.map +1 -0
  10. package/dist/Button.d.ts +3 -3
  11. package/dist/Calendar.d.ts +3 -3
  12. package/dist/Calendar.js +1 -1
  13. package/dist/CalendarHeader.d.ts +2 -2
  14. package/dist/Card.d.ts +3 -3
  15. package/dist/Card.js +1 -1
  16. package/dist/CardHeader.d.ts +2 -2
  17. package/dist/Carousel.d.ts +318 -0
  18. package/dist/Carousel.js +446 -642
  19. package/dist/Carousel.js.map +1 -0
  20. package/dist/CheckBox.d.ts +3 -3
  21. package/dist/ColorPalette.d.ts +5 -5
  22. package/dist/ColorPalette.js +1 -1
  23. package/dist/ColorPaletteItem.d.ts +2 -2
  24. package/dist/ColorPalettePopover.d.ts +2 -2
  25. package/dist/ColorPicker.d.ts +2 -2
  26. package/dist/ComboBox.js +2 -2
  27. package/dist/CustomListItem.d.ts +1 -1
  28. package/dist/DatePicker.d.ts +2 -2
  29. package/dist/DateTimePicker.d.ts +1 -1
  30. package/dist/DayPicker.d.ts +2 -2
  31. package/dist/Dialog.d.ts +4 -5
  32. package/dist/FileUploader.d.ts +4 -4
  33. package/dist/GroupHeaderListItem.d.ts +1 -1
  34. package/dist/Icon.d.ts +2 -2
  35. package/dist/Input.d.ts +5 -5
  36. package/dist/Input.js +1 -1
  37. package/dist/Label.d.ts +2 -2
  38. package/dist/Link.d.ts +2 -2
  39. package/dist/List.d.ts +4 -3
  40. package/dist/List.js +1 -1
  41. package/dist/ListItem.d.ts +1 -1
  42. package/dist/Menu.d.ts +3 -3
  43. package/dist/Menu.js +1 -1
  44. package/dist/MessageStrip.d.ts +2 -2
  45. package/dist/MonthPicker.d.ts +2 -2
  46. package/dist/MultiComboBox.js +6 -2
  47. package/dist/MultiInput.js +1 -1
  48. package/dist/Panel.d.ts +2 -2
  49. package/dist/Popover.d.ts +1 -1
  50. package/dist/Popup.d.ts +3 -3
  51. package/dist/ProgressIndicator.d.ts +2 -2
  52. package/dist/RangeSlider.d.ts +1 -1
  53. package/dist/ResponsivePopover.d.ts +1 -1
  54. package/dist/SegmentedButton.js +1 -1
  55. package/dist/Select.js +1 -1
  56. package/dist/Slider.d.ts +1 -1
  57. package/dist/SplitButton.d.ts +2 -2
  58. package/dist/StandardListItem.d.ts +2 -2
  59. package/dist/StepInput.d.ts +2 -2
  60. package/dist/SuggestionListItem.d.ts +1 -1
  61. package/dist/Switch.d.ts +2 -2
  62. package/dist/TabContainer.js +1 -2
  63. package/dist/Table.d.ts +6 -4
  64. package/dist/Table.js +1 -1
  65. package/dist/TableCell.d.ts +2 -2
  66. package/dist/TableColumn.d.ts +2 -2
  67. package/dist/TableGroupRow.d.ts +2 -2
  68. package/dist/TableRow.d.ts +2 -2
  69. package/dist/TimePickerBase.d.ts +4 -4
  70. package/dist/TimeSelection.d.ts +2 -2
  71. package/dist/Title.d.ts +2 -2
  72. package/dist/Tree.js +1 -1
  73. package/dist/WheelSlider.d.ts +2 -2
  74. package/dist/YearPicker.d.ts +2 -2
  75. package/dist/api.json +1 -1
  76. package/dist/generated/templates/CarouselTemplate.lit.js +2 -2
  77. package/global.d.ts +2 -2
  78. package/package.json +7 -7
  79. package/src/Badge.ts +1 -1
  80. package/src/Breadcrumbs.ts +1 -1
  81. package/src/{BusyIndicator.js → BusyIndicator.ts} +95 -100
  82. package/src/Calendar.ts +1 -1
  83. package/src/Card.ts +1 -1
  84. package/src/Carousel.hbs +3 -3
  85. package/src/{Carousel.js → Carousel.ts} +242 -234
  86. package/src/CheckBox.ts +1 -1
  87. package/src/ColorPalette.ts +1 -1
  88. package/src/ComboBox.js +2 -2
  89. package/src/Dialog.ts +2 -2
  90. package/src/Input.ts +1 -1
  91. package/src/List.ts +1 -1
  92. package/src/ListItem.ts +1 -1
  93. package/src/Menu.ts +1 -1
  94. package/src/MultiComboBox.js +6 -2
  95. package/src/MultiInput.js +1 -1
  96. package/src/SegmentedButton.js +1 -1
  97. package/src/Select.js +1 -1
  98. package/src/TabContainer.js +1 -2
  99. package/src/Table.ts +1 -1
  100. package/src/Tree.hbs +1 -1
  101. package/src/Tree.js +1 -1
package/src/ComboBox.js CHANGED
@@ -292,7 +292,7 @@ const metadata = {
292
292
  /**
293
293
  * Defines the icon to be displayed in the input field.
294
294
  *
295
- * @type {sap.ui.webc.main.IIcon}
295
+ * @type {sap.ui.webc.main.IIcon[]}
296
296
  * @slot
297
297
  * @public
298
298
  * @since 1.0.0-rc.9
@@ -379,7 +379,7 @@ const metadata = {
379
379
  * @alias sap.ui.webc.main.ComboBox
380
380
  * @extends sap.ui.webc.base.UI5Element
381
381
  * @tagname ui5-combobox
382
- * @appenddocs ComboBoxItem ComboBoxGroupItem
382
+ * @appenddocs sap.ui.webc.main.ComboBoxItem sap.ui.webc.main.ComboBoxGroupItem
383
383
  * @public
384
384
  * @since 1.0.0-rc.6
385
385
  */
package/src/Dialog.ts CHANGED
@@ -186,8 +186,8 @@ class Dialog extends Popup {
186
186
  _resizeMouseMoveHandler: (e: MouseEvent) => void;
187
187
  _resizeMouseUpHandler: (e: MouseEvent) => void;
188
188
  _dragStartHandler: (e: DragEvent) => void;
189
- _y?: int;
190
- _x?: int;
189
+ _y?: number;
190
+ _x?: number;
191
191
  _isRTL?: boolean;
192
192
  _screenResizeHandlerAttached?: boolean;
193
193
  _initialX?: number;
package/src/Input.ts CHANGED
@@ -173,7 +173,7 @@ type SuggestionScrollEventDetail = {
173
173
  * @alias sap.ui.webc.main.Input
174
174
  * @extends sap.ui.webc.base.UI5Element
175
175
  * @tagname ui5-input
176
- * @appenddocs SuggestionItem SuggestionGroupItem
176
+ * @appenddocs sap.ui.webc.main.SuggestionItem sap.ui.webc.main.SuggestionGroupItem
177
177
  * @implements sap.ui.webc.main.IInput
178
178
  * @public
179
179
  */
package/src/List.ts CHANGED
@@ -140,7 +140,7 @@ type ClickEventDetail = CloseEventDetail;
140
140
  * @alias sap.ui.webc.main.List
141
141
  * @extends sap.ui.webc.base.UI5Element
142
142
  * @tagname ui5-list
143
- * @appenddocs StandardListItem CustomListItem GroupHeaderListItem
143
+ * @appenddocs sap.ui.webc.main.StandardListItem sap.ui.webc.main.CustomListItem sap.ui.webc.main.GroupHeaderListItem
144
144
  * @public
145
145
  */
146
146
  @customElement("ui5-list")
package/src/ListItem.ts CHANGED
@@ -9,7 +9,7 @@ import property from "@ui5/webcomponents-base/dist/decorators/property.js";
9
9
  import event from "@ui5/webcomponents-base/dist/decorators/event.js";
10
10
  import languageAware from "@ui5/webcomponents-base/dist/decorators/languageAware.js";
11
11
  import slot from "@ui5/webcomponents-base/dist/decorators/slot.js";
12
- import type UI5Element from "@ui5/webcomponents-base/src/UI5Element.js";
12
+ import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
13
13
  import "@ui5/webcomponents-icons/dist/decline.js";
14
14
  import "@ui5/webcomponents-icons/dist/edit.js";
15
15
  import ListItemType from "./types/ListItemType.js";
package/src/Menu.ts CHANGED
@@ -79,7 +79,7 @@ type OpenerStandardListItem = StandardListItem & { associatedItem: MenuItem };
79
79
  * @alias sap.ui.webc.main.Menu
80
80
  * @extends sap.ui.webc.base.UI5Element
81
81
  * @tagname ui5-menu
82
- * @appenddocs MenuItem
82
+ * @appenddocs sap.ui.webc.main.MenuItem
83
83
  * @since 1.3.0
84
84
  * @public
85
85
  */
@@ -111,7 +111,7 @@ const metadata = {
111
111
  /**
112
112
  * Defines the icon to be displayed in the component.
113
113
  *
114
- * @type {sap.ui.webc.main.IIcon}
114
+ * @type {sap.ui.webc.main.IIcon[]}
115
115
  * @slot
116
116
  * @public
117
117
  * @since 1.0.0-rc.9
@@ -434,7 +434,7 @@ const metadata = {
434
434
  * @extends sap.ui.webc.base.UI5Element
435
435
  * @tagname ui5-multi-combobox
436
436
  * @public
437
- * @appenddocs MultiComboBoxItem MultiComboBoxGroupItem
437
+ * @appenddocs sap.ui.webc.main.MultiComboBoxItem sap.ui.webc.main.MultiComboBoxGroupItem
438
438
  * @since 0.11.0
439
439
  */
440
440
  class MultiComboBox extends UI5Element {
@@ -681,6 +681,10 @@ class MultiComboBox extends UI5Element {
681
681
  }
682
682
 
683
683
  async _handlePaste(event) {
684
+ if (this.readonly) {
685
+ return;
686
+ }
687
+
684
688
  const pastedText = await navigator.clipboard.readText();
685
689
 
686
690
  if (!pastedText) {
package/src/MultiInput.js CHANGED
@@ -101,7 +101,7 @@ const metadata = {
101
101
  * @alias sap.ui.webc.main.MultiInput
102
102
  * @extends sap.ui.webc.main.Input
103
103
  * @tagname ui5-multi-input
104
- * @appenddocs Token
104
+ * @appenddocs sap.ui.webc.main.Token
105
105
  * @since 1.0.0-rc.9
106
106
  * @public
107
107
  */
@@ -93,7 +93,7 @@ const metadata = {
93
93
  * @extends sap.ui.webc.base.UI5Element
94
94
  * @tagname ui5-segmented-button
95
95
  * @since 1.0.0-rc.6
96
- * @appenddocs SegmentedButtonItem
96
+ * @appenddocs sap.ui.webc.main.SegmentedButtonItem
97
97
  * @public
98
98
  */
99
99
  class SegmentedButton extends UI5Element {
package/src/Select.js CHANGED
@@ -282,7 +282,7 @@ const metadata = {
282
282
  * @alias sap.ui.webc.main.Select
283
283
  * @extends sap.ui.webc.base.UI5Element
284
284
  * @tagname ui5-select
285
- * @appenddocs Option
285
+ * @appenddocs sap.ui.webc.main.Option
286
286
  * @public
287
287
  * @since 0.8.0
288
288
  */
@@ -355,7 +355,7 @@ const metadata = {
355
355
  * @author SAP SE
356
356
  * @alias sap.ui.webc.main.TabContainer
357
357
  * @extends sap.ui.webc.base.UI5Element
358
- * @appenddocs Tab TabSeparator
358
+ * @appenddocs sap.ui.webc.main.Tab sap.ui.webc.main.TabSeparator
359
359
  * @tagname ui5-tabcontainer
360
360
  * @public
361
361
  */
@@ -655,7 +655,6 @@ class TabContainer extends UI5Element {
655
655
  * <code>[ ui5-tab#First, ui5-tab#Nested, ui5-tab#Second, ui5-tab-separator#sep, ui5-tab#Third ]</code>
656
656
  * @public
657
657
  * @readonly
658
- *
659
658
  * @returns {sap.ui.webc.main.ITab[]}
660
659
  */
661
660
  get allItems() {
package/src/Table.ts CHANGED
@@ -178,7 +178,7 @@ enum TableFocusTargetElement {
178
178
  * @alias sap.ui.webc.main.Table
179
179
  * @extends sap.ui.webc.base.UI5Element
180
180
  * @tagname ui5-table
181
- * @appenddocs TableColumn TableRow TableGroupRow TableCell
181
+ * @appenddocs sap.ui.webc.main.TableColumn sap.ui.webc.main.TableRow sap.ui.webc.main.TableGroupRow sap.ui.webc.main.TableCell
182
182
  * @public
183
183
  */
184
184
  @customElement("ui5-table")
package/src/Tree.hbs CHANGED
@@ -19,4 +19,4 @@
19
19
  <slot name="header" slot="header"></slot>
20
20
 
21
21
  <slot></slot>
22
- </ui5-tree-list>
22
+ </ui5-tree-list>
package/src/Tree.js CHANGED
@@ -323,7 +323,7 @@ const metadata = {
323
323
  * @alias sap.ui.webc.main.Tree
324
324
  * @extends sap.ui.webc.base.UI5Element
325
325
  * @tagname ui5-tree
326
- * @appenddocs TreeItem
326
+ * @appenddocs sap.ui.webc.main.TreeItem
327
327
  * @public
328
328
  * @since 1.0.0-rc.8
329
329
  */