@sapudex/web-components 0.226.2 → 0.227.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.
Files changed (89) hide show
  1. package/dist/Button.d.ts +1 -1
  2. package/dist/Button.js +0 -2
  3. package/dist/Button.js.map +1 -1
  4. package/dist/MastheadShell.d.ts +4 -1
  5. package/dist/MastheadShell.js +21 -5
  6. package/dist/MastheadShell.js.map +1 -1
  7. package/dist/Pagination.d.ts +16 -0
  8. package/dist/Pagination.js +28 -6
  9. package/dist/Pagination.js.map +1 -1
  10. package/dist/PhoneNumberField.d.ts +5 -5
  11. package/dist/PhoneNumberField.js +1 -1
  12. package/dist/PhoneNumberField.js.map +1 -1
  13. package/dist/SearchableListBase.d.ts +9 -0
  14. package/dist/SearchableListBase.js +10 -2
  15. package/dist/SearchableListBase.js.map +1 -1
  16. package/dist/Wizard.d.ts +20 -0
  17. package/dist/Wizard.js +21 -6
  18. package/dist/Wizard.js.map +1 -1
  19. package/dist/assets/{bundle.esm-8390abc2.js → bundle.esm-8018708a.js} +192 -192
  20. package/dist/css/themes/Button.css +1 -1
  21. package/dist/css/themes/MastheadCountrySelector.css +1 -1
  22. package/dist/css/themes/MastheadItem.css +1 -1
  23. package/dist/css/themes/MastheadShell.css +1 -1
  24. package/dist/css/themes/Modal.css +1 -1
  25. package/dist/css/themes/Pagination.css +1 -1
  26. package/dist/css/themes/RatingIndicator.css +1 -1
  27. package/dist/css/themes/Slider.css +1 -1
  28. package/dist/custom-elements-internal.json +186 -84
  29. package/dist/custom-elements.json +181 -83
  30. package/dist/data/CountryListISO3166.d.ts +13 -4
  31. package/dist/data/CountryListISO3166.js +8 -0
  32. package/dist/data/CountryListISO3166.js.map +1 -1
  33. package/dist/generated/templates/PaginationTemplate.lit.js +3 -3
  34. package/dist/generated/templates/PaginationTemplate.lit.js.map +1 -1
  35. package/dist/generated/templates/PhoneNumberFieldTemplate.lit.js +2 -2
  36. package/dist/generated/templates/PhoneNumberFieldTemplate.lit.js.map +1 -1
  37. package/dist/generated/templates/WizardTemplate.lit.js +5 -3
  38. package/dist/generated/templates/WizardTemplate.lit.js.map +1 -1
  39. package/dist/generated/themes/Button.css.js +1 -1
  40. package/dist/generated/themes/Button.css.js.map +1 -1
  41. package/dist/generated/themes/MastheadCountrySelector.css.js +1 -1
  42. package/dist/generated/themes/MastheadCountrySelector.css.js.map +1 -1
  43. package/dist/generated/themes/MastheadItem.css.js +1 -1
  44. package/dist/generated/themes/MastheadItem.css.js.map +1 -1
  45. package/dist/generated/themes/MastheadShell.css.js +1 -1
  46. package/dist/generated/themes/MastheadShell.css.js.map +1 -1
  47. package/dist/generated/themes/Modal.css.js +1 -1
  48. package/dist/generated/themes/Modal.css.js.map +1 -1
  49. package/dist/generated/themes/Pagination.css.js +1 -1
  50. package/dist/generated/themes/Pagination.css.js.map +1 -1
  51. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  52. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  53. package/dist/generated/themes/Slider.css.js +1 -1
  54. package/dist/generated/themes/Slider.css.js.map +1 -1
  55. package/dist/vscode.html-custom-data.json +25 -5
  56. package/dist/web-types.json +41 -11
  57. package/package.json +1 -1
  58. package/src/Button.ts +1 -3
  59. package/src/MastheadShell.ts +25 -5
  60. package/src/Pagination.hbs +11 -5
  61. package/src/Pagination.ts +42 -5
  62. package/src/PhoneNumberField.hbs +1 -1
  63. package/src/PhoneNumberField.ts +7 -2
  64. package/src/SearchableListBase.ts +18 -2
  65. package/src/Wizard.hbs +9 -1
  66. package/src/Wizard.ts +39 -7
  67. package/src/data/CountryListISO3166.ts +10 -2
  68. package/src/generated/templates/PaginationTemplate.lit.ts +3 -3
  69. package/src/generated/templates/PhoneNumberFieldTemplate.lit.ts +1 -1
  70. package/src/generated/templates/WizardTemplate.lit.ts +5 -3
  71. package/src/generated/themes/Button.css.ts +1 -1
  72. package/src/generated/themes/MastheadCountrySelector.css.ts +1 -1
  73. package/src/generated/themes/MastheadItem.css.ts +1 -1
  74. package/src/generated/themes/MastheadShell.css.ts +1 -1
  75. package/src/generated/themes/Modal.css.ts +1 -1
  76. package/src/generated/themes/Pagination.css.ts +1 -1
  77. package/src/generated/themes/RatingIndicator.css.ts +1 -1
  78. package/src/generated/themes/Slider.css.ts +1 -1
  79. package/src/themes/Button.css +96 -168
  80. package/src/themes/MastheadCountrySelector.css +8 -5
  81. package/src/themes/MastheadItem.css +12 -4
  82. package/src/themes/MastheadShell.css +3 -1
  83. package/src/themes/Modal.css +4 -0
  84. package/src/themes/Pagination.css +17 -3
  85. package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
  86. package/dist/generated/templates/ButtonTemplate.lit.js +0 -7
  87. package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
  88. package/src/Button.hbs +0 -50
  89. package/src/generated/templates/ButtonTemplate.lit.ts +0 -12
