bearminion 1.22.0 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,84 @@
1
+ import { z } from 'zod'
2
+ import { defineSection, richTextSchema, textSchema, withEmphasis, type CountRule } from 'bearminion'
3
+ import { accent, eyebrow, heading } from '../shared'
4
+ import { compareWireframe } from './wireframe'
5
+
6
+ export const compareVariants = ['centered', 'left'] as const
7
+
8
+ /** Two to five columns and up to twelve rows; every row has one value per column. */
9
+ export const compareCounts = {
10
+ columns: { recommended: '3 or 4', min: 2, max: 5 },
11
+ rows: { recommended: '4–8', min: 1, max: 12 },
12
+ } as const satisfies Record<string, CountRule>
13
+
14
+ export const compareColumnSchema = z
15
+ .object({
16
+ label: textSchema,
17
+ /** On: the column stands out, for your own offer. */
18
+ highlight: z.boolean().default(false),
19
+ })
20
+ .strict()
21
+
22
+ export const compareRowSchema = z
23
+ .object({
24
+ /** What the row compares, such as "Monthly bill". */
25
+ label: textSchema,
26
+ /** One value per column, in the columns' order. */
27
+ values: z.array(textSchema).min(compareCounts.columns.min).max(compareCounts.columns.max),
28
+ })
29
+ .strict()
30
+
31
+ export const compareSchema = withEmphasis({
32
+ eyebrow,
33
+ heading,
34
+ body: richTextSchema.optional(),
35
+ columns: z.array(compareColumnSchema).min(compareCounts.columns.min).max(compareCounts.columns.max),
36
+ rows: z.array(compareRowSchema).min(compareCounts.rows.min).max(compareCounts.rows.max),
37
+ /** A line under the table: the honest caveat. */
38
+ note: richTextSchema.optional(),
39
+ })
40
+
41
+ export type CompareColumn = z.infer<typeof compareColumnSchema>
42
+ export type CompareRow = z.infer<typeof compareRowSchema>
43
+ export type CompareProps = z.infer<typeof compareSchema>
44
+
45
+ export const compare = defineSection({
46
+ type: 'compare',
47
+ label: 'Compare',
48
+ description: 'A table of options side by side, with yours highlighted.',
49
+ schema: compareSchema,
50
+ defaults: {
51
+ eyebrow: 'Compared',
52
+ heading: 'What you get, side by side.',
53
+ marks: accent('What you get, side by side.', 'side by side.'),
54
+ body: 'Pick the rows a buyer actually asks about. Four to eight is plenty.',
55
+ columns: [
56
+ { label: 'The usual way', highlight: false },
57
+ { label: 'The expensive way', highlight: false },
58
+ { label: 'Us', highlight: true },
59
+ ],
60
+ rows: [
61
+ { label: 'Setup', values: ['A week of calls', 'A consultant', 'One afternoon'] },
62
+ { label: 'Who runs it', values: ['Your team', 'Their team', 'Nobody, it runs itself'] },
63
+ { label: 'Moving out', values: ['Export, then hope', 'Ask nicely', 'Take your files'] },
64
+ { label: 'Monthly bill', values: ['Per seat', 'Per project', 'Flat'] },
65
+ ],
66
+ note: 'Say plainly who the other options suit better. Readers trust a table that admits something.',
67
+ },
68
+ variants: compareVariants,
69
+ defaultVariant: 'centered',
70
+ optional: { props: ['eyebrow', 'heading', 'body', 'note'] },
71
+ counts: compareCounts,
72
+ wireframe: compareWireframe,
73
+ refine(section, ctx) {
74
+ const columns = section.props.columns.length
75
+ section.props.rows.forEach((row, rowIndex) => {
76
+ if (row.values.length === columns) return
77
+ ctx.addIssue({
78
+ code: 'custom',
79
+ path: ['props', 'rows', rowIndex, 'values'],
80
+ message: `Row "${row.label}" has ${row.values.length} values for ${columns} columns. Give every row one value per column.`,
81
+ })
82
+ })
83
+ },
84
+ })
@@ -0,0 +1,24 @@
1
+ import { defineWireframe } from 'bearminion'
2
+
3
+ /** Add section picker thumbnail: [left %, top %, width %, height %, kind]. */
4
+ export const compareWireframe = defineWireframe([
5
+ [30, 8, 40, 7, 'title'],
6
+ [8, 24, 84, 66, 'outline'],
7
+ [70, 24, 22, 66, 'highlight'],
8
+ [11, 30, 12, 4, 'text'],
9
+ [30, 30, 14, 4, 'title'],
10
+ [50, 30, 14, 4, 'title'],
11
+ [74, 30, 14, 4, 'light'],
12
+ [11, 44, 12, 3, 'text'],
13
+ [30, 44, 16, 3, 'text'],
14
+ [50, 44, 14, 3, 'text'],
15
+ [74, 44, 12, 3, 'title'],
16
+ [11, 58, 12, 3, 'text'],
17
+ [30, 58, 12, 3, 'text'],
18
+ [50, 58, 16, 3, 'text'],
19
+ [74, 58, 14, 3, 'title'],
20
+ [11, 72, 12, 3, 'text'],
21
+ [30, 72, 14, 3, 'text'],
22
+ [50, 72, 12, 3, 'text'],
23
+ [74, 72, 10, 3, 'title'],
24
+ ])
@@ -143,4 +143,49 @@ const spanLast = (itemIndex: number) => !wideFourth && itemIndex === props.items
143
143
  </div>
