@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.
- package/dist/ast.js +1 -1
- package/dist/{checks-CW0nFj5n.js → checks-D-zFQt5R.js} +2 -2
- package/dist/checks.js +1 -1
- package/dist/compile-sms.d.ts +1 -1
- package/dist/compile-whatsapp.d.ts +1 -1
- package/dist/components.d.ts +3 -3
- package/dist/conditionals.js +1 -1
- package/dist/diagnostics.js +2 -2
- package/dist/jsx-dev-runtime.d.ts +1 -1
- package/dist/{jsx-runtime-fSxcvlx4.d.ts → jsx-runtime-eNIMY87F.d.ts} +2 -2
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/ops.js +2 -2
- package/dist/{parser-yzjUOGhc.d.ts → parser-DkQKIjDa.d.ts} +11 -2
- package/dist/parser.d.ts +2 -2
- package/dist/parser.js +48 -9
- package/dist/predicate-CvkzT-a2.js +539 -0
- package/dist/{predicate-DTtVtLK7.d.ts → predicate-G2SeSvoN.d.ts} +9 -2
- package/dist/predicate.d.ts +2 -2
- package/dist/predicate.js +2 -417
- package/dist/presets/category-mapping.d.ts +1 -1
- package/dist/presets/public-gallery.d.ts +2 -490
- package/dist/presets/public-gallery.js +2 -1
- package/dist/presets/public-handoff.d.ts +2 -68
- package/dist/presets/public-handoff.js +110 -24
- package/dist/presets/public-preview-artifacts.d.ts +2 -2
- package/dist/presets/public-preview.d.ts +2 -1168
- package/dist/presets/public-preview.js +17 -17
- package/dist/presets/sources.js +17 -17
- package/dist/public-gallery-D0Zv0pZE.d.ts +611 -0
- package/dist/public-preview-u1Z9aaGq.d.ts +1168 -0
- package/dist/render-template.d.ts +2 -2
- package/dist/render-template.js +1 -1
- package/dist/{variables-3NGLpNTB.d.ts → variables-if1VrV34.d.ts} +2 -2
- package/dist/variables.d.ts +1 -1
- package/dist/variables.js +1 -1
- package/generated/sml-email-language-reference.md +1 -1
- package/generated/sml-language-reference.md +1 -1
- package/package.json +6 -3
- package/dist/ast.js.map +0 -1
- package/dist/candidate.js.map +0 -1
- package/dist/checks-CW0nFj5n.js.map +0 -1
- package/dist/classes.js.map +0 -1
- package/dist/compile-sms.js.map +0 -1
- package/dist/compile-whatsapp.js.map +0 -1
- package/dist/compile.js.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/conditionals.js.map +0 -1
- package/dist/diagnostics.js.map +0 -1
- package/dist/emit.js.map +0 -1
- package/dist/footer.js.map +0 -1
- package/dist/interpolate.js.map +0 -1
- package/dist/jsx-dev-runtime.js.map +0 -1
- package/dist/jsx-runtime.js.map +0 -1
- package/dist/lexer.js.map +0 -1
- package/dist/model.js.map +0 -1
- package/dist/ops.js.map +0 -1
- package/dist/parser.js.map +0 -1
- package/dist/predicate.js.map +0 -1
- package/dist/presets/category-mapping.js.map +0 -1
- package/dist/presets/public-gallery.js.map +0 -1
- package/dist/presets/public-handoff.js.map +0 -1
- package/dist/presets/public-preview-artifacts.js.map +0 -1
- package/dist/presets/public-preview.js.map +0 -1
- package/dist/presets/sources.js.map +0 -1
- package/dist/presets.js.map +0 -1
- package/dist/printer.js.map +0 -1
- package/dist/registry.js.map +0 -1
- package/dist/render-template.js.map +0 -1
- package/dist/sms-segments.js.map +0 -1
- package/dist/theme-css.js.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/tokens.js.map +0 -1
- package/dist/variables.js.map +0 -1
- 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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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",
|