globalfy-design-system 1.21.0 → 1.22.0

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.
@@ -1,7 +1,7 @@
1
1
  import { TextareaHTMLAttributes } from 'react';
2
2
 
3
3
  export type TextAreaProps = {
4
- label?: string;
4
+ label?: string | React.ReactElement;
5
5
  message?: string;
6
6
  isInvalid?: boolean;
7
7
  isValid?: boolean;
@@ -9,7 +9,7 @@ export type TextAreaProps = {
9
9
  value?: string;
10
10
  } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'defaultValue' | 'color' | 'onFocus' | 'onBlur'>;
11
11
  export declare const TextArea: import('react').ForwardRefExoticComponent<{
12
- label?: string | undefined;
12
+ label?: string | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | undefined;
13
13
  message?: string | undefined;
14
14
  isInvalid?: boolean | undefined;
15
15
  isValid?: boolean | undefined;
@@ -3,7 +3,7 @@ import { StoryObj } from '@storybook/react';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: import('react').ForwardRefExoticComponent<{
6
- label?: string | undefined;
6
+ label?: string | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | undefined;
7
7
  message?: string | undefined;
8
8
  isInvalid?: boolean | undefined;
9
9
  isValid?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globalfy-design-system",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "description": "Globalfy Design System",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",