@mirohq/design-system-button 3.1.28 → 3.1.29

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 +79 -0
  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,6 +494,19 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
493
494
  readonly [$$PropertyValue]: "width";
494
495
  };
495
496
  };
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
+ }>;
509
+ };
496
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<{}, {
497
511
  'border-widths': {
498
512
  readonly none: 0;
@@ -978,6 +992,19 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
978
992
  readonly [$$PropertyValue]: "width";
979
993
  };
980
994
  };
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
+ }>;
1007
+ };
981
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"> & {
982
1009
  href: string;
983
1010
  }, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
@@ -1465,6 +1492,19 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
1465
1492
  readonly [$$PropertyValue]: "width";
1466
1493
  };
1467
1494
  };
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
+ }>;
1507
+ };
1468
1508
  }>>>, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
1469
1509
  variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
1470
1510
  size?: "small" | "medium" | "large" | "x-large" | undefined;
@@ -1955,6 +1995,19 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
1955
1995
  readonly [$$PropertyValue]: "width";
1956
1996
  };
1957
1997
  };
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
+ }>;
2010
+ };
1958
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<{}, {
1959
2012
  'border-widths': {
1960
2013
  readonly none: 0;
@@ -2440,6 +2493,19 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
2440
2493
  readonly [$$PropertyValue]: "width";
2441
2494
  };
2442
2495
  };
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
+ }>;
2508
+ };
2443
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"> & {
2444
2510
  href: string;
2445
2511
  }, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {
@@ -2935,6 +3001,19 @@ declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit
2935
3001
  readonly [$$PropertyValue]: "width";
2936
3002
  };
2937
3003
  };
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
+ }>;
3016
+ };
2938
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">>, {}, {}>;
2939
3018
  declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
2940
3019
  interface IconSlotProps extends StyledIconSlotProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-button",
3
- "version": "3.1.28",
3
+ "version": "3.1.29",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@react-aria/utils": "^3.13.0",
30
- "@mirohq/design-system-base-button": "^0.4.28",
30
+ "@mirohq/design-system-base-button": "^0.4.29",
31
31
  "@mirohq/design-system-primitive": "^1.1.1",
32
- "@mirohq/design-system-spinner": "^1.1.30",
33
- "@mirohq/design-system-stitches": "^2.4.1",
32
+ "@mirohq/design-system-spinner": "^1.1.31",
33
+ "@mirohq/design-system-styles": "^1.1.17",
34
+ "@mirohq/design-system-stitches": "^2.5.0",
34
35
  "@mirohq/design-system-types": "^0.6.2",
35
- "@mirohq/design-system-styles": "^1.1.16",
36
36
  "@mirohq/design-system-utils": "^0.14.3"
37
37
  },
38
38
  "devDependencies": {