@internetstiftelsen/styleguide 4.1.13-beta.0.2 → 4.1.13

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": "@internetstiftelsen/styleguide",
3
- "version": "4.1.13-beta.0.2",
3
+ "version": "4.1.13",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -70,17 +70,17 @@
70
70
  "uglify-es": "^3.3.9"
71
71
  },
72
72
  "dependencies": {
73
- "@tiptap/core": "^2.0.0-beta.131",
74
- "@tiptap/extension-bold": "^2.0.0-beta.199",
75
- "@tiptap/extension-bullet-list": "^2.0.0-beta.199",
76
- "@tiptap/extension-document": "^2.0.0-beta.199",
77
- "@tiptap/extension-dropcursor": "^2.0.0-beta.199",
78
- "@tiptap/extension-history": "^2.0.0-beta.199",
79
- "@tiptap/extension-italic": "^2.0.0-beta.199",
80
- "@tiptap/extension-link": "^2.0.0-beta.25",
81
- "@tiptap/extension-list-item": "^2.0.0-beta.199",
82
- "@tiptap/extension-paragraph": "^2.0.0-beta.199",
83
- "@tiptap/extension-text": "^2.0.0-beta.199",
73
+ "@tiptap/core": "^2.9.0",
74
+ "@tiptap/extension-bold": "^2.9.0",
75
+ "@tiptap/extension-bullet-list": "^2.9.0",
76
+ "@tiptap/extension-document": "^2.9.0",
77
+ "@tiptap/extension-dropcursor": "^2.9.0",
78
+ "@tiptap/extension-history": "^2.9.0",
79
+ "@tiptap/extension-italic": "^2.9.0",
80
+ "@tiptap/extension-link": "^2.9.0",
81
+ "@tiptap/extension-list-item": "^2.9.0",
82
+ "@tiptap/extension-paragraph": "^2.9.0",
83
+ "@tiptap/extension-text": "^2.9.0",
84
84
  "a11y-toggle": "^2.1.0",
85
85
  "focus-trap": "^6.7.3",
86
86
  "glider-js": "^1.7.7",
@@ -52,6 +52,10 @@
52
52
  @for $i from 1 through 3 {
53
53
  $col-gap: $gap * ($i - 1);
54
54
 
55
+ @if $reversed == false {
56
+ $col-gap: -$col-gap;
57
+ }
58
+
55
59
  > .grid,
56
60
  > [class*='grid-']:nth-child(#{$i}) {
57
61
  transform: translateY(rhythm($col-gap));
@@ -62,10 +66,6 @@
62
66
  transform: translateY(rhythm($gap));
63
67
  }
64
68
  }
65
-
66
- @if $reversed == false {
67
- $col-gap: -$col-gap;
68
- }
69
69
  }
70
70
  }
71
71
 
@@ -106,6 +106,7 @@
106
106
 
107
107
  @include bp-up(lg) {
108
108
 
109
+
109
110
  margin: rhythm($margin * 1.5) 0 0;
110
111
 
111
112
  &:not(.asymmetric-reversed) {
@@ -115,8 +116,8 @@
115
116
 
116
117
  &.asymmetric-reversed {
117
118
  $bp-gap: $gap;
118
- margin-bottom: calc(125px);
119
119
  @include make-asymmetric-cols($bp-gap, true);
120
+ margin-bottom: calc(125px);
120
121
  }
121
122
  }
122
123
 
@@ -130,8 +131,8 @@
130
131
 
131
132
  &.asymmetric-reversed {
132
133
  $bp-gap: $gap;
133
- margin-bottom: calc(150px);
134
134
  @include make-asymmetric-cols($bp-gap, true);
135
+ margin-bottom: calc(150px);
135
136
  }
136
137
  }
137
138
  }