@botharness/ui 1.5.0 → 1.5.1

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/lib/client.js CHANGED
@@ -75031,8 +75031,8 @@ My relationship with you, established lore and topics to avoid: [fill in].
75031
75031
  //#region packages/client/src/client/build-id.ts
75032
75032
  function clientBuild() {
75033
75033
  return {
75034
- "sha": "04c46c745",
75035
- "time": "2026-10-24T15:35:18.798Z"
75034
+ "sha": "d2e1723d5",
75035
+ "time": "2026-10-25T05:56:55.057Z"
75036
75036
  };
75037
75037
  }
75038
75038
  function pad$1(value) {
@@ -173839,12 +173839,6 @@ My relationship with you, established lore and topics to avoid: [fill in].
173839
173839
  }) : null
173840
173840
  ]
173841
173841
  }),
173842
- activeMemoryView === void 0 && (unseen > 0 || conversation.timeline.hasNewer) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
173843
- type: "button",
173844
- className: "bh-timeline-new",
173845
- onClick: jumpToLatest,
173846
- children: conversation.timeline.hasNewer ? t("messages.latest") : t(unseen === 1 ? "messages.unseenOne" : "messages.unseen", { count: unseen })
173847
- }) : null,
173848
173842
  activeMemoryView === void 0 && restoreBlocked ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
173849
173843
  className: "bh-note",
173850
173844
  role: "alert",
@@ -173867,6 +173861,24 @@ My relationship with you, established lore and topics to avoid: [fill in].
173867
173861
  else exportSelectionImage(selectedIds);
173868
173862
  }
173869
173863
  }) : null,
173864
+ activeMemoryView === void 0 && selectedIds === void 0 && (!atLatest || unseen > 0 || conversation.timeline.hasNewer) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
173865
+ className: "bh-timeline-jump-anchor",
173866
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
173867
+ type: "button",
173868
+ className: "bh-timeline-new",
173869
+ "aria-label": t("messages.latest"),
173870
+ "aria-description": unseen > 0 ? t(unseen === 1 ? "messages.unseenOne" : "messages.unseen", { count: unseen }) : void 0,
173871
+ onClick: jumpToLatest,
173872
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {
173873
+ size: 16,
173874
+ "aria-hidden": "true"
173875
+ }), unseen > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
173876
+ className: "bh-timeline-new-count",
173877
+ "aria-hidden": "true",
173878
+ children: unseen > 99 ? "99+" : unseen
173879
+ }) : null]
173880
+ })
173881
+ }) : null,
173870
173882
  readOnlyDm && selectedIds === void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
173871
173883
  className: "bh-bot-dm-readonly",
173872
173884
  children: t(deletedBotDm ? "deletion.readOnly" : "botDm.readOnly")
@@ -191072,20 +191084,56 @@ a.bh-message-file-download:hover, button.bh-message-file-download:hover { backgr
191072
191084
  display: none;
191073
191085
  }
191074
191086
  }
191087
+ .bh-timeline-jump-anchor {
191088
+ position: relative;
191089
+ flex: none;
191090
+ height: 0;
191091
+ z-index: 2;
191092
+ }
191075
191093
  .bh-timeline-new {
191076
191094
  position: absolute;
191077
191095
  z-index: 2;
191078
- bottom: calc(82px + var(--bh-activity-overlay-inset, 0px));
191079
- left: 50%;
191080
- transform: translateX(-50%);
191096
+ bottom: calc(${space$3.x3} + var(--bh-activity-overlay-inset, 0px));
191097
+ right: ${space$3.x4};
191098
+ max-width: calc(100% - ${space$3.x4} * 2);
191081
191099
  border: ${border.hairline} solid ${color$1.border};
191082
191100
  border-radius: 999px;
191083
- padding: ${space$3.x2} ${space$3.x4};
191084
- color: var(--dsw-alias-label-primary);
191085
- background: var(--dsw-alias-bg-module-platform);
191101
+ display: inline-flex;
191102
+ align-items: center;
191103
+ justify-content: center;
191104
+ width: ${size.row};
191105
+ height: ${size.row};
191106
+ padding: 0;
191107
+ color: ${color$1.fg};
191108
+ background: ${color$1.elevated};
191109
+ opacity: 1;
191086
191110
  box-shadow: 0 4px 16px color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent);
191087
191111
  cursor: pointer;
191088
191112
  }
191113
+ .bh-timeline-new:hover {
191114
+ color: ${color$1.accent};
191115
+ background: color-mix(in srgb, ${color$1.fg} 8%, ${color$1.elevated});
191116
+ }
191117
+ .bh-timeline-new:active {
191118
+ color: ${color$1.accent};
191119
+ background: color-mix(in srgb, ${color$1.fg} 16%, ${color$1.elevated});
191120
+ }
191121
+ .bh-timeline-new-count {
191122
+ position: absolute;
191123
+ top: calc(-1 * ${space$3.x2});
191124
+ right: calc(-1 * ${space$3.x2});
191125
+ min-width: ${space$3.x5};
191126
+ height: ${text$13.metaLine};
191127
+ box-sizing: border-box;
191128
+ padding-inline: ${space$3.x1};
191129
+ border-radius: 999px;
191130
+ color: ${color$1.onAccent};
191131
+ background: ${color$1.accent};
191132
+ font-size: ${text$13.metaSize};
191133
+ line-height: ${text$13.metaLine};
191134
+ text-align: center;
191135
+ }
191136
+ .bh-timeline-new:focus-visible { outline: ${border.focus} solid ${color$1.accent}; }
191089
191137
 
191090
191138
  .bh-inline-mention {
191091
191139
  border-radius: ${radius$1.xs};