rulecms_widget 0.2.1
rulecms_widget: ^0.2.1 copied to clipboard
Flutter SDK for RuleCMS — fetch published/draft widgets by token + key and render the layout tree.
Changelog #
0.2.1 #
- Export
RenderComponentsso hosts (including rulecms-app Preview) can pindeviceDisplayTypewithout going through fetch.
0.2.0 #
- Accept
componentPropsonRuleCMSWidgetand resolvewidgetInstancePropsby column id or a/-path of enclosing collection columns (longest tail match wins). - Warn in debug when a
componentPropskey addresses no component in the widget. - Honour library
resolveNoContainer/noContainer/resolveRendersOwnElementso column box styles wrap only when the card asks for it. - Pass host
className(fromcss-classes-3-resolutions) to the card when it renders its own element; otherwise keep it on aRuleCMSHostClassNamewrapper. - Extend
LibraryComponentBuildContextwithclassName,widgetInstanceProps, andchildren. - Export
MappedColumnStyles,ComponentPropsMap, and the resolver helpers.
0.1.0 #
- Initial Flutter SDK mirroring
@rulecms/widget-reactfetch + layout renderer. RuleCMSWidgetProvider/RuleCMSWidget(client-fetch and pre-fetched modes).- Same published vs
dev.token URL routing as widget-react. - Device resolution for
*-3-resolutionsattributes. - MVP style mapping (margin, padding, colors, font, flex alignment, hide).
- Component library registration contract.