v14.0.0
Before you upgrade, please take note of any breaking changes and deprecation notices which may affect your site. View the Upgrade Guide to see examples of how to address breaking changes.
This update contains the release of our new Visual Identity 🎉
VID updates 🎉
- new
logo
#573 - new
Fraunces
web font #562 - updated default
<a>
link #567 - updated
body
andheadings
#571 - updated Style Guide:
- Backgrounds - #559 #709 #737 #746
- Blockquote - #619 #648 #658 #709 #737
- Buttons - #567 #608 #643 #657 #659 #737 #778
- Citation - #612 #737
- Code - #648 #655 #659 #737
- Colour Palette - #556 #659 #675 #690
- Embedded Media - #637 #737
- Figure - #623
- Forms - #565 #601 #608 #609 #618 #633 #635 #648 #659 #709 #737 #746
- Icons - #665
- Lists - #570
- Notices - #571 #578 #587 #737
- Tables - #571 #581 #607 #648 #659 #666 #737
- Titles - #562 #565 #571 #648 #659 #737
- Typography - #562 #567 #583 #618 #620 #625 #648 #684 #691 #709 #737 #754
- updated Components:
- Accordion - #580 #648 #659 #709 #737 #775
- Article - #571 #606 #641 #659 #668 #709 #737
- Block Listing - #567 #571 #579 #637 #648 #659 #672 #675 #709 #737
- Card - #646 #648 #659 #672 #737
- Checklist - #635 #648 #709 #737
- Footer - #639 #640 #659 #709 #737
- Enquiry - #622 #648 #659 #675 #699 #737 #746
- Events - #567 #571 #578 #624 #644 #648 #659 #700 #709 #737
- Filtered Listings - #571 #618 #621 #648 #709 #737 #746 #757 #773
- Gallery - #617 #659 #737
- Headers - #562 #571 #606 #608 #621 #634 #637 #648 #659 #668 #675 #701 #709 #737 #782 #786
- In-page Navigation - #571 #610 #637 #648 #659 #675 #709 #737
- Listings - #567 #575 #592 #593 #597 #637 #648 #659 #675 #694 #696 #737
- Loading Animation - #645 #659 #737
- Logo Listing - #637 #648 #659 #709
- Modal - #567 #631 #648 #659 #737
- Navigation Listing - #648 #672 #737
- News - #571 #588 #593 #648 #659 #709 #737
- Page Header - #565 #573 #648 #659 #737
- Pathfinder - #571 #597 #637 #648 #659 #702 #709 #737 #778
- People - #567 #571 #581 #606 #637 #648 #659 #675 #703 #709 #737 #778
- Preview Banner - #669 #737
- Quick Links - #567 #639 #640 #659 #672 #737
- Search - #571 #608 #648 #659 #704 #709 #737
- Tabs - #571 #593 #637 #648 #659 #672 #737
- Tags - #644 #672 #737 #778
- Text Boxes - #620 #648 #659 #675 #737
- Timeline - #571 #611 #637 #648 #675 #709 #737 #778
- other Component updates:
- other Style Guide updates:
- updated
print
css #637 #675 #737 - updated
screenreader
css #643 #746
New features ✨
- new
logo
component #576 #648 #737- add the modifier class
logo__image--md
orlogo__image--lg
to the<img>
to use amedium
orlarge
sized logo
- add the modifier class
<div class="logo">
<a href="https://www.unimelb.edu.au" class="logo__link">
<img
alt="The University of Melbourne homepage"
src="/link/to/logo.svg"
class="logo__image"
/>
</a>
</div>
- new
primary
Background colour #709
<div class="bg-primary">...</div>
Tertiary:
<button class="button button--tertiary">...</button>
<a class="button button--tertiary" href="#">...</a>
Inverted:
<button class="button button--inverted">...</button>
<a class="button button--inverted" href="#">...</a>
- new typography
mixins
levels1
to7
. They have theirfont-family
,font-size
,font-weight
,line-height
, andletter-spacing
pre-defined to ensureconsistent
typography is used throughout all components #562 #660
.example {
@mixin typography-level-1;
}
- new
typography-uppercase
mixin to settext-transform:uppercase
and correctletter-spacing
#583
.example {
@mixin typography-uppercase;
}
chevron-left
,chevron-up
, andchevron-down
have been added to Icons - #676 #768icons
can now beimpored
in thecss
with~icons
#676
Before:
mask: url('../icon-set/chevron-right.svg');
After:
mask: url('~icons/chevron-right.svg');
Fraunces
web font is loadedlocally
using ourcdn
#754- replaced
normalize.css
with newermodern-normalize
package #562 #788 - replaced
rgb-hex
withcolor
package #556 - implemented
css-has-pseudo/browser
polyfill to support:has()
onfirefox
#765
Bug fixes 🐛
- some Timeline fixes #763
- dots on
alt
background - mobile layout where the line sometimes didn't extend to the next item
- dots on
- removed
width: 100%
from Cards so it can work with thegrid
system #772 - removed
z-index
from.page-inner
as it was breaking thesearch
overlay #601 - updated
.floating
(when used with the Mega Menu) to behidden
using@mixin screenreaders-only
instead of anegative
margin #656 logo
,menu
, andsearch
icons in the Page Header now align withmajority
of content on pages #756Page Footer
now aligns with themajority
of content on pages #756- removed
[role='main']
fromassets/style-guide/layout/grid/_grid.css
so thegrid
component can be used in thePage Footer
#576 .screenreaders-only
helper class was scoped to.uomcontent [role='main']
which prevented it from being used in thePage Footer
. This has been changed to allow it to be used anywhere #576- updated
screenreaders-only
mixin to be completelyhidden
from thescreen
as it was1px
high before, which created a small white gap between thebreadcrumbs
andtabs
#656 - fixed some
autoprefixer
css warnings #708 - removed
legend
from thefilters
on the Layouts page as it was showing the same text as thelabel
#746
Deprecation Notice⚠️
.alt
Background class has been deprecated and will be removed in a later version. You can use.bg-alt
instead #709
Before:
<div class="alt">...</div>
After:
<div class="bg-alt">...</div>
.wide
,.short
, and.reverse
Page Header variations have been removed #565.button.warning
,.button.cta
,.button.brand
,.button-small.warning
,.button-small.cta
,.butto-small.brand
Button variations have been removed. They now default to theprimary
button #567.layout-sidebar__side__inner .subtitle
has been deprecated and will be removed in a later version #593- Filtered Listings
checkboxes
are now the same colour. The following classes have been removed #618.uomcontent .filtered-listing-select .filtered-listing-tag input[type='checkbox'][data-color='green'] + label
.uomcontent .filtered-listing-select .filtered-listing-tag input[type='checkbox'][data-color='bronze'] + label
.uomcontent .filtered-listing-select .filtered-listing-tag input[type='checkbox'][data-color='silver'] + label
.uomcontent .filtered-listing-select .filtered-listing-tag input[type='checkbox'][data-color='blue'] + label
.uomcontent .filtered-listing-select .filtered-listing-tag input[type='checkbox'][data-color='yellow'] + label
- Modal
data-modal-offset
prop for setting customoffset
has been removed #631 .uomcontent #uom-login.modal__dialog
class has been removed from the Page Header #650.button.soft
has been deprecated in favour of.button--secondary
and will be removed in a later version #657
Before:
<button class="button soft">...</button>
<a class="button soft" href="#">...</a>
After:
<button class="button button--secondary">...</button>
<a class="button button--secondary" href="#">...</a>
- removed
.categories
class from Article Footer #641 - all uses of the
old
brandcolour
&typography
cssvars
have beenremoved
. If you were using these variables directly in your custom codebase, refer to Theme page for all thenew
variable names #697
Other changes
- removed
noto-serif
font #754 - split out
css
colourvariables
fromassets/shared/_vars.css
➡️assets/shared/_brand.css
&assets/shared/_theme.css
#737 #746 #776 #778_brand.css
houses the official VID colours_theme.css
uses the colours from_brand.css
- these are variables to be used throughout theDesign System
- tidied up
normalizing
of base styles in_normalize.css
to letmodern-normalize
do it's thing #562 #565 #567 #604 #609 #632 #642 #737 #746 - updated default
:focus-visible
state for all elements #632 #642 logo
size now matchesgen2
#573- removed
navy
background colour frombody
#599 - removed
white
background colour from.page-inner
,[role='main']
, and.uomcontent
#599 - aligned some typography css vars with
gen2
#684 #691--ff-serif
➡️--ff-lead
--ff-sans
➡️--ff-normal
- tidied up some Components
css
- Timeline - #611 #763
- Filtered Listings - #618 #648 #746 #757 #773
- Headers - #674
- Block Listing - #698 #769 #767
- Course - #746
- Article - #641 #668 #708 #737
- Card - #646
- Enquiry - #622 #648 #699
- Events - #624 #644 #648 #706
- Page Header - #565 #567 #573 #601 #650 #651 #656 #746 #756
- Headers - #562 #668 #701 #746
- In-page Navigation - #599
- Modal - #631
- News Article - #647
- People - #703 #737
- Preview Banner - #669
- Quick Links - #639 #640
- Search - #608
- Tabs - #642 #654 #737
- Tags - #644
- Staff Dial - #737
Page Footer
- #576nav
#565 #599 #601 #642 #656 #744
- tidied up some Style Guide
css
- removed
unstyled
radio and checkboxesform
elements #746 - removed some
form
elementoverrides
in other components #746 - reduced gap between
number
andtext
on Steps List to matchgen2
#572 - reduced the
padding
of Stepped List whennested
inside an Accordion #667 - removed extra
padding
between Events dates while onmobile
viewport #706 - updated
check
icon #746 - updated
hamburger
menu #774- styled to match
gen2
andgen4
- updated
menu
andsearch
icons back
button now uses thechevron-left
iconclose
button now uses theclose
icon
- styled to match
checkboxes
now uses the updatedcheck
icon #746- Accordion now uses the
chevron-down
icon #768 #777 - Modal
close
button now uses theclose
svgicon
#648 - Page Header menu now uses the
chevron
svgicon
#648 - Tabs arrow
icons
now uses thechevron
svgicon
#648 - css
mixins
are now imported automatically usingpostcss-mixins
#660 #693 - all
css
mixins
have been migrated into their ownseperate
files so they can beimported
without the need for the accompanying componentcss
#676 #694 - removed
gen-2-ported.css
#576 - added sitenav padding vars to
assets/shared/_globals.css
#605--sitenav-padding-sm
--sitenav-padding-md
--sitenav-padding-lg
- created
e2e
tests:visual snapshot
&a11y
tests for Theme pages #737visual snapshot
formodal
#631opening
andclosing
ofsearch
button in Page Header #565
- removed
form
from People Profile Page as it was being captured elsewhere, removing the need for thissnapshot
to be updated all the time #746 - removed
<div class="page-local-login" data-href="#" data-title="Login"></div>
from Page Header #774 - updated
headings
inupgrade-guide.md
to link to their respectiverelease
so the user can easily see more information #796
Documentation updates
- updated the
mega-menu
to usegen4
v2.0.0
#794 - updated
documentation
specificcss
to use the newVID
#637 #648 #659 #675 #737 - new Theme
documentation
page detailing all availabletheme
css varaibles #737 #749 #758 #778 - created CMS
documentation
- updated CMS
documentation
- updated Style Guide
documentation
- Backgrounds - #709
- Blockquote - #658
- Buttons - #657 #778
- Colour Palette - #556 #659 #737 #749
- Forms - #746
- Typography - #562
- updated Components
documentation
- Block Listing - #769
- Forms - #746
- In-page Navigation - #610
- Modal - #631
- Timeline - #763
- added the ability to set a
background-color
using theclass
prop for component imports usingeleventy/_includes/component.html
#746
include component class="bg-primary"
- Colour Palette
web component
now has aborder
set bydefault
removing the need forshow-border="true"
#749 - updated page titles to use
title
fromglobal.version
instead ofhardcoded
value #787 - removed mocking of
gen4
version to ensure some tests don'tfail
when a new version (lastest) is released #794 - made it easier to create release notes #795
- removed unnecessary
issues
fromrelease notes
as they aredocumented
in their respective githubpr
- updated github
pr
links to use the#hash
instead of the fullgithub
urlhttps://github.com/unimelb/Gen3/pull/123
➡️#123
- added
https://github.com/unimelb/Gen3/pull
toeleventy/_data/global.js
- removed unnecessary
- created new stories
primary
Background - #709complex
andfull-width
Timeline - #763default
anddouble
Block Listing - #767 #769- MCE Form - #746
eleventy
pages now have a uniqueeleventyNavigation
key #797- fixed an issue where the
menu
on the Page Header wasn'tclosing
when clicking on alevel 2
orlevel 3
item #756 - created
updateInvalidSelects
to dynamically add the invalid state toform
elements on thedocumentation
pages #633