@trafilea/afrodita-components 6.49.4 → 6.49.6

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/build/index.js CHANGED
@@ -7856,7 +7856,7 @@ var sizeMapper = (_a = {},
7856
7856
  _a[exports.ComponentSize.XSmall] = 'small',
7857
7857
  _a[exports.ComponentSize.XXSmall] = 'small',
7858
7858
  _a);
7859
- var StyledBaseButton = newStyled(BaseButton)(templateObject_1$1s || (templateObject_1$1s = __makeTemplateObject(["\n width: ", ";\n font-size: ", ";\n padding: ", ";\n font-weight: ", ";\n border-radius: ", ";\n cursor: pointer;\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n svg {\n color: inherit;\n }\n"], ["\n width: ", ";\n font-size: ", ";\n padding: ", ";\n font-weight: ", ";\n border-radius: ", ";\n cursor: pointer;\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n svg {\n color: inherit;\n }\n"])), function (_a) {
7859
+ var StyledBaseButton = newStyled(BaseButton)(templateObject_1$1s || (templateObject_1$1s = __makeTemplateObject(["\n width: ", ";\n font-size: ", ";\n padding: ", ";\n font-weight: ", ";\n border-radius: ", ";\n cursor: pointer;\n ", "\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n svg {\n color: inherit;\n }\n"], ["\n width: ", ";\n font-size: ", ";\n padding: ", ";\n font-weight: ", ";\n border-radius: ", ";\n cursor: pointer;\n ", "\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n svg {\n color: inherit;\n }\n"])), function (_a) {
7860
7860
  var wide = _a.wide;
7861
7861
  return (wide ? '100%' : 'fit-content');
7862
7862
  }, function (_a) {
@@ -7871,6 +7871,9 @@ var StyledBaseButton = newStyled(BaseButton)(templateObject_1$1s || (templateObj
7871
7871
  }, function (_a) {
7872
7872
  var theme = _a.theme;
7873
7873
  return theme.component.button.borderRadius;
7874
+ }, function (_a) {
7875
+ var alignItems = _a.alignItems;
7876
+ return alignItems && "align-items: ".concat(alignItems, ";");
7874
7877
  }, function (_a) {
7875
7878
  var theme = _a.theme;
7876
7879
  return theme.colors.background.disabled;
@@ -7886,7 +7889,7 @@ var templateObject_1$1s, templateObject_2$18;
7886
7889
 
7887
7890
  var BaseCTA = function (_a) {
7888
7891
  var _b, _c, _d;
7889
- var text = _a.text, _e = _a.wide, wide = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? exports.ComponentSize.Medium : _f, iconName = _a.iconName, icon = _a.icon, props = __rest(_a, ["text", "wide", "size", "iconName", "icon"]);
7892
+ var text = _a.text, _e = _a.wide, wide = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? exports.ComponentSize.Medium : _f, iconName = _a.iconName, icon = _a.icon, alignItems = _a.alignItems, props = __rest(_a, ["text", "wide", "size", "iconName", "icon", "alignItems"]);
7890
7893
  var theme = useTheme();
7891
7894
  var currentIconName, iconPos = 'right', iconMargin = '10px', iconSize = '24px';
7892
7895
  if (icon) {
@@ -7907,7 +7910,7 @@ var BaseCTA = function (_a) {
7907
7910
  width: iconSize,
7908
7911
  height: iconSize,
7909
7912
  };
7910
- return (jsxRuntime.jsxs(StyledBaseButton, __assign$1({}, props, { wide: wide, size: size }, { children: [currentIconName && iconPos === 'left' && (jsxRuntime.jsx(StyledIcon, __assign$1({}, commonIconProps, { marginRight: iconMargin }), void 0)), text, currentIconName && iconPos === 'right' && (jsxRuntime.jsx(StyledIcon, __assign$1({}, commonIconProps, { marginLeft: iconMargin }), void 0))] }), void 0));
7913
+ return (jsxRuntime.jsxs(StyledBaseButton, __assign$1({}, props, { wide: wide, size: size, alignItems: alignItems }, { children: [currentIconName && iconPos === 'left' && (jsxRuntime.jsx(StyledIcon, __assign$1({}, commonIconProps, { marginRight: iconMargin }), void 0)), text, currentIconName && iconPos === 'right' && (jsxRuntime.jsx(StyledIcon, __assign$1({}, commonIconProps, { marginLeft: iconMargin }), void 0))] }), void 0));
7911
7914
  };
7912
7915
 
7913
7916
  var ButtonPrimary = function (_a) {
@@ -22208,7 +22211,7 @@ var getCellColor = function (index, cell, isLight) {
22208
22211
  }
22209
22212
  switch (cell) {
22210
22213
  case 'XXS':
22211
- return '#4e4141';
22214
+ return '#adcde8';
22212
22215
  case 'XS':
22213
22216
  return '#f5bab0';
22214
22217
  case 'S':