@teselagen/ui 0.7.33-beta.2 → 0.7.33-beta.4

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 (248) hide show
  1. package/package.json +1 -1
  2. package/src/AdvancedOptions.spec.js +26 -0
  3. package/src/AsyncValidateFieldSpinner/index.js +12 -0
  4. package/src/BlueprintError/index.js +14 -0
  5. package/src/BounceLoader/index.js +16 -0
  6. package/src/BounceLoader/style.css +45 -0
  7. package/src/CollapsibleCard/index.js +68 -0
  8. package/src/CollapsibleCard/style.css +23 -0
  9. package/src/DNALoader/index.js +20 -0
  10. package/src/DNALoader/style.css +251 -0
  11. package/src/DataTable/index.js +3209 -0
  12. package/src/DataTable/style.css +608 -0
  13. package/src/DataTable/utils/filterLocalEntitiesToHasura.test.js +515 -0
  14. package/src/DataTable/utils/index.js +55 -0
  15. package/src/DataTable/utils/simplifyHasuraWhere.test.js +73 -0
  16. package/src/DataTable/utils/tableQueryParamsToHasuraClauses.test.js +219 -0
  17. package/src/DialogFooter/index.js +86 -0
  18. package/src/DialogFooter/style.css +9 -0
  19. package/src/FormComponents/index.js +1266 -0
  20. package/src/FormComponents/style.css +275 -0
  21. package/src/FormComponents/utils.js +6 -0
  22. package/src/HotkeysDialog/index.js +79 -0
  23. package/src/HotkeysDialog/style.css +54 -0
  24. package/src/InfoHelper/index.js +78 -0
  25. package/src/InfoHelper/style.css +7 -0
  26. package/src/IntentText/index.js +18 -0
  27. package/src/Loading/index.js +70 -0
  28. package/src/Loading/style.css +4 -0
  29. package/src/MenuBar/index.js +423 -0
  30. package/src/MenuBar/style.css +45 -0
  31. package/src/PromptUnsavedChanges/index.js +38 -0
  32. package/src/ResizableDraggableDialog/index.js +141 -0
  33. package/src/ResizableDraggableDialog/style.css +42 -0
  34. package/src/ScrollToTop/index.js +72 -0
  35. package/src/TagSelect/index.js +69 -0
  36. package/src/TagSelect/style.css +13 -0
  37. package/src/TgHtmlSelect/index.js +20 -0
  38. package/src/TgSelect/index.js +537 -0
  39. package/src/TgSelect/style.css +61 -0
  40. package/src/TgSuggest/index.js +124 -0
  41. package/src/Timeline/index.js +15 -0
  42. package/src/enhancers/withDialog/index.js +196 -0
  43. package/src/index.js +88 -1
  44. package/src/showConfirmationDialog/index.js +148 -0
  45. package/src/style.css +260 -24
  46. package/AdvancedOptions.js +0 -33
  47. package/AssignDefaultsModeContext.js +0 -22
  48. package/DropdownButton.js +0 -36
  49. package/FillWindow.css +0 -6
  50. package/FillWindow.js +0 -69
  51. package/MatchHeaders.js +0 -234
  52. package/SimpleStepViz.js +0 -22
  53. package/Tag.js +0 -112
  54. package/UploadCsvWizard.css +0 -4
  55. package/UploadCsvWizard.js +0 -719
  56. package/autoTooltip.js +0 -201
  57. package/constants.js +0 -1
  58. package/customIcons.js +0 -361
  59. package/rerenderOnWindowResize.js +0 -26
  60. package/showAppSpinner.js +0 -12
  61. package/showDialogOnDocBody.js +0 -33
  62. package/src/CellDragHandle.js +0 -132
  63. package/src/ColumnFilterMenu.js +0 -62
  64. package/src/Columns.js +0 -979
  65. package/src/DisabledLoadingComponent.js +0 -15
  66. package/src/DisplayOptions.js +0 -199
  67. package/src/DropdownCell.js +0 -61
  68. package/src/EditableCell.js +0 -44
  69. package/src/FilterAndSortMenu.js +0 -388
  70. package/src/FormSeparator.js +0 -9
  71. package/src/LoadingDots.js +0 -14
  72. package/src/PagingTool.js +0 -225
  73. package/src/RenderCell.js +0 -191
  74. package/src/SearchBar.js +0 -69
  75. package/src/SortableColumns.js +0 -100
  76. package/src/TableFormTrackerContext.js +0 -10
  77. package/src/ThComponent.js +0 -44
  78. package/src/TimelineEvent.js +0 -31
  79. package/src/Uploader.js +0 -1278
  80. package/src/adHoc.js +0 -10
  81. package/src/basicHandleActionsWithFullState.js +0 -14
  82. package/src/browserUtils.js +0 -3
  83. package/src/combineReducersWithFullState.js +0 -14
  84. package/src/commandControls.js +0 -82
  85. package/src/commandUtils.js +0 -112
  86. package/src/convertSchema.js +0 -69
  87. package/src/dataTableEnhancer.js +0 -41
  88. package/src/defaultFormatters.js +0 -32
  89. package/src/defaultValidators.js +0 -40
  90. package/src/determineBlackOrWhiteTextColor.js +0 -4
  91. package/src/editCellHelper.js +0 -44
  92. package/src/filterLocalEntitiesToHasura.js +0 -216
  93. package/src/formatPasteData.js +0 -16
  94. package/src/getAllRows.js +0 -11
  95. package/src/getCellCopyText.js +0 -7
  96. package/src/getCellInfo.js +0 -36
  97. package/src/getCellVal.js +0 -20
  98. package/src/getDayjsFormatter.js +0 -35
  99. package/src/getFieldPathToField.js +0 -7
  100. package/src/getIdOrCodeOrIndex.js +0 -9
  101. package/src/getLastSelectedEntity.js +0 -11
  102. package/src/getNewEntToSelect.js +0 -25
  103. package/src/getNewName.js +0 -31
  104. package/src/getRowCopyText.js +0 -28
  105. package/src/getTableConfigFromStorage.js +0 -5
  106. package/src/getTextFromEl.js +0 -28
  107. package/src/getVals.js +0 -8
  108. package/src/handleCopyColumn.js +0 -21
  109. package/src/handleCopyHelper.js +0 -15
  110. package/src/handleCopyRows.js +0 -23
  111. package/src/handleCopyTable.js +0 -16
  112. package/src/handlerHelpers.js +0 -24
  113. package/src/hotkeyUtils.js +0 -131
  114. package/src/initializeHasuraWhereAndFilter.js +0 -27
  115. package/src/isBeingCalledExcessively.js +0 -24
  116. package/src/isBottomRightCornerOfRectangle.js +0 -20
  117. package/src/isEntityClean.js +0 -15
  118. package/src/isTruthy.js +0 -12
  119. package/src/isValueEmpty.js +0 -3
  120. package/src/itemUpload.js +0 -84
  121. package/src/menuUtils.js +0 -433
  122. package/src/popoverOverflowModifiers.js +0 -11
  123. package/src/primarySelectedValue.js +0 -1
  124. package/src/pureNoFunc.js +0 -31
  125. package/src/queryParams.js +0 -336
  126. package/src/removeCleanRows.js +0 -22
  127. package/src/renderOnDoc.js +0 -32
  128. package/src/rowClick.js +0 -181
  129. package/src/selection.js +0 -8
  130. package/src/showProgressToast.js +0 -22
  131. package/src/simplifyHasuraWhere.js +0 -80
  132. package/src/sortify.js +0 -73
  133. package/tableQueryParamsToHasuraClauses.js +0 -113
  134. package/tagUtils.js +0 -45
  135. package/tgFormValues.js +0 -35
  136. package/tg_modalState.js +0 -47
  137. package/throwFormError.js +0 -16
  138. package/toastr.js +0 -148
  139. package/tryToMatchSchemas.js +0 -264
  140. package/typeToCommonType.js +0 -6
  141. package/useDeepEqualMemo.js +0 -15
  142. package/useDialog.js +0 -63
  143. package/useStableReference.js +0 -9
  144. package/useTableEntities.js +0 -38
  145. package/useTraceUpdate.js +0 -19
  146. package/utils.js +0 -37
  147. package/validateTableWideErrors.js +0 -160
  148. package/viewColumn.js +0 -97
  149. package/withField.js +0 -20
  150. package/withFields.js +0 -11
  151. package/withLocalStorage.js +0 -11
  152. package/withSelectTableRecords.js +0 -43
  153. package/withSelectedEntities.js +0 -65
  154. package/withStore.js +0 -10
  155. package/withTableParams.js +0 -288
  156. package/wrapDialog.js +0 -116
  157. /package/{CellDragHandle.js → src/DataTable/CellDragHandle.js} +0 -0
  158. /package/{ColumnFilterMenu.js → src/DataTable/ColumnFilterMenu.js} +0 -0
  159. /package/{Columns.js → src/DataTable/Columns.js} +0 -0
  160. /package/{DisabledLoadingComponent.js → src/DataTable/DisabledLoadingComponent.js} +0 -0
  161. /package/{DisplayOptions.js → src/DataTable/DisplayOptions.js} +0 -0
  162. /package/{DropdownCell.js → src/DataTable/DropdownCell.js} +0 -0
  163. /package/{EditableCell.js → src/DataTable/EditableCell.js} +0 -0
  164. /package/{FilterAndSortMenu.js → src/DataTable/FilterAndSortMenu.js} +0 -0
  165. /package/{PagingTool.js → src/DataTable/PagingTool.js} +0 -0
  166. /package/{RenderCell.js → src/DataTable/RenderCell.js} +0 -0
  167. /package/{SearchBar.js → src/DataTable/SearchBar.js} +0 -0
  168. /package/{SortableColumns.js → src/DataTable/SortableColumns.js} +0 -0
  169. /package/{TableFormTrackerContext.js → src/DataTable/TableFormTrackerContext.js} +0 -0
  170. /package/{ThComponent.js → src/DataTable/ThComponent.js} +0 -0
  171. /package/{dataTableEnhancer.js → src/DataTable/dataTableEnhancer.js} +0 -0
  172. /package/{defaultFormatters.js → src/DataTable/defaultFormatters.js} +0 -0
  173. /package/{defaultValidators.js → src/DataTable/defaultValidators.js} +0 -0
  174. /package/{editCellHelper.js → src/DataTable/editCellHelper.js} +0 -0
  175. /package/{getCellVal.js → src/DataTable/getCellVal.js} +0 -0
  176. /package/{getVals.js → src/DataTable/getVals.js} +0 -0
  177. /package/{isTruthy.js → src/DataTable/isTruthy.js} +0 -0
  178. /package/{isValueEmpty.js → src/DataTable/isValueEmpty.js} +0 -0
  179. /package/{convertSchema.js → src/DataTable/utils/convertSchema.js} +0 -0
  180. /package/{filterLocalEntitiesToHasura.js → src/DataTable/utils/filterLocalEntitiesToHasura.js} +0 -0
  181. /package/{formatPasteData.js → src/DataTable/utils/formatPasteData.js} +0 -0
  182. /package/{getAllRows.js → src/DataTable/utils/getAllRows.js} +0 -0
  183. /package/{getCellCopyText.js → src/DataTable/utils/getCellCopyText.js} +0 -0
  184. /package/{getCellInfo.js → src/DataTable/utils/getCellInfo.js} +0 -0
  185. /package/{getFieldPathToField.js → src/DataTable/utils/getFieldPathToField.js} +0 -0
  186. /package/{getIdOrCodeOrIndex.js → src/DataTable/utils/getIdOrCodeOrIndex.js} +0 -0
  187. /package/{getLastSelectedEntity.js → src/DataTable/utils/getLastSelectedEntity.js} +0 -0
  188. /package/{getNewEntToSelect.js → src/DataTable/utils/getNewEntToSelect.js} +0 -0
  189. /package/{getRowCopyText.js → src/DataTable/utils/getRowCopyText.js} +0 -0
  190. /package/{getTableConfigFromStorage.js → src/DataTable/utils/getTableConfigFromStorage.js} +0 -0
  191. /package/{handleCopyColumn.js → src/DataTable/utils/handleCopyColumn.js} +0 -0
  192. /package/{handleCopyHelper.js → src/DataTable/utils/handleCopyHelper.js} +0 -0
  193. /package/{handleCopyRows.js → src/DataTable/utils/handleCopyRows.js} +0 -0
  194. /package/{handleCopyTable.js → src/DataTable/utils/handleCopyTable.js} +0 -0
  195. /package/{initializeHasuraWhereAndFilter.js → src/DataTable/utils/initializeHasuraWhereAndFilter.js} +0 -0
  196. /package/{isBottomRightCornerOfRectangle.js → src/DataTable/utils/isBottomRightCornerOfRectangle.js} +0 -0
  197. /package/{isEntityClean.js → src/DataTable/utils/isEntityClean.js} +0 -0
  198. /package/{primarySelectedValue.js → src/DataTable/utils/primarySelectedValue.js} +0 -0
  199. /package/{queryParams.js → src/DataTable/utils/queryParams.js} +0 -0
  200. /package/{removeCleanRows.js → src/DataTable/utils/removeCleanRows.js} +0 -0
  201. /package/{rowClick.js → src/DataTable/utils/rowClick.js} +0 -0
  202. /package/{selection.js → src/DataTable/utils/selection.js} +0 -0
  203. /package/{simplifyHasuraWhere.js → src/DataTable/utils/simplifyHasuraWhere.js} +0 -0
  204. /package/src/{tableQueryParamsToHasuraClauses.js → DataTable/utils/tableQueryParamsToHasuraClauses.js} +0 -0
  205. /package/src/{useTableEntities.js → DataTable/utils/useTableEntities.js} +0 -0
  206. /package/src/{utils.js → DataTable/utils/utils.js} +0 -0
  207. /package/src/{withSelectedEntities.js → DataTable/utils/withSelectedEntities.js} +0 -0
  208. /package/src/{withTableParams.js → DataTable/utils/withTableParams.js} +0 -0
  209. /package/src/{validateTableWideErrors.js → DataTable/validateTableWideErrors.js} +0 -0
  210. /package/src/{viewColumn.js → DataTable/viewColumn.js} +0 -0
  211. /package/{FormSeparator.js → src/FormComponents/FormSeparator.js} +0 -0
  212. /package/{LoadingDots.js → src/FormComponents/LoadingDots.js} +0 -0
  213. /package/{Uploader.js → src/FormComponents/Uploader.js} +0 -0
  214. /package/{getNewName.js → src/FormComponents/getNewName.js} +0 -0
  215. /package/{itemUpload.js → src/FormComponents/itemUpload.js} +0 -0
  216. /package/{sortify.js → src/FormComponents/sortify.js} +0 -0
  217. /package/src/{tryToMatchSchemas.js → FormComponents/tryToMatchSchemas.js} +0 -0
  218. /package/{TimelineEvent.js → src/Timeline/TimelineEvent.js} +0 -0
  219. /package/{style.css → src/Timeline/style.css} +0 -0
  220. /package/src/{tg_modalState.js → enhancers/withDialog/tg_modalState.js} +0 -0
  221. /package/src/{withField.js → enhancers/withField.js} +0 -0
  222. /package/src/{withFields.js → enhancers/withFields.js} +0 -0
  223. /package/src/{withLocalStorage.js → enhancers/withLocalStorage.js} +0 -0
  224. /package/{adHoc.js → src/utils/adHoc.js} +0 -0
  225. /package/{basicHandleActionsWithFullState.js → src/utils/basicHandleActionsWithFullState.js} +0 -0
  226. /package/{browserUtils.js → src/utils/browserUtils.js} +0 -0
  227. /package/{combineReducersWithFullState.js → src/utils/combineReducersWithFullState.js} +0 -0
  228. /package/{commandControls.js → src/utils/commandControls.js} +0 -0
  229. /package/{commandUtils.js → src/utils/commandUtils.js} +0 -0
  230. /package/{determineBlackOrWhiteTextColor.js → src/utils/determineBlackOrWhiteTextColor.js} +0 -0
  231. /package/{getDayjsFormatter.js → src/utils/getDayjsFormatter.js} +0 -0
  232. /package/{getTextFromEl.js → src/utils/getTextFromEl.js} +0 -0
  233. /package/{handlerHelpers.js → src/utils/handlerHelpers.js} +0 -0
  234. /package/{index.js → src/utils/hooks/index.js} +0 -0
  235. /package/src/{useDeepEqualMemo.js → utils/hooks/useDeepEqualMemo.js} +0 -0
  236. /package/src/{useStableReference.js → utils/hooks/useStableReference.js} +0 -0
  237. /package/{hotkeyUtils.js → src/utils/hotkeyUtils.js} +0 -0
  238. /package/{isBeingCalledExcessively.js → src/utils/isBeingCalledExcessively.js} +0 -0
  239. /package/{menuUtils.js → src/utils/menuUtils.js} +0 -0
  240. /package/{popoverOverflowModifiers.js → src/utils/popoverOverflowModifiers.js} +0 -0
  241. /package/{pureNoFunc.js → src/utils/pureNoFunc.js} +0 -0
  242. /package/{renderOnDoc.js → src/utils/renderOnDoc.js} +0 -0
  243. /package/{showProgressToast.js → src/utils/showProgressToast.js} +0 -0
  244. /package/src/{tagUtils.js → utils/tagUtils.js} +0 -0
  245. /package/src/{tgFormValues.js → utils/tgFormValues.js} +0 -0
  246. /package/src/{useTraceUpdate.js → utils/useTraceUpdate.js} +0 -0
  247. /package/src/{withSelectTableRecords.js → utils/withSelectTableRecords.js} +0 -0
  248. /package/src/{withStore.js → utils/withStore.js} +0 -0
