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