@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.
@@ -32,6 +32,8 @@ import Component from '../../components/card';
32
32
  * `mdc-button` component within the footer section.
33
33
  * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
34
34
  * within the footer section.
35
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
36
+ * using the footer-link and footer-button slots is preferred.
35
37
  *
36
38
  * @tagname mdc-card
37
39
  *
@@ -35,6 +35,8 @@ import { TAG_NAME } from '../../components/card/card.constants';
35
35
  * `mdc-button` component within the footer section.
36
36
  * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
37
37
  * within the footer section.
38
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
39
+ * using the footer-link and footer-button slots is preferred.
38
40
  *
39
41
  * @tagname mdc-card
40
42
  *
@@ -45,7 +45,8 @@ import Component from '../../components/dialog';
45
45
  * within the footer section.
46
46
  * @slot footer-button-primary - This slot is for passing primary variant of
47
47
  * `mdc-button` component within the footer section.
48
- *
48
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
49
+ * using the footer-link and footer-button slots is preferred
49
50
  */
50
51
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
51
52
  onShown: EventName<Event>;
@@ -47,7 +47,8 @@ import { TAG_NAME } from '../../components/dialog/dialog.constants';
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
  const reactWrapper = createComponent({
53
54
  tagName: TAG_NAME,
@@ -43,8 +43,8 @@ export { default as OptGroup } from './optgroup';
43
43
  export { default as Option } from './option';
44
44
  export { default as Popover } from './popover';
45
45
  export { default as Presence } from './presence';
46
- export { default as Progressspinner } from './progressspinner';
47
46
  export { default as Progressbar } from './progressbar';
47
+ export { default as Progressspinner } from './progressspinner';
48
48
  export { default as Radio } from './radio';
49
49
  export { default as RadioGroup } from './radiogroup';
50
50
  export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
@@ -43,8 +43,8 @@ export { default as OptGroup } from './optgroup';
43
43
  export { default as Option } from './option';
44
44
  export { default as Popover } from './popover';
45
45
  export { default as Presence } from './presence';
46
- export { default as Progressspinner } from './progressspinner';
47
46
  export { default as Progressbar } from './progressbar';
47
+ export { default as Progressspinner } from './progressspinner';
48
48
  export { default as Radio } from './radio';
49
49
  export { default as RadioGroup } from './radiogroup';
50
50
  export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
@@ -77,15 +77,17 @@ export const CardAndDialogFooterMixin = (superClass) => {
77
77
  */
78
78
  renderFooter() {
79
79
  return html `<div part="footer">
80
- <slot name="footer-link" @slotchange=${() => this.handleFooterSlot(DEFAULTS.LINK)}></slot>
81
- <slot
82
- name="footer-button-secondary"
83
- @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.SECONDARY)}
84
- ></slot>
85
- <slot
86
- name="footer-button-primary"
87
- @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.PRIMARY)}
88
- ></slot>
80
+ <slot name="footer">
81
+ <slot name="footer-link" @slotchange=${() => this.handleFooterSlot(DEFAULTS.LINK)}></slot>
82
+ <slot
83
+ name="footer-button-secondary"
84
+ @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.SECONDARY)}
85
+ ></slot>
86
+ <slot
87
+ name="footer-button-primary"
88
+ @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.PRIMARY)}
89
+ ></slot>
90
+ </slot>
89
91
  </div>`;
90
92
  }
91
93
  }
package/package.json CHANGED
@@ -41,5 +41,5 @@
41
41
  "lottie-web": "^5.12.2",
42
42
  "uuid": "^11.0.5"
43
43
  },
44
- "version": "0.81.6"
44
+ "version": "0.82.1"
45
45
  }