@symbo.ls/uikit 0.6.22 → 2.7.7
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/README.md +38 -0
- package/index.js +3 -10
- package/package.json +8 -4
- package/react.js +8 -0
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Symbols
|
|
2
|
+
|
|
3
|
+
UI Library in composition of [Scratch](https://github.com/symbo.ls/scratch) and [DOMQL](https://github.com/symbo.ls/domql) or [DOMQL](https://github.com/symbo-ls/smbls/tree/main/packages/all/packages/react)
|
|
4
|
+
|
|
5
|
+
Check out the [documentation page](https://docs.symbols.app/).
|
|
6
|
+
|
|
7
|
+
[](https://badge.fury.io/js/smbls)
|
|
8
|
+
|
|
9
|
+
### UI Components
|
|
10
|
+
|
|
11
|
+
Library consists with packages. Components can be invoked individually.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Setup
|
|
15
|
+
|
|
16
|
+
1. Installation
|
|
17
|
+
```
|
|
18
|
+
yarn add 'smbls'
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
2. Import the component from Symbols
|
|
22
|
+
```
|
|
23
|
+
import { Box } from 'smbls'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
3. Use it inside your DOMQL code
|
|
27
|
+
### DOMQL
|
|
28
|
+
```javascript
|
|
29
|
+
const Header = {
|
|
30
|
+
proto: Box,
|
|
31
|
+
// ...Other Properties
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### React
|
|
36
|
+
```javascript
|
|
37
|
+
<Box {...props} />
|
|
38
|
+
```
|
package/index.js
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
export * from '@symbo.ls/
|
|
3
|
+
export * from '@symbo.ls/init'
|
|
4
4
|
|
|
5
|
-
export * from './styles'
|
|
5
|
+
// export * from './styles'
|
|
6
6
|
|
|
7
|
-
export * from '@symbo.ls/
|
|
8
|
-
export * from '@symbo.ls/block'
|
|
9
|
-
export * from '@symbo.ls/shape'
|
|
10
|
-
export * from '@symbo.ls/flex'
|
|
11
|
-
export * from '@symbo.ls/grid'
|
|
12
|
-
export * from '@symbo.ls/direction'
|
|
13
|
-
export * from '@symbo.ls/position'
|
|
14
|
-
export * from '@symbo.ls/overflow'
|
|
7
|
+
export * from '@symbo.ls/atoms'
|
|
15
8
|
|
|
16
9
|
export * from '@symbo.ls/box'
|
|
17
10
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/uikit",
|
|
3
3
|
"description": "UI Library built on Scratch and DOMQL",
|
|
4
|
-
"version": "
|
|
5
|
-
"
|
|
4
|
+
"version": "2.7.7",
|
|
5
|
+
"author": "symbo.ls",
|
|
6
|
+
"repository": "https://github.com/symbo-ls/smbls",
|
|
6
7
|
"main": "index.js",
|
|
7
8
|
"files": [
|
|
8
|
-
"
|
|
9
|
+
"index.js",
|
|
10
|
+
"react.js"
|
|
9
11
|
],
|
|
10
12
|
"publishConfig": {
|
|
11
13
|
"registry": "https://registry.npmjs.org"
|
|
@@ -26,6 +28,7 @@
|
|
|
26
28
|
"@symbo.ls/icon": "latest",
|
|
27
29
|
"@symbo.ls/icon-text": "latest",
|
|
28
30
|
"@symbo.ls/img": "latest",
|
|
31
|
+
"@symbo.ls/init": "latest",
|
|
29
32
|
"@symbo.ls/input": "latest",
|
|
30
33
|
"@symbo.ls/label": "latest",
|
|
31
34
|
"@symbo.ls/link": "latest",
|
|
@@ -33,6 +36,7 @@
|
|
|
33
36
|
"@symbo.ls/overflow": "latest",
|
|
34
37
|
"@symbo.ls/pills": "latest",
|
|
35
38
|
"@symbo.ls/position": "latest",
|
|
39
|
+
"@symbo.ls/react-box": "symbo-ls/react-box",
|
|
36
40
|
"@symbo.ls/responsive": "latest",
|
|
37
41
|
"@symbo.ls/scratch-init": "latest",
|
|
38
42
|
"@symbo.ls/select": "latest",
|
|
@@ -44,6 +48,6 @@
|
|
|
44
48
|
"@symbo.ls/user": "latest"
|
|
45
49
|
},
|
|
46
50
|
"browserslist": "> 0.5%, last 2 versions, not dead",
|
|
47
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "484281b2e1c320c5db2bfa27b19161191ea4246f",
|
|
48
52
|
"source": "src/index.js"
|
|
49
53
|
}
|