@rango-dev/ui 0.36.1-next.5 → 0.36.1-next.6

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,mBAAmB,CAAC;AAG5D,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,kBAAkB,qBAyIlD"}
1
+ {"version":3,"file":"SwapInput.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,kBAAkB,qBAwIlD"}
@@ -338,9 +338,7 @@ export declare const InputAmount: import("@stitches/react/types/styled-component
338
338
  }> | undefined;
339
339
  } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & {
340
340
  children?: import("react").ReactNode;
341
- } & import("react").RefAttributes<HTMLInputElement>>, {
342
- isZero?: boolean | "true" | undefined;
343
- }, {
341
+ } & import("react").RefAttributes<HTMLInputElement>>, {}, {
344
342
  xs: string;
345
343
  sm: string;
346
344
  md: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SwapInput.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/SwapInput/SwapInput.styles.ts"],"names":[],"mappings":";;;AAAA,OAAO,EAAqB,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIxB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQvB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE/B,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.36.1-next.5",
3
+ "version": "0.36.1-next.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -38,17 +38,6 @@ export const InputAmount = styled(TextField, {
38
38
  '&:disabled': {
39
39
  cursor: 'unset',
40
40
  },
41
- variants: {
42
- isZero: {
43
- true: {
44
- $$color: '$colors$neutral700',
45
- [`.${darkTheme} &`]: {
46
- $$color: '$colors$neutral900',
47
- },
48
- color: '$$color',
49
- },
50
- },
51
- },
52
41
  });
53
42
  export const MaxButton = styled(Button, {
54
43
  $$color: '$colors$secondary200',
@@ -115,7 +115,6 @@ export function SwapInput(props: SwapInputPropTypes) {
115
115
  size="large"
116
116
  placeholder="0"
117
117
  variant="ghost"
118
- isZero={props.price.value === '0'}
119
118
  min={0}
120
119
  {...('onInputChange' in props && {
121
120
  onChange: (event: React.ChangeEvent<HTMLInputElement>) =>