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

Commit 56fcac1

Browse files
author
Adam A. Zerella
committed
Resolved numerous broken markdown tables in #code componet section
1 parent c8a767d commit 56fcac1

File tree

23 files changed

+73
-69
lines changed

23 files changed

+73
-69
lines changed

content/_data.yml

+33-33
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@
22
# THE `pancake` and `auds` FIELDS WILL BE OVERWRITTEN
33

44
pancake:
5-
downloads: 193897
5+
downloads: 193820
66
modules:
7-
'@gov.au/pancake': 43477
8-
'@gov.au/pancake-js': 29515
9-
'@gov.au/pancake-json': 36417
10-
'@gov.au/pancake-react': 35821
11-
'@gov.au/pancake-sass': 47486
12-
'@gov.au/syrup': 1181
7+
'@gov.au/pancake': 43457
8+
'@gov.au/pancake-js': 29505
9+
'@gov.au/pancake-json': 36416
10+
'@gov.au/pancake-react': 35801
11+
'@gov.au/pancake-sass': 47466
12+
'@gov.au/syrup': 1175
1313
stars: 81
1414
auds:
15-
downloads: 512126
15+
downloads: 511422
1616
modules:
17-
'@gov.au/accordion': 26904
18-
'@gov.au/animate': 26005
19-
'@gov.au/body': 30324
20-
'@gov.au/breadcrumbs': 19113
21-
'@gov.au/buttons': 28654
22-
'@gov.au/callout': 12088
23-
'@gov.au/control-input': 14696
24-
'@gov.au/core': 33670
25-
'@gov.au/cta-link': 22888
26-
'@gov.au/direction-links': 11485
27-
'@gov.au/footer': 26175
28-
'@gov.au/grid-12': 27280
29-
'@gov.au/header': 23456
30-
'@gov.au/headings': 16500
31-
'@gov.au/inpage-nav': 13350
32-
'@gov.au/keyword-list': 8750
33-
'@gov.au/link-list': 27113
17+
'@gov.au/accordion': 26874
18+
'@gov.au/animate': 25995
19+
'@gov.au/body': 30285
20+
'@gov.au/breadcrumbs': 19092
21+
'@gov.au/buttons': 28610
22+
'@gov.au/callout': 12058
23+
'@gov.au/control-input': 14662
24+
'@gov.au/core': 33648
25+
'@gov.au/cta-link': 22857
26+
'@gov.au/direction-links': 11457
27+
'@gov.au/footer': 26134
28+
'@gov.au/grid-12': 27241
29+
'@gov.au/header': 23421
30+
'@gov.au/headings': 16469
31+
'@gov.au/inpage-nav': 13324
32+
'@gov.au/keyword-list': 8728
33+
'@gov.au/link-list': 27080
3434
'@gov.au/main-nav': 5353
35-
'@gov.au/page-alerts': 21917
36-
'@gov.au/progress-indicator': 10494
37-
'@gov.au/responsive-media': 12570
38-
'@gov.au/select': 20251
35+
'@gov.au/page-alerts': 21887
36+
'@gov.au/progress-indicator': 10470
37+
'@gov.au/responsive-media': 12543
38+
'@gov.au/select': 20229
3939
'@gov.au/side-nav': 6355
40-
'@gov.au/skip-link': 23652
41-
'@gov.au/tags': 18149
42-
'@gov.au/text-inputs': 24934
43-
stars: 531
40+
'@gov.au/skip-link': 23630
41+
'@gov.au/tags': 18126
42+
'@gov.au/text-inputs': 24894
43+
stars: 532

content/components/_all.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ cards:
14531453
usable: done
14541454
consistent: done
14551455
versatile: done
1456-
coded: doing
1456+
coded: todo
14571457
tested: todo
14581458
considered: todo
14591459
order: 10
@@ -1522,7 +1522,7 @@ table:
15221522
usable: done
15231523
consistent: done
15241524
versatile: done
1525-
coded: doing
1525+
coded: todo
15261526
tested: todo
15271527
considered: todo
15281528
order: 10
@@ -1539,7 +1539,8 @@ table:
15391539
hasReact: true # <-- auto generated, don't change
15401540
form:
15411541
name: Form
1542-
description: 'A collection of styles for labels, hint text, inline error messages, fieldsets and spacing for form controls.'
1542+
description: 'A collection of styles for labels, hint text, inline error messages,
1543+
fieldsets and spacing for form controls.'
15431544
metatags:
15441545
- forms
15451546
- interactive
@@ -1565,7 +1566,10 @@ form:
15651566
- name: Andrew Arch
15661567
img: andrew-arch.jpg
15671568
url: 'https://github.com/AndrewArch'
1568-
state: inprogress
1569+
- name: Adam Zerella
1570+
img: adam-zerella.jpg
1571+
url: 'https://github.com/adamzerella'
1572+
state: published
15691573
status:
15701574
usable: done
15711575
consistent: todo

content/components/accordion/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ layout: section
44

