@buley/hexgrid-3d 3.3.0 → 3.3.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.
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Displays play-by-play narration messages with sparklines in a NOC dashboard style.
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import { NarrationMessage } from '
|
|
8
|
-
import { StatsTracker } from '
|
|
7
|
+
import { NarrationMessage } from '../lib/narration';
|
|
8
|
+
import { StatsTracker } from '../lib/stats-tracker';
|
|
9
9
|
export interface NarrationOverlayProps {
|
|
10
10
|
messages: NarrationMessage[];
|
|
11
11
|
statsTracker: StatsTracker | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NarrationOverlay.d.ts","sourceRoot":"","sources":["../../src/components/NarrationOverlay.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NarrationOverlay.d.ts","sourceRoot":"","sources":["../../src/components/NarrationOverlay.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkS5D,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
* Displays play-by-play narration messages with sparklines in a NOC dashboard style.
|
|
6
6
|
*/
|
|
7
7
|
import { useEffect, useRef } from 'react';
|
|
8
|
-
import { getAccentRgba, getAccentHex } from '
|
|
8
|
+
import { getAccentRgba, getAccentHex } from '../lib/theme-colors';
|
|
9
9
|
export const NarrationOverlay = ({ messages, statsTracker, isVisible, onClose, }) => {
|
|
10
10
|
const messagesEndRef = useRef(null);
|
|
11
11
|
const scrollContainerRef = useRef(null);
|