@sendoutcards/quantum-design-ui 1.7.34 → 1.7.35
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/dist/index.es.js +605 -159
- package/dist/src/atoms/capsule/capsule.d.ts +1 -1
- package/dist/src/exports/molecules.d.ts +1 -0
- package/dist/src/exports/organisms.d.ts +2 -0
- package/dist/src/exports/socPortfolio.d.ts +1 -0
- package/dist/src/molecules/comparisonItem/comparisonItem.d.ts +13 -0
- package/dist/src/molecules/dialog/dialog.d.ts +6 -2
- package/dist/src/molecules/separator/separator.d.ts +1 -0
- package/dist/src/organisms/comparisonIncludesList/comparisonIncludesList.d.ts +7 -0
- package/dist/src/organisms/configurationCard/configurationCard.d.ts +5 -2
- package/dist/src/organisms/pricingTile/pricingTile.d.ts +1 -0
- package/dist/src/organisms/radioOptionList/radioOptionList.d.ts +1 -1
- package/dist/src/organisms/upsaleDialog/styles.d.ts +4 -0
- package/dist/src/organisms/upsaleDialog/upsaleDialog.d.ts +23 -0
- package/dist/src/organisms/upsaleDialog/upsaleOptions.d.ts +29 -0
- package/dist/src/portfolios/soc/subscriptionUpsaleDialog/constants/constants.d.ts +10 -0
- package/dist/src/portfolios/soc/subscriptionUpsaleDialog/subscriptionUpsaleDialog.d.ts +3 -0
- package/dist/src/stories/molecules/ComparisonItem.stories.d.ts +4 -0
- package/dist/src/stories/organisms/ComparisonIncludesList.stories.d.ts +4 -0
- package/dist/src/stories/organisms/ConfigurationCard.stories.d.ts +1 -0
- package/dist/src/stories/organisms/ConfirmDialog.stories.d.ts +1 -0
- package/dist/src/stories/organisms/UpsaleDialog.stories.d.ts +4 -0
- package/dist/src/stories/portfolios/SOC/subscriptionUpsale/SubscriptionUpsaleDialog.stories.d.ts +4 -0
- package/package.json +1 -1
- package/dist/src/molecules/overlay/styles.d.ts +0 -4
|
@@ -4,7 +4,7 @@ import { BackgroundColor } from "../../helpers/hoc-types/hocBaseUnion";
|
|
|
4
4
|
import { Shadows } from "../../helpers/hoc-types/entityValueTypes";
|
|
5
5
|
export declare type CapsuleProps = {
|
|
6
6
|
title: string;
|
|
7
|
-
|
|
7
|
+
backgroundColor?: BackgroundColor;
|
|
8
8
|
fontColor?: TextColor;
|
|
9
9
|
boxShadow?: Shadows;
|
|
10
10
|
};
|
|
@@ -60,3 +60,4 @@ export * from "../molecules/titledList/titledList";
|
|
|
60
60
|
export * from "../molecules/imageThumbnail/imageThumbnail";
|
|
61
61
|
export * from "../molecules/displayCard/displayCard";
|
|
62
62
|
export * from "../molecules/releaseNote/releaseNote";
|
|
63
|
+
export * from "../molecules/comparisonItem/comparisonItem";
|
|
@@ -42,3 +42,5 @@ export * from "../organisms/releaseNoteDialog/releaseNoteDialog";
|
|
|
42
42
|
export * from "../organisms/imageUploader/imageUploader";
|
|
43
43
|
export * from "../organisms/imageUploadWidget/imageUploadWidget";
|
|
44
44
|
export * from "../organisms/configurationCard/configurationCard";
|
|
45
|
+
export * from "../organisms/upsaleDialog/upsaleDialog";
|
|
46
|
+
export * from "../organisms/comparisonIncludesList/comparisonIncludesList";
|
|
@@ -6,3 +6,4 @@ export * from "../portfolios/soc/affiliateShareWidget/affiliateShareWidget";
|
|
|
6
6
|
export * from "../portfolios/soc/components/bulkSend/bulkSend";
|
|
7
7
|
export * from "../portfolios/soc/components/bulkSend/cardQuantitySlider";
|
|
8
8
|
export * from "../portfolios/soc/components/paperTypeModal/paperTypeModal";
|
|
9
|
+
export * from "../portfolios/soc/subscriptionUpsaleDialog/subscriptionUpsaleDialog";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { entities } from "../../theme/theming/entities";
|
|
3
|
+
declare type ColorType = keyof typeof entities.animatedCheckmark.colors;
|
|
4
|
+
export declare type ComparisonItemProps = {
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
isIncluded: boolean;
|
|
8
|
+
checkMarkColor?: ColorType;
|
|
9
|
+
maxWidth?: string;
|
|
10
|
+
isMinified?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const ComparisonItem: FC<ComparisonItemProps>;
|
|
13
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Responsive, LiteralUnion, HOCSpacingKeys } from "../../helpers/hoc-types/entityValueTypes";
|
|
3
3
|
export declare type DialogProps = {
|
|
4
4
|
zIndex?: number;
|
|
@@ -9,5 +9,9 @@ export declare type DialogProps = {
|
|
|
9
9
|
bgElementSelector?: string;
|
|
10
10
|
isFullScreen?: boolean;
|
|
11
11
|
closeButtonId?: string;
|
|
12
|
+
insetOverride?: HOCSpacingKeys;
|
|
13
|
+
height?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
12
14
|
};
|
|
13
|
-
export declare const Dialog:
|
|
15
|
+
export declare const Dialog: React.ForwardRefExoticComponent<DialogProps & {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,6 +3,7 @@ export declare type SeparatorProps = {
|
|
|
3
3
|
orientation: SeparatorOrientationType;
|
|
4
4
|
dashed?: boolean;
|
|
5
5
|
caption?: string;
|
|
6
|
+
shouldCaptionWrap?: boolean;
|
|
6
7
|
};
|
|
7
8
|
export declare type SeparatorOrientationType = 'vertical' | 'horizontal';
|
|
8
9
|
export declare const Separator: FC<SeparatorProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ComparisonItemProps } from "../..";
|
|
3
|
+
export declare type ComparisonIncludesListProps = {
|
|
4
|
+
items: ComparisonItemProps[];
|
|
5
|
+
isMinified?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const ComparisonIncludesList: FC<ComparisonIncludesListProps>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
declare type ConfigurationCardType = 'addon' | 'upsale' | 'info';
|
|
2
3
|
export declare type ConfigurationCardProps = {
|
|
3
|
-
graphic
|
|
4
|
+
graphic?: 'blank' | 'addressed' | 'withStamp' | 'none' | React.ReactNode;
|
|
4
5
|
title: string;
|
|
5
6
|
description: string;
|
|
6
7
|
cost?: number | string;
|
|
@@ -10,5 +11,7 @@ export declare type ConfigurationCardProps = {
|
|
|
10
11
|
itemPriceTitle?: string;
|
|
11
12
|
stackedCardImage?: string;
|
|
12
13
|
layout?: 'horizontal' | 'vertical';
|
|
14
|
+
type?: ConfigurationCardType;
|
|
13
15
|
};
|
|
14
16
|
export declare const ConfigurationCard: FC<ConfigurationCardProps>;
|
|
17
|
+
export {};
|
|
@@ -12,6 +12,6 @@ export declare type RadioOptionListProps = {
|
|
|
12
12
|
submitAction: OptionSubmitType;
|
|
13
13
|
defaultNumOptionsShown?: number;
|
|
14
14
|
globalInfoActionOverride?: (optionId?: string) => void;
|
|
15
|
-
extraLink
|
|
15
|
+
extraLink?: AnchorProps;
|
|
16
16
|
};
|
|
17
17
|
export declare const RadioOptionList: FC<RadioOptionListProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { OptionSubmitType } from "../../exports/organisms";
|
|
3
|
+
import { UpsaleOptionsType } from './upsaleOptions';
|
|
4
|
+
import { Responsive, LiteralUnion, HOCSpacingKeys } from "../../helpers/hoc-types/entityValueTypes";
|
|
5
|
+
export declare type UpsaleDialogProps = {
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
checkoutTitle: string;
|
|
9
|
+
checkoutDescription: string;
|
|
10
|
+
submitAction: OptionSubmitType;
|
|
11
|
+
upsaleContent: React.ReactNode;
|
|
12
|
+
optionFormLocation?: 'right' | 'left';
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
setIsDialogOpen: (isOpen: boolean) => void;
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
maxWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
17
|
+
maxHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
18
|
+
height?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
19
|
+
zIndex?: number;
|
|
20
|
+
insetOverride?: HOCSpacingKeys;
|
|
21
|
+
successComponent?: React.ReactNode;
|
|
22
|
+
} & UpsaleOptionsType;
|
|
23
|
+
export declare const UpsaleDialog: FC<UpsaleDialogProps>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { OptionSubmitType } from "../../exports/organisms";
|
|
3
|
+
export declare type UpsaleOptionType = {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
optionId: string;
|
|
7
|
+
isFeatured?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare type ExtraLinkType = {
|
|
10
|
+
title: string;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
href?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare type UpsaleOptionsType = {
|
|
15
|
+
selectableOptions: UpsaleOptionType[];
|
|
16
|
+
selectedOption: string;
|
|
17
|
+
handleSelectedOption: (optionId: string) => void;
|
|
18
|
+
removeSelectedOption: () => void;
|
|
19
|
+
submitAction: OptionSubmitType;
|
|
20
|
+
extraLink?: ExtraLinkType;
|
|
21
|
+
numSelectableOptionsShown?: number;
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
};
|
|
24
|
+
declare type UpsaleOptionsProps = UpsaleOptionsType & {
|
|
25
|
+
showCheckoutView: boolean;
|
|
26
|
+
handleShouldShowCheckoutView: (value: boolean) => void;
|
|
27
|
+
};
|
|
28
|
+
export declare const UpsaleOptions: FC<UpsaleOptionsProps>;
|
|
29
|
+
export {};
|
|
@@ -2,5 +2,6 @@ import { Meta } from '@storybook/react/types-6-0';
|
|
|
2
2
|
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const ConfigurationCardWithCallback: any;
|
|
5
|
+
export declare const UpsaleDialog: any;
|
|
5
6
|
export declare const ConfigurationInfoCard: any;
|
|
6
7
|
export declare const VerticalCard: any;
|
package/package.json
CHANGED