@tipp/ui 1.2.4 → 1.2.5

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.
@@ -62,7 +62,7 @@ import "../chunk-OHMOP5PV.js";
62
62
  import "../chunk-KGLIAFTI.js";
63
63
  import "../chunk-Q37G2GS6.js";
64
64
  import "../chunk-VTJZMOSP.js";
65
- import "../chunk-RTJS3BWZ.js";
65
+ import "../chunk-SBZSSTJE.js";
66
66
  import "../chunk-ZZXCFJOT.js";
67
67
  import "../chunk-BVBX6IJ3.js";
68
68
  import "../chunk-NJ2U2TVS.js";
@@ -42,7 +42,7 @@ import "../chunk-OHMOP5PV.js";
42
42
  import "../chunk-KGLIAFTI.js";
43
43
  import "../chunk-Q37G2GS6.js";
44
44
  import "../chunk-VTJZMOSP.js";
45
- import "../chunk-RTJS3BWZ.js";
45
+ import "../chunk-SBZSSTJE.js";
46
46
  import "../chunk-ZZXCFJOT.js";
47
47
  import "../chunk-BVBX6IJ3.js";
48
48
  import "../chunk-NJ2U2TVS.js";
@@ -42,7 +42,7 @@ import "../chunk-OHMOP5PV.js";
42
42
  import "../chunk-KGLIAFTI.js";
43
43
  import "../chunk-Q37G2GS6.js";
44
44
  import "../chunk-VTJZMOSP.js";
45
- import "../chunk-RTJS3BWZ.js";
45
+ import "../chunk-SBZSSTJE.js";
46
46
  import "../chunk-ZZXCFJOT.js";
47
47
  import "../chunk-BVBX6IJ3.js";
48
48
  import "../chunk-NJ2U2TVS.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tipp/ui",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -1,7 +1,8 @@
1
1
  import * as RadixDialog from '@radix-ui/react-dialog';
2
2
  import { Cross1Icon } from '@radix-ui/react-icons';
3
- import { Flex, IconButton } from '@radix-ui/themes';
3
+ import { Flex } from '@radix-ui/themes';
4
4
  import { useEffect, useRef } from 'react';
5
+ import { Button } from './button';
5
6
 
6
7
  type ContentProps = RadixDialog.DialogContentProps & {
7
8
  width?: string;
@@ -48,9 +49,9 @@ function Content(props: ContentProps): React.ReactElement {
48
49
  >
49
50
  <Flex direction="column" style={{ position: 'relative' }}>
50
51
  <RadixDialog.Close asChild className="DialogClose">
51
- <IconButton variant="ghost">
52
- <Cross1Icon />
53
- </IconButton>
52
+ <Button color="gray" variant="transparent">
53
+ <Cross1Icon height="16px" width="16px" />
54
+ </Button>
54
55
  </RadixDialog.Close>
55
56
  {children}
56
57
  </Flex>