@trafilea/afrodita-components 5.0.0-beta.40 → 5.0.0-beta.41

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.
@@ -11827,8 +11827,8 @@ var getStylesBySize = function (size) {
11827
11827
  switch (size) {
11828
11828
  case ComponentSize.Medium:
11829
11829
  return {
11830
- width: '10.75rem',
11831
- height: '14.375rem',
11830
+ width: '12.1rem',
11831
+ height: '15.8rem',
11832
11832
  };
11833
11833
  case ComponentSize.Small:
11834
11834
  return {
@@ -11843,8 +11843,8 @@ var getStylesBySize = function (size) {
11843
11843
  /* istanbul ignore next */
11844
11844
  default:
11845
11845
  return {
11846
- width: '10.75rem',
11847
- height: '14.375rem',
11846
+ width: '12.1rem',
11847
+ height: '15.8rem',
11848
11848
  };
11849
11849
  }
11850
11850
  };
@@ -12117,8 +12117,8 @@ var Input = newStyled.input(function (props) { return ({
12117
12117
  }); });
12118
12118
 
12119
12119
  var Button$1 = newStyled.button(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n position: absolute;\n right: 1rem;\n background: white;\n border: none;\n align-self: center;\n padding: 0;\n ", ",\n"], ["\n position: absolute;\n right: 1rem;\n background: white;\n border: none;\n align-self: center;\n padding: 0;\n ", ",\n"])), mediaQueries({
12120
- right: ['1rem', '-3.75rem'],
12121
- top: ['0.75rem', '0'],
12120
+ right: ['1rem', '7.75rem'],
12121
+ top: ['0.75rem', '0.75rem'],
12122
12122
  }));
12123
12123
  var ClearButton = function (_a) {
12124
12124
  var onClick = _a.onClick;
@@ -12193,7 +12193,7 @@ var SearchControl = function (_a) {
12193
12193
  borderTopLeftRadius: 0,
12194
12194
  borderBottomLeftRadius: 0,
12195
12195
  padding: '0.875rem 1.5rem',
12196
- }, text: "SEARCH", onClick: onSearch }, void 0), jsx(ClearButton, { onClick: onClose }, void 0)] }, void 0));
12196
+ }, text: "SEARCH", onClick: onSearch }, void 0), open && jsx(ClearButton, { onClick: onClose }, void 0)] }, void 0));
12197
12197
  }
12198
12198
  };
12199
12199
 
package/build/index.js CHANGED
@@ -11853,8 +11853,8 @@ var getStylesBySize = function (size) {
11853
11853
  switch (size) {
11854
11854
  case exports.ComponentSize.Medium:
11855
11855
  return {
11856
- width: '10.75rem',
11857
- height: '14.375rem',
11856
+ width: '12.1rem',
11857
+ height: '15.8rem',
11858
11858
  };
11859
11859
  case exports.ComponentSize.Small:
11860
11860
  return {
@@ -11869,8 +11869,8 @@ var getStylesBySize = function (size) {
11869
11869
  /* istanbul ignore next */
11870
11870
  default:
11871
11871
  return {
11872
- width: '10.75rem',
11873
- height: '14.375rem',
11872
+ width: '12.1rem',
11873
+ height: '15.8rem',
11874
11874
  };
11875
11875
  }
11876
11876
  };
@@ -12143,8 +12143,8 @@ var Input = newStyled.input(function (props) { return ({
12143
12143
  }); });
12144
12144
 
12145
12145
  var Button$1 = newStyled.button(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n position: absolute;\n right: 1rem;\n background: white;\n border: none;\n align-self: center;\n padding: 0;\n ", ",\n"], ["\n position: absolute;\n right: 1rem;\n background: white;\n border: none;\n align-self: center;\n padding: 0;\n ", ",\n"])), mediaQueries({
12146
- right: ['1rem', '-3.75rem'],
12147
- top: ['0.75rem', '0'],
12146
+ right: ['1rem', '7.75rem'],
12147
+ top: ['0.75rem', '0.75rem'],
12148
12148
  }));
12149
12149
  var ClearButton = function (_a) {
12150
12150
  var onClick = _a.onClick;
@@ -12219,7 +12219,7 @@ var SearchControl = function (_a) {
12219
12219
  borderTopLeftRadius: 0,
12220
12220
  borderBottomLeftRadius: 0,
12221
12221
  padding: '0.875rem 1.5rem',
12222
- }, text: "SEARCH", onClick: onSearch }, void 0), jsx(ClearButton, { onClick: onClose }, void 0)] }, void 0));
12222
+ }, text: "SEARCH", onClick: onSearch }, void 0), open && jsx(ClearButton, { onClick: onClose }, void 0)] }, void 0));
12223
12223
  }
12224
12224
  };
12225
12225
 
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": "5.0.0-beta.40",
6
+ "version": "5.0.0-beta.41",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",