@momentum-ui/web-components 3.0.4 → 3.0.6

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(): typeof nothing | import("lit").TemplateResult<1>;
78
+ get renderIsTyping(): import("lit").TemplateResult<1> | typeof nothing;
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(): typeof nothing | import("lit").TemplateResult<1>;
89
- renderPresence(): typeof nothing | import("lit").TemplateResult<1>;
88
+ get avatarContent(): import("lit").TemplateResult<1> | typeof nothing;
89
+ renderPresence(): import("lit").TemplateResult<1> | typeof nothing;
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: () => typeof nothing | import("lit").TemplateResult<1>;
34
+ getStyles: () => import("lit").TemplateResult<1> | typeof nothing;
35
35
  static get styles(): import("lit").CSSResult[];
36
36
  private get computedAriaHiddenSplits();
37
37
  private get computedTabIndex();
@@ -129,10 +129,10 @@ export declare namespace Button {
129
129
  get slottedText(): string | null | undefined;
130
130
  get hasIcon(): boolean;
131
131
  iconTemplate: () => import("lit").TemplateResult<1>;
132
- textTemplate: () => typeof nothing | import("lit").TemplateResult<1>;
132
+ textTemplate: () => import("lit").TemplateResult<1> | typeof nothing;
133
133
  childrenTemplate(): import("lit").TemplateResult<1>;
134
134
  get computedAriaExpand(): "true" | "false" | undefined;
135
- buttonTemplate(tag: Button.Tag): typeof nothing | import("lit").TemplateResult<1>;
135
+ buttonTemplate(tag: Button.Tag): import("lit").TemplateResult<1> | typeof nothing;
136
136
  get buttonContainerClassMap(): {
137
137
  "md-button__container": boolean;
138
138
  "md-button__container--small": boolean;
@@ -52,10 +52,10 @@ export declare namespace Chip {
52
52
  protected renderBgColor: () => string | typeof nothing;
53
53
  protected renderTextColor: () => string | typeof nothing;
54
54
  protected renderHeight: () => string | typeof nothing;
55
- protected getStyles: () => typeof nothing | import("lit").TemplateResult<1>;
55
+ protected getStyles: () => import("lit").TemplateResult<1> | typeof nothing;
56
56
  static get styles(): import("lit").CSSResult[];
57
- protected loadingTemplate(): typeof nothing | import("lit").TemplateResult<1>;
58
- protected iconTemplate(): typeof nothing | import("lit").TemplateResult<1>;
57
+ protected loadingTemplate(): import("lit").TemplateResult<1> | typeof nothing;
58
+ protected iconTemplate(): import("lit").TemplateResult<1> | typeof nothing;
59
59
  getToolTipContent(): string;
60
60
  private get textContentClassMap();
61
61
  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(): typeof nothing | TemplateResult<1>;
202
+ getSelctedCount(): TemplateResult<1> | typeof nothing;
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
  renderItem(option: OptionMember | string, index: number): TemplateResult;
212
212
  inputTitle(): string;
213
- helpTextTemplate(): typeof nothing | TemplateResult<1>;
214
- messagesTemplate(): typeof nothing | TemplateResult<1>;
213
+ helpTextTemplate(): TemplateResult<1> | typeof nothing;
214
+ messagesTemplate(): TemplateResult<1> | typeof nothing;
215
215
  get newArrowButtonTemplate(): TemplateResult<1>;
216
216
  get renderNewMomentumArrow(): TemplateResult;
217
217
  get renderTrailingInputControls(): TemplateResult;
@@ -11,7 +11,11 @@ export declare namespace DateRangePicker {
11
11
  class ELEMENT extends DatePicker.ELEMENT {
12
12
  startDate: string | undefined | null;
13
13
  endDate: string | undefined | null;
14
+ maxRangeLength: number | undefined;
15
+ private originalFilterDate;
14
16
  connectedCallback(): void;
17
+ private updateFilterDate;
18
+ private createCombinedFilter;
15
19
  disconnectedCallback(): void;
16
20
  updated(changedProperties: Map<string | number | symbol, unknown>): void;
17
21
  updateValue: () => void;
@@ -138,8 +138,8 @@ export declare namespace Dropdown {
138
138
  };
139
139
  handleInput(event: Event): void;
140
140
  private notifyInputValueChanged;
141
- helpTextTemplate(): typeof nothing | import("lit").TemplateResult<1>;
142
- messagesTemplate(): typeof nothing | import("lit").TemplateResult<1>;
141
+ helpTextTemplate(): import("lit").TemplateResult<1> | typeof nothing;
142
+ messagesTemplate(): import("lit").TemplateResult<1> | typeof nothing;
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(): typeof nothing | import("lit").TemplateResult<1>;
43
+ messagesTemplate(): import("lit").TemplateResult<1> | typeof nothing;
44
44
  render(): import("lit").TemplateResult<1>;
45
45
  }
46
46
  }
@@ -83,7 +83,7 @@ export declare namespace Grabber {
83
83
  };
84
84
  private get grabberContainerClassMap();
85
85
  private get isRtl();
86
- get iconName(): "arrow-up-bold" | "arrow-down-bold" | "list-menu-bold" | "arrow-right-bold" | "arrow-left-bold";
86
+ get iconName(): "arrow-up-bold" | "arrow-down-bold" | "arrow-left-bold" | "arrow-right-bold" | "list-menu-bold";
87
87
  get iconSize(): "10" | "12";
88
88
  render(): import("lit").TemplateResult<1>;
89
89
  }
@@ -161,15 +161,15 @@ export declare namespace Input {
161
161
  get ariaExpandedValue(): "true" | "false" | undefined;
162
162
  get hasRightIcon(): boolean;
163
163
  inputTemplate(): import("lit").TemplateResult<1>;
164
- inputLeftTemplate(): typeof nothing | import("lit").TemplateResult<1>;
164
+ inputLeftTemplate(): import("lit").TemplateResult<1> | typeof nothing;
165
165
  private get inputRightTemplateClassMap();
166
166
  inputRightTemplate(): import("lit").TemplateResult<1> | undefined;
167
167
  private get comboBoxButtonTemplate();
168
168
  private characterCountLabelTemplate;
169
- secondaryLabelTemplate(): typeof nothing | import("lit").TemplateResult<1>;
170
- helpTextTemplate(): typeof nothing | import("lit").TemplateResult<1>;
171
- messagesTemplate(): typeof nothing | import("lit").TemplateResult<1>;
172
- labelTemplate(): typeof nothing | import("lit").TemplateResult<1>;
169
+ secondaryLabelTemplate(): import("lit").TemplateResult<1> | typeof nothing;
170
+ helpTextTemplate(): import("lit").TemplateResult<1> | typeof nothing;
171
+ messagesTemplate(): import("lit").TemplateResult<1> | typeof nothing;
172
+ labelTemplate(): import("lit").TemplateResult<1> | typeof nothing;
173
173
  static get styles(): import("lit").CSSResult[];
174
174
  render(): import("lit").TemplateResult<1>;
175
175
  }
@@ -23,7 +23,7 @@ export declare namespace Radio {
23
23
  private get inputAriaLabel();
24
24
  static get styles(): import("lit").CSSResult[];
25
25
  private get helpTextClassMap();
26
- messagesTemplate(): typeof nothing | import("lit").TemplateResult<1>;
26
+ messagesTemplate(): import("lit").TemplateResult<1> | typeof nothing;
27
27
  render(): import("lit").TemplateResult<1>;
28
28
  }
29
29
  export {};
@@ -77,6 +77,7 @@ export declare namespace Tabs {
77
77
  private tabsHash;
78
78
  private tabsCopyHash;
79
79
  private tabsIdxHash;
80
+ private tabPanelHash;
80
81
  private tabsVisibleIdxHash;
81
82
  private tabsHiddenIdxHash;
82
83
  private tabHiddenIdPositiveTabIndex?;
@@ -95,6 +96,18 @@ export declare namespace Tabs {
95
96
  private manageOverflow;
96
97
  updateArrowsVisibility: () => void;
97
98
  private updateIsMoreTabMenuSelected;
99
+ /**
100
+ * Updates ariaControlsElements on shadow DOM tab copies to establish proper
101
+ * aria-controls relationships across shadow DOM boundaries.
102
+ *
103
+ * This uses the ariaControlsElements API which allows referencing elements
104
+ * from parent DOM (light DOM panels) within shadow DOM elements, avoiding
105
+ * the accessibility violation that occurs when using aria-controls attribute
106
+ * with ID references across shadow DOM boundaries.
107
+ *
108
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaControlsElements
109
+ */
110
+ private updateAriaControlsElements;
98
111
  private updateHiddenIdPositiveTabIndex;
99
112
  private sortTabsAndPanes;
100
113
  private linkPanelsAndTabs;
@@ -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) => typeof nothing | TemplateResult<1>;
8
+ export declare const renderChatCount: (quantity: number, isRestyle: boolean, element: HTMLElement) => TemplateResult<1> | typeof nothing;
@@ -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(): typeof nothing | import("lit").TemplateResult<1>;
6
+ renderColorTable(): import("lit").TemplateResult<1> | typeof nothing;
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.4",
3
+ "version": "3.0.6",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",