@duffel/components 2.1.9 → 2.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/components",
3
- "version": "2.1.9",
3
+ "version": "2.3.0",
4
4
  "description": "Set of pre-built UI components for integrating with Duffel API",
5
5
  "main": "dist/duffel-components.js",
6
6
  "module": "dist/duffel-components.esm.js",
@@ -47,103 +47,93 @@
47
47
  "dist/**"
48
48
  ],
49
49
  "peerDependencies": {
50
- "@popperjs/core": "^2.10.1",
51
- "@stripe/react-stripe-js": "^1.6.0",
52
- "@stripe/stripe-js": "^1.19.1",
53
- "@types/smoothscroll-polyfill": "^0.3.1",
54
- "classnames": "^2.3.1",
55
- "lodash": "^4.17.21",
56
- "prop-types": "^15.7.2",
57
- "react": "^17.0.2",
58
- "react-dom": "^17.0.2",
59
- "react-popper": "^2.2.5",
60
- "smoothscroll-polyfill": "^0.4.4"
50
+ "react": "^16.8.0 || ^17 || ^18",
51
+ "react-dom": "^16.8.0 || ^17 || ^18"
61
52
  },
62
53
  "dependencies": {
63
54
  "@popperjs/core": "^2.10.1",
64
55
  "@stripe/react-stripe-js": "^1.6.0",
65
56
  "@stripe/stripe-js": "^1.19.1",
66
- "@types/smoothscroll-polyfill": "^0.3.1",
67
- "assert": "^2.0.0",
68
57
  "base64-js": "^1.5.1",
69
58
  "classnames": "^2.3.1",
70
59
  "ieee754": "^1.2.1",
71
60
  "prop-types": "^15.7.2",
72
- "react": "^17.0.2",
73
- "react-dom": "^17.0.2",
74
61
  "react-popper": "^2.2.5",
75
- "smoothscroll-polyfill": "^0.4.4",
76
- "util": "^0.12.4"
62
+ "smoothscroll-polyfill": "^0.4.4"
77
63
  },
