dumi-theme-lobehub 1.10.0 → 1.10.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.
- package/dist/components/Analytics/Clarity.d.ts +2 -2
- package/dist/components/Analytics/Clarity.js +2 -3
- package/dist/components/Analytics/GoogleAnalytics.d.ts +2 -2
- package/dist/components/Analytics/GoogleAnalytics.js +2 -3
- package/dist/components/Analytics/Plausible.d.ts +2 -2
- package/dist/components/Analytics/Plausible.js +2 -3
- package/dist/components/Analytics/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { memo } from 'react';
|
|
2
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
var MicrosoftClarity =
|
|
2
|
+
var MicrosoftClarity = function MicrosoftClarity(_ref) {
|
|
4
3
|
var projectId = _ref.projectId;
|
|
5
4
|
return /*#__PURE__*/_jsx("script", {
|
|
6
5
|
dangerouslySetInnerHTML: {
|
|
@@ -8,5 +7,5 @@ var MicrosoftClarity = /*#__PURE__*/memo(function (_ref) {
|
|
|
8
7
|
},
|
|
9
8
|
id: "microsoft-clarity-init"
|
|
10
9
|
});
|
|
11
|
-
}
|
|
10
|
+
};
|
|
12
11
|
export default MicrosoftClarity;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { memo } from 'react';
|
|
2
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
2
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
4
3
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
var GoogleAnalytics =
|
|
4
|
+
var GoogleAnalytics = function GoogleAnalytics(_ref) {
|
|
6
5
|
var measurementId = _ref.measurementId;
|
|
7
6
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
8
7
|
children: [/*#__PURE__*/_jsx("script", {
|
|
@@ -16,5 +15,5 @@ var GoogleAnalytics = /*#__PURE__*/memo(function (_ref) {
|
|
|
16
15
|
type: "text/javascript"
|
|
17
16
|
})]
|
|
18
17
|
});
|
|
19
|
-
}
|
|
18
|
+
};
|
|
20
19
|
export default GoogleAnalytics;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { memo } from 'react';
|
|
2
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
var PlausibleAnalytics =
|
|
2
|
+
var PlausibleAnalytics = function PlausibleAnalytics(_ref) {
|
|
4
3
|
var domain = _ref.domain,
|
|
5
4
|
scriptBaseUrl = _ref.scriptBaseUrl;
|
|
6
5
|
return /*#__PURE__*/_jsx("script", {
|
|
@@ -8,5 +7,5 @@ var PlausibleAnalytics = /*#__PURE__*/memo(function (_ref) {
|
|
|
8
7
|
defer: true,
|
|
9
8
|
src: "".concat(scriptBaseUrl, "/js/script.js")
|
|
10
9
|
});
|
|
11
|
-
}
|
|
10
|
+
};
|
|
12
11
|
export default PlausibleAnalytics;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi-theme-lobehub",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|