144
144
  )
145
145
  }
146
+ {
147
+ section.variant === 'screens' && (
148
+ <div class="section-container">
149
+ {
150
+ (props.eyebrow || props.heading || props.intro) && (
151
+ <div class="flex flex-wrap items-end justify-between gap-x-12 gap-y-5">
152
+ <SectionHeader eyebrow={props.eyebrow} heading={props.heading} marks={props.marks} size="h2-md" field={field} headingClass="max-w-[16ch]" class="flex-[1_1_30rem]" />
153
+ {props.intro && <Typography as="p" size="lead" color="muted" class="flex-[0_1_24rem]" data-field={field('intro')} markdown={props.intro} />}
154
+ </div>
155
+ )
156
+ }
157
+ {/* A screenshot per card, at the same 16:10 so the rows line up. */}
158
+ <ul class="mt-[clamp(2.5rem,4cqi,4rem)] grid grid-cols-[repeat(auto-fill,minmax(min(100%,20rem),1fr))] gap-4">
159
+ {props.items.map((item, itemIndex) => (
160
+ <li class="flex flex-col gap-3 rounded-card-lg bg-surface p-2 ring-line">
161
+ {!item.image?.hidden && (
162
+ <MediaFrame
163
+ src={item.image?.src}
164
+ alt={item.image?.alt ?? item.title}
165
+ aspectClass="aspect-[16/10]"
166
+ roundedClass="rounded-2xl"
167
+ fit={item.image?.fit}
168
+ position={item.image?.position}
169
+ data-field={field(`items.${itemIndex}.image.alt`)}
170
+ />
171
+ )}
172
+ <div class="flex flex-col gap-1.5 px-3 pt-1 pb-3">
173
+ <h3 class="text-[1.1875rem] leading-[1.25] font-semibold tracking-[-0.02em]" data-field={field(`items.${itemIndex}.title`)}>
174
+ {item.title}
175
+ </h3>
176
+ {item.description && <Typography as="p" size="body" color="muted" data-field={field(`items.${itemIndex}.description`)} markdown={item.description} />}
177
+ </div>
178
+ </li>
179
+ ))}
180
+ </ul>
181
+ {props.link && (
182
+ <div class="mt-8">
183
+ <Button {...buttonLinkProps(props.link)} variant={buttonVariant(props.link, 'secondary')} arrow data-field={field('link.label')}>
184
+ {props.link.label}
185
+ </Button>
186
+ </div>
187
+ )}
188
+ </div>
189
+ )
190
+ }
146
191
  </SectionShell>
