@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/browser/index.js +73 -73
- package/dist/browser/index.js.map +3 -3
- package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +5 -8
- package/dist/components/virtualizedlist/virtualizedlist.component.js +10 -7
- package/dist/components/virtualizedlist/virtualizedlist.helper.test.js +1 -1
- package/dist/components/virtualizedlist/virtualizedlist.types.d.ts +3 -2
- package/dist/custom-elements.json +746 -733
- package/dist/index.d.ts +2 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/virtualizedlist/index.d.ts +2 -2
- package/dist/react/virtualizedlist/index.js +2 -2
- package/package.json +1 -1
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, };
|
package/dist/react/index.d.ts
CHANGED
@@ -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';
|
package/dist/react/index.js
CHANGED
@@ -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
|
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("../../
|
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
|
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: '
|
24
|
+
onScroll: 'scroll',
|
25
25
|
},
|
26
26
|
displayName: 'VirtualizedList',
|
27
27
|
});
|