logitude-dashboard-library 3.2.62 → 3.2.64

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 @@ export declare class Session {
4
4
  static Token: string;
5
5
  static NumberFormatCode: string | null | undefined;
6
6
  static isMasterNumberClickable: any;
7
+ static UseAgGridPivot: boolean;
8
+ static AgGridLicenseKey: string | null | undefined;
7
9
  }
@@ -903,7 +903,8 @@ $dark-grey: #717585;
903
903
  left: 0;
904
904
  bottom: 0;
905
905
 
906
- * {
906
+ .pivot-grid-element:not(.dl-ag-pivot-grid),
907
+ .pivot-grid-element:not(.dl-ag-pivot-grid) * {
907
908
  border-color: #e0e0e0 !important;
908
909
  }
909
910
 
@@ -916,6 +917,111 @@ $dark-grey: #717585;
916
917
  scrollbar-color: initial;
917
918
  }
918
919
 
920
+ .dl-ag-pivot-grid {
921
+ width: calc(100% - 16px);
922
+ height: 100%;
923
+ margin: 0 auto;
924
+ overflow-x: auto;
925
+ overflow-y: hidden;
926
+ font-family: "Manrope", sans-serif;
927
+ }
928
+
929
+ .dl-ag-pivot-grid .ag-root-wrapper {
930
+ border: 1px solid #e0e0e0;
931
+ }
932
+
933
+ .dl-ag-pivot-grid {
934
+ --ag-border-color: #e0e0e0;
935
+ --ag-row-border-color: #e0e0e0;
936
+ --ag-header-background-color: #ffffff;
937
+ }
938
+
939
+ .dl-ag-pivot-grid.ag-theme-balham .ag-header {
940
+ background-color: #ffffff !important;
941
+ }
942
+
943
+ .dl-ag-pivot-grid.ag-theme-balham .ag-header-cell,
944
+ .dl-ag-pivot-grid.ag-theme-balham .ag-header-group-cell {
945
+ font-family: "Manrope";
946
+ font-size: 12px;
947
+ font-weight: 600;
948
+ text-align: center;
949
+ color: #222222;
950
+ background-color: #ffffff !important;
951
+ }
952
+
953
+ .dl-ag-pivot-grid .ag-header-cell[col-id^="ag-Grid-AutoColumn"] {
954
+ text-align: left;
955
+ }
956
+
957
+ .dl-ag-pivot-grid .ag-header-cell[col-id^="PivotRowTotal_"],
958
+ .dl-ag-pivot-grid .ag-header-group-cell.dl-pivot-row-grand-total-group-header,
959
+ .dl-ag-pivot-grid .ag-header-group-cell.dl-pivot-row-grand-total-group-header-sibling {
960
+ background-color: #f5f5f5 !important;
961
+ }
962
+
963
+ .dl-ag-pivot-grid.ag-theme-balham .ag-cell {
964
+ border: none !important;
965
+ border-right: 1px solid #e0e0e0 !important;
966
+ }
967
+
968
+ .dl-ag-pivot-grid.ag-theme-balham .ag-row {
969
+ border-bottom: 1px solid #e0e0e0 !important;
970
+ }
971
+
972
+ .dl-ag-pivot-grid .dl-ag-pivot-data-cell,
973
+ .dl-ag-pivot-grid .ag-cell.dl-ag-pivot-data-cell {
974
+ text-align: right !important;
975
+ cursor: pointer;
976
+ }
977
+
978
+ .dl-ag-pivot-grid .dl-ag-pivot-row-label-cell,
979
+ .dl-ag-pivot-grid .ag-cell.dl-ag-pivot-row-label-cell {
980
+ text-align: left !important;
981
+ justify-content: flex-start;
982
+ background-color: #ffffff;
983
+ }
984
+
985
+ .dl-ag-pivot-grid .ag-row-footer .ag-cell,
986
+ .dl-ag-pivot-grid .ag-row-group-footer .ag-cell {
987
+ font-weight: 500;
988
+ }
989
+
990
+ .dl-ag-pivot-grid .ag-row-footer .dl-ag-pivot-row-label-cell,
991
+ .dl-ag-pivot-grid .ag-row-group-footer .dl-ag-pivot-row-label-cell {
992
+ text-align: left !important;
993
+ }
994
+
995
+ .dl-ag-pivot-grid .ag-cell {
996
+ font-family: "Manrope";
997
+ font-size: 12px;
998
+ font-weight: 500;
999
+ color: #46494A;
1000
+ padding: 6px 8px 5px 8px;
1001
+ }
1002
+
1003
+ .dl-ag-pivot-grid .ag-row-group .ag-cell {
1004
+ text-align: left;
1005
+ background-color: #ffffff;
1006
+ }
1007
+
1008
+ .dl-ag-pivot-grid .ag-row:not(.ag-row-group) .ag-cell:not(.dl-ag-pivot-data-cell) {
1009
+ text-align: left;
1010
+ }
1011
+
1012
+ .dl-ag-pivot-grid .ag-row-footer,
1013
+ .dl-ag-pivot-grid .ag-row-group-footer {
1014
+ background-color: #f5f5f5 !important;
1015
+ }
1016
+
1017
+ .dl-ag-pivot-grid .dl-pivot-row-grand-total-group-header {
1018
+ overflow: visible;
1019
+ }
1020
+
1021
+ .dl-ag-pivot-grid .dl-pivot-row-grand-total-group-header-sibling .ag-header-group-text {
1022
+ visibility: hidden;
1023
+ }
1024
+
919
1025
  .dx-scrollbar-hoverable .dx-scrollable-scroll.dx-state-invisible .dx-scrollable-scroll-content {
920
1026
  background-color: rgba(191, 191, 191, .7);
921
1027
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logitude-dashboard-library",
3
- "version": "3.2.62",
3
+ "version": "3.2.64",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "logitude",
6
6
  "license": "MIT",
@@ -27,7 +27,10 @@
27
27
  "deploy": "gh-pages -d example/build"
28
28
  },
29
29
  "peerDependencies": {
30
- "react": "^17.0.2"
30
+ "react": "^17.0.2",
31
+ "ag-grid-community": "27.3.0",
32
+ "ag-grid-enterprise": "27.3.0",
33
+ "ag-grid-react": "27.3.0"
31
34
  },
32
35
  "devDependencies": {
33
36
  "@testing-library/jest-dom": "^4.2.4",
@@ -41,6 +44,9 @@
41
44
  "@types/react-grid-layout": "1.3.2",
42
45
  "@typescript-eslint/eslint-plugin": "^2.26.0",
43
46
  "@typescript-eslint/parser": "^2.26.0",
47
+ "ag-grid-community": "27.3.0",
48
+ "ag-grid-enterprise": "27.3.0",
49
+ "ag-grid-react": "27.3.0",
44
50
  "babel-eslint": "^10.0.3",
45
51
  "cross-env": "^7.0.2",
46
52
  "eslint-config-prettier": "^6.7.0",