9 Dec 2020
Initial React support
While full React and Angular support remain goals with an unspecified date on the VF roadmap, we're trialing an initial approach to support React by wrapping the precompiled Angular templates.
You can see it in use in the example vf-react project.
We've added support for vf-button and vf-card for testing and feedback.
- adds react support
- https://github.com/visual-framework/vf-core/pull/1278
- adds prototype react template
- https://github.com/visual-framework/vf-core/pull/1278
- adds _component.react.js template
- https://github.com/visual-framework/vf-core/pull/1278
- updates _component.js to prepoulate vfComponentName() camel case syntax
Minor refinements and enhancements
- don't allow inline search box to get too large
- add field for search description
- Banner dismiss button now defaults to
vf-button--primary
(if a specific button variant has been requested by vfJsBannerButtonTheme
, it will still be used)
vf-hero fixes and tweaks
Following the 2.0.0 release of vf-hero, we have made several follow on fixes and refinements.
- adds a
flex
property to the SVG so that it's always visible and doesn't get cut off.
- fixes missing context rule for
hero__text
and hero__heading--additional
.
- adds the context options so the component can be used in 11ty with content separation.
- changes
max-content
to fit-content
so the __content
element adapts to smaller viewports.
- removes left padding from
--block
variant as it 'looked weird'.