@moduk/frontend 0.3.7 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,5 +7,5 @@
7
7
  isPageHeading: true
8
8
  },
9
9
  id: "default",
10
- name: "event-name"
10
+ name: "event-name-default"
11
11
  }) }}
@@ -5,5 +5,5 @@
5
5
  text: "What is the name of the event?"
6
6
  },
7
7
  id: "with-not-as-page-heading",
8
- name: "event-name"
8
+ name: "event-name-with-not-as-page-heading"
9
9
  }) }}
@@ -7,7 +7,7 @@
7
7
  isPageHeading: true
8
8
  },
9
9
  id: "with-error",
10
- name: "event-name",
10
+ name: "event-name-with-error",
11
11
  hint: {
12
12
  text: "The name you’ll use on promotional material"
13
13
  },
@@ -10,5 +10,5 @@
10
10
  text: "The name you’ll use on promotional material"
11
11
  },
12
12
  id: "with-hint",
13
- name: "event-name"
13
+ name: "event-name-with-hint"
14
14
  }) }}
@@ -11,7 +11,7 @@
11
11
  text: "Must be between 6 and 8 digits long"
12
12
  },
13
13
  id: "with-numeric",
14
- name: "account-number",
14
+ name: "account-number-with-numeric",
15
15
  inputmode: "numeric",
16
16
  spellcheck: false
17
17
  }) }}
@@ -2,7 +2,7 @@
2
2
 
3
3
  {{ modukInput({
4
4
  id: "with-prefix-and-suffix-error",
5
- name: "cost-per-item",
5
+ name: "cost-per-item-with-prefix-and-suffix-error",
6
6
  label: {
7
7
  text: "What is the cost per item, in pounds?",
8
8
  classes: "govuk-label--l",
@@ -2,7 +2,7 @@
2
2
 
3
3
  {{ modukInput({
4
4
  id: "with-prefix-and-suffix",
5
- name: "cost-per-item",
5
+ name: "cost-per-item-with-prefix-and-suffix",
6
6
  label: {
7
7
  text: "What is the cost per item, in pounds?",
8
8
  classes: "govuk-label--l",
@@ -2,7 +2,7 @@
2
2
 
3
3
  {{ modukInput({
4
4
  id: "with-prefix",
5
- name: "cost",
5
+ name: "cost-with-prefix",
6
6
  label: {
7
7
  text: "What is the cost in pounds?",
8
8
  classes: "govuk-label--l",
@@ -2,7 +2,7 @@
2
2
 
3
3
  {{ modukInput({
4
4
  id: "with-suffix",
5
- name: "weight",
5
+ name: "weight-with-suffix",
6
6
  label: {
7
7
  text: "What is the weight in kilograms?",
8
8
  classes: "govuk-label--l",
@@ -0,0 +1,12 @@
1
+ {%- from "moduk/components/pagination/macro.njk" import modukPagination -%}
2
+
3
+ {{- modukPagination({
4
+ previous: {
5
+ labelText: "Understanding military personnel",
6
+ href: "#"
7
+ },
8
+ next: {
9
+ labelText: "Find user research participants across Defence",
10
+ href: "#"
11
+ }
12
+ }) -}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moduk/frontend",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "description": "The MOD.UK Frontend contains the code you need to start building a user interface for Ministry of Defence platforms and services.",
5
5
  "main": "dist/lib/index.js",
6
6
  "sass": "src/css/index.scss",