sag_components 2.0.0-beta161 → 2.0.0-beta163

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
@@ -366,21 +366,24 @@ const PlusIcon = ({
366
366
  fill: color
367
367
  }));
368
368
 
369
- const ArrowLeftIcon = ({
370
- width = '16',
371
- height = '16',
372
- color = '#212121',
373
- ...props
374
- }) => /*#__PURE__*/React__default["default"].createElement("svg", _extends$1({
375
- width: width,
376
- height: height,
377
- viewBox: "0 0 16 16",
378
- fill: "none",
379
- xmlns: "http://www.w3.org/2000/svg"
380
- }, props), /*#__PURE__*/React__default["default"].createElement("path", {
381
- d: "M1.21875 8.54703C1.0625 8.39078 1 8.20328 1 7.98453C1 7.79703 1.0625 7.60953 1.21875 7.45328L6.71875 2.20328C7.03125 1.92203 7.5 1.92203 7.78125 2.23453C8.0625 2.51578 8.0625 3.01578 7.75 3.29703L3.59375 7.23453H14.25C14.6562 7.23453 15 7.57828 15 7.98453C15 8.42203 14.6562 8.73453 14.25 8.73453H3.59375L7.75 12.7033C8.0625 12.9845 8.0625 13.4533 7.78125 13.7658C7.5 14.0783 7.03125 14.0783 6.71875 13.797L1.21875 8.54703Z",
382
- fill: color
383
- }));
369
+ const ArrowLeftIcon = _ref => {
370
+ let {
371
+ width = '16',
372
+ height = '16',
373
+ color = '#212121',
374
+ ...props
375
+ } = _ref;
376
+ return /*#__PURE__*/React__default["default"].createElement("svg", _extends$1({
377
+ width: width,
378
+ height: height,
379
+ viewBox: "0 0 16 16",
380
+ fill: "none",
381
+ xmlns: "http://www.w3.org/2000/svg"
382
+ }, props), /*#__PURE__*/React__default["default"].createElement("path", {
383
+ d: "M1.21875 8.54703C1.0625 8.39078 1 8.20328 1 7.98453C1 7.79703 1.0625 7.60953 1.21875 7.45328L6.71875 2.20328C7.03125 1.92203 7.5 1.92203 7.78125 2.23453C8.0625 2.51578 8.0625 3.01578 7.75 3.29703L3.59375 7.23453H14.25C14.6562 7.23453 15 7.57828 15 7.98453C15 8.42203 14.6562 8.73453 14.25 8.73453H3.59375L7.75 12.7033C8.0625 12.9845 8.0625 13.4533 7.78125 13.7658C7.5 14.0783 7.03125 14.0783 6.71875 13.797L1.21875 8.54703Z",
384
+ fill: color
385
+ }));
386
+ };
384
387
 
385
388
  const Plus = ({
386
389
  width = 17,
@@ -3154,6 +3157,24 @@ const UploadIcon = _ref => {
3154
3157
  }));
3155
3158
  };
3156
3159
 
3160
+ const UploadIconV2 = _ref => {
3161
+ let {
3162
+ color = '"#066768"',
3163
+ width = '14',
3164
+ height = '14'
3165
+ } = _ref;
3166
+ return /*#__PURE__*/React.createElement("svg", {
3167
+ width: width,
3168
+ height: height,
3169
+ viewBox: "0 0 14 14",
3170
+ fill: "none",
3171
+ xmlns: "http://www.w3.org/2000/svg"
3172
+ }, /*#__PURE__*/React.createElement("path", {
3173
+ d: "M7.4175 1.75616V9.91557C7.4175 10.1447 7.23005 10.3321 7.00094 10.3321C6.77183 10.3321 6.58437 10.1447 6.58437 9.91557V1.75616L3.96263 4.3779C3.80122 4.53931 3.53566 4.53931 3.37424 4.3779C3.21282 4.21648 3.21282 3.95092 3.37424 3.7895L6.70674 0.457001C6.86816 0.295583 7.13372 0.295583 7.29513 0.457001L10.6276 3.7895C10.7891 3.95092 10.7891 4.21648 10.6276 4.3779C10.4662 4.53931 10.2007 4.53931 10.0392 4.3779L7.4175 1.75616ZM5.75125 9.49901H2.00219C1.54137 9.49901 1.16906 9.87131 1.16906 10.3321V11.9984C1.16906 12.4592 1.54137 12.8315 2.00219 12.8315H11.9997C12.4605 12.8315 12.8328 12.4592 12.8328 11.9984V10.3321C12.8328 9.87131 12.4605 9.49901 11.9997 9.49901H8.25063V8.66589H11.9997C12.9187 8.66589 13.6659 9.4131 13.6659 10.3321V11.9984C13.6659 12.9174 12.9187 13.6646 11.9997 13.6646H2.00219C1.08315 13.6646 0.335938 12.9174 0.335938 11.9984V10.3321C0.335938 9.4131 1.08315 8.66589 2.00219 8.66589H5.75125V9.49901ZM10.3334 11.1653C10.3334 10.9995 10.3993 10.8406 10.5164 10.7234C10.6336 10.6062 10.7926 10.5404 10.9583 10.5404C11.124 10.5404 11.2829 10.6062 11.4001 10.7234C11.5173 10.8406 11.5831 10.9995 11.5831 11.1653C11.5831 11.331 11.5173 11.4899 11.4001 11.6071C11.2829 11.7243 11.124 11.7901 10.9583 11.7901C10.7926 11.7901 10.6336 11.7243 10.5164 11.6071C10.3993 11.4899 10.3334 11.331 10.3334 11.1653Z",
3174
+ fill: color
3175
+ }));
3176
+ };
3177
+
3157
3178
  const LinkButton = _ref => {
3158
3179
  let {
3159
3180
  text = '',
@@ -3315,6 +3336,14 @@ const LinkButton = _ref => {
3315
3336
  width: iconWidth,
3316
3337
  color: color
3317
3338
  }));
3339
+ case 'uploadv2':
3340
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$4, {
3341
+ className: "UploadIconV2"
3342
+ }, /*#__PURE__*/React__default["default"].createElement(UploadIconV2, {
3343
+ height: iconHeight,
3344
+ width: iconWidth,
3345
+ color: color
3346
+ }));
3318
3347
  default:
3319
3348
  return '';
3320
3349
  }
@@ -8846,6 +8875,8 @@ const DropdownSingleNew = ({
8846
8875
  React$1.useEffect(() => {
8847
8876
  if (selectedValue) {
8848
8877
  setSelectedOptions(selectedValue);
8878
+ } else {
8879
+ setSelectedOptions([]);
8849
8880
  }
8850
8881
  }, [selectedValue]);
8851
8882
  React$1.useEffect(() => {
@@ -9342,6 +9373,8 @@ const DropdownMultiNew = ({
9342
9373
  React$1.useEffect(() => {
9343
9374
  if (selectedValue) {
9344
9375
  setSelectedOptions(selectedValue);
9376
+ } else {
9377
+ setSelectedOptions([]);
9345
9378
  }
9346
9379
  }, [selectedValue]);
9347
9380
  React$1.useEffect(() => {
@@ -28164,6 +28197,12 @@ const IconButton$1 = props => {
28164
28197
  width: iconWidth,
28165
28198
  color: contentColor
28166
28199
  });
28200
+ case 'arrowleft':
28201
+ return /*#__PURE__*/React__default["default"].createElement(ArrowLeftIcon, {
28202
+ height: iconHeight,
28203
+ width: iconWidth,
28204
+ color: contentColor
28205
+ });
28167
28206
  default:
28168
28207
  return '';
28169
28208
  }