@bcgov/design-system-react-components 0.1.0-pr428 → 0.1.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 +0 -28
- package/dist/cjs/index.cjs +18 -76
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/components/index.d.ts +0 -1
- package/dist/esm/index.js +19 -76
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/index.d.ts +0 -1
- package/dist/index.d.ts +1 -8
- package/package.json +1 -1
- package/dist/cjs/types/components/SvgExclamationIcon/SvgExclamationIcon.d.ts +0 -3
- package/dist/cjs/types/components/SvgExclamationIcon/index.d.ts +0 -1
- package/dist/cjs/types/components/TextArea/TextArea.d.ts +0 -8
- package/dist/cjs/types/components/TextArea/index.d.ts +0 -2
- package/dist/esm/types/components/SvgExclamationIcon/SvgExclamationIcon.d.ts +0 -3
- package/dist/esm/types/components/SvgExclamationIcon/index.d.ts +0 -1
- package/dist/esm/types/components/TextArea/TextArea.d.ts +0 -8
- package/dist/esm/types/components/TextArea/index.d.ts +0 -2
|
@@ -8,6 +8,5 @@ export { default as SvgBcLogo } from "./SvgBcLogo";
|
|
|
8
8
|
export { default as Tag } from "./Tag";
|
|
9
9
|
export { default as TagGroup } from "./TagGroup";
|
|
10
10
|
export { default as TagList } from "./TagList";
|
|
11
|
-
export { default as TextArea } from "./TextArea";
|
|
12
11
|
export { default as TextField } from "./TextField";
|
|
13
12
|
export { default as Tooltip, TooltipTrigger } from "./Tooltip";
|
package/dist/index.d.ts
CHANGED
|
@@ -194,13 +194,6 @@ interface TagListProps<T> extends Pick<TagListProps$1<T>, "children" | "renderEm
|
|
|
194
194
|
}
|
|
195
195
|
declare function TagList<T extends object>({ items, orientation, renderEmptyState, ...props }: TagListProps<T>): react_jsx_runtime.JSX.Element;
|
|
196
196
|
|
|
197
|
-
interface TextAreaProps extends TextFieldProps$1 {
|
|
198
|
-
label?: string;
|
|
199
|
-
description?: string;
|
|
200
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
201
|
-
}
|
|
202
|
-
declare function TextArea({ label, description, errorMessage, maxLength, onChange, value, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
203
|
-
|
|
204
197
|
interface TextFieldProps extends TextFieldProps$1 {
|
|
205
198
|
size?: "medium" | "small";
|
|
206
199
|
label?: string;
|
|
@@ -213,4 +206,4 @@ declare function TextField({ size, label, description, errorMessage, iconLeft, i
|
|
|
213
206
|
|
|
214
207
|
declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
215
208
|
|
|
216
|
-
export { Button, Footer, FooterLinks, Form, Header, Select, SvgBcLogo, Tag, TagGroup, TagList,
|
|
209
|
+
export { Button, Footer, FooterLinks, Form, Header, Select, SvgBcLogo, Tag, TagGroup, TagList, TextField, Tooltip };
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./SvgExclamationIcon";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TextFieldProps as ReactAriaTextFieldProps, ValidationResult } from "react-aria-components";
|
|
2
|
-
import "./TextArea.css";
|
|
3
|
-
export interface TextAreaProps extends ReactAriaTextFieldProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
}
|
|
8
|
-
export default function TextArea({ label, description, errorMessage, maxLength, onChange, value, ...props }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./SvgExclamationIcon";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TextFieldProps as ReactAriaTextFieldProps, ValidationResult } from "react-aria-components";
|
|
2
|
-
import "./TextArea.css";
|
|
3
|
-
export interface TextAreaProps extends ReactAriaTextFieldProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
}
|
|
8
|
-
export default function TextArea({ label, description, errorMessage, maxLength, onChange, value, ...props }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
|