@stylexjs/rollup-plugin 0.5.0-alpha.3 → 0.5.0-alpha.4
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/__tests__/index-test.js +15 -12
- package/package.json +2 -2
package/__tests__/index-test.js
CHANGED
|
@@ -185,8 +185,9 @@ describe('rollup-plugin-stylex', () => {
|
|
|
185
185
|
*
|
|
186
186
|
*/
|
|
187
187
|
|
|
188
|
-
_inject
|
|
189
|
-
|
|
188
|
+
var _inject2$2 = _inject;
|
|
189
|
+
_inject2$2(".x1lliihq{display:block}", 3000);
|
|
190
|
+
_inject2$2(".xh8yej3{width:100%}", 4000);
|
|
190
191
|
var styles$2 = {
|
|
191
192
|
bar: {
|
|
192
193
|
"otherStyles__styles.bar": "otherStyles__styles.bar",
|
|
@@ -205,9 +206,10 @@ describe('rollup-plugin-stylex', () => {
|
|
|
205
206
|
*
|
|
206
207
|
*/
|
|
207
208
|
|
|
208
|
-
_inject
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
var _inject2$1 = _inject;
|
|
210
|
+
_inject2$1(".xt0psk2{display:inline}", 3000);
|
|
211
|
+
_inject2$1(".x1egiwwb{height:500px}", 4000);
|
|
212
|
+
_inject2$1(".x3hqpx7{width:50%}", 4000);
|
|
211
213
|
const styles$1 = {
|
|
212
214
|
baz: {
|
|
213
215
|
"npmStyles__styles.baz": "npmStyles__styles.baz",
|
|
@@ -227,13 +229,14 @@ describe('rollup-plugin-stylex', () => {
|
|
|
227
229
|
*
|
|
228
230
|
*/
|
|
229
231
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
232
|
+
var _inject2 = _inject;
|
|
233
|
+
_inject2("@keyframes xgnty7z-B{0%{opacity:.25;}100%{opacity:1;}}", 1);
|
|
234
|
+
_inject2(".xeuoslp{animation-name:xgnty7z-B}", 3000);
|
|
235
|
+
_inject2(".x78zum5{display:flex}", 3000);
|
|
236
|
+
_inject2(".x1hm9lzh{margin-inline-start:10px}", 3000);
|
|
237
|
+
_inject2(".xlrshdv{margin-top:99px}", 4000);
|
|
238
|
+
_inject2(".x1egiwwb{height:500px}", 4000);
|
|
239
|
+
_inject2(".x1oz5o6v:hover{background:red}", 1130);
|
|
237
240
|
var styles = {
|
|
238
241
|
foo: {
|
|
239
242
|
"index__styles.foo": "index__styles.foo",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexjs/rollup-plugin",
|
|
3
|
-
"version": "0.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.4",
|
|
4
4
|
"description": "Rollup plugin for StyleX",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@babel/core": "^7.23.6",
|
|
24
|
-
"@stylexjs/babel-plugin": "0.5.0-alpha.
|
|
24
|
+
"@stylexjs/babel-plugin": "0.5.0-alpha.4",
|
|
25
25
|
"@babel/plugin-syntax-flow": "^7.23.3",
|
|
26
26
|
"@babel/plugin-syntax-jsx": "^7.23.3",
|
|
27
27
|
"@babel/plugin-syntax-typescript": "^7.23.3"
|