@trafilea/afrodita-components 6.34.0 → 6.34.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.
@@ -20605,7 +20605,7 @@ function AutoshipOfferCard(_a) {
20605
20605
  handleCheckBoxChange(!check);
20606
20606
  }
20607
20607
  };
20608
- return (jsxs$1(AutoShipCardContainerWrapper, { children: [jsxs$1(AutoShipHeaderBarWrapper, { children: [jsx$1("div", { children: jsx$1(CheckboxInput, { type: "checkbox", onChange: handleCheckBox, checked: check, "data-testid": "autoshipcheckbox" }, void 0) }, void 0), jsx$1("div", { children: copy }, void 0)] }, void 0), jsxs$1(AutoShipBodyWrapper, { children: [jsxs$1(AutoShipBodyTitle, __assign$1({ onClick: handleShowMore }, { children: [showMoreBenefits ? (jsx$1("span", { children: showMore.openedCopy }, void 0)) : (jsx$1("span", { children: showMore.closedCopy }, void 0)), showMoreBenefits ? (jsx$1(Icon$1, { name: "arrows/chevron_up" }, void 0)) : (jsx$1(Icon$1, { name: "arrows/chevron_down" }, void 0))] }), void 0), showMoreBenefits && (jsx$1(AutoShipBodyListWrapper, { children: copyList.map(function (item) { return (jsxs$1(AutoShipBodyListItem, { children: [jsx$1(Icon$1, { name: item.icon, fill: "#D4605B", width: "19px", height: "19px" }, void 0), item.copy] }, item.icon)); }) }, void 0))] }, void 0)] }, void 0));
20608
+ return (jsxs$1(AutoShipCardContainerWrapper, { children: [jsxs$1(AutoShipHeaderBarWrapper, { children: [jsx$1("div", { children: jsx$1(CheckboxInput, { type: "checkbox", onChange: handleCheckBox, checked: check, "data-testid": "autoshipcheckbox" }, void 0) }, void 0), jsx$1("div", { children: copy }, void 0)] }, void 0), !check && (jsxs$1(AutoShipBodyWrapper, { children: [jsxs$1(AutoShipBodyTitle, __assign$1({ onClick: handleShowMore }, { children: [showMoreBenefits ? (jsx$1("span", { children: showMore.openedCopy }, void 0)) : (jsx$1("span", { children: showMore.closedCopy }, void 0)), showMoreBenefits ? (jsx$1(Icon$1, { name: "arrows/chevron_up" }, void 0)) : (jsx$1(Icon$1, { name: "arrows/chevron_down" }, void 0))] }), void 0), showMoreBenefits && (jsx$1(AutoShipBodyListWrapper, { children: copyList.map(function (item) { return (jsxs$1(AutoShipBodyListItem, { children: [jsx$1(Icon$1, { name: item.icon, fill: "#D4605B", width: "19px", height: "19px" }, void 0), item.copy] }, item.icon)); }) }, void 0))] }, void 0))] }, void 0));
20609
20609
  }
20610
20610
 
20611
20611
  var ContainerWrapper$1 = newStyled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n max-height: 180px;\n width: auto;\n max-width: 450px;\n gap: 5px;\n @media (max-width: 480px) {\n gap: 0px;\n font-size: 12px !important;\n }\n"], ["\n display: flex;\n flex-direction: row;\n max-height: 180px;\n width: auto;\n max-width: 450px;\n gap: 5px;\n @media (max-width: 480px) {\n gap: 0px;\n font-size: 12px !important;\n }\n"])));
package/build/index.js CHANGED
@@ -20631,7 +20631,7 @@ function AutoshipOfferCard(_a) {
20631
20631
  handleCheckBoxChange(!check);
20632
20632
  }
20633
20633
  };
20634
- return (jsxRuntime.jsxs(AutoShipCardContainerWrapper, { children: [jsxRuntime.jsxs(AutoShipHeaderBarWrapper, { children: [jsxRuntime.jsx("div", { children: jsxRuntime.jsx(CheckboxInput, { type: "checkbox", onChange: handleCheckBox, checked: check, "data-testid": "autoshipcheckbox" }, void 0) }, void 0), jsxRuntime.jsx("div", { children: copy }, void 0)] }, void 0), jsxRuntime.jsxs(AutoShipBodyWrapper, { children: [jsxRuntime.jsxs(AutoShipBodyTitle, __assign$1({ onClick: handleShowMore }, { children: [showMoreBenefits ? (jsxRuntime.jsx("span", { children: showMore.openedCopy }, void 0)) : (jsxRuntime.jsx("span", { children: showMore.closedCopy }, void 0)), showMoreBenefits ? (jsxRuntime.jsx(Icon$1, { name: "arrows/chevron_up" }, void 0)) : (jsxRuntime.jsx(Icon$1, { name: "arrows/chevron_down" }, void 0))] }), void 0), showMoreBenefits && (jsxRuntime.jsx(AutoShipBodyListWrapper, { children: copyList.map(function (item) { return (jsxRuntime.jsxs(AutoShipBodyListItem, { children: [jsxRuntime.jsx(Icon$1, { name: item.icon, fill: "#D4605B", width: "19px", height: "19px" }, void 0), item.copy] }, item.icon)); }) }, void 0))] }, void 0)] }, void 0));
20634
+ return (jsxRuntime.jsxs(AutoShipCardContainerWrapper, { children: [jsxRuntime.jsxs(AutoShipHeaderBarWrapper, { children: [jsxRuntime.jsx("div", { children: jsxRuntime.jsx(CheckboxInput, { type: "checkbox", onChange: handleCheckBox, checked: check, "data-testid": "autoshipcheckbox" }, void 0) }, void 0), jsxRuntime.jsx("div", { children: copy }, void 0)] }, void 0), !check && (jsxRuntime.jsxs(AutoShipBodyWrapper, { children: [jsxRuntime.jsxs(AutoShipBodyTitle, __assign$1({ onClick: handleShowMore }, { children: [showMoreBenefits ? (jsxRuntime.jsx("span", { children: showMore.openedCopy }, void 0)) : (jsxRuntime.jsx("span", { children: showMore.closedCopy }, void 0)), showMoreBenefits ? (jsxRuntime.jsx(Icon$1, { name: "arrows/chevron_up" }, void 0)) : (jsxRuntime.jsx(Icon$1, { name: "arrows/chevron_down" }, void 0))] }), void 0), showMoreBenefits && (jsxRuntime.jsx(AutoShipBodyListWrapper, { children: copyList.map(function (item) { return (jsxRuntime.jsxs(AutoShipBodyListItem, { children: [jsxRuntime.jsx(Icon$1, { name: item.icon, fill: "#D4605B", width: "19px", height: "19px" }, void 0), item.copy] }, item.icon)); }) }, void 0))] }, void 0))] }, void 0));
20635
20635
  }
20636
20636
 
20637
20637
  var ContainerWrapper$1 = newStyled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n max-height: 180px;\n width: auto;\n max-width: 450px;\n gap: 5px;\n @media (max-width: 480px) {\n gap: 0px;\n font-size: 12px !important;\n }\n"], ["\n display: flex;\n flex-direction: row;\n max-height: 180px;\n width: auto;\n max-width: 450px;\n gap: 5px;\n @media (max-width: 480px) {\n gap: 0px;\n font-size: 12px !important;\n }\n"])));
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.34.0",
6
+ "version": "6.34.1",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",