@qld-gov-au/qgds-bootstrap5 2.1.1 → 2.1.3
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.
- package/dist/assets/components/bs5/button/button.hbs +2 -1
- package/dist/assets/components/bs5/dateinput/dateinput.hbs +3 -3
- package/dist/assets/components/bs5/formcheck/formcheck.hbs +1 -1
- package/dist/assets/components/bs5/head/head.hbs +1 -1
- package/dist/assets/components/bs5/select/select.hbs +1 -1
- package/dist/assets/components/bs5/textarea/textarea.hbs +1 -1
- package/dist/assets/components/bs5/textbox/textbox.hbs +1 -1
- package/dist/assets/css/qld.bootstrap.css +2 -2
- package/dist/assets/css/qld.bootstrap.css.map +2 -2
- package/dist/assets/css/qld.bootstrap.legacy.css +2 -2
- package/dist/assets/css/qld.bootstrap.legacy.css.map +2 -2
- package/dist/assets/js/handlebars.helpers.bundle.js +1 -1
- package/dist/assets/js/handlebars.init.min.js +11 -10
- package/dist/assets/js/handlebars.init.min.js.map +2 -2
- package/dist/assets/js/handlebars.partials.js +11 -10
- package/dist/assets/js/handlebars.partials.js.map +2 -2
- package/dist/assets/js/qld.bootstrap.min.js +6 -6
- package/dist/assets/js/qld.bootstrap.min.js.map +3 -3
- package/dist/assets/node/handlebars.init.min.js +8 -7
- package/dist/assets/node/handlebars.init.min.js.map +2 -2
- package/dist/components/bs5/button/button.hbs +2 -1
- package/dist/components/bs5/dateinput/dateinput.hbs +3 -3
- package/dist/components/bs5/formcheck/formcheck.hbs +1 -1
- package/dist/components/bs5/head/head.hbs +1 -1
- package/dist/components/bs5/select/select.hbs +1 -1
- package/dist/components/bs5/textarea/textarea.hbs +1 -1
- package/dist/components/bs5/textbox/textbox.hbs +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/src/components/bs5/accordion/mdx/_designResources.mdx +0 -1
- package/src/components/bs5/backToTop/backToTop.mdx +0 -1
- package/src/components/bs5/banner/Banner.mdx +0 -1
- package/src/components/bs5/blockquote/Blockquote.mdx +0 -1
- package/src/components/bs5/breadcrumbs/Breadcrumbs.mdx +0 -1
- package/src/components/bs5/button/Button.mdx +0 -1
- package/src/components/bs5/button/button.hbs +2 -1
- package/src/components/bs5/callToAction/callToAction.mdx +0 -1
- package/src/components/bs5/callout/Callout.mdx +0 -1
- package/src/components/bs5/card/Card.mdx +0 -1
- package/src/components/bs5/dateinput/dateinput.hbs +3 -3
- package/src/components/bs5/directionLinks/DirectionLinks.mdx +0 -1
- package/src/components/bs5/footer/Footer.mdx +0 -1
- package/src/components/bs5/formcheck/formcheck.hbs +1 -1
- package/src/components/bs5/formcheck/stories/checkbox/Checkbox.mdx +1 -3
- package/src/components/bs5/formcheck/stories/radio/Radio.mdx +0 -1
- package/src/components/bs5/globalAlert/GlobalAlert.mdx +0 -1
- package/src/components/bs5/header/header.scss +1 -1
- package/src/components/bs5/image/Image.mdx +0 -1
- package/src/components/bs5/inpageAlert/InpageAlert.mdx +0 -1
- package/src/components/bs5/inpagenav/Inpagenav.mdx +0 -1
- package/src/components/bs5/link/link.mdx +1 -3
- package/src/components/bs5/linkColumns/linkColumns.mdx +0 -1
- package/src/components/bs5/navbar/navbar.scss +75 -13
- package/src/components/bs5/pageLayout/pageLayout.stories.js +2 -0
- package/src/components/bs5/pagination/Pagination.mdx +0 -1
- package/src/components/bs5/pagination/pagination.scss +14 -18
- package/src/components/bs5/promotionalPanel/PromotionalPanel.mdx +0 -1
- package/src/components/bs5/searchInput/SearchInput.mdx +1 -1
- package/src/components/bs5/searchInput/search.functions.js +48 -2
- package/src/components/bs5/select/select.hbs +1 -1
- package/src/components/bs5/table/Table.mdx +0 -1
- package/src/components/bs5/tabs/Tabs.mdx +0 -1
- package/src/components/bs5/tag/Tag.mdx +0 -1
- package/src/components/bs5/textarea/textarea.hbs +1 -1
- package/src/components/bs5/textbox/textbox.hbs +1 -1
- package/src/components/bs5/video/Video.mdx +0 -1
- package/src/components/bs5/video/video.scss +1 -1
- package/src/css/mixins/focusable.scss +1 -1
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
{{#unless islink}}
|
|
12
12
|
|
|
13
|
-
<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}} {{
|
|
13
|
+
<button class="btn {{variantClass}} {{#if isprogress}}btn-progress{{/if}}" onclick="{{{onclick}}}" tabindex="0" {{#if isdisabled}}disabled{{/if}} {{#if isprogress}}disabled aria-live="polite"{{/if}} {{#if arialabel}}aria-label="{{arialabel}}"{{/if}} {{#if progressLabel}}data-progress-label="{{progressLabel}}"{{/if}} {{{dataatts}}} >
|
|
14
|
+
|
|
14
15
|
{{#if isprogress}}
|
|
15
16
|
{{~>progressSpinner~}}
|
|
16
17
|
{{else}}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
inputmode="numeric" maxlength="2" minlength="2" min="1" max="31" pattern="^(0?[1-9]|[12][0-9]|3[01])$"
|
|
31
31
|
class="form-control dayinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}}
|
|
32
32
|
{{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="day"
|
|
33
|
-
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>
|
|
33
|
+
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} tabindex="0" >
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
<!-- month group -->
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
type="text" inputmode="numeric" maxlength="2" minlength="2" min="1" max="12" pattern="^(0?[1-9]|[1][0-2])$"
|
|
42
42
|
class="form-control monthinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}}
|
|
43
43
|
{{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="month"
|
|
44
|
-
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>
|
|
44
|
+
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} tabindex="0">
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<!-- year group -->
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
placeholder="{{year-placeholder}}" type="text" inputmode="numeric" maxlength="4" minlength="4" pattern="[0-9]*"
|
|
53
53
|
{{#if yearMin}}min="{{yearMin}}"{{/if}} {{#if yearMax}}max="{{yearMax}}"{{/if}}
|
|
54
54
|
class="form-control yearinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}"
|
|
55
|
-
ref="year" aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>
|
|
55
|
+
ref="year" aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} tabindex="0">
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
{{#each listitems}}
|
|
24
24
|
<div class="form-check {{#if ../isValid}}is-valid{{else}}{{#ifCond ../isValid "===" false}}is-invalid{{/ifCond}}{{/if}}">
|
|
25
|
-
<input class="form-check-input" type="{{#if ../type}}{{../type}}{{else}}{{#if type}}{{type}}{{else}}checkbox{{/if}}{{/if}}" name="{{name}}" id="{{id}}" value="{{value}}" {{#if isDisabled}}disabled{{/if}} {{#if isChecked}}checked{{/if}} {{#if isRequired}}required{{/if}} >
|
|
25
|
+
<input class="form-check-input" type="{{#if ../type}}{{../type}}{{else}}{{#if type}}{{type}}{{else}}checkbox{{/if}}{{/if}}" name="{{name}}" id="{{id}}" value="{{value}}" tabindex="{{isdefined ../tabindex 0}}" {{#if isDisabled}}disabled{{/if}} {{#if isChecked}}checked{{/if}} {{#if isRequired}}required{{/if}} >
|
|
26
26
|
<label class="form-check-label" for="{{id}}">
|
|
27
27
|
{{label}}
|
|
28
28
|
</label>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.1.
|
|
2
|
+
<!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.1.3","branch":"HEAD","tag":"v2.1.3","commit":"0459f9571a74eab35ed443c3d02fece2a811642c","majorVersion":"v2"} -->
|
|
3
3
|
|
|
4
4
|
{{! Select environment, used verbatium if not using predefind key
|
|
5
5
|
cdn := PROD|STAGING|BETA|TEST|DEV|???
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{{/if}}{{/contains}}
|
|
27
27
|
|
|
28
28
|
<select id={{id}} class="form-select {{#if isFilled}}is-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}} {{customClass}}"
|
|
29
|
-
{{#if hint-text}}aria-describedby="{{id}}-hint"{{/if}} {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} >
|
|
29
|
+
{{#if hint-text}}aria-describedby="{{id}}-hint"{{/if}} tabindex="0" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} >
|
|
30
30
|
<option selected value="">{{placeholder}}</option>
|
|
31
31
|
<option value="1">Option 1</option>
|
|
32
32
|
<option value="2">Option 2</option>
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
|
|
29
29
|
<!-- First text input field, described by the hint text above -->
|
|
30
30
|
<textarea id="{{id}}" class="form-control {{customClass}} {{#if isFilled}}is-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}"
|
|
31
|
-
placeholder="{{placeholder}}" rows="{{rows}}" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}
|
|
31
|
+
placeholder="{{placeholder}}" rows="{{rows}}" tabindex="0" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}
|
|
32
32
|
{{#if hint-text}}aria-describedby="{{id}}-hint"{{/if}}>{{value}}</textarea>
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
{{/if}}{{/contains}}
|
|
28
28
|
|
|
29
29
|
<input id={{id}} {{#if value}}value="{{value}}"{{/if}} class="form-control {{customClass}} {{#if isFilled}}is-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}"
|
|
30
|
-
type="text" placeholder="{{placeholder}}" {{#if isDisabled}}disabled{{/if}} {{#if
|
|
30
|
+
type="text" placeholder="{{placeholder}}" tabindex="0" {{#if isDisabled}}disabled{{/if}} {{#if
|
|
31
31
|
isRequired}}required{{/if}} {{#if hint-text}}aria-describedby="{{id}}-hint"{{/if}} />
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
## Design resources
|
|
2
2
|
|
|
3
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6276-45691&mode=design&t=chjWFr1CLu6KQXzg-4)
|
|
4
3
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5990-98109&mode=design&t=ORVHLonASEFQzPeD-0)
|
|
5
4
|
- [Design System website](https://www.design-system.health.qld.gov.au/components/accordions)
|
|
6
5
|
- [Bootstrap component](https://getbootstrap.com/docs/5.3/components/accordion/)
|
|
@@ -9,6 +9,5 @@ import * as BackToTopStories from "./backToTop.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/design/XPeQMu5zKhEPKXdtZclWIW/Back-to-top?node-id=2004-2461&m=dev)
|
|
13
12
|
- [Master component file (Figma)]()
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/components/back-to-top)
|
|
@@ -10,7 +10,6 @@ import defaultdata from "./banner.data.json";
|
|
|
10
10
|
|
|
11
11
|
## Design resources
|
|
12
12
|
|
|
13
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=10861-449385&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
14
13
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6037-22593&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
15
14
|
- [Design System website](https://www.designsystem.qld.gov.au/components/banners)
|
|
16
15
|
|
|
@@ -9,6 +9,5 @@ import * as BlockquoteStories from "./blockquote.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6310-45849&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
13
12
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=11056-321340&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/components/callouts#section__quote-example)
|
|
@@ -10,7 +10,6 @@ import defaultdata from "./breadcrumbs.data.json";
|
|
|
10
10
|
|
|
11
11
|
## Design resources
|
|
12
12
|
|
|
13
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=11185-261509&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
14
13
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5990-98076&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
15
14
|
- [Design System website](https://www.designsystem.qld.gov.au/components/breadcrumbs)
|
|
16
15
|
- [Bootstrap component](https://getbootstrap.com/docs/5.3/components/breadcrumb/)
|
|
@@ -9,7 +9,6 @@ import * as ButtonStories from "./button.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6274-44764&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
13
12
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5990-98058&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/components/buttons)
|
|
15
14
|
- [Bootstrap component](https://getbootstrap.com/docs/5.3/components/buttons/)
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
{{#unless islink}}
|
|
12
12
|
|
|
13
|
-
<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}} {{
|
|
13
|
+
<button class="btn {{variantClass}} {{#if isprogress}}btn-progress{{/if}}" onclick="{{{onclick}}}" tabindex="0" {{#if isdisabled}}disabled{{/if}} {{#if isprogress}}disabled aria-live="polite"{{/if}} {{#if arialabel}}aria-label="{{arialabel}}"{{/if}} {{#if progressLabel}}data-progress-label="{{progressLabel}}"{{/if}} {{{dataatts}}} >
|
|
14
|
+
|
|
14
15
|
{{#if isprogress}}
|
|
15
16
|
{{~>progressSpinner~}}
|
|
16
17
|
{{else}}
|
|
@@ -10,7 +10,6 @@ import defaultdata from "./callToAction.data.json";
|
|
|
10
10
|
|
|
11
11
|
## Design resources
|
|
12
12
|
|
|
13
|
-
- [Component library (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=23167-395565&t=TIV8Ku0uZZw4wtEa-0)
|
|
14
13
|
- [Master component file (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=11056-321367&p=f&t=PtLTzZO7iSzsq4Qn-0)
|
|
15
14
|
- [Design System website](https://www.designsystem.qld.gov.au/components/call-to-action-cta)
|
|
16
15
|
|
|
@@ -9,6 +9,5 @@ import * as CalloutStories from "./callout.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6310-45849&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
13
12
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5990-98115&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/components/callouts)
|
|
@@ -14,7 +14,6 @@ Use the field `headingTag` to apply the correct heading level of your card title
|
|
|
14
14
|
|
|
15
15
|
## Design resources
|
|
16
16
|
|
|
17
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6273-41238&mode=design&t=Y96ILJNKlcVOEkpC-4)
|
|
18
17
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5990-98141&mode=design&t=d1ly5fkj79b8cqJ6-0)
|
|
19
18
|
- [Design System website](https://www.design-system.health.qld.gov.au/components/cards)
|
|
20
19
|
- [Bootstrap component](https://getbootstrap.com/docs/5.3/components/card/)
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
inputmode="numeric" maxlength="2" minlength="2" min="1" max="31" pattern="^(0?[1-9]|[12][0-9]|3[01])$"
|
|
31
31
|
class="form-control dayinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}}
|
|
32
32
|
{{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="day"
|
|
33
|
-
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>
|
|
33
|
+
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} tabindex="0" >
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
<!-- month group -->
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
type="text" inputmode="numeric" maxlength="2" minlength="2" min="1" max="12" pattern="^(0?[1-9]|[1][0-2])$"
|
|
42
42
|
class="form-control monthinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}}
|
|
43
43
|
{{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}" ref="month"
|
|
44
|
-
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>
|
|
44
|
+
aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} tabindex="0">
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
47
|
<!-- year group -->
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
placeholder="{{year-placeholder}}" type="text" inputmode="numeric" maxlength="4" minlength="4" pattern="[0-9]*"
|
|
53
53
|
{{#if yearMin}}min="{{yearMin}}"{{/if}} {{#if yearMax}}max="{{yearMax}}"{{/if}}
|
|
54
54
|
class="form-control yearinput {{customClass}} {{#if isFilled}}form-style-filled{{/if}} {{#if isValid}}is-valid{{else}}{{#ifCond isValid "===" false}}is-invalid{{/ifCond}}{{/if}}"
|
|
55
|
-
ref="year" aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}}>
|
|
55
|
+
ref="year" aria-invalid="false" {{#if isDisabled}}disabled{{/if}} {{#if isRequired}}required{{/if}} tabindex="0">
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
@@ -9,6 +9,5 @@ import * as DirectionLinksStories from "./directionLinks.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=23167-395560&t=7cFV6FheiSfxWCL8-0)
|
|
13
12
|
- [Master component file (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=11056-321363&p=f&t=cQBFbBP6J97taQCN-0)
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/components/direction-links)
|
|
@@ -10,7 +10,6 @@ import defaultdata from "./footer.data.json";
|
|
|
10
10
|
|
|
11
11
|
## Design resources
|
|
12
12
|
|
|
13
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5728-106979&mode=design&t=2A547O8zdXmQCwY7-0)
|
|
14
13
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5728-106979&mode=design&t=2A547O8zdXmQCwY7-0)
|
|
15
14
|
- [Design System website](https://www.designsystem.qld.gov.au/components/footer)
|
|
16
15
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
{{#each listitems}}
|
|
24
24
|
<div class="form-check {{#if ../isValid}}is-valid{{else}}{{#ifCond ../isValid "===" false}}is-invalid{{/ifCond}}{{/if}}">
|
|
25
|
-
<input class="form-check-input" type="{{#if ../type}}{{../type}}{{else}}{{#if type}}{{type}}{{else}}checkbox{{/if}}{{/if}}" name="{{name}}" id="{{id}}" value="{{value}}" {{#if isDisabled}}disabled{{/if}} {{#if isChecked}}checked{{/if}} {{#if isRequired}}required{{/if}} >
|
|
25
|
+
<input class="form-check-input" type="{{#if ../type}}{{../type}}{{else}}{{#if type}}{{type}}{{else}}checkbox{{/if}}{{/if}}" name="{{name}}" id="{{id}}" value="{{value}}" tabindex="{{isdefined ../tabindex 0}}" {{#if isDisabled}}disabled{{/if}} {{#if isChecked}}checked{{/if}} {{#if isRequired}}required{{/if}} >
|
|
26
26
|
<label class="form-check-label" for="{{id}}">
|
|
27
27
|
{{label}}
|
|
28
28
|
</label>
|
|
@@ -13,7 +13,5 @@ import * as FormCheckCheckboxStories from "./checkbox.stories";
|
|
|
13
13
|
|
|
14
14
|
### Checkbox
|
|
15
15
|
|
|
16
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=11185-257399&mode=design&t=9b0T06NG5P47amzB-4)
|
|
17
16
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=11056-321348&mode=design&t=9b0T06NG5P47amzB-0)
|
|
18
|
-
- [Design System website](https://www.design-system.health.qld.gov.au/components/checkboxes)
|
|
19
|
-
../../formcheckCheckbox.stories./checkbox.stories
|
|
17
|
+
- [Design System website](https://www.design-system.health.qld.gov.au/components/checkboxes)
|
|
@@ -13,6 +13,5 @@ import * as FormCheckRadioStories from "./radio.stories";
|
|
|
13
13
|
|
|
14
14
|
### Radio
|
|
15
15
|
|
|
16
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6274-42582&mode=design&t=sWeMBpAnKzpGzmWI-4)
|
|
17
16
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=11056-321347&mode=design&t=9b0T06NG5P47amzB-0)
|
|
18
17
|
- [Design System website](https://www.design-system.health.qld.gov.au/components/radio-buttons)
|
|
@@ -10,7 +10,6 @@ import defaultdata from "./globalAlert.data.json";
|
|
|
10
10
|
|
|
11
11
|
## Design resources
|
|
12
12
|
|
|
13
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=23805-314551&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
14
13
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5990-97590&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
15
14
|
- [Design System website](https://www.designsystem.qld.gov.au/components/alerts-global)
|
|
16
15
|
|
|
@@ -9,6 +9,5 @@ import * as ImageStories from "./image.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=11009-239702&t=EU1m2kX6Y0PGJw2O-0)
|
|
13
12
|
- [Master component file (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=5990-97962&p=f&t=EU1m2kX6Y0PGJw2O-0)
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/styles/images)
|
|
@@ -10,7 +10,6 @@ import defaultdata from "./inpageAlert.data.json";
|
|
|
10
10
|
|
|
11
11
|
## Design resources
|
|
12
12
|
|
|
13
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=6314-44622&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
14
13
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=5990-98125&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
15
14
|
- [Design System website](https://www.designsystem.qld.gov.au/components/alerts-in-page)
|
|
16
15
|
- [Bootstrap component](https://getbootstrap.com/docs/5.3/components/alerts/)
|
|
@@ -9,7 +9,6 @@ import * as InpagenavStories from "./inpagenav.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=23167-395561&mode=design&t=BToeasIYcqL5uxRb-0)
|
|
13
12
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=7905-252906&mode=design&t=BToeasIYcqL5uxRb-0)
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/components/in-page-navigation)
|
|
15
14
|
- [Bootstrap component](https://getbootstrap.com/docs/5.3/components/navs-tabs/#vertical)
|
|
@@ -9,6 +9,4 @@ import * as linkStories from "./link.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [
|
|
13
|
-
- [Master component file (Figma)]()
|
|
14
|
-
- [Design System website]()
|
|
12
|
+
- [Master component file (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=12900-201779&p=f&m=dev)
|
|
@@ -10,7 +10,6 @@ import defaultdata from "./linkColumns.data.json";
|
|
|
10
10
|
|
|
11
11
|
## Design resources
|
|
12
12
|
|
|
13
|
-
- [Component library (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=11056-321574&p=f&t=6pghtHXhO8h5PAit-0)
|
|
14
13
|
- [Master component file (Figma)](https://www.figma.com/design/qKsxl3ogIlBp7dafgxXuCA/QGDS-UI-kit?node-id=11056-321574&p=f&t=6sRnJtEdRnteiQXM-0)
|
|
15
14
|
- [Design System website](https://www.designsystem.qld.gov.au/components/link-columns-link-list)
|
|
16
15
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../../../css/mixins" as m;
|
|
2
|
+
|
|
1
3
|
@mixin repeatedVerticalStyles {
|
|
2
4
|
.nav-header {
|
|
3
5
|
min-height: var(--qld-header-preheader-height, 4rem);
|
|
@@ -18,6 +20,8 @@
|
|
|
18
20
|
border-radius: 0;
|
|
19
21
|
display: block;
|
|
20
22
|
padding-inline: 1.5rem;
|
|
23
|
+
|
|
24
|
+
@include m.focusable($offsetOutline: -3px);
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
> .container {
|
|
@@ -82,6 +86,9 @@
|
|
|
82
86
|
box-shadow:
|
|
83
87
|
0px 1px 2px rgba(0, 0, 0, 0.2),
|
|
84
88
|
0px 1px 3px rgba(0, 0, 0, 0.1);
|
|
89
|
+
|
|
90
|
+
@include m.focusable();
|
|
91
|
+
|
|
85
92
|
&:hover {
|
|
86
93
|
box-shadow:
|
|
87
94
|
0px 4px 8px 3px rgba(0, 0, 0, 0.1),
|
|
@@ -100,9 +107,6 @@
|
|
|
100
107
|
transform: rotate(0deg);
|
|
101
108
|
transition: transform var(--animation-time) ease-in;
|
|
102
109
|
}
|
|
103
|
-
&:focus {
|
|
104
|
-
outline: 2px solid var(--qld-focus-color);
|
|
105
|
-
}
|
|
106
110
|
}
|
|
107
111
|
.nav-link {
|
|
108
112
|
border-block-end: 0;
|
|
@@ -140,12 +144,15 @@
|
|
|
140
144
|
border-inline-start-color: var(--dropdown-show-bg);
|
|
141
145
|
gap: 0;
|
|
142
146
|
&::after {
|
|
143
|
-
content: "";
|
|
144
147
|
content: none;
|
|
145
148
|
}
|
|
146
149
|
&:hover {
|
|
147
150
|
transition: none;
|
|
148
151
|
}
|
|
152
|
+
|
|
153
|
+
&:focus {
|
|
154
|
+
outline-offset: -3px;
|
|
155
|
+
}
|
|
149
156
|
}
|
|
150
157
|
p {
|
|
151
158
|
position: absolute;
|
|
@@ -172,7 +179,6 @@
|
|
|
172
179
|
text-decoration-color: inherit;
|
|
173
180
|
padding: 0;
|
|
174
181
|
&:after {
|
|
175
|
-
content: "";
|
|
176
182
|
content: none;
|
|
177
183
|
}
|
|
178
184
|
}
|
|
@@ -214,6 +220,8 @@
|
|
|
214
220
|
border-block-end: 0;
|
|
215
221
|
margin-block-end: 0;
|
|
216
222
|
position: relative;
|
|
223
|
+
outline-offset: -3px;
|
|
224
|
+
|
|
217
225
|
&::before {
|
|
218
226
|
content: "";
|
|
219
227
|
position: absolute;
|
|
@@ -248,8 +256,9 @@
|
|
|
248
256
|
background-color: transparent;
|
|
249
257
|
}
|
|
250
258
|
}
|
|
251
|
-
|
|
252
|
-
|
|
259
|
+
|
|
260
|
+
&:focus::before {
|
|
261
|
+
z-index: -1;
|
|
253
262
|
}
|
|
254
263
|
}
|
|
255
264
|
}
|
|
@@ -336,6 +345,7 @@
|
|
|
336
345
|
--mobile-only-display: block;
|
|
337
346
|
--visibility-display: visible;
|
|
338
347
|
--nav-header-border-color: var(--#{$prefix}dark-border);
|
|
348
|
+
|
|
339
349
|
.qld-header:has(.qld-header-pre-header.dark) ~ & {
|
|
340
350
|
--vert-background-color: var(--#{$prefix}dark-background);
|
|
341
351
|
--background-color: var(--#{$prefix}default-background-shade);
|
|
@@ -355,6 +365,15 @@
|
|
|
355
365
|
--nav-header-icon-color: var(--#{$prefix}brand-accent);
|
|
356
366
|
--navbar-collapse-bg: var(--#{$prefix}dark-background-shade);
|
|
357
367
|
--action-icon-color_active: var(--text-color);
|
|
368
|
+
|
|
369
|
+
> :where(*) {
|
|
370
|
+
--qld-focus-color: var(--qld-light-focus);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.nav-header {
|
|
374
|
+
--qld-focus-color: var(--qld-dark-focus);
|
|
375
|
+
}
|
|
376
|
+
|
|
358
377
|
.alt {
|
|
359
378
|
--vert-background-color: var(--#{$prefix}default-background);
|
|
360
379
|
--background-color: var(--#{$prefix}sapphire-blue);
|
|
@@ -369,6 +388,11 @@
|
|
|
369
388
|
--dropdown-bg-color: var(--#{$prefix}dark-background);
|
|
370
389
|
--action-icon-color: var(--#{$prefix}brand-accent);
|
|
371
390
|
--action-icon-color_active: var(--text-color);
|
|
391
|
+
|
|
392
|
+
> :where(*) {
|
|
393
|
+
--qld-focus-color: var(--qld-dark-focus);
|
|
394
|
+
}
|
|
395
|
+
|
|
372
396
|
.nav-link {
|
|
373
397
|
border-inline-start: 0;
|
|
374
398
|
}
|
|
@@ -393,6 +417,14 @@
|
|
|
393
417
|
--navbar-collapse-bg: var(--#{$prefix}default-background-shade);
|
|
394
418
|
--action-icon-color_active: var(--text-color);
|
|
395
419
|
|
|
420
|
+
> :where(*) {
|
|
421
|
+
--qld-focus-color: var(--qld-dark-focus);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.nav-header {
|
|
425
|
+
--qld-focus-color: var(--qld-light-focus);
|
|
426
|
+
}
|
|
427
|
+
|
|
396
428
|
.alt {
|
|
397
429
|
--vert-background-color: var(--#{$prefix}dark-background);
|
|
398
430
|
--background-color: var(--#{$prefix}default-background);
|
|
@@ -406,11 +438,13 @@
|
|
|
406
438
|
--header-color: var(--#{$prefix}default-background);
|
|
407
439
|
--action-icon-color: var(--#{$prefix}alt-button-hover);
|
|
408
440
|
--action-icon-color_active: var(--text-color);
|
|
441
|
+
|
|
409
442
|
.nav-link {
|
|
410
443
|
border-inline-start: 0;
|
|
411
444
|
}
|
|
412
445
|
}
|
|
413
446
|
}
|
|
447
|
+
|
|
414
448
|
.qld-header:has(.qld-header-pre-header.dark-alt) ~ & {
|
|
415
449
|
--background-color: var(--#{$prefix}dark-background-shade);
|
|
416
450
|
--background-color-hover: var(--#{$prefix}dark-alt-background);
|
|
@@ -429,6 +463,15 @@
|
|
|
429
463
|
--nav-header-border-color: var(--#{$prefix}dark-border);
|
|
430
464
|
--nav-header-icon-color: var(--#{$prefix}dark-action-secondary);
|
|
431
465
|
--action-icon-color_active: var(--text-color);
|
|
466
|
+
|
|
467
|
+
> :where(*) {
|
|
468
|
+
--qld-focus-color: var(--qld-dark-focus);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.nav-header {
|
|
472
|
+
--qld-focus-color: var(--qld-dark-focus);
|
|
473
|
+
}
|
|
474
|
+
|
|
432
475
|
.alt {
|
|
433
476
|
--background-color: var(--#{$prefix}dark-alt-background-shade);
|
|
434
477
|
--background-color-hover: var(--#{$prefix}dark-alt-background-shade);
|
|
@@ -438,6 +481,11 @@
|
|
|
438
481
|
--action-icon-color: var(--#{$prefix}brand-accent);
|
|
439
482
|
--link-border-color-hover: var(--#{$prefix}dark-action-secondary-hover);
|
|
440
483
|
--action-icon-color_active: var(--text-color);
|
|
484
|
+
|
|
485
|
+
> :where(*) {
|
|
486
|
+
--qld-focus-color: var(--qld-dark-focus);
|
|
487
|
+
}
|
|
488
|
+
|
|
441
489
|
.nav-link {
|
|
442
490
|
border-inline-start: 0;
|
|
443
491
|
}
|
|
@@ -500,8 +548,7 @@
|
|
|
500
548
|
background-color: var(--action-icon-color);
|
|
501
549
|
}
|
|
502
550
|
}
|
|
503
|
-
.navbar-nav a.nav-link
|
|
504
|
-
a.dropdown-item {
|
|
551
|
+
.navbar-nav a.nav-link {
|
|
505
552
|
color: var(--text-color);
|
|
506
553
|
padding-block: var(--nav-link-padding-block);
|
|
507
554
|
padding-inline: 0.75rem;
|
|
@@ -515,8 +562,23 @@
|
|
|
515
562
|
text-underline-offset: 0.3rem;
|
|
516
563
|
text-decoration-thickness: 0.125rem;
|
|
517
564
|
}
|
|
518
|
-
|
|
519
|
-
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
a.dropdown-item {
|
|
568
|
+
color: var(--link-color);
|
|
569
|
+
padding-block: var(--nav-link-padding-block);
|
|
570
|
+
padding-inline: 0.75rem;
|
|
571
|
+
display: flex;
|
|
572
|
+
line-height: 2rem;
|
|
573
|
+
gap: 0.5rem;
|
|
574
|
+
align-items: center;
|
|
575
|
+
&:hover {
|
|
576
|
+
color: var(--link-color);
|
|
577
|
+
text-decoration: underline;
|
|
578
|
+
text-underline-offset: 0.3rem;
|
|
579
|
+
text-decoration-thickness: 0.125rem;
|
|
580
|
+
}
|
|
581
|
+
@include m.focusable($offsetOutline: -3px) {
|
|
520
582
|
box-shadow: none;
|
|
521
583
|
}
|
|
522
584
|
}
|
|
@@ -624,8 +686,7 @@
|
|
|
624
686
|
padding-inline-end var(--animation-time) ease-in-out,
|
|
625
687
|
gap var(--animation-time) ease-in-out;
|
|
626
688
|
}
|
|
627
|
-
|
|
628
|
-
outline-offset: 2px;
|
|
689
|
+
@include m.focusable() {
|
|
629
690
|
box-shadow: none;
|
|
630
691
|
}
|
|
631
692
|
}
|
|
@@ -753,6 +814,7 @@
|
|
|
753
814
|
.nav-header .navbar-brand {
|
|
754
815
|
color: var(--nav-header-color);
|
|
755
816
|
}
|
|
817
|
+
|
|
756
818
|
#burgerCloseBtn {
|
|
757
819
|
--qld-btn-close-bg: none;
|
|
758
820
|
--qld-btn-close-opacity: 1;
|
|
@@ -381,12 +381,14 @@ export const ContentPageWithSingleForm = {
|
|
|
381
381
|
variantClass: "btn-primary",
|
|
382
382
|
label: "Submit",
|
|
383
383
|
type: "submit",
|
|
384
|
+
islink: false,
|
|
384
385
|
},
|
|
385
386
|
{
|
|
386
387
|
...buttonData,
|
|
387
388
|
variantClass: "btn-secondary",
|
|
388
389
|
label: "Reset",
|
|
389
390
|
type: "reset",
|
|
391
|
+
islink: false,
|
|
390
392
|
},
|
|
391
393
|
],
|
|
392
394
|
},
|
|
@@ -9,7 +9,6 @@ import * as PaginationStories from "./pagination.stories";
|
|
|
9
9
|
|
|
10
10
|
## Design resources
|
|
11
11
|
|
|
12
|
-
- [Component library (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=23167-395566&mode=design&t=NREcuP5UOBB2Y6G4-4)
|
|
13
12
|
- [Master component file (Figma)](https://www.figma.com/file/qKsxl3ogIlBp7dafgxXuCA/QLD-GOV-DDS?type=design&node-id=11056-321779&mode=design&t=YLfxdziHdqD2Ty0o-0)
|
|
14
13
|
- [Design System website](https://www.designsystem.qld.gov.au/components/pagination)
|
|
15
14
|
- [Bootstrap component](https://getbootstrap.com/docs/5.3/components/pagination/)
|