@mirohq/design-system-base-input 1.2.3-fix-button-types.1 → 1.2.3-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.
Files changed (2) hide show
  1. package/dist/types.d.ts +6 -113
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -5,8 +5,8 @@ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches'
5
5
  import { SafeProps, CSS } from '@mirohq/design-system-stitches';
6
6
  import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
7
7
  import { FormElementProps } from '@mirohq/design-system-base-form';
8
- import * as packages_components_internal_base_button_src_base_button from 'packages/components/internal/base-button/src/base-button';
9
- import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-hooks/use-press';
8
+ import * as _mirohq_design_system_components_internal_base_button from '@mirohq/design-system-components/internal/base-button';
9
+ import * as _mirohq_design_system_base_button from '@mirohq/design-system-base-button';
10
10
  import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
11
11
 
12
12
  declare const StyledBaseInput: React$1.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<"div">, "size" | "disabled" | "readOnly" | "ariaDisabled" | "variant" | "hovered" | "active" | "focused" | "valid"> & _stitches_react_types_styled_component.TransformProps<{
@@ -60,53 +60,10 @@ interface InputProviderProps extends InputProps$1 {
60
60
  }
61
61
  declare const useInputContext: () => InputContextProps;
62
62
 
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
- 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 & {
66
- href?: never;
67
- }, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
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;
69
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
70
- children?: React.ReactNode;
71
- }, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
72
- readOnlyAppearance?: boolean | "true" | undefined;
73
- disableAppearance?: boolean | "true" | undefined;
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"> & {
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;
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
- } & {
85
- href: string;
86
- }, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
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;
88
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
89
- children?: React.ReactNode;
90
- }, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
63
+ declare const StyledActionButton: React$1.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<Omit<_mirohq_design_system_base_button.BaseButtonProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
91
64
  readOnlyAppearance?: boolean | "true" | undefined;
92
65
  disableAppearance?: boolean | "true" | undefined;
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"> & {
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;
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"> & {
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;
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
- } & {
108
- href: string;
109
- }, "ref">) & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
66
+ }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<React$1.ForwardRefExoticComponent<Omit<_mirohq_design_system_base_button.BaseButtonProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
110
67
  readOnlyAppearance?: boolean | "true" | undefined;
111
68
  disableAppearance?: boolean | "true" | undefined;
112
69
  }, {}>;
@@ -119,55 +76,7 @@ type ActionButtonProps = StyledActionButtonProps & ({
119
76
  label?: never;
120
77
  'aria-label': string;
121
78
  });
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"> & {
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;
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"> & {
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
- }, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
131
- readOnlyAppearance?: boolean | "true" | undefined;
132
- disableAppearance?: boolean | "true" | 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
- label: string;
137
- 'aria-label'?: string;
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"> & {
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;
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"> & {
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;
144
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
145
- children?: React__default.ReactNode;
146
- }, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
147
- readOnlyAppearance?: boolean | "true" | undefined;
148
- disableAppearance?: boolean | "true" | undefined;
149
- }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
150
- 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;
151
- } & {
152
- label?: never;
153
- 'aria-label': string;
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"> & {
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;
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
- } & {
165
- href: string;
166
- }, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
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;
168
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
169
- children?: React__default.ReactNode;
170
- }, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
79
+ declare const ActionButton: React__default.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React__default.ForwardRefExoticComponent<Omit<_mirohq_design_system_components_internal_base_button.BaseButtonProps, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
171
80
  readOnlyAppearance?: boolean | "true" | undefined;
172
81
  disableAppearance?: boolean | "true" | undefined;
173
82
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
@@ -175,23 +84,7 @@ declare const ActionButton: React__default.ForwardRefExoticComponent<(Omit<Omit<
175
84
  } & {
176
85
  label: string;
177
86
  'aria-label'?: string;
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"> & {
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;
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
- } & {
189
- href: string;
190
- }, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
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;
192
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
193
- children?: React__default.ReactNode;
194
- }, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
87
+ }, "ref"> | Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React__default.ForwardRefExoticComponent<Omit<_mirohq_design_system_components_internal_base_button.BaseButtonProps, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>>, "readOnlyAppearance" | "disableAppearance"> & _stitches_react_types_styled_component.TransformProps<{
195
88
  readOnlyAppearance?: boolean | "true" | undefined;
196
89
  disableAppearance?: boolean | "true" | undefined;
197
90
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-base-input",
3
- "version": "1.2.3-fix-button-types.1",
3
+ "version": "1.2.3-fix-button-types.2",
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.3-fix-button-types.1",
31
+ "@mirohq/design-system-base-button": "^1.1.3-fix-button-types.2",
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",