@citygross/components 0.7.19 → 0.7.20

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 (33) hide show
  1. package/build/@types/components/AddressBlock/AddressBlock.d.ts +0 -1
  2. package/build/@types/components/Button/IconButton.d.ts +0 -1
  3. package/build/@types/components/CartItemSummary/CartItemSummary.d.ts +0 -1
  4. package/build/@types/components/CartSummary/CartSummary.d.ts +0 -1
  5. package/build/@types/components/Chips/Chip.d.ts +0 -1
  6. package/build/@types/components/DeliverySlotItem/DeliverySlotItem.d.ts +0 -1
  7. package/build/@types/components/DotIndicator/DotIndicator.d.ts +0 -1
  8. package/build/@types/components/FormElements/Input/Input.d.ts +0 -1
  9. package/build/@types/components/FormElements/TextArea/TextArea.d.ts +0 -1
  10. package/build/@types/components/Header/Header.stories.d.ts +0 -1
  11. package/build/@types/components/HeaderLink/HeaderLink.d.ts +0 -1
  12. package/build/@types/components/HeaderLink/HeaderLink.stories.d.ts +0 -1
  13. package/build/@types/components/Logo/Logo.d.ts +0 -1
  14. package/build/@types/components/Logo/Logo.stories.d.ts +0 -1
  15. package/build/@types/components/Pagination/Pagination.d.ts +0 -1
  16. package/build/@types/components/QuantitySelector/QuantitySelector.d.ts +0 -1
  17. package/build/@types/components/RadioGroup/RadioGroup.d.ts +0 -1
  18. package/build/@types/components/RadioGroup/RadioListItem.d.ts +0 -1
  19. package/build/@types/components/RadioGroup/RadioListItem.styles.d.ts +0 -1
  20. package/build/@types/components/Slider/Slider.stories.d.ts +0 -1
  21. package/build/@types/components/Spinner/Spinner.d.ts +0 -1
  22. package/build/@types/components/Spinner/Spinner.stories.d.ts +0 -1
  23. package/build/@types/components/StepperMobile/StepperMobile.d.ts +0 -1
  24. package/build/@types/components/Timeline/Timeline.d.ts +0 -1
  25. package/build/@types/components/Timeline/Timeline.styles.d.ts +0 -1
  26. package/build/@types/components/Typography/h1.stories.d.ts +0 -1
  27. package/build/@types/components/Typography/h2.stories.d.ts +0 -1
  28. package/build/@types/components/Typography/h3.stories.d.ts +0 -1
  29. package/build/@types/containers/TwoColumnsContainer/TwoColumnsPageContainer.stories.d.ts +0 -1
  30. package/build/@types/containers/WizardContainer/Steps/Step.d.ts +6 -0
  31. package/build/@types/containers/WizardContainer/WizardContainer.d.ts +2 -0
  32. package/build/@types/containers/WizardContainer/WizardContainer.stories.d.ts +24 -0
  33. package/package.json +3 -2
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TAddressBlock = {
3
2
  deliverOption?: string;
4
3
  icon?: JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as styles from './Button.styles';
3
2
  import { TButtonColor } from './Button';
4
3
  export declare type TIconButton = styles.TBaseSmallButton & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TSummaryItem } from '../CartSummary/CartSummary';
