@appquality/unguess-design-system 3.1.90-beta-attachments → 3.1.92-beta-attachments

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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "svg.preview.background": "editor"
3
+ }
package/build/index.js CHANGED
@@ -841,48 +841,48 @@ Tag.Avatar = StyledAvatar;
841
841
  Tag.Close = StyledClose;
842
842
  Tag.SecondaryText = StyledSpan;
843
843
 
844
- var _path$F;
845
- function _extends$R() { _extends$R = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
846
- const SvgUgSquare = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$R({
844
+ var _path$E;
845
+ function _extends$Q() { _extends$Q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
846
+ const SvgUgSquare = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$Q({
847
847
  width: 24,
848
848
  height: 24,
849
849
  viewBox: "0 0 24 24",
850
850
  fill: "none",
851
851
  xmlns: "http://www.w3.org/2000/svg"
852
- }, props), _path$F || (_path$F = /*#__PURE__*/React__namespace.createElement("path", {
852
+ }, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
853
853
  d: "M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19Z",
854
854
  fill: "#E80C7A"
855
855
  })));
856
856
 
857
- var _path$E;
858
- function _extends$Q() { _extends$Q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
859
- const SvgUgCircle = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$Q({
857
+ var _path$D;
858
+ function _extends$P() { _extends$P = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
859
+ const SvgUgCircle = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$P({
860
860
  width: 24,
861
861
  height: 24,
862
862
  viewBox: "0 0 24 24",
863
863
  fill: "none",
864
864
  xmlns: "http://www.w3.org/2000/svg"
865
- }, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
865
+ }, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
866
866
  d: "M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
867
867
  fill: "#FFCD1A"
868
868
  })));
869
869
 
870
- var _path$D;
871
- function _extends$P() { _extends$P = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
872
- const SvgUgTriangle = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$P({
870
+ var _path$C;
871
+ function _extends$O() { _extends$O = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
872
+ const SvgUgTriangle = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
873
873
  width: 24,
874
874
  height: 24,
875
875
  viewBox: "0 0 24 24",
876
876
  fill: "none",
877
877
  xmlns: "http://www.w3.org/2000/svg"
878
- }, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
878
+ }, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
879
879
  d: "M11.9993 7.32625L18.3893 17.5563H5.60929L11.9993 7.32625ZM11.1493 4.91625L2.94929 18.0262C2.53929 18.6962 3.01929 19.5563 3.79929 19.5563H20.1993C20.9893 19.5563 21.4593 18.6962 21.0493 18.0262L12.8493 4.91625C12.4593 4.28625 11.5393 4.28625 11.1493 4.91625Z",
880
880
  fill: "#7B0DFF"
881
881
  })));
882
882
 
883
- var _rect$4, _path$C, _path2$c, _path3$4;
884
- function _extends$O() { _extends$O = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
885
- const SvgCampaignCompleted = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
883
+ var _rect$4, _path$B, _path2$c, _path3$4;
884
+ function _extends$N() { _extends$N = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
885
+ const SvgCampaignCompleted = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
886
886
  width: 24,
887
887
  height: 24,
888
888
  viewBox: "0 0 24 24",
@@ -893,7 +893,7 @@ const SvgCampaignCompleted = props => /*#__PURE__*/React__namespace.createElemen
893
893
  height: 24,
894
894
  rx: 12,
895
895
  fill: "#F6F6F8"
896
- })), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
896
+ })), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
897
897
  d: "M20.6953 5.73905C21.0148 5.41953 21.0148 4.90149 20.6953 4.58197C20.3758 4.26245 19.8577 4.26245 19.5382 4.58197L11.88 12.2402L10.0849 9.95981C9.80539 9.60476 9.29098 9.54352 8.93593 9.82303C8.58088 10.1025 8.51963 10.6169 8.79914 10.972L11.1642 13.9763C11.3089 14.16 11.5252 14.2731 11.7586 14.2869C11.9921 14.3008 12.2203 14.2141 12.3856 14.0487L20.6953 5.73905Z",
898
898
  fill: "#50BF95"
899
899
  })), _path2$c || (_path2$c = /*#__PURE__*/React__namespace.createElement("path", {
@@ -904,9 +904,9 @@ const SvgCampaignCompleted = props => /*#__PURE__*/React__namespace.createElemen
904
904
  fill: "#007345"
905
905
  })));
906
906
 
907
- var _rect$3, _path$B, _path2$b;
908
- function _extends$N() { _extends$N = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
909
- const SvgCampaignLocked = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
907
+ var _rect$3, _path$A, _path2$b;
908
+ function _extends$M() { _extends$M = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
909
+ const SvgCampaignLocked = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
910
910
  width: 24,
911
911
  height: 24,
912
912
  viewBox: "0 0 24 24",
@@ -917,7 +917,7 @@ const SvgCampaignLocked = props => /*#__PURE__*/React__namespace.createElement("
917
917
  height: 24,
918
918
  rx: 12,
919
919
  fill: "#F6F6F8"
920
- })), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
920
+ })), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
921
921
  fillRule: "evenodd",
922
922
  clipRule: "evenodd",
923
923
  d: "M13.55 19.0875C14.25 19.7875 15.1063 20.1375 16.1188 20.1375C17.1313 20.1375 17.9875 19.7875 18.6875 19.0875C19.3875 18.3875 19.7375 17.5312 19.7375 16.5187C19.7375 15.5062 19.3875 14.65 18.6875 13.95C17.9875 13.25 17.1313 12.9 16.1188 12.9C15.1063 12.9 14.25 13.25 13.55 13.95C12.85 14.65 12.5 15.5062 12.5 16.5187C12.5 17.5312 12.85 18.3875 13.55 19.0875ZM17.5062 18.2812C17.4187 18.2812 17.3375 18.25 17.2625 18.1875L15.7438 16.7812C15.6813 16.6687 15.65 16.6 15.65 16.575V14.55C15.65 14.4375 15.6875 14.3437 15.7625 14.2687C15.8375 14.1937 15.9313 14.1562 16.0438 14.1562C16.1563 14.1562 16.25 14.1937 16.325 14.2687C16.4 14.3437 16.4375 14.4375 16.4375 14.55V16.4813L17.7313 17.6625C17.8063 17.725 17.8469 17.8062 17.8531 17.9062C17.8594 18.0063 17.825 18.0938 17.75 18.1688C17.675 18.2438 17.5937 18.2812 17.5062 18.2812Z",
@@ -929,9 +929,9 @@ const SvgCampaignLocked = props => /*#__PURE__*/React__namespace.createElement("
929
929
  fill: "#F4AC1A"
930
930
  })));
931
931
 
932
- var _rect$2, _path$A, _path2$a;
933
- function _extends$M() { _extends$M = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
934
- const SvgCampaignIncoming = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
932
+ var _rect$2, _path$z, _path2$a;
933
+ function _extends$L() { _extends$L = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
934
+ const SvgCampaignIncoming = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
935
935
  width: 24,
936
936
  height: 24,
937
937
  viewBox: "0 0 24 24",
@@ -942,7 +942,7 @@ const SvgCampaignIncoming = props => /*#__PURE__*/React__namespace.createElement
942
942
  height: 24,
943
943
  rx: 12,
944
944
  fill: "#F6F6F8"
945
- })), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
945
+ })), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
946
946
  d: "M11.2266 13.0313H14.997M11.2266 9.26075V13.0313V9.26075ZM11.2266 13.0313L20.121 5.03906L11.2266 13.0313Z",
947
947
  stroke: "#024780",
948
948
  strokeWidth: 1.5,
@@ -956,9 +956,9 @@ const SvgCampaignIncoming = props => /*#__PURE__*/React__namespace.createElement
956
956
  strokeLinejoin: "round"
957
957
  })));
958
958
 
