@bcgov/design-system-react-components 0.5.2-pr605 → 0.5.2-pr611
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 +2155 -132
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +2150 -132
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +29 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { DisclosureProps, DisclosureGroupProps, DialogProps as DialogProps$1, ButtonProps as ButtonProps$1, CheckboxProps, CheckboxGroupProps as CheckboxGroupProps$1, ValidationResult, FormProps, HeadingProps as HeadingProps$1, LinkProps as LinkProps$1, ModalOverlayProps, RadioProps, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, ListBoxItemProps as ListBoxItemProps$1, Key, TagProps as TagProps$1, TagGroupProps as TagGroupProps$1, TagListProps as TagListProps$1, TextProps as TextProps$1, TextFieldProps as TextFieldProps$1, SwitchProps as SwitchProps$1, TooltipProps } from 'react-aria-components';
|
|
2
|
+
import { DisclosureProps, DisclosureGroupProps, DialogProps as DialogProps$1, ButtonProps as ButtonProps$1, CheckboxProps, CheckboxGroupProps as CheckboxGroupProps$1, ValidationResult, FormProps, HeadingProps as HeadingProps$1, LinkProps as LinkProps$1, ModalOverlayProps, RadioProps, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, ListBoxItemProps as ListBoxItemProps$1, Key, TagProps as TagProps$1, TagGroupProps as TagGroupProps$1, TagListProps as TagListProps$1, TextProps as TextProps$1, TextFieldProps as TextFieldProps$1, SwitchProps as SwitchProps$1, TooltipProps, NumberFieldProps as NumberFieldProps$1 } from 'react-aria-components';
|
|
3
3
|
export { DialogTrigger, TooltipTrigger } from 'react-aria-components';
|
|
4
4
|
import { PropsWithChildren } from 'react';
|
|
5
5
|
|
|
@@ -284,7 +284,7 @@ declare function SvgCheckCircleIcon({ id }: {
|
|
|
284
284
|
id?: string | undefined;
|
|
285
285
|
}): react_jsx_runtime.JSX.Element;
|
|
286
286
|
|
|
287
|
-
declare function SvgDashIcon({ id }: {
|
|
287
|
+
declare function SvgDashIcon$1({ id }: {
|
|
288
288
|
id?: string | undefined;
|
|
289
289
|
}): react_jsx_runtime.JSX.Element;
|
|
290
290
|
|
|
@@ -312,10 +312,28 @@ declare function SvgInfoIcon({ id }: {
|
|
|
312
312
|
id?: string | undefined;
|
|
313
313
|
}): react_jsx_runtime.JSX.Element;
|
|
314
314
|
|
|
315
|
+
declare function SvgDashIcon({ id }: {
|
|
316
|
+
id?: string | undefined;
|
|
317
|
+
}): react_jsx_runtime.JSX.Element;
|
|
318
|
+
|
|
319
|
+
declare function SvgPlusIcon({ id }: {
|
|
320
|
+
id?: string | undefined;
|
|
321
|
+
}): react_jsx_runtime.JSX.Element;
|
|
322
|
+
|
|
315
323
|
declare function SvgTooltipArrowUp({ id }: {
|
|
316
324
|
id?: string | undefined;
|
|
317
325
|
}): react_jsx_runtime.JSX.Element;
|
|
318
326
|
|
|
327
|
+
interface SvgUpRightFromSquareIconProps {
|
|
328
|
+
size?: 16 | 20;
|
|
329
|
+
id?: string;
|
|
330
|
+
}
|
|
331
|
+
declare function SvgUpRightFromSquareIcon({ size, id, }: SvgUpRightFromSquareIconProps): react_jsx_runtime.JSX.Element;
|
|
332
|
+
|
|
333
|
+
declare function SvgReactAriaIcon({ id }: {
|
|
334
|
+
id?: string | undefined;
|
|
335
|
+
}): react_jsx_runtime.JSX.Element;
|
|
336
|
+
|
|
319
337
|
interface TagProps extends TagProps$1 {
|
|
320
338
|
/**
|
|
321
339
|
* Icon that appears to the left of the `textValue` field
|
|
@@ -392,4 +410,12 @@ declare function Switch({ labelPosition, children, ...props }: SwitchProps): rea
|
|
|
392
410
|
|
|
393
411
|
declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
394
412
|
|
|
395
|
-
|
|
413
|
+
interface NumberFieldProps extends NumberFieldProps$1 {
|
|
414
|
+
size?: "small" | "medium";
|
|
415
|
+
label?: string;
|
|
416
|
+
description?: string;
|
|
417
|
+
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
418
|
+
}
|
|
419
|
+
declare function NumberField({ size, label, description, errorMessage, ...props }: NumberFieldProps): react_jsx_runtime.JSX.Element;
|
|
420
|
+
|
|
421
|
+
export { Accordion, AccordionGroup, AlertBanner, AlertDialog, Button, ButtonGroup, Callout, Checkbox, CheckboxGroup, Dialog, Footer, FooterLinks, Form, Header, Heading, InlineAlert, Link, Modal, NumberField, Radio, RadioGroup, Select, SvgBcLogo, SvgBcOutlineIcon, SvgBetaIcon, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon$1 as SvgDashIcon, SvgExclamationCircleIcon, SvgExclamationIcon, SvgInfoIcon, SvgDashIcon as SvgMinusIcon, SvgPlusIcon, SvgReactAriaIcon, SvgTooltipArrowUp, SvgUpRightFromSquareIcon, Switch, Tag, TagGroup, TagList, Text, TextArea, TextField, Tooltip };
|