react-table-edit 0.1.7 → 0.1.9

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.js CHANGED
@@ -2532,7 +2532,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
2532
2532
  {
2533
2533
  style: {
2534
2534
  height: `${(col.rowspan ?? 1) * 42}px`,
2535
- justifyContent: col.textAlign ?? "center"
2535
+ justifyContent: col.textAlign ?? "left"
2536
2536
  },
2537
2537
  className: (0, import_classnames9.default)("r-headercell-div"),
2538
2538
  children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
@@ -2541,7 +2541,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
2541
2541
  checked: selectedRows?.length >= dataSource?.length && dataSource?.length > 0,
2542
2542
  type: "checkbox",
2543
2543
  className: (0, import_classnames9.default)("cursor-pointer", { "d-none": !isMulti }),
2544
- style: { textAlign: col.textAlign ?? "center", marginTop: 6 },
2544
+ style: { textAlign: col.textAlign ?? "left", marginTop: 6 },
2545
2545
  onChange: (e) => {
2546
2546
  if (selectEnable) {
2547
2547
  if (e.target.checked) {
@@ -2587,7 +2587,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
2587
2587
  title: t(col.headerText ?? ""),
2588
2588
  style: {
2589
2589
  height: `${(col.rowspan ?? 1) * 42}px`,
2590
- justifyContent: col.textAlign ?? "center"
2590
+ justifyContent: col.textAlign ?? "left"
2591
2591
  },
2592
2592
  className: "r-headercell-div",
2593
2593
  children: t(col.headerText ?? "")
@@ -2625,7 +2625,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
2625
2625
  title: t(col.headerText ?? ""),
2626
2626
  style: {
2627
2627
  height: `${(col.rowspan ?? 1) * 42}px`,
2628
- justifyContent: col.textAlign ?? "center"
2628
+ justifyContent: col.textAlign ?? "left"
2629
2629
  },
2630
2630
  className: "r-headercell-div",
2631
2631
  children: t(col.headerText ?? "")
package/dist/index.mjs CHANGED
@@ -2506,7 +2506,7 @@ var TableEdit = forwardRef2((props, ref) => {
2506
2506
  {
2507
2507
  style: {
2508
2508
  height: `${(col.rowspan ?? 1) * 42}px`,
2509
- justifyContent: col.textAlign ?? "center"
2509
+ justifyContent: col.textAlign ?? "left"
2510
2510
  },
2511
2511
  className: classnames5("r-headercell-div"),
2512
2512
  children: /* @__PURE__ */ jsx12(
@@ -2515,7 +2515,7 @@ var TableEdit = forwardRef2((props, ref) => {
2515
2515
  checked: selectedRows?.length >= dataSource?.length && dataSource?.length > 0,
2516
2516
  type: "checkbox",
2517
2517
  className: classnames5("cursor-pointer", { "d-none": !isMulti }),
2518
- style: { textAlign: col.textAlign ?? "center", marginTop: 6 },
2518
+ style: { textAlign: col.textAlign ?? "left", marginTop: 6 },
2519
2519
  onChange: (e) => {
2520
2520
  if (selectEnable) {
2521
2521
  if (e.target.checked) {
@@ -2561,7 +2561,7 @@ var TableEdit = forwardRef2((props, ref) => {
2561
2561
  title: t(col.headerText ?? ""),
2562
2562
  style: {
2563
2563
  height: `${(col.rowspan ?? 1) * 42}px`,
2564
- justifyContent: col.textAlign ?? "center"
2564
+ justifyContent: col.textAlign ?? "left"
2565
2565
  },
2566
2566
  className: "r-headercell-div",
2567
2567
  children: t(col.headerText ?? "")
@@ -2599,7 +2599,7 @@ var TableEdit = forwardRef2((props, ref) => {
2599
2599
  title: t(col.headerText ?? ""),
2600
2600
  style: {
2601
2601
  height: `${(col.rowspan ?? 1) * 42}px`,
2602
- justifyContent: col.textAlign ?? "center"
2602
+ justifyContent: col.textAlign ?? "left"
2603
2603
  },
2604
2604
  className: "r-headercell-div",
2605
2605
  children: t(col.headerText ?? "")
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-table-edit",
3
3
  "license": "MIT",
4
- "version": "0.1.7",
4
+ "version": "0.1.9",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",