@innovastudio/contentbuilder 1.2.4-rc1 → 1.2.4-rc4

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.
Files changed (65) hide show
  1. package/package.json +2 -1
  2. package/public/contentbuilder/contentbuilder.css +104 -5
  3. package/public/contentbuilder/contentbuilder.esm.js +2303 -1513
  4. package/public/contentbuilder/contentbuilder.min.js +8 -8
  5. package/public/contentbuilder/plugins/buttoneditor/plugin.js +1 -1
  6. package/public/contentbuilder/plugins/preview/plugin.js +1 -1
  7. package/public/contentbuilder/plugins/searchreplace/plugin.js +1 -1
  8. package/public/contentbuilder/plugins/symbols/plugin.js +2 -2
  9. package/public/contentbuilder/plugins/wordcount/plugin.js +1 -1
  10. package/public/contentbuilder/themes/colored-blue.css +23 -6
  11. package/public/contentbuilder/themes/colored-blue2.css +23 -6
  12. package/public/contentbuilder/themes/colored-blue3.css +23 -6
  13. package/public/contentbuilder/themes/colored-blue4.css +23 -6
  14. package/public/contentbuilder/themes/colored-blue5.css +23 -6
  15. package/public/contentbuilder/themes/colored-blue6.css +23 -6
  16. package/public/contentbuilder/themes/colored-blue7.css +23 -6
  17. package/public/contentbuilder/themes/colored-blue8.css +23 -6
  18. package/public/contentbuilder/themes/colored-dark.css +23 -6
  19. package/public/contentbuilder/themes/colored-darkblue.css +23 -6
  20. package/public/contentbuilder/themes/colored-gray.css +23 -6
  21. package/public/contentbuilder/themes/colored-green.css +23 -6
  22. package/public/contentbuilder/themes/colored-green2.css +23 -6
  23. package/public/contentbuilder/themes/colored-green3.css +23 -6
  24. package/public/contentbuilder/themes/colored-green4.css +23 -6
  25. package/public/contentbuilder/themes/colored-green5.css +23 -6
  26. package/public/contentbuilder/themes/colored-magenta.css +23 -6
  27. package/public/contentbuilder/themes/colored-orange.css +23 -6
  28. package/public/contentbuilder/themes/colored-orange2.css +23 -6
  29. package/public/contentbuilder/themes/colored-orange3.css +23 -6
  30. package/public/contentbuilder/themes/colored-pink.css +23 -6
  31. package/public/contentbuilder/themes/colored-pink2.css +23 -6
  32. package/public/contentbuilder/themes/colored-pink3.css +23 -6
  33. package/public/contentbuilder/themes/colored-pink4.css +23 -6
  34. package/public/contentbuilder/themes/colored-purple.css +23 -6
  35. package/public/contentbuilder/themes/colored-purple2.css +23 -6
  36. package/public/contentbuilder/themes/colored-red.css +23 -6
  37. package/public/contentbuilder/themes/colored-red2.css +23 -6
  38. package/public/contentbuilder/themes/colored-red3.css +23 -6
  39. package/public/contentbuilder/themes/colored-red4.css +23 -6
  40. package/public/contentbuilder/themes/colored-red5.css +23 -6
  41. package/public/contentbuilder/themes/colored-yellow.css +23 -6
  42. package/public/contentbuilder/themes/colored-yellow2.css +23 -6
  43. package/public/contentbuilder/themes/dark-blue.css +23 -6
  44. package/public/contentbuilder/themes/dark-blue2.css +23 -6
  45. package/public/contentbuilder/themes/dark-blue3.css +23 -6
  46. package/public/contentbuilder/themes/dark-gray.css +23 -6
  47. package/public/contentbuilder/themes/dark-pink.css +23 -6
  48. package/public/contentbuilder/themes/dark-purple.css +23 -6
  49. package/public/contentbuilder/themes/dark-red.css +23 -6
  50. package/public/contentbuilder/themes/dark.css +23 -6
  51. package/public/contentbuilder/themes/light-blue.css +23 -6
  52. package/public/contentbuilder/themes/light-blue2.css +23 -6
  53. package/public/contentbuilder/themes/light-blue3.css +23 -6
  54. package/public/contentbuilder/themes/light-cyan.css +23 -6
  55. package/public/contentbuilder/themes/light-gray.css +23 -6
  56. package/public/contentbuilder/themes/light-gray2.css +23 -6
  57. package/public/contentbuilder/themes/light-gray3.css +23 -6
  58. package/public/contentbuilder/themes/light-green.css +23 -6
  59. package/public/contentbuilder/themes/light-pink.css +23 -6
  60. package/public/contentbuilder/themes/light-pink2.css +23 -6
  61. package/public/contentbuilder/themes/light-purple.css +23 -6
  62. package/public/contentbuilder/themes/light-purple2.css +23 -6
  63. package/public/contentbuilder/themes/light-red.css +23 -6
  64. package/public/contentbuilder/themes/light-yellow.css +23 -6
  65. package/public/contentbuilder/themes/light-yellow2.css +23 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
