@co0ontty/wand 1.42.0 → 1.43.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.
@@ -15549,227 +15549,239 @@
15549
15549
  }
15550
15550
  .qc-clean-badge svg { flex-shrink: 0; }
15551
15551
 
15552
- /* HEAD a plain inline line (no nested box). */
15553
- .qc-head-card {
15552
+ /* ── Quick commit release panel ─────────────────────────────── */
15553
+ .quick-commit-modal {
15554
+ max-width: 620px;
15555
+ }
15556
+ .quick-commit-modal .modal-body {
15557
+ gap: 0;
15558
+ }
15559
+ .qc-release-panel,
15560
+ .qc-result-panel {
15561
+ display: flex;
15562
+ flex-direction: column;
15563
+ gap: 14px;
15564
+ }
15565
+ .qc-pair {
15566
+ display: grid;
15567
+ grid-template-columns: 72px minmax(0, 1fr);
15568
+ gap: 12px;
15569
+ align-items: start;
15570
+ }
15571
+ .qc-pair-label {
15572
+ padding-top: 9px;
15573
+ font-size: 0.72rem;
15574
+ font-weight: 800;
15575
+ color: var(--text-muted);
15576
+ letter-spacing: 0.06em;
15577
+ text-transform: uppercase;
15578
+ }
15579
+ .qc-pair-flow {
15580
+ display: grid;
15581
+ grid-template-columns: minmax(0, 0.9fr) 24px minmax(0, 1.1fr);
15582
+ gap: 8px;
15583
+ align-items: center;
15584
+ min-width: 0;
15585
+ }
15586
+ .qc-pair-value {
15587
+ min-width: 0;
15588
+ min-height: 38px;
15554
15589
  display: flex;
15555
15590
  align-items: center;
15556
15591
  gap: 8px;
15592
+ padding: 8px 10px;
15593
+ border: 1px solid rgba(125, 91, 57, 0.12);
15594
+ border-radius: 8px;
15595
+ background: rgba(255, 255, 255, 0.52);
15596
+ color: var(--text-secondary);
15597
+ overflow: hidden;
15598
+ }
15599
+ .qc-pair-value--to {
15600
+ background: rgba(255, 255, 255, 0.84);
15601
+ border-color: rgba(197, 101, 61, 0.22);
15602
+ color: var(--text-primary);
15557
15603
  }
15558
- .qc-head-label {
15604
+ .qc-pair-value code {
15559
15605
  flex-shrink: 0;
15560
- font-size: 0.66rem;
15606
+ font-family: var(--font-mono, monospace);
15607
+ font-size: 0.78rem;
15561
15608
  font-weight: 700;
15562
- letter-spacing: 0.06em;
15563
- color: var(--text-muted);
15564
- text-transform: uppercase;
15565
- padding: 1px 6px;
15609
+ color: var(--accent);
15610
+ background: rgba(197, 101, 61, 0.09);
15566
15611
  border-radius: 5px;
15567
- background: rgba(125, 91, 57, 0.08);
15612
+ padding: 2px 6px;
15568
15613
  }
15569
- .qc-head-text {
15570
- flex: 1 1 auto;
15614
+ .qc-pair-value span {
15571
15615
  min-width: 0;
15572
- font-family: var(--font-mono, monospace);
15573
- font-size: 0.78rem;
15574
- color: var(--text-primary);
15575
15616
  overflow: hidden;
15576
15617
  text-overflow: ellipsis;
15577
15618
  white-space: nowrap;
15578
- background: transparent;
15579
- padding: 0;
15619
+ font-size: 0.82rem;
15580
15620
  }
15581
-
15582
- /* Status chips (ahead/behind/tags) */
15583
- .qc-status-chips {
15584
- display: flex;
15585
- flex-wrap: wrap;
15586
- gap: 6px;
15621
+ .qc-pair--commit .qc-pair-flow {
15622
+ align-items: stretch;
15587
15623
  }
15588
- .qc-chip {
15589
- display: inline-flex;
15590
- align-items: center;
15591
- gap: 4px;
15592
- padding: 3px 9px;
15593
- border-radius: 999px;
15594
- font-size: 0.72rem;
15595
- font-weight: 600;
15596
- line-height: 1.4;
15597
- background: rgba(120, 120, 120, 0.08);
15598
- color: var(--text-secondary);
15599
- border: 1px solid rgba(120, 120, 120, 0.12);
15600
- white-space: nowrap;
15624
+ .qc-pair--commit .qc-pair-value {
15625
+ min-height: 76px;
15626
+ align-items: flex-start;
15601
15627
  }
15602
- .qc-chip--ahead {
15603
- background: rgba(60, 130, 200, 0.14);
15604
- color: rgba(40, 100, 170, 0.95);
15605
- border-color: rgba(60, 130, 200, 0.28);
15628
+ .qc-pair--commit .qc-pair-value--to {
15629
+ padding: 0;
15630
+ border: 0;
15631
+ background: transparent;
15606
15632
  }
15607
- .qc-chip--behind {
15608
- background: rgba(180, 100, 60, 0.14);
15609
- color: rgba(160, 90, 50, 0.95);
15610
- border-color: rgba(180, 100, 60, 0.28);
15633
+ .qc-pair--commit .qc-message-input {
15634
+ min-height: 76px;
15635
+ width: 100%;
15636
+ resize: vertical;
15611
15637
  }
15612
- .qc-chip--warn {
15613
- background: rgba(220, 150, 30, 0.14);
15614
- color: rgba(180, 110, 20, 0.95);
15615
- border-color: rgba(220, 150, 30, 0.32);
15638
+ .qc-pair--tag .qc-pair-value--to {
15639
+ padding: 0;
15640
+ border: 0;
15641
+ background: transparent;
15616
15642
  }
15617
- .qc-chip--clean {
15618
- background: rgba(60, 160, 90, 0.12);
15619
- color: rgba(40, 130, 70, 0.95);
15620
- border-color: rgba(60, 160, 90, 0.24);
15643
+ .qc-pair--tag .qc-tag-field-input {
15644
+ width: 100%;
15645
+ min-height: 38px;
15621
15646
  }
15622
-
15623
- /* "为当前提交打 Tag" button (icon + text, balances the push button) */
15624
- .qc-tag-head-btn {
15647
+ .qc-pair-arrow {
15625
15648
  display: inline-flex;
15626
15649
  align-items: center;
15627
- gap: 5px;
15628
- }
15629
- .qc-tag-head-btn svg { flex-shrink: 0; opacity: 0.8; }
15630
- .qc-tag-head-btn.is-open {
15631
- background: rgba(140, 100, 200, 0.12);
15632
- border-color: rgba(140, 100, 200, 0.28);
15633
- color: rgba(96, 60, 160, 0.98);
15634
- }
15635
-
15636
- /* Tag HEAD inline drawer */
15637
- .qc-tag-head-panel {
15638
- display: flex;
15639
- flex-direction: column;
15640
- gap: 8px;
15641
- padding: 11px 12px;
15642
- background: rgba(255, 255, 255, 0.85);
15643
- border: 1px solid rgba(140, 100, 200, 0.18);
15644
- border-radius: 10px;
15645
- }
15646
- .qc-tag-head-hint {
15647
- font-size: 0.74rem;
15650
+ justify-content: center;
15648
15651
  color: var(--text-muted);
15649
- line-height: 1.4;
15650
- }
15651
- .qc-tag-head-row {
15652
- display: flex;
15653
- gap: 6px;
15654
- align-items: stretch;
15652
+ font-weight: 800;
15653
+ font-family: var(--font-mono, monospace);
15655
15654
  }
15656
- .qc-tag-head-row .field-input { flex: 1 1 auto; min-width: 0; }
15657
- .qc-tag-head-push {
15658
- display: flex;
15659
- align-items: center;
15660
- gap: 6px;
15661
- font-size: 0.78rem;
15662
- color: var(--text-secondary);
15663
- cursor: pointer;
15664
- user-select: none;
15655
+ .qc-muted {
15656
+ color: var(--text-muted);
15657
+ font-style: italic;
15665
15658
  }
15666
- .qc-tag-head-actions {
15659
+ .qc-modal-actions,
15660
+ .qc-result-actions {
15667
15661
  display: flex;
15668
15662
  justify-content: flex-end;
15669
- gap: 6px;
15670
- }
15671
-
15672
- /* Split button (primary action: commit / commit & push) */
15673
- .qc-split-button {
15674
- position: relative;
15675
- display: inline-flex;
15676
- align-items: stretch;
15677
- isolation: isolate;
15663
+ gap: 8px;
15678
15664
  }
15679
- .qc-split-main {
15680
- border-top-right-radius: 0;
15681
- border-bottom-right-radius: 0;
15682
- padding-right: 12px;
15665
+ .qc-result-panel {
15666
+ padding-top: 2px;
15683
15667
  }
15684
- .qc-split-caret {
15685
- border-top-left-radius: 0;
15686
- border-bottom-left-radius: 0;
15687
- padding: 0 8px;
15688
- border-left: 1px solid rgba(255, 255, 255, 0.25);
15689
- min-width: 26px;
15668
+ .qc-result-pushed {
15690
15669
  display: inline-flex;
15691
15670
  align-items: center;
15692
- justify-content: center;
15693
- }
15694
- .qc-split-caret svg {
15695
- transition: transform 0.16s ease;
15671
+ min-height: 30px;
15672
+ padding: 0 10px;
15673
+ border-radius: 999px;
15674
+ color: rgba(40, 130, 70, 0.95);
15675
+ background: rgba(60, 160, 90, 0.12);
15676
+ border: 1px solid rgba(60, 160, 90, 0.24);
15677
+ font-size: 0.78rem;
15678
+ font-weight: 700;
15696
15679
  }
15697
- .qc-split-caret.is-active svg {
15698
- transform: rotate(180deg);
15680
+
15681
+ .qc-drag-wrap {
15682
+ padding-top: 2px;
15699
15683
  }
15700
- .qc-split-button--secondary .qc-split-caret {
15701
- border-left-color: rgba(125, 91, 57, 0.12);
15684
+ .qc-drag-track {
15685
+ --qc-progress: 0%;
15686
+ --qc-knob-x: 0px;
15687
+ position: relative;
15688
+ min-height: 58px;
15689
+ padding: 7px;
15690
+ border-radius: 8px;
15691
+ border: 1px solid rgba(125, 91, 57, 0.14);
15692
+ background: rgba(255, 255, 255, 0.52);
15693
+ overflow: hidden;
15694
+ touch-action: none;
15695
+ user-select: none;
15702
15696
  }
15703
-
15704
- /* Dropdown menu (used by primary action + push) */
15705
- .qc-dropdown-menu {
15697
+ .qc-drag-progress {
15706
15698
  position: absolute;
15707
- top: calc(100% + 6px);
15708
- right: 0;
15709
- min-width: 220px;
15710
- max-width: 320px;
15711
- background: rgba(255, 255, 255, 0.98);
15712
- backdrop-filter: blur(12px);
15713
- -webkit-backdrop-filter: blur(12px);
15714
- border: 1px solid rgba(125, 91, 57, 0.16);
15715
- border-radius: 12px;
15716
- box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
15717
- padding: 4px;
15718
- z-index: 20;
15719
- display: flex;
15720
- flex-direction: column;
15721
- gap: 2px;
15722
- animation: qcDropdownIn 0.14s ease-out;
15699
+ inset: 0 auto 0 0;
15700
+ width: calc(var(--qc-progress) + 78px);
15701
+ max-width: 100%;
15702
+ background: linear-gradient(90deg, rgba(197, 101, 61, 0.18), rgba(60, 130, 200, 0.18));
15703
+ transition: width 0.16s ease;
15704
+ pointer-events: none;
15723
15705
  }
15724
- .qc-dropdown-menu--right { right: 0; left: auto; }
15725
- @keyframes qcDropdownIn {
15726
- from { opacity: 0; transform: translateY(-4px); }
15727
- to { opacity: 1; transform: translateY(0); }
15706
+ .qc-drag-track.is-dragging .qc-drag-progress {
15707
+ transition: none;
15728
15708
  }
15729
- .qc-dropdown-item {
15730
- all: unset;
15731
- display: flex;
15732
- flex-direction: column;
15733
- gap: 2px;
15734
- padding: 8px 10px;
15735
- border-radius: 8px;
15736
- cursor: pointer;
15737
- transition: background 0.12s ease;
15709
+ .qc-drag-stages {
15710
+ position: absolute;
15711
+ inset: 7px 10px;
15712
+ display: grid;
15713
+ grid-template-columns: repeat(3, 1fr);
15714
+ align-items: center;
15715
+ pointer-events: none;
15738
15716
  }
15739
- .qc-dropdown-item:hover:not(.is-disabled) {
15740
- background: rgba(197, 101, 61, 0.08);
15717
+ .qc-drag-stage {
15718
+ position: relative;
15719
+ z-index: 1;
15720
+ justify-self: center;
15721
+ font-size: 0.7rem;
15722
+ font-weight: 800;
15723
+ color: var(--text-muted);
15724
+ letter-spacing: 0.03em;
15725
+ text-transform: uppercase;
15741
15726
  }
15742
- .qc-dropdown-item.is-selected {
15743
- background: rgba(197, 101, 61, 0.10);
15727
+ .qc-drag-stage::before {
15728
+ content: "";
15729
+ display: block;
15730
+ width: 7px;
15731
+ height: 7px;
15732
+ margin: 0 auto 5px;
15733
+ border-radius: 50%;
15734
+ background: rgba(125, 91, 57, 0.22);
15735
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75);
15744
15736
  }
15745
- .qc-dropdown-item.is-disabled {
15746
- opacity: 0.5;
15747
- cursor: not-allowed;
15737
+ .qc-drag-stage.is-passed {
15738
+ color: var(--accent);
15748
15739
  }
15749
- .qc-dropdown-item-main {
15750
- display: flex;
15751
- align-items: center;
15752
- gap: 6px;
15740
+ .qc-drag-stage.is-passed::before {
15741
+ background: var(--accent);
15753
15742
  }
15754
- .qc-dropdown-check {
15755
- flex-shrink: 0;
15756
- width: 13px;
15757
- height: 13px;
15743
+ .qc-drag-action {
15744
+ position: absolute;
15745
+ left: 7px;
15746
+ top: 7px;
15747
+ z-index: 2;
15748
+ width: 42%;
15749
+ min-width: 132px;
15750
+ max-width: 220px;
15751
+ height: 44px;
15752
+ border: 0;
15753
+ border-radius: 8px;
15754
+ background: var(--accent);
15755
+ color: white;
15756
+ font-family: var(--font-sans);
15757
+ font-size: 0.84rem;
15758
+ font-weight: 800;
15758
15759
  display: inline-flex;
15759
15760
  align-items: center;
15760
15761
  justify-content: center;
15761
- color: var(--accent);
15762
+ gap: 8px;
15763
+ cursor: grab;
15764
+ box-shadow: 0 8px 22px rgba(197, 101, 61, 0.26);
15765
+ transform: translateX(var(--qc-knob-x));
15766
+ transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
15767
+ touch-action: none;
15762
15768
  }
15763
- .qc-dropdown-item-title {
15764
- font-size: 0.84rem;
15765
- font-weight: 600;
15766
- color: var(--text-primary);
15769
+ .qc-drag-track.is-dragging .qc-drag-action {
15770
+ cursor: grabbing;
15771
+ transition: background 0.16s ease, box-shadow 0.16s ease;
15767
15772
  }
15768
- .qc-dropdown-item-desc {
15769
- font-size: 0.72rem;
15770
- color: var(--text-muted);
15771
- line-height: 1.4;
15772
- padding-left: 19px;
15773
+ .qc-drag-track[data-action="commit-tag"] .qc-drag-action {
15774
+ background: rgba(96, 110, 185, 0.96);
15775
+ box-shadow: 0 8px 22px rgba(96, 110, 185, 0.24);
15776
+ }
15777
+ .qc-drag-track[data-action="commit-tag-push"] .qc-drag-action {
15778
+ background: rgba(40, 130, 88, 0.96);
15779
+ box-shadow: 0 8px 22px rgba(40, 130, 88, 0.24);
15780
+ }
15781
+ .qc-drag-action:disabled {
15782
+ opacity: 0.55;
15783
+ cursor: not-allowed;
15784
+ box-shadow: none;
15773
15785
  }
15774
15786
 
15775
15787
  @media (max-width: 720px) {
@@ -15777,11 +15789,21 @@
15777
15789
  .topbar-git-badge { padding: 0 8px; font-size: 0.7rem; }
15778
15790
  .quick-commit-modal { max-width: 95vw; }
15779
15791
  .qc-files-wrap { max-height: 160px; }
15780
- .qc-dropdown-menu { min-width: 180px; }
15781
- .qc-section-actions--secondary { flex-wrap: wrap; gap: 8px; }
15782
- .qc-section-actions--secondary .qc-tag-head-btn { flex: 1 1 auto; justify-content: center; }
15783
- /* Keep the commit footer one row, but let the two button groups share width. */
15784
- .qc-action-group { flex: 1 1 auto; justify-content: flex-end; }
15792
+ .qc-pair {
15793
+ grid-template-columns: 1fr;
15794
+ gap: 6px;
15795
+ }
15796
+ .qc-pair-label {
15797
+ padding-top: 0;
15798
+ }
15799
+ .qc-pair-flow {
15800
+ grid-template-columns: 1fr 18px 1fr;
15801
+ gap: 6px;
15802
+ }
15803
+ .qc-drag-action {
15804
+ width: 48%;
15805
+ min-width: 118px;
15806
+ }
15785
15807
  }
15786
15808
 
15787
15809
  /* ============================================================ */
@@ -1,4 +1,4 @@
1
- export declare const EMBEDDED_WEB_ASSET_VERSION = "ed9dad22c425";
1
+ export declare const EMBEDDED_WEB_ASSET_VERSION = "427bbfce9c57";
2
2
  export declare const EMBEDDED_WEB_ASSETS: {
3
3
  readonly scriptsJs: string;
4
4
  readonly stylesCss: string;