@webless/agent 0.9.3 → 0.10.1

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/react.css CHANGED
@@ -326,7 +326,8 @@ html.webless-agent-page-shift {
326
326
  margin: 0;
327
327
  color: var(--as-text-muted);
328
328
  font-size: 12.5px;
329
- font-weight: 650;
329
+ font-weight: 400;
330
+ font-style: italic;
330
331
  line-height: 1.4;
331
332
  }
332
333
  .agent-activity-bubble__pulse {
@@ -721,6 +722,10 @@ html.webless-agent-page-shift {
721
722
  width: 14px;
722
723
  height: 14px;
723
724
  }
725
+ .composer__send:focus-visible {
726
+ outline: 2px solid var(--as-brand);
727
+ outline-offset: 2px;
728
+ }
724
729
  .composer--dock .composer__field {
725
730
  align-items: center;
726
731
  padding: 5px 5px 5px 14px;
@@ -751,83 +756,181 @@ html.webless-agent-page-shift {
751
756
  max-height: min(560px, calc(100dvh - 160px));
752
757
  flex-direction: column;
753
758
  overflow: hidden;
754
- border: 1px solid var(--as-control-border, color-mix(in srgb, var(--as-text) 14%, transparent));
759
+ border: 1px solid transparent;
755
760
  border-radius: 22px;
756
- background: var(--as-surface);
761
+ background:
762
+ linear-gradient(var(--as-surface), var(--as-surface)) padding-box,
763
+ linear-gradient(
764
+ 135deg,
765
+ color-mix(in srgb, var(--as-brand) 42%, transparent) 0%,
766
+ color-mix(in srgb, var(--as-brand) 10%, transparent) 38%,
767
+ color-mix(in srgb, var(--as-text) 10%, transparent) 62%,
768
+ color-mix(in srgb, var(--as-brand) 26%, transparent) 100%) border-box;
757
769
  box-shadow: 0 1px 2px color-mix(in srgb, var(--as-text) 5%, transparent);
758
770
  animation: composer-form-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
759
771
  }
760
772
  .composer--form .composer__sheet:focus-within {
761
- border-color: color-mix(in srgb, var(--as-brand) 42%, var(--as-border));
762
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-brand) 10%, transparent);
773
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-brand) 10%, transparent), 0 1px 2px color-mix(in srgb, var(--as-text) 5%, transparent);
774
+ }
775
+ .composer__form-heading {
776
+ display: flex;
777
+ align-items: center;
778
+ flex-shrink: 0;
779
+ gap: 8px;
780
+ padding: 11px 12px 7px 16px;
781
+ font-size: 13px;
782
+ color: var(--as-text);
783
+ }
784
+ .composer__form-heading > span {
785
+ margin-left: auto;
786
+ font-size: 11px;
787
+ color: var(--as-text-muted);
788
+ background: var(--as-surface-muted);
789
+ border-radius: 5px;
790
+ padding: 3px 7px;
791
+ }
792
+ .composer__collapse {
793
+ appearance: none;
794
+ display: grid;
795
+ place-items: center;
796
+ width: 26px;
797
+ height: 26px;
798
+ border: none;
799
+ border-radius: 999px;
800
+ background: transparent;
801
+ color: var(--as-text-muted);
802
+ cursor: pointer;
803
+ }
804
+ .composer__collapse:hover:not(:disabled) {
805
+ background: var(--as-surface-muted);
806
+ color: var(--as-text);
807
+ }
808
+ .composer__collapse:focus-visible {
809
+ outline: 2px solid var(--as-brand);
810
+ outline-offset: 1px;
811
+ }
812
+ .composer__collapse:disabled {
813
+ opacity: 0.45;
814
+ cursor: not-allowed;
815
+ }
816
+ .composer__collapse svg {
817
+ width: 14px;
818
+ height: 14px;
819
+ }
820
+ .composer__fields {
821
+ min-height: 0;
822
+ overflow-y: auto;
823
+ overscroll-behavior: contain;
824
+ padding-bottom: 4px;
763
825
  }
