@mirohq/design-system-base-input 1.3.0-fix-stitches-types.0 → 1.3.0-fix-stitches-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 +20 -20
- package/package.json +10 -10
package/dist/types.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches'
|
|
|
4
4
|
import { SafeProps, CSS } from '@mirohq/design-system-stitches';
|
|
5
5
|
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
6
6
|
import { FormElementProps } from '@mirohq/design-system-base-form';
|
|
7
|
-
import * as _mirohq_design_system_components_internal_base_button from '@mirohq/design-system-
|
|
7
|
+
import * as _mirohq_design_system_components_internal_base_button from '@mirohq/design-system-base-button';
|
|
8
8
|
import * as _mirohq_design_system_base_button from '@mirohq/design-system-base-button';
|
|
9
|
-
import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-
|
|
9
|
+
import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-primitive';
|
|
10
10
|
|
|
11
11
|
/* Utilities */
|
|
12
12
|
/* ========================================================================== */
|
|
@@ -28,25 +28,25 @@ type TransformProps<Props, Media> = {
|
|
|
28
28
|
)
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
declare const StyledBaseInput: React$1.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<"div">, "
|
|
31
|
+
declare const StyledBaseInput: React$1.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<"div">, "size" | "variant" | "hovered" | "active" | "focused" | "valid" | "readOnly" | "disabled" | "ariaDisabled"> & TransformProps<{
|
|
32
32
|
variant?: "outline" | "subtle" | undefined;
|
|
33
|
-
hovered?: boolean | "
|
|
34
|
-
active?: boolean | "
|
|
35
|
-
focused?: boolean | "
|
|
36
|
-
valid?: boolean | "
|
|
37
|
-
readOnly?: boolean | "
|
|
38
|
-
disabled?: boolean | "
|
|
39
|
-
ariaDisabled?: boolean | "
|
|
33
|
+
hovered?: boolean | "true" | "false" | undefined;
|
|
34
|
+
active?: boolean | "true" | "false" | undefined;
|
|
35
|
+
focused?: boolean | "true" | "false" | undefined;
|
|
36
|
+
valid?: boolean | "true" | "false" | undefined;
|
|
37
|
+
readOnly?: boolean | "true" | "false" | undefined;
|
|
38
|
+
disabled?: boolean | "true" | "false" | undefined;
|
|
39
|
+
ariaDisabled?: boolean | "true" | "false" | undefined;
|
|
40
40
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
41
41
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<"div", {
|
|
42
42
|
variant?: "outline" | "subtle" | undefined;
|
|
43
|
-
hovered?: boolean | "
|
|
44
|
-
active?: boolean | "
|
|
45
|
-
focused?: boolean | "
|
|
46
|
-
valid?: boolean | "
|
|
47
|
-
readOnly?: boolean | "
|
|
48
|
-
disabled?: boolean | "
|
|
49
|
-
ariaDisabled?: boolean | "
|
|
43
|
+
hovered?: boolean | "true" | "false" | undefined;
|
|
44
|
+
active?: boolean | "true" | "false" | undefined;
|
|
45
|
+
focused?: boolean | "true" | "false" | undefined;
|
|
46
|
+
valid?: boolean | "true" | "false" | undefined;
|
|
47
|
+
readOnly?: boolean | "true" | "false" | undefined;
|
|
48
|
+
disabled?: boolean | "true" | "false" | undefined;
|
|
49
|
+
ariaDisabled?: boolean | "true" | "false" | undefined;
|
|
50
50
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
51
51
|
}, {}>;
|
|
52
52
|
type StyledBaseInputProps = ComponentPropsWithRef<typeof StyledBaseInput>;
|
|
@@ -113,7 +113,7 @@ declare const ActionButton: React__default.ForwardRefExoticComponent<(Omit<Omit<
|
|
|
113
113
|
'aria-label': string;
|
|
114
114
|
}, "ref">) & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
115
115
|
|
|
116
|
-
declare const StyledIconSlot: React$1.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, "
|
|
116
|
+
declare const StyledIconSlot: React$1.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React$1.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, "variant" | "disabled"> & TransformProps<{
|
|
117
117
|
variant?: "outline" | "subtle" | undefined;
|
|
118
118
|
disabled?: boolean | "true" | undefined;
|
|
119
119
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React$1.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<React$1.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {
|
|
@@ -124,7 +124,7 @@ type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
|
124
124
|
|
|
125
125
|
interface IconSlotProps extends Omit<StyledIconSlotProps, 'variant'> {
|
|
126
126
|
}
|
|
127
|
-
declare const IconSlot: React__default.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React__default.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"div">>>, "
|
|
127
|
+
declare const IconSlot: React__default.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React__default.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"div">>>, "variant" | "disabled"> & TransformProps<{
|
|
128
128
|
variant?: "outline" | "subtle" | undefined;
|
|
129
129
|
disabled?: boolean | "true" | undefined;
|
|
130
130
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React__default.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -162,4 +162,4 @@ interface BaseInputSharedProps extends FormElementProps, Omit<BaseInputStyledPro
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
export { BaseInput, useInputContext };
|
|
165
|
-
export type { ActionButtonProps as BaseInputActionButtonProps, IconSlotProps as BaseInputIconSlotProps, InputProps$2 as BaseInputInputProps, BaseInputProps, BaseInputSharedProps, BaseInputStyledProps, InputProviderProps };
|
|
165
|
+
export type { ActionButtonProps as BaseInputActionButtonProps, IconSlotProps as BaseInputIconSlotProps, InputProps$2 as BaseInputInputProps, Partials as BaseInputPartials, BaseInputProps, BaseInputSharedProps, BaseInputStyledProps, InputProviderProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-base-input",
|
|
3
|
-
"version": "1.3.0-fix-stitches-types.
|
|
3
|
+
"version": "1.3.0-fix-stitches-types.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@react-aria/interactions": "^3.13.0",
|
|
30
30
|
"@react-aria/utils": "^3.31.0",
|
|
31
|
-
"@mirohq/design-system-base-
|
|
32
|
-
"@mirohq/design-system-base-
|
|
33
|
-
"@mirohq/design-system-
|
|
34
|
-
"@mirohq/design-system-
|
|
35
|
-
"@mirohq/design-system-
|
|
36
|
-
"@mirohq/design-system-
|
|
31
|
+
"@mirohq/design-system-base-button": "^1.2.0-fix-stitches-types.2",
|
|
32
|
+
"@mirohq/design-system-base-form": "^1.2.0-fix-stitches-types.2",
|
|
33
|
+
"@mirohq/design-system-base-icon": "^1.2.0-fix-stitches-types.2",
|
|
34
|
+
"@mirohq/design-system-base-text-field": "^1.3.0-fix-stitches-types.2",
|
|
35
|
+
"@mirohq/design-system-primitive": "^2.2.0-fix-stitches-types.2",
|
|
36
|
+
"@mirohq/design-system-stitches": "^3.2.0-fix-stitches-types.2",
|
|
37
|
+
"@mirohq/design-system-tooltip": "^4.3.0-fix-stitches-types.2",
|
|
37
38
|
"@mirohq/design-system-use-aria-disabled": "^1.1.1",
|
|
38
39
|
"@mirohq/design-system-use-layout-effect": "^1.1.0",
|
|
39
|
-
"@mirohq/design-system-
|
|
40
|
-
"@mirohq/design-system-
|
|
41
|
-
"@mirohq/design-system-base-icon": "^1.2.0-fix-stitches-types.0"
|
|
40
|
+
"@mirohq/design-system-use-press": "^1.1.1",
|
|
41
|
+
"@mirohq/design-system-utils": "^1.2.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "rollup -c ../../../../rollup.config.js",
|