@razorpay/blade 6.6.0 → 6.6.2
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 +62 -167
- package/build/components/index.native.d.ts +62 -170
- package/build/components/index.native.js +28 -26
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +247 -94
- 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/build/utils/index.d.ts +1 -7
- package/build/utils/index.native.d.ts +1 -7
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.web.js +3 -5
- package/build/utils/index.web.js.map +1 -1
- package/package.json +1 -1
|
@@ -2595,17 +2595,15 @@ var symbolProto = Symbol ? Symbol.prototype : undefined;
|
|
|
2595
2595
|
symbolProto ? symbolProto.valueOf : undefined;
|
|
2596
2596
|
|
|
2597
2597
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2598
|
-
/**
|
|
2599
|
-
* A type defining React component with additional static prop `componentId`
|
|
2600
|
-
*/
|
|
2601
|
-
|
|
2602
2598
|
/**
|
|
2603
2599
|
* Gets the `componentId` prop of React component if it exists.
|
|
2604
2600
|
*/
|
|
2601
|
+
|
|
2605
2602
|
var getComponentId = function getComponentId(component) {
|
|
2606
2603
|
var _component$type;
|
|
2607
2604
|
|
|
2608
|
-
if (! /*#__PURE__*/React__default.isValidElement(component)) return null;
|
|
2605
|
+
if (! /*#__PURE__*/React__default.isValidElement(component)) return null; // eslint-disable-next-line no-restricted-properties
|
|
2606
|
+
|
|
2609
2607
|
return (_component$type = component.type) === null || _component$type === void 0 ? void 0 : _component$type.componentId;
|
|
2610
2608
|
};
|
|
2611
2609
|
/**
|
|
@@ -3712,6 +3710,25 @@ var isReactNative$4 = function isReactNative() {
|
|
|
3712
3710
|
var castWebType = function castWebType(value) {
|
|
3713
3711
|
return value;
|
|
3714
3712
|
};
|
|
3713
|
+
/**
|
|
3714
|
+
* @description
|
|
3715
|
+
*
|
|
3716
|
+
* Casts a Platform.Select<> type to native type
|
|
3717
|
+
*
|
|
3718
|
+
* @example
|
|
3719
|
+
*
|
|
3720
|
+
* ```ts
|
|
3721
|
+
* type Example = Platform.Select<{ web: string; native: number }>;
|
|
3722
|
+
*
|
|
3723
|
+
* const extractedNativeType = castNativeType('' as Example);
|
|
3724
|
+
* // ^ number
|
|
3725
|
+
* ```
|
|
3726
|
+
*/
|
|
3727
|
+
|
|
3728
|
+
|
|
3729
|
+
var castNativeType = function castNativeType(value) {
|
|
3730
|
+
return value;
|
|
3731
|
+
};
|
|
3715
3732
|
|
|
3716
3733
|
/**
|
|
3717
3734
|
* is the role supposed to be `menu`
|
|
@@ -16912,6 +16929,44 @@ var useBladeInnerRef = function useBladeInnerRef(targetRef, handlers) {
|
|
|
16912
16929
|
return innerRef;
|
|
16913
16930
|
};
|
|
16914
16931
|
|
|
16932
|
+
/**
|
|
16933
|
+
* Do you want to define `displayName` or `componentId` on your component? Use this instead to make sure treeshaking doesn't break.
|
|
16934
|
+
*
|
|
16935
|
+
* ## Usage
|
|
16936
|
+
*
|
|
16937
|
+
* ### ❌ Incorrect Code (Breaks treeshaking)
|
|
16938
|
+
*
|
|
16939
|
+
* ```ts
|
|
16940
|
+
* const _MyComponent = () => {};
|
|
16941
|
+
* const MyComponent = React.forwardRef(_MyComponent);
|
|
16942
|
+
* const MyComponent.displayName = 'MyComponent'; // this breaks treeshaking
|
|
16943
|
+
*
|
|
16944
|
+
* export { MyComponent }
|
|
16945
|
+
* ```
|
|
16946
|
+
*
|
|
16947
|
+
* ### ✅ Correct Code (No Side-Effects. Treeshaking continues to work)
|
|
16948
|
+
*
|
|
16949
|
+
* ```ts
|
|
16950
|
+
* const _MyComponent = () => {};
|
|
16951
|
+
* const MyComponentWithRef = React.forwardRef(_MyComponent);
|
|
16952
|
+
* const MyComponent = assignWithoutSideEffects(
|
|
16953
|
+
* MyComponentWithRef,
|
|
16954
|
+
* { displayName: 'MyComponent' }
|
|
16955
|
+
* );
|
|
16956
|
+
*
|
|
16957
|
+
* export { MyComponent }
|
|
16958
|
+
* ```
|
|
16959
|
+
*
|
|
16960
|
+
* Checkout other components like [Button.tsx](../../components/Button/Button/Button.tsx), [SelectInput.tsx](../../components/Input/SelectInput/SelectInput.tsx) for example.
|
|
16961
|
+
*
|
|
16962
|
+
* _Note: You don't have to add PURE comment to this function as it is added during build-time by our `manualPureFunctions` babel plugin_
|
|
16963
|
+
*/
|
|
16964
|
+
// We're matching the types of this with Object.assign types
|
|
16965
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
16966
|
+
var assignWithoutSideEffects = function assignWithoutSideEffects(component, sourceObj) {
|
|
16967
|
+
return /*#__PURE__*/Object.assign(component, sourceObj);
|
|
16968
|
+
};
|
|
16969
|
+
|
|
16915
16970
|
function ownKeys$L(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; }
|
|
16916
16971
|
|
|
16917
16972
|
function _objectSpread$L(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$L(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$L(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -16991,8 +17046,9 @@ var _SelectorInput = function _SelectorInput(_ref3, ref) {
|
|
|
16991
17046
|
}));
|
|
16992
17047
|
};
|
|
16993
17048
|
|
|
16994
|
-
var SelectorInput = /*#__PURE__*/React__default.forwardRef(_SelectorInput)
|
|
16995
|
-
|
|
17049
|
+
var SelectorInput = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_SelectorInput), {
|
|
17050
|
+
displayName: 'SelectorInput'
|
|
17051
|
+
});
|
|
16996
17052
|
|
|
16997
17053
|
var _excluded$p = ["defaultChecked", "validationState", "isChecked", "isDisabled", "isIndeterminate", "isRequired", "name", "onChange", "value", "children", "helpText", "errorText", "size", "tabIndex", "testID"];
|
|
16998
17054
|
|
|
@@ -17142,8 +17198,9 @@ var _Checkbox = function _Checkbox(_ref, ref) {
|
|
|
17142
17198
|
}));
|
|
17143
17199
|
};
|
|
17144
17200
|
|
|
17145
|
-
var Checkbox = /*#__PURE__*/React__default.forwardRef(_Checkbox)
|
|
17146
|
-
|
|
17201
|
+
var Checkbox = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_Checkbox), {
|
|
17202
|
+
displayName: 'Checkbox'
|
|
17203
|
+
});
|
|
17147
17204
|
|
|
17148
17205
|
var useCheckboxGroup = function useCheckboxGroup(_ref) {
|
|
17149
17206
|
var value = _ref.value,
|
|
@@ -17396,7 +17453,7 @@ var StyledActionListSectionTitle = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
|
17396
17453
|
};
|
|
17397
17454
|
});
|
|
17398
17455
|
|
|
17399
|
-
var
|
|
17456
|
+
var _ActionListSection = function _ActionListSection(_ref) {
|
|
17400
17457
|
var title = _ref.title,
|
|
17401
17458
|
children = _ref.children,
|
|
17402
17459
|
testID = _ref.testID,
|
|
@@ -17427,9 +17484,11 @@ var ActionListSection = function ActionListSection(_ref) {
|
|
|
17427
17484
|
}));
|
|
17428
17485
|
};
|
|
17429
17486
|
|
|
17430
|
-
ActionListSection
|
|
17487
|
+
var ActionListSection = /*#__PURE__*/assignWithoutSideEffects(_ActionListSection, {
|
|
17488
|
+
componentId: componentIds$1.ActionListSection
|
|
17489
|
+
});
|
|
17431
17490
|
|
|
17432
|
-
var
|
|
17491
|
+
var _ActionListItemIcon = function _ActionListItemIcon(_ref2) {
|
|
17433
17492
|
var icon = _ref2.icon;
|
|
17434
17493
|
var Icon = icon;
|
|
17435
17494
|
|
|
@@ -17445,9 +17504,11 @@ var ActionListItemIcon = function ActionListItemIcon(_ref2) {
|
|
|
17445
17504
|
});
|
|
17446
17505
|
};
|
|
17447
17506
|
|
|
17448
|
-
ActionListItemIcon
|
|
17507
|
+
var ActionListItemIcon = /*#__PURE__*/assignWithoutSideEffects(_ActionListItemIcon, {
|
|
17508
|
+
componentId: componentIds$1.ActionListItemIcon
|
|
17509
|
+
});
|
|
17449
17510
|
|
|
17450
|
-
var
|
|
17511
|
+
var _ActionListItemText = function _ActionListItemText(_ref3) {
|
|
17451
17512
|
var children = _ref3.children;
|
|
17452
17513
|
|
|
17453
17514
|
var _React$useContext2 = React__default.useContext(ActionListItemContext),
|
|
@@ -17462,7 +17523,9 @@ var ActionListItemText = function ActionListItemText(_ref3) {
|
|
|
17462
17523
|
});
|
|
17463
17524
|
};
|
|
17464
17525
|
|
|
17465
|
-
ActionListItemText
|
|
17526
|
+
var ActionListItemText = /*#__PURE__*/assignWithoutSideEffects(_ActionListItemText, {
|
|
17527
|
+
componentId: componentIds$1.ActionListItemText
|
|
17528
|
+
});
|
|
17466
17529
|
var ActionListCheckboxWrapper = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
17467
17530
|
displayName: "ActionListItem__ActionListCheckboxWrapper",
|
|
17468
17531
|
componentId: "m6qdwa-2"
|
|
@@ -17505,7 +17568,7 @@ var makeActionListItemClickable = function makeActionListItemClickable(clickHand
|
|
|
17505
17568
|
*/
|
|
17506
17569
|
|
|
17507
17570
|
|
|
17508
|
-
var
|
|
17571
|
+
var _ActionListItem = function _ActionListItem(props) {
|
|
17509
17572
|
var _useDropdown = useDropdown(),
|
|
17510
17573
|
activeIndex = _useDropdown.activeIndex,
|
|
17511
17574
|
dropdownBaseId = _useDropdown.dropdownBaseId,
|
|
@@ -17631,7 +17694,9 @@ var ActionListItem = function ActionListItem(props) {
|
|
|
17631
17694
|
});
|
|
17632
17695
|
};
|
|
17633
17696
|
|
|
17634
|
-
ActionListItem
|
|
17697
|
+
var ActionListItem = /*#__PURE__*/assignWithoutSideEffects(_ActionListItem, {
|
|
17698
|
+
componentId: componentIds$1.ActionListItem
|
|
17699
|
+
});
|
|
17635
17700
|
|
|
17636
17701
|
function ownKeys$G(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; }
|
|
17637
17702
|
|
|
@@ -17668,7 +17733,7 @@ var StyledActionListHeader = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
|
17668
17733
|
* />
|
|
17669
17734
|
* ```
|
|
17670
17735
|
*/
|
|
17671
|
-
var
|
|
17736
|
+
var _ActionListHeader = function _ActionListHeader(props) {
|
|
17672
17737
|
React__default.useEffect(function () {
|
|
17673
17738
|
React__default.Children.map(props.leading, function (child) {
|
|
17674
17739
|
if (!isValidAllowedChildren(child, componentIds$1.ActionListHeaderIcon)) {
|
|
@@ -17694,9 +17759,11 @@ var ActionListHeader = function ActionListHeader(props) {
|
|
|
17694
17759
|
}));
|
|
17695
17760
|
};
|
|
17696
17761
|
|
|
17697
|
-
ActionListHeader
|
|
17762
|
+
var ActionListHeader = /*#__PURE__*/assignWithoutSideEffects(_ActionListHeader, {
|
|
17763
|
+
componentId: componentIds$1.ActionListHeader
|
|
17764
|
+
});
|
|
17698
17765
|
|
|
17699
|
-
var
|
|
17766
|
+
var _ActionListHeaderIcon = function _ActionListHeaderIcon(_ref) {
|
|
17700
17767
|
var icon = _ref.icon;
|
|
17701
17768
|
var Icon = icon;
|
|
17702
17769
|
return /*#__PURE__*/jsx(Icon, {
|
|
@@ -17705,7 +17772,9 @@ var ActionListHeaderIcon = function ActionListHeaderIcon(_ref) {
|
|
|
17705
17772
|
});
|
|
17706
17773
|
};
|
|
17707
17774
|
|
|
17708
|
-
ActionListHeaderIcon
|
|
17775
|
+
var ActionListHeaderIcon = /*#__PURE__*/assignWithoutSideEffects(_ActionListHeaderIcon, {
|
|
17776
|
+
componentId: componentIds$1.ActionListHeaderIcon
|
|
17777
|
+
});
|
|
17709
17778
|
|
|
17710
17779
|
function ownKeys$F(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; }
|
|
17711
17780
|
|
|
@@ -17744,7 +17813,7 @@ var StyledActionListFooter = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
|
17744
17813
|
* ```
|
|
17745
17814
|
*/
|
|
17746
17815
|
|
|
17747
|
-
var
|
|
17816
|
+
var _ActionListFooter = function _ActionListFooter(props) {
|
|
17748
17817
|
var footerRef = React__default.useRef(null);
|
|
17749
17818
|
|
|
17750
17819
|
var _useDropdown = useDropdown(),
|
|
@@ -17836,9 +17905,11 @@ var ActionListFooter = function ActionListFooter(props) {
|
|
|
17836
17905
|
}));
|
|
17837
17906
|
};
|
|
17838
17907
|
|
|
17839
|
-
ActionListFooter
|
|
17908
|
+
var ActionListFooter = /*#__PURE__*/assignWithoutSideEffects(_ActionListFooter, {
|
|
17909
|
+
componentId: componentIds$1.ActionListFooter
|
|
17910
|
+
});
|
|
17840
17911
|
|
|
17841
|
-
var
|
|
17912
|
+
var _ActionListFooterIcon = function _ActionListFooterIcon(_ref) {
|
|
17842
17913
|
var icon = _ref.icon;
|
|
17843
17914
|
var Icon = icon;
|
|
17844
17915
|
return /*#__PURE__*/jsx(Icon, {
|
|
@@ -17847,9 +17918,11 @@ var ActionListFooterIcon = function ActionListFooterIcon(_ref) {
|
|
|
17847
17918
|
});
|
|
17848
17919
|
};
|
|
17849
17920
|
|
|
17850
|
-
ActionListFooterIcon
|
|
17921
|
+
var ActionListFooterIcon = /*#__PURE__*/assignWithoutSideEffects(_ActionListFooterIcon, {
|
|
17922
|
+
componentId: componentIds$1.ActionListFooterIcon
|
|
17923
|
+
});
|
|
17851
17924
|
|
|
17852
|
-
var
|
|
17925
|
+
var _ActionListItemAsset = function _ActionListItemAsset(props) {
|
|
17853
17926
|
return /*#__PURE__*/jsx("img", {
|
|
17854
17927
|
src: props.src,
|
|
17855
17928
|
alt: props.alt,
|
|
@@ -17858,7 +17931,9 @@ var ActionListItemAsset = function ActionListItemAsset(props) {
|
|
|
17858
17931
|
});
|
|
17859
17932
|
};
|
|
17860
17933
|
|
|
17861
|
-
ActionListItemAsset
|
|
17934
|
+
var ActionListItemAsset = /*#__PURE__*/assignWithoutSideEffects(_ActionListItemAsset, {
|
|
17935
|
+
componentId: componentIds$1.ActionListItemAsset
|
|
17936
|
+
});
|
|
17862
17937
|
|
|
17863
17938
|
var MAX_WIDTH = size[584];
|
|
17864
17939
|
var getCommonStyles = function getCommonStyles(props) {
|
|
@@ -17879,7 +17954,8 @@ var getCommonStyles = function getCommonStyles(props) {
|
|
|
17879
17954
|
flexDirection: 'row',
|
|
17880
17955
|
maxWidth: isFullWidth ? 'auto' : makeSize(MAX_WIDTH),
|
|
17881
17956
|
width: isFullWidth ? '100%' : undefined,
|
|
17882
|
-
alignItems: isFullWidth && isDesktop ? 'center' : 'flex-start'
|
|
17957
|
+
alignItems: isFullWidth && isDesktop ? 'center' : 'flex-start',
|
|
17958
|
+
boxSizing: 'border-box'
|
|
17883
17959
|
};
|
|
17884
17960
|
};
|
|
17885
17961
|
|
|
@@ -18718,8 +18794,9 @@ var _BaseButton = function _BaseButton(_ref4, ref) {
|
|
|
18718
18794
|
}));
|
|
18719
18795
|
};
|
|
18720
18796
|
|
|
18721
|
-
var BaseButton = /*#__PURE__*/React__default.forwardRef(_BaseButton)
|
|
18722
|
-
|
|
18797
|
+
var BaseButton = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_BaseButton), {
|
|
18798
|
+
displayName: 'BaseButton'
|
|
18799
|
+
});
|
|
18723
18800
|
|
|
18724
18801
|
var getStyledLinkStyles = function getStyledLinkStyles(_ref) {
|
|
18725
18802
|
var cursor = _ref.cursor;
|
|
@@ -18856,7 +18933,7 @@ var getProps = function getProps(_ref2) {
|
|
|
18856
18933
|
isVisited: isVisited
|
|
18857
18934
|
}),
|
|
18858
18935
|
fontSize: size === 'medium' ? 100 : 75,
|
|
18859
|
-
lineHeight: size === 'medium' ? '
|
|
18936
|
+
lineHeight: size === 'medium' ? 'l' : 's',
|
|
18860
18937
|
iconSize: size,
|
|
18861
18938
|
iconPadding: children !== null && children !== void 0 && children.trim() ? 'spacing.2' : 'spacing.0',
|
|
18862
18939
|
textColor: getColorToken({
|
|
@@ -19137,7 +19214,7 @@ var Alert = function Alert(_ref) {
|
|
|
19137
19214
|
|
|
19138
19215
|
var primaryAction = actions !== null && actions !== void 0 && actions.primary ? /*#__PURE__*/jsx(BaseBox, {
|
|
19139
19216
|
marginRight: "spacing.5",
|
|
19140
|
-
display: isReactNative$3 ? 'flex' : 'inline-flex',
|
|
19217
|
+
display: isReactNative$3 ? castNativeType('flex') : castWebType('inline-flex'),
|
|
19141
19218
|
children: /*#__PURE__*/jsx(BaseButton, {
|
|
19142
19219
|
size: textSize,
|
|
19143
19220
|
onClick: actions.primary.onClick,
|
|
@@ -19164,7 +19241,7 @@ var Alert = function Alert(_ref) {
|
|
|
19164
19241
|
|
|
19165
19242
|
var secondaryAction = actions !== null && actions !== void 0 && actions.secondary ? /*#__PURE__*/jsx(BaseBox, {
|
|
19166
19243
|
marginRight: "spacing.4",
|
|
19167
|
-
display: isReactNative$3 ? 'flex' : 'inline-flex',
|
|
19244
|
+
display: isReactNative$3 ? castNativeType('flex') : castWebType('inline-flex'),
|
|
19168
19245
|
children: /*#__PURE__*/jsx(BaseLink, _objectSpread$y(_objectSpread$y({
|
|
19169
19246
|
size: textSize,
|
|
19170
19247
|
contrast: contrast,
|
|
@@ -19569,7 +19646,8 @@ var CardSurface = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
|
19569
19646
|
display: 'flex',
|
|
19570
19647
|
flexDirection: 'column',
|
|
19571
19648
|
boxShadow: "".concat(shadow1, ", ").concat(shadow2),
|
|
19572
|
-
backgroundColor: backgroundColor
|
|
19649
|
+
backgroundColor: backgroundColor,
|
|
19650
|
+
boxSizing: 'border-box'
|
|
19573
19651
|
};
|
|
19574
19652
|
});
|
|
19575
19653
|
|
|
@@ -19653,7 +19731,7 @@ var Card = function Card(_ref) {
|
|
|
19653
19731
|
});
|
|
19654
19732
|
};
|
|
19655
19733
|
|
|
19656
|
-
var
|
|
19734
|
+
var _CardBody = function _CardBody(_ref2) {
|
|
19657
19735
|
var children = _ref2.children,
|
|
19658
19736
|
testID = _ref2.testID;
|
|
19659
19737
|
useVerifyInsideCard('CardBody');
|
|
@@ -19665,7 +19743,9 @@ var CardBody = function CardBody(_ref2) {
|
|
|
19665
19743
|
}));
|
|
19666
19744
|
};
|
|
19667
19745
|
|
|
19668
|
-
CardBody
|
|
19746
|
+
var CardBody = /*#__PURE__*/assignWithoutSideEffects(_CardBody, {
|
|
19747
|
+
componentId: ComponentIds$1.CardBody
|
|
19748
|
+
});
|
|
19669
19749
|
|
|
19670
19750
|
var _excluded$h = ["children", "icon", "iconPosition", "isDisabled", "onClick", "variant", "href", "target", "rel", "accessibilityLabel", "size", "testID", "hitSlop"];
|
|
19671
19751
|
|
|
@@ -19764,8 +19844,9 @@ var _Button = function _Button(_ref, ref) {
|
|
|
19764
19844
|
}));
|
|
19765
19845
|
};
|
|
19766
19846
|
|
|
19767
|
-
var Button = /*#__PURE__*/React__default.forwardRef(_Button)
|
|
19768
|
-
|
|
19847
|
+
var Button = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_Button), {
|
|
19848
|
+
displayName: 'Button'
|
|
19849
|
+
});
|
|
19769
19850
|
|
|
19770
19851
|
var Divider = /*#__PURE__*/styled.div.withConfig({
|
|
19771
19852
|
displayName: "Dividerweb__Divider",
|
|
@@ -19913,7 +19994,7 @@ function ownKeys$p(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
19913
19994
|
|
|
19914
19995
|
function _objectSpread$p(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$p(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19915
19996
|
|
|
19916
|
-
var
|
|
19997
|
+
var _CardHeaderIcon = function _CardHeaderIcon(_ref) {
|
|
19917
19998
|
var Icon = _ref.icon;
|
|
19918
19999
|
useVerifyInsideCard('CardHeaderIcon');
|
|
19919
20000
|
return /*#__PURE__*/jsx(Icon, {
|
|
@@ -19922,37 +20003,47 @@ var CardHeaderIcon = function CardHeaderIcon(_ref) {
|
|
|
19922
20003
|
});
|
|
19923
20004
|
};
|
|
19924
20005
|
|
|
19925
|
-
CardHeaderIcon
|
|
20006
|
+
var CardHeaderIcon = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderIcon, {
|
|
20007
|
+
componentId: ComponentIds$1.CardHeaderIcon
|
|
20008
|
+
});
|
|
19926
20009
|
|
|
19927
|
-
var
|
|
20010
|
+
var _CardHeaderCounter = function _CardHeaderCounter(props) {
|
|
19928
20011
|
useVerifyInsideCard('CardHeaderCounter');
|
|
19929
20012
|
return /*#__PURE__*/jsx(Counter, _objectSpread$p({}, props));
|
|
19930
20013
|
};
|
|
19931
20014
|
|
|
19932
|
-
CardHeaderCounter
|
|
20015
|
+
var CardHeaderCounter = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderCounter, {
|
|
20016
|
+
componentId: ComponentIds$1.CardHeaderCounter
|
|
20017
|
+
});
|
|
19933
20018
|
|
|
19934
|
-
var
|
|
20019
|
+
var _CardHeaderBadge = function _CardHeaderBadge(props) {
|
|
19935
20020
|
useVerifyInsideCard('CardHeaderBadge');
|
|
19936
20021
|
return /*#__PURE__*/jsx(Badge, _objectSpread$p({}, props));
|
|
19937
20022
|
};
|
|
19938
20023
|
|
|
19939
|
-
CardHeaderBadge
|
|
20024
|
+
var CardHeaderBadge = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderBadge, {
|
|
20025
|
+
componentId: ComponentIds$1.CardHeaderBadge
|
|
20026
|
+
});
|
|
19940
20027
|
|
|
19941
|
-
var
|
|
20028
|
+
var _CardHeaderText = function _CardHeaderText(props) {
|
|
19942
20029
|
useVerifyInsideCard('CardHeaderText');
|
|
19943
20030
|
return /*#__PURE__*/jsx(Text, _objectSpread$p({}, props));
|
|
19944
20031
|
};
|
|
19945
20032
|
|
|
19946
|
-
CardHeaderText
|
|
20033
|
+
var CardHeaderText = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderText, {
|
|
20034
|
+
componentId: ComponentIds$1.CardHeaderText
|
|
20035
|
+
});
|
|
19947
20036
|
|
|
19948
|
-
var
|
|
20037
|
+
var _CardHeaderLink = function _CardHeaderLink(props) {
|
|
19949
20038
|
useVerifyInsideCard('CardHeaderLink');
|
|
19950
20039
|
return /*#__PURE__*/jsx(Link, _objectSpread$p({}, props));
|
|
19951
20040
|
};
|
|
19952
20041
|
|
|
19953
|
-
CardHeaderLink
|
|
20042
|
+
var CardHeaderLink = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderLink, {
|
|
20043
|
+
componentId: ComponentIds$1.CardHeaderLink
|
|
20044
|
+
});
|
|
19954
20045
|
|
|
19955
|
-
var
|
|
20046
|
+
var _CardHeaderIconButton = function _CardHeaderIconButton(props) {
|
|
19956
20047
|
useVerifyInsideCard('CardHeaderIconButton');
|
|
19957
20048
|
return /*#__PURE__*/jsx(BaseBox, {
|
|
19958
20049
|
width: makeSpace(minHeight.xsmall),
|
|
@@ -19965,9 +20056,11 @@ var CardHeaderIconButton = function CardHeaderIconButton(props) {
|
|
|
19965
20056
|
});
|
|
19966
20057
|
};
|
|
19967
20058
|
|
|
19968
|
-
CardHeaderIconButton
|
|
20059
|
+
var CardHeaderIconButton = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderIconButton, {
|
|
20060
|
+
componentId: ComponentIds$1.CardHeaderIconButton
|
|
20061
|
+
});
|
|
19969
20062
|
|
|
19970
|
-
var
|
|
20063
|
+
var _CardHeader = function _CardHeader(_ref2) {
|
|
19971
20064
|
var children = _ref2.children,
|
|
19972
20065
|
testID = _ref2.testID;
|
|
19973
20066
|
useVerifyInsideCard('CardHeader');
|
|
@@ -19988,9 +20081,11 @@ var CardHeader = function CardHeader(_ref2) {
|
|
|
19988
20081
|
}));
|
|
19989
20082
|
};
|
|
19990
20083
|
|
|
19991
|
-
CardHeader
|
|
20084
|
+
var CardHeader = /*#__PURE__*/assignWithoutSideEffects(_CardHeader, {
|
|
20085
|
+
componentId: ComponentIds$1.CardHeader
|
|
20086
|
+
});
|
|
19992
20087
|
|
|
19993
|
-
var
|
|
20088
|
+
var _CardHeaderLeading = function _CardHeaderLeading(_ref3) {
|
|
19994
20089
|
var title = _ref3.title,
|
|
19995
20090
|
subtitle = _ref3.subtitle,
|
|
19996
20091
|
prefix = _ref3.prefix,
|
|
@@ -20039,10 +20134,12 @@ var CardHeaderLeading = function CardHeaderLeading(_ref3) {
|
|
|
20039
20134
|
});
|
|
20040
20135
|
};
|
|
20041
20136
|
|
|
20042
|
-
CardHeaderLeading
|
|
20137
|
+
var CardHeaderLeading = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderLeading, {
|
|
20138
|
+
componentId: ComponentIds$1.CardHeaderLeading
|
|
20139
|
+
});
|
|
20043
20140
|
var headerTrailingAllowedComponents = [ComponentIds$1.CardHeaderLink, ComponentIds$1.CardHeaderText, ComponentIds$1.CardHeaderIconButton, ComponentIds$1.CardHeaderBadge];
|
|
20044
20141
|
|
|
20045
|
-
var
|
|
20142
|
+
var _CardHeaderTrailing = function _CardHeaderTrailing(_ref4) {
|
|
20046
20143
|
var visual = _ref4.visual;
|
|
20047
20144
|
useVerifyInsideCard('CardHeaderTrailing');
|
|
20048
20145
|
|
|
@@ -20056,7 +20153,9 @@ var CardHeaderTrailing = function CardHeaderTrailing(_ref4) {
|
|
|
20056
20153
|
});
|
|
20057
20154
|
};
|
|
20058
20155
|
|
|
20059
|
-
CardHeaderTrailing
|
|
20156
|
+
var CardHeaderTrailing = /*#__PURE__*/assignWithoutSideEffects(_CardHeaderTrailing, {
|
|
20157
|
+
componentId: ComponentIds$1.CardHeaderTrailing
|
|
20158
|
+
});
|
|
20060
20159
|
|
|
20061
20160
|
function ownKeys$o(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; }
|
|
20062
20161
|
|
|
@@ -20074,7 +20173,7 @@ var useIsMobile = function useIsMobile() {
|
|
|
20074
20173
|
return matchedDeviceType === 'mobile';
|
|
20075
20174
|
};
|
|
20076
20175
|
|
|
20077
|
-
var
|
|
20176
|
+
var _CardFooter = function _CardFooter(_ref) {
|
|
20078
20177
|
var children = _ref.children,
|
|
20079
20178
|
testID = _ref.testID;
|
|
20080
20179
|
var isMobile = useIsMobile();
|
|
@@ -20099,9 +20198,11 @@ var CardFooter = function CardFooter(_ref) {
|
|
|
20099
20198
|
}));
|
|
20100
20199
|
};
|
|
20101
20200
|
|
|
20102
|
-
CardFooter
|
|
20201
|
+
var CardFooter = /*#__PURE__*/assignWithoutSideEffects(_CardFooter, {
|
|
20202
|
+
componentId: ComponentIds$1.CardFooter
|
|
20203
|
+
});
|
|
20103
20204
|
|
|
20104
|
-
var
|
|
20205
|
+
var _CardFooterLeading = function _CardFooterLeading(_ref2) {
|
|
20105
20206
|
var title = _ref2.title,
|
|
20106
20207
|
subtitle = _ref2.subtitle;
|
|
20107
20208
|
useVerifyInsideCard('CardFooterLeading');
|
|
@@ -20120,9 +20221,11 @@ var CardFooterLeading = function CardFooterLeading(_ref2) {
|
|
|
20120
20221
|
});
|
|
20121
20222
|
};
|
|
20122
20223
|
|
|
20123
|
-
CardFooterLeading
|
|
20224
|
+
var CardFooterLeading = /*#__PURE__*/assignWithoutSideEffects(_CardFooterLeading, {
|
|
20225
|
+
componentId: ComponentIds$1.CardFooterLeading
|
|
20226
|
+
});
|
|
20124
20227
|
|
|
20125
|
-
var
|
|
20228
|
+
var _CardFooterTrailing = function _CardFooterTrailing(_ref3) {
|
|
20126
20229
|
var actions = _ref3.actions;
|
|
20127
20230
|
var isMobile = useIsMobile();
|
|
20128
20231
|
useVerifyInsideCard('CardFooterTrailing');
|
|
@@ -20155,7 +20258,9 @@ var CardFooterTrailing = function CardFooterTrailing(_ref3) {
|
|
|
20155
20258
|
});
|
|
20156
20259
|
};
|
|
20157
20260
|
|
|
20158
|
-
CardFooterTrailing
|
|
20261
|
+
var CardFooterTrailing = /*#__PURE__*/assignWithoutSideEffects(_CardFooterTrailing, {
|
|
20262
|
+
componentId: ComponentIds$1.CardFooterTrailing
|
|
20263
|
+
});
|
|
20159
20264
|
|
|
20160
20265
|
var _excluded$e = ["children", "selectionType"];
|
|
20161
20266
|
|
|
@@ -20189,7 +20294,7 @@ function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) {
|
|
|
20189
20294
|
*
|
|
20190
20295
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-select--with-single-select Dropdown Documentation}
|
|
20191
20296
|
*/
|
|
20192
|
-
var
|
|
20297
|
+
var _Dropdown = function _Dropdown(_ref) {
|
|
20193
20298
|
var children = _ref.children,
|
|
20194
20299
|
_ref$selectionType = _ref.selectionType,
|
|
20195
20300
|
selectionType = _ref$selectionType === void 0 ? 'single' : _ref$selectionType,
|
|
@@ -20294,7 +20399,9 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
20294
20399
|
});
|
|
20295
20400
|
};
|
|
20296
20401
|
|
|
20297
|
-
Dropdown
|
|
20402
|
+
var Dropdown = /*#__PURE__*/assignWithoutSideEffects(_Dropdown, {
|
|
20403
|
+
componentId: componentIds.Dropdown
|
|
20404
|
+
});
|
|
20298
20405
|
|
|
20299
20406
|
var root = _root;
|
|
20300
20407
|
|
|
@@ -20705,7 +20812,7 @@ var StyledDropdownOverlay = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
|
20705
20812
|
*
|
|
20706
20813
|
* Wrap your ActionList within this component
|
|
20707
20814
|
*/
|
|
20708
|
-
var
|
|
20815
|
+
var _DropdownOverlay = function _DropdownOverlay(_ref) {
|
|
20709
20816
|
var children = _ref.children,
|
|
20710
20817
|
testID = _ref.testID;
|
|
20711
20818
|
|
|
@@ -20772,7 +20879,7 @@ var DropdownOverlay = function DropdownOverlay(_ref) {
|
|
|
20772
20879
|
style: {
|
|
20773
20880
|
opacity: isOpen ? 1 : 0
|
|
20774
20881
|
},
|
|
20775
|
-
display: display,
|
|
20882
|
+
display: castWebType(display),
|
|
20776
20883
|
right: "0px",
|
|
20777
20884
|
position: "absolute",
|
|
20778
20885
|
transition: isOpen ? fadeIn : fadeOut,
|
|
@@ -20792,7 +20899,9 @@ var DropdownOverlay = function DropdownOverlay(_ref) {
|
|
|
20792
20899
|
});
|
|
20793
20900
|
};
|
|
20794
20901
|
|
|
20795
|
-
DropdownOverlay
|
|
20902
|
+
var DropdownOverlay = /*#__PURE__*/assignWithoutSideEffects(_DropdownOverlay, {
|
|
20903
|
+
componentId: componentIds.DropdownOverlay
|
|
20904
|
+
});
|
|
20796
20905
|
|
|
20797
20906
|
function ownKeys$l(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; }
|
|
20798
20907
|
|
|
@@ -21155,7 +21264,8 @@ var autoCompleteSuggestionTypeMap = {
|
|
|
21155
21264
|
creditCardExpiryMonth: 'cc-exp-month',
|
|
21156
21265
|
creditCardExpiryYear: 'cc-exp-year'
|
|
21157
21266
|
};
|
|
21158
|
-
|
|
21267
|
+
|
|
21268
|
+
var _StyledBaseInput = function _StyledBaseInput(_ref, ref) {
|
|
21159
21269
|
var name = _ref.name,
|
|
21160
21270
|
isDisabled = _ref.isDisabled,
|
|
21161
21271
|
isRequired = _ref.isRequired,
|
|
@@ -21247,8 +21357,11 @@ var StyledBaseInput = /*#__PURE__*/React__default.forwardRef(function (_ref, ref
|
|
|
21247
21357
|
},
|
|
21248
21358
|
autoCapitalize: autoCapitalize
|
|
21249
21359
|
}, commonProps), props), accessibilityProps));
|
|
21360
|
+
};
|
|
21361
|
+
|
|
21362
|
+
var StyledBaseInput = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_StyledBaseInput), {
|
|
21363
|
+
displayName: 'StyledBaseInput'
|
|
21250
21364
|
});
|
|
21251
|
-
StyledBaseInput.displayName = 'StyledBaseInput';
|
|
21252
21365
|
|
|
21253
21366
|
var scaleBorder = /*#__PURE__*/keyframes(["from{transform:scaleX(0);transform-origin:left;opacity:0;}to{transform:scaleX(1);transform-origin:left;opacity:1;}"]);
|
|
21254
21367
|
var fadeOutBorder = /*#__PURE__*/keyframes(["from{opacity:1}to{opacity:0}"]);
|
|
@@ -22062,8 +22175,9 @@ var _TextInput = function _TextInput(_ref2, ref) {
|
|
|
22062
22175
|
})), styledProps));
|
|
22063
22176
|
};
|
|
22064
22177
|
|
|
22065
|
-
var TextInput = /*#__PURE__*/React__default.forwardRef(_TextInput)
|
|
22066
|
-
|
|
22178
|
+
var TextInput = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_TextInput), {
|
|
22179
|
+
displayName: 'TextInput'
|
|
22180
|
+
});
|
|
22067
22181
|
|
|
22068
22182
|
var _excluded$8 = ["label", "labelPosition", "showRevealButton", "maxCharacters", "validationState", "errorText", "successText", "helpText", "isDisabled", "defaultValue", "placeholder", "isRequired", "necessityIndicator", "value", "onChange", "onFocus", "onBlur", "onSubmit", "name", "autoFocus", "keyboardReturnKeyType", "autoCompleteSuggestionType", "testID"];
|
|
22069
22183
|
|
|
@@ -22176,11 +22290,12 @@ var _PasswordInput = function _PasswordInput(_ref, ref) {
|
|
|
22176
22290
|
autoCapitalize: "none",
|
|
22177
22291
|
testID: testID
|
|
22178
22292
|
}, styledProps));
|
|
22179
|
-
};
|
|
22293
|
+
}; // nosemgrep
|
|
22180
22294
|
|
|
22181
|
-
var PasswordInput = /*#__PURE__*/React__default.forwardRef(_PasswordInput); // nosemgrep
|
|
22182
22295
|
|
|
22183
|
-
PasswordInput
|
|
22296
|
+
var PasswordInput = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_PasswordInput), {
|
|
22297
|
+
displayName: 'PasswordInput'
|
|
22298
|
+
});
|
|
22184
22299
|
|
|
22185
22300
|
var _excluded$7 = ["label", "labelPosition", "necessityIndicator", "errorText", "helpText", "successText", "validationState", "defaultValue", "isDisabled", "isRequired", "name", "onChange", "onFocus", "onBlur", "onSubmit", "placeholder", "value", "maxCharacters", "showClearButton", "onClearButtonClick", "autoFocus", "numberOfLines", "testID"];
|
|
22186
22301
|
|
|
@@ -22326,8 +22441,9 @@ var _TextArea = function _TextArea(_ref, ref) {
|
|
|
22326
22441
|
}, styledProps));
|
|
22327
22442
|
};
|
|
22328
22443
|
|
|
22329
|
-
var TextArea = /*#__PURE__*/React__default.forwardRef(_TextArea)
|
|
22330
|
-
|
|
22444
|
+
var TextArea = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_TextArea), {
|
|
22445
|
+
displayName: 'TextArea'
|
|
22446
|
+
});
|
|
22331
22447
|
|
|
22332
22448
|
var _excluded$6 = ["autoFocus", "errorText", "helpText", "isDisabled", "keyboardReturnKeyType", "keyboardType", "label", "labelPosition", "name", "onChange", "onFocus", "onBlur", "onOTPFilled", "otpLength", "placeholder", "successText", "validationState", "value", "isMasked", "autoCompleteSuggestionType", "testID"];
|
|
22333
22449
|
|
|
@@ -22848,9 +22964,9 @@ var _SelectInput = function _SelectInput(props, ref) {
|
|
|
22848
22964
|
*/
|
|
22849
22965
|
|
|
22850
22966
|
|
|
22851
|
-
var SelectInput = /*#__PURE__*/React__default.forwardRef(_SelectInput)
|
|
22852
|
-
|
|
22853
|
-
|
|
22967
|
+
var SelectInput = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_SelectInput), {
|
|
22968
|
+
componentId: 'SelectInput'
|
|
22969
|
+
});
|
|
22854
22970
|
|
|
22855
22971
|
var _excluded$4 = ["accessibilityLabel", "children", "size", "intent", "testID"];
|
|
22856
22972
|
|
|
@@ -23130,7 +23246,7 @@ var StyledUnorderedList = /*#__PURE__*/styled(UnorderedList).withConfig({
|
|
|
23130
23246
|
* ```
|
|
23131
23247
|
*/
|
|
23132
23248
|
|
|
23133
|
-
var
|
|
23249
|
+
var _List = function _List(_ref3) {
|
|
23134
23250
|
var _ref3$variant = _ref3.variant,
|
|
23135
23251
|
variant = _ref3$variant === void 0 ? 'unordered' : _ref3$variant,
|
|
23136
23252
|
size = _ref3.size,
|
|
@@ -23183,7 +23299,9 @@ var List = function List(_ref3) {
|
|
|
23183
23299
|
});
|
|
23184
23300
|
};
|
|
23185
23301
|
|
|
23186
|
-
List
|
|
23302
|
+
var List = /*#__PURE__*/assignWithoutSideEffects(_List, {
|
|
23303
|
+
componentId: ComponentIds.List
|
|
23304
|
+
});
|
|
23187
23305
|
|
|
23188
23306
|
var UnorderedLevel1Icon = function UnorderedLevel1Icon(_ref) {
|
|
23189
23307
|
var iconDimensions = _ref.iconDimensions,
|
|
@@ -23364,11 +23482,40 @@ var StyledListItem = /*#__PURE__*/styled(ListItemElement).withConfig({
|
|
|
23364
23482
|
};
|
|
23365
23483
|
});
|
|
23366
23484
|
|
|
23367
|
-
var
|
|
23485
|
+
var ListItemContentChildren = function ListItemContentChildren(_ref2) {
|
|
23368
23486
|
var children = _ref2.children,
|
|
23369
|
-
|
|
23370
|
-
|
|
23371
|
-
|
|
23487
|
+
size = _ref2.size;
|
|
23488
|
+
|
|
23489
|
+
/* Having a <View><Text>...</Text><View/> inside <Text /> breaks vertical alignment. Issue: https://github.com/facebook/react-native/issues/31955
|
|
23490
|
+
As a workaround, we wrap individual strings in their own <Text /> and handle alignment with a parent <View> (BaseBox).
|
|
23491
|
+
*/
|
|
23492
|
+
return getPlatformType() === 'react-native' ? /*#__PURE__*/jsx(BaseBox, {
|
|
23493
|
+
display: "flex",
|
|
23494
|
+
flexDirection: "row",
|
|
23495
|
+
flexWrap: "wrap",
|
|
23496
|
+
children: children.map(function (child) {
|
|
23497
|
+
if (typeof child === 'string') {
|
|
23498
|
+
return /*#__PURE__*/jsx(Text, {
|
|
23499
|
+
variant: "body",
|
|
23500
|
+
size: size,
|
|
23501
|
+
children: child
|
|
23502
|
+
});
|
|
23503
|
+
}
|
|
23504
|
+
|
|
23505
|
+
return child;
|
|
23506
|
+
})
|
|
23507
|
+
}) : /*#__PURE__*/jsx(Text, {
|
|
23508
|
+
variant: "body",
|
|
23509
|
+
size: size,
|
|
23510
|
+
children: children
|
|
23511
|
+
});
|
|
23512
|
+
};
|
|
23513
|
+
|
|
23514
|
+
var _ListItem = function _ListItem(_ref3) {
|
|
23515
|
+
var children = _ref3.children,
|
|
23516
|
+
Icon = _ref3.icon,
|
|
23517
|
+
_itemNumber = _ref3._itemNumber,
|
|
23518
|
+
testID = _ref3.testID;
|
|
23372
23519
|
|
|
23373
23520
|
var _useListContext = useListContext(),
|
|
23374
23521
|
level = _useListContext.level,
|
|
@@ -23447,8 +23594,7 @@ var ListItem = function ListItem(_ref2) {
|
|
|
23447
23594
|
level: level !== null && level !== void 0 ? level : 1
|
|
23448
23595
|
})).concat(variant === 'ordered' ? '.' : '')
|
|
23449
23596
|
})
|
|
23450
|
-
}), /*#__PURE__*/jsx(
|
|
23451
|
-
variant: "body",
|
|
23597
|
+
}), /*#__PURE__*/jsx(ListItemContentChildren, {
|
|
23452
23598
|
size: size,
|
|
23453
23599
|
children: validChildItem
|
|
23454
23600
|
})]
|
|
@@ -23456,13 +23602,15 @@ var ListItem = function ListItem(_ref2) {
|
|
|
23456
23602
|
}));
|
|
23457
23603
|
};
|
|
23458
23604
|
|
|
23459
|
-
ListItem
|
|
23605
|
+
var ListItem = /*#__PURE__*/assignWithoutSideEffects(_ListItem, {
|
|
23606
|
+
componentId: 'ListItem'
|
|
23607
|
+
});
|
|
23460
23608
|
|
|
23461
23609
|
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; }
|
|
23462
23610
|
|
|
23463
23611
|
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; }
|
|
23464
23612
|
|
|
23465
|
-
var
|
|
23613
|
+
var _ListItemLink = function _ListItemLink(_ref) {
|
|
23466
23614
|
var accessibilityLabel = _ref.accessibilityLabel,
|
|
23467
23615
|
children = _ref.children,
|
|
23468
23616
|
href = _ref.href,
|
|
@@ -23495,9 +23643,11 @@ var ListItemLink = function ListItemLink(_ref) {
|
|
|
23495
23643
|
}));
|
|
23496
23644
|
};
|
|
23497
23645
|
|
|
23498
|
-
ListItemLink
|
|
23646
|
+
var ListItemLink = /*#__PURE__*/assignWithoutSideEffects(_ListItemLink, {
|
|
23647
|
+
componentId: 'ListItemLink'
|
|
23648
|
+
});
|
|
23499
23649
|
|
|
23500
|
-
var
|
|
23650
|
+
var _ListItemCode = function _ListItemCode(_ref) {
|
|
23501
23651
|
var children = _ref.children,
|
|
23502
23652
|
testID = _ref.testID;
|
|
23503
23653
|
|
|
@@ -23511,7 +23661,9 @@ var ListItemCode = function ListItemCode(_ref) {
|
|
|
23511
23661
|
});
|
|
23512
23662
|
};
|
|
23513
23663
|
|
|
23514
|
-
ListItemCode
|
|
23664
|
+
var ListItemCode = /*#__PURE__*/assignWithoutSideEffects(_ListItemCode, {
|
|
23665
|
+
componentId: 'ListItemCode'
|
|
23666
|
+
});
|
|
23515
23667
|
|
|
23516
23668
|
/**
|
|
23517
23669
|
* The base implementation of `_.clamp` which doesn't coerce arguments.
|
|
@@ -24349,8 +24501,9 @@ var _Radio = function _Radio(_ref, ref) {
|
|
|
24349
24501
|
}));
|
|
24350
24502
|
};
|
|
24351
24503
|
|
|
24352
|
-
var Radio = /*#__PURE__*/React__default.forwardRef(_Radio)
|
|
24353
|
-
|
|
24504
|
+
var Radio = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_Radio), {
|
|
24505
|
+
displayName: 'Radio'
|
|
24506
|
+
});
|
|
24354
24507
|
|
|
24355
24508
|
var useRadioGroup = function useRadioGroup(_ref) {
|
|
24356
24509
|
var value = _ref.value,
|