qucoon-components 0.0.3 → 0.0.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/dist/index.cjs.js +150 -149
- package/dist/index.es.js +16618 -16005
- package/dist/style.css +1 -1
- package/dist/types/components/custom/StatusIndicator.d.ts +3 -1
- package/dist/types/components/ui/form/EnterAddressForm.d.ts +16 -0
- package/dist/types/components/ui/form/index.d.ts +2 -0
- package/dist/types/components/ui/select/BaseSelect.d.ts +1 -1
- package/dist/types/components/ui/table/BaseDataGrid.d.ts +9 -86
- package/dist/types/components/ui/table/hooks/index.d.ts +9 -0
- package/dist/types/components/ui/table/hooks/useCellCopy.d.ts +6 -0
- package/dist/types/components/ui/table/hooks/useDataGridDynamicStyles.d.ts +3 -0
- package/dist/types/components/ui/table/hooks/useDataGridTheme.d.ts +3 -0
- package/dist/types/components/ui/table/index.d.ts +2 -0
- package/dist/types/components/ui/table/renderers/StatusRenderer.d.ts +8 -4
- package/dist/types/components/ui/table/tablePanels/DefaultFilterPanel.d.ts +3 -0
- package/dist/types/components/ui/table/tablePanels/index.d.ts +2 -0
- package/dist/types/components/ui/table/types/index.d.ts +225 -0
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { StatusMap } from '..';
|
|
2
3
|
export type StatusIndicatorProps = {
|
|
3
|
-
status:
|
|
4
|
+
status: string;
|
|
4
5
|
size?: number;
|
|
5
6
|
className?: string;
|
|
6
7
|
style?: React.CSSProperties;
|
|
8
|
+
statusMap?: StatusMap;
|
|
7
9
|
};
|
|
8
10
|
declare const StatusIndicator: React.FC<StatusIndicatorProps>;
|
|
9
11
|
export default StatusIndicator;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormikValues } from 'formik';
|
|
2
|
+
import { Formik } from '../../../utilities/types';
|
|
3
|
+
import { HTMLAttributes } from 'react';
|
|
4
|
+
type EnterAddressFormProps<T extends FormikValues> = {
|
|
5
|
+
formik: Formik<T>;
|
|
6
|
+
countryInputName: string;
|
|
7
|
+
stateInputName: string;
|
|
8
|
+
cityInputName?: string;
|
|
9
|
+
localGovernmentInputName?: string;
|
|
10
|
+
streetAddressInputName?: string;
|
|
11
|
+
postalCodeInputName?: string;
|
|
12
|
+
manuallyInputCity?: boolean;
|
|
13
|
+
requiredFields?: string[];
|
|
14
|
+
} & React.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
15
|
+
declare const EnterAddressForm: <T extends FormikValues>({ formik, countryInputName, stateInputName, cityInputName, localGovernmentInputName, streetAddressInputName, postalCodeInputName, manuallyInputCity, requiredFields, }: EnterAddressFormProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default EnterAddressForm;
|
|
@@ -24,7 +24,7 @@ export type BaseSelectProps<T extends FormikValues> = {
|
|
|
24
24
|
name?: string;
|
|
25
25
|
formik?: Formik<T>;
|
|
26
26
|
selectOptions: BaseSelectOption[];
|
|
27
|
-
size?: "x-small" | "small" | "medium";
|
|
27
|
+
size?: "x-small" | "small" | "medium" | "large";
|
|
28
28
|
containerStyle?: React.CSSProperties;
|
|
29
29
|
selectInputProps?: React.SelectHTMLAttributes<HTMLSelectElement>;
|
|
30
30
|
};
|
|
@@ -1,91 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GridOptions } from 'ag-grid-community';
|
|
2
2
|
import { CSSProperties } from 'react';
|
|
3
3
|
import { DeleteActionRendererProps, EditActionRendererProps, HeaderControlsProps } from '../..';
|
|
4
4
|
import { ViewActionRendererProps } from './renderers/ViewActionRenderer';
|
|
5
|
-
|
|
6
|
-
field: string;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
onClick?: (data: any) => void;
|
|
9
|
-
path?: string;
|
|
10
|
-
isCurrency?: boolean;
|
|
11
|
-
isDate?: boolean;
|
|
12
|
-
statusIndicator?: "fail" | "success" | "normal";
|
|
13
|
-
sortable?: boolean;
|
|
14
|
-
filterable?: boolean;
|
|
15
|
-
filterType?: 'text' | 'number' | 'date' | 'select' | 'boolean';
|
|
16
|
-
filterOptions?: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: any;
|
|
19
|
-
}[];
|
|
20
|
-
filterPlaceholder?: string;
|
|
21
|
-
};
|
|
22
|
-
export type ServerSideParams = {
|
|
23
|
-
pageNumber: number;
|
|
24
|
-
pageSize: number;
|
|
25
|
-
search?: string;
|
|
26
|
-
sortBy?: string;
|
|
27
|
-
sortDir?: 'ASC' | 'DESC';
|
|
28
|
-
filters?: Record<string, any>;
|
|
29
|
-
dateFilters?: Record<string, {
|
|
30
|
-
from?: string;
|
|
31
|
-
to?: string;
|
|
32
|
-
}>;
|
|
33
|
-
};
|
|
34
|
-
export type FilterState = {
|
|
35
|
-
searchText: string;
|
|
36
|
-
columnFilters: Record<string, any>;
|
|
37
|
-
dateFilters: Record<string, {
|
|
38
|
-
from?: string;
|
|
39
|
-
to?: string;
|
|
40
|
-
}>;
|
|
41
|
-
sort: {
|
|
42
|
-
field: string;
|
|
43
|
-
direction: "ASC" | "DESC";
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export type FilterActions = {
|
|
47
|
-
setSearchText: (text: string) => void;
|
|
48
|
-
setColumnFilter: (field: string, value: any) => void;
|
|
49
|
-
setDateFilter: (field: string, range: {
|
|
50
|
-
from?: string;
|
|
51
|
-
to?: string;
|
|
52
|
-
}) => void;
|
|
53
|
-
setSort: (field: string, direction: "ASC" | "DESC") => void;
|
|
54
|
-
resetFilters: () => void;
|
|
55
|
-
applyFilters: () => void;
|
|
56
|
-
};
|
|
57
|
-
export type FilterPanelProps = FilterState & FilterActions & {
|
|
58
|
-
availableFields: Array<{
|
|
59
|
-
field: string;
|
|
60
|
-
label: string;
|
|
61
|
-
type: 'text' | 'select' | 'date';
|
|
62
|
-
options?: string[];
|
|
63
|
-
}>;
|
|
64
|
-
onClose?: () => void;
|
|
65
|
-
showGlobalSearch?: boolean;
|
|
66
|
-
showColumnFilters?: boolean;
|
|
67
|
-
showSortingControls?: boolean;
|
|
68
|
-
};
|
|
69
|
-
export type ServerSideOperations = "refresh" | "search" | "filter" | "sort" | "pagination";
|
|
70
|
-
export type ServerSideOperationsConfig = Partial<Record<ServerSideOperations, {
|
|
71
|
-
fetchRows?: (params: ServerSideParams) => Promise<DataGridRows>;
|
|
72
|
-
onFetchRowsSuccess?: (response: DataGridRows) => void;
|
|
73
|
-
onFetchRowsError?: (error: unknown) => void;
|
|
74
|
-
}>>;
|
|
75
|
-
export type DataGridRows<T = any> = {
|
|
76
|
-
data: T[];
|
|
77
|
-
pageNumber?: number;
|
|
78
|
-
pageSize?: number;
|
|
79
|
-
totalPages?: number;
|
|
80
|
-
totalRecords?: number;
|
|
81
|
-
};
|
|
82
|
-
export type DefaultPaginationConfig = {
|
|
83
|
-
isPageZeroIndexed?: boolean;
|
|
84
|
-
pageNumber?: number;
|
|
85
|
-
pageSize?: number;
|
|
86
|
-
totalRecords?: number;
|
|
87
|
-
totalPages?: number;
|
|
88
|
-
};
|
|
5
|
+
import { ColumnType, DataGridCustomization, DataGridRows, DefaultPaginationConfig, FilterPanelProps, ServerSideOperationsConfig, ServerSideParams } from './types';
|
|
89
6
|
export type BaseDataGridProps = {
|
|
90
7
|
title?: string;
|
|
91
8
|
uniqueRowId: string;
|
|
@@ -112,12 +29,18 @@ export type BaseDataGridProps = {
|
|
|
112
29
|
optionName: string;
|
|
113
30
|
onClick: (data: any) => void;
|
|
114
31
|
optionStyle?: CSSProperties;
|
|
115
|
-
}[]
|
|
32
|
+
}[] | ((rowData: any) => {
|
|
33
|
+
optionName: string;
|
|
34
|
+
onClick: (data: any) => void;
|
|
35
|
+
optionStyle?: CSSProperties;
|
|
36
|
+
}[]);
|
|
116
37
|
renderFilterPanel?: React.FC<FilterPanelProps>;
|
|
117
38
|
availableFilterFields?: FilterPanelProps["availableFields"];
|
|
118
39
|
defaultHeaderProps?: HeaderControlsProps;
|
|
119
40
|
defaultFilterPanelProps?: FilterPanelProps;
|
|
120
41
|
gridOptions?: GridOptions;
|
|
42
|
+
customization?: DataGridCustomization;
|
|
43
|
+
suppressDefaultStatusRenderer?: boolean;
|
|
121
44
|
};
|
|
122
45
|
declare const BaseDataGrid: import('react').MemoExoticComponent<(props: BaseDataGridProps) => import("react/jsx-runtime").JSX.Element>;
|
|
123
46
|
export default BaseDataGrid;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated barrel for src/components/ui/table/hooks
|
|
3
|
+
*/
|
|
4
|
+
export { default as useCellCopy } from './useCellCopy';
|
|
5
|
+
export * from './useCellCopy';
|
|
6
|
+
export { default as useDataGridDynamicStyles } from './useDataGridDynamicStyles';
|
|
7
|
+
export * from './useDataGridDynamicStyles';
|
|
8
|
+
export { default as useDataGridTheme } from './useDataGridTheme';
|
|
9
|
+
export * from './useDataGridTheme';
|
|
@@ -4,15 +4,19 @@ export type StatusMap = {
|
|
|
4
4
|
[status: string]: {
|
|
5
5
|
color: string;
|
|
6
6
|
backgroundColor: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
icon?: React.ReactNode;
|
|
7
9
|
};
|
|
8
10
|
};
|
|
9
11
|
export type StatusRendererProps = {
|
|
10
|
-
|
|
12
|
+
value?: any;
|
|
13
|
+
data?: any;
|
|
14
|
+
status?: string;
|
|
11
15
|
showIndicator?: boolean;
|
|
12
|
-
|
|
13
|
-
onClick?: () => void;
|
|
16
|
+
statusMap?: StatusMap;
|
|
17
|
+
onClick?: (data: any) => void;
|
|
14
18
|
className?: string;
|
|
15
19
|
style?: React.CSSProperties;
|
|
16
|
-
} & ICellRendererParams
|
|
20
|
+
} & Partial<ICellRendererParams>;
|
|
17
21
|
declare const StatusRenderer: React.FC<StatusRendererProps>;
|
|
18
22
|
export default StatusRenderer;
|
|
@@ -5,3 +5,5 @@ export { default as BaseTableHeaderControls } from './BaseTableHeaderControls';
|
|
|
5
5
|
export * from './BaseTableHeaderControls';
|
|
6
6
|
export { default as BaseTablePaginationPanel } from './BaseTablePaginationPanel';
|
|
7
7
|
export * from './BaseTablePaginationPanel';
|
|
8
|
+
export { default as DefaultFilterPanel } from './DefaultFilterPanel';
|
|
9
|
+
export * from './DefaultFilterPanel';
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { ColDef, GridOptions, SelectionChangedEvent } from 'ag-grid-community';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
import { HeaderControlsProps, StatusRendererProps } from '../../..';
|
|
4
|
+
export type ColumnType = Omit<ColDef, "field"> & {
|
|
5
|
+
field: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
onClick?: (data: any) => void;
|
|
8
|
+
path?: string;
|
|
9
|
+
isCurrency?: boolean;
|
|
10
|
+
isDate?: boolean;
|
|
11
|
+
statusIndicator?: "fail" | "success" | "normal";
|
|
12
|
+
sortable?: boolean;
|
|
13
|
+
filterable?: boolean;
|
|
14
|
+
filterType?: 'text' | 'number' | 'date' | 'select' | 'boolean';
|
|
15
|
+
filterOptions?: {
|
|
16
|
+
label: string;
|
|
17
|
+
value: any;
|
|
18
|
+
}[];
|
|
19
|
+
filterPlaceholder?: string;
|
|
20
|
+
};
|
|
21
|
+
export interface DataGridTheme {
|
|
22
|
+
container?: {
|
|
23
|
+
className?: string;
|
|
24
|
+
style?: CSSProperties;
|
|
25
|
+
borderRadius?: string;
|
|
26
|
+
backgroundColor?: string;
|
|
27
|
+
boxShadow?: string;
|
|
28
|
+
};
|
|
29
|
+
table?: {
|
|
30
|
+
className?: string;
|
|
31
|
+
style?: CSSProperties;
|
|
32
|
+
agThemeClass?: string;
|
|
33
|
+
customCssVariables?: Partial<Record<BaseDataGridCssVariable, string>>;
|
|
34
|
+
};
|
|
35
|
+
header?: {
|
|
36
|
+
className?: string;
|
|
37
|
+
style?: CSSProperties;
|
|
38
|
+
backgroundColor?: string;
|
|
39
|
+
fontWeight?: string | number;
|
|
40
|
+
fontSize?: string;
|
|
41
|
+
color?: string;
|
|
42
|
+
};
|
|
43
|
+
row?: {
|
|
44
|
+
className?: string;
|
|
45
|
+
style?: CSSProperties;
|
|
46
|
+
alternateRowBackgroundColor?: string;
|
|
47
|
+
hoverColor?: string;
|
|
48
|
+
selectedColor?: string;
|
|
49
|
+
borderColor?: string;
|
|
50
|
+
};
|
|
51
|
+
pagination?: {
|
|
52
|
+
className?: string;
|
|
53
|
+
style?: CSSProperties;
|
|
54
|
+
};
|
|
55
|
+
filterPanel?: {
|
|
56
|
+
className?: string;
|
|
57
|
+
style?: CSSProperties;
|
|
58
|
+
backgroundColor?: string;
|
|
59
|
+
borderRadius?: string;
|
|
60
|
+
boxShadow?: string;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export interface DataGridLayout {
|
|
64
|
+
containerHeight?: string | number;
|
|
65
|
+
containerMinHeight?: string | number;
|
|
66
|
+
containerMaxHeight?: string | number;
|
|
67
|
+
rowHeight?: number;
|
|
68
|
+
headerHeight?: number;
|
|
69
|
+
domLayout?: 'normal' | 'autoHeight' | 'print';
|
|
70
|
+
pagination?: {
|
|
71
|
+
pageSize?: number;
|
|
72
|
+
pageSizeSelector?: number[] | false;
|
|
73
|
+
suppressPaginationPanel?: boolean;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export interface DataGridCustomization {
|
|
77
|
+
theme?: DataGridTheme;
|
|
78
|
+
layout?: DataGridLayout;
|
|
79
|
+
defaultColDef?: Partial<ColDef>;
|
|
80
|
+
gridOptions?: Partial<GridOptions>;
|
|
81
|
+
containerStyle?: CSSProperties;
|
|
82
|
+
className?: string;
|
|
83
|
+
components?: {
|
|
84
|
+
header?: React.FC<HeaderControlsProps>;
|
|
85
|
+
filterPanel?: React.FC<FilterPanelProps>;
|
|
86
|
+
emptyState?: React.FC<any>;
|
|
87
|
+
loadingOverlay?: React.FC<any>;
|
|
88
|
+
pagination?: React.FC<any>;
|
|
89
|
+
statusRenderer?: {
|
|
90
|
+
component: React.FC<StatusRendererProps>;
|
|
91
|
+
params?: StatusRendererProps;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
callbacks?: {
|
|
95
|
+
onRowClick?: (event: any) => void;
|
|
96
|
+
onRowDoubleClick?: (event: any) => void;
|
|
97
|
+
onCellClick?: (event: any) => void;
|
|
98
|
+
onSelectionChanged?: (event: SelectionChangedEvent) => void;
|
|
99
|
+
onColumnResized?: (event: any) => void;
|
|
100
|
+
onSortChanged?: (event: any) => void;
|
|
101
|
+
onFilterChanged?: (event: any) => void;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
export type ServerSideParams = {
|
|
105
|
+
pageNumber: number;
|
|
106
|
+
pageSize: number;
|
|
107
|
+
search?: string;
|
|
108
|
+
sortBy?: string;
|
|
109
|
+
sortDir?: 'ASC' | 'DESC';
|
|
110
|
+
filters?: Record<string, any>;
|
|
111
|
+
dateFilters?: Record<string, {
|
|
112
|
+
from?: string;
|
|
113
|
+
to?: string;
|
|
114
|
+
}>;
|
|
115
|
+
};
|
|
116
|
+
export type FilterState = {
|
|
117
|
+
searchText: string;
|
|
118
|
+
columnFilters: Record<string, any>;
|
|
119
|
+
dateFilters: Record<string, {
|
|
120
|
+
from?: string;
|
|
121
|
+
to?: string;
|
|
122
|
+
}>;
|
|
123
|
+
sort: {
|
|
124
|
+
field: string;
|
|
125
|
+
direction: "ASC" | "DESC";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export type FilterActions = {
|
|
129
|
+
setSearchText: (text: string) => void;
|
|
130
|
+
setColumnFilter: (field: string, value: any) => void;
|
|
131
|
+
setDateFilter: (field: string, range: {
|
|
132
|
+
from?: string;
|
|
133
|
+
to?: string;
|
|
134
|
+
}) => void;
|
|
135
|
+
setSort: (field: string, direction: "ASC" | "DESC") => void;
|
|
136
|
+
resetFilters: () => void;
|
|
137
|
+
applyFilters: () => void;
|
|
138
|
+
};
|
|
139
|
+
export type FilterPanelProps = FilterState & FilterActions & {
|
|
140
|
+
availableFields: Array<{
|
|
141
|
+
field: string;
|
|
142
|
+
label: string;
|
|
143
|
+
type: 'text' | 'select' | 'date';
|
|
144
|
+
options?: string[];
|
|
145
|
+
}>;
|
|
146
|
+
onClose?: () => void;
|
|
147
|
+
showGlobalSearch?: boolean;
|
|
148
|
+
showColumnFilters?: boolean;
|
|
149
|
+
showSortingControls?: boolean;
|
|
150
|
+
style?: React.CSSProperties;
|
|
151
|
+
className?: string;
|
|
152
|
+
};
|
|
153
|
+
export type ServerSideOperations = "refresh" | "search" | "filter" | "sort" | "pagination";
|
|
154
|
+
export type ServerSideOperationsConfig = Partial<Record<ServerSideOperations, {
|
|
155
|
+
fetchRows?: (params: ServerSideParams) => Promise<DataGridRows>;
|
|
156
|
+
onFetchRowsSuccess?: (response: DataGridRows) => void;
|
|
157
|
+
onFetchRowsError?: (error: unknown) => void;
|
|
158
|
+
}>>;
|
|
159
|
+
export type DataGridRows<T = any> = {
|
|
160
|
+
data: T[];
|
|
161
|
+
pageNumber?: number;
|
|
162
|
+
pageSize?: number;
|
|
163
|
+
totalPages?: number;
|
|
164
|
+
totalRecords?: number;
|
|
165
|
+
};
|
|
166
|
+
export type DefaultPaginationConfig = {
|
|
167
|
+
isPageZeroIndexed?: boolean;
|
|
168
|
+
pageNumber?: number;
|
|
169
|
+
pageSize?: number;
|
|
170
|
+
totalRecords?: number;
|
|
171
|
+
totalPages?: number;
|
|
172
|
+
};
|
|
173
|
+
export declare const BASE_DATA_GRID_CSS_VARIABLES: {
|
|
174
|
+
readonly '--ag-row-height': "Height of each row (e.g., \"45px\")";
|
|
175
|
+
readonly '--ag-header-height': "Height of header row (e.g., \"44px\")";
|
|
176
|
+
readonly '--ag-cell-horizontal-padding': "Horizontal padding in cells (e.g., \"12px\")";
|
|
177
|
+
readonly '--ag-cell-vertical-padding': "Vertical padding in cells (e.g., \"8px\")";
|
|
178
|
+
readonly '--ag-grid-size': "Base size unit for consistent spacing (e.g., \"8px\")";
|
|
179
|
+
readonly '--ag-background-color': "Main grid background color";
|
|
180
|
+
readonly '--ag-header-background-color': "Header background color";
|
|
181
|
+
readonly '--ag-odd-row-background-color': "Alternate row background color";
|
|
182
|
+
readonly '--ag-row-hover-color': "Row hover background color";
|
|
183
|
+
readonly '--ag-selected-row-background-color': "Selected row background color";
|
|
184
|
+
readonly '--ag-foreground-color': "Main text color";
|
|
185
|
+
readonly '--ag-header-foreground-color': "Header text color";
|
|
186
|
+
readonly '--ag-secondary-foreground-color': "Secondary text color (disabled, etc.)";
|
|
187
|
+
readonly '--ag-border-color': "Main border color for cells";
|
|
188
|
+
readonly '--ag-header-border-color': "Header border color";
|
|
189
|
+
readonly '--ag-row-border-color': "Row border color";
|
|
190
|
+
readonly '--ag-borders': "Enable/disable borders (1 or 0)";
|
|
191
|
+
readonly '--ag-borders-critical': "Critical borders only (1 or 0)";
|
|
192
|
+
readonly '--ag-checkbox-checked-color': "Checkbox checked color";
|
|
193
|
+
readonly '--ag-checkbox-unchecked-color': "Checkbox unchecked color";
|
|
194
|
+
readonly '--ag-input-focus-border-color': "Input focus border color";
|
|
195
|
+
readonly '--ag-wrapper-border-radius': "Grid wrapper border radius";
|
|
196
|
+
readonly '--ag-card-shadow': "Card/panel shadow";
|
|
197
|
+
readonly '--ag-popup-shadow': "Popup/dropdown shadow";
|
|
198
|
+
};
|
|
199
|
+
export declare const getAvailableCssVariables: () => {
|
|
200
|
+
readonly '--ag-row-height': "Height of each row (e.g., \"45px\")";
|
|
201
|
+
readonly '--ag-header-height': "Height of header row (e.g., \"44px\")";
|
|
202
|
+
readonly '--ag-cell-horizontal-padding': "Horizontal padding in cells (e.g., \"12px\")";
|
|
203
|
+
readonly '--ag-cell-vertical-padding': "Vertical padding in cells (e.g., \"8px\")";
|
|
204
|
+
readonly '--ag-grid-size': "Base size unit for consistent spacing (e.g., \"8px\")";
|
|
205
|
+
readonly '--ag-background-color': "Main grid background color";
|
|
206
|
+
readonly '--ag-header-background-color': "Header background color";
|
|
207
|
+
readonly '--ag-odd-row-background-color': "Alternate row background color";
|
|
208
|
+
readonly '--ag-row-hover-color': "Row hover background color";
|
|
209
|
+
readonly '--ag-selected-row-background-color': "Selected row background color";
|
|
210
|
+
readonly '--ag-foreground-color': "Main text color";
|
|
211
|
+
readonly '--ag-header-foreground-color': "Header text color";
|
|
212
|
+
readonly '--ag-secondary-foreground-color': "Secondary text color (disabled, etc.)";
|
|
213
|
+
readonly '--ag-border-color': "Main border color for cells";
|
|
214
|
+
readonly '--ag-header-border-color': "Header border color";
|
|
215
|
+
readonly '--ag-row-border-color': "Row border color";
|
|
216
|
+
readonly '--ag-borders': "Enable/disable borders (1 or 0)";
|
|
217
|
+
readonly '--ag-borders-critical': "Critical borders only (1 or 0)";
|
|
218
|
+
readonly '--ag-checkbox-checked-color': "Checkbox checked color";
|
|
219
|
+
readonly '--ag-checkbox-unchecked-color': "Checkbox unchecked color";
|
|
220
|
+
readonly '--ag-input-focus-border-color': "Input focus border color";
|
|
221
|
+
readonly '--ag-wrapper-border-radius': "Grid wrapper border radius";
|
|
222
|
+
readonly '--ag-card-shadow': "Card/panel shadow";
|
|
223
|
+
readonly '--ag-popup-shadow': "Popup/dropdown shadow";
|
|
224
|
+
};
|
|
225
|
+
export type BaseDataGridCssVariable = keyof typeof BASE_DATA_GRID_CSS_VARIABLES;
|