UI-Kit has grown up a bit more -- we now have an official URL! Check it out at http://guides.service.gov.au/design-guide/
- Most of the guidance previously sitting in the SASS partials have gracefully uprooted and migrated themselves into the new Design Guide repository, stored now in Markdown. They like their new home.
- The images loaded as content in the guide have also joined their friends in the new Design Guide repository.
- The English text in some of the markup examples have received some further tlc.
- Our browser support document was out of date. It’s been simplified a bit more, and updated to reflect testing conducted end-2016.
- 3 new callout variations:
.callout--success
,.callout--error
,.callout--info
have joined the gang. - The tag [definition] lists from the more complex lists are in high demand, so are now available universally anywhere via the
.tags
class. See the example markup from the complex lists.
- The columns of footer menus that have had some organisational issues… the lists themselves contained their heading (thanks to @djmyles for picking this up). They had crisis meeting: the resolution is each heading and list set gets its own special class (
.footer-menu
), and this way they get to remain friends. This fixes the semantics and makes it less difficult for CMS template engines to output the right headings and menus. See the footer navigation entry to see what the new markup looks like.
- Fixed an obscure issue in Chrome when using a screen reader where
label
s in forms were rudely not being read out. As a consequence those labels are now being positioned using floats (oh you Chrome, you so random). While at it, the radio buttons and checkboxes decided to improve their distribution of whitespace a bit too. Thanks to @simonschwartz. - It appears Apple’s VoiceOver has a hard time reading out the
legend
in aform
, so after testing we updated some of the form markup snippets to explicitly demo linking afieldset
’slegend
with aninput
(don’t worry: we also feel a bit disgusted that this might mean having to add extraid
s). As ever, this is a good reminder that we need to make proper use ofaria-describedby
in either this approach or the use of hint text. - Our
$mobile
breakpoint function had a minimum width set on the upper limit, which denied grid support to anything smaller than$mobile-minwidth
(420px). Thanks @elisechant.
- Switches from flexbox to floats for the site navigation feature.
- Undoes link-button mixin application to the
header[role='banner']
from 1.10.0.
- Fixed
ui-kit.js
Gulp task so that minified version is created.
- Update version number in package.json so that it's SemVer valid (X.Y.Z).
- New: site navigation and page header features — see § Navigation: Site navigation and § Page header in the Design Guide.
- The same link styles (via the
link-colours
mixin) forarticle
are now applied toheader[role='banner']
. - Removes the min-width from the
$mobile-only
breakpoint.
- Footer improvements:
- adds
ie-clearfix
mixin. - improves margins when footer link
ul
s collapse in mobile–tablet views and footer crest margins - centers image and copyright footer content in mobile view.
- adds
.lede
has been added, synonymous with.abstract
, accessible on block elements (notp
tags).- Link styles are now applied to the
<main>
element instead of<article>
.
- Moved font sizing declarations to
body
, rather than applying them toul
,ol
,p
,dt
,dd
, etc. directly. This should avoid the need to applyfont-size: 1em
resets for nested content, eg ap
orul
>li
inside atable
>td
. Adds a new gulp task (styleguide.data
) which outputs a JSON file of all the SASS comment sections (and their children, nested). This is being used by the newdto-design-guide
Jekyll repository.
main
now receives the samepadding-top
at mobile sizes that it received at tablet+ sizes (fix for content hugging the top ofmain
/the pageheader
).- Changes
.inline-nav
to.inline-tab-nav
as actually documented. - Fixed Vertical lists not displaying correctly in IE7-8.
- Fixes global menu not opening completely on iOS 9 #365.
- Fixes to button styles #328.
- Fix for missing feedback button on mobile #348. Header feedback button continues to be hidden on mobile but support is now provided for a feedback button to be used in the footer which is visible at mobile sizes.
- Renamed the design guide website to DTO Design Guide & UI-Kit.
- Renamed complete example page to 'all' (
/examples/all.html
). - Reformatted component example
.hbs
files to a max line character length of 80. - Update name of Slack channel from
#govau-uikit
/#govau-guides
to#guides-uikit
.
- Changes current uppercase site title topbar to be set-case and removes
letter-spacing
.
- Added styles for accordions used in the primary content area
details
, and when used in widgets or filters:details.accordion--controls
. - Added
accordion-styles
mixin for creating alternative accordion styles if required. See_accordions.scss
. - Changed visual design throughout (minor).
- Changed local navigation font size to be smaller than body copy for better visual hierarchy.
- Added
mixins
for IE-conditional styles and stylesheets for old IE versions. - Changed structure of
assets/sass
directory. - Changed animation of collapsible elements from CSS to JS transitions.
- Changed undocumented (experimental) header styles to use a background image instead of CSS gradient.
- Fixes poor wrapping of links that have an icon after them (
%base-link-icon--after)
) thanks to @alecky #340. - Added visible focus/hover on Local navigation menu button #323.
- Added styles for usage of placeholder links in the Local navigation #290.
- Headings 2 to 6 used in
.list-horizontal
or.list-vertical
list types are now styled to match H4 to address issues with visual hierarchy versus semantic hierarchy #299. - Change git merge strategy for CHANGELOG.md to reduce conflicts.
- Added guide to /docs/ on installing and using UI-Kit via
npm
.
- Desktop: Content area is now 12 columns wide to accommodate larger block elements. In response basic text elements
h1-h6, p, li, dl
now have a max-width for readability. See_grid-layout.scss
. - Desktop: Added
.content-full-width
as a method of making basic text elements fill to 12 columns if required (see above). - Base
%base-vertical-list
and the vertical lists have re-written, switching from flexboxes to Neat columns, providing IE9/10 support. Also done for top set of footer links (.footer-top
).
- Added a 'Zoo' example page (
/examples/all.html
) that demonstrates every element in the UI Kit. - Section index links now only show Section headings and not Sub-sections.
- Omega reset mixin added to Grid settings (documented under § Grid - Helpers).
- Fixed HTML validation errors PR 311.
- Added
.ua-notification
class for issuing top-of-page User Agent (browser) notifications (eg for browsers we have difficulty supporting) in the_accessibility.scss
partial. - Link styles are now applied to any
article
that is a direct child of the page'smain
element. - Removed inline icon images from
ui-kit.css
&ui-kit.min.css
and include them in/latest/images/zip
instead. - Images (SVG & PNG) are optimised before being zipped and saved to
/latest/images.zip
.
- Added guidance for font usage and accessibility (documented under § Typography - Typeface).
- IE conditional styling statements added for the gov.au demo:
head
inexamples/
edited so that ≤IE9 receives no styling except a warning message; ≥IE9 gets styling. These IE conditionals are solely for demo purposes and will be removed in the future. - Updated
gulp
build commands to usenpm scripts
(documented in the README).
- Fixed Header title image not fluid-width on small screens.
Added automated accessibility testing (WCAG2.0 AA) using Pa11y CLI and HTML_CodeSniffer (run with npm test
).
- Support to grey out disabled/non-functional anchors/links (largely for prototyping) via
.placeholder-link
(documented under § Link styles). - Source files for Examples now use a common layout file (
examples/layouts/default.html
). - Added the Respond polyfill for CSS3 media query support in IE6-8.
- Removed the Selectivizr polyfill so as to not trigger quirks mode in IE8.
- Improved visibility of disabled text field inputs via greying-out.
- Refactored
_block-elements
partial, now named_grid-layout
withwrapper-padding
mixin. - Replaced
.visuallyhidden
helper class to_accessibility.scss
(undocumented, added as a convenience). - Added an experimental inline tab element (documented under § Tab navigation (experimental)).
- Updated accessibility and browser support information in the README (homepage).
- Updated markup documentation for skip links to use
nav
instead ofdiv
(does not break; targeted by the.skip-to
class). - Updated example pages
/examples
to better reflect GOV.AU layouts and highlight missing components. - Updated documentation for
.local-nav
for.is-active
and.is-current
usage. - Improvements to § Tables.
- Code snippets displayed in
<pre>
elements now full-width.
- Fixed #170: Elaborate list view patterns have left alignment issues.
- Fixed #255: SVG's don't have
xml
tag. - Fixed #271: Insufficient colour contrast in Hero.
- Fixed #274: Typo in Examples landing page.
UI-Kit changes:
- Style changes to Calendar Event Callout class
.callout--calendar-event
(documented under § Typography). - Hero content styles updated to reduce top and bottom padding.
Styleguide:
- Minor bugfixes (broken links, code blocks now have a height, etc.).
Bugfixes:
- Fixed #240: Menu toggles don't work in IE9.
Styleguide:
- Added a disclaimer regarding accessibility and browser support.
- Updated Australian Coat of Arms image that appears in site footer.
Bugfixes:
- Fixed #232: local navigation mobile styling and chevron toggle displacement.
- Added a disclaimer regarding accessibility and browser support.
- Fixed #230: Margins between vertical list items.
- Fixed #203: Abstract style doesn't apply to nested paragraphs.
- Fixed #227: No visual differentiation between h1 and .abstract on section page in mobile browser.
UI-Kit changes
- Added
.is-visuallyhidden
helper class to_accessibility.scss
(.visuallyhidden
to be deprecated in v2.0). - Local navigation markup and style change:
- Now includes a semantically correct menu heading.
- Top level of navigation has new styles.
.is-visuallyhidden
class for visually hiding an element but having it available for screen readers (we will deprecate.visuallyhidden
in the future).- Inline tab-style navigation (documented under § Navigation) [experimental].
- Fixed flexbox alignment on vertical list style final row.
- Fixed missing button styling for
input
of the typessubmit
andreset
. - Fixed margin spacing after
.abstract
when used on a wrapping element. - Fixed #179: enlarges buttons at smaller breakpoints for easier clicking.
- Fixed #165: default margins on buttons at mobile breakpoint.
- Header type and spacing fixes for
.site-title
and.tagline
. - Index links (
.index-links
) now supportol
s. - Removes further poor uses of
@extend
to clean up output CSS.
- Typography section revised.
- Groups of links added (documented § Navigation).
- Iconography (undocumented, experimental):
- Removed ui-kit-icons.css output file.
- Added images.zip build output containing images used (
gulp build.prod
).
- Links and buttons:
- Improved styling throughout, inc. on inverted colours (eg light text on darker bg).
- Added
:focus
styles (identical to:hover
). - Refactor of anchor styling into
_lists.scss
partial. - Adds an icon to anchors with
rel="external"
.
- Callouts: extends with a new class to highlight specific dates (
.callout--calendar-event
). - Text input
type
tel
support. - New table style: calendar tables, for displaying a series of dates and their events (eg public holidays).
- Local nav (sidebar):
- Now appears to the right of the main content space (not markup change required).
- Toggle-able to the left (as previously) by applying
.sidebar-has-controls
to the<main>
element.
- Typography overhaul:
- Removes
margin-top
from most content elements (headings excluded). - Support for heading styles stripped back, now covering
h1
toh4
and resized. - ‘Old’ headings retained and available when wrapped in a container with the class
.gov-speak
(demarcated for more complex typography, eg for annual reports). - Refactors numerous
@extends
to clean up CSS output + numerous minor code improvs.
- Removes
Source references in the styleguide examples now link to the file & line in our GitHub repository. If you have feedback on our code please let get in touch. :)
We have also revised a number of our styleguide sections, simplifying them while adding explicit accessibility guidance under a common heading. Sections revised:
- Forms
- Accordions
- Tables
Build environment:
- Compiles icons into separate SCSS partial (
assets/sass/ui-kit-icons.scss
) [undocumented, experimental].
Adds or modifies:
- Colour palettes refactored to reflect updated colour usage (documented § Colours).
- “See more” link styling (currently documented under § List views).
- JS-powered smooth scrolling for anchors commencing with
#
locally on that page (documented § Navigation). - Vertical Lists now have an option to remove the top border (documented § List views).
.reader
class for visually hiding an element but having it available for screen readers..visuallyhidden
class for visually hiding an element but having it available for screen readers.- Inline navigation - Alpha release.
- Number support for
input
; make sure you use also usetype="number"
. - Style changes to Local (primary) navigation.
- Style changes to the page footer.
- Accordions via the
details
andsummary
elements and documentation. - Styling for keyboard (
kbd
) inline element (documented under § Typography). - Responsive video embeds (yet undocumented).
- UI Kit version number added to Guide home page.
Bugfixes:
- Fixed #175
gulp watch
orserve
not picking up on asset changes. - Fixed #171 Unused Open Sans weight 600.
- Fixed #156 Looping Gulp build [styleguide].
- Fixed #159 Bouncing Local nav.
- Fixed #136 Guide home page Local nav active styles [styleguide].
Adds or modifies:
- New & improved Table examples
- Minor style updates to List views
- Controls bar now includes a Contrast style
- Breadcrumbs now include an Inverted style
- Rename 'Primary navigation' to 'Local navigation'
- Global Navigation added
- Local navigation (ex. Primary navigation) has new JavaScript behaviour and changes to its markup pattern
- Updated instructions on how to include the CSS & JS Framework
Bugfixes:
Adds or modifies:
- Forms:
- Added styled checkboxes and radio buttons.
- Header and Footer:
- Ensured footer is pushed to the bottom of the screen even with short content.
- List views
- Added more styles for horizontal, vertical and small lists for use in main content area.
- Tables:
- Added missing documentation on use of tables.
- Navigation:
- Skip to main content links and documentation.
- Font asset loading:
- Removed calling of webfonts via
@import
. - Added Google Web Font Loader (see § Markup changes below).
- Removed calling of webfonts via
- Typography:
- Heading sizes scaled down.
- Added 700 font-weight to apply to some headings.
- Scale down body leading (
line-height
). - Increase spacing between list items.
- Added styles for
hr
element.
- Responsive grid changes:
- Increased column gutter width.
- Increased number of columns for each breakpoint for more granular grid placements.
- Refactored responsive breakpoints to use
min-width
(mobile-first).
Bugfixes:
Markup changes:
- Add new
<script>
tag to load Google Web Font Loader into<head>
.
Guide MVP is now live (1).
Adds:
- Style guide:
- Guide now uses UI Kit styles throughout.
- 'Last Updated' added to UI Kit documentation.
- Buttons:
- Guidance on how to apply button styling to
button
anda
elements.
- Guidance on how to apply button styling to
- Colours:
- Colour palette swatches.
- Contrast guidance and accessibility compliance.
- Contextual colours & usage guidance.
- Grid:
- Guidance on grid settings and page layout.
- Description of responsive breakpoints.
- Debugging with
$visual-grid: true;
. - Accessibility guidance.
- Navigation:
- Primary navigation (vertical sidebar).
- Breadcrumbs.
- Typography:
- Body font changed to Open Sans (2).
- Guidance on font and heading sizes.
- Callouts & blockquotes.
- Badges.
Markup changes:
- Badge (3) variants now use BEM classnames (eg
badge--beta
). - Callout (4) variant now use BEM classname (eg
callout--warning
).
Adds:
- vertical nav + responsiveness
- breadcrumbs
- 'badges'
- page header styles
Markup changes:
- Page header and footer are targeted by their ARIA roles respectively.
- Nav markup changes to support responsiveness.
Bugfixes:
- Responsive page/grid padding fixes for tablet-desktop.
- Fixed private
npm
dependency problem.