@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.
@@ -7817,13 +7817,13 @@ var FormLabel = function FormLabel(_ref) {
7817
7817
  flexDirection: "row",
7818
7818
  alignItems: "center",
7819
7819
  flexWrap: "wrap",
7820
- children: [/*#__PURE__*/jsxs(Text, {
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: [children, computedAccessibilityNode]
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
- numeric: {
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 === 'numeric') {
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
  */