@welcome-ui/tag
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -6,4 +6,15 @@ # Change Log | ||
## [1.1.5](https://github.com/WTTJ/welcome-ui/compare/v1.1.4...v1.1.5) (2020-01-10) | ||
### Bug Fixes | ||
* lost code on select tag close ([#483](https://github.com/WTTJ/welcome-ui/issues/483)) ([a0f19b6](https://github.com/WTTJ/welcome-ui/commit/a0f19b69f92266e1561db5fa5daad362641c6db3)) | ||
## [1.1.4](https://github.com/WTTJ/welcome-ui/compare/v1.1.3...v1.1.4) (2020-01-08) | ||
**Note:** Version bump only for package @welcome-ui/tag |
@@ -21,5 +21,25 @@ 'use strict'; | ||
function _templateObject5() { | ||
function _templateObject7() { | ||
var data = _taggedTemplateLiteralLoose(["\n position: absolute;\n ", ";\n top: 0;\n bottom: 0;\n right: 0;\n ", ";\n "]); | ||
_templateObject7 = function _templateObject7() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _templateObject6() { | ||
var data = _taggedTemplateLiteralLoose(["\n padding-right: xl;\n "]); | ||
_templateObject6 = function _templateObject6() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _templateObject5() { | ||
var data = _taggedTemplateLiteralLoose(["\n justify-content: center;\n ", ";\n "]); | ||
_templateObject5 = function _templateObject5() { | ||
@@ -33,3 +53,3 @@ return data; | ||
function _templateObject4() { | ||
var data = _taggedTemplateLiteralLoose(["\n padding-right: xl;\n "]); | ||
var data = _taggedTemplateLiteralLoose(["\n span,\n p {\n ", "\n }\n "]); | ||
@@ -44,3 +64,3 @@ _templateObject4 = function _templateObject4() { | ||
function _templateObject3() { | ||
var data = _taggedTemplateLiteralLoose(["\n ", ";\n ", ";\n ", "\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: md;\n ", "\n ", ";\n ", ";\n ", ";\n\n > *:not(:last-child) {\n margin-right: xxs;\n }\n\n > *:not(:only-child) {\n ", ":last-child {\n cursor: pointer;\n\n path {\n transition: fill ", ";\n }\n\n &:hover {\n path,\n g {\n fill: ", ";\n }\n }\n }\n }\n "]); | ||
var data = _taggedTemplateLiteralLoose(["\n ", ";\n ", ";\n ", "\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: md;\n ", "\n ", ";\n ", "\n ", ";\n ", "\n max-width: 100%;\n\n > *:not(:last-child) {\n margin-right: xxs;\n }\n\n > *:not(:only-child) {\n ", ":last-child {\n opacity: 1;\n transition: opacity ", ";\n cursor: pointer;\n\n &:hover {\n opacity: 0.6;\n }\n }\n }\n "]); | ||
@@ -92,5 +112,5 @@ _templateObject3 = function _templateObject3() { | ||
width = _ref.width; | ||
return styled.css(_templateObject3(), system.th('tags.default'), system.th("tags.variants." + variant), system.th("tags.sizes." + size), hasAction && styled.css(_templateObject4()), utils.overflowEllipsis, system$1.system, (shape || length === 1) && shapeStyles(size, width, height, shape), | ||
return styled.css(_templateObject3(), system.th('tags.default'), system.th("tags.variants." + variant), system.th("tags.sizes." + size), utils.overflowEllipsis, system$1.system, !shape && length !== 1 && styled.css(_templateObject4(), utils.overflowEllipsis), (shape || length === 1) && styled.css(_templateObject5(), shapeStyles(size, width, height, shape)), hasAction && styled.css(_templateObject6()), | ||
/* sc-selector */ | ||
icon.StyledIcon, system.th.transition('medium'), system.th('colors.danger.500')); | ||
icon.StyledIcon, system.th.transition('medium')); | ||
}); | ||
@@ -101,3 +121,3 @@ var ActionIcon = | ||
var size = _ref2.size; | ||
return styled.css(_templateObject5(), system.th("tags.sizes." + size), utils.centerContent); | ||
return styled.css(_templateObject7(), system.th("tags.sizes." + size), utils.centerContent); | ||
}); | ||
@@ -104,0 +124,0 @@ |
@@ -13,5 +13,25 @@ import _extends from '@babel/runtime/helpers/esm/extends'; | ||
function _templateObject5() { | ||
function _templateObject7() { | ||
var data = _taggedTemplateLiteralLoose(["\n position: absolute;\n ", ";\n top: 0;\n bottom: 0;\n right: 0;\n ", ";\n "]); | ||
_templateObject7 = function _templateObject7() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _templateObject6() { | ||
var data = _taggedTemplateLiteralLoose(["\n padding-right: xl;\n "]); | ||
_templateObject6 = function _templateObject6() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _templateObject5() { | ||
var data = _taggedTemplateLiteralLoose(["\n justify-content: center;\n ", ";\n "]); | ||
_templateObject5 = function _templateObject5() { | ||
@@ -25,3 +45,3 @@ return data; | ||
function _templateObject4() { | ||
var data = _taggedTemplateLiteralLoose(["\n padding-right: xl;\n "]); | ||
var data = _taggedTemplateLiteralLoose(["\n span,\n p {\n ", "\n }\n "]); | ||
@@ -36,3 +56,3 @@ _templateObject4 = function _templateObject4() { | ||
function _templateObject3() { | ||
var data = _taggedTemplateLiteralLoose(["\n ", ";\n ", ";\n ", "\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: md;\n ", "\n ", ";\n ", ";\n ", ";\n\n > *:not(:last-child) {\n margin-right: xxs;\n }\n\n > *:not(:only-child) {\n ", ":last-child {\n cursor: pointer;\n\n path {\n transition: fill ", ";\n }\n\n &:hover {\n path,\n g {\n fill: ", ";\n }\n }\n }\n }\n "]); | ||
var data = _taggedTemplateLiteralLoose(["\n ", ";\n ", ";\n ", "\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: md;\n ", "\n ", ";\n ", "\n ", ";\n ", "\n max-width: 100%;\n\n > *:not(:last-child) {\n margin-right: xxs;\n }\n\n > *:not(:only-child) {\n ", ":last-child {\n opacity: 1;\n transition: opacity ", ";\n cursor: pointer;\n\n &:hover {\n opacity: 0.6;\n }\n }\n }\n "]); | ||
@@ -84,5 +104,5 @@ _templateObject3 = function _templateObject3() { | ||
width = _ref.width; | ||
return css(_templateObject3(), th('tags.default'), th("tags.variants." + variant), th("tags.sizes." + size), hasAction && css(_templateObject4()), overflowEllipsis, system, (shape || length === 1) && shapeStyles(size, width, height, shape), | ||
return css(_templateObject3(), th('tags.default'), th("tags.variants." + variant), th("tags.sizes." + size), overflowEllipsis, system, !shape && length !== 1 && css(_templateObject4(), overflowEllipsis), (shape || length === 1) && css(_templateObject5(), shapeStyles(size, width, height, shape)), hasAction && css(_templateObject6()), | ||
/* sc-selector */ | ||
StyledIcon, th.transition('medium'), th('colors.danger.500')); | ||
StyledIcon, th.transition('medium')); | ||
}); | ||
@@ -93,3 +113,3 @@ var ActionIcon = | ||
var size = _ref2.size; | ||
return css(_templateObject5(), th("tags.sizes." + size), centerContent); | ||
return css(_templateObject7(), th("tags.sizes." + size), centerContent); | ||
}); | ||
@@ -96,0 +116,0 @@ |
{ | ||
"name": "@welcome-ui/tag", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Customizable design system with react • styled-components • styled-system and reakit.", | ||
@@ -48,4 +48,4 @@ "main": "dist/tag.cjs.js", | ||
}, | ||
"gitHead": "e3621a68b3786dfd6ad5b87c7a6db145ae27752c", | ||
"gitHead": "9cdacd71c248b3c1cc79cc5302e0079b4fd90411", | ||
"sideEffects": false | ||
} |
13452
246