@citygross/components 0.7.83 → 0.7.85

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.
Files changed (158) hide show
  1. package/build/@types/components/BackButton/BackButton.d.ts +1 -0
  2. package/build/@types/components/BackgroundImage/BackgroundImage.d.ts +1 -0
  3. package/build/@types/components/BoxArrow/BoxArrow.d.ts +1 -0
  4. package/build/@types/components/Button/Button.d.ts +2 -1
  5. package/build/@types/components/Button/IconButton.d.ts +1 -0
  6. package/build/@types/components/CartItemSummary/CartItemSummary.d.ts +1 -0
  7. package/build/@types/components/CartItemSummary/CartItemSummary.styles.d.ts +1 -0
  8. package/build/@types/components/CartSummary/CartSummary.d.ts +1 -0
  9. package/build/@types/components/Chips/Chip.d.ts +1 -0
  10. package/build/@types/components/Chips/Chip.styles.d.ts +1 -1
  11. package/build/@types/components/DotIndicator/DotIndicator.d.ts +1 -0
  12. package/build/@types/components/Dropdown/Dropdown.stories.d.ts +1 -0
  13. package/build/@types/components/FormElements/Input/Input.d.ts +1 -0
  14. package/build/@types/components/FormElements/TextArea/TextArea.d.ts +1 -0
  15. package/build/@types/components/Header/Header.stories.d.ts +1 -0
  16. package/build/@types/components/HeaderLink/HeaderLink.d.ts +1 -0
  17. package/build/@types/components/HeaderLink/HeaderLink.stories.d.ts +1 -0
  18. package/build/@types/components/HighlightBox/HighlightBox.d.ts +1 -0
  19. package/build/@types/components/IconText/IconText.stories.d.ts +1 -0
  20. package/build/@types/components/IconToolTip/IconToolTip.d.ts +1 -0
  21. package/build/@types/components/IconToolTip/IconToolTip.stories.d.ts +1 -0
  22. package/build/@types/components/ListItem/ListItem.d.ts +2 -1
  23. package/build/@types/components/ListItem/ListItem.styles.d.ts +5 -2
  24. package/build/@types/components/Logo/Logo.d.ts +1 -0
  25. package/build/@types/components/Logo/Logo.stories.d.ts +1 -0
  26. package/build/@types/components/MobileTable/MobileTable.stories.d.ts +1 -0
  27. package/build/@types/components/Nav/Nav.d.ts +3 -1
  28. package/build/@types/components/Nav/Nav.stories.d.ts +2 -1
  29. package/build/@types/components/NavMainLink/NavMainLink.stories.d.ts +1 -0
  30. package/build/@types/components/Pagination/Pagination.d.ts +1 -0
  31. package/build/@types/components/PriceTag/PriceTag.d.ts +7 -0
  32. package/build/@types/components/PriceTag/PriceTag.stories.d.ts +11 -0
  33. package/build/@types/components/PriceTag/PriceTag.styles.d.ts +7 -0
  34. package/build/@types/components/ProgressBar/ProgressBar.d.ts +1 -0
  35. package/build/@types/components/QuantitySelector/QuantitySelector.d.ts +1 -0
  36. package/build/@types/components/RadioBox/RadioBoxList.styles.d.ts +1 -1
  37. package/build/@types/components/RadioListItem/RadioListItem.d.ts +1 -0
  38. package/build/@types/components/RadioListItem/RadioListItem.styles.d.ts +1 -1
  39. package/build/@types/components/SearchBar/SearchBar.stories.d.ts +1 -0
  40. package/build/@types/components/SearchListItem/SearchListItem.d.ts +14 -0
  41. package/build/@types/components/SearchListItem/SearchListItem.stories.d.ts +11 -0
  42. package/build/@types/components/SearchListItem/SearchListItem.styles.d.ts +4 -0
  43. package/build/@types/components/Slider/Slider.stories.d.ts +1 -0
  44. package/build/@types/components/Spinner/Spinner.d.ts +1 -0
  45. package/build/@types/components/Spinner/Spinner.stories.d.ts +1 -0
  46. package/build/@types/components/StepperMobile/StepperMobile.d.ts +1 -0
  47. package/build/@types/components/Table/Table.stories.d.ts +1 -0
  48. package/build/@types/components/Timeline/Timeline.d.ts +1 -0
  49. package/build/@types/components/Timeline/Timeline.styles.d.ts +1 -0
  50. package/build/@types/components/Typography/bodyText.stories.d.ts +1 -1
  51. package/build/@types/components/Typography/h1.stories.d.ts +1 -0
  52. package/build/@types/components/Typography/h2.stories.d.ts +1 -0
  53. package/build/@types/components/Typography/h3.stories.d.ts +1 -0
  54. package/build/@types/containers/TwoColumnsContainer/TwoColumnsPageContainer.stories.d.ts +1 -0
  55. package/build/@types/utils/test-utils.d.ts +1 -1
  56. package/build/cjs/components/src/components/AlertBox/AlertBox.styles.js +1 -1
  57. package/build/cjs/components/src/components/BackgroundImage/BackgroundImage.styles.js +2 -2
  58. package/build/cjs/components/src/components/Badge/Badge.styles.js +2 -2
  59. package/build/cjs/components/src/components/Box/Box.styles.js +1 -1
  60. package/build/cjs/components/src/components/BoxArrow/BoxArrow.styles.js +2 -2
  61. package/build/cjs/components/src/components/Button/Button.js +1 -0
  62. package/build/cjs/components/src/components/Button/Button.js.map +1 -1
  63. package/build/cjs/components/src/components/Button/Button.styles.js +19 -17
  64. package/build/cjs/components/src/components/Button/Button.styles.js.map +1 -1
  65. package/build/cjs/components/src/components/CartItemSummary/CartItemSummary.js +2 -2
  66. package/build/cjs/components/src/components/CartSummary/CartSummary.styles.js +1 -1
  67. package/build/cjs/components/src/components/Chips/Chip.styles.js +1 -1
  68. package/build/cjs/components/src/components/Collapsable/Collapsable.styles.js +1 -1
  69. package/build/cjs/components/src/components/DateBox/DateBox.styles.js +1 -1
  70. package/build/cjs/components/src/components/DeliveryTimeBlock/DeliveryTimeBlock.js +1 -1
  71. package/build/cjs/components/src/components/DotIndicator/DotIndicator.styles.js +1 -1
  72. package/build/cjs/components/src/components/FormControl/FormControl.styles.js +1 -1
  73. package/build/cjs/components/src/components/FormElements/Input/Input.styles.js +2 -2
  74. package/build/cjs/components/src/components/FormElements/Radio/Radio.styles.js +1 -1
  75. package/build/cjs/components/src/components/FormElements/TextArea/TextArea.styles.js +1 -1
  76. package/build/cjs/components/src/components/FormGroup/FormGroup.styles.js +1 -1
  77. package/build/cjs/components/src/components/GridContainer/GridContainer.styles.js +1 -1
  78. package/build/cjs/components/src/components/HeaderLink/HeaderLink.styles.js +1 -1
  79. package/build/cjs/components/src/components/IconToolTip/IconToolTip.styles.js +2 -2
  80. package/build/cjs/components/src/components/InfoTextBlock/InfoTextBlock.styles.js +3 -3
  81. package/build/cjs/components/src/components/ListItem/ListItem.js +3 -3
  82. package/build/cjs/components/src/components/ListItem/ListItem.styles.js +5 -5
  83. package/build/cjs/components/src/components/ListItemWithRadio/ListItemWithRadio.js +1 -1
  84. package/build/cjs/components/src/components/Menu/Menu.styles.js +1 -1
  85. package/build/cjs/components/src/components/Modal/Modal.styles.js +1 -1
  86. package/build/cjs/components/src/components/Nav/Nav.js +8 -10
  87. package/build/cjs/components/src/components/Nav/Nav.js.map +1 -1
  88. package/build/cjs/components/src/components/Nav/Nav.styles.js +1 -1
  89. package/build/cjs/components/src/components/NavMainLink/NavMainLink.styled.js +1 -1
  90. package/build/cjs/components/src/components/RadioBox/RadioBoxItem.styles.js +2 -2
  91. package/build/cjs/components/src/components/RadioBox/RadioBoxList.styles.js +2 -2
  92. package/build/cjs/components/src/components/RadioGroup/RadioGroup.styles.js +1 -1
  93. package/build/cjs/components/src/components/RadioListItem/RadioListItem.styles.js +2 -2
  94. package/build/cjs/components/src/components/SearchBar/SearchBar.styles.js +2 -2
  95. package/build/cjs/components/src/components/Select/Select.styles.js +1 -1
  96. package/build/cjs/components/src/components/Stepper/Stepper.styles.js +3 -3
  97. package/build/cjs/components/src/components/StepperMobile/StepperMobile.styles.js +1 -1
  98. package/build/cjs/components/src/components/Table/Table.styles.js +6 -6
  99. package/build/cjs/components/src/components/Timeline/Timeline.js +4 -4
  100. package/build/cjs/components/src/components/Timeline/Timeline.styles.js +1 -1
  101. package/build/cjs/components/src/containers/PageContainer/PageContainer.styles.js +1 -1
  102. package/build/cjs/components/src/containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js +1 -1
  103. package/build/cjs/design-tokens/build/index.js +4 -0
  104. package/build/cjs/design-tokens/build/index.js.map +1 -1
  105. package/build/cjs/utils/build/index.js +713 -557
  106. package/build/cjs/utils/build/index.js.map +1 -1
  107. package/build/es/components/src/components/AlertBox/AlertBox.styles.js +1 -1
  108. package/build/es/components/src/components/BackgroundImage/BackgroundImage.styles.js +2 -2
  109. package/build/es/components/src/components/Badge/Badge.styles.js +2 -2
  110. package/build/es/components/src/components/Box/Box.styles.js +1 -1
  111. package/build/es/components/src/components/BoxArrow/BoxArrow.styles.js +2 -2
  112. package/build/es/components/src/components/Button/Button.js +1 -0
  113. package/build/es/components/src/components/Button/Button.js.map +1 -1
  114. package/build/es/components/src/components/Button/Button.styles.js +19 -17
  115. package/build/es/components/src/components/Button/Button.styles.js.map +1 -1
  116. package/build/es/components/src/components/CartItemSummary/CartItemSummary.js +2 -2
  117. package/build/es/components/src/components/CartSummary/CartSummary.styles.js +1 -1
  118. package/build/es/components/src/components/Chips/Chip.styles.js +1 -1
  119. package/build/es/components/src/components/Collapsable/Collapsable.styles.js +1 -1
  120. package/build/es/components/src/components/DateBox/DateBox.styles.js +1 -1
  121. package/build/es/components/src/components/DeliveryTimeBlock/DeliveryTimeBlock.js +1 -1
  122. package/build/es/components/src/components/DotIndicator/DotIndicator.styles.js +1 -1
  123. package/build/es/components/src/components/FormControl/FormControl.styles.js +1 -1
  124. package/build/es/components/src/components/FormElements/Input/Input.styles.js +2 -2
  125. package/build/es/components/src/components/FormElements/Radio/Radio.styles.js +1 -1
  126. package/build/es/components/src/components/FormElements/TextArea/TextArea.styles.js +1 -1
  127. package/build/es/components/src/components/FormGroup/FormGroup.styles.js +1 -1
  128. package/build/es/components/src/components/GridContainer/GridContainer.styles.js +1 -1
  129. package/build/es/components/src/components/HeaderLink/HeaderLink.styles.js +1 -1
  130. package/build/es/components/src/components/IconToolTip/IconToolTip.styles.js +2 -2
  131. package/build/es/components/src/components/InfoTextBlock/InfoTextBlock.styles.js +3 -3
  132. package/build/es/components/src/components/ListItem/ListItem.js +3 -3
  133. package/build/es/components/src/components/ListItem/ListItem.styles.js +5 -5
  134. package/build/es/components/src/components/ListItemWithRadio/ListItemWithRadio.js +1 -1
  135. package/build/es/components/src/components/Menu/Menu.styles.js +1 -1
  136. package/build/es/components/src/components/Modal/Modal.styles.js +1 -1
  137. package/build/es/components/src/components/Nav/Nav.js +8 -10
  138. package/build/es/components/src/components/Nav/Nav.js.map +1 -1
  139. package/build/es/components/src/components/Nav/Nav.styles.js +1 -1
  140. package/build/es/components/src/components/NavMainLink/NavMainLink.styled.js +1 -1
  141. package/build/es/components/src/components/RadioBox/RadioBoxItem.styles.js +2 -2
  142. package/build/es/components/src/components/RadioBox/RadioBoxList.styles.js +2 -2
  143. package/build/es/components/src/components/RadioGroup/RadioGroup.styles.js +1 -1
  144. package/build/es/components/src/components/RadioListItem/RadioListItem.styles.js +2 -2
  145. package/build/es/components/src/components/SearchBar/SearchBar.styles.js +2 -2
  146. package/build/es/components/src/components/Select/Select.styles.js +1 -1
  147. package/build/es/components/src/components/Stepper/Stepper.styles.js +3 -3
  148. package/build/es/components/src/components/StepperMobile/StepperMobile.styles.js +1 -1
  149. package/build/es/components/src/components/Table/Table.styles.js +6 -6
  150. package/build/es/components/src/components/Timeline/Timeline.js +4 -4
  151. package/build/es/components/src/components/Timeline/Timeline.styles.js +1 -1
  152. package/build/es/components/src/containers/PageContainer/PageContainer.styles.js +1 -1
  153. package/build/es/components/src/containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js +1 -1
  154. package/build/es/design-tokens/build/index.js +4 -0
  155. package/build/es/design-tokens/build/index.js.map +1 -1
  156. package/build/es/utils/build/index.js +713 -557
  157. package/build/es/utils/build/index.js.map +1 -1
  158. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var AlertBox = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"], ["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"])), function (props) { var _a; return props.background || ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueLight); }, function (props) { var _a; return ((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.infoBlockBorderWidth) + "px solid " + props.borderColor; }, function (props) { var _a, _b; return ((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall) + "px 0 0 " + ((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.extraSmall) + "px"; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; });
