@data-c/ui 0.2.61 → 0.2.62

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.mjs CHANGED
@@ -10289,7 +10289,9 @@ function Autocomplete(props) {
10289
10289
  } = props;
10290
10290
  function resetEndAdornment(endAdornment, isLoading2 = false, disabled2 = false) {
10291
10291
  if (endAdornment) {
10292
- const children = React12.Children.toArray(endAdornment.props?.children);
10292
+ const children = React12.Children.toArray(
10293
+ endAdornment.props?.children
10294
+ );
10293
10295
  const pos = children.length === 1 ? 0 : 1;
10294
10296
  children.splice(
10295
10297
  pos,
@@ -11374,7 +11376,7 @@ var key = null;
11374
11376
  var wasSelected = false;
11375
11377
  var CurrencyTextField = forwardRef2(
11376
11378
  (props, ref) => {
11377
- const { value, onChange, sx, ...rest } = props;
11379
+ const { value = 0, onChange, sx, ...rest } = props;
11378
11380
  key = null;
11379
11381
  const handleChange = useCallback4(
11380
11382
  (e) => {
@@ -11435,9 +11437,6 @@ var CurrencyTextField = forwardRef2(
11435
11437
  );
11436
11438
  }
11437
11439
  );
11438
- CurrencyTextField.defaultProps = {
11439
- value: 0
11440
- };
11441
11440
  var CurrencyTextField_default = CurrencyTextField;
11442
11441
 
11443
11442
  // src/AlterarLicenca/index.tsx