@razorpay/blade 6.2.2 → 6.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @razorpay/blade
2
2
 
3
+ ## 6.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - cbb1424b: fix: change import to default in package exports
8
+
9
+ Jest does not support the "import" condition in exports. This was causing tests to fail for Blade consumers. Changed "import" to "default" which is supported by all tools. Since Blade is not exporting a dual package, we don't need the "import" condition.
10
+
3
11
  ## 6.2.2
4
12
 
5
13
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 28 Feb 2023 05:52:33 GMT
3
+ * Generated on Tue, 28 Feb 2023 07:25:14 GMT
4
4
  */
5
5
 
6
6
  :root {
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": "6.2.2",
4
+ "version": "6.2.3",
5
5
  "license": "MIT",
6
6
  "engines": {
7
7
  "node": ">=14.18.0"
@@ -29,32 +29,32 @@
29
29
  "exports": {
30
30
  "./components": {
31
31
  "react-native": {
32
- "import": "./build/components/index.native.js",
33
- "types": "./build/components/index.native.d.ts"
32
+ "types": "./build/components/index.native.d.ts",
33
+ "default": "./build/components/index.native.js"
34
34
  },
35
35
  "default": {
36
- "import": "./build/components/index.web.js",
37
- "types": "./build/components/index.d.ts"
36
+ "types": "./build/components/index.d.ts",
37
+ "default": "./build/components/index.web.js"
38
38
  }
39
39
  },
40
40
  "./tokens": {
41
41
  "react-native": {
42
- "import": "./build/tokens/index.native.js",
43
- "types": "./build/tokens/index.native.d.ts"
42
+ "types": "./build/tokens/index.native.d.ts",
43
+ "default": "./build/tokens/index.native.js"
44
44
  },
45
45
  "default": {
46
- "import": "./build/tokens/index.web.js",
47
- "types": "./build/tokens/index.d.ts"
46
+ "types": "./build/tokens/index.d.ts",
47
+ "default": "./build/tokens/index.web.js"
48
48
  }
49
49
  },
50
50
  "./utils": {
51
51
  "react-native": {
52
- "import": "./build/utils/index.native.js",
53
- "types": "./build/utils/index.native.d.ts"
52
+ "types": "./build/utils/index.native.d.ts",
53
+ "default": "./build/utils/index.native.js"
54
54
  },
55
55
  "default": {
56
- "import": "./build/utils/index.web.js",
57
- "types": "./build/utils/index.d.ts"
56
+ "types": "./build/utils/index.d.ts",
57
+ "default": "./build/utils/index.web.js"
58
58
  }
59
59
  }
60
60
  },