78
64
  "devDependencies": {
79
- "@babel/core": "^7.16.0",
80
- "@babel/plugin-proposal-unicode-property-regex": "^7.16.0",
81
- "@babel/preset-env": "^7.16.0",
82
- "@babel/preset-react": "^7.16.0",
83
- "@babel/register": "^7.16.0",
84
- "@commitlint/cli": "^16.0.2",
85
- "@commitlint/config-angular": "^16.0.0",
86
- "@commitlint/cz-commitlint": "^16.0.0",
87
- "@playwright/test": "^1.16.3",
88
- "@semantic-release/changelog": "^6.0.1",
89
- "@semantic-release/commit-analyzer": "^9.0.2",
90
- "@semantic-release/git": "^10.0.1",
91
- "@storybook/addon-actions": "^6.4.9",
92
- "@storybook/addon-controls": "^6.4.9",
93
- "@storybook/addon-essentials": "^6.4.9",
94
- "@storybook/addon-links": "^6.4.9",
95
- "@storybook/addon-postcss": "^2.0.0",
96
- "@storybook/builder-webpack5": "^6.4.9",
97
- "@storybook/manager-webpack5": "^6.4.9",
98
- "@storybook/react": "^6.4.9",
99
- "@testing-library/jest-dom": "^5.14.1",
100
- "@testing-library/react": "^12.0.0",
101
- "@types/jest": "^27.0.1",
102
- "@types/lodash": "^4.14.170",
103
- "@types/node": "^17.0.4",
104
- "@types/react-dom": "^17.0.7",
105
- "@typescript-eslint/eslint-plugin": "^5.7.0",
106
- "@typescript-eslint/parser": "^5.8.0",
107
- "babel-loader": "^8.2.2",
108
- "babel-plugin-module-resolver": "^4.1.0",
109
- "chromatic": "^6.0.4",
110
- "clean-webpack-plugin": "^4.0.0",
111
- "commitizen": "^4.2.4",
112
- "css-loader": "^6.5.1",
113
- "dotenv": "^16.0.0",
114
- "dts-bundle-generator": "^6.2.0",
115
- "eslint": "^8.6.0",
116
- "eslint-config-prettier": "^8.3.0",
117
- "eslint-plugin-react-hooks": "^4.2.0",
118
- "eslint-plugin-spellcheck": "^0.0.19",
119
- "eslint-plugin-storybook": "^0.5.3",
120
- "fork-ts-checker-webpack-plugin": "^7.1.1",
121
- "http-server": "^14.0.0",
122
- "husky": "^7.0.0",
123
- "inquirer": "^8.0.0",
124
- "jest": "^26.6.3",
125
- "lint-staged": "^12.3.2",
126
- "lodash": "^4.17.21",
127
- "mini-css-extract-plugin": "^2.4.4",
128
- "node-polyfill-webpack-plugin": "^1.1.4",
129
- "postcss": "^8.3.5",
130
- "postcss-combine-duplicated-selectors": "^10.0.3",
131
- "postcss-discard-duplicates": "^5.0.1",
132
- "postcss-import": "^14.0.2",
133
- "postcss-loader": "^6.2.0",
134
- "postcss-nested": "^5.0.5",
135
- "prettier": "^2.4.1",
136
- "prop-types": "^15.7.2",
137
- "semantic-release": "^19.0.2",
138
- "ts-jest": "^26.5.6",
139
- "ts-loader": "^9.2.6",
140
- "ts-node": "^10.4.0",
141
- "tslib": "^2.3.1",
142
- "types-webpack-bundler": "^1.0.2",
143
- "typescript": "^4.4.4",
144
- "webpack": "^5.67.0",
145
- "webpack-cli": "^4.9.1",
146
- "webpack-node-externals": "^3.0.0"
65
+ "@babel/core": "7.18.5",
66
+ "@babel/plugin-proposal-unicode-property-regex": "7.17.12",
67
+ "@babel/preset-env": "7.18.2",
68
+ "@babel/preset-react": "7.17.12",
69
+ "@babel/register": "7.17.7",
70
+ "@commitlint/cli": "17.0.3",
71
+ "@commitlint/config-angular": "17.0.3",
72
+ "@commitlint/cz-commitlint": "17.0.3",
73
+ "@playwright/test": "1.22.2",
74
+ "@semantic-release/changelog": "6.0.1",
75
+ "@semantic-release/commit-analyzer": "9.0.2",
76
+ "@semantic-release/git": "10.0.1",
77
+ "@storybook/addon-actions": "6.5.9",
78
+ "@storybook/addon-controls": "6.5.9",
79
+ "@storybook/addon-essentials": "6.5.9",
80
+ "@storybook/addon-links": "6.5.8",
81
+ "@storybook/addon-postcss": "2.0.0",
82
+ "@storybook/builder-webpack5": "6.5.9",
83
+ "@storybook/manager-webpack5": "6.5.8",
84
+ "@storybook/react": "6.5.8",
85
+ "@testing-library/jest-dom": "5.16.4",
86
+ "@testing-library/react": "12.1.5",
87
+ "@types/jest": "27.4.1",
88
+ "@types/lodash": "4.14.182",
89
+ "@types/node": "17.0.42",
90
+ "@types/react": "17.0.47",
91
+ "@types/react-dom": "17.0.17",
92
+ "@types/smoothscroll-polyfill": "0.3.1",
93
+ "@typescript-eslint/eslint-plugin": "5.27.1",
94
+ "@typescript-eslint/parser": "5.27.1",
95
+ "babel-loader": "8.2.5",
96
+ "babel-plugin-module-resolver": "4.1.0",
97
+ "chromatic": "6.5.6",
98
+ "clean-webpack-plugin": "4.0.0",
99
+ "commitizen": "4.2.5",
100
+ "css-loader": "6.7.1",
101
+ "dotenv": "16.0.1",
102
+ "dts-bundle-generator": "6.11.0",
103
+ "eslint": "8.17.0",
104
+ "eslint-config-prettier": "8.5.0",
105
+ "eslint-plugin-react-hooks": "4.5.0",
106
+ "eslint-plugin-spellcheck": "0.0.19",
107
+ "eslint-plugin-storybook": "0.5.12",
108
+ "fork-ts-checker-webpack-plugin": "7.2.13",
109
+ "http-server": "14.1.1",
110
+ "husky": "8.0.1",
111
+ "inquirer": "8.2.4",
112
+ "jest": "26.6.3",
113
+ "lint-staged": "13.0.3",
114
+ "lodash": "4.17.21",
115
+ "mini-css-extract-plugin": "2.6.0",
116
+ "node-polyfill-webpack-plugin": "1.1.4",
117
+ "postcss": "8.4.14",
118
+ "postcss-combine-duplicated-selectors": "10.0.3",
119
+ "postcss-discard-duplicates": "5.1.0",
120
+ "postcss-import": "14.1.0",
121
+ "postcss-loader": "7.0.0",
122
+ "postcss-nested": "5.0.6",
123
+ "prettier": "2.6.2",
124
+ "prop-types": "15.8.1",
125
+ "react": "17.0.2",
126
+ "react-dom": "17.0.2",
127
+ "semantic-release": "19.0.3",
128
+ "ts-jest": "26.5.6",
129
+ "ts-loader": "9.3.0",
130
+ "ts-node": "10.8.1",
131
+ "tslib": "2.4.0",
132
+ "types-webpack-bundler": "1.0.2",
133
+ "typescript": "4.7.3",
134
+ "webpack": "5.73.0",
135
+ "webpack-cli": "4.9.2",
136
+ "webpack-node-externals": "3.0.0"
147
137
  },
148
138
  "engines": {
149
139
  "node": ">=14.*"
@@ -192,11 +182,14 @@
192
182
  ]
193
183
  },
194
184
  "resolutions": {
185
+ "@types/webpack": "^5.28.0",
195
186
  "immer": "^9.0.6",
196
187
  "ansi-regex": "^5.0.1",
197
188
  "glob-parent": "^5.1.2",
198
189
  "browserslist": "^4.16.5",
199
- "trim": "^0.0.3"
190
+ "trim": "^0.0.3",
191
+ "@types/react-dom": "17.0.17",
192
+ "@types/react": "17.0.47"
200
193
  },
201
194
  "keywords": [
202
195
  "seat",
@@ -210,7 +203,9 @@
210
203
  "seat",
211
204
  "seatmap",
212
205
  "payment",
213
- "payments"
206
+ "payments",
207
+ "baggage",
208
+ "baggages"
214
209
  ],
215
210
  "author": "Duffel Technology Limited <help@duffel.com> (http://duffel.com)",
216
211
  "license": "MIT"