@momentum-design/components 0.120.32 → 0.120.34
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 +12 -2
- package/dist/browser/index.js.map +2 -2
- package/dist/components/avatar/avatar.styles.js +1 -0
- 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 +1416 -1410
- 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
|
@@ -37,8 +37,8 @@ export { default as Input } from './input';
|
|
|
37
37
|
export { default as InputChip } from './inputchip';
|
|
38
38
|
export { default as Link } from './link';
|
|
39
39
|
export { default as LinkButton } from './linkbutton';
|
|
40
|
-
export { default as List } from './list';
|
|
41
40
|
export { default as Linksimple } from './linksimple';
|
|
41
|
+
export { default as List } from './list';
|
|
42
42
|
export { default as ListBox } from './listbox';
|
|
43
43
|
export { default as Listheader } from './listheader';
|
|
44
44
|
export { default as ListItem } from './listitem';
|
|
@@ -60,8 +60,8 @@ export { default as Progressspinner } from './progressspinner';
|
|
|
60
60
|
export { default as Radio } from './radio';
|
|
61
61
|
export { default as RadioGroup } from './radiogroup';
|
|
62
62
|
export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
|
|
63
|
-
export { default as Select } from './select';
|
|
64
63
|
export { default as Searchfield } from './searchfield';
|
|
64
|
+
export { default as Select } from './select';
|
|
65
65
|
export { default as Selectlistbox } from './selectlistbox';
|
|
66
66
|
export { default as SideNavigation } from './sidenavigation';
|
|
67
67
|
export { default as Skeleton } from './skeleton';
|
package/dist/react/index.js
CHANGED
|
@@ -37,8 +37,8 @@ export { default as Input } from './input';
|
|
|
37
37
|
export { default as InputChip } from './inputchip';
|
|
38
38
|
export { default as Link } from './link';
|
|
39
39
|
export { default as LinkButton } from './linkbutton';
|
|
40
|
-
export { default as List } from './list';
|
|
41
40
|
export { default as Linksimple } from './linksimple';
|
|
41
|
+
export { default as List } from './list';
|
|
42
42
|
export { default as ListBox } from './listbox';
|
|
43
43
|
export { default as Listheader } from './listheader';
|
|
44
44
|
export { default as ListItem } from './listitem';
|
|
@@ -60,8 +60,8 @@ export { default as Progressspinner } from './progressspinner';
|
|
|
60
60
|
export { default as Radio } from './radio';
|
|
61
61
|
export { default as RadioGroup } from './radiogroup';
|
|
62
62
|
export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
|
|
63
|
-
export { default as Select } from './select';
|
|
64
63
|
export { default as Searchfield } from './searchfield';
|
|
64
|
+
export { default as Select } from './select';
|
|
65
65
|
export { default as Selectlistbox } from './selectlistbox';
|
|
66
66
|
export { default as SideNavigation } from './sidenavigation';
|
|
67
67
|
export { default as Skeleton } from './skeleton';
|
|
@@ -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.
|