logitude-dashboard-library 3.2.50 → 3.2.53

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.
@@ -1,3 +1,3 @@
1
- <svg viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M3.24985 3.5V1.25C3.24985 0.83579 3.58564 0.5 3.99985 0.5H12.9998C13.4141 0.5 13.7498 0.83579 13.7498 1.25V11.75C13.7498 12.1642 13.4141 12.5 12.9998 12.5H10.7498V14.7493C10.7498 15.1639 10.4124 15.5 9.99475 15.5H1.00499C0.587942 15.5 0.25 15.1665 0.25 14.7493L0.25195 4.25065C0.252025 3.83608 0.58948 3.5 1.00706 3.5H3.24985ZM1.75181 5L1.75014 14H9.24985V5H1.75181ZM4.74985 3.5H10.7498V11H12.2498V2H4.74985V3.5Z" fill="#6E7072"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.99983 3.51152H11.9998V4.7757H10.7998V12.9929C10.7998 13.1605 10.7366 13.3213 10.6241 13.4398C10.5116 13.5584 10.359 13.625 10.1998 13.625H1.79983C1.6407 13.625 1.48809 13.5584 1.37557 13.4398C1.26305 13.3213 1.19983 13.1605 1.19983 12.9929V4.7757H-0.000167847V3.51152H2.99983V1.61525C2.99983 1.4476 3.06305 1.28683 3.17557 1.16829C3.28809 1.04975 3.4407 0.983154 3.59983 0.983154H8.39983C8.55896 0.983154 8.71158 1.04975 8.8241 1.16829C8.93662 1.28683 8.99983 1.4476 8.99983 1.61525V3.51152ZM9.59983 4.7757H2.39983V12.3608H9.59983V4.7757ZM4.19983 6.67197H5.39983V10.4645H4.19983V6.67197ZM6.59983 6.67197H7.79983V10.4645H6.59983V6.67197ZM4.19983 2.24734V3.51152H7.79983V2.24734H4.19983Z" fill="#6E7072"/>
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.333 2.99992H13.6663V4.33325H12.333V12.9999C12.333 13.3681 12.0345 13.6666 11.6663 13.6666H2.33301C1.96482 13.6666 1.66634 13.3681 1.66634 12.9999V4.33325H0.333008V2.99992H3.66634V0.999919C3.66634 0.631732 3.96482 0.333252 4.33301 0.333252H9.66634C10.0345 0.333252 10.333 0.631732 10.333 0.999919V2.99992ZM10.9997 4.33325H2.99967V12.3333H10.9997V4.33325ZM4.99967 6.33325H6.33301V10.3333H4.99967V6.33325ZM7.66634 6.33325H8.99967V10.3333H7.66634V6.33325ZM4.99967 1.66659V2.99992H8.99967V1.66659H4.99967Z" fill="#6E7072"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.48527 5.38322L7.54247 4.4404L1.33333 10.6496V11.5924H2.27614L8.48527 5.38322ZM9.42807 4.4404L10.3709 3.4976L9.42807 2.55479L8.48527 3.4976L9.42807 4.4404ZM2.82843 12.9257H0V10.0973L8.95667 1.14058C9.21707 0.880224 9.63913 0.880224 9.89947 1.14058L11.7851 3.02619C12.0455 3.28654 12.0455 3.70865 11.7851 3.969L2.82843 12.9257Z" fill="#6E7072"/>
1
+ <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.48527 5.38419L7.54247 4.44138L1.33333 10.6505V11.5933H2.27614L8.48527 5.38419ZM9.42807 4.44138L10.3709 3.49858L9.42807 2.55576L8.48527 3.49858L9.42807 4.44138ZM2.82843 12.9267H0V10.0982L8.95667 1.14155C9.21707 0.881202 9.63913 0.881202 9.89947 1.14155L11.7851 3.02717C12.0455 3.28752 12.0455 3.70963 11.7851 3.96998L2.82843 12.9267Z" fill="#6E7072"/>
3
3
  </svg>
@@ -436,16 +436,26 @@ $dark-grey: #717585;
436
436
  display: flex;
437
437
  align-items: center;
