@co0ontty/wand 1.43.4 → 1.43.5

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.
@@ -3664,102 +3664,6 @@
3664
3664
  color: #9cc08a;
3665
3665
  }
3666
3666
 
3667
- /* Keyboard toggle button and popup */
3668
- /* ===== 内联快捷键 ===== */
3669
- /* Desktop: show inline keys directly, hide toggle button and strip */
3670
- .inline-shortcuts-wrap {
3671
- display: flex;
3672
- align-items: center;
3673
- position: relative;
3674
- flex-shrink: 0;
3675
- }
3676
- /* Desktop: expanded row is always hidden (mobile only) */
3677
- .inline-shortcuts-expanded-row {
3678
- display: none;
3679
- }
3680
- .shortcuts-toggle {
3681
- display: none;
3682
- }
3683
- .inline-shortcuts-strip {
3684
- display: none;
3685
- }
3686
- .inline-shortcuts-inline {
3687
- display: flex;
3688
- align-items: center;
3689
- gap: 3px;
3690
- flex-shrink: 0;
3691
- }
3692
-
3693
- .shortcut-sep {
3694
- color: var(--text-muted);
3695
- font-size: 0.625rem;
3696
- opacity: 0.5;
3697
- margin: 0 1px;
3698
- user-select: none;
3699
- }
3700
-
3701
- .shortcut-key {
3702
- height: 20px;
3703
- min-width: 20px;
3704
- border-radius: 3px;
3705
- border: 1px solid rgba(125, 91, 57, 0.12);
3706
- background: rgba(255, 255, 255, 0.5);
3707
- color: var(--text-muted);
3708
- font-size: 0.5625rem;
3709
- font-family: var(--font-mono);
3710
- font-weight: 500;
3711
- cursor: pointer;
3712
- display: inline-flex;
3713
- align-items: center;
3714
- justify-content: center;
3715
- transition: all 0.12s ease;
3716
- padding: 0 4px;
3717
- flex-shrink: 0;
3718
- -webkit-tap-highlight-color: transparent;
3719
- user-select: none;
3720
- line-height: 1;
3721
- }
3722
-
3723
- .shortcut-key:hover {
3724
- border-color: rgba(125, 91, 57, 0.3);
3725
- background: rgba(255, 255, 255, 0.85);
3726
- color: var(--text-secondary);
3727
- }
3728
-
3729
- .shortcut-key:active {
3730
- background: var(--accent-soft);
3731
- border-color: var(--accent);
3732
- color: white;
3733
- transform: scale(0.93);
3734
- }
3735
-
3736
- .shortcut-key.active {
3737
- background: rgba(197, 101, 61, 0.15);
3738
- border-color: var(--accent);
3739
- color: var(--accent);
3740
- }
3741
-
3742
- .shortcut-key.shortcut-dir {
3743
- min-width: 18px;
3744
- padding: 0 2px;
3745
- font-size: 0.625rem;
3746
- }
3747
-
3748
- .shortcut-key[data-key="escape"] {
3749
- color: #b06060;
3750
- }
3751
- .shortcut-key[data-key="enter"] {
3752
- color: #4a7c59;
3753
- }
3754
- .shortcut-key[data-key="ctrl_enter"] {
3755
- color: var(--accent);
3756
- font-weight: 600;
3757
- }
3758
- .shortcut-key[data-key="shift_tab"] {
3759
- color: #6a6bb0;
3760
- font-weight: 600;
3761
- }
3762
-
3763
3667
  /* Mobile keyboard overlap compensation */
