@creaditor/newsletter-starterkit 1.0.55 → 1.0.57

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 (127) hide show
  1. package/dist/1142.creaditor.bundle.js +1 -1
  2. package/dist/1142.creaditor.bundle.js.gz +0 -0
  3. package/dist/1260.creaditor.bundle.js +133 -77
  4. package/dist/1260.creaditor.bundle.js.gz +0 -0
  5. package/dist/1271.creaditor.bundle.js +544 -1
  6. package/dist/1271.creaditor.bundle.js.gz +0 -0
  7. package/dist/1334.creaditor.bundle.js +3 -3
  8. package/dist/1334.creaditor.bundle.js.gz +0 -0
  9. package/dist/170.creaditor.bundle.js +160 -32
  10. package/dist/170.creaditor.bundle.js.gz +0 -0
  11. package/dist/211.creaditor.bundle.js +1 -1
  12. package/dist/211.creaditor.bundle.js.gz +0 -0
  13. package/dist/2234.creaditor.bundle.js +121 -1
  14. package/dist/2234.creaditor.bundle.js.gz +0 -0
  15. package/dist/2590.creaditor.bundle.js +1 -1
  16. package/dist/2590.creaditor.bundle.js.gz +0 -0
  17. package/dist/271.creaditor.bundle.js +6 -6
  18. package/dist/271.creaditor.bundle.js.gz +0 -0
  19. package/dist/2765.creaditor.bundle.js +1 -1
  20. package/dist/2765.creaditor.bundle.js.gz +0 -0
  21. package/dist/2956.creaditor.bundle.js +1 -1
  22. package/dist/2956.creaditor.bundle.js.gz +0 -0
  23. package/dist/3521.creaditor.bundle.js +2 -2
  24. package/dist/3521.creaditor.bundle.js.gz +0 -0
  25. package/dist/353.creaditor.bundle.js +3 -3
  26. package/dist/353.creaditor.bundle.js.gz +0 -0
  27. package/dist/3553.creaditor.bundle.js +1 -1
  28. package/dist/3553.creaditor.bundle.js.gz +0 -0
  29. package/dist/3606.creaditor.bundle.js +12 -4
  30. package/dist/3606.creaditor.bundle.js.gz +0 -0
  31. package/dist/3932.creaditor.bundle.js +4 -4
  32. package/dist/3932.creaditor.bundle.js.gz +0 -0
  33. package/dist/4061.creaditor.bundle.js +177 -0
  34. package/dist/4061.creaditor.bundle.js.LICENSE.txt +23 -0
  35. package/dist/4061.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  36. package/dist/4061.creaditor.bundle.js.gz +0 -0
  37. package/dist/4186.creaditor.bundle.js +5 -1
  38. package/dist/4186.creaditor.bundle.js.gz +0 -0
  39. package/dist/4288.creaditor.bundle.js +10 -10
  40. package/dist/4288.creaditor.bundle.js.gz +0 -0
  41. package/dist/4475.creaditor.bundle.js +1 -1
  42. package/dist/4475.creaditor.bundle.js.gz +0 -0
  43. package/dist/453.creaditor.bundle.js +12 -111
  44. package/dist/453.creaditor.bundle.js.gz +0 -0
  45. package/dist/4569.creaditor.bundle.js +3 -3
  46. package/dist/4569.creaditor.bundle.js.gz +0 -0
  47. package/dist/4639.creaditor.bundle.js +1 -1
  48. package/dist/4639.creaditor.bundle.js.gz +0 -0
  49. package/dist/4762.creaditor.bundle.js +4 -4
  50. package/dist/4762.creaditor.bundle.js.gz +0 -0
  51. package/dist/4770.creaditor.bundle.js +3 -3
  52. package/dist/4770.creaditor.bundle.js.gz +0 -0
  53. package/dist/4970.creaditor.bundle.js +1314 -0
  54. package/dist/4970.creaditor.bundle.js.gz +0 -0
  55. package/dist/5133.creaditor.bundle.js +3 -3
  56. package/dist/5133.creaditor.bundle.js.gz +0 -0
  57. package/dist/5340.creaditor.bundle.js +17 -17
  58. package/dist/5340.creaditor.bundle.js.gz +0 -0
  59. package/dist/5379.creaditor.bundle.js +70 -0
  60. package/dist/5379.creaditor.bundle.js.gz +0 -0
  61. package/dist/5391.creaditor.bundle.js +1 -1
  62. package/dist/5391.creaditor.bundle.js.gz +0 -0
  63. package/dist/567.creaditor.bundle.js +469 -364
  64. package/dist/567.creaditor.bundle.js.gz +0 -0
  65. package/dist/5849.creaditor.bundle.js +2 -2
  66. package/dist/5849.creaditor.bundle.js.gz +0 -0
  67. package/dist/589.creaditor.bundle.js +25 -8
  68. package/dist/589.creaditor.bundle.js.gz +0 -0
  69. package/dist/5909.creaditor.bundle.js +651 -0
  70. package/dist/5909.creaditor.bundle.js.gz +0 -0
  71. package/dist/5926.creaditor.bundle.js +221 -35
  72. package/dist/5926.creaditor.bundle.js.gz +0 -0
  73. package/dist/638.creaditor.bundle.js +49 -20
  74. package/dist/638.creaditor.bundle.js.gz +0 -0
  75. package/dist/6814.creaditor.bundle.js +1 -1
  76. package/dist/6814.creaditor.bundle.js.gz +0 -0
  77. package/dist/7209.creaditor.bundle.js +98 -56
  78. package/dist/7209.creaditor.bundle.js.gz +0 -0
  79. package/dist/752.creaditor.bundle.js +8 -6
  80. package/dist/752.creaditor.bundle.js.gz +0 -0
  81. package/dist/7564.creaditor.bundle.js +1 -1
  82. package/dist/7564.creaditor.bundle.js.gz +0 -0
  83. package/dist/763.creaditor.bundle.js +34 -1
  84. package/dist/763.creaditor.bundle.js.gz +0 -0
  85. package/dist/7654.creaditor.bundle.js +221 -0
  86. package/dist/7654.creaditor.bundle.js.gz +0 -0
  87. package/dist/7918.creaditor.bundle.js +1 -0
  88. package/dist/7918.creaditor.bundle.js.gz +0 -0
  89. package/dist/7937.creaditor.bundle.js +23 -50
  90. package/dist/7937.creaditor.bundle.js.gz +0 -0
  91. package/dist/7997.creaditor.bundle.js +1 -1
  92. package/dist/7997.creaditor.bundle.js.gz +0 -0
  93. package/dist/8141.creaditor.bundle.js +2 -3
  94. package/dist/8141.creaditor.bundle.js.gz +0 -0
  95. package/dist/8250.creaditor.bundle.js +1 -1
  96. package/dist/8250.creaditor.bundle.js.gz +0 -0
  97. package/dist/8443.creaditor.bundle.js +1 -1
  98. package/dist/8443.creaditor.bundle.js.gz +0 -0
  99. package/dist/8547.creaditor.bundle.js +1270 -0
  100. package/dist/8547.creaditor.bundle.js.gz +0 -0
  101. package/dist/8570.creaditor.bundle.js +3 -3
  102. package/dist/8570.creaditor.bundle.js.gz +0 -0
  103. package/dist/8646.creaditor.bundle.js +20 -23
  104. package/dist/8646.creaditor.bundle.js.gz +0 -0
  105. package/dist/8654.creaditor.bundle.js +7 -7
  106. package/dist/8654.creaditor.bundle.js.gz +0 -0
  107. package/dist/8854.creaditor.bundle.js +4 -4
  108. package/dist/8854.creaditor.bundle.js.gz +0 -0
  109. package/dist/8916.creaditor.bundle.js +3 -1
  110. package/dist/8916.creaditor.bundle.js.gz +0 -0
  111. package/dist/9041.creaditor.bundle.js +14 -16
  112. package/dist/9041.creaditor.bundle.js.gz +0 -0
  113. package/dist/9250.creaditor.bundle.js +1 -1
  114. package/dist/9250.creaditor.bundle.js.gz +0 -0
  115. package/dist/9431.creaditor.bundle.js +1 -1
  116. package/dist/9431.creaditor.bundle.js.gz +0 -0
  117. package/dist/9694.creaditor.bundle.js +1 -1
  118. package/dist/9694.creaditor.bundle.js.gz +0 -0
  119. package/dist/9994.creaditor.bundle.js +114 -0
  120. package/dist/9994.creaditor.bundle.js.gz +0 -0
  121. package/dist/creaditor.bundle.js +3508 -2299
  122. package/dist/creaditor.bundle.js.LICENSE.txt +6 -0
  123. package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
  124. package/dist/creaditor.bundle.js.gz +0 -0
  125. package/dist/service-worker.js +1 -1
  126. package/dist/service-worker.js.gz +0 -0
  127. package/package.json +1 -1
