@momo-webplatform/mobase 0.0.4 → 0.0.5
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/package.json +6 -3
- package/publish/cjs/{src/components → components}/Accordion/Accordion.js +1 -1
- package/publish/cjs/{src/components → components}/Alert/Alert.js +1 -1
- package/publish/cjs/{src/components → components}/AlertDialog/AlertDialog.js +4 -4
- package/publish/cjs/{src/components → components}/Avatar/Avatar.js +1 -1
- package/publish/cjs/{src/components → components}/Badge/Badge.js +1 -1
- package/publish/cjs/{src/components → components}/Button/Button.js +2 -2
- package/publish/cjs/{src/components → components}/Button/index.js +2 -1
- package/publish/cjs/{src/components → components}/Calendar/calendar.js +4 -4
- package/publish/cjs/{src/components → components}/Card/Card.js +1 -1
- package/publish/cjs/{src/components → components}/Checkbox/Checkbox.js +1 -1
- package/publish/cjs/{src/components → components}/Command/command.js +1 -1
- package/publish/cjs/{src/components → components}/Dialog/dialog.js +1 -1
- package/publish/cjs/{src/components → components}/Drawer/drawer.js +1 -1
- package/publish/cjs/{src/components → components}/DropdownMenu/dropdownmenu.js +1 -1
- package/publish/cjs/{src/components → components}/HoverCard/hover-card.js +1 -1
- package/publish/cjs/{src/components → components}/IconButton/IconButton.js +1 -1
- package/publish/cjs/{src/components → components}/Input/input.js +1 -1
- package/publish/cjs/{src/components → components}/Label/Label.js +1 -1
- package/publish/cjs/{src/components → components}/Menubar/menubar.js +1 -1
- package/publish/cjs/{src/components → components}/NavigationMenu/navigation-menu.js +1 -1
- package/publish/cjs/{src/components → components}/Popover/popover.js +1 -1
- package/publish/cjs/{src/components → components}/Progress/Progress.js +1 -1
- package/publish/cjs/{src/components → components}/RadioGroup/RadioGroup.js +1 -1
- package/publish/cjs/{src/components → components}/Select/Select.js +1 -1
- package/publish/cjs/{src/components → components}/Sheet/sheet.js +1 -1
- package/publish/cjs/{src/components → components}/Skeleton/skeleton.js +1 -1
- package/publish/cjs/{src/components → components}/Slider/slider.js +1 -1
- package/publish/cjs/{src/components → components}/Switch/Switch.js +1 -1
- package/publish/cjs/{src/components → components}/Table/Table.js +1 -1
- package/publish/cjs/{src/components → components}/Tabs/Tabs.js +1 -1
- package/publish/cjs/{src/components → components}/Textarea/Textarea.js +1 -1
- package/publish/cjs/{src/components → components}/Toast/Toast.js +1 -1
- package/publish/cjs/{src/components/Tooltip → components/tooltip}/Tooltip.js +1 -1
- package/publish/cjs/helpers/SpinerIcon.js +7 -0
- package/publish/cjs/tsconfig.lib.tsbuildinfo +1 -1
- package/publish/esm/{src/components → components}/Accordion/Accordion.js +1 -1
- package/publish/esm/{src/components → components}/Alert/Alert.js +1 -1
- package/publish/esm/{src/components → components}/AlertDialog/AlertDialog.js +2 -2
- package/publish/esm/{src/components → components}/Avatar/Avatar.js +1 -1
- package/publish/esm/{src/components → components}/Badge/Badge.js +1 -1
- package/publish/esm/{src/components → components}/Button/Button.js +2 -2
- package/publish/esm/components/Button/index.d.ts +2 -0
- package/publish/esm/components/Button/index.js +1 -0
- package/publish/esm/{src/components → components}/Calendar/calendar.js +3 -3
- package/publish/esm/{src/components → components}/Card/Card.js +1 -1
- package/publish/esm/{src/components → components}/Checkbox/Checkbox.js +1 -1
- package/publish/esm/{src/components → components}/Command/command.js +1 -1
- package/publish/esm/{src/components → components}/Dialog/dialog.js +1 -1
- package/publish/esm/{src/components → components}/Drawer/drawer.js +1 -1
- package/publish/esm/{src/components → components}/DropdownMenu/dropdownmenu.js +1 -1
- package/publish/esm/{src/components → components}/HoverCard/hover-card.js +1 -1
- package/publish/esm/{src/components → components}/IconButton/IconButton.js +1 -1
- package/publish/esm/{src/components → components}/Input/input.js +1 -1
- package/publish/esm/{src/components → components}/Label/Label.js +1 -1
- package/publish/esm/{src/components → components}/Menubar/menubar.js +1 -1
- package/publish/esm/{src/components → components}/NavigationMenu/navigation-menu.js +1 -1
- package/publish/esm/{src/components → components}/Popover/popover.js +1 -1
- package/publish/esm/{src/components → components}/Progress/Progress.js +1 -1
- package/publish/esm/{src/components → components}/RadioGroup/RadioGroup.js +1 -1
- package/publish/esm/{src/components → components}/Select/Select.js +1 -1
- package/publish/esm/{src/components → components}/Sheet/sheet.js +1 -1
- package/publish/esm/{src/components → components}/Skeleton/skeleton.js +1 -1
- package/publish/esm/{src/components → components}/Slider/slider.js +1 -1
- package/publish/esm/{src/components → components}/Switch/Switch.js +1 -1
- package/publish/esm/{src/components → components}/Table/Table.js +1 -1
- package/publish/esm/{src/components → components}/Tabs/Tabs.js +1 -1
- package/publish/esm/{src/components → components}/Textarea/Textarea.js +1 -1
- package/publish/esm/{src/components → components}/Toast/Toast.js +1 -1
- package/publish/esm/{src/components/Tooltip → components/tooltip}/Tooltip.js +1 -1
- package/publish/esm/helpers/SpinerIcon.d.ts +6 -0
- package/publish/esm/helpers/SpinerIcon.js +5 -0
- package/publish/esm/tsconfig.lib.tsbuildinfo +1 -1
- package/publish/cjs/components/ui/button.js +0 -60
- package/publish/cjs/src/components/Pagination/Pagination.js +0 -52
- package/publish/esm/components/ui/button.d.ts +0 -11
- package/publish/esm/components/ui/button.js +0 -33
- package/publish/esm/src/components/Button/index.d.ts +0 -2
- package/publish/esm/src/components/Button/index.js +0 -1
- package/publish/esm/src/components/Pagination/Pagination.d.ts +0 -19
- package/publish/esm/src/components/Pagination/Pagination.js +0 -20
- /package/publish/cjs/{src/components → components}/Accordion/index.js +0 -0
- /package/publish/cjs/{src/components → components}/AlertDialog/index.js +0 -0
- /package/publish/cjs/{src/components → components}/Avatar/index.js +0 -0
- /package/publish/cjs/{src/components → components}/Checkbox/index.js +0 -0
- /package/publish/cjs/{src/components → components}/Collapsible/collapsible.js +0 -0
- /package/publish/cjs/{src/components → components}/IconButton/index.js +0 -0
- /package/publish/cjs/{src/components → components}/RadioGroup/Radio.js +0 -0
- /package/publish/cjs/{src/components → components}/RadioGroup/index.js +0 -0
- /package/publish/cjs/{src/components → components}/Switch/index.js +0 -0
- /package/publish/cjs/{src/components → components}/Toast/toaster.js +0 -0
- /package/publish/cjs/{src/components → components}/Toast/use-toast.js +0 -0
- /package/publish/cjs/{components/utils → foundation}/SpinerIcon.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/clone-deep.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/clone-deep.spec.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/generic-forward-ref.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/http.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/is-client.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/is-object.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/is-object.spec.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/merge-deep.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/merge-deep.spec.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/omit.js +0 -0
- /package/publish/cjs/{src/helpers → helpers}/omit.spec.js +0 -0
- /package/publish/cjs/{lib → helpers}/utils.js +0 -0
- /package/publish/cjs/{src/index.js → index.js} +0 -0
- /package/publish/cjs/{src/types → types}/index.js +0 -0
- /package/publish/esm/{src/components → components}/Accordion/Accordion.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Accordion/index.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Accordion/index.js +0 -0
- /package/publish/esm/{src/components → components}/Alert/Alert.d.ts +0 -0
- /package/publish/esm/{src/components → components}/AlertDialog/AlertDialog.d.ts +0 -0
- /package/publish/esm/{src/components → components}/AlertDialog/index.d.ts +0 -0
- /package/publish/esm/{src/components → components}/AlertDialog/index.js +0 -0
- /package/publish/esm/{src/components → components}/Avatar/Avatar.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Avatar/index.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Avatar/index.js +0 -0
- /package/publish/esm/{src/components → components}/Badge/Badge.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Button/Button.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Calendar/calendar.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Card/Card.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Checkbox/Checkbox.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Checkbox/index.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Checkbox/index.js +0 -0
- /package/publish/esm/{src/components → components}/Collapsible/collapsible.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Collapsible/collapsible.js +0 -0
- /package/publish/esm/{src/components → components}/Command/command.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Dialog/dialog.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Drawer/drawer.d.ts +0 -0
- /package/publish/esm/{src/components → components}/DropdownMenu/dropdownmenu.d.ts +0 -0
- /package/publish/esm/{src/components → components}/HoverCard/hover-card.d.ts +0 -0
- /package/publish/esm/{src/components → components}/IconButton/IconButton.d.ts +0 -0
- /package/publish/esm/{src/components → components}/IconButton/index.d.ts +0 -0
- /package/publish/esm/{src/components → components}/IconButton/index.js +0 -0
- /package/publish/esm/{src/components → components}/Input/input.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Label/Label.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Menubar/menubar.d.ts +0 -0
- /package/publish/esm/{src/components → components}/NavigationMenu/navigation-menu.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Popover/popover.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Progress/Progress.d.ts +0 -0
- /package/publish/esm/{src/components → components}/RadioGroup/Radio.d.ts +0 -0
- /package/publish/esm/{src/components → components}/RadioGroup/Radio.js +0 -0
- /package/publish/esm/{src/components → components}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/publish/esm/{src/components → components}/RadioGroup/index.d.ts +0 -0
- /package/publish/esm/{src/components → components}/RadioGroup/index.js +0 -0
- /package/publish/esm/{src/components → components}/Select/Select.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Sheet/sheet.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Skeleton/skeleton.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Slider/slider.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Switch/Switch.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Switch/index.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Switch/index.js +0 -0
- /package/publish/esm/{src/components → components}/Table/Table.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Tabs/Tabs.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Textarea/Textarea.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Toast/Toast.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Toast/toaster.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Toast/toaster.js +0 -0
- /package/publish/esm/{src/components → components}/Toast/use-toast.d.ts +0 -0
- /package/publish/esm/{src/components → components}/Toast/use-toast.js +0 -0
- /package/publish/esm/{src/components/Tooltip → components/tooltip}/Tooltip.d.ts +0 -0
- /package/publish/esm/{components/utils → foundation}/SpinerIcon.d.ts +0 -0
- /package/publish/esm/{components/utils → foundation}/SpinerIcon.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/clone-deep.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/clone-deep.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/clone-deep.spec.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/clone-deep.spec.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/generic-forward-ref.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/generic-forward-ref.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/http.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/http.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/is-client.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/is-client.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/is-object.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/is-object.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/is-object.spec.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/is-object.spec.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/merge-deep.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/merge-deep.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/merge-deep.spec.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/merge-deep.spec.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/omit.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/omit.js +0 -0
- /package/publish/esm/{src/helpers → helpers}/omit.spec.d.ts +0 -0
- /package/publish/esm/{src/helpers → helpers}/omit.spec.js +0 -0
- /package/publish/esm/{lib → helpers}/utils.d.ts +0 -0
- /package/publish/esm/{lib → helpers}/utils.js +0 -0
- /package/publish/esm/{src/index.d.ts → index.d.ts} +0 -0
- /package/publish/esm/{src/index.js → index.js} +0 -0
- /package/publish/esm/{src/types → types}/index.d.ts +0 -0
- /package/publish/esm/{src/types → types}/index.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momo-webplatform/mobase",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Mobase is the UI framework upon we build product experiences at MoMo.vn, base on Radix primitives, and Tailwind CSS.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "next dev",
|
|
@@ -17,13 +17,16 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
|
-
"publish"
|
|
21
|
-
"README.md"
|
|
20
|
+
"./publish/"
|
|
22
21
|
],
|
|
22
|
+
"main": "./publish/cjs/index.js",
|
|
23
|
+
"module": "./publish/esm/index.js",
|
|
24
|
+
"types": "./publish/esm/index.d.ts",
|
|
23
25
|
"author": "MoMo - Front-end dev",
|
|
24
26
|
"license": "MIT",
|
|
25
27
|
"homepage": "https://momo.vn/",
|
|
26
28
|
"dependencies": {
|
|
29
|
+
"@floating-ui/core": "^1.6.0",
|
|
27
30
|
"@floating-ui/react": "^0.26.2",
|
|
28
31
|
"@heroicons/react": "1.0.6",
|
|
29
32
|
"@radix-ui/primitive": "^1.0.1",
|
|
@@ -28,7 +28,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const AccordionPrimitive = __importStar(require("@radix-ui/react-accordion"));
|
|
30
30
|
const lucide_react_1 = require("lucide-react");
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
// const Accordion = AccordionPrimitive.Root;
|
|
33
33
|
const Accordion = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AccordionPrimitive.Root, { ref: ref, ...props })));
|
|
34
34
|
exports.Accordion = Accordion;
|
|
@@ -27,7 +27,7 @@ exports.AlertDescription = exports.AlertTitle = exports.Alert = void 0;
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
30
|
-
const utils_1 = require("@/
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
31
|
const alertVariants = (0, class_variance_authority_1.cva)("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", {
|
|
32
32
|
variants: {
|
|
33
33
|
variant: {
|
|
@@ -27,8 +27,8 @@ exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialogDescr
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const AlertDialogPrimitive = __importStar(require("@radix-ui/react-alert-dialog"));
|
|
30
|
-
const utils_1 = require("@/
|
|
31
|
-
const
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
|
+
const Button_1 = require("@/src/components/Button");
|
|
32
32
|
const AlertDialog = AlertDialogPrimitive.Root;
|
|
33
33
|
exports.AlertDialog = AlertDialog;
|
|
34
34
|
const AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
@@ -54,9 +54,9 @@ const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) =
|
|
|
54
54
|
exports.AlertDialogDescription = AlertDialogDescription;
|
|
55
55
|
AlertDialogDescription.displayName =
|
|
56
56
|
AlertDialogPrimitive.Description.displayName;
|
|
57
|
-
const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Action, { ref: ref, className: (0, utils_1.cn)((0,
|
|
57
|
+
const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Action, { ref: ref, className: (0, utils_1.cn)((0, Button_1.buttonVariants)(), "", className), ...props })));
|
|
58
58
|
exports.AlertDialogAction = AlertDialogAction;
|
|
59
59
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
60
|
-
const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Cancel, { ref: ref, className: (0, utils_1.cn)((0,
|
|
60
|
+
const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Cancel, { ref: ref, className: (0, utils_1.cn)((0, Button_1.buttonVariants)({ variant: "outline" }), "mt-2 sm:mt-0", className), ...props })));
|
|
61
61
|
exports.AlertDialogCancel = AlertDialogCancel;
|
|
62
62
|
AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
@@ -27,7 +27,7 @@ exports.AvatarFallback = exports.AvatarImage = exports.Avatar = void 0;
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const AvatarPrimitive = __importStar(require("@radix-ui/react-avatar"));
|
|
30
|
-
const utils_1 = require("@/
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
31
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
32
32
|
/* -------------------------------------------------------------------------------------------------
|
|
33
33
|
* AvatarVariants
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.badgeVariants = exports.Badge = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
6
|
-
const utils_1 = require("@/
|
|
6
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
7
7
|
const badgeVariants = (0, class_variance_authority_1.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold", {
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
@@ -31,8 +31,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
31
31
|
const React = __importStar(require("react"));
|
|
32
32
|
const react_slot_1 = require("@radix-ui/react-slot");
|
|
33
33
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
34
|
-
const utils_1 = require("@/
|
|
35
|
-
const SpinerIcon_1 = __importDefault(require("
|
|
34
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
35
|
+
const SpinerIcon_1 = __importDefault(require("@/src/foundation/SpinerIcon"));
|
|
36
36
|
// /dwd
|
|
37
37
|
const buttonVariants = (0, class_variance_authority_1.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent", {
|
|
38
38
|
variants: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Button = void 0;
|
|
3
|
+
exports.buttonVariants = exports.Button = void 0;
|
|
4
4
|
var Button_1 = require("./Button");
|
|
5
5
|
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
6
|
+
Object.defineProperty(exports, "buttonVariants", { enumerable: true, get: function () { return Button_1.buttonVariants; } });
|
|
@@ -4,8 +4,8 @@ exports.Calendar = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const lucide_react_1 = require("lucide-react");
|
|
6
6
|
const react_day_picker_1 = require("react-day-picker");
|
|
7
|
-
const utils_1 = require("@/
|
|
8
|
-
const
|
|
7
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
8
|
+
const Button_1 = require("@/src/components/Button");
|
|
9
9
|
function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
10
10
|
return ((0, jsx_runtime_1.jsx)(react_day_picker_1.DayPicker, { showOutsideDays: showOutsideDays, className: (0, utils_1.cn)("p-3", className), classNames: {
|
|
11
11
|
months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
|
|
@@ -13,7 +13,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
13
13
|
caption: "flex justify-center pt-1 relative items-center",
|
|
14
14
|
caption_label: "text-sm font-medium",
|
|
15
15
|
nav: "space-x-1 flex items-center",
|
|
16
|
-
nav_button: (0, utils_1.cn)((0,
|
|
16
|
+
nav_button: (0, utils_1.cn)((0, Button_1.buttonVariants)({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),
|
|
17
17
|
nav_button_previous: "absolute left-1",
|
|
18
18
|
nav_button_next: "absolute right-1",
|
|
19
19
|
table: "w-full border-collapse space-y-1",
|
|
@@ -21,7 +21,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
21
21
|
head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
|
|
22
22
|
row: "flex w-full mt-2",
|
|
23
23
|
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
|
|
24
|
-
day: (0, utils_1.cn)((0,
|
|
24
|
+
day: (0, utils_1.cn)((0, Button_1.buttonVariants)({ variant: "outline" }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
|
|
25
25
|
day_range_end: "day-range-end",
|
|
26
26
|
day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
|
|
27
27
|
day_today: "bg-accent text-accent-foreground",
|
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.CardContent = exports.CardDescription = exports.CardTitle = exports.CardFooter = exports.CardHeader = exports.Card = void 0;
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
|
-
const utils_1 = require("@/
|
|
29
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
30
30
|
const Card = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: (0, utils_1.cn)("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props })));
|
|
31
31
|
exports.Card = Card;
|
|
32
32
|
Card.displayName = "Card";
|
|
@@ -32,7 +32,7 @@ const lucide_react_1 = require("lucide-react");
|
|
|
32
32
|
const react_primitive_1 = require("@radix-ui/react-primitive");
|
|
33
33
|
const react_context_1 = require("@radix-ui/react-context");
|
|
34
34
|
const react_presence_1 = require("@radix-ui/react-presence");
|
|
35
|
-
const utils_1 = require("@/
|
|
35
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
36
36
|
/* -------------------------------------------------------------------------------------------------
|
|
37
37
|
* Checkbox
|
|
38
38
|
* -----------------------------------------------------------------------------------------------*/
|
|
@@ -28,7 +28,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const cmdk_1 = require("cmdk");
|
|
30
30
|
const lucide_react_1 = require("lucide-react");
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
const dialog_1 = require("~/src/components/Dialog/dialog");
|
|
33
33
|
const Command = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(cmdk_1.Command, { ref: ref, className: (0, utils_1.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", className), ...props })));
|
|
34
34
|
exports.Command = Command;
|
|
@@ -28,7 +28,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const DialogPrimitive = __importStar(require("@radix-ui/react-dialog"));
|
|
30
30
|
const lucide_react_1 = require("lucide-react");
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
const Dialog = DialogPrimitive.Root;
|
|
33
33
|
exports.Dialog = Dialog;
|
|
34
34
|
const DialogTrigger = DialogPrimitive.Trigger;
|
|
@@ -27,7 +27,7 @@ exports.DrawerDescription = exports.DrawerTitle = exports.DrawerFooter = exports
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const vaul_1 = require("vaul");
|
|
30
|
-
const utils_1 = require("@/
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
31
|
const Drawer = ({ shouldScaleBackground = true, ...props }) => ((0, jsx_runtime_1.jsx)(vaul_1.Drawer.Root, { shouldScaleBackground: shouldScaleBackground, ...props }));
|
|
32
32
|
exports.Drawer = Drawer;
|
|
33
33
|
Drawer.displayName = "Drawer";
|
|
@@ -28,7 +28,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const DropdownMenuPrimitive = __importStar(require("@radix-ui/react-dropdown-menu"));
|
|
30
30
|
const lucide_react_1 = require("lucide-react");
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
const DropdownMenu = DropdownMenuPrimitive.Root;
|
|
33
33
|
exports.DropdownMenu = DropdownMenu;
|
|
34
34
|
const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
@@ -28,7 +28,7 @@ exports.HoverCardContent = exports.HoverCardTrigger = exports.HoverCard = void 0
|
|
|
28
28
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
30
|
const HoverCardPrimitive = __importStar(require("@radix-ui/react-hover-card"));
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
const HoverCard = HoverCardPrimitive.Root;
|
|
33
33
|
exports.HoverCard = HoverCard;
|
|
34
34
|
const HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
@@ -28,7 +28,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const react_slot_1 = require("@radix-ui/react-slot");
|
|
30
30
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
// /dwd
|
|
33
33
|
const iconButtonVariants = (0, class_variance_authority_1.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent", {
|
|
34
34
|
variants: {
|
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.Input = void 0;
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
|
-
const utils_1 = require("@/
|
|
29
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
30
30
|
const Input = React.forwardRef(({ className, type, ...props }, ref) => {
|
|
31
31
|
return ((0, jsx_runtime_1.jsx)("input", { type: type, className: (0, utils_1.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className), ref: ref, ...props }));
|
|
32
32
|
});
|
|
@@ -28,7 +28,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const LabelPrimitive = __importStar(require("@radix-ui/react-label"));
|
|
30
30
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
const labelVariants = (0, class_variance_authority_1.cva)("text-sm font-normal leading-none disabled:opacity-50 text-gray-900 peer-disabled:cursor-not-allowed peer-disabled:opacity-50");
|
|
33
33
|
const Label = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(LabelPrimitive.Root, { ref: ref, className: (0, utils_1.cn)(labelVariants(), className), ...props })));
|
|
34
34
|
exports.Label = Label;
|
|
@@ -29,7 +29,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
30
|
const MenubarPrimitive = __importStar(require("@radix-ui/react-menubar"));
|
|
31
31
|
const lucide_react_1 = require("lucide-react");
|
|
32
|
-
const utils_1 = require("@/
|
|
32
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
33
33
|
const MenubarMenu = MenubarPrimitive.Menu;
|
|
34
34
|
exports.MenubarMenu = MenubarMenu;
|
|
35
35
|
const MenubarGroup = MenubarPrimitive.Group;
|
|
@@ -33,7 +33,7 @@ const NavigationMenuPrimitive = __importStar(require("@radix-ui/react-navigation
|
|
|
33
33
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
34
34
|
const lucide_react_1 = require("lucide-react");
|
|
35
35
|
const link_1 = __importDefault(require("next/link"));
|
|
36
|
-
const utils_1 = require("@/
|
|
36
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
37
37
|
const NavigationMenu = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(NavigationMenuPrimitive.Root, { ref: ref, className: (0, utils_1.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center", className), ...props, children: [children, (0, jsx_runtime_1.jsx)(NavigationMenuViewport, {})] })));
|
|
38
38
|
exports.NavigationMenu = NavigationMenu;
|
|
39
39
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
@@ -27,7 +27,7 @@ exports.PopoverContent = exports.PopoverTrigger = exports.Popover = void 0;
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const PopoverPrimitive = __importStar(require("@radix-ui/react-popover"));
|
|
30
|
-
const utils_1 = require("@/
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
31
|
const Popover = PopoverPrimitive.Root;
|
|
32
32
|
exports.Popover = Popover;
|
|
33
33
|
const PopoverTrigger = PopoverPrimitive.Trigger;
|
|
@@ -27,7 +27,7 @@ exports.Progress = void 0;
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const ProgressPrimitive = __importStar(require("@radix-ui/react-progress"));
|
|
30
|
-
const utils_1 = require("@/
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
31
|
const Progress = React.forwardRef(({ className, value, ...props }, ref) => ((0, jsx_runtime_1.jsx)(ProgressPrimitive.Root, { ref: ref, className: (0, utils_1.cn)("relative h-4 w-full overflow-hidden rounded-full bg-secondary", className), ...props, children: (0, jsx_runtime_1.jsx)(ProgressPrimitive.Indicator, { className: "h-full w-full flex-1 bg-primary transition-all", style: { transform: `translateX(-${100 - (value || 0)}%)` } }) })));
|
|
32
32
|
exports.Progress = Progress;
|
|
33
33
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
@@ -31,7 +31,7 @@ const RadioGroupPrimitive = __importStar(require("@radix-ui/react-radio-group"))
|
|
|
31
31
|
const lucide_react_1 = require("lucide-react");
|
|
32
32
|
const react_context_1 = require("@radix-ui/react-context");
|
|
33
33
|
const react_roving_focus_1 = require("@radix-ui/react-roving-focus");
|
|
34
|
-
const utils_1 = require("@/
|
|
34
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
35
35
|
const Radio_1 = require("./Radio");
|
|
36
36
|
/* -------------------------------------------------------------------------------------------------
|
|
37
37
|
* RadioGroup
|
|
@@ -28,7 +28,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const solid_1 = require("@heroicons/react/solid");
|
|
30
30
|
const SelectPrimitive = __importStar(require("@radix-ui/react-select"));
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
const Select = SelectPrimitive.Root;
|
|
33
33
|
exports.Select = Select;
|
|
34
34
|
const SelectGroup = SelectPrimitive.Group;
|
|
@@ -29,7 +29,7 @@ const React = __importStar(require("react"));
|
|
|
29
29
|
const SheetPrimitive = __importStar(require("@radix-ui/react-dialog"));
|
|
30
30
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
31
31
|
const lucide_react_1 = require("lucide-react");
|
|
32
|
-
const utils_1 = require("@/
|
|
32
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
33
33
|
const Sheet = SheetPrimitive.Root;
|
|
34
34
|
exports.Sheet = Sheet;
|
|
35
35
|
const SheetTrigger = SheetPrimitive.Trigger;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Skeleton = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const utils_1 = require("@/
|
|
5
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
6
6
|
function Skeleton({ className, ...props }) {
|
|
7
7
|
return ((0, jsx_runtime_1.jsx)("div", { className: (0, utils_1.cn)("animate-pulse rounded-md bg-muted", className), ...props }));
|
|
8
8
|
}
|
|
@@ -27,7 +27,7 @@ exports.Slider = void 0;
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const SliderPrimitive = __importStar(require("@radix-ui/react-slider"));
|
|
30
|
-
const utils_1 = require("@/
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
31
|
const Slider = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(SliderPrimitive.Root, { ref: ref, className: (0, utils_1.cn)("relative flex w-full touch-none select-none items-center", className), ...props, children: [(0, jsx_runtime_1.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: (0, jsx_runtime_1.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }), (0, jsx_runtime_1.jsx)(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })] })));
|
|
32
32
|
exports.Slider = Slider;
|
|
33
33
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
@@ -30,7 +30,7 @@ const React = __importStar(require("react"));
|
|
|
30
30
|
const SwitchPrimitives = __importStar(require("@radix-ui/react-switch"));
|
|
31
31
|
const react_context_1 = require("@radix-ui/react-context");
|
|
32
32
|
const react_primitive_1 = require("@radix-ui/react-primitive");
|
|
33
|
-
const utils_1 = require("@/
|
|
33
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
34
34
|
const SWITCH_NAME = "Switch";
|
|
35
35
|
_a = (0, react_context_1.createContextScope)(SWITCH_NAME), exports.createSwitchContext = _a[0], exports.createSwitchScope = _a[1];
|
|
36
36
|
_b = (0, exports.createSwitchContext)(SWITCH_NAME), exports.SwitchProvider = _b[0], exports.useSwitchContext = _b[1];
|
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.TableCaption = exports.TableCell = exports.TableRow = exports.TableHead = exports.TableFooter = exports.TableBody = exports.TableHeader = exports.Table = void 0;
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
|
-
const utils_1 = require("@/
|
|
29
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
30
30
|
const Table = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("div", { className: "relative w-full overflow-auto", children: (0, jsx_runtime_1.jsx)("table", { ref: ref, className: (0, utils_1.cn)("w-full caption-bottom text-sm", className), ...props }) })));
|
|
31
31
|
exports.Table = Table;
|
|
32
32
|
Table.displayName = "Table";
|
|
@@ -28,7 +28,7 @@ exports.TabsContent = exports.TabsTrigger = exports.TabsList = exports.Tabs = vo
|
|
|
28
28
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
30
|
const TabsPrimitive = __importStar(require("@radix-ui/react-tabs"));
|
|
31
|
-
const utils_1 = require("@/
|
|
31
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
32
32
|
const Tabs = TabsPrimitive.Root;
|
|
33
33
|
exports.Tabs = Tabs;
|
|
34
34
|
const TabsList = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(TabsPrimitive.List, { ref: ref, className: (0, utils_1.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", className), ...props })));
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Textarea = void 0;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const utils_1 = require("@/
|
|
8
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
9
9
|
const react_1 = __importDefault(require("react"));
|
|
10
10
|
const Textarea = react_1.default.forwardRef(({ className, ...props }, ref) => {
|
|
11
11
|
return ((0, jsx_runtime_1.jsx)("textarea", { className: (0, utils_1.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className), ref: ref, ...props }));
|
|
@@ -29,7 +29,7 @@ const React = __importStar(require("react"));
|
|
|
29
29
|
const ToastPrimitives = __importStar(require("@radix-ui/react-toast"));
|
|
30
30
|
const class_variance_authority_1 = require("class-variance-authority");
|
|
31
31
|
const lucide_react_1 = require("lucide-react");
|
|
32
|
-
const utils_1 = require("@/
|
|
32
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
33
33
|
const ToastProvider = ToastPrimitives.Provider;
|
|
34
34
|
exports.ToastProvider = ToastProvider;
|
|
35
35
|
const ToastViewport = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(ToastPrimitives.Viewport, { ref: ref, className: (0, utils_1.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", className), ...props })));
|
|
@@ -27,7 +27,7 @@ exports.TooltipArrow = exports.TooltipProvider = exports.TooltipContent = export
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const React = __importStar(require("react"));
|
|
29
29
|
const TooltipPrimitive = __importStar(require("@radix-ui/react-tooltip"));
|
|
30
|
-
const utils_1 = require("@/
|
|
30
|
+
const utils_1 = require("@/src/helpers/utils");
|
|
31
31
|
const TooltipProvider = TooltipPrimitive.Provider;
|
|
32
32
|
exports.TooltipProvider = TooltipProvider;
|
|
33
33
|
const Tooltip = TooltipPrimitive.Root;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const SpinerIcon = ({ className }) => {
|
|
5
|
+
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "none", className: `${className}`, children: [(0, jsx_runtime_1.jsx)("path", { opacity: "0.9", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M15 9H19C19.55 9 20 9.45 20 10C20 10.55 19.55 11 19 11H15C14.45 11 14 10.55 14 10C14 9.45 14.45 9 15 9Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.2", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.8301 11.634L18.2942 13.634C18.7706 13.909 18.9353 14.5237 18.6603 15C18.3853 15.4763 17.7706 15.641 17.2942 15.366L13.8301 13.366C13.3538 13.091 13.1891 12.4763 13.4641 12C13.7391 11.5237 14.3538 11.359 14.8301 11.634Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.25", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.366 13.8301L15.366 17.2942C15.641 17.7706 15.4763 18.3853 14.9999 18.6603C14.5236 18.9353 13.9089 18.7706 13.6339 18.2942L11.6339 14.8301C11.3589 14.3538 11.5236 13.7391 11.9999 13.4641C12.4763 13.1891 13.091 13.3538 13.366 13.8301Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.3", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11 15V19C11 19.55 10.55 20 10 20C9.45 20 9 19.55 9 19V15C9 14.45 9.45 14 10 14C10.55 14 11 14.45 11 15Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.35", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.36597 14.8301L6.36597 18.2942C6.09097 18.7706 5.47626 18.9353 4.99994 18.6603C4.52363 18.3853 4.35892 17.7706 4.63392 17.2942L6.63392 13.8301C6.90892 13.3538 7.52363 13.1891 7.99994 13.4641C8.47626 13.7391 8.64097 14.3538 8.36597 14.8301Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.4", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.16986 13.366L2.70576 15.366C2.22945 15.641 1.61474 15.4763 1.33974 15C1.06474 14.5237 1.22945 13.909 1.70576 13.634L5.16986 11.634C5.64618 11.359 6.26089 11.5237 6.53589 12C6.81089 12.4763 6.64618 13.091 6.16986 13.366Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.45", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5 11H1C0.45 11 0 10.55 0 10C0 9.45 0.45 9 1 9H5C5.55 9 6 9.45 6 10C6 10.55 5.55 11 5 11Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.5", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.16986 8.36603L1.70576 6.36603C1.22945 6.09103 1.06474 5.47632 1.33974 5C1.61474 4.52369 2.22945 4.35898 2.70576 4.63398L6.16986 6.63398C6.64618 6.90898 6.81089 7.52369 6.53589 8C6.26089 8.47632 5.64618 8.64103 5.16986 8.36603Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.55", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.63403 6.16986L4.63403 2.70576C4.35903 2.22945 4.52374 1.61474 5.00006 1.33974C5.47637 1.06474 6.09108 1.22945 6.36608 1.70576L8.36608 5.16986C8.64108 5.64618 8.47637 6.26089 8.00006 6.53589C7.52374 6.81089 6.90903 6.64618 6.63403 6.16986Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.65", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9 5L9 1C9 0.45 9.45 0 10 0C10.55 0 11 0.45 11 1V5C11 5.55 10.55 6 10 6C9.45 6 9 5.55 9 5Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.75", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.634 5.16986L13.634 1.70576C13.909 1.22945 14.5237 1.06474 15.0001 1.33974C15.4764 1.61474 15.6411 2.22945 15.3661 2.70576L13.3661 6.16986C13.0911 6.64618 12.4764 6.81089 12.0001 6.53589C11.5237 6.26089 11.359 5.64618 11.634 5.16986Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.85", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.8301 6.63397L17.2942 4.63397C17.7706 4.35897 18.3853 4.52368 18.6603 5C18.9353 5.47631 18.7706 6.09102 18.2942 6.36602L14.8301 8.36602C14.3538 8.64102 13.7391 8.47631 13.4641 8C13.1891 7.52368 13.3538 6.90897 13.8301 6.63397Z", fill: "currentColor" })] }));
|
|
6
|
+
};
|
|
7
|
+
exports.default = SpinerIcon;
|