@alveole/components 1.2.0 → 1.2.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.
Files changed (72) hide show
  1. package/dist/generated/version.d.ts +1 -1
  2. package/dist/generated/version.js +1 -1
  3. package/dist/ui/Autocomplete/Autocomplete.web.d.ts +2 -0
  4. package/dist/ui/Autocomplete/Autocomplete.web.d.ts.map +1 -1
  5. package/dist/ui/DateInput/DateInput.d.ts +2 -0
  6. package/dist/ui/DateInput/DateInput.d.ts.map +1 -1
  7. package/dist/ui/DateInput/DateInput.ios.d.ts +2 -0
  8. package/dist/ui/DateInput/DateInput.ios.d.ts.map +1 -1
  9. package/dist/ui/DateInput/DateInput.stories.d.ts +2 -0
  10. package/dist/ui/DateInput/DateInput.stories.d.ts.map +1 -1
  11. package/dist/ui/DateInput/DateInput.web.d.ts +2 -0
  12. package/dist/ui/DateInput/DateInput.web.d.ts.map +1 -1
  13. package/dist/ui/DurationInput/DurationInput.d.ts +2 -0
  14. package/dist/ui/DurationInput/DurationInput.d.ts.map +1 -1
  15. package/dist/ui/DurationInput/DurationInput.stories.d.ts +2 -0
  16. package/dist/ui/DurationInput/DurationInput.stories.d.ts.map +1 -1
  17. package/dist/ui/EmailField/EmailField.d.ts +2 -0
  18. package/dist/ui/EmailField/EmailField.d.ts.map +1 -1
  19. package/dist/ui/EmailField/EmailField.stories.d.ts +2 -0
  20. package/dist/ui/EmailField/EmailField.stories.d.ts.map +1 -1
  21. package/dist/ui/FormControl/FormControl.stories.d.ts +9 -0
  22. package/dist/ui/FormControl/FormControl.stories.d.ts.map +1 -1
  23. package/dist/ui/FormControl/FormControl.styles.d.ts +9 -0
  24. package/dist/ui/FormControl/FormControl.styles.d.ts.map +1 -1
  25. package/dist/ui/FormControl/FormControl.styles.js +5 -0
  26. package/dist/ui/FormControl/FormControlLabel.d.ts +4 -1
  27. package/dist/ui/FormControl/FormControlLabel.d.ts.map +1 -1
  28. package/dist/ui/FormControl/FormControlLabel.js +2 -2
  29. package/dist/ui/OtpField/OtpField.d.ts +2 -0
  30. package/dist/ui/OtpField/OtpField.d.ts.map +1 -1
  31. package/dist/ui/OtpField/OtpField.stories.d.ts +2 -0
  32. package/dist/ui/OtpField/OtpField.stories.d.ts.map +1 -1
  33. package/dist/ui/PasswordField/PasswordField.d.ts +2 -0
  34. package/dist/ui/PasswordField/PasswordField.d.ts.map +1 -1
  35. package/dist/ui/PasswordField/PasswordField.stories.d.ts +2 -0
  36. package/dist/ui/PasswordField/PasswordField.stories.d.ts.map +1 -1
  37. package/dist/ui/PhoneField/PhoneField.d.ts +2 -0
  38. package/dist/ui/PhoneField/PhoneField.d.ts.map +1 -1
  39. package/dist/ui/PhoneField/PhoneField.stories.d.ts +2 -0
  40. package/dist/ui/PhoneField/PhoneField.stories.d.ts.map +1 -1
  41. package/dist/ui/RadioGroup/RadioGroup.d.ts +2 -0
  42. package/dist/ui/RadioGroup/RadioGroup.d.ts.map +1 -1
  43. package/dist/ui/RadioGroup/RadioGroup.stories.d.ts +2 -0
  44. package/dist/ui/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  45. package/dist/ui/RadioGroup/index.d.ts +2 -0
  46. package/dist/ui/RadioGroup/index.d.ts.map +1 -1
  47. package/dist/ui/Select/Select.d.ts +2 -0
  48. package/dist/ui/Select/Select.d.ts.map +1 -1
  49. package/dist/ui/Select/Select.stories.d.ts +2 -0
  50. package/dist/ui/Select/Select.stories.d.ts.map +1 -1
  51. package/dist/ui/SelectMultiple/SelectMultiple.web.d.ts +2 -0
  52. package/dist/ui/SelectMultiple/SelectMultiple.web.d.ts.map +1 -1
  53. package/dist/ui/Spinner/Spinner.js +1 -1
  54. package/dist/ui/TextField/TextField.d.ts +2 -0
  55. package/dist/ui/TextField/TextField.d.ts.map +1 -1
  56. package/dist/ui/TextField/TextField.stories.d.ts +2 -0
  57. package/dist/ui/TextField/TextField.stories.d.ts.map +1 -1
  58. package/dist/ui/TextareaField/TextareaField.d.ts +2 -0
  59. package/dist/ui/TextareaField/TextareaField.d.ts.map +1 -1
  60. package/dist/ui/TextareaField/TextareaField.stories.d.ts +2 -0
  61. package/dist/ui/TextareaField/TextareaField.stories.d.ts.map +1 -1
  62. package/dist/ui/TextareaInput/TextareaInput.d.ts +2 -0
  63. package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -1
  64. package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +2 -0
  65. package/dist/ui/TextareaInput/TextareaInput.stories.d.ts.map +1 -1
  66. package/dist/ui/TimeInput/TimeInput.d.ts +2 -0
  67. package/dist/ui/TimeInput/TimeInput.d.ts.map +1 -1
  68. package/dist/ui/TimeInput/TimeInput.stories.d.ts +2 -0
  69. package/dist/ui/TimeInput/TimeInput.stories.d.ts.map +1 -1
  70. package/dist/ui/TimeInput/TimeInput.web.d.ts +2 -0
  71. package/dist/ui/TimeInput/TimeInput.web.d.ts.map +1 -1
  72. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- export declare const ALVEOLE_COMPONENTS_VERSION: "1.2.0";
