@momentum-ui/web-components 2.14.24 → 2.14.25
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.
- package/dist/chunks/md-6.js +3 -3
- package/dist/chunks/md-70.js +1 -1
- package/dist/chunks/md-89.js +1 -1
- package/dist/types/components/button/Button.d.ts +3 -1
- package/dist/types/components/combobox/ComboBox.d.ts +1 -1
- package/dist/types/components/timepicker/TimePicker.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export declare const buttonSize: readonly ["20", "24", "28", "32", "36", "40", "
|
|
|
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", "ghost", "white", "darkGrey", "promotional", "tab", "available", "unavailable", "engaged", "idle", "inverted-primary", "inverted-secondary"];
|
|
14
|
+
export declare const buttonVariant: readonly ["primary", "secondary", "red", "green", "ghost", "white", "darkGrey", "promotional", "tab", "available", "unavailable", "engaged", "idle", "inverted-primary", "inverted-secondary", "dropdown"];
|
|
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 {
|
|
@@ -77,6 +77,7 @@ export declare namespace Button {
|
|
|
77
77
|
iconActive: boolean;
|
|
78
78
|
isActive: boolean;
|
|
79
79
|
clickFunction?: () => void;
|
|
80
|
+
isPlaceholderText?: boolean;
|
|
80
81
|
button: HTMLButtonElement;
|
|
81
82
|
renderWidth: () => {};
|
|
82
83
|
renderMaxWidth: () => {};
|
|
@@ -96,6 +97,7 @@ export declare namespace Button {
|
|
|
96
97
|
"md-activity": boolean;
|
|
97
98
|
"md-button--icon": boolean;
|
|
98
99
|
"md-button--onlyicon": boolean;
|
|
100
|
+
"md-button--placeholder-text": boolean;
|
|
99
101
|
};
|
|
100
102
|
get slottedText(): string | null | undefined;
|
|
101
103
|
get hasIcon(): boolean;
|
|
@@ -201,7 +201,7 @@ export declare namespace ComboBox {
|
|
|
201
201
|
checkForVirtualScroll(): boolean;
|
|
202
202
|
rangeChanged(): void;
|
|
203
203
|
getCustomErrorContent(): DocumentFragment;
|
|
204
|
-
getCustomContent(option: string | OptionMember):
|
|
204
|
+
getCustomContent(option: string | OptionMember): TemplateResult | DocumentFragment;
|
|
205
205
|
renderGroupLabelHeader(option: OptionMember, optionIndex: number): TemplateResult;
|
|
206
206
|
renderWithoutVirtualScroll(): import("lit-html").DirectiveFn;
|
|
207
207
|
highlightingSearchedText(option: OptionMember | string): TemplateResult[];
|
|
@@ -37,7 +37,7 @@ export declare namespace TimePicker {
|
|
|
37
37
|
handleTimeBlur(event: CustomEvent, unit: TimePicker.TimeUnit): void;
|
|
38
38
|
static get styles(): import("lit-element").CSSResult[];
|
|
39
39
|
formatTimeUnit: (unit: TimePicker.TimeUnit) => void;
|
|
40
|
-
messageType: (isValid: boolean) => "
|
|
40
|
+
messageType: (isValid: boolean) => "" | "error";
|
|
41
41
|
generateTimeBox: (unit: TimePicker.TimeUnit) => import("lit-element").TemplateResult;
|
|
42
42
|
generateAmPmComboBox: () => import("lit-element").TemplateResult;
|
|
43
43
|
render(): import("lit-element").TemplateResult;
|