@contractspec/lib.ui-kit-core 1.57.0 → 1.59.0
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/browser/index.js +9 -0
- package/dist/browser/utils.js +9 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -3
- package/dist/utils.d.ts +2 -6
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +6 -7
- package/package.json +25 -16
- package/dist/utils.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export * from './utils';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/utils.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { ClassValue } from
|
|
2
|
-
|
|
3
|
-
//#region src/utils.d.ts
|
|
4
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { cn };
|
|
1
|
+
import { type ClassValue } from 'clsx';
|
|
2
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
7
3
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
package/dist/utils.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/utils.ts
|
|
1
3
|
import { clsx } from "clsx";
|
|
2
4
|
import { twMerge } from "tailwind-merge";
|
|
3
|
-
|
|
4
|
-
//#region src/utils.ts
|
|
5
5
|
function cn(...inputs) {
|
|
6
|
-
|
|
6
|
+
return twMerge(clsx(inputs));
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=utils.js.map
|
|
8
|
+
export {
|
|
9
|
+
cn
|
|
10
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.ui-kit-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.0",
|
|
4
4
|
"description": "Core UI primitives and utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -16,14 +16,16 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
|
|
18
18
|
"publish:pkg:canary": "bun publish:pkg --tag canary",
|
|
19
|
-
"build": "bun run build:bundle && bun run build:types",
|
|
20
|
-
"build:bundle": "
|
|
21
|
-
"build:types": "
|
|
22
|
-
"dev": "bun
|
|
19
|
+
"build": "bun run prebuild && bun run build:bundle && bun run build:types",
|
|
20
|
+
"build:bundle": "contractspec-bun-build transpile",
|
|
21
|
+
"build:types": "contractspec-bun-build types",
|
|
22
|
+
"dev": "contractspec-bun-build dev",
|
|
23
23
|
"clean": "rm -rf dist",
|
|
24
24
|
"lint": "bun run lint:fix",
|
|
25
25
|
"lint:fix": "eslint src --fix",
|
|
26
|
-
"lint:check": "eslint src"
|
|
26
|
+
"lint:check": "eslint src",
|
|
27
|
+
"prebuild": "contractspec-bun-build prebuild",
|
|
28
|
+
"typecheck": "tsc --noEmit"
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
|
29
31
|
"class-variance-authority": "^0.7.0",
|
|
@@ -35,15 +37,13 @@
|
|
|
35
37
|
"tailwindcss-animate": "^1.0.7"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
|
-
"@contractspec/tool.typescript": "1.
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"typescript": "^5.9.3"
|
|
40
|
+
"@contractspec/tool.typescript": "1.59.0",
|
|
41
|
+
"typescript": "^5.9.3",
|
|
42
|
+
"@contractspec/tool.bun": "1.58.0"
|
|
42
43
|
},
|
|
43
44
|
"exports": {
|
|
44
|
-
".": "./
|
|
45
|
-
"./utils": "./
|
|
46
|
-
"./*": "./*"
|
|
45
|
+
".": "./src/index.ts",
|
|
46
|
+
"./utils": "./src/utils.ts"
|
|
47
47
|
},
|
|
48
48
|
"files": [
|
|
49
49
|
"dist",
|
|
@@ -52,9 +52,18 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public",
|
|
54
54
|
"exports": {
|
|
55
|
-
".":
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
".": {
|
|
56
|
+
"types": "./dist/index.d.ts",
|
|
57
|
+
"bun": "./dist/index.js",
|
|
58
|
+
"browser": "./dist/browser/index.js",
|
|
59
|
+
"default": "./dist/index.js"
|
|
60
|
+
},
|
|
61
|
+
"./utils": {
|
|
62
|
+
"types": "./dist/utils.d.ts",
|
|
63
|
+
"bun": "./dist/utils.js",
|
|
64
|
+
"browser": "./dist/browser/utils.js",
|
|
65
|
+
"default": "./dist/utils.js"
|
|
66
|
+
}
|
|
58
67
|
},
|
|
59
68
|
"registry": "https://registry.npmjs.org/"
|
|
60
69
|
},
|
package/dist/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":[],"sources":["../src/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"mappings":";;;;AAGA,SAAgB,GAAG,GAAG,QAAsB;AAC1C,QAAO,QAAQ,KAAK,OAAO,CAAC"}
|