@momentum-design/components 0.98.0 → 0.98.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.
@@ -22,6 +22,24 @@ import { TAG_NAME } from '../../components/cardcheckbox/cardcheckbox.constants';
22
22
  * @slot before-body - This slot is for passing the content before the body
23
23
  * @slot body - This slot is for passing the text content for the card
24
24
  * @slot after-body - This slot is for passing the content after the body
25
+ * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.
26
+ * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.
27
+ *
28
+ * @csspart header - The header part of the card
29
+ * @csspart icon - The icon part of the card header
30
+ * @csspart body - The body part of the card
31
+ * @csspart image - The image part of the card
32
+ * @csspart footer - The footer part of the card
33
+ * @csspart footer-link - The link part of the card footer
34
+ * @csspart footer-button-primary - The primary button part of the card footer
35
+ * @csspart footer-button-secondary - The secondary button part of the card footer
36
+ * @csspart icon-button - The icon button part of the card header
37
+ * @csspart text - The text part of the card
38
+ * @csspart check - The check part of the card
39
+ * @csspart check-icon - The check icon part of the card
40
+ * @csspart check-icon-button - The check icon button part of the card
41
+ *
42
+ * @cssproperty --mdc-card-width - The width of the card
25
43
  *
26
44
  * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.
27
45
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.
@@ -20,6 +20,24 @@ import Component from '../../components/cardradio';
20
20
  * @slot before-body - This slot is for passing the content before the body
21
21
  * @slot body - This slot is for passing the text content for the card
22
22
  * @slot after-body - This slot is for passing the content after the body
23
+ * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.
24
+ * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.
25
+ *
26
+ * @csspart header - The header part of the card
27
+ * @csspart icon - The icon part of the card header
28
+ * @csspart body - The body part of the card
29
+ * @csspart image - The image part of the card
30
+ * @csspart footer - The footer part of the card
31
+ * @csspart footer-link - The link part of the card footer
32
+ * @csspart footer-button-primary - The primary button part of the card footer
33
+ * @csspart footer-button-secondary - The secondary button part of the card footer
34
+ * @csspart icon-button - The icon button part of the card header
35
+ * @csspart text - The text part of the card
36
+ * @csspart check - The check part of the card
37
+ * @csspart check-icon - The check icon part of the card
38
+ * @csspart check-icon-button - The check icon button part of the card
39
+ *
40
+ * @cssproperty --mdc-card-width - The width of the card
23
41
  *
24
42
  * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.
25
43
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.
@@ -22,6 +22,24 @@ import { TAG_NAME } from '../../components/cardradio/cardradio.constants';
22
22
  * @slot before-body - This slot is for passing the content before the body
23
23
  * @slot body - This slot is for passing the text content for the card
24
24
  * @slot after-body - This slot is for passing the content after the body
25
+ * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.
26
+ * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.
27
+ *
28
+ * @csspart header - The header part of the card
29
+ * @csspart icon - The icon part of the card header
30
+ * @csspart body - The body part of the card
31
+ * @csspart image - The image part of the card
32
+ * @csspart footer - The footer part of the card
33
+ * @csspart footer-link - The link part of the card footer
34
+ * @csspart footer-button-primary - The primary button part of the card footer
35
+ * @csspart footer-button-secondary - The secondary button part of the card footer
36
+ * @csspart icon-button - The icon button part of the card header
37
+ * @csspart text - The text part of the card
38
+ * @csspart check - The check part of the card
39
+ * @csspart check-icon - The check icon part of the card
40
+ * @csspart check-icon-button - The check icon button part of the card
41
+ *
42
+ * @cssproperty --mdc-card-width - The width of the card
25
43
  *
26
44
  * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.
27
45
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.
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.98.0",
4
+ "version": "0.98.1",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"