jamespot-react-components 1.0.123 → 1.0.124
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/build/jamespot-react-components.js +186 -191
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Templates/JRCAppColumn.d.ts +1 -1
- package/build/src/components/Templates/JRCColumn.d.ts +1 -1
- package/build/src/components/Templates/template.styles.d.ts +9 -3
- package/build/src/components/Templates/template.type.d.ts +8 -1
- package/build/src/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { JRCAppColumnProps } from './template.type';
|
|
3
|
-
export declare function JRCAppColumn({ description, activeTab, tabs, ...props }: JRCAppColumnProps): JSX.Element;
|
|
3
|
+
export declare function JRCAppColumn({ description, activeTab, tabs, mode, ...props }: JRCAppColumnProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { JRCColumnProps } from './template.type';
|
|
3
|
-
export declare function JRCColumn({ children, position, ...props }: JRCColumnProps): JSX.Element;
|
|
3
|
+
export declare function JRCColumn({ children, mode, position, open, ...props }: JRCColumnProps): JSX.Element;
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import { JRCColumn } from './JRCColumn';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { Closing, Open } from './template.type';
|
|
3
|
+
import type { Closing, Open, LayoutMode, ColumnPosition } from './template.type';
|
|
4
4
|
export declare const ScrollWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const MaxWidthWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
5
|
+
export declare const MaxWidthWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
6
|
+
mode: LayoutMode;
|
|
7
|
+
}, never>;
|
|
6
8
|
export declare const BaseColumn: import("styled-components").StyledComponent<"div", any, {
|
|
7
9
|
width: number;
|
|
10
|
+
position?: ColumnPosition | undefined;
|
|
11
|
+
open: boolean;
|
|
8
12
|
}, never>;
|
|
9
13
|
export declare const StickyColWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
-
|
|
14
|
+
mode: LayoutMode;
|
|
15
|
+
position?: ColumnPosition | undefined;
|
|
11
16
|
padding: string;
|
|
12
17
|
}, never>;
|
|
13
18
|
export declare const MainColumn: import("styled-components").StyledComponent<typeof JRCColumn, any, {}, never>;
|
|
@@ -307,6 +312,7 @@ export declare const AppTab: import("styled-components").StyledComponent<"button
|
|
|
307
312
|
export declare const AppTabTooltip: import("styled-components").StyledComponent<({ condition, hasLicense, tooltip, children, className, }: import("../Common/JRCConditionalWrapper").JRCConditionalTooltipProps) => JSX.Element, any, {}, never>;
|
|
308
313
|
export declare const EllipsisWrapper: import("styled-components").StyledComponent<"span", any, Open, never>;
|
|
309
314
|
export declare const AppTabCounter: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
315
|
+
export declare const AppTabEllipsisLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
310
316
|
export declare const AppTabNav: import("styled-components").StyledComponent<"nav", any, Open & {
|
|
311
317
|
extraMargin: boolean;
|
|
312
318
|
}, never>;
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
export declare type LayoutMode = 'fluid' | 'center';
|
|
3
|
+
export declare type ColumnPosition = 'left' | 'right' | 'panel';
|
|
2
4
|
export declare type JRCContainerProps = {
|
|
3
5
|
children: React.ReactNode;
|
|
4
6
|
className?: string;
|
|
7
|
+
mode?: LayoutMode;
|
|
5
8
|
};
|
|
6
9
|
export declare type JRCColumnProps = {
|
|
7
10
|
children: React.ReactNode;
|
|
8
11
|
className?: string;
|
|
9
12
|
width?: number;
|
|
10
13
|
padding?: string;
|
|
11
|
-
|
|
14
|
+
mode?: LayoutMode;
|
|
15
|
+
position?: ColumnPosition;
|
|
16
|
+
open?: boolean;
|
|
12
17
|
};
|
|
13
18
|
export declare type JRCMainColumnProps = {
|
|
14
19
|
children: React.ReactNode;
|
|
15
20
|
className?: string;
|
|
21
|
+
mode?: LayoutMode;
|
|
16
22
|
padding?: string;
|
|
17
23
|
};
|
|
18
24
|
export declare type JRCTabEntry = {
|
|
@@ -33,6 +39,7 @@ export declare type JRCAppTabsProps = {
|
|
|
33
39
|
};
|
|
34
40
|
export declare type JRCAppColumnProps = Partial<JRCAppTabsProps> & {
|
|
35
41
|
className?: string;
|
|
42
|
+
mode?: LayoutMode;
|
|
36
43
|
description: {
|
|
37
44
|
icon: string;
|
|
38
45
|
color?: string;
|
package/build/src/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './components/Form/Common/types';
|
|
2
2
|
export { JRCAlertProps } from './components/JRCAlert/JRCAlert';
|
|
3
|
-
export { JRCAppColumnProps, JRCAppTabsProps, TabEventProps, JRCTabEntry, JRCMainColumnProps, JRCColumnProps, JRCContainerProps, } from './components/Templates/template.type';
|
|
3
|
+
export { JRCAppColumnProps, JRCAppTabsProps, TabEventProps, JRCTabEntry, JRCMainColumnProps, JRCColumnProps, JRCContainerProps, LayoutMode, } from './components/Templates/template.type';
|
|
4
4
|
export { JRCAppContainerProps } from './components/JRCAppContainer/JRCAppContainer';
|
|
5
5
|
export { JRCAppHeaderProps } from './components/JRCAppHeader/JRCAppHeader.types';
|
|
6
6
|
export { JRCAppLeftColumnProps, SectionEntry } from './components/JRCAppLeftColumn/JRCAppLeftColumn.types';
|