Skip to content

Releases: thedodd/ybc

v0.4.0

20 Apr 15:11
Compare
Choose a tag to compare

added

  • Configurable character of PaginationEllipsis.

fixed

  • ImageSize should store is-square instead of is-Square to html class attribute.

v0.4.0-beta.0

15 Feb 18:31
4bfd6c5
Compare
Choose a tag to compare

The only real change here is that YBC has been updated to Yew 0.20, which included updating only a few components.

changed

  • Updated to yew 0.20
  • Updated to yew-agent 0.2
  • Updated to yew-router 0.17

v0.3.0-beta.0 | Yew 0.19

01 Dec 01:35
755aa48
Compare
Choose a tag to compare

The only real change here is that YBC has been updated to Yew 0.19, which included updating basically all components. Huge shoutout to @Follpvosten for all of her work on making this happen.

Once this release has stabilized a bit, we will cut an official 0.3.0, and will then follow-up with a 0.4.0 for Yew 0.20.

changed

  • Updated to Yew 0.19.

v0.2.1 | Fix docs build

26 Jul 22:17
Compare
Choose a tag to compare
Fix docs due to doc(include) issues

See:
rust-lang/rust#44732
rust-lang/rust#82539

v0.2.0 | Yew 0.18, yew::Classes & other updates

26 Jul 20:28
Compare
Choose a tag to compare

0.2.0

added

  • Added support for yew 0.18.x.
  • Added head_classes, body_classes & foot_classes optional properties to the Hero component. These extra classes will be added to the stanard classes assigned to each of the corresponding hero component sections.
  • Added navburger_classes prop to the Navbar component. These extra classes will be added to the standard classes for the navbar-burger element.
  • Added help_has_error prop to the Field component. This bool prop will add the is-danger class to the field's help text when true.
  • Added horizontal prop to the Field component. This replaces the FieldHorizontal component.
  • Added disabled prop to the Select & MultiSelect components.
  • All components have been updated to accept yew::Classes instead of String for their classes props.

removed

  • The FieldHorizontal component has been removed in favor of the horizontal prop of the Field component.

v0.1.6 | Updates to Navbar

23 Oct 18:43
Compare
Choose a tag to compare

changed

  • Updates to the Navbar component:
    • navbrand, navstart, navend are now all optional.
    • a new navburger: bool property has been added. This bool controls whether or not a navbar-burger will be rendered inside of the navbar when being rendered within smaller viewports. This value defaults to true, maintaining backwards compatibility.

v0.1.5 | Use HTML Disabled Attr

18 Oct 00:19
Compare
Choose a tag to compare

fixed

  • Fixed a few of the button & button-like components to use the HTML disabled attribute instead of the Bulma is-disabled CSS class. The latter has been deprecated for some time.
  • Update docs in the README to point to the latest Bulma 0.9.1 release.

Add a few missing props

26 Sep 22:23
565222e
Compare
Choose a tag to compare

added

  • Add prop padded to Navbar. Setting this to true will wrap the contents of the navbar in a container to add padding to the contents under some circumstances.
  • The default tag type for NavbarItems is now div.
  • Added the href, rel & target props to the NavbarItem component. They will only be used when the NavbarItemTag::A is being used for the component.
  • Added the rel & target props to the ButtonAnchor component.
  • Adds an additional size for heros: is-fullheight-with-navbar. This one is present in the Bulma docs, but is slightly hidden.

Bug Fixes

22 Sep 03:49
Compare
Choose a tag to compare

fixed

  • Removed Children props from Hero & made header & footer optional.

added

  • Added the centered, multiline & vcentered props to the Columns component, corresponding to the standard Bulma classes bearing the same name prefixed with is-.

YBC | Initial Release

17 Sep 15:07
Compare
Choose a tag to compare

A Yew component library based on the Bulma CSS framework.

YBC encapsulates all of the structure, style and functionality of the Bulma CSS framework as a set of Yew components. YBC also ships with support for the Yew Router, adding Bulma-styled components which wrap the Yew Router components for clean integration.

As a guiding principal, YBC does not attempt to encapsulate every single Bulma style as a Rust type, let alone the many valid style combinations. That would be far too complex, and probably limiting to the user in many ways. Instead, YBC handles strucutre, required classes, functionality, sane defaults and every component can be customized with any additional classes for an exact look and feel.

To get started with YBC, have a look at the Getting Started guide in the README. A few pertinent highlights:

  • YBC works out of the box with Bulma CSS. Add <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"/> to your HTML, and then you're ready to start using YBC.
  • YBC also supports full customization using Bulma's recommended customization pattern. Details here. TL;DR, use Trunk for building & bundling your app. It will handle compiling your scss/sass, which is what you will use for customizing Bulma.