@windrun-huaiin/base-ui 3.2.4 → 3.3.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.
@@ -0,0 +1,46 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare function NotFoundPage(): react_jsx_runtime.JSX.Element;
4
+
5
+ type I18nConfig = {
6
+ locales: readonly string[];
7
+ detector: {
8
+ storagePrefix: string;
9
+ storageKey: string;
10
+ autoCloseTimeout: number;
11
+ expirationDays: number;
12
+ };
13
+ };
14
+ interface LanguageDetectorProps {
15
+ i18nConfig: I18nConfig;
16
+ }
17
+ declare function LanguageDetector({ i18nConfig }: LanguageDetectorProps): react_jsx_runtime.JSX.Element | null;
18
+
19
+ /**
20
+ * @license
21
+ * MIT License
22
+ * Copyright (c) 2025 D8ger
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */
27
+ interface LanguageSwitcherProps {
28
+ locales: readonly string[];
29
+ localeLabels: Record<string, string>;
30
+ }
31
+ declare function LanguageSwitcher({ locales, localeLabels }: LanguageSwitcherProps): react_jsx_runtime.JSX.Element;
32
+
33
+ declare function GoogleAnalyticsScript(): react_jsx_runtime.JSX.Element | null;
34
+ declare function useGoogleAnalytics(): {
35
+ trackEvent: (event: string, data?: Record<string, unknown>) => void;
36
+ };
37
+ declare global {
38
+ interface Window {
39
+ dataLayer: any[];
40
+ gtag: (...args: any[]) => void;
41
+ }
42
+ }
43
+
44
+ declare function MicrosoftClarityScript(): react_jsx_runtime.JSX.Element | null;
45
+
46
+ export { GoogleAnalyticsScript, LanguageDetector, LanguageSwitcher, MicrosoftClarityScript, NotFoundPage, useGoogleAnalytics };
@@ -0,0 +1,46 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare function NotFoundPage(): react_jsx_runtime.JSX.Element;
4
+
5
+ type I18nConfig = {
6
+ locales: readonly string[];
7
+ detector: {
8
+ storagePrefix: string;
9
+ storageKey: string;
10
+ autoCloseTimeout: number;
11
+ expirationDays: number;
12
+ };
13
+ };
14
+ interface LanguageDetectorProps {
15
+ i18nConfig: I18nConfig;
16
+ }
17
+ declare function LanguageDetector({ i18nConfig }: LanguageDetectorProps): react_jsx_runtime.JSX.Element | null;
18
+
19
+ /**
20
+ * @license
21
+ * MIT License
22
+ * Copyright (c) 2025 D8ger
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */
27
+ interface LanguageSwitcherProps {
28
+ locales: readonly string[];
29
+ localeLabels: Record<string, string>;
30
+ }
31
+ declare function LanguageSwitcher({ locales, localeLabels }: LanguageSwitcherProps): react_jsx_runtime.JSX.Element;
32
+
33
+ declare function GoogleAnalyticsScript(): react_jsx_runtime.JSX.Element | null;
34
+ declare function useGoogleAnalytics(): {
35
+ trackEvent: (event: string, data?: Record<string, unknown>) => void;
36
+ };
37
+ declare global {
38
+ interface Window {
39
+ dataLayer: any[];
40
+ gtag: (...args: any[]) => void;
41
+ }
42
+ }
43
+
44
+ declare function MicrosoftClarityScript(): react_jsx_runtime.JSX.Element | null;
45
+
46
+ export { GoogleAnalyticsScript, LanguageDetector, LanguageSwitcher, MicrosoftClarityScript, NotFoundPage, useGoogleAnalytics };