@szum-tech/design-system 3.8.0 → 3.9.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/dist/{chunk-O3DHBQA5.cjs → chunk-3GNVQFCK.cjs} +1 -1
- package/dist/{chunk-SYKUS2RV.js → chunk-3MH6P44N.js} +2 -2
- package/dist/{chunk-3BLXG7ET.js → chunk-3RK5PCIC.js} +1 -1
- package/dist/{chunk-2Q2BIWBE.js → chunk-5MV54MWS.js} +1 -1
- package/dist/{chunk-YWG7TML6.cjs → chunk-6X26XC6P.cjs} +1 -1
- package/dist/chunk-A7SBXO2Y.cjs +40 -0
- package/dist/{chunk-ACJ3ES2B.js → chunk-BTSHACKG.js} +1 -1
- package/dist/{chunk-3DUJHGXE.cjs → chunk-CFJ44JVK.cjs} +1 -1
- package/dist/{chunk-Q5ONG5HB.cjs → chunk-DTYX7CYN.cjs} +2 -2
- package/dist/chunk-E5TYGWGE.js +176 -0
- package/dist/{chunk-XV3AQ6NS.js → chunk-KGGCA634.js} +1 -1
- package/dist/{chunk-3SDAJSY6.js → chunk-PHPJ54IC.js} +86 -51
- package/dist/{chunk-FKCWRNWB.js → chunk-U3QKV7I4.js} +1 -1
- package/dist/chunk-U7XZJQ4O.js +36 -0
- package/dist/{chunk-X55H6LRX.cjs → chunk-ULEEQ723.cjs} +1 -1
- package/dist/{chunk-BAWVLSRF.cjs → chunk-VK5EX3OG.cjs} +1 -1
- package/dist/{chunk-UW6GOD7J.js → chunk-VT5GDGZJ.js} +1 -1
- package/dist/chunk-XJZOANXX.cjs +183 -0
- package/dist/{chunk-F3GJIJRL.cjs → chunk-XTNS5QH5.cjs} +89 -54
- package/dist/{chunk-Z6CZAPVG.cjs → chunk-ZVF7J4EI.cjs} +1 -1
- package/dist/components/alert/index.cjs +4 -5
- package/dist/components/alert/index.js +1 -2
- package/dist/components/alert-dialog/index.cjs +0 -1
- package/dist/components/alert-dialog/index.js +0 -1
- package/dist/components/avatar/index.cjs +0 -1
- package/dist/components/avatar/index.js +0 -1
- package/dist/components/badge/index.cjs +4 -5
- package/dist/components/badge/index.js +1 -2
- package/dist/components/button/index.cjs +12 -13
- package/dist/components/button/index.js +11 -12
- package/dist/components/card/index.cjs +0 -1
- package/dist/components/card/index.js +0 -1
- package/dist/components/checkbox/index.cjs +0 -1
- package/dist/components/checkbox/index.js +0 -1
- package/dist/components/color-swatch/index.cjs +2 -3
- package/dist/components/color-swatch/index.js +1 -2
- package/dist/components/dialog/index.cjs +9 -10
- package/dist/components/dialog/index.js +1 -2
- package/dist/components/empty/index.cjs +0 -1
- package/dist/components/empty/index.js +0 -1
- package/dist/components/field/index.cjs +11 -12
- package/dist/components/field/index.js +1 -2
- package/dist/components/header/index.cjs +2 -3
- package/dist/components/header/index.js +1 -2
- package/dist/components/index.cjs +82 -79
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +11 -12
- package/dist/components/input/index.cjs +0 -1
- package/dist/components/input/index.js +0 -1
- package/dist/components/item/index.cjs +11 -12
- package/dist/components/item/index.js +1 -2
- package/dist/components/label/index.cjs +0 -1
- package/dist/components/label/index.js +0 -1
- package/dist/components/progress/index.cjs +0 -1
- package/dist/components/progress/index.js +0 -1
- package/dist/components/radio-group/index.cjs +0 -1
- package/dist/components/radio-group/index.js +0 -1
- package/dist/components/scroll-area/index.cjs +0 -1
- package/dist/components/scroll-area/index.js +0 -1
- package/dist/components/select/index.cjs +7 -8
- package/dist/components/select/index.d.cts +1 -2
- package/dist/components/select/index.d.ts +1 -2
- package/dist/components/select/index.js +1 -2
- package/dist/components/separator/index.cjs +0 -1
- package/dist/components/separator/index.js +0 -1
- package/dist/components/sheet/index.cjs +0 -1
- package/dist/components/sheet/index.js +0 -1
- package/dist/components/spinner/index.cjs +0 -1
- package/dist/components/spinner/index.js +0 -1
- package/dist/components/stepper/index.cjs +30 -31
- package/dist/components/stepper/index.js +11 -12
- package/dist/components/textarea/index.cjs +0 -1
- package/dist/components/textarea/index.js +0 -1
- package/dist/components/toaster/index.cjs +13 -14
- package/dist/components/toaster/index.js +11 -12
- package/dist/components/tooltip/index.cjs +9 -5
- package/dist/components/tooltip/index.d.cts +8 -12
- package/dist/components/tooltip/index.d.ts +8 -12
- package/dist/components/tooltip/index.js +2 -2
- package/dist/contexts/index.cjs +0 -1
- package/dist/contexts/index.js +0 -1
- package/dist/hooks/index.cjs +0 -1
- package/dist/hooks/index.js +0 -1
- package/dist/icons/index.cjs +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/utils/index.cjs +0 -1
- package/dist/utils/index.js +0 -1
- package/package.json +6 -9
- package/tailwind/global.css +5 -0
- package/dist/chunk-3376ZTRC.cjs +0 -2
- package/dist/chunk-3ZRMIVJM.cjs +0 -4934
- package/dist/chunk-BYXBJQAS.js +0 -1
- package/dist/chunk-GR37JJQK.cjs +0 -43
- package/dist/chunk-HJJPEVIH.js +0 -40
- package/dist/chunk-O7QFYWMK.js +0 -4907
package/dist/chunk-BYXBJQAS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/chunk-GR37JJQK.cjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var radixUi = require('radix-ui');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
|
|
6
|
-
// src/components/tooltip/tooltip.tsx
|
|
7
|
-
function Tooltip({
|
|
8
|
-
defaultOpen,
|
|
9
|
-
content,
|
|
10
|
-
open,
|
|
11
|
-
onOpenChange,
|
|
12
|
-
children,
|
|
13
|
-
side,
|
|
14
|
-
align,
|
|
15
|
-
collisionPadding = 8,
|
|
16
|
-
sideOffset = 8,
|
|
17
|
-
...props
|
|
18
|
-
}) {
|
|
19
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Tooltip.Root, { delayDuration: 0, open, defaultOpen, onOpenChange, children: [
|
|
20
|
-
/* @__PURE__ */ jsxRuntime.jsx(radixUi.Tooltip.Trigger, { asChild: true, children }),
|
|
21
|
-
content ? /* @__PURE__ */ jsxRuntime.jsx(radixUi.Tooltip.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22
|
-
radixUi.Tooltip.Content,
|
|
23
|
-
{
|
|
24
|
-
className: "text-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 rounded bg-white p-2 text-gray-100 will-change-[transform,opacity] select-none",
|
|
25
|
-
sideOffset,
|
|
26
|
-
side,
|
|
27
|
-
align,
|
|
28
|
-
collisionPadding,
|
|
29
|
-
...props,
|
|
30
|
-
children: [
|
|
31
|
-
content,
|
|
32
|
-
/* @__PURE__ */ jsxRuntime.jsx(radixUi.Tooltip.Arrow, { width: 8, height: 4, className: "fill-white" })
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
) }) : null
|
|
36
|
-
] });
|
|
37
|
-
}
|
|
38
|
-
function TooltipProvider({ children, skipDelayDuration = 500, ...props }) {
|
|
39
|
-
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Tooltip.Provider, { skipDelayDuration, ...props, children });
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
exports.Tooltip = Tooltip;
|
|
43
|
-
exports.TooltipProvider = TooltipProvider;
|
package/dist/chunk-HJJPEVIH.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Tooltip as Tooltip$1 } from 'radix-ui';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
// src/components/tooltip/tooltip.tsx
|
|
5
|
-
function Tooltip({
|
|
6
|
-
defaultOpen,
|
|
7
|
-
content,
|
|
8
|
-
open,
|
|
9
|
-
onOpenChange,
|
|
10
|
-
children,
|
|
11
|
-
side,
|
|
12
|
-
align,
|
|
13
|
-
collisionPadding = 8,
|
|
14
|
-
sideOffset = 8,
|
|
15
|
-
...props
|
|
16
|
-
}) {
|
|
17
|
-
return /* @__PURE__ */ jsxs(Tooltip$1.Root, { delayDuration: 0, open, defaultOpen, onOpenChange, children: [
|
|
18
|
-
/* @__PURE__ */ jsx(Tooltip$1.Trigger, { asChild: true, children }),
|
|
19
|
-
content ? /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsxs(
|
|
20
|
-
Tooltip$1.Content,
|
|
21
|
-
{
|
|
22
|
-
className: "text-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 rounded bg-white p-2 text-gray-100 will-change-[transform,opacity] select-none",
|
|
23
|
-
sideOffset,
|
|
24
|
-
side,
|
|
25
|
-
align,
|
|
26
|
-
collisionPadding,
|
|
27
|
-
...props,
|
|
28
|
-
children: [
|
|
29
|
-
content,
|
|
30
|
-
/* @__PURE__ */ jsx(Tooltip$1.Arrow, { width: 8, height: 4, className: "fill-white" })
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
) }) : null
|
|
34
|
-
] });
|
|
35
|
-
}
|
|
36
|
-
function TooltipProvider({ children, skipDelayDuration = 500, ...props }) {
|
|
37
|
-
return /* @__PURE__ */ jsx(Tooltip$1.Provider, { skipDelayDuration, ...props, children });
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export { Tooltip, TooltipProvider };
|