@ons/design-system 67.0.4 → 67.0.6

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.
@@ -58,28 +58,25 @@ layout: ~
58
58
  "classes": "ons-u-mb-xl"
59
59
  }) }}
60
60
 
61
- <h2>If you don’t have an access code</h2>
61
+ <h2>If you do not have an access code</h2>
62
62
  <p>
63
- You can <a href="#0">request a new access code</a> to start a new study if you have lost or not received an access code. This can be sent to you by text or post.
63
+ If you have lost or not received an access code, you can <a href="#0">request a new access code</a>.
64
+ This can be sent to you by text or post.
64
65
  </p>
65
66
 
66
67
  {% set content %}
67
- <p>If you need to answer separately from the people you live with, you can <a href='#0'>request an individual access code</a> to start a separate study.</p>
68
+ <p>If you need to answer separately from the people you live with, you can <a href="#0">request an individual access code</a>.</p>
68
69
  {% call onsPanel({
69
70
  "type": "warn"
70
71
  })
71
72
  %}
72
- Someone in your household must still complete a study using a household access code
73
+ Someone in your household must still complete a study using this household access code
73
74
  {% endcall %}
74
75
  {% endset %}
75
76
 
76
77
  {% call onsDetails({
77
78
  "id": "details-access-code-error",
78
- "title": "Need to answer separately from your household?",
79
- "button": {
80
- "close": "Hide this",
81
- "contextSuffix": "content"
82
- }
79
+ "title": "Need to answer separately from your household?"
83
80
  })
84
81
  %}
85
82
  {{ content | safe }}
@@ -34,28 +34,25 @@ layout: ~
34
34
  "classes": "ons-u-mb-xl"
35
35
  }) }}
36
36
 
37
- <h2>If you don’t have an access code</h2>
37
+ <h2>If you do not have an access code</h2>
38
38
  <p>
39
- You can <a href="#0">request a new access code</a> to start a new study if you have lost or not received an access code. This can be sent to you by text or post.
39
+ If you have lost or not received an access code, you can <a href="#0">request a new access code</a>.
40
+ This can be sent to you by text or post.
40
41
  </p>
41
42
 
42
43
  {% set content %}
43
- <p>If you need to answer separately from the people you live with, you can <a href='#0'>request an individual access code</a> to start a separate study.</p>
44
+ <p>If you need to answer separately from the people you live with, you can <a href="#0">request an individual access code</a>.</p>
44
45
  {% call onsPanel({
45
46
  type: "warn"
46
47
  })
47
48
  %}
48
- Someone in your household must still complete a study using a household access code
49
+ Someone in your household must still complete a study using this household access code
49
50
  {% endcall %}
50
51
  {% endset %}
51
52
 
52
53
  {% call onsDetails({
53
- id: "details",
54
- title: "Need to answer separately from your household?",
55
- button: {
56
- "close": "Hide this",
57
- "contextSuffix": "content"
58
- }
54
+ "id": "details",
55
+ "title": "Need to answer separately from your household?"
59
56
  })
60
57
  %}
61
58
  {{ content | safe }}
@@ -44,11 +44,11 @@ export default class CharLimit {
44
44
 
45
45
  track(remaining) {
46
46
  if (remaining < 1) {
47
- trackEvent('send', {
48
- hitType: 'event',
49
- eventCategory: 'Error',
50
- eventAction: 'Textarea limit reached',
51
- eventLabel: `Limit of ${this.maxLength} reached/exceeded`,
47
+ trackEvent({
48
+ event_type: 'event',
49
+ event_category: 'Error',
50
+ event_action: 'Textarea limit reached',
51
+ event_label: `Limit of ${this.maxLength} reached/exceeded`,
52
52
  });
53
53
  }
54
54
  }
@@ -47,12 +47,14 @@
47
47
  border-left: 4px solid transparent;
48
48
  display: block;
49
49
  margin: 0 0 0.2rem;
50
- &--active {
50
+ &--active,
51
+ &:hover {
51
52
  border-color: var(--ons-color-white);
52
53
  }
53
54
 
54
55
  .ons-navigation--sub-mobile & {
55
- &--active {
56
+ &--active,
57
+ &:hover {
56
58
  border-color: var(--ons-color-branded);
57
59
  li {
58
60
  border: 0;