@citygross/components 0.7.76 → 0.7.77

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.
@@ -58,3 +58,4 @@ export * from './containers/PageContainer/PageContainer';
58
58
  export * from './containers/TwoColumnsContainer/TwoColumnsPageContainer';
59
59
  export * from './components/UnorderedList';
60
60
  export * from './components/WarningLabel/WarningLabel';
61
+ export * from './components/MobileTable';
@@ -72,6 +72,7 @@ require('../../../../utils/build/index.js');
72
72
  require('../../containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js');
73
73
  require('../UnorderedList/UnorderedList.styles.js');
74
74
  require('../WarningLabel/WarningLabel.styles.js');
75
+ require('../MobileTable/MobileTable.styles.js');
75
76
 
76
77
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
77
78
 
@@ -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,20 @@
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 MobileTable = styled__default['default'].table(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n padding: ", "px;\n padding-bottom: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0 0 0;\n }\n }\n"], ["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n padding: ", "px;\n padding-bottom: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0 0 0;\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileTablePadding; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileTablePaddingBottom; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileTablePadding; });
13
+ var MobileTd = styled__default['default'].td(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n @media screen and (max-width: ", "px) {\n & > * {\n font-size: ", "px;\n }\n\n & {\n font-size: ", "px;\n }\n }\n"], ["\n @media screen and (max-width: ", "px) {\n & > * {\n font-size: ", "px;\n }\n\n & {\n font-size: ", "px;\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xxs; }, 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.size.s2; });
14
+ var MobileLabel = styled__default['default'](MobileTd)(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n padding: ", "px 0;\n font-weight: ", ";\n padding-right: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0;\n padding-right: ", "px;\n }\n }\n"], ["\n padding: ", "px 0;\n font-weight: ", ";\n padding-right: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0;\n padding-right: ", "px;\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileLabelVerticalPadding; }, 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.mobileLabelPaddingRight; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileLabelVerticalPaddingMobile; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileLabelPaddingRightMobile; });
15
+ var templateObject_1, templateObject_2, templateObject_3;
16
+
17
+ exports.MobileLabel = MobileLabel;
18
+ exports.MobileTable = MobileTable;
19
+ exports.MobileTd = MobileTd;
20
+ //# sourceMappingURL=MobileTable.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileTable.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
@@ -72,6 +72,7 @@ require('../../../../utils/build/index.js');
72
72
  require('../../containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js');
73
73
  require('../UnorderedList/UnorderedList.styles.js');
74
74
  var WarningLabel_styles = require('./WarningLabel.styles.js');
75
+ require('../MobileTable/MobileTable.styles.js');
75
76
 
76
77
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
77
78
 
@@ -1 +1 @@
1
- {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -63,6 +63,7 @@ var PageContainer = require('./containers/PageContainer/PageContainer.js');
63
63
  var TwoColumnsPageContainer = require('./containers/TwoColumnsContainer/TwoColumnsPageContainer.js');
64
64
  var UnorderedList_styles = require('./components/UnorderedList/UnorderedList.styles.js');
65
65
  var WarningLabel = require('./components/WarningLabel/WarningLabel.js');
66
+ var MobileTable_styles = require('./components/MobileTable/MobileTable.styles.js');
66
67
 
67
68
 
68
69
 
@@ -168,4 +169,7 @@ exports.TwoColumnsPageContainer = TwoColumnsPageContainer.TwoColumnsPageContaine
168
169
  exports.UnorderedList = UnorderedList_styles.UnorderedList;
169
170
  exports.UnorderedListItem = UnorderedList_styles.UnorderedListItem;
170
171
  exports.WarningLabel = WarningLabel.WarningLabel;
172
+ exports.MobileLabel = MobileTable_styles.MobileLabel;
173
+ exports.MobileTable = MobileTable_styles.MobileTable;
174
+ exports.MobileTd = MobileTable_styles.MobileTd;
171
175
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -68,6 +68,7 @@ import '../../../../utils/build/index.js';
68
68
  import '../../containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js';
69
69
  import '../UnorderedList/UnorderedList.styles.js';
70
70
  import '../WarningLabel/WarningLabel.styles.js';
71
+ import '../MobileTable/MobileTable.styles.js';
71
72
 
72
73
  function AddressBlock(_a) {
73
74
  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,10 @@
1
+ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+
4
+ var MobileTable = styled.table(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n padding: ", "px;\n padding-bottom: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0 0 0;\n }\n }\n"], ["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n padding: ", "px;\n padding-bottom: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0 0 0;\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileTablePadding; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileTablePaddingBottom; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileTablePadding; });
5
+ var MobileTd = styled.td(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n @media screen and (max-width: ", "px) {\n & > * {\n font-size: ", "px;\n }\n\n & {\n font-size: ", "px;\n }\n }\n"], ["\n @media screen and (max-width: ", "px) {\n & > * {\n font-size: ", "px;\n }\n\n & {\n font-size: ", "px;\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xxs; }, 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.size.s2; });
6
+ var MobileLabel = styled(MobileTd)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: ", "px 0;\n font-weight: ", ";\n padding-right: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0;\n padding-right: ", "px;\n }\n }\n"], ["\n padding: ", "px 0;\n font-weight: ", ";\n padding-right: ", "px;\n\n @media screen and (max-width: ", "px) {\n & {\n padding: ", "px 0;\n padding-right: ", "px;\n }\n }\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileLabelVerticalPadding; }, 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.mobileLabelPaddingRight; }, function (props) { var _a; return (_a = props.theme.breakpoints) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileLabelVerticalPaddingMobile; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.mobileLabelPaddingRightMobile; });
7
+ var templateObject_1, templateObject_2, templateObject_3;
8
+
9
+ export { MobileLabel, MobileTable, MobileTd };
10
+ //# sourceMappingURL=MobileTable.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileTable.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -68,6 +68,7 @@ import '../../../../utils/build/index.js';
68
68
  import '../../containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js';
69
69
  import '../UnorderedList/UnorderedList.styles.js';
70
70
  import { WarningIndicator } from './WarningLabel.styles.js';
71
+ import '../MobileTable/MobileTable.styles.js';
71
72
 
72
73
  function WarningLabel(_a) {
73
74
  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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -59,4 +59,5 @@ export { PageContainer } from './containers/PageContainer/PageContainer.js';
59
59
  export { TwoColumnsPageContainer } from './containers/TwoColumnsContainer/TwoColumnsPageContainer.js';
60
60
  export { UnorderedList, UnorderedListItem } from './components/UnorderedList/UnorderedList.styles.js';
61
61
  export { WarningLabel } from './components/WarningLabel/WarningLabel.js';
62
+ export { MobileLabel, MobileTable, MobileTd } from './components/MobileTable/MobileTable.styles.js';
62
63
  //# 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.76",
3
+ "version": "0.7.77",
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": "55f9b8d83e05e0685f02303cb6a60d5e0fddc736"
74
+ "gitHead": "6a9d58cbfe1dbcca09e918963aa57d3b6e155584"
75
75
  }