@trops/dash-core 0.1.687 → 0.1.688
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.esm.js +5 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -76059,7 +76059,11 @@ var MessageBubble = function MessageBubble(_ref2) {
|
|
|
76059
76059
|
// Theme-provided colors so the chat follows the active light/dark
|
|
76060
76060
|
// theme. No hardcoded fallbacks — they only read correctly on dark.
|
|
76061
76061
|
var bubbleBg = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["bg-secondary-dark"]) || (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["bg-primary-dark"]) || "";
|
|
76062
|
-
|
|
76062
|
+
// The user's bubble uses the primary surface so it stands apart from the
|
|
76063
|
+
// Assistant/lead bubbles (secondary). "bg-primary-medium" is a real
|
|
76064
|
+
// ThemeModel key; the old "bg-primary-bright"/"bg-primary" don't exist,
|
|
76065
|
+
// which left the user's text with no bubble at all.
|
|
76066
|
+
var userBubbleBg = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["bg-primary-medium"]) || "";
|
|
76063
76067
|
var bubbleText = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["text-primary-medium"]) || "";
|
|
76064
76068
|
|
|
76065
76069
|
// App-injected priming messages (e.g. widget-builder "Hello…" seed)
|