@symbo.ls/preview 0.0.54 → 0.0.55

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.54",
5
+ "version": "0.0.55",
6
6
  "repository": "https://github.com/rackai/editor",
7
7
  "main": "src/index.js",
8
8
  "scripts": {
@@ -1,26 +1,22 @@
1
1
  'use strict'
2
2
 
3
- import { Flex, ResponsiveToolBar, ResponsiveSreensPreview } from '@symbo.ls/components'
3
+ import { Flex, ResponsiveSreensPreview } from '@symbo.ls/components'
4
4
 
5
5
  const footer = {
6
6
  extend: Flex,
7
7
  props: {
8
8
  gap: 'A1',
9
- align: 'center space-between',
10
-
11
- title: {
12
- text: 'For the best experience, check it out from screens larger than 1980px',
13
- color: 'gray6'
14
- }
9
+ align: 'center space-between'
15
10
  },
16
11
 
17
- title: {
18
- extend: 'Paragraph',
19
- props: { margin: '0' }
12
+ Paragraph: {
13
+ text: 'For the best experience, check it out from screens larger than 1980px',
14
+ color: 'gray6',
15
+ margin: '0'
20
16
  },
21
17
 
22
- screenButtons: {
23
- extend: ResponsiveToolBar,
18
+ ResponsiveToolBar: {
19
+ extend: true,
24
20
  devices: {
25
21
  childExtend: {
26
22
  on: {
@@ -41,7 +37,7 @@ export const ResponsivePreview = {
41
37
  position: 'absolute',
42
38
  left: 'B',
43
39
  right: 'B',
44
- padding: '0 0 B'
40
+ padding: '0 0 Z2'
45
41
  },
46
42
 
47
43
  footer
@@ -5,10 +5,10 @@ import { router } from '@domql/router'
5
5
  import { Flex } from '@symbo.ls/components'
6
6
 
7
7
  import {
8
- Page,
9
8
  ShapePreview,
10
9
  ResponsivePreview,
11
- SpacingPreview
10
+ SpacingPreview,
11
+ Page
12
12
  } from '../../components'
13
13
 
14
14
  import { DesignSystemDashboard } from './Dashboard'
@@ -117,7 +117,6 @@ export const DesignSystem = {
117
117
  gap: 'B1',
118
118
 
119
119
  page: {
120
- maxWidth: '100%',
121
120
  width: '100%',
122
121
  flow: 'row',
123
122
  flex: 1,
@@ -136,6 +135,7 @@ export const DesignSystem = {
136
135
  },
137
136
 
138
137
  Page: {
138
+ transform: 'translate3d(-3.5%, 0, 0)',
139
139
  padding: 'X2 C1 B1',
140
140
  flex: 1
141
141
  }
@@ -166,14 +166,14 @@ export const DesignSystem = {
166
166
  },
167
167
 
168
168
  page: {
169
- extend: Page,
169
+ extend: Flex,
170
170
 
171
171
  DesignSystemNavbar: {
172
- props: {},
172
+ extend: true,
173
173
  ...NAV
174
174
  },
175
175
 
176
- Page: {}
176
+ Page: { extend: Page }
177
177
  },
178
178
 
179
179
  widget: {