@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.
Files changed (32) hide show
  1. package/composite-core/index.d.ts +3 -3
  2. package/design-core/index.d.ts +40 -2
  3. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +6 -10
  4. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  5. package/fesm2022/vectoriox-iox-ui-design-core.mjs +46 -1
  6. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +4043 -740
  8. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +5 -7
  10. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  11. package/fesm2022/vectoriox-iox-ui.mjs +27 -1
  12. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  13. package/generation-core/index.d.ts +3740 -1100
  14. package/harness-core/index.d.ts +6 -6
  15. package/index.d.ts +22 -1
  16. package/package.json +1 -1
  17. package/src/composite-core/accordion-runtime.ts +2 -1
  18. package/src/composite-core/lightbox.ts +5 -6
  19. package/src/design-core/entrance-timing.ts +56 -0
  20. package/src/design-core/public-api.ts +1 -0
  21. package/src/generation-core/compose-site.ts +213 -42
  22. package/src/generation-core/entrances.ts +82 -13
  23. package/src/generation-core/patterns.ts +127 -15
  24. package/src/generation-core/plan-words.ts +3 -2
  25. package/src/generation-core/public-api.ts +3 -2
  26. package/src/generation-core/showcase.ts +81 -0
  27. package/src/generation-core/site-plan-schema.ts +21 -8
  28. package/src/generation-core/site-plan.model.ts +75 -4
  29. package/src/generation-core/site-spec.generated.ts +4019 -1174
  30. package/src/generation-core/validate-site-plan.ts +129 -21
  31. package/src/harness-core/harness-spec.generated.ts +3 -3
  32. 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": false
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 + map)",
149
+ "Visit (hours and address)",
150
150
  "About",
151
151
  "Contact"
152
152
  ],
153
- "shipped": false
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}])${HEBREW_PREFIX}${escapeRe(keyword.toLocaleLowerCase())}`, 'u');
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;