Binary file
@@ -43,7 +43,7 @@
43
43
  border-radius: 0.25rem;
44
44
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
45
45
  margin: 0;
46
- font-family: var(--font-family);
46
+ font-family: var(--font-sans);
47
47
  border-color: var(--input-border-color);
48
48
  outline: var(--input-border-color);
49
49
  box-sizing: border-box;
@@ -52,9 +52,9 @@
52
52
  border-color: black;
53
53
  }
54
54
  textarea::placeholder {
55
- font-family: var(--font-family);
55
+ font-family: var(--font-sans);
56
56
  }
57
57
  textarea:focus {
58
- border-color: var(--primary);
58
+ border-color: var(--color-primary, #6366f1);
59
59
  }
60
60
  `,customElements.define("cdtr-textarea",o)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[5340],{12258(e,t,o){o.d(t,{A:()=>c});var n=o(59929),s=o(40648);class i extends n.WF{constructor(){super(),this.label="",this.open=!0,this.persistKey=""}toggle(){this.open=!this.open,(0,s.Q)(this.persistKey,this.open)}render(){return n.qy`
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[5340],{12258(e,t,o){o.d(t,{A:()=>r});var n=o(59929),s=o(40648);class i extends n.WF{constructor(){super(),this.label="",this.open=!0,this.persistKey=""}toggle(){this.open=!this.open,(0,s.Q)(this.persistKey,this.open)}render(){return n.qy`
2
2
  <div class="section">
3
3
  <div class="header" @click=${this.toggle}>
4
4
  <span class="title"><lang-text text="${this.label}"></lang-text></span>
@@ -19,37 +19,37 @@
19
19
  --editor-container-inline-padding: 0;
20
20
  }
21
21
  .section {
22
- border-bottom: 1px solid #eaeaee;
22
+ border-bottom: 1px solid var(--color-border);
23
23
  }
24
24
  .header {
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: space-between;
28
- padding: 12px 16px;
28
+ padding: var(--space-3) var(--space-4);
29
29
  cursor: pointer;
30
30
  user-select: none;
31
31
  }
32
32
  .title {
33
- font-size: 12.5px;
33
+ font-size: var(--text-md);
34
34
  font-weight: 600;
35
- color: #222;
35
+ color: var(--color-text);
36
36
  letter-spacing: 0.01em;
37
37
  }
38
38
  .chevron {
39
39
  width: 16px;
40
40
  height: 16px;
41
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s ease;
42
- color: #ccc;
41
+ transition: transform var(--duration-normal) var(--ease-default), color var(--duration-fast) var(--ease-default);
42
+ color: var(--color-text-faint);
43
43
  }
44
44
  .header:hover .chevron {
45
- color: #888;
45
+ color: var(--color-text-muted);
46
46
  }
47
47
  .chevron.open {
48
48
  transform: rotate(180deg);
49
49
  }
50
50
  .content {
51
51
  overflow: hidden;
52
- transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
52
+ transition: max-height var(--duration-normal) var(--ease-default), opacity var(--duration-fast) var(--ease-default);
53
53
  max-height: 0;
54
54
  opacity: 0;
55
55
  }
@@ -58,9 +58,9 @@
58
58
  opacity: 1;
59
59
  }
60
60
  .content-inner {
61
- padding: 0 16px 12px 16px;
61
+ padding: var(--space-3) var(--space-4) var(--space-3) var(--space-4);
62
62
  }
63
- `,i.properties={label:{type:String},open:{type:Boolean},persistKey:{type:String}},customElements.define("cdtr-editor-section",i);const c=(e,t)=>n.qy`
63
+ `,i.properties={label:{type:String},open:{type:Boolean},persistKey:{type:String}},customElements.define("cdtr-editor-section",i);const r=(e,t)=>n.qy`
64
64
  <cdtr-editor-section
65
65
  .label=${e.label}
66
66
  .open=${!1!==e.open}
@@ -68,28 +68,28 @@
68
68
  >
69
69
  ${t}
70
70
  </cdtr-editor-section>
71
- `},40648(e,t,o){o.d(t,{Q:()=>c,i:()=>i});const n="cdtr:section-open";function s(){try{const e=localStorage.getItem(n);return e?JSON.parse(e):{}}catch(e){return{}}}function i(e){if(!e)return;const t=s();return Object.prototype.hasOwnProperty.call(t,e)?!!t[e]:void 0}function c(e,t){if(!e)return;const o=s();o[e]=!!t,function(e){try{localStorage.setItem(n,JSON.stringify(e))}catch(e){}}(o)}},45340(e,t,o){o.r(t),o.d(t,{SettingEditor:()=>r});var n=o(59929),s=o(86319),i=o(36565),c=(o(12258),o(79307));class r extends n.WF{constructor(){super(),this.onInspect=this.onInspect.bind(this),this.name="",this.element_ID=" ",this.cmds={onToggleDisplayMode:(e,t)=>{i.Ay.store().execCommand(`show_on_${e}`,t),this[`show_on_${e}`]=t},onChangeElementID(e){i.Ay.store().execCommand("element_ID",e.target.value)},onChangeName(e){i.Ay.store().execCommand("name",e.target.value)}}}onInspect(){if(i.Ay.components.length>0){const e=i.Ay.components[0].props;this.show_on_desktop=!!e.show_on_desktop,this.show_on_tablet=!!e.show_on_tablet,this.show_on_mobile=!!e.show_on_mobile,this.name=e.name||"",this.element_ID=e.element_ID||""}}connectedCallback(){super.connectedCallback(),i.Ay.on("select",this.onInspect),i.Ay.on("update",this.onInspect),this.onInspect()}disconnectedCallback(){super.disconnectedCallback(),i.Ay.off("select",this.onInspect),i.Ay.off("update",this.onInspect)}render(){const e="block"===i.Ay.getSelectedComponent()[0].type,t="web"===s.M.get("config","channel");return n.qy`
71
+ `},40648(e,t,o){o.d(t,{Q:()=>r,i:()=>i});const n="cdtr:section-open";function s(){try{const e=localStorage.getItem(n);return e?JSON.parse(e):{}}catch(e){return{}}}function i(e){if(!e)return;const t=s();return Object.prototype.hasOwnProperty.call(t,e)?!!t[e]:void 0}function r(e,t){if(!e)return;const o=s();o[e]=!!t,function(e){try{localStorage.setItem(n,JSON.stringify(e))}catch(e){}}(o)}},45340(e,t,o){o.r(t),o.d(t,{SettingEditor:()=>a});var n=o(59929),s=o(86319),i=o(36565),r=(o(12258),o(79307));class a extends n.WF{constructor(){super(),this.onInspect=this.onInspect.bind(this),this.name="",this.element_ID=" ",this.cmds={onToggleDisplayMode:(e,t)=>{i.Ay.store().execCommand(`show_on_${e}`,t),this[`show_on_${e}`]=t},onChangeElementID(e){i.Ay.store().execCommand("element_ID",e.target.value)},onChangeName(e){i.Ay.store().execCommand("name",e.target.value)}}}onInspect(){if(i.Ay.components.length>0){const e=i.Ay.components[0].props;this.show_on_desktop=!!e.show_on_desktop,this.show_on_tablet=!!e.show_on_tablet,this.show_on_mobile=!!e.show_on_mobile,this.name=e.name||"",this.element_ID=e.element_ID||""}}connectedCallback(){super.connectedCallback(),i.Ay.on("select",this.onInspect),i.Ay.on("update",this.onInspect),this.onInspect()}disconnectedCallback(){super.disconnectedCallback(),i.Ay.off("select",this.onInspect),i.Ay.off("update",this.onInspect)}render(){const e="block"===i.Ay.getSelectedComponent()[0].type,t="web"===s.M.get("config","channel");return n.qy`
72
72
  ${e&&t?n.qy`<cdtr-editor-section label="display_mode" .open=${!0}>
73
73
  <div class="device-toggle-row">
74
74
  <div
75
75
  class="device-toggle-btn ${this.show_on_desktop?"active":""}"
76
76
  @click=${()=>this.cmds.onToggleDisplayMode("desktop",!this.show_on_desktop)}
77
77
  >
78
- <svg width="14" height="14" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${c.oe}</svg>
78
+ <svg width="14" height="14" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${r.oe}</svg>
79
79
  <lang-text text="desktop"></lang-text>
80
80
  </div>
81
81
  <div
82
82
  class="device-toggle-btn ${this.show_on_tablet?"active":""}"
83
83
  @click=${()=>this.cmds.onToggleDisplayMode("tablet",!this.show_on_tablet)}
84
84
  >
85
- <svg width="14" height="14" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${c.kN}</svg>
85
+ <svg width="14" height="14" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${r.kN}</svg>
86
86
  <lang-text text="tablet"></lang-text>
87
87
  </div>
88
88
  <div
89
89
  class="device-toggle-btn ${this.show_on_mobile?"active":""}"
90
90
  @click=${()=>this.cmds.onToggleDisplayMode("mobile",!this.show_on_mobile)}
91
91
  >
92
- <svg width="14" height="14" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${c.S9}</svg>
92
+ <svg width="14" height="14" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${r.S9}</svg>
93
93
  <lang-text text="mobile"></lang-text>
94
94
  </div>
95
95
  </div>
@@ -120,7 +120,7 @@
120
120
  ></cdtr-input>
121
121
  </cdtr-row>
122
122
  </cdtr-editor-section>
123
- `}}r.properties={name:{},element_ID:{},show_on_desktop:{},show_on_tablet:{},show_on_mobile:{}},r.styles=n.AH`
123
+ `}}a.properties={name:{},element_ID:{},show_on_desktop:{},show_on_tablet:{},show_on_mobile:{}},a.styles=n.AH`
124
124
  :host {
125
125
  direction: var(--direction-locale);
126
126
  }
@@ -153,4 +153,4 @@
153
153
  background: color-mix(in srgb, var(--accent, #5B5FC7) 12%, transparent);
154
154
  color: var(--accent, #5B5FC7);
155
155
  }
156
- `,customElements.define("cdtr-setting-editor",r)}}]);
156
+ `,customElements.define("cdtr-setting-editor",a)}}]);
Binary file
@@ -0,0 +1,70 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[5379],{55379(a,r,t){t.r(r),t.d(r,{AuroraPreset:()=>e});var n=t(59929);class e extends n.WF{render(){return n.qy`<div class="aurora">
2
+ <span></span><span></span><span></span><span></span>
3
+ </div>`}}e.properties={},e.styles=n.AH`
4
+ :host {
5
+ display: block;
6
+ width: 100%;
7
+ height: 100%;
8
+ }
9
+ .aurora {
10
+ position: relative;
11
+ width: 100%;
12
+ height: 100%;
13
+ min-height: 100%;
14
+ overflow: hidden;
15
+ background: #060a1a;
16
+ }
17
+ .aurora span {
18
+ position: absolute;
19
+ display: block;
20
+ width: 60vmax;
21
+ height: 60vmax;
22
+ border-radius: 50%;
23
+ filter: blur(60px);
24
+ opacity: 0.55;
25
+ mix-blend-mode: screen;
26
+ will-change: transform;
27
+ animation: aurora-drift 22s ease-in-out infinite;
28
+ }
29
+ .aurora span:nth-child(1) {
30
+ background: radial-gradient(circle, #22d3ee, transparent 60%);
31
+ top: -20%;
32
+ left: -10%;
33
+ animation-duration: 19s;
34
+ }
35
+ .aurora span:nth-child(2) {
36
+ background: radial-gradient(circle, #a855f7, transparent 60%);
37
+ top: 8%;
38
+ right: -15%;
39
+ animation-duration: 23s;
40
+ animation-delay: -4s;
41
+ }
42
+ .aurora span:nth-child(3) {
43
+ background: radial-gradient(circle, #34d399, transparent 60%);
44
+ bottom: -25%;
45
+ left: 18%;
46
+ animation-duration: 27s;
47
+ animation-delay: -8s;
48
+ }
49
+ .aurora span:nth-child(4) {
50
+ background: radial-gradient(circle, #f472b6, transparent 60%);
51
+ bottom: -12%;
52
+ right: 8%;
53
+ animation-duration: 21s;
54
+ animation-delay: -11s;
55
+ }
56
+ @keyframes aurora-drift {
57
+ 0% {
58
+ transform: translate(0, 0) scale(1);
59
+ }
60
+ 33% {
61
+ transform: translate(8%, 12%) scale(1.15);
62
+ }
63
+ 66% {
64
+ transform: translate(-10%, 6%) scale(0.95);
65
+ }
66
+ 100% {
67
+ transform: translate(0, 0) scale(1);
68
+ }
69
+ }
70
+ `,customElements.define("cdtr-aurora-preset",e)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[5391],{85391(n,o,a){var i=a(59929);class r extends i.WF{constructor(){super()}render(){return i.qy`<div class="background">
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[5391],{85391(n,o,a){a.r(o),a.d(o,{GlowsPreset:()=>r});var i=a(59929);class r extends i.WF{constructor(){super()}render(){return i.qy`<div class="background">
2
2
  <span></span>
3
3
  <span></span>
4
4
  <span></span>
Binary file