@razorpay/blade 6.6.3 → 7.0.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/CHANGELOG.md +95 -0
- package/build/components/index.d.ts +99 -33
- package/build/components/index.native.d.ts +99 -33
- package/build/components/index.native.js +322 -318
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +2073 -1752
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +29 -26
- package/build/css/bankingThemeDarkMobile.css +38 -35
- package/build/css/bankingThemeLightDesktop.css +16 -13
- package/build/css/bankingThemeLightMobile.css +25 -22
- package/build/css/paymentThemeDarkDesktop.css +28 -25
- package/build/css/paymentThemeDarkMobile.css +37 -34
- package/build/css/paymentThemeLightDesktop.css +16 -13
- package/build/css/paymentThemeLightMobile.css +25 -22
- package/build/tokens/index.d.ts +82 -52
- package/build/tokens/index.native.d.ts +82 -52
- package/build/tokens/index.native.js +3 -3
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.web.js +68 -62
- package/build/tokens/index.web.js.map +1 -1
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.native.d.ts +1 -0
- package/build/utils/index.native.js +2 -2
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.web.js +36 -29
- package/build/utils/index.web.js.map +1 -1
- package/codemods/migrate-typography/transformers/migrate-typography.ts +33 -0
- package/package.json +9 -2
package/build/utils/index.web.js
CHANGED
|
@@ -2794,6 +2794,7 @@ var MetaConstants = {
|
|
|
2794
2794
|
ActionListItem: 'action-list-item',
|
|
2795
2795
|
ActionListSection: 'action-list-section',
|
|
2796
2796
|
Alert: 'alert',
|
|
2797
|
+
Amount: 'amount',
|
|
2797
2798
|
Badge: 'badge',
|
|
2798
2799
|
Box: 'box',
|
|
2799
2800
|
Button: 'button',
|
|
@@ -4963,7 +4964,7 @@ var fontWeight = {
|
|
|
4963
4964
|
300: 18,
|
|
4964
4965
|
400: 20,
|
|
4965
4966
|
500: 22,
|
|
4966
|
-
600:
|
|
4967
|
+
600: 24,
|
|
4967
4968
|
700: 28,
|
|
4968
4969
|
800: 32,
|
|
4969
4970
|
900: 36,
|
|
@@ -4972,15 +4973,18 @@ var fontWeight = {
|
|
|
4972
4973
|
weight: _objectSpread({}, fontWeight)
|
|
4973
4974
|
},
|
|
4974
4975
|
lineHeights: {
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4976
|
+
0: 0,
|
|
4977
|
+
25: 14,
|
|
4978
|
+
50: 16,
|
|
4979
|
+
75: 18,
|
|
4980
|
+
100: 20,
|
|
4981
|
+
200: 24,
|
|
4982
|
+
300: 24,
|
|
4983
|
+
400: 28,
|
|
4984
|
+
500: 32,
|
|
4985
|
+
600: 40,
|
|
4986
|
+
700: 40,
|
|
4987
|
+
800: 48
|
|
4984
4988
|
} // letterSpacings: {},
|
|
4985
4989
|
|
|
4986
4990
|
},
|
|
@@ -4988,33 +4992,36 @@ var fontWeight = {
|
|
|
4988
4992
|
fonts: {
|
|
4989
4993
|
family: _objectSpread({}, fontFamily),
|
|
4990
4994
|
size: {
|
|
4991
|
-
10:
|
|
4992
|
-
25:
|
|
4995
|
+
10: 9,
|
|
4996
|
+
25: 10,
|
|
4993
4997
|
50: 11,
|
|
4994
4998
|
75: 12,
|
|
4995
|
-
100:
|
|
4996
|
-
200:
|
|
4997
|
-
300:
|
|
4998
|
-
400:
|
|
4999
|
-
500:
|
|
5000
|
-
600:
|
|
4999
|
+
100: 14,
|
|
5000
|
+
200: 16,
|
|
5001
|
+
300: 16,
|
|
5002
|
+
400: 18,
|
|
5003
|
+
500: 20,
|
|
5004
|
+
600: 20,
|
|
5001
5005
|
700: 24,
|
|
5002
5006
|
800: 28,
|
|
5003
|
-
900:
|
|
5004
|
-
1000:
|
|
5007
|
+
900: 32,
|
|
5008
|
+
1000: 32
|
|
5005
5009
|
},
|
|
5006
5010
|
weight: _objectSpread({}, fontWeight)
|
|
5007
5011
|
},
|
|
5008
5012
|
lineHeights: {
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5013
|
+
0: 0,
|
|
5014
|
+
25: 14,
|
|
5015
|
+
50: 16,
|
|
5016
|
+
75: 18,
|
|
5017
|
+
100: 20,
|
|
5018
|
+
200: 20,
|
|
5019
|
+
300: 24,
|
|
5020
|
+
400: 24,
|
|
5021
|
+
500: 28,
|
|
5022
|
+
600: 32,
|
|
5023
|
+
700: 40,
|
|
5024
|
+
800: 40
|
|
5018
5025
|
} // letterSpacings: {},
|
|
5019
5026
|
|
|
5020
5027
|
}
|