4
+ var AlertBox = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"], ["\n background: ", ";\n border-left: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n padding: ", "px;\n display: flex;\n align-items: center;\n gap: ", "px;\n"])), function (props) { var _a; return props.background || ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueLight); }, function (props) { var _a; return "".concat((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.infoBlockBorderWidth, "px solid ").concat(props.borderColor); }, function (props) { var _a, _b; return "".concat((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall, "px 0 0 ").concat((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.extraSmall, "px"); }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; });
5
5
  var IconContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n min-width: ", "px;\n display: flex;\n align-items: center;\n"], ["\n min-width: ", "px;\n display: flex;\n align-items: center;\n"])), function (props) { var _a; return props.minWidth || ((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md); });
6
6
  var templateObject_1, templateObject_2;
7
7
 
@@ -1,10 +1,10 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var BackgroundContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"], ["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"])), function (props) { return (props.height ? props.height + "px" : 'auto'); }, function (props) { return (props.height ? props.width + "px" : 'auto'); }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) {
4
+ var BackgroundContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"], ["\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: ", "px;\n overflow: hidden;\n box-shadow: ", ";\n display: flex;\n align-items: center;\n ", "\n"])), function (props) { return (props.height ? "".concat(props.height, "px") : 'auto'); }, function (props) { return (props.height ? "".concat(props.width, "px") : 'auto'); }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.extraSmall; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.layoutShadow; }, function (props) {
5
5
  var _a;
