@samva/markup 0.1.1 → 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 +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as SmlParseError } from "./diagnostics-oveE-laV.js";
|
|
2
2
|
import { C as SmlDocument } from "./ast-DAhnAvQN.js";
|
|
3
|
-
import { a as VariableKind, l as Variables } from "./variables-
|
|
4
|
-
import { a as JsxResult } from "./jsx-runtime-
|
|
3
|
+
import { a as VariableKind, l as Variables } from "./variables-if1VrV34.js";
|
|
4
|
+
import { a as JsxResult } from "./jsx-runtime-eNIMY87F.js";
|
|
5
5
|
import { Result } from "effect";
|
|
6
6
|
//#region src/render-template.d.ts
|
|
7
7
|
/**
|
package/dist/render-template.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as parsePredicate, n as collectPredicateVariables } from "./predicate-CvkzT-a2.js";
|
|
2
2
|
import { isRootTag } from "./ast.js";
|
|
3
3
|
import { createVariablesProxy } from "./variables.js";
|
|
4
4
|
import { parseSml } from "./parser.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as PredicateAst } from "./predicate-G2SeSvoN.js";
|
|
2
2
|
//#region src/variables.d.ts
|
|
3
3
|
/** Brand carried by every VariableRef, keyed off a private symbol. */
|
|
4
4
|
declare const VARIABLE_REF: unique symbol;
|
|
@@ -74,4 +74,4 @@ declare const createVariablesProxy: <T extends Record<string, unknown>>() => {
|
|
|
74
74
|
};
|
|
75
75
|
//#endregion
|
|
76
76
|
export { VariableKind as a, VariableRefBrand as c, isPredicateRef as d, isVariableRef as f, VARIABLE_REF as i, Variables as l, PREDICATE_REF as n, VariableRecorder as o, printPredicateRef as p, PredicateRef as r, VariableRef as s, CollectedVariable as t, createVariablesProxy as u };
|
|
77
|
-
//# sourceMappingURL=variables-
|
|
77
|
+
//# sourceMappingURL=variables-if1VrV34.d.ts.map
|
package/dist/variables.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as VariableKind, c as VariableRefBrand, d as isPredicateRef, f as isVariableRef, i as VARIABLE_REF, l as Variables, n as PREDICATE_REF, o as VariableRecorder, p as printPredicateRef, r as PredicateRef, s as VariableRef, t as CollectedVariable, u as createVariablesProxy } from "./variables-
|
|
1
|
+
import { a as VariableKind, c as VariableRefBrand, d as isPredicateRef, f as isVariableRef, i as VARIABLE_REF, l as Variables, n as PREDICATE_REF, o as VariableRecorder, p as printPredicateRef, r as PredicateRef, s as VariableRef, t as CollectedVariable, u as createVariablesProxy } from "./variables-if1VrV34.js";
|
|
2
2
|
export { CollectedVariable, PREDICATE_REF, PredicateRef, VARIABLE_REF, VariableKind, VariableRecorder, VariableRef, VariableRefBrand, Variables, createVariablesProxy, isPredicateRef, isVariableRef, printPredicateRef };
|
package/dist/variables.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@samva/markup",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Type-safe authoring and compilation primitives for Samva templates",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -185,6 +185,7 @@
|
|
|
185
185
|
"build": "tsdown",
|
|
186
186
|
"prepack": "bun run build",
|
|
187
187
|
"codegen:presets": "bun run scripts/codegen-presets.ts && oxfmt presets/sources.gen.ts",
|
|
188
|
+
"import:public-handoff": "bun run scripts/import-public-template-handoff.ts",
|
|
188
189
|
"codegen:tokens": "bun run scripts/codegen-tokens.ts && oxfmt src/tokens.ts",
|
|
189
190
|
"codegen:sml-reference": "bun run scripts/generate-sml-reference.ts",
|
|
190
191
|
"codegen:docs": "bun run scripts/codegen-docs.ts",
|
|
@@ -193,10 +194,10 @@
|
|
|
193
194
|
"typecheck": "tsgo --noEmit"
|
|
194
195
|
},
|
|
195
196
|
"dependencies": {
|
|
196
|
-
"effect": "4.0.0-
|
|
197
|
+
"effect": "4.0.0-rc.111"
|
|
197
198
|
},
|
|
198
199
|
"devDependencies": {
|
|
199
|
-
"@effect/vitest": "4.0.0-
|
|
200
|
+
"@effect/vitest": "4.0.0-rc.111",
|
|
200
201
|
"tailwindcss": "^4.3.3",
|
|
201
202
|
"tsdown": "^0.22.13",
|
|
202
203
|
"typescript": "^6.0.3",
|