@stackvibe-studio/registry 0.0.0-stage → 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 StackVibe
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,24 @@
1
- # Temporary Holding Version
1
+ # @stackvibe-studio/registry
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Component metadata registry for StackVibe packages and automation workflows.
4
+
5
+ ## Highlights
6
+
7
+ - Searchable component metadata across packages
8
+ - Works well with the CLI and docs registry flow
9
+ - Exposes component package mapping and tags
10
+ - Updated in v0.2.0 with tabs, skeleton, fade-in-section, and orb-cluster entries
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ npm install @stackvibe-studio/registry
16
+ ```
17
+
18
+ ## Example
19
+
20
+ ```ts
21
+ import { getRegistryEntry } from '@stackvibe-studio/registry';
22
+
23
+ console.log(getRegistryEntry('button'));
24
+ ```
package/dist/index.cjs ADDED
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ componentRegistry: () => componentRegistry,
24
+ getRegistryEntry: () => getRegistryEntry
25
+ });
26
+ module.exports = __toCommonJS(index_exports);
27
+ var componentRegistry = [
28
+ {
29
+ name: "button",
30
+ packageName: "@stackvibe-studio/ui",
31
+ category: "core",
32
+ description: "Primary action control with accessible focus and size variants.",
33
+ dependencies: [],
34
+ tags: ["button", "cta", "action"]
35
+ },
36
+ {
37
+ name: "spotlight-card",
38
+ packageName: "@stackvibe-studio/motion",
39
+ category: "motion",
40
+ description: "Interactive card with layered light and subtle hover motion.",
41
+ dependencies: ["motion"],
42
+ tags: ["card", "hover", "glow"]
43
+ },
44
+ {
45
+ name: "glass-3d-card",
46
+ packageName: "@stackvibe-studio/three",
47
+ category: "3d",
48
+ description: "Transparent glass surface with configurable depth and lighting.",
49
+ dependencies: ["three", "@react-three/fiber", "@react-three/drei"],
50
+ tags: ["glass", "3d", "card"]
51
+ },
52
+ {
53
+ name: "fade-in-section",
54
+ packageName: "@stackvibe-studio/motion",
55
+ category: "motion",
56
+ description: "Scroll-aware reveal wrapper for onboarding sections and storytelling layouts.",
57
+ dependencies: ["motion"],
58
+ tags: ["reveal", "fade", "section"]
59
+ },
60
+ {
61
+ name: "orb-cluster",
62
+ packageName: "@stackvibe-studio/three",
63
+ category: "3d",
64
+ description: "Layered floating orb scene for hero backgrounds and product visuals.",
65
+ dependencies: ["three", "@react-three/fiber", "@react-three/drei"],
66
+ tags: ["orb", "3d", "hero"]
67
+ },
68
+ {
69
+ name: "tabs",
70
+ packageName: "@stackvibe-studio/ui",
71
+ category: "core",
72
+ description: "Tabbed content surfaces for dashboards, settings, and product sections.",
73
+ dependencies: [],
74
+ tags: ["tabs", "navigation", "content"]
75
+ },
76
+ {
77
+ name: "skeleton",
78
+ packageName: "@stackvibe-studio/ui",
79
+ category: "core",
80
+ description: "Loading placeholders that match the visual rhythm of the library.",
81
+ dependencies: [],
82
+ tags: ["loading", "placeholder", "skeleton"]
83
+ }
84
+ ];
85
+ function getRegistryEntry(name) {
86
+ return componentRegistry.find((item) => item.name === name);
87
+ }
88
+ // Annotate the CommonJS export names for ESM import in node:
89
+ 0 && (module.exports = {
90
+ componentRegistry,
91
+ getRegistryEntry
92
+ });
@@ -0,0 +1,10 @@
1
+ export type RegistryComponent = {
2
+ name: string;
3
+ packageName: string;
4
+ category: 'core' | 'motion' | '3d' | 'theme';
5
+ description: string;
6
+ dependencies: string[];
7
+ tags: string[];
8
+ };
9
+ export declare const componentRegistry: RegistryComponent[];
10
+ export declare function getRegistryEntry(name: string): RegistryComponent | undefined;
package/dist/index.js ADDED
@@ -0,0 +1,66 @@
1
+ // src/index.ts
2
+ var componentRegistry = [
3
+ {
4
+ name: "button",
5
+ packageName: "@stackvibe-studio/ui",
6
+ category: "core",
7
+ description: "Primary action control with accessible focus and size variants.",
8
+ dependencies: [],
9
+ tags: ["button", "cta", "action"]
10
+ },
11
+ {
12
+ name: "spotlight-card",
13
+ packageName: "@stackvibe-studio/motion",
14
+ category: "motion",
15
+ description: "Interactive card with layered light and subtle hover motion.",
16
+ dependencies: ["motion"],
17
+ tags: ["card", "hover", "glow"]
18
+ },
19
+ {
20
+ name: "glass-3d-card",
21
+ packageName: "@stackvibe-studio/three",
22
+ category: "3d",
23
+ description: "Transparent glass surface with configurable depth and lighting.",
24
+ dependencies: ["three", "@react-three/fiber", "@react-three/drei"],
25
+ tags: ["glass", "3d", "card"]
26
+ },
27
+ {
28
+ name: "fade-in-section",
29
+ packageName: "@stackvibe-studio/motion",
30
+ category: "motion",
31
+ description: "Scroll-aware reveal wrapper for onboarding sections and storytelling layouts.",
32
+ dependencies: ["motion"],
33
+ tags: ["reveal", "fade", "section"]
34
+ },
35
+ {
36
+ name: "orb-cluster",
37
+ packageName: "@stackvibe-studio/three",
38
+ category: "3d",
39
+ description: "Layered floating orb scene for hero backgrounds and product visuals.",
40
+ dependencies: ["three", "@react-three/fiber", "@react-three/drei"],
41
+ tags: ["orb", "3d", "hero"]
42
+ },
43
+ {
44
+ name: "tabs",
45
+ packageName: "@stackvibe-studio/ui",
46
+ category: "core",
47
+ description: "Tabbed content surfaces for dashboards, settings, and product sections.",
48
+ dependencies: [],
49
+ tags: ["tabs", "navigation", "content"]
50
+ },
51
+ {
52
+ name: "skeleton",
53
+ packageName: "@stackvibe-studio/ui",
54
+ category: "core",
55
+ description: "Loading placeholders that match the visual rhythm of the library.",
56
+ dependencies: [],
57
+ tags: ["loading", "placeholder", "skeleton"]
58
+ }
59
+ ];
60
+ function getRegistryEntry(name) {
61
+ return componentRegistry.find((item) => item.name === name);
62
+ }
63
+ export {
64
+ componentRegistry,
65
+ getRegistryEntry
66
+ };
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@stackvibe-studio/registry",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0",
4
+ "type": "module",
5
+ "description": "Registry metadata for StackVibe UI components.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/StackVibe-Studio/stackvibe-ui.git"
9
+ },
10
+ "homepage": "https://stackvibe-studio.github.io/stackvibe-ui/",
11
+ "bugs": {
12
+ "url": "https://github.com/StackVibe-Studio/stackvibe-ui/issues"
13
+ },
14
+ "license": "MIT",
15
+ "main": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/index.js",
21
+ "require": "./dist/index.cjs"
22
+ }
23
+ },
24
+ "publishConfig": {
25
+ "access": "public",
26
+ "registry": "https://registry.npmjs.org/"
27
+ },
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "devDependencies": {
32
+ "tsup": "^8.1.0",
33
+ "typescript": "^5.7.0"
34
+ },
35
+ "scripts": {
36
+ "build": "tsup src/index.ts --format esm,cjs --clean && tsc --project tsconfig.json --emitDeclarationOnly",
37
+ "typecheck": "tsc --noEmit"
38
+ }
6
39
  }