@momentum-design/components 0.117.2 → 0.117.3
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/browser/index.js +167 -156
- package/dist/browser/index.js.map +3 -3
- package/dist/components/accordionbutton/accordionbutton.constants.d.ts +3 -2
- package/dist/components/animation/animation.component.js +1 -1
- package/dist/components/badge/badge.component.d.ts +1 -1
- package/dist/components/cardcheckbox/cardcheckbox.constants.d.ts +3 -2
- package/dist/components/checkbox/checkbox.component.d.ts +1 -1
- package/dist/components/checkbox/checkbox.constants.d.ts +3 -2
- package/dist/components/checkbox/checkbox.styles.js +5 -0
- package/dist/components/combobox/combobox.component.d.ts +1 -1
- package/dist/components/combobox/combobox.constants.d.ts +3 -2
- package/dist/components/dialog/dialog.constants.d.ts +2 -1
- package/dist/components/filterchip/filterchip.constants.d.ts +4 -2
- package/dist/components/formfieldwrapper/formfieldwrapper.component.js +1 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.constants.d.ts +2 -1
- package/dist/components/formfieldwrapper/formfieldwrapper.styles.js +4 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.utils.d.ts +1 -1
- package/dist/components/input/input.component.d.ts +1 -1
- package/dist/components/input/input.constants.d.ts +2 -1
- package/dist/components/inputchip/inputchip.constants.d.ts +2 -1
- package/dist/components/menuitem/menuitem.constants.d.ts +3 -2
- package/dist/components/navmenuitem/navmenuitem.constants.d.ts +2 -1
- package/dist/components/password/password.constants.d.ts +3 -2
- package/dist/components/presence/presence.utils.d.ts +1 -1
- package/dist/components/progressspinner/progressspinner.constants.d.ts +3 -2
- package/dist/components/progressspinner/progressspinner.constants.js +2 -2
- package/dist/components/radio/radio.component.d.ts +1 -1
- package/dist/components/radio/radio.styles.js +3 -0
- package/dist/components/searchfield/searchfield.constants.d.ts +2 -1
- package/dist/components/select/select.component.d.ts +1 -1
- package/dist/components/select/select.constants.d.ts +3 -2
- package/dist/components/statictoggle/statictoggle.constants.d.ts +3 -2
- package/dist/components/stepperitem/stepperitem.constants.d.ts +4 -3
- package/dist/components/textarea/textarea.component.d.ts +1 -1
- package/dist/components/textarea/textarea.styles.js +1 -0
- package/dist/components/toast/toast.component.js +16 -21
- package/dist/components/toast/toast.constants.d.ts +7 -6
- package/dist/components/toggle/toggle.component.d.ts +1 -1
- package/dist/components/toggle/toggle.constants.d.ts +3 -2
- package/dist/components/toggle/toggle.styles.js +5 -0
- package/dist/custom-elements.json +2448 -2448
- package/dist/react/accordion/index.d.ts +2 -3
- package/dist/react/accordionbutton/index.d.ts +2 -3
- package/dist/react/alertchip/index.d.ts +5 -4
- package/dist/react/animation/index.d.ts +4 -9
- package/dist/react/avatarbutton/index.d.ts +5 -4
- package/dist/react/brandvisual/index.d.ts +3 -6
- package/dist/react/button/index.d.ts +5 -4
- package/dist/react/buttonlink/index.d.ts +5 -4
- package/dist/react/buttonsimple/index.d.ts +5 -4
- package/dist/react/cardbutton/index.d.ts +5 -4
- package/dist/react/cardcheckbox/index.d.ts +6 -7
- package/dist/react/cardradio/index.d.ts +6 -7
- package/dist/react/checkbox/index.d.ts +3 -2
- package/dist/react/chip/index.d.ts +5 -4
- package/dist/react/coachmark/index.d.ts +5 -12
- package/dist/react/combobox/index.d.ts +6 -15
- package/dist/react/dialog/index.d.ts +6 -15
- package/dist/react/filterchip/index.d.ts +5 -4
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/input/index.d.ts +6 -5
- package/dist/react/inputchip/index.d.ts +2 -1
- package/dist/react/link/index.d.ts +5 -4
- package/dist/react/linkbutton/index.d.ts +5 -4
- package/dist/react/linksimple/index.d.ts +5 -4
- package/dist/react/listbox/index.d.ts +2 -1
- package/dist/react/listitem/index.d.ts +9 -8
- package/dist/react/menuitem/index.d.ts +9 -8
- package/dist/react/menuitemcheckbox/index.d.ts +11 -9
- package/dist/react/menuitemradio/index.d.ts +11 -9
- package/dist/react/menupopover/index.d.ts +8 -14
- package/dist/react/menusection/index.d.ts +3 -2
- package/dist/react/navmenuitem/index.d.ts +11 -12
- package/dist/react/option/index.d.ts +9 -8
- package/dist/react/password/index.d.ts +6 -5
- package/dist/react/popover/index.d.ts +5 -12
- package/dist/react/radio/index.d.ts +3 -2
- package/dist/react/searchfield/index.d.ts +6 -5
- package/dist/react/select/index.d.ts +6 -5
- package/dist/react/sidenavigation/index.d.ts +3 -11
- package/dist/react/slider/index.d.ts +3 -4
- package/dist/react/stepperitem/index.d.ts +4 -3
- package/dist/react/tab/index.d.ts +7 -8
- package/dist/react/tablist/index.d.ts +2 -3
- package/dist/react/textarea/index.d.ts +6 -5
- package/dist/react/toast/index.d.ts +2 -1
- package/dist/react/toggle/index.d.ts +3 -2
- package/dist/react/toggletip/index.d.ts +5 -12
- package/dist/react/tooltip/index.d.ts +5 -12
- package/dist/react/typewriter/index.d.ts +3 -2
- package/dist/react/virtualizedlist/index.d.ts +2 -1
- package/dist/utils/provider/index.d.ts +2 -4
- package/dist/utils/tag-name/index.d.ts +3 -1
- package/package.json +1 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/linksimple';
|
3
|
+
import type { Events } from '../../components/linksimple/linksimple.types';
|
3
4
|
/**
|
4
5
|
* `mdc-linksimple` is a lightweight link component that can be used to navigate
|
5
6
|
* within the application or to an external URL. It does not have any predefined default size.
|
@@ -28,9 +29,9 @@ import Component from '../../components/linksimple';
|
|
28
29
|
* @csspart anchor - The anchor element that wraps the linksimple content.
|
29
30
|
*/
|
30
31
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
31
|
-
onClick: EventName<
|
32
|
-
onKeyDown: EventName<
|
33
|
-
onFocus: EventName<
|
34
|
-
onBlur: EventName<
|
32
|
+
onClick: EventName<Events["onClickEvent"]>;
|
33
|
+
onKeyDown: EventName<Events["onKeyDownEvent"]>;
|
34
|
+
onFocus: EventName<Events["onFocusEvent"]>;
|
35
|
+
onBlur: EventName<Events["onBlurEvent"]>;
|
35
36
|
}>;
|
36
37
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/listbox';
|
3
|
+
import type { Events } from '../../components/listbox/listbox.types';
|
3
4
|
/**
|
4
5
|
* listbox component presents a list of options and allows a user to select one of them.
|
5
6
|
*
|
@@ -25,6 +26,6 @@ import Component from '../../components/listbox';
|
|
25
26
|
* @event change - (React: onChange) This event is emitted when the selected item changed
|
26
27
|
*/
|
27
28
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
28
|
-
onChange: EventName<
|
29
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
29
30
|
}>;
|
30
31
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/listitem';
|
3
|
+
import type { Events } from '../../components/listitem/listitem.types';
|
3
4
|
/**
|
4
5
|
* mdc-listitem component is used to display a label with different types of controls.
|
5
6
|
* There can be three types of controls, a radio button, a checkbox on the
|
@@ -53,13 +54,13 @@ import Component from '../../components/listitem';
|
|
53
54
|
* @event destroyed - (React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)
|
54
55
|
*/
|
55
56
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
56
|
-
onClick: EventName<
|
57
|
-
onKeyDown: EventName<
|
58
|
-
onKeyUp: EventName<
|
59
|
-
onFocus: EventName<
|
60
|
-
onEnabled: EventName<
|
61
|
-
onDisabled: EventName<
|
62
|
-
onCreated: EventName<
|
63
|
-
onDestroyed: EventName<
|
57
|
+
onClick: EventName<Events["onClickEvent"]>;
|
58
|
+
onKeyDown: EventName<Events["onKeyDownEvent"]>;
|
59
|
+
onKeyUp: EventName<Events["onKeyUpEvent"]>;
|
60
|
+
onFocus: EventName<Events["onFocusEvent"]>;
|
61
|
+
onEnabled: EventName<Events["onEnabledEvent"]>;
|
62
|
+
onDisabled: EventName<Events["onDisabledEvent"]>;
|
63
|
+
onCreated: EventName<Events["onCreatedEvent"]>;
|
64
|
+
onDestroyed: EventName<Events["onDestroyedEvent"]>;
|
64
65
|
}>;
|
65
66
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/menuitem';
|
3
|
+
import type { Events as EventsInherited } from '../../components/listitem/listitem.types';
|
3
4
|
/**
|
4
5
|
* menuitem component is inherited by listitem component with the role set `menuitem`.<br/>
|
5
6
|
* A menu item can contain an icon on the leading or trailing side.
|
@@ -38,13 +39,13 @@ import Component from '../../components/menuitem';
|
|
38
39
|
* @event destroyed - (React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)
|
39
40
|
*/
|
40
41
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
41
|
-
onClick: EventName<
|
42
|
-
onKeyDown: EventName<
|
43
|
-
onKeyUp: EventName<
|
44
|
-
onFocus: EventName<
|
45
|
-
onEnabled: EventName<
|
46
|
-
onDisabled: EventName<
|
47
|
-
onCreated: EventName<
|
48
|
-
onDestroyed: EventName<
|
42
|
+
onClick: EventName<EventsInherited["onClickEvent"]>;
|
43
|
+
onKeyDown: EventName<EventsInherited["onKeyDownEvent"]>;
|
44
|
+
onKeyUp: EventName<EventsInherited["onKeyUpEvent"]>;
|
45
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
46
|
+
onEnabled: EventName<EventsInherited["onEnabledEvent"]>;
|
47
|
+
onDisabled: EventName<EventsInherited["onDisabledEvent"]>;
|
48
|
+
onCreated: EventName<EventsInherited["onCreatedEvent"]>;
|
49
|
+
onDestroyed: EventName<EventsInherited["onDestroyedEvent"]>;
|
49
50
|
}>;
|
50
51
|
export default reactWrapper;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/menuitemcheckbox';
|
3
|
+
import type { Events } from '../../components/menuitemcheckbox/menuitemcheckbox.types';
|
4
|
+
import type { Events as EventsInherited } from '../../components/listitem/listitem.types';
|
3
5
|
/**
|
4
6
|
* A menuitemcheckbox component is a checkable menuitem.
|
5
7
|
* There should be no focusable descendants inside this menuitemcheckbox component.
|
@@ -44,14 +46,14 @@ import Component from '../../components/menuitemcheckbox';
|
|
44
46
|
* @event focus - (React: onFocus) This event is dispatched when the menuitemcheckbox receives focus.
|
45
47
|
*/
|
46
48
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
47
|
-
onChange: EventName<
|
48
|
-
onClick: EventName<
|
49
|
-
onFocus: EventName<
|
50
|
-
onKeyDown: EventName<
|
51
|
-
onKeyUp: EventName<
|
52
|
-
onEnabled: EventName<
|
53
|
-
onDisabled: EventName<
|
54
|
-
onCreated: EventName<
|
55
|
-
onDestroyed: EventName<
|
49
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
50
|
+
onClick: EventName<EventsInherited["onClickEvent"]>;
|
51
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
52
|
+
onKeyDown: EventName<EventsInherited["onKeyDownEvent"]>;
|
53
|
+
onKeyUp: EventName<EventsInherited["onKeyUpEvent"]>;
|
54
|
+
onEnabled: EventName<EventsInherited["onEnabledEvent"]>;
|
55
|
+
onDisabled: EventName<EventsInherited["onDisabledEvent"]>;
|
56
|
+
onCreated: EventName<EventsInherited["onCreatedEvent"]>;
|
57
|
+
onDestroyed: EventName<EventsInherited["onDestroyedEvent"]>;
|
56
58
|
}>;
|
57
59
|
export default reactWrapper;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/menuitemradio';
|
3
|
+
import type { Events } from '../../components/menuitemradio/menuitemradio.types';
|
4
|
+
import type { Events as EventsInherited } from '../../components/listitem/listitem.types';
|
3
5
|
/**
|
4
6
|
* A menuitemradio component is a checkable menuitem that is used in a menu.
|
5
7
|
* A menuitemradio should be checked only one at a time. <br/>
|
@@ -46,14 +48,14 @@ import Component from '../../components/menuitemradio';
|
|
46
48
|
* @event focus - (React: onFocus) This event is dispatched when the menuitemradio receives focus.
|
47
49
|
*/
|
48
50
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
49
|
-
onChange: EventName<
|
50
|
-
onClick: EventName<
|
51
|
-
onFocus: EventName<
|
52
|
-
onKeyDown: EventName<
|
53
|
-
onKeyUp: EventName<
|
54
|
-
onEnabled: EventName<
|
55
|
-
onDisabled: EventName<
|
56
|
-
onCreated: EventName<
|
57
|
-
onDestroyed: EventName<
|
51
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
52
|
+
onClick: EventName<EventsInherited["onClickEvent"]>;
|
53
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
54
|
+
onKeyDown: EventName<EventsInherited["onKeyDownEvent"]>;
|
55
|
+
onKeyUp: EventName<EventsInherited["onKeyUpEvent"]>;
|
56
|
+
onEnabled: EventName<EventsInherited["onEnabledEvent"]>;
|
57
|
+
onDisabled: EventName<EventsInherited["onDisabledEvent"]>;
|
58
|
+
onCreated: EventName<EventsInherited["onCreatedEvent"]>;
|
59
|
+
onDestroyed: EventName<EventsInherited["onDestroyedEvent"]>;
|
58
60
|
}>;
|
59
61
|
export default reactWrapper;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/menupopover';
|
3
|
+
import type { Events } from '../../components/menupopover/menupopover.types';
|
4
|
+
import type { Events as EventsInherited } from '../../components/popover/popover.types';
|
3
5
|
/**
|
4
6
|
* A popover menu component that displays a list of menu items in a floating container.
|
5
7
|
* It's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create
|
@@ -45,19 +47,11 @@ import Component from '../../components/menupopover';
|
|
45
47
|
* @slot default - Contains the menu items to be displayed in the popover
|
46
48
|
*/
|
47
49
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
48
|
-
onChange: EventName<
|
49
|
-
onAction: EventName<
|
50
|
-
onShown: EventName<
|
51
|
-
onHidden: EventName<
|
52
|
-
onCreated: EventName<
|
53
|
-
|
54
|
-
}> & {
|
55
|
-
target: import("../../components/popover/popover.component").default;
|
56
|
-
}>;
|
57
|
-
onDestroyed: EventName<CustomEvent<{
|
58
|
-
show: boolean;
|
59
|
-
}> & {
|
60
|
-
target: import("../../components/popover/popover.component").default;
|
61
|
-
}>;
|
50
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
51
|
+
onAction: EventName<Events["onActionEvent"]>;
|
52
|
+
onShown: EventName<EventsInherited["onShownEvent"]>;
|
53
|
+
onHidden: EventName<EventsInherited["onHiddenEvent"]>;
|
54
|
+
onCreated: EventName<EventsInherited["onCreatedEvent"]>;
|
55
|
+
onDestroyed: EventName<EventsInherited["onDestroyedEvent"]>;
|
62
56
|
}>;
|
63
57
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/menusection';
|
3
|
+
import type { Events } from '../../components/menusection/menusection.types';
|
3
4
|
/**
|
4
5
|
* `mdc-menusection` is a container element used to group a set of menu items.
|
5
6
|
*
|
@@ -17,7 +18,7 @@ import Component from '../../components/menusection';
|
|
17
18
|
* @event action - (React: onAction) This event is dispatched when a `menuitem` selected.
|
18
19
|
*/
|
19
20
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
20
|
-
onChange: EventName<
|
21
|
-
onAction: EventName<
|
21
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
22
|
+
onAction: EventName<Events["onActionEvent"]>;
|
22
23
|
}>;
|
23
24
|
export default reactWrapper;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/navmenuitem';
|
3
|
+
import type { Events } from '../../components/navmenuitem/navmenuitem.types';
|
4
|
+
import type { Events as EventsInherited } from '../../components/listitem/listitem.types';
|
3
5
|
/**
|
4
6
|
* `mdc-navmenuitem` is a menuitem styled to work as a navigation tab.
|
5
7
|
* It supports a leading icon, optional badge and dynamic text rendering.
|
@@ -36,17 +38,14 @@ import Component from '../../components/navmenuitem';
|
|
36
38
|
* @cssproperty --mdc-navmenuitem-rest-active-background-color - Background color of the active nav item in its rest state.
|
37
39
|
*/
|
38
40
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
39
|
-
onActiveChange: EventName<
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
onDisabled: EventName<import("../../utils/types").TypedCustomEvent<import("../../components/listitem/listitem.component").default, unknown>>;
|
49
|
-
onCreated: EventName<import("../../utils/types").TypedCustomEvent<import("../../components/listitem/listitem.component").default, unknown>>;
|
50
|
-
onDestroyed: EventName<import("../../utils/types").TypedCustomEvent<import("../../components/listitem/listitem.component").default, unknown>>;
|
41
|
+
onActiveChange: EventName<Events["onActiveChangeEvent"]>;
|
42
|
+
onClick: EventName<EventsInherited["onClickEvent"]>;
|
43
|
+
onKeyDown: EventName<EventsInherited["onKeyDownEvent"]>;
|
44
|
+
onKeyUp: EventName<EventsInherited["onKeyUpEvent"]>;
|
45
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
46
|
+
onEnabled: EventName<EventsInherited["onEnabledEvent"]>;
|
47
|
+
onDisabled: EventName<EventsInherited["onDisabledEvent"]>;
|
48
|
+
onCreated: EventName<EventsInherited["onCreatedEvent"]>;
|
49
|
+
onDestroyed: EventName<EventsInherited["onDestroyedEvent"]>;
|
51
50
|
}>;
|
52
51
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/option';
|
3
|
+
import type { Events as EventsInherited } from '../../components/listitem/listitem.types';
|
3
4
|
/**
|
4
5
|
* Option component, which is used within Selectlistbox within Select component.
|
5
6
|
*
|
@@ -26,13 +27,13 @@ import Component from '../../components/option';
|
|
26
27
|
* @event focus - (React: onFocus) This event is dispatched when the option receives focus.
|
27
28
|
*/
|
28
29
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
29
|
-
onClick: EventName<
|
30
|
-
onKeyDown: EventName<
|
31
|
-
onKeyUp: EventName<
|
32
|
-
onFocus: EventName<
|
33
|
-
onEnabled: EventName<
|
34
|
-
onDisabled: EventName<
|
35
|
-
onCreated: EventName<
|
36
|
-
onDestroyed: EventName<
|
30
|
+
onClick: EventName<EventsInherited["onClickEvent"]>;
|
31
|
+
onKeyDown: EventName<EventsInherited["onKeyDownEvent"]>;
|
32
|
+
onKeyUp: EventName<EventsInherited["onKeyUpEvent"]>;
|
33
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
34
|
+
onEnabled: EventName<EventsInherited["onEnabledEvent"]>;
|
35
|
+
onDisabled: EventName<EventsInherited["onDisabledEvent"]>;
|
36
|
+
onCreated: EventName<EventsInherited["onCreatedEvent"]>;
|
37
|
+
onDestroyed: EventName<EventsInherited["onDestroyedEvent"]>;
|
37
38
|
}>;
|
38
39
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/password';
|
3
|
+
import type { Events as EventsInherited } from '../../components/input/input.types';
|
3
4
|
/**
|
4
5
|
* `mdc-password` is a component that allows users to input their password.
|
5
6
|
* It extends the `mdc-input` component and provides additional features specific to password fields.
|
@@ -42,10 +43,10 @@ import Component from '../../components/password';
|
|
42
43
|
*
|
43
44
|
*/
|
44
45
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
45
|
-
onInput: EventName<
|
46
|
-
onChange: EventName<
|
47
|
-
onFocus: EventName<
|
48
|
-
onBlur: EventName<
|
49
|
-
onClear: EventName<
|
46
|
+
onInput: EventName<EventsInherited["onInputEvent"]>;
|
47
|
+
onChange: EventName<EventsInherited["onChangeEvent"]>;
|
48
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
49
|
+
onBlur: EventName<EventsInherited["onBlurEvent"]>;
|
50
|
+
onClear: EventName<EventsInherited["onClearEvent"]>;
|
50
51
|
}>;
|
51
52
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/popover';
|
3
|
+
import type { Events } from '../../components/popover/popover.types';
|
3
4
|
/**
|
4
5
|
* Popover component is a lightweight floating UI element that displays additional content when triggered.
|
5
6
|
* It can be used for tooltips, dropdowns, or contextual menus.
|
@@ -36,17 +37,9 @@ import Component from '../../components/popover';
|
|
36
37
|
*
|
37
38
|
*/
|
38
39
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
39
|
-
onShown: EventName<
|
40
|
-
onHidden: EventName<
|
41
|
-
onCreated: EventName<
|
42
|
-
|
43
|
-
}> & {
|
44
|
-
target: Component;
|
45
|
-
}>;
|
46
|
-
onDestroyed: EventName<CustomEvent<{
|
47
|
-
show: boolean;
|
48
|
-
}> & {
|
49
|
-
target: Component;
|
50
|
-
}>;
|
40
|
+
onShown: EventName<Events["onShownEvent"]>;
|
41
|
+
onHidden: EventName<Events["onHiddenEvent"]>;
|
42
|
+
onCreated: EventName<Events["onCreatedEvent"]>;
|
43
|
+
onDestroyed: EventName<Events["onDestroyedEvent"]>;
|
51
44
|
}>;
|
52
45
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/radio';
|
3
|
+
import type { Events } from '../../components/radio/radio.types';
|
3
4
|
/**
|
4
5
|
* Radio allow users to select single options from a list or turn an item/feature on or off.
|
5
6
|
* These are often used in forms, settings, and selection in lists.
|
@@ -28,7 +29,7 @@ import Component from '../../components/radio';
|
|
28
29
|
*
|
29
30
|
*/
|
30
31
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
31
|
-
onChange: EventName<
|
32
|
-
onFocus: EventName<
|
32
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
33
|
+
onFocus: EventName<Events["onFocusEvent"]>;
|
33
34
|
}>;
|
34
35
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/searchfield';
|
3
|
+
import type { Events as EventsInherited } from '../../components/input/input.types';
|
3
4
|
/**
|
4
5
|
* `mdc-searchfield` component is used as an input field for search functionality.
|
5
6
|
*
|
@@ -18,10 +19,10 @@ import Component from '../../components/searchfield';
|
|
18
19
|
* @slot filters - Slot for input chips
|
19
20
|
*/
|
20
21
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
21
|
-
onInput: EventName<
|
22
|
-
onChange: EventName<
|
23
|
-
onFocus: EventName<
|
24
|
-
onBlur: EventName<
|
25
|
-
onClear: EventName<
|
22
|
+
onInput: EventName<EventsInherited["onInputEvent"]>;
|
23
|
+
onChange: EventName<EventsInherited["onChangeEvent"]>;
|
24
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
25
|
+
onBlur: EventName<EventsInherited["onBlurEvent"]>;
|
26
|
+
onClear: EventName<EventsInherited["onClearEvent"]>;
|
26
27
|
}>;
|
27
28
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/select';
|
3
|
+
import type { Events } from '../../components/select/select.types';
|
3
4
|
/**
|
4
5
|
* The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.
|
5
6
|
* It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.
|
@@ -46,10 +47,10 @@ import Component from '../../components/select';
|
|
46
47
|
* @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).
|
47
48
|
*/
|
48
49
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
49
|
-
onChange: EventName<
|
50
|
-
onInput: EventName<
|
51
|
-
onClick: EventName<
|
52
|
-
onKeyDown: EventName<
|
53
|
-
onFocus: EventName<
|
50
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
51
|
+
onInput: EventName<Events["onInputEvent"]>;
|
52
|
+
onClick: EventName<Events["onClickEvent"]>;
|
53
|
+
onKeyDown: EventName<Events["onKeyDownEvent"]>;
|
54
|
+
onFocus: EventName<Events["onFocusEvent"]>;
|
54
55
|
}>;
|
55
56
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/sidenavigation';
|
3
|
+
import type { Events } from '../../components/sidenavigation/sidenavigation.types';
|
3
4
|
/**
|
4
5
|
* The `mdc-sidenavigation` component provides a vertically stacked navigation experience,
|
5
6
|
* typically used in layouts with persistent or collapsible sidebars.
|
@@ -65,16 +66,7 @@ import Component from '../../components/sidenavigation';
|
|
65
66
|
* @cssproperty --mdc-sidenavigation-vertical-divider-button-z-index - z-index of the vertical divider button
|
66
67
|
*/
|
67
68
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
68
|
-
onToggle: EventName<
|
69
|
-
|
70
|
-
}> & {
|
71
|
-
target: Component;
|
72
|
-
}>;
|
73
|
-
onActiveChange: EventName<CustomEvent<{
|
74
|
-
navId: string;
|
75
|
-
active: boolean;
|
76
|
-
}> & {
|
77
|
-
target: Component;
|
78
|
-
}>;
|
69
|
+
onToggle: EventName<Events["onToggleEvent"]>;
|
70
|
+
onActiveChange: EventName<Events["onActiveChangeEvent"]>;
|
79
71
|
}>;
|
80
72
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/slider';
|
3
|
+
import type { Events } from '../../components/slider/slider.types';
|
3
4
|
/**
|
4
5
|
* Slider component is used to select a value or range of values from within a defined range.
|
5
6
|
* It provides a visual representation of the current value(s) and allows users to adjust the value(s) by dragging the thumb(s) along the track.
|
@@ -34,9 +35,7 @@ import Component from '../../components/slider';
|
|
34
35
|
* @cssproperty --mdc-slider-tick-left - The left position of the slider tick marks
|
35
36
|
*/
|
36
37
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
37
|
-
onChange: EventName<
|
38
|
-
|
39
|
-
}>;
|
40
|
-
onInput: EventName<import("../../utils/types").OverrideEventTarget<InputEvent, Component>>;
|
38
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
39
|
+
onInput: EventName<Events["onInputEvent"]>;
|
41
40
|
}>;
|
42
41
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/stepperitem';
|
3
|
+
import type { Events } from '../../components/stepperitem/stepperitem.types';
|
3
4
|
/**
|
4
5
|
* stepperitem component is used to represent a single step in a stepper component. It is used within a `mdc-stepper` component to indicate the current step in a process.
|
5
6
|
* It can have different statuses such as `completed`, `current`, `incomplete`, `error-current`, and `error-incomplete`.
|
@@ -35,8 +36,8 @@ import Component from '../../components/stepperitem';
|
|
35
36
|
* @cssproperty --mdc-stepperitem-label-container-background - The background color of the label container.
|
36
37
|
*/
|
37
38
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
38
|
-
onClick: EventName<
|
39
|
-
onKeyDown: EventName<
|
40
|
-
onKeyUp: EventName<
|
39
|
+
onClick: EventName<Events["onClickEvent"]>;
|
40
|
+
onKeyDown: EventName<Events["onKeyDownEvent"]>;
|
41
|
+
onKeyUp: EventName<Events["onKeyUpEvent"]>;
|
41
42
|
}>;
|
42
43
|
export default reactWrapper;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/tab';
|
3
|
+
import type { Events } from '../../components/tab/tab.types';
|
4
|
+
import type { Events as EventsInherited } from '../../components/buttonsimple/buttonsimple.types';
|
3
5
|
/**
|
4
6
|
* `mdc-tab` is Tab component to be used within the Tabgroup.
|
5
7
|
*
|
@@ -98,13 +100,10 @@ import Component from '../../components/tab';
|
|
98
100
|
* @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.
|
99
101
|
*/
|
100
102
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
101
|
-
onActiveChange: EventName<
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
onKeyDown: EventName<import("../../utils/types").OverrideEventTarget<KeyboardEvent, import("../../components/buttonsimple/buttonsimple.component").default>>;
|
107
|
-
onKeyUp: EventName<import("../../utils/types").OverrideEventTarget<KeyboardEvent, import("../../components/buttonsimple/buttonsimple.component").default>>;
|
108
|
-
onFocus: EventName<import("../../utils/types").OverrideEventTarget<FocusEvent, import("../../components/buttonsimple/buttonsimple.component").default>>;
|
103
|
+
onActiveChange: EventName<Events["onActiveChangeEvent"]>;
|
104
|
+
onClick: EventName<EventsInherited["onClickEvent"]>;
|
105
|
+
onKeyDown: EventName<EventsInherited["onKeyDownEvent"]>;
|
106
|
+
onKeyUp: EventName<EventsInherited["onKeyUpEvent"]>;
|
107
|
+
onFocus: EventName<EventsInherited["onFocusEvent"]>;
|
109
108
|
}>;
|
110
109
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/tablist';
|
3
|
+
import type { Events } from '../../components/tablist/tablist.types';
|
3
4
|
/**
|
4
5
|
* Tab list organizes tabs into a container.
|
5
6
|
*
|
@@ -44,8 +45,6 @@ import Component from '../../components/tablist';
|
|
44
45
|
* @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button
|
45
46
|
*/
|
46
47
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
47
|
-
onChange: EventName<
|
48
|
-
tabId: string;
|
49
|
-
}>>;
|
48
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
50
49
|
}>;
|
51
50
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/textarea';
|
3
|
+
import type { Events } from '../../components/textarea/textarea.types';
|
3
4
|
/**
|
4
5
|
* mdc-textarea component, which is used to get the multi-line text input from the user.
|
5
6
|
* It contains:
|
@@ -50,10 +51,10 @@ import Component from '../../components/textarea';
|
|
50
51
|
* @cssproperty --mdc-textarea-focused-border-color - Border color for the textarea container when focused
|
51
52
|
*/
|
52
53
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
53
|
-
onLimitExceeded: EventName<
|
54
|
-
onInput: EventName<
|
55
|
-
onChange: EventName<
|
56
|
-
onFocus: EventName<
|
57
|
-
onBlur: EventName<
|
54
|
+
onLimitExceeded: EventName<Events["onLimitExceededEvent"]>;
|
55
|
+
onInput: EventName<Events["onInputEvent"]>;
|
56
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
57
|
+
onFocus: EventName<Events["onFocusEvent"]>;
|
58
|
+
onBlur: EventName<Events["onBlurEvent"]>;
|
58
59
|
}>;
|
59
60
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/toast';
|
3
|
+
import type { Events } from '../../components/toast/toast.types';
|
3
4
|
/**
|
4
5
|
* `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.
|
5
6
|
* It supports success, warning, error, and custom messages, and is designed to be controlled externally.
|
@@ -39,6 +40,6 @@ import Component from '../../components/toast';
|
|
39
40
|
* @cssproperty --mdc-toast-padding - Padding inside the toast.
|
40
41
|
*/
|
41
42
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
42
|
-
onClose: EventName<
|
43
|
+
onClose: EventName<Events["onCloseEvent"]>;
|
43
44
|
}>;
|
44
45
|
export default reactWrapper;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type EventName } from '@lit/react';
|
2
2
|
import Component from '../../components/toggle';
|
3
|
+
import type { Events } from '../../components/toggle/toggle.types';
|
3
4
|
/**
|
4
5
|
* Toggle Component is an interactive control used to switch between two mutually exclusive options,
|
5
6
|
* such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections
|
@@ -36,7 +37,7 @@ import Component from '../../components/toggle';
|
|
36
37
|
* @cssproperty --mdc-toggle-inactive-pressed-color - Background color of the inactive toggle in pressed state
|
37
38
|
*/
|
38
39
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
39
|
-
onChange: EventName<
|
40
|
-
onFocus: EventName<
|
40
|
+
onChange: EventName<Events["onChangeEvent"]>;
|
41
|
+
onFocus: EventName<Events["onFocusEvent"]>;
|
41
42
|
}>;
|
42
43
|
export default reactWrapper;
|