1
+ export declare const ALVEOLE_COMPONENTS_VERSION: "1.2.2";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- export const ALVEOLE_COMPONENTS_VERSION = "1.2.0";
1
+ export const ALVEOLE_COMPONENTS_VERSION = "1.2.2";
@@ -3,6 +3,8 @@ import { AutocompleteOption } from './Autocomplete';
3
3
  export declare const Autocomplete: React.ForwardRefExoticComponent<{
4
4
  label: string;
5
5
  labelRight?: React.ReactNode;
6
+ optional?: boolean;
7
+ optionalText?: string;
6
8
  disabled?: boolean;
7
9
  } & import("@alveole/components").FormControlCaptionProps & import("@alveole/components").FormControlHintProps & {
8
10
  value?: AutocompleteOption[];
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.web.d.ts","sourceRoot":"","sources":["../../../src/ui/Autocomplete/Autocomplete.web.tsx"],"names":[],"mappings":"AASA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAqB,MAAM,gBAAgB,CAAC;AAGvE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;iDAmDnB,CAAF;;;;;;;;;;6BA0GF,CAAC"}
1
+ {"version":3,"file":"Autocomplete.web.d.ts","sourceRoot":"","sources":["../../../src/ui/Autocomplete/Autocomplete.web.tsx"],"names":[],"mappings":"AASA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAqB,MAAM,gBAAgB,CAAC;AAGvE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;iDAmDnB,CAAF;;;;;;;;;;6BA0GF,CAAC"}
@@ -21,6 +21,8 @@ export declare const DateInput: React.ForwardRefExoticComponent<Omit<import("rea
21
21
  } & {
22
22
  label: string;
23
23
  labelRight?: React.ReactNode;
24
+ optional?: boolean;
25
+ optionalText?: string;
24
26
  disabled?: boolean;
25
27
  } & FormControlCaptionProps & FormControlHintProps & {
26
28
  type?: "date" | "datetime" | "month";
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,KAAK,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG,cAAc,GACzC,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;;;;;;;;WAVX,MAAM,GAAG,UAAU,GAAG,OAAO;cAC1B,SAAS,GAAG,SAAS;YACvB,MAAM;kBACA,IAAI;kBACJ,IAAI;eACP,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI;eACtB,OAAO;qBACD,cAAc;6BA2IjC,CAAC"}
1
+ {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,KAAK,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG,cAAc,GACzC,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;;;;;;;;;;WAVX,MAAM,GAAG,UAAU,GAAG,OAAO;cAC1B,SAAS,GAAG,SAAS;YACvB,MAAM;kBACA,IAAI;kBACJ,IAAI;eACP,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI;eACtB,OAAO;qBACD,cAAc;6BA2IjC,CAAC"}
@@ -9,6 +9,8 @@ export declare const DateInput: React.ForwardRefExoticComponent<Omit<import("rea
9
9
  } & {
10
10
  label: string;
11
11
  labelRight?: React.ReactNode;
12
+ optional?: boolean;
13
+ optionalText?: string;
12
14
  disabled?: boolean;
13
15
  } & import("@alveole/components").FormControlCaptionProps & import("@alveole/components").FormControlHintProps & {
14
16
  type?: "date" | "datetime" | "month";
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.ios.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.ios.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAU3C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;6BAuGpB,CAAC"}
1
+ {"version":3,"file":"DateInput.ios.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.ios.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAU3C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;6BAuGpB,CAAC"}
@@ -14,6 +14,8 @@ declare const _default: {
14
14
  } & {
15
15
  label: string;
16
16
  labelRight?: React.ReactNode;
17
+ optional?: boolean;
18
+ optionalText?: string;
17
19
  disabled?: boolean;
18
20
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
19
21
  type?: "date" | "datetime" | "month";
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAO1B,wBAOkB;AAElB,eAAO,MAAM,OAAO,yBAcnB,CAAC;AAEF,eAAO,MAAM,KAAK,yBAsBjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"DateInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAO1B,wBAOkB;AAElB,eAAO,MAAM,OAAO,yBAcnB,CAAC;AAEF,eAAO,MAAM,KAAK,yBAsBjB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
@@ -9,6 +9,8 @@ export declare const DateInput: React.ForwardRefExoticComponent<Omit<import("rea
9
9
  } & {
10
10
  label: string;
11
11
  labelRight?: React.ReactNode;
12
+ optional?: boolean;
13
+ optionalText?: string;
12
14
  disabled?: boolean;
13
15
  } & import("@alveole/components").FormControlCaptionProps & import("@alveole/components").FormControlHintProps & {
14
16
  type?: "date" | "datetime" | "month";
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.web.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;0CAiBpB,CAAC"}
1
+ {"version":3,"file":"DateInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/DateInput/DateInput.web.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;0CAiBpB,CAAC"}
@@ -9,6 +9,8 @@ export type DurationInputProps = FormControlLabelProps & FormControlHintProps &
9
9
  export declare const DurationInput: React.ForwardRefExoticComponent<{
10
10
  label: string;
11
11
  labelRight?: React.ReactNode;
12
+ optional?: boolean;
13
+ optionalText?: string;
12
14
  disabled?: boolean;
13
15
  } & FormControlCaptionProps & FormControlHintProps & {
14
16
  value?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DurationInput.d.ts","sourceRoot":"","sources":["../../../src/ui/DurationInput/DurationInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,GACpD,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;YANd,MAAM;eACH,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;aACzB,MAAM,IAAI;eACR,OAAO;6BAkDpB,CAAC"}
1
+ {"version":3,"file":"DurationInput.d.ts","sourceRoot":"","sources":["../../../src/ui/DurationInput/DurationInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,GACpD,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;;;YANd,MAAM;eACH,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;aACzB,MAAM,IAAI;eACR,OAAO;6BAkDpB,CAAC"}
@@ -7,6 +7,8 @@ declare const _default: {
7
7
  component: import("react").ForwardRefExoticComponent<{
8
8
  label: string;
9
9
  labelRight?: React.ReactNode;
10
+ optional?: boolean;
11
+ optionalText?: string;
10
12
  disabled?: boolean;
11
13
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
12
14
  value?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DurationInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DurationInput/DurationInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAOA,wBAoBkB;AAElB,eAAO,MAAM,OAAO,mCAcnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAclB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"DurationInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/DurationInput/DurationInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAOA,wBAoBkB;AAElB,eAAO,MAAM,OAAO,mCAcnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAclB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
@@ -13,6 +13,8 @@ export declare const EmailField: React.ForwardRefExoticComponent<Omit<import("re
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & FormControlCaptionProps & FormControlHintProps & {
18
20
  onChange?: TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"EmailField.d.ts","sourceRoot":"","sources":["../../../src/ui/EmailField/EmailField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,eAAe,GAAG,cAAc,GAC1C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,UAAU;;;;;;;;;;;;eAHR,cAAc,CAAC,cAAc,CAAC;0DAoB3C,CAAC"}
1
+ {"version":3,"file":"EmailField.d.ts","sourceRoot":"","sources":["../../../src/ui/EmailField/EmailField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,eAAe,GAAG,cAAc,GAC1C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,UAAU;;;;;;;;;;;;;;eAHR,cAAc,CAAC,cAAc,CAAC;0DAoB3C,CAAC"}
@@ -13,6 +13,8 @@ declare const _default: {
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
18
20
  onChange?: import("..").TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"EmailField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/EmailField/EmailField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAOnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"EmailField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/EmailField/EmailField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAOnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
@@ -205,6 +205,15 @@ declare const _default: {
205
205
  successText: {
206
206
  color: string;
207
207
  };
208
+ optionalText: {
209
+ color: string;
210
+ marginLeft: string | number;
211
+ fontSize: 14;
212
+ lineHeight: 20;
213
+ letterSpacing: 0;
214
+ fontFamily: string;
215
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
216
+ };
208
217
  };
209
218
  };
210
219
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"FormControl.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/FormControl.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,wBAOkB;AAElB,eAAO,MAAM,aAAa,mCAQzB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAQrB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAQvB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAOrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAiB9B,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAKnB,CAAC;AAEF,eAAO,MAAM,IAAI,mCAKhB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAejB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAqCvB,CAAC;AAEF,eAAO,MAAM,SAAS,mCA0BrB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAwBrB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAWpB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"FormControl.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/FormControl.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,wBAOkB;AAElB,eAAO,MAAM,aAAa,mCAQzB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAQrB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAQvB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAOrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAiB9B,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAKnB,CAAC;AAEF,eAAO,MAAM,IAAI,mCAKhB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAejB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAqCvB,CAAC;AAEF,eAAO,MAAM,SAAS,mCA0BrB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAwBrB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAWpB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
@@ -195,5 +195,14 @@ export declare const useStyles: () => {
195
195
  successText: {
196
196
  color: string;
197
197
  };
198
+ optionalText: {
199
+ color: string;
200
+ marginLeft: string | number;
201
+ fontSize: 14;
202
+ lineHeight: 20;
203
+ letterSpacing: 0;
204
+ fontFamily: string;
205
+ fontWeight?: import("react-native").TextStyle["fontWeight"];
206
+ };
198
207
  };
199
208
  //# sourceMappingURL=FormControl.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormControl.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/FormControl.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2LnB,CAAC"}
1
+ {"version":3,"file":"FormControl.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/FormControl.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMnB,CAAC"}
@@ -182,4 +182,9 @@ export const useStyles = makeStyles(({ text, color, spacing }) => ({
182
182
  successText: {
183
183
  color: color.success,
184
184
  },
185
+ optionalText: {
186
+ ...text['Corps de texte'].SM.Medium,
187
+ color: color.light.text['mention-grey'],
188
+ marginLeft: spacing('025'),
189
+ },
185
190
  }));
@@ -1,8 +1,11 @@
1
+ import React from 'react';
1
2
  import { FormControlCaptionProps } from './FormControlCaption';
2
3
  export type FormControlLabelProps = {
3
4
  label: string;
4
5
  labelRight?: React.ReactNode;
6
+ optional?: boolean;
7
+ optionalText?: string;
5
8
  disabled?: boolean;
6
9
  } & FormControlCaptionProps;
7
- export declare const FormControlLabel: (props: FormControlLabelProps) => import("react").JSX.Element;
10
+ export declare const FormControlLabel: (props: FormControlLabelProps) => React.JSX.Element;
8
11
  //# sourceMappingURL=FormControlLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormControlLabel.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/FormControlLabel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,uBAAuB,CAAC;AAE5B,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,gCAwB5D,CAAC"}
1
+ {"version":3,"file":"FormControlLabel.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/FormControlLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,uBAAuB,CAAC;AAE5B,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAyB5D,CAAC"}
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box, Typography } from '../../core';
3
3
  import { useStyles } from './FormControl.styles';
4
4
  export const FormControlLabel = (props) => {
5
- const { label, labelRight = false, disabled = false, error, success } = props;
5
+ const { label, labelRight, optional = false, optionalText = '(optionnel)', disabled, error, success } = props;
6
6
  const styles = useStyles();
7
7
  return (_jsxs(Box, { style: styles.labelContainer, children: [_jsx(Typography, { style: {
8
8
  ...styles.label,
9
9
  ...(error ? styles.errorText : {}),
10
10
  ...(success ? styles.successText : {}),
11
11
  ...(disabled ? styles.labelDisabled : {}),
12
- }, children: label }), label && (_jsx(Box, { mt: 'auto', mb: 'auto', ml: 'auto', children: labelRight }))] }));
12
+ }, children: label }), optional && _jsx(Typography, { style: styles.optionalText, children: optionalText }), label && (_jsx(Box, { mt: 'auto', mb: 'auto', ml: 'auto', children: labelRight }))] }));
13
13
  };
@@ -8,6 +8,8 @@ export declare const OtpField: React.ForwardRefExoticComponent<Omit<import("reac
8
8
  } & {
9
9
  label: string;
10
10
  labelRight?: React.ReactNode;
11
+ optional?: boolean;
12
+ optionalText?: string;
11
13
  disabled?: boolean;
12
14
  } & FormControlCaptionProps & FormControlHintProps & {
13
15
  onChange?: FormControlOtpInputProps["onTextChange"];
@@ -1 +1 @@
1
- {"version":3,"file":"OtpField.d.ts","sourceRoot":"","sources":["../../../src/ui/OtpField/OtpField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,aAAa,GAAG,wBAAwB,GAClD,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,wBAAwB,CAAC,cAAc,CAAC,CAAC;CACrD,CAAC;AAEJ,eAAO,MAAM,QAAQ;;;;;;;eAHN,wBAAwB,CAAC,cAAc,CAAC;sEAoCrD,CAAC"}
1
+ {"version":3,"file":"OtpField.d.ts","sourceRoot":"","sources":["../../../src/ui/OtpField/OtpField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,aAAa,GAAG,wBAAwB,GAClD,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,wBAAwB,CAAC,cAAc,CAAC,CAAC;CACrD,CAAC;AAEJ,eAAO,MAAM,QAAQ;;;;;;;;;eAHN,wBAAwB,CAAC,cAAc,CAAC;sEAoCrD,CAAC"}
@@ -8,6 +8,8 @@ declare const _default: {
8
8
  } & {
9
9
  label: string;
10
10
  labelRight?: React.ReactNode;
11
+ optional?: boolean;
12
+ optionalText?: string;
11
13
  disabled?: boolean;
12
14
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
13
15
  onChange?: import("..").FormControlOtpInputProps["onTextChange"];
@@ -1 +1 @@
1
- {"version":3,"file":"OtpField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/OtpField/OtpField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"OtpField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/OtpField/OtpField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
@@ -13,6 +13,8 @@ export declare const PasswordField: React.ForwardRefExoticComponent<Omit<import(
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & FormControlCaptionProps & FormControlHintProps & {
18
20
  onChange?: TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../src/ui/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAC7C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;;;eAHX,cAAc,CAAC,cAAc,CAAC;0DAwC3C,CAAC"}
1
+ {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../src/ui/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAC7C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;;;;;eAHX,cAAc,CAAC,cAAc,CAAC;0DAwC3C,CAAC"}
@@ -13,6 +13,8 @@ declare const _default: {
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
18
20
  onChange?: import("..").TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/PasswordField/PasswordField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"PasswordField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/PasswordField/PasswordField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
@@ -13,6 +13,8 @@ export declare const PhoneField: React.ForwardRefExoticComponent<Omit<import("re
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & FormControlCaptionProps & FormControlHintProps & {
18
20
  onChange?: TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../src/ui/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,eAAe,GAAG,cAAc,GAC1C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,UAAU;;;;;;;;;;;;eAHR,cAAc,CAAC,cAAc,CAAC;0DAoB3C,CAAC"}
1
+ {"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../src/ui/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,eAAe,GAAG,cAAc,GAC1C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,UAAU;;;;;;;;;;;;;;eAHR,cAAc,CAAC,cAAc,CAAC;0DAoB3C,CAAC"}
@@ -13,6 +13,8 @@ declare const _default: {
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
18
20
  onChange?: import("..").TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/PhoneField/PhoneField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"PhoneField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/PhoneField/PhoneField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
@@ -11,6 +11,8 @@ export type RadioGroupProps = Omit<TamaguiRadioGroupProps, 'value' | 'onValueCha
11
11
  export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<TamaguiRadioGroupProps, "direction" | "value" | "onValueChange"> & FormControlCaptionProps & {
12
12
  label: string;
13
13
  labelRight?: React.ReactNode;
14
+ optional?: boolean;
15
+ optionalText?: string;
14
16
  disabled?: boolean;
15
17
  } & FormControlHintProps & {
16
18
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAmC,eAAe,IAAI,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAIrH,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,sBAAsB,EAAE,OAAO,GAAG,eAAe,GAAG,WAAW,CAAC,GACjG,uBAAuB,GACvB,qBAAqB,GACrB,oBAAoB,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,sBAAsB,CAAC,eAAe,CAAC,CAAC;IACnD,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEJ,eAAO,MAAM,UAAU;;;;;YANX,MAAM;YACN,sBAAsB,CAAC,OAAO,CAAC;eAC5B,sBAAsB,CAAC,eAAe,CAAC;cACxC,SAAS,GAAG,MAAM;wCAuD9B,CAAC"}
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAmC,eAAe,IAAI,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAIrH,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,sBAAsB,EAAE,OAAO,GAAG,eAAe,GAAG,WAAW,CAAC,GACjG,uBAAuB,GACvB,qBAAqB,GACrB,oBAAoB,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,sBAAsB,CAAC,eAAe,CAAC,CAAC;IACnD,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEJ,eAAO,MAAM,UAAU;;;;;;;YANX,MAAM;YACN,sBAAsB,CAAC,OAAO,CAAC;eAC5B,sBAAsB,CAAC,eAAe,CAAC;cACxC,SAAS,GAAG,MAAM;wCAuD9B,CAAC"}
@@ -6,6 +6,8 @@ declare const _default: {
6
6
  component: import("react").ForwardRefExoticComponent<Omit<import("tamagui").RadioGroupProps, "direction" | "value" | "onValueChange"> & import("..").FormControlCaptionProps & {
7
7
  label: string;
8
8
  labelRight?: React.ReactNode;
9
+ optional?: boolean;
10
+ optionalText?: string;
9
11
  disabled?: boolean;
10
12
  } & import("..").FormControlHintProps & {
11
13
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/RadioGroup.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCASnB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAOrB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"RadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/RadioGroup.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCASnB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAQjB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAOrB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC"}
@@ -5,6 +5,8 @@ export { RadioGroupItemProps } from './RadioGroupItem';
5
5
  export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<import("tamagui").RadioGroupProps, "direction" | "value" | "onValueChange"> & import("..").FormControlCaptionProps & {
6
6
  label: string;
7
7
  labelRight?: React.ReactNode;
8
+ optional?: boolean;
9
+ optionalText?: string;
8
10
  disabled?: boolean;
9
11
  } & import("..").FormControlHintProps & {
10
12
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,eAAO,MAAM,UAAU;;;;;;;;;;;;CAGrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/RadioGroup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAGrB,CAAC"}
@@ -14,6 +14,8 @@ export type SelectProps = Partial<Pick<PickerProps, 'onBlur' | 'onFocus'>> & For
14
14
  export declare const Select: React.ForwardRefExoticComponent<Partial<Pick<PickerProps<import("@react-native-picker/picker/typings/Picker").ItemValue>, "onFocus" | "onBlur">> & {
15
15
  label: string;
16
16
  labelRight?: React.ReactNode;
17
+ optional?: boolean;
18
+ optionalText?: string;
17
19
  disabled?: boolean;
18
20
  } & FormControlCaptionProps & FormControlHintProps & {
19
21
  value: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/ui/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,YAAY,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC,GACxE,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,MAAM;;;;;WANR,MAAM,GAAG,IAAI;kBACN,MAAM;aACX,YAAY,EAAE;eACZ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI;0DAkE3C,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/ui/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,YAAY,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC,GACxE,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,MAAM;;;;;;;WANR,MAAM,GAAG,IAAI;kBACN,MAAM;aACX,YAAY,EAAE;eACZ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI;0DAkE3C,CAAC"}
@@ -6,6 +6,8 @@ declare const _default: {
6
6
  component: import("react").ForwardRefExoticComponent<Partial<Pick<import("@react-native-picker/picker").PickerProps<import("@react-native-picker/picker/typings/Picker").ItemValue>, "onFocus" | "onBlur">> & {
7
7
  label: string;
8
8
  labelRight?: React.ReactNode;
9
+ optional?: boolean;
10
+ optionalText?: string;
9
11
  disabled?: boolean;
10
12
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
11
13
  value: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Select/Select.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAOkB;AAQlB,eAAO,MAAM,OAAO,mCAOnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAOlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Select/Select.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAOkB;AAQlB,eAAO,MAAM,OAAO,mCAOnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAOlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC"}
@@ -3,6 +3,8 @@ import type { SelectMultipleOption } from './SelectMultiple';
3
3
  export declare const SelectMultiple: React.ForwardRefExoticComponent<{
4
4
  label: string;
5
5
  labelRight?: React.ReactNode;
6
+ optional?: boolean;
7
+ optionalText?: string;
6
8
  disabled?: boolean;
7
9
  } & import("@alveole/components").FormControlCaptionProps & import("@alveole/components").FormControlHintProps & {
8
10
  options?: SelectMultipleOption[];
@@ -1 +1 @@
1
- {"version":3,"file":"SelectMultiple.web.d.ts","sourceRoot":"","sources":["../../../src/ui/SelectMultiple/SelectMultiple.web.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,oBAAoB,EAAuB,MAAM,kBAAkB,CAAC;AAGlF,eAAO,MAAM,cAAc;;;;;;;;;;6BA4EzB,CAAC"}
1
+ {"version":3,"file":"SelectMultiple.web.d.ts","sourceRoot":"","sources":["../../../src/ui/SelectMultiple/SelectMultiple.web.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,oBAAoB,EAAuB,MAAM,kBAAkB,CAAC;AAGlF,eAAO,MAAM,cAAc;;;;;;;;;;;;6BA4EzB,CAAC"}
@@ -43,5 +43,5 @@ export const Spinner = ({ size = 'md', delay, style }) => {
43
43
  }, [rotation]);
44
44
  if (!visible)
45
45
  return null;
46
- return (_jsx(Animated.View, { style: [{ transform: [{ rotate: spin }] }, style], children: _jsxs(Svg, { width: px, height: px, viewBox: `0 0 ${px} ${px}`, children: [_jsx(Circle, { cx: cx, cy: cx, r: r, fill: "none", strokeWidth: strokeWidth, stroke: styles.track.color }), _jsx(Circle, { cx: cx, cy: cx, r: r, fill: "none", strokeWidth: strokeWidth, stroke: styles.arc.color, strokeDasharray: dashArray, strokeLinecap: "round", rotation: -90, origin: `${cx}, ${cx}` })] }) }));
46
+ return (_jsx(Animated.View, { style: [{ width: px, height: px, transform: [{ rotate: spin }] }, style], children: _jsxs(Svg, { width: px, height: px, viewBox: `0 0 ${px} ${px}`, children: [_jsx(Circle, { cx: cx, cy: cx, r: r, fill: "none", strokeWidth: strokeWidth, stroke: styles.track.color }), _jsx(Circle, { cx: cx, cy: cx, r: r, fill: "none", strokeWidth: strokeWidth, stroke: styles.arc.color, strokeDasharray: dashArray, strokeLinecap: "round", rotation: -90, origin: `${cx}, ${cx}` })] }) }));
47
47
  };
@@ -14,6 +14,8 @@ export declare const TextField: React.ForwardRefExoticComponent<Omit<import("rea
14
14
  } & {
15
15
  label: string;
16
16
  labelRight?: React.ReactNode;
17
+ optional?: boolean;
18
+ optionalText?: string;
17
19
  disabled?: boolean;
18
20
  } & FormControlCaptionProps & FormControlHintProps & {
19
21
  type?: "text" | "hidden";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/ui/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAIrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,cAAc,GAAG,cAAc,GACzC,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACzB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;;;;;;;;WAJX,MAAM,GAAG,QAAQ;eACb,cAAc,CAAC,cAAc,CAAC;0DAqC3C,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/ui/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAIrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,cAAc,GAAG,cAAc,GACzC,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACzB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;;;;;;;;;;WAJX,MAAM,GAAG,QAAQ;eACb,cAAc,CAAC,cAAc,CAAC;0DAqC3C,CAAC"}
@@ -13,6 +13,8 @@ declare const _default: {
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
18
20
  type?: "text" | "hidden";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextField/TextField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAOlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"TextField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextField/TextField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAOlB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
@@ -14,6 +14,8 @@ export declare const TextareaField: React.ForwardRefExoticComponent<Omit<import(
14
14
  } & {
15
15
  label: string;
16
16
  labelRight?: React.ReactNode;
17
+ optional?: boolean;
18
+ optionalText?: string;
17
19
  disabled?: boolean;
18
20
  } & FormControlCaptionProps & FormControlHintProps & {
19
21
  onChange?: TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"TextareaField.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaField/TextareaField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAC7C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;;;eAJX,cAAc,CAAC,cAAc,CAAC;oBACzB,MAAM;0DAoBxB,CAAC"}
1
+ {"version":3,"file":"TextareaField.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaField/TextareaField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGrB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAC7C,qBAAqB,GACrB,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;;;;;eAJX,cAAc,CAAC,cAAc,CAAC;oBACzB,MAAM;0DAoBxB,CAAC"}
@@ -13,6 +13,8 @@ declare const _default: {
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
18
20
  onChange?: import("..").TextInputProps["onChangeText"];
@@ -1 +1 @@
1
- {"version":3,"file":"TextareaField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaField/TextareaField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"TextareaField.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaField/TextareaField.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
@@ -14,6 +14,8 @@ export declare const TextareaInput: React.ForwardRefExoticComponent<Omit<import(
14
14
  } & {
15
15
  label: string;
16
16
  labelRight?: React.ReactNode;
17
+ optional?: boolean;
18
+ optionalText?: string;
17
19
  disabled?: boolean;
18
20
  } & import("@alveole/components").FormControlCaptionProps & import("@alveole/components").FormControlHintProps & {
19
21
  type?: "text" | "hidden";
@@ -1 +1 @@
1
- {"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;oBAJR,MAAM;oBACN,MAAM,IAAI;0DAoB3B,CAAC"}
1
+ {"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;oBAJR,MAAM;oBACN,MAAM,IAAI;0DAoB3B,CAAC"}
@@ -13,6 +13,8 @@ declare const _default: {
13
13
  } & {
14
14
  label: string;
15
15
  labelRight?: React.ReactNode;
16
+ optional?: boolean;
17
+ optionalText?: string;
16
18
  disabled?: boolean;
17
19
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
18
20
  type?: "text" | "hidden";
@@ -1 +1 @@
1
- {"version":3,"file":"TextareaInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"TextareaInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAMnB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
@@ -9,6 +9,8 @@ export type TimeInputProps = FormControlLabelProps & FormControlHintProps & Form
9
9
  export declare const TimeInput: React.ForwardRefExoticComponent<{
10
10
  label: string;
11
11
  labelRight?: React.ReactNode;
12
+ optional?: boolean;
13
+ optionalText?: string;
12
14
  disabled?: boolean;
13
15
  } & FormControlCaptionProps & FormControlHintProps & {
14
16
  value?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAChD,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;YANV,MAAM;eACH,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;aACzB,MAAM,IAAI;eACR,OAAO;6BA4DpB,CAAC"}
1
+ {"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EAEvB,oBAAoB,EAEpB,qBAAqB,EAGtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAChD,oBAAoB,GACpB,uBAAuB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,SAAS;;;;;;;YANV,MAAM;eACH,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;aACzB,MAAM,IAAI;eACR,OAAO;6BA4DpB,CAAC"}
@@ -7,6 +7,8 @@ declare const _default: {
7
7
  component: import("react").ForwardRefExoticComponent<{
8
8
  label: string;
9
9
  labelRight?: React.ReactNode;
10
+ optional?: boolean;
11
+ optionalText?: string;
10
12
  disabled?: boolean;
11
13
  } & import("..").FormControlCaptionProps & import("..").FormControlHintProps & {
12
14
  value?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,wBAiBkB;AAElB,eAAO,MAAM,OAAO,mCAcnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAclB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"TimeInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAMA,wBAiBkB;AAElB,eAAO,MAAM,OAAO,mCAcnB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAclB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
@@ -2,6 +2,8 @@ import React from 'react';
2
2
  export declare const TimeInput: React.ForwardRefExoticComponent<{
3
3
  label: string;
4
4
  labelRight?: React.ReactNode;
5
+ optional?: boolean;
6
+ optionalText?: string;
5
7
  disabled?: boolean;
6
8
  } & import("@alveole/components").FormControlCaptionProps & import("@alveole/components").FormControlHintProps & {
7
9
  value?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.web.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,SAAS;;;;;;;;;0CAmBpB,CAAC"}
1
+ {"version":3,"file":"TimeInput.web.d.ts","sourceRoot":"","sources":["../../../src/ui/TimeInput/TimeInput.web.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,SAAS;;;;;;;;;;;0CAmBpB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alveole/components",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Shared UI components.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",