logitude-dashboard-library 1.4.65 → 1.4.66
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/styles/dl-dashboard.scss +61 -51
- package/dist/index.js +4 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -256,87 +256,97 @@ $dark-grey: #717585;
|
|
|
256
256
|
align-items: flex-start;
|
|
257
257
|
|
|
258
258
|
header {
|
|
259
|
-
display: flex;
|
|
260
|
-
justify-content: space-between;
|
|
261
|
-
align-items: center;
|
|
262
259
|
position: unset;
|
|
263
260
|
width: 100% !important;
|
|
264
261
|
max-width: 100% !important;
|
|
265
262
|
margin: 0;
|
|
266
263
|
padding: 0;
|
|
267
264
|
|
|
265
|
+
&::after {
|
|
266
|
+
content: "";
|
|
267
|
+
border-bottom: 1px solid #E7E7E7;
|
|
268
|
+
width: calc(100% - 24px);
|
|
269
|
+
display: block;
|
|
270
|
+
margin: 0 auto;
|
|
271
|
+
}
|
|
272
|
+
|
|
268
273
|
i {
|
|
269
274
|
font-size: 18px;
|
|
270
275
|
cursor: pointer;
|
|
271
276
|
}
|
|
272
277
|
}
|
|
273
278
|
|
|
274
|
-
.
|
|
279
|
+
.header-contents {
|
|
275
280
|
display: flex;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
padding: 0px 12px 6px 12px;
|
|
279
|
-
min-height: 28px;
|
|
280
|
-
|
|
281
|
-
.title-container {
|
|
281
|
+
|
|
282
|
+
.widget-titles-container {
|
|
282
283
|
display: flex;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
overflow: hidden;
|
|
288
|
-
text-overflow: ellipsis;
|
|
289
|
-
min-width: 1px;
|
|
284
|
+
flex-wrap: wrap;
|
|
285
|
+
width: calc(100% - 70px);
|
|
286
|
+
padding: 0px 12px 6px 12px;
|
|
287
|
+
min-height: 28px;
|
|
290
288
|
|
|
291
|
-
.title {
|
|
292
|
-
|
|
289
|
+
.title-container {
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: center;
|
|
292
|
+
justify-content: left;
|
|
293
|
+
flex: 1;
|
|
294
|
+
white-space: nowrap;
|
|
295
|
+
overflow: hidden;
|
|
296
|
+
text-overflow: ellipsis;
|
|
297
|
+
min-width: 1px;
|
|
298
|
+
|
|
299
|
+
.title {
|
|
300
|
+
text-transform: capitalize;
|
|
301
|
+
font-family: 'Manrope', sans-serif;
|
|
302
|
+
font-style: normal;
|
|
303
|
+
color: #292D30;
|
|
304
|
+
padding-top: 6px;
|
|
305
|
+
line-height: 100%;
|
|
306
|
+
margin-top: 0;
|
|
307
|
+
margin-bottom: 0;
|
|
308
|
+
font-size: 12px;
|
|
309
|
+
font-weight: 600;
|
|
310
|
+
white-space: nowrap;
|
|
311
|
+
overflow: hidden;
|
|
312
|
+
text-overflow: ellipsis;
|
|
313
|
+
width: auto;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.subtitle {
|
|
293
318
|
font-family: 'Manrope', sans-serif;
|
|
294
319
|
font-style: normal;
|
|
295
320
|
color: #292D30;
|
|
296
|
-
|
|
321
|
+
margin-top: 2px;
|
|
297
322
|
line-height: 100%;
|
|
298
|
-
margin-top: 0;
|
|
299
|
-
margin-bottom: 0;
|
|
300
323
|
font-size: 12px;
|
|
301
324
|
font-weight: 600;
|
|
302
325
|
white-space: nowrap;
|
|
303
326
|
overflow: hidden;
|
|
304
327
|
text-overflow: ellipsis;
|
|
305
|
-
width:
|
|
328
|
+
width: 100%;
|
|
306
329
|
}
|
|
307
330
|
}
|
|
308
331
|
|
|
309
|
-
.
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
.widget-options-container {
|
|
325
|
-
display: flex;
|
|
326
|
-
align-items: center;
|
|
327
|
-
width: 68px;
|
|
328
|
-
column-gap: 6px;
|
|
329
|
-
|
|
330
|
-
svg {
|
|
331
|
-
width: 20px;
|
|
332
|
-
height: 20px;
|
|
333
|
-
transform: scale(1.2);
|
|
334
|
-
|
|
335
|
-
&:hover {
|
|
336
|
-
cursor: pointer;
|
|
332
|
+
.widget-options-container {
|
|
333
|
+
display: flex;
|
|
334
|
+
align-items: center;
|
|
335
|
+
width: 68px;
|
|
336
|
+
column-gap: 6px;
|
|
337
|
+
|
|
338
|
+
svg {
|
|
339
|
+
width: 20px;
|
|
340
|
+
height: 20px;
|
|
341
|
+
transform: scale(1.2);
|
|
342
|
+
|
|
343
|
+
&:hover {
|
|
344
|
+
cursor: pointer;
|
|
345
|
+
}
|
|
337
346
|
}
|
|
338
347
|
}
|
|
339
348
|
}
|
|
349
|
+
|
|
340
350
|
}
|
|
341
351
|
|
|
342
352
|
.kpi-custom-size {
|
package/dist/index.js
CHANGED
|
@@ -1295,6 +1295,8 @@ var WidgetCard = React.forwardRef(function (props, comRef) {
|
|
|
1295
1295
|
setIsWidgetHovered(false);
|
|
1296
1296
|
}
|
|
1297
1297
|
}, React__default.createElement("header", null, React__default.createElement("div", {
|
|
1298
|
+
className: "header-contents"
|
|
1299
|
+
}, React__default.createElement("div", {
|
|
1298
1300
|
className: "widget-titles-container"
|
|
1299
1301
|
}, React__default.createElement("div", {
|
|
1300
1302
|
className: "title-container",
|
|
@@ -1302,6 +1304,7 @@ var WidgetCard = React.forwardRef(function (props, comRef) {
|
|
|
1302
1304
|
justifyContent: getCSSPropertyValue(widget === null || widget === void 0 ? void 0 : widget.current, 'TitleAlignment', '', undefined)
|
|
1303
1305
|
}
|
|
1304
1306
|
}, React__default.createElement(tooltip.Tooltip, {
|
|
1307
|
+
showDelay: 500,
|
|
1305
1308
|
target: ".title"
|
|
1306
1309
|
}), React__default.createElement("div", {
|
|
1307
1310
|
className: "title",
|
|
@@ -1343,13 +1346,7 @@ var WidgetCard = React.forwardRef(function (props, comRef) {
|
|
|
1343
1346
|
var _props$widget;
|
|
1344
1347
|
return props.deleteBtnClicked((_props$widget = props.widget) === null || _props$widget === void 0 ? void 0 : _props$widget.key);
|
|
1345
1348
|
}
|
|
1346
|
-
})) : null), React__default.createElement("div", {
|
|
1347
|
-
style: {
|
|
1348
|
-
width: '100%'
|
|
1349
|
-
}
|
|
1350
|
-
}, React__default.createElement("div", {
|
|
1351
|
-
className: "dl-line"
|
|
1352
|
-
})), React__default.createElement("div", {
|
|
1349
|
+
})) : null)), React__default.createElement("div", {
|
|
1353
1350
|
className: "dl-dashboard-widget"
|
|
1354
1351
|
}, " ", GetChartComponent(), " "));
|
|
1355
1352
|
function GetChartComponent() {
|