@datorama/core 22.10.3-rc.0 → 22.10.9-rc.2

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.
Files changed (37) hide show
  1. package/bundle.scss +244 -115
  2. package/bundles/datorama-core.umd.js +144 -40
  3. package/bundles/datorama-core.umd.js.map +1 -1
  4. package/bundles/datorama-core.umd.min.js +38 -38
  5. package/bundles/datorama-core.umd.min.js.map +1 -1
  6. package/datorama-core.metadata.json +1 -1
  7. package/esm2015/lib/grid-v2/grid/grid-v2.component.js +1 -1
  8. package/esm2015/lib/grid-v2/grid/grid-v2.types.js +9 -1
  9. package/esm2015/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +19 -12
  10. package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +26 -12
  11. package/esm2015/lib/grid-v2/grid-no-data-overlay/grid-v2-no-data-overlay.component.js +58 -13
  12. package/esm2015/lib/grid-v2/grid-pagination/grid-pagination.component.js +3 -2
  13. package/esm2015/lib/grid-v2/grid-store/grid.service.js +17 -1
  14. package/esm2015/lib/loaders/page-loader/page-loader.component.js +7 -2
  15. package/esm2015/lib/select/select.component.js +2 -2
  16. package/esm2015/lib/version.js +2 -2
  17. package/esm5/lib/grid-v2/grid/grid-v2.component.js +1 -1
  18. package/esm5/lib/grid-v2/grid/grid-v2.types.js +9 -1
  19. package/esm5/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +20 -12
  20. package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +25 -14
  21. package/esm5/lib/grid-v2/grid-no-data-overlay/grid-v2-no-data-overlay.component.js +71 -14
  22. package/esm5/lib/grid-v2/grid-pagination/grid-pagination.component.js +5 -2
  23. package/esm5/lib/grid-v2/grid-store/grid.service.js +17 -1
  24. package/esm5/lib/loaders/page-loader/page-loader.component.js +7 -2
  25. package/esm5/lib/select/select.component.js +2 -2
  26. package/esm5/lib/version.js +2 -2
  27. package/fesm2015/datorama-core.js +131 -39
  28. package/fesm2015/datorama-core.js.map +1 -1
  29. package/fesm5/datorama-core.js +145 -41
  30. package/fesm5/datorama-core.js.map +1 -1
  31. package/lib/grid-v2/grid/grid-v2.types.d.ts +11 -3
  32. package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts +3 -5
  33. package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +1 -0
  34. package/lib/grid-v2/grid-no-data-overlay/grid-v2-no-data-overlay.component.d.ts +10 -3
  35. package/lib/grid-v2/grid-store/grid.service.d.ts +1 -0
  36. package/lib/loaders/page-loader/page-loader.component.d.ts +1 -0
  37. package/package.json +1 -1
