@innovastudio/contentbuilder 1.5.158 → 1.5.160

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 (44) hide show
  1. package/package.json +2 -1
  2. package/public/contentbuilder/contentbuilder.css +149 -6
  3. package/public/contentbuilder/contentbuilder.esm.js +842 -3
  4. package/public/contentbuilder/contentbuilder.min.js +6 -6
  5. package/public/contentbuilder/themes/colored-blue.css +3 -2
  6. package/public/contentbuilder/themes/colored-blue2.css +3 -2
  7. package/public/contentbuilder/themes/colored-blue3.css +3 -2
  8. package/public/contentbuilder/themes/colored-blue4.css +3 -2
  9. package/public/contentbuilder/themes/colored-blue5.css +3 -2
  10. package/public/contentbuilder/themes/colored-blue6.css +3 -2
  11. package/public/contentbuilder/themes/colored-blue7.css +3 -2
  12. package/public/contentbuilder/themes/colored-blue8.css +3 -2
  13. package/public/contentbuilder/themes/colored-darkblue.css +3 -2
  14. package/public/contentbuilder/themes/colored-gray.css +3 -2
  15. package/public/contentbuilder/themes/colored-green.css +3 -2
  16. package/public/contentbuilder/themes/colored-green2.css +3 -2
  17. package/public/contentbuilder/themes/colored-green3.css +3 -2
  18. package/public/contentbuilder/themes/colored-green4.css +3 -2
  19. package/public/contentbuilder/themes/colored-green5.css +3 -2
  20. package/public/contentbuilder/themes/colored-magenta.css +3 -2
  21. package/public/contentbuilder/themes/colored-orange.css +3 -2
  22. package/public/contentbuilder/themes/colored-orange2.css +3 -2
  23. package/public/contentbuilder/themes/colored-orange3.css +3 -2
  24. package/public/contentbuilder/themes/colored-pink.css +3 -2
  25. package/public/contentbuilder/themes/colored-pink2.css +3 -2
  26. package/public/contentbuilder/themes/colored-pink3.css +3 -2
  27. package/public/contentbuilder/themes/colored-pink4.css +3 -2
  28. package/public/contentbuilder/themes/colored-purple.css +3 -2
  29. package/public/contentbuilder/themes/colored-purple2.css +3 -2
  30. package/public/contentbuilder/themes/colored-red.css +3 -2
  31. package/public/contentbuilder/themes/colored-red2.css +3 -2
  32. package/public/contentbuilder/themes/colored-red3.css +3 -2
  33. package/public/contentbuilder/themes/colored-red4.css +3 -2
  34. package/public/contentbuilder/themes/colored-red5.css +3 -2
  35. package/public/contentbuilder/themes/colored-yellow.css +3 -2
  36. package/public/contentbuilder/themes/colored-yellow2.css +3 -2
  37. package/public/contentbuilder/themes/dark-blue.css +3 -2
  38. package/public/contentbuilder/themes/dark-blue2.css +3 -2
  39. package/public/contentbuilder/themes/dark-blue3.css +3 -2
  40. package/public/contentbuilder/themes/dark-gray.css +3 -2
  41. package/public/contentbuilder/themes/dark-pink.css +3 -2
  42. package/public/contentbuilder/themes/dark-purple.css +3 -2
  43. package/public/contentbuilder/themes/dark-red.css +3 -2
  44. package/public/contentbuilder/themes/dark.css +16 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.5.158",
4
+ "version": "1.5.160",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -59,6 +59,7 @@
59
59
  "webpack-dev-server": "^4.2.1"
60
60
  },
61
61
  "dependencies": {
62
+ "@innovastudio/contentbuilder-runtime": "^1.0.13",
62
63
  "@monaco-editor/loader": "^1.3.2",
63
64
  "blueimp-load-image": "^5.16.0",
64
65
  "cropperjs": "^1.5.12",
@@ -2360,7 +2360,7 @@ button:focus-visible {
2360
2360
  .is-ui .is-modal .is-modal-content {
2361
2361
  background: #fff;
2362
2362
  border: 1px solid #e3e3e3;
2363
- box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.08);
2363
+ box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.11);
2364
2364
  border-radius: 11px;
2365
2365
  overflow: hidden;
2366
2366
  }
