v0.3.0
What's Changed
-
⚠ Breaking Changes
- Native attribute passthrough target changed on
FwbInput,FwbTextarea,FwbFileInput,FwbSelect,FwbAutocomplete,FwbRange,FwbToggle,FwbCheckbox, andFwbRadio— extra attributes now forward to the underlying native element instead of the root wrapper FwbTabs: theclick:paneevent was renamed toclick:tabFwbTextarea: theplaceholderandcustomprops were removedFwbFileInput: thesizedefault changed from'sm'to'md', andsize="xs"was removedFwbSelect: the native dropdown arrow is now hidden in favor of the Flowbite chevron iconFwbRange: thelabeldefault changed from'Range slider'to''FwbCheckbox:nameandvalueare no longer declared props (still work via attribute passthrough)FwbProgress:labelPosition/labelProgressrenamed tovaluePosition/showValue;colorno longer acceptsalternative,light, orindigo- See the CHANGELOG for full details on every breaking change above.
- Native attribute passthrough target changed on
-
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
-
Documentation Updates
-
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