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.esm.js CHANGED
@@ -356,21 +356,24 @@ const PlusIcon = ({
356
356
  fill: color
357
357
  }));
358
358
 
359
- const ArrowLeftIcon = ({
360
- width = '16',
361
- height = '16',
362
- color = '#212121',
363
- ...props
364
- }) => /*#__PURE__*/React$1.createElement("svg", _extends$1({
365
- width: width,
366
- height: height,
367
- viewBox: "0 0 16 16",
368
- fill: "none",
369
- xmlns: "http://www.w3.org/2000/svg"
370
- }, props), /*#__PURE__*/React$1.createElement("path", {
371
- 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",
372
- fill: color
373
- }));
359
+ const ArrowLeftIcon = _ref => {
360
+ let {
361
+ width = '16',
362
+ height = '16',
363
+ color = '#212121',
364
+ ...props
365
+ } = _ref;
366
+ return /*#__PURE__*/React$1.createElement("svg", _extends$1({
367
+ width: width,
368
+ height: height,
369
+ viewBox: "0 0 16 16",
370
+ fill: "none",
371
+ xmlns: "http://www.w3.org/2000/svg"
372
+ }, props), /*#__PURE__*/React$1.createElement("path", {
373
+ 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",
374
+ fill: color
375
+ }));
376
+ };
374
377
 
375
378
  const Plus = ({
376
379
  width = 17,
@@ -3144,6 +3147,24 @@ const UploadIcon = _ref => {
3144
3147
  }));
3145
3148
  };
3146
3149
 
3150
+ const UploadIconV2 = _ref => {
3151
+ let {
3152
+ color = '"#066768"',
3153
+ width = '14',
3154
+ height = '14'
3155
+ } = _ref;
3156
+ return /*#__PURE__*/React.createElement("svg", {
3157
+ width: width,
3158
+ height: height,
3159
+ viewBox: "0 0 14 14",
3160
+ fill: "none",
3161
+ xmlns: "http://www.w3.org/2000/svg"
3162
+ }, /*#__PURE__*/React.createElement("path", {
3163
+ 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",
3164
+ fill: color
3165
+ }));
3166
+ };
3167
+
3147
3168
  const LinkButton = _ref => {
3148
3169
  let {
3149
3170
  text = '',
@@ -3305,6 +3326,14 @@ const LinkButton = _ref => {
3305
3326
  width: iconWidth,
3306
3327
  color: color
3307
3328
  }));
3329
+ case 'uploadv2':
3330
+ return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3331
+ className: "UploadIconV2"
3332
+ }, /*#__PURE__*/React$1.createElement(UploadIconV2, {
3333
+ height: iconHeight,
3334
+ width: iconWidth,
3335
+ color: color
3336
+ }));
3308
3337
  default:
3309
3338
  return '';
3310
3339
  }
@@ -8836,6 +8865,8 @@ const DropdownSingleNew = ({
8836
8865
  useEffect(() => {
8837
8866
  if (selectedValue) {
8838
8867
  setSelectedOptions(selectedValue);
8868
+ } else {
8869
+ setSelectedOptions([]);
8839
8870
  }
8840
8871
  }, [selectedValue]);
8841
8872
  useEffect(() => {
@@ -9332,6 +9363,8 @@ const DropdownMultiNew = ({
9332
9363
  useEffect(() => {
9333
9364
  if (selectedValue) {
9334
9365
  setSelectedOptions(selectedValue);
9366
+ } else {
9367
+ setSelectedOptions([]);
9335
9368
  }
9336
9369
  }, [selectedValue]);
9337
9370
  useEffect(() => {
@@ -28154,6 +28187,12 @@ const IconButton$1 = props => {
28154
28187
  width: iconWidth,
28155
28188
  color: contentColor
28156
28189
  });
28190
+ case 'arrowleft':
28191
+ return /*#__PURE__*/React$1.createElement(ArrowLeftIcon, {
28192
+ height: iconHeight,
28193
+ width: iconWidth,
28194
+ color: contentColor
28195
+ });
28157
28196
  default:
28158
28197
  return '';
28159
28198
  }