@momentum-design/components 0.118.3 → 0.118.5
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 +325 -325
- package/dist/browser/index.js.map +4 -4
- package/dist/components/accordion/accordion.component.d.ts +1 -1
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordionbutton/accordionbutton.component.d.ts +2 -2
- package/dist/components/accordionbutton/accordionbutton.component.js +2 -2
- package/dist/components/badge/badge.component.d.ts +13 -4
- package/dist/components/badge/badge.component.js +16 -10
- package/dist/components/badge/badge.styles.js +13 -13
- package/dist/components/buttongroup/buttongroup.component.d.ts +2 -0
- package/dist/components/buttongroup/buttongroup.component.js +2 -0
- package/dist/components/checkbox/checkbox.component.js +2 -2
- package/dist/components/checkbox/checkbox.styles.js +13 -8
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/dialog/dialog.component.d.ts +7 -0
- package/dist/components/dialog/dialog.component.js +7 -0
- package/dist/components/formfieldgroup/formfieldgroup.styles.js +0 -4
- package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +2 -2
- package/dist/components/formfieldwrapper/formfieldwrapper.component.js +5 -7
- package/dist/components/formfieldwrapper/formfieldwrapper.styles.js +22 -16
- package/dist/components/listheader/listheader.component.d.ts +4 -0
- package/dist/components/listheader/listheader.component.js +4 -0
- package/dist/components/listitem/listitem.component.d.ts +5 -0
- package/dist/components/listitem/listitem.component.js +5 -0
- package/dist/components/menuitem/menuitem.component.d.ts +7 -0
- package/dist/components/menuitem/menuitem.component.js +7 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +10 -0
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +10 -0
- package/dist/components/menuitemradio/menuitemradio.component.d.ts +10 -0
- package/dist/components/menuitemradio/menuitemradio.component.js +10 -0
- package/dist/components/menupopover/menupopover.component.d.ts +4 -0
- package/dist/components/menupopover/menupopover.component.js +4 -0
- package/dist/components/menusection/menusection.component.d.ts +5 -0
- package/dist/components/menusection/menusection.component.js +5 -0
- package/dist/components/navmenuitem/navmenuitem.component.d.ts +6 -0
- package/dist/components/navmenuitem/navmenuitem.component.js +12 -4
- package/dist/components/navmenuitem/navmenuitem.styles.js +4 -4
- package/dist/components/optgroup/optgroup.component.d.ts +2 -0
- package/dist/components/optgroup/optgroup.component.js +4 -1
- package/dist/components/option/option.component.d.ts +8 -0
- package/dist/components/option/option.component.js +8 -0
- package/dist/components/popover/popover.component.d.ts +3 -0
- package/dist/components/popover/popover.component.js +5 -2
- package/dist/components/popover/popover.styles.js +4 -4
- package/dist/components/presence/presence.component.d.ts +17 -0
- package/dist/components/presence/presence.component.js +18 -1
- package/dist/components/presence/presence.styles.js +15 -15
- package/dist/components/progressbar/progressbar.component.d.ts +8 -0
- package/dist/components/progressbar/progressbar.component.js +11 -3
- package/dist/components/progressbar/progressbar.styles.js +3 -5
- package/dist/components/progressspinner/progressspinner.component.d.ts +6 -0
- package/dist/components/progressspinner/progressspinner.component.js +6 -0
- package/dist/components/radio/radio.component.js +2 -2
- package/dist/components/radio/radio.styles.js +8 -12
- package/dist/components/staticcheckbox/staticcheckbox.component.d.ts +1 -0
- package/dist/components/staticcheckbox/staticcheckbox.component.js +1 -0
- package/dist/components/staticchip/staticchip.component.d.ts +1 -0
- package/dist/components/staticchip/staticchip.component.js +1 -0
- package/dist/components/tab/tab.component.d.ts +5 -0
- package/dist/components/tab/tab.component.js +5 -0
- package/dist/components/tablist/tablist.component.d.ts +3 -1
- package/dist/components/tablist/tablist.component.js +5 -3
- package/dist/components/tablist/tablist.styles.js +1 -1
- package/dist/components/textarea/textarea.component.d.ts +2 -0
- package/dist/components/textarea/textarea.component.js +3 -1
- package/dist/components/toggle/toggle.component.d.ts +0 -3
- package/dist/components/toggle/toggle.component.js +0 -3
- package/dist/components/toggle/toggle.styles.js +11 -14
- package/dist/components/typewriter/typewriter.component.d.ts +1 -0
- package/dist/components/typewriter/typewriter.component.js +2 -1
- package/dist/components/typewriter/typewriter.constants.d.ts +1 -0
- package/dist/components/typewriter/typewriter.constants.js +1 -0
- package/dist/components/typewriter/typewriter.styles.js +2 -2
- package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +3 -0
- package/dist/components/virtualizedlist/virtualizedlist.component.js +3 -0
- package/dist/custom-elements.json +2638 -1870
- package/dist/react/accordion/index.d.ts +1 -1
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/accordionbutton/index.d.ts +2 -2
- package/dist/react/accordionbutton/index.js +2 -2
- package/dist/react/badge/index.d.ts +10 -0
- package/dist/react/badge/index.js +10 -0
- package/dist/react/buttongroup/index.d.ts +2 -0
- package/dist/react/buttongroup/index.js +2 -0
- package/dist/react/dialog/index.d.ts +7 -0
- package/dist/react/dialog/index.js +7 -0
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/listheader/index.d.ts +4 -0
- package/dist/react/listheader/index.js +4 -0
- package/dist/react/listitem/index.d.ts +5 -0
- package/dist/react/listitem/index.js +5 -0
- package/dist/react/menuitem/index.d.ts +7 -0
- package/dist/react/menuitem/index.js +7 -0
- package/dist/react/menuitemcheckbox/index.d.ts +10 -0
- package/dist/react/menuitemcheckbox/index.js +10 -0
- package/dist/react/menuitemradio/index.d.ts +10 -0
- package/dist/react/menuitemradio/index.js +10 -0
- package/dist/react/menupopover/index.d.ts +4 -0
- package/dist/react/menupopover/index.js +4 -0
- package/dist/react/menusection/index.d.ts +5 -0
- package/dist/react/menusection/index.js +5 -0
- package/dist/react/navmenuitem/index.d.ts +6 -0
- package/dist/react/navmenuitem/index.js +6 -0
- package/dist/react/optgroup/index.d.ts +2 -0
- package/dist/react/optgroup/index.js +2 -0
- package/dist/react/option/index.d.ts +8 -0
- package/dist/react/option/index.js +8 -0
- package/dist/react/popover/index.d.ts +3 -0
- package/dist/react/popover/index.js +3 -0
- package/dist/react/presence/index.d.ts +17 -0
- package/dist/react/presence/index.js +17 -0
- package/dist/react/progressbar/index.d.ts +8 -0
- package/dist/react/progressbar/index.js +8 -0
- package/dist/react/progressspinner/index.d.ts +6 -0
- package/dist/react/progressspinner/index.js +6 -0
- package/dist/react/staticcheckbox/index.d.ts +1 -0
- package/dist/react/staticcheckbox/index.js +1 -0
- package/dist/react/staticchip/index.d.ts +1 -0
- package/dist/react/staticchip/index.js +1 -0
- package/dist/react/tab/index.d.ts +5 -0
- package/dist/react/tab/index.js +5 -0
- package/dist/react/tablist/index.d.ts +3 -1
- package/dist/react/tablist/index.js +3 -1
- package/dist/react/textarea/index.d.ts +2 -0
- package/dist/react/textarea/index.js +2 -0
- package/dist/react/toggle/index.d.ts +0 -3
- package/dist/react/toggle/index.js +0 -3
- package/dist/react/typewriter/index.d.ts +1 -0
- package/dist/react/typewriter/index.js +1 -0
- package/dist/react/virtualizedlist/index.d.ts +3 -0
- package/dist/react/virtualizedlist/index.js +3 -0
- package/package.json +1 -1
@@ -20,6 +20,7 @@ import Component from '../../components/staticcheckbox';
|
|
20
20
|
* @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.
|
21
21
|
* @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.
|
22
22
|
*
|
23
|
+
* @csspart icon-container - The container for the checkbox icon.
|
23
24
|
*/
|
24
25
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
|
25
26
|
export default reactWrapper;
|
@@ -23,6 +23,7 @@ import { TAG_NAME } from '../../components/staticcheckbox/staticcheckbox.constan
|
|
23
23
|
* @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.
|
24
24
|
* @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.
|
25
25
|
*
|
26
|
+
* @csspart icon-container - The container for the checkbox icon.
|
26
27
|
*/
|
27
28
|
const reactWrapper = createComponent({
|
28
29
|
tagName: TAG_NAME,
|
@@ -15,6 +15,7 @@ import Component from '../../components/staticchip';
|
|
15
15
|
* @cssproperty --mdc-chip-border-color - The border color of the static chip.
|
16
16
|
* @cssproperty --mdc-chip-background-color - The background color of the static chip.
|
17
17
|
*
|
18
|
+
* @csspart label - The label of the static chip.
|
18
19
|
*/
|
19
20
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
|
20
21
|
export default reactWrapper;
|
@@ -18,6 +18,7 @@ import { TAG_NAME } from '../../components/staticchip/staticchip.constants';
|
|
18
18
|
* @cssproperty --mdc-chip-border-color - The border color of the static chip.
|
19
19
|
* @cssproperty --mdc-chip-background-color - The background color of the static chip.
|
20
20
|
*
|
21
|
+
* @csspart label - The label of the static chip.
|
21
22
|
*/
|
22
23
|
const reactWrapper = createComponent({
|
23
24
|
tagName: TAG_NAME,
|
@@ -98,6 +98,11 @@ import type { Events as EventsInherited } from '../../components/buttonsimple/bu
|
|
98
98
|
* @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.
|
99
99
|
* @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.
|
100
100
|
* @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.
|
101
|
+
*
|
102
|
+
* @csspart container - The container of the tab.
|
103
|
+
* @csspart icon - The icon of the tab.
|
104
|
+
* @csspart indicator - The indicator of the tab.
|
105
|
+
* @csspart text - The text of the tab.
|
101
106
|
*/
|
102
107
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
103
108
|
onActiveChange: EventName<Events["onActiveChangeEvent"]>;
|
package/dist/react/tab/index.js
CHANGED
@@ -98,6 +98,11 @@ import { TAG_NAME } from '../../components/tab/tab.constants';
|
|
98
98
|
* @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.
|
99
99
|
* @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.
|
100
100
|
* @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.
|
101
|
+
*
|
102
|
+
* @csspart container - The container of the tab.
|
103
|
+
* @csspart icon - The icon of the tab.
|
104
|
+
* @csspart indicator - The indicator of the tab.
|
105
|
+
* @csspart text - The text of the tab.
|
101
106
|
*/
|
102
107
|
const reactWrapper = createComponent({
|
103
108
|
tagName: TAG_NAME,
|
@@ -42,7 +42,9 @@ import type { Events } from '../../components/tablist/tablist.types';
|
|
42
42
|
*
|
43
43
|
* @cssproperty --mdc-tablist-gap - Gap between tabs
|
44
44
|
* @cssproperty --mdc-tablist-width - Width of the tablist
|
45
|
-
* @cssproperty
|
45
|
+
* @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button
|
46
|
+
*
|
47
|
+
* @csspart container - The tablist container.
|
46
48
|
*/
|
47
49
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
48
50
|
onChange: EventName<Events["onChangeEvent"]>;
|
@@ -43,7 +43,9 @@ import { TAG_NAME } from '../../components/tablist/tablist.constants';
|
|
43
43
|
*
|
44
44
|
* @cssproperty --mdc-tablist-gap - Gap between tabs
|
45
45
|
* @cssproperty --mdc-tablist-width - Width of the tablist
|
46
|
-
* @cssproperty
|
46
|
+
* @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button
|
47
|
+
*
|
48
|
+
* @csspart container - The tablist container.
|
47
49
|
*/
|
48
50
|
const reactWrapper = createComponent({
|
49
51
|
tagName: TAG_NAME,
|
@@ -49,6 +49,8 @@ import type { Events } from '../../components/textarea/textarea.types';
|
|
49
49
|
* @cssproperty --mdc-textarea-hover-background-color - Background color for the textarea container when hover
|
50
50
|
* @cssproperty --mdc-textarea-focused-background-color - Background color for the textarea container when focused
|
51
51
|
* @cssproperty --mdc-textarea-focused-border-color - Border color for the textarea container when focused
|
52
|
+
*
|
53
|
+
* @csspart textarea-container - The textarea container
|
52
54
|
*/
|
53
55
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
54
56
|
onLimitExceeded: EventName<Events["onLimitExceededEvent"]>;
|
@@ -50,6 +50,8 @@ import { TAG_NAME } from '../../components/textarea/textarea.constants';
|
|
50
50
|
* @cssproperty --mdc-textarea-hover-background-color - Background color for the textarea container when hover
|
51
51
|
* @cssproperty --mdc-textarea-focused-background-color - Background color for the textarea container when focused
|
52
52
|
* @cssproperty --mdc-textarea-focused-border-color - Border color for the textarea container when focused
|
53
|
+
*
|
54
|
+
* @csspart textarea-container - The textarea container
|
53
55
|
*/
|
54
56
|
const reactWrapper = createComponent({
|
55
57
|
tagName: TAG_NAME,
|
@@ -26,9 +26,6 @@ import type { Events } from '../../components/toggle/toggle.types';
|
|
26
26
|
* @cssproperty --mdc-toggle-height - Height of the toggle
|
27
27
|
* @cssproperty --mdc-toggle-width-compact - Width of the toggle when it's size is compact
|
28
28
|
* @cssproperty --mdc-toggle-height-compact - Height of the toggle when it's size is compact
|
29
|
-
* @cssproperty --mdc-toggle-label-lineheight - Line height of the toggle label
|
30
|
-
* @cssproperty --mdc-toggle-label-fontsize - Font size of the toggle label
|
31
|
-
* @cssproperty --mdc-toggle-label-fontweight - Font weight of the toggle label
|
32
29
|
* @cssproperty --mdc-toggle-label-color-disabled - Color of the toggle label and help text in disabled state
|
33
30
|
* @cssproperty --mdc-toggle-help-text-color - Color of the help text label
|
34
31
|
* @cssproperty --mdc-toggle-active-hover-color - Background color of the active toggle in hover state
|
@@ -27,9 +27,6 @@ import { TAG_NAME } from '../../components/toggle/toggle.constants';
|
|
27
27
|
* @cssproperty --mdc-toggle-height - Height of the toggle
|
28
28
|
* @cssproperty --mdc-toggle-width-compact - Width of the toggle when it's size is compact
|
29
29
|
* @cssproperty --mdc-toggle-height-compact - Height of the toggle when it's size is compact
|
30
|
-
* @cssproperty --mdc-toggle-label-lineheight - Line height of the toggle label
|
31
|
-
* @cssproperty --mdc-toggle-label-fontsize - Font size of the toggle label
|
32
|
-
* @cssproperty --mdc-toggle-label-fontweight - Font weight of the toggle label
|
33
30
|
* @cssproperty --mdc-toggle-label-color-disabled - Color of the toggle label and help text in disabled state
|
34
31
|
* @cssproperty --mdc-toggle-help-text-color - Color of the help text label
|
35
32
|
* @cssproperty --mdc-toggle-active-hover-color - Background color of the active toggle in hover state
|
@@ -39,6 +39,7 @@ import type { Events } from '../../components/typewriter/typewriter.types';
|
|
39
39
|
*
|
40
40
|
* @csspart container - Container for the text element
|
41
41
|
* @csspart text - The text element (forwarded to mdc-text)
|
42
|
+
* @csspart typewriter-hidden - The hidden typewriter text
|
42
43
|
*
|
43
44
|
* @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.
|
44
45
|
* Detail: \{ finalContent: string \}
|
@@ -40,6 +40,7 @@ import { TAG_NAME } from '../../components/typewriter/typewriter.constants';
|
|
40
40
|
*
|
41
41
|
* @csspart container - Container for the text element
|
42
42
|
* @csspart text - The text element (forwarded to mdc-text)
|
43
|
+
* @csspart typewriter-hidden - The hidden typewriter text
|
43
44
|
*
|
44
45
|
* @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.
|
45
46
|
* Detail: \{ finalContent: string \}
|
@@ -14,6 +14,9 @@ import type { Events } from '../../components/virtualizedlist/virtualizedlist.ty
|
|
14
14
|
* @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.
|
15
15
|
*
|
16
16
|
* @slot - Client side List with nested list items.
|
17
|
+
*
|
18
|
+
* @csspart container - The container of the virtualized list.
|
19
|
+
* @csspart scroll - The scrollable area of the virtualized list.
|
17
20
|
*/
|
18
21
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
19
22
|
onScroll: EventName<Events["onScrollEvent"]>;
|
@@ -15,6 +15,9 @@ import { TAG_NAME } from '../../components/virtualizedlist/virtualizedlist.const
|
|
15
15
|
* @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.
|
16
16
|
*
|
17
17
|
* @slot - Client side List with nested list items.
|
18
|
+
*
|
19
|
+
* @csspart container - The container of the virtualized list.
|
20
|
+
* @csspart scroll - The scrollable area of the virtualized list.
|
18
21
|
*/
|
19
22
|
const reactWrapper = createComponent({
|
20
23
|
tagName: TAG_NAME,
|