Skip to content

v0.3.0

Choose a tag to compare

@Sqrcz Sqrcz released this 12 Jul 00:28
· 33 commits to main since this release
dc6ba16

What's Changed

  • ⚠ Breaking Changes

    • Native attribute passthrough target changed on FwbInput, FwbTextarea, FwbFileInput, FwbSelect, FwbAutocomplete, FwbRange, FwbToggle, FwbCheckbox, and FwbRadio — extra attributes now forward to the underlying native element instead of the root wrapper
    • FwbTabs: the click:pane event was renamed to click:tab
    • FwbTextarea: the placeholder and custom props were removed
    • FwbFileInput: the size default changed from 'sm' to 'md', and size="xs" was removed
    • FwbSelect: the native dropdown arrow is now hidden in favor of the Flowbite chevron icon
    • FwbRange: the label default changed from 'Range slider' to ''
    • FwbCheckbox: name and value are no longer declared props (still work via attribute passthrough)
    • FwbProgress: labelPosition/labelProgress renamed to valuePosition/showValue; color no longer accepts alternative, light, or indigo
    • See the CHANGELOG for full details on every breaking change above.
  • New Features

    • refactor: overhaul FwbInput component with size, validation, addon slots, and shared form types by @Sqrcz in #433
    • feature: FwbTextarea - validation, size, accessibility, and attr passthrough by @Sqrcz in #436
    • feature: FwbFileInput - validation, size variants, accessibility, and attr passthrough by @Sqrcz in #437
    • refactor: FwbSelect - validation, size variants, accessibility, and attr passthrough by @Sqrcz in #438
    • refactor: FwbAutocomplete - accessibility, attr passthrough, inputClass, and docs rewrite by @Sqrcz in #439
    • refactor: FwbRange - accessibility, validation, size variants, and docs rewrite by @Sqrcz in #440
    • refactor: FwbToggle - accessibility, validation, attr passthrough, and docs rewrite by @Sqrcz in #441
    • refactor: FwbCheckbox - accessibility, validation, attr passthrough, and docs rewrite by @Sqrcz in #442
    • refactor: FwbRadio - accessibility, group support, validation, attr passthrough, and docs rewrite by @Sqrcz in #443
    • refactor: FwbButton - type safety, useMergeClasses, accessibility, and docs rewrite by @Sqrcz in #444
    • feat(badge): add pill, border, and dismissible variants by @Sqrcz in #450
    • feat(tabs): add vertical, full-width, icon, and custom class support by @Sqrcz in #451 (supersedes #435, thanks @darrenthebozz for the original custom-classes idea)
    • feat(forms): add validationMessage string prop to all form components by @Sqrcz in #453 (inspired by #362, thanks @countradooku)
    • feat(fileInput): add dropzone validation support by @Sqrcz in #455
    • feat(progress): fix small-value rendering, add indeterminate mode, rework color/value props by @Sqrcz in #457 (fixes the corner-rounding/label-visibility bug reported in #326, thanks @andreyjamer)
  • Bug Fixes

    • fix: restore Flowbite plugin for Tailwind v4; fix FwbSelect double arrow by @Sqrcz in #449
  • Documentation Updates

    • docs: systematic review and rewrite of all 39 component pages by @Sqrcz in #448
    • docs: add CHANGELOG.md and document the changelog process by @Sqrcz in #454
  • Chores

    • chore: update all dependencies to latest versions by @Sqrcz in #445
    • chore: fix linter warnings by @Sqrcz in #446
    • chore: replace classnames with useMergeClasses, remove dependency by @Sqrcz in #447
    • chore: unify import convention across components by @Sqrcz in #452
    • chore: replace remaining any types with proper types by @Sqrcz in #456

Full Changelog: v0.2.3...v0.3.0