@rydr/game-sdk 3.2.0 → 3.2.1
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.
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
export declare const RYDR_PROTOCOL_VERSION: 12;
|
|
10
10
|
/** Semver of this SDK build. Sent in the handshake for telemetry/debugging.
|
|
11
11
|
* (Bumped to 2.0.0 by `npm version major` on release — see CHANGELOG [Unreleased].) */
|
|
12
|
-
export declare const RYDR_SDK_VERSION = "3.2.
|
|
12
|
+
export declare const RYDR_SDK_VERSION = "3.2.1";
|
|
13
13
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/protocol/version.js
CHANGED
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
export const RYDR_PROTOCOL_VERSION = 12;
|
|
33
33
|
/** Semver of this SDK build. Sent in the handshake for telemetry/debugging.
|
|
34
34
|
* (Bumped to 2.0.0 by `npm version major` on release — see CHANGELOG [Unreleased].) */
|
|
35
|
-
export const RYDR_SDK_VERSION = "3.2.
|
|
35
|
+
export const RYDR_SDK_VERSION = "3.2.1";
|
|
36
36
|
//# sourceMappingURL=version.js.map
|
package/dist/ui/styles.js
CHANGED
|
@@ -23,7 +23,7 @@ export function injectCss() {
|
|
|
23
23
|
const CSS = `
|
|
24
24
|
.rydr-ui-root { position: fixed; left: 50%; bottom: 96px; z-index: 40; pointer-events: none;
|
|
25
25
|
transform: translateX(-50%); opacity: 0; transition: opacity 0.18s; }
|
|
26
|
-
.rydr-ui-root.inline { position: relative; left: auto; bottom: auto; transform: none; opacity: 1; display: inline-block; }
|
|
26
|
+
.rydr-ui-root.inline { position: relative; left: auto; bottom: auto; transform: none; opacity: 1; display: inline-block; z-index: auto; }
|
|
27
27
|
/* the dark action card holding the content slot */
|
|
28
28
|
.rydr-ui-card { position: relative; padding: 10px 20px 12px; border-radius: 12px; background: rgba(8,14,24,0.7);
|
|
29
29
|
border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(0,0,0,0.4);
|
|
@@ -176,7 +176,8 @@ const CSS = `
|
|
|
176
176
|
The whole frame is tinted by --rarity (set inline per card). An optional top band carries the rarity
|
|
177
177
|
label; .selected adds a ring + deeper glow and lifts the card for arrow-navigable pickers. */
|
|
178
178
|
.rydr-ui-rcard { position: relative; border-radius: 18px; overflow: hidden; color: #eef4ff; --rarity: #6b7686;
|
|
179
|
-
background:
|
|
179
|
+
background: radial-gradient(140% 92% at 50% 0%, color-mix(in srgb, var(--rarity) 54%, transparent) 0%, transparent 66%),
|
|
180
|
+
linear-gradient(180deg, rgba(14,20,32,0.8) 0%, rgba(8,12,20,0.94) 100%);
|
|
180
181
|
border: 2px solid color-mix(in srgb, var(--rarity) 100%, rgba(255,255,255,0.14));
|
|
181
182
|
box-shadow: 0 12px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05),
|
|
182
183
|
inset 0 2px 20px rgba(0,0,0,0.55), inset 0 0 26px -2px var(--rarity), 0 0 26px -8px var(--rarity);
|
|
@@ -195,7 +196,7 @@ const CSS = `
|
|
|
195
196
|
.rydr-ui-rcard-body { padding: 16px; }
|
|
196
197
|
.rydr-ui-rcard.fixed > .rydr-ui-rcard-body { width: 100%; height: 100%; box-sizing: border-box; }
|
|
197
198
|
/* selected — lifts + scales, a crisp rarity ring sits just outside, the rim thickens, the glow deepens */
|
|
198
|
-
.rydr-ui-rcard.selected { transform: translateY(-4px) scale(1.
|
|
199
|
+
.rydr-ui-rcard.selected { transform: translateY(-4px) scale(1.06); border-width: 3px; border-color: var(--rarity);
|
|
199
200
|
outline: 4px solid var(--rarity); outline-offset: 5px;
|
|
200
201
|
box-shadow: 0 24px 60px rgba(0,0,0,0.55), inset 0 2px 22px rgba(0,0,0,0.55), inset 0 0 32px -2px var(--rarity),
|
|
201
202
|
0 0 64px -2px var(--rarity); }
|
package/dist/ui/styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/ui/styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,IAAI,WAAW,GAAG,KAAK,CAAC;AAExB,MAAM,UAAU,SAAS;IACvB,IAAI,WAAW,IAAI,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,CAAC;QAAC,WAAW,GAAG,IAAI,CAAC;QAAC,OAAO;IAAC,CAAC;IAC1F,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,GAAG,aAAa,CAAC;IACzB,KAAK,CAAC,WAAW,GAAG,GAAG,CAAC;IACxB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjC,WAAW,GAAG,IAAI,CAAC;AACrB,CAAC;AAED,MAAM,GAAG,GAAG
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/ui/styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,IAAI,WAAW,GAAG,KAAK,CAAC;AAExB,MAAM,UAAU,SAAS;IACvB,IAAI,WAAW,IAAI,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,CAAC;QAAC,WAAW,GAAG,IAAI,CAAC;QAAC,OAAO;IAAC,CAAC;IAC1F,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,GAAG,aAAa,CAAC;IACzB,KAAK,CAAC,WAAW,GAAG,GAAG,CAAC;IACxB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjC,WAAW,GAAG,IAAI,CAAC;AACrB,CAAC;AAED,MAAM,GAAG,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4LX,CAAC"}
|