@coinswap-app/uikit 1.0.9 → 1.0.11
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/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -497,7 +497,7 @@ var getButtonVariantProp$3 = function getButtonVariantProp(prop) {
|
|
|
497
497
|
};
|
|
498
498
|
var StyledButton$2 = styledComponents.styled.button.withConfig({
|
|
499
499
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
500
|
-
return !['$fullWidth', '$isLoading', '$white', 'variant'].includes(prop);
|
|
500
|
+
return !['$fullWidth', '$isLoading', '$white', 'variant', 'isActive'].includes(prop);
|
|
501
501
|
}
|
|
502
502
|
})(_templateObject$29 || (_templateObject$29 = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border: ", ";\n border-radius: 10px;\n color: ", ";\n cursor: pointer;\n display: inline-flex;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: background-color 0.2s;\n opacity: ", ";\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n background-color: ", ";\n border-color: ", ";\n }\n\n &:focus:not(:active) {\n box-shadow: 0 0 0 1px ", ";\n }\n\n &:active {\n background-color: ", ";\n box-shadow: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), getButtonVariantProp$3("background"), getButtonVariantProp$3("border"), function (_ref4) {
|
|
503
503
|
var $white = _ref4.$white;
|
package/dist/index.esm.js
CHANGED
|
@@ -475,7 +475,7 @@ var getButtonVariantProp$3 = function getButtonVariantProp(prop) {
|
|
|
475
475
|
};
|
|
476
476
|
var StyledButton$2 = styled.button.withConfig({
|
|
477
477
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
478
|
-
return !['$fullWidth', '$isLoading', '$white', 'variant'].includes(prop);
|
|
478
|
+
return !['$fullWidth', '$isLoading', '$white', 'variant', 'isActive'].includes(prop);
|
|
479
479
|
}
|
|
480
480
|
})(_templateObject$29 || (_templateObject$29 = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border: ", ";\n border-radius: 10px;\n color: ", ";\n cursor: pointer;\n display: inline-flex;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: background-color 0.2s;\n opacity: ", ";\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n background-color: ", ";\n border-color: ", ";\n }\n\n &:focus:not(:active) {\n box-shadow: 0 0 0 1px ", ";\n }\n\n &:active {\n background-color: ", ";\n box-shadow: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), getButtonVariantProp$3("background"), getButtonVariantProp$3("border"), function (_ref4) {
|
|
481
481
|
var $white = _ref4.$white;
|