@pedidopago/ui 1.13.2 → 1.13.4
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlD,eAAO,MAAM,eAAe;;;+
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlD,eAAO,MAAM,eAAe;;;+IAkG1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SkeletonElement=void 0;var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_styled=_interopRequireDefault(require("@emotion/styled")),_react=require("@emotion/react"),_customColorMode=require("../../utils/customColorMode");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var SkeletonElement=_styled.default.div(function(props){var animationsCss={wave:(0,_react.css)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n overflow: hidden;\n transform-origin: 0px 55%;\n\n &::after {\n content: '';\n inset: 0px;\n position: absolute;\n animation: 1.6s linear 0.5s infinite normal none running move;\n transform: translateX(-100%);\n background: linear-gradient(\n 90deg,\n transparent,\n ",",\n transparent\n );\n }\n\n @keyframes move {\n 0% {\n transform: translateX(-100%);\n }\n 40% {\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(100%);\n }\n }\n "])),(0,_customColorMode.customColorMode)(props.theme.colors.neutral.neutral1,props.theme.colors.neutral.neutral2)),pulse:(0,_react.css)(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n animation: 1.6s linear 0.5s infinite normal none running pulse;\n\n @keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n }\n "])))},unloadedCss=(0,_react.css)(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n display: block;\n position: relative;\n user-select: none;\n pointer-events: none;\n cursor: default;\n background: padding-box\n ","70;\n border-radius: ",";\n height: ",";\n color: transparent;\n\n ",";\n\n * {\n visibility: hidden;\n color: transparent;\n }\n "])),(0,_customColorMode.customColorMode)(props.theme.colors.neutral.neutral1,props.theme.colors.neutral.neutral2),{circle:"50%",text:"4px",rectangle:"0"}[props.variant||"text"],"number"==typeof props.height?props.height+"px":props.height||"","static"===props.animation?"":animationsCss[props.animation||"wave"]),loadedCss=(0,_react.css)(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n display: block;\n background: transparent;\n\n transition: all 300ms ease;\n "])));return(0,_react.css)(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n width: ",";\n\n ","\n "])),props.fullWidth?"100%":"number"==typeof props.width?props.width+"px":props.width||"",props.isLoaded?loadedCss:unloadedCss)});exports.SkeletonElement=SkeletonElement;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SkeletonElement=void 0;var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_styled=_interopRequireDefault(require("@emotion/styled")),_react=require("@emotion/react"),_customColorMode=require("../../utils/customColorMode");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var SkeletonElement=_styled.default.div(function(props){var animationsCss={wave:(0,_react.css)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n overflow: hidden;\n transform-origin: 0px 55%;\n\n &::after {\n content: '';\n inset: 0px;\n position: absolute;\n animation: 1.6s linear 0.5s infinite normal none running move;\n transform: translateX(-100%);\n background: linear-gradient(\n 90deg,\n transparent,\n ",",\n transparent\n );\n }\n\n @keyframes move {\n 0% {\n transform: translateX(-100%);\n }\n 40% {\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(100%);\n }\n }\n "])),(0,_customColorMode.customColorMode)(props.theme.colors.neutral.neutral1,props.theme.colors.neutral.neutral2)),pulse:(0,_react.css)(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n animation: 1.6s linear 0.5s infinite normal none running pulse;\n\n @keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n }\n "])))},unloadedCss=(0,_react.css)(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n display: block;\n position: relative;\n user-select: none;\n pointer-events: none;\n cursor: default;\n background: padding-box\n ","70;\n border-radius: ",";\n height: ",";\n color: transparent;\n\n ",";\n\n * {\n visibility: hidden;\n color: transparent;\n }\n "])),(0,_customColorMode.customColorMode)(props.theme.colors.neutral.neutral1,props.theme.colors.neutral.neutral2),{circle:"50%",text:"4px",rectangle:"0"}[props.variant||"text"],"number"==typeof props.height?props.height+"px":props.height||"","static"===props.animation?"":animationsCss[props.animation||"wave"]),loadedCss=(0,_react.css)(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n display: block;\n background: transparent;\n\n transition: all 300ms ease;\n\n &::after {\n content: '';\n }\n "])));return(0,_react.css)(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n width: ",";\n\n ","\n "])),props.fullWidth?"100%":"number"==typeof props.width?props.width+"px":props.width||"",props.isLoaded?loadedCss:unloadedCss)});exports.SkeletonElement=SkeletonElement;
|