@commercetools-uikit/flat-button
Advanced tools
Comparing version 19.11.0 to 19.12.0
@@ -15,3 +15,2 @@ 'use strict'; | ||
var _pt = require('prop-types'); | ||
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat'); | ||
var react$1 = require('react'); | ||
@@ -36,3 +35,2 @@ var react = require('@emotion/react'); | ||
var _pt__default = /*#__PURE__*/_interopDefault(_pt); | ||
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty); | ||
var omit__default = /*#__PURE__*/_interopDefault(omit); | ||
@@ -63,3 +61,3 @@ var AccessibleButton__default = /*#__PURE__*/_interopDefault(AccessibleButton); | ||
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; } | ||
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } | ||
@@ -107,3 +105,2 @@ const propsToOmit = ['type']; | ||
const FlatButton = props => { | ||
var _context; | ||
const buttonAttributes = _objectSpread(_objectSpread({ | ||
@@ -122,3 +119,4 @@ 'data-track-component': 'FlatButton' | ||
isDisabled: props.isDisabled, | ||
css: /*#__PURE__*/react.css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? "white-space: normal;\n display: inline-block;" : '', ";span{color:", getTextColor({ | ||
css: /*#__PURE__*/react.css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? `white-space: normal; | ||
display: inline-block;` : '', ";span{color:", getTextColor({ | ||
tone: props.tone, | ||
@@ -130,7 +128,14 @@ isDisabled: props.isDisabled | ||
isIcon: true | ||
}), ";*+span,*+svg{margin-left:", designSystem.designTokens.spacing10, ";}", !props.isDisabled ? _concatInstanceProperty__default["default"](_context = "\n &:hover,\n &:focus {\n span {\n color: ".concat(getTextColor({ | ||
}), ";*+span,*+svg{margin-left:", designSystem.designTokens.spacing10, ";}", !props.isDisabled ? ` | ||
&:hover, | ||
&:focus { | ||
span { | ||
color: ${getTextColor({ | ||
tone: props.tone, | ||
isHover: true, | ||
isDisabled: props.isDisabled | ||
}), ";\n }\n svg * {\n fill: ")).call(_context, getTextColor({ | ||
})}; | ||
} | ||
svg * { | ||
fill: ${getTextColor({ | ||
tone: props.tone, | ||
@@ -140,3 +145,5 @@ isHover: true, | ||
isIcon: true | ||
}), ";\n }\n }") : '', ";" + (process.env.NODE_ENV === "production" ? "" : ";label:FlatButton;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=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0OiAke2Rlc2lnblRva2Vucy5zcGFjaW5nMTB9O1xuICAgICAgICB9XG5cbiAgICAgICAgJHshcHJvcHMuaXNEaXNhYmxlZFxuICAgICAgICAgID8gYFxuICAgICAgICAgICAgJjpob3ZlcixcbiAgICAgICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgICAgICBzcGFuIHtcbiAgICAgICAgICAgICAgICBjb2xvcjogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBzdmcgKiB7XG4gICAgICAgICAgICAgICAgZmlsbDogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgICAgaXNJY29uOiB0cnVlLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfWBcbiAgICAgICAgICA6ICcnfVxuICAgICAgYH1cbiAgICAgIGJ1dHRvbkF0dHJpYnV0ZXM9e2J1dHRvbkF0dHJpYnV0ZXN9XG4gICAgPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAnbGVmdCcgJiYgKFxuICAgICAgICA8QnV0dG9uSWNvbjxUU3RyaW5nT3JDb21wb25lbnQ+IHsuLi5wcm9wc30gLz5cbiAgICAgICl9XG4gICAgICA8c3Bhbj57cHJvcHMubGFiZWx9PC9zcGFuPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAncmlnaHQnICYmIChcbiAgICAgICAgPEJ1dHRvbkljb248VFN0cmluZ09yQ29tcG9uZW50PiB7Li4ucHJvcHN9IC8+XG4gICAgICApfVxuICAgIDwvQWNjZXNzaWJsZUJ1dHRvbj5cbiAgKTtcbn07XG5cbkZsYXRCdXR0b24uZGlzcGxheU5hbWUgPSAnRmxhdEJ1dHRvbic7XG5GbGF0QnV0dG9uLmRlZmF1bHRQcm9wcyA9IGRlZmF1bHRQcm9wcztcblxuZXhwb3J0IGRlZmF1bHQgRmxhdEJ1dHRvbjtcbiJdfQ== */"), | ||
})}; | ||
} | ||
}` : '', ";" + (process.env.NODE_ENV === "production" ? "" : ";label:FlatButton;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsYXQtYnV0dG9uLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFvSGMiLCJmaWxlIjoiZmxhdC1idXR0b24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgdHlwZSBNb3VzZUV2ZW50LFxuICB0eXBlIEtleWJvYXJkRXZlbnQsXG4gIHR5cGUgRWxlbWVudFR5cGUsXG4gIHR5cGUgUmVhY3RFbGVtZW50LFxuICBDb21wb25lbnRQcm9wc1dpdGhSZWYsXG4gIGNsb25lRWxlbWVudCxcbn0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IG9taXQgZnJvbSAnbG9kYXNoL29taXQnO1xuaW1wb3J0IHsgZGVzaWduVG9rZW5zIH0gZnJvbSAnQGNvbW1lcmNldG9vbHMtdWlraXQvZGVzaWduLXN5c3RlbSc7XG5pbXBvcnQgeyBmaWx0ZXJJbnZhbGlkQXR0cmlidXRlcyB9IGZyb20g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AnJ307XG5cbiAgICAgICAgc3BhbiB7XG4gICAgICAgICAgY29sb3I6ICR7Z2V0VGV4dENvbG9yKHtcbiAgICAgICAgICAgIHRvbmU6IHByb3BzLnRvbmUsXG4gICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgIH0pfTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZpbGw6ICR7Z2V0VGV4dENvbG9yKHtcbiAgICAgICAgICB0b25lOiBwcm9wcy50b25lLFxuICAgICAgICAgIGlzRGlzYWJsZWQ6IHByb3BzLmlzRGlzYWJsZWQsXG4gICAgICAgICAgaXNJY29uOiB0cnVlLFxuICAgICAgICB9KX07XG5cbiAgICAgICAgKiArIHNwYW4sXG4gICAgICAgICogKyBzdmcge1xuICAgICAgICAgIG1hcmdpbi1sZWZ0OiAke2Rlc2lnblRva2Vucy5zcGFjaW5nMTB9O1xuICAgICAgICB9XG5cbiAgICAgICAgJHshcHJvcHMuaXNEaXNhYmxlZFxuICAgICAgICAgID8gYFxuICAgICAgICAgICAgJjpob3ZlcixcbiAgICAgICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgICAgICBzcGFuIHtcbiAgICAgICAgICAgICAgICBjb2xvcjogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBzdmcgKiB7XG4gICAgICAgICAgICAgICAgZmlsbDogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgICAgaXNJY29uOiB0cnVlLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfWBcbiAgICAgICAgICA6ICcnfVxuICAgICAgYH1cbiAgICAgIGJ1dHRvbkF0dHJpYnV0ZXM9e2J1dHRvbkF0dHJpYnV0ZXN9XG4gICAgPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAnbGVmdCcgJiYgKFxuICAgICAgICA8QnV0dG9uSWNvbjxUU3RyaW5nT3JDb21wb25lbnQ+IHsuLi5wcm9wc30gLz5cbiAgICAgICl9XG4gICAgICA8c3Bhbj57cHJvcHMubGFiZWx9PC9zcGFuPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAncmlnaHQnICYmIChcbiAgICAgICAgPEJ1dHRvbkljb248VFN0cmluZ09yQ29tcG9uZW50PiB7Li4ucHJvcHN9IC8+XG4gICAgICApfVxuICAgIDwvQWNjZXNzaWJsZUJ1dHRvbj5cbiAgKTtcbn07XG5cbkZsYXRCdXR0b24uZGlzcGxheU5hbWUgPSAnRmxhdEJ1dHRvbic7XG5GbGF0QnV0dG9uLmRlZmF1bHRQcm9wcyA9IGRlZmF1bHRQcm9wcztcblxuZXhwb3J0IGRlZmF1bHQgRmxhdEJ1dHRvbjtcbiJdfQ== */"), | ||
buttonAttributes: buttonAttributes, | ||
@@ -143,0 +150,0 @@ children: [props.icon && props.iconPosition === 'left' && jsxRuntime.jsx(ButtonIcon, _objectSpread({}, props)), jsxRuntime.jsx("span", { |
@@ -15,3 +15,2 @@ 'use strict'; | ||
require('prop-types'); | ||
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat'); | ||
var react$1 = require('react'); | ||
@@ -35,3 +34,2 @@ var react = require('@emotion/react'); | ||
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty); | ||
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty); | ||
var omit__default = /*#__PURE__*/_interopDefault(omit); | ||
@@ -62,3 +60,3 @@ var AccessibleButton__default = /*#__PURE__*/_interopDefault(AccessibleButton); | ||
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; } | ||
const propsToOmit = ['type']; | ||
@@ -91,3 +89,2 @@ const defaultProps = { | ||
const FlatButton = props => { | ||
var _context; | ||
const buttonAttributes = _objectSpread(_objectSpread({ | ||
@@ -106,3 +103,4 @@ 'data-track-component': 'FlatButton' | ||
isDisabled: props.isDisabled, | ||
css: /*#__PURE__*/react.css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? "white-space: normal;\n display: inline-block;" : '', ";span{color:", getTextColor({ | ||
css: /*#__PURE__*/react.css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? `white-space: normal; | ||
display: inline-block;` : '', ";span{color:", getTextColor({ | ||
tone: props.tone, | ||
@@ -114,7 +112,14 @@ isDisabled: props.isDisabled | ||
isIcon: true | ||
}), ";*+span,*+svg{margin-left:", designSystem.designTokens.spacing10, ";}", !props.isDisabled ? _concatInstanceProperty__default["default"](_context = "\n &:hover,\n &:focus {\n span {\n color: ".concat(getTextColor({ | ||
}), ";*+span,*+svg{margin-left:", designSystem.designTokens.spacing10, ";}", !props.isDisabled ? ` | ||
&:hover, | ||
&:focus { | ||
span { | ||
color: ${getTextColor({ | ||
tone: props.tone, | ||
isHover: true, | ||
isDisabled: props.isDisabled | ||
}), ";\n }\n svg * {\n fill: ")).call(_context, getTextColor({ | ||
})}; | ||
} | ||
svg * { | ||
fill: ${getTextColor({ | ||
tone: props.tone, | ||
@@ -124,3 +129,5 @@ isHover: true, | ||
isIcon: true | ||
}), ";\n }\n }") : '', ";" + ("" ), "" ), | ||
})}; | ||
} | ||
}` : '', ";" + ("" ), "" ), | ||
buttonAttributes: buttonAttributes, | ||
@@ -127,0 +134,0 @@ children: [props.icon && props.iconPosition === 'left' && jsxRuntime.jsx(ButtonIcon, _objectSpread({}, props)), jsxRuntime.jsx("span", { |
@@ -11,3 +11,2 @@ import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys'; | ||
import _pt from 'prop-types'; | ||
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat'; | ||
import { cloneElement } from 'react'; | ||
@@ -43,3 +42,3 @@ import { css } from '@emotion/react'; | ||
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } | ||
@@ -87,3 +86,2 @@ const propsToOmit = ['type']; | ||
const FlatButton = props => { | ||
var _context; | ||
const buttonAttributes = _objectSpread(_objectSpread({ | ||
@@ -102,3 +100,4 @@ 'data-track-component': 'FlatButton' | ||
isDisabled: props.isDisabled, | ||
css: /*#__PURE__*/css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? "white-space: normal;\n display: inline-block;" : '', ";span{color:", getTextColor({ | ||
css: /*#__PURE__*/css("min-height:initial;align-items:center;", props.as && props.as !== 'button' ? `white-space: normal; | ||
display: inline-block;` : '', ";span{color:", getTextColor({ | ||
tone: props.tone, | ||
@@ -110,7 +109,14 @@ isDisabled: props.isDisabled | ||
isIcon: true | ||
}), ";*+span,*+svg{margin-left:", designTokens.spacing10, ";}", !props.isDisabled ? _concatInstanceProperty(_context = "\n &:hover,\n &:focus {\n span {\n color: ".concat(getTextColor({ | ||
}), ";*+span,*+svg{margin-left:", designTokens.spacing10, ";}", !props.isDisabled ? ` | ||
&:hover, | ||
&:focus { | ||
span { | ||
color: ${getTextColor({ | ||
tone: props.tone, | ||
isHover: true, | ||
isDisabled: props.isDisabled | ||
}), ";\n }\n svg * {\n fill: ")).call(_context, getTextColor({ | ||
})}; | ||
} | ||
svg * { | ||
fill: ${getTextColor({ | ||
tone: props.tone, | ||
@@ -120,3 +126,5 @@ isHover: true, | ||
isIcon: true | ||
}), ";\n }\n }") : '', ";" + (process.env.NODE_ENV === "production" ? "" : ";label:FlatButton;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsYXQtYnV0dG9uLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFvSGMiLCJmaWxlIjoiZmxhdC1idXR0b24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgdHlwZSBNb3VzZUV2ZW50LFxuICB0eXBlIEtleWJvYXJkRXZlbnQsXG4gIHR5cGUgRWxlbWVudFR5cGUsXG4gIHR5cGUgUmVhY3RFbGVtZW50LFxuICBDb21wb25lbnRQcm9wc1dpdGhSZWYsXG4gIGNsb25lRWxlbWVudCxcbn0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IG9taXQgZnJvbSAnbG9kYXNoL29taXQnO1xuaW1wb3J0IHsgZGVzaWduVG9rZW5zIH0gZnJvbSAnQ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gICAgICAgPyBgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbiAgICAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztgXG4gICAgICAgICAgOiAnJ307XG5cbiAgICAgICAgc3BhbiB7XG4gICAgICAgICAgY29sb3I6ICR7Z2V0VGV4dENvbG9yKHtcbiAgICAgICAgICAgIHRvbmU6IHByb3BzLnRvbmUsXG4gICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgIH0pfTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZpbGw6ICR7Z2V0VGV4dENvbG9yKHtcbiAgICAgICAgICB0b25lOiBwcm9wcy50b25lLFxuICAgICAgICAgIGlzRGlzYWJsZWQ6IHByb3BzLmlzRGlzYWJsZWQsXG4gICAgICAgICAgaXNJY29uOiB0cnVlLFxuICAgICAgICB9KX07XG5cbiAgICAgICAgKiArIHNwYW4sXG4gICAgICAgICogKyBzdmcge1xuICAgICAgICAgIG1hcmdpbi1sZWZ0OiAke2Rlc2lnblRva2Vucy5zcGFjaW5nMTB9O1xuICAgICAgICB9XG5cbiAgICAgICAgJHshcHJvcHMuaXNEaXNhYmxlZFxuICAgICAgICAgID8gYFxuICAgICAgICAgICAgJjpob3ZlcixcbiAgICAgICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgICAgICBzcGFuIHtcbiAgICAgICAgICAgICAgICBjb2xvcjogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBzdmcgKiB7XG4gICAgICAgICAgICAgICAgZmlsbDogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgICAgaXNJY29uOiB0cnVlLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfWBcbiAgICAgICAgICA6ICcnfVxuICAgICAgYH1cbiAgICAgIGJ1dHRvbkF0dHJpYnV0ZXM9e2J1dHRvbkF0dHJpYnV0ZXN9XG4gICAgPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAnbGVmdCcgJiYgKFxuICAgICAgICA8QnV0dG9uSWNvbjxUU3RyaW5nT3JDb21wb25lbnQ+IHsuLi5wcm9wc30gLz5cbiAgICAgICl9XG4gICAgICA8c3Bhbj57cHJvcHMubGFiZWx9PC9zcGFuPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAncmlnaHQnICYmIChcbiAgICAgICAgPEJ1dHRvbkljb248VFN0cmluZ09yQ29tcG9uZW50PiB7Li4ucHJvcHN9IC8+XG4gICAgICApfVxuICAgIDwvQWNjZXNzaWJsZUJ1dHRvbj5cbiAgKTtcbn07XG5cbkZsYXRCdXR0b24uZGlzcGxheU5hbWUgPSAnRmxhdEJ1dHRvbic7XG5GbGF0QnV0dG9uLmRlZmF1bHRQcm9wcyA9IGRlZmF1bHRQcm9wcztcblxuZXhwb3J0IGRlZmF1bHQgRmxhdEJ1dHRvbjtcbiJdfQ== */"), | ||
})}; | ||
} | ||
}` : '', ";" + (process.env.NODE_ENV === "production" ? "" : ";label:FlatButton;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsYXQtYnV0d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iAgICAgICAgJHshcHJvcHMuaXNEaXNhYmxlZFxuICAgICAgICAgID8gYFxuICAgICAgICAgICAgJjpob3ZlcixcbiAgICAgICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgICAgICBzcGFuIHtcbiAgICAgICAgICAgICAgICBjb2xvcjogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBzdmcgKiB7XG4gICAgICAgICAgICAgICAgZmlsbDogJHtnZXRUZXh0Q29sb3Ioe1xuICAgICAgICAgICAgICAgICAgdG9uZTogcHJvcHMudG9uZSxcbiAgICAgICAgICAgICAgICAgIGlzSG92ZXI6IHRydWUsXG4gICAgICAgICAgICAgICAgICBpc0Rpc2FibGVkOiBwcm9wcy5pc0Rpc2FibGVkLFxuICAgICAgICAgICAgICAgICAgaXNJY29uOiB0cnVlLFxuICAgICAgICAgICAgICAgIH0pfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfWBcbiAgICAgICAgICA6ICcnfVxuICAgICAgYH1cbiAgICAgIGJ1dHRvbkF0dHJpYnV0ZXM9e2J1dHRvbkF0dHJpYnV0ZXN9XG4gICAgPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAnbGVmdCcgJiYgKFxuICAgICAgICA8QnV0dG9uSWNvbjxUU3RyaW5nT3JDb21wb25lbnQ+IHsuLi5wcm9wc30gLz5cbiAgICAgICl9XG4gICAgICA8c3Bhbj57cHJvcHMubGFiZWx9PC9zcGFuPlxuICAgICAge3Byb3BzLmljb24gJiYgcHJvcHMuaWNvblBvc2l0aW9uID09PSAncmlnaHQnICYmIChcbiAgICAgICAgPEJ1dHRvbkljb248VFN0cmluZ09yQ29tcG9uZW50PiB7Li4ucHJvcHN9IC8+XG4gICAgICApfVxuICAgIDwvQWNjZXNzaWJsZUJ1dHRvbj5cbiAgKTtcbn07XG5cbkZsYXRCdXR0b24uZGlzcGxheU5hbWUgPSAnRmxhdEJ1dHRvbic7XG5GbGF0QnV0dG9uLmRlZmF1bHRQcm9wcyA9IGRlZmF1bHRQcm9wcztcblxuZXhwb3J0IGRlZmF1bHQgRmxhdEJ1dHRvbjtcbiJdfQ== */"), | ||
buttonAttributes: buttonAttributes, | ||
@@ -123,0 +131,0 @@ children: [props.icon && props.iconPosition === 'left' && jsx(ButtonIcon, _objectSpread({}, props)), jsx("span", { |
{ | ||
"name": "@commercetools-uikit/flat-button", | ||
"description": "Flat buttons are minimal and a flat variation of primary and secondary buttons.", | ||
"version": "19.11.0", | ||
"version": "19.12.0", | ||
"bugs": "https://github.com/commercetools/ui-kit/issues", | ||
@@ -24,7 +24,7 @@ "repository": { | ||
"@babel/runtime-corejs3": "^7.20.13", | ||
"@commercetools-uikit/accessible-button": "19.11.0", | ||
"@commercetools-uikit/design-system": "19.11.0", | ||
"@commercetools-uikit/spacings-inline": "19.11.0", | ||
"@commercetools-uikit/text": "19.11.0", | ||
"@commercetools-uikit/utils": "19.11.0", | ||
"@commercetools-uikit/accessible-button": "19.12.0", | ||
"@commercetools-uikit/design-system": "19.12.0", | ||
"@commercetools-uikit/spacings-inline": "19.12.0", | ||
"@commercetools-uikit/text": "19.12.0", | ||
"@commercetools-uikit/utils": "19.12.0", | ||
"@emotion/react": "^11.10.5", | ||
@@ -31,0 +31,0 @@ "@emotion/styled": "^11.10.5", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
615
60387
+ Added@commercetools-uikit/accessible-button@19.12.0(transitive)
+ Added@commercetools-uikit/design-system@19.12.0(transitive)
+ Added@commercetools-uikit/hooks@19.12.0(transitive)
+ Added@commercetools-uikit/spacings-inline@19.12.0(transitive)
+ Added@commercetools-uikit/text@19.12.0(transitive)
+ Added@commercetools-uikit/utils@19.12.0(transitive)
- Removed@commercetools-uikit/accessible-button@19.11.0(transitive)
- Removed@commercetools-uikit/design-system@19.11.0(transitive)
- Removed@commercetools-uikit/hooks@19.11.0(transitive)
- Removed@commercetools-uikit/spacings-inline@19.11.0(transitive)
- Removed@commercetools-uikit/text@19.11.0(transitive)
- Removed@commercetools-uikit/utils@19.11.0(transitive)