@pithyjs/pidl-catalog 0.1.0-beta.3 → 0.1.0-beta.7
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/specs/atoms/actions/button.pidl.json +8 -7
- package/dist/specs/atoms/actions/icon-group.pidl.json +1 -0
- package/dist/specs/atoms/actions/segmented-control.pidl.json +1 -0
- package/dist/specs/atoms/content/action-tile.pidl.json +2 -1
- package/dist/specs/atoms/content/badge.pidl.json +2 -0
- package/dist/specs/atoms/content/callout.pidl.json +1 -0
- package/dist/specs/atoms/content/code-block.pidl.json +1 -0
- package/dist/specs/atoms/content/heading.pidl.json +3 -2
- package/dist/specs/atoms/content/icon.pidl.json +7 -6
- package/dist/specs/atoms/content/image.pidl.json +9 -8
- package/dist/specs/atoms/content/prose.pidl.json +1 -0
- package/dist/specs/atoms/content/stat.pidl.json +1 -0
- package/dist/specs/atoms/content/tabs.pidl.json +1 -0
- package/dist/specs/atoms/content/text.pidl.json +1 -0
- package/dist/specs/atoms/content/tile.pidl.json +10 -3
- package/dist/specs/atoms/data/bars.pidl.json +1 -0
- package/dist/specs/atoms/data/donut.pidl.json +1 -0
- package/dist/specs/atoms/data/gauge.pidl.json +1 -0
- package/dist/specs/atoms/data/line-area.pidl.json +1 -0
- package/dist/specs/atoms/data/line.pidl.json +3 -2
- package/dist/specs/atoms/data/stacked-bar.pidl.json +1 -0
- package/dist/specs/atoms/forms/checkbox-group.pidl.json +1 -0
- package/dist/specs/atoms/forms/checkbox.pidl.json +1 -0
- package/dist/specs/atoms/forms/file-picker.pidl.json +1 -0
- package/dist/specs/atoms/forms/form-field.pidl.json +1 -0
- package/dist/specs/atoms/forms/input.pidl.json +1 -0
- package/dist/specs/atoms/forms/radio-group.pidl.json +1 -0
- package/dist/specs/atoms/forms/radio.pidl.json +1 -0
- package/dist/specs/atoms/forms/search-input.pidl.json +1 -0
- package/dist/specs/atoms/forms/select.pidl.json +1 -0
- package/dist/specs/atoms/forms/slider.pidl.json +298 -0
- package/dist/specs/atoms/forms/textarea.pidl.json +1 -0
- package/dist/specs/atoms/forms/toggle.pidl.json +1 -0
- package/dist/specs/layout/grid-item.pidl.json +2 -0
- package/dist/specs/layout/grid.pidl.json +2 -0
- package/dist/specs/layout/page-section.pidl.json +4 -3
- package/dist/specs/layout/smart-container.pidl.json +1 -0
- package/dist/specs/layout/stack.pidl.json +1 -0
- package/dist/specs/organisms/content/accordion.pidl.json +1 -0
- package/dist/specs/organisms/content/card.pidl.json +36 -2
- package/dist/specs/organisms/feedback/alert-dialog.pidl.json +2 -1
- package/dist/specs/organisms/feedback/modal.pidl.json +12 -3
- package/dist/specs/organisms/feedback/toast.pidl.json +1 -0
- package/dist/specs/organisms/forms/dynamic-form.pidl.json +2 -1
- package/dist/specs/organisms/forms/form.pidl.json +1 -0
- package/dist/specs/organisms/forms/subscribe-form.pidl.json +1 -0
- package/dist/specs/organisms/navigation/command-palette.pidl.json +1 -0
- package/dist/specs/organisms/navigation/docs-sidebar.pidl.json +1 -0
- package/dist/specs/organisms/navigation/navbar.pidl.json +7 -1
- package/dist/specs/organisms/navigation/table-of-contents.pidl.json +1 -0
- package/dist/specs/sections/contact-section.pidl.json +2 -1
- package/dist/specs/sections/cta-section.pidl.json +1 -0
- package/dist/specs/sections/faq-section.pidl.json +1 -0
- package/dist/specs/sections/features-section.pidl.json +1 -0
- package/dist/specs/sections/footer-section.pidl.json +1 -0
- package/dist/specs/sections/hero-section.pidl.json +2 -1
- package/dist/src/borders-psychology.js.map +1 -1
- package/dist/src/color-psychology.js.map +1 -1
- package/dist/src/design-intelligence.js.map +1 -1
- package/dist/src/index.d.ts +290 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/motion-psychology.js.map +1 -1
- package/dist/src/mutation-vocabulary.d.ts.map +1 -1
- package/dist/src/mutation-vocabulary.js +65 -0
- package/dist/src/mutation-vocabulary.js.map +1 -1
- package/dist/src/radius-psychology.js.map +1 -1
- package/dist/src/shadows-psychology.js.map +1 -1
- package/dist/src/spacing-psychology.js.map +1 -1
- package/dist/src/typography-psychology.d.ts.map +1 -1
- package/dist/src/typography-psychology.js +3 -2
- package/dist/src/typography-psychology.js.map +1 -1
- package/package.json +7 -2
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAE5F;;;;;GAKG;AAGH,OAAO,MAAM,MAAM,yCAAyC,CAAC;AAC7D,OAAO,SAAS,MAAM,6CAA6C,CAAC;AACpE,OAAO,gBAAgB,MAAM,oDAAoD,CAAC;AAGlF,OAAO,KAAK,MAAM,wCAAwC,CAAC;AAC3D,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAC/D,OAAO,IAAI,MAAM,uCAAuC,CAAC;AACzD,OAAO,KAAK,MAAM,wCAAwC,CAAC;AAC3D,OAAO,IAAI,MAAM,uCAAuC,CAAC;AACzD,OAAO,IAAI,MAAM,uCAAuC,CAAC;AACzD,OAAO,IAAI,MAAM,uCAAuC,CAAC;AACzD,OAAO,UAAU,MAAM,8CAA8C,CAAC;AACtE,OAAO,SAAS,MAAM,6CAA6C,CAAC;AAGpE,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,aAAa,MAAM,+CAA+C,CAAC;AAC1E,OAAO,SAAS,MAAM,2CAA2C,CAAC;AAClE,OAAO,KAAK,MAAM,sCAAsC,CAAC;AACzD,OAAO,KAAK,MAAM,sCAAsC,CAAC;AACzD,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,MAAM,MAAM,uCAAuC,CAAC;AAC3D,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,MAAM,MAAM,uCAAuC,CAAC;AAG3D,OAAO,IAAI,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAe;IACjC,SAAA,CAAC,WAAW,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAa;CACrB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -28,6 +28,7 @@ import radio from '../specs/atoms/forms/radio.pidl.json';
|
|
|
28
28
|
import radioGroup from '../specs/atoms/forms/radio-group.pidl.json';
|
|
29
29
|
import searchInput from '../specs/atoms/forms/search-input.pidl.json';
|
|
30
30
|
import select from '../specs/atoms/forms/select.pidl.json';
|
|
31
|
+
import slider from '../specs/atoms/forms/slider.pidl.json';
|
|
31
32
|
import textarea from '../specs/atoms/forms/textarea.pidl.json';
|
|
32
33
|
import toggle from '../specs/atoms/forms/toggle.pidl.json';
|
|
33
34
|
// Layout
|
|
@@ -77,6 +78,7 @@ export const ALL_PIDL_SPECS = {
|
|
|
77
78
|
[radioGroup.id]: radioGroup,
|
|
78
79
|
[searchInput.id]: searchInput,
|
|
79
80
|
[select.id]: select,
|
|
81
|
+
[slider.id]: slider,
|
|
80
82
|
[textarea.id]: textarea,
|
|
81
83
|
[toggle.id]: toggle,
|
|
82
84
|
[grid.id]: grid,
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAE5F;;;;;GAKG;AAEH,kBAAkB;AAClB,OAAO,MAAM,MAAM,yCAAyC,CAAC;AAC7D,OAAO,SAAS,MAAM,6CAA6C,CAAC;A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KAAK;IACjB,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,KAAK;IACjB,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,WAAW;IAC7B,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,IAAI;IACf,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,aAAa;IACjC,CAAC,cAAc,CAAC,EAAE,CAAC,EAAE,cAAc;IACnC,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,WAAW;IAC7B,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM;IACnB,CAAC,eAAe,CAAC,EAAE,CAAC,EAAE,eAAe;IACrC,CAAC,cAAc,CAAC,EAAE,CAAC,EAAE,cAAc;IACnC,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,UAAU;IAC3B,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,UAAU;IAC3B,CAAC,eAAe,CAAC,EAAE,CAAC,EAAE,eAAe;IACrC,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,aAAa;IACjC,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,WAAW;CACrB,CAAC","sourcesContent":["/** @codex { \"id\": \"pithy.pidl-catalog\", \"title\": \"PIDL Catalog\", \"category\": \"feature\" } */\n\n/**\n * @pithyjs/pidl-catalog — full PIDL specs for server-side consumers.\n *\n * This package is private (\"private\": true) and never published to npm.\n * Only the API proxy and internal tooling should import from here.\n */\n\n// Atoms — actions\nimport button from '../specs/atoms/actions/button.pidl.json';\nimport iconGroup from '../specs/atoms/actions/icon-group.pidl.json';\nimport segmentedControl from '../specs/atoms/actions/segmented-control.pidl.json';\n\n// Atoms — content\nimport badge from '../specs/atoms/content/badge.pidl.json';\nimport heading from '../specs/atoms/content/heading.pidl.json';\nimport icon from '../specs/atoms/content/icon.pidl.json';\nimport image from '../specs/atoms/content/image.pidl.json';\nimport text from '../specs/atoms/content/text.pidl.json';\nimport stat from '../specs/atoms/content/stat.pidl.json';\nimport tile from '../specs/atoms/content/tile.pidl.json';\nimport actionTile from '../specs/atoms/content/action-tile.pidl.json';\nimport codeBlock from '../specs/atoms/content/code-block.pidl.json';\n\n// Atoms — forms\nimport checkbox from '../specs/atoms/forms/checkbox.pidl.json';\nimport checkboxGroup from '../specs/atoms/forms/checkbox-group.pidl.json';\nimport formField from '../specs/atoms/forms/form-field.pidl.json';\nimport input from '../specs/atoms/forms/input.pidl.json';\nimport radio from '../specs/atoms/forms/radio.pidl.json';\nimport radioGroup from '../specs/atoms/forms/radio-group.pidl.json';\nimport searchInput from '../specs/atoms/forms/search-input.pidl.json';\nimport select from '../specs/atoms/forms/select.pidl.json';\nimport slider from '../specs/atoms/forms/slider.pidl.json';\nimport textarea from '../specs/atoms/forms/textarea.pidl.json';\nimport toggle from '../specs/atoms/forms/toggle.pidl.json';\n\n// Layout\nimport grid from '../specs/layout/grid.pidl.json';\nimport gridItem from '../specs/layout/grid-item.pidl.json';\nimport pageSection from '../specs/layout/page-section.pidl.json';\nimport smartContainer from '../specs/layout/smart-container.pidl.json';\nimport stack from '../specs/layout/stack.pidl.json';\n\n// Organisms\nimport accordion from '../specs/organisms/content/accordion.pidl.json';\nimport card from '../specs/organisms/content/card.pidl.json';\nimport modal from '../specs/organisms/feedback/modal.pidl.json';\nimport toast from '../specs/organisms/feedback/toast.pidl.json';\nimport dynamicForm from '../specs/organisms/forms/dynamic-form.pidl.json';\nimport form from '../specs/organisms/forms/form.pidl.json';\nimport subscribeForm from '../specs/organisms/forms/subscribe-form.pidl.json';\nimport commandPalette from '../specs/organisms/navigation/command-palette.pidl.json';\nimport docsSidebar from '../specs/organisms/navigation/docs-sidebar.pidl.json';\nimport navbar from '../specs/organisms/navigation/navbar.pidl.json';\nimport tableOfContents from '../specs/organisms/navigation/table-of-contents.pidl.json';\n\n// Sections\nimport contactSection from '../specs/sections/contact-section.pidl.json';\nimport ctaSection from '../specs/sections/cta-section.pidl.json';\nimport faqSection from '../specs/sections/faq-section.pidl.json';\nimport featuresSection from '../specs/sections/features-section.pidl.json';\nimport footerSection from '../specs/sections/footer-section.pidl.json';\nimport heroSection from '../specs/sections/hero-section.pidl.json';\n\n/** All full PIDL specs, keyed by component id. */\nexport const ALL_PIDL_SPECS = {\n [button.id]: button,\n [iconGroup.id]: iconGroup,\n [segmentedControl.id]: segmentedControl,\n [badge.id]: badge,\n [stat.id]: stat,\n [heading.id]: heading,\n [icon.id]: icon,\n [image.id]: image,\n [text.id]: text,\n [tile.id]: tile,\n [actionTile.id]: actionTile,\n [codeBlock.id]: codeBlock,\n [checkbox.id]: checkbox,\n [checkboxGroup.id]: checkboxGroup,\n [formField.id]: formField,\n [input.id]: input,\n [radio.id]: radio,\n [radioGroup.id]: radioGroup,\n [searchInput.id]: searchInput,\n [select.id]: select,\n [slider.id]: slider,\n [textarea.id]: textarea,\n [toggle.id]: toggle,\n [grid.id]: grid,\n [gridItem.id]: gridItem,\n [pageSection.id]: pageSection,\n [smartContainer.id]: smartContainer,\n [stack.id]: stack,\n [accordion.id]: accordion,\n [card.id]: card,\n [modal.id]: modal,\n [toast.id]: toast,\n [dynamicForm.id]: dynamicForm,\n [form.id]: form,\n [subscribeForm.id]: subscribeForm,\n [commandPalette.id]: commandPalette,\n [docsSidebar.id]: docsSidebar,\n [navbar.id]: navbar,\n [tableOfContents.id]: tableOfContents,\n [contactSection.id]: contactSection,\n [ctaSection.id]: ctaSection,\n [faqSection.id]: faqSection,\n [featuresSection.id]: featuresSection,\n [footerSection.id]: footerSection,\n [heroSection.id]: heroSection,\n} as const;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motion-psychology.js","sourceRoot":"","sources":["../../src/motion-psychology.ts"],"names":[],"mappings":"AAAA,4HAA4H;AAE5H;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzC,CAAC,IAAI,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"motion-psychology.js","sourceRoot":"","sources":["../../src/motion-psychology.ts"],"names":[],"mappings":"AAAA,4HAA4H;AAE5H;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzC,CAAC,IAAI,EAAE,CAAC","sourcesContent":["/** @codex { \"id\": \"pithy.pidl-catalog.motion-psychology\", \"title\": \"Motion Psychology Guidance\", \"category\": \"feature\" } */\n\n/**\n * Motion Psychology guidance — proprietary research-backed motion rules,\n * injected into the AI system prompt so generated sites use a motion style\n * (transition speed + easing personality) that fits the user's industry /\n * use-case / mood.\n *\n * Motion conveys brand temperament: calm/slow reads premium, elegant, serious;\n * smooth reads polished, professional; snappy reads energetic, playful,\n * responsive; minimal reads fast, utilitarian, performance-first. Maps onto the\n * design system's motion presets (calm / smooth / snappy / minimal). Motion\n * always honors `prefers-reduced-motion` automatically. Intentionally compact\n * for the 0.1 release.\n *\n * This file lives in the private @pithyjs/pidl-catalog package and is NEVER\n * published to npm — it is IP and must stay server-side.\n */\n\nexport const MOTION_PSYCHOLOGY_GUIDANCE = `\n## Motion Psychology (transition personality)\n\nMotion sets brand temperament. Calm (slow, gentle) reads premium, elegant,\nserious; smooth reads polished and professional; snappy (quick, lively) reads\nenergetic, playful, responsive; minimal (near-instant) reads fast, utilitarian,\nperformance-first. Pick the motion that matches the brand. (Motion automatically\nrespects \\`prefers-reduced-motion\\` — you don't need to handle that.)\n\n### Motion preset → use-case\n- calm → luxury, wellness/spa, editorial, high-end brands — unhurried, refined\n- smooth (default) → most marketing sites, SaaS, healthcare, general business —\n polished and professional\n- snappy → consumer apps, startups, playful/creative brands, e-commerce —\n energetic and responsive\n- minimal → dashboards, productivity & enterprise tools, data-heavy or\n performance-critical UIs — fast and unobtrusive\n\n### Applying it\nFor a NEW page or site built from scratch, emit ONE \\`theme.setPreset\\` mutation\nto set the motion style — exact shape:\n\\`{ \"op\": \"theme.setPreset\", \"module\": \"motion\", \"value\": \"smooth\" }\\`\n\\`value\\` MUST be one of: calm, smooth, snappy, minimal. Do this only for new\nbuilds, not for small content edits, and never when the user asks to keep the\ncurrent style.\n\n(Motion intensity — a fine multiplier on the chosen preset — is available as an\neditor refinement; you do not control it.)\n`.trim();\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation-vocabulary.d.ts","sourceRoot":"","sources":["../../src/mutation-vocabulary.ts"],"names":[],"mappings":"AAAA,uHAAuH;AAEvH;;;;;;;;;GASG;AAEH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"mutation-vocabulary.d.ts","sourceRoot":"","sources":["../../src/mutation-vocabulary.ts"],"names":[],"mappings":"AAAA,uHAAuH;AAEvH;;;;;;;;;GASG;AAEH,eAAO,MAAM,mBAAmB,QA8HxB,CAAC"}
|
|
@@ -41,6 +41,14 @@ A \`page.create\` on its own is never a complete answer. In the SAME \`mutations
|
|
|
41
41
|
- \`block.remove\` — Remove a block by ID
|
|
42
42
|
- \`block.reorder\` — Change block order within a page
|
|
43
43
|
- \`block.update\` — Update block props
|
|
44
|
+
- \`block.addToSlot\` — Add a child block into a named slot of an existing block (\`parentId\`, \`slot\`, \`component\`, \`props\`; optional \`index\`, \`id\`)
|
|
45
|
+
|
|
46
|
+
### Slot → Block Binding (CRITICAL — violating this rejects the ENTIRE response)
|
|
47
|
+
Some components hold their main content in slots, not props — \`ui.card\` and \`ui.grid\` among them. The catalog lists each component's **Slots:**. Fill a slot with \`block.addToSlot\`, never \`block.add\`: a slot child has no \`pageId\`.
|
|
48
|
+
1. \`parentId\` is a block id from the site context, or the explicit \`id\` of a \`block.add\` / \`block.addToSlot\` EARLIER in this mutations array. A parent created in this response MUST carry an explicit kebab-case \`id\`, and every \`block.addToSlot\` that references it comes AFTER it.
|
|
49
|
+
2. \`slot\` must be a slot the parent's component declares, and \`component\` must be one that slot accepts. Never exceed a slot's \`max\`.
|
|
50
|
+
3. Nest by chaining: a \`ui.card\` added into a \`ui.grid\` carries its own \`id\`, and the card's children use it as \`parentId\`.
|
|
51
|
+
4. Slots on atoms (\`ui.button\`, \`ui.input\`) hold icons and adornments only — a button's label still goes in its \`text\` prop.
|
|
44
52
|
|
|
45
53
|
### Theme Operations
|
|
46
54
|
- \`theme.setColor\` — Set a color token value
|
|
@@ -70,5 +78,62 @@ Multi-page \`mutations\` value — note the explicit \`page.create.id\` reused a
|
|
|
70
78
|
{ "op": "block.add", "pageId": "home", "index": 0, "component": "ui.navbar", "props": { "label": "Primary", "brand": "Studio", "items": [{ "label": "Home", "href": "/" }, { "label": "About", "href": "/about" }] } }
|
|
71
79
|
]
|
|
72
80
|
\`\`\`
|
|
81
|
+
|
|
82
|
+
### Composition Recipes
|
|
83
|
+
Use a section component whenever one fits — it is one editable block instead of many. If no section or organism matches the content, do NOT invent a component id (\`ui.testimonial-section\` does not exist, and an unknown id rejects the whole response) — compose it from these patterns:
|
|
84
|
+
|
|
85
|
+
| content | composition |
|
|
86
|
+
|---|---|
|
|
87
|
+
| hero / CTA buttons | \`ui.button\` ×N in the section's \`actions\` slot |
|
|
88
|
+
| repeating items with title + text | \`ui.features-section\` with an \`items\` array first. Only when it cannot express the content: a \`ui.heading\` group title, then \`ui.grid\` → \`ui.card\` ×N → \`header\`: \`ui.heading\` + \`default\`: \`ui.text\` |
|
|
89
|
+
| items with a figure (pricing, stats) | as above, plus \`ui.text\` (size xl, weight bold) for the figure and \`ui.badge\` in \`header\` for a short label |
|
|
90
|
+
| quotes with attribution | a \`ui.heading\` group title, then \`ui.grid\` → \`ui.card\` ×N → \`default\`: \`ui.text\` (as blockquote) + \`footer\`: \`ui.text\` (color text-muted) |
|
|
91
|
+
| contact details | \`ui.contact-section\` with a \`contacts\` array, using only details the user gave. Leave its \`form\` slot empty: a generated form has no way to deliver what visitors send |
|
|
92
|
+
|
|
93
|
+
- **Links.** An internal \`href\` is a page \`path\` from the site context or this response, or \`#<id>\` where a section on the same page has that value in its \`id\` PROP. Keep an \`https:\`, \`mailto:\` or \`tel:\` destination the user supplied, or one already on a block you are editing, exactly as given — never invent one. A block's mutation \`id\` is not an HTML id, so a \`#contact\` link needs \`"id": "contact"\` inside the target section's \`props\`.
|
|
94
|
+
- **Headings.** Card titles are \`ui.heading\` one \`level\` below their group title (group title \`level\` 2 → card titles \`level\` 3). Use \`ui.text\` for labels that are not titles.
|
|
95
|
+
- **Function props.** Never emit a function-typed prop (e.g. \`onSubmit\`) — JSON cannot carry one.
|
|
96
|
+
- **Placeholders.** \`"pageId": "home"\` stands for the id of the page you are building, from the site context — use that real id. The example ids (\`home-hero\`, \`services\`, …) are illustrative: every id you create must differ from every id in the site context and in this response.
|
|
97
|
+
|
|
98
|
+
Each example below is a complete \`mutations\` value.
|
|
99
|
+
|
|
100
|
+
Hero and CTA buttons linking to a section on the page:
|
|
101
|
+
\`\`\`json
|
|
102
|
+
[
|
|
103
|
+
{ "op": "block.add", "pageId": "home", "id": "home-hero", "component": "ui.hero-section", "props": { "heading": "Fresh bread daily", "subheading": "Baked every morning in small batches." } },
|
|
104
|
+
{ "op": "block.addToSlot", "parentId": "home-hero", "slot": "actions", "component": "ui.button", "props": { "text": "Visit us", "as": "a", "href": "#contact" } },
|
|
105
|
+
{ "op": "block.add", "pageId": "home", "id": "order-cta", "component": "ui.cta-section", "props": { "heading": "Ordering for an event?", "description": "Tell us the date and we will plan the menu." } },
|
|
106
|
+
{ "op": "block.addToSlot", "parentId": "order-cta", "slot": "actions", "component": "ui.button", "props": { "text": "Get in touch", "as": "a", "href": "#contact" } },
|
|
107
|
+
{ "op": "block.add", "pageId": "home", "id": "contact-details", "component": "ui.contact-section", "props": { "heading": "Find us", "id": "contact", "contacts": [{ "label": "Address", "value": "12 Mill Lane", "icon": "map-pin" }] } }
|
|
108
|
+
]
|
|
109
|
+
\`\`\`
|
|
110
|
+
|
|
111
|
+
Testimonials:
|
|
112
|
+
\`\`\`json
|
|
113
|
+
[
|
|
114
|
+
{ "op": "block.add", "pageId": "home", "id": "testimonials-title", "component": "ui.heading", "props": { "text": "What customers say", "level": 2 } },
|
|
115
|
+
{ "op": "block.add", "pageId": "home", "id": "testimonials", "component": "ui.grid", "props": { "columns": "auto-fit" } },
|
|
116
|
+
{ "op": "block.addToSlot", "parentId": "testimonials", "slot": "default", "id": "quote-1", "component": "ui.card", "props": { "variant": "outlined" } },
|
|
117
|
+
{ "op": "block.addToSlot", "parentId": "quote-1", "slot": "default", "component": "ui.text", "props": { "text": "The best sourdough in town.", "as": "blockquote" } },
|
|
118
|
+
{ "op": "block.addToSlot", "parentId": "quote-1", "slot": "footer", "component": "ui.text", "props": { "text": "Sam R., regular", "size": "sm", "color": "text-muted" } },
|
|
119
|
+
{ "op": "block.addToSlot", "parentId": "testimonials", "slot": "default", "id": "quote-2", "component": "ui.card", "props": { "variant": "outlined" } },
|
|
120
|
+
{ "op": "block.addToSlot", "parentId": "quote-2", "slot": "default", "component": "ui.text", "props": { "text": "They catered our wedding flawlessly.", "as": "blockquote" } },
|
|
121
|
+
{ "op": "block.addToSlot", "parentId": "quote-2", "slot": "footer", "component": "ui.text", "props": { "text": "Priya K.", "size": "sm", "color": "text-muted" } }
|
|
122
|
+
]
|
|
123
|
+
\`\`\`
|
|
124
|
+
|
|
125
|
+
Card grid:
|
|
126
|
+
\`\`\`json
|
|
127
|
+
[
|
|
128
|
+
{ "op": "block.add", "pageId": "home", "id": "services-title", "component": "ui.heading", "props": { "text": "Services", "level": 2 } },
|
|
129
|
+
{ "op": "block.add", "pageId": "home", "id": "services", "component": "ui.grid", "props": { "columns": "auto-fit" } },
|
|
130
|
+
{ "op": "block.addToSlot", "parentId": "services", "slot": "default", "id": "service-1", "component": "ui.card", "props": {} },
|
|
131
|
+
{ "op": "block.addToSlot", "parentId": "service-1", "slot": "header", "component": "ui.heading", "props": { "text": "Catering", "level": 3 } },
|
|
132
|
+
{ "op": "block.addToSlot", "parentId": "service-1", "slot": "default", "component": "ui.text", "props": { "text": "Platters for events of any size." } },
|
|
133
|
+
{ "op": "block.addToSlot", "parentId": "services", "slot": "default", "id": "service-2", "component": "ui.card", "props": {} },
|
|
134
|
+
{ "op": "block.addToSlot", "parentId": "service-2", "slot": "header", "component": "ui.heading", "props": { "text": "Classes", "level": 3 } },
|
|
135
|
+
{ "op": "block.addToSlot", "parentId": "service-2", "slot": "default", "component": "ui.text", "props": { "text": "Weekend baking workshops for beginners." } }
|
|
136
|
+
]
|
|
137
|
+
\`\`\`
|
|
73
138
|
`.trim();
|
|
74
139
|
//# sourceMappingURL=mutation-vocabulary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation-vocabulary.js","sourceRoot":"","sources":["../../src/mutation-vocabulary.ts"],"names":[],"mappings":"AAAA,uHAAuH;AAEvH;;;;;;;;;GASG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DlC,CAAC,IAAI,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"mutation-vocabulary.js","sourceRoot":"","sources":["../../src/mutation-vocabulary.ts"],"names":[],"mappings":"AAAA,uHAAuH;AAEvH;;;;;;;;;GASG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8HlC,CAAC,IAAI,EAAE,CAAC","sourcesContent":["/** @codex { \"id\": \"pithy.pidl-catalog.mutation-vocabulary\", \"title\": \"Mutation Vocabulary\", \"category\": \"feature\" } */\n\n/**\n * Mutation vocabulary — the structured set of operations the AI can perform.\n *\n * These operations map to SiteConfig store mutations and define the AI's\n * capability surface. The vocabulary is injected into the system prompt so\n * the AI knows exactly what actions are available.\n *\n * This file lives in the private @pithyjs/pidl-catalog package and is NEVER\n * published to npm.\n */\n\nexport const MUTATION_VOCABULARY = `\n## Mutation Vocabulary\n\nYou can modify the site using these operations:\n\n### Page Operations\n- \\`page.create\\` — Create a new page. Include \\`title\\`, \\`path\\`, and ALWAYS an explicit \\`id\\` (a short kebab-case slug, e.g. \"about\", \"contact\"). The \\`id\\` is not conditional: every page you create must be populated in the same response, and the blocks need the id to target.\n- \\`page.delete\\` — Delete a page by ID\n- \\`page.reorder\\` — Change the order of pages\n\n### Page → Block Binding (CRITICAL — violating this rejects the ENTIRE response)\nEvery \\`block.add\\` must target a page that actually exists. Its \\`pageId\\` MUST be either:\n1. the \\`id\\` of a page already listed in the current site context, OR\n2. the exact explicit \\`id\\` of a \\`page.create\\` that appears EARLIER in this same mutations array.\n\nTherefore, to build a NEW page with content:\n1. Emit \\`page.create\\` first, WITH an explicit \\`id\\` (e.g. \\`\"id\": \"about\"\\`).\n2. Use that EXACT same string as the \\`pageId\\` of every \\`block.add\\` for that page.\n\nNEVER reference a page you have not created (e.g. a \\`block.add\\` with \\`\"pageId\": \"about\"\\` when no page \"about\" exists and no \\`page.create\\` with \\`\"id\": \"about\"\\` precedes it). Do not invent page ids — only use ids you created or that already exist.\n\n### Every Created Page Must Be Populated AND Linked\nA \\`page.create\\` on its own is never a complete answer. In the SAME \\`mutations\\` array, also:\n\n1. **Populate it** — one \\`block.add\\` per section, each using the pinned \\`id\\` as its \\`pageId\\`. A page with no blocks renders as a blank screen; creating one and stopping there gives the user nothing.\n2. **Link it** — put the new page's \\`path\\` into the site's navigation. \\`hasNavigation\\` tells you which case you are in — it reports a \\`ui.navbar\\`, not a footer. When it is \\`false\\`, \\`block.add\\` a \\`ui.navbar\\` with \\`\"index\": 0\\` onto a page visitors already reach, listing the new page and every existing one except the not-found page (\\`/404\\`); \\`label\\` is a REQUIRED prop and the whole response is discarded without it. A \\`ui.footer-section\\` link group added the same way works too. When it is \\`true\\` you cannot add to the existing navbar here — \\`block.update\\` replaces props wholesale and you are not given its current \\`items\\` — so say in your \\`summary\\` that the page still needs linking. Nothing links to a page you only created, so no visitor can ever reach it.\n\n### Block Operations\n- \\`block.add\\` — Add a new block (component) to a page\n- \\`block.remove\\` — Remove a block by ID\n- \\`block.reorder\\` — Change block order within a page\n- \\`block.update\\` — Update block props\n- \\`block.addToSlot\\` — Add a child block into a named slot of an existing block (\\`parentId\\`, \\`slot\\`, \\`component\\`, \\`props\\`; optional \\`index\\`, \\`id\\`)\n\n### Slot → Block Binding (CRITICAL — violating this rejects the ENTIRE response)\nSome components hold their main content in slots, not props — \\`ui.card\\` and \\`ui.grid\\` among them. The catalog lists each component's **Slots:**. Fill a slot with \\`block.addToSlot\\`, never \\`block.add\\`: a slot child has no \\`pageId\\`.\n1. \\`parentId\\` is a block id from the site context, or the explicit \\`id\\` of a \\`block.add\\` / \\`block.addToSlot\\` EARLIER in this mutations array. A parent created in this response MUST carry an explicit kebab-case \\`id\\`, and every \\`block.addToSlot\\` that references it comes AFTER it.\n2. \\`slot\\` must be a slot the parent's component declares, and \\`component\\` must be one that slot accepts. Never exceed a slot's \\`max\\`.\n3. Nest by chaining: a \\`ui.card\\` added into a \\`ui.grid\\` carries its own \\`id\\`, and the card's children use it as \\`parentId\\`.\n4. Slots on atoms (\\`ui.button\\`, \\`ui.input\\`) hold icons and adornments only — a button's label still goes in its \\`text\\` prop.\n\n### Theme Operations\n- \\`theme.setColor\\` — Set a color token value\n- \\`theme.setFont\\` — Set a typography token value\n- \\`theme.setSpacing\\` — Set a spacing token value\n- \\`theme.setPreset\\` — Set a preset-based module (\\`module\\`: radius / shadows / motion / borders)\n\n### Content Operations\n- \\`content.setText\\` — Set text content on a block prop\n- \\`content.setImage\\` — Set image source on a block prop\n\n### Output Format\nThe response is a single envelope OBJECT — \\`{ \"intent\": \"...\", \"confidence\": <0..1>, \"mutations\": [ ... ] }\\` (see \"Output Envelope\" section below). \\`mutations\\` is ALWAYS an array. The examples below show ONLY the value of that \\`mutations\\` field — NOT the whole response (never emit a bare array as the top-level response).\n\nSingle-mutation \\`mutations\\` value (valid, parseable JSON):\n\\`\\`\\`json\n[\n { \"op\": \"block.add\", \"pageId\": \"home\", \"component\": \"ui.hero-section\", \"props\": { \"heading\": \"Welcome\" } }\n]\n\\`\\`\\`\n\nMulti-page \\`mutations\\` value — note the explicit \\`page.create.id\\` reused as \\`block.add.pageId\\`, and the third mutation adding a navbar that routes to the new path (valid, parseable JSON):\n\\`\\`\\`json\n[\n { \"op\": \"page.create\", \"id\": \"about\", \"title\": \"About\", \"path\": \"/about\" },\n { \"op\": \"block.add\", \"pageId\": \"about\", \"component\": \"ui.hero-section\", \"props\": { \"heading\": \"About Me\" } },\n { \"op\": \"block.add\", \"pageId\": \"home\", \"index\": 0, \"component\": \"ui.navbar\", \"props\": { \"label\": \"Primary\", \"brand\": \"Studio\", \"items\": [{ \"label\": \"Home\", \"href\": \"/\" }, { \"label\": \"About\", \"href\": \"/about\" }] } }\n]\n\\`\\`\\`\n\n### Composition Recipes\nUse a section component whenever one fits — it is one editable block instead of many. If no section or organism matches the content, do NOT invent a component id (\\`ui.testimonial-section\\` does not exist, and an unknown id rejects the whole response) — compose it from these patterns:\n\n| content | composition |\n|---|---|\n| hero / CTA buttons | \\`ui.button\\` ×N in the section's \\`actions\\` slot |\n| repeating items with title + text | \\`ui.features-section\\` with an \\`items\\` array first. Only when it cannot express the content: a \\`ui.heading\\` group title, then \\`ui.grid\\` → \\`ui.card\\` ×N → \\`header\\`: \\`ui.heading\\` + \\`default\\`: \\`ui.text\\` |\n| items with a figure (pricing, stats) | as above, plus \\`ui.text\\` (size xl, weight bold) for the figure and \\`ui.badge\\` in \\`header\\` for a short label |\n| quotes with attribution | a \\`ui.heading\\` group title, then \\`ui.grid\\` → \\`ui.card\\` ×N → \\`default\\`: \\`ui.text\\` (as blockquote) + \\`footer\\`: \\`ui.text\\` (color text-muted) |\n| contact details | \\`ui.contact-section\\` with a \\`contacts\\` array, using only details the user gave. Leave its \\`form\\` slot empty: a generated form has no way to deliver what visitors send |\n\n- **Links.** An internal \\`href\\` is a page \\`path\\` from the site context or this response, or \\`#<id>\\` where a section on the same page has that value in its \\`id\\` PROP. Keep an \\`https:\\`, \\`mailto:\\` or \\`tel:\\` destination the user supplied, or one already on a block you are editing, exactly as given — never invent one. A block's mutation \\`id\\` is not an HTML id, so a \\`#contact\\` link needs \\`\"id\": \"contact\"\\` inside the target section's \\`props\\`.\n- **Headings.** Card titles are \\`ui.heading\\` one \\`level\\` below their group title (group title \\`level\\` 2 → card titles \\`level\\` 3). Use \\`ui.text\\` for labels that are not titles.\n- **Function props.** Never emit a function-typed prop (e.g. \\`onSubmit\\`) — JSON cannot carry one.\n- **Placeholders.** \\`\"pageId\": \"home\"\\` stands for the id of the page you are building, from the site context — use that real id. The example ids (\\`home-hero\\`, \\`services\\`, …) are illustrative: every id you create must differ from every id in the site context and in this response.\n\nEach example below is a complete \\`mutations\\` value.\n\nHero and CTA buttons linking to a section on the page:\n\\`\\`\\`json\n[\n { \"op\": \"block.add\", \"pageId\": \"home\", \"id\": \"home-hero\", \"component\": \"ui.hero-section\", \"props\": { \"heading\": \"Fresh bread daily\", \"subheading\": \"Baked every morning in small batches.\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"home-hero\", \"slot\": \"actions\", \"component\": \"ui.button\", \"props\": { \"text\": \"Visit us\", \"as\": \"a\", \"href\": \"#contact\" } },\n { \"op\": \"block.add\", \"pageId\": \"home\", \"id\": \"order-cta\", \"component\": \"ui.cta-section\", \"props\": { \"heading\": \"Ordering for an event?\", \"description\": \"Tell us the date and we will plan the menu.\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"order-cta\", \"slot\": \"actions\", \"component\": \"ui.button\", \"props\": { \"text\": \"Get in touch\", \"as\": \"a\", \"href\": \"#contact\" } },\n { \"op\": \"block.add\", \"pageId\": \"home\", \"id\": \"contact-details\", \"component\": \"ui.contact-section\", \"props\": { \"heading\": \"Find us\", \"id\": \"contact\", \"contacts\": [{ \"label\": \"Address\", \"value\": \"12 Mill Lane\", \"icon\": \"map-pin\" }] } }\n]\n\\`\\`\\`\n\nTestimonials:\n\\`\\`\\`json\n[\n { \"op\": \"block.add\", \"pageId\": \"home\", \"id\": \"testimonials-title\", \"component\": \"ui.heading\", \"props\": { \"text\": \"What customers say\", \"level\": 2 } },\n { \"op\": \"block.add\", \"pageId\": \"home\", \"id\": \"testimonials\", \"component\": \"ui.grid\", \"props\": { \"columns\": \"auto-fit\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"testimonials\", \"slot\": \"default\", \"id\": \"quote-1\", \"component\": \"ui.card\", \"props\": { \"variant\": \"outlined\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"quote-1\", \"slot\": \"default\", \"component\": \"ui.text\", \"props\": { \"text\": \"The best sourdough in town.\", \"as\": \"blockquote\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"quote-1\", \"slot\": \"footer\", \"component\": \"ui.text\", \"props\": { \"text\": \"Sam R., regular\", \"size\": \"sm\", \"color\": \"text-muted\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"testimonials\", \"slot\": \"default\", \"id\": \"quote-2\", \"component\": \"ui.card\", \"props\": { \"variant\": \"outlined\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"quote-2\", \"slot\": \"default\", \"component\": \"ui.text\", \"props\": { \"text\": \"They catered our wedding flawlessly.\", \"as\": \"blockquote\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"quote-2\", \"slot\": \"footer\", \"component\": \"ui.text\", \"props\": { \"text\": \"Priya K.\", \"size\": \"sm\", \"color\": \"text-muted\" } }\n]\n\\`\\`\\`\n\nCard grid:\n\\`\\`\\`json\n[\n { \"op\": \"block.add\", \"pageId\": \"home\", \"id\": \"services-title\", \"component\": \"ui.heading\", \"props\": { \"text\": \"Services\", \"level\": 2 } },\n { \"op\": \"block.add\", \"pageId\": \"home\", \"id\": \"services\", \"component\": \"ui.grid\", \"props\": { \"columns\": \"auto-fit\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"services\", \"slot\": \"default\", \"id\": \"service-1\", \"component\": \"ui.card\", \"props\": {} },\n { \"op\": \"block.addToSlot\", \"parentId\": \"service-1\", \"slot\": \"header\", \"component\": \"ui.heading\", \"props\": { \"text\": \"Catering\", \"level\": 3 } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"service-1\", \"slot\": \"default\", \"component\": \"ui.text\", \"props\": { \"text\": \"Platters for events of any size.\" } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"services\", \"slot\": \"default\", \"id\": \"service-2\", \"component\": \"ui.card\", \"props\": {} },\n { \"op\": \"block.addToSlot\", \"parentId\": \"service-2\", \"slot\": \"header\", \"component\": \"ui.heading\", \"props\": { \"text\": \"Classes\", \"level\": 3 } },\n { \"op\": \"block.addToSlot\", \"parentId\": \"service-2\", \"slot\": \"default\", \"component\": \"ui.text\", \"props\": { \"text\": \"Weekend baking workshops for beginners.\" } }\n]\n\\`\\`\\`\n`.trim();\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radius-psychology.js","sourceRoot":"","sources":["../../src/radius-psychology.ts"],"names":[],"mappings":"AAAA,4HAA4H;AAE5H;;;;;;;;;;;;;GAaG;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBzC,CAAC,IAAI,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"radius-psychology.js","sourceRoot":"","sources":["../../src/radius-psychology.ts"],"names":[],"mappings":"AAAA,4HAA4H;AAE5H;;;;;;;;;;;;;GAaG;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBzC,CAAC,IAAI,EAAE,CAAC","sourcesContent":["/** @codex { \"id\": \"pithy.pidl-catalog.radius-psychology\", \"title\": \"Radius Psychology Guidance\", \"category\": \"feature\" } */\n\n/**\n * Radius Psychology guidance — proprietary research-backed corner-radius rules,\n * injected into the AI system prompt so generated sites use a corner style that\n * fits the user's industry / use-case / mood.\n *\n * Corner radius is a fast, strong personality signal: sharp corners read\n * precise / serious / technical; gently rounded corners read friendly /\n * approachable / trustworthy; large \"bubble\" radii read playful / casual /\n * youthful. Maps onto the design system's radius presets (sharp / subtle /\n * rounded / bubble). Intentionally compact for the 0.1 release.\n *\n * This file lives in the private @pithyjs/pidl-catalog package and is NEVER\n * published to npm — it is IP and must stay server-side.\n */\n\nexport const RADIUS_PSYCHOLOGY_GUIDANCE = `\n## Corner Radius Psychology (shape personality)\n\nCorner radius is a quick, strong signal of brand personality. Sharp corners read\nprecise, serious, technical, authoritative; gently rounded corners read friendly,\napproachable, trustworthy, modern; large/pill radii read playful, casual,\nyouthful. Pick the corner style that matches the brand.\n\n### Radius preset → use-case\n- sharp (0) → editorial, finance / legal / enterprise, luxury & high-fashion,\n technical / developer tools — precision and authority\n- subtle (small) → professional & corporate, B2B SaaS, healthcare-adjacent —\n modern and neutral without being stiff\n- rounded (default) → most consumer & marketing sites, healthcare, education,\n nonprofits — friendly, warm, trustworthy\n- bubble (large / pill) → playful consumer apps, kids / family, food & lifestyle,\n creative / fun brands — casual and energetic\n\n### Applying it\nFor a NEW page or site built from scratch, emit ONE \\`theme.setPreset\\` mutation\nto set the corner style — exact shape:\n\\`{ \"op\": \"theme.setPreset\", \"module\": \"radius\", \"value\": \"rounded\" }\\`\n\\`value\\` MUST be one of: sharp, subtle, rounded, bubble. Do this only for new\nbuilds, not for small content edits, and never when the user asks to keep the\ncurrent style.\n`.trim();\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadows-psychology.js","sourceRoot":"","sources":["../../src/shadows-psychology.ts"],"names":[],"mappings":"AAAA,8HAA8H;AAE9H;;;;;;;;;;;;;GAaG;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2B1C,CAAC,IAAI,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"shadows-psychology.js","sourceRoot":"","sources":["../../src/shadows-psychology.ts"],"names":[],"mappings":"AAAA,8HAA8H;AAE9H;;;;;;;;;;;;;GAaG;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2B1C,CAAC,IAAI,EAAE,CAAC","sourcesContent":["/** @codex { \"id\": \"pithy.pidl-catalog.shadows-psychology\", \"title\": \"Shadows Psychology Guidance\", \"category\": \"feature\" } */\n\n/**\n * Shadows Psychology guidance — proprietary research-backed depth/elevation\n * rules, injected into the AI system prompt so generated sites use a shadow\n * style that fits the user's industry / use-case / mood.\n *\n * Shadow depth signals materiality and hierarchy: flat reads modern / minimal /\n * editorial; soft reads gentle / calm / approachable; elevated reads tactile /\n * app-like / clear-hierarchy; dramatic reads bold / energetic / attention-\n * grabbing. Maps onto the design system's shadow presets (flat / soft /\n * elevated / dramatic). Intentionally compact for the 0.1 release.\n *\n * This file lives in the private @pithyjs/pidl-catalog package and is NEVER\n * published to npm — it is IP and must stay server-side.\n */\n\nexport const SHADOWS_PSYCHOLOGY_GUIDANCE = `\n## Shadow / Depth Psychology (elevation personality)\n\nShadow depth signals materiality and hierarchy. Flat (no shadows) reads modern,\nminimal, editorial, content-first; soft reads gentle, calm, approachable;\nelevated reads tactile, app-like, with clear visual hierarchy; dramatic reads\nbold, energetic, attention-grabbing. Pick the depth that matches the brand.\n\n### Shadow preset → use-case\n- flat → editorial, news, minimalist & high-design brands, content-heavy sites,\n luxury (flatness can read refined) — clean and modern\n- soft → healthcare, wellness, education, calm consumer brands — gentle depth\n- elevated (default) → SaaS, dashboards, app-like products, most marketing\n sites — tactile and clearly layered\n- dramatic → bold landing pages, events, entertainment, promotions — high-energy\n emphasis\n\n### Applying it\nFor a NEW page or site built from scratch, emit ONE \\`theme.setPreset\\` mutation\nto set the shadow depth — exact shape:\n\\`{ \"op\": \"theme.setPreset\", \"module\": \"shadows\", \"value\": \"elevated\" }\\`\n\\`value\\` MUST be one of: flat, soft, elevated, dramatic. Do this only for new\nbuilds, not for small content edits, and never when the user asks to keep the\ncurrent style.\n\n(Brand-tinted shadows — blending the primary hue into shadows for extra cohesion\n— are available as an editor refinement; you do not control them.)\n`.trim();\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacing-psychology.js","sourceRoot":"","sources":["../../src/spacing-psychology.ts"],"names":[],"mappings":"AAAA,8HAA8H;AAE9H;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC1C,CAAC,IAAI,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"spacing-psychology.js","sourceRoot":"","sources":["../../src/spacing-psychology.ts"],"names":[],"mappings":"AAAA,8HAA8H;AAE9H;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC1C,CAAC,IAAI,EAAE,CAAC","sourcesContent":["/** @codex { \"id\": \"pithy.pidl-catalog.spacing-psychology\", \"title\": \"Spacing Psychology Guidance\", \"category\": \"feature\" } */\n\n/**\n * Spacing Psychology guidance — proprietary research-backed density/scale rules,\n * injected into the AI system prompt so generated sites use spacing that fits the\n * user's industry / use-case / mood.\n *\n * Whitespace carries meaning: generous spacing reads premium / calm / trustworthy\n * / modern; tight spacing reads value / utilitarian / information-rich. Crucially\n * this is **context-dependent** — the openness that makes a product feel premium\n * can make an information-heavy service feel incomplete (minimalist legal/finance\n * pages test LOWER on trust than denser ones). So density must match the use-case,\n * not default to \"more space = better\".\n *\n * Maps onto the design system's spacing presets — density (compact / comfortable\n * / spacious) and scale ratio (geometric / golden / moderate). Intentionally\n * compact for the 0.1 release.\n *\n * This file lives in the private @pithyjs/pidl-catalog package and is NEVER\n * published to npm — it is IP and must stay server-side.\n */\n\nexport const SPACING_PSYCHOLOGY_GUIDANCE = `\n## Spacing Psychology (density & rhythm)\n\nWhitespace is a signal, not just a gap. Generous spacing reads premium, calm,\nsophisticated, modern, and trustworthy; tight spacing reads efficient,\nutilitarian, value-oriented, and information-rich. Pick a density that matches\nthe user's use-case.\n\n### IMPORTANT — the context paradox\nMore whitespace is NOT universally better. Open, airy layouts elevate products\nand luxury/brand sites, but for information-dense or credibility-by-detail\nuse-cases (legal, finance, news/editorial, dashboards, comparison/data,\nenterprise tools) too much whitespace reads as incomplete or unprofessional and\nLOWERS trust. Match density to the job.\n\n### Density → use-case\n- spacious → luxury, fashion, beauty, premium products, portfolios, agencies,\n wellness/spa, photography, single-focus landing/hero pages\n- comfortable (default) → most marketing sites, general business, SaaS,\n healthcare, education, nonprofits — the safe choice when unsure\n- compact → dashboards & admin, data/comparison tables, news/editorial, legal /\n finance / professional services, enterprise & productivity tools\n\n### Scale ratio (secondary — affects size contrast between spacing steps)\n- geometric (2.0x) → bold, high-contrast rhythm — impactful, modern, marketing\n- golden (1.618x) → balanced, harmonious — editorial, refined brands\n- moderate (1.5x) → subtle, uniform steps — dense/utilitarian, content-heavy UIs\n\n### Applying it\nFor a NEW page or site built from scratch, emit a \\`theme.setSpacing\\` mutation to\nset the density (and optionally the scale) — exact shapes:\n\\`{ \"op\": \"theme.setSpacing\", \"token\": \"--space-density\", \"value\": \"spacious\" }\\`\n\\`{ \"op\": \"theme.setSpacing\", \"token\": \"--space-scale\", \"value\": \"geometric\" }\\`\n\\`--space-density\\` value MUST be one of: compact, comfortable, spacious.\n\\`--space-scale\\` value MUST be one of: geometric, golden, moderate.\nDo this only for new builds, not for small content edits, and never when the user\nasks to keep the current spacing.\n`.trim();\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography-psychology.d.ts","sourceRoot":"","sources":["../../src/typography-psychology.ts"],"names":[],"mappings":"AAAA,oIAAoI;AAEpI;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"typography-psychology.d.ts","sourceRoot":"","sources":["../../src/typography-psychology.ts"],"names":[],"mappings":"AAAA,oIAAoI;AAEpI;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,8BAA8B,QA+CnC,CAAC"}
|
|
@@ -27,7 +27,7 @@ Font personality: serif = trust / tradition / authority / editorial-luxury;
|
|
|
27
27
|
geometric sans = modern / confident / tech; humanist sans = approachable /
|
|
28
28
|
clear; rounded sans = friendly / playful.
|
|
29
29
|
|
|
30
|
-
### Curated fonts (use these EXACT names —
|
|
30
|
+
### Curated fonts (use these EXACT names — any other name is rejected)
|
|
31
31
|
Serif: Merriweather (readable, editorial), Playfair Display (high-contrast,
|
|
32
32
|
elegant/luxury). Geometric sans: Poppins, Montserrat, Space Grotesk, DM Sans,
|
|
33
33
|
Plus Jakarta Sans, Manrope, Raleway. Humanist / neutral sans (best for BODY):
|
|
@@ -61,7 +61,8 @@ For a NEW page or site built from scratch, ALSO emit up to TWO \`theme.setFont\`
|
|
|
61
61
|
mutations — exact shapes:
|
|
62
62
|
\`{ "op": "theme.setFont", "token": "--font-family-heading", "value": "Playfair Display" }\`
|
|
63
63
|
\`{ "op": "theme.setFont", "token": "--font-family-body", "value": "Source Sans Pro" }\`
|
|
64
|
-
\`value\` MUST be one of the curated font names above
|
|
64
|
+
\`value\` MUST be one of the curated font names above; any other name rejects
|
|
65
|
+
the whole response. Do this
|
|
65
66
|
only for new builds, NOT for small content edits, and never when the user asks to
|
|
66
67
|
keep the current fonts.
|
|
67
68
|
`.trim();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography-psychology.js","sourceRoot":"","sources":["../../src/typography-psychology.ts"],"names":[],"mappings":"AAAA,oIAAoI;AAEpI;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAC,MAAM,8BAA8B,GAAG
|
|
1
|
+
{"version":3,"file":"typography-psychology.js","sourceRoot":"","sources":["../../src/typography-psychology.ts"],"names":[],"mappings":"AAAA,oIAAoI;AAEpI;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAC,MAAM,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C7C,CAAC,IAAI,EAAE,CAAC","sourcesContent":["/** @codex { \"id\": \"pithy.pidl-catalog.typography-psychology\", \"title\": \"Typography Psychology Guidance\", \"category\": \"feature\" } */\n\n/**\n * Typography Psychology guidance — proprietary research-backed font-selection\n * rules, injected into the AI system prompt so generated sites pick a heading +\n * body pairing suited to the user's industry / use-case / mood.\n *\n * Fonts carry consistent personality: serifs read as trustworthy / traditional /\n * editorial; geometric sans as modern / confident / tech; humanist sans as\n * approachable / highly readable; rounded sans as friendly / playful. The\n * highest-leverage typographic decision is the heading↔body PAIRING — a\n * characterful heading over a neutral, readable body.\n *\n * Recommendations are drawn ONLY from the design system's curated font set\n * (`POPULAR_GOOGLE_FONTS`), so every suggestion is a font the studio can load on\n * demand. Sizes/line-height advice mirrors the accessible defaults (base ≥16px,\n * line-height ≥1.5). Intentionally compact for the 0.1 release.\n *\n * This file lives in the private @pithyjs/pidl-catalog package and is NEVER\n * published to npm — it is IP and must stay server-side.\n */\n\nexport const TYPOGRAPHY_PSYCHOLOGY_GUIDANCE = `\n## Typography Psychology (choosing fonts)\n\nPick a HEADING font and a BODY font deliberately from the personality of the\nuser's industry and mood — don't leave every site on the default system font.\nFont personality: serif = trust / tradition / authority / editorial-luxury;\ngeometric sans = modern / confident / tech; humanist sans = approachable /\nclear; rounded sans = friendly / playful.\n\n### Curated fonts (use these EXACT names — any other name is rejected)\nSerif: Merriweather (readable, editorial), Playfair Display (high-contrast,\nelegant/luxury). Geometric sans: Poppins, Montserrat, Space Grotesk, DM Sans,\nPlus Jakarta Sans, Manrope, Raleway. Humanist / neutral sans (best for BODY):\nInter, Open Sans, Source Sans Pro, Lato, Work Sans, IBM Plex Sans, PT Sans,\nFira Sans, Ubuntu. Rounded / friendly: Nunito.\n\n### Industry → heading / body pairing\n- Tech / SaaS / startup → Space Grotesk or Poppins / Inter\n- Finance / legal / corporate → Playfair Display or Merriweather / Source Sans Pro or IBM Plex Sans\n- Healthcare / wellness → Poppins or Nunito / Open Sans or Lato\n- Luxury / fashion / beauty → Playfair Display / Lato or Montserrat\n- Editorial / blog / publishing → Merriweather or Playfair Display / Source Sans Pro\n- Creative / agency / portfolio → Space Grotesk or Montserrat / Inter\n- E-commerce / consumer / food → Poppins or Montserrat / Open Sans\n- Education / nonprofit / community → Nunito or Work Sans / Open Sans\n- Real estate / construction / industrial → Montserrat or Manrope / Source Sans Pro\n\n### Principles\n1. Pair for CONTRAST + HARMONY: a characterful heading over a neutral, highly\n readable body. The serif-headline + humanist-sans-body combo reads as both\n authoritative AND readable, and is a strong default when unsure.\n2. Body must stay readable at small sizes — prefer a neutral humanist sans\n (Inter, Open Sans, Source Sans Pro, Lato) for body unless the brand is\n editorial (then a readable serif body like Merriweather is fine).\n3. Use at most TWO families. It's fine to use ONE family for both roles.\n4. Accessibility: keep base size ≥16px and line-height ≥1.5 (these are the\n defaults — never reduce them for body text).\n\n### Applying it\nFor a NEW page or site built from scratch, ALSO emit up to TWO \\`theme.setFont\\`\nmutations — exact shapes:\n\\`{ \"op\": \"theme.setFont\", \"token\": \"--font-family-heading\", \"value\": \"Playfair Display\" }\\`\n\\`{ \"op\": \"theme.setFont\", \"token\": \"--font-family-body\", \"value\": \"Source Sans Pro\" }\\`\n\\`value\\` MUST be one of the curated font names above; any other name rejects\nthe whole response. Do this\nonly for new builds, NOT for small content edits, and never when the user asks to\nkeep the current fonts.\n`.trim();\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pithyjs/pidl-catalog",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.7",
|
|
4
4
|
"description": "Machine-readable component contracts for PithyJS — props, types, defaults, slots and a11y guarantees as JSON.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/PithyJS/pithyjs.git",
|
|
8
|
+
"directory": "packages/pidl-catalog"
|
|
9
|
+
},
|
|
5
10
|
"type": "module",
|
|
6
11
|
"files": [
|
|
7
12
|
"dist"
|
|
@@ -58,7 +63,7 @@
|
|
|
58
63
|
"tag": "beta"
|
|
59
64
|
},
|
|
60
65
|
"scripts": {
|
|
61
|
-
"build": "tsc",
|
|
66
|
+
"build": "node ../../scripts/check-dist.mjs --unstamp $$ && tsc && node ../../scripts/add-js-extensions.mjs dist && node ../../scripts/check-dist.mjs --stamp $$",
|
|
62
67
|
"dev": "tsc --watch",
|
|
63
68
|
"test": "vitest"
|
|
64
69
|
}
|