@humu-tech/ui 0.1.6

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,30 @@
1
+ @layer ds-v2 {
2
+ :root {
3
+ --v2-font-family-sans: 'Inter Variable', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
4
+ --v2-font-family-mono: 'JetBrains Mono Variable', ui-monospace, SFMono-Regular, Menlo, monospace;
5
+
6
+ --v2-font-size-xs: 0.75rem;
7
+ --v2-font-size-sm: 0.875rem;
8
+ --v2-font-size-base: 1rem;
9
+ --v2-font-size-lg: 1.125rem;
10
+ --v2-font-size-xl: 1.25rem;
11
+ --v2-font-size-2xl: 1.5rem;
12
+ --v2-font-size-3xl: 1.875rem;
13
+ --v2-font-size-4xl: 2.25rem;
14
+ --v2-font-size-5xl: 3rem;
15
+ --v2-font-size-6xl: 3.75rem;
16
+
17
+ --v2-font-weight-normal: 400;
18
+ --v2-font-weight-medium: 500;
19
+ --v2-font-weight-semibold: 600;
20
+ --v2-font-weight-bold: 700;
21
+
22
+ --v2-line-height-tight: 1.2;
23
+ --v2-line-height-normal: 1.5;
24
+ --v2-line-height-relaxed: 1.7;
25
+
26
+ --v2-letter-spacing-tight: -0.02em;
27
+ --v2-letter-spacing-normal: 0;
28
+ --v2-letter-spacing-wide: 0.02em;
29
+ }
30
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,13 @@
1
+ @import '@fontsource-variable/inter';
2
+ @import '@fontsource-variable/jetbrains-mono';
3
+ @import './tokens/colors.css' layer(ds-v2);
4
+ @import './tokens/typography.css' layer(ds-v2);
5
+ @import './tokens/spacing.css' layer(ds-v2);
6
+ @import './tokens/motion.css' layer(ds-v2);
7
+ @import './tokens/elevation.css' layer(ds-v2);
8
+ @import './tokens/surfaces.css' layer(ds-v2);
9
+ @import './tokens/radii.css' layer(ds-v2);
10
+
11
+ html:has(body[data-scroll-locked]) {
12
+ overflow: hidden;
13
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/package.json ADDED
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "@humu-tech/ui",
3
+ "version": "0.1.6",
4
+ "main": "./dist/index.js",
5
+ "module": "./dist/index.mjs",
6
+ "types": "./dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.mjs",
10
+ "require": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ },
13
+ "./tokens.css": "./dist/tokens.css",
14
+ "./tailwind-preset": "./dist/tailwind-preset.js"
15
+ },
16
+ "files": [
17
+ "dist/**",
18
+ "README.md"
19
+ ],
20
+ "publishConfig": {
21
+ "registry": "https://registry.npmjs.org/",
22
+ "access": "public"
23
+ },
24
+ "sideEffects": [
25
+ "*.css"
26
+ ],
27
+ "scripts": {
28
+ "build": "tsup",
29
+ "dev": "tsup --watch",
30
+ "lint": "eslint src --max-warnings 0",
31
+ "test": "vitest run"
32
+ },
33
+ "peerDependencies": {
34
+ "react": "^18",
35
+ "react-dom": "^18"
36
+ },
37
+ "devDependencies": {
38
+ "@humu/eslint-config": "*",
39
+ "@humu/ts-config": "*",
40
+ "@testing-library/jest-dom": "^6.9.1",
41
+ "@testing-library/react": "^16.3.2",
42
+ "@testing-library/user-event": "^14.6.1",
43
+ "@types/react": "^18",
44
+ "@types/react-dom": "^18",
45
+ "eslint": "^8.57.1",
46
+ "eslint-plugin-prettier": "^5.1.3",
47
+ "jsdom": "^22.1.0",
48
+ "react": "^18",
49
+ "react-dom": "^18",
50
+ "tailwindcss": "^3.4.19",
51
+ "tsup": "^8.0.0",
52
+ "typescript": "^5",
53
+ "vitest": "^3"
54
+ },
55
+ "dependencies": {
56
+ "@fontsource-variable/inter": "^5.2.8",
57
+ "@fontsource-variable/jetbrains-mono": "^5.2.8",
58
+ "@phosphor-icons/react": "^2.1.8",
59
+ "@radix-ui/react-accordion": "^1.2.12",
60
+ "@radix-ui/react-checkbox": "^1.3.3",
61
+ "@radix-ui/react-context-menu": "2.3.2",
62
+ "@radix-ui/react-dialog": "^1.1.15",
63
+ "@radix-ui/react-dropdown-menu": "2.1.19",
64
+ "@radix-ui/react-popover": "^1.1.15",
65
+ "@radix-ui/react-radio-group": "^1.3.8",
66
+ "@radix-ui/react-separator": "^1.1.8",
67
+ "@radix-ui/react-slot": "^1.2.4",
68
+ "@radix-ui/react-switch": "^1.2.6",
69
+ "@radix-ui/react-tabs": "^1.1.13",
70
+ "@radix-ui/react-toast": "1.2.18",
71
+ "@radix-ui/react-tooltip": "^1.2.8",
72
+ "class-variance-authority": "^0.7.1",
73
+ "clsx": "^2.1.1",
74
+ "culori": "^4.0.2",
75
+ "date-fns": "^3.6.0",
76
+ "input-otp": "^1.4.2",
77
+ "react-colorful": "^5.6.1",
78
+ "react-day-picker": "^8.10.1",
79
+ "react-markdown": "^9.1.0",
80
+ "recharts": "^2.15.0",
81
+ "remark-gfm": "^4.0.1",
82
+ "tailwind-merge": "^2.6.1"
83
+ }
84
+ }