@majoo-ui/react 1.55.8 → 1.55.9
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/components/devicePreview/DevicePreview.d.ts +1 -1
- package/index.esm.js +50 -19
- package/index.umd.js +50 -19
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ declare const EnumTypeDevice: {
|
|
|
6
6
|
readonly iphone: "iphone";
|
|
7
7
|
readonly desktop: "desktop";
|
|
8
8
|
};
|
|
9
|
-
declare type EnumTypeDevice = typeof EnumTypeDevice[keyof typeof EnumTypeDevice];
|
|
9
|
+
declare type EnumTypeDevice = (typeof EnumTypeDevice)[keyof typeof EnumTypeDevice];
|
|
10
10
|
interface ContentMessage {
|
|
11
11
|
sender?: string;
|
|
12
12
|
message: string;
|
package/index.esm.js
CHANGED
|
@@ -2268,7 +2268,7 @@ Flex$1.defaultProps = {
|
|
|
2268
2268
|
Flex$1.displayName = 'Flex';
|
|
2269
2269
|
|
|
2270
2270
|
const _excluded$B = ["children"],
|
|
2271
|
-
_excluded2$
|
|
2271
|
+
_excluded2$3 = ["children"];
|
|
2272
2272
|
var _jsxFileName$11 = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
|
|
2273
2273
|
const GridComponent = styled('div', {
|
|
2274
2274
|
display: 'grid',
|
|
@@ -2495,7 +2495,7 @@ const GridItem = _ref2 => {
|
|
|
2495
2495
|
let {
|
|
2496
2496
|
children
|
|
2497
2497
|
} = _ref2,
|
|
2498
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
2498
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
2499
2499
|
return /*#__PURE__*/React__default.createElement(GridItemComponent, _extends({}, props, {
|
|
2500
2500
|
css: Object.assign({}, props.css, {
|
|
2501
2501
|
gridArea: props.area,
|
|
@@ -6638,6 +6638,7 @@ const InputRadio = _ref => {
|
|
|
6638
6638
|
readOnly
|
|
6639
6639
|
} = _ref,
|
|
6640
6640
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
6641
|
+
const radioRef = useRef();
|
|
6641
6642
|
function renderInputType(type, checked) {
|
|
6642
6643
|
switch (type) {
|
|
6643
6644
|
case 'number':
|
|
@@ -6648,7 +6649,7 @@ const InputRadio = _ref => {
|
|
|
6648
6649
|
__source: {
|
|
6649
6650
|
fileName: _jsxFileName$F,
|
|
6650
6651
|
lineNumber: 160,
|
|
6651
|
-
columnNumber:
|
|
6652
|
+
columnNumber: 16
|
|
6652
6653
|
}
|
|
6653
6654
|
}));
|
|
6654
6655
|
case 'text':
|
|
@@ -6659,7 +6660,7 @@ const InputRadio = _ref => {
|
|
|
6659
6660
|
__self: this,
|
|
6660
6661
|
__source: {
|
|
6661
6662
|
fileName: _jsxFileName$F,
|
|
6662
|
-
lineNumber:
|
|
6663
|
+
lineNumber: 164,
|
|
6663
6664
|
columnNumber: 11
|
|
6664
6665
|
}
|
|
6665
6666
|
}));
|
|
@@ -6678,17 +6679,21 @@ const InputRadio = _ref => {
|
|
|
6678
6679
|
__self: this,
|
|
6679
6680
|
__source: {
|
|
6680
6681
|
fileName: _jsxFileName$F,
|
|
6681
|
-
lineNumber:
|
|
6682
|
+
lineNumber: 174,
|
|
6682
6683
|
columnNumber: 11
|
|
6683
6684
|
}
|
|
6684
6685
|
}, props.label);
|
|
6685
6686
|
}
|
|
6686
6687
|
}
|
|
6688
|
+
function handleClick(outlined) {
|
|
6689
|
+
var _radioRef$current;
|
|
6690
|
+
outlined && ((_radioRef$current = radioRef.current) === null || _radioRef$current === void 0 ? void 0 : _radioRef$current.click());
|
|
6691
|
+
}
|
|
6687
6692
|
return /*#__PURE__*/React__default.createElement(InputRadioContext.Consumer, {
|
|
6688
6693
|
__self: undefined,
|
|
6689
6694
|
__source: {
|
|
6690
6695
|
fileName: _jsxFileName$F,
|
|
6691
|
-
lineNumber:
|
|
6696
|
+
lineNumber: 197,
|
|
6692
6697
|
columnNumber: 5
|
|
6693
6698
|
}
|
|
6694
6699
|
}, ({
|
|
@@ -6705,10 +6710,11 @@ const InputRadio = _ref => {
|
|
|
6705
6710
|
active: outlined && checked === props.value && !disabled && !readOnly,
|
|
6706
6711
|
withInputProps: !!inputProps,
|
|
6707
6712
|
css: css,
|
|
6713
|
+
onClick: () => handleClick(outlined),
|
|
6708
6714
|
__self: undefined,
|
|
6709
6715
|
__source: {
|
|
6710
6716
|
fileName: _jsxFileName$F,
|
|
6711
|
-
lineNumber:
|
|
6717
|
+
lineNumber: 202,
|
|
6712
6718
|
columnNumber: 11
|
|
6713
6719
|
}
|
|
6714
6720
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -6721,6 +6727,7 @@ const InputRadio = _ref => {
|
|
|
6721
6727
|
columnNumber: 13
|
|
6722
6728
|
}
|
|
6723
6729
|
}, /*#__PURE__*/React__default.createElement(StyledRadio, _extends({
|
|
6730
|
+
ref: radioRef,
|
|
6724
6731
|
id: id,
|
|
6725
6732
|
disabled: disabled || readOnly,
|
|
6726
6733
|
readOnly: readOnly
|
|
@@ -11918,7 +11925,7 @@ function addPropsToChildren(children, props) {
|
|
|
11918
11925
|
}
|
|
11919
11926
|
|
|
11920
11927
|
const _excluded$9 = ["children"],
|
|
11921
|
-
_excluded2$
|
|
11928
|
+
_excluded2$2 = ["children", "activeTabs"],
|
|
11922
11929
|
_excluded3 = ["children", "icon", "activeTabs", "value"],
|
|
11923
11930
|
_excluded4 = ["activeTabs"];
|
|
11924
11931
|
var _jsxFileName$q = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
|
|
@@ -12087,7 +12094,7 @@ const TabsList$1 = _ref2 => {
|
|
|
12087
12094
|
children,
|
|
12088
12095
|
activeTabs
|
|
12089
12096
|
} = _ref2,
|
|
12090
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
12097
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
12091
12098
|
const [listContainerScrollPosition, setlistContainerScrollPosition] = useState(0);
|
|
12092
12099
|
const [scrollAreaWidth, setScrollAreaWidth] = useState(0);
|
|
12093
12100
|
const listContainerRef = useRef();
|
|
@@ -12267,7 +12274,7 @@ const Separator$2 = StyledSeparator$1;
|
|
|
12267
12274
|
Separator$2.displayName = 'Separator';
|
|
12268
12275
|
|
|
12269
12276
|
const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth"],
|
|
12270
|
-
_excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12277
|
+
_excluded2$1 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12271
12278
|
var _jsxFileName$p = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
|
|
12272
12279
|
const ScrollButton = styled(Button$4, {
|
|
12273
12280
|
width: '28px',
|
|
@@ -12609,7 +12616,7 @@ function ButtonGroupItem(_ref2) {
|
|
|
12609
12616
|
isToggle,
|
|
12610
12617
|
value
|
|
12611
12618
|
} = _ref2,
|
|
12612
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
12619
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
12613
12620
|
return /*#__PURE__*/React__default.createElement(GroupItemComponent, _extends({
|
|
12614
12621
|
className: className,
|
|
12615
12622
|
disabled: disabled,
|
|
@@ -20864,7 +20871,8 @@ const AlertDialogDescription = StyledDescription$1;
|
|
|
20864
20871
|
const AlertDialogCancel = ADialog.Cancel;
|
|
20865
20872
|
const AlertDialogConfirm = ADialog.Action;
|
|
20866
20873
|
|
|
20867
|
-
const _excluded = ["side", "align", "children"]
|
|
20874
|
+
const _excluded = ["side", "align", "children"],
|
|
20875
|
+
_excluded2 = ["children"];
|
|
20868
20876
|
var _jsxFileName$a = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
|
|
20869
20877
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
20870
20878
|
const slideUpAndFade = keyframes({
|
|
@@ -21037,6 +21045,7 @@ const DropdownMenuContentContext = props => {
|
|
|
21037
21045
|
}
|
|
21038
21046
|
}, []);
|
|
21039
21047
|
return /*#__PURE__*/React__default.createElement(StyledContent, _extends({
|
|
21048
|
+
className: "dropdown-content",
|
|
21040
21049
|
side: side,
|
|
21041
21050
|
align: align,
|
|
21042
21051
|
ref: ref
|
|
@@ -21049,6 +21058,22 @@ const DropdownMenuContentContext = props => {
|
|
|
21049
21058
|
}
|
|
21050
21059
|
}), props.children);
|
|
21051
21060
|
};
|
|
21061
|
+
const DropdownTrigger = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
21062
|
+
let {
|
|
21063
|
+
children
|
|
21064
|
+
} = _ref2,
|
|
21065
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
21066
|
+
return /*#__PURE__*/React__default.createElement(DropdownMenuPrimitive.Trigger, _extends({}, props, {
|
|
21067
|
+
ref: ref,
|
|
21068
|
+
children: children && /*#__PURE__*/React__default.cloneElement(children, Object.assign({}, props)),
|
|
21069
|
+
__self: undefined,
|
|
21070
|
+
__source: {
|
|
21071
|
+
fileName: _jsxFileName$a,
|
|
21072
|
+
lineNumber: 146,
|
|
21073
|
+
columnNumber: 3
|
|
21074
|
+
}
|
|
21075
|
+
}));
|
|
21076
|
+
});
|
|
21052
21077
|
const RightSlot = styled('div', {
|
|
21053
21078
|
marginLeft: 'auto',
|
|
21054
21079
|
':focus > &': {
|
|
@@ -21061,7 +21086,12 @@ const RightSlot = styled('div', {
|
|
|
21061
21086
|
const StyledDropdown = styled(ButtonPrimitive, {
|
|
21062
21087
|
display: 'flex',
|
|
21063
21088
|
gap: '8px',
|
|
21064
|
-
padding: '6px 12px'
|
|
21089
|
+
padding: '6px 12px',
|
|
21090
|
+
'&:disabled': {
|
|
21091
|
+
'& + div': {
|
|
21092
|
+
display: 'none !important'
|
|
21093
|
+
}
|
|
21094
|
+
}
|
|
21065
21095
|
});
|
|
21066
21096
|
const ButtonDropdown = /*#__PURE__*/React__default.forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(StyledDropdown, _extends({
|
|
21067
21097
|
ref: ref,
|
|
@@ -21070,7 +21100,7 @@ const ButtonDropdown = /*#__PURE__*/React__default.forwardRef((props, ref) => /*
|
|
|
21070
21100
|
__self: undefined,
|
|
21071
21101
|
__source: {
|
|
21072
21102
|
fileName: _jsxFileName$a,
|
|
21073
|
-
lineNumber:
|
|
21103
|
+
lineNumber: 171,
|
|
21074
21104
|
columnNumber: 3
|
|
21075
21105
|
}
|
|
21076
21106
|
}), props.children, props.rightIcon && props.rightIcon));
|
|
@@ -21088,7 +21118,7 @@ RightSlot.displayName = 'RightSlot';
|
|
|
21088
21118
|
|
|
21089
21119
|
// Exports
|
|
21090
21120
|
const DropdownMenu = DropdownMenuContext;
|
|
21091
|
-
const DropdownMenuTrigger =
|
|
21121
|
+
const DropdownMenuTrigger = DropdownTrigger;
|
|
21092
21122
|
const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
21093
21123
|
const DropdownMenuContent = DropdownMenuContentContext;
|
|
21094
21124
|
const DropdownMenuItem = StyledItem;
|
|
@@ -24274,10 +24304,10 @@ const cssImg = css({
|
|
|
24274
24304
|
height: '100%'
|
|
24275
24305
|
});
|
|
24276
24306
|
const iconStyles = css({
|
|
24277
|
-
width:
|
|
24278
|
-
height:
|
|
24279
|
-
border: '1px solid $btnPrimary',
|
|
24280
|
-
borderRadius: '6px'
|
|
24307
|
+
width: '32px !important',
|
|
24308
|
+
height: '32px !important',
|
|
24309
|
+
border: '1px solid $btnPrimary !important',
|
|
24310
|
+
borderRadius: '6px !important'
|
|
24281
24311
|
});
|
|
24282
24312
|
const ContainerImage = styled('div', cssContainerImage);
|
|
24283
24313
|
const Img = styled('img', cssImg);
|
|
@@ -24858,6 +24888,7 @@ const Device = props => {
|
|
|
24858
24888
|
}), void 0)
|
|
24859
24889
|
}), void 0)]
|
|
24860
24890
|
}), void 0), props.carousel && jsx(IconStyled, Object.assign({
|
|
24891
|
+
type: "button",
|
|
24861
24892
|
onClick: nextSlide,
|
|
24862
24893
|
buttonType: "secondary"
|
|
24863
24894
|
}, {
|
package/index.umd.js
CHANGED
|
@@ -2378,7 +2378,7 @@
|
|
|
2378
2378
|
Flex$1.displayName = 'Flex';
|
|
2379
2379
|
|
|
2380
2380
|
const _excluded$B = ["children"],
|
|
2381
|
-
_excluded2$
|
|
2381
|
+
_excluded2$3 = ["children"];
|
|
2382
2382
|
var _jsxFileName$11 = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
|
|
2383
2383
|
const GridComponent = styled('div', {
|
|
2384
2384
|
display: 'grid',
|
|
@@ -2605,7 +2605,7 @@
|
|
|
2605
2605
|
let {
|
|
2606
2606
|
children
|
|
2607
2607
|
} = _ref2,
|
|
2608
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
2608
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
2609
2609
|
return /*#__PURE__*/React__default["default"].createElement(GridItemComponent, _extends({}, props, {
|
|
2610
2610
|
css: Object.assign({}, props.css, {
|
|
2611
2611
|
gridArea: props.area,
|
|
@@ -6714,6 +6714,7 @@
|
|
|
6714
6714
|
readOnly
|
|
6715
6715
|
} = _ref,
|
|
6716
6716
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
6717
|
+
const radioRef = React.useRef();
|
|
6717
6718
|
function renderInputType(type, checked) {
|
|
6718
6719
|
switch (type) {
|
|
6719
6720
|
case 'number':
|
|
@@ -6724,7 +6725,7 @@
|
|
|
6724
6725
|
__source: {
|
|
6725
6726
|
fileName: _jsxFileName$F,
|
|
6726
6727
|
lineNumber: 160,
|
|
6727
|
-
columnNumber:
|
|
6728
|
+
columnNumber: 16
|
|
6728
6729
|
}
|
|
6729
6730
|
}));
|
|
6730
6731
|
case 'text':
|
|
@@ -6735,7 +6736,7 @@
|
|
|
6735
6736
|
__self: this,
|
|
6736
6737
|
__source: {
|
|
6737
6738
|
fileName: _jsxFileName$F,
|
|
6738
|
-
lineNumber:
|
|
6739
|
+
lineNumber: 164,
|
|
6739
6740
|
columnNumber: 11
|
|
6740
6741
|
}
|
|
6741
6742
|
}));
|
|
@@ -6754,17 +6755,21 @@
|
|
|
6754
6755
|
__self: this,
|
|
6755
6756
|
__source: {
|
|
6756
6757
|
fileName: _jsxFileName$F,
|
|
6757
|
-
lineNumber:
|
|
6758
|
+
lineNumber: 174,
|
|
6758
6759
|
columnNumber: 11
|
|
6759
6760
|
}
|
|
6760
6761
|
}, props.label);
|
|
6761
6762
|
}
|
|
6762
6763
|
}
|
|
6764
|
+
function handleClick(outlined) {
|
|
6765
|
+
var _radioRef$current;
|
|
6766
|
+
outlined && ((_radioRef$current = radioRef.current) === null || _radioRef$current === void 0 ? void 0 : _radioRef$current.click());
|
|
6767
|
+
}
|
|
6763
6768
|
return /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Consumer, {
|
|
6764
6769
|
__self: undefined,
|
|
6765
6770
|
__source: {
|
|
6766
6771
|
fileName: _jsxFileName$F,
|
|
6767
|
-
lineNumber:
|
|
6772
|
+
lineNumber: 197,
|
|
6768
6773
|
columnNumber: 5
|
|
6769
6774
|
}
|
|
6770
6775
|
}, ({
|
|
@@ -6781,10 +6786,11 @@
|
|
|
6781
6786
|
active: outlined && checked === props.value && !disabled && !readOnly,
|
|
6782
6787
|
withInputProps: !!inputProps,
|
|
6783
6788
|
css: css,
|
|
6789
|
+
onClick: () => handleClick(outlined),
|
|
6784
6790
|
__self: undefined,
|
|
6785
6791
|
__source: {
|
|
6786
6792
|
fileName: _jsxFileName$F,
|
|
6787
|
-
lineNumber:
|
|
6793
|
+
lineNumber: 202,
|
|
6788
6794
|
columnNumber: 11
|
|
6789
6795
|
}
|
|
6790
6796
|
}, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
@@ -6797,6 +6803,7 @@
|
|
|
6797
6803
|
columnNumber: 13
|
|
6798
6804
|
}
|
|
6799
6805
|
}, /*#__PURE__*/React__default["default"].createElement(StyledRadio, _extends({
|
|
6806
|
+
ref: radioRef,
|
|
6800
6807
|
id: id,
|
|
6801
6808
|
disabled: disabled || readOnly,
|
|
6802
6809
|
readOnly: readOnly
|
|
@@ -12069,7 +12076,7 @@
|
|
|
12069
12076
|
}
|
|
12070
12077
|
|
|
12071
12078
|
const _excluded$9 = ["children"],
|
|
12072
|
-
_excluded2$
|
|
12079
|
+
_excluded2$2 = ["children", "activeTabs"],
|
|
12073
12080
|
_excluded3 = ["children", "icon", "activeTabs", "value"],
|
|
12074
12081
|
_excluded4 = ["activeTabs"];
|
|
12075
12082
|
var _jsxFileName$q = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
|
|
@@ -12238,7 +12245,7 @@
|
|
|
12238
12245
|
children,
|
|
12239
12246
|
activeTabs
|
|
12240
12247
|
} = _ref2,
|
|
12241
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
12248
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
12242
12249
|
const [listContainerScrollPosition, setlistContainerScrollPosition] = React.useState(0);
|
|
12243
12250
|
const [scrollAreaWidth, setScrollAreaWidth] = React.useState(0);
|
|
12244
12251
|
const listContainerRef = React.useRef();
|
|
@@ -12418,7 +12425,7 @@
|
|
|
12418
12425
|
Separator$2.displayName = 'Separator';
|
|
12419
12426
|
|
|
12420
12427
|
const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth"],
|
|
12421
|
-
_excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12428
|
+
_excluded2$1 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
12422
12429
|
var _jsxFileName$p = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
|
|
12423
12430
|
const ScrollButton = styled(Button$4, {
|
|
12424
12431
|
width: '28px',
|
|
@@ -12760,7 +12767,7 @@
|
|
|
12760
12767
|
isToggle,
|
|
12761
12768
|
value
|
|
12762
12769
|
} = _ref2,
|
|
12763
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
12770
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
12764
12771
|
return /*#__PURE__*/React__default["default"].createElement(GroupItemComponent, _extends({
|
|
12765
12772
|
className: className,
|
|
12766
12773
|
disabled: disabled,
|
|
@@ -21196,7 +21203,8 @@
|
|
|
21196
21203
|
const AlertDialogCancel = ADialog__namespace.Cancel;
|
|
21197
21204
|
const AlertDialogConfirm = ADialog__namespace.Action;
|
|
21198
21205
|
|
|
21199
|
-
const _excluded = ["side", "align", "children"]
|
|
21206
|
+
const _excluded = ["side", "align", "children"],
|
|
21207
|
+
_excluded2 = ["children"];
|
|
21200
21208
|
var _jsxFileName$a = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
|
|
21201
21209
|
const Context = /*#__PURE__*/React__default["default"].createContext();
|
|
21202
21210
|
const slideUpAndFade = keyframes({
|
|
@@ -21369,6 +21377,7 @@
|
|
|
21369
21377
|
}
|
|
21370
21378
|
}, []);
|
|
21371
21379
|
return /*#__PURE__*/React__default["default"].createElement(StyledContent, _extends({
|
|
21380
|
+
className: "dropdown-content",
|
|
21372
21381
|
side: side,
|
|
21373
21382
|
align: align,
|
|
21374
21383
|
ref: ref
|
|
@@ -21381,6 +21390,22 @@
|
|
|
21381
21390
|
}
|
|
21382
21391
|
}), props.children);
|
|
21383
21392
|
};
|
|
21393
|
+
const DropdownTrigger = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref) => {
|
|
21394
|
+
let {
|
|
21395
|
+
children
|
|
21396
|
+
} = _ref2,
|
|
21397
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
21398
|
+
return /*#__PURE__*/React__default["default"].createElement(DropdownMenuPrimitive__namespace.Trigger, _extends({}, props, {
|
|
21399
|
+
ref: ref,
|
|
21400
|
+
children: children && /*#__PURE__*/React__default["default"].cloneElement(children, Object.assign({}, props)),
|
|
21401
|
+
__self: undefined,
|
|
21402
|
+
__source: {
|
|
21403
|
+
fileName: _jsxFileName$a,
|
|
21404
|
+
lineNumber: 146,
|
|
21405
|
+
columnNumber: 3
|
|
21406
|
+
}
|
|
21407
|
+
}));
|
|
21408
|
+
});
|
|
21384
21409
|
const RightSlot = styled('div', {
|
|
21385
21410
|
marginLeft: 'auto',
|
|
21386
21411
|
':focus > &': {
|
|
@@ -21393,7 +21418,12 @@
|
|
|
21393
21418
|
const StyledDropdown = styled(ButtonPrimitive, {
|
|
21394
21419
|
display: 'flex',
|
|
21395
21420
|
gap: '8px',
|
|
21396
|
-
padding: '6px 12px'
|
|
21421
|
+
padding: '6px 12px',
|
|
21422
|
+
'&:disabled': {
|
|
21423
|
+
'& + div': {
|
|
21424
|
+
display: 'none !important'
|
|
21425
|
+
}
|
|
21426
|
+
}
|
|
21397
21427
|
});
|
|
21398
21428
|
const ButtonDropdown = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => /*#__PURE__*/React__default["default"].createElement(StyledDropdown, _extends({
|
|
21399
21429
|
ref: ref,
|
|
@@ -21402,7 +21432,7 @@
|
|
|
21402
21432
|
__self: undefined,
|
|
21403
21433
|
__source: {
|
|
21404
21434
|
fileName: _jsxFileName$a,
|
|
21405
|
-
lineNumber:
|
|
21435
|
+
lineNumber: 171,
|
|
21406
21436
|
columnNumber: 3
|
|
21407
21437
|
}
|
|
21408
21438
|
}), props.children, props.rightIcon && props.rightIcon));
|
|
@@ -21420,7 +21450,7 @@
|
|
|
21420
21450
|
|
|
21421
21451
|
// Exports
|
|
21422
21452
|
const DropdownMenu = DropdownMenuContext;
|
|
21423
|
-
const DropdownMenuTrigger =
|
|
21453
|
+
const DropdownMenuTrigger = DropdownTrigger;
|
|
21424
21454
|
const DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
|
|
21425
21455
|
const DropdownMenuContent = DropdownMenuContentContext;
|
|
21426
21456
|
const DropdownMenuItem = StyledItem;
|
|
@@ -24629,10 +24659,10 @@
|
|
|
24629
24659
|
height: '100%'
|
|
24630
24660
|
});
|
|
24631
24661
|
var iconStyles = css({
|
|
24632
|
-
width:
|
|
24633
|
-
height:
|
|
24634
|
-
border: '1px solid $btnPrimary',
|
|
24635
|
-
borderRadius: '6px'
|
|
24662
|
+
width: '32px !important',
|
|
24663
|
+
height: '32px !important',
|
|
24664
|
+
border: '1px solid $btnPrimary !important',
|
|
24665
|
+
borderRadius: '6px !important'
|
|
24636
24666
|
});
|
|
24637
24667
|
var ContainerImage = styled('div', cssContainerImage);
|
|
24638
24668
|
var Img = styled('img', cssImg);
|
|
@@ -25222,6 +25252,7 @@
|
|
|
25222
25252
|
}), void 0)
|
|
25223
25253
|
}), void 0)]
|
|
25224
25254
|
}), void 0), props.carousel && jsxRuntime.jsx(IconStyled, __assign({
|
|
25255
|
+
type: "button",
|
|
25225
25256
|
onClick: nextSlide,
|
|
25226
25257
|
buttonType: "secondary"
|
|
25227
25258
|
}, {
|