959
- var _rect$1, _path$z, _path2$9, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
960
- function _extends$L() { _extends$L = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
961
- const SvgCampaignProgress = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
959
+ var _rect$1, _path$y, _path2$9, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
960
+ function _extends$K() { _extends$K = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
961
+ const SvgCampaignProgress = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
962
962
  width: 24,
963
963
  height: 24,
964
964
  viewBox: "0 0 24 24",
@@ -969,7 +969,7 @@ const SvgCampaignProgress = props => /*#__PURE__*/React__namespace.createElement
969
969
  height: 24,
970
970
  rx: 12,
971
971
  fill: "#F6F6F8"
972
- })), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
972
+ })), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
973
973
  d: "M13.059 16.7647C13.059 16.1799 12.585 15.7059 12.0002 15.7059C11.4154 15.7059 10.9414 16.1799 10.9414 16.7647V19.9412C10.9414 20.5259 11.4154 21 12.0002 21C12.585 21 13.059 20.5259 13.059 19.9412V16.7647Z",
974
974
  fill: "#D1820A"
975
975
  })), _path2$9 || (_path2$9 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -1001,9 +1001,9 @@ const SvgCampaignProgress = props => /*#__PURE__*/React__namespace.createElement
1001
1001
  fill: "#FFB65A"
1002
1002
  })));
1003
1003
 
1004
- var _g$b, _path$y, _path2$8, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
1005
- function _extends$K() { _extends$K = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
1006
- const SvgCampaignExperiential = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
1004
+ var _g$b, _path$x, _path2$8, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
1005
+ function _extends$J() { _extends$J = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$J.apply(this, arguments); }
1006
+ const SvgCampaignExperiential = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
1007
1007
  width: 24,
1008
1008
  height: 24,
1009
1009
  viewBox: "0 0 24 24",
@@ -1015,7 +1015,7 @@ const SvgCampaignExperiential = props => /*#__PURE__*/React__namespace.createEle
1015
1015
  opacity: 0.3,
1016
1016
  d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",
1017
1017
  fill: "#50BF95"
1018
- }))), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
1018
+ }))), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
1019
1019
  d: "M12.487 3.19652C8.68003 3.19652 5.59895 6.27761 5.59895 10.0846C5.59895 10.2597 5.59895 10.4348 5.62438 10.5855C5.29857 11.1863 4.82307 12.013 4.24678 12.514C3.82117 12.8897 3.92096 13.2908 3.97085 13.4405C4.09609 13.7663 4.44635 14.0413 5.02265 14.2418C5.22322 14.3172 5.44825 14.3671 5.64883 14.417L5.67427 16.8464C5.67427 17.7984 6.47559 18.6251 7.45304 18.6251L8.93044 18.1496L9.08111 19.0263C9.18091 19.6026 9.68185 20.0282 10.2836 20.0282C10.3589 20.0282 10.4343 20.0282 10.5086 20.0028L15.1424 19.177C15.8185 19.0517 16.2441 18.4256 16.1443 17.7495L15.8185 16.1214C17.9974 14.9189 19.375 12.5892 19.375 10.0845C19.375 6.30279 16.2696 3.19641 12.4869 3.19641L12.487 3.19652Z",
1020
1020
  fill: "#2B8473",
1021
1021
  stroke: "#2B8473"
@@ -1071,9 +1071,9 @@ const SvgCampaignExperiential = props => /*#__PURE__*/React__namespace.createEle
1071
1071
  fill: "#ECF4F2"
1072
1072
  })));
1073
1073
 
1074
- var _g$a, _path$x;
1075
- function _extends$J() { _extends$J = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$J.apply(this, arguments); }
1076
- const SvgCampaignFunctional = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
1074
+ var _g$a, _path$w;
1075
+ function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
1076
+ const SvgCampaignFunctional = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
1077
1077
  width: 24,
1078
1078
  height: 24,
1079
1079
  viewBox: "0 0 24 24",
@@ -1085,7 +1085,7 @@ const SvgCampaignFunctional = props => /*#__PURE__*/React__namespace.createEleme
1085
1085
  opacity: 0.3,
1086
1086
  d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",
1087
1087
  fill: "#003A57"
1088
- }))), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
1088
+ }))), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
1089
1089
  d: "M17.9983 7.16705C17.5188 6.58566 17.1422 6.73039 17.1422 6.73039C17.1422 6.73039 16.406 7.02453 16.0401 7.16303C15.6742 7.30153 15.2408 7.17357 15.2408 7.17357L14.7579 6.8851C14.7579 6.8851 14.4296 6.56554 14.3656 6.18067C14.3123 5.78958 14.1888 5.00269 14.1888 5.00269C14.1888 5.00269 14.1356 4.61159 13.3938 4.47257C12.652 4.33356 12.4678 4.68715 12.4678 4.68715C12.4678 4.68715 12.0932 5.38344 11.9091 5.73703C11.7249 6.09062 11.3114 6.27118 11.3114 6.27118L10.7639 6.36908C10.7639 6.36908 10.3144 6.33771 10.0176 6.07271L9.12712 5.27769C9.12712 5.27769 8.8303 5.01268 8.18313 5.38632C7.53595 5.75997 7.61705 6.14953 7.61705 6.14953L7.86033 7.3182C7.94143 7.70776 7.74381 8.11275 7.74381 8.11275L7.38528 8.53794C7.38528 8.53794 7.02217 8.80577 6.62387 8.78845C6.22557 8.77114 5.43527 8.7474 5.43527 8.7474C5.43527 8.7474 5.03697 8.73009 4.78646 9.44201C4.53595 10.1539 4.84804 10.3956 4.84804 10.3956C4.84804 10.3956 5.46774 10.896 5.77983 11.1376C6.09192 11.3793 6.19373 11.8296 6.19373 11.8296L6.20207 12.3921C6.20207 12.3921 6.09618 12.8314 5.79331 13.079C5.49043 13.3266 4.86759 13.8171 4.86759 13.8171C4.86759 13.8171 4.56471 14.0647 4.81769 14.7769C5.08144 15.4828 5.46713 15.4783 5.46713 15.4783C5.46713 15.4783 6.26012 15.4569 6.64582 15.4524C7.03152 15.4479 7.40116 15.7145 7.40116 15.7145L7.76458 16.1447C7.76458 16.1447 7.96976 16.5499 7.89441 16.9425C7.81907 17.3351 7.66208 18.1094 7.66208 18.1094C7.66208 18.1094 7.58674 18.502 8.23785 18.8824C8.88895 19.2629 9.18553 19.0044 9.18553 19.0044C9.18553 19.0044 9.7724 18.4765 10.069 18.218C10.3655 17.9595 10.8115 17.9347 10.8115 17.9347L11.3609 18.0394C11.3609 18.0394 11.77 18.225 11.9608 18.5803C12.1516 18.9356 12.5268 19.6354 12.5268 19.6354C12.5268 19.6354 12.7176 19.9907 13.4583 19.8539C14.1946 19.7343 14.2529 19.337 14.2529 19.337C14.2529 19.337 14.3586 18.5487 14.4232 18.1623C14.4814 17.765 14.8086 17.4598 14.8086 17.4598L15.2939 17.1796C15.2939 17.1796 15.7281 17.0598 16.095 17.1971C16.4682 17.3453 17.1975 17.637 17.1975 17.637C17.1975 17.637 17.5707 17.7851 18.0424 17.2073C18.5142 16.6295 18.3189 16.2913 18.3189 16.2913C18.3189 16.2913 17.9006 15.6164 17.6882 15.2736C17.4759 14.9307 17.5197 14.4836 17.5197 14.4836L17.7038 13.9555C17.7038 13.9555 17.9482 13.5816 18.3203 13.454C18.6925 13.3264 19.4431 13.0822 19.4431 13.0822C19.4431 13.0822 19.8153 12.9546 19.8113 12.2005C19.8074 11.4464 19.4297 11.3153 19.4297 11.3153C19.4297 11.3153 18.6807 11.0641 18.303 10.9331C17.9253 10.802 17.677 10.4217 17.677 10.4217L17.4861 9.8919C17.4861 9.8919 17.4293 9.4447 17.6368 9.1067C17.8443 8.7687 18.2486 8.09891 18.2486 8.09891C18.2486 8.09891 18.4778 7.74844 17.9983 7.16707L17.9983 7.16705ZM9.33902 8.38466L10.6176 10.5992C10.0433 11.149 9.82793 11.9715 10.0567 12.7413L7.86713 14.0054C6.98868 12.0106 7.60355 9.66286 9.33905 8.38457L9.33902 8.38466ZM13.9748 16.414C11.9998 17.2778 9.65918 16.6363 8.37099 14.8783L10.5605 13.6141C11.1128 14.1971 11.9329 14.4219 12.6961 14.1994L13.9748 16.414ZM12.6552 13.132C12.1159 13.4434 11.4325 13.2561 11.1176 12.7107C10.8027 12.1652 10.9822 11.4797 11.5215 11.1684C12.0608 10.857 12.7441 11.0443 13.0591 11.5897C13.374 12.1352 13.1945 12.8207 12.6552 13.132ZM14.8376 15.9158L13.5591 13.7012C14.1333 13.1515 14.3487 12.3289 14.12 11.5591L16.3095 10.295C17.188 12.2898 16.5731 14.6376 14.8376 15.9159L14.8376 15.9158ZM13.6161 10.6863C13.0638 10.1034 12.2437 9.87862 11.4805 10.1011L10.2019 7.88652C12.1769 7.02266 14.5112 7.65314 15.8057 9.42223L13.6161 10.6863Z",