@@ -3,9 +3,9 @@ import { defineSection, imageSchema, linkSchema, richTextSchema, textSchema, wit
3
3
  import { accent, eyebrow, heading } from '../shared'
4
4
  import { featuresWireframe } from './wireframe'
5
5
 
6
- export const featuresVariants = ['cards', 'list', 'bento'] as const
6
+ export const featuresVariants = ['cards', 'list', 'bento', 'screens'] as const
7
7
 
8
- /** Three to six cards. In the bento grid, four keeps a wide fourth card; any other count fills rows of three. */
8
+ /** Three to six cards. `screens` is made for six: two rows of three. In the bento grid, four keeps a wide fourth card; any other count fills rows of three. */
9
9
  export const featuresCounts = {
10
10
  items: { recommended: '3–6; 4 or 6 fill the bento grid best', min: 3, max: 6 },
11
11
  } as const satisfies Record<string, CountRule>
@@ -5,6 +5,8 @@ import Typography from '../../atoms/Typography.astro'
5
5
  import SectionHeader from '../../molecules/SectionHeader.astro'
6
6
  import SectionShell from '../../molecules/SectionShell.astro'
7
7
  import { anchorAttrs, buttonLinkProps, buttonVariant } from '../../../lib/link-attrs'
8
+ import { placeholders } from '../../../lib/editing'
9
+ import MediaPlayer from '../media/MediaPlayer.astro'
8
10
  import { stepColumns, stepIconPaths } from './icons'
9
11
 
10
12
  interface Props {
@@ -20,6 +22,16 @@ const reveal = section.motion ?? motion
20
22
  const columns = stepColumns[props.steps.length] ?? ''
21
23
  const number = (itemIndex: number) => String(itemIndex + 1).padStart(2, '0')
22
24
  const textLink = 'inline-flex items-center gap-1.5 text-[0.9375rem] font-medium text-link underline-offset-4 hover:underline'
25
+
26
+ /**
27
+ * `keys` layout: `Ctrl+E` becomes keycaps, a single word a word being typed. The last key of the first keyed step takes
28
+ * the accent color, of the next one the text color, and so on, so a row of shortcuts reads as a sequence.
29
+ */
30
+ const keyed = props.steps.map((step) => (step.keys ? step.keys.split('+').map((key) => key.trim()).filter(Boolean) : []))
31
+ const keyTone = (itemIndex: number) => keyed.slice(0, itemIndex).filter((keys) => keys.length > 1).length % 2 === 0 ? 'accent' : 'ink'
32
+ const keycap = 'min-w-11 rounded-[0.625rem] px-2.5 py-2 text-center font-mono text-[0.8125rem] leading-none'
33
+ /** The video column; while editing, an empty one shows where the video goes. */
34
+ const hasVideo = Boolean(props.video) || placeholders
23
35
  ---
24
36
 
25
37
  <SectionShell id={section.id} anchor={section.anchor} type={section.type} variant={section.variant} tone={section.tone} motion={reveal}>
@@ -136,4 +148,118 @@ const textLink = 'inline-flex items-center gap-1.5 text-[0.9375rem] font-medium
136
148
  </div>
137
149
  )
138
150
  }
