@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 +5 -6
- package/src/index.js +19 -19
- package/symbols.json +1 -2
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/starter-kit",
|
|
3
|
-
"version": "2.
|
|
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": "
|
|
9
|
-
"
|
|
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.
|
|
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": "
|
|
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
|
-
|
|
10
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
)
|
|
26
|
-
}
|
|
12
|
+
props: {
|
|
13
|
+
theme: 'document',
|
|
14
|
+
flow: 'column',
|
|
15
|
+
height: '100vh',
|
|
16
|
+
align: 'center space-between'
|
|
17
|
+
},
|
|
27
18
|
|
|
28
|
-
|
|
19
|
+
Header: {},
|
|
20
|
+
|
|
21
|
+
content: {},
|
|
22
|
+
|
|
23
|
+
Footer: { text: 'Footer' }
|
|
24
|
+
}, {
|
|
25
|
+
designSystem,
|
|
26
|
+
components,
|
|
27
|
+
pages
|
|
28
|
+
})
|
package/symbols.json
CHANGED