@digitalpromise/design 4.8.1 → 4.8.5
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/forms.cjs +4 -4
- package/dist/forms.d.ts +7 -0
- package/dist/forms.js +1188 -1138
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -0
- package/dist/tokens.d.ts +134 -0
- package/dist/tokens.js +1654 -0
- package/package.json +9 -8
package/dist/forms.d.ts
CHANGED
|
@@ -47,6 +47,13 @@ declare interface LabelProps extends ComponentPropsWithRef<"label"> {
|
|
|
47
47
|
required?: boolean;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
export declare const ListInput: ({ onChange, defaultValue }: ListInputProps) => JSX.Element;
|
|
51
|
+
|
|
52
|
+
declare type ListInputProps = FormInputProps & {
|
|
53
|
+
onChange?: (list: string[]) => void;
|
|
54
|
+
defaultValue?: string[];
|
|
55
|
+
};
|
|
56
|
+
|
|
50
57
|
declare type ReactSelectProps = ComponentPropsWithRef<typeof default_2>;
|
|
51
58
|
|
|
52
59
|
export declare const Select: ({ error, id, ...userProps }: SelectProps) => JSX.Element;
|