@moreonion/foundist 3.4.1 → 3.4.2-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moreonion/foundist",
3
- "version": "3.4.1",
3
+ "version": "3.4.2-1",
4
4
  "description": "Foundation based default theme for Impact Stack landing pages.",
5
5
  "author": "More Onion <kontakt@more-onion.at>",
6
6
  "license": "MIT",
@@ -26,28 +26,28 @@
26
26
  "prepare": "husky"
27
27
  },
28
28
  "dependencies": {
29
- "@moreonion/foundation-base": "3.4.1",
29
+ "@moreonion/foundation-base": "3.4.3-0",
30
30
  "foundation-sites": "6.9.0",
31
31
  "jquery": "^3.7.0",
32
- "sass-embedded": "^1.79.0",
32
+ "sass-embedded": "^1.83.1",
33
33
  "select2": "^4.1.0-rc.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "autoprefixer": "^10.4.20",
37
37
  "eslint": "8.57.0",
38
38
  "eslint-config-standard": "^17.1.0",
39
- "eslint-plugin-import": "^2.29.0",
39
+ "eslint-plugin-import": "^2.31.0",
40
40
  "eslint-plugin-n": "^16.6.0",
41
41
  "eslint-plugin-promise": "^6.6.0",
42
42
  "husky": "^9.1.0",
43
- "lint-staged": "^15.2.0",
44
- "postcss": "^8.4.47",
45
- "prettier": "^3.3.0",
46
- "stylelint": "^16.9.0",
43
+ "lint-staged": "^15.3.0",
44
+ "postcss": "^8.5.0",
45
+ "prettier": "^3.4.0",
46
+ "stylelint": "^16.13.0",
47
47
  "stylelint-config-idiomatic-order": "^10.0.0",
48
48
  "stylelint-config-recommended-scss": "^14.1.0",
49
- "stylelint-scss": "^6.7.0",
50
- "vite": "^5.4.0",
49
+ "stylelint-scss": "^6.10.0",
50
+ "vite": "^6.0.0",
51
51
  "vite-plugin-nunjucks": "^0.2.0"
52
52
  },
53
53
  "lint-staged": {
@@ -59,5 +59,6 @@
59
59
  "eslint"
60
60
  ]
61
61
  },
62
- "packageManager": "yarn@4.4.0"
62
+ "packageManager": "yarn@4.4.0",
63
+ "stableVersion": "3.4.1"
63
64
  }
@@ -114,7 +114,9 @@ $dropdown-menu-parent-border-width: $input-border-width !default;
114
114
  $dropdownmenu-border: (
115
115
  $dropdown-menu-parent-border-width solid $dropdown-menu-parent-border-color-active
116
116
  ) !default;
117
- $dropdownmenu-padding: ($dropdown-menu-item-height - $menu-item-font-size * $menu-item-line-height) *
117
+ $dropdownmenu-padding: (
118
+ $dropdown-menu-item-height - $menu-item-font-size * $menu-item-line-height
119
+ ) *
118
120
  0.5 - (get-side($dropdown-menu-parent-border-width, top)) get-side($input-padding, right)
119
121
  ($dropdown-menu-item-height - $menu-item-font-size * $menu-item-line-height) * 0.5 -
120
122
  (get-side($dropdown-menu-parent-border-width, bottom)) get-side($input-padding, left) !default;
@@ -92,13 +92,6 @@ $donation-amount-max-buttons-per-row: 3 !default;
92
92
  font-size: $donation-amount-font-size;
93
93
  line-height: grid-lineheight($donation-amount-font-size);
94
94
 
95
- @if ($donation-amount-font-size == $large-font-size) {
96
- @include breakpoint(small down) {
97
- font-size: $lead-font-size;
98
- line-height: $lead-lineheight;
99
- }
100
- }
101
-
102
95
  // Default state
103
96
  // (only override values that differ from option buttons)
104
97
  @if $option-button-fill == hollow {
@@ -124,6 +117,14 @@ $donation-amount-max-buttons-per-row: 3 !default;
124
117
  }
125
118
  }
126
119
 
120
+ // Reduce font size on small screens
121
+ @if ($donation-amount-font-size == $large-font-size) {
122
+ @include breakpoint(small down) {
123
+ font-size: $lead-font-size;
124
+ line-height: $lead-lineheight;
125
+ }
126
+ }
127
+
127
128
  // Checked state
128
129
  &:checked + .button {
129
130
  border-color: $donation-amount-border-color-checked;