Skip to content

Commit

Permalink
v1.31.0: Added icon for Menulog star rating (#61)
Browse files Browse the repository at this point in the history
* v1.31.0: Added icon for Menulog star rating

* updated icons
  • Loading branch information
smilburn1990 authored Nov 29, 2019
1 parent eccd080 commit ec2277d
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 33 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v1.31.0
------------------------------
*November 29, 2019*

### Added
- Review stars for Menulog

### Changed
- SVG for alcohol age


v1.30.0
------------------------------
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justeat/f-icons",
"description": "Common icons for use in Fozzie projects.",
"version": "1.30.0",
"version": "1.31.0",
"files": [
"src"
],
Expand Down
5 changes: 1 addition & 4 deletions src/img/icons/general/alcoholAge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/img/icons/stars/star--filled--yellow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/scss/partials/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
/**
* Base Component styles
*/
.c-icon--alcoholAge {
height: 20px;
width: 20px;
}

.c-icon--alert {
height: 16px;
width: 16px;
Expand Down Expand Up @@ -150,8 +155,3 @@
height: 12px;
width: 14px;
}

.c-icon--alcoholAge {
height: 20px;
width: 20px;
}
10 changes: 10 additions & 0 deletions src/scss/partials/_ratings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@
background-image: inline('#{$icon-path}/stars/star--filled.svg');
}

.c-icon--star--fill--orange,
%c-icon--star--fill--orange {
background-image: inline('#{$icon-path}/stars/star--filled--orange.svg');
}

.c-icon--star--fill--yellow,
%c-icon--star--fill--yellow {
background-image: inline('#{$icon-path}/stars/star--filled--yellow.svg');
}

.c-icon--star--empty,
%c-icon--star--empty {
background-image: inline('#{$icon-path}/stars/star--empty.svg');
Expand Down
27 changes: 4 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1933,13 +1933,6 @@ macos-release@^2.2.0:
resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f"
integrity sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA==

map-age-cleaner@^0.1.1:
version "0.1.3"
resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a"
integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==
dependencies:
p-defer "^1.0.0"

map-cache@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
Expand Down Expand Up @@ -1984,14 +1977,12 @@ mdast-util-compact@^1.0.0:
dependencies:
unist-util-visit "^1.1.0"

mem@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/mem/-/mem-4.0.0.tgz#6437690d9471678f6cc83659c00cbafcd6b0cdaf"
integrity sha512-WQxG/5xYc3tMbYLXoXPm81ET2WDULiU5FxbuIoNbJqLOOI8zehXFdZuiUEgfdrU2mVB1pxBZUGlYORSrpuJreA==
mem@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76"
integrity sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=
dependencies:
map-age-cleaner "^0.1.1"
mimic-fn "^1.0.0"
p-is-promise "^1.1.0"

memfs-or-file-map-to-github-branch@^1.1.0:
version "1.1.2"
Expand Down Expand Up @@ -2250,21 +2241,11 @@ override-require@^1.1.1:
resolved "https://registry.yarnpkg.com/override-require/-/override-require-1.1.1.tgz#6ae22fadeb1f850ffb0cf4c20ff7b87e5eb650df"
integrity sha1-auIvresfhQ/7DPTCD/e4fl62UN8=

p-defer@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=

p-finally@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=

p-is-promise@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e"
integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4=

p-limit@^1.1.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8"
Expand Down

0 comments on commit ec2277d

Please sign in to comment.