@momentum-design/components 0.120.33 → 0.120.35
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 +188 -174
- package/dist/browser/index.js.map +4 -4
- package/dist/components/avatar/avatar.styles.js +1 -0
- package/dist/components/checkbox/checkbox.component.d.ts +6 -1
- package/dist/components/checkbox/checkbox.component.js +10 -5
- package/dist/components/checkbox/checkbox.constants.d.ts +5 -1
- package/dist/components/checkbox/checkbox.constants.js +6 -1
- package/dist/components/checkbox/checkbox.styles.js +4 -0
- package/dist/components/checkbox/checkbox.types.d.ts +5 -3
- package/dist/components/inputchip/inputchip.component.d.ts +6 -3
- package/dist/components/inputchip/inputchip.component.js +14 -7
- package/dist/components/inputchip/inputchip.styles.js +5 -0
- package/dist/custom-elements.json +885 -877
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/inputchip/index.d.ts +3 -0
- package/dist/react/inputchip/index.js +3 -0
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as Accordion } from './accordion';
|
|
2
|
-
export { default as AccordionButton } from './accordionbutton';
|
|
3
2
|
export { default as AccordionGroup } from './accordiongroup';
|
|
3
|
+
export { default as AccordionButton } from './accordionbutton';
|
|
4
4
|
export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as Animation } from './animation';
|
|
6
6
|
export { default as AnnouncementDialog } from './announcementdialog';
|
|
@@ -15,8 +15,8 @@ export { default as Button } from './button';
|
|
|
15
15
|
export { default as ButtonGroup } from './buttongroup';
|
|
16
16
|
export { default as ButtonLink } from './buttonlink';
|
|
17
17
|
export { default as Buttonsimple } from './buttonsimple';
|
|
18
|
-
export { default as CardButton } from './cardbutton';
|
|
19
18
|
export { default as Card } from './card';
|
|
19
|
+
export { default as CardButton } from './cardbutton';
|
|
20
20
|
export { default as CardCheckbox } from './cardcheckbox';
|
|
21
21
|
export { default as CardRadio } from './cardradio';
|
|
22
22
|
export { default as Checkbox } from './checkbox';
|
package/dist/react/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as Accordion } from './accordion';
|
|
2
|
-
export { default as AccordionButton } from './accordionbutton';
|
|
3
2
|
export { default as AccordionGroup } from './accordiongroup';
|
|
3
|
+
export { default as AccordionButton } from './accordionbutton';
|
|
4
4
|
export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as Animation } from './animation';
|
|
6
6
|
export { default as AnnouncementDialog } from './announcementdialog';
|
|
@@ -15,8 +15,8 @@ export { default as Button } from './button';
|
|
|
15
15
|
export { default as ButtonGroup } from './buttongroup';
|
|
16
16
|
export { default as ButtonLink } from './buttonlink';
|
|
17
17
|
export { default as Buttonsimple } from './buttonsimple';
|
|
18
|
-
export { default as CardButton } from './cardbutton';
|
|
19
18
|
export { default as Card } from './card';
|
|
19
|
+
export { default as CardButton } from './cardbutton';
|
|
20
20
|
export { default as CardCheckbox } from './cardcheckbox';
|
|
21
21
|
export { default as CardRadio } from './cardradio';
|
|
22
22
|
export { default as Checkbox } from './checkbox';
|
|
@@ -5,6 +5,7 @@ import type { Events } from '../../components/inputchip/inputchip.types';
|
|
|
5
5
|
* mdc-inputchip component is an interactive chip that consumers can use to represent an input.
|
|
6
6
|
*
|
|
7
7
|
* - It supports a leading icon along with label.
|
|
8
|
+
* - It supports a prefix slot for avatars (takes precedence over icon-name).
|
|
8
9
|
* - It supports an error state for validation.
|
|
9
10
|
* - It supports a close button to remove the chip.
|
|
10
11
|
*
|
|
@@ -16,6 +17,8 @@ import type { Events } from '../../components/inputchip/inputchip.types';
|
|
|
16
17
|
*
|
|
17
18
|
* @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.
|
|
18
19
|
*
|
|
20
|
+
* @slot prefix - A slot for prefix content such as avatars.
|
|
21
|
+
*
|
|
19
22
|
* @csspart label - The label part of the chip.
|
|
20
23
|
* @csspart icon - The icon part of the chip.
|
|
21
24
|
* @csspart close-icon - The close icon part of the chip.
|
|
@@ -6,6 +6,7 @@ import { TAG_NAME } from '../../components/inputchip/inputchip.constants';
|
|
|
6
6
|
* mdc-inputchip component is an interactive chip that consumers can use to represent an input.
|
|
7
7
|
*
|
|
8
8
|
* - It supports a leading icon along with label.
|
|
9
|
+
* - It supports a prefix slot for avatars (takes precedence over icon-name).
|
|
9
10
|
* - It supports an error state for validation.
|
|
10
11
|
* - It supports a close button to remove the chip.
|
|
11
12
|
*
|
|
@@ -17,6 +18,8 @@ import { TAG_NAME } from '../../components/inputchip/inputchip.constants';
|
|
|
17
18
|
*
|
|
18
19
|
* @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.
|
|
19
20
|
*
|
|
21
|
+
* @slot prefix - A slot for prefix content such as avatars.
|
|
22
|
+
*
|
|
20
23
|
* @csspart label - The label part of the chip.
|
|
21
24
|
* @csspart icon - The icon part of the chip.
|
|
22
25
|
* @csspart close-icon - The close icon part of the chip.
|