@vectoriox/iox-ui 5.57.0 → 5.58.1
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 +3 -3
- package/design-core/index.d.ts +40 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +6 -10
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +46 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +4043 -740
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +5 -7
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +27 -1
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +3740 -1100
- package/harness-core/index.d.ts +6 -6
- package/index.d.ts +22 -1
- package/package.json +1 -1
- package/src/composite-core/accordion-runtime.ts +2 -1
- package/src/composite-core/lightbox.ts +5 -6
- package/src/design-core/entrance-timing.ts +56 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/generation-core/compose-site.ts +213 -42
- package/src/generation-core/entrances.ts +82 -13
- package/src/generation-core/patterns.ts +127 -15
- package/src/generation-core/plan-words.ts +3 -2
- package/src/generation-core/public-api.ts +3 -2
- package/src/generation-core/showcase.ts +81 -0
- package/src/generation-core/site-plan-schema.ts +21 -8
- package/src/generation-core/site-plan.model.ts +75 -4
- package/src/generation-core/site-spec.generated.ts +4019 -1174
- package/src/generation-core/validate-site-plan.ts +129 -21
- package/src/harness-core/harness-spec.generated.ts +3 -3
- package/src/harness-core/intake.ts +3 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MOOD_IDS, MOOD_LABELS, STYLE_PRESETS, flavorPackById, parseFontFamilies, SPEC_AXES, parseHexColor, rgbToOklab, presetChoices, toHexColor, stylePresetById, resolveTokenValues, designTokenRows, wcagContrastRatio, auditDesignContrast } from '@vectoriox/iox-ui/design-core';
|
|
2
|
-
import { shapeKeys, requiredShapeKeys, PathIssueCollector, isPlainObject, pathAt, FACT_KEYS, jsonText, jsonOneOf, jsonListOf, jsonShapedObject, jsonClosedObject, describeShapeKey, SPEC_SITE_LIBRARY, patternById, SITE_FACT_LABELS, SITE_TEMPLATES, STUDIO_TEMPLATE, jsonInteger } from '@vectoriox/iox-ui/generation-core';
|
|
2
|
+
import { shapeKeys, requiredShapeKeys, PathIssueCollector, isPlainObject, pathAt, FACT_KEYS, jsonText, jsonOneOf, jsonListOf, jsonShapedObject, jsonClosedObject, describeShapeKey, SPEC_SITE_LIBRARY, patternById, SITE_FACT_LABELS, HEBREW_PREFIXES, SITE_TEMPLATES, STUDIO_TEMPLATE, jsonInteger } from '@vectoriox/iox-ui/generation-core';
|
|
3
3
|
|
|
4
4
|
// GENERATED from iox-ai-guidance flavor-spec.v1.json — do not edit; re-run scripts/gen-flavor-spec.mjs
|
|
5
5
|
// (npm run gen:flavor-spec). The JSON is itself generated by iox-ai-guidance
|
|
@@ -138,7 +138,7 @@ const SPEC_STRUCTURES = {
|
|
|
138
138
|
"About",
|
|
139
139
|
"Contact"
|
|
140
140
|
],
|
|
141
|
-
"shipped":
|
|
141
|
+
"shipped": true
|
|
142
142
|
},
|
|
143
143
|
"place": {
|
|
144
144
|
"label": "Place",
|
|
@@ -146,11 +146,11 @@ const SPEC_STRUCTURES = {
|
|
|
146
146
|
"pages": [
|
|
147
147
|
"Home",
|
|
148
148
|
"Menu",
|
|
149
|
-
"Visit (hours
|
|
149
|
+
"Visit (hours and address)",
|
|
150
150
|
"About",
|
|
151
151
|
"Contact"
|
|
152
152
|
],
|
|
153
|
-
"shipped":
|
|
153
|
+
"shipped": true
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
const SPEC_BUSINESS_TYPES = [
|
|
@@ -4275,15 +4275,13 @@ function analysisPromptContext(analysis, opts = {}) {
|
|
|
4275
4275
|
* typed into the box (each becomes a "style only" reference chip, R1). Pure; the template path uses it today and
|
|
4276
4276
|
* the reading stage (M1-1) checks the model against the same match.
|
|
4277
4277
|
*/
|
|
4278
|
-
/** A single Hebrew letter that prefixes a word (the, in, to, and, from, that, as) — "בסדנאות" holds "סדנ". */
|
|
4279
|
-
const HEBREW_PREFIX = '[הבלומשכ]?';
|
|
4280
4278
|
const escapeRe = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
4281
4279
|
const KEYWORD_RES = new Map();
|
|
4282
4280
|
/** A keyword matches at the START of a word (so a stem — "סדנ", "consult" — matches its forms). */
|
|
4283
4281
|
function keywordRe(keyword) {
|
|
4284
4282
|
let re = KEYWORD_RES.get(keyword);
|
|
4285
4283
|
if (!re) {
|
|
4286
|
-
re = new RegExp(`(^|[^\\p{L}\\p{N}])${
|
|
4284
|
+
re = new RegExp(`(^|[^\\p{L}\\p{N}])${HEBREW_PREFIXES}${escapeRe(keyword.toLocaleLowerCase())}`, 'u');
|
|
4287
4285
|
KEYWORD_RES.set(keyword, re);
|
|
4288
4286
|
}
|
|
4289
4287
|
return re;
|