@websolutespa/bom-mixer-llm 1.8.21 → 1.8.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-mixer-llm
2
2
 
3
+ ## 1.8.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: suggestions a11y
8
+
3
9
  ## 1.8.21
4
10
 
5
11
  ### Patch Changes
@@ -1330,30 +1330,43 @@ llm-embed {
1330
1330
  max-width: calc(100% + var(--margin) * 2);
1331
1331
  margin: 0 var(--negative-margin);
1332
1332
  padding: 4px var(--margin);
1333
- overflow-x: auto;
1334
- overflow-y: hidden;
1335
- /* Hide scrollbar for Chrome, Safari and Opera */
1336
- /* Hide scrollbar for IE, Edge and Firefox */
1337
- }
1338
- .llm .llm__prompt-suggestions .llm__suggestions::-webkit-scrollbar {
1339
- display: none;
1333
+ flex-wrap: wrap;
1334
+ /* if device has a touch screen */
1335
+ /* if device has no touch screen */
1336
+ /*
1337
+ @media (any-pointer: fine) {
1338
+ }
1339
+ */
1340
1340
  }
1341
- .llm .llm__prompt-suggestions .llm__suggestions {
1342
- -ms-overflow-style: none;
1343
- /* IE and Edge */
1344
- scrollbar-width: none;
1345
- /* Firefox */
1341
+ @media (any-pointer: coarse) {
1342
+ .llm .llm__prompt-suggestions .llm__suggestions {
1343
+ flex-wrap: nowrap;
1344
+ overflow-x: auto;
1345
+ overflow-y: hidden;
1346
+ /* Hide scrollbar for Chrome, Safari and Opera */
1347
+ /* Hide scrollbar for IE, Edge and Firefox */
1348
+ }
1349
+ .llm .llm__prompt-suggestions .llm__suggestions::-webkit-scrollbar {
1350
+ display: none;
1351
+ }
1352
+ .llm .llm__prompt-suggestions .llm__suggestions {
1353
+ -ms-overflow-style: none;
1354
+ /* IE and Edge */
1355
+ scrollbar-width: none;
1356
+ /* Firefox */
1357
+ }
1358
+ .llm .llm__prompt-suggestions .llm__suggestions .llm__pill {
1359
+ white-space: nowrap;
1360
+ }
1346
1361
  }
1347
1362
  .llm .llm__prompt-suggestions .llm__suggestions .llm__pill {
1348
- white-space: nowrap;
1363
+ box-shadow: var(--llm-shadow-xs);
1349
1364
  }
1350
1365
  @media (min-width: 1024px) {
1351
1366
  .llm .llm__prompt-suggestions .llm__suggestions {
1352
1367
  max-width: calc(100% + 8px);
1353
1368
  margin: 0 -4px;
1354
1369
  padding: 4px;
1355
- flex-wrap: wrap;
1356
- overflow: hidden;
1357
1370
  }
1358
1371
  }
1359
1372
  .llm .llm__prompt-suggestions .swiper {
@@ -1330,30 +1330,43 @@ llm-embed {
1330
1330
  max-width: calc(100% + var(--margin) * 2);
1331
1331
  margin: 0 var(--negative-margin);
1332
1332
  padding: 4px var(--margin);
1333
- overflow-x: auto;
1334
- overflow-y: hidden;
1335
- /* Hide scrollbar for Chrome, Safari and Opera */
1336
- /* Hide scrollbar for IE, Edge and Firefox */
1337
- }
1338
- .llm .llm__prompt-suggestions .llm__suggestions::-webkit-scrollbar {
1339
- display: none;
1333
+ flex-wrap: wrap;
1334
+ /* if device has a touch screen */
1335
+ /* if device has no touch screen */
1336
+ /*
1337
+ @media (any-pointer: fine) {
1338
+ }
1339
+ */
1340
1340
  }
1341
- .llm .llm__prompt-suggestions .llm__suggestions {
1342
- -ms-overflow-style: none;
1343
- /* IE and Edge */
1344
- scrollbar-width: none;
1345
- /* Firefox */
1341
+ @media (any-pointer: coarse) {
1342
+ .llm .llm__prompt-suggestions .llm__suggestions {
1343
+ flex-wrap: nowrap;
1344
+ overflow-x: auto;
1345
+ overflow-y: hidden;
1346
+ /* Hide scrollbar for Chrome, Safari and Opera */
1347
+ /* Hide scrollbar for IE, Edge and Firefox */
1348
+ }
1349
+ .llm .llm__prompt-suggestions .llm__suggestions::-webkit-scrollbar {
1350
+ display: none;
1351
+ }
1352
+ .llm .llm__prompt-suggestions .llm__suggestions {
1353
+ -ms-overflow-style: none;
1354
+ /* IE and Edge */
1355
+ scrollbar-width: none;
1356
+ /* Firefox */
1357
+ }
1358
+ .llm .llm__prompt-suggestions .llm__suggestions .llm__pill {
1359
+ white-space: nowrap;
1360
+ }
1346
1361
  }
1347
1362
  .llm .llm__prompt-suggestions .llm__suggestions .llm__pill {
1348
- white-space: nowrap;
1363
+ box-shadow: var(--llm-shadow-xs);
1349
1364
  }
1350
1365
  @media (min-width: 1024px) {
1351
1366
  .llm .llm__prompt-suggestions .llm__suggestions {
1352
1367
  max-width: calc(100% + 8px);
1353
1368
  margin: 0 -4px;
1354
1369
  padding: 4px;
1355
- flex-wrap: wrap;
1356
- overflow: hidden;
1357
1370
  }
1358
1371
  }
1359
1372
  .llm .llm__prompt-suggestions .swiper {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-mixer-llm",
3
- "version": "1.8.21",
3
+ "version": "1.8.22",
4
4
  "description": "Mixer LLM module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",
@@ -200,20 +200,34 @@
200
200
  max-width: calc(100% + var(--margin) * 2);
201
201
  margin: 0 var(--negative-margin);
202
202
  padding: 4px var(--margin);
203
- overflow-x: auto;
204
- overflow-y: hidden;
205
- @include hideScrollbar();
203
+ flex-wrap: wrap;
204
+
205
+ /* if device has a touch screen */
206
+ @media (any-pointer: coarse) {
207
+ flex-wrap: nowrap;
208
+ overflow-x: auto;
209
+ overflow-y: hidden;
210
+ @include hideScrollbar();
211
+
212
+ .llm__pill {
213
+ white-space: nowrap;
214
+ }
215
+ }
216
+
217
+ /* if device has no touch screen */
218
+ /*
219
+ @media (any-pointer: fine) {
220
+ }
221
+ */
206
222
 
207
223
  .llm__pill {
208
- white-space: nowrap;
224
+ box-shadow: shadow(xs);
209
225
  }
210
226
 
211
227
  @include bp(md) {
212
228
  max-width: calc(100% + 8px);
213
229
  margin: 0 -4px;
214
230
  padding: 4px;
215
- flex-wrap: wrap;
216
- overflow: hidden;
217
231
  }
218
232
  }
219
233