6
6
  return props.onClick &&
7
- " \n cursor: pointer;\n &:hover {\n box-shadow: " + ((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.buttonHover) + ";\n }";
7
+ " \n cursor: pointer;\n &:hover {\n box-shadow: ".concat((_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.buttonHover, ";\n }");
8
8
  });
9
9
  var BackgroundImgContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n position: absolute;\n"], ["\n width: 100%;\n height: 100%;\n position: absolute;\n"])));
10
10
  var BackgroundGradient = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: ", ";\n z-index: 1;\n position: absolute;\n top: 0;\n"], ["\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: ", ";\n z-index: 1;\n position: absolute;\n top: 0;\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.black; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.BackgroundOverlayOpacity; });
@@ -4,9 +4,9 @@ import styled from 'styled-components';
4
4
  var BaseBadge = styled.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n border: ", ";\n width: ", ";\n min-width: ", ";\n height: ", ";\n background-color: ", ";\n color: ", ";\n font-size: ", "px;\n padding-top: 2px;\n"], ["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n border: ", ";\n width: ", ";\n min-width: ", ";\n height: ", ";\n background-color: ", ";\n color: ", ";\n font-size: ", "px;\n padding-top: 2px;\n"])), function (props) {
5
5
  var _a, _b, _c, _d;
6
6
  return props.borderColor && props.borderColor !== 'none'
7
- ? "1px solid " + props.borderColor
7
+ ? "1px solid ".concat(props.borderColor)
8
8
  : props.background === ((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.white)
9
- ? "1px solid " + ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.light)
9
+ ? "1px solid ".concat((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.light)
10
10
  : 'none';
11
11
  }, function (props) { return props.width; }, function (props) { return props.width; }, function (props) { return props.height; }, function (props) { return props.background; }, function (props) { return props.color; }, function (props) { var _a, _b, _c; return (_c = (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.typography) === null || _b === void 0 ? void 0 : _b.size) === null || _c === void 0 ? void 0 : _c.s2; });
12
12
  var templateObject_1;
@@ -1,7 +1,7 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var BoxContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"], ["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"])), function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.md; }, function (props) { return props.background; }, function (props) { return (props.rounded ? '5px' : '0'); }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.breakpoints) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { var _a, _b; return props.padding ? props.padding : (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { return props.padding && "padding: " + props.padding + "px"; });
4
+ var BoxContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"], ["\n padding: ", "px;\n background: ", ";\n border-radius: ", ";\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n\n ", ";\n"])), function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.md; }, function (props) { return props.background; }, function (props) { return (props.rounded ? '5px' : '0'); }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.breakpoints) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { var _a, _b; return props.padding ? props.padding : (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.lg; }, function (props) { return props.padding && "padding: ".concat(props.padding, "px"); });
5
5
  var templateObject_1;
6
6
 
7
7
  export { BoxContainer };
@@ -5,8 +5,8 @@ var BoxArrowContainer = styled.div(templateObject_1 || (templateObject_1 = __mak
5
5
  return props.placement === 'right' ? 'flex-end' : 'flex-start';
6
6
  }, function (props) {
7
7
  return props.placement && props.placement === 'right'
8
- ? "margin-right: " + props.margin + "px"
9
- : "margin-left: " + props.margin + "px";
8
+ ? "margin-right: ".concat(props.margin, "px")
9
+ : "margin-left: ".concat(props.margin, "px");
10
10
  });
11
11
  var templateObject_1;
12
12
 
@@ -15,6 +15,7 @@ var ButtonColor;
15
15
  ButtonColor[ButtonColor["white"] = 2] = "white";
16
16
  ButtonColor[ButtonColor["darkest"] = 3] = "darkest";
17
17
  ButtonColor[ButtonColor["lightest"] = 4] = "lightest";
18
+ ButtonColor[ButtonColor["buttonGray"] = 5] = "buttonGray";
18
19
  })(ButtonColor || (ButtonColor = {}));
19
20
  function Button(_a) {
20
21
  var _b;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -65,36 +65,38 @@ var BaseButton = styled.button(templateObject_1 || (templateObject_1 = __makeTem
65
65
  var BasePrimaryButton = styled(BaseButton)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n /* TypoGraphy */\n\n font-size: ", ";\n line-height: ", ";\n\n /* shadow */\n\n box-shadow: ", ";\n\n /* Padding */\n\n padding: ", ";\n\n @media (min-width: ", "px) {\n font-size: ", ";\n\n padding: ", ";\n\n box-shadow: ", ";\n }\n"], ["\n /* TypoGraphy */\n\n font-size: ", ";\n line-height: ", ";\n\n /* shadow */\n\n box-shadow: ", ";\n\n /* Padding */\n\n padding: ", ";\n\n @media (min-width: ", "px) {\n font-size: ", ";\n\n padding: ", ";\n\n box-shadow: ", ";\n }\n"])), function (props) { return ButtonFontSize(props.xsSize || props.size); }, function (props) {
66
66
  var _a, _b;
67
67
  return props.size === 'small'
68
- ? ((_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight.s2) + "px"
69
- : ((_b = props.theme.typography) === null || _b === void 0 ? void 0 : _b.lineHeight.m1) + "px";
68
+ ? "".concat((_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight.s2, "px")
69
+ : "".concat((_b = props.theme.typography) === null || _b === void 0 ? void 0 : _b.lineHeight.m1, "px");
70
70
  }, function (props) {
71
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
71
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
72
72
  return props.selected
73
- ? " inset 0px 0px 0px 1px " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium) + ",\n " + ((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
73
+ ? " inset 0px 0px 0px 1px ".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium, ",\n ").concat((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
74
74
  : props.xsSize ||
75
75
  (props.size &&
76
76
  (props.color === ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.primary) ||
77
- props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary)))
77
+ props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary) ||
78
+ props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.buttonGray)))
78
79
  ? ButtonShadow(props.xsSize || props.size)
79
- : props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.white) ||
80
- props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.lightest)
81
- ? "inset 0px 0px 0px 1px " + ((_l = props.theme.palette) === null || _l === void 0 ? void 0 : _l.medium)
80
+ : props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.white) ||
81
+ props.color === ((_m = (_l = props === null || props === void 0 ? void 0 : props.theme) === null || _l === void 0 ? void 0 : _l.palette) === null || _m === void 0 ? void 0 : _m.lightest)
82
+ ? "inset 0px 0px 0px 1px ".concat((_o = props.theme.palette) === null || _o === void 0 ? void 0 : _o.medium)
82
83
  : 'none';
83
84
  }, function (props) {
84
85
  return ButtonPadding(props.xsSize || props.size, props.icon, props.flexReverse);
85
86
  }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { return ButtonFontSize(props.size); }, function (props) {
86
87
  return ButtonPadding(props.size, props.icon, props.flexReverse);
87
88
  }, function (props) {
88
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
89
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
89
90
  return props.selected
90
- ? " inset 0px 0px 0px 1px " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium) + ",\n " + ((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
91
+ ? " inset 0px 0px 0px 1px ".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.blueMedium, ",\n ").concat((_b = props.theme.attributes) === null || _b === void 0 ? void 0 : _b.boxShadow.buttonHover)
91
92
  : props.size &&
92
93
  (props.color === ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.primary) ||
93
- props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary))
94
+ props.color === ((_f = (_e = props === null || props === void 0 ? void 0 : props.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.secondary) ||
95
+ props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.buttonGray))
94
96
  ? ButtonShadow(props.size)
