lm-web-controls 1.1.92 → 1.1.94
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,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import e,{useState as t,useEffect as
|
|
2
|
+
import e,{useState as t,useEffect as a}from"react";import"../../styles/style.css";function r(r){var n=r.name,o=r.className,i=r.source,m=r.medium,c=t(""),s=c[0],l=c[1];return a((function(){if("undefined"!=typeof window){var e=new URL(window.location.href).hostname,t="https://leadmetrics.ai?utm_source=".concat(e,"&utm_medium=").concat(m,"&utm_content=page");l(t)}}),[i]),e.createElement("span",{className:o},"Copyright © ",(new Date).getFullYear()," ",n,", Digital Marketing with AI Powered by",e.createElement("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"left-margin-xs"},"Leadmetrics"))}export{r as CopyrightWithUTM};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lm-web-controls",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.94",
|
|
4
4
|
"description": "leadmetrics-lm-web-controls",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@types/react": "18.2.65",
|
|
26
26
|
"babel-loader": "9.1.3",
|
|
27
27
|
"postcss": "^8.4.35",
|
|
28
|
-
"react": "18.
|
|
29
|
-
"react-dom": "18.
|
|
28
|
+
"react": "18.3.1",
|
|
29
|
+
"react-dom": "18.3.1",
|
|
30
30
|
"rollup-plugin-postcss": "^4.0.2",
|
|
31
31
|
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
32
32
|
"typescript": "5.4.2"
|
|
@@ -39,6 +39,7 @@ declare module "lm-web-controls" {
|
|
|
39
39
|
name: string;
|
|
40
40
|
className?: string;
|
|
41
41
|
source: string;
|
|
42
|
+
medium: string;
|
|
42
43
|
};
|
|
43
44
|
|
|
44
45
|
type SocialShareButtonProps = {
|
|
@@ -53,22 +54,12 @@ declare module "lm-web-controls" {
|
|
|
53
54
|
};
|
|
54
55
|
|
|
55
56
|
type TOCProps = {
|
|
56
|
-
containerClassName?: string;
|
|
57
57
|
contentSelector?: string;
|
|
58
|
-
titleClass?: string;
|
|
59
|
-
itemClass?: string;
|
|
60
|
-
activeClass?: string;
|
|
61
58
|
};
|
|
62
59
|
|
|
63
60
|
type FaqProps = {
|
|
64
61
|
faqSlug: string;
|
|
65
62
|
title?: string;
|
|
66
|
-
containerClassName?: string;
|
|
67
|
-
titleClassName?: string;
|
|
68
|
-
faqWrapperClassName?: string;
|
|
69
|
-
questionClassName?: string;
|
|
70
|
-
answerClassName?: string;
|
|
71
|
-
faqItemClassName?: string;
|
|
72
63
|
icon?: string;
|
|
73
64
|
};
|
|
74
65
|
|