widgetbook 3.8.1 widgetbook: ^3.8.1 copied to clipboard
A flutter storybook that helps professionals and teams to catalogue their widgets.
3.8.1 #
- FIX: Show popup routes (e.g. dialogs and modal sheets) inside the boundaries on the device frame. (#1209)
3.8.0 #
- FIX: Maintain theme in Flutter v3.22. (#1184)
- FIX: Allow colons (and other special characters) in fields' names. (#1165 - by @maudFrz)
- FIX: Guard
list
knob against null values when searching. (#1152 - by @bramp) - REFACTOR: Deprecate
AccessibilityAddon
in favor ofBuilderAddon
. Check out the setup guide to know how to migrate. (#1193)
3.7.1 #
3.7.0 #
- FIX: Enable
InspectorAddon
on release builds. (#1087) - EXPERIMENTAL: Add
EnumArg
. (#1073) - EXPERIMENTAL: Add
SingleArg
. (#1075) - EXPERIMENTAL: Add
BuilderArg
. (#1079) - EXPERIMENTAL: Change
Arg.value
to be positional parameter instead of named one. (#1077) - EXPERIMENTAL: Allow overriding
Arg.name
. (#1078) - EXPERIMENTAL: Support custom args via
MetaWithArgs
. (#1080) - EXPERIMENTAL: Add
args
parameter toStory.setup
. (#1081) - EXPERIMENTAL: Use
setup
inScenario
s. (#1082) - EXPERIMENTAL: Add
LeafComponent
. (#1083) - EXPERIMENTAL: Support optional parameters arg-generation. (#1084)
3.6.0 #
3.5.0 #
- FIX Ignore deprecated
MediaQuery.textScaleFactor
; to maintain compatibility with Flutter versions < 3.16.0. (#1053) - EXPERIMENTAL: Add support for SAM Architecture. (#1064)
3.4.1 #
3.4.0 #
- BREAKING: Set minimum SDK version to 2.19.0 & minimum Flutter version to 3.7.0. (#1030)
- FEAT: Add mobile support. (#1019 - by @Mastersam07)
- FEAT: Add light theme support. (#919 - by @07Abhinavkapoor)
- FEAT: Introduce
WidgetbookLeafComponent
navigation node for components with a single use-case. (#1015) - FEAT: Add
designLink
toWidgetbookUseCase
. (#926 - by @Mastersam07) - FEAT: Add spaces to
color
knob. (#986 - by @francescovallone) - FEAT: Add
colorOrNull
knob. (#1027) - FEAT: Add
duration
knob. (#934 - by @Mastersam07) - FEAT: Add
dateTime
knob. (#940 - by @logickoder) - FEAT: Add
int
knob. (#942 - by @Mastersam07) - FEAT: Add Inspector Addon. (#985 - by @Mastersam07)
- FEAT: Add Accessibility Addon. (#1020)
- FEAT: Add Grid Addon. (#943 - by @Mastersam07)
- FEAT: Add Zoom Addon. (#968 - by @Mastersam07)
- FEAT: Add
q
query param for search. (#950 - by @boredcity) - FIX: Use
MapMixin
instead ofMapBase
forKnobsRegistry
. (#903) - FIX: Maintain navigation panel state on reload. (#932 - by @khurramrizvi)
- FIX: Add default values for
slider
knobs' parameters. (#1016) - FIX: Change
booleanOrNull
knobs'sinitialValue
to null; to match otherorNull
knobs. (#1026) - FIX: Add
DefaultTextStyle
toThemeAddon
s. (#1041) - REFACTOR: Deprecate
WidgetbookAddon
'sinitialSetting
. Should be replaced by a local field in relevant addons. (#1023) - REFACTOR: Deprecate
Field.onChanged
. (#1024) - REFACTOR: Deprecate
Knob.value
&KnobsRegistry.updateValue
in favor ofKnob.initialValue
. (#1025) - REFACTOR: Add default value to
color
knobs'sinitialValue
parameter. (#1039)
3.3.0 #
- FEAT: Add Builder Addon. (#895)
- FEAT: Add Experimental Time Dilation Addon. (#887)
- FEAT: Add
WidgetbookState.updateQueryField
. (#888) - REFACTOR: Change
WidgetbookState.knobs
type fromMap<String, Knob>
toKnobsRegistry
. (#885) - REFACTOR: Deprecate
WidgetbookState.updateKnobValue
in favor ofWidgetbookState.knobs.updateValue
. (#885) - FIX: Remove false overriding for
listOrNull
knob. (#881)
3.2.0 #
- BREAKING:
DeviceFrameAddon.devices
is no longer nullable, in favor of the newNoneDevice
. (#854) - REFACTOR: Support Flutter 3.13.0. (#847)
- REFACTOR: Update
DropdownMenu
theme. (#844) - REFACTOR: Make
appBuilder
optional. (#843) - REFACTOR: Replace
MultiChildNavigationData
withWidgetbookNode
. (#833) - REFACTOR: Deprecate
WidgetbookUseCase.center
in favor of [AlignmentAddon]. (#826) - FIX: Make
path
the first query parameter. (#855) - FIX: Correct initial Checkbox value for null knobs. (#851)
- FIX: Ensure widget is mounted on change. (#814)
- FIX: Allow commas in
string
knobs. (#817) - FIX: Correct
listOrNull
knob type cast. (#818)
3.1.0 #
- FEAT: Add Alignment Addon. (#798)
- FEAT: Add
initialRoute
. (#794) - FEAT: Preserve current state on web after doing hot restart or refresh from the browser. (#782)
- BREAKING: Replace the
Scaffold
around use-cases with aColoredBox
below theTheme
widget.ThemeAddon
should be now added toWidgetbook.addons
after theDeviceFrameAddon
, and not before as in previous versions. (#789) - FIX: Add
Material
widget through defaultappBuilder
ofWidgetbook.material
. (#792)
3.0.0 #
Check out the migration guide for more information.
3.0.0-rc.2 #
- FEAT: Support hot reloading. (#759)
- FEAT: Make side panels resizable. (#738)
- FEAT: Add
listOrNull
knob. (#741) - FEAT: Add
initialOption
tolist
knob. (#733) - BREAKING: Create
FieldsComposable
to unify addons/knobs APIs. (#749) - REFACTOR: Add
SafeArea
to device addon. (#760) - REFACTOR: Move
widgetbook_core
package towidgetbook
package. (#742) - REFACTOR: Export
WidgetbookState
. (#724) - REFACTOR: Export fields to be used for custom addons/knobs. (#728)
- REFACTOR: Make
KnobsBuilder.onKnobAdded
public. (#727) - REFACTOR: Add value label to
double.slider
knob. (#757) - FIX: Use addons/knobs initial values. (#746)
- FIX: Use related type checks when comparing device's frame state to its query parameter. (#715)
- FIX: Add missing type parameter to
LabelBuilder
, which affected thelist
knob. (#718) - FIX: Use
labelBuilder
-based string comparison inlist
knob. (#729) - FIX: Add
key
to use cases to prevent out-of-sync builds. (#720) - Fix: Prevent
onNodeSelected
from being called if the node is already selected. (#725) - Fix: Use
ListView
forSettingsPanel
. (#732) - Fix: Use fresh
context
while retrieving state to avoid out-of-sync UI. (#751)
3.0.0-rc.1 #
- Check out the migration guide for more details.
- FEAT: Add Dart 3 and Flutter 3.10 support. (#676)
- FEAT: Add
buildUseCase
methods to Addons, that act as micro-appBuilder
s. (#646) - FEAT: Add
preview
query param instead ofdisable-navigation
,disable-properties
andpanels
query params. (#687) - FEAT: Create
WidgetbookState
. (#674) - FEAT: Add
integrations
andWidgetbookCloudIntegration
. (#689) - BREAKING: Drop Flutter 2 support. (#676)
- BREAKING: Use type-based knob names. (#695)
- BREAKING: Cleanup Addons constructors by removing the
setting
parameter. (#652) - BREAKING: Remove
FrameAddon
in favor of the newDeviceFrameAddon
. (#632, #686) - BREAKING: Rename
WidgetbookAddOn
toWidgetbookAddon
. (#711) - BREAKING: Remove
configureMaterialAddons
andconfigureCupertinoAddons
functions. (#677) - REFACTOR: Drop
provider
dependency. (#682) - REFACTOR: Drop
go_router
dependency. (#625) - REFACTOR: Drop
flutter_bloc
dependency. (#705) - REFACTOR: Drop
freezed
dependency. (#703) - REFACTOR: Made
Widgetbook
'saddons
parameter optional. (#690) - FIX: Remove
StyledScaffold
that made focus not work properly. (#650)
3.0.0-beta.14 #
- REFACTOR: ♻️ addon multi property preview.
- REFACTOR: ♻️ removed package analysis_options files.
- REFACTOR: ♻️ warnings.
- REFACTOR: ♻️
AddOn
API. - REFACTOR: ♻️ improve API interface of addons.
- REFACTOR: ♻️ warnings.
- REFACTOR: ♻️ settings.
- REFACTOR: navigation logic.
- REFACTOR: 🛠️ uses new
NavigationTree
. - REFACTOR: ♻️ adjust content.
- REFACTOR: ♻️ adjust generator to
AddOn
implemementation. - REFACTOR: ⚡ refactored addons.
- REFACTOR:
DeviceAddon
. - REFACTOR: adjusted code to match linter.
- FIX: 🧪 fixed broken test.
- FIX: 🐛 requires
directories
to be not empty. - FIX: 🐛 properties resetting when changing locale.
- FIX: 🐛 properties not changing on navigate.
- FIX: inserted scaffold messenger.
- FIX: expanding of elements within the navigation is not working.
- FIX: 🐛 addons property cannot be empty.
- FIX: navigation tree collapsing and expanding does not work.
- FIX: orientation defaults to landscape.
- FIX: 🐛 provider not found.
- FIX: knob values do not update when usecase changes.
- FIX: 🐛 remove
go_router
diagnostics. - FIX: 🐛 improve Canvas.
- FIX: 🐛 navigation resets when use case changes.
- FIX: 🐛 addons show incorrect item.
- FIX: custom painter Widgets are incorrectly rendered.
- FIX: 🐛 hot reload of directories.
- FIX: 🐛 selected items not shown for addon.
- FIX: dialog shows up in Widgetbook instead of the simulated device.
- FIX: add packages/widgetbook prefix.
- FIX: change ttf files with fonts.google ones.
- FIX: 🐛 ignores country codes.
- FIX: added MediaQuery for WidgetbookDeviceFrame.
- FIX: preview app shows debug banner.
- FIX: preview app shows debug banner in other theme than material.
- FIX: useCaseBuilder is called with old context.
- FEAT: ✨ addon multi property preview.
- FEAT: ✨ addon routing.
- FEAT: ✨ text scale addon.
- FEAT: ✨ device addon.
- FEAT: ✨ cupertino theme addon.
- FEAT: ✨ remove obsolete classes.
- FEAT: ✨ theme addon.
- FEAT: ✨ Theme needs to be accessible via the app builder function.
- FEAT: ⚡ added text knob multiline.
- FEAT: ⚡ added text knob multiline.
- FEAT: ⚡ added color knob.
- FEAT: add
panels
query param (#612). - FEAT: added feature to toggle the orientation of a device.
- FEAT: added textScaleFactors for font accessibility.
- FEAT: ✨ addons and localization addon.
- DOCS: added how to use widgetbook with a package.
3.0.0-beta.12 #
- Update a dependency to the latest release.
3.0.0-beta.10 #
3.0.0-beta.9 #
- REFACTOR: ⚡ refactored addons. (16c007ee)
- REFACTOR: ♻️ warnings. (8bf0b124)
- REFACTOR: ♻️ settings. (254ebef6)
- REFACTOR: navigation logic. (9d254141)
- REFACTOR: 🛠️ uses new
NavigationTree
. (ba362c58) - REFACTOR: ♻️ adjust content. (46a4e184)
- REFACTOR: ♻️ adjust generator to
AddOn
implemementation. (a91edbbf) - REFACTOR:
DeviceAddon
. (091c2c18) - REFACTOR: ♻️ improve API interface of addons. (3d52df04)
- REFACTOR: adjusted code to match linter. (04dd9f1e)
- REFACTOR: ♻️ addon multi property preview. (f2e01961)
- FIX: 🐛 ignores country codes. (bd1d5ec5)
- FIX: 🐛 navigation resets when use case changes. (86708225)
- FIX: 🐛 provider not found. (9a072e77)
- FIX: 🐛 properties resetting when changing locale. (bf9eebfc)
- FIX: 🐛 properties not changing on navigate. (3527d9c5)
- FIX: 🧪 fixed broken test. (6e56b79a)
- FIX: inserted scaffold messenger. (1181df1d)
- FIX: expanding of elements within the navigation is not working. (096c296b)
- FIX: navigation tree collapsing and expanding does not work. (ba69d281)
- FIX: 🐛 hot reload of directories. (077d142b)
- FIX: orientation defaults to landscape. (9e25a42a)
- FIX: 🐛 improve Canvas. (a179f8ee)
- FIX: 🐛 addons show incorrect item. (f54788e5)
- FIX: knob values do not update when usecase changes. (f17c96da)
- FIX: useCaseBuilder is called with old context. (e12b391d)
- FIX: 🐛 selected items not shown for addon. (5ea112f7)
- FIX: custom painter Widgets are incorrectly rendered. (965c355e)
- FIX: dialog shows up in Widgetbook instead of the simulated device. (42733f0b)
- FIX: add packages/widgetbook prefix. (28ae9b51)
- FIX: change ttf files with fonts.google ones. (330452f6)
- FIX: preview app shows debug banner. (771fa430)
- FIX: added MediaQuery for WidgetbookDeviceFrame. (0160ce4a)
- FIX: preview app shows debug banner in other theme than material. (1f2e69a1)
- FEAT: ✨ addon multi property preview. (ab36f4e8)
- FEAT: ✨ theme addon. (74e6da54)
- FEAT: ✨ addon routing. (8cfd3682)
- FEAT: ✨ text scale addon. (db2a2b5f)
- FEAT: ✨ device addon. (a2894879)
- FEAT: ✨ cupertino theme addon. (c7e5a013)
- FEAT: ✨ remove obsolete classes. (d7384eae)
- FEAT: ✨ Theme needs to be accessible via the app builder function. (8a844098)
- FEAT: ⚡ added text knob multiline. (7c4e6d37)
- FEAT: ⚡ added text knob multiline. (af40092e)
- FEAT: ⚡ added color knob. (2b33ece0)
- FEAT: added feature to toggle the orientation of a device. (ae42e4c8)
- FEAT: added textScaleFactors for font accessibility. (19c3f93b)
- FEAT: ✨ addons and localization addon. (03f91c29)
- DOCS: added how to use widgetbook with a package. (3e578b12)
3.0.0-beta.8 #
- REFACTOR: ♻️ addon multi property preview. (f2e01961)
- REFACTOR: ♻️ warnings. (8bf0b124)
- REFACTOR: ♻️ settings. (254ebef6)
- REFACTOR: navigation logic. (9d254141)
- REFACTOR: 🛠️ uses new
NavigationTree
. (ba362c58) - REFACTOR: ♻️ adjust content. (46a4e184)
- REFACTOR:
DeviceAddon
. (091c2c18) - REFACTOR: ♻️ adjust generator to
AddOn
implemementation. (a91edbbf) - REFACTOR: ⚡ refactored addons. (16c007ee)
- REFACTOR: ♻️ improve API interface of addons. (3d52df04)
- REFACTOR: adjusted code to match linter. (04dd9f1e)
- FIX: 🐛 properties resetting when changing locale. (bf9eebfc)
- FIX: expanding of elements within the navigation is not working. (096c296b)
- FIX: navigation tree collapsing and expanding does not work. (ba69d281)
- FIX: 🐛 properties not changing on navigate. (3527d9c5)
- FIX: knob values do not update when usecase changes. (f17c96da)
- FIX: 🐛 navigation resets when use case changes. (86708225)
- FIX: 🐛 improve Canvas. (a179f8ee)
- FIX: 🧪 fixed broken test. (6e56b79a)
- FIX: 🐛 addons show incorrect item. (f54788e5)
- FIX: useCaseBuilder is called with old context. (e12b391d)
- FIX: custom painter Widgets are incorrectly rendered. (965c355e)
- FIX: 🐛 selected items not shown for addon. (5ea112f7)
- FIX: preview app shows debug banner in other theme than material. (1f2e69a1)
- FIX: inserted scaffold messenger. (1181df1d)
- FIX: dialog shows up in Widgetbook instead of the simulated device. (42733f0b)
- FIX: 🐛 provider not found. (9a072e77)
- FIX: add packages/widgetbook prefix. (28ae9b51)
- FIX: change ttf files with fonts.google ones. (330452f6)
- FIX: preview app shows debug banner. (771fa430)
- FIX: added MediaQuery for WidgetbookDeviceFrame. (0160ce4a)
- FIX: orientation defaults to landscape. (9e25a42a)
- FEAT: ✨ addon multi property preview. (ab36f4e8)
- FEAT: ✨ theme addon. (74e6da54)
- FEAT: ✨ addon routing. (8cfd3682)
- FEAT: ✨ text scale addon. (db2a2b5f)
- FEAT: ✨ cupertino theme addon. (c7e5a013)
- FEAT: ✨ remove obsolete classes. (d7384eae)
- FEAT: ✨ Theme needs to be accessible via the app builder function. (8a844098)
- FEAT: ✨ device addon. (a2894879)
- FEAT: ⚡ added text knob multiline. (7c4e6d37)
- FEAT: ⚡ added text knob multiline. (af40092e)
- FEAT: ⚡ added color knob. (2b33ece0)
- FEAT: added feature to toggle the orientation of a device. (ae42e4c8)
- FEAT: added textScaleFactors for font accessibility. (19c3f93b)
- FEAT: ✨ addons and localization addon. (03f91c29)
- DOCS: added how to use widgetbook with a package. (3e578b12)
3.0.0-beta.7 #
- refactor: navigation
- feat: adds
SettingPanel
3.0.0-beta.6 #
- feat: depends on
widgetbook_core
3.0.0-beta.5 #
- fix: properties are resetting when changing locale
3.0.0-beta.4 #
- fix: properties not changing
onNavigate
via the browser's URL bar
3.0.0-beta.3 #
- chore: bumped
widgetbook_models
version
3.0.0-beta.1 #
- improvements
2.4.0 #
- Added parameter
disable-navigation
anddisable-properties
to router.
2.3.0 #
2.2.2 #
- chore: updated docs to link to docs.widgetbook.io
2.2.1 #
- fix: use
widgetbook_models
in versionv0.0.7
2.0.6 #
- refactor: renamed
WidgetbookWidget
toWidgetbookComponent
- fix:
ScaffoldMessenger
opens inWidgetbook
and not in the previewed app (#148) - fix: Missing error when
@WidgetbookTheme
is used on properties (#130) - fix:
@WidgetbookApp
wrongly exposesThemeType
property (#129) - closed: Widgetbook cannt be run for flutter version below 2.10 (#113)
- fix: setState called during build (#92)
- closed: Scrolling interferes with zooming (#85)
2.0.5 #
- feat: added
textScaleFactors
for font accessibility (#15) - fix: added
MediaQuery
toWidgetbookDeviceFrame
(#66) - feat: added device_frame (#112)
2.0.2 #
- fix: pan cannot be reset in viewport #99
- fix: use cases cannot be previewed without a device #84
- fix: cannot inject custom themes into widget tree #75
- fix: cannot wrap use cases in other widgets #74
- fix: cannot set a default theme #60
- fix: cannot show multiple devices next to each other #55
- fix: no way to use widgets that require localization #53
- fix: device can be moved out of sight #7
- fix: viewport resets when different story is selected #6
1.0.3 #
- changed documentation to be consistent with the existing videos
- changed theme to default to
ThemeMode.system
instead ofThemeMode.dark
- fixed
Tile
s overflowing on long names
1.0.2 #
- added videos to documentation
1.0.1 #
- renamed property
stories
ofWidgetbookWidget
touseCases
1.0.0 #
renamed organizer elements to make them less generic. Renamed to the following:
Category
renamed toWidgetbookCategory
Folder
renamed toWidgetbookFolder
WidgetElement
renamed toWidgetbookWidget
Story
renamed toWidgetbookUseCase
0.0.16 #
- fixed error thrown when switching to a theme that is not defined
- added a widget indicating that the current theme is not defined
0.0.15 #
- fixed brightness not being inherited to the rendered
Story
0.0.14 #
- bumped version of
widgetbook_models
to0.0.3
0.0.13 #
- updated readme
0.0.12 #
- added dependency to package:widgetbook_models which defines the
Device
class.
0.0.11 #
- added a search bar to filter for widgets and folders
0.0.10 #
- removed
bloc
andflutter_bloc
dependency - removed
url_launcher
dependency
0.0.9 #
Increased package compatibility by
- replacing font_awesome_flutter package with Material icons
- removing google_fonts package
- removing recase package
0.0.8 #
- added CI/CD badge
0.0.7 #
- removed example app from package
0.0.6 #
- fixed navigation not working for web
0.0.5 #
- fixed navigation tree elements collapsing on hot reloads
0.0.4 #
- added known issue to documentation
0.0.3 #
- fixed hot reloading not working for the selected story
- fixed ControlBar overflow
- removed unused package from pubspec
0.0.2 #
- Added docs to public API
0.0.1 #
- Initial release