@symbo.ls/preview 0.0.43 → 0.0.44

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
@@ -2,7 +2,7 @@
2
2
  "name": "@symbo.ls/preview",
3
3
  "description": "",
4
4
  "author": "",
5
- "version": "0.0.43",
5
+ "version": "0.0.44",
6
6
  "repository": "https://github.com/rackai/editor",
7
7
  "main": "src/index.js",
8
8
  "scripts": {
@@ -18,7 +18,8 @@ const mapFonts = (el, s) => {
18
18
 
19
19
  return {
20
20
  title: v,
21
- href: `/fonts/font-settings/${v}`,
21
+ href: `/typography/font-settings/${v}`,
22
+ scrollToTop: false,
22
23
  labels: [
23
24
  { icon: 'fontVariable', text: fontWeightCaption }
24
25
  ]
@@ -34,7 +35,7 @@ const FontFaces = {
34
35
  p: 'Document @font-face, default and backup fonts',
35
36
  nav: [{
36
37
  icon: 'plus',
37
- href: '/fonts/upload-font'
38
+ href: '/typography/upload-font'
38
39
  }]
39
40
  }
40
41
  },
@@ -61,7 +62,7 @@ const mapFontFamilies = (el, s) => {
61
62
  if (v === 'default') return
62
63
  return {
63
64
  title: v,
64
- href: `/fonts/font-family/${v}`,
65
+ href: `/typography/font-family/${v}`,
65
66
  val
66
67
  }
67
68
  }).filter(v => v)
@@ -76,7 +77,8 @@ const FontFamilies = {
76
77
  p: 'Setup a set and fallback fonts as font families',
77
78
  nav: [{
78
79
  icon: 'plus',
79
- href: '/fonts/add-font-family'
80
+ href: '/typography/add-font-family',
81
+ scrollToTop: false
80
82
  }]
81
83
  }
82
84
  },
@@ -16,7 +16,8 @@ const mapFonts = (el, s) => {
16
16
 
17
17
  return {
18
18
  title: v,
19
- href: `/fonts/font-settings/${v}`,
19
+ href: `/typography/font-settings/${v}`,
20
+ scrollToTop: false,
20
21
  labels: [
21
22
  { icon: 'fontVariable', text: fontWeightCaption }
22
23
  ]
@@ -32,7 +33,7 @@ export default {
32
33
  p: 'Document @font-face, default and backup fonts',
33
34
  nav: [{
34
35
  icon: 'plus',
35
- href: '/fonts/upload-font'
36
+ href: '/typography/upload-font'
36
37
  }]
37
38
  }
38
39
  },
@@ -13,7 +13,8 @@ const mapFontFamilies = (el, s) => {
13
13
  if (v === 'default') return
14
14
  return {
15
15
  title: v,
16
- href: `/fonts/font-family/${v}`,
16
+ href: `/typography/font-family/${v}`,
17
+ scrollToTop: false,
17
18
  val
18
19
  }
19
20
  }).filter(v => v)
@@ -27,7 +28,8 @@ export default {
27
28
  p: 'Setup a set and fallback fonts as font families',
28
29
  nav: [{
29
30
  icon: 'plus',
30
- href: '/fonts/add-font-family'
31
+ href: '/typography/add-font-family',
32
+ scrollToTop: false
31
33
  }]
32
34
  }
33
35
  },