Releases: cube-js/cube-ui-kit
v0.96.0
Minor Changes
fe46a7f2Thanks @tenphi! - Add newLayoutcomponent with compound sub-components for building complex application layouts. IncludesLayout.Header,Layout.Footer,Layout.Content,Layout.Toolbar,Layout.Pane,Layout.Panel,Layout.PanelHeader,Layout.Block,Layout.Flex,Layout.Grid, and standaloneGridLayout.
v0.95.0
Minor Changes
-
#911
33990457Thanks @tenphi! - AddedTextItemcomponent for displaying text with automatic overflow handling and tooltips. Features include:- Auto-tooltip on text overflow (enabled by default)
- Text highlighting with
highlightprop for search results - Customizable highlight styles via
highlightStylesprop - Case-sensitive/insensitive highlight matching
- Inherits all
Textcomponent props
Added
Text.Highlightsub-component for semantic text highlighting (uses<mark>element).Breaking: Removed
Text.Selectionin favor ofText.Highlight.
v0.94.2
v0.94.1
v0.94.0
Minor Changes
-
#906
9fd69a24Thanks @tenphi! - Add newDisclosurecomponent for expandable/collapsible content sections. Features include:Disclosure- Single expandable panel with trigger and contentDisclosure.Trigger- Built on ItemButton with full support for icons, descriptions, and actionsDisclosure.Content- Collapsible content area with smooth height animationsDisclosure.Group- Accordion container for multiple disclosures with single or multiple expanded supportDisclosure.Item- Individual item within a group
Supports controlled/uncontrolled state,
shapevariants (default,card,sharp), disabled state, custom transition duration, and render prop API for custom triggers.
Patch Changes
v0.93.1
v0.93.0
Minor Changes
-
#901
1d980997Thanks @tenphi! - Added unified support forfieldProps,fieldStyles,labelProps, andlabelStylesacross all field components. ThefieldStylesandlabelStylesprops serve as shorthands forfieldProps.stylesandlabelProps.stylesrespectively, with shorthand props taking priority. All merging logic is centralized in thewrapWithFieldhelper.Breaking changes:
- Removed
wrapperStylesprop from TextInputBase and Select components (usestylesprop instead for the root element).
- Removed
Patch Changes
v0.92.4
Patch Changes
- #899
122bc1b1Thanks @tenphi! - Fixedidand ARIA attributes duplication where they were incorrectly applied to both the field wrapper and the input element. Theidprop is now correctly applied only to the element withqaanddata-input-typeattributes. The fix was implemented in thewrapWithFieldhelper to automatically filter outidfromfieldPropspassed to the Field wrapper.
v0.92.3
v0.92.2
Patch Changes
- #895
d48e94a5Thanks @tenphi! - FixlabelPropsbeing overridden in input and field components. User-providedlabelPropsare now properly merged with aria-generated label properties in TextInput, NumberInput, PasswordInput, TextArea, SearchInput, Slider, RangeSlider, and TimeInput components, allowing customization likelabelProps={{ size: 'small' }}.