@ui5/webcomponents 1.15.1 → 1.16.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 +11 -0
- package/LICENSE.txt +201 -0
- package/dist/ProgressIndicator.d.ts +10 -0
- package/dist/ProgressIndicator.js +3 -0
- package/dist/ProgressIndicator.js.map +1 -1
- package/dist/api.json +1 -1
- package/dist/assets/test/pages/ComboBox.html.b1886e2d.js +1 -0
- package/dist/assets/test/pages/Icon.html.5c84a641.js +1 -0
- package/dist/assets/test/pages/Label.html.89122b02.js +4 -0
- package/dist/assets/test/pages/Popups.html.ef68fcd5.js +1 -0
- package/dist/custom-elements.json +1 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js +1 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js.map +1 -1
- package/dist/test/pages/72override.html +33 -0
- package/dist/test/pages/AnimanitionOff.html +52 -0
- package/dist/test/pages/Avatar.html +264 -0
- package/dist/test/pages/AvatarGroup.html +376 -0
- package/dist/test/pages/Badge.html +75 -0
- package/dist/test/pages/Breadcrumbs.html +239 -0
- package/dist/test/pages/BusyIndicator.html +278 -0
- package/dist/test/pages/Button.html +280 -0
- package/dist/test/pages/Calendar.html +103 -0
- package/dist/test/pages/Card.html +348 -0
- package/dist/test/pages/Carousel.html +613 -0
- package/dist/test/pages/CheckBox.html +90 -0
- package/dist/test/pages/ColorPalette.html +126 -0
- package/dist/test/pages/ColorPalettePopover.html +141 -0
- package/dist/test/pages/ColorPicker.html +66 -0
- package/dist/test/pages/ComboBox.html +302 -0
- package/dist/test/pages/Components.html +106 -0
- package/dist/test/pages/CoreControls.html +203 -0
- package/dist/test/pages/CoreControls_exp.html +203 -0
- package/dist/test/pages/CustomCSS.html +55 -0
- package/dist/test/pages/DatePicker.html +211 -0
- package/dist/test/pages/DatePicker_test_page.html +109 -0
- package/dist/test/pages/DateRangePicker.html +67 -0
- package/dist/test/pages/DateTimePicker.html +199 -0
- package/dist/test/pages/DateTimePicker_Timezone.html +72 -0
- package/dist/test/pages/DayPicker.html +37 -0
- package/dist/test/pages/Dialog.html +813 -0
- package/dist/test/pages/DialogLifecycle.html +62 -0
- package/dist/test/pages/DialogSemantic.html +58 -0
- package/dist/test/pages/Eventing.html +33 -0
- package/dist/test/pages/F6Test1.html +42 -0
- package/dist/test/pages/F6Test2.html +42 -0
- package/dist/test/pages/F6Test3.html +39 -0
- package/dist/test/pages/F6Test4.html +46 -0
- package/dist/test/pages/F6Test5.html +42 -0
- package/dist/test/pages/F6Test6.html +39 -0
- package/dist/test/pages/F6Test7.html +36 -0
- package/dist/test/pages/FileUploader.html +138 -0
- package/dist/test/pages/FontFace.html +21 -0
- package/dist/test/pages/FormComponents.html +76 -0
- package/dist/test/pages/FormSupport.html +59 -0
- package/dist/test/pages/HCB.html +45 -0
- package/dist/test/pages/Icon.html +278 -0
- package/dist/test/pages/Icon_and_theming.html +67 -0
- package/dist/test/pages/Icon_custom.html +26 -0
- package/dist/test/pages/Input.html +731 -0
- package/dist/test/pages/InputFieldLabels.html +355 -0
- package/dist/test/pages/InputFieldMinWidth.html +230 -0
- package/dist/test/pages/InputIcons.html +80 -0
- package/dist/test/pages/Input_quickview.html +204 -0
- package/dist/test/pages/InputsAlignment.html +131 -0
- package/dist/test/pages/InputsLazyLoading.html +244 -0
- package/dist/test/pages/ItemNavigation.html +94 -0
- package/dist/test/pages/Kitchen.html +637 -0
- package/dist/test/pages/Kitchen.openui5.html +571 -0
- package/dist/test/pages/Label.html +192 -0
- package/dist/test/pages/Link.html +201 -0
- package/dist/test/pages/List.html +465 -0
- package/dist/test/pages/ListGrowing_Button.html +64 -0
- package/dist/test/pages/ListGrowing_Scroll.html +93 -0
- package/dist/test/pages/List_keyboard_support.html +130 -0
- package/dist/test/pages/List_test_page.html +413 -0
- package/dist/test/pages/LitKeyFunction.html +40 -0
- package/dist/test/pages/MemoryLeak.html +78 -0
- package/dist/test/pages/Menu.html +161 -0
- package/dist/test/pages/MessagePage.html +39 -0
- package/dist/test/pages/MessageStrip.html +55 -0
- package/dist/test/pages/MultiComboBox.html +500 -0
- package/dist/test/pages/MultiInput.html +485 -0
- package/dist/test/pages/MultiInput_Suggestions.html +161 -0
- package/dist/test/pages/OpenUI5-second.html +60 -0
- package/dist/test/pages/OpenUI5.html +104 -0
- package/dist/test/pages/OpenUI5Nightly.html +83 -0
- package/dist/test/pages/Panel.html +226 -0
- package/dist/test/pages/Popover.html +658 -0
- package/dist/test/pages/PopoverArrowBounds.html +52 -0
- package/dist/test/pages/Popups.html +131 -0
- package/dist/test/pages/ProgressIndicator.html +154 -0
- package/dist/test/pages/RTL.html +118 -0
- package/dist/test/pages/RadioButton.html +201 -0
- package/dist/test/pages/RangeSlider.html +96 -0
- package/dist/test/pages/RatingIndicator.html +117 -0
- package/dist/test/pages/ResizeHandler.html +74 -0
- package/dist/test/pages/ResponsivePopover.html +267 -0
- package/dist/test/pages/SegmentedButton.html +151 -0
- package/dist/test/pages/Select.html +272 -0
- package/dist/test/pages/Simple.html +25 -0
- package/dist/test/pages/Slider.html +79 -0
- package/dist/test/pages/SplitButton.html +127 -0
- package/dist/test/pages/StepInput.html +189 -0
- package/dist/test/pages/Switch.html +97 -0
- package/dist/test/pages/TabContainer.html +904 -0
- package/dist/test/pages/Table-perf-pure.html +73 -0
- package/dist/test/pages/Table-perf.html +76 -0
- package/dist/test/pages/Table.html +2808 -0
- package/dist/test/pages/Table2.html +53 -0
- package/dist/test/pages/TableAllPopin.html +228 -0
- package/dist/test/pages/TableCustomStyling.html +89 -0
- package/dist/test/pages/TableGrouping.html +109 -0
- package/dist/test/pages/TableGrowingWithButton.html +805 -0
- package/dist/test/pages/TableGrowingWithScroll.html +801 -0
- package/dist/test/pages/TableSelection.html +445 -0
- package/dist/test/pages/Test.html +15 -0
- package/dist/test/pages/TextArea.html +222 -0
- package/dist/test/pages/TimePicker.html +89 -0
- package/dist/test/pages/TimePickerClock.html +90 -0
- package/dist/test/pages/TimeSelection.html +31 -0
- package/dist/test/pages/TimeSelectionClocks.html +64 -0
- package/dist/test/pages/Title.html +60 -0
- package/dist/test/pages/Toast.html +111 -0
- package/dist/test/pages/ToggleButton.html +71 -0
- package/dist/test/pages/Tokenizer.html +91 -0
- package/dist/test/pages/Tree.html +307 -0
- package/dist/test/pages/TreeDynamic.html +56 -0
- package/dist/test/pages/WheelSlider_Test_Page.html +26 -0
- package/dist/test/pages/base/AriaLabelHelper.html +334 -0
- package/dist/test/pages/base/DOMObserver.html +20 -0
- package/dist/test/pages/base/IconCollection.html +23 -0
- package/dist/test/pages/base/IconCollectionInCustomTheme.html +25 -0
- package/dist/test/pages/base/IgnoreCustomElements.html +26 -0
- package/dist/test/pages/base/InvisibleMessage.html +44 -0
- package/dist/test/pages/form.html +123 -0
- package/dist/test/pages/i18n-defaultLang.html +31 -0
- package/dist/test/pages/i18n-demo.html +79 -0
- package/package.json +9 -8
- package/src/ProgressIndicator.hbs +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint no-unused-vars: 0 */
|
|
2
2
|
import { html, classMap, styleMap, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
function block0(context, tags, suffix) { return html `<div class="ui5-progress-indicator-root ${classMap(this.classes.root)}" role="progressbar" aria-valuemin="0" aria-valuenow="${ifDefined(this.validatedValue)}" aria-valuemax="100" aria-valuetext="${ifDefined(this.valueStateText)}" aria-disabled="${ifDefined(this._ariaDisabled)}"><div class="ui5-progress-indicator-bar" style="${styleMap(this.styles.bar)}">${!this.showValueInRemainingBar ? block1.call(this, context, tags, suffix) : undefined}</div><div class="ui5-progress-indicator-remaining-bar">${this.showValueInRemainingBar ? block6.call(this, context, tags, suffix) : undefined}</div></div>`; }
|
|
3
|
+
function block0(context, tags, suffix) { return html `<div class="ui5-progress-indicator-root ${classMap(this.classes.root)}" role="progressbar" aria-valuemin="0" aria-valuenow="${ifDefined(this.validatedValue)}" aria-valuemax="100" aria-valuetext="${ifDefined(this.valueStateText)}" aria-disabled="${ifDefined(this._ariaDisabled)}" aria-label="${ifDefined(this.accessibleName)}"><div class="ui5-progress-indicator-bar" style="${styleMap(this.styles.bar)}">${!this.showValueInRemainingBar ? block1.call(this, context, tags, suffix) : undefined}</div><div class="ui5-progress-indicator-remaining-bar">${this.showValueInRemainingBar ? block6.call(this, context, tags, suffix) : undefined}</div></div>`; }
|
|
4
4
|
function block1(context, tags, suffix) { return html `${this.showIcon ? block2.call(this, context, tags, suffix) : undefined}${!this.hideValue ? block3.call(this, context, tags, suffix) : undefined}`; }
|
|
5
5
|
function block2(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-icon", tags, suffix)} name="${ifDefined(this.valueStateIcon)}" class="ui5-progress-indicator-icon"></${scopeTag("ui5-icon", tags, suffix)}>` : html `<ui5-icon name="${ifDefined(this.valueStateIcon)}" class="ui5-progress-indicator-icon"></ui5-icon>`; }
|
|
6
6
|
function block3(context, tags, suffix) { return html `<span class="ui5-progress-indicator-value">${this.displayValue ? block4.call(this, context, tags, suffix) : block5.call(this, context, tags, suffix)}</span>`; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressIndicatorTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/ProgressIndicatorTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAe,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA2B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,2CAA2C,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAqB,CAAC,yDAAyD,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,yCAAyC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,oBAAoB,SAAS,CAAC,IAAI,CAAC,aAAa,C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AAE,IAAI,EAAE,MAAM,CAAE,SAAS,CAAC,CAAA,CAAC;AAC3R,SAAS,MAAM,CAA2B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAG,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAA,CAAC;AAC3J,SAAS,OAAO,CAA2B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAG,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA,CAAC;AAGhK,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type ProgressIndicator from \"../../ProgressIndicator.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"ui5-progress-indicator-root ${classMap(this.classes.root as ClassMapValue)}\" role=\"progressbar\" aria-valuemin=\"0\" aria-valuenow=\"${ifDefined(this.validatedValue)}\" aria-valuemax=\"100\" aria-valuetext=\"${ifDefined(this.valueStateText)}\" aria-disabled=\"${ifDefined(this._ariaDisabled)}\" aria-label=\"${ifDefined(this.accessibleName)}\"><div class=\"ui5-progress-indicator-bar\" style=\"${styleMap(this.styles.bar)}\">${ !this.showValueInRemainingBar ? block1.call(this, context, tags, suffix) : undefined }</div><div class=\"ui5-progress-indicator-remaining-bar\">${ this.showValueInRemainingBar ? block6.call(this, context, tags, suffix) : undefined }</div></div>`;}\nfunction block1 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.showIcon ? block2.call(this, context, tags, suffix) : undefined }${ !this.hideValue ? block3.call(this, context, tags, suffix) : undefined }`;}\nfunction block2 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-icon\", tags, suffix)} name=\"${ifDefined(this.valueStateIcon)}\" class=\"ui5-progress-indicator-icon\"></${scopeTag(\"ui5-icon\", tags, suffix)}>` : html`<ui5-icon name=\"${ifDefined(this.valueStateIcon)}\" class=\"ui5-progress-indicator-icon\"></ui5-icon>`;}\nfunction block3 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"ui5-progress-indicator-value\">${ this.displayValue ? block4.call(this, context, tags, suffix) : block5.call(this, context, tags, suffix) }</span>`;}\nfunction block4 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ifDefined(this.displayValue)}`;}\nfunction block5 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ifDefined(this.validatedValue)}% `;}\nfunction block6 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.showIcon ? block7.call(this, context, tags, suffix) : undefined }${ !this.hideValue ? block8.call(this, context, tags, suffix) : undefined }`;}\nfunction block7 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-icon\", tags, suffix)} name=\"${ifDefined(this.valueStateIcon)}\" class=\"ui5-progress-indicator-icon\"></${scopeTag(\"ui5-icon\", tags, suffix)}>` : html`<ui5-icon name=\"${ifDefined(this.valueStateIcon)}\" class=\"ui5-progress-indicator-icon\"></ui5-icon>`;}\nfunction block8 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"ui5-progress-indicator-value\">${ this.displayValue ? block9.call(this, context, tags, suffix) : block10.call(this, context, tags, suffix) }</span>`;}\nfunction block9 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ifDefined(this.displayValue)}`;}\nfunction block10 (this: ProgressIndicator, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ifDefined(this.validatedValue)}% `;}\n\n\nexport default block0;"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
|
|
7
|
+
<title>Button</title>
|
|
8
|
+
|
|
9
|
+
<script data-ui5-config type="application/json">
|
|
10
|
+
{
|
|
11
|
+
"language": "EN",
|
|
12
|
+
"noConflict": {
|
|
13
|
+
"events": ["click"]
|
|
14
|
+
},
|
|
15
|
+
"calendarType": "Islamic"
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="module" crossorigin src="/assets/bundle.common.cd5b5590.js"></script>
|
|
25
|
+
<link rel="stylesheet" href="/assets/72override.4f6354a6.css">
|
|
26
|
+
</head>
|
|
27
|
+
|
|
28
|
+
<body class="font72override1auto">
|
|
29
|
+
|
|
30
|
+
<ui5-button>Đỗ</ui5-button>
|
|
31
|
+
|
|
32
|
+
</body>
|
|
33
|
+
</html>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
6
|
+
<title>Animations off</title>
|
|
7
|
+
|
|
8
|
+
<script data-ui5-config type="application/json">
|
|
9
|
+
{
|
|
10
|
+
"animationMode": "none"
|
|
11
|
+
}
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
document.addEventListener("DOMContentLoaded", function () {
|
|
21
|
+
panel1.addEventListener("ui5-toggle", function (event) {
|
|
22
|
+
console.log(event);
|
|
23
|
+
event.target.headerText = event.target.collapsed ? "Click to expand!" : "Click to collapse!";
|
|
24
|
+
field1.value = parseInt(field1.value) + 1;
|
|
25
|
+
});
|
|
26
|
+
panel2.addEventListener("ui5-toggle", function (event) {
|
|
27
|
+
field2.value = parseInt(field2.value) + 1;
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
</script>
|
|
31
|
+
<script type="module" crossorigin src="/assets/bundle.common.cd5b5590.js"></script>
|
|
32
|
+
<link rel="stylesheet" href="/assets/AnimanitionOff.17238f14.css">
|
|
33
|
+
</head>
|
|
34
|
+
|
|
35
|
+
<body class="animanitionoff1auto">
|
|
36
|
+
<ui5-panel id="panel1" collapsed header-text="Click to expand!" class="panel">
|
|
37
|
+
<ui5-title>This is a demo how to use the "expand" event.</ui5-title><br>
|
|
38
|
+
<ui5-label>Some short text.</ui5-label>
|
|
39
|
+
</ui5-panel>
|
|
40
|
+
|
|
41
|
+
<ui5-panel id="panel2" collapsed accessible-role="Complementary" class="panel">
|
|
42
|
+
<div slot="header" class="header">
|
|
43
|
+
<ui5-title>Expandable but not expanded</ui5-title>
|
|
44
|
+
</div>
|
|
45
|
+
<ui5-title>This is a demo how to use the "expand" event.</ui5-title><br>
|
|
46
|
+
<ui5-label>Some short text.</ui5-label>
|
|
47
|
+
</ui5-panel><br>
|
|
48
|
+
|
|
49
|
+
<ui5-input id="field1" value="0"></ui5-input>
|
|
50
|
+
<ui5-input id="field2" value="0"></ui5-input>
|
|
51
|
+
</body>
|
|
52
|
+
</html>
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
|
|
7
|
+
<title>Avatar</title>
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<script>// delete Document.prototype.adoptedStyleSheets;</script>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<script type="module" crossorigin src="/assets/bundle.common.cd5b5590.js"></script>
|
|
19
|
+
<link rel="stylesheet" href="/assets/Avatar.94951703.css">
|
|
20
|
+
</head>
|
|
21
|
+
|
|
22
|
+
<body class="avatar1auto">
|
|
23
|
+
<section>
|
|
24
|
+
<h3>Avatar - Basic sample</h3>
|
|
25
|
+
<ui5-avatar>
|
|
26
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
27
|
+
</ui5-avatar>
|
|
28
|
+
</section>
|
|
29
|
+
|
|
30
|
+
<section>
|
|
31
|
+
<h3>Avatar - special characters in image path</h3>
|
|
32
|
+
<ui5-avatar class="avatar2auto">
|
|
33
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
34
|
+
</ui5-avatar>
|
|
35
|
+
<ui5-avatar class="avatar2auto">
|
|
36
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
37
|
+
</ui5-avatar>
|
|
38
|
+
<ui5-avatar class="avatar2auto">
|
|
39
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
40
|
+
</ui5-avatar>
|
|
41
|
+
<ui5-avatar class="avatar2auto">
|
|
42
|
+
<img src="https://upload.wikimedia.org/wikipedia/commons/5/59/SAP_2011_logo.svg" alt="SAP Logo">
|
|
43
|
+
</ui5-avatar>
|
|
44
|
+
</section>
|
|
45
|
+
|
|
46
|
+
<section>
|
|
47
|
+
<h3>Avatar - Square [ XS, S, M, L, XL ]</h3>
|
|
48
|
+
<ui5-avatar shape="Square" size="XS">
|
|
49
|
+
<img src="/assets/woman_avatar_5.7316a316.png" alt="Woman image">
|
|
50
|
+
</ui5-avatar>
|
|
51
|
+
<ui5-avatar shape="Square" size="S">
|
|
52
|
+
<img src="/assets/woman_avatar_5.7316a316.png" alt="Woman image">
|
|
53
|
+
</ui5-avatar>
|
|
54
|
+
<ui5-avatar shape="Square" size="M">
|
|
55
|
+
<img src="/assets/woman_avatar_5.7316a316.png" alt="Woman image">
|
|
56
|
+
</ui5-avatar>
|
|
57
|
+
<ui5-avatar shape="Square" size="L">
|
|
58
|
+
<img src="/assets/woman_avatar_5.7316a316.png" alt="Woman image">
|
|
59
|
+
</ui5-avatar>
|
|
60
|
+
<ui5-avatar shape="Square" size="XL">
|
|
61
|
+
<img src="/assets/woman_avatar_5.7316a316.png" alt="Woman image">
|
|
62
|
+
</ui5-avatar>
|
|
63
|
+
</section>
|
|
64
|
+
|
|
65
|
+
<section>
|
|
66
|
+
<h3>Avatar - Circle [ XS, S, M, L, XL ]</h3>
|
|
67
|
+
<ui5-avatar size="XS">
|
|
68
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
69
|
+
</ui5-avatar>
|
|
70
|
+
<ui5-avatar size="S">
|
|
71
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
72
|
+
</ui5-avatar>
|
|
73
|
+
<ui5-avatar size="M">
|
|
74
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
75
|
+
</ui5-avatar>
|
|
76
|
+
<ui5-avatar size="L">
|
|
77
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
78
|
+
</ui5-avatar>
|
|
79
|
+
<ui5-avatar size="XL">
|
|
80
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
81
|
+
</ui5-avatar>
|
|
82
|
+
</section>
|
|
83
|
+
|
|
84
|
+
<section>
|
|
85
|
+
<h3>Avatar - UI5 Icons</h3>
|
|
86
|
+
<ui5-avatar icon="filter" size="XS"></ui5-avatar>
|
|
87
|
+
<ui5-avatar icon="employee" size="S"></ui5-avatar>
|
|
88
|
+
<ui5-avatar icon="product" size="M"></ui5-avatar>
|
|
89
|
+
<ui5-avatar icon="supplier" size="L"></ui5-avatar>
|
|
90
|
+
<ui5-avatar icon="shipping-status" size="XL"></ui5-avatar>
|
|
91
|
+
</section>
|
|
92
|
+
|
|
93
|
+
<section>
|
|
94
|
+
<h3>Avatar - UI5 Icons</h3>
|
|
95
|
+
<ui5-avatar icon="filter" shape="Square" size="XS"></ui5-avatar>
|
|
96
|
+
<ui5-avatar icon="employee" shape="Square" size="S"></ui5-avatar>
|
|
97
|
+
<ui5-avatar icon="product" shape="Square" size="M"></ui5-avatar>
|
|
98
|
+
<ui5-avatar icon="supplier" shape="Square" size="L"></ui5-avatar>
|
|
99
|
+
<ui5-avatar icon="shipping-status" shape="Square" size="XL"></ui5-avatar>
|
|
100
|
+
</section>
|
|
101
|
+
|
|
102
|
+
<section>
|
|
103
|
+
<h3>Avatar - Background colors [ Accent1, Accent2, Accent3, Accent4, Accent5, Accent6, Accent7, Accent8, Accent9, Accent10, Placeholder ]</h3>
|
|
104
|
+
<ui5-avatar color-scheme="Accent1" size="L"></ui5-avatar>
|
|
105
|
+
<ui5-avatar color-scheme="Accent2" size="L"></ui5-avatar>
|
|
106
|
+
<ui5-avatar color-scheme="Accent3" size="L"></ui5-avatar>
|
|
107
|
+
<ui5-avatar color-scheme="Accent4" size="L"></ui5-avatar>
|
|
108
|
+
<ui5-avatar color-scheme="Accent5" size="L"></ui5-avatar>
|
|
109
|
+
<ui5-avatar size="L"></ui5-avatar>
|
|
110
|
+
<ui5-avatar color-scheme="Accent7" size="L"></ui5-avatar>
|
|
111
|
+
<ui5-avatar color-scheme="Accent8" size="L"></ui5-avatar>
|
|
112
|
+
<ui5-avatar color-scheme="Accent9" size="L"></ui5-avatar>
|
|
113
|
+
<ui5-avatar color-scheme="Accent10" size="L"></ui5-avatar>
|
|
114
|
+
<ui5-avatar color-scheme="Placeholder" size="L"></ui5-avatar>
|
|
115
|
+
</section>
|
|
116
|
+
|
|
117
|
+
<section>
|
|
118
|
+
<h3>Avatar - Initials</h3>
|
|
119
|
+
<ui5-avatar initials="XS" color-scheme="Accent1" size="XS"></ui5-avatar>
|
|
120
|
+
<ui5-avatar initials="S" color-scheme="Accent2" size="S"></ui5-avatar>
|
|
121
|
+
<ui5-avatar initials="M" color-scheme="Accent3" size="M"></ui5-avatar>
|
|
122
|
+
<ui5-avatar initials="L" color-scheme="Accent4" size="L"></ui5-avatar>
|
|
123
|
+
<ui5-avatar initials="XL" color-scheme="Accent5" size="XL"></ui5-avatar>
|
|
124
|
+
<ui5-avatar initials="XS" shape="Square" size="XS"></ui5-avatar>
|
|
125
|
+
<ui5-avatar initials="S" color-scheme="Accent7" shape="Square" size="S"></ui5-avatar>
|
|
126
|
+
<ui5-avatar initials="M" color-scheme="Accent8" shape="Square" size="M"></ui5-avatar>
|
|
127
|
+
<ui5-avatar initials="L" color-scheme="Accent9" shape="Square" size="L"></ui5-avatar>
|
|
128
|
+
<ui5-avatar initials="XL" color-scheme="Accent10" shape="Square" size="XL"></ui5-avatar>
|
|
129
|
+
</section>
|
|
130
|
+
|
|
131
|
+
<section>
|
|
132
|
+
<h3>Avatar - Custom</h3>
|
|
133
|
+
<h4>Avatar with custom size</h4>
|
|
134
|
+
<ui5-avatar id="myCustomAvatar" shape="Square" size="XL" class="avatar3auto">
|
|
135
|
+
<img src="/assets/Lamp_avatar_01.ab251b40.jpg" alt="Lamp" class="avatar4auto">
|
|
136
|
+
</ui5-avatar>
|
|
137
|
+
<h4>Avatar with custom size and imageFitType="Contain"</h4>
|
|
138
|
+
<ui5-avatar id="myCustomAvatar1" shape="Square" size="XL" class="avatar3auto">
|
|
139
|
+
<img src="/assets/Lamp_avatar_01.ab251b40.jpg" alt="Lamp" class="avatar5auto">
|
|
140
|
+
</ui5-avatar>
|
|
141
|
+
</section>
|
|
142
|
+
|
|
143
|
+
<section>
|
|
144
|
+
<h3>Avatar - test</h3>
|
|
145
|
+
<ui5-avatar id="myAvatar1">
|
|
146
|
+
<img src="/assets/woman_avatar_5.7316a316.png" alt="Woman image">
|
|
147
|
+
</ui5-avatar>
|
|
148
|
+
<ui5-avatar id="myAvatar2" icon="filter"></ui5-avatar>
|
|
149
|
+
<ui5-avatar id="myAvatar3" icon="filter" initials="SF">
|
|
150
|
+
<img src="/assets/woman_avatar_5.7316a316.png" alt="Woman image">
|
|
151
|
+
</ui5-avatar>
|
|
152
|
+
<ui5-avatar id="myAvatar4" initials="SF" shape="Square" size="M"></ui5-avatar>
|
|
153
|
+
<ui5-avatar id="myAvatar5" initials="WWW" shape="Square" size="M"></ui5-avatar>
|
|
154
|
+
</section>
|
|
155
|
+
|
|
156
|
+
<section>
|
|
157
|
+
<h3>Avatar - interactive</h3>
|
|
158
|
+
<ui5-avatar id="interactive-avatar" aria-haspopup="menu" interactive initials="XS" size="XS" accessible-name="Interactive avatar"></ui5-avatar>
|
|
159
|
+
<ui5-avatar id="non-interactive-avatar" initials="S" size="S"></ui5-avatar>
|
|
160
|
+
<ui5-input id="click-event" value="0"></ui5-input>
|
|
161
|
+
|
|
162
|
+
<br>
|
|
163
|
+
<ui5-avatar id="myInteractiveAvatar" aria-haspopup="menu" interactive initials="L" size="L"></ui5-avatar>
|
|
164
|
+
<ui5-input id="click-event-2"></ui5-input>
|
|
165
|
+
</section>
|
|
166
|
+
|
|
167
|
+
<section>
|
|
168
|
+
<h3>Avatar - Visual affordance</h3>
|
|
169
|
+
<ui5-avatar initials="AB" color-scheme="Accent1">
|
|
170
|
+
<ui5-badge slot="badge">
|
|
171
|
+
<ui5-icon slot="icon" name="accelerated"></ui5-icon>
|
|
172
|
+
</ui5-badge>
|
|
173
|
+
</ui5-avatar>
|
|
174
|
+
|
|
175
|
+
<ui5-avatar interactive size="L" initials="CD" color-scheme="Accent2">
|
|
176
|
+
<ui5-badge slot="badge">
|
|
177
|
+
<ui5-icon slot="icon" name="accept"></ui5-icon>
|
|
178
|
+
</ui5-badge>
|
|
179
|
+
</ui5-avatar>
|
|
180
|
+
|
|
181
|
+
<ui5-avatar size="XL">
|
|
182
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
183
|
+
<ui5-badge slot="badge">
|
|
184
|
+
<ui5-icon slot="icon" name="bar-chart"></ui5-icon>
|
|
185
|
+
</ui5-badge>
|
|
186
|
+
</ui5-avatar>
|
|
187
|
+
|
|
188
|
+
<br>
|
|
189
|
+
|
|
190
|
+
<ui5-avatar shape="Square" size="XS" initials="EF" color-scheme="Accent3">
|
|
191
|
+
<ui5-badge slot="badge">
|
|
192
|
+
<ui5-icon slot="icon" name="filter"></ui5-icon>
|
|
193
|
+
</ui5-badge>
|
|
194
|
+
</ui5-avatar>
|
|
195
|
+
|
|
196
|
+
<ui5-avatar interactive shape="Square" initials="GH" color-scheme="Accent4">
|
|
197
|
+
<ui5-badge slot="badge">
|
|
198
|
+
<ui5-icon slot="icon" name="add-employee"></ui5-icon>
|
|
199
|
+
</ui5-badge>
|
|
200
|
+
</ui5-avatar>
|
|
201
|
+
|
|
202
|
+
<ui5-avatar shape="Square" size="L">
|
|
203
|
+
<img src="/assets/John_Miller.fc9d0d73.png" alt="John Miller">
|
|
204
|
+
<ui5-badge slot="badge">
|
|
205
|
+
<ui5-icon slot="icon" name="document"></ui5-icon>
|
|
206
|
+
</ui5-badge>
|
|
207
|
+
</ui5-avatar>
|
|
208
|
+
<br><br>
|
|
209
|
+
</section>
|
|
210
|
+
|
|
211
|
+
<section>
|
|
212
|
+
<h3>Avatar - Custom visual affordance</h3>
|
|
213
|
+
<ui5-avatar initials="AB" color-scheme="Accent1">
|
|
214
|
+
<span slot="badge" class="custom-badge">1</span>
|
|
215
|
+
</ui5-avatar>
|
|
216
|
+
<br><br>
|
|
217
|
+
</section>
|
|
218
|
+
|
|
219
|
+
<script>
|
|
220
|
+
var avatar = document.getElementById("interactive-avatar"),
|
|
221
|
+
myInteractiveAvatar = document.getElementById("myInteractiveAvatar"),
|
|
222
|
+
nonInteractiveAvatar = document.getElementById("non-interactive-avatar"),
|
|
223
|
+
input = document.getElementById("click-event"),
|
|
224
|
+
input2 = document.getElementById("click-event-2"),
|
|
225
|
+
inputValue = 0;
|
|
226
|
+
inputValue2 = 0;
|
|
227
|
+
|
|
228
|
+
avatar.addEventListener("ui5-click", function() {
|
|
229
|
+
input.value = ++inputValue;
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
nonInteractiveAvatar.addEventListener("ui5-click", function() {
|
|
233
|
+
input.value = ++inputValue;
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
myInteractiveAvatar.addEventListener("ui5-click", function() {
|
|
237
|
+
input2.value = ++inputValue2;
|
|
238
|
+
});
|
|
239
|
+
</script>
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<ui5-avatar size="XL" shape="Circle">
|
|
244
|
+
<img src="/assets/Lamp_avatar_01.ab251b40.jpg" alt="Woman 1" class="avatar-image">
|
|
245
|
+
</ui5-avatar>
|
|
246
|
+
|
|
247
|
+
<ui5-avatar size="XL" shape="Square">
|
|
248
|
+
<img src="/assets/Lamp_avatar_01.ab251b40.jpg" alt="Woman 1" class="avatar-image1">
|
|
249
|
+
</ui5-avatar>
|
|
250
|
+
|
|
251
|
+
<section>
|
|
252
|
+
<h3>Avatar with three initials</h3>
|
|
253
|
+
<ui5-avatar id="myAvatar6" initials="ÌÒÙ" color-scheme="Accent1"></ui5-avatar>
|
|
254
|
+
<ui5-avatar initials="ABC" color-scheme="Accent2" size="XL"></ui5-avatar>
|
|
255
|
+
|
|
256
|
+
<h3>Avatar with three overflowing initials - icon should be shown</h3>
|
|
257
|
+
<ui5-avatar initials="WWW" color-scheme="Accent1" size="XS"></ui5-avatar>
|
|
258
|
+
<ui5-avatar initials="WWW" color-scheme="Accent2" size="XL"></ui5-avatar>
|
|
259
|
+
|
|
260
|
+
</section>
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
</body>
|
|
264
|
+
</html>
|