canvasxpress 52.1.0 → 52.3.3

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
@@ -3,7 +3,7 @@
3
3
  "main": "src/canvasXpress.js",
4
4
  "style": "src/canvasXpress.css",
5
5
  "title": "CanvasXpress",
6
- "version": "52.1.0",
6
+ "version": "52.3.3",
7
7
  "license": {
8
8
  "type": "Dual licensing",
9
9
  "url": "https://www.canvasxpress.org/docs/license.html"
@@ -62,8 +62,10 @@
62
62
  --cx-border-transparent: var(--cx-border-width) var(--cx-border-style) var(--cx-color-transparent);
63
63
  /* Font */
64
64
  --cx-font-size: 12px;
65
+ --cx-large-font-size: 14px;
65
66
  --cx-font-color: var(--cx-color-ui-font);
66
67
  --cx-font: normal var(--cx-font-size) var(--cx-font-family);
68
+ --cx-large-font: normal var(--cx-large-font-size) var(--cx-font-family);
67
69
  --cx-font-bold: bold var(--cx-font-size) var(--cx-font-family);
68
70
  --cx-font-italic: italic var(--cx-font-size) var(--cx-font-family);
69
71
  /* Background */
@@ -347,61 +349,63 @@ pre.cX-code-content code::before {
347
349
  * Chat Interface *
348
350
  ******************/
349
351
 
350
- svg.cX-chat-thumbs {
351
- background: var(--cx-color-transparent) !important;
352
- border: none !important;
353
- box-shadow: 0 0 0px var(--cx-color-transparent) !important;
354
- cursor: default;
355
- float: left;
356
- margin: 5px 0px 0px 20px !important;
352
+ div.cX-chat {
353
+ border: none;
354
+ background-color: var(--cx-color-transparent);
355
+ max-width: 600px;
356
+ min-height: 100px;
357
+ margin: 10px auto 0 auto;
357
358
  }
358
359
 
359
- div.cX-chat {
360
- border: var(--cx-border);
361
- border-radius: 5px;
362
- background-color: var(--cx-background-widgets-color);
363
- cursor: move;
364
- left: 20px;
365
- top: 60px;
366
- width: 500px;
367
- height: 270px;
360
+ div.cX-chat-container {
361
+ border: none;
362
+ border-radius: 10px;
363
+ background-color: var(--cx-color-extra-light-gray);
368
364
  color: var(--cx-font-color);
369
- font: var(--cx-font);
370
- position: absolute;
371
- white-space: nowrap;
365
+ font: var(--cx-large-font);
366
+ display: flex;
367
+ align-items: center;
372
368
  }
373
369
 
374
- div.cX-chat-toolbar {
370
+ div.cX-chat-container-text {
375
371
  float: left;
376
- position: relative;
377
- height: 44px;
378
- width: 100%;
379
- border-bottom: 1px solid var(--cx-border) !important;
380
- background: var(--cx-color-widgets);
372
+ border: none;
373
+ background-color: var(--cx-color-transparent);
374
+ min-height: 50px;
381
375
  }
382
376
 
383
- div.cX-chat-container {
384
- float: left;
385
- position: relative;
377
+ div.cX-chat-question {
378
+ border: none;
379
+ background-color: var(--cx-color-extra-light-gray);
386
380
  width: 100%;
387
- height: 224px;
381
+ margin: 0;
382
+ align-self: stretch;
383
+ display: inline;;
388
384
  }
389
385
 
390
- textarea.cX-chat-question {
391
- float: left;
392
- position: relative;
393
- border-radius: 5px;
394
- padding: 5px;
395
- resize: none;
396
- width: 469px;
397
- height: 150px;
398
- margin: 15px;
386
+ [contenteditable] {
387
+ outline: 0px solid transparent;
399
388
  }
400
389
 
401
- input.cX-chat-question {
402
- padding: 5px;
390
+ div.cX-chat-container-icon {
403
391
  float: right;
404
- margin: 0 15px 15px 15px;
392
+ border: none;
393
+ background-color: var(--cx-color-transparent);
394
+ }
395
+
396
+ div.cX-chat-container-thumbs {
397
+ float: left;
398
+ border: none;
399
+ background-color: var(--cx-color-transparent);
400
+ margin: 0;
401
+ }
402
+
403
+ svg.cX-chat-thumbs {
404
+ background: var(--cx-color-transparent) !important;
405
+ border: none !important;
406
+ box-shadow: 0 0 0px var(--cx-color-transparent) !important;
407
+ cursor: default;
408
+ float: left;
405
409
  }
406
410
 
407
411
  /***************
@@ -2191,7 +2195,6 @@ span.CanvasXpressToggle {
2191
2195
  margin-left: 5px;
2192
2196
  margin-right: 5px;
2193
2197
  position: relative;
2194
- top: -4px;
2195
2198
  }
2196
2199
 
2197
2200
  /****************/
@@ -3696,6 +3699,21 @@ div.CanvasXpressWrapper {
3696
3699
  transition: all 300ms ease-in-out;
3697
3700
  }
3698
3701
 
3702
+ /* Hide Efect */
3703
+
3704
+ .appear {
3705
+ transition: all 1s linear;
3706
+ opacity: 1;
3707
+ }
3708
+
3709
+ .dissapear {
3710
+ display: none;
3711
+ }
3712
+
3713
+ .dissapearHidden {
3714
+ transition: all 1s linear;
3715
+ opacity: 0;
3716
+ }
3699
3717
 
3700
3718
  /* Magic Effects */
3701
3719
 
@@ -3713,6 +3731,56 @@ Copyright (c) 2018 Christian Pucci
3713
3731
  animation-fill-mode: both;
3714
3732
  }
3715
3733
 
3734
+ .showIn {
3735
+ -webkit-animation-name: showIn;
3736
+ animation-name: showIn;
3737
+ }
3738
+
3739
+ @-webkit-keyframes showIn {
3740
+ 0% {
3741
+ opacity: 0;
3742
+ }
3743
+
3744
+ 100% {
3745
+ opacity: 1;
3746
+ }
3747
+ }
3748
+
3749
+ @keyframes showIn {
3750
+ 0% {
3751
+ opacity: 0;
3752
+ }
3753
+
3754
+ 100% {
3755
+ opacity: 1;
3756
+ }
3757
+ }
3758
+
3759
+ .showOut {
3760
+ -webkit-animation-name: showOut;
3761
+ animation-name: showOut;
3762
+ }
3763
+
3764
+ @-webkit-keyframes showOut {
3765
+ 0% {
3766
+ opacity: 1;
3767
+ }
3768
+
3769
+ 100% {
3770
+ opacity: 0;
3771
+ }
3772
+ }
3773
+
3774
+ @keyframes showOut {
3775
+ 0% {
3776
+ opacity: 1;
3777
+ }
3778
+
3779
+ 100% {
3780
+ opacity: 0;
3781
+ }
3782
+ }
3783
+
3716
3784
  .puffIn {
3717
3785
  -webkit-animation-name: puffIn;
3718
3786
  animation-name: puffIn;