@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.d.ts +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -749,7 +749,7 @@ declare const DataTable: {
|
|
|
749
749
|
ActionDelete: typeof DataTableActionDelete;
|
|
750
750
|
ActionTransport: typeof DataTableActionTransport;
|
|
751
751
|
ColumnsPanelTrigger: React$1.ForwardRefExoticComponent<_mui_x_data_grid.ColumnsPanelTriggerProps> | React$1.ForwardRefExoticComponent<Omit<_mui_x_data_grid.ColumnsPanelTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
752
|
-
useGridApiRef: () => React$1.
|
|
752
|
+
useGridApiRef: () => React$1.RefObject<_mui_x_data_grid_internals.GridApiCommunity | null>;
|
|
753
753
|
};
|
|
754
754
|
|
|
755
755
|
interface ListRootProps extends StackProps {
|
package/dist/index.js
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 = _react2.default.Children.toArray(
|
|
10292
|
+
const children = _react2.default.Children.toArray(
|
|
10293
|
+
_optionalChain([endAdornment, 'access', _108 => _108.props, 'optionalAccess', _109 => _109.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 = _react.forwardRef.call(void 0,
|
|
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 = _react.useCallback.call(void 0,
|
|
11380
11382
|
(e) => {
|
|
@@ -11435,9 +11437,6 @@ var CurrencyTextField = _react.forwardRef.call(void 0,
|
|
|
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
|