add skeleton resolvers

This commit is contained in:
Rami Bitar
2026-05-03 19:31:41 -04:00
parent 5d854c5d75
commit ec68676b23
10 changed files with 168 additions and 134 deletions

View File

@@ -16,10 +16,11 @@ export const navigationEditor: ComponentConfig<NavigationProps> = {
{ label: "About", href: "/about" },
],
showSearch: "yes",
showAccount: "yes",
showCart: "yes",
sticky: "yes",
tone: "default",
bannerText: "",
bannerTone: "accent",
},
fields: {
brand: { label: "Brand", type: "text", contentEditable: true },
@@ -33,16 +34,22 @@ export const navigationEditor: ComponentConfig<NavigationProps> = {
href: { label: "Link", type: "text" },
},
},
showSearch: {
label: "Search icon",
type: "radio",
bannerText: {
label: "Banner text",
type: "text",
contentEditable: true,
},
bannerTone: {
label: "Banner tone",
type: "select",
options: [
{ label: "Show", value: "yes" },
{ label: "Hide", value: "no" },
{ label: "Default", value: "default" },
{ label: "Accent", value: "accent" },
{ label: "Inverse (dark)", value: "inverse" },
],
},
showAccount: {
label: "Account icon",
showSearch: {
label: "Search icon",
type: "radio",
options: [
{ label: "Show", value: "yes" },