@botonic/webchat-react 2.34.1 → 2.35.0-alpha.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.34.2 (2026-07-13)
2
+
3
+ This was a version bump only for @botonic/webchat-react to align it with other projects, there were no code changes.
4
+
1
5
  ## 2.34.1 (2026-07-09)
2
6
 
3
7
  This was a version bump only for @botonic/webchat-react to align it with other projects, there were no code changes.
package/CLAUDE.md CHANGED
@@ -71,8 +71,8 @@ The cascade stack, from lowest to highest priority:
71
71
  /* webchat-tokens.css */
72
72
  @layer overrides {
73
73
  :root {
74
- --webchat-input-bg: var(--surface-foreground);
75
- --webchat-send-button-color: var(--primary-500);
74
+ --webchat-input-bg: var(--lilara-surface-foreground);
75
+ --webchat-send-button-color: var(--lilara-primary-500);
76
76
  }
77
77
  }
78
78
  ```
@@ -86,13 +86,13 @@ Every value a consumer might want to customize must be a `--webchat-*` token def
86
86
  Pattern: `--webchat-{component}-{property}` with fallback to a semantic foundations token:
87
87
 
88
88
  ```css
89
- --webchat-input-bg: var(--surface-foreground);
90
- --webchat-send-button-color: var(--primary-500);
91
- --webchat-bubble-bot-bg: var(--primary-50);
89
+ --webchat-input-bg: var(--lilara-surface-foreground);
90
+ --webchat-send-button-color: var(--lilara-primary-500);
91
+ --webchat-bubble-bot-bg: var(--lilara-primary-50);
92
92
  ```
93
93
 
94
- Prefer `--primary-*` / `--secondary-*` over raw `--color-purple-*` / `--color-aqua-*`.
95
- Prefer `--color-focus` over `--secondary-600` directly.
94
+ Prefer `--lilara-primary-*` / `--lilara-secondary-*` over raw `--lilara-color-purple-*` / `--lilara-color-aqua-*`.
95
+ Prefer `--lilara-color-focus` over `--lilara-secondary-600` directly.
96
96
 
97
97
  ## Message Components
98
98
 
@@ -160,7 +160,7 @@ Prefer CSS keyframes over JS animation libraries. Define keyframes **outside any
160
160
 
161
161
  @layer component-variants {
162
162
  .messageEnter {
163
- animation: webchat-fade-in var(--webchat-animation-duration, var(--transition-fast)) var(--webchat-animation-easing, ease-out) both;
163
+ animation: webchat-fade-in var(--webchat-animation-duration, var(--lilara-transition-duration-fast)) var(--webchat-animation-easing, ease-out) both;
164
164
  }
165
165
  }
166
166
 
package/index.d.ts CHANGED
@@ -38,6 +38,7 @@
38
38
  */
39
39
  export { useWebchatContext } from './lib/components/webchat-provider/webchat-context';
40
40
  export { WebchatProvider } from './lib/components/webchat-provider/webchat-provider';
41
+ export { MediaPlaybackProvider } from './lib/contexts/media-playback-context';
41
42
  export { WebchatApp, type WebchatAppProps } from './lib/components/webchat-app';
42
43
  export { WebchatContainer } from './lib/components/webchat-container/webchat-container';
43
44
  export { CloseButton, MenuTriggerButton, WebchatHeader, } from './lib/components/webchat-header/webchat-header';
package/index.js CHANGED
@@ -1,61 +1,62 @@
1
- import { B as s, C as t, D as o, a as r, b as n, c as u, d as i, e as c, f as l, g, M as d, h as M, i as h, j as p, k as b, O as W, l as v, m as C, n as S, o as y, p as O, P as T, Q as D, R as H, S as m, T as x, W as E, q as w, r as I, s as A, t as B, u as R, v as _, w as L, x as k, y as F, z as P, A as f, E as G, F as U, G as Q, H as Y, I as j, J as q, K as z, L as J } from "./webchat-app-BfcNIC8B.js";
2
- import { Badge as N, Banner as V, Button as X, Checkbox as Z, Multiselect as $, MultiselectWithSections as ee, Select as ae, SelectWithSections as se, Slider as te, Spinner as oe, Switch as re, Tag as ne, TextArea as ue, TextInput as ie, Tooltip as ce } from "@lilara/ui-web-react";
1
+ import { B as s, C as t, D as o, a as r, b as n, c as i, d as u, e as c, f as l, g as d, M as g, h as M, i as b, j as h, k as p, l as W, O as v, m as C, n as y, o as S, p as O, q as T, P as D, Q as H, R as m, S as x, T as E, W as w, r as I, s as A, t as B, u as R, v as P, w as _, x as k, y as L, z as F, A as f, E as G, F as U, G as N, H as Q, I as Y, J as j, K as q, L as z, N as J } from "./webchat-app-BrBET32o.js";
2
+ import { Badge as V, Banner as X, Button as Z, Checkbox as $, Multiselect as ee, MultiselectWithSections as ae, Select as se, SelectWithSections as te, Slider as oe, Spinner as re, Switch as ne, Tag as ie, TextArea as ue, TextInput as ce, Tooltip as le } from "@lilara/ui-web-react";
3
3
  export {
4
4
  s as Backdrop,
5
- N as Badge,
6
- V as Banner,
7
- X as Button,
8
- Z as Checkbox,
5
+ V as Badge,
6
+ X as Banner,
7
+ Z as Button,
8
+ $ as Checkbox,
9
9
  t as CloseButton,
10
10
  o as DEFAULT_WEBCHAT_HERO_HEADER_LAYOUT_CONFIG,
11
11
  r as Dialog,
12
12
  n as DialogContext,
13
- u as DialogProvider,
14
- i as DropdownMenuItemDownloadTranscript,
13
+ i as DialogProvider,
14
+ u as DropdownMenuItemDownloadTranscript,
15
15
  c as DropdownMenuItemResetConversation,
16
16
  l as DropdownMenuItemResetSession,
17
- g as DropdownMenuItemSounds,
18
- d as MarkdownText,
19
- M as MenuTriggerButton,
17
+ d as DropdownMenuItemSounds,
18
+ g as MarkdownText,
19
+ M as MediaPlaybackProvider,
20
+ b as MenuTriggerButton,
20
21
  h as Message,
21
22
  p as MessageBubble,
22
- b as MessageMachineRenderer,
23
- $ as Multiselect,
24
- ee as MultiselectWithSections,
25
- W as Overlay,
26
- v as OverlayContent,
27
- C as OverlayContext,
23
+ W as MessageMachineRenderer,
24
+ ee as Multiselect,
25
+ ae as MultiselectWithSections,
26
+ v as Overlay,
27
+ C as OverlayContent,
28
+ y as OverlayContext,
28
29
  S as OverlayCoverFrame,
29
- y as OverlayHeader,
30
- O as OverlayWebviewFrame,
31
- T as PreviewEventMessage,
32
- D as QuickReply,
33
- H as RatingMessage,
34
- m as SYSTEM_MESSAGE_ROLE,
35
- ae as Select,
36
- se as SelectWithSections,
37
- te as Slider,
38
- oe as Spinner,
39
- re as Switch,
40
- ne as Tag,
30
+ O as OverlayHeader,
31
+ T as OverlayWebviewFrame,
32
+ D as PreviewEventMessage,
33
+ H as QuickReply,
34
+ m as RatingMessage,
35
+ x as SYSTEM_MESSAGE_ROLE,
36
+ se as Select,
37
+ te as SelectWithSections,
38
+ oe as Slider,
39
+ re as Spinner,
40
+ ne as Switch,
41
+ ie as Tag,
41
42
  ue as TextArea,
42
- ie as TextInput,
43
- ce as Tooltip,
44
- x as TypingIndicator,
45
- E as WebchatApp,
46
- w as WebchatContainer,
47
- I as WebchatHeader,
48
- A as WebchatInput,
49
- B as WebchatMessages,
50
- R as WebchatProvider,
43
+ ce as TextInput,
44
+ le as Tooltip,
45
+ E as TypingIndicator,
46
+ w as WebchatApp,
47
+ I as WebchatContainer,
48
+ A as WebchatHeader,
49
+ B as WebchatInput,
50
+ R as WebchatMessages,
51
+ P as WebchatProvider,
51
52
  _ as getMessageActorCount,
52
- L as mergeWebchatHeroHeaderLayoutConfig,
53
- k as useDialog,
53
+ k as mergeWebchatHeroHeaderLayoutConfig,
54
+ L as useDialog,
54
55
  F as useOverlay,
55
- P as useOverlayContext,
56
- f as useOverlayHeader,
57
- G as useUpdateCustomMessageProps,
58
- U as useWebchatContainer,
56
+ f as useOverlayContext,
57
+ G as useOverlayHeader,
58
+ U as useUpdateCustomMessageProps,
59
+ N as useWebchatContainer,
59
60
  Q as useWebchatContext,
60
61
  Y as useWebchatHeader,
61
62
  j as useWebchatHeroHeaderLayout,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botonic/webchat-react",
3
- "version": "2.34.1",
3
+ "version": "2.35.0-alpha.0",
4
4
  "type": "module",
5
5
  "types": "./index.d.ts",
6
6
  "module": "./index.js",
@@ -30,8 +30,8 @@
30
30
  "peerDependencies": {
31
31
  "react": "^18.0.0",
32
32
  "react-dom": "^18.0.0",
33
- "@botonic/webchat-core": "2.34.1",
34
- "@botonic/shared": "2.34.1",
33
+ "@botonic/webchat-core": "2.35.0-alpha.0",
34
+ "@botonic/shared": "2.35.0-alpha.0",
35
35
  "@lilara/ui-web-react": ">=0.11.0"
36
36
  },
37
37
  "publishConfig": {