@etsoo/materialui 1.6.8 → 1.6.9

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.
@@ -1,8 +1,8 @@
1
- import { IntInputFieldProps } from "./IntInputField";
1
+ import { NumberInputFieldProps } from "./NumberInputField";
2
2
  /**
3
3
  * Money input field props
4
4
  */
5
- export type MoneyInputFieldProps = IntInputFieldProps & {};
5
+ export type MoneyInputFieldProps = NumberInputFieldProps & {};
6
6
  /**
7
7
  * Money input field (controlled)
8
8
  */
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MoneyInputField = MoneyInputField;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const IntInputField_1 = require("./IntInputField");
5
+ const NumberInputField_1 = require("./NumberInputField");
6
6
  /**
7
7
  * Money input field (controlled)
8
8
  */
@@ -10,5 +10,5 @@ function MoneyInputField(props) {
10
10
  // Destruct
11
11
  const { step = 0.01, ...rest } = props;
12
12
  // Layout
13
- return (0, jsx_runtime_1.jsx)(IntInputField_1.IntInputField, { step: step, ...rest });
13
+ return (0, jsx_runtime_1.jsx)(NumberInputField_1.NumberInputField, { step: step, ...rest });
14
14
  }
@@ -1,8 +1,8 @@
1
- import { IntInputFieldProps } from "./IntInputField";
1
+ import { NumberInputFieldProps } from "./NumberInputField";
2
2
  /**
3
3
  * Money input field props
4
4
  */
5
- export type MoneyInputFieldProps = IntInputFieldProps & {};
5
+ export type MoneyInputFieldProps = NumberInputFieldProps & {};
6
6
  /**
7
7
  * Money input field (controlled)
8
8
  */
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { IntInputField } from "./IntInputField";
2
+ import { NumberInputField } from "./NumberInputField";
3
3
  /**
4
4
  * Money input field (controlled)
5
5
  */
@@ -7,5 +7,5 @@ export function MoneyInputField(props) {
7
7
  // Destruct
8
8
  const { step = 0.01, ...rest } = props;
9
9
  // Layout
10
- return _jsx(IntInputField, { step: step, ...rest });
10
+ return _jsx(NumberInputField, { step: step, ...rest });
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.6.8",
3
+ "version": "1.6.9",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -1,9 +1,9 @@
1
- import { IntInputField, IntInputFieldProps } from "./IntInputField";
1
+ import { NumberInputField, NumberInputFieldProps } from "./NumberInputField";
2
2
 
3
3
  /**
4
4
  * Money input field props
5
5
  */
6
- export type MoneyInputFieldProps = IntInputFieldProps & {};
6
+ export type MoneyInputFieldProps = NumberInputFieldProps & {};
7
7
 
8
8
  /**
9
9
  * Money input field (controlled)
@@ -13,5 +13,5 @@ export function MoneyInputField(props: MoneyInputFieldProps) {
13
13
  const { step = 0.01, ...rest } = props;
14
14
 
15
15
  // Layout
16
- return <IntInputField step={step} {...rest} />;
16
+ return <NumberInputField step={step} {...rest} />;
17
17
  }