@oliasoft-open-source/react-ui-library 4.12.5 → 4.12.7
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 +15 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55778,7 +55778,11 @@ const NumberInput = ({
|
|
|
55778
55778
|
}
|
|
55779
55779
|
);
|
|
55780
55780
|
};
|
|
55781
|
-
const NumberInputCell = ({
|
|
55781
|
+
const NumberInputCell = ({
|
|
55782
|
+
cell: cell2,
|
|
55783
|
+
columnAlignment,
|
|
55784
|
+
testId
|
|
55785
|
+
}) => {
|
|
55782
55786
|
return /* @__PURE__ */ jsx(
|
|
55783
55787
|
NumberInput,
|
|
55784
55788
|
{
|
|
@@ -55795,7 +55799,7 @@ const NumberInputCell = ({ cell: cell2, testId }) => {
|
|
|
55795
55799
|
warning: cell2.warning,
|
|
55796
55800
|
disabled: cell2.disabled,
|
|
55797
55801
|
isInTable: true,
|
|
55798
|
-
left: cell2.left,
|
|
55802
|
+
left: cell2.left ?? columnAlignment === Align.LEFT,
|
|
55799
55803
|
tabIndex: cell2.disabled ? -1 : 0,
|
|
55800
55804
|
testId,
|
|
55801
55805
|
tooltip: cell2.tooltip,
|
|
@@ -55862,7 +55866,14 @@ const InputCellWrapper = ({
|
|
|
55862
55866
|
columnAlignment,
|
|
55863
55867
|
testId
|
|
55864
55868
|
}
|
|
55865
|
-
) : cell2.type === "NumberInput" ? /* @__PURE__ */ jsx(
|
|
55869
|
+
) : cell2.type === "NumberInput" ? /* @__PURE__ */ jsx(
|
|
55870
|
+
NumberInputCell,
|
|
55871
|
+
{
|
|
55872
|
+
cell: cell2,
|
|
55873
|
+
columnAlignment,
|
|
55874
|
+
testId
|
|
55875
|
+
}
|
|
55876
|
+
) : cell2.type === "DateInput" ? /* @__PURE__ */ jsx(InputCell, { cell: cell2, testId, type: "date" }) : cell2.type === "Select" ? /* @__PURE__ */ jsx(
|
|
55866
55877
|
SelectCell,
|
|
55867
55878
|
{
|
|
55868
55879
|
cell: cell2,
|
|
@@ -70668,8 +70679,7 @@ const convertVisibleRows = ({
|
|
|
70668
70679
|
return {
|
|
70669
70680
|
...cell2,
|
|
70670
70681
|
value: formattedDisplayValue,
|
|
70671
|
-
enableCosmeticRounding
|
|
70672
|
-
//comment on unitChanged rationale would be good
|
|
70682
|
+
enableCosmeticRounding,
|
|
70673
70683
|
enableDisplayRounding,
|
|
70674
70684
|
roundDisplayValue,
|
|
70675
70685
|
onChange: (evt) => {
|