@vectoriox/iox-ui 5.42.0 → 5.44.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/data-core/index.d.ts +360 -0
- package/data-core/package.json +3 -0
- package/design-core/index.d.ts +215 -3
- package/fesm2022/vectoriox-iox-ui-data-core.mjs +491 -0
- package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -0
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +276 -3
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +7 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +179 -526
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +3 -0
- package/index.d.ts +112 -381
- package/package.json +5 -1
- package/src/data-core/data-source-resolver.ts +378 -0
- package/src/data-core/public-api.ts +12 -0
- package/src/data-core/relative-sources.ts +282 -0
- package/src/design-core/design-apply.ts +56 -3
- package/src/design-core/design-settings.ts +32 -3
- package/src/design-core/design-token.model.ts +23 -0
- package/src/design-core/flavor-spec.generated.ts +202 -0
- package/src/design-core/flavor-tokens.ts +2 -1
- package/src/generation-core/site-spec.generated.ts +4 -1
- package/src/generation-core/validate-site-plan.ts +3 -0
|
@@ -1425,6 +1425,208 @@ const SPEC_AXES = {
|
|
|
1425
1425
|
"inverse-line": 0.03
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
|
+
},
|
|
1429
|
+
"scrolls": {
|
|
1430
|
+
"normal": {
|
|
1431
|
+
"label": "Normal",
|
|
1432
|
+
"he": "רגילה",
|
|
1433
|
+
"hint": "The browser's own scrolling.",
|
|
1434
|
+
"lenis": null
|
|
1435
|
+
},
|
|
1436
|
+
"smooth": {
|
|
1437
|
+
"label": "Smooth",
|
|
1438
|
+
"he": "חלקה",
|
|
1439
|
+
"hint": "A short glide after each wheel turn — what every IOX site does today.",
|
|
1440
|
+
"lenis": {
|
|
1441
|
+
"duration": 1.2,
|
|
1442
|
+
"easing": "expo-out",
|
|
1443
|
+
"wheelMultiplier": 1,
|
|
1444
|
+
"syncTouch": false
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
"extra": {
|
|
1448
|
+
"label": "Extra smooth",
|
|
1449
|
+
"he": "חלקה מאוד",
|
|
1450
|
+
"hint": "A longer, softer glide; each wheel turn moves a little less.",
|
|
1451
|
+
"lenis": {
|
|
1452
|
+
"duration": 1.8,
|
|
1453
|
+
"easing": "expo-out",
|
|
1454
|
+
"wheelMultiplier": 0.9,
|
|
1455
|
+
"syncTouch": false
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
"animations": {
|
|
1460
|
+
"still": {
|
|
1461
|
+
"label": "Still",
|
|
1462
|
+
"he": "ללא",
|
|
1463
|
+
"hint": "Nothing moves in as you scroll. Buttons and cards still respond to the pointer (Speed).",
|
|
1464
|
+
"parts": {}
|
|
1465
|
+
},
|
|
1466
|
+
"subtle": {
|
|
1467
|
+
"label": "Subtle",
|
|
1468
|
+
"he": "עדינה",
|
|
1469
|
+
"hint": "Each section's content fades in once, together.",
|
|
1470
|
+
"parts": {
|
|
1471
|
+
"content": {
|
|
1472
|
+
"type": "fadeIn",
|
|
1473
|
+
"duration": 500
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
"standard": {
|
|
1478
|
+
"label": "Standard",
|
|
1479
|
+
"he": "רגילה",
|
|
1480
|
+
"hint": "Headings rise in; cards, prices and steps follow one after another.",
|
|
1481
|
+
"parts": {
|
|
1482
|
+
"heading": {
|
|
1483
|
+
"type": "moveUp",
|
|
1484
|
+
"distance": 16,
|
|
1485
|
+
"duration": 500
|
|
1486
|
+
},
|
|
1487
|
+
"items": {
|
|
1488
|
+
"type": "moveUp",
|
|
1489
|
+
"distance": 16,
|
|
1490
|
+
"duration": 450,
|
|
1491
|
+
"stagger": 80,
|
|
1492
|
+
"cap": 6
|
|
1493
|
+
},
|
|
1494
|
+
"media": {
|
|
1495
|
+
"type": "fadeIn",
|
|
1496
|
+
"duration": 600
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
"lively": {
|
|
1501
|
+
"label": "Lively",
|
|
1502
|
+
"he": "תוססת",
|
|
1503
|
+
"hint": "Bigger, longer entrances; side-by-side rows slide in from their side; the hero's words fade in.",
|
|
1504
|
+
"parts": {
|
|
1505
|
+
"heroText": {
|
|
1506
|
+
"type": "fadeIn",
|
|
1507
|
+
"duration": 400
|
|
1508
|
+
},
|
|
1509
|
+
"heading": {
|
|
1510
|
+
"type": "moveUp",
|
|
1511
|
+
"distance": 24,
|
|
1512
|
+
"duration": 600
|
|
1513
|
+
},
|
|
1514
|
+
"items": {
|
|
1515
|
+
"type": "moveUp",
|
|
1516
|
+
"distance": 24,
|
|
1517
|
+
"duration": 600,
|
|
1518
|
+
"stagger": 100,
|
|
1519
|
+
"cap": 8
|
|
1520
|
+
},
|
|
1521
|
+
"media": {
|
|
1522
|
+
"type": "fadeIn",
|
|
1523
|
+
"duration": 700
|
|
1524
|
+
},
|
|
1525
|
+
"rowMedia": {
|
|
1526
|
+
"type": "moveLeft",
|
|
1527
|
+
"mirror": "moveRight",
|
|
1528
|
+
"distance": 24,
|
|
1529
|
+
"duration": 600
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"animationFamilies": {
|
|
1535
|
+
"nav": [],
|
|
1536
|
+
"footer": [],
|
|
1537
|
+
"hero": [
|
|
1538
|
+
"heroText"
|
|
1539
|
+
],
|
|
1540
|
+
"header": [
|
|
1541
|
+
"heading"
|
|
1542
|
+
],
|
|
1543
|
+
"detail": [
|
|
1544
|
+
"heading",
|
|
1545
|
+
"media"
|
|
1546
|
+
],
|
|
1547
|
+
"proof": [
|
|
1548
|
+
"content",
|
|
1549
|
+
"heading",
|
|
1550
|
+
"items"
|
|
1551
|
+
],
|
|
1552
|
+
"feature": [
|
|
1553
|
+
"content",
|
|
1554
|
+
"heading",
|
|
1555
|
+
"items",
|
|
1556
|
+
"media",
|
|
1557
|
+
"rowMedia"
|
|
1558
|
+
],
|
|
1559
|
+
"collection": [
|
|
1560
|
+
"content",
|
|
1561
|
+
"heading",
|
|
1562
|
+
"items"
|
|
1563
|
+
],
|
|
1564
|
+
"story": [
|
|
1565
|
+
"content",
|
|
1566
|
+
"heading",
|
|
1567
|
+
"media"
|
|
1568
|
+
],
|
|
1569
|
+
"cta": [
|
|
1570
|
+
"content",
|
|
1571
|
+
"heading"
|
|
1572
|
+
],
|
|
1573
|
+
"contact": [
|
|
1574
|
+
"content",
|
|
1575
|
+
"heading"
|
|
1576
|
+
],
|
|
1577
|
+
"faq": [
|
|
1578
|
+
"content",
|
|
1579
|
+
"heading"
|
|
1580
|
+
],
|
|
1581
|
+
"pricing": [
|
|
1582
|
+
"content",
|
|
1583
|
+
"heading",
|
|
1584
|
+
"items"
|
|
1585
|
+
]
|
|
1586
|
+
},
|
|
1587
|
+
"betweens": {
|
|
1588
|
+
"none": {
|
|
1589
|
+
"label": "None",
|
|
1590
|
+
"he": "ללא",
|
|
1591
|
+
"hint": "The next page simply appears.",
|
|
1592
|
+
"transition": "none"
|
|
1593
|
+
},
|
|
1594
|
+
"fade": {
|
|
1595
|
+
"label": "Fade",
|
|
1596
|
+
"he": "דהייה",
|
|
1597
|
+
"hint": "The page fades into the next.",
|
|
1598
|
+
"transition": "fade",
|
|
1599
|
+
"feel": "snappy"
|
|
1600
|
+
},
|
|
1601
|
+
"slide": {
|
|
1602
|
+
"label": "Slide",
|
|
1603
|
+
"he": "החלקה",
|
|
1604
|
+
"hint": "The next page pushes this one aside (from the left on a Hebrew site). On phones: Fade.",
|
|
1605
|
+
"transition": "move-left",
|
|
1606
|
+
"rtl": "move-right",
|
|
1607
|
+
"feel": "smooth",
|
|
1608
|
+
"phone": "fade"
|
|
1609
|
+
},
|
|
1610
|
+
"cinematic": {
|
|
1611
|
+
"label": "Cinematic",
|
|
1612
|
+
"he": "קולנועית",
|
|
1613
|
+
"hint": "This page sinks back while the next rises over it. On phones: Fade.",
|
|
1614
|
+
"transition": "parallax-up",
|
|
1615
|
+
"feel": "cinematic",
|
|
1616
|
+
"phone": "fade"
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"motionChoices": {
|
|
1620
|
+
"pre": {
|
|
1621
|
+
"scroll": "smooth",
|
|
1622
|
+
"animate": "still",
|
|
1623
|
+
"between": "cinematic"
|
|
1624
|
+
},
|
|
1625
|
+
"reduced": {
|
|
1626
|
+
"scroll": "normal",
|
|
1627
|
+
"animate": "still",
|
|
1628
|
+
"between": "none"
|
|
1629
|
+
}
|
|
1428
1630
|
}
|
|
1429
1631
|
};
|
|
1430
1632
|
const SPEC_SPRINGS = {
|
|
@@ -14016,6 +14218,13 @@ const DESIGN_TOKEN_GROUPS = ['colour', 'type', 'shape', 'depth', 'space', 'motio
|
|
|
14016
14218
|
const TINT_IDS = Object.keys(SPEC_AXES.tints);
|
|
14017
14219
|
/** What a studio that stored its look BEFORE the tint existed wears: exactly the look's own palette. */
|
|
14018
14220
|
const PRE_TINT_DEFAULT = 'neutral';
|
|
14221
|
+
const SCROLL_IDS = Object.keys(SPEC_AXES.scrolls);
|
|
14222
|
+
const ANIMATE_IDS = Object.keys(SPEC_AXES.animations);
|
|
14223
|
+
const BETWEEN_IDS = Object.keys(SPEC_AXES.betweens);
|
|
14224
|
+
/** What a look stored BEFORE rev 3.1 wears: exactly what every live site did (Smooth · Still · Cinematic). */
|
|
14225
|
+
const PRE_MOTION = SPEC_AXES.motionChoices.pre;
|
|
14226
|
+
/** What a visitor who asks for reduced motion always gets, whatever the look chose. */
|
|
14227
|
+
const REDUCED_DESIGN_MOTION = SPEC_AXES.motionChoices.reduced;
|
|
14019
14228
|
/** The spec's flavors, typed. Assignment here is the compile-time proof that the generated
|
|
14020
14229
|
* data fits `FlavorPackV2`. */
|
|
14021
14230
|
const SPEC_FLAVORS = SPEC_FLAVOR_PACKS;
|
|
@@ -16503,6 +16712,7 @@ function defaultDesignChoices(pack) {
|
|
|
16503
16712
|
seed: pack.seed,
|
|
16504
16713
|
pairId: pack.pairs[0]?.id ?? '',
|
|
16505
16714
|
...pack.defaults,
|
|
16715
|
+
...PRE_MOTION,
|
|
16506
16716
|
};
|
|
16507
16717
|
}
|
|
16508
16718
|
/**
|
|
@@ -16830,6 +17040,9 @@ var DesignConfigKey;
|
|
|
16830
17040
|
DesignConfigKey["Mode"] = "mode";
|
|
16831
17041
|
DesignConfigKey["Tint"] = "tint";
|
|
16832
17042
|
DesignConfigKey["Fonts"] = "fonts";
|
|
17043
|
+
DesignConfigKey["Scroll"] = "scroll";
|
|
17044
|
+
DesignConfigKey["Animate"] = "animate";
|
|
17045
|
+
DesignConfigKey["Between"] = "between";
|
|
16833
17046
|
DesignConfigKey["Revert"] = "revert";
|
|
16834
17047
|
})(DesignConfigKey || (DesignConfigKey = {}));
|
|
16835
17048
|
const MODES = SPEC_AXES.modes;
|
|
@@ -16907,6 +17120,15 @@ function resolveDesignChoices(partial) {
|
|
|
16907
17120
|
mode: (MODES.includes(asString(partial?.mode) ?? '') ? asString(partial?.mode) : pack.defaults.mode),
|
|
16908
17121
|
tint: keyOf(SPEC_AXES.tints, asString(partial?.tint)) ?? pack.defaults.tint,
|
|
16909
17122
|
...(fonts ? { fonts } : {}),
|
|
17123
|
+
...resolveDesignMotion(partial),
|
|
17124
|
+
};
|
|
17125
|
+
}
|
|
17126
|
+
/** The look's motion, completed: an absent or unknown choice reads `PRE_MOTION` — what the site already does. */
|
|
17127
|
+
function resolveDesignMotion(partial) {
|
|
17128
|
+
return {
|
|
17129
|
+
scroll: keyOf(SPEC_AXES.scrolls, asString(partial?.scroll)) ?? PRE_MOTION.scroll,
|
|
17130
|
+
animate: keyOf(SPEC_AXES.animations, asString(partial?.animate)) ?? PRE_MOTION.animate,
|
|
17131
|
+
between: keyOf(SPEC_AXES.betweens, asString(partial?.between)) ?? PRE_MOTION.between,
|
|
16910
17132
|
};
|
|
16911
17133
|
}
|
|
16912
17134
|
/** The pack's own defaults for `flavorId` — what picking a card means before anything is tuned. */
|
|
@@ -16916,13 +17138,14 @@ function packDesignChoices(flavorId) {
|
|
|
16916
17138
|
/**
|
|
16917
17139
|
* What picking a pack card means, given the design the studio wears: the applied pack → the applied
|
|
16918
17140
|
* choices; another pack → that pack's defaults, CARRYING the author's chosen fonts (§5b — a font the
|
|
16919
|
-
* author chose survives a pack switch unless the author changes it)
|
|
17141
|
+
* author chose survives a pack switch unless the author changes it) and the site's motion (rev 3.1 MO-D3 —
|
|
17142
|
+
* how it scrolls and changes page is not a pack's, so a Look pick never resets it). Both picker homes call this.
|
|
16920
17143
|
*/
|
|
16921
17144
|
function choicesForPack(flavorId, applied) {
|
|
16922
17145
|
const pack = flavorPackById(flavorId) ?? defaultPack();
|
|
16923
17146
|
if (applied && resolveDesignChoices(applied).flavorId === pack.id)
|
|
16924
17147
|
return resolveDesignChoices(applied);
|
|
16925
|
-
return resolveDesignChoices({ flavorId: pack.id, fonts: applied?.fonts });
|
|
17148
|
+
return resolveDesignChoices({ flavorId: pack.id, fonts: applied?.fonts, ...resolveDesignMotion(applied) });
|
|
16926
17149
|
}
|
|
16927
17150
|
/**
|
|
16928
17151
|
* A stored `settings.design` config → the resolved design. No row (or no config) → Crisp's defaults. A
|
|
@@ -16945,6 +17168,9 @@ function readDesignConfig(config, hasRow = !!config) {
|
|
|
16945
17168
|
mode: map.get(DesignConfigKey.Mode),
|
|
16946
17169
|
tint: (storedTint ?? undefined),
|
|
16947
17170
|
fonts: map.get(DesignConfigKey.Fonts),
|
|
17171
|
+
scroll: map.get(DesignConfigKey.Scroll),
|
|
17172
|
+
animate: map.get(DesignConfigKey.Animate),
|
|
17173
|
+
between: map.get(DesignConfigKey.Between),
|
|
16948
17174
|
});
|
|
16949
17175
|
return {
|
|
16950
17176
|
choices,
|
|
@@ -16959,6 +17185,10 @@ function readDesignConfig(config, hasRow = !!config) {
|
|
|
16959
17185
|
function designModeOf(config) {
|
|
16960
17186
|
return readDesignConfig(config).choices.mode;
|
|
16961
17187
|
}
|
|
17188
|
+
/** The look's motion of a stored config — what the public page read hands the engine (`designMotion`). */
|
|
17189
|
+
function designMotionOf(config) {
|
|
17190
|
+
return resolveDesignMotion(readDesignConfig(config).choices);
|
|
17191
|
+
}
|
|
16962
17192
|
/** Resolved choices (+ the revert snapshot) → the config array a settings row stores. */
|
|
16963
17193
|
function designConfigEntries(choices, flavorVersion, revert) {
|
|
16964
17194
|
const c = resolveDesignChoices(choices);
|
|
@@ -16973,6 +17203,9 @@ function designConfigEntries(choices, flavorVersion, revert) {
|
|
|
16973
17203
|
{ key: DesignConfigKey.PillButtons, value: String(c.pillButtons) },
|
|
16974
17204
|
{ key: DesignConfigKey.Mode, value: c.mode },
|
|
16975
17205
|
{ key: DesignConfigKey.Tint, value: c.tint },
|
|
17206
|
+
{ key: DesignConfigKey.Scroll, value: c.scroll },
|
|
17207
|
+
{ key: DesignConfigKey.Animate, value: c.animate },
|
|
17208
|
+
{ key: DesignConfigKey.Between, value: c.between },
|
|
16976
17209
|
...(c.fonts ? [{ key: DesignConfigKey.Fonts, value: JSON.stringify(c.fonts) }] : []),
|
|
16977
17210
|
...(revert ? [{ key: DesignConfigKey.Revert, value: JSON.stringify(revert) }] : []),
|
|
16978
17211
|
];
|
|
@@ -16984,6 +17217,7 @@ function sameDesignChoices(a, b) {
|
|
|
16984
17217
|
return x.flavorId === y.flavorId && x.seed.toLowerCase() === y.seed.toLowerCase() && x.pairId === y.pairId
|
|
16985
17218
|
&& x.shape === y.shape && x.density === y.density && x.motion === y.motion
|
|
16986
17219
|
&& x.pillButtons === y.pillButtons && x.mode === y.mode && x.tint === y.tint
|
|
17220
|
+
&& x.scroll === y.scroll && x.animate === y.animate && x.between === y.between
|
|
16987
17221
|
&& JSON.stringify(x.fonts ?? {}) === JSON.stringify(y.fonts ?? {});
|
|
16988
17222
|
}
|
|
16989
17223
|
|
|
@@ -17084,6 +17318,45 @@ function planDesignRevert(current, design) {
|
|
|
17084
17318
|
return null;
|
|
17085
17319
|
return planFlavorRevert(current, snapshot.tokens, snapshot.wrote ?? designTokenRows(design.choices));
|
|
17086
17320
|
}
|
|
17321
|
+
/**
|
|
17322
|
+
* What an Apply of `plan` stores as its revert snapshot — the ONE rule the builder's Apply and the
|
|
17323
|
+
* server-side site build (W2) share: the whole pre-apply token set, what the apply writes into each row,
|
|
17324
|
+
* and where a revert goes back to — never a null flavor (a studio with no design row wore its design's
|
|
17325
|
+
* defaults, so that is what it returns to). An apply that writes nothing keeps the previous snapshot:
|
|
17326
|
+
* clobbering a useful one with "nothing changed" would be a lie.
|
|
17327
|
+
*/
|
|
17328
|
+
function designApplySnapshot(previous, previousConfig, existing, plan, appliedAt) {
|
|
17329
|
+
if (!plan.create.length && !plan.update.length)
|
|
17330
|
+
return previous.revert;
|
|
17331
|
+
const origin = previous.storedFlavorId
|
|
17332
|
+
? {
|
|
17333
|
+
from: { flavorId: previous.storedFlavorId, flavorVersion: previous.flavorVersion, brandSeed: previous.storedSeed },
|
|
17334
|
+
fromConfig: (previousConfig ?? []).filter(kv => kv?.key !== DesignConfigKey.Revert),
|
|
17335
|
+
}
|
|
17336
|
+
: {
|
|
17337
|
+
from: { flavorId: previous.choices.flavorId, flavorVersion: String(FLAVOR_SPEC_VERSION), brandSeed: previous.choices.seed },
|
|
17338
|
+
fromConfig: designConfigEntries(previous.choices, FLAVOR_SPEC_VERSION, null),
|
|
17339
|
+
};
|
|
17340
|
+
return {
|
|
17341
|
+
appliedAt,
|
|
17342
|
+
...origin,
|
|
17343
|
+
tokens: (existing ?? []).map(r => ({ name: r.name, type: r.type, value: r.value, values: r.values, source: r.source, group: r.group, tier: r.tier })),
|
|
17344
|
+
wrote: flavorSeedWrites(plan, existing),
|
|
17345
|
+
};
|
|
17346
|
+
}
|
|
17347
|
+
/** The config a revert puts back: the snapshot's verbatim config, else (a snapshot older than `fromConfig`)
|
|
17348
|
+
* the identity it recorded. */
|
|
17349
|
+
function designRevertConfig(snapshot) {
|
|
17350
|
+
if (snapshot.fromConfig)
|
|
17351
|
+
return snapshot.fromConfig;
|
|
17352
|
+
return [
|
|
17353
|
+
...(snapshot.from.flavorId ? [
|
|
17354
|
+
{ key: DesignConfigKey.FlavorId, value: snapshot.from.flavorId },
|
|
17355
|
+
{ key: DesignConfigKey.FlavorVersion, value: snapshot.from.flavorVersion ?? '' },
|
|
17356
|
+
] : []),
|
|
17357
|
+
...(snapshot.from.brandSeed ? [{ key: DesignConfigKey.BrandSeed, value: snapshot.from.brandSeed }] : []),
|
|
17358
|
+
];
|
|
17359
|
+
}
|
|
17087
17360
|
/** The rows a design is missing by name — the builder-load top-up (never touches an existing row). */
|
|
17088
17361
|
function missingDesignRows(existing, choices) {
|
|
17089
17362
|
const have = new Set((existing ?? []).map(r => r.name));
|
|
@@ -17217,5 +17490,5 @@ function planFontFamilyRemoval(existing, previous, family) {
|
|
|
17217
17490
|
* Generated bundle index. Do not edit.
|
|
17218
17491
|
*/
|
|
17219
17492
|
|
|
17220
|
-
export { ACCENT_TOKEN_NAMES, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, INHERITED_TEXT, LinkType, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_TINT_DEFAULT, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SCHEME_INK, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designBaseline, designConfigEntries, designModeOf, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, resolveDesignChoices, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, writeOwnedTrait };
|
|
17493
|
+
export { ACCENT_TOKEN_NAMES, ANIMATE_IDS, AdoptOutcome, AdoptSkipReason, BAR_RESERVE_BREAKPOINTS, BAR_RESERVE_CLASS, BETWEEN_IDS, BOTTOM_BAR_STYLE, BUTTON_VARIANT_TO_STYLE, CANVAS_LINK_ATTRIBUTE, CARD_LINK_CLASS, COLOR_SCHEMES, COLOR_SCHEME_TRAIT, COLOR_SCHEME_TYPES, ColorScheme, ColourCheckId, DEFAULT_FLAVOR_ID, DESIGN_TOKEN_GROUPS, DESIGN_TOKEN_TIERS, DESIGN_TOKEN_TYPES, DesignConfigKey, ELEMENT_STYLES, ELEMENT_STYLE_MARKER_CLASS, ELEMENT_STYLE_STATES, EMPTY_IMAGE_ATTRIBUTE, EMPTY_IMAGE_SRC, ElementStyleState, FLAVOR_SPEC_VERSION, FONT_CATALOG, FONT_FAMILY_TOKENS, FONT_FILE_ACCEPT, FONT_FILE_EXTENSIONS, FONT_FILE_FORMATS, FONT_STYLES, FONT_WEIGHTS, FontUploadError, GOOGLE_FONTS_CSS_ORIGIN, GOOGLE_FONTS_FILE_ORIGIN, HELD_CONTRAST, INHERITED_TEXT, LinkType, MAX_FONT_FILE_BYTES, NEW_NODE_STYLE_DEFAULTS, OwnedTraitLink, PALETTE_PRESETS, PRE_DS2_FLAVOR_DEFAULTS, PRE_MOTION, PRE_TINT_DEFAULT, REDUCED_DESIGN_MOTION, REDUCED_MOTION_OVERRIDES, REDUCED_TRANSPARENCY_OVERRIDES, REVERT_WINDOW_MS, SCHEME_INK, SCROLL_IDS, SPEC_A11Y, SPEC_AXES, SPEC_BUTTON_VARIANT_TO_STYLE, SPEC_CONTRAST, SPEC_CONTRAST_AUDIT, SPEC_DEFAULT_ELEMENT_STYLE, SPEC_ELEMENT_STYLES, SPEC_FIELD_CLASS_BASELINE, SPEC_FLAVORS, SPEC_FLAVOR_PACKS, SPEC_FONTS, SPEC_FONT_ROLES, SPEC_INK_SCOPES, SPEC_LEGACY_ALIASES, SPEC_PALETTE_PRESETS, SPEC_SCHEMES, SPEC_SCHEME_INK, SPEC_SPRINGS, SPEC_TIERS, SPEC_TIER_IDS, SPEC_TOKEN_TYPES, SUPERSEDED_STYLE_VALUES, SWISS_FLAVOR, TINT_FULL_CHROMA, TINT_IDS, TINT_LEVELS, TINT_OWN_HUE_CHROMA, TINT_TURN_CHROMA, USER_TOKEN_SOURCE, WCAG_AA_TEXT, WCAG_AA_UI, adoptElementStyles, adoptionStyleFor, apcaLc, applyElementStyle, applyHeadingLevelRule, atLightness, atLightnessMaxChroma, auditDesignContrast, barReserveClass, buildFlavorTokens, buildFontFaceCss, buttonBlockHref, catalogFontId, checkFontWeight, choicesForPack, colorSchemeClass, colorSchemeOf, colourTabChecks, compareFontWeights, compileSchemeCss, compileTokenCss, compileTokenCssBlocks, compositeOver, cssString, defaultDesignChoices, defaultElementStyleFor, deriveAccentTokens, deriveBrandTokens, designApplySnapshot, designBaseline, designConfigEntries, designModeOf, designMotionOf, designRevertConfig, designTokenRepairs, designTokenRows, elementStyleById, elementStyleClass, elementStylesFor, emptyImageLabelSrc, emptyImagePlaceholder, emptyImageSrc, ensureAlpha, ensureContrast, flavorColours, flavorPackById, flavorSeedWrites, flavorSourceStamp, fontFamilyKey, fontFileName, fontFileStem, fontFormatOf, fontPreloads, fontRoleReferences, fontStackWithout, fontWeightCovers, fontWeightRange, fontWeightValue, fontsForTokens, formatFontFamilies, formatFontFamily, formatFontWeight, googleFontHref, groupFontFamilies, hasElementStyleMarker, headingHref, inSrgbGamut, isDesignTokenGroup, isDesignTokenTier, isDesignTokenType, isFontWeightRange, isRetiredFlavorId, legacyDesignTokenRows, legacyFlavorTokens, legacyRuleTokenReferences, matchFontWeight, missingDesignRows, missingFontRoles, nodeDesignClasses, normalizeFontStyle, normalizeFontWeight, normalizeFontWeightValue, oklabToRgb, ownedTraitStatus, ownedTraitsOf, packDesignChoices, paintColours, parseCssColour, parseFontFamilies, parseFontWeight, parseHexColor, planDesignApply, planDesignRevert, planFlavorRevert, planFlavorSeed, planFontFamilyRemoval, planSwissMigration, preTintAccentGrounds, previewElementStyleAdoption, previewFontWeight, quantizeRgb, readDesignConfig, readOwnedTrait, relativeLuminance, releaseElementStyle, resolveDesignChoices, resolveDesignMotion, resolveSchemeTokenValues, resolveTokenReferences, resolveTokenValues, revertAvailable, rgbToOklab, ringColour, roleClass, sameDesignChoices, setColorScheme, specTokenNames, splitTopLevel, springToLinear, stackNamesFamily, styleKeyToKebab, switchElementStyle, syncNodeDesignClasses, toHexColor, tokenReferences, tokensToDarkVarMap, tokensToVarMap, unknownTokenReferences, untouchedSeedRow, userFontStack, validateFlavorPack, wcagContrastRatio, withSchemeInk, writeOwnedTrait };
|
|
17221
17494
|
//# sourceMappingURL=vectoriox-iox-ui-design-core.mjs.map
|