@ui5/webcomponents 2.19.2 → 2.20.0-rc.1
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 +32 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/Avatar.d.ts +23 -2
- package/dist/Avatar.js +41 -4
- package/dist/Avatar.js.map +1 -1
- package/dist/AvatarGroup.d.ts +5 -0
- package/dist/AvatarGroup.js +17 -10
- package/dist/AvatarGroup.js.map +1 -1
- package/dist/AvatarTemplate.js +1 -1
- package/dist/AvatarTemplate.js.map +1 -1
- package/dist/Breadcrumbs.d.ts +4 -1
- package/dist/Breadcrumbs.js +4 -0
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/ColorPalette.d.ts +14 -0
- package/dist/ColorPalette.js +11 -1
- package/dist/ColorPalette.js.map +1 -1
- package/dist/ColorPalettePopover.d.ts +14 -0
- package/dist/ColorPalettePopover.js +6 -0
- package/dist/ColorPalettePopover.js.map +1 -1
- package/dist/ColorPalettePopoverTemplate.js +1 -1
- package/dist/ColorPalettePopoverTemplate.js.map +1 -1
- package/dist/ColorPaletteTemplate.js +1 -1
- package/dist/ColorPaletteTemplate.js.map +1 -1
- package/dist/ColorPicker.d.ts +14 -0
- package/dist/ColorPicker.js +11 -1
- package/dist/ColorPicker.js.map +1 -1
- package/dist/ColorPickerTemplate.js +1 -1
- package/dist/ColorPickerTemplate.js.map +1 -1
- package/dist/DateComponentBase.d.ts +2 -2
- package/dist/DateComponentBase.js +1 -1
- package/dist/DateComponentBase.js.map +1 -1
- package/dist/DatePicker.d.ts +3 -2
- package/dist/DatePicker.js +6 -3
- package/dist/DatePicker.js.map +1 -1
- package/dist/DatePickerPopoverTemplate.js +8 -4
- package/dist/DatePickerPopoverTemplate.js.map +1 -1
- package/dist/List.js +6 -0
- package/dist/List.js.map +1 -1
- package/dist/ListItemCustom.d.ts +21 -1
- package/dist/ListItemCustom.js +86 -2
- package/dist/ListItemCustom.js.map +1 -1
- package/dist/ListItemGroup.d.ts +1 -0
- package/dist/ListItemGroup.js +1 -0
- package/dist/ListItemGroup.js.map +1 -1
- package/dist/ListItemGroupTemplate.js +1 -1
- package/dist/ListItemGroupTemplate.js.map +1 -1
- package/dist/Menu.d.ts +2 -1
- package/dist/Menu.js +14 -7
- package/dist/Menu.js.map +1 -1
- package/dist/MenuItem.d.ts +1 -0
- package/dist/MenuItem.js +6 -2
- package/dist/MenuItem.js.map +1 -1
- package/dist/MultiComboBoxPopoverTemplate.js +2 -1
- package/dist/MultiComboBoxPopoverTemplate.js.map +1 -1
- package/dist/MultiInputTemplate.js +2 -1
- package/dist/MultiInputTemplate.js.map +1 -1
- package/dist/Panel.d.ts +3 -0
- package/dist/Panel.js +13 -0
- package/dist/Panel.js.map +1 -1
- package/dist/PanelTemplate.js +1 -1
- package/dist/PanelTemplate.js.map +1 -1
- package/dist/RatingIndicator.d.ts +17 -0
- package/dist/RatingIndicator.js +12 -0
- package/dist/RatingIndicator.js.map +1 -1
- package/dist/RatingIndicatorTemplate.js +6 -8
- package/dist/RatingIndicatorTemplate.js.map +1 -1
- package/dist/SplitButton.d.ts +2 -0
- package/dist/SplitButton.js +5 -0
- package/dist/SplitButton.js.map +1 -1
- package/dist/StepInput.js +2 -2
- package/dist/StepInput.js.map +1 -1
- package/dist/Switch.js +2 -2
- package/dist/Switch.js.map +1 -1
- package/dist/TimePickerPopoverTemplate.js +2 -3
- package/dist/TimePickerPopoverTemplate.js.map +1 -1
- package/dist/Tokenizer.js +2 -2
- package/dist/Tokenizer.js.map +1 -1
- package/dist/Toolbar.d.ts +5 -2
- package/dist/Toolbar.js +29 -4
- package/dist/Toolbar.js.map +1 -1
- package/dist/ToolbarItem.d.ts +40 -1
- package/dist/ToolbarItem.js +97 -2
- package/dist/ToolbarItem.js.map +1 -1
- package/dist/ToolbarItemTemplate.d.ts +2 -0
- package/dist/ToolbarItemTemplate.js +5 -0
- package/dist/ToolbarItemTemplate.js.map +1 -0
- package/dist/ToolbarTemplate.js +9 -8
- package/dist/ToolbarTemplate.js.map +1 -1
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/Avatar.css +1 -1
- package/dist/css/themes/Bar.css +1 -1
- package/dist/css/themes/DatePickerPopover.css +1 -1
- package/dist/css/themes/Panel.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
- package/dist/css/themes/TimePickerPopover.css +1 -1
- package/dist/css/themes/Toolbar.css +1 -1
- package/dist/css/themes/ToolbarItem.css +1 -0
- package/dist/css/themes/ToolbarPopover.css +1 -1
- package/dist/custom-elements-internal.json +476 -11
- package/dist/custom-elements.json +340 -7
- package/dist/features/InputSuggestionsTemplate.js +2 -1
- package/dist/features/InputSuggestionsTemplate.js.map +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_cnr.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_id.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_mk.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_sr.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/i18n/i18n-defaults.d.ts +2 -2
- package/dist/generated/i18n/i18n-defaults.js +2 -2
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/Avatar.css.d.ts +1 -1
- package/dist/generated/themes/Avatar.css.js +1 -1
- package/dist/generated/themes/Avatar.css.js.map +1 -1
- package/dist/generated/themes/Bar.css.d.ts +1 -1
- package/dist/generated/themes/Bar.css.js +1 -1
- package/dist/generated/themes/Bar.css.js.map +1 -1
- package/dist/generated/themes/DatePickerPopover.css.d.ts +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/Panel.css.d.ts +1 -1
- package/dist/generated/themes/Panel.css.js +1 -1
- package/dist/generated/themes/Panel.css.js.map +1 -1
- package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
- package/dist/generated/themes/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.d.ts +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
- package/dist/generated/themes/TimePickerPopover.css.d.ts +1 -1
- package/dist/generated/themes/TimePickerPopover.css.js +1 -1
- package/dist/generated/themes/TimePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/Toolbar.css.d.ts +1 -1
- package/dist/generated/themes/Toolbar.css.js +1 -1
- package/dist/generated/themes/Toolbar.css.js.map +1 -1
- package/dist/generated/themes/ToolbarItem.css.d.ts +2 -0
- package/dist/generated/themes/ToolbarItem.css.js +8 -0
- package/dist/generated/themes/ToolbarItem.css.js.map +1 -0
- package/dist/generated/themes/ToolbarPopover.css.d.ts +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
- package/dist/types/AvatarMode.d.ts +30 -0
- package/dist/types/AvatarMode.js +32 -0
- package/dist/types/AvatarMode.js.map +1 -0
- package/dist/vscode.html-custom-data.json +64 -14
- package/dist/web-types.json +234 -19
- package/package.json +10 -10
- package/src/AvatarTemplate.tsx +1 -0
- package/src/ColorPalettePopoverTemplate.tsx +3 -0
- package/src/ColorPaletteTemplate.tsx +1 -1
- package/src/ColorPickerTemplate.tsx +2 -2
- package/src/DatePickerPopoverTemplate.tsx +21 -10
- package/src/ListItemGroupTemplate.tsx +9 -3
- package/src/MultiComboBoxPopoverTemplate.tsx +8 -1
- package/src/MultiInputTemplate.tsx +2 -1
- package/src/PanelTemplate.tsx +2 -0
- package/src/RatingIndicatorTemplate.tsx +10 -10
- package/src/TimePickerPopoverTemplate.tsx +1 -9
- package/src/ToolbarItemTemplate.tsx +7 -0
- package/src/ToolbarTemplate.tsx +9 -16
- package/src/features/InputSuggestionsTemplate.tsx +9 -2
- package/src/i18n/messagebundle.properties +5 -5
- package/src/i18n/messagebundle_ar.properties +14 -8
- package/src/i18n/messagebundle_bg.properties +14 -8
- package/src/i18n/messagebundle_ca.properties +14 -8
- package/src/i18n/messagebundle_cnr.properties +14 -8
- package/src/i18n/messagebundle_cs.properties +14 -8
- package/src/i18n/messagebundle_cy.properties +14 -8
- package/src/i18n/messagebundle_da.properties +14 -8
- package/src/i18n/messagebundle_de.properties +14 -8
- package/src/i18n/messagebundle_el.properties +14 -8
- package/src/i18n/messagebundle_en.properties +14 -8
- package/src/i18n/messagebundle_en_GB.properties +14 -8
- package/src/i18n/messagebundle_en_US_sappsd.properties +17 -11
- package/src/i18n/messagebundle_en_US_saprigi.properties +17 -11
- package/src/i18n/messagebundle_en_US_saptrc.properties +17 -11
- package/src/i18n/messagebundle_es.properties +16 -10
- package/src/i18n/messagebundle_es_MX.properties +15 -9
- package/src/i18n/messagebundle_et.properties +14 -8
- package/src/i18n/messagebundle_fi.properties +14 -8
- package/src/i18n/messagebundle_fr.properties +14 -8
- package/src/i18n/messagebundle_fr_CA.properties +15 -9
- package/src/i18n/messagebundle_hi.properties +14 -8
- package/src/i18n/messagebundle_hr.properties +14 -8
- package/src/i18n/messagebundle_hu.properties +14 -8
- package/src/i18n/messagebundle_id.properties +14 -8
- package/src/i18n/messagebundle_it.properties +14 -8
- package/src/i18n/messagebundle_iw.properties +14 -8
- package/src/i18n/messagebundle_ja.properties +14 -8
- package/src/i18n/messagebundle_kk.properties +14 -8
- package/src/i18n/messagebundle_ko.properties +14 -8
- package/src/i18n/messagebundle_lt.properties +14 -8
- package/src/i18n/messagebundle_lv.properties +14 -8
- package/src/i18n/messagebundle_mk.properties +14 -8
- package/src/i18n/messagebundle_ms.properties +14 -8
- package/src/i18n/messagebundle_nl.properties +14 -8
- package/src/i18n/messagebundle_no.properties +14 -8
- package/src/i18n/messagebundle_pl.properties +14 -8
- package/src/i18n/messagebundle_pt.properties +14 -8
- package/src/i18n/messagebundle_pt_PT.properties +14 -8
- package/src/i18n/messagebundle_ro.properties +14 -8
- package/src/i18n/messagebundle_ru.properties +14 -8
- package/src/i18n/messagebundle_sh.properties +14 -8
- package/src/i18n/messagebundle_sk.properties +14 -8
- package/src/i18n/messagebundle_sl.properties +14 -8
- package/src/i18n/messagebundle_sr.properties +14 -8
- package/src/i18n/messagebundle_sv.properties +14 -8
- package/src/i18n/messagebundle_th.properties +14 -8
- package/src/i18n/messagebundle_tr.properties +14 -8
- package/src/i18n/messagebundle_uk.properties +14 -8
- package/src/i18n/messagebundle_vi.properties +14 -8
- package/src/i18n/messagebundle_zh_CN.properties +14 -8
- package/src/i18n/messagebundle_zh_TW.properties +15 -9
- package/src/themes/Avatar.css +39 -14
- package/src/themes/Bar.css +1 -1
- package/src/themes/DatePickerPopover.css +24 -1
- package/src/themes/Panel.css +5 -1
- package/src/themes/RatingIndicator.css +26 -12
- package/src/themes/ResponsivePopoverCommon.css +1 -1
- package/src/themes/TimePickerPopover.css +7 -0
- package/src/themes/Toolbar.css +11 -3
- package/src/themes/ToolbarItem.css +8 -0
- package/src/themes/ToolbarPopover.css +1 -1
package/dist/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ui5/webcomponents",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.20.0-rc.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "ui5-avatar",
|
|
11
|
-
"description": "### Overview\n\nAn image-like component that has different display options for representing images and icons\nin different shapes and sizes, depending on the use case.\n\nThe shape can be circular or square. There are several predefined sizes, as well as an option to\nset a custom size.\n\n### Keyboard Handling\n\n- [Space] / [Enter] or [Return] - Fires the `click` event if the `interactive` property is set to true.\n- [Shift] - If [Space] is pressed, pressing [Shift] releases the component without triggering the click event.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/Avatar.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired on mouseup, space and enter if avatar is interactive\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`.\n\n### **Slots:**\n - **default** - Receives the desired `<img>` tag\n\n**Note:** If you experience flickering of the provided image, you can hide the component until it is defined with the following CSS:<br/>\n`ui5-avatar:not(:defined) {`<br/>\n `visibility: hidden;`<br/>\n`}`\n- **badge** - Defines the optional badge that will be used for visual affordance.\n\n**Note:** While the slot allows for custom badges, to achieve\nthe Fiori design, use the `ui5-avatar-badge` component.",
|
|
11
|
+
"description": "### Overview\n\nAn image-like component that has different display options for representing images and icons\nin different shapes and sizes, depending on the use case.\n\nThe shape can be circular or square. There are several predefined sizes, as well as an option to\nset a custom size.\n\n### Keyboard Handling\n\n- [Space] / [Enter] or [Return] - Fires the `click` event if the `mode` is set to `Interactive` or the deprecated `interactive` property is set to true.\n- [Shift] - If [Space] is pressed, pressing [Shift] releases the component without triggering the click event.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/Avatar.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired on mouseup, space and enter if avatar is interactive\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`.\n\n### **Slots:**\n - **default** - Receives the desired `<img>` tag\n\n**Note:** If you experience flickering of the provided image, you can hide the component until it is defined with the following CSS:<br/>\n`ui5-avatar:not(:defined) {`<br/>\n `visibility: hidden;`<br/>\n`}`\n- **badge** - Defines the optional badge that will be used for visual affordance.\n\n**Note:** While the slot allows for custom badges, to achieve\nthe Fiori design, use the `ui5-avatar-badge` component.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
@@ -18,9 +18,17 @@
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"name": "interactive",
|
|
21
|
-
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
21
|
+
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** When set to `true`, this property takes precedence over the `mode` property,\nand the avatar will be rendered as interactive (role=\"button\", focusable) regardless of the `mode` value.\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
22
22
|
"value": { "type": "boolean", "default": "false" }
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"name": "mode",
|
|
26
|
+
"description": "Defines the mode of the component.\n\n**Note:**\n- `Image` (default) - renders with role=\"img\"\n- `Decorative` - renders with role=\"presentation\" and aria-hidden=\"true\", making it purely decorative\n- `Interactive` - renders with role=\"button\", focusable (tabindex=\"0\"), and supports keyboard interaction\n\n**Note:** This property is ignored when the `interactive` property is set to `true`.\nIn that case, the avatar will always be rendered as interactive.",
|
|
27
|
+
"value": {
|
|
28
|
+
"type": "\"Image\" | \"Decorative\" | \"Interactive\"",
|
|
29
|
+
"default": "\"Image\""
|
|
30
|
+
}
|
|
31
|
+
},
|
|
24
32
|
{
|
|
25
33
|
"name": "icon",
|
|
26
34
|
"description": "Defines the name of the UI5 Icon, that will be displayed.\n\n**Note:** If `image` slot is provided, the property will be ignored.\n\n**Note:** You should import the desired icon first, then use its name as \"icon\".\n\n`import \"@ui5/webcomponents-icons/dist/{icon_name}.js\"`\n\n`<ui5-avatar icon=\"employee\">`\n\n**Note:** If no icon or an empty one is provided, by default the \"employee\" icon should be displayed.\n\nSee all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).",
|
|
@@ -99,9 +107,16 @@
|
|
|
99
107
|
},
|
|
100
108
|
{
|
|
101
109
|
"name": "interactive",
|
|
102
|
-
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
110
|
+
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** When set to `true`, this property takes precedence over the `mode` property,\nand the avatar will be rendered as interactive (role=\"button\", focusable) regardless of the `mode` value.\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
103
111
|
"value": { "type": "boolean" }
|
|
104
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"name": "mode",
|
|
115
|
+
"description": "Defines the mode of the component.\n\n**Note:**\n- `Image` (default) - renders with role=\"img\"\n- `Decorative` - renders with role=\"presentation\" and aria-hidden=\"true\", making it purely decorative\n- `Interactive` - renders with role=\"button\", focusable (tabindex=\"0\"), and supports keyboard interaction\n\n**Note:** This property is ignored when the `interactive` property is set to `true`.\nIn that case, the avatar will always be rendered as interactive.",
|
|
116
|
+
"value": {
|
|
117
|
+
"type": "\"Image\" | \"Decorative\" | \"Interactive\""
|
|
118
|
+
}
|
|
119
|
+
},
|
|
105
120
|
{
|
|
106
121
|
"name": "icon",
|
|
107
122
|
"description": "Defines the name of the UI5 Icon, that will be displayed.\n\n**Note:** If `image` slot is provided, the property will be ignored.\n\n**Note:** You should import the desired icon first, then use its name as \"icon\".\n\n`import \"@ui5/webcomponents-icons/dist/{icon_name}.js\"`\n\n`<ui5-avatar icon=\"employee\">`\n\n**Note:** If no icon or an empty one is provided, by default the \"employee\" icon should be displayed.\n\nSee all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).",
|
|
@@ -1554,7 +1569,18 @@
|
|
|
1554
1569
|
"name": "ui5-color-palette",
|
|
1555
1570
|
"description": "### Overview\nThe `ui5-color-palette` provides the users with a range of predefined colors. The colors are fixed and do not change with the theme.\n\n### Usage\n\nThe `ui5-color-palette` is meant for users that need to select a color from a predefined set.\nTo define the colors, use the `ui5-color-palette-item` component inside the default slot of the `ui5-color-palette`.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/ColorPalette.js\";`\n---\n\n\n### **Events:**\n - **item-click** - Fired when the user selects a color.\n\n### **Slots:**\n - **default** - Defines the `ui5-color-palette-item` elements.",
|
|
1556
1571
|
"doc-url": "",
|
|
1557
|
-
"attributes": [
|
|
1572
|
+
"attributes": [
|
|
1573
|
+
{
|
|
1574
|
+
"name": "accessible-name",
|
|
1575
|
+
"description": "Defines the accessible name of the component.",
|
|
1576
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "accessible-name-ref",
|
|
1580
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1581
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1582
|
+
}
|
|
1583
|
+
],
|
|
1558
1584
|
"slots": [
|
|
1559
1585
|
{
|
|
1560
1586
|
"name": "default",
|
|
@@ -1568,7 +1594,18 @@
|
|
|
1568
1594
|
}
|
|
1569
1595
|
],
|
|
1570
1596
|
"js": {
|
|
1571
|
-
"properties": [
|
|
1597
|
+
"properties": [
|
|
1598
|
+
{
|
|
1599
|
+
"name": "accessible-name",
|
|
1600
|
+
"description": "Defines the accessible name of the component.",
|
|
1601
|
+
"value": { "type": "string | undefined" }
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"name": "accessible-name-ref",
|
|
1605
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1606
|
+
"value": { "type": "string | undefined" }
|
|
1607
|
+
}
|
|
1608
|
+
],
|
|
1572
1609
|
"events": [
|
|
1573
1610
|
{
|
|
1574
1611
|
"name": "item-click",
|
|
@@ -1635,6 +1672,16 @@
|
|
|
1635
1672
|
"description": "Defines the default color of the component.\n\n**Note:** The default color should be a part of the ColorPalette colors`",
|
|
1636
1673
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1637
1674
|
},
|
|
1675
|
+
{
|
|
1676
|
+
"name": "accessible-name",
|
|
1677
|
+
"description": "Defines the accessible name of the component.",
|
|
1678
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "accessible-name-ref",
|
|
1682
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1683
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1684
|
+
},
|
|
1638
1685
|
{
|
|
1639
1686
|
"name": "open",
|
|
1640
1687
|
"description": "Defines the open | closed state of the popover.",
|
|
@@ -1695,6 +1742,16 @@
|
|
|
1695
1742
|
"description": "Defines the default color of the component.\n\n**Note:** The default color should be a part of the ColorPalette colors`",
|
|
1696
1743
|
"value": { "type": "string | undefined" }
|
|
1697
1744
|
},
|
|
1745
|
+
{
|
|
1746
|
+
"name": "accessible-name",
|
|
1747
|
+
"description": "Defines the accessible name of the component.",
|
|
1748
|
+
"value": { "type": "string | undefined" }
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"name": "accessible-name-ref",
|
|
1752
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1753
|
+
"value": { "type": "string | undefined" }
|
|
1754
|
+
},
|
|
1698
1755
|
{
|
|
1699
1756
|
"name": "open",
|
|
1700
1757
|
"description": "Defines the open | closed state of the popover.",
|
|
@@ -1747,6 +1804,16 @@
|
|
|
1747
1804
|
"name": "simplified",
|
|
1748
1805
|
"description": "When set to `true`, the alpha slider and inputs for RGB values will not be displayed.",
|
|
1749
1806
|
"value": { "type": "boolean", "default": "false" }
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"name": "accessible-name",
|
|
1810
|
+
"description": "Defines the accessible name of the component.",
|
|
1811
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"name": "accessible-name-ref",
|
|
1815
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1816
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1750
1817
|
}
|
|
1751
1818
|
],
|
|
1752
1819
|
"events": [
|
|
@@ -1771,6 +1838,16 @@
|
|
|
1771
1838
|
"name": "simplified",
|
|
1772
1839
|
"description": "When set to `true`, the alpha slider and inputs for RGB values will not be displayed.",
|
|
1773
1840
|
"value": { "type": "boolean" }
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
"name": "accessible-name",
|
|
1844
|
+
"description": "Defines the accessible name of the component.",
|
|
1845
|
+
"value": { "type": "string | undefined" }
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"name": "accessible-name-ref",
|
|
1849
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1850
|
+
"value": { "type": "string | undefined" }
|
|
1774
1851
|
}
|
|
1775
1852
|
],
|
|
1776
1853
|
"events": [
|
|
@@ -2035,7 +2112,7 @@
|
|
|
2035
2112
|
},
|
|
2036
2113
|
{
|
|
2037
2114
|
"name": "ui5-cb-item-group",
|
|
2038
|
-
"description": "The `ui5-cb-group-item` is type of suggestion item,\nthat can be used to split the `ui5-combobox` suggestions into groups.\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-cb-item-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group",
|
|
2115
|
+
"description": "The `ui5-cb-group-item` is type of suggestion item,\nthat can be used to split the `ui5-combobox` suggestions into groups.\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-cb-item-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group\n- **title** - Used to style the title of the group header",
|
|
2039
2116
|
"doc-url": "",
|
|
2040
2117
|
"attributes": [
|
|
2041
2118
|
{
|
|
@@ -2109,7 +2186,7 @@
|
|
|
2109
2186
|
},
|
|
2110
2187
|
{
|
|
2111
2188
|
"name": "ui5-date-picker",
|
|
2112
|
-
"description": "### Overview\n\nThe `ui5-date-picker` component provides an input field with assigned calendar which opens on user action.\nThe `ui5-date-picker` allows users to select a localized date using touch,\nmouse, or keyboard input. It consists of two parts: the date input field and the\ndate picker.\n\n### Usage\n\nThe user can enter a date by:\n\n- Using the calendar that opens in a popup\n- Typing it in directly in the input field\n\nWhen the user makes an entry and presses the enter key, the calendar shows the corresponding date.\nWhen the user directly triggers the calendar display, the actual date is displayed.\n\n### Formatting\n\nIf a date is entered by typing it into\nthe input field, it must fit to the used date format.\n\nSupported format options are pattern-based on Unicode LDML Date Format notation.\nFor more information, see [UTS #35: Unicode Locale Data Markup Language](https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n\nFor example, if the
|
|
2189
|
+
"description": "### Overview\n\nThe `ui5-date-picker` component provides an input field with assigned calendar which opens on user action.\nThe `ui5-date-picker` allows users to select a localized date using touch,\nmouse, or keyboard input. It consists of two parts: the date input field and the\ndate picker.\n\n### Usage\n\nThe user can enter a date by:\n\n- Using the calendar that opens in a popup\n- Typing it in directly in the input field\n\nWhen the user makes an entry and presses the enter key, the calendar shows the corresponding date.\nWhen the user directly triggers the calendar display, the actual date is displayed.\n\n### Formatting\n\nIf a date is entered by typing it into\nthe input field, it must fit to the used date format.\n\nSupported format options are pattern-based on Unicode LDML Date Format notation.\nFor more information, see [UTS #35: Unicode Locale Data Markup Language](https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n\nFor example, if the valueFormat is \"yyyy-MM-dd\", the displayFormat is \"MMM d, y\", and the used locale is English, a valid value string is \"2015-07-30\", which leads to an output of \"Jul 30, 2015\".\nIf no placeholder is set to the DatePicker, the used displayFormat is displayed as a placeholder. If another placeholder is needed, it must be set.\n\n### Keyboard Handling\nThe `ui5-date-picker` provides advanced keyboard handling.\nIf the `ui5-date-picker` is focused,\nyou can open or close the drop-down by pressing [F4], [Alt] + [Up] or [Alt] + [Down] keys.\nOnce the drop-down is opened, you can use the [Up], [Down], [Left] or [Right] arrow keys\nto navigate through the dates and select one by pressing the `Space` or `Enter` keys. Moreover you can\nuse TAB to reach the buttons for changing month and year.\n\nIf the `ui5-date-picker` input field is focused and its corresponding picker dialog is not opened,\nthen users can increment or decrement the date referenced by `dateValue` property\nby using the following shortcuts:\n\n- [Page Down] - Decrements the corresponding day of the month by one\n- [Shift] + [Page Down] - Decrements the corresponding month by one\n- [Shift] + [Ctrl] + [Page Down] - Decrements the corresponding year by one\n- [Page Up] - Increments the corresponding day of the month by one\n- [Shift] + [Page Up] - Increments the corresponding month by one\n- [Shift] + [Ctrl] + [Page Up] - Increments the corresponding year by one\n\n### Calendar types\nThe component supports several calendar types - Gregorian, Buddhist, Islamic, Japanese and Persian.\nBy default the Gregorian Calendar is used. In order to use the Buddhist, Islamic, Japanese or Persian calendar,\nyou need to set the `primaryCalendarType` property and import one or more of the following modules:\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Buddhist.js\";`\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Islamic.js\";`\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Japanese.js\";`\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Persian.js\";`\n\nOr, you can use the global configuration and set the `calendarType` key:\n\n```html\n<script data-id=\"sap-ui-config\" type=\"application/json\">\n\t{\n\t\t\"calendarType\": \"Japanese\"\n\t}\n<script>\n```\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/DatePicker.js\";`\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout.\n- **input** - Fired when the value of the component is changed at each key stroke.\n- **value-state-change** - Fired before the value state of the component is updated internally.\nThe event is preventable, meaning that if it's default action is\nprevented, the component will not update the value state.\n- **open** - Fired after the component's picker is opened.\n- **close** - Fired after the component's picker is closed.\n\n### **Methods:**\n - **isValid(value: _string_): _boolean_** - @deprecated Use isValidValue or isValidDisplayValue instead - Checks if a value is valid against the current date format of the DatePicker.\n- **isValidValue(value: _string_): _boolean_** - Checks if a value is valid against the current date format of the DatePicker.\n- **isValidDisplayValue(value: _string_): _boolean_** - Checks if a value is valid against the current date format of the DatePicker.\n- **isInValidRange(value: _string_): _boolean_** - Checks if a date is between the minimum and maximum date.\n- **formatValue(date: _Date_): _string_** - Formats a Java Script date object into a string representing a locale date\naccording to the `formatPattern` property of the DatePicker instance\n\n### **Slots:**\n - **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.\n\n### **CSS Parts:**\n - **input** - Used to style the input element. This part is forwarded to the underlying ui5-input element.",
|
|
2113
2190
|
"doc-url": "",
|
|
2114
2191
|
"attributes": [
|
|
2115
2192
|
{
|
|
@@ -4835,7 +4912,7 @@
|
|
|
4835
4912
|
},
|
|
4836
4913
|
{
|
|
4837
4914
|
"name": "ui5-li-group",
|
|
4838
|
-
"description": "### Overview\nThe `ui5-li-group` is a special list item, used only to create groups of list items.\n\nThis is the item to use inside a `ui5-list`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ListItemGroup.js\";`\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-li-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group",
|
|
4915
|
+
"description": "### Overview\nThe `ui5-li-group` is a special list item, used only to create groups of list items.\n\nThis is the item to use inside a `ui5-list`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ListItemGroup.js\";`\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-li-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group\n- **title** - Used to style the title of the group header",
|
|
4839
4916
|
"doc-url": "",
|
|
4840
4917
|
"attributes": [
|
|
4841
4918
|
{
|
|
@@ -5899,7 +5976,7 @@
|
|
|
5899
5976
|
},
|
|
5900
5977
|
{
|
|
5901
5978
|
"name": "ui5-mcb-item-group",
|
|
5902
|
-
"description": "The `ui5-mcb-item-group` is type of suggestion item,\nthat can be used to split the `ui5-multi-combobox` suggestions into groups.\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-mcb-item-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group",
|
|
5979
|
+
"description": "The `ui5-mcb-item-group` is type of suggestion item,\nthat can be used to split the `ui5-multi-combobox` suggestions into groups.\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-mcb-item-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group\n- **title** - Used to style the title of the group header",
|
|
5903
5980
|
"doc-url": "",
|
|
5904
5981
|
"attributes": [
|
|
5905
5982
|
{
|
|
@@ -7190,6 +7267,22 @@
|
|
|
7190
7267
|
"name": "tooltip",
|
|
7191
7268
|
"description": "Defines the tooltip of the component.",
|
|
7192
7269
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
7270
|
+
},
|
|
7271
|
+
{
|
|
7272
|
+
"name": "icon-selected",
|
|
7273
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
7274
|
+
"value": {
|
|
7275
|
+
"type": "string | undefined",
|
|
7276
|
+
"default": "\"favorite\""
|
|
7277
|
+
}
|
|
7278
|
+
},
|
|
7279
|
+
{
|
|
7280
|
+
"name": "icon-unselected",
|
|
7281
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
7282
|
+
"value": {
|
|
7283
|
+
"type": "string | undefined",
|
|
7284
|
+
"default": "\"unfavorite\""
|
|
7285
|
+
}
|
|
7193
7286
|
}
|
|
7194
7287
|
],
|
|
7195
7288
|
"events": [
|
|
@@ -7244,6 +7337,16 @@
|
|
|
7244
7337
|
"name": "tooltip",
|
|
7245
7338
|
"description": "Defines the tooltip of the component.",
|
|
7246
7339
|
"value": { "type": "string | undefined" }
|
|
7340
|
+
},
|
|
7341
|
+
{
|
|
7342
|
+
"name": "icon-selected",
|
|
7343
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
7344
|
+
"value": { "type": "string | undefined" }
|
|
7345
|
+
},
|
|
7346
|
+
{
|
|
7347
|
+
"name": "icon-unselected",
|
|
7348
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
7349
|
+
"value": { "type": "string | undefined" }
|
|
7247
7350
|
}
|
|
7248
7351
|
],
|
|
7249
7352
|
"events": [
|
|
@@ -8441,7 +8544,7 @@
|
|
|
8441
8544
|
},
|
|
8442
8545
|
{
|
|
8443
8546
|
"name": "ui5-suggestion-item-group",
|
|
8444
|
-
"description": "The `ui5-suggestion-item-group` is type of suggestion item,\nthat can be used to split the `ui5-input` suggestions into groups.\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-suggestion-item-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group",
|
|
8547
|
+
"description": "The `ui5-suggestion-item-group` is type of suggestion item,\nthat can be used to split the `ui5-input` suggestions into groups.\n---\n\n\n### **Events:**\n - **move-over** - Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n- **move** - Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n\n### **Slots:**\n - **default** - Defines the items of the <code>ui5-suggestion-item-group</code>.\n- **header** - Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n\n### **CSS Parts:**\n - **header** - Used to style the header item of the group\n- **title** - Used to style the title of the group header",
|
|
8445
8548
|
"doc-url": "",
|
|
8446
8549
|
"attributes": [
|
|
8447
8550
|
{
|
|
@@ -10751,7 +10854,7 @@
|
|
|
10751
10854
|
},
|
|
10752
10855
|
{
|
|
10753
10856
|
"name": "ui5-toolbar-button",
|
|
10754
|
-
"description": "### Overview\nThe `ui5-toolbar-button` represents an abstract action,\nused in the `ui5-toolbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarButton.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true
|
|
10857
|
+
"description": "### Overview\nThe `ui5-toolbar-button` represents an abstract action,\nused in the `ui5-toolbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarButton.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`.\n- **close-overflow** - Fired when the overflow popover is closed.\n\n### **Slots:**\n - **default** - Wrapped component slot.",
|
|
10755
10858
|
"doc-url": "",
|
|
10756
10859
|
"attributes": [
|
|
10757
10860
|
{
|
|
@@ -10829,10 +10932,17 @@
|
|
|
10829
10932
|
"value": { "type": "boolean", "default": "false" }
|
|
10830
10933
|
}
|
|
10831
10934
|
],
|
|
10935
|
+
"slots": [
|
|
10936
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
10937
|
+
],
|
|
10832
10938
|
"events": [
|
|
10833
10939
|
{
|
|
10834
10940
|
"name": "click",
|
|
10835
10941
|
"description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`."
|
|
10942
|
+
},
|
|
10943
|
+
{
|
|
10944
|
+
"name": "close-overflow",
|
|
10945
|
+
"description": "Fired when the overflow popover is closed."
|
|
10836
10946
|
}
|
|
10837
10947
|
],
|
|
10838
10948
|
"js": {
|
|
@@ -10911,13 +11021,68 @@
|
|
|
10911
11021
|
{
|
|
10912
11022
|
"name": "click",
|
|
10913
11023
|
"description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`."
|
|
11024
|
+
},
|
|
11025
|
+
{
|
|
11026
|
+
"name": "close-overflow",
|
|
11027
|
+
"description": "Fired when the overflow popover is closed."
|
|
11028
|
+
}
|
|
11029
|
+
]
|
|
11030
|
+
}
|
|
11031
|
+
},
|
|
11032
|
+
{
|
|
11033
|
+
"name": "ui5-toolbar-item",
|
|
11034
|
+
"description": "Represents an abstract class for items, used in the `ui5-toolbar`.\n---\n\n\n### **Events:**\n - **close-overflow** - Fired when the overflow popover is closed.\n\n### **Slots:**\n - **default** - Wrapped component slot.",
|
|
11035
|
+
"doc-url": "",
|
|
11036
|
+
"attributes": [
|
|
11037
|
+
{
|
|
11038
|
+
"name": "overflow-priority",
|
|
11039
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
11040
|
+
"value": {
|
|
11041
|
+
"type": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\"",
|
|
11042
|
+
"default": "\"Default\""
|
|
11043
|
+
}
|
|
11044
|
+
},
|
|
11045
|
+
{
|
|
11046
|
+
"name": "prevent-overflow-closing",
|
|
11047
|
+
"description": "Defines if the toolbar overflow popup should close upon intereaction with the item.\nIt will close by default.",
|
|
11048
|
+
"value": { "type": "boolean", "default": "false" }
|
|
11049
|
+
}
|
|
11050
|
+
],
|
|
11051
|
+
"slots": [
|
|
11052
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
11053
|
+
],
|
|
11054
|
+
"events": [
|
|
11055
|
+
{
|
|
11056
|
+
"name": "close-overflow",
|
|
11057
|
+
"description": "Fired when the overflow popover is closed."
|
|
11058
|
+
}
|
|
11059
|
+
],
|
|
11060
|
+
"js": {
|
|
11061
|
+
"properties": [
|
|
11062
|
+
{
|
|
11063
|
+
"name": "overflow-priority",
|
|
11064
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
11065
|
+
"value": {
|
|
11066
|
+
"type": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
|
|
11067
|
+
}
|
|
11068
|
+
},
|
|
11069
|
+
{
|
|
11070
|
+
"name": "prevent-overflow-closing",
|
|
11071
|
+
"description": "Defines if the toolbar overflow popup should close upon intereaction with the item.\nIt will close by default.",
|
|
11072
|
+
"value": { "type": "boolean" }
|
|
11073
|
+
}
|
|
11074
|
+
],
|
|
11075
|
+
"events": [
|
|
11076
|
+
{
|
|
11077
|
+
"name": "close-overflow",
|
|
11078
|
+
"description": "Fired when the overflow popover is closed."
|
|
10914
11079
|
}
|
|
10915
11080
|
]
|
|
10916
11081
|
}
|
|
10917
11082
|
},
|
|
10918
11083
|
{
|
|
10919
11084
|
"name": "ui5-toolbar-select",
|
|
10920
|
-
"description": "### Overview\nThe `ui5-toolbar-select` component is used to create a toolbar drop-down list.\nThe items inside the `ui5-toolbar-select` define the available options by using the `ui5-toolbar-select-option` component.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarSelect.js\";`\n\n`import \"@ui5/webcomponents/dist/ToolbarSelectOption.js\";` (comes with `ui5-toolbar-select`)\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option changes.\n- **open** - Fired after the component's dropdown menu opens.\n- **close** - Fired after the component's dropdown menu closes.\n\n### **Slots:**\n - **default** - Defines the component options.\n\n**Note:** Only one selected option is allowed.\nIf more than one option is defined as selected, the last one would be considered as the selected one.\n\n**Note:** Use the `ui5-toolbar-select-option` component to define the desired options.\n- **label** - Defines the HTML element that will be displayed in the component input part,\nrepresenting the selected option.",
|
|
11085
|
+
"description": "### Overview\nThe `ui5-toolbar-select` component is used to create a toolbar drop-down list.\nThe items inside the `ui5-toolbar-select` define the available options by using the `ui5-toolbar-select-option` component.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarSelect.js\";`\n\n`import \"@ui5/webcomponents/dist/ToolbarSelectOption.js\";` (comes with `ui5-toolbar-select`)\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option changes.\n- **open** - Fired after the component's dropdown menu opens.\n- **close** - Fired after the component's dropdown menu closes.\n- **close-overflow** - Fired when the overflow popover is closed.\n\n### **Slots:**\n - **default** - Defines the component options.\n\n**Note:** Only one selected option is allowed.\nIf more than one option is defined as selected, the last one would be considered as the selected one.\n\n**Note:** Use the `ui5-toolbar-select-option` component to define the desired options.\n- **label** - Defines the HTML element that will be displayed in the component input part,\nrepresenting the selected option.",
|
|
10921
11086
|
"doc-url": "",
|
|
10922
11087
|
"attributes": [
|
|
10923
11088
|
{
|
|
@@ -10989,6 +11154,10 @@
|
|
|
10989
11154
|
{
|
|
10990
11155
|
"name": "close",
|
|
10991
11156
|
"description": "Fired after the component's dropdown menu closes."
|
|
11157
|
+
},
|
|
11158
|
+
{
|
|
11159
|
+
"name": "close-overflow",
|
|
11160
|
+
"description": "Fired when the overflow popover is closed."
|
|
10992
11161
|
}
|
|
10993
11162
|
],
|
|
10994
11163
|
"js": {
|
|
@@ -11050,6 +11219,10 @@
|
|
|
11050
11219
|
{
|
|
11051
11220
|
"name": "close",
|
|
11052
11221
|
"description": "Fired after the component's dropdown menu closes."
|
|
11222
|
+
},
|
|
11223
|
+
{
|
|
11224
|
+
"name": "close-overflow",
|
|
11225
|
+
"description": "Fired when the overflow popover is closed."
|
|
11053
11226
|
}
|
|
11054
11227
|
]
|
|
11055
11228
|
}
|
|
@@ -11085,7 +11258,7 @@
|
|
|
11085
11258
|
},
|
|
11086
11259
|
{
|
|
11087
11260
|
"name": "ui5-toolbar-separator",
|
|
11088
|
-
"description": "### Overview\nThe `ui5-toolbar-separator` is an element, used for visual separation between two elements.\nIt takes no space in calculating toolbar items width.\n---\n",
|
|
11261
|
+
"description": "### Overview\nThe `ui5-toolbar-separator` is an element, used for visual separation between two elements.\nIt takes no space in calculating toolbar items width.\n---\n\n\n### **Events:**\n - **close-overflow** - Fired when the overflow popover is closed.\n\n### **Slots:**\n - **default** - Wrapped component slot.",
|
|
11089
11262
|
"doc-url": "",
|
|
11090
11263
|
"attributes": [
|
|
11091
11264
|
{
|
|
@@ -11102,7 +11275,15 @@
|
|
|
11102
11275
|
"value": { "type": "boolean", "default": "false" }
|
|
11103
11276
|
}
|
|
11104
11277
|
],
|
|
11105
|
-
"
|
|
11278
|
+
"slots": [
|
|
11279
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
11280
|
+
],
|
|
11281
|
+
"events": [
|
|
11282
|
+
{
|
|
11283
|
+
"name": "close-overflow",
|
|
11284
|
+
"description": "Fired when the overflow popover is closed."
|
|
11285
|
+
}
|
|
11286
|
+
],
|
|
11106
11287
|
"js": {
|
|
11107
11288
|
"properties": [
|
|
11108
11289
|
{
|
|
@@ -11118,12 +11299,17 @@
|
|
|
11118
11299
|
"value": { "type": "boolean" }
|
|
11119
11300
|
}
|
|
11120
11301
|
],
|
|
11121
|
-
"events": [
|
|
11302
|
+
"events": [
|
|
11303
|
+
{
|
|
11304
|
+
"name": "close-overflow",
|
|
11305
|
+
"description": "Fired when the overflow popover is closed."
|
|
11306
|
+
}
|
|
11307
|
+
]
|
|
11122
11308
|
}
|
|
11123
11309
|
},
|
|
11124
11310
|
{
|
|
11125
11311
|
"name": "ui5-toolbar-spacer",
|
|
11126
|
-
"description": "### Overview\nThe `ui5-toolbar-spacer` is an element, used for taking needed space for toolbar items to take 100% width.\nIt takes no space in calculating toolbar items width.\n---\n",
|
|
11312
|
+
"description": "### Overview\nThe `ui5-toolbar-spacer` is an element, used for taking needed space for toolbar items to take 100% width.\nIt takes no space in calculating toolbar items width.\n---\n\n\n### **Events:**\n - **close-overflow** - Fired when the overflow popover is closed.\n\n### **Slots:**\n - **default** - Wrapped component slot.",
|
|
11127
11313
|
"doc-url": "",
|
|
11128
11314
|
"attributes": [
|
|
11129
11315
|
{
|
|
@@ -11145,7 +11331,15 @@
|
|
|
11145
11331
|
"value": { "type": "boolean", "default": "false" }
|
|
11146
11332
|
}
|
|
11147
11333
|
],
|
|
11148
|
-
"
|
|
11334
|
+
"slots": [
|
|
11335
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
11336
|
+
],
|
|
11337
|
+
"events": [
|
|
11338
|
+
{
|
|
11339
|
+
"name": "close-overflow",
|
|
11340
|
+
"description": "Fired when the overflow popover is closed."
|
|
11341
|
+
}
|
|
11342
|
+
],
|
|
11149
11343
|
"js": {
|
|
11150
11344
|
"properties": [
|
|
11151
11345
|
{
|
|
@@ -11166,7 +11360,12 @@
|
|
|
11166
11360
|
"value": { "type": "boolean" }
|
|
11167
11361
|
}
|
|
11168
11362
|
],
|
|
11169
|
-
"events": [
|
|
11363
|
+
"events": [
|
|
11364
|
+
{
|
|
11365
|
+
"name": "close-overflow",
|
|
11366
|
+
"description": "Fired when the overflow popover is closed."
|
|
11367
|
+
}
|
|
11368
|
+
]
|
|
11170
11369
|
}
|
|
11171
11370
|
},
|
|
11172
11371
|
{
|
|
@@ -11892,6 +12091,10 @@
|
|
|
11892
12091
|
"name": "part(header)",
|
|
11893
12092
|
"description": "Used to style the header item of the group"
|
|
11894
12093
|
},
|
|
12094
|
+
{
|
|
12095
|
+
"name": "part(title)",
|
|
12096
|
+
"description": "Used to style the title of the group header"
|
|
12097
|
+
},
|
|
11895
12098
|
{
|
|
11896
12099
|
"name": "part(input)",
|
|
11897
12100
|
"description": "Used to style the input element. This part is forwarded to the underlying ui5-input element."
|
|
@@ -12000,6 +12203,10 @@
|
|
|
12000
12203
|
"name": "part(header)",
|
|
12001
12204
|
"description": "Used to style the header item of the group"
|
|
12002
12205
|
},
|
|
12206
|
+
{
|
|
12207
|
+
"name": "part(title)",
|
|
12208
|
+
"description": "Used to style the title of the group header"
|
|
12209
|
+
},
|
|
12003
12210
|
{
|
|
12004
12211
|
"name": "part(title)",
|
|
12005
12212
|
"description": "Used to style the title of the list item"
|
|
@@ -12048,6 +12255,10 @@
|
|
|
12048
12255
|
"name": "part(header)",
|
|
12049
12256
|
"description": "Used to style the header item of the group"
|
|
12050
12257
|
},
|
|
12258
|
+
{
|
|
12259
|
+
"name": "part(title)",
|
|
12260
|
+
"description": "Used to style the title of the group header"
|
|
12261
|
+
},
|
|
12051
12262
|
{
|
|
12052
12263
|
"name": "part(root)",
|
|
12053
12264
|
"description": "Used to style the root DOM element of the Input component"
|
|
@@ -12152,6 +12363,10 @@
|
|
|
12152
12363
|
"name": "part(header)",
|
|
12153
12364
|
"description": "Used to style the header item of the group"
|
|
12154
12365
|
},
|
|
12366
|
+
{
|
|
12367
|
+
"name": "part(title)",
|
|
12368
|
+
"description": "Used to style the title of the group header"
|
|
12369
|
+
},
|
|
12155
12370
|
{
|
|
12156
12371
|
"name": "part(slider)",
|
|
12157
12372
|
"description": "Used to style the track, where the handle is being slid"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0-rc.1",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.main",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -52,22 +52,22 @@
|
|
|
52
52
|
"directory": "packages/main"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@ui5/webcomponents-base": "2.
|
|
56
|
-
"@ui5/webcomponents-icons": "2.
|
|
57
|
-
"@ui5/webcomponents-icons-business-suite": "2.
|
|
58
|
-
"@ui5/webcomponents-icons-tnt": "2.
|
|
59
|
-
"@ui5/webcomponents-localization": "2.
|
|
60
|
-
"@ui5/webcomponents-theming": "2.
|
|
55
|
+
"@ui5/webcomponents-base": "2.20.0-rc.1",
|
|
56
|
+
"@ui5/webcomponents-icons": "2.20.0-rc.1",
|
|
57
|
+
"@ui5/webcomponents-icons-business-suite": "2.20.0-rc.1",
|
|
58
|
+
"@ui5/webcomponents-icons-tnt": "2.20.0-rc.1",
|
|
59
|
+
"@ui5/webcomponents-localization": "2.20.0-rc.1",
|
|
60
|
+
"@ui5/webcomponents-theming": "2.20.0-rc.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@custom-elements-manifest/analyzer": "^0.10.10",
|
|
64
64
|
"@ui5/cypress-internal": "0.1.0",
|
|
65
|
-
"@ui5/webcomponents-tools": "2.
|
|
66
|
-
"cypress": "
|
|
65
|
+
"@ui5/webcomponents-tools": "2.20.0-rc.1",
|
|
66
|
+
"cypress": "15.9.0",
|
|
67
67
|
"jsdom": "^26.0.0",
|
|
68
68
|
"lit": "^2.0.0",
|
|
69
69
|
"vite": "5.4.21",
|
|
70
70
|
"vitest": "^3.0.2"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "26e4c88a89fdbd5f7545d05b04e75d7b5080ab17"
|
|
73
73
|
}
|
package/src/AvatarTemplate.tsx
CHANGED
|
@@ -8,6 +8,7 @@ export default function AvatarTemplate(this: Avatar) {
|
|
|
8
8
|
tabindex={this.tabindex}
|
|
9
9
|
data-sap-focus-ref
|
|
10
10
|
role={this._role}
|
|
11
|
+
aria-hidden={this.effectiveAriaHidden}
|
|
11
12
|
aria-haspopup={this._ariaHasPopup}
|
|
12
13
|
aria-label={this.accessibleNameText}
|
|
13
14
|
onKeyUp={this._onkeyup}
|
|
@@ -14,6 +14,7 @@ export default function ColorPalettePopoverTemplate(this: ColorPalettePopover) {
|
|
|
14
14
|
open={this._open}
|
|
15
15
|
onClose={this.onAfterClose}
|
|
16
16
|
onOpen={this.onAfterOpen}
|
|
17
|
+
accessibleName={this._colorPaletteTitle}
|
|
17
18
|
>
|
|
18
19
|
<div slot="header" class="ui5-cp-header">
|
|
19
20
|
<Title level="H1" wrappingType="None">
|
|
@@ -27,6 +28,8 @@ export default function ColorPalettePopoverTemplate(this: ColorPalettePopover) {
|
|
|
27
28
|
showRecentColors={this.showRecentColors}
|
|
28
29
|
showDefaultColor={this.showDefaultColor}
|
|
29
30
|
defaultColor={this.defaultColor}
|
|
31
|
+
accessibleName={this.accessibleName}
|
|
32
|
+
accessibleNameRef={this.accessibleNameRef}
|
|
30
33
|
popupMode={true}
|
|
31
34
|
onItemClick={this.onSelectedColor}
|
|
32
35
|
>
|
|
@@ -6,7 +6,7 @@ import Button from "./Button.js";
|
|
|
6
6
|
|
|
7
7
|
export default function ColorPickerTemplate(this: ColorPicker) {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<div
|
|
10
10
|
class="ui5-color-picker-root"
|
|
11
11
|
role="group"
|
|
12
12
|
aria-label={this.colorPickerLabel}
|
|
@@ -132,6 +132,6 @@ export default function ColorPickerTemplate(this: ColorPicker) {
|
|
|
132
132
|
</div>
|
|
133
133
|
</div>
|
|
134
134
|
}
|
|
135
|
-
</
|
|
135
|
+
</div>
|
|
136
136
|
);
|
|
137
137
|
}
|