@momentum-design/components 0.95.1 → 0.95.3

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
@@ -72,10 +72,11 @@ import type { SkeletonVariant } from './components/skeleton/skeleton.types';
72
72
  import type { SpinnerSize, SpinnerVariant } from './components/spinner/spinner.types';
73
73
  import type { TextType } from './components/text/text.types';
74
74
  import type { MenuPopoverActionEvent, MenuPopoverChangeEvent } from './components/menupopover/menupopover.types';
75
+ import type { SelectChangeEvent, SelectInputEvent } from './components/select/select.types';
75
76
  import type { MenuSectionChangeEvent } from './components/menusection/menusection.types';
76
- import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
77
77
  import { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES } from './components/button/button.constants';
78
78
  import { SKELETON_VARIANTS } from './components/skeleton/skeleton.constants';
79
+ import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
79
80
  export { 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, Linksimple, List, ListItem, Marker, MenuBar, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuSection, NavMenuItem, OptGroup, Option, Password, Popover, Presence, Progressbar, Progressspinner, Radio, RadioGroup, ScreenreaderAnnouncer, Searchfield, Select, SideNavigation, Skeleton, Spinner, StaticCheckbox, StaticRadio, StaticToggle, Tab, TabList, Text, Textarea, ThemeProvider, Toggle, ToggleTip, Tooltip, VirtualizedList, Listheader, SelectListbox, };
80
- export type { BadgeType, ButtonColor, ButtonVariant, IconButtonSize, MenuPopoverActionEvent, MenuPopoverChangeEvent, MenuSectionChangeEvent, PillButtonSize, PopoverPlacement, SkeletonVariant, SpinnerSize, SpinnerVariant, TextType, };
81
+ export type { BadgeType, ButtonColor, ButtonVariant, IconButtonSize, MenuPopoverActionEvent, MenuPopoverChangeEvent, MenuSectionChangeEvent, PillButtonSize, PopoverPlacement, SkeletonVariant, SelectChangeEvent, SelectInputEvent, SpinnerSize, SpinnerVariant, TextType, };
81
82
  export { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, inMemoryCache, PILL_BUTTON_SIZES, SKELETON_VARIANTS, webAPIIconsCache, };
package/dist/index.js CHANGED
@@ -67,10 +67,10 @@ import Tooltip from './components/tooltip';
67
67
  import VirtualizedList from './components/virtualizedlist';
68
68
  import Listheader from './components/listheader';
69
69
  import SelectListbox from './components/selectlistbox';
70
- import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
71
70
  // Constants / Utils Imports
72
71
  import { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES, } from './components/button/button.constants';
73
72
  import { SKELETON_VARIANTS } from './components/skeleton/skeleton.constants';
73
+ import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
74
74
  // Components Exports
75
75
  export { 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, Linksimple, List, ListItem, Marker, MenuBar, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuSection, NavMenuItem, OptGroup, Option, Password, Popover, Presence, Progressbar, Progressspinner, Radio, RadioGroup, ScreenreaderAnnouncer, Searchfield, Select, SideNavigation, Skeleton, Spinner, StaticCheckbox, StaticRadio, StaticToggle, Tab, TabList, Text, Textarea, ThemeProvider, Toggle, ToggleTip, Tooltip, VirtualizedList, Listheader, SelectListbox, };
76
76
  // Constants / Utils Exports
@@ -56,10 +56,10 @@ export { default as SideNavigation } from './sidenavigation';
56
56
  export { default as Skeleton } from './skeleton';
57
57
  export { default as Spinner } from './spinner';
58
58
  export { default as StaticCheckbox } from './staticcheckbox';
59
- export { default as StaticRadio } from './staticradio';
60
59
  export { default as StaticToggle } from './statictoggle';
61
60
  export { default as Tab } from './tab';
62
61
  export { default as TabList } from './tablist';
62
+ export { default as StaticRadio } from './staticradio';
63
63
  export { default as Text } from './text';
64
64
  export { default as Textarea } from './textarea';
