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

WIP: pagination component #890

Open
wants to merge 35 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
43d4006
wip pagination work
Oct 2, 2019
6fd8f6d
changes
Oct 22, 2019
a844a71
adding pagination test data
Oct 22, 2019
4bd0e8e
add pagination
Oct 27, 2019
7926fc2
add link-list dependencies
Oct 27, 2019
cb54631
set aria label attribute
Oct 28, 2019
22d3b6b
add disabled option
Oct 28, 2019
7d2cbf0
add onChange, populate test array
Oct 28, 2019
8448b8a
changing pagination to be stateful
Oct 28, 2019
cb4f392
updating pagination constructor
Oct 28, 2019
2e194f1
add disabled states to pagination
Oct 30, 2019
b4dd1d9
adding disabled and onClick events to pagination
Nov 4, 2019
f08a8fe
add pagination styling
Nov 11, 2019
58c4f3a
add html example of pagination
Nov 11, 2019
8f311ca
remove unnecessary props
Nov 11, 2019
02076f5
remove zero
Nov 11, 2019
0983535
fix a11y errors
Nov 11, 2019
fe8985f
code cleanup
Nov 25, 2019
7df6cc6
formatting in pagination
Nov 25, 2019
5ba4ce9
adding comments
Nov 25, 2019
9c26952
adding more comments
Nov 25, 2019
80eebdb
fixing some spacing
Nov 25, 2019
b2e0ebe
tidy up css and comments
Nov 25, 2019
49550a2
adding comments and updating scss
Nov 25, 2019
6b5ea09
fix up code formatting
Dec 1, 2019
b364b99
possible pagination summary
Dec 2, 2019
680c131
update html tests markup for pagination
Dec 2, 2019
786ff95
add margin to pagination
Dec 2, 2019
6ea0b9b
fix failed tests in pagination
Dec 2, 2019
0620078
add alignment prop to pagination
Dec 2, 2019
a5b2758
updating css for pagination
Dec 11, 2019
e8541dd
remove unnecessary
Dec 12, 2019
de6b538
removed files fixed package json for pagination
Dec 12, 2019
7f82ee1
removing unneeded stuff
Dec 17, 2019
6424e5e
remove unneeded code
Dec 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,24 @@ All components have to work on the below browsers:
----------
</details>

<details>
<summary>@gov.au/pagination</summary>
<br><code>npm install @gov.au/pagination</code><br>
<br>See the <a href="https://auds.service.gov.au/packages/pagination/tests/site/">visual test file for pagination</a>
<br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/pagination/README.md">readme file for pagination</a><br><br>
Dependencies:
<br>

```shell
├─ core
└─ link-list
├─ core
└─ body
└─ core
```
----------
</details>

<details>
<summary>@gov.au/progress-indicator</summary>
<br><code>npm install @gov.au/progress-indicator</code><br>
Expand Down
2 changes: 1 addition & 1 deletion auds.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/control-input/tests/react/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ ReactDOM.render(
{
label: 'Phone',
value: 'phone',
name: 'names',
id: 'cb-phone',
},
{
Expand Down
34 changes: 34 additions & 0 deletions packages/pagination/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@gov.au/pagination CHANGELOG
======================

> Part of the [gov.au components](https://github.com/govau/design-system-components/) ecosystem.


## Contents

* [Versions](#install)
* [Release History](#release-history)


----------------------------------------------------------------------------------------------------------------------------------------------------------------


## Versions

* [v0.1.0 - 💥 Initial version](#v010)


----------------------------------------------------------------------------------------------------------------------------------------------------------------


## Release History

### v0.1.0

- 💥 Initial version


**[⬆ back to top](#contents)**


# };
21 changes: 21 additions & 0 deletions packages/pagination/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Commonwealth of Australia

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
86 changes: 86 additions & 0 deletions packages/pagination/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
@gov.au/pagination
============

> Pagination allows large amounts of content to be separated into multiple pages.


## Contents

* [Install](#install)
* [Dependency graph](#dependency-graph)
* [Tests](#tests)
* [Release History](#release-history)
* [License](#license)


----------------------------------------------------------------------------------------------------------------------------------------------------------------


## Install


```shell
yarn add @gov.au/pagination
```

```shell
npm install @gov.au/pagination
```


**[⬆ back to top](#contents)**


----------------------------------------------------------------------------------------------------------------------------------------------------------------


## Dependency graph

```shell
pagination
├─ core
└─ link-list
├─ core
└─ body
└─ core
```


**[⬆ back to top](#contents)**


----------------------------------------------------------------------------------------------------------------------------------------------------------------


## Tests

The visual test: https://auds.service.gov.au/packages/pagination/tests/site/


**[⬆ back to top](#contents)**


----------------------------------------------------------------------------------------------------------------------------------------------------------------


## Release History

* v0.1.0 - 💥 Initial version


**[⬆ back to top](#contents)**


----------------------------------------------------------------------------------------------------------------------------------------------------------------


## License

Copyright (c) Commonwealth of Australia.
Licensed under [MIT](https://raw.githubusercontent.com/govau/design-system-components/packages/core/master/LICENSE).


**[⬆ back to top](#contents)**

# };

Loading