@samva/markup 0.1.0 → 0.1.2

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 (74) hide show
  1. package/dist/ast.js +1 -1
  2. package/dist/{checks-CW0nFj5n.js → checks-D-zFQt5R.js} +2 -2
  3. package/dist/checks.js +1 -1
  4. package/dist/compile-sms.d.ts +1 -1
  5. package/dist/compile-whatsapp.d.ts +1 -1
  6. package/dist/components.d.ts +3 -3
  7. package/dist/conditionals.js +1 -1
  8. package/dist/diagnostics.js +2 -2
  9. package/dist/jsx-dev-runtime.d.ts +1 -1
  10. package/dist/{jsx-runtime-fSxcvlx4.d.ts → jsx-runtime-eNIMY87F.d.ts} +2 -2
  11. package/dist/jsx-runtime.d.ts +1 -1
  12. package/dist/ops.js +2 -2
  13. package/dist/{parser-yzjUOGhc.d.ts → parser-DkQKIjDa.d.ts} +11 -2
  14. package/dist/parser.d.ts +2 -2
  15. package/dist/parser.js +48 -9
  16. package/dist/predicate-CvkzT-a2.js +539 -0
  17. package/dist/{predicate-DTtVtLK7.d.ts → predicate-G2SeSvoN.d.ts} +9 -2
  18. package/dist/predicate.d.ts +2 -2
  19. package/dist/predicate.js +2 -417
  20. package/dist/presets/category-mapping.d.ts +1 -1
  21. package/dist/presets/public-gallery.d.ts +2 -490
  22. package/dist/presets/public-gallery.js +2 -1
  23. package/dist/presets/public-handoff.d.ts +2 -68
  24. package/dist/presets/public-handoff.js +110 -24
  25. package/dist/presets/public-preview-artifacts.d.ts +2 -2
  26. package/dist/presets/public-preview.d.ts +2 -1168
  27. package/dist/presets/public-preview.js +17 -17
  28. package/dist/presets/sources.js +17 -17
  29. package/dist/public-gallery-D0Zv0pZE.d.ts +611 -0
  30. package/dist/public-preview-u1Z9aaGq.d.ts +1168 -0
  31. package/dist/render-template.d.ts +2 -2
  32. package/dist/render-template.js +1 -1
  33. package/dist/{variables-3NGLpNTB.d.ts → variables-if1VrV34.d.ts} +2 -2
  34. package/dist/variables.d.ts +1 -1
  35. package/dist/variables.js +1 -1
  36. package/generated/sml-email-language-reference.md +1 -1
  37. package/generated/sml-language-reference.md +1 -1
  38. package/package.json +6 -3
  39. package/dist/ast.js.map +0 -1
  40. package/dist/candidate.js.map +0 -1
  41. package/dist/checks-CW0nFj5n.js.map +0 -1
  42. package/dist/classes.js.map +0 -1
  43. package/dist/compile-sms.js.map +0 -1
  44. package/dist/compile-whatsapp.js.map +0 -1
  45. package/dist/compile.js.map +0 -1
  46. package/dist/components.js.map +0 -1
  47. package/dist/conditionals.js.map +0 -1
  48. package/dist/diagnostics.js.map +0 -1
  49. package/dist/emit.js.map +0 -1
  50. package/dist/footer.js.map +0 -1
  51. package/dist/interpolate.js.map +0 -1
  52. package/dist/jsx-dev-runtime.js.map +0 -1
  53. package/dist/jsx-runtime.js.map +0 -1
  54. package/dist/lexer.js.map +0 -1
  55. package/dist/model.js.map +0 -1
  56. package/dist/ops.js.map +0 -1
  57. package/dist/parser.js.map +0 -1
  58. package/dist/predicate.js.map +0 -1
  59. package/dist/presets/category-mapping.js.map +0 -1
  60. package/dist/presets/public-gallery.js.map +0 -1
  61. package/dist/presets/public-handoff.js.map +0 -1
  62. package/dist/presets/public-preview-artifacts.js.map +0 -1
  63. package/dist/presets/public-preview.js.map +0 -1
  64. package/dist/presets/sources.js.map +0 -1
  65. package/dist/presets.js.map +0 -1
  66. package/dist/printer.js.map +0 -1
  67. package/dist/registry.js.map +0 -1
  68. package/dist/render-template.js.map +0 -1
  69. package/dist/sms-segments.js.map +0 -1
  70. package/dist/theme-css.js.map +0 -1
  71. package/dist/theme.js.map +0 -1
  72. package/dist/tokens.js.map +0 -1
  73. package/dist/variables.js.map +0 -1
  74. package/dist/version-BITr58kk.js.map +0 -1