3
2
  export declare type TCartItemSummary = {
4
3
  product: TSummaryItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TCartSummary = {
3
2
  title?: string;
4
3
  subTitle?: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import * as styles from './Chip.styles';
3
2
  export declare function Chip({ label, checked, onClick, background, activeBackground }: styles.TChip): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TDeliverySlotItem = {
3
2
  date: string;
4
3
  selected: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TDot = {
3
2
  color?: string;
4
3
  shadow?: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import * as styles from './Input.styles';
3
2
  export declare function Input({ flexGrow, isValid, fontSize, ...props }: styles.InputProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import * as styles from './TextArea.styles';
3
2
  export declare function TextArea({ flexGrow, fontSize, ...props }: styles.TextAreaProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Header } from './Header';
3
2
  declare const _default: {
4
3
  component: typeof Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type THeaderLink = {
3
2
  linkHref: string;
4
3
  linkLabel: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HeaderLink } from './HeaderLink';
3
2
  declare const _default: {
4
3
  component: typeof HeaderLink;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TLogo = {
3
2
  logoImage: JSX.Element;
4
3
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Logo } from './Logo';
3
2
  declare const _default: {
4
3
  component: typeof Logo;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TPagination = {
3
2
  totalItems?: number;
4
3
  fetchItems: (page: number) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TQuantitySelector = {
3
2
  onIncrement: () => void;
4
3
  onDecrement: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TRadioColor } from '../FormElements/Radio/Radio';
3
2
  import { TRadioListItem } from './RadioListItem';
4
3
  import { TDot } from '../DotIndicator/DotIndicator';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TRadioColor } from '../FormElements/Radio/Radio';
3
2
  import { TDot } from '../DotIndicator/DotIndicator';
4
3
  import * as styles from './RadioListItem.styles';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TBaseRadioItemInputWrapper = {
3
2
  isDisabled?: boolean;
4
3
  flexGrow?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from '@storybook/react';
3
2
  import { TSlider } from './Slider';
4
3
  declare const _default: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TSpinner = {
3
2
  borderColor?: string;
4
3
  spinnerColor?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from '@storybook/react';
3
2
  import { TSpinner } from './Spinner';
4
3
  declare const _default: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IStepperItem } from '../Stepper/StepperList';
3
2
  export declare type TStepperMobile = {
4
3
  steps: IStepperItem[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TTimelineItem = {
3
2
  primaryText: string;
4
3
  time: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const BaseTimelineItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
2
  export declare const BaseTimeline: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const TimeLineH3: import("styled-components").StyledComponent<({ children, lineThrough, color, fontWeight, ...props }: import("@citygross/typography/build/headers/h3/h3").IH3) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from '@storybook/react';
3
2
  import { H1 } from '@citygross/typography';
4
3
  declare const _default: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from '@storybook/react';
3
2
  import { H2 } from '@citygross/typography';
4
3
  declare const _default: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from '@storybook/react';
3
2
  import { H3 } from '@citygross/typography';
4
3
  declare const _default: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from '@storybook/react';
3
2
  import { TTwoColumnsPageContainer } from './TwoColumnsPageContainer';
4
3
  declare const _default: {
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export declare type TStep = {
3
+ index: number;
4
+ };
5
+ export declare const Step: React.FC<TStep>;
6
+ export default Step;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const WizardContainer: React.FC;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { Story } from '@storybook/react';
3
+ declare const _default: {
4
+ component: React.FC<{}>;
5
+ title: string;
6
+ argTypes: {
7
+ containerBackground: {
8
+ options: string[];
9
+ mapping: import("@citygross/design-tokens").Palette | never[];
10
+ control: {
11
+ type: string;
12
+ };
13
+ };
14
+ background: {
15
+ options: string[];
16
+ mapping: import("@citygross/design-tokens").Palette | never[];
17
+ control: {
18
+ type: string;
19
+ };
20
+ };
21
+ };
22
+ };
23
+ export default _default;
24
+ export declare const Default: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citygross/components",
3
- "version": "0.7.19",
3
+ "version": "0.7.20",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "./build/cjs/components/src/index.js",
@@ -64,11 +64,12 @@
64
64
  "dependencies": {
65
65
  "@citygross/design-tokens": "^0.2.12",
66
66
  "@citygross/icons": "^0.1.1",
67
+ "@citygross/react-use-bg-wizard": "^0.0.5",
67
68
  "@citygross/typography": "^0.0.39",
68
69
  "@citygross/utils": "^0.0.17",
69
70
  "framer-motion": "^4.1.17",
70
71
  "moment": "^2.29.1",
71
72
  "react-loading-skeleton": "^2.2.0"
72
73
  },
73
- "gitHead": "bad65e099fe4d46826f5854d6f68d072440062f8"
74
+ "gitHead": "c24280608c00d74dec9a112dbd0c06410f44a7e1"
74
75
  }