@@ -0,0 +1,608 @@
1
+ /* DataTable style.css */
2
+ .custom-menu-item {
3
+ text-overflow: ellipsis;
4
+ white-space: nowrap;
5
+ word-wrap: normal;
6
+ display: block;
7
+ border-radius: 2px;
8
+ padding: 7px;
9
+ line-height: 16px;
10
+ color: inherit;
11
+ user-select: none;
12
+ }
13
+
14
+ .menu-buttons {
15
+ display: flex;
16
+ justify-content: space-between;
17
+ }
18
+
19
+ .data-table-header-menu {
20
+ min-width: 210px;
21
+ }
22
+
23
+ .data-table-search-and-filter {
24
+ display: flex;
25
+ }
26
+
27
+ .datatable-search-input.bp3-form-group {
28
+ margin-bottom: 0;
29
+ }
30
+
31
+ .data-table-header {
32
+ display: flex;
33
+ flex-wrap: wrap;
34
+ margin-bottom: 10px;
35
+ justify-content: space-between;
36
+ align-items: center;
37
+ }
38
+
39
+ .data-table-header-and-buttons .bp3-button-group {
40
+ overflow: auto;
41
+ }
42
+
43
+ .data-table-title {
44
+ font-size: 1.8em;
45
+ font-weight: 300;
46
+ margin-right: 10px;
47
+ }
48
+ .data-table-header {
49
+ min-height: 30px;
50
+ flex-shrink: 0;
51
+ }
52
+ .data-table-footer {
53
+ min-height: 18px;
54
+ }
55
+
56
+ .data-table-container {
57
+ padding: 20px;
58
+ position: relative;
59
+ height: 100%;
60
+ width: 100%;
61
+ display: flex;
62
+ flex-direction: column;
63
+ }
64
+ @media only screen and (max-width: 600px) {
65
+ .data-table-container {
66
+ padding: 0px;
67
+ }
68
+ }
69
+
70
+ .data-table-container.fullscreen {
71
+ background: white;
72
+ position: fixed;
73
+ z-index: 5000;
74
+ padding: 20px !important;
75
+ left: 0;
76
+ top: 0;
77
+ width: 100vw;
78
+ height: 100vh;
79
+ }
80
+
81
+ .data-table-container.fullscreen .ReactTable {
82
+ max-height: 100% !important;
83
+ }
84
+
85
+ .data-table-container.no-padding {
86
+ padding: 0;
87
+ }
88
+
89
+ .data-table-container.hide-column-header .rt-thead.-header {
90
+ display: none;
91
+ }
92
+
93
+ .data-table-title-and-buttons {
94
+ display: flex;
95
+ align-items: center;
96
+ }
97
+
98
+ .datatable-search-input {
99
+ width: 200px;
100
+ }
101
+
102
+ .clickable-cell {
103
+ height: 100%;
104
+ width: 100%;
105
+ display: flex;
106
+ align-items: center;
107
+ }
108
+
109
+ .paging-toolbar-container {
110
+ margin-left: 5px;
111
+ display: flex;
112
+ justify-content: flex-end;
113
+ align-items: center;
114
+ }
115
+
116
+ .paging-page-size {
117
+ width: 62px;
118
+ }
119
+
120
+ .ReactTable.ReactTable .rt-tbody .rt-tr-group {
121
+ border-bottom: 1px solid rgb(233, 233, 233);
122
+ }
123
+ .ReactTable.ReactTable.isCellEditable .rt-tbody .rt-tr-group {
124
+ border-right: 4px solid #d4d4d433;
125
+ border-bottom: none;
126
+ }
127
+ .ReactTable.ReactTable.isCellEditable .rt-thead .rt-tr {
128
+ border-right: 4px solid #d4d4d433;
129
+ }
130
+ .ReactTable.ReactTable.isCellEditable .rt-thead .rt-th {
131
+ border: var(--cell-border-width) solid rgba(212, 212, 212, 0);
132
+ }
133
+
134
+ /* tgreen: we don't want the border for rows that don't have any data */
135
+ .ReactTable.ReactTable .rt-tbody .rt-tr-group.no-row-data {
136
+ min-height: 0px;
137
+ border-bottom: none;
138
+ }
139
+
140
+ .ReactTable.ReactTable .rt-tbody .rt-tr {
141
+ border: none;
142
+ }
143
+
144
+ .bp3-dark .ReactTable.ReactTable .rt-tbody .rt-tr-group {
145
+ border-bottom-color: rgba(16, 22, 26, 0.15);
146
+ }
147
+
148
+ .ReactTable.ReactTable .rt-tbody .rt-tr-group .-padRow {
149
+ display: none;
150
+ }
151
+
152
+ /* Prevent rows from expanding vertically to fill available space */
153
+ .ReactTable.ReactTable .rt-tbody .rt-tr-group,
154
+ .ReactTable.ReactTable .rt-tbody .rt-tr-group .rt-tr {
155
+ min-height: 28px;
156
+ flex: 0 0 auto;
157
+ }
158
+
159
+ /* add margin bottom to last row so it does not get covered by scrollbar */
160
+ /* .ReactTable .rt-tr-group:last-child {
161
+ margin-bottom: 20px;
162
+ } */
163
+
164
+ .bp3-icon-standard.bp3-disabled {
165
+ cursor: not-allowed;
166
+ opacity: 0.7;
167
+ }
168
+
169
+ .data-table-search-and-clear-filter-container {
170
+ display: flex;
171
+ align-items: center;
172
+ }
173
+
174
+ .data-table-clear-filters {
175
+ margin-right: 10px;
176
+ }
177
+
178
+ .tg-react-table-column-header {
179
+ display: flex;
180
+ align-items: center;
181
+ justify-content: flex-start;
182
+ }
183
+
184
+ .tg-react-table-name {
185
+ white-space: nowrap;
186
+ overflow: hidden;
187
+ min-width: 0px;
188
+ padding: 6px;
189
+ text-overflow: ellipsis;
190
+ font-size: 13px;
191
+ font-weight: 400;
192
+ color: rgba(0, 0, 0, 0.65);
193
+ }
194
+
195
+ .tg-sort-arrow-container {
196
+ margin-left: 4px;
197
+ display: flex;
198
+ flex-direction: column;
199
+ }
200
+
201
+ .tg-sort-arrow-container .bp3-icon {
202
+ display: none;
203
+ }
204
+
205
+ .tg-sort-arrow-container > *:hover {
206
+ background: rgba(167, 182, 194, 0.3);
207
+ }
208
+
209
+ .tg-filter-menu-button {
210
+ cursor: pointer;
211
+ display: none;
212
+ color: darkgrey;
213
+ margin-right: 4px;
214
+ }
215
+
216
+ .tg-filter-menu-button:hover {
217
+ color: #5c7080;
218
+ }
219
+
220
+ .tg-filter-menu-button.tg-active-filter {
221
+ color: #106ba3;
222
+ }
223
+
224
+ /* this keeps the buttons from jumping around on hover */
225
+ .tg-react-table-column-header.sort-active .tg-filter-menu-button {
226
+ display: block !important;
227
+ opacity: 0;
228
+ }
229
+
230
+ .tg-filter-menu-button.tg-active-filter,
231
+ .tg-sort-arrow-container .bp3-icon.active,
232
+ body:not(.drag-active)
233
+ .tg-react-table-column-header:hover
234
+ .tg-sort-arrow-container
235
+ .bp3-icon,
236
+ body:not(.drag-active)
237
+ .tg-react-table-column-header:hover
238
+ .tg-filter-menu-button,
239
+ .tg-filter-menu-button.tg-active-filter,
240
+ .tg-react-table-column-header .bp3-popover-open .tg-filter-menu-button {
241
+ display: block !important;
242
+ opacity: 1 !important;
243
+ }
244
+
245
+ .data-table-footer {
246
+ display: flex;
247
+ flex-wrap: wrap;
248
+ align-items: center;
249
+ margin-top: 20px;
250
+ }
251
+
252
+ .ReactTable {
253
+ user-select: none;
254
+ background: #f7f7f7;
255
+ }
256
+
257
+ .ReactTable .rt-thead {
258
+ box-shadow: none;
259
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
260
+ position: sticky;
261
+ top: 0px;
262
+ background: #ebf1f5;
263
+ z-index: 2;
264
+ }
265
+ /* tnr: this is a hack to make cypress be able to correctly click the table without the sticky header getting in the way. remove me once https://github.com/cypress-io/cypress/issues/871 is fixed */
266
+ .in_cypress_test .ReactTable .rt-thead {
267
+ position: unset;
268
+ }
269
+
270
+ .bp3-dark .ReactTable .rt-thead {
271
+ background: #202b33;
272
+ }
273
+
274
+ .ReactTable .rt-tbody {
275
+ background: white;
276
+ overflow: visible !important;
277
+ }
278
+
279
+ .ReactTable .rt-tbody .rt-td {
280
+ cursor: pointer;
281
+ border-right: none;
282
+ color: rgba(0, 0, 0, 0.65);
283
+ font-size: 12px;
284
+ display: flex;
285
+ align-items: center;
286
+ padding: 12px 12px;
287
+ }
288
+ /* .ReactTable .rt-tbody .rt-td.isCleanRow {
289
+ opacity: 0.5;
290
+ } */
291
+
292
+ /* fix padding in custom row expander cell */
293
+ .ReactTable .rt-tbody .rt-expandable {
294
+ padding: 3px 5px;
295
+ }
296
+
297
+ .ReactTable .rt-tbody .rt-tr-group {
298
+ border-bottom-color: rgb(233, 233, 233);
299
+ }
300
+
301
+ .ReactTable .rt-tr-group.selected {
302
+ background: #e4f3f8 !important;
303
+ }
304
+
305
+ .ReactTable .rt-tr-group.disabled {
306
+ opacity: 0.6;
307
+ }
308
+
309
+ .ReactTable .rt-tr-group.disabled .rt-td {
310
+ cursor: not-allowed;
311
+ }
312
+
313
+ .dt-isViewable .ReactTable .rt-tr-group.selected .dt-eyeIcon {
314
+ color: #137cbd;
315
+ transform: scale(1.2);
316
+ }
317
+
318
+ .ReactTable .rt-tbody .rt-td {
319
+ padding: 8px 8px;
320
+ }
321
+ :root {
322
+ --cell-border-width: 1px;
323
+ --cell-no-border: var(--cell-border-width) solid rgba(212, 212, 212, 0.07);
324
+ --cell-border-color: rgb(75, 137, 255);
325
+ }
326
+
327
+ .ReactTable.isCellEditable .rt-td {
328
+ border: var(--cell-border-width) solid rgba(212, 212, 212, 0.2);
329
+ }
330
+
331
+ .ReactTable .rt-tbody .rt-td.isSelectedCell {
332
+ overflow: visible;
333
+ z-index: 1;
334
+ background: #005eff1e;
335
+ }
336
+
337
+ .ReactTable .rt-tbody .rt-td.isSelectedCell.isPrimarySelected {
338
+ border: var(--cell-border-width) solid var(--cell-border-color);
339
+ box-shadow: 0 0 0 1px rgb(75 137 255);
340
+ }
341
+
342
+ .ReactTable .rt-tbody .rt-td.isSelectedCell.isSecondarySelected {
343
+ border: var(--cell-border-width) solid var(--cell-border-color);
344
+ }
345
+
346
+ .ReactTable
347
+ .rt-tbody
348
+ .rt-td.isSelectedCell.isSecondarySelected.noSelectedTopBorder {
349
+ border-top: var(--cell-no-border);
350
+ }
351
+ .ReactTable
352
+ .rt-tbody
353
+ .rt-td.isSelectedCell.isSecondarySelected.noSelectedRightBorder {
354
+ border-right: var(--cell-no-border);
355
+ }
356
+ .ReactTable
357
+ .rt-tbody
358
+ .rt-td.isSelectedCell.isSecondarySelected.noSelectedBottomBorder {
359
+ border-bottom: var(--cell-no-border);
360
+ }
361
+ .ReactTable
362
+ .rt-tbody
363
+ .rt-td.isSelectedCell.isSecondarySelected.noSelectedLeftBorder {
364
+ border-left: var(--cell-no-border);
365
+ }
366
+
367
+ .ReactTable .rt-tbody .rt-td.isSelectedCell.isDropdownCell {
368
+ padding-top: 0px;
369
+ padding-bottom: 0px;
370
+ }
371
+ .ReactTable .rt-tbody .rt-td.hasCellError {
372
+ background-color: rgba(226, 50, 50, 0.61);
373
+ }
374
+ .ReactTable .rt-tbody .rt-td.isBooleanCell {
375
+ overflow: visible;
376
+ }
377
+ .ReactTable .rt-tbody .rt-td.selectedForUpdate {
378
+ border: var(--cell-border-width) dashed var(--cell-border-color);
379
+ }
380
+
381
+ .tg-compact-table .rt-tbody .rt-td {
382
+ padding: 4px 4px;
383
+ display: flex;
384
+ align-items: center;
385
+ }
386
+
387
+ .tg-extra-compact-table .rt-tbody .rt-td {
388
+ padding: 0px 0px;
389
+ display: flex;
390
+ align-items: center;
391
+ }
392
+
393
+ .ReactTable .rt-thead .rt-th.tg-react-table-checkbox-header-container,
394
+ .ReactTable .rt-tbody .rt-td.tg-react-table-checkbox-cell-container {
395
+ display: flex;
396
+ align-items: center;
397
+ justify-content: center;
398
+ padding: 0;
399
+ }
400
+
401
+ .tg-react-table-checkbox-header-container .bp3-control,
402
+ .tg-react-table-checkbox-cell-container .bp3-control {
403
+ margin-bottom: 0;
404
+ margin-top: 0;
405
+ /* there is a weird padding on the blueprint checkbox, so this centers it some */
406
+ padding-left: 18px;
407
+ }
408
+
409
+ .tg-react-table-checkbox-header-container .bp3-control-indicator,
410
+ .tg-react-table-checkbox-cell-container .bp3-control-indicator {
411
+ margin-left: -10px !important;
412
+ }
413
+
414
+ .tg-compact-table .tg-react-table-name {
415
+ padding: 6px;
416
+ padding-left: 4px;
417
+ }
418
+
419
+ .tg-extra-compact-table .tg-react-table-name {
420
+ padding: 4px;
421
+ padding-left: 2px;
422
+ }
423
+
424
+ .ReactTable .-loading.disabled {
425
+ cursor: not-allowed;
426
+ }
427
+
428
+ /* to get the height to resize based on its container: */
429
+ .ReactTable {
430
+ height: 100%;
431
+ display: flex;
432
+ flex-direction: column;
433
+ }
434
+
435
+ .ReactTable .rt-table {
436
+ /* flex: 100000 0 auto; */
437
+ overflow: auto !important;
438
+ }
439
+
440
+ .-pagination,
441
+ .rt-body {
442
+ flex: 1 0 auto;
443
+ }
444
+
445
+ .tg-dropdown-cell-edit-container {
446
+ width: 100%;
447
+ }
448
+
449
+ .rt-td.isDropdownCell {
450
+ transition: 0s;
451
+ }
452
+ .rt-td.isEditingCell.isDropdownCell {
453
+ padding: 0;
454
+ /* max-height: 24px; */
455
+ }
456
+
457
+ .tg-dropdown-cell-edit-container .bp3-tag-input .bp3-button {
458
+ margin: 0;
459
+ }
460
+ /* .tg-dropdown-cell-edit-container .bp3-tag-input .bp3-tag-input-values > * {
461
+ margin-bottom: 0;
462
+ } */
463
+ .tg-dropdown-cell-edit-container:not(.tg-dropdown-cell-edit-container-multi)
464
+ .bp3-tag-input {
465
+ min-height: 0;
466
+ max-height: 22px;
467
+ }
468
+
469
+ .tg-dropdown-cell-edit-container .bp3-tag-input-values {
470
+ margin-top: 0;
471
+ margin-right: 0;
472
+ }
473
+
474
+ .tg-dropdown-cell-edit-container .bp3-input {
475
+ background: #f7f7f7 !important;
476
+ box-shadow: none !important;
477
+ }
478
+
479
+ .ReactTable .rt-thead .rt-th {
480
+ transition-property: unset;
481
+ padding: 0;
482
+ }
483
+
484
+ .ReactTable .rt-thead .rt-th,
485
+ .ReactTable .rt-thead .rt-td {
486
+ border-right: none;
487
+ }
488
+
489
+ .ReactTable .rt-thead .rt-resizable-header {
490
+ border-right: 1px solid #e1e8ed;
491
+ }
492
+
493
+ .bp3-dark .ReactTable .rt-thead .rt-resizable-header {
494
+ border-right: 1px solid #202b33;
495
+ }
496
+
497
+ .ReactTable .rt-thead .rt-resizable-header:hover {
498
+ border-right: 1px solid #ced9e0;
499
+ }
500
+
501
+ .show-on-hover {
502
+ color: #fff;
503
+ font-size: 13px !important;
504
+ }
505
+
506
+ .hoverable:hover .show-on-hover {
507
+ display: inline !important;
508
+ color: #ccc;
509
+ }
510
+
511
+ .ReactTable .rt-noData {
512
+ z-index: unset;
513
+ margin-top: 5px;
514
+ }
515
+
516
+ /* dark styles */
517
+ .bp3-dark .ReactTable {
518
+ background: #182026 !important;
519
+ color: #f5f8fa !important;
520
+ border-color: #293742;
521
+ }
522
+ /* dark styles */
523
+ .bp3-dark .ReactTable .rt-tbody {
524
+ background: #30404d !important;
525
+ }
526
+ .ReactTable .rt-thead.-header {
527
+ box-shadow: none;
528
+ }
529
+ .bp3-dark .ReactTable .rt-thead.-header {
530
+ color: #f5f8fa !important;
531
+ }
532
+
533
+ .bp3-dark .ReactTable .rt-tbody .rt-td,
534
+ .bp3-dark .tg-react-table-name {
535
+ color: #f5f8fa !important;
536
+ }
537
+
538
+ .bp3-dark .ReactTable .rt-noData {
539
+ background: #202b33 !important;
540
+ color: inherit !important;
541
+ }
542
+
543
+ .bp3-dark .ReactTable .-loading {
544
+ background: #30404d !important;
545
+ }
546
+
547
+ .bp3-dark .ReactTable .-loading > div {
548
+ color: #f5f8fa !important;
549
+ }
550
+
551
+ .bp3-dark .ReactTable .rt-tr-group.selected {
552
+ background: #26738cb0 !important;
553
+ }
554
+
555
+ .dt-isViewable .ReactTable .rt-tr-group.selected {
556
+ background: inherit !important;
557
+ }
558
+
559
+ .bp3-dark .ReactTable .rt-thead .rt-resizable-header:hover {
560
+ border-right-color: #738694;
561
+ }
562
+
563
+ .bp3-dark .data-table-container.fullscreen {
564
+ background: #293742;
565
+ }
566
+
567
+ .data-table-container .ReactTable .rt-resizer {
568
+ width: 10px;
569
+ right: -5px;
570
+ }
571
+
572
+ .bp3-dark .dt-minimalStyle .ReactTable {
573
+ background: transparent !important;
574
+ }
575
+ .bp3-dark .dt-minimalStyle .ReactTable {
576
+ border-color: transparent !important;
577
+ }
578
+ .bp3-dark .dt-minimalStyle .ReactTable * {
579
+ border-color: transparent !important ;
580
+ }
581
+ .dt-minimalStyle .ReactTable {
582
+ background: transparent !important;
583
+ }
584
+ .dt-minimalStyle .ReactTable {
585
+ border-color: transparent !important;
586
+ }
587
+ .dt-minimalStyle .ReactTable * {
588
+ border-color: transparent !important ;
589
+ }
590
+
591
+ .bp3-dark .tg-dropdown-cell-edit-container .bp3-input {
592
+ background: rgb(48, 64, 77) !important;
593
+ }
594
+
595
+ .cell-edit-dropdown:hover {
596
+ color: var(--cell-border-color);
597
+ }
598
+ .tgBorderBlue {
599
+ outline: 1px solid rgb(75, 149, 210);
600
+ }
601
+ .data-table-container-inner {
602
+ min-height: 150px;
603
+ position: relative;
604
+ height: 100%;
605
+ width: 100%;
606
+ display: flex;
607
+ flex-direction: column;
608
+ }