@pedidopago/ui 1.10.11 → 1.10.12

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/Alert/styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,kBAAkB;;;wHAqC9B,CAAC;AAEF,eAAO,MAAM,aAAa;;;wHAyBxB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,kBAAkB;;;wHAwC9B,CAAC;AAEF,eAAO,MAAM,aAAa;;;wHAyBxB,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StyledIconBox=exports.StyledAlertWrapper=void 0;var _templateObject,_templateObject2,_react=require("@emotion/react"),_styled=_interopRequireDefault(require("@emotion/styled")),_colorCheck=require("../../utils/colorCheck");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 StyledAlertWrapper=_styled.default.div(function(_ref){var theme=_ref.theme,_ref$type=_ref.type,type=void 0===_ref$type?"default":_ref$type,maxWidth=_ref.maxWidth,highlightBackground="default"===type?theme.colors.neutral.neutral3:theme.colors[type].default,secondaryColor="default"===type?theme.colors.neutral.neutral1:theme.colors[type].blurred;return(0,_react.css)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: flex;\n align-items: start;\n padding: 1rem;\n gap: 1rem;\n border-radius: 0.5rem;\n width: 100%;\n max-width: ",";\n background-color: ",";\n color: ",";\n\n &[data-variant='outlined'] {\n background-color: transparent;\n border: 2px solid ",";\n color: ",";\n }\n\n &[data-variant='highlighted'] {\n align-items: center;\n background: ","08;\n border-left: 4px solid ",";\n color: ",";\n\n svg {\n color: ",";\n }\n }\n "])),maxWidth?"".concat(maxWidth,"px"):"",secondaryColor,theme.colors.neutral.black,secondaryColor,theme.colors.neutral.neutral4,highlightBackground,highlightBackground,theme.colors.neutral.black,highlightBackground)});exports.StyledAlertWrapper=StyledAlertWrapper;var StyledIconBox=_styled.default.div(function(_ref2){var _ref2$type=_ref2.type,type=void 0===_ref2$type?"default":_ref2$type,theme=_ref2.theme,primaryColor="default"===type?theme.colors.neutral.neutral1:theme.colors[type].default,secondaryColor="default"===type?theme.colors.neutral.neutral1:(0,_colorCheck.parseHexColorToRgba)(primaryColor,.2),iconColor="default"===type?theme.colors.neutral.neutral3:primaryColor;return(0,_react.css)(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: 50%;\n\n [data-variant='highlighted'] {\n padding: 0.625rem;\n background: ",";\n }\n\n & svg {\n color: ",";\n }\n "])),secondaryColor,iconColor)});exports.StyledIconBox=StyledIconBox;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StyledIconBox=exports.StyledAlertWrapper=void 0;var _templateObject,_templateObject2,_react=require("@emotion/react"),_styled=_interopRequireDefault(require("@emotion/styled")),_colorCheck=require("../../utils/colorCheck");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 StyledAlertWrapper=_styled.default.div(function(_ref){var theme=_ref.theme,_ref$type=_ref.type,type=void 0===_ref$type?"default":_ref$type,maxWidth=_ref.maxWidth,highlightBackground="default"===type?theme.colors.neutral.neutral3:theme.colors[type].default,color="default"===type?theme.colors.neutral.neutral6:theme.colors[type].dark,secondaryColor="default"===type?theme.colors.neutral.neutral1:theme.colors[type].blurred;return(0,_react.css)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: flex;\n align-items: start;\n padding: 1rem;\n gap: 1rem;\n border-radius: 0.5rem;\n width: 100%;\n max-width: ",";\n background-color: ",";\n color: ",";\n font-weight: 500;\n\n &[data-variant='outlined'] {\n background-color: transparent;\n border: 2px solid ",";\n color: ",";\n }\n\n &[data-variant='highlighted'] {\n align-items: center;\n background: ","20;\n border-left: 4px solid ",";\n color: ",";\n\n svg {\n color: ",";\n }\n }\n "])),maxWidth?"".concat(maxWidth,"px"):"",secondaryColor,theme.colors.neutral.black,secondaryColor,theme.colors.neutral.neutral4,highlightBackground,highlightBackground,color,highlightBackground)});exports.StyledAlertWrapper=StyledAlertWrapper;var StyledIconBox=_styled.default.div(function(_ref2){var _ref2$type=_ref2.type,type=void 0===_ref2$type?"default":_ref2$type,theme=_ref2.theme,primaryColor="default"===type?theme.colors.neutral.neutral1:theme.colors[type].default,secondaryColor="default"===type?theme.colors.neutral.neutral1:(0,_colorCheck.parseHexColorToRgba)(primaryColor,.2),iconColor="default"===type?theme.colors.neutral.neutral3:primaryColor;return(0,_react.css)(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: 50%;\n\n [data-variant='highlighted'] {\n padding: 0.625rem;\n background: ",";\n }\n\n & svg {\n color: ",";\n }\n "])),secondaryColor,iconColor)});exports.StyledIconBox=StyledIconBox;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedidopago/ui",
3
- "version": "1.10.11",
3
+ "version": "1.10.12",
4
4
  "description": "Quick build beatiful Pedido Pago apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",