@vectoriox/iox-ui 5.194.0 → 5.196.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.
Files changed (53) hide show
  1. package/actions-core/index.d.ts +1 -0
  2. package/commerce-core/index.d.ts +0 -1
  3. package/composite-core/index.d.ts +39 -12
  4. package/design-core/index.d.ts +396 -9
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +1 -0
  6. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-commerce-core.mjs +0 -2
  8. package/fesm2022/vectoriox-iox-ui-commerce-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +89 -36
  10. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs +864 -335
  12. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +885 -513
  14. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +221 -2
  16. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  17. package/fesm2022/vectoriox-iox-ui-identity-core.mjs +11 -5
  18. package/fesm2022/vectoriox-iox-ui-identity-core.mjs.map +1 -1
  19. package/fesm2022/vectoriox-iox-ui.mjs +83 -31
  20. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  21. package/generation-core/index.d.ts +322 -95
  22. package/harness-core/index.d.ts +165 -3
  23. package/identity-core/index.d.ts +8 -1
  24. package/index.d.ts +30 -8
  25. package/package.json +1 -1
  26. package/src/actions-core/public-api.ts +3 -0
  27. package/src/commerce-core/shop-display.ts +0 -2
  28. package/src/composite-core/account-runtime.ts +2 -2
  29. package/src/composite-core/header.ts +23 -1
  30. package/src/composite-core/lightbox.ts +27 -8
  31. package/src/composite-core/shop.ts +45 -28
  32. package/src/design-core/close-word.ts +18 -0
  33. package/src/design-core/contrast-audit.ts +62 -14
  34. package/src/design-core/flavor-spec.generated.ts +275 -1
  35. package/src/design-core/header-behaviour.ts +172 -3
  36. package/src/design-core/locale-direction.ts +17 -0
  37. package/src/design-core/node-classes.ts +9 -2
  38. package/src/design-core/public-api.ts +1 -0
  39. package/src/design-core/token-css.ts +62 -3
  40. package/src/generation-core/audit-site.ts +26 -5
  41. package/src/generation-core/audit-words.ts +8 -0
  42. package/src/generation-core/compose-site.ts +28 -10
  43. package/src/generation-core/header-mix.ts +165 -12
  44. package/src/generation-core/import-plan.ts +41 -0
  45. package/src/generation-core/public-api.ts +1 -0
  46. package/src/generation-core/site-spec.generated.ts +41 -9
  47. package/src/generation-core/stock-photos.ts +23 -4
  48. package/src/generation-core/stock-search.ts +235 -0
  49. package/src/harness-core/business-types.ts +11 -0
  50. package/src/harness-core/harness-spec.generated.ts +213 -0
  51. package/src/harness-core/run-compose-context.ts +9 -3
  52. package/src/identity-core/site-auth-transport.ts +11 -4
  53. package/styles/iox-design.css +148 -6
@@ -181,6 +181,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
181
181
  readonly say: readonly [];
182
182
  readonly sayHe: readonly [];
183
183
  };
184
+ readonly header: {
185
+ readonly grounds: readonly [];
186
+ readonly say: readonly [];
187
+ readonly sayHe: readonly [];
188
+ };
184
189
  readonly art: {
185
190
  readonly preloader: readonly [];
186
191
  readonly cover: readonly [];
@@ -280,6 +285,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
280
285
  readonly say: readonly [];
281
286
  readonly sayHe: readonly [];
282
287
  };
288
+ readonly header: {
289
+ readonly grounds: readonly [];
290
+ readonly say: readonly [];
291
+ readonly sayHe: readonly [];
292
+ };
283
293
  readonly art: {
284
294
  readonly preloader: readonly [];
285
295
  readonly cover: readonly [];
@@ -380,6 +390,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
380
390
  readonly say: readonly [];
381
391
  readonly sayHe: readonly [];
382
392
  };
393
+ readonly header: {
394
+ readonly grounds: readonly [];
395
+ readonly say: readonly [];
396
+ readonly sayHe: readonly [];
397
+ };
383
398
  readonly art: {
384
399
  readonly preloader: readonly [];
385
400
  readonly cover: readonly [];
@@ -481,6 +496,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
481
496
  readonly say: readonly [];
482
497
  readonly sayHe: readonly [];
483
498
  };
499
+ readonly header: {
500
+ readonly grounds: readonly [];
501
+ readonly say: readonly [];
502
+ readonly sayHe: readonly [];
503
+ };
484
504
  readonly art: {
485
505
  readonly preloader: readonly [];
486
506
  readonly cover: readonly [];
@@ -570,6 +590,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
570
590
  readonly say: readonly [];
571
591
  readonly sayHe: readonly [];
572
592
  };
