genshin-interface 4.3.2 → 4.4.0
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 +18 -8
- package/dist/{constants-Bt7f1_FX.d.ts → constants-DeI20p3G.d.ts} +18 -8
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +19 -6
- package/dist/getFixtureImageName.d.ts +1 -0
- package/dist/getFixtureImageName.js +4 -0
- package/dist/index.d.ts +226 -352
- package/dist/index.js +1412 -1000
- package/dist/{save-B6F3omOa.js → save-BiDzTOKp.js} +2 -4
- package/dist/{save-1cODLLb1.d.ts → save-DQyoidRg.d.ts} +0 -4
- package/dist/save.d.ts +1 -1
- package/dist/save.js +1 -1
- package/dist/style.css +2157 -1094
- package/dist/styles/blessingWorship.css +5 -2
- package/dist/styles/creamPill.css +9 -0
- package/dist/styles/weaponStars.css +1 -4
- package/dist/styles/wishOverlay.css +7 -5
- package/package.json +9 -8
- package/dist/styles/partyReputation.css +0 -24
|
@@ -16,11 +16,14 @@
|
|
|
16
16
|
font-size: 2rem;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
/* The close's disc is provisional, as its screens are: no recording shows either screen's close, so it takes the
|
|
20
|
+
Expedition's disc, the nearest close measured (the cross is the game's on every close measured) */
|
|
19
21
|
.close {
|
|
20
|
-
position: absolute;
|
|
21
22
|
top: 6%;
|
|
22
23
|
right: 6%;
|
|
23
|
-
|
|
24
|
+
background: #eee9e8;
|
|
25
|
+
box-shadow: inset 0 0 0 calc(var(--unit) * 6) #757274;
|
|
26
|
+
color: #3e4251;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
.blessing,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* The cream pill a label is set in: the game's cream at nine tenths and its ink words, with the box and place
|
|
2
|
+
left to the label that wears it */
|
|
3
|
+
.cream-pill {
|
|
4
|
+
border-radius: calc(var(--unit) * 25);
|
|
5
|
+
background: rgb(236 229 216 / 0.9);
|
|
6
|
+
color: #3b4255;
|
|
7
|
+
font-size: calc(var(--unit) * 26);
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
/* The six ascension phases, each a
|
|
1
|
+
/* The six ascension phases, each a glint the phases reached light; the level that holds them sets its size and shape */
|
|
2
2
|
.spark {
|
|
3
|
-
width: calc(var(--unit) * 14);
|
|
4
|
-
height: calc(var(--unit) * 14);
|
|
5
3
|
background: rgb(255 255 255 / 0.3);
|
|
6
|
-
clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%, 50% 0%);
|
|
7
4
|
}
|
|
8
5
|
|
|
9
6
|
.spark.lit {
|
|
@@ -26,13 +26,15 @@
|
|
|
26
26
|
font-size: calc(var(--unit) * 28);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
/* The close is the game's flag: a gold tab with its far side notched in, the cross cream in it, measured off the Details
|
|
30
|
+
popup at 1440 high (references/wish-details-1.png). The popup's own place is provisional, so the flag is set inside
|
|
31
|
+
the panel's corner */
|
|
29
32
|
.close {
|
|
30
33
|
position: absolute;
|
|
31
34
|
top: calc(var(--unit) * 24);
|
|
32
35
|
right: calc(var(--unit) * 24);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
color:
|
|
37
|
-
font: inherit;
|
|
36
|
+
border-radius: 0;
|
|
37
|
+
background: #a9783d;
|
|
38
|
+
clip-path: polygon(0 0, 100% 0, 88% 50%, 100% 100%, 0 100%);
|
|
39
|
+
color: #e6cfaa;
|
|
38
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genshin-interface",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Genshin Impact's interface as a fan recreation: the game's own screen units, face and pointer, and its buttons, dividers, bars and notices as presentational Vue components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component-library",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"exports": {
|
|
34
34
|
".": "./dist/index.js",
|
|
35
35
|
"./constants": "./dist/constants.js",
|
|
36
|
+
"./getFixtureImageName": "./dist/getFixtureImageName.js",
|
|
36
37
|
"./save": "./dist/save.js",
|
|
37
38
|
"./package.json": "./package.json",
|
|
38
39
|
"./style.css": "./dist/style.css",
|
|
@@ -47,15 +48,15 @@
|
|
|
47
48
|
"lint:fix": "eslint --fix .",
|
|
48
49
|
"test": "vitest",
|
|
49
50
|
"test:visual": "vitest --config vitest.browser.config.ts",
|
|
50
|
-
"typecheck": "
|
|
51
|
+
"typecheck": "tsrs --fast --runExternalCode"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
|
-
"@esposter/configuration": "4.
|
|
54
|
+
"@esposter/configuration": "4.4.0",
|
|
54
55
|
"@fontsource/signika": "^5.3.0",
|
|
55
|
-
"@tsdown/css": "
|
|
56
|
-
"@types/node": "^26.6.
|
|
57
|
-
"tsdown": "
|
|
58
|
-
"vite": "^8.3.
|
|
56
|
+
"@tsdown/css": "0.23.2",
|
|
57
|
+
"@types/node": "^26.6.6",
|
|
58
|
+
"tsdown": "0.23.2",
|
|
59
|
+
"vite": "^8.3.5",
|
|
59
60
|
"vitest": "^5.0.5",
|
|
60
61
|
"vitest-browser-vue": "^3.1.0",
|
|
61
62
|
"vue-tsc": "3.3.11"
|
|
@@ -63,5 +64,5 @@
|
|
|
63
64
|
"peerDependencies": {
|
|
64
65
|
"vue": "^3.5.44"
|
|
65
66
|
},
|
|
66
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "e1a416c4b91da69cc2aa259b50a4d656f204d272"
|
|
67
68
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/* The head, title and back control the party setup and reputation screens share */
|
|
2
|
-
.head {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
padding: calc(var(--unit) * 20) calc(var(--unit) * 40);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.title {
|
|
10
|
-
margin: 0;
|
|
11
|
-
font-size: calc(var(--unit) * 24);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.back,
|
|
15
|
-
.step {
|
|
16
|
-
width: calc(var(--unit) * 56);
|
|
17
|
-
height: calc(var(--unit) * 56);
|
|
18
|
-
border: none;
|
|
19
|
-
border-radius: 50%;
|
|
20
|
-
background: rgb(255 255 255 / 0.15);
|
|
21
|
-
color: #ece5d8;
|
|
22
|
-
font: inherit;
|
|
23
|
-
font-size: calc(var(--unit) * 28);
|
|
24
|
-
}
|