@akropolys/kiku 1.7.4 → 1.7.6

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
@@ -603,61 +603,40 @@
603
603
  flex: 1;
604
604
  display: flex;
605
605
  flex-direction: column;
606
- align-items: center;
606
+ align-items: flex-start;
607
607
  justify-content: center;
608
- gap: 20px;
609
- padding: 60px 32px;
610
- text-align: center;
611
- background:
612
- radial-gradient(
613
- circle at center,
614
- rgba(var(--hsk-primary-rgb, 255, 106, 51), 0.08) 0%,
615
- transparent 60%);
608
+ gap: 14px;
609
+ padding: 40px clamp(24px, 6%, 56px) 48px;
610
+ text-align: left;
616
611
  }
617
- .hsk-cb-empty-icon {
618
- font-size: 48px;
619
- color: var(--hsk-primary);
620
- display: flex;
621
- align-items: center;
622
- animation: hsk-sparkle-spin 4s linear infinite;
612
+ .hsk-cb-hello {
613
+ margin: 0;
614
+ font-size: clamp(30px, 6.5vw, 48px);
615
+ font-weight: 400;
616
+ line-height: 1.04;
617
+ letter-spacing: -0.025em;
618
+ color: var(--hsk-chat-text, #111);
623
619
  }
624
- .hsk-cb-empty-logo {
625
- width: 52px;
626
- height: 52px;
620
+ .hsk-cb-hello b {
621
+ font-weight: 600;
627
622
  color: var(--hsk-primary, #ff6a33);
628
623
  }
629
- .hsk-cb-empty-logo .hsk-brand-mark {
630
- width: 100%;
631
- height: 100%;
632
- fill: currentColor;
633
- }
634
- .hsk-cb-empty-title {
635
- font-size: 26px;
636
- font-weight: 500;
637
- color: var(--hsk-chat-text, #111);
638
- letter-spacing: -.02em;
639
- }
640
- .hsk-cb-empty-sub {
641
- font-size: 14px;
624
+ .hsk-cb-hello-lead {
625
+ margin: 0;
626
+ font-size: 16px;
627
+ line-height: 1.6;
642
628
  color: var(--hsk-chat-muted, #5f6368);
643
- line-height: 1.7;
644
- max-width: 380px;
645
- }
646
- .hsk-cb-onboard-title {
647
- font-size: 34px;
648
- font-weight: 600;
649
- letter-spacing: -.03em;
629
+ max-width: 34ch;
650
630
  }
651
- .hsk-cb-onboard-ask {
631
+ .hsk-cb-hello-ask {
632
+ margin: 6px 0 0;
652
633
  font-size: 17px;
653
634
  font-weight: 500;
654
635
  color: var(--hsk-chat-text, #111);
655
- margin-top: 4px;
656
636
  }
657
- .hsk-cb-onboard-skip {
658
- margin-top: 2px;
659
- padding: 4px 10px;
660
- font-size: 12.5px;
637
+ .hsk-cb-hello-skip {
638
+ padding: 0;
639
+ font-size: 13px;
661
640
  color: var(--hsk-chat-muted, #888);
662
641
  background: transparent;
663
642
  border: none;
@@ -665,14 +644,56 @@
665
644
  text-decoration: underline;
666
645
  text-underline-offset: 3px;
667
646
  }
668
- .hsk-cb-onboard-skip:hover {
647
+ .hsk-cb-hello-skip:hover {
669
648
  color: var(--hsk-chat-text, #111);
670
649
  }
650
+ @keyframes hsk-hello-rise {
651
+ from {
652
+ opacity: 0;
653
+ transform: translateY(16px);
654
+ filter: blur(10px);
655
+ }
656
+ to {
657
+ opacity: 1;
658
+ transform: translateY(0);
659
+ filter: blur(0);
660
+ }
661
+ }
662
+ .hsk-cb-hello,
663
+ .hsk-cb-hello-lead,
664
+ .hsk-cb-hello-ask,
665
+ .hsk-cb-hello-skip {
666
+ opacity: 0;
667
+ animation: hsk-hello-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
668
+ }
669
+ .hsk-cb-hello {
670
+ animation-delay: 0.06s;
671
+ }
672
+ .hsk-cb-hello-lead {
673
+ animation-delay: 0.26s;
674
+ }
675
+ .hsk-cb-hello-ask {
676
+ animation-delay: 0.44s;
677
+ }
678
+ .hsk-cb-hello-skip {
679
+ animation-delay: 0.60s;
680
+ }
681
+ @media (prefers-reduced-motion: reduce) {
682
+ .hsk-cb-hello,
683
+ .hsk-cb-hello-lead,
684
+ .hsk-cb-hello-ask,
685
+ .hsk-cb-hello-skip {
686
+ animation: none;
687
+ opacity: 1;
688
+ transform: none;
689
+ filter: none;
690
+ }
691
+ }
671
692
  .hsk-cb-chips {
672
693
  display: flex;
673
694
  flex-wrap: wrap;
674
695
  gap: 8px;
675
- justify-content: center;
696
+ justify-content: flex-start;
676
697
  margin-top: 4px;
677
698
  }
678
699
  .hsk-cb-chip {
@@ -1372,6 +1393,69 @@
1372
1393
  color: #ef4444;
1373
1394
  font-size: 13px;
1374
1395
  }
1396
+ .hsk-cb-memory-pill {
1397
+ display: inline-flex;
1398
+ align-items: center;
1399
+ gap: 7px;
1400
+ align-self: flex-start;
1401
+ margin: 4px 0 10px;
1402
+ padding: 9px 14px;
1403
+ font-size: 13px;
1404
+ font-weight: 600;
1405
+ text-decoration: none;
1406
+ color: #fff;
1407
+ background: var(--hsk-primary, #ff6a33);
1408
+ border: none;
1409
+ border-radius: var(--hsk-border-radius, 0px);
1410
+ transition: opacity .15s;
1411
+ }
1412
+ .hsk-cb-memory-pill:hover {
1413
+ opacity: .88;
1414
+ }
1415
+ .hsk-cb-think {
1416
+ margin-bottom: 10px;
1417
+ font-size: 12.5px;
1418
+ }
1419
+ .hsk-cb-think-head {
1420
+ display: inline-flex;
1421
+ align-items: center;
1422
+ gap: 6px;
1423
+ padding: 0;
1424
+ border: none;
1425
+ background: none;
1426
+ font: inherit;
1427
+ font-weight: 500;
1428
+ color: var(--hsk-chat-muted, #888);
1429
+ cursor: pointer;
1430
+ user-select: none;
1431
+ }
1432
+ .hsk-cb-think-head:hover {
1433
+ color: var(--hsk-chat-text, #111);
1434
+ }
1435
+ .hsk-cb-think-spin {
1436
+ animation: hsk-think-spin 3s linear infinite;
1437
+ }
1438
+ @keyframes hsk-think-spin {
1439
+ to {
1440
+ transform: rotate(360deg);
1441
+ }
1442
+ }
1443
+ .hsk-cb-think-chevron {
1444
+ font-size: 9px;
1445
+ transition: transform .12s;
1446
+ }
1447
+ .hsk-cb-think-chevron--open {
1448
+ transform: rotate(90deg);
1449
+ }
1450
+ .hsk-cb-think-body {
1451
+ margin-top: 6px;
1452
+ padding: 8px 10px;
1453
+ border-left: 2px solid var(--hsk-chat-border, rgba(128,128,128,.25));
1454
+ color: var(--hsk-chat-muted, #666);
1455
+ white-space: pre-wrap;
1456
+ line-height: 1.45;
1457
+ font-style: italic;
1458
+ }
1375
1459
  .hsk-cb-stopped {
1376
1460
  display: flex;
1377
1461
  align-items: center;
@@ -1435,10 +1519,13 @@
1435
1519
  border-color: rgba(255, 255, 255, .07);
1436
1520
  color: #888;
1437
1521
  }
1438
- .hsk-cb-empty-title {
1522
+ .hsk-cb-hello {
1439
1523
  color: #f0efed;
1440
1524
  }
1441
- .hsk-cb-empty-sub {
1525
+ .hsk-cb-hello-ask {
1526
+ color: #f0efed;
1527
+ }
1528
+ .hsk-cb-hello-lead {
1442
1529
  color: #888;
1443
1530
  }
1444
1531
  .hsk-cb-chip {
@@ -2515,38 +2602,45 @@
2515
2602
  }
2516
2603
  .hsk-cb-phone-label {
2517
2604
  font-size: 0.875rem;
2518
- color: var(--hsk-text, inherit);
2605
+ color: var(--hsk-chat-text, #111);
2519
2606
  margin: 0;
2520
2607
  }
2521
2608
  .hsk-cb-phone-input {
2522
2609
  width: 100%;
2523
2610
  box-sizing: border-box;
2524
2611
  padding: 8px 12px;
2525
- border: 1px solid var(--hsk-border, #e4e4e7);
2526
- border-radius: var(--hsk-radius, 8px);
2527
- background: var(--hsk-bg, #fff);
2528
- color: var(--hsk-text, inherit);
2612
+ border: 1px solid var(--hsk-chat-divide, rgba(0,0,0,.12));
2613
+ border-radius: var(--hsk-border-radius, 0px);
2614
+ background: var(--hsk-chat-input-bg, rgba(0,0,0,.04));
2615
+ color: var(--hsk-chat-text, #111);
2529
2616
  font-size: 0.9rem;
2530
2617
  outline: none;
2531
2618
  transition: border-color 0.15s;
2532
2619
  }
2620
+ .hsk-cb-phone-input::placeholder {
2621
+ color: var(--hsk-chat-muted, #888);
2622
+ }
2533
2623
  .hsk-cb-phone-input:focus {
2534
- border-color: var(--hsk-primary, #6366f1);
2624
+ border-color: var(--hsk-primary, #ff6a33);
2535
2625
  }
2536
2626
  .hsk-cb-phone-submit {
2537
2627
  align-self: flex-start;
2538
2628
  padding: 8px 16px;
2539
- border: 1px solid var(--hsk-border, #e4e4e7);
2540
- border-radius: var(--hsk-radius, 8px);
2541
- background: var(--hsk-bg, #fff);
2542
- color: var(--hsk-text, inherit);
2629
+ border: 1px solid var(--hsk-chat-divide, rgba(0,0,0,.12));
2630
+ border-radius: var(--hsk-border-radius, 0px);
2631
+ background: transparent;
2632
+ color: var(--hsk-chat-text, #111);
2543
2633
  font-size: 0.875rem;
2544
2634
  font-weight: 500;
2545
2635
  cursor: pointer;
2546
- transition: background 0.15s, border-color 0.15s;
2636
+ transition:
2637
+ background 0.15s,
2638
+ border-color 0.15s,
2639
+ color 0.15s;
2547
2640
  }
2548
2641
  .hsk-cb-phone-submit:hover {
2549
- border-color: var(--hsk-primary, #6366f1);
2642
+ border-color: var(--hsk-primary, #ff6a33);
2643
+ color: var(--hsk-primary, #ff6a33);
2550
2644
  }
2551
2645
  .hsk-cb-main {
2552
2646
  flex: 1;