lm-web-controls 1.1.48 → 1.1.50

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 +1,2 @@
1
+ "use client";
1
2
  import e,{useState as t,useEffect as r}from"react";function n(n){var a=n.name,o=n.className,i=n.source,c=t(""),m=c[0],l=c[1];return r((function(){if("undefined"!=typeof window){var e=encodeURIComponent(window.location.href),t="https://leadmetrics.ai?utm_source=".concat(e,"&utm_medium=website&utm_content=page");l(t)}}),[i]),e.createElement("span",{className:o},"Copyright © ",(new Date).getFullYear()," ",a,", Digital Marketing with AI Powered by",e.createElement("a",{href:m,target:"_blank",rel:"noopener noreferrer"},"Leadmetrics"))}export{n as CopyrightWithUTM};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lm-web-controls",
3
- "version": "1.1.48",
3
+ "version": "1.1.50",
4
4
  "description": "leadmetrics-lm-web-controls",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -35,12 +35,19 @@ declare module "lm-web-controls" {
35
35
  className?: string;
36
36
  };
37
37
 
38
+ type CopyrightWithUTMProps = {
39
+ name: string;
40
+ className?: string;
41
+ source: string;
42
+ };
43
+
38
44
  export const Email: React.FC<EmailProps>;
39
45
  export const Copyright: React.FC<CopyrightProps>;
40
46
  export const Phone: React.FC<PhoneProps>;
41
47
  export const Map: React.FC<MapProps>;
42
48
  export const InstaFeed: React.FC<InstaFeedProps>;
43
49
  export const BackToTop: React.FC<BackToTopProps>;
50
+ export const CopyrightWithUTM: React.FC<CopyrightWithUTMProps>;
44
51
 
45
52
  export const INSTA_MEDIA_TYPES: {
46
53
  readonly IMAGE: 1;