@aejkatappaja/phantom-ui 0.2.2 → 0.2.3
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/README.md +9 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,22 +3,19 @@
|
|
|
3
3
|
<custom-element-demo>
|
|
4
4
|
<template>
|
|
5
5
|
<script src="https://cdn.jsdelivr.net/npm/@aejkatappaja/phantom-ui/dist/phantom-ui.cdn.js"></script>
|
|
6
|
-
<
|
|
7
|
-
<div style="background:#16213e;border-radius:12px;padding:20px;width:320px;color:#e0e0e0;font-family:system-ui">
|
|
8
|
-
<div style="display:flex;align-items:center;gap:12px;margin-bottom:16px">
|
|
9
|
-
<div style="width:48px;height:48px;border-radius:50%;background:#0f3460"></div>
|
|
10
|
-
<div>
|
|
11
|
-
<h3 style="margin:0 0 4px">Sarah Chen</h3>
|
|
12
|
-
<p style="margin:0;font-size:13px;color:#8899aa">Senior Engineer</p>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<p style="font-size:14px;line-height:1.5">Building scalable distributed systems and mentoring junior engineers.</p>
|
|
16
|
-
</div>
|
|
17
|
-
</phantom-ui>
|
|
6
|
+
<next-code-block></next-code-block>
|
|
18
7
|
</template>
|
|
19
8
|
</custom-element-demo>
|
|
20
9
|
```
|
|
21
10
|
-->
|
|
11
|
+
```html
|
|
12
|
+
<phantom-ui loading>
|
|
13
|
+
<div style="background:#16213e;border-radius:12px;padding:20px;width:320px;color:#e0e0e0;font-family:system-ui">
|
|
14
|
+
<h3 style="margin:0 0 8px">Sarah Chen</h3>
|
|
15
|
+
<p style="margin:0;font-size:13px;color:#8899aa">Senior Engineer</p>
|
|
16
|
+
</div>
|
|
17
|
+
</phantom-ui>
|
|
18
|
+
```
|
|
22
19
|
|
|
23
20
|
<p align="center">
|
|
24
21
|
<img src="logo-phantom.svg" alt="phantom-ui" width="200" />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aejkatappaja/phantom-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Structure-aware shimmer skeleton loader as a universal Web Component built with Lit. Works with React, Vue, Svelte, Angular, Solid, or vanilla JS.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|