@zambezi/grid
Advanced tools
Comparing version 0.7.0-grouped-rows.0 to 0.7.0-grouped-rows.1
{ | ||
"name": "@zambezi/grid", | ||
"version": "0.7.0-grouped-rows.0", | ||
"version": "0.7.0-grouped-rows.1", | ||
"description": "D3 component for drawing financial grids.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
import { createGroupRowsLayout } from './group-rows-layout' | ||
import { property } from '@zambezi/fun' | ||
import { partial } from 'underscore' | ||
import { property, negate } from '@zambezi/fun' | ||
import { rebind } from '@zambezi/d3-utils' | ||
import { select } from 'd3-selection' | ||
import { selectionChanged } from '@zambezi/d3-utils' | ||
import { selectionChanged, emptyIfFormat } from '@zambezi/d3-utils' | ||
@@ -40,1 +41,9 @@ import './group-rows.css' | ||
} | ||
export function formatRollup(formatter) { | ||
return partial(emptyIfFormat, negate(property('isRollup')), formatter) | ||
} | ||
export function formatNonRollup(formatter) { | ||
return partial(emptyIfFormat, property('isRollup'), formatter) | ||
} |
export { createGrid } from './grid' | ||
export { createNestedRowExpanders } from './nested-row-expanders' | ||
export { formatRollup, formatNonRollup } from './group-rows' | ||
export { unwrap } from './unwrap-row' | ||
export { updateTextIfChanged } from './update-text-if-changed' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
419034
5102