@vectoriox/iox-ui 5.198.0 → 5.199.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 (43) hide show
  1. package/actions-core/index.d.ts +7 -1
  2. package/data-core/index.d.ts +11 -3
  3. package/design-core/index.d.ts +26 -1
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +6 -1
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-data-core.mjs +30 -4
  7. package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-design-core.mjs +65 -1
  9. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +10821 -10094
  11. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +243 -38
  13. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  14. package/generation-core/index.d.ts +463 -126
  15. package/harness-core/index.d.ts +93 -6
  16. package/package.json +1 -1
  17. package/src/actions-core/element-actions.ts +6 -0
  18. package/src/data-core/placeholder-rows.ts +29 -4
  19. package/src/design-core/menu-look.ts +23 -0
  20. package/src/design-core/node-classes.ts +39 -0
  21. package/src/generation-core/check-free.ts +17 -9
  22. package/src/generation-core/compose-free.ts +7 -2
  23. package/src/generation-core/compose-site.ts +167 -46
  24. package/src/generation-core/footer-mix.ts +161 -15
  25. package/src/generation-core/free-opening.ts +13 -2
  26. package/src/generation-core/free-wire.ts +8 -0
  27. package/src/generation-core/header-mix.ts +31 -2
  28. package/src/generation-core/legal.ts +24 -0
  29. package/src/generation-core/menu-shelves.ts +138 -0
  30. package/src/generation-core/nav-shape.ts +138 -15
  31. package/src/generation-core/node-baselines.generated.ts +1 -0
  32. package/src/generation-core/patterns.ts +7 -0
  33. package/src/generation-core/plan-wire.ts +1 -0
  34. package/src/generation-core/public-api.ts +1 -0
  35. package/src/generation-core/site-build-run.ts +8 -0
  36. package/src/generation-core/site-plan.model.ts +3 -0
  37. package/src/generation-core/site-spec.generated.ts +230 -70
  38. package/src/generation-core/validate-site-plan.ts +2 -0
  39. package/src/harness-core/business-types.ts +4 -0
  40. package/src/harness-core/harness-spec.generated.ts +189 -30
  41. package/src/harness-core/popup-stance.ts +56 -3
  42. package/src/harness-core/run-compose-context.ts +25 -5
  43. package/styles/iox-design.css +25 -0
