@trafilea/afrodita-components 6.46.1 → 6.46.3
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.esm.js +5 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6824,7 +6824,7 @@ var Rating = function (_a) {
|
|
|
6824
6824
|
|
|
6825
6825
|
var ImageWrapper$4 = newStyled.div(templateObject_1$1G || (templateObject_1$1G = __makeTemplateObject(["\n position: relative;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n border-radius: 8px;\n width: ", ";\n"], ["\n position: relative;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n border-radius: 8px;\n width: ", ";\n"])), function (_a) {
|
|
6826
6826
|
var width = _a.width;
|
|
6827
|
-
return width;
|
|
6827
|
+
return width !== null && width !== void 0 ? width : '30%';
|
|
6828
6828
|
});
|
|
6829
6829
|
var RatingWrapper = newStyled.div(templateObject_2$1i || (templateObject_2$1i = __makeTemplateObject(["\n position: absolute;\n bottom: 5px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: white;\n border-radius: 8px;\n padding: 4px 8px;\n width: 95%;\n"], ["\n position: absolute;\n bottom: 5px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: white;\n border-radius: 8px;\n padding: 4px 8px;\n width: 95%;\n"])));
|
|
6830
6830
|
var RatingText = newStyled.span(templateObject_3$11 || (templateObject_3$11 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 600;\n margin-bottom: -3%;\n color: #292929;\n"], ["\n font-size: ", ";\n font-weight: 600;\n margin-bottom: -3%;\n color: #292929;\n"])), function (_a) {
|
|
@@ -22044,8 +22044,12 @@ var getCellColor = function (index, cell, isLight) {
|
|
|
22044
22044
|
return '#CB89AF';
|
|
22045
22045
|
case 'XL':
|
|
22046
22046
|
return '#8bbeea';
|
|
22047
|
+
case 'XL+':
|
|
22048
|
+
return '#8bbeea';
|
|
22047
22049
|
case '2XL':
|
|
22048
22050
|
return '#b1d7c3';
|
|
22051
|
+
case '2XL+':
|
|
22052
|
+
return '#b1d7c3';
|
|
22049
22053
|
case '3XL':
|
|
22050
22054
|
return '#e7a4f7';
|
|
22051
22055
|
case '4XL':
|