@vectoriox/iox-ui 5.125.0 → 5.127.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/actions-core/index.d.ts +74 -2
- package/design-core/index.d.ts +148 -2
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +64 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +191 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +3435 -158
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +482 -0
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +8 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +2982 -178
- package/harness-core/index.d.ts +270 -0
- package/package.json +1 -1
- package/src/actions-core/public-api.ts +1 -0
- package/src/actions-core/reveal-origin.ts +102 -0
- package/src/design-core/flavor-spec.generated.ts +47 -0
- package/src/design-core/menu-look.ts +157 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/generation-core/check-list.ts +28 -9
- package/src/generation-core/compose-site.ts +10 -5
- package/src/generation-core/footer-mix.ts +67 -8
- package/src/generation-core/header-mix.ts +38 -4
- package/src/generation-core/layout-language.ts +18 -0
- package/src/generation-core/nav-shape.ts +80 -1
- package/src/generation-core/site-spec.generated.ts +3117 -39
- package/src/harness-core/harness-spec.generated.ts +482 -0
- package/styles/iox-design.css +374 -2
package/harness-core/index.d.ts
CHANGED
|
@@ -166,6 +166,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
166
166
|
readonly moves: readonly [];
|
|
167
167
|
readonly say: readonly [];
|
|
168
168
|
};
|
|
169
|
+
readonly art: {
|
|
170
|
+
readonly preloader: readonly [];
|
|
171
|
+
readonly cover: readonly [];
|
|
172
|
+
readonly seam: readonly [];
|
|
173
|
+
readonly texture: readonly [];
|
|
174
|
+
readonly signatures: readonly [];
|
|
175
|
+
readonly secondScene: false;
|
|
176
|
+
readonly say: readonly [];
|
|
177
|
+
};
|
|
169
178
|
readonly world: "documentary";
|
|
170
179
|
readonly imagery: "Your own photos only, large and uncropped; never stock.";
|
|
171
180
|
readonly pages: readonly ["home", "work (collection)", "project (detail)", "about", "contact"];
|
|
@@ -236,6 +245,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
236
245
|
readonly moves: readonly [];
|
|
237
246
|
readonly say: readonly [];
|
|
238
247
|
};
|
|
248
|
+
readonly art: {
|
|
249
|
+
readonly preloader: readonly [];
|
|
250
|
+
readonly cover: readonly [];
|
|
251
|
+
readonly seam: readonly [];
|
|
252
|
+
readonly texture: readonly [];
|
|
253
|
+
readonly signatures: readonly [];
|
|
254
|
+
readonly secondScene: false;
|
|
255
|
+
readonly say: readonly [];
|
|
256
|
+
};
|
|
239
257
|
readonly world: "architectural";
|
|
240
258
|
readonly imagery: "Wide, bright room shots; details of materials.";
|
|
241
259
|
readonly pages: readonly ["home", "projects (collection)", "project (detail)", "services", "about", "contact"];
|
|
@@ -307,6 +325,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
307
325
|
readonly moves: readonly [];
|
|
308
326
|
readonly say: readonly [];
|
|
309
327
|
};
|
|
328
|
+
readonly art: {
|
|
329
|
+
readonly preloader: readonly [];
|
|
330
|
+
readonly cover: readonly [];
|
|
331
|
+
readonly seam: readonly [];
|
|
332
|
+
readonly texture: readonly [];
|
|
333
|
+
readonly signatures: readonly [];
|
|
334
|
+
readonly secondScene: false;
|
|
335
|
+
readonly say: readonly [];
|
|
336
|
+
};
|
|
310
337
|
readonly world: "architectural";
|
|
311
338
|
readonly imagery: "Large project photos and drawings.";
|
|
312
339
|
readonly pages: readonly ["home", "projects (collection)", "project (detail)", "about", "contact"];
|
|
@@ -379,6 +406,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
379
406
|
readonly moves: readonly [];
|
|
380
407
|
readonly say: readonly [];
|
|
381
408
|
};
|
|
409
|
+
readonly art: {
|
|
410
|
+
readonly preloader: readonly [];
|
|
411
|
+
readonly cover: readonly [];
|
|
412
|
+
readonly seam: readonly [];
|
|
413
|
+
readonly texture: readonly [];
|
|
414
|
+
readonly signatures: readonly [];
|
|
415
|
+
readonly secondScene: false;
|
|
416
|
+
readonly say: readonly [];
|
|
417
|
+
};
|
|
382
418
|
readonly world: "hard-light";
|
|
383
419
|
readonly imagery: "Case-study images of your own work.";
|
|
384
420
|
readonly pages: readonly ["home", "work (collection)", "case study (detail)", "services", "about", "contact"];
|
|
@@ -441,6 +477,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
441
477
|
readonly moves: readonly [];
|
|
442
478
|
readonly say: readonly [];
|
|
443
479
|
};
|
|
480
|
+
readonly art: {
|
|
481
|
+
readonly preloader: readonly [];
|
|
482
|
+
readonly cover: readonly [];
|
|
483
|
+
readonly seam: readonly [];
|
|
484
|
+
readonly texture: readonly [];
|
|
485
|
+
readonly signatures: readonly [];
|
|
486
|
+
readonly secondScene: false;
|
|
487
|
+
readonly say: readonly [];
|
|
488
|
+
};
|
|
444
489
|
readonly world: "drawing";
|
|
445
490
|
readonly imagery: "Your pieces, photographed flat and true to colour.";
|
|
446
491
|
readonly pages: readonly ["home", "works (collection)", "work (detail)", "about", "contact"];
|
|
@@ -505,6 +550,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
505
550
|
readonly moves: readonly [];
|
|
506
551
|
readonly say: readonly [];
|
|
507
552
|
};
|
|
553
|
+
readonly art: {
|
|
554
|
+
readonly preloader: readonly [];
|
|
555
|
+
readonly cover: readonly [];
|
|
556
|
+
readonly seam: readonly [];
|
|
557
|
+
readonly texture: readonly [];
|
|
558
|
+
readonly signatures: readonly [];
|
|
559
|
+
readonly secondScene: false;
|
|
560
|
+
readonly say: readonly [];
|
|
561
|
+
};
|
|
508
562
|
readonly world: "macro";
|
|
509
563
|
readonly imagery: "Your pieces and hands at work; natural light.";
|
|
510
564
|
readonly pages: readonly ["home", "pieces (collection)", "piece (detail)", "workshops", "about", "contact"];
|
|
@@ -568,6 +622,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
568
622
|
readonly moves: readonly [];
|
|
569
623
|
readonly say: readonly [];
|
|
570
624
|
};
|
|
625
|
+
readonly art: {
|
|
626
|
+
readonly preloader: readonly [];
|
|
627
|
+
readonly cover: readonly [];
|
|
628
|
+
readonly seam: readonly [];
|
|
629
|
+
readonly texture: readonly [];
|
|
630
|
+
readonly signatures: readonly [];
|
|
631
|
+
readonly secondScene: false;
|
|
632
|
+
readonly say: readonly [];
|
|
633
|
+
};
|
|
571
634
|
readonly world: "macro";
|
|
572
635
|
readonly imagery: "Close-ups on a plain ground.";
|
|
573
636
|
readonly pages: readonly ["home", "collection", "piece (detail)", "about", "contact"];
|
|
@@ -632,6 +695,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
632
695
|
readonly moves: readonly [];
|
|
633
696
|
readonly say: readonly [];
|
|
634
697
|
};
|
|
698
|
+
readonly art: {
|
|
699
|
+
readonly preloader: readonly [];
|
|
700
|
+
readonly cover: readonly [];
|
|
701
|
+
readonly seam: readonly [];
|
|
702
|
+
readonly texture: readonly [];
|
|
703
|
+
readonly signatures: readonly [];
|
|
704
|
+
readonly secondScene: false;
|
|
705
|
+
readonly say: readonly [];
|
|
706
|
+
};
|
|
635
707
|
readonly world: "low-key";
|
|
636
708
|
readonly imagery: "Healed work, clean photos.";
|
|
637
709
|
readonly pages: readonly ["home", "work (collection)", "artists", "faq", "contact"];
|
|
@@ -695,6 +767,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
695
767
|
readonly moves: readonly [];
|
|
696
768
|
readonly say: readonly [];
|
|
697
769
|
};
|
|
770
|
+
readonly art: {
|
|
771
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
772
|
+
readonly cover: readonly ["veil", "flood"];
|
|
773
|
+
readonly seam: readonly ["drip", "torn"];
|
|
774
|
+
readonly texture: readonly [];
|
|
775
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
776
|
+
readonly secondScene: true;
|
|
777
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
778
|
+
};
|
|
698
779
|
readonly world: "high-key";
|
|
699
780
|
readonly imagery: "Rooms, textures, hands; no faces needed.";
|
|
700
781
|
readonly pages: readonly ["home", "treatments (services)", "prices", "about", "contact"];
|
|
@@ -768,6 +849,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
768
849
|
readonly moves: readonly [];
|
|
769
850
|
readonly say: readonly [];
|
|
770
851
|
};
|
|
852
|
+
readonly art: {
|
|
853
|
+
readonly preloader: readonly ["counter"];
|
|
854
|
+
readonly cover: readonly ["veil"];
|
|
855
|
+
readonly seam: readonly [];
|
|
856
|
+
readonly texture: readonly [];
|
|
857
|
+
readonly signatures: readonly [];
|
|
858
|
+
readonly secondScene: true;
|
|
859
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
860
|
+
};
|
|
771
861
|
readonly world: "high-key";
|
|
772
862
|
readonly imagery: "Your own before-and-after photos.";
|
|
773
863
|
readonly pages: readonly ["home", "services", "prices", "gallery", "contact"];
|
|
@@ -835,6 +925,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
835
925
|
readonly moves: readonly [];
|
|
836
926
|
readonly say: readonly [];
|
|
837
927
|
};
|
|
928
|
+
readonly art: {
|
|
929
|
+
readonly preloader: readonly ["counter"];
|
|
930
|
+
readonly cover: readonly ["veil"];
|
|
931
|
+
readonly seam: readonly [];
|
|
932
|
+
readonly texture: readonly [];
|
|
933
|
+
readonly signatures: readonly [];
|
|
934
|
+
readonly secondScene: true;
|
|
935
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
936
|
+
};
|
|
838
937
|
readonly world: "high-key";
|
|
839
938
|
readonly imagery: "The room, real classes, daylight.";
|
|
840
939
|
readonly pages: readonly ["home", "classes", "schedule", "teachers", "prices", "contact"];
|
|
@@ -903,6 +1002,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
903
1002
|
readonly moves: readonly [];
|
|
904
1003
|
readonly say: readonly [];
|
|
905
1004
|
};
|
|
1005
|
+
readonly art: {
|
|
1006
|
+
readonly preloader: readonly ["counter"];
|
|
1007
|
+
readonly cover: readonly ["veil"];
|
|
1008
|
+
readonly seam: readonly [];
|
|
1009
|
+
readonly texture: readonly [];
|
|
1010
|
+
readonly signatures: readonly [];
|
|
1011
|
+
readonly secondScene: true;
|
|
1012
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
1013
|
+
};
|
|
906
1014
|
readonly world: "hard-light";
|
|
907
1015
|
readonly imagery: "Real people training; movement.";
|
|
908
1016
|
readonly pages: readonly ["home", "classes", "prices", "coaches", "contact"];
|
|
@@ -967,6 +1075,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
967
1075
|
readonly moves: readonly ["auto", "page"];
|
|
968
1076
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
969
1077
|
};
|
|
1078
|
+
readonly art: {
|
|
1079
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1080
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1081
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1082
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1083
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1084
|
+
readonly secondScene: true;
|
|
1085
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1086
|
+
};
|
|
970
1087
|
readonly world: "documentary";
|
|
971
1088
|
readonly imagery: "A calm room, daylight; your portrait.";
|
|
972
1089
|
readonly pages: readonly ["home", "how I work", "about", "faq", "contact"];
|
|
@@ -1035,6 +1152,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1035
1152
|
readonly moves: readonly ["auto", "page"];
|
|
1036
1153
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1037
1154
|
};
|
|
1155
|
+
readonly art: {
|
|
1156
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1157
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1158
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1159
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1160
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1161
|
+
readonly secondScene: true;
|
|
1162
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1163
|
+
};
|
|
1038
1164
|
readonly world: "high-key";
|
|
1039
1165
|
readonly imagery: "Your team and rooms; no stock doctors.";
|
|
1040
1166
|
readonly pages: readonly ["home", "treatments (services)", "team", "faq", "contact"];
|
|
@@ -1104,6 +1230,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1104
1230
|
readonly moves: readonly ["auto", "page"];
|
|
1105
1231
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1106
1232
|
};
|
|
1233
|
+
readonly art: {
|
|
1234
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1235
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1236
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1237
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1238
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1239
|
+
readonly secondScene: true;
|
|
1240
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1241
|
+
};
|
|
1107
1242
|
readonly world: "high-key";
|
|
1108
1243
|
readonly imagery: "Your clinic and team.";
|
|
1109
1244
|
readonly pages: readonly ["home", "treatments", "team", "faq", "contact"];
|
|
@@ -1171,6 +1306,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1171
1306
|
readonly moves: readonly [];
|
|
1172
1307
|
readonly say: readonly [];
|
|
1173
1308
|
};
|
|
1309
|
+
readonly art: {
|
|
1310
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
1311
|
+
readonly cover: readonly ["veil", "flood"];
|
|
1312
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1313
|
+
readonly texture: readonly [];
|
|
1314
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
1315
|
+
readonly secondScene: true;
|
|
1316
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
1317
|
+
};
|
|
1174
1318
|
readonly world: "documentary";
|
|
1175
1319
|
readonly imagery: "Real animals you treat (with permission).";
|
|
1176
1320
|
readonly pages: readonly ["home", "services", "team", "faq", "contact"];
|
|
@@ -1234,6 +1378,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1234
1378
|
readonly moves: readonly [];
|
|
1235
1379
|
readonly say: readonly [];
|
|
1236
1380
|
};
|
|
1381
|
+
readonly art: {
|
|
1382
|
+
readonly preloader: readonly [];
|
|
1383
|
+
readonly cover: readonly [];
|
|
1384
|
+
readonly seam: readonly [];
|
|
1385
|
+
readonly texture: readonly [];
|
|
1386
|
+
readonly signatures: readonly [];
|
|
1387
|
+
readonly secondScene: false;
|
|
1388
|
+
readonly say: readonly [];
|
|
1389
|
+
};
|
|
1237
1390
|
readonly world: "low-key";
|
|
1238
1391
|
readonly imagery: "Your own food and room photos.";
|
|
1239
1392
|
readonly pages: readonly ["home", "menu", "about", "contact"];
|
|
@@ -1304,6 +1457,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1304
1457
|
readonly moves: readonly [];
|
|
1305
1458
|
readonly say: readonly [];
|
|
1306
1459
|
};
|
|
1460
|
+
readonly art: {
|
|
1461
|
+
readonly preloader: readonly ["counter"];
|
|
1462
|
+
readonly cover: readonly ["veil"];
|
|
1463
|
+
readonly seam: readonly [];
|
|
1464
|
+
readonly texture: readonly [];
|
|
1465
|
+
readonly signatures: readonly [];
|
|
1466
|
+
readonly secondScene: true;
|
|
1467
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
1468
|
+
};
|
|
1307
1469
|
readonly world: "documentary";
|
|
1308
1470
|
readonly imagery: "Your bakes and drinks, close up.";
|
|
1309
1471
|
readonly pages: readonly ["home", "menu", "about", "contact"];
|
|
@@ -1371,6 +1533,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1371
1533
|
readonly moves: readonly [];
|
|
1372
1534
|
readonly say: readonly [];
|
|
1373
1535
|
};
|
|
1536
|
+
readonly art: {
|
|
1537
|
+
readonly preloader: readonly [];
|
|
1538
|
+
readonly cover: readonly [];
|
|
1539
|
+
readonly seam: readonly [];
|
|
1540
|
+
readonly texture: readonly [];
|
|
1541
|
+
readonly signatures: readonly [];
|
|
1542
|
+
readonly secondScene: false;
|
|
1543
|
+
readonly say: readonly [];
|
|
1544
|
+
};
|
|
1374
1545
|
readonly world: "nocturne";
|
|
1375
1546
|
readonly imagery: "The cellar, the bar, the bottle.";
|
|
1376
1547
|
readonly pages: readonly ["home", "menu or wines", "our story", "visit", "contact"];
|
|
@@ -1438,6 +1609,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1438
1609
|
readonly moves: readonly [];
|
|
1439
1610
|
readonly say: readonly [];
|
|
1440
1611
|
};
|
|
1612
|
+
readonly art: {
|
|
1613
|
+
readonly preloader: readonly [];
|
|
1614
|
+
readonly cover: readonly [];
|
|
1615
|
+
readonly seam: readonly [];
|
|
1616
|
+
readonly texture: readonly [];
|
|
1617
|
+
readonly signatures: readonly [];
|
|
1618
|
+
readonly secondScene: false;
|
|
1619
|
+
readonly say: readonly [];
|
|
1620
|
+
};
|
|
1441
1621
|
readonly world: "high-key";
|
|
1442
1622
|
readonly imagery: "Product photos on plain grounds; real people wearing them.";
|
|
1443
1623
|
readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
|
|
@@ -1500,6 +1680,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1500
1680
|
readonly moves: readonly [];
|
|
1501
1681
|
readonly say: readonly [];
|
|
1502
1682
|
};
|
|
1683
|
+
readonly art: {
|
|
1684
|
+
readonly preloader: readonly ["counter"];
|
|
1685
|
+
readonly cover: readonly ["veil"];
|
|
1686
|
+
readonly seam: readonly [];
|
|
1687
|
+
readonly texture: readonly [];
|
|
1688
|
+
readonly signatures: readonly [];
|
|
1689
|
+
readonly secondScene: true;
|
|
1690
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
1691
|
+
};
|
|
1503
1692
|
readonly world: "macro";
|
|
1504
1693
|
readonly imagery: "Your own arrangements in daylight.";
|
|
1505
1694
|
readonly pages: readonly ["home", "flowers (collection)", "weddings and events", "about", "contact"];
|
|
@@ -1563,6 +1752,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1563
1752
|
readonly moves: readonly [];
|
|
1564
1753
|
readonly say: readonly [];
|
|
1565
1754
|
};
|
|
1755
|
+
readonly art: {
|
|
1756
|
+
readonly preloader: readonly [];
|
|
1757
|
+
readonly cover: readonly [];
|
|
1758
|
+
readonly seam: readonly [];
|
|
1759
|
+
readonly texture: readonly [];
|
|
1760
|
+
readonly signatures: readonly [];
|
|
1761
|
+
readonly secondScene: false;
|
|
1762
|
+
readonly say: readonly [];
|
|
1763
|
+
};
|
|
1566
1764
|
readonly world: "documentary";
|
|
1567
1765
|
readonly imagery: "Pieces in real rooms and on plain grounds.";
|
|
1568
1766
|
readonly pages: readonly ["home", "collection", "product (detail)", "about", "contact"];
|
|
@@ -1626,6 +1824,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1626
1824
|
readonly moves: readonly [];
|
|
1627
1825
|
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1628
1826
|
};
|
|
1827
|
+
readonly art: {
|
|
1828
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
1829
|
+
readonly cover: readonly ["veil", "flood"];
|
|
1830
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1831
|
+
readonly texture: readonly [];
|
|
1832
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
1833
|
+
readonly secondScene: true;
|
|
1834
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
1835
|
+
};
|
|
1629
1836
|
readonly world: "architectural";
|
|
1630
1837
|
readonly imagery: "Your portrait; diagrams over stock.";
|
|
1631
1838
|
readonly pages: readonly ["home", "services", "case studies", "about", "contact"];
|
|
@@ -1691,6 +1898,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1691
1898
|
readonly moves: readonly [];
|
|
1692
1899
|
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1693
1900
|
};
|
|
1901
|
+
readonly art: {
|
|
1902
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
1903
|
+
readonly cover: readonly ["veil", "flood"];
|
|
1904
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1905
|
+
readonly texture: readonly [];
|
|
1906
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
1907
|
+
readonly secondScene: true;
|
|
1908
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
1909
|
+
};
|
|
1694
1910
|
readonly world: "documentary";
|
|
1695
1911
|
readonly imagery: "Your portrait, working with people.";
|
|
1696
1912
|
readonly pages: readonly ["home", "how it works", "programmes", "about", "contact"];
|
|
@@ -1750,6 +1966,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1750
1966
|
readonly moves: readonly ["auto", "page"];
|
|
1751
1967
|
readonly say: readonly ["People who come for care or advice read at their own pace: nothing turns by itself, nothing to flick through."];
|
|
1752
1968
|
};
|
|
1969
|
+
readonly art: {
|
|
1970
|
+
readonly preloader: readonly ["mark", "counter", "letters"];
|
|
1971
|
+
readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
|
|
1972
|
+
readonly seam: readonly ["drip", "torn"];
|
|
1973
|
+
readonly texture: readonly ["pattern", "material"];
|
|
1974
|
+
readonly signatures: readonly ["sections-stack", "ground-travel", "deal-in", "scroll-clock", "orbit", "circle-grow"];
|
|
1975
|
+
readonly secondScene: true;
|
|
1976
|
+
readonly say: readonly ["People who come for care or advice need calm and trust: no intro to wait through, no flood between pages, no torn edges, no spectacle."];
|
|
1977
|
+
};
|
|
1753
1978
|
readonly world: "architectural";
|
|
1754
1979
|
readonly imagery: "Your team; your office.";
|
|
1755
1980
|
readonly pages: readonly ["home", "practice areas (services)", "team", "about", "contact"];
|
|
@@ -1820,6 +2045,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1820
2045
|
readonly moves: readonly [];
|
|
1821
2046
|
readonly say: readonly [];
|
|
1822
2047
|
};
|
|
2048
|
+
readonly art: {
|
|
2049
|
+
readonly preloader: readonly ["counter"];
|
|
2050
|
+
readonly cover: readonly ["veil"];
|
|
2051
|
+
readonly seam: readonly [];
|
|
2052
|
+
readonly texture: readonly [];
|
|
2053
|
+
readonly signatures: readonly [];
|
|
2054
|
+
readonly secondScene: true;
|
|
2055
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
2056
|
+
};
|
|
1823
2057
|
readonly world: "architectural";
|
|
1824
2058
|
readonly imagery: "Your own property photos; never stock.";
|
|
1825
2059
|
readonly pages: readonly ["home", "properties (collection)", "property (detail)", "about", "contact"];
|
|
@@ -1886,6 +2120,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1886
2120
|
readonly moves: readonly [];
|
|
1887
2121
|
readonly say: readonly ["A deck reads as a game; advice and causes are read, not flicked."];
|
|
1888
2122
|
};
|
|
2123
|
+
readonly art: {
|
|
2124
|
+
readonly preloader: readonly ["counter", "letters"];
|
|
2125
|
+
readonly cover: readonly ["veil", "flood"];
|
|
2126
|
+
readonly seam: readonly ["drip", "torn"];
|
|
2127
|
+
readonly texture: readonly [];
|
|
2128
|
+
readonly signatures: readonly ["deal-in", "orbit"];
|
|
2129
|
+
readonly secondScene: true;
|
|
2130
|
+
readonly say: readonly ["A steady practice moves with restraint: a mark at most before the page, a plain cover between pages, clean edges."];
|
|
2131
|
+
};
|
|
1889
2132
|
readonly world: "documentary";
|
|
1890
2133
|
readonly imagery: "Real people you help (with permission).";
|
|
1891
2134
|
readonly pages: readonly ["home", "what we do", "stories", "get involved", "contact"];
|
|
@@ -1945,6 +2188,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1945
2188
|
readonly moves: readonly [];
|
|
1946
2189
|
readonly say: readonly [];
|
|
1947
2190
|
};
|
|
2191
|
+
readonly art: {
|
|
2192
|
+
readonly preloader: readonly [];
|
|
2193
|
+
readonly cover: readonly [];
|
|
2194
|
+
readonly seam: readonly [];
|
|
2195
|
+
readonly texture: readonly [];
|
|
2196
|
+
readonly signatures: readonly [];
|
|
2197
|
+
readonly secondScene: false;
|
|
2198
|
+
readonly say: readonly [];
|
|
2199
|
+
};
|
|
1948
2200
|
readonly world: "nocturne";
|
|
1949
2201
|
readonly imagery: "Real events at your venue.";
|
|
1950
2202
|
readonly pages: readonly ["home", "spaces", "gallery", "faq", "contact"];
|
|
@@ -2011,6 +2263,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2011
2263
|
readonly moves: readonly [];
|
|
2012
2264
|
readonly say: readonly [];
|
|
2013
2265
|
};
|
|
2266
|
+
readonly art: {
|
|
2267
|
+
readonly preloader: readonly [];
|
|
2268
|
+
readonly cover: readonly [];
|
|
2269
|
+
readonly seam: readonly [];
|
|
2270
|
+
readonly texture: readonly [];
|
|
2271
|
+
readonly signatures: readonly [];
|
|
2272
|
+
readonly secondScene: false;
|
|
2273
|
+
readonly say: readonly [];
|
|
2274
|
+
};
|
|
2014
2275
|
readonly world: "documentary";
|
|
2015
2276
|
readonly imagery: "Rooms, views, breakfast; your own photos.";
|
|
2016
2277
|
readonly pages: readonly ["home", "rooms (collection)", "room (detail)", "about", "contact"];
|
|
@@ -2077,6 +2338,15 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2077
2338
|
readonly moves: readonly [];
|
|
2078
2339
|
readonly say: readonly [];
|
|
2079
2340
|
};
|
|
2341
|
+
readonly art: {
|
|
2342
|
+
readonly preloader: readonly ["counter"];
|
|
2343
|
+
readonly cover: readonly ["veil"];
|
|
2344
|
+
readonly seam: readonly [];
|
|
2345
|
+
readonly texture: readonly [];
|
|
2346
|
+
readonly signatures: readonly [];
|
|
2347
|
+
readonly secondScene: true;
|
|
2348
|
+
readonly say: readonly ["A second Scene on the home page, a counted intro and a picture veil are for the expressive types."];
|
|
2349
|
+
};
|
|
2080
2350
|
readonly world: "documentary";
|
|
2081
2351
|
readonly imagery: "Real classes (with permission).";
|
|
2082
2352
|
readonly pages: readonly ["home", "classes", "prices", "about", "contact"];
|
package/package.json
CHANGED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { dialogOpenersSelector } from './dialog-opener';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Where a menu's REVEAL grows from (header-ingredients HI2a; header-builder board 2: "origin = the opener's centre"). A
|
|
5
|
+
* zoom scales about it, a circle and the torn edge open from it — so the menu reads as coming OUT of the button that opened
|
|
6
|
+
* it. The reveals themselves are CSS transitions in the shared `iox-design.css` (Emil: a menu toggles, so it must reverse
|
|
7
|
+
* from its live value — a transition, never keyframes); the one beat of script is this: put the opener's centre, in the
|
|
8
|
+
* menu's own box, into two custom properties when the menu opens. ONE function for the live page and the builder canvas
|
|
9
|
+
* (each passes its own box measure). Framework-free.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export enum RevealOriginProperty {
|
|
13
|
+
X = '--reveal-x',
|
|
14
|
+
Y = '--reveal-y',
|
|
15
|
+
/** How far the reveal must grow to cover the menu: the distance to its farthest corner (a circle of this radius,
|
|
16
|
+
* centred on the origin, covers the whole box — so the reveal spends its time ON the menu, not past it). */
|
|
17
|
+
R = '--reveal-r',
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface RevealOriginPoint {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
r: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface RevealRect {
|
|
27
|
+
left: number;
|
|
28
|
+
top: number;
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface RevealOriginOptions {
|
|
34
|
+
/** Opener space → the menu's CSS px (the builder canvas is zoomed: its rects are scaled). Default 1. */
|
|
35
|
+
scale?: number;
|
|
36
|
+
/** With no opener, the menu's top-LEFT corner (a start-side menu in LTR, an end-side one in RTL); else top-right. */
|
|
37
|
+
atLeft?: boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The reveal origin in the menu's own box (CSS px, from its top-left border edge): the opener's centre, or — opened by
|
|
42
|
+
* anything else (a link, an action on another element) — the menu's top corner on its side. `box` is the menu's
|
|
43
|
+
* UNTRANSFORMED box, in the same space as the opener's rect. Pure.
|
|
44
|
+
*/
|
|
45
|
+
export function revealOrigin(opener: RevealRect | null | undefined, box: RevealRect, options: RevealOriginOptions = {}): RevealOriginPoint {
|
|
46
|
+
const scale = options.scale && options.scale > 0 ? options.scale : 1;
|
|
47
|
+
const width = box.width / scale;
|
|
48
|
+
const height = box.height / scale;
|
|
49
|
+
const at = !opener || !(opener.width > 0 || opener.height > 0)
|
|
50
|
+
? { x: Math.round(options.atLeft ? 0 : width), y: 0 }
|
|
51
|
+
: { x: Math.round(((opener.left + opener.width / 2) - box.left) / scale), y: Math.round(((opener.top + opener.height / 2) - box.top) / scale) };
|
|
52
|
+
const r = Math.ceil(Math.max(...[[0, 0], [width, 0], [0, height], [width, height]].map(([cx, cy]) => Math.hypot(cx - at.x, cy - at.y))));
|
|
53
|
+
return { ...at, r };
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** The custom properties for an origin. */
|
|
57
|
+
export function revealOriginStyle(origin: RevealOriginPoint): Record<RevealOriginProperty, string> {
|
|
58
|
+
return { [RevealOriginProperty.X]: `${origin.x}px`, [RevealOriginProperty.Y]: `${origin.y}px`, [RevealOriginProperty.R]: `${origin.r}px` };
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** What `revealFrom` needs of a live `<dialog>` (structural, so the spec drives it without a DOM). */
|
|
62
|
+
export interface RevealDialogLike {
|
|
63
|
+
id: string;
|
|
64
|
+
offsetWidth: number;
|
|
65
|
+
offsetHeight: number;
|
|
66
|
+
style: { setProperty(name: string, value: string): void };
|
|
67
|
+
getAttribute(name: string): string | null;
|
|
68
|
+
ownerDocument: {
|
|
69
|
+
defaultView: { getComputedStyle(el: unknown): { marginLeft: string; marginTop: string; direction: string } } | null;
|
|
70
|
+
querySelectorAll(selector: string): ArrayLike<RevealOpenerLike>;
|
|
71
|
+
} | null;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface RevealOpenerLike {
|
|
75
|
+
getBoundingClientRect(): RevealRect;
|
|
76
|
+
getClientRects?(): ArrayLike<unknown>;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const rendered = (el: RevealOpenerLike | null | undefined): el is RevealOpenerLike => {
|
|
80
|
+
if (!el) return false;
|
|
81
|
+
if (el.getClientRects && !el.getClientRects().length) return false;
|
|
82
|
+
const r = el.getBoundingClientRect();
|
|
83
|
+
return r.width > 0 || r.height > 0;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Set a just-opened live `<dialog>`'s reveal origin from the element that opened it (`opener`), else from the first of its
|
|
88
|
+
* openers that is on screen (`aria-controls` — the menu button at its width), else its top corner. Call it right after
|
|
89
|
+
* `showModal()`. A top-layer dialog is fixed at `inset: 0`, so its untransformed box starts at its USED margins — a
|
|
90
|
+
* reveal's starting scale or translate never moves a margin, whereas `getBoundingClientRect` would read it.
|
|
91
|
+
*/
|
|
92
|
+
export function revealFrom(dialog: RevealDialogLike | null | undefined, opener?: RevealOpenerLike | null): void {
|
|
93
|
+
const view = dialog?.ownerDocument?.defaultView;
|
|
94
|
+
if (!dialog || !view) return;
|
|
95
|
+
const cs = view.getComputedStyle(dialog);
|
|
96
|
+
const box = { left: parseFloat(cs.marginLeft) || 0, top: parseFloat(cs.marginTop) || 0, width: dialog.offsetWidth, height: dialog.offsetHeight };
|
|
97
|
+
const from = rendered(opener) ? opener
|
|
98
|
+
: dialog.id ? Array.from(dialog.ownerDocument!.querySelectorAll(dialogOpenersSelector(dialog.id))).find(rendered) ?? null : null;
|
|
99
|
+
const atLeft = (dialog.getAttribute('data-iox-dialog-placement') === 'start') !== (cs.direction === 'rtl');
|
|
100
|
+
const origin = revealOrigin(from ? from.getBoundingClientRect() : null, box, { atLeft });
|
|
101
|
+
for (const [name, value] of Object.entries(revealOriginStyle(origin))) dialog.style.setProperty(name, value);
|
|
102
|
+
}
|