@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.mjs
CHANGED
@@ -1074,7 +1074,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
1074
1074
|
React5.useImperativeHandle(ref, () => ({
|
1075
1075
|
toggleAllRowsSelected
|
1076
1076
|
}));
|
1077
|
-
return /* @__PURE__ */ jsx24(Box11, { overflowX: "auto", position: "relative", maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
1077
|
+
return /* @__PURE__ */ jsx24(Box11, { overflowX: "auto", position: "relative", px: 4, maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
1078
1078
|
/* @__PURE__ */ jsx24(Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ jsx24(
|
1079
1079
|
Th,
|
1080
1080
|
{
|
@@ -3839,7 +3839,9 @@ function selectStyles(colorMode, _isError) {
|
|
3839
3839
|
option: (base) => ({
|
3840
3840
|
...base,
|
3841
3841
|
...selectStyle,
|
3842
|
-
color: "var(--chakra-colors-neutral-900)"
|
3842
|
+
color: "var(--chakra-colors-neutral-900)",
|
3843
|
+
padding: 12,
|
3844
|
+
height: 42
|
3843
3845
|
}),
|
3844
3846
|
menu: (base) => {
|
3845
3847
|
return {
|
@@ -4082,7 +4084,6 @@ var InputOption = ({
|
|
4082
4084
|
{
|
4083
4085
|
alignItems: "center",
|
4084
4086
|
width: "100%",
|
4085
|
-
mb: "3px",
|
4086
4087
|
gap: 2,
|
4087
4088
|
"data-test-id": "CT_component_select-checkbox_options",
|
4088
4089
|
cursor: isDisabled ? "not-allowed" : "default",
|
@@ -6373,24 +6374,12 @@ var baseStyle11 = definePartsStyle10({
|
|
6373
6374
|
color: "black.high",
|
6374
6375
|
fontSize: "text.sm",
|
6375
6376
|
lineHeight: "18px",
|
6376
|
-
backgroundColor: "neutral.50"
|
6377
|
-
"&:first-of-type": {
|
6378
|
-
pl: 6
|
6379
|
-
},
|
6380
|
-
"&:last-of-type": {
|
6381
|
-
pr: 6
|
6382
|
-
}
|
6377
|
+
backgroundColor: "neutral.50"
|
6383
6378
|
},
|
6384
6379
|
td: {
|
6385
6380
|
// backgroundColor: 'neutral.50',
|
6386
6381
|
textAlign: "start",
|
6387
6382
|
height: "56px",
|
6388
|
-
"&:first-of-type": {
|
6389
|
-
pl: 6
|
6390
|
-
},
|
6391
|
-
"&:last-of-type": {
|
6392
|
-
pr: 6
|
6393
|
-
},
|
6394
6383
|
_disabled: {
|
6395
6384
|
opacity: 0.5
|
6396
6385
|
}
|