@@ -2376,7 +2376,7 @@ button:focus-visible {
2376
2376
  .is-ui .is-modal:not(.is-modal-content) > div:not(.is-modal-overlay) {
2377
2377
  background: #fff;
2378
2378
  border: 1px solid #e3e3e3;
2379
- box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.08);
2379
+ box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.11);
2380
2380
  position: relative;
2381
2381
  width: 100%;
2382
2382
  padding: 25px 25px;
@@ -2625,6 +2625,47 @@ button:focus-visible {
2625
2625
  .is-ui .is-modal.pagesize .input-height {
2626
2626
  width: 65px;
2627
2627
  }
2628
+ #_cbhtml .is-modal.pluginsettings,
2629
+ .is-ui .is-modal.pluginsettings {
2630
+ z-index: 10002;
2631
+ position: fixed;
2632
+ overflow: hidden;
2633
+ width: 420px;
2634
+ height: 600px;
2635
+ top: 50%;
2636
+ left: calc(50% - 200px);
2637
+ right: 30%;
2638
+ margin-top: -300px;
2639
+ box-sizing: content-box;
2640
+ flex-direction: row;
2641
+ align-items: flex-start;
2642
+ }
2643
+ #_cbhtml .is-modal.pluginsettings .is-modal-bar,
2644
+ .is-ui .is-modal.pluginsettings .is-modal-bar {
2645
+ line-height: 30px;
2646
+ height: 30px;
2647
+ background-color: #fafafa;
2648
+ }
2649
+ #_cbhtml .is-modal.pluginsettings .is-modal-bar .is-modal-close,
2650
+ .is-ui .is-modal.pluginsettings .is-modal-bar .is-modal-close {
2651
+ width: 20px;
2652
+ height: 20px;
2653
+ line-height: 20px;
2654
+ font-size: 10px;
2655
+ }
2656
+ #_cbhtml .is-modal.pluginsettings.active,
2657
+ .is-ui .is-modal.pluginsettings.active {
2658
+ display: flex;
2659
+ }
2660
+ #_cbhtml .is-modal.pluginsettings > div:not(.is-draggable),
2661
+ .is-ui .is-modal.pluginsettings > div:not(.is-draggable) {
2662
+ width: 100%;
2663
+ margin-top: 30px;
2664
+ }
2665
+ #_cbhtml .is-modal.pluginsettings .is-modal-overlay,
2666
+ .is-ui .is-modal.pluginsettings .is-modal-overlay {
2667
+ display: none !important;
2668
+ }
2628
2669
  #_cbhtml .is-modal.edittable,
2629
2670
  .is-ui .is-modal.edittable {
2630
2671
  z-index: 10002;
@@ -3541,42 +3582,47 @@ button:focus-visible {
3541
3582
  .is-ui .is-modal [class^=image-larger] {
3542
3583
  flex: none;
3543
3584
  }
3544
- #_cbhtml .is-tool#divImageTool, #_cbhtml .is-tool.is-video-tool, #_cbhtml .is-tool.is-audio-tool, #_cbhtml .is-tool.is-iframe-tool,
3585
+ #_cbhtml .is-tool#divImageTool, #_cbhtml .is-tool.is-video-tool, #_cbhtml .is-tool.is-audio-tool, #_cbhtml .is-tool.is-plugin-tool, #_cbhtml .is-tool.is-iframe-tool,
3545
3586
  .is-ui .is-tool#divImageTool,
3546
3587
  .is-ui .is-tool.is-video-tool,
3547
3588
  .is-ui .is-tool.is-audio-tool,
3589
+ .is-ui .is-tool.is-plugin-tool,
3548
3590
  .is-ui .is-tool.is-iframe-tool {
3549
3591
  background: rgba(255, 255, 255, 0.97) !important;
3550
3592
  border: transparent 1px solid;
3551
3593
  box-shadow: -1px 5px 8px 0px rgba(0, 0, 0, 0.08);
3552
3594
  border-radius: 20px;
3553
3595
  }
3554
- #_cbhtml .is-tool#divImageTool > div, #_cbhtml .is-tool#divImageTool > button, #_cbhtml .is-tool.is-video-tool > div, #_cbhtml .is-tool.is-video-tool > button, #_cbhtml .is-tool.is-audio-tool > div, #_cbhtml .is-tool.is-audio-tool > button, #_cbhtml .is-tool.is-iframe-tool > div, #_cbhtml .is-tool.is-iframe-tool > button,
3596
+ #_cbhtml .is-tool#divImageTool > div, #_cbhtml .is-tool#divImageTool > button, #_cbhtml .is-tool.is-video-tool > div, #_cbhtml .is-tool.is-video-tool > button, #_cbhtml .is-tool.is-audio-tool > div, #_cbhtml .is-tool.is-audio-tool > button, #_cbhtml .is-tool.is-plugin-tool > div, #_cbhtml .is-tool.is-plugin-tool > button, #_cbhtml .is-tool.is-iframe-tool > div, #_cbhtml .is-tool.is-iframe-tool > button,
3555
3597
  .is-ui .is-tool#divImageTool > div,
3556
3598
  .is-ui .is-tool#divImageTool > button,
3557
3599
  .is-ui .is-tool.is-video-tool > div,
3558
3600
  .is-ui .is-tool.is-video-tool > button,
3559
3601
  .is-ui .is-tool.is-audio-tool > div,
3560
3602
  .is-ui .is-tool.is-audio-tool > button,
3603
+ .is-ui .is-tool.is-plugin-tool > div,
3604
+ .is-ui .is-tool.is-plugin-tool > button,
3561
3605
  .is-ui .is-tool.is-iframe-tool > div,
3562
3606
  .is-ui .is-tool.is-iframe-tool > button {
3563
3607
  width: 35px;
3564
3608
  height: 35px;
3565
3609
  background: transparent;
3566
3610
  }
3567
- #_cbhtml .is-tool#divImageTool svg, #_cbhtml .is-tool.is-video-tool svg, #_cbhtml .is-tool.is-audio-tool svg, #_cbhtml .is-tool.is-iframe-tool svg,
3611
+ #_cbhtml .is-tool#divImageTool svg, #_cbhtml .is-tool.is-video-tool svg, #_cbhtml .is-tool.is-audio-tool svg, #_cbhtml .is-tool.is-plugin-tool svg, #_cbhtml .is-tool.is-iframe-tool svg,
3568
3612
  .is-ui .is-tool#divImageTool svg,
3569
3613
  .is-ui .is-tool.is-video-tool svg,
3570
3614
  .is-ui .is-tool.is-audio-tool svg,
3615
+ .is-ui .is-tool.is-plugin-tool svg,
3571
3616
  .is-ui .is-tool.is-iframe-tool svg {
3572
3617
  width: 17px;
3573
3618
  height: 17px;
3574
3619
  fill: #111 !important;
3575
3620
  color: #111 !important;
3576
3621
  }
3577
- #_cbhtml .is-tool.is-video-tool > button, #_cbhtml .is-tool.is-audio-tool > button, #_cbhtml .is-tool.is-iframe-tool > button,
3622
+ #_cbhtml .is-tool.is-video-tool > button, #_cbhtml .is-tool.is-audio-tool > button, #_cbhtml .is-tool.is-plugin-tool > button, #_cbhtml .is-tool.is-iframe-tool > button,
3578
3623
  .is-ui .is-tool.is-video-tool > button,
3579
3624
  .is-ui .is-tool.is-audio-tool > button,
3625
+ .is-ui .is-tool.is-plugin-tool > button,
3580
3626
  .is-ui .is-tool.is-iframe-tool > button {
3581
3627
  width: 35px !important;
3582
3628
  height: 35px !important;
@@ -8469,3 +8515,100 @@ iframe.wait-autoplay {
8469
8515
  .is-ui .hover\:border-current:hover {
8470
8516
  border-color: currentColor !important;
8471
8517
  }
8518
+
8519
+ /* New Plugin Features */
8520
+ #_cbhtml .is-accordion {
8521
+ display: flex;
8522
+ flex-direction: column;
8523
+ gap: 10px;
8524
+ margin-bottom: 10px;
8525
+ }
8526
+ #_cbhtml .is-accordion > div {
8527
+ border: 1px solid #dddddd;
8528
+ border-radius: 8px;
8529
+ }
8530
+ #_cbhtml .is-accordion > div > div:first-child {
8531
+ /* header */
8532
+ background: #f9f9f9;
8533
+ display: flex;
8534
+ align-items: center;
8535
+ justify-content: space-between;
8536
+ padding: 10px 12px;
8537
+ font-weight: 500;
8538
+ cursor: pointer;
8539
+ }
8540
+ #_cbhtml .is-outline {
8541
+ border: 1px solid #ddd;
8542
+ }
8543
+ #_cbhtml .is-tips {
8544
+ margin-top: 16px;
8545
+ padding: 12px;
8546
+ background: #eff6ff;
8547
+ font-size: 12px;
8548
+ color: #1e40af;
8549
+ border-left: 3px solid #3b82f6;
8550
+ border-radius: 4px;
8551
+ }
8552
+ #_cbhtml .is-modal.pluginsettings select {
8553
+ width: 100%;
8554
+ height: 43px;
8555
+ }
8556
+ #_cbhtml .is-modal.pluginsettings input[type=text], #_cbhtml .is-modal.pluginsettings input[type=number] {
8557
+ font-size: 13px;
8558
+ }
8559
+ #_cbhtml .is-modal.pluginsettings textarea {
8560
+ width: 100%;
8561
+ line-height: 1.4;
8562
+ font-family: inherit;
8563
+ font-size: 14px;
8564
+ padding: 10px 13px;
8565
+ }
8566
+ #_cbhtml .is-modal.pluginsettings button {
8567
+ background-color: #efefef;
8568
+ width: 100%;
8569
+ height: 43px;
8570
+ margin: 0px;
8571
+ }
8572
+ #_cbhtml .is-modal.pluginsettings button svg {
8573
+ width: 17px;
8574
+ height: 17px;
8575
+ }
8576
+ #_cbhtml .is-modal.pluginsettings button:not(.is-btn-color):hover {
8577
+ background-color: #ededed;
8578
+ }
8579
+ #_cbhtml .is-modal.pluginsettings label {
8580
+ font-size: 13px;
8581
+ display: block;
8582
+ font-weight: 500;
8583
+ }
8584
+ #_cbhtml .is-modal.pluginsettings label.checkbox {
8585
+ cursor: pointer;
8586
+ display: flex;
8587
+ gap: 3px;
8588
+ align-items: center;
8589
+ }
8590
+ #_cbhtml .is-modal.pluginsettings div[contenteditable=true]:focus-visible {
8591
+ outline: #3e93f7 2px solid;
8592
+ }
8593
+
8594
+ .dark #_cbhtml .is-accordion > div {
8595
+ border: 1px solid #6e6e6e;
8596
+ }
8597
+ .dark #_cbhtml .is-accordion > div > div:first-child {
8598
+ /* header */
8599
+ background: transparent;
8600
+ }
8601
+ .dark #_cbhtml .is-outline {
8602
+ border: 1px solid #767676;
8603
+ }
8604
+ .dark #_cbhtml .is-tips {
8605
+ background: #424242;
8606
+ color: inherit;
8607
+ }
8608
+ .dark #_cbhtml .is-modal.pluginsettings .is-modal-controls {
8609
+ scrollbar-width: thin;
8610
+ scrollbar-color: #696969 #a1a1a1;
8611
+ }
8612
+ .dark #_cbhtml .is-modal.pluginsettings button:not(.is-btn-color):hover {
8613
+ background-color: rgba(0, 0, 0, 0.07);
8614
+ }