@qld-gov-au/qgds-bootstrap5 1.0.13 → 1.0.15

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.
Files changed (80) hide show
  1. package/.storybook/main.js +1 -1
  2. package/.storybook/preview.js +8 -0
  3. package/README.md +96 -46
  4. package/dist/assets/css/qld.bootstrap.css +1 -1
  5. package/dist/assets/css/qld.bootstrap.css.map +3 -3
  6. package/dist/assets/js/handlebars.helpers.bundle.js +1 -1
  7. package/dist/assets/js/handlebars.helpers.bundle.js.map +3 -3
  8. package/dist/assets/js/handlebars.helpers.js +4 -8
  9. package/dist/assets/js/qld.bootstrap.min.js +9 -9
  10. package/dist/assets/js/qld.bootstrap.min.js.map +4 -4
  11. package/dist/components/bs5/breadcrumbs/breadcrumbs.hbs +1 -1
  12. package/dist/components/bs5/button/button.hbs +30 -9
  13. package/dist/components/bs5/footer/footer.hbs +98 -112
  14. package/dist/components/bs5/footer/footerForgov.hbs +86 -59
  15. package/dist/components/bs5/header/header.hbs +15 -17
  16. package/dist/components/bs5/navbar/navbar.hbs +1 -1
  17. package/dist/components/bs5/quickexit/quickexit.hbs +28 -20
  18. package/dist/components/bs5/searchInput/searchInput.hbs +9 -3
  19. package/dist/components/handlebars.helpers.js +4 -8
  20. package/dist/components/handlebars.init.bundle.js +1 -1
  21. package/dist/components/handlebars.init.bundle.js.map +3 -3
  22. package/dist/index.html +2 -1
  23. package/dist/sample-data/button/button.data.json +2 -1
  24. package/dist/sample-data/footer/footer.data.json +93 -45
  25. package/dist/sample-data/header/header.data.json +134 -75
  26. package/dist/sample-data/navbar/navbar.data.json +8 -8
  27. package/dist/sample-data/quickexit/quickexit.data.json +8 -1
  28. package/dist/sample-data/searchInput/searchInput.data.json +10 -1
  29. package/package.json +20 -19
  30. package/src/components/bs5/breadcrumbs/breadcrumb.functions.js +71 -32
  31. package/src/components/bs5/breadcrumbs/breadcrumbs.hbs +1 -1
  32. package/src/components/bs5/button/button.data.json +2 -1
  33. package/src/components/bs5/button/button.hbs +30 -9
  34. package/src/components/bs5/button/button.scss +87 -44
  35. package/src/components/bs5/button/button.stories.js +121 -27
  36. package/src/components/bs5/callout/callout.scss +1 -1
  37. package/src/components/bs5/footer/_colours.scss +74 -0
  38. package/src/components/bs5/footer/_measurements.scss +30 -0
  39. package/src/components/bs5/footer/footer.data.json +93 -45
  40. package/src/components/bs5/footer/footer.functions.js +36 -0
  41. package/src/components/bs5/footer/footer.hbs +98 -112
  42. package/src/components/bs5/footer/footer.scss +445 -199
  43. package/src/components/bs5/footer/footer.stories.js +17 -6
  44. package/src/components/bs5/footer/footerForgov.hbs +86 -59
  45. package/src/components/bs5/header/_colours.scss +0 -52
  46. package/src/components/bs5/header/header.data.json +134 -75
  47. package/src/components/bs5/header/header.functions.js +1 -180
  48. package/src/components/bs5/header/header.hbs +15 -17
  49. package/src/components/bs5/header/header.scss +7 -156
  50. package/src/components/bs5/header/header.stories.js +10 -50
  51. package/src/components/bs5/modal/modal.scss +54 -35
  52. package/src/components/bs5/modal/modal.stories.js +2 -2
  53. package/src/components/bs5/navbar/_colours.scss +46 -82
  54. package/src/components/bs5/navbar/navbar.data.json +8 -8
  55. package/src/components/bs5/navbar/navbar.hbs +1 -1
  56. package/src/components/bs5/navbar/navbar.scss +15 -6
  57. package/src/components/bs5/quickexit/_colours.scss +28 -0
  58. package/src/components/bs5/quickexit/quickexit.data.json +8 -1
  59. package/src/components/bs5/quickexit/quickexit.hbs +28 -20
  60. package/src/components/bs5/quickexit/quickexit.scss +236 -156
  61. package/src/components/bs5/quickexit/quickexit.stories.js +35 -13
  62. package/src/components/bs5/searchInput/_colours.scss +63 -0
  63. package/src/components/bs5/searchInput/search.functions.js +170 -0
  64. package/src/components/bs5/searchInput/searchInput.data.json +10 -1
  65. package/src/components/bs5/searchInput/searchInput.hbs +9 -3
  66. package/src/components/bs5/searchInput/searchInput.scss +122 -21
  67. package/src/components/bs5/searchInput/searchInput.stories.js +1 -1
  68. package/src/components/bs5/tag/tag.scss +4 -2
  69. package/src/js/handlebars.helpers.js +4 -8
  70. package/src/main.js +63 -39
  71. package/src/main.scss +6 -3
  72. package/src/scss/qld-print.scss +365 -0
  73. package/src/scss/qld-type.scss +94 -85
  74. package/src/scss/qld-variables.scss +87 -101
  75. package/src/templates/compiled/index.html +2 -1
  76. package/src/templates/index.html +31 -46
  77. package/src/components/common/header/Header.js +0 -11
  78. package/src/components/common/header/header.html +0 -259
  79. package/src/components/common/header/header.scss +0 -118
  80. /package/src/components/bs5/{header/_search.json → searchInput/search.json} +0 -0
