@mirohq/design-system-button 3.1.28 → 3.1.30-fix-dd-icon-slot.0
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 +18 -0
- package/package.json +5 -5
package/dist/types.d.ts
CHANGED
|
@@ -493,6 +493,9 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
|
|
|
493
493
|
readonly [$$PropertyValue]: "width";
|
|
494
494
|
};
|
|
495
495
|
};
|
|
496
|
+
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
497
|
+
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
498
|
+
};
|
|
496
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<{}, {
|
|
497
500
|
'border-widths': {
|
|
498
501
|
readonly none: 0;
|
|
@@ -978,6 +981,9 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
|
|
|
978
981
|
readonly [$$PropertyValue]: "width";
|
|
979
982
|
};
|
|
980
983
|
};
|
|
984
|
+
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
985
|
+
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
986
|
+
};
|
|
981
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"> & {
|
|
982
988
|
href: string;
|
|
983
989
|
}, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
@@ -1465,6 +1471,9 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
|
|
|
1465
1471
|
readonly [$$PropertyValue]: "width";
|
|
1466
1472
|
};
|
|
1467
1473
|
};
|
|
1474
|
+
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
1475
|
+
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
1476
|
+
};
|
|
1468
1477
|
}>>>, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
|
|
1469
1478
|
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
1470
1479
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
@@ -1955,6 +1964,9 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
|
|
|
1955
1964
|
readonly [$$PropertyValue]: "width";
|
|
1956
1965
|
};
|
|
1957
1966
|
};
|
|
1967
|
+
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
1968
|
+
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
1969
|
+
};
|
|
1958
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<{}, {
|
|
1959
1971
|
'border-widths': {
|
|
1960
1972
|
readonly none: 0;
|
|
@@ -2440,6 +2452,9 @@ declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
|
|
|
2440
2452
|
readonly [$$PropertyValue]: "width";
|
|
2441
2453
|
};
|
|
2442
2454
|
};
|
|
2455
|
+
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
2456
|
+
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
2457
|
+
};
|
|
2443
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"> & {
|
|
2444
2459
|
href: string;
|
|
2445
2460
|
}, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {
|
|
@@ -2935,6 +2950,9 @@ declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit
|
|
|
2935
2950
|
readonly [$$PropertyValue]: "width";
|
|
2936
2951
|
};
|
|
2937
2952
|
};
|
|
2953
|
+
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
2954
|
+
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
2955
|
+
};
|
|
2938
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">>, {}, {}>;
|
|
2939
2957
|
declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
2940
2958
|
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.
|
|
3
|
+
"version": "3.1.30-fix-dd-icon-slot.0",
|
|
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.
|
|
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",
|
|
31
32
|
"@mirohq/design-system-primitive": "^1.1.1",
|
|
32
|
-
"@mirohq/design-system-
|
|
33
|
-
"@mirohq/design-system-
|
|
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",
|
|
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": {
|