65
65
  export { default as ThemeProvider } from './themeprovider';
@@ -56,10 +56,10 @@ export { default as SideNavigation } from './sidenavigation';
56
56
  export { default as Skeleton } from './skeleton';
57
57
  export { default as Spinner } from './spinner';
58
58
  export { default as StaticCheckbox } from './staticcheckbox';
59
- export { default as StaticRadio } from './staticradio';
60
59
  export { default as StaticToggle } from './statictoggle';
61
60
  export { default as Tab } from './tab';
62
61
  export { default as TabList } from './tablist';
62
+ export { default as StaticRadio } from './staticradio';
63
63
  export { default as Text } from './text';
64
64
  export { default as Textarea } from './textarea';
65
65
  export { default as ThemeProvider } from './themeprovider';
@@ -29,12 +29,8 @@ import Component from '../../components/select';
29
29
  * @event focus - (React: onFocus) This event is dispatched when the select receives focus.
30
30
  */
31
31
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
32
- onChange: EventName<import("../../utils/types").TypedEvent<Component, {
33
- value: string;
34
- }>>;
35
- onInput: EventName<import("../../utils/types").TypedEvent<Component, {
36
- value: string;
37
- }>>;
32
+ onChange: EventName<import("../../components/select/select.types").SelectChangeEvent>;
33
+ onInput: EventName<import("../../components/select/select.types").SelectInputEvent>;
38
34
  onClick: EventName<MouseEvent>;
39
35
  onKeyDown: EventName<KeyboardEvent>;
40
36
  onFocus: EventName<FocusEvent>;
@@ -46,12 +46,12 @@ export const CardComponentMixin = (superClass) => {
46
46
  */
47
47
  this.orientation = DEFAULTS.ORIENTATION;
48
48
  /**
49
- * The tag name for the card title. It supports all the types that `msc-text` supports
49
+ * The tag name for the card title. It supports all the types that `mdc-text` supports
50
50
  * @default 'span'
51
51
  */
52
52
  this.titleTagName = DEFAULTS.TAGNAME;
53
53
  /**
54
- * The tag name for the subtitle. It supports all the types that `msc-text` supports
54
+ * The tag name for the subtitle. It supports all the types that `mdc-text` supports
55
55
  * @default 'span'
56
56
  */
57
57
  this.subtitleTagName = DEFAULTS.TAGNAME;
@@ -1,6 +1,6 @@
1
1
  import { LitElement, TemplateResult } from 'lit';
2
2
  import type { Constructor } from './index.types';
3
- export declare class CardAndDialogFooterMixinInterface {
3
+ export declare class FooterMixinInterface {
4
4
  protected footerLink?: Array<HTMLElement>;
5
5
  protected footerButtonPrimary?: Array<HTMLElement>;
6
6
  protected footerButtonSecondary?: Array<HTMLElement>;
@@ -8,4 +8,4 @@ export declare class CardAndDialogFooterMixinInterface {
8
8
  protected handleFooterSlot(tagname: string, variant?: string): void;
9
9
  protected renderFooter(): TemplateResult;
10
10
  }
11
- export declare const CardAndDialogFooterMixin: <T extends Constructor<LitElement>>(superClass: T) => Constructor<CardAndDialogFooterMixinInterface> & T;
11
+ export declare const FooterMixin: <T extends Constructor<LitElement>>(superClass: T) => Constructor<FooterMixinInterface> & T;
@@ -12,7 +12,7 @@ import { html } from 'lit';
12
12
  import { queryAssignedElements } from 'lit/decorators.js';
13
13
  import { DEFAULTS, VARIANTS } from '../../components/card/card.constants';
14
14
  import { BUTTON_COLORS, BUTTON_VARIANTS } from '../../components/button/button.constants';
15
- export const CardAndDialogFooterMixin = (superClass) => {
15
+ export const FooterMixin = (superClass) => {
16
16
  class InnerMixinClass extends superClass {
17
17
  /**
18
18
  * Updates the color of the footer buttons based on the variant.
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.95.1",
4
+ "version": "0.95.3",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"