151
+ {
152
+ section.variant === 'keys' && (
153
+ <div class:list={['section-container grid items-center gap-[clamp(2.5rem,5cqi,5rem)]', hasVideo && 'grid-cols-[repeat(auto-fit,minmax(min(100%,26rem),1fr))]']}>
154
+ <div class="flex flex-col gap-8">
155
+ <div class="flex flex-col items-start gap-4">
156
+ <SectionHeader eyebrow={props.eyebrow} heading={props.heading} marks={props.marks} size="h2-md" field={field} />
157
+ {props.body && <Typography as="p" size="lead" color="muted" class="max-w-[30rem]" data-field={field('body')} markdown={props.body} />}
158
+ {props.link && (
159
+ <a {...anchorAttrs(props.link)} class={textLink}>
160
+ <span data-field={field('link.label')}>{props.link.label}</span>
161
+ <span aria-hidden="true">→</span>
162
+ </a>
163
+ )}
164
+ </div>
165
+ <ol class="flex flex-col border-b border-line">
166
+ {props.steps.map((step, itemIndex) => {
167
+ const keys = keyed[itemIndex] ?? []
168
+ return (
169
+ <li class="grid grid-cols-[7.5rem_minmax(0,1fr)] items-center gap-5 border-t border-line py-5">
170
+ {keys.length > 1 ? (
171
+ <span class="flex gap-[0.3125rem]" data-field={field(`steps.${itemIndex}.keys`)} aria-label={keys.join(' + ')}>
172
+ {keys.map((key, keyIndex) => {
173
+ const last = keyIndex === keys.length - 1
174
+ const tone = last ? keyTone(itemIndex) : 'plain'
175
+ return (
176
+ <kbd
177
+ class:list={[
178
+ keycap,
179
+ tone === 'plain' && 'bg-surface text-fg shadow-[inset_0_-2px_0_color-mix(in_oklch,var(--fg)_15%,transparent),inset_0_0_0_1px_var(--line)]',
180
+ tone === 'accent' && 'bg-accent text-on shadow-[inset_0_-2px_0_color-mix(in_oklch,var(--on)_25%,transparent)]',
181
+ tone === 'ink' && 'bg-fg text-bg shadow-[inset_0_-2px_0_oklch(0_0_0/0.4)]',
182
+ ]}
183
+ aria-hidden="true"
184
+ >
185
+ {key}
186
+ </kbd>
187
+ )
188
+ })}
189
+ </span>
190
+ ) : keys.length === 1 ? (
191
+ <span class="inline-flex w-fit items-center rounded-lg px-3 py-1.5 text-[0.9375rem] font-semibold shadow-[inset_0_0_0_2px_var(--link)]">
192
+ <span data-field={field(`steps.${itemIndex}.keys`)}>{keys[0]}</span>
193
+ <span class="ms-0.5 inline-block h-[1.1em] w-0.5 bg-fg motion-safe:animate-pulse" aria-hidden="true" />
194
+ </span>
195
+ ) : (
196
+ <span class="grid size-12 place-items-center rounded-[0.875rem] bg-accent text-on" aria-hidden="true">
197
+ <svg viewBox="0 0 24 24" class="size-5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
198
+ <path d={stepIconPaths[step.icon]} />
199
+ </svg>
200
+ </span>
201
+ )}
202
+ <div class="flex flex-col gap-1">
203
+ <div class="flex items-baseline gap-3">
204
+ {props.numbered && <span class="font-mono text-[0.75rem] text-muted">{number(itemIndex)}</span>}
205
+ <Typography as="h3" size="h3" data-field={field(`steps.${itemIndex}.title`)}>
206
+ {step.title}
207
+ </Typography>
208
+ </div>
209
+ {step.description && <Typography as="p" size="body" color="muted" data-field={field(`steps.${itemIndex}.description`)} markdown={step.description} />}
210
+ </div>
211
+ </li>
212
+ )
213
+ })}
214
+ </ol>
215
+ </div>
216
+ {hasVideo && (
217
+ <figure class="flex flex-col gap-3.5">
218
+ <MediaPlayer
219
+ kind="video"
220
+ aspect="16:9"
221
+ video={props.video}
222
+ poster={props.poster}
223
+ label={props.caption}
224
+ imageField={field('poster.alt')}
225
+ class="aspect-[16/10] rounded-card-lg"
226
+ />
227
+ {(props.caption || props.duration) && (
228
+ <figcaption class="flex justify-between gap-4 text-[0.9375rem]">
229
+ {props.caption && <strong class="font-semibold" data-field={field('caption')}>{props.caption}</strong>}
230
+ {props.duration && <span class="font-mono text-[0.75rem] text-muted" data-field={field('duration')}>{props.duration}</span>}
231
+ </figcaption>
232
+ )}
233
+ </figure>
234
+ )}
235
+ </div>
236
+ )
237
+ }
238
+ {
239
+ section.variant === 'panel' && (
240
+ <div class="mx-auto max-w-[80rem] px-[clamp(1.25rem,4cqi,3rem)] py-[clamp(2rem,1rem+3cqi,4rem)]">
241
+ {/* The accent panel: a band that stands out from the sections around it in every tone. */}
242
+ <div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,24rem),1fr))] items-center gap-[clamp(1.5rem,4cqi,4rem)] rounded-panel bg-accent p-[clamp(1.5rem,4cqi,3rem)] text-on [&_.text-muted]:text-[color-mix(in_oklch,var(--on)_78%,transparent)] [&_.text-link]:text-on">
243
+ <div class="flex flex-col items-start gap-3">
244
+ <SectionHeader eyebrow={props.eyebrow} heading={props.heading} marks={props.marks} size="h2" field={field} headingClass="text-[clamp(1.75rem,1.2rem+2cqi,2.75rem)] leading-none tracking-[-0.04em]" />
245
+ {props.body && <Typography as="p" size="md" color="muted" class="leading-[1.55] text-pretty" data-field={field('body')} markdown={props.body} />}
246
+ {props.link && (
247
+ <a {...anchorAttrs(props.link)} class="mt-1 font-semibold underline underline-offset-4">
248
+ <span data-field={field('link.label')}>{props.link.label}</span> <span aria-hidden="true">→</span>
249
+ </a>
250
+ )}
251
+ </div>
252
+ <ol class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-2">
253
+ {props.steps.map((step, itemIndex) => (
254
+ <li class="rounded-2xl bg-[color-mix(in_oklab,var(--accent)_62%,var(--surface))] px-[1.125rem] py-4 [&_code]:bg-[color-mix(in_oklch,var(--on)_8%,transparent)] [&_code]:shadow-none">
255
+ {props.numbered && <span class="font-mono text-[0.75rem]">{number(itemIndex)}</span>}
256
+ <p class="mt-1.5 font-semibold" data-field={field(`steps.${itemIndex}.title`)}>{step.title}</p>
257
+ {step.description && <Typography as="p" size="small" color="muted" class="mt-1" data-field={field(`steps.${itemIndex}.description`)} markdown={step.description} />}
258
+ </li>
259
+ ))}
260
+ </ol>
261
+ </div>
262
+ </div>
263
+ )
264
+ }
139
265
  </SectionShell>
