@yuno-payments/dashboard-design-system 0.0.33 → 0.0.35
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.
|
@@ -2,7 +2,7 @@ export { Avatar } from './avatar';
|
|
|
2
2
|
export { Badge, type BadgeProps } from './badge';
|
|
3
3
|
export { Button, type ButtonProps } from './button';
|
|
4
4
|
export { Checkbox, type CheckboxProps } from './checkbox';
|
|
5
|
-
export { Icon, type IconProps } from './icon';
|
|
5
|
+
export { Icon, type IconProps, type IconName } from './icon';
|
|
6
6
|
export { Tooltip, type TooltipProps } from './tooltip';
|
|
7
7
|
export { Input, type InputProps } from './input';
|
|
8
8
|
export { Typography, type TypographyProps } from './typography';
|
|
@@ -10,4 +10,4 @@ export { Link, type LinkProps } from './link';
|
|
|
10
10
|
export { Alert, type AlertProps } from './alert';
|
|
11
11
|
export { PasswordInput, type PasswordInputProps } from './password-input';
|
|
12
12
|
export { Separator, type SeparatorProps } from './separator';
|
|
13
|
-
export { Toaster } from './toaster';
|
|
13
|
+
export { Toaster, toast } from './toaster';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Toaster
|
|
1
|
+
export { Toaster } from '../../../vendor/shadcn/sonner';
|
|
2
|
+
export { toast } from 'sonner';
|
package/dist/index.js
CHANGED
|
@@ -3,31 +3,33 @@ import { Avatar as p } from "./components/atoms/avatar/avatar.js";
|
|
|
3
3
|
import { Badge as m } from "./components/atoms/badge/badge.js";
|
|
4
4
|
import { Button as f } from "./components/atoms/button/button.js";
|
|
5
5
|
import { Checkbox as n } from "./components/atoms/checkbox/checkbox.js";
|
|
6
|
-
import { Icon as
|
|
7
|
-
import { Tooltip as
|
|
8
|
-
import { Input as
|
|
6
|
+
import { Icon as s } from "./components/atoms/icon/icon.js";
|
|
7
|
+
import { Tooltip as c } from "./components/atoms/tooltip/tooltip.js";
|
|
8
|
+
import { Input as g } from "./components/atoms/input/input.js";
|
|
9
9
|
import { Typography as B } from "./components/atoms/typography/typography.js";
|
|
10
10
|
import { Link as T } from "./components/atoms/link/link.js";
|
|
11
11
|
import { Alert as h } from "./components/atoms/alert/alert.js";
|
|
12
12
|
import { PasswordInput as y } from "./components/atoms/password-input/password-input.js";
|
|
13
13
|
import { Separator as v } from "./components/atoms/separator/separator.js";
|
|
14
14
|
import { Toaster as C } from "./vendor/shadcn/sonner.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { toast as L } from "./node_modules/sonner/dist/index.js";
|
|
16
|
+
import { Breadcrumb as S } from "./components/molecules/breadcrumb/breadcrumb.js";
|
|
17
|
+
import { Dialog as q } from "./components/organisms/dialog/dialog.js";
|
|
17
18
|
export {
|
|
18
19
|
h as Alert,
|
|
19
20
|
p as Avatar,
|
|
20
21
|
m as Badge,
|
|
21
|
-
|
|
22
|
+
S as Breadcrumb,
|
|
22
23
|
f as Button,
|
|
23
24
|
n as Checkbox,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
q as Dialog,
|
|
26
|
+
s as Icon,
|
|
27
|
+
g as Input,
|
|
27
28
|
T as Link,
|
|
28
29
|
y as PasswordInput,
|
|
29
30
|
v as Separator,
|
|
30
31
|
C as Toaster,
|
|
31
|
-
|
|
32
|
-
B as Typography
|
|
32
|
+
c as Tooltip,
|
|
33
|
+
B as Typography,
|
|
34
|
+
L as toast
|
|
33
35
|
};
|
|
@@ -260,8 +260,7 @@ const S = new ae(), oe = (r, o) => {
|
|
|
260
260
|
...o,
|
|
261
261
|
id: e
|
|
262
262
|
}), e;
|
|
263
|
-
}, se = (r) => r && typeof r == "object" && "ok" in r && typeof r.ok == "boolean" && "status" in r && typeof r.status == "number", ne = oe, re = () => S.toasts, ie = () => S.getActiveToasts()
|
|
264
|
-
Object.assign(ne, {
|
|
263
|
+
}, se = (r) => r && typeof r == "object" && "ok" in r && typeof r.ok == "boolean" && "status" in r && typeof r.status == "number", ne = oe, re = () => S.toasts, ie = () => S.getActiveToasts(), xe = Object.assign(ne, {
|
|
265
264
|
success: S.success,
|
|
266
265
|
info: S.info,
|
|
267
266
|
warning: S.warning,
|
|
@@ -565,7 +564,7 @@ function be(r, o) {
|
|
|
565
564
|
}) : b(_);
|
|
566
565
|
}), e;
|
|
567
566
|
}
|
|
568
|
-
const
|
|
567
|
+
const Ee = /* @__PURE__ */ a.forwardRef(function(o, e) {
|
|
569
568
|
const { id: s, invert: C, position: u = "bottom-right", hotkey: g = [
|
|
570
569
|
"altKey",
|
|
571
570
|
"KeyT"
|
|
@@ -742,5 +741,6 @@ const xe = /* @__PURE__ */ a.forwardRef(function(o, e) {
|
|
|
742
741
|
}));
|
|
743
742
|
});
|
|
744
743
|
export {
|
|
745
|
-
|
|
744
|
+
Ee as Toaster,
|
|
745
|
+
xe as toast
|
|
746
746
|
};
|