@rango-dev/ui 0.29.1-next.12 → 0.29.1-next.13

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":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAIxD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI3B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIvB,CAAC"}
1
+ {"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AAIxD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAO3B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.29.1-next.12",
3
+ "version": "0.29.1-next.13",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -1,15 +1,21 @@
1
1
  import * as RadixPopover from '@radix-ui/react-popover';
2
2
 
3
- import { styled } from '../../theme';
3
+ import { darkTheme, styled } from '../../theme';
4
4
 
5
5
  export const PopoverContainer = styled(RadixPopover.Content, {
6
6
  borderRadius: '$sm',
7
7
  filter: 'drop-shadow(0px 5px 20px rgba(130, 130, 130, 0.20))',
8
8
  backgroundColor: '$neutral100',
9
+ [`.${darkTheme} &`]: {
10
+ backgroundColor: '$neutral300',
11
+ },
9
12
  });
10
13
 
11
14
  export const PopoverArrow = styled(RadixPopover.Arrow, {
12
15
  fill: '$neutral100',
16
+ [`.${darkTheme} &`]: {
17
+ fill: '$neutral300',
18
+ },
13
19
  width: '$16',
14
20
  height: '$8',
15
21
  });
@@ -69,7 +69,7 @@ export const Alerts = styled('div', {
69
69
  });
70
70
 
71
71
  export const DashedLine = styled('div', {
72
- borderLeft: '1px dashed black',
72
+ borderLeft: '1px dashed $foreground',
73
73
  minHeight: '64px',
74
74
  margin: '0 11.5px',
75
75
  alignSelf: 'stretch',
@@ -45,6 +45,12 @@ export const MaxButton = styled(Button, {
45
45
  $$color: '$colors$secondary800',
46
46
  },
47
47
  backgroundColor: '$$color',
48
+ '& ._typography': {
49
+ color: '$colors$secondary500',
50
+ [`.${darkTheme} &`]: {
51
+ color: '$colors$secondary400',
52
+ },
53
+ },
48
54
  });
49
55
 
50
56
  export const ValueTypography = styled('div', {
@@ -58,7 +58,7 @@ export function SwapInput(props: SwapInputProps) {
58
58
  variant="default"
59
59
  size="xsmall"
60
60
  onClick={props.onSelectMaxBalance}>
61
- <Typography variant="body" size="xsmall" color="secondary500">
61
+ <Typography variant="body" size="xsmall">
62
62
  {i18n.t('Max')}
63
63
  </Typography>
64
64
  </MaxButton>
@@ -24,7 +24,7 @@ export const Container = styled(Button, {
24
24
  '&:hover': {
25
25
  $$color: '$colors$info100',
26
26
  [`.${darkTheme} &`]: {
27
- $$color: '$colors$neutral400',
27
+ $$color: '$colors$neutral100',
28
28
  },
29
29
  backgroundColor: '$$color !important',
30
30
  },