@paymanai/payman-ask-sdk 4.0.13 → 4.0.15

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/dist/styles.css CHANGED
@@ -1448,8 +1448,10 @@
1448
1448
  }
1449
1449
  .payman-v2-ua {
1450
1450
  max-width: 26rem;
1451
- padding: 0.625rem 0 0.625rem 0.875rem;
1452
- border-left: 2px solid var(--payman-v2-border-1);
1451
+ padding: 0.875rem;
1452
+ border: 1px solid color-mix(in srgb, var(--payman-v2-border-1) 72%, transparent);
1453
+ border-radius: var(--payman-v2-radius-md);
1454
+ background: color-mix(in srgb, var(--payman-v2-bg-secondary) 42%, transparent);
1453
1455
  }
1454
1456
  .payman-v2-ua-head {
1455
1457
  display: flex;
@@ -1475,9 +1477,9 @@
1475
1477
  }
1476
1478
  .payman-v2-ua-desc {
1477
1479
  font-size: 0.8125rem;
1478
- line-height: 1.45;
1480
+ line-height: 1.38;
1479
1481
  color: var(--payman-v2-text-2);
1480
- margin: 0 0 0.5rem;
1482
+ margin: 0.125rem 0 0.875rem;
1481
1483
  }
1482
1484
  .payman-v2-ua-stale {
1483
1485
  font-size: 0.75rem;
@@ -1495,17 +1497,18 @@
1495
1497
  .payman-v2-ua-form {
1496
1498
  display: flex;
1497
1499
  flex-direction: column;
1498
- gap: 0.625rem;
1499
- margin: 0.25rem 0 0.625rem;
1500
+ gap: 0.875rem;
1501
+ margin: 0 0 0.75rem;
1500
1502
  }
1501
1503
  .payman-v2-ua-row {
1502
1504
  display: flex;
1503
1505
  flex-direction: column;
1504
- gap: 0.25rem;
1506
+ gap: 0;
1505
1507
  }
1506
1508
  .payman-v2-ua-label {
1507
1509
  font-size: 0.75rem;
1508
1510
  font-weight: 500;
1511
+ line-height: 1.35;
1509
1512
  color: var(--payman-v2-text-2);
1510
1513
  }
1511
1514
  .payman-v2-ua-req {
@@ -1515,7 +1518,9 @@
1515
1518
  .payman-v2-ua-hint {
1516
1519
  font-size: 11px;
1517
1520
  color: var(--payman-v2-text-3);
1518
- line-height: 1.35;
1521
+ line-height: 14px;
1522
+ margin-top: 0.5rem;
1523
+ margin-bottom: 0.5rem;
1519
1524
  }
1520
1525
  .payman-v2-ua-input {
1521
1526
  width: 100%;
@@ -2422,215 +2427,6 @@
2422
2427
  .payman-v2-feedback-modal-btn-primary:hover:not(:disabled) {
2423
2428
  background: color-mix(in srgb, var(--payman-v2-btn-primary) 88%, white);
2424
2429
  }
2425
- .payman-v2-pdf-block {
2426
- display: inline-flex;
2427
- align-items: stretch;
2428
- border: 1px solid var(--payman-v2-border-1);
2429
- border-radius: var(--payman-v2-radius-md);
2430
- overflow: hidden;
2431
- cursor: pointer;
2432
- background: var(--payman-v2-bg);
2433
- transition: box-shadow 0.14s ease, border-color 0.14s ease;
2434
- max-width: 360px;
2435
- min-width: 180px;
2436
- font-family: inherit;
2437
- text-align: left;
2438
- vertical-align: middle;
2439
- }
2440
- .payman-v2-pdf-block:hover {
2441
- box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
2442
- border-color: var(--payman-v2-text-4);
2443
- }
2444
- .payman-v2-pdf-block:active {
2445
- box-shadow: none;
2446
- }
2447
- .payman-v2-pdf-block-icon-area {
2448
- display: flex;
2449
- align-items: center;
2450
- justify-content: center;
2451
- width: 44px;
2452
- flex-shrink: 0;
2453
- background: var(--payman-v2-bg-secondary);
2454
- border-right: 1px solid var(--payman-v2-border-1);
2455
- color: var(--payman-v2-text-3);
2456
- transition: color 0.14s ease;
2457
- }
2458
- .payman-v2-pdf-block:hover .payman-v2-pdf-block-icon-area {
2459
- color: var(--payman-v2-text-2);
2460
- }
2461
- .payman-v2-pdf-block-body {
2462
- display: flex;
2463
- flex-direction: column;
2464
- gap: 2px;
2465
- padding: 0.5rem 0.75rem;
2466
- min-width: 0;
2467
- }
2468
- .payman-v2-pdf-block-name {
2469
- font-size: 0.8125rem;
2470
- font-weight: 500;
2471
- color: var(--payman-v2-text-1);
2472
- line-height: 1.3;
2473
- white-space: nowrap;
2474
- overflow: hidden;
2475
- text-overflow: ellipsis;
2476
- }
2477
- .payman-v2-pdf-block-sub {
2478
- font-size: 0.6875rem;
2479
- color: var(--payman-v2-text-3);
2480
- line-height: 1.2;
2481
- }
2482
- .payman-v2-pdf-sheet-overlay {
2483
- position: fixed;
2484
- inset: 0;
2485
- z-index: 9000;
2486
- background: rgba(0, 0, 0, 0.32);
2487
- }
2488
- .payman-v2-pdf-sheet {
2489
- position: fixed;
2490
- top: 0;
2491
- right: 0;
2492
- bottom: 0;
2493
- background: var(--payman-v2-bg);
2494
- display: flex;
2495
- flex-direction: column;
2496
- z-index: 9001;
2497
- border-left: 1px solid var(--payman-v2-border-1);
2498
- box-shadow: -6px 0 28px rgba(0, 0, 0, 0.09), -1px 0 4px rgba(0, 0, 0, 0.05);
2499
- min-width: 320px;
2500
- }
2501
- .payman-v2-pdf-sheet-resize-handle {
2502
- position: absolute;
2503
- left: 0;
2504
- top: 0;
2505
- bottom: 0;
2506
- width: 6px;
2507
- cursor: ew-resize;
2508
- z-index: 10;
2509
- display: flex;
2510
- align-items: center;
2511
- justify-content: center;
2512
- }
2513
- .payman-v2-pdf-sheet-resize-handle:hover .payman-v2-pdf-sheet-resize-grip,
2514
- .payman-v2-pdf-sheet-resize-handle:active .payman-v2-pdf-sheet-resize-grip {
2515
- opacity: 1;
2516
- }
2517
- .payman-v2-pdf-sheet-resize-grip {
2518
- width: 2px;
2519
- height: 32px;
2520
- border-radius: 2px;
2521
- background: var(--payman-v2-border-1);
2522
- opacity: 0;
2523
- transition: opacity 0.15s ease;
2524
- }
2525
- .payman-v2-pdf-sheet-header {
2526
- display: flex;
2527
- align-items: center;
2528
- justify-content: space-between;
2529
- gap: 0.75rem;
2530
- padding: 0 0.875rem 0 1rem;
2531
- height: 48px;
2532
- background: var(--payman-v2-bg);
2533
- border-bottom: 1px solid var(--payman-v2-border-1);
2534
- flex-shrink: 0;
2535
- position: relative;
2536
- z-index: 1;
2537
- }
2538
- .payman-v2-pdf-sheet-header-left {
2539
- display: flex;
2540
- align-items: center;
2541
- gap: 0.4rem;
2542
- min-width: 0;
2543
- flex: 1;
2544
- }
2545
- .payman-v2-pdf-sheet-file-icon {
2546
- display: flex;
2547
- align-items: center;
2548
- justify-content: center;
2549
- color: var(--payman-v2-text-3);
2550
- flex-shrink: 0;
2551
- }
2552
- .payman-v2-pdf-sheet-title {
2553
- font-size: 0.8125rem;
2554
- font-weight: 500;
2555
- color: var(--payman-v2-text-1);
2556
- white-space: nowrap;
2557
- overflow: hidden;
2558
- text-overflow: ellipsis;
2559
- line-height: 1.3;
2560
- }
2561
- .payman-v2-pdf-sheet-header-actions {
2562
- display: flex;
2563
- align-items: center;
2564
- gap: 0.25rem;
2565
- flex-shrink: 0;
2566
- }
2567
- .payman-v2-pdf-sheet-download-btn {
2568
- display: inline-flex;
2569
- align-items: center;
2570
- gap: 0.3rem;
2571
- padding: 0.3125rem 0.65rem;
2572
- font-size: 0.75rem;
2573
- font-weight: 500;
2574
- color: var(--payman-v2-text-2);
2575
- background: transparent;
2576
- border: 1px solid var(--payman-v2-border-1);
2577
- border-radius: var(--payman-v2-radius-full);
2578
- cursor: pointer;
2579
- transition: background 0.13s ease, color 0.13s ease;
2580
- white-space: nowrap;
2581
- font-family: inherit;
2582
- }
2583
- .payman-v2-pdf-sheet-download-btn:hover {
2584
- background: var(--payman-v2-hover);
2585
- color: var(--payman-v2-text-1);
2586
- }
2587
- .payman-v2-pdf-sheet-close-btn {
2588
- display: inline-flex;
2589
- align-items: center;
2590
- justify-content: center;
2591
- width: 28px;
2592
- height: 28px;
2593
- border-radius: var(--payman-v2-radius-full);
2594
- border: none;
2595
- background: transparent;
2596
- color: var(--payman-v2-text-3);
2597
- cursor: pointer;
2598
- transition: background 0.13s ease, color 0.13s ease;
2599
- flex-shrink: 0;
2600
- font-family: inherit;
2601
- }
2602
- .payman-v2-pdf-sheet-close-btn:hover {
2603
- background: var(--payman-v2-hover);
2604
- color: var(--payman-v2-text-1);
2605
- }
2606
- .payman-v2-pdf-sheet-body {
2607
- flex: 1;
2608
- position: relative;
2609
- overflow: hidden;
2610
- background: var(--payman-v2-bg-secondary);
2611
- }
2612
- .payman-v2-pdf-sheet-loading {
2613
- position: absolute;
2614
- inset: 0;
2615
- display: flex;
2616
- flex-direction: column;
2617
- align-items: center;
2618
- justify-content: center;
2619
- gap: 0.5rem;
2620
- z-index: 1;
2621
- }
2622
- .payman-v2-pdf-sheet-loading-text {
2623
- font-size: 0.8125rem;
2624
- color: var(--payman-v2-text-3);
2625
- }
2626
- .payman-v2-pdf-sheet-iframe {
2627
- position: absolute;
2628
- inset: 0;
2629
- width: 100%;
2630
- height: 100%;
2631
- border: none;
2632
- display: block;
2633
- }
2634
2430
 
2635
2431
  /* src/styles.css */
2636
2432
  .payman-chat-root {