@citygross/components 0.21.2 → 0.21.3

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.
@@ -18,13 +18,13 @@ var PartnerOffer = styled__default["default"].article(templateObject_1 || (templ
18
18
  var theme = _a.theme;
19
19
  return (_b = theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.small;
20
20
  });
21
- var ImageWrapper = styled__default["default"].div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n aspect-ratio: 27 / 9;\n border-radius: ", ";\n overflow: hidden;\n position: relative;\n width: 100%;\n"], ["\n aspect-ratio: 27 / 9;\n border-radius: ", ";\n overflow: hidden;\n position: relative;\n width: 100%;\n"])), function (_a) {
21
+ var ImageWrapper = styled__default["default"].div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n border-radius: ", ";\n overflow: hidden;\n width: 100%;\n"], ["\n border-radius: ", ";\n overflow: hidden;\n width: 100%;\n"])), function (_a) {
22
22
  var _b, _c;
23
23
  var theme = _a.theme;
24
24
  return "".concat((_b = theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.small, "px ").concat((_c = theme.attributes) === null || _c === void 0 ? void 0 : _c.borderRadius.small, "px 0 0");
25
25
  });
26
- var Picture = styled__default["default"].picture(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n display: block;\n height: 100%;\n width: 100%;\n"], ["\n display: block;\n height: 100%;\n width: 100%;\n"])));
27
- var Image = styled__default["default"].img(templateObject_4 || (templateObject_4 = _tslib.__makeTemplateObject(["\n display: block;\n height: 100%;\n object-fit: cover;\n width: 100%;\n"], ["\n display: block;\n height: 100%;\n object-fit: cover;\n width: 100%;\n"])));
26
+ var Picture = styled__default["default"].picture(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n display: block;\n width: 100%;\n"], ["\n display: block;\n width: 100%;\n"])));
27
+ var Image = styled__default["default"].img(templateObject_4 || (templateObject_4 = _tslib.__makeTemplateObject(["\n display: block;\n height: auto;\n width: 100%;\n"], ["\n display: block;\n height: auto;\n width: 100%;\n"])));
28
28
  var Content = styled__default["default"].div(templateObject_5 || (templateObject_5 = _tslib.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n padding: ", ";\n"])), function (_a) {
29
29
  var _b;
30
30
  var theme = _a.theme;
@@ -10,13 +10,13 @@ var PartnerOffer = styled.article(templateObject_1 || (templateObject_1 = __make
10
10
  var theme = _a.theme;
11
11
  return (_b = theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.small;
12
12
  });
13
- var ImageWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n aspect-ratio: 27 / 9;\n border-radius: ", ";\n overflow: hidden;\n position: relative;\n width: 100%;\n"], ["\n aspect-ratio: 27 / 9;\n border-radius: ", ";\n overflow: hidden;\n position: relative;\n width: 100%;\n"])), function (_a) {
13
+ var ImageWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: ", ";\n overflow: hidden;\n width: 100%;\n"], ["\n border-radius: ", ";\n overflow: hidden;\n width: 100%;\n"])), function (_a) {
14
14
  var _b, _c;
15
15
  var theme = _a.theme;
16
16
  return "".concat((_b = theme.attributes) === null || _b === void 0 ? void 0 : _b.borderRadius.small, "px ").concat((_c = theme.attributes) === null || _c === void 0 ? void 0 : _c.borderRadius.small, "px 0 0");
17
17
  });
18
- var Picture = styled.picture(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n height: 100%;\n width: 100%;\n"], ["\n display: block;\n height: 100%;\n width: 100%;\n"])));
19
- var Image = styled.img(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: block;\n height: 100%;\n object-fit: cover;\n width: 100%;\n"], ["\n display: block;\n height: 100%;\n object-fit: cover;\n width: 100%;\n"])));
18
+ var Picture = styled.picture(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n width: 100%;\n"], ["\n display: block;\n width: 100%;\n"])));
19
+ var Image = styled.img(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: block;\n height: auto;\n width: 100%;\n"], ["\n display: block;\n height: auto;\n width: 100%;\n"])));
20
20
  var Content = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n padding: ", ";\n"])), function (_a) {
21
21
  var _b;
22
22
  var theme = _a.theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components",
3
- "version": "0.21.2",
3
+ "version": "0.21.3",
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": "c93ef26954c59a6604f9941a859f635cc141d8a4"
79
+ "gitHead": "c00850afb30cbc8e22ea7d906bc5c4c60d00e282"
80
80
  }