Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Resolved numerous broken markdown tables in #code componet section
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam A. Zerella committed Mar 28, 2019
1 parent c8a767d commit 56fcac1
Show file tree
Hide file tree
Showing 23 changed files with 73 additions and 69 deletions.
66 changes: 33 additions & 33 deletions content/_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
'@gov.au/skip-link': 23630
'@gov.au/tags': 18126
'@gov.au/text-inputs': 24894
stars: 532
12 changes: 8 additions & 4 deletions content/components/_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ cards:
usable: done
consistent: done
versatile: done
coded: doing
coded: todo
tested: todo
considered: todo
order: 10
Expand Down Expand Up @@ -1522,7 +1522,7 @@ table:
usable: done
consistent: done
versatile: done
coded: doing
coded: todo
tested: todo
considered: todo
order: 10
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/components/accordion/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/breadcrumbs/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/buttons/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions content/components/callout/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/components/control-input/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/cta-link/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/direction-links/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/components/footer/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
8 changes: 4 additions & 4 deletions content/components/grid-12/code/sass-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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
Expand All @@ -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
Expand All @@ -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


Expand Down
4 changes: 2 additions & 2 deletions content/components/header/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/headings/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions content/components/inpage-nav/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/keyword-list/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/link-list/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/components/main-nav/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/page-alerts/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/components/progress-indicator/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/select/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/skip-link/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/tags/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/components/text-inputs/code/react-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 56fcac1

Please sign in to comment.