Releases: justeat/fozzie
v10.4.0
v10.3.0
Added
- Variables
$star-icon-path--filled
&$star-icon-path--empty
.
Changed
ratings
optional component to read from variables file for consuming applications to set custom paths for svg star icons.
v10.2.0
Changed
-
Updated a bunch of dependencies. None of these should be breaking.
-
pie-design-tokens
has been updated to v3, which has a name change in the global tokens for paragraph spacing.As these are global token updates, it's expected that they shouldn't be referenced in consuming applications/components directly, but if they are, refer to the
pie-design-token
changelog above to update this to the new variable names.
v10.1.0
Added
- Ratings
extend
back in as a short term fix for consuming applications.
v9.3.0
Fixed
spacing
&zIndex
references.
v9.1.0
Added
- Utilities mixin module containing a new
spacing-map
variable andspacing-classes
mixin which can be used to generate utility classes for each spacing variable. - Optional spacing trump module which generates margin & padding utility classes.
u-noBorder
,u-noBackground
, andu-hover--cursor
utility classes.
A bit more detail on the spacing utility classes — these can be included in a project via an optional mixin, similar to the classes in the utilities module. The difference is that these new classes feed off of our spacing variables and include a class for each spacing e.g.
.u-pad-a {}
.u-pad-b {}
...
.u-pad-a--top {}
.u-pad-b--top {}
...
.u-pad-a--bottom {}
.u-pad-b--bottom {}
...
.u-pad-a--left {}
.u-pad-b--left {}
...
.u-pad-a--right {}
.u-pad-b--right {}
...
.u-pad-a--horizontal {}
.u-pad-b--horizontal {}
...
.u-pad-a--vertical {}
.u-pad-b--vertical {}
These classes can be helpful in situations where you need to apply some spacing and do not wish to create a new class name for an element (naming is hard!).
Following the same style as the other utility classes, these also include the !important
property so that they can override existing styles with higher specificity.
These changes have been tested in another project to prove that the classes are generated as expected. Here is a Gist that was created on sassmeister.com containing the core code and the resulting output.
v9.0.0
- Breaking Implement
@use
&@forward
syntax in preference toimport
statements due to deprecation indart-sass
. - v9 Migration Guide can be found here.
- README updated with new usage info. Documentation on vue.pie.design updated with full info on migration and usage.
- SCSS unit testing capabilities using
sass-true
Changed
yarn test
command now tests js and scss together withtest:js
andtest:scss
individually being called- Updated to the latest non-breaking version of
pie-design-tokens
. Will update tov2+
of the design tokens as a separate fozzie release, so that any applications updating todart-sass
don't also potentially have to make a bunch of token name updates as part of this v9 release. - CanIUse DB updated to latest.
- Jest config updated due to version update (
testURL
moved totestEnvironmentOptions
).
Fixed
$font-size-base
was pointing incorrectly at thefont-paragraph-01
design token (which is used for paragraph spacing). Have fixed this to now point at the correct font-size token.- Default font-size key in
font-size
mixin changed frombody-s
tobody-l
(14px
to16px
).
v8.4.1
Changed
- switch from
prepare
toprepublishOnly
in package.json scripts
v8.3.0
Added
sass:map
to resolvemap-get
error when usingsass
in consuming apps.
v8.1.0
Added
- f-utils
functions
,helpers
&mixins
in order to depreciatef-utils
in favour offozzie
.
Removed
- f-utils dependency.