@vectoriox/iox-ui 5.172.0 → 5.173.0
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/fesm2022/vectoriox-iox-ui-generation-core.mjs +17 -12
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +16 -13
- package/package.json +1 -1
- package/src/generation-core/compose-site.ts +1 -0
- package/src/generation-core/patterns.ts +3 -0
- package/src/generation-core/site-spec.generated.ts +12 -12
|
@@ -862,23 +862,23 @@ declare const SPEC_SITE_PATTERNS: {
|
|
|
862
862
|
readonly t: "Heading";
|
|
863
863
|
readonly es: "h2";
|
|
864
864
|
readonly level: "h2";
|
|
865
|
-
readonly ph: "
|
|
866
|
-
readonly text: "A
|
|
865
|
+
readonly ph: "quote";
|
|
866
|
+
readonly text: "A client’s own words go here";
|
|
867
867
|
readonly tracks: readonly [{
|
|
868
868
|
readonly prop: "words";
|
|
869
869
|
readonly keys: readonly [readonly [0.08, 0], readonly [0.7, 100]];
|
|
870
870
|
}];
|
|
871
|
-
readonly textHe: "
|
|
871
|
+
readonly textHe: "כאן יופיעו המילים של לקוח";
|
|
872
872
|
}, {
|
|
873
873
|
readonly t: "Text";
|
|
874
874
|
readonly es: "small";
|
|
875
|
-
readonly ph: "
|
|
876
|
-
readonly text: "
|
|
875
|
+
readonly ph: "quote";
|
|
876
|
+
readonly text: "The client’s name";
|
|
877
877
|
readonly tracks: readonly [{
|
|
878
878
|
readonly prop: "opacity";
|
|
879
879
|
readonly keys: readonly [readonly [0.7, 0], readonly [0.82, 1]];
|
|
880
880
|
}];
|
|
881
|
-
readonly textHe: "
|
|
881
|
+
readonly textHe: "שם הלקוח";
|
|
882
882
|
}];
|
|
883
883
|
}];
|
|
884
884
|
}];
|
|
@@ -4290,21 +4290,21 @@ declare const SPEC_SITE_PATTERNS: {
|
|
|
4290
4290
|
}, {
|
|
4291
4291
|
readonly t: "Text";
|
|
4292
4292
|
readonly es: "lead";
|
|
4293
|
-
readonly ph: "
|
|
4294
|
-
readonly text: "A
|
|
4293
|
+
readonly ph: "quote";
|
|
4294
|
+
readonly text: "A client’s own words go here";
|
|
4295
4295
|
readonly lay: {
|
|
4296
4296
|
readonly textAlign: "center";
|
|
4297
4297
|
};
|
|
4298
|
-
readonly textHe: "
|
|
4298
|
+
readonly textHe: "כאן יופיעו המילים של לקוח";
|
|
4299
4299
|
}, {
|
|
4300
4300
|
readonly t: "Text";
|
|
4301
4301
|
readonly es: "small";
|
|
4302
|
-
readonly ph: "
|
|
4303
|
-
readonly text: "
|
|
4302
|
+
readonly ph: "quote";
|
|
4303
|
+
readonly text: "The client’s name";
|
|
4304
4304
|
readonly lay: {
|
|
4305
4305
|
readonly textAlign: "center";
|
|
4306
4306
|
};
|
|
4307
|
-
readonly textHe: "
|
|
4307
|
+
readonly textHe: "שם הלקוח";
|
|
4308
4308
|
}];
|
|
4309
4309
|
}];
|
|
4310
4310
|
}];
|
|
@@ -11239,7 +11239,10 @@ declare enum PatternPlaceholder {
|
|
|
11239
11239
|
/** CC4b (Q37): a price the studio types — free text, publish-blocking, its label shown meanwhile, never a number. */
|
|
11240
11240
|
Price = "price",
|
|
11241
11241
|
/** L2 (`proof.stat-row`): a number the studio stands behind — publish-blocking, its label shown, never a number. */
|
|
11242
|
-
Stat = "stat"
|
|
11242
|
+
Stat = "stat",
|
|
11243
|
+
/** iox-ui#145 (`proof.testimonial-single`, `proof.scene-words`): a client's own words or name — publish-blocking,
|
|
11244
|
+
* its label shown, never a slot (a plan can never fill a testimonial) and never a sample sentence. */
|
|
11245
|
+
Quote = "quote"
|
|
11243
11246
|
}
|
|
11244
11247
|
/** CC3: what an `opens` node opens. */
|
|
11245
11248
|
declare enum PatternOpens {
|
package/package.json
CHANGED
|
@@ -463,6 +463,7 @@ function chooseText(pn: PatternNode, ctx: Ctx): TextChoice {
|
|
|
463
463
|
if (pn.ph === PatternPlaceholder.Copy) return { value: own, placeholder: { kind: PlaceholderKind.Copy } };
|
|
464
464
|
if (pn.ph === PatternPlaceholder.Price) return { value: own, placeholder: { kind: PlaceholderKind.Price } };
|
|
465
465
|
if (pn.ph === PatternPlaceholder.Stat) return { value: own, placeholder: { kind: PlaceholderKind.Stat } };
|
|
466
|
+
if (pn.ph === PatternPlaceholder.Quote) return { value: own, placeholder: { kind: PlaceholderKind.Quote } };
|
|
466
467
|
return { value: own };
|
|
467
468
|
}
|
|
468
469
|
|
|
@@ -209,6 +209,9 @@ export enum PatternPlaceholder {
|
|
|
209
209
|
Price = 'price',
|
|
210
210
|
/** L2 (`proof.stat-row`): a number the studio stands behind — publish-blocking, its label shown, never a number. */
|
|
211
211
|
Stat = 'stat',
|
|
212
|
+
/** iox-ui#145 (`proof.testimonial-single`, `proof.scene-words`): a client's own words or name — publish-blocking,
|
|
213
|
+
* its label shown, never a slot (a plan can never fill a testimonial) and never a sample sentence. */
|
|
214
|
+
Quote = 'quote',
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
/** CC3: what an `opens` node opens. */
|
|
@@ -1225,8 +1225,8 @@ export const SPEC_SITE_PATTERNS = {
|
|
|
1225
1225
|
"t": "Heading",
|
|
1226
1226
|
"es": "h2",
|
|
1227
1227
|
"level": "h2",
|
|
1228
|
-
"ph": "
|
|
1229
|
-
"text": "A
|
|
1228
|
+
"ph": "quote",
|
|
1229
|
+
"text": "A client’s own words go here",
|
|
1230
1230
|
"tracks": [
|
|
1231
1231
|
{
|
|
1232
1232
|
"prop": "words",
|
|
@@ -1242,13 +1242,13 @@ export const SPEC_SITE_PATTERNS = {
|
|
|
1242
1242
|
]
|
|
1243
1243
|
}
|
|
1244
1244
|
],
|
|
1245
|
-
"textHe": "
|
|
1245
|
+
"textHe": "כאן יופיעו המילים של לקוח"
|
|
1246
1246
|
},
|
|
1247
1247
|
{
|
|
1248
1248
|
"t": "Text",
|
|
1249
1249
|
"es": "small",
|
|
1250
|
-
"ph": "
|
|
1251
|
-
"text": "
|
|
1250
|
+
"ph": "quote",
|
|
1251
|
+
"text": "The client’s name",
|
|
1252
1252
|
"tracks": [
|
|
1253
1253
|
{
|
|
1254
1254
|
"prop": "opacity",
|
|
@@ -1264,7 +1264,7 @@ export const SPEC_SITE_PATTERNS = {
|
|
|
1264
1264
|
]
|
|
1265
1265
|
}
|
|
1266
1266
|
],
|
|
1267
|
-
"textHe": "
|
|
1267
|
+
"textHe": "שם הלקוח"
|
|
1268
1268
|
}
|
|
1269
1269
|
]
|
|
1270
1270
|
}
|
|
@@ -5171,22 +5171,22 @@ export const SPEC_SITE_PATTERNS = {
|
|
|
5171
5171
|
{
|
|
5172
5172
|
"t": "Text",
|
|
5173
5173
|
"es": "lead",
|
|
5174
|
-
"ph": "
|
|
5175
|
-
"text": "A
|
|
5174
|
+
"ph": "quote",
|
|
5175
|
+
"text": "A client’s own words go here",
|
|
5176
5176
|
"lay": {
|
|
5177
5177
|
"textAlign": "center"
|
|
5178
5178
|
},
|
|
5179
|
-
"textHe": "
|
|
5179
|
+
"textHe": "כאן יופיעו המילים של לקוח"
|
|
5180
5180
|
},
|
|
5181
5181
|
{
|
|
5182
5182
|
"t": "Text",
|
|
5183
5183
|
"es": "small",
|
|
5184
|
-
"ph": "
|
|
5185
|
-
"text": "
|
|
5184
|
+
"ph": "quote",
|
|
5185
|
+
"text": "The client’s name",
|
|
5186
5186
|
"lay": {
|
|
5187
5187
|
"textAlign": "center"
|
|
5188
5188
|
},
|
|
5189
|
-
"textHe": "
|
|
5189
|
+
"textHe": "שם הלקוח"
|
|
5190
5190
|
}
|
|
5191
5191
|
]
|
|
5192
5192
|
}
|