delivapp-ordering 0.0.111 → 0.0.113

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.
@@ -3,39 +3,155 @@ import './style.scss';
3
3
  export type IconProps = Omit<Partial<HTMLProps<SVGElement>>, 'size'> & {
4
4
  size?: 'big' | 'small' | 'default' | number | string;
5
5
  };
6
- export declare const IconTrash: (props: IconProps) => React.JSX.Element;
7
- export declare const IconStar: (props: IconProps) => React.JSX.Element;
8
- export declare const IconStarBorder: (props: IconProps) => React.JSX.Element;
9
- export declare const IconVegan: (props: IconProps) => React.JSX.Element;
10
- export declare const IconSpicy: (props: IconProps) => React.JSX.Element;
11
- export declare const IconNoGluten: (props: IconProps) => React.JSX.Element;
12
- export declare const IconSearch: (props: IconProps) => React.JSX.Element;
13
- export declare const IconCart: (props: IconProps) => React.JSX.Element;
14
- export declare const IconBicycle: (props: IconProps) => React.JSX.Element;
15
- export declare const IconClockAfternoon: (props: IconProps) => React.JSX.Element;
16
- export declare const IconClose: (props: IconProps) => React.JSX.Element;
17
- export declare const IconMapPin: (props: IconProps) => React.JSX.Element;
18
- export declare const IconPersonSimpleWalk: (props: IconProps) => React.JSX.Element;
19
- export declare const IconSparkle: (props: IconProps) => React.JSX.Element;
20
- export declare const IconPlay: (props: IconProps) => React.JSX.Element;
21
- export declare const IconPause: (props: IconProps) => React.JSX.Element;
22
- export declare const IconMute: (props: IconProps) => React.JSX.Element;
23
- export declare const IconUnmute: (props: IconProps) => React.JSX.Element;
24
- export declare const IconPlus: (props: IconProps) => React.JSX.Element;
25
- export declare const IconMinus: (props: IconProps) => React.JSX.Element;
26
- export declare const IconWarning: (props: IconProps) => React.JSX.Element;
27
- export declare const IconGift: (props: IconProps) => React.JSX.Element;
28
- export declare const IconPercent: (props: IconProps) => React.JSX.Element;
29
- export declare const IconMoto: (props: IconProps) => React.JSX.Element;
30
- export declare const IconDone: (props: IconProps) => React.JSX.Element;
31
- export declare const IconCutlery: (props: IconProps) => React.JSX.Element;
32
- export declare const IconEditPen: (props: IconProps) => React.JSX.Element;
33
- export declare const IconWeighted: (props: IconProps) => React.JSX.Element;
34
- export declare const IconImportant: (props: IconProps) => React.JSX.Element;
35
- export declare const IconDinein: (props: IconProps) => React.JSX.Element;
36
- export declare const IconLeftOption: (props: IconProps) => React.JSX.Element;
37
- export declare const IconRightOption: (props: IconProps) => React.JSX.Element;
38
- export declare const IconWholeOption: (props: IconProps) => React.JSX.Element;
39
- export declare const IconGiftCard: (props: IconProps) => React.JSX.Element;
40
- export declare const IconMan: (props: IconProps) => React.JSX.Element;
41
- export declare const IconCarbonScooter: (props: IconProps) => React.JSX.Element;
6
+ export declare const IconTrash: {
7
+ (props: IconProps): React.JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export declare const IconStar: {
11
+ (props: IconProps): React.JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export declare const IconStarBorder: {
15
+ (props: IconProps): React.JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export declare const IconVegan: {
19
+ (props: IconProps): React.JSX.Element;
20
+ displayName: string;
21
+ };
22
+ export declare const IconSpicy: {
23
+ (props: IconProps): React.JSX.Element;
24
+ displayName: string;
25
+ };
26
+ export declare const IconNoGluten: {
27
+ (props: IconProps): React.JSX.Element;
28
+ displayName: string;
29
+ };
30
+ export declare const IconSearch: {
31
+ (props: IconProps): React.JSX.Element;
32
+ displayName: string;
33
+ };
34
+ export declare const IconCart: {
35
+ (props: IconProps): React.JSX.Element;
36
+ displayName: string;
37
+ };
38
+ export declare const IconBicycle: {
39
+ (props: IconProps): React.JSX.Element;
40
+ displayName: string;
41
+ };
42
+ export declare const IconClockAfternoon: {
43
+ (props: IconProps): React.JSX.Element;
44
+ displayName: string;
45
+ };
46
+ export declare const IconClose: {
47
+ (props: IconProps): React.JSX.Element;
48
+ displayName: string;
49
+ };
50
+ export declare const IconMapPin: {
51
+ (props: IconProps): React.JSX.Element;
52
+ displayName: string;
53
+ };
54
+ export declare const IconPersonSimpleWalk: {
55
+ (props: IconProps): React.JSX.Element;
56
+ displayName: string;
57
+ };
58
+ export declare const IconSparkle: {
59
+ (props: IconProps): React.JSX.Element;
60
+ displayName: string;
61
+ };
62
+ export declare const IconPlay: {
63
+ (props: IconProps): React.JSX.Element;
64
+ displayName: string;
65
+ };
66
+ export declare const IconPause: {
67
+ (props: IconProps): React.JSX.Element;
68
+ displayName: string;
69
+ };
70
+ export declare const IconMute: {
71
+ (props: IconProps): React.JSX.Element;
72
+ displayName: string;
73
+ };
74
+ export declare const IconUnmute: {
75
+ (props: IconProps): React.JSX.Element;
76
+ displayName: string;
77
+ };
78
+ export declare const IconPlus: {
79
+ (props: IconProps): React.JSX.Element;
80
+ displayName: string;
81
+ };
82
+ export declare const IconMinus: {
83
+ (props: IconProps): React.JSX.Element;
84
+ displayName: string;
85
+ };
86
+ export declare const IconWarning: {
87
+ (props: IconProps): React.JSX.Element;
88
+ displayName: string;
89
+ };
90
+ export declare const IconGift: {
91
+ (props: IconProps): React.JSX.Element;
92
+ displayName: string;
93
+ };
94
+ export declare const IconPercent: {
95
+ (props: IconProps): React.JSX.Element;
96
+ displayName: string;
97
+ };
98
+ export declare const IconMoto: {
99
+ (props: IconProps): React.JSX.Element;
100
+ displayName: string;
101
+ };
102
+ export declare const IconDone: {
103
+ (props: IconProps): React.JSX.Element;
104
+ displayName: string;
105
+ };
106
+ export declare const IconCutlery: {
107
+ (props: IconProps): React.JSX.Element;
108
+ displayName: string;
109
+ };
110
+ export declare const IconEditPen: {
111
+ (props: IconProps): React.JSX.Element;
112
+ displayName: string;
113
+ };
114
+ export declare const IconWeighted: {
115
+ (props: IconProps): React.JSX.Element;
116
+ displayName: string;
117
+ };
118
+ export declare const IconImportant: {
119
+ (props: IconProps): React.JSX.Element;
120
+ displayName: string;
121
+ };
122
+ export declare const IconDinein: {
123
+ (props: IconProps): React.JSX.Element;
124
+ displayName: string;
125
+ };
126
+ export declare const IconLeftOption: {
127
+ (props: IconProps): React.JSX.Element;
128
+ displayName: string;
129
+ };
130
+ export declare const IconRightOption: {
131
+ (props: IconProps): React.JSX.Element;
132
+ displayName: string;
133
+ };
134
+ export declare const IconWholeOption: {
135
+ (props: IconProps): React.JSX.Element;
136
+ displayName: string;
137
+ };
138
+ export declare const IconGiftCard: {
139
+ (props: IconProps): React.JSX.Element;
140
+ displayName: string;
141
+ };
142
+ export declare const IconMan: {
143
+ (props: IconProps): React.JSX.Element;
144
+ displayName: string;
145
+ };
146
+ export declare const IconCarbonScooter: {
147
+ (props: IconProps): React.JSX.Element;
148
+ displayName: string;
149
+ };
150
+ export declare const IconShare: {
151
+ (props: IconProps): React.JSX.Element;
152
+ displayName: string;
153
+ };
154
+ export declare const IconClearCart: {
155
+ (props: IconProps): React.JSX.Element;
156
+ displayName: string;
157
+ };
@@ -18,6 +18,8 @@ export interface OrderSummaryWithProductsProps extends OrderSummaryProps {
18
18
  onChangeQuantity: (v: number, product: Product, index: number) => void;
19
19
  onClickProduct: (index: number) => void;
20
20
  onRemove: (v: number) => void;
21
+ onShare: () => void;
22
+ onClearCart: () => void;
21
23
  }
22
24
  export declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React.JSX.Element;
23
25
  export {};
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ISuboption } from '../SuboptionSelector';
3
- export declare const SuboptionSummary: (suboptions: ISuboption[]) => React.JSX.Element;
3
+ import { CURRENCY } from 'enums/enums';
4
+ export declare const SuboptionSummary: (suboptions: ISuboption[], withHalfOption: boolean, currency: CURRENCY) => React.JSX.Element;
@@ -24,7 +24,7 @@ export declare const getSummaryProduct: (ingredient: IOption, options: IOption[]
24
24
  quantity: number;
25
25
  amountDiff: number;
26
26
  currency: CURRENCY;
27
- } | null, translations: ITranslation) => {
27
+ }, currency: CURRENCY, translations: ITranslation) => {
28
28
  name: string;
29
29
  value: string | any;
30
30
  index: number;
package/dist/index.d.ts CHANGED
@@ -158,42 +158,158 @@ declare const DeliveryControl: ({ type, onChange, disableDelivery, disableDinein
158
158
  type IconProps = Omit<Partial<HTMLProps<SVGElement>>, 'size'> & {
159
159
  size?: 'big' | 'small' | 'default' | number | string;
160
160
  };
161
- declare const IconTrash: (props: IconProps) => React__default.JSX.Element;
162
- declare const IconStar: (props: IconProps) => React__default.JSX.Element;
163
- declare const IconStarBorder: (props: IconProps) => React__default.JSX.Element;
164
- declare const IconVegan: (props: IconProps) => React__default.JSX.Element;
165
- declare const IconSpicy: (props: IconProps) => React__default.JSX.Element;
166
- declare const IconNoGluten: (props: IconProps) => React__default.JSX.Element;
167
- declare const IconSearch: (props: IconProps) => React__default.JSX.Element;
168
- declare const IconCart: (props: IconProps) => React__default.JSX.Element;
169
- declare const IconBicycle: (props: IconProps) => React__default.JSX.Element;
170
- declare const IconClockAfternoon: (props: IconProps) => React__default.JSX.Element;
171
- declare const IconClose: (props: IconProps) => React__default.JSX.Element;
172
- declare const IconMapPin: (props: IconProps) => React__default.JSX.Element;
173
- declare const IconPersonSimpleWalk: (props: IconProps) => React__default.JSX.Element;
174
- declare const IconSparkle: (props: IconProps) => React__default.JSX.Element;
175
- declare const IconPlay: (props: IconProps) => React__default.JSX.Element;
176
- declare const IconPause: (props: IconProps) => React__default.JSX.Element;
177
- declare const IconMute: (props: IconProps) => React__default.JSX.Element;
178
- declare const IconUnmute: (props: IconProps) => React__default.JSX.Element;
179
- declare const IconPlus: (props: IconProps) => React__default.JSX.Element;
180
- declare const IconMinus: (props: IconProps) => React__default.JSX.Element;
181
- declare const IconWarning: (props: IconProps) => React__default.JSX.Element;
182
- declare const IconGift: (props: IconProps) => React__default.JSX.Element;
183
- declare const IconPercent: (props: IconProps) => React__default.JSX.Element;
184
- declare const IconMoto: (props: IconProps) => React__default.JSX.Element;
185
- declare const IconDone: (props: IconProps) => React__default.JSX.Element;
186
- declare const IconCutlery: (props: IconProps) => React__default.JSX.Element;
187
- declare const IconEditPen: (props: IconProps) => React__default.JSX.Element;
188
- declare const IconWeighted: (props: IconProps) => React__default.JSX.Element;
189
- declare const IconImportant: (props: IconProps) => React__default.JSX.Element;
190
- declare const IconDinein: (props: IconProps) => React__default.JSX.Element;
191
- declare const IconLeftOption: (props: IconProps) => React__default.JSX.Element;
192
- declare const IconRightOption: (props: IconProps) => React__default.JSX.Element;
193
- declare const IconWholeOption: (props: IconProps) => React__default.JSX.Element;
194
- declare const IconGiftCard: (props: IconProps) => React__default.JSX.Element;
195
- declare const IconMan: (props: IconProps) => React__default.JSX.Element;
196
- declare const IconCarbonScooter: (props: IconProps) => React__default.JSX.Element;
161
+ declare const IconTrash: {
162
+ (props: IconProps): React__default.JSX.Element;
163
+ displayName: string;
164
+ };
165
+ declare const IconStar: {
166
+ (props: IconProps): React__default.JSX.Element;
167
+ displayName: string;
168
+ };
169
+ declare const IconStarBorder: {
170
+ (props: IconProps): React__default.JSX.Element;
171
+ displayName: string;
172
+ };
173
+ declare const IconVegan: {
174
+ (props: IconProps): React__default.JSX.Element;
175
+ displayName: string;
176
+ };
177
+ declare const IconSpicy: {
178
+ (props: IconProps): React__default.JSX.Element;
179
+ displayName: string;
180
+ };
181
+ declare const IconNoGluten: {
182
+ (props: IconProps): React__default.JSX.Element;
183
+ displayName: string;
184
+ };
185
+ declare const IconSearch: {
186
+ (props: IconProps): React__default.JSX.Element;
187
+ displayName: string;
188
+ };
189
+ declare const IconCart: {
190
+ (props: IconProps): React__default.JSX.Element;
191
+ displayName: string;
192
+ };
193
+ declare const IconBicycle: {
194
+ (props: IconProps): React__default.JSX.Element;
195
+ displayName: string;
196
+ };
197
+ declare const IconClockAfternoon: {
198
+ (props: IconProps): React__default.JSX.Element;
199
+ displayName: string;
200
+ };
201
+ declare const IconClose: {
202
+ (props: IconProps): React__default.JSX.Element;
203
+ displayName: string;
204
+ };
205
+ declare const IconMapPin: {
206
+ (props: IconProps): React__default.JSX.Element;
207
+ displayName: string;
208
+ };
209
+ declare const IconPersonSimpleWalk: {
210
+ (props: IconProps): React__default.JSX.Element;
211
+ displayName: string;
212
+ };
213
+ declare const IconSparkle: {
214
+ (props: IconProps): React__default.JSX.Element;
215
+ displayName: string;
216
+ };
217
+ declare const IconPlay: {
218
+ (props: IconProps): React__default.JSX.Element;
219
+ displayName: string;
220
+ };
221
+ declare const IconPause: {
222
+ (props: IconProps): React__default.JSX.Element;
223
+ displayName: string;
224
+ };
225
+ declare const IconMute: {
226
+ (props: IconProps): React__default.JSX.Element;
227
+ displayName: string;
228
+ };
229
+ declare const IconUnmute: {
230
+ (props: IconProps): React__default.JSX.Element;
231
+ displayName: string;
232
+ };
233
+ declare const IconPlus: {
234
+ (props: IconProps): React__default.JSX.Element;
235
+ displayName: string;
236
+ };
237
+ declare const IconMinus: {
238
+ (props: IconProps): React__default.JSX.Element;
239
+ displayName: string;
240
+ };
241
+ declare const IconWarning: {
242
+ (props: IconProps): React__default.JSX.Element;
243
+ displayName: string;
244
+ };
245
+ declare const IconGift: {
246
+ (props: IconProps): React__default.JSX.Element;
247
+ displayName: string;
248
+ };
249
+ declare const IconPercent: {
250
+ (props: IconProps): React__default.JSX.Element;
251
+ displayName: string;
252
+ };
253
+ declare const IconMoto: {
254
+ (props: IconProps): React__default.JSX.Element;
255
+ displayName: string;
256
+ };
257
+ declare const IconDone: {
258
+ (props: IconProps): React__default.JSX.Element;
259
+ displayName: string;
260
+ };
261
+ declare const IconCutlery: {
262
+ (props: IconProps): React__default.JSX.Element;
263
+ displayName: string;
264
+ };
265
+ declare const IconEditPen: {
266
+ (props: IconProps): React__default.JSX.Element;
267
+ displayName: string;
268
+ };
269
+ declare const IconWeighted: {
270
+ (props: IconProps): React__default.JSX.Element;
271
+ displayName: string;
272
+ };
273
+ declare const IconImportant: {
274
+ (props: IconProps): React__default.JSX.Element;
275
+ displayName: string;
276
+ };
277
+ declare const IconDinein: {
278
+ (props: IconProps): React__default.JSX.Element;
279
+ displayName: string;
280
+ };
281
+ declare const IconLeftOption: {
282
+ (props: IconProps): React__default.JSX.Element;
283
+ displayName: string;
284
+ };
285
+ declare const IconRightOption: {
286
+ (props: IconProps): React__default.JSX.Element;
287
+ displayName: string;
288
+ };
289
+ declare const IconWholeOption: {
290
+ (props: IconProps): React__default.JSX.Element;
291
+ displayName: string;
292
+ };
293
+ declare const IconGiftCard: {
294
+ (props: IconProps): React__default.JSX.Element;
295
+ displayName: string;
296
+ };
297
+ declare const IconMan: {
298
+ (props: IconProps): React__default.JSX.Element;
299
+ displayName: string;
300
+ };
301
+ declare const IconCarbonScooter: {
302
+ (props: IconProps): React__default.JSX.Element;
303
+ displayName: string;
304
+ };
305
+ declare const IconShare: {
306
+ (props: IconProps): React__default.JSX.Element;
307
+ displayName: string;
308
+ };
309
+ declare const IconClearCart: {
310
+ (props: IconProps): React__default.JSX.Element;
311
+ displayName: string;
312
+ };
197
313
 
198
314
  interface Ingredient {
199
315
  name: string;
@@ -495,6 +611,8 @@ interface OrderSummaryWithProductsProps extends OrderSummaryProps {
495
611
  onChangeQuantity: (v: number, product: Product, index: number) => void;
496
612
  onClickProduct: (index: number) => void;
497
613
  onRemove: (v: number) => void;
614
+ onShare: () => void;
615
+ onClearCart: () => void;
498
616
  }
499
617
  declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React__default.JSX.Element;
500
618
 
@@ -524,4 +642,4 @@ interface QuantityDescriptionProps {
524
642
  }
525
643
  declare const QuantityDescription: ({ free_budget, max }: QuantityDescriptionProps) => React__default.JSX.Element;
526
644
 
527
- export { BagesPaymentsOrderSummary, BagesPaymentsOrderSummaryProps, CROP_MODE, CURRENCY, Checkbox, CheckboxProps, CheckoutFormItem, CheckoutFormItemProps, CounterButton, CounterButtonProps, CutleryButton, CutleryButtonProps, DELIVERY_TYPE, DISCOUNT_TARGET, DISCOUNT_TYPE, DeliveryControl, DeliveryControlProps, GRAVITY_MODE, GiftControl, GiftControlProps, HALF_OPTION, INGREDIENTS, IOption, IProductSaved, ISuboption, IconBicycle, IconCarbonScooter, IconCart, IconClockAfternoon, IconClose, IconCutlery, IconDinein, IconDone, IconEditPen, IconGift, IconGiftCard, IconImportant, IconLeftOption, IconMan, IconMapPin, IconMinus, IconMoto, IconMute, IconNoGluten, IconPause, IconPercent, IconPersonSimpleWalk, IconPlay, IconPlus, IconProps, IconRightOption, IconSearch, IconSparkle, IconSpicy, IconStar, IconStarBorder, IconTrash, IconUnmute, IconVegan, IconWarning, IconWeighted, IconWholeOption, IngredientsSelector, IngredientsSelectorProps, Input, InputProps, Media, MediaProp, OrderSummary, OrderSummaryProps, OrderSummaryWithProducts, OrderSummaryWithProductsProps, ProductConstructor, ProductConstructorProps, ProductPreview, ProductPreviewList, ProductPreviewListProps, ProductPreviewProp, ProductTags, ProductTagsProps, QUALITY_MODE, QuantityDescription, QuantityDescriptionProps, RestaurantHeader, RestaurantHeaderProps, Stepper, StepperProps, SuboptionMultiSelector, SuboptionMultiSelectorProps, SuboptionRadioSelector, SuboptionRadioSelectorProps, TabsControl, TabsControlProps, TranslationUIProvider, Warning, WarningProps, checkRespectTo, convertToServerModelOptions, mergeOption, mergeProduct, prepareHalfOptions };
645
+ export { BagesPaymentsOrderSummary, BagesPaymentsOrderSummaryProps, CROP_MODE, CURRENCY, Checkbox, CheckboxProps, CheckoutFormItem, CheckoutFormItemProps, CounterButton, CounterButtonProps, CutleryButton, CutleryButtonProps, DELIVERY_TYPE, DISCOUNT_TARGET, DISCOUNT_TYPE, DeliveryControl, DeliveryControlProps, GRAVITY_MODE, GiftControl, GiftControlProps, HALF_OPTION, INGREDIENTS, IOption, IProductSaved, ISuboption, IconBicycle, IconCarbonScooter, IconCart, IconClearCart, IconClockAfternoon, IconClose, IconCutlery, IconDinein, IconDone, IconEditPen, IconGift, IconGiftCard, IconImportant, IconLeftOption, IconMan, IconMapPin, IconMinus, IconMoto, IconMute, IconNoGluten, IconPause, IconPercent, IconPersonSimpleWalk, IconPlay, IconPlus, IconProps, IconRightOption, IconSearch, IconShare, IconSparkle, IconSpicy, IconStar, IconStarBorder, IconTrash, IconUnmute, IconVegan, IconWarning, IconWeighted, IconWholeOption, IngredientsSelector, IngredientsSelectorProps, Input, InputProps, Media, MediaProp, OrderSummary, OrderSummaryProps, OrderSummaryWithProducts, OrderSummaryWithProductsProps, ProductConstructor, ProductConstructorProps, ProductPreview, ProductPreviewList, ProductPreviewListProps, ProductPreviewProp, ProductTags, ProductTagsProps, QUALITY_MODE, QuantityDescription, QuantityDescriptionProps, RestaurantHeader, RestaurantHeaderProps, Stepper, StepperProps, SuboptionMultiSelector, SuboptionMultiSelectorProps, SuboptionRadioSelector, SuboptionRadioSelectorProps, TabsControl, TabsControlProps, TranslationUIProvider, Warning, WarningProps, checkRespectTo, convertToServerModelOptions, mergeOption, mergeProduct, prepareHalfOptions };
package/package.json CHANGED
@@ -1,76 +1,77 @@
1
1
  {
2
- "name": "delivapp-ordering",
3
- "version": "0.0.111",
4
- "description": "",
5
- "main": "dist/esm/index.js",
6
- "module": "dist/cjs/index.js",
7
- "files": [
8
- "dist/**/*"
9
- ],
10
- "types": "dist/index.d.ts",
11
- "scripts": {
12
- "lint": "eslint --ext .ts,.tsx src --fix",
13
- "pub": "npm run build && npm version patch && npm publish",
14
- "build": "npm run lint && rollup -c",
15
- "sb": "storybook dev -p 6006",
16
- "build-storybook": "storybook build",
17
- "deploy-storybook": "npm run build-storybook && gh-pages -d storybook-static"
18
- },
19
- "keywords": [],
20
- "author": "",
21
- "license": "ISC",
22
- "devDependencies": {
23
- "@babel/core": "^7.20.12",
24
- "@babel/preset-env": "^7.22.4",
25
- "@babel/preset-react": "^7.22.3",
26
- "@babel/preset-typescript": "^7.21.5",
27
- "@rollup/plugin-terser": "^0.3.0",
28
- "@rollup/plugin-typescript": "^11.0.0",
29
- "@rollup/plugin-url": "^8.0.1",
30
- "@storybook/addon-actions": "^7.0.18",
31
- "@storybook/addon-essentials": "^7.0.18",
32
- "@storybook/addon-interactions": "^7.0.18",
33
- "@storybook/addon-links": "^7.0.18",
34
- "@storybook/manager-api": "^7.6.17",
35
- "@storybook/preset-scss": "^1.0.3",
36
- "@storybook/react": "^7.0.18",
37
- "@storybook/react-webpack5": "^7.0.18",
38
- "@storybook/testing-library": "^0.1.0",
39
- "@storybook/theming": "^7.6.17",
40
- "@svgr/rollup": "^6.5.1",
41
- "@svgr/webpack": "^6.5.1",
42
- "@types/react": "^18.0.27",
43
- "@typescript-eslint/eslint-plugin": "^5.59.9",
44
- "@typescript-eslint/parser": "^5.59.9",
45
- "autoprefixer": "^8.4.14",
46
- "babel-loader": "^8.3.0",
47
- "eslint": "^8.32.0",
48
- "eslint-config-standard-with-typescript": "^31.0.0",
49
- "eslint-plugin-n": "^15.6.1",
50
- "eslint-plugin-promise": "^6.1.1",
51
- "eslint-plugin-react": "^7.32.2",
52
- "eslint-plugin-storybook": "^0.6.12",
53
- "postcss": "^8.4.24",
54
- "postcss-loader": "^7.3.2",
55
- "rollup": "^3.10.1",
56
- "rollup-plugin-dts": "^5.1.1",
57
- "rollup-plugin-postcss": "^4.0.2",
58
- "sass": "^1.62.1",
59
- "sass-loader": "^13.3.1",
60
- "storybook": "^7.0.18",
61
- "typescript": "^4.9.4",
62
- "url-loader": "^4.1.1"
63
- },
64
- "dependencies": {
65
- "@cloudinary/react": "^1.14.3",
66
- "classnames": "^2.3.2",
67
- "react-debounce-input": "^3.3.0",
68
- "react-dropdown": "^1.11.0",
69
- "react-overflow-list": "^0.5.0",
70
- "react-tooltip": "^5.28.0"
71
- },
72
- "peerDependencies": {
73
- "react": ">=17.0.2",
74
- "react-dom": ">=17.0.2"
75
- }
2
+ "name": "delivapp-ordering",
3
+ "version": "0.0.113",
4
+ "description": "",
5
+ "main": "dist/esm/index.js",
6
+ "module": "dist/cjs/index.js",
7
+ "files": [
8
+ "dist/**/*"
9
+ ],
10
+ "types": "dist/index.d.ts",
11
+ "scripts": {
12
+ "lint": "eslint --ext .ts,.tsx src --fix",
13
+ "pub": "npm run build && npm version patch && npm publish",
14
+ "build": "npm run lint && rollup -c",
15
+ "sb": "storybook dev -p 6006",
16
+ "build-storybook": "storybook build",
17
+ "deploy-storybook": "npm run build-storybook && gh-pages -d storybook-static"
18
+ },
19
+ "keywords": [],
20
+ "author": "",
21
+ "license": "ISC",
22
+ "devDependencies": {
23
+ "@babel/core": "^7.20.12",
24
+ "@babel/preset-env": "^7.22.4",
25
+ "@babel/preset-react": "^7.22.3",
26
+ "@babel/preset-typescript": "^7.21.5",
27
+ "@rollup/plugin-terser": "^0.3.0",
28
+ "@rollup/plugin-typescript": "^11.0.0",
29
+ "@rollup/plugin-url": "^8.0.1",
30
+ "@storybook/addon-actions": "^7.0.18",
31
+ "@storybook/addon-essentials": "^7.0.18",
32
+ "@storybook/addon-interactions": "^7.0.18",
33
+ "@storybook/addon-links": "^7.0.18",
34
+ "@storybook/manager-api": "^7.6.17",
35
+ "@storybook/preset-scss": "^1.0.3",
36
+ "@storybook/react": "^7.0.18",
37
+ "@storybook/react-webpack5": "^7.0.18",
38
+ "@storybook/testing-library": "^0.1.0",
39
+ "@storybook/theming": "^7.6.17",
40
+ "@svgr/rollup": "^6.5.1",
41
+ "@svgr/webpack": "^6.5.1",
42
+ "@types/react": "^18.0.27",
43
+ "@typescript-eslint/eslint-plugin": "^5.59.9",
44
+ "@typescript-eslint/parser": "^5.59.9",
45
+ "autoprefixer": "^8.4.14",
46
+ "babel-loader": "^8.3.0",
47
+ "eslint": "^8.32.0",
48
+ "eslint-config-standard-with-typescript": "^31.0.0",
49
+ "eslint-plugin-n": "^15.6.1",
50
+ "eslint-plugin-promise": "^6.1.1",
51
+ "eslint-plugin-react": "^7.32.2",
52
+ "eslint-plugin-storybook": "^0.6.12",
53
+ "postcss": "^8.4.24",
54
+ "postcss-loader": "^7.3.2",
55
+ "rollup": "^3.10.1",
56
+ "rollup-plugin-dts": "^5.1.1",
57
+ "rollup-plugin-postcss": "^4.0.2",
58
+ "sass": "^1.62.1",
59
+ "sass-loader": "^13.3.1",
60
+ "storybook": "^7.0.18",
61
+ "typescript": "^4.9.4",
62
+ "url-loader": "^4.1.1"
63
+ },
64
+ "dependencies": {
65
+ "@cloudinary/react": "^1.14.3",
66
+ "@cloudinary/url-gen": "^1.22.0",
67
+ "classnames": "^2.3.2",
68
+ "react-debounce-input": "^3.3.0",
69
+ "react-dropdown": "^1.11.0",
70
+ "react-overflow-list": "^0.5.0",
71
+ "react-tooltip": "^5.28.0"
72
+ },
73
+ "peerDependencies": {
74
+ "react": ">=17.0.2",
75
+ "react-dom": ">=17.0.2"
76
+ }
76
77
  }