lilact 0.15.3 → 0.15.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/dist/lilact.development.js +1 -1
- package/dist/lilact.development.js.map +1 -1
- package/dist/lilact.development.min.js +1 -1
- package/dist/lilact.development.min.js.map +1 -1
- package/dist/lilact.production.min.js +1 -1
- package/dist/lilact.production.min.js.map +1 -1
- package/docs/static/demos/error-callback.jsx +23 -2
- package/docs/static/demos/forwardref.jsx +2 -2
- package/docs/static/index.html +15 -4
- package/docs/static/lilact.development.js +1 -1
- package/docs/static/lilact.development.min.js +1 -1
- package/docs/static/lilact.production.min.js +1 -1
- package/package.json +1 -1
- package/root/demos/error-callback.jsx +23 -2
- package/root/demos/forwardref.jsx +2 -2
- package/root/index.html +15 -4
- package/root/lilact.development.js +1 -1
- package/root/lilact.development.min.js +1 -1
- package/root/lilact.production.min.js +1 -1
- package/src/run.jsx +1 -1
package/root/index.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<script type='text/jsx'>
|
|
19
19
|
|
|
20
20
|
const { useRef, useEffect, useState, Suspense, Spinner, run, render } = Lilact;
|
|
21
|
-
const { css,cx,injectGlobal } = Lilact.emotion;
|
|
21
|
+
const { css,cx,keyframes,injectGlobal } = Lilact.emotion;
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
const cache = new Map();
|
|
@@ -72,8 +72,8 @@ injectGlobal({
|
|
|
72
72
|
overflowWrap: "anywhere"
|
|
73
73
|
},
|
|
74
74
|
p: {padding: "10px"},
|
|
75
|
-
body: { padding: "20px", background: "#
|
|
76
|
-
":visited": {color: "#
|
|
75
|
+
body: { padding: "20px", background: "#434b5f", color: "#fff", textShadow: "0 0 10px #0002", lineHeight: "1.4rem" },
|
|
76
|
+
":visited": {color: "#fff"},
|
|
77
77
|
|
|
78
78
|
});
|
|
79
79
|
|
|
@@ -195,6 +195,17 @@ function DemoBlock({entry})
|
|
|
195
195
|
</div>
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
const glow = keyframes`
|
|
199
|
+
0% {
|
|
200
|
+
filter: drop-shadow(rgb(202, 131, 203) 0px 0px 8px);
|
|
201
|
+
}
|
|
202
|
+
50% {
|
|
203
|
+
filter: drop-shadow(rgb(252, 131, 203) 0px 0px 18px);
|
|
204
|
+
}
|
|
205
|
+
100% {
|
|
206
|
+
filter: drop-shadow(rgb(202, 131, 203) 0px 0px 8px);
|
|
207
|
+
}
|
|
208
|
+
`;
|
|
198
209
|
|
|
199
210
|
function App()
|
|
200
211
|
{
|
|
@@ -234,7 +245,7 @@ function App()
|
|
|
234
245
|
|
|
235
246
|
return<>
|
|
236
247
|
<center>
|
|
237
|
-
<img src="icon.png" width="128"/><br/>
|
|
248
|
+
<img src="icon.png" width="128" style={`animation: ${glow} 5s ease-in-out infinite`}/><br/>
|
|
238
249
|
<h1>Lilact Examples</h1>
|
|
239
250
|
|
|
240
251
|
<p>These scripts are transpiled and run directly in your browser. You have already loaded Lilact completely!</p>
|
|
@@ -10240,7 +10240,7 @@ function run(jsx, path=`InlineJSX-${++_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__["
|
|
|
10240
10240
|
appendSourcemap: false,
|
|
10241
10241
|
blocks_info: _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__["default"].blocks_info,
|
|
10242
10242
|
|
|
10243
|
-
injectTraceLabels:
|
|
10243
|
+
injectTraceLabels: true,
|
|
10244
10244
|
} );
|
|
10245
10245
|
}
|
|
10246
10246
|
catch(e) {
|