@mirohq/design-system-button 3.1.30-fix-dd-icon-slot.0 → 3.1.30

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 +73 -12
  2. package/package.json +5 -5
package/dist/types.d.ts CHANGED
@@ -6,6 +6,7 @@ import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-ho
6
6
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
7
7
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
8
8
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
9
+ import * as _stitches_react from '@stitches/react';
9
10
  import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
10
11
 
11
12
  declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<(Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
@@ -493,8 +494,18 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
493
494
  readonly [$$PropertyValue]: "width";
494
495
  };
495
496
  };
496
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
497
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
497
+ _hover: (css: _stitches_react.CSS<{
498
+ media: {};
499
+ theme: {};
500
+ themeMap: {};
501
+ utils: {};
502
+ }>) => {
503
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
504
+ media: {};
505
+ theme: {};
506
+ themeMap: {};
507
+ utils: {};
508
+ }>;
498
509
  };
499
510
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
500
511
  'border-widths': {
@@ -981,8 +992,18 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
981
992
  readonly [$$PropertyValue]: "width";
982
993
  };
983
994
  };
984
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
985
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
995
+ _hover: (css: _stitches_react.CSS<{
996
+ media: {};
997
+ theme: {};
998
+ themeMap: {};
999
+ utils: {};
1000
+ }>) => {
1001
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1002
+ media: {};
1003
+ theme: {};
1004
+ themeMap: {};
1005
+ utils: {};
1006
+ }>;
986
1007
  };
987
1008
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
988
1009
  href: string;
@@ -1471,8 +1492,18 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
1471
1492
  readonly [$$PropertyValue]: "width";
1472
1493
  };
1473
1494
  };
1474
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
1475
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
1495
+ _hover: (css: _stitches_react.CSS<{
1496
+ media: {};
1497
+ theme: {};
1498
+ themeMap: {};
1499
+ utils: {};
1500
+ }>) => {
1501
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1502
+ media: {};
1503
+ theme: {};
1504
+ themeMap: {};
1505
+ utils: {};
1506
+ }>;
1476
1507
  };
1477
1508
  }>>>, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
1478
1509
  variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
@@ -1964,8 +1995,18 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
1964
1995
  readonly [$$PropertyValue]: "width";
1965
1996
  };
1966
1997
  };
1967
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
1968
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
1998
+ _hover: (css: _stitches_react.CSS<{
1999
+ media: {};
2000
+ theme: {};
2001
+ themeMap: {};
2002
+ utils: {};
2003
+ }>) => {
2004
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
2005
+ media: {};
2006
+ theme: {};
2007
+ themeMap: {};
2008
+ utils: {};
2009
+ }>;
1969
2010
  };
1970
2011
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
1971
2012
  'border-widths': {
@@ -2452,8 +2493,18 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
2452
2493
  readonly [$$PropertyValue]: "width";
2453
2494
  };
2454
2495
  };
2455
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
2456
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
2496
+ _hover: (css: _stitches_react.CSS<{
2497
+ media: {};
2498
+ theme: {};
2499
+ themeMap: {};
2500
+ utils: {};
2501
+ }>) => {
2502
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
2503
+ media: {};
2504
+ theme: {};
2505
+ themeMap: {};
2506
+ utils: {};
2507
+ }>;
2457
2508
  };
2458
2509
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
2459
2510
  href: string;
@@ -2950,8 +3001,18 @@ declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit
2950
3001
  readonly [$$PropertyValue]: "width";
2951
3002
  };
2952
3003
  };
2953
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
2954
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
3004
+ _hover: (css: _stitches_react.CSS<{
3005
+ media: {};
3006
+ theme: {};
3007
+ themeMap: {};
3008
+ utils: {};
3009
+ }>) => {
3010
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
3011
+ media: {};
3012
+ theme: {};
3013
+ themeMap: {};
3014
+ utils: {};
3015
+ }>;
2955
3016
  };
2956
3017
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
2957
3018
  declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-button",
3
- "version": "3.1.30-fix-dd-icon-slot.0",
3
+ "version": "3.1.30",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@react-aria/utils": "^3.13.0",
30
- "@mirohq/design-system-base-button": "^0.4.30-fix-dd-icon-slot.0",
31
- "@mirohq/design-system-spinner": "^1.1.32-fix-dd-icon-slot.0",
32
30
  "@mirohq/design-system-primitive": "^1.1.1",
33
- "@mirohq/design-system-stitches": "^2.5.1-fix-dd-icon-slot.0",
34
- "@mirohq/design-system-styles": "^1.1.18-fix-dd-icon-slot.0",
31
+ "@mirohq/design-system-base-button": "^0.4.30",
32
+ "@mirohq/design-system-spinner": "^1.1.31",
33
+ "@mirohq/design-system-stitches": "^2.5.0",
34
+ "@mirohq/design-system-styles": "^1.1.17",
35
35
  "@mirohq/design-system-types": "^0.6.2",
36
36
  "@mirohq/design-system-utils": "^0.14.3"
37
37
  },