Skip to content

Commit e70434c

Browse files
committed
Add 3 new components
1 parent a730cde commit e70434c

31 files changed

+363
-38
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Welcome to @web!
99

1010
### Custom Markup Elements
1111
* `<blink>[text]</blink>`: Blinking text.
12+
* `<marquee>[text]</marquee>`: Text that scrolls across the screen.
13+
- Use `<marquee party>` for party mode.
1214

1315
### at:// Compatible Elements
1416
* `<img src="[link]" />`: Images with suport for relative and at:// URIs.
@@ -137,6 +139,23 @@ Welcome to @web!
137139
The at:// URI to the @ring.
138140
- `self: string` **Required**
139141
Your DID.
142+
* `<Json />`
143+
- `value: any` **Optional**
144+
Value to present. Can be JSON but also `Number`, `String`, `Array`, `Function`, `Symbol`, `Boolean`, `Date`
145+
- `open: 'closed' | 'full' | 'top-only'` **Required**
146+
Possible values:
147+
- "closed": Object is closed
148+
- "full": Object is fully open
149+
- "top-only" Only top level open
150+
151+
Default: "closed"
152+
* `<SocialLink />`
153+
- `network: 'email' | 'github' | 'gitlab' | 'linkedin' | 'rss' | 'stackoverflow' | 'twitch' | 'twitter'` **Required**
154+
The network to link to.
155+
- `handle: string` **Required**
156+
_Note: For Stackoverflow, your `USERID` is your handle_
157+
- `href: string` **Optional**
158+
Alternatively, instead of providing a handle and relying on the built-in link you can just provide your own.
140159

141160
### Reversible File Path Record Key Specification
142161
_(for nerds)_

