@surrealdb/ui 1.0.93 → 1.0.95
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/CLAUDE.md +1 -1
- package/dist/icons.d.ts +480 -0
- package/dist/icons.js +173 -0
- package/dist/icons.js.map +1 -0
- package/dist/ui.css +1 -1
- package/dist/ui.d.ts +69 -53
- package/dist/ui.js +4797 -4768
- package/dist/ui.js.map +1 -1
- package/dist/yoopta.css +1 -1
- package/dist/yoopta.d.ts +14 -14
- package/package.json +5 -1
- package/tools/icon-parser.ts +9 -4
package/CLAUDE.md
CHANGED
|
@@ -57,7 +57,7 @@ src/
|
|
|
57
57
|
├── assets/ # Static assets: brand SVGs, picto WebPs, global SCSS styles
|
|
58
58
|
├── constants/ # Generated/static constants (icons.ts, brands.ts, pictos.ts)
|
|
59
59
|
├── editor/ # CodeMirror editor setup: extensions, keybinds, commands, theme
|
|
60
|
-
├── helpers/ # Utility functions (clsx,
|
|
60
|
+
├── helpers/ # Utility functions (clsx, CDN URL helper, ID generator)
|
|
61
61
|
├── hooks/ # React hooks (useEditor, useStable, useLater, useSort, useSwitch)
|
|
62
62
|
├── lib/
|
|
63
63
|
│ ├── markdown/ # Custom stack-based markdown parser and React renderer
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
export declare const Account: string;
|
|
2
|
+
|
|
3
|
+
export declare const AccountPlus: string;
|
|
4
|
+
|
|
5
|
+
export declare const AccountSecure: string;
|
|
6
|
+
|
|
7
|
+
export declare const Alert: string;
|
|
8
|
+
|
|
9
|
+
export declare const API: string;
|
|
10
|
+
|
|
11
|
+
export declare const ArrowDownFat: string;
|
|
12
|
+
|
|
13
|
+
export declare const ArrowLeft: string;
|
|
14
|
+
|
|
15
|
+
export declare const ArrowLeftFat: string;
|
|
16
|
+
|
|
17
|
+
export declare const ArrowUpRight: string;
|
|
18
|
+
|
|
19
|
+
export declare const Auth: string;
|
|
20
|
+
|
|
21
|
+
export declare const AuthKeyhole: string;
|
|
22
|
+
|
|
23
|
+
export declare const AutoFix: string;
|
|
24
|
+
|
|
25
|
+
export declare const Balance: string;
|
|
26
|
+
|
|
27
|
+
export declare const Book: string;
|
|
28
|
+
|
|
29
|
+
export declare const Braces: string;
|
|
30
|
+
|
|
31
|
+
export declare const BrandBluesky: string;
|
|
32
|
+
|
|
33
|
+
export declare const BrandDev: string;
|
|
34
|
+
|
|
35
|
+
export declare const BrandDiscord: string;
|
|
36
|
+
|
|
37
|
+
export declare const BrandGitHub: string;
|
|
38
|
+
|
|
39
|
+
export declare const BrandInstagram: string;
|
|
40
|
+
|
|
41
|
+
export declare const BrandLinkedin: string;
|
|
42
|
+
|
|
43
|
+
export declare const BrandMedium: string;
|
|
44
|
+
|
|
45
|
+
export declare const BrandReddit: string;
|
|
46
|
+
|
|
47
|
+
export declare const BrandStackOverflow: string;
|
|
48
|
+
|
|
49
|
+
export declare const BrandX: string;
|
|
50
|
+
|
|
51
|
+
export declare const BrandYouTube: string;
|
|
52
|
+
|
|
53
|
+
export declare const BroadcastOff: string;
|
|
54
|
+
|
|
55
|
+
export declare const BroadcastOn: string;
|
|
56
|
+
|
|
57
|
+
export declare const Bug: string;
|
|
58
|
+
|
|
59
|
+
export declare const Bullhorn: string;
|
|
60
|
+
|
|
61
|
+
export declare const Calculator: string;
|
|
62
|
+
|
|
63
|
+
export declare const Cancel: string;
|
|
64
|
+
|
|
65
|
+
export declare const Chart: string;
|
|
66
|
+
|
|
67
|
+
export declare const Chat: string;
|
|
68
|
+
|
|
69
|
+
export declare const ChatGPT: string;
|
|
70
|
+
|
|
71
|
+
export declare const Check: string;
|
|
72
|
+
|
|
73
|
+
export declare const CheckCircle: string;
|
|
74
|
+
|
|
75
|
+
export declare const ChevronDown: string;
|
|
76
|
+
|
|
77
|
+
export declare const ChevronLeft: string;
|
|
78
|
+
|
|
79
|
+
export declare const ChevronRight: string;
|
|
80
|
+
|
|
81
|
+
export declare const ChevronUp: string;
|
|
82
|
+
|
|
83
|
+
export declare const ChevronY: string;
|
|
84
|
+
|
|
85
|
+
export declare const Circle: string;
|
|
86
|
+
|
|
87
|
+
export declare const CircleFilled: string;
|
|
88
|
+
|
|
89
|
+
export declare const Claude: string;
|
|
90
|
+
|
|
91
|
+
export declare const Clock: string;
|
|
92
|
+
|
|
93
|
+
export declare const Close: string;
|
|
94
|
+
|
|
95
|
+
export declare const Cloud: string;
|
|
96
|
+
|
|
97
|
+
export declare const CloudClock: string;
|
|
98
|
+
|
|
99
|
+
export declare const Cog: string;
|
|
100
|
+
|
|
101
|
+
export declare const Combined: string;
|
|
102
|
+
|
|
103
|
+
export declare const Command: string;
|
|
104
|
+
|
|
105
|
+
declare const Comment_2: string;
|
|
106
|
+
export { Comment_2 as Comment }
|
|
107
|
+
|
|
108
|
+
export declare const Community: string;
|
|
109
|
+
|
|
110
|
+
declare const Console_2: string;
|
|
111
|
+
export { Console_2 as Console }
|
|
112
|
+
|
|
113
|
+
export declare const Copy: string;
|
|
114
|
+
|
|
115
|
+
export declare const CreditCard: string;
|
|
116
|
+
|
|
117
|
+
export declare const Cursor: string;
|
|
118
|
+
|
|
119
|
+
export declare const Database: string;
|
|
120
|
+
|
|
121
|
+
export declare const DatabaseSecure: string;
|
|
122
|
+
|
|
123
|
+
export declare const DataTable: string;
|
|
124
|
+
|
|
125
|
+
export declare const Delete: string;
|
|
126
|
+
|
|
127
|
+
export declare const Designer: string;
|
|
128
|
+
|
|
129
|
+
export declare const Discord: string;
|
|
130
|
+
|
|
131
|
+
export declare const Dollar: string;
|
|
132
|
+
|
|
133
|
+
export declare const DotsVertical: string;
|
|
134
|
+
|
|
135
|
+
export declare const Download: string;
|
|
136
|
+
|
|
137
|
+
export declare const Drag: string;
|
|
138
|
+
|
|
139
|
+
export declare const Edit: string;
|
|
140
|
+
|
|
141
|
+
export declare const Email: string;
|
|
142
|
+
|
|
143
|
+
export declare const ErrorCircle: string;
|
|
144
|
+
|
|
145
|
+
export declare const ExitToAp: string;
|
|
146
|
+
|
|
147
|
+
export declare const Explorer: string;
|
|
148
|
+
|
|
149
|
+
export declare const Eye: string;
|
|
150
|
+
|
|
151
|
+
export declare const EyeOff: string;
|
|
152
|
+
|
|
153
|
+
declare const File_2: string;
|
|
154
|
+
export { File_2 as File }
|
|
155
|
+
|
|
156
|
+
export declare const Filter: string;
|
|
157
|
+
|
|
158
|
+
export declare const Flag: string;
|
|
159
|
+
|
|
160
|
+
export declare const Floppy: string;
|
|
161
|
+
|
|
162
|
+
export declare const FolderPlus: string;
|
|
163
|
+
|
|
164
|
+
export declare const FolderSecure: string;
|
|
165
|
+
|
|
166
|
+
export declare const Fullscreen: string;
|
|
167
|
+
|
|
168
|
+
declare const Function_2: string;
|
|
169
|
+
export { Function_2 as Function }
|
|
170
|
+
|
|
171
|
+
export declare const Graphql: string;
|
|
172
|
+
|
|
173
|
+
export declare const Grid: string;
|
|
174
|
+
|
|
175
|
+
export declare const Hammer: string;
|
|
176
|
+
|
|
177
|
+
export declare const Heart: string;
|
|
178
|
+
|
|
179
|
+
export declare const Help: string;
|
|
180
|
+
|
|
181
|
+
declare const History_2: string;
|
|
182
|
+
export { History_2 as History }
|
|
183
|
+
|
|
184
|
+
export declare const Home: string;
|
|
185
|
+
|
|
186
|
+
export declare const HomePlus: string;
|
|
187
|
+
|
|
188
|
+
declare const Image_2: string;
|
|
189
|
+
export { Image_2 as Image }
|
|
190
|
+
|
|
191
|
+
export declare const Inbox: string;
|
|
192
|
+
|
|
193
|
+
export declare const Index: string;
|
|
194
|
+
|
|
195
|
+
export declare const Info: string;
|
|
196
|
+
|
|
197
|
+
declare const JSON_2: string;
|
|
198
|
+
export { JSON_2 as JSON }
|
|
199
|
+
|
|
200
|
+
export declare const Key: string;
|
|
201
|
+
|
|
202
|
+
export declare const KeyboardControl: string;
|
|
203
|
+
|
|
204
|
+
export declare const KeyboardOption: string;
|
|
205
|
+
|
|
206
|
+
export declare const KeyboardShift: string;
|
|
207
|
+
|
|
208
|
+
export declare const List: string;
|
|
209
|
+
|
|
210
|
+
export declare const Live: string;
|
|
211
|
+
|
|
212
|
+
export declare const MagnifyMinus: string;
|
|
213
|
+
|
|
214
|
+
export declare const MagnifyPlus: string;
|
|
215
|
+
|
|
216
|
+
export declare const Marker: string;
|
|
217
|
+
|
|
218
|
+
export declare const Maximize: string;
|
|
219
|
+
|
|
220
|
+
export declare const Memory: string;
|
|
221
|
+
|
|
222
|
+
export declare const Minimize: string;
|
|
223
|
+
|
|
224
|
+
export declare const Minus: string;
|
|
225
|
+
|
|
226
|
+
export declare const Model: string;
|
|
227
|
+
|
|
228
|
+
export declare const ModuleML: string;
|
|
229
|
+
|
|
230
|
+
export declare const Moon: string;
|
|
231
|
+
|
|
232
|
+
export declare const Mute: string;
|
|
233
|
+
|
|
234
|
+
export declare const Namespace: string;
|
|
235
|
+
|
|
236
|
+
export declare const Newspaper: string;
|
|
237
|
+
|
|
238
|
+
export declare const Open: string;
|
|
239
|
+
|
|
240
|
+
export declare const OpenFolder: string;
|
|
241
|
+
|
|
242
|
+
export declare const Organization: string;
|
|
243
|
+
|
|
244
|
+
export declare const PackageClosed: string;
|
|
245
|
+
|
|
246
|
+
export declare const Paperclip: string;
|
|
247
|
+
|
|
248
|
+
export declare const Pause: string;
|
|
249
|
+
|
|
250
|
+
export declare const Pin: string;
|
|
251
|
+
|
|
252
|
+
export declare const PinOff: string;
|
|
253
|
+
|
|
254
|
+
export declare const Play: string;
|
|
255
|
+
|
|
256
|
+
export declare const Plus: string;
|
|
257
|
+
|
|
258
|
+
export declare const Power: string;
|
|
259
|
+
|
|
260
|
+
export declare const ProgressClock: string;
|
|
261
|
+
|
|
262
|
+
export declare const Query: string;
|
|
263
|
+
|
|
264
|
+
export declare const Referral: string;
|
|
265
|
+
|
|
266
|
+
export declare const Refresh: string;
|
|
267
|
+
|
|
268
|
+
export declare const Relation: string;
|
|
269
|
+
|
|
270
|
+
export declare const RelationIn: string;
|
|
271
|
+
|
|
272
|
+
export declare const RelationOut: string;
|
|
273
|
+
|
|
274
|
+
export declare const Reset: string;
|
|
275
|
+
|
|
276
|
+
export declare const Restore: string;
|
|
277
|
+
|
|
278
|
+
export declare const Routes: string;
|
|
279
|
+
|
|
280
|
+
export declare const Sandbox: string;
|
|
281
|
+
|
|
282
|
+
export declare const Search: string;
|
|
283
|
+
|
|
284
|
+
export declare const Send: string;
|
|
285
|
+
|
|
286
|
+
export declare const Server: string;
|
|
287
|
+
|
|
288
|
+
export declare const ServerSecure: string;
|
|
289
|
+
|
|
290
|
+
export declare const Sidebar: string;
|
|
291
|
+
|
|
292
|
+
export declare const Sidekick: string;
|
|
293
|
+
|
|
294
|
+
export declare const Star: string;
|
|
295
|
+
|
|
296
|
+
export declare const StarPlus: string;
|
|
297
|
+
|
|
298
|
+
export declare const Stop: string;
|
|
299
|
+
|
|
300
|
+
export declare const Sun: string;
|
|
301
|
+
|
|
302
|
+
export declare const Surreal: string;
|
|
303
|
+
|
|
304
|
+
export declare const Surrealist: string;
|
|
305
|
+
|
|
306
|
+
export declare const Table: string;
|
|
307
|
+
|
|
308
|
+
export declare const Tag: string;
|
|
309
|
+
|
|
310
|
+
export declare const Target: string;
|
|
311
|
+
|
|
312
|
+
declare const Text_2: string;
|
|
313
|
+
export { Text_2 as Text }
|
|
314
|
+
|
|
315
|
+
export declare const TextBox: string;
|
|
316
|
+
|
|
317
|
+
export declare const TextBoxMinus: string;
|
|
318
|
+
|
|
319
|
+
export declare const TextBoxPlus: string;
|
|
320
|
+
|
|
321
|
+
export declare const Transfer: string;
|
|
322
|
+
|
|
323
|
+
export declare const Trash: string;
|
|
324
|
+
|
|
325
|
+
export declare const Tune: string;
|
|
326
|
+
|
|
327
|
+
export declare const University: string;
|
|
328
|
+
|
|
329
|
+
export declare const Unmute: string;
|
|
330
|
+
|
|
331
|
+
export declare const Upload: string;
|
|
332
|
+
|
|
333
|
+
export declare const Variable: string;
|
|
334
|
+
|
|
335
|
+
export declare const Video: string;
|
|
336
|
+
|
|
337
|
+
export declare const ViewGrid: string;
|
|
338
|
+
|
|
339
|
+
export declare const ViewList: string;
|
|
340
|
+
|
|
341
|
+
export declare const Warning: string;
|
|
342
|
+
|
|
343
|
+
export declare const Wrench: string;
|
|
344
|
+
|
|
345
|
+
export declare const Xml: string;
|
|
346
|
+
|
|
347
|
+
export { }
|
|
348
|
+
|
|
349
|
+
declare module "@mantine/core" {
|
|
350
|
+
type SurrealVariant = "surreal";
|
|
351
|
+
type SurrealInputVariant = SurrealVariant | "gradient";
|
|
352
|
+
interface ActionIconProps {
|
|
353
|
+
variant?: import("@mantine/core").ActionIconVariant | SurrealVariant;
|
|
354
|
+
}
|
|
355
|
+
interface ThemeIconProps {
|
|
356
|
+
variant?: import("@mantine/core").ThemeIconVariant | SurrealVariant;
|
|
357
|
+
}
|
|
358
|
+
interface ButtonProps {
|
|
359
|
+
variant?: import("@mantine/core").ButtonVariant | SurrealVariant;
|
|
360
|
+
}
|
|
361
|
+
interface TextInputProps {
|
|
362
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
363
|
+
}
|
|
364
|
+
interface InputBaseProps {
|
|
365
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
366
|
+
}
|
|
367
|
+
interface AutocompleteProps {
|
|
368
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
369
|
+
}
|
|
370
|
+
interface TextareaProps {
|
|
371
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
372
|
+
}
|
|
373
|
+
interface NumberInputProps {
|
|
374
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
375
|
+
}
|
|
376
|
+
interface TagsInputProps {
|
|
377
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
378
|
+
}
|
|
379
|
+
interface MultiSelectProps {
|
|
380
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
381
|
+
}
|
|
382
|
+
interface DividerProps {
|
|
383
|
+
variant?: import("@mantine/core").DividerVariant | SurrealVariant;
|
|
384
|
+
}
|
|
385
|
+
interface CloseButtonProps {
|
|
386
|
+
variant?: import("@mantine/core").CloseButtonVariant | SurrealVariant;
|
|
387
|
+
}
|
|
388
|
+
interface AnchorProps {
|
|
389
|
+
variant?: import("@mantine/core").AnchorVariant | SurrealVariant | "glow" | "vibrant";
|
|
390
|
+
}
|
|
391
|
+
interface SelectProps {
|
|
392
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
393
|
+
}
|
|
394
|
+
interface BadgeProps {
|
|
395
|
+
variant?: import("@mantine/core").BadgeVariant | SurrealVariant;
|
|
396
|
+
}
|
|
397
|
+
interface CheckboxProps {
|
|
398
|
+
variant?: import("@mantine/core").CheckboxVariant | SurrealVariant | "gradient";
|
|
399
|
+
}
|
|
400
|
+
interface RadioProps {
|
|
401
|
+
variant?: import("@mantine/core").RadioVariant | SurrealVariant | "gradient";
|
|
402
|
+
}
|
|
403
|
+
interface PasswordInputProps {
|
|
404
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
405
|
+
}
|
|
406
|
+
interface PinInputProps {
|
|
407
|
+
variant?: import("@mantine/core").InputVariant | SurrealInputVariant;
|
|
408
|
+
}
|
|
409
|
+
interface NavLinkProps {
|
|
410
|
+
variant?: import("@mantine/core").NavLinkVariant | SurrealVariant;
|
|
411
|
+
}
|
|
412
|
+
interface PaperProps {
|
|
413
|
+
variant?: SurrealVariant | "glass" | "gradient";
|
|
414
|
+
}
|
|
415
|
+
interface ScrollAreaProps {
|
|
416
|
+
variant?: SurrealVariant;
|
|
417
|
+
}
|
|
418
|
+
interface TooltipProps {
|
|
419
|
+
variant?: SurrealVariant;
|
|
420
|
+
}
|
|
421
|
+
interface PopoverDropdownProps {
|
|
422
|
+
variant?: SurrealVariant | "transparent";
|
|
423
|
+
}
|
|
424
|
+
interface HoverCardDropdownProps {
|
|
425
|
+
variant?: SurrealVariant | "transparent";
|
|
426
|
+
}
|
|
427
|
+
interface MenuDropdownProps {
|
|
428
|
+
variant?: SurrealVariant;
|
|
429
|
+
}
|
|
430
|
+
interface LoaderProps {
|
|
431
|
+
variant?: SurrealVariant;
|
|
432
|
+
}
|
|
433
|
+
interface ModalProps {
|
|
434
|
+
variant?: SurrealVariant | "glass";
|
|
435
|
+
}
|
|
436
|
+
interface OverlayProps {
|
|
437
|
+
variant?: SurrealVariant;
|
|
438
|
+
}
|
|
439
|
+
interface SkeletonProps {
|
|
440
|
+
variant?: SurrealVariant;
|
|
441
|
+
}
|
|
442
|
+
interface SegmentedControlProps {
|
|
443
|
+
variant?: SurrealVariant;
|
|
444
|
+
}
|
|
445
|
+
interface KbdProps {
|
|
446
|
+
variant?: SurrealVariant;
|
|
447
|
+
}
|
|
448
|
+
interface SwitchProps {
|
|
449
|
+
variant?: SurrealVariant | "gradient";
|
|
450
|
+
}
|
|
451
|
+
interface TitleProps {
|
|
452
|
+
variant?: "gradient" | "surreal-gradient";
|
|
453
|
+
}
|
|
454
|
+
interface PaginationProps {
|
|
455
|
+
variant?: SurrealVariant;
|
|
456
|
+
}
|
|
457
|
+
interface TabsProps {
|
|
458
|
+
variant?: "default" | "outline" | "pills" | "gradient";
|
|
459
|
+
}
|
|
460
|
+
interface TableProps {
|
|
461
|
+
variant?: SurrealVariant;
|
|
462
|
+
}
|
|
463
|
+
interface NotificationProps {
|
|
464
|
+
variant?: SurrealVariant | "spaced";
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
declare module "@mantine/core" {
|
|
469
|
+
type ExtendedCustomSizes = import("@mantine/core").DefaultMantineSize | "2xl" | "3xl";
|
|
470
|
+
interface MantineThemeSizesOverride {
|
|
471
|
+
spacing: Record<ExtendedCustomSizes, string>;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
declare module "@mantine/core" {
|
|
476
|
+
type ExtendedCustomColors = "obsidian" | "slate" | import("@mantine/core").DefaultMantineColor;
|
|
477
|
+
interface MantineThemeColorsOverride {
|
|
478
|
+
colors: Record<ExtendedCustomColors, import("@mantine/core").MantineColorsTuple>;
|
|
479
|
+
}
|
|
480
|
+
}
|