95
- : props.color === ((_h = (_g = props === null || props === void 0 ? void 0 : props.theme) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0 ? void 0 : _h.white) ||
96
- props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.lightest)
97
- ? "inset 0px 0px 0px 1px " + ((_l = props.theme.palette) === null || _l === void 0 ? void 0 : _l.medium)
97
+ : props.color === ((_k = (_j = props === null || props === void 0 ? void 0 : props.theme) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0 ? void 0 : _k.white) ||
98
+ props.color === ((_m = (_l = props === null || props === void 0 ? void 0 : props.theme) === null || _l === void 0 ? void 0 : _l.palette) === null || _m === void 0 ? void 0 : _m.lightest)
99
+ ? "inset 0px 0px 0px 1px ".concat((_o = props.theme.palette) === null || _o === void 0 ? void 0 : _o.medium)
98
100
  : 'none';
99
101
  });
100
102
  var ButtonChildContainer = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n width: 100%;\n gap: ", "px;\n align-items: center;\n justify-content: center;\n flex-wrap: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n width: 100%;\n gap: ", "px;\n align-items: center;\n justify-content: center;\n flex-wrap: ", ";\n"])), function (props) { return (props.flexReverse ? 'row-reverse' : 'row'); }, function (props) {
@@ -111,18 +113,18 @@ var LoadingSpinner = styled(Spinner)(templateObject_6 || (templateObject_6 = __m
111
113
  var BaseIconButton = styled(BaseButton)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n padding: ", "px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin: 0;\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n ", ";\n\n &::after {\n border-radius: 50%;\n box-shadow: ", ";\n }\n &::before {\n border-radius: 50%;\n }\n"], ["\n padding: ", "px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin: 0;\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n ", ";\n\n &::after {\n border-radius: 50%;\n box-shadow: ", ";\n }\n &::before {\n border-radius: 50%;\n }\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { return props.height || 32; }, function (props) { return props.width || 32; }, function (props) { return props.width || 32; }, function (props) {
112
114
  var _a;
113
115
  return props.shadow && props.border
114
- ? "box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15), inset 0px 0px 0px 1px " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium)
116
+ ? "box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15), inset 0px 0px 0px 1px ".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium)
115
117
  : props.shadow
116
118
  ? 'box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15)'
117
119
  : props.border
118
- ? "box-shadow: inset 0px 0px 0px 1px " + props.border
120
+ ? "box-shadow: inset 0px 0px 0px 1px ".concat(props.border)
119
121
  : '';
120
122
  }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow) === null || _b === void 0 ? void 0 : _b.iconButtonHover; });
121
123
  var BasePaginationButton = styled(BaseButton)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n text-align: center;\n ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"], ["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n text-align: center;\n ", ";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])), function (props) { return props.height || 36; }, function (props) { return props.width || 36; }, function (props) { return props.width || 36; }, function (props) {
122
124
  var _a, _b, _c;
123
125
  return props.color !== ((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.white)
124
126
  ? 'box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.15)'
125
- : "box-shadow: inset 0px 0px 0px 1px " + ((_c = props.theme.palette) === null || _c === void 0 ? void 0 : _c.medium);
127
+ : "box-shadow: inset 0px 0px 0px 1px ".concat((_c = props.theme.palette) === null || _c === void 0 ? void 0 : _c.medium);
126
128
  });
127
129
  var ButtonBadge = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n position: absolute;\n top: ", "px;\n right: ", "px;\n padding: 0 7px;\n background: black;\n color: white;\n width: fit-content;\n border-radius: 100px;\n font-size: ", "px;\n line-height: ", "px;\n"], ["\n position: absolute;\n top: ", "px;\n right: ", "px;\n padding: 0 7px;\n background: black;\n color: white;\n width: fit-content;\n border-radius: 100px;\n font-size: ", "px;\n line-height: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.buttonBadgeTopPosition; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.buttonBadgeRightPosition; }, function (props) { var _a, _b; return (_b = (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight) === null || _b === void 0 ? void 0 : _b.xs; });
128
130
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Button.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,10 +11,10 @@ function CartItemSummary(_a) {
11
11
  (product.amount === 0 || product.amount) &&
12
12
  (product === null || product === void 0 ? void 0 : product.cancelledQuantity) !== 0 &&
13
13
  (product === null || product === void 0 ? void 0 : product.cancelledQuantity) && (React.createElement(CancelledWrapper, null,
14
- React.createElement(BodyText, { size: TextTypes.TextSize.SMALL, lineThrough: true }, (product === null || product === void 0 ? void 0 : product.cancelledQuantity) ? (product.cancelledQuantity + " st") : (React.createElement(Skeleton, { width: 100 }))),
14
+ React.createElement(BodyText, { size: TextTypes.TextSize.SMALL, lineThrough: true }, (product === null || product === void 0 ? void 0 : product.cancelledQuantity) ? ("".concat(product.cancelledQuantity, " st")) : (React.createElement(Skeleton, { width: 100 }))),
15
15
  React.createElement(AmountText, { lineThrough: true, fontWeight: withParenthesis ? 'regular' : 'semiBold' }, product ? (formatPrice(product.cancelledAmount, withParenthesis)) : (React.createElement(Skeleton, { width: 100 }))))),
16
16
  React.createElement(ItemInformationContainer, null,
17
- React.createElement(BodyText, { size: TextTypes.TextSize.SMALL }, (product === null || product === void 0 ? void 0 : product.quantity) || (product === null || product === void 0 ? void 0 : product.quantity) === 0 ? (product.quantity + " " + unit) : (React.createElement(Skeleton, { width: 100 }))),
17
+ React.createElement(BodyText, { size: TextTypes.TextSize.SMALL }, (product === null || product === void 0 ? void 0 : product.quantity) || (product === null || product === void 0 ? void 0 : product.quantity) === 0 ? ("".concat(product.quantity, " ").concat(unit)) : (React.createElement(Skeleton, { width: 100 }))),
18
18
  React.createElement(AmountText, { fontWeight: withParenthesis ? 'regular' : 'semiBold' }, product ? (formatPrice(product.amount, withParenthesis)) : (React.createElement(Skeleton, { width: 100 }))))));
19
19
  }
20
20
 
@@ -3,7 +3,7 @@ import styled from 'styled-components';
3
3
 
4
4
  var CartSummaryContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
5
5
  var CartPaymentContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: ", ";\n"], ["\n background: ", ";\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.yellowLighter; });
6
- var CartSummaryHeader = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: ", "px;\n ", ";\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"], ["\n padding: ", "px;\n ", ";\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md; }, function (props) { var _a; return props.title && "padding-top: " + ((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm) + "px"; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
6
+ var CartSummaryHeader = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: ", "px;\n ", ";\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"], ["\n padding: ", "px;\n ", ";\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md; }, function (props) { var _a; return props.title && "padding-top: ".concat((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm, "px"); }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
7
7
  var CartSummaryFooter = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n padding: ", "px;\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"], ["\n padding: ", "px;\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.yellowLight; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
8
8
  var CartLine = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n text-decoration: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n text-decoration: ", ";\n"])), function (props) { return props.cancelled && 'line-through'; });
9
9
  var AmountWrapper = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n gap: ", "px;\n"], ["\n display: flex;\n gap: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
@@ -9,7 +9,7 @@ var BaseChip = styled.div(templateObject_1 || (templateObject_1 = __makeTemplate
9
9
  }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) {
10
10
  var _a;
11
11
  return props.checked &&
12
- "box-shadow: 0 0 0 1px inset " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.alertGreen);
12
+ "box-shadow: 0 0 0 1px inset ".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.alertGreen);
13
13
  });
14
14
  var ChipCheckbox = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"], ["\n display: flex;\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.extraSmall; });
15
15
  var ChipLabel = styled(BodyText)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n pointer-events: none;\n"], ["\n pointer-events: none;\n"])));
