@wix/himalaya-cli 0.1647.0 → 0.1649.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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/media/src/rendition.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-media.mjs +22 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-rich-content.mjs +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores-collections.mjs +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +4 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{155f61519885c85d61a39fa595197071a3ca07680da56055ccb1dcff2e709cd1.bin → 4ef4d326496b4d7809746936207067b4c921f5db9878ecc7030aa3a9e4d2aaeb.bin} +1 -1
- package/dist/browser-plane/sw.js +5 -5
- package/dist/cli.mjs +4098 -3351
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +2 -0
- package/guides/designing-himi-screens.md +4 -0
- package/guides/himi-skill.md +6 -0
- package/guides/image-preview.md +92 -0
- package/guides/index.json +7 -0
- package/guides/release-notes.md +6 -0
- package/guides/sdk-reference.json +9 -2
- package/package.json +2 -2
- package/template-icons/wholesale-store.png +0 -0
- package/templates/beauty-salon-owner/dev/index.ts +7 -0
- package/templates/community-club-owner/dev/index.ts +7 -0
- package/templates/events-meetups-owner/dev/index.ts +7 -0
- package/templates/gym-fitness-owner/dev/index.ts +7 -0
- package/templates/nonprofit-cause-owner/dev/index.ts +7 -0
- package/templates/owner-lite/dev/index.ts +7 -0
- package/templates/podcast-creator-owner/dev/index.ts +7 -0
- package/templates/portfolio-creative-owner/dev/index.ts +7 -0
- package/templates/restaurant-owner/dev/index.ts +7 -0
- package/templates/retail-store-owner/dev/index.ts +7 -0
- package/templates/wholesale-store/README.md +53 -0
- package/templates/wholesale-store/config.ts +247 -0
- package/templates/wholesale-store/dev/index.ts +12194 -0
- package/templates/wholesale-store/himalaya.content.json +43 -0
- package/templates/wholesale-store/himalaya.template.json +14 -0
- package/templates/wholesale-store/icon.png +0 -0
- package/templates/wholesale-store/platforms.json +1 -0
- package/templates/wholesale-store/tier5-src/_shared/app-locale.ts +61 -0
- package/templates/wholesale-store/tier5-src/_shared/branded-lite-hosted.ts +279 -0
- package/templates/wholesale-store/tier5-src/_shared/business-chat-copy.ts +40 -0
- package/templates/wholesale-store/tier5-src/_shared/business-chat-history.ts +51 -0
- package/templates/wholesale-store/tier5-src/_shared/business-chat-message-model.ts +177 -0
- package/templates/wholesale-store/tier5-src/_shared/business-chat-model.ts +56 -0
- package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +576 -0
- package/templates/wholesale-store/tier5-src/_shared/business-chat-transport.ts +148 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-query-legacy.ts +194 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-query.ts +252 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-service.ts +423 -0
- package/templates/wholesale-store/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/wholesale-store/tier5-src/_shared/empty-flags.ts +33 -0
- package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +508 -0
- package/templates/wholesale-store/tier5-src/_shared/exclusive-writes.ts +66 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +164 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-copy.ts +89 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-store-categories.ts +108 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-store-collection.ts +22 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-store-saved.ts +57 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/wholesale-store/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/wholesale-store/tier5-src/_shared/iap-presentation.ts +207 -0
- package/templates/wholesale-store/tier5-src/_shared/iap-worker.ts +125 -0
- package/templates/wholesale-store/tier5-src/_shared/inbox-rooms.ts +68 -0
- package/templates/wholesale-store/tier5-src/_shared/live-session.ts +172 -0
- package/templates/wholesale-store/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/wholesale-store/tier5-src/_shared/member-access.ts +52 -0
- package/templates/wholesale-store/tier5-src/_shared/member-account-routes.ts +52 -0
- package/templates/wholesale-store/tier5-src/_shared/member-orders.ts +8 -0
- package/templates/wholesale-store/tier5-src/_shared/member-screen.ts +99 -0
- package/templates/wholesale-store/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/wholesale-store/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/wholesale-store/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/wholesale-store/tier5-src/_shared/payment-setup.ts +6 -0
- package/templates/wholesale-store/tier5-src/_shared/read-service.ts +255 -0
- package/templates/wholesale-store/tier5-src/_shared/restaurant-ordering.ts +201 -0
- package/templates/wholesale-store/tier5-src/_shared/rich-body.ts +78 -0
- package/templates/wholesale-store/tier5-src/_shared/rich-content-link.ts +34 -0
- package/templates/wholesale-store/tier5-src/_shared/sign-in-sheet.ts +18 -0
- package/templates/wholesale-store/tier5-src/_shared/store-order-presentation.ts +56 -0
- package/templates/wholesale-store/tier5-src/_shared/store-product-info.ts +50 -0
- package/templates/wholesale-store/tier5-src/business-chat/index.ts +724 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-cart/index.ts +602 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-order/index.ts +472 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-orders/index.ts +327 -0
- package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +998 -0
- package/templates/wholesale-store/tier5-src/himi-store-product/index.ts +889 -0
- package/templates/wholesale-store/tier5-src/himi-store-saved/index.ts +68 -0
- package/templates/wholesale-store/tier5-src/himi-store-shop/index.ts +150 -0
- package/templates/wholesale-store/tier5-src/himi-wholesale-home/index.ts +507 -0
- package/templates/wholesale-store/tier5-src/wix-spaces-collection-detail/index.ts +195 -0
- package/templates/wholesale-store/tokens.json +340 -0
- package/templates/yoga-studio-owner/dev/index.ts +7 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
// Tier-5 bundle: Wix Spaces clone — Collection detail (ON-DEVICE, site-scoped).
|
|
2
|
+
// Prefer Catalog V3 `getStoreCategory`; V1 `getCollection` 428s on CATALOG_V3 sites.
|
|
3
|
+
//
|
|
4
|
+
// #4155 — the screen showed the category header ("N products") and never the products.
|
|
5
|
+
// Once the category resolves, its products load through `searchStoreProducts({ categoryId })`
|
|
6
|
+
// with the same row shape as `himi-store-shop`, so a category reads as a filtered Shop.
|
|
7
|
+
//
|
|
8
|
+
// Two lifecycles, deliberately kept apart:
|
|
9
|
+
// • the CATEGORY — presence flags (loading / found / missing / failed), as every detail screen;
|
|
10
|
+
// • its PRODUCTS — a cursor-paged list (`createCollectionQuery`) with its own loading, failed
|
|
11
|
+
// and empty states. A product read that fails leaves a FOUND category found: the header
|
|
12
|
+
// stays and the list offers a retry. It never turns into "Category not found".
|
|
13
|
+
import { copyParam, stashCopy } from "../_shared/himi-copy.js";
|
|
14
|
+
import { defineService } from "@himalaya/state";
|
|
15
|
+
import {
|
|
16
|
+
categoryCount,
|
|
17
|
+
getCollection,
|
|
18
|
+
getStoreCategory,
|
|
19
|
+
type WixCollection,
|
|
20
|
+
} from "@himalaya/wix-stores-collections";
|
|
21
|
+
import { presence, presenceAfterError, detailInputId, type PresenceFlags } from "../_shared/detail-presence.js";
|
|
22
|
+
import { createCollectionQuery, type CollectionQueryState } from "../_shared/collection-query.js";
|
|
23
|
+
import { productImage, productPrice, searchStoreProducts, type StoreProduct } from "../_shared/himi-store.js";
|
|
24
|
+
import { cleanTitle, initials } from "../_shared/himi-text.js";
|
|
25
|
+
|
|
26
|
+
interface Row {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
subtitle: string;
|
|
30
|
+
image: string;
|
|
31
|
+
initial: string;
|
|
32
|
+
hasImage: boolean;
|
|
33
|
+
noImage: boolean;
|
|
34
|
+
detailScreenId: string;
|
|
35
|
+
productNote: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface S extends PresenceFlags {
|
|
39
|
+
status: "loading" | "ready";
|
|
40
|
+
query: string;
|
|
41
|
+
sort: "default" | "az" | "za";
|
|
42
|
+
name: string;
|
|
43
|
+
subtitle: string;
|
|
44
|
+
description: string;
|
|
45
|
+
/** Which `load` the committed state belongs to — a products snapshot is only ever
|
|
46
|
+
* projected onto the category it was fetched for. */
|
|
47
|
+
loadId: number;
|
|
48
|
+
products: Row[];
|
|
49
|
+
/** Load-more cursor — non-empty while another page exists and none is in flight. */
|
|
50
|
+
productsCursor: string;
|
|
51
|
+
hideProducts: boolean;
|
|
52
|
+
hideProductsLoading: boolean;
|
|
53
|
+
/** Gates the products retry block (the category's own failure is `hideLoadError`). */
|
|
54
|
+
productsNotErrored: boolean;
|
|
55
|
+
/** Gates the "next page failed" retry under the list. A failed load-more keeps the rows
|
|
56
|
+
* and clears the cursor, so without this the list would just stop and read as complete. */
|
|
57
|
+
productsNoPageError: boolean;
|
|
58
|
+
/** One plain line for a screen that has no dedicated empty / error blocks ("" otherwise). */
|
|
59
|
+
productsMessage: string;
|
|
60
|
+
/** Gates the "no products in this category" block (screen-kit `emptyBlock` reads `noEmpty`). */
|
|
61
|
+
noEmpty: boolean;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** The same row `himi-store-shop` emits, so the screen reuses the Shop tile. */
|
|
65
|
+
function row(p: StoreProduct): Row {
|
|
66
|
+
const name = cleanTitle(p.name) || "Product";
|
|
67
|
+
const image = productImage(p);
|
|
68
|
+
return {
|
|
69
|
+
id: p.id ?? "",
|
|
70
|
+
name,
|
|
71
|
+
subtitle: productPrice(p),
|
|
72
|
+
image,
|
|
73
|
+
initial: initials(name),
|
|
74
|
+
hasImage: !!image,
|
|
75
|
+
noImage: !image,
|
|
76
|
+
detailScreenId: "himi_product",
|
|
77
|
+
productNote: [
|
|
78
|
+
p.inventory?.availabilityStatus === "OUT_OF_STOCK" ? copyParam("collection.outOfStock", "Out of stock")
|
|
79
|
+
: p.inventory?.availabilityStatus === "PARTIALLY_OUT_OF_STOCK" ? copyParam("collection.someUnavailable", "Some options unavailable") : "",
|
|
80
|
+
p.productType?.toLowerCase() === "digital" ? copyParam("collection.digitalLabel", "Digital product") : "",
|
|
81
|
+
].filter(Boolean).join(" · "),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
let categoryId = "";
|
|
86
|
+
let loadId = 0;
|
|
87
|
+
const products = createCollectionQuery<Row>({
|
|
88
|
+
id: (item) => item.id,
|
|
89
|
+
async fetch(criteria, cursor) {
|
|
90
|
+
const response = await searchStoreProducts({ categoryId, query: criteria.query, sort: criteria.sort, limit: 50, cursor: cursor || undefined });
|
|
91
|
+
return {
|
|
92
|
+
items: (response.products ?? []).map(row).filter((item) => !!item.id),
|
|
93
|
+
nextCursor: response.pagingMetadata?.cursors?.next ?? "",
|
|
94
|
+
total: response.pagingMetadata?.total,
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
}, () => { void svc.productsChanged(); });
|
|
98
|
+
|
|
99
|
+
/** Project the products snapshot onto a state whose category is FOUND. Anything else
|
|
100
|
+
* (loading, missing, failed) shows no product UI at all. */
|
|
101
|
+
function withProducts(s: S, page: CollectionQueryState<Row> = products.getState()): S {
|
|
102
|
+
const found = s.found;
|
|
103
|
+
const items = found ? page.items : [];
|
|
104
|
+
const loading = page.status === "idle" || page.status === "loading";
|
|
105
|
+
return {
|
|
106
|
+
...s,
|
|
107
|
+
products: items,
|
|
108
|
+
productsCursor: found && !page.pageError && !page.loadingMore ? page.nextCursor : "",
|
|
109
|
+
hideProducts: items.length === 0,
|
|
110
|
+
hideProductsLoading: !(found && loading && items.length === 0),
|
|
111
|
+
productsNotErrored: !(found && page.status === "error"),
|
|
112
|
+
productsNoPageError: !(found && page.pageError),
|
|
113
|
+
noEmpty: !(found && page.status === "ready" && items.length === 0),
|
|
114
|
+
productsMessage: !found ? ""
|
|
115
|
+
: page.status === "error" || page.pageError ? "Products couldn't load. Pull to refresh to try again."
|
|
116
|
+
: page.status === "ready" && items.length === 0 ? "No products in this category yet." : "",
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const NO_PRODUCTS = { products: [], productsCursor: "", hideProducts: true, hideProductsLoading: true,
|
|
121
|
+
productsNotErrored: true, productsNoPageError: true, noEmpty: true, productsMessage: "" };
|
|
122
|
+
|
|
123
|
+
const initial: S = { query: "", sort: "default", status: "loading", name: "", subtitle: "", description: "", loadId: 0, ...NO_PRODUCTS, ...presence("loading") };
|
|
124
|
+
|
|
125
|
+
/** The category header for `id`: V3 category first, V1 collection as the fallback. */
|
|
126
|
+
async function readCategory(id: string): Promise<Pick<S, "name" | "subtitle" | "description">> {
|
|
127
|
+
try {
|
|
128
|
+
const c = (await getStoreCategory(id)).category;
|
|
129
|
+
if (c?.id || c?.name) return { name: c.name || "Category", subtitle: categoryCount(c), description: c.description || "" };
|
|
130
|
+
} catch { /* fall through to V1 */ }
|
|
131
|
+
const res = await getCollection(id);
|
|
132
|
+
const c = (((res as unknown as { collection?: WixCollection }).collection) ?? (res as unknown as WixCollection)) as unknown as {
|
|
133
|
+
name?: string; numberOfProducts?: number; description?: string;
|
|
134
|
+
};
|
|
135
|
+
const n = c.numberOfProducts;
|
|
136
|
+
return {
|
|
137
|
+
name: c.name || "Collection",
|
|
138
|
+
subtitle: n != null ? `${n} ${n === 1 ? "product" : "products"}` : "",
|
|
139
|
+
description: c.description || "",
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
const svc = defineService<S, {
|
|
144
|
+
load: (s: S, arg?: unknown) => Promise<S | undefined>;
|
|
145
|
+
search: (s: S, arg?: { value?: string }) => S;
|
|
146
|
+
sortProducts: (s: S, arg?: { selectedId?: string }) => S;
|
|
147
|
+
productsChanged: (s: S) => S | undefined;
|
|
148
|
+
loadMoreProducts: (s: S) => Promise<undefined>;
|
|
149
|
+
retryProducts: (s: S) => Promise<undefined>;
|
|
150
|
+
}>("spacesCollectionDetail", {
|
|
151
|
+
state: initial,
|
|
152
|
+
// A cold boot must not paint another category's products from last run's snapshot.
|
|
153
|
+
notHydrated: ["products", "productsCursor", "hideProducts", "hideProductsLoading", "productsNotErrored", "productsNoPageError", "noEmpty", "productsMessage", "loadId"],
|
|
154
|
+
actions: {
|
|
155
|
+
load: async (s, arg) => {
|
|
156
|
+
stashCopy(arg);
|
|
157
|
+
const run = ++loadId;
|
|
158
|
+
const id = detailInputId();
|
|
159
|
+
if (!id) return { ...s, ...NO_PRODUCTS, loadId: run, status: "ready", ...presence("missing") };
|
|
160
|
+
let header: Pick<S, "name" | "subtitle" | "description">;
|
|
161
|
+
try {
|
|
162
|
+
header = await readCategory(id);
|
|
163
|
+
} catch (e) {
|
|
164
|
+
if (run !== loadId) return undefined;
|
|
165
|
+
return { ...s, ...NO_PRODUCTS, loadId: run, status: "ready", ...presenceAfterError(e) };
|
|
166
|
+
}
|
|
167
|
+
// A newer load (onAppear after the boot load, pull-to-refresh) owns the screen now.
|
|
168
|
+
if (run !== loadId) return undefined;
|
|
169
|
+
const sameCategory = categoryId === id;
|
|
170
|
+
categoryId = id;
|
|
171
|
+
// Starts the first page; its snapshots land through `productsChanged`, which ignores
|
|
172
|
+
// them until THIS state (stamped `run`) is committed. The "loading" snapshot is read
|
|
173
|
+
// synchronously below, so the header paints with the products skeleton under it.
|
|
174
|
+
const query = sameCategory ? s.query : "";
|
|
175
|
+
const sort = sameCategory ? s.sort : "default";
|
|
176
|
+
void products.query({ query, sort });
|
|
177
|
+
return withProducts({ ...s, ...header, query, sort, loadId: run, status: "ready", ...presence("found") });
|
|
178
|
+
},
|
|
179
|
+
search: (s, arg) => {
|
|
180
|
+
const query = (arg?.value ?? "").slice(0, 256);
|
|
181
|
+
if (s.found) void products.query({ query, sort: s.sort });
|
|
182
|
+
return withProducts({ ...s, query });
|
|
183
|
+
},
|
|
184
|
+
sortProducts: (s, arg) => {
|
|
185
|
+
const sort = arg?.selectedId === "az" || arg?.selectedId === "za" ? arg.selectedId : "default";
|
|
186
|
+
if (s.found) void products.query({ query: s.query, sort });
|
|
187
|
+
return withProducts({ ...s, sort });
|
|
188
|
+
},
|
|
189
|
+
productsChanged: (s) => (s.loadId === loadId && s.found ? withProducts(s) : undefined),
|
|
190
|
+
loadMoreProducts: async () => { await products.loadMore(); return undefined; },
|
|
191
|
+
retryProducts: async () => { await products.retry(); return undefined; },
|
|
192
|
+
},
|
|
193
|
+
});
|
|
194
|
+
svc.load();
|
|
195
|
+
export { svc };
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
{
|
|
2
|
+
"colors": {
|
|
3
|
+
"surfacePrimary": {
|
|
4
|
+
"light": "#F7F4FC",
|
|
5
|
+
"dark": "#140F24",
|
|
6
|
+
"highContrast": "#FFFFFF"
|
|
7
|
+
},
|
|
8
|
+
"surfaceSecondary": {
|
|
9
|
+
"light": "#EFEAF8",
|
|
10
|
+
"dark": "#1A1430",
|
|
11
|
+
"highContrast": "#F2F2F2"
|
|
12
|
+
},
|
|
13
|
+
"surfaceElevated": {
|
|
14
|
+
"light": "#FFFFFF",
|
|
15
|
+
"dark": "#231B3D",
|
|
16
|
+
"highContrast": "#FFFFFF"
|
|
17
|
+
},
|
|
18
|
+
"surfaceSubtle": {
|
|
19
|
+
"light": "#F3EFFA",
|
|
20
|
+
"dark": "#181229",
|
|
21
|
+
"highContrast": "#FFFFFF"
|
|
22
|
+
},
|
|
23
|
+
"surfaceTertiary": {
|
|
24
|
+
"light": "#E6DFF4",
|
|
25
|
+
"dark": "#2D2450",
|
|
26
|
+
"highContrast": "#E6E6E6"
|
|
27
|
+
},
|
|
28
|
+
"textPrimary": {
|
|
29
|
+
"light": "#1A1430",
|
|
30
|
+
"dark": "#F5F2FF",
|
|
31
|
+
"highContrast": "#000000"
|
|
32
|
+
},
|
|
33
|
+
"textSecondary": {
|
|
34
|
+
"light": "#4E4668",
|
|
35
|
+
"dark": "#C9C1E4",
|
|
36
|
+
"highContrast": "#1F1F1F"
|
|
37
|
+
},
|
|
38
|
+
"textTertiary": {
|
|
39
|
+
"light": "#6E6688",
|
|
40
|
+
"dark": "#A39BC2",
|
|
41
|
+
"highContrast": "#333333"
|
|
42
|
+
},
|
|
43
|
+
"textOnAccent": {
|
|
44
|
+
"light": "#FFFFFF",
|
|
45
|
+
"dark": "#140F24",
|
|
46
|
+
"highContrast": "#FFFFFF"
|
|
47
|
+
},
|
|
48
|
+
"accentPrimary": {
|
|
49
|
+
"light": "#5B2FC9",
|
|
50
|
+
"dark": "#FFFFFF",
|
|
51
|
+
"highContrast": "#2E0F84"
|
|
52
|
+
},
|
|
53
|
+
"accentSecondary": {
|
|
54
|
+
"light": "#7442E0",
|
|
55
|
+
"dark": "#7442E0",
|
|
56
|
+
"highContrast": "#3A1690"
|
|
57
|
+
},
|
|
58
|
+
"accentSurface": {
|
|
59
|
+
"light": "#ECE5FB",
|
|
60
|
+
"dark": "#2E2350",
|
|
61
|
+
"highContrast": "#F1ECFC"
|
|
62
|
+
},
|
|
63
|
+
"accentText": {
|
|
64
|
+
"light": "#5226BD",
|
|
65
|
+
"dark": "#C2A8FF",
|
|
66
|
+
"highContrast": "#2E0F84"
|
|
67
|
+
},
|
|
68
|
+
"success": {
|
|
69
|
+
"light": "#1F7A4D",
|
|
70
|
+
"dark": "#6FD3A0",
|
|
71
|
+
"highContrast": "#0F4526"
|
|
72
|
+
},
|
|
73
|
+
"successSurface": {
|
|
74
|
+
"light": "#E6F4EC",
|
|
75
|
+
"dark": "#10261C",
|
|
76
|
+
"highContrast": "#E7F0E9"
|
|
77
|
+
},
|
|
78
|
+
"warning": {
|
|
79
|
+
"light": "#8A5A00",
|
|
80
|
+
"dark": "#E5B65C",
|
|
81
|
+
"highContrast": "#5C3E07"
|
|
82
|
+
},
|
|
83
|
+
"warningSurface": {
|
|
84
|
+
"light": "#FBF1DC",
|
|
85
|
+
"dark": "#2A2010",
|
|
86
|
+
"highContrast": "#F6EEDC"
|
|
87
|
+
},
|
|
88
|
+
"danger": {
|
|
89
|
+
"light": "#B3261E",
|
|
90
|
+
"dark": "#FF8A80",
|
|
91
|
+
"highContrast": "#7A1F17"
|
|
92
|
+
},
|
|
93
|
+
"dangerSurface": {
|
|
94
|
+
"light": "#FBE9E7",
|
|
95
|
+
"dark": "#2E1416",
|
|
96
|
+
"highContrast": "#F7E8E5"
|
|
97
|
+
},
|
|
98
|
+
"border": {
|
|
99
|
+
"light": "#E2DAF2",
|
|
100
|
+
"dark": "#352B57",
|
|
101
|
+
"highContrast": "#5C5C5C"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"spacing": {
|
|
105
|
+
"xs": 4,
|
|
106
|
+
"sm": 8,
|
|
107
|
+
"md": 12,
|
|
108
|
+
"lg": 16,
|
|
109
|
+
"xl": 24,
|
|
110
|
+
"xxl": 32
|
|
111
|
+
},
|
|
112
|
+
"typography": {
|
|
113
|
+
"display": {
|
|
114
|
+
"size": 38,
|
|
115
|
+
"weight": 700,
|
|
116
|
+
"line": 1.12,
|
|
117
|
+
"letterSpacing": -0.4,
|
|
118
|
+
"family": "Wix Madefor Display"
|
|
119
|
+
},
|
|
120
|
+
"heroTitle": {
|
|
121
|
+
"size": 34,
|
|
122
|
+
"weight": 700,
|
|
123
|
+
"line": 1.12,
|
|
124
|
+
"letterSpacing": -0.3,
|
|
125
|
+
"family": "Wix Madefor Display"
|
|
126
|
+
},
|
|
127
|
+
"pageTitle": {
|
|
128
|
+
"size": 28,
|
|
129
|
+
"weight": 700,
|
|
130
|
+
"line": 1.2,
|
|
131
|
+
"letterSpacing": -0.2,
|
|
132
|
+
"family": "Wix Madefor Display"
|
|
133
|
+
},
|
|
134
|
+
"title1": {
|
|
135
|
+
"size": 30,
|
|
136
|
+
"weight": 700,
|
|
137
|
+
"line": 1.2,
|
|
138
|
+
"letterSpacing": -0.3,
|
|
139
|
+
"family": "Wix Madefor Display"
|
|
140
|
+
},
|
|
141
|
+
"title2": {
|
|
142
|
+
"size": 24,
|
|
143
|
+
"weight": 700,
|
|
144
|
+
"line": 1.25,
|
|
145
|
+
"letterSpacing": -0.2,
|
|
146
|
+
"family": "Wix Madefor Display"
|
|
147
|
+
},
|
|
148
|
+
"title3": {
|
|
149
|
+
"size": 18,
|
|
150
|
+
"weight": 600,
|
|
151
|
+
"line": 1.3,
|
|
152
|
+
"letterSpacing": 0,
|
|
153
|
+
"family": "Wix Madefor Text"
|
|
154
|
+
},
|
|
155
|
+
"headline": {
|
|
156
|
+
"size": 16,
|
|
157
|
+
"weight": 600,
|
|
158
|
+
"line": 1.35,
|
|
159
|
+
"letterSpacing": 0,
|
|
160
|
+
"family": "Wix Madefor Text"
|
|
161
|
+
},
|
|
162
|
+
"body": {
|
|
163
|
+
"size": 16,
|
|
164
|
+
"weight": 400,
|
|
165
|
+
"line": 1.5,
|
|
166
|
+
"letterSpacing": 0,
|
|
167
|
+
"family": "Wix Madefor Text"
|
|
168
|
+
},
|
|
169
|
+
"bodyEmphasis": {
|
|
170
|
+
"size": 16,
|
|
171
|
+
"weight": 600,
|
|
172
|
+
"line": 1.4,
|
|
173
|
+
"letterSpacing": 0,
|
|
174
|
+
"family": "Wix Madefor Text"
|
|
175
|
+
},
|
|
176
|
+
"callout": {
|
|
177
|
+
"size": 15,
|
|
178
|
+
"weight": 500,
|
|
179
|
+
"line": 1.4,
|
|
180
|
+
"letterSpacing": 0,
|
|
181
|
+
"family": "Wix Madefor Text"
|
|
182
|
+
},
|
|
183
|
+
"label": {
|
|
184
|
+
"size": 14,
|
|
185
|
+
"weight": 600,
|
|
186
|
+
"line": 1.3,
|
|
187
|
+
"letterSpacing": 0,
|
|
188
|
+
"family": "Wix Madefor Text"
|
|
189
|
+
},
|
|
190
|
+
"footnote": {
|
|
191
|
+
"size": 14,
|
|
192
|
+
"weight": 400,
|
|
193
|
+
"line": 1.45,
|
|
194
|
+
"letterSpacing": 0,
|
|
195
|
+
"family": "Wix Madefor Text"
|
|
196
|
+
},
|
|
197
|
+
"caption": {
|
|
198
|
+
"size": 12,
|
|
199
|
+
"weight": 500,
|
|
200
|
+
"line": 1.4,
|
|
201
|
+
"letterSpacing": 0.2,
|
|
202
|
+
"family": "Wix Madefor Text"
|
|
203
|
+
},
|
|
204
|
+
"footnoteRegular": {
|
|
205
|
+
"size": 14,
|
|
206
|
+
"weight": 400,
|
|
207
|
+
"line": 1.45,
|
|
208
|
+
"letterSpacing": 0,
|
|
209
|
+
"family": "Wix Madefor Text"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"radius": {
|
|
213
|
+
"sm": 12,
|
|
214
|
+
"md": 20,
|
|
215
|
+
"lg": 28,
|
|
216
|
+
"pill": 999
|
|
217
|
+
},
|
|
218
|
+
"kit": {
|
|
219
|
+
"material": "flat",
|
|
220
|
+
"variant": "default",
|
|
221
|
+
"density": "spacious",
|
|
222
|
+
"motion": "smooth",
|
|
223
|
+
"motionDefaults": "subtle"
|
|
224
|
+
},
|
|
225
|
+
"shadows": {
|
|
226
|
+
"sm": {
|
|
227
|
+
"color": "#0B0716",
|
|
228
|
+
"opacity": 0.06,
|
|
229
|
+
"radius": 8,
|
|
230
|
+
"x": 0,
|
|
231
|
+
"y": 2
|
|
232
|
+
},
|
|
233
|
+
"md": {
|
|
234
|
+
"color": "#0B0716",
|
|
235
|
+
"opacity": 0.09,
|
|
236
|
+
"radius": 18,
|
|
237
|
+
"x": 0,
|
|
238
|
+
"y": 6
|
|
239
|
+
},
|
|
240
|
+
"lg": {
|
|
241
|
+
"color": "#0B0716",
|
|
242
|
+
"opacity": 0.12,
|
|
243
|
+
"radius": 30,
|
|
244
|
+
"x": 0,
|
|
245
|
+
"y": 12
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"gradients": {
|
|
249
|
+
"brand": {
|
|
250
|
+
"colors": [
|
|
251
|
+
"accentPrimary",
|
|
252
|
+
"accentText"
|
|
253
|
+
],
|
|
254
|
+
"angle": 135
|
|
255
|
+
},
|
|
256
|
+
"subtle": {
|
|
257
|
+
"colors": [
|
|
258
|
+
"surfaceSecondary",
|
|
259
|
+
"surfacePrimary"
|
|
260
|
+
],
|
|
261
|
+
"angle": 180
|
|
262
|
+
},
|
|
263
|
+
"hero": {
|
|
264
|
+
"colors": [
|
|
265
|
+
"accentSurface",
|
|
266
|
+
"surfacePrimary"
|
|
267
|
+
],
|
|
268
|
+
"angle": 160
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"materials": {
|
|
272
|
+
"flat": {
|
|
273
|
+
"style": "flat",
|
|
274
|
+
"tint": "surfaceSecondary",
|
|
275
|
+
"opacity": 1
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"motions": {
|
|
279
|
+
"smooth": {
|
|
280
|
+
"duration": 260,
|
|
281
|
+
"easing": "easeInOut"
|
|
282
|
+
},
|
|
283
|
+
"quick": {
|
|
284
|
+
"duration": 140,
|
|
285
|
+
"easing": "easeOut"
|
|
286
|
+
},
|
|
287
|
+
"appearSoft": {
|
|
288
|
+
"duration": 480,
|
|
289
|
+
"easing": "easeOut"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"tabBar": {
|
|
293
|
+
"background": {
|
|
294
|
+
"color": "surfaceElevated"
|
|
295
|
+
},
|
|
296
|
+
"shape": {
|
|
297
|
+
"kind": "full"
|
|
298
|
+
},
|
|
299
|
+
"border": {
|
|
300
|
+
"topHairline": true,
|
|
301
|
+
"color": "border"
|
|
302
|
+
},
|
|
303
|
+
"selectedIndicator": {
|
|
304
|
+
"kind": "colorOnly",
|
|
305
|
+
"color": "accentPrimary"
|
|
306
|
+
},
|
|
307
|
+
"activeTint": "accentPrimary",
|
|
308
|
+
"inactiveTint": "textTertiary",
|
|
309
|
+
"labels": {
|
|
310
|
+
"show": true,
|
|
311
|
+
"typography": "caption"
|
|
312
|
+
},
|
|
313
|
+
"iconSize": 22,
|
|
314
|
+
"motion": "smooth"
|
|
315
|
+
},
|
|
316
|
+
"drawer": {
|
|
317
|
+
"background": {
|
|
318
|
+
"color": "surfaceSecondary"
|
|
319
|
+
},
|
|
320
|
+
"width": 300,
|
|
321
|
+
"activeTint": "accentPrimary",
|
|
322
|
+
"inactiveTint": "textSecondary",
|
|
323
|
+
"selectedIndicator": {
|
|
324
|
+
"kind": "pill",
|
|
325
|
+
"color": "accentPrimary"
|
|
326
|
+
},
|
|
327
|
+
"labels": {
|
|
328
|
+
"show": true,
|
|
329
|
+
"typography": "body"
|
|
330
|
+
},
|
|
331
|
+
"iconSize": 22,
|
|
332
|
+
"edgeInsets": 12,
|
|
333
|
+
"motion": "smooth"
|
|
334
|
+
},
|
|
335
|
+
"contentMaxWidth": {
|
|
336
|
+
"base": 480,
|
|
337
|
+
"medium": 600,
|
|
338
|
+
"expanded": 760
|
|
339
|
+
}
|
|
340
|
+
}
|
|
@@ -58776,6 +58776,7 @@ const SCREENS = runtimeSetting({
|
|
|
58776
58776
|
}
|
|
58777
58777
|
},
|
|
58778
58778
|
"modifiers": {
|
|
58779
|
+
"imagePreview": "off",
|
|
58779
58780
|
"hiddenPath": "$service:himiOwnerLiteAria.widget.optionsGridHidden"
|
|
58780
58781
|
}
|
|
58781
58782
|
},
|
|
@@ -60257,6 +60258,9 @@ const SCREENS = runtimeSetting({
|
|
|
60257
60258
|
}
|
|
60258
60259
|
]
|
|
60259
60260
|
}
|
|
60261
|
+
},
|
|
60262
|
+
"modifiers": {
|
|
60263
|
+
"imagePreview": "on"
|
|
60260
60264
|
}
|
|
60261
60265
|
},
|
|
60262
60266
|
"accessibilityAnnouncement": "$service:himiOwnerLiteAria.widget.text"
|
|
@@ -62885,6 +62889,7 @@ const SCREENS = runtimeSetting({
|
|
|
62885
62889
|
}
|
|
62886
62890
|
},
|
|
62887
62891
|
"modifiers": {
|
|
62892
|
+
"imagePreview": "view",
|
|
62888
62893
|
"hiddenPath": "$item.thumbHidden"
|
|
62889
62894
|
}
|
|
62890
62895
|
},
|
|
@@ -76722,6 +76727,7 @@ const SCREENS = runtimeSetting({
|
|
|
76722
76727
|
},
|
|
76723
76728
|
"modifiers": {
|
|
76724
76729
|
"cornerRadius": 8,
|
|
76730
|
+
"imagePreview": "view",
|
|
76725
76731
|
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
76726
76732
|
}
|
|
76727
76733
|
}
|
|
@@ -77801,6 +77807,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
77801
77807
|
},
|
|
77802
77808
|
"modifiers": {
|
|
77803
77809
|
"cornerRadius": 8,
|
|
77810
|
+
"imagePreview": "view",
|
|
77804
77811
|
"hiddenPath": "$service:himiOwnerLitePostForm.noCover"
|
|
77805
77812
|
}
|
|
77806
77813
|
}
|