@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/dist/index.mjs CHANGED
@@ -5562,6 +5562,18 @@ function useGoogleAnalytics() {
5562
5562
  import Script2 from "next/script";
5563
5563
  import { jsx as jsx84 } from "react/jsx-runtime";
5564
5564
  var microsoftClarityId = process.env.NEXT_PUBLIC_MICROSOFT_CLARITY_ID;
5565
+ function MicrosoftClarityScript() {
5566
+ if (process.env.NODE_ENV !== "production") {
5567
+ return null;
5568
+ }
5569
+ return /* @__PURE__ */ jsx84(Script2, { id: "microsoft-clarity", strategy: "afterInteractive", children: `
5570
+ (function(c,l,a,r,i,t,y){
5571
+ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
5572
+ t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
5573
+ y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
5574
+ })(window, document, "clarity", "script", "${microsoftClarityId}");
5575
+ ` });
5576
+ }
5565
5577
  export {
5566
5578
  Accordion,
5567
5579
  AccordionContent,
@@ -5711,6 +5723,7 @@ export {
5711
5723
  MenubarSubContent,
5712
5724
  MenubarSubTrigger,
5713
5725
  MenubarTrigger,
5726
+ MicrosoftClarityScript,
5714
5727
  NavigationMenu,
5715
5728
  NavigationMenuContent,
5716
5729
  NavigationMenuIndicator,