@app-studio/web 0.7.17 → 0.8.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/dist/components/Form/Password/Password/Password.state.d.ts +2 -2
- package/dist/web.cjs.development.js +97 -90
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +97 -90
- package/dist/web.esm.js.map +1 -1
- package/package.json +3 -6
- package/dist/GlobalStyle.d.ts +0 -3
- package/dist/StyleGuideWrapper.d.ts +0 -6
|
@@ -30,10 +30,10 @@ export declare const usePasswordState: (props: PasswordProps) => {
|
|
|
30
30
|
onClick?: (() => void) | undefined;
|
|
31
31
|
onFocus?: (() => void) | undefined;
|
|
32
32
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
33
|
-
shadow?: import("app-studio").Shadow | import("../../../../utils/elevation").Elevation |
|
|
33
|
+
shadow?: import("react").CSSProperties | import("app-studio").Shadow | import("../../../../utils/elevation").Elevation | undefined;
|
|
34
34
|
shape?: "default" | "sharp" | "rounded" | "pillShaped" | undefined;
|
|
35
35
|
styles?: import("../../TextField/TextField/TextField.type").TextFieldStyles | undefined;
|
|
36
|
-
variant?: "
|
|
36
|
+
variant?: "outline" | "default" | "none" | undefined;
|
|
37
37
|
isVisible: boolean;
|
|
38
38
|
setIsVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
39
39
|
};
|
|
@@ -8,8 +8,6 @@ var React = require('react');
|
|
|
8
8
|
var React__default = _interopDefault(React);
|
|
9
9
|
var appStudio = require('app-studio');
|
|
10
10
|
var reactRouterDom = require('react-router-dom');
|
|
11
|
-
var Horizontal$1 = require('src/components/Layout/Horizontal/Horizontal');
|
|
12
|
-
var Vertical$1 = require('src/components/Layout/Vertical/Vertical');
|
|
13
11
|
var format = _interopDefault(require('date-fns/format'));
|
|
14
12
|
var formik = require('formik');
|
|
15
13
|
var zustand = require('zustand');
|
|
@@ -721,7 +719,7 @@ var AlertView = function AlertView(_ref) {
|
|
|
721
719
|
borderWidth: 1,
|
|
722
720
|
borderStyle: "solid",
|
|
723
721
|
padding: 16,
|
|
724
|
-
|
|
722
|
+
flexWrap: "nowrap",
|
|
725
723
|
borderColor: Themes[variant].container.border
|
|
726
724
|
}, styles == null ? void 0 : styles.container), React__default.createElement(View, {
|
|
727
725
|
alignSelf: 'center'
|
|
@@ -1084,7 +1082,7 @@ var LinkView = function LinkView(_ref) {
|
|
|
1084
1082
|
}, styles.text, props), React__default.createElement(Horizontal, {
|
|
1085
1083
|
gap: 3,
|
|
1086
1084
|
alignItems: "center",
|
|
1087
|
-
|
|
1085
|
+
flexWrap: "nowrap"
|
|
1088
1086
|
}, children, isExternal && React__default.createElement(ExternalLinkSvg, {
|
|
1089
1087
|
size: IconSizes[iconSize],
|
|
1090
1088
|
style: styles.icon
|
|
@@ -1449,6 +1447,11 @@ var ButtonView = function ButtonView(_ref) {
|
|
|
1449
1447
|
_ref$setIsHovered = _ref.setIsHovered,
|
|
1450
1448
|
setIsHovered = _ref$setIsHovered === void 0 ? function () {} : _ref$setIsHovered,
|
|
1451
1449
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
1450
|
+
console.log({
|
|
1451
|
+
button: props,
|
|
1452
|
+
size: size,
|
|
1453
|
+
isDisabled: isDisabled
|
|
1454
|
+
});
|
|
1452
1455
|
var _useTheme = appStudio.useTheme(),
|
|
1453
1456
|
getColor = _useTheme.getColor;
|
|
1454
1457
|
var handleHover = function handleHover() {
|
|
@@ -1752,7 +1755,7 @@ var FieldContent = function FieldContent(_ref) {
|
|
|
1752
1755
|
gap: 10,
|
|
1753
1756
|
width: "100%",
|
|
1754
1757
|
display: "flex",
|
|
1755
|
-
|
|
1758
|
+
flexWrap: "nowrap",
|
|
1756
1759
|
borderStyle: "solid",
|
|
1757
1760
|
alignItems: "center",
|
|
1758
1761
|
borderColor: color,
|
|
@@ -1774,7 +1777,7 @@ var FieldIcons = function FieldIcons(_ref) {
|
|
|
1774
1777
|
gap: 10,
|
|
1775
1778
|
right: 16,
|
|
1776
1779
|
zIndex: 500,
|
|
1777
|
-
|
|
1780
|
+
flexWrap: "nowrap",
|
|
1778
1781
|
position: "absolute"
|
|
1779
1782
|
}, props), children);
|
|
1780
1783
|
};
|
|
@@ -3052,9 +3055,9 @@ var CheckboxView = function CheckboxView(_ref) {
|
|
|
3052
3055
|
onMouseEnter: handleHover,
|
|
3053
3056
|
onMouseLeave: handleHover,
|
|
3054
3057
|
size: appStudio.Typography.fontSizes[size]
|
|
3055
|
-
}, checkboxStyle.container, props), React__default.createElement(Vertical
|
|
3058
|
+
}, checkboxStyle.container, props), React__default.createElement(Vertical, {
|
|
3056
3059
|
gap: 8
|
|
3057
|
-
}, React__default.createElement(Horizontal
|
|
3060
|
+
}, React__default.createElement(Horizontal, {
|
|
3058
3061
|
gap: 10,
|
|
3059
3062
|
alignItems: "center"
|
|
3060
3063
|
}, labelPosition === 'left' && label && React__default.createElement(Text, Object.assign({
|
|
@@ -4573,8 +4576,11 @@ var IconSizes$4 = {
|
|
|
4573
4576
|
xl: 16
|
|
4574
4577
|
};
|
|
4575
4578
|
|
|
4576
|
-
var _excluded$w = ["
|
|
4577
|
-
|
|
4579
|
+
var _excluded$w = ["size"],
|
|
4580
|
+
_excluded2$3 = ["size"],
|
|
4581
|
+
_excluded3$2 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "colorScheme", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "styles"];
|
|
4582
|
+
var CountryList = function CountryList(_ref) {
|
|
4583
|
+
var props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
4578
4584
|
return React__default.createElement(appStudio.Element, Object.assign({
|
|
4579
4585
|
as: "ul"
|
|
4580
4586
|
}, props));
|
|
@@ -4584,21 +4590,22 @@ var CountrySelector = function CountrySelector(props) {
|
|
|
4584
4590
|
type: "country"
|
|
4585
4591
|
}, props));
|
|
4586
4592
|
};
|
|
4587
|
-
var CountryItem = function CountryItem(
|
|
4593
|
+
var CountryItem = function CountryItem(_ref2) {
|
|
4594
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
4588
4595
|
return React__default.createElement(appStudio.Element, Object.assign({
|
|
4589
4596
|
as: "li"
|
|
4590
4597
|
}, props));
|
|
4591
4598
|
};
|
|
4592
|
-
var DropDownItem = function DropDownItem(
|
|
4593
|
-
var option =
|
|
4594
|
-
|
|
4595
|
-
size =
|
|
4596
|
-
|
|
4597
|
-
callback =
|
|
4598
|
-
|
|
4599
|
-
styles =
|
|
4599
|
+
var DropDownItem = function DropDownItem(_ref3) {
|
|
4600
|
+
var option = _ref3.option,
|
|
4601
|
+
_ref3$size = _ref3.size,
|
|
4602
|
+
size = _ref3$size === void 0 ? 'md' : _ref3$size,
|
|
4603
|
+
_ref3$callback = _ref3.callback,
|
|
4604
|
+
callback = _ref3$callback === void 0 ? function () {} : _ref3$callback,
|
|
4605
|
+
_ref3$styles = _ref3.styles,
|
|
4606
|
+
styles = _ref3$styles === void 0 ? {
|
|
4600
4607
|
text: {}
|
|
4601
|
-
} :
|
|
4608
|
+
} : _ref3$styles;
|
|
4602
4609
|
var _useState = React.useState(false),
|
|
4603
4610
|
isHovered = _useState[0],
|
|
4604
4611
|
setIsHovered = _useState[1];
|
|
@@ -4622,15 +4629,15 @@ var DropDownItem = function DropDownItem(_ref) {
|
|
|
4622
4629
|
backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
|
|
4623
4630
|
}, styles['text']), option);
|
|
4624
4631
|
};
|
|
4625
|
-
var DropDown$1 = function DropDown(
|
|
4626
|
-
var size =
|
|
4627
|
-
|
|
4628
|
-
styles =
|
|
4632
|
+
var DropDown$1 = function DropDown(_ref4) {
|
|
4633
|
+
var size = _ref4.size,
|
|
4634
|
+
_ref4$styles = _ref4.styles,
|
|
4635
|
+
styles = _ref4$styles === void 0 ? {
|
|
4629
4636
|
dropDown: {}
|
|
4630
|
-
} :
|
|
4631
|
-
options =
|
|
4632
|
-
|
|
4633
|
-
callback =
|
|
4637
|
+
} : _ref4$styles,
|
|
4638
|
+
options = _ref4.options,
|
|
4639
|
+
_ref4$callback = _ref4.callback,
|
|
4640
|
+
callback = _ref4$callback === void 0 ? function () {} : _ref4$callback;
|
|
4634
4641
|
var handleCallback = function handleCallback(option) {
|
|
4635
4642
|
return callback(option);
|
|
4636
4643
|
};
|
|
@@ -4658,62 +4665,62 @@ var DropDown$1 = function DropDown(_ref2) {
|
|
|
4658
4665
|
}, styles['text']));
|
|
4659
4666
|
}));
|
|
4660
4667
|
};
|
|
4661
|
-
var CountryPickerView = function CountryPickerView(
|
|
4662
|
-
var id =
|
|
4663
|
-
name =
|
|
4664
|
-
label =
|
|
4665
|
-
value =
|
|
4666
|
-
placeholder =
|
|
4667
|
-
helperText =
|
|
4668
|
-
|
|
4669
|
-
hide =
|
|
4670
|
-
|
|
4671
|
-
error =
|
|
4672
|
-
|
|
4673
|
-
isHovered =
|
|
4674
|
-
|
|
4675
|
-
isFocused =
|
|
4676
|
-
|
|
4677
|
-
isAutoFocus =
|
|
4678
|
-
|
|
4679
|
-
isDisabled =
|
|
4680
|
-
|
|
4681
|
-
isReadOnly =
|
|
4682
|
-
|
|
4683
|
-
shadow =
|
|
4684
|
-
|
|
4685
|
-
newOptions =
|
|
4686
|
-
|
|
4687
|
-
size =
|
|
4688
|
-
|
|
4689
|
-
variant =
|
|
4690
|
-
|
|
4691
|
-
shape =
|
|
4692
|
-
|
|
4693
|
-
colorScheme =
|
|
4694
|
-
onChange =
|
|
4695
|
-
|
|
4696
|
-
onBlur =
|
|
4697
|
-
|
|
4698
|
-
setHide =
|
|
4699
|
-
|
|
4700
|
-
setNewOptions =
|
|
4701
|
-
|
|
4702
|
-
setIsHovered =
|
|
4703
|
-
|
|
4704
|
-
setIsFocused =
|
|
4705
|
-
|
|
4706
|
-
setValue =
|
|
4707
|
-
|
|
4708
|
-
styles =
|
|
4668
|
+
var CountryPickerView = function CountryPickerView(_ref5) {
|
|
4669
|
+
var id = _ref5.id,
|
|
4670
|
+
name = _ref5.name,
|
|
4671
|
+
label = _ref5.label,
|
|
4672
|
+
value = _ref5.value,
|
|
4673
|
+
placeholder = _ref5.placeholder,
|
|
4674
|
+
helperText = _ref5.helperText,
|
|
4675
|
+
_ref5$hide = _ref5.hide,
|
|
4676
|
+
hide = _ref5$hide === void 0 ? false : _ref5$hide,
|
|
4677
|
+
_ref5$error = _ref5.error,
|
|
4678
|
+
error = _ref5$error === void 0 ? false : _ref5$error,
|
|
4679
|
+
_ref5$isHovered = _ref5.isHovered,
|
|
4680
|
+
isHovered = _ref5$isHovered === void 0 ? false : _ref5$isHovered,
|
|
4681
|
+
_ref5$isFocused = _ref5.isFocused,
|
|
4682
|
+
isFocused = _ref5$isFocused === void 0 ? false : _ref5$isFocused,
|
|
4683
|
+
_ref5$isAutoFocus = _ref5.isAutoFocus,
|
|
4684
|
+
isAutoFocus = _ref5$isAutoFocus === void 0 ? false : _ref5$isAutoFocus,
|
|
4685
|
+
_ref5$isDisabled = _ref5.isDisabled,
|
|
4686
|
+
isDisabled = _ref5$isDisabled === void 0 ? false : _ref5$isDisabled,
|
|
4687
|
+
_ref5$isReadOnly = _ref5.isReadOnly,
|
|
4688
|
+
isReadOnly = _ref5$isReadOnly === void 0 ? false : _ref5$isReadOnly,
|
|
4689
|
+
_ref5$shadow = _ref5.shadow,
|
|
4690
|
+
shadow = _ref5$shadow === void 0 ? {} : _ref5$shadow,
|
|
4691
|
+
_ref5$newOptions = _ref5.newOptions,
|
|
4692
|
+
newOptions = _ref5$newOptions === void 0 ? [] : _ref5$newOptions,
|
|
4693
|
+
_ref5$size = _ref5.size,
|
|
4694
|
+
size = _ref5$size === void 0 ? 'md' : _ref5$size,
|
|
4695
|
+
_ref5$variant = _ref5.variant,
|
|
4696
|
+
variant = _ref5$variant === void 0 ? 'default' : _ref5$variant,
|
|
4697
|
+
_ref5$shape = _ref5.shape,
|
|
4698
|
+
shape = _ref5$shape === void 0 ? 'default' : _ref5$shape,
|
|
4699
|
+
_ref5$colorScheme = _ref5.colorScheme,
|
|
4700
|
+
colorScheme = _ref5$colorScheme === void 0 ? 'theme.primary' : _ref5$colorScheme,
|
|
4701
|
+
onChange = _ref5.onChange,
|
|
4702
|
+
_ref5$onBlur = _ref5.onBlur,
|
|
4703
|
+
onBlur = _ref5$onBlur === void 0 ? function () {} : _ref5$onBlur,
|
|
4704
|
+
_ref5$setHide = _ref5.setHide,
|
|
4705
|
+
setHide = _ref5$setHide === void 0 ? function () {} : _ref5$setHide,
|
|
4706
|
+
_ref5$setNewOptions = _ref5.setNewOptions,
|
|
4707
|
+
setNewOptions = _ref5$setNewOptions === void 0 ? function () {} : _ref5$setNewOptions,
|
|
4708
|
+
_ref5$setIsHovered = _ref5.setIsHovered,
|
|
4709
|
+
setIsHovered = _ref5$setIsHovered === void 0 ? function () {} : _ref5$setIsHovered,
|
|
4710
|
+
_ref5$setIsFocused = _ref5.setIsFocused,
|
|
4711
|
+
setIsFocused = _ref5$setIsFocused === void 0 ? function () {} : _ref5$setIsFocused,
|
|
4712
|
+
_ref5$setValue = _ref5.setValue,
|
|
4713
|
+
setValue = _ref5$setValue === void 0 ? function () {} : _ref5$setValue,
|
|
4714
|
+
_ref5$styles = _ref5.styles,
|
|
4715
|
+
styles = _ref5$styles === void 0 ? {
|
|
4709
4716
|
text: {},
|
|
4710
4717
|
icon: {},
|
|
4711
4718
|
label: {},
|
|
4712
4719
|
dropDown: {},
|
|
4713
4720
|
helperText: {},
|
|
4714
4721
|
box: {}
|
|
4715
|
-
} :
|
|
4716
|
-
props = _objectWithoutPropertiesLoose(
|
|
4722
|
+
} : _ref5$styles,
|
|
4723
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$2);
|
|
4717
4724
|
var _useTheme = appStudio.useTheme(),
|
|
4718
4725
|
getColor = _useTheme.getColor;
|
|
4719
4726
|
var IconColor = getColor('color.blueGray.700');
|
|
@@ -4994,7 +5001,7 @@ var usePasswordState = function usePasswordState(props) {
|
|
|
4994
5001
|
};
|
|
4995
5002
|
|
|
4996
5003
|
var _excluded$y = ["visibleIcon", "hiddenIcon"],
|
|
4997
|
-
_excluded2$
|
|
5004
|
+
_excluded2$4 = ["isVisible", "setIsVisible"];
|
|
4998
5005
|
var PasswordComponent = function PasswordComponent(_ref) {
|
|
4999
5006
|
var _ref$visibleIcon = _ref.visibleIcon,
|
|
5000
5007
|
visibleIcon = _ref$visibleIcon === void 0 ? React__default.createElement(OpenEyeSvg, {
|
|
@@ -5008,7 +5015,7 @@ var PasswordComponent = function PasswordComponent(_ref) {
|
|
|
5008
5015
|
var _usePasswordState = usePasswordState(props),
|
|
5009
5016
|
isVisible = _usePasswordState.isVisible,
|
|
5010
5017
|
setIsVisible = _usePasswordState.setIsVisible,
|
|
5011
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
5018
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$4);
|
|
5012
5019
|
return React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
5013
5020
|
type: isVisible ? 'text' : 'password',
|
|
5014
5021
|
isClearable: false,
|
|
@@ -5245,7 +5252,7 @@ var TextFieldComponent$1 = function TextFieldComponent(props) {
|
|
|
5245
5252
|
var FormikTextField = TextFieldComponent$1;
|
|
5246
5253
|
|
|
5247
5254
|
var _excluded$C = ["visibleIcon", "hiddenIcon"],
|
|
5248
|
-
_excluded2$
|
|
5255
|
+
_excluded2$5 = ["isVisible", "setIsVisible"];
|
|
5249
5256
|
var PasswordComponent$1 = function PasswordComponent(_ref) {
|
|
5250
5257
|
var _ref$visibleIcon = _ref.visibleIcon,
|
|
5251
5258
|
visibleIcon = _ref$visibleIcon === void 0 ? React__default.createElement(OpenEyeSvg, {
|
|
@@ -5260,7 +5267,7 @@ var PasswordComponent$1 = function PasswordComponent(_ref) {
|
|
|
5260
5267
|
var _usePasswordState = usePasswordState(formProps),
|
|
5261
5268
|
isVisible = _usePasswordState.isVisible,
|
|
5262
5269
|
setIsVisible = _usePasswordState.setIsVisible,
|
|
5263
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
5270
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$5);
|
|
5264
5271
|
return React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
5265
5272
|
type: isVisible ? 'text' : 'password',
|
|
5266
5273
|
isClearable: false,
|
|
@@ -5446,7 +5453,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
|
|
|
5446
5453
|
// Starts the JSX returned by the component representing the combobox.
|
|
5447
5454
|
return React__default.createElement(Horizontal, Object.assign({
|
|
5448
5455
|
role: "combobox",
|
|
5449
|
-
|
|
5456
|
+
flexWrap: "nowrap",
|
|
5450
5457
|
gap: 15,
|
|
5451
5458
|
alignItems: "center",
|
|
5452
5459
|
width: "100%"
|
|
@@ -5465,7 +5472,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
|
|
|
5465
5472
|
borderRadius: "4px",
|
|
5466
5473
|
justifyContent: "space-between",
|
|
5467
5474
|
minWidth: 300,
|
|
5468
|
-
|
|
5475
|
+
flexWrap: "nowrap"
|
|
5469
5476
|
}, styles == null ? void 0 : styles.container), React__default.createElement(Horizontal, Object.assign({
|
|
5470
5477
|
gap: 15,
|
|
5471
5478
|
alignItems: "center",
|
|
@@ -5738,7 +5745,7 @@ var MessageView = function MessageView(_ref) {
|
|
|
5738
5745
|
gap: 16,
|
|
5739
5746
|
width: 400,
|
|
5740
5747
|
// safe={true}
|
|
5741
|
-
|
|
5748
|
+
flexWrap: "nowrap",
|
|
5742
5749
|
position: 'relative',
|
|
5743
5750
|
alignItems: "center",
|
|
5744
5751
|
padding: "14px 24px 14px 14px",
|
|
@@ -5920,8 +5927,8 @@ var HeaderIconSizes = {
|
|
|
5920
5927
|
};
|
|
5921
5928
|
|
|
5922
5929
|
var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
|
|
5923
|
-
_excluded2$
|
|
5924
|
-
_excluded3$
|
|
5930
|
+
_excluded2$6 = ["children", "shadow", "isFullScreen", "shape"],
|
|
5931
|
+
_excluded3$3 = ["children", "buttonColor", "iconSize", "buttonPosition"],
|
|
5925
5932
|
_excluded4$2 = ["children"],
|
|
5926
5933
|
_excluded5 = ["children"];
|
|
5927
5934
|
var ModalOverlay = function ModalOverlay(_ref) {
|
|
@@ -5956,7 +5963,7 @@ var ModalOverlay = function ModalOverlay(_ref) {
|
|
|
5956
5963
|
width: "100vw",
|
|
5957
5964
|
height: "100vh",
|
|
5958
5965
|
display: "flex",
|
|
5959
|
-
backgroundColor: "blackAlpha.500",
|
|
5966
|
+
backgroundColor: "color.blackAlpha.500",
|
|
5960
5967
|
backdropFilter: blur ? "blur(" + blur + "px)" : undefined,
|
|
5961
5968
|
onClick: handleClick
|
|
5962
5969
|
}, OverlayAlignments[position], props), children));
|
|
@@ -5968,7 +5975,7 @@ var ModalContainer = function ModalContainer(_ref2) {
|
|
|
5968
5975
|
isFullScreen = _ref2$isFullScreen === void 0 ? false : _ref2$isFullScreen,
|
|
5969
5976
|
_ref2$shape = _ref2.shape,
|
|
5970
5977
|
shape = _ref2$shape === void 0 ? 'rounded' : _ref2$shape,
|
|
5971
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
5978
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$6);
|
|
5972
5979
|
var defaultShadow = typeof document !== undefined ? {
|
|
5973
5980
|
boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.3)'
|
|
5974
5981
|
} : {
|
|
@@ -6000,7 +6007,7 @@ var ModalHeader = function ModalHeader(_ref3) {
|
|
|
6000
6007
|
iconSize = _ref3$iconSize === void 0 ? 'md' : _ref3$iconSize,
|
|
6001
6008
|
_ref3$buttonPosition = _ref3.buttonPosition,
|
|
6002
6009
|
buttonPosition = _ref3$buttonPosition === void 0 ? 'right' : _ref3$buttonPosition,
|
|
6003
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$
|
|
6010
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
|
|
6004
6011
|
var onClose = props.onClose ? props.onClose : hideModal;
|
|
6005
6012
|
var buttonIcon = React__default.createElement(Button, {
|
|
6006
6013
|
onClick: onClose,
|