@momentum-design/components 0.102.3 → 0.102.4

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.
@@ -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 Appheader } from './appheader';
@@ -40,8 +40,8 @@ export { default as MenuBar } from './menubar';
40
40
  export { default as MenuItem } from './menuitem';
41
41
  export { default as MenuItemCheckbox } from './menuitemcheckbox';
42
42
  export { default as MenuItemRadio } from './menuitemradio';
43
- export { default as MenuSection } from './menusection';
44
43
  export { default as MenuPopover } from './menupopover';
44
+ export { default as MenuSection } from './menusection';
45
45
  export { default as NavMenuItem } from './navmenuitem';
46
46
  export { default as OptGroup } from './optgroup';
47
47
  export { default as Option } from './option';
@@ -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 Appheader } from './appheader';
@@ -40,8 +40,8 @@ export { default as MenuBar } from './menubar';
40
40
  export { default as MenuItem } from './menuitem';
41
41
  export { default as MenuItemCheckbox } from './menuitemcheckbox';
42
42
  export { default as MenuItemRadio } from './menuitemradio';
43
- export { default as MenuSection } from './menusection';
44
43
  export { default as MenuPopover } from './menupopover';
44
+ export { default as MenuSection } from './menusection';
45
45
  export { default as NavMenuItem } from './navmenuitem';
46
46
  export { default as OptGroup } from './optgroup';
47
47
  export { default as Option } from './option';
@@ -2,11 +2,15 @@ import Component from '../../components/list';
2
2
  /**
3
3
  * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.
4
4
  *
5
+ * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.
6
+ * `mdc-listitem` components can be placed in the default slot.
7
+ *
5
8
  * @tagname mdc-list
6
9
  *
7
- * @dependency mdc-text
10
+ * @slot default - This is a default/unnamed slot, where listitems can be placed.
11
+ * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.
8
12
  *
9
- * @slot default - This is a default/unnamed slot
13
+ * @csspart container - The container slot around the list items
10
14
  */
11
15
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
12
16
  export default reactWrapper;
@@ -5,11 +5,15 @@ import { TAG_NAME } from '../../components/list/list.constants';
5
5
  /**
6
6
  * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.
7
7
  *
8
+ * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.
9
+ * `mdc-listitem` components can be placed in the default slot.
10
+ *
8
11
  * @tagname mdc-list
9
12
  *
10
- * @dependency mdc-text
13
+ * @slot default - This is a default/unnamed slot, where listitems can be placed.
14
+ * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.
11
15
  *
12
- * @slot default - This is a default/unnamed slot
16
+ * @csspart container - The container slot around the list items
13
17
  */
14
18
  const reactWrapper = createComponent({
15
19
  tagName: TAG_NAME,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.102.3",
4
+ "version": "0.102.4",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"