cinqcinqdev-seo 0.1.43 → 0.1.45

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.
@@ -33,6 +33,21 @@ const radiusOptions = [
33
33
  { value: "rounded", label: "Rounded", icon: "\u25A2" },
34
34
  { value: "pill", label: "Pill", icon: "\u25EF" }
35
35
  ];
36
+ const directionOptions = [
37
+ { value: "ltr", label: "LTR", icon: "\u2192" },
38
+ { value: "rtl", label: "RTL", icon: "\u2190" }
39
+ ];
40
+ const contentWidthOptions = [
41
+ { value: "narrow", label: "Narrow", icon: "\u258F" },
42
+ { value: "normal", label: "Normal", icon: "\u25E7" },
43
+ { value: "wide", label: "Wide", icon: "\u25AC" },
44
+ { value: "full", label: "Full", icon: "\u25A3" }
45
+ ];
46
+ const textSizeOptions = [
47
+ { value: "sm", label: "Small", icon: "S" },
48
+ { value: "md", label: "Normal", icon: "M" },
49
+ { value: "lg", label: "Large", icon: "L" }
50
+ ];
36
51
  const i18n0 = (fr = "") => ({ fr, ar: "", en: "" });
37
52
  export const DEFAULT_SECTIONS = {
38
53
  HeroSection: {
@@ -54,7 +69,10 @@ export const DEFAULT_SECTIONS = {
54
69
  ctaText: i18n0("Get Started"),
55
70
  ctaLink: "/",
56
71
  spacing: "normal",
57
- radius: "rounded"
72
+ radius: "rounded",
73
+ textDirection: "ltr",
74
+ contentWidth: "normal",
75
+ textSize: "md"
58
76
  },
59
77
  groups: [
60
78
  { key: "design", label: "Design" },
@@ -84,6 +102,9 @@ export const DEFAULT_SECTIONS = {
84
102
  bgColor: { type: "color", label: "Background", group: "design" },
85
103
  textColor: { type: "color", label: "Text Color", group: "design" },
86
104
  radius: { type: "cards", label: "Arrondis", group: "design", options: radiusOptions },
105
+ textDirection: { type: "cards", label: "Direction", group: "design", options: directionOptions },
106
+ contentWidth: { type: "cards", label: "Content Width", group: "design", options: contentWidthOptions },
107
+ textSize: { type: "cards", label: "Text Size", group: "design", options: textSizeOptions },
87
108
  animation: { type: "cards", label: "Animation", group: "animation", options: animationOptions }
88
109
  }
89
110
  },
@@ -106,7 +127,10 @@ export const DEFAULT_SECTIONS = {
106
127
  textColor: "rgba(var(--text-color), 1)",
107
128
  ctas: [],
108
129
  spacing: "normal",
109
- radius: "rounded"
130
+ radius: "rounded",
131
+ textDirection: "ltr",
132
+ contentWidth: "normal",
133
+ textSize: "md"
110
134
  },
111
135
  fields: {
112
136
  layout: { type: "cards", label: "Layout", options: [
@@ -138,7 +162,10 @@ export const DEFAULT_SECTIONS = {
138
162
  bgColor: { type: "color", label: "Background" },
139
163
  textColor: { type: "color", label: "Text Color" },
140
164
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
141
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
165
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
166
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
167
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
168
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
142
169
  }
143
170
  },
144
171
  ServiceGrid: {
@@ -157,7 +184,10 @@ export const DEFAULT_SECTIONS = {
157
184
  bgColor: "rgba(var(--body-bg), 1)",
158
185
  textColor: "rgba(var(--text-color), 1)",
159
186
  spacing: "normal",
160
- radius: "rounded"
187
+ radius: "rounded",
188
+ textDirection: "ltr",
189
+ contentWidth: "normal",
190
+ textSize: "md"
161
191
  },
162
192
  fields: {
163
193
  layout: { type: "cards", label: "Layout", options: [
@@ -182,7 +212,10 @@ export const DEFAULT_SECTIONS = {
182
212
  bgColor: { type: "color", label: "Background" },
183
213
  textColor: { type: "color", label: "Text Color" },
184
214
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
185
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
215
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
216
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
217
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
218
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
186
219
  }
187
220
  },
188
221
  Features: {
@@ -194,7 +227,10 @@ export const DEFAULT_SECTIONS = {
194
227
  bgColor: "rgba(var(--body-bg), 1)",
195
228
  textColor: "rgba(var(--text-color), 1)",
196
229
  spacing: "normal",
197
- radius: "rounded"
230
+ radius: "rounded",
231
+ textDirection: "ltr",
232
+ contentWidth: "normal",
233
+ textSize: "md"
198
234
  },
199
235
  fields: {
200
236
  title: { type: "text", label: "Section Title", i18n: true },
@@ -205,7 +241,10 @@ export const DEFAULT_SECTIONS = {
205
241
  bgColor: { type: "color", label: "Background" },
206
242
  textColor: { type: "color", label: "Text Color" },
207
243
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
208
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
244
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
245
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
246
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
247
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
209
248
  }
210
249
  },
211
250
  FAQ: {
@@ -217,7 +256,10 @@ export const DEFAULT_SECTIONS = {
217
256
  bgColor: "rgba(var(--body-bg), 1)",
218
257
  textColor: "rgba(var(--text-color), 1)",
219
258
  spacing: "normal",
220
- radius: "rounded"
259
+ radius: "rounded",
260
+ textDirection: "ltr",
261
+ contentWidth: "narrow",
262
+ textSize: "md"
221
263
  },
222
264
  fields: {
223
265
  title: { type: "text", label: "Title", i18n: true },
@@ -228,7 +270,10 @@ export const DEFAULT_SECTIONS = {
228
270
  bgColor: { type: "color", label: "Background" },
229
271
  textColor: { type: "color", label: "Text Color" },
230
272
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
231
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
273
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
274
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
275
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
276
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
232
277
  }
233
278
  },
234
279
  Process: {
@@ -244,7 +289,10 @@ export const DEFAULT_SECTIONS = {
244
289
  bgColor: "rgba(var(--body-bg), 1)",
245
290
  textColor: "rgba(var(--text-color), 1)",
246
291
  spacing: "normal",
247
- radius: "rounded"
292
+ radius: "rounded",
293
+ textDirection: "ltr",
294
+ contentWidth: "normal",
295
+ textSize: "md"
248
296
  },
249
297
  fields: {
250
298
  layout: { type: "cards", label: "Layout", options: [
@@ -266,7 +314,10 @@ export const DEFAULT_SECTIONS = {
266
314
  bgColor: { type: "color", label: "Background" },
267
315
  textColor: { type: "color", label: "Text Color" },
268
316
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
269
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
317
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
318
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
319
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
320
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
270
321
  }
271
322
  },
272
323
  Testimonials: {
@@ -282,7 +333,10 @@ export const DEFAULT_SECTIONS = {
282
333
  bgColor: "rgba(var(--body-bg), 1)",
283
334
  textColor: "rgba(var(--text-color), 1)",
284
335
  spacing: "normal",
285
- radius: "rounded"
336
+ radius: "rounded",
337
+ textDirection: "ltr",
338
+ contentWidth: "normal",
339
+ textSize: "md"
286
340
  },
287
341
  fields: {
288
342
  layout: { type: "cards", label: "Layout", options: [
@@ -306,7 +360,10 @@ export const DEFAULT_SECTIONS = {
306
360
  bgColor: { type: "color", label: "Background" },
307
361
  textColor: { type: "color", label: "Text Color" },
308
362
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
309
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
363
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
364
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
365
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
366
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
310
367
  }
311
368
  },
312
369
  Pricing: {
@@ -322,7 +379,10 @@ export const DEFAULT_SECTIONS = {
322
379
  bgColor: "rgba(var(--body-bg), 1)",
323
380
  textColor: "rgba(var(--text-color), 1)",
324
381
  spacing: "normal",
325
- radius: "rounded"
382
+ radius: "rounded",
383
+ textDirection: "ltr",
384
+ contentWidth: "normal",
385
+ textSize: "md"
326
386
  },
327
387
  fields: {
328
388
  layout: { type: "cards", label: "Layout", options: [
@@ -346,7 +406,10 @@ export const DEFAULT_SECTIONS = {
346
406
  bgColor: { type: "color", label: "Background" },
347
407
  textColor: { type: "color", label: "Text Color" },
348
408
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
349
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
409
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
410
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
411
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
412
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
350
413
  }
351
414
  },
352
415
  ContactForm: {
@@ -361,7 +424,10 @@ export const DEFAULT_SECTIONS = {
361
424
  bgColor: "rgba(var(--body-bg), 1)",
362
425
  textColor: "rgba(var(--text-color), 1)",
363
426
  spacing: "normal",
364
- radius: "rounded"
427
+ radius: "rounded",
428
+ textDirection: "ltr",
429
+ contentWidth: "normal",
430
+ textSize: "md"
365
431
  },
366
432
  fields: {
367
433
  layout: { type: "cards", label: "Layout", options: [
@@ -376,7 +442,10 @@ export const DEFAULT_SECTIONS = {
376
442
  bgColor: { type: "color", label: "Background" },
377
443
  textColor: { type: "color", label: "Text Color" },
378
444
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
379
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
445
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
446
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
447
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
448
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
380
449
  }
381
450
  },
382
451
  // ── Blog sections ─────────────────────────────────────────────────────────
@@ -397,7 +466,10 @@ export const DEFAULT_SECTIONS = {
397
466
  bgColor: "rgba(var(--body-bg), 1)",
398
467
  textColor: "rgba(var(--text-color), 1)",
399
468
  spacing: "normal",
400
- radius: "rounded"
469
+ radius: "rounded",
470
+ textDirection: "ltr",
471
+ contentWidth: "narrow",
472
+ textSize: "md"
401
473
  },
402
474
  fields: {
403
475
  layout: { type: "cards", label: "Layout", options: [
@@ -417,7 +489,10 @@ export const DEFAULT_SECTIONS = {
417
489
  bgColor: { type: "color", label: "Background" },
418
490
  textColor: { type: "color", label: "Text Color" },
419
491
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
420
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
492
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
493
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
494
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
495
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
421
496
  }
422
497
  },
423
498
  RichText: {
@@ -432,7 +507,10 @@ export const DEFAULT_SECTIONS = {
432
507
  bgColor: "rgba(var(--body-bg), 1)",
433
508
  textColor: "rgba(var(--text-color), 1)",
434
509
  spacing: "normal",
435
- radius: "rounded"
510
+ radius: "rounded",
511
+ textDirection: "ltr",
512
+ contentWidth: "normal",
513
+ textSize: "md"
436
514
  },
437
515
  fields: {
438
516
  layout: { type: "cards", label: "Width", options: [
@@ -449,7 +527,10 @@ export const DEFAULT_SECTIONS = {
449
527
  } },
450
528
  bgColor: { type: "color", label: "Background" },
451
529
  textColor: { type: "color", label: "Text Color" },
452
- spacing: { type: "cards", label: "Espacement", options: spacingOptions }
530
+ spacing: { type: "cards", label: "Espacement", options: spacingOptions },
531
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
532
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
533
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
453
534
  }
454
535
  },
455
536
  CallToAction: {
@@ -467,7 +548,10 @@ export const DEFAULT_SECTIONS = {
467
548
  bgColor: "rgba(var(--primary-color), 1)",
468
549
  textColor: "rgba(var(--body-bg), 1)",
469
550
  spacing: "normal",
470
- radius: "rounded"
551
+ radius: "rounded",
552
+ textDirection: "ltr",
553
+ contentWidth: "normal",
554
+ textSize: "md"
471
555
  },
472
556
  fields: {
473
557
  layout: { type: "cards", label: "Layout", options: [
@@ -485,7 +569,10 @@ export const DEFAULT_SECTIONS = {
485
569
  bgColor: { type: "color", label: "Background" },
486
570
  textColor: { type: "color", label: "Text Color" },
487
571
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
488
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
572
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
573
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
574
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
575
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
489
576
  }
490
577
  },
491
578
  Quote: {
@@ -499,7 +586,10 @@ export const DEFAULT_SECTIONS = {
499
586
  avatar: "",
500
587
  bgColor: "rgba(var(--body-bg), 1)",
501
588
  textColor: "rgba(var(--text-color), 1)",
502
- spacing: "normal"
589
+ spacing: "normal",
590
+ textDirection: "ltr",
591
+ contentWidth: "narrow",
592
+ textSize: "md"
503
593
  },
504
594
  fields: {
505
595
  layout: { type: "cards", label: "Layout", options: [
@@ -513,7 +603,71 @@ export const DEFAULT_SECTIONS = {
513
603
  avatar: { type: "image", label: "Author photo" },
514
604
  bgColor: { type: "color", label: "Background" },
515
605
  textColor: { type: "color", label: "Text Color" },
516
- spacing: { type: "cards", label: "Espacement", options: spacingOptions }
606
+ spacing: { type: "cards", label: "Espacement", options: spacingOptions },
607
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
608
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
609
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
610
+ }
611
+ },
612
+ Comparison: {
613
+ label: "Comparison",
614
+ icon: "compare",
615
+ defaultProps: {
616
+ layout: "cards",
617
+ headerAlign: "center",
618
+ titleTag: "h2",
619
+ badge: i18n0(),
620
+ title: i18n0("Compare Plans"),
621
+ description: i18n0(),
622
+ rowsLabel: "Features",
623
+ rows: "Projects\nStorage\nSupport\nAPI Access\nCustom Domain",
624
+ plans: [
625
+ { name: "Starter", badge: "", price: "$0", priceUnit: "/mo", description: "Perfect for individuals and small projects.", highlighted: false, ctaText: "Get started", ctaLink: "#", features: "3 projects\n1 GB storage\nCommunity support\n\u2717 API access\n\u2717 Custom domain" },
626
+ { name: "Pro", badge: "Popular", price: "$29", priceUnit: "/mo", description: "Everything you need to scale your business.", highlighted: true, ctaText: "Start free trial", ctaLink: "#", features: "Unlimited projects\n50 GB storage\nPriority support\n\u2713 API access\n\u2713 Custom domain" },
627
+ { name: "Enterprise", badge: "", price: "$99", priceUnit: "/mo", description: "Advanced features for large organizations.", highlighted: false, ctaText: "Contact sales", ctaLink: "#", features: "Unlimited projects\nUnlimited storage\nDedicated support\n\u2713 API access\n\u2713 Custom domain" }
628
+ ],
629
+ bgColor: "rgba(var(--body-bg), 1)",
630
+ textColor: "rgba(var(--text-color), 1)",
631
+ spacing: "normal",
632
+ radius: "rounded",
633
+ textDirection: "ltr",
634
+ contentWidth: "normal",
635
+ textSize: "md"
636
+ },
637
+ fields: {
638
+ layout: { type: "cards", label: "Layout", options: [
639
+ { value: "cards", label: "Cards", icon: "\u25A4" },
640
+ { value: "table", label: "Table", icon: "\u229E" },
641
+ { value: "versus", label: "Versus", icon: "\u25E7" }
642
+ ] },
643
+ headerAlign: { type: "cards", label: "Header align", options: [
644
+ { value: "left", label: "Left", icon: "\u25C1" },
645
+ { value: "center", label: "Center", icon: "\u25C9" }
646
+ ] },
647
+ titleTag: { type: "select", label: "SEO Tag", options: tagOptions },
648
+ badge: { type: "text", label: "Badge", i18n: true },
649
+ title: { type: "text", label: "Title", i18n: true },
650
+ description: { type: "textarea", label: "Description", i18n: true },
651
+ rowsLabel: { type: "text", label: "Rows label (table layout)" },
652
+ rows: { type: "textarea", label: "Feature rows (one per line, table layout)" },
653
+ plans: { type: "list", label: "Plans / Options", itemFields: {
654
+ name: { type: "text", label: "Plan name" },
655
+ badge: { type: "text", label: "Badge (e.g. Popular)" },
656
+ price: { type: "text", label: "Price (e.g. $29)" },
657
+ priceUnit: { type: "text", label: "Unit (e.g. /month)" },
658
+ description: { type: "textarea", label: "Short description" },
659
+ highlighted: { type: "select", label: "Highlighted?", options: [{ value: false, label: "No" }, { value: true, label: "Yes" }] },
660
+ ctaText: { type: "text", label: "Button text" },
661
+ ctaLink: { type: "text", label: "Button URL" },
662
+ features: { type: "textarea", label: "Features (one per line \u2014 prefix \u2713 = included, \u2717 = excluded)" }
663
+ } },
664
+ bgColor: { type: "color", label: "Background" },
665
+ textColor: { type: "color", label: "Text Color" },
666
+ spacing: { type: "cards", label: "Espacement", options: spacingOptions },
667
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
668
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
669
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
670
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
517
671
  }
518
672
  },
519
673
  Newsletter: {
@@ -530,7 +684,10 @@ export const DEFAULT_SECTIONS = {
530
684
  bgColor: "rgba(var(--body-bg), 1)",
531
685
  textColor: "rgba(var(--text-color), 1)",
532
686
  spacing: "normal",
533
- radius: "rounded"
687
+ radius: "rounded",
688
+ textDirection: "ltr",
689
+ contentWidth: "normal",
690
+ textSize: "md"
534
691
  },
535
692
  fields: {
536
693
  layout: { type: "cards", label: "Layout", options: [
@@ -547,7 +704,10 @@ export const DEFAULT_SECTIONS = {
547
704
  bgColor: { type: "color", label: "Background" },
548
705
  textColor: { type: "color", label: "Text Color" },
549
706
  spacing: { type: "cards", label: "Espacement", options: spacingOptions },
550
- radius: { type: "cards", label: "Arrondis", options: radiusOptions }
707
+ radius: { type: "cards", label: "Arrondis", options: radiusOptions },
708
+ textDirection: { type: "cards", label: "Direction", options: directionOptions },
709
+ contentWidth: { type: "cards", label: "Content Width", options: contentWidthOptions },
710
+ textSize: { type: "cards", label: "Text Size", options: textSizeOptions }
551
711
  }
552
712
  }
553
713
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cinqcinqdev-seo",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "A reusable Nuxt 3 admin CMS module with visual page editor powered by Supabase",
5
5
  "license": "MIT",
6
6
  "module": "./dist/module.mjs",