@banyan_cloud/roots 2.0.0 → 2.0.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.
@@ -0,0 +1,9 @@
1
+ type Size = 'sm' | 'md';
2
+ interface DisplayPictureProps {
3
+ name: string;
4
+ className?: string;
5
+ url: string;
6
+ size?: Size;
7
+ }
8
+ declare const DisplayPicture: (props: DisplayPictureProps) => React.ReactElement;
9
+ export default DisplayPicture;
@@ -0,0 +1 @@
1
+ export { default as DisplayPicture } from './DisplayPicture';
@@ -0,0 +1,33 @@
1
+ export * from './accordion';
2
+ export * from './alert';
3
+ export * from './alertV2';
4
+ export * from './breadcrumbs';
5
+ export * from './breadcrumbsv2';
6
+ export * from './buttons';
7
+ export * from './callout';
8
+ export * from './cell';
9
+ export * from './charts';
10
+ export * from './chartsV2';
11
+ export * from './codeSnippet';
12
+ export * from './datePicker';
13
+ export * from './displayPicture';
14
+ export * from './hierarchy';
15
+ export * from './icons';
16
+ export * from './input';
17
+ export * from './link';
18
+ export * from './modal';
19
+ export * from './modal/dialogBox';
20
+ export * from './pageHeader';
21
+ export * from './paginationv2';
22
+ export * from './popover';
23
+ export * from './popper';
24
+ export * from './sidePanel';
25
+ export * from './skeleton';
26
+ export * from './stepper';
27
+ export * from './table';
28
+ export * from './tableV2';
29
+ export * from './tabs';
30
+ export * from './text';
31
+ export * from './Toggle';
32
+ export * from './tooltip';
33
+ export * from './widget';
@@ -0,0 +1,18 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type Variant = 'h1' | 'h2' | 'b1' | 'b2' | 'b3';
3
+ type ComponentType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'a';
4
+ type Stroke = 'regular' | 'medium' | 'semibold' | 'bold';
5
+ type FontWeight = 100 | 200 | 300 | 400 | 500 | 600;
6
+ interface TextProps {
7
+ variant?: Variant;
8
+ component?: ComponentType;
9
+ stroke?: Stroke;
10
+ weight?: FontWeight;
11
+ italic?: boolean;
12
+ underline?: boolean;
13
+ children?: React.ReactNode;
14
+ className?: string;
15
+ attrs?: HTMLAttributes<HTMLElement>;
16
+ }
17
+ declare const Text: import("react").ForwardRefExoticComponent<TextProps & import("react").RefAttributes<HTMLElement>>;
18
+ export default Text;
@@ -0,0 +1 @@
1
+ export { default as Text } from './Text';