logitude-dashboard-library 3.2.17 → 3.2.19

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.
@@ -4,4 +4,6 @@ declare const getGlobalNumberFormatting: () => {
4
4
  thousandsSeparator: string;
5
5
  decimalSeparator: string;
6
6
  };
7
- export { isNullOrUndefined, isNullOrUndefinedOrEmpty, getGlobalNumberFormatting };
7
+ declare const getNumberInSystemLocalFormat: (value: number, decimalDigitsCount?: number) => string;
8
+ declare const ConvertStringToPascalCaseHelper: (stringValue: string) => string;
9
+ export { isNullOrUndefined, isNullOrUndefinedOrEmpty, getGlobalNumberFormatting, getNumberInSystemLocalFormat, ConvertStringToPascalCaseHelper };
@@ -0,0 +1,3 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 20.1654C5.9374 20.1654 1.83334 16.0613 1.83334 10.9987C1.83334 5.93609 5.9374 1.83203 11 1.83203C16.0626 1.83203 20.1667 5.93609 20.1667 10.9987C20.1667 16.0613 16.0626 20.1654 11 20.1654ZM10.0833 13.7487V15.582H11.9167V13.7487H10.0833ZM10.0833 6.41536V11.9154H11.9167V6.41536H10.0833Z" fill="#F85248"/>
3
+ </svg>
@@ -334,6 +334,19 @@ $dark-grey: #717585;
334
334
  }
335
335
  }
336
336
 
