@spillway-cms/blocks 0.1.22 → 0.1.24

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 (57) hide show
  1. package/THIRD_PARTY_NOTICES.md +49 -0
  2. package/dist/ask.d.ts +8 -5
  3. package/dist/ask.js +46 -16
  4. package/dist/ask.js.map +1 -1
  5. package/dist/breadcrumbs.d.ts +27 -0
  6. package/dist/breadcrumbs.js +44 -0
  7. package/dist/breadcrumbs.js.map +1 -0
  8. package/dist/calendar.d.ts +34 -6
  9. package/dist/calendar.js +61 -5
  10. package/dist/calendar.js.map +1 -1
  11. package/dist/config.d.ts +52 -4
  12. package/dist/config.js +108 -25
  13. package/dist/config.js.map +1 -1
  14. package/dist/css.js +28 -0
  15. package/dist/css.js.map +1 -1
  16. package/dist/examples.js +67 -1
  17. package/dist/examples.js.map +1 -1
  18. package/dist/form.d.ts +11 -0
  19. package/dist/form.js +7 -3
  20. package/dist/form.js.map +1 -1
  21. package/dist/icons-data.d.ts +18 -0
  22. package/dist/icons-data.js +117 -0
  23. package/dist/icons-data.js.map +1 -0
  24. package/dist/icons.d.ts +31 -0
  25. package/dist/icons.js +49 -0
  26. package/dist/icons.js.map +1 -0
  27. package/dist/index.d.ts +13 -4
  28. package/dist/index.js +5 -1
  29. package/dist/index.js.map +1 -1
  30. package/dist/marketing.d.ts +3 -0
  31. package/dist/marketing.js +5 -2
  32. package/dist/marketing.js.map +1 -1
  33. package/dist/meta.js +46 -16
  34. package/dist/meta.js.map +1 -1
  35. package/dist/mini-calendar.d.ts +20 -0
  36. package/dist/mini-calendar.js +85 -0
  37. package/dist/mini-calendar.js.map +1 -0
  38. package/dist/motion.d.ts +1 -1
  39. package/dist/motion.js +2 -1
  40. package/dist/motion.js.map +1 -1
  41. package/dist/registry-package.js +1 -1
  42. package/dist/registry-package.js.map +1 -1
  43. package/dist/registry-types.d.ts +7 -0
  44. package/dist/registry-types.js.map +1 -1
  45. package/dist/styles.css +231 -1
  46. package/dist/styles.js +95 -0
  47. package/dist/styles.js.map +1 -1
  48. package/dist/toc.d.ts +32 -0
  49. package/dist/toc.js +79 -0
  50. package/dist/toc.js.map +1 -0
  51. package/dist/video.d.ts +36 -1
  52. package/dist/video.js +157 -4
  53. package/dist/video.js.map +1 -1
  54. package/dist/widgets.d.ts +95 -0
  55. package/dist/widgets.js +449 -0
  56. package/dist/widgets.js.map +1 -0
  57. package/package.json +4 -3
