@momentum-design/components 0.101.2 → 0.101.4

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.
@@ -1,8 +1,8 @@
1
1
  export { default as Accordion } from './accordion';
2
2
  export { default as AccordionButton } from './accordionbutton';
3
3
  export { default as AccordionGroup } from './accordiongroup';
4
- export { default as AlertChip } from './alertchip';
5
4
  export { default as Animation } from './animation';
5
+ export { default as AlertChip } from './alertchip';
6
6
  export { default as Appheader } from './appheader';
7
7
  export { default as Avatar } from './avatar';
8
8
  export { default as AvatarButton } from './avatarbutton';
@@ -16,8 +16,8 @@ export { default as Buttonsimple } from './buttonsimple';
16
16
  export { default as Card } from './card';
17
17
  export { default as CardButton } from './cardbutton';
18
18
  export { default as CardCheckbox } from './cardcheckbox';
19
- export { default as CardRadio } from './cardradio';
20
19
  export { default as Checkbox } from './checkbox';
20
+ export { default as CardRadio } from './cardradio';
21
21
  export { default as Chip } from './chip';
22
22
  export { default as Coachmark } from './coachmark';
23
23
  export { default as Dialog } from './dialog';
@@ -1,8 +1,8 @@
1
1
  export { default as Accordion } from './accordion';
2
2
  export { default as AccordionButton } from './accordionbutton';
3
3
  export { default as AccordionGroup } from './accordiongroup';
4
- export { default as AlertChip } from './alertchip';
5
4
  export { default as Animation } from './animation';
5
+ export { default as AlertChip } from './alertchip';
6
6
  export { default as Appheader } from './appheader';
7
7
  export { default as Avatar } from './avatar';
8
8
  export { default as AvatarButton } from './avatarbutton';
@@ -16,8 +16,8 @@ export { default as Buttonsimple } from './buttonsimple';
16
16
  export { default as Card } from './card';
17
17
  export { default as CardButton } from './cardbutton';
18
18
  export { default as CardCheckbox } from './cardcheckbox';
19
- export { default as CardRadio } from './cardradio';
20
19
  export { default as Checkbox } from './checkbox';
20
+ export { default as CardRadio } from './cardradio';
21
21
  export { default as Chip } from './chip';
22
22
  export { default as Coachmark } from './coachmark';
23
23
  export { default as Dialog } from './dialog';
@@ -64,7 +64,7 @@ export const CardComponentMixin = (superClass) => {
64
64
  if (!this.imageSrc) {
65
65
  return nothing;
66
66
  }
67
- return html `<img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />`;
67
+ return html `<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`;
68
68
  }
69
69
  /**
70
70
  * Renders the icon on the card if icon name is provided
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.101.2",
4
+ "version": "0.101.4",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"