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.
- package/dist/assets/images/copy-icon.svg +1 -1
- package/dist/assets/images/delete-icon.svg +2 -2
- package/dist/assets/images/edit-icon.svg +2 -2
- package/dist/assets/styles/dl-dashboard.scss +16 -6
- package/dist/{copy-icon~wTbotEXM.svg → copy-icon~QJBrwULu.svg} +1 -1
- package/dist/delete-icon~bhWTpwqD.svg +3 -0
- package/dist/edit-icon~bfefKISd.svg +3 -0
- package/dist/images/copy-icon.svg +1 -1
- package/dist/images/delete-icon.svg +2 -2
- package/dist/images/edit-icon.svg +2 -2
- package/dist/index.js +14 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +14 -9
- package/dist/index.modern.js.map +1 -1
- package/dist/styles/dl-dashboard.scss +16 -6
- package/package.json +1 -1
- package/dist/delete-icon~zomVXdRY.svg +0 -3
- package/dist/edit-icon~sbYULvPc.svg +0 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg viewBox="0 0
|
|
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
|
|
2
|
-
<path d="
|
|
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
|
|
2
|
-
<path d="M8.48527 5.
|
|
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
|
-
|
|
443
|
-
width:
|
|
444
|
-
height:
|
|
445
|
-
|
|
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
|
|
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
|
|
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
|
|
2
|
-
<path d="
|
|
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
|
|
2
|
-
<path d="M8.48527 5.
|
|
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
|
-
|
|
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: "
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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",
|