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