css-in-props 2.29.4 → 2.29.6

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.
@@ -35,18 +35,5 @@ module.exports = __toCommonJS(registry_exports);
35
35
  var import_utils = require("@domql/utils");
36
36
  var preprocs = __toESM(require("./props"), 1);
37
37
  var import_atoms = require("@symbo.ls/atoms");
38
- const CSS_PROPS_REGISTRY = (0, import_utils.mergeArray)([
39
- import_atoms.Shape,
40
- import_atoms.Position,
41
- import_atoms.Theme,
42
- import_atoms.Block,
43
- import_atoms.Text,
44
- import_atoms.Overflow,
45
- import_atoms.Timing,
46
- import_atoms.Transform,
47
- import_atoms.Media,
48
- import_atoms.Interaction,
49
- import_atoms.XYZ,
50
- import_atoms.Animation
51
- ]).class;
38
+ const CSS_PROPS_REGISTRY = (0, import_utils.mergeArray)([import_atoms.Text]).class;
52
39
  const CSS_PREPROCS_DEFAULTS = (0, import_utils.mergeArray)(Object.values(preprocs));
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "css-in-props",
3
3
  "description": "Utilize props as CSS methods",
4
4
  "author": "symbo.ls",
5
- "version": "2.29.4",
5
+ "version": "2.29.6",
6
6
  "repository": "https://github.com/symbo-ls/smbls",
7
7
  "type": "module",
8
8
  "module": "src/index.js",
@@ -25,10 +25,10 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@domql/utils": "^2.29.4",
29
- "@symbo.ls/atoms": "^2.29.4",
30
- "@symbo.ls/emotion": "^2.29.4",
31
- "@symbo.ls/scratch": "^2.29.4"
28
+ "@domql/utils": "^2.29.6",
29
+ "@symbo.ls/atoms": "^2.29.6",
30
+ "@symbo.ls/emotion": "^2.29.6",
31
+ "@symbo.ls/scratch": "^2.29.6"
32
32
  },
33
- "gitHead": "7e273889b26550829ccbbb5312f674297bced410"
33
+ "gitHead": "8893587e4a90c0f6fa533f81fe4a7d7a6003711a"
34
34
  }
package/src/registry.js CHANGED
@@ -3,34 +3,8 @@
3
3
  import { mergeArray } from '@domql/utils'
4
4
  import * as preprocs from './props'
5
5
 
6
- import {
7
- Shape,
8
- Position,
9
- Theme,
10
- Block,
11
- Text,
12
- Overflow,
13
- Timing,
14
- Transform,
15
- Media,
16
- Interaction,
17
- XYZ,
18
- Animation
19
- } from '@symbo.ls/atoms'
20
-
21
- export const CSS_PROPS_REGISTRY = mergeArray([
22
- Shape,
23
- Position,
24
- Theme,
25
- Block,
26
- Text,
27
- Overflow,
28
- Timing,
29
- Transform,
30
- Media,
31
- Interaction,
32
- XYZ,
33
- Animation
34
- ]).class
6
+ import { Text } from '@symbo.ls/atoms'
35
7
 
8
+ // TODO: due to recent updates inherit from BOX instead
9
+ export const CSS_PROPS_REGISTRY = mergeArray([Text]).class
36
10
  export const CSS_PREPROCS_DEFAULTS = mergeArray(Object.values(preprocs))