@nurix/ui-component-library 1.1.4-stage.124 → 1.1.4-stage.126
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 +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +6 -3
- package/dist/index.mjs +6 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3075,6 +3075,16 @@ interface KeyValueEditorProps {
|
|
|
3075
3075
|
* matches the Figma reference.
|
|
3076
3076
|
*/
|
|
3077
3077
|
valueLeadingIcon?: React$1.ReactNode;
|
|
3078
|
+
/**
|
|
3079
|
+
* Override the header label for the key column. Defaults to "Key".
|
|
3080
|
+
* Use for domain-specific tables (e.g. `keyHeader="Restricted Term"`).
|
|
3081
|
+
*/
|
|
3082
|
+
keyHeader?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Override the header label for the value column. Defaults to "Value".
|
|
3085
|
+
* Use for domain-specific tables (e.g. `valueHeader="Preferred Term"`).
|
|
3086
|
+
*/
|
|
3087
|
+
valueHeader?: string;
|
|
3078
3088
|
/**
|
|
3079
3089
|
* Render an extra cell at the end of every row, between the value field
|
|
3080
3090
|
* and the delete button. Use it for per-row controls that don't fit the
|
|
@@ -3177,6 +3187,12 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
|
|
|
3177
3187
|
trailing?: React$1.ReactNode;
|
|
3178
3188
|
/** In-Focus state — draws the brand ring around the bubble. */
|
|
3179
3189
|
focused?: boolean;
|
|
3190
|
+
/**
|
|
3191
|
+
* Workspace icon URL rendered inside the 16px avatar slot. Used when
|
|
3192
|
+
* `avatar` isn't explicitly provided. Falls back to the bundled default
|
|
3193
|
+
* Nurix avatar when neither prop is set.
|
|
3194
|
+
*/
|
|
3195
|
+
workspaceIcon?: string;
|
|
3180
3196
|
}
|
|
3181
3197
|
interface ChatBubbleUserProps extends ChatBubbleBaseProps {
|
|
3182
3198
|
/** Shown below the message (e.g. a "Tool Call" tag). */
|
package/dist/index.d.ts
CHANGED
|
@@ -3075,6 +3075,16 @@ interface KeyValueEditorProps {
|
|
|
3075
3075
|
* matches the Figma reference.
|
|
3076
3076
|
*/
|
|
3077
3077
|
valueLeadingIcon?: React$1.ReactNode;
|
|
3078
|
+
/**
|
|
3079
|
+
* Override the header label for the key column. Defaults to "Key".
|
|
3080
|
+
* Use for domain-specific tables (e.g. `keyHeader="Restricted Term"`).
|
|
3081
|
+
*/
|
|
3082
|
+
keyHeader?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Override the header label for the value column. Defaults to "Value".
|
|
3085
|
+
* Use for domain-specific tables (e.g. `valueHeader="Preferred Term"`).
|
|
3086
|
+
*/
|
|
3087
|
+
valueHeader?: string;
|
|
3078
3088
|
/**
|
|
3079
3089
|
* Render an extra cell at the end of every row, between the value field
|
|
3080
3090
|
* and the delete button. Use it for per-row controls that don't fit the
|
|
@@ -3177,6 +3187,12 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
|
|
|
3177
3187
|
trailing?: React$1.ReactNode;
|
|
3178
3188
|
/** In-Focus state — draws the brand ring around the bubble. */
|
|
3179
3189
|
focused?: boolean;
|
|
3190
|
+
/**
|
|
3191
|
+
* Workspace icon URL rendered inside the 16px avatar slot. Used when
|
|
3192
|
+
* `avatar` isn't explicitly provided. Falls back to the bundled default
|
|
3193
|
+
* Nurix avatar when neither prop is set.
|
|
3194
|
+
*/
|
|
3195
|
+
workspaceIcon?: string;
|
|
3180
3196
|
}
|
|
3181
3197
|
interface ChatBubbleUserProps extends ChatBubbleBaseProps {
|
|
3182
3198
|
/** Shown below the message (e.g. a "Tool Call" tag). */
|
package/dist/index.js
CHANGED
|
@@ -16390,6 +16390,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16390
16390
|
hideHeader = false,
|
|
16391
16391
|
allowDeleteRow = true,
|
|
16392
16392
|
valueLeadingIcon,
|
|
16393
|
+
keyHeader = "Key",
|
|
16394
|
+
valueHeader = "Value",
|
|
16393
16395
|
renderRowTrailing,
|
|
16394
16396
|
trailingHeader,
|
|
16395
16397
|
className,
|
|
@@ -16429,8 +16431,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16429
16431
|
"data-testid": dataTestId != null ? dataTestId : "input",
|
|
16430
16432
|
children: [
|
|
16431
16433
|
!hideHeader && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: KEY_VALUE_EDITOR_TOKENS.header, children: [
|
|
16432
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16433
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16434
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: keyHeader }) }),
|
|
16435
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: valueHeader }) }),
|
|
16434
16436
|
renderRowTrailing && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellTrailing, children: trailingHeader && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: trailingHeader }) }),
|
|
16435
16437
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellActions, children: toolbar && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: KEY_VALUE_EDITOR_TOKENS.iconGroup, children: toolbar }) })
|
|
16436
16438
|
] }),
|
|
@@ -16712,6 +16714,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16712
16714
|
timestamp,
|
|
16713
16715
|
alwaysShowTimestamp = false,
|
|
16714
16716
|
avatar,
|
|
16717
|
+
workspaceIcon,
|
|
16715
16718
|
trailing,
|
|
16716
16719
|
focused = false,
|
|
16717
16720
|
className,
|
|
@@ -16744,7 +16747,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16744
16747
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: CHAT_BUBBLE_TOKENS.agent.avatar, children: avatar != null ? avatar : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
16745
16748
|
"img",
|
|
16746
16749
|
{
|
|
16747
|
-
src: agent_avatar_default,
|
|
16750
|
+
src: workspaceIcon != null ? workspaceIcon : agent_avatar_default,
|
|
16748
16751
|
alt: "",
|
|
16749
16752
|
className: "size-full object-cover"
|
|
16750
16753
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -16298,6 +16298,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16298
16298
|
hideHeader = false,
|
|
16299
16299
|
allowDeleteRow = true,
|
|
16300
16300
|
valueLeadingIcon,
|
|
16301
|
+
keyHeader = "Key",
|
|
16302
|
+
valueHeader = "Value",
|
|
16301
16303
|
renderRowTrailing,
|
|
16302
16304
|
trailingHeader,
|
|
16303
16305
|
className,
|
|
@@ -16337,8 +16339,8 @@ var KeyValueEditor = React43.forwardRef(
|
|
|
16337
16339
|
"data-testid": dataTestId != null ? dataTestId : "input",
|
|
16338
16340
|
children: [
|
|
16339
16341
|
!hideHeader && /* @__PURE__ */ jsxs29("div", { className: KEY_VALUE_EDITOR_TOKENS.header, children: [
|
|
16340
|
-
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16341
|
-
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children:
|
|
16342
|
+
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: keyHeader }) }),
|
|
16343
|
+
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCell, children: /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: valueHeader }) }),
|
|
16342
16344
|
renderRowTrailing && /* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellTrailing, children: trailingHeader && /* @__PURE__ */ jsx39("span", { className: KEY_VALUE_EDITOR_TOKENS.headerLabel, children: trailingHeader }) }),
|
|
16343
16345
|
/* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.headerCellActions, children: toolbar && /* @__PURE__ */ jsx39("div", { className: KEY_VALUE_EDITOR_TOKENS.iconGroup, children: toolbar }) })
|
|
16344
16346
|
] }),
|
|
@@ -16620,6 +16622,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16620
16622
|
timestamp,
|
|
16621
16623
|
alwaysShowTimestamp = false,
|
|
16622
16624
|
avatar,
|
|
16625
|
+
workspaceIcon,
|
|
16623
16626
|
trailing,
|
|
16624
16627
|
focused = false,
|
|
16625
16628
|
className,
|
|
@@ -16652,7 +16655,7 @@ var ChatBubbleAgent = React45.forwardRef(
|
|
|
16652
16655
|
/* @__PURE__ */ jsx41("div", { className: CHAT_BUBBLE_TOKENS.agent.avatar, children: avatar != null ? avatar : /* @__PURE__ */ jsx41(
|
|
16653
16656
|
"img",
|
|
16654
16657
|
{
|
|
16655
|
-
src: agent_avatar_default,
|
|
16658
|
+
src: workspaceIcon != null ? workspaceIcon : agent_avatar_default,
|
|
16656
16659
|
alt: "",
|
|
16657
16660
|
className: "size-full object-cover"
|
|
16658
16661
|
}
|