@citygross/components 0.7.88 → 0.7.89

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 (30) hide show
  1. package/build/@types/index.d.ts +1 -0
  2. package/build/cjs/components/src/components/AddressBlock/AddressBlock.js +2 -0
  3. package/build/cjs/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
  4. package/build/cjs/components/src/components/PriceTag/PriceTag.js +23 -0
  5. package/build/cjs/components/src/components/PriceTag/PriceTag.js.map +1 -0
  6. package/build/cjs/components/src/components/PriceTag/PriceTag.styles.js +18 -0
  7. package/build/cjs/components/src/components/PriceTag/PriceTag.styles.js.map +1 -0
  8. package/build/cjs/components/src/components/SearchListItem/SearchListItem.js +25 -0
  9. package/build/cjs/components/src/components/SearchListItem/SearchListItem.js.map +1 -0
  10. package/build/cjs/components/src/components/SearchListItem/SearchListItem.styles.js +22 -0
  11. package/build/cjs/components/src/components/SearchListItem/SearchListItem.styles.js.map +1 -0
  12. package/build/cjs/components/src/components/WarningLabel/WarningLabel.js +2 -0
  13. package/build/cjs/components/src/components/WarningLabel/WarningLabel.js.map +1 -1
  14. package/build/cjs/components/src/index.js +2 -0
  15. package/build/cjs/components/src/index.js.map +1 -1
  16. package/build/es/components/src/components/AddressBlock/AddressBlock.js +2 -0
  17. package/build/es/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
  18. package/build/es/components/src/components/PriceTag/PriceTag.js +15 -0
  19. package/build/es/components/src/components/PriceTag/PriceTag.js.map +1 -0
  20. package/build/es/components/src/components/PriceTag/PriceTag.styles.js +9 -0
  21. package/build/es/components/src/components/PriceTag/PriceTag.styles.js.map +1 -0
  22. package/build/es/components/src/components/SearchListItem/SearchListItem.js +17 -0
  23. package/build/es/components/src/components/SearchListItem/SearchListItem.js.map +1 -0
  24. package/build/es/components/src/components/SearchListItem/SearchListItem.styles.js +11 -0
  25. package/build/es/components/src/components/SearchListItem/SearchListItem.styles.js.map +1 -0
  26. package/build/es/components/src/components/WarningLabel/WarningLabel.js +2 -0
  27. package/build/es/components/src/components/WarningLabel/WarningLabel.js.map +1 -1
  28. package/build/es/components/src/index.js +1 -0
  29. package/build/es/components/src/index.js.map +1 -1
  30. package/package.json +2 -2
@@ -66,3 +66,4 @@ export * from './components/SideModal/SideModal';
66
66
  export * from './components/IconText/IconText';
67
67
  export * from './components/Logo/Logo';
68
68
  export * from './components/Dropdown/Dropdown';
69
+ export * from './components/SearchListItem/SearchListItem';
@@ -81,6 +81,8 @@ require('framer-motion');
81
81
  require('../SideModal/SideModal.styles.js');
82
82
  require('../IconText/IconText.styles.js');
83
83
  require('../Dropdown/Dropdown.styles.js');
84
+ require('../PriceTag/PriceTag.styles.js');
85
+ require('../SearchListItem/SearchListItem.styles.js');
84
86
 
