@theroutingcompany/components 0.0.33-alpha.4 → 0.0.33-alpha.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theroutingcompany/components",
3
- "version": "0.0.33-alpha.4",
3
+ "version": "0.0.33-alpha.6",
4
4
  "description": "The Routing Company Components",
5
5
  "main": "./dist/trc-components.umd.js",
6
6
  "module": "./dist/trc-components.es.js",
@@ -5,11 +5,11 @@ declare const INFO_VARIANT = "info";
5
5
  declare const SUCCESS_VARIANT = "success";
6
6
  declare const WARNING_VARIANT = "warning";
7
7
  declare const ERROR_VARIANT = "danger";
8
- export type Variant = typeof DEFAULT_VARIANT | typeof INFO_VARIANT | typeof SUCCESS_VARIANT | typeof WARNING_VARIANT | typeof ERROR_VARIANT;
8
+ export type BannerVariant = typeof DEFAULT_VARIANT | typeof INFO_VARIANT | typeof SUCCESS_VARIANT | typeof WARNING_VARIANT | typeof ERROR_VARIANT;
9
9
  interface BannerProps extends React.ComponentPropsWithRef<'div'> {
10
10
  'data-id'?: string;
11
11
  title?: string;
12
- variant?: Variant;
12
+ variant?: BannerVariant;
13
13
  layout?: 'default' | 'inline';
14
14
  onDismiss?: (any: any) => void;
15
15
  }
@@ -1,5 +1,5 @@
1
- import type { Variant } from "./Banner";
1
+ import type { BannerVariant } from "./Banner";
2
2
  export declare function dismissBase(): string;
3
3
  export declare function dismissColor(props: {
4
- variant: Variant;
4
+ variant: BannerVariant;
5
5
  }): string;
@@ -23,19 +23,15 @@ export declare const TextAreaFormControl: import("react").ForwardRefExoticCompon
23
23
  } & ComponentPropsWithoutStyles<"textarea"> & {
24
24
  label?: ReactNode;
25
25
  pattern?: string | undefined;
26
- type?: "search" | "text" | (string & {}) | "tel" | "url" | "email" | "password" | undefined;
27
- name?: string | undefined;
28
- defaultValue?: string | undefined;
29
- autoFocus?: boolean | undefined;
30
26
  id?: string | undefined;
31
- placeholder?: string | undefined;
32
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
27
+ name?: string | undefined;
28
+ type?: "search" | "text" | (string & {}) | "tel" | "url" | "email" | "password" | undefined;
33
29
  'aria-activedescendant'?: string | undefined;
34
30
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
35
31
  'aria-describedby'?: string | undefined;
36
32
  'aria-details'?: string | undefined;
37
33
  'aria-errormessage'?: string | undefined;
38
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
34
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
39
35
  'aria-label'?: string | undefined;
40
36
  'aria-labelledby'?: string | undefined;
41
37
  onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
@@ -52,6 +48,10 @@ export declare const TextAreaFormControl: import("react").ForwardRefExoticCompon
52
48
  onKeyDown?: ((e: import("@react-types/shared").KeyboardEvent) => void) | undefined;
53
49
  onKeyUp?: ((e: import("@react-types/shared").KeyboardEvent) => void) | undefined;
54
50
  onSelect?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
51
+ defaultValue?: string | undefined;
52
+ autoFocus?: boolean | undefined;
53
+ placeholder?: string | undefined;
54
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
55
55
  disabled?: boolean | undefined;
56
56
  value?: string | undefined;
57
57
  autoComplete?: string | undefined;
@@ -1,43 +1,44 @@
1
1
  export * from './AccessibleIcon/AccessibleIcon';
2
- export * from './AlertDialog/AlertDialog';
3
2
  export * from './Accordion';
3
+ export * from './AlertDialog/AlertDialog';
4
4
  export * from './Badge/Badge';
5
- export * from './ComboBox';
5
+ export * from './Banner/Banner';
6
6
  export * from './Box';
7
- export * from './Stack/Stack';
8
7
  export * from './Breadcrumbs/Breadcrumbs';
9
- export * from './Button/ButtonBase';
10
8
  export * from './Button/Button';
9
+ export * from './Button/ButtonBase';
11
10
  export * from './ButtonV2/ButtonV2';
12
11
  export * from './Calendar';
13
- export * from './Drawer';
14
12
  export * from './Checkbox/Checkbox';
13
+ export * from './ComboBox';
15
14
  export * from './Dialog/Dialog';
15
+ export * from './Drawer';
16
16
  export * from './DropdownMenu/DropdownMenu';
17
17
  export * from './Fieldset/Fieldset';
18
18
  export * from './FileUpload/FileUpload';
19
19
  export * from './Flex/Flex';
20
20
  export * from './FormControl/FormControl';
21
+ export * from './IconButton/IconButton';
22
+ export * from './Input/InlineEdit/InlineEdit';
21
23
  export * from './Input/NumberInput/NumberInput';
22
24
  export * from './Input/TextInput/TextInput';
23
- export * from './Input/InlineEdit/InlineEdit';
24
25
  export * from './Input/TimeInput/TimeInput';
25
26
  export * from './Label/Label';
26
27
  export * from './LabeledText';
27
28
  export * from './MultiSelect/MultiSelect';
28
29
  export * from './NavigationMenu/NavigationMenu';
29
- export * from './Panel/Panel';
30
30
  export * from './Page/Page';
31
31
  export * from './Page/PageHeader';
32
32
  export * from './Paginator/Paginator';
33
+ export * from './Panel/Panel';
33
34
  export * from './Popover/Popover';
34
35
  export * from './RadioGroup/RadioGroup';
35
36
  export * from './Search/Search';
36
37
  export * from './SingleSelect/SingleSelect';
38
+ export * from './Stack/Stack';
37
39
  export * from './Switch/Switch';
38
- export * from './IconButton/IconButton';
39
- export * from './Tabs/Tabs';
40
40
  export * from './TabList/TabList';
41
+ export * from './Tabs/Tabs';
41
42
  export * from './Text/Text';
42
43
  export * from './Title/Title';
43
44
  export * from './Toast/Toast';