@daimo/pay 1.3.1 → 1.3.3
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/build/package.json.js +1 -1
- package/build/src/components/Common/AmountInput/AmountInputField.js +1 -1
- package/build/src/components/Common/TokenChainLogo/index.js +1 -1
- package/build/src/components/DaimoPayModal/index.js +1 -1
- package/build/src/components/Spinners/TokenLogoSpinner/styles.js +1 -1
- package/build/src/components/Spinners/styles.js +2 -1
- package/build/src/components/Spinners/styles.js.map +1 -1
- package/package.json +1 -1
package/build/package.json.js
CHANGED
|
@@ -52,7 +52,7 @@ const AmountInputField = ({ value, onChange, currency = "$", onKeyDown }) => {
|
|
|
52
52
|
useEffect(() => {
|
|
53
53
|
inputRef.current?.focus();
|
|
54
54
|
}, [value]);
|
|
55
|
-
return (jsxs(Container, { children: [currency === "$" && jsx(AnimatedCurrency, { children: currency }), jsx(InputField, { ref: inputRef, type: "text", value: value, onChange: onChange, placeholder: "0.00", onKeyDown: onKeyDown }), currency !== "$" && (jsx(AnimatedCurrency, { "$small": true, children: currency }))] }));
|
|
55
|
+
return (jsxs(Container, { children: [currency === "$" && jsx(AnimatedCurrency, { children: currency }), jsx(InputField, { ref: inputRef, type: "text", inputMode: "decimal", value: value, onChange: onChange, placeholder: "0.00", onKeyDown: onKeyDown }), currency !== "$" && (jsx(AnimatedCurrency, { "$small": true, children: currency }))] }));
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
export { AmountInputField as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { motion } from 'framer-motion';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
3
|
import { chainToLogo } from '../../../assets/chains.js';
|
|
4
|
+
import styled from '../../../styles/styled/index.js';
|
|
5
5
|
|
|
6
6
|
const TokenChainLogo = ({ token }) => {
|
|
7
7
|
return (jsxs(TokenChainContainer, { children: [jsx("img", { src: token.logoURI, alt: token.symbol, style: { borderRadius: 9999 } }), jsx(ChainContainer, { children: chainToLogo[token.chainId] })] }));
|
|
@@ -10,7 +10,7 @@ import MobileConnectors from '../Pages/MobileConnectors/index.js';
|
|
|
10
10
|
import Introduction from '../Pages/Onboarding/index.js';
|
|
11
11
|
import SwitchNetworks from '../Pages/SwitchNetworks/index.js';
|
|
12
12
|
import ConnectUsing from './ConnectUsing.js';
|
|
13
|
-
import assert from '
|
|
13
|
+
import { assert } from '@daimo/common';
|
|
14
14
|
import { getAppName } from '../../defaultConfig.js';
|
|
15
15
|
import { useChainIsSupported } from '../../hooks/useChainIsSupported.js';
|
|
16
16
|
import { DaimoPayThemeProvider } from '../DaimoPayThemeProvider/DaimoPayThemeProvider.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|