@momentum-ui/web-components 2.10.13 → 2.11.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.
@@ -11,7 +11,7 @@ export declare const buttonSize: readonly ["20", "28", "32", "36", "40", "44", "
11
11
  export declare const buttonTag: readonly ["button", "input", "a"];
12
12
  export declare const buttonType: readonly ["button", "reset", "submit"];
13
13
  export declare const buttonRoles: readonly ["button", "checkbox", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "switch", "tab"];
14
- export declare const buttonVariant: readonly ["primary", "secondary", "red", "green", "white", "darkGrey", "promotional"];
14
+ export declare const buttonVariant: readonly ["primary", "secondary", "red", "green", "white", "darkGrey", "promotional", "available", "unavailable", "engaged", "idle"];
15
15
  export declare const buttonColor: readonly ["blue", "red", "green", "orange", "yellow", "mint", "purple", "pink", "cyan", "white", "dark-gray", "duck-egg", "violet", "color-none", ""];
16
16
  export declare const buttonAriaLive: readonly ["", "off", "polite", "assertive"];
17
17
  export declare namespace Button {
@@ -32,7 +32,7 @@ export declare namespace Button {
32
32
  ariaLive?: string;
33
33
  ariaExpanded?: boolean;
34
34
  ariaHaspopup?: boolean;
35
- ariaPressed?: String;
35
+ ariaPressed?: string;
36
36
  ariaCurrent?: boolean;
37
37
  tag: Tag;
38
38
  loading: boolean;
@@ -103,6 +103,7 @@ export declare namespace ComboBox {
103
103
  private notifySelectedChange;
104
104
  private handleGroupFilter;
105
105
  private filterOptions;
106
+ private getListBoxVerticalPadding;
106
107
  private resizeListbox;
107
108
  private setInputValue;
108
109
  private updateOnNextFrame;
@@ -165,7 +166,7 @@ export declare namespace ComboBox {
165
166
  checkForVirtualScroll(): boolean;
166
167
  rangeChanged(): void;
167
168
  getCustomErrorContent(): DocumentFragment;
168
- getCustomContent(option: string | OptionMember): DocumentFragment | import("lit-element").TemplateResult;
169
+ getCustomContent(option: string | OptionMember): import("lit-element").TemplateResult | DocumentFragment;
169
170
  renderGroupLabelHeader(option: OptionMember, optionIndex: number): import("lit-element").TemplateResult;
170
171
  renderWithoutVirtualScroll(): import("lit-html").DirectiveFn;
171
172
  highlightingSearchedText(option: OptionMember | string): import("lit-element").TemplateResult[];
@@ -7,9 +7,9 @@
7
7
  */
8
8
  import "@/components/datepicker/datepicker-month/DatePickerMonth";
9
9
  import "@/components/icon/Icon";
10
- import { DatePickerProps, DayFilters } from "../../../utils/dateUtils";
11
10
  import { LitElement, PropertyValues, TemplateResult } from "lit-element";
12
11
  import { DateTime } from "luxon";
12
+ import { DatePickerProps, DayFilters } from "../../../utils/dateUtils";
13
13
  export declare namespace DatePickerCalendar {
14
14
  class ELEMENT extends LitElement {
15
15
  monthFormat: string;
@@ -11,7 +11,7 @@ export declare namespace TabPanel {
11
11
  export class ELEMENT extends ELEMENT_base {
12
12
  selected: boolean;
13
13
  name: string;
14
- focusablePanel: boolean;
14
+ focusablePanel: string;
15
15
  static get styles(): import("lit-element").CSSResult[];
16
16
  protected firstUpdated(changedProperties: PropertyValues): void;
17
17
  render(): 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.13",
3
+ "version": "2.11.1",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",