@nikala-ui/core 0.10.1 → 0.11.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.
Files changed (55) hide show
  1. package/package.json +1 -1
  2. package/registry/bubble.json +18 -0
  3. package/registry/button-group.json +20 -0
  4. package/registry/create-chat-scroll.json +13 -0
  5. package/registry/create-drop-zone.json +13 -0
  6. package/registry/create-pagination.json +13 -0
  7. package/registry/dropzone.json +21 -0
  8. package/registry/footer.json +18 -0
  9. package/registry/forgot-password-01.json +28 -0
  10. package/registry/hero-01.json +22 -0
  11. package/registry/index.json +331 -0
  12. package/registry/login-01.json +28 -0
  13. package/registry/marker.json +17 -0
  14. package/registry/marquee.json +17 -0
  15. package/registry/message.json +17 -0
  16. package/registry/navbar.json +19 -0
  17. package/registry/navigation-menu.json +22 -0
  18. package/registry/otp-verification-01.json +26 -0
  19. package/registry/pagination.json +22 -0
  20. package/registry/rating.json +19 -0
  21. package/registry/register-01.json +31 -0
  22. package/registry/review-card.json +23 -0
  23. package/registry/scroll-area.json +1 -1
  24. package/registry/sidebar.json +24 -0
  25. package/registry/spinner.json +1 -1
  26. package/registry/stat.json +19 -0
  27. package/registry/table.json +17 -0
  28. package/registry/timeline.json +18 -0
  29. package/registry/toggle-group.json +21 -0
  30. package/src/registry/blocks/forgot-password-01.tsx +141 -0
  31. package/src/registry/blocks/hero-01.tsx +28 -0
  32. package/src/registry/blocks/login-01.tsx +231 -0
  33. package/src/registry/blocks/otp-verification-01.tsx +170 -0
  34. package/src/registry/blocks/register-01.tsx +318 -0
  35. package/src/registry/components/ui/bubble.tsx +142 -0
  36. package/src/registry/components/ui/button-group.tsx +42 -0
  37. package/src/registry/components/ui/dropzone.tsx +189 -0
  38. package/src/registry/components/ui/footer.tsx +247 -0
  39. package/src/registry/components/ui/marker.tsx +102 -0
  40. package/src/registry/components/ui/marquee.tsx +118 -0
  41. package/src/registry/components/ui/message.tsx +168 -0
  42. package/src/registry/components/ui/navbar.tsx +368 -0
  43. package/src/registry/components/ui/navigation-menu.tsx +358 -0
  44. package/src/registry/components/ui/pagination.tsx +258 -0
  45. package/src/registry/components/ui/rating.tsx +185 -0
  46. package/src/registry/components/ui/review-card.tsx +195 -0
  47. package/src/registry/components/ui/scroll-area.tsx +2 -2
  48. package/src/registry/components/ui/sidebar.tsx +692 -0
  49. package/src/registry/components/ui/spinner.tsx +1 -1
  50. package/src/registry/components/ui/stat.tsx +245 -0
  51. package/src/registry/components/ui/table.tsx +160 -0
  52. package/src/registry/components/ui/timeline.tsx +350 -0
  53. package/src/registry/components/ui/toggle-group.tsx +203 -0
  54. package/src/registry/index.ts +3 -3
  55. package/src/registry/metadata.ts +141 -0
@@ -16,6 +16,12 @@ export const COMPONENT_METADATA: Record<string, ComponentMeta> = {
16
16
  dependencies: ["clsx", "tailwind-merge", "class-variance-authority"],
17
17
  registryDependencies: ["spinner"],
18
18
  },