438
438
  width: 68px;
439
- column-gap: 6px;
440
- padding-top: 6px;
441
439
 
442
- svg {
443
- width: 20px;
444
- height: 20px;
445
- transform: scale(1.2);
440
+ div {
441
+ width: 22px;
442
+ height: 23px;
443
+ padding: 4px 4px;
444
+
445
+ .widget-card-copy-icon {
446
+ width: 15px;
447
+ height: 16px;
448
+ transform: scale(0.95);
449
+ }
450
+
451
+ .widget-card-edit-icon {
452
+ transform: scale(1.15);
453
+ }
446
454
 
447
455
  &:hover {
448
456
  cursor: pointer;
457
+ background-color: #EBECED;
458
+ border-radius: 4px;
449
459
  }
450
460
  }
451
461
  }
@@ -1,3 +1,3 @@
1
- <svg viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M3.24985 3.5V1.25C3.24985 0.83579 3.58564 0.5 3.99985 0.5H12.9998C13.4141 0.5 13.7498 0.83579 13.7498 1.25V11.75C13.7498 12.1642 13.4141 12.5 12.9998 12.5H10.7498V14.7493C10.7498 15.1639 10.4124 15.5 9.99475 15.5H1.00499C0.587942 15.5 0.25 15.1665 0.25 14.7493L0.25195 4.25065C0.252025 3.83608 0.58948 3.5 1.00706 3.5H3.24985ZM1.75181 5L1.75014 14H9.24985V5H1.75181ZM4.74985 3.5H10.7498V11H12.2498V2H4.74985V3.5Z" fill="#6E7072"/>
3
3
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.333 2.99992H13.6663V4.33325H12.333V12.9999C12.333 13.3681 12.0345 13.6666 11.6663 13.6666H2.33301C1.96482 13.6666 1.66634 13.3681 1.66634 12.9999V4.33325H0.333008V2.99992H3.66634V0.999919C3.66634 0.631732 3.96482 0.333252 4.33301 0.333252H9.66634C10.0345 0.333252 10.333 0.631732 10.333 0.999919V2.99992ZM10.9997 4.33325H2.99967V12.3333H10.9997V4.33325ZM4.99967 6.33325H6.33301V10.3333H4.99967V6.33325ZM7.66634 6.33325H8.99967V10.3333H7.66634V6.33325ZM4.99967 1.66659V2.99992H8.99967V1.66659H4.99967Z" fill="#6E7072"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.48527 5.38419L7.54247 4.44138L1.33333 10.6505V11.5933H2.27614L8.48527 5.38419ZM9.42807 4.44138L10.3709 3.49858L9.42807 2.55576L8.48527 3.49858L9.42807 4.44138ZM2.82843 12.9267H0V10.0982L8.95667 1.14155C9.21707 0.881202 9.63913 0.881202 9.89947 1.14155L11.7851 3.02717C12.0455 3.28752 12.0455 3.70963 11.7851 3.96998L2.82843 12.9267Z" fill="#6E7072"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M3.24985 3.5V1.25C3.24985 0.83579 3.58564 0.5 3.99985 0.5H12.9998C13.4141 0.5 13.7498 0.83579 13.7498 1.25V11.75C13.7498 12.1642 13.4141 12.5 12.9998 12.5H10.7498V14.7493C10.7498 15.1639 10.4124 15.5 9.99475 15.5H1.00499C0.587942 15.5 0.25 15.1665 0.25 14.7493L0.25195 4.25065C0.252025 3.83608 0.58948 3.5 1.00706 3.5H3.24985ZM1.75181 5L1.75014 14H9.24985V5H1.75181ZM4.74985 3.5H10.7498V11H12.2498V2H4.74985V3.5Z" fill="#6E7072"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.99983 3.51152H11.9998V4.7757H10.7998V12.9929C10.7998 13.1605 10.7366 13.3213 10.6241 13.4398C10.5116 13.5584 10.359 13.625 10.1998 13.625H1.79983C1.6407 13.625 1.48809 13.5584 1.37557 13.4398C1.26305 13.3213 1.19983 13.1605 1.19983 12.9929V4.7757H-0.000167847V3.51152H2.99983V1.61525C2.99983 1.4476 3.06305 1.28683 3.17557 1.16829C3.28809 1.04975 3.4407 0.983154 3.59983 0.983154H8.39983C8.55896 0.983154 8.71158 1.04975 8.8241 1.16829C8.93662 1.28683 8.99983 1.4476 8.99983 1.61525V3.51152ZM9.59983 4.7757H2.39983V12.3608H9.59983V4.7757ZM4.19983 6.67197H5.39983V10.4645H4.19983V6.67197ZM6.59983 6.67197H7.79983V10.4645H6.59983V6.67197ZM4.19983 2.24734V3.51152H7.79983V2.24734H4.19983Z" fill="#6E7072"/>
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.333 2.99992H13.6663V4.33325H12.333V12.9999C12.333 13.3681 12.0345 13.6666 11.6663 13.6666H2.33301C1.96482 13.6666 1.66634 13.3681 1.66634 12.9999V4.33325H0.333008V2.99992H3.66634V0.999919C3.66634 0.631732 3.96482 0.333252 4.33301 0.333252H9.66634C10.0345 0.333252 10.333 0.631732 10.333 0.999919V2.99992ZM10.9997 4.33325H2.99967V12.3333H10.9997V4.33325ZM4.99967 6.33325H6.33301V10.3333H4.99967V6.33325ZM7.66634 6.33325H8.99967V10.3333H7.66634V6.33325ZM4.99967 1.66659V2.99992H8.99967V1.66659H4.99967Z" fill="#6E7072"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.48527 5.38322L7.54247 4.4404L1.33333 10.6496V11.5924H2.27614L8.48527 5.38322ZM9.42807 4.4404L10.3709 3.4976L9.42807 2.55479L8.48527 3.4976L9.42807 4.4404ZM2.82843 12.9257H0V10.0973L8.95667 1.14058C9.21707 0.880224 9.63913 0.880224 9.89947 1.14058L11.7851 3.02619C12.0455 3.28654 12.0455 3.70865 11.7851 3.969L2.82843 12.9257Z" fill="#6E7072"/>
1
+ <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.48527 5.38419L7.54247 4.44138L1.33333 10.6505V11.5933H2.27614L8.48527 5.38419ZM9.42807 4.44138L10.3709 3.49858L9.42807 2.55576L8.48527 3.49858L9.42807 4.44138ZM2.82843 12.9267H0V10.0982L8.95667 1.14155C9.21707 0.881202 9.63913 0.881202 9.89947 1.14155L11.7851 3.02717C12.0455 3.28752 12.0455 3.70963 11.7851 3.96998L2.82843 12.9267Z" fill="#6E7072"/>
3
3
  </svg>
