@rango-dev/ui 0.61.1-next.1 → 0.61.1-next.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.
@@ -1 +1 @@
1
- {"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,kBAAkB,qBAqIlD"}
1
+ {"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,kBAAkB,qBAoIlD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.61.1-next.1",
3
+ "version": "0.61.1-next.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -53,13 +53,13 @@
53
53
  "@radix-ui/react-select": "^2.0.0",
54
54
  "@radix-ui/react-switch": "^1.0.1",
55
55
  "@radix-ui/react-tooltip": "^1.0.2",
56
- "@rango-dev/wallets-shared": "^0.58.1-next.1",
56
+ "@rango-dev/wallets-shared": "^0.58.1-next.2",
57
57
  "@stitches/react": "^1.2.8",
58
58
  "copy-to-clipboard": "^3.3.3",
59
- "rango-types": "^0.1.92",
59
+ "rango-types": "^0.1.93",
60
60
  "react-virtuoso": "^4.6.2"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  }
65
- }
65
+ }
@@ -119,8 +119,8 @@ export function SwapInput(props: SwapInputPropTypes) {
119
119
  style={{ padding: 0 }}
120
120
  value={price.value}
121
121
  id={`${props.id}-input`}
122
- type={'onInputChange' in props ? 'number' : 'text'}
123
- step="any"
122
+ type="text"
123
+ inputMode="decimal"
124
124
  size="large"
125
125
  placeholder="0"
126
126
  variant="ghost"
@@ -128,7 +128,6 @@ export function SwapInput(props: SwapInputPropTypes) {
128
128
  onBlur: (event: React.ChangeEvent<HTMLInputElement>) =>
129
129
  props.onInputBlur?.(event.target.value),
130
130
  })}
131
- min={0}
132
131
  {...('onInputChange' in props && {
133
132
  onChange: (event: React.ChangeEvent<HTMLInputElement>) =>
134
133
  props.onInputChange(event.target.value),