@mirohq/design-system-icon-button 2.1.19 → 2.1.20
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 +8 -43
- package/package.json +9 -9
package/dist/types.d.ts
CHANGED
|
@@ -2,47 +2,24 @@ import * as packages_components_internal_base_button_src_base_button from 'packa
|
|
|
2
2
|
import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-hooks/use-press';
|
|
3
3
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
4
4
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
5
|
+
import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
|
|
5
6
|
import * as react from 'react';
|
|
6
7
|
import react__default, { ComponentPropsWithRef } from 'react';
|
|
7
8
|
import { BaseButtonProps } from '@mirohq/design-system-base-button';
|
|
8
9
|
|
|
9
|
-
declare const StyledIconButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<react.
|
|
10
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
asChild?: boolean | undefined;
|
|
13
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
10
|
+
declare const StyledIconButton: react.ForwardRefExoticComponent<(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> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
14
11
|
children?: react.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
children?: react.ReactNode;
|
|
17
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
12
|
+
}, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
18
13
|
variant?: "outline" | "solid-prominent" | "solid-subtle" | "ghost" | undefined;
|
|
19
14
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
20
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<react.
|
|
21
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
22
|
-
} & {
|
|
23
|
-
asChild?: boolean | undefined;
|
|
24
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
25
|
-
children?: react.ReactNode;
|
|
26
|
-
} & _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"> & {
|
|
15
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | 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> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
|
|
27
16
|
href: string;
|
|
28
17
|
}, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
29
18
|
children?: react.ReactNode;
|
|
30
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
19
|
+
}, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
31
20
|
variant?: "outline" | "solid-prominent" | "solid-subtle" | "ghost" | undefined;
|
|
32
21
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
33
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(Omit<Omit<Omit<
|
|
34
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
35
|
-
} & {
|
|
36
|
-
asChild?: boolean | undefined;
|
|
37
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
38
|
-
children?: react.ReactNode;
|
|
39
|
-
} & _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<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
40
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
41
|
-
} & {
|
|
42
|
-
asChild?: boolean | undefined;
|
|
43
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
44
|
-
children?: react.ReactNode;
|
|
45
|
-
} & _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"> & {
|
|
22
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(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> & _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<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> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
|
|
46
23
|
href: string;
|
|
47
24
|
}, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {
|
|
48
25
|
variant?: "outline" | "solid-prominent" | "solid-subtle" | "ghost" | undefined;
|
|
@@ -107,13 +84,7 @@ declare const IconButton: react__default.ForwardRefExoticComponent<(Omit<{
|
|
|
107
84
|
* Badge label used to make Badge recognizable by the screen readers.
|
|
108
85
|
*/
|
|
109
86
|
badgeAriaLabel?: string | undefined;
|
|
110
|
-
} & Omit<Omit<
|
|
111
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react__default.RefObject<HTMLButtonElement> | null | undefined;
|
|
112
|
-
} & {
|
|
113
|
-
asChild?: boolean | undefined;
|
|
114
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
115
|
-
children?: react__default.ReactNode;
|
|
116
|
-
} & _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<{
|
|
87
|
+
} & Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react__default.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, 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<{
|
|
117
88
|
/**
|
|
118
89
|
* Icon button label used to provide a description.
|
|
119
90
|
*/
|
|
@@ -141,13 +112,7 @@ declare const IconButton: react__default.ForwardRefExoticComponent<(Omit<{
|
|
|
141
112
|
* Badge label used to make Badge recognizable by the screen readers.
|
|
142
113
|
*/
|
|
143
114
|
badgeAriaLabel?: string | undefined;
|
|
144
|
-
} & Omit<Omit<
|
|
145
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react__default.RefObject<HTMLButtonElement> | null | undefined;
|
|
146
|
-
} & {
|
|
147
|
-
asChild?: boolean | undefined;
|
|
148
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
149
|
-
children?: react__default.ReactNode;
|
|
150
|
-
} & _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"> & {
|
|
115
|
+
} & Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react__default.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, 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"> & {
|
|
151
116
|
href: string;
|
|
152
117
|
}, "ref">) & react__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
153
118
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-icon-button",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"react": "^16.14 || ^17 || ^18"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@mirohq/design-system-
|
|
30
|
-
"@mirohq/design-system-
|
|
31
|
-
"@mirohq/design-system-base-icon": "^0.1.
|
|
32
|
-
"@mirohq/design-system-
|
|
33
|
-
"@mirohq/design-system-
|
|
34
|
-
"@mirohq/design-system-tooltip": "^3.3.
|
|
35
|
-
"@mirohq/design-system-
|
|
36
|
-
"@mirohq/design-system-
|
|
29
|
+
"@mirohq/design-system-badge": "^0.3.38",
|
|
30
|
+
"@mirohq/design-system-base-button": "^0.4.44",
|
|
31
|
+
"@mirohq/design-system-base-icon": "^0.1.29",
|
|
32
|
+
"@mirohq/design-system-styles": "^1.2.7",
|
|
33
|
+
"@mirohq/design-system-stitches": "^2.6.8",
|
|
34
|
+
"@mirohq/design-system-tooltip": "^3.3.14",
|
|
35
|
+
"@mirohq/design-system-utils": "^0.15.3",
|
|
36
|
+
"@mirohq/design-system-use-id": "^0.1.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "rollup -c ../../../rollup.config.js",
|