@momentum-design/components 0.97.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.
- package/dist/browser/index.js +27 -6
- package/dist/browser/index.js.map +3 -3
- package/dist/components/card/card.component.d.ts +14 -6
- package/dist/components/card/card.component.js +20 -19
- package/dist/components/card/card.styles.js +21 -2
- package/dist/components/cardbutton/cardbutton.component.d.ts +18 -4
- package/dist/components/cardbutton/cardbutton.component.js +18 -4
- package/dist/components/cardcheckbox/cardcheckbox.component.d.ts +18 -0
- package/dist/components/cardcheckbox/cardcheckbox.component.js +18 -0
- package/dist/components/cardradio/cardradio.component.d.ts +18 -0
- package/dist/components/cardradio/cardradio.component.js +18 -0
- package/dist/custom-elements.json +316 -16
- package/dist/react/card/index.d.ts +14 -6
- package/dist/react/card/index.js +14 -6
- package/dist/react/cardbutton/index.d.ts +18 -4
- package/dist/react/cardbutton/index.js +18 -4
- package/dist/react/cardcheckbox/index.d.ts +18 -0
- package/dist/react/cardcheckbox/index.js +18 -0
- package/dist/react/cardradio/index.d.ts +18 -0
- package/dist/react/cardradio/index.js +18 -0
- package/package.json +1 -1
@@ -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.
|