@symbo.ls/preview 0.0.42 → 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.42",
5
+ "version": "0.0.44",
6
6
  "repository": "https://github.com/rackai/editor",
7
7
  "main": "src/index.js",
8
8
  "scripts": {
@@ -9,7 +9,7 @@ import { PageExtend,
9
9
  Spaces,
10
10
  Icons,
11
11
  Typography,
12
- Fonts,
12
+ Fonts, // eslint-disable-line
13
13
  MediaQuery
14
14
  } from '..'
15
15
 
@@ -154,7 +154,7 @@ export const DesignSystem = {
154
154
  position: 'absolute',
155
155
  pointerEvents: 'none',
156
156
  top: '50%',
157
- left: '90%',
157
+ left: '100%',
158
158
  shape: 'rectangle',
159
159
  shapeDirection: null,
160
160
  padding: 'X2 Z1',
@@ -163,7 +163,8 @@ export const DesignSystem = {
163
163
  visibility: 'hidden',
164
164
  transition: 'B default-bezier',
165
165
  transitionProperty: 'opacity, transform',
166
- zIndex: 1000,
166
+ textAlign: 'start',
167
+ zIndex: 9999,
167
168
  lineHeight: 1,
168
169
  title: {
169
170
  fontSize: 'Z',
@@ -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
  },