@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 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.getSpacingByKey('marginInlineStart', marginInlineStart),
107
- ...deps.getSpacingByKey('marginInlineEnd', marginInlineEnd || marginInlineStart)
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.getSpacingByKey('marginBlockStart', marginBlockStart),
115
- ...deps.getSpacingByKey('marginBlockEnd', marginBlockEnd || marginBlockStart)
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.__stateCollectionCache) {
21
- const d = deepDiff(param, ref.__stateCollectionCache) // eslint-disable-line
20
+ if (ref.__collectionCache) {
21
+ const d = deepDiff(param, ref.__collectionCache) // eslint-disable-line
22
22
  if (Object.keys(d).length) {
23
- ref.__stateCollectionCache = deepClone(param)
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.__stateCollectionCache = deepClone(param)
30
+ ref.__collectionCache = deepClone(param)
31
31
  }
32
32
 
33
33
  const obj = {
package/Media.js CHANGED
@@ -161,6 +161,7 @@ const beforeClassAssign = (element, s) => {
161
161
  props.update({
162
162
  themeModifier: globalTheme
163
163
  }, {
164
+ preventUpdateListener: true,
164
165
  preventRecursive: true,
165
166
  isForced: true,
166
167
  preventDefineUpdate: true
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/atoms",
3
- "version": "2.11.276",
3
+ "version": "2.11.283",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "ce33b49ad632d606b7304fbda48bade4aa368667",
6
+ "gitHead": "53d59fcbc506dc1e61b93dc5b79a8a1f5b0ec01a",
7
7
  "dependencies": {
8
8
  "@domql/state": "latest",
9
9
  "@domql/utils": "latest",