@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.
@@ -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() {
@@ -80,7 +80,8 @@ const styles = css `
80
80
  flex-direction: column;
81
81
  justify-content: center;
82
82
  align-items: center;
83
- height: 100%
83
+ height: 100%;
84
+ width: 100%;
84
85
  }
85
86
 
86
87
  :host::part(footer) {