@momentum-ui/web-components 2.7.17 → 2.7.18

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.
@@ -88,7 +88,7 @@
88
88
  <span class="highlight-text">${t}</span>
89
89
  `:a.html`
90
90
  <span class="selected-label-text">${t}</span>
91
- `)}addStyle(){const t=!this.expanded||this.options.length&&0===this.filteredOptions.length&&this.inputValue&&this.allowCustomValue;return this.checkForVirtualScroll()?Object(b.styleMap)({visibility:t?"hidden":"visible","z-index":"99"}):Object(b.styleMap)({display:t?"none":"block","z-index":"99"})}renderItem(t,e){return a.html`
91
+ `)}addStyle(){const t=!this.expanded||this.options.length&&0===this.filteredOptions.length&&this.inputValue&&this.allowCustomValue;return this.checkForVirtualScroll()?Object(b.styleMap)({visibility:t?"hidden":"visible","z-index":t?"-1":"99",opacity:t?"0":"1"}):Object(b.styleMap)({display:t?"none":"block","z-index":"99"})}renderItem(t,e){return a.html`
92
92
  <li
93
93
  id=${this.getOptionId(t)}
94
94
  title="${this.getOptionValue(t)}"
@@ -159,7 +159,7 @@ export declare namespace ComboBox {
159
159
  checkForVirtualScroll(): boolean;
160
160
  rangeChanged(): void;
161
161
  getCustomErrorContent(): DocumentFragment;
162
- getCustomContent(option: string | OptionMember): DocumentFragment | import("lit-element").TemplateResult;
162
+ getCustomContent(option: string | OptionMember): import("lit-element").TemplateResult | DocumentFragment;
163
163
  renderGroupLabelHeader(option: OptionMember, optionIndex: number): import("lit-element").TemplateResult;
164
164
  renderWithoutVirtualScroll(): import("lit-html").DirectiveFn;
165
165
  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.7.17",
3
+ "version": "2.7.18",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",