componentes-sinco 1.3.3 → 1.3.4

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.cjs CHANGED
@@ -1446,6 +1446,7 @@ var SCTextField = ({
1446
1446
  required,
1447
1447
  size,
1448
1448
  width = "100%",
1449
+ alignText = "left",
1449
1450
  color,
1450
1451
  background,
1451
1452
  //Funcionales
@@ -1603,7 +1604,7 @@ var SCTextField = ({
1603
1604
  onKeyDown: handleKeyDown,
1604
1605
  onChange: handleInputChange,
1605
1606
  onBlur: handleBlur,
1606
- inputProps: { maxLength: maxLength ? maxLength : 50 },
1607
+ inputProps: { maxLength: maxLength ? maxLength : 50, style: { textAlign: alignText } },
1607
1608
  type: !showPassword && format3 === "password" ? "password" : (format3 || "text").toUpperCase() === "INT" || (format3 || "text").toUpperCase() === "DECIMAL" ? "number" : "text",
1608
1609
  className: format3 === "password" && !showPassword ? "" : "",
1609
1610
  placeholder,
@@ -6190,6 +6191,10 @@ var SCTime = ({
6190
6191
  setIsOpenPopover(false);
6191
6192
  setAnchorEl(null);
6192
6193
  };
6194
+ const handleTimeFieldChange = (newValue) => {
6195
+ const dayjsValue = newValue ? (0, import_dayjs11.default)(newValue) : null;
6196
+ setState(dayjsValue);
6197
+ };
6193
6198
  const handleClose = () => {
6194
6199
  setIsOpenPopover(false);
6195
6200
  setAnchorEl(null);
@@ -6203,6 +6208,7 @@ var SCTime = ({
6203
6208
  required,
6204
6209
  error: hasError,
6205
6210
  onClick: handleTimeFieldClick,
6211
+ onChange: handleTimeFieldChange,
6206
6212
  slotProps: {
6207
6213
  textField: {
6208
6214
  InputProps: {