@szum-tech/design-system 1.7.1 → 1.8.0
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.
- package/Tooltip.provider-0bfb8e8b.d.ts +19 -0
- package/chunk-H45G4SKR.js +29 -0
- package/chunk-KFGKQTHE.mjs +5 -0
- package/chunk-KJ2XNFGW.mjs +6 -0
- package/chunk-PSTRT4QP.js +7 -0
- package/components/Icons/index.d.ts +2 -7
- package/components/Icons/index.js +6 -3
- package/components/Icons/index.mjs +1 -5
- package/components/Tooltip/index.d.ts +3 -0
- package/components/Tooltip/index.js +16 -0
- package/components/Tooltip/index.mjs +1 -0
- package/components/index.d.ts +3 -0
- package/components/index.js +15 -1
- package/components/index.mjs +3 -1
- package/google-141b534f.d.ts +7 -0
- package/index.d.ts +3 -0
- package/index.js +16 -2
- package/index.mjs +4 -2
- package/package.json +2 -1
- package/theme/main-preset.js +24 -0
- /package/{chunk-5AJUIVQP.js → chunk-AZOTATFN.js} +0 -0
- /package/{chunk-LMETIM25.mjs → chunk-CWYY7UTM.mjs} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ReactTooltip from '@radix-ui/react-tooltip';
|
|
3
|
+
|
|
4
|
+
type TooltipProps = ReactTooltip.TooltipContentProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
open?: boolean;
|
|
8
|
+
onOpenChange?: (open: boolean) => void;
|
|
9
|
+
content?: React.ReactNode;
|
|
10
|
+
collisionPadding?: number;
|
|
11
|
+
};
|
|
12
|
+
declare function Tooltip({ defaultOpen, content, open, onOpenChange, children, side, align, collisionPadding, sideOffset, ...props }: TooltipProps): JSX.Element;
|
|
13
|
+
|
|
14
|
+
type TooltipProviderProps = {
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
};
|
|
17
|
+
declare function TooltipProvider({ children }: TooltipProviderProps): JSX.Element;
|
|
18
|
+
|
|
19
|
+
export { Tooltip as T, TooltipProps as a, TooltipProviderProps as b, TooltipProvider as c };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var o = require('@radix-ui/react-tooltip');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
|
|
6
|
+
function _interopNamespace(e) {
|
|
7
|
+
if (e && e.__esModule) return e;
|
|
8
|
+
var n = Object.create(null);
|
|
9
|
+
if (e) {
|
|
10
|
+
Object.keys(e).forEach(function (k) {
|
|
11
|
+
if (k !== 'default') {
|
|
12
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return e[k]; }
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
var o__namespace = /*#__PURE__*/_interopNamespace(o);
|
|
25
|
+
|
|
26
|
+
function d({defaultOpen:t,content:a,open:p,onOpenChange:r,children:n,side:s,align:c,collisionPadding:R=8,sideOffset:T=8,...m}){return jsxRuntime.jsxs(o__namespace.Root,{delayDuration:0,open:p,defaultOpen:t,onOpenChange:r,children:[jsxRuntime.jsx(o__namespace.Trigger,{asChild:!0,children:n}),a?jsxRuntime.jsx(o__namespace.Portal,{children:jsxRuntime.jsxs(o__namespace.Content,{className:"select-none rounded bg-white p-2 text-typography-primary will-change-[transform,opacity] typography-body-1 data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade",sideOffset:T,side:s,align:c,collisionPadding:R,...m,style:{maxWidth:"var(--radix-tooltip-content-available-width)"},children:[a,jsxRuntime.jsx(o__namespace.Arrow,{width:8,height:4,className:"fill-white"})]})}):null]})}function y({children:t}){return jsxRuntime.jsx(o__namespace.Provider,{skipDelayDuration:500,children:t})}
|
|
27
|
+
|
|
28
|
+
exports.a = d;
|
|
29
|
+
exports.b = y;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function t(o){return jsxs("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...o,children:[jsx("path",{d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844c-.209 1.125-.843 2.078-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z",fillRule:"evenodd",fillOpacity:"1",fill:"#4285f4",stroke:"none"}),jsx("path",{d:"M9.003 18c2.43 0 4.467-.806 5.956-2.18L12.05 13.56c-.806.54-1.836.86-3.047.86-2.344 0-4.328-1.584-5.036-3.711H.96v2.332C2.44 15.983 5.485 18 9.003 18z",fillRule:"evenodd",fillOpacity:"1",fill:"#34a853",stroke:"none"}),jsx("path",{d:"M3.964 10.712c-.18-.54-.282-1.117-.282-1.71 0-.593.102-1.17.282-1.71V4.96H.957C.347 6.175 0 7.55 0 9.002c0 1.452.348 2.827.957 4.042l3.007-2.332z",fillRule:"evenodd",fillOpacity:"1",fill:"#fbbc05",stroke:"none"}),jsx("path",{d:"M9.003 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.464.891 11.428 0 9.002 0 5.485 0 2.44 2.017.96 4.958L3.967 7.29c.708-2.127 2.692-3.71 5.036-3.71z",fillRule:"evenodd",fillOpacity:"1",fill:"#ea4335",stroke:"none"})]})}
|
|
4
|
+
|
|
5
|
+
export { t as a };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as o from '@radix-ui/react-tooltip';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
function d({defaultOpen:t,content:a,open:p,onOpenChange:r,children:n,side:s,align:c,collisionPadding:R=8,sideOffset:T=8,...m}){return jsxs(o.Root,{delayDuration:0,open:p,defaultOpen:t,onOpenChange:r,children:[jsx(o.Trigger,{asChild:!0,children:n}),a?jsx(o.Portal,{children:jsxs(o.Content,{className:"select-none rounded bg-white p-2 text-typography-primary will-change-[transform,opacity] typography-body-1 data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade",sideOffset:T,side:s,align:c,collisionPadding:R,...m,style:{maxWidth:"var(--radix-tooltip-content-available-width)"},children:[a,jsx(o.Arrow,{width:8,height:4,className:"fill-white"})]})}):null]})}function y({children:t}){return jsx(o.Provider,{skipDelayDuration:500,children:t})}
|
|
5
|
+
|
|
6
|
+
export { d as a, y as b };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
|
|
5
|
+
function t(o){return jsxRuntime.jsxs("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...o,children:[jsxRuntime.jsx("path",{d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844c-.209 1.125-.843 2.078-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z",fillRule:"evenodd",fillOpacity:"1",fill:"#4285f4",stroke:"none"}),jsxRuntime.jsx("path",{d:"M9.003 18c2.43 0 4.467-.806 5.956-2.18L12.05 13.56c-.806.54-1.836.86-3.047.86-2.344 0-4.328-1.584-5.036-3.711H.96v2.332C2.44 15.983 5.485 18 9.003 18z",fillRule:"evenodd",fillOpacity:"1",fill:"#34a853",stroke:"none"}),jsxRuntime.jsx("path",{d:"M3.964 10.712c-.18-.54-.282-1.117-.282-1.71 0-.593.102-1.17.282-1.71V4.96H.957C.347 6.175 0 7.55 0 9.002c0 1.452.348 2.827.957 4.042l3.007-2.332z",fillRule:"evenodd",fillOpacity:"1",fill:"#fbbc05",stroke:"none"}),jsxRuntime.jsx("path",{d:"M9.003 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.464.891 11.428 0 9.002 0 5.485 0 2.44 2.017.96 4.958L3.967 7.29c.708-2.127 2.692-3.71 5.036-3.71z",fillRule:"evenodd",fillOpacity:"1",fill:"#ea4335",stroke:"none"})]})}
|
|
6
|
+
|
|
7
|
+
exports.a = t;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type IconProps = React.SVGProps<SVGSVGElement>;
|
|
4
|
-
|
|
5
|
-
declare function GoogleIcon(props: IconProps): JSX.Element;
|
|
6
|
-
|
|
7
|
-
export { GoogleIcon, IconProps };
|
|
1
|
+
export { G as GoogleIcon, I as IconProps } from '../../google-141b534f.js';
|
|
2
|
+
import 'react';
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPSTRT4QP_js = require('../../chunk-PSTRT4QP.js');
|
|
4
4
|
|
|
5
|
-
function t(o){return jsxRuntime.jsxs("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...o,children:[jsxRuntime.jsx("path",{d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844c-.209 1.125-.843 2.078-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z",fillRule:"evenodd",fillOpacity:"1",fill:"#4285f4",stroke:"none"}),jsxRuntime.jsx("path",{d:"M9.003 18c2.43 0 4.467-.806 5.956-2.18L12.05 13.56c-.806.54-1.836.86-3.047.86-2.344 0-4.328-1.584-5.036-3.711H.96v2.332C2.44 15.983 5.485 18 9.003 18z",fillRule:"evenodd",fillOpacity:"1",fill:"#34a853",stroke:"none"}),jsxRuntime.jsx("path",{d:"M3.964 10.712c-.18-.54-.282-1.117-.282-1.71 0-.593.102-1.17.282-1.71V4.96H.957C.347 6.175 0 7.55 0 9.002c0 1.452.348 2.827.957 4.042l3.007-2.332z",fillRule:"evenodd",fillOpacity:"1",fill:"#fbbc05",stroke:"none"}),jsxRuntime.jsx("path",{d:"M9.003 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.464.891 11.428 0 9.002 0 5.485 0 2.44 2.017.96 4.958L3.967 7.29c.708-2.127 2.692-3.71 5.036-3.71z",fillRule:"evenodd",fillOpacity:"1",fill:"#ea4335",stroke:"none"})]})}
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, 'GoogleIcon', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkPSTRT4QP_js.a; }
|
|
10
|
+
});
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function t(o){return jsxs("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...o,children:[jsx("path",{d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844c-.209 1.125-.843 2.078-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z",fillRule:"evenodd",fillOpacity:"1",fill:"#4285f4",stroke:"none"}),jsx("path",{d:"M9.003 18c2.43 0 4.467-.806 5.956-2.18L12.05 13.56c-.806.54-1.836.86-3.047.86-2.344 0-4.328-1.584-5.036-3.711H.96v2.332C2.44 15.983 5.485 18 9.003 18z",fillRule:"evenodd",fillOpacity:"1",fill:"#34a853",stroke:"none"}),jsx("path",{d:"M3.964 10.712c-.18-.54-.282-1.117-.282-1.71 0-.593.102-1.17.282-1.71V4.96H.957C.347 6.175 0 7.55 0 9.002c0 1.452.348 2.827.957 4.042l3.007-2.332z",fillRule:"evenodd",fillOpacity:"1",fill:"#fbbc05",stroke:"none"}),jsx("path",{d:"M9.003 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.464.891 11.428 0 9.002 0 5.485 0 2.44 2.017.96 4.958L3.967 7.29c.708-2.127 2.692-3.71 5.036-3.71z",fillRule:"evenodd",fillOpacity:"1",fill:"#ea4335",stroke:"none"})]})}
|
|
4
|
-
|
|
5
|
-
export { t as GoogleIcon };
|
|
1
|
+
export { a as GoogleIcon } from '../../chunk-KFGKQTHE.mjs';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkH45G4SKR_js = require('../../chunk-H45G4SKR.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, 'TooltipProvider', {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkH45G4SKR_js.b; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, 'default', {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkH45G4SKR_js.a; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { b as TooltipProvider, a as default } from '../../chunk-KJ2XNFGW.mjs';
|
package/components/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { A as Avatar, a as AvatarProps, b as AvatarSizeType } from '../Avatar-cea60385.js';
|
|
2
2
|
export { B as Button, d as ButtonColorType, a as ButtonProps, b as ButtonSizeType, c as ButtonVariantType } from '../Button-b6aa5957.js';
|
|
3
|
+
export { G as GoogleIcon, I as IconProps } from '../google-141b534f.js';
|
|
4
|
+
export { T as Tooltip, a as TooltipProps, c as TooltipProvider, b as TooltipProviderProps } from '../Tooltip.provider-0bfb8e8b.js';
|
|
3
5
|
import 'react';
|
|
4
6
|
import 'class-variance-authority';
|
|
5
7
|
import 'class-variance-authority/dist/types';
|
|
8
|
+
import '@radix-ui/react-tooltip';
|
package/components/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunk-
|
|
3
|
+
require('../chunk-AZOTATFN.js');
|
|
4
4
|
var chunkM6LWZWJB_js = require('../chunk-M6LWZWJB.js');
|
|
5
5
|
var chunk35PGUWPE_js = require('../chunk-35PGUWPE.js');
|
|
6
|
+
var chunkPSTRT4QP_js = require('../chunk-PSTRT4QP.js');
|
|
7
|
+
var chunkH45G4SKR_js = require('../chunk-H45G4SKR.js');
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
|
|
@@ -14,3 +16,15 @@ Object.defineProperty(exports, 'Button', {
|
|
|
14
16
|
enumerable: true,
|
|
15
17
|
get: function () { return chunk35PGUWPE_js.a; }
|
|
16
18
|
});
|
|
19
|
+
Object.defineProperty(exports, 'GoogleIcon', {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkPSTRT4QP_js.a; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, 'Tooltip', {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkH45G4SKR_js.a; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, 'TooltipProvider', {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkH45G4SKR_js.b; }
|
|
30
|
+
});
|
package/components/index.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import '../chunk-
|
|
1
|
+
import '../chunk-CWYY7UTM.mjs';
|
|
2
2
|
export { a as Avatar } from '../chunk-MM2WP564.mjs';
|
|
3
3
|
export { a as Button } from '../chunk-CUMOJXWX.mjs';
|
|
4
|
+
export { a as GoogleIcon } from '../chunk-KFGKQTHE.mjs';
|
|
5
|
+
export { a as Tooltip, b as TooltipProvider } from '../chunk-KJ2XNFGW.mjs';
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export { A as Avatar, a as AvatarProps, b as AvatarSizeType } from './Avatar-cea60385.js';
|
|
2
2
|
export { B as Button, d as ButtonColorType, a as ButtonProps, b as ButtonSizeType, c as ButtonVariantType } from './Button-b6aa5957.js';
|
|
3
|
+
export { G as GoogleIcon, I as IconProps } from './google-141b534f.js';
|
|
4
|
+
export { T as Tooltip, a as TooltipProps, c as TooltipProvider, b as TooltipProviderProps } from './Tooltip.provider-0bfb8e8b.js';
|
|
3
5
|
export { u as useTheme } from './useTheme-01c9253b.js';
|
|
4
6
|
export { T as ThemeContext, b as ThemeProvider, a as ThemeProviderProps } from './ThemeProvider-8e6d7838.js';
|
|
5
7
|
export { a as ThemeContextType, T as ThemeType } from './theme.types-a32f0702.js';
|
|
6
8
|
import 'react';
|
|
7
9
|
import 'class-variance-authority';
|
|
8
10
|
import 'class-variance-authority/dist/types';
|
|
11
|
+
import '@radix-ui/react-tooltip';
|
package/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-7M2UD3MX.js');
|
|
4
|
+
require('./chunk-AZOTATFN.js');
|
|
4
5
|
var chunkM6LWZWJB_js = require('./chunk-M6LWZWJB.js');
|
|
5
6
|
var chunk35PGUWPE_js = require('./chunk-35PGUWPE.js');
|
|
6
|
-
require('./chunk-
|
|
7
|
+
var chunkPSTRT4QP_js = require('./chunk-PSTRT4QP.js');
|
|
8
|
+
var chunkH45G4SKR_js = require('./chunk-H45G4SKR.js');
|
|
7
9
|
var chunkUJM6RAIA_js = require('./chunk-UJM6RAIA.js');
|
|
8
10
|
require('./chunk-JQ4UTWMH.js');
|
|
9
11
|
var chunkX2QIG2W5_js = require('./chunk-X2QIG2W5.js');
|
|
@@ -18,6 +20,18 @@ Object.defineProperty(exports, 'Button', {
|
|
|
18
20
|
enumerable: true,
|
|
19
21
|
get: function () { return chunk35PGUWPE_js.a; }
|
|
20
22
|
});
|
|
23
|
+
Object.defineProperty(exports, 'GoogleIcon', {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkPSTRT4QP_js.a; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, 'Tooltip', {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkH45G4SKR_js.a; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, 'TooltipProvider', {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkH45G4SKR_js.b; }
|
|
34
|
+
});
|
|
21
35
|
Object.defineProperty(exports, 'useTheme', {
|
|
22
36
|
enumerable: true,
|
|
23
37
|
get: function () { return chunkUJM6RAIA_js.a; }
|
package/index.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import './chunk-
|
|
1
|
+
import './chunk-TAA4AMBN.mjs';
|
|
2
|
+
import './chunk-CWYY7UTM.mjs';
|
|
2
3
|
export { a as Avatar } from './chunk-MM2WP564.mjs';
|
|
3
4
|
export { a as Button } from './chunk-CUMOJXWX.mjs';
|
|
4
|
-
|
|
5
|
+
export { a as GoogleIcon } from './chunk-KFGKQTHE.mjs';
|
|
6
|
+
export { a as Tooltip, b as TooltipProvider } from './chunk-KJ2XNFGW.mjs';
|
|
5
7
|
export { a as useTheme } from './chunk-CRJI67D5.mjs';
|
|
6
8
|
import './chunk-WPEQQQCR.mjs';
|
|
7
9
|
export { a as ThemeContext, b as ThemeProvider } from './chunk-5SE7P5YG.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Szum-Tech design system with tailwindcss support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"szum-tech",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"type-check": "tsc --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
+
"@radix-ui/react-tooltip": "^1.0.5",
|
|
60
61
|
"@tailwindcss/container-queries": "^0.1.0",
|
|
61
62
|
"class-variance-authority": "^0.5.2",
|
|
62
63
|
"tailwind-scrollbar": "^3.0.0"
|
package/theme/main-preset.js
CHANGED
|
@@ -183,6 +183,30 @@ module.exports = {
|
|
|
183
183
|
width: {
|
|
184
184
|
128: "32.0rem",
|
|
185
185
|
300: "75.0rem"
|
|
186
|
+
},
|
|
187
|
+
keyframes: {
|
|
188
|
+
slideDownAndFade: {
|
|
189
|
+
from: { opacity: 0, transform: "translateY(-2px)" },
|
|
190
|
+
to: { opacity: 1, transform: "translateY(0)" }
|
|
191
|
+
},
|
|
192
|
+
slideLeftAndFade: {
|
|
193
|
+
from: { opacity: 0, transform: "translateX(2px)" },
|
|
194
|
+
to: { opacity: 1, transform: "translateX(0)" }
|
|
195
|
+
},
|
|
196
|
+
slideUpAndFade: {
|
|
197
|
+
from: { opacity: 0, transform: "translateY(2px)" },
|
|
198
|
+
to: { opacity: 1, transform: "translateY(0)" }
|
|
199
|
+
},
|
|
200
|
+
slideRightAndFade: {
|
|
201
|
+
from: { opacity: 0, transform: "translateX(-2px)" },
|
|
202
|
+
to: { opacity: 1, transform: "translateX(0)" }
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
animation: {
|
|
206
|
+
slideDownAndFade: "slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
|
|
207
|
+
slideLeftAndFade: "slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
|
|
208
|
+
slideUpAndFade: "slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
|
|
209
|
+
slideRightAndFade: "slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
186
210
|
}
|
|
187
211
|
}
|
|
188
212
|
},
|
|
File without changes
|
|
File without changes
|