@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/react.css CHANGED
@@ -1589,6 +1589,23 @@ html.webless-agent-page-shift {
1589
1589
  color: var(--as-brand);
1590
1590
  font-size: 11px;
1591
1591
  }
1592
+ .message-bubble__text .message-bubble__markdown :where(h1, h2, h3, h4, h5, h6) {
1593
+ margin: 16px 0 8px;
1594
+ padding: 0;
1595
+ color: inherit;
1596
+ font-family: inherit;
1597
+ font-size: 1em;
1598
+ font-style: normal;
1599
+ font-weight: 650;
1600
+ line-height: 1.4;
1601
+ letter-spacing: normal;
1602
+ text-align: start;
1603
+ text-transform: none;
1604
+ overflow-wrap: anywhere;
1605
+ }
1606
+ .message-bubble__text .message-bubble__markdown :where(h1, h2) {
1607
+ font-size: 1.125em;
1608
+ }
1592
1609
  .message-bubble__markdown > :first-child {
1593
1610
  margin-top: 0;
1594
1611
  }
@@ -2158,6 +2175,93 @@ html.webless-agent-page-shift {
2158
2175
  font-weight: 650;
2159
2176
  }
2160
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
+
2161
2265
  /* src/react/components/ToolResultCard/ToolResultCard.css */
2162
2266
  .tool-result-card {
2163
2267
  display: grid;