85
87
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
86
88
 
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var PriceTag_styles = require('./PriceTag.styles.js');
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
+
12
+ // Add ability to change Price tag for sale, etc
13
+ // Should be about 4 variants
14
+ // 2 for 100:-
15
+ // 22 25/st
16
+ var PriceTag = function (_a) {
17
+ var splash = _a.splash, price = _a.price, color = _a.color;
18
+ return (React__default["default"].createElement(PriceTag_styles.PriceTagWrapper, { splash: splash },
19
+ React__default["default"].createElement(PriceTag_styles.Text, { splash: splash, color: color }, price)));
20
+ };
21
+
22
+ exports.PriceTag = PriceTag;
23
+ //# sourceMappingURL=PriceTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceTag.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _tslib = require('../../../../_virtual/_tslib.js');
6
+ var styled = require('styled-components');
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
11
+
12
+ var PriceTagWrapper = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n background: url(", ");\n padding: ", "px\n ", "px;\n float: right;\n\n @media (max-width: ", "px) {\n min-height: 70%;\n justify-self: flex-end;\n }\n"], ["\n background: url(", ");\n padding: ", "px\n ", "px;\n float: right;\n\n @media (max-width: ", "px) {\n min-height: 70%;\n justify-self: flex-end;\n }\n"])), function (props) { return (props.splash ? props.splash : 'none'); }, 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.xxs; }, function (props) { var _a; return (_a = props === null || props === void 0 ? void 0 : props.theme.constants) === null || _a === void 0 ? void 0 : _a.priceSplashHorizontalPadding; }, 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; });
13
+ var Text = styled__default["default"].h1(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n color: ", ";\n font-size: ", "px;\n"], ["\n color: ", ";\n font-size: ", "px;\n"])), function (props) { return props.color; }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size.l1; });
14
+ var templateObject_1, templateObject_2;
15
+
16
+ exports.PriceTagWrapper = PriceTagWrapper;
17
+ exports.Text = Text;
18
+ //# sourceMappingURL=PriceTag.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceTag.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var ListItem = require('../ListItem/ListItem.js');
7
+ var PriceTag = require('../PriceTag/PriceTag.js');
8
+ var SearchListItem_styles = require('./SearchListItem.styles.js');
9
+
10
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
+
12
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
+
14
+ var SearchListItem = function (_a) {
15
+ var searchProductItem = _a.searchProductItem, button = _a.button;
16
+ return (React__default["default"].createElement(SearchListItem_styles.SearchListItemWrapper, null,
17
+ React__default["default"].createElement(SearchListItem_styles.ListItemWrapper, null,
18
+ React__default["default"].createElement(ListItem.ListItem, { usedInSearch: true, loading: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.loading, item: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.item })),
19
+ React__default["default"].createElement(SearchListItem_styles.PriceTagWrapper, null,
20
+ React__default["default"].createElement(PriceTag.PriceTag, { splash: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.splash, color: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.color, price: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.price }, searchProductItem.price)),
21
+ React__default["default"].createElement(SearchListItem_styles.ButtonWrapper, null, button)));
22
+ };
23
+
24
+ exports.SearchListItem = SearchListItem;
25
+ //# sourceMappingURL=SearchListItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchListItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _tslib = require('../../../../_virtual/_tslib.js');
6
+ var styled = require('styled-components');
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
11
+
12
+ var SearchListItemWrapper = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n padding: ", "px;\n gap: ", "px;\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr;\n grid-auto-flow: row;\n grid-template-areas: 'ListItemWrapper PriceTagWrapper ButtonWrapper';\n\n @media (max-width: ", "px) {\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr 1fr;\n grid-auto-flow: row;\n grid-template-areas:\n 'ListItemWrapper PriceTagWrapper PriceTagWrapper'\n 'ListItemWrapper ButtonWrapper ButtonWrapper';\n }\n"], ["\n align-items: center;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n padding: ", "px;\n gap: ", "px;\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr;\n grid-auto-flow: row;\n grid-template-areas: 'ListItemWrapper PriceTagWrapper ButtonWrapper';\n\n @media (max-width: ", "px) {\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr 1fr;\n grid-auto-flow: row;\n grid-template-areas:\n 'ListItemWrapper PriceTagWrapper PriceTagWrapper'\n 'ListItemWrapper ButtonWrapper ButtonWrapper';\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.palette) === null || _a === void 0 ? void 0 : _a.light; }, 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.md; }, 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; });
13
+ var ListItemWrapper = styled__default["default"].div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n grid-area: ListItemWrapper;\n"], ["\n grid-area: ListItemWrapper;\n"])));
14
+ var PriceTagWrapper = styled__default["default"].div(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n grid-area: PriceTagWrapper;\n"], ["\n grid-area: PriceTagWrapper;\n"])));
15
+ var ButtonWrapper = styled__default["default"].div(templateObject_4 || (templateObject_4 = _tslib.__makeTemplateObject(["\n grid-area: ButtonWrapper;\n min-width: ", "px;\n\n @media (max-width: ", "px) {\n justify-self: flex-end;\n }\n"], ["\n grid-area: ButtonWrapper;\n min-width: ", "px;\n\n @media (max-width: ", "px) {\n justify-self: flex-end;\n }\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.buttonWrapperMinWidth; }, 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; });
16
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
17
+
18
+ exports.ButtonWrapper = ButtonWrapper;
19
+ exports.ListItemWrapper = ListItemWrapper;
20
+ exports.PriceTagWrapper = PriceTagWrapper;
21
+ exports.SearchListItemWrapper = SearchListItemWrapper;
22
+ //# sourceMappingURL=SearchListItem.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchListItem.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
@@ -81,6 +81,8 @@ require('framer-motion');
81
81
  require('../SideModal/SideModal.styles.js');
82
82
  require('../IconText/IconText.styles.js');
83
83
  require('../Dropdown/Dropdown.styles.js');
84
+ require('../PriceTag/PriceTag.styles.js');
85
+ require('../SearchListItem/SearchListItem.styles.js');
84
86
 
85
87
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
86
88
 
@@ -1 +1 @@
1
- {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -71,6 +71,7 @@ var SideModal = require('./components/SideModal/SideModal.js');
71
71
  var IconText = require('./components/IconText/IconText.js');
72
72
  var Logo = require('./components/Logo/Logo.js');
73
73
  var Dropdown = require('./components/Dropdown/Dropdown.js');
74
+ var SearchListItem = require('./components/SearchListItem/SearchListItem.js');
74
75
 
75
76
 
76
77
 
@@ -174,4 +175,5 @@ exports.SideModal = SideModal.SideModal;
174
175
  exports.IconText = IconText.IconText;
175
176
  exports.Logo = Logo.Logo;
176
177
  exports.Dropdown = Dropdown.Dropdown;
178
+ exports.SearchListItem = SearchListItem.SearchListItem;
177
179
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -77,6 +77,8 @@ import 'framer-motion';
77
77
  import '../SideModal/SideModal.styles.js';
78
78
  import '../IconText/IconText.styles.js';
79
79
  import '../Dropdown/Dropdown.styles.js';
80
+ import '../PriceTag/PriceTag.styles.js';
81
+ import '../SearchListItem/SearchListItem.styles.js';
80
82
 
81
83
  function AddressBlock(_a) {
82
84
  var _b = _a.deliverOption, deliverOption = _b === void 0 ? 'Address' : _b, icon = _a.icon, storeName = _a.storeName, customerName = _a.customerName, street = _a.street, zipCode = _a.zipCode, city = _a.city, doorCode = _a.doorCode, floor = _a.floor, deliveryInstructions = _a.deliveryInstructions, xsSpacing = _a.xsSpacing, lgSpacing = _a.lgSpacing;
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { PriceTagWrapper, Text } from './PriceTag.styles.js';
3
+
4
+ // Add ability to change Price tag for sale, etc
5
+ // Should be about 4 variants
6
+ // 2 for 100:-
7
+ // 22 25/st
8
+ var PriceTag = function (_a) {
9
+ var splash = _a.splash, price = _a.price, color = _a.color;
10
+ return (React.createElement(PriceTagWrapper, { splash: splash },
11
+ React.createElement(Text, { splash: splash, color: color }, price)));
12
+ };
13
+
14
+ export { PriceTag };
15
+ //# sourceMappingURL=PriceTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceTag.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+
4
+ var PriceTagWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: url(", ");\n padding: ", "px\n ", "px;\n float: right;\n\n @media (max-width: ", "px) {\n min-height: 70%;\n justify-self: flex-end;\n }\n"], ["\n background: url(", ");\n padding: ", "px\n ", "px;\n float: right;\n\n @media (max-width: ", "px) {\n min-height: 70%;\n justify-self: flex-end;\n }\n"])), function (props) { return (props.splash ? props.splash : 'none'); }, 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.xxs; }, function (props) { var _a; return (_a = props === null || props === void 0 ? void 0 : props.theme.constants) === null || _a === void 0 ? void 0 : _a.priceSplashHorizontalPadding; }, 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; });
5
+ var Text = styled.h1(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n font-size: ", "px;\n"], ["\n color: ", ";\n font-size: ", "px;\n"])), function (props) { return props.color; }, function (props) { var _a; return (_a = props.theme.typography) === null || _a === void 0 ? void 0 : _a.size.l1; });
6
+ var templateObject_1, templateObject_2;
7
+
8
+ export { PriceTagWrapper, Text };
9
+ //# sourceMappingURL=PriceTag.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceTag.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { ListItem } from '../ListItem/ListItem.js';
3
+ import { PriceTag } from '../PriceTag/PriceTag.js';
4
+ import { SearchListItemWrapper, ListItemWrapper, PriceTagWrapper, ButtonWrapper } from './SearchListItem.styles.js';
5
+
6
+ var SearchListItem = function (_a) {
7
+ var searchProductItem = _a.searchProductItem, button = _a.button;
8
+ return (React.createElement(SearchListItemWrapper, null,
9
+ React.createElement(ListItemWrapper, null,
10
+ React.createElement(ListItem, { usedInSearch: true, loading: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.loading, item: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.item })),
11
+ React.createElement(PriceTagWrapper, null,
12
+ React.createElement(PriceTag, { splash: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.splash, color: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.color, price: searchProductItem === null || searchProductItem === void 0 ? void 0 : searchProductItem.price }, searchProductItem.price)),
13
+ React.createElement(ButtonWrapper, null, button)));
14
+ };
15
+
16
+ export { SearchListItem };
17
+ //# sourceMappingURL=SearchListItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchListItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+
4
+ var SearchListItemWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n padding: ", "px;\n gap: ", "px;\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr;\n grid-auto-flow: row;\n grid-template-areas: 'ListItemWrapper PriceTagWrapper ButtonWrapper';\n\n @media (max-width: ", "px) {\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr 1fr;\n grid-auto-flow: row;\n grid-template-areas:\n 'ListItemWrapper PriceTagWrapper PriceTagWrapper'\n 'ListItemWrapper ButtonWrapper ButtonWrapper';\n }\n"], ["\n align-items: center;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n padding: ", "px;\n gap: ", "px;\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr;\n grid-auto-flow: row;\n grid-template-areas: 'ListItemWrapper PriceTagWrapper ButtonWrapper';\n\n @media (max-width: ", "px) {\n display: grid;\n grid-template-columns: 2fr 1fr;\n grid-template-rows: 1fr 1fr;\n grid-auto-flow: row;\n grid-template-areas:\n 'ListItemWrapper PriceTagWrapper PriceTagWrapper'\n 'ListItemWrapper ButtonWrapper ButtonWrapper';\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.palette) === null || _a === void 0 ? void 0 : _a.light; }, 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.md; }, 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; });
5
+ var ListItemWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n grid-area: ListItemWrapper;\n"], ["\n grid-area: ListItemWrapper;\n"])));
6
+ var PriceTagWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n grid-area: PriceTagWrapper;\n"], ["\n grid-area: PriceTagWrapper;\n"])));
7
+ var ButtonWrapper = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n grid-area: ButtonWrapper;\n min-width: ", "px;\n\n @media (max-width: ", "px) {\n justify-self: flex-end;\n }\n"], ["\n grid-area: ButtonWrapper;\n min-width: ", "px;\n\n @media (max-width: ", "px) {\n justify-self: flex-end;\n }\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.buttonWrapperMinWidth; }, 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; });
8
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
9
+
10
+ export { ButtonWrapper, ListItemWrapper, PriceTagWrapper, SearchListItemWrapper };
11
+ //# sourceMappingURL=SearchListItem.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchListItem.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -77,6 +77,8 @@ import 'framer-motion';
77
77
  import '../SideModal/SideModal.styles.js';
78
78
  import '../IconText/IconText.styles.js';
79
79
  import '../Dropdown/Dropdown.styles.js';
80
+ import '../PriceTag/PriceTag.styles.js';
81
+ import '../SearchListItem/SearchListItem.styles.js';
80
82
 
81
83
  function WarningLabel(_a) {
82
84
  var children = _a.children, background = _a.background, toolTip = _a.toolTip;
@@ -1 +1 @@
1
- {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -67,4 +67,5 @@ export { SideModal } from './components/SideModal/SideModal.js';
67
67
  export { IconText } from './components/IconText/IconText.js';
68
68
  export { Logo } from './components/Logo/Logo.js';
69
69
  export { Dropdown } from './components/Dropdown/Dropdown.js';
70
+ export { SearchListItem } from './components/SearchListItem/SearchListItem.js';
70
71
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components",
3
- "version": "0.7.88",
3
+ "version": "0.7.89",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./build/cjs/components/src/index.js",
@@ -71,5 +71,5 @@
71
71
  "moment": "^2.29.1",
72
72
  "react-loading-skeleton": "^2.2.0"
73
73
  },
74
- "gitHead": "64770a33cf49b495c7660b85cf079c632f779b8a"
74
+ "gitHead": "1316dd9bc679798c946cd010ee2c1dbb6f9d3754"
75
75
  }