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

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 +85 -14
  2. package/package.json +5 -5
package/dist/types.d.ts CHANGED
@@ -3,6 +3,7 @@ import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-ho
3
3
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
4
4
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
5
5
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
6
+ import * as _stitches_react from '@stitches/react';
6
7
  import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
7
8
  import * as react from 'react';
8
9
  import react__default, { ComponentPropsWithRef } from 'react';
@@ -494,8 +495,18 @@ declare const StyledIconButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
494
495
  readonly [$$PropertyValue]: "width";
495
496
  };
496
497
  };
497
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
498
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
498
+ _hover: (css: _stitches_react.CSS<{
499
+ media: {};
500
+ theme: {};
501
+ themeMap: {};
502
+ utils: {};
503
+ }>) => {
504
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
505
+ media: {};
506
+ theme: {};
507
+ themeMap: {};
508
+ utils: {};
509
+ }>;
499
510
  };
500
511
  }>>>, 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_components_primitive.PrimitiveProps<"button">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
501
512
  'border-widths': {
@@ -982,8 +993,18 @@ declare const StyledIconButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
982
993
  readonly [$$PropertyValue]: "width";
983
994
  };
984
995
  };
985
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
986
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
996
+ _hover: (css: _stitches_react.CSS<{
997
+ media: {};
998
+ theme: {};
999
+ themeMap: {};
1000
+ utils: {};
1001
+ }>) => {
1002
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1003
+ media: {};
1004
+ theme: {};
1005
+ themeMap: {};
1006
+ utils: {};
1007
+ }>;
987
1008
  };
988
1009
  }>>>, 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"> & {
989
1010
  href: string;
@@ -1472,8 +1493,18 @@ declare const StyledIconButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
1472
1493
  readonly [$$PropertyValue]: "width";
1473
1494
  };
1474
1495
  };
1475
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
1476
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
1496
+ _hover: (css: _stitches_react.CSS<{
1497
+ media: {};
1498
+ theme: {};
1499
+ themeMap: {};
1500
+ utils: {};
1501
+ }>) => {
1502
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1503
+ media: {};
1504
+ theme: {};
1505
+ themeMap: {};
1506
+ utils: {};
1507
+ }>;
1477
1508
  };
1478
1509
  }>>>, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
1479
1510
  variant?: "outline" | "solid-prominent" | "solid-subtle" | "ghost" | undefined;
@@ -1963,8 +1994,18 @@ declare const StyledIconButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
1963
1994
  readonly [$$PropertyValue]: "width";
1964
1995
  };
1965
1996
  };
1966
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
1967
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
1997
+ _hover: (css: _stitches_react.CSS<{
1998
+ media: {};
1999
+ theme: {};
2000
+ themeMap: {};
2001
+ utils: {};
2002
+ }>) => {
2003
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
2004
+ media: {};
2005
+ theme: {};
2006
+ themeMap: {};
2007
+ utils: {};
2008
+ }>;
1968
2009
  };
1969
2010
  }>>>, 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_components_primitive.PrimitiveProps<"button">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
1970
2011
  'border-widths': {
@@ -2451,8 +2492,18 @@ declare const StyledIconButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
2451
2492
  readonly [$$PropertyValue]: "width";
2452
2493
  };
2453
2494
  };
2454
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
2455
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
2495
+ _hover: (css: _stitches_react.CSS<{
2496
+ media: {};
2497
+ theme: {};
2498
+ themeMap: {};
2499
+ utils: {};
2500
+ }>) => {
2501
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
2502
+ media: {};
2503
+ theme: {};
2504
+ themeMap: {};
2505
+ utils: {};
2506
+ }>;
2456
2507
  };
2457
2508
  }>>>, 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"> & {
2458
2509
  href: string;
@@ -3052,8 +3103,18 @@ declare const IconButton: react__default.ForwardRefExoticComponent<(Omit<{
3052
3103
  readonly [$$PropertyValue]: "width";
3053
3104
  };
3054
3105
  };
3055
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
3056
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
3106
+ _hover: (css: _stitches_react.CSS<{
3107
+ media: {};
3108
+ theme: {};
3109
+ themeMap: {};
3110
+ utils: {};
3111
+ }>) => {
3112
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
3113
+ media: {};
3114
+ theme: {};
3115
+ themeMap: {};
3116
+ utils: {};
3117
+ }>;
3057
3118
  };
3058
3119
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<{
3059
3120
  /**
@@ -3592,8 +3653,18 @@ declare const IconButton: react__default.ForwardRefExoticComponent<(Omit<{
3592
3653
  readonly [$$PropertyValue]: "width";
3593
3654
  };
3594
3655
  };
3595
- _hover: (css: _stitches_react_types_css_util.CSSProperties) => {
3596
- '&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
3656
+ _hover: (css: _stitches_react.CSS<{
3657
+ media: {};
3658
+ theme: {};
3659
+ themeMap: {};
3660
+ utils: {};
3661
+ }>) => {
3662
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
3663
+ media: {};
3664
+ theme: {};
3665
+ themeMap: {};
3666
+ utils: {};
3667
+ }>;
3597
3668
  };
3598
3669
  }>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react__default.AnchorHTMLAttributes<"a"> & {
3599
3670
  href: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-icon-button",
3
- "version": "1.3.24-fix-dd-icon-slot.0",
3
+ "version": "1.3.24",
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-badge": "^0.3.28-fix-dd-icon-slot.0",
30
- "@mirohq/design-system-base-button": "^0.4.30-fix-dd-icon-slot.0",
31
- "@mirohq/design-system-tooltip": "^3.2.36-fix-dd-icon-slot.0",
32
- "@mirohq/design-system-stitches": "^2.5.1-fix-dd-icon-slot.0"
29
+ "@mirohq/design-system-badge": "^0.3.27",
30
+ "@mirohq/design-system-base-button": "^0.4.30",
31
+ "@mirohq/design-system-stitches": "^2.5.0",
32
+ "@mirohq/design-system-tooltip": "^3.2.35"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "rollup -c ../../../rollup.config.js",