@@ -1,10 +1,14 @@
1
1
  import { z } from 'zod'
2
- import { defineSection, linkSchema, richTextSchema, textSchema, withEmphasis, type CountRule } from 'bearminion'
2
+ import { defineSection, imageSchema, linkSchema, richTextSchema, textSchema, withEmphasis, type CountRule } from 'bearminion'
3
+ import { mediaVideoSchema } from '../media/definition'
3
4
  import { accent, eyebrow, heading } from '../shared'
4
5
  import { stepIconPaths } from './icons'
5
6
  import { stepsWireframe } from './wireframe'
6
7
 
7
- export const stepsVariants = ['columns', 'rail', 'list'] as const
8
+ export const stepsVariants = ['columns', 'rail', 'list', 'keys', 'panel'] as const
9
+
10
+ /** The props only the `keys` layout shows: the video beside the steps. */
11
+ const KEYS_ONLY = { variant: 'keys' } as const
8
12
 
9
13
  /** 24px stroke icons; the paths are in `icons.ts`. */
10
14
  export const stepIcons = ['terminal', 'edit', 'upload', 'moon', 'git', 'check', 'bolt', 'cursor', 'sliders', 'database'] as const
@@ -19,6 +23,11 @@ export const stepItemSchema = z
19
23
  title: textSchema,
20
24
  /** One sentence. Text in backticks shows as code. */
21
25
  description: richTextSchema.optional(),
26
+ /**
27
+ * The `keys` layout draws this instead of the icon: keys joined by `+` as keycaps (`Ctrl+E`), or a single word as
28
+ * a word being typed (`Click`).
29
+ */
30
+ keys: textSchema.optional(),
22
31
  })
23
32
  .strict()
24
33
 
@@ -30,6 +39,14 @@ export const stepsSchema = withEmphasis({
30
39
  /** Off: no "01" or "Step 01" over each item, for points that are not a sequence. */
31
40
  numbered: z.boolean().default(true),
32
41
  steps: z.array(stepItemSchema).min(stepsCounts.steps.min).max(stepsCounts.steps.max),
42
+ /** `keys` layout: a video beside the steps, played on the page. A YouTube or Vimeo link, or a video file. */
43
+ video: mediaVideoSchema.optional(),
44
+ /** `keys` layout: the cover over the video until it plays. */
45
+ poster: imageSchema.optional(),
46
+ /** `keys` layout: a line under the video. */
47
+ caption: textSchema.optional(),
48
+ /** `keys` layout: the video's length beside the caption, such as `0:25`. */
49
+ duration: textSchema.optional(),
33
50
  })
