@mirohq/design-system-form 0.2.9 → 0.2.10
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 +6 -6
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitiv
|
|
|
6
6
|
import { FormFieldProviderProps } from '@mirohq/design-system-base-form';
|
|
7
7
|
|
|
8
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">>, {}, {}>;
|
|
9
|
-
|
|
9
|
+
type StyledFormProps = ComponentPropsWithRef<typeof StyledForm>;
|
|
10
10
|
|
|
11
11
|
declare const StyledLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"label">>>, "v1" | "visuallyHidden"> & _stitches_react_types_styled_component.TransformProps<{
|
|
12
12
|
v1?: boolean | "true" | undefined;
|
|
@@ -15,7 +15,7 @@ declare const StyledLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
|
|
|
15
15
|
v1?: boolean | "true" | undefined;
|
|
16
16
|
visuallyHidden?: boolean | "true" | undefined;
|
|
17
17
|
}, {}>;
|
|
18
|
-
|
|
18
|
+
type StyledLabelProps = ComponentPropsWithRef<typeof StyledLabel>;
|
|
19
19
|
|
|
20
20
|
interface LabelProps extends Omit<StyledLabelProps, 'v1'> {
|
|
21
21
|
/**
|
|
@@ -37,14 +37,14 @@ interface LabelProps extends Omit<StyledLabelProps, 'v1'> {
|
|
|
37
37
|
declare const Label: react__default.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & react__default.RefAttributes<HTMLLabelElement>>;
|
|
38
38
|
|
|
39
39
|
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">>, {}, {}>;
|
|
40
|
-
|
|
40
|
+
type StyledFieldProps = ComponentPropsWithRef<typeof StyledField>;
|
|
41
41
|
|
|
42
42
|
interface FieldProps extends Omit<StyledFieldProps, 'v1'>, Omit<FormFieldProviderProps, 'v1'> {
|
|
43
43
|
}
|
|
44
44
|
declare const Field: react__default.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
|
|
46
46
|
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">>, {}, {}>;
|
|
47
|
-
|
|
47
|
+
type StyledHelperProps = ComponentPropsWithRef<typeof StyledHelper>;
|
|
48
48
|
|
|
49
49
|
interface HelperProps extends StyledHelperProps {
|
|
50
50
|
/**
|
|
@@ -59,7 +59,7 @@ declare const StyledMessage: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
|
|
|
59
59
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {
|
|
60
60
|
status?: "valid" | "invalid" | "dirty" | "pristine" | "touched" | undefined;
|
|
61
61
|
}, {}>;
|
|
62
|
-
|
|
62
|
+
type StyledMessageProps = ComponentPropsWithRef<typeof StyledMessage>;
|
|
63
63
|
|
|
64
64
|
interface MessageProps extends Omit<StyledMessageProps, 'status'> {
|
|
65
65
|
chidren?: react__default.ReactNode;
|
|
@@ -67,7 +67,7 @@ interface MessageProps extends Omit<StyledMessageProps, 'status'> {
|
|
|
67
67
|
declare const Message: react__default.ForwardRefExoticComponent<Omit<MessageProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
68
68
|
|
|
69
69
|
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">>, {}, {}>;
|
|
70
|
-
|
|
70
|
+
type StyledDescriptionProps = ComponentPropsWithRef<typeof StyledDescription>;
|
|
71
71
|
|
|
72
72
|
interface DescriptionProps extends StyledDescriptionProps {
|
|
73
73
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-form",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@mirohq/design-system-base-form": "^0.3.4",
|
|
30
30
|
"@mirohq/design-system-experiments": "^0.2.0",
|
|
31
|
-
"@mirohq/design-system-icons": "^0.
|
|
31
|
+
"@mirohq/design-system-icons": "^0.64.0",
|
|
32
32
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
33
33
|
"@mirohq/design-system-stitches": "^2.6.30",
|
|
34
34
|
"@mirohq/design-system-utils": "^0.15.5"
|