onejs-core 0.3.16 → 0.3.17

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onejs-core",
3
3
  "description": "The JS part of OneJS, a UI framework and Scripting Engine for Unity.",
4
- "version": "0.3.16",
4
+ "version": "0.3.17",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./typings.d.ts",
7
7
  "dependencies": {
@@ -149,25 +149,21 @@ exports.plugins = [
149
149
  }),
150
150
  ]
151
151
 
152
- exports.corePlugins = {
153
- // USS cannot support dynamic custom properties within rgb()
154
- // which is what is used by Tailwind for opacity scales
155
- transitionProperty: false,
156
- transitionDuration: false,
157
- backdropOpacity: false,
158
- backgroundOpacity: false,
159
- borderOpacity: false,
160
- divideOpacity: false,
161
- ringOpacity: false,
162
- textOpacity: false,
163
- transform: false,
164
- translate: false,
165
- rotate: false,
166
- scale: false,
167
- filter: false,
168
- fontWeight: false,
169
- lineHeight: false,
170
- }
152
+ // USS cannot support dynamic custom properties within rgb()
153
+ // which is what is used by Tailwind for opacity scales
154
+ exports.corePlugins = [
155
+ "alignContent", "alignItems", "alignSelf",
156
+ "justifyContent",
157
+ "backgroundColor", "backgroundImage", "backgroundPosition", "backgroundRepeat", "backgroundSize",
158
+ "borderColor", "borderRadius", "borderWidth",
159
+ "colors", "textColor", "cursor",
160
+ "flex", "flexBasis", "flexDirection", "flexGrow", "flexShrink",
161
+ "fontFamily", "fontSize", "fontStyle",
162
+ "width", "height", "maxWidth", "maxHeight", "minWidth", "minHeight",
163
+ "margin", "padding",
164
+ "opacity", "overflow",
165
+ "position", "inset"
166
+ ]
171
167
 
172
168
  /**
173
169
  * Utilities