34
51
 
35
52
  export type StepItem = z.infer<typeof stepItemSchema>
@@ -47,16 +64,20 @@ export const steps = defineSection({
47
64
  body: 'Say what the reader does first, then what happens next. Keep each step to one sentence.',
48
65
  numbered: true,
49
66
  steps: [
50
- { icon: 'cursor', title: 'Pick', description: 'Name the first thing the reader does.' },
51
- { icon: 'edit', title: 'Shape', description: 'Say what they change or decide next.' },
52
- { icon: 'check', title: 'Done', description: 'End with what they have when they finish.' },
67
+ { icon: 'cursor', title: 'Pick', description: 'Name the first thing the reader does.', keys: 'Ctrl+K' },
68
+ { icon: 'edit', title: 'Shape', description: 'Say what they change or decide next.', keys: 'Type' },
69
+ { icon: 'check', title: 'Done', description: 'End with what they have when they finish.', keys: 'Ctrl+Enter' },
53
70
  ],
54
71
  },
55
72
  variants: stepsVariants,
56
73
  defaultVariant: 'columns',
57
74
  options: [{ name: 'numbered', label: 'Show numbers', type: 'boolean', default: true }],
58
- optional: { props: ['eyebrow', 'heading', 'body', 'link'], items: { steps: ['description'] } },
75
+ optional: {
76
+ props: ['eyebrow', 'heading', 'body', 'link', 'video', 'poster', 'caption', 'duration'],
77
+ items: { steps: ['description', 'keys'] },
78
+ },
59
79
  counts: stepsCounts,
60
80
  icons: { 'steps[].icon': stepIconPaths },
81
+ showWhen: { video: KEYS_ONLY, poster: KEYS_ONLY, caption: KEYS_ONLY, duration: KEYS_ONLY },
61
82
  wireframe: stepsWireframe,
62
83
  })
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "template": "default",
4
- "version": "1.22.0",
4
+ "version": "1.23.0",
5
5
  "files": {
6
6
  "src/components/atoms/Button.astro": {
7
7
  "hash": "7be42b3dc3a3b59bec169de32a9d801904689e2705473d1945724658dc799043",
@@ -73,6 +73,46 @@
73
73
  "hash": "e0a1f5e38b5bfb304136f2fd71c0b9b58fb2829208dfd96918697b00b802b81d",
74
74
  "history": []
75
75
  },
76
+ "src/components/sections/changelog/Changelog.astro": {
77
+ "hash": "cdf6adbbb19b41a63d7834dabf152ed5b142c6d0914b982036fefb4b3ef6a304",
78
+ "history": []
79
+ },
80
+ "src/components/sections/changelog/definition.ts": {
81
+ "hash": "777d8026132e7564fc1d0c1676e00e9de0837b38a98bbcf0ba4e51d544df5c75",
82
+ "history": []
83
+ },
84
+ "src/components/sections/changelog/wireframe.ts": {
85
+ "hash": "bbfd5788dbbf31bb92294e5f275e45b1dd738d08bbaee39c8638f27509adc3c2",
86
+ "history": []
87
+ },
88
+ "src/components/sections/code-tabs/CodeTabs.astro": {
89
+ "hash": "4107ce5a5a979be165cbb76d3db0f60cf80e6e89fa601d5dddf54149001266ff",
90
+ "history": []
91
+ },
92
+ "src/components/sections/code-tabs/code.ts": {
93
+ "hash": "2e950dd0fda943a6289c68b7ea184af740bfc95f21c9aca65f457394f311a6fc",
94
+ "history": []
95
+ },
96
+ "src/components/sections/code-tabs/definition.ts": {
97
+ "hash": "f65291c376797973f26d2fc2771037a4d086b86f7c0bdafeb7257025e5005adc",
98
+ "history": []
99
+ },
100
+ "src/components/sections/code-tabs/wireframe.ts": {
101
+ "hash": "bad3e719f2d2f50d84da14de2a304e9d76fc0f77ad9aa8e1018424d7faa2b053",
102
+ "history": []
103
+ },
104
+ "src/components/sections/compare/Compare.astro": {
105
+ "hash": "e54a9b6b5084f282bb6b7b4be5f0bd77e662dc79ace99db253e92f290b7a82b5",
106
+ "history": []
107
+ },
108
+ "src/components/sections/compare/definition.ts": {
109
+ "hash": "4458a7827620fa01494f02cba78e525caaa46c41c1d0312ba79a6b8306977ebf",
110
+ "history": []
111
+ },
112
+ "src/components/sections/compare/wireframe.ts": {
113
+ "hash": "455d796332b3df3f99f9a6d2f2f613c1c4677526a8e03e5600cb305bf95901ab",
114
+ "history": []
115
+ },
76
116
  "src/components/sections/contact/Contact.astro": {
77
117
  "hash": "4247463ccd5cdde93ab263f12908ca2a87e5e6c2b51b6e6025f712c919b7ece1",
78
118
  "history": [
@@ -132,14 +172,16 @@
132
172
  "history": []
133
173
  },
134
174
  "src/components/sections/features/Features.astro": {
135
- "hash": "fa2d4de7ada18b6fc9159c99db54aa9c09d8209b421db574251cec695e7abf9d",
175
+ "hash": "81a613ecc19dac308ea784b1dce4610ba111056d618f3ceb9a5b9246b4285736",
136
176
  "history": [
177
+ "fa2d4de7ada18b6fc9159c99db54aa9c09d8209b421db574251cec695e7abf9d",
137
178
  "6d5f76591fee55759bd31fd66a9359990e1136c6fa7f765c1bfaf319c43300db"
138
179
  ]
139
180
  },
140
181
  "src/components/sections/features/definition.ts": {
141
- "hash": "127837186fa07885e95a61f7a00dc6a965b3a74ffc589de3e3c9e31b360c13ca",
182
+ "hash": "e2b7d8dd13492dc3a858355810f9d45e1880395a3b2b59717a20c9a398adb5b0",
142
183
  "history": [
184
+ "127837186fa07885e95a61f7a00dc6a965b3a74ffc589de3e3c9e31b360c13ca",
143
185
  "8c62f71d97b69b9c156a96db4eca59103050c4126d111270e66838af85b21b85"
144
186
  ]
145
187
  },
@@ -266,12 +308,16 @@
266
308
  "history": []
267
309
  },
268
310
  "src/components/sections/steps/Steps.astro": {
269
- "hash": "4b4895329a51a9da2c5e9984a55fead610a15582b05f8b5bed43635731307470",
270
- "history": []
311
+ "hash": "195c9001fb53331ebe124bd522becbbbec1b52b26277eca4346c375b290c0ed3",
312
+ "history": [
313
+ "4b4895329a51a9da2c5e9984a55fead610a15582b05f8b5bed43635731307470"
314
+ ]
271
315
  },
272
316
  "src/components/sections/steps/definition.ts": {
273
- "hash": "c5f3f0b1dba9a2bc06f5c266f07256e6f8d9a3de5376544fa92c0e7d9e3a09b4",
274
- "history": []
317
+ "hash": "9a2cd734d134b195838083313f18dd183e84d46db98ad6cfedc927a80e9ffd53",
318
+ "history": [
319
+ "c5f3f0b1dba9a2bc06f5c266f07256e6f8d9a3de5376544fa92c0e7d9e3a09b4"
320
+ ]
275
321
  },
276
322
  "src/components/sections/steps/icons.ts": {
277
323
  "hash": "12f7ca22de575d819a9789615a8b311aa55536884ce3be41e7b2a73c1a6358c1",
@@ -408,6 +454,77 @@
408
454
  }
409
455
  },
