anentrypoint-design 0.0.345 → 0.0.346
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 +65 -0
- package/dist/247420.js +22 -22
- package/package.json +1 -1
- package/src/components/agent-chat.js +3 -0
- package/src/components/chat.js +83 -3
- package/src/components/files-modals.js +40 -0
- package/src/components/overlay-primitives.js +76 -0
- package/src/components.js +2 -2
package/chat.css
CHANGED
|
@@ -803,6 +803,35 @@ button.chat-composer-context:focus-visible { outline: var(--focus-w) solid var(-
|
|
|
803
803
|
padding: 4px var(--space-3); font-size: var(--fs-tiny); color: var(--fg-2);
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
+
/* Streaming elapsed-time counter: ticks m:ss while a turn is in flight.
|
|
807
|
+
Tabular-nums so the digits don't jitter the layout every second. */
|
|
808
|
+
.chat-composer-elapsed {
|
|
809
|
+
order: 5; padding: 2px var(--space-1) 0;
|
|
810
|
+
font-size: var(--fs-micro); color: var(--fg-3);
|
|
811
|
+
font-variant-numeric: tabular-nums; font-feature-settings: 'tnum';
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
/* Detected-attachment badge: a dismissible pill above the textarea, styled
|
|
815
|
+
like the composer-note treatment (same tone/scale) rather than inventing
|
|
816
|
+
new chrome. */
|
|
817
|
+
.chat-composer-detected-badge {
|
|
818
|
+
display: flex; align-items: center; gap: var(--space-2, 8px);
|
|
819
|
+
padding: 4px var(--space-3); font-size: var(--fs-tiny); color: var(--fg-2);
|
|
820
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--rule);
|
|
821
|
+
border-radius: var(--r-1); width: 100%; order: -1;
|
|
822
|
+
}
|
|
823
|
+
.chat-composer-detected-label { flex: 1 1 auto; }
|
|
824
|
+
.chat-composer-detected-dismiss {
|
|
825
|
+
flex: 0 0 auto; background: none; border: none; cursor: pointer;
|
|
826
|
+
color: var(--fg-3); font: inherit; font-size: var(--fs-tiny);
|
|
827
|
+
padding: 2px 6px; border-radius: var(--r-1);
|
|
828
|
+
}
|
|
829
|
+
.chat-composer-detected-dismiss:hover { color: var(--fg); }
|
|
830
|
+
.chat-composer-detected-dismiss:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
831
|
+
@media (pointer: coarse) {
|
|
832
|
+
.chat-composer-detected-dismiss { min-height: 44px; min-width: 44px; }
|
|
833
|
+
}
|
|
834
|
+
|
|
806
835
|
/* Drag-over ring: token accent, never a hex. */
|
|
807
836
|
.chat-composer.dragover { outline: var(--focus-w) solid var(--focus-color); outline-offset: calc(var(--focus-offset) * -1); border-radius: var(--r-2); }
|
|
808
837
|
|
package/dist/247420.css
CHANGED
|
@@ -7876,6 +7876,35 @@
|
|
|
7876
7876
|
padding: 4px var(--space-3); font-size: var(--fs-tiny); color: var(--fg-2);
|
|
7877
7877
|
}
|
|
7878
7878
|
|
|
7879
|
+
/* Streaming elapsed-time counter: ticks m:ss while a turn is in flight.
|
|
7880
|
+
Tabular-nums so the digits don't jitter the layout every second. */
|
|
7881
|
+
.ds-247420 .chat-composer-elapsed {
|
|
7882
|
+
order: 5; padding: 2px var(--space-1) 0;
|
|
7883
|
+
font-size: var(--fs-micro); color: var(--fg-3);
|
|
7884
|
+
font-variant-numeric: tabular-nums; font-feature-settings: 'tnum';
|
|
7885
|
+
}
|
|
7886
|
+
|
|
7887
|
+
/* Detected-attachment badge: a dismissible pill above the textarea, styled
|
|
7888
|
+
like the composer-note treatment (same tone/scale) rather than inventing
|
|
7889
|
+
new chrome. */
|
|
7890
|
+
.ds-247420 .chat-composer-detected-badge {
|
|
7891
|
+
display: flex; align-items: center; gap: var(--space-2, 8px);
|
|
7892
|
+
padding: 4px var(--space-3); font-size: var(--fs-tiny); color: var(--fg-2);
|
|
7893
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--rule);
|
|
7894
|
+
border-radius: var(--r-1); width: 100%; order: -1;
|
|
7895
|
+
}
|
|
7896
|
+
.ds-247420 .chat-composer-detected-label { flex: 1 1 auto; }
|
|
7897
|
+
.ds-247420 .chat-composer-detected-dismiss {
|
|
7898
|
+
flex: 0 0 auto; background: none; border: none; cursor: pointer;
|
|
7899
|
+
color: var(--fg-3); font: inherit; font-size: var(--fs-tiny);
|
|
7900
|
+
padding: 2px 6px; border-radius: var(--r-1);
|
|
7901
|
+
}
|
|
7902
|
+
.ds-247420 .chat-composer-detected-dismiss:hover { color: var(--fg); }
|
|
7903
|
+
.ds-247420 .chat-composer-detected-dismiss:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
7904
|
+
@media (pointer: coarse) {
|
|
7905
|
+
.ds-247420 .chat-composer-detected-dismiss { min-height: 44px; min-width: 44px; }
|
|
7906
|
+
}
|
|
7907
|
+
|
|
7879
7908
|
/* Drag-over ring: token accent, never a hex. */
|
|
7880
7909
|
.ds-247420 .chat-composer.dragover { outline: var(--focus-w) solid var(--focus-color); outline-offset: calc(var(--focus-offset) * -1); border-radius: var(--r-2); }
|
|
7881
7910
|
|
|
@@ -9767,6 +9796,42 @@
|
|
|
9767
9796
|
color: var(--panel-text-3, var(--fg-3));
|
|
9768
9797
|
white-space: nowrap;
|
|
9769
9798
|
}
|
|
9799
|
+
/* PermissionMenu (ov-perm) — roving-tabindex menuitemcheckbox rows +
|
|
9800
|
+
approve-all/revoke-all actions, styled to match the sibling Dropdown menu. */
|
|
9801
|
+
.ds-247420 .ov-perm-menu { min-width: 220px; }
|
|
9802
|
+
.ds-247420 .ov-perm-list { display: flex; flex-direction: column; padding: var(--space-1, 4px); }
|
|
9803
|
+
.ds-247420 .ov-perm-item {
|
|
9804
|
+
display: flex; align-items: center; gap: var(--space-2, 8px);
|
|
9805
|
+
width: 100%; min-height: 36px;
|
|
9806
|
+
padding: var(--space-2, 8px) var(--space-3, 16px);
|
|
9807
|
+
background: transparent; border: 0;
|
|
9808
|
+
color: var(--fg); font: inherit; text-align: left;
|
|
9809
|
+
border-radius: var(--r-1, 10px); cursor: pointer;
|
|
9810
|
+
}
|
|
9811
|
+
.ds-247420 .ov-perm-item:hover { background: var(--panel-2, var(--rule)); }
|
|
9812
|
+
.ds-247420 .ov-perm-item[aria-checked="true"] { color: var(--accent-ink); }
|
|
9813
|
+
.ds-247420 .ov-perm-item[aria-checked="true"]::before { content: '[x] '; font-family: var(--ff-mono, monospace); }
|
|
9814
|
+
.ds-247420 .ov-perm-item[aria-checked="false"]::before { content: '[ ] '; font-family: var(--ff-mono, monospace); color: var(--fg-3); }
|
|
9815
|
+
.ds-247420 .ov-perm-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
9816
|
+
.ds-247420 .ov-perm-actions {
|
|
9817
|
+
display: flex; gap: var(--space-2, 8px);
|
|
9818
|
+
padding: var(--space-2, 8px) var(--space-3, 16px);
|
|
9819
|
+
border-top: 1px solid var(--rule); margin-top: var(--space-1, 4px);
|
|
9820
|
+
}
|
|
9821
|
+
.ds-247420 .ov-perm-action {
|
|
9822
|
+
flex: 1; appearance: none; border: 1px solid var(--rule); background: transparent;
|
|
9823
|
+
color: var(--fg-2); font: inherit; font-size: var(--fs-tiny, 12px);
|
|
9824
|
+
padding: 4px 8px; border-radius: var(--r-1, 10px); cursor: pointer;
|
|
9825
|
+
}
|
|
9826
|
+
.ds-247420 .ov-perm-action:hover { background: var(--panel-2, var(--rule)); }
|
|
9827
|
+
|
|
9828
|
+
/* CountdownDialog's ticking status line: tabular-nums so the number swap
|
|
9829
|
+
each second doesn't jitter the modal layout. */
|
|
9830
|
+
.ds-247420 .ds-countdown-status {
|
|
9831
|
+
font-variant-numeric: tabular-nums; font-feature-settings: 'tnum';
|
|
9832
|
+
color: var(--fg-2);
|
|
9833
|
+
}
|
|
9834
|
+
|
|
9770
9835
|
.ds-247420 .ds-ep-divider-vertical {
|
|
9771
9836
|
display: inline-block;
|
|
9772
9837
|
align-self: stretch;
|