@citygross/components 0.14.10 → 0.14.11

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.
@@ -36,13 +36,13 @@ var Header = styled__default["default"].button(templateObject_2 || (templateObje
36
36
  return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.sm;
37
37
  });
38
38
  var Chevron = styled__default["default"].span(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n display: inline-flex;\n transition: transform 200ms ease;\n\n &[data-state='open'] {\n transform: rotate(180deg);\n }\n"], ["\n display: inline-flex;\n transition: transform 200ms ease;\n\n &[data-state='open'] {\n transform: rotate(180deg);\n }\n"])));
39
- var Content = styled__default["default"].div(templateObject_4 || (templateObject_4 = _tslib.__makeTemplateObject(["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding: ", ";\n }\n"], ["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding: ", ";\n }\n"])), function (_a) {
39
+ var Content = styled__default["default"].div(templateObject_4 || (templateObject_4 = _tslib.__makeTemplateObject(["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding-bottom: ", "px;\n }\n"], ["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding-bottom: ", "px;\n }\n"])), function (_a) {
40
40
  var maxHeight = _a.maxHeight;
41
41
  return maxHeight;
42
42
  }, function (_a) {
43
- var _b, _c, _d;
43
+ var _b;
44
44
  var theme = _a.theme;
45
- return "".concat((_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.xxxs, "px ").concat((_c = theme.spacings) === null || _c === void 0 ? void 0 : _c.xxxs, "px ").concat((_d = theme.spacings) === null || _d === void 0 ? void 0 : _d.md, "px");
45
+ return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.md;
46
46
  });
47
47
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
48
48
 
@@ -28,13 +28,13 @@ var Header = styled.button(templateObject_2 || (templateObject_2 = __makeTemplat
28
28
  return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.sm;
29
29
  });
30
30
  var Chevron = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: inline-flex;\n transition: transform 200ms ease;\n\n &[data-state='open'] {\n transform: rotate(180deg);\n }\n"], ["\n display: inline-flex;\n transition: transform 200ms ease;\n\n &[data-state='open'] {\n transform: rotate(180deg);\n }\n"])));
31
- var Content = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding: ", ";\n }\n"], ["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding: ", ";\n }\n"])), function (_a) {
31
+ var Content = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding-bottom: ", "px;\n }\n"], ["\n max-height: ", "px;\n opacity: 0;\n overflow: hidden;\n transition:\n max-height 220ms ease,\n opacity 200ms ease;\n\n &[data-state='open'] {\n opacity: 1;\n padding-bottom: ", "px;\n }\n"])), function (_a) {
32
32
  var maxHeight = _a.maxHeight;
33
33
  return maxHeight;
34
34
  }, function (_a) {
35
- var _b, _c, _d;
35
+ var _b;
36
36
  var theme = _a.theme;
37
- return "".concat((_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.xxxs, "px ").concat((_c = theme.spacings) === null || _c === void 0 ? void 0 : _c.xxxs, "px ").concat((_d = theme.spacings) === null || _d === void 0 ? void 0 : _d.md, "px");
37
+ return (_b = theme.spacings) === null || _b === void 0 ? void 0 : _b.md;
38
38
  });
39
39
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components",
3
- "version": "0.14.10",
3
+ "version": "0.14.11",
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": "822588c6912e465a8b58603bdc8bf5c7bf0c8bd6"
78
+ "gitHead": "244f117122954be99ba89d7ce484f3faf849f408"
79
79
  }