@innovastudio/contentbuilder 1.5.60 → 1.5.62

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 (61) hide show
  1. package/package.json +1 -1
  2. package/public/contentbuilder/contentbuilder.css +241 -79
  3. package/public/contentbuilder/contentbuilder.esm.js +592 -767
  4. package/public/contentbuilder/contentbuilder.min.js +3 -3
  5. package/public/contentbuilder/lang/en.js +2 -2
  6. package/public/contentbuilder/lang/fr.js +2 -2
  7. package/public/contentbuilder/themes/colored-blue.css +31 -16
  8. package/public/contentbuilder/themes/colored-blue2.css +31 -16
  9. package/public/contentbuilder/themes/colored-blue3.css +31 -16
  10. package/public/contentbuilder/themes/colored-blue4.css +31 -16
  11. package/public/contentbuilder/themes/colored-blue5.css +31 -16
  12. package/public/contentbuilder/themes/colored-blue6.css +31 -16
  13. package/public/contentbuilder/themes/colored-blue7.css +31 -16
  14. package/public/contentbuilder/themes/colored-blue8.css +31 -16
  15. package/public/contentbuilder/themes/colored-darkblue.css +31 -16
  16. package/public/contentbuilder/themes/colored-gray.css +31 -16
  17. package/public/contentbuilder/themes/colored-green.css +31 -16
  18. package/public/contentbuilder/themes/colored-green2.css +31 -16
  19. package/public/contentbuilder/themes/colored-green3.css +31 -16
  20. package/public/contentbuilder/themes/colored-green4.css +31 -16
  21. package/public/contentbuilder/themes/colored-green5.css +31 -16
  22. package/public/contentbuilder/themes/colored-magenta.css +31 -16
  23. package/public/contentbuilder/themes/colored-orange.css +31 -16
  24. package/public/contentbuilder/themes/colored-orange2.css +31 -16
  25. package/public/contentbuilder/themes/colored-orange3.css +31 -16
  26. package/public/contentbuilder/themes/colored-pink.css +31 -16
  27. package/public/contentbuilder/themes/colored-pink2.css +31 -16
  28. package/public/contentbuilder/themes/colored-pink3.css +31 -16
  29. package/public/contentbuilder/themes/colored-pink4.css +31 -16
  30. package/public/contentbuilder/themes/colored-purple.css +31 -16
  31. package/public/contentbuilder/themes/colored-purple2.css +31 -16
  32. package/public/contentbuilder/themes/colored-red.css +31 -16
  33. package/public/contentbuilder/themes/colored-red2.css +31 -16
  34. package/public/contentbuilder/themes/colored-red3.css +31 -16
  35. package/public/contentbuilder/themes/colored-red4.css +31 -16
  36. package/public/contentbuilder/themes/colored-red5.css +31 -16
  37. package/public/contentbuilder/themes/colored-yellow.css +31 -16
  38. package/public/contentbuilder/themes/colored-yellow2.css +31 -16
  39. package/public/contentbuilder/themes/dark-blue.css +19 -15
  40. package/public/contentbuilder/themes/dark-blue2.css +19 -15
  41. package/public/contentbuilder/themes/dark-blue3.css +19 -15
  42. package/public/contentbuilder/themes/dark-gray.css +19 -15
  43. package/public/contentbuilder/themes/dark-pink.css +19 -15
  44. package/public/contentbuilder/themes/dark-purple.css +19 -15
  45. package/public/contentbuilder/themes/dark-red.css +19 -15
  46. package/public/contentbuilder/themes/dark.css +19 -15
  47. package/public/contentbuilder/themes/light-blue.css +30 -15
  48. package/public/contentbuilder/themes/light-blue2.css +30 -15
  49. package/public/contentbuilder/themes/light-blue3.css +30 -15
  50. package/public/contentbuilder/themes/light-cyan.css +30 -15
  51. package/public/contentbuilder/themes/light-gray.css +30 -15
  52. package/public/contentbuilder/themes/light-gray2.css +30 -15
  53. package/public/contentbuilder/themes/light-gray3.css +30 -15
  54. package/public/contentbuilder/themes/light-green.css +30 -15
  55. package/public/contentbuilder/themes/light-pink.css +30 -15
  56. package/public/contentbuilder/themes/light-pink2.css +30 -15
  57. package/public/contentbuilder/themes/light-purple.css +30 -15
  58. package/public/contentbuilder/themes/light-purple2.css +30 -15
  59. package/public/contentbuilder/themes/light-red.css +30 -15
  60. package/public/contentbuilder/themes/light-yellow.css +30 -15
  61. package/public/contentbuilder/themes/light-yellow2.css +30 -15
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.5.60",
4
+ "version": "1.5.62",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -263,6 +263,92 @@ button:focus-visible {
263
263
  .rte-paragraph-options,
264
264
  .rte-zoom-options
265
265
  */
266
+ /*
267
+ .pickgradientcolor {
268
+ flex-direction: column;
269
+ width: 300px;
270
+ padding: 15px;
271
+ box-sizing: border-box;
272
+ .is-settings {
273
+ margin-bottom: 15px;
274
+ & > div {
275
+ display: flex;
276
+ align-items: center;
277
+ height: 50px;
278
+ &.is-label {
279
+ height: auto;
280
+ font-family: sans-serif;
281
+ font-size: 13px;
282
+ font-weight: 300;
283
+ letter-spacing: 1px;
284
+ margin: 10px 0 3px;
285
+ }
286
+ }
287
+ button {
288
+ width: auto;
289
+ height: 37px;
290
+ font-size: 10px;
291
+ line-height: 1;
292
+ text-transform: uppercase;
293
+ padding: 1px 20px;
294
+ box-sizing: border-box;
295
+ border: none;
296
+ outline-offset: -2px;
297
+ &.is-btn-color {
298
+ width: 35px;
299
+ height: 35px;
300
+ padding: 0;
301
+ background: $ui-modal-pickcolor-button-background;
302
+ border: $ui-modal-pickgradient-button-border;
303
+ }
304
+ .is-elmgrad-remove {
305
+ position: absolute;
306
+ top: 0px;
307
+ right: 0px;
308
+ width: 20px;
309
+ height: 20px;
310
+ background: $ui-modal-pickgradient-remove-button-background;
311
+ color: $ui-modal-pickgradient-remove-button-color;
312
+ line-height: 20px;
313
+ text-align: center;
314
+ font-size: 12px;
315
+ cursor: pointer;
316
+ display: none;
317
+ }
318
+ &[data-elmgradient].active .is-elmgrad-remove {
319
+ display:block;
320
+ }
321
+ }
322
+ label {
323
+ font-size: 13px;
324
+ color: inherit;
325
+ }
326
+ } //.is-settings
327
+
328
+ button.input-gradient-clear,
329
+ button.input-gradient-clear:hover {
330
+ border: transparent 1px solid;
331
+ background-color: transparent;
332
+ }
333
+
334
+ .div-gradients {
335
+ button{
336
+ width:35px;
337
+ height:35px;
338
+ margin: 0;
339
+ padding:0;
340
+ border:none;
341
+ transition: none;
342
+ outline: none;
343
+ border-radius: 0px;
344
+
345
+ &:focus {
346
+ border: white 2px solid;
347
+ }
348
+ }
349
+ }
350
+ }
351
+ */
266
352
  }
