@framingui/core 0.4.4 → 0.4.5
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/bundled/icon-libraries/generated/feather.json +10 -1
- package/dist/bundled/icon-libraries/generated/heroicons.json +35 -6
- package/dist/bundled/icon-libraries/generated/lucide.json +162 -31
- package/dist/layout-validation.d.ts +18 -18
- package/dist/schema-validation.d.ts +6 -6
- package/dist/screen-generation/validators.d.ts +2 -2
- package/dist/token-validation.d.ts +8 -8
- package/package.json +2 -2
|
@@ -6,7 +6,16 @@
|
|
|
6
6
|
"description": "Simply beautiful open source icons. Designed with an emphasis on simplicity, consistency and readability.",
|
|
7
7
|
"website": "https://feathericons.com",
|
|
8
8
|
"totalIcons": 287,
|
|
9
|
-
"categories": [
|
|
9
|
+
"categories": [
|
|
10
|
+
"ui",
|
|
11
|
+
"arrows",
|
|
12
|
+
"communication",
|
|
13
|
+
"device",
|
|
14
|
+
"file",
|
|
15
|
+
"media",
|
|
16
|
+
"navigation",
|
|
17
|
+
"weather"
|
|
18
|
+
],
|
|
10
19
|
"sizeMapping": {
|
|
11
20
|
"sm": 16,
|
|
12
21
|
"md": 24,
|
|
@@ -6,7 +6,16 @@
|
|
|
6
6
|
"description": "Beautiful hand-crafted SVG icons by the makers of Tailwind CSS.",
|
|
7
7
|
"website": "https://heroicons.com",
|
|
8
8
|
"totalIcons": 300,
|
|
9
|
-
"categories": [
|
|
9
|
+
"categories": [
|
|
10
|
+
"ui",
|
|
11
|
+
"arrows",
|
|
12
|
+
"communication",
|
|
13
|
+
"device",
|
|
14
|
+
"file",
|
|
15
|
+
"media",
|
|
16
|
+
"navigation",
|
|
17
|
+
"shapes"
|
|
18
|
+
],
|
|
10
19
|
"sizeMapping": {
|
|
11
20
|
"sm": 16,
|
|
12
21
|
"md": 24,
|
|
@@ -78,7 +87,11 @@
|
|
|
78
87
|
"folder": { "aliases": ["directory"], "category": "file", "tags": ["organize"] },
|
|
79
88
|
"bookmark": { "aliases": ["save"], "category": "ui", "tags": ["favorite"] },
|
|
80
89
|
"link": { "aliases": ["url"], "category": "ui", "tags": ["hyperlink"] },
|
|
81
|
-
"arrow-top-right-on-square": {
|
|
90
|
+
"arrow-top-right-on-square": {
|
|
91
|
+
"aliases": ["external-link"],
|
|
92
|
+
"category": "ui",
|
|
93
|
+
"tags": ["new-tab"]
|
|
94
|
+
},
|
|
82
95
|
"arrow-path": { "aliases": ["refresh", "reload"], "category": "ui", "tags": ["sync"] },
|
|
83
96
|
"information-circle": { "aliases": ["info"], "category": "ui", "tags": ["help"] },
|
|
84
97
|
"exclamation-circle": { "aliases": ["warning"], "category": "ui", "tags": ["alert"] },
|
|
@@ -91,7 +104,11 @@
|
|
|
91
104
|
"arrow-right-on-rectangle": { "aliases": ["logout"], "category": "ui", "tags": ["exit"] },
|
|
92
105
|
"arrow-left-on-rectangle": { "aliases": ["login"], "category": "ui", "tags": ["enter"] },
|
|
93
106
|
"user-group": { "aliases": ["users", "team"], "category": "ui", "tags": ["people"] },
|
|
94
|
-
"chat-bubble-left": {
|
|
107
|
+
"chat-bubble-left": {
|
|
108
|
+
"aliases": ["chat", "message"],
|
|
109
|
+
"category": "communication",
|
|
110
|
+
"tags": ["talk"]
|
|
111
|
+
},
|
|
95
112
|
"paper-airplane": { "aliases": ["send"], "category": "communication", "tags": ["submit"] },
|
|
96
113
|
"inbox": { "aliases": ["mailbox"], "category": "communication", "tags": ["receive"] },
|
|
97
114
|
"archive-box": { "aliases": ["archive"], "category": "file", "tags": ["storage"] },
|
|
@@ -107,12 +124,24 @@
|
|
|
107
124
|
"pause": { "aliases": ["stop"], "category": "media", "tags": ["halt"] },
|
|
108
125
|
"forward": { "aliases": ["skip-forward"], "category": "media", "tags": ["next"] },
|
|
109
126
|
"backward": { "aliases": ["skip-back"], "category": "media", "tags": ["previous"] },
|
|
110
|
-
"arrows-pointing-out": {
|
|
111
|
-
|
|
127
|
+
"arrows-pointing-out": {
|
|
128
|
+
"aliases": ["fullscreen", "expand"],
|
|
129
|
+
"category": "ui",
|
|
130
|
+
"tags": ["maximize"]
|
|
131
|
+
},
|
|
132
|
+
"arrows-pointing-in": {
|
|
133
|
+
"aliases": ["minimize", "shrink"],
|
|
134
|
+
"category": "ui",
|
|
135
|
+
"tags": ["collapse"]
|
|
136
|
+
},
|
|
112
137
|
"squares-2x2": { "aliases": ["grid"], "category": "ui", "tags": ["layout"] },
|
|
113
138
|
"bars-3-bottom-left": { "aliases": ["list"], "category": "ui", "tags": ["rows"] },
|
|
114
139
|
"square-3-stack-3d": { "aliases": ["layers"], "category": "ui", "tags": ["stack"] },
|
|
115
|
-
"adjustments-horizontal": {
|
|
140
|
+
"adjustments-horizontal": {
|
|
141
|
+
"aliases": ["sliders", "settings"],
|
|
142
|
+
"category": "ui",
|
|
143
|
+
"tags": ["tune"]
|
|
144
|
+
},
|
|
116
145
|
"arrow-trending-up": { "aliases": ["growth"], "category": "ui", "tags": ["chart"] },
|
|
117
146
|
"arrow-trending-down": { "aliases": ["decline"], "category": "ui", "tags": ["chart"] },
|
|
118
147
|
"chart-bar": { "aliases": ["analytics"], "category": "ui", "tags": ["stats"] },
|
|
@@ -6,7 +6,18 @@
|
|
|
6
6
|
"description": "Beautiful & consistent icons. Community-driven fork of Feather Icons.",
|
|
7
7
|
"website": "https://lucide.dev",
|
|
8
8
|
"totalIcons": 1500,
|
|
9
|
-
"categories": [
|
|
9
|
+
"categories": [
|
|
10
|
+
"ui",
|
|
11
|
+
"arrows",
|
|
12
|
+
"brand",
|
|
13
|
+
"communication",
|
|
14
|
+
"device",
|
|
15
|
+
"file",
|
|
16
|
+
"media",
|
|
17
|
+
"navigation",
|
|
18
|
+
"shapes",
|
|
19
|
+
"weather"
|
|
20
|
+
],
|
|
10
21
|
"sizeMapping": {
|
|
11
22
|
"xs": 12,
|
|
12
23
|
"sm": 16,
|
|
@@ -28,10 +39,18 @@
|
|
|
28
39
|
},
|
|
29
40
|
"icons": {
|
|
30
41
|
"home": { "aliases": ["house"], "category": "navigation", "tags": ["building", "main"] },
|
|
31
|
-
"search": {
|
|
42
|
+
"search": {
|
|
43
|
+
"aliases": ["magnifying-glass", "find"],
|
|
44
|
+
"category": "ui",
|
|
45
|
+
"tags": ["look", "query"]
|
|
46
|
+
},
|
|
32
47
|
"user": { "aliases": ["person", "profile"], "category": "ui", "tags": ["avatar", "account"] },
|
|
33
48
|
"settings": { "aliases": ["cog", "gear"], "category": "ui", "tags": ["config", "preferences"] },
|
|
34
|
-
"menu": {
|
|
49
|
+
"menu": {
|
|
50
|
+
"aliases": ["hamburger", "bars"],
|
|
51
|
+
"category": "navigation",
|
|
52
|
+
"tags": ["nav", "toggle"]
|
|
53
|
+
},
|
|
35
54
|
"x": { "aliases": ["close", "cancel"], "category": "ui", "tags": ["dismiss", "remove"] },
|
|
36
55
|
"check": { "aliases": ["checkmark", "tick"], "category": "ui", "tags": ["done", "complete"] },
|
|
37
56
|
"plus": { "aliases": ["add", "new"], "category": "ui", "tags": ["create", "insert"] },
|
|
@@ -46,20 +65,48 @@
|
|
|
46
65
|
"arrow-down": { "aliases": ["down"], "category": "arrows", "tags": ["direction"] },
|
|
47
66
|
"heart": { "aliases": ["like", "favorite"], "category": "ui", "tags": ["love", "health"] },
|
|
48
67
|
"star": { "aliases": ["rating", "bookmark"], "category": "ui", "tags": ["review", "favorite"] },
|
|
49
|
-
"bell": {
|
|
50
|
-
|
|
51
|
-
|
|
68
|
+
"bell": {
|
|
69
|
+
"aliases": ["notification", "alert"],
|
|
70
|
+
"category": "communication",
|
|
71
|
+
"tags": ["notify"]
|
|
72
|
+
},
|
|
73
|
+
"mail": {
|
|
74
|
+
"aliases": ["email", "envelope"],
|
|
75
|
+
"category": "communication",
|
|
76
|
+
"tags": ["message", "inbox"]
|
|
77
|
+
},
|
|
78
|
+
"phone": {
|
|
79
|
+
"aliases": ["call", "mobile"],
|
|
80
|
+
"category": "device",
|
|
81
|
+
"tags": ["contact", "telephone"]
|
|
82
|
+
},
|
|
52
83
|
"calendar": { "aliases": ["date", "schedule"], "category": "ui", "tags": ["event", "time"] },
|
|
53
84
|
"clock": { "aliases": ["time", "timer"], "category": "ui", "tags": ["duration", "watch"] },
|
|
54
|
-
"map-pin": {
|
|
55
|
-
|
|
56
|
-
|
|
85
|
+
"map-pin": {
|
|
86
|
+
"aliases": ["location", "marker"],
|
|
87
|
+
"category": "navigation",
|
|
88
|
+
"tags": ["place", "gps"]
|
|
89
|
+
},
|
|
90
|
+
"shopping-cart": {
|
|
91
|
+
"aliases": ["cart", "basket"],
|
|
92
|
+
"category": "ui",
|
|
93
|
+
"tags": ["commerce", "buy"]
|
|
94
|
+
},
|
|
95
|
+
"credit-card": {
|
|
96
|
+
"aliases": ["payment", "card"],
|
|
97
|
+
"category": "ui",
|
|
98
|
+
"tags": ["finance", "money"]
|
|
99
|
+
},
|
|
57
100
|
"download": { "aliases": ["save", "export"], "category": "ui", "tags": ["arrow-down"] },
|
|
58
101
|
"upload": { "aliases": ["import"], "category": "ui", "tags": ["arrow-up"] },
|
|
59
102
|
"trash-2": { "aliases": ["delete", "remove"], "category": "ui", "tags": ["bin", "garbage"] },
|
|
60
103
|
"edit": { "aliases": ["pencil", "modify"], "category": "ui", "tags": ["write", "change"] },
|
|
61
104
|
"copy": { "aliases": ["duplicate", "clone"], "category": "ui", "tags": ["paste"] },
|
|
62
|
-
"share-2": {
|
|
105
|
+
"share-2": {
|
|
106
|
+
"aliases": ["share", "send"],
|
|
107
|
+
"category": "communication",
|
|
108
|
+
"tags": ["social", "forward"]
|
|
109
|
+
},
|
|
63
110
|
"filter": { "aliases": ["funnel", "sort"], "category": "ui", "tags": ["refine"] },
|
|
64
111
|
"eye": { "aliases": ["view", "visible", "show"], "category": "ui", "tags": ["see", "watch"] },
|
|
65
112
|
"eye-off": { "aliases": ["hide", "invisible"], "category": "ui", "tags": ["hidden", "blind"] },
|
|
@@ -72,29 +119,69 @@
|
|
|
72
119
|
"folder": { "aliases": ["directory"], "category": "file", "tags": ["organize", "group"] },
|
|
73
120
|
"bookmark": { "aliases": ["save", "favorite"], "category": "ui", "tags": ["mark", "flag"] },
|
|
74
121
|
"link": { "aliases": ["url", "chain"], "category": "ui", "tags": ["hyperlink", "connect"] },
|
|
75
|
-
"external-link": {
|
|
122
|
+
"external-link": {
|
|
123
|
+
"aliases": ["new-tab", "open-external"],
|
|
124
|
+
"category": "ui",
|
|
125
|
+
"tags": ["launch"]
|
|
126
|
+
},
|
|
76
127
|
"refresh-cw": { "aliases": ["reload", "sync"], "category": "ui", "tags": ["update", "rotate"] },
|
|
77
128
|
"info": { "aliases": ["information", "about"], "category": "ui", "tags": ["help", "details"] },
|
|
78
|
-
"alert-circle": {
|
|
79
|
-
|
|
129
|
+
"alert-circle": {
|
|
130
|
+
"aliases": ["warning", "error"],
|
|
131
|
+
"category": "ui",
|
|
132
|
+
"tags": ["danger", "caution"]
|
|
133
|
+
},
|
|
134
|
+
"check-circle": {
|
|
135
|
+
"aliases": ["success", "done"],
|
|
136
|
+
"category": "ui",
|
|
137
|
+
"tags": ["complete", "valid"]
|
|
138
|
+
},
|
|
80
139
|
"x-circle": { "aliases": ["error", "failed"], "category": "ui", "tags": ["cancel", "invalid"] },
|
|
81
|
-
"help-circle": {
|
|
140
|
+
"help-circle": {
|
|
141
|
+
"aliases": ["question", "faq"],
|
|
142
|
+
"category": "ui",
|
|
143
|
+
"tags": ["support", "info"]
|
|
144
|
+
},
|
|
82
145
|
"sun": { "aliases": ["light", "day"], "category": "weather", "tags": ["bright", "theme"] },
|
|
83
146
|
"moon": { "aliases": ["dark", "night"], "category": "weather", "tags": ["theme", "sleep"] },
|
|
84
147
|
"globe": { "aliases": ["world", "earth"], "category": "ui", "tags": ["international", "web"] },
|
|
85
148
|
"log-out": { "aliases": ["logout", "exit"], "category": "ui", "tags": ["leave", "signout"] },
|
|
86
149
|
"log-in": { "aliases": ["login", "enter"], "category": "ui", "tags": ["signin", "access"] },
|
|
87
150
|
"users": { "aliases": ["team", "group"], "category": "ui", "tags": ["people", "members"] },
|
|
88
|
-
"message-circle": {
|
|
89
|
-
|
|
90
|
-
|
|
151
|
+
"message-circle": {
|
|
152
|
+
"aliases": ["chat", "comment"],
|
|
153
|
+
"category": "communication",
|
|
154
|
+
"tags": ["bubble", "talk"]
|
|
155
|
+
},
|
|
156
|
+
"send": {
|
|
157
|
+
"aliases": ["submit", "paper-plane"],
|
|
158
|
+
"category": "communication",
|
|
159
|
+
"tags": ["post", "deliver"]
|
|
160
|
+
},
|
|
161
|
+
"inbox": {
|
|
162
|
+
"aliases": ["mailbox"],
|
|
163
|
+
"category": "communication",
|
|
164
|
+
"tags": ["receive", "messages"]
|
|
165
|
+
},
|
|
91
166
|
"archive": { "aliases": ["storage"], "category": "file", "tags": ["save", "store"] },
|
|
92
167
|
"tag": { "aliases": ["label"], "category": "ui", "tags": ["mark", "category"] },
|
|
93
168
|
"hash": { "aliases": ["hashtag", "number"], "category": "ui", "tags": ["pound", "topic"] },
|
|
94
|
-
"at-sign": {
|
|
95
|
-
|
|
169
|
+
"at-sign": {
|
|
170
|
+
"aliases": ["mention", "email"],
|
|
171
|
+
"category": "communication",
|
|
172
|
+
"tags": ["address"]
|
|
173
|
+
},
|
|
174
|
+
"paperclip": {
|
|
175
|
+
"aliases": ["attachment", "attach"],
|
|
176
|
+
"category": "ui",
|
|
177
|
+
"tags": ["file", "clip"]
|
|
178
|
+
},
|
|
96
179
|
"camera": { "aliases": ["photo"], "category": "device", "tags": ["picture", "capture"] },
|
|
97
|
-
"mic": {
|
|
180
|
+
"mic": {
|
|
181
|
+
"aliases": ["microphone", "voice"],
|
|
182
|
+
"category": "device",
|
|
183
|
+
"tags": ["audio", "record"]
|
|
184
|
+
},
|
|
98
185
|
"volume-2": { "aliases": ["sound", "speaker"], "category": "media", "tags": ["audio", "loud"] },
|
|
99
186
|
"volume-x": { "aliases": ["mute", "silent"], "category": "media", "tags": ["quiet", "off"] },
|
|
100
187
|
"play": { "aliases": ["start"], "category": "media", "tags": ["begin", "run"] },
|
|
@@ -102,29 +189,73 @@
|
|
|
102
189
|
"skip-forward": { "aliases": ["next"], "category": "media", "tags": ["forward"] },
|
|
103
190
|
"skip-back": { "aliases": ["previous"], "category": "media", "tags": ["rewind"] },
|
|
104
191
|
"maximize-2": { "aliases": ["fullscreen", "expand"], "category": "ui", "tags": ["enlarge"] },
|
|
105
|
-
"minimize-2": {
|
|
192
|
+
"minimize-2": {
|
|
193
|
+
"aliases": ["exit-fullscreen", "shrink"],
|
|
194
|
+
"category": "ui",
|
|
195
|
+
"tags": ["reduce"]
|
|
196
|
+
},
|
|
106
197
|
"grid": { "aliases": ["table", "layout"], "category": "ui", "tags": ["gallery", "matrix"] },
|
|
107
198
|
"list": { "aliases": ["rows", "lines"], "category": "ui", "tags": ["items", "menu"] },
|
|
108
199
|
"layers": { "aliases": ["stack"], "category": "ui", "tags": ["group", "combine"] },
|
|
109
200
|
"layout": { "aliases": ["template"], "category": "ui", "tags": ["design", "structure"] },
|
|
110
201
|
"sidebar": { "aliases": ["panel"], "category": "ui", "tags": ["navigation", "menu"] },
|
|
111
|
-
"sliders": {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
202
|
+
"sliders": {
|
|
203
|
+
"aliases": ["controls", "adjustments"],
|
|
204
|
+
"category": "ui",
|
|
205
|
+
"tags": ["settings", "tune"]
|
|
206
|
+
},
|
|
207
|
+
"trending-up": {
|
|
208
|
+
"aliases": ["growth", "increase"],
|
|
209
|
+
"category": "ui",
|
|
210
|
+
"tags": ["chart", "positive"]
|
|
211
|
+
},
|
|
212
|
+
"trending-down": {
|
|
213
|
+
"aliases": ["decline", "decrease"],
|
|
214
|
+
"category": "ui",
|
|
215
|
+
"tags": ["chart", "negative"]
|
|
216
|
+
},
|
|
217
|
+
"bar-chart-2": {
|
|
218
|
+
"aliases": ["analytics", "stats"],
|
|
219
|
+
"category": "ui",
|
|
220
|
+
"tags": ["data", "graph"]
|
|
221
|
+
},
|
|
115
222
|
"pie-chart": { "aliases": ["donut"], "category": "ui", "tags": ["data", "percentage"] },
|
|
116
|
-
"activity": {
|
|
223
|
+
"activity": {
|
|
224
|
+
"aliases": ["pulse", "health"],
|
|
225
|
+
"category": "ui",
|
|
226
|
+
"tags": ["heartbeat", "monitor"]
|
|
227
|
+
},
|
|
117
228
|
"zap": { "aliases": ["flash", "lightning"], "category": "ui", "tags": ["power", "energy"] },
|
|
118
|
-
"shield": {
|
|
229
|
+
"shield": {
|
|
230
|
+
"aliases": ["security", "protection"],
|
|
231
|
+
"category": "ui",
|
|
232
|
+
"tags": ["safe", "guard"]
|
|
233
|
+
},
|
|
119
234
|
"key": { "aliases": ["password", "access"], "category": "ui", "tags": ["unlock", "auth"] },
|
|
120
235
|
"gift": { "aliases": ["present"], "category": "ui", "tags": ["reward", "bonus"] },
|
|
121
|
-
"award": {
|
|
236
|
+
"award": {
|
|
237
|
+
"aliases": ["trophy", "medal"],
|
|
238
|
+
"category": "ui",
|
|
239
|
+
"tags": ["winner", "achievement"]
|
|
240
|
+
},
|
|
122
241
|
"flag": { "aliases": ["report", "mark"], "category": "ui", "tags": ["country", "alert"] },
|
|
123
242
|
"thumbs-up": { "aliases": ["like", "approve"], "category": "ui", "tags": ["positive", "good"] },
|
|
124
|
-
"thumbs-down": {
|
|
243
|
+
"thumbs-down": {
|
|
244
|
+
"aliases": ["dislike", "disapprove"],
|
|
245
|
+
"category": "ui",
|
|
246
|
+
"tags": ["negative", "bad"]
|
|
247
|
+
},
|
|
125
248
|
"smile": { "aliases": ["happy", "emoji"], "category": "ui", "tags": ["face", "positive"] },
|
|
126
249
|
"frown": { "aliases": ["sad", "unhappy"], "category": "ui", "tags": ["face", "negative"] },
|
|
127
|
-
"more-horizontal": {
|
|
128
|
-
|
|
250
|
+
"more-horizontal": {
|
|
251
|
+
"aliases": ["ellipsis", "dots"],
|
|
252
|
+
"category": "ui",
|
|
253
|
+
"tags": ["menu", "options"]
|
|
254
|
+
},
|
|
255
|
+
"more-vertical": {
|
|
256
|
+
"aliases": ["kebab", "dots-vertical"],
|
|
257
|
+
"category": "ui",
|
|
258
|
+
"tags": ["menu", "options"]
|
|
259
|
+
}
|
|
129
260
|
}
|
|
130
261
|
}
|
|
@@ -53,14 +53,14 @@ export declare const ShellRegionSchema: z.ZodObject<{
|
|
|
53
53
|
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
54
54
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
name: string;
|
|
57
56
|
size: string;
|
|
57
|
+
name: string;
|
|
58
58
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
59
59
|
collapsible?: boolean | undefined;
|
|
60
60
|
defaultCollapsed?: boolean | undefined;
|
|
61
61
|
}, {
|
|
62
|
-
name: string;
|
|
63
62
|
size: string;
|
|
63
|
+
name: string;
|
|
64
64
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
65
65
|
collapsible?: boolean | undefined;
|
|
66
66
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -85,14 +85,14 @@ export declare const ShellTokenSchema: z.ZodObject<{
|
|
|
85
85
|
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
86
86
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
name: string;
|
|
89
88
|
size: string;
|
|
89
|
+
name: string;
|
|
90
90
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
91
91
|
collapsible?: boolean | undefined;
|
|
92
92
|
defaultCollapsed?: boolean | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
name: string;
|
|
95
94
|
size: string;
|
|
95
|
+
name: string;
|
|
96
96
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
97
97
|
collapsible?: boolean | undefined;
|
|
98
98
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -106,8 +106,8 @@ export declare const ShellTokenSchema: z.ZodObject<{
|
|
|
106
106
|
tokenBindings: Record<string, string>;
|
|
107
107
|
platform: "web" | "mobile" | "desktop";
|
|
108
108
|
regions: {
|
|
109
|
-
name: string;
|
|
110
109
|
size: string;
|
|
110
|
+
name: string;
|
|
111
111
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
112
112
|
collapsible?: boolean | undefined;
|
|
113
113
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -119,8 +119,8 @@ export declare const ShellTokenSchema: z.ZodObject<{
|
|
|
119
119
|
tokenBindings: Record<string, string>;
|
|
120
120
|
platform: "web" | "mobile" | "desktop";
|
|
121
121
|
regions: {
|
|
122
|
-
name: string;
|
|
123
122
|
size: string;
|
|
123
|
+
name: string;
|
|
124
124
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
125
125
|
collapsible?: boolean | undefined;
|
|
126
126
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -307,7 +307,7 @@ export declare const SectionPatternTokenSchema: z.ZodObject<{
|
|
|
307
307
|
}>>;
|
|
308
308
|
tokenBindings: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
|
-
type: "
|
|
310
|
+
type: "grid" | "flex" | "split" | "stack" | "container";
|
|
311
311
|
css: {
|
|
312
312
|
display: "grid" | "flex";
|
|
313
313
|
padding?: string | undefined;
|
|
@@ -334,7 +334,7 @@ export declare const SectionPatternTokenSchema: z.ZodObject<{
|
|
|
334
334
|
description: string;
|
|
335
335
|
tokenBindings: Record<string, string>;
|
|
336
336
|
}, {
|
|
337
|
-
type: "
|
|
337
|
+
type: "grid" | "flex" | "split" | "stack" | "container";
|
|
338
338
|
css: {
|
|
339
339
|
display: "grid" | "flex";
|
|
340
340
|
padding?: string | undefined;
|
|
@@ -782,14 +782,14 @@ export declare const MobileShellTokenSchema: z.ZodObject<{
|
|
|
782
782
|
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
783
783
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
784
784
|
}, "strip", z.ZodTypeAny, {
|
|
785
|
-
name: string;
|
|
786
785
|
size: string;
|
|
786
|
+
name: string;
|
|
787
787
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
788
788
|
collapsible?: boolean | undefined;
|
|
789
789
|
defaultCollapsed?: boolean | undefined;
|
|
790
790
|
}, {
|
|
791
|
-
name: string;
|
|
792
791
|
size: string;
|
|
792
|
+
name: string;
|
|
793
793
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
794
794
|
collapsible?: boolean | undefined;
|
|
795
795
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -1066,8 +1066,8 @@ export declare const MobileShellTokenSchema: z.ZodObject<{
|
|
|
1066
1066
|
};
|
|
1067
1067
|
platform: "mobile";
|
|
1068
1068
|
regions: {
|
|
1069
|
-
name: string;
|
|
1070
1069
|
size: string;
|
|
1070
|
+
name: string;
|
|
1071
1071
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
1072
1072
|
collapsible?: boolean | undefined;
|
|
1073
1073
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -1144,8 +1144,8 @@ export declare const MobileShellTokenSchema: z.ZodObject<{
|
|
|
1144
1144
|
};
|
|
1145
1145
|
platform: "mobile";
|
|
1146
1146
|
regions: {
|
|
1147
|
-
name: string;
|
|
1148
1147
|
size: string;
|
|
1148
|
+
name: string;
|
|
1149
1149
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
1150
1150
|
collapsible?: boolean | undefined;
|
|
1151
1151
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -1302,14 +1302,14 @@ export declare const LLMShellInputSchema: z.ZodObject<{
|
|
|
1302
1302
|
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
1303
1303
|
defaultCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
1304
1304
|
}, "strip", z.ZodTypeAny, {
|
|
1305
|
-
name: string;
|
|
1306
1305
|
size: string;
|
|
1306
|
+
name: string;
|
|
1307
1307
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
1308
1308
|
collapsible?: boolean | undefined;
|
|
1309
1309
|
defaultCollapsed?: boolean | undefined;
|
|
1310
1310
|
}, {
|
|
1311
|
-
name: string;
|
|
1312
1311
|
size: string;
|
|
1312
|
+
name: string;
|
|
1313
1313
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
1314
1314
|
collapsible?: boolean | undefined;
|
|
1315
1315
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -1318,8 +1318,8 @@ export declare const LLMShellInputSchema: z.ZodObject<{
|
|
|
1318
1318
|
id: string;
|
|
1319
1319
|
platform: "web" | "mobile" | "desktop";
|
|
1320
1320
|
regions: {
|
|
1321
|
-
name: string;
|
|
1322
1321
|
size: string;
|
|
1322
|
+
name: string;
|
|
1323
1323
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
1324
1324
|
collapsible?: boolean | undefined;
|
|
1325
1325
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -1328,8 +1328,8 @@ export declare const LLMShellInputSchema: z.ZodObject<{
|
|
|
1328
1328
|
id: string;
|
|
1329
1329
|
platform: "web" | "mobile" | "desktop";
|
|
1330
1330
|
regions: {
|
|
1331
|
-
name: string;
|
|
1332
1331
|
size: string;
|
|
1332
|
+
name: string;
|
|
1333
1333
|
position: "top" | "bottom" | "left" | "right" | "center";
|
|
1334
1334
|
collapsible?: boolean | undefined;
|
|
1335
1335
|
defaultCollapsed?: boolean | undefined;
|
|
@@ -1414,7 +1414,7 @@ export declare const LLMSectionInputSchema: z.ZodObject<{
|
|
|
1414
1414
|
maxWidth?: string | undefined;
|
|
1415
1415
|
}>;
|
|
1416
1416
|
}, "strip", z.ZodTypeAny, {
|
|
1417
|
-
type: "
|
|
1417
|
+
type: "grid" | "flex" | "split" | "stack" | "container";
|
|
1418
1418
|
css: {
|
|
1419
1419
|
display: "grid" | "flex";
|
|
1420
1420
|
padding?: string | undefined;
|
|
@@ -1428,7 +1428,7 @@ export declare const LLMSectionInputSchema: z.ZodObject<{
|
|
|
1428
1428
|
};
|
|
1429
1429
|
id: string;
|
|
1430
1430
|
}, {
|
|
1431
|
-
type: "
|
|
1431
|
+
type: "grid" | "flex" | "split" | "stack" | "container";
|
|
1432
1432
|
css: {
|
|
1433
1433
|
display: "grid" | "flex";
|
|
1434
1434
|
padding?: string | undefined;
|
|
@@ -16,15 +16,15 @@ export declare const PropDefinitionSchema: z.ZodObject<{
|
|
|
16
16
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
17
17
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
name: string;
|
|
20
19
|
type: string;
|
|
20
|
+
name: string;
|
|
21
21
|
description: string;
|
|
22
22
|
required: boolean;
|
|
23
23
|
options?: string[] | undefined;
|
|
24
24
|
defaultValue?: unknown;
|
|
25
25
|
}, {
|
|
26
|
-
name: string;
|
|
27
26
|
type: string;
|
|
27
|
+
name: string;
|
|
28
28
|
description: string;
|
|
29
29
|
required: boolean;
|
|
30
30
|
options?: string[] | undefined;
|
|
@@ -73,15 +73,15 @@ export declare const ComponentSchemaZod: z.ZodObject<{
|
|
|
73
73
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
74
74
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
name: string;
|
|
77
76
|
type: string;
|
|
77
|
+
name: string;
|
|
78
78
|
description: string;
|
|
79
79
|
required: boolean;
|
|
80
80
|
options?: string[] | undefined;
|
|
81
81
|
defaultValue?: unknown;
|
|
82
82
|
}, {
|
|
83
|
-
name: string;
|
|
84
83
|
type: string;
|
|
84
|
+
name: string;
|
|
85
85
|
description: string;
|
|
86
86
|
required: boolean;
|
|
87
87
|
options?: string[] | undefined;
|
|
@@ -115,8 +115,8 @@ export declare const ComponentSchemaZod: z.ZodObject<{
|
|
|
115
115
|
type: string;
|
|
116
116
|
tokenBindings: Record<string, string>;
|
|
117
117
|
props: {
|
|
118
|
-
name: string;
|
|
119
118
|
type: string;
|
|
119
|
+
name: string;
|
|
120
120
|
description: string;
|
|
121
121
|
required: boolean;
|
|
122
122
|
options?: string[] | undefined;
|
|
@@ -136,8 +136,8 @@ export declare const ComponentSchemaZod: z.ZodObject<{
|
|
|
136
136
|
type: string;
|
|
137
137
|
tokenBindings: Record<string, string>;
|
|
138
138
|
props: {
|
|
139
|
-
name: string;
|
|
140
139
|
type: string;
|
|
140
|
+
name: string;
|
|
141
141
|
description: string;
|
|
142
142
|
required: boolean;
|
|
143
143
|
options?: string[] | undefined;
|
|
@@ -174,10 +174,10 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
174
174
|
tags?: string[] | undefined;
|
|
175
175
|
}>>;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
page: string;
|
|
178
177
|
name: string;
|
|
179
178
|
id: string;
|
|
180
179
|
shell: string;
|
|
180
|
+
page: string;
|
|
181
181
|
sections: {
|
|
182
182
|
id: string;
|
|
183
183
|
pattern: string;
|
|
@@ -199,10 +199,10 @@ export declare const ScreenDefinitionSchema: z.ZodObject<{
|
|
|
199
199
|
tags?: string[] | undefined;
|
|
200
200
|
} | undefined;
|
|
201
201
|
}, {
|
|
202
|
-
page: string;
|
|
203
202
|
name: string;
|
|
204
203
|
id: string;
|
|
205
204
|
shell: string;
|
|
205
|
+
page: string;
|
|
206
206
|
sections: {
|
|
207
207
|
id: string;
|
|
208
208
|
pattern: string;
|
|
@@ -68,16 +68,16 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
68
68
|
muted: z.ZodString;
|
|
69
69
|
inverse: z.ZodString;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
page: string;
|
|
72
71
|
muted: string;
|
|
73
72
|
inverse: string;
|
|
74
73
|
elevated: string;
|
|
74
|
+
page: string;
|
|
75
75
|
surface: string;
|
|
76
76
|
}, {
|
|
77
|
-
page: string;
|
|
78
77
|
muted: string;
|
|
79
78
|
inverse: string;
|
|
80
79
|
elevated: string;
|
|
80
|
+
page: string;
|
|
81
81
|
surface: string;
|
|
82
82
|
}>;
|
|
83
83
|
/** Foreground (text) colors with semantic meaning */
|
|
@@ -136,10 +136,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
136
136
|
}>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
background: {
|
|
139
|
-
page: string;
|
|
140
139
|
muted: string;
|
|
141
140
|
inverse: string;
|
|
142
141
|
elevated: string;
|
|
142
|
+
page: string;
|
|
143
143
|
surface: string;
|
|
144
144
|
};
|
|
145
145
|
foreground: {
|
|
@@ -163,10 +163,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
163
163
|
};
|
|
164
164
|
}, {
|
|
165
165
|
background: {
|
|
166
|
-
page: string;
|
|
167
166
|
muted: string;
|
|
168
167
|
inverse: string;
|
|
169
168
|
elevated: string;
|
|
169
|
+
page: string;
|
|
170
170
|
surface: string;
|
|
171
171
|
};
|
|
172
172
|
foreground: {
|
|
@@ -206,10 +206,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
206
206
|
};
|
|
207
207
|
semantic: {
|
|
208
208
|
background: {
|
|
209
|
-
page: string;
|
|
210
209
|
muted: string;
|
|
211
210
|
inverse: string;
|
|
212
211
|
elevated: string;
|
|
212
|
+
page: string;
|
|
213
213
|
surface: string;
|
|
214
214
|
};
|
|
215
215
|
foreground: {
|
|
@@ -248,10 +248,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
248
248
|
};
|
|
249
249
|
semantic: {
|
|
250
250
|
background: {
|
|
251
|
-
page: string;
|
|
252
251
|
muted: string;
|
|
253
252
|
inverse: string;
|
|
254
253
|
elevated: string;
|
|
254
|
+
page: string;
|
|
255
255
|
surface: string;
|
|
256
256
|
};
|
|
257
257
|
foreground: {
|
|
@@ -315,10 +315,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
315
315
|
};
|
|
316
316
|
semantic: {
|
|
317
317
|
background: {
|
|
318
|
-
page: string;
|
|
319
318
|
muted: string;
|
|
320
319
|
inverse: string;
|
|
321
320
|
elevated: string;
|
|
321
|
+
page: string;
|
|
322
322
|
surface: string;
|
|
323
323
|
};
|
|
324
324
|
foreground: {
|
|
@@ -365,10 +365,10 @@ export declare const ThemeWithTokensSchema: z.ZodObject<{
|
|
|
365
365
|
};
|
|
366
366
|
semantic: {
|
|
367
367
|
background: {
|
|
368
|
-
page: string;
|
|
369
368
|
muted: string;
|
|
370
369
|
inverse: string;
|
|
371
370
|
elevated: string;
|
|
371
|
+
page: string;
|
|
372
372
|
surface: string;
|
|
373
373
|
};
|
|
374
374
|
foreground: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@framingui/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "Core design system pipeline: Theme -> Blueprint -> Screen (~800 LOC)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"license": "MIT",
|
|
50
50
|
"scripts": {
|
|
51
|
-
"build": "tsc && node ./scripts/copy-bundled-generated-data.mjs",
|
|
51
|
+
"build": "node ./scripts/prepare-build.mjs && tsc && node ./scripts/copy-bundled-generated-data.mjs",
|
|
52
52
|
"test": "vitest run",
|
|
53
53
|
"test:watch": "vitest",
|
|
54
54
|
"test:coverage": "vitest run --coverage",
|