@@ -1,7 +1,7 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var Collapsable = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) { return props.backgroundColor && "background: " + props.backgroundColor; });
4
+ var Collapsable = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) { return props.backgroundColor && "background: ".concat(props.backgroundColor); });
5
5
  var PreviewContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n border-bottom: 1px solid ", ";\n"], ["\n cursor: pointer;\n border-bottom: 1px solid ", ";\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.light; });
6
6
  var PreviewInner = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
7
7
  var CollapsedContainer = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.open ? 'block' : 'none'); });
@@ -2,7 +2,7 @@ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  var StyledDateBox = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: inline-block;\n background-color: ", ";\n"], ["\n display: inline-block;\n background-color: ", ";\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white; });
5
- var WeekBox = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n padding: ", ";\n text-align: center;\n"], ["\n background-color: ", ";\n color: ", ";\n padding: ", ";\n text-align: center;\n"])), function (props) { var _a; return props.labelBackground || ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.brandBlue); }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white; }, function (props) { var _a, _b; return ((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs) + "px " + ((_b = props.theme.constants) === null || _b === void 0 ? void 0 : _b.dateBoxHorizontalPadding) + "px"; });
5
+ var WeekBox = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n padding: ", ";\n text-align: center;\n"], ["\n background-color: ", ";\n color: ", ";\n padding: ", ";\n text-align: center;\n"])), function (props) { var _a; return props.labelBackground || ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.brandBlue); }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white; }, function (props) { var _a, _b; return "".concat((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs, "px ").concat((_b = props.theme.constants) === null || _b === void 0 ? void 0 : _b.dateBoxHorizontalPadding, "px"); });
6
6
  var WeekNumber = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: ", "px 0;\n text-align: center;\n"], ["\n padding: ", "px 0;\n text-align: center;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
7
7
  var DateHeader = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n text-align: center;\n"], ["\n text-align: center;\n"])));
8
8
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -22,7 +22,7 @@ function DeliveryTimeBlock(_a) {
22
22
  " ",
23
23
  month,
24
24
  ' ',
25
- deliveryFromTime && deliveryToTime && (React.createElement("span", { style: { whiteSpace: 'nowrap' } }, localTimeVar + " " + deliveryFromTime + " - " + deliveryToTime))),
25
+ deliveryFromTime && deliveryToTime && (React.createElement("span", { style: { whiteSpace: 'nowrap' } }, "".concat(localTimeVar, " ").concat(deliveryFromTime, " - ").concat(deliveryToTime)))),
26
26
  children));
27
27
  }
28
28
 
@@ -1,7 +1,7 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var Dot = styled.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n display: inline-block;\n border-radius: 50%;\n background: ", ";\n ", ";\n"], ["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n display: inline-block;\n border-radius: 50%;\n background: ", ";\n ", ";\n"])), function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { return props.color; }, function (props) { return props.shadow && "box-shadow: 0 0 0 2px " + props.shadow + " "; });
4
+ var Dot = styled.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n display: inline-block;\n border-radius: 50%;\n background: ", ";\n ", ";\n"], ["\n height: ", "px;\n width: ", "px;\n min-width: ", "px;\n display: inline-block;\n border-radius: 50%;\n background: ", ";\n ", ";\n"])), function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { return props.color; }, function (props) { return props.shadow && "box-shadow: 0 0 0 2px ".concat(props.shadow, " "); });
5
5
  var templateObject_1;
6
6
 
7
7
  export { Dot };
@@ -2,7 +2,7 @@ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  var FormControlWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex: 1;\n max-width: 100%;\n"], ["\n flex: 1;\n max-width: 100%;\n"])));
5
- var FormControlElementWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n padding-bottom: 8px;\n display: flex;\n\n @media (min-width: ", "px) {\n ", ";\n }\n"], ["\n position: relative;\n padding-bottom: 8px;\n display: flex;\n\n @media (min-width: ", "px) {\n ", ";\n }\n"])), function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { return props.screenWidth && "max-width: " + props.screenWidth; });
5
+ var FormControlElementWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n padding-bottom: 8px;\n display: flex;\n\n @media (min-width: ", "px) {\n ", ";\n }\n"], ["\n position: relative;\n padding-bottom: 8px;\n display: flex;\n\n @media (min-width: ", "px) {\n ", ";\n }\n"])), function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { return props.screenWidth && "max-width: ".concat(props.screenWidth); });
6
6
  var templateObject_1, templateObject_2;
7
7
 
8
8
  export { FormControlElementWrapper, FormControlWrapper };