3764
3668
  @media (max-width: 640px) {
3765
3669
  .mini-keyboard {
@@ -10454,68 +10358,6 @@
10454
10358
  opacity: 0.6;
10455
10359
  }
10456
10360
 
10457
- /* 移动端内联快捷键 - 折叠为展开按钮,展开到独立第二行 */
10458
- .inline-shortcuts-inline {
10459
- display: none;
10460
- }
10461
- .inline-shortcuts-wrap {
10462
- display: flex;
10463
- align-items: center;
10464
- flex-shrink: 0;
10465
- }
10466
- /* 移动端: strip 永远不显示,展开由独立的 expanded-row 承载 */
10467
- .inline-shortcuts-strip {
10468
- display: none !important;
10469
- }
10470
- .shortcuts-toggle {
10471
- display: inline-flex;
10472
- align-items: center;
10473
- justify-content: center;
10474
- width: 28px;
10475
- height: 28px;
10476
- border: none;
10477
- border-radius: 50%;
10478
- background: transparent;
10479
- color: var(--text-muted);
10480
- font-size: 1rem;
10481
- font-weight: 700;
10482
- cursor: pointer;
10483
- flex-shrink: 0;
10484
- transition: all 0.15s ease;
10485
- -webkit-tap-highlight-color: transparent;
10486
- line-height: 1;
10487
- }
10488
- .shortcuts-toggle.active {
10489
- color: var(--accent);
10490
- }
10491
- /* 独立第二行:默认隐藏 */
10492
- .inline-shortcuts-expanded-row {
10493
- display: none;
10494
- }
10495
- /* 独立第二行:展开时显示,居中、自动换行 */
10496
- .inline-shortcuts-expanded-row.visible {
10497
- display: flex;
10498
- justify-content: center;
10499
- align-items: flex-start;
10500
- align-content: flex-start;
10501
- flex-wrap: wrap;
10502
- gap: 3px;
10503
- padding: 4px 6px;
10504
- }
10505
- .inline-shortcuts-expanded-row .shortcut-sep {
10506
- display: none;
10507
- }
10508
- .inline-shortcuts-expanded-row .shortcut-key {
10509
- height: 28px;
10510
- min-width: 28px;
10511
- font-size: 0.5625rem;
10512
- padding: 0 4px;
10513
- flex: 0 0 auto;
10514
- }
10515
- .inline-shortcuts-expanded-row .shortcut-key.shortcut-dir {
10516
- min-width: 24px;
10517
- }
10518
-
10519
10361
  /* 回到底部按钮 - 紧凑 */
10520
10362
  .terminal-jump-bottom {
10521
10363
  width: 32px;
@@ -15885,9 +15727,12 @@
15885
15727
  letter-spacing: 0.02em;
15886
15728
  opacity: 0.8;
15887
15729
  }
15730
+ .qc-mobile-actions {
15731
+ display: none;
15732
+ }
15888
15733
 
15889
15734
  @media (prefers-reduced-motion: reduce) {
15890
- .qc-chip, .qc-chip--anim, .qc-dock-cluster, .qc-dock-launch, .qc-dock-busy-dot {
15735
+ .qc-chip, .qc-chip--anim, .qc-dock-cluster, .qc-dock-launch, .qc-dock-busy-dot, .qc-mobile-action-btn {
15891
15736
  animation: none !important;
15892
15737
  transition: none !important;
15893
15738
  }
@@ -15896,18 +15741,145 @@
15896
15741
  @media (max-width: 720px) {
15897
15742
  .topbar-git-branch { max-width: 8em; }
15898
15743
  .topbar-git-badge { padding: 0 8px; font-size: 0.7rem; }
15899
- .quick-commit-modal { max-width: 95vw; }
15744
+ .quick-commit-modal {
15745
+ width: 100%;
15746
+ max-width: 100%;
15747
+ max-height: calc(100dvh - max(16px, var(--wand-safe-top)) - max(12px, var(--wand-safe-bottom)));
15748
+ }
15749
+ .quick-commit-modal .modal-header {
15750
+ padding: 14px 16px 12px;
15751
+ }
15752
+ .quick-commit-modal .modal-title {
15753
+ font-size: 1.05rem;
15754
+ }
15755
+ .quick-commit-modal .modal-subtitle {
15756
+ margin-top: 4px;
15757
+ font-size: 0.78rem;
15758
+ line-height: 1.35;
15759
+ }
15760
+ .quick-commit-modal .modal-body {
15761
+ padding: 14px 16px calc(16px + var(--wand-safe-bottom));
15762
+ }
15763
+ .qc-release-panel,
15764
+ .qc-result-panel {
15765
+ gap: 12px;
15766
+ }
15900
15767
  .qc-files-wrap { max-height: 160px; }
15901
15768
  .qc-pair {
15902
15769
  grid-template-columns: 1fr;
15903
- gap: 6px;
15770
+ gap: 5px;
15904
15771
  }
15905
15772
  .qc-pair-label {
15906
15773
  padding-top: 0;
15774
+ font-size: 0.68rem;
15907
15775
  }
15908
15776
  .qc-pair-flow {
15909
- grid-template-columns: 1fr 18px 1fr;
15910
- gap: 6px;
15777
+ grid-template-columns: 1fr;
15778
+ gap: 7px;
15779
+ position: relative;
15780
+ }
15781
+ .qc-pair-arrow {
15782
+ width: 28px;
15783
+ height: 20px;
15784
+ justify-self: center;
15785
+ transform: rotate(90deg);
15786
+ font-size: 1rem;
15787
+ line-height: 1;
15788
+ }
15789
+ .qc-pair-value {
15790
+ min-height: 36px;
15791
+ padding: 8px 10px;
15792
+ }
15793
+ .qc-pair-value code {
15794
+ font-size: 0.76rem;
15795
+ }
15796
+ .qc-pair-value span {
15797
+ font-size: 0.8rem;
15798
+ }
15799
+ .qc-pair--commit .qc-pair-value {
15800
+ min-height: auto;
15801
+ }
15802
+ .qc-pair--commit .qc-message-input {
15803
+ min-height: 92px;
15804
+ font-size: 16px;
15805
+ line-height: 1.45;
15806
+ }
15807
+ .qc-pair--tag .qc-tag-field-input {
15808
+ min-height: 44px;
15809
+ font-size: 16px;
15810
+ }
15811
+ .qc-dock-wrap--desktop {
15812
+ display: none;
15813
+ }
15814
+ .qc-mobile-actions {
15815
+ display: flex;
15816
+ flex-direction: column;
15817
+ gap: 8px;
15818
+ }
15819
+ .qc-mobile-actions[data-disabled="1"] {
15820
+ opacity: 0.6;
15821
+ pointer-events: none;
15822
+ }
15823
+ .qc-mobile-action-grid {
15824
+ display: grid;
15825
+ grid-template-columns: repeat(2, minmax(0, 1fr));
15826
+ gap: 8px;
15827
+ }
15828
+ .qc-mobile-action-btn {
15829
+ min-width: 0;
15830
+ min-height: 56px;
15831
+ display: flex;
15832
+ flex-direction: column;
15833
+ align-items: flex-start;
15834
+ justify-content: center;
15835
+ gap: 3px;
15836
+ padding: 10px 12px;
15837
+ border-radius: 12px;
15838
+ border: 1px solid rgba(125, 91, 57, 0.16);
15839
+ background: rgba(255, 255, 255, 0.72);
15840
+ color: var(--text-primary);
15841
+ text-align: left;
15842
+ box-shadow: 0 1px 3px rgba(89, 58, 32, 0.06);
15843
+ touch-action: manipulation;
15844
+ -webkit-tap-highlight-color: transparent;
15845
+ transition: transform 0.12s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
15846
+ }
15847
+ .qc-mobile-action-btn:active {
15848
+ transform: scale(0.98);
15849
+ background: rgba(255, 255, 255, 0.92);
15850
+ border-color: rgba(197, 101, 61, 0.28);
15851
+ }
15852
+ .qc-mobile-action-btn:disabled {
15853
+ cursor: not-allowed;
15854
+ }
15855
+ .qc-mobile-action-primary {
15856
+ border-color: rgba(197, 101, 61, 0.32);
15857
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(197, 101, 61, 0.10));
15858
+ }
15859
+ .qc-mobile-action-wide {
15860
+ grid-column: 1 / -1;
15861
+ }
15862
+ .qc-mobile-action-label {
15863
+ max-width: 100%;
15864
+ font-size: 0.88rem;
15865
+ font-weight: 800;
15866
+ line-height: 1.15;
15867
+ overflow-wrap: anywhere;
15868
+ }
15869
+ .qc-mobile-action-note {
15870
+ max-width: 100%;
15871
+ font-size: 0.72rem;
15872
+ font-weight: 600;
15873
+ line-height: 1.2;
15874
+ color: var(--text-muted);
15875
+ overflow-wrap: anywhere;
15876
+ }
15877
+ .qc-mobile-action-hint {
15878
+ min-height: 1em;
15879
+ color: var(--text-muted);
15880
+ font-size: 0.7rem;
15881
+ line-height: 1.35;
15882
+ text-align: center;
15911
15883
  }
15912
15884
  .qc-dock-stage {
15913
15885
  height: 160px;
@@ -16299,20 +16271,23 @@
16299
16271
  position: fixed;
16300
16272
  right: 18px;
16301
16273
  bottom: 96px;
16302
- width: 52px;
16303
- height: 52px;
16274
+ width: 54px;
16275
+ height: 54px;
16304
16276
  border-radius: 50%;
16305
16277
  display: flex;
16306
16278
  align-items: center;
16307
16279
  justify-content: center;
16308
- color: rgba(245, 235, 225, 0.95);
16309
- background: rgba(32, 25, 21, 0.78);
16310
- border: 1px solid rgba(197, 101, 61, 0.34);
16280
+ color: #fff6e8;
16281
+ background:
16282
+ radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.5), transparent 26%),
16283
+ linear-gradient(145deg, rgba(224, 126, 74, 0.94), rgba(89, 56, 38, 0.94));
16284
+ border: 1px solid rgba(255, 225, 190, 0.42);
16311
16285
  box-shadow:
16312
- 0 6px 20px rgba(0, 0, 0, 0.36),
16313
- inset 0 1px 0 rgba(255, 255, 255, 0.1);
16314
- backdrop-filter: blur(8px);
16315
- -webkit-backdrop-filter: blur(8px);
16286
+ 0 10px 24px rgba(64, 37, 23, 0.36),
16287
+ 0 0 0 6px rgba(197, 101, 61, 0.08),
16288
+ inset 0 1px 0 rgba(255, 255, 255, 0.28);
16289
+ backdrop-filter: blur(10px);
16290
+ -webkit-backdrop-filter: blur(10px);
16316
16291
  pointer-events: auto;
16317
16292
  touch-action: none;
16318
16293
  -webkit-tap-highlight-color: transparent;
@@ -16320,10 +16295,35 @@
16320
16295
  -webkit-user-select: none;
16321
16296
  z-index: 43;
16322
16297
  cursor: grab;
16323
- transition: transform 0.18s var(--ease-spring), background 0.2s ease, border-color 0.2s ease;
16298
+ transition: transform 0.18s var(--ease-spring), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
16299
+ }
16300
+ .wand-joystick-ball::after {
16301
+ content: "";
16302
+ position: absolute;
16303
+ inset: 7px;
16304
+ border-radius: 50%;
16305
+ border: 1px solid rgba(255, 244, 225, 0.22);
16306
+ pointer-events: none;
16307
+ }
16308
+ .wand-joystick-logo {
16309
+ position: relative;
16310
+ z-index: 1;
16311
+ filter: drop-shadow(0 2px 3px rgba(47, 25, 14, 0.42));
16312
+ }
16313
+ .wand-joystick-ball:hover {
16314
+ transform: translateY(-1px);
16315
+ border-color: rgba(255, 231, 198, 0.64);
16316
+ box-shadow:
16317
+ 0 14px 30px rgba(64, 37, 23, 0.42),
16318
+ 0 0 0 7px rgba(197, 101, 61, 0.1),
16319
+ inset 0 1px 0 rgba(255, 255, 255, 0.34);
16320
+ }
16321
+ .wand-joystick-ball:active,
16322
+ .wand-joystick-ball.panel-open {
16323
+ background:
16324
+ radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.45), transparent 26%),
16325
+ linear-gradient(145deg, rgba(42, 31, 24, 0.95), rgba(118, 67, 42, 0.95));
16324
16326
  }