package/dist/index.js CHANGED
@@ -3684,11 +3684,12 @@ function _extends$2() {
3684
3684
 
3685
3685
  function SvgDeleteIcon(props) {
3686
3686
  return /*#__PURE__*/React.createElement("svg", _extends$2({
3687
- viewBox: "0 0 20 20",
3687
+ width: 14,
3688
+ height: 14,
3688
3689
  fill: "none",
3689
3690
  xmlns: "http://www.w3.org/2000/svg"
3690
3691
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
3691
- d: "M9 3.512h3v1.264h-1.2v8.217a.65.65 0 01-.176.447.585.585 0 01-.424.185H1.8a.585.585 0 01-.424-.185.65.65 0 01-.176-.447V4.776H0V3.512h3V1.615a.65.65 0 01.176-.447A.585.585 0 013.6.983h4.8c.159 0 .312.067.424.185A.65.65 0 019 1.615v1.897zm.6 1.264H2.4v7.585h7.2V4.776zM4.2 6.672h1.2v3.792H4.2V6.672zm2.4 0h1.2v3.792H6.6V6.672zM4.2 2.247v1.265h3.6V2.247H4.2z",
3692
+ d: "M10.333 3h3.333v1.333h-1.333V13a.667.667 0 01-.667.667H2.333A.667.667 0 011.666 13V4.333H.333V3h3.333V1c0-.368.299-.667.667-.667h5.333c.368 0 .667.299.667.667v2zM11 4.333H3v8h8v-8zm-6 2h1.333v4H5v-4zm2.666 0H9v4H7.666v-4zM5 1.667V3h4V1.667H5z",
3692
3693
  fill: "#6E7072"
3693
3694
  })));
3694
3695
  }