19
+ "button-group": {
20
+ title: "Button Group",
21
+ description: "Groups related buttons into a connected horizontal or vertical control.",
22
+ dependencies: ["clsx", "tailwind-merge"],
23
+ registryDependencies: ["button"],
24
+ },
19
25
  input: {
20
26
  title: "Input",
21
27
  description: "A standard text input field with styling variants.",
@@ -271,6 +277,92 @@ export const COMPONENT_METADATA: Record<string, ComponentMeta> = {
271
277
  description: "Profile and link preview popover triggered on hover, built on Kobalte primitives.",
272
278
  dependencies: ["clsx", "tailwind-merge", "@kobalte/core"],
273
279
  },
280
+ table: {
281
+ title: "Table",
282
+ description: "A responsive and accessible data table component with headers, rows, cells, and footer summaries.",
283
+ dependencies: ["clsx", "tailwind-merge"],
284
+ },
285
+ dropzone: {
286
+ title: "Dropzone",
287
+ description: "A compound drag-and-drop file upload container with file list previews and validation feedback.",
288
+ dependencies: ["clsx", "tailwind-merge", "lucide-solid"],
289
+ registryDependencies: ["create-drop-zone"],
290
+ },
291
+ "toggle-group": {
292
+ title: "Toggle Group",
293
+ description: "A set of two-state buttons that can be toggled on or off with single or multiple selection modes.",
294
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority"],
295
+ registryDependencies: ["create-controllable-signal"],
296
+ },
297
+ timeline: {
298
+ title: "Timeline",
299
+ description: "A responsive chronological display for event streams, activity logs, order tracking, and multi-step workflows.",
300
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority"],
301
+ },
302
+ "navigation-menu": {
303
+ title: "Navigation Menu",
304
+ description: "A responsive and accessible top header navigation menu with mega-menu dropdowns and link previews.",
305
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority", "lucide-solid"],
306
+ registryDependencies: ["create-click-outside"],
307
+ },
308
+ navbar: {
309
+ title: "Navbar",
310
+ description: "A responsive, accessible, and composable top navigation header suite supporting nested dropdown flyouts, floating card containers, and mobile navigation drawers.",
311
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority", "lucide-solid"],
312
+ },
313
+ footer: {
314
+ title: "Footer",
315
+ description: "A responsive, accessible, and structured bottom navigation layout suite supporting multi-column link directories, brand sections, and newsletter inputs.",
316
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority"],
317
+ },
318
+ stat: {
319
+ title: "Stat",
320
+ description: "Display key performance indicators, statistics, financial data, and metrics with trends and icons.",
321
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority", "lucide-solid"],
322
+ },
323
+ marquee: {
324
+ title: "Marquee",
325
+ description: "A smooth, GPU-accelerated infinite scrolling ticker component for logo clouds, testimonials, and live ribbons.",
326
+ dependencies: ["clsx", "tailwind-merge"],
327
+ },
328
+ "review-card": {
329
+ title: "Review Card",
330
+ description: "A versatile, structured card component for customer testimonials, product ratings, verified buyer badges, and social proof.",
331
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority", "lucide-solid"],
332
+ registryDependencies: ["avatar", "rating"],
333
+ },
334
+ rating: {
335
+ title: "Rating",
336
+ description: "An accessible star rating component supporting interactive inputs, hover preview states, and read-only score badges.",
337
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority", "lucide-solid"],
338
+ },
339
+ pagination: {
340
+ title: "Pagination",
341
+ description: "An accessible multi-page navigation bar with previous, next, page numbers, and ellipsis controls.",
342
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority", "lucide-solid"],
343
+ registryDependencies: ["create-pagination"],
344
+ },
345
+ message: {
346
+ title: "Message",
347
+ description: "A structured chat and conversation message layout with avatars, alignment, headers, footers, and actions.",
348
+ dependencies: ["clsx", "tailwind-merge"],
349
+ },
350
+ bubble: {
351
+ title: "Bubble",
352
+ description: "Chat message bubble container supporting variants, grouped consecutive bubbles, and emoji reactions.",
353
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority"],
354
+ },
355
+ marker: {
356
+ title: "Marker",
357
+ description: "System chat events, date dividers, and live typing indicator badges.",
358
+ dependencies: ["clsx", "tailwind-merge"],
359
+ },
360
+ sidebar: {
361
+ title: "Sidebar",
362
+ description: "A composable, collapsible, and accessible application sidebar navigation suite with icon mode, mobile drawer, and keyboard shortcuts.",
363
+ dependencies: ["clsx", "tailwind-merge", "class-variance-authority", "lucide-solid"],
364
+ registryDependencies: ["tooltip", "skeleton", "separator"],
365
+ },
274
366
  };
275
367
 
276
368
  /**
@@ -437,4 +529,53 @@ export const HOOK_METADATA: Record<string, ComponentMeta> = {
437
529
  title: "createScrollIntoView",
438
530
  description: "SolidJS reactive primitive for scrolling a target element into view smooth or auto behavior",
439
531
  },
532
+ "create-drop-zone": {
533
+ title: "createDropZone",
534
+ description: "SolidJS reactive primitive for file drag & drop operations, validation, and file chooser dialogs",
535
+ },
536
+ "create-pagination": {
537
+ title: "createPagination",
538
+ description: "SolidJS reactive primitive for computing pagination state, dynamic page ranges with ellipses, and navigation controls",
539
+ },
540
+ "create-chat-scroll": {
541
+ title: "createChatScroll",
542
+ description: "SolidJS reactive primitive for automated chat container scrolling with manual scroll-up detection",
543
+ },
544
+ };
545
+
546
+ /**
547
+ * Static metadata configuration for ready-to-use application and marketing blocks.
548
+ */
549
+ export const BLOCK_METADATA: Record<string, ComponentMeta> = {
550
+ "hero-01": {
551
+ title: "Hero 01 — Simple Centered with Actions",
552
+ description: "A clean centered hero section with badge pill, high-contrast headline, and dual CTA buttons.",
553
+ dependencies: ["clsx", "tailwind-merge", "lucide-solid"],
554
+ registryDependencies: ["button", "badge"],
555
+ },
556
+ "login-01": {
557
+ title: "Login 01 — Split Screen with Social Auth & Testimonial",
558
+ description: "A modern split-screen authentication page block with OAuth providers, email sign-in form, and brand testimonial visual.",
559
+ dependencies: ["clsx", "tailwind-merge", "lucide-solid"],
560
+ registryDependencies: ["button", "input", "label", "checkbox", "separator", "form", "field", "form-message"],
561
+ },
562
+ "register-01": {
563
+ title: "Register 01 — Sign-Up Card with Password Strength",
564
+ description: "A comprehensive sign-up card featuring social logins, live password strength meter with validation checklist, and terms agreement.",
565
+ dependencies: ["clsx", "tailwind-merge", "lucide-solid"],
566
+ registryDependencies: ["card", "input", "label", "button", "checkbox", "progress", "badge", "separator", "form", "field", "form-message"],
567
+ },
568
+ "otp-verification-01": {
569
+ title: "OTP Verification 01 — Two-Factor Security Code",
570
+ description: "A clean 2-Factor Authentication block with a 6-digit PIN input, countdown resend timer, and security notifications.",
571
+ dependencies: ["clsx", "tailwind-merge", "lucide-solid"],
572
+ registryDependencies: ["card", "pin-input", "button", "alert", "badge", "form"],
573
+ },
574
+ "forgot-password-01": {
575
+ title: "Forgot Password 01 — Account Recovery Flow",
576
+ description: "A sleek password recovery block with email instructions submission and success confirmation states.",
577
+ dependencies: ["clsx", "tailwind-merge", "lucide-solid"],
578
+ registryDependencies: ["card", "input", "label", "button", "alert", "form", "field", "form-message"],
579
+ },
440
580
  };
581
+