@citygross/components 0.7.189 → 0.7.190

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.
@@ -72,3 +72,4 @@ export * from './components/MenuListItem/MenuListItem';
72
72
  export * from './components/SlideInOutContainer/SlideInOutContainer';
73
73
  export * from './components/SearchSuggestionChip/SearchSuggestionChip';
74
74
  export * from './components/ZipCodeInput/ZipCodeInput';
75
+ export * from './components/MaxHeightText/MaxHeightText';
@@ -86,6 +86,7 @@ require('../MenuListItem/MenuListItem.styles.js');
86
86
  require('../SlideInOutContainer/SlideInOutContainer.styles.js');
87
87
  require('../SearchSuggestionChip/SearchSuggestionChip.styles.js');
88
88
  require('../ZipCodeInput/ZipCodeInput.styles.js');
89
+ require('../MaxHeightText/styles.js');
89
90
 
90
91
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
91
92
 
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var _tslib = require('../../../../_virtual/_tslib.js');
4
+ var styled = require('styled-components');
5
+
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
9
+
10
+ styled__default["default"].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"])), function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; });
11
+ styled__default["default"].div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n max-height: ", ";\n overflow: hidden;\n position: relative;\n"], ["\n max-height: ", ";\n overflow: hidden;\n position: relative;\n"])), function (props) { return ((props === null || props === void 0 ? void 0 : props.maxHeight) ? "".concat(props === null || props === void 0 ? void 0 : props.maxHeight, "px") : 'auto'); });
12
+ styled__default["default"].div(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: ", "px;\n background: linear-gradient(\n ", "\n );\n"], ["\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: ", "px;\n background: linear-gradient(\n ", "\n );\n"])), function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.constants) === null || _b === void 0 ? void 0 : _b.maxHeightFaderHeight; }, function (props) { var _a, _b, _c, _d; return "".concat((_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.transparent, ", ").concat((_d = (_c = props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.lightest); });
13
+ var templateObject_1, templateObject_2, templateObject_3;
14
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -86,6 +86,7 @@ require('../MenuListItem/MenuListItem.styles.js');
86
86
  require('../SlideInOutContainer/SlideInOutContainer.styles.js');
87
87
  require('../SearchSuggestionChip/SearchSuggestionChip.styles.js');
88
88
  require('../ZipCodeInput/ZipCodeInput.styles.js');
89
+ require('../MaxHeightText/styles.js');
89
90
 
90
91
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
91
92
 
@@ -1 +1 @@
1
- {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -79,6 +79,9 @@ var MenuListItem = require('./components/MenuListItem/MenuListItem.js');
79
79
  var SlideInOutContainer = require('./components/SlideInOutContainer/SlideInOutContainer.js');
80
80
  var SearchSuggestionChip = require('./components/SearchSuggestionChip/SearchSuggestionChip.js');
81
81
  var ZipCodeInput = require('./components/ZipCodeInput/ZipCodeInput.js');
82
+ require('react');
83
+ require('./components/MaxHeightText/styles.js');
84
+ require('@citygross/typography');
82
85
 
83
86
 
84
87
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -82,6 +82,7 @@ import '../MenuListItem/MenuListItem.styles.js';
82
82
  import '../SlideInOutContainer/SlideInOutContainer.styles.js';
83
83
  import '../SearchSuggestionChip/SearchSuggestionChip.styles.js';
84
84
  import '../ZipCodeInput/ZipCodeInput.styles.js';
85
+ import '../MaxHeightText/styles.js';
85
86
 
86
87
  function AddressBlock(_a) {
87
88
  var _b = _a.deliverOption, deliverOption = _b === void 0 ? 'Address' : _b, icon = _a.icon, storeName = _a.storeName, customerName = _a.customerName, street = _a.street, zipCode = _a.zipCode, city = _a.city, doorCode = _a.doorCode, floor = _a.floor, deliveryInstructions = _a.deliveryInstructions, xsSpacing = _a.xsSpacing, lgSpacing = _a.lgSpacing;
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+
4
+ styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", "px;\n"])), function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.spacings) === null || _b === void 0 ? void 0 : _b.xs; });
5
+ styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n max-height: ", ";\n overflow: hidden;\n position: relative;\n"], ["\n max-height: ", ";\n overflow: hidden;\n position: relative;\n"])), function (props) { return ((props === null || props === void 0 ? void 0 : props.maxHeight) ? "".concat(props === null || props === void 0 ? void 0 : props.maxHeight, "px") : 'auto'); });
6
+ styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: ", "px;\n background: linear-gradient(\n ", "\n );\n"], ["\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: ", "px;\n background: linear-gradient(\n ", "\n );\n"])), function (props) { var _a, _b; return (_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.constants) === null || _b === void 0 ? void 0 : _b.maxHeightFaderHeight; }, function (props) { var _a, _b, _c, _d; return "".concat((_b = (_a = props.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.transparent, ", ").concat((_d = (_c = props.theme) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0 ? void 0 : _d.lightest); });
7
+ var templateObject_1, templateObject_2, templateObject_3;
8
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -82,6 +82,7 @@ import '../MenuListItem/MenuListItem.styles.js';
82
82
  import '../SlideInOutContainer/SlideInOutContainer.styles.js';
83
83
  import '../SearchSuggestionChip/SearchSuggestionChip.styles.js';
84
84
  import '../ZipCodeInput/ZipCodeInput.styles.js';
85
+ import '../MaxHeightText/styles.js';
85
86
 
86
87
  function WarningLabel(_a) {
87
88
  var children = _a.children, background = _a.background, toolTip = _a.toolTip;
@@ -1 +1 @@
1
- {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -75,4 +75,7 @@ export { MenuListItem } from './components/MenuListItem/MenuListItem.js';
75
75
  export { SlideInOutContainer } from './components/SlideInOutContainer/SlideInOutContainer.js';
76
76
  export { SearchSuggestionChip } from './components/SearchSuggestionChip/SearchSuggestionChip.js';
77
77
  export { ZipCodeInput } from './components/ZipCodeInput/ZipCodeInput.js';
78
+ import 'react';
79
+ import './components/MaxHeightText/styles.js';
80
+ import '@citygross/typography';
78
81
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components",
3
- "version": "0.7.189",
3
+ "version": "0.7.190",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./build/cjs/components/src/index.js",
@@ -71,5 +71,5 @@
71
71
  "moment": "^2.29.1",
72
72
  "react-loading-skeleton": "^2.2.0"
73
73
  },
74
- "gitHead": "22598dcaaedca69ae114f30311d6827fe1831a05"
74
+ "gitHead": "07aaa0ba50be215f0deb3914e8f4def7cbb59c6f"
75
75
  }