@webless/agent 0.10.3 → 0.11.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/embed.css CHANGED
@@ -1687,6 +1687,23 @@ summary.agent-transcript__activity-heading::before {
1687
1687
  color: var(--as-brand);
1688
1688
  font-size: 11px;
1689
1689
  }
1690
+ .message-bubble__text .message-bubble__markdown :where(h1, h2, h3, h4, h5, h6) {
1691
+ margin: 16px 0 8px;
1692
+ padding: 0;
1693
+ color: inherit;
1694
+ font-family: inherit;
1695
+ font-size: 1em;
1696
+ font-style: normal;
1697
+ font-weight: 650;
1698
+ line-height: 1.4;
1699
+ letter-spacing: normal;
1700
+ text-align: start;
1701
+ text-transform: none;
1702
+ overflow-wrap: anywhere;
1703
+ }
1704
+ .message-bubble__text .message-bubble__markdown :where(h1, h2) {
1705
+ font-size: 1.125em;
1706
+ }
1690
1707
  .message-bubble__markdown > :first-child {
1691
1708
  margin-top: 0;
1692
1709
  }
@@ -2256,6 +2273,93 @@ summary.agent-transcript__activity-heading::before {
2256
2273
  font-weight: 650;
2257
2274
  }
2258
2275
 
2276
+ /* src/react/components/LocationConsent/LocationConsent.css */
2277
+ .location-consent {
2278
+ display: flex;
2279
+ align-items: center;
2280
+ justify-content: space-between;
2281
+ flex-wrap: wrap;
2282
+ gap: 12px;
2283
+ padding: 14px 16px;
2284
+ margin-bottom: 10px;
2285
+ border-radius: var(--as-radius-md);
2286
+ background: var(--as-surface-muted);
2287
+ color: var(--as-text);
2288
+ }
2289
+ .location-consent__copy {
2290
+ display: grid;
2291
+ gap: 3px;
2292
+ flex: 1;
2293
+ min-width: 150px;
2294
+ font-size: 12px;
2295
+ }
2296
+ .location-consent__copy strong {
2297
+ font-size: 13px;
2298
+ font-weight: 650;
2299
+ }
2300
+ .location-consent__copy span {
2301
+ color: var(--as-text-muted);
2302
+ }
2303
+ .location-consent__actions {
2304
+ display: flex;
2305
+ align-items: center;
2306
+ gap: 12px;
2307
+ }
2308
+ .location-consent__toggle {
2309
+ appearance: none;
2310
+ width: 42px;
2311
+ height: 26px;
2312
+ padding: 3px;
2313
+ border: 0;
2314
+ border-radius: 30px;
2315
+ background: var(--as-text-subtle);
2316
+ cursor: pointer;
2317
+ }
2318
+ .location-consent__toggle span {
2319
+ display: block;
2320
+ width: 20px;
2321
+ height: 20px;
2322
+ border-radius: 50%;
2323
+ background: var(--as-surface);
2324
+ transition: transform 120ms ease;
2325
+ }
2326
+ .location-consent__toggle[aria-checked=true] {
2327
+ background: var(--as-brand);
2328
+ }
2329
+ .location-consent__toggle[aria-checked=true] span {
2330
+ transform: translateX(16px);
2331
+ }
2332
+ .location-consent__decline {
2333
+ appearance: none;
2334
+ font: inherit;
2335
+ font-size: 12px;
2336
+ color: var(--as-text);
2337
+ background: transparent;
2338
+ border: 1px solid var(--as-border);
2339
+ border-radius: 24px;
2340
+ padding: 8px 12px;
2341
+ cursor: pointer;
2342
+ }
2343
+ .location-consent button:focus-visible {
2344
+ outline: 2px solid var(--as-brand);
2345
+ outline-offset: 3px;
2346
+ }
2347
+ .location-consent button:disabled {
2348
+ cursor: default;
2349
+ opacity: 0.5;
2350
+ }
2351
+ .location-consent__error {
2352
+ flex-basis: 100%;
2353
+ margin: 0;
2354
+ font-size: 12px;
2355
+ color: var(--as-danger);
2356
+ }
2357
+ @media (prefers-reduced-motion: reduce) {
2358
+ .location-consent__toggle span {
2359
+ transition: none;
2360
+ }
2361
+ }
2362
+
2259
2363
  /* src/react/components/ToolResultCard/ToolResultCard.css */
2260
2364
  .tool-result-card {
2261
2365
  display: grid;