smbls 0.9.2 → 0.9.3

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
@@ -3,7 +3,7 @@
3
3
  "description": "UI Library built on Scratch and DOMQL",
4
4
  "private": false,
5
5
  "author": "symbo.ls",
6
- "version": "0.9.2",
6
+ "version": "0.9.3",
7
7
  "repository": "https://github.com/symbo-ls/smbls",
8
8
  "main": "src/index.js",
9
9
  "files": [
package/src/Block.js CHANGED
@@ -79,6 +79,15 @@ export const Block = {
79
79
  gap: ({ props }) => props.gap ? mapBasedOnRatio(props, 'gap') : null,
80
80
  gridArea: ({ props }) => props.gridArea && ({ gridArea: props.gridArea }),
81
81
 
82
+ flex: ({ props }) => props.flex && ({ flex: props.flex }),
83
+ alignItems: ({ props }) => props.alignItems && ({ alignItems: props.alignItems }),
84
+ alignContent: ({ props }) => props.alignContent && ({ alignContent: props.alignContent }),
85
+ justifyContent: ({ props }) => props.justifyContent && ({ justifyContent: props.justifyContent }),
86
+
87
+ flexWrap: ({ props }) => props.flexWrap && ({
88
+ display: 'flex',
89
+ flexFlow: props.flexWrap
90
+ }),
82
91
  flexFlow: ({ props }) => props.flexFlow && ({
83
92
  display: 'flex',
84
93
  flexFlow: props.flexFlow
@@ -93,11 +102,6 @@ export const Block = {
93
102
  }
94
103
  },
95
104
 
96
- flex: ({ props }) => props.flex && ({ flex: props.flex }),
97
- alignItems: ({ props }) => props.alignItems && ({ alignItems: props.alignItems }),
98
- alignContent: ({ props }) => props.alignContent && ({ alignContent: props.alignContent }),
99
- justifyContent: ({ props }) => props.justifyContent && ({ justifyContent: props.justifyContent }),
100
-
101
105
  gridColumn: ({ props }) => props.gridColumn && ({ gridColumn: props.gridColumn }),
102
106
  gridRow: ({ props }) => props.gridRow && ({ gridRow: props.gridRow }),
103
107
 
package/src/Button.js CHANGED
@@ -19,6 +19,7 @@ export const Button = {
19
19
  alignItems: 'center',
20
20
  justifyContent: 'center',
21
21
  textDecoration: 'none',
22
+ round: 'C2',
22
23
  css
23
24
  },
24
25
  attr: {
package/src/Flex.js CHANGED
@@ -12,6 +12,7 @@ export const Flex = {
12
12
  flow: ({ props }) => props.flow && ({ flexFlow: props.flow }),
13
13
  flexDirection: ({ props }) => props.flexDirection && ({ flexDirection: props.flexDirection }),
14
14
  alignItems: ({ props }) => props.alignItems && ({ alignItems: props.alignItems }),
15
+ wrap: ({ props }) => props.wrap && ({ wrap: props.wrap }),
15
16
  alignContent: ({ props }) => props.alignContent && ({ alignContent: props.alignContent }),
16
17
  justifyContent: ({ props }) => props.justifyContent && ({ justifyContent: props.justifyContent }),
17
18
  gap: ({ props }) => props.gap && mapBasedOnRatio(props, 'gap'),