Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.

Latest commit

 

History

History
443 lines (308 loc) · 21.1 KB

CHANGELOG.md

File metadata and controls

443 lines (308 loc) · 21.1 KB

UI Kit Changelog

UI Kit "Kraken"

develop

Changes

  • We removed the quotation marks around block quotations (blockquote) as well as the inline quotation element (q). While the quote marks knew they were pretty they realised they might be in conflict with user-entered quotation marks.
  • The font of block quotations have shed their serifs to better fit in with their surrounding sans serif friends.

1.11.0 - 2017-01-16

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.

New goodies

  • 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.

Breaking changes

  • 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.

Bugfixes

  • Fixed an obscure issue in Chrome when using a screen reader where labels 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 a form, so after testing we updated some of the form markup snippets to explicitly demo linking a fieldset’s legend with an input (don’t worry: we also feel a bit disgusted that this might mean having to add extra ids). As ever, this is a good reminder that we need to make proper use of aria-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.

1.10.3 - 2016-11-10

  • Switches from flexbox to floats for the site navigation feature.
  • Undoes link-button mixin application to the header[role='banner'] from 1.10.0.

1.10.2 - 2016-11-9

  • Fixed ui-kit.js Gulp task so that minified version is created.

1.10.1 - 2016-11-8

  • Update version number in package.json so that it's SemVer valid (X.Y.Z).

1.10.0 - 2016-11-8

Larger changes

  • 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) for article are now applied to header[role='banner'].
  • Removes the min-width from the $mobile-only breakpoint.

Smaller changes

  • Footer improvements:
    • adds ie-clearfix mixin.
    • improves margins when footer link uls collapse in mobile–tablet views and footer crest margins
    • centers image and copyright footer content in mobile view.
  • .lede has been added, synonymous with .abstract, accessible on block elements (not p tags).
  • Link styles are now applied to the <main> element instead of <article>.

1.9 - 2016-11-07

Large changes

  • Moved font sizing declarations to body, rather than applying them to ul, ol, p, dt, dd, etc. directly. This should avoid the need to apply font-size: 1em resets for nested content, eg a p or ul > li inside a table > 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 new dto-design-guide Jekyll repository.

Bugfixes

  • main now receives the same padding-top at mobile sizes that it received at tablet+ sizes (fix for content hugging the top of main/the page header).
  • 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.

Styleguide

  • 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.

UI-Kit changes

  • Changes current uppercase site title topbar to be set-case and removes letter-spacing.

1.8.0 - 2016-09-09

UI-Kit changes

  • 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.

Bugfixes

  • 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.

Styleguide

  • Added guide to /docs/ on installing and using UI-Kit via npm.

1.7.6 - 2016-09-01

UI-Kit changes

  • 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).

Styleguide

  • 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).

Bugfixes

  • Fixed HTML validation errors PR 311.

1.7.5 - 2016-08-25

UI-Kit changes

  • 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's main 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.

Styleguide

  • Added guidance for font usage and accessibility (documented under § Typography - Typeface).
  • IE conditional styling statements added for the gov.au demo: head in examples/ 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 use npm scripts (documented in the README).

Bugfixes

  • Fixed Header title image not fluid-width on small screens.

1.7.4 - 2016-08-17

Accessibility testing

Added automated accessibility testing (WCAG2.0 AA) using Pa11y CLI and HTML_CodeSniffer (run with npm test).

UI-Kit changes

  • 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.

1.7.3 - 2016-08-08

UI-Kit changes

  • Improved visibility of disabled text field inputs via greying-out.
  • Refactored _block-elements partial, now named _grid-layout with wrapper-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)).

Styleguide

  • Updated accessibility and browser support information in the README (homepage).
  • Updated markup documentation for skip links to use nav instead of div (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.

Bugfixes

  • 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.

1.7.2 - 2016-08-02

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.).

1.7.1 - 2016-08-01

Bugfixes:

  • Fixed #240: Menu toggles don't work in IE9.

1.7.0 - 2016-08-01

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.

1.6.0 as of 2016-07-29

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.

UI-Kit changes/additions:

  • .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].

Bugfixes:

  • Fixed flexbox alignment on vertical list style final row.
  • Fixed missing button styling for input of the types submit and reset.
  • 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 support ols.
  • Removes further poor uses of @extend to clean up output CSS.

Styleguide:

  • Typography section revised.

1.5.0 - 2016-07-28

UI-Kit changes

  • 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).

1.4.0 - 2016-07-27

UI-Kit changes

  • 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 to h4 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.

Styleguide changes

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

Other changes

Build environment:

  • Compiles icons into separate SCSS partial (assets/sass/ui-kit-icons.scss) [undocumented, experimental].

1.3.0 - 2016-07-19

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 use type="number".
  • Style changes to Local (primary) navigation.
  • Style changes to the page footer.
  • Accordions via the details and summary 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 or serve 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].

1.2.0 - 2016-07-12

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:

  • Fixed #111 Single column layout width.
  • Fixed #99 Breadcrumbs icon not showing up.

1.1.0 - 2016-07-05

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:
  • 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>.

1.0.0 - 2016-06-30

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 and a elements.
  • 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).

UI Kit "Rugby"

0.0.1 2016-06-22

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.