While doing an upgrade from 4.3.0 to 5.0.0, I was surprised by a few changes. After reading the changelog, I was not expecting those changes. Here's a list.
Note whenever I refer to the changelog for 5.0.0, I am also including the changelog for 5.0.0-alpha.
1. a-badge--gray
The class a-badge--gray does not exist anymore. There is no mention of any changes to badges in 5.0.0. I would need to know how to replace that class and whether any other badge-related classes changed.
before
after
2. u-fg-gray-30 and others
The classes u-fg-gray-30 and u-fg-gray-50 do not exist anymore. There is no mention of any color-related class names changing. In fact, the changelog suggests that I only need to react if I am overwriting default colors in any way:
Default naming of color variants has switched from using numbers, to using meaningful names like light, dark, base. If you override the palette in your codebase, you may need to override the colors used by other bitstyles components
I would need to know all color-related class name changes because we need to remap them all in phoenix_bitstyles.
3. u-gap-m
The class u-gap-m does not exist anymore. All the other gap classes exist (u-gap-s, u-gap-l etc), only this one is missing. Is this a bug?
While doing an upgrade from 4.3.0 to 5.0.0, I was surprised by a few changes. After reading the changelog, I was not expecting those changes. Here's a list.
Note whenever I refer to the changelog for 5.0.0, I am also including the changelog for 5.0.0-alpha.
1.
a-badge--gray
The class
a-badge--gray
does not exist anymore. There is no mention of any changes to badges in 5.0.0. I would need to know how to replace that class and whether any other badge-related classes changed.2.
u-fg-gray-30
and othersThe classes
u-fg-gray-30
andu-fg-gray-50
do not exist anymore. There is no mention of any color-related class names changing. In fact, the changelog suggests that I only need to react if I am overwriting default colors in any way:I would need to know all color-related class name changes because we need to remap them all in phoenix_bitstyles.
3.
u-gap-m
The class
u-gap-m
does not exist anymore. All the other gap classes exist (u-gap-s
,u-gap-l
etc), only this one is missing. Is this a bug?