@momentum-ui/web-components 2.10.8-dev2 → 2.10.8-dev3

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.
@@ -50,13 +50,13 @@
50
50
  >
51
51
  <span><md-icon name=${e}></md-icon> </span>
52
52
  </button>
53
- `}getSelectAllOption(){return c.html`
53
+ `}getSelectAllOption(){const t=this.checkForVirtualScroll()?", 1 of "+(this.options.length+1):"";return c.html`
54
54
  <div
55
55
  id="selectAll"
56
56
  part="combobox-option"
57
57
  class="md-combobox-option ${Object(h.classMap)(this.listItemOptionMap)}"
58
58
  @click=${this.handleSelectAll}
59
- aria-label="${this.selectAllTextLocalization}, 1 of ${this.options.length+1}"
59
+ aria-label="${this.selectAllTextLocalization}${t}"
60
60
  aria-checked=${Object(p.ifDefined)(this.isSelectAllChecked?"true":void 0)}
61
61
  role="checkbox"
62
62
  >
@@ -157,9 +157,9 @@
157
157
  <div
158
158
  id="md-combobox-listbox"
159
159
  part="combobox-options"
160
- aria-label=${this.ariaLabel||this.label}
160
+ aria-label=${Object(p.ifDefined)(this.checkForVirtualScroll()?this.ariaLabel||this.label:void 0)}
161
161
  style=${this.addStyle()}
162
- role=${Object(p.ifDefined)(this.checkForVirtualScroll()&&this.allowSelectAll?void 0:"list")}
162
+ role=${Object(p.ifDefined)(this.checkForVirtualScroll()&&this.isMulti?void 0:"list")}
163
163
  >
164
164
  ${this.isMulti&&this.allowSelectAll&&this.expanded?this.getSelectAllOption():d.nothing}
165
165
  ${this.checkForVirtualScroll()?0!==this.options.length&&this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).length>0?c.html`
@@ -164,7 +164,7 @@ export declare namespace ComboBox {
164
164
  checkForVirtualScroll(): boolean;
165
165
  rangeChanged(): void;
166
166
  getCustomErrorContent(): DocumentFragment;
167
- getCustomContent(option: string | OptionMember): DocumentFragment | import("lit-element").TemplateResult;
167
+ getCustomContent(option: string | OptionMember): import("lit-element").TemplateResult | DocumentFragment;
168
168
  renderGroupLabelHeader(option: OptionMember, optionIndex: number): import("lit-element").TemplateResult;
169
169
  renderWithoutVirtualScroll(): import("lit-html").DirectiveFn;
170
170
  highlightingSearchedText(option: OptionMember | string): import("lit-element").TemplateResult[];
@@ -36,7 +36,7 @@ export declare namespace TimePicker {
36
36
  handleTimeBlur(event: CustomEvent, unit: TimePicker.TimeUnit): void;
37
37
  static get styles(): import("lit-element").CSSResult[];
38
38
  formatTimeUnit: (unit: TimePicker.TimeUnit) => void;
39
- messageType: (isValid: boolean) => "error" | "";
39
+ messageType: (isValid: boolean) => "" | "error";
40
40
  generateTimeBox: (unit: TimePicker.TimeUnit) => import("lit-element").TemplateResult;
41
41
  generateAmPmComboBox: () => import("lit-element").TemplateResult;
42
42
  render(): import("lit-element").TemplateResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "2.10.8-dev2",
3
+ "version": "2.10.8-dev3",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",