lm-web-controls 1.2.39 → 1.2.41
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.
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{useEffect as t}from"react";function e(){return t((function(){var t=function(){if("undefined"!=typeof window){var t=window.location.pathname.split("/").filter((function(t){return t})),e=[{"@type":"ListItem",position:1,name:"Home",item:"/"}];t.forEach((function(i,n){var o={"@type":"ListItem",position:n+2,name:i.charAt(0).toUpperCase()+i.slice(1),item:"/".concat(t.slice(0,n+1).join("/"))};e.push(o)}));var i={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e},n=document.createElement("script");n.type="application/ld+json",n.innerHTML=JSON.stringify(i);var o=document.querySelector("script[type='application/ld+json']");o&&o.remove(),document.head.appendChild(n)}};t(),window.addEventListener("popstate",t);var e=history.pushState,i=history.replaceState;return history.pushState=function(i,n,o){e.apply(this,arguments),t()},history.replaceState=function(e,n,o){i.apply(this,arguments),t()},function(){window.removeEventListener("popstate",t),history.pushState=e,history.replaceState=i}}),[]),null}export{e as BreadCrumbJsonLD};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Copyright}from"./controls/copyright/index.js";export{Email}from"./controls/email/index.js";export{INSTA_MEDIA_TYPES,InstaFeed}from"./controls/instaFeed/index.js";export{Map}from"./controls/map/index.js";export{Phone}from"./controls/phone/index.js";export{BackToTop}from"./controls/backToTop/index.js";export{CopyrightWithUTM}from"./controls/copyrightWithUTM/index.js";export{SocialShare}from"./controls/socialShare/index.js";export{ReadingProgressBar}from"./controls/readingProgressBar/index.js";export{TableOfContents}from"./controls/tableOfContents/index.js";export{Faq}from"./controls/faq/index.js";export{FaqSchema}from"./controls/faqSchema/index.js";export{FeaturedBlog}from"./controls/featuredBlog/index.js";export{Post}from"./controls/post/index.js";export{RelatedPosts}from"./controls/relatedPosts/index.js";export{BlogList}from"./controls/blogList/index.js";export{ModalForm}from"./controls/modalForm/index.js";
|
|
1
|
+
export{Copyright}from"./controls/copyright/index.js";export{Email}from"./controls/email/index.js";export{INSTA_MEDIA_TYPES,InstaFeed}from"./controls/instaFeed/index.js";export{Map}from"./controls/map/index.js";export{Phone}from"./controls/phone/index.js";export{BackToTop}from"./controls/backToTop/index.js";export{CopyrightWithUTM}from"./controls/copyrightWithUTM/index.js";export{SocialShare}from"./controls/socialShare/index.js";export{ReadingProgressBar}from"./controls/readingProgressBar/index.js";export{TableOfContents}from"./controls/tableOfContents/index.js";export{Faq}from"./controls/faq/index.js";export{FaqSchema}from"./controls/faqSchema/index.js";export{FeaturedBlog}from"./controls/featuredBlog/index.js";export{Post}from"./controls/post/index.js";export{RelatedPosts}from"./controls/relatedPosts/index.js";export{BlogList}from"./controls/blogList/index.js";export{ModalForm}from"./controls/modalForm/index.js";export{BreadCrumbJsonLD}from"./controls/breadCrumbSchema/index.js";
|
package/package.json
CHANGED
|
@@ -113,6 +113,7 @@ declare module "lm-web-controls" {
|
|
|
113
113
|
export const RelatedPosts: React.FC<RelatedPostProps>;
|
|
114
114
|
export const BlogList: React.FC<BlogListProps>;
|
|
115
115
|
export const ModalForm: React.FC<ModalFormProps>;
|
|
116
|
+
export const BreadCrumbJsonLD: React.FC;
|
|
116
117
|
|
|
117
118
|
export const INSTA_MEDIA_TYPES: {
|
|
118
119
|
readonly IMAGE: 1;
|