@bettercms-ai/kit 2.0.11 → 3.0.1

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 (108) hide show
  1. package/README.md +1 -2
  2. package/dist/adapters/schema.js +45 -5
  3. package/dist/adapters/schema.js.map +1 -1
  4. package/dist/brand/logo.js.map +1 -1
  5. package/dist/context.d.ts +7 -0
  6. package/dist/context.js +6 -1
  7. package/dist/context.js.map +1 -1
  8. package/dist/controls/button.js +1 -1
  9. package/dist/controls/code.d.ts +24 -1
  10. package/dist/controls/code.js +36 -20
  11. package/dist/controls/code.js.map +1 -1
  12. package/dist/controls/icon.d.ts +28 -0
  13. package/dist/controls/icon.js +205 -61
  14. package/dist/controls/icon.js.map +1 -1
  15. package/dist/controls/index.d.ts +20 -2
  16. package/dist/controls/index.js +21 -20
  17. package/dist/controls/index.js.map +1 -1
  18. package/dist/controls/link.js +4 -4
  19. package/dist/controls/link.js.map +1 -1
  20. package/dist/controls/location.js +1 -1
  21. package/dist/controls/media.js +2 -2
  22. package/dist/controls/reference.js +3 -2
  23. package/dist/controls/reference.js.map +1 -1
  24. package/dist/controls/rich-text/blocks.js +2 -2
  25. package/dist/controls/rich-text/control.js +1 -1
  26. package/dist/controls/rich-text/editor.js +5 -5
  27. package/dist/controls/rich-text/embed.js +1 -1
  28. package/dist/controls/rich-text/toc.js +1 -1
  29. package/dist/controls/slot-register.js +1 -1
  30. package/dist/controls/table/table.js +1 -1
  31. package/dist/controls/text.js +5 -4
  32. package/dist/controls/text.js.map +1 -1
  33. package/dist/core/core.js +1 -1
  34. package/dist/engine/array.js +58 -13
  35. package/dist/engine/array.js.map +1 -1
  36. package/dist/engine/bits.js +1 -1
  37. package/dist/engine/breadcrumb.js +1 -1
  38. package/dist/engine/expand.js +1 -1
  39. package/dist/engine/field-shell.js +8 -7
  40. package/dist/engine/field-shell.js.map +1 -1
  41. package/dist/engine/frame.d.ts +1 -12
  42. package/dist/engine/frame.js +7 -149
  43. package/dist/engine/frame.js.map +1 -1
  44. package/dist/engine/group-summary.js +7 -4
  45. package/dist/engine/group-summary.js.map +1 -1
  46. package/dist/engine/grouping.js +2 -2
  47. package/dist/engine/item-list.js +2 -2
  48. package/dist/engine/kit-field.js +3 -7
  49. package/dist/engine/kit-field.js.map +1 -1
  50. package/dist/engine/schema-form.d.ts +10 -5
  51. package/dist/engine/schema-form.js +18 -10
  52. package/dist/engine/schema-form.js.map +1 -1
  53. package/dist/engine/slot.js +2 -2
  54. package/dist/index.d.ts +9 -9
  55. package/dist/index.js +32 -6
  56. package/dist/index.js.map +1 -1
  57. package/dist/kit.css +3 -11
  58. package/dist/lib/cn.js.map +1 -1
  59. package/dist/lib/frames.js +1 -1
  60. package/dist/lib/schema.d.ts +8 -1
  61. package/dist/lib/schema.js +18 -2
  62. package/dist/lib/schema.js.map +1 -1
  63. package/dist/lib/utils.d.ts +1 -4
  64. package/dist/lib/utils.js +4 -14
  65. package/dist/lib/utils.js.map +1 -1
  66. package/dist/lib/validate.d.ts +14 -1
  67. package/dist/lib/validate.js +26 -10
  68. package/dist/lib/validate.js.map +1 -1
  69. package/dist/library/coreNotes.d.ts +1 -1
  70. package/dist/library/coreNotes.js.map +1 -1
  71. package/dist/library/entries/conversion.entries.js +8 -0
  72. package/dist/library/entries/conversion.entries.js.map +1 -1
  73. package/dist/library/entries/features.entries.js +5 -0
  74. package/dist/library/entries/features.entries.js.map +1 -1
  75. package/dist/library/examples/faq.js +1 -0
  76. package/dist/library/examples/faq.js.map +1 -1
  77. package/dist/library/examples/journalStory.js +1 -2
  78. package/dist/library/examples/journalStory.js.map +1 -1
  79. package/dist/library/kit-catalog.json +4 -4
  80. package/dist/schema/adapters.js +17 -3
  81. package/dist/schema/adapters.js.map +1 -1
  82. package/dist/schema/sources.d.ts +9 -1
  83. package/dist/schema/sources.js +1 -1
  84. package/dist/schema/sources.js.map +1 -1
  85. package/dist/schema/types.d.ts +31 -3
  86. package/dist/schema/types.js.map +1 -1
  87. package/dist/styles.css +1 -1
  88. package/dist/table/table.css +1 -1
  89. package/dist/theme.css +18 -9
  90. package/dist/tokens.css +32 -60
  91. package/dist/ui/action-tray.d.ts +1 -3
  92. package/dist/ui/action-tray.js +3 -20
  93. package/dist/ui/action-tray.js.map +1 -1
  94. package/dist/ui/display.d.ts +1 -4
  95. package/dist/ui/display.js +4 -6
  96. package/dist/ui/display.js.map +1 -1
  97. package/dist/ui/index.js +3 -3
  98. package/dist/ui/overlay.d.ts +2 -5
  99. package/dist/ui/overlay.js +3 -4
  100. package/dist/ui/overlay.js.map +1 -1
  101. package/dist/ui/path-crumbs.d.ts +0 -2
  102. package/dist/ui/path-crumbs.js.map +1 -1
  103. package/dist/ui/surfaces.d.ts +2 -18
  104. package/dist/ui/surfaces.js +3 -19
  105. package/dist/ui/surfaces.js.map +1 -1
  106. package/dist/ui/toast.js +1 -1
  107. package/dist/ui/toast.js.map +1 -1
  108. package/package.json +2 -2
