@dishopsaas/design-system 0.0.48 → 0.0.52
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 +25 -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.cjs +66 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +9452 -8837
- package/dist/index.mjs.map +1 -1
- 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 +117 -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
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const VariantType: {
|
|
3
|
+
readonly Primary: "primary";
|
|
4
|
+
readonly Secondary: "secondary";
|
|
5
|
+
};
|
|
6
|
+
export type VariantType = (typeof VariantType)[keyof typeof VariantType];
|
|
7
|
+
export declare const ColorType: {
|
|
8
|
+
readonly Default: "default";
|
|
9
|
+
readonly Primary: "primary";
|
|
10
|
+
readonly Secondary: "secondary";
|
|
11
|
+
readonly Tertiary: "tertiary";
|
|
12
|
+
readonly Transparent: "transparent";
|
|
13
|
+
readonly Success: "success";
|
|
14
|
+
readonly Warning: "warning";
|
|
15
|
+
readonly Error: "error";
|
|
16
|
+
readonly Info: "info";
|
|
17
|
+
readonly Disabled: "disabled";
|
|
18
|
+
readonly Hover: "hover";
|
|
19
|
+
readonly Linear: "linear";
|
|
20
|
+
readonly successLight: "successLight";
|
|
21
|
+
readonly successSecondary: "successSecondary";
|
|
22
|
+
};
|
|
23
|
+
export type ColorType = (typeof ColorType)[keyof typeof ColorType];
|
|
24
|
+
export interface ColorEntry {
|
|
25
|
+
bg: string;
|
|
26
|
+
border: string;
|
|
27
|
+
text: string;
|
|
28
|
+
hover?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns a fully typed object with all color states.
|
|
32
|
+
*/
|
|
33
|
+
export declare const getCustomColors: (theme: Theme) => Record<ColorType, ColorEntry>;
|
|
34
|
+
export type CustomColors = ReturnType<typeof getCustomColors>[ColorType];
|
|
35
|
+
export declare const dashedBorderStyle: (borderRadius?: number, color?: string) => {
|
|
36
|
+
borderRadius: number;
|
|
37
|
+
border: string;
|
|
38
|
+
};
|
|
39
|
+
export declare const successButton: {
|
|
40
|
+
bgcolor: string;
|
|
41
|
+
color: string;
|
|
42
|
+
"&:hover": {
|
|
43
|
+
bgcolor: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const cancelButton: {
|
|
47
|
+
bgcolor: string;
|
|
48
|
+
color: string;
|
|
49
|
+
"&:hover": {
|
|
50
|
+
bgcolor: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare const createButtonColors: (secondaryColor: string, mode: string) => {
|
|
54
|
+
success: {
|
|
55
|
+
default: {
|
|
56
|
+
bg: string;
|
|
57
|
+
text: string;
|
|
58
|
+
border: string;
|
|
59
|
+
};
|
|
60
|
+
hover: {
|
|
61
|
+
bg: string;
|
|
62
|
+
text: string;
|
|
63
|
+
border: string;
|
|
64
|
+
};
|
|
65
|
+
disabled: {
|
|
66
|
+
bg: string;
|
|
67
|
+
text: string;
|
|
68
|
+
border: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
primary: {
|
|
72
|
+
default: {
|
|
73
|
+
bg: string;
|
|
74
|
+
text: string;
|
|
75
|
+
border: string;
|
|
76
|
+
};
|
|
77
|
+
hover: {
|
|
78
|
+
bg: string;
|
|
79
|
+
text: string;
|
|
80
|
+
border: string;
|
|
81
|
+
};
|
|
82
|
+
disabled: {
|
|
83
|
+
bg: string;
|
|
84
|
+
text: string;
|
|
85
|
+
border: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
destructive: {
|
|
89
|
+
default: {
|
|
90
|
+
bg: string;
|
|
91
|
+
text: string;
|
|
92
|
+
border: string;
|
|
93
|
+
};
|
|
94
|
+
hover: {
|
|
95
|
+
bg: string;
|
|
96
|
+
text: string;
|
|
97
|
+
border: string;
|
|
98
|
+
};
|
|
99
|
+
disabled: {
|
|
100
|
+
bg: string;
|
|
101
|
+
text: string;
|
|
102
|
+
border: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
secondary: {
|
|
106
|
+
default: {
|
|
107
|
+
bg: string;
|
|
108
|
+
text: string;
|
|
109
|
+
border: string;
|
|
110
|
+
};
|
|
111
|
+
hover: {
|
|
112
|
+
bg: string;
|
|
113
|
+
text: string;
|
|
114
|
+
border: string;
|
|
115
|
+
};
|
|
116
|
+
disabled: {
|
|
117
|
+
bg: string;
|
|
118
|
+
text: string;
|
|
119
|
+
border: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
tertiary: {
|
|
123
|
+
default: {
|
|
124
|
+
bg: string;
|
|
125
|
+
text: string;
|
|
126
|
+
border: string;
|
|
127
|
+
};
|
|
128
|
+
hover: {
|
|
129
|
+
bg: string;
|
|
130
|
+
text: string;
|
|
131
|
+
border: string;
|
|
132
|
+
};
|
|
133
|
+
disabled: {
|
|
134
|
+
bg: string;
|
|
135
|
+
text: string;
|
|
136
|
+
border: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
transparent: {
|
|
140
|
+
default: {
|
|
141
|
+
bg: string;
|
|
142
|
+
text: string;
|
|
143
|
+
border: string;
|
|
144
|
+
};
|
|
145
|
+
hover: {
|
|
146
|
+
bg: string;
|
|
147
|
+
text: string;
|
|
148
|
+
border: string;
|
|
149
|
+
};
|
|
150
|
+
disabled: {
|
|
151
|
+
bg: string;
|
|
152
|
+
text: string;
|
|
153
|
+
border: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
export declare const getButtonType: (colorType: ColorType) => "primary" | "secondary" | "tertiary" | "transparent" | "success" | "destructive";
|
|
158
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAGlD,eAAO,MAAM,WAAW;;;CAGd,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;CAeZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,KAAG,MAAM,CAAC,SAAS,EAAE,UAAU,CA0B1E,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC;AAEzE,eAAO,MAAM,iBAAiB,GAC5B,eAAc,MAAU,EACxB,QAAO,MAAkB,KACxB;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAGvC,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;CAIzB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;CAIxB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,gBAAgB,MAAM,EAAE,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DtE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,WAAW,SAAS,qFAiBjD,CAAC"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { IconName } from './icons';
|
|
2
|
+
import { ProductCardProps, ListItemProps, ButtonStoryProps } from '../Interface/Interfaces';
|
|
3
|
+
import { PaymentMethod, PhoneFieldProps, ProductOptionGroup, ProductDetail } from './types';
|
|
4
|
+
import { GridProps } from '@mui/material/Grid';
|
|
5
|
+
export declare const deliveryOptions: {
|
|
6
|
+
type: string;
|
|
7
|
+
address: string;
|
|
8
|
+
date: string;
|
|
9
|
+
icon: IconName;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const timeOptions: {
|
|
12
|
+
time: string;
|
|
13
|
+
detail: string;
|
|
14
|
+
icon: IconName;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const paymentMethods: ({
|
|
17
|
+
value: string;
|
|
18
|
+
label: string;
|
|
19
|
+
image: "masterCard";
|
|
20
|
+
isFavorite: boolean;
|
|
21
|
+
} | {
|
|
22
|
+
value: string;
|
|
23
|
+
label: string;
|
|
24
|
+
image: "visa";
|
|
25
|
+
isFavorite?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
value: string;
|
|
28
|
+
label: string;
|
|
29
|
+
image: "applePay";
|
|
30
|
+
isFavorite?: undefined;
|
|
31
|
+
})[];
|
|
32
|
+
export declare const tabsData: {
|
|
33
|
+
label: string;
|
|
34
|
+
content: string;
|
|
35
|
+
}[];
|
|
36
|
+
export declare const imageStories: {
|
|
37
|
+
name: string;
|
|
38
|
+
src: string;
|
|
39
|
+
alt: string;
|
|
40
|
+
}[];
|
|
41
|
+
export declare const itemsPassword: ({
|
|
42
|
+
label: string;
|
|
43
|
+
placeholder: string;
|
|
44
|
+
value: string;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
label: string;
|
|
48
|
+
placeholder: string;
|
|
49
|
+
value: string;
|
|
50
|
+
disabled?: undefined;
|
|
51
|
+
})[];
|
|
52
|
+
export declare const itemsUsername: {
|
|
53
|
+
label: string;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}[];
|
|
57
|
+
export declare const itemsPromoCode: ({
|
|
58
|
+
placeholder: string;
|
|
59
|
+
value: string;
|
|
60
|
+
success?: undefined;
|
|
61
|
+
error?: undefined;
|
|
62
|
+
helperText?: undefined;
|
|
63
|
+
hasTag?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
placeholder: string;
|
|
66
|
+
value: string;
|
|
67
|
+
success: boolean;
|
|
68
|
+
error?: undefined;
|
|
69
|
+
helperText?: undefined;
|
|
70
|
+
hasTag?: undefined;
|
|
71
|
+
} | {
|
|
72
|
+
placeholder: string;
|
|
73
|
+
value: string;
|
|
74
|
+
error: boolean;
|
|
75
|
+
success?: undefined;
|
|
76
|
+
helperText?: undefined;
|
|
77
|
+
hasTag?: undefined;
|
|
78
|
+
} | {
|
|
79
|
+
placeholder: string;
|
|
80
|
+
value: string;
|
|
81
|
+
helperText: string;
|
|
82
|
+
success: boolean;
|
|
83
|
+
hasTag: boolean;
|
|
84
|
+
error?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
placeholder: string;
|
|
87
|
+
value: string;
|
|
88
|
+
helperText: string;
|
|
89
|
+
error: boolean;
|
|
90
|
+
success?: undefined;
|
|
91
|
+
hasTag?: undefined;
|
|
92
|
+
})[];
|
|
93
|
+
export declare const initialMethods: PaymentMethod[];
|
|
94
|
+
export declare const defaultDescription = "This vegan smoothie blends superfoods like avocado, kale, and oat milk with antioxidant- and vitamin-rich honeydew, apples, and pineapple to add a little sweetness and energize your day.";
|
|
95
|
+
export declare const productCardVariations: ProductCardProps[];
|
|
96
|
+
export declare const BUTTON_SIZES: {
|
|
97
|
+
readonly Small: "small";
|
|
98
|
+
readonly Medium: "medium";
|
|
99
|
+
readonly Large: "large";
|
|
100
|
+
};
|
|
101
|
+
export declare const defaultButtonArgs: Partial<ButtonStoryProps>;
|
|
102
|
+
export declare const addresses: ListItemProps[];
|
|
103
|
+
export declare const dropDownData: ({
|
|
104
|
+
label: string;
|
|
105
|
+
status: string;
|
|
106
|
+
text: string;
|
|
107
|
+
hint?: undefined;
|
|
108
|
+
disabled?: undefined;
|
|
109
|
+
} | {
|
|
110
|
+
label: string;
|
|
111
|
+
status: string;
|
|
112
|
+
hint: string;
|
|
113
|
+
text: string;
|
|
114
|
+
disabled?: undefined;
|
|
115
|
+
} | {
|
|
116
|
+
label: string;
|
|
117
|
+
status: string;
|
|
118
|
+
disabled: boolean;
|
|
119
|
+
text: string;
|
|
120
|
+
hint?: undefined;
|
|
121
|
+
})[];
|
|
122
|
+
export declare const gridVariants: ({
|
|
123
|
+
title: string;
|
|
124
|
+
props: {
|
|
125
|
+
spacing: number;
|
|
126
|
+
rowSpacing: number;
|
|
127
|
+
columnSpacing: number;
|
|
128
|
+
direction: GridProps["direction"];
|
|
129
|
+
itemProps?: undefined;
|
|
130
|
+
justifyContent?: undefined;
|
|
131
|
+
alignItems?: undefined;
|
|
132
|
+
};
|
|
133
|
+
} | {
|
|
134
|
+
title: string;
|
|
135
|
+
props: {
|
|
136
|
+
spacing: number;
|
|
137
|
+
rowSpacing: number;
|
|
138
|
+
columnSpacing: number;
|
|
139
|
+
direction: GridProps["direction"];
|
|
140
|
+
itemProps: {
|
|
141
|
+
xs: number;
|
|
142
|
+
sm: number;
|
|
143
|
+
md: number;
|
|
144
|
+
}[];
|
|
145
|
+
justifyContent?: undefined;
|
|
146
|
+
alignItems?: undefined;
|
|
147
|
+
};
|
|
148
|
+
} | {
|
|
149
|
+
title: string;
|
|
150
|
+
props: {
|
|
151
|
+
spacing: number;
|
|
152
|
+
rowSpacing: number;
|
|
153
|
+
columnSpacing: number;
|
|
154
|
+
justifyContent: string;
|
|
155
|
+
alignItems: string;
|
|
156
|
+
direction: GridProps["direction"];
|
|
157
|
+
itemProps?: undefined;
|
|
158
|
+
};
|
|
159
|
+
})[];
|
|
160
|
+
export declare const phoneVariants: Array<{
|
|
161
|
+
label: string;
|
|
162
|
+
args: PhoneFieldProps;
|
|
163
|
+
}>;
|
|
164
|
+
export declare const buttonConfigs: ({
|
|
165
|
+
title: string;
|
|
166
|
+
type: "primary";
|
|
167
|
+
label: string;
|
|
168
|
+
} | {
|
|
169
|
+
title: string;
|
|
170
|
+
type: "secondary";
|
|
171
|
+
label: string;
|
|
172
|
+
} | {
|
|
173
|
+
title: string;
|
|
174
|
+
type: "tertiary";
|
|
175
|
+
label: string;
|
|
176
|
+
} | {
|
|
177
|
+
title: string;
|
|
178
|
+
type: "transparent";
|
|
179
|
+
label: string;
|
|
180
|
+
} | {
|
|
181
|
+
title: string;
|
|
182
|
+
type: "success";
|
|
183
|
+
label: string;
|
|
184
|
+
} | {
|
|
185
|
+
title: string;
|
|
186
|
+
type: "error";
|
|
187
|
+
label: string;
|
|
188
|
+
})[];
|
|
189
|
+
export declare const menuData: {
|
|
190
|
+
key: string;
|
|
191
|
+
name: string;
|
|
192
|
+
image: import('react').ReactNode;
|
|
193
|
+
}[];
|
|
194
|
+
export declare const groups: ProductOptionGroup[];
|
|
195
|
+
export declare const product: ProductDetail;
|
|
196
|
+
//# sourceMappingURL=dataConfig.d.ts.map
|
|
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;;;mBAStB,SAAS,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;mBAgBtB,SAAS,CAAC,WAAW,CAAC;;;IAY/C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,eAAe,CAAA;CAAE,CAKzE,CAAC;AACF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;IA+BzB,CAAC;AAcF,eAAO,MAAM,QAAQ;;;;GAIlB,CAAC;AAEJ,eAAO,MAAM,MAAM,EAAE,kBAAkB,EA8DtC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,aAYrB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const iconsMap: {
|
|
2
|
+
readonly person: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
|
+
readonly lock: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
4
|
+
readonly creditCard: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
5
|
+
readonly alert: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
6
|
+
readonly check: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
7
|
+
readonly visibility: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
8
|
+
readonly visibilityOff: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
9
|
+
readonly success: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
10
|
+
readonly warning: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
11
|
+
readonly error: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
12
|
+
readonly info: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
13
|
+
readonly Trophy: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
14
|
+
readonly smartphone: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
15
|
+
readonly Trash: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
16
|
+
readonly Pencil: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
17
|
+
readonly Heart: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
18
|
+
readonly Minus: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
19
|
+
readonly Plus: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
20
|
+
readonly Search: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
21
|
+
readonly close: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
22
|
+
readonly Gift: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
23
|
+
readonly ShoppingBasket: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
24
|
+
readonly ChevronRight: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
25
|
+
readonly ExternalLink: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
26
|
+
readonly position: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
27
|
+
readonly ChevronUp: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
28
|
+
readonly ChevronDown: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
29
|
+
readonly Globe: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
30
|
+
readonly Facebook: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
31
|
+
readonly Instagram: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
32
|
+
readonly Twitter: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
33
|
+
readonly Music: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
34
|
+
readonly Tag: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
35
|
+
readonly HelpCircle: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
36
|
+
readonly ShoppingBag: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
37
|
+
readonly Award: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
38
|
+
readonly Download: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
39
|
+
readonly TriangleAlert: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
40
|
+
readonly ChevronLeft: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
41
|
+
readonly Menu: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
42
|
+
readonly Bike: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
43
|
+
readonly clock: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
44
|
+
readonly Store: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
45
|
+
readonly Footprints: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
46
|
+
readonly CircleUser: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
47
|
+
readonly ArrowLeft: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
48
|
+
readonly Star: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
49
|
+
readonly Dot: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
50
|
+
readonly Locate: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
51
|
+
};
|
|
52
|
+
export type IconName = keyof typeof iconsMap;
|
|
53
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/utils/icons.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BX,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,QAAQ,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const imagesMap: {
|
|
2
|
+
readonly card: string;
|
|
3
|
+
readonly phone: string;
|
|
4
|
+
readonly gift: string;
|
|
5
|
+
readonly location: string;
|
|
6
|
+
readonly food: string;
|
|
7
|
+
readonly masterCard: string;
|
|
8
|
+
readonly visa: string;
|
|
9
|
+
readonly swile: string;
|
|
10
|
+
readonly cart: string;
|
|
11
|
+
readonly delivery: string;
|
|
12
|
+
readonly cookie: string;
|
|
13
|
+
readonly applePay: string;
|
|
14
|
+
readonly WhiteSwile: string;
|
|
15
|
+
readonly logo: string;
|
|
16
|
+
readonly user: string;
|
|
17
|
+
readonly gm: string;
|
|
18
|
+
readonly loyalty: string;
|
|
19
|
+
readonly promotion: string;
|
|
20
|
+
readonly starter: string;
|
|
21
|
+
readonly Soup: string;
|
|
22
|
+
readonly poke: string;
|
|
23
|
+
readonly drink: string;
|
|
24
|
+
readonly menu: string;
|
|
25
|
+
readonly dessert: string;
|
|
26
|
+
readonly custom_poke: string;
|
|
27
|
+
readonly facebook: string;
|
|
28
|
+
readonly apple: string;
|
|
29
|
+
readonly google: string;
|
|
30
|
+
readonly forgetPassword: string;
|
|
31
|
+
readonly code: string;
|
|
32
|
+
readonly click_and_seat: string;
|
|
33
|
+
readonly click_and_collect: string;
|
|
34
|
+
readonly empty_address: string;
|
|
35
|
+
readonly emptyPic: string;
|
|
36
|
+
};
|
|
37
|
+
export type ImageName = keyof typeof imagesMap;
|
|
38
|
+
//# sourceMappingURL=images.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../src/utils/images.tsx"],"names":[],"mappings":"AAkCA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBZ,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,SAAS,CAAC"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { PaletteMode, Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const spacing: {
|
|
3
|
+
readonly xs: 4;
|
|
4
|
+
readonly sm: 8;
|
|
5
|
+
readonly md: 16;
|
|
6
|
+
readonly lg: 24;
|
|
7
|
+
readonly xl: 32;
|
|
8
|
+
};
|
|
9
|
+
export declare const borderRadius: {
|
|
10
|
+
readonly sm: 4;
|
|
11
|
+
readonly md: 8;
|
|
12
|
+
readonly lg: 12;
|
|
13
|
+
readonly xl: 16;
|
|
14
|
+
readonly xxl: 18;
|
|
15
|
+
readonly xxxl: 20;
|
|
16
|
+
};
|
|
17
|
+
export declare const fontSizes: {
|
|
18
|
+
readonly h1: 24;
|
|
19
|
+
readonly h2: 20;
|
|
20
|
+
readonly h3: 18;
|
|
21
|
+
readonly h4: 16;
|
|
22
|
+
readonly h5: 14;
|
|
23
|
+
readonly h6: 12;
|
|
24
|
+
};
|
|
25
|
+
export declare const fontFamily: {
|
|
26
|
+
mainFont: string;
|
|
27
|
+
rightGrotesk: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const typography: {
|
|
30
|
+
fontFamily: string;
|
|
31
|
+
h1: {
|
|
32
|
+
fontFamily: string;
|
|
33
|
+
letterSpacing: string;
|
|
34
|
+
fontWeight: number;
|
|
35
|
+
fontSize: string;
|
|
36
|
+
lineHeight: number;
|
|
37
|
+
};
|
|
38
|
+
h2: {
|
|
39
|
+
fontFamily: string;
|
|
40
|
+
letterSpacing: string;
|
|
41
|
+
fontWeight: number;
|
|
42
|
+
fontSize: string;
|
|
43
|
+
lineHeight: number;
|
|
44
|
+
};
|
|
45
|
+
h3: {
|
|
46
|
+
fontFamily: string;
|
|
47
|
+
letterSpacing: string;
|
|
48
|
+
fontWeight: number;
|
|
49
|
+
fontSize: string;
|
|
50
|
+
lineHeight: number;
|
|
51
|
+
};
|
|
52
|
+
h4: {
|
|
53
|
+
fontFamily: string;
|
|
54
|
+
letterSpacing: string;
|
|
55
|
+
fontWeight: number;
|
|
56
|
+
fontSize: string;
|
|
57
|
+
lineHeight: number;
|
|
58
|
+
};
|
|
59
|
+
h5: {
|
|
60
|
+
fontFamily: string;
|
|
61
|
+
letterSpacing: string;
|
|
62
|
+
fontWeight: number;
|
|
63
|
+
fontSize: string;
|
|
64
|
+
lineHeight: number;
|
|
65
|
+
};
|
|
66
|
+
h6: {
|
|
67
|
+
fontFamily: string;
|
|
68
|
+
letterSpacing: string;
|
|
69
|
+
fontWeight: number;
|
|
70
|
+
fontSize: string;
|
|
71
|
+
lineHeight: number;
|
|
72
|
+
};
|
|
73
|
+
subtitle2: {
|
|
74
|
+
fontFamily: string;
|
|
75
|
+
letterSpacing: string;
|
|
76
|
+
fontWeight: number;
|
|
77
|
+
fontSize: string;
|
|
78
|
+
lineHeight: number;
|
|
79
|
+
};
|
|
80
|
+
body1: {
|
|
81
|
+
fontFamily: string;
|
|
82
|
+
letterSpacing: string;
|
|
83
|
+
fontWeight: number;
|
|
84
|
+
fontSize: string;
|
|
85
|
+
lineHeight: number;
|
|
86
|
+
};
|
|
87
|
+
body2: {
|
|
88
|
+
fontFamily: string;
|
|
89
|
+
letterSpacing: string;
|
|
90
|
+
fontWeight: number;
|
|
91
|
+
fontSize: string;
|
|
92
|
+
lineHeight: number;
|
|
93
|
+
};
|
|
94
|
+
caption: {
|
|
95
|
+
fontFamily: string;
|
|
96
|
+
letterSpacing: string;
|
|
97
|
+
fontWeight: number;
|
|
98
|
+
fontSize: string;
|
|
99
|
+
lineHeight: number;
|
|
100
|
+
};
|
|
101
|
+
button: {
|
|
102
|
+
textTransform: "none";
|
|
103
|
+
fontWeight: number;
|
|
104
|
+
fontSize: string;
|
|
105
|
+
lineHeight: number;
|
|
106
|
+
fontFamily: string;
|
|
107
|
+
letterSpacing: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export declare const baseShadows: [string, ...string[]];
|
|
111
|
+
declare module '@mui/material/styles' {
|
|
112
|
+
interface Theme {
|
|
113
|
+
borderRadius: typeof borderRadius;
|
|
114
|
+
}
|
|
115
|
+
interface ThemeOptions {
|
|
116
|
+
borderRadius?: typeof borderRadius;
|
|
117
|
+
}
|
|
118
|
+
interface Palette {
|
|
119
|
+
counter: {
|
|
120
|
+
default: string;
|
|
121
|
+
defaultGradient: string;
|
|
122
|
+
selected: string;
|
|
123
|
+
selectedGradient: string;
|
|
124
|
+
error: string;
|
|
125
|
+
errorGradient: string;
|
|
126
|
+
};
|
|
127
|
+
mediumGray: string;
|
|
128
|
+
tagColors?: {
|
|
129
|
+
error: {
|
|
130
|
+
bg: string;
|
|
131
|
+
border: string;
|
|
132
|
+
text: string;
|
|
133
|
+
};
|
|
134
|
+
successLight: {
|
|
135
|
+
bg: string;
|
|
136
|
+
border: string;
|
|
137
|
+
text: string;
|
|
138
|
+
};
|
|
139
|
+
successSecondary: {
|
|
140
|
+
bg: string;
|
|
141
|
+
border: string;
|
|
142
|
+
text: string;
|
|
143
|
+
};
|
|
144
|
+
lightGray: {
|
|
145
|
+
bg: string;
|
|
146
|
+
border: string;
|
|
147
|
+
text: string;
|
|
148
|
+
};
|
|
149
|
+
white: {
|
|
150
|
+
bg: string;
|
|
151
|
+
border: string;
|
|
152
|
+
text: string;
|
|
153
|
+
};
|
|
154
|
+
yellow: {
|
|
155
|
+
bg: string;
|
|
156
|
+
border: string;
|
|
157
|
+
text: string;
|
|
158
|
+
};
|
|
159
|
+
warning: {
|
|
160
|
+
bg: string;
|
|
161
|
+
border: string;
|
|
162
|
+
text: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
black: string;
|
|
166
|
+
banner: {
|
|
167
|
+
success: {
|
|
168
|
+
color: string;
|
|
169
|
+
contrast: string;
|
|
170
|
+
};
|
|
171
|
+
warning: {
|
|
172
|
+
color: string;
|
|
173
|
+
contrast: string;
|
|
174
|
+
};
|
|
175
|
+
error: {
|
|
176
|
+
color: string;
|
|
177
|
+
contrast: string;
|
|
178
|
+
};
|
|
179
|
+
info: {
|
|
180
|
+
color: string;
|
|
181
|
+
contrast: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
primary: {
|
|
185
|
+
main: string;
|
|
186
|
+
light: string;
|
|
187
|
+
dark: string;
|
|
188
|
+
contrastText: string;
|
|
189
|
+
};
|
|
190
|
+
custom?: {
|
|
191
|
+
customColor: string;
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
interface PaletteOptions {
|
|
195
|
+
counter?: Partial<Palette['counter']>;
|
|
196
|
+
mediumGray?: string;
|
|
197
|
+
tagColors?: Palette['tagColors'];
|
|
198
|
+
custom?: {
|
|
199
|
+
customColor: string;
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
export declare const createAppTheme: (mode: PaletteMode, secondaryColor?: string) => Theme;
|
|
204
|
+
export declare const useAppTheme: (mode?: PaletteMode, secondaryColor?: string) => Theme;
|
|
205
|
+
export type Spacing = keyof typeof spacing;
|
|
206
|
+
export type BorderRadius = keyof typeof borderRadius;
|
|
207
|
+
export type FontSizes = keyof typeof fontSizes;
|
|
208
|
+
export declare const lucideIconProps: {
|
|
209
|
+
display: string;
|
|
210
|
+
alignItems: string;
|
|
211
|
+
justifyContent: string;
|
|
212
|
+
marginRight: string;
|
|
213
|
+
width: string;
|
|
214
|
+
height: string;
|
|
215
|
+
};
|
|
216
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/utils/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,KAAK,EAEX,MAAM,sBAAsB,CAAC;AAK9B,eAAO,MAAM,OAAO;;;;;;CAAoD,CAAC;AACzE,eAAO,MAAM,YAAY;;;;;;;CAA+D,CAAC;AAKzF,eAAO,MAAM,SAAS;;;;;;;CAA8D,CAAC;AAmBrF,eAAO,MAAM,UAAU;;;CAA6B,CAAC;AAErD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBtB,CAAC;AAKF,eAAO,MAAM,WAAW,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAS7C,CAAC;AAoBF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,KAAK;QACb,YAAY,EAAE,OAAO,YAAY,CAAC;KACnC;IACD,UAAU,YAAY;QACpB,YAAY,CAAC,EAAE,OAAO,YAAY,CAAC;KACpC;IAED,UAAU,OAAO;QACf,OAAO,EAAE;YACP,OAAO,EAAE,MAAM,CAAC;YAChB,eAAe,EAAE,MAAM,CAAC;YACxB,QAAQ,EAAE,MAAM,CAAC;YACjB,gBAAgB,EAAE,MAAM,CAAC;YACzB,KAAK,EAAE,MA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