anentrypoint-design 0.0.338 → 0.0.340
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 +29 -0
- package/dist/247420.css +42 -0
- package/dist/247420.js +22 -22
- package/package.json +1 -1
- package/src/components/agent-chat.js +58 -26
- package/src/components/content.js +17 -2
- package/src/components/shell.js +1 -0
- package/src/css/app-shell/kits-appended.css +13 -0
- package/src/page-html.js +16 -2
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 {
|
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 == */
|
|
@@ -7208,6 +7221,35 @@
|
|
|
7208
7221
|
}
|
|
7209
7222
|
.ds-247420 .agentchat-title { font-size: 1em; margin: 0; }
|
|
7210
7223
|
.ds-247420 .agentchat-sub { font-size: var(--fs-tiny); color: var(--fg-3); }
|
|
7224
|
+
/* Optional inline content viewer beside the thread (sidePanel prop) - a
|
|
7225
|
+
docstudio-cue addition (its chat view keeps a document/PDF preview open
|
|
7226
|
+
next to the conversation rather than in a separate tab). SplitPanel (an
|
|
7227
|
+
existing kit primitive) owns the resizable layout; these rules only shape
|
|
7228
|
+
the two panes' internal structure. */
|
|
7229
|
+
.ds-247420 .agentchat.has-side-panel { gap: 0; }
|
|
7230
|
+
.ds-247420 .agentchat.has-side-panel > .ds-ep-split { flex: 1; min-height: 0; }
|
|
7231
|
+
.ds-247420 .agentchat-main-col { display: flex; flex-direction: column; min-height: 0; height: 100%; gap: var(--space-2, 8px); }
|
|
7232
|
+
.ds-247420 .agentchat-side-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; border-left: var(--bw-hair) solid var(--bg-3); }
|
|
7233
|
+
.ds-247420 .agentchat-side-panel-head {
|
|
7234
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
7235
|
+
padding: var(--space-2, 8px) var(--space-3, 12px); border-bottom: var(--bw-hair) solid var(--bg-3);
|
|
7236
|
+
flex: 0 0 auto;
|
|
7237
|
+
}
|
|
7238
|
+
.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); }
|
|
7239
|
+
.ds-247420 .agentchat-side-panel-close {
|
|
7240
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
7241
|
+
background: none; border: none; color: var(--fg-3); cursor: pointer;
|
|
7242
|
+
padding: 4px; border-radius: var(--r-1);
|
|
7243
|
+
}
|
|
7244
|
+
.ds-247420 .agentchat-side-panel-close:hover { background: var(--bg-2); color: var(--fg); }
|
|
7245
|
+
.ds-247420 .agentchat-side-panel-close:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
7246
|
+
.ds-247420 .agentchat-side-panel-body { flex: 1; min-height: 0; overflow: auto; }
|
|
7247
|
+
@media (max-width: 900px) {
|
|
7248
|
+
/* A resizable side-by-side split is impractical below tablet width - stack
|
|
7249
|
+
the preview under the thread instead of horizontally squeezing both. */
|
|
7250
|
+
.ds-247420 .agentchat.has-side-panel > .ds-ep-split.horiz { flex-direction: column; }
|
|
7251
|
+
.ds-247420 .agentchat-side-panel { border-left: none; border-top: var(--bw-hair) solid var(--bg-3); max-height: 45vh; }
|
|
7252
|
+
}
|
|
7211
7253
|
/* Thread wrapper hosts the absolutely-positioned jump-to-latest button. */
|
|
7212
7254
|
.ds-247420 .agentchat-thread-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
|
|
7213
7255
|
.ds-247420 .agentchat-thread {
|