@ui5/webcomponents 2.19.0 → 2.20.0-rc.0
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 +24 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/AvatarGroup.d.ts +5 -0
- package/dist/AvatarGroup.js +17 -10
- package/dist/AvatarGroup.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/ListItemCustom.d.ts +32 -0
- package/dist/ListItemCustom.js +121 -2
- package/dist/ListItemCustom.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/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/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 +1 -2
- package/dist/Toolbar.js +18 -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/Bar.css +1 -1
- package/dist/css/themes/DatePickerPopover.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 +361 -7
- package/dist/custom-elements.json +266 -4
- package/dist/features/InputSuggestionsTemplate.js +2 -1
- package/dist/features/InputSuggestionsTemplate.js.map +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/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/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/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/vscode.html-custom-data.json +49 -8
- package/dist/web-types.json +196 -12
- package/package.json +10 -10
- 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/MultiComboBoxPopoverTemplate.tsx +8 -1
- package/src/MultiInputTemplate.tsx +2 -1
- 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_en_US_sappsd.properties +14 -8
- package/src/i18n/messagebundle_en_US_saprigi.properties +14 -8
- package/src/i18n/messagebundle_en_US_saptrc.properties +14 -8
- package/src/themes/Bar.css +1 -1
- package/src/themes/DatePickerPopover.css +24 -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,7 +1,7 @@
|
|
|
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.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1554,7 +1554,18 @@
|
|
|
1554
1554
|
"name": "ui5-color-palette",
|
|
1555
1555
|
"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
1556
|
"doc-url": "",
|
|
1557
|
-
"attributes": [
|
|
1557
|
+
"attributes": [
|
|
1558
|
+
{
|
|
1559
|
+
"name": "accessible-name",
|
|
1560
|
+
"description": "Defines the accessible name of the component.",
|
|
1561
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "accessible-name-ref",
|
|
1565
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1566
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1567
|
+
}
|
|
1568
|
+
],
|
|
1558
1569
|
"slots": [
|
|
1559
1570
|
{
|
|
1560
1571
|
"name": "default",
|
|
@@ -1568,7 +1579,18 @@
|
|
|
1568
1579
|
}
|
|
1569
1580
|
],
|
|
1570
1581
|
"js": {
|
|
1571
|
-
"properties": [
|
|
1582
|
+
"properties": [
|
|
1583
|
+
{
|
|
1584
|
+
"name": "accessible-name",
|
|
1585
|
+
"description": "Defines the accessible name of the component.",
|
|
1586
|
+
"value": { "type": "string | undefined" }
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "accessible-name-ref",
|
|
1590
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1591
|
+
"value": { "type": "string | undefined" }
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1572
1594
|
"events": [
|
|
1573
1595
|
{
|
|
1574
1596
|
"name": "item-click",
|
|
@@ -1635,6 +1657,16 @@
|
|
|
1635
1657
|
"description": "Defines the default color of the component.\n\n**Note:** The default color should be a part of the ColorPalette colors`",
|
|
1636
1658
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1637
1659
|
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "accessible-name",
|
|
1662
|
+
"description": "Defines the accessible name of the component.",
|
|
1663
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"name": "accessible-name-ref",
|
|
1667
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1668
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1669
|
+
},
|
|
1638
1670
|
{
|
|
1639
1671
|
"name": "open",
|
|
1640
1672
|
"description": "Defines the open | closed state of the popover.",
|
|
@@ -1695,6 +1727,16 @@
|
|
|
1695
1727
|
"description": "Defines the default color of the component.\n\n**Note:** The default color should be a part of the ColorPalette colors`",
|
|
1696
1728
|
"value": { "type": "string | undefined" }
|
|
1697
1729
|
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "accessible-name",
|
|
1732
|
+
"description": "Defines the accessible name of the component.",
|
|
1733
|
+
"value": { "type": "string | undefined" }
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"name": "accessible-name-ref",
|
|
1737
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1738
|
+
"value": { "type": "string | undefined" }
|
|
1739
|
+
},
|
|
1698
1740
|
{
|
|
1699
1741
|
"name": "open",
|
|
1700
1742
|
"description": "Defines the open | closed state of the popover.",
|
|
@@ -1747,6 +1789,16 @@
|
|
|
1747
1789
|
"name": "simplified",
|
|
1748
1790
|
"description": "When set to `true`, the alpha slider and inputs for RGB values will not be displayed.",
|
|
1749
1791
|
"value": { "type": "boolean", "default": "false" }
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"name": "accessible-name",
|
|
1795
|
+
"description": "Defines the accessible name of the component.",
|
|
1796
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"name": "accessible-name-ref",
|
|
1800
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1801
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1750
1802
|
}
|
|
1751
1803
|
],
|
|
1752
1804
|
"events": [
|
|
@@ -1771,6 +1823,16 @@
|
|
|
1771
1823
|
"name": "simplified",
|
|
1772
1824
|
"description": "When set to `true`, the alpha slider and inputs for RGB values will not be displayed.",
|
|
1773
1825
|
"value": { "type": "boolean" }
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"name": "accessible-name",
|
|
1829
|
+
"description": "Defines the accessible name of the component.",
|
|
1830
|
+
"value": { "type": "string | undefined" }
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"name": "accessible-name-ref",
|
|
1834
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
1835
|
+
"value": { "type": "string | undefined" }
|
|
1774
1836
|
}
|
|
1775
1837
|
],
|
|
1776
1838
|
"events": [
|
|
@@ -2109,7 +2171,7 @@
|
|
|
2109
2171
|
},
|
|
2110
2172
|
{
|
|
2111
2173
|
"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
|
|
2174
|
+
"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
2175
|
"doc-url": "",
|
|
2114
2176
|
"attributes": [
|
|
2115
2177
|
{
|
|
@@ -7190,6 +7252,22 @@
|
|
|
7190
7252
|
"name": "tooltip",
|
|
7191
7253
|
"description": "Defines the tooltip of the component.",
|
|
7192
7254
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
7255
|
+
},
|
|
7256
|
+
{
|
|
7257
|
+
"name": "icon-selected",
|
|
7258
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
7259
|
+
"value": {
|
|
7260
|
+
"type": "string | undefined",
|
|
7261
|
+
"default": "\"favorite\""
|
|
7262
|
+
}
|
|
7263
|
+
},
|
|
7264
|
+
{
|
|
7265
|
+
"name": "icon-unselected",
|
|
7266
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
7267
|
+
"value": {
|
|
7268
|
+
"type": "string | undefined",
|
|
7269
|
+
"default": "\"unfavorite\""
|
|
7270
|
+
}
|
|
7193
7271
|
}
|
|
7194
7272
|
],
|
|
7195
7273
|
"events": [
|
|
@@ -7244,6 +7322,16 @@
|
|
|
7244
7322
|
"name": "tooltip",
|
|
7245
7323
|
"description": "Defines the tooltip of the component.",
|
|
7246
7324
|
"value": { "type": "string | undefined" }
|
|
7325
|
+
},
|
|
7326
|
+
{
|
|
7327
|
+
"name": "icon-selected",
|
|
7328
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
7329
|
+
"value": { "type": "string | undefined" }
|
|
7330
|
+
},
|
|
7331
|
+
{
|
|
7332
|
+
"name": "icon-unselected",
|
|
7333
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
7334
|
+
"value": { "type": "string | undefined" }
|
|
7247
7335
|
}
|
|
7248
7336
|
],
|
|
7249
7337
|
"events": [
|
|
@@ -10751,7 +10839,7 @@
|
|
|
10751
10839
|
},
|
|
10752
10840
|
{
|
|
10753
10841
|
"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
|
|
10842
|
+
"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
10843
|
"doc-url": "",
|
|
10756
10844
|
"attributes": [
|
|
10757
10845
|
{
|
|
@@ -10829,10 +10917,17 @@
|
|
|
10829
10917
|
"value": { "type": "boolean", "default": "false" }
|
|
10830
10918
|
}
|
|
10831
10919
|
],
|
|
10920
|
+
"slots": [
|
|
10921
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
10922
|
+
],
|
|
10832
10923
|
"events": [
|
|
10833
10924
|
{
|
|
10834
10925
|
"name": "click",
|
|
10835
10926
|
"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`."
|
|
10927
|
+
},
|
|
10928
|
+
{
|
|
10929
|
+
"name": "close-overflow",
|
|
10930
|
+
"description": "Fired when the overflow popover is closed."
|
|
10836
10931
|
}
|
|
10837
10932
|
],
|
|
10838
10933
|
"js": {
|
|
@@ -10911,13 +11006,68 @@
|
|
|
10911
11006
|
{
|
|
10912
11007
|
"name": "click",
|
|
10913
11008
|
"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`."
|
|
11009
|
+
},
|
|
11010
|
+
{
|
|
11011
|
+
"name": "close-overflow",
|
|
11012
|
+
"description": "Fired when the overflow popover is closed."
|
|
11013
|
+
}
|
|
11014
|
+
]
|
|
11015
|
+
}
|
|
11016
|
+
},
|
|
11017
|
+
{
|
|
11018
|
+
"name": "ui5-toolbar-item",
|
|
11019
|
+
"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.",
|
|
11020
|
+
"doc-url": "",
|
|
11021
|
+
"attributes": [
|
|
11022
|
+
{
|
|
11023
|
+
"name": "overflow-priority",
|
|
11024
|
+
"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.",
|
|
11025
|
+
"value": {
|
|
11026
|
+
"type": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\"",
|
|
11027
|
+
"default": "\"Default\""
|
|
11028
|
+
}
|
|
11029
|
+
},
|
|
11030
|
+
{
|
|
11031
|
+
"name": "prevent-overflow-closing",
|
|
11032
|
+
"description": "Defines if the toolbar overflow popup should close upon intereaction with the item.\nIt will close by default.",
|
|
11033
|
+
"value": { "type": "boolean", "default": "false" }
|
|
11034
|
+
}
|
|
11035
|
+
],
|
|
11036
|
+
"slots": [
|
|
11037
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
11038
|
+
],
|
|
11039
|
+
"events": [
|
|
11040
|
+
{
|
|
11041
|
+
"name": "close-overflow",
|
|
11042
|
+
"description": "Fired when the overflow popover is closed."
|
|
11043
|
+
}
|
|
11044
|
+
],
|
|
11045
|
+
"js": {
|
|
11046
|
+
"properties": [
|
|
11047
|
+
{
|
|
11048
|
+
"name": "overflow-priority",
|
|
11049
|
+
"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.",
|
|
11050
|
+
"value": {
|
|
11051
|
+
"type": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
|
|
11052
|
+
}
|
|
11053
|
+
},
|
|
11054
|
+
{
|
|
11055
|
+
"name": "prevent-overflow-closing",
|
|
11056
|
+
"description": "Defines if the toolbar overflow popup should close upon intereaction with the item.\nIt will close by default.",
|
|
11057
|
+
"value": { "type": "boolean" }
|
|
11058
|
+
}
|
|
11059
|
+
],
|
|
11060
|
+
"events": [
|
|
11061
|
+
{
|
|
11062
|
+
"name": "close-overflow",
|
|
11063
|
+
"description": "Fired when the overflow popover is closed."
|
|
10914
11064
|
}
|
|
10915
11065
|
]
|
|
10916
11066
|
}
|
|
10917
11067
|
},
|
|
10918
11068
|
{
|
|
10919
11069
|
"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.",
|
|
11070
|
+
"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
11071
|
"doc-url": "",
|
|
10922
11072
|
"attributes": [
|
|
10923
11073
|
{
|
|
@@ -10989,6 +11139,10 @@
|
|
|
10989
11139
|
{
|
|
10990
11140
|
"name": "close",
|
|
10991
11141
|
"description": "Fired after the component's dropdown menu closes."
|
|
11142
|
+
},
|
|
11143
|
+
{
|
|
11144
|
+
"name": "close-overflow",
|
|
11145
|
+
"description": "Fired when the overflow popover is closed."
|
|
10992
11146
|
}
|
|
10993
11147
|
],
|
|
10994
11148
|
"js": {
|
|
@@ -11050,6 +11204,10 @@
|
|
|
11050
11204
|
{
|
|
11051
11205
|
"name": "close",
|
|
11052
11206
|
"description": "Fired after the component's dropdown menu closes."
|
|
11207
|
+
},
|
|
11208
|
+
{
|
|
11209
|
+
"name": "close-overflow",
|
|
11210
|
+
"description": "Fired when the overflow popover is closed."
|
|
11053
11211
|
}
|
|
11054
11212
|
]
|
|
11055
11213
|
}
|
|
@@ -11085,7 +11243,7 @@
|
|
|
11085
11243
|
},
|
|
11086
11244
|
{
|
|
11087
11245
|
"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",
|
|
11246
|
+
"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
11247
|
"doc-url": "",
|
|
11090
11248
|
"attributes": [
|
|
11091
11249
|
{
|
|
@@ -11102,7 +11260,15 @@
|
|
|
11102
11260
|
"value": { "type": "boolean", "default": "false" }
|
|
11103
11261
|
}
|
|
11104
11262
|
],
|
|
11105
|
-
"
|
|
11263
|
+
"slots": [
|
|
11264
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
11265
|
+
],
|
|
11266
|
+
"events": [
|
|
11267
|
+
{
|
|
11268
|
+
"name": "close-overflow",
|
|
11269
|
+
"description": "Fired when the overflow popover is closed."
|
|
11270
|
+
}
|
|
11271
|
+
],
|
|
11106
11272
|
"js": {
|
|
11107
11273
|
"properties": [
|
|
11108
11274
|
{
|
|
@@ -11118,12 +11284,17 @@
|
|
|
11118
11284
|
"value": { "type": "boolean" }
|
|
11119
11285
|
}
|
|
11120
11286
|
],
|
|
11121
|
-
"events": [
|
|
11287
|
+
"events": [
|
|
11288
|
+
{
|
|
11289
|
+
"name": "close-overflow",
|
|
11290
|
+
"description": "Fired when the overflow popover is closed."
|
|
11291
|
+
}
|
|
11292
|
+
]
|
|
11122
11293
|
}
|
|
11123
11294
|
},
|
|
11124
11295
|
{
|
|
11125
11296
|
"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",
|
|
11297
|
+
"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
11298
|
"doc-url": "",
|
|
11128
11299
|
"attributes": [
|
|
11129
11300
|
{
|
|
@@ -11145,7 +11316,15 @@
|
|
|
11145
11316
|
"value": { "type": "boolean", "default": "false" }
|
|
11146
11317
|
}
|
|
11147
11318
|
],
|
|
11148
|
-
"
|
|
11319
|
+
"slots": [
|
|
11320
|
+
{ "name": "default", "description": "Wrapped component slot." }
|
|
11321
|
+
],
|
|
11322
|
+
"events": [
|
|
11323
|
+
{
|
|
11324
|
+
"name": "close-overflow",
|
|
11325
|
+
"description": "Fired when the overflow popover is closed."
|
|
11326
|
+
}
|
|
11327
|
+
],
|
|
11149
11328
|
"js": {
|
|
11150
11329
|
"properties": [
|
|
11151
11330
|
{
|
|
@@ -11166,7 +11345,12 @@
|
|
|
11166
11345
|
"value": { "type": "boolean" }
|
|
11167
11346
|
}
|
|
11168
11347
|
],
|
|
11169
|
-
"events": [
|
|
11348
|
+
"events": [
|
|
11349
|
+
{
|
|
11350
|
+
"name": "close-overflow",
|
|
11351
|
+
"description": "Fired when the overflow popover is closed."
|
|
11352
|
+
}
|
|
11353
|
+
]
|
|
11170
11354
|
}
|
|
11171
11355
|
},
|
|
11172
11356
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0-rc.0",
|
|
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.0",
|
|
56
|
+
"@ui5/webcomponents-icons": "2.20.0-rc.0",
|
|
57
|
+
"@ui5/webcomponents-icons-business-suite": "2.20.0-rc.0",
|
|
58
|
+
"@ui5/webcomponents-icons-tnt": "2.20.0-rc.0",
|
|
59
|
+
"@ui5/webcomponents-localization": "2.20.0-rc.0",
|
|
60
|
+
"@ui5/webcomponents-theming": "2.20.0-rc.0"
|
|
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.0",
|
|
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": "1fa124de424f2dd51e0283a942e903c01e176de2"
|
|
73
73
|
}
|
|
@@ -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
|
}
|
|
@@ -5,7 +5,6 @@ import Icon from "./Icon.js";
|
|
|
5
5
|
import CalendarDate from "./CalendarDate.js";
|
|
6
6
|
import ResponsivePopover from "./ResponsivePopover.js";
|
|
7
7
|
import { isPhone } from "@ui5/webcomponents-base/dist/Device.js";
|
|
8
|
-
import decline from "@ui5/webcomponents-icons/dist/decline.js";
|
|
9
8
|
import ValueState from "@ui5/webcomponents-base/dist/types/ValueState.js";
|
|
10
9
|
import error from "@ui5/webcomponents-icons/dist/error.js";
|
|
11
10
|
import alert from "@ui5/webcomponents-icons/dist/alert.js";
|
|
@@ -23,7 +22,7 @@ export default function DatePickerPopoverTemplate(this: DatePicker, hooks?: { he
|
|
|
23
22
|
return (
|
|
24
23
|
<ResponsivePopover
|
|
25
24
|
id={`${this._id}-responsive-popover`}
|
|
26
|
-
class="ui5-date-picker-popover"
|
|
25
|
+
class="ui5-date-picker-popover ui5-popover-with-value-state-header-phone"
|
|
27
26
|
opener={this}
|
|
28
27
|
open={this.open}
|
|
29
28
|
allowTargetOverlap
|
|
@@ -54,13 +53,6 @@ function defaultHeader(this: DatePicker) {
|
|
|
54
53
|
<div slot="header" class="ui5-responsive-popover-header">
|
|
55
54
|
<div class="row">
|
|
56
55
|
<span>{this._headerTitleText}</span>
|
|
57
|
-
<Button
|
|
58
|
-
class="ui5-responsive-popover-close-btn"
|
|
59
|
-
icon={decline}
|
|
60
|
-
design="Transparent"
|
|
61
|
-
onClick={this._togglePicker}
|
|
62
|
-
>
|
|
63
|
-
</Button>
|
|
64
56
|
</div>
|
|
65
57
|
</div>
|
|
66
58
|
);
|
|
@@ -130,4 +122,23 @@ function valueStateMessageInputIcon(this: DatePicker) {
|
|
|
130
122
|
return this.valueState !== ValueState.None ? iconPerValueState[this.valueState] : "";
|
|
131
123
|
}
|
|
132
124
|
|
|
133
|
-
function defaultFooter() {
|
|
125
|
+
function defaultFooter(this: DatePicker) {
|
|
126
|
+
return (
|
|
127
|
+
<div
|
|
128
|
+
slot="footer"
|
|
129
|
+
class={{
|
|
130
|
+
"ui5-dt-picker-footer": true,
|
|
131
|
+
"ui5-dt-picker-footer-time-hidden": isPhone()
|
|
132
|
+
}}>
|
|
133
|
+
|
|
134
|
+
<Button
|
|
135
|
+
id="cancel"
|
|
136
|
+
class="ui5-dt-picker-action"
|
|
137
|
+
design="Transparent"
|
|
138
|
+
onClick={this._togglePicker}
|
|
139
|
+
>
|
|
140
|
+
{this.btnCancelLabel}
|
|
141
|
+
</Button>
|
|
142
|
+
</div>
|
|
143
|
+
);
|
|
144
|
+
}
|
|
@@ -10,6 +10,7 @@ import List from "./List.js";
|
|
|
10
10
|
import PopoverHorizontalAlign from "./types/PopoverHorizontalAlign.js";
|
|
11
11
|
import Popover from "./Popover.js";
|
|
12
12
|
import CheckBox from "./CheckBox.js";
|
|
13
|
+
import Title from "./Title.js";
|
|
13
14
|
import BusyIndicator from "./BusyIndicator.js";
|
|
14
15
|
|
|
15
16
|
export default function MultiComboBoxPopoverTemplate(this: MultiComboBox) {
|
|
@@ -39,7 +40,13 @@ export default function MultiComboBoxPopoverTemplate(this: MultiComboBox) {
|
|
|
39
40
|
{!this.loading && this._isPhone && <>
|
|
40
41
|
<div slot="header" class="ui5-responsive-popover-header" style={this.styles.popoverHeader}>
|
|
41
42
|
<div class="row">
|
|
42
|
-
<
|
|
43
|
+
<Title
|
|
44
|
+
level="H1"
|
|
45
|
+
wrappingType="None"
|
|
46
|
+
class="ui5-responsive-popover-header-text"
|
|
47
|
+
>
|
|
48
|
+
{this._headerTitleText}
|
|
49
|
+
</Title>
|
|
43
50
|
</div>
|
|
44
51
|
<div class="row">
|
|
45
52
|
<Input
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Icon from "./Icon.js";
|
|
2
|
+
import multiSelectAll from "@ui5/webcomponents-icons/dist/multiselect-all.js";
|
|
2
3
|
import InputTemplate from "./InputTemplate.js";
|
|
3
4
|
import type MultiInput from "./MultiInput.js";
|
|
4
5
|
import type { MultiInputTokenDeleteEventDetail } from "./MultiInput.js";
|
|
@@ -115,7 +116,7 @@ function multiInputMobileHeader(this: MultiInput) {
|
|
|
115
116
|
<ToggleButton
|
|
116
117
|
class="ui5-multi-input-mobile-dialog-button"
|
|
117
118
|
design="Transparent"
|
|
118
|
-
icon=
|
|
119
|
+
icon={multiSelectAll}
|
|
119
120
|
accessibleName={this._filterButtonAccessibleName}
|
|
120
121
|
disabled={!this.tokens?.length}
|
|
121
122
|
pressed={this._effectiveShowTokensInSuggestions}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type RatingIndicator from "./RatingIndicator.js";
|
|
2
2
|
import type { Star } from "./RatingIndicator.js";
|
|
3
3
|
import Icon from "./Icon.js";
|
|
4
|
-
import favorite from "@ui5/webcomponents-icons/dist/favorite.js";
|
|
5
|
-
import unfavorite from "@ui5/webcomponents-icons/dist/unfavorite.js";
|
|
6
4
|
|
|
7
5
|
export default function RatingIndicatorTemplate(this: RatingIndicator) {
|
|
8
6
|
return (
|
|
@@ -37,38 +35,40 @@ function starLi(this: RatingIndicator, star: Star) {
|
|
|
37
35
|
if (star.selected) {
|
|
38
36
|
return (
|
|
39
37
|
<li data-ui5-value={star.index} class="ui5-rating-indicator-item ui5-rating-indicator-item-sel">
|
|
40
|
-
<Icon data-ui5-value={star.index} name={
|
|
38
|
+
<Icon data-ui5-value={star.index} name={this.effectiveIconSelected} />
|
|
41
39
|
</li>
|
|
42
40
|
);
|
|
43
41
|
} if (star.halfStar) {
|
|
44
42
|
return (
|
|
45
43
|
<li class="ui5-rating-indicator-item ui5-rating-indicator-item-half">
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
<div class="ui5-rating-indicator-half-icon-wrapper ui5-rating-indicator-half-icon-left">
|
|
45
|
+
<Icon data-ui5-value={star.index} name={this.effectiveIconSelected} />
|
|
46
|
+
</div>
|
|
47
|
+
<div class="ui5-rating-indicator-half-icon-wrapper ui5-rating-indicator-half-icon-right">
|
|
48
|
+
<Icon data-ui5-value={star.index} name={halfStarIconName.call(this)} />
|
|
49
49
|
</div>
|
|
50
50
|
</li>
|
|
51
51
|
);
|
|
52
52
|
} if (this.readonly) {
|
|
53
53
|
return (
|
|
54
54
|
<li class="ui5-rating-indicator-item ui5-rating-indicator-item-unsel">
|
|
55
|
-
<Icon data-ui5-value={star.index} name={
|
|
55
|
+
<Icon data-ui5-value={star.index} name={this.effectiveIconSelected} />
|
|
56
56
|
</li>
|
|
57
57
|
);
|
|
58
58
|
} if (this.disabled) {
|
|
59
59
|
return (
|
|
60
60
|
<li class="ui5-rating-indicator-item ui5-rating-indicator-item-unsel">
|
|
61
|
-
<Icon data-ui5-value={star.index} name={
|
|
61
|
+
<Icon data-ui5-value={star.index} name={this.effectiveIconSelected} />
|
|
62
62
|
</li>
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
65
|
return (
|
|
66
66
|
<li data-ui5-value={star.index} class="ui5-rating-indicator-item ui5-rating-indicator-item-unsel">
|
|
67
|
-
<Icon data-ui5-value={star.index} name={
|
|
67
|
+
<Icon data-ui5-value={star.index} name={this.effectiveIconUnselected}/>
|
|
68
68
|
</li>
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
function halfStarIconName(this: RatingIndicator) {
|
|
73
|
-
return this.disabled || this.readonly ?
|
|
73
|
+
return this.disabled || this.readonly ? this.effectiveIconSelected : this.effectiveIconUnselected;
|
|
74
74
|
}
|
|
@@ -5,7 +5,6 @@ import Icon from "./Icon.js";
|
|
|
5
5
|
import ResponsivePopover from "./ResponsivePopover.js";
|
|
6
6
|
import TimeSelectionClocks from "./TimeSelectionClocks.js";
|
|
7
7
|
import TimeSelectionInputs from "./TimeSelectionInputs.js";
|
|
8
|
-
import decline from "@ui5/webcomponents-icons/dist/decline.js";
|
|
9
8
|
import ValueState from "@ui5/webcomponents-base/dist/types/ValueState.js";
|
|
10
9
|
import error from "@ui5/webcomponents-icons/dist/error.js";
|
|
11
10
|
import alert from "@ui5/webcomponents-icons/dist/alert.js";
|
|
@@ -17,7 +16,7 @@ export default function TimePickerPopoverTemplate(this: TimePicker) {
|
|
|
17
16
|
<>
|
|
18
17
|
<ResponsivePopover
|
|
19
18
|
id={`${this._id}-responsive-popover`}
|
|
20
|
-
class="ui5-time-picker-popover"
|
|
19
|
+
class="ui5-time-picker-popover ui5-popover-with-value-state-header-phone"
|
|
21
20
|
placement="Bottom"
|
|
22
21
|
horizontalAlign="Start"
|
|
23
22
|
opener={this}
|
|
@@ -91,13 +90,6 @@ function defaultHeader(this: TimePicker) {
|
|
|
91
90
|
<div slot="header" class="ui5-responsive-popover-header">
|
|
92
91
|
<div class="row">
|
|
93
92
|
<span>{this._headerTitleText}</span>
|
|
94
|
-
<Button
|
|
95
|
-
class="ui5-responsive-popover-close-btn"
|
|
96
|
-
icon={decline}
|
|
97
|
-
design="Transparent"
|
|
98
|
-
onClick={this._togglePicker}
|
|
99
|
-
>
|
|
100
|
-
</Button>
|
|
101
93
|
</div>
|
|
102
94
|
</div>
|
|
103
95
|
);
|