@duffel/components 2.1.7 → 2.2.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/dist/AdditionalBaggage.umd.min.js +1 -1
- package/dist/AdditionalBaggageSelection.umd.min.js +1 -1
- package/dist/CardPayment.esm.js +1 -1
- package/dist/CardPayment.js +1 -1
- package/dist/CardPayment.min.css +52 -52
- package/dist/CardPayment.umd.min.js +1 -1
- package/dist/SeatSelection.esm.js +1 -1
- package/dist/SeatSelection.js +1 -1
- package/dist/SeatSelection.umd.min.js +1 -1
- package/dist/duffel-components.d.ts +1 -1
- package/dist/duffel-components.esm.js +1 -1
- package/dist/duffel-components.js +1 -1
- package/dist/duffel-components.min.css +52 -52
- package/dist/duffel-components.umd.min.js +1 -1
- package/package.json +11 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.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",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"unpkg:min": "dist/duffel-components.umd.min.js",
|
|
10
10
|
"types": "dist/duffel-components.d.ts",
|
|
11
11
|
"scripts": {
|
|
12
|
+
"prebuild": "node -p \"'export const DUFFEL_COMPONENTS_VERSION = ' + JSON.stringify(require('./package.json').version) + ''\" > ./src/version.ts && yarn prettier",
|
|
12
13
|
"build": "webpack --mode production --config webpack.config.babel.js && yarn create-dts",
|
|
13
14
|
"lint": "eslint . --ext .ts,.tsx",
|
|
14
15
|
"test": "jest",
|
|
@@ -46,30 +47,18 @@
|
|
|
46
47
|
"dist/**"
|
|
47
48
|
],
|
|
48
49
|
"peerDependencies": {
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"@stripe/stripe-js": "^1.19.1",
|
|
52
|
-
"@types/smoothscroll-polyfill": "^0.3.1",
|
|
53
|
-
"classnames": "^2.3.1",
|
|
54
|
-
"lodash": "^4.17.21",
|
|
55
|
-
"prop-types": "^15.7.2",
|
|
56
|
-
"react": "^17.0.2",
|
|
57
|
-
"react-dom": "^17.0.2",
|
|
58
|
-
"react-popper": "^2.2.5",
|
|
59
|
-
"smoothscroll-polyfill": "^0.4.4"
|
|
50
|
+
"react": "^16.8.0 || ^17 || ^18",
|
|
51
|
+
"react-dom": "^16.8.0 || ^17 || ^18"
|
|
60
52
|
},
|
|
61
53
|
"dependencies": {
|
|
62
54
|
"@popperjs/core": "^2.10.1",
|
|
63
55
|
"@stripe/react-stripe-js": "^1.6.0",
|
|
64
56
|
"@stripe/stripe-js": "^1.19.1",
|
|
65
|
-
"@types/smoothscroll-polyfill": "^0.3.1",
|
|
66
57
|
"assert": "^2.0.0",
|
|
67
58
|
"base64-js": "^1.5.1",
|
|
68
59
|
"classnames": "^2.3.1",
|
|
69
60
|
"ieee754": "^1.2.1",
|
|
70
61
|
"prop-types": "^15.7.2",
|
|
71
|
-
"react": "^17.0.2",
|
|
72
|
-
"react-dom": "^17.0.2",
|
|
73
62
|
"react-popper": "^2.2.5",
|
|
74
63
|
"smoothscroll-polyfill": "^0.4.4",
|
|
75
64
|
"util": "^0.12.4"
|
|
@@ -80,8 +69,8 @@
|
|
|
80
69
|
"@babel/preset-env": "^7.16.0",
|
|
81
70
|
"@babel/preset-react": "^7.16.0",
|
|
82
71
|
"@babel/register": "^7.16.0",
|
|
83
|
-
"@commitlint/cli": "^
|
|
84
|
-
"@commitlint/config-angular": "^
|
|
72
|
+
"@commitlint/cli": "^17.0.0",
|
|
73
|
+
"@commitlint/config-angular": "^17.0.0",
|
|
85
74
|
"@commitlint/cz-commitlint": "^16.0.0",
|
|
86
75
|
"@playwright/test": "^1.16.3",
|
|
87
76
|
"@semantic-release/changelog": "^6.0.1",
|
|
@@ -101,6 +90,7 @@
|
|
|
101
90
|
"@types/lodash": "^4.14.170",
|
|
102
91
|
"@types/node": "^17.0.4",
|
|
103
92
|
"@types/react-dom": "^17.0.7",
|
|
93
|
+
"@types/smoothscroll-polyfill": "^0.3.1",
|
|
104
94
|
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
|
105
95
|
"@typescript-eslint/parser": "^5.8.0",
|
|
106
96
|
"babel-loader": "^8.2.2",
|
|
@@ -118,7 +108,7 @@
|
|
|
118
108
|
"eslint-plugin-storybook": "^0.5.3",
|
|
119
109
|
"fork-ts-checker-webpack-plugin": "^7.1.1",
|
|
120
110
|
"http-server": "^14.0.0",
|
|
121
|
-
"husky": "^
|
|
111
|
+
"husky": "^8.0.1",
|
|
122
112
|
"inquirer": "^8.0.0",
|
|
123
113
|
"jest": "^26.6.3",
|
|
124
114
|
"lint-staged": "^12.3.2",
|
|
@@ -129,10 +119,12 @@
|
|
|
129
119
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
130
120
|
"postcss-discard-duplicates": "^5.0.1",
|
|
131
121
|
"postcss-import": "^14.0.2",
|
|
132
|
-
"postcss-loader": "^
|
|
122
|
+
"postcss-loader": "^7.0.0",
|
|
133
123
|
"postcss-nested": "^5.0.5",
|
|
134
124
|
"prettier": "^2.4.1",
|
|
135
125
|
"prop-types": "^15.7.2",
|
|
126
|
+
"react": "^17.0.2",
|
|
127
|
+
"react-dom": "^17.0.2",
|
|
136
128
|
"semantic-release": "^19.0.2",
|
|
137
129
|
"ts-jest": "^26.5.6",
|
|
138
130
|
"ts-loader": "^9.2.6",
|