@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.js
CHANGED
|
@@ -76077,7 +76077,11 @@ var MessageBubble = function MessageBubble(_ref2) {
|
|
|
76077
76077
|
// Theme-provided colors so the chat follows the active light/dark
|
|
76078
76078
|
// theme. No hardcoded fallbacks — they only read correctly on dark.
|
|
76079
76079
|
var bubbleBg = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["bg-secondary-dark"]) || (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["bg-primary-dark"]) || "";
|
|
76080
|
-
|
|
76080
|
+
// The user's bubble uses the primary surface so it stands apart from the
|
|
76081
|
+
// Assistant/lead bubbles (secondary). "bg-primary-medium" is a real
|
|
76082
|
+
// ThemeModel key; the old "bg-primary-bright"/"bg-primary" don't exist,
|
|
76083
|
+
// which left the user's text with no bubble at all.
|
|
76084
|
+
var userBubbleBg = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["bg-primary-medium"]) || "";
|
|
76081
76085
|
var bubbleText = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme["text-primary-medium"]) || "";
|
|
76082
76086
|
|
|
76083
76087
|
// App-injected priming messages (e.g. widget-builder "Hello…" seed)
|