package/dist/meta.js CHANGED
@@ -7,7 +7,7 @@ export const blockMeta = {
7
7
  Heading: {
8
8
  summary: 'A section heading.',
9
9
  description: 'A standalone heading (h1 to h4) with alignment.',
10
- aiHint: 'Use to start a section. Prefer h2 for sections and h3 for sub-sections; the Hero already provides the h1. Keep headings short and specific.',
10
+ aiHint: 'Use to start a section. Prefer h2 for sections and h3 for sub-sections; the Hero already provides the h1. Keep headings short and specific. anchor is an optional link name for #links (lowercase words joined by hyphens, unique on the page); On this page lists headings without one too.',
11
11
  },
12
12
  Text: {
13
13
  summary: 'Paragraphs of body copy.',
@@ -26,8 +26,8 @@ export const blockMeta = {
26
26
  },
27
27
  Video: {
28
28
  summary: 'A captioned video to play.',
29
- description: 'A video (MP4 or WebM) from the media library, played with the browser\'s own controls (keyboard accessible, with a captions button), a poster image, captions files (.vtt) with a language and a label each, and an optional transcript in an expandable section under it. Nothing loads until the visitor presses play. The title names the player for screen readers and, with the description, goes into VideoObject structured data for video search results. A muted video can play on its own when in view, only when the brand\'s motion is on and the visitor has not asked for reduced motion.',
30
- aiHint: 'Use for a how-to, a tour or an interview hosted in the media library; for YouTube or Vimeo use Embed. src must be a real /media/ URL of an .mp4 or .webm file, poster a real image from the library, and each tracks item a real .vtt file from the library with srclang (en, es, fr-CA) and label (English); mark one default. Always set title (what the video is) and a one-sentence description. Put the transcript in transcript when one is known; never invent captions, transcripts or file URLs. Leave autoplay off unless the video is silent decoration (it needs muted true).',
29
+ description: 'A video (MP4 or WebM) from the media library, played with the browser\'s own controls (keyboard accessible, with a captions button), a poster image, captions files (.vtt) with a language and a label each, and an optional transcript in an expandable section under it. Nothing loads until the visitor presses play. It also plays a YouTube or Vimeo address: the page shows a poster (the block\'s own, else the video\'s thumbnail, which the server caches) with a play button and loads the privacy-friendly player (youtube-nocookie.com, Vimeo with do-not-track) only when it is pressed, in place or in a lightbox; with the consent banner on, it says the video comes from YouTube or Vimeo, which may set cookies. The title names the player for screen readers and, with the description, goes into VideoObject structured data for video search results. A muted video can play on its own when in view, only when the brand\'s motion is on and the visitor has not asked for reduced motion.',
30
+ aiHint: 'Use for a how-to, a tour or an interview hosted in the media library; for a YouTube or Vimeo video put its address (https://www.youtube.com/watch?v=..., https://vimeo.com/...) in src, with display "inline" or "lightbox", leaving tracks empty (captions come from the host). Otherwise src must be a real /media/ URL of an .mp4 or .webm file, poster a real image from the library, and each tracks item a real .vtt file from the library with srclang (en, es, fr-CA) and label (English); mark one default. Always set title (what the video is) and a one-sentence description. Put the transcript in transcript when one is known; never invent captions, transcripts or file URLs. Leave autoplay off unless the video is silent decoration (it needs muted true).',
31
31
  },
32
32
  Columns: {
33
33
  summary: 'Side-by-side columns of blocks.',
@@ -36,8 +36,28 @@ export const blockMeta = {
36
36
  },
37
37
  Section: {
38
38
  summary: 'A band that holds other blocks.',
39
- description: 'A full-width band with a background (page, surface, primary, secondary or dark) and a width (narrow, normal, wide), holding any blocks in its content slot; each block inside keeps its own alignment. Text and buttons turn light on the colored and dark backgrounds.',
40
- aiHint: 'Use to group a heading, text, buttons or cards on one background, for example a dark band with a Heading, a Text and a Buttons block. Put the child blocks in "content". Prefer it to Spacer for separating sections.',
39
+ description: 'A full-width band with a background (page, surface, primary, secondary or dark) and a width (narrow, normal, wide), holding any blocks in its content slot; each block inside keeps its own alignment. Text and buttons turn light on the colored and dark backgrounds. It can have a background image from the media library (cropped around its focal point, under an overlay in a brand color at 20 to 80 percent, with light or dark text to match) and a muted background video that plays only when motion is allowed, with a pause button. A link name gives it an id for #links.',
40
+ aiHint: 'Use to group a heading, text, buttons or cards on one background, for example a dark band with a Heading, a Text and a Buttons block. Put the child blocks in "content". Prefer it to Spacer for separating sections. For a photo band, set backgroundImage to a real /media/ image (or "find: " and what it shows when photos are offered), overlay "dark" (or "primary") with overlayStrength 60 or more and textColor "auto"; keep the text inside short. backgroundVideo only with a real .mp4 or .webm and a backgroundImage as its poster. anchor is an optional link name (lowercase words joined by hyphens, unique on the page).',
41
+ },
42
+ OnThisPage: {
43
+ summary: 'Links to the page\'s headings.',
44
+ description: 'A list of links to the page\'s headings (H2, H2 and H3, or H2 to H4), filled in when the page is shown, as a nested list under a title ("On this page"). It can stay in view while the page scrolls, in a sidebar column or a sidebar placement. Jumps scroll smoothly unless the visitor asked for reduced motion.',
45
+ aiHint: 'Use on long pages with four or more H2 sections (a program page, a policy, a guide), near the top or in the first column of a two-column layout with sticky true. It lists Heading blocks on its own: give the headings short, distinct text; nothing else to fill in.',
46
+ },
47
+ Tabs: {
48
+ summary: 'Panels of blocks behind tabs.',
49
+ description: 'Two to twelve tabs, each a panel that holds any blocks, with the tabs above the panel or beside it. Arrow keys move between the tabs, a link to #link-name opens a tab, and on narrow screens the tabs scroll sideways. Without JavaScript, and in the page builder, every panel shows under its heading after a list of links to them.',
50
+ aiHint: 'Use for parallel content people choose between, such as program levels (Undergraduate, Graduate, Online), audiences or the steps of a process, three to six tabs with short labels (one or two words). Each tab has a label and a "content" array of child blocks (Heading, Text, Image, Buttons, Columns). Not for content everyone must read: use Sections for that. orientation "vertical" suits five or more tabs with longer labels.',
51
+ },
52
+ Accordion: {
53
+ summary: 'Items that open to any blocks.',
54
+ description: 'A list of items whose titles open in place to show any blocks (text, images, buttons, columns), one at a time or several, with a heading level for the titles, the first item optionally open, links to an item by its link name (#visiting-campus) and, marked as FAQ, the titles and answers in the page\'s FAQPage structured data. Without JavaScript, and in the page builder, every item is open.',
55
+ aiHint: 'Use for many short sections people scan for one answer: policies, requirements, office hours, questions with rich answers. Each item has a title (a heading people scan) and a "content" array of child blocks, usually one Text block. Set headingLevel to the level after the heading above it (h3 under an h2). Set faq true only when the titles are real questions. For plain questions and answers the Faq block is enough.',
56
+ },
57
+ Carousel: {
58
+ summary: 'Slides of blocks to browse.',
59
+ description: 'Slides that each hold any blocks, in four variants: hero (full width, optionally full screen), cards (several visible, the next peeking in), testimonial (a thumbnail switcher) and stats (big numbers). Previous and Next, dots or thumbnails, swiping, arrow keys and screen reader labels ("1 of 3"); autoplay is off by default, has a pause button and never runs when the brand\'s motion is off or the visitor reduces motion. Without JavaScript the slides are a row that scrolls sideways.',
60
+ aiHint: 'Use sparingly: only when people browse the slides by choice (stories, featured programs, testimonials, key figures), never for information everyone must see, which belongs in Cards or Sections. Three to six slides. Each slide has a short label and a "content" array of child blocks: a Hero for the hero variant (titleLevel h2 on every Hero after the first, so the page keeps one H1), a Heading, Text and Button for cards, a Text quote with the person\'s name for testimonial, a Heading with the figure and a Text saying what it counts for stats. Always give title (it names the carousel). Leave autoplay false.',
41
61
  },
42
62
  CallToAction: {
43
63
  summary: 'A short pitch with one button.',
@@ -46,8 +66,8 @@ export const blockMeta = {
46
66
  },
47
67
  Cards: {
48
68
  summary: 'A grid of cards with links.',
49
- description: 'A grid of cards with title, text, optional link and image, in 2 to 4 columns.',
50
- aiHint: 'Use for features, benefits, services or a list of related pages. Three cards with parallel phrasing read best. Leave href empty when there is no target page.',
69
+ description: 'A grid of cards with title, text, optional link, image and icon, in 2 to 4 columns. An icon is decorative unless it has a label.',
70
+ aiHint: 'Use for features, benefits, services or a list of related pages. Three cards with parallel phrasing read best. Leave href empty when there is no target page. Give each card an icon that fits its title when the cards have no images (the same style of icon on every card), and leave iconLabel empty: the title says what it is. Icon names are the bundled set (graduation-cap, book-open, users, map-pin, calendar, heart, globe, award, briefcase, flask-conical, lightbulb, phone, mail, arrow-right and more; the field lists them all); leave icon empty when no icon fits.',
51
71
  },
52
72
  Faq: {
53
73
  summary: 'Questions that open to answers.',
@@ -61,8 +81,8 @@ export const blockMeta = {
61
81
  },
62
82
  Stats: {
63
83
  summary: 'Big numbers with labels.',
64
- description: 'Up to six large figures (98%, 40, 14:1), each with what it counts.',
65
- aiHint: 'Use for three or four true, specific figures the site states elsewhere. The label says what is counted, in a few words. Do not invent numbers.',
84
+ description: 'Up to six large figures (98%, 40, 14:1), each with what it counts and an optional icon above it.',
85
+ aiHint: 'Use for three or four true, specific figures the site states elsewhere. The label says what is counted, in a few words. Do not invent numbers. An icon per figure is optional (decorative; iconLabel empty). Icon names are the bundled set (graduation-cap, book-open, users, map-pin, calendar, heart, globe, award, briefcase, flask-conical, lightbulb, phone, mail, arrow-right and more; the field lists them all); leave icon empty when no icon fits.',
66
86
  },
67
87
  LogoStrip: {
68
88
  summary: 'A row of partner logos.',
@@ -87,7 +107,7 @@ export const blockMeta = {
87
107
  Spacer: {
88
108
  summary: 'Space between sections.',
89
109
  description: 'Vertical space (s, m, l, xl).',
90
- aiHint: 'Use sparingly. Blocks already have padding, and every block has spaceAbove and spaceBelow (auto, none, s, m, l, xl) to adjust it, and a motion object ({ entrance: none|fade|rise|scale|slide-left|slide-right, delay: none|short|medium, stagger, hover: none|lift|zoom|tilt, scroll: none|fade-out|pin|parallax (Hero with a background image only) }); a Hero can take backgroundVideo (.mp4 or .webm, needs backgroundImage as its poster) Stats countUp, and LogoStrip and Testimonials marquee (true scrolls the row with a pause button), all capped by the brand\'s motion level; use entrances sparingly and never on the first block of a page.',
110
+ aiHint: 'Use sparingly. Blocks already have padding, and every block has spaceAbove and spaceBelow (auto, none, s, m, l, xl) to adjust it, and a motion object ({ entrance: none|fade|rise|scale|slide-left|slide-right, delay: none|short|medium, stagger, hover: none|lift|zoom|tilt, scroll: none|fade-out|pin|parallax (a Hero or a Section with a background image only) }); a Hero or a Section can take backgroundVideo (.mp4 or .webm, needs backgroundImage as its poster) Stats countUp, and LogoStrip and Testimonials marquee (true scrolls the row with a pause button), all capped by the brand\'s motion level; use entrances sparingly and never on the first block of a page.',
91
111
  },
92
112
  Search: {
93
113
  summary: 'A search box for this site.',
@@ -104,6 +124,11 @@ export const blockMeta = {
104
124
  description: "One of the site's menus as a list of links: the whole menu, or only the branch that holds the page being viewed (its sub-items, like a department's navigation), one or two levels deep, stacked for a sidebar or in a row. It can follow the menu of the department section the page is in instead of naming one. The current page is marked; nothing shows when there are no links for the page.",
105
125
  aiHint: 'Use for in-page or sidebar navigation of a section of the site. Set menuKey to an existing menu key (main is the header menu); use show "branch" to list the pages around the current one. Do not repeat the header navigation on a page.',
106
126
  },
127
+ Breadcrumbs: {
128
+ summary: 'The trail to this page.',
129
+ description: "The links from the home page to the page being viewed (Home, then each level above it, then the page), from the page's address (the titles of the pages at each level, as in the structured data) or from its place in the main menu. A navigation landmark named Breadcrumb with the page marked as current; nothing shows on the home page. Usually placed above the content of every page of a type with Structure → Placements, or with Site settings → Breadcrumbs.",
130
+ aiHint: 'Use at the top of deep content pages (programs, departments, news, events), not on the home page or a landing page. Prefer a placement or the site setting over adding it to each page by hand. source "path" follows the address; "menu" follows the main menu.',
131
+ },
107
132
  Divider: {
108
133
  summary: 'A line between sections.',
109
134
  description: 'A horizontal rule.',
@@ -117,12 +142,12 @@ export const blockMeta = {
117
142
  Buttons: {
118
143
  summary: 'A row of one to four buttons.',
119
144
  description: 'One to four buttons in a row that wraps on small screens, each with its own label, link, emphasis (primary, secondary or text link) and an option to open in a new tab; aligned left, center or right.',
120
- aiHint: 'Use when a section needs more than one action, for example "Book a demo" (primary) and "Read the docs" (secondary). One primary button per row; the rest secondary or text links.',
145
+ aiHint: 'Use when a section needs more than one action, for example "Book a demo" (primary) and "Read the docs" (secondary). One primary button per row; the rest secondary or text links. An icon is optional (decorative, iconPosition before or after the label), for example arrow-right after or download before.',
121
146
  },
122
147
  Button: {
123
148
  summary: 'A single button or text link.',
124
- description: 'A single button with alignment; its emphasis (primary, secondary or a text link) comes from its style.',
125
- aiHint: 'Use for a standalone link styled as a button. Label is a verb phrase; href is a site path or full URL.',
149
+ description: 'A single button with alignment and an optional icon before or after the label; its emphasis (primary, secondary or a text link) comes from its style.',
150
+ aiHint: 'Use for a standalone link styled as a button. Label is a verb phrase; href is a site path or full URL. icon is optional and decorative (arrow-right, download, external-link).',
126
151
  },
127
152
  Form: {
128
153
  summary: 'A contact or signup form.',
@@ -130,9 +155,14 @@ export const blockMeta = {
130
155
  aiHint: 'Use for contact, demo or newsletter forms. Set formKey to the key of an existing form (leave it empty if none is known); never invent fields here. Add a short title and a one-sentence intro.',
131
156
  },
132
157
  Calendar: {
133
- summary: 'Events as a month or a list.',
134
- description: 'A month grid or date list of the event occurrences in a collection, with a link to its iCal feed; filled in by the server at render time.',
135
- aiHint: 'Use on an events page. Set collectionId to the key of an existing collection of a type with a daterange field (ask or leave empty if unknown); view "month" for a grid, "list" for upcoming dates.',
158
+ summary: 'Events by month, week or day.',
159
+ description: 'A month grid, a week, a day or a date list of the event occurrences in a collection, with a link to its iCal feed and, optionally, links for visitors to switch views; filled in by the server at render time.',
160
+ aiHint: 'Use on an events page. Set collectionId to the key of an existing collection of a type with a daterange field (ask or leave empty if unknown); view "month" for a grid, "week" for seven days, "day" for one day\'s agenda, "list" for upcoming dates. Set switcher to true on the main events page.',
161
+ },
162
+ MiniCalendar: {
163
+ summary: 'A small month of events.',
164
+ description: 'One month of a collection\'s events as a compact grid for a sidebar or a home page: days with events link to that day on the events page, or to the event.',
165
+ aiHint: 'Use in a sidebar or beside upcoming events on a home page. Set collectionId like a Calendar block and calendarPath to the events page (such as /events); keep the title short.',
136
166
  },
137
167
  Shared: {
138
168
  summary: 'A reusable shared block.',
package/dist/meta.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,MAAM,SAAS,GAA8B;IAClD,IAAI,EAAE;QACJ,OAAO,EAAE,+BAA+B;QACxC,WAAW,EAAE,iPAAiP;QAC9P,MAAM,EACJ,+kBAA+kB;KACllB;IACD,OAAO,EAAE;QACP,OAAO,EAAE,o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M,EAAE,iKAAiK;KAC1K;IACD,UAAU,EAAE;QACV,OAAO,EAAE,gCAAgC;QACzC,WAAW,EAAE,iQAAiQ;QAC9Q,MAAM,EAAE,8JAA8J;KACvK;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,0BAA0B;QACnC,WAAW,EAAE,uUAAuU;QACpV,MAAM,EAAE,2LAA2L;KACpM;IACD,WAAW,EAAE;QACX,OAAO,EAAE,gCAAgC;QACzC,WAAW,EAAE,yRAAyR;QACtS,MAAM,EAAE,wKAAwK;KACjL;IACD,WAAW,EAAE;QACX,OAAO,EAAE,wBAAwB;QACjC,WAAW,EAAE,2LAA2L;QACxM,MAAM,EAAE,4IAA4I;KACrJ;CACF,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * MiniCalendar block: one month of a collection's events as a small grid for a sidebar or a home page. Days with events are
3
+ * links, to that day on the events page (`calendarPath`, a page with a Calendar block, as ?view=day&date=) or, without one, to
4
+ * the day's first event; arrows move a month (?month=). The server resolves `month` and `today` before render, like the
5
+ * Calendar block. Server-safe: no hooks, no DOM, no Date.now().
6
+ */
7
+ import type { ComponentConfig } from '@puckeditor/core';
8
+ import type { CalendarMonth } from './calendar.js';
9
+ export interface MiniCalendarProps {
10
+ collectionId: string;
11
+ title: string;
12
+ /** A page with a Calendar block that days link to (?view=day&date=); empty: a day links to its first event. */
13
+ calendarPath: string;
14
+ /** Resolved by the server. */
15
+ month?: CalendarMonth;
16
+ today?: string;
17
+ feedHref?: string;
18
+ }
19
+ export declare const miniCalendarComponent: ComponentConfig<MiniCalendarProps>;
20
+ export declare const miniCalendarCss = "/* ---------- Mini calendar ---------- */\n\n.sw-mini-calendar__box { max-width: 22rem; }\n.sw-mini-calendar__heading { margin: 0 0 var(--sw-space-1); font-size: 1.15rem; }\n.sw-mini-calendar__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sw-space-1); margin-bottom: var(--sw-space-1); }\n.sw-mini-calendar__title { margin: 0; font-weight: 600; }\n.sw-mini-calendar__nav { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; text-decoration: none; font-size: 1.1rem; border-radius: var(--sw-radius, 8px); }\n.sw-mini-calendar__grid { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-variant-numeric: tabular-nums; }\n.sw-mini-calendar__grid th { font-size: 0.75rem; font-weight: 600; color: var(--sw-color-muted); padding: 2px 0; }\n.sw-mini-calendar__grid td { padding: 1px; font-size: 0.9rem; }\n.sw-mini-calendar__grid td > a, .sw-mini-calendar__grid td > span { display: grid; place-items: center; min-height: 2.25rem; border-radius: 999px; }\n.sw-mini-calendar__busy > a, .sw-mini-calendar__busy > span { background: color-mix(in srgb, var(--sw-color-primary, #1d4ed8) 14%, transparent); font-weight: 600; color: inherit; text-decoration: none; }\n.sw-mini-calendar__busy > a:hover, .sw-mini-calendar__busy > a:focus-visible { background: var(--sw-color-primary, #1d4ed8); color: var(--sw-color-primary-contrast, #fff); }\n.sw-mini-calendar__today > a, .sw-mini-calendar__today > span { box-shadow: inset 0 0 0 2px var(--sw-color-primary, #1d4ed8); }\n.sw-mini-calendar__links { margin: var(--sw-space-2) 0 0; font-size: 0.9rem; }\n";
@@ -0,0 +1,85 @@
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
+ const WEEKDAYS = [
3
+ ['M', 'Monday'],
4
+ ['T', 'Tuesday'],
5
+ ['W', 'Wednesday'],
6
+ ['T', 'Thursday'],
7
+ ['F', 'Friday'],
8
+ ['S', 'Saturday'],
9
+ ['S', 'Sunday'],
10
+ ];
11
+ function cx(...parts) {
12
+ return parts.filter(Boolean).join(' ');
13
+ }
14
+ /** "March 3" for a YYYY-MM-DD, without the clock (the server's time zone never matters). */
15
+ function dayLabel(iso) {
16
+ const d = new Date(`${iso}T00:00:00Z`);
17
+ return Number.isNaN(d.getTime()) ? iso : d.toLocaleDateString('en-US', { month: 'long', day: 'numeric', timeZone: 'UTC' });
18
+ }
19
+ const safePath = (p) => (/^\/(?!\/)[^\s"'<>]*$/.test(p) ? p : null);
20
+ function dayHref(iso, events, calendarPath) {
21
+ const base = safePath(calendarPath.trim());
22
+ if (base)
23
+ return `${base}${base.includes('?') ? '&' : '?'}view=day&date=${iso}`;
24
+ return events.find((e) => e.path)?.path ?? null;
25
+ }
26
+ export const miniCalendarComponent = {
27
+ label: 'Mini calendar',
28
+ fields: {
29
+ collectionId: { type: 'text', label: 'Collection id or key', placeholder: 'upcoming_events' },
30
+ title: { type: 'text', label: 'Title' },
31
+ calendarPath: { type: 'text', label: 'Events page (days link to it)', placeholder: '/events' },
32
+ },
33
+ defaultProps: { collectionId: '', title: 'Events', calendarPath: '' },
34
+ render: ({ collectionId, title, calendarPath, month, today, feedHref }) => {
35
+ const heading = title?.trim();
36
+ if (!month) {
37
+ return (_jsx("section", { className: "sw-block sw-mini-calendar", children: _jsx("div", { className: "sw-container", children: _jsxs("div", { className: "sw-calendar__placeholder", role: "note", children: ["Mini calendar: ", collectionId || '(none selected)', " (resolved when published)"] }) }) }));
38
+ }
39
+ const byDay = new Map();
40
+ for (const e of month.events) {
41
+ if (!e.date.startsWith(month.key))
42
+ continue;
43
+ const d = Number(e.date.slice(8, 10));
44
+ byDay.set(d, [...(byDay.get(d) ?? []), e]);
45
+ }
46
+ const cells = [];
47
+ for (let i = 0; i < month.firstWeekday; i++)
48
+ cells.push(null);
49
+ for (let d = 1; d <= month.days; d++)
50
+ cells.push(d);
51
+ while (cells.length % 7 !== 0)
52
+ cells.push(null);
53
+ const weeks = [];
54
+ for (let i = 0; i < cells.length; i += 7)
55
+ weeks.push(cells.slice(i, i + 7));
56
+ const all = safePath((calendarPath ?? '').trim());
57
+ const titleId = `sw-mini-cal-${month.key}`;
58
+ return (_jsx("section", { className: "sw-block sw-mini-calendar", "data-collection": collectionId || undefined, children: _jsx("div", { className: "sw-container", children: _jsxs("div", { className: "sw-mini-calendar__box", children: [heading ? _jsx("h2", { className: "sw-mini-calendar__heading", children: heading }) : null, _jsxs("header", { className: "sw-mini-calendar__head", children: [month.prevHref ? (_jsx("a", { className: "sw-mini-calendar__nav", href: month.prevHref, rel: "prev", "aria-label": "Previous month", children: "\u2190" })) : (_jsx("span", {})), _jsx("p", { className: "sw-mini-calendar__title", id: titleId, children: month.label }), month.nextHref ? (_jsx("a", { className: "sw-mini-calendar__nav", href: month.nextHref, rel: "next", "aria-label": "Next month", children: "\u2192" })) : (_jsx("span", {}))] }), _jsxs("table", { className: "sw-mini-calendar__grid", "aria-labelledby": titleId, children: [_jsx("thead", { children: _jsx("tr", { children: WEEKDAYS.map(([short, long]) => (_jsx("th", { scope: "col", abbr: long, children: short }, long))) }) }), _jsx("tbody", { children: weeks.map((week, wi) => (_jsx("tr", { children: week.map((d, di) => {
59
+ if (d === null)
60
+ return _jsx("td", {}, di);
61
+ const iso = `${month.key}-${String(d).padStart(2, '0')}`;
62
+ const events = byDay.get(d) ?? [];
63
+ const href = events.length ? dayHref(iso, events, calendarPath ?? '') : null;
64
+ const label = `${dayLabel(iso)}: ${events.length === 1 ? events[0].title : `${events.length} events`}`;
65
+ return (_jsx("td", { className: cx(iso === today && 'sw-mini-calendar__today', events.length > 0 && 'sw-mini-calendar__busy'), "aria-current": iso === today ? 'date' : undefined, children: href ? (_jsx("a", { href: href, "aria-label": label, title: label, children: d })) : events.length ? (_jsx("span", { "aria-label": label, title: label, children: d })) : (_jsx("span", { children: d })) }, di));
66
+ }) }, wi))) })] }), all || feedHref ? (_jsxs("p", { className: "sw-mini-calendar__links", children: [all ? _jsx("a", { href: all, children: "All events" }) : null, all && feedHref ? ' · ' : null, feedHref ? _jsx("a", { href: feedHref, children: "Subscribe (iCal)" }) : null] })) : null] }) }) }));
67
+ },
68
+ };
69
+ export const miniCalendarCss = `/* ---------- Mini calendar ---------- */
70
+
71
+ .sw-mini-calendar__box { max-width: 22rem; }
72
+ .sw-mini-calendar__heading { margin: 0 0 var(--sw-space-1); font-size: 1.15rem; }
73
+ .sw-mini-calendar__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sw-space-1); margin-bottom: var(--sw-space-1); }
74
+ .sw-mini-calendar__title { margin: 0; font-weight: 600; }
75
+ .sw-mini-calendar__nav { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; text-decoration: none; font-size: 1.1rem; border-radius: var(--sw-radius, 8px); }
76
+ .sw-mini-calendar__grid { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-variant-numeric: tabular-nums; }
77
+ .sw-mini-calendar__grid th { font-size: 0.75rem; font-weight: 600; color: var(--sw-color-muted); padding: 2px 0; }
78
+ .sw-mini-calendar__grid td { padding: 1px; font-size: 0.9rem; }
79
+ .sw-mini-calendar__grid td > a, .sw-mini-calendar__grid td > span { display: grid; place-items: center; min-height: 2.25rem; border-radius: 999px; }
80
+ .sw-mini-calendar__busy > a, .sw-mini-calendar__busy > span { background: color-mix(in srgb, var(--sw-color-primary, #1d4ed8) 14%, transparent); font-weight: 600; color: inherit; text-decoration: none; }
81
+ .sw-mini-calendar__busy > a:hover, .sw-mini-calendar__busy > a:focus-visible { background: var(--sw-color-primary, #1d4ed8); color: var(--sw-color-primary-contrast, #fff); }
82
+ .sw-mini-calendar__today > a, .sw-mini-calendar__today > span { box-shadow: inset 0 0 0 2px var(--sw-color-primary, #1d4ed8); }
83
+ .sw-mini-calendar__links { margin: var(--sw-space-2) 0 0; font-size: 0.9rem; }
84
+ `;
85
+ //# sourceMappingURL=mini-calendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mini-calendar.js","sourceRoot":"","sources":["../src/mini-calendar.tsx"],"names":[],"mappings":";AAoBA,MAAM,QAAQ,GAAuB;IACnC,CAAC,GAAG,EAAE,QAAQ,CAAC;IACf,CAAC,GAAG,EAAE,SAAS,CAAC;IAChB,CAAC,GAAG,EAAE,WAAW,CAAC;IAClB,CAAC,GAAG,EAAE,UAAU,CAAC;IACjB,CAAC,GAAG,EAAE,QAAQ,CAAC;IACf,CAAC,GAAG,EAAE,UAAU,CAAC;IAC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.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  * root as `data-sw-motion`: `subtle` plays scale and slides as a short rise and turns tilt off. Reduced motion, from the operating
9
9
  * system or the visitor's switch (`sw-reduce-motion` on the root), turns every rule off.
10
10
  */
11
- export declare const MOTION_CSS = "\n/* Motion: entrances (armed by the page's motion script), stagger and hover. */\n[data-motion] { --sw-motion-from: none; --sw-motion-wait: 0ms; }\n[data-motion=\"rise\"] { --sw-motion-from: translateY(var(--sw-motion-distance, 24px)); }\n[data-motion=\"scale\"] { --sw-motion-from: scale(0.94); }\n[data-motion=\"slide-left\"] { --sw-motion-from: translateX(calc(-1 * var(--sw-motion-distance, 24px))); }\n[data-motion=\"slide-right\"] { --sw-motion-from: translateX(var(--sw-motion-distance, 24px)); }\n[data-sw-motion=\"subtle\"] :is([data-motion=\"scale\"], [data-motion=\"slide-left\"], [data-motion=\"slide-right\"]) { --sw-motion-from: translateY(calc(var(--sw-motion-distance, 24px) / 2)); }\n[data-sw-motion=\"subtle\"] [data-motion=\"rise\"] { --sw-motion-from: translateY(calc(var(--sw-motion-distance, 24px) / 2)); }\n[data-motion-delay=\"short\"] { --sw-motion-wait: 150ms; }\n[data-motion-delay=\"medium\"] { --sw-motion-wait: 300ms; }\n/* The transition runs only as a block arrives (sw-in), so hiding the blocks below the fold is instant. */\n.sw-motion-ready [data-motion].sw-in:not([data-motion-stagger]),\n.sw-motion-ready [data-motion].sw-in[data-motion-stagger] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > * {\n transition: opacity var(--sw-motion-duration, 600ms) var(--sw-motion-easing, cubic-bezier(0.2, 0.7, 0.2, 1)), transform var(--sw-motion-duration, 600ms) var(--sw-motion-easing, cubic-bezier(0.2, 0.7, 0.2, 1));\n transition-delay: calc(var(--sw-motion-wait) + var(--sw-motion-index, 0) * 80ms);\n}\n.sw-motion-ready [data-motion]:not([data-motion-stagger]):not(.sw-in),\n.sw-motion-ready [data-motion][data-motion-stagger]:not(.sw-in) :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > * { opacity: 0; transform: var(--sw-motion-from); }\n[data-motion-hover] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *, [data-motion-hover].sw-image, [data-motion-hover] img { transition: transform 200ms ease, box-shadow 200ms ease; }\n[data-sw-motion] [data-motion-hover=\"lift\"] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *:hover, [data-sw-motion] [data-motion-hover=\"lift\"].sw-image:hover { transform: translateY(-4px); box-shadow: var(--sw-shadow, 0 8px 24px rgba(0, 0, 0, 0.12)); }\n[data-motion-hover=\"zoom\"] :is(:is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *, .sw-image) { overflow: hidden; }\n[data-sw-motion] [data-motion-hover=\"zoom\"] :is(:is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *, .sw-image):hover img, [data-sw-motion] [data-motion-hover=\"zoom\"].sw-image:hover img { transform: scale(1.05); }\n[data-sw-motion=\"expressive\"] [data-motion-hover=\"tilt\"] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *:hover { transform: perspective(800px) rotateX(2deg) rotateY(-3deg) translateY(-2px); }\n/* On scroll: the page script writes --sw-scroll (0 as the block enters at the bottom, 1 as it leaves at the top); unset, every\n effect sits at rest. Parallax moves a Hero's background slower than the page (half as far at the subtle level). */\n[data-motion-scroll=\"parallax\"] { --sw-parallax: 16%; }\n[data-sw-motion=\"subtle\"] [data-motion-scroll=\"parallax\"] { --sw-parallax: 8%; }\n[data-sw-motion] [data-motion-scroll=\"parallax\"].sw-hero--image { overflow: hidden; }\n[data-sw-motion] [data-motion-scroll=\"parallax\"] .sw-hero__bg { transform: translateY(calc((var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax))) scale(1.18); will-change: transform; }\n[data-sw-motion] [data-motion-scroll=\"parallax\"].sw-hero--image:not(:has(.sw-hero__bg)) { background-position: center calc(50% + (var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax) * 4); }\n[data-sw-motion] [data-motion-scroll=\"fade-out\"] { opacity: clamp(0, calc((1 - var(--sw-scroll, 0)) / 0.35), 1); }\n[data-sw-motion] [data-motion-scroll=\"pin\"] { position: sticky; top: 0; z-index: 0; }\n[data-sw-motion] [data-motion-scroll=\"pin\"] ~ * { position: relative; z-index: 1; }\n.sw-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\n.sw-hero { position: relative; }\n.sw-video-toggle { position: absolute; right: var(--sw-space-3, 1rem); bottom: var(--sw-space-3, 1rem); z-index: 1; font: inherit; font-size: 0.8125rem; color: #ffffff; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 0.3rem 0.85rem; cursor: pointer; }\n.sw-video-toggle:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }\n/* Marquee (Logo strip, Testimonials): the page script adds sw-marquee-on and copies the items (the copies are hidden from\n assistive technology) so the row loops; items carry their spacing as a margin so moving by half is seamless. */\n[data-motion-marquee]:not(.sw-marquee-on) [data-sw-marquee-clone] { display: none; }\n.sw-marquee-on .sw-container { overflow: hidden; }\n.sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid) { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: sw-marquee var(--sw-marquee-duration, 40s) linear infinite; }\n.sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid) > * { flex: none; margin-inline-end: var(--sw-marquee-gap, var(--sw-space-4, 2rem)); }\n.sw-testimonials.sw-marquee-on .sw-testimonials__grid > * { width: min(22rem, 80vw); --sw-marquee-gap: var(--sw-space-3, 1.5rem); }\n.sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid):hover, .sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid):focus-within, .sw-marquee-paused :is(.sw-logos__list, .sw-testimonials__grid) { animation-play-state: paused; }\n@keyframes sw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }\n.sw-lottie-toggle { display: block; margin: var(--sw-space-1, 0.5rem) auto 0; font: inherit; font-size: 0.8125rem; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; opacity: 0.85; }\n.sw-lottie-toggle[hidden] { display: none; }\n.sw-marquee-toggle { display: block; margin: 0 auto var(--sw-space-3, 1rem); font: inherit; font-size: 0.8125rem; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; opacity: 0.85; }\n.sw-marquee-toggle[hidden] { display: none; }\n.sw-motion-switch { font: inherit; font-size: 0.8125rem; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; opacity: 0.85; }\n.sw-motion-switch[aria-pressed=\"true\"] { background: var(--sw-color-text); color: var(--sw-color-bg); opacity: 1; }\n.sw-reduce-motion *, .sw-reduce-motion *::before, .sw-reduce-motion *::after { transition: none !important; animation: none !important; }\n.sw-reduce-motion [data-motion], .sw-reduce-motion [data-motion] *, .sw-reduce-motion [data-motion-scroll], .sw-reduce-motion [data-motion-scroll] * { opacity: 1 !important; transform: none !important; }\n@media (prefers-reduced-motion: reduce) {\n html:not(.sw-motion-allowed) :is([data-motion], [data-motion-scroll]), html:not(.sw-motion-allowed) :is([data-motion], [data-motion-scroll]) * { opacity: 1 !important; transform: none !important; transition: none !important; }\n html:not(.sw-motion-allowed) .sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid) { animation: none !important; }\n}\n";
11
+ export declare const MOTION_CSS = "\n/* Motion: entrances (armed by the page's motion script), stagger and hover. */\n[data-motion] { --sw-motion-from: none; --sw-motion-wait: 0ms; }\n[data-motion=\"rise\"] { --sw-motion-from: translateY(var(--sw-motion-distance, 24px)); }\n[data-motion=\"scale\"] { --sw-motion-from: scale(0.94); }\n[data-motion=\"slide-left\"] { --sw-motion-from: translateX(calc(-1 * var(--sw-motion-distance, 24px))); }\n[data-motion=\"slide-right\"] { --sw-motion-from: translateX(var(--sw-motion-distance, 24px)); }\n[data-sw-motion=\"subtle\"] :is([data-motion=\"scale\"], [data-motion=\"slide-left\"], [data-motion=\"slide-right\"]) { --sw-motion-from: translateY(calc(var(--sw-motion-distance, 24px) / 2)); }\n[data-sw-motion=\"subtle\"] [data-motion=\"rise\"] { --sw-motion-from: translateY(calc(var(--sw-motion-distance, 24px) / 2)); }\n[data-motion-delay=\"short\"] { --sw-motion-wait: 150ms; }\n[data-motion-delay=\"medium\"] { --sw-motion-wait: 300ms; }\n/* The transition runs only as a block arrives (sw-in), so hiding the blocks below the fold is instant. */\n.sw-motion-ready [data-motion].sw-in:not([data-motion-stagger]),\n.sw-motion-ready [data-motion].sw-in[data-motion-stagger] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > * {\n transition: opacity var(--sw-motion-duration, 600ms) var(--sw-motion-easing, cubic-bezier(0.2, 0.7, 0.2, 1)), transform var(--sw-motion-duration, 600ms) var(--sw-motion-easing, cubic-bezier(0.2, 0.7, 0.2, 1));\n transition-delay: calc(var(--sw-motion-wait) + var(--sw-motion-index, 0) * 80ms);\n}\n.sw-motion-ready [data-motion]:not([data-motion-stagger]):not(.sw-in),\n.sw-motion-ready [data-motion][data-motion-stagger]:not(.sw-in) :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > * { opacity: 0; transform: var(--sw-motion-from); }\n[data-motion-hover] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *, [data-motion-hover].sw-image, [data-motion-hover] img { transition: transform 200ms ease, box-shadow 200ms ease; }\n[data-sw-motion] [data-motion-hover=\"lift\"] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *:hover, [data-sw-motion] [data-motion-hover=\"lift\"].sw-image:hover { transform: translateY(-4px); box-shadow: var(--sw-shadow, 0 8px 24px rgba(0, 0, 0, 0.12)); }\n[data-motion-hover=\"zoom\"] :is(:is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *, .sw-image) { overflow: hidden; }\n[data-sw-motion] [data-motion-hover=\"zoom\"] :is(:is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *, .sw-image):hover img, [data-sw-motion] [data-motion-hover=\"zoom\"].sw-image:hover img { transform: scale(1.05); }\n[data-sw-motion=\"expressive\"] [data-motion-hover=\"tilt\"] :is(.sw-cards__grid, .sw-collection__list, .sw-gallery__grid, .sw-faq__list, .sw-logos__list, .sw-stats__grid, .sw-testimonials__grid, .sw-buttons) > *:hover { transform: perspective(800px) rotateX(2deg) rotateY(-3deg) translateY(-2px); }\n/* On scroll: the page script writes --sw-scroll (0 as the block enters at the bottom, 1 as it leaves at the top); unset, every\n effect sits at rest. Parallax moves a Hero's background slower than the page (half as far at the subtle level). */\n[data-motion-scroll=\"parallax\"] { --sw-parallax: 16%; }\n[data-sw-motion=\"subtle\"] [data-motion-scroll=\"parallax\"] { --sw-parallax: 8%; }\n[data-sw-motion] [data-motion-scroll=\"parallax\"].sw-hero--image { overflow: hidden; }\n[data-sw-motion] [data-motion-scroll=\"parallax\"] .sw-hero__bg { transform: translateY(calc((var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax))) scale(1.18); will-change: transform; }\n[data-sw-motion] [data-motion-scroll=\"parallax\"].sw-section--media > :is(.sw-section__bg, picture > .sw-section__bg) { transform: translateY(calc((var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax))) scale(1.18); will-change: transform; }\n[data-sw-motion] [data-motion-scroll=\"parallax\"].sw-hero--image:not(:has(.sw-hero__bg)) { background-position: center calc(50% + (var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax) * 4); }\n[data-sw-motion] [data-motion-scroll=\"fade-out\"] { opacity: clamp(0, calc((1 - var(--sw-scroll, 0)) / 0.35), 1); }\n[data-sw-motion] [data-motion-scroll=\"pin\"] { position: sticky; top: 0; z-index: 0; }\n[data-sw-motion] [data-motion-scroll=\"pin\"] ~ * { position: relative; z-index: 1; }\n.sw-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\n.sw-hero, .sw-section--media { position: relative; }\n.sw-video-toggle { position: absolute; right: var(--sw-space-3, 1rem); bottom: var(--sw-space-3, 1rem); z-index: 1; font: inherit; font-size: 0.8125rem; color: #ffffff; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 0.3rem 0.85rem; cursor: pointer; }\n.sw-video-toggle:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }\n/* Marquee (Logo strip, Testimonials): the page script adds sw-marquee-on and copies the items (the copies are hidden from\n assistive technology) so the row loops; items carry their spacing as a margin so moving by half is seamless. */\n[data-motion-marquee]:not(.sw-marquee-on) [data-sw-marquee-clone] { display: none; }\n.sw-marquee-on .sw-container { overflow: hidden; }\n.sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid) { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: sw-marquee var(--sw-marquee-duration, 40s) linear infinite; }\n.sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid) > * { flex: none; margin-inline-end: var(--sw-marquee-gap, var(--sw-space-4, 2rem)); }\n.sw-testimonials.sw-marquee-on .sw-testimonials__grid > * { width: min(22rem, 80vw); --sw-marquee-gap: var(--sw-space-3, 1.5rem); }\n.sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid):hover, .sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid):focus-within, .sw-marquee-paused :is(.sw-logos__list, .sw-testimonials__grid) { animation-play-state: paused; }\n@keyframes sw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }\n.sw-lottie-toggle { display: block; margin: var(--sw-space-1, 0.5rem) auto 0; font: inherit; font-size: 0.8125rem; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; opacity: 0.85; }\n.sw-lottie-toggle[hidden] { display: none; }\n.sw-marquee-toggle { display: block; margin: 0 auto var(--sw-space-3, 1rem); font: inherit; font-size: 0.8125rem; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; opacity: 0.85; }\n.sw-marquee-toggle[hidden] { display: none; }\n.sw-motion-switch { font: inherit; font-size: 0.8125rem; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; opacity: 0.85; }\n.sw-motion-switch[aria-pressed=\"true\"] { background: var(--sw-color-text); color: var(--sw-color-bg); opacity: 1; }\n.sw-reduce-motion *, .sw-reduce-motion *::before, .sw-reduce-motion *::after { transition: none !important; animation: none !important; }\n.sw-reduce-motion [data-motion], .sw-reduce-motion [data-motion] *, .sw-reduce-motion [data-motion-scroll], .sw-reduce-motion [data-motion-scroll] * { opacity: 1 !important; transform: none !important; }\n@media (prefers-reduced-motion: reduce) {\n html:not(.sw-motion-allowed) :is([data-motion], [data-motion-scroll]), html:not(.sw-motion-allowed) :is([data-motion], [data-motion-scroll]) * { opacity: 1 !important; transform: none !important; transition: none !important; }\n html:not(.sw-motion-allowed) .sw-marquee-on :is(.sw-logos__list, .sw-testimonials__grid) { animation: none !important; }\n}\n";
12
12
  /** The visitor's choice in local storage: "1" reduce, "0" allow; absent follows the operating system. */
13
13
  export declare const MOTION_STORAGE_KEY = "sw-reduce-motion";
14
14
  /**
package/dist/motion.js CHANGED
@@ -40,12 +40,13 @@ export const MOTION_CSS = `
40
40
  [data-sw-motion="subtle"] [data-motion-scroll="parallax"] { --sw-parallax: 8%; }
41
41
  [data-sw-motion] [data-motion-scroll="parallax"].sw-hero--image { overflow: hidden; }
42
42
  [data-sw-motion] [data-motion-scroll="parallax"] .sw-hero__bg { transform: translateY(calc((var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax))) scale(1.18); will-change: transform; }
43
+ [data-sw-motion] [data-motion-scroll="parallax"].sw-section--media > :is(.sw-section__bg, picture > .sw-section__bg) { transform: translateY(calc((var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax))) scale(1.18); will-change: transform; }
43
44
  [data-sw-motion] [data-motion-scroll="parallax"].sw-hero--image:not(:has(.sw-hero__bg)) { background-position: center calc(50% + (var(--sw-scroll, 0.5) - 0.5) * var(--sw-parallax) * 4); }
44
45
  [data-sw-motion] [data-motion-scroll="fade-out"] { opacity: clamp(0, calc((1 - var(--sw-scroll, 0)) / 0.35), 1); }
45
46
  [data-sw-motion] [data-motion-scroll="pin"] { position: sticky; top: 0; z-index: 0; }
46
47
  [data-sw-motion] [data-motion-scroll="pin"] ~ * { position: relative; z-index: 1; }
47
48
  .sw-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
48
- .sw-hero { position: relative; }
49
+ .sw-hero, .sw-section--media { position: relative; }
49
50
  .sw-video-toggle { position: absolute; right: var(--sw-space-3, 1rem); bottom: var(--sw-space-3, 1rem); z-index: 1; font: inherit; font-size: 0.8125rem; color: #ffffff; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 0.3rem 0.85rem; cursor: pointer; }
50
51
  .sw-video-toggle:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
51
52
  /* Marquee (Logo strip, Testimonials): the page script adds sw-marquee-on and copies the items (the copies are hidden from
@@ -1 +1 @@
1
- {"version":3,"file":"motion.js","sourceRoot":"","sources":["../src/motion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,8GAA8G;AAC9G,MAAM,KAAK,GAAG,qJAAqJ,CAAC;AAEpK,MAAM,CAAC,MAAM,UAAU,GAAG;;;;;;;;;;;;;4DAakC,KAAK;;;;;kEAKC,KAAK;sBACjD,KAAK;8CACmB,KAAK;iCAClB,KAAK;kDACY,KAAK;2DACI,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC/D,CAAC;AAEF,yGAAyG;AACzG,MAAM,CAAC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,oDAAoD,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uGA2EZ,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,MAAM,CAAC;;;;;;;;;;MAU/H,CAAC"}
1
+ {"version":3,"file":"motion.js","sourceRoot":"","sources":["../src/motion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,8GAA8G;AAC9G,MAAM,KAAK,GAAG,qJAAqJ,CAAC;AAEpK,MAAM,CAAC,MAAM,UAAU,GAAG;;;;;;;;;;;;;4DAakC,KAAK;;;;;kEAKC,KAAK;sBACjD,KAAK;8CACmB,KAAK;iCAClB,KAAK;kDACY,KAAK;2DACI,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC/D,CAAC;AAEF,yGAAyG;AACzG,MAAM,CAAC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,oDAAoD,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uGA2EZ,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,MAAM,CAAC;;;;;;;;;;MAU/H,CAAC"}
@@ -56,7 +56,7 @@ export const registryPackageComponent = {
56
56
  return (_jsx("section", { className: "sw-block sw-reg-package", children: _jsx("div", { className: "sw-container", children: _jsx(Placeholder, { label: "Registry package: resolved from the page path (/registry/<name>)" }) }) }));
57
57
  }
58
58
  const isModule = data.kind === 'module';
59
- return (_jsx("article", { className: "sw-block sw-reg-package", "data-package": data.name, "data-kind": data.kind, children: _jsxs("div", { className: "sw-container", children: [_jsxs("header", { className: "sw-reg-package__head", children: [_jsxs("div", { className: "sw-reg-package__title-row", children: [_jsx("h1", { className: "sw-reg-package__name", children: data.name }), data.latest ? _jsxs("code", { className: "sw-reg-package__version", children: ["v", data.latest] }) : null] }), _jsxs("div", { className: "sw-reg-badges", children: [_jsx(KindBadge, { kind: data.kind }), isModule ? _jsx(TierBadge, { tier: data.tier }) : null, _jsx(StatusBadges, { reviewed: data.reviewed, checked: data.checked, verified: Boolean(data.org ? data.org.verified : data.publisher?.verified), deprecated: Boolean(data.deprecated) })] }), data.description ? _jsx("p", { className: "sw-reg-package__desc", children: data.description }) : null, _jsxs("dl", { className: "sw-reg-package__facts", children: [data.org ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "By" }), _jsxs("dd", { children: [_jsx("a", { href: data.org.href, rel: "author", className: "sw-reg-package__org", children: data.org.name || data.org.handle }), data.org.verified ? _jsx("span", { className: "sw-reg-package__verified", children: " (verified organization)" }) : null] })] })) : null, data.publisher ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "Publisher" }), _jsxs("dd", { children: [_jsx("a", { href: data.publisher.href, rel: "author", children: data.publisher.name || data.publisher.handle }), data.publisher.verified ? _jsx("span", { className: "sw-reg-package__verified", children: " (verified)" }) : null] })] })) : null, _jsx("dt", { children: "Downloads" }), _jsx("dd", { children: formatCount(data.downloads) }), data.license ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "License" }), _jsx("dd", { children: data.license })] })) : null, data.compatibility ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "Spillway" }), _jsx("dd", { children: _jsx("code", { children: data.compatibility }) })] })) : null, data.updatedAt ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "Updated" }), _jsx("dd", { children: _jsx("time", { dateTime: data.updatedAt, children: formatDate(data.updatedAt) }) })] })) : null] }), _jsxs("ul", { className: "sw-reg-package__links", children: [data.homepage ? (_jsx("li", { children: _jsx("a", { href: data.homepage, rel: "noopener", children: "Homepage" }) })) : null, data.repository ? (_jsx("li", { children: _jsx("a", { href: data.repository, rel: "noopener", children: "Repository" }) })) : null, data.previewHref ? (_jsx("li", { children: _jsx("a", { href: data.previewHref, children: "Preview" }) })) : null, _jsx("li", { children: _jsx("a", { href: data.manifestUrl, children: "manifest.json" }) })] })] }), data.deprecated ? (_jsxs("div", { className: "sw-reg-banner sw-reg-banner--deprecated", role: "status", children: [_jsx("strong", { className: "sw-reg-banner__title", children: "Deprecated" }), " ", data.deprecated.reason || 'The publisher no longer maintains this package.', data.deprecated.since ? _jsxs("span", { className: "sw-reg-banner__meta", children: [" \u00B7 since ", formatDate(data.deprecated.since)] }) : null] })) : null, data.pendingReview ? (_jsxs("div", { className: "sw-reg-banner sw-reg-banner--pending", role: "status", children: [_jsx("strong", { className: "sw-reg-banner__title", children: "Awaiting review." }), " This trusted module runs in the server process. It is listed here by direct link only until a maintainer has read the code; install it only if you trust the publisher."] })) : null, _jsx(Advisories, { items: data.advisories }), _jsxs("div", { className: "sw-reg-package__grid", children: [_jsxs("div", { className: "sw-reg-package__main", children: [_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-install`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-install`, children: "Install" }), _jsx(InstallBox, { id: bid, command: data.installCommand, nonce: nonce }), data.kind === 'module' ? (_jsxs("p", { className: "sw-reg-section__hint", children: ["Or in the admin: ", _jsx("strong", { children: "Modules \u2192 Install from registry" }), ", search for ", _jsx("code", { children: data.name }), "."] })) : (_jsxs("p", { className: "sw-reg-section__hint", children: ["Or in the admin: ", _jsx("strong", { children: "Kits \u2192 Install from registry" }), ", search for ", _jsx("code", { children: data.name }), "."] }))] }), data.pack ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-pack`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-pack`, children: "What the pack adds" }), _jsx("p", { className: "sw-reg-section__hint", children: "Patterns land in the site\u2019s pattern library. Styles land in the brand draft for review and follow the site\u2019s colors and fonts." }), data.pack.patterns.length ? (_jsxs(_Fragment, { children: [_jsx("h3", { className: "sw-reg-pack__title", children: "Patterns" }), _jsx("ul", { className: "sw-reg-pack__list", children: data.pack.patterns.map((p, i) => (_jsxs("li", { children: [_jsx("strong", { children: p.label }), " ", _jsx("span", { className: "sw-reg-pack__meta", children: p.category }), p.description ? _jsx("span", { className: "sw-reg-pack__desc", children: p.description }) : null] }, i))) })] })) : null, data.pack.styles.length ? (_jsxs(_Fragment, { children: [_jsx("h3", { className: "sw-reg-pack__title", children: "Block styles" }), _jsx("ul", { className: "sw-reg-pack__list", children: data.pack.styles.map((s) => (_jsxs("li", { children: [_jsx("strong", { children: s.label }), " ", _jsx("span", { className: "sw-reg-pack__meta", children: s.block }), s.description ? _jsx("span", { className: "sw-reg-pack__desc", children: s.description }) : null] }, `${s.block}:${s.key}`))) })] })) : null] })) : null, showReadme !== false && data.readmeHtml ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-readme`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-readme`, children: "README" }), _jsx("div", { className: "sw-prose sw-reg-readme", dangerouslySetInnerHTML: { __html: keyboardScrollable(data.readmeHtml) } })] })) : null, showVersions !== false ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-versions`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-versions`, children: "Versions" }), _jsx(Versions, { items: data.versions })] })) : null, showChangelog !== false && data.changelogHtml ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-changelog`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-changelog`, children: "Changelog" }), _jsx("div", { className: "sw-prose sw-reg-readme", dangerouslySetInnerHTML: { __html: keyboardScrollable(data.changelogHtml) } })] })) : null] }), _jsxs("div", { className: "sw-reg-package__side", children: [isModule ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-caps`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-caps`, children: "Capabilities" }), data.capabilities.length === 0 ? (_jsx("p", { className: "sw-reg-empty", children: "This module declares no capabilities: it cannot read content, call out or hook into events." })) : (_jsx("ul", { className: "sw-reg-caps", children: data.capabilities.map((c) => (_jsxs("li", { className: cx('sw-reg-cap', c.sensitive && 'sw-reg-cap--sensitive'), children: [_jsx("code", { className: "sw-reg-cap__key", children: c.key }), _jsx("span", { className: "sw-reg-cap__text", children: c.explanation })] }, c.key))) })), _jsx("p", { className: "sw-reg-section__hint", children: data.tier === 'trusted'
59
+ return (_jsx("article", { className: "sw-block sw-reg-package", "data-package": data.name, "data-kind": data.kind, children: _jsxs("div", { className: "sw-container", children: [_jsxs("header", { className: "sw-reg-package__head", children: [_jsxs("div", { className: "sw-reg-package__title-row", children: [_jsx("h1", { className: "sw-reg-package__name", children: data.name }), data.latest ? _jsxs("code", { className: "sw-reg-package__version", children: ["v", data.latest] }) : null] }), _jsxs("div", { className: "sw-reg-badges", children: [_jsx(KindBadge, { kind: data.kind }), isModule ? _jsx(TierBadge, { tier: data.tier }) : null, _jsx(StatusBadges, { reviewed: data.reviewed, checked: data.checked, verified: Boolean(data.org ? data.org.verified : data.publisher?.verified), deprecated: Boolean(data.deprecated) })] }), data.description ? _jsx("p", { className: "sw-reg-package__desc", children: data.description }) : null, _jsxs("dl", { className: "sw-reg-package__facts", children: [data.org ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "By" }), _jsxs("dd", { children: [_jsx("a", { href: data.org.href, rel: "author", className: "sw-reg-package__org", children: data.org.name || data.org.handle }), data.org.verified ? _jsx("span", { className: "sw-reg-package__verified", children: " (verified organization)" }) : null] })] })) : null, data.publisher ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "Publisher" }), _jsxs("dd", { children: [_jsx("a", { href: data.publisher.href, rel: "author", children: data.publisher.name || data.publisher.handle }), data.publisher.verified ? _jsx("span", { className: "sw-reg-package__verified", children: " (verified)" }) : null] })] })) : null, _jsx("dt", { children: "Downloads" }), _jsx("dd", { children: formatCount(data.downloads) }), data.license ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "License" }), _jsx("dd", { children: data.license })] })) : null, data.compatibility ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "Spillway" }), _jsx("dd", { children: _jsx("code", { children: data.compatibility }) })] })) : null, data.updatedAt ? (_jsxs(_Fragment, { children: [_jsx("dt", { children: "Updated" }), _jsx("dd", { children: _jsx("time", { dateTime: data.updatedAt, children: formatDate(data.updatedAt) }) })] })) : null] }), _jsxs("ul", { className: "sw-reg-package__links", children: [data.homepage ? (_jsx("li", { children: _jsx("a", { href: data.homepage, rel: "noopener", children: "Homepage" }) })) : null, data.repository ? (_jsx("li", { children: _jsx("a", { href: data.repository, rel: "noopener", children: "Repository" }) })) : null, data.previewHref ? (_jsx("li", { children: _jsx("a", { href: data.previewHref, children: "Preview" }) })) : null, _jsx("li", { children: _jsx("a", { href: data.manifestUrl, children: "manifest.json" }) })] })] }), data.deprecated ? (_jsxs("div", { className: "sw-reg-banner sw-reg-banner--deprecated", role: "status", children: [_jsx("strong", { className: "sw-reg-banner__title", children: "Deprecated" }), " ", data.deprecated.reason || 'The publisher no longer maintains this package.', data.deprecated.since ? _jsxs("span", { className: "sw-reg-banner__meta", children: [" \u00B7 since ", formatDate(data.deprecated.since)] }) : null] })) : null, data.pendingReview ? (_jsxs("div", { className: "sw-reg-banner sw-reg-banner--pending", role: "status", children: [_jsx("strong", { className: "sw-reg-banner__title", children: "Awaiting review." }), " This trusted module runs in the server process. It is listed here by direct link only until a maintainer has read the code; install it only if you trust the publisher."] })) : null, _jsx(Advisories, { items: data.advisories }), _jsxs("div", { className: "sw-reg-package__grid", children: [_jsxs("div", { className: "sw-reg-package__main", children: [_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-install`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-install`, children: "Install" }), _jsx(InstallBox, { id: bid, command: data.installCommand, nonce: nonce }), data.kind === 'module' ? (_jsxs("p", { className: "sw-reg-section__hint", children: ["Or in the admin: ", _jsx("strong", { children: "Modules \u2192 Install from registry" }), ", search for ", _jsx("code", { children: data.name }), "."] })) : (_jsxs("p", { className: "sw-reg-section__hint", children: ["Or in the admin: ", _jsx("strong", { children: "Kits \u2192 Install from registry" }), ", search for ", _jsx("code", { children: data.name }), "."] }))] }), data.pack ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-pack`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-pack`, children: "What the pack adds" }), _jsxs("p", { className: "sw-reg-section__hint", children: ["Patterns land in the site\u2019s pattern library. Styles land in the brand draft for review and follow the site\u2019s colors and fonts.", data.pack.components?.length ? _jsx(_Fragment, { children: " Site components arrive as drafts in the component studio, where someone publishes them." }) : null] }), data.pack.patterns.length ? (_jsxs(_Fragment, { children: [_jsx("h3", { className: "sw-reg-pack__title", children: "Patterns" }), _jsx("ul", { className: "sw-reg-pack__list", children: data.pack.patterns.map((p, i) => (_jsxs("li", { children: [_jsx("strong", { children: p.label }), " ", _jsx("span", { className: "sw-reg-pack__meta", children: p.category }), p.description ? _jsx("span", { className: "sw-reg-pack__desc", children: p.description }) : null] }, i))) })] })) : null, data.pack.components?.length ? (_jsxs(_Fragment, { children: [_jsx("h3", { className: "sw-reg-pack__title", children: "Site components" }), _jsx("ul", { className: "sw-reg-pack__list", children: data.pack.components.map((c, i) => (_jsxs("li", { children: [_jsx("strong", { children: c.label }), c.fields.length ? _jsxs("span", { className: "sw-reg-pack__meta", children: ["Fields: ", c.fields.join(', ')] }) : null, c.variants.length ? _jsxs("span", { className: "sw-reg-pack__meta", children: ["Variants: ", c.variants.join(', ')] }) : null, c.description ? _jsx("span", { className: "sw-reg-pack__desc", children: c.description }) : null] }, i))) })] })) : null, data.pack.styles.length ? (_jsxs(_Fragment, { children: [_jsx("h3", { className: "sw-reg-pack__title", children: "Block styles" }), _jsx("ul", { className: "sw-reg-pack__list", children: data.pack.styles.map((s) => (_jsxs("li", { children: [_jsx("strong", { children: s.label }), " ", _jsx("span", { className: "sw-reg-pack__meta", children: s.block }), s.description ? _jsx("span", { className: "sw-reg-pack__desc", children: s.description }) : null] }, `${s.block}:${s.key}`))) })] })) : null] })) : null, showReadme !== false && data.readmeHtml ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-readme`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-readme`, children: "README" }), _jsx("div", { className: "sw-prose sw-reg-readme", dangerouslySetInnerHTML: { __html: keyboardScrollable(data.readmeHtml) } })] })) : null, showVersions !== false ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-versions`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-versions`, children: "Versions" }), _jsx(Versions, { items: data.versions })] })) : null, showChangelog !== false && data.changelogHtml ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-changelog`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-changelog`, children: "Changelog" }), _jsx("div", { className: "sw-prose sw-reg-readme", dangerouslySetInnerHTML: { __html: keyboardScrollable(data.changelogHtml) } })] })) : null] }), _jsxs("div", { className: "sw-reg-package__side", children: [isModule ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-caps`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-caps`, children: "Capabilities" }), data.capabilities.length === 0 ? (_jsx("p", { className: "sw-reg-empty", children: "This module declares no capabilities: it cannot read content, call out or hook into events." })) : (_jsx("ul", { className: "sw-reg-caps", children: data.capabilities.map((c) => (_jsxs("li", { className: cx('sw-reg-cap', c.sensitive && 'sw-reg-cap--sensitive'), children: [_jsx("code", { className: "sw-reg-cap__key", children: c.key }), _jsx("span", { className: "sw-reg-cap__text", children: c.explanation })] }, c.key))) })), _jsx("p", { className: "sw-reg-section__hint", children: data.tier === 'trusted'
60
60
  ? 'Trusted modules run in the server process; the capabilities are a declaration enforced by review, not a sandbox.'
61
61
  : 'Sandboxed extensions run in WebAssembly; the host refuses anything the manifest does not declare.' })] })) : null, data.screenshots && data.screenshots.length ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-shots`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-shots`, children: "Screenshots" }), _jsx("ul", { className: "sw-reg-shots", children: data.screenshots.map((s, i) => (_jsx("li", { children: _jsx("img", { src: s.url, alt: s.alt, loading: "lazy" }) }, i))) })] })) : null, data.keywords && data.keywords.length ? (_jsxs("section", { className: "sw-reg-section", "aria-labelledby": `${bid}-kw`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-kw`, children: "Keywords" }), _jsx("ul", { className: "sw-reg-keywords", children: data.keywords.map((k) => (_jsx("li", { children: _jsx("a", { href: `/registry?q=${encodeURIComponent(k)}`, children: k }) }, k))) })] })) : null, showAgents !== false ? (_jsxs("section", { className: "sw-reg-section sw-reg-agents", "aria-labelledby": `${bid}-agents`, children: [_jsx("h2", { className: "sw-reg-section__title", id: `${bid}-agents`, children: "For agents" }), _jsxs("p", { children: ["An AI agent with an API token can install and configure this package from a conversation. The machine-readable description (kind, versions, checksums, capabilities, settings schema and the install call) is at", ' ', _jsx("a", { href: data.manifestUrl, children: _jsx("code", { children: data.manifestUrl }) }), "."] }), data.indexUrl ? (_jsxs("p", { className: "sw-reg-section__hint", children: ["Signed index entry: ", _jsx("a", { href: data.indexUrl, children: data.indexUrl })] })) : null] })) : null] })] })] }) }));
62
62
  },
@@ -1 +1 @@
1
- {"version":3,"file":"registry-package.js","sourceRoot":"","sources":["../src/registry-package.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACjI,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAiBnD,MAAM,KAAK,GAAG;IACZ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;IAC7B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE;CACrB,CAAC;AAEX,kIAAkI;AAClI,MAAM,CAAC,MAAM,WAAW,GAAG,kyBAAkyB,CAAC;AAE9zB,MAAM,cAAc,GAAoD,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;AACjJ,MAAM,YAAY,GAAiD,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,EAAE,QA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,EAAE,EAAE,CAAC,CACxB,uBACE,YAAG,IAAI,EAAE,eAAe,kBAAkB,CAAC,CAAC,CAAC,EAAE,YAAG,CAAC,GAAK,IADjD,CAAC,CAEL,CACN,CAAC,GACC,IACG,CACX,CAAC,CAAC,CAAC,IAAI,EAEP,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC,CACtB,mBAAS,SAAS,EAAC,8BAA8B,qBAAkB,GAAG,GAAG,SAAS,aAChF,aAAI,SAAS,EAAC,uBAAuB,EAAC,EAAE,EAAE,GAAG,GAAG,SAAS,2BAEpD,EACL,4OACmN,GAAG,EACpN,YAAG,IAAI,EAAE,IAAI,CAAC,WAAW,YACvB,yBAAO,IAAI,CAAC,WAAW,GAAQ,GAC7B,SAEF,EACH,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CACf,aAAG,SAAS,EAAC,sBAAsB,qCACb,YAAG,IAAI,EAAE,IAAI,CAAC,QAAQ,YAAG,IAAI,CAAC,QAAQ,GAAK,IAC7D,CACL,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,IACF,GACE,CACX,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFjC,CAAC"}
@@ -155,6 +155,13 @@ export interface RegistryPackageData {
155
155
  label: string;
156
156
  description?: string;
157
157
  }[];
158
+ /** Site components (phase 4b): each with the labels of the fields editors fill in and of its variants. */
159
+ components?: {
160
+ label: string;
161
+ description?: string;
162
+ fields: string[];
163
+ variants: string[];
164
+ }[];
158
165
  } | null;
159
166
  previewHref?: string | null;
160
167
  updatedAt: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"registry-types.js","sourceRoot":"","sources":["../src/registry-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA4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