@windrun-huaiin/base-ui 3.1.0 → 3.2.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/base-ui",
3
- "version": "3.1.0",
3
+ "version": "3.2.2",
4
4
  "description": "Base UI components for windrun-huaiin projects",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -72,7 +72,7 @@
72
72
  "@radix-ui/react-toggle": "^1.1.8",
73
73
  "@radix-ui/react-toggle-group": "^1.1.9",
74
74
  "@radix-ui/react-tooltip": "^1.2.6",
75
- "@windrun-huaiin/lib": "workspace:*",
75
+ "@windrun-huaiin/lib": "3.2.1",
76
76
  "class-variance-authority": "^0.7.1",
77
77
  "cmdk": "1.0.4",
78
78
  "embla-carousel-react": "8.5.1",
@@ -6,7 +6,7 @@ import Script from "next/script";
6
6
  const googleAnalyticsId = process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID!;
7
7
 
8
8
  export function GoogleAnalyticsScript() {
9
- // 只在生产环境中加载 Microsoft Clarity
9
+ // Only load in production environment
10
10
  if (process.env.NODE_ENV !== 'production') {
11
11
  return null
12
12
  }
@@ -47,7 +47,7 @@ export function useGoogleAnalytics() {
47
47
  };
48
48
  }
49
49
 
50
- // window 添加 gtag 类型定义
50
+ // Add gtag type definition to window
51
51
  declare global {
52
52
  interface Window {
53
53
  dataLayer: any[];
@@ -4,8 +4,8 @@ import Script from 'next/script'
4
4
 
5
5
  const microsoftClarityId = process.env.NEXT_PUBLIC_MICROSOFT_CLARITY_ID!;
6
6
 
7
- export default function MicrosoftClarityScript() {
8
- // 只在生产环境中加载 Microsoft Clarity
7
+ export function MicrosoftClarityScript() {
8
+ // Only load in production environment
9
9
  if (process.env.NODE_ENV !== 'production') {
10
10
  return null
11
11
  }