@citygross/components 0.13.4 → 0.13.5
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.
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const BoxContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
3
|
background: string;
|
|
3
|
-
rounded?: boolean;
|
|
4
|
-
padding?: number;
|
|
5
|
-
paddingVertical?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const BoxContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TBoxContainer, never>;
|
|
8
|
-
export {};
|
|
4
|
+
rounded?: boolean | undefined;
|
|
5
|
+
padding?: number | undefined;
|
|
6
|
+
paddingVertical?: number | undefined;
|
|
7
|
+
} & import("react").HTMLAttributes<HTMLDivElement>, never>;
|
|
@@ -14,7 +14,7 @@ var BoxContainer = styled__default["default"].div(templateObject_1 || (templateO
|
|
|
14
14
|
return props.padding &&
|
|
15
15
|
"\n @media (min-width: ".concat((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.breakpoints) === null || _b === void 0 ? void 0 : _b.lg, "px) {\n padding: ").concat(props.paddingVertical
|
|
16
16
|
? props.paddingVertical
|
|
17
|
-
: (_c = props.padding) !== null && _c !== void 0 ? _c : (_e = (_d = props === null || props === void 0 ? void 0 : props.theme) === null || _d === void 0 ? void 0 : _d.spacings) === null || _e === void 0 ? void 0 : _e.lg, "px ").concat(props.padding ? props.padding : (_g = (_f = props === null || props === void 0 ? void 0 : props.theme) === null || _f === void 0 ? void 0 : _f.spacings) === null || _g === void 0 ? void 0 : _g.lg, "px;\n
|
|
17
|
+
: (_c = props.padding) !== null && _c !== void 0 ? _c : (_e = (_d = props === null || props === void 0 ? void 0 : props.theme) === null || _d === void 0 ? void 0 : _d.spacings) === null || _e === void 0 ? void 0 : _e.lg, "px ").concat(props.padding ? props.padding : (_g = (_f = props === null || props === void 0 ? void 0 : props.theme) === null || _f === void 0 ? void 0 : _f.spacings) === null || _g === void 0 ? void 0 : _g.lg, "px;\n\n }\n\n padding: ").concat(props.paddingVertical ? props.paddingVertical : props.padding, "px ").concat(props.padding, "px");
|
|
18
18
|
});
|
|
19
19
|
var templateObject_1;
|
|
20
20
|
|
|
@@ -6,7 +6,7 @@ var BoxContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemp
|
|
|
6
6
|
return props.padding &&
|
|
7
7
|
"\n @media (min-width: ".concat((_b = (_a = props === null || props === void 0 ? void 0 : props.theme) === null || _a === void 0 ? void 0 : _a.breakpoints) === null || _b === void 0 ? void 0 : _b.lg, "px) {\n padding: ").concat(props.paddingVertical
|
|
8
8
|
? props.paddingVertical
|
|
9
|
-
: (_c = props.padding) !== null && _c !== void 0 ? _c : (_e = (_d = props === null || props === void 0 ? void 0 : props.theme) === null || _d === void 0 ? void 0 : _d.spacings) === null || _e === void 0 ? void 0 : _e.lg, "px ").concat(props.padding ? props.padding : (_g = (_f = props === null || props === void 0 ? void 0 : props.theme) === null || _f === void 0 ? void 0 : _f.spacings) === null || _g === void 0 ? void 0 : _g.lg, "px;\n
|
|
9
|
+
: (_c = props.padding) !== null && _c !== void 0 ? _c : (_e = (_d = props === null || props === void 0 ? void 0 : props.theme) === null || _d === void 0 ? void 0 : _d.spacings) === null || _e === void 0 ? void 0 : _e.lg, "px ").concat(props.padding ? props.padding : (_g = (_f = props === null || props === void 0 ? void 0 : props.theme) === null || _f === void 0 ? void 0 : _f.spacings) === null || _g === void 0 ? void 0 : _g.lg, "px;\n\n }\n\n padding: ").concat(props.paddingVertical ? props.paddingVertical : props.padding, "px ").concat(props.padding, "px");
|
|
10
10
|
});
|
|
11
11
|
var templateObject_1;
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citygross/components",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./build/cjs/components/src/index.js",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@citygross/design-tokens": "^0.2.80",
|
|
68
68
|
"@citygross/icons": "^0.3.0",
|
|
69
69
|
"@citygross/react-use-bg-wizard": "^0.0.8",
|
|
70
|
-
"@citygross/typography": "^0.0.
|
|
70
|
+
"@citygross/typography": "^0.0.114",
|
|
71
71
|
"@citygross/utils": "^0.0.43",
|
|
72
72
|
"framer-motion": "^4.1.17",
|
|
73
73
|
"moment": "^2.29.1",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"react-slick": "^0.30.1",
|
|
76
76
|
"slick-carousel": "^1.8.1"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "7a7435f04a5b91e178d11d60f7886dd947bbd6a2"
|
|
79
79
|
}
|