@betorigami/game-ui-shared 9.1.0 → 9.2.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/dist/index.mjs +8 -16
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -274,22 +274,22 @@ const hp = [1, 2, 3, 4, 8], pp = [2.7, 5.3], Hs = 2, Ns = [
|
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
::selection {
|
|
277
|
-
background-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
|
|
277
|
+
background-color: var(--selection-color, color-mix(in srgb, var(--focus-color, var(--primary-color)) 30%, transparent));
|
|
278
278
|
color: inherit;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
::-moz-selection {
|
|
282
|
-
background-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
|
|
282
|
+
background-color: var(--selection-color, color-mix(in srgb, var(--focus-color, var(--primary-color)) 30%, transparent));
|
|
283
283
|
color: inherit;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
:host *::selection {
|
|
287
|
-
background-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
|
|
287
|
+
background-color: var(--selection-color, color-mix(in srgb, var(--focus-color, var(--primary-color)) 30%, transparent));
|
|
288
288
|
color: inherit;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
:host *::-moz-selection {
|
|
292
|
-
background-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
|
|
292
|
+
background-color: var(--selection-color, color-mix(in srgb, var(--focus-color, var(--primary-color)) 30%, transparent));
|
|
293
293
|
color: inherit;
|
|
294
294
|
}
|
|
295
295
|
`;
|
|
@@ -5484,13 +5484,13 @@ const Gc = O`
|
|
|
5484
5484
|
|
|
5485
5485
|
@media (hover: hover) {
|
|
5486
5486
|
.input-wrapper:not(:has(.input-field:disabled)):not(:has(.input-field[readonly])):not(:has(.input-field.error)):hover {
|
|
5487
|
-
outline-color: var(--primary-color);
|
|
5487
|
+
outline-color: var(--focus-color, var(--primary-color));
|
|
5488
5488
|
}
|
|
5489
5489
|
}
|
|
5490
5490
|
|
|
5491
5491
|
.input-wrapper:has(.input-field:not([readonly]):not(.error):focus),
|
|
5492
5492
|
.input-wrapper:has(.input-field.active:not(.error)) {
|
|
5493
|
-
outline-color: var(--primary-color);
|
|
5493
|
+
outline-color: var(--focus-color, var(--primary-color));
|
|
5494
5494
|
}
|
|
5495
5495
|
|
|
5496
5496
|
.input-wrapper:has(.input-field:disabled) {
|
|
@@ -10943,14 +10943,6 @@ const wu = O`
|
|
|
10943
10943
|
height: 100%;
|
|
10944
10944
|
}
|
|
10945
10945
|
|
|
10946
|
-
::slotted(button:focus-visible),
|
|
10947
|
-
::slotted(a:focus-visible),
|
|
10948
|
-
::slotted(input:focus-visible),
|
|
10949
|
-
::slotted(select:focus-visible) {
|
|
10950
|
-
outline: 2px solid var(--focus-color);
|
|
10951
|
-
outline-offset: 2px;
|
|
10952
|
-
}
|
|
10953
|
-
|
|
10954
10946
|
.game-layout-game-area[inert] .game-area-container ::slotted([slot="game-area"]),
|
|
10955
10947
|
.game-layout-game-area[inert] .game-layout-overlay,
|
|
10956
10948
|
.game-layout-game-area[inert] origami-alert-manager {
|
|
@@ -12513,12 +12505,12 @@ const Ku = O`
|
|
|
12513
12505
|
|
|
12514
12506
|
@media (hover: hover) {
|
|
12515
12507
|
.select-wrapper:not(:has(.select-input:disabled)):not(:has(.select-input.error)):hover {
|
|
12516
|
-
outline-color: var(--primary-color);
|
|
12508
|
+
outline-color: var(--focus-color, var(--primary-color));
|
|
12517
12509
|
}
|
|
12518
12510
|
}
|
|
12519
12511
|
|
|
12520
12512
|
.select-wrapper:has(.select-input:not(.error):focus) {
|
|
12521
|
-
outline-color: var(--primary-color);
|
|
12513
|
+
outline-color: var(--focus-color, var(--primary-color));
|
|
12522
12514
|
}
|
|
12523
12515
|
|
|
12524
12516
|
.select-wrapper:has(.select-input:disabled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betorigami/game-ui-shared",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "The Lit components, controllers, translations and wire types shared by every Origami game UI",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@betorigami/guard": "^2.0.7",
|
|
30
30
|
"web-haptics": "^0.0.6",
|
|
31
31
|
"zod": "4.3.6",
|
|
32
|
-
"@betorigami/game-calculations": "14.0.
|
|
32
|
+
"@betorigami/game-calculations": "14.0.1",
|
|
33
33
|
"@betorigami/money": "0.5.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|