@symbo.ls/atoms 2.11.276 → 2.11.283
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 +4 -4
- package/Collection.js +4 -4
- package/Media.js +1 -0
- package/package.json +2 -2
package/Block.js
CHANGED
|
@@ -103,16 +103,16 @@ export const Block = {
|
|
|
103
103
|
if (typeof props.marginInline !== 'string') return
|
|
104
104
|
const [marginInlineStart, marginInlineEnd] = props.marginInline.split(' ')
|
|
105
105
|
return {
|
|
106
|
-
...deps.
|
|
107
|
-
...deps.
|
|
106
|
+
...deps.transformSize('marginInlineStart', marginInlineStart),
|
|
107
|
+
...deps.transformSize('marginInlineEnd', marginInlineEnd || marginInlineStart)
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
marginBlock: ({ props, deps }) => {
|
|
111
111
|
if (typeof props.marginBlock !== 'string') return
|
|
112
112
|
const [marginBlockStart, marginBlockEnd] = props.marginBlock.split(' ')
|
|
113
113
|
return {
|
|
114
|
-
...deps.
|
|
115
|
-
...deps.
|
|
114
|
+
...deps.transformSize('marginBlockStart', marginBlockStart),
|
|
115
|
+
...deps.transformSize('marginBlockEnd', marginBlockEnd || marginBlockStart)
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
marginInlineStart: ({ props, deps }) => deps.transformSizeRatio('marginInlineStart', props),
|
package/Collection.js
CHANGED
|
@@ -17,17 +17,17 @@ export const Collection = {
|
|
|
17
17
|
|
|
18
18
|
const { __ref: ref } = el
|
|
19
19
|
|
|
20
|
-
if (ref.
|
|
21
|
-
const d = deepDiff(param, ref.
|
|
20
|
+
if (ref.__collectionCache) {
|
|
21
|
+
const d = deepDiff(param, ref.__collectionCache) // eslint-disable-line
|
|
22
22
|
if (Object.keys(d).length) {
|
|
23
|
-
ref.
|
|
23
|
+
ref.__collectionCache = deepClone(param)
|
|
24
24
|
delete ref.__noCollectionDifference
|
|
25
25
|
} else {
|
|
26
26
|
ref.__noCollectionDifference = true
|
|
27
27
|
return
|
|
28
28
|
}
|
|
29
29
|
} else {
|
|
30
|
-
ref.
|
|
30
|
+
ref.__collectionCache = deepClone(param)
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
const obj = {
|
package/Media.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/atoms",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.283",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "53d59fcbc506dc1e61b93dc5b79a8a1f5b0ec01a",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@domql/state": "latest",
|
|
9
9
|
"@domql/utils": "latest",
|