@mirohq/design-system-tabs 1.1.4-fix-button-types.1 → 1.1.4
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 +4 -93
- package/package.json +5 -5
package/dist/types.d.ts
CHANGED
|
@@ -6,9 +6,7 @@ import * as _stitches_react_types_styled_component from '@stitches/react/types/s
|
|
|
6
6
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
7
7
|
import { StrictComponentProps } from '@mirohq/design-system-stitches';
|
|
8
8
|
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
9
|
-
import * as
|
|
10
|
-
import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-hooks/use-press';
|
|
11
|
-
import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
|
|
9
|
+
import * as _mirohq_design_system_base_button from '@mirohq/design-system-base-button';
|
|
12
10
|
|
|
13
11
|
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">>, {}, {}>;
|
|
14
12
|
type StyledIconSlotProps = react__default.ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
@@ -35,53 +33,10 @@ declare const List: react__default.ForwardRefExoticComponent<Omit<ListProps, "re
|
|
|
35
33
|
declare const StyledRoot: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixTabs.TabsProps & react.RefAttributes<HTMLDivElement>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixTabs.TabsProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
36
34
|
type StyledRootProps = StrictComponentProps<typeof StyledRoot>;
|
|
37
35
|
|
|
38
|
-
declare const TriggerStyled: react.ForwardRefExoticComponent<
|
|
39
|
-
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;
|
|
40
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
41
|
-
href?: never;
|
|
42
|
-
}, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
43
|
-
ref?: ((instance: HTMLAnchorElement | 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<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
44
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
45
|
-
children?: React.ReactNode;
|
|
46
|
-
}, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
36
|
+
declare const TriggerStyled: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<Omit<_mirohq_design_system_base_button.BaseButtonProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
47
37
|
variant?: "buttons" | "tabs" | undefined;
|
|
48
38
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
49
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> |
|
|
50
|
-
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;
|
|
51
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
52
|
-
href?: never;
|
|
53
|
-
}, "href"> & {
|
|
54
|
-
media?: string | undefined | undefined;
|
|
55
|
-
download?: any;
|
|
56
|
-
href?: string | undefined | undefined;
|
|
57
|
-
target?: react.HTMLAttributeAnchorTarget | undefined;
|
|
58
|
-
ping?: string | undefined | undefined;
|
|
59
|
-
} & {
|
|
60
|
-
href: string;
|
|
61
|
-
}, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
62
|
-
ref?: ((instance: HTMLAnchorElement | 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<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
63
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
64
|
-
children?: React.ReactNode;
|
|
65
|
-
}, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
66
|
-
variant?: "buttons" | "tabs" | undefined;
|
|
67
|
-
size?: "medium" | "large" | "x-large" | undefined;
|
|
68
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & _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"> & {
|
|
69
|
-
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;
|
|
70
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
71
|
-
href?: never;
|
|
72
|
-
}, "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"> & {
|
|
73
|
-
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;
|
|
74
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
75
|
-
href?: never;
|
|
76
|
-
}, "href"> & {
|
|
77
|
-
media?: string | undefined | undefined;
|
|
78
|
-
download?: any;
|
|
79
|
-
href?: string | undefined | undefined;
|
|
80
|
-
target?: react.HTMLAttributeAnchorTarget | undefined;
|
|
81
|
-
ping?: string | undefined | undefined;
|
|
82
|
-
} & {
|
|
83
|
-
href: string;
|
|
84
|
-
}, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
|
|
39
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<Omit<_mirohq_design_system_base_button.BaseButtonProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
|
|
85
40
|
variant?: "buttons" | "tabs" | undefined;
|
|
86
41
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
87
42
|
}, {}>;
|
|
@@ -93,51 +48,7 @@ type TriggerProps = StyledTriggerProps & {
|
|
|
93
48
|
*/
|
|
94
49
|
value: string;
|
|
95
50
|
};
|
|
96
|
-
declare const Trigger: react__default.ForwardRefExoticComponent<
|
|
97
|
-
ref?: ((instance: HTMLButtonElement | null) => void | react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react__default.RefObject<HTMLButtonElement> | null | undefined;
|
|
98
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
99
|
-
href?: never;
|
|
100
|
-
}, "ref"> & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
101
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react__default.RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
102
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
103
|
-
children?: react__default.ReactNode;
|
|
104
|
-
}, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
105
|
-
variant?: "buttons" | "tabs" | undefined;
|
|
106
|
-
size?: "medium" | "large" | "x-large" | undefined;
|
|
107
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
108
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react__default.RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
109
|
-
} & {
|
|
110
|
-
/**
|
|
111
|
-
* A unique value that associates the trigger with a content.
|
|
112
|
-
*/
|
|
113
|
-
value: string;
|
|
114
|
-
}, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<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>, "ref"> & {
|
|
115
|
-
ref?: ((instance: HTMLButtonElement | null) => void | react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react__default.RefObject<HTMLButtonElement> | null | undefined;
|
|
116
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
117
|
-
href?: never;
|
|
118
|
-
}, "href"> & {
|
|
119
|
-
media?: string | undefined | undefined;
|
|
120
|
-
download?: any;
|
|
121
|
-
href?: string | undefined | undefined;
|
|
122
|
-
target?: react__default.HTMLAttributeAnchorTarget | undefined;
|
|
123
|
-
ping?: string | undefined | undefined;
|
|
124
|
-
} & {
|
|
125
|
-
href: string;
|
|
126
|
-
}, "ref"> & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
127
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react__default.RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
128
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
129
|
-
children?: react__default.ReactNode;
|
|
130
|
-
}, "size" | "variant"> & _stitches_react_types_styled_component.TransformProps<{
|
|
131
|
-
variant?: "buttons" | "tabs" | undefined;
|
|
132
|
-
size?: "medium" | "large" | "x-large" | undefined;
|
|
133
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
134
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react__default.RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
135
|
-
} & {
|
|
136
|
-
/**
|
|
137
|
-
* A unique value that associates the trigger with a content.
|
|
138
|
-
*/
|
|
139
|
-
value: string;
|
|
140
|
-
}, "ref">) & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
51
|
+
declare const Trigger: react__default.ForwardRefExoticComponent<Omit<TriggerProps, "ref"> & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
141
52
|
|
|
142
53
|
interface TabsProps extends Omit<StyledRootProps, 'onValueChange' | 'onChange'> {
|
|
143
54
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-tabs",
|
|
3
|
-
"version": "1.1.4
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@radix-ui/react-tabs": "^1.0.0",
|
|
30
|
-
"@mirohq/design-system-base-button": "^1.1.3
|
|
31
|
-
"@mirohq/design-system-base-icon": "^1.1.0",
|
|
32
|
-
"@mirohq/design-system-primitive": "^2.1.0",
|
|
30
|
+
"@mirohq/design-system-base-button": "^1.1.3",
|
|
33
31
|
"@mirohq/design-system-stitches": "^3.1.2",
|
|
32
|
+
"@mirohq/design-system-primitive": "^2.1.0",
|
|
34
33
|
"@mirohq/design-system-styles": "^3.0.1",
|
|
35
|
-
"@mirohq/design-system-utils": "^1.2.1"
|
|
34
|
+
"@mirohq/design-system-utils": "^1.2.1",
|
|
35
|
+
"@mirohq/design-system-base-icon": "^1.1.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "rollup -c ../../../rollup.config.js",
|