@@ -181,6 +181,7 @@ var faqSchema = {
181
181
  group: "settings",
182
182
  advanced: true,
183
183
  access: { edit: "schema.manage" },
184
+ lockReason: "Set by the developer. Links to this block use it.",
184
185
  description: "For #links to this block."
185
186
  }
186
187
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"faq.js","names":[],"sources":["../../../src/library/examples/faq.ts"],"sourcesContent":["/** FAQ — small items (two fields each) that still DRILL IN: rows stay calm however many questions there are. */\nimport type { TypeSchema } from \"../../schema/types\";\n\nexport const faqSchema: TypeSchema = {\n name: \"faq\",\n title: \"FAQ\",\n kind: \"block\",\n icon: \"help-circle\",\n category: \"Content\",\n description: \"Questions and answers, written here or from the FAQs collection\",\n variants: [{ id: \"accordion\", name: \"Accordion\" }, { id: \"two-col\", name: \"Two columns\" }],\n groups: [\n { name: \"content\", title: \"Content\", default: true },\n { name: \"settings\", title: \"Settings\" },\n ],\n preview: { title: \"heading\" },\n fields: [\n { name: \"eyebrow\", title: \"Eyebrow\", type: \"string\", validation: { max: 40 }, placeholder: \"Support\" },\n { name: \"heading\", title: \"Heading\", type: \"string\", validation: { required: true, recommendedMax: 48 }, ai: true, localized: true },\n { name: \"intro\", title: \"Intro\", type: \"text\", rows: 2, ai: true },\n {\n name: \"source\",\n title: \"Questions come from\",\n type: \"select\",\n layout: \"segmented\",\n initialValue: \"inline\",\n options: [{ value: \"inline\", label: \"Written here\" }, { value: \"collection\", label: \"FAQs collection\" }],\n },\n {\n name: \"items\",\n title: \"Questions\",\n type: \"array\",\n itemNoun: \"question\",\n hidden: { field: \"source\", equals: \"inline\" },\n validation: { min: 1, max: 12 },\n of: [\n {\n name: \"faqItem\",\n title: \"Question\",\n type: \"object\",\n icon: \"help-circle\",\n preview: { title: \"question\", subtitle: \"answer\", fallback: \"Untitled question\" },\n fields: [\n { name: \"question\", title: \"Question\", type: \"string\", validation: { required: true, max: 120 }, ai: true },\n { name: \"answer\", title: \"Answer\", type: \"richtext\", validation: { required: true }, ai: true },\n {\n name: \"category\",\n title: \"Category\",\n type: \"select\",\n options: [\n { value: \"orders\", label: \"Orders\" },\n { value: \"shipping\", label: \"Shipping\" },\n { value: \"care\", label: \"Care\" },\n { value: \"warranty\", label: \"Warranty\" },\n ],\n },\n { name: \"open\", title: \"Open by default\", type: \"boolean\" },\n ],\n },\n ],\n },\n {\n name: \"collection\",\n title: \"FAQs to show\",\n type: \"array\",\n hidden: { field: \"source\", equals: \"collection\" },\n validation: { max: 8 },\n of: [{ name: \"faqRef\", title: \"FAQ\", type: \"reference\", reference: { to: [\"col_faq\"] } }],\n },\n { name: \"showSearch\", title: \"Show search\", type: \"boolean\", group: \"settings\" },\n { name: \"richResults\", title: \"FAQ rich results\", type: \"boolean\", group: \"settings\", initialValue: true },\n { name: \"columns\", title: \"Columns on desktop\", type: \"number\", group: \"settings\", scale: { steps: { min: 1, max: 3, step: 1 } } },\n { name: \"anchor\", title: \"Anchor\", type: \"string\", group: \"settings\", advanced: true, access: { edit: \"schema.manage\" }, description: \"For #links to this block.\" },\n ],\n};\n\nexport const faqValue = {\n _variant: \"accordion\",\n eyebrow: \"Support\",\n heading: \"Questions, answered.\",\n intro: \"Straight answers about seasoning, shipping and the lifetime warranty.\",\n source: \"inline\",\n items: [\n { _key: \"q1\", question: \"Do I need to season it?\", answer: \"<p>Every piece ships pre-seasoned with flaxseed oil. Cook with it the day it arrives — a few fried eggs finish the job.</p>\", category: \"care\", open: true },\n { _key: \"q2\", question: \"Is it really a lifetime warranty?\", answer: \"<p>Yes. If it cracks, warps or fails, we replace it — no receipts, no forms.</p>\", category: \"warranty\" },\n { _key: \"q3\", question: \"Can I use it on induction?\", answer: \"<p>Cast iron and carbon steel, yes. The <a href=\\\"/products/cable-fold\\\">Cable Fold grate</a> is for open fire and gas.</p>\", category: \"care\" },\n { _key: \"q4\", question: \"Where do you ship?\", answer: \"\", category: \"shipping\" },\n ],\n collection: [\"fq_season\", \"fq_warranty\"],\n showSearch: false,\n richResults: true,\n columns: 1,\n anchor: \"faq\",\n};\n"],"mappings":";AAGA,IAAa,YAAwB;CACnC,MAAM;CACN,OAAO;CACP,MAAM;CACN,MAAM;CACN,UAAU;CACV,aAAa;CACb,UAAU,CAAC;EAAE,IAAI;EAAa,MAAM;CAAY,GAAG;EAAE,IAAI;EAAW,MAAM;CAAc,CAAC;CACzF,QAAQ,CACN;EAAE,MAAM;EAAW,OAAO;EAAW,SAAS;CAAK,GACnD;EAAE,MAAM;EAAY,OAAO;CAAW,CACxC;CACA,SAAS,EAAE,OAAO,UAAU;CAC5B,QAAQ;EACN;GAAE,MAAM;GAAW,OAAO;GAAW,MAAM;GAAU,YAAY,EAAE,KAAK,GAAG;GAAG,aAAa;EAAU;EACrG;GAAE,MAAM;GAAW,OAAO;GAAW,MAAM;GAAU,YAAY;IAAE,UAAU;IAAM,gBAAgB;GAAG;GAAG,IAAI;GAAM,WAAW;EAAK;EACnI;GAAE,MAAM;GAAS,OAAO;GAAS,MAAM;GAAQ,MAAM;GAAG,IAAI;EAAK;EACjE;GACE,MAAM;GACN,OAAO;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AE,MAAM;GAAW,OAAO;GAAsB,MAAM;GAAU,OAAO;GAAY,OAAO,EAAE,OAAO;IAAE,KAAK;IAAG,KAAK;IAAG,MAAM;GAAE,EAAE;EAAE;EACjI;GAAE,MAAM;GAAU,OAAO;GAAU,MAAM;GAAU,OAAO;GAAY,UAAU;GAAM,QAAQ,EAAE,MAAM,gBAAgB;GAAG,aAAa;EAA4B;CACpK;AACF;AAEA,IAAa,WAAW;CACtB,UAAU;CACV,SAAS;CACT,SAAS;CACT,OAAO;CACP,QAAQ;CACR,OAAO;EACL;GAAE,MAAM;GAAM,UAAU;GAA2B,QAAQ;GAA+H,UAAU;GAAQ,MAAM;EAAK;EACvN;GAAE,MAAM;GAAM,UAAU;GAAqC,QAAQ;GAAoF,UAAU;EAAW;EAC9K;GAAE,MAAM;GAAM,UAAU;GAA8B,QAAQ;GAA+H,UAAU;EAAO;EAC9M;GAAE,MAAM;GAAM,UAAU;GAAsB,QAAQ;GAAI,UAAU;EAAW;CACjF;CACA,YAAY,CAAC,aAAa,aAAa;CACvC,YAAY;CACZ,aAAa;CACb,SAAS;CACT,QAAQ;AACV"}
1
+ {"version":3,"file":"faq.js","names":[],"sources":["../../../src/library/examples/faq.ts"],"sourcesContent":["/** FAQ — small items (two fields each) that still DRILL IN: rows stay calm however many questions there are. */\nimport type { TypeSchema } from \"../../schema/types\";\n\nexport const faqSchema: TypeSchema = {\n name: \"faq\",\n title: \"FAQ\",\n kind: \"block\",\n icon: \"help-circle\",\n category: \"Content\",\n description: \"Questions and answers, written here or from the FAQs collection\",\n variants: [{ id: \"accordion\", name: \"Accordion\" }, { id: \"two-col\", name: \"Two columns\" }],\n groups: [\n { name: \"content\", title: \"Content\", default: true },\n { name: \"settings\", title: \"Settings\" },\n ],\n preview: { title: \"heading\" },\n fields: [\n { name: \"eyebrow\", title: \"Eyebrow\", type: \"string\", validation: { max: 40 }, placeholder: \"Support\" },\n { name: \"heading\", title: \"Heading\", type: \"string\", validation: { required: true, recommendedMax: 48 }, ai: true, localized: true },\n { name: \"intro\", title: \"Intro\", type: \"text\", rows: 2, ai: true },\n {\n name: \"source\",\n title: \"Questions come from\",\n type: \"select\",\n layout: \"segmented\",\n initialValue: \"inline\",\n options: [{ value: \"inline\", label: \"Written here\" }, { value: \"collection\", label: \"FAQs collection\" }],\n },\n {\n name: \"items\",\n title: \"Questions\",\n type: \"array\",\n itemNoun: \"question\",\n hidden: { field: \"source\", equals: \"inline\" },\n validation: { min: 1, max: 12 },\n of: [\n {\n name: \"faqItem\",\n title: \"Question\",\n type: \"object\",\n icon: \"help-circle\",\n preview: { title: \"question\", subtitle: \"answer\", fallback: \"Untitled question\" },\n fields: [\n { name: \"question\", title: \"Question\", type: \"string\", validation: { required: true, max: 120 }, ai: true },\n { name: \"answer\", title: \"Answer\", type: \"richtext\", validation: { required: true }, ai: true },\n {\n name: \"category\",\n title: \"Category\",\n type: \"select\",\n options: [\n { value: \"orders\", label: \"Orders\" },\n { value: \"shipping\", label: \"Shipping\" },\n { value: \"care\", label: \"Care\" },\n { value: \"warranty\", label: \"Warranty\" },\n ],\n },\n { name: \"open\", title: \"Open by default\", type: \"boolean\" },\n ],\n },\n ],\n },\n {\n name: \"collection\",\n title: \"FAQs to show\",\n type: \"array\",\n hidden: { field: \"source\", equals: \"collection\" },\n validation: { max: 8 },\n of: [{ name: \"faqRef\", title: \"FAQ\", type: \"reference\", reference: { to: [\"col_faq\"] } }],\n },\n { name: \"showSearch\", title: \"Show search\", type: \"boolean\", group: \"settings\" },\n { name: \"richResults\", title: \"FAQ rich results\", type: \"boolean\", group: \"settings\", initialValue: true },\n { name: \"columns\", title: \"Columns on desktop\", type: \"number\", group: \"settings\", scale: { steps: { min: 1, max: 3, step: 1 } } },\n { name: \"anchor\", title: \"Anchor\", type: \"string\", group: \"settings\", advanced: true, access: { edit: \"schema.manage\" }, lockReason: \"Set by the developer. Links to this block use it.\", description: \"For #links to this block.\" },\n ],\n};\n\nexport const faqValue = {\n _variant: \"accordion\",\n eyebrow: \"Support\",\n heading: \"Questions, answered.\",\n intro: \"Straight answers about seasoning, shipping and the lifetime warranty.\",\n source: \"inline\",\n items: [\n { _key: \"q1\", question: \"Do I need to season it?\", answer: \"<p>Every piece ships pre-seasoned with flaxseed oil. Cook with it the day it arrives — a few fried eggs finish the job.</p>\", category: \"care\", open: true },\n { _key: \"q2\", question: \"Is it really a lifetime warranty?\", answer: \"<p>Yes. If it cracks, warps or fails, we replace it — no receipts, no forms.</p>\", category: \"warranty\" },\n { _key: \"q3\", question: \"Can I use it on induction?\", answer: \"<p>Cast iron and carbon steel, yes. The <a href=\\\"/products/cable-fold\\\">Cable Fold grate</a> is for open fire and gas.</p>\", category: \"care\" },\n { _key: \"q4\", question: \"Where do you ship?\", answer: \"\", category: \"shipping\" },\n ],\n collection: [\"fq_season\", \"fq_warranty\"],\n showSearch: false,\n richResults: true,\n columns: 1,\n anchor: \"faq\",\n};\n"],"mappings":";AAGA,IAAa,YAAwB;CACnC,MAAM;CACN,OAAO;CACP,MAAM;CACN,MAAM;CACN,UAAU;CACV,aAAa;CACb,UAAU,CAAC;EAAE,IAAI;EAAa,MAAM;CAAY,GAAG;EAAE,IAAI;EAAW,MAAM;CAAc,CAAC;CACzF,QAAQ,CACN;EAAE,MAAM;EAAW,OAAO;EAAW,SAAS;CAAK,GACnD;EAAE,MAAM;EAAY,OAAO;CAAW,CACxC;CACA,SAAS,EAAE,OAAO,UAAU;CAC5B,QAAQ;EACN;GAAE,MAAM;GAAW,OAAO;GAAW,MAAM;GAAU,YAAY,EAAE,KAAK,GAAG;GAAG,aAAa;EAAU;EACrG;GAAE,MAAM;GAAW,OAAO;GAAW,MAAM;GAAU,YAAY;IAAE,UAAU;IAAM,gBAAgB;GAAG;GAAG,IAAI;GAAM,WAAW;EAAK;EACnI;GAAE,MAAM;GAAS,OAAO;GAAS,MAAM;GAAQ,MAAM;GAAG,IAAI;EAAK;EACjE;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;GACR,cAA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AM;GAAU,OAAO;GAAY,OAAO,EAAE,OAAO;IAAE,KAAK;IAAG,KAAK;IAAG,MAAM;GAAE,EAAE;EAAE;EACjI;GAAE,MAAM;GAAU,OAAO;GAAU,MAAM;GAAU,OAAO;GAAY,UAAU;GAAM,QAAQ,EAAE,MAAM,gBAAgB;GAAG,YAAY;GAAqD,aAAa;EAA4B;CACrO;AACF;AAEA,IAAa,WAAW;CACtB,UAAU;CACV,SAAS;CACT,SAAS;CACT,OAAO;CACP,QAAQ;CACR,OAAO;EACL;GAAE,MAAM;GAAM,UAAU;GAA2B,QAAQ;GAA+H,UAAU;GAAQ,MAAM;EAAK;EACvN;GAAE,MAAM;GAAM,UAAU;GAAqC,QAAQ;GAAoF,UAAU;EAAW;EAC9K;GAAE,MAAM;GAAM,UAAU;GAA8B,QAAQ;GAA+H,UAAU;EAAO;EAC9M;GAAE,MAAM;GAAM,UAAU;GAAsB,QAAQ;GAAI,UAAU;EAAW;CACjF;CACA,YAAY,CAAC,aAAa,aAAa;CACvC,YAAY;CACZ,aAAa;CACb,SAAS;CACT,QAAQ;AACV"}
@@ -42,8 +42,7 @@ var journalStorySchema = {
42
42
  },
