Patternfly Yew Versions Save

PatternFly components for Yew

v0.5.0

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/patternfly-yew/patternfly-yew/compare/v0.4.1...v0.5.0

v0.5.0-rc.1

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/patternfly-yew/patternfly-yew/compare/v0.5.0-alpha.2...v0.5.0-rc.1

v0.5.0-alpha.2

11 months ago

This is a major, breaking, feature release. The main focus is on migrating to PatternFly 5 and drop some old stuff.

It is a preview release which might help you prepare for the migration upfront. There are definitely some rough edges, but most of it should be in good shape. Also see: https://github.com/ctron/patternfly-yew/blob/main/docs/MIGRATION-0_5.md

Many thanks to @phill-85 who did most of the work of the PF5 migration!

What's Changed

New Contributors

Full Changelog: https://github.com/ctron/patternfly-yew/compare/v0.4.0...v0.5.0-alpha.2

v0.4.0

1 year ago

v0.4.0 (2023-03-30)

This release did focus a lot on ironing things out, and aligning components and naming quite a bit. Most components should now also have basic documentation at least.

Overview

A lot of refactoring has happened. In many cases existing patterns and APIs should have been stable, some of them have been marked as deprecated though, and may go away any time after the 0.4.x cycle.

Most notably, although not covered by a deprecation flag, is the fact that you could import most of the types using use patternfly::*;. This has been changed to the more common use paternfly::prelude::*; The old import will still work, for now.

Most of the properties have been renamed (from Props) to a more descriptive name (like ButtonProperties). This shouldn't have an impact in most cases, as properties are hidden behind the html! macro anyway. But it solves a naming clash when importing multiple properties from different component (like through use patternfly::prelude::*;).

The Icons enum is now generated through code generation, which means that finally all icons are available. Some icon groups can be enabled through Rust features, to control the dependency on FontAwesome.

There is also now a "tree view", though it is marked as "experimental" and needs to be enabled explicitly. It will not be covered by SemVer, and might just go away in a next release without prior warning. However, if you are curious, you may try it out and help stabilize is, so that it might live on.

I probably forgot something important, maybe check the list of changes below. Or just browse through the code :wink:

For a more complete list of changes see the following sections.

⚠ BREAKING CHANGE

  • This drops the "hoverable" modifier and provides a more type safe approach to selection.
  • This creates a new Divider component and renames the existing one into ListDivider.

Features

  • helperText: allow overriding the default icon (9e9479d)
  • refactor into a general purpose divider (1ba6b17)
  • toolbar: add divider (7aff154)
  • flex: add row modifier (e3eb094)
  • select: allow setting an initial selection (dd2a5d0)
  • page: allow hiding a section (dbe0cab)
  • tabs: add a "detached mode" (8df8bbd)
  • page: add id attributes (0882856)
  • alert: rename Type to AlertType (4cc780d)
  • helperText: add dedicated helper text component (9ebcd1c)
  • tree: add an experimental tree component (f072bca)
  • utils: allow using ID as AttrValue (a2ff81b)
  • form: Allow adding label help popover (e87c392)
  • expandableSection: allow using custom toggle children (01234f2)
  • page: accept empty children (9acfbbc)
  • slider: add snap mode (72c62c0)
  • table: implement the column width modifiers (367fd03)
  • table: allow setting grid mode (d279043)
  • table: allow centering the cell content (010d362)
  • table: add center modifier to header (d0708d5)
  • label: add compact modifier (a2a5d26)
  • add panel component (ba850fd)
  • add expandable section and code block (14036e5)
  • add onsubmit event (8af934b)
  • allow providing custom classes (9c09005)
  • add some metadata to the icons (a0823bc)
  • add breadcrumb component (5823f14)
  • allow using a bool for PageSectionFill (5830055)
  • add missing icons, this time, we generate them (2f70e34)
  • clean up Page, add "full height", and a bit of documentation (b391620)
  • Add some more page section features and refactor AsClasses (4688a69)
  • Card: Adopt new selection model (6da57c9)

Fixes

  • select: properly propagate selection state (81c7eea)
  • show correct text in toggle (bc6e783)
  • filter out based on "react name" (35283d0)
  • in case of an empty label, render empty col (1a96de0)
  • component should be public (0dd8aff)
  • properly generate title headers (8b669c8)
  • shadow is an optional setting (3d36b65)

v0.3.0

1 year ago

This is a feature release, mainly upgrading to Yew 0.20 and the https://github.com/ctron/yew-nested-router

Features

  • upgrade to Yew 0.20 (e786770)
  • added a few new components

v0.2.3

1 year ago

Features

  • spinner: remove legacy way (span) (f6ee9d0)
  • button: add loading option (fe8b2a0)
  • spinner: add legacy support (ce8b900)
  • spinner: add props (1f3f5f7)
  • add basic spinner (691a755)

Fixes

  • prevent the button click from bubbling up into a form (3e5b27c)
  • spinner: use None as default and custom size (04af99a)

v0.2.0

1 year ago

Features

  • add a few more fields to form and button (32c809e)
  • add autofocus (629e2f8)
  • allow setting an onclick handler for the login footer button (5782994)
  • allow using icons as optional vnode (2ff0a60)
  • allow suppressing the initial change (60790bd)
  • implement touch controls for slider (ad0b273)
  • first implementation of continuous slider (d6830d5)
  • add danger secondary (18a0018)
  • implement form validation aggregation (c2b53e8)
  • allow setting a form alert (3cce9ee)
  • add form sections (aa81f86)
  • add group validation for non-string types and "select" too (89a281b)
  • allow running an initial validation (dc24bd9)
  • allow showing simple help message (b1ea6b4)
  • add form group validation (65a46b3)
  • implement popover with portals, fix header and footer issues (28141bf)
  • allow providing the initial expanded state for the router items (974ee3e)

Fixes

  • correct handling of negative min values (6704420)
  • the FormSelect component was broken on chrome (428b85b)
  • use correct base name for flex space items (c45eaae)

v0.1.0

2 years ago

v0.1.0 (2021-12-17)

⚠ BREAKING CHANGE

Features

  • update popperjs to 2.11.0 abf8734

  • Upgrade to yew 0.19 0023380

Fixes

  • shared table model sync issue after yew upgrade a77e5e2

  • stale clipboard value issue with yew 0.19 82ff4cb

v0.0.27

2 years ago

Changelog

v0.0.27 (2021-11-26)

Features

  • Button: allow setting block modifier 7eef544
  • Login: show a tooltip when a label is set 7b02123
  • add aria label property to login link 1ecfce1
  • add modals 742f044
  • add fa-minus-circle 21660fc
  • allow clearing a shared table model 275c7a1
  • implement Deref Vec for simple table model 6d5c060
  • add the Select component 00b5bbb
  • allow setting a role dea013e
  • allow setting about hero style b2f14e8
  • add id and name to clipboard c140ec9

Fixes

  • add missing class e4ae6e7
  • about dialog close button style c8873ad