smbls 0.8.13 → 0.8.14

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.8.13",
6
+ "version": "0.8.14",
7
7
  "repository": "https://github.com/rackai/symbols",
8
8
  "main": "src/index.js",
9
9
  "files": [
@@ -30,10 +30,10 @@ export const Responsive = {
30
30
  }
31
31
  }
32
32
 
33
- const { responsive } = el.class
34
- if (responsive) responsive[responsiveKey] = calculatedScreenProps
33
+ const { MEDIA } = el.class
34
+ if (MEDIA) MEDIA[responsiveKey] = calculatedScreenProps
35
35
  else {
36
- el.class.responsive = {
36
+ el.class.MEDIA = {
37
37
  [responsiveKey]: calculatedScreenProps
38
38
  }
39
39
  }
@@ -58,10 +58,10 @@ export const Responsive = {
58
58
  }
59
59
  }
60
60
 
61
- const { selectors } = el.class
62
- if (selectors) selectors[selectorKey] = selectorProps
61
+ const { SELECTORS } = el.class
62
+ if (SELECTORS) SELECTORS[selectorKey] = selectorProps
63
63
  else {
64
- el.class.selectors = {
64
+ el.class.SELECTORS = {
65
65
  [selectorKey]: selectorProps
66
66
  }
67
67
  }
package/src/index.js CHANGED
@@ -14,7 +14,7 @@ export * from './Position'
14
14
  export * from './Overflow'
15
15
  export * from './Transform'
16
16
  export * from './Transition'
17
- export * from './Responsive'
17
+ export * from './Media'
18
18
 
19
19
  export * from './Box'
20
20