sag_components 2.0.0-beta226 → 2.0.0-beta228

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.ts CHANGED
@@ -1304,12 +1304,13 @@ declare function WeeksPicker({ label, disabled, borderColor, borderColorFocus, t
1304
1304
  restrictToRange?: boolean;
1305
1305
  }): react_jsx_runtime.JSX.Element;
1306
1306
 
1307
- declare function Input({ label, labelEmptyValue, size, selectedValue, placeHolder, onChange, onClick, onBlur, required, disabled, isDarkerBackground, width, height, error, errorMessage, labelColor, leftIcon, rightIcon, password, leftIconOnClick, rightIconOnClick, multiline, rows, maxLength, regex, onKeyDown, }: {
1307
+ declare function Input({ label, labelEmptyValue, size, selectedValue, placeHolder, inputType, onChange, onClick, onBlur, required, disabled, isDarkerBackground, width, height, error, errorMessage, labelColor, leftIcon, rightIcon, password, leftIconOnClick, rightIconOnClick, multiline, rows, maxLength, regex, onKeyDown, }: {
1308
1308
  label: any;
1309
1309
  labelEmptyValue: any;
1310
1310
  size: any;
1311
1311
  selectedValue: any;
1312
1312
  placeHolder: any;
1313
+ inputType?: string;
1313
1314
  onChange: any;
1314
1315
  onClick: any;
1315
1316
  onBlur: any;
package/dist/index.esm.js CHANGED
@@ -35838,6 +35838,7 @@ const Input$2 = _ref => {
35838
35838
  size,
35839
35839
  selectedValue,
35840
35840
  placeHolder,
35841
+ inputType = "text",
35841
35842
  onChange,
35842
35843
  onClick,
35843
35844
  onBlur,
@@ -36003,7 +36004,7 @@ const Input$2 = _ref => {
36003
36004
  }, "*")), /*#__PURE__*/React$1.createElement(InputElement, {
36004
36005
  className: multiline ? "StyledTextarea" : "StyledInput",
36005
36006
  ref: inputRef,
36006
- type: password && !showPassword ? "password" : "text",
36007
+ type: password && !showPassword ? "password" : inputType,
36007
36008
  value: inputValue,
36008
36009
  onChange: handleInputChange,
36009
36010
  onClick: handleLabelClick,
@@ -40561,7 +40562,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
40561
40562
  style: {
40562
40563
  color: isDefine ? "#8B8989" : "inherit"
40563
40564
  }
40564
- }, value ?? "Define"), /*#__PURE__*/React$1.createElement(PencilButton, {
40565
+ }, value ? `$${value}` : "Define"), /*#__PURE__*/React$1.createElement(PencilButton, {
40565
40566
  onClick: e => {
40566
40567
  e.stopPropagation();
40567
40568
  handleEditableClick(row, column.key, value, rowIndex);