@@ -23,7 +23,8 @@
23
23
  --udex-masthead-item-dropdown-mobile-min-width: 360px;
24
24
  --udex-masthead-item-dropdown-select-box-min-width: 397px;
25
25
  --udex-masthead-item-dropdown-position: absolute;
26
- --udex-masthead-item-dropdown-height: calc(100vh - 60px);
26
+ --udex-masthead-item-dropdown-mobile-height: var(--udex-masthead-shell-mobile-menu-height, 100%);
27
+ --udex-masthead-item-dropdown-box-shadow-mobile: none;
27
28
  --udex-masthead-item-dropdown-zindex: 100;
28
29
  --udex-masthead-item-button-icon-size: 32px;
29
30
 
@@ -224,12 +225,18 @@
224
225
  --udex-masthead-menu-grid-template-columns: repeat(4, calc(25% - var(--udex-masthead-menu-column_gap)*3/4));
225
226
  }
226
227
 
228
+ :host([slot="countrySelector"]) ::slotted([slot="dropdown"]),
227
229
  :host([slot="profile"]) ::slotted([slot="dropdown"]) {
228
230
  width: 100%;
229
231
  display: flex;
230
232
  flex-direction: column;
231
233
  }
232
234
 
235
+ :host([slot="countrySelector"][_is-mobile-mode]) ::slotted([slot="dropdown"]),
236
+ :host([slot="profile"][_is-mobile-mode]) ::slotted([slot="dropdown"]) {
237
+ display: initial;
238
+ }
239
+
233
240
  :host([_is-mobile-mode]) .udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown,
