@citygross/components 0.17.3 → 0.17.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/cjs/components/src/components/AddressBlock/AddressBlock.js +0 -1
- package/build/cjs/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
- package/build/cjs/components/src/containers/TwoColumnsContainer/TwoColumnsPageContainer.js +2 -2
- package/build/es/components/src/components/AddressBlock/AddressBlock.js +0 -1
- package/build/es/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
- package/build/es/components/src/containers/TwoColumnsContainer/TwoColumnsPageContainer.js +2 -2
- package/package.json +2 -2
- package/build/cjs/_virtual/index2.js +0 -8
- package/build/cjs/_virtual/index2.js.map +0 -1
- package/build/cjs/utils/build/index.js +0 -641
- package/build/cjs/utils/build/index.js.map +0 -1
- package/build/es/_virtual/index2.js +0 -4
- package/build/es/_virtual/index2.js.map +0 -1
- package/build/es/utils/build/index.js +0 -631
- package/build/es/utils/build/index.js.map +0 -1
|
@@ -111,7 +111,6 @@ require('../UnorderedList/UnorderedList.styles.js');
|
|
|
111
111
|
require('../WarningLabel/WarningLabel.styles.js');
|
|
112
112
|
require('../ZipCodeInput/ZipCodeInput.styles.js');
|
|
113
113
|
require('../../containers/PageContainer/PageContainer.styles.js');
|
|
114
|
-
require('../../../../utils/build/index.js');
|
|
115
114
|
require('../../containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js');
|
|
116
115
|
|
|
117
116
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _tslib = require('../../../../_virtual/_tslib.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
+
var utils = require('@citygross/utils');
|
|
7
8
|
var index = require('../../../../design-tokens/build/index.js');
|
|
8
|
-
var index$1 = require('../../../../utils/build/index.js');
|
|
9
9
|
var Collapsable = require('../../components/Collapsable/Collapsable.js');
|
|
10
10
|
var TwoColumnsPageContainer_styles = require('./TwoColumnsPageContainer.styles.js');
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
16
16
|
var TwoColumnsPageContainer = function (_a) {
|
|
17
17
|
var _b, _c;
|
|
18
18
|
var _d = _a.rightColumnWidth, rightColumnWidth = _d === void 0 ? 30 : _d, leftColumn = _a.leftColumn, rightColumn = _a.rightColumn, containerBackground = _a.containerBackground, rightColumnCollapsebleHeader = _a.rightColumnCollapsebleHeader, hideRightColumnBefore = _a.hideRightColumnBefore, _e = _a.breakpoint, breakpoint = _e === void 0 ? (_b = index.theme.breakpoints) === null || _b === void 0 ? void 0 : _b.xl : _e, _f = _a.noCollapsable, noCollapsable = _f === void 0 ? false : _f, props = _tslib.__rest(_a, ["rightColumnWidth", "leftColumn", "rightColumn", "containerBackground", "rightColumnCollapsebleHeader", "hideRightColumnBefore", "breakpoint", "noCollapsable"]);
|
|
19
|
-
var width =
|
|
19
|
+
var width = utils.useWindowSize().width;
|
|
20
20
|
return (React__default["default"].createElement(TwoColumnsPageContainer_styles.Container, _tslib.__assign({ background: containerBackground }, props),
|
|
21
21
|
React__default["default"].createElement(TwoColumnsPageContainer_styles.ColumnWraper, { noCollapsable: noCollapsable },
|
|
22
22
|
React__default["default"].createElement(TwoColumnsPageContainer_styles.LeftColumn, null, leftColumn),
|
|
@@ -107,7 +107,6 @@ import '../UnorderedList/UnorderedList.styles.js';
|
|
|
107
107
|
import '../WarningLabel/WarningLabel.styles.js';
|
|
108
108
|
import '../ZipCodeInput/ZipCodeInput.styles.js';
|
|
109
109
|
import '../../containers/PageContainer/PageContainer.styles.js';
|
|
110
|
-
import '../../../../utils/build/index.js';
|
|
111
110
|
import '../../containers/TwoColumnsContainer/TwoColumnsPageContainer.styles.js';
|
|
112
111
|
|
|
113
112
|
function AddressBlock(_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __rest, __assign } from '../../../../_virtual/_tslib.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { useWindowSize } from '@citygross/utils';
|
|
3
4
|
import { theme as theme_1 } from '../../../../design-tokens/build/index.js';
|
|
4
|
-
import { useWindowSize as useWindowSize_1 } from '../../../../utils/build/index.js';
|
|
5
5
|
import { Collapsable } from '../../components/Collapsable/Collapsable.js';
|
|
6
6
|
import { Container, ColumnWraper, LeftColumn, RightColumn } from './TwoColumnsPageContainer.styles.js';
|
|
7
7
|
|
|
8
8
|
var TwoColumnsPageContainer = function (_a) {
|
|
9
9
|
var _b, _c;
|
|
10
10
|
var _d = _a.rightColumnWidth, rightColumnWidth = _d === void 0 ? 30 : _d, leftColumn = _a.leftColumn, rightColumn = _a.rightColumn, containerBackground = _a.containerBackground, rightColumnCollapsebleHeader = _a.rightColumnCollapsebleHeader, hideRightColumnBefore = _a.hideRightColumnBefore, _e = _a.breakpoint, breakpoint = _e === void 0 ? (_b = theme_1.breakpoints) === null || _b === void 0 ? void 0 : _b.xl : _e, _f = _a.noCollapsable, noCollapsable = _f === void 0 ? false : _f, props = __rest(_a, ["rightColumnWidth", "leftColumn", "rightColumn", "containerBackground", "rightColumnCollapsebleHeader", "hideRightColumnBefore", "breakpoint", "noCollapsable"]);
|
|
11
|
-
var width =
|
|
11
|
+
var width = useWindowSize().width;
|
|
12
12
|
return (React.createElement(Container, __assign({ background: containerBackground }, props),
|
|
13
13
|
React.createElement(ColumnWraper, { noCollapsable: noCollapsable },
|
|
14
14
|
React.createElement(LeftColumn, null, leftColumn),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citygross/components",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.4",
|
|
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": "ab404b0d9d2f9f6fdfa63e5e1efefbe8d6bcafd3"
|
|
80
80
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|