@mirohq/design-system-base-input 1.2.2 → 1.2.3-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 +51 -11
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -62,16 +62,26 @@ declare const useInputContext: () => InputContextProps;
|
|
|
62
62
|
|
|
63
63
|
declare const StyledActionButton: React$1.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
64
64
|
ref?: ((instance: HTMLButtonElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLButtonElement> | null | undefined;
|
|
65
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents
|
|
65
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
66
|
+
href?: never;
|
|
67
|
+
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
66
68
|
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
67
69
|
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
68
70
|
children?: React.ReactNode;
|
|
69
71
|
}, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
|
|
70
72
|
readOnlyAppearance?: boolean | "true" | undefined;
|
|
71
73
|
disableAppearance?: boolean | "true" | undefined;
|
|
72
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
74
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
73
75
|
ref?: ((instance: HTMLButtonElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLButtonElement> | null | undefined;
|
|
74
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents &
|
|
76
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
77
|
+
href?: never;
|
|
78
|
+
}, "href"> & {
|
|
79
|
+
href?: string | undefined | undefined;
|
|
80
|
+
target?: React$1.HTMLAttributeAnchorTarget | undefined;
|
|
81
|
+
download?: any;
|
|
82
|
+
media?: string | undefined | undefined;
|
|
83
|
+
ping?: string | undefined | undefined;
|
|
84
|
+
} & {
|
|
75
85
|
href: string;
|
|
76
86
|
}, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
77
87
|
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
|
@@ -82,9 +92,19 @@ declare const StyledActionButton: React$1.ForwardRefExoticComponent<(Omit<Omit<O
|
|
|
82
92
|
disableAppearance?: boolean | "true" | undefined;
|
|
83
93
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<React$1.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
84
94
|
ref?: ((instance: HTMLButtonElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLButtonElement> | null | undefined;
|
|
85
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents
|
|
95
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
96
|
+
href?: never;
|
|
97
|
+
}, "ref"> | Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
86
98
|
ref?: ((instance: HTMLButtonElement | null) => void | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$1.RefObject<HTMLButtonElement> | null | undefined;
|
|
87
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents &
|
|
99
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
100
|
+
href?: never;
|
|
101
|
+
}, "href"> & {
|
|
102
|
+
href?: string | undefined | undefined;
|
|
103
|
+
target?: React$1.HTMLAttributeAnchorTarget | undefined;
|
|
104
|
+
download?: any;
|
|
105
|
+
media?: string | undefined | undefined;
|
|
106
|
+
ping?: string | undefined | undefined;
|
|
107
|
+
} & {
|
|
88
108
|
href: string;
|
|
89
109
|
}, "ref">) & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
|
|
90
110
|
readOnlyAppearance?: boolean | "true" | undefined;
|
|
@@ -101,7 +121,9 @@ type ActionButtonProps = StyledActionButtonProps & ({
|
|
|
101
121
|
});
|
|
102
122
|
declare const ActionButton: React__default.ForwardRefExoticComponent<(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"> & {
|
|
103
123
|
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;
|
|
104
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents
|
|
124
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
125
|
+
href?: never;
|
|
126
|
+
}, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
105
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;
|
|
106
128
|
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
107
129
|
children?: React__default.ReactNode;
|
|
@@ -115,7 +137,9 @@ declare const ActionButton: React__default.ForwardRefExoticComponent<(Omit<Omit<
|
|
|
115
137
|
'aria-label'?: string;
|
|
116
138
|
}, "ref"> | 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"> & {
|
|
117
139
|
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;
|
|
118
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents
|
|
140
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
141
|
+
href?: never;
|
|
142
|
+
}, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
119
143
|
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;
|
|
120
144
|
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
121
145
|
children?: React__default.ReactNode;
|
|
@@ -127,9 +151,17 @@ declare const ActionButton: React__default.ForwardRefExoticComponent<(Omit<Omit<
|
|
|
127
151
|
} & {
|
|
128
152
|
label?: never;
|
|
129
153
|
'aria-label': string;
|
|
130
|
-
}, "ref"> | 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"> & {
|
|
154
|
+
}, "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"> & {
|
|
131
155
|
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;
|
|
132
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents &
|
|
156
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
157
|
+
href?: never;
|
|
158
|
+
}, "href"> & {
|
|
159
|
+
href?: string | undefined | undefined;
|
|
160
|
+
target?: React__default.HTMLAttributeAnchorTarget | undefined;
|
|
161
|
+
download?: any;
|
|
162
|
+
media?: string | undefined | undefined;
|
|
163
|
+
ping?: string | undefined | undefined;
|
|
164
|
+
} & {
|
|
133
165
|
href: string;
|
|
134
166
|
}, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
135
167
|
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;
|
|
@@ -143,9 +175,17 @@ declare const ActionButton: React__default.ForwardRefExoticComponent<(Omit<Omit<
|
|
|
143
175
|
} & {
|
|
144
176
|
label: string;
|
|
145
177
|
'aria-label'?: string;
|
|
146
|
-
}, "ref"> | 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"> & {
|
|
178
|
+
}, "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"> & {
|
|
147
179
|
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;
|
|
148
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents &
|
|
180
|
+
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
181
|
+
href?: never;
|
|
182
|
+
}, "href"> & {
|
|
183
|
+
href?: string | undefined | undefined;
|
|
184
|
+
target?: React__default.HTMLAttributeAnchorTarget | undefined;
|
|
185
|
+
download?: any;
|
|
186
|
+
media?: string | undefined | undefined;
|
|
187
|
+
ping?: string | undefined | undefined;
|
|
188
|
+
} & {
|
|
149
189
|
href: string;
|
|
150
190
|
}, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
151
191
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-base-input",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3-fix-button-types.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@react-aria/interactions": "^3.13.0",
|
|
30
30
|
"@react-aria/utils": "^3.31.0",
|
|
31
|
-
"@mirohq/design-system-base-button": "^1.1.
|
|
31
|
+
"@mirohq/design-system-base-button": "^1.1.3-fix-button-types.1",
|
|
32
32
|
"@mirohq/design-system-base-form": "^1.1.3",
|
|
33
33
|
"@mirohq/design-system-base-icon": "^1.1.0",
|
|
34
34
|
"@mirohq/design-system-base-text-field": "^1.2.1",
|