@razorpay/blade 9.5.3 → 9.6.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/build/components/index.d.ts +386 -2
- package/build/components/index.development.web.js +395 -20
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +386 -2
- package/build/components/index.native.js +2 -2
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +395 -20
- package/build/components/index.production.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/package.json +1 -1
|
@@ -6923,7 +6923,390 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
|
|
|
6923
6923
|
*/
|
|
6924
6924
|
declare const screenReaderStyles: CSSObject;
|
|
6925
6925
|
|
|
6926
|
-
declare
|
|
6926
|
+
declare const currencyPrefixMapping: {
|
|
6927
|
+
AED: {
|
|
6928
|
+
'currency-symbol': string;
|
|
6929
|
+
'currency-code': string;
|
|
6930
|
+
};
|
|
6931
|
+
ALL: {
|
|
6932
|
+
'currency-symbol': string;
|
|
6933
|
+
'currency-code': string;
|
|
6934
|
+
};
|
|
6935
|
+
AMD: {
|
|
6936
|
+
'currency-symbol': string;
|
|
6937
|
+
'currency-code': string;
|
|
6938
|
+
};
|
|
6939
|
+
ARS: {
|
|
6940
|
+
'currency-symbol': string;
|
|
6941
|
+
'currency-code': string;
|
|
6942
|
+
};
|
|
6943
|
+
AUD: {
|
|
6944
|
+
'currency-symbol': string;
|
|
6945
|
+
'currency-code': string;
|
|
6946
|
+
};
|
|
6947
|
+
AWG: {
|
|
6948
|
+
'currency-symbol': string;
|
|
6949
|
+
'currency-code': string;
|
|
6950
|
+
};
|
|
6951
|
+
BBD: {
|
|
6952
|
+
'currency-symbol': string;
|
|
6953
|
+
'currency-code': string;
|
|
6954
|
+
};
|
|
6955
|
+
BDT: {
|
|
6956
|
+
'currency-symbol': string;
|
|
6957
|
+
'currency-code': string;
|
|
6958
|
+
};
|
|
6959
|
+
BMD: {
|
|
6960
|
+
'currency-symbol': string;
|
|
6961
|
+
'currency-code': string;
|
|
6962
|
+
};
|
|
6963
|
+
BND: {
|
|
6964
|
+
'currency-symbol': string;
|
|
6965
|
+
'currency-code': string;
|
|
6966
|
+
};
|
|
6967
|
+
BOB: {
|
|
6968
|
+
'currency-symbol': string;
|
|
6969
|
+
'currency-code': string;
|
|
6970
|
+
};
|
|
6971
|
+
BSD: {
|
|
6972
|
+
'currency-symbol': string;
|
|
6973
|
+
'currency-code': string;
|
|
6974
|
+
};
|
|
6975
|
+
BWP: {
|
|
6976
|
+
'currency-symbol': string;
|
|
6977
|
+
'currency-code': string;
|
|
6978
|
+
};
|
|
6979
|
+
BZD: {
|
|
6980
|
+
'currency-symbol': string;
|
|
6981
|
+
'currency-code': string;
|
|
6982
|
+
};
|
|
6983
|
+
CAD: {
|
|
6984
|
+
'currency-symbol': string;
|
|
6985
|
+
'currency-code': string;
|
|
6986
|
+
};
|
|
6987
|
+
CHF: {
|
|
6988
|
+
'currency-symbol': string;
|
|
6989
|
+
'currency-code': string;
|
|
6990
|
+
};
|
|
6991
|
+
CNY: {
|
|
6992
|
+
'currency-symbol': string;
|
|
6993
|
+
'currency-code': string;
|
|
6994
|
+
};
|
|
6995
|
+
COP: {
|
|
6996
|
+
'currency-symbol': string;
|
|
6997
|
+
'currency-code': string;
|
|
6998
|
+
};
|
|
6999
|
+
CRC: {
|
|
7000
|
+
'currency-symbol': string;
|
|
7001
|
+
'currency-code': string;
|
|
7002
|
+
};
|
|
7003
|
+
CUP: {
|
|
7004
|
+
'currency-symbol': string;
|
|
7005
|
+
'currency-code': string;
|
|
7006
|
+
};
|
|
7007
|
+
CZK: {
|
|
7008
|
+
'currency-symbol': string;
|
|
7009
|
+
'currency-code': string;
|
|
7010
|
+
};
|
|
7011
|
+
DKK: {
|
|
7012
|
+
'currency-symbol': string;
|
|
7013
|
+
'currency-code': string;
|
|
7014
|
+
};
|
|
7015
|
+
DOP: {
|
|
7016
|
+
'currency-symbol': string;
|
|
7017
|
+
'currency-code': string;
|
|
7018
|
+
};
|
|
7019
|
+
DZD: {
|
|
7020
|
+
'currency-symbol': string;
|
|
7021
|
+
'currency-code': string;
|
|
7022
|
+
};
|
|
7023
|
+
EGP: {
|
|
7024
|
+
'currency-symbol': string;
|
|
7025
|
+
'currency-code': string;
|
|
7026
|
+
};
|
|
7027
|
+
ETB: {
|
|
7028
|
+
'currency-symbol': string;
|
|
7029
|
+
'currency-code': string;
|
|
7030
|
+
};
|
|
7031
|
+
EUR: {
|
|
7032
|
+
'currency-symbol': string;
|
|
7033
|
+
'currency-code': string;
|
|
7034
|
+
};
|
|
7035
|
+
FJD: {
|
|
7036
|
+
'currency-symbol': string;
|
|
7037
|
+
'currency-code': string;
|
|
7038
|
+
};
|
|
7039
|
+
GBP: {
|
|
7040
|
+
'currency-symbol': string;
|
|
7041
|
+
'currency-code': string;
|
|
7042
|
+
};
|
|
7043
|
+
GHS: {
|
|
7044
|
+
'currency-symbol': string;
|
|
7045
|
+
'currency-code': string;
|
|
7046
|
+
};
|
|
7047
|
+
GIP: {
|
|
7048
|
+
'currency-symbol': string;
|
|
7049
|
+
'currency-code': string;
|
|
7050
|
+
};
|
|
7051
|
+
GMD: {
|
|
7052
|
+
'currency-symbol': string;
|
|
7053
|
+
'currency-code': string;
|
|
7054
|
+
};
|
|
7055
|
+
GTQ: {
|
|
7056
|
+
'currency-symbol': string;
|
|
7057
|
+
'currency-code': string;
|
|
7058
|
+
};
|
|
7059
|
+
GYD: {
|
|
7060
|
+
'currency-symbol': string;
|
|
7061
|
+
'currency-code': string;
|
|
7062
|
+
};
|
|
7063
|
+
HKD: {
|
|
7064
|
+
'currency-symbol': string;
|
|
7065
|
+
'currency-code': string;
|
|
7066
|
+
};
|
|
7067
|
+
HNL: {
|
|
7068
|
+
'currency-symbol': string;
|
|
7069
|
+
'currency-code': string;
|
|
7070
|
+
};
|
|
7071
|
+
HRK: {
|
|
7072
|
+
'currency-symbol': string;
|
|
7073
|
+
'currency-code': string;
|
|
7074
|
+
};
|
|
7075
|
+
HTG: {
|
|
7076
|
+
'currency-symbol': string;
|
|
7077
|
+
'currency-code': string;
|
|
7078
|
+
};
|
|
7079
|
+
HUF: {
|
|
7080
|
+
'currency-symbol': string;
|
|
7081
|
+
'currency-code': string;
|
|
7082
|
+
};
|
|
7083
|
+
IDR: {
|
|
7084
|
+
'currency-symbol': string;
|
|
7085
|
+
'currency-code': string;
|
|
7086
|
+
};
|
|
7087
|
+
ILS: {
|
|
7088
|
+
'currency-symbol': string;
|
|
7089
|
+
'currency-code': string;
|
|
7090
|
+
};
|
|
7091
|
+
INR: {
|
|
7092
|
+
'currency-symbol': string;
|
|
7093
|
+
'currency-code': string;
|
|
7094
|
+
};
|
|
7095
|
+
JMD: {
|
|
7096
|
+
'currency-symbol': string;
|
|
7097
|
+
'currency-code': string;
|
|
7098
|
+
};
|
|
7099
|
+
KES: {
|
|
7100
|
+
'currency-symbol': string;
|
|
7101
|
+
'currency-code': string;
|
|
7102
|
+
};
|
|
7103
|
+
KGS: {
|
|
7104
|
+
'currency-symbol': string;
|
|
7105
|
+
'currency-code': string;
|
|
7106
|
+
};
|
|
7107
|
+
KHR: {
|
|
7108
|
+
'currency-symbol': string;
|
|
7109
|
+
'currency-code': string;
|
|
7110
|
+
};
|
|
7111
|
+
KYD: {
|
|
7112
|
+
'currency-symbol': string;
|
|
7113
|
+
'currency-code': string;
|
|
7114
|
+
};
|
|
7115
|
+
KZT: {
|
|
7116
|
+
'currency-symbol': string;
|
|
7117
|
+
'currency-code': string;
|
|
7118
|
+
};
|
|
7119
|
+
LAK: {
|
|
7120
|
+
'currency-symbol': string;
|
|
7121
|
+
'currency-code': string;
|
|
7122
|
+
};
|
|
7123
|
+
LKR: {
|
|
7124
|
+
'currency-symbol': string;
|
|
7125
|
+
'currency-code': string;
|
|
7126
|
+
};
|
|
7127
|
+
LRD: {
|
|
7128
|
+
'currency-symbol': string;
|
|
7129
|
+
'currency-code': string;
|
|
7130
|
+
};
|
|
7131
|
+
LSL: {
|
|
7132
|
+
'currency-symbol': string;
|
|
7133
|
+
'currency-code': string;
|
|
7134
|
+
};
|
|
7135
|
+
MAD: {
|
|
7136
|
+
'currency-symbol': string;
|
|
7137
|
+
'currency-code': string;
|
|
7138
|
+
};
|
|
7139
|
+
MDL: {
|
|
7140
|
+
'currency-symbol': string;
|
|
7141
|
+
'currency-code': string;
|
|
7142
|
+
};
|
|
7143
|
+
MKD: {
|
|
7144
|
+
'currency-symbol': string;
|
|
7145
|
+
'currency-code': string;
|
|
7146
|
+
};
|
|
7147
|
+
MMK: {
|
|
7148
|
+
'currency-symbol': string;
|
|
7149
|
+
'currency-code': string;
|
|
7150
|
+
};
|
|
7151
|
+
MNT: {
|
|
7152
|
+
'currency-symbol': string;
|
|
7153
|
+
'currency-code': string;
|
|
7154
|
+
};
|
|
7155
|
+
MOP: {
|
|
7156
|
+
'currency-symbol': string;
|
|
7157
|
+
'currency-code': string;
|
|
7158
|
+
};
|
|
7159
|
+
MUR: {
|
|
7160
|
+
'currency-symbol': string;
|
|
7161
|
+
'currency-code': string;
|
|
7162
|
+
};
|
|
7163
|
+
MVR: {
|
|
7164
|
+
'currency-symbol': string;
|
|
7165
|
+
'currency-code': string;
|
|
7166
|
+
};
|
|
7167
|
+
MWK: {
|
|
7168
|
+
'currency-symbol': string;
|
|
7169
|
+
'currency-code': string;
|
|
7170
|
+
};
|
|
7171
|
+
MXN: {
|
|
7172
|
+
'currency-symbol': string;
|
|
7173
|
+
'currency-code': string;
|
|
7174
|
+
};
|
|
7175
|
+
MYR: {
|
|
7176
|
+
'currency-symbol': string;
|
|
7177
|
+
'currency-code': string;
|
|
7178
|
+
};
|
|
7179
|
+
NAD: {
|
|
7180
|
+
'currency-symbol': string;
|
|
7181
|
+
'currency-code': string;
|
|
7182
|
+
};
|
|
7183
|
+
NGN: {
|
|
7184
|
+
'currency-symbol': string;
|
|
7185
|
+
'currency-code': string;
|
|
7186
|
+
};
|
|
7187
|
+
NIO: {
|
|
7188
|
+
'currency-symbol': string;
|
|
7189
|
+
'currency-code': string;
|
|
7190
|
+
};
|
|
7191
|
+
NOK: {
|
|
7192
|
+
'currency-symbol': string;
|
|
7193
|
+
'currency-code': string;
|
|
7194
|
+
};
|
|
7195
|
+
NPR: {
|
|
7196
|
+
'currency-symbol': string;
|
|
7197
|
+
'currency-code': string;
|
|
7198
|
+
};
|
|
7199
|
+
NZD: {
|
|
7200
|
+
'currency-symbol': string;
|
|
7201
|
+
'currency-code': string;
|
|
7202
|
+
};
|
|
7203
|
+
PEN: {
|
|
7204
|
+
'currency-symbol': string;
|
|
7205
|
+
'currency-code': string;
|
|
7206
|
+
};
|
|
7207
|
+
PGK: {
|
|
7208
|
+
'currency-symbol': string;
|
|
7209
|
+
'currency-code': string;
|
|
7210
|
+
};
|
|
7211
|
+
PHP: {
|
|
7212
|
+
'currency-symbol': string;
|
|
7213
|
+
'currency-code': string;
|
|
7214
|
+
};
|
|
7215
|
+
PKR: {
|
|
7216
|
+
'currency-symbol': string;
|
|
7217
|
+
'currency-code': string;
|
|
7218
|
+
};
|
|
7219
|
+
QAR: {
|
|
7220
|
+
'currency-symbol': string;
|
|
7221
|
+
'currency-code': string;
|
|
7222
|
+
};
|
|
7223
|
+
RUB: {
|
|
7224
|
+
'currency-symbol': string;
|
|
7225
|
+
'currency-code': string;
|
|
7226
|
+
};
|
|
7227
|
+
SAR: {
|
|
7228
|
+
'currency-symbol': string;
|
|
7229
|
+
'currency-code': string;
|
|
7230
|
+
};
|
|
7231
|
+
SCR: {
|
|
7232
|
+
'currency-symbol': string;
|
|
7233
|
+
'currency-code': string;
|
|
7234
|
+
};
|
|
7235
|
+
SEK: {
|
|
7236
|
+
'currency-symbol': string;
|
|
7237
|
+
'currency-code': string;
|
|
7238
|
+
};
|
|
7239
|
+
SGD: {
|
|
7240
|
+
'currency-symbol': string;
|
|
7241
|
+
'currency-code': string;
|
|
7242
|
+
};
|
|
7243
|
+
SLL: {
|
|
7244
|
+
'currency-symbol': string;
|
|
7245
|
+
'currency-code': string;
|
|
7246
|
+
};
|
|
7247
|
+
SOS: {
|
|
7248
|
+
'currency-symbol': string;
|
|
7249
|
+
'currency-code': string;
|
|
7250
|
+
};
|
|
7251
|
+
SSP: {
|
|
7252
|
+
'currency-symbol': string;
|
|
7253
|
+
'currency-code': string;
|
|
7254
|
+
};
|
|
7255
|
+
SVC: {
|
|
7256
|
+
'currency-symbol': string;
|
|
7257
|
+
'currency-code': string;
|
|
7258
|
+
};
|
|
7259
|
+
SZL: {
|
|
7260
|
+
'currency-symbol': string;
|
|
7261
|
+
'currency-code': string;
|
|
7262
|
+
};
|
|
7263
|
+
THB: {
|
|
7264
|
+
'currency-symbol': string;
|
|
7265
|
+
'currency-code': string;
|
|
7266
|
+
};
|
|
7267
|
+
TTD: {
|
|
7268
|
+
'currency-symbol': string;
|
|
7269
|
+
'currency-code': string;
|
|
7270
|
+
};
|
|
7271
|
+
TZS: {
|
|
7272
|
+
'currency-symbol': string;
|
|
7273
|
+
'currency-code': string;
|
|
7274
|
+
};
|
|
7275
|
+
USD: {
|
|
7276
|
+
'currency-symbol': string;
|
|
7277
|
+
'currency-code': string;
|
|
7278
|
+
};
|
|
7279
|
+
UYU: {
|
|
7280
|
+
'currency-symbol': string;
|
|
7281
|
+
'currency-code': string;
|
|
7282
|
+
};
|
|
7283
|
+
UZS: {
|
|
7284
|
+
'currency-symbol': string;
|
|
7285
|
+
'currency-code': string;
|
|
7286
|
+
};
|
|
7287
|
+
YER: {
|
|
7288
|
+
'currency-symbol': string;
|
|
7289
|
+
'currency-code': string;
|
|
7290
|
+
};
|
|
7291
|
+
ZAR: {
|
|
7292
|
+
'currency-symbol': string;
|
|
7293
|
+
'currency-code': string;
|
|
7294
|
+
};
|
|
7295
|
+
KWD: {
|
|
7296
|
+
'currency-symbol': string;
|
|
7297
|
+
'currency-code': string;
|
|
7298
|
+
};
|
|
7299
|
+
BHD: {
|
|
7300
|
+
'currency-symbol': string;
|
|
7301
|
+
'currency-code': string;
|
|
7302
|
+
};
|
|
7303
|
+
OMR: {
|
|
7304
|
+
'currency-symbol': string;
|
|
7305
|
+
'currency-code': string;
|
|
7306
|
+
};
|
|
7307
|
+
};
|
|
7308
|
+
declare type Currency = keyof typeof currencyPrefixMapping;
|
|
7309
|
+
|
|
6927
7310
|
declare type AmountProps = {
|
|
6928
7311
|
/**
|
|
6929
7312
|
* The value to be rendered within the component.
|
|
@@ -6961,7 +7344,8 @@ declare type AmountProps = {
|
|
|
6961
7344
|
*/
|
|
6962
7345
|
prefix?: 'currency-symbol' | 'currency-code';
|
|
6963
7346
|
/**
|
|
6964
|
-
* The currency of the amount.
|
|
7347
|
+
* The currency of the amount. Note that this component
|
|
7348
|
+
* only displays the provided value in the specified currency, it does not perform any currency conversion.
|
|
6965
7349
|
*
|
|
6966
7350
|
* @default 'INR'
|
|
6967
7351
|
* */
|