1090
1090
  fill: "#003A57"
1091
1091
  })));
@@ -1947,8 +1947,8 @@ const WaffleChart = ({ height, width, data, total, tooltip, }) => {
1947
1947
  };
1948
1948
 
1949
1949
  var _g$9, _defs$4;
1950
- function _extends$I() { _extends$I = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$I.apply(this, arguments); }
1951
- const SvgSentiment1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
1950
+ function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
1951
+ const SvgSentiment1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
1952
1952
  width: 27,
1953
1953
  height: 26,
1954
1954
  viewBox: "0 0 27 26",
@@ -1971,8 +1971,8 @@ const SvgSentiment1 = props => /*#__PURE__*/React__namespace.createElement("svg"
1971
1971
  })))));
1972
1972
 
1973
1973
  var _g$8, _defs$3;
1974
- function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$H.apply(this, arguments); }
1975
- const SvgSentiment2 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
1974
+ function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
1975
+ const SvgSentiment2 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
1976
1976
  width: 27,
1977
1977
  height: 26,
1978
1978
  viewBox: "0 0 27 26",
@@ -1995,8 +1995,8 @@ const SvgSentiment2 = props => /*#__PURE__*/React__namespace.createElement("svg"
1995
1995
  })))));
1996
1996
 
1997
1997
  var _g$7, _defs$2;
1998
- function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
1999
- const SvgSentiment3 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
1998
+ function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
1999
+ const SvgSentiment3 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
2000
2000
  width: 27,
2001
2001
  height: 26,
2002
2002
  viewBox: "0 0 27 26",
@@ -2025,8 +2025,8 @@ const SvgSentiment3 = props => /*#__PURE__*/React__namespace.createElement("svg"
2025
2025
  })))));
2026
2026
 
2027
2027
  var _g$6, _defs$1;
2028
- function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$F.apply(this, arguments); }
2029
- const SvgSentiment4 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
2028
+ function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
2029
+ const SvgSentiment4 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
2030
2030
  width: 27,
2031
2031
  height: 26,
2032
2032
  viewBox: "0 0 27 26",
@@ -2055,8 +2055,8 @@ const SvgSentiment4 = props => /*#__PURE__*/React__namespace.createElement("svg"
2055
2055
  })))));
2056
2056
 
2057
2057
  var _g$5, _defs;
2058
- function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$E.apply(this, arguments); }
2059
- const SvgSentiment5 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
2058
+ function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
2059
+ const SvgSentiment5 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
2060
2060
  width: 26,
2061
2061
  height: 26,
2062
2062
  viewBox: "0 0 26 26",
@@ -2370,8 +2370,13 @@ const ChatContextProvider = ({ onSave, onFileUpload, setMentionableUsers, childr
2370
2370
  });
2371
2371
  }
2372
2372
  },
2373
- clearThumbnails: () => {
2374
- setThumbnails([]);
2373
+ clearInput: () => {
2374
+ if (editor && !editor.isEmpty) {
2375
+ editor.commands.clearContent();
2376
+ }
2377
+ if (thumbnails.length > 0)
2378
+ setThumbnails([]);
2379
+ console.log("thumbnails clear triggered", thumbnails);
2375
2380
  },
2376
2381
  removeThumbnail: (index) => setThumbnails(thumbnails.filter((_, i) => i !== index)),
2377
2382
  triggerSave: () => {
@@ -2379,6 +2384,7 @@ const ChatContextProvider = ({ onSave, onFileUpload, setMentionableUsers, childr
2379
2384
  onSave(editor, getMentions(editor));
2380
2385
  editor.commands.clearContent();
2381
2386
  setThumbnails([]);
2387
+ console.log("save triggered", thumbnails);
2382
2388
  }
2383
2389
  },
2384
2390
  mentionableUsers: setMentionableUsers,
@@ -2793,28 +2799,28 @@ const Notification = (_a) => {
2793
2799
  const ToastProvider = (props) => (jsxRuntime.jsx(reactNotifications.ToastProvider, Object.assign({}, props)));
2794
2800
  const useToast = reactNotifications.useToast;
2795
2801
 
2796
- var _path$w;
2797
- function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$D.apply(this, arguments); }
2798
- const SvgBoldFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
2802
+ var _path$v;
2803
+ function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
2804
+ const SvgBoldFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
2799
2805
  xmlns: "http://www.w3.org/2000/svg",
2800
2806
  width: 16,
2801
2807
  height: 16,
2802
2808
  focusable: "false",
2803
2809
  viewBox: "0 0 16 16"
2804
- }, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
2810
+ }, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
2805
2811
  fill: "currentColor",
2806
2812
  d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0 01-1.27 3.108C12.078 8.39 13 9.855 13 11.5c0 2.452-2.048 4.5-4.5 4.5H4a1 1 0 01-1-1V1a1 1 0 011-1h3.5zM5 14h3.5c1.348 0 2.5-1.152 2.5-2.5S9.848 9 8.5 9H5v5zM7.5 2H5v5h2.5C8.848 7 10 5.848 10 4.5S8.848 2 7.5 2z"
2807
2813
  })));
2808
2814
 
2809
- var _path$v;
2810
- function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$C.apply(this, arguments); }
2811
- const SvgItalicFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
2815
+ var _path$u;
2816
+ function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
2817
+ const SvgItalicFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
2812
2818
  xmlns: "http://www.w3.org/2000/svg",
2813
2819
  width: 16,
2814
2820
  height: 16,
2815
2821
  focusable: "false",
2816
2822
  viewBox: "0 0 16 16"
2817
- }, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
2823
+ }, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
2818
2824
  fill: "none",
2819
2825
  stroke: "currentColor",
2820
2826
  strokeLinecap: "round",
@@ -2822,15 +2828,15 @@ const SvgItalicFill = props => /*#__PURE__*/React__namespace.createElement("svg"
2822
2828
  d: "M8 1h3M9.5 1l-3 14M5 15h3"
2823
2829
  })));
2824
2830
 
2825
- var _path$u, _path2$7;
2826
- function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$B.apply(this, arguments); }
2827
- const SvgQuoteFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
2831
+ var _path$t, _path2$7;
2832
+ function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
2833
+ const SvgQuoteFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
2828
2834
  xmlns: "http://www.w3.org/2000/svg",
2829
2835
  width: 16,
2830
2836
  height: 16,
2831
2837
  focusable: "false",
2832
2838
  viewBox: "0 0 16 16"
2833
- }, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
2839
+ }, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
2834
2840
  fill: "currentColor",
2835
2841
  d: "M7 8H4c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1zm6 0h-3c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1z"
2836
2842
  })), _path2$7 || (_path2$7 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -2842,8 +2848,8 @@ const SvgQuoteFill = props => /*#__PURE__*/React__namespace.createElement("svg",
2842
2848
  })));
2843
2849
 
2844
2850
  var _g$4;
2845
- function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
2846
- const SvgH1Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
2851
+ function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
2852
+ const SvgH1Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
2847
2853
  xmlns: "http://www.w3.org/2000/svg",
2848
2854
  width: 16,
2849
2855
  height: 16,
@@ -2870,8 +2876,8 @@ const SvgH1Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _e
2870
2876
  }))));