- "version": "1.2.4-rc1",
3
+ "version": "1.2.4-rc4",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
@@ -22,6 +22,7 @@
22
22
  "devDependencies": {
23
23
  "@babel/core": "^7.15.5",
24
24
  "@babel/plugin-proposal-class-properties": "^7.14.5",
25
+ "@babel/plugin-transform-runtime": "^7.18.2",
25
26
  "@babel/preset-env": "^7.15.6",
26
27
  "@rollup/plugin-babel": "^5.3.0",
27
28
  "@rollup/plugin-commonjs": "^20.0.0",
@@ -195,6 +195,13 @@ button:focus {
195
195
 
196
196
  #_cbhtml,
197
197
  .is-ui {
198
+ /*
199
+ * {
200
+ font-family:sans-serif;
201
+ line-height: inherit;
202
+ // Prevent overide
203
+ }
204
+ */
198
205
  font-family: sans-serif;
199
206
  font-size: 13px;
200
207
  letter-spacing: 1px;
@@ -825,7 +832,7 @@ button:focus {
825
832
  #_cbhtml .is-rte-pop.active,
826
833
  .is-ui .is-rte-pop.active {
827
834
  animation-name: formatting-slide-out;
828
- animation-duration: 0.1s;
835
+ animation-duration: 100ms;
829
836
  animation-fill-mode: forwards;
830
837
  }
831
838
  @keyframes formatting-slide-out {
@@ -839,7 +846,7 @@ button:focus {
839
846
  #_cbhtml .is-rte-pop.deactive,
840
847
  .is-ui .is-rte-pop.deactive {
841
848
  animation-name: formatting-slide-in;
842
- animation-duration: 0.1s;
849
+ animation-duration: 100ms;
843
850
  animation-fill-mode: forwards;
844
851
  }
845
852
  @keyframes formatting-slide-in {
@@ -931,8 +938,9 @@ button:focus {
931
938
  }
932
939
  #_cbhtml .is-rte-pop.rte-textsetting-options button,
933
940
  .is-ui .is-rte-pop.rte-textsetting-options button {
934
- width: 40px;
935
- height: 30px;
941
+ width: 38px;
942
+ height: 28.2px;
943
+ margin: 1px;
936
944
  box-shadow: none;
937
945
  background: transparent;
938
946
  }
@@ -944,6 +952,10 @@ button:focus {
944
952
  .is-ui .is-rte-pop.rte-textsetting-options button:hover {
945
953
  background: whitesmoke;
946
954
  }
955
+ #_cbhtml .is-rte-pop.rte-textsetting-options button:focus,
956
+ .is-ui .is-rte-pop.rte-textsetting-options button:focus {
957
+ background: whitesmoke;
958
+ }
947
959
  #_cbhtml .is-rte-pop.rte-textsetting-options.active,
948
960
  .is-ui .is-rte-pop.rte-textsetting-options.active {
949
961
  animation-name: textsetting-slide-out;
@@ -1024,6 +1036,17 @@ button:focus {
1024
1036
  .is-ui .is-rte-pop.rte-color-picker button:hover {
1025
1037
  background: transparent;
1026
1038
  }
1039
+ #_cbhtml .is-rte-pop.rte-color-picker button:focus,
1040
+ .is-ui .is-rte-pop.rte-color-picker button:focus {
1041
+ outline: #3e93f7 2px solid;
1042
+ outline-offset: 0;
1043
+ }
1044
+ #_cbhtml .is-rte-pop.rte-color-picker .color-default button,
1045
+ #_cbhtml .is-rte-pop.rte-color-picker .color-gradient button,
1046
+ .is-ui .is-rte-pop.rte-color-picker .color-default button,
1047
+ .is-ui .is-rte-pop.rte-color-picker .color-gradient button {
1048
+ outline: none;
1049
+ }
1027
1050
  #_cbhtml .is-rte-pop.rte-color-picker.active,
1028
1051
  .is-ui .is-rte-pop.rte-color-picker.active {
1029
1052
  animation-name: colorpicker-slide-out;
@@ -1170,6 +1193,10 @@ button:focus {
1170
1193
  .is-ui .is-rte-pop.rte-customtag-options > div button:hover {
1171
1194
  background: whitesmoke;
1172
1195
  }
1196
+ #_cbhtml .is-rte-pop.rte-customtag-options > div button:focus,
1197
+ .is-ui .is-rte-pop.rte-customtag-options > div button:focus {
1198
+ background: whitesmoke;
1199
+ }
1173
1200
  #_cbhtml .is-rte-pop.rte-zoom-options > div,
1174
1201
  .is-ui .is-rte-pop.rte-zoom-options > div {
1175
1202
  width: 224px;
@@ -1731,6 +1758,7 @@ button:focus {
1731
1758
  #_cbhtml .is-modal a:focus,
1732
1759
  .is-ui .is-modal a:focus {
1733
1760
  outline: #3e93f7 2px solid;
1761
+ outline-offset: 0;
1734
1762
  }
1735
1763
  #_cbhtml .is-modal.active,
1736
1764
  .is-ui .is-modal.active {
@@ -1792,6 +1820,7 @@ button:focus {
1792
1820
  #_cbhtml .is-modal .form-upload-larger:focus-within,
1793
1821
  .is-ui .is-modal .form-upload-larger:focus-within {
1794
1822
  outline: #3e93f7 2px solid;
1823
+ outline-offset: 0;
1795
1824
  }
1796
1825
  #_cbhtml .is-modal .is-modal-overlay,
1797
1826
  .is-ui .is-modal .is-modal-overlay {
@@ -2920,6 +2949,7 @@ button:focus {
2920
2949
  .is-ui button:focus,
2921
2950
  .is-ui .is-btn:focus {
2922
2951
  outline: #3e93f7 2px solid;
2952
+ outline-offset: 0;
2923
2953
  }
2924
2954
  #_cbhtml button.fullwidth,
2925
2955
  #_cbhtml .is-btn.fullwidth,
@@ -2984,6 +3014,26 @@ button:focus {
2984
3014
  background: transparent;
2985
3015
  border: transparent 1px solid;
2986
3016
  }
3017
+ #_cbhtml textarea:not(.monaco-mouse-cursor-text),
3018
+ .is-ui textarea:not(.monaco-mouse-cursor-text) {
3019
+ font-family: courier;
3020
+ font-size: 15px;
3021
+ line-height: 2;
3022
+ letter-spacing: 1px;
3023
+ margin: 0;
3024
+ padding: 8px 16px;
3025
+ box-sizing: border-box;
3026
+ border: 1px solid rgba(0, 0, 0, 0.06);
3027
+ background-color: #fafafa;
3028
+ color: #121212;
3029
+ border-radius: 1px;
3030
+ }
3031
+ #_cbhtml textarea:not(.monaco-mouse-cursor-text):focus,
3032
+ .is-ui textarea:not(.monaco-mouse-cursor-text):focus {
3033
+ outline: #3e93f7 2px solid;
3034
+ outline-offset: 0;
3035
+ box-shadow: none;
3036
+ }
2987
3037
  #_cbhtml select,
2988
3038
  .is-ui select {
2989
3039
  font-size: 13px;
@@ -3010,6 +3060,7 @@ button:focus {
3010
3060
  #_cbhtml select:focus,
3011
3061
  .is-ui select:focus {
3012
3062
  outline: #3e93f7 2px solid;
3063
+ outline-offset: 0;
3013
3064
  box-shadow: none;
3014
3065
  }
3015
3066
  #_cbhtml input[type=text],
@@ -3033,6 +3084,7 @@ button:focus {
3033
3084
  #_cbhtml input[type=text]:focus,
3034
3085
  .is-ui input[type=text]:focus {
3035
3086
  outline: #3e93f7 2px solid;
3087
+ outline-offset: 0;
3036
3088
  box-shadow: none;
3037
3089
  }
3038
3090
  #_cbhtml input[type=text] [type=checkbox], #_cbhtml input[type=text] [type=radio],
@@ -3713,6 +3765,21 @@ button:focus {
3713
3765
  width: 100%;
3714
3766
  z-index: 1;
3715
3767
  }
3768
+ #_cbhtml .pickgradientcolor .div-gradients button,
3769
+ .is-ui .pickgradientcolor .div-gradients button {
3770
+ width: 35px;
3771
+ height: 35px;
3772
+ margin: 0;
3773
+ padding: 0;
3774
+ border: none;
3775
+ transition: none;
3776
+ outline: none;
3777
+ border-radius: 0px;
3778
+ }
3779
+ #_cbhtml .pickgradientcolor .div-gradients button:focus,
3780
+ .is-ui .pickgradientcolor .div-gradients button:focus {
3781
+ border: white 2px solid;
3782
+ }
3716
3783
  #_cbhtml .color-swatch,
3717
3784
  .is-ui .color-swatch {
3718
3785
  width: 100%;
@@ -3735,6 +3802,19 @@ button:focus {
3735
3802
  cursor: pointer;
3736
3803
  transition: all ease 0.3s;
3737
3804
  }
3805
+ #_cbhtml .color-swatch [data-color],
3806
+ .is-ui .color-swatch [data-color] {
3807
+ width: 35px;
3808
+ height: 31.5px;
3809
+ margin: 0;
3810
+ transition: none;
3811
+ outline: none;
3812
+ border-radius: 0px;
3813
+ }
3814
+ #_cbhtml .color-swatch [data-color]:focus,
3815
+ .is-ui .color-swatch [data-color]:focus {
3816
+ border: rgba(255, 255, 255, 0.7) 2px solid;
3817
+ }
3738
3818
  #_cbhtml .color-gradient,
3739
3819
  .is-ui .color-gradient {
3740
3820
  width: 100%;
@@ -3757,6 +3837,18 @@ button:focus {
3757
3837
  cursor: pointer;
3758
3838
  transition: all ease 0.3s;
3759
3839
  }
3840
+ #_cbhtml .color-gradient [data-color],
3841
+ .is-ui .color-gradient [data-color] {
3842
+ width: 35px;
3843
+ height: 31.5px;
3844
+ margin: 0;
3845
+ transition: none;
3846
+ outline: none;
3847
+ }
3848
+ #_cbhtml .color-gradient [data-color]:focus,
3849
+ .is-ui .color-gradient [data-color]:focus {
3850
+ border: rgba(255, 255, 255, 0.7) 2px solid;
3851
+ }
3760
3852
  #_cbhtml .pickcolor button,
3761
3853
  .is-ui .pickcolor button {
3762
3854
  float: left;
@@ -3772,6 +3864,12 @@ button:focus {
3772
3864
  height: 35px;
3773
3865
  border: transparent 1px solid;
3774
3866
  margin: 0px;
3867
+ transition: none;
3868
+ outline: none;
3869
+ }
3870
+ #_cbhtml .pickcolor .color-default button:focus,
3871
+ .is-ui .pickcolor .color-default button:focus {
3872
+ border: rgba(255, 255, 255, 0.7) 2px solid;
3775
3873
  }
3776
3874
  #_cbhtml .pickcolor button.clear,
3777
3875
  .is-ui .pickcolor button.clear {
@@ -3840,6 +3938,7 @@ button:focus {
3840
3938
  }
3841
3939
  .is-tool button:focus {
3842
3940
  outline: none !important;
3941
+ outline-offset: 0;
3843
3942
  }
3844
3943
  .is-tool button svg {
3845
3944
  fill: #000;
@@ -4719,6 +4818,7 @@ button:focus {
4719
4818
  opacity: 0;
4720
4819
  transform: scale(0.7) translateZ(150px);
4721
4820
  transition: all 450ms ease-in-out;
4821
+ outline: none;
4722
4822
  }
4723
4823
  .is-ui .is-lightbox.light {
4724
4824
  background-color: rgba(255, 255, 255, 0.97);
@@ -4774,7 +4874,6 @@ button:focus {
4774
4874
  background: none;
4775
4875
  border: none;
4776
4876
  cursor: pointer;
4777
- outline: none;
4778
4877
  box-shadow: none;
4779
4878
  }
4780
4879
  .is-ui .is-lightbox .cmd-lightbox-close svg {