764
826
  .composer__row {
765
- padding: 0 16px 12px;
827
+ padding: 2px 16px;
766
828
  }
767
- .composer__row--grow {
768
- padding-bottom: 8px;
829
+ .composer__row:not(:last-child) {
830
+ border-bottom: 1px solid color-mix(in srgb, var(--as-text) 7%, transparent);
769
831
  }
770
- .composer__label {
771
- display: block;
772
- min-width: 0;
832
+ .composer__line {
833
+ display: flex;
834
+ align-items: center;
835
+ gap: 10px;
836
+ min-height: 38px;
773
837
  }
774
- .composer__sr-only {
775
- position: absolute;
776
- width: 1px;
777
- height: 1px;
778
- padding: 0;
779
- margin: -1px;
780
- overflow: hidden;
781
- clip: rect(0, 0, 0, 0);
782
- white-space: nowrap;
783
- border: 0;
838
+ .composer__line:focus-within .composer__label {
839
+ color: var(--as-brand);
840
+ }
841
+ .composer__label {
842
+ flex: 0 0 auto;
843
+ min-width: 84px;
844
+ font-size: 13px;
845
+ font-weight: 500;
846
+ color: var(--as-text);
847
+ cursor: text;
784
848
  }
785
849
  .composer__control {
786
- display: block;
787
- width: 100%;
850
+ flex: 1;
788
851
  min-width: 0;
789
- border: 1px solid var(--as-control-border, var(--as-border));
790
- border-radius: 10px;
852
+ border: none;
791
853
  background: transparent;
792
- padding: 10px 12px;
854
+ padding: 6px 0;
793
855
  color: var(--as-text);
794
856
  font: inherit;
795
- font-size: 14px;
857
+ font-size: 13px;
796
858
  line-height: 1.45;
859
+ text-align: right;
860
+ }
861
+ .composer__control:focus {
862
+ outline: none;
863
+ }
864
+ .composer__control::placeholder {
865
+ color: color-mix(in srgb, var(--as-text) 55%, transparent);
797
866
  }
798
867
  .composer__control--area {
799
868
  resize: none;
800
- min-height: 72px;
869
+ min-height: 48px;
801
870
  field-sizing: content;
802
- max-height: 140px;
871
+ max-height: 120px;
872
+ text-align: left;
803
873
  }
804
- .composer__control::placeholder {
805
- color: color-mix(in srgb, var(--as-text) 62%, transparent);
874
+ .composer__row--area .composer__line {
875
+ flex-direction: column;
876
+ align-items: stretch;
877
+ gap: 0;
878
+ padding: 4px 0;
806
879
  }
807
- .composer__control:focus {
808
- outline: 2px solid var(--as-brand);
809
- outline-offset: 1px;
880
+ .composer__row--area .composer__label {
881
+ min-width: 0;
882
+ }
883
+ .composer__check {
884
+ flex: 0 0 auto;
885
+ display: grid;
886
+ place-items: center;
887
+ width: 18px;
888
+ height: 18px;
889
+ border-radius: 999px;
890
+ background: var(--as-success);
891
+ color: var(--as-surface);
892
+ }
893
+ .composer__check svg {
894
+ width: 11px;
895
+ height: 11px;
810
896
  }
811
897
  .composer__error {
812
- margin: 6px 0 0;
898
+ margin: 0;
899
+ padding: 0 0 7px;
813
900
  color: var(--as-danger);
814
901
  font-size: 12px;
815
902
  line-height: 1.35;
816
903
  }
817
- .composer__toolbar {
818
- display: flex;
819
- align-items: center;
820
- flex-wrap: wrap;
821
- gap: 8px;
822
- padding: 2px 16px 16px;
904
+ .composer__sr-only {
905
+ position: absolute;
906
+ width: 1px;
907
+ height: 1px;
908
+ padding: 0;
909
+ margin: -1px;
910
+ overflow: hidden;
911
+ clip: rect(0, 0, 0, 0);
912
+ white-space: nowrap;
913
+ border: 0;
823
914
  }
824
- .composer__send:focus-visible {
825
- outline: 2px solid var(--as-brand);
826
- outline-offset: 2px;
915
+ .composer--form .composer__field--inset {
916
+ flex-shrink: 0;
917
+ border: none;
918
+ border-top: 1px solid color-mix(in srgb, var(--as-text) 8%, transparent);
919
+ border-radius: 0;
920
+ background: transparent;
921
+ box-shadow: none;
922
+ }
923
+ .composer--form .composer__field--inset:focus-within {
924
+ border-top-color: color-mix(in srgb, var(--as-text) 8%, transparent);
925
+ box-shadow: none;
827
926
  }
828
927
  .composer--form .composer__send {
829
- width: 36px;
830
- height: 36px;
928
+ width: 32px;
929
+ height: 32px;
930
+ }
931
+ .composer--dock.composer--form .composer__send {
932
+ width: 40px;
933
+ height: 40px;
831
934
  }
832
935
  @keyframes composer-form-in {
833
936
  from {
@@ -847,70 +950,6 @@ html.webless-agent-page-shift {
847
950
  transition: none;
848
951
  }
849
952
  }
850
- .composer--dock.composer--form .composer__control {
851
- font-size: 15px;
852
- }
853
- .composer--dock.composer--form .composer__send {
854
- width: 44px;
855
- height: 44px;
856
- }
857
- .composer__form-heading {
858
- display: flex;
859
- align-items: center;
860
- flex-wrap: wrap;
861
- gap: 8px;
862
- padding: 16px 16px 14px;
863
- font-size: 14px;
864
- color: var(--as-text);
865
- }
866
- .composer__form-heading > span {
867
- margin-left: auto;
868
- font-size: 11px;
869
- color: var(--as-text-muted);
870
- background: var(--as-surface-muted);
871
- border-radius: 5px;
872
- padding: 3px 7px;
873
- }
874
- .composer__form-heading > p {
875
- flex-basis: 100%;
876
- margin: 0;
877
- font-size: 12px;
878
- color: var(--as-text-muted);
879
- }
880
- .composer__field-label {
881
- display: block;
882
- margin-bottom: 5px;
883
- font-size: 12px;
884
- font-weight: 600;
885
- color: var(--as-text);
886
- }
887
- .composer__action {
888
- flex: 1 1 140px;
889
- min-width: 0;
890
- min-height: 42px;
891
- padding: 9px 12px;
892
- border: 1px solid var(--as-control-border, var(--as-border));
893
- border-radius: 10px;
894
- background: var(--as-surface);
895
- color: var(--as-text);
896
- font: inherit;
897
- font-size: 13px;
898
- font-weight: 600;
899
- cursor: pointer;
900
- }
901
- .composer__action--primary {
902
- border-color: var(--as-brand);
903
- background: var(--as-brand);
904
- color: var(--as-on-brand, var(--as-surface));
905
- }
906
- .composer__action:hover:not(:disabled) {
907
- filter: brightness(0.96);
908
- }
909
- .composer__action:focus-visible,
910
- .composer__resume button:focus-visible {
911
- outline: 2px solid var(--as-brand);
912
- outline-offset: 2px;
913
- }
914
953
  .composer__resume {
915
954
  display: flex;
916
955
  align-items: center;
@@ -933,19 +972,13 @@ html.webless-agent-page-shift {
933
972
  text-underline-offset: 3px;
934
973
  cursor: pointer;
935
974
  }
936
- .composer__resume button:disabled,
937
- .composer__action:disabled {
975
+ .composer__resume button:disabled {
938
976
  opacity: 0.45;
939
977
  cursor: not-allowed;
940
978
  }
941
- .composer__fields {
942
- min-height: 0;
943
- overflow-y: auto;
944
- overscroll-behavior: contain;
945
- }
946
- .composer__form-heading,
947
- .composer__toolbar {
948
- flex-shrink: 0;
979
+ .composer__resume button:focus-visible {
980
+ outline: 2px solid var(--as-brand);
981
+ outline-offset: 2px;
949
982
  }
950
983
 
951
984
  /* src/react/components/FollowUpChips/FollowUpChips.css */
@@ -2794,12 +2827,14 @@ html.webless-agent-page-shift {
2794
2827
  }
2795
2828
 
2796
2829
  /* src/react/components/AssistEdgeTab/AssistEdgeTab.css */
2830
+ @property --as-tab-beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
2797
2831
  .assist-edge-tab {
2798
2832
  --tab-ink: var(--as-brand);
2799
2833
  --tab-fill: var(--as-surface);
2800
2834
  --tab-line: color-mix(in srgb, var(--as-brand) 32%, var(--as-border));
2801
2835
  --tab-along: 50%;
2802
2836
  --tab-inset: 0px;
2837
+ --as-tab-beam: 0deg;
2803
2838
  position: fixed;
2804
2839
  top: auto;
2805
2840
  right: auto;
@@ -2836,9 +2871,9 @@ html.webless-agent-page-shift {
2836
2871
  height: 16px;
2837
2872
  flex-shrink: 0;
2838
2873
  }
2839
- .assist-edge-tab__sparkles {
2840
- width: 18px;
2841
- height: 16px;
2874
+ .assist-edge-tab svg.assist-edge-tab__chat-spark {
2875
+ width: 21px;
2876
+ height: 21px;
2842
2877
  }
2843
2878
  .assist-edge-tab__mark {
2844
2879
  position: relative;
@@ -2850,13 +2885,22 @@ html.webless-agent-page-shift {
2850
2885
  flex: 0 0 20px;
2851
2886
  }
2852
2887
  .assist-edge-tab__logo {
2888
+ width: 18px;
2889
+ height: 18px;
2890
+ flex-shrink: 0;
2891
+ object-fit: contain;
2892
+ }
2893
+ .assist-edge-tab__mark:not(.assist-edge-tab__mark--chip) .assist-edge-tab__logo {
2853
2894
  position: absolute;
2854
2895
  inset: 0;
2855
2896
  width: 100%;
2856
2897
  height: 100%;
2857
- border-radius: 6px;
2858
- background: var(--tab-fill);
2859
- object-fit: contain;
2898
+ border-radius: inherit;
2899
+ background: var(--pill-orb-from, var(--tab-fill));
2900
+ }
2901
+ .assist-edge-tab__mark--chip > .assist-edge-tab__logo {
2902
+ width: 20px;
2903
+ height: 20px;
2860
2904
  }
2861
2905
  .assist-edge-tab__custom-icon {
2862
2906
  width: 18px;
@@ -2872,6 +2916,24 @@ html.webless-agent-page-shift {
2872
2916
  line-height: 1;
2873
2917
  white-space: nowrap;
2874
2918
  }
2919
+ .assist-edge-tab__text {
2920
+ display: flex;
2921
+ min-width: 0;
2922
+ flex-direction: column;
2923
+ align-items: flex-start;
2924
+ gap: 2px;
2925
+ }
2926
+ .assist-edge-tab__sublabel {
2927
+ max-width: 180px;
2928
+ overflow: hidden;
2929
+ font-family: var(--as-font-display);
2930
+ font-size: 11.5px;
2931
+ font-weight: 500;
2932
+ letter-spacing: 0.01em;
2933
+ line-height: 1.25;
2934
+ text-overflow: ellipsis;
2935
+ white-space: nowrap;
2936
+ }
2875
2937
  .assist-edge-tab--right,
2876
2938
  .assist-edge-tab--left {
2877
2939
  flex-direction: column;
@@ -2887,7 +2949,7 @@ html.webless-agent-page-shift {
2887
2949
  .assist-edge-tab--top,
2888
2950
  .assist-edge-tab--bottom {
2889
2951
  flex-direction: row;
2890
- height: 40px;
2952
+ min-height: 40px;
2891
2953
  min-width: 168px;
2892
2954
  width: auto;
2893
2955
  padding: 0 14px;
@@ -2934,6 +2996,11 @@ html.webless-agent-page-shift {
2934
2996
  .assist-edge-tab--bottom {
2935
2997
  left: var(--tab-along);
2936
2998
  bottom: max(calc(var(--tab-inset) + 24px), env(safe-area-inset-bottom));
2999
+ justify-content: flex-start;
3000
+ gap: 11px;
3001
+ min-width: 0;
3002
+ min-height: 56px;
3003
+ padding: 6px 20px 6px 6px;
2937
3004
  border-radius: 999px;
2938
3005
  transform: translateX(-50%) translateY(calc(100% + 18px));
2939
3006
  }
@@ -2943,6 +3010,9 @@ html.webless-agent-page-shift {
2943
3010
  .assist-edge-tab--bottom.is-visible:hover {
2944
3011
  transform: translateX(-50%) translateY(-2px);
2945
3012
  }
3013
+ .assist-edge-tab--bottom.is-visible:active {
3014
+ transform: translateX(-50%) translateY(0);
3015
+ }
2946
3016
  .assist-edge-tab--bottom.assist-edge-tab--align-start {
2947
3017
  left: max(calc(var(--tab-inset) + 24px), env(safe-area-inset-left));
2948
3018
  transform: translateY(calc(100% + 42px));
@@ -2960,6 +3030,10 @@ html.webless-agent-page-shift {
2960
3030
  .assist-edge-tab--bottom.assist-edge-tab--align-end.is-visible:hover {
2961
3031
  transform: translateY(-2px);
2962
3032
  }
3033
+ .assist-edge-tab--bottom.assist-edge-tab--align-start.is-visible:active,
3034
+ .assist-edge-tab--bottom.assist-edge-tab--align-end.is-visible:active {
3035
+ transform: translateY(0);
3036
+ }
2963
3037
  .assist-edge-tab--outline {
2964
3038
  --tab-fill: color-mix(in srgb, var(--as-surface) 96%, var(--as-text) 4%);
2965
3039
  --tab-line: color-mix(in srgb, var(--as-brand) 42%, var(--as-border));
@@ -2971,8 +3045,7 @@ html.webless-agent-page-shift {
2971
3045
  border-right: 1px solid var(--tab-line);
2972
3046
  border-left: 1px solid var(--tab-line);
2973
3047
  }
2974
- .assist-edge-tab--outline.assist-edge-tab--top,
2975
- .assist-edge-tab--outline.assist-edge-tab--bottom {
3048
+ .assist-edge-tab--outline.assist-edge-tab--top {
2976
3049
  border-radius: 999px;
2977
3050
  border-top: 1px solid var(--tab-line);
2978
3051
  border-bottom: 1px solid var(--tab-line);
@@ -3002,13 +3075,191 @@ html.webless-agent-page-shift {
3002
3075
  .assist-edge-tab--fill.assist-edge-tab--left {
3003
3076
  min-height: 180px;
3004
3077
  }
3078
+ .webless-agent-root > .assist-edge-tab.assist-edge-tab--bottom,
3079
+ .webless-agent-root > .assist-edge-tab.assist-edge-tab--mobile,
3080
+ .assist-edge-tab.assist-edge-tab--bottom,
3081
+ .assist-edge-tab.assist-edge-tab--mobile {
3082
+ isolation: isolate;
3083
+ box-sizing: border-box;
3084
+ color-scheme: light;
3085
+ --tab-fill: #ffffff;
3086
+ --tab-ink: #171717;
3087
+ --tab-line: transparent;
3088
+ --pill-brand: var(--as-brand, #6f16ff);
3089
+ --pill-fill: #ffffff;
3090
+ --pill-label: #5f6673;
3091
+ --pill-title: #171717;
3092
+ --pill-mark: var(--pill-brand);
3093
+ --pill-wash-light: color-mix(in srgb, var(--pill-brand) 24%, #fff);
3094
+ --pill-wash-cool: color-mix(in oklab, var(--pill-brand) 32%, #d4e4ff);
3095
+ --pill-wash-deep: color-mix(in srgb, var(--pill-brand) 38%, #fff);
3096
+ --pill-orb-base: color-mix(in srgb, var(--pill-brand) 30%, #fff);
3097
+ --pill-beam-soft: color-mix(in srgb, var(--pill-brand) 22%, #fff);
3098
+ --pill-beam-mid: color-mix(in srgb, var(--pill-brand) 38%, #fff);
3099
+ --pill-beam-bright: color-mix(in srgb, var(--pill-brand) 54%, #fff);
3100
+ border: 2px solid transparent;
3101
+ background-color: var(--pill-fill);
3102
+ background-image:
3103
+ linear-gradient(var(--pill-fill), var(--pill-fill)),
3104
+ conic-gradient(
3105
+ from var(--as-tab-beam),
3106
+ var(--pill-beam-soft) 0deg,
3107
+ var(--pill-beam-soft) 215deg,
3108
+ var(--pill-beam-mid) 252deg,
3109
+ var(--pill-beam-bright) 278deg,
3110
+ var(--pill-beam-mid) 304deg,
3111
+ var(--pill-beam-soft) 360deg);
3112
+ background-origin: border-box;
3113
+ background-clip: padding-box, border-box;
3114
+ color: var(--pill-title);
3115
+ box-shadow: 0 10px 24px -10px rgb(15 23 42 / 10%), 0 2px 6px rgb(15 23 42 / 4%);
3116
+ transition:
3117
+ transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
3118
+ opacity 220ms ease,
3119
+ box-shadow 180ms ease;
3120
+ animation: assist-edge-tab-beam 9s linear infinite;
3121
+ }
3122
+ .assist-edge-tab.assist-edge-tab--bottom.is-visible:hover,
3123
+ .assist-edge-tab.assist-edge-tab--mobile.is-visible:hover {
3124
+ box-shadow: 0 12px 26px -8px rgb(15 23 42 / 16%), 0 3px 8px rgb(15 23 42 / 6%);
3125
+ }
3126
+ .assist-edge-tab--bottom .assist-edge-tab__text,
3127
+ .assist-edge-tab--mobile .assist-edge-tab__text {
3128
+ gap: 2px;
3129
+ padding-right: 2px;
3130
+ font-family: var(--as-font-body);
3131
+ -webkit-font-smoothing: antialiased;
3132
+ }
3133
+ .assist-edge-tab--bottom .assist-edge-tab__label,
3134
+ .assist-edge-tab--mobile .assist-edge-tab__label {
3135
+ font-family: inherit;
3136
+ font-size: 14px;
3137
+ font-weight: 500;
3138
+ letter-spacing: -0.008em;
3139
+ line-height: 1.25;
3140
+ color: var(--pill-label);
3141
+ }
3142
+ .assist-edge-tab--bottom .assist-edge-tab__sublabel,
3143
+ .assist-edge-tab--mobile .assist-edge-tab__sublabel {
3144
+ max-width: none;
3145
+ font-family: inherit;
3146
+ font-size: 15px;
3147
+ font-weight: 500;
3148
+ letter-spacing: -0.014em;
3149
+ line-height: 1.25;
3150
+ color: var(--pill-title);
3151
+ }
3152
+ .assist-edge-tab--bottom:not(:has(.assist-edge-tab__sublabel)) .assist-edge-tab__label,
3153
+ .assist-edge-tab--mobile:not(:has(.assist-edge-tab__sublabel)) .assist-edge-tab__label {
3154
+ font-size: 15px;
3155
+ font-weight: 500;
3156
+ letter-spacing: -0.012em;
3157
+ color: var(--pill-title);
3158
+ }
3159
+ .assist-edge-tab__mark--chip {
3160
+ isolation: isolate;
3161
+ overflow: hidden;
3162
+ width: 36px;
3163
+ height: 36px;
3164
+ flex-basis: 36px;
3165
+ border: none;
3166
+ border-radius: 50%;
3167
+ box-shadow: none;
3168
+ background:
3169
+ radial-gradient(
3170
+ ellipse 88% 52% at 50% 94%,
3171
+ color-mix(in srgb, var(--pill-brand) 22%, transparent) 0%,
3172
+ transparent 68%),
3173
+ radial-gradient(
3174
+ 120% 100% at 22% 12%,
3175
+ var(--pill-wash-light) 0%,
3176
+ transparent 55%),
3177
+ radial-gradient(
3178
+ 110% 95% at 88% 88%,
3179
+ var(--pill-wash-cool) 0%,
3180
+ transparent 58%),
3181
+ var(--pill-orb-base);
3182
+ color: var(--pill-mark);
3183
+ box-shadow: inset 0 1px 2px rgb(255 255 255 / 28%);
3184
+ }
3185
+ .assist-edge-tab__wash {
3186
+ position: absolute;
3187
+ border-radius: 50%;
3188
+ pointer-events: none;
3189
+ z-index: 0;
3190
+ }
3191
+ .assist-edge-tab__wash--light,
3192
+ .assist-edge-tab__wash--cool {
3193
+ inset: -32%;
3194
+ filter: blur(4px);
3195
+ opacity: 0.85;
3196
+ -webkit-mask:
3197
+ radial-gradient(
3198
+ farthest-side,
3199
+ transparent 40%,
3200
+ #000 58%);
3201
+ mask:
3202
+ radial-gradient(
3203
+ farthest-side,
3204
+ transparent 40%,
3205
+ #000 58%);
3206
+ }
3207
+ .assist-edge-tab__wash--light {
3208
+ background:
3209
+ radial-gradient(
3210
+ closest-side at 16% 50%,
3211
+ var(--pill-wash-light) 0%,
3212
+ transparent 58%);
3213
+ animation: assist-edge-tab-spin 7s linear infinite;
3214
+ }
3215
+ .assist-edge-tab__wash--cool {
3216
+ background:
3217
+ radial-gradient(
3218
+ closest-side at 84% 50%,
3219
+ var(--pill-wash-cool) 0%,
3220
+ transparent 58%);
3221
+ animation: assist-edge-tab-spin 9.5s linear infinite reverse;
3222
+ }
3223
+ .assist-edge-tab__mark--chip > svg,
3224
+ .assist-edge-tab__mark--chip > .assist-edge-tab__custom-icon,
3225
+ .assist-edge-tab__mark--chip > .assist-edge-tab__logo {
3226
+ position: relative;
3227
+ z-index: 2;
3228
+ filter: drop-shadow(0 0.5px 0 rgb(255 255 255 / 45%));
3229
+ }
3230
+ .assist-edge-tab svg.assist-edge-tab__chat-spark .assist-edge-tab__spark {
3231
+ transform-box: fill-box;
3232
+ transform-origin: center;
3233
+ animation: assist-edge-tab-twinkle 3.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
3234
+ }
3235
+ .assist-edge-tab svg.assist-edge-tab__chat-spark .assist-edge-tab__spark--b {
3236
+ animation-duration: 4.2s;
3237
+ animation-delay: -1.4s;
3238
+ }
3239
+ @keyframes assist-edge-tab-beam {
3240
+ to {
3241
+ --as-tab-beam: 360deg;
3242
+ }
3243
+ }
3244
+ @keyframes assist-edge-tab-spin {
3245
+ to {
3246
+ transform: rotate(360deg);
3247
+ }
3248
+ }
3249
+ @keyframes assist-edge-tab-twinkle {
3250
+ 0%, 100% {
3251
+ opacity: 0.7;
3252
+ }
3253
+ 50% {
3254
+ opacity: 1;
3255
+ }
3256
+ }
3005
3257
  .assist-edge-tab__dots {
3006
3258
  display: grid;
3007
3259
  grid-template-columns: repeat(3, 3px);
3008
3260
  gap: 3px;
3009
3261
  }
3010
- .assist-edge-tab--top .assist-edge-tab__dots,
3011
- .assist-edge-tab--bottom .assist-edge-tab__dots {
3262
+ .assist-edge-tab--top .assist-edge-tab__dots {
3012
3263
  grid-template-columns: repeat(4, 3px);
3013
3264
  grid-template-rows: repeat(3, 3px);
3014
3265
  }
@@ -3039,48 +3290,41 @@ html.webless-agent-page-shift {
3039
3290
  left: auto;
3040
3291
  width: auto;
3041
3292
  min-width: 0;
3042
- max-width: min(220px, calc(100vw - 28px));
3043
- height: 48px;
3044
- min-height: 48px;
3045
- padding: 0 17px 0 13px;
3293
+ max-width: min(240px, calc(100vw - 28px));
3294
+ height: auto;
3295
+ min-height: 54px;
3296
+ padding: 6px 16px 6px 6px;
3046
3297
  flex-direction: row;
3047
- justify-content: center;
3048
- gap: 9px;
3049
- border: 1px solid color-mix(in srgb, var(--as-brand) 18%, var(--as-border));
3298
+ justify-content: flex-start;
3299
+ gap: 10px;
3050
3300
  border-radius: 999px;
3051
- background: var(--as-surface);
3052
- color: var(--as-text);
3053
- box-shadow: 0 1px 2px color-mix(in srgb, var(--as-text) 8%, transparent), 0 12px 32px -12px color-mix(in srgb, var(--as-text) 32%, transparent);
3054
3301
  transform: translateY(calc(100% + 24px));
3055
3302
  }
3056
3303
  .assist-edge-tab--mobile.is-visible,
3057
3304
  .assist-edge-tab--mobile.is-visible:hover {
3058
3305
  transform: translateY(0);
3059
3306
  }
3060
- .assist-edge-tab--mobile.is-visible:hover {
3061
- box-shadow: 0 1px 2px color-mix(in srgb, var(--as-text) 8%, transparent), 0 14px 36px -12px color-mix(in srgb, var(--as-text) 38%, transparent);
3062
- }
3063
3307
  .assist-edge-tab--mobile .assist-edge-tab__mark {
3064
- width: 22px;
3065
- height: 22px;
3066
- flex-basis: 22px;
3067
- border-radius: 7px;
3068
- background: var(--as-brand);
3069
- color: var(--as-visitor-text);
3308
+ width: 34px;
3309
+ height: 34px;
3310
+ flex-basis: 34px;
3311
+ border-radius: 50%;
3070
3312
  font-size: 10px;
3071
3313
  font-weight: 750;
3072
3314
  }
3073
3315
  .assist-edge-tab--mobile .assist-edge-tab__label {
3074
3316
  min-width: 0;
3075
3317
  overflow: hidden;
3076
- color: var(--as-text);
3077
- font-size: 14px;
3078
- letter-spacing: -0.01em;
3079
3318
  text-overflow: ellipsis;
3080
3319
  white-space: nowrap;
3081
3320
  writing-mode: initial;
3082
3321
  transform: none;
3083
3322
  }
3323
+ .assist-edge-tab--mobile .assist-edge-tab__sublabel {
3324
+ max-width: min(170px, calc(100vw - 150px));
3325
+ overflow: hidden;
3326
+ text-overflow: ellipsis;
3327
+ }
3084
3328
  }
3085
3329
  @media (prefers-reduced-motion: reduce) {
3086
3330
  .assist-edge-tab,
@@ -3088,6 +3332,12 @@ html.webless-agent-page-shift {
3088
3332
  .assist-edge-tab.is-visible:hover {
3089
3333
  transition: none;
3090
3334
  }
3335
+ .assist-edge-tab.assist-edge-tab--bottom,
3336
+ .assist-edge-tab.assist-edge-tab--mobile,
3337
+ .assist-edge-tab .assist-edge-tab__wash,
3338
+ .assist-edge-tab .assist-edge-tab__spark {
3339
+ animation: none;
3340
+ }
3091
3341
  }
3092
3342
 
3093
3343
  /* src/react/components/AgentTranscript/AgentTranscript.css */