410
456
  "items": {
457
+ "changelog": {
458
+ "dir": "changelog",
459
+ "type": "changelog",
460
+ "label": "Changelog",
461
+ "description": "The latest releases, each with what changed.",
462
+ "files": [
463
+ "src/components/atoms/Emphasis.astro",
464
+ "src/components/atoms/Typography.astro",
465
+ "src/components/atoms/typography.ts",
466
+ "src/components/molecules/SectionHeader.astro",
467
+ "src/components/molecules/SectionShell.astro",
468
+ "src/components/sections/changelog/Changelog.astro",
469
+ "src/components/sections/changelog/definition.ts",
470
+ "src/components/sections/changelog/wireframe.ts",
471
+ "src/components/sections/shared.ts",
472
+ "src/lib/cn.ts",
473
+ "src/lib/link-attrs.ts"
474
+ ],
475
+ "npm": {
476
+ "class-variance-authority": "^0.7.1",
477
+ "tailwind-merge": "^3.7.0",
478
+ "zod": "^4.6.7"
479
+ }
480
+ },
481
+ "code-tabs": {
482
+ "dir": "code-tabs",
483
+ "type": "codeTabs",
484
+ "label": "Code tabs",
485
+ "description": "Code samples in tabs, with numbered points under them.",
486
+ "files": [
487
+ "src/components/atoms/Emphasis.astro",
488
+ "src/components/atoms/Typography.astro",
489
+ "src/components/atoms/typography.ts",
490
+ "src/components/molecules/SectionHeader.astro",
491
+ "src/components/molecules/SectionShell.astro",
492
+ "src/components/sections/code-tabs/CodeTabs.astro",
493
+ "src/components/sections/code-tabs/code.ts",
494
+ "src/components/sections/code-tabs/definition.ts",
495
+ "src/components/sections/code-tabs/wireframe.ts",
496
+ "src/components/sections/shared.ts",
497
+ "src/lib/cn.ts"
498
+ ],
499
+ "npm": {
500
+ "class-variance-authority": "^0.7.1",
501
+ "tailwind-merge": "^3.7.0",
502
+ "zod": "^4.6.7"
503
+ }
504
+ },
505
+ "compare": {
506
+ "dir": "compare",
507
+ "type": "compare",
508
+ "label": "Compare",
509
+ "description": "A table of options side by side, with yours highlighted.",
510
+ "files": [
511
+ "src/components/atoms/Emphasis.astro",
512
+ "src/components/atoms/Typography.astro",
513
+ "src/components/atoms/typography.ts",
514
+ "src/components/molecules/SectionHeader.astro",
515
+ "src/components/molecules/SectionShell.astro",
516
+ "src/components/sections/compare/Compare.astro",
517
+ "src/components/sections/compare/definition.ts",
518
+ "src/components/sections/compare/wireframe.ts",
519
+ "src/components/sections/shared.ts",
520
+ "src/lib/cn.ts"
521
+ ],
522
+ "npm": {
523
+ "class-variance-authority": "^0.7.1",
524
+ "tailwind-merge": "^3.7.0",
525
+ "zod": "^4.6.7"
526
+ }
527
+ },
411
528
  "contact": {
412
529
  "dir": "contact",
413
530
  "type": "contact",
@@ -699,21 +816,32 @@
699
816
  "files": [
700
817
  "src/components/atoms/Button.astro",
701
818
  "src/components/atoms/Emphasis.astro",
819
+ "src/components/atoms/Image.astro",
702
820
  "src/components/atoms/Typography.astro",
703
821
  "src/components/atoms/button.ts",
822
+ "src/components/atoms/image.ts",
704
823
  "src/components/atoms/options.ts",
705
824
  "src/components/atoms/typography.ts",
825
+ "src/components/molecules/MediaFrame.astro",
706
826
  "src/components/molecules/SectionHeader.astro",
707
827
  "src/components/molecules/SectionShell.astro",
828
+ "src/components/sections/media/MediaPlayer.astro",
829
+ "src/components/sections/media/definition.ts",
830
+ "src/components/sections/media/source.ts",
831
+ "src/components/sections/media/wireframe.ts",
708
832
  "src/components/sections/shared.ts",
709
833
  "src/components/sections/steps/Steps.astro",
710
834
  "src/components/sections/steps/definition.ts",
711
835
  "src/components/sections/steps/icons.ts",
712
836
  "src/components/sections/steps/wireframe.ts",
837
+ "src/lib/assets.ts",
713
838
  "src/lib/cn.ts",
839
+ "src/lib/editing.ts",
840
+ "src/lib/image-url.ts",
714
841
  "src/lib/link-attrs.ts"
715
842
  ],
716
843
  "npm": {
844
+ "astro": "^7.4.1",
717
845
  "class-variance-authority": "^0.7.1",
718
846
  "tailwind-merge": "^3.7.0",
719
847
  "zod": "^4.6.7"