@@ -3714,11 +3715,12 @@ function _extends$3() {
3714
3715
 
3715
3716
  function SvgEditIcon(props) {
3716
3717
  return /*#__PURE__*/React.createElement("svg", _extends$3({
3717
- viewBox: "0 0 20 20",
3718
+ width: 12,
3719
+ height: 13,
3718
3720
  fill: "none",
3719
3721
  xmlns: "http://www.w3.org/2000/svg"
3720
3722
  }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
3721
- d: "M8.485 5.383l-.943-.943-6.209 6.21v.942h.943l6.21-6.209zm.943-.943l.943-.942-.943-.943-.943.943.943.942zm-6.6 8.486H0v-2.829l8.957-8.956c.26-.26.682-.26.942 0l1.886 1.885c.26.26.26.683 0 .943l-8.957 8.957z",
3723
+ d: "M8.485 5.384l-.943-.943-6.209 6.21v.942h.943l6.21-6.209zm.943-.943l.943-.942-.943-.943-.943.943.943.942zm-6.6 8.486H0v-2.829l8.957-8.956c.26-.26.682-.26.942 0l1.886 1.885c.26.26.26.683 0 .943l-8.957 8.957z",
3722
3724
  fill: "#6E7072"
3723
3725
  })));
3724
3726
  }
@@ -3744,7 +3746,8 @@ function _extends$4() {
3744
3746
 
3745
3747
  function SvgCopyIcon(props) {
3746
3748
  return /*#__PURE__*/React.createElement("svg", _extends$4({
3747
- viewBox: "0 0 22 22",
3749
+ width: 14,
3750
+ height: 16,
3748
3751
  fill: "none",
3749
3752
  xmlns: "http://www.w3.org/2000/svg"
3750
3753
  }, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
@@ -4256,21 +4259,23 @@ var WidgetCard = React.forwardRef(function (props, comRef) {
4256
4259
  }
4257
4260
  }, (_widget$current15 = widget.current) === null || _widget$current15 === void 0 ? void 0 : _widget$current15.Subtitle)), !isTitleAligmentRight() && isTableOrPivotWidget() && tableHintMessage(), props.isInEditMode && React__default.createElement("div", {
4258
4261
  className: isThereTitle() ? "widget-options-container" : "widget-options-container margin-top-6"
4259
- }, React__default.createElement(SvgEditIcon, {
4262
+ }, React__default.createElement("div", null, " ", React__default.createElement(SvgEditIcon, {
4263
+ className: "widget-card-edit-icon",
4260
4264
  onClick: function onClick() {
4261
4265
  return editWidget();
4262
4266
  }
4263
- }), React__default.createElement(SvgCopyIcon, {
4267
+ }), " "), React__default.createElement("div", null, " ", React__default.createElement(SvgCopyIcon, {
4268
+ className: "widget-card-copy-icon",
4264
4269
  onClick: function onClick() {
4265
4270
  return copyWidget();
4266
4271
  }
4267
- }), React__default.createElement(SvgDeleteIcon, {
4272
+ }), " "), React__default.createElement("div", null, " ", React__default.createElement(SvgDeleteIcon, {
4268
4273
  onClick: function onClick() {
4269
4274
  var _props$widget;
4270
4275
 
4271
4276
  return props.deleteBtnClicked((_props$widget = props.widget) === null || _props$widget === void 0 ? void 0 : _props$widget.key);
4272
4277
  }
4273
- })), !props.isInEditMode && showHeaderErrorMessages && React__default.createElement("div", {
4278
+ }), " ")), !props.isInEditMode && showHeaderErrorMessages && React__default.createElement("div", {
4274
4279
  className: "header-message-error"
4275
4280
  }, React__default.createElement(Popup, {
4276
4281
  className: "header-message-error-tooltip-container",