canvasxpress-cli 52.6.0 → 52.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvasxpress-cli",
3
- "version": "52.6.0",
3
+ "version": "52.8.1",
4
4
  "license": {
5
5
  "type": "Dual licensing",
6
6
  "url": "https://www.canvasxpress.org/docs/license.html"
@@ -374,12 +374,10 @@ div.cX-chat-container-text {
374
374
  min-height: 50px;
375
375
  }
376
376
 
377
- div.cX-chat-question {
377
+ p.cX-chat-question {
378
378
  border: none;
379
379
  background-color: var(--cx-color-extra-light-gray);
380
- width: 100%;
381
380
  margin: 0;
382
- align-self: stretch;
383
381
  display: inline;;
384
382
  }
385
383
 
@@ -408,6 +406,70 @@ svg.cX-chat-thumbs {
408
406
  float: left;
409
407
  }
410
408
 
409
+ /****************
410
+ * LLM Examples *
411
+ ****************/
412
+
413
+ div.cX-LLM-window {
414
+ position: absolute;
415
+ border: 1px solid #555555;
416
+ max-width: 545px;
417
+ overflow: hidden;
418
+ border-radius: 5px;
419
+ background-color: var(--cx-color-extra-light-gray);
420
+ z-index: 10000;
421
+ }
422
+
423
+ a.cX-LLM-window-close {
424
+ position: sticky;
425
+ top: 0;
426
+ left: 500px;
427
+ font-size: xx-large;
428
+ }
429
+
430
+ div.cX-LLM-examples {
431
+ position: relative;
432
+ overflow: scroll;
433
+ max-height: 1000px;
434
+ }
435
+
436
+ div.cX-LLM-content {
437
+ top: 25px;
438
+ left: 25px;
439
+ position: absolute;
440
+ }
441
+
442
+ div.cX-LLM-container {
443
+ border: 1px solid #d3d3d3;
444
+ position: relative;
445
+ border-radius: 4px;
446
+ background: white;
447
+ float: left;
448
+ margin: 5px;
449
+ max-width: 810px;
450
+ }
451
+
452
+ div.cX-LLM-title {
453
+ position: relative;
454
+ height: 40px;
455
+ line-height: 40px;
456
+ border-radius: 4px;
457
+ font-size: 22px;
458
+ overflow: hidden;
459
+ white-space: nowrap;
460
+ text-overflow: ellipsis;
461
+ text-align: center !important;
462
+ font-weight: bold;
463
+ border-bottom: 1px solid var(--cx-color-light-gray);
464
+ }
465
+
466
+ div.cX-LLM-plot {
467
+ display: flex;
468
+ align-items: center;
469
+ justify-content: center;
470
+ margin: 8px;
471
+ }
472
+
411
473
  /***************
412
474
  * Bin Data *
413
475
  ***************/
@@ -1392,91 +1454,11 @@ div.CanvasXpressTooltip {
1392
1454
  text-align: left;
1393
1455
  }
1394
1456
 
1395
- div.CanvasXpressTooltipArrowLeft {
1396
- position: absolute;
1397
- height: 0;
1398
- width: 0;
1399
- background: rgba(255, 255, 255, 0.95);
1400
- border: 2px solid rgb(83, 105, 255);
1401
- border-top: none;
1402
- border-right: none;
1403
- z-index: 1;
1404
- }
1405
-
1406
- div.CanvasXpressTooltipArrowLeft:after,
1407
- div.CanvasXpressTooltipArrowLeft:before {
1408
- border: solid transparent;
1409
- right: 0px;
1410
- content: "";
1411
- position: absolute;
1412
- pointer-events: none;
1413
- }
1414
-
1415
- div.CanvasXpressTooltipArrowLeft:after {
1416
- border-color: rgba(245, 245, 245, 0);
1417
- border-right-color: rgb(245, 245, 245);
1418
- border-width: 8px;
1419
- margin-top: -8px;
1420
- }
1421
-
1422
- div.CanvasXpressTooltipArrowLeft:before {
1423
- border-color: rgba(51, 122, 183, 0);
1424
- border-right-color: rgb(83, 105, 255);
1425
- border-width: 9px;
1426
- margin-top: -9px;
1427
- }
1428
-
1429
- div.CanvasXpressTooltipArrowRight {
1430
- position: absolute;
1431
- height: 0;
1432
- width: 0;
1433
- background: rgba(255, 255, 255, 0.95);
1434
- border: 2px solid rgb(83, 105, 255);
1435
- border-top: none;
1436
- border-left: none;
1437
- z-index: 1;
1438
- }
1439
-
1440
- div.CanvasXpressTooltipArrowRight:after,
1441
- div.CanvasXpressTooltipArrowRight:before {
1442
- border: solid transparent;
1443
- right: 0px;
1444
- content: "";
1445
- position: absolute;
1446
- pointer-events: none;
1447
- }
1448
-
1449
- div.CanvasXpressTooltipArrowRight:after {
1450
- border-color: rgba(245, 245, 245, 0);
1451
- border-left-color: rgb(245, 245, 245);
1452
- border-width: 9px;
1453
- margin-top: -9px;
1454
- }
1455
-
1456
- div.CanvasXpressTooltipArrowRight:before {
1457
- border-color: rgba(51, 122, 183, 0);
1458
- border-left-color: rgb(83, 105, 255);
1459
- border-width: 8px;
1460
- margin-top: -8px;
1461
- }
1462
-
1463
- img.CanvasXpressTooltip,
1464
- svg.CanvasXpressTooltip {
1465
- background: rgba(0, 0, 0, 0) !important;
1466
- border: 0px none !important;
1467
- box-shadow: 0 0 0px rgba(0, 0, 0, 0) !important;
1468
- cursor: default;
1469
- float: right;
1470
- margin: 5px 8px 0px 0px !important;
1471
- cursor: default;
1472
- -moz-user-select: none;
1473
- -khtml-user-select: none;
1474
- -webkit-user-select: none;
1475
- -o-user-select: none;
1476
- -ms-user-select: none;
1477
- }
1478
-
1479
- span.CanvasXpressTooltip {
1457
+ span.CanvasXpressTooltip,
1458
+ span.CanvasXpressTooltipTop,
1459
+ span.CanvasXpressTooltipBottom,
1460
+ span.CanvasXpressTooltipLeft,
1461
+ span.CanvasXpressTooltipRight {
1480
1462
  border: 1px solid rgb(83, 105, 255);
1481
1463
  border-radius: 5px;
1482
1464
  background-color: rgba(255, 255, 255, 0.95);
@@ -1491,6 +1473,44 @@ span.CanvasXpressTooltip {
1491
1473
  white-space: nowrap;
1492
1474
  text-align: left;
1493
1475
  z-index: 1;
1476
+ /*
1477
+ --b: 2em;
1478
+ --h: 1em;
1479
+ border-image: fill 0 conic-gradient(var(--c,#CC333F) 0 0);
1480
+ --webkit-border-image: fill 0 conic-gradient(var(--c,#CC333F) 0 0);
1481
+ */
1482
+ }
1483
+
1484
+ span.CanvasXpressTooltipBottom {
1485
+ clip-path:
1486
+ polygon(0 100%,0 0,100% 0,100% 100%,
1487
+ calc(50% + var(--b)/2) 100%,
1488
+ 50% calc(100% + var(--h)),
1489
+ calc(50% - var(--b)/2) 100%);
1490
+ }
1491
+
1492
+ span.CanvasXpressTooltipTop {
1493
+ clip-path:
1494
+ polygon(0 0,0 100%,100% 100%,100% 0,
1495
+ calc(50% + var(--b)/2) 0,
1496
+ 50% calc(-1*var(--h)),
1497
+ calc(50% - var(--b)/2) 0);
1498
+ }
1499
+
1500
+ span.CanvasXpressTooltipLeft {
1501
+ clip-path:
1502
+ polygon(0 100%,100% 100%,100% 0,0 0,
1503
+ 0 calc(50% - var(--b)/2),
1504
+ calc(-1*var(--h)) 50%,
1505
+ 0 calc(50% + var(--b)/2));
1506
+ }
1507
+
1508
+ span.CanvasXpressTooltipRight {
1509
+ clip-path:
1510
+ polygon(100% 100%,0 100%,0 0,100% 0,
1511
+ 100% calc(50% - var(--b)/2),
1512
+ calc(100% + var(--h)) 50%,
1513
+ 100% calc(50% + var(--b)/2));
1494
1514
  }
1495
1515
 
1496
1516
  div.CanvasXpressMousePosition {