@symbo.ls/starter-kit 2.28.8 → 2.29.1

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,16 +1,15 @@
1
1
  {
2
2
  "name": "@symbo.ls/starter-kit",
3
- "version": "2.28.8",
3
+ "version": "2.29.1",
4
4
  "description": "Example dev setup to use Symbols",
5
5
  "author": "symbo.ls",
6
6
  "repository": "https://github.com/symbo-ls/starter-kit",
7
7
  "scripts": {
8
- "start": "npx parcel index.html",
9
- "fetch": "npx @symbo.ls/cli fetch",
10
- "build": "npx parcel build index.html"
8
+ "start": "parcel index.html",
9
+ "build": "parcel build index.html"
11
10
  },
12
11
  "dependencies": {
13
- "smbls": "^2.28.2"
12
+ "smbls": "^2.29.1"
14
13
  },
15
14
  "devDependencies": {
16
15
  "@babel/core": "^7.26.0",
@@ -26,5 +25,5 @@
26
25
  "parcel": "^2.13.3",
27
26
  "standard": "^17.1.2"
28
27
  },
29
- "gitHead": "13618042ad77b0dfec222db9754931bb94c3e226"
28
+ "gitHead": "389e9d4197c7f0037b3cb941a2cc949a7a2a3a35"
30
29
  }
package/src/index.js CHANGED
@@ -1,28 +1,28 @@
1
1
  'use strict'
2
2
 
3
- import { create } from 'smbls'
3
+ import { create, Flex } from 'smbls'
4
4
 
5
5
  import designSystem from './designSystem'
6
6
  import * as components from './components'
7
7
  import pages from './pages'
8
8
 
9
- async function initialize () {
10
- let fetched_context
11
- try {
12
- fetched_context = await import('../smbls_dist')
13
- } catch (error) {
14
- console.error('Failed to load fetched_context:', error)
15
- fetched_context = {}
16
- }
9
+ create({
10
+ extend: Flex,
17
11
 
18
- create(
19
- {},
20
- fetched_context || {
21
- designSystem,
22
- components,
23
- pages
24
- }
25
- )
26
- }
12
+ props: {
13
+ theme: 'document',
14
+ flow: 'column',
15
+ height: '100vh',
16
+ align: 'center space-between'
17
+ },
27
18
 
28
- initialize()
19
+ Header: {},
20
+
21
+ content: {},
22
+
23
+ Footer: { text: 'Footer' }
24
+ }, {
25
+ designSystem,
26
+ components,
27
+ pages
28
+ })
package/symbols.json CHANGED
@@ -1,4 +1,3 @@
1
1
  {
2
- "key": "demo.symbo.ls",
3
- "distDir": "smbls_dist"
2
+ "key": "projectName.symbo.ls"
4
3
  }