@lanaco/lnc-react-ui 4.0.150 → 4.0.152
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/AdBannerSection.cjs +3 -3
- package/dist/AdBannerSection.js +16 -16
- package/dist/BannerSectionBasic.cjs +4 -4
- package/dist/BannerSectionBasic.js +33 -32
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +33 -33
- package/dist/BlogCardsSponsoredSection.cjs +3 -3
- package/dist/BlogCardsSponsoredSection.js +15 -15
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -12
- package/dist/BlogExploreSection.cjs +4 -4
- package/dist/BlogExploreSection.js +30 -30
- package/dist/BlogListSection.cjs +2 -2
- package/dist/BlogListSection.js +28 -28
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +20 -19
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +22 -22
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +24 -24
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{DailyMotion-CPQ6kDJJ.cjs → DailyMotion-BaFUcQKQ.cjs} +1 -1
- package/dist/{DailyMotion-BrbMSyj1.js → DailyMotion-ByXblnua.js} +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
- package/dist/DetailedProductsInfinitiveSection.js +53 -84
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/{Facebook-Dw3my9_4.js → Facebook-BCqiOWZO.js} +1 -1
- package/dist/{Facebook-DKhRiODC.cjs → Facebook-D9wwecSW.cjs} +1 -1
- package/dist/FaqSection.cjs +2 -2
- package/dist/FaqSection.js +2 -2
- package/dist/FieldOfInterestsMasonrySection.cjs +6 -6
- package/dist/FieldOfInterestsMasonrySection.js +65 -48
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +3 -3
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +27 -25
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +6 -6
- package/dist/FieldOfInterestsWithTagsCardsSection.js +40 -32
- package/dist/{FilePlayer-DlCyGLHB.cjs → FilePlayer-DB6jnpeC.cjs} +1 -1
- package/dist/{FilePlayer-Ckx8dmB0.js → FilePlayer-ktaNhf3p.js} +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +9 -9
- package/dist/GeneralWithTagsCardsSection.js +15 -15
- package/dist/{Kaltura-31Xm8S1J.cjs → Kaltura-CCdXLzOa.cjs} +1 -1
- package/dist/{Kaltura-qHdDvnjZ.js → Kaltura-CvlN0HDg.js} +1 -1
- package/dist/LoanCalculatorSection.cjs +2 -2
- package/dist/LoanCalculatorSection.js +89 -88
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/{Mixcloud-DvH0vfg5.js → Mixcloud-Bb8MTclI.js} +1 -1
- package/dist/{Mixcloud-CP9Zq_TX.cjs → Mixcloud-nG_VyBNt.cjs} +1 -1
- package/dist/{Mux-BlblTeid.cjs → Mux-BgB2a8kM.cjs} +1 -1
- package/dist/{Mux--JeF6dPG.js → Mux-DfYpGTiP.js} +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +5 -5
- package/dist/OverlayGeneralCardsSection.js +11 -11
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/QuattroCardsSection.cjs +5 -5
- package/dist/QuattroCardsSection.js +7 -7
- package/dist/QuizSection.cjs +7 -7
- package/dist/QuizSection.js +51 -51
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +2 -1
- package/dist/SearchSection-BcbHP6QF.cjs +161 -0
- package/dist/{SearchSection-CsfURtvf.js → SearchSection-DDQ_K98T.js} +52 -52
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/{SoundCloud-1hd9TBSO.cjs → SoundCloud-C86xwUG6.cjs} +1 -1
- package/dist/{SoundCloud-CKaavZky.js → SoundCloud-DG91z39R.js} +1 -1
- package/dist/StatsSection.cjs +5 -5
- package/dist/StatsSection.js +22 -22
- package/dist/{Streamable-DLxq1ZNX.cjs → Streamable-4uAnb3WN.cjs} +1 -1
- package/dist/{Streamable-CZEPghiG.js → Streamable-BAIWLgyD.js} +1 -1
- package/dist/ToggleSection.cjs +3 -3
- package/dist/ToggleSection.js +10 -10
- package/dist/{Twitch-Bb8e342z.cjs → Twitch-CVAj24ti.cjs} +1 -1
- package/dist/{Twitch-BJeGquex.js → Twitch-DfXeW5Xs.js} +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{Vidyard-WNQdOeK1.cjs → Vidyard-DaCcaaH4.cjs} +1 -1
- package/dist/{Vidyard-CuGoX_VE.js → Vidyard-De3pges0.js} +1 -1
- package/dist/{Vimeo-Da2vBv-V.cjs → Vimeo-8wXdCXGs.cjs} +1 -1
- package/dist/{Vimeo-B9eKoxWn.js → Vimeo-N6I2qi_h.js} +1 -1
- package/dist/{Wistia-ZPcGhh1L.cjs → Wistia-BrUzHQoq.cjs} +1 -1
- package/dist/{Wistia-BB50IUif.js → Wistia-dlV6n6tO.js} +1 -1
- package/dist/{YouTube-4RMnpdLL.cjs → YouTube-Cfsj4ZaP.cjs} +1 -1
- package/dist/{YouTube-CG6JL2_w.js → YouTube-DNJxWqRm.js} +1 -1
- package/dist/{index-DzYKmmn2.js → index-BGY3PSA-.js} +18 -18
- package/dist/{index-Djw_s9eq.js → index-C0SKNFzP.js} +15 -15
- package/dist/{index-cd9auaNr.cjs → index-CLoINIGC.cjs} +3 -3
- package/dist/{index-GxCvHDwv.cjs → index-ELUMKl0N.cjs} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{suspense-categories-card-simple-DuKEj9IU.js → suspense-categories-card-simple-BGj475Ca.js} +11 -10
- package/dist/{suspense-categories-card-simple-DaA0JGJJ.cjs → suspense-categories-card-simple-CjGtzfzp.cjs} +1 -1
- package/dist/suspense-product-card-detailed-BJ-HBkBc.js +577 -0
- package/dist/suspense-product-card-detailed-wPRUytSf.cjs +263 -0
- package/dist/{suspense-product-card-simple-D2m3NcrV.js → suspense-product-card-simple-CLJjab5B.js} +1 -1
- package/dist/{suspense-product-card-simple-BWxWMag0.cjs → suspense-product-card-simple-CrqjSxHI.cjs} +1 -1
- package/dist/{tag-CtleOqEC.js → tag-cRMfP-SZ.js} +9 -9
- package/dist/{tag-Bov1gw34.cjs → tag-yputMSpE.cjs} +4 -4
- package/package.json +1 -1
- package/dist/SearchSection-BGK1Fxaj.cjs +0 -161
- package/dist/suspense-product-card-detailed-C-ZCjG5p.js +0 -538
- package/dist/suspense-product-card-detailed-FuxsUusc.cjs +0 -260
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),o=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-goSZX3xP.cjs"),p=require("./utils-Dl9xPH4c.cjs"),y=require("./Icon.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
font-style: normal;
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
line-height: 1.5rem;
|
|
38
|
-
${
|
|
38
|
+
${p.truncateTextInRows(2)}
|
|
39
39
|
transition: var(--transition, all 0.2s ease);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -63,18 +63,18 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
`,k=
|
|
66
|
+
`,k=d.styled.div`
|
|
67
67
|
width: 100%;
|
|
68
68
|
height: 11.625rem;
|
|
69
69
|
border-radius: 0.75rem;
|
|
70
|
-
background: ${
|
|
70
|
+
background: ${p.linearGradientAnimation("-90deg")};
|
|
71
71
|
|
|
72
72
|
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
73
73
|
width: 5rem;
|
|
74
74
|
height: 5rem;
|
|
75
75
|
border-radius: 999px;
|
|
76
76
|
}
|
|
77
|
-
`,$=
|
|
77
|
+
`,$=d.styled.div`
|
|
78
78
|
display: flex;
|
|
79
79
|
padding: 0 0.75rem 0 0.75rem;
|
|
80
80
|
align-items: center;
|
|
@@ -120,12 +120,12 @@
|
|
|
120
120
|
white-space: nowrap;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
`,N=
|
|
123
|
+
`,N=d.styled.div`
|
|
124
124
|
width: 7rem;
|
|
125
125
|
height: 3rem;
|
|
126
126
|
border-radius: 999px;
|
|
127
|
-
background: ${
|
|
128
|
-
`,C=
|
|
127
|
+
background: ${p.linearGradientAnimation("-90deg")};
|
|
128
|
+
`,C=o.forwardRef(({},a)=>r.jsx(N,{})),E=o.forwardRef(({title:a,icon:i,onSelectCard:t=()=>{}},l)=>r.jsxs($,{ref:l,onClick:t,children:[p.isDefinedNotEmptyString(i)&&r.jsx(y,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:a})]})),I=o.forwardRef(({imageUrl:a,imageComponent:i,title:t,onSelectCard:l=()=>{}},c)=>{const{theme:g}=v.useTheme();return r.jsxs(j,{ref:c,theme:g,onClick:l,children:[p.isDefined(i)?i:r.jsx("img",{src:a,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__content",children:r.jsx("div",{className:"wrapper__title",children:t})})]})}),W=o.forwardRef(({},a)=>r.jsx(k,{})),G=d.styled.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: center;
|
|
@@ -201,4 +201,4 @@
|
|
|
201
201
|
gap: 1rem;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
`,R=
|
|
204
|
+
`,R=o.forwardRef(({title:a,subtitle:i,options:t=[],limitTags:l=7,limitTagsForMobile:c=2,limit:g=3,limitForMobile:f=3,items:n=[],onSelectTag:h=()=>{},onSelectCard:_=()=>{},isLoading:u},b)=>{var x,w;return r.jsxs(G,{ref:b,limitTags:l,limitTagsForMobile:c,limitCards:g,limitCardsForMobile:f,children:[r.jsxs("div",{className:"wrapper__heading",children:[a&&r.jsx("div",{className:"wrapper__title",children:a}),i&&r.jsx("div",{className:"wrapper__subtitle",children:i})]}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,s)=>r.jsx(I,{imageUrl:e==null?void 0:e.imageUrl,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,onSelectCard:()=>{_==null||_(e)}},`general-with-tags-card__${s+1}`)):(x=Array.from("123"))==null?void 0:x.map((e,s)=>r.jsx(W,{},`general-with-tags-card-skeleton__${s+1}`))}),(t==null?void 0:t.length)>0&&r.jsx("div",{className:"wrapper__tags",children:t==null?void 0:t.map((e,s)=>r.jsx(E,{icon:e==null?void 0:e.icon,title:e==null?void 0:e.title,onSelectCard:()=>h==null?void 0:h(e)},`general-with-tags-card-tag__${s+1}`))}),u===!0&&!((t==null?void 0:t.length)>0)&&r.jsx("div",{className:"wrapper__tags",children:(w=Array.from("123"))==null?void 0:w.map((e,s)=>r.jsx(C,{},`general-with-tags-card-tag-skeleton__${s+1}`))})]})});module.exports=R;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
2
|
+
import { forwardRef as s } from "react";
|
|
3
|
+
import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as d } from "./consts-BuFChS64.js";
|
|
5
5
|
import { p as y, o as x, k, l as $ } from "./utils-BdsZgOUE.js";
|
|
6
6
|
import N from "./Icon.js";
|
|
7
7
|
import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
const W =
|
|
8
|
+
const W = p.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -70,7 +70,7 @@ const W = s.div`
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
`, j =
|
|
73
|
+
`, j = p.div`
|
|
74
74
|
width: 100%;
|
|
75
75
|
height: 11.625rem;
|
|
76
76
|
border-radius: 0.75rem;
|
|
@@ -81,7 +81,7 @@ const W = s.div`
|
|
|
81
81
|
height: 5rem;
|
|
82
82
|
border-radius: 999px;
|
|
83
83
|
}
|
|
84
|
-
`, G =
|
|
84
|
+
`, G = p.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
padding: 0 0.75rem 0 0.75rem;
|
|
87
87
|
align-items: center;
|
|
@@ -127,28 +127,28 @@ const W = s.div`
|
|
|
127
127
|
white-space: nowrap;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
`, T =
|
|
130
|
+
`, T = p.div`
|
|
131
131
|
width: 7rem;
|
|
132
132
|
height: 3rem;
|
|
133
133
|
border-radius: 999px;
|
|
134
134
|
background: ${x("-90deg")};
|
|
135
|
-
`, z =
|
|
135
|
+
`, z = s(({}, r) => /* @__PURE__ */ a(T, {})), I = s(
|
|
136
136
|
({ title: r, icon: i, onSelectCard: t = () => {
|
|
137
|
-
} },
|
|
137
|
+
} }, o) => /* @__PURE__ */ m(G, { ref: o, onClick: t, children: [
|
|
138
138
|
k(i) && /* @__PURE__ */ a(N, { icon: i, className: "wrapper__icon" }),
|
|
139
139
|
/* @__PURE__ */ a("div", { className: "wrapper__text", children: r })
|
|
140
140
|
] })
|
|
141
|
-
), E =
|
|
141
|
+
), E = s(
|
|
142
142
|
// eslint-disable-next-line react/prop-types
|
|
143
|
-
({ imageUrl: r, imageComponent: i, title: t, onSelectCard:
|
|
143
|
+
({ imageUrl: r, imageComponent: i, title: t, onSelectCard: o = () => {
|
|
144
144
|
} }, c) => {
|
|
145
145
|
const { theme: g } = C();
|
|
146
|
-
return /* @__PURE__ */ m(W, { ref: c, theme: g, onClick:
|
|
146
|
+
return /* @__PURE__ */ m(W, { ref: c, theme: g, onClick: o, children: [
|
|
147
147
|
$(i) ? i : /* @__PURE__ */ a("img", { src: r, className: "wrapper__image" }),
|
|
148
148
|
/* @__PURE__ */ a("div", { className: "wrapper__content", children: /* @__PURE__ */ a("div", { className: "wrapper__title", children: t }) })
|
|
149
149
|
] });
|
|
150
150
|
}
|
|
151
|
-
), M =
|
|
151
|
+
), M = s(({}, r) => /* @__PURE__ */ a(j, {})), A = p.div`
|
|
152
152
|
display: flex;
|
|
153
153
|
flex-direction: column;
|
|
154
154
|
align-items: center;
|
|
@@ -224,12 +224,12 @@ const W = s.div`
|
|
|
224
224
|
gap: 1rem;
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
`, O =
|
|
227
|
+
`, O = s(
|
|
228
228
|
({
|
|
229
229
|
title: r,
|
|
230
230
|
subtitle: i,
|
|
231
231
|
options: t = [],
|
|
232
|
-
limitTags:
|
|
232
|
+
limitTags: o = 7,
|
|
233
233
|
limitTagsForMobile: c = 2,
|
|
234
234
|
limit: g = 3,
|
|
235
235
|
limitForMobile: u = 3,
|
|
@@ -245,7 +245,7 @@ const W = s.div`
|
|
|
245
245
|
A,
|
|
246
246
|
{
|
|
247
247
|
ref: v,
|
|
248
|
-
limitTags:
|
|
248
|
+
limitTags: o,
|
|
249
249
|
limitTagsForMobile: c,
|
|
250
250
|
limitCards: g,
|
|
251
251
|
limitCardsForMobile: u,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-
|
|
1
|
+
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-BcbHP6QF.cjs");function m(r,e){for(var t=0;t<e.length;t++){const o=e[t];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in r)){const l=Object.getOwnPropertyDescriptor(o,a);l&&Object.defineProperty(r,a,l.get?l:{enumerable:!0,get:()=>o[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,v=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,j=(r,e,t)=>e in r?n(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,w=(r,e)=>{for(var t in e)n(r,t,{get:e[t],enumerable:!0})},h=(r,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of b(e))!O.call(r,a)&&a!==t&&n(r,a,{get:()=>e[a],enumerable:!(o=g(e,a))||o.enumerable});return r},L=(r,e,t)=>(t=r!=null?P(v(r)):{},h(!r||!r.__esModule?n(t,"default",{value:r,enumerable:!0}):t,r)),K=r=>h(n({},"__esModule",{value:!0}),r),s=(r,e,t)=>(j(r,typeof e!="symbol"?e+"":e,t),t),d={};w(d,{default:()=>i});var y=K(d),u=L(f),p=c.utils,S=c.patterns;const D="https://cdn.embed.ly/player-0.1.0.min.js",M="playerjs";class i extends u.Component{constructor(){super(...arguments),s(this,"callPlayer",p.callPlayer),s(this,"duration",null),s(this,"currentTime",null),s(this,"secondsLoaded",null),s(this,"mute",()=>{this.callPlayer("mute")}),s(this,"unmute",()=>{this.callPlayer("unmute")}),s(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,p.getSDK)(D,M).then(t=>{this.iframe&&(this.player=new t.Player(this.iframe),this.player.on("ready",()=>{setTimeout(()=>{this.player.isReady=!0,this.player.setLoop(this.props.loop),this.props.muted&&this.player.mute(),this.addListeners(this.player,this.props),this.props.onReady()},500)}))},this.props.onError)}addListeners(e,t){e.on("play",t.onPlay),e.on("pause",t.onPause),e.on("ended",t.onEnded),e.on("error",t.onError),e.on("timeupdate",({duration:o,seconds:a})=>{this.duration=o,this.currentTime=a})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("setCurrentTime",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e={width:"100%",height:"100%"};return u.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:e,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}s(i,"displayName","Kaltura");s(i,"canPlay",S.canPlay.kaltura);const T=_.getDefaultExportFromCjs(y),E=m({__proto__:null,default:T},[y]);exports.Kaltura=E;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as f } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { u as _, p as m } from "./SearchSection-
|
|
3
|
+
import { u as _, p as m } from "./SearchSection-DDQ_K98T.js";
|
|
4
4
|
function P(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|