@bcgov/design-system-react-components 0.2.1-pr482 → 0.2.1-pr483
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/dist/cjs/index.cjs +7 -8
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/components/Checkbox/index.d.ts +1 -1
- package/dist/cjs/types/components/Form/Form.d.ts +1 -2
- package/dist/cjs/types/components/Form/index.d.ts +1 -1
- package/dist/cjs/types/components/Icons/SvgTooltipArrowUp/SvgTooltipArrowUp.d.ts +3 -0
- package/dist/cjs/types/components/Icons/SvgTooltipArrowUp/index.d.ts +1 -0
- package/dist/cjs/types/components/Switch/Switch.d.ts +0 -1
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/esm/index.js +7 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Checkbox/index.d.ts +1 -1
- package/dist/esm/types/components/Form/Form.d.ts +1 -2
- package/dist/esm/types/components/Form/index.d.ts +1 -1
- package/dist/esm/types/components/Icons/SvgTooltipArrowUp/SvgTooltipArrowUp.d.ts +3 -0
- package/dist/esm/types/components/Icons/SvgTooltipArrowUp/index.d.ts +1 -0
- package/dist/esm/types/components/Switch/Switch.d.ts +0 -1
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./Checkbox";
|
|
2
|
-
export type { CheckboxProps } from "
|
|
2
|
+
export type { CheckboxProps } from "react-aria-components";
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { FormProps as ReactAriaFormProps } from "react-aria-components";
|
|
2
|
-
export
|
|
3
|
-
export default function Form({ ...props }: FormProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function Form({ ...props }: ReactAriaFormProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./Form";
|
|
2
|
-
export type { FormProps } from "
|
|
2
|
+
export type { FormProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./SvgTooltipArrowUp";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SwitchProps as ReactAriaSwitchProps } from "react-aria-components";
|
|
2
2
|
import "./Switch.css";
|
|
3
3
|
export interface SwitchProps extends ReactAriaSwitchProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
4
|
labelPosition?: "left" | "right";
|
|
6
5
|
}
|
|
7
6
|
export default function Switch({ labelPosition, children, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,6 +18,7 @@ export { default as SvgChevronUpIcon } from "./Icons/SvgChevronUpIcon";
|
|
|
18
18
|
export { default as SvgChevronDownIcon } from "./Icons/SvgChevronDownIcon";
|
|
19
19
|
export { default as SvgCloseIcon } from "./Icons/SvgCloseIcon";
|
|
20
20
|
export { default as SvgInfoIcon } from "./Icons/SvgInfoIcon";
|
|
21
|
+
export { default as SvgTooltipArrowUp } from "./Icons/SvgTooltipArrowUp";
|
|
21
22
|
export { default as Tag } from "./Tag";
|
|
22
23
|
export { default as TagGroup } from "./TagGroup";
|
|
23
24
|
export { default as TagList } from "./TagList";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ButtonProps as ButtonProps$1, CheckboxProps, CheckboxGroupProps as CheckboxGroupProps$1, ValidationResult, FormProps
|
|
2
|
+
import { ButtonProps as ButtonProps$1, CheckboxProps, CheckboxGroupProps as CheckboxGroupProps$1, ValidationResult, FormProps, SelectProps as SelectProps$1, ListBoxItemProps as ListBoxItemProps$1, Key, TagProps as TagProps$1, TagGroupProps as TagGroupProps$1, TagListProps as TagListProps$1, TextFieldProps as TextFieldProps$1, SwitchProps as SwitchProps$1, TooltipProps } from 'react-aria-components';
|
|
3
3
|
export { TooltipTrigger } from 'react-aria-components';
|
|
4
4
|
import { PropsWithChildren } from 'react';
|
|
5
5
|
|
|
@@ -144,7 +144,6 @@ interface FooterProps {
|
|
|
144
144
|
*/
|
|
145
145
|
declare function Footer({ children, acknowledgement, logo, contact, links, copyright, hideAcknowledgement, hideLogoAndLinks, hideCopyright, }: React.PropsWithChildren<FooterProps>): react_jsx_runtime.JSX.Element;
|
|
146
146
|
|
|
147
|
-
type FormProps = FormProps$1;
|
|
148
147
|
declare function Form({ ...props }: FormProps): react_jsx_runtime.JSX.Element;
|
|
149
148
|
|
|
150
149
|
interface ListBoxItemProps extends ListBoxItemProps$1 {
|
|
@@ -225,6 +224,10 @@ declare function SvgInfoIcon({ id }: {
|
|
|
225
224
|
id?: string | undefined;
|
|
226
225
|
}): react_jsx_runtime.JSX.Element;
|
|
227
226
|
|
|
227
|
+
declare function SvgTooltipArrowUp({ id }: {
|
|
228
|
+
id?: string | undefined;
|
|
229
|
+
}): react_jsx_runtime.JSX.Element;
|
|
230
|
+
|
|
228
231
|
interface TagProps extends TagProps$1 {
|
|
229
232
|
/**
|
|
230
233
|
* Icon that appears to the left of the `textValue` field
|
|
@@ -280,11 +283,10 @@ interface TextFieldProps extends TextFieldProps$1 {
|
|
|
280
283
|
declare function TextField({ size, label, description, errorMessage, iconLeft, iconRight, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
281
284
|
|
|
282
285
|
interface SwitchProps extends SwitchProps$1 {
|
|
283
|
-
children?: React.ReactNode;
|
|
284
286
|
labelPosition?: "left" | "right";
|
|
285
287
|
}
|
|
286
288
|
declare function Switch({ labelPosition, children, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
287
289
|
|
|
288
290
|
declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
289
291
|
|
|
290
|
-
export { Button, ButtonGroup, Checkbox, CheckboxGroup, Footer, FooterLinks, Form, Header, InlineAlert, Select, SvgBcLogo, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon, SvgExclamationCircleIcon, SvgExclamationIcon, SvgInfoIcon, Switch, Tag, TagGroup, TagList, TextArea, TextField, Tooltip };
|
|
292
|
+
export { Button, ButtonGroup, Checkbox, CheckboxGroup, Footer, FooterLinks, Form, Header, InlineAlert, Select, SvgBcLogo, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon, SvgExclamationCircleIcon, SvgExclamationIcon, SvgInfoIcon, SvgTooltipArrowUp, Switch, Tag, TagGroup, TagList, TextArea, TextField, Tooltip };
|