@lanaco/lnc-react-ui 4.0.89 → 4.0.91
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/Accordion.js +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/AdBannerSection.cjs +37 -0
- package/dist/AdBannerSection.js +68 -0
- package/dist/Alert.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.js +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.js +10 -10
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogListSection.js +3 -3
- package/dist/BlogProductCardsSection.js +2 -2
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.js +7 -7
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.js +16 -16
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.js +4 -4
- package/dist/BrandHitsSection.js +7 -7
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-CQawr7oF.js → CustomStyles-DYULk9y7.js} +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.js +4 -4
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.cjs +51 -0
- package/dist/FeedbackSection.js +82 -0
- package/dist/FieldOfInterestsMasonrySection.cjs +17 -16
- package/dist/FieldOfInterestsMasonrySection.js +73 -66
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
- package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.js +1 -1
- package/dist/GiftCardsSection.js +2 -2
- package/dist/Icon.js +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.js +2 -2
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.js +3 -3
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +163 -0
- package/dist/QuattroCardsSection.js +206 -0
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.js +23 -23
- package/dist/SalesCampaignsSection.js +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.js +2 -2
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.js +3 -3
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/Spinner.js +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +16 -91
- package/dist/ThemeProvider.js +48 -1233
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{index-B68jh2kW.js → index-Cru8Sd2q.js} +2 -2
- package/dist/{index-Cpd68IKh.js → index-D86vS9UF.js} +1 -1
- package/dist/{index-BT4FT6f0.js → index-DfHm_Mv1.js} +2 -2
- package/dist/{index-Chju-CHz.js → index-DpdPtPbo.js} +1 -1
- package/dist/{index-DHQc2df3.js → index-Kx8irvHH.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +59 -53
- package/dist/{skeleton-oa1ux_Zp.js → skeleton-BrUEdt6Z.js} +2 -2
- package/dist/{skeleton-BbYMdJpz.js → skeleton-TrselJrj.js} +1 -1
- package/dist/{style-R2KgPcrd.js → style-C3-67TPD.js} +1 -1
- package/dist/styled-components.browser.esm-C9FYANiy.js +1190 -0
- package/dist/styled-components.browser.esm-CMTEDJ_5.cjs +76 -0
- package/dist/{suspense-categories-card-simple-Dkm0oojD.js → suspense-categories-card-simple-BCn3U1cz.js} +1 -1
- package/dist/{suspense-large-B2lY_x-y.js → suspense-large-DgzTM-qh.js} +1 -1
- package/dist/{suspense-product-card-detailed-5A3zYKqj.js → suspense-product-card-detailed-D7hKisw1.js} +2 -2
- package/dist/{suspense-product-card-simple-C4qtjWg_.js → suspense-product-card-simple-BIVIVybi.js} +1 -1
- package/dist/{utils-BhG1dImS.js → utils-BXCGNjIy.js} +10 -10
- package/package.json +5 -2
- package/vite.config.js +12 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";const U=require("react"),je=require("./emotion-is-prop-valid.esm-BNsx9k19.cjs"),ft=require("./hoist-non-react-statics.cjs-Dr-ytKVG.cjs");var Ie={exports:{}},O={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-is.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Ge;function dt(){if(Ge)return O;Ge=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),e=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),A=Symbol.for("react.view_transition"),k=Symbol.for("react.client.reference");function m(o){if(typeof o=="object"&&o!==null){var S=o.$$typeof;switch(S){case t:switch(o=o.type,o){case e:case a:case r:case g:case p:case A:return o;default:switch(o=o&&o.$$typeof,o){case c:case l:case v:case y:return o;case i:return o;default:return S}}case n:return S}}}return O.ContextConsumer=i,O.ContextProvider=c,O.Element=t,O.ForwardRef=l,O.Fragment=e,O.Lazy=v,O.Memo=y,O.Portal=n,O.Profiler=a,O.StrictMode=r,O.Suspense=g,O.SuspenseList=p,O.isContextConsumer=function(o){return m(o)===i},O.isContextProvider=function(o){return m(o)===c},O.isElement=function(o){return typeof o=="object"&&o!==null&&o.$$typeof===t},O.isForwardRef=function(o){return m(o)===l},O.isFragment=function(o){return m(o)===e},O.isLazy=function(o){return m(o)===v},O.isMemo=function(o){return m(o)===y},O.isPortal=function(o){return m(o)===n},O.isProfiler=function(o){return m(o)===a},O.isStrictMode=function(o){return m(o)===r},O.isSuspense=function(o){return m(o)===g},O.isSuspenseList=function(o){return m(o)===p},O.isValidElementType=function(o){return typeof o=="string"||typeof o=="function"||o===e||o===a||o===r||o===g||o===p||typeof o=="object"&&o!==null&&(o.$$typeof===v||o.$$typeof===y||o.$$typeof===c||o.$$typeof===i||o.$$typeof===l||o.$$typeof===k||o.getModuleId!==void 0)},O.typeOf=m,O}var x={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-is.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Be;function ht(){return Be||(Be=1,process.env.NODE_ENV!=="production"&&function(){function t(o){if(typeof o=="object"&&o!==null){var S=o.$$typeof;switch(S){case n:switch(o=o.type,o){case r:case i:case a:case p:case y:case k:return o;default:switch(o=o&&o.$$typeof,o){case l:case g:case A:case v:return o;case c:return o;default:return S}}case e:return S}}}var n=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),l=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),k=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");x.ContextConsumer=c,x.ContextProvider=l,x.Element=n,x.ForwardRef=g,x.Fragment=r,x.Lazy=A,x.Memo=v,x.Portal=e,x.Profiler=i,x.StrictMode=a,x.Suspense=p,x.SuspenseList=y,x.isContextConsumer=function(o){return t(o)===c},x.isContextProvider=function(o){return t(o)===l},x.isElement=function(o){return typeof o=="object"&&o!==null&&o.$$typeof===n},x.isForwardRef=function(o){return t(o)===g},x.isFragment=function(o){return t(o)===r},x.isLazy=function(o){return t(o)===A},x.isMemo=function(o){return t(o)===v},x.isPortal=function(o){return t(o)===e},x.isProfiler=function(o){return t(o)===i},x.isStrictMode=function(o){return t(o)===a},x.isSuspense=function(o){return t(o)===p},x.isSuspenseList=function(o){return t(o)===y},x.isValidElementType=function(o){return typeof o=="string"||typeof o=="function"||o===r||o===i||o===a||o===p||o===y||typeof o=="object"&&o!==null&&(o.$$typeof===A||o.$$typeof===v||o.$$typeof===l||o.$$typeof===c||o.$$typeof===g||o.$$typeof===m||o.getModuleId!==void 0)},x.typeOf=t}()),x}process.env.NODE_ENV==="production"?Ie.exports=dt():Ie.exports=ht();var ze=Ie.exports;function pt(t){function n(h,f,d,E,s){for(var R=0,u=0,M=0,T=0,P,_,L=0,B=0,b,j=b=P=0,N=0,F=0,me=0,V=0,Se=d.length,ge=Se-1,Q,w="",z="",Te="",Pe="",oe;N<Se;){if(_=d.charCodeAt(N),N===ge&&u+T+M+R!==0&&(u!==0&&(_=u===47?10:47),T=M=R=0,Se++,ge++),u+T+M+R===0){if(N===ge&&(0<F&&(w=w.replace(A,"")),0<w.trim().length)){switch(_){case 32:case 9:case 59:case 13:case 10:break;default:w+=d.charAt(N)}_=59}switch(_){case 123:for(w=w.trim(),P=w.charCodeAt(0),b=1,V=++N;N<Se;){switch(_=d.charCodeAt(N)){case 123:b++;break;case 125:b--;break;case 47:switch(_=d.charCodeAt(N+1)){case 42:case 47:e:{for(j=N+1;j<ge;++j)switch(d.charCodeAt(j)){case 47:if(_===42&&d.charCodeAt(j-1)===42&&N+2!==j){N=j+1;break e}break;case 10:if(_===47){N=j+1;break e}}N=j}}break;case 91:_++;case 40:_++;case 34:case 39:for(;N++<ge&&d.charCodeAt(N)!==_;);}if(b===0)break;N++}switch(b=d.substring(V,N),P===0&&(P=(w=w.replace(v,"").trim()).charCodeAt(0)),P){case 64:switch(0<F&&(w=w.replace(A,"")),_=w.charCodeAt(1),_){case 100:case 109:case 115:case 45:F=f;break;default:F=de}if(b=n(f,F,b,_,s+1),V=b.length,0<X&&(F=e(de,w,me),oe=l(3,b,F,f,Z,H,V,_,s,E),w=F.join(""),oe!==void 0&&(V=(b=oe.trim()).length)===0&&(_=0,b="")),0<V)switch(_){case 115:w=w.replace(J,c);case 100:case 109:case 45:b=w+"{"+b+"}";break;case 107:w=w.replace(C,"$1 $2"),b=w+"{"+b+"}",b=G===1||G===2&&i("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=w+b,E===112&&(b=(z+=b,""))}else b="";break;default:b=n(f,e(f,w,me),b,E,s+1)}Te+=b,b=me=F=j=P=0,w="",_=d.charCodeAt(++N);break;case 125:case 59:if(w=(0<F?w.replace(A,""):w).trim(),1<(V=w.length))switch(j===0&&(P=w.charCodeAt(0),P===45||96<P&&123>P)&&(V=(w=w.replace(" ",":")).length),0<X&&(oe=l(1,w,f,h,Z,H,z.length,E,s,E))!==void 0&&(V=(w=oe.trim()).length)===0&&(w="\0\0"),P=w.charCodeAt(0),_=w.charCodeAt(1),P){case 0:break;case 64:if(_===105||_===99){Pe+=w+d.charAt(N);break}default:w.charCodeAt(V-1)!==58&&(z+=a(w,P,_,w.charCodeAt(2)))}me=F=j=P=0,w="",_=d.charCodeAt(++N)}}switch(_){case 13:case 10:u===47?u=0:1+P===0&&E!==107&&0<w.length&&(F=1,w+="\0"),0<X*ue&&l(0,w,f,h,Z,H,z.length,E,s,E),H=1,Z++;break;case 59:case 125:if(u+T+M+R===0){H++;break}default:switch(H++,Q=d.charAt(N),_){case 9:case 32:if(T+R+u===0)switch(L){case 44:case 58:case 9:case 32:Q="";break;default:_!==32&&(Q=" ")}break;case 0:Q="\\0";break;case 12:Q="\\f";break;case 11:Q="\\v";break;case 38:T+u+R===0&&(F=me=1,Q="\f"+Q);break;case 108:if(T+u+R+ee===0&&0<j)switch(N-j){case 2:L===112&&d.charCodeAt(N-3)===58&&(ee=L);case 8:B===111&&(ee=B)}break;case 58:T+u+R===0&&(j=N);break;case 44:u+M+T+R===0&&(F=1,Q+="\r");break;case 34:case 39:u===0&&(T=T===_?0:T===0?_:T);break;case 91:T+u+M===0&&R++;break;case 93:T+u+M===0&&R--;break;case 41:T+u+R===0&&M--;break;case 40:if(T+u+R===0){if(P===0)switch(2*L+3*B){case 533:break;default:P=1}M++}break;case 64:u+M+T+R+j+b===0&&(b=1);break;case 42:case 47:if(!(0<T+R+M))switch(u){case 0:switch(2*_+3*d.charCodeAt(N+1)){case 235:u=47;break;case 220:V=N,u=42}break;case 42:_===47&&L===42&&V+2!==N&&(d.charCodeAt(V+2)===33&&(z+=d.substring(V,N+1)),Q="",u=0)}}u===0&&(w+=Q)}B=L,L=_,N++}if(V=z.length,0<V){if(F=f,0<X&&(oe=l(2,z,F,h,Z,H,V,E,s,E),oe!==void 0&&(z=oe).length===0))return Pe+z+Te;if(z=F.join(",")+"{"+z+"}",G*ee!==0){switch(G!==2||i(z,2)||(ee=0),ee){case 111:z=z.replace(I,":-moz-$1")+z;break;case 112:z=z.replace(Y,"::-webkit-input-$1")+z.replace(Y,"::-moz-$1")+z.replace(Y,":-ms-input-$1")+z}ee=0}}return Pe+z+Te}function e(h,f,d){var E=f.trim().split(S);f=E;var s=E.length,R=h.length;switch(R){case 0:case 1:var u=0;for(h=R===0?"":h[0]+" ";u<s;++u)f[u]=r(h,f[u],d).trim();break;default:var M=u=0;for(f=[];u<s;++u)for(var T=0;T<R;++T)f[M++]=r(h[T]+" ",E[u],d).trim()}return f}function r(h,f,d){var E=f.charCodeAt(0);switch(33>E&&(E=(f=f.trim()).charCodeAt(0)),E){case 38:return f.replace(D,"$1"+h.trim());case 58:return h.trim()+f.replace(D,"$1"+h.trim());default:if(0<1*d&&0<f.indexOf("\f"))return f.replace(D,(h.charCodeAt(0)===58?"":"$1")+h.trim())}return h+f}function a(h,f,d,E){var s=h+";",R=2*f+3*d+4*E;if(R===944){h=s.indexOf(":",9)+1;var u=s.substring(h,s.length-1).trim();return u=s.substring(0,h).trim()+u+";",G===1||G===2&&i(u,1)?"-webkit-"+u+u:u}if(G===0||G===2&&!i(s,1))return s;switch(R){case 1015:return s.charCodeAt(10)===97?"-webkit-"+s+s:s;case 951:return s.charCodeAt(3)===116?"-webkit-"+s+s:s;case 963:return s.charCodeAt(5)===110?"-webkit-"+s+s:s;case 1009:if(s.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:if(s.charCodeAt(8)===45)return"-webkit-"+s+s;if(0<s.indexOf("image-set(",11))return s.replace(ce,"$1-webkit-$2")+s;break;case 932:if(s.charCodeAt(4)===45)switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(s.charCodeAt(8)!==99)break;return u=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+u+"-webkit-"+s+"-ms-flex-pack"+u+s;case 1005:return m.test(s)?s.replace(k,":-webkit-")+s.replace(k,":-moz-")+s:s;case 1e3:switch(u=s.substring(13).trim(),f=u.indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(f)){case 226:u=s.replace($,"tb");break;case 232:u=s.replace($,"tb-rl");break;case 220:u=s.replace($,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+u+s;case 1017:if(s.indexOf("sticky",9)===-1)break;case 975:switch(f=(s=h).length-10,u=(s.charCodeAt(f)===33?s.substring(0,f):s).substring(h.indexOf(":",7)+1).trim(),R=u.charCodeAt(0)+(u.charCodeAt(7)|0)){case 203:if(111>u.charCodeAt(8))break;case 115:s=s.replace(u,"-webkit-"+u)+";"+s;break;case 207:case 102:s=s.replace(u,"-webkit-"+(102<R?"inline-":"")+"box")+";"+s.replace(u,"-webkit-"+u)+";"+s.replace(u,"-ms-"+u+"box")+";"+s}return s+";";case 938:if(s.charCodeAt(5)===45)switch(s.charCodeAt(6)){case 105:return u=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+u+"-ms-flex-"+u+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(W,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(W,"")+s}break;case 973:case 989:if(s.charCodeAt(3)!==45||s.charCodeAt(4)===122)break;case 931:case 953:if(ne.test(h)===!0)return(u=h.substring(h.indexOf(":")+1)).charCodeAt(0)===115?a(h.replace("stretch","fill-available"),f,d,E).replace(":fill-available",":stretch"):s.replace(u,"-webkit-"+u)+s.replace(u,"-moz-"+u.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(s.charCodeAt(5)===102?"-ms-"+s:"")+s,d+E===211&&s.charCodeAt(13)===105&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(o,"$1-webkit-$2")+s}return s}function i(h,f){var d=h.indexOf(f===1?":":"{"),E=h.substring(0,f!==3?d:10);return d=h.substring(d+1,h.length-1),he(f!==2?E:E.replace(K,"$1"),d,f)}function c(h,f){var d=a(f,f.charCodeAt(0),f.charCodeAt(1),f.charCodeAt(2));return d!==f+";"?d.replace(re," or ($1)").substring(4):"("+f+")"}function l(h,f,d,E,s,R,u,M,T,P){for(var _=0,L=f,B;_<X;++_)switch(B=q[_].call(y,h,L,d,E,s,R,u,M,T,P)){case void 0:case!1:case!0:case null:break;default:L=B}if(L!==f)return L}function g(h){switch(h){case void 0:case null:X=q.length=0;break;default:if(typeof h=="function")q[X++]=h;else if(typeof h=="object")for(var f=0,d=h.length;f<d;++f)g(h[f]);else ue=!!h|0}return g}function p(h){return h=h.prefix,h!==void 0&&(he=null,h?typeof h!="function"?G=1:(G=2,he=h):G=0),p}function y(h,f){var d=h;if(33>d.charCodeAt(0)&&(d=d.trim()),pe=d,d=[pe],0<X){var E=l(-1,f,d,d,Z,H,0,0,0,0);E!==void 0&&typeof E=="string"&&(f=E)}var s=n(de,d,f,0,0);return 0<X&&(E=l(-2,s,d,d,Z,H,s.length,0,0,0),E!==void 0&&(s=E)),pe="",ee=0,H=Z=1,s}var v=/^\0+/g,A=/[\0\r\f]/g,k=/: */g,m=/zoo|gra/,o=/([,: ])(transform)/g,S=/,\r+?/g,D=/([\t\r\n ])*\f?&/g,C=/@(k\w+)\s*(\S*)\s*/,Y=/::(place)/g,I=/:(read-only)/g,$=/[svh]\w+-[tblr]{2}/,J=/\(\s*(.*)\s*\)/g,re=/([\s\S]*?);/g,W=/-self|flex-/g,K=/[^]*?(:[rp][el]a[\w-]+)[^]*/,ne=/stretch|:\s*\w+\-(?:conte|avail)/,ce=/([^-])(image-set\()/,H=1,Z=1,ee=0,G=1,de=[],q=[],X=0,he=null,ue=0,pe="";return y.use=g,y.set=p,t!==void 0&&p(t),y}var mt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function te(){return(te=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}var Ue=function(t,n){for(var e=[t[0]],r=0,a=n.length;r<a;r+=1)e.push(n[r],t[r+1]);return e},Oe=function(t){return t!==null&&typeof t=="object"&&(t.toString?t.toString():Object.prototype.toString.call(t))==="[object Object]"&&!ze.typeOf(t)},Ae=Object.freeze([]),se=Object.freeze({});function ve(t){return typeof t=="function"}function xe(t){return process.env.NODE_ENV!=="production"&&typeof t=="string"&&t||t.displayName||t.name||"Component"}function Le(t){return t&&typeof t.styledComponentId=="string"}var le=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Fe=typeof window<"u"&&"HTMLElement"in window,gt=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production")),yt={},vt=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
18
|
+
|
|
19
|
+
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
20
|
+
|
|
21
|
+
- Are you trying to reuse it across renders?
|
|
22
|
+
- Are you accidentally calling collectStyles twice?
|
|
23
|
+
|
|
24
|
+
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
25
|
+
|
|
26
|
+
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
27
|
+
|
|
28
|
+
- Does this error occur on the client and is your target falsy?
|
|
29
|
+
- Does this error occur on the server and is the sheet falsy?
|
|
30
|
+
|
|
31
|
+
`,5:`The clone method cannot be used on the client!
|
|
32
|
+
|
|
33
|
+
- Are you running in a client-like environment on the server?
|
|
34
|
+
- Are you trying to run SSR on the client?
|
|
35
|
+
|
|
36
|
+
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
37
|
+
|
|
38
|
+
- Are you using a custom target that isn't mounted?
|
|
39
|
+
- Does your document not have a valid head element?
|
|
40
|
+
- Have you accidentally removed a style tag manually?
|
|
41
|
+
|
|
42
|
+
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
43
|
+
|
|
44
|
+
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
45
|
+
|
|
46
|
+
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
47
|
+
|
|
48
|
+
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
49
|
+
|
|
50
|
+
`,14:`ThemeProvider: "theme" prop is required.
|
|
51
|
+
|
|
52
|
+
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
53
|
+
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
54
|
+
as for instance in your render method then you may be running into this limitation.
|
|
55
|
+
|
|
56
|
+
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
57
|
+
Has styled-components' style tag been unmounted or altered by another script?
|
|
58
|
+
`}:{};function St(){for(var t=arguments.length<=0?void 0:arguments[0],n=[],e=1,r=arguments.length;e<r;e+=1)n.push(e<0||arguments.length<=e?void 0:arguments[e]);return n.forEach(function(a){t=t.replace(/%[a-z]/,a)}),t}function fe(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];throw process.env.NODE_ENV==="production"?new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(e.length>0?" Args: "+e.join(", "):"")):new Error(St.apply(void 0,[vt[t]].concat(e)).trim())}var wt=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var n=t.prototype;return n.indexOfGroup=function(e){for(var r=0,a=0;a<e;a++)r+=this.groupSizes[a];return r},n.insertRules=function(e,r){if(e>=this.groupSizes.length){for(var a=this.groupSizes,i=a.length,c=i;e>=c;)(c<<=1)<0&&fe(16,""+e);this.groupSizes=new Uint32Array(c),this.groupSizes.set(a),this.length=c;for(var l=i;l<c;l++)this.groupSizes[l]=0}for(var g=this.indexOfGroup(e+1),p=0,y=r.length;p<y;p++)this.tag.insertRule(g,r[p])&&(this.groupSizes[e]++,g++)},n.clearGroup=function(e){if(e<this.length){var r=this.groupSizes[e],a=this.indexOfGroup(e),i=a+r;this.groupSizes[e]=0;for(var c=a;c<i;c++)this.tag.deleteRule(a)}},n.getGroup=function(e){var r="";if(e>=this.length||this.groupSizes[e]===0)return r;for(var a=this.groupSizes[e],i=this.indexOfGroup(e),c=i+a,l=i;l<c;l++)r+=this.tag.getRule(l)+`/*!sc*/
|
|
59
|
+
`;return r},t}(),Ce=new Map,be=new Map,ye=1,we=function(t){if(Ce.has(t))return Ce.get(t);for(;be.has(ye);)ye++;var n=ye++;return process.env.NODE_ENV!=="production"&&((0|n)<0||n>1<<30)&&fe(16,""+n),Ce.set(t,n),be.set(n,t),n},Et=function(t){return be.get(t)},_t=function(t,n){n>=ye&&(ye=n+1),Ce.set(t,n),be.set(n,t)},Ct="style["+le+'][data-styled-version="5.3.11"]',At=new RegExp("^"+le+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),bt=function(t,n,e){for(var r,a=e.split(","),i=0,c=a.length;i<c;i++)(r=a[i])&&t.registerName(n,r)},Rt=function(t,n){for(var e=(n.textContent||"").split(`/*!sc*/
|
|
60
|
+
`),r=[],a=0,i=e.length;a<i;a++){var c=e[a].trim();if(c){var l=c.match(At);if(l){var g=0|parseInt(l[1],10),p=l[2];g!==0&&(_t(p,g),bt(t,p,l[3]),t.getTag().insertRules(g,r)),r.length=0}else r.push(c)}}},Tt=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},Je=function(t){var n=document.head,e=t||n,r=document.createElement("style"),a=function(l){for(var g=l.childNodes,p=g.length;p>=0;p--){var y=g[p];if(y&&y.nodeType===1&&y.hasAttribute(le))return y}}(e),i=a!==void 0?a.nextSibling:null;r.setAttribute(le,"active"),r.setAttribute("data-styled-version","5.3.11");var c=Tt();return c&&r.setAttribute("nonce",c),e.insertBefore(r,i),r},Pt=function(){function t(e){var r=this.element=Je(e);r.appendChild(document.createTextNode("")),this.sheet=function(a){if(a.sheet)return a.sheet;for(var i=document.styleSheets,c=0,l=i.length;c<l;c++){var g=i[c];if(g.ownerNode===a)return g}fe(17)}(r),this.length=0}var n=t.prototype;return n.insertRule=function(e,r){try{return this.sheet.insertRule(r,e),this.length++,!0}catch{return!1}},n.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},n.getRule=function(e){var r=this.sheet.cssRules[e];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},t}(),Nt=function(){function t(e){var r=this.element=Je(e);this.nodes=r.childNodes,this.length=0}var n=t.prototype;return n.insertRule=function(e,r){if(e<=this.length&&e>=0){var a=document.createTextNode(r),i=this.nodes[e];return this.element.insertBefore(a,i||null),this.length++,!0}return!1},n.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},n.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),kt=function(){function t(e){this.rules=[],this.length=0}var n=t.prototype;return n.insertRule=function(e,r){return e<=this.length&&(this.rules.splice(e,0,r),this.length++,!0)},n.deleteRule=function(e){this.rules.splice(e,1),this.length--},n.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),He=Fe,It={isServer:!Fe,useCSSOMInjection:!gt},Re=function(){function t(e,r,a){e===void 0&&(e=se),r===void 0&&(r={}),this.options=te({},It,{},e),this.gs=r,this.names=new Map(a),this.server=!!e.isServer,!this.server&&Fe&&He&&(He=!1,function(i){for(var c=document.querySelectorAll(Ct),l=0,g=c.length;l<g;l++){var p=c[l];p&&p.getAttribute(le)!=="active"&&(Rt(i,p),p.parentNode&&p.parentNode.removeChild(p))}}(this))}t.registerId=function(e){return we(e)};var n=t.prototype;return n.reconstructWithOptions=function(e,r){return r===void 0&&(r=!0),new t(te({},this.options,{},e),this.gs,r&&this.names||void 0)},n.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},n.getTag=function(){return this.tag||(this.tag=(a=(r=this.options).isServer,i=r.useCSSOMInjection,c=r.target,e=a?new kt(c):i?new Pt(c):new Nt(c),new wt(e)));var e,r,a,i,c},n.hasNameForId=function(e,r){return this.names.has(e)&&this.names.get(e).has(r)},n.registerName=function(e,r){if(we(e),this.names.has(e))this.names.get(e).add(r);else{var a=new Set;a.add(r),this.names.set(e,a)}},n.insertRules=function(e,r,a){this.registerName(e,r),this.getTag().insertRules(we(e),a)},n.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},n.clearRules=function(e){this.getTag().clearGroup(we(e)),this.clearNames(e)},n.clearTag=function(){this.tag=void 0},n.toString=function(){return function(e){for(var r=e.getTag(),a=r.length,i="",c=0;c<a;c++){var l=Et(c);if(l!==void 0){var g=e.names.get(l),p=r.getGroup(c);if(g&&p&&g.size){var y=le+".g"+c+'[id="'+l+'"]',v="";g!==void 0&&g.forEach(function(A){A.length>0&&(v+=A+",")}),i+=""+p+y+'{content:"'+v+`"}/*!sc*/
|
|
61
|
+
`}}}return i}(this)},t}(),Ot=/(a)(d)/gi,We=function(t){return String.fromCharCode(t+(t>25?39:97))};function De(t){var n,e="";for(n=Math.abs(t);n>52;n=n/52|0)e=We(n%52)+e;return(We(n%52)+e).replace(Ot,"$1-$2")}var ae=function(t,n){for(var e=n.length;e;)t=33*t^n.charCodeAt(--e);return t},Ke=function(t){return ae(5381,t)};function et(t){for(var n=0;n<t.length;n+=1){var e=t[n];if(ve(e)&&!Le(e))return!1}return!0}var xt=Ke("5.3.11"),Dt=function(){function t(n,e,r){this.rules=n,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&et(n),this.componentId=e,this.baseHash=ae(xt,e),this.baseStyle=r,Re.registerId(e)}return t.prototype.generateAndInjectStyles=function(n,e,r){var a=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(n,e,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&e.hasNameForId(a,this.staticRulesId))i.push(this.staticRulesId);else{var c=ie(this.rules,n,e,r).join(""),l=De(ae(this.baseHash,c)>>>0);if(!e.hasNameForId(a,l)){var g=r(c,"."+l,void 0,a);e.insertRules(a,l,g)}i.push(l),this.staticRulesId=l}else{for(var p=this.rules.length,y=ae(this.baseHash,r.hash),v="",A=0;A<p;A++){var k=this.rules[A];if(typeof k=="string")v+=k,process.env.NODE_ENV!=="production"&&(y=ae(y,k+A));else if(k){var m=ie(k,n,e,r),o=Array.isArray(m)?m.join(""):m;y=ae(y,o+A),v+=o}}if(v){var S=De(y>>>0);if(!e.hasNameForId(a,S)){var D=r(v,"."+S,void 0,a);e.insertRules(a,S,D)}i.push(S)}}return i.join(" ")},t}(),$t=/^\s*\/\/.*$/gm,Yt=[":","[",".","#"];function Mt(t){var n,e,r,a,i=se,c=i.options,l=c===void 0?se:c,g=i.plugins,p=g===void 0?Ae:g,y=new pt(l),v=[],A=function(o){function S(D){if(D)try{o(D+"}")}catch{}}return function(D,C,Y,I,$,J,re,W,K,ne){switch(D){case 1:if(K===0&&C.charCodeAt(0)===64)return o(C+";"),"";break;case 2:if(W===0)return C+"/*|*/";break;case 3:switch(W){case 102:case 112:return o(Y[0]+C),"";default:return C+(ne===0?"/*|*/":"")}case-2:C.split("/*|*/}").forEach(S)}}}(function(o){v.push(o)}),k=function(o,S,D){return S===0&&Yt.indexOf(D[e.length])!==-1||D.match(a)?o:"."+n};function m(o,S,D,C){C===void 0&&(C="&");var Y=o.replace($t,""),I=S&&D?D+" "+S+" { "+Y+" }":Y;return n=C,e=S,r=new RegExp("\\"+e+"\\b","g"),a=new RegExp("(\\"+e+"\\b){2,}"),y(D||!S?"":S,I)}return y.use([].concat(p,[function(o,S,D){o===2&&D.length&&D[0].lastIndexOf(e)>0&&(D[0]=D[0].replace(r,k))},A,function(o){if(o===-2){var S=v;return v=[],S}}])),m.hash=p.length?p.reduce(function(o,S){return S.name||fe(15),ae(o,S.name)},5381).toString():"",m}var tt=U.createContext();tt.Consumer;var rt=U.createContext(),zt=(rt.Consumer,new Re),$e=Mt();function nt(){return U.useContext(tt)||zt}function ot(){return U.useContext(rt)||$e}var Lt=function(){function t(n,e){var r=this;this.inject=function(a,i){i===void 0&&(i=$e);var c=r.name+i.hash;a.hasNameForId(r.id,c)||a.insertRules(r.id,c,i(r.rules,c,"@keyframes"))},this.toString=function(){return fe(12,String(r.name))},this.name=n,this.id="sc-keyframes-"+n,this.rules=e}return t.prototype.getName=function(n){return n===void 0&&(n=$e),this.name+n.hash},t}(),Ft=/([A-Z])/,Vt=/([A-Z])/g,jt=/^ms-/,Gt=function(t){return"-"+t.toLowerCase()};function Xe(t){return Ft.test(t)?t.replace(Vt,Gt).replace(jt,"-ms-"):t}var Ze=function(t){return t==null||t===!1||t===""};function ie(t,n,e,r){if(Array.isArray(t)){for(var a,i=[],c=0,l=t.length;c<l;c+=1)(a=ie(t[c],n,e,r))!==""&&(Array.isArray(a)?i.push.apply(i,a):i.push(a));return i}if(Ze(t))return"";if(Le(t))return"."+t.styledComponentId;if(ve(t)){if(typeof(p=t)!="function"||p.prototype&&p.prototype.isReactComponent||!n)return t;var g=t(n);return process.env.NODE_ENV!=="production"&&ze.isElement(g)&&console.warn(xe(t)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),ie(g,n,e,r)}var p;return t instanceof Lt?e?(t.inject(e,r),t.getName(r)):t:Oe(t)?function y(v,A){var k,m,o=[];for(var S in v)v.hasOwnProperty(S)&&!Ze(v[S])&&(Array.isArray(v[S])&&v[S].isCss||ve(v[S])?o.push(Xe(S)+":",v[S],";"):Oe(v[S])?o.push.apply(o,y(v[S],S)):o.push(Xe(S)+": "+(k=S,(m=v[S])==null||typeof m=="boolean"||m===""?"":typeof m!="number"||m===0||k in mt||k.startsWith("--")?String(m).trim():m+"px")+";"));return A?[A+" {"].concat(o,["}"]):o}(t):t.toString()}var qe=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function st(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return ve(t)||Oe(t)?qe(ie(Ue(Ae,[t].concat(e)))):e.length===0&&t.length===1&&typeof t[0]=="string"?t:qe(ie(Ue(t,e)))}var Qe=/invalid hook call/i,Ee=new Set,at=function(t,n){if(process.env.NODE_ENV!=="production"){var e="The component "+t+(n?' with the id of "'+n+'"':"")+` has been created dynamically.
|
|
62
|
+
You may see this warning because you've called styled inside another component.
|
|
63
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,r=console.error;try{var a=!0;console.error=function(i){if(Qe.test(i))a=!1,Ee.delete(e);else{for(var c=arguments.length,l=new Array(c>1?c-1:0),g=1;g<c;g++)l[g-1]=arguments[g];r.apply(void 0,[i].concat(l))}},U.useRef(),a&&!Ee.has(e)&&(console.warn(e),Ee.add(e))}catch(i){Qe.test(i.message)&&Ee.delete(e)}finally{console.error=r}}},it=function(t,n,e){return e===void 0&&(e=se),t.theme!==e.theme&&t.theme||n||e.theme},Bt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ut=/(^-|-$)/g;function Ne(t){return t.replace(Bt,"-").replace(Ut,"")}var ct=function(t){return De(Ke(t)>>>0)};function _e(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var Ye=function(t){return typeof t=="function"||typeof t=="object"&&t!==null&&!Array.isArray(t)},Ht=function(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"};function Wt(t,n,e){var r=t[e];Ye(n)&&Ye(r)?ut(r,n):t[e]=n}function ut(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];for(var a=0,i=e;a<i.length;a++){var c=i[a];if(Ye(c))for(var l in c)Ht(l)&&Wt(t,c[l],l)}return t}var Ve=U.createContext();Ve.Consumer;var ke={};function lt(t,n,e){var r=Le(t),a=!_e(t),i=n.attrs,c=i===void 0?Ae:i,l=n.componentId,g=l===void 0?function(C,Y){var I=typeof C!="string"?"sc":Ne(C);ke[I]=(ke[I]||0)+1;var $=I+"-"+ct("5.3.11"+I+ke[I]);return Y?Y+"-"+$:$}(n.displayName,n.parentComponentId):l,p=n.displayName,y=p===void 0?function(C){return _e(C)?"styled."+C:"Styled("+xe(C)+")"}(t):p,v=n.displayName&&n.componentId?Ne(n.displayName)+"-"+n.componentId:n.componentId||g,A=r&&t.attrs?Array.prototype.concat(t.attrs,c).filter(Boolean):c,k=n.shouldForwardProp;r&&t.shouldForwardProp&&(k=n.shouldForwardProp?function(C,Y,I){return t.shouldForwardProp(C,Y,I)&&n.shouldForwardProp(C,Y,I)}:t.shouldForwardProp);var m,o=new Dt(e,v,r?t.componentStyle:void 0),S=o.isStatic&&c.length===0,D=function(C,Y){return function(I,$,J,re){var W=I.attrs,K=I.componentStyle,ne=I.defaultProps,ce=I.foldedComponentIds,H=I.shouldForwardProp,Z=I.styledComponentId,ee=I.target,G=function(E,s,R){E===void 0&&(E=se);var u=te({},s,{theme:E}),M={};return R.forEach(function(T){var P,_,L,B=T;for(P in ve(B)&&(B=B(u)),B)u[P]=M[P]=P==="className"?(_=M[P],L=B[P],_&&L?_+" "+L:_||L):B[P]}),[u,M]}(it($,U.useContext(Ve),ne)||se,$,W),de=G[0],q=G[1],X=function(E,s,R,u){var M=nt(),T=ot(),P=s?E.generateAndInjectStyles(se,M,T):E.generateAndInjectStyles(R,M,T);return process.env.NODE_ENV!=="production"&&!s&&u&&u(P),P}(K,re,de,process.env.NODE_ENV!=="production"?I.warnTooManyClasses:void 0),he=J,ue=q.$as||$.$as||q.as||$.as||ee,pe=_e(ue),h=q!==$?te({},$,{},q):$,f={};for(var d in h)d[0]!=="$"&&d!=="as"&&(d==="forwardedAs"?f.as=h[d]:(H?H(d,je.isPropValid,ue):!pe||je.isPropValid(d))&&(f[d]=h[d]));return $.style&&q.style!==$.style&&(f.style=te({},$.style,{},q.style)),f.className=Array.prototype.concat(ce,Z,X!==Z?X:null,$.className,q.className).filter(Boolean).join(" "),f.ref=he,U.createElement(ue,f)}(m,C,Y,S)};return D.displayName=y,(m=U.forwardRef(D)).attrs=A,m.componentStyle=o,m.displayName=y,m.shouldForwardProp=k,m.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):Ae,m.styledComponentId=v,m.target=r?t.target:t,m.withComponent=function(C){var Y=n.componentId,I=function(J,re){if(J==null)return{};var W,K,ne={},ce=Object.keys(J);for(K=0;K<ce.length;K++)W=ce[K],re.indexOf(W)>=0||(ne[W]=J[W]);return ne}(n,["componentId"]),$=Y&&Y+"-"+(_e(C)?C:Ne(xe(C)));return lt(C,te({},I,{attrs:A,componentId:$}),e)},Object.defineProperty(m,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(C){this._foldedDefaultProps=r?ut({},t.defaultProps,C):C}}),process.env.NODE_ENV!=="production"&&(at(y,v),m.warnTooManyClasses=function(C,Y){var I={},$=!1;return function(J){if(!$&&(I[J]=!0,Object.keys(I).length>=200)){var re=Y?' with the id of "'+Y+'"':"";console.warn("Over 200 classes were generated for component "+C+re+`.
|
|
64
|
+
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
65
|
+
Example:
|
|
66
|
+
const Component = styled.div.attrs(props => ({
|
|
67
|
+
style: {
|
|
68
|
+
background: props.background,
|
|
69
|
+
},
|
|
70
|
+
}))\`width: 100%;\`
|
|
71
|
+
|
|
72
|
+
<Component />`),$=!0,I={}}}}(y,v)),Object.defineProperty(m,"toString",{value:function(){return"."+m.styledComponentId}}),a&&ft.m(m,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),m}var Me=function(t){return function n(e,r,a){if(a===void 0&&(a=se),!ze.isValidElementType(r))return fe(1,String(r));var i=function(){return e(r,a,st.apply(void 0,arguments))};return i.withConfig=function(c){return n(e,r,te({},a,{},c))},i.attrs=function(c){return n(e,r,te({},a,{attrs:Array.prototype.concat(a.attrs,c).filter(Boolean)}))},i}(lt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(t){Me[t]=Me(t)});var Xt=function(){function t(e,r){this.rules=e,this.componentId=r,this.isStatic=et(e),Re.registerId(this.componentId+1)}var n=t.prototype;return n.createStyles=function(e,r,a,i){var c=i(ie(this.rules,r,a,i).join(""),""),l=this.componentId+e;a.insertRules(l,l,c)},n.removeStyles=function(e,r){r.clearRules(this.componentId+e)},n.renderStyles=function(e,r,a,i){e>2&&Re.registerId(this.componentId+e),this.removeStyles(e,a),this.createStyles(e,r,a,i)},t}();function Zt(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var a=st.apply(void 0,[t].concat(e)),i="sc-global-"+ct(JSON.stringify(a)),c=new Xt(a,i);function l(p){var y=nt(),v=ot(),A=U.useContext(Ve),k=U.useRef(y.allocateGSInstance(i)).current;return process.env.NODE_ENV!=="production"&&U.Children.count(p.children)&&console.warn("The global style component "+i+" was given child JSX. createGlobalStyle does not render children."),process.env.NODE_ENV!=="production"&&a.some(function(m){return typeof m=="string"&&m.indexOf("@import")!==-1})&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),y.server&&g(k,p,y,A,v),U.useLayoutEffect(function(){if(!y.server)return g(k,p,y,A,v),function(){return c.removeStyles(k,y)}},[k,p,y,A,v]),null}function g(p,y,v,A,k){if(c.isStatic)c.renderStyles(p,yt,v,k);else{var m=te({},y,{theme:it(y,A,l.defaultProps)});c.renderStyles(p,m,v,k)}}return process.env.NODE_ENV!=="production"&&at(i),U.memo(l)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
73
|
+
Perhaps you're looking to import 'styled-components/native'?
|
|
74
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,window["__styled-components-init__"]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
75
|
+
|
|
76
|
+
See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);exports.$e=Zt;exports.qe=Me;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e, Fragment as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d, Suspense as h } from "react";
|
|
3
3
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { n,
|
|
4
|
+
import { p as n, o as p } from "./utils-BXCGNjIy.js";
|
|
5
5
|
import { M as f } from "./consts-BuFChS64.js";
|
|
6
6
|
const c = g.div`
|
|
7
7
|
display: flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, Fragment as l } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as a } from "react";
|
|
3
|
-
import { B as m } from "./skeleton-
|
|
3
|
+
import { B as m } from "./skeleton-TrselJrj.js";
|
|
4
4
|
const p = ({ limit: o = 2, isLoading: t = !1, keyPrefix: e }) => /* @__PURE__ */ r(l, { children: Array.from({ length: o }, (s, n) => /* @__PURE__ */ r(
|
|
5
5
|
m,
|
|
6
6
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e, Fragment as h } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, Suspense as $ } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { p as y, t as g, o as s, l as S, q as P, G as C } from "./utils-BXCGNjIy.js";
|
|
4
4
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { P as z } from "./index-
|
|
5
|
+
import { P as z } from "./index-D86vS9UF.js";
|
|
6
6
|
import { M as D } from "./consts-BuFChS64.js";
|
|
7
7
|
const u = f.div`
|
|
8
8
|
display: flex;
|
package/dist/{suspense-product-card-simple-C4qtjWg_.js → suspense-product-card-simple-BIVIVybi.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as a, Suspense as l } from "react";
|
|
3
|
-
import { a as c } from "./index-
|
|
3
|
+
import { a as c } from "./index-DfHm_Mv1.js";
|
|
4
4
|
const m = a((e, t) => /* @__PURE__ */ r(c, {})), u = ({ limit: e = 6, isLoading: t = !1, keyPrefix: o }) => /* @__PURE__ */ r(p, { children: Array.from({ length: e }, (s, n) => /* @__PURE__ */ r(
|
|
5
5
|
m,
|
|
6
6
|
{
|
|
@@ -10501,18 +10501,18 @@ export {
|
|
|
10501
10501
|
q as j,
|
|
10502
10502
|
o0 as k,
|
|
10503
10503
|
n0 as l,
|
|
10504
|
-
|
|
10505
|
-
|
|
10506
|
-
|
|
10507
|
-
|
|
10508
|
-
|
|
10504
|
+
p as m,
|
|
10505
|
+
L as n,
|
|
10506
|
+
a0 as o,
|
|
10507
|
+
t0 as p,
|
|
10508
|
+
r0 as q,
|
|
10509
10509
|
G as r,
|
|
10510
|
-
|
|
10510
|
+
u0 as s,
|
|
10511
10511
|
z as t,
|
|
10512
10512
|
_ as u,
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10513
|
+
g0 as v,
|
|
10514
|
+
i0 as w,
|
|
10515
|
+
b0 as x,
|
|
10516
|
+
c0 as y,
|
|
10517
10517
|
U as z
|
|
10518
10518
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lanaco/lnc-react-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.91",
|
|
4
4
|
"description": "React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -154,7 +154,10 @@
|
|
|
154
154
|
"./BlogProductCardsSection": "./dist/BlogProductCardsSection.js",
|
|
155
155
|
"./BlogShopCardsSection": "./dist/BlogShopCardsSection.js",
|
|
156
156
|
"./BlogCardsSponsoredSection": "./dist/BlogCardsSponsoredSection.js",
|
|
157
|
-
"./BlogListSection": "./dist/BlogListSection.js"
|
|
157
|
+
"./BlogListSection": "./dist/BlogListSection.js",
|
|
158
|
+
"./AdBannerSection": "./dist/AdBannerSection.js",
|
|
159
|
+
"./QuattroCardsSection": "./dist/QuattroCardsSection.js",
|
|
160
|
+
"./FeedbackSection": "./dist/FeedbackSection.js"
|
|
158
161
|
},
|
|
159
162
|
"dependencies": {
|
|
160
163
|
"@dnd-kit/core": "^6.0.5",
|
package/vite.config.js
CHANGED
|
@@ -305,6 +305,18 @@ export default defineConfig({
|
|
|
305
305
|
__dirname,
|
|
306
306
|
"src/Landing Sections/blogs-sections/blog-list-section/BlogListSection.jsx"
|
|
307
307
|
),
|
|
308
|
+
resolve(
|
|
309
|
+
__dirname,
|
|
310
|
+
"src/Landing Sections/general-sections/ad-banner-section/AdBannerSection.jsx"
|
|
311
|
+
),
|
|
312
|
+
resolve(
|
|
313
|
+
__dirname,
|
|
314
|
+
"src/Landing Sections/general-sections/quattro-cards-section/QuattroCardsSection.jsx"
|
|
315
|
+
),
|
|
316
|
+
resolve(
|
|
317
|
+
__dirname,
|
|
318
|
+
"src/Landing Sections/general-sections/feedback-section/FeedbackSection.jsx"
|
|
319
|
+
),
|
|
308
320
|
],
|
|
309
321
|
name: "@lanaco/lnc-react-ui",
|
|
310
322
|
fileName: (format, name) => {
|