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.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
- isMulti,
9495
- label,
9496
- labelEmptyValue,
9497
- options,
9498
- selectedValue,
9499
- placeHolder,
9500
- onChange,
9501
- required,
9502
- disabled,
9503
- width,
9504
- error,
9505
- errorMessage,
9506
- labelColor,
9507
- checkBoxColor,
9508
- xIconShow,
9509
- showLabelOnTop,
9510
- orderBy,
9511
- elementType
9512
- }) => /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
9513
- className: "DropdownMain",
9514
- width: width
9515
- }, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
9516
- className: "DropdownMultiNew",
9517
- placeHolder: placeHolder,
9518
- label: label,
9519
- labelEmptyValue: labelEmptyValue,
9520
- labelColor: labelColor,
9521
- checkBoxColor: checkBoxColor,
9522
- required: required,
9523
- options: options,
9524
- width: width,
9525
- disabled: disabled,
9526
- error: error,
9527
- errorMessage: errorMessage,
9528
- selectedValue: selectedValue,
9529
- xIconShow: xIconShow,
9530
- onChange: onChange,
9531
- showLabelOnTop: showLabelOnTop,
9532
- orderBy: orderBy,
9533
- elementType: elementType
9534
- }) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
9535
- className: "DropdownSingleNew",
9536
- placeHolder: placeHolder,
9537
- label: label,
9538
- labelEmptyValue: labelEmptyValue,
9539
- labelColor: labelColor,
9540
- checkBoxColor: checkBoxColor,
9541
- required: required,
9542
- options: options,
9543
- width: width,
9544
- disabled: disabled,
9545
- error: error,
9546
- errorMessage: errorMessage,
9547
- selectedValue: selectedValue,
9548
- xIconShow: xIconShow,
9549
- onChange: onChange,
9550
- showLabelOnTop: showLabelOnTop,
9551
- orderBy: orderBy,
9552
- elementType: elementType
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
- label,
24142
- hoverColor,
24143
- options,
24144
- selectedValue,
24145
- placeHolder,
24146
- onChange,
24147
- disabled,
24148
- width,
24149
- error,
24150
- errorMessage,
24151
- xIconShow,
24152
- labelColor,
24153
- showLabelOnTop
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
- label,
24554
- labelEmptyValue,
24555
- options,
24556
- selectedValue,
24557
- placeHolder,
24558
- onChange,
24559
- required,
24560
- disabled,
24561
- width,
24562
- error,
24563
- errorMessage,
24564
- labelColor,
24565
- xIconShow,
24566
- checkBoxColor,
24567
- showLabelOnTop
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: #d3d3d3;
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: 60%;
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, null, /*#__PURE__*/React__default["default"].createElement(ModalContent, null, /*#__PURE__*/React__default["default"].createElement(Header, null, /*#__PURE__*/React__default["default"].createElement(Title, {
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