55
### Props
66

7-
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
7+
| Prop name | Type | Description
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| header | string | The headline of the accordion
1010
| closed | boolean | Closed state, optional
1111
| speed | number | Speed of the animation in ms, optional

content/components/breadcrumbs/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| label | string | Provide the aria label
1010
| items | object | The link, text and props for each of the breadcrumbs
1111
| linkComponent | string | The component used for the child links, optional

content/components/buttons/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| link | string | If an `link` is set the button will render as a link
1010
| linkComponent | string | The component used for the link, optional
1111
| as | string | The kind of button, `secondary`,`tertiary`

content/components/callout/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: section
77
#### Callout
88

99
| Prop name | Type | Description
10-
|-----------|---------------------------------------------------------------------------------------
10+
|-----------|--------------------------------------------------------------------------------------- | --- |
1111
| title | string | Title of the callout
1212
| dark | boolean | A dark variation of the component
1313
| srOnlyTitle | boolean | Make title screen reader visible
@@ -19,7 +19,7 @@ All other props are spread into the component
1919
#### Callout Calendar
2020

2121
| Prop name | Type | Description
22-
|-----------|---------------------------------------------------------------------------------------
22+
|-----------|--------------------------------------------------------------------------------------- | --- |
2323
| title | string | Title of the callout
2424
| datetime | string | The date time string
2525
| time | string | The same date but human readable

content/components/control-input/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: section
77
#### Radio
88

99
| Prop name | Type | Description
10-
|-----------|---------------------------------------------------------------------------------------
10+
|-----------|--------------------------------------------------------------------------------------- | --- |
1111
| label | string | The label of the radio button
1212
| alt | boolean | An alternate variation of the component
1313
| small | boolean | The small variation of the component
@@ -19,7 +19,7 @@ All other props are spread into the component
1919
#### Checkbox
2020

2121
| Prop name | Type | Description
22-
|-----------|---------------------------------------------------------------------------------------
22+
|-----------|--------------------------------------------------------------------------------------- | --- |
2323
| label | string | The label of the checkbox button
2424
| alt | boolean | An alternate variation of the component
2525
| small | boolean | The small variation of the component

content/components/cta-link/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| text | string | Provide the aria label
1010
| link | string | The link to the location of the cta-link
1111
| linkComponent | string | The component used for the link, optional

content/components/direction-links/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| text | string | The text of the link
1010
| link | string | The href link, optional
1111
| linkComponent | string | The component used for the link, optional

content/components/footer/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: section
77
#### AUfooter
88

99
| Prop name | Type | Description
10-
|-----------|---------------------------------------------------------------------------------------
10+
|-----------|--------------------------------------------------------------------------------------- | --- |
1111
| alt | boolean | A alternate variation of the component
1212
| dark | boolean | A dark variation of the component
1313

@@ -16,7 +16,7 @@ All other props are spread into the component
1616
#### AUfooterNav
1717

1818
| Prop name | Type | Description
19-
|-----------|---------------------------------------------------------------------------------------
19+
|-----------|--------------------------------------------------------------------------------------- | --- |
2020
| ariaLabel | string | The aria-label attribute, defaults to "footer navigation"
2121

2222
All other props are spread into the component

content/components/grid-12/code/sass-usage.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Iterates through the columns to create a new list and then sets the float.
2222
### Props
2323

2424
| Prop name | Type | Description
25-
|-----------|---------------------------------------------------------------------------------------
25+
|-----------|--------------------------------------------------------------------------------------- | --- |
2626
| `class` | string | The class to iterate and set the float against
2727

2828

@@ -41,7 +41,7 @@ Calculates the correct widths as a percentage based on the column count, column
4141
### Props
4242

