@kroo-web/design-system 1.19.0 → 1.19.1

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.
@@ -17,7 +17,7 @@ export declare const Checkbox: <T extends FieldValues>(props: TCheckboxProps<T>)
17
17
  export type TNativeCheckboxProps = {
18
18
  disabled?: boolean;
19
19
  error?: {
20
- message: string;
20
+ message?: string;
21
21
  };
22
22
  helper?: {
23
23
  message: string;
@@ -26,7 +26,7 @@ export type TNativeComboBoxRootProps = {
26
26
  children: ReactNode;
27
27
  disabled?: boolean;
28
28
  error?: {
29
- message: string;
29
+ message?: string;
30
30
  };
31
31
  helper?: {
32
32
  message: string;
@@ -19,7 +19,7 @@ export type TDatePicker<T extends FieldValues> = {
19
19
  export declare const DatePicker: <T extends FieldValues>(props: TDatePicker<T>) => import("react/jsx-runtime").JSX.Element;
20
20
  export type TNativeDatePickerProps = {
21
21
  error?: {
22
- message: string;
22
+ message?: string;
23
23
  };
24
24
  helper?: {
25
25
  message: string;
@@ -20,7 +20,7 @@ export type TNativeNumberFieldProps = {
20
20
  defaultValue?: number;
21
21
  disabled?: boolean;
22
22
  error?: {
23
- message: string;
23
+ message?: string;
24
24
  };
25
25
  helper?: {
26
26
  message: string;
@@ -24,7 +24,7 @@ export type TNativeCountrySelectProps = {
24
24
  export type TNativeInputProps = {
25
25
  className?: string;
26
26
  error?: {
27
- message: string;
27
+ message?: string;
28
28
  };
29
29
  id: string;
30
30
  missing?: boolean;
@@ -14,7 +14,7 @@ export type TNativeRadioGroupRootProps = {
14
14
  name: string;
15
15
  variant?: 'cards' | 'circle';
16
16
  error?: {
17
- message: string;
17
+ message?: string;
18
18
  };
19
19
  onChange: (value: string) => void;
20
20
  } & RadixRadioGroup.RadioGroupProps;
@@ -30,7 +30,7 @@ export type TSelectProps<T extends FieldValues> = {
30
30
  export declare const Select: <T extends FieldValues>(props: TSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
31
31
  export type TNativeSelectProps = {
32
32
  error?: {
33
- message: string;
33
+ message?: string;
34
34
  };
35
35
  helper?: {
36
36
  message: string;
@@ -25,7 +25,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<T
25
25
  export type TNativeTextFieldProps = {
26
26
  className?: string;
27
27
  error?: {
28
- message: string;
28
+ message?: string;
29
29
  };
30
30
  helper?: {
31
31
  message: ReactNode | string;
@@ -1,6 +1,6 @@
1
1
  export type TFieldErrorProps = {
2
2
  error: {
3
- message: string;
3
+ message?: string;
4
4
  };
5
5
  };
6
6
  export declare const FieldError: ({ error }: TFieldErrorProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kroo-web/design-system",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "storybook dev -p 6006",