@webority/ui-react 0.6.12 → 0.6.13
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/examples.mobile.json-BMXTGiGC-Dl_Tt3py.js +250 -0
- package/dist/libphonenumber-js-BcNT8oq0-DMpMlice.js +11439 -0
- package/dist/types/components/AppColorField.d.ts +4 -1
- package/dist/types/components/AppPhoneNumberInput.d.ts +1 -1
- package/dist/ui-react.js +398 -318
- package/package.json +3 -3
|
@@ -19,9 +19,11 @@
|
|
|
19
19
|
* @param {string} [props.name]
|
|
20
20
|
* @param {string} [props.id]
|
|
21
21
|
* @param {boolean} [props.disabled=false]
|
|
22
|
+
* @param {"sm"|"md"|"lg"} [props.size="md"] Control size — sm/lg opt out of the shared height,
|
|
23
|
+
* resizing both the swatch and the hex box together.
|
|
22
24
|
* @param {string} [props.className]
|
|
23
25
|
*/
|
|
24
|
-
export default function AppColorField({ value, onChange, label, required, error, hint, name, id, disabled, className, ...rest }: {
|
|
26
|
+
export default function AppColorField({ value, onChange, label, required, error, hint, name, id, disabled, size, className, ...rest }: {
|
|
25
27
|
value: string;
|
|
26
28
|
onChange: (hex: string) => void;
|
|
27
29
|
label?: import('react').ReactNode;
|
|
@@ -31,5 +33,6 @@ export default function AppColorField({ value, onChange, label, required, error,
|
|
|
31
33
|
name?: string;
|
|
32
34
|
id?: string;
|
|
33
35
|
disabled?: boolean;
|
|
36
|
+
size?: "sm" | "md" | "lg";
|
|
34
37
|
className?: string;
|
|
35
38
|
}): import("react").JSX.Element;
|