Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@cube-dev/[email protected]
Minor Changes
#923
cb6340efThanks @tenphi! - Rework of Button component to align its implementation and layout with Item and ItemButton components.#924
fd497403Thanks @tenphi! - Addtokensprop to tasty components for defining CSS custom properties as inline styles. Tokens support design system values ($namefor regular properties,#namefor colors with RGB variants) and are merged from component defaults to instance usage. Usetokensinstead ofstyleprop for dynamic CSS custom properties.#924
fd497403Thanks @tenphi! - Add dynamic icon support to Button and Item components. TheiconandrightIconprops now support:true- renders an empty slot (reserves space but shows nothing)({ loading, selected, ...mods }) => ReactNode | true- dynamically renders icon based on component modifiersAlso made
Modstype generic for better type definitions:Mods<{ loading?: boolean }>instead of extending interface.Patch Changes
#924
fd497403Thanks @tenphi! - Enlarge the size of the fullscreen dialog.#924
fd497403Thanks @tenphi! - Add IconSwitch component for icon transitions.#924
fd497403Thanks @tenphi! - Remove redundantisButtonprop from Item component.#924
fd497403Thanks @tenphi! - Addtightmodifier topresetstyle for setting line-height to the same value as font-size.#924
fd497403Thanks @tenphi! - Addcardtype to Item component.#924
fd497403Thanks @tenphi! - AddpreserveContentprop 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
fd497403Thanks @tenphi! - Addtitletype support to Item component.#924
fd497403Thanks @tenphi! - Remove the selected mod in DisclosureTrigger.'#924
fd497403Thanks @tenphi! - Fix Layout.PanelHeader props type.Note
Release 0.98.0 with Button rework, new
tokensprop, dynamic icon support, and several component fixes/tweaks.@cube-dev/ui-kit0.98.0package.jsonversion and generateCHANGELOG.mdfor 0.98.0.Buttonto align withItem/ItemButtonimplementations.tokensprop to tasty components for inline CSS custom properties.Button/Item(icon/rightIconaccepttrueor a function).IconSwitchfor icon transitions.Item: remove redundantisButton; addcardandtitletypes.DisplayTransition: newpreserveContent(default: true).selectedmod fromDisclosureTrigger.Layout.PanelHeaderprops type.Written by Cursor Bugbot for commit 9c865cc. This will update automatically on new commits. Configure here.