anentrypoint-design 0.0.339 → 0.0.341

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/chat.css CHANGED
@@ -160,6 +160,35 @@
160
160
  }
161
161
  .agentchat-title { font-size: 1em; margin: 0; }
162
162
  .agentchat-sub { font-size: var(--fs-tiny); color: var(--fg-3); }
163
+ /* Optional inline content viewer beside the thread (sidePanel prop) - a
164
+ docstudio-cue addition (its chat view keeps a document/PDF preview open
165
+ next to the conversation rather than in a separate tab). SplitPanel (an
166
+ existing kit primitive) owns the resizable layout; these rules only shape
167
+ the two panes' internal structure. */
168
+ .agentchat.has-side-panel { gap: 0; }
169
+ .agentchat.has-side-panel > .ds-ep-split { flex: 1; min-height: 0; }
170
+ .agentchat-main-col { display: flex; flex-direction: column; min-height: 0; height: 100%; gap: var(--space-2, 8px); }
171
+ .agentchat-side-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; border-left: var(--bw-hair) solid var(--bg-3); }
172
+ .agentchat-side-panel-head {
173
+ display: flex; align-items: center; justify-content: space-between;
174
+ padding: var(--space-2, 8px) var(--space-3, 12px); border-bottom: var(--bw-hair) solid var(--bg-3);
175
+ flex: 0 0 auto;
176
+ }
177
+ .agentchat-side-panel-title { font-size: var(--fs-tiny); font-weight: 600; color: var(--fg-2); text-transform: uppercase; letter-spacing: var(--tr-label); }
178
+ .agentchat-side-panel-close {
179
+ display: inline-flex; align-items: center; justify-content: center;
180
+ background: none; border: none; color: var(--fg-3); cursor: pointer;
181
+ padding: 4px; border-radius: var(--r-1);
182
+ }
183
+ .agentchat-side-panel-close:hover { background: var(--bg-2); color: var(--fg); }
184
+ .agentchat-side-panel-close:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
185
+ .agentchat-side-panel-body { flex: 1; min-height: 0; overflow: auto; }
186
+ @media (max-width: 900px) {
187
+ /* A resizable side-by-side split is impractical below tablet width - stack
188
+ the preview under the thread instead of horizontally squeezing both. */
189
+ .agentchat.has-side-panel > .ds-ep-split.horiz { flex-direction: column; }
190
+ .agentchat-side-panel { border-left: none; border-top: var(--bw-hair) solid var(--bg-3); max-height: 45vh; }
191
+ }
163
192
  /* Thread wrapper hosts the absolutely-positioned jump-to-latest button. */
164
193
  .agentchat-thread-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
165
194
  .agentchat-thread {
@@ -797,6 +826,20 @@ button.chat-composer-context:focus-visible { outline: var(--focus-w) solid var(-
797
826
  background: var(--bg-2); color: var(--fg-2); font-size: var(--fs-tiny);
798
827
  }
799
828
  .chat-msg-notice.is-incomplete { border-style: dashed; }
829
+ /* Error is the one genuine failure state among these notices — reserving
830
+ the destructive tone for it (unlike stopped/incomplete, which are neutral
831
+ "not a finished answer" states, not failures). */
832
+ .chat-msg-notice.is-error {
833
+ border-color: var(--danger); color: var(--danger-ink, var(--danger));
834
+ display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
835
+ }
836
+ .chat-msg-retry-btn {
837
+ border: var(--bw-hair) solid var(--danger); border-radius: var(--r-1);
838
+ background: transparent; color: var(--danger-ink, var(--danger));
839
+ font: inherit; font-size: var(--fs-tiny); padding: 2px 10px; cursor: pointer;
840
+ }
841
+ .chat-msg-retry-btn:hover { background: var(--danger); color: var(--bg); }
842
+ .chat-msg-retry-btn:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
800
843
 
801
844
  /* Tail-window streaming head ('streaming · N KB so far'). */
802
845
  .chat-stream-head {
package/dist/247420.css CHANGED
@@ -5278,6 +5278,19 @@
5278
5278
  max-width: 100%;
5279
5279
  }
5280
5280
  .ds-247420 .ds-table-wrap > table { min-width: 100%; }
5281
+ /* Sortable column headers (Table's opt-in sortable prop) — a docstudio-cue
5282
+ addition: color stays neutral at rest (this is a structural control, not a
5283
+ brand moment) and only the active sort direction gets the accent tint,
5284
+ matching the "color reserved for meaning, not decoration" pattern seen in
5285
+ docstudio's admin table. */
5286
+ .ds-247420 .ds-table-sort-btn {
5287
+ display: inline-flex; align-items: center; gap: 4px;
5288
+ background: none; border: none; padding: 0; margin: 0;
5289
+ font: inherit; font-weight: inherit; color: inherit; cursor: pointer;
5290
+ }
5291
+ .ds-247420 .ds-table-sort-btn:hover { color: var(--fg); }
5292
+ .ds-247420 .ds-table-sort-btn:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 2px; }
5293
+ .ds-247420 .ds-table-sort-btn.is-active { color: var(--accent-ink, var(--accent)); }
5281
5294
 
5282
5295
 
5283
5296
  /* == appended: settings kit cleanup == */
@@ -5397,6 +5410,19 @@
5397
5410
  .ds-247420 .ds-chat-detail { display: block; position: sticky; top: 0; }
5398
5411
  }
5399
5412
 