2871
2877
 
2872
2878
  var _g$3;
2873
- function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$z.apply(this, arguments); }
2874
- const SvgH2Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
2879
+ function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
2880
+ const SvgH2Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2875
2881
  xmlns: "http://www.w3.org/2000/svg",
2876
2882
  width: 16,
2877
2883
  height: 16,
@@ -2898,8 +2904,8 @@ const SvgH2Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _e
2898
2904
  }))));
2899
2905
 
2900
2906
  var _g$2;
2901
- function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
2902
- const SvgH3Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2907
+ function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
2908
+ const SvgH3Fill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2903
2909
  xmlns: "http://www.w3.org/2000/svg",
2904
2910
  width: 16,
2905
2911
  height: 16,
@@ -2972,58 +2978,58 @@ const Tooltip = styled__default["default"](TooltipComponent) `
2972
2978
  box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`, getColor("neutralHue", 600, theme, 0.15))};
2973
2979
  `;
2974
2980
 
2975
- var _path$t;
2976
- function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$x.apply(this, arguments); }
2977
- const SvgBoldStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2981
+ var _path$s;
2982
+ function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
2983
+ const SvgBoldStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2978
2984
  xmlns: "http://www.w3.org/2000/svg",
2979
2985
  width: 16,
2980
2986
  height: 16,
2981
2987
  focusable: "false",
2982
2988
  viewBox: "0 0 16 16"
2983
- }, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
2989
+ }, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
2984
2990
  fill: "currentColor",
2985
2991
  d: "M7 1c2.176 0 4 1.824 4 4 0 1.315-.666 2.501-1.673 3.234C10.869 8.792 12 10.287 12 12c0 2.176-1.824 4-4 4H3.5a.5.5 0 01-.5-.5v-14a.5.5 0 01.5-.5H7zM4 15h4c1.624 0 3-1.376 3-3S9.624 9 8 9H4v6zM7 2H4v6h3c1.624 0 3-1.376 3-3S8.624 2 7 2z"
2986
2992
  })));
2987
2993
 
2988
- var _path$s;
2989
- function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
2990
- const SvgItalicStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2994
+ var _path$r;
2995
+ function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
2996
+ const SvgItalicStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2991
2997
  xmlns: "http://www.w3.org/2000/svg",
2992
2998
  width: 16,
2993
2999
  height: 16,
2994
3000
  focusable: "false",
2995
3001
  viewBox: "0 0 16 16"
2996
- }, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
3002
+ }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
2997
3003
  fill: "none",
2998
3004
  stroke: "currentColor",
2999
3005
  strokeLinecap: "round",
3000
3006
  d: "M7.5 1.5h3M9 1.5l-3 14m-1.5 0h3"
3001
3007
  })));
3002
3008
 
3003
- var _path$r;
3004
- function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
3005
- const SvgAtStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
3009
+ var _path$q;
3010
+ function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
3011
+ const SvgAtStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
3006
3012
  xmlns: "http://www.w3.org/2000/svg",
3007
3013
  width: 16,
3008
3014
  height: 16,
3009
3015
  focusable: "false",
3010
3016
  role: "presentation"
3011
- }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
3017
+ }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
3012
3018
  fill: "none",
3013
3019
  stroke: "currentColor",
3014
3020
  strokeLinecap: "round",
3015
3021
  d: "M11.5 4.5V8h0A3.5 3.5 0 018 11.5h0A3.5 3.5 0 014.5 8h0A3.5 3.5 0 018 4.5h0A3.5 3.5 0 0111.5 8h0v1.5a2 2 0 002 2h0a2 2 0 002-2V8h0A7.5 7.5 0 008 .5h0A7.5 7.5 0 00.5 8h0A7.5 7.5 0 008 15.5h3.41"
3016
3022
  })));
3017
3023
 
3018
- var _path$q;
3019
- function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
3020
- const SvgClipboard = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
3024
+ var _path$p;
3025
+ function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
3026
+ const SvgClipboard = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
3021
3027
  xmlns: "http://www.w3.org/2000/svg",
3022
3028
  width: 16,
3023
3029
  height: 16,
3024
3030
  focusable: "false",
3025
3031
  role: "presentation"
3026
- }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
3032
+ }, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
3027
3033
  fill: "none",
3028
3034
  stroke: "currentColor",
3029
3035
  strokeLinecap: "round",
@@ -3345,9 +3351,9 @@ const editorExtensions = ({ placeholderOptions, mentionableUsers, }) => {
3345
3351
  ];
3346
3352
  };
3347
3353
 
3348
- var _circle$2, _path$p, _path2$6;
3349
- function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
3350
- const SvgRemoveMediaIcon = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
3354
+ var _circle$2, _path$o, _path2$6;
3355
+ function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
3356
+ const SvgRemoveMediaIcon = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
3351
3357
  width: 56,
3352
3358
  height: 56,
3353
3359
  viewBox: "0 0 56 56",
@@ -3358,7 +3364,7 @@ const SvgRemoveMediaIcon = props => /*#__PURE__*/React__namespace.createElement(
3358
3364
  cy: 28,
3359
3365
  r: 28,
3360
3366
  fill: "#edf7ff"
3361
- })), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
3367
+ })), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
3362
3368
  d: "M16.929 16.929L39.071 39.071",
3363
3369
  stroke: "currentColor",
3364
3370
  strokeWidth: 4
@@ -3416,9 +3422,9 @@ const ImageThumbnail = ({ src, index = 0, removeThumbnail, clickThumbnail, showX
3416
3422
  jsxRuntime.jsx("span", { children: "error uploading media" })), !isLoadingMedia && (jsxRuntime.jsx(Preview$1, Object.assign({ url: src }, { children: showX && (jsxRuntime.jsx(DeleteThumbnailX, { deleteThumbnail: (e) => handleCancel(e) })) })))] })));
3417
3423
  };
3418
3424
 
3419
- var _circle$1, _path$o;
3420
- function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
3421
- const SvgVideoPlayIcon = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
3425
+ var _circle$1, _path$n;
3426
+ function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
3427
+ const SvgVideoPlayIcon = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
3422
3428
  width: 56,
3423
3429
  height: 56,
3424
3430
  viewBox: "0 0 56 56",
@@ -3429,7 +3435,7 @@ const SvgVideoPlayIcon = props => /*#__PURE__*/React__namespace.createElement("s
3429
3435
  cy: 28,
3430
3436
  r: 28,
3431
3437
  fill: "white"
3432
- })), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
3438
+ })), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
3433
3439
  d: "M47 28L18.5 44.4545L18.5 11.5455L47 28Z",
3434
3440
  fill: "currentColor"
3435
3441
  })));
@@ -3532,13 +3538,16 @@ const ThumbnailContainer = ({ openLightbox }) => {
3532
3538
  });
3533
3539
  });
3534
3540
  console.log("mediafiles", mediaFiles);
3541
+ if (!mediaFiles || mediaFiles.length === 0) {
3542
+ return null;
3543
+ }
3535
3544
  return (jsxRuntime.jsx(Grid, { children: jsxRuntime.jsx(Row$1, Object.assign({ className: "responsive-container" }, { children: mediaFiles.map((file, index) => {
3536
3545
  // Check if item is an image or a video
3537
- if (file.fileType.includes('image'))
3538
- return (jsxRuntime.jsx(Col, Object.assign({ xs: 12, sm: 3, className: "flex-3-sm" }, { children: jsxRuntime.jsx(ImageThumbnail, { src: file.previewUrl, index: index, showX: true, isLoadingMedia: file.status === "uploading", removeThumbnail: () => removeThumbnail(index), clickThumbnail: () => {
3546
+ if (file.fileType.includes("image"))
3547
+ return (jsxRuntime.jsx(Col, Object.assign({ xs: 12, sm: 3, xl: 3, lg: 3, className: "flex-3-sm" }, { children: jsxRuntime.jsx(ImageThumbnail, { src: file.previewUrl, index: index, showX: true, isLoadingMedia: file.status === "uploading", removeThumbnail: () => removeThumbnail(index), clickThumbnail: () => {
3539
3548
  openLightbox(thumbnails[index], index);
3540
3549
  } }, index) })));
3541
- if (file.fileType.includes('video'))
3550
+ if (file.fileType.includes("video"))
3542
3551
  return (jsxRuntime.jsx(Col, Object.assign({ xs: 12, sm: 3, className: "flex-3-sm" }, { children: jsxRuntime.jsx(VideoThumbnail, { src: file.previewUrl, index: index, showX: true, isLoadingMedia: file.status === "uploading", removeThumbnail: () => removeThumbnail(index), clickThumbnail: () => {
3543
3552
  openLightbox(thumbnails[index], index);
3544
3553
  } }, index) })));
@@ -3612,28 +3621,28 @@ Lightbox.Body = ModalBody; // Includes Main and Details
3612
3621
  Lightbox.Footer = Footer$3;
3613
3622
  Lightbox.Close = reactModals.Close;
3614
3623
 
3615
- var _path$n;
3616
- function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
3617
- const SvgChevronLeftStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
3624
+ var _path$m;
3625
+ function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
3626
+ const SvgChevronLeftStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
3618
3627
  xmlns: "http://www.w3.org/2000/svg",
3619
3628
  width: 16,
3620
3629
  height: 16,
3621
3630
  focusable: "false",
3622
3631
  viewBox: "0 0 16 16"
3623
- }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
3632
+ }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
3624
3633
  fill: "currentColor",
3625
3634
  d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
3626
3635
  })));
3627
3636
 
3628
- var _path$m;
3629
- function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
3630
- const SvgChevronRightStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
3637
+ var _path$l;
3638
+ function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
3639
+ const SvgChevronRightStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
3631
3640
  xmlns: "http://www.w3.org/2000/svg",
3632
3641
  width: 16,
3633
3642
  height: 16,
3634
3643
  focusable: "false",
3635
3644
  viewBox: "0 0 16 16"
3636
- }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
3645
+ }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3637
3646
  fill: "currentColor",
3638
3647
  d: "M5.61 3.312a.5.5 0 01.718-.69l.062.066 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
3639
3648
  })));
@@ -3891,22 +3900,22 @@ const PlayerTooltip = (_a) => {
3891
3900
  return (jsxRuntime.jsx(Wrapper$1, Object.assign({}, props, { children: jsxRuntime.jsx(Content$1, { children: children }) })));
3892
3901
  };
3893
3902
 
3894
- var _path$l;
3895
- function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
3896
- const SvgPlayFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
3903
+ var _path$k;
3904
+ function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
3905
+ const SvgPlayFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3897
3906
  xmlns: "http://www.w3.org/2000/svg",
3898
3907
  width: 16,
3899
3908
  height: 16,
3900
3909
  focusable: "false",
3901
3910
  viewBox: "0 0 16 16"
3902
- }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3911
+ }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3903
3912
  fill: "currentColor",
3904
3913
  d: "M6 15.79c-.13 0-.26-.03-.38-.08a.977.977 0 01-.62-.92V1.21a1 1 0 01.62-.93C6 .12 6.42.21 6.71.5l6.44 6.44c.58.58.58 1.54 0 2.12L6.71 15.5c-.19.19-.45.29-.71.29z"
3905
3914
  })));
3906
3915
 
3907
3916
  var _g$1;
3908
- function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
3909
- const SvgPauseFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3917
+ function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
3918
+ const SvgPauseFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3910
3919
  xmlns: "http://www.w3.org/2000/svg",
3911
3920
  width: 16,
3912
3921
  height: 16,
@@ -3930,15 +3939,15 @@ const SvgPauseFill = props => /*#__PURE__*/React__namespace.createElement("svg",
3930
3939
  ry: 1
3931
3940
  }))));
3932
3941
 
3933
- var _path$k, _path2$5, _path3$1;
3934
- function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
3935
- const SvgForwardSecondsFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3942
+ var _path$j, _path2$5, _path3$1;
3943
+ function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
3944
+ const SvgForwardSecondsFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3936
3945
  width: 16,
3937
3946
  height: 16,
3938
3947
  viewBox: "0 0 16 16",
3939
3948
  fill: "none",
3940
3949
  xmlns: "http://www.w3.org/2000/svg"
3941
- }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3950
+ }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3942
3951
  fillRule: "evenodd",
3943
3952
  clipRule: "evenodd",
3944
3953
  d: "M11.659 3.5C10.7411 2.85974 9.65081 2.5 8.5 2.5C5.45228 2.5 3 4.95228 3 8C3 11.0477 5.45228 13.5 8.5 13.5C10.2023 13.5 11.7457 12.7171 12.8191 11.3753C13.1641 10.944 13.7934 10.8741 14.2247 11.2191C14.656 11.5641 14.7259 12.1934 14.3809 12.6247C12.9372 14.4292 10.8263 15.5 8.5 15.5C4.34772 15.5 1 12.1523 1 8C1 3.84772 4.34772 0.5 8.5 0.5C10.1564 0.5 11.7168 1.04496 13 2.00147V1C13 0.447715 13.4477 0 14 0C14.5523 0 15 0.447715 15 1V4C15 4.85228 14.3523 5.5 13.5 5.5H10.5C9.94771 5.5 9.5 5.05228 9.5 4.5C9.5 3.94772 9.94771 3.5 10.5 3.5H11.659Z",
@@ -3951,15 +3960,15 @@ const SvgForwardSecondsFill = props => /*#__PURE__*/React__namespace.createEleme
3951
3960
  fill: "currentColor"
3952
3961
  })));
3953
3962
 
3954
- var _path$j, _path2$4, _path3;
3955
- function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
3956
- const SvgBackSecondsFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3963
+ var _path$i, _path2$4, _path3;
3964
+ function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
3965
+ const SvgBackSecondsFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3957
3966
  width: 16,
3958
3967
  height: 16,
3959
3968
  viewBox: "0 0 16 16",
3960
3969
  fill: "none",
3961
3970
  xmlns: "http://www.w3.org/2000/svg"
3962
- }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3971
+ }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3963
3972
  fillRule: "evenodd",
3964
3973
  clipRule: "evenodd",
3965
3974
  d: "M4.34099 3.5C5.25886 2.85974 6.34919 2.5 7.5 2.5C10.5477 2.5 13 4.95228 13 8C13 11.0477 10.5477 13.5 7.5 13.5C5.79771 13.5 4.25432 12.7171 3.18087 11.3753C2.83586 10.944 2.20657 10.8741 1.7753 11.2191C1.34404 11.5641 1.27412 12.1934 1.61913 12.6247C3.06275 14.4292 5.17372 15.5 7.5 15.5C11.6523 15.5 15 12.1523 15 8C15 3.84772 11.6523 0.5 7.5 0.5C5.84359 0.5 4.28318 1.04496 3 2.00147V1C3 0.447715 2.55229 0 2 0C1.44771 0 1 0.447715 1 1V4C1 4.85228 1.64772 5.5 2.5 5.5H5.5C6.05229 5.5 6.5 5.05228 6.5 4.5C6.5 3.94772 6.05229 3.5 5.5 3.5H4.34099Z",
@@ -3972,15 +3981,15 @@ const SvgBackSecondsFill = props => /*#__PURE__*/React__namespace.createElement(
3972
3981
  fill: "currentColor"
3973
3982
  })));
3974
3983
 
3975
- var _path$i, _path2$3;
3976
- function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
3977
- const SvgPreviousFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3984
+ var _path$h, _path2$3;
3985
+ function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
3986
+ const SvgPreviousFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3978
3987
  xmlns: "http://www.w3.org/2000/svg",
3979
3988
  width: 16,
3980
3989
  height: 16,
3981
3990
  focusable: "false",
3982
3991
  viewBox: "0 0 24 24"
3983
- }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3992
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3984
3993
  d: "M2.75 20C2.75 20.5523 3.19772 21 3.75 21C4.30228 21 4.75 20.5523 4.75 20L4.75 4C4.75 3.44772 4.30229 3 3.75 3C3.19772 3 2.75 3.44772 2.75 4V20Z",
3985
3994
  fill: "currentColor"
3986
3995
  })), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -4071,15 +4080,15 @@ const StyledDiv$2 = styled__default["default"].div `
