@vectoriox/iox-ui 5.43.0 → 5.45.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.
@@ -41,7 +41,10 @@ const SPEC_SITE_PLAN_SHAPE = {
41
41
  "pillButtons": "boolean",
42
42
  "mode": "'light' | 'dark' | 'auto'",
43
43
  "tint?": "string — axes.tints (DS9 neutral tint)",
44
- "fonts?": "object — uploaded font families per role (DS5)"
44
+ "fonts?": "object — uploaded font families per role (DS5)",
45
+ "scroll?": "string — axes.scrolls: how the site scrolls (rev 3.1; absent = axes.motionChoices.pre)",
46
+ "animate?": "string — axes.animations: how much the sections move in as they scroll into view",
47
+ "between?": "string — axes.betweens: what plays between pages"
45
48
  },
46
49
  "contentType": {
47
50
  "name": "string — unique",
@@ -7718,6 +7721,9 @@ function validateDesign(c, design) {
7718
7721
  axis('density', SPEC_AXES.densities);
7719
7722
  axis('motion', SPEC_AXES.motions);
7720
7723
  axis('tint', SPEC_AXES.tints);
7724
+ axis('scroll', SPEC_AXES.scrolls);
7725
+ axis('animate', SPEC_AXES.animations);
7726
+ axis('between', SPEC_AXES.betweens);
7721
7727
  if (design['mode'] !== undefined && !SPEC_AXES.modes.includes(design['mode']))
7722
7728
  bad('mode', `must be one of ${SPEC_AXES.modes.join(', ')}`);
7723
7729
  if (design['pillButtons'] !== undefined && typeof design['pillButtons'] !== 'boolean')