@mirohq/design-system-input 1.3.5-fix-button-types.0 → 1.3.5-fix-button-types.2
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 +3 -72
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ import * as react from 'react';
|
|
|
2
2
|
import react__default, { HTMLProps, RefAttributes, ElementRef, ForwardRefExoticComponent } from 'react';
|
|
3
3
|
import { PressEvent } from '@mirohq/design-system-use-press';
|
|
4
4
|
import { BaseInputSharedProps, BaseInputActionButtonProps, BaseInputIconSlotProps } from '@mirohq/design-system-base-input';
|
|
5
|
-
import * as packages_components_internal_base_button_src_base_button from 'packages/components/internal/base-button/src/base-button';
|
|
6
|
-
import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-hooks/use-press';
|
|
7
5
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
8
6
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
7
|
+
import * as _mirohq_design_system_components_internal_base_button from '@mirohq/design-system-components/internal/base-button';
|
|
9
8
|
import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
|
|
10
9
|
|
|
11
10
|
type Value = HTMLProps<'input'>['value'];
|
|
@@ -32,57 +31,7 @@ type ClearableInputProps = BaseInputSharedProps & ({
|
|
|
32
31
|
} | ClearProps);
|
|
33
32
|
|
|
34
33
|
type ActionButtonProps = BaseInputActionButtonProps;
|
|
35
|
-
declare const ActionButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<
|
|
36
|
-
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;
|
|
37
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
38
|
-
href?: never;
|
|
39
|
-
}, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
40
|
-
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;
|
|
41
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
}, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
|
|
44
|
-
readOnlyAppearance?: boolean | "true" | undefined;
|
|
45
|
-
disableAppearance?: boolean | "true" | undefined;
|
|
46
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
47
|
-
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;
|
|
48
|
-
} & {
|
|
49
|
-
label: string;
|
|
50
|
-
'aria-label'?: string;
|
|
51
|
-
}, "ref"> | Omit<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"> & {
|
|
52
|
-
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;
|
|
53
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
54
|
-
href?: never;
|
|
55
|
-
}, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
56
|
-
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;
|
|
57
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
58
|
-
children?: React.ReactNode;
|
|
59
|
-
}, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
|
|
60
|
-
readOnlyAppearance?: boolean | "true" | undefined;
|
|
61
|
-
disableAppearance?: boolean | "true" | undefined;
|
|
62
|
-
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
63
|
-
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;
|
|
64
|
-
} & {
|
|
65
|
-
label?: never;
|
|
66
|
-
'aria-label': string;
|
|
67
|
-
}, "ref"> | Omit<Omit<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"> & {
|
|
68
|
-
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;
|
|
69
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
70
|
-
href?: never;
|
|
71
|
-
}, "href"> & {
|
|
72
|
-
href?: string | undefined | undefined;
|
|
73
|
-
target?: react.HTMLAttributeAnchorTarget | undefined;
|
|
74
|
-
type?: string | undefined | undefined;
|
|
75
|
-
download?: any;
|
|
76
|
-
hrefLang?: string | undefined | undefined;
|
|
77
|
-
media?: string | undefined | undefined;
|
|
78
|
-
ping?: string | undefined | undefined;
|
|
79
|
-
} & {
|
|
80
|
-
href: string;
|
|
81
|
-
}, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
82
|
-
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;
|
|
83
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
84
|
-
children?: React.ReactNode;
|
|
85
|
-
}, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
|
|
34
|
+
declare const ActionButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<Omit<_mirohq_design_system_components_internal_base_button.BaseButtonProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
|
|
86
35
|
readOnlyAppearance?: boolean | "true" | undefined;
|
|
87
36
|
disableAppearance?: boolean | "true" | undefined;
|
|
88
37
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
@@ -90,25 +39,7 @@ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit
|
|
|
90
39
|
} & {
|
|
91
40
|
label: string;
|
|
92
41
|
'aria-label'?: string;
|
|
93
|
-
}, "ref"> | Omit<Omit<Omit<Omit<
|
|
94
|
-
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;
|
|
95
|
-
} & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & {
|
|
96
|
-
href?: never;
|
|
97
|
-
}, "href"> & {
|
|
98
|
-
href?: string | undefined | undefined;
|
|
99
|
-
target?: react.HTMLAttributeAnchorTarget | undefined;
|
|
100
|
-
type?: string | undefined | undefined;
|
|
101
|
-
download?: any;
|
|
102
|
-
hrefLang?: string | undefined | undefined;
|
|
103
|
-
media?: string | undefined | undefined;
|
|
104
|
-
ping?: string | undefined | undefined;
|
|
105
|
-
} & {
|
|
106
|
-
href: string;
|
|
107
|
-
}, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
|
108
|
-
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;
|
|
109
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
110
|
-
children?: React.ReactNode;
|
|
111
|
-
}, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
|
|
42
|
+
}, "ref"> | Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<Omit<_mirohq_design_system_components_internal_base_button.BaseButtonProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
|
|
112
43
|
readOnlyAppearance?: boolean | "true" | undefined;
|
|
113
44
|
disableAppearance?: boolean | "true" | undefined;
|
|
114
45
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-input",
|
|
3
|
-
"version": "1.3.5-fix-button-types.
|
|
3
|
+
"version": "1.3.5-fix-button-types.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@mirohq/design-system-base-form": "^1.1.3",
|
|
30
|
+
"@mirohq/design-system-base-input": "^1.2.3-fix-button-types.2",
|
|
30
31
|
"@mirohq/design-system-icons": "^1.27.0",
|
|
31
|
-
"@mirohq/design-system-base-input": "^1.2.3-fix-button-types.0",
|
|
32
32
|
"@mirohq/design-system-use-press": "^1.1.1",
|
|
33
33
|
"@mirohq/design-system-utils": "^1.2.1"
|
|
34
34
|
},
|