43
43
  {
44
44
  name: "publishing",
45
- title: "Publishing",
46
- columns: 2
45
+ title: "Publishing"
47
46
  }
48
47
  ],
49
48
  fields: [
@@ -1 +1 @@
1
- {"version":3,"file":"journalStory.js","names":[],"sources":["../../../src/library/examples/journalStory.ts"],"sourcesContent":["/**\n * Journal story — an ENTRY document. Groups (Content · Media · SEO · Settings), fieldsets, references to\n * authors and topics, a rich-text body, SEO fields with recommended limits, developer-locked fields.\n */\nimport type { TypeSchema } from \"../../schema/types\";\n\nexport const journalStorySchema: TypeSchema = {\n name: \"journalStory\",\n title: \"Story\",\n kind: \"entry\",\n icon: \"news\",\n description: \"A long-form Journal story\",\n preview: { title: \"title\", subtitle: \"excerpt\", media: \"cover\" },\n groups: [\n { name: \"content\", title: \"Content\", icon: \"file-text\", default: true },\n { name: \"media\", title: \"Media\", icon: \"photo\" },\n { name: \"settings\", title: \"Settings\", icon: \"settings\" },\n ],\n fieldsets: [\n { name: \"byline\", title: \"Byline\", description: \"Who wrote it and what it's about.\" },\n { name: \"review\", title: \"Gear review\", description: \"Only for stories that review a product.\", collapsed: true },\n { name: \"publishing\", title: \"Publishing\", columns: 2 },\n ],\n fields: [\n { name: \"title\", title: \"Title\", type: \"string\", group: \"content\", validation: { required: true, max: 90, recommendedMax: 70 }, ai: true, localized: true },\n { name: \"slug\", title: \"Slug\", type: \"slug\", group: \"content\", validation: { required: true } },\n { name: \"excerpt\", title: \"Excerpt\", type: \"text\", rows: 2, group: \"content\", validation: { recommendedMax: 160 }, ai: true, localized: true },\n { name: \"authors\", title: \"Authors\", type: \"array\", group: \"content\", fieldset: \"byline\", validation: { min: 1, max: 3 }, of: [{ name: \"author\", title: \"Author\", type: \"reference\", reference: { to: [\"col_authors\"] } }] },\n { name: \"topics\", title: \"Topics\", type: \"array\", group: \"content\", fieldset: \"byline\", validation: { max: 4 }, of: [{ name: \"topic\", title: \"Topic\", type: \"reference\", reference: { to: [\"col_topics\"] } }] },\n { name: \"readingTime\", title: \"Reading time\", type: \"number\", group: \"content\", fieldset: \"byline\", numeric: { unit: \"min\", min: 1, max: 60 } },\n { name: \"body\", title: \"Body\", type: \"richtext\", group: \"content\", validation: { required: true }, ai: true, localized: true },\n { name: \"product\", title: \"Reviewed product\", type: \"reference\", group: \"content\", fieldset: \"review\", reference: { to: [\"shopify\"] } },\n { name: \"score\", title: \"Our score\", type: \"rating\", group: \"content\", fieldset: \"review\" },\n { name: \"verdict\", title: \"Verdict\", type: \"string\", group: \"content\", fieldset: \"review\", validation: { recommendedMax: 80 } },\n { name: \"cta\", title: \"Call to action\", type: \"button\", group: \"content\" },\n\n { name: \"cover\", title: \"Cover image\", type: \"image\", group: \"media\", validation: { required: true }, description: \"1600 × 900 or larger. Also used on the social card.\" },\n { name: \"gallery\", title: \"Gallery\", type: \"array\", group: \"media\", validation: { max: 12 }, of: [{ name: \"photo\", title: \"Photo\", type: \"image\" }] },\n { name: \"film\", title: \"Film\", type: \"video\", group: \"media\" },\n { name: \"location\", title: \"Where it happened\", type: \"geopoint\", group: \"media\" },\n\n\n { name: \"publishedAt\", title: \"Publish date\", type: \"datetime\", group: \"settings\", fieldset: \"publishing\" },\n { name: \"featured\", title: \"Featured on the Journal\", type: \"boolean\", group: \"settings\", fieldset: \"publishing\" },\n {\n name: \"layout\",\n title: \"Layout\",\n type: \"select\",\n group: \"settings\",\n layout: \"cards\",\n options: [\n { value: \"standard\", label: \"Standard\", icon: \"file-text\", description: \"Text column, inline images\" },\n { value: \"wide\", label: \"Wide\", icon: \"layout-columns\", description: \"Full-width images\" },\n { value: \"essay\", label: \"Photo essay\", icon: \"library-photo\", description: \"Images first, short captions\" },\n ],\n },\n { name: \"accent\", title: \"Accent colour\", type: \"color\", group: \"settings\" },\n { name: \"tags\", title: \"Internal tags\", type: \"tags\", group: \"settings\", validation: { max: 6 }, description: \"Only your team sees these.\" },\n { name: \"related\", title: \"Related stories\", type: \"select\", group: \"settings\", layout: \"radio\", options: [{ value: \"auto\", label: \"Automatic\", description: \"Same topics, newest first\" }, { value: \"manual\", label: \"Pick them\", description: \"Choose up to three\" }, { value: \"none\", label: \"Don't show\" }] },\n { name: \"customCss\", title: \"Custom CSS\", type: \"code\", group: \"settings\", advanced: true, access: { view: \"schema.view\", edit: \"schema.manage\" } },\n ],\n};\n\nexport const journalStoryValue = {\n title: \"Seasoning cast iron over an open fire\",\n slug: \"seasoning-cast-iron-open-fire\",\n excerpt: \"Five steps, one bag of charcoal, and a skillet that will outlive you.\",\n authors: [\"en_a1\"],\n topics: [\"tp_cast-iron\", \"tp_camp\"],\n readingTime: 6,\n body:\n \"<h2>Why fire beats the oven</h2><p>An oven seasons a pan evenly. A fire seasons it <strong>deeply</strong> — the uneven heat builds a polymer layer that's thicker where the pan works hardest.</p><ol><li>Scrub the skillet with hot water and a chainmail scrubber.</li><li>Wipe on the thinnest coat of flaxseed oil you can manage.</li><li>Set it upside down over medium coals for 45 minutes.</li></ol><blockquote>Thin coats, every time. Thick oil turns sticky.</blockquote><p>Repeat three times and you'll have a surface that releases an egg on the first try.</p>\",\n product: \"gid://shopify/Product/8814\",\n score: 4.5,\n verdict: \"The best first pan for open-fire cooking.\",\n cta: { label: \"Shop the Ridge Skillet\", href: \"/products/ridge-skillet-10\", type: \"entry\", title: \"Ridge Skillet 10\\\"\", style: \"primary\", arrow: true },\n cover: { url: \"https://picsum.photos/seed/castiron/1600/900\", alt: \"A cast iron skillet resting on glowing coals\", name: \"castiron-coals.jpg\", width: 3200, height: 1800 },\n gallery: [\"https://picsum.photos/seed/skillet-sear/900/900\", \"https://picsum.photos/seed/forge-sparks/900/900\", \"https://picsum.photos/seed/recipe-eggs/900/900\"],\n film: { url: \"https://www.youtube.com/watch?v=aqz-KE-bpKQ\" },\n location: { label: \"Tumalo State Park, Oregon\", lat: 44.1271, lng: -121.3364 },\n publishedAt: \"2026-10-14T09:00:00-07:00[America/Los_Angeles]\",\n featured: true,\n layout: \"standard\",\n accent: \"#E0663B\",\n tags: [\"evergreen\", \"how-to\"],\n related: \"auto\",\n customCss: \".story-hero { --overlay: .35; }\",\n};\n\n/** What's live: the title and excerpt differ, so the changed dots and \"Reset to published\" have something to show. */\nexport const journalStoryPublished = {\n ...journalStoryValue,\n title: \"How to season cast iron over a fire\",\n excerpt: \"Five steps and one bag of charcoal.\",\n};\n"],"mappings":";AAMA,IAAa,qBAAiC;CAC5C,MAAM;CACN,OAAO;CACP,MAAM;CACN,MAAM;CACN,aAAa;CACb,SAAS;EAAE,OAAO;EAAS,UAAU;EAAW,OAAO;CAAQ;CAC/D,QAAQ;EACN;GAAE,MAAM;GAAW,OAAO;GAAW,MAAM;GAAa,SAAS;EAAK;EACtE;GAAE,MAAM;GAAS,OAAO;GAAS,MAAM;EAAQ;EAC/C;GAAE,MAAM;GAAY,OAAO;GAAY,MAAM;EAAW;CAC1D;CACA,WAAW;EACT;G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M;GAAQ,OAAO;GAAiB,MAAM;GAAQ,OAAO;GAAY,YAAY,EAAE,KAAK,EAAE;GAAG,aAAa;EAA6B;EAC3I;GAAE,MAAM;GAAW,OAAO;GAAmB,MAAM;GAAU,OAAO;GAAY,QAAQ;GAAS,SAAS;IAAC;KAAE,OAAO;KAAQ,OAAO;KAAa,aAAa;IAA4B;IAAG;KAAE,OAAO;KAAU,OAAO;KAAa,aAAa;IAAqB;IAAG;KAAE,OAAO;KAAQ,OAAO;IAAa;GAAC;EAAE;EAChT;GAAE,MAAM;GAAa,OAAO;GAAc,MAAM;GAAQ,OAAO;GAAY,UAAU;GAAM,QAAQ;IAAE,MAAM;IAAe,MAAM;GAAgB;EAAE;CACpJ;AACF;AAEA,IAAa,oBAAoB;CAC/B,OAAO;CACP,MAAM;CACN,SAAS;CACT,SAAS,CAAC,OAAO;CACjB,QAAQ,CAAC,gBAAgB,SAAS;CAClC,aAAa;CACb,MACE;CACF,SAAS;CACT,OAAO;CACP,SAAS;CACT,KAAK;EAAE,OAAO;EAA0B,MAAM;EAA8B,MAAM;EAAS,OAAO;EAAsB,OAAO;EAAW,OAAO;CAAK;CACtJ,OAAO;EAAE,KAAK;EAAgD,KAAK;EAAgD,MAAM;EAAsB,OAAO;EAAM,QAAQ;CAAK;CACzK,SAAS;EAAC;EAAmD;EAAmD;CAAgD;CAChK,MAAM,EAAE,KAAK,8CAA8C;CAC3D,UAAU;EAAE,OAAO;EAA6B,KAAK;EAAS,KAAK;CAAU;CAC7E,aAAa;CACb,UAAU;CACV,QAAQ;CACR,QAAQ;CACR,MAAM,CAAC,aAAa,QAAQ;CAC5B,SAAS;CACT,WAAW;AACb;;AAGA,IAAa,wBAAwB;CACnC,GAAG;CACH,OAAO;CACP,SAAS;AACX"}
1
+ {"version":3,"file":"journalStory.js","names":[],"sources":["../../../src/library/examples/journalStory.ts"],"sourcesContent":["/**\n * Journal story — an ENTRY document. Groups (Content · Media · SEO · Settings), fieldsets, references to\n * authors and topics, a rich-text body, SEO fields with recommended limits, developer-locked fields.\n */\nimport type { TypeSchema } from \"../../schema/types\";\n\nexport const journalStorySchema: TypeSchema = {\n name: \"journalStory\",\n title: \"Story\",\n kind: \"entry\",\n icon: \"news\",\n description: \"A long-form Journal story\",\n preview: { title: \"title\", subtitle: \"excerpt\", media: \"cover\" },\n groups: [\n { name: \"content\", title: \"Content\", icon: \"file-text\", default: true },\n { name: \"media\", title: \"Media\", icon: \"photo\" },\n { name: \"settings\", title: \"Settings\", icon: \"settings\" },\n ],\n fieldsets: [\n { name: \"byline\", title: \"Byline\", description: \"Who wrote it and what it's about.\" },\n { name: \"review\", title: \"Gear review\", description: \"Only for stories that review a product.\", collapsed: true },\n { name: \"publishing\", title: \"Publishing\" },\n ],\n fields: [\n { name: \"title\", title: \"Title\", type: \"string\", group: \"content\", validation: { required: true, max: 90, recommendedMax: 70 }, ai: true, localized: true },\n { name: \"slug\", title: \"Slug\", type: \"slug\", group: \"content\", validation: { required: true } },\n { name: \"excerpt\", title: \"Excerpt\", type: \"text\", rows: 2, group: \"content\", validation: { recommendedMax: 160 }, ai: true, localized: true },\n { name: \"authors\", title: \"Authors\", type: \"array\", group: \"content\", fieldset: \"byline\", validation: { min: 1, max: 3 }, of: [{ name: \"author\", title: \"Author\", type: \"reference\", reference: { to: [\"col_authors\"] } }] },\n { name: \"topics\", title: \"Topics\", type: \"array\", group: \"content\", fieldset: \"byline\", validation: { max: 4 }, of: [{ name: \"topic\", title: \"Topic\", type: \"reference\", reference: { to: [\"col_topics\"] } }] },\n { name: \"readingTime\", title: \"Reading time\", type: \"number\", group: \"content\", fieldset: \"byline\", numeric: { unit: \"min\", min: 1, max: 60 } },\n { name: \"body\", title: \"Body\", type: \"richtext\", group: \"content\", validation: { required: true }, ai: true, localized: true },\n { name: \"product\", title: \"Reviewed product\", type: \"reference\", group: \"content\", fieldset: \"review\", reference: { to: [\"shopify\"] } },\n { name: \"score\", title: \"Our score\", type: \"rating\", group: \"content\", fieldset: \"review\" },\n { name: \"verdict\", title: \"Verdict\", type: \"string\", group: \"content\", fieldset: \"review\", validation: { recommendedMax: 80 } },\n { name: \"cta\", title: \"Call to action\", type: \"button\", group: \"content\" },\n\n { name: \"cover\", title: \"Cover image\", type: \"image\", group: \"media\", validation: { required: true }, description: \"1600 × 900 or larger. Also used on the social card.\" },\n { name: \"gallery\", title: \"Gallery\", type: \"array\", group: \"media\", validation: { max: 12 }, of: [{ name: \"photo\", title: \"Photo\", type: \"image\" }] },\n { name: \"film\", title: \"Film\", type: \"video\", group: \"media\" },\n { name: \"location\", title: \"Where it happened\", type: \"geopoint\", group: \"media\" },\n\n\n { name: \"publishedAt\", title: \"Publish date\", type: \"datetime\", group: \"settings\", fieldset: \"publishing\" },\n { name: \"featured\", title: \"Featured on the Journal\", type: \"boolean\", group: \"settings\", fieldset: \"publishing\" },\n {\n name: \"layout\",\n title: \"Layout\",\n type: \"select\",\n group: \"settings\",\n layout: \"cards\",\n options: [\n { value: \"standard\", label: \"Standard\", icon: \"file-text\", description: \"Text column, inline images\" },\n { value: \"wide\", label: \"Wide\", icon: \"layout-columns\", description: \"Full-width images\" },\n { value: \"essay\", label: \"Photo essay\", icon: \"library-photo\", description: \"Images first, short captions\" },\n ],\n },\n { name: \"accent\", title: \"Accent colour\", type: \"color\", group: \"settings\" },\n { name: \"tags\", title: \"Internal tags\", type: \"tags\", group: \"settings\", validation: { max: 6 }, description: \"Only your team sees these.\" },\n { name: \"related\", title: \"Related stories\", type: \"select\", group: \"settings\", layout: \"radio\", options: [{ value: \"auto\", label: \"Automatic\", description: \"Same topics, newest first\" }, { value: \"manual\", label: \"Pick them\", description: \"Choose up to three\" }, { value: \"none\", label: \"Don't show\" }] },\n { name: \"customCss\", title: \"Custom CSS\", type: \"code\", group: \"settings\", advanced: true, access: { view: \"schema.view\", edit: \"schema.manage\" } },\n ],\n};\n\nexport const journalStoryValue = {\n title: \"Seasoning cast iron over an open fire\",\n slug: \"seasoning-cast-iron-open-fire\",\n excerpt: \"Five steps, one bag of charcoal, and a skillet that will outlive you.\",\n authors: [\"en_a1\"],\n topics: [\"tp_cast-iron\", \"tp_camp\"],\n readingTime: 6,\n body:\n \"<h2>Why fire beats the oven</h2><p>An oven seasons a pan evenly. A fire seasons it <strong>deeply</strong> — the uneven heat builds a polymer layer that's thicker where the pan works hardest.</p><ol><li>Scrub the skillet with hot water and a chainmail scrubber.</li><li>Wipe on the thinnest coat of flaxseed oil you can manage.</li><li>Set it upside down over medium coals for 45 minutes.</li></ol><blockquote>Thin coats, every time. Thick oil turns sticky.</blockquote><p>Repeat three times and you'll have a surface that releases an egg on the first try.</p>\",\n product: \"gid://shopify/Product/8814\",\n score: 4.5,\n verdict: \"The best first pan for open-fire cooking.\",\n cta: { label: \"Shop the Ridge Skillet\", href: \"/products/ridge-skillet-10\", type: \"entry\", title: \"Ridge Skillet 10\\\"\", style: \"primary\", arrow: true },\n cover: { url: \"https://picsum.photos/seed/castiron/1600/900\", alt: \"A cast iron skillet resting on glowing coals\", name: \"castiron-coals.jpg\", width: 3200, height: 1800 },\n gallery: [\"https://picsum.photos/seed/skillet-sear/900/900\", \"https://picsum.photos/seed/forge-sparks/900/900\", \"https://picsum.photos/seed/recipe-eggs/900/900\"],\n film: { url: \"https://www.youtube.com/watch?v=aqz-KE-bpKQ\" },\n location: { label: \"Tumalo State Park, Oregon\", lat: 44.1271, lng: -121.3364 },\n publishedAt: \"2026-10-14T09:00:00-07:00[America/Los_Angeles]\",\n featured: true,\n layout: \"standard\",\n accent: \"#E0663B\",\n tags: [\"evergreen\", \"how-to\"],\n related: \"auto\",\n customCss: \".story-hero { --overlay: .35; }\",\n};\n\n/** What's live: the title and excerpt differ, so the changed dots and \"Reset to published\" have something to show. */\nexport const journalStoryPublished = {\n ...journalStoryValue,\n title: \"How to season cast iron over a fire\",\n excerpt: \"Five steps and one bag of charcoal.\",\n};\n"],"mappings":";AAMA,IAAa,qBAAiC;CAC5C,MAAM;CACN,OAAO;CACP,MAAM;CACN,MAAM;CACN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