@vectoriox/iox-ui 5.58.0 → 5.59.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.
@@ -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
@@ -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;