@hxdhxd/harmony-flow-ui 0.3.0 → 0.4.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 +25 -1
- package/dist/index.cjs +1535 -1319
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +325 -103
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +12 -9
- package/dist/index.d.ts +12 -9
- package/dist/index.js +1520 -1304
- package/dist/index.js.map +1 -1
- package/dist/monaco-assets/LICENSE.monaco.txt +21 -0
- package/dist/monaco-assets/ThirdPartyNotices.txt +448 -0
- package/dist/monaco-assets/chunks/chunk-2KWDR4W3.js +1 -0
- package/dist/monaco-assets/chunks/chunk-2KWDR4W3.js.gz +0 -0
- package/dist/monaco-assets/chunks/chunk-6CWAYXCI.js +870 -0
- package/dist/monaco-assets/chunks/chunk-6CWAYXCI.js.gz +0 -0
- package/dist/monaco-assets/chunks/chunk-AD5KIREA.js +61 -0
- package/dist/monaco-assets/chunks/chunk-AD5KIREA.js.gz +0 -0
- package/dist/monaco-assets/chunks/chunk-NYAGVHXV.js +1 -0
- package/dist/monaco-assets/chunks/chunk-NYAGVHXV.js.gz +0 -0
- package/dist/monaco-assets/chunks/javascript-Q5O4BLC5.css +1 -0
- package/dist/monaco-assets/chunks/javascript-Q5O4BLC5.css.gz +0 -0
- package/dist/monaco-assets/chunks/javascript-R6AQIXSX.js +1 -0
- package/dist/monaco-assets/chunks/javascript-R6AQIXSX.js.gz +0 -0
- package/dist/monaco-assets/chunks/jsonMode-I4YAYKCC.css +1 -0
- package/dist/monaco-assets/chunks/jsonMode-I4YAYKCC.css.gz +0 -0
- package/dist/monaco-assets/chunks/jsonMode-PVXHFVY4.js +10 -0
- package/dist/monaco-assets/chunks/jsonMode-PVXHFVY4.js.gz +0 -0
- package/dist/monaco-assets/chunks/tsMode-4CIG5YX5.js +11 -0
- package/dist/monaco-assets/chunks/tsMode-4CIG5YX5.js.gz +0 -0
- package/dist/monaco-assets/chunks/tsMode-LEY4YWTP.css +1 -0
- package/dist/monaco-assets/chunks/tsMode-LEY4YWTP.css.gz +0 -0
- package/dist/monaco-assets/chunks/typescript-DYIPN6WN.js +1 -0
- package/dist/monaco-assets/chunks/typescript-DYIPN6WN.js.gz +0 -0
- package/dist/monaco-assets/chunks/typescript-Z6MD7EEQ.css +1 -0
- package/dist/monaco-assets/chunks/typescript-Z6MD7EEQ.css.gz +0 -0
- package/dist/monaco-assets/editor.worker.js +30 -0
- package/dist/monaco-assets/editor.worker.js.gz +0 -0
- package/dist/monaco-assets/fonts/codicon-KP4OV2OO.ttf +0 -0
- package/dist/monaco-assets/json.worker.js +62 -0
- package/dist/monaco-assets/json.worker.js.gz +0 -0
- package/dist/monaco-assets/manifest.json +5 -0
- package/dist/monaco-assets/runtime.css +1 -0
- package/dist/monaco-assets/runtime.css.gz +0 -0
- package/dist/monaco-assets/runtime.js +1 -0
- package/dist/monaco-assets/runtime.js.gz +0 -0
- package/dist/monaco-assets/typescript.worker.js +67740 -0
- package/dist/monaco-assets/typescript.worker.js.gz +0 -0
- package/dist/monaco.cjs +521 -0
- package/dist/monaco.cjs.map +1 -0
- package/dist/monaco.css +35 -0
- package/dist/monaco.css.map +1 -0
- package/dist/monaco.d.cts +22 -0
- package/dist/monaco.d.ts +22 -0
- package/dist/monaco.js +494 -0
- package/dist/monaco.js.map +1 -0
- package/package.json +11 -3
package/dist/index.css
CHANGED
|
@@ -5055,7 +5055,6 @@
|
|
|
5055
5055
|
color: var(--hf-color-text);
|
|
5056
5056
|
}
|
|
5057
5057
|
.hf-rich-editor,
|
|
5058
|
-
.hf-code-editor,
|
|
5059
5058
|
.hf-json-viewer,
|
|
5060
5059
|
.hf-diff-viewer,
|
|
5061
5060
|
.hf-query-builder {
|
|
@@ -5066,7 +5065,6 @@
|
|
|
5066
5065
|
overflow: visible;
|
|
5067
5066
|
}
|
|
5068
5067
|
.hf-rich-editor__header,
|
|
5069
|
-
.hf-code-editor > header,
|
|
5070
5068
|
.hf-diff-viewer > header,
|
|
5071
5069
|
.hf-query-builder > header {
|
|
5072
5070
|
align-items: center;
|
|
@@ -5149,39 +5147,6 @@
|
|
|
5149
5147
|
.hf-mention-input__menu small {
|
|
5150
5148
|
color: var(--hf-color-text-muted);
|
|
5151
5149
|
}
|
|
5152
|
-
.hf-code-editor > header span {
|
|
5153
|
-
color: var(--hf-color-text-muted);
|
|
5154
|
-
font-family: monospace;
|
|
5155
|
-
font-size: 11px;
|
|
5156
|
-
text-transform: uppercase;
|
|
5157
|
-
}
|
|
5158
|
-
.hf-code-editor > div {
|
|
5159
|
-
display: grid;
|
|
5160
|
-
grid-template-columns: 48px 1fr;
|
|
5161
|
-
}
|
|
5162
|
-
.hf-code-editor pre {
|
|
5163
|
-
background: color-mix(in srgb, var(--hf-color-surface) 84%, var(--hf-color-background));
|
|
5164
|
-
border-right: 1px solid var(--hf-color-border);
|
|
5165
|
-
color: var(--hf-color-text-muted);
|
|
5166
|
-
font: 12px/1.6 ui-monospace, monospace;
|
|
5167
|
-
margin: 0;
|
|
5168
|
-
overflow: hidden;
|
|
5169
|
-
padding: 12px 10px;
|
|
5170
|
-
text-align: right;
|
|
5171
|
-
}
|
|
5172
|
-
.hf-code-editor textarea {
|
|
5173
|
-
background: var(--hf-color-surface);
|
|
5174
|
-
border: 0;
|
|
5175
|
-
color: var(--hf-color-text);
|
|
5176
|
-
font: 12px/1.6 ui-monospace, monospace;
|
|
5177
|
-
outline: 0;
|
|
5178
|
-
padding: 12px;
|
|
5179
|
-
resize: none;
|
|
5180
|
-
tab-size: 2;
|
|
5181
|
-
}
|
|
5182
|
-
.hf-code-editor textarea:focus {
|
|
5183
|
-
box-shadow: inset 0 0 0 2px var(--hf-color-focus);
|
|
5184
|
-
}
|
|
5185
5150
|
.hf-json-viewer {
|
|
5186
5151
|
font-family: ui-monospace, monospace;
|
|
5187
5152
|
padding: 10px;
|
|
@@ -7005,8 +6970,6 @@
|
|
|
7005
6970
|
margin-left: calc(var(--hf-comment-depth) * 10px);
|
|
7006
6971
|
}
|
|
7007
6972
|
}
|
|
7008
|
-
.hf-file-explorer,
|
|
7009
|
-
.hf-file-preview,
|
|
7010
6973
|
.hf-permission-matrix,
|
|
7011
6974
|
.hf-share-panel {
|
|
7012
6975
|
background: var(--hf-color-surface);
|
|
@@ -7015,72 +6978,6 @@
|
|
|
7015
6978
|
color: var(--hf-color-text);
|
|
7016
6979
|
overflow: hidden;
|
|
7017
6980
|
}
|
|
7018
|
-
.hf-file-explorer ul {
|
|
7019
|
-
list-style: none;
|
|
7020
|
-
margin: 0;
|
|
7021
|
-
padding: 4px;
|
|
7022
|
-
}
|
|
7023
|
-
.hf-file-explorer li > div {
|
|
7024
|
-
align-items: center;
|
|
7025
|
-
display: flex;
|
|
7026
|
-
}
|
|
7027
|
-
.hf-file-explorer li > div.is-selected {
|
|
7028
|
-
background: color-mix(in srgb, var(--hf-color-primary) 9%, var(--hf-color-surface));
|
|
7029
|
-
border-radius: 8px;
|
|
7030
|
-
}
|
|
7031
|
-
.hf-file-explorer button {
|
|
7032
|
-
background: transparent;
|
|
7033
|
-
border: 0;
|
|
7034
|
-
color: var(--hf-color-text);
|
|
7035
|
-
}
|
|
7036
|
-
.hf-file-explorer__toggle {
|
|
7037
|
-
width: 24px;
|
|
7038
|
-
}
|
|
7039
|
-
.hf-file-explorer li > div > button:last-child {
|
|
7040
|
-
align-items: center;
|
|
7041
|
-
display: flex;
|
|
7042
|
-
flex: 1;
|
|
7043
|
-
gap: 8px;
|
|
7044
|
-
padding: 8px;
|
|
7045
|
-
text-align: left;
|
|
7046
|
-
}
|
|
7047
|
-
.hf-file-explorer li span {
|
|
7048
|
-
display: grid;
|
|
7049
|
-
flex: 1;
|
|
7050
|
-
}
|
|
7051
|
-
.hf-file-explorer small,
|
|
7052
|
-
.hf-file-explorer i {
|
|
7053
|
-
color: var(--hf-color-text-muted);
|
|
7054
|
-
font-size: 10px;
|
|
7055
|
-
}
|
|
7056
|
-
.hf-file-explorer > div,
|
|
7057
|
-
.hf-file-preview__empty {
|
|
7058
|
-
color: var(--hf-color-text-muted);
|
|
7059
|
-
padding: 34px;
|
|
7060
|
-
text-align: center;
|
|
7061
|
-
}
|
|
7062
|
-
.hf-file-preview > header {
|
|
7063
|
-
align-items: center;
|
|
7064
|
-
border-bottom: 1px solid var(--hf-color-border);
|
|
7065
|
-
display: flex;
|
|
7066
|
-
justify-content: space-between;
|
|
7067
|
-
padding: 12px;
|
|
7068
|
-
}
|
|
7069
|
-
.hf-file-preview > header > div {
|
|
7070
|
-
display: grid;
|
|
7071
|
-
}
|
|
7072
|
-
.hf-file-preview > header span {
|
|
7073
|
-
color: var(--hf-color-text-muted);
|
|
7074
|
-
font-size: 10px;
|
|
7075
|
-
}
|
|
7076
|
-
.hf-file-preview__body {
|
|
7077
|
-
min-height: 260px;
|
|
7078
|
-
padding: 14px;
|
|
7079
|
-
}
|
|
7080
|
-
.hf-file-preview__empty {
|
|
7081
|
-
display: grid;
|
|
7082
|
-
gap: 8px;
|
|
7083
|
-
}
|
|
7084
6981
|
.hf-version-history {
|
|
7085
6982
|
list-style: none;
|
|
7086
6983
|
margin: 0;
|
|
@@ -7374,6 +7271,331 @@
|
|
|
7374
7271
|
}
|
|
7375
7272
|
}
|
|
7376
7273
|
|
|
7274
|
+
/* src/components/file-workbench.css */
|
|
7275
|
+
.hf-file-explorer,
|
|
7276
|
+
.hf-file-preview,
|
|
7277
|
+
.hf-code-editor {
|
|
7278
|
+
min-width: 0;
|
|
7279
|
+
overflow: hidden;
|
|
7280
|
+
background: var(--hf-color-surface);
|
|
7281
|
+
color: var(--hf-color-text);
|
|
7282
|
+
border: 1px solid var(--hf-color-border);
|
|
7283
|
+
border-radius: var(--hf-radius-panel);
|
|
7284
|
+
}
|
|
7285
|
+
.hf-file-explorer__heading {
|
|
7286
|
+
display: flex;
|
|
7287
|
+
justify-content: space-between;
|
|
7288
|
+
padding: 10px 14px;
|
|
7289
|
+
background: var(--hf-color-background);
|
|
7290
|
+
color: var(--hf-color-text-muted);
|
|
7291
|
+
font-size: 12px;
|
|
7292
|
+
border-bottom: 1px solid var(--hf-color-border);
|
|
7293
|
+
}
|
|
7294
|
+
.hf-file-explorer ul {
|
|
7295
|
+
list-style: none;
|
|
7296
|
+
margin: 0;
|
|
7297
|
+
padding: 4px;
|
|
7298
|
+
}
|
|
7299
|
+
.hf-file-explorer__row {
|
|
7300
|
+
display: flex;
|
|
7301
|
+
align-items: center;
|
|
7302
|
+
gap: 8px;
|
|
7303
|
+
width: 100%;
|
|
7304
|
+
min-width: 0;
|
|
7305
|
+
padding: 10px;
|
|
7306
|
+
border: 0;
|
|
7307
|
+
border-radius: var(--hf-radius-control);
|
|
7308
|
+
background: transparent;
|
|
7309
|
+
color: inherit;
|
|
7310
|
+
font: inherit;
|
|
7311
|
+
text-align: start;
|
|
7312
|
+
cursor: pointer;
|
|
7313
|
+
}
|
|
7314
|
+
.hf-file-explorer__row:hover {
|
|
7315
|
+
background: var(--hf-color-background);
|
|
7316
|
+
}
|
|
7317
|
+
.hf-file-explorer__row.is-selected {
|
|
7318
|
+
background: color-mix(in srgb, var(--hf-color-primary) 10%, var(--hf-color-surface));
|
|
7319
|
+
color: var(--hf-color-primary);
|
|
7320
|
+
}
|
|
7321
|
+
.hf-file-explorer__row:focus-visible {
|
|
7322
|
+
outline: 2px solid var(--hf-color-primary);
|
|
7323
|
+
outline-offset: -2px;
|
|
7324
|
+
}
|
|
7325
|
+
.hf-file-explorer__toggle {
|
|
7326
|
+
display: flex;
|
|
7327
|
+
flex: 0 0 14px;
|
|
7328
|
+
color: var(--hf-color-text-muted);
|
|
7329
|
+
}
|
|
7330
|
+
.hf-file-explorer__toggle svg {
|
|
7331
|
+
transform: rotate(-90deg);
|
|
7332
|
+
}
|
|
7333
|
+
.hf-file-explorer__toggle.is-open svg {
|
|
7334
|
+
transform: none;
|
|
7335
|
+
}
|
|
7336
|
+
.hf-file-explorer__icon {
|
|
7337
|
+
display: flex;
|
|
7338
|
+
flex: 0 0 18px;
|
|
7339
|
+
color: var(--hf-color-text-muted);
|
|
7340
|
+
}
|
|
7341
|
+
.hf-file-explorer__icon.is-folder {
|
|
7342
|
+
color: var(--hf-color-primary);
|
|
7343
|
+
}
|
|
7344
|
+
.hf-file-explorer__name {
|
|
7345
|
+
display: grid;
|
|
7346
|
+
gap: 3px;
|
|
7347
|
+
min-width: 0;
|
|
7348
|
+
flex: 1;
|
|
7349
|
+
overflow-wrap: anywhere;
|
|
7350
|
+
}
|
|
7351
|
+
.hf-file-explorer__name strong {
|
|
7352
|
+
font-size: 13px;
|
|
7353
|
+
font-weight: 500;
|
|
7354
|
+
line-height: 1.5;
|
|
7355
|
+
}
|
|
7356
|
+
.hf-file-explorer__name small,
|
|
7357
|
+
.hf-file-explorer__size {
|
|
7358
|
+
color: var(--hf-color-text-muted);
|
|
7359
|
+
font-size: 11px;
|
|
7360
|
+
}
|
|
7361
|
+
.hf-file-explorer__size {
|
|
7362
|
+
flex: 0 0 auto;
|
|
7363
|
+
max-width: 25%;
|
|
7364
|
+
overflow-wrap: anywhere;
|
|
7365
|
+
}
|
|
7366
|
+
.hf-file-explorer__empty {
|
|
7367
|
+
padding: 28px 16px;
|
|
7368
|
+
text-align: center;
|
|
7369
|
+
color: var(--hf-color-text-muted);
|
|
7370
|
+
}
|
|
7371
|
+
.hf-file-preview__header {
|
|
7372
|
+
display: flex;
|
|
7373
|
+
align-items: center;
|
|
7374
|
+
gap: 10px;
|
|
7375
|
+
flex-wrap: wrap;
|
|
7376
|
+
padding: 14px 16px;
|
|
7377
|
+
border-bottom: 1px solid var(--hf-color-border);
|
|
7378
|
+
}
|
|
7379
|
+
.hf-file-preview__icon {
|
|
7380
|
+
display: flex;
|
|
7381
|
+
color: var(--hf-color-primary);
|
|
7382
|
+
}
|
|
7383
|
+
.hf-file-preview__info {
|
|
7384
|
+
flex: 1;
|
|
7385
|
+
min-width: 100px;
|
|
7386
|
+
overflow-wrap: anywhere;
|
|
7387
|
+
}
|
|
7388
|
+
.hf-file-preview__info strong {
|
|
7389
|
+
font-size: 14px;
|
|
7390
|
+
font-weight: 600;
|
|
7391
|
+
line-height: 1.6;
|
|
7392
|
+
}
|
|
7393
|
+
.hf-file-preview__meta {
|
|
7394
|
+
display: flex;
|
|
7395
|
+
flex-wrap: wrap;
|
|
7396
|
+
gap: 4px 12px;
|
|
7397
|
+
margin-top: 3px;
|
|
7398
|
+
font-size: 12px;
|
|
7399
|
+
color: var(--hf-color-text-muted);
|
|
7400
|
+
}
|
|
7401
|
+
.hf-file-preview__actions {
|
|
7402
|
+
display: flex;
|
|
7403
|
+
align-items: center;
|
|
7404
|
+
gap: 8px;
|
|
7405
|
+
}
|
|
7406
|
+
.hf-file-preview__body {
|
|
7407
|
+
min-height: 260px;
|
|
7408
|
+
padding: 20px;
|
|
7409
|
+
overflow-wrap: anywhere;
|
|
7410
|
+
}
|
|
7411
|
+
.hf-file-preview__empty {
|
|
7412
|
+
min-height: 280px;
|
|
7413
|
+
display: flex;
|
|
7414
|
+
flex-direction: column;
|
|
7415
|
+
justify-content: center;
|
|
7416
|
+
align-items: center;
|
|
7417
|
+
gap: 14px;
|
|
7418
|
+
padding: 24px;
|
|
7419
|
+
text-align: center;
|
|
7420
|
+
color: var(--hf-color-text-muted);
|
|
7421
|
+
}
|
|
7422
|
+
.hf-file-preview__empty svg {
|
|
7423
|
+
width: 32px;
|
|
7424
|
+
height: 32px;
|
|
7425
|
+
}
|
|
7426
|
+
.hf-code-editor__header {
|
|
7427
|
+
display: flex;
|
|
7428
|
+
justify-content: space-between;
|
|
7429
|
+
align-items: center;
|
|
7430
|
+
gap: 12px;
|
|
7431
|
+
padding: 0 12px;
|
|
7432
|
+
border-bottom: 1px solid var(--hf-color-border);
|
|
7433
|
+
background: var(--hf-color-background);
|
|
7434
|
+
}
|
|
7435
|
+
.hf-code-editor__title {
|
|
7436
|
+
display: flex;
|
|
7437
|
+
align-items: center;
|
|
7438
|
+
gap: 10px;
|
|
7439
|
+
min-width: 0;
|
|
7440
|
+
padding-block: 12px;
|
|
7441
|
+
border-bottom: 2px solid var(--hf-color-primary);
|
|
7442
|
+
}
|
|
7443
|
+
.hf-code-editor__title > span {
|
|
7444
|
+
color: var(--hf-color-primary);
|
|
7445
|
+
font: 600 12px ui-monospace, monospace;
|
|
7446
|
+
}
|
|
7447
|
+
.hf-code-editor__title strong {
|
|
7448
|
+
font-size: 13px;
|
|
7449
|
+
font-weight: 600;
|
|
7450
|
+
overflow-wrap: anywhere;
|
|
7451
|
+
}
|
|
7452
|
+
.hf-code-editor__tools {
|
|
7453
|
+
display: flex;
|
|
7454
|
+
gap: 4px;
|
|
7455
|
+
flex-shrink: 0;
|
|
7456
|
+
}
|
|
7457
|
+
.hf-code-editor button {
|
|
7458
|
+
display: inline-flex;
|
|
7459
|
+
align-items: center;
|
|
7460
|
+
justify-content: center;
|
|
7461
|
+
gap: 5px;
|
|
7462
|
+
min-height: 30px;
|
|
7463
|
+
padding: 4px 8px;
|
|
7464
|
+
background: transparent;
|
|
7465
|
+
border: 1px solid transparent;
|
|
7466
|
+
border-radius: var(--hf-radius-control);
|
|
7467
|
+
color: var(--hf-color-text-muted);
|
|
7468
|
+
font: inherit;
|
|
7469
|
+
font-size: 12px;
|
|
7470
|
+
cursor: pointer;
|
|
7471
|
+
}
|
|
7472
|
+
.hf-code-editor button:hover:not(:disabled) {
|
|
7473
|
+
background: color-mix(in srgb, var(--hf-color-primary) 8%, var(--hf-color-surface));
|
|
7474
|
+
color: var(--hf-color-primary);
|
|
7475
|
+
}
|
|
7476
|
+
.hf-code-editor button:disabled {
|
|
7477
|
+
opacity: .4;
|
|
7478
|
+
cursor: not-allowed;
|
|
7479
|
+
}
|
|
7480
|
+
.hf-code-editor button:focus-visible,
|
|
7481
|
+
.hf-code-editor__find input:focus-visible {
|
|
7482
|
+
outline: 2px solid var(--hf-color-primary);
|
|
7483
|
+
outline-offset: -2px;
|
|
7484
|
+
}
|
|
7485
|
+
.hf-code-editor__find {
|
|
7486
|
+
display: flex;
|
|
7487
|
+
align-items: center;
|
|
7488
|
+
gap: 4px;
|
|
7489
|
+
flex-wrap: wrap;
|
|
7490
|
+
padding: 8px 12px;
|
|
7491
|
+
border-bottom: 1px solid var(--hf-color-border);
|
|
7492
|
+
}
|
|
7493
|
+
.hf-code-editor__find input {
|
|
7494
|
+
flex: 1;
|
|
7495
|
+
min-width: 120px;
|
|
7496
|
+
width: 120px;
|
|
7497
|
+
padding: 7px 9px;
|
|
7498
|
+
border: 1px solid var(--hf-color-border);
|
|
7499
|
+
border-radius: var(--hf-radius-control);
|
|
7500
|
+
background: var(--hf-color-surface);
|
|
7501
|
+
color: inherit;
|
|
7502
|
+
font: inherit;
|
|
7503
|
+
font-size: 12px;
|
|
7504
|
+
}
|
|
7505
|
+
.hf-code-editor__find > span {
|
|
7506
|
+
color: var(--hf-color-text-muted);
|
|
7507
|
+
font-size: 11px;
|
|
7508
|
+
}
|
|
7509
|
+
.hf-code-editor__body {
|
|
7510
|
+
display: grid;
|
|
7511
|
+
grid-template-columns: 48px minmax(0, 1fr);
|
|
7512
|
+
min-height: 80px;
|
|
7513
|
+
}
|
|
7514
|
+
.hf-code-editor__gutter,
|
|
7515
|
+
.hf-code-editor textarea {
|
|
7516
|
+
margin: 0;
|
|
7517
|
+
padding: 14px 12px;
|
|
7518
|
+
font:
|
|
7519
|
+
13px/22px ui-monospace,
|
|
7520
|
+
SFMono-Regular,
|
|
7521
|
+
Consolas,
|
|
7522
|
+
monospace;
|
|
7523
|
+
tab-size: 2;
|
|
7524
|
+
box-sizing: border-box;
|
|
7525
|
+
}
|
|
7526
|
+
.hf-code-editor__gutter {
|
|
7527
|
+
background: var(--hf-color-background);
|
|
7528
|
+
color: var(--hf-color-text-muted);
|
|
7529
|
+
border-right: 1px solid var(--hf-color-border);
|
|
7530
|
+
overflow: hidden;
|
|
7531
|
+
text-align: right;
|
|
7532
|
+
user-select: none;
|
|
7533
|
+
padding-bottom: 36px;
|
|
7534
|
+
}
|
|
7535
|
+
.hf-code-editor__gutter .is-active {
|
|
7536
|
+
color: var(--hf-color-primary);
|
|
7537
|
+
font-weight: 700;
|
|
7538
|
+
}
|
|
7539
|
+
.hf-code-editor textarea {
|
|
7540
|
+
display: block;
|
|
7541
|
+
width: 100%;
|
|
7542
|
+
min-width: 0;
|
|
7543
|
+
height: 100%;
|
|
7544
|
+
resize: none;
|
|
7545
|
+
border: 0;
|
|
7546
|
+
border-radius: 0;
|
|
7547
|
+
outline: 0;
|
|
7548
|
+
background: var(--hf-color-surface);
|
|
7549
|
+
color: var(--hf-color-text);
|
|
7550
|
+
white-space: pre;
|
|
7551
|
+
overflow: auto;
|
|
7552
|
+
}
|
|
7553
|
+
.hf-code-editor textarea:focus-visible {
|
|
7554
|
+
outline: 2px solid var(--hf-color-primary);
|
|
7555
|
+
outline-offset: -2px;
|
|
7556
|
+
}
|
|
7557
|
+
.hf-code-editor__status {
|
|
7558
|
+
display: flex;
|
|
7559
|
+
flex-wrap: wrap;
|
|
7560
|
+
gap: 6px 14px;
|
|
7561
|
+
padding: 8px 12px;
|
|
7562
|
+
border-top: 1px solid var(--hf-color-border);
|
|
7563
|
+
background: var(--hf-color-background);
|
|
7564
|
+
font-size: 11px;
|
|
7565
|
+
color: var(--hf-color-text-muted);
|
|
7566
|
+
}
|
|
7567
|
+
.hf-code-editor__language {
|
|
7568
|
+
margin-inline-start: auto;
|
|
7569
|
+
}
|
|
7570
|
+
.hf-code-editor__message {
|
|
7571
|
+
padding: 8px 12px;
|
|
7572
|
+
font-size: 12px;
|
|
7573
|
+
border-top: 1px solid var(--hf-color-border);
|
|
7574
|
+
}
|
|
7575
|
+
.hf-code-editor__sr {
|
|
7576
|
+
position: absolute;
|
|
7577
|
+
width: 1px;
|
|
7578
|
+
height: 1px;
|
|
7579
|
+
overflow: hidden;
|
|
7580
|
+
clip-path: inset(50%);
|
|
7581
|
+
white-space: nowrap;
|
|
7582
|
+
}
|
|
7583
|
+
@media (max-width: 480px) {
|
|
7584
|
+
.hf-file-preview__body {
|
|
7585
|
+
padding: 14px;
|
|
7586
|
+
}
|
|
7587
|
+
.hf-code-editor__body {
|
|
7588
|
+
grid-template-columns: 38px minmax(0, 1fr);
|
|
7589
|
+
}
|
|
7590
|
+
.hf-code-editor__gutter,
|
|
7591
|
+
.hf-code-editor textarea {
|
|
7592
|
+
padding-inline: 8px;
|
|
7593
|
+
}
|
|
7594
|
+
.hf-code-editor__tools button {
|
|
7595
|
+
padding-inline: 5px;
|
|
7596
|
+
}
|
|
7597
|
+
}
|
|
7598
|
+
|
|
7377
7599
|
/* src/essentials.css */
|
|
7378
7600
|
|
|
7379
7601
|
/* src/scheduling.css */
|