593
+ readonly header: {
594
+ readonly grounds: readonly [];
595
+ readonly say: readonly [];
596
+ readonly sayHe: readonly [];
597
+ };
573
598
  readonly art: {
574
599
  readonly preloader: readonly [];
575
600
  readonly cover: readonly [];
@@ -661,6 +686,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
661
686
  readonly say: readonly [];
662
687
  readonly sayHe: readonly [];
663
688
  };
689
+ readonly header: {
690
+ readonly grounds: readonly [];
691
+ readonly say: readonly [];
692
+ readonly sayHe: readonly [];
693
+ };
664
694
  readonly art: {
665
695
  readonly preloader: readonly [];
666
696
  readonly cover: readonly [];
@@ -751,6 +781,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
751
781
  readonly say: readonly [];
752
782
  readonly sayHe: readonly [];
753
783
  };
784
+ readonly header: {
785
+ readonly grounds: readonly [];
786
+ readonly say: readonly [];
787
+ readonly sayHe: readonly [];
788
+ };
754
789
  readonly art: {
755
790
  readonly preloader: readonly [];
756
791
  readonly cover: readonly [];
@@ -842,6 +877,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
842
877
  readonly say: readonly [];
843
878
  readonly sayHe: readonly [];
844
879
  };
880
+ readonly header: {
881
+ readonly grounds: readonly [];
882
+ readonly say: readonly [];
883
+ readonly sayHe: readonly [];
884
+ };
845
885
  readonly art: {
846
886
  readonly preloader: readonly [];
847
887
  readonly cover: readonly [];
@@ -932,6 +972,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
932
972
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
933
973
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
934
974
  };
975
+ readonly header: {
976
+ readonly grounds: readonly ["over", "over-glass"];
977
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
978
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
979
+ };
935
980
  readonly art: {
936
981
  readonly preloader: readonly ["counter", "letters"];
937
982
  readonly cover: readonly ["veil", "flood"];
@@ -1034,6 +1079,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1034
1079
  readonly say: readonly [];
1035
1080
  readonly sayHe: readonly [];
1036
1081
  };
1082
+ readonly header: {
1083
+ readonly grounds: readonly [];
1084
+ readonly say: readonly [];
1085
+ readonly sayHe: readonly [];
1086
+ };
1037
1087
  readonly art: {
1038
1088
  readonly preloader: readonly ["counter"];
1039
1089
  readonly cover: readonly ["veil"];
@@ -1129,6 +1179,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1129
1179
  readonly say: readonly [];
1130
1180
  readonly sayHe: readonly [];
1131
1181
  };
1182
+ readonly header: {
1183
+ readonly grounds: readonly [];
1184
+ readonly say: readonly [];
1185
+ readonly sayHe: readonly [];
1186
+ };
1132
1187
  readonly art: {
1133
1188
  readonly preloader: readonly ["counter"];
1134
1189
  readonly cover: readonly ["veil"];
@@ -1224,6 +1279,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1224
1279
  readonly say: readonly [];
1225
1280
  readonly sayHe: readonly [];
1226
1281
  };
1282
+ readonly header: {
1283
+ readonly grounds: readonly [];
1284
+ readonly say: readonly [];
1285
+ readonly sayHe: readonly [];
1286
+ };
1227
1287
  readonly art: {
1228
1288
  readonly preloader: readonly ["counter"];
1229
1289
  readonly cover: readonly ["veil"];
@@ -1315,6 +1375,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1315
1375
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
1316
1376
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
1317
1377
  };
1378
+ readonly header: {
1379
+ readonly grounds: readonly ["over", "over-glass"];
1380
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
1381
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
1382
+ };
1318
1383
  readonly art: {
1319
1384
  readonly preloader: readonly ["mark", "counter", "letters"];
1320
1385
  readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
@@ -1411,6 +1476,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1411
1476
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
1412
1477
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
1413
1478
  };
1479
+ readonly header: {
1480
+ readonly grounds: readonly ["over", "over-glass"];
1481
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
1482
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
1483
+ };
1414
1484
  readonly art: {
1415
1485
  readonly preloader: readonly ["mark", "counter", "letters"];
1416
1486
  readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
@@ -1509,6 +1579,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1509
1579
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
1510
1580
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
1511
1581
  };
1582
+ readonly header: {
1583
+ readonly grounds: readonly ["over", "over-glass"];
1584
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
1585
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
1586
+ };
1512
1587
  readonly art: {
1513
1588
  readonly preloader: readonly ["mark", "counter", "letters"];
1514
1589
  readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
@@ -1604,6 +1679,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1604
1679
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
1605
1680
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
1606
1681
  };
1682
+ readonly header: {
1683
+ readonly grounds: readonly ["over", "over-glass"];
1684
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
1685
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
1686
+ };
1607
1687
  readonly art: {
1608
1688
  readonly preloader: readonly ["counter", "letters"];
1609
1689
  readonly cover: readonly ["veil", "flood"];
@@ -1694,6 +1774,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1694
1774
  readonly say: readonly [];
1695
1775
  readonly sayHe: readonly [];
1696
1776
  };
