cr-ui-lib 1.1.107 → 1.1.108
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.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4980,8 +4980,7 @@ var DynamicTableV2 = ({
|
|
|
4980
4980
|
tableSubInnerDivClass = "",
|
|
4981
4981
|
tableSubDivRef,
|
|
4982
4982
|
perPagesOptions = [10, 20, 50, 100],
|
|
4983
|
-
isShowPerPage = true
|
|
4984
|
-
isFullWidth = false
|
|
4983
|
+
isShowPerPage = true
|
|
4985
4984
|
}) => {
|
|
4986
4985
|
var _a, _b;
|
|
4987
4986
|
const tableRef = React.useRef(null);
|
|
@@ -5114,10 +5113,7 @@ var DynamicTableV2 = ({
|
|
|
5114
5113
|
{
|
|
5115
5114
|
ref: tableRef,
|
|
5116
5115
|
className: "min-w-full",
|
|
5117
|
-
style: {
|
|
5118
|
-
tableLayout: isFullWidth ? "auto" : "fixed",
|
|
5119
|
-
width: isFullWidth ? "100%" : void 0
|
|
5120
|
-
},
|
|
5116
|
+
style: { tableLayout: "fixed" },
|
|
5121
5117
|
children: [
|
|
5122
5118
|
/* @__PURE__ */ jsxRuntime.jsx("colgroup", { children: columns.map((column, i) => /* @__PURE__ */ jsxRuntime.jsx("col", { style: { width: column.width || "150px" } }, i)) }),
|
|
5123
5119
|
!isDisableTableHeader && /* @__PURE__ */ jsxRuntime.jsx("thead", { className: "border-b-2 bg-white sticky top-0 z-10", children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: columns.map((column, columnIndex) => {
|