@mmb-digital/ds-lilly 1.0.0-alpha.36 → 1.0.0-alpha.37
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/cjs/components/Components/Card/Card.js +1 -1
- package/cjs/components/Components/Card/Card.js.map +1 -1
- package/cjs/ds-lilly.css +3 -3
- package/components/Components/Card/Card.js +1 -1
- package/components/Components/Card/Card.js.map +1 -1
- package/ds-lilly.css +3 -3
- package/package.json +1 -1
- /package/assets/{25e553f105df798ae080.eot → 293c2df31e0a03f8282f.eot} +0 -0
- /package/assets/{19ec55b69c915e6762ac.ttf → 3236ea1f246e10490431.ttf} +0 -0
- /package/assets/{59f3a498b435c8ba840f.gif → 323e04a391961dcf7f09.gif} +0 -0
- /package/assets/{14ce2e5699ddf48fc5a9.svg → 436f10b6dc9c14345d7d.svg} +0 -0
- /package/assets/{40605fe036a8db227c9b.ttf → 4e8c49e72a812debb0b1.ttf} +0 -0
- /package/assets/{4c6c98e3ef80c38957be.woff → 586bad5704f4e3380c79.woff} +0 -0
- /package/assets/{ccfdecd1177b29244de5.eot → 58d94b993872cba79993.eot} +0 -0
- /package/assets/{da9fc30d44abfbe7d24b.eot → 5a23944e4afc62e7fe7f.eot} +0 -0
- /package/assets/{cfdd01afd5739643a295.woff → 87fa49a40a0cfae3a49f.woff} +0 -0
- /package/assets/{6c3d19fea4881e12a45d.svg → 9795101573808d3931e3.svg} +0 -0
- /package/assets/{99a335fef92e481faa1b.gif → cc0e2e7a4aabda0863c3.gif} +0 -0
- /package/assets/{f66b7aff29b025f51034.eot → dcea113cfec00176b2f4.eot} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require('./../../../ext/cuid/index.js'),o=require("react"),i=require("../../../contexts/CardContext.js");require("../../../contexts/FormGroupContext.js"),require("../../../contexts/ModalContext.js"),require("../../../contexts/Select2Context.js"),require("../../../contexts/TabsContext.js");var t=require("../../../hocs/withDisabledTooltip.js");require("../../../utils/getDisplayName.js"),require("../../../utils/getIntegerMask.js"),require("../../../utils/isFilled.js"),require("../../../utils/isNotFilled.js"),require("../../../utils/isNotNilNorEmpty.js"),require('./../../../ext/diacritic/diacritics.js');var r=require("../../../utils/classBinder.js");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var a=require("../../../utils/constants.js"),n=require("../../../utils/hooks.js");require('./../../../ext/moment/dist/locale/cs.js');var c=require("./_elements_/CollapseHeader.js"),s=require('./../../../ext/framer-motion/dist/es/components/AnimatePresence/index.js'),l=require('./../../../ext/framer-motion/dist/es/render/dom/motion.js');exports.Card=function(d){var u,m=d.allowEventPropagation,p=d.backgroundColor,v=d.borderColor,g=d.children,h=d.disabledTooltip,q=d.hasCustomTrigger,j=void 0!==q&&q,C=d.header,b=d.iconBackgroundColor,x=d.iconColor,f=d.iconName,_=d.iconSize,N=d.isCollapsible,E=d.isDisabled,k=d.isIconAlignTop,T=d.isIconRight,w=d.isInteractive,y=d.isOpen,I=void 0!==y&&y,S=d.isSelected,A=d.onClick,D=d.onRef,B=d.onToggle,H=d.shadowSize,O=d.size,P=d.testId,R=d.theme,z=d.withoutOpener,K=void 0!==z&&z,M=d.withoutRole,F=void 0!==M&&M,Y=o.useMemo((function(){return"card_".concat(e.default())}),[]),G=o.useState(I),J=G[0],L=G[1],Q=o.useRef(null),U=n.useHoverActive(Q),V=U[0],W=U[1],X=b&&"".concat(W?b.replace("Normal","Active"):V?b.replace("Normal","Hover"):b),Z=x&&(W?"".concat(x.replace("Normal","Active")):V?"".concat(x.replace("Normal","Hover")):x);o.useEffect((function(){return L(I)}),[I]);var
|
|
1
|
+
"use strict";var e=require('./../../../ext/cuid/index.js'),o=require("react"),i=require("../../../contexts/CardContext.js");require("../../../contexts/FormGroupContext.js"),require("../../../contexts/ModalContext.js"),require("../../../contexts/Select2Context.js"),require("../../../contexts/TabsContext.js");var t=require("../../../hocs/withDisabledTooltip.js");require("../../../utils/getDisplayName.js"),require("../../../utils/getIntegerMask.js"),require("../../../utils/isFilled.js"),require("../../../utils/isNotFilled.js"),require("../../../utils/isNotNilNorEmpty.js"),require('./../../../ext/diacritic/diacritics.js');var r=require("../../../utils/classBinder.js");require('./../../../ext/text-mask-addons/dist/textMaskAddons.js');var a=require("../../../utils/constants.js"),n=require("../../../utils/hooks.js");require('./../../../ext/moment/dist/locale/cs.js');var c=require("./_elements_/CollapseHeader.js"),s=require('./../../../ext/framer-motion/dist/es/components/AnimatePresence/index.js'),l=require('./../../../ext/framer-motion/dist/es/render/dom/motion.js');exports.Card=function(d){var u,m=d.allowEventPropagation,p=d.backgroundColor,v=d.borderColor,g=d.children,h=d.disabledTooltip,q=d.hasCustomTrigger,j=void 0!==q&&q,C=d.header,b=d.iconBackgroundColor,x=d.iconColor,f=d.iconName,_=d.iconSize,N=d.isCollapsible,E=d.isDisabled,k=d.isIconAlignTop,T=d.isIconRight,w=d.isInteractive,y=d.isOpen,I=void 0!==y&&y,S=d.isSelected,A=d.onClick,D=d.onRef,B=d.onToggle,H=d.shadowSize,O=d.size,P=d.testId,R=d.theme,z=d.withoutOpener,K=void 0!==z&&z,M=d.withoutRole,F=void 0!==M&&M,Y=o.useMemo((function(){return"card_".concat(e.default())}),[]),G=o.useState(I),J=G[0],L=G[1],Q=o.useRef(null),U=n.useHoverActive(Q),V=U[0],W=U[1],X=b&&"".concat(W?b.replace("Normal","Active"):V?b.replace("Normal","Hover"):b),Z=x&&(W?"".concat(x.replace("Normal","Active")):V?"".concat(x.replace("Normal","Hover")):x),$=function(e){E||w&&A&&(A(e),m||e.stopPropagation())};o.useEffect((function(){return L(I)}),[I]);var ee={hasCustomTrigger:j,identification:Y,isOpened:J,setIsOpened:L,withoutOpener:K},oe=function(e){var o=e.key;o!==a.KEYS.Enter&&o!==a.KEYS.Space||function(e){w&&(null==A||A(e)),N&&(B&&B(!J,e),L(!J))}(e)},ie=o.useCallback((function(e){Q.current=e,D&&D(e)}),[D]);return o.createElement(i.default.Provider,{value:ee},t.withDisabledTooltip({isDisabled:E,disabledTooltip:h})(o.createElement("div",{ref:ie,"aria-disabled":E,"aria-pressed":void 0!==S?Boolean(S):void 0,className:r.cx("c-card",(u={"c-card--collapse--open":N&&J,"c-card--collapse":N,"c-card--interactive":w,"c-card--selected":S,"c-card--disabled":E},u["c-card--".concat(p)]=p,u["c-card--".concat(v,"Border")]=v,u["c-card--".concat(H,"Shadow")]=H,u["c-card--".concat(O)]=O,u),R),"data-testid":P,role:N||!w||F?void 0:"button",tabIndex:N||!w||F?void 0:0,onClick:$,onKeyDown:N?void 0:function(e){e.target===Q.current&&oe(e)}},o.createElement(c.CollapseHeader,{header:C||g,iconBackground:X,iconColor:Z,iconName:f,iconSize:_,isCollapsible:N,isIconAlignTop:k,isIconRight:T,isInteractive:w,onKeyDown:oe,onToggle:function(e){N&&B&&B(!J,e),$(e),L(!J)}}),N?o.createElement(s.AnimatePresence,{initial:!1},J&&o.createElement(l.motion.div,{key:"content",animate:"open","aria-labelledby":"".concat(Y,"_header"),className:r.cx("c-card__motion"),exit:"collapsed",initial:"collapsed",role:"region",transition:{duration:.6,ease:[.04,.62,.23,.98]},variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}}},o.createElement("div",{className:"c-card__content"},g))):C&&g&&o.createElement("div",{"aria-labelledby":"".concat(Y,"_header"),className:r.cx("c-card__content"),role:"region"},g))))};
|
|
2
2
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":["../../../../../../src/components/Components/Card/Card.tsx"],"sourcesContent":[null],"names":["_a","allowEventPropagation","backgroundColor","borderColor","children","disabledTooltip","_c","hasCustomTrigger","collapseHeader","iconBackgroundColor","iconColor","iconName","iconSize","isCollapsible","isDisabled","isIconAlignTop","isIconRight","isInteractive","_d","isOpen","isSelected","onClick","onRef","onToggle","shadowSize","size","testId","theme","_e","withoutOpener","_f","withoutRole","identification","useMemo","concat","createId","_g","useState","isOpened","setIsOpened","cardRef","useRef","_h","useHoverActive","isHovered","isActive","iconBackground","replace","iconColorName","useEffect","cardContext","handleKeyDownAction","
|
|
1
|
+
{"version":3,"file":"Card.js","sources":["../../../../../../src/components/Components/Card/Card.tsx"],"sourcesContent":[null],"names":["_a","allowEventPropagation","backgroundColor","borderColor","children","disabledTooltip","_c","hasCustomTrigger","collapseHeader","iconBackgroundColor","iconColor","iconName","iconSize","isCollapsible","isDisabled","isIconAlignTop","isIconRight","isInteractive","_d","isOpen","isSelected","onClick","onRef","onToggle","shadowSize","size","testId","theme","_e","withoutOpener","_f","withoutRole","identification","useMemo","concat","createId","_g","useState","isOpened","setIsOpened","cardRef","useRef","_h","useHoverActive","isHovered","isActive","iconBackground","replace","iconColorName","handleOnClick","event","stopPropagation","useEffect","cardContext","handleKeyDownAction","key","KEYS","Enter","Space","handleActionKey","setRef","useCallback","ref","current","React","createElement","CardContext","Provider","value","withDisabledTooltip","undefined","Boolean","className","cx","_b","role","tabIndex","onKeyDown","target","CollapseHeader","header","AnimatePresence","initial","motion","div","animate","exit","transition","duration","ease","variants","open","opacity","height","collapsed"],"mappings":"4mCA4EoB,SAACA,SACnBC,EAAqBD,EAAAC,sBACrBC,EAAeF,EAAAE,gBACfC,EAAWH,EAAAG,YACXC,EAAQJ,EAAAI,SACRC,EAAeL,EAAAK,gBACfC,EAAwBN,EAAAO,iBAAxBA,OAAmB,IAAAD,KACXE,WACRC,wBACAC,cACAC,aACAC,aACAC,kBACAC,eACAC,EAAcf,EAAAe,eACdC,EAAWhB,EAAAgB,YACXC,EAAajB,EAAAiB,cACbC,EAAclB,EAAAmB,OAAdA,OAAS,IAAAD,KACTE,eACAC,YACAC,UACAC,aACAC,eACAC,SACAC,WACAC,UACAC,EAAA5B,EAAA6B,cAAAA,OAAa,IAAAD,GAAQA,EACrBE,gBAAAC,OAAc,IAAAD,GAAKA,EAEbE,EAAiBC,EAAAA,SAAQ,WAAM,MAAA,QAAAC,OAAQC,EAAAA,aAAc,IACrDC,EAA0BC,EAAA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AAAF,EAAuB,WAAEwC,UAAWC,EAAEA,GAAC,mBAAoBE,KAAK,UACtFvE,KAQjB"}
|
package/cjs/ds-lilly.css
CHANGED
|
@@ -8952,7 +8952,7 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
|
|
|
8952
8952
|
/* Slider */
|
|
8953
8953
|
.slick-loading .slick-list
|
|
8954
8954
|
{
|
|
8955
|
-
background: #fff url('assets/
|
|
8955
|
+
background: #fff url('assets/cc0e2e7a4aabda0863c3.gif') center center no-repeat;
|
|
8956
8956
|
}
|
|
8957
8957
|
|
|
8958
8958
|
/* Icons */
|
|
@@ -8962,8 +8962,8 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
|
|
|
8962
8962
|
font-weight: normal;
|
|
8963
8963
|
font-style: normal;
|
|
8964
8964
|
|
|
8965
|
-
src: url('assets/
|
|
8966
|
-
src: url('assets/
|
|
8965
|
+
src: url('assets/5a23944e4afc62e7fe7f.eot');
|
|
8966
|
+
src: url('assets/dcea113cfec00176b2f4.eot') format('embedded-opentype'), url('assets/586bad5704f4e3380c79.woff') format('woff'), url('assets/3236ea1f246e10490431.ttf') format('truetype'), url('assets/436f10b6dc9c14345d7d.svg') format('svg');
|
|
8967
8967
|
}
|
|
8968
8968
|
/* Arrows */
|
|
8969
8969
|
.slick-prev,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from'./../../../ext/cuid/index.js';import o,{useMemo as t,useState as i,useRef as r,useEffect as n,useCallback as a}from"react";import c from"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import{withDisabledTooltip as s}from"../../../hocs/withDisabledTooltip.js";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as l}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{KEYS as d}from"../../../utils/constants.js";import{useHoverActive as m}from"../../../utils/hooks.js";import'./../../../ext/moment/dist/locale/cs.js';import{CollapseHeader as p}from"./_elements_/CollapseHeader.js";import{AnimatePresence as u}from'./../../../ext/framer-motion/dist/es/components/AnimatePresence/index.js';import{motion as v}from'./../../../ext/framer-motion/dist/es/render/dom/motion.js';var g=function(g){var f,h=g.allowEventPropagation,j=g.backgroundColor,b=g.borderColor,C=g.children,x=g.disabledTooltip,_=g.hasCustomTrigger,N=void 0!==_&&_,k=g.header,y=g.iconBackgroundColor,E=g.iconColor,I=g.iconName,T=g.iconSize,w=g.isCollapsible,S=g.isDisabled,A=g.isIconAlignTop,D=g.isIconRight,B=g.isInteractive,O=g.isOpen,z=void 0!==O&&O,P=g.isSelected,R=g.onClick,F=g.onRef,H=g.onToggle,M=g.shadowSize,K=g.size,G=g.testId,q=g.theme,J=g.withoutOpener,L=void 0!==J&&J,Q=g.withoutRole,U=void 0!==Q&&Q,V=t((function(){return"card_".concat(e())}),[]),W=i(z),X=W[0],Y=W[1],Z=r(null),$=m(Z),ee=$[0],oe=$[1],te=y&&"".concat(oe?y.replace("Normal","Active"):ee?y.replace("Normal","Hover"):y),ie=E&&(oe?"".concat(E.replace("Normal","Active")):ee?"".concat(E.replace("Normal","Hover")):E);n((function(){return Y(z)}),[z]);var
|
|
1
|
+
import e from'./../../../ext/cuid/index.js';import o,{useMemo as t,useState as i,useRef as r,useEffect as n,useCallback as a}from"react";import c from"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import{withDisabledTooltip as s}from"../../../hocs/withDisabledTooltip.js";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as l}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{KEYS as d}from"../../../utils/constants.js";import{useHoverActive as m}from"../../../utils/hooks.js";import'./../../../ext/moment/dist/locale/cs.js';import{CollapseHeader as p}from"./_elements_/CollapseHeader.js";import{AnimatePresence as u}from'./../../../ext/framer-motion/dist/es/components/AnimatePresence/index.js';import{motion as v}from'./../../../ext/framer-motion/dist/es/render/dom/motion.js';var g=function(g){var f,h=g.allowEventPropagation,j=g.backgroundColor,b=g.borderColor,C=g.children,x=g.disabledTooltip,_=g.hasCustomTrigger,N=void 0!==_&&_,k=g.header,y=g.iconBackgroundColor,E=g.iconColor,I=g.iconName,T=g.iconSize,w=g.isCollapsible,S=g.isDisabled,A=g.isIconAlignTop,D=g.isIconRight,B=g.isInteractive,O=g.isOpen,z=void 0!==O&&O,P=g.isSelected,R=g.onClick,F=g.onRef,H=g.onToggle,M=g.shadowSize,K=g.size,G=g.testId,q=g.theme,J=g.withoutOpener,L=void 0!==J&&J,Q=g.withoutRole,U=void 0!==Q&&Q,V=t((function(){return"card_".concat(e())}),[]),W=i(z),X=W[0],Y=W[1],Z=r(null),$=m(Z),ee=$[0],oe=$[1],te=y&&"".concat(oe?y.replace("Normal","Active"):ee?y.replace("Normal","Hover"):y),ie=E&&(oe?"".concat(E.replace("Normal","Active")):ee?"".concat(E.replace("Normal","Hover")):E),re=function(e){S||B&&R&&(R(e),h||e.stopPropagation())};n((function(){return Y(z)}),[z]);var ne={hasCustomTrigger:N,identification:V,isOpened:X,setIsOpened:Y,withoutOpener:L},ae=function(e){var o=e.key;o!==d.Enter&&o!==d.Space||function(e){B&&(null==R||R(e)),w&&(H&&H(!X,e),Y(!X))}(e)},ce=a((function(e){Z.current=e,F&&F(e)}),[F]);return o.createElement(c.Provider,{value:ne},s({isDisabled:S,disabledTooltip:x})(o.createElement("div",{ref:ce,"aria-disabled":S,"aria-pressed":void 0!==P?Boolean(P):void 0,className:l("c-card",(f={"c-card--collapse--open":w&&X,"c-card--collapse":w,"c-card--interactive":B,"c-card--selected":P,"c-card--disabled":S},f["c-card--".concat(j)]=j,f["c-card--".concat(b,"Border")]=b,f["c-card--".concat(M,"Shadow")]=M,f["c-card--".concat(K)]=K,f),q),"data-testid":G,role:w||!B||U?void 0:"button",tabIndex:w||!B||U?void 0:0,onClick:re,onKeyDown:w?void 0:function(e){e.target===Z.current&&ae(e)}},o.createElement(p,{header:k||C,iconBackground:te,iconColor:ie,iconName:I,iconSize:T,isCollapsible:w,isIconAlignTop:A,isIconRight:D,isInteractive:B,onKeyDown:ae,onToggle:function(e){w&&H&&H(!X,e),re(e),Y(!X)}}),w?o.createElement(u,{initial:!1},X&&o.createElement(v.div,{key:"content",animate:"open","aria-labelledby":"".concat(V,"_header"),className:l("c-card__motion"),exit:"collapsed",initial:"collapsed",role:"region",transition:{duration:.6,ease:[.04,.62,.23,.98]},variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}}},o.createElement("div",{className:"c-card__content"},C))):k&&C&&o.createElement("div",{"aria-labelledby":"".concat(V,"_header"),className:l("c-card__content"),role:"region"},C))))};export{g as Card};
|
|
2
2
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":["../../../../src/components/Components/Card/Card.tsx"],"sourcesContent":[null],"names":["Card","_a","allowEventPropagation","backgroundColor","borderColor","children","disabledTooltip","_c","hasCustomTrigger","collapseHeader","iconBackgroundColor","iconColor","iconName","iconSize","isCollapsible","isDisabled","isIconAlignTop","isIconRight","isInteractive","_d","isOpen","isSelected","onClick","onRef","onToggle","shadowSize","size","testId","theme","_e","withoutOpener","_f","withoutRole","identification","useMemo","concat","createId","_g","useState","isOpened","setIsOpened","cardRef","useRef","_h","useHoverActive","isHovered","isActive","iconBackground","replace","iconColorName","useEffect","cardContext","handleKeyDownAction","
|
|
1
|
+
{"version":3,"file":"Card.js","sources":["../../../../src/components/Components/Card/Card.tsx"],"sourcesContent":[null],"names":["Card","_a","allowEventPropagation","backgroundColor","borderColor","children","disabledTooltip","_c","hasCustomTrigger","collapseHeader","iconBackgroundColor","iconColor","iconName","iconSize","isCollapsible","isDisabled","isIconAlignTop","isIconRight","isInteractive","_d","isOpen","isSelected","onClick","onRef","onToggle","shadowSize","size","testId","theme","_e","withoutOpener","_f","withoutRole","identification","useMemo","concat","createId","_g","useState","isOpened","setIsOpened","cardRef","useRef","_h","useHoverActive","isHovered","isActive","iconBackground","replace","iconColorName","handleOnClick","event","stopPropagation","useEffect","cardContext","handleKeyDownAction","key","KEYS","Enter","Space","handleActionKey","setRef","useCallback","ref","current","React","createElement","CardContext","Provider","value","withDisabledTooltip","undefined","Boolean","className","cx","_b","role","tabIndex","onKeyDown","target","CollapseHeader","header","AnimatePresence","initial","motion","div","animate","exit","transition","duration","ease","variants","open","opacity","height","collapsed"],"mappings":"4tCA4EO,IAAMA,EAAO,SAACC,SACnBC,EAAqBD,EAAAC,sBACrBC,EAAeF,EAAAE,gBACfC,EAAWH,EAAAG,YACXC,EAAQJ,EAAAI,SACRC,EAAeL,EAAAK,gBACfC,EAAwBN,EAAAO,iBAAxBA,OAAmB,IAAAD,KACXE,WACRC,wBACAC,cACAC,aACAC,aACAC,kBACAC,eACAC,EAAcf,EAAAe,eACdC,EAAWhB,EAAAgB,YACXC,EAAajB,EAAAiB,cACbC,EAAclB,EAAAmB,OAAdA,OAAS,IAAAD,KACTE,eACAC,YACAC,UACAC,aACAC,eACAC,SACAC,WACAC,UACAC,EAAA5B,EAAA6B,cAAAA,OAAa,IAAAD,GAAQA,EACrBE,gBAAAC,OAAc,IAAAD,GAAKA,EAEbE,EAAiBC,GAAQ,WAAM,MAAA,QAAAC,OAAQC,OAAc,IACrDC,EAA0BC,EAASlB,GAAlCmB,EAAQF,EAAA,GAAEG,EAAWH,EAAA,GACtBI,EAAUC,EAA8B,MACxCC,EAAwBC,EAAeH,GAAtCI,GAASF,EAAA,GAAEG,GAAQH,EAAA,GACp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ick-loading .slick-list
|
|
8954
8954
|
{
|
|
8955
|
-
background: #fff url('assets/
|
|
8955
|
+
background: #fff url('assets/323e04a391961dcf7f09.gif') center center no-repeat;
|
|
8956
8956
|
}
|
|
8957
8957
|
|
|
8958
8958
|
/* Icons */
|
|
@@ -8962,8 +8962,8 @@ body.dark .l-mobilePanel--secondary .l-mobilePanel__close {
|
|
|
8962
8962
|
font-weight: normal;
|
|
8963
8963
|
font-style: normal;
|
|
8964
8964
|
|
|
8965
|
-
src: url('assets/
|
|
8966
|
-
src: url('assets/
|
|
8965
|
+
src: url('assets/58d94b993872cba79993.eot');
|
|
8966
|
+
src: url('assets/293c2df31e0a03f8282f.eot') format('embedded-opentype'), url('assets/87fa49a40a0cfae3a49f.woff') format('woff'), url('assets/4e8c49e72a812debb0b1.ttf') format('truetype'), url('assets/9795101573808d3931e3.svg') format('svg');
|
|
8967
8967
|
}
|
|
8968
8968
|
/* Arrows */
|
|
8969
8969
|
.slick-prev,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|