@tscircuit/fake-snippets 0.0.111 → 0.0.113

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 (33) hide show
  1. package/bun-tests/fake-snippets-api/routes/orgs/get.test.ts +2 -1
  2. package/bun-tests/fake-snippets-api/routes/orgs/list_members.test.ts +1 -1
  3. package/bun-tests/fake-snippets-api/routes/packages/list_latest.test.ts +4 -4
  4. package/bun.lock +9 -9
  5. package/dist/bundle.js +22 -6
  6. package/dist/index.js +3 -0
  7. package/dist/schema.d.ts +3 -0
  8. package/dist/schema.js +1 -0
  9. package/fake-snippets-api/lib/db/schema.ts +1 -0
  10. package/fake-snippets-api/lib/db/seed.ts +2 -0
  11. package/fake-snippets-api/lib/public-mapping/public-map-org.ts +1 -0
  12. package/fake-snippets-api/routes/api/orgs/list_members.ts +15 -5
  13. package/package.json +4 -4
  14. package/src/components/CmdKMenu.tsx +1 -1
  15. package/src/components/GithubAvatarWithFallback.tsx +35 -0
  16. package/src/components/HeaderLogin.tsx +1 -1
  17. package/src/components/PackageCard.tsx +2 -5
  18. package/src/components/PackagesList.tsx +2 -2
  19. package/src/components/ProfileRouter.tsx +4 -6
  20. package/src/components/TrendingPackagesCarousel.tsx +2 -2
  21. package/src/components/UserCard.tsx +1 -1
  22. package/src/components/ViewPackagePage/components/build-status.tsx +2 -2
  23. package/src/components/ViewPackagePage/components/sidebar-releases-section.tsx +2 -2
  24. package/src/components/organization/OrganizationCard.tsx +11 -15
  25. package/src/components/organization/OrganizationHeader.tsx +15 -32
  26. package/src/components/organization/OrganizationMembers.tsx +8 -9
  27. package/src/components/preview/ConnectedPackagesList.tsx +1 -1
  28. package/src/components/preview/PackageReleasesDashboard.tsx +3 -3
  29. package/src/hooks/use-list-org-members.ts +5 -1
  30. package/src/hooks/use-org-by-github-handle.ts +0 -2
  31. package/src/pages/editor.tsx +1 -3
  32. package/src/pages/release-detail.tsx +25 -23
  33. package/src/pages/user-profile.tsx +2 -2
@@ -154,7 +154,7 @@ export const UserProfilePage = () => {
154
154
  <div className="flex items-center gap-4 mb-6">
155
155
  <Avatar className="h-16 w-16">
156
156
  <AvatarImage
157
- src={`https://github.com/${githubUsername}.png`}
157
+ src={`https://github.com/${githubUsername}.png?size=300`}
158
158
  draggable={false}
159
159
  />
160
160
  <AvatarFallback className="select-none">
@@ -236,7 +236,7 @@ export const UserProfilePage = () => {
236
236
  }
237
237
  />
238
238
  ) : activeTab === "organizations" ? (
239
- <div className="grid grid-cols-1 md:grid-cols-3 gap-4">
239
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
240
240
  {organizations && organizations.length > 0 ? (
241
241
  organizations
242
242
  ?.filter((o) => {