@hxdhxd/harmony-flow-ui 0.2.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.
Files changed (56) hide show
  1. package/README.md +43 -5
  2. package/dist/index.cjs +2022 -1297
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.css +786 -155
  5. package/dist/index.css.map +1 -1
  6. package/dist/index.d.cts +115 -12
  7. package/dist/index.d.ts +115 -12
  8. package/dist/index.js +2003 -1285
  9. package/dist/index.js.map +1 -1
  10. package/dist/monaco-assets/LICENSE.monaco.txt +21 -0
  11. package/dist/monaco-assets/ThirdPartyNotices.txt +448 -0
  12. package/dist/monaco-assets/chunks/chunk-2KWDR4W3.js +1 -0
  13. package/dist/monaco-assets/chunks/chunk-2KWDR4W3.js.gz +0 -0
  14. package/dist/monaco-assets/chunks/chunk-6CWAYXCI.js +870 -0
  15. package/dist/monaco-assets/chunks/chunk-6CWAYXCI.js.gz +0 -0
  16. package/dist/monaco-assets/chunks/chunk-AD5KIREA.js +61 -0
  17. package/dist/monaco-assets/chunks/chunk-AD5KIREA.js.gz +0 -0
  18. package/dist/monaco-assets/chunks/chunk-NYAGVHXV.js +1 -0
  19. package/dist/monaco-assets/chunks/chunk-NYAGVHXV.js.gz +0 -0
  20. package/dist/monaco-assets/chunks/javascript-Q5O4BLC5.css +1 -0
  21. package/dist/monaco-assets/chunks/javascript-Q5O4BLC5.css.gz +0 -0
  22. package/dist/monaco-assets/chunks/javascript-R6AQIXSX.js +1 -0
  23. package/dist/monaco-assets/chunks/javascript-R6AQIXSX.js.gz +0 -0
  24. package/dist/monaco-assets/chunks/jsonMode-I4YAYKCC.css +1 -0
  25. package/dist/monaco-assets/chunks/jsonMode-I4YAYKCC.css.gz +0 -0
  26. package/dist/monaco-assets/chunks/jsonMode-PVXHFVY4.js +10 -0
  27. package/dist/monaco-assets/chunks/jsonMode-PVXHFVY4.js.gz +0 -0
  28. package/dist/monaco-assets/chunks/tsMode-4CIG5YX5.js +11 -0
  29. package/dist/monaco-assets/chunks/tsMode-4CIG5YX5.js.gz +0 -0
  30. package/dist/monaco-assets/chunks/tsMode-LEY4YWTP.css +1 -0
  31. package/dist/monaco-assets/chunks/tsMode-LEY4YWTP.css.gz +0 -0
  32. package/dist/monaco-assets/chunks/typescript-DYIPN6WN.js +1 -0
  33. package/dist/monaco-assets/chunks/typescript-DYIPN6WN.js.gz +0 -0
  34. package/dist/monaco-assets/chunks/typescript-Z6MD7EEQ.css +1 -0
  35. package/dist/monaco-assets/chunks/typescript-Z6MD7EEQ.css.gz +0 -0
  36. package/dist/monaco-assets/editor.worker.js +30 -0
  37. package/dist/monaco-assets/editor.worker.js.gz +0 -0
  38. package/dist/monaco-assets/fonts/codicon-KP4OV2OO.ttf +0 -0
  39. package/dist/monaco-assets/json.worker.js +62 -0
  40. package/dist/monaco-assets/json.worker.js.gz +0 -0
  41. package/dist/monaco-assets/manifest.json +5 -0
  42. package/dist/monaco-assets/runtime.css +1 -0
  43. package/dist/monaco-assets/runtime.css.gz +0 -0
  44. package/dist/monaco-assets/runtime.js +1 -0
  45. package/dist/monaco-assets/runtime.js.gz +0 -0
  46. package/dist/monaco-assets/typescript.worker.js +67740 -0
  47. package/dist/monaco-assets/typescript.worker.js.gz +0 -0
  48. package/dist/monaco.cjs +521 -0
  49. package/dist/monaco.cjs.map +1 -0
  50. package/dist/monaco.css +35 -0
  51. package/dist/monaco.css.map +1 -0
  52. package/dist/monaco.d.cts +22 -0
  53. package/dist/monaco.d.ts +22 -0
  54. package/dist/monaco.js +494 -0
  55. package/dist/monaco.js.map +1 -0
  56. package/package.json +11 -3
