@citygross/components 0.16.3 → 0.16.4
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/CartCardLabel/CartCardLabel.d.ts +1 -1
- package/build/@types/components/CartCardLabel/CartCardLabel.styles.d.ts +1 -1
- package/build/cjs/components/src/components/CartCardLabel/CartCardLabel.styles.js +20 -4
- package/build/cjs/components/src/components/CartCardLabel/CartCardLabel.styles.js.map +1 -1
- package/build/es/components/src/components/CartCardLabel/CartCardLabel.styles.js +20 -4
- package/build/es/components/src/components/CartCardLabel/CartCardLabel.styles.js.map +1 -1
- package/package.json +2 -2
|
@@ -9,10 +9,26 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
9
9
|
|
|
10
10
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
11
11
|
|
|
12
|
-
var CartCardLabel = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n padding: 1px ", "px;\n border-radius: ", "px;\n ", "
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
var CartCardLabel = styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n padding: 1px ", "px;\n border-radius: ", "px;\n background: ", ";\n color: ", ";\n font-size: 11px;\n display: inline-block;\n font-weight: ", ";\n"], ["\n padding: 1px ", "px;\n border-radius: ", "px;\n background: ", ";\n color: ", ";\n font-size: 11px;\n display: inline-block;\n font-weight: ", ";\n"])), function (_a) {
|
|
13
|
+
var _b;
|
|
14
|
+
var theme = _a.theme;
|
|
15
|
+
return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.xxs;
|
|
16
|
+
}, function (_a) {
|
|
17
|
+
var _b;
|
|
18
|
+
var theme = _a.theme;
|
|
19
|
+
return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.xxxs;
|
|
20
|
+
}, function (_a) {
|
|
21
|
+
var _b;
|
|
22
|
+
var background = _a.background, theme = _a.theme;
|
|
23
|
+
return background !== null && background !== void 0 ? background : (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.lighter;
|
|
24
|
+
}, function (_a) {
|
|
25
|
+
var _b, _c;
|
|
26
|
+
var background = _a.background, theme = _a.theme;
|
|
27
|
+
return background ? (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.white : (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.disabledDarkGray;
|
|
28
|
+
}, function (_a) {
|
|
29
|
+
var _b, _c;
|
|
30
|
+
var theme = _a.theme;
|
|
31
|
+
return (_c = (_b = theme.typography) === null || _b === void 0 ? void 0 : _b.weight) === null || _c === void 0 ? void 0 : _c.medium;
|
|
16
32
|
});
|
|
17
33
|
var templateObject_1;
|
|
18
34
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartCardLabel.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CartCardLabel.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
|
|
4
|
-
var CartCardLabel = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 1px ", "px;\n border-radius: ", "px;\n ", "
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var CartCardLabel = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 1px ", "px;\n border-radius: ", "px;\n background: ", ";\n color: ", ";\n font-size: 11px;\n display: inline-block;\n font-weight: ", ";\n"], ["\n padding: 1px ", "px;\n border-radius: ", "px;\n background: ", ";\n color: ", ";\n font-size: 11px;\n display: inline-block;\n font-weight: ", ";\n"])), function (_a) {
|
|
5
|
+
var _b;
|
|
6
|
+
var theme = _a.theme;
|
|
7
|
+
return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.xxs;
|
|
8
|
+
}, function (_a) {
|
|
9
|
+
var _b;
|
|
10
|
+
var theme = _a.theme;
|
|
11
|
+
return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.xxxs;
|
|
12
|
+
}, function (_a) {
|
|
13
|
+
var _b;
|
|
14
|
+
var background = _a.background, theme = _a.theme;
|
|
15
|
+
return background !== null && background !== void 0 ? background : (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.lighter;
|
|
16
|
+
}, function (_a) {
|
|
17
|
+
var _b, _c;
|
|
18
|
+
var background = _a.background, theme = _a.theme;
|
|
19
|
+
return background ? (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.white : (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.disabledDarkGray;
|
|
20
|
+
}, function (_a) {
|
|
21
|
+
var _b, _c;
|
|
22
|
+
var theme = _a.theme;
|
|
23
|
+
return (_c = (_b = theme.typography) === null || _b === void 0 ? void 0 : _b.weight) === null || _c === void 0 ? void 0 : _c.medium;
|
|
8
24
|
});
|
|
9
25
|
var templateObject_1;
|
|
10
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartCardLabel.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CartCardLabel.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citygross/components",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./build/cjs/components/src/index.js",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"react-slick": "^0.30.1",
|
|
76
76
|
"slick-carousel": "^1.8.1"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "3fa2d3e0f7e56056c83334b697b287c1829ea0ad"
|
|
79
79
|
}
|