@@ -11,8 +11,8 @@ var Input = styled.input(templateObject_1 || (templateObject_1 = __makeTemplateO
11
11
  }, function (props) {
12
12
  var _a, _b, _c, _d;
13
13
  return props.inputSize === 'small'
14
- ? ((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs) + "px " + ((_b = props.theme.spacings) === null || _b === void 0 ? void 0 : _b.xs) + "px"
15
- : ((_c = props.theme.spacings) === null || _c === void 0 ? void 0 : _c.xs) + "px " + ((_d = props.theme.spacings) === null || _d === void 0 ? void 0 : _d.sm) + "px";
14
+ ? "".concat((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs, "px ").concat((_b = props.theme.spacings) === null || _b === void 0 ? void 0 : _b.xs, "px")
15
+ : "".concat((_c = props.theme.spacings) === null || _c === void 0 ? void 0 : _c.xs, "px ").concat((_d = props.theme.spacings) === null || _d === void 0 ? void 0 : _d.sm, "px");
16
16
  }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.white; }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.darkest; }, function (props) { var _a; return (_a = props.flexGrow) !== null && _a !== void 0 ? _a : 1; }, function (props) { var _a, _b, _c; return props.fontSize ? props.fontSize : (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.typography) === null || _b === void 0 ? void 0 : _b.size) === null || _c === void 0 ? void 0 : _c.s3; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.transition.inputTransition; }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.brandBlue; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.buttonHover; }, function (props) {
17
17
  var _a, _b, _c, _d;
18
18
  return props.disabled
@@ -4,7 +4,7 @@ import styled from 'styled-components';
4
4
 
5
5
  var RadioWrapper = styled(motion.div)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 24px;\n height: 24px;\n min-width: 24px;\n"], ["\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 24px;\n height: 24px;\n min-width: 24px;\n"])));
6
6
  var CustomRadio = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n position: absolute;\n border-radius: 50%;\n z-index: 2;\n border: 1px solid ", ";\n"], ["\n width: 100%;\n height: 100%;\n position: absolute;\n border-radius: 50%;\n z-index: 2;\n border: 1px solid ", ";\n"])), function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.medium; });
7
- var RadioInput = styled.input(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n z-index: 3;\n\n &:checked + ", " {\n display: inline-block;\n ", ";\n animation-fill-mode: forwards;\n\n &::after {\n z-index: 1;\n content: '';\n width: 14px;\n height: 14px;\n border-radius: 50%;\n top: 3px;\n left: 3px;\n position: absolute;\n ", ";\n animation-fill-mode: forwards;\n\n @keyframes backgroundAnimation {\n from {background: none;}\n to {background:", ";}\n }\n\n @keyframes borderAntmation {\n from {border: 2px solid ", ";}\n to {border: 2px solid ", ";}\n }\n }\n }\n"], ["\n position: absolute;\n opacity: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n z-index: 3;\n\n &:checked + ", " {\n display: inline-block;\n ", ";\n animation-fill-mode: forwards;\n\n &::after {\n z-index: 1;\n content: '';\n width: 14px;\n height: 14px;\n border-radius: 50%;\n top: 3px;\n left: 3px;\n position: absolute;\n ", ";\n animation-fill-mode: forwards;\n\n @keyframes backgroundAnimation {\n from {background: none;}\n to {background:", ";}\n }\n\n @keyframes borderAntmation {\n from {border: 2px solid ", ";}\n to {border: 2px solid ", ";}\n }\n }\n }\n"])), CustomRadio, function (props) { return props.customColor && 'animation: borderAntmation 500ms'; }, function (props) { return props.customColor && 'animation: backgroundAnimation 500ms'; }, function (props) { return props.customColor && "" + props.customColor; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium; }, function (props) { return props.customColor; });
7
+ var RadioInput = styled.input(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n z-index: 3;\n\n &:checked + ", " {\n display: inline-block;\n ", ";\n animation-fill-mode: forwards;\n\n &::after {\n z-index: 1;\n content: '';\n width: 14px;\n height: 14px;\n border-radius: 50%;\n top: 3px;\n left: 3px;\n position: absolute;\n ", ";\n animation-fill-mode: forwards;\n\n @keyframes backgroundAnimation {\n from {background: none;}\n to {background:", ";}\n }\n\n @keyframes borderAntmation {\n from {border: 2px solid ", ";}\n to {border: 2px solid ", ";}\n }\n }\n }\n"], ["\n position: absolute;\n opacity: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n z-index: 3;\n\n &:checked + ", " {\n display: inline-block;\n ", ";\n animation-fill-mode: forwards;\n\n &::after {\n z-index: 1;\n content: '';\n width: 14px;\n height: 14px;\n border-radius: 50%;\n top: 3px;\n left: 3px;\n position: absolute;\n ", ";\n animation-fill-mode: forwards;\n\n @keyframes backgroundAnimation {\n from {background: none;}\n to {background:", ";}\n }\n\n @keyframes borderAntmation {\n from {border: 2px solid ", ";}\n to {border: 2px solid ", ";}\n }\n }\n }\n"])), CustomRadio, function (props) { return props.customColor && 'animation: borderAntmation 500ms'; }, function (props) { return props.customColor && 'animation: backgroundAnimation 500ms'; }, function (props) { return props.customColor && "".concat(props.customColor); }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium; }, function (props) { return props.customColor; });
8
8
  var templateObject_1, templateObject_2, templateObject_3;
9
9
 
10
10
  export { CustomRadio, RadioInput, RadioWrapper };
@@ -6,7 +6,7 @@ var TextArea = styled.textarea(templateObject_1 || (templateObject_1 = __makeTem
6
6
  return props.disabled
7
7
  ? (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.medium
8
8
  : (_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.dark;
9
- }, function (props) { var _a, _b, _c, _d; return ((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs) + 'px' + ' ' + ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.spacings) === null || _d === void 0 ? void 0 : _d.sm); }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.white; }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.darkest; }, function (props) { var _a; return (_a = props.flexGrow) !== null && _a !== void 0 ? _a : 1; }, function (props) { var _a, _b, _c; return props.fontSize ? props.fontSize : (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.typography) === null || _b === void 0 ? void 0 : _b.size) === null || _c === void 0 ? void 0 : _c.s3; }, function (props) { return props.flexGrow && "flex: " + props.flexGrow; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.transition.inputTransition; }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.brandBlue; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.buttonHover; }, function (props) {
9
+ }, function (props) { var _a, _b, _c, _d; return ((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs) + 'px' + ' ' + ((_d = (_c = props === null || props === void 0 ? void 0 : props.theme) === null || _c === void 0 ? void 0 : _c.spacings) === null || _d === void 0 ? void 0 : _d.sm); }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.white; }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.darkest; }, function (props) { var _a; return (_a = props.flexGrow) !== null && _a !== void 0 ? _a : 1; }, function (props) { var _a, _b, _c; return props.fontSize ? props.fontSize : (_c = (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.typography) === null || _b === void 0 ? void 0 : _b.size) === null || _c === void 0 ? void 0 : _c.s3; }, function (props) { return props.flexGrow && "flex: ".concat(props.flexGrow); }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.transition.inputTransition; }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.brandBlue; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.boxShadow.buttonHover; }, function (props) {
10
10
  var _a, _b, _c, _d;
11
11
  return props.disabled
12
12
  ? (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.medium
@@ -2,7 +2,7 @@ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  var FormControlWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n ", ";\n\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"], ["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n ", ";\n\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"])), function (props) {
5
- return props.justifyContent && "justify-content: " + props.justifyContent;
5
+ return props.justifyContent && "justify-content: ".concat(props.justifyContent);
6
6
  }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a, _b; return (_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.breakpoints) === null || _b === void 0 ? void 0 : _b.xs; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md; });
7
7
  var templateObject_1;
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var Grid = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n grid-template-columns: 1fr;\n align-items: ", ";\n gap: ", "px;\n @media (min-width: ", "px) {\n grid-template-columns: repeat(\n ", ",\n ", "\n );\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr;\n align-items: ", ";\n gap: ", "px;\n @media (min-width: ", "px) {\n grid-template-columns: repeat(\n ", ",\n ", "\n );\n }\n"])), function (props) { return props.alignItems || 'start'; }, function (props) { var _a, _b; return props.gap || ((_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.sm); }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.md; }, function (props) { return props.columns; }, function (props) { return (props.columnWidth ? props.columnWidth + "px" : '1fr'); });
4
+ var Grid = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n grid-template-columns: 1fr;\n align-items: ", ";\n gap: ", "px;\n @media (min-width: ", "px) {\n grid-template-columns: repeat(\n ", ",\n ", "\n );\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr;\n align-items: ", ";\n gap: ", "px;\n @media (min-width: ", "px) {\n grid-template-columns: repeat(\n ", ",\n ", "\n );\n }\n"])), function (props) { return props.alignItems || 'start'; }, function (props) { var _a, _b; return props.gap || ((_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.sm); }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.md; }, function (props) { return props.columns; }, function (props) { return (props.columnWidth ? "".concat(props.columnWidth, "px") : '1fr'); });
5
5
  var templateObject_1;
6
6
 
7
7
  export { Grid };
@@ -1,7 +1,7 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var HeaderLinkContainer = styled.a(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n background: ", ";\n color: ", ";\n padding: ", ";\n font-size: ", "px;\n text-decoration: none;\n line-height: ", "px;\n"], ["\n display: block;\n background: ", ";\n color: ", ";\n padding: ", ";\n font-size: ", "px;\n text-decoration: none;\n line-height: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.darker; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white; }, function (props) { var _a, _b; return ((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs) + "px " + ((_b = props.theme.spacings) === null || _b === void 0 ? void 0 : _b.md) + "px"; }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size.s2; }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight.s2; });
4
+ var HeaderLinkContainer = styled.a(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n background: ", ";\n color: ", ";\n padding: ", ";\n font-size: ", "px;\n text-decoration: none;\n line-height: ", "px;\n"], ["\n display: block;\n background: ", ";\n color: ", ";\n padding: ", ";\n font-size: ", "px;\n text-decoration: none;\n line-height: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.darker; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white; }, function (props) { var _a, _b; return "".concat((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs, "px ").concat((_b = props.theme.spacings) === null || _b === void 0 ? void 0 : _b.md, "px"); }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size.s2; }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.lineHeight.s2; });
5
5
  var TextContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
6
6
  var ArrowLeft = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n margin-right: ", "px;\n align-self: center;\n"], ["\n display: flex;\n margin-right: ", "px;\n align-self: center;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
7
7
  var templateObject_1, templateObject_2, templateObject_3;
@@ -5,9 +5,9 @@ var IconToolTipContainer = styled.div(templateObject_1 || (templateObject_1 = __
5
5
  var ArrowUp = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: ", "px;\n width: 0;\n left: ", "px;\n height: 0;\n border-left: ", "px solid\n transparent;\n border-right: ", "px solid\n transparent;\n border-bottom: ", "px solid\n ", ";\n"], ["\n position: absolute;\n top: ", "px;\n width: 0;\n left: ", "px;\n height: 0;\n border-left: ", "px solid\n transparent;\n border-right: ", "px solid\n transparent;\n border-bottom: ", "px solid\n ", ";\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.iconToolTipArrowTop; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.iconToolTipArrowLeft; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.darkest; });
