@razorpay/blade 5.0.1 → 5.1.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 +14 -0
- package/build/components/index.d.ts +10 -6
- package/build/components/index.native.d.ts +10 -6
- package/build/components/index.native.js +8 -6
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +56 -32
- 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
|
@@ -4967,6 +4967,32 @@ var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
|
|
|
4967
4967
|
});
|
|
4968
4968
|
};
|
|
4969
4969
|
|
|
4970
|
+
var MailIcon = function MailIcon(_ref) {
|
|
4971
|
+
var size = _ref.size,
|
|
4972
|
+
color = _ref.color;
|
|
4973
|
+
|
|
4974
|
+
var _useIconProps = useIconProps({
|
|
4975
|
+
size: size,
|
|
4976
|
+
color: color
|
|
4977
|
+
}),
|
|
4978
|
+
height = _useIconProps.height,
|
|
4979
|
+
width = _useIconProps.width,
|
|
4980
|
+
iconColor = _useIconProps.iconColor;
|
|
4981
|
+
|
|
4982
|
+
return /*#__PURE__*/jsx(Svg, {
|
|
4983
|
+
width: width,
|
|
4984
|
+
height: height,
|
|
4985
|
+
viewBox: "0 0 24 24",
|
|
4986
|
+
fill: "none",
|
|
4987
|
+
children: /*#__PURE__*/jsx(Path, {
|
|
4988
|
+
fillRule: "evenodd",
|
|
4989
|
+
clipRule: "evenodd",
|
|
4990
|
+
d: "M23 6.01769V18C23 19.6523 21.6523 21 20 21H4C2.34772 21 1 19.6523 1 18V6C1 4.34772 2.34772 3 4 3H20C21.6443 3 22.987 4.33473 22.9999 5.97608C23.0002 5.98996 23.0003 6.00383 23 6.01769ZM3.10659 5.55392C3.27198 5.22691 3.61205 5 4 5H20C20.388 5 20.7281 5.22695 20.8935 5.55401L12.0001 11.7794L3.10659 5.55392ZM3 7.92062V18C3 18.5477 3.45228 19 4 19H20C20.5477 19 21 18.5477 21 18V7.92074L12.5735 13.8193C12.2292 14.0603 11.7709 14.0603 11.4266 13.8193L3 7.92062Z",
|
|
4991
|
+
fill: iconColor
|
|
4992
|
+
})
|
|
4993
|
+
});
|
|
4994
|
+
};
|
|
4995
|
+
|
|
4970
4996
|
function ownKeys$v(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4971
4997
|
|
|
4972
4998
|
function _objectSpread$v(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$v(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$v(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -5726,10 +5752,10 @@ var buttonIconOnlySizeToIconSizeMap = {
|
|
|
5726
5752
|
large: 'xlarge'
|
|
5727
5753
|
};
|
|
5728
5754
|
var buttonSizeToSpinnerSizeMap = {
|
|
5729
|
-
xsmall: '
|
|
5730
|
-
small: '
|
|
5731
|
-
medium: '
|
|
5732
|
-
large: '
|
|
5755
|
+
xsmall: 'medium',
|
|
5756
|
+
small: 'large',
|
|
5757
|
+
medium: 'large',
|
|
5758
|
+
large: 'xlarge'
|
|
5733
5759
|
};
|
|
5734
5760
|
var textPadding = {
|
|
5735
5761
|
xsmall: 2,
|
|
@@ -5867,9 +5893,9 @@ function destroyAnnouncer() {
|
|
|
5867
5893
|
}
|
|
5868
5894
|
|
|
5869
5895
|
var dimensions = {
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5896
|
+
medium: 16,
|
|
5897
|
+
large: 20,
|
|
5898
|
+
xlarge: 24
|
|
5873
5899
|
};
|
|
5874
5900
|
var motion = {
|
|
5875
5901
|
duration: 'duration.2xgentle',
|
|
@@ -5904,7 +5930,7 @@ var SpinningBox = /*#__PURE__*/styled(Box).withConfig({
|
|
|
5904
5930
|
componentId: "zswieh-0"
|
|
5905
5931
|
})(function (_ref) {
|
|
5906
5932
|
var theme = _ref.theme;
|
|
5907
|
-
return css(["width:max-content;display:inline-flex;animation:", " ", " ", " infinite;"], rotate, makeMotionTime(get_1(theme.motion, motion.duration)), get_1(theme.motion, motion.easing));
|
|
5933
|
+
return css(["padding:1px;width:max-content;display:inline-flex;animation:", " ", " ", " infinite;"], rotate, makeMotionTime(get_1(theme.motion, motion.duration)), get_1(theme.motion, motion.easing));
|
|
5908
5934
|
});
|
|
5909
5935
|
|
|
5910
5936
|
function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -9103,6 +9129,25 @@ var CharacterCounter = function CharacterCounter(_ref) {
|
|
|
9103
9129
|
});
|
|
9104
9130
|
};
|
|
9105
9131
|
|
|
9132
|
+
var Spinner = function Spinner(_ref) {
|
|
9133
|
+
var _ref2;
|
|
9134
|
+
|
|
9135
|
+
var label = _ref.label,
|
|
9136
|
+
labelPosition = _ref.labelPosition,
|
|
9137
|
+
accessibilityLabel = _ref.accessibilityLabel,
|
|
9138
|
+
_ref$contrast = _ref.contrast,
|
|
9139
|
+
contrast = _ref$contrast === void 0 ? 'low' : _ref$contrast,
|
|
9140
|
+
_ref$size = _ref.size,
|
|
9141
|
+
size = _ref$size === void 0 ? 'medium' : _ref$size;
|
|
9142
|
+
return /*#__PURE__*/jsx(BaseSpinner, {
|
|
9143
|
+
label: label,
|
|
9144
|
+
labelPosition: labelPosition,
|
|
9145
|
+
accessibilityLabel: (_ref2 = accessibilityLabel !== null && accessibilityLabel !== void 0 ? accessibilityLabel : label) !== null && _ref2 !== void 0 ? _ref2 : 'Loading',
|
|
9146
|
+
contrast: contrast,
|
|
9147
|
+
size: size
|
|
9148
|
+
});
|
|
9149
|
+
};
|
|
9150
|
+
|
|
9106
9151
|
function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9107
9152
|
|
|
9108
9153
|
function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -9218,10 +9263,8 @@ var TextInput = function TextInput(_ref2) {
|
|
|
9218
9263
|
|
|
9219
9264
|
var renderInteractionElement = function renderInteractionElement() {
|
|
9220
9265
|
if (isLoading) {
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
size: "medium",
|
|
9224
|
-
color: "surface.text.subtle.lowContrast"
|
|
9266
|
+
return /*#__PURE__*/jsx(Spinner, {
|
|
9267
|
+
accessibilityLabel: "Loading Content"
|
|
9225
9268
|
});
|
|
9226
9269
|
}
|
|
9227
9270
|
|
|
@@ -10659,25 +10702,6 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
10659
10702
|
});
|
|
10660
10703
|
};
|
|
10661
10704
|
|
|
10662
|
-
var Spinner = function Spinner(_ref) {
|
|
10663
|
-
var _ref2;
|
|
10664
|
-
|
|
10665
|
-
var label = _ref.label,
|
|
10666
|
-
labelPosition = _ref.labelPosition,
|
|
10667
|
-
accessibilityLabel = _ref.accessibilityLabel,
|
|
10668
|
-
_ref$contrast = _ref.contrast,
|
|
10669
|
-
contrast = _ref$contrast === void 0 ? 'low' : _ref$contrast,
|
|
10670
|
-
_ref$size = _ref.size,
|
|
10671
|
-
size = _ref$size === void 0 ? 'medium' : _ref$size;
|
|
10672
|
-
return /*#__PURE__*/jsx(BaseSpinner, {
|
|
10673
|
-
label: label,
|
|
10674
|
-
labelPosition: labelPosition,
|
|
10675
|
-
accessibilityLabel: (_ref2 = accessibilityLabel !== null && accessibilityLabel !== void 0 ? accessibilityLabel : label) !== null && _ref2 !== void 0 ? _ref2 : 'Loading',
|
|
10676
|
-
contrast: contrast,
|
|
10677
|
-
size: size
|
|
10678
|
-
});
|
|
10679
|
-
};
|
|
10680
|
-
|
|
10681
10705
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10682
10706
|
|
|
10683
10707
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -10723,5 +10747,5 @@ var SkipNavContent = function SkipNavContent(_ref3) {
|
|
|
10723
10747
|
}, testID('skipnav-content')));
|
|
10724
10748
|
};
|
|
10725
10749
|
|
|
10726
|
-
export { Alert, AlertTriangleIcon as AlertOctagonIcon, AlertTriangleIcon$1 as AlertTriangleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, Badge, BladeProvider, Button, CheckCircleIcon, CheckIcon, Checkbox, CheckboxGroup, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, Code, Counter, CreditCardIcon, DollarIcon, DownloadIcon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileTextIcon, Heading, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, Indicator, InfoIcon, Link, LinkIcon, LockIcon, MinusIcon, OTPInput, PasswordInput, PauseIcon, PlusIcon, Radio, RadioGroup, RefreshLeftIcon, RotateCounterClockWiseIcon, RupeeIcon, SearchIcon, SettingsIcon, SkipNavContent, SkipNavLink, SlashIcon, Spinner, Text, TextArea, TextInput, Title, TrashIcon, TrendingDownIcon, TrendingUpIcon, UsersIcon, VisuallyHidden, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useTheme };
|
|
10750
|
+
export { Alert, AlertTriangleIcon as AlertOctagonIcon, AlertTriangleIcon$1 as AlertTriangleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, Badge, BladeProvider, Button, CheckCircleIcon, CheckIcon, Checkbox, CheckboxGroup, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, Code, Counter, CreditCardIcon, DollarIcon, DownloadIcon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileTextIcon, Heading, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, Indicator, InfoIcon, Link, LinkIcon, LockIcon, MailIcon, MinusIcon, OTPInput, PasswordInput, PauseIcon, PlusIcon, Radio, RadioGroup, RefreshLeftIcon, RotateCounterClockWiseIcon, RupeeIcon, SearchIcon, SettingsIcon, SkipNavContent, SkipNavLink, SlashIcon, Spinner, Text, TextArea, TextInput, Title, TrashIcon, TrendingDownIcon, TrendingUpIcon, UsersIcon, VisuallyHidden, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useTheme };
|
|
10727
10751
|
//# sourceMappingURL=index.web.js.map
|