@doccov/ui 0.2.1

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.
@@ -0,0 +1,3 @@
1
+ import { ClassValue } from "clsx";
2
+ declare function cn(...inputs: ClassValue[]): string;
3
+ export { cn };
@@ -0,0 +1,29 @@
1
+ var __create = Object.create;
2
+ var __getProtoOf = Object.getPrototypeOf;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __toESM = (mod, isNodeMode, target) => {
7
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
8
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
9
+ for (let key of __getOwnPropNames(mod))
10
+ if (!__hasOwnProp.call(to, key))
11
+ __defProp(to, key, {
12
+ get: () => mod[key],
13
+ enumerable: true
14
+ });
15
+ return to;
16
+ };
17
+ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
18
+
19
+ // src/lib/utils.ts
20
+ import { clsx } from "clsx";
21
+ import { twMerge } from "tailwind-merge";
22
+ function cn(...inputs) {
23
+ return twMerge(clsx(inputs));
24
+ }
25
+ export {
26
+ cn
27
+ };
28
+
29
+ export { __toESM, __commonJS, cn };
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@doccov/ui",
3
+ "version": "0.2.1",
4
+ "type": "module",
5
+ "sideEffects": false,
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "exports": {
10
+ "./api": {
11
+ "types": "./dist/components/api/index.d.ts",
12
+ "import": "./dist/components/api/index.js"
13
+ },
14
+ "./docskit": {
15
+ "types": "./dist/components/docskit/index.d.ts",
16
+ "import": "./dist/components/docskit/index.js"
17
+ },
18
+ "./lib/utils": {
19
+ "types": "./dist/lib/utils.d.ts",
20
+ "import": "./dist/lib/utils.js"
21
+ }
22
+ },
23
+ "scripts": {
24
+ "build": "bunup",
25
+ "lint": "biome check src/",
26
+ "lint:fix": "biome check --write src/",
27
+ "typecheck": "tsc --noEmit"
28
+ },
29
+ "dependencies": {
30
+ "@radix-ui/react-collapsible": "^1.1.12",
31
+ "@radix-ui/react-slot": "^1.1.0",
32
+ "@radix-ui/react-tabs": "^1.1.13",
33
+ "class-variance-authority": "^0.7.0",
34
+ "clsx": "^2.1.0",
35
+ "codehike": "^1.0.7",
36
+ "lucide-react": "^0.555.0",
37
+ "tailwind-merge": "^2.5.0",
38
+ "zod": "^3.25.0"
39
+ },
40
+ "peerDependencies": {
41
+ "react": "^19.0.0",
42
+ "react-dom": "^19.0.0"
43
+ },
44
+ "devDependencies": {
45
+ "@types/react": "^19.0.0",
46
+ "@types/react-dom": "^19.0.0",
47
+ "bunup": "latest",
48
+ "typescript": "^5.0.0"
49
+ }
50
+ }