@@ -364,7 +364,7 @@ const publicTemplatePreviews = {
364
364
  },
365
365
  "editorial-newsletter": {
366
366
  subject: "This week: the app-company pivot everyone missed",
367
- preheader: "Plus the reading list, quote of the week, and a new podcast episode.",
367
+ preheader: "Example email template. Replace the sample reporting, names, and sponsor copy before sending.",
368
368
  quality: "asset-free",
369
369
  sampleData: {
370
370
  advertiseEmailUrl: "https://merritwire.example/advertise-email",
@@ -423,7 +423,7 @@ const publicTemplatePreviews = {
423
423
  },
424
424
  "member-referral-offer": {
425
425
  subject: "Add members, earn a bonus for your household",
426
- preheader: "A limited-time reward when you welcome new members to your account.",
426
+ preheader: "Example email template. Replace the sample reward, eligibility, and terms before sending.",
427
427
  quality: "asset-free",
428
428
  sampleData: {
429
429
  accountUrl: "https://pinetide.example/account",
@@ -462,7 +462,7 @@ const publicTemplatePreviews = {
462
462
  },
463
463
  "catalog-sale-newsletter": {
464
464
  subject: "The new path is here — plus the full catalog on sale",
465
- preheader: "A finished release, the Complete Library bundle, and discounts across the catalog.",
465
+ preheader: "Example email template. Replace the sample products, prices, and offer details before sending.",
466
466
  quality: "asset-free",
467
467
  sampleData: {
468
468
  bundleListPrice: "$49",
@@ -511,7 +511,7 @@ const publicTemplatePreviews = {
511
511
  },
512
512
  "limited-time-savings": {
513
513
  subject: "Save today — this offer ends in hours",
514
- preheader: "A limited-time saving with one step to enrol.",
514
+ preheader: "Example email template. Replace the sample price, deadline, and eligibility before sending.",
515
515
  quality: "asset-free",
516
516
  sampleData: {
517
517
  advocacyLetterUrl: "https://cobblewren.example/advocacy-letter",
@@ -530,7 +530,7 @@ const publicTemplatePreviews = {
530
530
  },
531
531
  "rewards-milestone": {
532
532
  subject: "Complete a few milestones, unlock exclusive rewards",
533
- preheader: "Hit simple milestones and unlock perks worth having.",
533
+ preheader: "Example email template. Replace the sample program, milestones, and rewards before sending.",
534
534
  quality: "asset-free",
535
535
  sampleData: {
536
536
  accountLastFour: "12",
@@ -620,7 +620,7 @@ const publicTemplatePreviews = {
620
620
  },
621
621
  "travel-rewards-promo": {
622
622
  subject: "Earn bonus rewards and save on every booking",
623
- preheader: "Bonus tiers, partner codes, and your current balance inside.",
623
+ preheader: "Example email template. Replace the sample rewards, partner offers, and terms before sending.",
624
624
  quality: "asset-free",
625
625
  sampleData: {
626
626
  accountPromptImageUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='228' height='120'/%3E",
@@ -739,7 +739,7 @@ const publicTemplatePreviews = {
739
739
  },
740
740
  "product-onboarding-tour": {
741
741
  subject: "Get hours back — here's how to start",
742
- preheader: "A quick tour of the features that do the work for you.",
742
+ preheader: "Example email template. Replace the sample product, images, and feature claims before sending.",
743
743
  quality: "asset-free",
744
744
  sampleData: {
745
745
  appStoreBadgeUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'/%3E",
@@ -764,7 +764,7 @@ const publicTemplatePreviews = {
764
764
  },
765
765
  "product-updates-roundup": {
766
766
  subject: "New this month: features, stats, and an event",
767
- preheader: "Recent releases, a walkthrough, and early-bird tickets.",
767
+ preheader: "Example email template. Replace the sample releases, metrics, and event details before sending.",
768
768
  quality: "asset-free",
769
769
  sampleData: {
770
770
  accessibilityGuideUrl: "https://loomstack.example/accessibility-guide",
@@ -792,7 +792,7 @@ const publicTemplatePreviews = {
792
792
  },
793
793
  "flash-getaway-offer": {
794
794
  subject: "Your 3-night getaway offer ends soon",
795
- preheader: "Lock in the limited-time rate before the countdown runs out.",
795
+ preheader: "Example email template. Replace the sample price, availability, and booking terms before sending.",
796
796
  quality: "asset-free",
797
797
  sampleData: {
798
798
  copyrightYear: "2026",
@@ -831,7 +831,7 @@ const publicTemplatePreviews = {
831
831
  },
832
832
  "membership-benefits-promo": {
833
833
  subject: "Everything your membership unlocks",
834
- preheader: "Free delivery, monthly credit, and members-only perks.",
834
+ preheader: "Example email template. Replace the sample membership benefits, fees, and terms before sending.",
835
835
  quality: "asset-free",
836
836
  sampleData: {
837
837
  accountSettingsUrl: "https://sablemoss.example/account-settings",
@@ -860,7 +860,7 @@ const publicTemplatePreviews = {
860
860
  },
861
861
  "industry-news-digest": {
862
862
  subject: "The deal everyone's talking about — plus jobs and tools",
863
- preheader: "Lead stories, a jobs board, the tools index, and an upcoming workshop.",
863
+ preheader: "Example email template. Replace every sample report, attribution, and sponsor before sending.",
864
864
  quality: "asset-free",
865
865
  sampleData: {
866
866
  advertiseUrl: "https://keyhearth.example/advertise",
@@ -936,7 +936,7 @@ const publicTemplatePreviews = {
936
936
  },
937
937
  "weekly-deals-circular": {
938
938
  subject: "This week's circular: your biggest savings inside",
939
- preheader: "Multi-buy deals, clippable coupons, and members-only prices.",
939
+ preheader: "Example email template. Replace the sample pricing, availability, and restrictions before sending.",
940
940
  quality: "asset-free",
941
941
  sampleData: {
942
942
  allDealsUrl: "https://northcrate.example/all-deals",
@@ -989,7 +989,7 @@ const publicTemplatePreviews = {
989
989
  },
990
990
  "data-sharing-review": {
991
991
  subject: "Do you still want to share data with this app?",
992
- preheader: "Review the connection and choose to keep or remove it.",
992
+ preheader: "Example email template. Replace the sample connection details and security wording before sending.",
993
993
  quality: "asset-free",
994
994
  sampleData: {
995
995
  accountSettingsUrl: "https://hearthping.example/account-settings",
@@ -1018,7 +1018,7 @@ const publicTemplatePreviews = {
1018
1018
  },
1019
1019
  "seasonal-sale-flyer": {
1020
1020
  subject: "Seasonal savings: tiered codes and gift-card offers",
1021
- preheader: "Stacked promo codes, gift cards, and deals across every category.",
1021
+ preheader: "Example email template. Replace the sample discounts, exclusions, and products before sending.",
1022
1022
  quality: "asset-free",
1023
1023
  sampleData: {
1024
1024
  alternatorsImageUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='228' height='120'/%3E",
@@ -1086,7 +1086,7 @@ const publicTemplatePreviews = {
1086
1086
  },
1087
1087
  "setup-checklist": {
1088
1088
  subject: "Welcome — three steps to launch",
1089
- preheader: "Add apps, set up pricing, and go live in minutes.",
1089
+ preheader: "Example email template. Replace the sample product, setup steps, and timing before sending.",
1090
1090
  quality: "asset-free",
1091
1091
  sampleData: {
1092
1092
  addAppsImageUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='228' height='120'/%3E",
@@ -1100,7 +1100,7 @@ const publicTemplatePreviews = {
1100
1100
  },
1101
1101
  "feature-release-roundup": {
1102
1102
  subject: "Three new releases: Activity Feed, Links, and API GA",
1103
- preheader: "A quick tour of what shipped and where to learn more.",
1103
+ preheader: "Example email template. Replace the sample releases, claims, and links before sending.",
1104
1104
  quality: "asset-free",
1105
1105
  sampleData: {
1106
1106
  activityFeedImageUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='228' height='120'/%3E",
@@ -1129,7 +1129,7 @@ const publicTemplatePreviews = {
1129
1129
  },
1130
1130
  "season-clearance-promo": {
1131
1131
  subject: "Last chance: season deals end tomorrow",
1132
- preheader: "Select deals end at midnight — grab them before they're gone.",
1132
+ preheader: "Example email template. Replace the sample tickets, prices, deadline, and terms before sending.",
1133
1133
  quality: "asset-free",
1134
1134
  sampleData: {
1135
1135
  contactEmailUrl: "mailto:hello@copperlane.example",