16325
- .wand-joystick-ball:hover { border-color: rgba(197, 101, 61, 0.55); }
16326
- .wand-joystick-ball:active { background: rgba(44, 34, 28, 0.88); }
16327
16327
  .wand-joystick-ball.dragging {
16328
16328
  transform: scale(1.12);
16329
16329
  cursor: grabbing;
@@ -16339,12 +16339,15 @@
16339
16339
  z-index: 42;
16340
16340
  pointer-events: none;
16341
16341
  opacity: 0;
16342
+ visibility: hidden;
16342
16343
  transform: scale(0.6);
16343
- transition: opacity 0.18s var(--ease-out-expo), transform 0.22s var(--ease-spring);
16344
+ transition: opacity 0.18s var(--ease-out-expo), transform 0.22s var(--ease-spring), visibility 0s linear 0.18s;
16344
16345
  }
16345
16346
  .wand-joystick-ring.active {
16346
16347
  opacity: 1;
16348
+ visibility: visible;
16347
16349
  transform: scale(1);
16350
+ transition-delay: 0s;
16348
16351
  }
16349
16352
  .wjr-svg {
16350
16353
  position: absolute;
@@ -16403,32 +16406,79 @@
16403
16406
  z-index: 44;
16404
16407
  display: flex;
16405
16408
  flex-direction: column;
16406
- gap: 8px;
16407
- padding: 12px;
16408
- border-radius: 16px;
16409
- background: rgba(28, 22, 18, 0.92);
16410
- border: 1px solid rgba(245, 235, 225, 0.14);
16411
- box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
16412
- backdrop-filter: blur(10px);
16413
- -webkit-backdrop-filter: blur(10px);
16409
+ gap: 10px;
16410
+ padding: 10px;
16411
+ border-radius: 14px;
16412
+ background:
16413
+ linear-gradient(180deg, rgba(44, 34, 28, 0.96), rgba(25, 19, 16, 0.96));
16414
+ border: 1px solid rgba(245, 235, 225, 0.16);
16415
+ box-shadow:
16416
+ 0 18px 44px rgba(0, 0, 0, 0.42),
16417
+ inset 0 1px 0 rgba(255, 255, 255, 0.08);
16418
+ backdrop-filter: blur(14px);
16419
+ -webkit-backdrop-filter: blur(14px);
16414
16420
  pointer-events: none;
16415
16421
  opacity: 0;
16422
+ visibility: hidden;
16416
16423
  transform: translateY(8px) scale(0.96);
16417
16424
  transform-origin: bottom right;
16418
- transition: opacity 0.18s var(--ease-out-expo), transform 0.22s var(--ease-spring);
16425
+ transition: opacity 0.18s var(--ease-out-expo), transform 0.22s var(--ease-spring), visibility 0s linear 0.18s;
16426
+ width: min(252px, calc(100vw - 36px));
16419
16427
  max-width: calc(100vw - 36px);
16420
16428
  }
