@citygross/components 0.7.239 → 0.7.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/components/RecipeLabel/RecipeLabel.d.ts +6 -0
- package/build/@types/components/RecipeLabel/RecipeLabel.styles.d.ts +5 -0
- package/build/@types/index.d.ts +1 -0
- package/build/cjs/components/src/components/AddressBlock/AddressBlock.js +1 -0
- package/build/cjs/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
- package/build/cjs/components/src/components/RecipeLabel/RecipeLabel.js +18 -0
- package/build/cjs/components/src/components/RecipeLabel/RecipeLabel.js.map +1 -0
- package/build/cjs/components/src/components/RecipeLabel/RecipeLabel.styles.js +20 -0
- package/build/cjs/components/src/components/RecipeLabel/RecipeLabel.styles.js.map +1 -0
- package/build/cjs/components/src/components/WarningLabel/WarningLabel.js +1 -0
- package/build/cjs/components/src/components/WarningLabel/WarningLabel.js.map +1 -1
- package/build/cjs/components/src/index.js +2 -0
- package/build/cjs/components/src/index.js.map +1 -1
- package/build/es/components/src/components/AddressBlock/AddressBlock.js +1 -0
- package/build/es/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
- package/build/es/components/src/components/RecipeLabel/RecipeLabel.js +10 -0
- package/build/es/components/src/components/RecipeLabel/RecipeLabel.js.map +1 -0
- package/build/es/components/src/components/RecipeLabel/RecipeLabel.styles.js +12 -0
- package/build/es/components/src/components/RecipeLabel/RecipeLabel.styles.js.map +1 -0
- package/build/es/components/src/components/WarningLabel/WarningLabel.js +1 -0
- package/build/es/components/src/components/WarningLabel/WarningLabel.js.map +1 -1
- package/build/es/components/src/index.js +1 -0
- package/build/es/components/src/index.js.map +1 -1
- package/package.json +2 -2
package/build/@types/index.d.ts
CHANGED
|
@@ -74,3 +74,4 @@ export * from './components/SearchSuggestionChip/SearchSuggestionChip';
|
|
|
74
74
|
export * from './components/ZipCodeInput/ZipCodeInput';
|
|
75
75
|
export * from './components/MaxHeightText/MaxHeightText';
|
|
76
76
|
export * from './components/CgButton/CgButton';
|
|
77
|
+
export * from './components/RecipeLabel/RecipeLabel';
|
|
@@ -90,6 +90,7 @@ require('../SearchSuggestionChip/SearchSuggestionChip.styles.js');
|
|
|
90
90
|
require('../ZipCodeInput/ZipCodeInput.styles.js');
|
|
91
91
|
require('../MaxHeightText/styles.js');
|
|
92
92
|
require('../CgButton/CgButton.js');
|
|
93
|
+
require('../RecipeLabel/RecipeLabel.styles.js');
|
|
93
94
|
|
|
94
95
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
95
96
|
|
|
@@ -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,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var RecipeLabel_styles = require('./RecipeLabel.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
|
+
var RecipeLabel = function (_a) {
|
|
13
|
+
var background = _a.background, label = _a.label;
|
|
14
|
+
return (React__default["default"].createElement(RecipeLabel_styles.RecipeLabel, { background: background }, label));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
exports.RecipeLabel = RecipeLabel;
|
|
18
|
+
//# sourceMappingURL=RecipeLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecipeLabel.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 RecipeLabel = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n padding: 1px ", "px;\n border-radius: ", "px;\n ", "\n"], ["\n padding: 1px ", "px;\n border-radius: ", "px;\n ", "\n"])), 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.xxxs; }, function (props) {
|
|
13
|
+
var _a;
|
|
14
|
+
return (props === null || props === void 0 ? void 0 : props.background) &&
|
|
15
|
+
"\n background: ".concat(props.background, ";\n color: ").concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white, ";");
|
|
16
|
+
});
|
|
17
|
+
var templateObject_1;
|
|
18
|
+
|
|
19
|
+
exports.RecipeLabel = RecipeLabel;
|
|
20
|
+
//# sourceMappingURL=RecipeLabel.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecipeLabel.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -90,6 +90,7 @@ require('../SearchSuggestionChip/SearchSuggestionChip.styles.js');
|
|
|
90
90
|
require('../ZipCodeInput/ZipCodeInput.styles.js');
|
|
91
91
|
require('../MaxHeightText/styles.js');
|
|
92
92
|
require('../CgButton/CgButton.js');
|
|
93
|
+
require('../RecipeLabel/RecipeLabel.styles.js');
|
|
93
94
|
|
|
94
95
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
95
96
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -81,6 +81,7 @@ var SearchSuggestionChip = require('./components/SearchSuggestionChip/SearchSugg
|
|
|
81
81
|
var ZipCodeInput = require('./components/ZipCodeInput/ZipCodeInput.js');
|
|
82
82
|
var MaxHeightText = require('./components/MaxHeightText/MaxHeightText.js');
|
|
83
83
|
var CgButton = require('./components/CgButton/CgButton.js');
|
|
84
|
+
var RecipeLabel = require('./components/RecipeLabel/RecipeLabel.js');
|
|
84
85
|
|
|
85
86
|
|
|
86
87
|
|
|
@@ -201,4 +202,5 @@ Object.defineProperty(exports, 'ECgButtonSize', {
|
|
|
201
202
|
enumerable: true,
|
|
202
203
|
get: function () { return CgButton.ECgButtonSize; }
|
|
203
204
|
});
|
|
205
|
+
exports.RecipeLabel = RecipeLabel.RecipeLabel;
|
|
204
206
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -86,6 +86,7 @@ import '../SearchSuggestionChip/SearchSuggestionChip.styles.js';
|
|
|
86
86
|
import '../ZipCodeInput/ZipCodeInput.styles.js';
|
|
87
87
|
import '../MaxHeightText/styles.js';
|
|
88
88
|
import '../CgButton/CgButton.js';
|
|
89
|
+
import '../RecipeLabel/RecipeLabel.styles.js';
|
|
89
90
|
|
|
90
91
|
function AddressBlock(_a) {
|
|
91
92
|
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 React from 'react';
|
|
2
|
+
import { RecipeLabel as RecipeLabel$1 } from './RecipeLabel.styles.js';
|
|
3
|
+
|
|
4
|
+
var RecipeLabel = function (_a) {
|
|
5
|
+
var background = _a.background, label = _a.label;
|
|
6
|
+
return (React.createElement(RecipeLabel$1, { background: background }, label));
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { RecipeLabel };
|
|
10
|
+
//# sourceMappingURL=RecipeLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecipeLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
var RecipeLabel = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 1px ", "px;\n border-radius: ", "px;\n ", "\n"], ["\n padding: 1px ", "px;\n border-radius: ", "px;\n ", "\n"])), 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.xxxs; }, function (props) {
|
|
5
|
+
var _a;
|
|
6
|
+
return (props === null || props === void 0 ? void 0 : props.background) &&
|
|
7
|
+
"\n background: ".concat(props.background, ";\n color: ").concat((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.white, ";");
|
|
8
|
+
});
|
|
9
|
+
var templateObject_1;
|
|
10
|
+
|
|
11
|
+
export { RecipeLabel };
|
|
12
|
+
//# sourceMappingURL=RecipeLabel.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecipeLabel.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -86,6 +86,7 @@ import '../SearchSuggestionChip/SearchSuggestionChip.styles.js';
|
|
|
86
86
|
import '../ZipCodeInput/ZipCodeInput.styles.js';
|
|
87
87
|
import '../MaxHeightText/styles.js';
|
|
88
88
|
import '../CgButton/CgButton.js';
|
|
89
|
+
import '../RecipeLabel/RecipeLabel.styles.js';
|
|
89
90
|
|
|
90
91
|
function WarningLabel(_a) {
|
|
91
92
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -77,4 +77,5 @@ export { SearchSuggestionChip } from './components/SearchSuggestionChip/SearchSu
|
|
|
77
77
|
export { ZipCodeInput } from './components/ZipCodeInput/ZipCodeInput.js';
|
|
78
78
|
export { MaxHeightText } from './components/MaxHeightText/MaxHeightText.js';
|
|
79
79
|
export { EButtonVariant, ECgButtonSize } from './components/CgButton/CgButton.js';
|
|
80
|
+
export { RecipeLabel } from './components/RecipeLabel/RecipeLabel.js';
|
|
80
81
|
//# 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.
|
|
3
|
+
"version": "0.7.240",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./build/cjs/components/src/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"react-slick": "^0.30.1",
|
|
77
77
|
"slick-carousel": "^1.8.1"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "80480059327cd811617e9d687b603b5e7c70f03a"
|
|
80
80
|
}
|