igloo-d2c-components 1.0.34 → 1.0.36
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/cjs/index.js +322 -139
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +322 -139
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/CheckoutFormButton/styled.d.ts +9 -0
- package/dist/types/components/ChildInformationForm/ChildInformationForm.d.ts +26 -0
- package/dist/types/components/ContactDetailsForm/ContactDetailsForm.d.ts +29 -0
- package/dist/types/components/DesktopHeaderMenuBar/DesktopHeaderMenuBar.d.ts +1 -1
- package/dist/types/components/DesktopHeaderMenuBar/index.d.ts +1 -1
- package/dist/types/components/DesktopHeaderMenuBar/types.d.ts +22 -0
- package/dist/types/components/OptionButton/OptionButton.d.ts +1 -0
- package/dist/types/components/OptionButton/styled.d.ts +1 -1
- package/dist/types/components/PersonalInformationForm/PersonalInformationForm.d.ts +5 -0
- package/dist/types/components/ProductSelectionDrawer/ProductSelectionDrawer.d.ts +13 -0
- package/dist/types/components/ProductSelectionDrawer/styled.d.ts +35 -6
- package/dist/types/components/RecommendationsDrawer/styled.d.ts +3 -0
- package/dist/types/storybook-components/BillingToggle.stories.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checkout Form Button - styled components
|
|
3
|
+
* Aligns with Figma button design system (node 133-11111)
|
|
4
|
+
*
|
|
5
|
+
* Filled button tokens:
|
|
6
|
+
* - Default: #0090da bg, #ffffff text
|
|
7
|
+
* - Hover: #007AC1
|
|
8
|
+
* - Disabled: #f2f2f2 bg, #75787b text, 1px solid #a7a8aa
|
|
9
|
+
*/
|
|
1
10
|
/// <reference types="react" />
|
|
2
11
|
export declare const ButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
12
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
@@ -33,9 +33,35 @@ export interface ChildInformationFormProps {
|
|
|
33
33
|
fields: {
|
|
34
34
|
full_name: ChildInformationField;
|
|
35
35
|
nric?: ChildInformationField;
|
|
36
|
+
salutation?: ChildInformationField;
|
|
36
37
|
date_of_birth: ChildInformationField;
|
|
37
38
|
gender: ChildInformationField;
|
|
38
39
|
nationality: ChildInformationField;
|
|
40
|
+
place_of_birth?: ChildInformationField;
|
|
41
|
+
marital_status?: ChildInformationField;
|
|
42
|
+
race?: ChildInformationField;
|
|
43
|
+
religion?: ChildInformationField;
|
|
44
|
+
occupation?: ChildInformationField;
|
|
45
|
+
industry?: ChildInformationField;
|
|
46
|
+
crediting_bank_name?: ChildInformationField;
|
|
47
|
+
crediting_bank_account_number?: ChildInformationField;
|
|
48
|
+
annual_income?: ChildInformationField;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Consent checkboxes
|
|
52
|
+
*/
|
|
53
|
+
consents?: {
|
|
54
|
+
bank_account_confirmation?: {
|
|
55
|
+
checked: boolean;
|
|
56
|
+
onChange: (checked: boolean) => void;
|
|
57
|
+
error?: string;
|
|
58
|
+
label?: string;
|
|
59
|
+
};
|
|
60
|
+
marketing_consent?: {
|
|
61
|
+
checked: boolean;
|
|
62
|
+
onChange: (checked: boolean) => void;
|
|
63
|
+
label?: string;
|
|
64
|
+
};
|
|
39
65
|
};
|
|
40
66
|
/**
|
|
41
67
|
* Form submission handler
|
|
@@ -38,16 +38,24 @@ export interface ContactDetailsFormProps {
|
|
|
38
38
|
residential_address_line1: ContactDetailsField;
|
|
39
39
|
residential_address_line2: ContactDetailsField;
|
|
40
40
|
postal_code: ContactDetailsField;
|
|
41
|
+
country?: ContactDetailsField;
|
|
41
42
|
city: ContactDetailsField;
|
|
42
43
|
state: ContactDetailsField;
|
|
43
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Whether this is for a child policy (changes section titles and mailing fields)
|
|
47
|
+
*/
|
|
48
|
+
isForChild?: boolean;
|
|
44
49
|
/**
|
|
45
50
|
* Mailing address fields (optional - only needed when checkbox is checked)
|
|
46
51
|
*/
|
|
47
52
|
mailingFields?: {
|
|
53
|
+
mailing_phone_number?: ContactDetailsField;
|
|
54
|
+
mailing_email_address?: ContactDetailsField;
|
|
48
55
|
mailing_address_line1: ContactDetailsField;
|
|
49
56
|
mailing_address_line2: ContactDetailsField;
|
|
50
57
|
mailing_postal_code: ContactDetailsField;
|
|
58
|
+
mailing_country?: ContactDetailsField;
|
|
51
59
|
mailing_city: ContactDetailsField;
|
|
52
60
|
mailing_state: ContactDetailsField;
|
|
53
61
|
};
|
|
@@ -59,6 +67,27 @@ export interface ContactDetailsFormProps {
|
|
|
59
67
|
onChange: (checked: boolean) => void;
|
|
60
68
|
label?: string;
|
|
61
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* Child contact details fields (optional - for child checkout flow)
|
|
72
|
+
*/
|
|
73
|
+
childContactFields?: {
|
|
74
|
+
child_phone_number: ContactDetailsField;
|
|
75
|
+
child_email_address: ContactDetailsField;
|
|
76
|
+
child_address_line1: ContactDetailsField;
|
|
77
|
+
child_address_line2: ContactDetailsField;
|
|
78
|
+
child_postal_code: ContactDetailsField;
|
|
79
|
+
child_country?: ContactDetailsField;
|
|
80
|
+
child_city: ContactDetailsField;
|
|
81
|
+
child_state: ContactDetailsField;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Child contact details checkbox
|
|
85
|
+
*/
|
|
86
|
+
childContactNotSame?: {
|
|
87
|
+
checked: boolean;
|
|
88
|
+
onChange: (checked: boolean) => void;
|
|
89
|
+
label?: string;
|
|
90
|
+
};
|
|
62
91
|
/**
|
|
63
92
|
* Form submission handler
|
|
64
93
|
*/
|
|
@@ -39,6 +39,6 @@ import { DesktopHeaderMenuBarProps } from './types';
|
|
|
39
39
|
* @param onLogoClick - Handler for logo click
|
|
40
40
|
* @param formatMessage - i18n function for translations
|
|
41
41
|
*/
|
|
42
|
-
declare function DesktopHeaderMenuBar({ logo, logoAlt, menuItems, showLoginButton, loginButtonText, onLoginClick, showCtaButton, ctaButtonText, onCtaClick, ctaScrollTargetId, onScrollToSection, onLogoClick, formatMessage, className, }: DesktopHeaderMenuBarProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
declare function DesktopHeaderMenuBar({ logo, logoAlt, menuItems, showLoginButton, loginButtonText, onLoginClick, showCtaButton, ctaButtonText, onCtaClick, ctaScrollTargetId, onScrollToSection, onLogoClick, formatMessage, className, languages, currentLocale, onLanguageChange, }: DesktopHeaderMenuBarProps): import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export default DesktopHeaderMenuBar;
|
|
44
44
|
export { DesktopHeaderMenuBar };
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
|
|
4
4
|
*/
|
|
5
5
|
export { default, DesktopHeaderMenuBar } from './DesktopHeaderMenuBar';
|
|
6
|
-
export type { DesktopHeaderMenuBarProps, MenuItemWithDropdown, SubMenuItem, } from './types';
|
|
6
|
+
export type { DesktopHeaderMenuBarProps, LanguageOption, MenuItemWithDropdown, SubMenuItem, } from './types';
|
|
7
7
|
export { PurchaseButton } from './styled';
|
|
@@ -60,6 +60,16 @@ export interface SubMenuItem {
|
|
|
60
60
|
*/
|
|
61
61
|
href?: string;
|
|
62
62
|
}
|
|
63
|
+
export interface LanguageOption {
|
|
64
|
+
/** Display label (e.g., 'English', 'Bahasa Malaysia') */
|
|
65
|
+
label: string;
|
|
66
|
+
/** Language code (e.g., 'en-US', 'id-ID') */
|
|
67
|
+
value: string;
|
|
68
|
+
/** Locale shorthand (e.g., 'en', 'id') */
|
|
69
|
+
locale: string;
|
|
70
|
+
/** Short display code for trigger (e.g., 'EN', 'BM'). Falls back to locale uppercased if omitted */
|
|
71
|
+
shortCode?: string;
|
|
72
|
+
}
|
|
63
73
|
export interface DesktopHeaderMenuBarProps {
|
|
64
74
|
/**
|
|
65
75
|
* Logo image source
|
|
@@ -125,4 +135,16 @@ export interface DesktopHeaderMenuBarProps {
|
|
|
125
135
|
* Custom class name for the container
|
|
126
136
|
*/
|
|
127
137
|
className?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Available languages for the language switcher
|
|
140
|
+
*/
|
|
141
|
+
languages?: LanguageOption[];
|
|
142
|
+
/**
|
|
143
|
+
* Current locale (e.g., 'en', 'id')
|
|
144
|
+
*/
|
|
145
|
+
currentLocale?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Language change handler
|
|
148
|
+
*/
|
|
149
|
+
onLanguageChange?: (locale: string, value: string) => void;
|
|
128
150
|
}
|
|
@@ -40,6 +40,7 @@ export interface OptionButtonProps {
|
|
|
40
40
|
* Style variant
|
|
41
41
|
* - 'default': Lighter colors for recommendations/questionnaires
|
|
42
42
|
* - 'form': Darker colors for forms (gender selection, health questions)
|
|
43
|
+
* - 'formLightBorder': Same as form but with lighter unselected border (#E0E0E0)
|
|
43
44
|
*/
|
|
44
45
|
variant?: OptionButtonVariant;
|
|
45
46
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export type OptionButtonVariant = 'default' | 'form';
|
|
2
|
+
export type OptionButtonVariant = 'default' | 'form' | 'formLightBorder';
|
|
3
3
|
export declare const StyledOptionButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonBaseOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
5
5
|
}, "children" | "style" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
@@ -39,6 +39,11 @@ export interface PersonalInformationFormProps {
|
|
|
39
39
|
gender: PersonalInformationField;
|
|
40
40
|
salutation: PersonalInformationField;
|
|
41
41
|
nationality: PersonalInformationField;
|
|
42
|
+
place_of_birth?: PersonalInformationField;
|
|
43
|
+
marital_status?: PersonalInformationField;
|
|
44
|
+
race?: PersonalInformationField;
|
|
45
|
+
religion?: PersonalInformationField;
|
|
46
|
+
annual_income?: PersonalInformationField;
|
|
42
47
|
occupation: PersonalInformationField;
|
|
43
48
|
industry: PersonalInformationField;
|
|
44
49
|
crediting_bank_name: PersonalInformationField;
|
|
@@ -20,6 +20,19 @@ export interface Product {
|
|
|
20
20
|
* URL or path to the product logo
|
|
21
21
|
*/
|
|
22
22
|
logo: string;
|
|
23
|
+
/**
|
|
24
|
+
* Optional category label above card (e.g., "Medical", "Critical Illness").
|
|
25
|
+
* Falls back to type if not provided.
|
|
26
|
+
*/
|
|
27
|
+
subtitle?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional icon URL for bottom bar. Falls back to logo if not provided.
|
|
30
|
+
*/
|
|
31
|
+
icon?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Optional background image for the card. When absent, shows placeholder gradient.
|
|
34
|
+
*/
|
|
35
|
+
cardImage?: string;
|
|
23
36
|
}
|
|
24
37
|
export interface ProductSelectionDrawerProps {
|
|
25
38
|
/**
|
|
@@ -13,9 +13,12 @@ export declare const DialogHeaderSubtitle: import("@emotion/styled").StyledCompo
|
|
|
13
13
|
export declare const DialogContent: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
14
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
15
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
|
+
/** Product grid for dialog - matches featured-form-section ProductGrid from life-landing-page */
|
|
16
17
|
export declare const DialogProductsGrid: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
18
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme
|
|
19
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
20
|
+
productCount?: number | undefined;
|
|
21
|
+
}, {}, {}>;
|
|
19
22
|
export declare const DialogProductCard: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
23
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
24
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -49,24 +52,50 @@ export declare const HeaderSubtitle: import("@emotion/styled").StyledComponent<i
|
|
|
49
52
|
export declare const ProductsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
50
53
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
51
54
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
55
|
+
/** Product grid - matches featured-form-section ProductGrid from life-landing-page */
|
|
52
56
|
export declare const ProductsGrid: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
53
57
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
58
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
59
|
+
productCount?: number | undefined;
|
|
60
|
+
}, {}, {}>;
|
|
61
|
+
/** Category label above the product card (e.g., "Medical", "Critical Illness") */
|
|
62
|
+
export declare const ProductCategoryLabel: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
63
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
64
|
+
}, "fontFamily" | "children" | "p" | "style" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "letterSpacing" | "border" | "className" | "classes" | "sx" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
65
|
+
/** Product card wrapper: includes category label + card */
|
|
66
|
+
export declare const ProductCardWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
67
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
54
68
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
69
|
+
/** Product card - square, clickable, matches featured-form-section design */
|
|
55
70
|
export declare const ProductCard: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
56
71
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
57
72
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
58
|
-
|
|
73
|
+
/** Background image that fills the product card */
|
|
74
|
+
export declare const ProductCardImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
75
|
+
/** Placeholder gradient when no card image is provided */
|
|
76
|
+
export declare const ProductCardPlaceholder: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
59
77
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
60
78
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
61
|
-
|
|
79
|
+
/** White bottom bar with logo + product name */
|
|
80
|
+
export declare const ProductCardBottomBar: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
81
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
82
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
83
|
+
/** Icon inside the bottom bar */
|
|
84
|
+
export declare const ProductIcon: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
62
85
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
63
86
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
64
87
|
export declare const ProductName: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
65
88
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
66
89
|
}, "fontFamily" | "children" | "p" | "style" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "letterSpacing" | "border" | "className" | "classes" | "sx" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
90
|
+
/** @deprecated Use ProductCategoryLabel - kept for Dialog variant */
|
|
67
91
|
export declare const ProductType: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
68
92
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
69
93
|
}, "fontFamily" | "children" | "p" | "style" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "letterSpacing" | "border" | "className" | "classes" | "sx" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
94
|
+
/** @deprecated Use new ProductCard - kept for Dialog variant */
|
|
95
|
+
export declare const ProductInfo: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
96
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
97
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
98
|
+
/** @deprecated Use ProductIcon - kept for Dialog variant */
|
|
99
|
+
export declare const ProductLogo: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
100
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
101
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -33,3 +33,6 @@ export declare const PrimaryButton: import("@emotion/styled").StyledComponent<im
|
|
|
33
33
|
export declare const SecondaryButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
34
34
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
35
35
|
}, "children" | "style" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
36
|
+
export declare const BackArrowButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
37
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
38
|
+
}, "children" | "style" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
2
|
import { BillingToggle } from '../components/BillingToggle';
|
|
3
3
|
declare const _default: ComponentMeta<typeof BillingToggle>;
|
|
4
4
|
export default _default;
|
package/package.json
CHANGED