@@ -74,7 +74,8 @@ export const SPEC_SITE_PLAN_SHAPE = {
74
74
  "business": {
75
75
  "name": "string — the brand: the header, the hero, the copyright line",
76
76
  "tagline?": "string — the hero lead and the footer line",
77
- "facts?": "{ [fact]: string } — facts (email, phone, city, address, hours): only the customer's own words; a blank fact is a publish-blocking placeholder, never invented"
77
+ "facts?": "{ [fact]: string } — facts (email, phone, city, address, hours): only the customer's own words; a blank fact is a publish-blocking placeholder, never invented",
78
+ "social?": "string[] — the owner's social links as stated (harness statedFacts.social, footer-v2 FV-D10): set by the server from the reading; never a model's. A footer holding social lists the ones on a network it can name"
78
79
  },
79
80
  "design": {
80
81
  "flavorId": "string — a v2 flavor pack id",
@@ -5852,6 +5853,107 @@ export const SPEC_SITE_FOOTER_PARTS = {
5852
5853
  "width": "auto"
5853
5854
  }
5854
5855
  },
5856
+ "social": {
5857
+ "t": "Container",
5858
+ "es": "box",
5859
+ "role": "footer.social",
5860
+ "lay": {
5861
+ "display": "flex",
5862
+ "flexDirection": "column",
5863
+ "gap": "8px"
5864
+ },
5865
+ "c": [
5866
+ {
5867
+ "t": "Heading",
5868
+ "es": "eyebrow",
5869
+ "level": "h4",
5870
+ "slot": "socialLabel",
5871
+ "max": 40,
5872
+ "text": "Follow",
5873
+ "textHe": "עקבו אחרינו"
5874
+ },
5875
+ {
5876
+ "t": "Container",
5877
+ "es": "box",
5878
+ "role": "footer.links",
5879
+ "lay": {
5880
+ "display": "flex",
5881
+ "flexWrap": "wrap",
5882
+ "gap": "var(--iox-space-gap)",
5883
+ "alignItems": "center",
5884
+ "width": "auto"
5885
+ },
5886
+ "c": [
5887
+ {
5888
+ "t": "Link",
5889
+ "es": "link",
5890
+ "role": "footer.social-link"
5891
+ }
5892
+ ]
5893
+ }
5894
+ ]
5895
+ },
5896
+ "top": {
5897
+ "t": "ButtonBlock",
5898
+ "es": "button-secondary",
5899
+ "scrolls": "top",
5900
+ "name": "Back to top",
5901
+ "role": "footer.top",
5902
+ "lay": {
5903
+ "display": "flex",
5904
+ "alignItems": "center",
5905
+ "justifyContent": "center",
5906
+ "width": "44px",
5907
+ "height": "44px",
5908
+ "padding": "0px",
5909
+ "borderRadius": "var(--iox-radius-pill)"
5910
+ },
5911
+ "c": [
5912
+ {
5913
+ "t": "Icon",
5914
+ "es": "icon",
5915
+ "icon": "ph ph-arrow-up"
5916
+ }
5917
+ ],
5918
+ "nameHe": "חזרה למעלה"
5919
+ },
5920
+ "contact-form": {
5921
+ "t": "Container",
5922
+ "es": "box",
5923
+ "role": "footer.before",
5924
+ "lay": {
5925
+ "display": "grid",
5926
+ "gridTemplateColumns": "0.9fr 1.1fr",
5927
+ "gap": "48px",
5928
+ "alignItems": "start"
5929
+ },
5930
+ "resp": {
5931
+ "mobile": {
5932
+ "gridTemplateColumns": "minmax(0, 1fr)"
5933
+ }
5934
+ },
5935
+ "c": [
5936
+ {
5937
+ "t": "Heading",
5938
+ "es": "h2",
5939
+ "level": "h2",
5940
+ "slot": "beforeTitle",
5941
+ "max": 44,
5942
+ "text": "Let's talk.",
5943
+ "textHe": "בואו נדבר."
5944
+ },
5945
+ {
5946
+ "t": "Container",
5947
+ "es": "card",
5948
+ "c": [
5949
+ {
5950
+ "t": "Form",
5951
+ "preset": "contact"
5952
+ }
5953
+ ]
5954
+ }
5955
+ ]
5956
+ },
5855
5957
  "rule": {
5856
5958
  "t": "Divider",
5857
5959
  "es": "rule"
@@ -8562,18 +8664,6 @@ export const SPEC_SITE_LAYOUT = {
8562
8664
  "ink.follows": "צבעי הכותרת העליונה הולכים אחרי הרקע של כל אזור שעובר מתחתיה"
8563
8665
  },
8564
8666
  "waits": {
8565
- "menuShows.pictures": {
8566
- "phase": "HI2",
8567
- "drawnAs": "links"
8568
- },
8569
- "menuShows.big": {
8570
- "phase": "HI2",
8571
- "drawnAs": "links"
8572
- },
8573
- "menuShows.words-card": {
8574
- "phase": "HI2",
8575
- "drawnAs": "links"
8576
- },
8577
8667
  "menuShows.two-levels": {
8578
8668
  "phase": "HI6",
8579
8669
  "drawnAs": "links"
@@ -8793,7 +8883,15 @@ export const SPEC_SITE_LAYOUT = {
8793
8883
  "noEdgeGrounds": [
8794
8884
  "glass",
8795
8885
  "over-glass"
8796
- ]
8886
+ ],
8887
+ "menuPicturesForms": [
8888
+ "panel",
8889
+ "full",
8890
+ "mega"
8891
+ ],
8892
+ "menuPicturesMin": 2,
8893
+ "menuPicturesMax": 3,
8894
+ "menuBigCount": 4
8797
8895
  },
8798
8896
  "references": [
8799
8897
  {
@@ -8895,6 +8993,17 @@ export const SPEC_SITE_LAYOUT = {
8895
8993
  "emboss",
8896
8994
  "offset",
8897
8995
  "script"
8996
+ ],
8997
+ "before": [
8998
+ "none",
8999
+ "contact-form",
9000
+ "newsletter-band",
9001
+ "visit"
9002
+ ],
9003
+ "phone": [
9004
+ "stack",
9005
+ "accordion",
9006
+ "first"
8898
9007
  ]
8899
9008
  },
8900
9009
  "many": [
@@ -8946,7 +9055,14 @@ export const SPEC_SITE_LAYOUT = {
8946
9055
  "ground.photo": "a still photograph of the owner's, dimmed, under the footer",
8947
9056
  "ground.gradient": "the colour's gradient wash on the footer",
8948
9057
  "ground.framed": "the footer as a ruled box inside the page frame",
8949
- "nameStyle.script": "the closing name in the look's script face"
9058
+ "nameStyle.script": "the closing name in the look's script face",
9059
+ "before.none": "nothing before the footer",
9060
+ "before.contact-form": "a contact-form area before the footer, on every page",
9061
+ "before.newsletter-band": "a sign-up band before the footer",
9062
+ "before.visit": "a band of where and when to visit before the footer",
9063
+ "phone.stack": "the blocks stacked one under another",
9064
+ "phone.accordion": "the link columns fold into accordions",
9065
+ "phone.first": "the sign-up comes first"
8950
9066
  },
8951
9067
  "waits": {
8952
9068
  "holds.newsletter": {
@@ -8997,17 +9113,21 @@ export const SPEC_SITE_LAYOUT = {
8997
9113
  "phase": "FV2",
8998
9114
  "drawnAs": "columns"
8999
9115
  },
9000
- "holds.social": {
9116
+ "holds.chat": {
9001
9117
  "phase": "FV1",
9002
9118
  "drawnAs": null
9003
9119
  },
9004
- "holds.top": {
9005
- "phase": "FV1",
9006
- "drawnAs": null
9120
+ "before.newsletter-band": {
9121
+ "phase": "AW12",
9122
+ "drawnAs": "none"
9007
9123
  },
9008
- "holds.chat": {
9124
+ "phone.accordion": {
9009
9125
  "phase": "FV1",
9010
- "drawnAs": null
9126
+ "drawnAs": "stack"
9127
+ },
9128
+ "phone.first": {
9129
+ "phase": "AW12",
9130
+ "drawnAs": "stack"
9011
9131
  },
9012
9132
  "closing.behind": {
9013
9133
  "phase": "FV3",
@@ -9026,38 +9146,7 @@ export const SPEC_SITE_LAYOUT = {
9026
9146
  "drawnAs": "plain"
9027
9147
  }
9028
9148
  },
9029
- "waitingIngredients": {
9030
- "before": {
9031
- "phase": "FV1",
9032
- "words": [
9033
- "none",
9034
- "contact-form",
9035
- "newsletter-band",
9036
- "visit"
9037
- ],
9038
- "default": "none",
9039
- "meanings": {
9040
- "before.none": "nothing before the footer",
9041
- "before.contact-form": "a contact-form area before the footer, on every page",
9042
- "before.newsletter-band": "a sign-up band before the footer",
9043
- "before.visit": "a band of where and when to visit before the footer"
9044
- }
9045
- },
9046
- "phone": {
9047
- "phase": "FV1",
9048
- "words": [
9049
- "stack",
9050
- "accordion",
9051
- "first"
9052
- ],
9053
- "default": "stack",
9054
- "meanings": {
9055
- "phone.stack": "the blocks stacked one under another",
9056
- "phone.accordion": "the link columns fold into accordions",
9057
- "phone.first": "the sign-up comes first"
9058
- }
9059
- }
9060
- },
9149
+ "waitingIngredients": {},
9061
9150
  "defaults": {
9062
9151
  "arrange": "columns",
9063
9152
  "holds": [
@@ -9066,7 +9155,9 @@ export const SPEC_SITE_LAYOUT = {
9066
9155
  ],
9067
9156
  "closing": "none",
9068
9157
  "ground": "inverse",
9069
- "nameStyle": "plain"
9158
+ "nameStyle": "plain",
9159
+ "before": "none",
9160
+ "phone": "stack"
9070
9161
  },
9071
9162
  "named": {
9072
9163
  "footer.three-column": {},
@@ -9100,8 +9191,86 @@ export const SPEC_SITE_LAYOUT = {
9100
9191
  "listBigPages": 6,
9101
9192
  "listBigLarge": 5,
9102
9193
  "statementPhoneLines": 3,
9103
- "legalAlways": true
9194
+ "legalAlways": true,
9195
+ "socialMax": 6
9104
9196
  },
9197
+ "socialNetworks": [
9198
+ {
9199
+ "id": "instagram",
9200
+ "name": "Instagram",
9201
+ "hosts": [
9202
+ "instagram.com"
9203
+ ]
9204
+ },
9205
+ {
9206
+ "id": "facebook",
9207
+ "name": "Facebook",
9208
+ "hosts": [
9209
+ "facebook.com",
9210
+ "fb.com"
9211
+ ]
9212
+ },
9213
+ {
9214
+ "id": "tiktok",
9215
+ "name": "TikTok",
9216
+ "hosts": [
9217
+ "tiktok.com"
9218
+ ]
9219
+ },
9220
+ {
9221
+ "id": "youtube",
9222
+ "name": "YouTube",
9223
+ "hosts": [
9224
+ "youtube.com",
9225
+ "youtu.be"
9226
+ ]
9227
+ },
9228
+ {
9229
+ "id": "linkedin",
9230
+ "name": "LinkedIn",
9231
+ "hosts": [
9232
+ "linkedin.com"
9233
+ ]
9234
+ },
9235
+ {
9236
+ "id": "pinterest",
9237
+ "name": "Pinterest",
9238
+ "hosts": [
9239
+ "pinterest.com"
9240
+ ]
9241
+ },
9242
+ {
9243
+ "id": "x",
9244
+ "name": "X",
9245
+ "hosts": [
9246
+ "x.com",
9247
+ "twitter.com"
9248
+ ]
9249
+ },
9250
+ {
9251
+ "id": "threads",
9252
+ "name": "Threads",
9253
+ "hosts": [
9254
+ "threads.net",
9255
+ "threads.com"
9256
+ ]
9257
+ },
9258
+ {
9259
+ "id": "behance",
9260
+ "name": "Behance",
9261
+ "hosts": [
9262
+ "behance.net"
9263
+ ]
9264
+ },
9265
+ {
9266
+ "id": "whatsapp",
9267
+ "name": "WhatsApp",
9268
+ "hosts": [
9269
+ "wa.me",
9270
+ "whatsapp.com"
9271
+ ]
9272
+ }
9273
+ ],
9105
9274
  "callWords": [
9106
9275
  {
9107
9276
  "text": "Book a table",
@@ -9195,6 +9364,7 @@ export const SPEC_SITE_LAYOUT = {
9195
9364
  "rules.listBigLarge": "all",
9196
9365
  "rules.statementPhoneLines": "all",
9197
9366
  "rules.legalAlways": "all",
9367
+ "rules.socialMax": "all",
9198
9368
  "arrange.free": "all",
9199
9369
  "holds.social": "all",
9200
9370
  "holds.top": "all",
@@ -9400,9 +9570,7 @@ export const SPEC_SITE_LAYOUT = {
9400
9570
  "contact",
9401
9571
  "newsletter"
9402
9572
  ],
9403
- "ground": "subtle"
9404
- },
9405
- "waiting": {
9573
+ "ground": "subtle",
9406
9574
  "phone": "first"
9407
9575
  }
9408
9576
  },
@@ -9474,9 +9642,7 @@ export const SPEC_SITE_LAYOUT = {
9474
9642
  "pages",
9475
9643
  "contact",
9476
9644
  "visit"
9477
- ]
9478
- },
9479
- "waiting": {
9645
+ ],
9480
9646
  "before": "newsletter-band"
9481
9647
  }
9482
9648
  },
@@ -9546,9 +9712,7 @@ export const SPEC_SITE_LAYOUT = {
9546
9712
  "holds": [
9547
9713
  "visit",
9548
9714
  "pages"
9549
- ]
9550
- },
9551
- "waiting": {
9715
+ ],
9552
9716
  "before": "contact-form"
9553
9717
  }
9554
9718
  },
@@ -9561,9 +9725,7 @@ export const SPEC_SITE_LAYOUT = {
9561
9725
  "holds": [
9562
9726
  "pages",
9563
9727
  "contact"
9564
- ]
9565
- },
9566
- "waiting": {
9728
+ ],
9567
9729
  "before": "contact-form"
9568
9730
  }
9569
9731
  },
@@ -9601,9 +9763,7 @@ export const SPEC_SITE_LAYOUT = {
9601
9763
  "pages",
9602
9764
  "contact",
9603
9765
  "newsletter"
9604
- ]
9605
- },
9606
- "waiting": {
9766
+ ],
9607
9767
  "phone": "accordion"
9608
9768
  }
9609
9769
  },
@@ -233,6 +233,8 @@ function validateBusiness(c: Collector, business: unknown): void {
233
233
  c.keys(business, BUSINESS_KEYS, 'business');
234
234
  if (!isNonEmptyString(business['name'])) c.add(SitePlanIssueCode.MissingBusinessName, 'business.name', 'the business name is required');
235
235
  if (business['tagline'] !== undefined && typeof business['tagline'] !== 'string') c.add(SitePlanIssueCode.Shape, 'business.tagline', 'must be a string');
236
+ const social = business['social'];
237
+ if (social !== undefined && (!Array.isArray(social) || social.some(a => typeof a !== 'string'))) c.add(SitePlanIssueCode.Shape, 'business.social', 'must be a list of web addresses');
236
238
  const facts = business['facts'];
237
239
  if (facts === undefined) return;
238
240
  if (!isObject(facts)) return c.add(SitePlanIssueCode.Shape, 'business.facts', 'must be an object');
@@ -205,6 +205,10 @@ export interface BusinessType {
205
205
  readonly stock: boolean;
206
206
  readonly booking: `${BookingNeed}`;
207
207
  readonly sells: `${SellingNeed}`;
208
+ /** Pictures first (harness OPENING_PICTURE, the 2026-11-28 reference baseline): the opening words its Home takes when
209
+ * the plan names none — the references for the type open on a picture (`frame:full`) or keep the words first beside one
210
+ * (`frame:inset`). Null: the Home opens as its plan writes. */
211
+ readonly opening: ReadonlyArray<string> | null;
208
212
  }
209
213
 
210
214
  /** The 30, in the board's order. Assignment here proves the generated data fits the type. */