@modul/mbui 0.0.16 → 0.0.17-beta-pv-53151-5278b409
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/Alert/Alert.js +9 -9
- package/dist/Alert/Alert.js.map +1 -1
- package/dist/AlertDialog/AlertDialog.js +10 -10
- package/dist/AlertDialog/AlertDialog.js.map +1 -1
- package/dist/BottomNavigation/BottomNavigation.js +2 -2
- package/dist/BottomNavigation/BottomNavigation.js.map +1 -1
- package/dist/Button/Button.js +2 -2
- package/dist/Button/Button.js.map +1 -1
- package/dist/Calendar/Calendar.js +3 -3
- package/dist/Calendar/Calendar.js.map +1 -1
- package/dist/Chat/MessageTyping.d.ts +2 -0
- package/dist/Chat/MessageTyping.js +18 -0
- package/dist/Chat/MessageTyping.js.map +1 -0
- package/dist/Chat/index.d.ts +1 -0
- package/dist/Chat/index.js +6 -0
- package/dist/Chat/index.js.map +1 -0
- package/dist/Chip/Chip.js +2 -2
- package/dist/Chip/Chip.js.map +1 -1
- package/dist/Collapsible/AccountCollapsible.js +3 -3
- package/dist/Collapsible/AccountCollapsible.js.map +1 -1
- package/dist/DatePicker/DatePicker.js +5 -5
- package/dist/DatePicker/DatePicker.js.map +1 -1
- package/dist/Drawer/Drawer.js +3 -3
- package/dist/Drawer/Drawer.js.map +1 -1
- package/dist/Form/Form.js +6 -6
- package/dist/Form/Form.js.map +1 -1
- package/dist/Icon/SvgIcon.js +1 -1
- package/dist/Icon/icons/ArrowLeft.js +2 -2
- package/dist/Icon/icons/ArrowLeft.js.map +1 -1
- package/dist/Icon/icons/ArrowRight.js +2 -2
- package/dist/Icon/icons/ArrowRight.js.map +1 -1
- package/dist/Icon/icons/Atm.js +2 -2
- package/dist/Icon/icons/Atm.js.map +1 -1
- package/dist/Icon/icons/Call.js +2 -2
- package/dist/Icon/icons/Call.js.map +1 -1
- package/dist/Icon/icons/Cancel.js +2 -2
- package/dist/Icon/icons/Cancel.js.map +1 -1
- package/dist/Icon/icons/Card.js +2 -2
- package/dist/Icon/icons/Card.js.map +1 -1
- package/dist/Icon/icons/Change.js +2 -2
- package/dist/Icon/icons/Change.js.map +1 -1
- package/dist/Icon/icons/Check.js +2 -2
- package/dist/Icon/icons/Check.js.map +1 -1
- package/dist/Icon/icons/CheckCircleSolid.js +2 -2
- package/dist/Icon/icons/CheckCircleSolid.js.map +1 -1
- package/dist/Icon/icons/Clock.js +2 -2
- package/dist/Icon/icons/Clock.js.map +1 -1
- package/dist/Icon/icons/ClockSolid.d.ts +4 -0
- package/dist/Icon/icons/ClockSolid.js +9 -0
- package/dist/Icon/icons/ClockSolid.js.map +1 -0
- package/dist/Icon/icons/Close.js +2 -2
- package/dist/Icon/icons/Close.js.map +1 -1
- package/dist/Icon/icons/Copy.js +2 -2
- package/dist/Icon/icons/Copy.js.map +1 -1
- package/dist/Icon/icons/Doc.js +2 -2
- package/dist/Icon/icons/Doc.js.map +1 -1
- package/dist/Icon/icons/Download.js +2 -2
- package/dist/Icon/icons/Download.js.map +1 -1
- package/dist/Icon/icons/DropdownSmall.d.ts +4 -0
- package/dist/Icon/icons/DropdownSmall.js +9 -0
- package/dist/Icon/icons/DropdownSmall.js.map +1 -0
- package/dist/Icon/icons/Edit.js +2 -2
- package/dist/Icon/icons/Edit.js.map +1 -1
- package/dist/Icon/icons/Favorite.js +2 -2
- package/dist/Icon/icons/Favorite.js.map +1 -1
- package/dist/Icon/icons/FavoriteSolid.js +2 -2
- package/dist/Icon/icons/FavoriteSolid.js.map +1 -1
- package/dist/Icon/icons/File.js +2 -2
- package/dist/Icon/icons/File.js.map +1 -1
- package/dist/Icon/icons/InfoSolid.js +2 -2
- package/dist/Icon/icons/InfoSolid.js.map +1 -1
- package/dist/Icon/icons/Link.js +2 -2
- package/dist/Icon/icons/Link.js.map +1 -1
- package/dist/Icon/icons/Logout.js +2 -2
- package/dist/Icon/icons/Logout.js.map +1 -1
- package/dist/Icon/icons/MailSend.js +2 -2
- package/dist/Icon/icons/MailSend.js.map +1 -1
- package/dist/Icon/icons/MapPin.js +2 -2
- package/dist/Icon/icons/MapPin.js.map +1 -1
- package/dist/Icon/icons/MapPinSolid.d.ts +4 -0
- package/dist/Icon/icons/MapPinSolid.js +9 -0
- package/dist/Icon/icons/MapPinSolid.js.map +1 -0
- package/dist/Icon/icons/Order.js +2 -2
- package/dist/Icon/icons/Order.js.map +1 -1
- package/dist/Icon/icons/Print.js +2 -2
- package/dist/Icon/icons/Print.js.map +1 -1
- package/dist/Icon/icons/Reload.js +2 -2
- package/dist/Icon/icons/Reload.js.map +1 -1
- package/dist/Icon/icons/Sbp.js +2 -2
- package/dist/Icon/icons/Sbp.js.map +1 -1
- package/dist/Icon/icons/SbpColored.js +9 -9
- package/dist/Icon/icons/SbpColored.js.map +1 -1
- package/dist/Icon/icons/Tariffs.js +2 -2
- package/dist/Icon/icons/Tariffs.js.map +1 -1
- package/dist/Icon/icons/Trash.js +2 -2
- package/dist/Icon/icons/Trash.js.map +1 -1
- package/dist/Icon/icons/User.js +2 -2
- package/dist/Icon/icons/User.js.map +1 -1
- package/dist/Icon/icons/UserEdit.js +2 -2
- package/dist/Icon/icons/UserEdit.js.map +1 -1
- package/dist/Icon/icons/Warning.js +2 -2
- package/dist/Icon/icons/Warning.js.map +1 -1
- package/dist/Icon/icons/Wheelchair.js +2 -2
- package/dist/Icon/icons/Wheelchair.js.map +1 -1
- package/dist/Icon/icons/index.d.ts +4 -1
- package/dist/Icon/icons/index.js +13 -7
- package/dist/Icon/icons/index.js.map +1 -1
- package/dist/Input/Input.js +3 -3
- package/dist/Input/Input.js.map +1 -1
- package/dist/Input-OTP/Input.js +4 -4
- package/dist/Input-OTP/Input.js.map +1 -1
- package/dist/Label/Label.js +2 -2
- package/dist/Label/Label.js.map +1 -1
- package/dist/Page/Page.js +4 -4
- package/dist/Page/Page.js.map +1 -1
- package/dist/Progress/Progress.js +2 -2
- package/dist/Progress/Progress.js.map +1 -1
- package/dist/Select/SelectAccountCard.js +4 -4
- package/dist/Select/SelectAccountCard.js.map +1 -1
- package/dist/Select/SelectAsync.js +4 -4
- package/dist/Select/SelectAsync.js.map +1 -1
- package/dist/Select/SelectBase.js +4 -4
- package/dist/Select/SelectBase.js.map +1 -1
- package/dist/Switch/Switch.js +2 -2
- package/dist/Switch/Switch.js.map +1 -1
- package/dist/Textarea/Textarea.js +2 -2
- package/dist/Textarea/Textarea.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Alert/Alert.tsx +2 -2
- package/src/AlertDialog/AlertDialog.tsx +2 -2
- package/src/BottomNavigation/BottomNavigation.tsx +1 -1
- package/src/Button/Button.tsx +1 -1
- package/src/Calendar/Calendar.tsx +1 -1
- package/src/Chat/MessageTyping.tsx +61 -0
- package/src/Chat/index.ts +1 -0
- package/src/Chip/Chip.tsx +1 -1
- package/src/Collapsible/AccountCollapsible.tsx +2 -2
- package/src/DatePicker/DatePicker.tsx +4 -4
- package/src/Drawer/Drawer.tsx +1 -1
- package/src/Form/Form.tsx +2 -2
- package/src/Icon/SvgIcon.tsx +1 -1
- package/src/Icon/icons/ArrowLeft.tsx +2 -1
- package/src/Icon/icons/ArrowRight.tsx +4 -4
- package/src/Icon/icons/Atm.tsx +4 -4
- package/src/Icon/icons/Call.tsx +5 -5
- package/src/Icon/icons/Cancel.tsx +5 -5
- package/src/Icon/icons/Card.tsx +4 -4
- package/src/Icon/icons/Change.tsx +4 -4
- package/src/Icon/icons/Check.tsx +5 -5
- package/src/Icon/icons/CheckCircleSolid.tsx +5 -5
- package/src/Icon/icons/Clock.tsx +2 -1
- package/src/Icon/icons/ClockSolid.tsx +18 -0
- package/src/Icon/icons/Close.tsx +6 -6
- package/src/Icon/icons/Copy.tsx +5 -5
- package/src/Icon/icons/Doc.tsx +5 -5
- package/src/Icon/icons/Download.tsx +5 -5
- package/src/Icon/icons/DropdownSmall.tsx +20 -0
- package/src/Icon/icons/Edit.tsx +5 -5
- package/src/Icon/icons/Favorite.tsx +4 -4
- package/src/Icon/icons/FavoriteSolid.tsx +5 -5
- package/src/Icon/icons/File.tsx +5 -5
- package/src/Icon/icons/InfoSolid.tsx +5 -5
- package/src/Icon/icons/Link.tsx +5 -5
- package/src/Icon/icons/Logout.tsx +5 -5
- package/src/Icon/icons/MailSend.tsx +5 -5
- package/src/Icon/icons/MapPin.tsx +5 -5
- package/src/Icon/icons/MapPinSolid.tsx +18 -0
- package/src/Icon/icons/Order.tsx +5 -5
- package/src/Icon/icons/Print.tsx +5 -5
- package/src/Icon/icons/Reload.tsx +5 -4
- package/src/Icon/icons/Sbp.tsx +5 -5
- package/src/Icon/icons/SbpColored.tsx +19 -19
- package/src/Icon/icons/Tariffs.tsx +5 -4
- package/src/Icon/icons/Trash.tsx +5 -5
- package/src/Icon/icons/User.tsx +5 -5
- package/src/Icon/icons/UserEdit.tsx +4 -4
- package/src/Icon/icons/Warning.tsx +4 -4
- package/src/Icon/icons/Wheelchair.tsx +5 -5
- package/src/Icon/icons/index.ts +4 -1
- package/src/Input/Input.tsx +1 -1
- package/src/Input-OTP/Input.tsx +1 -1
- package/src/Label/Label.tsx +1 -1
- package/src/Page/Page.tsx +1 -1
- package/src/Progress/Progress.tsx +1 -1
- package/src/Select/SelectAccountCard.tsx +2 -2
- package/src/Select/SelectAsync.tsx +2 -2
- package/src/Select/SelectBase.tsx +2 -2
- package/src/Switch/Switch.tsx +1 -1
- package/src/Textarea/Textarea.tsx +1 -1
- package/src/index.ts +2 -1
- package/src/Slider/slider.styl +0 -62
package/dist/Alert/Alert.js
CHANGED
|
@@ -3,17 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Alert = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
6
|
-
const
|
|
7
|
-
const Icon_1 = require("
|
|
6
|
+
const utils_1 = require("../@/lib/utils");
|
|
7
|
+
const Icon_1 = require("../../src/Icon");
|
|
8
8
|
const AleltIconClasses = '[&+div]:ml-[8px] shrink-0';
|
|
9
9
|
const AlertIcons = {
|
|
10
|
-
info: React.createElement(Icon_1.InfoSolid, { "aria-hidden": true, className: (0,
|
|
11
|
-
warning: React.createElement(Icon_1.Warning, { "aria-hidden": true, className: (0,
|
|
12
|
-
success: React.createElement(Icon_1.CheckCircleSolid, { "aria-hidden": true, className: (0,
|
|
13
|
-
critical: React.createElement(Icon_1.InfoSolid, { "aria-hidden": true, className: (0,
|
|
10
|
+
info: React.createElement(Icon_1.InfoSolid, { "aria-hidden": true, className: (0, utils_1.cn)(AleltIconClasses, 'text-primary'), width: 24, height: 24 }),
|
|
11
|
+
warning: React.createElement(Icon_1.Warning, { "aria-hidden": true, className: (0, utils_1.cn)(AleltIconClasses, 'text-warning'), width: 24, height: 24 }),
|
|
12
|
+
success: React.createElement(Icon_1.CheckCircleSolid, { "aria-hidden": true, className: (0, utils_1.cn)(AleltIconClasses, 'text-success'), width: 24, height: 24 }),
|
|
13
|
+
critical: React.createElement(Icon_1.InfoSolid, { "aria-hidden": true, className: (0, utils_1.cn)(AleltIconClasses, 'text-critical'), width: 24, height: 24 })
|
|
14
14
|
};
|
|
15
|
-
const Title = React.forwardRef(({ className, ...props }, ref) => (React.createElement("div", { role: "heading", ref: ref, className: (0,
|
|
16
|
-
const Description = React.forwardRef(({ className, ...props }, ref) => (React.createElement("p", { ref: ref, className: (0,
|
|
15
|
+
const Title = React.forwardRef(({ className, ...props }, ref) => (React.createElement("div", { role: "heading", ref: ref, className: (0, utils_1.cn)('text-[14px] font-medium', className), ...props })));
|
|
16
|
+
const Description = React.forwardRef(({ className, ...props }, ref) => (React.createElement("p", { ref: ref, className: (0, utils_1.cn)('text-[14px] [&>a]:text-primary [&>a]:underline', className), ...props })));
|
|
17
17
|
const getClass = (variant, type) => {
|
|
18
18
|
const commonClasses = 'px-[8px] py-[16px] border rounded-md ';
|
|
19
19
|
const variants = {
|
|
@@ -25,7 +25,7 @@ const getClass = (variant, type) => {
|
|
|
25
25
|
return variants[variant];
|
|
26
26
|
};
|
|
27
27
|
const Alert = ({ className, variant = 'info', type, children, ...props }) => {
|
|
28
|
-
return (React.createElement("div", { className: (0,
|
|
28
|
+
return (React.createElement("div", { className: (0, utils_1.cn)('flex', getClass(variant, type)), role: 'alert', ...props },
|
|
29
29
|
AlertIcons[variant],
|
|
30
30
|
React.createElement("div", { className: 'pt-[2px]' }, children)));
|
|
31
31
|
};
|
package/dist/Alert/Alert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../src/Alert/Alert.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../src/Alert/Alert.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,0CAAmC;AACnC,yCAAqE;AAGrE,MAAM,gBAAgB,GAAG,2BAA2B,CAAA;AACpD,MAAM,UAAU,GAAG;IAClB,IAAI,EAAE,oBAAC,gBAAS,mBAAc,IAAI,EAAE,SAAS,EAAE,IAAA,UAAE,EAAC,gBAAgB,EAAE,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI;IAC9G,OAAO,EAAE,oBAAC,cAAO,mBAAc,IAAI,EAAE,SAAS,EAAE,IAAA,UAAE,EAAC,gBAAgB,EAAE,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI;IAC/G,OAAO,EAAE,oBAAC,uBAAgB,mBAAc,IAAI,EAAE,SAAS,EAAE,IAAA,UAAE,EAAC,gBAAgB,EAAE,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI;IACxH,QAAQ,EAAE,oBAAC,gBAAS,mBAAc,IAAI,EAAE,SAAS,EAAE,IAAA,UAAE,EAAC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AA;AAEzB,CAAC,CAAA;AAiBD,MAAM,KAAK,GAA6C,CAAC,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IACrH,OAAO,CACN,6BACC,SAAS,EAAE,IAAA,UAAE,EAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,EAC9C,IAAI,EAAC,OAAO,KACR,KAAK;QAER,UAAU,CAAC,OAAO,CAAC;QACpB,6BAAK,SAAS,EAAC,UAAU,IACvB,QAAQ,CACJ,CACD,CACN,CAAA;AACF,CAAC,CAAA;AAUQ,sBAAK;AARd,KAAK,CAAC,WAAW,GAAG,OAAO,CAAA;AAE3B,KAAK,CAAC,KAAK,GAAG,KAAK,CAAA;AACnB,KAAK,CAAC,KAAK,CAAC,WAAW,GAAG,aAAa,CAAA;AAEvC,KAAK,CAAC,WAAW,GAAG,WAAW,CAAA;AAC/B,KAAK,CAAC,WAAW,CAAC,WAAW,GAAG,mBAAmB,CAAA"}
|
|
@@ -4,39 +4,39 @@ exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialogDescr
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
const AlertDialogPrimitive = (0, tslib_1.__importStar)(require("@radix-ui/react-alert-dialog"));
|
|
7
|
-
const
|
|
8
|
-
const Button_1 = require("
|
|
7
|
+
const utils_1 = require("../@/lib/utils");
|
|
8
|
+
const Button_1 = require("../../src/Button");
|
|
9
9
|
const AlertDialog = AlertDialogPrimitive.Root;
|
|
10
10
|
exports.AlertDialog = AlertDialog;
|
|
11
11
|
const AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
12
12
|
exports.AlertDialogTrigger = AlertDialogTrigger;
|
|
13
13
|
const AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
14
14
|
exports.AlertDialogPortal = AlertDialogPortal;
|
|
15
|
-
const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Overlay, { className: (0,
|
|
15
|
+
const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Overlay, { className: (0, utils_1.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className), ...props, ref: ref })));
|
|
16
16
|
exports.AlertDialogOverlay = AlertDialogOverlay;
|
|
17
17
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
18
18
|
const AlertDialogContent = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPortal, null,
|
|
19
19
|
React.createElement(AlertDialogOverlay, null),
|
|
20
|
-
React.createElement(AlertDialogPrimitive.Content, { ref: ref, className: (0,
|
|
20
|
+
React.createElement(AlertDialogPrimitive.Content, { ref: ref, className: (0, utils_1.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-input bg-dialog p-[16px] shadow-lg duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-md", className), ...props }))));
|
|
21
21
|
exports.AlertDialogContent = AlertDialogContent;
|
|
22
22
|
AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
|
|
23
|
-
const AlertDialogHeader = ({ className, ...props }) => (React.createElement("div", { className: (0,
|
|
23
|
+
const AlertDialogHeader = ({ className, ...props }) => (React.createElement("div", { className: (0, utils_1.cn)("flex flex-col space-y-2 text-center sm:text-left", className), ...props }));
|
|
24
24
|
exports.AlertDialogHeader = AlertDialogHeader;
|
|
25
25
|
AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
26
|
-
const AlertDialogFooter = ({ className, ...props }) => (React.createElement("div", { className: (0,
|
|
26
|
+
const AlertDialogFooter = ({ className, ...props }) => (React.createElement("div", { className: (0, utils_1.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props }));
|
|
27
27
|
exports.AlertDialogFooter = AlertDialogFooter;
|
|
28
28
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
29
|
-
const AlertDialogTitle = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Title, { ref: ref, className: (0,
|
|
29
|
+
const AlertDialogTitle = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Title, { ref: ref, className: (0, utils_1.cn)("text-lg font-semibold", className), ...props })));
|
|
30
30
|
exports.AlertDialogTitle = AlertDialogTitle;
|
|
31
31
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
32
|
-
const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Description, { ref: ref, className: (0,
|
|
32
|
+
const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Description, { ref: ref, className: (0, utils_1.cn)("text-sm text-muted-foreground", className), ...props })));
|
|
33
33
|
exports.AlertDialogDescription = AlertDialogDescription;
|
|
34
34
|
AlertDialogDescription.displayName =
|
|
35
35
|
AlertDialogPrimitive.Description.displayName;
|
|
36
|
-
const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Action, { ref: ref, className: (0,
|
|
36
|
+
const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Action, { ref: ref, className: (0, utils_1.cn)((0, Button_1.buttonVariants)({ variant: 'primary', size: 'sm' }), className), ...props })));
|
|
37
37
|
exports.AlertDialogAction = AlertDialogAction;
|
|
38
38
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
39
|
-
const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Cancel, { ref: ref, className: (0,
|
|
39
|
+
const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => (React.createElement(AlertDialogPrimitive.Cancel, { ref: ref, className: (0, utils_1.cn)((0, Button_1.buttonVariants)({ variant: "outline", size: 'sm' }), className), ...props })));
|
|
40
40
|
exports.AlertDialogCancel = AlertDialogCancel;
|
|
41
41
|
AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
42
42
|
//# sourceMappingURL=AlertDialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDialog.js","sourceRoot":"","sources":["../../src/AlertDialog/AlertDialog.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,gGAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"AlertDialog.js","sourceRoot":"","sources":["../../src/AlertDialog/AlertDialog.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,gGAAoE;AACpE,0CAAmC;AACnC,6CAAiD;AAEjD,MAAM,WAAW,GAAG,oBAAoB,CAAC,IAAI,CAAA;AAwH3C,kCAAW;AAtHb,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,OAAO,CAAA;AAyHrD,gDAAkB;AAvHpB,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,MAAM,CAAA;AAqHnD,8CAAiB;AAnHnB,MAAM,kBAAkB,GAAG,KAAK,CAAC,UAAU,CAGzC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,oBAAC,oBAAoB,CAAC,OAAO,IAC3B,SAAS,EAAE,IAAA,UAAE,EACX,wJAAwJ,EACxJ,SAAS,CACV,KACG,KAAK,EACT,GAAG,EAAE,GAAG,GACR,CACH,CAAC,CAAA;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AI,EAAE,CAAC,EAClD,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC,CAAA;AAcA,8CAAiB;AAbnB,iBAAiB,CAAC,WAAW,GAAG,oBAAoB,CAAC,MAAM,CAAC,WAAW,CAAA"}
|
|
@@ -4,7 +4,7 @@ exports.BottomNavigationLink = exports.BottomNavigationListItem = exports.Bottom
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
const react_slot_1 = require("@radix-ui/react-slot");
|
|
7
|
-
const
|
|
7
|
+
const utils_1 = require("../@/lib/utils");
|
|
8
8
|
const btnClasses = `
|
|
9
9
|
inline-flex
|
|
10
10
|
flex-col
|
|
@@ -26,7 +26,7 @@ const btnClasses = `
|
|
|
26
26
|
`;
|
|
27
27
|
const BottomNavigationLink = React.forwardRef(({ className, asChild, ...props }, ref) => {
|
|
28
28
|
const Comp = asChild ? react_slot_1.Slot : "button";
|
|
29
|
-
return (React.createElement(Comp, { className: (0,
|
|
29
|
+
return (React.createElement(Comp, { className: (0, utils_1.cn)(btnClasses, className), ref: ref, ...props }));
|
|
30
30
|
});
|
|
31
31
|
exports.BottomNavigationLink = BottomNavigationLink;
|
|
32
32
|
BottomNavigationLink.displayName = 'BottomNavigationLink';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomNavigation.js","sourceRoot":"","sources":["../../src/BottomNavigation/BottomNavigation.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,qDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"BottomNavigation.js","sourceRoot":"","sources":["../../src/BottomNavigation/BottomNavigation.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,qDAA2C;AAC3C,0CAAmC;AAWnC,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;CAkBlB,CAAA;AAED,MAAM,oBAAoB,GAAG,KAAK,CAAC,UAAU,CAA+C,CAAC,EAAE,SAAS,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0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
const react_slot_1 = require("@radix-ui/react-slot");
|
|
7
7
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
8
|
-
const
|
|
8
|
+
const utils_1 = require("../@/lib/utils");
|
|
9
9
|
const buttonVariants = (0, class_variance_authority_1.cva)('inline-flex justify-center items-center border-[2px] disabled:opacity-[.24] focus-visible:ring ring-offset-1 font-medium whitespace-nowrap transition-colors focus-visible:outline-none disabled:pointer-events-none', {
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
@@ -44,7 +44,7 @@ const Button = React.forwardRef(({ className, variant, size, asText = false, asC
|
|
|
44
44
|
const Comp = asChild ? react_slot_1.Slot : "button";
|
|
45
45
|
// @ts-ignore
|
|
46
46
|
const classes = asText ? textVariants({ variant, className }) : buttonVariants({ variant, size, className });
|
|
47
|
-
return (React.createElement(Comp, { className: (0,
|
|
47
|
+
return (React.createElement(Comp, { className: (0, utils_1.cn)(classes), ref: ref, ...props }));
|
|
48
48
|
});
|
|
49
49
|
exports.Button = Button;
|
|
50
50
|
Button.displayName = 'Button';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,qDAA2C;AAC3C,uEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,qDAA2C;AAC3C,uEAAiE;AACjE,0CAAmC;AAEnC,MAAM,cAAc,GAAG,IAAA,8BAAG,EACzB,sNAAsN,EACtN;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EACN,sOAAsO;YACvO,SAAS,EACR,wPAAwP;YACzP,OAAO,EACN,sOAAsO;YACvO,iBAAiB,EAChB,+ZAA+Z;YACha,OAAO,EAAE,sEAAsE;YAC/E,KAAK,EAAE,6HAA6H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0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
const react_day_picker_1 = require("react-day-picker");
|
|
7
|
-
const
|
|
7
|
+
const utils_1 = require("../@/lib/utils");
|
|
8
8
|
const locale_1 = require("date-fns/locale");
|
|
9
9
|
const daySelectedClasses = 'bg-btn-primary text-btn-primary rounded-sm';
|
|
10
10
|
const dayTodayClasses = 'bg-btn-secondary text-btn-secondary rounded-sm';
|
|
11
11
|
const rangeMiddleClasses = 'date-range-middle aria-selected:bg-btn-primary/50 aria-selected:text-white';
|
|
12
12
|
const btnNavClasses = 'opacity-50 hover:opacity-100 ring-offset-2 focus-visible:opacity-100 focus-visible:outline-primary border-input border rounded-sm shadow-sm';
|
|
13
13
|
function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
14
|
-
return (React.createElement(react_day_picker_1.DayPicker, { locale: locale_1.ru, showOutsideDays: showOutsideDays, className: (0,
|
|
14
|
+
return (React.createElement(react_day_picker_1.DayPicker, { locale: locale_1.ru, showOutsideDays: showOutsideDays, className: (0, utils_1.cn)('inline-flex', className), classNames: {
|
|
15
15
|
months: 'relative',
|
|
16
16
|
month: 'flex flex-col space-y-[16px] items-center',
|
|
17
17
|
month_grid: 'w-full border-collapse',
|
|
@@ -24,7 +24,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
24
24
|
weekday: 'text-light w-[32px] font-normal text-[14px]',
|
|
25
25
|
week: 'flex w-full mt-2',
|
|
26
26
|
day_button: 'w-[32px] h-[32px] p-0',
|
|
27
|
-
day: (0,
|
|
27
|
+
day: (0, utils_1.cn)('aria-selected:opacity-100 text-[14px] leading-[1]', props.mode === 'range'
|
|
28
28
|
? '[&:(.day-range-middle)]:rounded-0 [&:has(>.day-range-end)]:rounded-r-sm [&:has(>.day-range-start)]:rounded-l-sm first:[&:has([aria-selected])]:rounded-l-sm last:[&:has([aria-selected])]:rounded-r-sm'
|
|
29
29
|
: '[&:([aria-selected])]:rounded-sm'),
|
|
30
30
|
range_start: 'day-range-start',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../src/Calendar/Calendar.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,uDAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../src/Calendar/Calendar.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,uDAA4C;AAC5C,0CAAmC;AACnC,4CAAoC;AAEpC,MAAM,kBAAkB,GAAG,4CAA4C,CAAA;AACvE,MAAM,eAAe,GAAG,gDAAgD,CAAA;AACxE,MAAM,kBAAkB,GAAG,4EAA4E,CAAA;AACvG,MAAM,aAAa,GAClB,6IAA6I,CAAA;AAG9I,SAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,GAAG,IAAI,EAAE,GAAG,KAAK,EAAiB;IAC3F,OAAO,CACN,oBAAC,4BAAS,IACT,MAAM,EAAE,WAAE,EACV,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,IAAA,UAAE,EAAC,aAAa,EAAE,SAAS,CAAC,EACvC,UAAU,EAAE;YACX,MAAM,EAAE,UAAU;YAClB,KAAK,EAAE,2CAA2C;YAClD,UAAU,EAAE,wBAAwB;YACpC,aAAa,EAAE,iBAAiB;YAChC,aAAa,EAAE,gCAAgC;YAC/C,GAAG,EAAE,6CAA6C;YAClD,eAAe,EAAE,aAAa;YAC9B,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,MAAM;YAChB,OAAO,EAAE,6CAA6C;YACtD,IAAI,EAAE,kBAAkB;YACxB,UAAU,EAAE,uBAAuB;YACnC,GAAG,EAAE,IAAA,UAAE,EACN,mDAAmD,EACnD,KAAK,CAAC,IAAI,KAAK,OAAO;gBACrB,CAAC,CAAC,wMAAwM;gBAC1M,CAAC,CAAC,kCAAkC,CACrC;YACD,WAAW,EAAE,iBAAiB;YAC9B,SAAS,EAAE,eAAe;YAC1B,YAAY,EAAE,kBAAkB;YAChC,QAAQ,EAAE,kBAAkB;YAC5B,KAAK,EAAE,eAAe;YACtB,OAAO,EACN,qGAAqG;YACtG,QAAQ,EAAE,uBAAuB;YACjC,MAAM,EAAE,WAAW;YACnB,GAAG,UAAU;SACb,EACD,UAAU,EACT;QACC,+CAA+C;SAC/C,KAEE,KAAK,GACR,CACF,CAAA;AACF,CAAC;AAIQ,4BAAQ;AAFjB,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageTyping = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
6
|
+
const utils_1 = require("../@/lib/utils");
|
|
7
|
+
const MessageTyping = ({ className }) => {
|
|
8
|
+
return (react_1.default.createElement("svg", { className: (0, utils_1.cn)(className), width: "72", height: "40", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
9
|
+
react_1.default.createElement("path", { d: "M0 8a8 8 0 0 1 8-8h56a8 8 0 0 1 8 8v24a8 8 0 0 1-8 8H0V8Z", fill: "#F5F5F6" }),
|
|
10
|
+
react_1.default.createElement("path", { id: "dot_1", d: "M20 24a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z", fill: "#9B9FA8" }),
|
|
11
|
+
react_1.default.createElement("animate", { href: "#dot_1", attributeType: "CSS", attributeName: "opacity", values: "1;0;1;", dur: ".8s", begin: "0", repeatCount: "indefinite" }),
|
|
12
|
+
react_1.default.createElement("path", { id: "dot_2", d: "M36 24a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z", fill: "#9B9FA8" }),
|
|
13
|
+
react_1.default.createElement("animate", { href: "#dot_2", attributeType: "CSS", attributeName: "opacity", values: "1;0;1;", dur: ".8s", begin: ".15s", repeatCount: "indefinite" }),
|
|
14
|
+
react_1.default.createElement("path", { id: "dot_3", d: "M52 24a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z", fill: "#9B9FA8" }),
|
|
15
|
+
react_1.default.createElement("animate", { href: "#dot_3", attributeType: "CSS", attributeName: "opacity", values: "1;0;1;", dur: ".8s", begin: ".3s", repeatCount: "indefinite" })));
|
|
16
|
+
};
|
|
17
|
+
exports.MessageTyping = MessageTyping;
|
|
18
|
+
//# sourceMappingURL=MessageTyping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageTyping.js","sourceRoot":"","sources":["../../src/Chat/MessageTyping.tsx"],"names":[],"mappings":";;;;AAAA,+DAA2C;AAC3C,0CAAmC;AAE5B,MAAM,aAAa,GAA6B,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;IACxE,OAAO,CACN,uCACC,SAAS,EAAE,IAAA,UAAE,EAAC,SAAS,CAAC,EACxB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B;QAElC,wCACC,CAAC,EAAC,2DAA2D,EAC7D,IAAI,EAAC,SAAS,GACb;QACF,wCACC,EAAE,EAAC,OAAO,EACV,CAAC,EAAC,qCAAqC,EACvC,IAAI,EAAC,SAAS,GACb;QACF,2CACC,IAAI,EAAC,QAAQ,EACb,aAAa,EAAC,KAAK,EACnB,aAAa,EAAC,SAAS,EACvB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,KAAK,EACT,KAAK,EAAC,GAAG,EACT,WAAW,EAAC,YAAY,GACvB;QACF,wCACC,EAAE,EAAC,OAAO,EACV,CAAC,EAAC,qCAAqC,EACvC,IAAI,EAAC,SAAS,GACb;QACF,2CACC,IAAI,EAAC,QAAQ,EACb,aAAa,EAAC,KAAK,EACnB,aAAa,EAAC,SAAS,EACvB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,KAAK,EACT,KAAK,EAAC,MAAM,EACZ,WAAW,EAAC,YAAY,GACvB;QACF,wCACC,EAAE,EAAC,OAAO,EACV,CAAC,EAAC,qCAAqC,EACvC,IAAI,EAAC,SAAS,GACb;QACF,2CACC,IAAI,EAAC,QAAQ,EACb,aAAa,EAAC,KAAK,EACnB,aAAa,EAAC,SAAS,EACvB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,KAAK,EACT,KAAK,EAAC,KAAK,EACX,WAAW,EAAC,YAAY,GACvB,CACG,CACN,CAAA;AACF,CAAC,CAAA;AAzDY,QAAA,aAAa,iBAyDzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MessageTyping } from './MessageTyping';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageTyping = void 0;
|
|
4
|
+
var MessageTyping_1 = require("./MessageTyping");
|
|
5
|
+
Object.defineProperty(exports, "MessageTyping", { enumerable: true, get: function () { return MessageTyping_1.MessageTyping; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Chat/index.ts"],"names":[],"mappings":";;;AAAA,iDAA+C;AAAtC,8GAAA,aAAa,OAAA"}
|
package/dist/Chip/Chip.js
CHANGED
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
6
6
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
7
7
|
const react_slot_1 = require("@radix-ui/react-slot");
|
|
8
|
-
const
|
|
8
|
+
const utils_1 = require("../@/lib/utils");
|
|
9
9
|
const chipVariants = (0, class_variance_authority_1.cva)('inline-flex justify-center items-center border-[2px] disabled:opacity-[.24] rounded-full ring-offset-1 font-medium whitespace-nowrap transition-colors disabled:pointer-events-none', {
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
@@ -31,7 +31,7 @@ const chipVariants = (0, class_variance_authority_1.cva)('inline-flex justify-ce
|
|
|
31
31
|
});
|
|
32
32
|
const Chip = react_1.default.forwardRef(({ children, variant, size, className, asChild = false, ...props }, ref) => {
|
|
33
33
|
const Comp = asChild ? react_slot_1.Slot : "span";
|
|
34
|
-
return (react_1.default.createElement(Comp, { className: (0,
|
|
34
|
+
return (react_1.default.createElement(Comp, { className: (0, utils_1.cn)(chipVariants({ variant, size, className })), ref: ref, ...props }));
|
|
35
35
|
});
|
|
36
36
|
exports.Chip = Chip;
|
|
37
37
|
Chip.displayName = 'Chip';
|
package/dist/Chip/Chip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../src/Chip/Chip.tsx"],"names":[],"mappings":";;;;AAAA,+DAAyB;AACzB,uEAAiE;AACjE,qDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../src/Chip/Chip.tsx"],"names":[],"mappings":";;;;AAAA,+DAAyB;AACzB,uEAAiE;AACjE,qDAA2C;AAC3C,0CAAmC;AAEnC,MAAM,YAAY,GAAG,IAAA,8BAAG,EACvB,qLAAqL,EACrL;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EACN,sOAAsO;YACvO,SAAS,EACR,wPAAwP;YACzP,OAAO,EACN,sOAAsO;YACvO,iBAAiB,EAChB,+ZAA+Z;YACha,OAAO,EAAE,sEAAsE;YAC/E,KAAK,EAAE,6HAA6H;SACpI;QACD,IAAI,EAAE;YACL,EAAE,EAAE,EAAE;YACN,EAAE,EAAE,EAAE;YACN,EAAE,EAAE,8CAA8C;YAClD,EAAE,EAAE,EAAE;YACN,GAAG,EAAE,EAAE;SACP;KACD;IACD,eAAe,EAAE;QAChB,OAAO,EAAE,WAAW;QACpB,IAAI,EAAE,IAAI;KACV;CACD,CACD,CAAA;AAMD,MAAM,IAAI,GAAG,eAAK,CAAC,UAAU,CAAgC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACpI,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,iBAAI,CAAC,CAAC,CAAC,MAAM,CAAA;IAEvC,OAAO,CACN,8BAAC,IAAI,IACC,SAAS,EAAE,IAAA,UAAE,EAAC,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,EACzD,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,CACN,CAAA;AACF,CAAC,CAAC,CAAA;AAIO,oBAAI;AAFb,IAAI,CAAC,WAAW,GAAG,MAAM,CAAA"}
|
|
@@ -4,8 +4,8 @@ exports.AccountCollapsibleContentItem = exports.AccountCollapsibleContent = expo
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
6
6
|
const CollapsiblePrimitive = (0, tslib_1.__importStar)(require("@radix-ui/react-collapsible"));
|
|
7
|
-
const Icon_1 = require("
|
|
8
|
-
const
|
|
7
|
+
const Icon_1 = require("../../src/Icon");
|
|
8
|
+
const utils_1 = require("../@/lib/utils");
|
|
9
9
|
const react_slot_1 = require("@radix-ui/react-slot");
|
|
10
10
|
const AccountCollapsible = CollapsiblePrimitive.Root;
|
|
11
11
|
exports.AccountCollapsible = AccountCollapsible;
|
|
@@ -36,7 +36,7 @@ const accountCollapsibleClasses = `
|
|
|
36
36
|
`;
|
|
37
37
|
const AccountCollapsibleContentItem = ({ children, asChild = true, className, ...props }) => {
|
|
38
38
|
const Comp = asChild ? react_slot_1.Slot : 'div';
|
|
39
|
-
return (react_1.default.createElement(Comp, { className: (0,
|
|
39
|
+
return (react_1.default.createElement(Comp, { className: (0, utils_1.cn)(accountCollapsibleClasses, className), ...props }, children));
|
|
40
40
|
};
|
|
41
41
|
exports.AccountCollapsibleContentItem = AccountCollapsibleContentItem;
|
|
42
42
|
AccountCollapsible.displayName = 'AccountCollaspible';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountCollapsible.js","sourceRoot":"","sources":["../../src/Collapsible/AccountCollapsible.tsx"],"names":[],"mappings":";;;;AAAA,+DAA4C;AAC5C,+FAAmE;AACnE,
|
|
1
|
+
{"version":3,"file":"AccountCollapsible.js","sourceRoot":"","sources":["../../src/Collapsible/AccountCollapsible.tsx"],"names":[],"mappings":";;;;AAAA,+DAA4C;AAC5C,+FAAmE;AACnE,yCAAiD;AACjD,0CAAmC;AACnC,qDAA2C;AAE3C,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,IAAI,CAAA;AAmEnD,gDAAkB;AAjEnB,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,kBAAkB,CAAA;AAmExE,8DAAyB;AAjE1B,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,kBAAkB,CAAA;AAkExE,8DAAyB;AAtD1B,MAAM,wBAAwB,GAAsC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACjF,OAAO,CACN,8BAAC,yBAAyB,IAAC,SAAS,EAAC,wEAAwE;QAC5G,uCAAK,SAAS,EAAC,wCAAwC,IAAE,KAAK,CAAO;QACrE,8BAAC,uBAAgB,IAAC,SAAS,EAAC,2DAA2D,GAAE,CAC9D,CAC5B,CAAA;AACF,CAAC,CAAA;AA6CA,4DAAwB;AA3CzB,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;CAcjC,CAAA;AACD,MAAM,6BAA6B,GAA2C,CAAC,EAC9E,QAAQ,EACR,OAAO,GAAG,IAAI,EACd,SAAS,EACT,GAAG,KAAK,EACR,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,iBAAI,CAAC,CAAC,CAAC,KAAK,CAAA;IACnC,OAAO,CACN,8BAAC,IAAI,IACJ,SAAS,EAAE,IAAA,UAAE,EACZ,yBAAyB,EACzB,SAAS,CACT,KACG,KAAK,IAER,QAAQ,CACH,CACP,CAAA;AACF,CAAC,CAAA;AAaA,sEAA6B;AAX9B,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAA;AACrD,yBAAyB,CAAC,WAAW,GAAG,2BAA2B,CAAA;AACnE,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAA;AACjE,yBAAyB,CAAC,WAAW,GAAG,2BAA2B,CAAA;AACnE,6BAA6B,CAAC,WAAW,GAAG,+BAA+B,CAAA"}
|
|
@@ -4,16 +4,16 @@ exports.DatePicker = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
const date_fns_1 = require("date-fns");
|
|
7
|
-
const
|
|
8
|
-
const Calendar_1 = require("
|
|
9
|
-
const Icon_1 = require("
|
|
10
|
-
const Popover_1 = require("
|
|
7
|
+
const utils_1 = require("../@/lib/utils");
|
|
8
|
+
const Calendar_1 = require("../../src/Calendar");
|
|
9
|
+
const Icon_1 = require("../../src/Icon");
|
|
10
|
+
const Popover_1 = require("../../src/Popover");
|
|
11
11
|
const locale_1 = require("date-fns/locale");
|
|
12
12
|
const trigegrClasses = 'inline-flex items-center px-[12px] h-[44px] text-left border-input border rounded-sm';
|
|
13
13
|
const DatePicker = ({ placeholder, triggerDisabled, date, classTrigger, ...props }) => {
|
|
14
14
|
return (React.createElement(Popover_1.Popover, null,
|
|
15
15
|
React.createElement(Popover_1.Popover.Trigger, { asChild: true },
|
|
16
|
-
React.createElement("button", { className: (0,
|
|
16
|
+
React.createElement("button", { className: (0, utils_1.cn)(trigegrClasses, { 'bg-light text-light': triggerDisabled }, classTrigger), disabled: triggerDisabled },
|
|
17
17
|
date ? React.createElement("span", { className: 'w-[calc(100%-26px)] truncate' }, (0, date_fns_1.format)(date, 'PPP', { locale: locale_1.ru })) : React.createElement("span", { className: 'w-[calc(100%-26px)] text-light truncate' }, placeholder),
|
|
18
18
|
React.createElement(Icon_1.Calendar, { width: 18, height: 18, className: "ml-[8px] text-light shrink-0" }))),
|
|
19
19
|
React.createElement(Popover_1.Popover.Content, { className: "bg-page p-0 w-auto", align: "center" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.js","sourceRoot":"","sources":["../../src/DatePicker/DatePicker.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,uCAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"DatePicker.js","sourceRoot":"","sources":["../../src/DatePicker/DatePicker.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,uCAAiC;AACjC,0CAAmC;AACnC,iDAA6C;AAC7C,yCAAyD;AACzD,+CAA2C;AAC3C,4CAAoC;AAEpC,MAAM,cAAc,GAAG,sFAAsF,CAAA;AAW7G,MAAM,UAAU,GAAqB,CAAC,EAAC,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,YAAY,EAAG,GAAG,KAAK,EAAC,EAAE,EAAE;IAEtG,OAAO,CACN,oBAAC,iBAAO;QACP,oBAAC,iBAAO,CAAC,OAAO,IAAC,OAAO;YACvB,gCAAQ,SAAS,EAAE,IAAA,UAAE,EAAC,cAAc,EAAE,EAAC,qBAAqB,EAAC,eAAe,EAAC,EAAE,YAAY,CAAC,EAAE,QAAQ,EAAE,eAAe;gBACrH,IAAI,CAAC,CAAC,CAAC,8BAAM,SAAS,EAAC,8BAA8B,IAAE,IAAA,iBAAM,EAAC,IAAI,EAAE,KAAK,EAAE,EAAC,MAAM,EAAE,WAAE,EAAC,CAAC,CAAQ,CAAC,CAAC,CAAC,8BAAM,SAAS,EAAC,yCAAyC,IAAE,WAAW,CAAQ;gBAClL,oBAAC,eAAY,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAC,8BAA8B,GAAG,CACxE,CACQ;QAClB,oBAAC,iBAAO,CAAC,OAAO,IACf,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAC,QAAQ;YAEd,oBAAC,mBAAQ,OAAK,KAAK,GAAG,CACL,CACT,CACV,CAAA;AACF,CAAC,CAAA;AAEQ,gCAAU"}
|
package/dist/Drawer/Drawer.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.DrawerClose = exports.DrawerTitle = exports.DrawerContent = exports.Draw
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
const vaul_1 = require("vaul");
|
|
7
|
-
const
|
|
7
|
+
const utils_1 = require("../@/lib/utils");
|
|
8
8
|
const react_1 = require("react");
|
|
9
9
|
const DrawerContext = React.createContext({ direction: 'bottom', modal: false });
|
|
10
10
|
const Drawer = ({ ...props }) => {
|
|
@@ -19,14 +19,14 @@ const DrawerPortal = vaul_1.Drawer.Portal;
|
|
|
19
19
|
const DrawerClose = vaul_1.Drawer.Close;
|
|
20
20
|
exports.DrawerClose = DrawerClose;
|
|
21
21
|
const DrawerOverlay = vaul_1.Drawer.Overlay;
|
|
22
|
-
const DrawerTitle = React.forwardRef(({ className, ...props }, ref) => (React.createElement(vaul_1.Drawer.Title, { ref: ref, className: (0,
|
|
22
|
+
const DrawerTitle = React.forwardRef(({ className, ...props }, ref) => (React.createElement(vaul_1.Drawer.Title, { ref: ref, className: (0, utils_1.cn)(className), ...props })));
|
|
23
23
|
exports.DrawerTitle = DrawerTitle;
|
|
24
24
|
DrawerTitle.displayName = vaul_1.Drawer.Title.displayName;
|
|
25
25
|
const DrawerContent = React.forwardRef(({ className, children, ...props }, ref) => {
|
|
26
26
|
const { direction = 'bottom', modal = false } = (0, react_1.useContext)(DrawerContext);
|
|
27
27
|
return (React.createElement(DrawerPortal, null,
|
|
28
28
|
modal && React.createElement(DrawerOverlay, { className: 'z-50 fixed inset-0 bg-[--drawer-overlay-bg]' }),
|
|
29
|
-
React.createElement(vaul_1.Drawer.Content, { ref: ref, className: (0,
|
|
29
|
+
React.createElement(vaul_1.Drawer.Content, { ref: ref, className: (0, utils_1.cn)(`z-50 fixed inset-x-0 flex flex-col bg-page shadow-sm max-h-[94%] sm:container`, direction === 'top' ? 'top-0 rounded-b-sm ' : 'bottom-0 rounded-t-sm', className), ...props },
|
|
30
30
|
direction !== 'top' && (React.createElement("div", { className: "pt-[4px] pb-[16px]" },
|
|
31
31
|
React.createElement("span", { className: "block bg-[--cl-graphite-5] mx-auto rounded-full w-[36px] h-[5px]" }))),
|
|
32
32
|
children,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.js","sourceRoot":"","sources":["../../src/Drawer/Drawer.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,+BAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"Drawer.js","sourceRoot":"","sources":["../../src/Drawer/Drawer.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,+BAAgD;AAChD,0CAAmC;AACnC,iCAAkC;AAElC,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,EAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC,CAAA;AAE9E,MAAM,MAAM,GAAG,CAAC,EAAE,GAAG,KAAK,EAAqD,EAAE,EAAE;IAClF,OAAO,CACN,oBAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAC;QAC9E,oBAAC,aAAe,CAAC,IAAI,OAAK,KAAK,GAAI,CACX,CACzB,CAAA;AACF,CAAC,CAAA;AA2EQ,wBAAM;AAzEf,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAA;AAE7B,MAAM,aAAa,GAAG,aAAe,CAAC,OAAO,CAAA;AAuE5B,sCAAa;AArE9B,MAAM,YAAY,GAAG,aAAe,CAAC,MAAM,CAAA;AAE3C,MAAM,WAAW,GAAG,aAAe,CAAC,KAAK,CAAA;AAmEmB,kCAAW;A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I,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B;oBAElC,8BACC,CAAC,EAAC,+UAA+U,EACjV,IAAI,EAAC,sBAAsB,GAC1B,CACG,CACD,CACN,CACwB,CACZ,CACf,CAAA;AACF,CAAC,CAAC,CAAA;AAI8B,sCAAa;AAF7C,aAAa,CAAC,WAAW,GAAG,eAAe,CAAA"}
|
package/dist/Form/Form.js
CHANGED
|
@@ -5,8 +5,8 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
const react_slot_1 = require("@radix-ui/react-slot");
|
|
7
7
|
const react_hook_form_1 = require("react-hook-form");
|
|
8
|
-
const
|
|
9
|
-
const Label_1 = require("
|
|
8
|
+
const utils_1 = require("../@/lib/utils");
|
|
9
|
+
const Label_1 = require("../../src/Label");
|
|
10
10
|
const Form = react_hook_form_1.FormProvider;
|
|
11
11
|
exports.Form = Form;
|
|
12
12
|
const FormFieldContext = React.createContext({});
|
|
@@ -38,13 +38,13 @@ const FormItemContext = React.createContext({});
|
|
|
38
38
|
const FormItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
39
39
|
const id = React.useId();
|
|
40
40
|
return (React.createElement(FormItemContext.Provider, { value: { id } },
|
|
41
|
-
React.createElement("div", { ref: ref, className: (0,
|
|
41
|
+
React.createElement("div", { ref: ref, className: (0, utils_1.cn)('space-y-2', className), ...props })));
|
|
42
42
|
});
|
|
43
43
|
exports.FormItem = FormItem;
|
|
44
44
|
FormItem.displayName = 'FormItem';
|
|
45
45
|
const FormLabel = React.forwardRef(({ className, ...props }, ref) => {
|
|
46
46
|
const { error, formItemId } = useFormField();
|
|
47
|
-
return (React.createElement(Label_1.Label, { ref: ref, className: (0,
|
|
47
|
+
return (React.createElement(Label_1.Label, { ref: ref, className: (0, utils_1.cn)(error && 'text-destructive', className), htmlFor: formItemId, ...props }));
|
|
48
48
|
});
|
|
49
49
|
exports.FormLabel = FormLabel;
|
|
50
50
|
FormLabel.displayName = 'FormLabel';
|
|
@@ -56,7 +56,7 @@ exports.FormControl = FormControl;
|
|
|
56
56
|
FormControl.displayName = 'FormControl';
|
|
57
57
|
const FormDescription = React.forwardRef(({ className, ...props }, ref) => {
|
|
58
58
|
const { formDescriptionId } = useFormField();
|
|
59
|
-
return (React.createElement("p", { ref: ref, id: formDescriptionId, className: (0,
|
|
59
|
+
return (React.createElement("p", { ref: ref, id: formDescriptionId, className: (0, utils_1.cn)('text-[0.8rem] text-light', className), ...props }));
|
|
60
60
|
});
|
|
61
61
|
exports.FormDescription = FormDescription;
|
|
62
62
|
FormDescription.displayName = 'FormDescription';
|
|
@@ -66,7 +66,7 @@ const FormMessage = React.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
66
66
|
if (!body) {
|
|
67
67
|
return null;
|
|
68
68
|
}
|
|
69
|
-
return (React.createElement("p", { ref: ref, id: formMessageId, className: (0,
|
|
69
|
+
return (React.createElement("p", { ref: ref, id: formMessageId, className: (0, utils_1.cn)('text-[0.8rem] font-medium text-destructive', className), ...props }, body));
|
|
70
70
|
});
|
|
71
71
|
exports.FormMessage = FormMessage;
|
|
72
72
|
FormMessage.displayName = 'FormMessage';
|
package/dist/Form/Form.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.js","sourceRoot":"","sources":["../../src/Form/Form.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAE9B,qDAA2C;AAC3C,qDAAmH;AACnH,
|
|
1
|
+
{"version":3,"file":"Form.js","sourceRoot":"","sources":["../../src/Form/Form.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAE9B,qDAA2C;AAC3C,qDAAmH;AACnH,0CAAmC;AACnC,2CAAuC;AAEvC,MAAM,IAAI,GAAG,8BAAY,CAAA;AAkJF,oBAAI;AAzI3B,MAAM,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAwB,EAA2B,CAAC,CAAA;AAEhG,MAAM,SAAS,GAAG,CAGhB,EACD,G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,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAChC,MAAM,EAAE,iBAAiB,EAAE,GAAG,YAAY,EAAE,CAAA;IAE5C,OAAO,CACN,2BACC,GAAG,EAAE,GAAG,EACR,EAAE,EAAE,iBAAiB,EACrB,SAAS,EAAE,IAAA,UAAE,EAAC,0BAA0B,EAAE,SAAS,CAAC,KAChD,KAAK,GACR,CACF,CAAA;AACF,CAAC,CACD,CAAA;AA0B8D,0CAAe;AAzB9E,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAA;AAE/C,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CACnC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC1C,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE,CAAA;IAC/C,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IAEtD,IAAI,CAAC,IAAI,EAAE;QACV,OAAO,IAAI,CAAA;KACX;IAED,OAAO,CACN,2BACC,GAAG,EAAE,GAAG,EACR,EAAE,EAAE,aAAa,EACjB,SAAS,EAAE,IAAA,UAAE,EAAC,4CAA4C,EAAE,SAAS,CAAC,KAClE,KAAK,IAER,IAAI,CACF,CACJ,CAAA;AACF,CAAC,CACD,CAAA;AAG+E,kCAAW;AAF3F,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA"}
|
package/dist/Icon/SvgIcon.js
CHANGED
|
@@ -12,7 +12,7 @@ const React = (0, tslib_1.__importStar)(require("react"));
|
|
|
12
12
|
// 'small': 20,
|
|
13
13
|
// 'large': 35,
|
|
14
14
|
// }
|
|
15
|
-
const size =
|
|
15
|
+
const size = 24;
|
|
16
16
|
const SvgIcon = React.forwardRef(function SvgIcon({ children, color, height, size, width, ...props }, ref) {
|
|
17
17
|
return (React.createElement("svg", { ...props, color: color, height: size || height, width: size || width, ref: ref }, children));
|
|
18
18
|
});
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
5
5
|
const SvgIcon_1 = require("../SvgIcon");
|
|
6
|
-
const SvgArrowLeft = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width: 24, height: 24, fill: "none", ...props },
|
|
7
|
-
React.createElement("path", { fill: "currentColor", d: "M21.
|
|
6
|
+
const SvgArrowLeft = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width: 24, height: 24, fill: "none", viewBox: "0 0 24 24", ...props },
|
|
7
|
+
React.createElement("path", { fill: "currentColor", d: "M21.6 12c0 .66-.54 1.2-1.2 1.2H6.5l3.95 3.95c.47.47.47 1.24 0 1.7-.48.46-1.21.47-1.7 0l-6-6a1.21 1.21 0 0 1 0-1.7l6-6a1.21 1.21 0 0 1 1.7 0c.47.47.47 1.24 0 1.7L6.5 10.8H20.4c.66 0 1.2.54 1.2 1.2Z" })));
|
|
8
8
|
exports.default = SvgArrowLeft;
|
|
9
9
|
//# sourceMappingURL=ArrowLeft.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowLeft.js","sourceRoot":"","sources":["../../../src/Icon/icons/ArrowLeft.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,YAAY,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACxD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"ArrowLeft.js","sourceRoot":"","sources":["../../../src/Icon/icons/ArrowLeft.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,YAAY,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACxD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,sMAAsM,GACvM,CACO,CACV,CAAA;AACD,kBAAe,YAAY,CAAA"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
5
5
|
const SvgIcon_1 = require("../SvgIcon");
|
|
6
|
-
const SvgArrowRight = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width:
|
|
7
|
-
React.createElement("path", { fill: "currentColor", d: "
|
|
6
|
+
const SvgArrowRight = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width: 24, height: 24, fill: "none", viewBox: "0 0 24 24", ...props },
|
|
7
|
+
React.createElement("path", { fill: "currentColor", d: "m21.25 12.85-6 6c-.48.46-1.21.47-1.7 0a1.21 1.21 0 0 1 0-1.7l3.96-3.95H3.6A1.2 1.2 0 0 1 2.4 12c0-.66.54-1.2 1.2-1.2h13.9l-3.95-3.95a1.21 1.21 0 0 1 0-1.7 1.21 1.21 0 0 1 1.7 0l6 6c.47.47.47 1.24 0 1.7Z" })));
|
|
8
8
|
exports.default = SvgArrowRight;
|
|
9
9
|
//# sourceMappingURL=ArrowRight.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowRight.js","sourceRoot":"","sources":["../../../src/Icon/icons/ArrowRight.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,aAAa,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACzD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,
|
|
1
|
+
{"version":3,"file":"ArrowRight.js","sourceRoot":"","sources":["../../../src/Icon/icons/ArrowRight.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,aAAa,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACzD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,4MAA4M,GAC7M,CACO,CACV,CAAA;AACD,kBAAe,aAAa,CAAA"}
|
package/dist/Icon/icons/Atm.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
5
5
|
const SvgIcon_1 = require("../SvgIcon");
|
|
6
|
-
const SvgAtm = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width:
|
|
7
|
-
React.createElement("path", { fill: "currentColor", d: "
|
|
6
|
+
const SvgAtm = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width: 24, height: 24, fill: "none", viewBox: "0 0 24 24", ...props },
|
|
7
|
+
React.createElement("path", { fill: "currentColor", d: "M20.4 2.4H3.6a2.4 2.4 0 0 0-2.4 2.4v4.8A2.4 2.4 0 0 0 3.6 12h1.2v7.2a2.4 2.4 0 0 0 2.4 2.4h9.6a2.4 2.4 0 0 0 2.4-2.4V12h1.2a2.4 2.4 0 0 0 2.4-2.4V4.8a2.4 2.4 0 0 0-2.4-2.4Zm-13.2 6h2.4v10.8H7.2V8.4Zm9.6 10.8H12V8.4h4.8v10.8Zm3.6-9.6h-1.2V7.2c0-.66-.54-1.2-1.2-1.2H6c-.66 0-1.2.54-1.2 1.2v2.4H3.6V4.8h16.8v4.8Zm-4.8 6v1.2c0 .66-.54 1.2-1.2 1.2a1.2 1.2 0 0 1-1.2-1.2v-1.2c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2Z" })));
|
|
8
8
|
exports.default = SvgAtm;
|
|
9
9
|
//# sourceMappingURL=Atm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Atm.js","sourceRoot":"","sources":["../../../src/Icon/icons/Atm.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,MAAM,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAClD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,
|
|
1
|
+
{"version":3,"file":"Atm.js","sourceRoot":"","sources":["../../../src/Icon/icons/Atm.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,MAAM,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAClD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,6ZAA6Z,GAC9Z,CACO,CACV,CAAA;AACD,kBAAe,MAAM,CAAA"}
|
package/dist/Icon/icons/Call.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
5
5
|
const SvgIcon_1 = require("../SvgIcon");
|
|
6
|
-
const SvgCall = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width:
|
|
7
|
-
React.createElement("path", { fill: "currentColor", d: "
|
|
6
|
+
const SvgCall = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width: 24, height: 24, fill: "none", viewBox: "0 0 24 24", ...props },
|
|
7
|
+
React.createElement("path", { fill: "currentColor", d: "M17.04 22.8a3.7 3.7 0 0 1-1.25-.22A25.46 25.46 0 0 1 1.42 8.2a3.7 3.7 0 0 1 .86-3.85l2.44-2.44a2.4 2.4 0 0 1 3.42 0l3.5 3.49a2.44 2.44 0 0 1 0 3.44l-1.2 1.19a6.5 6.5 0 0 0 3.53 3.53l1.2-1.2a2.49 2.49 0 0 1 3.44 0l3.48 3.49a2.43 2.43 0 0 1 0 3.44l-2.44 2.43a3.69 3.69 0 0 1-2.61 1.08ZM3.68 7.4A22.9 22.9 0 0 0 16.6 20.31a1.3 1.3 0 0 0 1.35-.3l2.43-2.43-3.48-3.53-1.79 1.75a1.2 1.2 0 0 1-1.23.28 9.02 9.02 0 0 1-5.98-5.98 1.2 1.2 0 0 1 .29-1.23l1.74-1.74-3.48-3.53-2.49 2.44a1.3 1.3 0 0 0-.3 1.34Z" })));
|
|
8
8
|
exports.default = SvgCall;
|
|
9
9
|
//# sourceMappingURL=Call.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Call.js","sourceRoot":"","sources":["../../../src/Icon/icons/Call.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,OAAO,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACnD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,
|
|
1
|
+
{"version":3,"file":"Call.js","sourceRoot":"","sources":["../../../src/Icon/icons/Call.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,OAAO,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACnD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,ifAAif,GAClf,CACO,CACV,CAAA;AACD,kBAAe,OAAO,CAAA"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = (0, tslib_1.__importStar)(require("react"));
|
|
5
5
|
const SvgIcon_1 = require("../SvgIcon");
|
|
6
|
-
const SvgCancel = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width:
|
|
7
|
-
React.createElement("path", { fill: "currentColor", d: "
|
|
6
|
+
const SvgCancel = (props) => (React.createElement(SvgIcon_1.SvgIcon, { width: 24, height: 24, fill: "none", viewBox: "0 0 24 24", ...props },
|
|
7
|
+
React.createElement("path", { fill: "currentColor", d: "m12 22.8c-5.95 0-10.8-4.85-10.8-10.8s4.85-10.8 10.8-10.8 10.8 4.85 10.8 10.8-4.85 10.8-10.8 10.8zm0-19.2a8.4 8.4 0 0 0 0 16.8 8.4 8.4 0 0 0 0-16.8zm1.7 8.4 1.54-1.55a1.2 1.2 0 1 0 -1.7-1.69l-1.54 1.55-1.55-1.55a1.2 1.2 0 1 0 -1.69 1.7l1.55 1.54-1.55 1.55a1.2 1.2 0 1 0 1.7 1.69l1.54-1.55 1.55 1.55a1.2 1.2 0 1 0 1.69-1.7l-1.55-1.54z" })));
|
|
8
8
|
exports.default = SvgCancel;
|
|
9
9
|
//# sourceMappingURL=Cancel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cancel.js","sourceRoot":"","sources":["../../../src/Icon/icons/Cancel.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,SAAS,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACrD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,
|
|
1
|
+
{"version":3,"file":"Cancel.js","sourceRoot":"","sources":["../../../src/Icon/icons/Cancel.tsx"],"names":[],"mappings":";;;AAAA,0DAA8B;AAE9B,wCAAoC;AACpC,MAAM,SAAS,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACrD,oBAAC,iBAAO,IACP,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,KACf,KAAK;IAET,8BACC,IAAI,EAAC,cAAc,EACnB,CAAC,EAAC,8UAA8U,GAC/U,CACO,CACV,CAAA;AACD,kBAAe,SAAS,CAAA"}
|