@rango-dev/ui 0.42.1-next.2 → 0.42.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":"QuoteCost.d.ts","sourceRoot":"","sources":["../../../../../../src/components/QuoteCost/QuoteCost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA0DzC"}
1
+ {"version":3,"file":"QuoteCost.d.ts","sourceRoot":"","sources":["../../../../../../src/components/QuoteCost/QuoteCost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA2DzC"}
@@ -6,6 +6,7 @@ export type PropTypes = {
6
6
  onClickFee?: React.MouseEventHandler<HTMLDivElement>;
7
7
  tooltipGas?: string;
8
8
  feeWarning?: boolean;
9
+ timeWarning?: boolean;
9
10
  tooltipContainer?: HTMLElement;
10
11
  };
11
12
  //# sourceMappingURL=QuoteCost.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuoteCost.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/QuoteCost/QuoteCost.types.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"QuoteCost.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/QuoteCost/QuoteCost.types.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAChC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.42.1-next.2",
3
+ "version": "0.42.1-next.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -22,6 +22,7 @@ export function QuoteCost(props: PropTypes) {
22
22
  onClickFee,
23
23
  tooltipGas,
24
24
  feeWarning,
25
+ timeWarning,
25
26
  tooltipContainer,
26
27
  } = props;
27
28
  return (
@@ -47,7 +48,7 @@ export function QuoteCost(props: PropTypes) {
47
48
  </Tooltip>
48
49
 
49
50
  <Separator />
50
- <div className={itemStyles()}>
51
+ <div className={`${itemStyles()} ${timeWarning ? 'warning' : ''}`}>
51
52
  <div className={iconStyles()}>
52
53
  <TimeIcon size={12} color="gray" />
53
54
  </div>
@@ -5,5 +5,6 @@ export type PropTypes = {
5
5
  onClickFee?: React.MouseEventHandler<HTMLDivElement>;
6
6
  tooltipGas?: string;
7
7
  feeWarning?: boolean;
8
+ timeWarning?: boolean;
8
9
  tooltipContainer?: HTMLElement;
9
10
  };