337
+ .header-message-error {
338
+ max-width: 60px;
339
+ display: flex;
340
+ align-items: center;
341
+ justify-content: flex-end;
342
+ flex: 1;
343
+ white-space: nowrap;
344
+ overflow: hidden;
345
+ text-overflow: ellipsis;
346
+ min-width: 1px;
347
+ padding-top: 4px;
348
+ }
349
+
337
350
  .widget-table-titles-container {
338
351
  display: flex;
339
352
  flex: 1;
@@ -756,6 +769,7 @@ $dark-grey: #717585;
756
769
 
757
770
  .table-cell {
758
771
  font-family: 'Manrope';
772
+ font-weight: 500;
759
773
  padding: 0px 6px;
760
774
  border-radius: 4px;
761
775
  white-space: nowrap;
@@ -834,6 +848,10 @@ $dark-grey: #717585;
834
848
  left: 0;
835
849
  bottom: 0;
836
850
 
851
+ * {
852
+ border-color: #e0e0e0 !important;
853
+ }
854
+
837
855
  .pivot-grid-element {
838
856
  width: 100%;
839
857
  height: 100%;
@@ -850,11 +868,15 @@ $dark-grey: #717585;
850
868
  .dx-pivotgrid-fields-area-head td .dx-area-field,
851
869
  .dx-pivotgrid-horizontal-headers td,
852
870
  .dx-pivotgrid .dx-area-description-cell.dx-pivotgrid-background {
853
- background-color: #F1F1F1;
871
+ background-color: #FFFFFF;
872
+ }
873
+
874
+ .dx-pivotgrid .dx-area-description-cell {
875
+ background-color: #FFFFFF;
854
876
  }
855
877
 
856
878
  .dx-pivotgrid-horizontal-headers td {
857
- text-align: left;
879
+ text-align: center;
858
880
  }
859
881
 
860
882
  .dx-pivotgrid-fields-area-head td .dx-area-field {
@@ -863,25 +885,25 @@ $dark-grey: #717585;
863
885
  }
864
886
 
865
887
  .dx-pivotgrid .dx-pivotgrid-area td {
866
- padding: 4px 8px;
888
+ padding: 6px 8px 5px 8px;
867
889
  }
868
890
 
869
891
  .dx-pivotgrid-fields-area-head .dx-area-field-content,
870
892
  .dx-pivotgrid-horizontal-headers tr td span {
871
893
  font-family: "Manrope";
872
- font-size: 13px;
894
+ font-size: 12px;
873
895
  font-weight: 600;
874
896
  text-align: left;
875
- color: #222222;
897
+ color: #222222 !important;
876
898
  }
877
899
 
878
900
  .dx-pivotgrid .dx-pivotgrid-vertical-headers td {
879
- background: #FAFAFA;
901
+ background: #FFFFFF;
880
902
  }
881
903
 
882
904
  .dx-pivotgrid .dx-pivotgrid-vertical-headers td > span {
883
905
  font-family: "Manrope";
884
- font-size: 13px;
906
+ font-size: 12px;
885
907
  font-weight: 500;
886
908
  text-align: left;
887
909
  color: #46494A;
@@ -892,13 +914,13 @@ $dark-grey: #717585;
892
914
  color: #46494A !important;
893
915
  }
894
916
 
895
- .dx-pivotgrid .dx-pivotgrid-area-data tbody td {
917
+ .dx-pivotgrid .dx-pivotgrid-area-data tbody td > span {
896
918
  font-family: "Manrope";
897
- font-size: 13px;
919
+ font-size: 12px;
898
920
  font-weight: 500;
899
921
  text-align: right;
900
922
  color: #46494A;
901
- border-left: 0px !important;
923
+ cursor: pointer;
902
924
  }
903
925
 
904
926
  .dx-widget {
@@ -959,6 +981,14 @@ $dark-grey: #717585;
959
981
  width: 100%;
960
982
  margin: 0 auto;
961
983
 
984
+ * {
985
+ -webkit-text-transform: capitalize !important;
986
+ -moz-text-transform: capitalize !important;
987
+ -ms-text-transform: capitalize !important;
988
+ -o-text-transform: capitalize !important;
989
+ text-transform: capitalize !important;
990
+ }
991
+
962
992
  &::-webkit-scrollbar {
963
993
  width: 10px;
964
994
  height: 10px
@@ -998,7 +1028,7 @@ $dark-grey: #717585;
998
1028
 
999
1029
  .p-column-header-content {
1000
1030
  padding: 0;
1001
- border: 1px solid #E7E7E6;
1031
+ border: 1px solid #e0e0e0;
1002
1032
  border-width: 0 0 1px 0;
1003
1033
  }
1004
1034
 
@@ -1013,20 +1043,20 @@ $dark-grey: #717585;
1013
1043
  display: flex;
1014
1044
  align-items: center;
1015
1045
  cursor: pointer;
1016
- padding: 11px 12px;
1046
+ padding: 10px 12px;
1017
1047
  }
1018
1048
  }
1019
1049
 
1020
1050
  th:not(:last-child) .header-content {
1021
- border-right: 1px solid #E7E7E6;
1051
+ border-right: 1px solid #e0e0e0;
1022
1052
  }
1023
1053
 
1024
1054
  td {
1025
- border: 1px solid #E7E7E6 !important;
1055
+ border: 1px solid #e0e0e0 !important;
1026
1056
  border-width: 0 0 1px 0 !important;
1027
1057
  padding: 0px 6px !important;
1028
1058
  max-width: 1px;
1029
- height: 36px;
1059
+ height: 30px;
1030
1060
  min-width: 140px;
1031
1061
  line-height: normal;
1032
1062
  word-break: break-all;
@@ -1110,7 +1140,7 @@ $dark-grey: #717585;
1110
1140
  }
1111
1141
 
1112
1142
 
1113
- .widget-title-tooltip-text {
1143
+ .widget-title-tooltip-text, .header-message-error-tooltip-text {
1114
1144
  text-transform: capitalize;
1115
1145
  font-family: 'Manrope';
1116
1146
  font-weight: 500;
@@ -1126,7 +1156,8 @@ $dark-grey: #717585;
1126
1156
  white-space: normal;
1127
1157
  }
1128
1158
 
1129
- .title-tooltip-container-content > div {
1159
+ .title-tooltip-container-content > div,
1160
+ .header-message-error-tooltip-container-content > div {
1130
1161
  width: 8px !important;
1131
1162
  height: 4px !important;
1132
1163
  }
@@ -1136,7 +1167,7 @@ $dark-grey: #717585;
1136
1167
  }
1137
1168
 
1138
1169
  .border-bottom-light-white {
1139
- border-bottom: 1px solid #E7E7E6;
1170
+ border-bottom: 1px solid #e0e0e0;
1140
1171
  }
1141
1172
 
1142
1173
  .padding-left-12 {
@@ -9,6 +9,7 @@ export declare type CustomChartProps = {
9
9
  isPreviewModeActive?: boolean;
10
10
  isInEditMode?: boolean;
11
11
  onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
12
+ onShowError?: (errorMsg: string | null) => void;
12
13
  };
13
14
  declare const CustomChart: (props: CustomChartProps) => React.JSX.Element;
14
15
  export default CustomChart;
@@ -7,6 +7,7 @@ export declare type FusionChartProps = {
7
7
  widgetRef: ReactWidgetPM | undefined;
8
8
  dataBinding: DashboardDataBinding;
9
9
  onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
10
+ onShowError: (errorMsg: string | null) => void;
10
11
  };
11
12
  declare const FusionChart: React.ForwardRefExoticComponent<FusionChartProps & React.RefAttributes<unknown>>;
12
13
  export default FusionChart;
@@ -0,0 +1,3 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 20.1654C5.9374 20.1654 1.83334 16.0613 1.83334 10.9987C1.83334 5.93609 5.9374 1.83203 11 1.83203C16.0626 1.83203 20.1667 5.93609 20.1667 10.9987C20.1667 16.0613 16.0626 20.1654 11 20.1654ZM10.0833 13.7487V15.582H11.9167V13.7487H10.0833ZM10.0833 6.41536V11.9154H11.9167V6.41536H10.0833Z" fill="#F85248"/>
3
+ </svg>