Skip to content

Commit

Permalink
Rename from pattern-library-v2 to design-system (#225)
Browse files Browse the repository at this point in the history
* Rename from pattern-library-v2 to design-system

* Rename browserstack project
  • Loading branch information
bameyrick authored Feb 22, 2019
1 parent 6a8cad5 commit ae78717
Show file tree
Hide file tree
Showing 39 changed files with 74 additions and 74 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# ONS Design System

[![GitHub release](https://img.shields.io/github/release/ONSdigital/pattern-library-v2.svg)](https://github.com/ONSdigital/pattern-library-v2/releases)
[![Travis tests](https://img.shields.io/travis/ONSdigital/pattern-library-v2.svg)](https://travis-ci.org/ONSdigital/pattern-library-v2)
[![codecov](https://codecov.io/gh/ONSdigital/pattern-library-v2/branch/master/graph/badge.svg)](https://codecov.io/gh/ONSdigital/pattern-library-v2)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2342bc8edef44c17beab2b5fe244d7f1)](https://www.codacy.com/app/bameyrick/pattern-library-v2)
[![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/ONSdigital/pattern-library-v2.svg)](https://github.com/ONSdigital/pattern-library-v2/pulls)
[![Github last commit](https://img.shields.io/github/last-commit/ONSdigital/pattern-library-v2.svg)](https://github.com/ONSdigital/pattern-library-v2/commits)
[![Github contributors](https://img.shields.io/github/contributors/ONSdigital/pattern-library-v2.svg)](https://github.com/ONSdigital/pattern-library-v2/graphs/contributors)
[![GitHub release](https://img.shields.io/github/release/ONSdigital/design-system.svg)](https://github.com/ONSdigital/design-system/releases)
[![Travis tests](https://img.shields.io/travis/ONSdigital/design-system.svg)](https://travis-ci.org/ONSdigital/design-system)
[![codecov](https://codecov.io/gh/ONSdigital/design-system/branch/master/graph/badge.svg)](https://codecov.io/gh/ONSdigital/design-system)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2342bc8edef44c17beab2b5fe244d7f1)](https://www.codacy.com/app/bameyrick/design-system)
[![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/ONSdigital/design-system.svg)](https://github.com/ONSdigital/design-system/pulls)
[![Github last commit](https://img.shields.io/github/last-commit/ONSdigital/design-system.svg)](https://github.com/ONSdigital/design-system/commits)
[![Github contributors](https://img.shields.io/github/contributors/ONSdigital/design-system.svg)](https://github.com/ONSdigital/design-system/graphs/contributors)

## Installing as a dependency

Expand Down Expand Up @@ -69,7 +69,7 @@ yarn test

### Run tests in BrowserStack

All unit tests are automatically cross browser tested in [BrowserStack](https://www.browserstack.com) by [TravisCI](https://travis-ci.org/ONSdigital/pattern-library-v2) when a pull request is created or if a change is pushed to an existing pull request.
All unit tests are automatically cross browser tested in [BrowserStack](https://www.browserstack.com) by [TravisCI](https://travis-ci.org/ONSdigital/design-system) when a pull request is created or if a change is pushed to an existing pull request.

You can also run cross browser testing in BrowserStack manually against your local branch by running this command:

Expand Down
4 changes: 2 additions & 2 deletions src/components/accordion/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Accordions hide content so make sure your section headings are clear so the user
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/81" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/81" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Accordion' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/81)
[Discuss 'Accordion' on GitHub](https://github.com/ONSdigital/design-system/issues/81)
2 changes: 1 addition & 1 deletion src/components/beta-bar/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Ensure you always provide the user with a route back to the page they were on wh
}}

## Design System forum
[Discuss 'Beta bar' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/8)
[Discuss 'Beta bar' on GitHub](https://github.com/ONSdigital/design-system/issues/8)
4 changes: 2 additions & 2 deletions src/components/breadcrumb/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Based uppon [W3 principles](https://w3c.github.io/aria-practices/examples/breadc

{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
<p>If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/43" target="_blank">Design System forum</a>.</p>
<p>If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/43" target="_blank">Design System forum</a>.</p>
{% endcall %}

## Design System forum
[Discuss 'Breadcrumbs' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/43)
[Discuss 'Breadcrumbs' on GitHub](https://github.com/ONSdigital/design-system/issues/43)
4 changes: 2 additions & 2 deletions src/components/button/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ The `btn--loader` class can be added to a button when there is a need to indicat
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/45" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/45" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Button' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/45)
[Discuss 'Button' on GitHub](https://github.com/ONSdigital/design-system/issues/45)
4 changes: 2 additions & 2 deletions src/components/card/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Cards should be used in the main container of the page and not within side bars,
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/48" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/48" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Card' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/48)
[Discuss 'Card' on GitHub](https://github.com/ONSdigital/design-system/issues/48)
2 changes: 1 addition & 1 deletion src/components/checkboxes/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ CSS hides this div until the checkbox is ``:checked``.
}}

## Design System forum
[Discuss 'Checkboxes' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/13)
[Discuss 'Checkboxes' on GitHub](https://github.com/ONSdigital/design-system/issues/13)
2 changes: 1 addition & 1 deletion src/components/date-input/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ Display: 'Enter a 'period to' date later than the 'period from' date.
}}

## Design System forum
[Discuss 'Date input' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/22)
[Discuss 'Date input' on GitHub](https://github.com/ONSdigital/design-system/issues/22)
2 changes: 1 addition & 1 deletion src/components/details/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ Optionally pass event tracking `data` attributes for Google Analytics using `dat
}}

## Design System forum
[Discuss 'Details' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/148)
[Discuss 'Details' on GitHub](https://github.com/ONSdigital/design-system/issues/148)
4 changes: 2 additions & 2 deletions src/components/field/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ The field will render as a `<div>` with the class `field` by default, but if the
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/35" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/35" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Field' on Github](https://github.com/ONSdigital/pattern-library-v2/issues/35)
[Discuss 'Field' on Github](https://github.com/ONSdigital/design-system/issues/35)
4 changes: 2 additions & 2 deletions src/components/footer/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ For badged services where ONS is providing services to external organisations, w
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/172" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/172" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Footer' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/172)
[Discuss 'Footer' on GitHub](https://github.com/ONSdigital/design-system/issues/172)
2 changes: 1 addition & 1 deletion src/components/header/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ An internal service uses the internal header variant with service links and a ma
}}

## Design System forum
[Discuss 'Header' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/160)
[Discuss 'Header' on GitHub](https://github.com/ONSdigital/design-system/issues/160)
4 changes: 2 additions & 2 deletions src/components/input/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Setting the type to `tel` will bring up the correct keypad on touch devices.
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/163" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/163" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Input' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/163)
[Discuss 'Input' on GitHub](https://github.com/ONSdigital/design-system/issues/163)
4 changes: 2 additions & 2 deletions src/components/label/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ This variant is achieved by adding `label--small` to the `classes` option.
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/40" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/40" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Label' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/40)
[Discuss 'Label' on GitHub](https://github.com/ONSdigital/design-system/issues/40)
4 changes: 2 additions & 2 deletions src/components/metadata/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Use the `metadataLabel` to succinctly describe the description list.
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/91" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/91" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Metadata' on Github](https://github.com/ONSdigital/pattern-library-v2/issues/91)
[Discuss 'Metadata' on Github](https://github.com/ONSdigital/design-system/issues/91)
4 changes: 2 additions & 2 deletions src/components/mutually-exclusive/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ You can see examples of this configuration object being used in the _Nunjucks_ t
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this pattern, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/29" target="_blank">Design System forum</a>.
If you have conducted any user research using this pattern, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/29" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum

[Discuss 'Mutually Exclusive' on Github](https://github.com/ONSdigital/pattern-library-v2/issues/29)
[Discuss 'Mutually Exclusive' on Github](https://github.com/ONSdigital/design-system/issues/29)

4 changes: 2 additions & 2 deletions src/components/pagination/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ The range indicator will be hidden on desktop, however it will still show on mob
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/70" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/70" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Pagination' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/70)
[Discuss 'Pagination' on GitHub](https://github.com/ONSdigital/design-system/issues/70)
4 changes: 2 additions & 2 deletions src/components/panel/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ The spacious variant can be used on all inline variants.
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/49" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/49" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Panel' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/49)
[Discuss 'Panel' on GitHub](https://github.com/ONSdigital/design-system/issues/49)
4 changes: 2 additions & 2 deletions src/components/password/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The `<input>` and `<label>` is separated by a [checkbox component](/components/c
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/141" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/141" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'password' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/141)
[Discuss 'password' on GitHub](https://github.com/ONSdigital/design-system/issues/141)
4 changes: 2 additions & 2 deletions src/components/radios/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ CSS hides this div until the radio is ``:checked``.
{% from "components/panel/_macro.njk" import onsPanel %}
{{
onsPanel({
"body": "If you have conducted any user research using this component, please feed back your findings via the <a href='https://github.com/ONSdigital/pattern-library-v2/issues/56'>Design System Forum.</a>"
"body": "If you have conducted any user research using this component, please feed back your findings via the <a href='https://github.com/ONSdigital/design-system/issues/56'>Design System Forum.</a>"
})
}}

## Design System forum
[Discuss 'Radios' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/56)
[Discuss 'Radios' on GitHub](https://github.com/ONSdigital/design-system/issues/56)
4 changes: 2 additions & 2 deletions src/components/section-navigation/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ This component can be implemented with main navigation in the [Header](/componen
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/174" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/174" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Section navigation' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/174)
[Discuss 'Section navigation' on GitHub](https://github.com/ONSdigital/design-system/issues/174)
4 changes: 2 additions & 2 deletions src/components/select/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Because the expanded list cannot be styled, this may cause usability issues wher
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/50" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/50" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Select' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/50)
[Discuss 'Select' on GitHub](https://github.com/ONSdigital/design-system/issues/50)
4 changes: 2 additions & 2 deletions src/components/skip-to-content/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ It should be the first element of the page content, and link to the page's `#mai
{% from "components/panel/_macro.njk" import onsPanel %}
{{
onsPanel({
"body": "If you have conducted any user research using this component, please feed back your findings via the <a href='https://github.com/ONSdigital/pattern-library-v2/issues/59'>Design System Forum.</a>"
"body": "If you have conducted any user research using this component, please feed back your findings via the <a href='https://github.com/ONSdigital/design-system/issues/59'>Design System Forum.</a>"
})
}}

## Design System forum
[Discuss 'Skip to content' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/59)
[Discuss 'Skip to content' on GitHub](https://github.com/ONSdigital/design-system/issues/59)
4 changes: 2 additions & 2 deletions src/components/status/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Each status 'dot' has a small variant which is applied by adding a `<status type
## Research on this component
{% from "components/panel/_macro.njk" import onsPanel %}
{% call onsPanel() %}
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/pattern-library-v2/issues/77" target="_blank">Design System forum</a>.
If you have conducted any user research using this component, please feed back your findings via the <a href="https://github.com/ONSdigital/design-system/issues/77" target="_blank">Design System forum</a>.
{% endcall %}

## Design System forum
[Discuss 'Status' on GitHub](https://github.com/ONSdigital/pattern-library-v2/issues/77)
[Discuss 'Status' on GitHub](https://github.com/ONSdigital/design-system/issues/77)
Loading

0 comments on commit ae78717

Please sign in to comment.