6
6
  var ToolTipBox = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n top: ", "px;\n ", ";\n width: ", "px;\n background-color: ", ";\n border-radius: ", "px;\n padding: ", "px;\n z-index: 99;\n"], ["\n position: absolute;\n top: ", "px;\n ", ";\n width: ", "px;\n background-color: ", ";\n border-radius: ", "px;\n padding: ", "px;\n z-index: 99;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.iconToolTipTop; }, function (props) {
7
7
  return props.right
8
- ? "right: " + props.right + "px"
8
+ ? "right: ".concat(props.right, "px")
9
9
  : props.left
10
- ? "left:" + props.left + "px"
10
+ ? "left:".concat(props.left, "px")
11
11
  : null;
12
12
  }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.iconToolTipBoxWidth; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.darkest; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; });
13
13
  var ToolTipheader = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n"], ["\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n"])));
@@ -4,10 +4,10 @@ import styled from 'styled-components';
4
4
  var InfoBlock = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex: 1;\n flex-wrap: wrap;\n gap: ", "px;\n position: relative;\n background: ", ";\n padding: ", ";\n @media (min-width: ", "px) {\n flex-wrap: nowrap;\n align-items: center;\n justify-content: space-between;\n } ;\n"], ["\n display: flex;\n flex: 1;\n flex-wrap: wrap;\n gap: ", "px;\n position: relative;\n background: ", ";\n padding: ", ";\n @media (min-width: ", "px) {\n flex-wrap: nowrap;\n align-items: center;\n justify-content: space-between;\n } ;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { return props.background; }, function (props) {
5
5
  var _a, _b, _c;
6
6
  return props.hasImage
7
- ? ((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md) + "px"
8
- : ((_b = props.theme.spacings) === null || _b === void 0 ? void 0 : _b.sm) + "px " + ((_c = props.theme.spacings) === null || _c === void 0 ? void 0 : _c.md) + "px";
7
+ ? "".concat((_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md, "px")
8
+ : "".concat((_b = props.theme.spacings) === null || _b === void 0 ? void 0 : _b.sm, "px ").concat((_c = props.theme.spacings) === null || _c === void 0 ? void 0 : _c.md, "px");
9
9
  }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.sm; });
