@mirohq/design-system-button 3.1.45 → 3.1.47-combobox.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 +6 -36
- package/package.json +8 -8
package/dist/types.d.ts
CHANGED
|
@@ -7,47 +7,23 @@ import * as _stitches_react_types_styled_component from '@stitches/react/types/s
|
|
|
7
7
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
8
8
|
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
9
9
|
|
|
10
|
-
declare const StyledButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<react.
|
|
11
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
12
|
-
} & {
|
|
13
|
-
asChild?: boolean | undefined;
|
|
14
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
10
|
+
declare const StyledButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_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> & {
|
|
15
11
|
children?: react.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
children?: react.ReactNode;
|
|
18
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
12
|
+
}, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
|
|
19
13
|
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
20
14
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
21
15
|
rounded?: boolean | "true" | undefined;
|
|
22
16
|
fluid?: boolean | "true" | undefined;
|
|
23
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<react.
|
|
24
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
25
|
-
} & {
|
|
26
|
-
asChild?: boolean | undefined;
|
|
27
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
28
|
-
children?: react.ReactNode;
|
|
29
|
-
} & _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"> & {
|
|
17
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_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"> & {
|
|
30
18
|
href: string;
|
|
31
19
|
}, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
32
20
|
children?: react.ReactNode;
|
|
33
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
21
|
+
}, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
|
|
34
22
|
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
35
23
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
36
24
|
rounded?: boolean | "true" | undefined;
|
|
37
25
|
fluid?: boolean | "true" | undefined;
|
|
38
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(Omit<Omit<Omit<
|
|
39
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
40
|
-
} & {
|
|
41
|
-
asChild?: boolean | undefined;
|
|
42
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
43
|
-
children?: react.ReactNode;
|
|
44
|
-
} & _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"> & {
|
|
45
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
46
|
-
} & {
|
|
47
|
-
asChild?: boolean | undefined;
|
|
48
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
49
|
-
children?: react.ReactNode;
|
|
50
|
-
} & _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"> & {
|
|
26
|
+
}, {}> & _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_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_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"> & {
|
|
51
27
|
href: string;
|
|
52
28
|
}, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {
|
|
53
29
|
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
@@ -57,13 +33,7 @@ declare const StyledButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit
|
|
|
57
33
|
}, {}>;
|
|
58
34
|
declare type StyledButtonProps = ComponentPropsWithRef<typeof StyledButton>;
|
|
59
35
|
|
|
60
|
-
declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<
|
|
61
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react__default.RefObject<HTMLDivElement> | null | undefined;
|
|
62
|
-
} & {
|
|
63
|
-
asChild?: boolean | undefined;
|
|
64
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
65
|
-
children?: react__default.ReactNode;
|
|
66
|
-
} & _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">>, {}, {}>;
|
|
36
|
+
declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, 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">>, {}, {}>;
|
|
67
37
|
declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
68
38
|
interface IconSlotProps extends StyledIconSlotProps {
|
|
69
39
|
/**
|
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.47-combobox.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -27,14 +27,14 @@
|
|
|
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.44",
|
|
31
|
+
"@mirohq/design-system-base-icon": "^0.1.29",
|
|
31
32
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
32
|
-
"@mirohq/design-system-spinner": "^1.1.
|
|
33
|
-
"@mirohq/design-system-styles": "^1.2.
|
|
34
|
-
"@mirohq/design-system-
|
|
35
|
-
"@mirohq/design-system-types": "^0.
|
|
36
|
-
"@mirohq/design-system-
|
|
37
|
-
"@mirohq/design-system-base-icon": "^0.1.28"
|
|
33
|
+
"@mirohq/design-system-spinner": "^1.1.42",
|
|
34
|
+
"@mirohq/design-system-styles": "^1.2.8-combobox.0",
|
|
35
|
+
"@mirohq/design-system-utils": "^0.15.3",
|
|
36
|
+
"@mirohq/design-system-types": "^0.9.0",
|
|
37
|
+
"@mirohq/design-system-stitches": "^2.6.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/lodash.capitalize": "^4.2.7",
|