1777
+ readonly header: {
1778
+ readonly grounds: readonly [];
1779
+ readonly say: readonly [];
1780
+ readonly sayHe: readonly [];
1781
+ };
1697
1782
  readonly art: {
1698
1783
  readonly preloader: readonly [];
1699
1784
  readonly cover: readonly [];
@@ -1793,6 +1878,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1793
1878
  readonly say: readonly [];
1794
1879
  readonly sayHe: readonly [];
1795
1880
  };
1881
+ readonly header: {
1882
+ readonly grounds: readonly [];
1883
+ readonly say: readonly [];
1884
+ readonly sayHe: readonly [];
1885
+ };
1796
1886
  readonly art: {
1797
1887
  readonly preloader: readonly ["counter"];
1798
1888
  readonly cover: readonly ["veil"];
@@ -1888,6 +1978,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1888
1978
  readonly say: readonly [];
1889
1979
  readonly sayHe: readonly [];
1890
1980
  };
1981
+ readonly header: {
1982
+ readonly grounds: readonly [];
1983
+ readonly say: readonly [];
1984
+ readonly sayHe: readonly [];
1985
+ };
1891
1986
  readonly art: {
1892
1987
  readonly preloader: readonly [];
1893
1988
  readonly cover: readonly [];
@@ -1983,6 +2078,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
1983
2078
  readonly say: readonly [];
1984
2079
  readonly sayHe: readonly [];
1985
2080
  };
2081
+ readonly header: {
2082
+ readonly grounds: readonly [];
2083
+ readonly say: readonly [];
2084
+ readonly sayHe: readonly [];
2085
+ };
1986
2086
  readonly art: {
1987
2087
  readonly preloader: readonly [];
1988
2088
  readonly cover: readonly [];
@@ -2072,6 +2172,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2072
2172
  readonly say: readonly [];
2073
2173
  readonly sayHe: readonly [];
2074
2174
  };
2175
+ readonly header: {
2176
+ readonly grounds: readonly [];
2177
+ readonly say: readonly [];
2178
+ readonly sayHe: readonly [];
2179
+ };
2075
2180
  readonly art: {
2076
2181
  readonly preloader: readonly ["counter"];
2077
2182
  readonly cover: readonly ["veil"];
@@ -2162,6 +2267,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2162
2267
  readonly say: readonly [];
2163
2268
  readonly sayHe: readonly [];
2164
2269
  };
2270
+ readonly header: {
2271
+ readonly grounds: readonly [];
2272
+ readonly say: readonly [];
2273
+ readonly sayHe: readonly [];
2274
+ };
2165
2275
  readonly art: {
2166
2276
  readonly preloader: readonly [];
2167
2277
  readonly cover: readonly [];
@@ -2252,6 +2362,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2252
2362
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
2253
2363
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
2254
2364
  };
2365
+ readonly header: {
2366
+ readonly grounds: readonly ["over", "over-glass"];
2367
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
2368
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
2369
+ };
2255
2370
  readonly art: {
2256
2371
  readonly preloader: readonly ["counter", "letters"];
2257
2372
  readonly cover: readonly ["veil", "flood"];
@@ -2344,6 +2459,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2344
2459
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
2345
2460
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
2346
2461
  };
2462
+ readonly header: {
2463
+ readonly grounds: readonly ["over", "over-glass"];
2464
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
2465
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
2466
+ };
2347
2467
  readonly art: {
2348
2468
  readonly preloader: readonly ["counter", "letters"];
2349
2469
  readonly cover: readonly ["veil", "flood"];
@@ -2429,6 +2549,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2429
2549
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
2430
2550
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
2431
2551
  };
2552
+ readonly header: {
2553
+ readonly grounds: readonly ["over", "over-glass"];
2554
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
2555
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
2556
+ };
2432
2557
  readonly art: {
2433
2558
  readonly preloader: readonly ["mark", "counter", "letters"];
2434
2559
  readonly cover: readonly ["flood", "wipe", "circle", "veil", "interstitial"];
@@ -2527,6 +2652,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2527
2652
  readonly say: readonly [];
2528
2653
  readonly sayHe: readonly [];
2529
2654
  };
2655
+ readonly header: {
2656
+ readonly grounds: readonly [];
2657
+ readonly say: readonly [];
2658
+ readonly sayHe: readonly [];
2659
+ };
2530
2660
  readonly art: {
2531
2661
  readonly preloader: readonly ["counter"];
2532
2662
  readonly cover: readonly ["veil"];
@@ -2621,6 +2751,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2621
2751
  readonly say: readonly ["People who come for care or advice are closed plainly: no word shouted across the page, no layers or film under the footer."];
2622
2752
  readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ נפרד בשקט: בלי מילה צועקת לרוחב העמוד, בלי שכבות או סרט מתחת לפוטר."];
2623
2753
  };
