logitude-dashboard-library 3.1.128 → 3.1.130
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.
|
@@ -1327,6 +1327,7 @@ $dark-grey: #717585;
|
|
|
1327
1327
|
gap: 4px;
|
|
1328
1328
|
z-index: 1000;
|
|
1329
1329
|
white-space: nowrap;
|
|
1330
|
+
max-width: calc(100% - 16px);
|
|
1330
1331
|
animation: widgetCopiedFadeIn 0.2s ease;
|
|
1331
1332
|
|
|
1332
1333
|
.widget-copied-notification-check {
|
|
@@ -1339,6 +1340,9 @@ $dark-grey: #717585;
|
|
|
1339
1340
|
font-weight: 600;
|
|
1340
1341
|
font-size: 12px;
|
|
1341
1342
|
line-height: 16px;
|
|
1343
|
+
max-width: 150px;
|
|
1344
|
+
overflow: hidden;
|
|
1345
|
+
text-overflow: ellipsis;
|
|
1342
1346
|
}
|
|
1343
1347
|
|
|
1344
1348
|
.widget-copied-notification-text {
|
package/dist/index.js
CHANGED
|
@@ -4390,13 +4390,15 @@ var WidgetCard = React.forwardRef(function (props, comRef) {
|
|
|
4390
4390
|
className: "widget-copy-dropdown-menu"
|
|
4391
4391
|
}, React__default.createElement("div", {
|
|
4392
4392
|
className: "widget-copy-dropdown-item",
|
|
4393
|
-
onClick: function onClick() {
|
|
4394
|
-
|
|
4393
|
+
onClick: function onClick(e) {
|
|
4394
|
+
e.stopPropagation();
|
|
4395
|
+
duplicateWidget();
|
|
4395
4396
|
}
|
|
4396
4397
|
}, "Duplicate"), React__default.createElement("div", {
|
|
4397
4398
|
className: "widget-copy-dropdown-item",
|
|
4398
|
-
onClick: function onClick() {
|
|
4399
|
-
|
|
4399
|
+
onClick: function onClick(e) {
|
|
4400
|
+
e.stopPropagation();
|
|
4401
|
+
copyWidgetToClipboard();
|
|
4400
4402
|
}
|
|
4401
4403
|
}, "Copy"))), React__default.createElement("div", null, " ", React__default.createElement(SvgDeleteIcon, {
|
|
4402
4404
|
onClick: function onClick() {
|