package/dist/index.css CHANGED
@@ -2415,6 +2415,201 @@
2415
2415
  box-shadow: -8px 0 0 -6px var(--hf-color-primary);
2416
2416
  font-weight: 700;
2417
2417
  }
2418
+ .hf-back-to-top {
2419
+ align-items: center;
2420
+ background: var(--hf-color-primary);
2421
+ border: 1px solid color-mix(in srgb, white 32%, var(--hf-color-primary));
2422
+ border-radius: var(--hf-radius-control);
2423
+ bottom: 24px;
2424
+ color: white;
2425
+ cursor: pointer;
2426
+ display: flex;
2427
+ font: inherit;
2428
+ font-size: 13px;
2429
+ font-weight: 700;
2430
+ gap: 7px;
2431
+ opacity: 0;
2432
+ padding: 10px 13px;
2433
+ pointer-events: none;
2434
+ position: fixed;
2435
+ right: 24px;
2436
+ transform: translateY(8px);
2437
+ transition: opacity var(--hf-motion-duration), transform var(--hf-motion-duration);
2438
+ z-index: 850;
2439
+ }
2440
+ .hf-back-to-top--visible {
2441
+ opacity: 1;
2442
+ pointer-events: auto;
2443
+ transform: translateY(0);
2444
+ }
2445
+ .hf-back-to-top:focus-visible {
2446
+ outline: 2px solid color-mix(in srgb, var(--hf-color-primary) 42%, transparent);
2447
+ outline-offset: 3px;
2448
+ }
2449
+ .hf-hierarchical-sidebar {
2450
+ background: var(--hf-color-surface);
2451
+ border: 1px solid var(--hf-color-border);
2452
+ border-radius: var(--hf-radius-panel);
2453
+ padding: 12px;
2454
+ width: min(280px, 100%);
2455
+ }
2456
+ .hf-hierarchical-sidebar__title,
2457
+ .hf-long-page-navigation__title {
2458
+ color: var(--hf-color-text);
2459
+ font-size: 13px;
2460
+ font-weight: 750;
2461
+ padding: 8px 10px 10px;
2462
+ }
2463
+ .hf-hierarchical-sidebar__list {
2464
+ display: grid;
2465
+ gap: 3px;
2466
+ list-style: none;
2467
+ margin: 0;
2468
+ padding: 0;
2469
+ }
2470
+ .hf-hierarchical-sidebar__list[data-level]:not([data-level="0"]) {
2471
+ border-left: 1px solid var(--hf-color-border);
2472
+ margin: 3px 0 5px 14px;
2473
+ padding-left: 9px;
2474
+ }
2475
+ .hf-hierarchical-sidebar__list a,
2476
+ .hf-hierarchical-sidebar__group {
2477
+ align-items: center;
2478
+ background: transparent;
2479
+ border: 0;
2480
+ border-radius: var(--hf-radius-control);
2481
+ color: var(--hf-color-text-muted);
2482
+ cursor: pointer;
2483
+ display: grid;
2484
+ font: inherit;
2485
+ font-size: 13px;
2486
+ gap: 8px;
2487
+ grid-template-columns: auto 1fr auto;
2488
+ min-height: 38px;
2489
+ padding: 7px 9px;
2490
+ text-align: left;
2491
+ text-decoration: none;
2492
+ width: 100%;
2493
+ }
2494
+ .hf-hierarchical-sidebar__list a:hover,
2495
+ .hf-hierarchical-sidebar__list a[aria-current],
2496
+ .hf-hierarchical-sidebar__group:hover {
2497
+ background: color-mix(in srgb, var(--hf-color-primary) 9%, transparent);
2498
+ color: var(--hf-color-primary);
2499
+ }
2500
+ .hf-hierarchical-sidebar__chevron {
2501
+ transition: transform var(--hf-motion-duration);
2502
+ }
2503
+ .hf-hierarchical-sidebar__group[aria-expanded=true] .hf-hierarchical-sidebar__chevron {
2504
+ transform: rotate(90deg);
2505
+ }
2506
+ .hf-long-page-navigation {
2507
+ background: var(--hf-color-surface);
2508
+ border: 1px solid var(--hf-color-border);
2509
+ border-radius: var(--hf-radius-panel);
2510
+ display: grid;
2511
+ gap: 8px;
2512
+ padding: 12px;
2513
+ width: min(250px, 100%);
2514
+ }
2515
+ .hf-long-page-navigation .hf-reading-progress {
2516
+ position: static;
2517
+ }
2518
+ .hf-long-page-navigation .hf-reading-progress__track {
2519
+ border-radius: 3px;
2520
+ height: 4px;
2521
+ }
2522
+ .hf-long-page-navigation .hf-back-to-top {
2523
+ justify-content: center;
2524
+ margin-top: 4px;
2525
+ position: static;
2526
+ width: 100%;
2527
+ }
2528
+ .hf-bottom-navigation {
2529
+ background: color-mix(in srgb, var(--hf-color-surface) 96%, transparent);
2530
+ border-top: 1px solid var(--hf-color-border);
2531
+ bottom: 0;
2532
+ display: grid;
2533
+ grid-auto-columns: 1fr;
2534
+ grid-auto-flow: column;
2535
+ left: 0;
2536
+ padding: 7px max(10px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
2537
+ position: sticky;
2538
+ right: 0;
2539
+ z-index: 40;
2540
+ }
2541
+ .hf-bottom-navigation a {
2542
+ align-items: center;
2543
+ color: var(--hf-color-text-muted);
2544
+ display: grid;
2545
+ font-size: 11px;
2546
+ gap: 3px;
2547
+ justify-items: center;
2548
+ min-height: 44px;
2549
+ padding: 4px 6px;
2550
+ text-decoration: none;
2551
+ }
2552
+ .hf-bottom-navigation a[aria-current],
2553
+ .hf-bottom-navigation a:hover {
2554
+ color: var(--hf-color-primary);
2555
+ font-weight: 700;
2556
+ }
2557
+ .hf-bottom-navigation__icon {
2558
+ font-size: 18px;
2559
+ line-height: 1;
2560
+ }
2561
+ .hf-pull-to-refresh {
2562
+ min-height: 0;
2563
+ overflow: auto;
2564
+ overscroll-behavior-y: contain;
2565
+ position: relative;
2566
+ touch-action: pan-x pan-up;
2567
+ }
2568
+ .hf-pull-to-refresh__indicator {
2569
+ align-items: center;
2570
+ display: flex;
2571
+ height: max(40px, var(--hf-pull-distance));
2572
+ justify-content: center;
2573
+ left: 0;
2574
+ position: absolute;
2575
+ right: 0;
2576
+ top: 0;
2577
+ }
2578
+ .hf-pull-to-refresh__indicator button {
2579
+ background: transparent;
2580
+ border: 0;
2581
+ color: var(--hf-color-primary);
2582
+ cursor: pointer;
2583
+ font: inherit;
2584
+ font-size: 12px;
2585
+ font-weight: 700;
2586
+ min-height: 34px;
2587
+ }
2588
+ .hf-pull-to-refresh__content {
2589
+ padding-top: 40px;
2590
+ transition: transform var(--hf-motion-duration);
2591
+ }
2592
+ .hf-pull-to-refresh--dragging .hf-pull-to-refresh__content {
2593
+ transition: none;
2594
+ }
2595
+ .hf-mobile-content-navigation {
2596
+ background: var(--hf-color-background);
2597
+ display: grid;
2598
+ grid-template-rows: minmax(0, 1fr) auto;
2599
+ min-height: 320px;
2600
+ overflow: hidden;
2601
+ }
2602
+ .hf-mobile-content-navigation__body,
2603
+ .hf-mobile-content-navigation__body > .hf-pull-to-refresh {
2604
+ min-height: 0;
2605
+ overflow: auto;
2606
+ }
2607
+ .hf-mobile-content-navigation--refreshable .hf-mobile-content-navigation__body {
2608
+ overflow: hidden;
2609
+ }
2610
+ .hf-mobile-content-navigation--refreshable .hf-pull-to-refresh {
2611
+ height: 100%;
2612
+ }
2418
2613
  .hf-shrink-nav {
2419
2614
  border-radius: 0;
2420
2615
  border-width: 0 0 1px;
@@ -2473,6 +2668,10 @@
2473
2668
  .hf-shrink-nav__items {
2474
2669
  display: none;
2475
2670
  }
2671
+ .hf-back-to-top {
2672
+ bottom: 16px;
2673
+ right: 16px;
2674
+ }
2476
2675
  }
2477
2676
  @media (prefers-reduced-motion: reduce) {
2478
2677
  .hf-mobile-nav__panel,
@@ -2482,7 +2681,10 @@
2482
2681
  animation: none;
2483
2682
  }
2484
2683
  .hf-sidebar__collapse .hf-icon,
2485
- .hf-menu__chevron {
2684
+ .hf-menu__chevron,
2685
+ .hf-hierarchical-sidebar__chevron,
2686
+ .hf-back-to-top,
2687
+ .hf-pull-to-refresh__content {
2486
2688
  transition: none;
2487
2689
  }
2488
2690
  }
@@ -4259,44 +4461,6 @@
4259
4461
  padding: 36px !important;
4260
4462
  text-align: center !important;
4261
4463
  }
