@mirohq/design-system-icon-button 4.1.4 → 4.1.5-fix-button-types.1
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 +25 -5
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -10,16 +10,26 @@ import * as _mirohq_design_system_components_primitive from '@mirohq/design-syst
|
|
|
10
10
|
|
|
11
11
|
declare const StyledIconButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
12
12
|
ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
13
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents
|
|
13
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
14
|
+
href?: never;
|
|
15
|
+
}, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>, "ref"> & {
|
|
14
16
|
ref?: ((instance: HTMLButtonElement | HTMLAnchorElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement | HTMLAnchorElement> | null | undefined;
|
|
15
17
|
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
16
18
|
children?: React.ReactNode;
|
|
17
19
|
}, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
18
20
|
variant?: "outline" | "primary" | "secondary" | "ghost" | "danger" | undefined;
|
|
19
21
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
20
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
22
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
21
23
|
ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
22
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents &
|
|
24
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
25
|
+
href?: never;
|
|
26
|
+
}, "href"> & {
|
|
27
|
+
target?: react.HTMLAttributeAnchorTarget | undefined;
|
|
28
|
+
media?: string | undefined | undefined;
|
|
29
|
+
href?: string | undefined | undefined;
|
|
30
|
+
download?: any;
|
|
31
|
+
ping?: string | undefined | undefined;
|
|
32
|
+
} & {
|
|
23
33
|
href: string;
|
|
24
34
|
}, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>, "ref"> & {
|
|
25
35
|
ref?: ((instance: HTMLButtonElement | HTMLAnchorElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement | HTMLAnchorElement> | null | undefined;
|
|
@@ -30,9 +40,19 @@ declare const StyledIconButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<
|
|
|
30
40
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
31
41
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
32
42
|
ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
33
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents
|
|
43
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
44
|
+
href?: never;
|
|
45
|
+
}, "ref"> | Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
34
46
|
ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
35
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents &
|
|
47
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
48
|
+
href?: never;
|
|
49
|
+
}, "href"> & {
|
|
50
|
+
target?: react.HTMLAttributeAnchorTarget | undefined;
|
|
51
|
+
media?: string | undefined | undefined;
|
|
52
|
+
href?: string | undefined | undefined;
|
|
53
|
+
download?: any;
|
|
54
|
+
ping?: string | undefined | undefined;
|
|
55
|
+
} & {
|
|
36
56
|
href: string;
|
|
37
57
|
}, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {
|
|
38
58
|
variant?: "outline" | "primary" | "secondary" | "ghost" | "danger" | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-icon-button",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5-fix-button-types.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@mirohq/design-system-badge": "^1.1.3",
|
|
30
|
-
"@mirohq/design-system-base-button": "^1.1.
|
|
30
|
+
"@mirohq/design-system-base-button": "^1.1.3-fix-button-types.1",
|
|
31
31
|
"@mirohq/design-system-base-icon": "^1.1.0",
|
|
32
32
|
"@mirohq/design-system-stitches": "^3.1.2",
|
|
33
33
|
"@mirohq/design-system-styles": "^3.0.1",
|