@moltenagentic/human-elements 0.1.5 → 1.0.7
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/assets/molten-icon-lava.svg +71 -9
- package/assets/molten-icon-neon.svg +21 -0
- package/assets/molten-icon.svg +8 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +48 -14
- package/dist/index.js.map +1 -1
- package/dist/styles/tokens.css +7 -0
- package/dist/styles/utilities.css +72 -0
- package/package.json +22 -15
|
@@ -556,3 +556,75 @@
|
|
|
556
556
|
scrollbar-width: none;
|
|
557
557
|
}
|
|
558
558
|
.scrollbar-hide::-webkit-scrollbar { display: none; }
|
|
559
|
+
|
|
560
|
+
/* ── Neon theme (green field surface) ───────────────── */
|
|
561
|
+
|
|
562
|
+
[data-theme="neon"] .stamped-heading {
|
|
563
|
+
color: #000;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
[data-theme="neon"] .stamped-subtext {
|
|
567
|
+
color: rgba(0, 0, 0, 0.5);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
[data-theme="neon"] .stamped-card {
|
|
571
|
+
border-color: rgba(255, 51, 102, 0.4);
|
|
572
|
+
color: #000;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
[data-theme="neon"] .stamped-card-filled {
|
|
576
|
+
background: rgba(255, 51, 102, 0.15);
|
|
577
|
+
border-color: rgba(255, 51, 102, 0.4);
|
|
578
|
+
color: #000;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
[data-theme="neon"] .stamped-code {
|
|
582
|
+
background: rgba(0, 0, 0, 0.08);
|
|
583
|
+
border-color: rgba(0, 0, 0, 0.2);
|
|
584
|
+
color: #000;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
[data-theme="neon"] .product-nav-bar {
|
|
588
|
+
border-color: rgba(255, 51, 102, 0.12);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
[data-theme="neon"] .product-nav-bar::after {
|
|
592
|
+
background: linear-gradient(
|
|
593
|
+
90deg,
|
|
594
|
+
transparent,
|
|
595
|
+
rgba(255, 51, 102, 0.25),
|
|
596
|
+
rgba(255, 51, 102, 0.35),
|
|
597
|
+
rgba(255, 51, 102, 0.25),
|
|
598
|
+
transparent
|
|
599
|
+
);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
[data-theme="neon"] .product-nav-action:hover {
|
|
603
|
+
background: rgba(255, 51, 102, 0.08);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
[data-theme="neon"] .product-nav-action:hover::after {
|
|
607
|
+
border-color: rgba(255, 51, 102, 0.25);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
[data-theme="neon"] .molten-wave-card:hover {
|
|
611
|
+
box-shadow:
|
|
612
|
+
0 0 24px rgba(255, 51, 102, 0.12),
|
|
613
|
+
0 0 60px rgba(0, 0, 0, 0.06);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
[data-theme="neon"] .molten-card-glow {
|
|
617
|
+
box-shadow:
|
|
618
|
+
0 0 30px rgba(255, 51, 102, 0.08),
|
|
619
|
+
0 0 60px rgba(0, 0, 0, 0.04);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
[data-theme="neon"] .sphere-glow {
|
|
623
|
+
background: radial-gradient(
|
|
624
|
+
circle,
|
|
625
|
+
rgba(255, 51, 102, 0.08) 0%,
|
|
626
|
+
rgba(0, 0, 0, 0.04) 40%,
|
|
627
|
+
transparent 70%
|
|
628
|
+
);
|
|
629
|
+
}
|
|
630
|
+
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moltenagentic/human-elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Shared design system and UI components for Molten's human-facing interfaces",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@9.15.0",
|
|
7
6
|
"main": "./dist/index.js",
|
|
8
7
|
"module": "./dist/index.js",
|
|
9
8
|
"types": "./dist/index.d.ts",
|
|
@@ -29,14 +28,6 @@
|
|
|
29
28
|
"publishConfig": {
|
|
30
29
|
"access": "public"
|
|
31
30
|
},
|
|
32
|
-
"scripts": {
|
|
33
|
-
"build": "tsup && pnpm run copy:styles",
|
|
34
|
-
"copy:styles": "mkdir -p dist/styles && cp src/styles/*.css dist/styles/",
|
|
35
|
-
"dev": "tsup --watch",
|
|
36
|
-
"visualize": "npx tsx showcase/server.ts",
|
|
37
|
-
"lint": "eslint",
|
|
38
|
-
"typecheck": "tsc --noEmit"
|
|
39
|
-
},
|
|
40
31
|
"peerDependencies": {
|
|
41
32
|
"react": ">=18",
|
|
42
33
|
"react-dom": ">=18",
|
|
@@ -46,10 +37,18 @@
|
|
|
46
37
|
"@gsap/react": ">=2"
|
|
47
38
|
},
|
|
48
39
|
"peerDependenciesMeta": {
|
|
49
|
-
"@react-three/fiber": {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
40
|
+
"@react-three/fiber": {
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"three": {
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
46
|
+
"gsap": {
|
|
47
|
+
"optional": true
|
|
48
|
+
},
|
|
49
|
+
"@gsap/react": {
|
|
50
|
+
"optional": true
|
|
51
|
+
}
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
54
|
"@gsap/react": "^2.1.2",
|
|
@@ -64,5 +63,13 @@
|
|
|
64
63
|
"three": "^0.183.2",
|
|
65
64
|
"tsup": "^8",
|
|
66
65
|
"typescript": "^5"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsup && pnpm run copy:styles",
|
|
69
|
+
"copy:styles": "mkdir -p dist/styles && cp src/styles/*.css dist/styles/",
|
|
70
|
+
"dev": "tsup --watch",
|
|
71
|
+
"visualize": "npx tsx showcase/server.ts",
|
|
72
|
+
"lint": "eslint",
|
|
73
|
+
"typecheck": "tsc --noEmit"
|
|
67
74
|
}
|
|
68
|
-
}
|
|
75
|
+
}
|