@duffel/components 2.0.1 → 2.1.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.esm.js +1 -0
- package/dist/AdditionalBaggage.js +1 -0
- package/dist/AdditionalBaggage.min.css +408 -0
- package/dist/AdditionalBaggage.umd.min.js +2 -0
- package/dist/AdditionalBaggage.umd.min.js.LICENSE.txt +54 -0
- package/dist/AdditionalBaggageSelect.esm.js +1 -0
- package/dist/AdditionalBaggageSelect.js +1 -0
- package/dist/AdditionalBaggageSelect.min.css +743 -0
- package/dist/AdditionalBaggageSelect.umd.min.js +2 -0
- package/dist/AdditionalBaggageSelect.umd.min.js.LICENSE.txt +54 -0
- package/dist/CardPayment.esm.js +1 -1
- package/dist/CardPayment.js +1 -1
- package/dist/CardPayment.min.css +7 -7
- package/dist/CardPayment.umd.min.js +1 -1
- package/dist/SeatSelection.esm.js +1 -1
- package/dist/SeatSelection.js +1 -1
- package/dist/SeatSelection.min.css +289 -193
- package/dist/SeatSelection.umd.min.js +1 -1
- package/dist/duffel-components.d.ts +53 -11
- package/dist/duffel-components.esm.js +1 -1
- package/dist/duffel-components.js +1 -1
- package/dist/duffel-components.min.css +382 -187
- package/dist/duffel-components.umd.min.js +1 -1
- package/package.json +73 -67
- package/CHANGELOG.md +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/components",
|
|
3
|
-
"version": "2.0
|
|
4
|
-
"description": "Set of pre-built UI
|
|
3
|
+
"version": "2.1.0",
|
|
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",
|
|
7
7
|
"jsnext:main": "dist/duffel-components.esm.js",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"pre-commit-check": "yarn lint-staged && yarn test --passWithNoTests && yarn build && yarn e2e",
|
|
16
16
|
"prepare": "husky install",
|
|
17
17
|
"get-version": "echo $npm_package_version",
|
|
18
|
-
"release": "npx semantic-release",
|
|
18
|
+
"release": "npx semantic-release --debug",
|
|
19
19
|
"commit": "git-cz",
|
|
20
20
|
"commitlint": "commitlint",
|
|
21
21
|
"storybook": "start-storybook -p 6006",
|
|
22
22
|
"build-storybook": "build-storybook",
|
|
23
|
-
"chromatic": "npx chromatic
|
|
23
|
+
"chromatic": "npx chromatic",
|
|
24
24
|
"create-dts": "dts-bundle-generator -o dist/duffel-components.d.ts src/index.ts --no-check",
|
|
25
25
|
"server": "http-server -p 1234",
|
|
26
26
|
"e2e": "npx playwright test",
|
|
@@ -42,10 +42,6 @@
|
|
|
42
42
|
"prettier --write"
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
|
-
"repository": {
|
|
46
|
-
"type": "git",
|
|
47
|
-
"url": "git+https://github.com/duffelhq/components-javascript.git"
|
|
48
|
-
},
|
|
49
45
|
"files": [
|
|
50
46
|
"dist/**"
|
|
51
47
|
],
|
|
@@ -80,40 +76,48 @@
|
|
|
80
76
|
"@babel/preset-env": "^7.16.0",
|
|
81
77
|
"@babel/preset-react": "^7.16.0",
|
|
82
78
|
"@babel/register": "^7.16.0",
|
|
83
|
-
"@commitlint/cli": "^
|
|
84
|
-
"@commitlint/config-angular": "^
|
|
85
|
-
"@commitlint/cz-commitlint": "^
|
|
79
|
+
"@commitlint/cli": "^16.0.2",
|
|
80
|
+
"@commitlint/config-angular": "^16.0.0",
|
|
81
|
+
"@commitlint/cz-commitlint": "^16.0.0",
|
|
86
82
|
"@playwright/test": "^1.16.3",
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"@storybook/addon-
|
|
83
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
84
|
+
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
85
|
+
"@semantic-release/git": "^10.0.1",
|
|
86
|
+
"@storybook/addon-actions": "^6.4.9",
|
|
87
|
+
"@storybook/addon-controls": "^6.4.9",
|
|
88
|
+
"@storybook/addon-essentials": "^6.4.9",
|
|
89
|
+
"@storybook/addon-links": "^6.4.9",
|
|
91
90
|
"@storybook/addon-postcss": "^2.0.0",
|
|
92
|
-
"@storybook/
|
|
91
|
+
"@storybook/builder-webpack5": "^6.4.9",
|
|
92
|
+
"@storybook/manager-webpack5": "^6.4.9",
|
|
93
|
+
"@storybook/react": "^6.4.9",
|
|
93
94
|
"@testing-library/jest-dom": "^5.14.1",
|
|
94
95
|
"@testing-library/react": "^12.0.0",
|
|
95
96
|
"@types/jest": "^27.0.1",
|
|
96
97
|
"@types/lodash": "^4.14.170",
|
|
98
|
+
"@types/node": "^17.0.4",
|
|
97
99
|
"@types/react-dom": "^17.0.7",
|
|
98
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
99
|
-
"@typescript-eslint/parser": "^
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
|
101
|
+
"@typescript-eslint/parser": "^5.8.0",
|
|
100
102
|
"babel-loader": "^8.2.2",
|
|
101
103
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
102
104
|
"chromatic": "^6.0.4",
|
|
103
105
|
"clean-webpack-plugin": "^4.0.0",
|
|
104
106
|
"commitizen": "^4.2.4",
|
|
105
107
|
"css-loader": "^6.5.1",
|
|
106
|
-
"dotenv": "^
|
|
107
|
-
"dts-bundle-generator": "^
|
|
108
|
-
"eslint": "^
|
|
108
|
+
"dotenv": "^16.0.0",
|
|
109
|
+
"dts-bundle-generator": "^6.2.0",
|
|
110
|
+
"eslint": "^8.6.0",
|
|
109
111
|
"eslint-config-prettier": "^8.3.0",
|
|
110
112
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
111
113
|
"eslint-plugin-spellcheck": "^0.0.19",
|
|
112
|
-
"
|
|
114
|
+
"eslint-plugin-storybook": "^0.5.3",
|
|
115
|
+
"fork-ts-checker-webpack-plugin": "^7.1.1",
|
|
113
116
|
"http-server": "^14.0.0",
|
|
114
117
|
"husky": "^7.0.0",
|
|
118
|
+
"inquirer": "^8.0.0",
|
|
115
119
|
"jest": "^26.6.3",
|
|
116
|
-
"lint-staged": "^12.
|
|
120
|
+
"lint-staged": "^12.3.2",
|
|
117
121
|
"lodash": "^4.17.21",
|
|
118
122
|
"mini-css-extract-plugin": "^2.4.4",
|
|
119
123
|
"node-polyfill-webpack-plugin": "^1.1.4",
|
|
@@ -125,64 +129,70 @@
|
|
|
125
129
|
"postcss-nested": "^5.0.5",
|
|
126
130
|
"prettier": "^2.4.1",
|
|
127
131
|
"prop-types": "^15.7.2",
|
|
132
|
+
"semantic-release": "^19.0.2",
|
|
128
133
|
"ts-jest": "^26.5.6",
|
|
129
134
|
"ts-loader": "^9.2.6",
|
|
130
135
|
"ts-node": "^10.4.0",
|
|
131
136
|
"tslib": "^2.3.1",
|
|
132
137
|
"types-webpack-bundler": "^1.0.2",
|
|
133
138
|
"typescript": "^4.4.4",
|
|
134
|
-
"webpack": "^5.
|
|
139
|
+
"webpack": "^5.67.0",
|
|
135
140
|
"webpack-cli": "^4.9.1",
|
|
136
141
|
"webpack-node-externals": "^3.0.0"
|
|
137
142
|
},
|
|
138
143
|
"engines": {
|
|
139
144
|
"node": ">=14.*"
|
|
140
145
|
},
|
|
141
|
-
"plugins": [
|
|
142
|
-
[
|
|
143
|
-
"@semantic-release/commit-analyzer",
|
|
144
|
-
{
|
|
145
|
-
"preset": "angular",
|
|
146
|
-
"releaseRules": [
|
|
147
|
-
{
|
|
148
|
-
"type": "docs",
|
|
149
|
-
"scope": "README",
|
|
150
|
-
"release": "patch"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"type": "refactor",
|
|
154
|
-
"release": "patch"
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
[
|
|
160
|
-
"@semantic-release/release-notes-generator"
|
|
161
|
-
],
|
|
162
|
-
[
|
|
163
|
-
"@semantic-release/changelog",
|
|
164
|
-
{
|
|
165
|
-
"changelogFile": "CHANGELOG.md"
|
|
166
|
-
}
|
|
167
|
-
],
|
|
168
|
-
[
|
|
169
|
-
"@semantic-release/git",
|
|
170
|
-
{
|
|
171
|
-
"assets": [
|
|
172
|
-
"CHANGELOG.md"
|
|
173
|
-
]
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
"@semantic-release/npm",
|
|
177
|
-
"@semantic-release/github"
|
|
178
|
-
],
|
|
179
146
|
"release": {
|
|
180
147
|
"branches": [
|
|
181
148
|
{
|
|
182
149
|
"name": "main"
|
|
183
150
|
}
|
|
151
|
+
],
|
|
152
|
+
"plugins": [
|
|
153
|
+
[
|
|
154
|
+
"@semantic-release/commit-analyzer",
|
|
155
|
+
{
|
|
156
|
+
"preset": "angular",
|
|
157
|
+
"releaseRules": [
|
|
158
|
+
{
|
|
159
|
+
"type": "docs",
|
|
160
|
+
"scope": "readme",
|
|
161
|
+
"release": "patch"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"type": "refactor",
|
|
165
|
+
"release": "patch"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"breaking": true,
|
|
169
|
+
"release": "major"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
[
|
|
175
|
+
"@semantic-release/release-notes-generator"
|
|
176
|
+
],
|
|
177
|
+
[
|
|
178
|
+
"@semantic-release/git",
|
|
179
|
+
{
|
|
180
|
+
"assets": [
|
|
181
|
+
"CHANGELOG.md"
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"@semantic-release/npm",
|
|
186
|
+
"@semantic-release/github"
|
|
184
187
|
]
|
|
185
188
|
},
|
|
189
|
+
"resolutions": {
|
|
190
|
+
"immer": "^9.0.6",
|
|
191
|
+
"ansi-regex": "^5.0.1",
|
|
192
|
+
"glob-parent": "^5.1.2",
|
|
193
|
+
"browserslist": "^4.16.5",
|
|
194
|
+
"trim": "^0.0.3"
|
|
195
|
+
},
|
|
186
196
|
"keywords": [
|
|
187
197
|
"seat",
|
|
188
198
|
"maps",
|
|
@@ -198,9 +208,5 @@
|
|
|
198
208
|
"payments"
|
|
199
209
|
],
|
|
200
210
|
"author": "Duffel Technology Limited <help@duffel.com> (http://duffel.com)",
|
|
201
|
-
"license": "MIT"
|
|
202
|
-
"bugs": {
|
|
203
|
-
"url": "https://github.com/duffelhq/components-javascript/issues"
|
|
204
|
-
},
|
|
205
|
-
"homepage": "https://github.com/duffelhq/components-javascript#readme"
|
|
211
|
+
"license": "MIT"
|
|
206
212
|
}
|
package/CHANGELOG.md
DELETED
|
File without changes
|