@sapudex/web-components 0.114.2 → 0.117.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/bundle.esm.js +3 -0
- package/dist/Avatar.d.ts +8 -1
- package/dist/Avatar.js +5 -2
- package/dist/Avatar.js.map +1 -1
- package/dist/CountrySelector.d.ts +1 -0
- package/dist/CountrySelector.js +3 -0
- package/dist/CountrySelector.js.map +1 -1
- package/dist/FilterMenu.d.ts +14 -4
- package/dist/FilterMenu.js +46 -7
- package/dist/FilterMenu.js.map +1 -1
- package/dist/InputGroup.js.map +1 -1
- package/dist/List.d.ts +7 -0
- package/dist/List.js +78 -18
- package/dist/List.js.map +1 -1
- package/dist/ListItem.d.ts +0 -1
- package/dist/ListItem.js +0 -6
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemBase.d.ts +3 -0
- package/dist/ListItemBase.js +12 -0
- package/dist/ListItemBase.js.map +1 -1
- package/dist/PhoneNumberField.js.map +1 -1
- package/dist/Search.d.ts +3 -0
- package/dist/Search.js +35 -10
- package/dist/Search.js.map +1 -1
- package/dist/SecondaryNavigation.d.ts +34 -46
- package/dist/SecondaryNavigation.js +140 -161
- package/dist/SecondaryNavigation.js.map +1 -1
- package/dist/SecondaryNavigationItem.d.ts +101 -0
- package/dist/SecondaryNavigationItem.js +287 -0
- package/dist/SecondaryNavigationItem.js.map +1 -0
- package/dist/SecondaryNavigationItemBase.d.ts +68 -0
- package/dist/SecondaryNavigationItemBase.js +78 -0
- package/dist/SecondaryNavigationItemBase.js.map +1 -0
- package/dist/SecondaryNavigationSubItem.d.ts +52 -0
- package/dist/SecondaryNavigationSubItem.js +102 -0
- package/dist/SecondaryNavigationSubItem.js.map +1 -0
- package/dist/SelectBox.d.ts +1 -0
- package/dist/SelectBox.js +13 -1
- package/dist/SelectBox.js.map +1 -1
- package/dist/StatusBadge.d.ts +67 -0
- package/dist/StatusBadge.js +104 -0
- package/dist/StatusBadge.js.map +1 -0
- package/dist/Tab.js +1 -1
- package/dist/Tab.js.map +1 -1
- package/dist/assets/{bundle.esm-ab45813e.js → bundle.esm-f65ae7da.js} +187 -184
- package/dist/assets/messagebundle_en-7249941b.js +1 -0
- package/dist/css/themes/Avatar.css +1 -1
- package/dist/css/themes/Checkbox.css +1 -1
- package/dist/css/themes/CountrySelector.css +1 -1
- package/dist/css/themes/Dropdown.css +1 -1
- package/dist/css/themes/FilterMenu.css +1 -1
- package/dist/css/themes/HeroBanner.css +1 -1
- package/dist/css/themes/MediaPlayer.css +1 -1
- package/dist/css/themes/PhoneNumberField.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/Search.css +1 -1
- package/dist/css/themes/SecondaryNavigation.css +1 -1
- package/dist/css/themes/SecondaryNavigationItem.css +1 -0
- package/dist/css/themes/SecondaryNavigationSubItem.css +1 -0
- package/dist/css/themes/Slider.css +1 -1
- package/dist/css/themes/StatusBadge.css +1 -0
- package/dist/custom-elements-internal.json +604 -2
- package/dist/custom-elements.json +574 -2
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +8 -1
- package/dist/generated/i18n/i18n-defaults.js +8 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/templates/CountrySelectorTemplate.lit.js +1 -1
- package/dist/generated/templates/CountrySelectorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DropdownTemplate.lit.js +1 -1
- package/dist/generated/templates/DropdownTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FilterMenuTemplate.lit.js +3 -3
- package/dist/generated/templates/FilterMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/HeroBannerTemplate.lit.js +2 -2
- package/dist/generated/templates/HeroBannerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListGroupHeaderTemplate.lit.js +4 -4
- package/dist/generated/templates/ListGroupHeaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListItemTemplate.lit.js +1 -1
- package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListSelectAllTemplate.lit.js +1 -1
- package/dist/generated/templates/ListSelectAllTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchSuggestionsTemplate.lit.js +1 -1
- package/dist/generated/templates/SearchSuggestionsTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchTemplate.lit.js +2 -2
- package/dist/generated/templates/SearchTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchableListBaseTemplate.lit.js +2 -2
- package/dist/generated/templates/SearchableListBaseTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js +11 -0
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js.map +1 -0
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js +9 -0
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js.map +1 -0
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +7 -10
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectBoxTemplate.lit.js +1 -1
- package/dist/generated/templates/SelectBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/StatusBadgeTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/StatusBadgeTemplate.lit.js +5 -0
- package/dist/generated/templates/StatusBadgeTemplate.lit.js.map +1 -0
- package/dist/generated/themes/Avatar.css.js +1 -1
- package/dist/generated/themes/Avatar.css.js.map +1 -1
- package/dist/generated/themes/Checkbox.css.js +1 -1
- package/dist/generated/themes/Checkbox.css.js.map +1 -1
- package/dist/generated/themes/CountrySelector.css.js +1 -1
- package/dist/generated/themes/CountrySelector.css.js.map +1 -1
- package/dist/generated/themes/Dropdown.css.js +1 -1
- package/dist/generated/themes/Dropdown.css.js.map +1 -1
- package/dist/generated/themes/FilterMenu.css.js +1 -1
- package/dist/generated/themes/FilterMenu.css.js.map +1 -1
- package/dist/generated/themes/HeroBanner.css.js +1 -1
- package/dist/generated/themes/HeroBanner.css.js.map +1 -1
- package/dist/generated/themes/MediaPlayer.css.js +1 -1
- package/dist/generated/themes/MediaPlayer.css.js.map +1 -1
- package/dist/generated/themes/PhoneNumberField.css.js +1 -1
- package/dist/generated/themes/PhoneNumberField.css.js.map +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/Search.css.js +1 -1
- package/dist/generated/themes/Search.css.js.map +1 -1
- package/dist/generated/themes/SecondaryNavigation.css.js +1 -1
- package/dist/generated/themes/SecondaryNavigation.css.js.map +1 -1
- package/dist/generated/themes/SecondaryNavigationItem.css.d.ts +3 -0
- package/dist/generated/themes/SecondaryNavigationItem.css.js +9 -0
- package/dist/generated/themes/SecondaryNavigationItem.css.js.map +1 -0
- package/dist/generated/themes/SecondaryNavigationSubItem.css.d.ts +3 -0
- package/dist/generated/themes/SecondaryNavigationSubItem.css.js +9 -0
- package/dist/generated/themes/SecondaryNavigationSubItem.css.js.map +1 -0
- package/dist/generated/themes/Slider.css.js +1 -1
- package/dist/generated/themes/Slider.css.js.map +1 -1
- package/dist/generated/themes/StatusBadge.css.d.ts +3 -0
- package/dist/generated/themes/StatusBadge.css.js +9 -0
- package/dist/generated/themes/StatusBadge.css.js.map +1 -0
- package/dist/i18n/messagebundle.properties +12 -1
- package/dist/i18n/messagebundle_en.properties +8 -1
- package/dist/vscode.html-custom-data.json +131 -3
- package/dist/web-types.json +203 -5
- package/package.json +1 -1
- package/src/Avatar.ts +12 -3
- package/src/CountrySelector.hbs +2 -1
- package/src/CountrySelector.ts +4 -1
- package/src/Dropdown.hbs +0 -1
- package/src/FilterMenu.hbs +5 -1
- package/src/FilterMenu.ts +60 -10
- package/src/HeroBanner.hbs +24 -21
- package/src/InputGroup.ts +6 -5
- package/src/List.ts +92 -21
- package/src/ListGroupHeader.hbs +9 -5
- package/src/ListItem.hbs +2 -1
- package/src/ListItem.ts +0 -7
- package/src/ListItemBase.ts +14 -0
- package/src/ListSelectAll.hbs +1 -0
- package/src/PhoneNumberField.ts +1 -1
- package/src/Search.hbs +3 -2
- package/src/Search.ts +37 -10
- package/src/SearchSuggestions.hbs +1 -1
- package/src/SearchableListBase.hbs +2 -0
- package/src/SecondaryNavigation.hbs +50 -72
- package/src/SecondaryNavigation.ts +171 -195
- package/src/SecondaryNavigationItem.hbs +63 -0
- package/src/SecondaryNavigationItem.ts +358 -0
- package/src/SecondaryNavigationItemBase.ts +115 -0
- package/src/SecondaryNavigationSubItem.hbs +41 -0
- package/src/SecondaryNavigationSubItem.ts +123 -0
- package/src/SelectBox.hbs +1 -0
- package/src/SelectBox.ts +16 -1
- package/src/StatusBadge.hbs +9 -0
- package/src/StatusBadge.ts +129 -0
- package/src/Tab.ts +1 -1
- package/src/generated/i18n/i18n-defaults.ts +2 -2
- package/src/generated/templates/CountrySelectorTemplate.lit.ts +1 -1
- package/src/generated/templates/DropdownTemplate.lit.ts +1 -1
- package/src/generated/templates/FilterMenuTemplate.lit.ts +3 -3
- package/src/generated/templates/HeroBannerTemplate.lit.ts +2 -2
- package/src/generated/templates/ListGroupHeaderTemplate.lit.ts +4 -4
- package/src/generated/templates/ListItemTemplate.lit.ts +1 -1
- package/src/generated/templates/ListSelectAllTemplate.lit.ts +1 -1
- package/src/generated/templates/SearchSuggestionsTemplate.lit.ts +1 -1
- package/src/generated/templates/SearchTemplate.lit.ts +2 -2
- package/src/generated/templates/SearchableListBaseTemplate.lit.ts +2 -2
- package/src/generated/templates/SecondaryNavigationItemTemplate.lit.ts +16 -0
- package/src/generated/templates/SecondaryNavigationSubItemTemplate.lit.ts +14 -0
- package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +7 -10
- package/src/generated/templates/SelectBoxTemplate.lit.ts +1 -1
- package/src/generated/templates/StatusBadgeTemplate.lit.ts +10 -0
- package/src/generated/themes/Avatar.css.ts +1 -1
- package/src/generated/themes/Checkbox.css.ts +1 -1
- package/src/generated/themes/CountrySelector.css.ts +1 -1
- package/src/generated/themes/Dropdown.css.ts +1 -1
- package/src/generated/themes/FilterMenu.css.ts +1 -1
- package/src/generated/themes/HeroBanner.css.ts +1 -1
- package/src/generated/themes/MediaPlayer.css.ts +1 -1
- package/src/generated/themes/PhoneNumberField.css.ts +1 -1
- package/src/generated/themes/RatingIndicator.css.ts +1 -1
- package/src/generated/themes/Search.css.ts +1 -1
- package/src/generated/themes/SecondaryNavigation.css.ts +1 -1
- package/src/generated/themes/SecondaryNavigationItem.css.ts +13 -0
- package/src/generated/themes/SecondaryNavigationSubItem.css.ts +13 -0
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/generated/themes/StatusBadge.css.ts +13 -0
- package/src/i18n/messagebundle.properties +12 -1
- package/src/i18n/messagebundle_en.properties +8 -1
- package/src/themes/Avatar.css +20 -0
- package/src/themes/Checkbox.css +12 -0
- package/src/themes/CountrySelector.css +4 -0
- package/src/themes/Dropdown.css +2 -0
- package/src/themes/FilterMenu.css +10 -0
- package/src/themes/HeroBanner.css +42 -6
- package/src/themes/MediaPlayer.css +3 -2
- package/src/themes/PhoneNumberField.css +4 -0
- package/src/themes/Search.css +11 -7
- package/src/themes/SecondaryNavigation.css +44 -302
- package/src/themes/SecondaryNavigationItem.css +220 -0
- package/src/themes/SecondaryNavigationSubItem.css +118 -0
- package/src/themes/StatusBadge.css +135 -0
- package/dist/assets/messagebundle_en-26cd7a92.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.css.js","sourceRoot":"","sources":["../../../src/generated/themes/StatusBadge.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,4BAA4B,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACzG,6BAA6B,CAAC,yBAAyB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC;AAElG,MAAM,SAAS,GAAc,EAAC,WAAW,EAAC,yBAAyB,EAAC,QAAQ,EAAC,2BAA2B,EAAC,OAAO,EAAC;CAChH,EAAC,CAAC;AACH,eAAe,SAAS,CAAC","sourcesContent":["import type { StyleData } from \"@ui5/webcomponents-base/dist/types.js\";\nimport { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@ui5/webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@sapudex/web-components\", \"sap_horizon\", async () => defaultTheme);\n\nconst styleData: StyleData = {packageName:\"@sapudex/web-components\",fileName:\"themes/StatusBadge.css.ts\",content:`:host{--udex-status-badge-icon-color-error: var(--udexColorRed8);--udex-status-badge-background-color-error: var(--udexColorRed2);--udex-status-badge-border-color-error: var(--udexColorRed7);--udex-status-badge-icon-color-success: var(--udexColorGreen8);--udex-status-badge-background-color-success: var(--udexColorGreen2);--udex-status-badge-border-color-success: var(--udexColorGreen7);--udex-status-badge-icon-color-warning: var(--udexColorMango8);--udex-status-badge-background-color-warning: var(--udexColorMango2);--udex-status-badge-border-color-warning: var(--udexColorMango7);--udex-status-badge-icon-color-information: var(--udexColorBlue8);--udex-status-badge-background-color-information: var(--udexColorBlue2);--udex-status-badge-border-color-information: var(--udexColorBlue7);--udex-status-badge-icon-color-edit: white;--udex-status-badge-background-color-edit: var(--udexColorBlue7);--udex-status-badge-size-background-xs-and-s-and-m: 18px;--udex-status-badge-size-background-l: 20px;--udex-status-badge-size-background-xl: 28px;--udex-status-badge-size-icon-xs-and-s-and-m: 12px;--udex-status-badge-size-icon-l: 14px;--udex-status-badge-size-icon-xl: 16px;display:inline-block;box-sizing:border-box;position:relative}.udex-status-badge__icon{color:inherit;display:inline-block;border-radius:50%;outline:1px solid;vertical-align:top}.udex-status-badge__icon,:host([value-state=\"Information\"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-information);border-color:var(--udex-status-badge-border-color-information);background:var(--udex-status-badge-background-color-information)}:host([value-state=\"Error\"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-error);border-color:var(--udex-status-badge-border-color-error);background:var(--udex-status-badge-background-color-error)}:host([value-state=\"Success\"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-success);border-color:var(--udex-status-badge-border-color-success);background:var(--udex-status-badge-background-color-success)}:host([value-state=\"Warning\"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-warning);border-color:var(--udex-status-badge-border-color-warning);background:var(--udex-status-badge-background-color-warning)}:host([value-state=\"Edit\"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-edit);background:var(--udex-status-badge-background-color-edit);border:0;outline:0;cursor:pointer}.udex-status-badge__icon,:host([size=\"XS\"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size=\"S\"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size=\"M\"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size=\"L\"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-l);height:var(--udex-status-badge-size-icon-l);padding:3px}:host([size=\"XL\"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xl);height:var(--udex-status-badge-size-icon-xl);padding:6px}.udex-status-badge,:host([size=\"XS\"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size=\"S\"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size=\"M\"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size=\"L\"]) .udex-status-badge{width:var(--udex-status-badge-size-background-l);height:var(--udex-status-badge-size-background-l)}:host([size=\"XL\"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xl);height:var(--udex-status-badge-size-background-xl)}\n`};\nexport default styleData;\n\t"]}
|
|
@@ -147,13 +147,21 @@ QUICK_LINKS=Quick Links
|
|
|
147
147
|
TRENDING=Trending
|
|
148
148
|
ABOUT_SAP=About SAP
|
|
149
149
|
SITE_INFORMATION=Site Information
|
|
150
|
-
SEE_COMPLETE_LIST=Or see our complete list of
|
|
150
|
+
SEE_COMPLETE_LIST=Or see our complete list of
|
|
151
151
|
LOCAL_COUNTRY_NAMES=local country numbers
|
|
152
152
|
|
|
153
153
|
#Avatar accessible names
|
|
154
154
|
AVATAR_TEXT=Avatar
|
|
155
155
|
DISABLED=Disabled
|
|
156
156
|
|
|
157
|
+
#Status badge accessible names
|
|
158
|
+
STATUS_BADGE_TEXT=Status badge
|
|
159
|
+
STATUS_BADGE_EDIT_TITLE=Click to edit profile
|
|
160
|
+
STATUS_BADGE_INFORMATION_TITLE=Click to open profile information
|
|
161
|
+
STATUS_BADGE_WARNING_TITLE=Warning, potential risk with the profile
|
|
162
|
+
STATUS_BADGE_ERROR_TITLE=There is an error with the profile
|
|
163
|
+
STATUS_BADGE_SUCCESS_TITLE=Successfully verified profile
|
|
164
|
+
|
|
157
165
|
|
|
158
166
|
#Text for Date Picker Calendar button icon
|
|
159
167
|
CALENDAR_ICON=Employee start date
|
|
@@ -164,3 +172,6 @@ TABLE_NO_DATA_FOUND=No data found
|
|
|
164
172
|
#Text for List Item button icons
|
|
165
173
|
LIST_ITEM_EDIT_ICON=Edit list item entry
|
|
166
174
|
LIST_ITEM_DELETE_ICON=Delete list item entry
|
|
175
|
+
|
|
176
|
+
#SecondaryNavigationSubItem Aria label for back button
|
|
177
|
+
BACK_BUTTON_LABEL=back button
|
|
@@ -77,9 +77,16 @@ QUICK_LINKS=Quick Links
|
|
|
77
77
|
TRENDING=Trending
|
|
78
78
|
ABOUT_SAP=About SAP
|
|
79
79
|
SITE_INFORMATION=Site Information
|
|
80
|
-
SEE_COMPLETE_LIST=Or see our complete list of
|
|
80
|
+
SEE_COMPLETE_LIST=Or see our complete list of
|
|
81
81
|
LOCAL_COUNTRY_NAMES=local country numbers
|
|
82
82
|
AVATAR_TEXT=Avatar
|
|
83
83
|
CALENDAR_ICON=Employee start date
|
|
84
84
|
LIST_ITEM_EDIT_ICON=Edit list item entry
|
|
85
85
|
LIST_ITEM_DELETE_ICON=Delete list item entry
|
|
86
|
+
BACK_BUTTON_LABEL=back button label
|
|
87
|
+
STATUS_BADGE_TEXT=Status Badge
|
|
88
|
+
STATUS_BADGE_EDIT_TITLE=Click to edit profile
|
|
89
|
+
STATUS_BADGE_INFORMATION_TITLE=Click to open profile information
|
|
90
|
+
STATUS_BADGE_WARNING_TITLE=Warning, potential risk with the profile
|
|
91
|
+
STATUS_BADGE_ERROR_TITLE=There is an error with the profile
|
|
92
|
+
STATUS_BADGE_SUCCESS_TITLE=Successfully verified profile
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"name": "size",
|
|
101
|
-
"description": "
|
|
101
|
+
"description": "Defines predefined size of the component.",
|
|
102
102
|
"values": [
|
|
103
103
|
{ "name": "XS" },
|
|
104
104
|
{ "name": "S" },
|
|
@@ -106,6 +106,11 @@
|
|
|
106
106
|
{ "name": "L" },
|
|
107
107
|
{ "name": "XL" }
|
|
108
108
|
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "show-attention-badge",
|
|
112
|
+
"description": "Defines the displaying attention badge.",
|
|
113
|
+
"values": []
|
|
109
114
|
}
|
|
110
115
|
],
|
|
111
116
|
"references": []
|
|
@@ -2090,7 +2095,7 @@
|
|
|
2090
2095
|
},
|
|
2091
2096
|
{
|
|
2092
2097
|
"name": "udex-search",
|
|
2093
|
-
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-search</code>\n<h3>ES6 Module Import</h3>\n\n<code>import @udex/web-components/dist/Search.js\";</code>\n\n\n---\n\n\n\n\n### **Events:**\n - **submit-search-value** - Fired event when the user submitted the value.\n- **handle-value-search** - Fired event when the user typed to search field.\n- **handle-value-reset** - Fired event when the user clicks on the reset button.\n- **dropdown-item-click** - Fired event when the user clicks on the item inside the popover.\n- **prefix-item-click** - Fired event when the user clicks on the intem inside the prefix dropdown.\n\n### **Slots:**\n - **default** - Defines the prefix dropdown of the Search component.",
|
|
2098
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-search</code>\n<h3>ES6 Module Import</h3>\n\n<code>import @udex/web-components/dist/Search.js\";</code>\n\n\n---\n\n\n\n\n### **Events:**\n - **submit-search-value** - Fired event when the user submitted the value.\n- **handle-value-search** - Fired event when the user typed to search field.\n- **handle-value-reset** - Fired event when the user clicks on the reset button.\n- **handle-close-search** - Fired event when the user presses escape in search field.\n- **dropdown-item-click** - Fired event when the user clicks on the item inside the popover.\n- **prefix-item-click** - Fired event when the user clicks on the intem inside the prefix dropdown.\n\n### **Slots:**\n - **default** - Defines the prefix dropdown of the Search component.",
|
|
2094
2099
|
"attributes": [
|
|
2095
2100
|
{
|
|
2096
2101
|
"name": "value",
|
|
@@ -2204,7 +2209,7 @@
|
|
|
2204
2209
|
},
|
|
2205
2210
|
{
|
|
2206
2211
|
"name": "udex-secondary-navigation",
|
|
2207
|
-
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-secondary-navigation</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/SecondaryNavigation.js\";</code>\n\n\n---\n\n\n\n\n### **Events:**\n - **item-click** - Fires when item is clicked\n\n### **Slots:**\n - **breadcrumbs** - Slot for breadcrumbs.\n- **buttons** - Slot for action buttons.",
|
|
2212
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-secondary-navigation</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/SecondaryNavigation.js\";</code>\n\n\n---\n\n\n\n\n### **Events:**\n - **item-click** - Fires when item is clicked\n- **sub-item-click** - Fires when sub item is clicked\n\n### **Slots:**\n - **breadcrumbs** - Slot for breadcrumbs.\n- **buttons** - Slot for action buttons.",
|
|
2208
2213
|
"attributes": [
|
|
2209
2214
|
{
|
|
2210
2215
|
"name": "mobile-menu-opener-aria-label",
|
|
@@ -2220,6 +2225,95 @@
|
|
|
2220
2225
|
"name": "title",
|
|
2221
2226
|
"description": "Defines the title of the component.",
|
|
2222
2227
|
"values": []
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"name": "title-href",
|
|
2231
|
+
"description": "Defines the href of the title.",
|
|
2232
|
+
"values": []
|
|
2233
|
+
}
|
|
2234
|
+
],
|
|
2235
|
+
"references": []
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"name": "udex-secondary-navigation-item-base",
|
|
2239
|
+
"description": "A class to serve as a foundation\nfor the <code>UDExSecondaryNavigationItem</code> and <code>UDExSecondaryNavigationSubItem</code> classes.\n\n\n---\n\n\n",
|
|
2240
|
+
"attributes": [
|
|
2241
|
+
{
|
|
2242
|
+
"name": "active",
|
|
2243
|
+
"description": "Defines active state for the item",
|
|
2244
|
+
"values": []
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"name": "path",
|
|
2248
|
+
"description": "Defines path for the item",
|
|
2249
|
+
"values": []
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"name": "target",
|
|
2253
|
+
"description": "Defines target for the item",
|
|
2254
|
+
"values": []
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"name": "sub-title",
|
|
2258
|
+
"description": "Defines subTitle for the item",
|
|
2259
|
+
"values": []
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"name": "label",
|
|
2263
|
+
"description": "Defines label for the item",
|
|
2264
|
+
"values": []
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "index",
|
|
2268
|
+
"description": "Defines the index for the item.",
|
|
2269
|
+
"values": []
|
|
2270
|
+
}
|
|
2271
|
+
],
|
|
2272
|
+
"references": []
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "udex-secondary-navigation-sub-item",
|
|
2276
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-secondary-navigation-sub-item</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/SecondaryNavigationSubItem.js\";</code>\n\n\n---\n\n\n\n\n### **Events:**\n - **sub-item-click** - Fires when item is clicked\n- **back-item-click** - Fires when back item is clicked",
|
|
2277
|
+
"attributes": [
|
|
2278
|
+
{
|
|
2279
|
+
"name": "is-active",
|
|
2280
|
+
"description": "Defines active item.",
|
|
2281
|
+
"values": []
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"name": "is-back",
|
|
2285
|
+
"description": "Defines back item.",
|
|
2286
|
+
"values": []
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
"name": "active",
|
|
2290
|
+
"description": "Defines active state for the item",
|
|
2291
|
+
"values": []
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "path",
|
|
2295
|
+
"description": "Defines path for the item",
|
|
2296
|
+
"values": []
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"name": "target",
|
|
2300
|
+
"description": "Defines target for the item",
|
|
2301
|
+
"values": []
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
"name": "sub-title",
|
|
2305
|
+
"description": "Defines subTitle for the item",
|
|
2306
|
+
"values": []
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"name": "label",
|
|
2310
|
+
"description": "Defines label for the item",
|
|
2311
|
+
"values": []
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "index",
|
|
2315
|
+
"description": "Defines the index for the item.",
|
|
2316
|
+
"values": []
|
|
2223
2317
|
}
|
|
2224
2318
|
],
|
|
2225
2319
|
"references": []
|
|
@@ -2616,6 +2710,40 @@
|
|
|
2616
2710
|
"attributes": [],
|
|
2617
2711
|
"references": []
|
|
2618
2712
|
},
|
|
2713
|
+
{
|
|
2714
|
+
"name": "udex-status-badge",
|
|
2715
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-status-badge</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/StatusBadge.js\";</code>\n\n\n---\n\n\n",
|
|
2716
|
+
"attributes": [
|
|
2717
|
+
{
|
|
2718
|
+
"name": "value-state",
|
|
2719
|
+
"description": "Defines the value state of the component.",
|
|
2720
|
+
"values": [
|
|
2721
|
+
{ "name": "Success" },
|
|
2722
|
+
{ "name": "Error" },
|
|
2723
|
+
{ "name": "Warning" },
|
|
2724
|
+
{ "name": "Information" },
|
|
2725
|
+
{ "name": "Edit" }
|
|
2726
|
+
]
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"name": "size",
|
|
2730
|
+
"description": "Defines predefined size of the component.",
|
|
2731
|
+
"values": [
|
|
2732
|
+
{ "name": "XS" },
|
|
2733
|
+
{ "name": "S" },
|
|
2734
|
+
{ "name": "M" },
|
|
2735
|
+
{ "name": "L" },
|
|
2736
|
+
{ "name": "XL" }
|
|
2737
|
+
]
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"name": "accessible-name",
|
|
2741
|
+
"description": "Defines the text alternative of the component.",
|
|
2742
|
+
"values": []
|
|
2743
|
+
}
|
|
2744
|
+
],
|
|
2745
|
+
"references": []
|
|
2746
|
+
},
|
|
2619
2747
|
{
|
|
2620
2748
|
"name": "udex-status-message",
|
|
2621
2749
|
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-status-message</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/StatusMessage.js\";</code>\n\n\n---\n\n\n",
|
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": "@sapudex/web-components",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.117.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -164,11 +164,16 @@
|
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"name": "size",
|
|
167
|
-
"description": "
|
|
167
|
+
"description": "Defines predefined size of the component.",
|
|
168
168
|
"value": {
|
|
169
169
|
"type": "\"XS\" | \"S\" | \"M\" | \"L\" | \"XL\"",
|
|
170
170
|
"default": "\"S\""
|
|
171
171
|
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "show-attention-badge",
|
|
175
|
+
"description": "Defines the displaying attention badge.",
|
|
176
|
+
"value": { "type": "boolean", "default": "false" }
|
|
172
177
|
}
|
|
173
178
|
],
|
|
174
179
|
"slots": [
|
|
@@ -228,8 +233,13 @@
|
|
|
228
233
|
},
|
|
229
234
|
{
|
|
230
235
|
"name": "size",
|
|
231
|
-
"description": "
|
|
236
|
+
"description": "Defines predefined size of the component.",
|
|
232
237
|
"value": { "type": "\"XS\" | \"S\" | \"M\" | \"L\" | \"XL\"" }
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "show-attention-badge",
|
|
241
|
+
"description": "Defines the displaying attention badge.",
|
|
242
|
+
"value": { "type": "boolean" }
|
|
233
243
|
}
|
|
234
244
|
],
|
|
235
245
|
"events": []
|
|
@@ -4349,7 +4359,7 @@
|
|
|
4349
4359
|
},
|
|
4350
4360
|
{
|
|
4351
4361
|
"name": "udex-search",
|
|
4352
|
-
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-search</code>\n<h3>ES6 Module Import</h3>\n\n<code>import @udex/web-components/dist/Search.js\";</code>\n---\n\n\n### **Events:**\n - **submit-search-value** - Fired event when the user submitted the value.\n- **handle-value-search** - Fired event when the user typed to search field.\n- **handle-value-reset** - Fired event when the user clicks on the reset button.\n- **dropdown-item-click** - Fired event when the user clicks on the item inside the popover.\n- **prefix-item-click** - Fired event when the user clicks on the intem inside the prefix dropdown.\n\n### **Slots:**\n - **default** - Defines the prefix dropdown of the Search component.",
|
|
4362
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-search</code>\n<h3>ES6 Module Import</h3>\n\n<code>import @udex/web-components/dist/Search.js\";</code>\n---\n\n\n### **Events:**\n - **submit-search-value** - Fired event when the user submitted the value.\n- **handle-value-search** - Fired event when the user typed to search field.\n- **handle-value-reset** - Fired event when the user clicks on the reset button.\n- **handle-close-search** - Fired event when the user presses escape in search field.\n- **dropdown-item-click** - Fired event when the user clicks on the item inside the popover.\n- **prefix-item-click** - Fired event when the user clicks on the intem inside the prefix dropdown.\n\n### **Slots:**\n - **default** - Defines the prefix dropdown of the Search component.",
|
|
4353
4363
|
"doc-url": "",
|
|
4354
4364
|
"attributes": [
|
|
4355
4365
|
{
|
|
@@ -4442,6 +4452,10 @@
|
|
|
4442
4452
|
"name": "handle-value-reset",
|
|
4443
4453
|
"description": "Fired event when the user clicks on the reset button."
|
|
4444
4454
|
},
|
|
4455
|
+
{
|
|
4456
|
+
"name": "handle-close-search",
|
|
4457
|
+
"description": "Fired event when the user presses escape in search field."
|
|
4458
|
+
},
|
|
4445
4459
|
{
|
|
4446
4460
|
"name": "dropdown-item-click",
|
|
4447
4461
|
"description": "Fired event when the user clicks on the item inside the popover."
|
|
@@ -4537,6 +4551,10 @@
|
|
|
4537
4551
|
"name": "handle-value-reset",
|
|
4538
4552
|
"description": "Fired event when the user clicks on the reset button."
|
|
4539
4553
|
},
|
|
4554
|
+
{
|
|
4555
|
+
"name": "handle-close-search",
|
|
4556
|
+
"description": "Fired event when the user presses escape in search field."
|
|
4557
|
+
},
|
|
4540
4558
|
{
|
|
4541
4559
|
"name": "dropdown-item-click",
|
|
4542
4560
|
"description": "Fired event when the user clicks on the item inside the popover."
|
|
@@ -4550,7 +4568,7 @@
|
|
|
4550
4568
|
},
|
|
4551
4569
|
{
|
|
4552
4570
|
"name": "udex-secondary-navigation",
|
|
4553
|
-
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-secondary-navigation</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/SecondaryNavigation.js\";</code>\n---\n\n\n### **Events:**\n - **item-click** - Fires when item is clicked\n\n### **Slots:**\n - **breadcrumbs** - Slot for breadcrumbs.\n- **buttons** - Slot for action buttons.",
|
|
4571
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-secondary-navigation</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/SecondaryNavigation.js\";</code>\n---\n\n\n### **Events:**\n - **item-click** - Fires when item is clicked\n- **sub-item-click** - Fires when sub item is clicked\n\n### **Slots:**\n - **breadcrumbs** - Slot for breadcrumbs.\n- **buttons** - Slot for action buttons.",
|
|
4554
4572
|
"doc-url": "",
|
|
4555
4573
|
"attributes": [
|
|
4556
4574
|
{
|
|
@@ -4567,6 +4585,11 @@
|
|
|
4567
4585
|
"name": "title",
|
|
4568
4586
|
"description": "Defines the title of the component.",
|
|
4569
4587
|
"value": { "type": "string", "default": "\"\"" }
|
|
4588
|
+
},
|
|
4589
|
+
{
|
|
4590
|
+
"name": "title-href",
|
|
4591
|
+
"description": "Defines the href of the title.",
|
|
4592
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
4570
4593
|
}
|
|
4571
4594
|
],
|
|
4572
4595
|
"slots": [
|
|
@@ -4577,6 +4600,10 @@
|
|
|
4577
4600
|
{
|
|
4578
4601
|
"name": "item-click",
|
|
4579
4602
|
"description": "Fires when item is clicked"
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
"name": "sub-item-click",
|
|
4606
|
+
"description": "Fires when sub item is clicked"
|
|
4580
4607
|
}
|
|
4581
4608
|
],
|
|
4582
4609
|
"js": {
|
|
@@ -4595,12 +4622,132 @@
|
|
|
4595
4622
|
"name": "title",
|
|
4596
4623
|
"description": "Defines the title of the component.",
|
|
4597
4624
|
"value": { "type": "string" }
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
"name": "title-href",
|
|
4628
|
+
"description": "Defines the href of the title.",
|
|
4629
|
+
"value": { "type": "string" }
|
|
4598
4630
|
}
|
|
4599
4631
|
],
|
|
4600
4632
|
"events": [
|
|
4601
4633
|
{
|
|
4602
4634
|
"name": "item-click",
|
|
4603
4635
|
"description": "Fires when item is clicked"
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
"name": "sub-item-click",
|
|
4639
|
+
"description": "Fires when sub item is clicked"
|
|
4640
|
+
}
|
|
4641
|
+
]
|
|
4642
|
+
}
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
"name": "udex-secondary-navigation-sub-item",
|
|
4646
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-secondary-navigation-sub-item</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/SecondaryNavigationSubItem.js\";</code>\n---\n\n\n### **Events:**\n - **sub-item-click** - Fires when item is clicked\n- **back-item-click** - Fires when back item is clicked",
|
|
4647
|
+
"doc-url": "",
|
|
4648
|
+
"attributes": [
|
|
4649
|
+
{
|
|
4650
|
+
"name": "is-active",
|
|
4651
|
+
"description": "Defines active item.",
|
|
4652
|
+
"value": { "type": "boolean", "default": "false" }
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
"name": "is-back",
|
|
4656
|
+
"description": "Defines back item.",
|
|
4657
|
+
"value": { "type": "boolean", "default": "false" }
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
"name": "active",
|
|
4661
|
+
"description": "Defines active state for the item",
|
|
4662
|
+
"value": { "type": "boolean" }
|
|
4663
|
+
},
|
|
4664
|
+
{
|
|
4665
|
+
"name": "path",
|
|
4666
|
+
"description": "Defines path for the item",
|
|
4667
|
+
"value": { "type": "string" }
|
|
4668
|
+
},
|
|
4669
|
+
{
|
|
4670
|
+
"name": "target",
|
|
4671
|
+
"description": "Defines target for the item",
|
|
4672
|
+
"value": { "type": "string" }
|
|
4673
|
+
},
|
|
4674
|
+
{
|
|
4675
|
+
"name": "sub-title",
|
|
4676
|
+
"description": "Defines subTitle for the item",
|
|
4677
|
+
"value": { "type": "string" }
|
|
4678
|
+
},
|
|
4679
|
+
{
|
|
4680
|
+
"name": "label",
|
|
4681
|
+
"description": "Defines label for the item",
|
|
4682
|
+
"value": { "type": "string" }
|
|
4683
|
+
},
|
|
4684
|
+
{
|
|
4685
|
+
"name": "index",
|
|
4686
|
+
"description": "Defines the index for the item.",
|
|
4687
|
+
"value": { "type": "number" }
|
|
4688
|
+
}
|
|
4689
|
+
],
|
|
4690
|
+
"events": [
|
|
4691
|
+
{
|
|
4692
|
+
"name": "sub-item-click",
|
|
4693
|
+
"description": "Fires when item is clicked"
|
|
4694
|
+
},
|
|
4695
|
+
{
|
|
4696
|
+
"name": "back-item-click",
|
|
4697
|
+
"description": "Fires when back item is clicked"
|
|
4698
|
+
}
|
|
4699
|
+
],
|
|
4700
|
+
"js": {
|
|
4701
|
+
"properties": [
|
|
4702
|
+
{
|
|
4703
|
+
"name": "is-active",
|
|
4704
|
+
"description": "Defines active item.",
|
|
4705
|
+
"value": { "type": "boolean" }
|
|
4706
|
+
},
|
|
4707
|
+
{
|
|
4708
|
+
"name": "is-back",
|
|
4709
|
+
"description": "Defines back item.",
|
|
4710
|
+
"value": { "type": "boolean" }
|
|
4711
|
+
},
|
|
4712
|
+
{
|
|
4713
|
+
"name": "active",
|
|
4714
|
+
"description": "Defines active state for the item",
|
|
4715
|
+
"value": { "type": "boolean" }
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"name": "path",
|
|
4719
|
+
"description": "Defines path for the item",
|
|
4720
|
+
"value": { "type": "string" }
|
|
4721
|
+
},
|
|
4722
|
+
{
|
|
4723
|
+
"name": "target",
|
|
4724
|
+
"description": "Defines target for the item",
|
|
4725
|
+
"value": { "type": "string" }
|
|
4726
|
+
},
|
|
4727
|
+
{
|
|
4728
|
+
"name": "sub-title",
|
|
4729
|
+
"description": "Defines subTitle for the item",
|
|
4730
|
+
"value": { "type": "string" }
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
"name": "label",
|
|
4734
|
+
"description": "Defines label for the item",
|
|
4735
|
+
"value": { "type": "string" }
|
|
4736
|
+
},
|
|
4737
|
+
{
|
|
4738
|
+
"name": "index",
|
|
4739
|
+
"description": "Defines the index for the item.",
|
|
4740
|
+
"value": { "type": "number" }
|
|
4741
|
+
}
|
|
4742
|
+
],
|
|
4743
|
+
"events": [
|
|
4744
|
+
{
|
|
4745
|
+
"name": "sub-item-click",
|
|
4746
|
+
"description": "Fires when item is clicked"
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"name": "back-item-click",
|
|
4750
|
+
"description": "Fires when back item is clicked"
|
|
4604
4751
|
}
|
|
4605
4752
|
]
|
|
4606
4753
|
}
|
|
@@ -5375,6 +5522,57 @@
|
|
|
5375
5522
|
"events": [],
|
|
5376
5523
|
"js": { "properties": [], "events": [] }
|
|
5377
5524
|
},
|
|
5525
|
+
{
|
|
5526
|
+
"name": "udex-status-badge",
|
|
5527
|
+
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-status-badge</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/StatusBadge.js\";</code>\n---\n",
|
|
5528
|
+
"doc-url": "",
|
|
5529
|
+
"attributes": [
|
|
5530
|
+
{
|
|
5531
|
+
"name": "value-state",
|
|
5532
|
+
"description": "Defines the value state of the component.",
|
|
5533
|
+
"value": {
|
|
5534
|
+
"type": "\"Success\" | \"Error\" | \"Warning\" | \"Information\" | \"Edit\"",
|
|
5535
|
+
"default": "\"Information\""
|
|
5536
|
+
}
|
|
5537
|
+
},
|
|
5538
|
+
{
|
|
5539
|
+
"name": "size",
|
|
5540
|
+
"description": "Defines predefined size of the component.",
|
|
5541
|
+
"value": {
|
|
5542
|
+
"type": "\"XS\" | \"S\" | \"M\" | \"L\" | \"XL\"",
|
|
5543
|
+
"default": "\"S\""
|
|
5544
|
+
}
|
|
5545
|
+
},
|
|
5546
|
+
{
|
|
5547
|
+
"name": "accessible-name",
|
|
5548
|
+
"description": "Defines the text alternative of the component.",
|
|
5549
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
5550
|
+
}
|
|
5551
|
+
],
|
|
5552
|
+
"events": [],
|
|
5553
|
+
"js": {
|
|
5554
|
+
"properties": [
|
|
5555
|
+
{
|
|
5556
|
+
"name": "value-state",
|
|
5557
|
+
"description": "Defines the value state of the component.",
|
|
5558
|
+
"value": {
|
|
5559
|
+
"type": "\"Success\" | \"Error\" | \"Warning\" | \"Information\" | \"Edit\""
|
|
5560
|
+
}
|
|
5561
|
+
},
|
|
5562
|
+
{
|
|
5563
|
+
"name": "size",
|
|
5564
|
+
"description": "Defines predefined size of the component.",
|
|
5565
|
+
"value": { "type": "\"XS\" | \"S\" | \"M\" | \"L\" | \"XL\"" }
|
|
5566
|
+
},
|
|
5567
|
+
{
|
|
5568
|
+
"name": "accessible-name",
|
|
5569
|
+
"description": "Defines the text alternative of the component.",
|
|
5570
|
+
"value": { "type": "string" }
|
|
5571
|
+
}
|
|
5572
|
+
],
|
|
5573
|
+
"events": []
|
|
5574
|
+
}
|
|
5575
|
+
},
|
|
5378
5576
|
{
|
|
5379
5577
|
"name": "udex-status-message",
|
|
5380
5578
|
"description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-status-message</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@udex/web-components/dist/StatusMessage.js\";</code>\n---\n",
|
package/package.json
CHANGED
package/src/Avatar.ts
CHANGED
|
@@ -5,7 +5,7 @@ import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
|
|
5
5
|
import slot from "@ui5/webcomponents-base/dist/decorators/slot.js";
|
|
6
6
|
import Avatar from "@ui5/webcomponents/dist/Avatar.js";
|
|
7
7
|
import I18nBundle, { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
8
|
-
import { AVATAR_TEXT, DISABLED } from "./generated/i18n/i18n-defaults.js";
|
|
8
|
+
import { ATTENTION_BADGE, AVATAR_TEXT, DISABLED } from "./generated/i18n/i18n-defaults.js";
|
|
9
9
|
|
|
10
10
|
// Template
|
|
11
11
|
import AvatarTemplate from "./generated/templates/AvatarTemplate.lit.js";
|
|
@@ -152,7 +152,7 @@ class UDExAvatar extends UI5Element {
|
|
|
152
152
|
shape!: `${AvatarShape}`;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
155
|
+
* Defines predefined size of the component.
|
|
156
156
|
*
|
|
157
157
|
* @default "S"
|
|
158
158
|
* @public
|
|
@@ -160,6 +160,15 @@ class UDExAvatar extends UI5Element {
|
|
|
160
160
|
@property({ type: AvatarSize, defaultValue: AvatarSize.S })
|
|
161
161
|
size!: `${AvatarSize}`;
|
|
162
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Defines the displaying attention badge.
|
|
165
|
+
*
|
|
166
|
+
* @public
|
|
167
|
+
* @default false
|
|
168
|
+
*/
|
|
169
|
+
@property({ type: Boolean })
|
|
170
|
+
showAttentionBadge!: boolean;
|
|
171
|
+
|
|
163
172
|
/**
|
|
164
173
|
* Receives the desired <img> tag
|
|
165
174
|
*
|
|
@@ -214,7 +223,7 @@ class UDExAvatar extends UI5Element {
|
|
|
214
223
|
}
|
|
215
224
|
|
|
216
225
|
get avatarAccessibleName(): string {
|
|
217
|
-
return `${this.accessibleName ? this.accessibleName : UDExAvatar.i18nBundle.getText(AVATAR_TEXT)} ${this.disabled ? UDExAvatar.i18nBundle.getText(DISABLED) : ""}`;
|
|
226
|
+
return `${this.accessibleName ? this.accessibleName : UDExAvatar.i18nBundle.getText(AVATAR_TEXT)} ${this.disabled ? UDExAvatar.i18nBundle.getText(DISABLED) : ""} ${this.showAttentionBadge ? UDExAvatar.i18nBundle.getText(ATTENTION_BADGE) : ""}`;
|
|
218
227
|
}
|
|
219
228
|
}
|
|
220
229
|
|
package/src/CountrySelector.hbs
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
@click-trigger="{{handleTriggerClick}}"
|
|
12
12
|
@ui5-submit-search-value="{{handleSubmitSearch}}"
|
|
13
13
|
@ui5-handle-value-search="{{handleValueSearch}}"
|
|
14
|
-
@ui5-handle-value-reset="{{handleResetSearch}}"
|
|
14
|
+
@ui5-handle-value-reset="{{handleResetSearch}}"
|
|
15
|
+
@ui5-handle-close-search="{{handleCloseSearch}}">
|
|
15
16
|
{{> trigger}}
|
|
16
17
|
{{searchableList}}
|
|
17
18
|
</udex-dropdown>
|
package/src/CountrySelector.ts
CHANGED
|
@@ -378,6 +378,10 @@ class CountrySelector extends UDExSearchableListBase {
|
|
|
378
378
|
return localName ? `${countryName} (${localName})` : countryName;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
+
handleCloseSearch() {
|
|
382
|
+
this._dropdown.onClose();
|
|
383
|
+
}
|
|
384
|
+
|
|
381
385
|
handleItemPress(e: CustomEvent) {
|
|
382
386
|
this.onItemPress(e);
|
|
383
387
|
const target = e.target as HTMLElement;
|
|
@@ -393,7 +397,6 @@ class CountrySelector extends UDExSearchableListBase {
|
|
|
393
397
|
|
|
394
398
|
const keyEvent = e.detail as KeyboardEvent;
|
|
395
399
|
const key = keyEvent.key;
|
|
396
|
-
|
|
397
400
|
if (isEnter(keyEvent) || isSpace(keyEvent)) {
|
|
398
401
|
if (this._dropdown.open) {
|
|
399
402
|
this._dropdown.onClose();
|
package/src/Dropdown.hbs
CHANGED
package/src/FilterMenu.hbs
CHANGED
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
@ui5-after-open="{{_dropdownAfterOpen}}"
|
|
13
13
|
@ui5-before-close="{{_dropdownBeforeClose}}"
|
|
14
14
|
@ui5-after-close="{{_dropdownAfterClose}}"
|
|
15
|
-
@click-trigger="{{
|
|
15
|
+
@click-trigger="{{onDropdownClose}}"
|
|
16
|
+
@search-keydown="{{handleKeyDownSearch}}"
|
|
17
|
+
@keydown="{{handleKeyDownList}}"
|
|
16
18
|
@ui5-submit-search-value="{{handleSubmitSearch}}"
|
|
17
19
|
@ui5-handle-value-search="{{handleValueSearch}}"
|
|
18
20
|
@ui5-handle-value-reset="{{handleResetSearch}}">
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
size="Medium"
|
|
65
67
|
design="Primary"
|
|
66
68
|
?disabled="{{disabledResultBtn}}"
|
|
69
|
+
@keydown="{{handleKeyDownResultBtn}}"
|
|
67
70
|
@click="{{handleResult}}">
|
|
68
71
|
{{getResultLabelText}}
|
|
69
72
|
</udex-button>
|
|
@@ -73,6 +76,7 @@
|
|
|
73
76
|
class="udex-filter-menu__reset-btn"
|
|
74
77
|
size="Medium"
|
|
75
78
|
design="Tertiary"
|
|
79
|
+
@keydown="{{handleKeyDownResetBtn}}"
|
|
76
80
|
@click="{{handleReset}}">
|
|
77
81
|
{{getResetLabelText}}
|
|
78
82
|
</udex-button>
|