4262
- .hf-tree ul {
4263
- list-style: none;
4264
- margin: 0;
4265
- padding: 0;
4266
- }
4267
- .hf-tree li > div {
4268
- align-items: center;
4269
- border-radius: 9px;
4270
- display: flex;
4271
- min-height: 36px;
4272
- }
4273
- .hf-tree li > div:hover,
4274
- .hf-tree li > div.is-selected {
4275
- background: #edf6ff;
4276
- }
4277
- .hf-tree li > div > span:first-child,
4278
- .hf-tree li > div > button:first-child {
4279
- background: transparent;
4280
- border: 0;
4281
- color: var(--hf-color-text-muted);
4282
- display: grid;
4283
- height: 28px;
4284
- padding: 0;
4285
- place-items: center;
4286
- width: 28px;
4287
- }
4288
- .hf-tree li > div > button:last-child {
4289
- background: transparent;
4290
- border: 0;
4291
- color: var(--hf-color-text);
4292
- flex: 1;
4293
- padding: 8px;
4294
- text-align: left;
4295
- }
4296
- .hf-tree li > div.is-selected > button:last-child {
4297
- color: var(--hf-color-primary);
4298
- font-weight: 650;
4299
- }
4300
4464
  .hf-steps {
4301
4465
  display: flex;
4302
4466
  list-style: none;
@@ -4532,7 +4696,7 @@
4532
4696
  background: var(--hf-color-surface);
4533
4697
  color: var(--hf-color-text);
4534
4698
  }
