Skip to content

Releases: cube-js/cube-ui-kit

v0.98.7

06 Jan 15:20
ddfa5b1

Choose a tag to compare

Patch Changes

  • #940 126a66fe Thanks @tenphi! - Fix ListBox icon detection and selection change handler dependencies. Custom icons on ListBox items are now properly detected, and the selection change handler correctly responds to disableSelectionToggle prop changes.

v0.98.6

05 Jan 16:59
d606104

Choose a tag to compare

Patch Changes

  • #938 71140ba3 Thanks @tenphi! - Fix FieldWrapper tooltip prop to properly support ReactNode values, not just strings. Previously, ReactNode tooltips (like JSX fragments) were incorrectly cast to strings, causing them to fail.

v0.98.5

05 Jan 11:13
1a16e60

Choose a tag to compare

Patch Changes

v0.98.4

23 Dec 08:47
ad7a45e

Choose a tag to compare

Patch Changes

  • #934 488bda2d Thanks @tenphi! - Fix infinite loop in IconSwitch component caused by unnecessary state updates when children prop reference changes. The component now renders current children directly for the active icon instead of storing it in state, preventing render loops while maintaining proper transition behavior.

v0.98.3

22 Dec 15:38
8546e2c

Choose a tag to compare

Patch Changes

v0.98.2

22 Dec 14:47
9b274b7

Choose a tag to compare

Patch Changes

v0.98.1

22 Dec 10:19
b03f12c

Choose a tag to compare

Patch Changes

v0.98.0

19 Dec 15:50
2c854f6

Choose a tag to compare

Minor Changes

  • #923 cb6340ef Thanks @tenphi! - Rework of Button component to align its implementation and layout with Item and ItemButton components.

  • #924 fd497403 Thanks @tenphi! - Add tokens prop to tasty components for defining CSS custom properties as inline styles. Tokens support design system values ($name for regular properties, #name for colors with RGB variants) and are merged from component defaults to instance usage. Use tokens instead of style prop for dynamic CSS custom properties.

  • #924 fd497403 Thanks @tenphi! - Add dynamic icon support to Button and Item components. The icon and rightIcon props now support:

    • true - renders an empty slot (reserves space but shows nothing)
    • Function ({ loading, selected, ...mods }) => ReactNode | true - dynamically renders icon based on component modifiers

    Also made Mods type generic for better type definitions: Mods<{ loading?: boolean }> instead of extending interface.

Patch Changes

  • #924 fd497403 Thanks @tenphi! - Enlarge the size of the fullscreen dialog.

  • #924 fd497403 Thanks @tenphi! - Add IconSwitch component for icon transitions.

  • #924 fd497403 Thanks @tenphi! - Remove redundant isButton prop from Item component.

  • #924 fd497403 Thanks @tenphi! - Add tight modifier to preset style for setting line-height to the same value as font-size.

  • #924 fd497403 Thanks @tenphi! - Add card type to Item component.

  • #924 fd497403 Thanks @tenphi! - Add preserveContent prop to DisplayTransition component. When enabled (default: true), the component preserves children content during exit transitions, ensuring smooth animations even when parent components remove content immediately after hiding.

  • #924 fd497403 Thanks @tenphi! - Add title type support to Item component.

  • #924 fd497403 Thanks @tenphi! - Remove the selected mod in DisclosureTrigger.'

  • #924 fd497403 Thanks @tenphi! - Fix Layout.PanelHeader props type.

v0.97.1

09 Dec 10:08
0a5a32f

Choose a tag to compare

Patch Changes

  • #921 974b8af4 Thanks @tenphi! - Layout sub-components now automatically add bottom borders between elements when the layout has vertical flow. This eliminates the need to manually set borders on individual components to create visual separation.

v0.97.0

08 Dec 15:34
8c97de9

Choose a tag to compare

Minor Changes

  • #917 c64cd31b Thanks @tenphi! - Added Layout.Container and Layout.Center sub-components for centered content layouts:

    • Layout.Container - Horizontally centered content with constrained width (min 40x, max 120x). Ideal for forms, articles, and focused content.
    • Layout.Center - Extends Container with vertical centering and text-align center. Ideal for empty states, loading screens, and hero sections.

    Both components support innerStyles prop for customizing the inner container.

  • #917 c64cd31b Thanks @tenphi! - Add new mode prop to Layout.Panel with support for sticky and overlay modes:

    • sticky - Panel floats over content without pushing it aside
    • overlay - Panel with dismissable backdrop (closes on backdrop click, Escape key, or focus change to main content)

    New props: mode, isDismissable, overlayStyles

Patch Changes

  • #918 ecdc6ff3 Thanks @tenphi! - Add text highlighting support to Item component with highlight, highlightCaseSensitive, and highlightStyles props.