@webless/agent 0.10.4 → 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
@@ -2273,6 +2273,93 @@ summary.agent-transcript__activity-heading::before {
2273
2273
  font-weight: 650;
2274
2274
  }
2275
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
+
2276
2363
  /* src/react/components/ToolResultCard/ToolResultCard.css */
2277
2364
  .tool-result-card {
2278
2365
  display: grid;