@eshal-bot/chat-widget 0.1.85 → 0.1.87

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.
@@ -88243,33 +88243,33 @@
88243
88243
  isDark
88244
88244
  } = _ref10;
88245
88245
  const lvl = String(spec.level || 'info').toLowerCase();
88246
+ // EV-2258 Status Message Spec v1 - same --status-success/warning/error/info
88247
+ // tokens as packages/frontend/src/app/globals.css. This file styles via JS
88248
+ // objects rather than Tailwind classes/CSS vars, so the locked hsl() values
88249
+ // are inlined directly instead of the previous ad-hoc blue/amber/red hexes.
88246
88250
  const palette = {
88247
88251
  info: {
88248
- bg: isDark ? '#1e3a5f' : '#eff6ff',
88249
- border: '#3b82f6',
88250
- text: isDark ? '#dbeafe' : '#1e40af'
88252
+ bg: isDark ? 'hsl(204 33% 14%)' : 'hsl(204 100% 97%)',
88253
+ border: isDark ? 'hsl(199 89% 58%)' : 'hsl(199 89% 48%)',
88254
+ text: isDark ? '#bae6fd' : '#0c4a6e'
88251
88255
  },
88252
88256
  warn: {
88253
- bg: isDark ? '#3d2e0a' : '#fef3c7',
88254
- border: '#f59e0b',
88255
- text: isDark ? '#fde68a' : '#92400e'
88256
- },
88257
- warning: {
88258
- bg: isDark ? '#3d2e0a' : '#fef3c7',
88259
- border: '#f59e0b',
88260
- text: isDark ? '#fde68a' : '#92400e'
88257
+ bg: isDark ? 'hsl(36 33% 14%)' : 'hsl(34 100% 95%)',
88258
+ border: isDark ? 'hsl(38 92% 60%)' : 'hsl(35 100% 50%)',
88259
+ text: isDark ? '#fde68a' : '#663c00'
88261
88260
  },
88262
88261
  error: {
88263
- bg: isDark ? '#3a1216' : '#fee2e2',
88264
- border: '#ef4444',
88265
- text: isDark ? '#fecaca' : '#991b1b'
88262
+ bg: isDark ? 'hsl(356 33% 16%)' : 'hsl(356 100% 97%)',
88263
+ border: isDark ? 'hsl(350 89% 65%)' : 'hsl(350 89% 60%)',
88264
+ text: isDark ? '#fecdd3' : '#9f1239'
88266
88265
  },
88267
88266
  success: {
88268
- bg: isDark ? '#0e2e1d' : '#d1fae5',
88269
- border: '#10b981',
88267
+ bg: isDark ? 'hsl(152 36% 14%)' : 'hsl(152 81% 96%)',
88268
+ border: isDark ? 'hsl(158 64% 52%)' : 'hsl(160 84% 39%)',
88270
88269
  text: isDark ? '#a7f3d0' : '#065f46'
88271
88270
  }
88272
88271
  };
88272
+ palette.warning = palette.warn;
88273
88273
  const p = palette[lvl] || palette.info;
88274
88274
  return /*#__PURE__*/jsxRuntimeExports.jsxs("div", {
88275
88275
  style: _objectSpread2(_objectSpread2({}, card(isDark)), {}, {