267
353
  #_cbhtml p,
268
354
  .is-ui p {
@@ -435,7 +521,7 @@ button:focus-visible {
435
521
  border: 1px solid #f2f2f2;
436
522
  box-shadow: 4px 17px 20px 0px rgba(0, 0, 0, 0.08);
437
523
  outline: none;
438
- border-radius: 5px;
524
+ border-radius: 7px;
439
525
  overflow: hidden;
440
526
  }
441
527
  #_cbhtml .is-pop:hover,
@@ -681,7 +767,7 @@ button:focus-visible {
681
767
  color: #000;
682
768
  background: #fff;
683
769
  box-shadow: rgba(0, 0, 0, 0.05) 0px 5px 9px 0px;
684
- border-radius: 3px;
770
+ border-radius: 7px;
685
771
  overflow: hidden;
686
772
  }
687
773
  #_cbhtml .is-rte-tool div[role=button],
@@ -2197,7 +2283,7 @@ button:focus-visible {
2197
2283
  background: #fff;
2198
2284
  border: 1px solid #e3e3e3;
2199
2285
  box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.08);
2200
- border-radius: 5px;
2286
+ border-radius: 7px;
2201
2287
  overflow: hidden;
2202
2288
  }
2203
2289
  #_cbhtml .is-modal .is-modal-content,
