@bcrumbs.net/bc-ui 0.0.8 → 0.0.9
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/index.esm.d.ts +1 -1
- package/index.esm.js +2136 -1273
- package/package.json +1 -1
- package/src/index.d.ts +2 -0
- package/src/lib/baseComponents/alert-dialog.d.ts +4 -1
- package/src/lib/baseComponents/checkbox.d.ts +8 -0
- package/src/lib/button/types.d.ts +1 -7
- package/src/lib/constants/Color.d.ts +55 -82
- package/src/lib/icon/bcicon.d.ts +18 -0
- package/src/lib/navigation/bcnavigation.d.ts +2 -1
- package/src/lib/newComponents/BCNewAlertDialog/types.d.ts +1 -0
- package/src/lib/newComponents/BCNewCheckBox/BCNewCheckBox.d.ts +4 -0
- package/src/lib/newComponents/BCNewCheckBox/types.d.ts +19 -0
- package/src/lib/newComponents/BCNewTable/types.d.ts +5 -0
- package/src/lib/tagDisplay/TagDisplay.d.ts +3 -0
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export * from './lib/newComponents/BCNewTable/types';
|
|
|
50
50
|
export * from './lib/newComponents/BCNewDropdown/types';
|
|
51
51
|
export * from './lib/newComponents/BCRadioGroupItem/types';
|
|
52
52
|
export * from './lib/baseComponents/radio-group';
|
|
53
|
+
export * from './lib/baseComponents/checkbox';
|
|
54
|
+
export * from './lib/newComponents/BCNewCheckBox/BCNewCheckBox';
|
|
53
55
|
export * from './lib/button/bcbutton';
|
|
54
56
|
export * from './lib/button/types';
|
|
55
57
|
export * from './lib/block/bcblock';
|
|
@@ -4,7 +4,10 @@ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
|
4
4
|
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
6
6
|
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
|
|
7
|
+
interface AlertDialogContentProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> {
|
|
8
|
+
onOverlayClick?: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
11
|
declare const AlertDialogHeader: {
|
|
9
12
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
13
|
displayName: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
3
|
+
import { SerializedStyles } from '@emotion/react';
|
|
4
|
+
interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
5
|
+
css?: SerializedStyles;
|
|
6
|
+
}
|
|
7
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export { Checkbox };
|
|
@@ -9,11 +9,5 @@ export declare enum ButtonType {
|
|
|
9
9
|
GHOST = "ghost",
|
|
10
10
|
DANGER = "danger",
|
|
11
11
|
DANGER_LIGHT = "dangerLight",
|
|
12
|
-
GREEN = "green"
|
|
13
|
-
BURNING_ORANGE = "burningOrange",
|
|
14
|
-
COLD_FUSION = "coldFusion",
|
|
15
|
-
COLD_FUSION01 = "coldFusion01",
|
|
16
|
-
DAGOBAH_FOREST = "dagobahForest",
|
|
17
|
-
WHITE = "white",
|
|
18
|
-
BORDERED_WHITE = "bordered_white"
|
|
12
|
+
GREEN = "green"
|
|
19
13
|
}
|
|
@@ -1,101 +1,43 @@
|
|
|
1
|
-
export declare enum Color {
|
|
2
|
-
INHERIT = "inherit",
|
|
3
|
-
PRIMARY = "#006466",
|
|
4
|
-
PRIMARY_LIGHTER = "#95D5B2",
|
|
5
|
-
PRIMARY_DARKER = "#065A60",
|
|
6
|
-
SECONDARY = "#4e4f4f",
|
|
7
|
-
SECONDARY_LIGHT = "#9b9b9b",
|
|
8
|
-
SECONDARY_LIGHT_HOVER = "#191919",
|
|
9
|
-
LIGHT_COLOR = "#ccdbd5",
|
|
10
|
-
DANGER_COLOR = "#b52e2e",
|
|
11
|
-
SUCCESS_COLOR = "#2eb583",
|
|
12
|
-
CONTROLS_COLOR = "#fff",
|
|
13
|
-
FONT_COLOR = "#000",
|
|
14
|
-
ACCENT10 = "rgba(89, 111, 255, 0.1)",
|
|
15
|
-
PRIMARY90 = "rgba(0, 100, 102, 0.9)",
|
|
16
|
-
PRIMARY80 = "rgba(0, 100, 102, 0.8)",
|
|
17
|
-
PRIMARY60 = "rgba(0, 100, 102, 0.6)",
|
|
18
|
-
PRIMARY40 = "rgba(0, 100, 102, 0.4)",
|
|
19
|
-
PRIMARY30 = "rgba(0, 100, 102, 0.3)",
|
|
20
|
-
PRIMARY20 = "rgba(0, 100, 102, 0.2)",
|
|
21
|
-
PRIMARY10 = "rgba(0, 100, 102, 0.1)",
|
|
22
|
-
PRIMARY05 = "rgba(0, 100, 102, 0.05)",
|
|
23
|
-
PRIMARY_LIGHTER90 = "rgba(149, 213, 178, 0.9)",
|
|
24
|
-
PRIMARY_LIGHTER80 = "rgba(149, 213, 178, 0.8)",
|
|
25
|
-
PRIMARY_LIGHTER60 = "rgba(149, 213, 178, 0.6)",
|
|
26
|
-
PRIMARY_LIGHTER40 = "rgba(149, 213, 178, 0.4)",
|
|
27
|
-
PRIMARY_LIGHTER30 = "rgba(149, 213, 178, 0.3)",
|
|
28
|
-
PRIMARY_LIGHTER20 = "rgba(149, 213, 178, 0.2)",
|
|
29
|
-
PRIMARY_LIGHTER10 = "rgba(149, 213, 178, 0.1)",
|
|
30
|
-
PRIMARY_LIGHTER05 = "rgba(149, 213, 178, 0.05)",
|
|
31
|
-
SECONDARY90 = "rgb(106, 107, 131, 0.9)",
|
|
32
|
-
SECONDARY80 = "rgb(106, 107, 131, 0.8)",
|
|
33
|
-
SECONDARY70 = "rgb(106, 107, 131, 0.7)",
|
|
34
|
-
SECONDARY60 = "rgb(106, 107, 131, 0.6)",
|
|
35
|
-
SECONDARY50 = "rgb(106, 107, 131, 0.5)",
|
|
36
|
-
SECONDARY40 = "rgb(106, 107, 131, 0.4)",
|
|
37
|
-
SECONDARY30 = "rgb(106, 107, 131, 0.3)",
|
|
38
|
-
SECONDARY20 = "rgb(106, 107, 131, 0.2)",
|
|
39
|
-
SECONDARY10 = "rgb(106, 107, 131, 0.1)",
|
|
40
|
-
SECONDARY05 = "rgb(106, 107, 131, 0.05)",
|
|
41
|
-
GREY_LIGHT_BORDER = "#e4e4e4",
|
|
42
|
-
GREY_BORDER = "#D9D9D9",
|
|
43
|
-
GREY_TEXT_COLOR = "#727272",
|
|
44
|
-
PRIMARY_DARKER80 = "rgb(6, 90, 96, 0.8)",
|
|
45
|
-
DAGOBAH_FOREST = "#003333",
|
|
46
|
-
CHROME_ORANGE = "#FF9900",
|
|
47
|
-
CHROME_ORANGE20 = "rgba(255, 153, 0, 0.2)",
|
|
48
|
-
RED_HOT_HOOD = "#FF3300",
|
|
49
|
-
MR_WOLF = "#330033",
|
|
50
|
-
RED_HOT_HOOD50 = "rgba(255,51,0,0.5)",
|
|
51
|
-
COLD_FUSION = "#6666FF",
|
|
52
|
-
BLUEBERRY = "#330066",
|
|
53
|
-
HOT_MAGENTA = "#FF3366",
|
|
54
|
-
BURNING_ORANGE = "#FF6600",
|
|
55
|
-
LEMON_YELLOW = "#FFCC00",
|
|
56
|
-
LASER_YELLOW = "#FFFF00",
|
|
57
|
-
KRYPTONITE_GREEN = "#CCFF00",
|
|
58
|
-
GREEN = "#66FF66",
|
|
59
|
-
DARK_GREEN = "#148643",
|
|
60
|
-
CRAZY_CYAN = "#66FFFF",
|
|
61
|
-
EXOPLANET_BLUE = "#66CCFF",
|
|
62
|
-
DARK_BLUE = "#457578",
|
|
63
|
-
LIGHT_BLUE = "#e0f3e8",
|
|
64
|
-
PURPLE = "#9999FF",
|
|
65
|
-
PURPLE_RAIN = "#9966FF",
|
|
66
|
-
VIOLET = "#CC66FF",
|
|
67
|
-
AEROSMITH_PINK = "#FF66FF",
|
|
68
|
-
WARNING_DOWNLOAD = "rgba(255, 153, 0, 0.1)",
|
|
69
|
-
GREY_WHITE = "#f0f1f5",
|
|
70
|
-
SLIDER_DOT = "#dededf",
|
|
71
|
-
ASSETS_PLAN_COLOR = "#35354C"
|
|
72
|
-
}
|
|
73
1
|
export declare enum NewColors {
|
|
74
2
|
PRIMARY = "var(--bc-primary)",
|
|
3
|
+
PRIMARY60 = "var(--bc-primary-60)",
|
|
4
|
+
PRIMARY40 = "var(--bc-primary-40)",
|
|
5
|
+
PRIMARY30 = "var(--bc-primary-30)",
|
|
6
|
+
PRIMARY20 = "var(--bc-primary-20)",
|
|
7
|
+
PRIMARY10 = "var(--bc-primary-10)",
|
|
8
|
+
PRIMARY05 = "var(--bc-primary-05)",
|
|
75
9
|
PRIMARY_400 = "var(--bc-primary-400)",
|
|
76
10
|
PRIMARY_FOREGROUND = "var(--bc-primary-foreground)",
|
|
77
11
|
PRIMARY_LIGHTER = "var(--bc-primary-lighter)",
|
|
78
|
-
PRIMARY_BORDER = "var(--
|
|
12
|
+
PRIMARY_BORDER = "var(--bc-primary-border)",
|
|
79
13
|
PRIMARY_DARKER = "var(--bc-primary-darker)",
|
|
14
|
+
PRIMARY_DARKER_2 = "var(--bc-primary-darker-2)",
|
|
80
15
|
PRIMARY_PARAGRAPH = "var(--bc-primary-paragraph)",
|
|
81
16
|
INBOX_BACKGROUND = "var(--bc-inbox-background)",
|
|
82
17
|
BACKGROUND_DARKER = "var(--bc-background-darker)",
|
|
83
|
-
INFO_COLOR = "var(--
|
|
18
|
+
INFO_COLOR = "var(--bc-info)",
|
|
19
|
+
INFO_LIGHT = "var(--bc-info-light)",
|
|
20
|
+
FONT_COLOR = "#000",
|
|
84
21
|
SECONDARY = "var(--bc-secondary)",
|
|
85
22
|
SECONDARY_HOVER = "var(--bc-secondary-hover)",
|
|
86
23
|
SECONDARY_FOREGROUND = "var(--bc-secondary-foreground)",
|
|
87
24
|
SECONDARY_LIGHT = "var(--bc-secondary-light)",
|
|
88
25
|
SECONDARY_NEUTRAL = " var(--Border-border-neutral-secondary, #E5E7EB)",
|
|
89
26
|
SECONDARY_HEADING = "var(--Secondary-Color-Heading, #3F434A)",
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
27
|
+
DARK = "var(--bc-dark)",
|
|
28
|
+
GRAY = "var(--bc-gray)",
|
|
29
|
+
DISABLED = "var(--bc-disabled)",
|
|
93
30
|
LIGHT_COLOR = "var(--bc-light-color)",
|
|
94
31
|
DANGER = "var(--bc-danger)",
|
|
95
32
|
DANGER_FOREGROUND = "var(--bc-danger-foreground)",
|
|
96
33
|
DANGER_DARKER = "var(--bc-danger-darker)",
|
|
97
34
|
DANGER_ALERT = "var(--bc-danger-alert)",
|
|
98
35
|
DANGER_LIGHT = "var(--bc-danger-light)",
|
|
36
|
+
SUCCESS = "var(--bc-success)",
|
|
37
|
+
SUCCESS_DARKER = "var(--bc-success-darker)",
|
|
38
|
+
DROPDOWN_ITEM = "var(--bc-dropDown-item)",
|
|
39
|
+
DROPDOWN_HOVER = "var(--bc-dropDown-hover)",
|
|
40
|
+
SUB_SIDEBAR_TITLE = "var(--bc-sub-sidebar-title)",
|
|
99
41
|
MUTED = "var(--bc-muted)",
|
|
100
42
|
MUTED_FOREGROUND = "var(--bc-muted-foreground)",
|
|
101
43
|
ACTIVE_COLOR = "var(--bc-active-color)",
|
|
@@ -104,8 +46,6 @@ export declare enum NewColors {
|
|
|
104
46
|
ALTERNATIVE_FOREGROUND = "var(--bc-alternative-foreground)",
|
|
105
47
|
BORDER_COLOR = "var(--bc-border-color)",
|
|
106
48
|
SECONDARY_BORDER = "var(--bc-secondary-border)",
|
|
107
|
-
SUCCESS = "var(--bc-success)",
|
|
108
|
-
SUCCESS_DARKER = "var(--bc-success-darker)",
|
|
109
49
|
CONTROLS = "var(--bc-controls)",
|
|
110
50
|
FOREGROUND = "var(--bc-foreground)",
|
|
111
51
|
BACKGROUND = "var(--bc-background)",
|
|
@@ -118,7 +58,40 @@ export declare enum NewColors {
|
|
|
118
58
|
CARD_HOVER_LIGHT = "var(--bc-card-hover-light)",
|
|
119
59
|
TAG_BACKGROUND = "var(--bc-tag-background)",
|
|
120
60
|
TAG_COLOR = "var(--bc-tag-color)",
|
|
121
|
-
|
|
122
|
-
|
|
61
|
+
DARK_BLUE = "#457578",
|
|
62
|
+
LIGHT_BLUE = "#e0f3e8",
|
|
63
|
+
ACCENT10 = "rgba(89, 111, 255, 0.1)",
|
|
64
|
+
CONTROLS_COLOR = "#fff",
|
|
65
|
+
GREY_BORDER = "#D9D9D9",
|
|
66
|
+
GREY_TEXT_COLOR = "#727272",
|
|
67
|
+
GREY_LIGHT_BORDER = "#e4e4e4",
|
|
68
|
+
WARNING_DOWNLOAD = "rgba(255, 153, 0, 0.1)",
|
|
69
|
+
GREY_WHITE = "#f0f1f5",
|
|
70
|
+
SECONDARY80 = "rgb(106, 107, 131, 0.8)",
|
|
71
|
+
SECONDARY70 = "rgb(106, 107, 131, 0.7)",
|
|
72
|
+
SECONDARY50 = "rgb(106, 107, 131, 0.5)",
|
|
73
|
+
SECONDARY40 = "rgb(106, 107, 131, 0.4)",
|
|
74
|
+
SECONDARY30 = "rgb(106, 107, 131, 0.3)",
|
|
75
|
+
SECONDARY20 = "rgb(106, 107, 131, 0.2)",
|
|
76
|
+
SECONDARY10 = "rgb(106, 107, 131, 0.1)",
|
|
77
|
+
SECONDARY05 = "rgb(106, 107, 131, 0.05)",
|
|
78
|
+
COLD_FUSION = "#6666FF",
|
|
79
|
+
BLUEBERRY = "#330066",
|
|
80
|
+
HOT_MAGENTA = "#FF3366",
|
|
81
|
+
BURNING_ORANGE = "#FF6600",
|
|
82
|
+
LEMON_YELLOW = "#FFCC00",
|
|
83
|
+
KRYPTONITE_GREEN = "#CCFF00",
|
|
84
|
+
GREEN = "#66FF66",
|
|
85
|
+
CRAZY_CYAN = "#66FFFF",
|
|
86
|
+
EXOPLANET_BLUE = "#66CCFF",
|
|
87
|
+
PURPLE = "#9999FF",
|
|
88
|
+
PURPLE_RAIN = "#9966FF",
|
|
89
|
+
VIOLET = "#CC66FF",
|
|
90
|
+
AEROSMITH_PINK = "#FF66FF",
|
|
91
|
+
RED_HOT_HOOD = "#FF3300",
|
|
92
|
+
MR_WOLF = "#330033",
|
|
93
|
+
DAGOBAH_FOREST = "#003333",
|
|
94
|
+
CHROME_ORANGE = "#FF9900"
|
|
123
95
|
}
|
|
124
|
-
export default
|
|
96
|
+
export default NewColors;
|
|
97
|
+
export { NewColors as Color };
|
package/src/lib/icon/bcicon.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare const BCIcons: {
|
|
|
36
36
|
ContactBook: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
37
37
|
Contact: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
38
38
|
ContactLifeCycle: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
39
|
+
LinkedAgent: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
39
40
|
MirroringScreen: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
40
41
|
Managemnet: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
42
|
Agents: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -45,6 +46,7 @@ export declare const BCIcons: {
|
|
|
45
46
|
Webhooks: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
46
47
|
ConvLifecycle: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
47
48
|
Channels: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
49
|
+
Flag: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
48
50
|
RatingSettings: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
49
51
|
CrumbySettings: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
50
52
|
CrumbyAIIcon: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -57,6 +59,7 @@ export declare const BCIcons: {
|
|
|
57
59
|
LeadingClose: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
58
60
|
LeadingOpen: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
59
61
|
Upload: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
62
|
+
Import: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
60
63
|
Close: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
61
64
|
Text: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
62
65
|
Website: ({ width, height, fill }: BCIconsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -306,4 +309,19 @@ export declare const BCIcons: {
|
|
|
306
309
|
height?: number | undefined;
|
|
307
310
|
fill?: string | undefined;
|
|
308
311
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
312
|
+
CancelDialogIcon: ({ width, height, fill }: {
|
|
313
|
+
width?: number | undefined;
|
|
314
|
+
height?: number | undefined;
|
|
315
|
+
fill?: string | undefined;
|
|
316
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
317
|
+
CheckBoxIcon: ({ width, height, fill }: {
|
|
318
|
+
width?: number | undefined;
|
|
319
|
+
height?: number | undefined;
|
|
320
|
+
fill?: string | undefined;
|
|
321
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
322
|
+
InboxAccessIcon: ({ width, height, fill }: {
|
|
323
|
+
width?: number | undefined;
|
|
324
|
+
height?: number | undefined;
|
|
325
|
+
fill?: string | undefined;
|
|
326
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
309
327
|
};
|
|
@@ -10,10 +10,11 @@ export interface BCNavigationProps {
|
|
|
10
10
|
hasSubMenu?: boolean;
|
|
11
11
|
customSubSidebar?: React.ReactNode;
|
|
12
12
|
customSidebarTitle?: string;
|
|
13
|
+
solidMenuColor: boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const SubMenu: import("@emotion/styled").StyledComponent<{
|
|
15
16
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
17
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
18
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
-
export declare const BCNavigation: ({ brand, navModel, handleLeftNavItemClick, location, rtl, activeItem, hasSubMenu, customSubSidebar, customSidebarTitle, }: BCNavigationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const BCNavigation: ({ brand, navModel, handleLeftNavItemClick, location, rtl, activeItem, hasSubMenu, customSubSidebar, customSidebarTitle, solidMenuColor, }: BCNavigationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
20
|
export default BCNavigation;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SerializedStyles } from '@emotion/react';
|
|
2
|
+
export interface BCCheckBoxProps {
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
defaultChecked?: boolean;
|
|
5
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
value?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
label?: string;
|
|
11
|
+
size?: 'sm' | 'md' | 'lg';
|
|
12
|
+
containerCss?: SerializedStyles;
|
|
13
|
+
checkboxCss?: SerializedStyles;
|
|
14
|
+
labelCss?: SerializedStyles;
|
|
15
|
+
wrapperCss?: SerializedStyles;
|
|
16
|
+
className?: string;
|
|
17
|
+
showWrapper?: boolean;
|
|
18
|
+
id?: string;
|
|
19
|
+
}
|
|
@@ -10,6 +10,11 @@ export type RTableProps = {
|
|
|
10
10
|
setFinishedOperation?: (value: string | null | number) => void;
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
tableHeight?: string;
|
|
13
|
+
enableRowSelection?: boolean;
|
|
14
|
+
selectedRowIds?: string[];
|
|
15
|
+
onRowSelect?: (rowId: string, selected: boolean) => void;
|
|
16
|
+
onSelectAll?: (selected: boolean) => void;
|
|
17
|
+
getRowId?: (row: any) => string;
|
|
13
18
|
};
|
|
14
19
|
export type TableRecords = {
|
|
15
20
|
columns: CustomColumn[];
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
export declare const StateToColorMap: Record<string, string>;
|
|
3
|
+
export declare const StateToBackgroundColorMap: Record<string, string>;
|
|
4
|
+
export declare const StateToBorderColorMap: Record<string, string>;
|
|
2
5
|
interface TagDisplayProps {
|
|
3
6
|
value: string[];
|
|
4
7
|
}
|