lynx-console 0.0.0 → 0.1.0
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/README.md +132 -0
- package/dist/assets/src/components/{BottomSheet.css.ts.vanilla-D-1A77Ik.css → BottomSheet.css.ts.vanilla-CulwSDhG.css} +2 -2
- package/dist/assets/src/components/ConsolePanel.css.ts.vanilla-DFvHPEyg.css +340 -0
- package/dist/assets/src/components/{FloatingButton.css.ts.vanilla-rPj35oLW.css → FloatingButton.css.ts.vanilla-BaG0OI6p.css} +15 -3
- package/dist/index.cjs +700 -70
- package/dist/index.mjs +700 -70
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -1
- package/src/components/BottomSheet.css.ts +2 -2
- package/src/components/ConsolePanel.css.ts +108 -15
- package/src/components/ConsolePanel.tsx +2 -1
- package/src/components/FloatingButton.css.ts +15 -4
- package/src/components/FloatingButton.tsx +40 -7
- package/src/components/LogPanel.tsx +140 -10
- package/src/components/Tabs.tsx +3 -0
- package/src/hooks/useLongPressDrag.ts +95 -0
- package/src/index.tsx +1 -1
- package/dist/assets/src/components/ConsolePanel.css.ts.vanilla-B3avfSlI.css +0 -246
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
.ConsolePanel_container__db6kuu0 {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
.ConsolePanel_placeholder__db6kuu1 {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
height: 100%;
|
|
11
|
-
}
|
|
12
|
-
.ConsolePanel_placeholderText__db6kuu2 {
|
|
13
|
-
font-size: 0.875rem;
|
|
14
|
-
line-height: 1.1875rem;
|
|
15
|
-
font-weight: var(--seed-font-weight-regular);
|
|
16
|
-
color: var(--seed-color-fg-disabled);
|
|
17
|
-
}
|
|
18
|
-
.ConsolePanel_logContainer__db6kuu3 {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
flex: 1;
|
|
22
|
-
padding-top: 4px;
|
|
23
|
-
}
|
|
24
|
-
.ConsolePanel_logHeader__db6kuu4 {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: row;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
margin-bottom: 8px;
|
|
30
|
-
padding-bottom: 4px;
|
|
31
|
-
border-bottom-width: 1px;
|
|
32
|
-
border-bottom-color: var(--seed-color-stroke-neutral-subtle);
|
|
33
|
-
border-bottom-style: solid;
|
|
34
|
-
}
|
|
35
|
-
.ConsolePanel_logCount__db6kuu5 {
|
|
36
|
-
font-size: 0.8125rem;
|
|
37
|
-
line-height: 1.125rem;
|
|
38
|
-
font-weight: var(--seed-font-weight-regular);
|
|
39
|
-
color: var(--seed-color-fg-neutral-subtle);
|
|
40
|
-
}
|
|
41
|
-
.ConsolePanel_clearButton__db6kuu6 {
|
|
42
|
-
padding: 6px 12px;
|
|
43
|
-
background-color: var(--seed-color-bg-neutral-weak);
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
}
|
|
46
|
-
.ConsolePanel_clearButtonText__db6kuu7 {
|
|
47
|
-
font-size: 0.8125rem;
|
|
48
|
-
line-height: 1.125rem;
|
|
49
|
-
font-weight: var(--seed-font-weight-medium);
|
|
50
|
-
color: var(--seed-color-fg-neutral);
|
|
51
|
-
}
|
|
52
|
-
.ConsolePanel_logList__db6kuu8 {
|
|
53
|
-
flex: 1;
|
|
54
|
-
}
|
|
55
|
-
.ConsolePanel_logItem__db6kuu9 {
|
|
56
|
-
padding: 8px;
|
|
57
|
-
border-bottom-width: 1px;
|
|
58
|
-
border-bottom-color: var(--seed-color-stroke-neutral-weak);
|
|
59
|
-
border-bottom-style: solid;
|
|
60
|
-
}
|
|
61
|
-
.ConsolePanel_logItem_level_warn__db6kuuc {
|
|
62
|
-
background-color: var(--seed-color-palette-yellow-100);
|
|
63
|
-
}
|
|
64
|
-
.ConsolePanel_logItem_level_error__db6kuud {
|
|
65
|
-
background-color: var(--seed-color-palette-red-100);
|
|
66
|
-
}
|
|
67
|
-
.ConsolePanel_logItemHeader__db6kuue {
|
|
68
|
-
display: flex;
|
|
69
|
-
flex-direction: row;
|
|
70
|
-
align-items: center;
|
|
71
|
-
margin-bottom: 4px;
|
|
72
|
-
}
|
|
73
|
-
.ConsolePanel_logLevel__db6kuuf {
|
|
74
|
-
font-size: 0.75rem;
|
|
75
|
-
line-height: 1rem;
|
|
76
|
-
font-weight: var(--seed-font-weight-bold);
|
|
77
|
-
margin-right: 8px;
|
|
78
|
-
}
|
|
79
|
-
.ConsolePanel_logLevel_level_log__db6kuug {
|
|
80
|
-
color: var(--seed-color-palette-green-600);
|
|
81
|
-
}
|
|
82
|
-
.ConsolePanel_logLevel_level_info__db6kuuh {
|
|
83
|
-
color: var(--seed-color-palette-blue-600);
|
|
84
|
-
}
|
|
85
|
-
.ConsolePanel_logLevel_level_warn__db6kuui {
|
|
86
|
-
color: var(--seed-color-palette-yellow-600);
|
|
87
|
-
}
|
|
88
|
-
.ConsolePanel_logLevel_level_error__db6kuuj {
|
|
89
|
-
color: var(--seed-color-palette-red-600);
|
|
90
|
-
}
|
|
91
|
-
.ConsolePanel_logTime__db6kuuk {
|
|
92
|
-
font-size: 0.75rem;
|
|
93
|
-
line-height: 1rem;
|
|
94
|
-
font-weight: var(--seed-font-weight-regular);
|
|
95
|
-
color: var(--seed-color-fg-neutral-subtle);
|
|
96
|
-
}
|
|
97
|
-
.ConsolePanel_toggleIndicator__db6kuul {
|
|
98
|
-
font-size: 0.75rem;
|
|
99
|
-
line-height: 1rem;
|
|
100
|
-
font-weight: var(--seed-font-weight-regular);
|
|
101
|
-
color: var(--seed-color-fg-neutral-subtle);
|
|
102
|
-
margin-left: 4px;
|
|
103
|
-
align-self: flex-start;
|
|
104
|
-
}
|
|
105
|
-
.ConsolePanel_logMessage__db6kuum {
|
|
106
|
-
font-size: 0.8125rem;
|
|
107
|
-
line-height: 1.125rem;
|
|
108
|
-
font-weight: var(--seed-font-weight-regular);
|
|
109
|
-
color: var(--seed-color-fg-neutral);
|
|
110
|
-
word-break: break-all;
|
|
111
|
-
}
|
|
112
|
-
.ConsolePanel_logArgsContainer__db6kuun {
|
|
113
|
-
display: flex;
|
|
114
|
-
flex-direction: row;
|
|
115
|
-
flex-wrap: wrap;
|
|
116
|
-
gap: 8px;
|
|
117
|
-
}
|
|
118
|
-
.ConsolePanel_logArgItem__db6kuuo {
|
|
119
|
-
font-size: 0.8125rem;
|
|
120
|
-
line-height: 1.125rem;
|
|
121
|
-
font-weight: var(--seed-font-weight-regular);
|
|
122
|
-
}
|
|
123
|
-
.ConsolePanel_argNull__db6kuup {
|
|
124
|
-
color: var(--seed-color-fg-neutral-subtle);
|
|
125
|
-
}
|
|
126
|
-
.ConsolePanel_argUndefined__db6kuuq {
|
|
127
|
-
color: var(--seed-color-fg-neutral-subtle);
|
|
128
|
-
}
|
|
129
|
-
.ConsolePanel_argString__db6kuur {
|
|
130
|
-
font-size: 0.8125rem;
|
|
131
|
-
line-height: 1.125rem;
|
|
132
|
-
font-weight: var(--seed-font-weight-regular);
|
|
133
|
-
}
|
|
134
|
-
.ConsolePanel_argString_level_log__db6kuus {
|
|
135
|
-
color: var(--seed-color-fg-neutral);
|
|
136
|
-
}
|
|
137
|
-
.ConsolePanel_argString_level_info__db6kuut {
|
|
138
|
-
color: var(--seed-color-fg-neutral);
|
|
139
|
-
}
|
|
140
|
-
.ConsolePanel_argString_level_warn__db6kuuu {
|
|
141
|
-
color: var(--seed-color-palette-yellow-900);
|
|
142
|
-
}
|
|
143
|
-
.ConsolePanel_argString_level_error__db6kuuv {
|
|
144
|
-
color: var(--seed-color-palette-red-900);
|
|
145
|
-
}
|
|
146
|
-
.ConsolePanel_argPrimitive__db6kuuw {
|
|
147
|
-
font-size: 0.8125rem;
|
|
148
|
-
line-height: 1.125rem;
|
|
149
|
-
font-weight: var(--seed-font-weight-regular);
|
|
150
|
-
}
|
|
151
|
-
.ConsolePanel_argPrimitive_level_log__db6kuux {
|
|
152
|
-
color: var(--seed-color-palette-blue-600);
|
|
153
|
-
}
|
|
154
|
-
.ConsolePanel_argPrimitive_level_info__db6kuuy {
|
|
155
|
-
color: var(--seed-color-palette-blue-600);
|
|
156
|
-
}
|
|
157
|
-
.ConsolePanel_argPrimitive_level_warn__db6kuuz {
|
|
158
|
-
color: var(--seed-color-palette-yellow-900);
|
|
159
|
-
}
|
|
160
|
-
.ConsolePanel_argPrimitive_level_error__db6kuu10 {
|
|
161
|
-
color: var(--seed-color-palette-red-900);
|
|
162
|
-
}
|
|
163
|
-
.ConsolePanel_argObject__db6kuu11 {
|
|
164
|
-
display: flex;
|
|
165
|
-
flex-direction: column;
|
|
166
|
-
}
|
|
167
|
-
.ConsolePanel_argObjectHeader__db6kuu12 {
|
|
168
|
-
display: flex;
|
|
169
|
-
flex-direction: row;
|
|
170
|
-
align-items: center;
|
|
171
|
-
gap: 4px;
|
|
172
|
-
}
|
|
173
|
-
.ConsolePanel_argObjectPreview__db6kuu13 {
|
|
174
|
-
font-size: 0.8125rem;
|
|
175
|
-
line-height: 1.125rem;
|
|
176
|
-
font-weight: var(--seed-font-weight-medium);
|
|
177
|
-
color: var(--seed-color-fg-neutral);
|
|
178
|
-
}
|
|
179
|
-
.ConsolePanel_argObjectContent__db6kuu14 {
|
|
180
|
-
margin-top: 4px;
|
|
181
|
-
display: flex;
|
|
182
|
-
flex-direction: column;
|
|
183
|
-
gap: 4px;
|
|
184
|
-
}
|
|
185
|
-
.ConsolePanel_argObjectProperty__db6kuu15 {
|
|
186
|
-
display: flex;
|
|
187
|
-
flex-direction: row;
|
|
188
|
-
align-items: flex-start;
|
|
189
|
-
}
|
|
190
|
-
.ConsolePanel_argObjectKey__db6kuu16 {
|
|
191
|
-
font-size: 0.8125rem;
|
|
192
|
-
line-height: 1.125rem;
|
|
193
|
-
font-weight: var(--seed-font-weight-medium);
|
|
194
|
-
color: var(--seed-color-palette-purple-600);
|
|
195
|
-
}
|
|
196
|
-
.ConsolePanel_argObjectJson__db6kuu17 {
|
|
197
|
-
font-size: 0.8125rem;
|
|
198
|
-
line-height: 1.125rem;
|
|
199
|
-
font-weight: var(--seed-font-weight-regular);
|
|
200
|
-
color: var(--seed-color-fg-neutral);
|
|
201
|
-
}
|
|
202
|
-
.ConsolePanel_replInputRow__db6kuu18 {
|
|
203
|
-
display: flex;
|
|
204
|
-
flex-direction: row;
|
|
205
|
-
align-items: center;
|
|
206
|
-
gap: 8px;
|
|
207
|
-
padding-top: 8px;
|
|
208
|
-
padding-bottom: 8px;
|
|
209
|
-
margin-top: -1px;
|
|
210
|
-
border-top-width: 1px;
|
|
211
|
-
border-top-color: var(--seed-color-stroke-neutral-subtle);
|
|
212
|
-
border-top-style: solid;
|
|
213
|
-
background-image: linear-gradient(to bottom, transparent, var(--seed-color-bg-layer-default));
|
|
214
|
-
background-size: 100% 32px;
|
|
215
|
-
background-repeat: no-repeat;
|
|
216
|
-
background-position: top;
|
|
217
|
-
background-color: var(--seed-color-bg-layer-default);
|
|
218
|
-
}
|
|
219
|
-
.ConsolePanel_replPrompt__db6kuu19 {
|
|
220
|
-
font-size: 1.625rem;
|
|
221
|
-
line-height: 2.1875rem;
|
|
222
|
-
font-weight: var(--seed-font-weight-medium);
|
|
223
|
-
color: var(--seed-color-fg-placeholder);
|
|
224
|
-
padding-bottom: 8px;
|
|
225
|
-
}
|
|
226
|
-
.ConsolePanel_replInput__db6kuu1a {
|
|
227
|
-
flex: 1;
|
|
228
|
-
font-size: 1rem;
|
|
229
|
-
line-height: 1.375rem;
|
|
230
|
-
font-weight: var(--seed-font-weight-regular);
|
|
231
|
-
color: var(--seed-color-fg-neutral);
|
|
232
|
-
caret-color: var(--seed-color-palette-green-600);
|
|
233
|
-
padding-bottom: 8px;
|
|
234
|
-
}
|
|
235
|
-
.ConsolePanel_replRunButton__db6kuu1b {
|
|
236
|
-
padding: 4px 10px;
|
|
237
|
-
background-color: var(--seed-color-palette-green-100);
|
|
238
|
-
border-radius: 4px;
|
|
239
|
-
margin-bottom: 8px;
|
|
240
|
-
}
|
|
241
|
-
.ConsolePanel_replRunButtonText__db6kuu1c {
|
|
242
|
-
font-size: 0.8125rem;
|
|
243
|
-
line-height: 1.125rem;
|
|
244
|
-
font-weight: var(--seed-font-weight-medium);
|
|
245
|
-
color: var(--seed-color-palette-green-600);
|
|
246
|
-
}
|