Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Releases: justeat/fozzie

v10.4.0

27 Sep 13:36
160805f
Compare
Choose a tag to compare

Changed

  • Unify namespaced function references throughout.

v10.3.0

27 Sep 08:49
e430b6a
Compare
Choose a tag to compare

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

22 Sep 14:08
c20554c
Compare
Choose a tag to compare

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

15 Sep 14:35
ae16e78
Compare
Choose a tag to compare

Added

  • Ratings extend back in as a short term fix for consuming applications.

v9.3.0

30 Aug 10:55
7f260c2
Compare
Choose a tag to compare

Fixed

  • spacing & zIndex references.

v9.1.0

22 Aug 11:09
9d682c2
Compare
Choose a tag to compare

Added

  • Utilities mixin module containing a new spacing-map variable and spacing-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, and u-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

10 Aug 07:30
4381391
Compare
Choose a tag to compare
  • Breaking Implement @use & @forward syntax in preference to import statements due to deprecation in dart-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 with test:js and test:scss individually being called
  • Updated to the latest non-breaking version of pie-design-tokens. Will update to v2+ of the design tokens as a separate fozzie release, so that any applications updating to dart-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 to testEnvironmentOptions).

Fixed

  • $font-size-base was pointing incorrectly at the font-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 from body-s to body-l (14px to 16px).

v8.4.1

09 Aug 10:04
030f136
Compare
Choose a tag to compare

Changed

  • switch from prepare to prepublishOnly in package.json scripts

v8.3.0

17 Jun 11:46
4f20654
Compare
Choose a tag to compare

Added

  • sass:map to resolve map-get error when using sass in consuming apps.

v8.1.0

16 May 08:08
514a759
Compare
Choose a tag to compare

Added

  • f-utils functions, helpers & mixins in order to depreciate f-utils in favour of fozzie.

Removed

  • f-utils dependency.