@momentum-ui/web-components 3.0.0-alpha.6 → 3.0.0-beta.2

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.
@@ -75,7 +75,7 @@ export declare namespace Avatar {
75
75
  private get chatIconSize();
76
76
  private get presenceSize();
77
77
  private get iconSize();
78
- get renderIsTyping(): import("lit").TemplateResult<1> | typeof nothing;
78
+ get renderIsTyping(): typeof nothing | import("lit").TemplateResult<1>;
79
79
  private get avatarLetter();
80
80
  private get avatarIcon();
81
81
  private get avatarImage();
@@ -85,8 +85,8 @@ export declare namespace Avatar {
85
85
  handleKeyDown(event: KeyboardEvent): void;
86
86
  handleClick(event: MouseEvent): void;
87
87
  private getBrandOrDesignIconSet;
88
- get avatarContent(): import("lit").TemplateResult<1> | typeof nothing;
89
- renderPresence(): import("lit").TemplateResult<1> | typeof nothing;
88
+ get avatarContent(): typeof nothing | import("lit").TemplateResult<1>;
89
+ renderPresence(): typeof nothing | import("lit").TemplateResult<1>;
90
90
  private renderAvatarContent;
91
91
  render(): import("lit").TemplateResult<1>;
92
92
  }
@@ -31,7 +31,7 @@ export declare namespace Badge {
31
31
  renderTextColor: () => string | typeof nothing;
32
32
  renderHeight: () => string | typeof nothing;
33
33
  renderWidth: () => string | typeof nothing;
34
- getStyles: () => import("lit").TemplateResult<1> | typeof nothing;
34
+ getStyles: () => typeof nothing | import("lit").TemplateResult<1>;
35
35
  static get styles(): import("lit").CSSResult[];
36
36
  private get computedAriaHiddenSplits();
37
37
  private get computedTabIndex();
@@ -124,10 +124,10 @@ export declare namespace Button {
124
124
  get slottedText(): string | null | undefined;
125
125
  get hasIcon(): boolean;
126
126
  iconTemplate: () => import("lit").TemplateResult<1>;
127
- textTemplate: () => import("lit").TemplateResult<1> | typeof nothing;
127
+ textTemplate: () => typeof nothing | import("lit").TemplateResult<1>;
128
128
  childrenTemplate(): import("lit").TemplateResult<1>;
129
129
  get computedAriaExpand(): "true" | "false" | undefined;
130
- buttonTemplate(tag: Button.Tag): import("lit").TemplateResult<1> | typeof nothing;
130
+ buttonTemplate(tag: Button.Tag): typeof nothing | import("lit").TemplateResult<1>;
131
131
  get buttonContainerClassMap(): {
132
132
  "md-button__container": boolean;
133
133
  "md-button__container--small": boolean;
@@ -54,10 +54,10 @@ export declare namespace Chip {
54
54
  protected renderBgColor: () => string | typeof nothing;
55
55
  protected renderTextColor: () => string | typeof nothing;
56
56
  protected renderHeight: () => string | typeof nothing;
57
- protected getStyles: () => import("lit").TemplateResult<1> | typeof nothing;
57
+ protected getStyles: () => typeof nothing | import("lit").TemplateResult<1>;
58
58
  static get styles(): import("lit").CSSResult[];
59
- protected loadingTemplate(): import("lit").TemplateResult<1> | typeof nothing;
60
- protected iconTemplate(): import("lit").TemplateResult<1> | typeof nothing;
59
+ protected loadingTemplate(): typeof nothing | import("lit").TemplateResult<1>;
60
+ protected iconTemplate(): typeof nothing | import("lit").TemplateResult<1>;
61
61
  getToolTipContent(): string;
62
62
  private get textContentClassMap();
63
63
  private get textContentTemplate();
@@ -199,7 +199,7 @@ export declare namespace ComboBox {
199
199
  arrowButtonTemplate(): TemplateResult<1>;
200
200
  groupArrowButtonTemplate(data: string): TemplateResult<1>;
201
201
  getSelectAllOption(): TemplateResult<1>;
202
- getSelctedCount(): TemplateResult<1> | typeof nothing;
202
+ getSelctedCount(): typeof nothing | TemplateResult<1>;
203
203
  checkForVirtualScroll(): boolean;
204
204
  rangeChanged(): void;
205
205
  getCustomErrorContent(): DocumentFragment;
@@ -210,8 +210,8 @@ export declare namespace ComboBox {
210
210
  addStyle(): import("lit-html/development/directive").DirectiveResult<typeof import("lit/directives/style-map.js").StyleMapDirective>;
211
211
  readonly renderItem: (option: OptionMember | string, index: number) => TemplateResult;
212
212
  inputTitle(): string;
213
- helpTextTemplate(): TemplateResult<1> | typeof nothing;
214
- messagesTemplate(): TemplateResult<1> | typeof nothing;
213
+ helpTextTemplate(): typeof nothing | TemplateResult<1>;
214
+ messagesTemplate(): typeof nothing | TemplateResult<1>;
215
215
  get newArrowButtonTemplate(): TemplateResult<1>;
216
216
  get renderNewMomentumArrow(): TemplateResult;
217
217
  get renderTrailingInputControls(): TemplateResult;
@@ -138,8 +138,8 @@ export declare namespace Dropdown {
138
138
  };
139
139
  handleInput(event: Event): void;
140
140
  private notifyInputValueChanged;
141
- helpTextTemplate(): import("lit").TemplateResult<1> | typeof nothing;
142
- messagesTemplate(): import("lit").TemplateResult<1> | typeof nothing;
141
+ helpTextTemplate(): typeof nothing | import("lit").TemplateResult<1>;
142
+ messagesTemplate(): typeof nothing | import("lit").TemplateResult<1>;
143
143
  iconTemplate(): import("lit").TemplateResult<1>;
144
144
  clearButtonTemplate(): import("lit").TemplateResult<1>;
145
145
  arrowButtonTemplate(): import("lit").TemplateResult<1>;
@@ -40,7 +40,7 @@ export declare namespace EditableTextfield {
40
40
  showAlert(): void;
41
41
  static get styles(): CSSResultArray;
42
42
  get overflowStyles(): string | false | 0;
43
- messagesTemplate(): import("lit").TemplateResult<1> | typeof nothing;
43
+ messagesTemplate(): typeof nothing | import("lit").TemplateResult<1>;
44
44
  render(): import("lit").TemplateResult<1>;
45
45
  }
46
46
  }
@@ -158,14 +158,14 @@ export declare namespace Input {
158
158
  get ariaExpandedValue(): "true" | "false" | undefined;
159
159
  get hasRightIcon(): boolean;
160
160
  inputTemplate(): import("lit").TemplateResult<1>;
161
- inputLeftTemplate(): import("lit").TemplateResult<1> | typeof nothing;
161
+ inputLeftTemplate(): typeof nothing | import("lit").TemplateResult<1>;
162
162
  private get inputRightTemplateClassMap();
163
163
  inputRightTemplate(): import("lit").TemplateResult<1> | undefined;
164
164
  private get comboBoxButtonTemplate();
165
- secondaryLabelTemplate(): import("lit").TemplateResult<1> | typeof nothing;
166
- helpTextTemplate(): import("lit").TemplateResult<1> | typeof nothing;
167
- messagesTemplate(): import("lit").TemplateResult<1> | typeof nothing;
168
- labelTemplate(): import("lit").TemplateResult<1> | typeof nothing;
165
+ secondaryLabelTemplate(): typeof nothing | import("lit").TemplateResult<1>;
166
+ helpTextTemplate(): typeof nothing | import("lit").TemplateResult<1>;
167
+ messagesTemplate(): typeof nothing | import("lit").TemplateResult<1>;
168
+ labelTemplate(): typeof nothing | import("lit").TemplateResult<1>;
169
169
  static get styles(): import("lit").CSSResult[];
170
170
  render(): import("lit").TemplateResult<1>;
171
171
  }
@@ -42,12 +42,12 @@ export declare namespace MenuOverlay {
42
42
  trigger?: NodeListOf<HTMLElement>;
43
43
  private popperInstance;
44
44
  private triggerElement;
45
- private renderMaxHeight;
46
- private renderOverflowY;
47
- private renderWidth;
48
- private getStyles;
45
+ static get styles(): import("lit").CSSResult[];
46
+ private updateCSSProperties;
49
47
  updateActiveMenuOverlayOpened: (event: Event) => void;
50
48
  updateActiveMenuOverlayClosed: (event: Event) => void;
49
+ firstUpdated(changedProperties: PropertyValues): void;
50
+ updated(changedProperties: PropertyValues): void;
51
51
  connectedCallback(): void;
52
52
  disconnectedCallback(): void;
53
53
  checkIsInputField(element: HTMLElement): boolean;
@@ -56,7 +56,6 @@ export declare namespace MenuOverlay {
56
56
  private removeTriggerEventListeners;
57
57
  private setupTriggerEventListeners;
58
58
  protected update(changedProperties: PropertyValues): void;
59
- protected updated(changedProperties: PropertyValues): void;
60
59
  private dispatchMenuOpen;
61
60
  private dispatchMenuClose;
62
61
  private handleInstance;
@@ -74,7 +73,6 @@ export declare namespace MenuOverlay {
74
73
  private focusOnNestedTrigger;
75
74
  handleOutsideOverlayClick: (event: MouseEvent) => void;
76
75
  handleWindowBlurEvent(): void;
77
- static get styles(): import("lit").CSSResult[];
78
76
  render(): import("lit").TemplateResult<1>;
79
77
  }
80
78
  export {};
@@ -5,4 +5,4 @@ export declare const getChannelAvatar: (selected: boolean, status: string | null
5
5
  export declare const renderTaskType: (mediaType: string, selected: boolean, status: string | null, iconSrc: string) => TemplateResult<1>;
6
6
  export declare const renderStatus: (status: string) => TemplateResult<1>;
7
7
  export declare const renderLegacyTaskType: (mediaType: string, selected: boolean, iconSrc: string) => TemplateResult<1>;
8
- export declare const renderChatCount: (quantity: number, isRestyle: boolean, element: HTMLElement) => TemplateResult<1> | typeof nothing;
8
+ export declare const renderChatCount: (quantity: number, isRestyle: boolean, element: HTMLElement) => typeof nothing | TemplateResult<1>;
@@ -3,7 +3,7 @@ import { LitElement, nothing, PropertyValues } from "lit";
3
3
  export declare class ColorTableSandbox extends LitElement {
4
4
  private colorTokenTableData;
5
5
  firstUpdated(changedProperties: PropertyValues): void;
6
- renderColorTable(): import("lit").TemplateResult<1> | typeof nothing;
6
+ renderColorTable(): typeof nothing | import("lit").TemplateResult<1>;
7
7
  static get styles(): import("lit").CSSResult[];
8
8
  render(): import("lit").TemplateResult<1>;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-beta.2",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",