234
241
  :host([part="menu-open-btn"]) .udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown {
235
242
  min-width: var(--udex-masthead-item-dropdown-mobile-min-width);
@@ -238,7 +245,7 @@
238
245
  :host([_is-mobile-mode]) .udex-masthead-item__dropdown,
239
246
  :host([part="menu-open-btn"]) .udex-masthead-item__dropdown {
240
247
  position: var(--udex-masthead-item-dropdown-position);
241
- height: var(--udex-masthead-item-dropdown-height);
248
+ height: var(--udex-masthead-item-dropdown-mobile-height);
242
249
  width: var(--udex-masthead-item-dropdown-mobile-min-width);
243
250
  top: 60px;
244
251
  right: 0;
@@ -278,6 +285,7 @@
278
285
  position: initial;
279
286
  }
280
287
 
288
+ :host([slot="countrySelector"]) ::slotted([slot="dropdown"]),
281
289
  :host([slot="profile"]) ::slotted([slot="dropdown"]) {
282
290
  display: initial;
283
291
  }
@@ -300,9 +308,9 @@
300
308
 
301
309
  .udex-masthead-item__dropdown {
302
310
  position: var(--udex-masthead-item-dropdown-position);
303
- height: var(--udex-masthead-item-dropdown-height);
311
+ height: var(--udex-masthead-item-dropdown-mobile-height);
304
312
  width: var(--udex-masthead-item-dropdown-mobile-min-width);
305
- box-shadow: none;
313
+ box-shadow: var(--udex-masthead-item-dropdown-box-shadow-mobile);
306
314
  top: 60px;
307
315
  }
308
316
 
@@ -1,4 +1,5 @@
1
1
  :host {
2
+ --udex-masthead-shell-height: 60px;
2
3
  --udex-masthead-shell-background: var(--udexColorGrey1, #F5F6F7);
3
4
  --udex-masthead-shell-dropdown-shadow: var(--sapContent_Shadow2, 0 10px 30px 0 #22364940);
4
5
  --udex-masthead-shell-site-label-font-size: var(--udexTypographyNavigationRegularXLFontSize, 16px);
@@ -23,6 +24,7 @@
23
24
  --udex-masthead-mobile-menu-buttons-width: 360px;
24
25
  --udex-masthead-right-menu-padding: var(--udexSpacer64);
25
26
  --udex-masthead-shell-explore-margin: var(--udexSpacer12);
27
+ --udex-masthead-shell-mobile-menu-height: 100%;
26
28
  }
27
29
 
28
30
  :host {
@@ -74,7 +76,7 @@
74
76
  padding: 0 var(--udexSpacer84);
75
77
  max-width: var(--udex-masthead-shell-container-xl-max-width);
76
78
  margin: 0 auto;
77
- height: 60px;
79
+ height: var(--udex-masthead-shell-height);
78
80
  }
79
81
 
80
82
  .udex-masthead-shell__logo {
@@ -36,6 +36,10 @@
36
36
  scrollbar-gutter: auto;
37
37
  }
38
38
 
39
+ :host ::slotted([slot="header"][ui5-bar]) {
40
+ height: 32px;
41
+ }
42
+
39
43
  :host ::slotted([slot="footer"]) {
40
44
  height: auto;
41
45
  }
@@ -16,7 +16,6 @@
16
16
  --udex-pagination-short-separator-paddings: 0 4px;
17
17
  --udex-pagination-short-separator-margin: 0 4px;
18
18
  --udex-pagination-short-item-paddings: 0 4px;
19
- --udex-pagination-button-opacity: 1;
20
19
  }
21
20
 
22
21
  .udex-pagination {
@@ -126,6 +125,21 @@
126
125
  padding: var(--udex-pagination-short-item-paddings);
127
126
  }
128
127
 
129
- .hidden {
130
- display: none;
128
+ [udex-button][aria-disabled="true"]:focus,
129
+ [udex-button][aria-disabled="true"]:focus-visible,
130
+ [udex-button][_aria-disabled]:focus,
131
+ [udex-button][_aria-disabled]:focus-visible {
132
+ outline: 2px solid #002A86;
133
+ outline-offset: -4px;
131
134
  }
135
+
136
+ .hidden {
137
+ position: absolute;
138
+ width: 0px;
139
+ height: 0px;
140
+ margin: -1px;
141
+ overflow: hidden;
142
+ clip: rect(0 0 0 0);
143
+ border: 0;
144
+ padding: 0;
145
+ }
@@ -1,4 +0,0 @@
1
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
- import type Button from "../../Button.js";
3
- declare function block0(this: Button, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult<1 | 2>;
4
- export default block0;
@@ -1,7 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- function block0(context, tags, suffix) { return html `<button type="button" class="ui5-button-root" ?disabled="${this.disabled}" aria-disabled="${ifDefined(this._ariaDisabled)}" data-sap-focus-ref @focusout=${this._onfocusout} @focusin=${this._onfocusin} @click=${this._onclick} @mousedown=${this._onmousedown} @mouseup=${this._onmouseup} @keydown=${this._onkeydown} @keyup=${this._onkeyup} @touchstart="${this._ontouchstart}" @touchend="${this._ontouchend}" tabindex=${ifDefined(this.tabIndexValue)} aria-expanded="${ifDefined(this.accessibilityAttributes.expanded)}" aria-controls="${ifDefined(this.accessibilityAttributes.controls)}" aria-haspopup="${ifDefined(this._hasPopup)}" aria-label="${ifDefined(this.ariaLabelText)}" aria-describedby="${ifDefined(this.ariaDescribedbyText)}" title="${ifDefined(this.buttonTitle)}" part="button" role="${ifDefined(this.buttonAccessibleRole)}"><div class="udex-button-content">${this.icon ? block1.call(this, context, tags, suffix) : undefined}<span id="${ifDefined(this._id)}-content" class="ui5-button-text"><bdi><slot></slot></bdi></span>${this.hasButtonType ? block2.call(this, context, tags, suffix) : undefined}</div></button>`; }
4
- function block1(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-icon", tags, suffix)} class="ui5-button-icon" name="${ifDefined(this.icon)}" accessible-role="${ifDefined(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}></${scopeTag("ui5-icon", tags, suffix)}>` : html `<ui5-icon class="ui5-button-icon" name="${ifDefined(this.icon)}" accessible-role="${ifDefined(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}></ui5-icon>`; }
5
- function block2(context, tags, suffix) { return html `<span id="ui5-button-hiddenText-type" aria-hidden="true" class="ui5-hidden-text">${ifDefined(this.buttonTypeText)}</span>`; }
6
- export default block0;
7
- //# sourceMappingURL=ButtonTemplate.lit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/ButtonTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAmC,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,4DAA4D,IAAI,CAAC,QAAQ,oBAAoB,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,mCAAmC,IAAI,CAAC,WAAW,aAAa,IAAI,CAAC,UAAU,WAAW,IAAI,CAAC,QAAQ,eAAe,IAAI,CAAC,YAAY,aAAa,IAAI,CAAC,UAAU,aAAa,IAAI,CAAC,UAAU,WAAW,IAAI,CAAC,QAAQ,iBAAiB,IAAI,CAAC,aAAa,gBAAgB,IAAI,CAAC,WAAW,cAAc,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,mBAAmB,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,QAAQ,CAAC,oBAAoB,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,QAAQ,CAAC,oBAAoB,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,iBAAiB,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,uBAAuB,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,YAAY,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,yBAAyB,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,sCAAuC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,aAAa,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,oEAAqE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,iBAAiB,CAAC,CAAA,CAAC;AACttC,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,kCAAkC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,+BAA+B,IAAI,CAAC,eAAe,MAAM,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,2CAA2C,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,+BAA+B,IAAI,CAAC,eAAe,cAAc,CAAC,CAAA,CAAC;AACrhB,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,oFAAoF,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,CAAA,CAAC;AAG1O,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 Button from \"../../Button.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button type=\"button\" class=\"ui5-button-root\" ?disabled=\"${this.disabled}\" aria-disabled=\"${ifDefined(this._ariaDisabled)}\" data-sap-focus-ref @focusout=${this._onfocusout} @focusin=${this._onfocusin} @click=${this._onclick} @mousedown=${this._onmousedown} @mouseup=${this._onmouseup} @keydown=${this._onkeydown} @keyup=${this._onkeyup} @touchstart=\"${this._ontouchstart}\" @touchend=\"${this._ontouchend}\" tabindex=${ifDefined(this.tabIndexValue)} aria-expanded=\"${ifDefined(this.accessibilityAttributes.expanded)}\" aria-controls=\"${ifDefined(this.accessibilityAttributes.controls)}\" aria-haspopup=\"${ifDefined(this._hasPopup)}\" aria-label=\"${ifDefined(this.ariaLabelText)}\" aria-describedby=\"${ifDefined(this.ariaDescribedbyText)}\" title=\"${ifDefined(this.buttonTitle)}\" part=\"button\" role=\"${ifDefined(this.buttonAccessibleRole)}\"><div class=\"udex-button-content\">${ this.icon ? block1.call(this, context, tags, suffix) : undefined }<span id=\"${ifDefined(this._id)}-content\" class=\"ui5-button-text\"><bdi><slot></slot></bdi></span>${ this.hasButtonType ? block2.call(this, context, tags, suffix) : undefined }</div></button>`;}\nfunction block1 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-icon\", tags, suffix)} class=\"ui5-button-icon\" name=\"${ifDefined(this.icon)}\" accessible-role=\"${ifDefined(this.iconRole)}\" part=\"icon\" ?show-tooltip=${this.showIconTooltip}></${scopeTag(\"ui5-icon\", tags, suffix)}>` : html`<ui5-icon class=\"ui5-button-icon\" name=\"${ifDefined(this.icon)}\" accessible-role=\"${ifDefined(this.iconRole)}\" part=\"icon\" ?show-tooltip=${this.showIconTooltip}></ui5-icon>`;}\nfunction block2 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"ui5-button-hiddenText-type\" aria-hidden=\"true\" class=\"ui5-hidden-text\">${ifDefined(this.buttonTypeText)}</span>`;}\n\n\nexport default block0;"]}
package/src/Button.hbs DELETED
@@ -1,50 +0,0 @@
1
- <button
2
- type="button"
3
- class="ui5-button-root"
4
- ?disabled="{{disabled}}"
5
- aria-disabled="{{_ariaDisabled}}"
6
- data-sap-focus-ref
7
- {{> ariaPressed}}
8
- @focusout={{_onfocusout}}
9
- @focusin={{_onfocusin}}
10
- @click={{_onclick}}
11
- @mousedown={{_onmousedown}}
12
- @mouseup={{_onmouseup}}
13
- @keydown={{_onkeydown}}
14
- @keyup={{_onkeyup}}
15
- @touchstart="{{_ontouchstart}}"
16
- @touchend="{{_ontouchend}}"
17
- tabindex={{tabIndexValue}}
18
- aria-expanded="{{accessibilityAttributes.expanded}}"
19
- aria-controls="{{accessibilityAttributes.controls}}"
20
- aria-haspopup="{{_hasPopup}}"
21
- aria-label="{{ariaLabelText}}"
22
- aria-describedby="{{ariaDescribedbyText}}"
23
- title="{{buttonTitle}}"
24
- part="button"
25
- role="{{buttonAccessibleRole}}"
26
- >
27
- <div class="udex-button-content">
28
- {{#if icon}}
29
- <ui5-icon
30
- class="ui5-button-icon"
31
- name="{{icon}}"
32
- accessible-role="{{iconRole}}"
33
- part="icon"
34
- ?show-tooltip={{showIconTooltip}}
35
- ></ui5-icon>
36
- {{/if}}
37
-
38
- <span id="{{_id}}-content" class="ui5-button-text">
39
- <bdi>
40
- <slot></slot>
41
- </bdi>
42
- </span>
43
-
44
- {{#if hasButtonType}}
45
- <span id="ui5-button-hiddenText-type" aria-hidden="true" class="ui5-hidden-text">{{buttonTypeText}}</span>
46
- {{/if}}
47
- </div>
48
- </button>
49
-
50
- {{#*inline "ariaPressed"}}{{/inline}}
@@ -1,12 +0,0 @@
1
- /* eslint no-unused-vars: 0 */
2
- import { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
3
- import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
4
- import type Button from "../../Button.js";
5
- import type { ClassMapValue } from "@ui5/webcomponents-base/dist/types.js";
6
-
7
- function block0 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<button type="button" class="ui5-button-root" ?disabled="${this.disabled}" aria-disabled="${ifDefined(this._ariaDisabled)}" data-sap-focus-ref @focusout=${this._onfocusout} @focusin=${this._onfocusin} @click=${this._onclick} @mousedown=${this._onmousedown} @mouseup=${this._onmouseup} @keydown=${this._onkeydown} @keyup=${this._onkeyup} @touchstart="${this._ontouchstart}" @touchend="${this._ontouchend}" tabindex=${ifDefined(this.tabIndexValue)} aria-expanded="${ifDefined(this.accessibilityAttributes.expanded)}" aria-controls="${ifDefined(this.accessibilityAttributes.controls)}" aria-haspopup="${ifDefined(this._hasPopup)}" aria-label="${ifDefined(this.ariaLabelText)}" aria-describedby="${ifDefined(this.ariaDescribedbyText)}" title="${ifDefined(this.buttonTitle)}" part="button" role="${ifDefined(this.buttonAccessibleRole)}"><div class="udex-button-content">${ this.icon ? block1.call(this, context, tags, suffix) : undefined }<span id="${ifDefined(this._id)}-content" class="ui5-button-text"><bdi><slot></slot></bdi></span>${ this.hasButtonType ? block2.call(this, context, tags, suffix) : undefined }</div></button>`;}
8
- function block1 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag("ui5-icon", tags, suffix)} class="ui5-button-icon" name="${ifDefined(this.icon)}" accessible-role="${ifDefined(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}></${scopeTag("ui5-icon", tags, suffix)}>` : html`<ui5-icon class="ui5-button-icon" name="${ifDefined(this.icon)}" accessible-role="${ifDefined(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}></ui5-icon>`;}
9
- function block2 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id="ui5-button-hiddenText-type" aria-hidden="true" class="ui5-hidden-text">${ifDefined(this.buttonTypeText)}</span>`;}
10
-
11
-
12
- export default block0;