@driveflux/beam 2.0.13 → 2.0.15
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/badge/Badge.d.ts +1 -1
- package/dist/dialog/index.d.ts +3 -1
- package/dist/dialog/index.d.ts.map +1 -1
- package/dist/dialog/index.js +23 -1
- package/dist/dialog/index.js.map +1 -1
- package/dist/icons/IconCollapseAll.js +94 -5
- package/dist/icons/IconDownload.js +79 -5
- package/dist/icons/IconExpandAll.js +94 -5
- package/dist/icons/IconReport.js +89 -6
- package/dist/select/Select.stories.d.ts.map +1 -1
- package/dist/styles.css +56 -4
- package/dist/toast/sonner.d.ts.map +1 -1
- package/dist/toast/sonner.js +2 -10
- package/dist/toast/sonner.js.map +1 -1
- package/package.json +1 -1
- package/dist/icons/IconCollapseAll.js.map +0 -1
- package/dist/icons/IconDownload.js.map +0 -1
- package/dist/icons/IconExpandAll.js.map +0 -1
- package/dist/icons/IconReport.js.map +0 -1
package/dist/badge/Badge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
colorScheme?: "
|
|
4
|
+
colorScheme?: "success" | "accent" | "warning" | "info" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
package/dist/dialog/index.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.Dia
|
|
|
5
5
|
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
6
|
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> &
|
|
8
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
|
+
showCloseButton?: boolean;
|
|
10
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
9
11
|
declare const DialogHeader: {
|
|
10
12
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,aAAa,8GAA0B,CAAA;AAE7C,QAAA,MAAM,YAAY,6CAAyB,CAAA;AAE3C,QAAA,MAAM,WAAW,4GAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,8JAYjB,CAAA;AAGF,QAAA,MAAM,aAAa;sBAGC,OAAO;wCA+CzB,CAAA;AAGF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAKtC,CAAA;AAGD,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAKtC,CAAA;AAGD,QAAA,MAAM,WAAW,oKAYf,CAAA;AAGF,QAAA,MAAM,iBAAiB,8KASrB,CAAA;AAGF,OAAO,EACN,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACb,CAAA"}
|
package/dist/dialog/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import HStack from '../hstack/HStack';
|
|
6
|
+
import IconClose from '../icons/IconClose';
|
|
6
7
|
import { cn } from '../utils';
|
|
7
8
|
const Dialog = DialogPrimitive.Root;
|
|
8
9
|
const DialogTrigger = DialogPrimitive.Trigger;
|
|
@@ -10,7 +11,28 @@ const DialogPortal = DialogPrimitive.Portal;
|
|
|
10
11
|
const DialogClose = DialogPrimitive.Close;
|
|
11
12
|
const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => (_jsx(DialogPrimitive.Overlay, { ref: ref, className: cn('fixed inset-0 z-50 bg-black/45 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0', className), ...props })));
|
|
12
13
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
13
|
-
const DialogContent = React.forwardRef(({ className, children, ...props }, ref) => (
|
|
14
|
+
const DialogContent = React.forwardRef(({ className, children, showCloseButton, ...props }, ref) => (
|
|
15
|
+
// <DialogPortal>
|
|
16
|
+
// <DialogOverlay />
|
|
17
|
+
// <DialogPrimitive.Content
|
|
18
|
+
// ref={ref}
|
|
19
|
+
// className={cn(
|
|
20
|
+
// 'fixed left-[50%] top-[50%] z-50 w-full max-w-[628px] translate-x-[-50%] translate-y-[-50%]',
|
|
21
|
+
// 'border border-zinc-200 bg-white shadow-lg duration-200',
|
|
22
|
+
// 'data-[state=open]:animate-in data-[state=closed]:animate-out',
|
|
23
|
+
// 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
|
|
24
|
+
// 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',
|
|
25
|
+
// 'data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]',
|
|
26
|
+
// 'data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]',
|
|
27
|
+
// 'dark:border-zinc-800 dark:bg-zinc-950',
|
|
28
|
+
// className,
|
|
29
|
+
// )}
|
|
30
|
+
// {...props}
|
|
31
|
+
// >
|
|
32
|
+
// {children}
|
|
33
|
+
// </DialogPrimitive.Content>
|
|
34
|
+
// </DialogPortal>
|
|
35
|
+
_jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [_jsx(DialogOverlay, {}), _jsxs(DialogPrimitive.Content, { autoFocus: false, "data-slot": "dialog-content", className: cn('bg-white data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[628px] translate-x-[-50%] translate-y-[-50%] border duration-200', className), ...props, children: [children, showCloseButton && (_jsxs(DialogPrimitive.Close, { "data-slot": "dialog-close", className: "ring-offset-black focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [_jsx(IconClose, {}), _jsx("span", { className: "sr-only", children: "Close" })] }))] })] })));
|
|
14
36
|
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
15
37
|
const DialogHeader = ({ className, ...props }) => (_jsx(HStack, { className: cn('justify-between p-6 border-b border-b-primary1', className), ...props }));
|
|
16
38
|
DialogHeader.displayName = 'DialogHeader';
|
package/dist/dialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,MAAM,MAAM,kBAAkB,CAAA;AACrC,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAA;AAE7B,MAAM,MAAM,GAAG,eAAe,CAAC,IAAI,CAAA;AAEnC,MAAM,aAAa,GAAG,eAAe,CAAC,OAAO,CAAA;AAE7C,MAAM,YAAY,GAAG,eAAe,CAAC,MAAM,CAAA;AAE3C,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAA;AAEzC,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CAGpC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACnC,KAAC,eAAe,CAAC,OAAO,IACvB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACZ,yJAAyJ,EACzJ,SAAS,CACT,KACG,KAAK,GACR,CACF,CAAC,CAAA;AACF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC,OAAO,CAAC,WAAW,CAAA;AAE/D,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,MAAM,MAAM,kBAAkB,CAAA;AACrC,OAAO,SAAS,MAAM,oBAAoB,CAAA;AAC1C,OAAO,EAA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KAChE,KAAK,GACR,CACF,CAAC,CAAA;AACF,iBAAiB,CAAC,WAAW,GAAG,eAAe,CAAC,WAAW,CAAC,WAAW,CAAA;AAEvE,OAAO,EACN,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACb,CAAA"}
|
|
@@ -1,8 +1,97 @@
|
|
|
1
|
-
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function _object_without_properties(source, excluded) {
|
|
30
|
+
if (source == null) return {};
|
|
31
|
+
var target = _object_without_properties_loose(source, excluded);
|
|
32
|
+
var key, i;
|
|
33
|
+
if (Object.getOwnPropertySymbols) {
|
|
34
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
35
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
36
|
+
key = sourceSymbolKeys[i];
|
|
37
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
38
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
|
+
target[key] = source[key];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
function _object_without_properties_loose(source, excluded) {
|
|
45
|
+
if (source == null) return {};
|
|
46
|
+
var target = {};
|
|
47
|
+
var sourceKeys = Object.keys(source);
|
|
48
|
+
var key, i;
|
|
49
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
50
|
+
key = sourceKeys[i];
|
|
51
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
52
|
+
target[key] = source[key];
|
|
53
|
+
}
|
|
54
|
+
return target;
|
|
55
|
+
}
|
|
56
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
57
|
import { Icon } from './Icon';
|
|
3
|
-
|
|
4
|
-
default:
|
|
58
|
+
var variants = {
|
|
59
|
+
default: /*#__PURE__*/ _jsxs(_Fragment, {
|
|
60
|
+
children: [
|
|
61
|
+
/*#__PURE__*/ _jsx("mask", {
|
|
62
|
+
id: "mask0_6490_9460",
|
|
63
|
+
style: {
|
|
64
|
+
maskType: 'alpha'
|
|
65
|
+
},
|
|
66
|
+
maskUnits: "userSpaceOnUse",
|
|
67
|
+
x: "0",
|
|
68
|
+
y: "0",
|
|
69
|
+
width: "16",
|
|
70
|
+
height: "16",
|
|
71
|
+
children: /*#__PURE__*/ _jsx("rect", {
|
|
72
|
+
width: "16",
|
|
73
|
+
height: "16",
|
|
74
|
+
fill: "currentColor"
|
|
75
|
+
})
|
|
76
|
+
}),
|
|
77
|
+
/*#__PURE__*/ _jsx("g", {
|
|
78
|
+
mask: "url(#mask0_6490_9460)",
|
|
79
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
80
|
+
d: "M4.93333 14.6693L4 13.7359L8 9.73594L12 13.7359L11.0667 14.6693L8 11.6026L4.93333 14.6693ZM8 6.26927L4 2.26927L4.93333 1.33594L8 4.4026L11.0667 1.33594L12 2.26927L8 6.26927Z",
|
|
81
|
+
fill: "currentColor"
|
|
82
|
+
})
|
|
83
|
+
})
|
|
84
|
+
]
|
|
85
|
+
})
|
|
86
|
+
};
|
|
87
|
+
var IconCollapseAll = function(_param) {
|
|
88
|
+
var _param_viewBox = _param.viewBox, viewBox = _param_viewBox === void 0 ? '0 0 16 16' : _param_viewBox, _param_variant = _param.variant, variant = _param_variant === void 0 ? 'default' : _param_variant, props = _object_without_properties(_param, [
|
|
89
|
+
"viewBox",
|
|
90
|
+
"variant"
|
|
91
|
+
]);
|
|
92
|
+
return /*#__PURE__*/ _jsx(Icon, _object_spread({
|
|
93
|
+
viewBox: viewBox,
|
|
94
|
+
element: variants[variant]
|
|
95
|
+
}, props));
|
|
5
96
|
};
|
|
6
|
-
const IconCollapseAll = ({ viewBox = '0 0 16 16', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
|
|
7
97
|
export default IconCollapseAll;
|
|
8
|
-
//# sourceMappingURL=IconCollapseAll.js.map
|
|
@@ -1,8 +1,82 @@
|
|
|
1
|
-
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function _object_without_properties(source, excluded) {
|
|
30
|
+
if (source == null) return {};
|
|
31
|
+
var target = _object_without_properties_loose(source, excluded);
|
|
32
|
+
var key, i;
|
|
33
|
+
if (Object.getOwnPropertySymbols) {
|
|
34
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
35
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
36
|
+
key = sourceSymbolKeys[i];
|
|
37
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
38
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
|
+
target[key] = source[key];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
function _object_without_properties_loose(source, excluded) {
|
|
45
|
+
if (source == null) return {};
|
|
46
|
+
var target = {};
|
|
47
|
+
var sourceKeys = Object.keys(source);
|
|
48
|
+
var key, i;
|
|
49
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
50
|
+
key = sourceKeys[i];
|
|
51
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
52
|
+
target[key] = source[key];
|
|
53
|
+
}
|
|
54
|
+
return target;
|
|
55
|
+
}
|
|
56
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
57
|
import { Icon } from './Icon';
|
|
3
|
-
|
|
4
|
-
default:
|
|
58
|
+
var variants = {
|
|
59
|
+
default: /*#__PURE__*/ _jsxs(_Fragment, {
|
|
60
|
+
children: [
|
|
61
|
+
/*#__PURE__*/ _jsx("path", {
|
|
62
|
+
d: "M11.8484 9.26797L7.99844 13.168L4.14844 9.26797L4.84844 8.56797L7.49844 11.218V2.66797H8.49844V11.218L11.1484 8.56797L11.8484 9.26797Z",
|
|
63
|
+
fill: "currentColor"
|
|
64
|
+
}),
|
|
65
|
+
/*#__PURE__*/ _jsx("path", {
|
|
66
|
+
d: "M12.5 13.668H3.5V14.668H12.5V13.668Z",
|
|
67
|
+
fill: "currentColor"
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
})
|
|
71
|
+
};
|
|
72
|
+
var IconDownload = function(_param) {
|
|
73
|
+
var _param_viewBox = _param.viewBox, viewBox = _param_viewBox === void 0 ? '0 0 16 16' : _param_viewBox, _param_variant = _param.variant, variant = _param_variant === void 0 ? 'default' : _param_variant, props = _object_without_properties(_param, [
|
|
74
|
+
"viewBox",
|
|
75
|
+
"variant"
|
|
76
|
+
]);
|
|
77
|
+
return /*#__PURE__*/ _jsx(Icon, _object_spread({
|
|
78
|
+
viewBox: viewBox,
|
|
79
|
+
element: variants[variant]
|
|
80
|
+
}, props));
|
|
5
81
|
};
|
|
6
|
-
const IconDownload = ({ viewBox = '0 0 16 16', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
|
|
7
82
|
export default IconDownload;
|
|
8
|
-
//# sourceMappingURL=IconDownload.js.map
|
|
@@ -1,8 +1,97 @@
|
|
|
1
|
-
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function _object_without_properties(source, excluded) {
|
|
30
|
+
if (source == null) return {};
|
|
31
|
+
var target = _object_without_properties_loose(source, excluded);
|
|
32
|
+
var key, i;
|
|
33
|
+
if (Object.getOwnPropertySymbols) {
|
|
34
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
35
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
36
|
+
key = sourceSymbolKeys[i];
|
|
37
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
38
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
|
+
target[key] = source[key];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
function _object_without_properties_loose(source, excluded) {
|
|
45
|
+
if (source == null) return {};
|
|
46
|
+
var target = {};
|
|
47
|
+
var sourceKeys = Object.keys(source);
|
|
48
|
+
var key, i;
|
|
49
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
50
|
+
key = sourceKeys[i];
|
|
51
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
52
|
+
target[key] = source[key];
|
|
53
|
+
}
|
|
54
|
+
return target;
|
|
55
|
+
}
|
|
56
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
57
|
import { Icon } from './Icon';
|
|
3
|
-
|
|
4
|
-
default:
|
|
58
|
+
var variants = {
|
|
59
|
+
default: /*#__PURE__*/ _jsxs(_Fragment, {
|
|
60
|
+
children: [
|
|
61
|
+
/*#__PURE__*/ _jsx("mask", {
|
|
62
|
+
id: "mask0_6490_6481",
|
|
63
|
+
style: {
|
|
64
|
+
maskType: 'alpha'
|
|
65
|
+
},
|
|
66
|
+
maskUnits: "userSpaceOnUse",
|
|
67
|
+
x: "0",
|
|
68
|
+
y: "0",
|
|
69
|
+
width: "16",
|
|
70
|
+
height: "16",
|
|
71
|
+
children: /*#__PURE__*/ _jsx("rect", {
|
|
72
|
+
width: "16",
|
|
73
|
+
height: "16",
|
|
74
|
+
fill: "currentColor"
|
|
75
|
+
})
|
|
76
|
+
}),
|
|
77
|
+
/*#__PURE__*/ _jsx("g", {
|
|
78
|
+
mask: "url(#mask0_6490_6481)",
|
|
79
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
80
|
+
d: "M8 14.6693L4 10.6693L4.95 9.71927L8 12.7693L11.05 9.71927L12 10.6693L8 14.6693ZM4.96667 6.26927L4 5.33594L8 1.33594L12 5.33594L11.0333 6.26927L8 3.23594L4.96667 6.26927Z",
|
|
81
|
+
fill: "currentColor"
|
|
82
|
+
})
|
|
83
|
+
})
|
|
84
|
+
]
|
|
85
|
+
})
|
|
86
|
+
};
|
|
87
|
+
var IconExpandAll = function(_param) {
|
|
88
|
+
var _param_viewBox = _param.viewBox, viewBox = _param_viewBox === void 0 ? '0 0 16 16' : _param_viewBox, _param_variant = _param.variant, variant = _param_variant === void 0 ? 'default' : _param_variant, props = _object_without_properties(_param, [
|
|
89
|
+
"viewBox",
|
|
90
|
+
"variant"
|
|
91
|
+
]);
|
|
92
|
+
return /*#__PURE__*/ _jsx(Icon, _object_spread({
|
|
93
|
+
viewBox: viewBox,
|
|
94
|
+
element: variants[variant]
|
|
95
|
+
}, props));
|
|
5
96
|
};
|
|
6
|
-
const IconExpandAll = ({ viewBox = '0 0 16 16', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
|
|
7
97
|
export default IconExpandAll;
|
|
8
|
-
//# sourceMappingURL=IconExpandAll.js.map
|
package/dist/icons/IconReport.js
CHANGED
|
@@ -1,9 +1,92 @@
|
|
|
1
|
-
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function _object_without_properties(source, excluded) {
|
|
30
|
+
if (source == null) return {};
|
|
31
|
+
var target = _object_without_properties_loose(source, excluded);
|
|
32
|
+
var key, i;
|
|
33
|
+
if (Object.getOwnPropertySymbols) {
|
|
34
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
35
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
36
|
+
key = sourceSymbolKeys[i];
|
|
37
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
38
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
|
+
target[key] = source[key];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
function _object_without_properties_loose(source, excluded) {
|
|
45
|
+
if (source == null) return {};
|
|
46
|
+
var target = {};
|
|
47
|
+
var sourceKeys = Object.keys(source);
|
|
48
|
+
var key, i;
|
|
49
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
50
|
+
key = sourceKeys[i];
|
|
51
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
52
|
+
target[key] = source[key];
|
|
53
|
+
}
|
|
54
|
+
return target;
|
|
55
|
+
}
|
|
56
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
57
|
import { Icon } from './Icon';
|
|
3
|
-
|
|
4
|
-
filled:
|
|
5
|
-
|
|
58
|
+
var variants = {
|
|
59
|
+
filled: /*#__PURE__*/ _jsx(_Fragment, {
|
|
60
|
+
children: /*#__PURE__*/ _jsx("path", {
|
|
61
|
+
d: "M14.1 3.75C13.8 2.85 12.975 2.25 12 2.25C11.025 2.25 10.2 2.85 9.9 3.75H4.5V21H19.5V3.75H14.1ZM15.975 15.525L15 14.55L12 17.475L9.75 15.225L8.025 16.95L6.975 15.9L9.825 13.05L12.075 15.3L15 12.375L17.025 14.4L15.975 15.525ZM16.5 9.75V11.25H7.5V9.75H16.5ZM9 5.25H11.25V4.425C11.25 4.05 11.55 3.75 12 3.75C12.375 3.75 12.675 4.05 12.675 4.35V5.25H15V6.75H9V5.25Z",
|
|
62
|
+
fill: "currentColor"
|
|
63
|
+
})
|
|
64
|
+
}),
|
|
65
|
+
outline: /*#__PURE__*/ _jsxs(_Fragment, {
|
|
66
|
+
children: [
|
|
67
|
+
/*#__PURE__*/ _jsx("path", {
|
|
68
|
+
d: "M14.1 3.75C13.8 2.85 12.975 2.25 12 2.25C11.025 2.25 10.2 2.85 9.9 3.75H4.5V21H19.5V3.75H14.1ZM9 5.25H11.25V4.425C11.25 4.05 11.55 3.75 12 3.75C12.375 3.75 12.675 4.05 12.675 4.35V5.25H15V6.75H9V5.25ZM18 19.5H6V5.25H7.5V8.25H16.5V5.25H18V19.5Z",
|
|
69
|
+
fill: "currentColor"
|
|
70
|
+
}),
|
|
71
|
+
/*#__PURE__*/ _jsx("path", {
|
|
72
|
+
d: "M16.5 9.75H7.5V11.25H16.5V9.75Z",
|
|
73
|
+
fill: "currentColor"
|
|
74
|
+
}),
|
|
75
|
+
/*#__PURE__*/ _jsx("path", {
|
|
76
|
+
d: "M12 17.4751L9.82504 15.3001L8.02504 17.0251L6.97504 15.9751L9.82504 13.1251L12 15.3751L15 12.4501L17.025 14.4751L15.975 15.5251L15 14.5501L12 17.4751Z",
|
|
77
|
+
fill: "currentColor"
|
|
78
|
+
})
|
|
79
|
+
]
|
|
80
|
+
})
|
|
81
|
+
};
|
|
82
|
+
var IconReport = function(_param) {
|
|
83
|
+
var _param_viewBox = _param.viewBox, viewBox = _param_viewBox === void 0 ? '0 0 24 24' : _param_viewBox, _param_variant = _param.variant, variant = _param_variant === void 0 ? 'outline' : _param_variant, props = _object_without_properties(_param, [
|
|
84
|
+
"viewBox",
|
|
85
|
+
"variant"
|
|
86
|
+
]);
|
|
87
|
+
return /*#__PURE__*/ _jsx(Icon, _object_spread({
|
|
88
|
+
viewBox: viewBox,
|
|
89
|
+
element: variants[variant]
|
|
90
|
+
}, props));
|
|
6
91
|
};
|
|
7
|
-
const IconReport = ({ viewBox = '0 0 24 24', variant = 'outline', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
|
|
8
92
|
export default IconReport;
|
|
9
|
-
//# sourceMappingURL=IconReport.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../src/select/Select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,QAAA,MAAM,IAAI;;
|
|
1
|
+
{"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../src/select/Select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAItD,QAAA,MAAM,IAAI;;WAyCk/N,CAAC;;CAvC99N,CAAA;AAE/B,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAWlB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAWlB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAA"}
|
package/dist/styles.css
CHANGED
|
@@ -278,6 +278,9 @@
|
|
|
278
278
|
.top-1\/2 {
|
|
279
279
|
top: calc(1/2 * 100%) !important;
|
|
280
280
|
}
|
|
281
|
+
.top-4 {
|
|
282
|
+
top: calc(var(--spacing) * 4) !important;
|
|
283
|
+
}
|
|
281
284
|
.top-\[50\%\] {
|
|
282
285
|
top: 50% !important;
|
|
283
286
|
}
|
|
@@ -287,6 +290,9 @@
|
|
|
287
290
|
.right-0 {
|
|
288
291
|
right: calc(var(--spacing) * 0) !important;
|
|
289
292
|
}
|
|
293
|
+
.right-4 {
|
|
294
|
+
right: calc(var(--spacing) * 4) !important;
|
|
295
|
+
}
|
|
290
296
|
.right-20 {
|
|
291
297
|
right: calc(var(--spacing) * 20) !important;
|
|
292
298
|
}
|
|
@@ -731,10 +737,6 @@
|
|
|
731
737
|
border-style: var(--tw-border-style) !important;
|
|
732
738
|
border-width: 1px !important;
|
|
733
739
|
}
|
|
734
|
-
.border-0 {
|
|
735
|
-
border-style: var(--tw-border-style) !important;
|
|
736
|
-
border-width: 0px !important;
|
|
737
|
-
}
|
|
738
740
|
.border-2 {
|
|
739
741
|
border-style: var(--tw-border-style) !important;
|
|
740
742
|
border-width: 2px !important;
|
|
@@ -1082,6 +1084,10 @@
|
|
|
1082
1084
|
.text-\[12px\] {
|
|
1083
1085
|
font-size: 12px !important;
|
|
1084
1086
|
}
|
|
1087
|
+
.leading-\[18px\] {
|
|
1088
|
+
--tw-leading: 18px !important;
|
|
1089
|
+
line-height: 18px !important;
|
|
1090
|
+
}
|
|
1085
1091
|
.leading-\[19\.6px\] {
|
|
1086
1092
|
--tw-leading: 19.6px !important;
|
|
1087
1093
|
line-height: 19.6px !important;
|
|
@@ -1213,6 +1219,9 @@
|
|
|
1213
1219
|
.opacity-60 {
|
|
1214
1220
|
opacity: 60% !important;
|
|
1215
1221
|
}
|
|
1222
|
+
.opacity-70 {
|
|
1223
|
+
opacity: 70% !important;
|
|
1224
|
+
}
|
|
1216
1225
|
.shadow-lg {
|
|
1217
1226
|
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1)) !important;
|
|
1218
1227
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
@@ -1225,6 +1234,9 @@
|
|
|
1225
1234
|
--tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1)) !important;
|
|
1226
1235
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
1227
1236
|
}
|
|
1237
|
+
.ring-offset-black {
|
|
1238
|
+
--tw-ring-offset-color: var(--color-black) !important;
|
|
1239
|
+
}
|
|
1228
1240
|
.ring-offset-white {
|
|
1229
1241
|
--tw-ring-offset-color: var(--color-white) !important;
|
|
1230
1242
|
}
|
|
@@ -1253,6 +1265,11 @@
|
|
|
1253
1265
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)) !important;
|
|
1254
1266
|
transition-duration: var(--tw-duration, var(--default-transition-duration)) !important;
|
|
1255
1267
|
}
|
|
1268
|
+
.transition-opacity {
|
|
1269
|
+
transition-property: opacity !important;
|
|
1270
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)) !important;
|
|
1271
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration)) !important;
|
|
1272
|
+
}
|
|
1256
1273
|
.transition-transform {
|
|
1257
1274
|
transition-property: transform, translate, scale, rotate !important;
|
|
1258
1275
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)) !important;
|
|
@@ -1623,6 +1640,13 @@
|
|
|
1623
1640
|
}
|
|
1624
1641
|
}
|
|
1625
1642
|
}
|
|
1643
|
+
.hover\:opacity-100 {
|
|
1644
|
+
&:hover {
|
|
1645
|
+
@media (hover: hover) {
|
|
1646
|
+
opacity: 100% !important;
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1626
1650
|
.hover\:shadow-lg {
|
|
1627
1651
|
&:hover {
|
|
1628
1652
|
@media (hover: hover) {
|
|
@@ -1662,6 +1686,18 @@
|
|
|
1662
1686
|
color: var(--color-zinc-900) !important;
|
|
1663
1687
|
}
|
|
1664
1688
|
}
|
|
1689
|
+
.focus\:ring-2 {
|
|
1690
|
+
&:focus {
|
|
1691
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor) !important;
|
|
1692
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
.focus\:ring-offset-2 {
|
|
1696
|
+
&:focus {
|
|
1697
|
+
--tw-ring-offset-width: 2px !important;
|
|
1698
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1665
1701
|
.focus\:outline-hidden {
|
|
1666
1702
|
&:focus {
|
|
1667
1703
|
--tw-outline-style: none !important;
|
|
@@ -2239,6 +2275,22 @@
|
|
|
2239
2275
|
line-height: var(--leading-relaxed) !important;
|
|
2240
2276
|
}
|
|
2241
2277
|
}
|
|
2278
|
+
.\[\&_svg\]\:pointer-events-none {
|
|
2279
|
+
& svg {
|
|
2280
|
+
pointer-events: none !important;
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
.\[\&_svg\]\:shrink-0 {
|
|
2284
|
+
& svg {
|
|
2285
|
+
flex-shrink: 0 !important;
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 {
|
|
2289
|
+
& svg:not([class*='size-']) {
|
|
2290
|
+
width: calc(var(--spacing) * 4) !important;
|
|
2291
|
+
height: calc(var(--spacing) * 4) !important;
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2242
2294
|
.\[\&_tr\]\:border-b {
|
|
2243
2295
|
& tr {
|
|
2244
2296
|
border-bottom-style: var(--tw-border-style) !important;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../src/toast/sonner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAwB,MAAM,QAAQ,CAAA;AAGhE,MAAM,MAAM,YAAY,GAAG;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IACjD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;AAEvD,QAAA,MAAM,OAAO,GAAI,cAAc,YAAY,
|
|
1
|
+
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../src/toast/sonner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAwB,MAAM,QAAQ,CAAA;AAGhE,MAAM,MAAM,YAAY,GAAG;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IACjD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;AAEvD,QAAA,MAAM,OAAO,GAAI,cAAc,YAAY,4CAW1C,CAAA;AAED,QAAA,MAAM,KAAK,GAAI,yDAMZ,YAAY,SAWd,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
package/dist/toast/sonner.js
CHANGED
|
@@ -5,18 +5,10 @@ import { Toaster as Sonner, toast as sonnerToast } from 'sonner';
|
|
|
5
5
|
import ToastBox from './ToastBox';
|
|
6
6
|
const Toaster = ({ ...props }) => {
|
|
7
7
|
const { theme = 'system' } = useTheme();
|
|
8
|
-
return (_jsx(Sonner, { theme: theme, className: "
|
|
9
|
-
classNames: {
|
|
10
|
-
toast: 'p-0',
|
|
11
|
-
},
|
|
12
|
-
}, ...props }));
|
|
8
|
+
return (_jsx(Sonner, { theme: theme, className: "group", position: "bottom-center", ...props }));
|
|
13
9
|
};
|
|
14
10
|
const toast = ({ title, description, status, isClosable = true, isNumbered, }) => {
|
|
15
|
-
|
|
16
|
-
sonnerToast(_jsx(ToastBox, { id: toastId, title: title, description: description, status: status, isClosable: isClosable, isNumbered: isNumbered }), {
|
|
17
|
-
id: toastId,
|
|
18
|
-
className: 'rounded-none p-0 border-0',
|
|
19
|
-
});
|
|
11
|
+
sonnerToast.custom((toastId) => (_jsx(ToastBox, { id: toastId, title: title, description: description, status: status, isClosable: isClosable, isNumbered: isNumbered })));
|
|
20
12
|
};
|
|
21
13
|
export { Toaster, toast };
|
|
22
14
|
//# sourceMappingURL=sonner.js.map
|
package/dist/toast/sonner.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sonner.js","sourceRoot":"","sources":["../../src/toast/sonner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAA;AAChE,OAAO,QAAQ,MAAM,YAAY,CAAA;AAYjC,MAAM,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,EAAgB,EAAE,EAAE;IAC9C,MAAM,EAAE,KAAK,GAAG,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAAA;IAEvC,OAAO,CACN,KAAC,MAAM,IACN,KAAK,EAAE,KAA8B,EACrC,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"sonner.js","sourceRoot":"","sources":["../../src/toast/sonner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAA;AAChE,OAAO,QAAQ,MAAM,YAAY,CAAA;AAYjC,MAAM,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,EAAgB,EAAE,EAAE;IAC9C,MAAM,EAAE,KAAK,GAAG,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAAA;IAEvC,OAAO,CACN,KAAC,MAAM,IACN,KAAK,EAAE,KAA8B,EACrC,SAAS,EAAC,OAAO,EACjB,QAAQ,EAAC,eAAe,KACpB,KAAK,GACR,CACF,CAAA;AACF,CAAC,CAAA;AAED,MAAM,KAAK,GAAG,CAAC,EACd,KAAK,EACL,WAAW,EACX,MAAM,EACN,UAAU,GAAG,IAAI,EACjB,UAAU,GACI,EAAE,EAAE;IAClB,WAAW,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC/B,KAAC,QAAQ,IACR,EAAE,EAAE,OAAO,EACX,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,GACrB,CACF,CAAC,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconCollapseAll.js","sourceRoot":"","sources":["../../src/icons/IconCollapseAll.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAkB,MAAM,QAAQ,CAAA;AAE7C,MAAM,QAAQ,GAAG;IAChB,OAAO,EAAE,CACR,8BACC,eACC,EAAE,EAAC,iBAAiB,EACpB,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAC5B,SAAS,EAAC,gBAAgB,EAC1B,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,YAEX,eAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,cAAc,GAAG,GAC7C,EACP,YAAG,IAAI,EAAC,uBAAuB,YAC9B,eACC,CAAC,EAAC,+KAA+K,EACjL,IAAI,EAAC,cAAc,GAClB,GACC,IACF,CACH;CACD,CAAA;AAED,MAAM,eAAe,GAAmC,CAAC,EACxD,OAAO,GAAG,WAAW,EACrB,OAAO,GAAG,SAAS,EACnB,GAAG,KAAK,EACR,EAAE,EAAE,CAAC,KAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAM,KAAK,GAAI,CAAA;AAEvE,eAAe,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconDownload.js","sourceRoot":"","sources":["../../src/icons/IconDownload.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAkB,MAAM,QAAQ,CAAA;AAE7C,MAAM,QAAQ,GAAG;IAChB,OAAO,EAAE,CACR,8BACC,eACC,CAAC,EAAC,wIAAwI,EAC1I,IAAI,EAAC,cAAc,GAClB,EACF,eAAM,CAAC,EAAC,sCAAsC,EAAC,IAAI,EAAC,cAAc,GAAG,IACnE,CACH;CACD,CAAA;AAED,MAAM,YAAY,GAAmC,CAAC,EACrD,OAAO,GAAG,WAAW,EACrB,OAAO,GAAG,SAAS,EACnB,GAAG,KAAK,EACR,EAAE,EAAE,CAAC,KAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAM,KAAK,GAAI,CAAA;AAEvE,eAAe,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconExpandAll.js","sourceRoot":"","sources":["../../src/icons/IconExpandAll.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAkB,MAAM,QAAQ,CAAA;AAE7C,MAAM,QAAQ,GAAG;IAChB,OAAO,EAAE,CACR,8BACC,eACC,EAAE,EAAC,iBAAiB,EACpB,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAC5B,SAAS,EAAC,gBAAgB,EAC1B,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,YAEX,eAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,cAAc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