@nextop-os/ui-system 0.0.15 → 0.0.17
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/AGENTS.md +84 -0
- package/README.md +86 -0
- package/UI_SYSTEM_GUIDELINES.md +148 -0
- package/agent/install-skill.mjs +181 -0
- package/agent/nextop-ui-system/SKILL.md +79 -0
- package/agent/nextop-ui-system/references/extract-base-component.md +43 -0
- package/agent/nextop-ui-system/references/maintain-inventory.md +40 -0
- package/agent/nextop-ui-system/references/promote-business-component.md +352 -0
- package/agent/nextop-ui-system/references/use-existing-component.md +37 -0
- package/agent/nextop-ui-system/scripts/create-business-preview.mjs +658 -0
- package/dist/{chunk-G6KJIFD2.js → chunk-FT633NLJ.js} +2 -2
- package/dist/{chunk-OBW6ALOJ.js → chunk-NFSMZKML.js} +78 -3
- package/dist/chunk-NFSMZKML.js.map +1 -0
- package/dist/chunk-XHA7R2WC.js +292 -0
- package/dist/chunk-XHA7R2WC.js.map +1 -0
- package/dist/components/index.js +2 -2
- package/dist/dev-vite.d.ts +9 -0
- package/dist/dev-vite.js +578 -0
- package/dist/dev-vite.js.map +1 -0
- package/dist/icons/index.d.ts +14 -1
- package/dist/icons/index.js +16 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -3
- package/dist/metadata/components.json +1464 -0
- package/dist/metadata/components.schema.json +106 -0
- package/dist/metadata/index.d.ts +25 -0
- package/dist/metadata/index.js +1472 -0
- package/dist/metadata/index.js.map +1 -0
- package/dist/styles/semantic.css +1 -0
- package/dist/styles/theme.css +12 -0
- package/package.json +25 -3
- package/dist/chunk-IK2XRJQG.js +0 -56
- package/dist/chunk-IK2XRJQG.js.map +0 -1
- package/dist/chunk-OBW6ALOJ.js.map +0 -1
- /package/dist/{chunk-G6KJIFD2.js.map → chunk-FT633NLJ.js.map} +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://nextop.dev/schemas/ui-system-components.schema.json",
|
|
4
|
+
"title": "Nextop UI System Component Metadata",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "components"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"$schema": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"schemaVersion": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1
|
|
15
|
+
},
|
|
16
|
+
"components": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": [
|
|
22
|
+
"id",
|
|
23
|
+
"layer",
|
|
24
|
+
"name",
|
|
25
|
+
"export",
|
|
26
|
+
"from",
|
|
27
|
+
"category",
|
|
28
|
+
"status",
|
|
29
|
+
"source",
|
|
30
|
+
"description",
|
|
31
|
+
"useCases",
|
|
32
|
+
"migrationHints"
|
|
33
|
+
],
|
|
34
|
+
"properties": {
|
|
35
|
+
"id": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
38
|
+
},
|
|
39
|
+
"layer": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": ["base", "business"]
|
|
42
|
+
},
|
|
43
|
+
"name": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1
|
|
46
|
+
},
|
|
47
|
+
"export": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"minLength": 1
|
|
50
|
+
},
|
|
51
|
+
"from": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": [
|
|
54
|
+
"@nextop-os/ui-system",
|
|
55
|
+
"@nextop-os/ui-system/components",
|
|
56
|
+
"@nextop-os/ui-system/icons",
|
|
57
|
+
"@nextop-os/ui-system/styles.css",
|
|
58
|
+
"@nextop-os/ui-system/utils"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"category": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"primitive",
|
|
65
|
+
"composition",
|
|
66
|
+
"icon",
|
|
67
|
+
"style-entry",
|
|
68
|
+
"utility"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"status": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"enum": ["experimental", "stable", "deprecated"]
|
|
74
|
+
},
|
|
75
|
+
"source": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"pattern": "^src/"
|
|
78
|
+
},
|
|
79
|
+
"description": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"minLength": 1
|
|
82
|
+
},
|
|
83
|
+
"propsType": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"minLength": 1
|
|
86
|
+
},
|
|
87
|
+
"useCases": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"migrationHints": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"items": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"storyboard": {
|
|
100
|
+
"type": "boolean"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type UISystemComponentCategory = "primitive" | "composition" | "icon" | "style-entry" | "utility";
|
|
2
|
+
type UISystemComponentStatus = "experimental" | "stable" | "deprecated";
|
|
3
|
+
type UISystemComponentLayer = "base" | "business";
|
|
4
|
+
interface UISystemComponentMetadata {
|
|
5
|
+
id: string;
|
|
6
|
+
layer: UISystemComponentLayer;
|
|
7
|
+
name: string;
|
|
8
|
+
export: string;
|
|
9
|
+
from: string;
|
|
10
|
+
category: UISystemComponentCategory;
|
|
11
|
+
status: UISystemComponentStatus;
|
|
12
|
+
source: string;
|
|
13
|
+
propsType?: string;
|
|
14
|
+
description: string;
|
|
15
|
+
useCases: string[];
|
|
16
|
+
migrationHints: string[];
|
|
17
|
+
storyboard?: boolean;
|
|
18
|
+
}
|
|
19
|
+
interface UISystemMetadata {
|
|
20
|
+
schemaVersion: number;
|
|
21
|
+
components: UISystemComponentMetadata[];
|
|
22
|
+
}
|
|
23
|
+
declare const uiSystemMetadata: UISystemMetadata;
|
|
24
|
+
|
|
25
|
+
export { type UISystemComponentCategory, type UISystemComponentLayer, type UISystemComponentMetadata, type UISystemComponentStatus, type UISystemMetadata, uiSystemMetadata };
|