@stacksjs/defaults 0.75.94 → 0.75.95
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/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.95",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.95",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@iconify-json/f7": "^1.2.2",
|
|
57
57
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
58
|
-
"@stacksjs/mobile": "^0.75.
|
|
58
|
+
"@stacksjs/mobile": "^0.75.95",
|
|
59
59
|
"@stacksjs/sanitizer": "^0.2.395",
|
|
60
60
|
"@xterm/addon-fit": "^0.11.0",
|
|
61
61
|
"@xterm/xterm": "^6.0.0",
|
|
@@ -12,7 +12,7 @@ interface NativeAccountButtonProps {
|
|
|
12
12
|
label?: string
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
defineProps<NativeAccountButtonProps>()
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<script client>
|
|
@@ -21,6 +21,11 @@ import { haptics } from '@stacksjs/mobile'
|
|
|
21
21
|
// The account at the top right of a tab's screen, as iOS apps put it: the
|
|
22
22
|
// tab bar keeps its tabs for the places the app is used from. Reactive, so it
|
|
23
23
|
// follows the signed-in person and the count as they change.
|
|
24
|
+
// Every prop through useReactiveProp, under names of its own: read as plain
|
|
25
|
+
// {{ label }}, a host's client signal of the same name (a pull-to-refresh's
|
|
26
|
+
// "Refreshing") was shown instead of the button's own.
|
|
27
|
+
const accountHref = useReactiveProp<string>('href', '')
|
|
28
|
+
const accountLabel = useReactiveProp<string>('label', 'Account')
|
|
24
29
|
const accountName = useReactiveProp<string>('name', '')
|
|
25
30
|
const accountImage = useReactiveProp<string>('image', '')
|
|
26
31
|
const accountBadge = useReactiveProp<string | number>('badge', '')
|
|
@@ -42,8 +47,8 @@ function tapAccount(): void {
|
|
|
42
47
|
}
|
|
43
48
|
</script>
|
|
44
49
|
|
|
45
|
-
<a href="
|
|
46
|
-
<span class="native-account-label">{{
|
|
50
|
+
<a :href="accountHref()" class="native-account-button" draggable="false" data-stx-link data-stx-prefetch="eager" @click="tapAccount()">
|
|
51
|
+
<span class="native-account-label">{{ accountLabel() }}<span :if="accountCount()">, {{ accountCount() }}</span></span>
|
|
47
52
|
<span aria-hidden="true" class="native-account-face" :style="accountPhoto()">
|
|
48
53
|
<span :if="!accountImage() && accountInitials()">{{ accountInitials() }}</span>
|
|
49
54
|
<i :if="!accountImage() && !accountInitials()" class="i-lucide-circle-user-round native-account-glyph"></i>
|