@ctlyst.id/internal-ui 3.1.11 → 3.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +5 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1411,7 +1411,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
1411
1411
|
React5.useImperativeHandle(ref, () => ({
|
1412
1412
|
toggleAllRowsSelected
|
1413
1413
|
}));
|
1414
|
-
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Box, { overflowX: "auto", position: "relative", maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react28.Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
1414
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Box, { overflowX: "auto", position: "relative", px: 4, maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react28.Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
1415
1415
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
1416
1416
|
import_react28.Th,
|
1417
1417
|
{
|
@@ -4025,7 +4025,9 @@ function selectStyles(colorMode, _isError) {
|
|
4025
4025
|
option: (base) => ({
|
4026
4026
|
...base,
|
4027
4027
|
...selectStyle,
|
4028
|
-
color: "var(--chakra-colors-neutral-900)"
|
4028
|
+
color: "var(--chakra-colors-neutral-900)",
|
4029
|
+
padding: 12,
|
4030
|
+
height: 42
|
4029
4031
|
}),
|
4030
4032
|
menu: (base) => {
|
4031
4033
|
return {
|
@@ -4268,7 +4270,6 @@ var InputOption = ({
|
|
4268
4270
|
{
|
4269
4271
|
alignItems: "center",
|
4270
4272
|
width: "100%",
|
4271
|
-
mb: "3px",
|
4272
4273
|
gap: 2,
|
4273
4274
|
"data-test-id": "CT_component_select-checkbox_options",
|
4274
4275
|
cursor: isDisabled ? "not-allowed" : "default",
|
@@ -6445,24 +6446,12 @@ var baseStyle11 = definePartsStyle10({
|
|
6445
6446
|
color: "black.high",
|
6446
6447
|
fontSize: "text.sm",
|
6447
6448
|
lineHeight: "18px",
|
6448
|
-
backgroundColor: "neutral.50"
|
6449
|
-
"&:first-of-type": {
|
6450
|
-
pl: 6
|
6451
|
-
},
|
6452
|
-
"&:last-of-type": {
|
6453
|
-
pr: 6
|
6454
|
-
}
|
6449
|
+
backgroundColor: "neutral.50"
|
6455
6450
|
},
|
6456
6451
|
td: {
|
6457
6452
|
// backgroundColor: 'neutral.50',
|
6458
6453
|
textAlign: "start",
|
6459
6454
|
height: "56px",
|
6460
|
-
"&:first-of-type": {
|
6461
|
-
pl: 6
|
6462
|
-
},
|
6463
|
-
"&:last-of-type": {
|
6464
|
-
pr: 6
|
6465
|
-
},
|
6466
6455
|
_disabled: {
|
6467
6456
|
opacity: 0.5
|
6468
6457
|
}
|