@epam/ai-dial-ui-kit 0.15.0 → 0.15.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.
- package/dist/CHANGELOG.md +2 -0
- package/dist/DateCellRenderer-C7yExfh5.cjs +1 -0
- package/dist/{DateCellRenderer-CZNa4jVJ.cjs → DateCellRenderer-ElULb0hY.cjs} +22 -22
- package/dist/components/New/Grid/Grid.js +139 -132
- package/dist/components/New/Grid/constants.js +5 -2
- package/dist/components/New/Popup/Popup.js +124 -101
- package/dist/components/New/Popup/constants.js +11 -9
- package/dist/components-manifest.json +27 -4
- package/dist/dial-ui-kit.cjs +2 -2
- package/dist/dial-ui-kit.js +37 -35
- package/dist/file-manager.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/grid.js +19 -17
- package/dist/index.css +1 -1
- package/dist/node_modules/ag-grid-community/dist/package/main.esm.js +1767 -1763
- package/dist/src/components/New/Grid/Grid.d.ts +12 -1
- package/dist/src/components/New/Popup/constants.d.ts +7 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/subpaths/grid.d.ts +1 -0
- package/dist/src/types/grid.d.ts +8 -0
- package/dist/types/grid.js +4 -0
- package/dist/{use-file-manager-tabs-Bzzwwcgk.cjs → use-file-manager-tabs-Bgh8mfOJ.cjs} +1 -1
- package/package.json +1 -1
- package/dist/DateCellRenderer-BdUMSg-E.cjs +0 -1
|
@@ -1,160 +1,183 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { useFloating as
|
|
3
|
-
import { useRef as
|
|
4
|
-
import { Button as
|
|
5
|
-
import { CloseButton as
|
|
6
|
-
import { GhostIconButton as
|
|
7
|
-
import { Tooltip as
|
|
8
|
-
import { DIAL_KIT_ICON_STROKE as
|
|
9
|
-
import { DIAL_ICON_SIZE as
|
|
10
|
-
import { ButtonVariant as
|
|
11
|
-
import { PopupSize as
|
|
12
|
-
import { ElementSize as
|
|
13
|
-
import { useThemeScope as
|
|
14
|
-
import { mergeClasses as
|
|
15
|
-
import { IconChevronLeft as
|
|
16
|
-
import { popupActionsGroupClassName as
|
|
17
|
-
import { DIAL_KIT_CLASS as
|
|
18
|
-
const
|
|
19
|
-
open:
|
|
20
|
-
header:
|
|
21
|
-
ariaLabel:
|
|
22
|
-
portalId:
|
|
23
|
-
className:
|
|
24
|
-
overlayClassName:
|
|
25
|
-
overlayStyle:
|
|
26
|
-
titleClassName:
|
|
27
|
-
headerClassName:
|
|
28
|
-
bodyClassName:
|
|
1
|
+
import { jsx as o, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { useFloating as X, useRole as Y, useDismiss as ee, useInteractions as oe, FloatingPortal as se, FloatingOverlay as re, FloatingFocusManager as ae } from "@floating-ui/react";
|
|
3
|
+
import { useRef as ie, useId as le } from "react";
|
|
4
|
+
import { Button as te } from "../Button/Button.js";
|
|
5
|
+
import { CloseButton as ne } from "../CloseButton/CloseButton.js";
|
|
6
|
+
import { GhostIconButton as pe } from "../IconButton/IconButtonWrappers.js";
|
|
7
|
+
import { Tooltip as me } from "../Tooltip/Tooltip.js";
|
|
8
|
+
import { DIAL_KIT_ICON_STROKE as ce } from "../constants/icon.js";
|
|
9
|
+
import { DIAL_ICON_SIZE as ue } from "../../../constants/icon.js";
|
|
10
|
+
import { ButtonVariant as de } from "../../../types/button.js";
|
|
11
|
+
import { PopupSize as fe } from "../../../types/popup.js";
|
|
12
|
+
import { ElementSize as Ne } from "../../../types/size.js";
|
|
13
|
+
import { useThemeScope as ge } from "../ThemeScope/ThemeScope.js";
|
|
14
|
+
import { mergeClasses as s } from "../../../utils/merge-classes.js";
|
|
15
|
+
import { IconChevronLeft as he } from "@tabler/icons-react";
|
|
16
|
+
import { popupActionsGroupClassName as t, popupHeaderDividerClassName as Ce, popupHeaderClassName as ve, popupSizeClassMap as Ie, popupBaseClassName as Fe, popupOverlayBaseClassName as Se, popupTitleClassName as xe, popupMainActionsGroupClassName as Te, popupFooterDividerClassName as _e, popupFooterClassName as be, popupMainActionButtonClassName as F } from "./constants.js";
|
|
17
|
+
import { DIAL_KIT_CLASS as ye } from "../../../constants/public-class-names.js";
|
|
18
|
+
const Ve = ({
|
|
19
|
+
open: n = !1,
|
|
20
|
+
header: p,
|
|
21
|
+
ariaLabel: S,
|
|
22
|
+
portalId: x,
|
|
23
|
+
className: T,
|
|
24
|
+
overlayClassName: _,
|
|
25
|
+
overlayStyle: b,
|
|
26
|
+
titleClassName: y,
|
|
27
|
+
headerClassName: z,
|
|
28
|
+
bodyClassName: A,
|
|
29
29
|
children: D,
|
|
30
|
-
footer:
|
|
31
|
-
footerClassName:
|
|
32
|
-
onClose:
|
|
33
|
-
onBack:
|
|
34
|
-
backAriaLabel:
|
|
30
|
+
footer: m,
|
|
31
|
+
footerClassName: M,
|
|
32
|
+
onClose: c,
|
|
33
|
+
onBack: u,
|
|
34
|
+
backAriaLabel: B = "Back",
|
|
35
35
|
headerActions: d,
|
|
36
36
|
headerDivider: P = !1,
|
|
37
|
-
mainButtons:
|
|
38
|
-
additionalButtons:
|
|
39
|
-
additionalButtonsOnLeft:
|
|
40
|
-
footerDivider:
|
|
41
|
-
size:
|
|
37
|
+
mainButtons: f,
|
|
38
|
+
additionalButtons: N,
|
|
39
|
+
additionalButtonsOnLeft: a = !1,
|
|
40
|
+
footerDivider: G = !1,
|
|
41
|
+
size: L = fe.Md,
|
|
42
42
|
hideClose: R = !1,
|
|
43
43
|
closeAriaLabel: w = "Close dialog",
|
|
44
44
|
closeOnOutsideClick: E = !0,
|
|
45
|
-
preventKeyboardOnOpen:
|
|
45
|
+
preventKeyboardOnOpen: g = !1
|
|
46
46
|
}) => {
|
|
47
|
-
const
|
|
48
|
-
open:
|
|
47
|
+
const $ = ge(), h = ie(null), j = le(), { refs: C, context: i } = X({
|
|
48
|
+
open: n,
|
|
49
49
|
onOpenChange: (e) => {
|
|
50
|
-
e ||
|
|
50
|
+
e || c?.(null);
|
|
51
51
|
}
|
|
52
|
-
}),
|
|
53
|
-
if (!
|
|
54
|
-
const
|
|
52
|
+
}), k = Y(i, { role: "dialog" }), H = ee(i, { outsidePress: E }), { getFloatingProps: K } = oe([k, H]);
|
|
53
|
+
if (!n) return null;
|
|
54
|
+
const l = typeof p == "string" ? `popup-heading-${j}` : void 0, O = (e) => e ? typeof e == "string" ? /* @__PURE__ */ o(
|
|
55
55
|
"h2",
|
|
56
56
|
{
|
|
57
|
-
id:
|
|
58
|
-
className:
|
|
59
|
-
children: /* @__PURE__ */ o(
|
|
57
|
+
id: l,
|
|
58
|
+
className: s(xe, y),
|
|
59
|
+
children: /* @__PURE__ */ o(me, { tooltip: e, triggerClassName: "truncate", children: e })
|
|
60
60
|
}
|
|
61
|
-
) : e : /* @__PURE__ */ o("span", {}), v = R ? null : /* @__PURE__ */ o(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
) : e : /* @__PURE__ */ o("span", {}), v = R ? null : /* @__PURE__ */ o(ne, { ariaLabel: w, onClose: (e) => c?.(e) }), I = (e, Z = [], q) => Z.map(
|
|
62
|
+
({ variant: J = de.Neutral, className: Q, ...U }, W) => /* @__PURE__ */ o(
|
|
63
|
+
te,
|
|
64
|
+
{
|
|
65
|
+
variant: J,
|
|
66
|
+
className: s(q, Q),
|
|
67
|
+
...U
|
|
68
|
+
},
|
|
69
|
+
`${e}-${W}`
|
|
70
|
+
)
|
|
71
|
+
), V = () => {
|
|
72
|
+
if (m !== void 0) return m;
|
|
73
|
+
if (!f?.length && !N?.length) return null;
|
|
74
|
+
const e = I(
|
|
75
|
+
"additional",
|
|
76
|
+
N,
|
|
77
|
+
a ? void 0 : F
|
|
78
|
+
);
|
|
79
|
+
return /* @__PURE__ */ r(
|
|
66
80
|
"div",
|
|
67
81
|
{
|
|
68
|
-
className:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
className: s(
|
|
83
|
+
be,
|
|
84
|
+
G && _e,
|
|
85
|
+
M
|
|
72
86
|
),
|
|
73
87
|
children: [
|
|
74
|
-
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
88
|
+
a && e.length > 0 && /* @__PURE__ */ o("div", { className: t, children: e }),
|
|
89
|
+
/* @__PURE__ */ r(
|
|
90
|
+
"div",
|
|
91
|
+
{
|
|
92
|
+
className: s(
|
|
93
|
+
t,
|
|
94
|
+
Te
|
|
95
|
+
),
|
|
96
|
+
children: [
|
|
97
|
+
!a && e,
|
|
98
|
+
I("main", f, F)
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
)
|
|
79
102
|
]
|
|
80
103
|
}
|
|
81
104
|
);
|
|
82
105
|
};
|
|
83
|
-
return /* @__PURE__ */ o(
|
|
84
|
-
|
|
106
|
+
return /* @__PURE__ */ o(se, { id: x, children: /* @__PURE__ */ o(
|
|
107
|
+
re,
|
|
85
108
|
{
|
|
86
|
-
style:
|
|
87
|
-
className:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
109
|
+
style: b,
|
|
110
|
+
className: s(
|
|
111
|
+
Se,
|
|
112
|
+
$,
|
|
113
|
+
_
|
|
91
114
|
),
|
|
92
115
|
children: /* @__PURE__ */ o(
|
|
93
|
-
|
|
116
|
+
ae,
|
|
94
117
|
{
|
|
95
|
-
context:
|
|
96
|
-
initialFocus:
|
|
97
|
-
children: /* @__PURE__ */
|
|
118
|
+
context: i,
|
|
119
|
+
initialFocus: g ? h : C.floating,
|
|
120
|
+
children: /* @__PURE__ */ r(
|
|
98
121
|
"div",
|
|
99
122
|
{
|
|
100
123
|
ref: C.setFloating,
|
|
101
|
-
...
|
|
124
|
+
...K(),
|
|
102
125
|
role: "dialog",
|
|
103
126
|
"aria-modal": "true",
|
|
104
|
-
"aria-labelledby":
|
|
105
|
-
"aria-label":
|
|
106
|
-
className:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
127
|
+
"aria-labelledby": l,
|
|
128
|
+
"aria-label": l ? void 0 : S,
|
|
129
|
+
className: s(
|
|
130
|
+
Fe,
|
|
131
|
+
Ie[L],
|
|
132
|
+
T,
|
|
133
|
+
ye.popup
|
|
111
134
|
),
|
|
112
135
|
children: [
|
|
113
|
-
|
|
136
|
+
g && /* @__PURE__ */ o(
|
|
114
137
|
"div",
|
|
115
138
|
{
|
|
116
|
-
ref:
|
|
139
|
+
ref: h,
|
|
117
140
|
tabIndex: -1,
|
|
118
141
|
"aria-hidden": !0,
|
|
119
142
|
className: "absolute size-px -m-px overflow-hidden opacity-0 pointer-events-none"
|
|
120
143
|
}
|
|
121
144
|
),
|
|
122
|
-
/* @__PURE__ */
|
|
145
|
+
/* @__PURE__ */ r(
|
|
123
146
|
"div",
|
|
124
147
|
{
|
|
125
|
-
className:
|
|
126
|
-
|
|
127
|
-
P &&
|
|
128
|
-
|
|
148
|
+
className: s(
|
|
149
|
+
ve,
|
|
150
|
+
P && Ce,
|
|
151
|
+
z
|
|
129
152
|
),
|
|
130
153
|
children: [
|
|
131
|
-
|
|
132
|
-
|
|
154
|
+
u && /* @__PURE__ */ o(
|
|
155
|
+
pe,
|
|
133
156
|
{
|
|
134
|
-
"aria-label":
|
|
135
|
-
size:
|
|
157
|
+
"aria-label": B,
|
|
158
|
+
size: Ne.Small,
|
|
136
159
|
className: "mr-2",
|
|
137
|
-
onClick:
|
|
160
|
+
onClick: u,
|
|
138
161
|
icon: /* @__PURE__ */ o(
|
|
139
|
-
|
|
162
|
+
he,
|
|
140
163
|
{
|
|
141
|
-
size:
|
|
142
|
-
stroke:
|
|
164
|
+
size: ue.SM,
|
|
165
|
+
stroke: ce,
|
|
143
166
|
"aria-hidden": "true"
|
|
144
167
|
}
|
|
145
168
|
)
|
|
146
169
|
}
|
|
147
170
|
),
|
|
148
|
-
|
|
149
|
-
d ? /* @__PURE__ */
|
|
171
|
+
O(p),
|
|
172
|
+
d ? /* @__PURE__ */ r("div", { className: t, children: [
|
|
150
173
|
d,
|
|
151
174
|
v
|
|
152
175
|
] }) : v
|
|
153
176
|
]
|
|
154
177
|
}
|
|
155
178
|
),
|
|
156
|
-
/* @__PURE__ */ o("div", { className:
|
|
157
|
-
|
|
179
|
+
/* @__PURE__ */ o("div", { className: s("grow overflow-auto", A), children: D }),
|
|
180
|
+
V()
|
|
158
181
|
]
|
|
159
182
|
}
|
|
160
183
|
)
|
|
@@ -164,5 +187,5 @@ const je = ({
|
|
|
164
187
|
) });
|
|
165
188
|
};
|
|
166
189
|
export {
|
|
167
|
-
|
|
190
|
+
Ve as Popup
|
|
168
191
|
};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { PopupSize as e } from "../../../types/popup.js";
|
|
2
|
-
const
|
|
2
|
+
const o = "z-popup flex items-center justify-center bg-backdrop md:p-4 gap-5 p-6", a = "relative flex w-full max-h-full flex-col rounded-xl bg-layer-raised md:h-auto", t = "flex flex-row items-center justify-between px-6 py-4", s = "flex-1 min-w-0 mr-3 truncate dial-h1-text text-primary", l = "border-b border-tertiary", r = "flex flex-row items-center gap-2 px-6 py-4", m = "border-t border-tertiary", i = "flex shrink-0 flex-row items-center gap-2", x = "ml-auto mobile:flex-1", n = "mobile:flex-1", u = {
|
|
3
3
|
[e.Sm]: "max-w-full md:max-w-[400px]",
|
|
4
4
|
[e.Md]: "max-w-full md:max-w-[800px]",
|
|
5
5
|
[e.Lg]: "max-w-full md:max-w-[1200px]"
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
i as popupActionsGroupClassName,
|
|
9
|
+
a as popupBaseClassName,
|
|
10
|
+
r as popupFooterClassName,
|
|
11
11
|
m as popupFooterDividerClassName,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
t as popupHeaderClassName,
|
|
13
|
+
l as popupHeaderDividerClassName,
|
|
14
|
+
n as popupMainActionButtonClassName,
|
|
15
|
+
x as popupMainActionsGroupClassName,
|
|
16
|
+
o as popupOverlayBaseClassName,
|
|
17
|
+
u as popupSizeClassMap,
|
|
18
|
+
s as popupTitleClassName
|
|
17
19
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.15.
|
|
3
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"version": "0.15.2",
|
|
3
|
+
"generatedAt": "2026-10-12T14:06:18.751Z",
|
|
4
4
|
"kit": {
|
|
5
5
|
"name": "@epam/ai-dial-ui-kit",
|
|
6
6
|
"description": "A modern UI kit for building AI DIAL interfaces with React",
|
|
@@ -5204,10 +5204,17 @@
|
|
|
5204
5204
|
"required": false,
|
|
5205
5205
|
"defaultValue": "'Select all rows'",
|
|
5206
5206
|
"description": "Accessible name of the select-all control."
|
|
5207
|
+
},
|
|
5208
|
+
{
|
|
5209
|
+
"name": "colorScheme",
|
|
5210
|
+
"type": "GridColorScheme",
|
|
5211
|
+
"required": false,
|
|
5212
|
+
"defaultValue": "GridColorScheme.Light",
|
|
5213
|
+
"description": "AG Grid color scheme. `dark` paints native controls dark."
|
|
5207
5214
|
}
|
|
5208
5215
|
],
|
|
5209
5216
|
"examples": [
|
|
5210
|
-
"interface Product { id: string; name: string; price: number }\n\nconst columns: ColDef<Product>[] = [\n { field: 'name', headerName: 'Product', flex: 1 },\n { field: 'price', headerName: 'Price', width: 120 },\n];\n\n<Grid<Product> columnDefs={columns} rowData={products} />\n\n// With selection and a context menu\n<Grid<Product>\n columnDefs={columns}\n rowData={products}\n selectionMode={GridSelectionMode.MULTIPLE}\n selectedRowIds={selectedIds}\n onSelectionChange={(ids) => setSelectedIds(ids)}\n selectRowLabel={(row) => `Select ${row.name}`}\n getContextMenuItems={(row) => [{ key: 'edit', label: 'Edit' }]}\n/>"
|
|
5217
|
+
"interface Product { id: string; name: string; price: number }\n\nconst columns: ColDef<Product>[] = [\n { field: 'name', headerName: 'Product', flex: 1 },\n { field: 'price', headerName: 'Price', width: 120 },\n];\n\n<Grid<Product> columnDefs={columns} rowData={products} />\n\n// With selection and a context menu\n<Grid<Product>\n columnDefs={columns}\n rowData={products}\n selectionMode={GridSelectionMode.MULTIPLE}\n selectedRowIds={selectedIds}\n onSelectionChange={(ids) => setSelectedIds(ids)}\n selectRowLabel={(row) => `Select ${row.name}`}\n getContextMenuItems={(row) => [{ key: 'edit', label: 'Edit' }]}\n/>\n\n// Dark native controls, including the date-filter calendar\n<Grid<Product> columnDefs={columns} rowData={products} colorScheme={GridColorScheme.Dark} />"
|
|
5211
5218
|
],
|
|
5212
5219
|
"sourceFile": "components/New/Grid/Grid.tsx"
|
|
5213
5220
|
},
|
|
@@ -12334,6 +12341,22 @@
|
|
|
12334
12341
|
],
|
|
12335
12342
|
"sourceFile": "types/transfer-queue.ts",
|
|
12336
12343
|
"description": "Lifecycle status of one item in a `TransferQueue`."
|
|
12344
|
+
},
|
|
12345
|
+
{
|
|
12346
|
+
"name": "GridColorScheme",
|
|
12347
|
+
"kind": "enum",
|
|
12348
|
+
"members": [
|
|
12349
|
+
{
|
|
12350
|
+
"name": "Light",
|
|
12351
|
+
"value": "'light'"
|
|
12352
|
+
},
|
|
12353
|
+
{
|
|
12354
|
+
"name": "Dark",
|
|
12355
|
+
"value": "'dark'"
|
|
12356
|
+
}
|
|
12357
|
+
],
|
|
12358
|
+
"sourceFile": "types/grid.ts",
|
|
12359
|
+
"description": "Color scheme `Grid` passes to AG Grid. It selects the light or dark theme\npart and the browser `color-scheme` native controls inside the grid follow."
|
|
12337
12360
|
}
|
|
12338
12361
|
],
|
|
12339
12362
|
"hooks": [
|
|
@@ -12453,7 +12476,7 @@
|
|
|
12453
12476
|
"name": "GRID_THEME_PARAMS",
|
|
12454
12477
|
"sourceFile": "components/New/Grid/constants.ts",
|
|
12455
12478
|
"description": "ag-Grid theme parameters, resolved from the 2.0 colour tokens with the same\nliteral fallbacks the Tailwind config carries, so a consumer that defines no\nCSS variables still gets the intended palette.\n\nHover uses the subtle accent tint and selection the slightly stronger\nselected tint, as in the grid cell design.",
|
|
12456
|
-
"signature": "GRID_THEME_PARAMS = {\n accentColor: 'var(--bg-control-accent, #1D4ED8)',\n backgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n oddRowBackgroundColor: 'var(--bg-layer-sunken, #EEF1F7)',\n selectedRowBackgroundColor:\n 'var(--bg-control-accent-alpha-active-subtle, #2764D914)',\n rowHoverColor: 'var(--bg-control-accent-alpha-hover-subtle, #2764D90A)',\n borderColor: 'var(--stroke-tertiary, #E0E6F0)',\n // Dividers inside the table sit on the thin stroke (0.5px) rather than the\n // 1px main stroke that controls and standalone dividers use, so a dense grid\n // reads as rows of data instead of a set of boxes. Sub-pixel widths are\n // antialiased rather than snapped, which is what makes the line look lighter.\n // `wrapperBorder` and the pinned-column boundary are left on the main stroke\n // by the theme: those frame the table and separate its regions rather than\n // dividing rows and columns.\n rowBorder: THIN_TABLE_DIVIDER,\n // Off: ag-Grid draws this one both under the header and between the title\n // row and the filter row, and the design has no line between those two. The\n // line under the header is drawn at 1px in `styles/grid.scss`.\n headerRowBorder: false,\n headerColumnBorder: THIN_TABLE_DIVIDER,\n // The design's header divider is a short 12px mark centred in the cell, not\n // the 20px (half the row) ag-Grid draws by default.\n headerColumnBorderHeight: 12,\n chromeBackgroundColor: 'var(--bg-layer-base, #F5F7FA)',\n headerBackgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n foregroundColor: 'var(--text-primary, #161B2D)',\n headerTextColor: 'var(--text-secondary, #57647A)',\n //
|
|
12479
|
+
"signature": "GRID_THEME_PARAMS = {\n accentColor: 'var(--bg-control-accent, #1D4ED8)',\n backgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n oddRowBackgroundColor: 'var(--bg-layer-sunken, #EEF1F7)',\n selectedRowBackgroundColor:\n 'var(--bg-control-accent-alpha-active-subtle, #2764D914)',\n rowHoverColor: 'var(--bg-control-accent-alpha-hover-subtle, #2764D90A)',\n borderColor: 'var(--stroke-tertiary, #E0E6F0)',\n // Dividers inside the table sit on the thin stroke (0.5px) rather than the\n // 1px main stroke that controls and standalone dividers use, so a dense grid\n // reads as rows of data instead of a set of boxes. Sub-pixel widths are\n // antialiased rather than snapped, which is what makes the line look lighter.\n // `wrapperBorder` and the pinned-column boundary are left on the main stroke\n // by the theme: those frame the table and separate its regions rather than\n // dividing rows and columns.\n rowBorder: THIN_TABLE_DIVIDER,\n // Off: ag-Grid draws this one both under the header and between the title\n // row and the filter row, and the design has no line between those two. The\n // line under the header is drawn at 1px in `styles/grid.scss`.\n headerRowBorder: false,\n headerColumnBorder: THIN_TABLE_DIVIDER,\n // The design's header divider is a short 12px mark centred in the cell, not\n // the 20px (half the row) ag-Grid draws by default.\n headerColumnBorderHeight: 12,\n chromeBackgroundColor: 'var(--bg-layer-base, #F5F7FA)',\n headerBackgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n foregroundColor: 'var(--text-primary, #161B2D)',\n headerTextColor: 'var(--text-secondary, #57647A)',\n // Native form controls inside the grid, including the date filter's\n // calendar, follow this value. The light default matches the token\n // fallbacks. `Grid` sets it again after this object is spread, because a\n // dark `colorScheme` has to replace this light value or the browser keeps\n // painting those controls light.\n browserColorScheme: 'light',\n headerFontSize: 14,\n headerFontWeight: 600,\n fontSize: 14,\n fontFamily: 'var(--theme-font, var(--font-inter))',\n spacing: 4,\n borderRadius: 4,\n // Search fields in the header and filter popups: `rounded-lg`.\n inputBorderRadius: 8,\n wrapperBorderRadius: 8,\n}"
|
|
12457
12480
|
},
|
|
12458
12481
|
{
|
|
12459
12482
|
"name": "GRID_ROW_HEIGHT",
|