@symbo.ls/atoms 2.11.94 → 2.11.101

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/Block.js CHANGED
@@ -12,7 +12,7 @@ export const Block = {
12
12
 
13
13
  display: ({ props }) => props.display && ({ display: props.display }),
14
14
 
15
- hide: ({ props }) => props.hide && ({ display: 'none' }),
15
+ hide: ({ props }) => props.hide && ({ display: 'none !important' }),
16
16
 
17
17
  width: ({ props }) => props.width && getSpacingBasedOnRatio(props, 'width'),
18
18
  height: ({ props }) => props.height && getSpacingBasedOnRatio(props, 'height'),
@@ -157,7 +157,7 @@ export const Block = {
157
157
  }
158
158
  }
159
159
 
160
- export const Hr = {
160
+ export const Hr = {
161
161
  tag: 'hr',
162
162
  props: { margin: 'C1 0' }
163
163
  }
package/Collection.js CHANGED
@@ -13,17 +13,10 @@ export const Collection = {
13
13
  else param = getChildStateInKey(param, state)
14
14
  }
15
15
 
16
- let data = isArray(param) ? param : []
17
-
18
- if (isObject(param)) {
19
- for (const obj in param) { data.push(param[obj]) }
20
- }
21
-
22
- data = data.map(item => !isObjectLike(item)
23
- ? {
24
- props: { value: item }
25
- }
26
- : item)
16
+ const data = (isArray(param) ? param : isObject(param) ? Object.values(param) : [])
17
+ .map(item => !isObjectLike(item)
18
+ ? { props: { value: item } }
19
+ : item)
27
20
 
28
21
  if (data.length) {
29
22
  const t = setTimeout(() => {
package/Theme.js CHANGED
@@ -123,6 +123,10 @@ export const Theme = {
123
123
 
124
124
  columnRule: ({ props }) => props.columnRule && ({
125
125
  columnRule: transformBorder(props.columnRule)
126
+ }),
127
+
128
+ appearance: ({ props }) => props.appearance && ({
129
+ appearance: props.appearance
126
130
  })
127
131
  }
128
132
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/atoms",
3
- "version": "2.11.94",
3
+ "version": "2.11.101",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "80354d405a3dd6085ee93472538ebef687c97764",
6
+ "gitHead": "e6e99cfe2412652932a3c0eb2f580b427e6b8096",
7
7
  "dependencies": {
8
8
  "@domql/state": "latest",
9
9
  "@domql/utils": "latest",