@qld-gov-au/qgds-bootstrap5 2.0.12 → 2.1.1

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 (121) hide show
  1. package/.esbuild/plugins/qgds-plugin-generate-icon-assets.js +31 -24
  2. package/.storybook/preview.js +15 -6
  3. package/dist/assets/components/bs5/button/button.hbs +1 -1
  4. package/dist/assets/components/bs5/callToAction/callToAction.hbs +3 -3
  5. package/dist/assets/components/bs5/dateinput/dateinput.hbs +21 -27
  6. package/dist/assets/components/bs5/footer/customLinks.hbs +1 -1
  7. package/dist/assets/components/bs5/footer/followLinks.hbs +1 -1
  8. package/dist/assets/components/bs5/globalAlert/globalAlert.hbs +8 -1
  9. package/dist/assets/components/bs5/head/head.hbs +1 -1
  10. package/dist/assets/components/bs5/inpageAlert/inpageAlert.hbs +10 -2
  11. package/dist/assets/components/bs5/pagination/pagination.hbs +7 -2
  12. package/dist/assets/components/bs5/promotionalPanel/promotionalPanel.hbs +1 -1
  13. package/dist/assets/components/bs5/searchInput/searchInput.hbs +11 -9
  14. package/dist/assets/css/qld.bootstrap.css +2 -2
  15. package/dist/assets/css/qld.bootstrap.css.map +3 -3
  16. package/dist/assets/css/qld.bootstrap.legacy.css +2 -2
  17. package/dist/assets/css/qld.bootstrap.legacy.css.map +3 -3
  18. package/dist/assets/img/icons-sprite.svg +24 -24
  19. package/dist/assets/js/handlebars.helpers.bundle.js +1 -1
  20. package/dist/assets/js/handlebars.init.min.js +80 -64
  21. package/dist/assets/js/handlebars.init.min.js.map +2 -2
  22. package/dist/assets/js/handlebars.partials.js +80 -64
  23. package/dist/assets/js/handlebars.partials.js.map +2 -2
  24. package/dist/assets/js/qld.bootstrap.min.js +6 -6
  25. package/dist/assets/js/qld.bootstrap.min.js.map +4 -4
  26. package/dist/assets/node/handlebars.init.min.js +28 -19
  27. package/dist/assets/node/handlebars.init.min.js.map +2 -2
  28. package/dist/components/bs5/button/button.hbs +1 -1
  29. package/dist/components/bs5/callToAction/callToAction.hbs +3 -3
  30. package/dist/components/bs5/dateinput/dateinput.hbs +21 -27
  31. package/dist/components/bs5/footer/customLinks.hbs +1 -1
  32. package/dist/components/bs5/footer/followLinks.hbs +1 -1
  33. package/dist/components/bs5/globalAlert/globalAlert.hbs +8 -1
  34. package/dist/components/bs5/head/head.hbs +1 -1
  35. package/dist/components/bs5/inpageAlert/inpageAlert.hbs +10 -2
  36. package/dist/components/bs5/pagination/pagination.hbs +7 -2
  37. package/dist/components/bs5/promotionalPanel/promotionalPanel.hbs +1 -1
  38. package/dist/components/bs5/searchInput/searchInput.hbs +11 -9
  39. package/dist/package.json +33 -32
  40. package/dist/sample-data/callToAction/callToAction.data.json +2 -1
  41. package/dist/sample-data/dateinput/dateinput.data.json +3 -1
  42. package/dist/sample-data/footer/footer.data.json +3 -0
  43. package/dist/sample-data/inpageAlert/inpageAlert.data.json +1 -1
  44. package/dist/sample-data/pagination/pagination.data.json +4 -4
  45. package/dist/sample-data/promotionalPanel/promotionalPanel.data.json +45 -47
  46. package/dist/sample-data/searchInput/searchInput.data.json +1 -0
  47. package/package.json +33 -32
  48. package/src/components/bs5/breadcrumbs/breadcrumbs.scss +4 -4
  49. package/src/components/bs5/button/Button.js +32 -6
  50. package/src/components/bs5/button/button.hbs +1 -1
  51. package/src/components/bs5/button/button.scss +1 -5
  52. package/src/components/bs5/button/button.stories.js +16 -4
  53. package/src/components/bs5/callToAction/callToAction.data.json +2 -1
  54. package/src/components/bs5/callToAction/callToAction.hbs +3 -3
  55. package/src/components/bs5/callToAction/callToAction.stories.js +2 -2
  56. package/src/components/bs5/card/card.scss +4 -2
  57. package/src/components/bs5/dateinput/Dateinput.js +1 -38
  58. package/src/components/bs5/dateinput/Dateinput.mdx +27 -0
  59. package/src/components/bs5/dateinput/Dateinput.stories.js +48 -4
  60. package/src/components/bs5/dateinput/dateinput.data.json +3 -1
  61. package/src/components/bs5/dateinput/dateinput.functions.js +91 -0
  62. package/src/components/bs5/dateinput/dateinput.hbs +21 -27
  63. package/src/components/bs5/footer/customLinks.hbs +1 -1
  64. package/src/components/bs5/footer/followLinks.hbs +1 -1
  65. package/src/components/bs5/footer/footer.data.json +3 -0
  66. package/src/components/bs5/formcheck/_form-variables.scss +36 -0
  67. package/src/components/bs5/formcheck/formcheck.scss +59 -14
  68. package/src/components/bs5/globalAlert/globalAlert.hbs +8 -1
  69. package/src/components/bs5/globalAlert/globalAlert.scss +14 -19
  70. package/src/components/bs5/globalAlert/globalAlert.stories.js +1 -0
  71. package/src/components/bs5/globalAlert/globalAlert.test.js +10 -5
  72. package/src/components/bs5/header/header.scss +1 -2
  73. package/src/components/bs5/icons/_icons.list.js +7 -7
  74. package/src/components/bs5/icons/_icons.list.scss +113 -112
  75. package/src/components/bs5/icons/_icons.variables.scss +7 -6
  76. package/src/components/bs5/icons/icons.scss +2 -1
  77. package/src/components/bs5/inpageAlert/inpageAlert.data.json +1 -1
  78. package/src/components/bs5/inpageAlert/inpageAlert.hbs +10 -2
  79. package/src/components/bs5/inpageAlert/inpageAlert.scss +52 -55
  80. package/src/components/bs5/inpageAlert/inpageAlert.stories.js +54 -3
  81. package/src/components/bs5/inpagenav/inpagenav.scss +9 -1
  82. package/src/components/bs5/modal/modal.scss +1 -1
  83. package/src/components/bs5/navbar/navbar.functions.js +39 -28
  84. package/src/components/bs5/navbar/navbar.scss +43 -28
  85. package/src/components/bs5/navbar/navbar.stories.js +4 -3
  86. package/src/components/bs5/pageLayout/PaletteShowcase.stories.js +4 -3
  87. package/src/components/bs5/pagination/pagination.data.json +4 -4
  88. package/src/components/bs5/pagination/pagination.hbs +7 -2
  89. package/src/components/bs5/pagination/pagination.scss +1 -1
  90. package/src/components/bs5/promotionalPanel/promotionalPanel.data.json +45 -47
  91. package/src/components/bs5/promotionalPanel/promotionalPanel.hbs +1 -1
  92. package/src/components/bs5/quickexit/quickexit.scss +1 -1
  93. package/src/components/bs5/searchInput/__snapshots__/searchInput.test.js.snap +16 -16
  94. package/src/components/bs5/searchInput/search.functions.js +70 -71
  95. package/src/components/bs5/searchInput/searchInput.data.json +1 -0
  96. package/src/components/bs5/searchInput/searchInput.hbs +11 -9
  97. package/src/components/bs5/searchInput/searchInput.scss +92 -38
  98. package/src/components/bs5/searchInput/searchInput.test.js +91 -119
  99. package/src/components/bs5/sidenav/sidenav.scss +17 -19
  100. package/src/components/bs5/skiplinks/skipLinks.scss +12 -4
  101. package/src/components/bs5/table/table.scss +93 -83
  102. package/src/components/common/focus-styles/focusStyles.mdx +20 -0
  103. package/src/components/common/focus-styles/focusStyles.stories.js +58 -0
  104. package/src/css/functions/_index.scss +3 -0
  105. package/src/css/functions/color-icon.scss +31 -0
  106. package/src/css/functions/string-replace.scss +49 -0
  107. package/src/css/functions/svg-encode.scss +22 -0
  108. package/src/css/main.scss +3 -0
  109. package/src/css/mixins/focusable.scss +1 -1
  110. package/src/css/mixins/make-icon.scss +1 -1
  111. package/src/css/mixins/make-link.scss +13 -10
  112. package/src/css/qld-palettes.scss +20 -12
  113. package/src/css/qld-reduced-motion.scss +51 -0
  114. package/src/css/qld-tokens.scss +3 -3
  115. package/src/css/qld-type.scss +11 -13
  116. package/src/css/qld-utilities.scss +9 -1
  117. package/src/css/qld-variables.scss +1 -1
  118. package/src/img/icons-sprite.svg +24 -24
  119. package/src/js/constants.js +10 -0
  120. package/src/js/qld.bootstrap.js +99 -151
  121. package/src/js/utils.js +3 -1
