@razorpay/blade 5.2.0 → 5.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/CHANGELOG.md +7 -0
- package/build/components/index.d.ts +1 -1
- package/build/components/index.native.d.ts +1 -1
- package/build/components/index.native.js +2 -2
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +5 -5
- package/build/components/index.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
|
@@ -7817,13 +7817,13 @@ var FormLabel = function FormLabel(_ref) {
|
|
|
7817
7817
|
flexDirection: "row",
|
|
7818
7818
|
alignItems: "center",
|
|
7819
7819
|
flexWrap: "wrap",
|
|
7820
|
-
children: [/*#__PURE__*/
|
|
7820
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
7821
7821
|
type: "subdued",
|
|
7822
7822
|
variant: "body",
|
|
7823
7823
|
size: isLabelLeftPositioned ? 'medium' : 'small',
|
|
7824
7824
|
weight: "bold",
|
|
7825
|
-
children:
|
|
7826
|
-
}), necessityLabel]
|
|
7825
|
+
children: children
|
|
7826
|
+
}), computedAccessibilityNode, necessityLabel]
|
|
7827
7827
|
}); // What harm can it do?
|
|
7828
7828
|
|
|
7829
7829
|
|
|
@@ -9261,7 +9261,7 @@ var getKeyboardAndAutocompleteProps = function getKeyboardAndAutocompleteProps(_
|
|
|
9261
9261
|
keyboardReturnKeyType: 'go',
|
|
9262
9262
|
autoCompleteSuggestionType: 'none'
|
|
9263
9263
|
},
|
|
9264
|
-
|
|
9264
|
+
number: {
|
|
9265
9265
|
keyboardType: 'decimal',
|
|
9266
9266
|
keyboardReturnKeyType: 'done',
|
|
9267
9267
|
autoCompleteSuggestionType: 'none'
|
|
@@ -9277,7 +9277,7 @@ var getKeyboardAndAutocompleteProps = function getKeyboardAndAutocompleteProps(_
|
|
|
9277
9277
|
keyboardAndAutocompleteProps.keyboardReturnKeyType = keyboardReturnKeyType !== null && keyboardReturnKeyType !== void 0 ? keyboardReturnKeyType : keyboardConfig.keyboardReturnKeyType;
|
|
9278
9278
|
keyboardAndAutocompleteProps.autoCompleteSuggestionType = autoCompleteSuggestionType !== null && autoCompleteSuggestionType !== void 0 ? autoCompleteSuggestionType : keyboardConfig.autoCompleteSuggestionType;
|
|
9279
9279
|
|
|
9280
|
-
if (type === '
|
|
9280
|
+
if (type === 'number') {
|
|
9281
9281
|
/* the default keyboardType:numeric shows alphanumeric keyboard on iOS but number pad on android. making it type:text and keyboardType:decimal fixes this on all platforms.
|
|
9282
9282
|
* source: https://css-tricks.com/everything-you-ever-wanted-to-know-about-keyboardType/#aa-decimal
|
|
9283
9283
|
*/
|