package/dist/index.html CHANGED
@@ -329,9 +329,10 @@
329
329
  <a href="#" class="btn btn-outline-secondary">Contact us</a>
330
330
 
331
331
  </div>
332
-
333
332
  </div>
333
+ </div>
334
334
 
335
+ <div class="row">
335
336
  <!-- Section 3: Section links (Custom secondary nav items) -->
336
337
  <div class="col-xs-12 col-lg-2 footer-column border-right" aria-label="footer-navigation">
337
338
  <nav class="nav footer-link-list flex-column">
@@ -3,7 +3,8 @@
3
3
  "islink": true,
4
4
  "isdisabled": false,
5
5
  "iconClass": "fa-solid fa-arrow-up-right-from-square",
6
- "href": "https://google.com",
6
+ "iconPosition": "leading",
7
7
  "label": "Call to action",
8
+ "href": "https://google.com",
8
9
  "target": "_blank"
9
10
  }
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "sitename": "Site name, Namestyle or Name Identifier",
3
+ "contactHasContactList": true,
4
+ "footerHasCrest": true,
5
+ "footerHasStateOfQld": true,
6
+ "feedbackFormEnabled": false,
7
+ "followlinksEnabled": true,
8
+ "copyrightHasYearFrom": false,
9
+ "copyrightOrganisationName": "Organisation",
3
10
  "contact": {
11
+ "hasBorderColumn": false,
4
12
  "title": "Contact us",
5
13
  "content": "<p>Get in touch for enquiries, feedback, complaints and compliments.</p>",
6
14
  "list": [
@@ -16,44 +24,38 @@
16
24
  "buttonLabel": "Contact us",
17
25
  "buttonLink": ""
18
26
  },
19
-
20
- "feedback": {
21
- "title": "Website feedback",
22
- "content": "<p>Help us improve the content on our website or tell us what is working really well.</p>",
23
- "buttonLabel": "Leave your feedback",
24
- "buttonLink": ""
27
+ "lookup": {
28
+ "link": {
29
+ "URL": "https://www.qld.gov.au",
30
+ "text":"Queensland Government"
31
+ }
25
32
  },
26
-
27
33
  "acknowledgements": [
28
34
  {
35
+ "title": "",
29
36
  "content": "<p>Queensland Government acknowledges the Traditional Owners of the land and pays respect to Elders past, present and future.</p>"
30
37
  }
31
38
  ],
32
-
33
39
  "copyright": {
34
- "content": "<p>&copy; The State of Queensland 2024</p>"
35
- },
36
-
37
- "lockup": {
38
- "link": {
39
- "text": "Queensland Government",
40
- "url": "https://www.qld.gov.au"
41
- }
40
+ "hasBorderColumn": true,
41
+ "content": "&copy; The State of Queensland",
42
+ "yearFrom": "1995",
43
+ "currentYear": "2024"
42
44
  },
43
-
44
45
  "footerlinks": {
46
+ "hasBorderColumn": false,
45
47
  "title": "",
46
48
  "list": [
47
49
  {
48
- "title": "About us",
50
+ "title": "Help",
49
51
  "link": "#"
50
52
  },
51
53
  {
52
- "title": "Using our website",
54
+ "title": "Copyright",
53
55
  "link": "#"
54
56
  },
55
57
  {
56
- "title": "Copyright",
58
+ "title": "Disclaimer",
57
59
  "link": "#"
58
60
  },
59
61
  {
@@ -69,7 +71,7 @@
69
71
  "link": "#"
70
72
  },
71
73
  {
72
- "title": "Jobs",
74
+ "title": "Jobs in Queensland <span>Government</span>",
73
75
  "link": "https://smartjobs.qld.gov.au",
74
76
  "target": "_blank"
75
77
  },
@@ -79,32 +81,78 @@
79
81
  }
80
82
  ]
81
83
  },
82
-
84
+ "feedbackForm" : {
85
+ "hasBorderColumn": true,
86
+ "title": "Website feedback",
87
+ "content": "Help us improve the content on our website or tell us what is working really well.",
88
+ "btnTitle": "Leave your feedback",
89
+ "formAttr": [
90
+ {
91
+ "key": "data-formio",
92
+ "value": ""
93
+ },
94
+ {
95
+ "key": "data-formio-project-name",
96
+ "value": "dev-oldkihhcwbdtwye"
97
+ },
98
+ {
99
+ "key": "data-formio-form-name",
100
+ "value": "footerfeedbackcontactus"
101
+ },
102
+ {
103
+ "key": "data-formio-env-url",
104
+ "value": "api.forms.platforms.qld.gov.au"
105
+ },
106
+ {
107
+ "key": "data-formio-createForm-options",
108
+ "value": "formioCreateFormOptions"
109
+ },
110
+ {
111
+ "key": "data-formio-createForm-controller",
112
+ "value": "formioCreateFormController"
113
+ }
114
+ ],
115
+ "formioResource": "https://static.qgov.net.au/formio-qld/v2/v2.x.x-latest/formio-script.min.js"
116
+ },
83
117
  "followlinks": {
118
+ "hasBorderColumn": true,
84
119
  "title": "Follow us",
85
- "facebook": {
86
- "label": "Facebook",
87
- "link": "#",
88
- "target": "_blank"
89
- },
90
- "linkedin": {
91
- "label": "LinkedIn",
92
- "link": "#"
93
- },
94
-
95
- "twitterx": {
96
- "label": "X (Twitter)",
97
- "link": "#"
98
- },
99
-
100
- "youtube": {
101
- "label": "Youtube",
102
- "link": "#"
103
- },
120
+ "list": [
121
+ {
122
+ "name": "Facebook",
123
+ "enabled": true,
124
+ "link": "#",
125
+ "target": "_blank",
126
+ "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 12 21' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M3.85156 20.5H7.52344V11.5547H10.375L10.8438 8H7.52344V5.53906C7.52344 4.99219 7.60156 4.5625 7.83594 4.28906C8.07031 3.97656 8.57812 3.82031 9.28125 3.82031H11.1562V0.65625C10.4531 0.578125 9.51562 0.5 8.42188 0.5C7.01562 0.5 5.92188 0.929688 5.10156 1.75C4.24219 2.57031 3.85156 3.70312 3.85156 5.1875V8H0.84375V11.5547H3.85156V20.5Z'></path></svg>"
127
+ },
128
+ {
129
+ "name": "LinkedIn",
130
+ "enabled": true,
131
+ "link": "#",
132
+ "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 18 19' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M4.15625 18.25V6.57031H0.523438V18.25H4.15625ZM2.35938 4.96875C2.90625 4.96875 3.41406 4.77344 3.84375 4.34375C4.23438 3.95312 4.46875 3.44531 4.46875 2.85938C4.46875 2.3125 4.23438 1.80469 3.84375 1.375C3.41406 0.984375 2.90625 0.75 2.35938 0.75C1.77344 0.75 1.26562 0.984375 0.875 1.375C0.445312 1.80469 0.25 2.3125 0.25 2.85938C0.25 3.44531 0.445312 3.95312 0.875 4.34375C1.26562 4.77344 1.77344 4.96875 2.35938 4.96875ZM17.75 18.25V11.8438C17.75 10.0469 17.4766 8.71875 16.9688 7.85938C16.2656 6.80469 15.0938 6.25781 13.4141 6.25781C12.5547 6.25781 11.8516 6.49219 11.2266 6.88281C10.6406 7.23438 10.2109 7.66406 9.97656 8.17188H9.9375V6.57031H6.46094V18.25H10.0547V12.4688C10.0547 11.5703 10.1719 10.8672 10.4453 10.3984C10.7578 9.77344 11.3438 9.46094 12.2031 9.46094C13.0234 9.46094 13.5703 9.8125 13.8828 10.5156C14.0391 10.9453 14.1172 11.6094 14.1172 12.5469V18.25H17.75Z'></path></svg>"
133
+
134
+ },
135
+ {
136
+ "name": "X (Twitter)",
137
+ "enabled": true,
138
+ "link": "#",
139
+ "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 16 14' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M12.1562 0.5H14.3438L9.53125 6.03125L15.2188 13.5H10.7812L7.28125 8.96875L3.3125 13.5H1.09375L6.25 7.625L0.8125 0.5H5.375L8.5 4.65625L12.1562 0.5ZM11.375 12.1875H12.5938L4.71875 1.75H3.40625L11.375 12.1875Z'></path></svg>"
140
+
141
+ },
142
+ {
143
+ "name": "Youtube",
144
+ "enabled": true,
145
+ "link": "#",
146
+ "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 22 15' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M21.2344 2.34375C21.3906 3.04688 21.5469 4.14062 21.625 5.54688L21.6641 7.5L21.625 9.45312C21.5469 10.9375 21.3906 11.9922 21.2344 12.6953C21.0781 13.1641 20.8438 13.5547 20.5312 13.8672C20.1797 14.2188 19.7891 14.4531 19.3203 14.5703C18.6172 14.7656 17.0547 14.8828 14.5547 14.9609L11 15L7.44531 14.9609C4.94531 14.8828 3.34375 14.7656 2.67969 14.5703C2.21094 14.4531 1.78125 14.2188 1.46875 13.8672C1.11719 13.5547 0.882812 13.1641 0.765625 12.6953C0.570312 11.9922 0.453125 10.9375 0.375 9.45312L0.335938 7.5C0.335938 6.95312 0.335938 6.28906 0.375 5.54688C0.453125 4.14062 0.570312 3.04688 0.765625 2.34375C0.882812 1.875 1.11719 1.48438 1.46875 1.13281C1.78125 0.820312 2.21094 0.585938 2.67969 0.429688C3.34375 0.273438 4.94531 0.117188 7.44531 0.0390625L11 0L14.5547 0.0390625C17.0547 0.117188 18.6172 0.273438 19.3203 0.429688C19.7891 0.585938 20.1797 0.820312 20.5312 1.13281C20.8438 1.48438 21.0781 1.875 21.2344 2.34375ZM8.8125 10.7031L14.3984 7.5L8.8125 4.33594V10.7031Z'></path></svg>"
147
+
148
+ },
149
+ {
150
+ "name": "Instagram",
151
+ "enabled": true,
152
+ "link": "#",
153
+ "icon": "<svg aria-hidden='true' focusable='false' viewBox='0 0 18 19' fill='none' xmlns='http://www.w3.org/2000/svg' role='img'><path d='M9 5.00781C9.78125 5.00781 10.5234 5.24219 11.2266 5.63281C11.9297 6.02344 12.4766 6.57031 12.8672 7.27344C13.2578 7.97656 13.4922 8.71875 13.4922 9.5C13.4922 10.3203 13.2578 11.0625 12.8672 11.7656C12.4766 12.4688 11.9297 13.0156 11.2266 13.4062C10.5234 13.7969 9.78125 13.9922 9 13.9922C8.17969 13.9922 7.4375 13.7969 6.73438 13.4062C6.03125 13.0156 5.48438 12.4688 5.09375 11.7656C4.70312 11.0625 4.50781 10.3203 4.50781 9.5C4.50781 8.71875 4.70312 7.97656 5.09375 7.27344C5.48438 6.57031 6.03125 6.02344 6.73438 5.63281C7.4375 5.24219 8.17969 5.00781 9 5.00781ZM9 12.4297C9.78125 12.4297 10.4844 12.1562 11.0703 11.5703C11.6172 11.0234 11.9297 10.3203 11.9297 9.5C11.9297 8.71875 11.6172 8.01562 11.0703 7.42969C10.4844 6.88281 9.78125 6.57031 9 6.57031C8.17969 6.57031 7.47656 6.88281 6.92969 7.42969C6.34375 8.01562 6.07031 8.71875 6.07031 9.5C6.07031 10.3203 6.34375 11.0234 6.92969 11.5703C7.47656 12.1562 8.17969 12.4297 9 12.4297ZM14.7422 4.8125C14.7422 4.53906 14.625 4.30469 14.4297 4.07031C14.1953 3.875 13.9609 3.75781 13.6875 3.75781C13.375 3.75781 13.1406 3.875 12.9453 4.07031C12.7109 4.30469 12.6328 4.53906 12.6328 4.8125C12.6328 5.125 12.7109 5.35938 12.9453 5.55469C13.1406 5.78906 13.375 5.86719 13.6875 5.86719C13.9609 5.86719 14.1953 5.78906 14.3906 5.55469C14.5859 5.35938 14.7031 5.125 14.7422 4.8125ZM17.7109 5.86719C17.7109 6.60938 17.75 7.82031 17.75 9.5C17.75 11.2188 17.7109 12.4297 17.6719 13.1719C17.6328 13.9141 17.5156 14.5391 17.3594 15.0859C17.125 15.75 16.7344 16.3359 16.2656 16.8047C15.7969 17.2734 15.2109 17.625 14.5859 17.8594C14.0391 18.0547 13.375 18.1719 12.6328 18.2109C11.8906 18.25 10.6797 18.25 9 18.25C7.28125 18.25 6.07031 18.25 5.32812 18.2109C4.58594 18.1719 3.96094 18.0547 3.41406 17.8203C2.75 17.625 2.16406 17.2734 1.69531 16.8047C1.22656 16.3359 0.875 15.75 0.640625 15.0859C0.445312 14.5391 0.328125 13.9141 0.289062 13.1719C0.25 12.4297 0.25 11.2188 0.25 9.5C0.25 7.82031 0.25 6.60938 0.289062 5.86719C0.328125 5.125 0.445312 4.46094 0.640625 3.91406C0.875 3.28906 1.22656 2.70312 1.69531 2.23438C2.16406 1.76562 2.75 1.375 3.41406 1.14062C3.96094 0.984375 4.58594 0.867188 5.32812 0.828125C6.07031 0.789062 7.28125 0.75 9 0.75C10.6797 0.75 11.8906 0.789062 12.6328 0.828125C13.375 0.867188 14.0391 0.984375 14.5859 1.14062C15.2109 1.375 15.7969 1.76562 16.2656 2.23438C16.7344 2.70312 17.125 3.28906 17.3594 3.91406C17.5156 4.46094 17.6328 5.125 17.7109 5.86719ZM15.8359 14.6562C15.9922 14.2266 16.0703 13.5234 16.1484 12.5469C16.1484 12 16.1875 11.1797 16.1875 10.125V8.875C16.1875 7.82031 16.1484 7 16.1484 6.45312C16.0703 5.47656 15.9922 4.77344 15.8359 4.34375C15.5234 3.5625 14.9375 2.97656 14.1562 2.66406C13.7266 2.50781 13.0234 2.42969 12.0469 2.35156C11.4609 2.35156 10.6406 2.3125 9.625 2.3125H8.375C7.32031 2.3125 6.5 2.35156 5.95312 2.35156C4.97656 2.42969 4.27344 2.50781 3.84375 2.66406C3.02344 2.97656 2.47656 3.5625 2.16406 4.34375C2.00781 4.77344 1.89062 5.47656 1.85156 6.45312C1.8125 7.03906 1.8125 7.85938 1.8125 8.875V10.125C1.8125 11.1797 1.8125 12 1.85156 12.5469C1.89062 13.5234 2.00781 14.2266 2.16406 14.6562C2.47656 15.4766 3.0625 16.0234 3.84375 16.3359C4.27344 16.4922 4.97656 16.6094 5.95312 16.6484C6.5 16.6875 7.32031 16.6875 8.375 16.6875H9.625C10.6797 16.6875 11.5 16.6875 12.0469 16.6484C13.0234 16.6094 13.7266 16.4922 14.1562 16.3359C14.9375 16.0234 15.5234 15.4375 15.8359 14.6562Z'></path></svg>"
154
+ }
104
155
 
105
- "instagram": {
106
- "label": "Instagram",
107
- "link": "#"
108
- }
156
+ ]
109
157
  }
110
158
  }
