diff --git a/content/_data.yml b/content/_data.yml index 73a4c71b5..c91f7f54d 100644 --- a/content/_data.yml +++ b/content/_data.yml @@ -2,42 +2,42 @@ # THE `pancake` and `auds` FIELDS WILL BE OVERWRITTEN pancake: - downloads: 193897 + downloads: 193820 modules: - '@gov.au/pancake': 43477 - '@gov.au/pancake-js': 29515 - '@gov.au/pancake-json': 36417 - '@gov.au/pancake-react': 35821 - '@gov.au/pancake-sass': 47486 - '@gov.au/syrup': 1181 + '@gov.au/pancake': 43457 + '@gov.au/pancake-js': 29505 + '@gov.au/pancake-json': 36416 + '@gov.au/pancake-react': 35801 + '@gov.au/pancake-sass': 47466 + '@gov.au/syrup': 1175 stars: 81 auds: - downloads: 512126 + downloads: 511422 modules: - '@gov.au/accordion': 26904 - '@gov.au/animate': 26005 - '@gov.au/body': 30324 - '@gov.au/breadcrumbs': 19113 - '@gov.au/buttons': 28654 - '@gov.au/callout': 12088 - '@gov.au/control-input': 14696 - '@gov.au/core': 33670 - '@gov.au/cta-link': 22888 - '@gov.au/direction-links': 11485 - '@gov.au/footer': 26175 - '@gov.au/grid-12': 27280 - '@gov.au/header': 23456 - '@gov.au/headings': 16500 - '@gov.au/inpage-nav': 13350 - '@gov.au/keyword-list': 8750 - '@gov.au/link-list': 27113 + '@gov.au/accordion': 26874 + '@gov.au/animate': 25995 + '@gov.au/body': 30285 + '@gov.au/breadcrumbs': 19092 + '@gov.au/buttons': 28610 + '@gov.au/callout': 12058 + '@gov.au/control-input': 14662 + '@gov.au/core': 33648 + '@gov.au/cta-link': 22857 + '@gov.au/direction-links': 11457 + '@gov.au/footer': 26134 + '@gov.au/grid-12': 27241 + '@gov.au/header': 23421 + '@gov.au/headings': 16469 + '@gov.au/inpage-nav': 13324 + '@gov.au/keyword-list': 8728 + '@gov.au/link-list': 27080 '@gov.au/main-nav': 5353 - '@gov.au/page-alerts': 21917 - '@gov.au/progress-indicator': 10494 - '@gov.au/responsive-media': 12570 - '@gov.au/select': 20251 + '@gov.au/page-alerts': 21887 + '@gov.au/progress-indicator': 10470 + '@gov.au/responsive-media': 12543 + '@gov.au/select': 20229 '@gov.au/side-nav': 6355 - '@gov.au/skip-link': 23652 - '@gov.au/tags': 18149 - '@gov.au/text-inputs': 24934 - stars: 531 \ No newline at end of file + '@gov.au/skip-link': 23630 + '@gov.au/tags': 18126 + '@gov.au/text-inputs': 24894 + stars: 532 diff --git a/content/components/_all.yml b/content/components/_all.yml index 78d1c31cb..7c6e6dd63 100644 --- a/content/components/_all.yml +++ b/content/components/_all.yml @@ -1453,7 +1453,7 @@ cards: usable: done consistent: done versatile: done - coded: doing + coded: todo tested: todo considered: todo order: 10 @@ -1522,7 +1522,7 @@ table: usable: done consistent: done versatile: done - coded: doing + coded: todo tested: todo considered: todo order: 10 @@ -1539,7 +1539,8 @@ table: hasReact: true # <-- auto generated, don't change form: name: Form - description: 'A collection of styles for labels, hint text, inline error messages, fieldsets and spacing for form controls.' + description: 'A collection of styles for labels, hint text, inline error messages, + fieldsets and spacing for form controls.' metatags: - forms - interactive @@ -1565,7 +1566,10 @@ form: - name: Andrew Arch img: andrew-arch.jpg url: 'https://github.com/AndrewArch' - state: inprogress + - name: Adam Zerella + img: adam-zerella.jpg + url: 'https://github.com/adamzerella' + state: published status: usable: done consistent: todo diff --git a/content/components/accordion/code/react-props.md b/content/components/accordion/code/react-props.md index 75fcae9f3..8191bf874 100644 --- a/content/components/accordion/code/react-props.md +++ b/content/components/accordion/code/react-props.md @@ -4,8 +4,8 @@ layout: section ### Props -| Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +| Prop name | Type | Description +|-----------|--------------------------------------------------------------------------------------- | --- | | header | string | The headline of the accordion | closed | boolean | Closed state, optional | speed | number | Speed of the animation in ms, optional diff --git a/content/components/breadcrumbs/code/react-props.md b/content/components/breadcrumbs/code/react-props.md index 3c1416fac..b688e1965 100644 --- a/content/components/breadcrumbs/code/react-props.md +++ b/content/components/breadcrumbs/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | label | string | Provide the aria label | items | object | The link, text and props for each of the breadcrumbs | linkComponent | string | The component used for the child links, optional diff --git a/content/components/buttons/code/react-props.md b/content/components/buttons/code/react-props.md index 1fefb7010..07f247100 100644 --- a/content/components/buttons/code/react-props.md +++ b/content/components/buttons/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | link | string | If an `link` is set the button will render as a link | linkComponent | string | The component used for the link, optional | as | string | The kind of button, `secondary`,`tertiary` diff --git a/content/components/callout/code/react-props.md b/content/components/callout/code/react-props.md index a98e2d112..d62e92dcd 100644 --- a/content/components/callout/code/react-props.md +++ b/content/components/callout/code/react-props.md @@ -7,7 +7,7 @@ layout: section #### Callout | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | title | string | Title of the callout | dark | boolean | A dark variation of the component | srOnlyTitle | boolean | Make title screen reader visible @@ -19,7 +19,7 @@ All other props are spread into the component #### Callout Calendar | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | title | string | Title of the callout | datetime | string | The date time string | time | string | The same date but human readable diff --git a/content/components/control-input/code/react-props.md b/content/components/control-input/code/react-props.md index bdfac17a1..5b0bf39bd 100644 --- a/content/components/control-input/code/react-props.md +++ b/content/components/control-input/code/react-props.md @@ -7,7 +7,7 @@ layout: section #### Radio | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | label | string | The label of the radio button | alt | boolean | An alternate variation of the component | small | boolean | The small variation of the component @@ -19,7 +19,7 @@ All other props are spread into the component #### Checkbox | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | label | string | The label of the checkbox button | alt | boolean | An alternate variation of the component | small | boolean | The small variation of the component diff --git a/content/components/cta-link/code/react-props.md b/content/components/cta-link/code/react-props.md index 7283f3735..e0e7a67f9 100644 --- a/content/components/cta-link/code/react-props.md +++ b/content/components/cta-link/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | text | string | Provide the aria label | link | string | The link to the location of the cta-link | linkComponent | string | The component used for the link, optional diff --git a/content/components/direction-links/code/react-props.md b/content/components/direction-links/code/react-props.md index 793924e53..ad57bc9e9 100644 --- a/content/components/direction-links/code/react-props.md +++ b/content/components/direction-links/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | text | string | The text of the link | link | string | The href link, optional | linkComponent | string | The component used for the link, optional diff --git a/content/components/footer/code/react-props.md b/content/components/footer/code/react-props.md index 79aa5ad80..224ea639c 100644 --- a/content/components/footer/code/react-props.md +++ b/content/components/footer/code/react-props.md @@ -7,7 +7,7 @@ layout: section #### AUfooter | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | alt | boolean | A alternate variation of the component | dark | boolean | A dark variation of the component @@ -16,7 +16,7 @@ All other props are spread into the component #### AUfooterNav | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | ariaLabel | string | The aria-label attribute, defaults to "footer navigation" All other props are spread into the component diff --git a/content/components/grid-12/code/sass-usage.md b/content/components/grid-12/code/sass-usage.md index e44193f25..4bc278ea7 100644 --- a/content/components/grid-12/code/sass-usage.md +++ b/content/components/grid-12/code/sass-usage.md @@ -22,7 +22,7 @@ Iterates through the columns to create a new list and then sets the float. ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | `class` | string | The class to iterate and set the float against @@ -41,7 +41,7 @@ Calculates the correct widths as a percentage based on the column count, column ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | `i` | number | The current column 1-12 | `class` | string | The current class xs, sm, md, lg | `type` | string | The type of styles to be applied @@ -62,7 +62,7 @@ Calls the `AU-grid-12-calc-grid-column` mixin and combines them. ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | `columns` | number | Total number of columns | `class` | string | The current class xs, sm, md, lg | `type` | string | The type of styles to be applied @@ -82,7 +82,7 @@ Create the grid and all the necessary classes. ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | `class` | string | The current class xs, sm, md, lg diff --git a/content/components/header/code/react-props.md b/content/components/header/code/react-props.md index eec1cb81d..c3372aa87 100644 --- a/content/components/header/code/react-props.md +++ b/content/components/header/code/react-props.md @@ -7,7 +7,7 @@ layout: section #### AUheader | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | hero | boolean | The hero option that provides larger whitespace | alt | boolean | An alternate variation of the component | dark | boolean | A dark variation of the component @@ -18,7 +18,7 @@ All other props are spread into the component #### AUheaderBrand | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | hero | boolean | The hero option that provides larger whitespace | alt | boolean | An alternate variation of the component | dark | boolean | A dark variation of the component diff --git a/content/components/headings/code/react-props.md b/content/components/headings/code/react-props.md index ee1f63e91..342e99cbe 100644 --- a/content/components/headings/code/react-props.md +++ b/content/components/headings/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | size | string | The display size, 'xs', 'sm', 'md', 'lg', 'xl', 'xxl', 'xxxl' | level | string | The semantic headline tag level, h1-h6 diff --git a/content/components/inpage-nav/code/react-props.md b/content/components/inpage-nav/code/react-props.md index b38556024..786b2aec3 100644 --- a/content/components/inpage-nav/code/react-props.md +++ b/content/components/inpage-nav/code/react-props.md @@ -7,7 +7,7 @@ layout: section #### AUinpageNavLinks | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | title | string | The title above all sections | ariaLabel | string | The aria-label attribute, defaults to "in page navigation" | sections | array | All of the sections in a neat array @@ -22,7 +22,7 @@ All other props are spread into the component #### AUinpageNavSection | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | title | string | The title of the section | link | string | The link of this section, corresponds to the link inside AUinpageNavLinks | level | number | The semantic heading tag level, h1-h6, optional diff --git a/content/components/keyword-list/code/react-props.md b/content/components/keyword-list/code/react-props.md index 339c6fdb3..0bf05273a 100644 --- a/content/components/keyword-list/code/react-props.md +++ b/content/components/keyword-list/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | repeatedName | string | Provide the aria label | items | object | The text That is repeated in each item | linkComponent | string | The component used for the child links, optional diff --git a/content/components/link-list/code/react-props.md b/content/components/link-list/code/react-props.md index e60ed1a4a..e9cbad5d3 100644 --- a/content/components/link-list/code/react-props.md +++ b/content/components/link-list/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | inline | boolean | The inline option to make the list inline | items | object | The link, text and props for each of the breadcrumbs | linkComponent | string | The component used for the child links, optional diff --git a/content/components/main-nav/code/react-props.md b/content/components/main-nav/code/react-props.md index 83987a358..16ecede36 100644 --- a/content/components/main-nav/code/react-props.md +++ b/content/components/main-nav/code/react-props.md @@ -7,7 +7,7 @@ layout: section #### AUmainNav | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | alt | boolean | An alternate variation of the component | dark | boolean | A dark variation of the component @@ -17,7 +17,7 @@ All other props are spread into the component #### AUmainNavContent | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | linkComponent | string | The component used for the child links, optional | ariaLabel | string | The aria-label attribute, defaults to "main navigation" | speed | number | Speed of the animation in ms, optional diff --git a/content/components/page-alerts/code/react-props.md b/content/components/page-alerts/code/react-props.md index 7e920b541..9bd0973a3 100644 --- a/content/components/page-alerts/code/react-props.md +++ b/content/components/page-alerts/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | as | string | One of four kinds: 'info', 'success', 'warning', 'error' | alt | boolean | An alternate variation of the component | dark | boolean | A dark variation of the component diff --git a/content/components/progress-indicator/code/react-props.md b/content/components/progress-indicator/code/react-props.md index d1b661fba..1b1a8cd26 100644 --- a/content/components/progress-indicator/code/react-props.md +++ b/content/components/progress-indicator/code/react-props.md @@ -7,7 +7,7 @@ layout: section `AUprogressIndicatorItem` | Prop name | Type | Description -|------------|-------------------------------------------------------------------------------------- +|------------|-------------------------------------------------------------------------------------- | --- | | link | string | The link URL, If no link is passed we render a button instead of a link tag | linkComponent | string | The component used for the link, optional | text | string | The text of this item @@ -20,7 +20,7 @@ All other props are spread into the component `AUprogressIndicator` | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | dark | boolean | A dark variation of the component | items | object | All items for this progress indicator (see `AUprogressIndicator` for details) | linkComponent | string | The component used for the child links, optional diff --git a/content/components/select/code/react-props.md b/content/components/select/code/react-props.md index 01401ffdf..c325bad18 100644 --- a/content/components/select/code/react-props.md +++ b/content/components/select/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | dark | boolean | A dark variation of the component | block | boolean | The block option to make the select fill the available width | options | array | All options in a neat array diff --git a/content/components/skip-link/code/react-props.md b/content/components/skip-link/code/react-props.md index 8e45575e9..21ad3c2ea 100644 --- a/content/components/skip-link/code/react-props.md +++ b/content/components/skip-link/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | ariaLabel | string | The aria-label attribute, defaults to "side navigation" | links | array | All links inside an array, format: [{ url: '', text: '' },{...},{...}] | links[0].link | string | The href link of this link diff --git a/content/components/tags/code/react-props.md b/content/components/tags/code/react-props.md index 98830cec2..7093cd385 100644 --- a/content/components/tags/code/react-props.md +++ b/content/components/tags/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | dark | boolean | A dark variation of the component | tags | array | All tags inside a neat array | linkComponent | string | The component used for the child links, optional diff --git a/content/components/text-inputs/code/react-props.md b/content/components/text-inputs/code/react-props.md index 1cd0249a4..62f4d7649 100644 --- a/content/components/text-inputs/code/react-props.md +++ b/content/components/text-inputs/code/react-props.md @@ -5,7 +5,7 @@ layout: section ### Props | Prop name | Type | Description -|-----------|--------------------------------------------------------------------------------------- +|-----------|--------------------------------------------------------------------------------------- | --- | | as | string | The kind of input, can be either 'input' or 'textarea', default: 'input' | block | string | Add the block variation class | status | number | Mark this field as either 'valid' or 'invalid'