@nurix/ui-component-library 1.1.4-stage.124 → 1.1.4-stage.125
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.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3177,6 +3177,12 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
|
|
|
3177
3177
|
trailing?: React$1.ReactNode;
|
|
3178
3178
|
/** In-Focus state — draws the brand ring around the bubble. */
|
|
3179
3179
|
focused?: boolean;
|
|
3180
|
+
/**
|
|
3181
|
+
* Workspace icon URL rendered inside the 16px avatar slot. Used when
|
|
3182
|
+
* `avatar` isn't explicitly provided. Falls back to the bundled default
|
|
3183
|
+
* Nurix avatar when neither prop is set.
|
|
3184
|
+
*/
|
|
3185
|
+
workspaceIcon?: string;
|
|
3180
3186
|
}
|
|
3181
3187
|
interface ChatBubbleUserProps extends ChatBubbleBaseProps {
|
|
3182
3188
|
/** Shown below the message (e.g. a "Tool Call" tag). */
|
package/dist/index.d.ts
CHANGED
|
@@ -3177,6 +3177,12 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
|
|
|
3177
3177
|
trailing?: React$1.ReactNode;
|
|
3178
3178
|
/** In-Focus state — draws the brand ring around the bubble. */
|
|
3179
3179
|
focused?: boolean;
|
|
3180
|
+
/**
|
|
3181
|
+
* Workspace icon URL rendered inside the 16px avatar slot. Used when
|
|
3182
|
+
* `avatar` isn't explicitly provided. Falls back to the bundled default
|
|
3183
|
+
* Nurix avatar when neither prop is set.
|
|
3184
|
+
*/
|
|
3185
|
+
workspaceIcon?: string;
|
|
3180
3186
|
}
|
|
3181
3187
|
interface ChatBubbleUserProps extends ChatBubbleBaseProps {
|
|
3182
3188
|
/** Shown below the message (e.g. a "Tool Call" tag). */
|
package/dist/index.js
CHANGED
|
@@ -16712,6 +16712,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16712
16712
|
timestamp,
|
|
16713
16713
|
alwaysShowTimestamp = false,
|
|
16714
16714
|
avatar,
|
|
16715
|
+
workspaceIcon,
|
|
16715
16716
|
trailing,
|
|
16716
16717
|
focused = false,
|
|
16717
16718
|
className,
|
|
@@ -16744,7 +16745,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16744
16745
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: CHAT_BUBBLE_TOKENS.agent.avatar, children: avatar != null ? avatar : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
16745
16746
|
"img",
|
|
16746
16747
|
{
|
|
16747
|
-
src: agent_avatar_default,
|
|
16748
|
+
src: workspaceIcon != null ? workspaceIcon : agent_avatar_default,
|
|
16748
16749
|
alt: "",
|
|
16749
16750
|
className: "size-full object-cover"
|
|
16750
16751
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -16620,6 +16620,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16620
16620
|
timestamp,
|
|
16621
16621
|
alwaysShowTimestamp = false,
|
|
16622
16622
|
avatar,
|
|
16623
|
+
workspaceIcon,
|
|
16623
16624
|
trailing,
|
|
16624
16625
|
focused = false,
|
|
16625
16626
|
className,
|
|
@@ -16652,7 +16653,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16652
16653
|
/* @__PURE__ */ jsx41("div", { className: CHAT_BUBBLE_TOKENS.agent.avatar, children: avatar != null ? avatar : /* @__PURE__ */ jsx41(
|
|
16653
16654
|
"img",
|
|
16654
16655
|
{
|
|
16655
|
-
src: agent_avatar_default,
|
|
16656
|
+
src: workspaceIcon != null ? workspaceIcon : agent_avatar_default,
|
|
16656
16657
|
alt: "",
|
|
16657
16658
|
className: "size-full object-cover"
|
|
16658
16659
|
}
|