@vectoriox/iox-ui 5.171.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/composite-core/index.d.ts +45 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +76 -19
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- 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/composite-core/popup.ts +99 -23
- 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
|
@@ -1227,8 +1227,8 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1227
1227
|
"t": "Heading",
|
|
1228
1228
|
"es": "h2",
|
|
1229
1229
|
"level": "h2",
|
|
1230
|
-
"ph": "
|
|
1231
|
-
"text": "A
|
|
1230
|
+
"ph": "quote",
|
|
1231
|
+
"text": "A client’s own words go here",
|
|
1232
1232
|
"tracks": [
|
|
1233
1233
|
{
|
|
1234
1234
|
"prop": "words",
|
|
@@ -1244,13 +1244,13 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1244
1244
|
]
|
|
1245
1245
|
}
|
|
1246
1246
|
],
|
|
1247
|
-
"textHe": "
|
|
1247
|
+
"textHe": "כאן יופיעו המילים של לקוח"
|
|
1248
1248
|
},
|
|
1249
1249
|
{
|
|
1250
1250
|
"t": "Text",
|
|
1251
1251
|
"es": "small",
|
|
1252
|
-
"ph": "
|
|
1253
|
-
"text": "
|
|
1252
|
+
"ph": "quote",
|
|
1253
|
+
"text": "The client’s name",
|
|
1254
1254
|
"tracks": [
|
|
1255
1255
|
{
|
|
1256
1256
|
"prop": "opacity",
|
|
@@ -1266,7 +1266,7 @@ const SPEC_SITE_PATTERNS = {
|
|
|
1266
1266
|
]
|
|
1267
1267
|
}
|
|
1268
1268
|
],
|
|
1269
|
-
"textHe": "
|
|
1269
|
+
"textHe": "שם הלקוח"
|
|
1270
1270
|
}
|
|
1271
1271
|
]
|
|
1272
1272
|
}
|
|
@@ -5173,22 +5173,22 @@ const SPEC_SITE_PATTERNS = {
|
|
|
5173
5173
|
{
|
|
5174
5174
|
"t": "Text",
|
|
5175
5175
|
"es": "lead",
|
|
5176
|
-
"ph": "
|
|
5177
|
-
"text": "A
|
|
5176
|
+
"ph": "quote",
|
|
5177
|
+
"text": "A client’s own words go here",
|
|
5178
5178
|
"lay": {
|
|
5179
5179
|
"textAlign": "center"
|
|
5180
5180
|
},
|
|
5181
|
-
"textHe": "
|
|
5181
|
+
"textHe": "כאן יופיעו המילים של לקוח"
|
|
5182
5182
|
},
|
|
5183
5183
|
{
|
|
5184
5184
|
"t": "Text",
|
|
5185
5185
|
"es": "small",
|
|
5186
|
-
"ph": "
|
|
5187
|
-
"text": "
|
|
5186
|
+
"ph": "quote",
|
|
5187
|
+
"text": "The client’s name",
|
|
5188
5188
|
"lay": {
|
|
5189
5189
|
"textAlign": "center"
|
|
5190
5190
|
},
|
|
5191
|
-
"textHe": "
|
|
5191
|
+
"textHe": "שם הלקוח"
|
|
5192
5192
|
}
|
|
5193
5193
|
]
|
|
5194
5194
|
}
|
|
@@ -17797,6 +17797,9 @@ var PatternPlaceholder;
|
|
|
17797
17797
|
PatternPlaceholder["Price"] = "price";
|
|
17798
17798
|
/** L2 (`proof.stat-row`): a number the studio stands behind — publish-blocking, its label shown, never a number. */
|
|
17799
17799
|
PatternPlaceholder["Stat"] = "stat";
|
|
17800
|
+
/** iox-ui#145 (`proof.testimonial-single`, `proof.scene-words`): a client's own words or name — publish-blocking,
|
|
17801
|
+
* its label shown, never a slot (a plan can never fill a testimonial) and never a sample sentence. */
|
|
17802
|
+
PatternPlaceholder["Quote"] = "quote";
|
|
17800
17803
|
})(PatternPlaceholder || (PatternPlaceholder = {}));
|
|
17801
17804
|
/** CC3: what an `opens` node opens. */
|
|
17802
17805
|
var PatternOpens;
|
|
@@ -32962,6 +32965,8 @@ function chooseText(pn, ctx) {
|
|
|
32962
32965
|
return { value: own, placeholder: { kind: PlaceholderKind.Price } };
|
|
32963
32966
|
if (pn.ph === PatternPlaceholder.Stat)
|
|
32964
32967
|
return { value: own, placeholder: { kind: PlaceholderKind.Stat } };
|
|
32968
|
+
if (pn.ph === PatternPlaceholder.Quote)
|
|
32969
|
+
return { value: own, placeholder: { kind: PlaceholderKind.Quote } };
|
|
32965
32970
|
return { value: own };
|
|
32966
32971
|
}
|
|
32967
32972
|
/** The binding source of a scope, and the data source whose content type its item is (for its roles). */
|