Releases: inhouse-work/protos
v1.0.0
- Adds
Protos::Statuscomponent - Adds
Protos::Diffcomponent - Adds
Protos::Menucomponent - Adds
stateandiconoptions toProtos::Collapse - Changes
dashoption todashedonProtos::Card - Adds
dashedandsofttoProtos::Badge - Adds
xlsize toProtos::Badge - Updates to Phlex
v2 - Updates to new DaisyUI
v5.0styles - Performance improvements to
Protos::Theme - Removes redefining
default_attrsandthememethods. Didn't want the
overhead of this completely unused feature. This removesdry-coreas
a dependency
Full Changelog: v0.7.0...v1.0.0
v0.7.0
- Changes passing an
input_idto accordions. Replaced with the more accurate
input_name(optional) parameter. There was no point in having different
name attributes for the different radio buttons - Updates modal component to use newer modal controller from protos-stimulus
that uses@stimulus-components/dialog - Adds the ability for
csshelper to take multiple values, including inline
values instead of theme keys. - Adds new
Protos::Badgecomponent - Removes deprecated tokens to prepare for phlex 2.0
- Removes
dry-initializerundefined constant to improve performance - Adds autoloading constants instead of hard requires
Full Changelog: v0.6.0...v0.7.0
v0.6.0
- Changes how merging attributes works to only mix on certain attributes,
overriding on all others. This is opposite to how attributes used to be merged
by default. This is a fix for attributes likevaluewhere you actually need
to override them. - Adds a separate tested
Mixclass for handling attribute merging
Full Changelog: v0.5.0...v0.6.0
v0.5.0
- Fixes all accessibility violations according to Axe Core
- Reduces responsibility of Tabs to only be a tablist, no tab panels
- Fixes passing ID to popovers, dropdowns, drawers, etc to not override the
input ID - Changes trigger on popover to be a button instead of a div
Full Changelog: v0.4.3...v0.5.0
v0.4.3
- Removes unneeded auto-loading in Rails which fixes collisions with
protos-markdown - Adds fixes for handling form submissions within modals with
protos-stimulus
v0.0.3 - Adds ability to disable margin on p tags with
Protos::Typography
Full Changelog: v0.4.2...v0.4.3
v0.4.2
v0.4.1
Patch for Protos::Theme to handle nil values.
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Overhauls how components public methods work to immediately render which reduces render calls. This provides a number of benefits:
- Examples are much cleaner, no unnecessary renders
- Delegation becomes easier with
(...)args - Phlex creator (joeldrapper) recommends passing rendering blocks to new, allows them to be stored easily
- Rails has special handling for render calls that force them into strings, unnecessary calls to render from an ERB context is bad
This patch also has performance improvements for the core classes like Protos::Theme and Protos::Attributes. This library is currently 30x slower than vanilla Phlex. Most of the current impact of Tailwindmerge has been mitigated, exploring making it optional in the future. Performance hit is ~2x for reading with Protos::Theme#[].
What's Changed
- Immediate rendering nt by @nolantait in #3
- Performance nt by @nolantait in #4
Full Changelog: v0.3.0...v0.4.0
v0.3.0
v0.2.3
- Adds checkbox option for collapse component
- Removes hidden class from checkbox on collapse
- Huge performance improvement by not abusing TailwindMerge
Full Changelog: v0.2.2...v0.2.3