@@ -2217,7 +2303,7 @@ button:focus-visible {
2217
2303
  width: 100%;
2218
2304
  padding: 25px 25px;
2219
2305
  box-sizing: border-box;
2220
- border-radius: 5px;
2306
+ border-radius: 7px;
2221
2307
  overflow: hidden;
2222
2308
  }
2223
2309
  #_cbhtml .is-modal.is-modal-full > div:not(.is-modal-overlay),
@@ -4587,95 +4673,171 @@ button:focus-visible {
4587
4673
  }
4588
4674
  #_cbhtml .pickgradientcolor,
4589
4675
  .is-ui .pickgradientcolor {
4676
+ width: 380px;
4590
4677
  flex-direction: column;
4591
- width: 207px;
4592
- padding: 15px;
4678
+ padding: 10px 10px 11px;
4593
4679
  box-sizing: border-box;
4594
4680
  }
4595
- #_cbhtml .pickgradientcolor .is-settings,
4596
- .is-ui .pickgradientcolor .is-settings {
4597
- margin-bottom: 15px;
4681
+ #_cbhtml .pickgradientcolor .div-presets,
4682
+ .is-ui .pickgradientcolor .div-presets {
4683
+ display: flex;
4684
+ flex-flow: wrap;
4685
+ gap: 10px;
4686
+ }
4687
+ #_cbhtml .pickgradientcolor .div-presets .btn-graditem,
4688
+ .is-ui .pickgradientcolor .div-presets .btn-graditem {
4689
+ width: 82px;
4690
+ height: 82px;
4691
+ border-radius: 5px;
4692
+ }
4693
+ #_cbhtml .pickgradientcolor .gradient-preview,
4694
+ .is-ui .pickgradientcolor .gradient-preview {
4695
+ width: 140px;
4696
+ height: 140px;
4697
+ margin: 20px 0;
4698
+ box-shadow: 0px 0px 0px 1px rgba(161, 161, 161, 0.27);
4699
+ display: none;
4598
4700
  }
4599
- #_cbhtml .pickgradientcolor .is-settings > div,
4600
- .is-ui .pickgradientcolor .is-settings > div {
4701
+ #_cbhtml .pickgradientcolor .label-saved,
4702
+ .is-ui .pickgradientcolor .label-saved {
4703
+ margin-top: 20px;
4704
+ }
4705
+ #_cbhtml .pickgradientcolor .div-saved,
4706
+ .is-ui .pickgradientcolor .div-saved {
4601
4707
  display: flex;
4602
- align-items: center;
4603
- height: 50px;
4708
+ flex-flow: wrap;
4709
+ gap: 10px;
4710
+ margin-top: 20px;
4604
4711
  }
4605
- #_cbhtml .pickgradientcolor .is-settings > div.is-label,
4606
- .is-ui .pickgradientcolor .is-settings > div.is-label {
4607
- height: auto;
4608
- font-family: sans-serif;
4609
- font-size: 13px;
4610
- font-weight: 300;
4611
- letter-spacing: 1px;
4612
- margin: 10px 0 3px;
4712
+ #_cbhtml .pickgradientcolor .div-saved div,
4713
+ .is-ui .pickgradientcolor .div-saved div {
4714
+ width: 82px;
4715
+ height: 82px;
4716
+ position: relative;
4613
4717
  }
4614
- #_cbhtml .pickgradientcolor .is-settings button,
4615
- .is-ui .pickgradientcolor .is-settings button {
4616
- width: auto;
4617
- height: 37px;
4618
- font-size: 10px;
4619
- line-height: 1;
4620
- text-transform: uppercase;
4621
- padding: 1px 20px;
4622
- box-sizing: border-box;
4623
- border: none;
4624
- outline-offset: -2px;
4718
+ #_cbhtml .pickgradientcolor .div-saved div .btn-graditem,
4719
+ .is-ui .pickgradientcolor .div-saved div .btn-graditem {
4720
+ width: 82px;
4721
+ height: 82px;
4722
+ border-radius: 5px;
4625
4723
  }
4626
- #_cbhtml .pickgradientcolor .is-settings button.is-btn-color,
4627
- .is-ui .pickgradientcolor .is-settings button.is-btn-color {
4628
- width: 35px;
4629
- height: 35px;
4630
- padding: 0;
4631
- background: rgba(255, 255, 255, 0.2);
4632
- border: rgba(0, 0, 0, 0.09) 1px solid;
4724
+ #_cbhtml .pickgradientcolor .div-saved div .btn-remove,
4725
+ .is-ui .pickgradientcolor .div-saved div .btn-remove {
4726
+ width: 19px;
4727
+ height: 19px;
4728
+ position: absolute;
4729
+ top: -8px;
4730
+ right: -8px;
4731
+ background: #fff;
4732
+ border-radius: 50%;
4733
+ border: rgba(0, 0, 0, 0.6705882353) 1px solid;
4734
+ }
4735
+ #_cbhtml .pickgradientcolor .div-saved div .btn-remove svg,
4736
+ .is-ui .pickgradientcolor .div-saved div .btn-remove svg {
4737
+ color: #000;
4738
+ }
4739
+ #_cbhtml .pickgradientcolor .div-sort,
4740
+ .is-ui .pickgradientcolor .div-sort {
4741
+ display: flex;
4742
+ gap: 28px;
4743
+ flex-flow: wrap;
4744
+ margin-top: 20px;
4745
+ }
4746
+ #_cbhtml .pickgradientcolor .div-sort div,
4747
+ .is-ui .pickgradientcolor .div-sort div {
4748
+ width: 44px;
4749
+ height: 44px;
4750
+ position: relative;
4751
+ }
4752
+ #_cbhtml .pickgradientcolor .div-sort div .btn-colorstop,
4753
+ .is-ui .pickgradientcolor .div-sort div .btn-colorstop {
4754
+ width: 44px;
4755
+ height: 44px;
4756
+ border-radius: 4px;
4757
+ border: 1px solid rgba(197, 197, 197, 0.27);
4633
4758
  }
4634
- #_cbhtml .pickgradientcolor .is-settings button .is-elmgrad-remove,
4635
- .is-ui .pickgradientcolor .is-settings button .is-elmgrad-remove {
4759
+ #_cbhtml .pickgradientcolor .div-sort div .btn-remove,
4760
+ .is-ui .pickgradientcolor .div-sort div .btn-remove {
4761
+ width: 19px;
4762
+ height: 19px;
4636
4763
  position: absolute;
4637
- top: 0px;
4638
- right: 0px;
4639
- width: 20px;
4640
- height: 20px;
4641
- background: rgba(95, 94, 94, 0.26);
4642
- color: #fff;
4643
- line-height: 20px;
4644
- text-align: center;
4645
- font-size: 12px;
4646
- cursor: pointer;
4647
- display: none;
4764
+ top: -8px;
4765
+ right: -8px;
4766
+ background: #fff;
4767
+ border-radius: 50%;
4768
+ border: rgba(0, 0, 0, 0.6705882353) 1px solid;
4648
4769
  }
4649
- #_cbhtml .pickgradientcolor .is-settings button[data-elmgradient].active .is-elmgrad-remove,
4650
- .is-ui .pickgradientcolor .is-settings button[data-elmgradient].active .is-elmgrad-remove {
4651
- display: block;
4770
+ #_cbhtml .pickgradientcolor .div-sort div .btn-remove svg,
4771
+ .is-ui .pickgradientcolor .div-sort div .btn-remove svg {
4772
+ color: #000;
4652
4773
  }
4653
- #_cbhtml .pickgradientcolor .is-settings label,
4654
- .is-ui .pickgradientcolor .is-settings label {
4655
- font-size: 13px;
4656
- color: inherit;
4774
+ #_cbhtml .pickgradientcolor .div-add,
4775
+ .is-ui .pickgradientcolor .div-add {
4776
+ width: 100%;
4777
+ margin-top: 20px;
4778
+ display: flex;
4779
+ justify-content: space-between;
4780
+ align-items: center;
4657
4781
  }
4658
- #_cbhtml .pickgradientcolor button.input-gradient-clear,
4659
- #_cbhtml .pickgradientcolor button.input-gradient-clear:hover,
4660
- .is-ui .pickgradientcolor button.input-gradient-clear,
4661
- .is-ui .pickgradientcolor button.input-gradient-clear:hover {
4662
- border: transparent 1px solid;
4663
- background-color: transparent;
4782
+ #_cbhtml .pickgradientcolor .div-add .btn-clear,
4783
+ .is-ui .pickgradientcolor .div-add .btn-clear {
4784
+ width: 44px;
4785
+ height: 44px;
4786
+ border-radius: 4px;
4664
4787
  }
4665
- #_cbhtml .pickgradientcolor .div-gradients button,
4666
- .is-ui .pickgradientcolor .div-gradients button {
4667
- width: 35px;
4668
- height: 35px;
4669
- margin: 0;
4670
- padding: 0;
4671
- border: none;
4672
- transition: none;
4673
- outline: none;
4674
- border-radius: 0px;
4788
+ #_cbhtml .pickgradientcolor .div-add .btn-clear svg,
4789
+ .is-ui .pickgradientcolor .div-add .btn-clear svg {
4790
+ width: 17px;
4791
+ height: 17px;
4675
4792
  }
4676
- #_cbhtml .pickgradientcolor .div-gradients button:focus,
4677
- .is-ui .pickgradientcolor .div-gradients button:focus {
4678
- border: white 2px solid;
4793
+ #_cbhtml .pickgradientcolor .div-add .btn-addstop,
4794
+ .is-ui .pickgradientcolor .div-add .btn-addstop {
4795
+ width: 44px;
4796
+ height: 44px;
4797
+ border-radius: 4px;
4798
+ }
4799
+ #_cbhtml .pickgradientcolor .div-add .btn-addstop svg,
4800
+ .is-ui .pickgradientcolor .div-add .btn-addstop svg {
4801
+ width: 17px;
4802
+ height: 17px;
4803
+ }
4804
+ #_cbhtml .pickgradientcolor .div-save,
4805
+ .is-ui .pickgradientcolor .div-save {
4806
+ width: 100%;
4807
+ margin-top: 20px;
4808
+ }
4809
+ #_cbhtml .pickgradientcolor .div-save .btn-save,
4810
+ .is-ui .pickgradientcolor .div-save .btn-save {
4811
+ width: 100%;
4812
+ height: 44px;
4813
+ border-radius: 4px;
4814
+ }
4815
+ #_cbhtml .roundslider-container,
4816
+ .is-ui .roundslider-container {
4817
+ width: 60px;
4818
+ height: 60px;
4819
+ position: relative;
4820
+ flex: none;
4821
+ }
4822
+ #_cbhtml .roundslider-container .roundslider,
4823
+ .is-ui .roundslider-container .roundslider {
4824
+ width: 100%;
4825
+ height: 100%;
4826
+ border-radius: 50%;
4827
+ position: absolute;
4828
+ background-color: #f0f0f0;
4829
+ display: flex;
4830
+ justify-content: center;
4831
+ align-items: center;
4832
+ }
4833
+ #_cbhtml .roundslider-container .knob,
4834
+ .is-ui .roundslider-container .knob {
4835
+ width: 16px;
4836
+ height: 16px;
4837
+ border-radius: 50%;
4838
+ background-color: #007bff;
4839
+ position: absolute;
4840
+ cursor: pointer;
4679
4841
  }
4680
4842
  #_cbhtml .color-swatch,
4681
4843
  .is-ui .color-swatch {
@@ -4807,7 +4969,7 @@ button:focus-visible {
4807
4969
  box-sizing: border-box;
4808
4970
  padding: 0;
4809
4971
  outline: none;
4810
- border-radius: 2px;
4972
+ border-radius: 3px;
4811
4973
  overflow: hidden;
4812
4974
  }
4813
4975
  .is-tool:hover {