@momentum-design/components 0.81.6 → 0.82.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 +13 -10
- package/dist/browser/index.js.map +2 -2
- package/dist/components/card/card.component.d.ts +2 -0
- package/dist/components/card/card.component.js +2 -0
- package/dist/components/dialog/dialog.component.d.ts +2 -1
- package/dist/components/dialog/dialog.component.js +2 -1
- package/dist/components/dialog/dialog.styles.js +2 -1
- package/dist/custom-elements.json +259 -235
- package/dist/react/card/index.d.ts +2 -0
- package/dist/react/card/index.js +2 -0
- package/dist/react/dialog/index.d.ts +2 -1
- package/dist/react/dialog/index.js +2 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/utils/mixins/CardAndDialogFooterMixin.js +11 -9
- package/package.json +1 -1
|
@@ -34,6 +34,8 @@ declare const Card_base: import("../../utils/mixins/index.types").Constructor<im
|
|
|
34
34
|
* `mdc-button` component within the footer section.
|
|
35
35
|
* @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
|
|
36
36
|
* within the footer section.
|
|
37
|
+
* @slot footer - This slot is for passing custom footer content. Only use this if really needed,
|
|
38
|
+
* using the footer-link and footer-button slots is preferred.
|
|
37
39
|
*
|
|
38
40
|
* @tagname mdc-card
|
|
39
41
|
*
|
|
@@ -48,6 +48,8 @@ import { CardAndDialogFooterMixin } from '../../utils/mixins/CardAndDialogFooter
|
|
|
48
48
|
* `mdc-button` component within the footer section.
|
|
49
49
|
* @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
|
|
50
50
|
* within the footer section.
|
|
51
|
+
* @slot footer - This slot is for passing custom footer content. Only use this if really needed,
|
|
52
|
+
* using the footer-link and footer-button slots is preferred.
|
|
51
53
|
*
|
|
52
54
|
* @tagname mdc-card
|
|
53
55
|
*
|
|
@@ -47,7 +47,8 @@ declare const Dialog_base: import("../../utils/mixins/index.types").Constructor<
|
|
|
47
47
|
* within the footer section.
|
|
48
48
|
* @slot footer-button-primary - This slot is for passing primary variant of
|
|
49
49
|
* `mdc-button` component within the footer section.
|
|
50
|
-
*
|
|
50
|
+
* @slot footer - This slot is for passing custom footer content. Only use this if really needed,
|
|
51
|
+
* using the footer-link and footer-button slots is preferred
|
|
51
52
|
*/
|
|
52
53
|
declare class Dialog extends Dialog_base {
|
|
53
54
|
/**
|
|
@@ -63,7 +63,8 @@ import { CardAndDialogFooterMixin } from '../../utils/mixins/CardAndDialogFooter
|
|
|
63
63
|
* within the footer section.
|
|
64
64
|
* @slot footer-button-primary - This slot is for passing primary variant of
|
|
65
65
|
* `mdc-button` component within the footer section.
|
|
66
|
-
*
|
|
66
|
+
* @slot footer - This slot is for passing custom footer content. Only use this if really needed,
|
|
67
|
+
* using the footer-link and footer-button slots is preferred
|
|
67
68
|
*/
|
|
68
69
|
class Dialog extends FocusTrapMixin(CardAndDialogFooterMixin(Component)) {
|
|
69
70
|
constructor() {
|