fantasia-ui 0.2.53 → 0.2.55

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.
@@ -2482,7 +2482,7 @@ to {
2482
2482
  .f-dropdown-motion-leave-to[data-v-ecac3ad8] {
2483
2483
  opacity: 0;
2484
2484
  transform: scale(0.92);
2485
- }.f-select[data-v-d4fb19d1] {
2485
+ }.f-select[data-v-046bf984] {
2486
2486
  display: inline-flex;
2487
2487
  align-items: center;
2488
2488
  justify-content: space-between;
@@ -2491,58 +2491,90 @@ to {
2491
2491
  width: 100%;
2492
2492
  max-width: 100%;
2493
2493
  box-sizing: border-box;
2494
- padding: 8px 12px;
2495
- background: var(--surface2);
2496
- border: 1.5px solid var(--border);
2497
- border-radius: var(--radius, 8px);
2494
+ padding: 0 12px;
2495
+ height: 36px;
2496
+ background: #fff;
2497
+ border: 1px solid #dcdfe6;
2498
+ border-radius: 4px;
2498
2499
  cursor: pointer;
2499
2500
  user-select: none;
2500
- transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
2501
+ transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
2501
2502
  }
2502
- .f-select[data-v-d4fb19d1]:hover:not(.is-disabled) {
2503
- background: var(--surface3);
2504
- border-color: var(--border2);
2503
+ .f-select[data-v-046bf984]:hover:not(.is-disabled) {
2504
+ border-color: #c0c4cc;
2505
2505
  }
2506
- .f-select.is-open[data-v-d4fb19d1]:not(.is-disabled), .f-select[data-v-d4fb19d1]:focus-within:not(.is-disabled) {
2507
- background: var(--surface);
2508
- border-color: var(--accent);
2509
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
2506
+ .f-select.is-open[data-v-046bf984]:not(.is-disabled), .f-select[data-v-046bf984]:focus-within:not(.is-disabled) {
2507
+ border-color: #409eff;
2510
2508
  }
2511
- .f-select.is-active .f-select__label[data-v-d4fb19d1] {
2512
- color: var(--text);
2513
- font-weight: 500;
2509
+ .f-select.is-open:not(.is-disabled) .f-select__arrow[data-v-046bf984], .f-select:focus-within:not(.is-disabled) .f-select__arrow[data-v-046bf984] {
2510
+ transform: rotate(180deg);
2514
2511
  }
2515
- .f-select.is-disabled[data-v-d4fb19d1] {
2512
+ .f-select.is-active .f-select__label[data-v-046bf984] {
2513
+ color: #606266;
2514
+ }
2515
+ .f-select.is-disabled[data-v-046bf984] {
2516
2516
  cursor: not-allowed;
2517
- opacity: 0.5;
2518
- background: var(--surface2);
2517
+ background-color: #f5f7fa;
2518
+ border-color: #e4e7ed;
2519
+ color: #c0c4cc;
2519
2520
  }
2520
- .f-select.is-disabled .f-select__label[data-v-d4fb19d1],
2521
- .f-select.is-disabled .f-select__arrow[data-v-d4fb19d1] {
2521
+ .f-select.is-disabled .f-select__label[data-v-046bf984],
2522
+ .f-select.is-disabled .f-select__arrow[data-v-046bf984] {
2522
2523
  cursor: not-allowed;
2523
2524
  }
2524
- .f-select__label[data-v-d4fb19d1] {
2525
+ .f-select--small[data-v-046bf984] {
2526
+ height: 32px;
2527
+ font-size: 13px;
2528
+ }
2529
+ .f-select--small .f-select__label[data-v-046bf984] {
2530
+ font-size: 13px;
2531
+ }
2532
+ .f-select--medium[data-v-046bf984] {
2533
+ height: 36px;
2525
2534
  font-size: 14px;
2526
- line-height: 1.4;
2527
- color: var(--text);
2535
+ }
2536
+ .f-select--large[data-v-046bf984] {
2537
+ height: 40px;
2538
+ font-size: 16px;
2539
+ }
2540
+ .f-select--large .f-select__label[data-v-046bf984] {
2541
+ font-size: 16px;
2542
+ }
2543
+ .f-select__label[data-v-046bf984] {
2544
+ font-size: 14px;
2545
+ line-height: 1.5;
2546
+ color: #606266;
2528
2547
  flex: 1;
2529
2548
  white-space: nowrap;
2530
2549
  overflow: hidden;
2531
2550
  text-overflow: ellipsis;
2532
- transition: color 0.2s ease;
2551
+ transition: color 0.2s;
2533
2552
  }
2534
- .f-select__label.is-placeholder[data-v-d4fb19d1] {
2535
- color: var(--text-dim);
2536
- font-weight: 400;
2553
+ .f-select__label.is-placeholder[data-v-046bf984] {
2554
+ color: #c0c4cc;
2537
2555
  }
2538
- .f-select__arrow[data-v-d4fb19d1] {
2539
- font-size: 15px;
2540
- color: var(--text-muted);
2556
+ .f-select__suffix[data-v-046bf984] {
2557
+ display: flex;
2558
+ align-items: center;
2559
+ gap: 4px;
2541
2560
  flex-shrink: 0;
2542
- transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
2543
2561
  }
2544
- .f-select.is-open:not(.is-disabled) .f-select__arrow[data-v-d4fb19d1] {
2545
- transform: rotate(180deg);
2562
+ .f-select__clear[data-v-046bf984] {
2563
+ font-size: 14px;
2564
+ color: #c0c4cc;
2565
+ transition: color 0.2s;
2566
+ cursor: pointer;
2567
+ }
2568
+ .f-select__clear[data-v-046bf984]:hover {
2569
+ color: #909399;
2570
+ }
2571
+ .f-select__arrow[data-v-046bf984] {
2572
+ font-size: 14px;
2573
+ color: #c0c4cc;
2574
+ transition: transform 0.3s, color 0.2s;
2575
+ }
2576
+ .f-select:hover:not(.is-disabled) .f-select__arrow[data-v-046bf984] {
2577
+ color: #909399;
2546
2578
  }.f-pagination[data-v-930f8b20] {
2547
2579
  display: flex;
2548
2580
  justify-content: center;
@@ -7582,11 +7614,35 @@ to {
7582
7614
  will-change: transform, opacity;
7583
7615
  transform-origin: center;
7584
7616
  }
7617
+ .f-dialog__close {
7618
+ position: absolute;
7619
+ top: 16px;
7620
+ right: 16px;
7621
+ width: 32px;
7622
+ height: 32px;
7623
+ display: flex;
7624
+ align-items: center;
7625
+ justify-content: center;
7626
+ border: none;
7627
+ background: transparent;
7628
+ color: #909399;
7629
+ cursor: pointer;
7630
+ border-radius: 4px;
7631
+ transition: all 0.2s;
7632
+ z-index: 1;
7633
+ padding: 0;
7634
+ }
7635
+ .f-dialog__close:hover {
7636
+ background: #f5f7fa;
7637
+ color: #606266;
7638
+ }
7585
7639
  .f-dialog__header {
7586
- padding: 24px 20px 16px;
7640
+ padding: 20px 20px 16px;
7587
7641
  display: flex;
7588
7642
  align-items: center;
7589
7643
  gap: 12px;
7644
+ }
7645
+ .f-dialog__header.has-divider {
7590
7646
  border-bottom: 1px solid #e4e7ed;
7591
7647
  }
7592
7648
  .f-dialog__icon {
@@ -7627,6 +7683,8 @@ to {
7627
7683
  align-items: center;
7628
7684
  justify-content: flex-end;
7629
7685
  gap: 12px;
7686
+ }
7687
+ .f-dialog__footer.has-divider {
7630
7688
  border-top: 1px solid #e4e7ed;
7631
7689
  }
7632
7690
  .f-dialog--info .f-dialog__icon {