2754
+ readonly header: {
2755
+ readonly grounds: readonly ["over", "over-glass"];
2756
+ readonly say: readonly ["People who come for care or advice are met plainly: the header keeps its own ground, never laid over the picture."];
2757
+ readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ פוגש כותרת פשוטה: היא שומרת על הרקע שלה, ולא מונחת מעל התמונה."];
2758
+ };
2624
2759
  readonly art: {
2625
2760
  readonly preloader: readonly ["counter", "letters"];
2626
2761
  readonly cover: readonly ["veil", "flood"];
@@ -2706,6 +2841,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2706
2841
  readonly say: readonly [];
2707
2842
  readonly sayHe: readonly [];
2708
2843
  };
2844
+ readonly header: {
2845
+ readonly grounds: readonly [];
2846
+ readonly say: readonly [];
2847
+ readonly sayHe: readonly [];
2848
+ };
2709
2849
  readonly art: {
2710
2850
  readonly preloader: readonly [];
2711
2851
  readonly cover: readonly [];
@@ -2800,6 +2940,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2800
2940
  readonly say: readonly [];
2801
2941
  readonly sayHe: readonly [];
2802
2942
  };
2943
+ readonly header: {
2944
+ readonly grounds: readonly [];
2945
+ readonly say: readonly [];
2946
+ readonly sayHe: readonly [];
2947
+ };
2803
2948
  readonly art: {
2804
2949
  readonly preloader: readonly [];
2805
2950
  readonly cover: readonly [];
@@ -2894,6 +3039,11 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
2894
3039
  readonly say: readonly [];
2895
3040
  readonly sayHe: readonly [];
2896
3041
  };
