@qld-gov-au/qgds-bootstrap5 2.1.8 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- <!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.1.8","branch":"HEAD","tag":"v2.1.8","commit":"725614dd2b3f362a82c568aaf0dd15676b17b6af","majorVersion":"v2"} -->
2
+ <!-- VERSION_DETAILS={"project_id":"@qld-gov-au/qgds-bootstrap5","version":"2.1.9","branch":"HEAD","tag":"v2.1.9","commit":"228f45b9dea4dd6674147c93a086038ac167746f","majorVersion":"v2"} -->
3
3
 
4
4
  {{! Select environment, used verbatium if not using predefind key
5
5
  cdn := PROD|STAGING|BETA|TEST|DEV|???
@@ -32,7 +32,7 @@
32
32
  <ul class="dropdown-menu">
33
33
  {{#unless dropdownOptions.hasNoLink}}
34
34
  <li>
35
- <a class="dropdown-item parent-link" role="button"{{#if currentPage}} aria-current="page"{{/if}}{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{#if dropdownOptions.alternativeText}}{{dropdownOptions.alternativeText}}{{else}}{{text}}{{/if}}</a>
35
+ <a class="dropdown-item parent-link" href="{{url}}" {{#if currentPage}} aria-current="page"{{/if}}{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{#if dropdownOptions.alternativeText}}{{dropdownOptions.alternativeText}}{{else}}{{text}}{{/if}}</a>
36
36
  {{#if dropdownOptions.description}}
37
37
  <p>{{dropdownOptions.description}}</p>
38
38
  {{/if}}
@@ -44,7 +44,7 @@
44
44
  {{{htmlContent}}}
45
45
  {{/if}}
46
46
  {{#unless isHTML}}
47
- <a class="dropdown-item" href="{{url}}"{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{text}}</a>
47
+ <a class="dropdown-item" href="{{url}}"{{#if target}} {{#if currentPage}} aria-current="page"{{/if}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{text}}</a>
48
48
  {{#if description}}
49
49
  <p>{{description}}</p>
50
50
  {{/if}}
@@ -53,7 +53,7 @@
53
53
  {{/each}}
54
54
  {{#if dropdownOptions.viewAllHref}}
55
55
  <li>
56
- <a class="dropdown-item view-all" href="{{dropdownOptions.viewAllHref}}">View all</a>
56
+ <a class="dropdown-item view-all" {{#if currentPage}} aria-current="page"{{/if}} href="{{dropdownOptions.viewAllHref}}">View all</a>
57
57
  </li>
58
58
  {{/if}}
59
59
  </ul>
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qld-gov-au/qgds-bootstrap5",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,11 +70,11 @@
70
70
  "chai": "^6.2.1",
71
71
  "chalk": "^5.6.2",
72
72
  "chromatic": "^13.3.3",
73
- "esbuild": "0.27.0",
73
+ "esbuild": "0.27.2",
74
74
  "esbuild-plugin-copy": "^2.1.1",
75
75
  "esbuild-plugin-eslint": "^0.3.12",
76
76
  "esbuild-plugin-handlebars": "1.0.3",
77
- "esbuild-sass-plugin": "3.3.1",
77
+ "esbuild-sass-plugin": "3.6.0",
78
78
  "eslint": "9.39.1",
79
79
  "eslint-plugin-json": "^4.0.1",
80
80
  "eslint-plugin-storybook": "^10.1.10",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qld-gov-au/qgds-bootstrap5",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,11 +70,11 @@
70
70
  "chai": "^6.2.1",
71
71
  "chalk": "^5.6.2",
72
72
  "chromatic": "^13.3.3",
73
- "esbuild": "0.27.0",
73
+ "esbuild": "0.27.2",
74
74
  "esbuild-plugin-copy": "^2.1.1",
75
75
  "esbuild-plugin-eslint": "^0.3.12",
76
76
  "esbuild-plugin-handlebars": "1.0.3",
77
- "esbuild-sass-plugin": "3.3.1",
77
+ "esbuild-sass-plugin": "3.6.0",
78
78
  "eslint": "9.39.1",
79
79
  "eslint-plugin-json": "^4.0.1",
80
80
  "eslint-plugin-storybook": "^10.1.10",
@@ -318,6 +318,11 @@
318
318
  }
319
319
  }
320
320
  &-img {
321
+ // Fix: Prevent .ratio:before from blocking clicks on card heading in multi-action cards
322
+ &.ratio::before {
323
+ display: inline-block;
324
+ }
325
+
321
326
  &:after {
322
327
  content: "";
323
328
  position: absolute;
@@ -426,7 +431,7 @@
426
431
  .tag-list {
427
432
  margin: 0;
428
433
  padding: 0;
429
- gap: 1rem;
434
+ gap: 0.5rem;
430
435
  display: flex;
431
436
  flex-wrap: wrap;
432
437
  .tag-item {
@@ -412,4 +412,12 @@
412
412
  line-height: 1.5rem;
413
413
  }
414
414
  }
415
+
416
+ // Fix: Allow long email addresses to wrap on small screens
417
+ @media (max-width: 700px) {
418
+ a {
419
+ word-wrap: break-word;
420
+ word-break: break-word;
421
+ }
422
+ }
415
423
  }
@@ -271,6 +271,11 @@ $form-check-inline-margin-end: 1rem;
271
271
  }
272
272
  }
273
273
 
274
+ .form-select {
275
+ text-overflow: ellipsis;
276
+ padding-inline-end: 42px;
277
+ }
278
+
274
279
  .form-check {
275
280
  display: flex;
276
281
  align-items: center;
@@ -22,7 +22,7 @@
22
22
  max-width: var(--max-column-width);
23
23
  }
24
24
  ul {
25
- // width: 100%;
25
+ width: 100%;
26
26
  display: grid;
27
27
  gap: 0 1rem;
28
28
  }
@@ -32,7 +32,7 @@
32
32
  <ul class="dropdown-menu">
33
33
  {{#unless dropdownOptions.hasNoLink}}
34
34
  <li>
35
- <a class="dropdown-item parent-link" role="button"{{#if currentPage}} aria-current="page"{{/if}}{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{#if dropdownOptions.alternativeText}}{{dropdownOptions.alternativeText}}{{else}}{{text}}{{/if}}</a>
35
+ <a class="dropdown-item parent-link" href="{{url}}" {{#if currentPage}} aria-current="page"{{/if}}{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{#if dropdownOptions.alternativeText}}{{dropdownOptions.alternativeText}}{{else}}{{text}}{{/if}}</a>
36
36
  {{#if dropdownOptions.description}}
37
37
  <p>{{dropdownOptions.description}}</p>
38
38
  {{/if}}
@@ -44,7 +44,7 @@
44
44
  {{{htmlContent}}}
45
45
  {{/if}}
46
46
  {{#unless isHTML}}
47
- <a class="dropdown-item" href="{{url}}"{{#if target}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{text}}</a>
47
+ <a class="dropdown-item" href="{{url}}"{{#if target}} {{#if currentPage}} aria-current="page"{{/if}} target="{{target}}"{{/if}}{{#ifCond target '==' '_blank'}} rel="noopener noreferrer"{{/ifCond}}>{{text}}</a>
48
48
  {{#if description}}
49
49
  <p>{{description}}</p>
50
50
  {{/if}}
@@ -53,7 +53,7 @@
53
53
  {{/each}}
54
54
  {{#if dropdownOptions.viewAllHref}}
55
55
  <li>
56
- <a class="dropdown-item view-all" href="{{dropdownOptions.viewAllHref}}">View all</a>
56
+ <a class="dropdown-item view-all" {{#if currentPage}} aria-current="page"{{/if}} href="{{dropdownOptions.viewAllHref}}">View all</a>
57
57
  </li>
58
58
  {{/if}}
59
59
  </ul>