@trafilea/afrodita-components 6.0.0 → 6.0.1

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.
@@ -3096,7 +3096,7 @@ var AssetsProvider = function (_a) {
3096
3096
  };
3097
3097
  var useThemeAssets = function () { return useContext(AssetsContext); };
3098
3098
 
3099
- var StyledSvgWrapper = newStyled.svg(templateObject_1$1M || (templateObject_1$1M = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"])), function (_a) {
3099
+ var StyledSvgWrapper = newStyled.svg(templateObject_1$1M || (templateObject_1$1M = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"])), function (_a) {
3100
3100
  var width = _a.width;
3101
3101
  return width;
3102
3102
  }, function (_a) {
@@ -3112,7 +3112,7 @@ var StyledSvgWrapper = newStyled.svg(templateObject_1$1M || (templateObject_1$1M
3112
3112
  var opacity = _a.opacity;
3113
3113
  return opacity && "opacity: ".concat(opacity, ";");
3114
3114
  });
3115
- var StyledImageWrapper = newStyled.img(templateObject_2$19 || (templateObject_2$19 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"])), function (_a) {
3115
+ var StyledImageWrapper = newStyled.img(templateObject_2$19 || (templateObject_2$19 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"])), function (_a) {
3116
3116
  var width = _a.width;
3117
3117
  return width;
3118
3118
  }, function (_a) {
@@ -6814,7 +6814,7 @@ var Tags = function (_a) {
6814
6814
  var _b = _a.color, color = _b === void 0 ? '#fff6ef' : _b, items = _a.items, onCloseClick = _a.onCloseClick;
6815
6815
  var theme = useTheme();
6816
6816
  return (jsx$1(UL, __assign$1({ "data-testid": "tags-ul" }, { children: items.map(function (item, index) {
6817
- return (jsxs$1(LI, __assign$1({ color: theme.colors.shades['700'].color, backgroundColor: color }, { children: [item, jsx$1(CloseIconContainer, __assign$1({ "data-testid": "li-close-icon", onClick: function () { return onCloseClick(index); } }, { children: jsx$1(Icon.Actions.Close, { fill: theme.colors.shades['700'].color }, void 0) }), void 0)] }), index));
6817
+ return (jsxs$1(LI, __assign$1({ color: theme.colors.shades['700'].color, backgroundColor: color }, { children: [item, jsx$1(CloseIconContainer, __assign$1({ "data-testid": "li-close-icon", onClick: function () { return onCloseClick(index); } }, { children: jsx$1(Icon.Actions.Close, { fill: theme.colors.shades['700'].color, width: "100%", height: "100%" }, void 0) }), void 0)] }), index));
6818
6818
  }) }), void 0));
6819
6819
  };
6820
6820
  var templateObject_1$X, templateObject_2$D, templateObject_3$v;
package/build/index.js CHANGED
@@ -3122,7 +3122,7 @@ var AssetsProvider = function (_a) {
3122
3122
  };
3123
3123
  var useThemeAssets = function () { return React$2.useContext(AssetsContext); };
3124
3124
 
3125
- var StyledSvgWrapper = newStyled.svg(templateObject_1$1M || (templateObject_1$1M = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"])), function (_a) {
3125
+ var StyledSvgWrapper = newStyled.svg(templateObject_1$1M || (templateObject_1$1M = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n color: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"])), function (_a) {
3126
3126
  var width = _a.width;
3127
3127
  return width;
3128
3128
  }, function (_a) {
@@ -3138,7 +3138,7 @@ var StyledSvgWrapper = newStyled.svg(templateObject_1$1M || (templateObject_1$1M
3138
3138
  var opacity = _a.opacity;
3139
3139
  return opacity && "opacity: ".concat(opacity, ";");
3140
3140
  });
3141
- var StyledImageWrapper = newStyled.img(templateObject_2$19 || (templateObject_2$19 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n ", "\n ", "\n"])), function (_a) {
3141
+ var StyledImageWrapper = newStyled.img(templateObject_2$19 || (templateObject_2$19 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"], ["\n width: ", ";\n height: ", ";\n display: inline-block;\n vertical-align: middle;\n flex: none;\n ", "\n ", "\n"])), function (_a) {
3142
3142
  var width = _a.width;
3143
3143
  return width;
3144
3144
  }, function (_a) {
@@ -6840,7 +6840,7 @@ var Tags = function (_a) {
6840
6840
  var _b = _a.color, color = _b === void 0 ? '#fff6ef' : _b, items = _a.items, onCloseClick = _a.onCloseClick;
6841
6841
  var theme = useTheme();
6842
6842
  return (jsxRuntime.jsx(UL, __assign$1({ "data-testid": "tags-ul" }, { children: items.map(function (item, index) {
6843
- return (jsxRuntime.jsxs(LI, __assign$1({ color: theme.colors.shades['700'].color, backgroundColor: color }, { children: [item, jsxRuntime.jsx(CloseIconContainer, __assign$1({ "data-testid": "li-close-icon", onClick: function () { return onCloseClick(index); } }, { children: jsxRuntime.jsx(Icon.Actions.Close, { fill: theme.colors.shades['700'].color }, void 0) }), void 0)] }), index));
6843
+ return (jsxRuntime.jsxs(LI, __assign$1({ color: theme.colors.shades['700'].color, backgroundColor: color }, { children: [item, jsxRuntime.jsx(CloseIconContainer, __assign$1({ "data-testid": "li-close-icon", onClick: function () { return onCloseClick(index); } }, { children: jsxRuntime.jsx(Icon.Actions.Close, { fill: theme.colors.shades['700'].color, width: "100%", height: "100%" }, void 0) }), void 0)] }), index));
6844
6844
  }) }), void 0));
6845
6845
  };
6846
6846
  var templateObject_1$X, templateObject_2$D, templateObject_3$v;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "6.0.0",
6
+ "version": "6.0.1",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",