5413
+ /* Avatar — generic identity disc primitive (content.js Avatar). Sized
5414
+ variants mirror the existing chat-avatar/community-avatar footprints so
5415
+ any consumer gets a consistent disc without duplicating the CSS. */
5416
+ .ds-247420 .ds-avatar {
5417
+ display: inline-flex; align-items: center; justify-content: center;
5418
+ border-radius: 50%; background: var(--bg-3); color: var(--fg);
5419
+ font-family: var(--ff-mono); font-weight: 600; text-transform: lowercase;
5420
+ letter-spacing: 0.02em; user-select: none; flex-shrink: 0; object-fit: cover;
5421
+ }
5422
+ .ds-247420 .ds-avatar-sm { width: 24px; height: 24px; font-size: 10px; }
5423
+ .ds-247420 .ds-avatar-md { width: 36px; height: 36px; font-size: 12px; }
5424
+ .ds-247420 .ds-avatar-lg { width: 48px; height: 48px; font-size: 15px; }
5425
+
5400
5426
  /* community.css */
5401
5427
  /* ============================================================
5402
5428
  247420 design system — community surface (Discord-style chat)
@@ -7208,6 +7234,35 @@
7208
7234
  }
7209
7235
  .ds-247420 .agentchat-title { font-size: 1em; margin: 0; }
7210
7236
  .ds-247420 .agentchat-sub { font-size: var(--fs-tiny); color: var(--fg-3); }
7237
+ /* Optional inline content viewer beside the thread (sidePanel prop) - a
7238
+ docstudio-cue addition (its chat view keeps a document/PDF preview open
7239
+ next to the conversation rather than in a separate tab). SplitPanel (an
7240
+ existing kit primitive) owns the resizable layout; these rules only shape
7241
+ the two panes' internal structure. */
7242
+ .ds-247420 .agentchat.has-side-panel { gap: 0; }
7243
+ .ds-247420 .agentchat.has-side-panel > .ds-ep-split { flex: 1; min-height: 0; }
7244
+ .ds-247420 .agentchat-main-col { display: flex; flex-direction: column; min-height: 0; height: 100%; gap: var(--space-2, 8px); }
7245
+ .ds-247420 .agentchat-side-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; border-left: var(--bw-hair) solid var(--bg-3); }
7246
+ .ds-247420 .agentchat-side-panel-head {
7247
+ display: flex; align-items: center; justify-content: space-between;
7248
+ padding: var(--space-2, 8px) var(--space-3, 12px); border-bottom: var(--bw-hair) solid var(--bg-3);
7249
+ flex: 0 0 auto;
7250
+ }
7251
+ .ds-247420 .agentchat-side-panel-title { font-size: var(--fs-tiny); font-weight: 600; color: var(--fg-2); text-transform: uppercase; letter-spacing: var(--tr-label); }
7252
+ .ds-247420 .agentchat-side-panel-close {
7253
+ display: inline-flex; align-items: center; justify-content: center;
7254
+ background: none; border: none; color: var(--fg-3); cursor: pointer;
7255
+ padding: 4px; border-radius: var(--r-1);
7256
+ }
7257
+ .ds-247420 .agentchat-side-panel-close:hover { background: var(--bg-2); color: var(--fg); }
7258
+ .ds-247420 .agentchat-side-panel-close:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
7259
+ .ds-247420 .agentchat-side-panel-body { flex: 1; min-height: 0; overflow: auto; }
7260
+ @media (max-width: 900px) {
7261
+ /* A resizable side-by-side split is impractical below tablet width - stack
7262
+ the preview under the thread instead of horizontally squeezing both. */
7263
+ .ds-247420 .agentchat.has-side-panel > .ds-ep-split.horiz { flex-direction: column; }
7264
+ .ds-247420 .agentchat-side-panel { border-left: none; border-top: var(--bw-hair) solid var(--bg-3); max-height: 45vh; }
7265
+ }
7211
7266
  /* Thread wrapper hosts the absolutely-positioned jump-to-latest button. */
7212
7267
  .ds-247420 .agentchat-thread-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
7213
7268
  .ds-247420 .agentchat-thread {
@@ -7844,6 +7899,20 @@
7844
7899
  background: var(--bg-2); color: var(--fg-2); font-size: var(--fs-tiny);
7845
7900
  }
7846
7901
  .ds-247420 .chat-msg-notice.is-incomplete { border-style: dashed; }
7902
+ /* Error is the one genuine failure state among these notices — reserving
7903
+ the destructive tone for it (unlike stopped/incomplete, which are neutral
7904
+ "not a finished answer" states, not failures). */
7905
+ .ds-247420 .chat-msg-notice.is-error {
7906
+ border-color: var(--danger); color: var(--danger-ink, var(--danger));
7907
+ display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
7908
+ }
7909
+ .ds-247420 .chat-msg-retry-btn {
7910
+ border: var(--bw-hair) solid var(--danger); border-radius: var(--r-1);
7911
+ background: transparent; color: var(--danger-ink, var(--danger));
7912
+ font: inherit; font-size: var(--fs-tiny); padding: 2px 10px; cursor: pointer;
7913
+ }
7914
+ .ds-247420 .chat-msg-retry-btn:hover { background: var(--danger); color: var(--bg); }
7915
+ .ds-247420 .chat-msg-retry-btn:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
7847
7916
 
7848
7917
  /* Tail-window streaming head ('streaming · N KB so far'). */
7849
7918
  .ds-247420 .chat-stream-head {