@mirohq/design-system-chip 0.2.20 → 0.2.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/types.d.ts +5 -5
  2. package/package.json +3 -3
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import react__default from 'react';
2
+ import react__default, { ForwardRefExoticComponent } from 'react';
3
3
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
4
4
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
5
5
  import { StrictComponentProps } from '@mirohq/design-system-stitches';
@@ -7,10 +7,10 @@ import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitiv
7
7
  import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
8
8
 
9
9
  declare const StyledChip: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
10
- declare type StyledChipProps = StrictComponentProps<typeof StyledChip>;
10
+ type StyledChipProps = StrictComponentProps<typeof StyledChip>;
11
11
 
12
12
  declare const StyledImageSlot: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLSpanElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>, {}, {}>;
13
- declare type StyledImageSlotProps = StrictComponentProps<typeof StyledImageSlot>;
13
+ type StyledImageSlotProps = StrictComponentProps<typeof StyledImageSlot>;
14
14
 
15
15
  interface ImageSlotProps extends StyledImageSlotProps {
16
16
  }
@@ -26,7 +26,7 @@ interface RemovableProps {
26
26
  */
27
27
  removeAriaLabel: string;
28
28
  }
29
- declare type ChipProps = (StyledChipProps & {
29
+ type ChipProps = (StyledChipProps & {
30
30
  /**
31
31
  * Show a button to remove the Chip
32
32
  * @default true
@@ -37,7 +37,7 @@ declare type ChipProps = (StyledChipProps & {
37
37
  removeAriaLabel?: never;
38
38
  onRemove?: never;
39
39
  });
40
- declare const Chip: react__default.ForwardRefExoticComponent<ChipProps> & Partials;
40
+ declare const Chip: ForwardRefExoticComponent<ChipProps> & Partials;
41
41
  interface Partials {
42
42
  ImageSlot: typeof ImageSlot;
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-chip",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -26,10 +26,10 @@
26
26
  "react": "^16.14 || ^17 || ^18"
27
27
  },
28
28
  "dependencies": {
29
- "@mirohq/design-system-base-button": "^0.4.68",
30
- "@mirohq/design-system-icons": "^0.63.0",
29
+ "@mirohq/design-system-base-button": "^0.5.0",
31
30
  "@mirohq/design-system-primitive": "^1.1.2",
32
31
  "@mirohq/design-system-stitches": "^2.6.30",
32
+ "@mirohq/design-system-icons": "^0.64.0",
33
33
  "@mirohq/design-system-styles": "^1.2.30"
34
34
  },
35
35
  "scripts": {