@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/README.md +11 -0
- package/dist/{chunk-74CSWSC5.js → chunk-NW37MHU7.js} +353 -186
- package/dist/chunk-NW37MHU7.js.map +1 -0
- package/dist/embed.cjs +351 -184
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.css +87 -0
- package/dist/embed.css.map +1 -1
- package/dist/embed.js +1 -1
- package/dist/index.cjs +20 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +20 -9
- package/dist/index.js.map +1 -1
- package/dist/presentation.cjs +3 -0
- package/dist/presentation.cjs.map +1 -1
- package/dist/presentation.d.cts +1 -1
- package/dist/presentation.d.ts +1 -1
- package/dist/presentation.js +3 -0
- package/dist/presentation.js.map +1 -1
- package/dist/react.cjs +369 -202
- package/dist/react.cjs.map +1 -1
- package/dist/react.css +87 -0
- package/dist/react.css.map +1 -1
- package/dist/react.js +1 -1
- package/dist/{types-sLEIYDqm.d.cts → types-B2j6hbI5.d.cts} +2 -0
- package/dist/{types-sLEIYDqm.d.ts → types-B2j6hbI5.d.ts} +2 -0
- package/package.json +1 -1
- package/dist/chunk-74CSWSC5.js.map +0 -1
package/dist/react.css
CHANGED
|
@@ -2175,6 +2175,93 @@ html.webless-agent-page-shift {
|
|
|
2175
2175
|
font-weight: 650;
|
|
2176
2176
|
}
|
|
2177
2177
|
|
|
2178
|
+
/* src/react/components/LocationConsent/LocationConsent.css */
|
|
2179
|
+
.location-consent {
|
|
2180
|
+
display: flex;
|
|
2181
|
+
align-items: center;
|
|
2182
|
+
justify-content: space-between;
|
|
2183
|
+
flex-wrap: wrap;
|
|
2184
|
+
gap: 12px;
|
|
2185
|
+
padding: 14px 16px;
|
|
2186
|
+
margin-bottom: 10px;
|
|
2187
|
+
border-radius: var(--as-radius-md);
|
|
2188
|
+
background: var(--as-surface-muted);
|
|
2189
|
+
color: var(--as-text);
|
|
2190
|
+
}
|
|
2191
|
+
.location-consent__copy {
|
|
2192
|
+
display: grid;
|
|
2193
|
+
gap: 3px;
|
|
2194
|
+
flex: 1;
|
|
2195
|
+
min-width: 150px;
|
|
2196
|
+
font-size: 12px;
|
|
2197
|
+
}
|
|
2198
|
+
.location-consent__copy strong {
|
|
2199
|
+
font-size: 13px;
|
|
2200
|
+
font-weight: 650;
|
|
2201
|
+
}
|
|
2202
|
+
.location-consent__copy span {
|
|
2203
|
+
color: var(--as-text-muted);
|
|
2204
|
+
}
|
|
2205
|
+
.location-consent__actions {
|
|
2206
|
+
display: flex;
|
|
2207
|
+
align-items: center;
|
|
2208
|
+
gap: 12px;
|
|
2209
|
+
}
|
|
2210
|
+
.location-consent__toggle {
|
|
2211
|
+
appearance: none;
|
|
2212
|
+
width: 42px;
|
|
2213
|
+
height: 26px;
|
|
2214
|
+
padding: 3px;
|
|
2215
|
+
border: 0;
|
|
2216
|
+
border-radius: 30px;
|
|
2217
|
+
background: var(--as-text-subtle);
|
|
2218
|
+
cursor: pointer;
|
|
2219
|
+
}
|
|
2220
|
+
.location-consent__toggle span {
|
|
2221
|
+
display: block;
|
|
2222
|
+
width: 20px;
|
|
2223
|
+
height: 20px;
|
|
2224
|
+
border-radius: 50%;
|
|
2225
|
+
background: var(--as-surface);
|
|
2226
|
+
transition: transform 120ms ease;
|
|
2227
|
+
}
|
|
2228
|
+
.location-consent__toggle[aria-checked=true] {
|
|
2229
|
+
background: var(--as-brand);
|
|
2230
|
+
}
|
|
2231
|
+
.location-consent__toggle[aria-checked=true] span {
|
|
2232
|
+
transform: translateX(16px);
|
|
2233
|
+
}
|
|
2234
|
+
.location-consent__decline {
|
|
2235
|
+
appearance: none;
|
|
2236
|
+
font: inherit;
|
|
2237
|
+
font-size: 12px;
|
|
2238
|
+
color: var(--as-text);
|
|
2239
|
+
background: transparent;
|
|
2240
|
+
border: 1px solid var(--as-border);
|
|
2241
|
+
border-radius: 24px;
|
|
2242
|
+
padding: 8px 12px;
|
|
2243
|
+
cursor: pointer;
|
|
2244
|
+
}
|
|
2245
|
+
.location-consent button:focus-visible {
|
|
2246
|
+
outline: 2px solid var(--as-brand);
|
|
2247
|
+
outline-offset: 3px;
|
|
2248
|
+
}
|
|
2249
|
+
.location-consent button:disabled {
|
|
2250
|
+
cursor: default;
|
|
2251
|
+
opacity: 0.5;
|
|
2252
|
+
}
|
|
2253
|
+
.location-consent__error {
|
|
2254
|
+
flex-basis: 100%;
|
|
2255
|
+
margin: 0;
|
|
2256
|
+
font-size: 12px;
|
|
2257
|
+
color: var(--as-danger);
|
|
2258
|
+
}
|
|
2259
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2260
|
+
.location-consent__toggle span {
|
|
2261
|
+
transition: none;
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2178
2265
|
/* src/react/components/ToolResultCard/ToolResultCard.css */
|
|
2179
2266
|
.tool-result-card {
|
|
2180
2267
|
display: grid;
|