@windrun-huaiin/third-ui 3.2.2 → 3.3.1

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 (42) hide show
  1. package/dist/clerk/index.js +1 -1
  2. package/dist/clerk/index.js.map +1 -1
  3. package/dist/clerk/index.mjs.map +1 -1
  4. package/dist/fuma/index.d.mts +1 -23
  5. package/dist/fuma/index.d.ts +1 -23
  6. package/dist/fuma/index.js +157 -319
  7. package/dist/fuma/index.js.map +1 -1
  8. package/dist/fuma/index.mjs +136 -296
  9. package/dist/fuma/index.mjs.map +1 -1
  10. package/dist/fuma/mdx/index.d.mts +23 -1
  11. package/dist/fuma/mdx/index.d.ts +23 -1
  12. package/dist/fuma/mdx/index.js +162 -1
  13. package/dist/fuma/mdx/index.js.map +1 -1
  14. package/dist/fuma/mdx/index.mjs +159 -0
  15. package/dist/fuma/mdx/index.mjs.map +1 -1
  16. package/dist/index.d.mts +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +49 -210
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +35 -194
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/lib/index.js +0 -1
  23. package/dist/lib/index.js.map +1 -1
  24. package/dist/lib/index.mjs +0 -1
  25. package/dist/lib/index.mjs.map +1 -1
  26. package/dist/main/index.js +3 -2
  27. package/dist/main/index.js.map +1 -1
  28. package/dist/main/index.mjs +2 -1
  29. package/dist/main/index.mjs.map +1 -1
  30. package/package.json +2 -2
  31. package/src/clerk/clerk-organization.tsx +2 -0
  32. package/src/clerk/index.ts +1 -0
  33. package/src/fuma/index.ts +2 -4
  34. package/src/fuma/mdx/index.ts +5 -1
  35. package/src/fuma/mdx/toc-base.tsx +1 -0
  36. package/src/lib/index.ts +2 -0
  37. package/src/main/ads-alert-dialog.tsx +2 -0
  38. package/src/main/faq.tsx +2 -1
  39. package/src/main/index.ts +2 -0
  40. package/src/main/nprogress-bar.tsx +2 -1
  41. /package/src/fuma/{fuma-banner-suit.tsx → mdx/fuma-banner-suit.tsx} +0 -0
  42. /package/src/fuma/{fuma-github-info.tsx → mdx/fuma-github-info.tsx} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/third-ui",
3
- "version": "3.2.2",
3
+ "version": "3.3.1",
4
4
  "description": "Third-party integrated UI components for windrun-huaiin projects",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -57,7 +57,7 @@
57
57
  "react-medium-image-zoom": "^5.2.14",
58
58
  "@clerk/nextjs": "^6.19.4",
59
59
  "zod": "^3.22.4",
60
- "@windrun-huaiin/base-ui": "^3.2.4"
60
+ "@windrun-huaiin/base-ui": "^3.5.1"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "react": "^19.1.0",
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { OrganizationSwitcher } from '@clerk/nextjs';
2
4
  import { globalLucideIcons as icons } from '@base-ui/components/global-icon';
3
5
  interface ClerkOrganizationProps {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  // Clerk related components
2
3
  export * from './clerk-organization';
3
4
  export * from './clerk-provider-client';
package/src/fuma/index.ts CHANGED
@@ -1,4 +1,2 @@
1
- // Fumadocs related components
2
- export * from './fuma-banner-suit';
3
- export * from './fuma-page-genarator';
4
- export * from './fuma-github-info';
1
+ // Fumadocs related components, this is a server component!
2
+ export * from './fuma-page-genarator';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  export * from './mermaid';
2
4
  export * from './image-zoom';
3
5
  export * from './trophy-card';
@@ -5,4 +7,6 @@ export * from './image-grid';
5
7
  export * from './zia-card';
6
8
  export * from './gradient-button';
7
9
  export * from './toc';
8
- export * from './toc-base';
10
+ export * from './toc-base';
11
+ export * from './fuma-banner-suit';
12
+ export * from './fuma-github-info';
@@ -1,4 +1,5 @@
1
1
  'use client';
2
+
2
3
  import { useState } from 'react';
3
4
  import { useParams } from 'next/navigation';
4
5
  import { useCopyButton } from 'fumadocs-ui/utils/use-copy-button';
package/src/lib/index.ts CHANGED
@@ -1,3 +1,5 @@
1
+ // This is a server component!
2
+
1
3
  export * from './fuma-search-util';
2
4
  export * from './clerk-intl';
3
5
  export * from './fuma-schema-check-util';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useState } from "react";
2
4
  import Image from "next/image";
3
5
  import { globalLucideIcons as icons } from "@base-ui/components/global-icon";
package/src/main/faq.tsx CHANGED
@@ -1,4 +1,5 @@
1
- "use client";
1
+ 'use client';
2
+
2
3
  import { useState } from "react";
3
4
  import { useTranslations } from 'next-intl';
4
5
  import { globalLucideIcons as icons } from '@base-ui/components/global-icon';
package/src/main/index.ts CHANGED
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  // Main application components
2
4
  export * from './gallery';
3
5
  export * from './usage';
@@ -1,4 +1,5 @@
1
- 'use client'
1
+ 'use client';
2
+
2
3
  import NProgress from 'nprogress'
3
4
  import { usePathname } from 'next/navigation'
4
5
  import { useEffect, useRef } from 'react'