@momentum-design/components 0.102.0 → 0.102.1

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.
@@ -2,8 +2,8 @@ export { default as Accordion } from './accordion';
2
2
  export { default as AccordionButton } from './accordionbutton';
3
3
  export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
- export { default as Animation } from './animation';
6
5
  export { default as Appheader } from './appheader';
6
+ export { default as Animation } from './animation';
7
7
  export { default as Avatar } from './avatar';
8
8
  export { default as AvatarButton } from './avatarbutton';
9
9
  export { default as Badge } from './badge';
@@ -37,11 +37,11 @@ export { default as Listheader } from './listheader';
37
37
  export { default as ListItem } from './listitem';
38
38
  export { default as Marker } from './marker';
39
39
  export { default as MenuBar } from './menubar';
40
- export { default as MenuItemCheckbox } from './menuitemcheckbox';
41
40
  export { default as MenuItem } from './menuitem';
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';
@@ -61,9 +61,9 @@ export { default as Skeleton } from './skeleton';
61
61
  export { default as Spinner } from './spinner';
62
62
  export { default as StaticCheckbox } from './staticcheckbox';
63
63
  export { default as StaticRadio } from './staticradio';
64
+ export { default as StaticToggle } from './statictoggle';
64
65
  export { default as Stepper } from './stepper';
65
66
  export { default as StepperConnector } from './stepperconnector';
66
- export { default as StaticToggle } from './statictoggle';
67
67
  export { default as StepperItem } from './stepperitem';
68
68
  export { default as Tab } from './tab';
69
69
  export { default as TabList } from './tablist';
@@ -2,8 +2,8 @@ export { default as Accordion } from './accordion';
2
2
  export { default as AccordionButton } from './accordionbutton';
3
3
  export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
- export { default as Animation } from './animation';
6
5
  export { default as Appheader } from './appheader';
6
+ export { default as Animation } from './animation';
7
7
  export { default as Avatar } from './avatar';
8
8
  export { default as AvatarButton } from './avatarbutton';
9
9
  export { default as Badge } from './badge';
@@ -37,11 +37,11 @@ export { default as Listheader } from './listheader';
37
37
  export { default as ListItem } from './listitem';
38
38
  export { default as Marker } from './marker';
39
39
  export { default as MenuBar } from './menubar';
40
- export { default as MenuItemCheckbox } from './menuitemcheckbox';
41
40
  export { default as MenuItem } from './menuitem';
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';
@@ -61,9 +61,9 @@ export { default as Skeleton } from './skeleton';
61
61
  export { default as Spinner } from './spinner';
62
62
  export { default as StaticCheckbox } from './staticcheckbox';
63
63
  export { default as StaticRadio } from './staticradio';
64
+ export { default as StaticToggle } from './statictoggle';
64
65
  export { default as Stepper } from './stepper';
65
66
  export { default as StepperConnector } from './stepperconnector';
66
- export { default as StaticToggle } from './statictoggle';
67
67
  export { default as StepperItem } from './stepperitem';
68
68
  export { default as Tab } from './tab';
69
69
  export { default as TabList } from './tablist';
@@ -28,6 +28,8 @@ import Component from '../../components/listitem';
28
28
  * @slot trailing-text-side-header - slot for list item side header text.
29
29
  * @slot trailing-text-subline - slot for list item subline text.
30
30
  * @slot trailing-controls - slot for list item controls to appear of trailing end.
31
+ * @slot content - content slot can be used to override the content completely. Be aware that
32
+ * this will override the default content of the list item.
31
33
  *
32
34
  * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.
33
35
  * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.
@@ -38,7 +40,11 @@ import Component from '../../components/listitem';
38
40
  * - Allows customization of the secondary and tertiary label text slot color.
39
41
  * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.
40
42
  * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.
41
- * @cssproperty --mdc-listitem-padding-left-and-right - Allows customization of padding left and right.
43
+ * @cssproperty --mdc-listitem-padding-left-right - Allows customization of padding left and right.
44
+ * @cssproperty --mdc-listitem-padding-top-bottom - Allows customization of padding top and bottom.
45
+ * @cssproperty --mdc-listitem-cursor - Allows customization of the cursor.
46
+ * @cssproperty --mdc-listitem-width - Allows customization of the width of the list item.
47
+ * @cssproperty --mdc-listitem-height - Allows customization of the height of the list item.
42
48
  *
43
49
  * @event click - (React: onClick) This event is dispatched when the listitem is clicked.
44
50
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.
@@ -30,6 +30,8 @@ import { TAG_NAME } from '../../components/listitem/listitem.constants';
30
30
  * @slot trailing-text-side-header - slot for list item side header text.
31
31
  * @slot trailing-text-subline - slot for list item subline text.
32
32
  * @slot trailing-controls - slot for list item controls to appear of trailing end.
33
+ * @slot content - content slot can be used to override the content completely. Be aware that
34
+ * this will override the default content of the list item.
33
35
  *
34
36
  * @cssproperty --mdc-listitem-default-background-color - Allows customization of the default background color.
35
37
  * @cssproperty --mdc-listitem-background-color-hover - Allows customization of the background color on hover.
@@ -40,7 +42,11 @@ import { TAG_NAME } from '../../components/listitem/listitem.constants';
40
42
  * - Allows customization of the secondary and tertiary label text slot color.
41
43
  * @cssproperty --mdc-listitem-disabled-color - Allows customization of the disabled color.
42
44
  * @cssproperty --mdc-listitem-column-gap - Allows customization of column gap.
43
- * @cssproperty --mdc-listitem-padding-left-and-right - Allows customization of padding left and right.
45
+ * @cssproperty --mdc-listitem-padding-left-right - Allows customization of padding left and right.
46
+ * @cssproperty --mdc-listitem-padding-top-bottom - Allows customization of padding top and bottom.
47
+ * @cssproperty --mdc-listitem-cursor - Allows customization of the cursor.
48
+ * @cssproperty --mdc-listitem-width - Allows customization of the width of the list item.
49
+ * @cssproperty --mdc-listitem-height - Allows customization of the height of the list item.
44
50
  *
45
51
  * @event click - (React: onClick) This event is dispatched when the listitem is clicked.
46
52
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the listitem.
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.0",
4
+ "version": "0.102.1",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"