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.d.ts
CHANGED
|
@@ -1220,7 +1220,8 @@ declare function PerformanceAnalyticsLegend(props: any): react_jsx_runtime.JSX.E
|
|
|
1220
1220
|
|
|
1221
1221
|
declare function BrushChart(props: any): react_jsx_runtime.JSX.Element;
|
|
1222
1222
|
|
|
1223
|
-
declare function InsightsCarousel({ children, onClose, title, icon, titleColor, iconColor, navColor, }: {
|
|
1223
|
+
declare function InsightsCarousel({ className, children, onClose, title, icon, titleColor, iconColor, navColor, }: {
|
|
1224
|
+
className: any;
|
|
1224
1225
|
children: any;
|
|
1225
1226
|
onClose: any;
|
|
1226
1227
|
title?: string;
|
package/dist/index.esm.js
CHANGED
|
@@ -9480,67 +9480,70 @@ const DropdownMain = styled.div`
|
|
|
9480
9480
|
`;
|
|
9481
9481
|
|
|
9482
9482
|
/* eslint-disable react/prop-types */
|
|
9483
|
-
const DropdownNew =
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
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
|
-
|
|
9483
|
+
const DropdownNew = _ref => {
|
|
9484
|
+
let {
|
|
9485
|
+
isMulti,
|
|
9486
|
+
label,
|
|
9487
|
+
labelEmptyValue,
|
|
9488
|
+
options,
|
|
9489
|
+
selectedValue,
|
|
9490
|
+
placeHolder,
|
|
9491
|
+
onChange,
|
|
9492
|
+
required,
|
|
9493
|
+
disabled,
|
|
9494
|
+
width,
|
|
9495
|
+
error,
|
|
9496
|
+
errorMessage,
|
|
9497
|
+
labelColor,
|
|
9498
|
+
checkBoxColor,
|
|
9499
|
+
xIconShow,
|
|
9500
|
+
showLabelOnTop,
|
|
9501
|
+
orderBy,
|
|
9502
|
+
elementType
|
|
9503
|
+
} = _ref;
|
|
9504
|
+
return /*#__PURE__*/React$1.createElement(DropdownMain, {
|
|
9505
|
+
className: "DropdownMain",
|
|
9506
|
+
width: width
|
|
9507
|
+
}, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
|
|
9508
|
+
className: "DropdownMultiNew",
|
|
9509
|
+
placeHolder: placeHolder,
|
|
9510
|
+
label: label,
|
|
9511
|
+
labelEmptyValue: labelEmptyValue,
|
|
9512
|
+
labelColor: labelColor,
|
|
9513
|
+
checkBoxColor: checkBoxColor,
|
|
9514
|
+
required: required,
|
|
9515
|
+
options: options,
|
|
9516
|
+
width: width,
|
|
9517
|
+
disabled: disabled,
|
|
9518
|
+
error: error,
|
|
9519
|
+
errorMessage: errorMessage,
|
|
9520
|
+
selectedValue: selectedValue,
|
|
9521
|
+
xIconShow: xIconShow,
|
|
9522
|
+
onChange: onChange,
|
|
9523
|
+
showLabelOnTop: showLabelOnTop,
|
|
9524
|
+
orderBy: orderBy,
|
|
9525
|
+
elementType: elementType
|
|
9526
|
+
}) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
|
|
9527
|
+
className: "DropdownSingleNew",
|
|
9528
|
+
placeHolder: placeHolder,
|
|
9529
|
+
label: label,
|
|
9530
|
+
labelEmptyValue: labelEmptyValue,
|
|
9531
|
+
labelColor: labelColor,
|
|
9532
|
+
checkBoxColor: checkBoxColor,
|
|
9533
|
+
required: required,
|
|
9534
|
+
options: options,
|
|
9535
|
+
width: width,
|
|
9536
|
+
disabled: disabled,
|
|
9537
|
+
error: error,
|
|
9538
|
+
errorMessage: errorMessage,
|
|
9539
|
+
selectedValue: selectedValue,
|
|
9540
|
+
xIconShow: xIconShow,
|
|
9541
|
+
onChange: onChange,
|
|
9542
|
+
showLabelOnTop: showLabelOnTop,
|
|
9543
|
+
orderBy: orderBy,
|
|
9544
|
+
elementType: elementType
|
|
9545
|
+
}));
|
|
9546
|
+
};
|
|
9544
9547
|
DropdownNew.propTypes = {
|
|
9545
9548
|
placeHolder: PropTypes.string,
|
|
9546
9549
|
label: PropTypes.string,
|
|
@@ -24127,21 +24130,22 @@ const DeleteIcon = styled.div`
|
|
|
24127
24130
|
position: absolute;
|
|
24128
24131
|
`;
|
|
24129
24132
|
|
|
24130
|
-
const QuickFilterDropdownSingle =
|
|
24131
|
-
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24136
|
-
|
|
24137
|
-
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24133
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24134
|
+
let {
|
|
24135
|
+
label,
|
|
24136
|
+
hoverColor,
|
|
24137
|
+
options,
|
|
24138
|
+
selectedValue,
|
|
24139
|
+
placeHolder,
|
|
24140
|
+
onChange,
|
|
24141
|
+
disabled,
|
|
24142
|
+
width,
|
|
24143
|
+
error,
|
|
24144
|
+
errorMessage,
|
|
24145
|
+
xIconShow,
|
|
24146
|
+
labelColor,
|
|
24147
|
+
showLabelOnTop
|
|
24148
|
+
} = _ref;
|
|
24145
24149
|
const [isFocused, setIsFocused] = useState(false);
|
|
24146
24150
|
const [showOptions, setShowOptions] = useState(false);
|
|
24147
24151
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24539,23 +24543,24 @@ const IconContainer$2 = styled.div`
|
|
|
24539
24543
|
cursor: pointer;
|
|
24540
24544
|
`;
|
|
24541
24545
|
|
|
24542
|
-
const QuickFilterDropdownMultiSelection =
|
|
24543
|
-
|
|
24544
|
-
|
|
24545
|
-
|
|
24546
|
-
|
|
24547
|
-
|
|
24548
|
-
|
|
24549
|
-
|
|
24550
|
-
|
|
24551
|
-
|
|
24552
|
-
|
|
24553
|
-
|
|
24554
|
-
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24546
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24547
|
+
let {
|
|
24548
|
+
label,
|
|
24549
|
+
labelEmptyValue,
|
|
24550
|
+
options,
|
|
24551
|
+
selectedValue,
|
|
24552
|
+
placeHolder,
|
|
24553
|
+
onChange,
|
|
24554
|
+
required,
|
|
24555
|
+
disabled,
|
|
24556
|
+
width,
|
|
24557
|
+
error,
|
|
24558
|
+
errorMessage,
|
|
24559
|
+
labelColor,
|
|
24560
|
+
xIconShow,
|
|
24561
|
+
checkBoxColor,
|
|
24562
|
+
showLabelOnTop
|
|
24563
|
+
} = _ref;
|
|
24559
24564
|
const [isFocused, setIsFocused] = useState(false);
|
|
24560
24565
|
const [showOptions, setShowOptions] = useState(false);
|
|
24561
24566
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -32292,10 +32297,8 @@ const VisibleCardsContainer = styled.div`
|
|
|
32292
32297
|
|
|
32293
32298
|
.prev-card,
|
|
32294
32299
|
.next-card {
|
|
32295
|
-
background: #
|
|
32296
|
-
|
|
32297
|
-
opacity: 0.5;
|
|
32298
|
-
}
|
|
32300
|
+
background: #E7E7E7;
|
|
32301
|
+
opacity: 0.9;
|
|
32299
32302
|
}
|
|
32300
32303
|
|
|
32301
32304
|
.prev-card {
|
|
@@ -32318,9 +32321,9 @@ const VisibleCardsContainer = styled.div`
|
|
|
32318
32321
|
`;
|
|
32319
32322
|
const Card = styled.div`
|
|
32320
32323
|
position: absolute;
|
|
32321
|
-
width:
|
|
32324
|
+
width: 56%;
|
|
32325
|
+
min-width: 600px;
|
|
32322
32326
|
height: 100%;
|
|
32323
|
-
max-width: 755px;
|
|
32324
32327
|
background: #ffffff;
|
|
32325
32328
|
border-radius: 16px;
|
|
32326
32329
|
padding: 20px 50px;
|
|
@@ -32405,6 +32408,7 @@ const Dot = styled.button`
|
|
|
32405
32408
|
|
|
32406
32409
|
const InsightsCarousel = _ref => {
|
|
32407
32410
|
let {
|
|
32411
|
+
className,
|
|
32408
32412
|
children,
|
|
32409
32413
|
onClose,
|
|
32410
32414
|
title = "Insights:",
|
|
@@ -32431,7 +32435,9 @@ const InsightsCarousel = _ref => {
|
|
|
32431
32435
|
};
|
|
32432
32436
|
const prevIndex = (currentIndex - 1 + totalChildren) % totalChildren;
|
|
32433
32437
|
const nextIndex = (currentIndex + 1) % totalChildren;
|
|
32434
|
-
return /*#__PURE__*/React$1.createElement(Overlay,
|
|
32438
|
+
return /*#__PURE__*/React$1.createElement(Overlay, {
|
|
32439
|
+
className: className
|
|
32440
|
+
}, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header, null, /*#__PURE__*/React$1.createElement(Title, {
|
|
32435
32441
|
$titleColor: titleColor
|
|
32436
32442
|
}, /*#__PURE__*/React$1.cloneElement(icon, {
|
|
32437
32443
|
fill: iconColor
|