@alkimi.org/ui-kit 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.github.md +166 -100
- package/README.md +182 -97
- package/README.npm.md +182 -97
- package/dist/HelveticaNowDisplay-Medium-CXVMKHU3.ttf +0 -0
- package/dist/HelveticaNowDisplay-Regular-O4IVE4NP.ttf +0 -0
- package/dist/chunk-2XHWLYXD.mjs +3 -0
- package/dist/chunk-2XHWLYXD.mjs.map +1 -0
- package/dist/chunk-74PDRKS7.js +3 -0
- package/dist/chunk-74PDRKS7.js.map +1 -0
- package/dist/chunk-BCAQUOTY.mjs +3 -0
- package/dist/chunk-BCAQUOTY.mjs.map +1 -0
- package/dist/chunk-FUYXCJOQ.js +3 -0
- package/dist/chunk-FUYXCJOQ.js.map +1 -0
- package/dist/chunk-IK3C7KV5.mjs +3 -0
- package/dist/chunk-IK3C7KV5.mjs.map +1 -0
- package/dist/chunk-JNEIOQGF.js +3 -0
- package/dist/chunk-JNEIOQGF.js.map +1 -0
- package/dist/chunk-R74QDO2Z.js +3 -0
- package/dist/chunk-R74QDO2Z.js.map +1 -0
- package/dist/chunk-S5TKCF6T.mjs +3 -0
- package/dist/chunk-S5TKCF6T.mjs.map +1 -0
- package/dist/chunk-SVWC2KRP.js +3 -0
- package/dist/chunk-SVWC2KRP.js.map +1 -0
- package/dist/chunk-WF73K6X2.mjs +3 -0
- package/dist/chunk-WF73K6X2.mjs.map +1 -0
- package/dist/chunk-WJXJQZGO.js +3 -0
- package/dist/chunk-WJXJQZGO.js.map +1 -0
- package/dist/chunk-XNHJPYUV.mjs +3 -0
- package/dist/chunk-XNHJPYUV.mjs.map +1 -0
- package/dist/components/GlitchLink.js +2 -88
- package/dist/components/GlitchLink.js.map +1 -1
- package/dist/components/GlitchLink.mjs +1 -57
- package/dist/components/GlitchLink.mjs.map +1 -1
- package/dist/components/PixelLoad.js +2 -181
- package/dist/components/PixelLoad.js.map +1 -1
- package/dist/components/PixelLoad.mjs +1 -146
- package/dist/components/PixelLoad.mjs.map +1 -1
- package/dist/components/TextDecoder.js +2 -284
- package/dist/components/TextDecoder.js.map +1 -1
- package/dist/components/TextDecoder.mjs +1 -257
- package/dist/components/TextDecoder.mjs.map +1 -1
- package/dist/components/button.d.mts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +2 -108
- package/dist/components/button.js.map +1 -1
- package/dist/components/button.mjs +2 -73
- package/dist/components/button.mjs.map +1 -1
- package/dist/components/card.js +2 -114
- package/dist/components/card.js.map +1 -1
- package/dist/components/card.mjs +2 -75
- package/dist/components/card.mjs.map +1 -1
- package/dist/components/tabs.d.mts +9 -0
- package/dist/components/tabs.d.ts +9 -0
- package/dist/components/tabs.js +3 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/tabs.mjs +3 -0
- package/dist/components/tabs.mjs.map +1 -0
- package/dist/fonts/fonts/HelveticaNowDisplay-Medium.ttf +0 -0
- package/dist/fonts/fonts/HelveticaNowDisplay-Regular.ttf +0 -0
- package/dist/index.css +2 -807
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +6 -9
- package/dist/index.d.ts +6 -9
- package/dist/index.js +2 -598
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -563
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +2 -807
- package/dist/styles.css.map +1 -1
- package/package.json +18 -40
- package/dist/lib/utils.d.mts +0 -5
- package/dist/lib/utils.d.ts +0 -5
- package/dist/lib/utils.js +0 -36
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/utils.mjs +0 -12
- package/dist/lib/utils.mjs.map +0 -1
|
@@ -1,109 +1,3 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
|
|
31
|
-
// src/components/button.tsx
|
|
32
|
-
var button_exports = {};
|
|
33
|
-
__export(button_exports, {
|
|
34
|
-
Button: () => Button,
|
|
35
|
-
buttonVariants: () => buttonVariants
|
|
36
|
-
});
|
|
37
|
-
module.exports = __toCommonJS(button_exports);
|
|
38
|
-
var React = __toESM(require("react"));
|
|
39
|
-
var import_react_slot = require("@radix-ui/react-slot");
|
|
40
|
-
var import_class_variance_authority = require("class-variance-authority");
|
|
41
|
-
|
|
42
|
-
// src/lib/utils.ts
|
|
43
|
-
var import_clsx = require("clsx");
|
|
44
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
45
|
-
function cn(...inputs) {
|
|
46
|
-
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// src/components/button.tsx
|
|
50
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
51
|
-
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
52
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-3xl font-medium 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",
|
|
53
|
-
{
|
|
54
|
-
variants: {
|
|
55
|
-
variant: {
|
|
56
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
57
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
58
|
-
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
59
|
-
secondary: "bg-secondary/80 text-secondary-foreground hover:bg-secondary",
|
|
60
|
-
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
61
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
62
|
-
},
|
|
63
|
-
size: {
|
|
64
|
-
default: "h-9 px-4 py-2",
|
|
65
|
-
sm: "h-8 text-sm px-3 py-2",
|
|
66
|
-
lg: "h-10 px-8 py-2",
|
|
67
|
-
icon: "h-9 w-9"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
defaultVariants: {
|
|
71
|
-
variant: "default",
|
|
72
|
-
size: "default"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
var Button = React.forwardRef(
|
|
77
|
-
({
|
|
78
|
-
className,
|
|
79
|
-
variant,
|
|
80
|
-
size,
|
|
81
|
-
asChild = false,
|
|
82
|
-
loading = false,
|
|
83
|
-
icon,
|
|
84
|
-
...props
|
|
85
|
-
}, ref) => {
|
|
86
|
-
const Comp = asChild ? import_react_slot.Slot : "button";
|
|
87
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
88
|
-
Comp,
|
|
89
|
-
{
|
|
90
|
-
className: cn(buttonVariants({ variant, size, className })),
|
|
91
|
-
ref,
|
|
92
|
-
disabled: loading || props.disabled,
|
|
93
|
-
...props,
|
|
94
|
-
children: [
|
|
95
|
-
loading && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mr-2 h-4 w-4 animate-spin rounded-full border border-primary-foreground border-t-transparent" }),
|
|
96
|
-
!loading && icon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "mr-2", children: icon }),
|
|
97
|
-
props.children
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
);
|
|
103
|
-
Button.displayName = "Button";
|
|
104
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
105
|
-
0 && (module.exports = {
|
|
106
|
-
Button,
|
|
107
|
-
buttonVariants
|
|
108
|
-
});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
var _chunkWJXJQZGOjs = require('../chunk-WJXJQZGO.js');require('../chunk-FUYXCJOQ.js');exports.Button = _chunkWJXJQZGOjs.b; exports.buttonVariants = _chunkWJXJQZGOjs.a;
|
|
109
3
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["/Users/admin/Desktop/PROJECTS/alkimi-ui-kit/dist/components/button.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ,uDAAqC,gCAA6B,iFAAwC","file":"/Users/admin/Desktop/PROJECTS/alkimi-ui-kit/dist/components/button.js"}
|
|
@@ -1,74 +1,3 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
// src/components/button.tsx
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
6
|
-
import { cva } from "class-variance-authority";
|
|
7
|
-
|
|
8
|
-
// src/lib/utils.ts
|
|
9
|
-
import { clsx } from "clsx";
|
|
10
|
-
import { twMerge } from "tailwind-merge";
|
|
11
|
-
function cn(...inputs) {
|
|
12
|
-
return twMerge(clsx(inputs));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// src/components/button.tsx
|
|
16
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
var buttonVariants = cva(
|
|
18
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-3xl font-medium 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",
|
|
19
|
-
{
|
|
20
|
-
variants: {
|
|
21
|
-
variant: {
|
|
22
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
23
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
24
|
-
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
25
|
-
secondary: "bg-secondary/80 text-secondary-foreground hover:bg-secondary",
|
|
26
|
-
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
27
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
28
|
-
},
|
|
29
|
-
size: {
|
|
30
|
-
default: "h-9 px-4 py-2",
|
|
31
|
-
sm: "h-8 text-sm px-3 py-2",
|
|
32
|
-
lg: "h-10 px-8 py-2",
|
|
33
|
-
icon: "h-9 w-9"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
defaultVariants: {
|
|
37
|
-
variant: "default",
|
|
38
|
-
size: "default"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
var Button = React.forwardRef(
|
|
43
|
-
({
|
|
44
|
-
className,
|
|
45
|
-
variant,
|
|
46
|
-
size,
|
|
47
|
-
asChild = false,
|
|
48
|
-
loading = false,
|
|
49
|
-
icon,
|
|
50
|
-
...props
|
|
51
|
-
}, ref) => {
|
|
52
|
-
const Comp = asChild ? Slot : "button";
|
|
53
|
-
return /* @__PURE__ */ jsxs(
|
|
54
|
-
Comp,
|
|
55
|
-
{
|
|
56
|
-
className: cn(buttonVariants({ variant, size, className })),
|
|
57
|
-
ref,
|
|
58
|
-
disabled: loading || props.disabled,
|
|
59
|
-
...props,
|
|
60
|
-
children: [
|
|
61
|
-
loading && /* @__PURE__ */ jsx("div", { className: "mr-2 h-4 w-4 animate-spin rounded-full border border-primary-foreground border-t-transparent" }),
|
|
62
|
-
!loading && icon && /* @__PURE__ */ jsx("span", { className: "mr-2", children: icon }),
|
|
63
|
-
props.children
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
);
|
|
69
|
-
Button.displayName = "Button";
|
|
70
|
-
export {
|
|
71
|
-
Button,
|
|
72
|
-
buttonVariants
|
|
73
|
-
};
|
|
1
|
+
"use client";
|
|
2
|
+
import{a,b}from"../chunk-XNHJPYUV.mjs";import"../chunk-S5TKCF6T.mjs";export{b as Button,a as buttonVariants};
|
|
74
3
|
//# sourceMappingURL=button.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/components/card.js
CHANGED
|
@@ -1,115 +1,3 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
"
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
|
|
31
|
-
// src/components/card.tsx
|
|
32
|
-
var card_exports = {};
|
|
33
|
-
__export(card_exports, {
|
|
34
|
-
Card: () => Card,
|
|
35
|
-
CardContent: () => CardContent,
|
|
36
|
-
CardDescription: () => CardDescription,
|
|
37
|
-
CardFooter: () => CardFooter,
|
|
38
|
-
CardHeader: () => CardHeader,
|
|
39
|
-
CardTitle: () => CardTitle
|
|
40
|
-
});
|
|
41
|
-
module.exports = __toCommonJS(card_exports);
|
|
42
|
-
var React = __toESM(require("react"));
|
|
43
|
-
|
|
44
|
-
// src/lib/utils.ts
|
|
45
|
-
var import_clsx = require("clsx");
|
|
46
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
47
|
-
function cn(...inputs) {
|
|
48
|
-
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// src/components/card.tsx
|
|
52
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
53
|
-
var Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
54
|
-
"div",
|
|
55
|
-
{
|
|
56
|
-
ref,
|
|
57
|
-
className: cn(
|
|
58
|
-
"rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
59
|
-
className
|
|
60
|
-
),
|
|
61
|
-
...props
|
|
62
|
-
}
|
|
63
|
-
));
|
|
64
|
-
Card.displayName = "Card";
|
|
65
|
-
var CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
66
|
-
"div",
|
|
67
|
-
{
|
|
68
|
-
ref,
|
|
69
|
-
className: cn("flex flex-col space-y-1.5 p-6", className),
|
|
70
|
-
...props
|
|
71
|
-
}
|
|
72
|
-
));
|
|
73
|
-
CardHeader.displayName = "CardHeader";
|
|
74
|
-
var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
75
|
-
"h3",
|
|
76
|
-
{
|
|
77
|
-
ref,
|
|
78
|
-
className: cn(
|
|
79
|
-
"text-2xl font-semibold leading-none tracking-tight",
|
|
80
|
-
className
|
|
81
|
-
),
|
|
82
|
-
...props
|
|
83
|
-
}
|
|
84
|
-
));
|
|
85
|
-
CardTitle.displayName = "CardTitle";
|
|
86
|
-
var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
87
|
-
"p",
|
|
88
|
-
{
|
|
89
|
-
ref,
|
|
90
|
-
className: cn("text-sm text-muted-foreground", className),
|
|
91
|
-
...props
|
|
92
|
-
}
|
|
93
|
-
));
|
|
94
|
-
CardDescription.displayName = "CardDescription";
|
|
95
|
-
var CardContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
96
|
-
CardContent.displayName = "CardContent";
|
|
97
|
-
var CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
98
|
-
"div",
|
|
99
|
-
{
|
|
100
|
-
ref,
|
|
101
|
-
className: cn("flex items-center p-6 pt-0", className),
|
|
102
|
-
...props
|
|
103
|
-
}
|
|
104
|
-
));
|
|
105
|
-
CardFooter.displayName = "CardFooter";
|
|
106
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
107
|
-
0 && (module.exports = {
|
|
108
|
-
Card,
|
|
109
|
-
CardContent,
|
|
110
|
-
CardDescription,
|
|
111
|
-
CardFooter,
|
|
112
|
-
CardHeader,
|
|
113
|
-
CardTitle
|
|
114
|
-
});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
+
var _chunkFUYXCJOQjs = require('../chunk-FUYXCJOQ.js');var _react = require('react'); var d = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var i=d.forwardRef(({className:e,...t},a)=>_jsxruntime.jsx.call(void 0, "div",{ref:a,className:_chunkFUYXCJOQjs.a.call(void 0, "rounded-lg border bg-transparent text-card-foreground shadow-sm",e),...t}));i.displayName="Card";var n=d.forwardRef(({className:e,...t},a)=>_jsxruntime.jsx.call(void 0, "div",{ref:a,className:_chunkFUYXCJOQjs.a.call(void 0, "flex flex-col space-y-1.5 p-6",e),...t}));n.displayName="CardHeader";var o=d.forwardRef(({className:e,...t},a)=>_jsxruntime.jsx.call(void 0, "h3",{ref:a,className:_chunkFUYXCJOQjs.a.call(void 0, "text-2xl font-semibold leading-none tracking-tight",e),...t}));o.displayName="CardTitle";var l=d.forwardRef(({className:e,...t},a)=>_jsxruntime.jsx.call(void 0, "p",{ref:a,className:_chunkFUYXCJOQjs.a.call(void 0, "text-sm text-muted-foreground",e),...t}));l.displayName="CardDescription";var c=d.forwardRef(({className:e,...t},a)=>_jsxruntime.jsx.call(void 0, "div",{ref:a,className:_chunkFUYXCJOQjs.a.call(void 0, "p-6 pt-0",e),...t}));c.displayName="CardContent";var m=d.forwardRef(({className:e,...t},a)=>_jsxruntime.jsx.call(void 0, "div",{ref:a,className:_chunkFUYXCJOQjs.a.call(void 0, "flex items-center p-6 pt-0",e),...t}));m.displayName="CardFooter";exports.Card = i; exports.CardContent = c; exports.CardDescription = l; exports.CardFooter = m; exports.CardHeader = n; exports.CardTitle = o;
|
|
115
3
|
//# sourceMappingURL=card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["/Users/admin/Desktop/PROJECTS/alkimi-ui-kit/dist/components/card.js","../../src/components/card.tsx"],"names":["Card","className","props","ref","jsx","cn","CardHeader","CardTitle","CardDescription","CardContent","CardFooter"],"mappings":"AAAA,uWAAY;AACZ,uDAAwC,uECDjB,+CAQrB,IAJIA,CAAAA,CAAa,CAAA,CAAA,UAAA,CAGjB,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1BC,6BAAAA,KAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,gCAAAA,iEACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CACD,CAAA,CACDF,CAAAA,CAAK,WAAA,CAAc,MAAA,CAEnB,IAAMM,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAGvB,CAAC,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1BC,6BAAAA,KAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,gCAAAA,+BAAG,CAAiCJ,CAAS,CAAA,CACvD,GAAGC,CAAAA,CACN,CACD,CAAA,CACDI,CAAAA,CAAW,WAAA,CAAc,YAAA,CAEzB,IAAMC,CAAAA,CAAkB,CAAA,CAAA,UAAA,CAGtB,CAAC,CAAE,SAAA,CAAAN,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1BC,6BAAAA,IAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,gCAAAA,oDACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CACD,CAAA,CACDK,CAAAA,CAAU,WAAA,CAAc,WAAA,CAExB,IAAMC,CAAAA,CAAwB,CAAA,CAAA,UAAA,CAG5B,CAAC,CAAE,SAAA,CAAAP,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1BC,6BAAAA,GAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,gCAAAA,+BAAG,CAAiCJ,CAAS,CAAA,CACvD,GAAGC,CAAAA,CACN,CACD,CAAA,CACDM,CAAAA,CAAgB,WAAA,CAAc,iBAAA,CAE9B,IAAMC,CAAAA,CAAoB,CAAA,CAAA,UAAA,CAGxB,CAAC,CAAE,SAAA,CAAAR,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1BC,6BAAAA,KAAC,CAAA,CAAI,GAAA,CAAKD,CAAAA,CAAK,SAAA,CAAWE,gCAAAA,UAAG,CAAYJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CACjE,CAAA,CACDO,CAAAA,CAAY,WAAA,CAAc,aAAA,CAE1B,IAAMC,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAGvB,CAAC,CAAE,SAAA,CAAAT,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1BC,6BAAAA,KAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,gCAAAA,4BAAG,CAA8BJ,CAAS,CAAA,CACpD,GAAGC,CAAAA,CACN,CACD,CAAA,CACDQ,CAAAA,CAAW,WAAA,CAAc,YAAA,CAAA,8IAAA","file":"/Users/admin/Desktop/PROJECTS/alkimi-ui-kit/dist/components/card.js","sourcesContent":[null,"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Card = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-lg border bg-transparent text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n))\nCard.displayName = \"Card\"\n\nconst CardHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6\", className)}\n {...props}\n />\n))\nCardHeader.displayName = \"CardHeader\"\n\nconst CardTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\n \"text-2xl font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n))\nCardTitle.displayName = \"CardTitle\"\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nCardDescription.displayName = \"CardDescription\"\n\nconst CardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n))\nCardContent.displayName = \"CardContent\"\n\nconst CardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n))\nCardFooter.displayName = \"CardFooter\"\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n"]}
|
package/dist/components/card.mjs
CHANGED
|
@@ -1,76 +1,3 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
// src/components/card.tsx
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
|
|
6
|
-
// src/lib/utils.ts
|
|
7
|
-
import { clsx } from "clsx";
|
|
8
|
-
import { twMerge } from "tailwind-merge";
|
|
9
|
-
function cn(...inputs) {
|
|
10
|
-
return twMerge(clsx(inputs));
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// src/components/card.tsx
|
|
14
|
-
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
var Card = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
ref,
|
|
19
|
-
className: cn(
|
|
20
|
-
"rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
21
|
-
className
|
|
22
|
-
),
|
|
23
|
-
...props
|
|
24
|
-
}
|
|
25
|
-
));
|
|
26
|
-
Card.displayName = "Card";
|
|
27
|
-
var CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
28
|
-
"div",
|
|
29
|
-
{
|
|
30
|
-
ref,
|
|
31
|
-
className: cn("flex flex-col space-y-1.5 p-6", className),
|
|
32
|
-
...props
|
|
33
|
-
}
|
|
34
|
-
));
|
|
35
|
-
CardHeader.displayName = "CardHeader";
|
|
36
|
-
var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
37
|
-
"h3",
|
|
38
|
-
{
|
|
39
|
-
ref,
|
|
40
|
-
className: cn(
|
|
41
|
-
"text-2xl font-semibold leading-none tracking-tight",
|
|
42
|
-
className
|
|
43
|
-
),
|
|
44
|
-
...props
|
|
45
|
-
}
|
|
46
|
-
));
|
|
47
|
-
CardTitle.displayName = "CardTitle";
|
|
48
|
-
var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
49
|
-
"p",
|
|
50
|
-
{
|
|
51
|
-
ref,
|
|
52
|
-
className: cn("text-sm text-muted-foreground", className),
|
|
53
|
-
...props
|
|
54
|
-
}
|
|
55
|
-
));
|
|
56
|
-
CardDescription.displayName = "CardDescription";
|
|
57
|
-
var CardContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
58
|
-
CardContent.displayName = "CardContent";
|
|
59
|
-
var CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
ref,
|
|
63
|
-
className: cn("flex items-center p-6 pt-0", className),
|
|
64
|
-
...props
|
|
65
|
-
}
|
|
66
|
-
));
|
|
67
|
-
CardFooter.displayName = "CardFooter";
|
|
68
|
-
export {
|
|
69
|
-
Card,
|
|
70
|
-
CardContent,
|
|
71
|
-
CardDescription,
|
|
72
|
-
CardFooter,
|
|
73
|
-
CardHeader,
|
|
74
|
-
CardTitle
|
|
75
|
-
};
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as r}from"../chunk-S5TKCF6T.mjs";import*as d from"react";import{jsx as s}from"react/jsx-runtime";var i=d.forwardRef(({className:e,...t},a)=>s("div",{ref:a,className:r("rounded-lg border bg-transparent text-card-foreground shadow-sm",e),...t}));i.displayName="Card";var n=d.forwardRef(({className:e,...t},a)=>s("div",{ref:a,className:r("flex flex-col space-y-1.5 p-6",e),...t}));n.displayName="CardHeader";var o=d.forwardRef(({className:e,...t},a)=>s("h3",{ref:a,className:r("text-2xl font-semibold leading-none tracking-tight",e),...t}));o.displayName="CardTitle";var l=d.forwardRef(({className:e,...t},a)=>s("p",{ref:a,className:r("text-sm text-muted-foreground",e),...t}));l.displayName="CardDescription";var c=d.forwardRef(({className:e,...t},a)=>s("div",{ref:a,className:r("p-6 pt-0",e),...t}));c.displayName="CardContent";var m=d.forwardRef(({className:e,...t},a)=>s("div",{ref:a,className:r("flex items-center p-6 pt-0",e),...t}));m.displayName="CardFooter";export{i as Card,c as CardContent,l as CardDescription,m as CardFooter,n as CardHeader,o as CardTitle};
|
|
76
3
|
//# sourceMappingURL=card.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/card.tsx"
|
|
1
|
+
{"version":3,"sources":["../../src/components/card.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Card = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-lg border bg-transparent text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n))\nCard.displayName = \"Card\"\n\nconst CardHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6\", className)}\n {...props}\n />\n))\nCardHeader.displayName = \"CardHeader\"\n\nconst CardTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\n \"text-2xl font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n))\nCardTitle.displayName = \"CardTitle\"\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nCardDescription.displayName = \"CardDescription\"\n\nconst CardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n))\nCardContent.displayName = \"CardContent\"\n\nconst CardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n))\nCardFooter.displayName = \"CardFooter\"\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n"],"mappings":";0CAAA,UAAYA,MAAW,QAQrB,cAAAC,MAAA,oBAJF,IAAMC,EAAa,aAGjB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,OACC,IAAKI,EACL,UAAWC,EACT,kEACAH,CACF,EACC,GAAGC,EACN,CACD,EACDF,EAAK,YAAc,OAEnB,IAAMK,EAAmB,aAGvB,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,OACC,IAAKI,EACL,UAAWC,EAAG,gCAAiCH,CAAS,EACvD,GAAGC,EACN,CACD,EACDG,EAAW,YAAc,aAEzB,IAAMC,EAAkB,aAGtB,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,MACC,IAAKI,EACL,UAAWC,EACT,qDACAH,CACF,EACC,GAAGC,EACN,CACD,EACDI,EAAU,YAAc,YAExB,IAAMC,EAAwB,aAG5B,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,KACC,IAAKI,EACL,UAAWC,EAAG,gCAAiCH,CAAS,EACvD,GAAGC,EACN,CACD,EACDK,EAAgB,YAAc,kBAE9B,IAAMC,EAAoB,aAGxB,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,OAAI,IAAKI,EAAK,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CACjE,EACDM,EAAY,YAAc,cAE1B,IAAMC,EAAmB,aAGvB,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,OACC,IAAKI,EACL,UAAWC,EAAG,6BAA8BH,CAAS,EACpD,GAAGC,EACN,CACD,EACDO,EAAW,YAAc","names":["React","jsx","Card","className","props","ref","cn","CardHeader","CardTitle","CardDescription","CardContent","CardFooter"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
3
|
+
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
3
|
+
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
var _chunk74PDRKS7js = require('../chunk-74PDRKS7.js');require('../chunk-FUYXCJOQ.js');exports.Tabs = _chunk74PDRKS7js.a; exports.TabsContent = _chunk74PDRKS7js.d; exports.TabsList = _chunk74PDRKS7js.b; exports.TabsTrigger = _chunk74PDRKS7js.c;
|
|
3
|
+
//# sourceMappingURL=tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/admin/Desktop/PROJECTS/alkimi-ui-kit/dist/components/tabs.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ,uDAAyC,gCAA6B,6JAAkE","file":"/Users/admin/Desktop/PROJECTS/alkimi-ui-kit/dist/components/tabs.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
Binary file
|
|
Binary file
|