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