@vantageos/mosaic-blocks 0.1.0-alpha.1 → 0.2.0-alpha

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/styles.css CHANGED
@@ -65,3 +65,24 @@
65
65
  --input: oklch(1 0 0 / 15%);
66
66
  --ring: oklch(0.556 0 0);
67
67
  }
68
+
69
+ /* ── MosaicLogosGrid stagger animation ────────────────────────────────────── */
70
+
71
+ @keyframes mosaic-logo-in {
72
+ from {
73
+ opacity: 0;
74
+ transform: translateY(8px);
75
+ }
76
+ to {
77
+ opacity: 1;
78
+ transform: translateY(0);
79
+ }
80
+ }
81
+
82
+ @media (prefers-reduced-motion: reduce) {
83
+ .mosaic-logo-stagger {
84
+ animation: none !important;
85
+ opacity: 0.7 !important;
86
+ transform: none !important;
87
+ }
88
+ }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vantageos/mosaic-blocks",
3
- "version": "0.1.0-alpha.1",
4
- "description": "VantageOS React composed blocks — Next.js 16 + React 19 + Tailwind v4 + @base-ui/react. Alpha, not yet published.",
5
- "license": "MIT",
3
+ "version": "0.2.0-alpha",
4
+ "description": "VantageOS React composed blocks — Next.js 16 + React 19 + Tailwind v4 + @base-ui/react. Published alpha.",
5
+ "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
@@ -17,7 +17,27 @@
17
17
  "types": "./dist/index.d.ts",
18
18
  "files": [
19
19
  "dist",
20
- "registry.json"
20
+ "registry.json",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "keywords": [
25
+ "react-19",
26
+ "tailwindcss-v4",
27
+ "shadcn",
28
+ "base-ui",
29
+ "mosaic",
30
+ "vantageos",
31
+ "components",
32
+ "mobile-first",
33
+ "oklch",
34
+ "clerk",
35
+ "multi-tenant",
36
+ "react",
37
+ "ui",
38
+ "nextjs",
39
+ "blocks",
40
+ "design-system"
21
41
  ],
22
42
  "publishConfig": {
23
43
  "access": "public"
@@ -35,19 +55,40 @@
35
55
  "sandbox:build": "cd sandbox && pnpm build",
36
56
  "prebuild": "rimraf dist",
37
57
  "sync-versions": "node scripts/sync-versions.mjs",
38
- "parse-guard": "node scripts/parse-guard.mjs"
58
+ "parse-guard": "node scripts/parse-guard.mjs",
59
+ "storybook": "storybook dev -p 6006",
60
+ "build-storybook": "storybook build",
61
+ "prepublishOnly": "npm run build"
39
62
  },
40
63
  "peerDependencies": {
64
+ "@clerk/nextjs": "^7",
65
+ "@vantageos/cloud-identity": "^0.2",
41
66
  "react": "^19",
42
67
  "react-dom": "^19",
68
+ "svix": "^1.0.0",
43
69
  "tailwindcss": "^4.3.1"
44
70
  },
71
+ "peerDependenciesMeta": {
72
+ "@clerk/nextjs": {
73
+ "optional": true
74
+ },
75
+ "@vantageos/cloud-identity": {
76
+ "optional": true
77
+ },
78
+ "svix": {
79
+ "optional": true
80
+ }
81
+ },
45
82
  "dependencies": {
46
83
  "@base-ui/react": "^1.5.0",
47
84
  "class-variance-authority": "^0.7.1"
48
85
  },
49
86
  "devDependencies": {
50
87
  "@biomejs/biome": "^1.9.4",
88
+ "@storybook/addon-a11y": "^10.4.6",
89
+ "@storybook/addon-essentials": "^8.6.14",
90
+ "@storybook/react": "^10.4.6",
91
+ "@storybook/react-vite": "^10.4.6",
51
92
  "@testing-library/react": "^16.3.0",
52
93
  "@testing-library/user-event": "^14.6.1",
53
94
  "@types/node": "^22.19.21",
@@ -58,6 +99,8 @@
58
99
  "react": "^19",
59
100
  "react-dom": "^19",
60
101
  "rimraf": "^6.0.1",
102
+ "storybook": "^10.4.6",
103
+ "svix": "^1.96.1",
61
104
  "tailwindcss": "^4.3.1",
62
105
  "tsup": "^8.5.0",
63
106
  "typescript": "^5.8.3",
package/registry.json CHANGED
@@ -88,7 +88,7 @@
88
88
  "name": "mosaic-logos-grid",
89
89
  "type": "registry:ui",
90
90
  "title": "MosaicLogosGrid",
91
- "description": "Logo cloud / partner logos grid. Props: logos[] {name, src, width, height}, heading. Grayscale hover effect.",
91
+ "description": "Logo cloud / partner logos grid. Props: logos[] {name, src, width, height}, heading. Grayscale hover effect. Optional stagger-motion variant: pass stagger=true or stagger=80 for CSS keyframe staggered reveal; respects prefers-reduced-motion.",
92
92
  "dependencies": [],
93
93
  "files": [
94
94
  {
@@ -97,6 +97,19 @@
97
97
  }
98
98
  ]
99
99
  },
100
+ {
101
+ "name": "mosaic-feature-3col",
102
+ "type": "registry:ui",
103
+ "title": "MosaicFeature3Col",
104
+ "description": "3-column feature grid section. Props: heading?, subtext?, features[] {id, title, body, icon?}. Responsive: 1-col mobile, 3-col md+. Icon slot per cell. data-slot API. Distinct from MosaicFeatureCenteredMedia (single centered layout).",
105
+ "dependencies": [],
106
+ "files": [
107
+ {
108
+ "path": "src/components/feature-3col/MosaicFeature3Col.tsx",
109
+ "type": "registry:ui"
110
+ }
111
+ ]
112
+ },
100
113
  {
101
114
  "name": "mosaic-testimonials-grid",
102
115
  "type": "registry:ui",
@@ -346,6 +359,527 @@
346
359
  "type": "registry:ui"
347
360
  }
348
361
  ]
