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 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
- isMulti,
9485
- label,
9486
- labelEmptyValue,
9487
- options,
9488
- selectedValue,
9489
- placeHolder,
9490
- onChange,
9491
- required,
9492
- disabled,
9493
- width,
9494
- error,
9495
- errorMessage,
9496
- labelColor,
9497
- checkBoxColor,
9498
- xIconShow,
9499
- showLabelOnTop,
9500
- orderBy,
9501
- elementType
9502
- }) => /*#__PURE__*/React$1.createElement(DropdownMain, {
9503
- className: "DropdownMain",
9504
- width: width
9505
- }, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
9506
- className: "DropdownMultiNew",
9507
- placeHolder: placeHolder,
9508
- label: label,
9509
- labelEmptyValue: labelEmptyValue,
9510
- labelColor: labelColor,
9511
- checkBoxColor: checkBoxColor,
9512
- required: required,
9513
- options: options,
9514
- width: width,
9515
- disabled: disabled,
9516
- error: error,
9517
- errorMessage: errorMessage,
9518
- selectedValue: selectedValue,
9519
- xIconShow: xIconShow,
9520
- onChange: onChange,
9521
- showLabelOnTop: showLabelOnTop,
9522
- orderBy: orderBy,
9523
- elementType: elementType
9524
- }) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
9525
- className: "DropdownSingleNew",
9526
- placeHolder: placeHolder,
9527
- label: label,
9528
- labelEmptyValue: labelEmptyValue,
9529
- labelColor: labelColor,
9530
- checkBoxColor: checkBoxColor,
9531
- required: required,
9532
- options: options,
9533
- width: width,
9534
- disabled: disabled,
9535
- error: error,
9536
- errorMessage: errorMessage,
9537
- selectedValue: selectedValue,
9538
- xIconShow: xIconShow,
9539
- onChange: onChange,
9540
- showLabelOnTop: showLabelOnTop,
9541
- orderBy: orderBy,
9542
- elementType: elementType
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
- label,
24132
- hoverColor,
24133
- options,
24134
- selectedValue,
24135
- placeHolder,
24136
- onChange,
24137
- disabled,
24138
- width,
24139
- error,
24140
- errorMessage,
24141
- xIconShow,
24142
- labelColor,
24143
- showLabelOnTop
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
- label,
24544
- labelEmptyValue,
24545
- options,
24546
- selectedValue,
24547
- placeHolder,
24548
- onChange,
24549
- required,
24550
- disabled,
24551
- width,
24552
- error,
24553
- errorMessage,
24554
- labelColor,
24555
- xIconShow,
24556
- checkBoxColor,
24557
- showLabelOnTop
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: #d3d3d3;
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: 60%;
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, null, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header, null, /*#__PURE__*/React$1.createElement(Title, {
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