@nurix/ui-component-library 1.1.3-stage.110 → 1.1.3-stage.111
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +31 -14
- package/dist/index.mjs +31 -14
- package/dist/styles.css +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2590,6 +2590,10 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
|
|
|
2590
2590
|
focused?: boolean;
|
|
2591
2591
|
}
|
|
2592
2592
|
interface ChatBubbleUserProps extends ChatBubbleBaseProps {
|
|
2593
|
+
/** Shown below the message (e.g. a "Tool Call" tag). */
|
|
2594
|
+
trailing?: React$1.ReactNode;
|
|
2595
|
+
/** In-Focus state — draws the brand ring around the row. */
|
|
2596
|
+
focused?: boolean;
|
|
2593
2597
|
}
|
|
2594
2598
|
|
|
2595
2599
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2590,6 +2590,10 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
|
|
|
2590
2590
|
focused?: boolean;
|
|
2591
2591
|
}
|
|
2592
2592
|
interface ChatBubbleUserProps extends ChatBubbleBaseProps {
|
|
2593
|
+
/** Shown below the message (e.g. a "Tool Call" tag). */
|
|
2594
|
+
trailing?: React$1.ReactNode;
|
|
2595
|
+
/** In-Focus state — draws the brand ring around the row. */
|
|
2596
|
+
focused?: boolean;
|
|
2593
2597
|
}
|
|
2594
2598
|
|
|
2595
2599
|
/**
|
package/dist/index.js
CHANGED
|
@@ -10355,7 +10355,13 @@ var TooltipContent = React27.forwardRef(({ className, sideOffset = 6, shortcut,
|
|
|
10355
10355
|
}
|
|
10356
10356
|
)
|
|
10357
10357
|
] }),
|
|
10358
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
10358
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
10359
|
+
TooltipPrimitive.Arrow,
|
|
10360
|
+
{
|
|
10361
|
+
className: TOOLTIP_TOKENS.arrow,
|
|
10362
|
+
style: { fill: "hsl(var(--bg-brand-primary))" }
|
|
10363
|
+
}
|
|
10364
|
+
)
|
|
10359
10365
|
]
|
|
10360
10366
|
}
|
|
10361
10367
|
);
|
|
@@ -15037,9 +15043,9 @@ var AUDIO_PLAYER_TOKENS = {
|
|
|
15037
15043
|
waveform: {
|
|
15038
15044
|
wrapper: "relative flex-1 min-w-0 h-8 mx-3 cursor-pointer select-none overflow-hidden",
|
|
15039
15045
|
bars: "absolute inset-0 flex items-center gap-[2px]",
|
|
15040
|
-
bar: "flex-1 min-w-px rounded-full bg-
|
|
15046
|
+
bar: "flex-1 min-w-px rounded-full bg-token-light",
|
|
15041
15047
|
barActive: "bg-token-brand-primary",
|
|
15042
|
-
baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-
|
|
15048
|
+
baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-token-light"
|
|
15043
15049
|
}
|
|
15044
15050
|
};
|
|
15045
15051
|
|
|
@@ -15272,6 +15278,8 @@ var ChatBubbleUser = React42.forwardRef(
|
|
|
15272
15278
|
timestamp,
|
|
15273
15279
|
alwaysShowTimestamp = false,
|
|
15274
15280
|
avatar,
|
|
15281
|
+
trailing,
|
|
15282
|
+
focused = false,
|
|
15275
15283
|
className,
|
|
15276
15284
|
...props
|
|
15277
15285
|
}, ref) => {
|
|
@@ -15279,23 +15287,32 @@ var ChatBubbleUser = React42.forwardRef(
|
|
|
15279
15287
|
"div",
|
|
15280
15288
|
{
|
|
15281
15289
|
ref,
|
|
15282
|
-
className: cn(
|
|
15290
|
+
className: cn(
|
|
15291
|
+
CHAT_BUBBLE_TOKENS.group,
|
|
15292
|
+
"items-start",
|
|
15293
|
+
focused && CHAT_BUBBLE_TOKENS.groupFocused,
|
|
15294
|
+
className
|
|
15295
|
+
),
|
|
15283
15296
|
...props,
|
|
15284
15297
|
children: [
|
|
15285
15298
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: CHAT_BUBBLE_TOKENS.user.row, children: [
|
|
15286
15299
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: cn(CHAT_BUBBLE_TOKENS.user.avatar, "mb-0.5"), children: avatar != null ? avatar : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react22.User, {}) }),
|
|
15287
15300
|
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: CHAT_BUBBLE_TOKENS.user.text, children: message })
|
|
15288
15301
|
] }),
|
|
15289
|
-
timestamp && /* @__PURE__ */ (0, import_jsx_runtime38.
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15293
|
-
|
|
15294
|
-
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15302
|
+
(timestamp || trailing) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: [
|
|
15303
|
+
trailing,
|
|
15304
|
+
timestamp && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
15305
|
+
"span",
|
|
15306
|
+
{
|
|
15307
|
+
className: cn(
|
|
15308
|
+
CHAT_BUBBLE_TOKENS.timestamp,
|
|
15309
|
+
trailing && "ml-2",
|
|
15310
|
+
!alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
|
|
15311
|
+
),
|
|
15312
|
+
children: timestamp
|
|
15313
|
+
}
|
|
15314
|
+
)
|
|
15315
|
+
] })
|
|
15299
15316
|
]
|
|
15300
15317
|
}
|
|
15301
15318
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -10253,7 +10253,13 @@ var TooltipContent = React27.forwardRef(({ className, sideOffset = 6, shortcut,
|
|
|
10253
10253
|
}
|
|
10254
10254
|
)
|
|
10255
10255
|
] }),
|
|
10256
|
-
/* @__PURE__ */ jsx23(
|
|
10256
|
+
/* @__PURE__ */ jsx23(
|
|
10257
|
+
TooltipPrimitive.Arrow,
|
|
10258
|
+
{
|
|
10259
|
+
className: TOOLTIP_TOKENS.arrow,
|
|
10260
|
+
style: { fill: "hsl(var(--bg-brand-primary))" }
|
|
10261
|
+
}
|
|
10262
|
+
)
|
|
10257
10263
|
]
|
|
10258
10264
|
}
|
|
10259
10265
|
);
|
|
@@ -14943,9 +14949,9 @@ var AUDIO_PLAYER_TOKENS = {
|
|
|
14943
14949
|
waveform: {
|
|
14944
14950
|
wrapper: "relative flex-1 min-w-0 h-8 mx-3 cursor-pointer select-none overflow-hidden",
|
|
14945
14951
|
bars: "absolute inset-0 flex items-center gap-[2px]",
|
|
14946
|
-
bar: "flex-1 min-w-px rounded-full bg-
|
|
14952
|
+
bar: "flex-1 min-w-px rounded-full bg-token-light",
|
|
14947
14953
|
barActive: "bg-token-brand-primary",
|
|
14948
|
-
baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-
|
|
14954
|
+
baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-token-light"
|
|
14949
14955
|
}
|
|
14950
14956
|
};
|
|
14951
14957
|
|
|
@@ -15178,6 +15184,8 @@ var ChatBubbleUser = React42.forwardRef(
|
|
|
15178
15184
|
timestamp,
|
|
15179
15185
|
alwaysShowTimestamp = false,
|
|
15180
15186
|
avatar,
|
|
15187
|
+
trailing,
|
|
15188
|
+
focused = false,
|
|
15181
15189
|
className,
|
|
15182
15190
|
...props
|
|
15183
15191
|
}, ref) => {
|
|
@@ -15185,23 +15193,32 @@ var ChatBubbleUser = React42.forwardRef(
|
|
|
15185
15193
|
"div",
|
|
15186
15194
|
{
|
|
15187
15195
|
ref,
|
|
15188
|
-
className: cn(
|
|
15196
|
+
className: cn(
|
|
15197
|
+
CHAT_BUBBLE_TOKENS.group,
|
|
15198
|
+
"items-start",
|
|
15199
|
+
focused && CHAT_BUBBLE_TOKENS.groupFocused,
|
|
15200
|
+
className
|
|
15201
|
+
),
|
|
15189
15202
|
...props,
|
|
15190
15203
|
children: [
|
|
15191
15204
|
/* @__PURE__ */ jsxs29("div", { className: CHAT_BUBBLE_TOKENS.user.row, children: [
|
|
15192
15205
|
/* @__PURE__ */ jsx38("div", { className: cn(CHAT_BUBBLE_TOKENS.user.avatar, "mb-0.5"), children: avatar != null ? avatar : /* @__PURE__ */ jsx38(User, {}) }),
|
|
15193
15206
|
/* @__PURE__ */ jsx38("div", { className: CHAT_BUBBLE_TOKENS.user.text, children: message })
|
|
15194
15207
|
] }),
|
|
15195
|
-
timestamp && /* @__PURE__ */
|
|
15196
|
-
|
|
15197
|
-
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15208
|
+
(timestamp || trailing) && /* @__PURE__ */ jsxs29("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: [
|
|
15209
|
+
trailing,
|
|
15210
|
+
timestamp && /* @__PURE__ */ jsx38(
|
|
15211
|
+
"span",
|
|
15212
|
+
{
|
|
15213
|
+
className: cn(
|
|
15214
|
+
CHAT_BUBBLE_TOKENS.timestamp,
|
|
15215
|
+
trailing && "ml-2",
|
|
15216
|
+
!alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
|
|
15217
|
+
),
|
|
15218
|
+
children: timestamp
|
|
15219
|
+
}
|
|
15220
|
+
)
|
|
15221
|
+
] })
|
|
15205
15222
|
]
|
|
15206
15223
|
}
|
|
15207
15224
|
);
|
package/dist/styles.css
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
-moz-tab-size: 4;
|
|
67
67
|
-o-tab-size: 4;
|
|
68
68
|
tab-size: 4;
|
|
69
|
-
font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
|
|
69
|
+
font-family: var(--font-nunito, Nunito), ui-sans-serif, system-ui, sans-serif;
|
|
70
70
|
font-feature-settings: normal;
|
|
71
71
|
font-variation-settings: normal;
|
|
72
72
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -1506,10 +1506,10 @@
|
|
|
1506
1506
|
vertical-align: middle;
|
|
1507
1507
|
}
|
|
1508
1508
|
.lego-land .font-nunito {
|
|
1509
|
-
font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
|
|
1509
|
+
font-family: var(--font-nunito, Nunito), ui-sans-serif, system-ui, sans-serif;
|
|
1510
1510
|
}
|
|
1511
1511
|
.lego-land .font-sans {
|
|
1512
|
-
font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
|
|
1512
|
+
font-family: var(--font-nunito, Nunito), ui-sans-serif, system-ui, sans-serif;
|
|
1513
1513
|
}
|
|
1514
1514
|
.lego-land .text-2xl {
|
|
1515
1515
|
font-size: 24px;
|
|
@@ -3087,7 +3087,7 @@
|
|
|
3087
3087
|
}
|
|
3088
3088
|
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&display=swap");
|
|
3089
3089
|
.lego-land {
|
|
3090
|
-
--font-sans: "Nunito", ui-sans-serif, system-ui, sans-serif;
|
|
3090
|
+
--font-sans: var(--font-nunito, "Nunito"), ui-sans-serif, system-ui, sans-serif;
|
|
3091
3091
|
font-family: var(--font-sans);
|
|
3092
3092
|
--bg-white: 0 0% 100%;
|
|
3093
3093
|
--bg-light-grey: 0 0% 98%;
|