@theroutingcompany/components 0.0.30-alpha.4 → 0.0.30-alpha.5

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.30-alpha.4",
3
+ "version": "0.0.30-alpha.5",
4
4
  "description": "The Routing Company Components",
5
5
  "main": "./dist/trc-components.umd.js",
6
6
  "module": "./dist/trc-components.es.js",
@@ -1,5 +1,11 @@
1
- import type { ComboBoxProps } from "@react-types/combobox";
2
- export { Item, Section } from "@react-stately/collections";
1
+ import type { ComboBoxProps } from '@react-types/combobox';
2
+ import * as React from 'react';
3
3
  export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const Label: import("styled-components").StyledComponent<"label", any, {}, never>;
5
- export declare function ComboBox<T extends object>(props: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
4
+ declare function ComboBox<T extends object>(props: ComboBoxProps<T> & {
5
+ tooltipContent?: React.ReactNode;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare namespace ComboBox {
8
+ var Item: <T>(props: import("@react-types/shared").ItemProps<T>) => JSX.Element;
9
+ var Section: <T>(props: import("@react-types/shared").SectionProps<T>) => JSX.Element;
10
+ }
11
+ export default ComboBox;
@@ -0,0 +1,2 @@
1
+ export { default as ComboBox } from './ComboBox';
2
+ export * from './ComboBox';
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  export type ConnectProps = {
3
3
  children?: React.ReactNode;
4
4
  left?: React.ReactNode;
5
5
  right?: React.ReactNode;
6
- fullWidth?: boolean;
7
6
  tabIndex?: number;
7
+ height?: string;
8
8
  };
9
9
  declare const Connect: React.ForwardRefExoticComponent<ConnectProps & React.RefAttributes<HTMLDivElement>>;
10
10
  export default Connect;
@@ -2,6 +2,7 @@ export * from './AccessibleIcon/AccessibleIcon';
2
2
  export * from './AlertDialog/AlertDialog';
3
3
  export * from './Accordion';
4
4
  export * from './Badge/Badge';
5
+ export * from './ComboBox';
5
6
  export * from './Box';
6
7
  export * from './Stack/Stack';
7
8
  export * from './Breadcrumbs/Breadcrumbs';