16421
16429
  .wand-joystick-panel.active {
16422
16430
  pointer-events: auto;
16423
16431
  opacity: 1;
16432
+ visibility: visible;
16424
16433
  transform: translateY(0) scale(1);
16434
+ transition-delay: 0s;
16435
+ }
16436
+ .wjp-header {
16437
+ display: flex;
16438
+ align-items: center;
16439
+ justify-content: space-between;
16440
+ gap: 10px;
16441
+ min-height: 24px;
16425
16442
  }
16426
16443
  .wjp-title {
16427
- font-size: 0.66rem;
16428
- letter-spacing: 0.08em;
16444
+ display: inline-flex;
16445
+ align-items: center;
16446
+ gap: 6px;
16447
+ font-size: 0.68rem;
16448
+ letter-spacing: 0.06em;
16449
+ text-transform: uppercase;
16450
+ color: rgba(245, 235, 225, 0.66);
16451
+ font-weight: 700;
16452
+ }
16453
+ .wjp-title-icon {
16454
+ color: rgba(255, 210, 156, 0.9);
16455
+ }
16456
+ .wjp-close {
16457
+ width: 24px;
16458
+ height: 24px;
16459
+ border-radius: 50%;
16460
+ border: 1px solid rgba(245, 235, 225, 0.12);
16461
+ background: rgba(255, 255, 255, 0.05);
16462
+ color: rgba(245, 235, 225, 0.72);
16463
+ display: inline-flex;
16464
+ align-items: center;
16465
+ justify-content: center;
16466
+ cursor: pointer;
16467
+ padding: 0;
16468
+ transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
16469
+ }
16470
+ .wjp-close:hover {
16471
+ background: rgba(255, 255, 255, 0.1);
16472
+ color: rgba(245, 235, 225, 0.95);
16473
+ }
16474
+ .wjp-close:active { transform: scale(0.94); }
16475
+ .wjp-section-label {
16476
+ margin: 0 2px -4px;
16477
+ color: rgba(245, 235, 225, 0.38);
16478
+ font-size: 0.58rem;
16479
+ font-weight: 700;
16480
+ letter-spacing: 0.09em;
16429
16481
  text-transform: uppercase;
16430
- color: rgba(245, 235, 225, 0.5);
16431
- text-align: center;
16432
16482
  }
