@deephaven/utils
Advanced tools
Changelog
0.84.0 (2024-06-28)
useSearchableViewportData
to be more consistent with
useViewportData
. usePickerWithSelectedValues
now requires
timeZone
.createSearchTextFilter
requires timeZone
isElementOfType
Improved type inference (#2099) (e13c9d7), closes #2094Changelog
0.83.0 (2024-06-25)
options
prop to define dropdown
items. For cases where option value and display are the same, passing an
array of values as children
will work. For cases where value and
display differ, Item
elements must be passed as children. e.g. <Item key={value}>{display}</Item>
e.g.// values will be used for display + value
const items = useMemo(
() => ['Aaa', 'Bbb', 'Ccc'],
[]
)
<ComboBox>{items}</ComboBox>
<ComboBox>
<Item key="aaa">Aaa</Item>
<Item key="bbb">Bbb</Item>
<Item key="ccc">Ccc</Item>
</ComboBox>
spellcheck=false
prop is no longer supported or neededsearchPlaceholder
and inputPlaceholder
props are no longer
supported and should be omitted. There is an optional description
prop
for cases where a descriptive label is desired. There is also a label
prop for the primary component label.