3042
+ readonly header: {
3043
+ readonly grounds: readonly [];
3044
+ readonly say: readonly [];
3045
+ readonly sayHe: readonly [];
3046
+ };
2897
3047
  readonly art: {
2898
3048
  readonly preloader: readonly ["counter"];
2899
3049
  readonly cover: readonly ["veil"];
@@ -3399,6 +3549,14 @@ interface BusinessTypeFooter {
3399
3549
  readonly say: ReadonlyArray<string>;
3400
3550
  readonly sayHe: ReadonlyArray<string>;
3401
3551
  }
3552
+ /** HI3-D12 (header-ingredients-plan §8): what a type's header never stands on (contract harness `businessTypes[].header`,
3553
+ * from harness.mjs HEADER_NEVER) — handed to generation-core `composeSite` as `headerNever`, where `checkHeader` mends it
3554
+ * to its own ground (`type-never`). Shaped as generation-core `HeaderNever`. */
3555
+ interface BusinessTypeHeader {
3556
+ readonly grounds: ReadonlyArray<string>;
3557
+ readonly say: ReadonlyArray<string>;
3558
+ readonly sayHe: ReadonlyArray<string>;
3559
+ }
3402
3560
  /** Award §0b + §0b.7 (AW-D26, AW-D32): how a type's opening film is suggested, and what it may show (`filmIdeaFor`). */
3403
3561
  interface BusinessTypeFilm {
3404
3562
  /** offer · ifAsked · never — the default the owner's words move one step. */
@@ -3437,6 +3595,8 @@ interface BusinessType {
3437
3595
  readonly column: BusinessTypeColumn;
3438
3596
  /** AW12-D10: what its footer never closes with or stands on — trust and care never a call word, a scene or a film. */
3439
3597
  readonly footer: BusinessTypeFooter;
3598
+ /** HI3-D12: what its header never stands on — care and advice never over the opening's picture. */
3599
+ readonly header: BusinessTypeHeader;
3440
3600
  /** Award §0b + §0b.7 (AW-D26…D32): how a film is suggested to this type, and what it may show (`filmIdeaFor`). */
3441
3601
  readonly film: BusinessTypeFilm;
3442
3602
  /** Popups PU0 (popups-plan §10, PU-D11/PU-D12): offer · ifAsked · never — how a popup is suggested (`popupSuggestion`). */
@@ -4612,10 +4772,12 @@ interface ComposeRun {
4612
4772
  * What the composer takes from the reading's kind of business (award §7.1g, AW12):
4613
4773
  * - `businessType` — the footer's call word follows it (AW12-D15, generation-core `footerCallWord`);
4614
4774
  * - `footerNever` — what that kind of business's footer never wears (AW12-D10, harness FOOTER_NEVER), mended and said by
4615
- * `checkFooter` (`type-never`).
4775
+ * `checkFooter` (`type-never`);
4776
+ * - `headerNever` — what that kind of business's header never stands on (HI3-D12, harness HEADER_NEVER), mended to its
4777
+ * own ground and said by `checkHeader` (`type-never`).
4616
4778
  * An unknown or absent type gives nothing: the composer's defaults hold. (`calm` stays `composeContextOf`'s own argument.)
4617
4779
  */
4618
- declare function businessComposeContext(typeId: string | null | undefined): Pick<ComposeContext, 'businessType' | 'footerNever'>;
4780
+ declare function businessComposeContext(typeId: string | null | undefined): Pick<ComposeContext, 'businessType' | 'footerNever' | 'headerNever'>;
4619
4781
  /**
4620
4782
  * THE compose context of a build run (moved from iox-cms `site-builds.service`, iox-cms-client#111): its year, its
4621
4783
  * layouts' photos, its tier, the legal context its preflight read (AW1), whether its business is calm (AW6 — the body
@@ -4627,4 +4789,4 @@ declare function businessComposeContext(typeId: string | null | undefined): Pick
4627
4789
  declare function runComposeContext(run: ComposeRun): ComposeContext;
4628
4790
 
4629
4791
  export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, FILM_IDEAS, FILM_WORDS, FilmIdea, FilmIdeaReason, FilmStance, FilmStart, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, POPUP_WORDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PopupStance, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_FILM_IDEAS, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_POPUP_STANCES, SPEC_STATED_FACTS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STATED_FACTS, STATED_FACT_KEYS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessComposeContext, businessTypeById, calmerChoice, decodeSiteReading, filmIdeaFor, filmIdeasOf, filmStanceFor, filmWordsIn, inferNeeds, isCalmBusiness, isCalmBusinessType, isLookRule, keywordsIn, lintDesign, lintSentence, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, popupStanceFor, popupSuggestion, popupWordsIn, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, runComposeContext, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, unplacedPicturesOf, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
4630
- export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeColumn, BusinessTypeFilm, BusinessTypeFooter, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposeRun, ComposedPageView, FactRead, FilmIdeaChoice, FilmIdeaDef, FilmIdeaInput, FilmIdeaSkip, FilmWords, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PopupLine, PopupSuggestion, PopupSuggestionInput, PopupWords, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, RuleLine, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StatedFactDef, StatedFactKey, StructureChoice, StructureId, StyleHints, StyleRead, UnplacedPictures, UserAvoidId };
4792
+ export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeColumn, BusinessTypeFilm, BusinessTypeFooter, BusinessTypeHeader, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposeRun, ComposedPageView, FactRead, FilmIdeaChoice, FilmIdeaDef, FilmIdeaInput, FilmIdeaSkip, FilmWords, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PopupLine, PopupSuggestion, PopupSuggestionInput, PopupWords, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, RuleLine, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StatedFactDef, StatedFactKey, StructureChoice, StructureId, StyleHints, StyleRead, UnplacedPictures, UserAvoidId };
@@ -505,6 +505,7 @@ declare const CUSTOMER_SLOT = "$customer";
505
505
  /** `$customer` — what a page may show of the buyer: never the id. */
506
506
  interface CustomerSlot {
507
507
  signedIn: boolean;
508
+ /** The buyer's FIRST name (`customerDisplayName`), else the email's local part; '' when signed out. */
508
509
  name: string;
509
510
  /** The first letter of the name, else of the email; '' when signed out. */
510
511
  initial: string;
@@ -512,7 +513,13 @@ interface CustomerSlot {
512
513
  }
513
514
  /** The first visible letter of a name or an email, upper-cased where the script has case. */
514
515
  declare function customerInitial(customer: Pick<SiteCustomer, 'name' | 'email'> | null | undefined): string;
515
- /** The name a page greets with: the buyer's own, else the email's local part. */
516
+ /**
517
+ * The name a page greets and names the buyer by — the Account entry, the menu's "Hello, {name}", the account page's
518
+ * heading: the FIRST name (commerce board 12, "Hello, Noa"; Doron 2026-11-28), else the email's local part. The first
519
+ * name is the name's first whitespace-separated word, in any script ("נועה לוי" → "נועה"); a single name is itself.
520
+ * ONE derivation — `customerSlotOf` publishes it as `$customer.name`, and the runtime and the engine's account page read
521
+ * it here, never a second split.
522
+ */
516
523
  declare function customerDisplayName(customer: Pick<SiteCustomer, 'name' | 'email'> | null | undefined): string;
517
524
  declare function customerSlotOf(customer: SiteCustomer | null | undefined): CustomerSlot;
518
525
 
package/index.d.ts CHANGED
@@ -1642,21 +1642,26 @@ declare class IoxFormErrorComponent {
1642
1642
  * Directive-host: the `<dialog>` IS the host, carrying exactly the markup the string renderer
1643
1643
  * writes (`data-iox-dialog`, the opt-in backdrop-close / consent-role / placement attributes and
1644
1644
  * the close X), so the runtime's dialog actions, the consent prompt and `styles.scss` treat both
1645
- * paths alike. Ships CLOSED — only the dialog actions open it. Before this existed, a page holding
1645
+ * paths alike. Ships CLOSED — only the dialog actions open it. The close X is named in the PAGE's language (actions-core
1646
+ * `closeWord`, the word the string path writes too — iox-ui#167). Before this existed, a page holding
1646
1647
  * a Dialog fell back to the string renderer wholesale.
1647
1648
  */
1648
1649
  declare class IoxDialogComponent {
1650
+ private readonly host?;
1649
1651
  nodeId: string;
1650
1652
  placement: string;
1651
1653
  closeOnBackdrop: boolean | string;
1652
1654
  showCloseButton: boolean | string;
1653
1655
  consentRole: boolean | string;
1656
+ constructor(host?: ElementRef<HTMLElement> | undefined);
1654
1657
  childrenHost: ViewContainerRef;
1655
1658
  get backdropCloses(): boolean;
1656
1659
  get closeButtonShown(): boolean;
1657
1660
  get consentRoleOn(): boolean;
1661
+ /** The close X's accessible name: "Close" in the page's language (the nearest `lang`, else the document's). */
1662
+ get closeName(): string;
1658
1663
  get placementAttr(): string | null;
1659
- static ɵfac: i0.ɵɵFactoryDeclaration<IoxDialogComponent, never>;
1664
+ static ɵfac: i0.ɵɵFactoryDeclaration<IoxDialogComponent, [{ optional: true; }]>;
1660
1665
  static ɵcmp: i0.ɵɵComponentDeclaration<IoxDialogComponent, "dialog[iox-dialog]", never, { "nodeId": { "alias": "nodeId"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "consentRole": { "alias": "consentRole"; "required": false; }; }, {}, never, never, false, never>;
1661
1666
  }
1662
1667
 
@@ -2548,9 +2553,23 @@ declare class HeaderRuntime {
2548
2553
  /** The headers that hide while the page scrolls down: in `root`, or among `elements` (each, and what it holds — what a
2549
2554
  * runtime instance owns: the page's nodes or the globals'). */
2550
2555
  declare function hidingHeadersIn(root: ParentNode | Iterable<Element>): HTMLElement[];
2556
+ /** The headers that stand on a ground (HI3 slice 1: over · over-glass · glass): in `root`, or among `elements`. */
2557
+ declare function groundHeadersIn(root: ParentNode | Iterable<Element>): HTMLElement[];
2558
+ /** Where a header's height is written by default: its token scope (the canvas's globals layer), else the document's root
2559
+ * element (the live site, whose tokens are on `:root` — an inline value there wins over them). */
2560
+ declare function headerHeightScopeOf(header: HTMLElement): HTMLElement | null;
2561
+ /**
2562
+ * HI3-D7: keep `--header-h` (`HEADER_HEIGHT_VAR`) on `scopes` equal to the header's layout height (px — a canvas zoom
2563
+ * or a hide's translate never changes it), through ONE ResizeObserver: the header gives that height back over a pictured
2564
+ * opening and the opening's words keep clear of it (iox-design.css). Written at once and only when it changes; the stop
2565
+ * removes it (the raw SSR's fallback — the look's bar height — returns). The builder hands its two scopes (the globals
2566
+ * layer and the page); the live site its root element.
2567
+ */
2568
+ declare function watchHeaderHeight(header: HTMLElement, scopes?: ReadonlyArray<HTMLElement | null | undefined>): () => void;
2551
2569
  /**
2552
2570
  * The live site's door: every hiding header in `root` (or among `elements`) follows `source` (the window), through ONE
2553
- * passive listener read once per frame. Returns the stop.
2571
+ * passive listener read once per frame; every header standing on a ground keeps its height on the page (HI3-D7). Returns
2572
+ * the stop.
2554
2573
  */
2555
2574
  declare function watchHeaders(source: ScrollSource, root: ParentNode | Iterable<Element>, options?: HeaderRuntimeOptions): () => void;
2556
2575
 
@@ -4462,6 +4481,13 @@ declare function attachStringForm(form: Element | null | undefined, options?: St
4462
4481
  */
4463
4482
  declare function syncSubmitButtons(form: Element | null | undefined, state: FormRenderState | string | null | undefined): void;
4464
4483
 
4484
+ /**
4485
+ * The page's language for a form part: the nearest `lang` (the builder canvas's site scope, the engine's `<html>`), else
4486
+ * the document's. ONE reading for every form word the page's language picks — the submit button's Sending / Sent, the
4487
+ * toast, the failure announcement (iox-ui#158, #161) — on the component path and the string path alike.
4488
+ */
4489
+ declare function pageLanguageOf(element: Element | null | undefined): string | null | undefined;
4490
+
4465
4491
  /**
4466
4492
  * THE DATE PICKER (premium components N8) — the APG date picker dialog, wearing the look. ONE DOM runtime for the
4467
4493
  * engine's component path and its string path; the builder canvas draws the same panel for its design-time Open state
@@ -4918,10 +4944,6 @@ declare const TOAST_MIN_MS = 4000;
4918
4944
  declare const TOAST_MAX_MS = 10000;
4919
4945
  /** … and this much longer per character it says (a reader's pace). */
4920
4946
  declare const TOAST_MS_PER_CHAR = 60;
4921
- /** The close control's words in the page's language. */
4922
- declare const TOAST_CLOSE_WORDS: Readonly<Record<string, string>>;
4923
- /** "Close" in `lang` (its base language), else English. */
4924
- declare function toastCloseWord(lang: string | null | undefined): string;
4925
4947
  /** How long a toast stays: long enough to read, within bounds. Pure. */
4926
4948
  declare function toastDuration(text: string, override?: number | null): number;
4927
4949
  /** Which toasts leave so a new one fits: the oldest first, keeping `max - 1` beside the newcomer. Pure. */
@@ -5101,5 +5123,5 @@ declare function formToastsOnSend(form: Element | null | undefined): boolean;
5101
5123
  /** Raise the form's Sent toast (from the form — its scope and its look). */
5102
5124
  declare function raiseFormToast(form: Element): ToastHandle | null;
5103
5125
 
5104
- export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_CLOSE_WORDS, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastCloseWord, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
5126
+ export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, groundHeadersIn, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerHeightScopeOf, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageLanguageOf, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderHeight, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
5105
5127
  export type { A11yNodeSource, AnimateActionOptions, BoundStyleTarget, BoundValueSpec, BreakpointDef, ContextActionEffect, ContextActionLike, ContextItemRef, ContextSlotDefault, ContextValueSpec, ContextWriteScope, CountTarget, CoverPanelContext, CurrentLinkOptions, DatePickerOptions, FloatingLayerOptions, FloatingOptions, FloatingPlacement, FloatingRect, FloatingSize, FloatingViewport, FormMessageResolver, GalleryBoundSource, GalleryDurations, GalleryEffect, GalleryEffectDescriptor, GalleryImage, GalleryLoopOptions, GalleryLoopScheduler, GalleryLoopState, GallerySlideState, HeaderRuntimeOptions, IBuilderEventEmitter, InlineEditableNode, InputMap, InteractionKeyframe, IoxContextSlot, IoxPipe, LayerFrame, MatchMediaHost, NodeA11yContext, OverrideBreakpoint, PageCoverSpec, PageScrollStart, PageStyleFieldState, PageStyleOptions, PageStyleSettings, PageTransitionCategory, PageTransitionCategoryMeta, PageTransitionContext, PageTransitionOptions, PageTransitionPreset, PipeArgSpec, PipeContext, PipeDescriptor, PlannedPageTransition, PopoverCloseOptions, PopoverOpenOptions, PopupOverlayState, PopupRuntimeOptions, PreloaderContent, PreloaderPreviewOptions, PreloaderRunOptions, PressAction, RegisteredField, ResolvedPageCover, ResolvedPageTransition, ResponsiveLayer, ResponsiveOverrides, ResponsiveRuleSet, RouteAnimationLike, ScrollPlanContext, ScrollProgressAction, ScrollProgressHost, ScrollProgressInteraction, ScrollSource, SeoDerivedContent, SeoFieldSource, SeoFieldState, SeoResolveContext, SetContextParams, SettleOptions, SliderBootOptions, SliderControlElements, SliderInputs, StateRulePlan, StateScope, StateStyleMap, StringFormOptions, StyleMap, StyleTreeNode, SwiperBreakpointMap, SwiperModuleFlags, SwiperPlan, SwiperPlanContext, ToastHandle, ToastOptions, ToggleableAction, TooltipRuntimeOptions, TooltipTimingState, TransitionFeel, TransitionPhase, TransitionPreviewLayers, TransitionTimelineInput, TransitionViewport, ValueSource, VirtualTraitGroup };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.194.0",
3
+ "version": "5.196.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -16,3 +16,6 @@ export * from './popover-opener';
16
16
  export * from './dialog-motion';
17
17
  export * from './reveal-origin';
18
18
  export * from './popup-arrival';
19
+ // The close word lives in design-core (composite-core's Lightbox recipe stamps it, and composite-core cannot import
20
+ // actions-core — actions-core imports composite-core); re-exported here for the overlays that already read it here.
21
+ export { CLOSE_WORDS, closeWord } from '@vectoriox/iox-ui/design-core';
@@ -58,7 +58,6 @@ export enum ShopWord {
58
58
  AddToCart = 'addToCart',
59
59
  BuyNow = 'buyNow',
60
60
  YourBag = 'yourBag',
61
- Close = 'close',
62
61
  RemoveLine = 'removeLine',
63
62
  EmptyBag = 'emptyBag',
64
63
  Subtotal = 'subtotal',
@@ -85,7 +84,6 @@ export const SHOP_WORDS: Readonly<Record<ShopWord, CommerceLabel>> = Object.free
85
84
  [ShopWord.AddToCart]: { en: 'Add to cart', he: 'הוספה לסל' },
86
85
  [ShopWord.BuyNow]: { en: 'Buy now', he: 'קנייה עכשיו' },
87
86
  [ShopWord.YourBag]: { en: 'Your bag', he: 'הסל שלך' },
88
- [ShopWord.Close]: { en: 'Close', he: 'סגירה' },
89
87
  [ShopWord.RemoveLine]: { en: 'Remove', he: 'הסרה' },
90
88
  [ShopWord.EmptyBag]: { en: 'Your bag is empty.', he: 'הסל שלך ריק.' },
91
89
  [ShopWord.Subtotal]: { en: 'Subtotal', he: 'סכום ביניים' },
@@ -1,6 +1,6 @@
1
1
  import { writeFieldError } from '@vectoriox/iox-ui/design-core';
2
2
  import {
3
- CUSTOMER_SLOT, customerDisplayName, customerSlotOf, EMAIL_CODE_TTL_MINUTES, isEmailCodeShape, normalizeEmailCode, normalizeSignInEmail,
3
+ CUSTOMER_SLOT, customerSlotOf, EMAIL_CODE_TTL_MINUTES, isEmailCodeShape, normalizeEmailCode, normalizeSignInEmail,
4
4
  SIGN_IN_PROVIDERS, SignInProvider, signInRefusal, SignInSlot, SignInWord, signInWord, siteAuthErrorCode, SiteAuthTransport, SiteCustomer,
5
5
  SiteSignInMethod, SiteSignInRefusalCode, SiteSignInReturnRefusal,
6
6
  } from '@vectoriox/iox-ui/identity-core';
@@ -325,7 +325,7 @@ export class AccountRuntime {
325
325
  this.host.publish?.(CUSTOMER_SLOT, slot);
326
326
  }
327
327
  const signedIn = this.customer ? '' : null;
328
- const name = customerDisplayName(this.customer);
328
+ const name = slot.name; // the first name — ONE derivation (identity-core `customerDisplayName`, board 12)
329
329
  for (const root of this.all(AccountRole.Account)) setAttr(root, SIGNED_IN_ATTRIBUTE, signedIn);
330
330
  for (const entry of this.all(AccountRole.Entry)) {
331
331
  setAttr(entry, SIGNED_IN_ATTRIBUTE, signedIn);
@@ -1,4 +1,4 @@
1
- import { HeaderBehaviour, HeaderEdge, headerBehaviourOf, headerEdgeOf, HeaderInk, headerInkOf, headerStaysAtTop, HeaderTrait } from '@vectoriox/iox-ui/design-core';
1
+ import { HeaderBehaviour, HeaderEdge, headerBehaviourOf, headerEdgeOf, HeaderGround, headerGroundOf, HeaderInk, headerInkOf, headerStaysAtTop, HeaderTrait } from '@vectoriox/iox-ui/design-core';
2
2
 
3
3
  import { CompositeNode, readProp, readStyle, writeProp, writeStyles } from './composite-node';
4
4
 
@@ -40,3 +40,25 @@ export function setHeaderInk(node: CompositeNode, ink: HeaderInk | `${HeaderInk}
40
40
  export function headerInkOfNode(node: CompositeNode | null | undefined): HeaderInk {
41
41
  return headerInkOf(node ? readProp(node, HeaderTrait.Ink) : undefined);
42
42
  }
43
+
44
+ /**
45
+ * What the header stands on (HI3 slice 1) — ONE edit for the Header studio ▸ Around the bar and the composer. A ground word
46
+ * is stored; `solid` clears a stored word and writes nothing on a header that never had one (a composition with the
47
+ * default ground stays byte-identical, R-H4). A header on a ground is the containing block of its ground layer and stands
48
+ * above the opening it overlaps: one stored `static` becomes `relative` (what the canvas, which forces a node's own
49
+ * position, draws it with). False when nothing changed.
50
+ */
51
+ export function setHeaderGround(node: CompositeNode, ground: HeaderGround | `${HeaderGround}`): boolean {
52
+ const want = headerGroundOf(ground);
53
+ const stored = readProp(node, HeaderTrait.Ground);
54
+ if (headerGroundOf(stored) === want) return false;
55
+ const changed = writeProp(node, HeaderTrait.Ground, want === HeaderGround.Solid ? '' : want);
56
+ const position = readStyle(node, 'position');
57
+ if (want !== HeaderGround.Solid && (position === undefined || position === null || position === '' || position === 'static')) writeStyles(node, { position: 'relative' });
58
+ return changed;
59
+ }
60
+
61
+ /** The header's ground as stored (Solid for a header that never chose). */
62
+ export function headerGroundOfNode(node: CompositeNode | null | undefined): HeaderGround {
63
+ return headerGroundOf(node ? readProp(node, HeaderTrait.Ground) : undefined);
64
+ }