@mcp-b/react-components 0.1.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/LICENSE +21 -0
- package/dist/index.d.ts +7236 -0
- package/dist/index.js +8945 -0
- package/dist/styles/accordion.css +104 -0
- package/dist/styles/agent-connection.css +159 -0
- package/dist/styles/alert-dialog.css +144 -0
- package/dist/styles/artifact.css +67 -0
- package/dist/styles/autocomplete.css +162 -0
- package/dist/styles/avatar.css +31 -0
- package/dist/styles/badge.css +56 -0
- package/dist/styles/base.css +81 -0
- package/dist/styles/button.css +176 -0
- package/dist/styles/card.css +31 -0
- package/dist/styles/chain-of-thought.css +241 -0
- package/dist/styles/checkbox-group.css +10 -0
- package/dist/styles/checkbox.css +42 -0
- package/dist/styles/code-block.css +105 -0
- package/dist/styles/collapsible.css +95 -0
- package/dist/styles/combobox.css +171 -0
- package/dist/styles/commit.css +201 -0
- package/dist/styles/context-menu.css +68 -0
- package/dist/styles/context.css +142 -0
- package/dist/styles/conversation.css +81 -0
- package/dist/styles/dialog.css +98 -0
- package/dist/styles/environment-variables.css +122 -0
- package/dist/styles/field.css +80 -0
- package/dist/styles/fieldset.css +18 -0
- package/dist/styles/file-tree.css +128 -0
- package/dist/styles/form.css +5 -0
- package/dist/styles/github-motion-mark.css +91 -0
- package/dist/styles/index.css +79 -0
- package/dist/styles/input.css +34 -0
- package/dist/styles/label.css +12 -0
- package/dist/styles/menu.css +228 -0
- package/dist/styles/menubar.css +137 -0
- package/dist/styles/message.css +120 -0
- package/dist/styles/meter.css +36 -0
- package/dist/styles/model-selector.css +175 -0
- package/dist/styles/nanite-scene.css +418 -0
- package/dist/styles/navigation-menu.css +162 -0
- package/dist/styles/number-field.css +103 -0
- package/dist/styles/popover.css +148 -0
- package/dist/styles/preview-card.css +98 -0
- package/dist/styles/pricing-page.css +390 -0
- package/dist/styles/progress.css +49 -0
- package/dist/styles/prompt-input.css +153 -0
- package/dist/styles/queue.css +226 -0
- package/dist/styles/radio.css +64 -0
- package/dist/styles/reasoning.css +124 -0
- package/dist/styles/scroll-area.css +67 -0
- package/dist/styles/scrollbars.css +32 -0
- package/dist/styles/select.css +116 -0
- package/dist/styles/separator.css +15 -0
- package/dist/styles/shell.css +121 -0
- package/dist/styles/slider.css +88 -0
- package/dist/styles/sources.css +168 -0
- package/dist/styles/stepper.css +204 -0
- package/dist/styles/switch.css +86 -0
- package/dist/styles/tabs.css +102 -0
- package/dist/styles/task.css +164 -0
- package/dist/styles/terminal.css +97 -0
- package/dist/styles/test-results.css +267 -0
- package/dist/styles/toast.css +142 -0
- package/dist/styles/toggle-group.css +71 -0
- package/dist/styles/toggle.css +44 -0
- package/dist/styles/tokens.css +1 -0
- package/dist/styles/tool.css +180 -0
- package/dist/styles/toolbar.css +139 -0
- package/dist/styles/tooltip.css +49 -0
- package/dist/styles/web-preview.css +150 -0
- package/package.json +77 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
.conversation {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
overflow-x: hidden;
|
|
7
|
+
font-family: var(--sigvelo-font-family);
|
|
8
|
+
color: var(--sigvelo-text-body);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.conversation__content {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 0.75rem;
|
|
15
|
+
padding-block: 1rem;
|
|
16
|
+
padding-inline: 1rem;
|
|
17
|
+
min-height: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.conversation__empty {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex: 1;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
gap: 0.5rem;
|
|
27
|
+
padding-block: 3rem;
|
|
28
|
+
padding-inline: 1.5rem;
|
|
29
|
+
text-align: center;
|
|
30
|
+
color: var(--sigvelo-text-muted);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.conversation__empty-icon {
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
width: 3rem;
|
|
38
|
+
height: 3rem;
|
|
39
|
+
border-radius: var(--sigvelo-border-radius-pill);
|
|
40
|
+
background-color: var(--sigvelo-neutral-fill-softer);
|
|
41
|
+
color: var(--sigvelo-text-muted);
|
|
42
|
+
margin-block-end: 0.25rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.conversation__empty-title {
|
|
46
|
+
font-size: 1rem;
|
|
47
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
48
|
+
color: var(--sigvelo-text-body);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.conversation__empty-description {
|
|
52
|
+
max-width: 32ch;
|
|
53
|
+
font-size: 0.875rem;
|
|
54
|
+
line-height: 1.5;
|
|
55
|
+
color: var(--sigvelo-text-muted);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.conversation__scroll-button {
|
|
59
|
+
position: absolute;
|
|
60
|
+
inset-inline-end: 0.75rem;
|
|
61
|
+
inset-block-end: 0.75rem;
|
|
62
|
+
z-index: 1;
|
|
63
|
+
box-shadow: var(--sigvelo-shadow-soft);
|
|
64
|
+
background-color: var(--sigvelo-paper-color);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.conversation__download-button {
|
|
68
|
+
position: absolute;
|
|
69
|
+
inset-inline-end: 0.75rem;
|
|
70
|
+
inset-block-start: 0.75rem;
|
|
71
|
+
z-index: 1;
|
|
72
|
+
box-shadow: var(--sigvelo-shadow-softer);
|
|
73
|
+
background-color: var(--sigvelo-paper-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media (forced-colors: active) {
|
|
77
|
+
.conversation__scroll-button,
|
|
78
|
+
.conversation__download-button {
|
|
79
|
+
border: 1px solid CanvasText;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.dialog__backdrop {
|
|
2
|
+
position: fixed;
|
|
3
|
+
inset: 0;
|
|
4
|
+
background-color: rgb(0 0 0 / 0.5);
|
|
5
|
+
z-index: 50;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.dialog__backdrop[data-starting-style],
|
|
9
|
+
.dialog__backdrop[data-ending-style] {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dialog__popup {
|
|
14
|
+
position: fixed;
|
|
15
|
+
top: 50%;
|
|
16
|
+
left: 50%;
|
|
17
|
+
transform: translate(-50%, -50%);
|
|
18
|
+
z-index: 50;
|
|
19
|
+
width: calc(100% - 2rem);
|
|
20
|
+
max-width: 32rem;
|
|
21
|
+
max-height: calc(100vh - 4rem);
|
|
22
|
+
overflow-y: auto;
|
|
23
|
+
overscroll-behavior: contain;
|
|
24
|
+
background-color: var(--sigvelo-background-color);
|
|
25
|
+
border: var(--sigvelo-border-style) var(--sigvelo-border-width) var(--sigvelo-neutral-stroke-soft);
|
|
26
|
+
border-radius: var(--sigvelo-border-radius-md);
|
|
27
|
+
padding: 1.5rem;
|
|
28
|
+
box-shadow:
|
|
29
|
+
0 10px 15px -3px color-mix(in oklab, var(--sigvelo-text-body), transparent 90%),
|
|
30
|
+
0 4px 6px -4px color-mix(in oklab, var(--sigvelo-text-body), transparent 90%);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.dialog__popup[data-starting-style],
|
|
34
|
+
.dialog__popup[data-ending-style] {
|
|
35
|
+
opacity: 0;
|
|
36
|
+
transform: translate(-50%, -50%) scale(0.95);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.dialog__popup--sm {
|
|
40
|
+
max-width: 24rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.dialog__popup--lg {
|
|
44
|
+
max-width: 48rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.dialog__popup--fullscreen {
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
max-width: 100%;
|
|
51
|
+
max-height: 100%;
|
|
52
|
+
border-radius: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.dialog__title {
|
|
56
|
+
font-family: var(--sigvelo-font-family);
|
|
57
|
+
font-size: 1.125rem;
|
|
58
|
+
font-weight: var(--sigvelo-font-weight-bold);
|
|
59
|
+
line-height: 1.25;
|
|
60
|
+
color: var(--sigvelo-text-body);
|
|
61
|
+
margin-block-end: 0.5rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dialog__description {
|
|
65
|
+
font-family: var(--sigvelo-font-family);
|
|
66
|
+
font-size: 0.875rem;
|
|
67
|
+
line-height: 1.5;
|
|
68
|
+
color: var(--sigvelo-text-muted);
|
|
69
|
+
margin-block-end: 1rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.dialog__close {
|
|
73
|
+
display: inline-flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
padding-block: 0.5rem;
|
|
77
|
+
padding-inline: 1rem;
|
|
78
|
+
font-family: var(--sigvelo-font-family);
|
|
79
|
+
font-size: 0.875rem;
|
|
80
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
81
|
+
color: var(--sigvelo-text-body);
|
|
82
|
+
background-color: var(--sigvelo-neutral-fill-softer);
|
|
83
|
+
border: none;
|
|
84
|
+
border-radius: var(--sigvelo-border-radius-md);
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
transition: background-color 150ms ease;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.dialog__close:hover {
|
|
90
|
+
background-color: color-mix(in oklab, var(--sigvelo-neutral-fill-softer), transparent 20%);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.dialog__close:focus-visible {
|
|
94
|
+
outline: none;
|
|
95
|
+
box-shadow:
|
|
96
|
+
0 0 0 2px var(--sigvelo-background-color),
|
|
97
|
+
0 0 0 4px var(--sigvelo-focus-color);
|
|
98
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.environment-variables {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
|
+
font-family: var(--sigvelo-font-family);
|
|
6
|
+
color: var(--sigvelo-text-body);
|
|
7
|
+
background-color: var(--sigvelo-paper-color);
|
|
8
|
+
border: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
9
|
+
var(--sigvelo-neutral-stroke-softer);
|
|
10
|
+
border-radius: var(--sigvelo-border-radius-md);
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.environment-variables__header {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
gap: 0.75rem;
|
|
19
|
+
padding-block: 0.625rem;
|
|
20
|
+
padding-inline: 0.875rem;
|
|
21
|
+
border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
22
|
+
var(--sigvelo-neutral-stroke-softer);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.environment-variables__title {
|
|
26
|
+
margin: 0;
|
|
27
|
+
font-family: inherit;
|
|
28
|
+
font-size: 0.875rem;
|
|
29
|
+
font-weight: var(--sigvelo-font-weight-bold);
|
|
30
|
+
color: var(--sigvelo-text-body);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.environment-variables__toggle {
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
gap: 0.5rem;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
font-size: 0.75rem;
|
|
39
|
+
color: var(--sigvelo-text-muted);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.environment-variables__toggle-icon {
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.environment-variables__content {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.environment-variables__group {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.environment-variables__group-label {
|
|
57
|
+
padding-block: 0.375rem;
|
|
58
|
+
padding-inline: 0.875rem;
|
|
59
|
+
font-size: 0.6875rem;
|
|
60
|
+
font-weight: var(--sigvelo-font-weight-bold);
|
|
61
|
+
text-transform: uppercase;
|
|
62
|
+
letter-spacing: 0.05em;
|
|
63
|
+
color: var(--sigvelo-text-muted);
|
|
64
|
+
background-color: var(--sigvelo-neutral-fill-softer);
|
|
65
|
+
border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
66
|
+
var(--sigvelo-neutral-stroke-softer);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.environment-variables__row {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
gap: 0.625rem;
|
|
73
|
+
padding-block: 0.5rem;
|
|
74
|
+
padding-inline: 0.875rem;
|
|
75
|
+
border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
76
|
+
var(--sigvelo-neutral-stroke-softer);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.environment-variables__row:last-child {
|
|
80
|
+
border-block-end: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.environment-variables__name {
|
|
84
|
+
font-family: var(--sigvelo-font-family-code);
|
|
85
|
+
font-size: 0.75rem;
|
|
86
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
87
|
+
color: var(--sigvelo-text-body);
|
|
88
|
+
flex-shrink: 0;
|
|
89
|
+
min-width: 10rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.environment-variables__value {
|
|
93
|
+
flex: 1;
|
|
94
|
+
min-width: 0;
|
|
95
|
+
padding-block: 0.3125rem;
|
|
96
|
+
padding-inline: 0.5rem;
|
|
97
|
+
font-family: var(--sigvelo-font-family-code);
|
|
98
|
+
font-size: 0.75rem;
|
|
99
|
+
color: var(--sigvelo-text-muted);
|
|
100
|
+
background-color: var(--sigvelo-neutral-fill-softer);
|
|
101
|
+
border: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
102
|
+
var(--sigvelo-neutral-stroke-softer);
|
|
103
|
+
border-radius: var(--sigvelo-border-radius-sm);
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
text-overflow: ellipsis;
|
|
106
|
+
white-space: nowrap;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.environment-variables__required {
|
|
110
|
+
flex-shrink: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.environment-variables__copy {
|
|
114
|
+
flex-shrink: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@media (forced-colors: active) {
|
|
118
|
+
.environment-variables,
|
|
119
|
+
.environment-variables__row {
|
|
120
|
+
border: 1px solid CanvasText;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.field {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 0.375rem;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.field__label {
|
|
8
|
+
font-family: var(--sigvelo-font-family);
|
|
9
|
+
font-size: 0.875rem;
|
|
10
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
11
|
+
line-height: 1;
|
|
12
|
+
color: var(--sigvelo-text-body);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.field__label[data-disabled] {
|
|
16
|
+
opacity: 0.5;
|
|
17
|
+
cursor: not-allowed;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.field__control {
|
|
21
|
+
display: flex;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 2.5rem;
|
|
24
|
+
padding-block: 0.5rem;
|
|
25
|
+
padding-inline: 0.75rem;
|
|
26
|
+
font-family: var(--sigvelo-font-family);
|
|
27
|
+
font-size: 0.875rem;
|
|
28
|
+
line-height: 1.25;
|
|
29
|
+
color: var(--sigvelo-text-body);
|
|
30
|
+
background-color: var(--sigvelo-background-color);
|
|
31
|
+
border: var(--sigvelo-border-style) var(--sigvelo-border-width) var(--sigvelo-neutral-stroke-soft);
|
|
32
|
+
border-radius: var(--sigvelo-border-radius-md);
|
|
33
|
+
transition:
|
|
34
|
+
border-color 150ms ease,
|
|
35
|
+
box-shadow 150ms ease;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.field__control::placeholder {
|
|
39
|
+
color: var(--sigvelo-text-muted);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.field__control:focus-visible {
|
|
43
|
+
outline: none;
|
|
44
|
+
border-color: var(--sigvelo-focus-color);
|
|
45
|
+
box-shadow:
|
|
46
|
+
0 0 0 2px var(--sigvelo-background-color),
|
|
47
|
+
0 0 0 4px color-mix(in oklab, var(--sigvelo-focus-color), transparent 80%);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.field__control:disabled {
|
|
51
|
+
opacity: 0.5;
|
|
52
|
+
cursor: not-allowed;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.field__control[data-invalid] {
|
|
56
|
+
border-color: var(--sigvelo-destructive-fill-mid);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.field__control[data-invalid]:focus-visible {
|
|
60
|
+
border-color: var(--sigvelo-destructive-fill-mid);
|
|
61
|
+
box-shadow:
|
|
62
|
+
0 0 0 2px var(--sigvelo-background-color),
|
|
63
|
+
0 0 0 4px color-mix(in oklab, var(--sigvelo-destructive-fill-mid), transparent 80%);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.field__description {
|
|
67
|
+
font-family: var(--sigvelo-font-family);
|
|
68
|
+
font-size: 0.75rem;
|
|
69
|
+
line-height: 1.4;
|
|
70
|
+
color: var(--sigvelo-text-muted);
|
|
71
|
+
margin: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.field__error {
|
|
75
|
+
font-family: var(--sigvelo-font-family);
|
|
76
|
+
font-size: 0.75rem;
|
|
77
|
+
line-height: 1.4;
|
|
78
|
+
color: var(--sigvelo-destructive-fill-mid);
|
|
79
|
+
margin: 0;
|
|
80
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.fieldset {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 1rem;
|
|
5
|
+
padding: 1.5rem;
|
|
6
|
+
margin: 0;
|
|
7
|
+
border: var(--sigvelo-border-style) var(--sigvelo-border-width) var(--sigvelo-neutral-stroke-soft);
|
|
8
|
+
border-radius: var(--sigvelo-border-radius-md);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.fieldset__legend {
|
|
12
|
+
padding: 0 0.5rem;
|
|
13
|
+
margin: 0 -0.5rem;
|
|
14
|
+
font-family: var(--sigvelo-font-family);
|
|
15
|
+
font-size: 0.875rem;
|
|
16
|
+
font-weight: var(--sigvelo-font-weight-bold);
|
|
17
|
+
color: var(--sigvelo-text-body);
|
|
18
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
.file-tree {
|
|
2
|
+
width: 100%;
|
|
3
|
+
font-family: var(--sigvelo-font-family);
|
|
4
|
+
color: var(--sigvelo-text-body);
|
|
5
|
+
background-color: var(--sigvelo-paper-color);
|
|
6
|
+
border: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
7
|
+
var(--sigvelo-neutral-stroke-softer);
|
|
8
|
+
border-radius: var(--sigvelo-border-radius-md);
|
|
9
|
+
padding-block: 0.375rem;
|
|
10
|
+
overflow: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.file-tree__list {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
list-style: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.file-tree__folder,
|
|
22
|
+
.file-tree__file {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.file-tree__node {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 0.375rem;
|
|
31
|
+
width: 100%;
|
|
32
|
+
padding-block: 0.25rem;
|
|
33
|
+
padding-inline-end: 0.5rem;
|
|
34
|
+
background-color: transparent;
|
|
35
|
+
border: none;
|
|
36
|
+
color: var(--sigvelo-text-body);
|
|
37
|
+
font-family: inherit;
|
|
38
|
+
font-size: 0.8125rem;
|
|
39
|
+
text-align: start;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
border-radius: var(--sigvelo-border-radius-sm);
|
|
42
|
+
transition: background-color 120ms ease;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.file-tree__node:hover:not([data-disabled]) {
|
|
46
|
+
background-color: var(--sigvelo-neutral-fill-softer);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.file-tree__node[data-focused],
|
|
50
|
+
.file-tree__node:focus-visible {
|
|
51
|
+
outline: none;
|
|
52
|
+
background-color: var(--sigvelo-neutral-fill-soft);
|
|
53
|
+
box-shadow:
|
|
54
|
+
0 0 0 2px var(--sigvelo-background-color),
|
|
55
|
+
0 0 0 4px var(--sigvelo-focus-color);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.file-tree__node[data-selected] {
|
|
59
|
+
background-color: var(--sigvelo-primary-fill-softer);
|
|
60
|
+
color: var(--sigvelo-primary-text-colorful);
|
|
61
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.file-tree__node[data-selected]:hover {
|
|
65
|
+
background-color: var(--sigvelo-primary-fill-soft);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.file-tree__chevron {
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
flex-shrink: 0;
|
|
71
|
+
color: var(--sigvelo-text-muted);
|
|
72
|
+
transition: transform 150ms ease;
|
|
73
|
+
width: 1rem;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.file-tree__chevron--expanded {
|
|
78
|
+
transform: rotate(90deg);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.file-tree__icon {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
color: var(--sigvelo-text-muted);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.file-tree__node--folder .file-tree__icon {
|
|
88
|
+
color: var(--sigvelo-primary-text-colorful);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.file-tree__name {
|
|
92
|
+
flex: 1;
|
|
93
|
+
min-width: 0;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
text-overflow: ellipsis;
|
|
96
|
+
white-space: nowrap;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.file-tree__actions {
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
gap: 0.125rem;
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
opacity: 0;
|
|
105
|
+
transition: opacity 150ms ease;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.file-tree__node:hover .file-tree__actions,
|
|
109
|
+
.file-tree__actions:focus-within {
|
|
110
|
+
opacity: 1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media (forced-colors: active) {
|
|
114
|
+
.file-tree {
|
|
115
|
+
border: 1px solid CanvasText;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.file-tree__node:focus-visible,
|
|
119
|
+
.file-tree__node[data-focused] {
|
|
120
|
+
outline: 2px solid Highlight;
|
|
121
|
+
outline-offset: 2px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.file-tree__node[data-selected] {
|
|
125
|
+
background-color: Highlight;
|
|
126
|
+
color: HighlightText;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.github-motion-mark {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: inline-grid;
|
|
4
|
+
flex: none;
|
|
5
|
+
place-items: center;
|
|
6
|
+
inline-size: 1.625em;
|
|
7
|
+
block-size: 1.625em;
|
|
8
|
+
color: currentColor;
|
|
9
|
+
line-height: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.github-motion-mark svg {
|
|
13
|
+
grid-area: 1 / 1;
|
|
14
|
+
transform-origin: 50% 50%;
|
|
15
|
+
animation: github-motion-mark-breathe 2.6s ease-in-out infinite;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.github-motion-mark::before,
|
|
19
|
+
.github-motion-mark::after {
|
|
20
|
+
content: "";
|
|
21
|
+
position: absolute;
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.github-motion-mark::before {
|
|
26
|
+
inset: -0.22em;
|
|
27
|
+
border: 1px solid currentColor;
|
|
28
|
+
border-radius: 999px;
|
|
29
|
+
opacity: 0.24;
|
|
30
|
+
transform-origin: 50% 50%;
|
|
31
|
+
animation: github-motion-mark-ring 2.6s ease-out infinite;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.github-motion-mark::after {
|
|
35
|
+
inline-size: 0.24em;
|
|
36
|
+
block-size: 0.24em;
|
|
37
|
+
border-radius: 999px;
|
|
38
|
+
background: currentColor;
|
|
39
|
+
opacity: 0.55;
|
|
40
|
+
transform: translate(0.48em, -0.46em);
|
|
41
|
+
animation: github-motion-mark-dot 2.6s ease-in-out infinite;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes github-motion-mark-breathe {
|
|
45
|
+
0%,
|
|
46
|
+
100% {
|
|
47
|
+
transform: translateY(0) scale(1);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
42% {
|
|
51
|
+
transform: translateY(-0.08em) scale(1.05);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes github-motion-mark-ring {
|
|
56
|
+
0% {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
transform: scale(0.72);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
26% {
|
|
62
|
+
opacity: 0.24;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
72%,
|
|
66
|
+
100% {
|
|
67
|
+
opacity: 0;
|
|
68
|
+
transform: scale(1.18);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes github-motion-mark-dot {
|
|
73
|
+
0%,
|
|
74
|
+
100% {
|
|
75
|
+
opacity: 0.45;
|
|
76
|
+
transform: translate(0.48em, -0.46em) scale(0.85);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
42% {
|
|
80
|
+
opacity: 0.85;
|
|
81
|
+
transform: translate(0.58em, -0.56em) scale(1);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@media (prefers-reduced-motion: reduce) {
|
|
86
|
+
.github-motion-mark svg,
|
|
87
|
+
.github-motion-mark::before,
|
|
88
|
+
.github-motion-mark::after {
|
|
89
|
+
animation: none;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@layer reset, tokens, base, components, utilities, overrides;
|
|
2
|
+
|
|
3
|
+
/* Design Tokens */
|
|
4
|
+
@import "./tokens.css" layer(tokens);
|
|
5
|
+
|
|
6
|
+
/* Base Styles */
|
|
7
|
+
@import "./base.css" layer(base);
|
|
8
|
+
|
|
9
|
+
/* Components */
|
|
10
|
+
@import "./accordion.css" layer(components);
|
|
11
|
+
@import "./agent-connection.css" layer(components);
|
|
12
|
+
@import "./alert-dialog.css" layer(components);
|
|
13
|
+
@import "./autocomplete.css" layer(components);
|
|
14
|
+
@import "./avatar.css" layer(components);
|
|
15
|
+
@import "./badge.css" layer(components);
|
|
16
|
+
@import "./button.css" layer(components);
|
|
17
|
+
@import "./card.css" layer(components);
|
|
18
|
+
@import "./checkbox.css" layer(components);
|
|
19
|
+
@import "./checkbox-group.css" layer(components);
|
|
20
|
+
@import "./collapsible.css" layer(components);
|
|
21
|
+
@import "./combobox.css" layer(components);
|
|
22
|
+
@import "./context-menu.css" layer(components);
|
|
23
|
+
@import "./dialog.css" layer(components);
|
|
24
|
+
@import "./field.css" layer(components);
|
|
25
|
+
@import "./fieldset.css" layer(components);
|
|
26
|
+
@import "./form.css" layer(components);
|
|
27
|
+
@import "./github-motion-mark.css" layer(components);
|
|
28
|
+
@import "./input.css" layer(components);
|
|
29
|
+
@import "./label.css" layer(components);
|
|
30
|
+
@import "./menu.css" layer(components);
|
|
31
|
+
@import "./menubar.css" layer(components);
|
|
32
|
+
@import "./meter.css" layer(components);
|
|
33
|
+
@import "./navigation-menu.css" layer(components);
|
|
34
|
+
@import "./nanite-scene.css" layer(components);
|
|
35
|
+
@import "./number-field.css" layer(components);
|
|
36
|
+
@import "./popover.css" layer(components);
|
|
37
|
+
@import "./preview-card.css" layer(components);
|
|
38
|
+
@import "./progress.css" layer(components);
|
|
39
|
+
@import "./radio.css" layer(components);
|
|
40
|
+
@import "./scroll-area.css" layer(components);
|
|
41
|
+
@import "./scrollbars.css" layer(components);
|
|
42
|
+
@import "./select.css" layer(components);
|
|
43
|
+
@import "./separator.css" layer(components);
|
|
44
|
+
@import "./slider.css" layer(components);
|
|
45
|
+
@import "./stepper.css" layer(components);
|
|
46
|
+
@import "./switch.css" layer(components);
|
|
47
|
+
@import "./tabs.css" layer(components);
|
|
48
|
+
@import "./toast.css" layer(components);
|
|
49
|
+
@import "./toggle.css" layer(components);
|
|
50
|
+
@import "./toggle-group.css" layer(components);
|
|
51
|
+
@import "./toolbar.css" layer(components);
|
|
52
|
+
@import "./tooltip.css" layer(components);
|
|
53
|
+
|
|
54
|
+
/* AI Chat & Code Components */
|
|
55
|
+
@import "./artifact.css" layer(components);
|
|
56
|
+
@import "./chain-of-thought.css" layer(components);
|
|
57
|
+
@import "./code-block.css" layer(components);
|
|
58
|
+
@import "./commit.css" layer(components);
|
|
59
|
+
@import "./context.css" layer(components);
|
|
60
|
+
@import "./conversation.css" layer(components);
|
|
61
|
+
@import "./environment-variables.css" layer(components);
|
|
62
|
+
@import "./file-tree.css" layer(components);
|
|
63
|
+
@import "./message.css" layer(components);
|
|
64
|
+
@import "./model-selector.css" layer(components);
|
|
65
|
+
@import "./prompt-input.css" layer(components);
|
|
66
|
+
@import "./queue.css" layer(components);
|
|
67
|
+
@import "./reasoning.css" layer(components);
|
|
68
|
+
@import "./sources.css" layer(components);
|
|
69
|
+
@import "./task.css" layer(components);
|
|
70
|
+
@import "./terminal.css" layer(components);
|
|
71
|
+
@import "./test-results.css" layer(components);
|
|
72
|
+
@import "./tool.css" layer(components);
|
|
73
|
+
@import "./web-preview.css" layer(components);
|
|
74
|
+
|
|
75
|
+
/* Layout Components */
|
|
76
|
+
@import "./shell.css" layer(components);
|
|
77
|
+
|
|
78
|
+
/* Page Components */
|
|
79
|
+
@import "./pricing-page.css" layer(components);
|