dso-toolkit 56.0.0 → 57.0.0

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 (30) hide show
  1. package/CHANGELOG.md +2526 -0
  2. package/dist/dso-icons.svg +155 -147
  3. package/dist/dso.css +320 -600
  4. package/package.json +1 -1
  5. package/src/components/accordion/accordion.scss +20 -7
  6. package/src/components/accordion/accordion.variables.scss +2 -0
  7. package/src/components/alert/alert.mixins.scss +2 -2
  8. package/src/components/button/button.mixins.scss +12 -5
  9. package/src/components/button/button.scss +0 -54
  10. package/src/components/button/button.variables.scss +2 -22
  11. package/src/components/button/readme.md +3 -3
  12. package/src/components/button-row/button-row.scss +8 -3
  13. package/src/components/dropdown-menu/dropdown-menu.mixins.scss +2 -4
  14. package/src/components/dropdown-menu/dropdown-menu.scss +6 -12
  15. package/src/components/form/form-buttons/form-buttons.scss +1 -2
  16. package/src/components/form/form-groups/files/form-group-files.scss +0 -4
  17. package/src/components/headings/headings.mixins.scss +1 -1
  18. package/src/components/headings/headings.scss +1 -1
  19. package/src/components/highlight-box/highlight-box.mixins.scss +2 -4
  20. package/src/components/info/info.mixins.scss +4 -4
  21. package/src/components/list/list.scss +32 -0
  22. package/src/components/list/readme.md +7 -0
  23. package/src/components/list-button/list-button.scss +3 -3
  24. package/src/components/modal/modal.mixins.scss +2 -4
  25. package/src/components/modal/modal.scss +2 -4
  26. package/src/components/rich-content/rich-content.scss +2 -2
  27. package/src/components/shopping-cart/shopping-cart.scss +1 -2
  28. package/src/components/table/table.scss +1 -2
  29. package/src/global/spacing.scss +46 -0
  30. package/src/variables/units.scss +5 -3
@@ -1,7 +1,53 @@
1
1
  @use "../variables/units.scss";
2
2
 
3
3
  // Create space between action list and form buttons
4
+ // -------------------------------------------------
4
5
  // To Do: integrate this with things to come within this file.
5
6
  :where(dso-action-list) + :where(.dso-form-buttons) {
6
7
  margin-block-start: units.$vertical-spacing-xlarge;
7
8
  }
9
+
10
+ // Original spacing of dso-button-row
11
+ // ----------------------------------
12
+ // To Do: re-evaluate vertical rhythm
13
+ :where(.dso-button-row) {
14
+ margin-block: units.$u2 units.$u4;
15
+ }
16
+
17
+ // within dso-highlight-box, create space for dso-button-row when preceded and/or followed by other elements
18
+ // ---------------------------------------------------------------------------------------------------------
19
+ // To Do: integrate this with things to come within this file, and remove the wildcard!
20
+ :where(dso-highlight-box),
21
+ :where(.dso-highlight-box) {
22
+ :where(.dso-button-row) {
23
+ margin-block: 0;
24
+ }
25
+
26
+ :where(*) + :where(.dso-button-row),
27
+ :where(.dso-button-row) + :where(*) {
28
+ margin-block-start: units.$vertical-spacing-medium;
29
+ }
30
+ }
31
+
32
+ // TEMP fix for excessive whitespace within the accordion rich content
33
+ // To do: a more permanent solution for vertical rhythm!
34
+ .dso-accordion-section {
35
+ // specificity increase necessary..
36
+ &.dso-accordion-default,
37
+ &.dso-accordion-compact,
38
+ &.dso-accordion-neutral,
39
+ &.dso-accordion-compact-black {
40
+ .dso-rich-content {
41
+ ul ul {
42
+ margin-block-end: 0;
43
+ }
44
+ > :first-child {
45
+ margin-block-start: 0;
46
+ }
47
+
48
+ > :last-child {
49
+ margin-block-end: 0;
50
+ }
51
+ }
52
+ }
53
+ }
@@ -30,9 +30,11 @@ $ru8: $_runit * 8;
30
30
  $ru9: $_runit * 9;
31
31
  $ru10: $_runit * 10;
32
32
 
33
- $font-line-height-h1: 1.25;
34
- $font-line-height-h2: 1.33;
35
- $font-line-height-h3: 1.2;
33
+ $font-heading-line-height-base: 1.25;
34
+
35
+ $font-line-height-h1: $font-heading-line-height-base;
36
+ $font-line-height-h2: $font-heading-line-height-base;
37
+ $font-line-height-h3: $font-heading-line-height-base;
36
38
  $font-line-height-h4: 1.5;
37
39
  $font-line-height-h5: 1.5;
38
40
  $font-line-height-h6: 1.5;