Minor Changes
-
clearableonSelect,TextInputandNumberInputis nowboolean | { onClear }, andsearchableonSelectisboolean | { onSearch?, hideCount?, hideSelectAllToggle? }.Banner'sdismissibleis nowfalse | { onDismiss }, andremoveableonChipandFilterisfalse | { onRemove }. These replace the previous object shapes with an inner enabled flag. (@alex-e-leon, #9646) -
Per-component subpaths (
@hashintel/ds-components/<name>) export only components: importiconNames,ChipSizeanduseFieldIdfrom the root, andFieldIdProviderfrom/field-id-providerinstead of/field-id-context. (@CiaranMn, #9966) -
renderSelectedItemnow renders one selected value inside the multi select's trigger, and a string result also supplies that value's summary text. The newrenderSelectedAllrenders the whole selection, asrenderSelectedItemdid before, andFiltermulti-select inputs accept both. (@alex-e-leon, #9684) -
Buttonno longer shows a pressed state foraria-expandedor emitsaria-pressed: thepressedprop is visual-only, andMenupasses pressed state toButtonthrough context. (@alex-e-leon, #10024) -
Remove the
styleprop fromTextInputandNumberInput. (@alex-e-leon, #10031)
Patch Changes
-
Fix
OverflowRowmeasurement inside fit-content containers, soFilterand the naked and multi variants ofSelectandComboboxshow summary views more consistently. (@alex-e-leon, #10040) -
Add
Comboboxcomponent (@alex-e-leon, #9806) -
Add
multiplesupport toCombobox(@alex-e-leon, #9866) -
Add
IconProvider, which overrides named icons within a component tree and keeps the defaults for icons it omits. (@kube, #9695) -
Dialogaccepts content refs and inline styles, for movable and resizable layouts. (@kube) -
DraweracceptsinitialFocusRefandreturnFocusRefrefs that startnull, asPopoverdoes. (@kube, #9607) -
Filteroperators can declare select inputs, Select + Inputs handles overflowing content better, andSelectkeyboard navigation follows the APG guidelines more closely. (@alex-e-leon, #9646) -
MenuandSelectableListitems withsubItemsaccept amenuClassName. (@CiaranMn, #9739) -
Slideracceptsdisabled, which dims the control and turns its input off. (@kube, #9516) -
Slidergains aplainvariant with a small fixed-size thumb for dense rows, and its rail spans the slider's root however the root aligns its children. (@kube, #9607) -
Slidertreats 0 as a value, anduseElementSizetracks an element that mounts after the first render. (@kube, #9421) -
Add
resolvePandaBuildInfoPathto@hashintel/ds-components/preset, which turns a shippedpanda.buildinfo.jsoninto a path Panda'sincludeaccepts on every platform. (@aacarcrash, #9834) -
Add header and footer options to
SelectableList, with minor UI improvements. (@alex-e-leon, #9584) -
Add a
Breadcrumbcomponent. (@alex-e-leon, #9502)