@internetstiftelsen/styleguide 4.0.8-beta.0.7 → 4.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "4.0.8-beta.0.7",
3
+ "version": "4.0.9",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -377,6 +377,10 @@
377
377
 
378
378
  @include e(paragraph) {
379
379
  color: $color-snow;
380
+
381
+ @include bp-down(sm-xs) {
382
+ font-size: 95%;
383
+ }
380
384
  }
381
385
 
382
386
  @include e(text) {
@@ -386,15 +390,13 @@
386
390
  @include e(link) {
387
391
  color: $color-snow;
388
392
  }
389
- }
390
393
 
391
- @include m(sticky-buttons) {
392
394
  @include bp-down(sm-xs) {
393
395
  @include e(buttons) {
394
396
  position: absolute;
395
397
  bottom: 0;
396
- left: rhythm(2);
397
- right: rhythm(2);
398
+ left: rhythm(3);
399
+ right: rhythm(3);
398
400
  display: flex;
399
401
  flex-wrap: nowrap;
400
402
  justify-content: space-between;
@@ -28,13 +28,11 @@ module.exports = {
28
28
  {
29
29
  name: 'Buttons',
30
30
  context: {
31
- no_image_class: 'o-hero--no-break o-hero--sticky-buttons',
31
+ no_image_class: '',
32
32
  has_tags: false,
33
33
  has_buttons: true,
34
34
  limited_width: false,
35
- heading: 'Välkommen till Goto 10',
36
35
  hero_image: 'https://stage.goto10.se/app/uploads/2024/05/toppbild-goto-10-linkoping-1-.jpg.webp',
37
- text: 'Goto 10 är en kostnadsfri mötesplats för kunskapsutbyte och innovation som drivs av Internetstiftelsen. Besök oss i Linköping, Malmö och Stockholm.',
38
36
  },
39
37
  },
40
38
  {
@@ -135,14 +133,13 @@ module.exports = {
135
133
  name: 'No breakpoint',
136
134
  context: {
137
135
  no_image_class: 'o-hero--no-break',
138
- limited_width: false,
139
- has_buttons: true,
140
136
  has_tags: false,
141
- has_link: false,
142
- has_text: true,
143
- text: 'Konferens online 2023'
144
-
145
- }
137
+ has_buttons: true,
138
+ limited_width: false,
139
+ heading: 'Välkommen till Goto 10',
140
+ hero_image: 'https://stage.goto10.se/app/uploads/2024/05/toppbild-goto-10-linkoping-1-.jpg.webp',
141
+ text: 'Goto 10 är en kostnadsfri mötesplats för kunskapsutbyte och innovation som drivs av Internetstiftelsen. Besök oss i Linköping, Malmö och Stockholm.',
142
+ },
146
143
  },
147
144
  {
148
145
  name: 'Dynamic headline',