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.
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- declare const MicrosoftClarity: import("react").NamedExoticComponent<{
1
+ import { FC } from 'react';
2
+ declare const MicrosoftClarity: FC<{
3
3
  projectId: string;
4
4
  }>;
5
5
  export default MicrosoftClarity;
@@ -1,6 +1,5 @@
1
- import { memo } from 'react';
2
1
  import { jsx as _jsx } from "react/jsx-runtime";
3
- var MicrosoftClarity = /*#__PURE__*/memo(function (_ref) {
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,5 +1,5 @@
1
- /// <reference types="react" />
2
- declare const GoogleAnalytics: import("react").NamedExoticComponent<{
1
+ import { FC } from 'react';
2
+ declare const GoogleAnalytics: FC<{
3
3
  measurementId: string;
4
4
  }>;
5
5
  export default GoogleAnalytics;
@@ -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 = /*#__PURE__*/memo(function (_ref) {
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,5 +1,5 @@
1
- /// <reference types="react" />
2
- declare const PlausibleAnalytics: import("react").NamedExoticComponent<{
1
+ import { FC } from 'react';
2
+ declare const PlausibleAnalytics: FC<{
3
3
  domain: string;
4
4
  scriptBaseUrl: string;
5
5
  }>;
@@ -1,6 +1,5 @@
1
- import { memo } from 'react';
2
1
  import { jsx as _jsx } from "react/jsx-runtime";
3
- var PlausibleAnalytics = /*#__PURE__*/memo(function (_ref) {
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;
@@ -1,2 +1,3 @@
1
- declare const Analytics: () => import("react/jsx-runtime").JSX.Element;
1
+ import { FC } from 'react';
2
+ declare const Analytics: FC;
2
3
  export default Analytics;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dumi-theme-lobehub",
3
- "version": "1.10.0",
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",