@symbo.ls/preview 0.0.94 → 0.0.96

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,8 +2,8 @@
2
2
  "name": "@symbo.ls/preview",
3
3
  "description": "",
4
4
  "author": "",
5
- "version": "0.0.94",
6
- "main": "src/index.js",
5
+ "version": "0.0.96",
6
+ "main": "src/app.js",
7
7
  "scripts": {
8
8
  "link:all": "yarn link smbls domql css-in-props @symbo.ls/icons @symbo.ls/config @symbo.ls/components @symbo.ls/scratch @symbo.ls/playground @symbo.ls/utils @symbo.ls/init @symbo.ls/config-default @domql/router @domql/utils @domql/router",
9
9
  "clean": "rm -rf .cache dist",
@@ -34,7 +34,6 @@
34
34
  "devDependencies": {
35
35
  "domql": "^1.5.35",
36
36
  "@babel/core": "^7.11.5",
37
- "@emotion/css": "^11.5.0",
38
37
  "babel-eslint": "^10.0.3",
39
38
  "eslint": "^6.1.0",
40
39
  "parcel-bundler": "^1.12.4",
@@ -1,7 +1,7 @@
1
1
  'use strict'
2
2
 
3
3
  import { router } from '@domql/router'
4
- import { HeaderInitial, HeaderOfMember } from '@symbo.ls/components'
4
+ import { HeaderSignup, HeaderOfMember } from '@symbo.ls/components'
5
5
 
6
6
  export const Header = {
7
7
  props: {
@@ -24,14 +24,12 @@ export const HeaderOnRouter = {
24
24
 
25
25
  define: { routes: param => param },
26
26
  routes: {
27
- '/': HeaderInitial,
27
+ '/': HeaderSignup, // HeaderInitial,
28
28
  '/*': HeaderOfMember
29
29
  },
30
30
 
31
31
  on: {
32
32
  render: (element, s) => {
33
- const { pathname, hash } = window.location
34
- const url = pathname + hash
35
33
  if (s.userToken) {
36
34
  router(element, '/*', {}, { updateState: false, pushState: false })
37
35
  } else {
@@ -39,8 +37,6 @@ export const HeaderOnRouter = {
39
37
  }
40
38
  },
41
39
  update: (element, s, changes) => {
42
- const { pathname, hash } = window.location
43
- const url = pathname + hash
44
40
  if (cacheToken !== s.userToken) {
45
41
  cacheToken = s.userToken
46
42
  if (s.userToken) {
@@ -5,7 +5,7 @@ import {
5
5
  Grid,
6
6
  SectionHeader
7
7
  } from '@symbo.ls/components'
8
- import { COMPONENTS } from '../../../.symbols'
8
+ import { COMPONENTS } from '@symbo.ls/temp-db/symbols'
9
9
  import { gridStyle, rowStyle } from './style'
10
10
 
11
11
  export default {
@@ -1,7 +1,7 @@
1
1
  'use strict'
2
2
 
3
3
  import { SEQUENCE, TYPOGRAPHY } from '@symbo.ls/scratch'
4
- import { LIBRARY, COMPONENTS } from '../../../.symbols' // eslint-disable-line
4
+ import { LIBRARY, COMPONENTS } from '@symbo.ls/temp-db/symbols' // eslint-disable-line
5
5
 
6
6
  const COMPONENT_ROUTES = {}
7
7
  // LIBRARY.map(v => (COMPONENT_ROUTES[`/${v.key}`] = v))