logitude-dashboard-library 1.4.64 → 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 +79 -54
- package/dist/copy-icon~GuWdHUAd.svg +3 -0
- package/dist/copy-icon~HOWuQVmq.svg +3 -0
- package/dist/copy-icon~RfJyMlEY.svg +3 -0
- package/dist/delete-icon~HsiaSdfs.svg +3 -0
- package/dist/delete-icon~eciVlkBl.svg +3 -0
- package/dist/edit-icon~roheEGno.svg +3 -0
- package/dist/edit-icon~xptiVoWp.svg +3 -0
- package/dist/features/Dashboard/ChartsComponents/CustomCharts/CustomChart.d.ts +1 -0
- package/dist/features/Dashboard/WidgetCard.d.ts +1 -0
- package/dist/index.js +87 -293
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +87 -293
- package/dist/index.modern.js.map +1 -1
- package/dist/red-warning~UVfiDPMR.svg +18 -0
- package/dist/red-warning~bbFYcIcE.svg +18 -0
- package/dist/red-warning~bferuATT.svg +18 -0
- package/dist/red-warning~zsxGhaaS.svg +18 -0
- package/package.json +1 -1
|
@@ -256,84 +256,105 @@ $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 12px 12px;
|
|
279
|
-
|
|
280
|
-
.title-container {
|
|
281
|
+
|
|
282
|
+
.widget-titles-container {
|
|
281
283
|
display: flex;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
overflow: hidden;
|
|
287
|
-
text-overflow: ellipsis;
|
|
288
|
-
min-width: 1px;
|
|
284
|
+
flex-wrap: wrap;
|
|
285
|
+
width: calc(100% - 70px);
|
|
286
|
+
padding: 0px 12px 6px 12px;
|
|
287
|
+
min-height: 28px;
|
|
289
288
|
|
|
290
|
-
.title {
|
|
291
|
-
|
|
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 {
|
|
292
318
|
font-family: 'Manrope', sans-serif;
|
|
293
319
|
font-style: normal;
|
|
294
320
|
color: #292D30;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
margin-bottom: 0;
|
|
321
|
+
margin-top: 2px;
|
|
322
|
+
line-height: 100%;
|
|
298
323
|
font-size: 12px;
|
|
299
324
|
font-weight: 600;
|
|
300
325
|
white-space: nowrap;
|
|
301
326
|
overflow: hidden;
|
|
302
327
|
text-overflow: ellipsis;
|
|
303
|
-
width:
|
|
328
|
+
width: 100%;
|
|
304
329
|
}
|
|
305
330
|
}
|
|
306
331
|
|
|
307
|
-
.
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
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
|
+
}
|
|
346
|
+
}
|
|
318
347
|
}
|
|
319
348
|
}
|
|
320
349
|
|
|
321
|
-
|
|
322
|
-
display: flex;
|
|
323
|
-
align-items: center;
|
|
324
|
-
width: 68px;
|
|
325
|
-
column-gap: 6px;
|
|
326
|
-
|
|
327
|
-
svg {
|
|
328
|
-
width: 20px;
|
|
329
|
-
height: 20px;
|
|
330
|
-
transform: scale(1.2);
|
|
350
|
+
}
|
|
331
351
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
352
|
+
.kpi-custom-size {
|
|
353
|
+
-webkit-transform: scale(0.7);
|
|
354
|
+
-ms-transform: scale(0.7);
|
|
355
|
+
-o-transform: scale(0.7);
|
|
356
|
+
transform: scale(0.7);
|
|
357
|
+
margin-top: -4px;
|
|
337
358
|
}
|
|
338
359
|
|
|
339
360
|
.margin-top-6 {
|
|
@@ -467,6 +488,9 @@ $dark-grey: #717585;
|
|
|
467
488
|
|
|
468
489
|
|
|
469
490
|
.dl-kpi-container-click {
|
|
491
|
+
display: flex;
|
|
492
|
+
align-items: center;
|
|
493
|
+
justify-content: center;
|
|
470
494
|
width: 100%;
|
|
471
495
|
height: 100%;
|
|
472
496
|
cursor: pointer;
|
|
@@ -484,12 +508,12 @@ $dark-grey: #717585;
|
|
|
484
508
|
margin-left: 12px;
|
|
485
509
|
margin-right: 12px;
|
|
486
510
|
max-width: calc(100% - 24px);
|
|
487
|
-
height:
|
|
511
|
+
height: 100%;
|
|
488
512
|
flex-direction: column;
|
|
489
513
|
box-sizing: border-box;
|
|
490
514
|
display: flex;
|
|
491
|
-
place-content: flex-start center;
|
|
492
515
|
align-items: center;
|
|
516
|
+
justify-content: center;
|
|
493
517
|
}
|
|
494
518
|
|
|
495
519
|
.dl-kpi-center-container {
|
|
@@ -511,10 +535,7 @@ $dark-grey: #717585;
|
|
|
511
535
|
}
|
|
512
536
|
|
|
513
537
|
.dl-kpi-label-container{
|
|
514
|
-
|
|
515
|
-
display: flex;
|
|
516
|
-
justify-content: center;
|
|
517
|
-
align-items: center;
|
|
538
|
+
line-height: 100%;
|
|
518
539
|
}
|
|
519
540
|
|
|
520
541
|
.dl-kpi-label-span{
|
|
@@ -729,4 +750,8 @@ $dark-grey: #717585;
|
|
|
729
750
|
width: 100%;
|
|
730
751
|
height: 100%;
|
|
731
752
|
min-height: 25px;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.db-justify-content-flex-start {
|
|
756
|
+
justify-content: flex-start;
|
|
732
757
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
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="#5FAFDA"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
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="#5FAFDA"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
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="#5FAFDA"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 18 18" 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="#5FAFDA"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="12" height="14" viewBox="0 0 12 14" 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="#5FAFDA"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 18 18" 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="#5FAFDA"/>
|
|
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.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="#5FAFDA"/>
|
|
3
|
+
</svg>
|
|
@@ -6,6 +6,7 @@ export declare type CustomChartProps = {
|
|
|
6
6
|
widget: ReactWidgetPM | undefined;
|
|
7
7
|
widgetRef: ReactWidgetPM | undefined;
|
|
8
8
|
dataBinding: DashboardDataBinding;
|
|
9
|
+
isPreviewModeActive?: boolean;
|
|
9
10
|
onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
|
|
10
11
|
};
|
|
11
12
|
declare const CustomChart: (props: CustomChartProps) => React.JSX.Element;
|
|
@@ -12,6 +12,7 @@ declare type WidgetCardProps = {
|
|
|
12
12
|
dateFilter: any;
|
|
13
13
|
dataBinding: DashboardDataBinding;
|
|
14
14
|
isInEditMode: boolean;
|
|
15
|
+
isPreviewModeActive?: boolean;
|
|
15
16
|
onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
|
|
16
17
|
};
|
|
17
18
|
declare const WidgetCard: React.ForwardRefExoticComponent<WidgetCardProps & React.RefAttributes<unknown>>;
|