362
+ },
363
+ {
364
+ "name": "mosaic-device-provider",
365
+ "type": "registry:ui",
366
+ "title": "MosaicDeviceProvider",
367
+ "description": "Responsive device context provider. Exposes isMobile/isTablet/isDesktop, sm/md/lg/xl breakpoint flags, orientation, viewport size. Hooks: useDevice, useBreakpoint, useIsMobile, useIsTablet, useIsDesktop, useViewport, useOrientation. SSR-safe. Required by all adaptive components.",
368
+ "dependencies": [],
369
+ "files": [
370
+ {
371
+ "path": "src/components/device-provider/MosaicDeviceProvider.tsx",
372
+ "type": "registry:ui"
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "name": "mosaic-adaptive-grid",
378
+ "type": "registry:ui",
379
+ "title": "MosaicAdaptiveGrid",
380
+ "description": "Device-aware CSS grid wrapper. Reads isMobile/isTablet/isDesktop from MosaicDeviceProvider and applies the correct column count. Props: mobileColumns, tabletColumns, desktopColumns, gap. Uses inline CSS for dynamic columns (no JIT issues).",
381
+ "dependencies": [],
382
+ "files": [
383
+ {
384
+ "path": "src/components/adaptive-grid/MosaicAdaptiveGrid.tsx",
385
+ "type": "registry:ui"
386
+ }
387
+ ]
388
+ },
389
+ {
390
+ "name": "mosaic-adaptive-modal",
391
+ "type": "registry:ui",
392
+ "title": "MosaicAdaptiveModal",
393
+ "description": "Unified modal/sheet: Dialog on desktop, bottom-sheet on mobile. Uses native <dialog> element (focus trap, Escape key, backdrop). Single API: isOpen, onClose, title, children, description. No Radix/Vaul dep \u2014 fully portable.",
394
+ "dependencies": [],
395
+ "files": [
396
+ {
397
+ "path": "src/components/adaptive-modal/MosaicAdaptiveModal.tsx",
398
+ "type": "registry:ui"
399
+ }
400
+ ]
401
+ },
402
+ {
403
+ "name": "mosaic-adaptive-navigation",
404
+ "type": "registry:ui",
405
+ "title": "MosaicAdaptiveNavigation",
406
+ "description": "Step navigation: tab strip on desktop, expandable accordion on mobile. Props: items[] {id, title, duration?, isComplete?, children?}, activeItem, onItemChange, expandedItems, onToggleExpanded. Zero debate coupling; generic items API.",
407
+ "dependencies": [],
408
+ "files": [
409
+ {
410
+ "path": "src/components/adaptive-navigation/MosaicAdaptiveNavigation.tsx",
411
+ "type": "registry:ui"
412
+ }
413
+ ]
414
+ },
415
+ {
416
+ "name": "mosaic-dashboard-layout",
417
+ "type": "registry:ui",
418
+ "title": "MosaicDashboardLayout",
419
+ "description": "Full-height app shell: sticky header (title, subtitle, breadcrumbs, actions slot), persistent sidebar on desktop, hamburger + AdaptiveModal drawer on mobile. Props: title, subtitle, breadcrumbs[], actions, sidebarProps, renderLink. Zero hardcoded branding.",
420
+ "dependencies": [],
421
+ "files": [
422
+ {
423
+ "path": "src/components/dashboard-layout/MosaicDashboardLayout.tsx",
424
+ "type": "registry:ui"
425
+ }
426
+ ]
427
+ },
428
+ {
429
+ "name": "mosaic-app-sidebar",
430
+ "type": "registry:ui",
431
+ "title": "MosaicAppSidebar",
432
+ "description": "Collapsible sidebar (64px icon-only / 280px expanded) with nested nav, quick actions, recent items, and footer status slot. Full-width on mobile. Props: navItems[], quickActions[], recentItems[], logoSlot, footerStatus. No hardcoded routes or branding.",
433
+ "dependencies": [],
434
+ "files": [
435
+ {
436
+ "path": "src/components/app-sidebar/MosaicAppSidebar.tsx",
437
+ "type": "registry:ui"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "name": "mosaic-quick-action-card",
443
+ "type": "registry:ui",
444
+ "title": "MosaicQuickActionCard",
445
+ "description": "Grid of action cards with 6 accent color presets (yellow, blue, green, purple, orange, cyan). CSS stagger reveal on mount. Props: actions[] {id, title, description, icon, href, accent?}, heading, columns, renderLink. No hardcoded routes.",
446
+ "dependencies": [],
447
+ "files": [
448
+ {
449
+ "path": "src/components/quick-action-card/MosaicQuickActionCard.tsx",
450
+ "type": "registry:ui"
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "name": "mosaic-activity-feed",
456
+ "type": "registry:ui",
457
+ "title": "MosaicActivityFeed",
458
+ "description": "Activity feed card with stagger-reveal rows. Status badges (active/completed/archived), participant avatar stack, message count, timestamp. Props: activities[] {id, type, title, description, timestamp, status, participants?, messages?}, iconMap, viewAllHref, renderLink.",
459
+ "dependencies": [],
460
+ "files": [
461
+ {
462
+ "path": "src/components/activity-feed/MosaicActivityFeed.tsx",
463
+ "type": "registry:ui"
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "name": "mosaic-agent-composer",
469
+ "type": "registry:ui",
470
+ "title": "MosaicAgentComposer",
471
+ "description": "Responsive-pair agent composer: auto-selects Desktop (2-column with live preview) or Mobile (single-column + sticky CTA) via useDevice. Shared props contract: agentName, customInstructions, 4 module slots (role/persona/framework/model), labels override. Generic MosaicComposerModule type \u2014 no domain coupling.",
472
+ "dependencies": [],
473
+ "files": [
474
+ {
475
+ "path": "src/components/agent-composer/MosaicAgentComposer.tsx",
476
+ "type": "registry:ui"
477
+ },
478
+ {
479
+ "path": "src/components/agent-composer/MosaicAgentComposerDesktop.tsx",
480
+ "type": "registry:ui"
481
+ },
482
+ {
483
+ "path": "src/components/agent-composer/MosaicAgentComposerMobile.tsx",
484
+ "type": "registry:ui"
485
+ }
486
+ ]
487
+ },
488
+ {
489
+ "name": "mosaic-module-card",
490
+ "type": "registry:ui",
491
+ "title": "MosaicModuleCard",
492
+ "description": "Selected-module display card for composer slot. Shows name, description, optional details, emoji icon, tags, edit/remove actions. Props: type, module {name, description, details?, icon?, tags?}, onEdit, onRemove, isSelected, isCustom. Generic \u2014 no debate domain types.",
493
+ "dependencies": [],
494
+ "files": [
495
+ {
496
+ "path": "src/components/module-card/MosaicModuleCard.tsx",
497
+ "type": "registry:ui"
498
+ }
499
+ ]
500
+ },
501
+ {
502
+ "name": "mosaic-theme-provider",
503
+ "type": "registry:ui",
504
+ "title": "MosaicThemeProvider",
505
+ "description": "Thin next-themes ThemeProvider wrapper. Generic, zero branding. All ThemeProviderProps forwarded.",
506
+ "dependencies": [
507
+ "next-themes"
508
+ ],
509
+ "files": [
510
+ {
511
+ "path": "src/components/theme-provider/MosaicThemeProvider.tsx",
512
+ "type": "registry:ui"
513
+ }
514
+ ]
515
+ },
516
+ {
517
+ "name": "mosaic-delete-confirmation-dialog",
518
+ "type": "registry:ui",
519
+ "title": "MosaicDeleteConfirmationDialog",
520
+ "description": "Generic destructive-action confirm dialog. Built on @base-ui/react AlertDialog. Labels and item info are props.",
521
+ "dependencies": [
522
+ "@base-ui/react"
523
+ ],
524
+ "files": [
525
+ {
526
+ "path": "src/components/delete-confirmation-dialog/MosaicDeleteConfirmationDialog.tsx",
527
+ "type": "registry:ui"
528
+ }
529
+ ]
530
+ },
531
+ {
532
+ "name": "mosaic-preferences-panel",
533
+ "type": "registry:ui",
534
+ "title": "MosaicPreferencesPanel",
535
+ "description": "Generic user preferences form. Grouped sections with select and toggle fields. Fully controlled via props.",
536
+ "dependencies": [],
537
+ "files": [
538
+ {
539
+ "path": "src/components/preferences-panel/MosaicPreferencesPanel.tsx",
540
+ "type": "registry:ui"
541
+ }
542
+ ]
543
+ },
544
+ {
545
+ "name": "mosaic-profile-panel",
546
+ "type": "registry:ui",
547
+ "title": "MosaicProfilePanel",
548
+ "description": "Generic user profile form. Avatar upload slot, field list, security section. Fully controlled via props.",
549
+ "dependencies": [],
550
+ "files": [
551
+ {
552
+ "path": "src/components/profile-panel/MosaicProfilePanel.tsx",
553
+ "type": "registry:ui"
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "name": "mosaic-main-nav",
559
+ "type": "registry:ui",
560
+ "title": "MosaicMainNav",
561
+ "description": "Generic responsive top-nav. Desktop: inline link strip. Mobile: hamburger + drawer. Items are props.",
562
+ "dependencies": [],
563
+ "files": [
564
+ {
565
+ "path": "src/components/main-nav/MosaicMainNav.tsx",
566
+ "type": "registry:ui"
567
+ }
568
+ ]
569
+ },
570
+ {
571
+ "name": "mosaic-agent-card",
572
+ "type": "registry:ui",
573
+ "title": "MosaicAgentCard",
574
+ "description": "Generic agent/resource card with status toggle, accent dot, 3-dot dropdown menu. All actions are callbacks.",
575
+ "dependencies": [],
576
+ "files": [
577
+ {
578
+ "path": "src/components/agent-card/MosaicAgentCard.tsx",
579
+ "type": "registry:ui"
580
+ }
581
+ ]
582
+ },
583
+ {
584
+ "name": "mosaic-quick-agent-selector",
585
+ "type": "registry:ui",
586
+ "title": "MosaicQuickAgentSelector",
587
+ "description": "Compact agent pill picker with desktop dropdown / mobile drawer. Selected agents shown as removable pills.",
588
+ "dependencies": [],
589
+ "files": [
590
+ {
591
+ "path": "src/components/quick-agent-selector/MosaicQuickAgentSelector.tsx",
592
+ "type": "registry:ui"
593
+ }
594
+ ]
595
+ },
596
+ {
597
+ "name": "mosaic-selector-modal",
598
+ "type": "registry:ui",
599
+ "title": "MosaicSelectorModal",
600
+ "description": "Generic searchable item picker modal. Search bar + category tabs + card grid. Confirm/cancel actions.",
601
+ "dependencies": [],
602
+ "files": [
603
+ {
604
+ "path": "src/components/selector-modal/MosaicSelectorModal.tsx",
605
+ "type": "registry:ui"
606
+ }
607
+ ]
608
+ },
609
+ {
610
+ "name": "mosaic-message-card",
611
+ "type": "registry:ui",
612
+ "title": "MosaicMessageCard",
613
+ "description": "Generic message/chat card. Sender avatar, like/dislike, bookmark, copy, reply. Compact mode.",
614
+ "dependencies": [],
615
+ "files": [
616
+ {
617
+ "path": "src/components/message-card/MosaicMessageCard.tsx",
618
+ "type": "registry:ui"
619
+ }
620
+ ]
621
+ },
622
+ {
623
+ "name": "mosaic-message-list",
624
+ "type": "registry:ui",
625
+ "title": "MosaicMessageList",
626
+ "description": "Responsive message list (responsive-pair). Desktop: sticky header + search. Mobile: compact list.",
627
+ "dependencies": [],
628
+ "files": [
629
+ {
630
+ "path": "src/components/message-list/MosaicMessageList.tsx",
631
+ "type": "registry:ui"
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "name": "mosaic-filter-sidebar",
637
+ "type": "registry:ui",
638
+ "title": "MosaicFilterSidebar",
639
+ "description": "Generic collapsible filter sidebar. Filter tabs + category list with counts. Reusable across agents/marketplace/templates.",
640
+ "dependencies": [],
641
+ "files": [
642
+ {
643
+ "path": "src/components/filter-sidebar/MosaicFilterSidebar.tsx",
644
+ "type": "registry:ui"
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ "name": "mosaic-agent-list",
650
+ "type": "registry:ui",
651
+ "title": "MosaicAgentList",
652
+ "description": "Responsive agent list (responsive-pair). Desktop: filter sidebar + grid. Mobile: stacked + filter sheet.",
653
+ "dependencies": [],
654
+ "files": [
655
+ {
656
+ "path": "src/components/agent-list/MosaicAgentList.tsx",
657
+ "type": "registry:ui"
658
+ }
659
+ ]
660
+ },
661
+ {
662
+ "name": "mosaic-marketplace-list",
663
+ "type": "registry:ui",
664
+ "title": "MosaicMarketplaceList",
665
+ "description": "Responsive marketplace grid/list (responsive-pair). Install/uninstall actions, rating, downloads, price.",
666
+ "dependencies": [],
667
+ "files": [
668
+ {
669
+ "path": "src/components/marketplace-list/MosaicMarketplaceList.tsx",
670
+ "type": "registry:ui"
671
+ }
672
+ ]
673
+ },
674
+ {
675
+ "name": "mosaic-template-gallery",
676
+ "type": "registry:ui",
677
+ "title": "MosaicTemplateGallery",
678
+ "description": "Responsive template browser (responsive-pair). Includes MosaicTemplateCard, MosaicTemplatePreview, MosaicQuickStartPanel, MosaicAgentTeamPreview.",
679
+ "dependencies": [],
680
+ "files": [
681
+ {
682
+ "path": "src/components/template-gallery/MosaicTemplateGallery.tsx",
683
+ "type": "registry:ui"
684
+ }
685
+ ]
686
+ },
687
+ {
688
+ "name": "mosaic-module-library",
689
+ "type": "registry:ui",
690
+ "title": "MosaicModuleLibrary",
691
+ "description": "Generic module/library manager (responsive-pair). Includes MosaicModuleForm. Tabs, search, CRUD callbacks.",
692
+ "dependencies": [],
693
+ "files": [
694
+ {
695
+ "path": "src/components/module-library/MosaicModuleLibrary.tsx",
696
+ "type": "registry:ui"
697
+ }
698
+ ]
699
+ },
700
+ {
701
+ "name": "mosaic-org-panel",
702
+ "type": "registry:ui",
703
+ "title": "MosaicOrgPanel",
704
+ "description": "Generic org management shell. Includes MosaicOrgRoleBadge, MosaicMultiOrgIndicator, MosaicCreateOrgDialog, MosaicInviteMemberDialog, MosaicMemberList. Pure presentational \u2014 no Clerk/Convex.",
705
+ "dependencies": [],
706
+ "files": [
707
+ {
708
+ "path": "src/components/org-panel/MosaicOrgPanel.tsx",
709
+ "type": "registry:ui"
710
+ }
711
+ ]
712
+ },
713
+ {
714
+ "name": "mosaic-dashboard-content",
715
+ "type": "registry:ui",
716
+ "title": "MosaicDashboardContent",
717
+ "description": "Generic dashboard content area with view switcher. Tab-based view rendering. CSS fade-in transition.",
718
+ "dependencies": [],
719
+ "files": [
720
+ {
721
+ "path": "src/components/dashboard-content/MosaicDashboardContent.tsx",
722
+ "type": "registry:ui"
723
+ }
724
+ ]
725
+ },
726
+ {
727
+ "name": "mosaic-dashboard-header",
728
+ "type": "registry:ui",
729
+ "title": "MosaicDashboardHeader",
730
+ "description": "Generic sticky dashboard header. Title/subtitle, search bar (desktop), notification bell, right-side actions slot.",
731
+ "dependencies": [],
732
+ "files": [
733
+ {
734
+ "path": "src/components/dashboard-header/MosaicDashboardHeader.tsx",
735
+ "type": "registry:ui"
736
+ }
737
+ ]
738
+ },
739
+ {
740
+ "name": "mosaic-org-switcher",
741
+ "type": "registry:ui",
742
+ "title": "MosaicOrgSwitcher",
743
+ "description": "Presentational org picker dropdown. Current org + avatar in trigger. Pure props \u2014 no Clerk. Auth wiring is T1.5.",
744
+ "dependencies": [],
745
+ "files": [
746
+ {
747
+ "path": "src/components/org-switcher/MosaicOrgSwitcher.tsx",
748
+ "type": "registry:ui"
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "name": "mosaic-quick-actions-menu",
754
+ "type": "registry:ui",
755
+ "title": "MosaicQuickActionsMenu",
756
+ "description": "Generic + button dropdown for quick actions. Items with icon + label + separator. Custom link renderer prop.",
757
+ "dependencies": [],
758
+ "files": [
759
+ {
760
+ "path": "src/components/quick-actions-menu/MosaicQuickActionsMenu.tsx",
761
+ "type": "registry:ui"
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "name": "mosaic-sign-in-layout",
767
+ "type": "registry:ui",
768
+ "title": "MosaicSignInLayout",
769
+ "description": "Sign-in page layout, themed, mobile-first. Wraps Clerk <SignIn> with OKLCH-token appearance. Clerk injected as peer prop.",
770
+ "dependencies": [
771
+ "@clerk/nextjs"
772
+ ],
773
+ "files": [
774
+ {
775
+ "path": "src/components/auth/sign-in-layout/MosaicSignInLayout.tsx",
776
+ "type": "registry:ui"
777
+ }
778
+ ]
779
+ },
780
+ {
781
+ "name": "mosaic-sign-up-layout",
782
+ "type": "registry:ui",
783
+ "title": "MosaicSignUpLayout",
784
+ "description": "Sign-up page layout, themed, mobile-first. Wraps Clerk <SignUp> with OKLCH-token appearance. Clerk injected as peer prop.",
785
+ "dependencies": [
786
+ "@clerk/nextjs"
787
+ ],
788
+ "files": [
789
+ {
790
+ "path": "src/components/auth/sign-up-layout/MosaicSignUpLayout.tsx",
791
+ "type": "registry:ui"
792
+ }
793
+ ]
794
+ },
795
+ {
796
+ "name": "mosaic-clerk-org-switcher",
797
+ "type": "registry:ui",
798
+ "title": "MosaicClerkOrgSwitcher",
799
+ "description": "Clerk-backed org switcher (live org data). Wraps <OrganizationSwitcher> with OKLCH appearance. DISTINCT from MosaicOrgSwitcher (presentational, orgs via props).",
800
+ "dependencies": [
801
+ "@clerk/nextjs"
802
+ ],
803
+ "files": [
804
+ {
805
+ "path": "src/components/auth/clerk-org-switcher/MosaicClerkOrgSwitcher.tsx",
806
+ "type": "registry:ui"
807
+ }
808
+ ]
809
+ },
810
+ {
811
+ "name": "mosaic-user-button",
812
+ "type": "registry:ui",
813
+ "title": "MosaicUserButton",
814
+ "description": "Clerk <UserButton> with OKLCH-token appearance. Avatar + popover themed to mosaic tokens. Clerk injected as peer prop.",
815
+ "dependencies": [
816
+ "@clerk/nextjs"
817
+ ],
818
+ "files": [
819
+ {
820
+ "path": "src/components/auth/user-button/MosaicUserButton.tsx",
821
+ "type": "registry:ui"
822
+ }
823
+ ]
824
+ },
825
+ {
826
+ "name": "mosaic-org-profile-page",
827
+ "type": "registry:ui",
828
+ "title": "MosaicOrgProfilePage",
829
+ "description": "Clerk <OrganizationProfile> for team management with OKLCH appearance. hash/path/virtual routing modes. Clerk injected as peer prop.",
830
+ "dependencies": [
831
+ "@clerk/nextjs"
832
+ ],
833
+ "files": [
834
+ {
835
+ "path": "src/components/auth/org-profile-page/MosaicOrgProfilePage.tsx",
836
+ "type": "registry:ui"
837
+ }
838
+ ]
839
+ },
840
+ {
841
+ "name": "mosaic-multi-tenant-provider",
842
+ "type": "registry:ui",
843
+ "title": "MosaicMultiTenantProvider",
844
+ "description": "Wraps <ClerkProvider> + cloud-identity workspace-scope context. resolveWorkspaceId prop integrates @vantageos/cloud-identity. Exposes useMosaicWorkspace hook.",
845
+ "dependencies": [
846
+ "@clerk/nextjs",
847
+ "@vantageos/cloud-identity"
848
+ ],
849
+ "files": [
850
+ {
851
+ "path": "src/components/multi-tenant/multi-tenant-provider/MosaicMultiTenantProvider.tsx",
852
+ "type": "registry:ui"
853
+ }
854
+ ]
855
+ },
856
+ {
857
+ "name": "use-effective-workspace-id",
858
+ "type": "registry:hook",
859
+ "title": "useEffectiveWorkspaceId",
860
+ "description": "Re-exposes cloud-identity workspace resolver as a typed React hook. Reads from MosaicMultiTenantProvider context.",
861
+ "dependencies": [],
862
+ "files": [
863
+ {
864
+ "path": "src/components/multi-tenant/multi-tenant-provider/useEffectiveWorkspaceId.ts",
865
+ "type": "registry:hook"
866
+ }
867
+ ]
868
+ },
869
+ {
870
+ "name": "mosaic-clerk-webhook-handler",
871
+ "type": "registry:lib",
872
+ "title": "MosaicClerkWebhookHandler",
873
+ "description": "Template handler: Clerk -> Convex sync for organization.created + organizationMembership.created/deleted. svix signature verification. Returns Next.js App Router compatible Response.",
874
+ "dependencies": [
875
+ "svix"
876
+ ],
877
+ "files": [
878
+ {
879
+ "path": "src/components/multi-tenant/webhook-handler/MosaicClerkWebhookHandler.ts",
880
+ "type": "registry:lib"
881
+ }
882
+ ]
349
883
  }
350
884
  ]
351
- }
885
+ }