@dishopsaas/design-system 0.0.48 → 0.0.51
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/Interface/Interfaces.d.ts +190 -0
- package/dist/Interface/Interfaces.d.ts.map +1 -0
- package/dist/components/DataDisplay/AlertBanner/AlertBanner.d.ts +34 -0
- package/dist/components/DataDisplay/AlertBanner/AlertBanner.d.ts.map +1 -0
- package/dist/components/DataDisplay/AlertBanner/AlertBanner.stories.d.ts +94 -0
- package/dist/components/DataDisplay/AlertBanner/AlertBanner.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Avatar/Avatar.d.ts +17 -0
- package/dist/components/DataDisplay/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/DataDisplay/Avatar/Avatar.stories.d.ts +8 -0
- package/dist/components/DataDisplay/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Counter/Counter.d.ts +5 -0
- package/dist/components/DataDisplay/Counter/Counter.d.ts.map +1 -0
- package/dist/components/DataDisplay/Counter/Counter.stories.d.ts +8 -0
- package/dist/components/DataDisplay/Counter/Counter.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Divider/Divider.d.ts +14 -0
- package/dist/components/DataDisplay/Divider/Divider.d.ts.map +1 -0
- package/dist/components/DataDisplay/Divider/Divider.stories.d.ts +8 -0
- package/dist/components/DataDisplay/Divider/Divider.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/EmptyState/EmptyState.d.ts +35 -0
- package/dist/components/DataDisplay/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/DataDisplay/EmptyState/EmptyState.stories.d.ts +7 -0
- package/dist/components/DataDisplay/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Grid/ResponsiveGrid.d.ts +5 -0
- package/dist/components/DataDisplay/Grid/ResponsiveGrid.d.ts.map +1 -0
- package/dist/components/DataDisplay/Grid/ResponsiveGrid.stories.d.ts +8 -0
- package/dist/components/DataDisplay/Grid/ResponsiveGrid.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Header/Header.d.ts +23 -0
- package/dist/components/DataDisplay/Header/Header.d.ts.map +1 -0
- package/dist/components/DataDisplay/Header/Header.stories.d.ts +7 -0
- package/dist/components/DataDisplay/Header/Header.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Header/ScrollView/ScrollView.d.ts +28 -0
- package/dist/components/DataDisplay/Header/ScrollView/ScrollView.d.ts.map +1 -0
- package/dist/components/DataDisplay/Header/ScrollView/ScrollView.stories.d.ts +7 -0
- package/dist/components/DataDisplay/Header/ScrollView/ScrollView.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/ListItem/ListItem.d.ts +5 -0
- package/dist/components/DataDisplay/ListItem/ListItem.d.ts.map +1 -0
- package/dist/components/DataDisplay/ListItem/ListItem.stories.d.ts +9 -0
- package/dist/components/DataDisplay/ListItem/ListItem.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Table/Table.d.ts +68 -0
- package/dist/components/DataDisplay/Table/Table.d.ts.map +1 -0
- package/dist/components/DataDisplay/Table/Table.stories.d.ts +18 -0
- package/dist/components/DataDisplay/Table/Table.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/Tags/Tags.d.ts +25 -0
- package/dist/components/DataDisplay/Tags/Tags.d.ts.map +1 -0
- package/dist/components/DataDisplay/Tags/Tags.stories.d.ts +8 -0
- package/dist/components/DataDisplay/Tags/Tags.stories.d.ts.map +1 -0
- package/dist/components/DataDisplay/badge/badge.d.ts +32 -0
- package/dist/components/DataDisplay/badge/badge.d.ts.map +1 -0
- package/dist/components/DataDisplay/badge/badge.stories.d.ts +9 -0
- package/dist/components/DataDisplay/badge/badge.stories.d.ts.map +1 -0
- package/dist/components/Feedback/Modal/Modal.d.ts +28 -0
- package/dist/components/Feedback/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Feedback/Modal/Modal.stories.d.ts +9 -0
- package/dist/components/Feedback/Modal/Modal.stories.d.ts.map +1 -0
- package/dist/components/Feedback/Modal/ProductDetailModal/OptionGroup.d.ts +6 -0
- package/dist/components/Feedback/Modal/ProductDetailModal/OptionGroup.d.ts.map +1 -0
- package/dist/components/Feedback/Modal/ProductDetailModal/ProductDetailModal.d.ts +4 -0
- package/dist/components/Feedback/Modal/ProductDetailModal/ProductDetailModal.d.ts.map +1 -0
- package/dist/components/Feedback/Modal/ProductDetailModal/ProductDetailModal.stories.d.ts +7 -0
- package/dist/components/Feedback/Modal/ProductDetailModal/ProductDetailModal.stories.d.ts.map +1 -0
- package/dist/components/Feedback/Progress/CircularProgress.stories.d.ts +8 -0
- package/dist/components/Feedback/Progress/CircularProgress.stories.d.ts.map +1 -0
- package/dist/components/Feedback/Progress/LinearProgress.stories.d.ts +8 -0
- package/dist/components/Feedback/Progress/LinearProgress.stories.d.ts.map +1 -0
- package/dist/components/Feedback/Progress/Progress.d.ts +32 -0
- package/dist/components/Feedback/Progress/Progress.d.ts.map +1 -0
- package/dist/components/Feedback/Progress/Stepper.d.ts +13 -0
- package/dist/components/Feedback/Progress/Stepper.d.ts.map +1 -0
- package/dist/components/Feedback/Progress/Stepper.stories.d.ts +33 -0
- package/dist/components/Feedback/Progress/Stepper.stories.d.ts.map +1 -0
- package/dist/components/Footer/Footer.d.ts +18 -0
- package/dist/components/Footer/Footer.d.ts.map +1 -0
- package/dist/components/Footer/Footer.stories.d.ts +6 -0
- package/dist/components/Footer/Footer.stories.d.ts.map +1 -0
- package/dist/components/Footer/OrderCard.d.ts +17 -0
- package/dist/components/Footer/OrderCard.d.ts.map +1 -0
- package/dist/components/Input/Button/Button.d.ts +5 -0
- package/dist/components/Input/Button/Button.d.ts.map +1 -0
- package/dist/components/Input/Button/Button.stories.d.ts +8 -0
- package/dist/components/Input/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Input/Button/ButtonLink.d.ts +18 -0
- package/dist/components/Input/Button/ButtonLink.d.ts.map +1 -0
- package/dist/components/Input/Button/ButtonLink.stories.d.ts +8 -0
- package/dist/components/Input/Button/ButtonLink.stories.d.ts.map +1 -0
- package/dist/components/Input/Button/ButtonQuantityControl.d.ts +10 -0
- package/dist/components/Input/Button/ButtonQuantityControl.d.ts.map +1 -0
- package/dist/components/Input/CustomInput/Checkbox.stories.d.ts +9 -0
- package/dist/components/Input/CustomInput/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Input/CustomInput/CustomInput.d.ts +19 -0
- package/dist/components/Input/CustomInput/CustomInput.d.ts.map +1 -0
- package/dist/components/Input/CustomInput/RadioButton.stories.d.ts +9 -0
- package/dist/components/Input/CustomInput/RadioButton.stories.d.ts.map +1 -0
- package/dist/components/Input/InputField/CardField/StripeCardField.d.ts +15 -0
- package/dist/components/Input/InputField/CardField/StripeCardField.d.ts.map +1 -0
- package/dist/components/Input/InputField/CardField/StripeCardField.stories.d.ts +8 -0
- package/dist/components/Input/InputField/CardField/StripeCardField.stories.d.ts.map +1 -0
- package/dist/components/Input/InputField/PhoneField/PhoneField.d.ts +5 -0
- package/dist/components/Input/InputField/PhoneField/PhoneField.d.ts.map +1 -0
- package/dist/components/Input/InputField/PhoneField/PhoneField.stories.d.ts +8 -0
- package/dist/components/Input/InputField/PhoneField/PhoneField.stories.d.ts.map +1 -0
- package/dist/components/Input/InputField/PhoneField/PhoneFieldStoryComponents.d.ts +3 -0
- package/dist/components/Input/InputField/PhoneField/PhoneFieldStoryComponents.d.ts.map +1 -0
- package/dist/components/Input/InputField/SearchField/SearchField.d.ts +23 -0
- package/dist/components/Input/InputField/SearchField/SearchField.d.ts.map +1 -0
- package/dist/components/Input/InputField/SearchField/SearchField.stories.d.ts +104 -0
- package/dist/components/Input/InputField/SearchField/SearchField.stories.d.ts.map +1 -0
- package/dist/components/Input/InputField/TextField.d.ts +21 -0
- package/dist/components/Input/InputField/TextField.d.ts.map +1 -0
- package/dist/components/Input/InputField/TextField.stories.d.ts +12 -0
- package/dist/components/Input/InputField/TextField.stories.d.ts.map +1 -0
- package/dist/components/Input/InputField/TextFieldStoryComponents.d.ts +37 -0
- package/dist/components/Input/InputField/TextFieldStoryComponents.d.ts.map +1 -0
- package/dist/components/Input/InputField/styles.d.ts +30 -0
- package/dist/components/Input/InputField/styles.d.ts.map +1 -0
- package/dist/components/Input/Toggle/Toggle.d.ts +29 -0
- package/dist/components/Input/Toggle/Toggle.d.ts.map +1 -0
- package/dist/components/Input/Toggle/Toggle.stories.d.ts +8 -0
- package/dist/components/Input/Toggle/Toggle.stories.d.ts.map +1 -0
- package/dist/components/Input/utils.d.ts +38 -0
- package/dist/components/Input/utils.d.ts.map +1 -0
- package/dist/components/Navigation/Choice/ChoiceBox.stories.d.ts +11 -0
- package/dist/components/Navigation/Choice/ChoiceBox.stories.d.ts.map +1 -0
- package/dist/components/Navigation/Choice/ChoiceBoxOption.d.ts +25 -0
- package/dist/components/Navigation/Choice/ChoiceBoxOption.d.ts.map +1 -0
- package/dist/components/Navigation/Choice/ChoiceRail.d.ts +12 -0
- package/dist/components/Navigation/Choice/ChoiceRail.d.ts.map +1 -0
- package/dist/components/Navigation/Dropdown/Dropdown.d.ts +5 -0
- package/dist/components/Navigation/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/Navigation/Dropdown/Dropdown.stories.d.ts +8 -0
- package/dist/components/Navigation/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/dist/components/Navigation/Tabs/Tabs.d.ts +10 -0
- package/dist/components/Navigation/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/Navigation/Tabs/Tabs.stories.d.ts +15 -0
- package/dist/components/Navigation/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/components/Providers/AppThemeProvider.d.ts +9 -0
- package/dist/components/Providers/AppThemeProvider.d.ts.map +1 -0
- package/dist/components/Surfaces/Accordion/Accordion.d.ts +78 -0
- package/dist/components/Surfaces/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Surfaces/Accordion/Accordion.stories.d.ts +9 -0
- package/dist/components/Surfaces/Accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/components/Surfaces/Accordion/PromoCodeWrapper.d.ts +7 -0
- package/dist/components/Surfaces/Accordion/PromoCodeWrapper.d.ts.map +1 -0
- package/dist/components/Surfaces/ProductCard/ProductCard.d.ts +4 -0
- package/dist/components/Surfaces/ProductCard/ProductCard.d.ts.map +1 -0
- package/dist/components/Surfaces/ProductCard/ProductCard.stories.d.ts +8 -0
- package/dist/components/Surfaces/ProductCard/ProductCard.stories.d.ts.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +158 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/dataConfig.d.ts +196 -0
- package/dist/utils/dataConfig.d.ts.map +1 -0
- package/dist/utils/icons.d.ts +53 -0
- package/dist/utils/icons.d.ts.map +1 -0
- package/dist/utils/images.d.ts +38 -0
- package/dist/utils/images.d.ts.map +1 -0
- package/dist/utils/theme.d.ts +216 -0
- package/dist/utils/theme.d.ts.map +1 -0
- package/dist/utils/types.d.ts +116 -0
- package/dist/utils/types.d.ts.map +1 -0
- package/dist/utils/utils.d.ts +45 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/dist/utils/validators.d.ts +48 -0
- package/dist/utils/validators.d.ts.map +1 -0
- package/package.json +22 -30
- package/dist/design-system.css +0 -1
- package/dist/index.cjs +0 -172
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs +0 -26081
- package/dist/index.mjs.map +0 -1
- package/dist/vite.svg +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { PaymentMethod } from '../../../utils/types';
|
|
3
|
+
export declare const PaymentMethodRow: ({ method, selected, onSelect, onEdit, onDelete, sx, }: {
|
|
4
|
+
method: PaymentMethod;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
onSelect?: (id: string) => void;
|
|
7
|
+
onEdit?: (id: string) => void;
|
|
8
|
+
onDelete?: (id: string) => void;
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const PaymentMethodsList: ({ methods, selectedId, onSelect, onEdit, onDelete, }: {
|
|
12
|
+
methods: PaymentMethod[];
|
|
13
|
+
selectedId?: string;
|
|
14
|
+
onSelect?: (id: string) => void;
|
|
15
|
+
onEdit?: (id: string) => void;
|
|
16
|
+
onDelete?: (id: string) => void;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const CartItemCard: ({ quantity, onQuantityChange, title, badgeText, details, originalPrice, finalPrice, headers, sx, }: {
|
|
19
|
+
quantity?: number;
|
|
20
|
+
onQuantityChange?: (qty: number) => void;
|
|
21
|
+
title?: string;
|
|
22
|
+
badgeText?: string;
|
|
23
|
+
details?: {
|
|
24
|
+
size: string;
|
|
25
|
+
ingredients: string;
|
|
26
|
+
sauce: string;
|
|
27
|
+
supplement: string;
|
|
28
|
+
};
|
|
29
|
+
originalPrice?: string;
|
|
30
|
+
finalPrice?: string;
|
|
31
|
+
headers?: string[];
|
|
32
|
+
sx?: SxProps<Theme>;
|
|
33
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare const CartAndPaymentComponents: {
|
|
35
|
+
PaymentMethodRow: ({ method, selected, onSelect, onEdit, onDelete, sx, }: {
|
|
36
|
+
method: PaymentMethod;
|
|
37
|
+
selected?: boolean;
|
|
38
|
+
onSelect?: (id: string) => void;
|
|
39
|
+
onEdit?: (id: string) => void;
|
|
40
|
+
onDelete?: (id: string) => void;
|
|
41
|
+
sx?: SxProps<Theme>;
|
|
42
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
PaymentMethodsList: ({ methods, selectedId, onSelect, onEdit, onDelete, }: {
|
|
44
|
+
methods: PaymentMethod[];
|
|
45
|
+
selectedId?: string;
|
|
46
|
+
onSelect?: (id: string) => void;
|
|
47
|
+
onEdit?: (id: string) => void;
|
|
48
|
+
onDelete?: (id: string) => void;
|
|
49
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
CartItemCard: ({ quantity, onQuantityChange, title, badgeText, details, originalPrice, finalPrice, headers, sx, }: {
|
|
51
|
+
quantity?: number;
|
|
52
|
+
onQuantityChange?: (qty: number) => void;
|
|
53
|
+
title?: string;
|
|
54
|
+
badgeText?: string;
|
|
55
|
+
details?: {
|
|
56
|
+
size: string;
|
|
57
|
+
ingredients: string;
|
|
58
|
+
sauce: string;
|
|
59
|
+
supplement: string;
|
|
60
|
+
};
|
|
61
|
+
originalPrice?: string;
|
|
62
|
+
finalPrice?: string;
|
|
63
|
+
headers?: string[];
|
|
64
|
+
sx?: SxProps<Theme>;
|
|
65
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
};
|
|
67
|
+
export default CartAndPaymentComponents;
|
|
68
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/DataDisplay/Table/Table.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type PaymentAndCartDemoArgs = {
|
|
5
|
+
dialogProps?: {
|
|
6
|
+
open: boolean;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onConfirm: () => void;
|
|
9
|
+
};
|
|
10
|
+
texts?: {
|
|
11
|
+
dialogTitle?: string;
|
|
12
|
+
dialogMessage?: string;
|
|
13
|
+
cancelLabel?: string;
|
|
14
|
+
confirmLabel?: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const PaymentAndCartDemo: StoryObj<PaymentAndCartDemoArgs>;
|
|
18
|
+
//# sourceMappingURL=Table.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataDisplay/Table/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAgBvD,QAAA,MAAM,IAAI,EAAE,IAgBX,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,sBAAsB,GAAG;IAC5B,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,OAAO,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,SAAS,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,KAAK,CAAC,EAAE;QACN,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,sBAAsB,CAoE/D,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ColorType } from '../../../utils/constants';
|
|
2
|
+
import { IconName } from '../../../utils/icons';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface TagProps {
|
|
5
|
+
label?: string;
|
|
6
|
+
color?: ColorType | undefined;
|
|
7
|
+
outlined?: boolean;
|
|
8
|
+
deletable?: boolean;
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
onDelete?: () => void;
|
|
11
|
+
borderRadius?: number;
|
|
12
|
+
opacity?: number;
|
|
13
|
+
variant?: 'caption' | 'body1' | 'body2' | 'h6';
|
|
14
|
+
options?: {
|
|
15
|
+
bg: string;
|
|
16
|
+
text: string;
|
|
17
|
+
border: string;
|
|
18
|
+
};
|
|
19
|
+
minHeight?: number;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
shape?: 'linear' | 'default';
|
|
22
|
+
}
|
|
23
|
+
export declare const Tag: React.FC<TagProps>;
|
|
24
|
+
export default Tag;
|
|
25
|
+
//# sourceMappingURL=Tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tags.d.ts","sourceRoot":"","sources":["../../../../src/components/DataDisplay/Tags/Tags.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,SAAS,EAAmB,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGrD,MAAM,WAAW,QAAQ;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC;IAC/C,OAAO,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC;AAED,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA0JlC,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Tag } from './Tags';
|
|
3
|
+
declare const meta: Meta<typeof Tag>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Tag>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AllVariants: Story;
|
|
8
|
+
//# sourceMappingURL=Tags.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tags.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataDisplay/Tags/Tags.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CAmB1B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAC;AAElC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KA6BzB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BadgeProps } from '@mui/material/Badge';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
import { AvatarProps } from '@mui/material/Avatar';
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
export type CounterBadgeProps = {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
content?: React.ReactNode;
|
|
8
|
+
dot?: boolean;
|
|
9
|
+
showZero?: boolean;
|
|
10
|
+
max?: number;
|
|
11
|
+
color?: BadgeProps["color"];
|
|
12
|
+
variant?: BadgeProps["variant"];
|
|
13
|
+
overlap?: BadgeProps["overlap"];
|
|
14
|
+
anchorOrigin?: BadgeProps["anchorOrigin"];
|
|
15
|
+
badgeProps?: Omit<BadgeProps, "badgeContent" | "invisible" | "color" | "overlap" | "variant" | "max" | "showZero" | "anchorOrigin">;
|
|
16
|
+
sx?: SxProps<Theme>;
|
|
17
|
+
};
|
|
18
|
+
export declare function CounterBadge({ children, content, dot, showZero, max, color, variant, overlap, anchorOrigin, badgeProps, sx, }: CounterBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export type PlaceholderProps = AvatarProps & {
|
|
20
|
+
icon?: React.ReactNode;
|
|
21
|
+
label?: string;
|
|
22
|
+
size?: number;
|
|
23
|
+
bgcolor?: string;
|
|
24
|
+
color?: string;
|
|
25
|
+
};
|
|
26
|
+
export declare function Placeholder({ icon, label, size, bgcolor, color, ...avatarProps }: PlaceholderProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare const BadgeComponents: {
|
|
28
|
+
CounterBadge: typeof CounterBadge;
|
|
29
|
+
Placeholder: typeof Placeholder;
|
|
30
|
+
};
|
|
31
|
+
export default BadgeComponents;
|
|
32
|
+
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../src/components/DataDisplay/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAO,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAe,EAAE,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGhE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,IAAI,CACf,UAAU,EACR,cAAc,GACd,WAAW,GACX,OAAO,GACP,SAAS,GACT,SAAS,GACT,KAAK,GACL,UAAU,GACV,cAAc,CACjB,CAAC;IACF,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,GAAW,EACX,QAAgB,EAChB,GAAQ,EACR,KAAiB,EACjB,OAAoB,EACpB,OAAoB,EACpB,YAAuD,EACvD,UAAU,EACV,EAAE,GACH,EAAE,iBAAiB,2CAiBnB;AAED,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,IAAgD,EAChD,KAAK,EACL,IAAS,EACT,OAA4B,EAC5B,KAAsB,EACtB,GAAG,WAAW,EACf,EAAE,gBAAgB,2CAclB;AAED,QAAA,MAAM,eAAe;;;CAGpB,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CounterBadge } from './badge';
|
|
3
|
+
declare const meta: Meta<typeof CounterBadge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CounterBadge>;
|
|
6
|
+
export declare const Indicators: Story;
|
|
7
|
+
export declare const WithMax: Story;
|
|
8
|
+
export declare const Positions: Story;
|
|
9
|
+
//# sourceMappingURL=badge.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataDisplay/badge/badge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAe,MAAM,SAAS,CAAC;AAIpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CA+BnC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KA0BvB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface ModalCardProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleSubtitle?: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
subtitleLinkText?: string;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
illustration?: React.ReactNode;
|
|
11
|
+
primaryAction?: {
|
|
12
|
+
label: string;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
variant?: "contained" | "outlined";
|
|
15
|
+
color?: "primary" | "secondary" | "success";
|
|
16
|
+
};
|
|
17
|
+
secondaryAction?: {
|
|
18
|
+
label: string;
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
variant?: "contained" | "outlined";
|
|
21
|
+
};
|
|
22
|
+
onClose?: () => void;
|
|
23
|
+
maxWidth?: number;
|
|
24
|
+
customStyle?: SxProps<Theme>;
|
|
25
|
+
}
|
|
26
|
+
declare const ModalCard: React.FC<ModalCardProps>;
|
|
27
|
+
export default ModalCard;
|
|
28
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/Feedback/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC3D,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;QACnC,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;KAC7C,CAAC;IACF,eAAe,CAAC,EAAE;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;KACpC,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA+FvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as ModalCard } from './Modal';
|
|
3
|
+
declare const meta: Meta<typeof ModalCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ModalCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const LocationConsentFR: Story;
|
|
8
|
+
export declare const UpdateCreditCardFR: Story;
|
|
9
|
+
//# sourceMappingURL=Modal.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Feedback/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,SAAkC,MAAM,SAAS,CAAC;AAGzD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAWhC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KA0B/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAqBhC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { OptionGroupProps } from '../../../../utils/types';
|
|
2
|
+
export type SelectedOptions = {
|
|
3
|
+
[groupId: string]: string[] | Record<string, number>;
|
|
4
|
+
};
|
|
5
|
+
export declare function OptionGroup({ group, value, onChange, highlightError, }: OptionGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=OptionGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feedback/Modal/ProductDetailModal/OptionGroup.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtD,CAAC;AAIF,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,cAAsB,GACvB,EAAE,gBAAgB,2CA4IlB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ProductDetailModalProps } from '../../../../utils/types';
|
|
2
|
+
export declare function ProductDetailModal({ open, product, groups, value, onChange, quantity, onQuantityChange, onClose, onAddToCart, ctaLabel, maxWidth, }: ProductDetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ProductDetailModal;
|
|
4
|
+
//# sourceMappingURL=ProductDetailModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductDetailModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feedback/Modal/ProductDetailModal/ProductDetailModal.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAkCvE,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,OAAO,EACP,MAAW,EACX,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,OAAO,EACP,WAAW,EACX,QAAoB,EACpB,QAAc,GACf,EAAE,uBAAuB,2CA+LzB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ProductDetailModal } from './ProductDetailModal';
|
|
3
|
+
declare const meta: Meta<typeof ProductDetailModal>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ProductDetailModal>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=ProductDetailModal.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductDetailModal.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feedback/Modal/ProductDetailModal/ProductDetailModal.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAGzC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAuCjD,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CircularProgressWithLabel, CircularProgressWithLabelProps } from './Progress';
|
|
3
|
+
declare const meta: Meta<typeof CircularProgressWithLabel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<CircularProgressWithLabelProps>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AllVariants: Story;
|
|
8
|
+
//# sourceMappingURL=CircularProgress.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircularProgress.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Feedback/Progress/CircularProgress.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,yBAAyB,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAE5F,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,yBAAyB,CAOhD,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,8BAA8B,CAAC,CAAC;AAatD,eAAO,MAAM,OAAO,EAAE,KAAmD,CAAA;AAEzE,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LinearProgressWithLabel } from './Progress';
|
|
3
|
+
declare const meta: Meta<typeof LinearProgressWithLabel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LinearProgressWithLabel>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AllVariants: Story;
|
|
8
|
+
//# sourceMappingURL=LinearProgress.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinearProgress.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Feedback/Progress/LinearProgress.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,uBAAuB,EAAqC,MAAM,YAAY,CAAC;AAExF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,uBAAuB,CAQ9C,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAiCtD,eAAO,MAAM,OAAO,EAAE,KAAsC,CAAC;AAE7D,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface CircularProgressWithLabelProps {
|
|
3
|
+
value: number;
|
|
4
|
+
size?: number;
|
|
5
|
+
thickness?: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
bgColor?: string;
|
|
8
|
+
progressColor?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const CircularProgressWithLabel: React.FC<CircularProgressWithLabelProps>;
|
|
11
|
+
export interface LinearProgressWithLabelProps {
|
|
12
|
+
value: number;
|
|
13
|
+
height?: number;
|
|
14
|
+
label?: string;
|
|
15
|
+
bgColor?: string;
|
|
16
|
+
progressColor?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const LinearProgressWithLabel: React.FC<LinearProgressWithLabelProps>;
|
|
19
|
+
export interface StepperWithLabelProps {
|
|
20
|
+
steps: string[];
|
|
21
|
+
activeStep: number;
|
|
22
|
+
label?: string;
|
|
23
|
+
color?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const StepperWithLabel: React.FC<StepperWithLabelProps>;
|
|
26
|
+
declare const ProgressComponents: {
|
|
27
|
+
CircularProgressWithLabel: React.FC<CircularProgressWithLabelProps>;
|
|
28
|
+
LinearProgressWithLabel: React.FC<LinearProgressWithLabelProps>;
|
|
29
|
+
StepperWithLabel: React.FC<StepperWithLabelProps>;
|
|
30
|
+
};
|
|
31
|
+
export default ProgressComponents;
|
|
32
|
+
//# sourceMappingURL=Progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../../src/components/Feedback/Progress/Progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAyC9E,CAAC;AAEF,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAoC1E,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkC5D,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;;CAIvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface StepperWithLabelProps {
|
|
3
|
+
steps: string[];
|
|
4
|
+
activeStep: number;
|
|
5
|
+
label?: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const StepperWithLabel: React.FC<StepperWithLabelProps>;
|
|
9
|
+
declare const StepperComponent: {
|
|
10
|
+
StepperWithLabel: React.FC<StepperWithLabelProps>;
|
|
11
|
+
};
|
|
12
|
+
export default StepperComponent;
|
|
13
|
+
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../src/components/Feedback/Progress/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0CD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgD5D,CAAC;AAEF,QAAA,MAAM,gBAAgB;;CAErB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./Stepper').StepperWithLabelProps>;
|
|
5
|
+
argTypes: {
|
|
6
|
+
activeStep: {
|
|
7
|
+
control: {
|
|
8
|
+
type: "number";
|
|
9
|
+
min: number;
|
|
10
|
+
};
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
steps: {
|
|
14
|
+
table: {
|
|
15
|
+
disable: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
label: {
|
|
19
|
+
control: "text";
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
control: "text";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
parameters: {
|
|
26
|
+
layout: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default meta;
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
export declare const Default: Story;
|
|
32
|
+
export declare const AllVariants: Story;
|
|
33
|
+
//# sourceMappingURL=Stepper.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Feedback/Progress/Stepper.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAe+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type FooterLink = {
|
|
3
|
+
label: string;
|
|
4
|
+
href: string;
|
|
5
|
+
};
|
|
6
|
+
export type Social = 'facebook' | 'instagram' | 'x' | 'tiktok';
|
|
7
|
+
export type FooterProps = {
|
|
8
|
+
brand?: string;
|
|
9
|
+
year?: number;
|
|
10
|
+
linksLeft?: FooterLink[];
|
|
11
|
+
socials?: Social[];
|
|
12
|
+
languages?: string[];
|
|
13
|
+
currentLanguage?: string;
|
|
14
|
+
onLanguageChange?: (lang: string) => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const Footer: React.FC<FooterProps>;
|
|
17
|
+
export default Footer;
|
|
18
|
+
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AACzD,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,GAAG,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,UAAU,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C,CAAC;AA2EF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA2HxC,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/Footer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,QAAA,MAAM,IAAI,EAAE,IAEX,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export type OrderCardProps = {
|
|
3
|
+
quantity?: number;
|
|
4
|
+
priceOriginal?: number;
|
|
5
|
+
priceDiscount?: number;
|
|
6
|
+
etaMinutes?: number;
|
|
7
|
+
courierCode?: string | number;
|
|
8
|
+
pointsEarned?: number;
|
|
9
|
+
onIncrease?: () => void;
|
|
10
|
+
onDecrease?: () => void;
|
|
11
|
+
onCheckout?: () => void;
|
|
12
|
+
onViewOrder?: () => void;
|
|
13
|
+
onNeedHelp?: () => void;
|
|
14
|
+
onAllowLocation?: () => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const OrderCard: React.FC<OrderCardProps>;
|
|
17
|
+
//# sourceMappingURL=OrderCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderCard.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/OrderCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAOF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAyK9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,mCAAmC,CAAC;AAEnF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqOxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Button } from './Button';
|
|
3
|
+
declare const meta: Meta<typeof Button>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Button>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AllVariants: Story;
|
|
8
|
+
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAkC7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAmDzB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LinkProps } from '@mui/material/Link';
|
|
3
|
+
import { IconName } from '../../../utils/icons';
|
|
4
|
+
export type ButtonLinkColor = "primary" | "secondary" | "success" | "warning" | "error" | "info" | "inherit" | "text";
|
|
5
|
+
export interface ButtonLinkProps extends Omit<LinkProps, "color"> {
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
color?: ButtonLinkColor;
|
|
8
|
+
withArrow?: boolean;
|
|
9
|
+
external?: boolean;
|
|
10
|
+
rightIcon?: IconName;
|
|
11
|
+
leftIcon?: IconName;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
weight?: 400 | 500 | 600 | 700;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const ButtonLink: React.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
17
|
+
export default ButtonLink;
|
|
18
|
+
//# sourceMappingURL=ButtonLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Button/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAK1D,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,GACN,SAAS,GACT,MAAM,CAAC;AAEX,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC/D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAoBD,eAAO,MAAM,UAAU,wGA4DtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ButtonLink } from './ButtonLink';
|
|
3
|
+
declare const meta: Meta<typeof ButtonLink>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ButtonLink>;
|
|
6
|
+
export declare const DefaultWithCustomIcons: Story;
|
|
7
|
+
export declare const AllVariants: Story;
|
|
8
|
+
//# sourceMappingURL=ButtonLink.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonLink.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Button/ButtonLink.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAwBjC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAIzC,eAAO,MAAM,sBAAsB,EAAE,KAKpC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAiBzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type QuantityControlProps = {
|
|
3
|
+
quantity: number;
|
|
4
|
+
onIncrease?: () => void;
|
|
5
|
+
onDecrease?: () => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const ButtonQuantityControl: React.FC<QuantityControlProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ButtonQuantityControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonQuantityControl.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Button/ButtonQuantityControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAqBF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0DhE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CustomInput } from '../CustomInput/CustomInput';
|
|
3
|
+
import { CustomCheckboxStoryProps } from '../../../Interface/Interfaces';
|
|
4
|
+
declare const meta: Meta<typeof CustomInput>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<CustomCheckboxStoryProps>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const AllVariants: Story;
|
|
9
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/CustomInput/Checkbox.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAGzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAkBlC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,wBAAwB,CAAC,CAAC;AAsBhD,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAqDzB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ColorType } from '../../../utils/constants';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type InputType = 'checkbox' | 'radio';
|
|
4
|
+
export interface CustomInputProps {
|
|
5
|
+
type: InputType;
|
|
6
|
+
label?: string;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
colorType?: ColorType;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
customIcon?: boolean;
|
|
11
|
+
onChange?: (checked: boolean) => void;
|
|
12
|
+
name?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
isCustomInput?: boolean;
|
|
15
|
+
fontSize?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const CustomInput: React.FC<CustomInputProps>;
|
|
18
|
+
export default CustomInput;
|
|
19
|
+
//# sourceMappingURL=CustomInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/CustomInput/CustomInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,SAAS,EAAsC,MAAM,0BAA0B,CAAC;AAEzF,KAAK,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;AAEtC,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB;AAwDD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuGlD,CAAC;AACF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CustomInput } from './CustomInput';
|
|
3
|
+
import { CustomRadioStoryProps } from '../../../Interface/Interfaces';
|
|
4
|
+
declare const meta: Meta<typeof CustomInput>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<CustomRadioStoryProps>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const AllVariants: Story;
|
|
9
|
+
//# sourceMappingURL=RadioButton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/CustomInput/RadioButton.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAkBlC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAuB7C,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAgEzB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type StripeCardFieldProps = {
|
|
3
|
+
label?: string;
|
|
4
|
+
onCardChange?: (event: any) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
options?: any;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
forceError?: boolean;
|
|
10
|
+
forceValid?: boolean;
|
|
11
|
+
useSplitFields?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const StripeCardField: React.FC<StripeCardFieldProps>;
|
|
14
|
+
export default StripeCardField;
|
|
15
|
+
//# sourceMappingURL=StripeCardField.d.ts.map
|