sag_components 2.0.0-beta68 → 2.0.0-beta69
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/index.d.ts +2 -1
- package/dist/index.esm.js +106 -100
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +106 -100
- package/dist/index.js.map +1 -1
- package/dist/types/components/InsightsCarousel/InsightsCarousel.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9490,67 +9490,70 @@ const DropdownMain = styled__default["default"].div`
|
|
|
9490
9490
|
`;
|
|
9491
9491
|
|
|
9492
9492
|
/* eslint-disable react/prop-types */
|
|
9493
|
-
const DropdownNew =
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9493
|
+
const DropdownNew = _ref => {
|
|
9494
|
+
let {
|
|
9495
|
+
isMulti,
|
|
9496
|
+
label,
|
|
9497
|
+
labelEmptyValue,
|
|
9498
|
+
options,
|
|
9499
|
+
selectedValue,
|
|
9500
|
+
placeHolder,
|
|
9501
|
+
onChange,
|
|
9502
|
+
required,
|
|
9503
|
+
disabled,
|
|
9504
|
+
width,
|
|
9505
|
+
error,
|
|
9506
|
+
errorMessage,
|
|
9507
|
+
labelColor,
|
|
9508
|
+
checkBoxColor,
|
|
9509
|
+
xIconShow,
|
|
9510
|
+
showLabelOnTop,
|
|
9511
|
+
orderBy,
|
|
9512
|
+
elementType
|
|
9513
|
+
} = _ref;
|
|
9514
|
+
return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
9515
|
+
className: "DropdownMain",
|
|
9516
|
+
width: width
|
|
9517
|
+
}, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
|
|
9518
|
+
className: "DropdownMultiNew",
|
|
9519
|
+
placeHolder: placeHolder,
|
|
9520
|
+
label: label,
|
|
9521
|
+
labelEmptyValue: labelEmptyValue,
|
|
9522
|
+
labelColor: labelColor,
|
|
9523
|
+
checkBoxColor: checkBoxColor,
|
|
9524
|
+
required: required,
|
|
9525
|
+
options: options,
|
|
9526
|
+
width: width,
|
|
9527
|
+
disabled: disabled,
|
|
9528
|
+
error: error,
|
|
9529
|
+
errorMessage: errorMessage,
|
|
9530
|
+
selectedValue: selectedValue,
|
|
9531
|
+
xIconShow: xIconShow,
|
|
9532
|
+
onChange: onChange,
|
|
9533
|
+
showLabelOnTop: showLabelOnTop,
|
|
9534
|
+
orderBy: orderBy,
|
|
9535
|
+
elementType: elementType
|
|
9536
|
+
}) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
|
|
9537
|
+
className: "DropdownSingleNew",
|
|
9538
|
+
placeHolder: placeHolder,
|
|
9539
|
+
label: label,
|
|
9540
|
+
labelEmptyValue: labelEmptyValue,
|
|
9541
|
+
labelColor: labelColor,
|
|
9542
|
+
checkBoxColor: checkBoxColor,
|
|
9543
|
+
required: required,
|
|
9544
|
+
options: options,
|
|
9545
|
+
width: width,
|
|
9546
|
+
disabled: disabled,
|
|
9547
|
+
error: error,
|
|
9548
|
+
errorMessage: errorMessage,
|
|
9549
|
+
selectedValue: selectedValue,
|
|
9550
|
+
xIconShow: xIconShow,
|
|
9551
|
+
onChange: onChange,
|
|
9552
|
+
showLabelOnTop: showLabelOnTop,
|
|
9553
|
+
orderBy: orderBy,
|
|
9554
|
+
elementType: elementType
|
|
9555
|
+
}));
|
|
9556
|
+
};
|
|
9554
9557
|
DropdownNew.propTypes = {
|
|
9555
9558
|
placeHolder: PropTypes.string,
|
|
9556
9559
|
label: PropTypes.string,
|
|
@@ -24137,21 +24140,22 @@ const DeleteIcon = styled__default["default"].div`
|
|
|
24137
24140
|
position: absolute;
|
|
24138
24141
|
`;
|
|
24139
24142
|
|
|
24140
|
-
const QuickFilterDropdownSingle =
|
|
24141
|
-
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24145
|
-
|
|
24146
|
-
|
|
24147
|
-
|
|
24148
|
-
|
|
24149
|
-
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24143
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24144
|
+
let {
|
|
24145
|
+
label,
|
|
24146
|
+
hoverColor,
|
|
24147
|
+
options,
|
|
24148
|
+
selectedValue,
|
|
24149
|
+
placeHolder,
|
|
24150
|
+
onChange,
|
|
24151
|
+
disabled,
|
|
24152
|
+
width,
|
|
24153
|
+
error,
|
|
24154
|
+
errorMessage,
|
|
24155
|
+
xIconShow,
|
|
24156
|
+
labelColor,
|
|
24157
|
+
showLabelOnTop
|
|
24158
|
+
} = _ref;
|
|
24155
24159
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24156
24160
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24157
24161
|
const [inputValue, setInputValue] = React$1.useState("");
|
|
@@ -24549,23 +24553,24 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24549
24553
|
cursor: pointer;
|
|
24550
24554
|
`;
|
|
24551
24555
|
|
|
24552
|
-
const QuickFilterDropdownMultiSelection =
|
|
24553
|
-
|
|
24554
|
-
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24559
|
-
|
|
24560
|
-
|
|
24561
|
-
|
|
24562
|
-
|
|
24563
|
-
|
|
24564
|
-
|
|
24565
|
-
|
|
24566
|
-
|
|
24567
|
-
|
|
24568
|
-
|
|
24556
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24557
|
+
let {
|
|
24558
|
+
label,
|
|
24559
|
+
labelEmptyValue,
|
|
24560
|
+
options,
|
|
24561
|
+
selectedValue,
|
|
24562
|
+
placeHolder,
|
|
24563
|
+
onChange,
|
|
24564
|
+
required,
|
|
24565
|
+
disabled,
|
|
24566
|
+
width,
|
|
24567
|
+
error,
|
|
24568
|
+
errorMessage,
|
|
24569
|
+
labelColor,
|
|
24570
|
+
xIconShow,
|
|
24571
|
+
checkBoxColor,
|
|
24572
|
+
showLabelOnTop
|
|
24573
|
+
} = _ref;
|
|
24569
24574
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24570
24575
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24571
24576
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -32302,10 +32307,8 @@ const VisibleCardsContainer = styled__default["default"].div`
|
|
|
32302
32307
|
|
|
32303
32308
|
.prev-card,
|
|
32304
32309
|
.next-card {
|
|
32305
|
-
background: #
|
|
32306
|
-
|
|
32307
|
-
opacity: 0.5;
|
|
32308
|
-
}
|
|
32310
|
+
background: #E7E7E7;
|
|
32311
|
+
opacity: 0.9;
|
|
32309
32312
|
}
|
|
32310
32313
|
|
|
32311
32314
|
.prev-card {
|
|
@@ -32328,9 +32331,9 @@ const VisibleCardsContainer = styled__default["default"].div`
|
|
|
32328
32331
|
`;
|
|
32329
32332
|
const Card = styled__default["default"].div`
|
|
32330
32333
|
position: absolute;
|
|
32331
|
-
width:
|
|
32334
|
+
width: 56%;
|
|
32335
|
+
min-width: 600px;
|
|
32332
32336
|
height: 100%;
|
|
32333
|
-
max-width: 755px;
|
|
32334
32337
|
background: #ffffff;
|
|
32335
32338
|
border-radius: 16px;
|
|
32336
32339
|
padding: 20px 50px;
|
|
@@ -32415,6 +32418,7 @@ const Dot = styled__default["default"].button`
|
|
|
32415
32418
|
|
|
32416
32419
|
const InsightsCarousel = _ref => {
|
|
32417
32420
|
let {
|
|
32421
|
+
className,
|
|
32418
32422
|
children,
|
|
32419
32423
|
onClose,
|
|
32420
32424
|
title = "Insights:",
|
|
@@ -32441,7 +32445,9 @@ const InsightsCarousel = _ref => {
|
|
|
32441
32445
|
};
|
|
32442
32446
|
const prevIndex = (currentIndex - 1 + totalChildren) % totalChildren;
|
|
32443
32447
|
const nextIndex = (currentIndex + 1) % totalChildren;
|
|
32444
|
-
return /*#__PURE__*/React__default["default"].createElement(Overlay,
|
|
32448
|
+
return /*#__PURE__*/React__default["default"].createElement(Overlay, {
|
|
32449
|
+
className: className
|
|
32450
|
+
}, /*#__PURE__*/React__default["default"].createElement(ModalContent, null, /*#__PURE__*/React__default["default"].createElement(Header, null, /*#__PURE__*/React__default["default"].createElement(Title, {
|
|
32445
32451
|
$titleColor: titleColor
|
|
32446
32452
|
}, /*#__PURE__*/React__default["default"].cloneElement(icon, {
|
|
32447
32453
|
fill: iconColor
|