@@ -4,7 +4,8 @@
4
4
  "icons": {
5
5
  "menu-icon": "qld__icon__mobile-menu",
6
6
  "search-icon": "qld__icon__search",
7
- "close-icon": "qld__icon__close"
7
+ "close-icon": "qld__icon__close",
8
+ "chevron_down": "qld__icon__chevron-down"
8
9
  },
9
10
  "sitePreHeader": {
10
11
  "url": {
@@ -19,9 +20,6 @@
19
20
  "url": {
20
21
  "value": "#"
21
22
  },
22
- "icon": {
23
- "value": "ctaIcon"
24
- },
25
23
  "text": {
26
24
  "value": "For Queenslanders"
27
25
  },
@@ -77,9 +75,6 @@
77
75
  "url": {
78
76
  "value": "#"
79
77
  },
80
- "icon": {
81
- "value": "ctaIcon"
82
- },
83
78
  "text": {
84
79
  "value": "Business and Industry"
85
80
  },
@@ -135,9 +130,6 @@
135
130
  "url": {
136
131
  "value": "#"
137
132
  },
138
- "icon": {
139
- "value": "ctaIcon"
140
- },
141
133
  "text": {
142
134
  "value": "Login"
143
135
  },
@@ -194,7 +186,8 @@
194
186
  "icons": {
195
187
  "menu-icon": "qld__icon__mobile-menu",
196
188
  "search-icon": "qld__icon__search",
197
- "close-icon": "qld__icon__close"
189
+ "close-icon": "qld__icon__close",
190
+ "chevron_down": "qld__icon__chevron-down"
198
191
  },
199
192
  "sitePreHeader": {
200
193
  "url": {
@@ -203,48 +196,134 @@
203
196
  "text": {
204
197
  "value": "Queensland Government websites"
205
198
  },
206
- "mainNavCtaOne": {
207
- "value": "#",
208
- "icon": {
209
- "value": "#"
210
- },
211
- "text": {
212
- "value": "List 1"
213
- },
214
- "dropdown_enabled": true,
215
- "dropdown_options": {
216
- "dropdown_type": "list"
217
- }
218
- },
219
- "mainNavCtaTwo": {
220
- "value": "#",
221
- "icon": {
222
- "value": "#"
223
- },
224
- "text": {
225
- "value": "List 2"
226
- },
227
- "dropdown_enabled": true,
228
- "dropdown_options": {
229
- "dropdown_type": "list"
230
- }
231
- },
232
- "mainNavCtaThree": {
233
- "value": "#",
234
- "icon": {
235
- "value": "ctaIcon"
199
+ "CTA": [
200
+ {
201
+ "id": "CTAone",
202
+ "url": {
203
+ "value": "#"
204
+ },
205
+ "text": {
206
+ "value": "For Queenslanders"
207
+ },
208
+ "dropdown_enabled": true,
209
+ "dropdown_options": {
210
+ "dropdown_type": "list",
211
+ "view_more_label": "Browse all information and services",
212
+ "view_more_url": "https://www.qld.gov.au/queenslanders",
213
+ "dropdown_config": {
214
+ "groups": [
215
+ {
216
+ "action": "_blank",
217
+ "url": "#",
218
+ "label": "Transport and motoring"
219
+ },
220
+ {
221
+ "action": "_blank",
222
+ "url": "#",
223
+ "label": "Employment and jobs"
224
+ },
225
+ {
226
+ "action": "_blank",
227
+ "url": "#",
228
+ "label": "Education and training"
229
+ },
230
+ {
231
+ "action": "_blank",
232
+ "url": "#",
233
+ "label": "Queensland and its government"
234
+ },
235
+ {
236
+ "action": "_blank",
237
+ "url": "#",
238
+ "label": "Health and wellbeing"
239
+ },
240
+ {
241
+ "action": "_blank",
242
+ "url": "#",
243
+ "label": "Community support"
244
+ }
245
+ ],
246
+ "view_more": true,
247
+ "view_more_options": {
248
+ "url": "#",
249
+ "label": "View more",
250
+ "target": "_blank"
251
+ }
252
+ }
253
+ }
236
254
  },
237
- "text": {
238
- "value": "Login"
255
+ {
256
+ "id": "CTAtwo",
257
+ "url": {
258
+ "value": "#"
259
+ },
260
+ "text": {
261
+ "value": "Business and Industry"
262
+ },
263
+ "dropdown_enabled": true,
264
+ "dropdown_options": {
265
+ "dropdown_type": "list",
266
+ "view_more_label": "All categories",
267
+ "view_more_url": "https://www.business.qld.gov.au/",
268
+ "dropdown_config": {
269
+ "groups": [
270
+ {
271
+ "action": "_blank",
272
+ "url": "#",
273
+ "label": "Starting a business"
274
+ },
275
+ {
276
+ "action": "_blank",
277
+ "url": "#",
278
+ "label": "Running a business"
279
+ },
280
+ {
281
+ "action": "_blank",
282
+ "url": "#",
283
+ "label": "Employing people"
284
+ },
285
+ {
286
+ "action": "_blank",
287
+ "url": "#",
288
+ "label": "Payroll tax"
289
+ },
290
+ {
291
+ "action": "_blank",
292
+ "url": "#",
293
+ "label": "Industries"
294
+ },
295
+ {
296
+ "action": "_blank",
297
+ "url": "#",
298
+ "label": "Investing in Queensland"
299
+ }
300
+ ],
301
+ "view_more": true,
302
+ "view_more_options": {
303
+ "url": "#",
304
+ "label": "View more",
305
+ "target": "_blank"
306
+ }
307
+ }
308
+ }
239
309
  },
240
- "dropdown_enabled": true,
241
- "dropdown_options": {
242
- "dropdown_type": "form",
243
- "dropdown_config": {
244
- "content": "<div></div>"
310
+ {
311
+ "id": "CTAthree",
312
+ "url": {
313
+ "value": "#"
314
+ },
315
+ "text": {
316
+ "value": "Login"
317
+ },
318
+ "dropdown_enabled": true,
319
+ "dropdown_options": {
320
+ "dropdown_type": "form",
321
+ "dropdown_config": {
322
+ "content": "<div></div>"
323
+ }
245
324
  }
246
325
  }
247
- }
326
+ ]
248
327
  },
249
328
  "siteHeader": {
250
329
  "config": {
@@ -274,9 +353,7 @@
274
353
  "placeholder": "Placeholder",
275
354
  "label": "Label",
276
355
  "formAction": {
277
- "url": "https://www.forgov.qld.gov.au/search",
278
- "suggestions": "https://discover.search.qld.gov.au/s/suggest.json",
279
- "results": "https://discover.search.qld.gov.au/s/search.json"
356
+ "url": "https://www.forgov.qld.gov.au/search"
280
357
  },
281
358
  "options": {
282
359
  "borderStyle": {
@@ -290,7 +367,8 @@
290
367
  "icons": {
291
368
  "menu-icon": "qld__icon__mobile-menu",
292
369
  "search-icon": "qld__icon__search",
293
- "close-icon": "qld__icon__close"
370
+ "close-icon": "qld__icon__close",
371
+ "chevron_down": "qld__icon__chevron-down"
294
372
  },
295
373
  "sitePreHeader": {
296
374
  "url": {
@@ -305,9 +383,6 @@
305
383
  "url": {
306
384
  "value": "#"
307
385
  },
308
- "icon": {
309
- "value": "ctaIcon"
310
- },
311
386
  "text": {
312
387
  "value": "For Queenslanders"
313
388
  },
@@ -363,9 +438,6 @@
363
438
  "url": {
364
439
  "value": "#"
365
440
  },
366
- "icon": {
367
- "value": "ctaIcon"
368
- },
369
441
  "text": {
370
442
  "value": "Business and Industry"
371
443
  },
@@ -421,9 +493,6 @@
421
493
  "url": {
422
494
  "value": "#"
423
495
  },
424
- "icon": {
425
- "value": "ctaIcon"
426
- },
427
496
  "text": {
428
497
  "value": "Login"
429
498
  },
@@ -464,9 +533,7 @@
464
533
  "placeholder": "",
465
534
  "label": "",
466
535
  "formAction": {
467
- "url": "https://www.forgov.qld.gov.au/search",
468
- "suggestions": "https://discover.search.qld.gov.au/s/suggest.json",
469
- "results": "https://discover.search.qld.gov.au/s/search.json"
536
+ "url": "https://www.forgov.qld.gov.au/search"
470
537
  },
471
538
  "options": {
472
539
  "borderStyle": {
@@ -480,7 +547,8 @@
480
547
  "icons": {
481
548
  "menu-icon": "qld__icon__mobile-menu",
482
549
  "search-icon": "qld__icon__search",
483
- "close-icon": "qld__icon__close"
550
+ "close-icon": "qld__icon__close",
551
+ "chevron_down": "qld__icon__chevron-down"
484
552
  },
485
553
  "sitePreHeader": {
486
554
  "url": {
@@ -495,9 +563,6 @@
495
563
  "url": {
496
564
  "value": "#"
497
565
  },
498
- "icon": {
499
- "value": "ctaIcon"
500
- },
501
566
  "text": {
502
567
  "value": "For Queenslanders"
503
568
  },
@@ -553,9 +618,6 @@
553
618
  "url": {
554
619
  "value": "#"
555
620
  },
556
- "icon": {
557
- "value": "ctaIcon"
558
- },
559
621
  "text": {
560
622
  "value": "Business and Industry"
561
623
  },
@@ -611,9 +673,6 @@
611
673
  "url": {
612
674
  "value": "#"
613
675
  },
614
- "icon": {
615
- "value": "ctaIcon"
616
- },
617
676
  "text": {
618
677
  "value": "Login"
619
678
  },
@@ -96,42 +96,42 @@
96
96
  "navigation_items": [
97
97
  {
98
98
  "title": "Visiting someone in hospital",
99
- "description1": "One of the best motivations for quitting is having a clear reason in mind so you know exactly why you’re doing it in the first place.",
99
+ "description": "One of the best motivations for quitting is having a clear reason in mind so you know exactly why you’re doing it in the first place.",
100
100
  "target_url": "index.html"
101
101
  },
102
102
  {
103
103
  "title": "Aboriginal and Torres Strait Islander support",
104
- "description1": "Be encouraged and motivated by listening to stories of others who've quit smoking for life.",
104
+ "description": "Be encouraged and motivated by listening to stories of others who've quit smoking for life.",
105
105
  "target_url": "index.html"
106
106
  },
107
107
  {
108
108
  "title": "Your healthcare rights and responsibilities",
109
- "description1": "Vaping products are also known as e-cigarettes, e-cigars, vape pens or personal vapourisers. Vapes are harmful. The safest option is to not vape at all.",
109
+ "description": "Vaping products are also known as e-cigarettes, e-cigars, vape pens or personal vapourisers. Vapes are harmful. The safest option is to not vape at all.",
110
110
  "target_url": "index.html"
111
111
  },
112
112
  {
113
113
  "title": "Going to hospital",
114
- "description1": "There are plenty of ways to quit smoking cigarettes and vapes. Find one that suits you best and commit to it.",
114
+ "description": "There are plenty of ways to quit smoking cigarettes and vapes. Find one that suits you best and commit to it.",
115
115
  "target_url": "index.html"
116
116
  },
117
117
  {
118
118
  "title": "Interpreter services",
119
- "description1": "Whether you’re thinking about getting pregnant, you're pregnant or have recently given birth, quitting smoking or vaping is the best thing you can do for the health of you and your baby.",
119
+ "description": "Whether you’re thinking about getting pregnant, you're pregnant or have recently given birth, quitting smoking or vaping is the best thing you can do for the health of you and your baby.",
120
120
  "target_url": "index.html"
121
121
  },
122
122
  {
123
123
  "title": "Health costs, insurance and financial support",
124
- "description1": "Sign up for My Quit Journey to support you to stop smoking.",
124
+ "description": "Sign up for My Quit Journey to support you to stop smoking.",
125
125
  "target_url": "index.html"
126
126
  },
127
127
  {
128
128
  "title": "Leaving hospital",
129
- "description1": "Congratulations on taking the first step in your journey and deciding to make one of the best choices of your life.",
129
+ "description": "Congratulations on taking the first step in your journey and deciding to make one of the best choices of your life.",
130
130
  "target_url": "index.html"
131
131
  },
132
132
  {
133
133
  "title": "Your health record",
134
- "description1": "Congratulations on taking the first step in your journey and deciding to make one of the best choices of your life.",
134
+ "description": "Congratulations on taking the first step in your journey and deciding to make one of the best choices of your life.",
135
135
  "target_url": "index.html"
136
136
  }
137
137
  ]
@@ -1,3 +1,10 @@
1
1
  {
2
-
2
+ "hasIconInfo": true,
3
+ "hasTooltip": true,
4
+ "exitMessage": "Select 'Close<span class='very-small-mobile'> this site</span>'<span class='not-mobile'> or press 'ESC' on your keyboard</span> to go to google.com.au.",
5
+ "exitMessageLinkText": "View more tips to browse safely online.",
6
+ "quickExitButtonText": "Close<span class='very-small-mobile'> this site</span>",
7
+ "qldTooltipPrompt": "What is this?",
8
+ "browseSafelyOnlineURL": "https://www.qld.gov.au/help/tips-to-browse-safely-online",
9
+ "qldTooltipContent": "To leave this site quickly, click the 'Close this site' button or press 'ESC' on your keyboard. You will be taken to google.com.au."
3
10
  }
@@ -7,5 +7,14 @@
7
7
  "buttonID": "search-button",
8
8
  "buttonType": "submit",
9
9
  "buttonLabel": "Search",
10
- "ariaLabel": "Search website"
10
+ "ariaLabel": "Search website",
11
+ "suggestions": true,
12
+ "tags": {
13
+ "collection": "qgov~sp-search",
14
+ "profile": "qld",
15
+ "numranks": "10",
16
+ "tiers": "off",
17
+ "suggestions": "https://discover.search.qld.gov.au/s/suggest.json",
18
+ "results-url": "https://discover.search.qld.gov.au/s/search.json"
19
+ }
11
20
  }