@citygross/components 0.7.62 → 0.7.66

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.
Files changed (42) hide show
  1. package/build/@types/components/Chips/Chip.d.ts +1 -1
  2. package/build/@types/components/Chips/Chip.styles.d.ts +2 -1
  3. package/build/@types/components/Links/Link.d.ts +2 -2
  4. package/build/@types/components/Links/Link.stories.d.ts +5 -5
  5. package/build/@types/components/Links/Link.styles.d.ts +2 -2
  6. package/build/@types/components/ProgressBar/ProgressBar.d.ts +7 -0
  7. package/build/@types/components/ProgressBar/ProgressBar.stories.d.ts +28 -0
  8. package/build/@types/components/ProgressBar/ProgressBar.styled.d.ts +10 -0
  9. package/build/@types/index.d.ts +1 -0
  10. package/build/cjs/components/src/components/AddressBlock/AddressBlock.js +2 -1
  11. package/build/cjs/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
  12. package/build/cjs/components/src/components/Chips/Chip.js +6 -6
  13. package/build/cjs/components/src/components/Chips/Chip.styles.js +4 -5
  14. package/build/cjs/components/src/components/Chips/Chip.styles.js.map +1 -1
  15. package/build/cjs/components/src/components/DeliverySlotItem/DeliverySlotItem.js +9 -2
  16. package/build/cjs/components/src/components/DeliverySlotItem/DeliverySlotItem.js.map +1 -1
  17. package/build/cjs/components/src/components/Links/Link.js +2 -2
  18. package/build/cjs/components/src/components/ProgressBar/ProgressBar.js +22 -0
  19. package/build/cjs/components/src/components/ProgressBar/ProgressBar.js.map +1 -0
  20. package/build/cjs/components/src/components/ProgressBar/ProgressBar.styled.js +18 -0
  21. package/build/cjs/components/src/components/ProgressBar/ProgressBar.styled.js.map +1 -0
  22. package/build/cjs/components/src/components/WarningLabel/WarningLabel.js +2 -1
  23. package/build/cjs/components/src/components/WarningLabel/WarningLabel.js.map +1 -1
  24. package/build/cjs/components/src/index.js +3 -1
  25. package/build/cjs/components/src/index.js.map +1 -1
  26. package/build/es/components/src/components/AddressBlock/AddressBlock.js +2 -1
  27. package/build/es/components/src/components/AddressBlock/AddressBlock.js.map +1 -1
  28. package/build/es/components/src/components/Chips/Chip.js +6 -6
  29. package/build/es/components/src/components/Chips/Chip.styles.js +4 -5
  30. package/build/es/components/src/components/Chips/Chip.styles.js.map +1 -1
  31. package/build/es/components/src/components/DeliverySlotItem/DeliverySlotItem.js +9 -2
  32. package/build/es/components/src/components/DeliverySlotItem/DeliverySlotItem.js.map +1 -1
  33. package/build/es/components/src/components/Links/Link.js +2 -2
  34. package/build/es/components/src/components/ProgressBar/ProgressBar.js +14 -0
  35. package/build/es/components/src/components/ProgressBar/ProgressBar.js.map +1 -0
  36. package/build/es/components/src/components/ProgressBar/ProgressBar.styled.js +9 -0
  37. package/build/es/components/src/components/ProgressBar/ProgressBar.styled.js.map +1 -0
  38. package/build/es/components/src/components/WarningLabel/WarningLabel.js +2 -1
  39. package/build/es/components/src/components/WarningLabel/WarningLabel.js.map +1 -1
  40. package/build/es/components/src/index.js +2 -1
  41. package/build/es/components/src/index.js.map +1 -1
  42. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
1
  import * as styles from './Chip.styles';
2
- export declare function Chip({ label, checked, onClick, background, activeBackground }: styles.TChip): JSX.Element;
2
+ export declare function Chip({ label, checked, onClick, background, activeBackground, loading }: styles.TChip): JSX.Element;
@@ -5,8 +5,9 @@ export declare type TChip = {
5
5
  onClick: () => void;
6
6
  background?: string;
7
7
  activeBackground?: string;
8
+ loading?: boolean;
8
9
  };
9
- export declare const BaseChip: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, import("styled-components").DefaultTheme, TChip, never>;
10
+ export declare const BaseChip: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TChip, never>;
10
11
  export declare const ChipCheckbox: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
