@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.
@@ -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 = index$1.useWindowSize().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 = useWindowSize_1().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",
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": "871efff384b8e97ff2f1a045cf27daea2b803921"
79
+ "gitHead": "ab404b0d9d2f9f6fdfa63e5e1efefbe8d6bcafd3"
80
80
  }
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var build = {};
6
-
7
- exports.__exports = build;
8
- //# sourceMappingURL=index2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}