@mirohq/design-system-form 0.1.12 → 0.1.14
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 +7 -43
- package/package.json +5 -5
package/dist/types.d.ts
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ComponentPropsWithRef, ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
4
3
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
5
4
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
5
|
+
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
6
6
|
import { FormFieldProviderProps, FormFieldStatus } from '@mirohq/design-system-base-form';
|
|
7
7
|
|
|
8
|
-
declare const StyledForm: react.ForwardRefExoticComponent<Omit<Omit<
|
|
9
|
-
ref?: ((instance: HTMLFormElement | null) => void) | react.RefObject<HTMLFormElement> | null | undefined;
|
|
10
|
-
} & {
|
|
11
|
-
asChild?: boolean | undefined;
|
|
12
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
13
|
-
children?: react.ReactNode;
|
|
14
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLFormElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"form">>, {}, {}>;
|
|
8
|
+
declare const StyledForm: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"form">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLFormElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"form">>, {}, {}>;
|
|
15
9
|
declare type StyledFormProps = ComponentPropsWithRef<typeof StyledForm>;
|
|
16
10
|
|
|
17
|
-
declare const StyledLabel: react.ForwardRefExoticComponent<Omit<Omit<
|
|
18
|
-
ref?: ((instance: HTMLLabelElement | null) => void) | react.RefObject<HTMLLabelElement> | null | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
asChild?: boolean | undefined;
|
|
21
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
22
|
-
children?: react.ReactNode;
|
|
23
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
11
|
+
declare const StyledLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"label">>>, "visuallyHidden"> & _stitches_react_types_styled_component.TransformProps<{
|
|
24
12
|
visuallyHidden?: boolean | "true" | undefined;
|
|
25
13
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLLabelElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"label">>, {
|
|
26
14
|
visuallyHidden?: boolean | "true" | undefined;
|
|
@@ -45,26 +33,14 @@ interface LabelProps extends StyledLabelProps {
|
|
|
45
33
|
}
|
|
46
34
|
declare const Label: react__default.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & react__default.RefAttributes<HTMLLabelElement>>;
|
|
47
35
|
|
|
48
|
-
declare const StyledField: react.ForwardRefExoticComponent<Omit<Omit<
|
|
49
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
50
|
-
} & {
|
|
51
|
-
asChild?: boolean | undefined;
|
|
52
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
53
|
-
children?: react.ReactNode;
|
|
54
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
|
|
36
|
+
declare const StyledField: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
|
|
55
37
|
declare type StyledFieldProps = ComponentPropsWithRef<typeof StyledField>;
|
|
56
38
|
|
|
57
39
|
interface FieldProps extends StyledFieldProps, FormFieldProviderProps {
|
|
58
40
|
}
|
|
59
41
|
declare const Field: react__default.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
60
42
|
|
|
61
|
-
declare const StyledHelper: react.ForwardRefExoticComponent<Omit<Omit<
|
|
62
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
63
|
-
} & {
|
|
64
|
-
asChild?: boolean | undefined;
|
|
65
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
66
|
-
children?: react.ReactNode;
|
|
67
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
|
|
43
|
+
declare const StyledHelper: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
|
|
68
44
|
declare type StyledHelperProps = ComponentPropsWithRef<typeof StyledHelper>;
|
|
69
45
|
|
|
70
46
|
interface HelperProps extends StyledHelperProps {
|
|
@@ -75,13 +51,7 @@ interface HelperProps extends StyledHelperProps {
|
|
|
75
51
|
}
|
|
76
52
|
declare const Helper: react__default.ForwardRefExoticComponent<Omit<HelperProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
77
53
|
|
|
78
|
-
declare const StyledMessage: react.ForwardRefExoticComponent<Omit<Omit<
|
|
79
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
80
|
-
} & {
|
|
81
|
-
asChild?: boolean | undefined;
|
|
82
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
83
|
-
children?: react.ReactNode;
|
|
84
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
54
|
+
declare const StyledMessage: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, "status"> & _stitches_react_types_styled_component.TransformProps<{
|
|
85
55
|
status?: "valid" | "invalid" | "dirty" | "pristine" | "touched" | undefined;
|
|
86
56
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {
|
|
87
57
|
status?: "valid" | "invalid" | "dirty" | "pristine" | "touched" | undefined;
|
|
@@ -94,13 +64,7 @@ interface MessageProps extends Omit<StyledMessageProps, 'status'> {
|
|
|
94
64
|
}
|
|
95
65
|
declare const Message: react__default.ForwardRefExoticComponent<Omit<MessageProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
96
66
|
|
|
97
|
-
declare const StyledDescription: react.ForwardRefExoticComponent<Omit<Omit<
|
|
98
|
-
ref?: ((instance: HTMLParagraphElement | null) => void) | react.RefObject<HTMLParagraphElement> | null | undefined;
|
|
99
|
-
} & {
|
|
100
|
-
asChild?: boolean | undefined;
|
|
101
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
102
|
-
children?: react.ReactNode;
|
|
103
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLParagraphElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"p">>, {}, {}>;
|
|
67
|
+
declare const StyledDescription: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"p">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLParagraphElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"p">>, {}, {}>;
|
|
104
68
|
declare type StyledDescriptionProps = ComponentPropsWithRef<typeof StyledDescription>;
|
|
105
69
|
|
|
106
70
|
interface DescriptionProps extends StyledDescriptionProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"react": "^16.14 || ^17 || ^18"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@mirohq/design-system-base-form": "^0.2.9",
|
|
30
|
-
"@mirohq/design-system-primitive": "^1.1.2",
|
|
31
|
-
"@mirohq/design-system-stitches": "^2.6.7",
|
|
32
29
|
"@mirohq/design-system-use-id": "^0.1.2",
|
|
33
|
-
"@mirohq/design-system-
|
|
30
|
+
"@mirohq/design-system-stitches": "^2.6.9",
|
|
31
|
+
"@mirohq/design-system-base-form": "^0.2.11",
|
|
32
|
+
"@mirohq/design-system-utils": "^0.15.3",
|
|
33
|
+
"@mirohq/design-system-primitive": "^1.1.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "rollup -c ../../../rollup.config.js",
|