@vectoriox/iox-ui 5.77.0 → 5.78.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/design-core/index.d.ts +34 -4
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +34 -4
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +647 -12
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +38 -3
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/generation-core/index.d.ts +411 -7
- package/harness-core/index.d.ts +37 -2
- package/package.json +1 -1
- package/src/design-core/flavor-spec.generated.ts +34 -4
- package/src/generation-core/compose-site.ts +12 -2
- package/src/generation-core/patterns.ts +37 -4
- package/src/generation-core/serialized-node.ts +3 -0
- package/src/generation-core/showcase.ts +18 -7
- package/src/generation-core/site-spec.generated.ts +577 -0
- package/src/generation-core/validate-site-plan.ts +24 -2
- package/src/harness-core/business-types.ts +3 -0
- package/src/harness-core/harness-spec.generated.ts +32 -2
- package/src/harness-core/motion.ts +8 -1
|
@@ -205,6 +205,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
205
205
|
"animate": "subtle",
|
|
206
206
|
"between": "cinematic"
|
|
207
207
|
},
|
|
208
|
+
"ceiling": "expressive",
|
|
208
209
|
"imagery": "Your own photos only, large and uncropped; never stock.",
|
|
209
210
|
"pages": [
|
|
210
211
|
"home",
|
|
@@ -309,6 +310,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
309
310
|
"animate": "subtle",
|
|
310
311
|
"between": "cinematic"
|
|
311
312
|
},
|
|
313
|
+
"ceiling": "expressive",
|
|
312
314
|
"imagery": "Wide, bright room shots; details of materials.",
|
|
313
315
|
"pages": [
|
|
314
316
|
"home",
|
|
@@ -418,6 +420,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
418
420
|
"animate": "subtle",
|
|
419
421
|
"between": "fade"
|
|
420
422
|
},
|
|
423
|
+
"ceiling": "expressive",
|
|
421
424
|
"imagery": "Large project photos and drawings.",
|
|
422
425
|
"pages": [
|
|
423
426
|
"home",
|
|
@@ -523,9 +526,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
523
526
|
"motion": "standard",
|
|
524
527
|
"moves": {
|
|
525
528
|
"scroll": "smooth",
|
|
526
|
-
"animate": "
|
|
529
|
+
"animate": "expressive",
|
|
527
530
|
"between": "slide"
|
|
528
531
|
},
|
|
532
|
+
"ceiling": "expressive",
|
|
529
533
|
"imagery": "Case-study images of your own work.",
|
|
530
534
|
"pages": [
|
|
531
535
|
"home",
|
|
@@ -624,6 +628,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
624
628
|
"animate": "standard",
|
|
625
629
|
"between": "fade"
|
|
626
630
|
},
|
|
631
|
+
"ceiling": "expressive",
|
|
627
632
|
"imagery": "Your pieces, photographed flat and true to colour.",
|
|
628
633
|
"pages": [
|
|
629
634
|
"home",
|
|
@@ -725,9 +730,10 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
725
730
|
"motion": "calm",
|
|
726
731
|
"moves": {
|
|
727
732
|
"scroll": "normal",
|
|
728
|
-
"animate": "
|
|
733
|
+
"animate": "expressive",
|
|
729
734
|
"between": "slide"
|
|
730
735
|
},
|
|
736
|
+
"ceiling": "expressive",
|
|
731
737
|
"imagery": "Your pieces and hands at work; natural light.",
|
|
732
738
|
"pages": [
|
|
733
739
|
"home",
|
|
@@ -825,6 +831,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
825
831
|
"animate": "subtle",
|
|
826
832
|
"between": "cinematic"
|
|
827
833
|
},
|
|
834
|
+
"ceiling": "expressive",
|
|
828
835
|
"imagery": "Close-ups on a plain ground.",
|
|
829
836
|
"pages": [
|
|
830
837
|
"home",
|
|
@@ -926,6 +933,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
926
933
|
"animate": "standard",
|
|
927
934
|
"between": "slide"
|
|
928
935
|
},
|
|
936
|
+
"ceiling": "expressive",
|
|
929
937
|
"imagery": "Healed work, clean photos.",
|
|
930
938
|
"pages": [
|
|
931
939
|
"home",
|
|
@@ -1021,6 +1029,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1021
1029
|
"animate": "subtle",
|
|
1022
1030
|
"between": "fade"
|
|
1023
1031
|
},
|
|
1032
|
+
"ceiling": "standard",
|
|
1024
1033
|
"imagery": "Rooms, textures, hands; no faces needed.",
|
|
1025
1034
|
"pages": [
|
|
1026
1035
|
"home",
|
|
@@ -1139,6 +1148,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1139
1148
|
"animate": "standard",
|
|
1140
1149
|
"between": "fade"
|
|
1141
1150
|
},
|
|
1151
|
+
"ceiling": "lively",
|
|
1142
1152
|
"imagery": "Your own before-and-after photos.",
|
|
1143
1153
|
"pages": [
|
|
1144
1154
|
"home",
|
|
@@ -1240,6 +1250,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1240
1250
|
"animate": "subtle",
|
|
1241
1251
|
"between": "fade"
|
|
1242
1252
|
},
|
|
1253
|
+
"ceiling": "lively",
|
|
1243
1254
|
"imagery": "The room, real classes, daylight.",
|
|
1244
1255
|
"pages": [
|
|
1245
1256
|
"home",
|
|
@@ -1349,6 +1360,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1349
1360
|
"animate": "lively",
|
|
1350
1361
|
"between": "slide"
|
|
1351
1362
|
},
|
|
1363
|
+
"ceiling": "lively",
|
|
1352
1364
|
"imagery": "Real people training; movement.",
|
|
1353
1365
|
"pages": [
|
|
1354
1366
|
"home",
|
|
@@ -1450,6 +1462,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1450
1462
|
"animate": "subtle",
|
|
1451
1463
|
"between": "none"
|
|
1452
1464
|
},
|
|
1465
|
+
"ceiling": "subtle",
|
|
1453
1466
|
"imagery": "A calm room, daylight; your portrait.",
|
|
1454
1467
|
"pages": [
|
|
1455
1468
|
"home",
|
|
@@ -1559,6 +1572,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1559
1572
|
"animate": "subtle",
|
|
1560
1573
|
"between": "fade"
|
|
1561
1574
|
},
|
|
1575
|
+
"ceiling": "subtle",
|
|
1562
1576
|
"imagery": "Your team and rooms; no stock doctors.",
|
|
1563
1577
|
"pages": [
|
|
1564
1578
|
"home",
|
|
@@ -1663,6 +1677,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1663
1677
|
"animate": "subtle",
|
|
1664
1678
|
"between": "fade"
|
|
1665
1679
|
},
|
|
1680
|
+
"ceiling": "subtle",
|
|
1666
1681
|
"imagery": "Your clinic and team.",
|
|
1667
1682
|
"pages": [
|
|
1668
1683
|
"home",
|
|
@@ -1768,6 +1783,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1768
1783
|
"animate": "standard",
|
|
1769
1784
|
"between": "fade"
|
|
1770
1785
|
},
|
|
1786
|
+
"ceiling": "standard",
|
|
1771
1787
|
"imagery": "Real animals you treat (with permission).",
|
|
1772
1788
|
"pages": [
|
|
1773
1789
|
"home",
|
|
@@ -1865,6 +1881,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1865
1881
|
"animate": "standard",
|
|
1866
1882
|
"between": "fade"
|
|
1867
1883
|
},
|
|
1884
|
+
"ceiling": "expressive",
|
|
1868
1885
|
"imagery": "Your own food and room photos.",
|
|
1869
1886
|
"pages": [
|
|
1870
1887
|
"home",
|
|
@@ -1973,6 +1990,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
1973
1990
|
"animate": "standard",
|
|
1974
1991
|
"between": "slide"
|
|
1975
1992
|
},
|
|
1993
|
+
"ceiling": "lively",
|
|
1976
1994
|
"imagery": "Your bakes and drinks, close up.",
|
|
1977
1995
|
"pages": [
|
|
1978
1996
|
"home",
|
|
@@ -2075,6 +2093,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2075
2093
|
"animate": "subtle",
|
|
2076
2094
|
"between": "cinematic"
|
|
2077
2095
|
},
|
|
2096
|
+
"ceiling": "expressive",
|
|
2078
2097
|
"imagery": "The cellar, the bar, the bottle.",
|
|
2079
2098
|
"pages": [
|
|
2080
2099
|
"home",
|
|
@@ -2177,6 +2196,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2177
2196
|
"animate": "standard",
|
|
2178
2197
|
"between": "slide"
|
|
2179
2198
|
},
|
|
2199
|
+
"ceiling": "expressive",
|
|
2180
2200
|
"imagery": "Product photos on plain grounds; real people wearing them.",
|
|
2181
2201
|
"pages": [
|
|
2182
2202
|
"home",
|
|
@@ -2271,6 +2291,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2271
2291
|
"animate": "standard",
|
|
2272
2292
|
"between": "fade"
|
|
2273
2293
|
},
|
|
2294
|
+
"ceiling": "lively",
|
|
2274
2295
|
"imagery": "Your own arrangements in daylight.",
|
|
2275
2296
|
"pages": [
|
|
2276
2297
|
"home",
|
|
@@ -2366,6 +2387,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2366
2387
|
"animate": "subtle",
|
|
2367
2388
|
"between": "fade"
|
|
2368
2389
|
},
|
|
2390
|
+
"ceiling": "expressive",
|
|
2369
2391
|
"imagery": "Pieces in real rooms and on plain grounds.",
|
|
2370
2392
|
"pages": [
|
|
2371
2393
|
"home",
|
|
@@ -2462,6 +2484,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2462
2484
|
"animate": "subtle",
|
|
2463
2485
|
"between": "fade"
|
|
2464
2486
|
},
|
|
2487
|
+
"ceiling": "standard",
|
|
2465
2488
|
"imagery": "Your portrait; diagrams over stock.",
|
|
2466
2489
|
"pages": [
|
|
2467
2490
|
"home",
|
|
@@ -2562,6 +2585,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2562
2585
|
"animate": "standard",
|
|
2563
2586
|
"between": "fade"
|
|
2564
2587
|
},
|
|
2588
|
+
"ceiling": "standard",
|
|
2565
2589
|
"imagery": "Your portrait, working with people.",
|
|
2566
2590
|
"pages": [
|
|
2567
2591
|
"home",
|
|
@@ -2657,6 +2681,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2657
2681
|
"animate": "still",
|
|
2658
2682
|
"between": "none"
|
|
2659
2683
|
},
|
|
2684
|
+
"ceiling": "subtle",
|
|
2660
2685
|
"imagery": "Your team; your office.",
|
|
2661
2686
|
"pages": [
|
|
2662
2687
|
"home",
|
|
@@ -2766,6 +2791,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2766
2791
|
"animate": "standard",
|
|
2767
2792
|
"between": "slide"
|
|
2768
2793
|
},
|
|
2794
|
+
"ceiling": "lively",
|
|
2769
2795
|
"imagery": "Your own property photos; never stock.",
|
|
2770
2796
|
"pages": [
|
|
2771
2797
|
"home",
|
|
@@ -2870,6 +2896,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2870
2896
|
"animate": "standard",
|
|
2871
2897
|
"between": "fade"
|
|
2872
2898
|
},
|
|
2899
|
+
"ceiling": "standard",
|
|
2873
2900
|
"imagery": "Real people you help (with permission).",
|
|
2874
2901
|
"pages": [
|
|
2875
2902
|
"home",
|
|
@@ -2962,6 +2989,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
2962
2989
|
"animate": "standard",
|
|
2963
2990
|
"between": "cinematic"
|
|
2964
2991
|
},
|
|
2992
|
+
"ceiling": "expressive",
|
|
2965
2993
|
"imagery": "Real events at your venue.",
|
|
2966
2994
|
"pages": [
|
|
2967
2995
|
"home",
|
|
@@ -3063,6 +3091,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3063
3091
|
"animate": "subtle",
|
|
3064
3092
|
"between": "cinematic"
|
|
3065
3093
|
},
|
|
3094
|
+
"ceiling": "expressive",
|
|
3066
3095
|
"imagery": "Rooms, views, breakfast; your own photos.",
|
|
3067
3096
|
"pages": [
|
|
3068
3097
|
"home",
|
|
@@ -3170,6 +3199,7 @@ const SPEC_BUSINESS_TYPES = [
|
|
|
3170
3199
|
"animate": "lively",
|
|
3171
3200
|
"between": "slide"
|
|
3172
3201
|
},
|
|
3202
|
+
"ceiling": "lively",
|
|
3173
3203
|
"imagery": "Real classes (with permission).",
|
|
3174
3204
|
"pages": [
|
|
3175
3205
|
"home",
|
|
@@ -4180,11 +4210,16 @@ function motionFor(input, presetId, read = null, types = BUSINESS_TYPES, presets
|
|
|
4180
4210
|
const wanted = ref ?? base.animate;
|
|
4181
4211
|
let out = { scroll: base.scroll, animate: calmerChoice('animate', wanted, preset.moves.animate), between: base.between };
|
|
4182
4212
|
const why = [type ? `${type.label}: ${triple(base)}` : `${preset.name}: the style's own`];
|
|
4183
|
-
const basis = { type: type?.id ?? null, calmerStyle: out.animate !== wanted, references: !!(ref && type), littleMovement: false };
|
|
4213
|
+
const basis = { type: type?.id ?? null, calmerStyle: out.animate !== wanted, references: !!(ref && type), littleMovement: false, ceiling: false };
|
|
4184
4214
|
if (basis.calmerStyle)
|
|
4185
4215
|
why.push(`${preset.name} moves less (${label('animate', preset.moves.animate)})`);
|
|
4186
4216
|
if (basis.references)
|
|
4187
4217
|
why.push(`your references: ${label('animate', ref)}`);
|
|
4218
|
+
if (type && calmerChoice('animate', out.animate, type.ceiling) !== out.animate) {
|
|
4219
|
+
out = { ...out, animate: type.ceiling };
|
|
4220
|
+
basis.ceiling = true;
|
|
4221
|
+
why.push(`${type.label} goes no further than ${label('animate', type.ceiling)}`);
|
|
4222
|
+
}
|
|
4188
4223
|
if ((input.avoid ?? []).includes(LITTLE_MOVEMENT_AVOID)) {
|
|
4189
4224
|
basis.littleMovement = true;
|
|
4190
4225
|
out = {
|