@bcgov/design-system-react-components 0.2.2-rc1 → 0.2.2

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,3 +1,2 @@
1
1
  import { FormProps as ReactAriaFormProps } from "react-aria-components";
2
- export type FormProps = ReactAriaFormProps;
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 "./Form";
2
+ export type { FormProps } from "react-aria-components";
@@ -0,0 +1,3 @@
1
+ export default function SvgTooltipArrowUp({ id }: {
2
+ id?: string | undefined;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -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 as FormProps$1, 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';
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcgov/design-system-react-components",
3
- "version": "0.2.2-rc1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "rollup": "rm -rf dist && rollup -c --bundleConfigAsCjs",