@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.
@@ -1720,9 +1720,22 @@ function useGoogleAnalytics() {
1720
1720
  import Script2 from "next/script";
1721
1721
  import { jsx as jsx39 } from "react/jsx-runtime";
1722
1722
  var microsoftClarityId = process.env.NEXT_PUBLIC_MICROSOFT_CLARITY_ID;
1723
+ function MicrosoftClarityScript() {
1724
+ if (process.env.NODE_ENV !== "production") {
1725
+ return null;
1726
+ }
1727
+ return /* @__PURE__ */ jsx39(Script2, { id: "microsoft-clarity", strategy: "afterInteractive", children: `
1728
+ (function(c,l,a,r,i,t,y){
1729
+ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
1730
+ t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
1731
+ y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
1732
+ })(window, document, "clarity", "script", "${microsoftClarityId}");
1733
+ ` });
1734
+ }
1723
1735
  export {
1724
1736
  DefaultSiteIcon,
1725
1737
  GoogleAnalyticsScript,
1738
+ MicrosoftClarityScript,
1726
1739
  NotFoundIcon,
1727
1740
  NotFoundPage,
1728
1741
  getGlobalIcon,