4071
4080
  `;
4072
4081
  const TimeLabel = ({ current, duration, }) => (jsxRuntime.jsx(StyledDiv$2, { children: jsxRuntime.jsxs(SM, Object.assign({ tag: "span" }, { children: [current, "/", duration] })) }));
4073
4082
 
4074
- var _path$h, _path2$2;
4075
- function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
4076
- const SvgVolumeMutedFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
4083
+ var _path$g, _path2$2;
4084
+ function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
4085
+ const SvgVolumeMutedFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
4077
4086
  xmlns: "http://www.w3.org/2000/svg",
4078
4087
  width: 16,
4079
4088
  height: 16,
4080
4089
  focusable: "false",
4081
4090
  viewBox: "0 0 16 16"
4082
- }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
4091
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
4083
4092
  stroke: "currentColor",
4084
4093
  strokeLinecap: "round",
4085
4094
  d: "M11.5 10l4-4m-4 0l4 4"
@@ -4088,15 +4097,15 @@ const SvgVolumeMutedFill = props => /*#__PURE__*/React__namespace.createElement(
4088
4097
  d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0 011.71.71V14.3a.986.986 0 01-1 .99z"
4089
4098
  })));
4090
4099
 
4091
- var _path$g, _path2$1;
4092
- function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
4093
- const SvgVolumeUnmutedFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
4100
+ var _path$f, _path2$1;
4101
+ function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
4102
+ const SvgVolumeUnmutedFill = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
4094
4103
  xmlns: "http://www.w3.org/2000/svg",
4095
4104
  width: 16,
4096
4105
  height: 16,
4097
4106
  focusable: "false",
4098
4107
  viewBox: "0 0 16 16"
4099
- }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
4108
+ }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
4100
4109
  fill: "currentColor",
4101
4110
  d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0 011.71.71V14.3a.986.986 0 01-1 .99z"
4102
4111
  })), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -4140,30 +4149,30 @@ const AudioButton = () => {
4140
4149
  } }, { children: isMuted || !hasAudio ? jsxRuntime.jsx(SvgVolumeMutedFill, {}) : jsxRuntime.jsx(SvgVolumeUnmutedFill, {}) })));
4141
4150
  };
4142
4151
 
4143
- var _path$f;
4144
- function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
4145
- const SvgMaximizeStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
4152
+ var _path$e;
4153
+ function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
4154
+ const SvgMaximizeStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
4146
4155
  xmlns: "http://www.w3.org/2000/svg",
4147
4156
  width: 16,
4148
4157
  height: 16,
4149
4158
  focusable: "false",
4150
4159
  viewBox: "0 0 16 16"
4151
- }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
4160
+ }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
4152
4161
  fill: "none",
4153
4162
  stroke: "currentColor",
4154
4163
  strokeLinecap: "round",
4155
4164
  d: "M4.5.5H1C.72.5.5.72.5 1v3.5m15 0V1c0-.28-.22-.5-.5-.5h-3.5m-11 11V15c0 .28.22.5.5.5h3.5m11-4V15c0 .28-.22.5-.5.5h-3.5m-7-11L1 1m10.5 3.5L15 1M4.5 11.5L1 15m10.5-3.5L15 15"
4156
4165
  })));
4157
4166
 
4158
- var _path$e;
4159
- function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
4160
- const SvgMinimizeStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
4167
+ var _path$d;
4168
+ function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
4169
+ const SvgMinimizeStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
4161
4170
  xmlns: "http://www.w3.org/2000/svg",
4162
4171
  width: 16,
4163
4172
  height: 16,
4164
4173
  focusable: "false",
4165
4174
  viewBox: "0 0 16 16"
4166
- }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
4175
+ }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
4167
4176
  fill: "none",
4168
4177
  stroke: "currentColor",
4169
4178
  strokeLinecap: "round",
@@ -4325,15 +4334,15 @@ const Controls = ({ container, }) => {
4325
4334
  return (jsxRuntime.jsxs(ControlsWrapper, Object.assign({ isPlaying: context.isPlaying }, { children: [jsxRuntime.jsxs(ProgressContainer, Object.assign({ onMouseEnter: onMouseEvent, onMouseMove: onMouseEvent, onMouseLeave: onMouseEvent }, { children: [jsxRuntime.jsx(StyledTooltip, Object.assign({ style: { marginLeft: `${tooltipMargin}px` } }, { children: tooltipLabel })), jsxRuntime.jsx(TimeLabel, { current: formatDuration(relCurrentTime), duration: formatDuration(duration) }), jsxRuntime.jsx(StyledProgress, { ref: progressRef, value: progress, onClick: (e) => handleSkipAhead(e.clientX) })] })), jsxRuntime.jsxs(ControlsBar, { children: [jsxRuntime.jsx(StyledDiv$1, { children: jsxRuntime.jsx(AudioButton, {}) }), jsxRuntime.jsx(ControlsGroupCenter, {}), jsxRuntime.jsx(StyledDiv$1, { children: jsxRuntime.jsx(FullScreenButton, { container: container }) })] })] })));
4326
4335
  };
4327
4336
 
4328
- var _path$d;
4329
- function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
4330
- const SvgPlayIcon = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
4337
+ var _path$c;
4338
+ function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
4339
+ const SvgPlayIcon = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
4331
4340
  width: 70,
4332
4341
  height: 70,
4333
4342
  viewBox: "0 0 70 70",
4334
4343
  fill: "none",
4335
4344
  xmlns: "http://www.w3.org/2000/svg"
4336
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
4345
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
4337
4346
  d: "M60 35L17 62L17 8L60 35Z",
4338
4347
  fill: "#003A57"
4339
4348
  })));
@@ -4499,7 +4508,7 @@ const ChatBoxContainer = styled__default["default"].div `
4499
4508
  const CommentBox = (_a) => {
4500
4509
  var { placeholderOptions } = _a, props = __rest(_a, ["placeholderOptions"]);
4501
4510
  const { children, hasFloatingMenu, hasButtonsMenu, bubbleOptions, i18n } = props;
4502
- const { editor, setEditor, mentionableUsers, triggerSave, thumbnails, addThumbnails } = useChatContext();
4511
+ const { editor, setEditor, mentionableUsers, triggerSave, thumbnails, addThumbnails, } = useChatContext();
4503
4512
  const { addToast } = useToast();
4504
4513
  const [isOpen, setIsOpen] = React.useState(false);
4505
4514
  const [selectedImage, setSelectedImage] = React.useState({});
@@ -4541,7 +4550,7 @@ const CommentBox = (_a) => {
4541
4550
  const wronfFiles = files.filter((file) => !/^(image|video)\//.test(file.type));
4542
4551
  if (wronfFiles.length > 0) {
4543
4552
  for (const file of wronfFiles) {
4544
- addToast(({ close }) => (jsxRuntime.jsx(Notification, { onClose: close, type: "error", message: `${props.messageBadFileFormat} - ${file.name}`, isPrimary: true })), { placement: 'top' });
4553
+ addToast(({ close }) => (jsxRuntime.jsx(Notification, { onClose: close, type: "error", message: `${props.messageBadFileFormat} - ${file.name}`, isPrimary: true })), { placement: "top" });
4545
4554
  }
4546
4555
  }
4547
4556
  const mediaFiles = files.filter((file) => /^(image|video)\//.test(file.type));
@@ -4599,26 +4608,11 @@ const CommentBox = (_a) => {
4599
4608
  const mediaFiles = thumbnails.map((file) => {
4600
4609
  return Object.assign(file, { isLoadingMedia: file.isLoadingMedia });
4601
4610
  });
4602
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [isOpen && selectedImage && (jsxRuntime.jsxs(Lightbox, Object.assign({ onClose: closeLightbox }, { children: [jsxRuntime.jsx(Lightbox.Header, { children: selectedImage.name }), jsxRuntime.jsx(Lightbox.Body, { children: jsxRuntime.jsx(Lightbox.Body.Main, Object.assign({ style: { flex: 3 } }, { children: jsxRuntime.jsx(Slider, Object.assign({ prevArrow: jsxRuntime.jsx(Slider.PrevButton, { isBright: true }), nextArrow: jsxRuntime.jsx(Slider.NextButton, { isBright: true }), onSlideChange: slideChange, initialSlide: selectedImageIndex }, { children: mediaFiles.map((item, index) => (jsxRuntime.jsxs(Slider.Slide, { children: [item.type.includes("image") && (jsxRuntime.jsx("img", { src: URL.createObjectURL(thumbnails[index]), alt: `media ${item.name}` })), item.type.includes("video") && (jsxRuntime.jsx(Player, { ref: (ref) => {
4611
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [isOpen && selectedImage && (jsxRuntime.jsxs(Lightbox, Object.assign({ onClose: closeLightbox }, { children: [jsxRuntime.jsx(Lightbox.Header, { children: selectedImage.name }), jsxRuntime.jsx(Lightbox.Body, { children: jsxRuntime.jsx(Lightbox.Body.Main, Object.assign({ style: { flex: 3 } }, { children: jsxRuntime.jsx(Slider, Object.assign({ prevArrow: jsxRuntime.jsx(Slider.PrevButton, { isBright: true }), nextArrow: jsxRuntime.jsx(Slider.NextButton, { isBright: true }), onSlideChange: slideChange, initialSlide: selectedImageIndex }, { children: mediaFiles.map((item, index) => (jsxRuntime.jsxs(Slider.Slide, { children: [item.type.includes("image") && (jsxRuntime.jsx("img", { src: URL.createObjectURL(item), alt: `media ${item.name}` })), item.type.includes("video") && (jsxRuntime.jsx(Player, { ref: (ref) => {
4603
4612
  videoRefs.current.push(ref);
4604
- }, url: URL.createObjectURL(thumbnails[index]) }))] }))) })) })) }), jsxRuntime.jsx(Lightbox.Close, { "aria-label": "Close modal" })] }))), jsxRuntime.jsx(ChatBoxContainer, { children: jsxRuntime.jsxs(EditorContainer$1, Object.assign({ editable: true, style: { marginLeft: 0, paddingBottom: 12 } }, { children: [hasFloatingMenu && (jsxRuntime.jsx(FloatingMenu, { editor: ed, tippyOptions: Object.assign({}, bubbleOptions) })), jsxRuntime.jsx(react.EditorContent, { editor: ed, onKeyDown: onKeyDown }), jsxRuntime.jsx(ThumbnailContainer, { openLightbox: handleOpenLightbox })] })) }), hasButtonsMenu && jsxRuntime.jsx(CommentBar, { editor: ed, i18n: i18n })] }));
4613
+ }, url: URL.createObjectURL(item) }))] }))) })) })) }), jsxRuntime.jsx(Lightbox.Close, { "aria-label": "Close modal" })] }))), jsxRuntime.jsx(ChatBoxContainer, { children: jsxRuntime.jsxs(EditorContainer$1, Object.assign({ editable: true, style: { marginLeft: 0, paddingBottom: 12 } }, { children: [hasFloatingMenu && (jsxRuntime.jsx(FloatingMenu, { editor: ed, tippyOptions: Object.assign({}, bubbleOptions) })), jsxRuntime.jsx(react.EditorContent, { editor: ed, onKeyDown: onKeyDown }), jsxRuntime.jsx(ThumbnailContainer, { openLightbox: handleOpenLightbox })] })) }), hasButtonsMenu && jsxRuntime.jsx(CommentBar, { editor: ed, i18n: i18n })] }));
4605
4614
  };