10
- var ImageContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: ", ";\n max-width: ", "px;\n height: ", ";\n @media (min-width: ", "px) {\n max-width: ", "px;\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n width: ", ";\n max-width: ", "px;\n height: ", ";\n @media (min-width: ", "px) {\n max-width: ", "px;\n }\n"])), function (props) { return (props.width ? props.width + "px" : '100%'); }, function (props) { var _a; return props.width || ((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.listImageMaxWidth); }, function (props) { return (props.height ? props.height + "px" : 'auto'); }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return props.width || ((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.infoBlockImageMaxWidthDesktop); });
10
+ var ImageContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: ", ";\n max-width: ", "px;\n height: ", ";\n @media (min-width: ", "px) {\n max-width: ", "px;\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n width: ", ";\n max-width: ", "px;\n height: ", ";\n @media (min-width: ", "px) {\n max-width: ", "px;\n }\n"])), function (props) { return (props.width ? "".concat(props.width, "px") : '100%'); }, function (props) { var _a; return props.width || ((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.listImageMaxWidth); }, function (props) { return (props.height ? "".concat(props.height, "px") : 'auto'); }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return props.width || ((_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.infoBlockImageMaxWidthDesktop); });
11
11
  var Image = styled.img(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: contain;\n"], ["\n width: 100%;\n height: 100%;\n object-fit: contain;\n"])));
12
12
  var InfoTextWrapper = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"], ["\n display: flex;\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.lg; });
13
13
  var ButtonContainer = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n @media (min-width: ", "px) {\n max-width: max-content;\n }\n"], ["\n display: flex;\n width: 100%;\n @media (min-width: ", "px) {\n max-width: max-content;\n }\n"])), function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.sm; });
@@ -7,12 +7,12 @@ import { theme as theme_1 } from '../../../../design-tokens/build/index.js';
7
7
 
8
8
  function ListItem(_a) {
9
9
  var _b;
10
- var item = _a.item, loading = _a.loading, isSmall = _a.isSmall, fallBackImage = _a.fallBackImage, imageAutoHeight = _a.imageAutoHeight, boldHeader = _a.boldHeader, smallSkeleton = _a.smallSkeleton, children = _a.children;
10
+ var item = _a.item, loading = _a.loading, isSmall = _a.isSmall, fallBackImage = _a.fallBackImage, imageAutoHeight = _a.imageAutoHeight, boldHeader = _a.boldHeader, smallSkeleton = _a.smallSkeleton, children = _a.children, usedInSearch = _a.usedInSearch;
11
11
  return (React.createElement(ListItemContainer, null,
12
- React.createElement(ListLeft, null,
12
+ React.createElement(ListLeft, { usedInSearch: usedInSearch },
13
13
  React.createElement(ListImageContainer, { isSmall: isSmall },
14
14
  React.createElement(ListImage, { autoHeight: imageAutoHeight, src: (item === null || item === void 0 ? void 0 : item.image) || fallBackImage || FallbackIcon, alt: item === null || item === void 0 ? void 0 : item.name, isSmall: isSmall })),
15
- React.createElement(ItemInformationContainer, null,
15
+ React.createElement(ItemInformationContainer, { usedInSearch: usedInSearch },
16
16
  React.createElement(BodyText, { fontWeight: boldHeader ? 'semiBold' : 'regular', size: isSmall
17
17
  ? TextTypes.TextSize.EXTRASMALL
18
18
  : TextTypes.TextSize.REGULAR }, (item === null || item === void 0 ? void 0 : item.name) || React.createElement(Skeleton, { width: smallSkeleton ? 150 : 250 })),
@@ -1,9 +1,9 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
- var ItemInformationContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: ", "px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
5
- var ListItemContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n\n p {\n padding: 1px 0px;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n\n p {\n padding: 1px 0px;\n }\n"])));
6
- var ListLeft = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.listItemFlexGap; });
4
+ var ItemInformationContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: ", "px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: ", "px;\n"])), function (props) { var _a; return (props.usedInSearch ? 0 : (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs); });
5
+ var ListItemContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n p {\n padding: 1px 0px;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n p {\n padding: 1px 0px;\n }\n"])));
6
+ var ListLeft = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: ", ";\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"], ["\n display: flex;\n align-items: ", ";\n gap: ", "px;\n @media (min-width: ", "px) {\n gap: ", "px;\n }\n"])), function (props) { return (props.usedInSearch ? 'inherit' : 'center'); }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.listItemFlexGap; });
7
7
  var ListRight = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n justify-content: space-between;\n text-align: right;\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n justify-content: space-between;\n text-align: right;\n"])));
8
8
  var ListImageContainer = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n width: ", "px;\n height: ", "px;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n width: ", "px;\n height: ", "px;\n"])), function (props) {
9
9
  var _a, _b;
@@ -20,9 +20,9 @@ var ListImage = styled.img(templateObject_6 || (templateObject_6 = __makeTemplat
20
20
  var _a, _b;
21
21
  return props.autoHeight
22
22
  ? '100%'
23
- : ((props === null || props === void 0 ? void 0 : props.isSmall)
23
+ : "".concat((props === null || props === void 0 ? void 0 : props.isSmall)
24
24
  ? (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.listImageMaxHeightSmall
25
- : (_b = props.theme.constants) === null || _b === void 0 ? void 0 : _b.listImageMaxHeight) + "px";
25
+ : (_b = props.theme.constants) === null || _b === void 0 ? void 0 : _b.listImageMaxHeight, "px");
26
26
  });
27
27
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
28
28
 
@@ -18,7 +18,7 @@ function ListItemWithRadio(_a) {
18
18
  React.createElement(Skeleton, { width: 140, count: 2, style: {
19
19
  display: 'flex',
20
20
  flexDirection: 'column',
21
- marginBottom: ((_b = theme_1.spacings) === null || _b === void 0 ? void 0 : _b.xs) + "px"
21
+ marginBottom: "".concat((_b = theme_1.spacings) === null || _b === void 0 ? void 0 : _b.xs, "px")
22
22
  } })))) : (React.createElement(React.Fragment, null,
23
23
  React.createElement(ListItemHeader, null,
24
24
  React.createElement(BodyText, { fontWeight: 'semiBold' }, item === null || item === void 0 ? void 0 :
@@ -2,7 +2,7 @@ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  var MenuContainer = styled.nav(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n flex-wrap: nowrap;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n\n ::-webkit-scrollbar {\n background: ", ";\n height: 2px;\n }\n\n ::-webkit-scrollbar-thumb {\n border-radius: ", "px;\n background-color: ", ";\n }\n /* for mozilla */\n scrollbar-width: thin;\n scrollbar-color: ", ";\n\n @media (min-width: ", "px) {\n /* for mozila scroll bar */\n width: calc(100% - 40px);\n }\n"], ["\n position: relative;\n display: flex;\n flex-wrap: nowrap;\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n\n ::-webkit-scrollbar {\n background: ", ";\n height: 2px;\n }\n\n ::-webkit-scrollbar-thumb {\n border-radius: ", "px;\n background-color: ", ";\n }\n /* for mozilla */\n scrollbar-width: thin;\n scrollbar-color: ", ";\n\n @media (min-width: ", "px) {\n /* for mozila scroll bar */\n width: calc(100% - 40px);\n }\n"])), function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.default; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.dark; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.dark; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; });
5
- var MenuItem = styled.a(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n flex: 0 0 auto;\n font-weight: ", ";\n padding: ", "px 0;\n display: block;\n border-bottom: ", "px solid;\n border-bottom-color: ", ";\n cursor: pointer;\n font-size: ", "px;\n margin-left: ", "px;\n margin-right: ", "px;\n\n &:last-child {\n position: relative;\n &::after {\n position: absolute;\n content: '';\n right: -", "px;\n width: ", "px;\n height: 100%;\n }\n }\n @media (min-width: ", "px) {\n &:hover {\n border-bottom-color: ", ";\n }\n }\n"], ["\n flex: 0 0 auto;\n font-weight: ", ";\n padding: ", "px 0;\n display: block;\n border-bottom: ", "px solid;\n border-bottom-color: ", ";\n cursor: pointer;\n font-size: ", "px;\n margin-left: ", "px;\n margin-right: ", "px;\n\n &:last-child {\n position: relative;\n &::after {\n position: absolute;\n content: '';\n right: -", "px;\n width: ", "px;\n height: 100%;\n }\n }\n @media (min-width: ", "px) {\n &:hover {\n border-bottom-color: ", ";\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.weight.semiBold; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.tableHeaderVerticalPadding; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return props.active ? "" + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.primary) : 'transparent'; }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size.s3; }, function (props) { var _a; return props.isFirstChild ? 0 : (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.menuHorizontalMargin; }, function (props) { var _a; return props.isLastChild ? 0 : (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.menuHorizontalMargin; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.primary; });
5
+ var MenuItem = styled.a(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n flex: 0 0 auto;\n font-weight: ", ";\n padding: ", "px 0;\n display: block;\n border-bottom: ", "px solid;\n border-bottom-color: ", ";\n cursor: pointer;\n font-size: ", "px;\n margin-left: ", "px;\n margin-right: ", "px;\n\n &:last-child {\n position: relative;\n &::after {\n position: absolute;\n content: '';\n right: -", "px;\n width: ", "px;\n height: 100%;\n }\n }\n @media (min-width: ", "px) {\n &:hover {\n border-bottom-color: ", ";\n }\n }\n"], ["\n flex: 0 0 auto;\n font-weight: ", ";\n padding: ", "px 0;\n display: block;\n border-bottom: ", "px solid;\n border-bottom-color: ", ";\n cursor: pointer;\n font-size: ", "px;\n margin-left: ", "px;\n margin-right: ", "px;\n\n &:last-child {\n position: relative;\n &::after {\n position: absolute;\n content: '';\n right: -", "px;\n width: ", "px;\n height: 100%;\n }\n }\n @media (min-width: ", "px) {\n &:hover {\n border-bottom-color: ", ";\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.weight.semiBold; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.tableHeaderVerticalPadding; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return props.active ? "".concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.primary) : 'transparent'; }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size.s3; }, function (props) { var _a; return props.isFirstChild ? 0 : (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.menuHorizontalMargin; }, function (props) { var _a; return props.isLastChild ? 0 : (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.menuHorizontalMargin; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.sm; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.primary; });
6
6
  var Fade = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n pointer-events: none;\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n to right,\n rgba(255, 255, 255, 0) 80%,\n rgba(255, 255, 255, 1)\n );\n transition: all 0.5s;\n opacity: ", ";\n"], ["\n pointer-events: none;\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n to right,\n rgba(255, 255, 255, 0) 80%,\n rgba(255, 255, 255, 1)\n );\n transition: all 0.5s;\n opacity: ", ";\n"])), function (props) { return ((props === null || props === void 0 ? void 0 : props.isVisible) ? '1' : '0'); });
7
7
  var templateObject_1, templateObject_2, templateObject_3;
8
8
 
@@ -2,7 +2,7 @@ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  var ModalOverlay = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n z-index: ", ";\n background: ", ";\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n justify-content: center;\n align-items: center;\n\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n"], ["\n display: flex;\n z-index: ", ";\n background: ", ";\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n justify-content: center;\n align-items: center;\n\n @media (min-width: ", "px) {\n padding: ", "px;\n }\n"])), function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.zIndex.modal; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.darkOverlay; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.lg; });
5
- var ModalContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n overflow: auto;\n display: flex;\n flex-direction: column;\n ", ";\n max-width: 100%;\n max-height: 100vh;\n padding: ", "px;\n @media (min-width: ", "px) {\n padding: ", "px;\n width: 100%;\n max-width: ", ";\n max-height: 90vh;\n }\n"], ["\n overflow: auto;\n display: flex;\n flex-direction: column;\n ", ";\n max-width: 100%;\n max-height: 100vh;\n padding: ", "px;\n @media (min-width: ", "px) {\n padding: ", "px;\n width: 100%;\n max-width: ", ";\n max-height: 90vh;\n }\n"])), function (props) { return props.background && "background: " + props.background; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.lg; }, function (props) {
5
+ var ModalContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n overflow: auto;\n display: flex;\n flex-direction: column;\n ", ";\n max-width: 100%;\n max-height: 100vh;\n padding: ", "px;\n @media (min-width: ", "px) {\n padding: ", "px;\n width: 100%;\n max-width: ", ";\n max-height: 90vh;\n }\n"], ["\n overflow: auto;\n display: flex;\n flex-direction: column;\n ", ";\n max-width: 100%;\n max-height: 100vh;\n padding: ", "px;\n @media (min-width: ", "px) {\n padding: ", "px;\n width: 100%;\n max-width: ", ";\n max-height: 90vh;\n }\n"])), function (props) { return props.background && "background: ".concat(props.background); }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.md; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.lg; }, function (props) {
6
6
  var _a, _b;
7
7
  return props.maxWidth
8
8
  ? props.maxWidth