@momentum-design/components 0.127.7 → 0.127.9

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.
@@ -9,8 +9,8 @@ export { default as Avatar } from './avatar';
9
9
  export { default as AvatarButton } from './avatarbutton';
10
10
  export { default as Badge } from './badge';
11
11
  export { default as Banner } from './banner';
12
- export { default as Bullet } from './bullet';
13
12
  export { default as Brandvisual } from './brandvisual';
13
+ export { default as Bullet } from './bullet';
14
14
  export { default as Button } from './button';
15
15
  export { default as ButtonGroup } from './buttongroup';
16
16
  export { default as ButtonLink } from './buttonlink';
@@ -68,19 +68,19 @@ export { default as Selectlistbox } from './selectlistbox';
68
68
  export { default as SideNavigation } from './sidenavigation';
69
69
  export { default as Skeleton } from './skeleton';
70
70
  export { default as Slider } from './slider';
71
- export { default as Spinner } from './spinner';
72
71
  export { default as StaticCheckbox } from './staticcheckbox';
73
72
  export { default as StaticChip } from './staticchip';
74
73
  export { default as StaticRadio } from './staticradio';
74
+ export { default as Spinner } from './spinner';
75
75
  export { default as StaticToggle } from './statictoggle';
76
76
  export { default as Stepper } from './stepper';
77
77
  export { default as StepperConnector } from './stepperconnector';
78
78
  export { default as StepperItem } from './stepperitem';
79
79
  export { default as Tab } from './tab';
80
- export { default as TabList } from './tablist';
81
80
  export { default as Text } from './text';
82
81
  export { default as Textarea } from './textarea';
83
82
  export { default as ThemeProvider } from './themeprovider';
83
+ export { default as TabList } from './tablist';
84
84
  export { default as Toast } from './toast';
85
85
  export { default as Toggle } from './toggle';
86
86
  export { default as ToggleTip } from './toggletip';
@@ -9,8 +9,8 @@ export { default as Avatar } from './avatar';
9
9
  export { default as AvatarButton } from './avatarbutton';
10
10
  export { default as Badge } from './badge';
11
11
  export { default as Banner } from './banner';
12
- export { default as Bullet } from './bullet';
13
12
  export { default as Brandvisual } from './brandvisual';
13
+ export { default as Bullet } from './bullet';
14
14
  export { default as Button } from './button';
15
15
  export { default as ButtonGroup } from './buttongroup';
16
16
  export { default as ButtonLink } from './buttonlink';
@@ -68,19 +68,19 @@ export { default as Selectlistbox } from './selectlistbox';
68
68
  export { default as SideNavigation } from './sidenavigation';
69
69
  export { default as Skeleton } from './skeleton';
70
70
  export { default as Slider } from './slider';
71
- export { default as Spinner } from './spinner';
72
71
  export { default as StaticCheckbox } from './staticcheckbox';
73
72
  export { default as StaticChip } from './staticchip';
74
73
  export { default as StaticRadio } from './staticradio';
74
+ export { default as Spinner } from './spinner';
75
75
  export { default as StaticToggle } from './statictoggle';
76
76
  export { default as Stepper } from './stepper';
77
77
  export { default as StepperConnector } from './stepperconnector';
78
78
  export { default as StepperItem } from './stepperitem';
79
79
  export { default as Tab } from './tab';
80
- export { default as TabList } from './tablist';
81
80
  export { default as Text } from './text';
82
81
  export { default as Textarea } from './textarea';
83
82
  export { default as ThemeProvider } from './themeprovider';
83
+ export { default as TabList } from './tablist';
84
84
  export { default as Toast } from './toast';
85
85
  export { default as Toggle } from './toggle';
86
86
  export { default as ToggleTip } from './toggletip';
@@ -2,7 +2,7 @@ import { type EventName } from '@lit/react';
2
2
  import Component from '../../components/popover';
3
3
  import type { Events } from '../../components/popover/popover.types';
4
4
  /**
5
- * Popover is genric overlay which can be trigered by any actinable element.
5
+ * Popover is generic overlay which can be triggered by any actionable element.
6
6
  *
7
7
  * It can be used for tooltips, dropdowns, menus or any showing any other contextual content.
8
8
  *
@@ -18,7 +18,7 @@ import type { Events } from '../../components/popover/popover.types';
18
18
  * aria-expanded and aria-haspopup attributes on the trigger.
19
19
  *
20
20
  * To prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked
21
- * Popoers except one.
21
+ * Popovers except one.
22
22
  *
23
23
  * ### React Popover with append-to attribute
24
24
  *
@@ -3,7 +3,7 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/popover';
4
4
  import { TAG_NAME } from '../../components/popover/popover.constants';
5
5
  /**
6
- * Popover is genric overlay which can be trigered by any actinable element.
6
+ * Popover is generic overlay which can be triggered by any actionable element.
7
7
  *
8
8
  * It can be used for tooltips, dropdowns, menus or any showing any other contextual content.
9
9
  *
@@ -19,7 +19,7 @@ import { TAG_NAME } from '../../components/popover/popover.constants';
19
19
  * aria-expanded and aria-haspopup attributes on the trigger.
20
20
  *
21
21
  * To prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked
22
- * Popoers except one.
22
+ * Popovers except one.
23
23
  *
24
24
  * ### React Popover with append-to attribute
25
25
  *
@@ -30,7 +30,7 @@ export const BackdropMixin = (superClass) => {
30
30
  width: 100%;
31
31
  height: 100%;
32
32
  background: ${this.isBackdropInvisible ? `transparent` : `var(--mds-color-theme-common-overlays-secondary-normal)`};
33
- z-index: ${this.zIndex - 1};
33
+ z-index: ${this.zIndex - 2};
34
34
  }
35
35
  `;
36
36
  backdrop.appendChild(styleElement);
@@ -69,7 +69,7 @@ export const BackdropMixin = (superClass) => {
69
69
  position: element.style.position,
70
70
  };
71
71
  // Set the z-index and position to ensure the element is above the backdrop
72
- element.style.zIndex = `${this.zIndex}`;
72
+ element.style.zIndex = `${this.zIndex - 1}`;
73
73
  // Only set the position to relative if it is not already set to fixed or absolute
74
74
  if (!['fixed', 'absolute'].includes(window.getComputedStyle(element).position)) {
75
75
  element.style.position = 'relative';
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.127.7",
4
+ "version": "0.127.9",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"