package/bundle.scss CHANGED
@@ -4870,13 +4870,13 @@ dato-button button[disabled] {
4870
4870
  Secondary
4871
4871
  */
4872
4872
  dato-button[datoType='secondary'] button {
4873
- background-color: themify(primary-300, 0.15);
4874
- color: themify(primary-400);
4873
+ background-color: themify(primary-100);
4874
+ color: themify(primary-600);
4875
4875
  }
4876
4876
 
4877
4877
  dato-button[datoType='secondary'] button:hover {
4878
- background-color: themify(primary-300, 0.25);
4879
- color: themify(primary-500);
4878
+ background-color: themify(primary-200);
4879
+ color: themify(primary-600);
4880
4880
  }
4881
4881
 
4882
4882
  dato-button[datoType='secondary'] dato-icon svg {
@@ -4884,8 +4884,8 @@ dato-button[datoType='secondary'] dato-icon svg {
4884
4884
  }
4885
4885
 
4886
4886
  dato-button[datoType='secondary'] button:active {
4887
- background-color: themify(primary-300, 0.35);
4888
- color: themify(primary-600);
4887
+ background-color: themify(primary-300);
4888
+ color: themify(primary-700);
4889
4889
  }
4890
4890
 
4891
4891
  /**
@@ -5206,7 +5206,7 @@ dato-list-v2 .checkmark {
5206
5206
  line-height: 19px;
5207
5207
  }
5208
5208
 
5209
- .simple-bold, dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
5209
+ .simple-bold, .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
5210
5210
  font-size: 14px;
5211
5211
  font-weight: 600;
5212
5212
  line-height: 19px;
@@ -6223,7 +6223,7 @@ dato-grid-header span {
6223
6223
  border-left: none;
6224
6224
  }
6225
6225
 
6226
- .ag-dato-core .ag-row-hover {
6226
+ .ag-dato-core .ag-row-hover, .ag-dato-core .dato-grid.pivot-mode .ag-row.ag-row-group.ag-row-hover .ag-cell.ag-cell-value, .dato-grid.pivot-mode .ag-row.ag-row-group.ag-row-hover .ag-dato-core .ag-cell.ag-cell-value {
6227
6227
  background-color: themify(accent-100);
6228
6228
  }
6229
6229
 
@@ -11287,7 +11287,7 @@ dato-button-group.is-round-edges dato-button:last-of-type button {
11287
11287
  line-height: 19px;
11288
11288
  }
11289
11289
 
11290
- .simple-bold, dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
11290
+ .simple-bold, .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
11291
11291
  font-size: 14px;
11292
11292
  font-weight: 600;
11293
11293
  line-height: 19px;
@@ -11447,6 +11447,9 @@ dato-input input:disabled:hover {
11447
11447
  }
11448
11448
 
11449
11449
  /* Cells Theme */
11450
+ /* Pivot Header Theme */
11451
+ /* Pivot Row Theme */
11452
+ /* Pivot Cells Theme */
11450
11453
  /* Needs to be global */
11451
11454
  /*
11452
11455
  Common variables
@@ -12352,7 +12355,7 @@ dato-input input:disabled:hover {
12352
12355
  border-left: none;
12353
12356
  }
12354
12357
 
12355
- .dato-grid .ag-row-hover {
12358
+ .dato-grid .ag-row-hover, .dato-grid.pivot-mode .ag-row.ag-row-group.ag-row-hover .ag-cell.ag-cell-value {
12356
12359
  background-color: themify(accent-100);
12357
12360
  }
12358
12361
 
@@ -14049,38 +14052,46 @@ dato-input input:disabled:hover {
14049
14052
  fill: themify(accent-400);
14050
14053
  }
14051
14054
 
14052
- .dato-grid .ag-row {
14055
+ .dato-grid .da-grid-icon {
14056
+ fill: themify(primary-300);
14057
+ }
14058
+
14059
+ .dato-grid .da-grid-icon:hover {
14060
+ fill: themify(accent-400);
14061
+ }
14062
+
14063
+ .dato-grid:not(.pivot-mode) .ag-row {
14053
14064
  cursor: pointer;
14054
14065
  }
14055
14066
 
14056
- .dato-grid .ag-row.ag-row-group {
14067
+ .dato-grid:not(.pivot-mode) .ag-row.ag-row-group {
14057
14068
  background-color: themify(primary-0);
14058
14069
  border-bottom: solid 1px themify(primary-200);
14059
14070
  height: 35px;
14060
14071
  }
14061
14072
 
14062
- .dato-grid .ag-row.ag-row-group span {
14073
+ .dato-grid:not(.pivot-mode) .ag-row.ag-row-group span {
14063
14074
  color: themify(primary-300);
14064
14075
  font-weight: 600;
14065
14076
  }
14066
14077
 
14067
- .dato-grid .ag-row.ag-row-group:hover span {
14078
+ .dato-grid:not(.pivot-mode) .ag-row.ag-row-group:hover span {
14068
14079
  color: themify(accent-400);
14069
14080
  }
14070
14081
 
14071
- .dato-grid .ag-row.ag-row-group:hover .da-grid-icon {
14082
+ .dato-grid:not(.pivot-mode) .ag-row.ag-row-group:hover .da-grid-icon {
14072
14083
  fill: themify(accent-400);
14073
14084
  }
14074
14085
 
14075
- .dato-grid .ag-row.ag-row-selected.ag-row-even {
14086
+ .dato-grid:not(.pivot-mode) .ag-row.ag-row-selected.ag-row-even {
14076
14087
  background-color: themify(accent-180);
14077
14088
  }
14078
14089
 
14079
- .dato-grid .ag-row.actions-hovered:not(.ag-row-selected) {
14090
+ .dato-grid:not(.pivot-mode) .ag-row.actions-hovered:not(.ag-row-selected) {
14080
14091
  background-color: themify(accent-100);
14081
14092
  }
14082
14093
 
14083
- .dato-grid .ag-cell .ag-selection-checkbox {
14094
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox {
14084
14095
  display: block;
14085
14096
  position: relative;
14086
14097
  cursor: pointer;
@@ -14093,7 +14104,7 @@ dato-input input:disabled:hover {
14093
14104
  margin-top: -1px;
14094
14105
  }
14095
14106
 
14096
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon {
14107
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon {
14097
14108
  height: 100%;
14098
14109
  width: 100%;
14099
14110
  border-radius: 2px;
@@ -14102,7 +14113,7 @@ dato-input input:disabled:hover {
14102
14113
  left: 0;
14103
14114
  }
14104
14115
 
14105
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon:after {
14116
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon:after {
14106
14117
  content: "";
14107
14118
  position: absolute;
14108
14119
  display: none;
@@ -14116,52 +14127,52 @@ dato-input input:disabled:hover {
14116
14127
  box-sizing: border-box;
14117
14128
  }
14118
14129
 
14119
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked {
14130
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked {
14120
14131
  background-color: themify(accent-400);
14121
14132
  }
14122
14133
 
14123
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:hover {
14134
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:hover {
14124
14135
  background-color: themify(accent-500);
14125
14136
  }
14126
14137
 
14127
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:active {
14138
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:active {
14128
14139
  background-color: themify(accent-600);
14129
14140
  }
14130
14141
 
14131
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:after {
14142
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:after {
14132
14143
  display: block;
14133
14144
  }
14134
14145
 
14135
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked,
14136
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate {
14146
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked,
14147
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate {
14137
14148
  background-color: themify(primary-0);
14138
14149
  border: solid 1px themify(primary-300);
14139
14150
  }
14140
14151
 
14141
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:hover,
14142
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:hover {
14152
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:hover,
14153
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:hover {
14143
14154
  border-color: themify(accent-500);
14144
14155
  }
14145
14156
 
14146
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:active,
14147
- .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:active {
14157
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:active,
14158
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:active {
14148
14159
  border-color: themify(accent-600);
14149
14160
  }
14150
14161
 
14151
- .dato-grid .ag-cell .ag-selection-checkbox + span.ag-cell-value {
14162
+ .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox + span.ag-cell-value {
14152
14163
  display: inline;
14153
14164
  margin-left: 12px;
14154
14165
  }
14155
14166
 
14156
- .dato-grid .ag-cell .search-highlight {
14167
+ .dato-grid:not(.pivot-mode) .ag-cell .search-highlight {
14157
14168
  background-color: #FDF2CF;
14158
14169
  }
14159
14170
 
14160
- .dato-grid .dato-editable-cell {
14171
+ .dato-grid:not(.pivot-mode) .dato-editable-cell {
14161
14172
  padding: 2px 0;
14162
14173
  }
14163
14174
 
14164
- .dato-grid .dato-editable-cell .value-wrapper {
14175
+ .dato-grid:not(.pivot-mode) .dato-editable-cell .value-wrapper {
14165
14176
  min-height: 31px;
14166
14177
  line-height: 29px;
14167
14178
  margin: 0 2px;
@@ -14170,69 +14181,69 @@ dato-input input:disabled:hover {
14170
14181
  border: 1px solid transparent;
14171
14182
  }
14172
14183
 
14173
- .dato-grid .dato-editable-cell:hover .value-wrapper {
14184
+ .dato-grid:not(.pivot-mode) .dato-editable-cell:hover .value-wrapper {
14174
14185
  border-color: themify(accent-400);
14175
14186
  }
14176
14187
 
14177
- .dato-grid .dato-editable-cell.ag-cell-not-inline-editing {
14188
+ .dato-grid:not(.pivot-mode) .dato-editable-cell.ag-cell-not-inline-editing {
14178
14189
  display: flex;
14179
14190
  align-items: center;
14180
14191
  }
14181
14192
 
14182
- .dato-grid .dato-editable-cell.ag-cell-not-inline-editing .ag-input-text-wrapper, .dato-grid .dato-editable-cell.ag-cell-not-inline-editing > span {
14193
+ .dato-grid:not(.pivot-mode) .dato-editable-cell.ag-cell-not-inline-editing .ag-input-text-wrapper, .dato-grid:not(.pivot-mode) .dato-editable-cell.ag-cell-not-inline-editing > span {
14183
14194
  width: 100%;
14184
14195
  }
14185
14196
 
14186
- .dato-grid .ag-cell-highlight {
14197
+ .dato-grid:not(.pivot-mode) .ag-cell-highlight {
14187
14198
  background-color: transparent !important;
14188
14199
  }
14189
14200
 
14190
- .dato-grid .ag-cell-highlight-animation {
14201
+ .dato-grid:not(.pivot-mode) .ag-cell-highlight-animation {
14191
14202
  transition: background-color 1s;
14192
14203
  }
14193
14204
 
14194
- .dato-grid .ag-row-drag {
14205
+ .dato-grid:not(.pivot-mode) .ag-row-drag {
14195
14206
  background-position-y: center;
14196
14207
  }
14197
14208
 
14198
- .dato-grid .ag-column-drag {
14209
+ .dato-grid:not(.pivot-mode) .ag-column-drag {
14199
14210
  background-position-y: center;
14200
14211
  }
14201
14212
 
14202
- .dato-grid .ag-cell-range-selected-1:not(.ag-cell-focus) {
14213
+ .dato-grid:not(.pivot-mode) .ag-cell-range-selected-1:not(.ag-cell-focus) {
14203
14214
  background-color: rgba(120, 120, 120, 0.4);
14204
14215
  }
14205
14216
 
14206
- .dato-grid .ag-cell-range-selected-2:not(.ag-cell-focus) {
14217
+ .dato-grid:not(.pivot-mode) .ag-cell-range-selected-2:not(.ag-cell-focus) {
14207
14218
  background-color: rgba(110, 110, 110, 0.4);
14208
14219
  }
14209
14220
 
14210
- .dato-grid .ag-cell-range-selected-3:not(.ag-cell-focus) {
14221
+ .dato-grid:not(.pivot-mode) .ag-cell-range-selected-3:not(.ag-cell-focus) {
14211
14222
  background-color: rgba(100, 100, 100, 0.4);
14212
14223
  }
14213
14224
 
14214
- .dato-grid .ag-cell-range-selected-4:not(.ag-cell-focus) {
14225
+ .dato-grid:not(.pivot-mode) .ag-cell-range-selected-4:not(.ag-cell-focus) {
14215
14226
  background-color: rgba(89, 89, 89, 0.4);
14216
14227
  }
14217
14228
 
14218
- .dato-grid .ag-ltr .ag-has-focus .ag-cell-focus {
14229
+ .dato-grid:not(.pivot-mode) .ag-ltr .ag-has-focus .ag-cell-focus {
14219
14230
  border-color: transparent;
14220
14231
  }
14221
14232
 
14222
- .dato-grid .ag-row.ag-row-even .ag-cell-inline-editing {
14233
+ .dato-grid:not(.pivot-mode) .ag-row.ag-row-even .ag-cell-inline-editing {
14223
14234
  background-color: themify(accent-180);
14224
14235
  }
14225
14236
 
14226
- .dato-grid .ag-row.ag-row-odd .ag-cell-inline-editing {
14237
+ .dato-grid:not(.pivot-mode) .ag-row.ag-row-odd .ag-cell-inline-editing {
14227
14238
  background-color: themify(accent-200);
14228
14239
  }
14229
14240
 
14230
- .dato-grid .ag-cell.ag-cell-inline-editing {
14241
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing {
14231
14242
  box-shadow: none;
14232
14243
  padding: 0 2px;
14233
14244
  }
14234
14245
 
14235
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type] {
14246
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type] {
14236
14247
  height: 30px;
14237
14248
  min-height: 30px;
14238
14249
  line-height: 30px;
@@ -14245,191 +14256,309 @@ dato-input input:disabled:hover {
14245
14256
  color: themify(primary-600);
14246
14257
  }
14247
14258
 
14248
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type].no-clear-btn {
14259
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type].no-clear-btn {
14249
14260
  padding-right: 10px;
14250
14261
  }
14251
14262
 
14252
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14263
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14253
14264
  outline: none;
14254
14265
  box-shadow: none;
14255
14266
  }
14256
14267
 
14257
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14268
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14258
14269
  transition: 0.3s all;
14259
14270
  }
14260
14271
 
14261
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-webkit-input-placeholder {
14272
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-webkit-input-placeholder {
14262
14273
  color: themify(primary-300);
14263
14274
  }
14264
14275
 
14265
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-moz-placeholder {
14276
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-moz-placeholder {
14266
14277
  color: themify(primary-300);
14267
14278
  }
14268
14279
 
14269
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-moz-placeholder {
14280
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-moz-placeholder {
14270
14281
  color: themify(primary-300);
14271
14282
  }
14272
14283
 
14273
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-ms-input-placeholder {
14284
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-ms-input-placeholder {
14274
14285
  color: themify(primary-300);
14275
14286
  }
14276
14287
 
14277
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14288
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14278
14289
  border-color: themify(primary-300);
14279
14290
  }
14280
14291
 
14281
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14292
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14282
14293
  border-color: themify(accent-400) !important;
14283
14294
  }
14284
14295
 
14285
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] {
14296
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] {
14286
14297
  background-color: themify(primary-300, 0.1);
14287
14298
  cursor: not-allowed;
14288
14299
  border: 1px solid transparent;
14289
14300
  color: themify(primary-200);
14290
14301
  }
14291
14302
 
14292
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled]:hover {
14303
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled]:hover {
14293
14304
  border: 1px solid transparent;
14294
14305
  }
14295
14306
 
14296
- .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] ~ dato-icon path {
14307
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] ~ dato-icon path {
14297
14308
  fill: themify(primary-200);
14298
14309
  }
14299
14310
 
14300
- .dato-grid .ag-cell.ag-cell-inline-editing .ag-input-text-wrapper {
14311
+ .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing .ag-input-text-wrapper {
14301
14312
  width: 100%;
14302
14313
  }
14303
14314
 
14304
- .dato-grid .da-grid-icon {
14305
- fill: themify(primary-300);
14315
+ .dato-grid.pivot-mode .ag-row.ag-row-group {
14316
+ /** Split into .ag-row-hover/:not(.ag-row-hover) and color the cell instead of the row,
14317
+ to prevent unwanted cell color flicker on row hover change.
14318
+ */
14306
14319
  }
14307
14320
 
14308
- .dato-grid .da-grid-icon:hover {
14309
- fill: themify(accent-400);
14321
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover) {
14322
+ background-color: rgba(var(--primary-50), 1);
14310
14323
  }
14311
14324
 
14312
- dato-grid-v2 .enable-v2_1, dato-grid-v2 .has-background {
14313
- background-color: themify(primary-50);
14325
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-0 .ag-cell.ag-cell-value:nth-child(n+1):not(.leaf-cell) {
14326
+ background-color: themify(primary-0);
14314
14327
  }
14315
14328
 
14316
- dato-grid-v2 .has-background {
14317
- padding-left: 30px;
14318
- padding-right: 30px;
14329
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-0 .ag-cell.ag-cell-value:nth-child(n+1).even {
14330
+ background-color: themify(primary-100);
14319
14331
  }
14320
14332
 
14321
- dato-grid-v2 .ag-cell {
14322
- border-right: solid 1px themify(primary-300, 0.5);
14333
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-1 .ag-cell.ag-cell-value:nth-child(n+2):not(.leaf-cell) {
14334
+ background-color: themify(primary-0);
14323
14335
  }
14324
14336
 
14325
- dato-grid-v2 ag-grid-angular .ag-floating-bottom {
14326
- border: none !important;
14337
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-1 .ag-cell.ag-cell-value:nth-child(n+2).even {
14338
+ background-color: themify(primary-100);
14327
14339
  }
14328
14340
 
14329
- dato-grid-v2 ag-grid-angular .ag-floating-bottom .ag-row {
14330
- background-color: themify(primary-0) !important;
14331
- border: 1px solid themify(primary-200);
14341
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-2 .ag-cell.ag-cell-value:nth-child(n+3):not(.leaf-cell) {
14342
+ background-color: themify(primary-0);
14332
14343
  }
14333
14344
 
14334
- dato-grid-v2 ag-grid-angular .ag-floating-bottom .ag-row .ag-cell {
14335
- border-right: none;
14345
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-2 .ag-cell.ag-cell-value:nth-child(n+3).even {
14346
+ background-color: themify(primary-100);
14336
14347
  }
14337
14348
 
14338
- dato-grid-v2 ag-grid-angular.enable-v2_1 {
14339
- padding-top: 8px;
14349
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-3 .ag-cell.ag-cell-value:nth-child(n+4):not(.leaf-cell) {
14350
+ background-color: themify(primary-0);
14340
14351
  }
14341
14352
 
14342
- dato-grid-v2 ag-grid-angular.enable-v2_1 .ag-header {
14343
- background-color: themify(primary-50);
14353
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-3 .ag-cell.ag-cell-value:nth-child(n+4).even {
14354
+ background-color: themify(primary-100);
14344
14355
  }
14345
14356
 
14346
- dato-grid-v2 ag-grid-angular.enable-v2_1.has-background {
14347
- padding-top: 30px;
14357
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-4 .ag-cell.ag-cell-value:nth-child(n+5):not(.leaf-cell) {
14358
+ background-color: themify(primary-0);
14348
14359
  }
14349
14360
 
14350
- dato-grid-v2 ag-grid-angular:not(.with-multi-selection-col) .ag-pinned-left-cols-container {
14351
- box-shadow: 10px -10px 10px -10px themify(primary-300, 0.5);
14352
- z-index: 1;
14361
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-4 .ag-cell.ag-cell-value:nth-child(n+5).even {
14362
+ background-color: themify(primary-100);
14353
14363
  }
14354
14364
 
14355
- dato-grid-v2 ag-grid-angular.tree .ag-cell .initials {
14356
- background-color: themify(primary-100) !important;
14365
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-5 .ag-cell.ag-cell-value:nth-child(n+6):not(.leaf-cell) {
14366
+ background-color: themify(primary-0);
14357
14367
  }
14358
14368
 
14359
- dato-grid-v2 ag-grid-angular.tree .ag-selection-checkbox .ag-icon-checkbox-indeterminate {
14360
- background-color: themify(primary-200) !important;
14369
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-5 .ag-cell.ag-cell-value:nth-child(n+6).even {
14370
+ background-color: themify(primary-100);
14361
14371
  }
14362
14372
 
14363
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-row.ag-row-group {
14364
- border-bottom: none;
14373
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-6 .ag-cell.ag-cell-value:nth-child(n+7):not(.leaf-cell) {
14374
+ background-color: themify(primary-0);
14365
14375
  }
14366
14376
 
14367
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-row.ag-row-group span {
14368
- color: themify(primary-500) !important;
14377
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-6 .ag-cell.ag-cell-value:nth-child(n+7).even {
14378
+ background-color: themify(primary-100);
14369
14379
  }
14370
14380
 
14371
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-row.ag-row-group:not(.ag-row-level-0) {
14372
- background-color: themify(primary-50) !important;
14381
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-7 .ag-cell.ag-cell-value:nth-child(n+8):not(.leaf-cell) {
14382
+ background-color: themify(primary-0);
14373
14383
  }
14374
14384
 
14375
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-row.ag-row-group:not(.ag-row-level-0) span {
14376
- font-weight: 400;
14385
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-7 .ag-cell.ag-cell-value:nth-child(n+8).even {
14386
+ background-color: themify(primary-100);
14377
14387
  }
14378
14388
 
14379
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-ltr .ag-row-group-leaf-indent {
14380
- margin-left: 0;
14389
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-8 .ag-cell.ag-cell-value:nth-child(n+9):not(.leaf-cell) {
14390
+ background-color: themify(primary-0);
14391
+ }
14392
+
14393
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-8 .ag-cell.ag-cell-value:nth-child(n+9).even {
14394
+ background-color: themify(primary-100);
14395
+ }
14396
+
14397
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-9 .ag-cell.ag-cell-value:nth-child(n+10):not(.leaf-cell) {
14398
+ background-color: themify(primary-0);
14399
+ }
14400
+
14401
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-9 .ag-cell.ag-cell-value:nth-child(n+10).even {
14402
+ background-color: themify(primary-100);
14403
+ }
14404
+
14405
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-10 .ag-cell.ag-cell-value:nth-child(n+11):not(.leaf-cell) {
14406
+ background-color: themify(primary-0);
14407
+ }
14408
+
14409
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-10 .ag-cell.ag-cell-value:nth-child(n+11).even {
14410
+ background-color: themify(primary-100);
14411
+ }
14412
+
14413
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-11 .ag-cell.ag-cell-value:nth-child(n+12):not(.leaf-cell) {
14414
+ background-color: themify(primary-0);
14415
+ }
14416
+
14417
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-11 .ag-cell.ag-cell-value:nth-child(n+12).even {
14418
+ background-color: themify(primary-100);
14419
+ }
14420
+
14421
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-12 .ag-cell.ag-cell-value:nth-child(n+13):not(.leaf-cell) {
14422
+ background-color: themify(primary-0);
14423
+ }
14424
+
14425
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-12 .ag-cell.ag-cell-value:nth-child(n+13).even {
14426
+ background-color: themify(primary-100);
14427
+ }
14428
+
14429
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-13 .ag-cell.ag-cell-value:nth-child(n+14):not(.leaf-cell) {
14430
+ background-color: themify(primary-0);
14431
+ }
14432
+
14433
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-13 .ag-cell.ag-cell-value:nth-child(n+14).even {
14434
+ background-color: themify(primary-100);
14435
+ }
14436
+
14437
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-14 .ag-cell.ag-cell-value:nth-child(n+15):not(.leaf-cell) {
14438
+ background-color: themify(primary-0);
14381
14439
  }
14382
14440
 
14383
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-cell {
14441
+ .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover).ag-row-level-14 .ag-cell.ag-cell-value:nth-child(n+15).even {
14442
+ background-color: themify(primary-100);
14443
+ }
14444
+
14445
+ .dato-grid.pivot-mode .ag-row.ag-row-group.ag-row-hover .ag-cell.ag-cell-value:not(.leaf-cell) {
14446
+ cursor: pointer;
14447
+ }
14448
+
14449
+ .dato-grid.pivot-mode .ag-cell {
14384
14450
  color: themify(primary-500);
14385
14451
  }
14386
14452
 
14387
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-cell {
14453
+ .dato-grid.pivot-mode .ag-cell:not(.leaf-cell) {
14454
+ font-weight: 600;
14455
+ }
14456
+
14457
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell {
14388
14458
  border: none;
14389
14459
  border-top: 1px solid themify(primary-200);
14390
14460
  }
14391
14461
 
14392
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-cell dato-grid-column-header {
14462
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell dato-grid-column-header {
14393
14463
  display: block;
14394
14464
  height: 100%;
14395
14465
  }
14396
14466
 
14397
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-cell dato-grid-column-header > div {
14467
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div {
14398
14468
  height: inherit;
14399
14469
  }
14400
14470
 
14401
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-cell dato-grid-column-header > div span {
14471
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div span {
14402
14472
  color: themify(primary-500);
14403
14473
  }
14404
14474
 
14405
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell .ag-header-cell-resize {
14475
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell-resize {
14476
+ height: 100%;
14477
+ margin: 0;
14478
+ padding: 0;
14479
+ right: 0;
14480
+ border-right: 1px solid themify(primary-200);
14481
+ }
14482
+
14483
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-cell-resize {
14406
14484
  height: 100%;
14407
14485
  border: none;
14408
14486
  }
14409
14487
 
14410
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell .ag-header-group-cell-label {
14488
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label {
14411
14489
  align-items: center;
14412
14490
  }
14413
14491
 
14414
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
14492
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
14415
14493
  height: auto;
14416
14494
  color: themify(primary-500);
14417
14495
  }
14418
14496
 
14419
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group {
14497
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group {
14420
14498
  border-top: 1px solid themify(primary-200);
14421
14499
  border-right: 1px solid themify(primary-200);
14422
14500
  background-color: themify(primary-100);
14423
14501
  }
14424
14502
 
14425
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.empty-pivot-header {
14503
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.empty-pivot-header {
14426
14504
  display: none;
14427
14505
  }
14428
14506
 
14429
- dato-grid-v2 ag-grid-angular.pivot-mode .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.group-pivot-cell .ag-header-group-cell-label {
14507
+ .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.group-pivot-cell .ag-header-group-cell-label {
14430
14508
  justify-content: center;
14431
14509
  }
14432
14510
 
14511
+ dato-grid-v2 .enable-v2_1, dato-grid-v2 .has-background {
14512
+ background-color: themify(primary-50);
14513
+ }
14514
+
14515
+ dato-grid-v2 .has-background {
14516
+ padding-left: 30px;
14517
+ padding-right: 30px;
14518
+ }
14519
+
14520
+ dato-grid-v2 .ag-cell {
14521
+ border-right: solid 1px themify(primary-300, 0.5);
14522
+ }
14523
+
14524
+ dato-grid-v2 ag-grid-angular .ag-floating-bottom {
14525
+ border: none !important;
14526
+ }
14527
+
14528
+ dato-grid-v2 ag-grid-angular .ag-floating-bottom .ag-row {
14529
+ background-color: themify(primary-0) !important;
14530
+ border: 1px solid themify(primary-200);
14531
+ }
14532
+
14533
+ dato-grid-v2 ag-grid-angular .ag-floating-bottom .ag-row .ag-cell {
14534
+ border-right: none;
14535
+ }
14536
+
14537
+ dato-grid-v2 ag-grid-angular.enable-v2_1 {
14538
+ padding-top: 8px;
14539
+ }
14540
+
14541
+ dato-grid-v2 ag-grid-angular.enable-v2_1 .ag-header {
14542
+ background-color: themify(primary-50);
14543
+ }
14544
+
14545
+ dato-grid-v2 ag-grid-angular.enable-v2_1.has-background {
14546
+ padding-top: 30px;
14547
+ }
14548
+
14549
+ dato-grid-v2 ag-grid-angular:not(.with-multi-selection-col) .ag-pinned-left-cols-container {
14550
+ box-shadow: 10px -10px 10px -10px themify(primary-300, 0.5);
14551
+ z-index: 1;
14552
+ }
14553
+
14554
+ dato-grid-v2 ag-grid-angular.tree .ag-cell .initials {
14555
+ background-color: themify(primary-100) !important;
14556
+ }
14557
+
14558
+ dato-grid-v2 ag-grid-angular.tree .ag-selection-checkbox .ag-icon-checkbox-indeterminate {
14559
+ background-color: themify(primary-200) !important;
14560
+ }
14561
+
14433
14562
  .ag-dnd-ghost {
14434
14563
  box-shadow: 0 0 10px -1px themify(primary-700, 0.3);
14435
14564
  background-color: themify(primary-100) !important;