@glimstone/vue 4.8.1 → 4.8.2
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/InfoComponentsCard.vue.d.ts +16 -0
- package/dist/InfoTile.vue.d.ts +8 -15
- package/dist/InfoVersionCard.vue.d.ts +10 -9
- package/dist/ProgressBar.vue.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +962 -781
- package/dist/info.d.ts +39 -14
- package/package.json +2 -2
package/dist/info.d.ts
CHANGED
|
@@ -1,20 +1,45 @@
|
|
|
1
1
|
import type { Component } from "vue";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ComponentRow, ComponentsCardText, UpdateRoute, UpdateState, VersionCardText } from "@glimstone/core";
|
|
3
3
|
type OpenUrl = (url: string) => void;
|
|
4
4
|
export interface InfoVersionCardProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
/** `componentText(lang).versionCard`, or the app's own words in its shape. */
|
|
6
|
+
text: VersionCardText;
|
|
7
|
+
/** The app's name, which fills "{app}" in the card's sentences. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** Read from the build, never typed in. */
|
|
10
|
+
version: string;
|
|
11
|
+
/** The repository whose newest release the number opens. */
|
|
12
|
+
repoUrl?: string;
|
|
13
|
+
/** How the app gets a new version, which decides the one action. */
|
|
14
|
+
route: UpdateRoute;
|
|
15
|
+
/** Where the updates stand. The app finds out; the card shows it. */
|
|
16
|
+
state: UpdateState;
|
|
17
|
+
/** "Check for updates". A store app passes none. */
|
|
18
|
+
onCheck?: () => void;
|
|
19
|
+
/** Fetches and installs the new version, or leads to the host's plugin page. */
|
|
20
|
+
onUpdate?: () => void;
|
|
21
|
+
/** Starts the downloaded version. */
|
|
22
|
+
onRestart?: () => void;
|
|
23
|
+
/** Where a container's update instructions live. */
|
|
24
|
+
guideUrl?: string;
|
|
25
|
+
/** Opens the app's window of what changed, a card per release with its notes. */
|
|
26
|
+
onWhatsNew: () => void;
|
|
27
|
+
/** How many marked changes are still unseen. */
|
|
28
|
+
unseen?: number;
|
|
29
|
+
openUrl?: OpenUrl;
|
|
30
|
+
hueIndex?: number;
|
|
31
|
+
}
|
|
32
|
+
export interface InfoComponentsCardProps {
|
|
33
|
+
/** `componentText(lang).componentsCard`, or the app's own words in its shape. */
|
|
34
|
+
text: ComponentsCardText;
|
|
35
|
+
/** The app's name, which fills "{app}" in the card's sentences. */
|
|
36
|
+
name: string;
|
|
37
|
+
/** The app's own parts, the programs it brings along and, for a desktop
|
|
38
|
+
* build, its installer. The card adds the design language and sorts them. */
|
|
39
|
+
rows: ComponentRow[];
|
|
40
|
+
/** "Update components" at the foot of the card. Omit it where the app updates none. */
|
|
41
|
+
onUpdate?: () => void;
|
|
42
|
+
updating?: boolean;
|
|
18
43
|
openUrl?: OpenUrl;
|
|
19
44
|
hueIndex?: number;
|
|
20
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glimstone/vue",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.2",
|
|
4
4
|
"description": "GlimStone's components for Vue",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"build": "vite build && vue-tsc -p tsconfig.build.json"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@glimstone/core": "4.8.
|
|
119
|
+
"@glimstone/core": "4.8.2"
|
|
120
120
|
},
|
|
121
121
|
"peerDependencies": {
|
|
122
122
|
"@internationalized/date": "^3.12.4",
|