Commit b5ce598
authored
feat: Deephaven UI table databar support (#2190)
Changes needed for dh.ui databars
- Support for extracting data in viewport columns not listed in
`table.columns`. This allows us to hide the aggregation columns for
databars from the user but still get their data. If a column is not in
`table.columns` then it will be added to viewport data via its name
instead of model index
- Improved gradient rendering to be much more efficient
- Fixed opacity being ignored if a gradient was used
- Fixed some of the databar spacing (was 1px off center)
- Modified `colorValueStyle` to have overrides so if we pass a string we
don't get back `string | undefined` when we know we'll get a string
- Modified `resolveCssVariablesInRecord` to always resolve CSS colors
regardless of if they contain a variable1 parent 5b4ce50 commit b5ce598
11 files changed
Lines changed: 136 additions & 196 deletions
File tree
- packages
- components/src/theme
- grid/src
- iris-grid/src
- tests/styleguide.spec.ts-snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| 561 | + | |
| 562 | + | |
561 | 563 | | |
562 | 564 | | |
563 | | - | |
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | 323 | | |
329 | 324 | | |
330 | 325 | | |
331 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
332 | 331 | | |
333 | | - | |
334 | | - | |
335 | | - | |
| 332 | + | |
336 | 333 | | |
337 | | - | |
| 334 | + | |
| 335 | + | |
338 | 336 | | |
339 | 337 | | |
340 | 338 | | |
| |||
344 | 342 | | |
345 | 343 | | |
346 | 344 | | |
347 | | - | |
| 345 | + | |
| 346 | + | |
348 | 347 | | |
349 | 348 | | |
350 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
249 | 251 | | |
250 | 252 | | |
251 | 253 | | |
| |||
0 commit comments