4535
- .hf-theme--dark :is(.hf-dropdown__menu button:hover, .hf-command__list button[aria-selected=true], .hf-tree li > div:hover, .hf-tree li > div.is-selected, .hf-tree-select > div button:hover) {
4699
+ .hf-theme--dark :is(.hf-dropdown__menu button:hover, .hf-command__list button[aria-selected=true], .hf-tree-select > div button:hover) {
4536
4700
  background: #22364d;
4537
4701
  }
4538
4702
  .hf-theme--high-contrast :is(button, input, select, textarea) {
@@ -4891,7 +5055,6 @@
4891
5055
  color: var(--hf-color-text);
4892
5056
  }
4893
5057
  .hf-rich-editor,
4894
- .hf-code-editor,
4895
5058
  .hf-json-viewer,
4896
5059
  .hf-diff-viewer,
4897
5060
  .hf-query-builder {
@@ -4902,7 +5065,6 @@
4902
5065
  overflow: visible;
4903
5066
  }
4904
5067
  .hf-rich-editor__header,
4905
- .hf-code-editor > header,
4906
5068
  .hf-diff-viewer > header,
4907
5069
  .hf-query-builder > header {
4908
5070
  align-items: center;
@@ -4985,39 +5147,6 @@
4985
5147
  .hf-mention-input__menu small {
4986
5148
  color: var(--hf-color-text-muted);
4987
5149
  }
4988
- .hf-code-editor > header span {
4989
- color: var(--hf-color-text-muted);
4990
- font-family: monospace;
4991
- font-size: 11px;
4992
- text-transform: uppercase;
4993
- }
4994
- .hf-code-editor > div {
4995
- display: grid;
4996
- grid-template-columns: 48px 1fr;
4997
- }
4998
- .hf-code-editor pre {
4999
- background: color-mix(in srgb, var(--hf-color-surface) 84%, var(--hf-color-background));
5000
- border-right: 1px solid var(--hf-color-border);
5001
- color: var(--hf-color-text-muted);
5002
- font: 12px/1.6 ui-monospace, monospace;
5003
- margin: 0;
5004
- overflow: hidden;
5005
- padding: 12px 10px;
5006
- text-align: right;
5007
- }
5008
- .hf-code-editor textarea {
5009
- background: var(--hf-color-surface);
5010
- border: 0;
5011
- color: var(--hf-color-text);
5012
- font: 12px/1.6 ui-monospace, monospace;
5013
- outline: 0;
5014
- padding: 12px;
5015
- resize: none;
5016
- tab-size: 2;
5017
- }
5018
- .hf-code-editor textarea:focus {
5019
- box-shadow: inset 0 0 0 2px var(--hf-color-focus);
5020
- }
5021
5150
  .hf-json-viewer {
5022
5151
  font-family: ui-monospace, monospace;
5023
5152
  padding: 10px;
@@ -6841,8 +6970,6 @@
6841
6970
  margin-left: calc(var(--hf-comment-depth) * 10px);
6842
6971
  }
6843
6972
  }
6844
- .hf-file-explorer,
6845
- .hf-file-preview,
6846
6973
  .hf-permission-matrix,
6847
6974
  .hf-share-panel {
6848
6975
  background: var(--hf-color-surface);
@@ -6851,72 +6978,6 @@
6851
6978
  color: var(--hf-color-text);
6852
6979
  overflow: hidden;
6853
6980
  }
6854
- .hf-file-explorer ul {
6855
- list-style: none;
6856
- margin: 0;
6857
- padding: 4px;
6858
- }
6859
- .hf-file-explorer li > div {
6860
- align-items: center;
6861
- display: flex;
6862
- }
6863
- .hf-file-explorer li > div.is-selected {
6864
- background: color-mix(in srgb, var(--hf-color-primary) 9%, var(--hf-color-surface));
6865
- border-radius: 8px;
6866
- }
6867
- .hf-file-explorer button {
6868
- background: transparent;
6869
- border: 0;
6870
- color: var(--hf-color-text);
6871
- }
6872
- .hf-file-explorer__toggle {
6873
- width: 24px;
6874
- }
6875
- .hf-file-explorer li > div > button:last-child {
6876
- align-items: center;
6877
- display: flex;
6878
- flex: 1;
6879
- gap: 8px;
6880
- padding: 8px;
6881
- text-align: left;
6882
- }
6883
- .hf-file-explorer li span {
6884
- display: grid;
6885
- flex: 1;
6886
- }
6887
- .hf-file-explorer small,
6888
- .hf-file-explorer i {
6889
- color: var(--hf-color-text-muted);
6890
- font-size: 10px;
6891
- }
6892
- .hf-file-explorer > div,
6893
- .hf-file-preview__empty {
6894
- color: var(--hf-color-text-muted);
6895
- padding: 34px;
6896
- text-align: center;
6897
- }
6898
- .hf-file-preview > header {
6899
- align-items: center;
6900
- border-bottom: 1px solid var(--hf-color-border);
6901
- display: flex;
6902
- justify-content: space-between;
6903
- padding: 12px;
6904
- }
6905
- .hf-file-preview > header > div {
6906
- display: grid;
6907
- }
6908
- .hf-file-preview > header span {
6909
- color: var(--hf-color-text-muted);
6910
- font-size: 10px;
6911
- }
6912
- .hf-file-preview__body {
6913
- min-height: 260px;
6914
- padding: 14px;
6915
- }
6916
- .hf-file-preview__empty {
6917
- display: grid;
6918
- gap: 8px;
6919
- }
6920
6981
  .hf-version-history {
6921
6982
  list-style: none;
6922
6983
  margin: 0;
@@ -7085,20 +7146,470 @@
7085
7146
  color: var(--hf-color-text);
7086
7147
  }
7087
7148
 
7088
- /* src/essentials.css */
7089
-
7090
- /* src/scheduling.css */
7091
- .hf-event-card {
7092
- background: var(--hf-color-surface);
7093
- border: 1px solid var(--hf-color-border);
7094
- border-left: 3px solid var(--hf-color-primary);
7095
- border-radius: 8px;
7149
+ /* src/data-display/tree.css */
7150
+ .hf-tree {
7151
+ min-width: 0;
7096
7152
  color: var(--hf-color-text);
7097
- display: grid;
7098
- padding: 8px;
7099
- text-align: left;
7153
+ font-size: 14px;
7100
7154
  }
7101
- .hf-event-card time {
7155
+ .hf-tree ul {
7156
+ list-style: none;
7157
+ margin: 0;
7158
+ padding: 0;
7159
+ }
7160
+ .hf-tree li {
7161
+ outline: none;
7162
+ }
7163
+ .hf-tree .hf-tree__row {
7164
+ position: relative;
7165
+ display: flex;
7166
+ align-items: center;
7167
+ gap: 6px;
7168
+ min-height: 36px;
7169
+ padding: 2px 10px 2px calc(var(--hf-tree-depth) * 20px + 6px);
7170
+ border: 1px solid transparent;
7171
+ border-radius: var(--hf-radius-control);
7172
+ cursor: pointer;
7173
+ transition: background var(--hf-motion-duration);
7174
+ }
7175
+ .hf-tree .hf-tree__row:hover {
7176
+ background: var(--hf-color-background);
7177
+ }
7178
+ .hf-tree .hf-tree__row.is-selected {
7179
+ background: color-mix(in srgb, var(--hf-color-primary) 10%, var(--hf-color-surface));
7180
+ color: var(--hf-color-primary);
7181
+ }
7182
+ .hf-tree__row.is-selected::after {
7183
+ content: "";
7184
+ position: absolute;
7185
+ inset: 8px auto 8px 0;
7186
+ width: 3px;
7187
+ border-radius: 2px;
7188
+ background: var(--hf-color-primary);
7189
+ }
7190
+ .hf-tree li:focus-visible > .hf-tree__row {
7191
+ outline: 2px solid var(--hf-color-primary);
7192
+ outline-offset: -2px;
7193
+ }
7194
+ .hf-tree [aria-disabled=true] > .hf-tree__row {
7195
+ opacity: .45;
7196
+ cursor: not-allowed;
7197
+ }
7198
+ .hf-tree [aria-disabled=true] > .hf-tree__row:hover {
7199
+ background: transparent;
7200
+ }
7201
+ .hf-tree__toggle,
7202
+ .hf-tree__spacer {
7203
+ flex: 0 0 22px;
7204
+ width: 22px;
7205
+ height: 28px;
7206
+ }
7207
+ .hf-tree__toggle {
7208
+ display: grid;
7209
+ place-items: center;
7210
+ padding: 0;
7211
+ border: 0;
7212
+ border-radius: var(--hf-radius-control);
7213
+ background: transparent;
7214
+ color: var(--hf-color-text-muted);
7215
+ cursor: pointer;
7216
+ }
7217
+ .hf-tree__toggle:hover:not(:disabled) {
7218
+ background: color-mix(in srgb, var(--hf-color-primary) 12%, transparent);
7219
+ }
7220
+ .hf-tree__toggle:disabled {
7221
+ cursor: not-allowed;
7222
+ }
7223
+ .hf-tree__toggle svg {
7224
+ transform: rotate(-90deg);
7225
+ transition: transform var(--hf-motion-duration);
7226
+ }
7227
+ .hf-tree__toggle svg.is-open {
7228
+ transform: rotate(0);
7229
+ }
7230
+ .hf-tree__icon {
7231
+ display: flex;
7232
+ flex: 0 0 18px;
7233
+ color: var(--hf-color-text-muted);
7234
+ }
7235
+ .hf-tree__icon.is-folder {
7236
+ color: var(--hf-color-primary);
7237
+ }
7238
+ .hf-tree__label {
7239
+ min-width: 0;
7240
+ flex: 1;
7241
+ overflow-wrap: anywhere;
7242
+ line-height: 1.6;
7243
+ padding: 4px 0;
7244
+ }
7245
+ .hf-tree__row.is-selected .hf-tree__label {
7246
+ font-weight: 650;
7247
+ }
7248
+ .hf-tree__guides {
7249
+ display: none;
7250
+ position: absolute;
7251
+ inset: 0 auto 0 16px;
7252
+ pointer-events: none;
7253
+ }
7254
+ .hf-tree--lines .hf-tree__guides {
7255
+ display: flex;
7256
+ }
7257
+ .hf-tree__guides i {
7258
+ width: 20px;
7259
+ border-left: 1px solid var(--hf-color-border);
7260
+ box-sizing: border-box;
7261
+ }
7262
+ .hf-tree__empty {
7263
+ padding: 28px 16px;
7264
+ text-align: center;
7265
+ color: var(--hf-color-text-muted);
7266
+ }
7267
+ @media (prefers-reduced-motion: reduce) {
7268
+ .hf-tree .hf-tree__row,
7269
+ .hf-tree__toggle svg {
7270
+ transition: none;
7271
+ }
7272
+ }
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
+
7599
+ /* src/essentials.css */
7600
+
7601
+ /* src/scheduling.css */
7602
+ .hf-event-card {
7603
+ background: var(--hf-color-surface);
7604
+ border: 1px solid var(--hf-color-border);
7605
+ border-left: 3px solid var(--hf-color-primary);
7606
+ border-radius: 8px;
7607
+ color: var(--hf-color-text);
7608
+ display: grid;
7609
+ padding: 8px;
7610
+ text-align: left;
7611
+ }
7612
+ .hf-event-card time {
7102
7613
  color: var(--hf-color-text-muted);
7103
7614
  font-size: 10px;
7104
7615
  }
@@ -7436,4 +7947,124 @@
7436
7947
  min-height: 1.5em;
7437
7948
  color: var(--hf-color-text-muted);
7438
7949
  }
7950
+
7951
+ /* src/task-progress.css */
7952
+ .hf-task-progress {
7953
+ min-width: 0;
7954
+ padding: 20px;
7955
+ border: 1px solid var(--hf-color-border);
7956
+ border-radius: var(--hf-radius-panel);
7957
+ background: var(--hf-color-surface);
7958
+ color: var(--hf-color-text);
7959
+ }
7960
+ .hf-task-progress__header {
7961
+ display: flex;
7962
+ align-items: flex-start;
7963
+ justify-content: space-between;
7964
+ gap: 16px;
7965
+ }
7966
+ .hf-task-progress__header h3,
7967
+ .hf-task-progress__header p {
7968
+ margin: 0;
7969
+ }
7970
+ .hf-task-progress__header p {
7971
+ margin-top: 4px;
7972
+ color: var(--hf-color-text-muted);
7973
+ font-size: 13px;
7974
+ overflow-wrap: anywhere;
7975
+ }
7976
+ .hf-task-progress__header > strong {
7977
+ color: var(--hf-color-primary);
7978
+ font-variant-numeric: tabular-nums;
7979
+ }
7980
+ .hf-task-progress__track {
7981
+ height: 6px;
7982
+ margin: 16px 0 20px;
7983
+ overflow: hidden;
7984
+ border-radius: var(--hf-radius-control);
7985
+ background: var(--hf-color-background);
7986
+ }
7987
+ .hf-task-progress__track span {
7988
+ display: block;
7989
+ width: 0;
7990
+ height: 100%;
7991
+ border-radius: inherit;
7992
+ background: var(--hf-color-primary);
7993
+ transition: width .24s ease;
7994
+ }
7995
+ .hf-task-progress__stages {
7996
+ display: grid;
7997
+ gap: 12px;
7998
+ margin: 0;
7999
+ padding: 0;
8000
+ list-style: none;
8001
+ }
8002
+ .hf-task-progress__stages li {
8003
+ display: grid;
8004
+ grid-template-columns: 28px minmax(0, 1fr);
8005
+ gap: 10px;
8006
+ align-items: start;
8007
+ color: var(--hf-color-text-muted);
8008
+ }
8009
+ .hf-task-progress__stages li[data-status=active] {
8010
+ color: var(--hf-color-text);
8011
+ }
8012
+ .hf-task-progress__stages li[data-status=complete] {
8013
+ color: var(--hf-color-success);
8014
+ }
8015
+ .hf-task-progress__stages li[data-status=error] {
8016
+ color: var(--hf-color-danger);
8017
+ }
8018
+ .hf-task-progress__marker {
8019
+ display: grid;
8020
+ place-items: center;
8021
+ width: 26px;
8022
+ height: 26px;
8023
+ border: 1px solid currentColor;
8024
+ border-radius: var(--hf-radius-control);
8025
+ font-size: 12px;
8026
+ font-weight: 700;
8027
+ }
8028
+ .hf-task-progress__stages strong {
8029
+ display: block;
8030
+ color: currentColor;
8031
+ }
8032
+ .hf-task-progress__stages p {
8033
+ margin: 2px 0 0;
8034
+ color: var(--hf-color-text-muted);
8035
+ font-size: 13px;
8036
+ overflow-wrap: anywhere;
8037
+ }
8038
+ .hf-task-progress__error {
8039
+ margin: 16px 0 0;
8040
+ color: var(--hf-color-danger);
8041
+ }
8042
+ .hf-task-progress__result {
8043
+ margin-top: 16px;
8044
+ padding: 14px;
8045
+ border-radius: var(--hf-radius-control);
8046
+ background: var(--hf-color-background);
8047
+ }
8048
+ .hf-task-progress__actions {
8049
+ display: flex;
8050
+ flex-wrap: wrap;
8051
+ gap: 8px;
8052
+ margin-top: 18px;
8053
+ }
8054
+ @media (prefers-reduced-motion: reduce) {
8055
+ .hf-task-progress__track span {
8056
+ transition: none;
8057
+ }
8058
+ }
8059
+ @media (max-width: 480px) {
8060
+ .hf-task-progress {
8061
+ padding: 16px;
8062
+ }
8063
+ .hf-task-progress__header {
8064
+ gap: 8px;
8065
+ }
8066
+ .hf-task-progress__actions .hf-button {
8067
+ width: 100%;
8068
+ }
8069
+ }
7439
8070
  /*# sourceMappingURL=index.css.map */