@mirohq/design-system-callout 0.3.8 → 0.4.1

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.
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, { ComponentPropsWithRef } from 'react';
2
+ import react__default, { ComponentPropsWithRef, 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 * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
@@ -12,7 +12,7 @@ declare const StyledCallout: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
12
12
  variant?: "information" | "warning" | "danger" | "success" | undefined;
13
13
  dismissible?: boolean | "true" | "false" | undefined;
14
14
  }, {}>;
15
- declare type StyledCalloutProps = ComponentPropsWithRef<typeof StyledCallout>;
15
+ type StyledCalloutProps = ComponentPropsWithRef<typeof StyledCallout>;
16
16
 
17
17
  declare const Content: 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">>, {}, {}>;
18
18
 
@@ -24,7 +24,7 @@ declare const StyledIconSlot: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_
24
24
  variant?: "information" | "warning" | "danger" | "success" | undefined;
25
25
  }, {}>;
26
26
 
27
- declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
27
+ type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
28
28
  interface IconSlotProps extends StyledIconSlotProps {
29
29
  /**
30
30
  * The icon.
@@ -54,7 +54,7 @@ interface DismissibleProps {
54
54
  */
55
55
  dismissLabel: string;
56
56
  }
57
- declare type CalloutProps = (Omit<StyledCalloutProps, 'dismissible'> & {
57
+ type CalloutProps = (Omit<StyledCalloutProps, 'dismissible'> & {
58
58
  /**
59
59
  * Change the component style.
60
60
  */
@@ -69,7 +69,7 @@ declare type CalloutProps = (Omit<StyledCalloutProps, 'dismissible'> & {
69
69
  } & {
70
70
  [K in keyof DismissibleProps]?: never;
71
71
  }));
72
- declare const Callout: react__default.ForwardRefExoticComponent<CalloutProps> & Partials;
72
+ declare const Callout: ForwardRefExoticComponent<CalloutProps> & Partials;
73
73
  interface Partials {
74
74
  Content: typeof Content;
75
75
  Description: typeof Description;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-callout",
3
- "version": "0.3.8",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -26,8 +26,8 @@
26
26
  "react": "^16.14 || ^17 || ^18"
27
27
  },
28
28
  "dependencies": {
29
- "@mirohq/design-system-icon-button": "^3.2.7",
30
- "@mirohq/design-system-icons": "^0.63.0",
29
+ "@mirohq/design-system-icons": "^0.65.0",
30
+ "@mirohq/design-system-icon-button": "^3.2.8",
31
31
  "@mirohq/design-system-primitive": "^1.1.2",
32
32
  "@mirohq/design-system-stitches": "^2.6.30",
33
33
  "@mirohq/design-system-typography": "^0.6.8"