@chatterfly/widget 0.5.0 → 0.6.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.
package/dist/index.css CHANGED
@@ -821,6 +821,42 @@
821
821
  position: relative;
822
822
  min-height: 30%;
823
823
  }
824
+ .widget_toolActivity {
825
+ align-self: center;
826
+ display: inline-flex;
827
+ align-items: center;
828
+ gap: 6px;
829
+ min-height: 24px;
830
+ padding: 3px 9px;
831
+ border: 1px solid var(--cf-color-border);
832
+ border-radius: 999px;
833
+ background: var(--cf-color-surface);
834
+ color: var(--cf-color-text-muted);
835
+ font-size: 12px;
836
+ line-height: 1.25;
837
+ }
838
+ .widget_toolActivityPulse,
839
+ .widget_toolActivityDone {
840
+ width: 7px;
841
+ height: 7px;
842
+ flex: 0 0 7px;
843
+ border-radius: 50%;
844
+ background: var(--cf-color-primary);
845
+ }
846
+ .widget_toolActivityPulse {
847
+ animation: widget_cf-tool-pulse 1.2s ease-in-out infinite;
848
+ }
849
+ .widget_toolActivityDone {
850
+ background: var(--cf-color-success, #15803d);
851
+ }
852
+ @keyframes widget_cf-tool-pulse {
853
+ 0%, 100% {
854
+ opacity: 0.35;
855
+ }
856
+ 50% {
857
+ opacity: 1;
858
+ }
859
+ }
824
860
  .widget_bubbleRow {
825
861
  display: flex;
826
862
  flex-direction: column;
@@ -1434,6 +1470,25 @@
1434
1470
  margin: 0;
1435
1471
  animation: widget_cfVoiceShake 0.4s ease-out;
1436
1472
  }
1473
+ .widget_voiceErrorGroup {
1474
+ display: flex;
1475
+ flex-direction: column;
1476
+ align-items: center;
1477
+ gap: 8px;
1478
+ }
1479
+ .widget_voiceRetryButton {
1480
+ border: 1px solid var(--cf-border);
1481
+ border-radius: 6px;
1482
+ background: var(--cf-input-bg);
1483
+ color: var(--cf-fg);
1484
+ padding: 6px 12px;
1485
+ font: inherit;
1486
+ cursor: pointer;
1487
+ }
1488
+ .widget_voiceRetryButton:focus-visible {
1489
+ outline: 2px solid var(--cf-primary);
1490
+ outline-offset: 2px;
1491
+ }
1437
1492
  .widget_voiceOrbContainer {
1438
1493
  position: sticky;
1439
1494
  top: 0;