delivapp-ordering 0.0.35 → 0.0.37

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.
Files changed (24) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/types/components/ProductConstructor/ProductConstructor.d.ts +1 -0
  3. package/dist/cjs/types/components/SuboptionPrice/SuboptionPrice.d.ts +8 -0
  4. package/dist/cjs/types/components/SuboptionPrice/index.d.ts +1 -0
  5. package/dist/cjs/types/components/SuboptionSelector/IOption.d.ts +1 -0
  6. package/dist/cjs/types/components/SuboptionSelector/ISuboption.d.ts +2 -0
  7. package/dist/cjs/types/components/SuboptionSelector/SuboptionCheckboxSelector/SuboptionCheckboxSelector.d.ts +3 -1
  8. package/dist/cjs/types/components/SuboptionSelector/SuboptionMultiSelector/SuboptionMultiSelector.d.ts +3 -1
  9. package/dist/cjs/types/components/SuboptionSelector/SuboptionRadioSelector/SuboptionRadioSelector.d.ts +3 -1
  10. package/dist/cjs/types/helpers/productConstructor.d.ts +6 -1
  11. package/dist/esm/index.js +1 -1
  12. package/dist/esm/types/components/ProductConstructor/ProductConstructor.d.ts +1 -0
  13. package/dist/esm/types/components/SuboptionPrice/SuboptionPrice.d.ts +8 -0
  14. package/dist/esm/types/components/SuboptionPrice/index.d.ts +1 -0
  15. package/dist/esm/types/components/SuboptionSelector/IOption.d.ts +1 -0
  16. package/dist/esm/types/components/SuboptionSelector/ISuboption.d.ts +2 -0
  17. package/dist/esm/types/components/SuboptionSelector/SuboptionCheckboxSelector/SuboptionCheckboxSelector.d.ts +3 -1
  18. package/dist/esm/types/components/SuboptionSelector/SuboptionMultiSelector/SuboptionMultiSelector.d.ts +3 -1
  19. package/dist/esm/types/components/SuboptionSelector/SuboptionRadioSelector/SuboptionRadioSelector.d.ts +3 -1
  20. package/dist/esm/types/helpers/productConstructor.d.ts +6 -1
  21. package/dist/index.d.ts +10 -2
  22. package/package.json +70 -70
  23. package/dist/cjs/types/components/OptionSelector/IOption.d.ts +0 -14
  24. package/dist/esm/types/components/OptionSelector/IOption.d.ts +0 -14
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
- {
2
- "name": "delivapp-ordering",
3
- "version": "0.0.35",
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/preset-scss": "^1.0.3",
35
- "@storybook/react": "^7.0.18",
36
- "@storybook/react-webpack5": "^7.0.18",
37
- "@storybook/testing-library": "^0.1.0",
38
- "@svgr/rollup": "^6.5.1",
39
- "@svgr/webpack": "^6.5.1",
40
- "@types/react": "^18.0.27",
41
- "@typescript-eslint/eslint-plugin": "^5.59.9",
42
- "@typescript-eslint/parser": "^5.59.9",
43
- "autoprefixer": "^8.4.14",
44
- "babel-loader": "^8.3.0",
45
- "eslint": "^8.32.0",
46
- "eslint-config-standard-with-typescript": "^31.0.0",
47
- "eslint-plugin-n": "^15.6.1",
48
- "eslint-plugin-promise": "^6.1.1",
49
- "eslint-plugin-react": "^7.32.2",
50
- "eslint-plugin-storybook": "^0.6.12",
51
- "postcss": "^8.4.24",
52
- "postcss-loader": "^7.3.2",
53
- "rollup": "^3.10.1",
54
- "rollup-plugin-dts": "^5.1.1",
55
- "rollup-plugin-postcss": "^4.0.2",
56
- "sass": "^1.62.1",
57
- "sass-loader": "^13.3.1",
58
- "storybook": "^7.0.18",
59
- "typescript": "^4.9.4",
60
- "url-loader": "^4.1.1"
61
- },
62
- "dependencies": {
63
- "classnames": "^2.3.2",
64
- "cloudinary-react": "^1.8.1",
65
- "react": "^17.0.2",
66
- "react-dom": "^17.0.2",
67
- "react-dropdown": "^1.11.0",
68
- "react-overflow-list": "^0.5.0"
69
- }
70
- }
1
+ {
2
+ "name": "delivapp-ordering",
3
+ "version": "0.0.37",
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/preset-scss": "^1.0.3",
35
+ "@storybook/react": "^7.0.18",
36
+ "@storybook/react-webpack5": "^7.0.18",
37
+ "@storybook/testing-library": "^0.1.0",
38
+ "@svgr/rollup": "^6.5.1",
39
+ "@svgr/webpack": "^6.5.1",
40
+ "@types/react": "^18.0.27",
41
+ "@typescript-eslint/eslint-plugin": "^5.59.9",
42
+ "@typescript-eslint/parser": "^5.59.9",
43
+ "autoprefixer": "^8.4.14",
44
+ "babel-loader": "^8.3.0",
45
+ "eslint": "^8.32.0",
46
+ "eslint-config-standard-with-typescript": "^31.0.0",
47
+ "eslint-plugin-n": "^15.6.1",
48
+ "eslint-plugin-promise": "^6.1.1",
49
+ "eslint-plugin-react": "^7.32.2",
50
+ "eslint-plugin-storybook": "^0.6.12",
51
+ "postcss": "^8.4.24",
52
+ "postcss-loader": "^7.3.2",
53
+ "rollup": "^3.10.1",
54
+ "rollup-plugin-dts": "^5.1.1",
55
+ "rollup-plugin-postcss": "^4.0.2",
56
+ "sass": "^1.62.1",
57
+ "sass-loader": "^13.3.1",
58
+ "storybook": "^7.0.18",
59
+ "typescript": "^4.9.4",
60
+ "url-loader": "^4.1.1"
61
+ },
62
+ "dependencies": {
63
+ "classnames": "^2.3.2",
64
+ "cloudinary-react": "^1.8.1",
65
+ "react": "^17.0.2",
66
+ "react-dom": "^17.0.2",
67
+ "react-dropdown": "^1.11.0",
68
+ "react-overflow-list": "^0.5.0"
69
+ }
70
+ }
@@ -1,14 +0,0 @@
1
- import { ISuboption } from '../SuboptionSelector/ISuboption';
2
- import { HALF_OPTION } from '../../helpers/productConstructor';
3
- export interface IOption {
4
- name?: string;
5
- min: number;
6
- max: number;
7
- respectTo: number | null;
8
- withHalfOption: boolean;
9
- id: string;
10
- enabled: boolean;
11
- limitSuboptionsByMax: boolean;
12
- half: HALF_OPTION;
13
- suboptions: ISuboption[];
14
- }
@@ -1,14 +0,0 @@
1
- import { ISuboption } from '../SuboptionSelector/ISuboption';
2
- import { HALF_OPTION } from '../../helpers/productConstructor';
3
- export interface IOption {
4
- name?: string;
5
- min: number;
6
- max: number;
7
- respectTo: number | null;
8
- withHalfOption: boolean;
9
- id: string;
10
- enabled: boolean;
11
- limitSuboptionsByMax: boolean;
12
- half: HALF_OPTION;
13
- suboptions: ISuboption[];
14
- }