@nurix/ui-component-library 1.1.4-stage.113 → 1.1.4-stage.114

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.js CHANGED
@@ -15591,8 +15591,9 @@ var CHAT_BUBBLE_TOKENS = {
15591
15591
  bubbleFocused: "bg-token-white",
15592
15592
  // 16px avatar — by default a brand-primary circle.
15593
15593
  avatar: "shrink-0 size-4 rounded-full bg-token-brand-primary overflow-hidden",
15594
- // Timestamp row — right-aligned under the bubble, with a 20px gutter.
15595
- timestampRow: "flex items-center justify-end pr-5"
15594
+ // Timestamp row — timestamp first, then trailing (e.g. tool-call badge);
15595
+ // 8px gap between them, 20px right gutter. Figma: 3575:10751.
15596
+ timestampRow: "flex items-center justify-end gap-2 pr-5"
15596
15597
  },
15597
15598
  user: {
15598
15599
  // Row: avatar first, then text (no bubble).
@@ -15601,7 +15602,7 @@ var CHAT_BUBBLE_TOKENS = {
15601
15602
  avatar: "shrink-0 size-4 rounded-full bg-token-grey flex items-center justify-center text-fg-grey-secondary [&>svg]:size-3",
15602
15603
  // Message text — per Figma: 14px regular, grey-secondary.
15603
15604
  text: "flex-1 min-w-0 text-sm font-normal leading-5 text-fg-grey-secondary break-words",
15604
- timestampRow: "flex items-center pl-5"
15605
+ timestampRow: "flex items-center gap-2 pl-5"
15605
15606
  },
15606
15607
  timestamp: "text-xs font-normal leading-4 tracking-normal text-fg-grey-secondary whitespace-nowrap transition-opacity",
15607
15608
  timestampHidden: "opacity-0 group-hover:opacity-100"
@@ -15655,18 +15656,17 @@ var ChatBubbleAgent = React42.forwardRef(
15655
15656
  ) })
15656
15657
  ] }),
15657
15658
  (timestamp || trailing) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: CHAT_BUBBLE_TOKENS.agent.timestampRow, children: [
15658
- trailing,
15659
15659
  timestamp && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
15660
15660
  "span",
15661
15661
  {
15662
15662
  className: cn(
15663
15663
  CHAT_BUBBLE_TOKENS.timestamp,
15664
- trailing && "ml-2",
15665
15664
  !alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
15666
15665
  ),
15667
15666
  children: timestamp
15668
15667
  }
15669
- )
15668
+ ),
15669
+ trailing
15670
15670
  ] })
15671
15671
  ]
15672
15672
  }
@@ -15702,18 +15702,17 @@ var ChatBubbleUser = React42.forwardRef(
15702
15702
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: CHAT_BUBBLE_TOKENS.user.text, children: message })
15703
15703
  ] }),
15704
15704
  (timestamp || trailing) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: [
15705
- trailing,
15706
15705
  timestamp && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
15707
15706
  "span",
15708
15707
  {
15709
15708
  className: cn(
15710
15709
  CHAT_BUBBLE_TOKENS.timestamp,
15711
- trailing && "ml-2",
15712
15710
  !alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
15713
15711
  ),
15714
15712
  children: timestamp
15715
15713
  }
15716
- )
15714
+ ),
15715
+ trailing
15717
15716
  ] })
15718
15717
  ]
15719
15718
  }
package/dist/index.mjs CHANGED
@@ -15504,8 +15504,9 @@ var CHAT_BUBBLE_TOKENS = {
15504
15504
  bubbleFocused: "bg-token-white",
15505
15505
  // 16px avatar — by default a brand-primary circle.
15506
15506
  avatar: "shrink-0 size-4 rounded-full bg-token-brand-primary overflow-hidden",
15507
- // Timestamp row — right-aligned under the bubble, with a 20px gutter.
15508
- timestampRow: "flex items-center justify-end pr-5"
15507
+ // Timestamp row — timestamp first, then trailing (e.g. tool-call badge);
15508
+ // 8px gap between them, 20px right gutter. Figma: 3575:10751.
15509
+ timestampRow: "flex items-center justify-end gap-2 pr-5"
15509
15510
  },
15510
15511
  user: {
15511
15512
  // Row: avatar first, then text (no bubble).
@@ -15514,7 +15515,7 @@ var CHAT_BUBBLE_TOKENS = {
15514
15515
  avatar: "shrink-0 size-4 rounded-full bg-token-grey flex items-center justify-center text-fg-grey-secondary [&>svg]:size-3",
15515
15516
  // Message text — per Figma: 14px regular, grey-secondary.
15516
15517
  text: "flex-1 min-w-0 text-sm font-normal leading-5 text-fg-grey-secondary break-words",
15517
- timestampRow: "flex items-center pl-5"
15518
+ timestampRow: "flex items-center gap-2 pl-5"
15518
15519
  },
15519
15520
  timestamp: "text-xs font-normal leading-4 tracking-normal text-fg-grey-secondary whitespace-nowrap transition-opacity",
15520
15521
  timestampHidden: "opacity-0 group-hover:opacity-100"
@@ -15568,18 +15569,17 @@ var ChatBubbleAgent = React42.forwardRef(
15568
15569
  ) })
15569
15570
  ] }),
15570
15571
  (timestamp || trailing) && /* @__PURE__ */ jsxs29("div", { className: CHAT_BUBBLE_TOKENS.agent.timestampRow, children: [
15571
- trailing,
15572
15572
  timestamp && /* @__PURE__ */ jsx38(
15573
15573
  "span",
15574
15574
  {
15575
15575
  className: cn(
15576
15576
  CHAT_BUBBLE_TOKENS.timestamp,
15577
- trailing && "ml-2",
15578
15577
  !alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
15579
15578
  ),
15580
15579
  children: timestamp
15581
15580
  }
15582
- )
15581
+ ),
15582
+ trailing
15583
15583
  ] })
15584
15584
  ]
15585
15585
  }
@@ -15615,18 +15615,17 @@ var ChatBubbleUser = React42.forwardRef(
15615
15615
  /* @__PURE__ */ jsx38("div", { className: CHAT_BUBBLE_TOKENS.user.text, children: message })
15616
15616
  ] }),
15617
15617
  (timestamp || trailing) && /* @__PURE__ */ jsxs29("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: [
15618
- trailing,
15619
15618
  timestamp && /* @__PURE__ */ jsx38(
15620
15619
  "span",
15621
15620
  {
15622
15621
  className: cn(
15623
15622
  CHAT_BUBBLE_TOKENS.timestamp,
15624
- trailing && "ml-2",
15625
15623
  !alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
15626
15624
  ),
15627
15625
  children: timestamp
15628
15626
  }
15629
- )
15627
+ ),
15628
+ trailing
15630
15629
  ] })
15631
15630
  ]
15632
15631
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/ui-component-library",
3
- "version": "1.1.4-stage.113",
3
+ "version": "1.1.4-stage.114",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",