globalfy-design-system 0.78.0 → 0.79.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.
package/README.md CHANGED
@@ -37,7 +37,7 @@ fix(validations): missing email validation
37
37
 
38
38
  - Unit tests use [Jest](<[https://https://jestjs.io//](https://jestjs.io/)>) with [react-testing-library](https://testing-library.com/docs/react-testing-library/intro/)
39
39
  - All components developed must have tests
40
- - Test coverage must be 100%
40
+ - Test coverage must be 99%
41
41
 
42
42
  ### Storybook Link
43
43
 
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TextAreaProps } from "./TextArea.types";
3
+ export declare const TextArea: import("react").ForwardRefExoticComponent<TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ title: string;
5
+ component: import("react").ForwardRefExoticComponent<import("./TextArea.types").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Playground: Story;
@@ -0,0 +1,8 @@
1
+ import { TextareaHTMLAttributes } from "react";
2
+ export interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
3
+ label: string;
4
+ message?: string;
5
+ isInvalid?: boolean;
6
+ isValid?: boolean;
7
+ allowResize?: boolean;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./TextArea";
2
+ export * from "./TextArea.types";
@@ -21,3 +21,4 @@ export * from "./ToastContainer";
21
21
  export * from "./PhoneNumberInput";
22
22
  export * from "./DropdownList";
23
23
  export * from "./Alert";
24
+ export * from "./TextArea";