@momentum-design/components 0.105.3 → 0.106.0

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/index.d.ts CHANGED
@@ -88,9 +88,10 @@ import type { MenuPopoverActionEvent, MenuPopoverChangeEvent } from './component
88
88
  import type { SelectChangeEvent, SelectInputEvent } from './components/select/select.types';
89
89
  import type { MenuSectionChangeEvent } from './components/menusection/menusection.types';
90
90
  import type { InputInputEvent, InputChangeEvent, InputFocusEvent, InputBlurEvent, InputClearEvent } from './components/input/input.types';
91
+ import type { VirtualizedListScrollEvent } from './components/virtualizedlist/virtualizedlist.types';
91
92
  import { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES } from './components/button/button.constants';
92
93
  import { SKELETON_VARIANTS } from './components/skeleton/skeleton.constants';
93
94
  import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
94
95
  export { Accordion, AccordionButton, AccordionGroup, AlertChip, Animation, Appheader, Avatar, AvatarButton, Badge, Brandvisual, Bullet, Button, ButtonGroup, ButtonLink, Card, CardButton, CardCheckbox, CardRadio, Checkbox, Chip, Coachmark, Dialog, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, LinkButton, Linksimple, List, Listheader, ListItem, Marker, MenuBar, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuSection, NavMenuItem, OptGroup, Option, Password, Popover, Presence, Progressbar, Progressspinner, Radio, RadioGroup, ScreenreaderAnnouncer, Searchfield, Select, SelectListbox, SideNavigation, Skeleton, Spinner, StaticCheckbox, StaticRadio, StaticToggle, Stepper, StepperConnector, StepperItem, Tab, TabList, Text, Textarea, ThemeProvider, Toast, Toggle, Typewriter, ToggleTip, Tooltip, VirtualizedList, Combobox, Slider, ListBox, };
95
- export type { BadgeType, ButtonColor, ButtonVariant, IconButtonSize, MenuPopoverActionEvent, MenuPopoverChangeEvent, MenuSectionChangeEvent, PillButtonSize, PopoverPlacement, SkeletonVariant, SelectChangeEvent, SelectInputEvent, SpinnerSize, SpinnerVariant, TextType, TypewriterType, InputInputEvent, InputChangeEvent, InputFocusEvent, InputBlurEvent, InputClearEvent, };
96
+ export type { BadgeType, ButtonColor, ButtonVariant, IconButtonSize, MenuPopoverActionEvent, MenuPopoverChangeEvent, MenuSectionChangeEvent, PillButtonSize, PopoverPlacement, SkeletonVariant, SelectChangeEvent, SelectInputEvent, SpinnerSize, SpinnerVariant, TextType, TypewriterType, InputInputEvent, InputChangeEvent, InputFocusEvent, InputBlurEvent, InputClearEvent, VirtualizedListScrollEvent, };
96
97
  export { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, inMemoryCache, PILL_BUTTON_SIZES, SKELETON_VARIANTS, webAPIIconsCache, };
@@ -1,10 +1,10 @@
1
- export { default as AccordionButton } from './accordionbutton';
2
1
  export { default as Accordion } from './accordion';
2
+ export { default as AccordionButton } from './accordionbutton';
3
3
  export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
- export { default as Animation } from './animation';
6
5
  export { default as Appheader } from './appheader';
7
6
  export { default as Avatar } from './avatar';
7
+ export { default as Animation } from './animation';
8
8
  export { default as AvatarButton } from './avatarbutton';
9
9
  export { default as Badge } from './badge';
10
10
  export { default as Brandvisual } from './brandvisual';
@@ -54,8 +54,8 @@ export { default as Progressbar } from './progressbar';
54
54
  export { default as Progressspinner } from './progressspinner';
55
55
  export { default as Radio } from './radio';
56
56
  export { default as RadioGroup } from './radiogroup';
57
- export { default as Searchfield } from './searchfield';
58
57
  export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
58
+ export { default as Searchfield } from './searchfield';
59
59
  export { default as Select } from './select';
60
60
  export { default as Selectlistbox } from './selectlistbox';
61
61
  export { default as SideNavigation } from './sidenavigation';
@@ -1,10 +1,10 @@
1
- export { default as AccordionButton } from './accordionbutton';
2
1
  export { default as Accordion } from './accordion';
2
+ export { default as AccordionButton } from './accordionbutton';
3
3
  export { default as AccordionGroup } from './accordiongroup';
4
4
  export { default as AlertChip } from './alertchip';
5
- export { default as Animation } from './animation';
6
5
  export { default as Appheader } from './appheader';
7
6
  export { default as Avatar } from './avatar';
7
+ export { default as Animation } from './animation';
8
8
  export { default as AvatarButton } from './avatarbutton';
9
9
  export { default as Badge } from './badge';
10
10
  export { default as Brandvisual } from './brandvisual';
@@ -54,8 +54,8 @@ export { default as Progressbar } from './progressbar';
54
54
  export { default as Progressspinner } from './progressspinner';
55
55
  export { default as Radio } from './radio';
56
56
  export { default as RadioGroup } from './radiogroup';
57
- export { default as Searchfield } from './searchfield';
58
57
  export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
58
+ export { default as Searchfield } from './searchfield';
59
59
  export { default as Select } from './select';
60
60
  export { default as Selectlistbox } from './selectlistbox';
61
61
  export { default as SideNavigation } from './sidenavigation';
@@ -10,11 +10,11 @@ import Component from '../../components/virtualizedlist';
10
10
  *
11
11
  * @tagname mdc-virtualizedlist
12
12
  *
13
- * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.
13
+ * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.
14
14
  *
15
15
  * @slot - Client side List with nested list items.
16
16
  */
17
17
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
18
- onScroll: EventName<import("../../utils/types").TypedCustomEvent<Component, unknown>>;
18
+ onScroll: EventName<import("../../components/virtualizedlist/virtualizedlist.types").VirtualizedListScrollEvent>;
19
19
  }>;
20
20
  export default reactWrapper;
@@ -12,7 +12,7 @@ import { TAG_NAME } from '../../components/virtualizedlist/virtualizedlist.const
12
12
  *
13
13
  * @tagname mdc-virtualizedlist
14
14
  *
15
- * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.
15
+ * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.
16
16
  *
17
17
  * @slot - Client side List with nested list items.
18
18
  */
@@ -21,7 +21,7 @@ const reactWrapper = createComponent({
21
21
  elementClass: Component,
22
22
  react: React,
23
23
  events: {
24
- onScroll: 'onscroll',
24
+ onScroll: 'scroll',
25
25
  },
26
26
  displayName: 'VirtualizedList',
27
27
  });
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.105.3",
4
+ "version": "0.106.0",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"