11
12
  export declare const ChipLabel: import("styled-components").StyledComponent<({ size, color, children, lineThrough, fontWeight, ...props }: {
12
13
  children: import("react").ReactNode;
@@ -8,7 +8,7 @@ export declare enum LinkColors {
8
8
  'link' = 0,
9
9
  'black' = 1
10
10
  }
11
- export declare type TLinkButton = {
11
+ export declare type TLink = {
12
12
  size?: TextTypes.TextSize;
13
13
  center?: boolean;
14
14
  color?: keyof typeof LinkColors;
@@ -20,4 +20,4 @@ export declare type TLinkButton = {
20
20
  icon?: JSX.Element;
21
21
  textDecoration?: 'none' | 'underline';
22
22
  };
23
- export declare function LinkButton({ center, color, isDisabled, noWrap, onClick, hrefPath, icon, textDecoration, size, children }: TLinkButton): JSX.Element;
23
+ export declare function Link({ center, color, isDisabled, noWrap, onClick, hrefPath, icon, textDecoration, size, children }: TLink): JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import { Story } from '@storybook/react';
2
- import { LinkButton, TLinkButton } from './Link';
2
+ import { Link, TLink } from './Link';
3
3
  import { TextTypes } from '@citygross/typography';
4
4
  declare const _default: {
5
- component: typeof LinkButton;
5
+ component: typeof Link;
6
6
  title: string;
7
7
  argsTypes: {
8
8
  size: {
@@ -14,6 +14,6 @@ declare const _default: {
14
14
  };
15
15
  };
16
16
  export default _default;
17
- export declare const Default: Story<TLinkButton>;
18
- export declare const SecondaryLink: Story<TLinkButton>;
19
- export declare const WithIcon: Story<TLinkButton>;
17
+ export declare const Default: Story<TLink>;
18
+ export declare const SecondaryLink: Story<TLink>;
19
+ export declare const WithIcon: Story<TLink>;
@@ -1,5 +1,5 @@
1
- import { TLinkButton } from './Link';
2
- export declare const BaseLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, Omit<TLinkButton, "color"> & {
1
+ import { TLink } from './Link';
2
+ export declare const BaseLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, Omit<TLink, "color"> & {
3
3
  color: string;
4
4
  }, never>;
5
5
  export declare const IconWrapper: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,7 @@
1
+ export declare type TProgressBar = {
2
+ maxValue: number;
3
+ currentValue: number;
4
+ background?: string;
5
+ color?: string;
6
+ };
7
+ export declare function ProgressBar({ maxValue, currentValue, background, color }: TProgressBar): JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { Story } from '@storybook/react';
2
+ import { ProgressBar, TProgressBar } from './ProgressBar';
3
+ declare const _default: {
4
+ component: typeof ProgressBar;
5
+ title: string;
6
+ argTypes: {
7
+ background: {
8
+ options: string[];
9
+ mapping: import("@citygross/design-tokens").Palette | never[];
10
+ control: {
11
+ type: string;
12
+ };
13
+ };
14
+ color: {
15
+ options: string[];
16
+ mapping: import("@citygross/design-tokens").Palette | never[];
17
+ control: {
18
+ type: string;
19
+ };
20
+ };
21
+ };
22
+ args: {
23
+ maxValue: number;
24
+ currentValue: number;
25
+ };
26
+ };
27
+ export default _default;
28
+ export declare const Default: Story<TProgressBar>;
@@ -0,0 +1,10 @@
1
+ export declare type TProgressContainer = {
2
+ color?: string;
3
+ };
4
+ export declare type TProgress = TProgressContainer & {
5
+ width: number;
6
+ };
7
+ export declare const BarContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TProgressContainer, never>;
8
+ export declare const Progress: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TProgressContainer & {
9
+ width: number;
10
+ }, never>;
@@ -41,6 +41,7 @@ export * from './components/Modal/Modal';
41
41
  export * from './components/RadioBox';
42
42
  export * from './components/RadioGroup';
43
43
  export * from './components/RadioListItem/RadioListItem';
44
+ export * from './components/ProgressBar/ProgressBar';
44
45
  export * from './components/RippleContainer/RippleContainer';
45
46
  export * from './components/Select/Select';
46
47
  export * from './components/Spacer/Spacer';
@@ -25,7 +25,8 @@ function AddressBlock(_a) {
25
25
  " ",
26
26
  city),
27
27
  (doorCode || floor) && (React__default['default'].createElement(typography.BodyText, null,
28
- doorCode && doorCode + ',',
28
+ doorCode && doorCode,
29
+ doorCode && floor && ',',
29
30
  " ",
30
31
  floor))));
31
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -7,18 +7,18 @@ var Icon = require('@citygross/icons');
7
7
  var typography = require('@citygross/typography');
8
8
  var Chip_styles = require('./Chip.styles.js');
9
9
  var designTokens = require('@citygross/design-tokens');
10
+ var Spinner = require('../Spinner/Spinner.js');
10
11
 
11
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
12
13
 
13
14
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
15
 
15
16
  function Chip(_a) {
16
- var _b, _c, _d, _e, _f;
17
- var label = _a.label, checked = _a.checked, onClick = _a.onClick, _g = _a.background, background = _g === void 0 ? (_b = designTokens.theme.palette) === null || _b === void 0 ? void 0 : _b.lighter : _g, _h = _a.activeBackground, activeBackground = _h === void 0 ? (_c = designTokens.theme.palette) === null || _c === void 0 ? void 0 : _c.white : _h;
18
- return (React__default['default'].createElement(Chip_styles.BaseChip, { checked: checked, onClick: onClick, background: background, activeBackground: activeBackground, whileHover: { scale: (_d = designTokens.theme.animations) === null || _d === void 0 ? void 0 : _d.hoverScale }, whileTap: { scale: (_e = designTokens.theme.animations) === null || _e === void 0 ? void 0 : _e.tapScale } },
19
- checked
20
- ? (React__default['default'].createElement(Icon.Icons.CheckMark, { color: (_f = designTokens.theme === null || designTokens.theme === void 0 ? void 0 : designTokens.theme.palette) === null || _f === void 0 ? void 0 : _f.alertGreen, width: 12, height: 12, viewBox: '0 0 25 25' }))
21
- : (React__default['default'].createElement(Chip_styles.ChipCheckbox, null)),
17
+ var _b, _c, _d;
18
+ var label = _a.label, checked = _a.checked, onClick = _a.onClick, _e = _a.background, background = _e === void 0 ? (_b = designTokens.theme.palette) === null || _b === void 0 ? void 0 : _b.lighter : _e, _f = _a.activeBackground, activeBackground = _f === void 0 ? (_c = designTokens.theme.palette) === null || _c === void 0 ? void 0 : _c.white : _f, loading = _a.loading;
19
+ return (React__default['default'].createElement(Chip_styles.BaseChip, { checked: checked, onClick: onClick, background: background, activeBackground: activeBackground, loading: loading },
20
+ loading ? (React__default['default'].createElement(Spinner.Spinner, { size: 12 })) : (React__default['default'].createElement(React__default['default'].Fragment, null, checked ? (React__default['default'].createElement(Chip_styles.ChipCheckbox, null,
21
+ React__default['default'].createElement(Icon.Icons.CheckMark, { color: (_d = designTokens.theme === null || designTokens.theme === void 0 ? void 0 : designTokens.theme.palette) === null || _d === void 0 ? void 0 : _d.alertGreen, width: 12, height: 12, viewBox: '0 0 25 25' }))) : (React__default['default'].createElement(Chip_styles.ChipCheckbox, null)))),
22
22
  React__default['default'].createElement(Chip_styles.ChipLabel, { forwardedAs: 'label', size: typography.TextTypes.TextSize.SMALL }, label)));
23
23
  }
24
24
 
@@ -5,22 +5,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _tslib = require('../../../../_virtual/_tslib.js');
6
6
  var styled = require('styled-components');
7
7
  var typography = require('@citygross/typography');
8
- var framerMotion = require('framer-motion');
9
8
 
10
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
10
 
12
11
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
13
12
 
14
- var BaseChip = styled__default['default'](framerMotion.motion.div)(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) {
13
+ var BaseChip = styled__default['default'].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) {
15
14
  return props.checked
16
15
  ? props.activeBackground && props.activeBackground
17
16
  : props.background && props.background;
18
17
  }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) {
19
- var _a, _b;
18
+ var _a;
20
19
  return props.checked &&
21
- "box-shadow: 0 0 0 1px inset " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.alertGreen) + ", 0px 2px 5px " + ((_b = props.theme.palette) === null || _b === void 0 ? void 0 : _b.boxShadowActive);
20
+ "box-shadow: 0 0 0 1px inset " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.alertGreen);
22
21
  });
23
- var ChipCheckbox = styled__default['default'].span(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"], ["\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.extraSmall; });
22
+ var ChipCheckbox = styled__default['default'].span(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n display: flex;\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"], ["\n display: flex;\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.extraSmall; });
24
23
  var ChipLabel = styled__default['default'](typography.BodyText)(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n pointer-events: none;\n"], ["\n pointer-events: none;\n"])));
25
24
  var templateObject_1, templateObject_2, templateObject_3;
26
25
 
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Chip.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -60,16 +60,23 @@ function DeliverySlotItem(_a) {
60
60
  var options = {
61
61
  root: null,
62
62
  rootMargin: '0px',
63
- threshold: 0.99
63
+ threshold: 0.9
64
64
  };
65
65
  React.useEffect(function () {
66
+ if (!('IntersectionObserver' in window) ||
67
+ !('IntersectionObserverEntry' in window) ||
68
+ !('intersectionRatio' in window.IntersectionObserverEntry.prototype)) {
69
+ return;
70
+ }
66
71
  var observer = new IntersectionObserver(callbackFn, options);
67
72
  if (!observer)
68
73
  return;
69
74
  if (slotRef.current)
70
75
  observer.observe(slotRef === null || slotRef === void 0 ? void 0 : slotRef.current);
71
76
  return function () {
72
- observer.disconnect();
77
+ if (observer) {
78
+ observer.disconnect();
79
+ }
73
80
  };
74
81
  }, [slotRef, options]);
75
82
  var removeLeadingZero = function (day) { return day.replace(/^0+/, ''); };
@@ -1 +1 @@
1
- {"version":3,"file":"DeliverySlotItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DeliverySlotItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -21,12 +21,12 @@ exports.LinkColors = void 0;
21
21
  LinkColors[LinkColors["link"] = 0] = "link";
22
22
  LinkColors[LinkColors["black"] = 1] = "black";
23
23
  })(exports.LinkColors || (exports.LinkColors = {}));
24
- function LinkButton(_a) {
24
+ function Link(_a) {
25
25
  var _b = _a.center, center = _b === void 0 ? true : _b, _c = _a.color, color = _c === void 0 ? 'link' : _c, isDisabled = _a.isDisabled, noWrap = _a.noWrap, onClick = _a.onClick, hrefPath = _a.hrefPath, icon = _a.icon, _d = _a.textDecoration, textDecoration = _d === void 0 ? 'none' : _d, _e = _a.size, size = _e === void 0 ? typography.TextTypes.TextSize.REGULAR : _e, children = _a.children;
26
26
  return (React__default['default'].createElement(Link_styles.BaseLink, { center: center, color: designTokens.theme && designTokens.theme.palette ? designTokens.theme === null || designTokens.theme === void 0 ? void 0 : designTokens.theme.palette[color] : 'black', href: hrefPath, isDisabled: isDisabled, textDecoration: textDecoration, noWrap: noWrap, onClick: onClick, size: size, icon: icon },
27
27
  React__default['default'].createElement(typography.LinkText, { size: size }, children),
28
28
  icon && React__default['default'].createElement(Link_styles.IconWrapper, null, icon)));
29
29
  }
30
30
 
31
- exports.LinkButton = LinkButton;
31
+ exports.Link = Link;
32
32
  //# sourceMappingURL=Link.js.map
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var designTokens = require('@citygross/design-tokens');
6
+ var React = require('react');
7
+ var ProgressBar_styled = require('./ProgressBar.styled.js');
8
+
9
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
+
11
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
+
13
+ function ProgressBar(_a) {
14
+ var _b, _c;
15
+ var maxValue = _a.maxValue, currentValue = _a.currentValue, _d = _a.background, background = _d === void 0 ? (_b = designTokens.theme.palette) === null || _b === void 0 ? void 0 : _b.white : _d, _e = _a.color, color = _e === void 0 ? (_c = designTokens.theme.palette) === null || _c === void 0 ? void 0 : _c.alertBlue : _e;
16
+ var progress = (currentValue / maxValue) * 100;
17
+ return (React__default['default'].createElement(ProgressBar_styled.BarContainer, { color: background },
18
+ React__default['default'].createElement(ProgressBar_styled.Progress, { width: progress, color: color })));
19
+ }
20
+
21
+ exports.ProgressBar = ProgressBar;
22
+ //# sourceMappingURL=ProgressBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _tslib = require('../../../../_virtual/_tslib.js');
6
+ var styled = require('styled-components');
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
11
+
12
+ var BarContainer = styled__default['default'].div(templateObject_1 || (templateObject_1 = _tslib.__makeTemplateObject(["\n background: ", ";\n border-radius: ", "px;\n height: ", "px;\n overflow: hidden;\n"], ["\n background: ", ";\n border-radius: ", "px;\n height: ", "px;\n overflow: hidden;\n"])), function (props) { return props.color; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.default; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
13
+ var Progress = styled__default['default'].div(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n width: ", "%;\n background: ", ";\n height: 100%;\n"], ["\n width: ", "%;\n background: ", ";\n height: 100%;\n"])), function (props) { return props.width || 0; }, function (props) { return props.color; });
14
+ var templateObject_1, templateObject_2;
15
+
16
+ exports.BarContainer = BarContainer;
17
+ exports.Progress = Progress;
18
+ //# sourceMappingURL=ProgressBar.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.styled.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -20,6 +20,7 @@ require('../Box/Box.styles.js');
20
20
  require('../Button/Button.styles.js');
21
21
  require('../BackButton/BackButton.styles.js');
22
22
  require('../Chips/Chip.styles.js');
23
+ require('../Spinner/Spinner.styles.js');
23
24
  require('react-loading-skeleton');
24
25
  require('../CartItemSummary/CartItemSummary.styles.js');
25
26
  require('../Divider/Divider.styles.js');
@@ -54,9 +55,9 @@ require('../RadioBox/RadioBoxItem.styles.js');
54
55
  require('../RadioBox/RadioBoxList.styles.js');
55
56
  require('../RadioGroup/RadioGroup.styles.js');
56
57
  require('../RadioListItem/RadioListItem.styles.js');
58
+ require('../ProgressBar/ProgressBar.styled.js');
57
59
  require('../RippleContainer/RippleContainer.styles.js');
58
60
  require('../Select/Select.styles.js');
59
- require('../Spinner/Spinner.styles.js');
60
61
  require('../Stepper/Stepper.styles.js');
61
62
  var ToolTip = require('../ToolTip/ToolTip.js');
62
63
  require('../StepperMobile/StepperMobile.styles.js');
@@ -1 +1 @@
1
- {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -45,6 +45,7 @@ var RadioBoxItem = require('./components/RadioBox/RadioBoxItem.js');
45
45
  var RadioBoxList = require('./components/RadioBox/RadioBoxList.js');
46
46
  var RadioGroup = require('./components/RadioGroup/RadioGroup.js');
47
47
  var RadioListItem = require('./components/RadioListItem/RadioListItem.js');
48
+ var ProgressBar = require('./components/ProgressBar/ProgressBar.js');
48
49
  var RippleContainer = require('./components/RippleContainer/RippleContainer.js');
49
50
  var Select = require('./components/Select/Select.js');
50
51
  var Spacer = require('./components/Spacer/Spacer.js');
@@ -120,7 +121,7 @@ exports.InfoWithButtonBlock = InfoTextBlock.InfoWithButtonBlock;
120
121
  exports.LayoutBox = LayoutBox.LayoutBox;
121
122
  exports.ListItem = ListItem.ListItem;
122
123
  exports.ListItemWithRadio = ListItemWithRadio.ListItemWithRadio;
123
- exports.LinkButton = Link.LinkButton;
124
+ exports.Link = Link.Link;
124
125
  Object.defineProperty(exports, 'LinkColors', {
125
126
  enumerable: true,
126
127
  get: function () {
@@ -138,6 +139,7 @@ exports.RadioBoxItem = RadioBoxItem.RadioBoxItem;
138
139
  exports.RadioBoxList = RadioBoxList.RadioBoxList;
139
140
  exports.RadioGroup = RadioGroup.RadioGroup;
140
141
  exports.RadioListItem = RadioListItem.RadioListItem;
142
+ exports.ProgressBar = ProgressBar.ProgressBar;
141
143
  exports.RippleContainer = RippleContainer.RippleContainer;
142
144
  exports.Select = Select.Select;
143
145
  exports.Spacer = Spacer.Spacer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -17,7 +17,8 @@ function AddressBlock(_a) {
17
17
  " ",
18
18
  city),
19
19
  (doorCode || floor) && (React.createElement(BodyText, null,
20
- doorCode && doorCode + ',',
20
+ doorCode && doorCode,
21
+ doorCode && floor && ',',
21
22
  " ",
22
23
  floor))));
23
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AddressBlock.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,14 +3,14 @@ import { Icons } from '@citygross/icons';
3
3
  import { TextTypes } from '@citygross/typography';
4
4
  import { BaseChip, ChipCheckbox, ChipLabel } from './Chip.styles.js';
5
5
  import { theme } from '@citygross/design-tokens';
6
+ import { Spinner } from '../Spinner/Spinner.js';
6
7
 
7
8
  function Chip(_a) {
8
- var _b, _c, _d, _e, _f;
9
- var label = _a.label, checked = _a.checked, onClick = _a.onClick, _g = _a.background, background = _g === void 0 ? (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.lighter : _g, _h = _a.activeBackground, activeBackground = _h === void 0 ? (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.white : _h;
10
- return (React.createElement(BaseChip, { checked: checked, onClick: onClick, background: background, activeBackground: activeBackground, whileHover: { scale: (_d = theme.animations) === null || _d === void 0 ? void 0 : _d.hoverScale }, whileTap: { scale: (_e = theme.animations) === null || _e === void 0 ? void 0 : _e.tapScale } },
11
- checked
12
- ? (React.createElement(Icons.CheckMark, { color: (_f = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _f === void 0 ? void 0 : _f.alertGreen, width: 12, height: 12, viewBox: '0 0 25 25' }))
13
- : (React.createElement(ChipCheckbox, null)),
9
+ var _b, _c, _d;
10
+ var label = _a.label, checked = _a.checked, onClick = _a.onClick, _e = _a.background, background = _e === void 0 ? (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.lighter : _e, _f = _a.activeBackground, activeBackground = _f === void 0 ? (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.white : _f, loading = _a.loading;
11
+ return (React.createElement(BaseChip, { checked: checked, onClick: onClick, background: background, activeBackground: activeBackground, loading: loading },
12
+ loading ? (React.createElement(Spinner, { size: 12 })) : (React.createElement(React.Fragment, null, checked ? (React.createElement(ChipCheckbox, null,
13
+ React.createElement(Icons.CheckMark, { color: (_d = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _d === void 0 ? void 0 : _d.alertGreen, width: 12, height: 12, viewBox: '0 0 25 25' }))) : (React.createElement(ChipCheckbox, null)))),
14
14
  React.createElement(ChipLabel, { forwardedAs: 'label', size: TextTypes.TextSize.SMALL }, label)));
15
15
  }
16
16
 
@@ -1,18 +1,17 @@
1
1
  import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
2
  import styled from 'styled-components';
3
3
  import { BodyText } from '@citygross/typography';
4
- import { motion } from 'framer-motion';
5
4
 
6
- var BaseChip = styled(motion.div)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) {
5
+ var BaseChip = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", "px;\n border-radius: ", "px;\n background: ", ";\n /* static for height of chip */\n padding: ", "px\n ", "px;\n ", ";\n cursor: pointer;\n"])), function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.small; }, function (props) {
7
6
  return props.checked
8
7
  ? props.activeBackground && props.activeBackground
9
8
  : props.background && props.background;
10
9
  }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xxs; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; }, function (props) {
11
- var _a, _b;
10
+ var _a;
12
11
  return props.checked &&
13
- "box-shadow: 0 0 0 1px inset " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.alertGreen) + ", 0px 2px 5px " + ((_b = props.theme.palette) === null || _b === void 0 ? void 0 : _b.boxShadowActive);
12
+ "box-shadow: 0 0 0 1px inset " + ((_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.alertGreen);
14
13
  });
15
- var ChipCheckbox = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"], ["\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.extraSmall; });
14
+ var ChipCheckbox = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"], ["\n display: flex;\n height: ", "px;\n width: ", "px;\n background: white;\n border: 1px solid ", ";\n border-radius: ", "px;\n"])), function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.constants) === null || _a === void 0 ? void 0 : _a.chipCheckBox; }, function (props) { var _a; return (_a = props.theme.palette) === null || _a === void 0 ? void 0 : _a.medium; }, function (props) { var _a, _b; return (_b = (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius) === null || _b === void 0 ? void 0 : _b.extraSmall; });
16
15
  var ChipLabel = styled(BodyText)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n pointer-events: none;\n"], ["\n pointer-events: none;\n"])));
17
16
  var templateObject_1, templateObject_2, templateObject_3;
18
17
 
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Chip.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -52,16 +52,23 @@ function DeliverySlotItem(_a) {
52
52
  var options = {
53
53
  root: null,
54
54
  rootMargin: '0px',
55
- threshold: 0.99
55
+ threshold: 0.9
56
56
  };
57
57
  useEffect(function () {
58
+ if (!('IntersectionObserver' in window) ||
59
+ !('IntersectionObserverEntry' in window) ||
60
+ !('intersectionRatio' in window.IntersectionObserverEntry.prototype)) {
61
+ return;
62
+ }
58
63
  var observer = new IntersectionObserver(callbackFn, options);
59
64
  if (!observer)
60
65
  return;
61
66
  if (slotRef.current)
62
67
  observer.observe(slotRef === null || slotRef === void 0 ? void 0 : slotRef.current);
63
68
  return function () {
64
- observer.disconnect();
69
+ if (observer) {
70
+ observer.disconnect();
71
+ }
65
72
  };
66
73
  }, [slotRef, options]);
67
74
  var removeLeadingZero = function (day) { return day.replace(/^0+/, ''); };
@@ -1 +1 @@
1
- {"version":3,"file":"DeliverySlotItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DeliverySlotItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -13,12 +13,12 @@ var LinkColors;
13
13
  LinkColors[LinkColors["link"] = 0] = "link";
14
14
  LinkColors[LinkColors["black"] = 1] = "black";
15
15
  })(LinkColors || (LinkColors = {}));
16
- function LinkButton(_a) {
16
+ function Link(_a) {
17
17
  var _b = _a.center, center = _b === void 0 ? true : _b, _c = _a.color, color = _c === void 0 ? 'link' : _c, isDisabled = _a.isDisabled, noWrap = _a.noWrap, onClick = _a.onClick, hrefPath = _a.hrefPath, icon = _a.icon, _d = _a.textDecoration, textDecoration = _d === void 0 ? 'none' : _d, _e = _a.size, size = _e === void 0 ? TextTypes.TextSize.REGULAR : _e, children = _a.children;
18
18
  return (React.createElement(BaseLink, { center: center, color: theme && theme.palette ? theme === null || theme === void 0 ? void 0 : theme.palette[color] : 'black', href: hrefPath, isDisabled: isDisabled, textDecoration: textDecoration, noWrap: noWrap, onClick: onClick, size: size, icon: icon },
19
19
  React.createElement(LinkText, { size: size }, children),
20
20
  icon && React.createElement(IconWrapper, null, icon)));
21
21
  }
22
22
 
23
- export { LinkButton, LinkColors, LinkSize };
23
+ export { Link, LinkColors, LinkSize };
24
24
  //# sourceMappingURL=Link.js.map
@@ -0,0 +1,14 @@
1
+ import { theme } from '@citygross/design-tokens';
2
+ import React from 'react';
3
+ import { BarContainer, Progress } from './ProgressBar.styled.js';
4
+
5
+ function ProgressBar(_a) {
6
+ var _b, _c;
7
+ var maxValue = _a.maxValue, currentValue = _a.currentValue, _d = _a.background, background = _d === void 0 ? (_b = theme.palette) === null || _b === void 0 ? void 0 : _b.white : _d, _e = _a.color, color = _e === void 0 ? (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.alertBlue : _e;
8
+ var progress = (currentValue / maxValue) * 100;
9
+ return (React.createElement(BarContainer, { color: background },
10
+ React.createElement(Progress, { width: progress, color: color })));
11
+ }
12
+
13
+ export { ProgressBar };
14
+ //# sourceMappingURL=ProgressBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ import { __makeTemplateObject } from '../../../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+
4
+ var BarContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: ", ";\n border-radius: ", "px;\n height: ", "px;\n overflow: hidden;\n"], ["\n background: ", ";\n border-radius: ", "px;\n height: ", "px;\n overflow: hidden;\n"])), function (props) { return props.color; }, function (props) { var _a; return (_a = props.theme.attributes) === null || _a === void 0 ? void 0 : _a.borderRadius.default; }, function (props) { var _a; return (_a = props.theme.spacings) === null || _a === void 0 ? void 0 : _a.xs; });
5
+ var Progress = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: ", "%;\n background: ", ";\n height: 100%;\n"], ["\n width: ", "%;\n background: ", ";\n height: 100%;\n"])), function (props) { return props.width || 0; }, function (props) { return props.color; });
6
+ var templateObject_1, templateObject_2;
7
+
8
+ export { BarContainer, Progress };
9
+ //# sourceMappingURL=ProgressBar.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.styled.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -16,6 +16,7 @@ import '../Box/Box.styles.js';
16
16
  import '../Button/Button.styles.js';
17
17
  import '../BackButton/BackButton.styles.js';
18
18
  import '../Chips/Chip.styles.js';
19
+ import '../Spinner/Spinner.styles.js';
19
20
  import 'react-loading-skeleton';
20
21
  import '../CartItemSummary/CartItemSummary.styles.js';
21
22
  import '../Divider/Divider.styles.js';
@@ -50,9 +51,9 @@ import '../RadioBox/RadioBoxItem.styles.js';
50
51
  import '../RadioBox/RadioBoxList.styles.js';
51
52
  import '../RadioGroup/RadioGroup.styles.js';
52
53
  import '../RadioListItem/RadioListItem.styles.js';
54
+ import '../ProgressBar/ProgressBar.styled.js';
53
55
  import '../RippleContainer/RippleContainer.styles.js';
54
56
  import '../Select/Select.styles.js';
55
- import '../Spinner/Spinner.styles.js';
56
57
  import '../Stepper/Stepper.styles.js';
57
58
  import { ToolTip } from '../ToolTip/ToolTip.js';
58
59
  import '../StepperMobile/StepperMobile.styles.js';
@@ -1 +1 @@
1
- {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WarningLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -35,12 +35,13 @@ export { InfoWithButtonBlock } from './components/InfoTextBlock/InfoTextBlock.js
35
35
  export { LayoutBox } from './components/LayoutBox/LayoutBox.js';
36
36
  export { ListItem } from './components/ListItem/ListItem.js';
37
37
  export { ListItemWithRadio } from './components/ListItemWithRadio/ListItemWithRadio.js';
38
- export { LinkButton, LinkColors, LinkSize } from './components/Links/Link.js';
38
+ export { Link, LinkColors, LinkSize } from './components/Links/Link.js';
39
39
  export { Modal } from './components/Modal/Modal.js';
40
40
  export { RadioBoxItem } from './components/RadioBox/RadioBoxItem.js';
41
41
  export { RadioBoxList } from './components/RadioBox/RadioBoxList.js';
42
42
  export { RadioGroup } from './components/RadioGroup/RadioGroup.js';
43
43
  export { RadioListItem } from './components/RadioListItem/RadioListItem.js';
44
+ export { ProgressBar } from './components/ProgressBar/ProgressBar.js';
44
45
  export { RippleContainer } from './components/RippleContainer/RippleContainer.js';
45
46
  export { Select } from './components/Select/Select.js';
46
47
  export { Spacer } from './components/Spacer/Spacer.js';
@@ -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.62",
3
+ "version": "0.7.66",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./build/cjs/components/src/index.js",
@@ -65,11 +65,11 @@
65
65
  "@citygross/design-tokens": "^0.2.22",
66
66
  "@citygross/icons": "^0.1.3",
67
67
  "@citygross/react-use-bg-wizard": "^0.0.8",
68
- "@citygross/typography": "^0.0.50",
68
+ "@citygross/typography": "^0.0.51",
69
69
  "@citygross/utils": "^0.0.21",
70
70
  "framer-motion": "^4.1.17",
71
71
  "moment": "^2.29.1",
72
72
  "react-loading-skeleton": "^2.2.0"
73
73
  },
74
- "gitHead": "d5f7d33f07882c0a32394b9aa98edbde5af3cff6"
74
+ "gitHead": "00f870b53f1e87fb3cf1e82862cfcc7dc358781a"
75
75
  }