@gumigumih/react-calculator-input-form 1.0.1 → 1.1.0
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/README.md +9 -9
- package/dist/components/organisms/CalculatorInputForm.d.ts +13 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.css +2 -0
- package/dist/index.esm.css.map +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
- package/dist/components/organisms/CalculatorInput.d.ts +0 -13
- /package/dist/components/organisms/__tests__/{CalculatorInput.test.d.ts → CalculatorInputForm.test.d.ts} +0 -0
package/dist/index.js
CHANGED
|
@@ -6561,7 +6561,7 @@ const Calculator = ({ isOpen, onClose, onCalculate, initialValue = '', title, de
|
|
|
6561
6561
|
return null;
|
|
6562
6562
|
};
|
|
6563
6563
|
|
|
6564
|
-
const
|
|
6564
|
+
const CalculatorInputForm = ({ value, onChange, placeholder = 'クリックして金額を入力', className, title, description, enableTaxCalculation = false, decimalPlaces = 6, numberFormatOptions = {}, displayPlaceholder, }) => {
|
|
6565
6565
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
6566
6566
|
const [mounted, setMounted] = React.useState(false);
|
|
6567
6567
|
// DOM要素の存在確認
|
|
@@ -6583,7 +6583,7 @@ const CalculatorInput = ({ value, onChange, placeholder = 'クリックして金
|
|
|
6583
6583
|
exports.Button = Button;
|
|
6584
6584
|
exports.Calculator = Calculator;
|
|
6585
6585
|
exports.CalculatorDisplay = CalculatorDisplay;
|
|
6586
|
-
exports.
|
|
6586
|
+
exports.CalculatorInputForm = CalculatorInputForm;
|
|
6587
6587
|
exports.CalculatorKeypad = CalculatorKeypad;
|
|
6588
6588
|
exports.Icon = Icon;
|
|
6589
6589
|
//# sourceMappingURL=index.js.map
|