rulecms_source_components 0.7.0
rulecms_source_components: ^0.7.0 copied to clipboard
Default RuleCMS Flutter components — the Flutter counterpart of @rulecms/source-components-react.
Changelog #
0.7.0 #
- Paint
{.n|…}inline declarations onr-text,r-list, andr-accordionwhen Flutter can: color, font-size, font-weight, font-style, text-decoration, line-height, letter-spacing, and a solid background. Show more / Show less labels use the same list. Class names still do nothing — Flutter has no stylesheet for them. Matches the declaration half of@rulecms/source-components-react20.20.0.
0.6.0 #
- Put the accordion chevron on the right and animate open and close over 300ms, matching
@rulecms/source-components-react20.21.0. Flutter usesAnimatedRotationandAnimatedSizebecause there is no CSS::details-content. - Fill
{{ … }}placeholders inr-textfromplaceholderValues, including a whole token inside a marker. Compose mode leaves the tokens as written. Matches 20.22.0. - Key
r-buttonwithcolumnPath(rulecms-column-path:…). Flutter has no DOM attribute. Matches 20.22.0. - Split inline markup on a character budget and offer Show more / Show less as a tap. The web version is a no-JS checkbox. Matches 20.23.0.
- Depend on
rulecms_widget^0.8.0 forpageViewType,columnPath, and widget-level placeholder values.
0.5.4 #
- Report
manifest.versionfrom the same value aspubspec.yamlso the library contract stays in sync with the published package, matching@rulecms/source-components-react.
0.5.3 #
- Depend on
rulecms_widget^0.7.0 so hosts honorincludeCssVariableson the widget GET.
0.5.2 #
- Depend on
rulecms_widget^0.6.0 so hosts can take the class-definitions GET contract.
0.5.1 #
- Depend on
rulecms_widget^0.5.0 so published widgets resolve project CSS variables from the GET catalog.
0.5.0 #
- Parse
{.n|…}styling indexes in inline markers so they match@rulecms/source-components-react20.20.0. Flutter still ignores class names and CSS (no stylesheet / CSS≠TextStyle).
0.4.1 #
- Depend on
rulecms_widget^0.4.0 so overlay layers resolve with the new widget contract.
0.4.0 #
- Add
r-mount(palette label Custom): render a host-registered Flutter widget factory by name, matching@rulecms/source-components-react20.19.0. - Depend on hosted
rulecms_widget^0.3.0 for the hostmountscontract.
0.3.0 #
- Extend inline markers to bold (
{b|…}), italic ({i|…}), strikethrough ({s|…}), and line breaks ({br|}), matching@rulecms/source-components-react20.17.0. - Export
parseInlineMarkers,serializeInlineMarkers,formatInlineMarker, andrenderInlineMarkup. - Keep
parseInlineLinkMarkersas the link-only flatten of the same grammar.
0.2.1 #
- Wire widget-flutter
widgetInstanceProps,className,children, andresolveNoContainer/resolveRendersOwnElementthrough the library adapter.
0.2.0 #
- Bring the default library to parity with
@rulecms/source-components-react20.16.1. - Backfill
r-text: reject executable href schemes and honourenclosing-tag-3-resolutions. - Add
r-icon,r-button,r-divider,r-embed,r-list, andr-accordion. - Export the full library contract (
manifest,components,editor, metadata, preview cards) for a later widget-flutter update. - Resolve icons by Lucide name via
lucide_flutter1.28.0. - Render allowlisted embeds in a
WebView.
0.1.0 #
- Initial Flutter default library mirroring
@rulecms/source-components-react. r-textwith{n|label}inline link markers.cloudinary-advanced-imagevia Cloudinary URL builder.r-videovia Cloudinary delivery URLs +video_player.