4343
| Prop name | Type | Description
44-
|-----------|---------------------------------------------------------------------------------------
44+
|-----------|--------------------------------------------------------------------------------------- | --- |
4545
| `i` | number | The current column 1-12
4646
| `class` | string | The current class xs, sm, md, lg
4747
| `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.
6262
### Props
6363

6464
| Prop name | Type | Description
65-
|-----------|---------------------------------------------------------------------------------------
65+
|-----------|--------------------------------------------------------------------------------------- | --- |
6666
| `columns` | number | Total number of columns
6767
| `class` | string | The current class xs, sm, md, lg
6868
| `type` | string | The type of styles to be applied
@@ -82,7 +82,7 @@ Create the grid and all the necessary classes.
8282
### Props
8383

8484
| Prop name | Type | Description
85-
|-----------|---------------------------------------------------------------------------------------
85+
|-----------|--------------------------------------------------------------------------------------- | --- |
8686
| `class` | string | The current class xs, sm, md, lg
8787

8888

content/components/header/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: section
77
#### AUheader
88

99
| Prop name | Type | Description
10-
|-----------|---------------------------------------------------------------------------------------
10+
|-----------|--------------------------------------------------------------------------------------- | --- |
1111
| hero | boolean | The hero option that provides larger whitespace
1212
| alt | boolean | An alternate variation of the component
1313
| dark | boolean | A dark variation of the component
@@ -18,7 +18,7 @@ All other props are spread into the component
1818
#### AUheaderBrand
1919

2020
| Prop name | Type | Description
21-
|-----------|---------------------------------------------------------------------------------------
21+
|-----------|--------------------------------------------------------------------------------------- | --- |
2222
| hero | boolean | The hero option that provides larger whitespace
2323
| alt | boolean | An alternate variation of the component
2424
| dark | boolean | A dark variation of the component

content/components/headings/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| size | string | The display size, 'xs', 'sm', 'md', 'lg', 'xl', 'xxl', 'xxxl'
1010
| level | string | The semantic headline tag level, h1-h6
1111

content/components/inpage-nav/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: section
77
#### AUinpageNavLinks
88

99
| Prop name | Type | Description
10-
|-----------|---------------------------------------------------------------------------------------
10+
|-----------|--------------------------------------------------------------------------------------- | --- |
1111
| title | string | The title above all sections
1212
| ariaLabel | string | The aria-label attribute, defaults to "in page navigation"
1313
| sections | array | All of the sections in a neat array
@@ -22,7 +22,7 @@ All other props are spread into the component
2222
#### AUinpageNavSection
2323

2424
| Prop name | Type | Description
25-
|-----------|---------------------------------------------------------------------------------------
25+
|-----------|--------------------------------------------------------------------------------------- | --- |
2626
| title | string | The title of the section
2727
| link | string | The link of this section, corresponds to the link inside AUinpageNavLinks
2828
| level | number | The semantic heading tag level, h1-h6, optional

content/components/keyword-list/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| repeatedName | string | Provide the aria label
1010
| items | object | The text That is repeated in each item
1111
| linkComponent | string | The component used for the child links, optional

content/components/link-list/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| inline | boolean | The inline option to make the list inline
1010
| items | object | The link, text and props for each of the breadcrumbs
1111
| linkComponent | string | The component used for the child links, optional

content/components/main-nav/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: section
77
#### AUmainNav
88

99
| Prop name | Type | Description
10-
|-----------|---------------------------------------------------------------------------------------
10+
|-----------|--------------------------------------------------------------------------------------- | --- |
1111
| alt | boolean | An alternate variation of the component
1212
| dark | boolean | A dark variation of the component
1313

@@ -17,7 +17,7 @@ All other props are spread into the component
1717
#### AUmainNavContent
1818

1919
| Prop name | Type | Description
20-
|-----------|---------------------------------------------------------------------------------------
20+
|-----------|--------------------------------------------------------------------------------------- | --- |
2121
| linkComponent | string | The component used for the child links, optional
2222
| ariaLabel | string | The aria-label attribute, defaults to "main navigation"
2323
| speed | number | Speed of the animation in ms, optional

content/components/page-alerts/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| as | string | One of four kinds: 'info', 'success', 'warning', 'error'
1010
| alt | boolean | An alternate variation of the component
1111
| dark | boolean | A dark variation of the component

content/components/progress-indicator/code/react-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: section
77
`AUprogressIndicatorItem`
88

99
| Prop name | Type | Description
10-
|------------|--------------------------------------------------------------------------------------
10+
|------------|-------------------------------------------------------------------------------------- | --- |
1111
| link | string | The link URL, If no link is passed we render a button instead of a link tag
1212
| linkComponent | string | The component used for the link, optional
1313
| text | string | The text of this item
@@ -20,7 +20,7 @@ All other props are spread into the component
2020
`AUprogressIndicator`
2121

2222
| Prop name | Type | Description
23-
|-----------|---------------------------------------------------------------------------------------
23+
|-----------|--------------------------------------------------------------------------------------- | --- |
2424
| dark | boolean | A dark variation of the component
2525
| items | object | All items for this progress indicator (see `AUprogressIndicator` for details)
2626
| linkComponent | string | The component used for the child links, optional

content/components/select/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| dark | boolean | A dark variation of the component
1010
| block | boolean | The block option to make the select fill the available width
1111
| options | array | All options in a neat array

content/components/skip-link/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| ariaLabel | string | The aria-label attribute, defaults to "side navigation"
1010
| links | array | All links inside an array, format: [{ url: '', text: '' },{...},{...}]
1111
| links[0].link | string | The href link of this link

content/components/tags/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| dark | boolean | A dark variation of the component
1010
| tags | array | All tags inside a neat array
1111
| linkComponent | string | The component used for the child links, optional

content/components/text-inputs/code/react-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55
### Props
66

77
| Prop name | Type | Description
8-
|-----------|---------------------------------------------------------------------------------------
8+
|-----------|--------------------------------------------------------------------------------------- | --- |
99
| as | string | The kind of input, can be either 'input' or 'textarea', default: 'input'
1010
| block | string | Add the block variation class
1111
| status | number | Mark this field as either 'valid' or 'invalid'

0 commit comments

Comments
 (0)