@nikala-ui/core 0.10.1 → 0.11.0-nightly.6d37b87
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/package.json +21 -2
- package/registry/banner.json +1 -1
- package/registry/bubble.json +18 -0
- package/registry/button-group.json +20 -0
- package/registry/button.json +1 -1
- package/registry/checkbox.json +4 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +3 -2
- package/registry/context-menu.json +1 -1
- package/registry/create-app-updater.json +13 -0
- package/registry/create-chat-scroll.json +13 -0
- package/registry/create-document-tabs.json +13 -0
- package/registry/create-drop-zone.json +13 -0
- package/registry/create-global-shortcut.json +13 -0
- package/registry/create-pagination.json +13 -0
- package/registry/create-tauri-window.json +13 -0
- package/registry/create-tiptap-editor.json +34 -0
- package/registry/dialog.json +1 -1
- package/registry/dropdown-menu.json +3 -2
- package/registry/dropzone.json +21 -0
- package/registry/field.json +1 -1
- package/registry/footer.json +18 -0
- package/registry/forgot-password-01.json +28 -0
- package/registry/form-message.json +3 -2
- package/registry/hero-01.json +22 -0
- package/registry/icon-button.json +1 -1
- package/registry/index.json +492 -5
- package/registry/login-01.json +28 -0
- package/registry/marker.json +17 -0
- package/registry/marquee.json +17 -0
- package/registry/message.json +17 -0
- package/registry/navbar.json +19 -0
- package/registry/navigation-menu.json +22 -0
- package/registry/number-input.json +1 -1
- package/registry/otp-verification-01.json +26 -0
- package/registry/pagination.json +22 -0
- package/registry/popover.json +4 -1
- package/registry/rating.json +19 -0
- package/registry/register-01.json +31 -0
- package/registry/resizable.json +1 -1
- package/registry/review-card.json +23 -0
- package/registry/rich-text-editor.json +95 -0
- package/registry/scroll-area.json +1 -1
- package/registry/select.json +3 -2
- package/registry/sheet.json +1 -1
- package/registry/sidebar.json +24 -0
- package/registry/spinner.json +1 -1
- package/registry/stat.json +19 -0
- package/registry/status.json +1 -1
- package/registry/switch.json +4 -1
- package/registry/table.json +17 -0
- package/registry/tabs.json +4 -1
- package/registry/theme-manager.json +6 -5
- package/registry/timeline.json +18 -0
- package/registry/titlebar-tabs.json +24 -0
- package/registry/titlebar.json +26 -0
- package/registry/toggle-group.json +21 -0
- package/registry/updater-modal.json +26 -0
- package/src/registry/blocks/forgot-password-01.tsx +141 -0
- package/src/registry/blocks/hero-01.tsx +28 -0
- package/src/registry/blocks/login-01.tsx +231 -0
- package/src/registry/blocks/otp-verification-01.tsx +170 -0
- package/src/registry/blocks/register-01.tsx +318 -0
- package/src/registry/components/ui/banner.tsx +0 -2
- package/src/registry/components/ui/bubble.tsx +142 -0
- package/src/registry/components/ui/button-group.tsx +42 -0
- package/src/registry/components/ui/button.tsx +1 -1
- package/src/registry/components/ui/checkbox.tsx +1 -1
- package/src/registry/components/ui/combobox.tsx +83 -18
- package/src/registry/components/ui/command.tsx +110 -106
- package/src/registry/components/ui/context-menu.tsx +67 -22
- package/src/registry/components/ui/dialog.tsx +42 -32
- package/src/registry/components/ui/dropdown-menu.tsx +69 -31
- package/src/registry/components/ui/dropzone.tsx +189 -0
- package/src/registry/components/ui/field.tsx +7 -3
- package/src/registry/components/ui/footer.tsx +247 -0
- package/src/registry/components/ui/form-message.tsx +2 -2
- package/src/registry/components/ui/icon-button.tsx +1 -1
- package/src/registry/components/ui/marker.tsx +102 -0
- package/src/registry/components/ui/marquee.tsx +118 -0
- package/src/registry/components/ui/message.tsx +168 -0
- package/src/registry/components/ui/navbar.tsx +375 -0
- package/src/registry/components/ui/navigation-menu.tsx +358 -0
- package/src/registry/components/ui/number-input.tsx +3 -3
- package/src/registry/components/ui/pagination.tsx +258 -0
- package/src/registry/components/ui/popover.tsx +1 -1
- package/src/registry/components/ui/rating.tsx +185 -0
- package/src/registry/components/ui/resizable.tsx +3 -1
- package/src/registry/components/ui/review-card.tsx +195 -0
- package/src/registry/components/ui/rich-text-editor/bubble-menu.tsx +236 -0
- package/src/registry/components/ui/rich-text-editor/editor.tsx +308 -0
- package/src/registry/components/ui/rich-text-editor/extensions.ts +116 -0
- package/src/registry/components/ui/rich-text-editor/footer.tsx +36 -0
- package/src/registry/components/ui/rich-text-editor/image-dialog.tsx +75 -0
- package/src/registry/components/ui/rich-text-editor/index.ts +11 -0
- package/src/registry/components/ui/rich-text-editor/link-dialog.tsx +48 -0
- package/src/registry/components/ui/rich-text-editor/markdown.ts +170 -0
- package/src/registry/components/ui/rich-text-editor/slash-command.tsx +301 -0
- package/src/registry/components/ui/rich-text-editor/table-controls.tsx +68 -0
- package/src/registry/components/ui/rich-text-editor/toolbar.tsx +465 -0
- package/src/registry/components/ui/rich-text-editor/use-editor.ts +231 -0
- package/src/registry/components/ui/scroll-area.tsx +14 -4
- package/src/registry/components/ui/select.tsx +16 -19
- package/src/registry/components/ui/sheet.tsx +58 -53
- package/src/registry/components/ui/sidebar.tsx +692 -0
- package/src/registry/components/ui/spinner.tsx +1 -1
- package/src/registry/components/ui/stat.tsx +245 -0
- package/src/registry/components/ui/status.tsx +7 -5
- package/src/registry/components/ui/switch.tsx +1 -1
- package/src/registry/components/ui/table.tsx +160 -0
- package/src/registry/components/ui/tabs.tsx +1 -1
- package/src/registry/components/ui/theme-toggle.tsx +85 -84
- package/src/registry/components/ui/timeline.tsx +350 -0
- package/src/registry/components/ui/titlebar-tabs.tsx +418 -0
- package/src/registry/components/ui/titlebar.tsx +399 -0
- package/src/registry/components/ui/toggle-group.tsx +203 -0
- package/src/registry/components/ui/updater-modal.tsx +254 -0
- package/src/registry/index.ts +3 -3
- package/src/registry/metadata.ts +238 -5
- package/src/registry/providers/theme-provider.tsx +16 -8
- package/src/registry/providers/theme-script.tsx +29 -9
- package/src/registry/providers/theme-transitions.ts +81 -50
package/registry/index.json
CHANGED
|
@@ -74,6 +74,30 @@
|
|
|
74
74
|
"tailwind-merge"
|
|
75
75
|
]
|
|
76
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"name": "bubble",
|
|
79
|
+
"title": "Bubble",
|
|
80
|
+
"description": "Chat message bubble container supporting variants, grouped consecutive bubbles, and emoji reactions.",
|
|
81
|
+
"type": "registry:ui",
|
|
82
|
+
"dependencies": [
|
|
83
|
+
"clsx",
|
|
84
|
+
"tailwind-merge",
|
|
85
|
+
"class-variance-authority"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "button-group",
|
|
90
|
+
"title": "Button Group",
|
|
91
|
+
"description": "Groups related buttons into a connected horizontal or vertical control.",
|
|
92
|
+
"type": "registry:ui",
|
|
93
|
+
"dependencies": [
|
|
94
|
+
"clsx",
|
|
95
|
+
"tailwind-merge"
|
|
96
|
+
],
|
|
97
|
+
"registryDependencies": [
|
|
98
|
+
"button"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
77
101
|
{
|
|
78
102
|
"name": "button",
|
|
79
103
|
"title": "Button",
|
|
@@ -106,6 +130,9 @@
|
|
|
106
130
|
"dependencies": [
|
|
107
131
|
"clsx",
|
|
108
132
|
"tailwind-merge"
|
|
133
|
+
],
|
|
134
|
+
"registryDependencies": [
|
|
135
|
+
"create-controllable-signal"
|
|
109
136
|
]
|
|
110
137
|
},
|
|
111
138
|
{
|
|
@@ -149,7 +176,8 @@
|
|
|
149
176
|
"kbd",
|
|
150
177
|
"input-group",
|
|
151
178
|
"list",
|
|
152
|
-
"scroll-area"
|
|
179
|
+
"scroll-area",
|
|
180
|
+
"create-keybindings"
|
|
153
181
|
]
|
|
154
182
|
},
|
|
155
183
|
{
|
|
@@ -194,7 +222,22 @@
|
|
|
194
222
|
"@kobalte/core"
|
|
195
223
|
],
|
|
196
224
|
"registryDependencies": [
|
|
197
|
-
"scroll-area"
|
|
225
|
+
"scroll-area",
|
|
226
|
+
"create-click-outside"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "dropzone",
|
|
231
|
+
"title": "Dropzone",
|
|
232
|
+
"description": "A compound drag-and-drop file upload container with file list previews and validation feedback.",
|
|
233
|
+
"type": "registry:ui",
|
|
234
|
+
"dependencies": [
|
|
235
|
+
"clsx",
|
|
236
|
+
"tailwind-merge",
|
|
237
|
+
"lucide-solid"
|
|
238
|
+
],
|
|
239
|
+
"registryDependencies": [
|
|
240
|
+
"create-drop-zone"
|
|
198
241
|
]
|
|
199
242
|
},
|
|
200
243
|
{
|
|
@@ -220,13 +263,25 @@
|
|
|
220
263
|
"label"
|
|
221
264
|
]
|
|
222
265
|
},
|
|
266
|
+
{
|
|
267
|
+
"name": "footer",
|
|
268
|
+
"title": "Footer",
|
|
269
|
+
"description": "A responsive, accessible, and structured bottom navigation layout suite supporting multi-column link directories, brand sections, and newsletter inputs.",
|
|
270
|
+
"type": "registry:ui",
|
|
271
|
+
"dependencies": [
|
|
272
|
+
"clsx",
|
|
273
|
+
"tailwind-merge",
|
|
274
|
+
"class-variance-authority"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
223
277
|
{
|
|
224
278
|
"name": "form-message",
|
|
225
279
|
"title": "Form Message",
|
|
226
280
|
"description": "Validation message helper connected to createForm errors and touched state.",
|
|
227
281
|
"type": "registry:ui",
|
|
228
282
|
"registryDependencies": [
|
|
229
|
-
"field"
|
|
283
|
+
"field",
|
|
284
|
+
"create-form"
|
|
230
285
|
]
|
|
231
286
|
},
|
|
232
287
|
{
|
|
@@ -332,6 +387,63 @@
|
|
|
332
387
|
"tailwind-merge"
|
|
333
388
|
]
|
|
334
389
|
},
|
|
390
|
+
{
|
|
391
|
+
"name": "marker",
|
|
392
|
+
"title": "Marker",
|
|
393
|
+
"description": "System chat events, date dividers, and live typing indicator badges.",
|
|
394
|
+
"type": "registry:ui",
|
|
395
|
+
"dependencies": [
|
|
396
|
+
"clsx",
|
|
397
|
+
"tailwind-merge"
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "marquee",
|
|
402
|
+
"title": "Marquee",
|
|
403
|
+
"description": "A smooth, GPU-accelerated infinite scrolling ticker component for logo clouds, testimonials, and live ribbons.",
|
|
404
|
+
"type": "registry:ui",
|
|
405
|
+
"dependencies": [
|
|
406
|
+
"clsx",
|
|
407
|
+
"tailwind-merge"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "message",
|
|
412
|
+
"title": "Message",
|
|
413
|
+
"description": "A structured chat and conversation message layout with avatars, alignment, headers, footers, and actions.",
|
|
414
|
+
"type": "registry:ui",
|
|
415
|
+
"dependencies": [
|
|
416
|
+
"clsx",
|
|
417
|
+
"tailwind-merge"
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "navbar",
|
|
422
|
+
"title": "Navbar",
|
|
423
|
+
"description": "A responsive, accessible, and composable top navigation header suite supporting nested dropdown flyouts, floating card containers, and mobile navigation drawers.",
|
|
424
|
+
"type": "registry:ui",
|
|
425
|
+
"dependencies": [
|
|
426
|
+
"clsx",
|
|
427
|
+
"tailwind-merge",
|
|
428
|
+
"class-variance-authority",
|
|
429
|
+
"lucide-solid"
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "navigation-menu",
|
|
434
|
+
"title": "Navigation Menu",
|
|
435
|
+
"description": "A responsive and accessible top header navigation menu with mega-menu dropdowns and link previews.",
|
|
436
|
+
"type": "registry:ui",
|
|
437
|
+
"dependencies": [
|
|
438
|
+
"clsx",
|
|
439
|
+
"tailwind-merge",
|
|
440
|
+
"class-variance-authority",
|
|
441
|
+
"lucide-solid"
|
|
442
|
+
],
|
|
443
|
+
"registryDependencies": [
|
|
444
|
+
"create-click-outside"
|
|
445
|
+
]
|
|
446
|
+
},
|
|
335
447
|
{
|
|
336
448
|
"name": "number-input",
|
|
337
449
|
"title": "Number Input",
|
|
@@ -349,6 +461,21 @@
|
|
|
349
461
|
"create-long-press"
|
|
350
462
|
]
|
|
351
463
|
},
|
|
464
|
+
{
|
|
465
|
+
"name": "pagination",
|
|
466
|
+
"title": "Pagination",
|
|
467
|
+
"description": "An accessible multi-page navigation bar with previous, next, page numbers, and ellipsis controls.",
|
|
468
|
+
"type": "registry:ui",
|
|
469
|
+
"dependencies": [
|
|
470
|
+
"clsx",
|
|
471
|
+
"tailwind-merge",
|
|
472
|
+
"class-variance-authority",
|
|
473
|
+
"lucide-solid"
|
|
474
|
+
],
|
|
475
|
+
"registryDependencies": [
|
|
476
|
+
"create-pagination"
|
|
477
|
+
]
|
|
478
|
+
},
|
|
352
479
|
{
|
|
353
480
|
"name": "pin-input",
|
|
354
481
|
"title": "Pin Input",
|
|
@@ -369,6 +496,9 @@
|
|
|
369
496
|
"tailwind-merge",
|
|
370
497
|
"@kobalte/core",
|
|
371
498
|
"lucide-solid"
|
|
499
|
+
],
|
|
500
|
+
"registryDependencies": [
|
|
501
|
+
"create-click-outside"
|
|
372
502
|
]
|
|
373
503
|
},
|
|
374
504
|
{
|
|
@@ -393,6 +523,18 @@
|
|
|
393
523
|
"@kobalte/core"
|
|
394
524
|
]
|
|
395
525
|
},
|
|
526
|
+
{
|
|
527
|
+
"name": "rating",
|
|
528
|
+
"title": "Rating",
|
|
529
|
+
"description": "An accessible star rating component supporting interactive inputs, hover preview states, and read-only score badges.",
|
|
530
|
+
"type": "registry:ui",
|
|
531
|
+
"dependencies": [
|
|
532
|
+
"clsx",
|
|
533
|
+
"tailwind-merge",
|
|
534
|
+
"class-variance-authority",
|
|
535
|
+
"lucide-solid"
|
|
536
|
+
]
|
|
537
|
+
},
|
|
396
538
|
{
|
|
397
539
|
"name": "resizable",
|
|
398
540
|
"title": "Resizable",
|
|
@@ -407,6 +549,55 @@
|
|
|
407
549
|
"create-resize-observer"
|
|
408
550
|
]
|
|
409
551
|
},
|
|
552
|
+
{
|
|
553
|
+
"name": "review-card",
|
|
554
|
+
"title": "Review Card",
|
|
555
|
+
"description": "A versatile, structured card component for customer testimonials, product ratings, verified buyer badges, and social proof.",
|
|
556
|
+
"type": "registry:ui",
|
|
557
|
+
"dependencies": [
|
|
558
|
+
"clsx",
|
|
559
|
+
"tailwind-merge",
|
|
560
|
+
"class-variance-authority",
|
|
561
|
+
"lucide-solid"
|
|
562
|
+
],
|
|
563
|
+
"registryDependencies": [
|
|
564
|
+
"avatar",
|
|
565
|
+
"rating"
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "rich-text-editor",
|
|
570
|
+
"title": "Rich Text Editor",
|
|
571
|
+
"description": "A full-featured WYSIWYG rich text editor with toolbar, bubble formatting, tables, task lists, and image uploads built on Tiptap.",
|
|
572
|
+
"type": "registry:ui",
|
|
573
|
+
"dependencies": [
|
|
574
|
+
"@tiptap/core",
|
|
575
|
+
"@tiptap/starter-kit",
|
|
576
|
+
"@tiptap/extension-link",
|
|
577
|
+
"@tiptap/extension-image",
|
|
578
|
+
"@tiptap/extension-placeholder",
|
|
579
|
+
"@tiptap/extension-task-list",
|
|
580
|
+
"@tiptap/extension-task-item",
|
|
581
|
+
"@tiptap/extension-table",
|
|
582
|
+
"@tiptap/extension-table-row",
|
|
583
|
+
"@tiptap/extension-table-cell",
|
|
584
|
+
"@tiptap/extension-table-header",
|
|
585
|
+
"@tiptap/extension-underline",
|
|
586
|
+
"@tiptap/extension-text-align",
|
|
587
|
+
"@tiptap/extension-highlight",
|
|
588
|
+
"@tiptap/extension-character-count",
|
|
589
|
+
"@tiptap/extension-subscript",
|
|
590
|
+
"@tiptap/extension-superscript",
|
|
591
|
+
"@tiptap/extension-typography",
|
|
592
|
+
"tiptap-markdown",
|
|
593
|
+
"clsx",
|
|
594
|
+
"tailwind-merge",
|
|
595
|
+
"lucide-solid"
|
|
596
|
+
],
|
|
597
|
+
"registryDependencies": [
|
|
598
|
+
"create-tiptap-editor"
|
|
599
|
+
]
|
|
600
|
+
},
|
|
410
601
|
{
|
|
411
602
|
"name": "scroll-area",
|
|
412
603
|
"title": "Scroll Area",
|
|
@@ -432,7 +623,8 @@
|
|
|
432
623
|
"@kobalte/core"
|
|
433
624
|
],
|
|
434
625
|
"registryDependencies": [
|
|
435
|
-
"scroll-area"
|
|
626
|
+
"scroll-area",
|
|
627
|
+
"create-click-outside"
|
|
436
628
|
]
|
|
437
629
|
},
|
|
438
630
|
{
|
|
@@ -460,6 +652,23 @@
|
|
|
460
652
|
"scroll-area"
|
|
461
653
|
]
|
|
462
654
|
},
|
|
655
|
+
{
|
|
656
|
+
"name": "sidebar",
|
|
657
|
+
"title": "Sidebar",
|
|
658
|
+
"description": "A composable, collapsible, and accessible application sidebar navigation suite with icon mode, mobile drawer, and keyboard shortcuts.",
|
|
659
|
+
"type": "registry:ui",
|
|
660
|
+
"dependencies": [
|
|
661
|
+
"clsx",
|
|
662
|
+
"tailwind-merge",
|
|
663
|
+
"class-variance-authority",
|
|
664
|
+
"lucide-solid"
|
|
665
|
+
],
|
|
666
|
+
"registryDependencies": [
|
|
667
|
+
"tooltip",
|
|
668
|
+
"skeleton",
|
|
669
|
+
"separator"
|
|
670
|
+
]
|
|
671
|
+
},
|
|
463
672
|
{
|
|
464
673
|
"name": "skeleton",
|
|
465
674
|
"title": "Skeleton",
|
|
@@ -492,6 +701,18 @@
|
|
|
492
701
|
"class-variance-authority"
|
|
493
702
|
]
|
|
494
703
|
},
|
|
704
|
+
{
|
|
705
|
+
"name": "stat",
|
|
706
|
+
"title": "Stat",
|
|
707
|
+
"description": "Display key performance indicators, statistics, financial data, and metrics with trends and icons.",
|
|
708
|
+
"type": "registry:ui",
|
|
709
|
+
"dependencies": [
|
|
710
|
+
"clsx",
|
|
711
|
+
"tailwind-merge",
|
|
712
|
+
"class-variance-authority",
|
|
713
|
+
"lucide-solid"
|
|
714
|
+
]
|
|
715
|
+
},
|
|
495
716
|
{
|
|
496
717
|
"name": "status",
|
|
497
718
|
"title": "Status",
|
|
@@ -508,6 +729,19 @@
|
|
|
508
729
|
"title": "Switch",
|
|
509
730
|
"description": "A control that allows the user to toggle between checked and unchecked states.",
|
|
510
731
|
"type": "registry:ui",
|
|
732
|
+
"dependencies": [
|
|
733
|
+
"clsx",
|
|
734
|
+
"tailwind-merge"
|
|
735
|
+
],
|
|
736
|
+
"registryDependencies": [
|
|
737
|
+
"create-controllable-signal"
|
|
738
|
+
]
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "table",
|
|
742
|
+
"title": "Table",
|
|
743
|
+
"description": "A responsive and accessible data table component with headers, rows, cells, and footer summaries.",
|
|
744
|
+
"type": "registry:ui",
|
|
511
745
|
"dependencies": [
|
|
512
746
|
"clsx",
|
|
513
747
|
"tailwind-merge"
|
|
@@ -521,6 +755,9 @@
|
|
|
521
755
|
"dependencies": [
|
|
522
756
|
"clsx",
|
|
523
757
|
"tailwind-merge"
|
|
758
|
+
],
|
|
759
|
+
"registryDependencies": [
|
|
760
|
+
"create-controllable-signal"
|
|
524
761
|
]
|
|
525
762
|
},
|
|
526
763
|
{
|
|
@@ -546,7 +783,55 @@
|
|
|
546
783
|
],
|
|
547
784
|
"registryDependencies": [
|
|
548
785
|
"button",
|
|
549
|
-
"dropdown-menu"
|
|
786
|
+
"dropdown-menu",
|
|
787
|
+
"create-color-mode"
|
|
788
|
+
]
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "timeline",
|
|
792
|
+
"title": "Timeline",
|
|
793
|
+
"description": "A responsive chronological display for event streams, activity logs, order tracking, and multi-step workflows.",
|
|
794
|
+
"type": "registry:ui",
|
|
795
|
+
"dependencies": [
|
|
796
|
+
"clsx",
|
|
797
|
+
"tailwind-merge",
|
|
798
|
+
"class-variance-authority"
|
|
799
|
+
]
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "titlebar-tabs",
|
|
803
|
+
"title": "Titlebar Tabs",
|
|
804
|
+
"description": "Native draggable tab bar integrated directly inside desktop titlebars for multi-document applications.",
|
|
805
|
+
"type": "registry:ui",
|
|
806
|
+
"dependencies": [
|
|
807
|
+
"clsx",
|
|
808
|
+
"tailwind-merge",
|
|
809
|
+
"class-variance-authority",
|
|
810
|
+
"lucide-solid"
|
|
811
|
+
],
|
|
812
|
+
"registryDependencies": [
|
|
813
|
+
"button",
|
|
814
|
+
"tooltip",
|
|
815
|
+
"create-document-tabs"
|
|
816
|
+
]
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "titlebar",
|
|
820
|
+
"title": "Titlebar",
|
|
821
|
+
"description": "A native-feeling custom titlebar for frameless desktop windows supporting macOS Traffic Lights and Windows 11 controls.",
|
|
822
|
+
"type": "registry:ui",
|
|
823
|
+
"dependencies": [
|
|
824
|
+
"clsx",
|
|
825
|
+
"tailwind-merge",
|
|
826
|
+
"class-variance-authority",
|
|
827
|
+
"lucide-solid"
|
|
828
|
+
],
|
|
829
|
+
"registryDependencies": [
|
|
830
|
+
"titlebar-tabs",
|
|
831
|
+
"button",
|
|
832
|
+
"tooltip",
|
|
833
|
+
"create-tauri-window",
|
|
834
|
+
"create-document-tabs"
|
|
550
835
|
]
|
|
551
836
|
},
|
|
552
837
|
{
|
|
@@ -562,6 +847,20 @@
|
|
|
562
847
|
"@kobalte/core"
|
|
563
848
|
]
|
|
564
849
|
},
|
|
850
|
+
{
|
|
851
|
+
"name": "toggle-group",
|
|
852
|
+
"title": "Toggle Group",
|
|
853
|
+
"description": "A set of two-state buttons that can be toggled on or off with single or multiple selection modes.",
|
|
854
|
+
"type": "registry:ui",
|
|
855
|
+
"dependencies": [
|
|
856
|
+
"clsx",
|
|
857
|
+
"tailwind-merge",
|
|
858
|
+
"class-variance-authority"
|
|
859
|
+
],
|
|
860
|
+
"registryDependencies": [
|
|
861
|
+
"create-controllable-signal"
|
|
862
|
+
]
|
|
863
|
+
},
|
|
565
864
|
{
|
|
566
865
|
"name": "toggle",
|
|
567
866
|
"title": "Toggle",
|
|
@@ -584,6 +883,125 @@
|
|
|
584
883
|
"@kobalte/core"
|
|
585
884
|
]
|
|
586
885
|
},
|
|
886
|
+
{
|
|
887
|
+
"name": "updater-modal",
|
|
888
|
+
"title": "Updater Modal",
|
|
889
|
+
"description": "An automated application auto-updater dialog for Tauri v2 with release notes preview, download progress bar, and relaunch actions.",
|
|
890
|
+
"type": "registry:ui",
|
|
891
|
+
"dependencies": [
|
|
892
|
+
"clsx",
|
|
893
|
+
"tailwind-merge",
|
|
894
|
+
"lucide-solid"
|
|
895
|
+
],
|
|
896
|
+
"registryDependencies": [
|
|
897
|
+
"dialog",
|
|
898
|
+
"button",
|
|
899
|
+
"badge",
|
|
900
|
+
"progress",
|
|
901
|
+
"alert",
|
|
902
|
+
"create-app-updater"
|
|
903
|
+
]
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"name": "forgot-password-01",
|
|
907
|
+
"title": "Forgot Password 01 — Account Recovery Flow",
|
|
908
|
+
"description": "A sleek password recovery block with email instructions submission and success confirmation states.",
|
|
909
|
+
"type": "registry:block",
|
|
910
|
+
"dependencies": [
|
|
911
|
+
"clsx",
|
|
912
|
+
"tailwind-merge",
|
|
913
|
+
"lucide-solid"
|
|
914
|
+
],
|
|
915
|
+
"registryDependencies": [
|
|
916
|
+
"card",
|
|
917
|
+
"input",
|
|
918
|
+
"label",
|
|
919
|
+
"button",
|
|
920
|
+
"alert",
|
|
921
|
+
"form",
|
|
922
|
+
"field",
|
|
923
|
+
"form-message"
|
|
924
|
+
]
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "hero-01",
|
|
928
|
+
"title": "Hero 01 — Simple Centered with Actions",
|
|
929
|
+
"description": "A clean centered hero section with badge pill, high-contrast headline, and dual CTA buttons.",
|
|
930
|
+
"type": "registry:block",
|
|
931
|
+
"dependencies": [
|
|
932
|
+
"clsx",
|
|
933
|
+
"tailwind-merge",
|
|
934
|
+
"lucide-solid"
|
|
935
|
+
],
|
|
936
|
+
"registryDependencies": [
|
|
937
|
+
"button",
|
|
938
|
+
"badge"
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "login-01",
|
|
943
|
+
"title": "Login 01 — Split Screen with Social Auth & Testimonial",
|
|
944
|
+
"description": "A modern split-screen authentication page block with OAuth providers, email sign-in form, and brand testimonial visual.",
|
|
945
|
+
"type": "registry:block",
|
|
946
|
+
"dependencies": [
|
|
947
|
+
"clsx",
|
|
948
|
+
"tailwind-merge",
|
|
949
|
+
"lucide-solid"
|
|
950
|
+
],
|
|
951
|
+
"registryDependencies": [
|
|
952
|
+
"button",
|
|
953
|
+
"input",
|
|
954
|
+
"label",
|
|
955
|
+
"checkbox",
|
|
956
|
+
"separator",
|
|
957
|
+
"form",
|
|
958
|
+
"field",
|
|
959
|
+
"form-message"
|
|
960
|
+
]
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "otp-verification-01",
|
|
964
|
+
"title": "OTP Verification 01 — Two-Factor Security Code",
|
|
965
|
+
"description": "A clean 2-Factor Authentication block with a 6-digit PIN input, countdown resend timer, and security notifications.",
|
|
966
|
+
"type": "registry:block",
|
|
967
|
+
"dependencies": [
|
|
968
|
+
"clsx",
|
|
969
|
+
"tailwind-merge",
|
|
970
|
+
"lucide-solid"
|
|
971
|
+
],
|
|
972
|
+
"registryDependencies": [
|
|
973
|
+
"card",
|
|
974
|
+
"pin-input",
|
|
975
|
+
"button",
|
|
976
|
+
"alert",
|
|
977
|
+
"badge",
|
|
978
|
+
"form"
|
|
979
|
+
]
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "register-01",
|
|
983
|
+
"title": "Register 01 — Sign-Up Card with Password Strength",
|
|
984
|
+
"description": "A comprehensive sign-up card featuring social logins, live password strength meter with validation checklist, and terms agreement.",
|
|
985
|
+
"type": "registry:block",
|
|
986
|
+
"dependencies": [
|
|
987
|
+
"clsx",
|
|
988
|
+
"tailwind-merge",
|
|
989
|
+
"lucide-solid"
|
|
990
|
+
],
|
|
991
|
+
"registryDependencies": [
|
|
992
|
+
"card",
|
|
993
|
+
"input",
|
|
994
|
+
"label",
|
|
995
|
+
"button",
|
|
996
|
+
"checkbox",
|
|
997
|
+
"progress",
|
|
998
|
+
"badge",
|
|
999
|
+
"separator",
|
|
1000
|
+
"form",
|
|
1001
|
+
"field",
|
|
1002
|
+
"form-message"
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
587
1005
|
{
|
|
588
1006
|
"name": "create-controllable-signal",
|
|
589
1007
|
"title": "createControllableSignal",
|
|
@@ -823,5 +1241,74 @@
|
|
|
823
1241
|
"title": "createScrollIntoView",
|
|
824
1242
|
"description": "SolidJS reactive primitive for scrolling a target element into view smooth or auto behavior",
|
|
825
1243
|
"type": "registry:hook"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "create-drop-zone",
|
|
1247
|
+
"title": "createDropZone",
|
|
1248
|
+
"description": "SolidJS reactive primitive for file drag & drop operations, validation, and file chooser dialogs",
|
|
1249
|
+
"type": "registry:hook"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"name": "create-pagination",
|
|
1253
|
+
"title": "createPagination",
|
|
1254
|
+
"description": "SolidJS reactive primitive for computing pagination state, dynamic page ranges with ellipses, and navigation controls",
|
|
1255
|
+
"type": "registry:hook"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"name": "create-chat-scroll",
|
|
1259
|
+
"title": "createChatScroll",
|
|
1260
|
+
"description": "SolidJS reactive primitive for automated chat container scrolling with manual scroll-up detection",
|
|
1261
|
+
"type": "registry:hook"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"name": "create-tauri-window",
|
|
1265
|
+
"title": "createTauriWindow",
|
|
1266
|
+
"description": "SolidJS reactive primitive for interacting with and controlling Tauri v2 application window states",
|
|
1267
|
+
"type": "registry:hook"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"name": "create-global-shortcut",
|
|
1271
|
+
"title": "createGlobalShortcut",
|
|
1272
|
+
"description": "SolidJS reactive primitive for registering OS-level global keyboard shortcuts via Tauri v2 plugin",
|
|
1273
|
+
"type": "registry:hook"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"name": "create-app-updater",
|
|
1277
|
+
"title": "createAppUpdater",
|
|
1278
|
+
"description": "SolidJS reactive primitive for controlling and observing Tauri v2 application updates",
|
|
1279
|
+
"type": "registry:hook"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"name": "create-document-tabs",
|
|
1283
|
+
"title": "createDocumentTabs",
|
|
1284
|
+
"description": "SolidJS reactive primitive for managing multi-document tabs, editor buffers, and browser tab stacks with adjacent activation and pinned state",
|
|
1285
|
+
"type": "registry:hook"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"name": "create-tiptap-editor",
|
|
1289
|
+
"title": "createTiptapEditor",
|
|
1290
|
+
"description": "Fine-grained reactive SolidJS primitive for managing Tiptap rich text editor instances, signals, and formatting commands.",
|
|
1291
|
+
"type": "registry:hook",
|
|
1292
|
+
"dependencies": [
|
|
1293
|
+
"@tiptap/core",
|
|
1294
|
+
"@tiptap/starter-kit",
|
|
1295
|
+
"@tiptap/extension-link",
|
|
1296
|
+
"@tiptap/extension-image",
|
|
1297
|
+
"@tiptap/extension-placeholder",
|
|
1298
|
+
"@tiptap/extension-task-list",
|
|
1299
|
+
"@tiptap/extension-task-item",
|
|
1300
|
+
"@tiptap/extension-table",
|
|
1301
|
+
"@tiptap/extension-table-row",
|
|
1302
|
+
"@tiptap/extension-table-cell",
|
|
1303
|
+
"@tiptap/extension-table-header",
|
|
1304
|
+
"@tiptap/extension-underline",
|
|
1305
|
+
"@tiptap/extension-text-align",
|
|
1306
|
+
"@tiptap/extension-highlight",
|
|
1307
|
+
"@tiptap/extension-character-count",
|
|
1308
|
+
"@tiptap/extension-subscript",
|
|
1309
|
+
"@tiptap/extension-superscript",
|
|
1310
|
+
"@tiptap/extension-typography",
|
|
1311
|
+
"tiptap-markdown"
|
|
1312
|
+
]
|
|
826
1313
|
}
|
|
827
1314
|
]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "login-01",
|
|
3
|
+
"title": "Login 01 — Split Screen with Social Auth & Testimonial",
|
|
4
|
+
"description": "A modern split-screen authentication page block with OAuth providers, email sign-in form, and brand testimonial visual.",
|
|
5
|
+
"type": "registry:block",
|
|
6
|
+
"dependencies": [
|
|
7
|
+
"clsx",
|
|
8
|
+
"tailwind-merge",
|
|
9
|
+
"lucide-solid"
|
|
10
|
+
],
|
|
11
|
+
"registryDependencies": [
|
|
12
|
+
"button",
|
|
13
|
+
"input",
|
|
14
|
+
"label",
|
|
15
|
+
"checkbox",
|
|
16
|
+
"separator",
|
|
17
|
+
"form",
|
|
18
|
+
"field",
|
|
19
|
+
"form-message"
|
|
20
|
+
],
|
|
21
|
+
"files": [
|
|
22
|
+
{
|
|
23
|
+
"path": "blocks/login-01.tsx",
|
|
24
|
+
"content": "import { createSignal, Show, type Component } from \"solid-js\";\nimport { createForm } from \"@nikala-ui/hooks\";\nimport { Form } from \"../components/ui/form\";\nimport { Field, FieldLabel } from \"../components/ui/field\";\nimport { FormMessage } from \"../components/ui/form-message\";\nimport { Button } from \"../components/ui/button\";\nimport { Input } from \"../components/ui/input\";\nimport { Checkbox } from \"../components/ui/checkbox\";\nimport { Label } from \"../components/ui/label\";\nimport { Separator } from \"../components/ui/separator\";\nimport { Eye, EyeOff, Sparkles, ArrowRight } from \"lucide-solid\";\n\nexport const Login01: Component = () => {\n const [showPassword, setShowPassword] = createSignal(false);\n\n const form = createForm({\n initialValues: {\n email: \"\",\n password: \"\",\n rememberMe: true,\n },\n validate: (values) => {\n const errors: Record<string, string> = {};\n if (!values.email) {\n errors.email = \"Email is required\";\n } else if (!values.email.includes(\"@\")) {\n errors.email = \"Please enter a valid email address\";\n }\n if (!values.password) {\n errors.password = \"Password is required\";\n }\n return errors;\n },\n onSubmit: async (values) => {\n // Simulate API request\n await new Promise((resolve) => setTimeout(resolve, 1200));\n },\n });\n\n const isFormValid = () =>\n form.values().email.trim() !== \"\" &&\n form.values().email.includes(\"@\") &&\n form.values().password.trim() !== \"\";\n\n return (\n <div class=\"@container w-full min-h-[560px] @5xl:min-h-[700px] grid grid-cols-1 @5xl:grid-cols-2 bg-background text-foreground rounded-lg border border-border overflow-hidden shadow-xs\">\n {/* Left Column: Login Form */}\n <div class=\"flex flex-col justify-between p-6 @md:p-10 @5xl:p-12 w-full\">\n {/* Brand Header */}\n <div class=\"flex items-center gap-2.5\">\n <div class=\"size-8 rounded-lg bg-primary flex items-center justify-center text-primary-foreground font-bold text-sm shadow-2xs shrink-0\">\n N\n </div>\n <span class=\"font-bold text-lg tracking-tight\">Nikala UI</span>\n </div>\n\n {/* Form Container */}\n <div class=\"mx-auto w-full max-w-sm my-auto py-6 @md:py-8\">\n <div class=\"space-y-1.5 text-left mb-6\">\n <h1 class=\"text-2xl @md:text-3xl font-bold tracking-tight text-foreground\">\n Welcome back\n </h1>\n <p class=\"text-xs @md:text-sm text-muted-foreground\">\n Enter your credentials to access your account dashboard\n </p>\n </div>\n\n {/* Social OAuth Buttons */}\n <div class=\"grid grid-cols-1 @xs:grid-cols-2 gap-2.5 mb-6\">\n <Button variant=\"outline\" class=\"w-full justify-center text-xs @md:text-sm h-9\">\n <svg class=\"size-4 mr-2 shrink-0\" viewBox=\"0 0 24 24\" fill=\"currentColor\">\n <path d=\"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z\" />\n </svg>\n GitHub\n </Button>\n <Button variant=\"outline\" class=\"w-full justify-center text-xs @md:text-sm h-9\">\n <svg class=\"size-4 mr-2 shrink-0\" viewBox=\"0 0 24 24\">\n <path\n fill=\"#4285F4\"\n d=\"M23.745 12.27c0-.7-.06-1.4-.19-2.07H12v4.51h6.6c-.29 1.52-1.14 2.82-2.4 3.68v3.05h3.88c2.27-2.09 3.66-5.17 3.66-9.17z\"\n />\n <path\n fill=\"#34A853\"\n d=\"M12 24c3.24 0 5.95-1.08 7.93-2.91l-3.88-3.05c-1.08.72-2.45 1.16-4.05 1.16-3.12 0-5.77-2.1-6.72-4.93H1.25v3.15C3.26 21.36 7.33 24 12 24z\"\n />\n <path\n fill=\"#FBBC05\"\n d=\"M5.28 14.27c-.25-.72-.38-1.49-.38-2.27s.13-1.55.38-2.27V6.58H1.25C.45 8.18 0 10.03 0 12s.45 3.82 1.25 5.42l4.03-3.15z\"\n />\n <path\n fill=\"#EA4335\"\n d=\"M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.33 0 3.26 2.64 1.25 6.58l4.03 3.15c.95-2.83 3.6-4.98 6.72-4.98z\"\n />\n </svg>\n Google\n </Button>\n </div>\n\n <div class=\"relative mb-6\">\n <div class=\"absolute inset-0 flex items-center\">\n <Separator />\n </div>\n <div class=\"relative flex justify-center text-xs uppercase\">\n <span class=\"bg-background px-3 text-muted-foreground font-medium text-[11px]\">\n Or continue with email\n </span>\n </div>\n </div>\n\n {/* Form with Nikala UI Form & Field ecosystem */}\n <Form onSubmit={form.handleSubmit} loading={form.isSubmitting()} class=\"space-y-4\">\n <Field>\n <FieldLabel for=\"login-email\" class=\"text-xs @md:text-sm\">Email address</FieldLabel>\n <Input\n id=\"login-email\"\n type=\"email\"\n placeholder=\"name@company.com\"\n value={form.values().email}\n onInput={form.handleChange(\"email\")}\n onBlur={form.handleBlur(\"email\")}\n autocomplete=\"email\"\n />\n <FormMessage form={form} name=\"email\" />\n </Field>\n\n <Field>\n <div class=\"flex items-center justify-between\">\n <FieldLabel for=\"login-password\" class=\"text-xs @md:text-sm\">Password</FieldLabel>\n <a\n href=\"/blocks/forgot-password-01\"\n class=\"text-[11px] @md:text-xs text-primary font-medium hover:underline\"\n >\n Forgot password?\n </a>\n </div>\n <div class=\"relative\">\n <Input\n id=\"login-password\"\n type={showPassword() ? \"text\" : \"password\"}\n placeholder=\"••••••••\"\n value={form.values().password}\n onInput={form.handleChange(\"password\")}\n onBlur={form.handleBlur(\"password\")}\n autocomplete=\"current-password\"\n class=\"pr-10\"\n />\n <button\n type=\"button\"\n onClick={() => setShowPassword(!showPassword())}\n class=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors p-1 cursor-pointer\"\n aria-label={showPassword() ? \"Hide password\" : \"Show password\"}\n >\n <Show when={showPassword()} fallback={<Eye class=\"size-4\" />}>\n <EyeOff class=\"size-4\" />\n </Show>\n </button>\n </div>\n <FormMessage form={form} name=\"password\" />\n </Field>\n\n <div class=\"flex items-center space-x-2 pt-1\">\n <Checkbox\n id=\"remember\"\n checked={form.values().rememberMe}\n onChange={(checked) => form.setFieldValue(\"rememberMe\", checked)}\n />\n <Label\n for=\"remember\"\n class=\"text-xs font-normal text-muted-foreground cursor-pointer select-none\"\n >\n Remember me for 30 days\n </Label>\n </div>\n\n <Button\n type=\"submit\"\n class=\"w-full mt-2 font-medium\"\n disabled={form.isSubmitting() || !isFormValid()}\n >\n <Show when={form.isSubmitting()} fallback={<>Sign In <ArrowRight class=\"ml-2 size-4\" /></>}>\n Signing in...\n </Show>\n </Button>\n </Form>\n\n <p class=\"text-center text-xs text-muted-foreground mt-6\">\n Don't have an account?{\" \"}\n <a href=\"/blocks/register-01\" class=\"text-primary font-semibold hover:underline\">\n Sign up\n </a>\n </p>\n </div>\n\n {/* Footer info */}\n <div class=\"text-center @md:text-left text-xs text-muted-foreground pt-4 @md:pt-0\">\n By signing in, you agree to our{\" \"}\n <a href=\"#terms\" class=\"underline hover:text-foreground\">Terms of Service</a>{\" \"}\n and{\" \"}\n <a href=\"#privacy\" class=\"underline hover:text-foreground\">Privacy Policy</a>.\n </div>\n </div>\n\n {/* Right Column: Hero Visual & Art / Testimonial Showcase */}\n <div class=\"hidden @5xl:flex relative flex-col justify-between p-10 bg-muted/40 border-l border-border overflow-hidden\">\n <div class=\"absolute inset-0 bg-gradient-to-tr from-primary/10 via-transparent to-primary/5 pointer-events-none\" />\n\n <div class=\"relative z-10 flex items-center gap-2 text-sm font-semibold text-foreground/80\">\n <Sparkles class=\"size-4 text-primary\" />\n <span>Production Ready SolidJS UI</span>\n </div>\n\n <div class=\"relative z-10 max-w-md space-y-6\">\n <blockquote class=\"text-xl @md:text-2xl font-semibold tracking-tight text-foreground leading-snug\">\n \"Nikala UI transformed the way our team builds web applications with SolidJS. Fine-grained reactivity meets Tailwind v4 simplicity.\"\n </blockquote>\n <div class=\"space-y-1\">\n <p class=\"text-sm font-semibold text-foreground\">Davit Kakhidze</p>\n <p class=\"text-xs text-muted-foreground\">Head of Engineering at Studio</p>\n </div>\n </div>\n\n <div class=\"relative z-10 flex items-center justify-between text-xs text-muted-foreground\">\n <span>Honoring Niko Pirosmani</span>\n <span>© 2026 Nikala UI</span>\n </div>\n </div>\n </div>\n );\n};\n\nexport default Login01;\n",
|
|
25
|
+
"type": "registry:block"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|