@momentum-design/components 0.129.7 → 0.129.8

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,6 +1,6 @@
1
1
  import { CSSResult } from 'lit';
2
2
  import Buttonsimple from '../buttonsimple/buttonsimple.component';
3
- import type { ColorType } from './chip.types';
3
+ import type { ColorType } from '../staticchip/staticchip.types';
4
4
  declare const Chip_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/IconNameMixin").IconNameMixinInterface> & typeof Buttonsimple;
5
5
  /**
6
6
  * mdc-chip is an interactive element that can be used to represent a chip. It supports a leading icon along with label.
@@ -1,11 +1,9 @@
1
- import type { OverrideEventTarget, ValueOf } from '../../utils/types';
1
+ import type { OverrideEventTarget } from '../../utils/types';
2
2
  import type Chip from './chip.component';
3
- import { COLOR } from './chip.constants';
4
- type ColorType = ValueOf<typeof COLOR>;
5
3
  interface Events {
6
4
  onClickEvent: OverrideEventTarget<MouseEvent, Chip>;
7
5
  onKeyDownEvent: OverrideEventTarget<KeyboardEvent, Chip>;
8
6
  onKeyUpEvent: OverrideEventTarget<KeyboardEvent, Chip>;
9
7
  onFocusEvent: OverrideEventTarget<FocusEvent, Chip>;
10
8
  }
11
- export type { ColorType, Events };
9
+ export type { Events };
@@ -1,5 +1,5 @@
1
1
  import type { IconNames } from '../icon/icon.types';
2
- import { ColorType } from '../chip/chip.types';
2
+ import type { ColorType } from '../staticchip/staticchip.types';
3
3
  declare const TAG_NAME: "mdc-filterchip";
4
4
  declare const DEFAULTS: {
5
5
  readonly ICON_NAME: Extract<IconNames, "check-bold">;
package/dist/index.d.ts CHANGED
@@ -86,6 +86,7 @@ import Slider from './components/slider';
86
86
  import ListBox from './components/listbox';
87
87
  import Banner from './components/banner';
88
88
  import type { BadgeType } from './components/badge/badge.types';
89
+ import type { ColorType as ChipColorType } from './components/staticchip/staticchip.types';
89
90
  import type { ButtonColor, ButtonVariant, IconButtonSize, PillButtonSize } from './components/button/button.types';
90
91
  import type { PopoverPlacement } from './components/popover/popover.types';
91
92
  import type { SkeletonVariant } from './components/skeleton/skeleton.types';
@@ -104,5 +105,5 @@ import { SKELETON_VARIANTS } from './components/skeleton/skeleton.constants';
104
105
  import { inMemoryCache, webAPIAssetsCache } from './utils/assets-cache';
105
106
  import type { TablistChangeEvent } from './components/tablist/tablist.types';
106
107
  export { Accordion, AccordionButton, AccordionGroup, AlertChip, Animation, AnnouncementDialog, Appheader, Avatar, AvatarButton, Badge, Brandvisual, Bullet, Button, ButtonGroup, ButtonLink, Card, CardButton, CardCheckbox, CardRadio, Checkbox, Chip, Coachmark, ControlTypeProvider, Dialog, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Illustration, IllustrationProvider, 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, ResponsiveSettingsProvider, ScreenreaderAnnouncer, Searchfield, Searchpopover, Select, SelectListbox, SideNavigation, Skeleton, Spinner, StaticChip, StaticCheckbox, StaticRadio, StaticToggle, Stepper, StepperConnector, StepperItem, Tab, TabList, Text, Textarea, ThemeProvider, Toast, Toggle, Typewriter, ToggleTip, Tooltip, VirtualizedList, Combobox, Slider, ListBox, Banner, };
107
- export type { BadgeType, ButtonColor, ButtonVariant, IconButtonSize, MenuPopoverActionEvent, MenuPopoverChangeEvent, MenuSectionChangeEvent, PillButtonSize, PopoverPlacement, SkeletonVariant, SelectChangeEvent, SelectInputEvent, SpinnerSize, SpinnerVariant, SliderChangeEvent, TextType, TypewriterType, InputInputEvent, InputChangeEvent, InputFocusEvent, InputBlurEvent, InputClearEvent, VirtualizedListScrollEvent, TablistChangeEvent, TextareaInputEvent, TextareaChangeEvent, TextareaFocusEvent, TextareaBlurEvent, TextareaLimitExceededEvent, };
108
+ export type { BadgeType, ChipColorType, ButtonColor, ButtonVariant, IconButtonSize, MenuPopoverActionEvent, MenuPopoverChangeEvent, MenuSectionChangeEvent, PillButtonSize, PopoverPlacement, SkeletonVariant, SelectChangeEvent, SelectInputEvent, SpinnerSize, SpinnerVariant, SliderChangeEvent, TextType, TypewriterType, InputInputEvent, InputChangeEvent, InputFocusEvent, InputBlurEvent, InputClearEvent, VirtualizedListScrollEvent, TablistChangeEvent, TextareaInputEvent, TextareaChangeEvent, TextareaFocusEvent, TextareaBlurEvent, TextareaLimitExceededEvent, };
108
109
  export { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, inMemoryCache, PILL_BUTTON_SIZES, SKELETON_VARIANTS, webAPIAssetsCache, };
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.129.7",
4
+ "version": "0.129.8",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"