components.d.ts

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,58 @@ export {}
77
/* prettier-ignore */
88
declare module 'vue' {
99
export interface GlobalComponents {
10-
AtAnchor: typeof import('./src/components/custom-elements/AtAnchor.vue')['default']
10+
AtAnchor: typeof import('./src/components/markdown-elements/AtAnchor.vue')['default']
1111
'AtAnchor.ce': typeof import('./src/components/custom-elements/AtAnchor.ce.vue')['default']
12-
AtImg: typeof import('./src/components/custom-elements/AtImg.vue')['default']
12+
AtImg: typeof import('./src/components/markdown-elements/AtImg.vue')['default']
1313
'AtImg.ce': typeof import('./src/components/custom-elements/AtImg.ce.vue')['default']
14-
AtLink: typeof import('./src/components/custom-elements/AtLink.vue')['default']
14+
AtLink: typeof import('./src/components/markdown-elements/AtLink.vue')['default']
1515
'AtLink.ce': typeof import('./src/components/custom-elements/AtLink.ce.vue')['default']
16-
AtStyle: typeof import('./src/components/custom-elements/AtStyle.vue')['default']
16+
AtStyle: typeof import('./src/components/markdown-elements/AtStyle.vue')['default']
1717
'AtStyle.ce': typeof import('./src/components/custom-elements/AtStyle.ce.vue')['default']
18-
AtWebStylesheet: typeof import('./src/components/custom-elements/AtWebStylesheet.vue')['default']
18+
AtWebStylesheet: typeof import('./src/components/markdown-elements/AtWebStylesheet.vue')['default']
1919
'AtWebStylesheet.ce': typeof import('./src/components/custom-elements/AtWebStylesheet.ce.vue')['default']
20-
AtWebTitle: typeof import('./src/components/custom-elements/AtWebTitle.vue')['default']
20+
AtWebTitle: typeof import('./src/components/markdown-elements/AtWebTitle.vue')['default']
2121
'AtWebTitle.ce': typeof import('./src/components/custom-elements/AtWebTitle.ce.vue')['default']
22-
BlueskyPost: typeof import('./src/components/custom-elements/BlueskyPost.vue')['default']
22+
BlueskyPost: typeof import('./src/components/markdown-elements/BlueskyPost.vue')['default']
2323
'BlueskyPost.ce': typeof import('./src/components/custom-elements/BlueskyPost.ce.vue')['default']
2424
BlueskyPostce: typeof import('./src/components/custom-elements/BlueskyPostce.vue')['default']
2525
'BlueskyPostEmbed.ce': typeof import('./src/components/custom-elements/BlueskyPostEmbed.ce.vue')['default']
26-
BlueskyProfileCard: typeof import('./src/components/custom-elements/BlueskyProfileCard.vue')['default']
26+
BlueskyProfileCard: typeof import('./src/components/markdown-elements/BlueskyProfileCard.vue')['default']
2727
'BlueskyProfileCard.ce': typeof import('./src/components/custom-elements/BlueskyProfileCard.ce.vue')['default']
28-
BlueskyProfileFeed: typeof import('./src/components/custom-elements/BlueskyProfileFeed.vue')['default']
28+
BlueskyProfileFeed: typeof import('./src/components/markdown-elements/BlueskyProfileFeed.vue')['default']
2929
'BlueskyProfileFeed.ce': typeof import('./src/components/custom-elements/BlueskyProfileFeed.ce.vue')['default']
3030
copy: typeof import('./src/components/custom-elements/BlueskyPostEmbed.ce copy.vue')['default']
31-
EightyEightThirtyOneBadge: typeof import('./src/components/custom-elements/EightyEightThirtyOneBadge.vue')['default']
31+
EightyEightThirtyOneBadge: typeof import('./src/components/markdown-elements/EightyEightThirtyOneBadge.vue')['default']
3232
'EightyEightThirtyOneBadge.ce': typeof import('./src/components/custom-elements/EightyEightThirtyOneBadge.ce.vue')['default']
33-
LesbiBadge: typeof import('./src/components/custom-elements/LesbiBadge.vue')['default']
33+
LesbiBadge: typeof import('./src/components/markdown-elements/LesbiBadge.vue')['default']
3434
'LesbiBadge.ce': typeof import('./src/components/custom-elements/LesbiBadge.ce.vue')['default']
3535
MarkdownRenderer: typeof import('./src/components/MarkdownRenderer.vue')['default']
3636
MonacoEditor: typeof import('./src/components/MonacoEditor.vue')['default']
37-
NewBlink: typeof import('./src/components/custom-elements/NewBlink.vue')['default']
37+
NewBlink: typeof import('./src/components/markdown-elements/NewBlink.vue')['default']
3838
'NewBlink.ce': typeof import('./src/components/custom-elements/NewBlink.ce.vue')['default']
39-
OmitVanillaCss: typeof import('./src/components/custom-elements/OmitVanillaCss.vue')['default']
39+
NewMarquee: typeof import('./src/components/markdown-elements/NewMarquee.vue')['default']
40+
OmitVanillaCss: typeof import('./src/components/markdown-elements/OmitVanillaCss.vue')['default']
4041
'OmitVanillaCss.ce': typeof import('./src/components/custom-elements/OmitVanillaCss.ce.vue')['default']
41-
OnekoKitty: typeof import('./src/components/custom-elements/OnekoKitty.vue')['default']
42+
OnekoKitty: typeof import('./src/components/markdown-elements/OnekoKitty.vue')['default']
4243
'OnekoKitty.ce': typeof import('./src/components/custom-elements/OnekoKitty.ce.vue')['default']
4344
PModal: typeof import('./src/components/PModal.vue')['default']
44-
RingLink: typeof import('./src/components/custom-elements/RingLink.vue')['default']
45+
RenderJson: typeof import('./src/components/markdown-elements/RenderJson.vue')['default']
46+
RingLink: typeof import('./src/components/markdown-elements/RingLink.vue')['default']
4547
'RingLink.ce': typeof import('./src/components/custom-elements/RingLink.ce.vue')['default']
4648
RouterLink: typeof import('vue-router')['RouterLink']
4749
RouterView: typeof import('vue-router')['RouterView']
4850
SignInGate: typeof import('./src/components/SignInGate.vue')['default']
49-
SpotifyPlayer: typeof import('./src/components/custom-elements/SpotifyPlayer.vue')['default']
51+
SocialLink: typeof import('./src/components/markdown-elements/SocialLink.vue')['default']
52+
SpotifyPlayer: typeof import('./src/components/markdown-elements/SpotifyPlayer.vue')['default']
5053
UsePico: typeof import('./src/components/UsePico.vue')['default']
51-
UserbarBadge: typeof import('./src/components/custom-elements/UserbarBadge.vue')['default']
54+
UserbarBadge: typeof import('./src/components/markdown-elements/UserbarBadge.vue')['default']
5255
'UserbarBadge.ce': typeof import('./src/components/custom-elements/UserbarBadge.ce.vue')['default']
5356
VaButton: typeof import('vuestic-ui')['VaButton']
5457
VaForm: typeof import('vuestic-ui')['VaForm']
5558
VaInput: typeof import('vuestic-ui')['VaInput']
5659
VaModal: typeof import('vuestic-ui')['VaModal']
5760
VaSelect: typeof import('vuestic-ui')['VaSelect']
58-
WebampPlayer: typeof import('./src/components/custom-elements/WebampPlayer.vue')['default']
61+
WebampPlayer: typeof import('./src/components/markdown-elements/WebampPlayer.vue')['default']
5962
'WebampPlayer.ce': typeof import('./src/components/custom-elements/WebampPlayer.ce.vue')['default']
6063
}
6164
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"@mdx-js/mdx": "^3.1.0",
3131
"@noble/hashes": "^1.6.1",
3232
"@picocss/pico": "^2.0.6",
33+
"@vanillawc/wc-marquee": "^1.0.31",
34+
"@vanillawc/wc-social-link": "^1.5.0",
3335
"@volar/language-service": "^2.4.11",
3436
"@volar/monaco": "^2.4.11",
3537
"@vue/compiler-sfc": "^3.5.13",

pnpm-lock.yaml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)