@theroutingcompany/components 0.0.68 → 0.0.69
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/trc-components.es.js +1373 -1351
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +296 -293
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Panel/Panel.d.ts +8 -9
- package/types/components/Panel/styles.d.ts +8 -0
package/package.json
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { type BoxProps } from 'components/Box/Box';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
type
|
|
4
|
-
export
|
|
5
|
-
export declare const medium: import("styled-components").FlattenSimpleInterpolation;
|
|
6
|
-
export declare const large: import("styled-components").FlattenSimpleInterpolation;
|
|
7
|
-
export declare const getSize: (size: Size) => import("styled-components").FlattenSimpleInterpolation | undefined;
|
|
3
|
+
export type PanelSize = 'small' | 'medium' | 'large';
|
|
4
|
+
export type Variant = 'primary' | 'secondary';
|
|
8
5
|
export declare const StyledPanelBox: import("styled-components").StyledComponent<import("../..").ForwardRefComponent<"div", BoxProps>, any, Omit<BoxProps, "as"> & {
|
|
9
6
|
'data-id'?: string | undefined;
|
|
10
|
-
size?:
|
|
7
|
+
size?: PanelSize | undefined;
|
|
8
|
+
variant?: Variant | undefined;
|
|
11
9
|
}, never>;
|
|
12
10
|
export type PanelBoxProps = Omit<BoxProps, 'as'> & {
|
|
13
11
|
'data-id'?: string;
|
|
14
|
-
size?:
|
|
12
|
+
size?: PanelSize;
|
|
13
|
+
variant?: Variant;
|
|
15
14
|
};
|
|
16
15
|
export declare const Panel: React.ForwardRefExoticComponent<Omit<BoxProps, "as"> & {
|
|
17
16
|
'data-id'?: string | undefined;
|
|
18
|
-
size?:
|
|
17
|
+
size?: PanelSize | undefined;
|
|
18
|
+
variant?: Variant | undefined;
|
|
19
19
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PanelSize, Variant } from './Panel';
|
|
2
|
+
export declare const small: import("styled-components").FlattenSimpleInterpolation;
|
|
3
|
+
export declare const medium: import("styled-components").FlattenSimpleInterpolation;
|
|
4
|
+
export declare const large: import("styled-components").FlattenSimpleInterpolation;
|
|
5
|
+
export declare const getSize: (size: PanelSize) => import("styled-components").FlattenSimpleInterpolation | undefined;
|
|
6
|
+
export declare const primary: import("styled-components").FlattenSimpleInterpolation;
|
|
7
|
+
export declare const secondary: import("styled-components").FlattenSimpleInterpolation;
|
|
8
|
+
export declare const getVariant: (variant: Variant) => import("styled-components").FlattenSimpleInterpolation | undefined;
|