npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dta-auds

v0.0.1

Published

Australian Government Design System Components =============

Readme

Australian Government Design System Components

The components for the Australian Government Design System.

Documentation

Full documentation at designsystem.gov.au


Visual unit tests

| Production CircleCI | Staging CircleCI | |------------------------------|--------------------------------------| | https://auds.service.gov.au | https://auds.staging.service.gov.au | | | user: auds, pass: auds |

Contents


How to use

The design system components are distributed through the npm ecosystem and can only be installed through the npm command. Npm requires node.js and the components needs node.js 8 or higher.

To install a module make sure you have a package.json file in the root of your project folders. (You can generate one by running npm init.) Inside your working folder install any module and pancake will make sure you have all assets ready to use.

Run npm install @gov.au/body to install the body module. To install several modules, chain them like:

npm install @gov.au/body @gov.au/header @gov.au/footer @gov.au/buttons

An even better experience is using Syrup. Install it globally via npm install -g @gov.au/syrup. More info coming soon.

⬆ back to top


Frequently asked questions

View our frequently asked questions page to see common questions from the community.

If you can’t find an answer to a question you have please email us at [email protected] or join our conversation on slack.

⬆ back to top


Checklist and browser support

We use the below checklist to ensure new modules or updates to existing modules have a certain level of quality:

Checklist

General checks

  • [x] Semantic HTML and non semantic test?
  • [x] No JavaScript fallback?
  • [x] SVG fallback, functional without SVG?
  • [x] IE9, IE10, IE11 legacy test
  • [x] IE8 functional test

Accessibility checks

  • [x] Accessibility colour contrast
  • [x] Keyboard accessible
  • [x] Tested with screen reader
  • [x] Accessibility expert review

CSS / Sass

  • [x] Never nest anything that is not either an overwrite or a child element.
  • [x] font-family and text color on elements that don’t require body
  • [x] Using AU-space() with unit for spacing everywhere but in font-sizes; no magic numbers
  • [x] No hardcoded colors, use $AU-color- or $AU-colordark- vars.
  • [x] Sass focus mixin AU-focus() or AU-focus( 'dark' )
  • [x] Using AU-fontgrid() for font-size and line-height to snap typography to the grid.
  • [x] Print style sheets

JavaScript

  • [x] var AU = AU || {}; in top?
  • [x] Each module has it’s own name-space prefixed with AU e.g.: AU.modulename.function1, AU.modulename.function2
  • [x] Keep public API small, use private functions where you can
  • [x] Export out private function for tests only if( typeof module !== 'undefined' )
  • [x] Export entire module in the end: if( typeof module !== 'undefined' ) { module.exports = AU; } so react can use it.
  • [x] Provide sane defaults for parameters where you can
  • [x] Add jest unit tests where you can
  • [x] Document public API in the readme.

package.json

  • [x] dependencies - peerDependencies check
  • [x] Delete/enable js object and settings for pancake plugins

Browser support

All components have to work on the below browsers:

| Browser | Version | Platform | Engine | |-------------------|-------------------|---------------|----------| | Internet Explorer | 8 | Windows 7 | Trident | | Internet Explorer | 9 | Windows 7 | Trident | | Internet Explorer | 10 | Windows 7 | Trident | | Internet Explorer | 11 | Windows 8.1 | Trident | | Edge | Latest | Windows 10 | EdgeHTML | | Firefox | Latest | OS X | Gecko | | Firefox | Latest | Windows 10 | Gecko | | Firefox | Latest | Android 6 | Gecko | | Chrome | Latest | OS X | Blink | | Chrome | Latest | Windows 10 | Blink | | Chrome | Latest | Android 4.0 | Blink | | Chrome | Latest | Android 6 | Blink | | Safari | Latest (11) | OS X | WebKit | | Safari | Latest - 1 ( 10 ) | iOS | WebKit | | Samsung | | G S8 | | | Samsung | | G S7 | | | Samsung | | G S6 | | | Chrome | | pixel 7.1 | | | Native browser | | Lumia 930 8.1 | | | Chome +1 | | | | | Safari +1 | | | | | Firefox +1 | | | |

⬆ back to top


Modules


├─ animate
└─ core


└─ core

├─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

└─ core

└─ core

└─ core

└─ core

└─ core

└─ core

└─ core

└─ core

└─ core

└─ core

├─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

├─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

├─ core
└─ body
   └─ core

├─ core
├─ animate
└─ link-list
   ├─ core
   └─ body
      └─ core

├─ core
└─ body
   └─ core

└─ core

└─ core

└─ core

├─ core
├─ animate
├─ accordion
│  ├─ animate
│  └─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

└─ core

└─ core

└─ core

└─ core

⬆ back to top


Tests

Visual tests have been built into each module and can be seen in either of the README.md files of each module or in the listing above. We have also integrated pa11y for accessibility testing and are using jest for javascript tests.

Run all tests with the npm test script:

npm run test

⬆ back to top


License

Copyright (c) Commonwealth of Australia. Licensed under MIT.

⬆ back to top

};