@razorpay/blade 7.1.1 → 7.2.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@razorpay/blade",
3
3
  "description": "The Design System that powers Razorpay",
4
- "version": "7.1.1",
4
+ "version": "7.2.1",
5
5
  "license": "MIT",
6
6
  "engines": {
7
7
  "node": ">=14.18.0"
@@ -107,9 +107,10 @@
107
107
  },
108
108
  "dependencies": {
109
109
  "@babel/runtime": "7.16.5",
110
- "use-presence": "1.1.0",
110
+ "@types/body-scroll-lock": "3.1.0",
111
111
  "@use-gesture/react": "10.2.24",
112
- "body-scroll-lock": "4.0.0-beta.0"
112
+ "body-scroll-lock": "4.0.0-beta.0",
113
+ "use-presence": "1.1.0"
113
114
  },
114
115
  "devDependencies": {
115
116
  "@babel/core": "7.16.5",
@@ -119,6 +120,8 @@
119
120
  "@babel/preset-react": "7.16.5",
120
121
  "@babel/preset-typescript": "7.16.5",
121
122
  "@codesandbox/sandpack-react": "1.16.0",
123
+ "@gorhom/bottom-sheet": "4.4.6",
124
+ "@gorhom/portal": "1.0.14",
122
125
  "@react-native-async-storage/async-storage": "1.15.14",
123
126
  "@react-native-community/datetimepicker": "5.0.1",
124
127
  "@react-native-community/slider": "4.1.12",
@@ -126,6 +129,7 @@
126
129
  "@rollup/plugin-babel": "5.3.1",
127
130
  "@rollup/plugin-commonjs": "21.1.0",
128
131
  "@rollup/plugin-node-resolve": "13.1.1",
132
+ "@size-limit/preset-big-lib": "8.2.4",
129
133
  "@storybook/addon-a11y": "6.3.0",
130
134
  "@storybook/addon-actions": "6.3.0",
131
135
  "@storybook/addon-controls": "6.3",
@@ -147,9 +151,11 @@
147
151
  "@testing-library/react-hooks": "5.1.2",
148
152
  "@testing-library/react-native": "9.1.0",
149
153
  "@testing-library/user-event": "14.4.1",
154
+ "@types/body-scroll-lock": "3.1.0",
150
155
  "@types/dedent": "0.7.0",
151
156
  "@types/jest": "26.0.23",
152
157
  "@types/jest-axe": "3.5.3",
158
+ "@types/jscodeshift": "0.11.6",
153
159
  "@types/jsdom": "20.0.1",
154
160
  "@types/lodash": "4.14.168",
155
161
  "@types/react": "17.0.38",
@@ -157,12 +163,13 @@
157
163
  "@types/react-test-renderer": "17.0.1",
158
164
  "@types/styled-components": "5.1.25",
159
165
  "@types/styled-components-react-native": "5.1.3",
160
- "@types/body-scroll-lock": "3.1.0",
161
166
  "any-leaf": "1.2.2",
167
+ "args-parser": "1.3.0",
162
168
  "babel-jest": "26.6.3",
163
169
  "babel-loader": "8.2.3",
164
170
  "babel-plugin-module-resolver": "4.1.0",
165
171
  "babel-plugin-styled-components": "1.12.0",
172
+ "bundlemon": "2.0.1",
166
173
  "chalk": "4.1.1",
167
174
  "copyfiles": "2.4.1",
168
175
  "dedent": "0.7.0",
@@ -176,6 +183,7 @@
176
183
  "jest-matchmedia-mock": "1.1.0",
177
184
  "jest-styled-components": "7.0.8",
178
185
  "jest-useragent-mock": "0.1.1",
186
+ "jscodeshift": "0.13.1",
179
187
  "jsdom": "20.0.2",
180
188
  "lodash": "4.17.21",
181
189
  "metro-react-native-babel-preset": "0.66.2",
@@ -185,27 +193,30 @@
185
193
  "react": "17.0.2",
186
194
  "react-dom": "17.0.2",
187
195
  "react-native": "0.66.5",
188
- "react-native-reanimated": "2.6.0",
196
+ "react-native-gesture-handler": "2.9.0",
197
+ "react-native-reanimated": "2.12.0",
189
198
  "react-native-svg": "12.3.0",
190
199
  "react-scripts": "4.0.3",
191
200
  "react-test-renderer": "17.0.2",
192
201
  "rollup": "2.61.1",
193
202
  "rollup-plugin-dts": "4.0.1",
194
203
  "rollup-plugin-peer-deps-external": "2.2.4",
204
+ "size-limit": "8.2.4",
195
205
  "style-dictionary": "3.7.1",
196
206
  "styled-components": "5.3.5",
197
207
  "tsconfig-paths-webpack-plugin": "3.5.2",
198
- "@types/jscodeshift": "0.11.6",
199
- "args-parser": "1.3.0",
200
- "jscodeshift": "0.13.1"
208
+ "jsdom-testing-mocks": "1.9.0"
201
209
  },
202
210
  "peerDependencies": {
211
+ "@gorhom/bottom-sheet": "^4",
212
+ "@gorhom/portal": "1.0.14",
203
213
  "react": ">=17",
204
214
  "react-dom": ">=17",
205
215
  "react-native": "^0.66.5",
206
216
  "react-native-reanimated": "^2.6.0",
207
217
  "react-native-svg": "^12.3.0",
208
- "styled-components": "^5"
218
+ "styled-components": "^5",
219
+ "react-native-gesture-handler": "^2.9.0"
209
220
  },
210
221
  "peerDependenciesMeta": {
211
222
  "react-native": {
@@ -213,6 +224,9 @@
213
224
  },
214
225
  "react-native-reanimated": {
215
226
  "optional": true
227
+ },
228
+ "@gorhom/bottom-sheet": {
229
+ "optional": true
216
230
  }
217
231
  },
218
232
  "resolutions": {
@@ -221,5 +235,56 @@
221
235
  "react-dom": "17.0.2",
222
236
  "react": "17.0.2",
223
237
  "styled-components": "^5"
224
- }
238
+ },
239
+ "bundlemon": {
240
+ "files": [
241
+ {
242
+ "friendlyName": "Web Components",
243
+ "path": "./build/components/index.web.js"
244
+ },
245
+ {
246
+ "friendlyName": "React Native Components",
247
+ "path": "./build/components/index.native.js"
248
+ },
249
+ {
250
+ "friendlyName": "Web Tokens",
251
+ "path": "./build/tokens/index.web.js"
252
+ },
253
+ {
254
+ "friendlyName": "React Native Tokens",
255
+ "path": "./build/tokens/index.native.js"
256
+ },
257
+ {
258
+ "friendlyName": "CSS Theme Tokens",
259
+ "path": "./build/css/*.css"
260
+ },
261
+ {
262
+ "friendlyName": "Web Utils",
263
+ "path": "./build/utils/index.web.js"
264
+ },
265
+ {
266
+ "friendlyName": "React Native Utils",
267
+ "path": "./build/utils/index.native.js"
268
+ }
269
+ ],
270
+ "reportOutput": [
271
+ "github"
272
+ ]
273
+ },
274
+ "size-limit": [
275
+ {
276
+ "name": "Import Button only",
277
+ "path": "./build/components/index.web.js",
278
+ "import": "{ Button }",
279
+ "limit": "16.6 kb",
280
+ "running": false
281
+ },
282
+ {
283
+ "name": "Import Text only",
284
+ "path": "./build/components/index.web.js",
285
+ "import": "{ Text }",
286
+ "limit": "11.9 kb",
287
+ "running": false
288
+ }
289
+ ]
225
290
  }