@webless/agent 0.10.1 → 0.10.3

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,9 +326,13 @@ 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;
330
+ font-style: normal;
331
+ line-height: 1.4;
332
+ }
333
+ .agent-activity-bubble__status--soft {
329
334
  font-weight: 400;
330
335
  font-style: italic;
331
- line-height: 1.4;
332
336
  }
333
337
  .agent-activity-bubble__pulse {
334
338
  position: relative;
@@ -954,22 +958,34 @@ html.webless-agent-page-shift {
954
958
  display: flex;
955
959
  align-items: center;
956
960
  justify-content: space-between;
957
- flex-wrap: wrap;
958
- gap: 4px 12px;
959
- padding: 0 8px;
961
+ flex-wrap: nowrap;
962
+ gap: 8px 10px;
963
+ padding: 0 2px;
960
964
  color: var(--as-text-muted);
961
- font-size: 12px;
965
+ font-size: 11px;
966
+ line-height: 1.25;
967
+ }
968
+ .composer__resume > span {
969
+ min-width: 0;
970
+ flex: 1 1 auto;
971
+ overflow: hidden;
972
+ text-overflow: ellipsis;
973
+ white-space: nowrap;
962
974
  }
963
975
  .composer__resume button {
964
976
  border: none;
965
977
  border-radius: 4px;
966
978
  background: transparent;
967
979
  color: var(--as-text);
968
- padding: 8px 0;
980
+ flex-shrink: 0;
981
+ padding: 4px 0;
969
982
  font: inherit;
983
+ font-size: 11px;
970
984
  font-weight: 600;
985
+ line-height: 1.25;
971
986
  text-decoration: underline;
972
987
  text-underline-offset: 3px;
988
+ white-space: nowrap;
973
989
  cursor: pointer;
974
990
  }
975
991
  .composer__resume button:disabled {
@@ -2584,6 +2600,9 @@ html.webless-agent-page-shift {
2584
2600
  border-top: 1px solid var(--as-hairline);
2585
2601
  background: var(--as-surface);
2586
2602
  }
2603
+ .agent-rail__composer-wrap:has(.composer__resume) {
2604
+ padding-inline: 12px;
2605
+ }
2587
2606
  .agent-rail__overlay {
2588
2607
  position: absolute;
2589
2608
  inset: 0;
@@ -2827,14 +2846,12 @@ html.webless-agent-page-shift {
2827
2846
  }
2828
2847
 
2829
2848
  /* src/react/components/AssistEdgeTab/AssistEdgeTab.css */
2830
- @property --as-tab-beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
2831
2849
  .assist-edge-tab {
2832
2850
  --tab-ink: var(--as-brand);
2833
2851
  --tab-fill: var(--as-surface);
2834
2852
  --tab-line: color-mix(in srgb, var(--as-brand) 32%, var(--as-border));
2835
2853
  --tab-along: 50%;
2836
2854
  --tab-inset: 0px;
2837
- --as-tab-beam: 0deg;
2838
2855
  position: fixed;
2839
2856
  top: auto;
2840
2857
  right: auto;
@@ -2999,9 +3016,9 @@ html.webless-agent-page-shift {
2999
3016
  justify-content: flex-start;
3000
3017
  gap: 11px;
3001
3018
  min-width: 0;
3002
- min-height: 56px;
3003
- padding: 6px 20px 6px 6px;
3004
- border-radius: 999px;
3019
+ min-height: 0;
3020
+ padding: 12px 20px 12px 12px;
3021
+ border-radius: 48px;
3005
3022
  transform: translateX(-50%) translateY(calc(100% + 18px));
3006
3023
  }
3007
3024
  .assist-edge-tab--bottom.is-visible {
@@ -3065,6 +3082,16 @@ html.webless-agent-page-shift {
3065
3082
  .assist-edge-tab--ask.assist-edge-tab--left {
3066
3083
  border-radius: 0 18px 18px 0;
3067
3084
  }
3085
+ .assist-edge-tab--ask.assist-edge-tab--bottom,
3086
+ .assist-edge-tab--ask.assist-edge-tab--mobile,
3087
+ .assist-edge-tab--fill.assist-edge-tab--bottom,
3088
+ .assist-edge-tab--fill.assist-edge-tab--mobile,
3089
+ .assist-edge-tab--outline.assist-edge-tab--bottom,
3090
+ .assist-edge-tab--outline.assist-edge-tab--mobile {
3091
+ --tab-fill: #ffffff;
3092
+ background-color: #ffffff;
3093
+ background-image: none;
3094
+ }
3068
3095
  .assist-edge-tab--fill {
3069
3096
  --tab-fill: var(--as-brand);
3070
3097
  --tab-ink: #fff;
@@ -3079,49 +3106,27 @@ html.webless-agent-page-shift {
3079
3106
  .webless-agent-root > .assist-edge-tab.assist-edge-tab--mobile,
3080
3107
  .assist-edge-tab.assist-edge-tab--bottom,
3081
3108
  .assist-edge-tab.assist-edge-tab--mobile {
3082
- isolation: isolate;
3083
3109
  box-sizing: border-box;
3084
3110
  color-scheme: light;
3085
3111
  --tab-fill: #ffffff;
3086
- --tab-ink: #171717;
3112
+ --tab-ink: #1f2937;
3087
3113
  --tab-line: transparent;
3088
- --pill-brand: var(--as-brand, #6f16ff);
3114
+ --pill-brand: var(--as-brand, #6366f1);
3089
3115
  --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;
3116
+ --pill-title: #1f2937;
3117
+ --pill-subtitle: #9ca3af;
3118
+ --pill-glow-strong: color-mix(in srgb, var(--pill-brand) 40%, transparent);
3119
+ --pill-glow-soft: color-mix(in srgb, var(--pill-brand) 10%, transparent);
3120
+ --pill-glow-shadow: color-mix(in srgb, var(--pill-brand) 15%, transparent);
3121
+ --pill-orb-end: color-mix(in srgb, var(--pill-brand) 45%, #3b82f6);
3122
+ gap: 12px;
3123
+ border: 1.5px solid var(--pill-brand);
3124
+ background-color: #ffffff;
3125
+ background-image: none;
3114
3126
  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%);
3127
+ box-shadow: 0 0 0 0 var(--pill-glow-strong), 0 4px 20px var(--pill-glow-shadow);
3128
+ transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
3129
+ animation: assist-edge-tab-border-flow 2s ease-in-out infinite;
3125
3130
  }
3126
3131
  .assist-edge-tab--bottom .assist-edge-tab__text,
3127
3132
  .assist-edge-tab--mobile .assist-edge-tab__text {
@@ -3133,99 +3138,51 @@ html.webless-agent-page-shift {
3133
3138
  .assist-edge-tab--bottom .assist-edge-tab__label,
3134
3139
  .assist-edge-tab--mobile .assist-edge-tab__label {
3135
3140
  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
+ font-size: 13px;
3142
+ font-weight: 600;
3143
+ letter-spacing: 0;
3144
+ line-height: 1;
3145
+ color: var(--pill-title);
3141
3146
  }
3142
3147
  .assist-edge-tab--bottom .assist-edge-tab__sublabel,
3143
3148
  .assist-edge-tab--mobile .assist-edge-tab__sublabel {
3144
3149
  max-width: none;
3145
3150
  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
+ font-size: 11px;
3152
+ font-weight: 400;
3153
+ letter-spacing: 0;
3154
+ line-height: 1;
3155
+ color: var(--pill-subtitle);
3151
3156
  }
3152
3157
  .assist-edge-tab--bottom:not(:has(.assist-edge-tab__sublabel)) .assist-edge-tab__label,
3153
3158
  .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;
3159
+ font-size: 13px;
3160
+ font-weight: 600;
3157
3161
  color: var(--pill-title);
3158
3162
  }
3159
3163
  .assist-edge-tab__mark--chip {
3160
- isolation: isolate;
3161
3164
  overflow: hidden;
3162
3165
  width: 36px;
3163
3166
  height: 36px;
3164
3167
  flex-basis: 36px;
3165
3168
  border: none;
3166
3169
  border-radius: 50%;
3167
- box-shadow: none;
3168
3170
  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;
3171
+ linear-gradient(
3172
+ 135deg,
3173
+ var(--pill-brand) 0%,
3174
+ var(--pill-orb-end) 100%);
3175
+ color: #ffffff;
3176
+ box-shadow: none;
3222
3177
  }
3223
3178
  .assist-edge-tab__mark--chip > svg,
3224
3179
  .assist-edge-tab__mark--chip > .assist-edge-tab__custom-icon,
3225
3180
  .assist-edge-tab__mark--chip > .assist-edge-tab__logo {
3226
3181
  position: relative;
3227
- z-index: 2;
3228
- filter: drop-shadow(0 0.5px 0 rgb(255 255 255 / 45%));
3182
+ z-index: 1;
3183
+ }
3184
+ .assist-edge-tab__mark--chip > .assist-edge-tab__chat-spark {
3185
+ color: #ffffff;
3229
3186
  }
3230
3187
  .assist-edge-tab svg.assist-edge-tab__chat-spark .assist-edge-tab__spark {
3231
3188
  transform-box: fill-box;
@@ -3236,14 +3193,12 @@ html.webless-agent-page-shift {
3236
3193
  animation-duration: 4.2s;
3237
3194
  animation-delay: -1.4s;
3238
3195
  }
3239
- @keyframes assist-edge-tab-beam {
3240
- to {
3241
- --as-tab-beam: 360deg;
3196
+ @keyframes assist-edge-tab-border-flow {
3197
+ 0%, 100% {
3198
+ box-shadow: 0 0 0 0 var(--pill-glow-strong), 0 4px 20px var(--pill-glow-shadow);
3242
3199
  }
3243
- }
3244
- @keyframes assist-edge-tab-spin {
3245
- to {
3246
- transform: rotate(360deg);
3200
+ 50% {
3201
+ box-shadow: 0 0 0 6px var(--pill-glow-soft), 0 4px 20px var(--pill-glow-shadow);
3247
3202
  }
3248
3203
  }
3249
3204
  @keyframes assist-edge-tab-twinkle {
@@ -3292,18 +3247,20 @@ html.webless-agent-page-shift {
3292
3247
  min-width: 0;
3293
3248
  max-width: min(240px, calc(100vw - 28px));
3294
3249
  height: auto;
3295
- min-height: 54px;
3296
- padding: 6px 16px 6px 6px;
3250
+ min-height: 0;
3251
+ padding: 12px 16px 12px 12px;
3297
3252
  flex-direction: row;
3298
3253
  justify-content: flex-start;
3299
3254
  gap: 10px;
3300
3255
  border-radius: 999px;
3301
3256
  transform: translateY(calc(100% + 24px));
3302
3257
  }
3303
- .assist-edge-tab--mobile.is-visible,
3304
- .assist-edge-tab--mobile.is-visible:hover {
3258
+ .assist-edge-tab--mobile.is-visible {
3305
3259
  transform: translateY(0);
3306
3260
  }
3261
+ .assist-edge-tab--mobile.is-visible:hover {
3262
+ transform: translateY(-2px);
3263
+ }
3307
3264
  .assist-edge-tab--mobile .assist-edge-tab__mark {
3308
3265
  width: 34px;
3309
3266
  height: 34px;
@@ -3334,7 +3291,6 @@ html.webless-agent-page-shift {
3334
3291
  }
3335
3292
  .assist-edge-tab.assist-edge-tab--bottom,
3336
3293
  .assist-edge-tab.assist-edge-tab--mobile,
3337
- .assist-edge-tab .assist-edge-tab__wash,
3338
3294
  .assist-edge-tab .assist-edge-tab__spark {
3339
3295
  animation: none;
3340
3296
  }