16433
16483
  .wjp-dpad { display: flex; flex-direction: column; align-items: center; gap: 4px; }
16434
16484
  .wjp-dpad-row { display: flex; gap: 4px; }
@@ -16448,9 +16498,18 @@
16448
16498
  touch-action: manipulation;
16449
16499
  -webkit-tap-highlight-color: transparent;
16450
16500
  user-select: none;
16451
- transition: transform 0.1s ease, background 0.15s ease;
16501
+ transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
16502
+ }
16503
+ .wjp-key:hover {
16504
+ background: rgba(255, 255, 255, 0.11);
16505
+ border-color: rgba(255, 215, 177, 0.28);
16506
+ color: #fff7ed;
16452
16507
  }
16453
16508
  .wjp-key:active { background: var(--accent-soft, rgba(197, 101, 61, 0.2)); transform: scale(0.94); }
16509
+ .wjp-key[data-key="enter"] { color: #a7d7a9; }
16510
+ .wjp-key[data-key="ctrl_c"],
16511
+ .wjp-key[data-key="escape"] { color: #f1a39d; }
16512
+ .wjp-key[data-key="shift_tab"] { color: #c5b8ff; }
16454
16513
  .wjp-key.wjp-mod.active {
16455
16514
  background: var(--accent);
16456
16515
  color: #fff;
@@ -1,4 +1,4 @@
1
- export declare const EMBEDDED_WEB_ASSET_VERSION = "7169ddf94a7a";
1
+ export declare const EMBEDDED_WEB_ASSET_VERSION = "7bd4a7fc32f5";
2
2
  export declare const EMBEDDED_WEB_ASSETS: {
3
3
  readonly scriptsJs: string;
4
4
  readonly stylesCss: string;