@@ -292,7 +292,7 @@ var init_button = __esm({
292
292
 
293
293
  {{#unless islink}}
294
294
 
295
- <button class="btn {{variantClass}} {{#if isprogress}}btn-progress{{/if}} {{label}}" onclick="{{{onclick}}}" {{#if isdisabled}}disabled{{/if}} {{#if isprogress}}disabled aria-live="polite"{{/if}} {{#if arialabel}}aria-label="{{arialabel}}"{{/if}} {{{dataatts}}} {{#if progressLabel}}data-progress-label="{{progressLabel}}"{{/if}}>
295
+ <button class="btn {{variantClass}} {{#if isprogress}}btn-progress{{/if}}" onclick="{{{onclick}}}" {{#if isdisabled}}disabled{{/if}} {{#if isprogress}}disabled aria-live="polite"{{/if}} {{#if arialabel}}aria-label="{{arialabel}}"{{/if}} {{{dataatts}}} {{#if progressLabel}}data-progress-label="{{progressLabel}}"{{/if}}>
296
296
  {{#if isprogress}}
297
297
  {{~>progressSpinner~}}
298
298
  {{else}}
@@ -355,7 +355,7 @@ var init_callout = __esm({
355
355
  var callToAction_default;
356
356
  var init_callToAction = __esm({
357
357
  "src/components/bs5/callToAction/callToAction.hbs?raw"() {
358
- callToAction_default = '<a class="qld-cta-link {{getClassNames "small, view-all" class}}"\n {{#if id}}id="{{id}}"{{/if}}\n href="{{href}}" \n target="{{target}}" \n {{#if arialabel}}aria-label="{{arialabel}}"{{/if}} \n >\n {{label}}\n <span class="icon" aria-hidden="true"></span>\n</a>';
358
+ callToAction_default = '<a class="qld-cta-link {{getClassNames "small, view-all" class}}"\n {{#if id}}id="{{id}}"{{/if}}\n href="{{href}}"\n target="{{target}}"\n {{#if arialabel}}aria-label="{{arialabel}}"{{/if}}\n >\n {{label}}\n <span class="icon" aria-hidden="true"></span>\n</a>';
359
359
  }
360
360
  });
361
361
 
@@ -615,7 +615,7 @@ var init_correctincorrect = __esm({
615
615
  var customLinks_default;
616
616
  var init_customLinks = __esm({
617
617
  "src/components/bs5/footer/customLinks.hbs?raw"() {
618
- customLinks_default = '{{#if customLinks }}\n <ul class="nav footer-link-list footer-link-list--custom flex-column"> \n {{#each customLinks }}\n <li><a class="nav-link" href="{{ link }}" {{#if target }} target="_blank" {{/if}}>{{ label }}</a></li>\n {{/each }}\n </ul>\n{{/if}}';
618
+ customLinks_default = '{{#if customLinks }}\n <ul class="nav footer-link-list footer-link-list--custom flex-column">\n {{#each customLinks }}\n <li><a class="nav-link" href="{{ link }}" {{#if target }} target="_blank" {{/if}}>{{ label }}</a></li>\n {{/each }}\n </ul>\n{{/if}}';
619
619
  }
620
620
  });
621
621
 
@@ -623,7 +623,7 @@ var init_customLinks = __esm({
623
623
  var dateinput_default;
624
624
  var init_dateinput = __esm({
625
625
  "src/components/bs5/dateinput/dateinput.hbs?raw"() {
626
- dateinput_default = '<!-- QGDS Component: Date input -->\n\n<label id="{{id}}-label"\n class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}"\n for="{{id}}">\n {{label-text}}\n {{#if optional-text}}\n <span class="label-text-optional">({{optional-text}})</span>\n {{/if}}\n</label>\n\n{{#if hint-text}}\n<span class="qld-hint-text" id="{{id}}-hint">{{hint-text}}</span>\n{{/if}}\n\n{{#contains "qld-input-success" customClass}}{{! legacy support for feedback classes `qld-input-success`}}\n<span class="qld-input-success">{{successMessageText}}</span>\n{{else}}\n{{#if successMessageText}}{{! updated bootstrap style classes - `valid-feedback`}}\n<div class="valid-feedback">{{successMessageText}}</div>\n{{/if}}{{/contains}}\n\n{{#contains "qld-input-error" customClass}}{{! legacy support for feedback classes `qld-input-error`}}\n<span class="qld-input-error">{{errorMessageText}}</span>\n{{else}}\n{{#if errorMessageText}}{{! updated bootstrap style classes - `invalid-feedback`}}\n<div class="invalid-feedback">{{errorMessageText}}</div>\n{{/if}}{{/contains}}\n\n<div aria-labelledby="{{id}}-label" role="group" class="row date-container {{customClass}}">\n <!-- day group -->\n <div class="day-group">\n <label id="{{id}}-dayinput-label" for="{{id}}-dayinput" class="date-label qld-text-input-label">Day</label>\n <div>\n <input id="{{id}}-dayinput" aria-required="true" aria-labelledby="{{id}}-label {{id}}-dayinput-label" placeholder="{{day-placeholder}}" type="text"\n inputmode="numeric" maxlength="2"\n class="qld-text-input form-control dayinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="day"\n aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required aria-required="true"\n {{/if}}>\n </div>\n </div>\n <!-- month group -->\n <div class="date-group">\n <label id="{{id}}-monthinput-label" for="{{id}}-monthinput" class="date-label qld-text-input-label">Month</label>\n <div>\n <input id="{{id}}-monthinput" aria-required="true" aria-labelledby="{{id}}-label {{id}}-monthinput-label" placeholder="{{month-placeholder}}"\n type="text" inputmode="numeric" maxlength="2"\n class="qld-text-input form-control monthinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="month"\n aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required aria-required="true"\n {{/if}}>\n </div>\n </div>\n <!-- year group -->\n <div class="date-group">\n <label id="{{id}}-yearinput-label" for="{{id}}-yearinput" class="date-label">Year</label>\n <div class="year-label">\n <input id="{{id}}-yearinput" aria-required="true" aria-labelledby="{{id}}-label {{id}}-yearinput-label"\n placeholder="{{year-placeholder}}" type="text" inputmode="numeric" maxlength="4"\n class="qld-text-input form-control yearinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}"\n ref="year" aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if\n isRequired}}required{{/if}}>\n </div>\n </div>\n</div>\n';
626
+ dateinput_default = '<!-- QGDS Component: Date input -->\n\n<label id="{{id}}-label" class="qld-text-input-label {{#if isRequired}}field-required{{/if}} {{#if isDisabled}}field-disabled{{/if}}" for="{{id}}">\n {{label-text}}\n {{#if optional-text}}\n <span class="label-text-optional">({{optional-text}})</span>\n {{/if}}\n</label>\n\n{{#if hint-text}}\n<span class="qld-hint-text" id="{{id}}-hint">{{hint-text}}</span>\n{{/if}}\n{{#contains "qld-input-success" customClass}}{{! legacy support for feedback classes `qld-input-success`}}\n<span class="qld-input-success">{{successMessageText}}</span>\n{{else if successMessageText}}{{! updated bootstrap style classes - `valid-feedback`}}\n<div class="valid-feedback">{{successMessageText}}</div>\n{{/contains}}\n{{#contains "qld-input-error" customClass}}{{! legacy support for feedback classes `qld-input-error`}}\n<span class="qld-input-error">{{errorMessageText}}</span>\n{{else if errorMessageText}}{{! updated bootstrap style classes - `invalid-feedback`}}\n<div class="invalid-feedback">{{errorMessageText}}</div>\n{{/contains}}\n\n<div aria-labelledby="{{id}}-label" role="group" class="row date-container {{customClass}}">\n <!-- day group -->\n <div class="day-group">\n <label id="{{id}}-dayinput-label" for="{{id}}-dayinput" class="date-label qld-text-input-label">Day</label>\n <div>\n <input id="{{id}}-dayinput" aria-labelledby="{{id}}-label {{id}}-dayinput-label" placeholder="{{day-placeholder}}" type="text"\n inputmode="numeric" maxlength="2" minlength="2" min="1" max="31" pattern="^(0?[1-9]|[12][0-9]|3[01])$"\n class="form-control dayinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} \n {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="day"\n aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>\n </div>\n </div>\n <!-- month group -->\n <div class="date-group">\n <label id="{{id}}-monthinput-label" for="{{id}}-monthinput" class="date-label qld-text-input-label">Month</label>\n <div>\n <input id="{{id}}-monthinput" aria-labelledby="{{id}}-label {{id}}-monthinput-label" placeholder="{{month-placeholder}}"\n type="text" inputmode="numeric" maxlength="2" minlength="2" min="1" max="12" pattern="^(0?[1-9]|[1][0-2])$"\n class="form-control monthinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} \n {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="month"\n aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>\n </div>\n </div>\n <!-- year group -->\n <div class="date-group">\n <label id="{{id}}-yearinput-label" for="{{id}}-yearinput" class="date-label qld-text-input-label">Year</label>\n <div class="year-label">\n <input id="{{id}}-yearinput" aria-labelledby="{{id}}-label {{id}}-yearinput-label"\n placeholder="{{year-placeholder}}" type="text" inputmode="numeric" maxlength="4" minlength="4" pattern="[0-9]*" \n {{#if yearMin}}min="{{yearMin}}"{{/if}} {{#if yearMax}}max="{{yearMax}}"{{/if}}\n class="form-control yearinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}"\n ref="year" aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>\n </div>\n </div>\n</div>\n';
627
627
  }
628
628
  });
629
629
 
@@ -647,7 +647,7 @@ var init_feedbackForm = __esm({
647
647
  var followLinks_default;
648
648
  var init_followLinks = __esm({
649
649
  "src/components/bs5/footer/followLinks.hbs?raw"() {
650
- followLinks_default = '{{#if followLinks }}\n <ul class="nav footer-link-list footer-link-list--social"> \n {{#each followLinks }}\n <li>\n <a class="nav-link" href="{{ link }}" {{#if target}}target="{{ target }}"{{/if}}>\n <span class="qld-icon qld-icon-md qld-icon-{{icon}} d-lg-none" aria-hidden="true"></span>\n <span class="qld-icon qld-icon-sm qld-icon-{{icon}} d-none d-lg-block" aria-hidden="true"></span>\n <span class="nav-link-label d-none d-lg-block">{{ label }}</span>\n <span class="sr-only">{{ label }}</span>\n </a>\n </li>\n {{/each }}\n </ul>\n{{/if}}';
650
+ followLinks_default = '{{#if followLinks }}\n <ul class="nav footer-link-list footer-link-list--social"> \n {{#each followLinks }}\n <li>\n <a class="nav-link" href="{{ link }}" {{#if target}}target="{{ target }}"{{/if}}>\n <span class="qld-icon qld-icon-md qld-icon-{{icon}} d-lg-none" aria-hidden="true"></span>\n <span class="qld-icon qld-icon-sm qld-icon-{{icon}} d-none d-lg-block" aria-hidden="true"></span>\n <span class="nav-link-label d-none d-lg-block">{{ label }}</span>\n <span class="sr-only">{{isdefined accessibleLabel label}}</span>\n </a>\n </li>\n {{/each }}\n </ul>\n{{/if}}';
651
651
  }
652
652
  });
653
653
 
@@ -927,7 +927,13 @@ var init_globalAlert = __esm({
927
927
  <div class="global-alert-include">
928
928
  {{#each alertItems}}
929
929
  <section role="region" class="global-alert alert container-full d-none {{variant}}" data-variant="{{variant}}"
930
- aria-label="{{ariaLabel}}" {{#if id}} data-id="{{id}}" {{/if}}{{#if dismissedExpiryDays}}
930
+ {{#if ariaLabel}} aria-label="{{ ariaLabel }}"
931
+ {{~else ifCond variant "==" "global-alert-critical"}} aria-label="Critical alert"
932
+ {{~else ifCond variant "==" "global-alert-info"}} aria-label="Informational alert"
933
+ {{~else ifCond variant "==" "global-alert-warning"}} aria-label="Warning alert"
934
+ {{~else}} aria-label="Informational alert"
935
+ {{~/if}}
936
+ {{#if id}} data-id="{{id}}" {{/if}}{{#if dismissedExpiryDays}}
931
937
  data-expiry-days="{{dismissedExpiryDays}}" {{/if}}>
932
938
  <div class="qld-global-alert-main">
933
939
  <div class="global-alert-icon">
@@ -937,6 +943,7 @@ var init_globalAlert = __esm({
937
943
  <span class="qld-icon qld-icon-sm qld-icon-alert-information" aria-hidden="true"></span>
938
944
  {{else ifCond variant '==' 'global-alert-warning'}}
939
945
  <span class="qld-icon qld-icon-sm qld-icon-alert-warning" aria-hidden="true"></span>
946
+ {{else}}<span class="qld-icon qld-icon-sm qld-icon-alert-information" aria-hidden="true"></span>
940
947
  {{/ifCond}}
941
948
  </div>
942
949
 
@@ -966,7 +973,7 @@ var head_default;
966
973
  var init_head = __esm({
967
974
  "src/components/bs5/head/head.hbs?raw"() {
968
975
  head_default = `
969
- <!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.0.12","branch":"HEAD","tag":"v2.0.12","commit":"8a144c9ab3a88493219cbc779eb61a0ca8b8d059","majorVersion":"v2"} -->
976
+ <!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.1.1","branch":"HEAD","tag":"v2.1.1","commit":"e9b014307ee0b957ab946f973a0bd735811415db","majorVersion":"v2"} -->
970
977
 
971
978
  {{! Select environment, used verbatium if not using predefind key
972
979
  cdn := PROD|STAGING|BETA|TEST|DEV|???
@@ -1024,7 +1031,7 @@ var init_image = __esm({
1024
1031
  var inpageAlert_default;
1025
1032
  var init_inpageAlert = __esm({
1026
1033
  "src/components/bs5/inpageAlert/inpageAlert.hbs?raw"() {
1027
- inpageAlert_default = '<div class="alert {{variantClass}} {{customClass}}" role="alert" \n {{#if alertType}}aria-label="{{alertType}}"{{/if}}>\n {{#if heading}}\n {{#if headingTag}}\n <{{headingTag}} class="alert-heading">{{{ heading }}}</{{headingTag}}>\n {{else}}\n <h2 class="alert-heading">{{{ heading }}}</h2>\n {{/if}}\n {{/if}}\n {{{ content }}}\n</div>';
1034
+ inpageAlert_default = '<div class="alert {{variantClass}} {{customClass}}" role="alert"\n {{#if ariaLabel}}\n aria-label="{{ ariaLabel }}"\n {{else}}\n {{#ifCond variantClass "==" "alert-info"}}aria-label="Information alert"{{/ifCond}}\n {{#ifCond variantClass "==" "alert-success"}}aria-label="Success alert"{{/ifCond}}\n {{#ifCond variantClass "==" "alert-error"}}aria-label="Error alert"{{/ifCond}}\n {{#ifCond variantClass "==" "alert-warning"}}aria-label="Warning alert"{{/ifCond}}\n {{/if}}\n>\n {{#if heading}}\n {{#if headingTag}}\n <{{headingTag}} class="alert-heading">{{{ heading }}}</{{headingTag}}>\n {{else}}\n <h2 class="alert-heading">{{{ heading }}}</h2>\n {{/if}}\n {{/if}}\n {{{ content }}}\n</div>';
1028
1035
  }
1029
1036
  });
1030
1037
 
@@ -1296,7 +1303,7 @@ var init_navbar = __esm({
1296
1303
  var pagination_default;
1297
1304
  var init_pagination = __esm({
1298
1305
  "src/components/bs5/pagination/pagination.hbs?raw"() {
1299
- pagination_default = '{{!\nComponent Name: QGDS QOL Pagination\nComponent Version: 1.0\nFramework: Bootstrap 5.3\nReference: https://getbootstrap.com/docs/5.0/components/pagination/\n}}\n\n<nav aria-label="{{ arialabel }}">\n\n <ul class="pagination">\n\n {{#if previous }}\n <li class="page-item previous">\n <a class="page-link" href="{{previous.href}}" aria-label="{{previous.arialabel}}">\n <span>{{ previous.linktext }}</span>\n </a>\n </li>\n {{/if}}\n\n {{#each pages}}\n <li class="page-item {{customClasses}}">\n {{#if more}}\n {{! More button }}\n <span></span>\n {{else}}\n {{! Page button }}\n <a class="page-link" href="{{href}}" aria-label="{{arialabel}}">{{ linktext }}</a>\n {{/if}}\n </li>\n\n {{/each }}\n\n {{#if next }}\n <li class="page-item next">\n <a class="page-link" href="{{next.href}}" aria-label="{{next.arialabel}}">\n <span>{{ next.linktext }}</span>\n </a>\n </li>\n {{/if}}\n\n </ul>\n\n</nav>';
1306
+ pagination_default = '{{!\nComponent Name: QGDS QOL Pagination\nComponent Version: 1.0\nFramework: Bootstrap 5.3\nReference: https://getbootstrap.com/docs/5.0/components/pagination/\n}}\n\n<nav aria-label="{{ arialabel }}">\n\n <ul class="pagination">\n\n {{#if previous }}\n <li class="page-item previous">\n <a class="page-link" href="{{previous.href}}" aria-label="{{previous.arialabel}}">\n <span>{{ previous.linktext }}</span>\n </a>\n </li>\n {{/if}}\n\n {{#each pages}}\n <li class="page-item {{customClasses}}">\n {{#if more}}\n {{! More button }}\n <span></span>\n {{else}}\n {{#ifCond "active" "in" customClasses}}\n {{! Active page - not a link }}\n <span class="page-link" aria-current="page" aria-label="{{#if arialabel}}{{arialabel}}{{else}}Page {{linktext}}, current page{{/if}}">{{ linktext }}</span>\n {{else}}\n {{! Page button }}\n <a class="page-link" href="{{href}}" aria-label="{{#if arialabel}}{{arialabel}}{{else}}Page {{linktext}}{{/if}}">{{ linktext }}</a>\n {{/ifCond}}\n {{/if}}\n </li>\n\n {{/each }}\n\n {{#if next }}\n <li class="page-item next">\n <a class="page-link" href="{{next.href}}" aria-label="{{next.arialabel}}">\n <span>{{ next.linktext }}</span>\n </a>\n </li>\n {{/if}}\n\n </ul>\n\n</nav>';
1300
1307
  }
1301
1308
  });
1302
1309
 
@@ -1311,7 +1318,7 @@ var init_promotionalPanel = __esm({
1311
1318
  {{/ifCond}}>
1312
1319
  <div class="image-panel">
1313
1320
  {{#ifCond type '!=' 'promo'}}
1314
- <img class="promo-panel-image" src="{{promoImage}}" alt="Promotional Image">
1321
+ <img class="promo-panel-image" src="{{promoImage}}" alt="{{isdefined promoImageDescription "Promotional image"}}">
1315
1322
  {{else}}
1316
1323
  <div class="promo-panel-image"></div>
1317
1324
  {{/ifCond}}
@@ -1374,38 +1381,40 @@ var init_searchInput = __esm({
1374
1381
  -->
1375
1382
  <div class="qld-search-input {{customClass}}">
1376
1383
  <input id="{{ inputID }}" name="{{ inputName }}" class="form-control" type="text" autocomplete="off"
1377
- aria-label="{{ ariaLabel }}" {{#each tags}} data-{{@key}}="{{this}}" {{/each}} />
1378
- <button class="btn btn-primary" type="{{ buttonType }}" id="{{ buttonID }}">
1379
- <span class="btn-icon"></span>
1384
+ aria-label="{{ ariaLabel }}" {{#each tags}} data-{{@key}}="{{this}}" {{/each}} placeholder="{{placeholder}}" />
1385
+ <button class="btn btn-primary" type="{{ buttonType }}" id="{{ buttonID }}" aria-label="{{ buttonLabel }}">
1386
+ <span class="btn-icon" aria-hidden="true"></span>
1380
1387
  <span class="btn-label">{{ buttonLabel }}</span>
1381
1388
  </button>
1382
1389
  {{#ifCond hasDynamicSuggestions '||' hasDefaultSuggestions}}
1383
- <div class="suggestions suggestions__group d-none default">
1390
+
1391
+ <div class="suggestions suggestions__group default">
1384
1392
  {{#if hasDefaultSuggestions}}
1385
1393
  <div class="default-suggestions">
1386
1394
  <div class="suggestions-category">
1387
1395
  <strong class="suggestions-category-label d-block">{{defaultSuggestions.popularServicesTitle}}</strong>
1388
1396
  <ul>
1389
1397
  {{#each defaultSuggestions.popularServices}}
1390
- <li><a href="{{link}}">{{title}}</a></li>
1398
+ <li><a tabindex="0" href="{{link}}">{{title}}</a></li>
1391
1399
  {{/each}}
1392
1400
  {{#if defaultSuggestions.popularServicesLink}}
1393
- <li><a href="{{defaultSuggestions.popularServicesLink.href}}" class="view-more">{{#if defaultSuggestions.popularServicesLink.label}}{{defaultSuggestions.popularServicesLink.label}}{{else}}View More{{/if}}</a></li>
1401
+ <li><a tabindex="0" href="{{defaultSuggestions.popularServicesLink.href}}" class="view-more">{{#if defaultSuggestions.popularServicesLink.label}}{{defaultSuggestions.popularServicesLink.label}}{{else}}View More{{/if}}</a></li>
1394
1402
  {{/if}}
1395
1403
  </ul>
1396
1404
  </div>
1397
-
1405
+ {{#if defaultSuggestions.categories}}
1398
1406
  <div class="suggestions-category">
1399
1407
  <strong class="suggestions-category-label d-block">{{defaultSuggestions.categoriesTitle}}</strong>
1400
1408
  <ul>
1401
1409
  {{#each defaultSuggestions.categories}}
1402
- <li><a href="{{link}}">{{title}}</a></li>
1410
+ <li><a tabindex="0"href="{{link}}">{{title}}</a></li>
1403
1411
  {{/each}}
1404
1412
  {{#if defaultSuggestions.categoriesLink}}
1405
- <li><a href="{{defaultSuggestions.categoriesLink.href}}" class="view-more">{{#if defaultSuggestions.categoriesLink.label}}{{defaultSuggestions.categoriesLink.label}}{{else}}View More{{/if}}</a></li>
1413
+ <li><a tabindex="0" href="{{defaultSuggestions.categoriesLink.href}}" class="view-more">{{#if defaultSuggestions.categoriesLink.label}}{{defaultSuggestions.categoriesLink.label}}{{else}}View More{{/if}}</a></li>
1406
1414
  {{/if}}
1407
1415
  </ul>
1408
1416
  </div>
1417
+ {{/if}}
1409
1418
  </div>
1410
1419
  {{/if}}
1411
1420
  {{#if hasDynamicSuggestions}}