@haiilo/catalyst 8.1.0 → 8.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.
@@ -1644,8 +1644,9 @@ body {
1644
1644
  */
1645
1645
  /* stylelint-disable value-keyword-case */
1646
1646
  /* stylelint-enable value-keyword-case */
1647
+ .cat-form .cat-form-element,
1647
1648
  .cat-form :is(cat-checkbox, cat-datepicker, cat-inline, cat-input, cat-radio-group, cat-select, cat-textarea, cat-toggle):not(:last-child) {
1648
- margin-bottom: 1.5rem;
1649
+ margin-bottom: calc(0.75rem * var(--cat-form-spacer, 1));
1649
1650
  }
1650
1651
  .cat-form cat-radio:not(:last-child) {
1651
1652
  margin-bottom: 0.5rem;
@@ -2,10 +2,11 @@
2
2
  @use '../mixins' as *;
3
3
 
4
4
  .cat-form {
5
+ .cat-form-element,
5
6
  :is(cat-checkbox, cat-datepicker, cat-inline, cat-input, cat-radio-group, cat-select, cat-textarea, cat-toggle):not(
6
7
  :last-child
7
8
  ) {
8
- margin-bottom: $cat-form-margin-bottom;
9
+ margin-bottom: calc($cat-form-margin-bottom * 0.5 * var(--cat-form-spacer, 1));
9
10
  }
10
11
 
11
12
  cat-radio:not(:last-child) {
@@ -2,10 +2,11 @@
2
2
  @use '../mixins' as *;
3
3
 
4
4
  .cat-form {
5
+ .cat-form-element,
5
6
  :is(cat-checkbox, cat-datepicker, cat-inline, cat-input, cat-radio-group, cat-select, cat-textarea, cat-toggle):not(
6
7
  :last-child
7
8
  ) {
8
- margin-bottom: $cat-form-margin-bottom;
9
+ margin-bottom: calc($cat-form-margin-bottom * 0.5 * var(--cat-form-spacer, 1));
9
10
  }
10
11
 
11
12
  cat-radio:not(:last-child) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haiilo/catalyst",
3
- "version": "8.1.0",
3
+ "version": "8.1.1",
4
4
  "description": "Catalyst Design System",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "sanitize.css": "13.0.0",
39
39
  "tabbable": "6.2.0",
40
40
  "toastify-js": "1.12.0",
41
- "@haiilo/catalyst-tokens": "8.1.0"
41
+ "@haiilo/catalyst-tokens": "8.1.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/core": "^7.19.6",