@bootstrapware/answers 0.2.12 → 0.2.14

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/styles.css CHANGED
@@ -294,6 +294,39 @@
294
294
  font-size: 0.75rem;
295
295
  }
296
296
 
297
+ .bsw-an__suggestions {
298
+ display: flex;
299
+ flex-wrap: wrap;
300
+ gap: 0.4rem;
301
+ margin: 0 0.85rem;
302
+ }
303
+
304
+ .bsw-an__chip {
305
+ font: inherit;
306
+ font-size: 0.85rem;
307
+ line-height: 1.3;
308
+ color: var(--bsw-an-fg);
309
+ background: var(--bsw-an-panel);
310
+ border: 1px solid var(--bsw-an-line);
311
+ border-radius: 999px;
312
+ padding: 0.35rem 0.7rem;
313
+ cursor: pointer;
314
+ }
315
+
316
+ .bsw-an__chip:hover {
317
+ border-color: var(--bsw-an-accent);
318
+ }
319
+
320
+ .bsw-an__chip:focus-visible {
321
+ outline: 2px solid var(--bsw-an-accent);
322
+ outline-offset: 2px;
323
+ }
324
+
325
+ .bsw-an__chip:disabled {
326
+ cursor: default;
327
+ opacity: 0.55;
328
+ }
329
+
297
330
  .bsw-an__composer {
298
331
  position: relative;
299
332
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bootstrapware/answers",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Embeddable source-backed Q&A for your site: React widget plus a server engine (crawl, hybrid search, grounded OpenAI answers with citations) for BYO backends.",
5
5
  "license": "MIT",
6
6
  "private": false,