4606
4615
 
4607
- var _path$c;
4608
- function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
4609
- const SvgDownloadStroke = props => /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
4610
- xmlns: "http://www.w3.org/2000/svg",
4611
- width: 16,
4612
- height: 16,
4613
- focusable: "false",
4614
- viewBox: "0 0 16 16"
4615
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
4616
- fill: "none",
4617
- stroke: "currentColor",
4618
- strokeLinecap: "round",
4619
- d: "M1.5 15.5h13m-11-7l4.1 4.1c.2.2.5.2.7 0l4.1-4.1m-4.4 4V.5"
4620
- })));
4621
-
4622
4616
  const CommentCard = styled.styled(Card) `
4623
4617
  padding: ${({ theme }) => `${theme.space.base * 3}px ${theme.space.sm}`};
4624
4618
  background-color: ${({ theme }) => theme.palette.grey[100]};
@@ -4694,22 +4688,6 @@ const Comment = ({ author, message, children, date, media = [], header, }) => {
4694
4688
  ed.setOptions({
4695
4689
  editable: false,
4696
4690
  });
4697
- const dowloadSelectedMedia = () => __awaiter(void 0, void 0, void 0, function* () {
4698
- try {
4699
- const response = yield fetch(`${selectedImage.url}?download`);
4700
- const blob = yield response.blob();
4701
- const link = document.createElement('a');
4702
- link.href = window.URL.createObjectURL(blob);
4703
- link.download = "media_" + selectedImage.id.toString() || 'downloadedFile';
4704
- document.body.appendChild(link);
4705
- link.click();
4706
- window.URL.revokeObjectURL(link.href);
4707
- document.body.removeChild(link);
4708
- }
4709
- catch (error) {
4710
- console.error('An error occurred while downloading: ', error);
4711
- }
4712
- });
4713
4691
  return (jsxRuntime.jsxs(CommentCard, { children: [jsxRuntime.jsxs(AuthorContainer, { children: [jsxRuntime.jsx(Avatar, Object.assign({ avatarType: (_a = author.avatarType) !== null && _a !== void 0 ? _a : "text", style: { flexShrink: 0 } }, { children: author.avatar })), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsxs(CommentTitle, { children: [(_b = author.name) !== null && _b !== void 0 ? _b : "User", jsxRuntime.jsx(CommentDate, { children: date })] }), jsxRuntime.jsx(ReadOnly, { children: jsxRuntime.jsx(EditorContainer$1, Object.assign({ editable: false }, { children: jsxRuntime.jsx(react.EditorContent, { editor: ed }) })) })] })] }), jsxRuntime.jsx(Grid, { children: jsxRuntime.jsx(Row$1, Object.assign({ className: "responsive-container" }, { children: media.map((file, index) => {
4714
4692
  // Check if item is an image or a video
4715
4693
  if (file.type.includes('image'))
@@ -4726,7 +4704,7 @@ const Comment = ({ author, message, children, date, media = [], header, }) => {
4726
4704
  }, url: item.url }))] }))) })) })), jsxRuntime.jsx(Lightbox.Body.Details, Object.assign({ style: { flex: 1 } }, { children: jsxRuntime.jsx(Comment, Object.assign({ header: header, author: {
4727
4705
  avatar: author.avatar,
4728
4706
  name: author.name,
4729
- }, date: date, message: message }, { children: jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx("br", {}) }) })) }))] }), jsxRuntime.jsx(Lightbox.Footer, { children: jsxRuntime.jsxs(Button, Object.assign({ isBasic: true, onClick: dowloadSelectedMedia }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: jsxRuntime.jsx(SvgDownloadStroke, {}) }), "Download"] })) }), jsxRuntime.jsx(Lightbox.Close, { "aria-label": "Close modal" })] }))), jsxRuntime.jsx(Footer$2, { children: children })] }));
4707
+ }, date: date, message: message }, { children: jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx("br", {}) }) })) }))] }), jsxRuntime.jsx(Lightbox.Footer, {}), jsxRuntime.jsx(Lightbox.Close, { "aria-label": "Close modal" })] }))), jsxRuntime.jsx(Footer$2, { children: children })] }));
4730
4708
  };
4731
4709
 
4732
4710
  /**
@@ -8,18 +8,18 @@ export declare const variants: readonly [{}, {
8
8
  readonly disabled: true;
9
9
  }];
10
10
  export declare const Row: import("styled-components").IStyledComponent<"web", {
11
- alignItems?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
12
- alignItemsXs?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
13
- alignItemsSm?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
14
- alignItemsMd?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
15
- alignItemsLg?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
16
- alignItemsXl?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
17
- justifyContent?: "center" | "start" | "end" | "between" | "around" | undefined;
18
- justifyContentXs?: "center" | "start" | "end" | "between" | "around" | undefined;
19
- justifyContentSm?: "center" | "start" | "end" | "between" | "around" | undefined;
20
- justifyContentMd?: "center" | "start" | "end" | "between" | "around" | undefined;
21
- justifyContentLg?: "center" | "start" | "end" | "between" | "around" | undefined;
22
- justifyContentXl?: "center" | "start" | "end" | "between" | "around" | undefined;
11
+ alignItems?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
12
+ alignItemsXs?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
13
+ alignItemsSm?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
14
+ alignItemsMd?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
15
+ alignItemsLg?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
16
+ alignItemsXl?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
17
+ justifyContent?: "start" | "end" | "center" | "between" | "around" | undefined;
18
+ justifyContentXs?: "start" | "end" | "center" | "between" | "around" | undefined;
19
+ justifyContentSm?: "start" | "end" | "center" | "between" | "around" | undefined;
20
+ justifyContentMd?: "start" | "end" | "center" | "between" | "around" | undefined;
21
+ justifyContentLg?: "start" | "end" | "center" | "between" | "around" | undefined;
22
+ justifyContentXl?: "start" | "end" | "center" | "between" | "around" | undefined;
23
23
  wrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
24
24
  wrapXs?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
25
25
  wrapSm?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
@@ -33,7 +33,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
33
33
  accessKey?: string | undefined;
34
34
  autoFocus?: boolean | undefined;
35
35
  className?: string | undefined;
36
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
36
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
37
37
  contextMenu?: string | undefined;
38
38
  dir?: string | undefined;
39
39
  draggable?: (boolean | "true" | "false") | undefined;
@@ -73,7 +73,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
73
73
  results?: number | undefined;
74
74
  security?: string | undefined;
75
75
  unselectable?: "on" | "off" | undefined;
76
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
76
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
77
77
  is?: string | undefined;
78
78
  "aria-activedescendant"?: string | undefined;
79
79
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -84,7 +84,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
84
84
  "aria-colindex"?: number | undefined;
85
85
  "aria-colspan"?: number | undefined;
86
86
  "aria-controls"?: string | undefined;
87
- "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
87
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
88
88
  "aria-describedby"?: string | undefined;
89
89
  "aria-details"?: string | undefined;
90
90
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -93,7 +93,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
93
93
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
94
94
  "aria-flowto"?: string | undefined;
95
95
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
96
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
96
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
97
97
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
98
98
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
99
99
  "aria-keyshortcuts"?: string | undefined;
@@ -110,7 +110,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
110
110
  "aria-posinset"?: number | undefined;
111
111
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
112
112
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
113
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
113
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
114
114
  "aria-required"?: (boolean | "true" | "false") | undefined;
115
115
  "aria-roledescription"?: string | undefined;
116
116
  "aria-rowcount"?: number | undefined;
@@ -299,18 +299,18 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
299
299
  md?: string | number | boolean | undefined;
300
300
  lg?: string | number | boolean | undefined;
301
301
  xl?: string | number | boolean | undefined;
302
- alignSelf?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
303
- alignSelfXs?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
304
- alignSelfSm?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
305
- alignSelfMd?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
306
- alignSelfLg?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
307
- alignSelfXl?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
308
- textAlign?: "center" | "start" | "end" | "justify" | undefined;
309
- textAlignXs?: "center" | "start" | "end" | "justify" | undefined;
310
- textAlignSm?: "center" | "start" | "end" | "justify" | undefined;
311
- textAlignMd?: "center" | "start" | "end" | "justify" | undefined;
312
- textAlignLg?: "center" | "start" | "end" | "justify" | undefined;
313
- textAlignXl?: "center" | "start" | "end" | "justify" | undefined;
302
+ alignSelf?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
303
+ alignSelfXs?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
304
+ alignSelfSm?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
305
+ alignSelfMd?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
306
+ alignSelfLg?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
307
+ alignSelfXl?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
308
+ textAlign?: "start" | "end" | "center" | "justify" | undefined;
309
+ textAlignXs?: "start" | "end" | "center" | "justify" | undefined;
310
+ textAlignSm?: "start" | "end" | "center" | "justify" | undefined;
311
+ textAlignMd?: "start" | "end" | "center" | "justify" | undefined;
312
+ textAlignLg?: "start" | "end" | "center" | "justify" | undefined;
313
+ textAlignXl?: "start" | "end" | "center" | "justify" | undefined;
314
314
  offset?: string | number | undefined;
315
315
  offsetXs?: string | number | undefined;
316
316
  offsetSm?: string | number | undefined;
@@ -330,7 +330,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
330
330
  accessKey?: string | undefined;
331
331
  autoFocus?: boolean | undefined;
332
332
  className?: string | undefined;
333
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
333
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
334
334
  contextMenu?: string | undefined;
335
335
  dir?: string | undefined;
336
336
  draggable?: (boolean | "true" | "false") | undefined;
@@ -370,7 +370,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
370
370
  results?: number | undefined;
371
371
  security?: string | undefined;
372
372
  unselectable?: "on" | "off" | undefined;
373
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
373
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
374
374
  is?: string | undefined;
375
375
  "aria-activedescendant"?: string | undefined;
376
376
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -381,7 +381,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
381
381
  "aria-colindex"?: number | undefined;
382
382
  "aria-colspan"?: number | undefined;
383
383
  "aria-controls"?: string | undefined;
384
- "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
384
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
385
385
  "aria-describedby"?: string | undefined;
386
386
  "aria-details"?: string | undefined;
387
387
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -390,7 +390,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
390
390
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
391
391
  "aria-flowto"?: string | undefined;
392
392
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
393
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
393
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
394
394
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
395
395
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
396
396
  "aria-keyshortcuts"?: string | undefined;
@@ -407,7 +407,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
407
407
  "aria-posinset"?: number | undefined;
408
408
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
409
409
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
410
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
410
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
411
411
  "aria-required"?: (boolean | "true" | "false") | undefined;
412
412
  "aria-roledescription"?: string | undefined;
413
413
  "aria-rowcount"?: number | undefined;
@@ -600,7 +600,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
600
600
  accessKey?: string | undefined;
601
601
  autoFocus?: boolean | undefined;
602
602
  className?: string | undefined;
603
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
603
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
604
604
  contextMenu?: string | undefined;
605
605
  dir?: string | undefined;
606
606
  draggable?: (boolean | "true" | "false") | undefined;
@@ -640,7 +640,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
640
640
  results?: number | undefined;
641
641
  security?: string | undefined;
642
642
  unselectable?: "on" | "off" | undefined;
643
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
643
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
644
644
  is?: string | undefined;
645
645
  "aria-activedescendant"?: string | undefined;
646
646
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -651,7 +651,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
651
651
  "aria-colindex"?: number | undefined;
652
652
  "aria-colspan"?: number | undefined;
653
653
  "aria-controls"?: string | undefined;
654
- "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
654
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
655
655
  "aria-describedby"?: string | undefined;
656
656
  "aria-details"?: string | undefined;
657
657
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -660,7 +660,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
660
660
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
661
661
  "aria-flowto"?: string | undefined;
662
662
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
663
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
663
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
664
664
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
665
665
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
666
666
  "aria-keyshortcuts"?: string | undefined;
@@ -677,7 +677,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
677
677
  "aria-posinset"?: number | undefined;
678
678
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
679
679
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
680
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
680
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
681
681
  "aria-required"?: (boolean | "true" | "false") | undefined;
682
682
  "aria-roledescription"?: string | undefined;
683
683
  "aria-rowcount"?: number | undefined;
@@ -14,7 +14,7 @@ export type ChatContextType = {
14
14
  query: string;
15
15
  }) => SuggestedUser[];
16
16
  afterUploadCallback: (failed: string[]) => void;
17
- clearThumbnails: () => void;
17
+ clearInput: () => void;
18
18
  };
19
19
  export declare const ChatContext: React.Context<ChatContextType | null>;
20
20
  export interface Data {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PlaceholderOptions } from "@tiptap/extension-placeholder";
3
2
  import { Editor as TipTapEditor } from "@tiptap/react";
4
3
  import { ChatEditorArgs, SuggestedUser } from "./_types";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.90-beta-attachments",
3
+ "version": "3.1.92-beta-attachments",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",