Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

slides: discussion #282, both halves — unnumbered slides, and reveal steps within a slide (#464)

nyblnetb3ac101c22a1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4c6fec1d..604bac83 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1288,6 +1288,20 @@ jobs:
# image gone from a file with nothing on screen to say so.
run: node scripts/test-slides-assets.ts
+ - name: Slides pagination rig
+ # Three ways a slide declines a page number (state, hidden, unnumbered)
+ # and only one of them stays in the walk; every surface — page fields,
+ # presenter counter, sidebar — asks the same predicate, and a build of
+ # morph steps reads "18, 18, 18" rather than "18, 19, 20" (#282).
+ run: node scripts/test-slides-pagination.ts
+
+ - name: Slides reveal-steps rig
+ # fx.step, "animate on click": → reveals the next step before it
+ # leaves the slide, ← hides it; backward arrival is fully revealed;
+ # gaps are pressed through; the audience follows the presenter's
+ # step. Decisions in slides/src/steps.ts, DOM-free (#282, option 2).
+ run: node scripts/test-slides-steps.ts
+
- name: Audience projection rig
# Live broadcast: the handout, the join snapshot and every streamed op
# go through slides/src/audience.ts, which keeps back speaker notes
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f5c7ee79..cc77874a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,25 @@ pre-1.0.
the room key. *Issue new tickets…* makes every copy handed out so far stop
working. Built on the same end-to-end-encrypted collaboration room as
everything else — no second channel.
+- **A slide can stay in the show without taking a page number.** Toggle
+ *Unnumbered* in the Slide panel: the arrow keys reach the slide as usual,
+ but `{{page}}` on it continues the previous slide's number and the total
+ does not grow. Build a reveal as three morph steps and the footer reads 18
+ three times instead of 18, 19, 20 — or drop in a section card that should
+ not count. Asked for in discussion #282 by OuPDO, whose one-slide-per-step
+ decks already worked except for that number. Distinct from *Hide slide*,
+ which takes a slide out of the walk altogether.
+- **Reveal elements one at a time within a slide.** Give an element a *Reveal
+ step* in the Presenting section (1, 2, 3…): it is hidden when the slide
+ appears and shows on that press of →, running its entrance — a plain fade
+ if it has none — and ← hides it again; → moves to the next slide only once
+ every step is shown. Elements sharing a step appear together, and arriving
+ from the next slide lands with everything revealed, so stepping back
+ through a talk retraces it. One slide stays one slide: one page number, one
+ morph pairing, one speaker note. The speaker view counts the steps beside
+ the slide number, and an audience following a live broadcast follows the
+ steps too. A deck opened in an older version shows every element at once.
+ The other half of discussion #282, and the one its author wanted more.
## [1.0.19] — 2026-09-04
diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md
index b2b5c4df..a2303264 100644
--- a/docs/DECISIONS.md
+++ b/docs/DECISIONS.md
@@ -6747,3 +6747,45 @@ through), hidden on leave/blur/Escape, wired with `aria-describedby`.
Pointers: `kernel/src/ui/tooltip.{ts,css}`, `scripts/test-ui-tooltip.ts` (34
checks; delay, the body/fixed placement, the flash-guard, aria wiring and Escape
each mutation-caught).
+
+## 2026-09-13 — Reveal steps are presentation state, not slides; unnumbered slides are the other half
+
+Discussion #282 asked for "animate on click" and offered two shapes. Both
+shipped, because they answer different questions.
+
+**`unnumbered: true` on a slide** — in the walk, takes no page number, and
+`{{page}}` on it continues the previous slide's. It is the THIRD answer to
+`paginates` (beside `stateOf` and `hidden`) and the only one that stays in
+`inLinearFlow`; every surface counts by that one predicate, so nothing else
+changed. It covers more than reveals — a section card, an interstitial — which
+is why it exists on its own. `numberHidden` is about hidden slides and does not
+touch it.
+
+**`fx.step` on an element** — hidden when the slide appears, revealed on the
+n-th `→` (running its entrance, or a plain fade if it has none), hidden again by
+`←`; `→` leaves the slide only once every step is shown. Elements sharing a
+step appear together; gaps in the numbering are pressed through in one go;
+arriving BACKWARD lands fully revealed, the way PowerPoint and reveal.js do.
+The decisions live in `slides/src/steps.ts`, DOM-free, so the rig drives them
+(`scripts/test-slides-steps.ts`); present.ts is the DOM around them.
+
+**Why state and not slides.** One slide stays one slide: one page number, one
+morph pairing, one speaker note, one thumbnail, one entry in the sidebar. The
+alternative — steps as hidden slides — would have leaked into all five. The
+cost is one navigation state the old shell does not know, and that degrades
+the right way: an older shell shows every element at once, the same slide
+fully revealed, which is what additivity promises ("opens plain", not "opens
+wrong").
+
+**Hidden by `visibility`, not `display`.** A stepped element keeps its box, so
+nothing reflows when it appears, morph measurements stay honest, and the
+entrance tween starts from opacity 0 the instant the class comes off.
+Measured in a real browser on the manual clock (the driven tab was hidden and
+rAF would have lied): the revealed element's opacity went 0.00 → 0.08 → 0.66
+→ 1.00 across the fade; on a morph arrival the stepped elements sat hidden
+while the carried element morphed, then revealed on `→`.
+
+**The wire.** A presenter's `nav` carries `step`; an audience copy following a
+live broadcast applies it — forward with the entrance, backward as a hide —
+and parks it when the nav names another slide, applying it after that slide
+enters. The speaker view shows `step/max` beside the slide number.
diff --git a/scripts/test-slides-pagination.ts b/scripts/test-slides-pagination.ts
new file mode 100644
index 00000000..89b2c692
--- /dev/null
+++ b/scripts/test-slides-pagination.ts
@@ -0,0 +1,98 @@
+#!/usr/bin/env node
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Pagination rig for bento/slides: which slides take a number, which are in
+// the walk, and what the page field shows on each.
+//
+// node scripts/test-slides-pagination.ts
+//
+// WHAT THIS PROVES. Two predicates in model.ts answer two different questions
+// and every surface asks the same one — page fields, the presenter's counter,
+// the sidebar ask `paginates`; navigation, PDF and the thumbnail ask
+// `inLinearFlow` — so no two of them can disagree about which slide is "4".
+// There are three ways a slide can decline a number and they are NOT the same:
+//
+// stateOf a variant reached by link → out of the walk, no number
+// hidden out of the show → out of the walk, no number
+// (unless present.numberHidden)
+// unnumbered a continuation / interstitial → IN the walk, no number
+//
+// The third (discussion #282) is the one that must stay in the walk, and the
+// one whose page field must read as the PREVIOUS slide's number: a build of
+// three morph steps shows "18" three times, not 18, 19, 20. The page-field
+// rule is reproduced here from render.ts fieldContext (which needs a DOM to
+// import) and pinned by shape against that file.
+
+import { readFileSync } from 'node:fs'
+import { fileURLToPath } from 'node:url'
+import { dirname, join } from 'node:path'
+import { paginates, inLinearFlow } from '../slides/src/model.ts'
+import type { BentoDoc, Slide } from '../slides/src/model.ts'
+
+let failures = 0
+let checks = 0
+function ok(cond: boolean, msg: string) {
+ checks++
+ if (!cond) { failures++; console.log(` FAIL ${msg}`) }
+ else console.log(` ok ${msg}`)
+}
+
+const slide = (o: Partial<Slide> & { id: string }): Slide =>
+ ({ background: '#fff', transition: 'fade', elements: [], notes: '', ...o } as Slide)
+const deck = (slides: Slide[], numberHidden = false): BentoDoc =>
+ ({ format: 'bento/slides', version: 1, docId: 'd', title: 't', slides,
+ ...(numberHidden ? { present: { numberHidden: true } } : {}) } as unknown as BentoDoc)
+
+// the page-field rule, as render.ts fieldContext computes it
+const pageOf = (doc: BentoDoc, i: number) => doc.slides.slice(0, i + 1).filter((s) => paginates(s, doc)).length
+const pagesOf = (doc: BentoDoc) => doc.slides.filter((s) => paginates(s, doc)).length
+
+console.log('the three ways to decline a number\n')
+const d = deck([
+ slide({ id: 'a' }), // 1
+ slide({ id: 'b' }), // 2
+ slide({ id: 'b1', stateOf: 'b' }), // state: no number, not in walk
+ slide({ id: 'c' }), // 3
+ slide({ id: 'c2', unnumbered: true }), // continuation: no number, IN walk, page reads 3
+ slide({ id: 'c3', unnumbered: true }), // continuation: page reads 3
+ slide({ id: 'h', hidden: true }), // hidden: no number, not in walk
+ slide({ id: 'd' }), // 4
+])
+const idx = (id: string) => d.slides.findIndex((s) => s.id === id)
+
+ok(paginates(d.slides[idx('a')], d) && inLinearFlow(d.slides[idx('a')]), 'an ordinary slide counts and is in the walk')
+ok(!paginates(d.slides[idx('b1')], d) && !inLinearFlow(d.slides[idx('b1')]), 'a state: no number, out of the walk')
+ok(!paginates(d.slides[idx('h')], d) && !inLinearFlow(d.slides[idx('h')]), 'a hidden slide: no number, out of the walk')
+ok(!paginates(d.slides[idx('c2')], d) && inLinearFlow(d.slides[idx('c2')]), 'an UNNUMBERED slide: no number, but IN the walk — the property #282 needs')
+
+console.log('\nthe page field, slide by slide\n')
+ok(pagesOf(d) === 4, `pages = 4 (${pagesOf(d)}): a, b, c, d`)
+ok(pageOf(d, idx('c')) === 3, 'c reads 3')
+ok(pageOf(d, idx('c2')) === 3 && pageOf(d, idx('c3')) === 3, 'both continuations read 3 — "18, 18, 18", not "18, 19, 20"')
+ok(pageOf(d, idx('d')) === 4, 'the slide after the build reads 4 — the build consumed one number')
+ok(pageOf(d, idx('h')) === 3, 'a hidden slide between them would also read 3 (it is never shown, but the rule is one rule)')
+
+console.log('\ninteractions\n')
+const dh = deck(d.slides.map((s) => ({ ...s })), true)
+ok(paginates(dh.slides[idx('h')], dh) && !inLinearFlow(dh.slides[idx('h')]), 'numberHidden: a hidden slide counts again but stays out of the walk')
+ok(!paginates(dh.slides[idx('c2')], dh), 'numberHidden does NOT make an unnumbered slide count — the option is about hidden slides only')
+ok(pagesOf(dh) === 5 && pageOf(dh, idx('d')) === 5, 'with numberHidden: pages = 5 and d reads 5')
+const both = deck([slide({ id: 'x' }), slide({ id: 'y', hidden: true, unnumbered: true }), slide({ id: 'z' })])
+ok(!inLinearFlow(both.slides[1]) && !paginates(both.slides[1], both), 'hidden + unnumbered: hidden wins for the walk, neither gives a number')
+const first = deck([slide({ id: 'u', unnumbered: true }), slide({ id: 'v' })])
+ok(pageOf(first, 0) === 0 && pageOf(first, 1) === 1, 'an unnumbered FIRST slide reads 0 (nothing to continue) and the next is 1')
+
+console.log('\nevery surface asks the same predicate\n')
+const root = join(dirname(fileURLToPath(import.meta.url)), '..')
+const read = (f: string) => readFileSync(join(root, f), 'utf8')
+ok(/page: upto\.filter\(\(s\) => paginates\(s, doc\)\)\.length/.test(read('slides/src/render.ts')), 'render.ts fieldContext: page counts by paginates (the rule reproduced above)')
+ok(/visibleIndex = \(i: number\) => doc\.slides\.slice\(0, i \+ 1\)\.filter\(\(s\) => paginates\(s, doc\)\)/.test(read('slides/src/present.ts')), 'present.ts: the presenter counter counts by paginates')
+ok(/filter\(\(s\) => paginates\(s, this\.store\.doc\)\)/.test(read('slides/src/editor/editor.ts')), 'editor.ts: the sidebar number counts by paginates')
+ok(/private slideLabel\([\s\S]{0,400}paginates\(x, doc\)/.test(read('slides/src/editor/panels.ts')) && !/slideLabel\([\s\S]{0,400}!x\.stateOf\)\.length/.test(read('slides/src/editor/panels.ts')),
+ 'panels.ts: the link/state pickers label slides by paginates too — "slide 4" in the picker is "4" in the sidebar (found by the lead: it counted by position)')
+ok(/const isState = \(i: number\) => \{[^}]*!inLinearFlow\(sl\)/.test(read('slides/src/present.ts')), 'present.ts: navigation skips by inLinearFlow, not by paginates')
+ok(/unnumbered: bool/.test(read('slides/src/untrusted.ts')), 'untrusted.ts: the shape gate knows the key (a pasted unnumbered slide keeps it)')
+ok(/"unnumbered"/.test(read('slides/src/modelkeys.generated.ts')), 'modelkeys: the key is in the generated slide table')
+
+console.log(`\n${checks - failures}/${checks} checks passed`)
+process.exit(failures ? 1 : 0)
diff --git a/scripts/test-slides-steps.ts b/scripts/test-slides-steps.ts
new file mode 100644
index 00000000..ba459e27
--- /dev/null
+++ b/scripts/test-slides-steps.ts
@@ -0,0 +1,98 @@
+#!/usr/bin/env node
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Reveal-steps rig (fx.step, "animate on click" — discussion #282).
+//
+// node scripts/test-slides-steps.ts
+//
+// WHAT THIS PROVES. The decisions behind → and ← on a slide with stepped
+// elements live in slides/src/steps.ts, pure, so they can be driven here:
+// which press advances a step and which leaves the slide, what appears and
+// disappears on each, that arriving backward lands fully revealed, that gaps
+// in the numbering are pressed through in one go, and that a presenter's
+// step reaches an audience copy through `set`. present.ts is the DOM around
+// these answers and is pinned by shape at the end.
+
+import { readFileSync } from 'node:fs'
+import { fileURLToPath } from 'node:url'
+import { dirname, join } from 'node:path'
+import { StepState, maxStep, stepOf, stepsOf, shownAt } from '../slides/src/steps.ts'
+
+let failures = 0
+let checks = 0
+function ok(cond: boolean, msg: string) {
+ checks++
+ if (!cond) { failures++; console.log(` FAIL ${msg}`) }
+ else console.log(` ok ${msg}`)
+}
+const el = (id: string, step?: number) => ({ id, ...(step !== undefined ? { fx: { step } } : {}) })
+const ids = (xs: { id: string }[]) => xs.map((x) => x.id).join(',')
+
+console.log('stepOf / maxStep / stepsOf\n')
+ok(stepOf(el('a')) === 0 && stepOf(el('b', 0)) === 0, 'no step, or 0 → shown with the slide')
+ok(stepOf(el('c', 2)) === 2 && stepOf(el('d', 2.7)) === 2, 'a step is a positive integer; fractions floor')
+ok(stepOf(el('e', -3)) === 0 && stepOf({ id: 'f', fx: { step: NaN } }) === 0, 'negatives and NaN are 0, not trusted')
+const slide = [el('title'), el('r1', 1), el('r2', 2), el('r2b', 2), el('r5', 5)]
+ok(maxStep(slide) === 5, 'maxStep is the last step present')
+ok(stepsOf(slide).join(',') === '1,2,5', 'stepsOf lists the steps present, ascending, once each')
+ok(shownAt(el('r2', 2), 1) === false && shownAt(el('r2', 2), 2) === true && shownAt(el('title'), 0), 'shownAt: step ≤ current')
+
+console.log('\nforward through a slide\n')
+{
+ const st = new StepState()
+ st.enter(slide, true)
+ ok(st.step === 0 && st.hasNext() && !st.hasPrev(), 'arriving forward: step 0, → available, ← leaves the slide')
+ let r = st.next()
+ ok(r.kind === 'step' && r.step === 1 && ids(r.reveal) === 'r1', '→ reveals step 1: r1')
+ r = st.next()
+ ok(r.kind === 'step' && r.step === 2 && ids(r.reveal) === 'r2,r2b', '→ reveals step 2: both elements sharing it, together')
+ r = st.next()
+ ok(r.kind === 'step' && r.step === 5 && ids(r.reveal) === 'r5', '→ jumps the gap 3–4 and reveals step 5')
+ ok(!st.hasNext(), 'every step shown: → would now leave the slide')
+ ok(st.next().kind === 'slide', '…and does')
+}
+
+console.log('\nbackward through a slide\n')
+{
+ const st = new StepState()
+ st.enter(slide, false)
+ ok(st.step === 5 && !st.hasNext() && st.hasPrev(), 'arriving backward: every step shown, ← available')
+ let r = st.prev()
+ ok(r.kind === 'step' && r.step === 2 && ids(r.hide) === 'r5', '← hides step 5 and lands on step 2 (the gap is skipped backward too)')
+ r = st.prev()
+ ok(r.kind === 'step' && r.step === 1 && ids(r.hide) === 'r2,r2b', '← hides step 2')
+ r = st.prev()
+ ok(r.kind === 'step' && r.step === 0 && ids(r.hide) === 'r1', '← hides step 1')
+ ok(st.prev().kind === 'slide', '← at step 0 leaves the slide')
+}
+
+console.log('\na slide with no steps, and the audience\n')
+{
+ const st = new StepState()
+ st.enter([el('a'), el('b')], true)
+ ok(!st.hasNext() && st.next().kind === 'slide' && st.prev().kind === 'slide', 'no steps: → and ← are plain slide navigation')
+ st.enter(slide, true)
+ st.set(2)
+ ok(st.step === 2, 'set(2): the audience lands on the presenter\'s step')
+ st.set(99)
+ ok(st.step === 5, 'set clamps to the last step')
+ st.set(-1)
+ ok(st.step === 0, '…and to 0')
+ st.set(3)
+ ok(st.step === 3 && !stepsOf(slide).includes(3), 'set accepts a step with no elements (between 2 and 5): shows through 2, hides 5')
+ ok(shownAt(el('r2', 2), st.step) && !shownAt(el('r5', 5), st.step), '…which shownAt resolves correctly')
+}
+
+console.log('\npresent.ts asks steps.ts, and the wire carries the step\n')
+const root = join(dirname(fileURLToPath(import.meta.url)), '..')
+const present = readFileSync(join(root, 'slides/src/present.ts'), 'utf8')
+ok(/const goNext = \(\) => \{\s*const r = steps\.next\(\)/.test(present), 'goNext asks steps.next() before moving to the next slide')
+ok(/const goPrev = \(\) => \{\s*const r = steps\.prev\(\)/.test(present), 'goPrev asks steps.prev() before moving to the previous slide')
+ok(/steps\.enter\(doc\.slides\[toIdx\]\?\.elements \?\? \[\], forward\)/.test(present), 'slidechanged enters the slide\'s steps with the direction')
+ok(/nav\(\{[^}]*step: steps\.step/.test(present), 'the presenter\'s nav payload carries the step')
+ok(/followStep\(jump, /.test(present), 'the audience applies the presenter\'s step')
+ok(/\.bento-step-hidden/.test(readFileSync(join(root, 'slides/src/styles.css'), 'utf8')), 'the hidden-step class is styled (visibility, not display)')
+ok(/step: num\(0, 1e4\)/.test(readFileSync(join(root, 'slides/src/untrusted.ts'), 'utf8')), 'the shape gate bounds fx.step')
+
+console.log(`\n${checks - failures}/${checks} checks passed`)
+process.exit(failures ? 1 : 0)
diff --git a/slides/src/editor/editor.ts b/slides/src/editor/editor.ts
index 11f350ed..e18a7039 100644
--- a/slides/src/editor/editor.ts
+++ b/slides/src/editor/editor.ts
@@ -1721,6 +1721,13 @@ export class Editor {
// glance, because a slide you forgot you hid is found mid-presentation.
num.textContent = paginates(slide, this.store.doc) ? String(this.linearNumber(i)) : '—'
num.title = t('Hidden — skipped while presenting and left out of PDF export')
+ } else if (slide.unnumbered) {
+ // In the walk but not counted: the audience's page field shows the
+ // previous slide's number on it, so that is what the sidebar shows too,
+ // dimmed, with the marker that says why it is not the next number.
+ num.textContent = `${this.linearNumber(i)}·`
+ num.classList.add('ed-num-unnumbered')
+ num.title = t('Unnumbered — in the show, continues the previous page number')
} else {
num.textContent = String(this.linearNumber(i))
}
diff --git a/slides/src/editor/panels.ts b/slides/src/editor/panels.ts
index b77d5ffc..42a76649 100644
--- a/slides/src/editor/panels.ts
+++ b/slides/src/editor/panels.ts
@@ -5,7 +5,7 @@
// into a single undo checkpoint.
import type { Store } from '../store'
-import { MEDIA_EMBED_BUDGET, applyChartPalette, defaultChart, internAsset, morphKey, tableStyleFor, uid, type ChartElement, type LineEnding, type MediaElement, type ShapeElement, type Slide, type SlideElement, type TableElement, type TextElement, type TransitionKind, type CodeElement } from '../model'
+import { MEDIA_EMBED_BUDGET, applyChartPalette, defaultChart, internAsset, morphKey, paginates, tableStyleFor, uid, type ChartElement, type LineEnding, type MediaElement, type ShapeElement, type Slide, type SlideElement, type TableElement, type TextElement, type TransitionKind, type CodeElement } from '../model'
import { LANGS } from '../../../kernel/src/tokenize.ts'
import { resolveAsset } from '../render'
import { measureElement } from '../measure'
@@ -48,6 +48,7 @@ const ROW_TIPS: Record<string, string> = {
'Color': 'Colour with opacity — pick with the swatch, the % field is how opaque it is',
'Enter': 'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)',
'Enter secs': 'How long the entrance takes, in seconds',
+ 'Reveal step': 'Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)',
'Count up': 'Numbers in this text count up from zero when the slide enters',
'Ambient': 'Continuous motion while the slide is on screen — Ken Burns drift or zoom',
'Zoom': 'Ken Burns direction — drift, settle out, or settle in',
@@ -273,6 +274,20 @@ export class PropsPanel {
if (v) this.store.slide.hidden = true
else delete this.store.slide.hidden
}, true)))
+ // The third answer to "does it take a number": stays in the walk, counts
+ // for nothing, and {{page}} on it continues the slide before. Builds
+ // (one element revealed per morph step) and interstitials.
+ this.row('Unnumbered', this.toggle(!!slide.unnumbered, (v) =>
+ this.edit(() => {
+ if (v) this.store.slide.unnumbered = true
+ else delete this.store.slide.unnumbered
+ }, true)))
+ if (slide.unnumbered) {
+ const hint = document.createElement('p')
+ hint.className = 'ed-hint'
+ hint.textContent = t('Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.')
+ this.host.appendChild(hint)
+ }
}
if (slide.transition === 'morph') {
const hint = document.createElement('p')
@@ -663,7 +678,7 @@ export class PropsPanel {
const setFx = (patch: Partial<NonNullable<SlideElement['fx']>>) =>
this.mutate(el.id, (e) => {
const fx = { ...(e.fx ?? {}), ...patch }
- if (!fx.enter && !fx.countUp && !fx.ambient && !fx.loop) delete e.fx
+ if (!fx.enter && !fx.countUp && !fx.ambient && !fx.loop && !fx.step) delete e.fx
else e.fx = fx
}, true)
@@ -679,6 +694,16 @@ export class PropsPanel {
el.fx.enterDur ?? (el.fx.enter.startsWith('slide-') ? 0.75 : 0.55), 0.05,
(v, fin) => { if (fin) setFx({ enterDur: Math.max(v, 0.05) }) }))
}
+ // "Animate on click": hidden until the n-th → on this slide (0 = with the
+ // slide). The element's Enter plays when its step comes, or a plain fade.
+ this.row('Reveal step', this.number(el.fx?.step ?? 0, 1,
+ (v, fin) => { if (fin) setFx({ step: v >= 1 ? Math.floor(v) : undefined }) }))
+ if (el.fx?.step) {
+ const hint = document.createElement('p')
+ hint.className = 'ed-hint'
+ hint.textContent = t('Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.')
+ this.host.appendChild(hint)
+ }
this.row('Count up', this.select(
['off', 'on'], el.fx?.countUp ? 'on' : 'off',
(v) => setFx({ countUp: v === 'on' ? true : undefined })))
@@ -885,15 +910,22 @@ export class PropsPanel {
this.store.goTo(insertAt)
}
- /** Human label for a slide in pickers. */
- private slideLabel(s: { id: string; name?: string; stateOf?: string }, i: number): string {
- const linear = this.store.doc.slides.slice(0, i + 1).filter((x) => !x.stateOf).length
+ /**
+ * Human label for a slide in pickers — the number the SIDEBAR shows, so an
+ * author who reads "4" there finds "slide 4" here. That is the page number
+ * (`paginates`), not the position: an unnumbered or hidden slide shows the
+ * number it continues, marked, so two entries can share a number without
+ * being confused for each other.
+ */
+ private slideLabel(s: { id: string; name?: string; stateOf?: string; hidden?: boolean; unnumbered?: boolean }, i: number): string {
+ const doc = this.store.doc
+ const pageAt = (idx: number) => doc.slides.slice(0, idx + 1).filter((x) => paginates(x, doc)).length
if (s.stateOf) {
- const p = this.store.doc.slides.findIndex((x) => x.id === s.stateOf)
- const pn = this.store.doc.slides.slice(0, p + 1).filter((x) => !x.stateOf).length
- return `state of ${pn}${s.name ? ` — ${s.name}` : ''}`
+ const p = doc.slides.findIndex((x) => x.id === s.stateOf)
+ return `state of ${pageAt(p)}${s.name ? ` — ${s.name}` : ''}`
}
- return `slide ${linear}${s.name ? ` — ${s.name}` : ''}`
+ const mark = s.hidden ? ` (${t('hidden')})` : s.unnumbered ? ` (${t('unnumbered')})` : ''
+ return `slide ${pageAt(i)}${mark}${s.name ? ` — ${s.name}` : ''}`
}
/**
diff --git a/slides/src/i18n/de.ts b/slides/src/i18n/de.ts
index ce079ac3..cd951d44 100644
--- a/slides/src/i18n/de.ts
+++ b/slides/src/i18n/de.ts
@@ -803,4 +803,12 @@ export const de: Catalog = {
"The show has ended — this copy stays a working deck": "Die Vorführung ist beendet — diese Kopie bleibt ein nutzbares Deck",
"Your audience copy is no longer valid — ask the presenter for a new one": "Ihre Publikumskopie ist nicht mehr gültig — bitten Sie um eine neue",
"You left the show — reopen this file to rejoin": "Sie haben die Vorführung verlassen — öffnen Sie die Datei erneut, um wieder beizutreten",
+ "Unnumbered": "Ohne Nummer",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Bleibt in der Vorführung, erhält aber keine Seitenzahl — das Seitenfeld führt die der vorherigen Folie fort. Für eine schrittweise Enthüllung aus mehreren Morph-Folien oder eine Karte, die nicht zählen soll.",
+ "Unnumbered — in the show, continues the previous page number": "Ohne Nummer — in der Vorführung, führt die vorherige Seitenzahl fort",
+ "Reveal step": "Aufdeckschritt",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Beim Präsentieren bis zu diesem Druck auf → verborgen; ← verbirgt es wieder. Geben Sie mehreren Elementen denselben Schritt, um sie zusammen aufzudecken.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Beim Klick animieren: bis zum n-ten → auf dieser Folie verborgen (0 = mit der Folie sichtbar)",
+ "hidden": "ausgeblendet",
+ "unnumbered": "ohne Nummer",
}
diff --git a/slides/src/i18n/es.ts b/slides/src/i18n/es.ts
index 17889dc3..ea033dab 100644
--- a/slides/src/i18n/es.ts
+++ b/slides/src/i18n/es.ts
@@ -803,4 +803,12 @@ export const es: Catalog = {
"The show has ended — this copy stays a working deck": "La sesión ha terminado — esta copia sigue siendo una presentación útil",
"Your audience copy is no longer valid — ask the presenter for a new one": "Tu copia para el público ya no es válida — pide una nueva al presentador",
"You left the show — reopen this file to rejoin": "Has salido de la sesión — vuelve a abrir este archivo para volver a unirte",
+ "Unnumbered": "Sin número",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Permanece en la presentación pero no ocupa número de página: el campo de página continúa el de la diapositiva anterior. Para una revelación construida en varios pasos con morph, o una tarjeta que no debe contar.",
+ "Unnumbered — in the show, continues the previous page number": "Sin número — en la presentación, continúa el número de página anterior",
+ "Reveal step": "Paso de revelado",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Oculto hasta esa pulsación de → al presentar; ← lo vuelve a ocultar. Da a varios elementos el mismo paso para revelarlos juntos.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animar al hacer clic: oculto hasta la n-ésima → en esta diapositiva (0 = visible con la diapositiva)",
+ "hidden": "oculta",
+ "unnumbered": "sin número",
}
diff --git a/slides/src/i18n/fr.ts b/slides/src/i18n/fr.ts
index d2f0b3f8..fae832b7 100644
--- a/slides/src/i18n/fr.ts
+++ b/slides/src/i18n/fr.ts
@@ -803,4 +803,12 @@ export const fr: Catalog = {
"The show has ended — this copy stays a working deck": "La séance est terminée — cette copie reste une présentation utilisable",
"Your audience copy is no longer valid — ask the presenter for a new one": "Votre copie pour le public n’est plus valide — demandez-en une nouvelle au présentateur",
"You left the show — reopen this file to rejoin": "Vous avez quitté la séance — rouvrez ce fichier pour la rejoindre",
+ "Unnumbered": "Sans numéro",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Reste dans la présentation mais ne prend pas de numéro de page : le champ de page prolonge celui de la diapositive précédente. Pour une révélation construite en plusieurs étapes morph, ou une carte qui ne doit pas compter.",
+ "Unnumbered — in the show, continues the previous page number": "Sans numéro — dans la présentation, prolonge le numéro de page précédent",
+ "Reveal step": "Étape de révélation",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Masqué jusqu’à cet appui sur → pendant la présentation ; ← le masque à nouveau. Donnez la même étape à plusieurs éléments pour les révéler ensemble.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animer au clic : masqué jusqu’au n-ième → sur cette diapositive (0 = visible avec la diapositive)",
+ "hidden": "masquée",
+ "unnumbered": "sans numéro",
}
diff --git a/slides/src/i18n/it.ts b/slides/src/i18n/it.ts
index 4da96aa3..d258b22a 100644
--- a/slides/src/i18n/it.ts
+++ b/slides/src/i18n/it.ts
@@ -803,4 +803,12 @@ export const it: Catalog = {
"The show has ended — this copy stays a working deck": "La sessione è terminata — questa copia resta una presentazione utilizzabile",
"Your audience copy is no longer valid — ask the presenter for a new one": "La tua copia per il pubblico non è più valida — chiedine una nuova al relatore",
"You left the show — reopen this file to rejoin": "Hai lasciato la sessione — riapri questo file per rientrare",
+ "Unnumbered": "Senza numero",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Resta nella presentazione ma non occupa un numero di pagina: il campo pagina continua quello della diapositiva precedente. Per una rivelazione costruita in più passaggi morph, o una scheda che non deve contare.",
+ "Unnumbered — in the show, continues the previous page number": "Senza numero — nella presentazione, continua il numero di pagina precedente",
+ "Reveal step": "Passo di rivelazione",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Nascosto fino a quella pressione di → durante la presentazione; ← lo nasconde di nuovo. Assegna lo stesso passo a più elementi per rivelarli insieme.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Anima al clic: nascosto fino all’n-esimo → su questa diapositiva (0 = visibile con la diapositiva)",
+ "hidden": "nascosta",
+ "unnumbered": "senza numero",
}
diff --git a/slides/src/i18n/ja.ts b/slides/src/i18n/ja.ts
index a6e76794..0cef4436 100644
--- a/slides/src/i18n/ja.ts
+++ b/slides/src/i18n/ja.ts
@@ -803,4 +803,12 @@ export const ja: Catalog = {
"The show has ended — this copy stays a working deck": "ショーは終了しました — このコピーは引き続きデッキとして使えます",
"Your audience copy is no longer valid — ask the presenter for a new one": "この観客用コピーは無効になりました — 発表者に新しいものを依頼してください",
"You left the show — reopen this file to rejoin": "ショーから退出しました — 再参加するにはこのファイルを開き直してください",
+ "Unnumbered": "番号なし",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "ショーには含まれますがページ番号を取りません — ページフィールドは前のスライドの番号を引き継ぎます。複数のモーフステップで構成した段階表示や、数えないカードに。",
+ "Unnumbered — in the show, continues the previous page number": "番号なし — ショーに含まれ、前のページ番号を引き継ぎます",
+ "Reveal step": "表示ステップ",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "プレゼン中、その回数目の → を押すまで非表示。← で再び隠れます。複数の要素に同じステップを設定すると一緒に表示されます。",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "クリックでアニメーション:このスライドで n 回目の → まで非表示(0 = スライドと同時に表示)",
+ "hidden": "非表示",
+ "unnumbered": "番号なし",
}
diff --git a/slides/src/i18n/packed.ts b/slides/src/i18n/packed.ts
index c73b4ff7..4dc84331 100644
--- a/slides/src/i18n/packed.ts
+++ b/slides/src/i18n/packed.ts
@@ -809,4 +809,12 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"The show has ended — this copy stays a working deck": ["ショーは終了しました — このコピーは引き続きデッキとして使えます","演示已结束 — 此副本仍是可用的演示文稿","簡報已結束 — 此副本仍是可用的簡報","La sesión ha terminado — esta copia sigue siendo una presentación útil","La séance est terminée — cette copie reste une présentation utilisable","Die Vorführung ist beendet — diese Kopie bleibt ein nutzbares Deck","La sessione è terminata — questa copia resta una presentazione utilizzabile","A sessão terminou — esta cópia continua a ser uma apresentação utilizável"],
"Your audience copy is no longer valid — ask the presenter for a new one": ["この観客用コピーは無効になりました — 発表者に新しいものを依頼してください","你的观众副本已失效 — 请向演讲者索取新的副本","你的觀眾副本已失效 — 請向講者索取新的副本","Tu copia para el público ya no es válida — pide una nueva al presentador","Votre copie pour le public n’est plus valide — demandez-en une nouvelle au présentateur","Ihre Publikumskopie ist nicht mehr gültig — bitten Sie um eine neue","La tua copia per il pubblico non è più valida — chiedine una nuova al relatore","A sua cópia para o público já não é válida — peça uma nova ao apresentador"],
"You left the show — reopen this file to rejoin": ["ショーから退出しました — 再参加するにはこのファイルを開き直してください","你已退出演示 — 重新打开此文件即可重新加入","你已退出簡報 — 重新開啟此檔案即可重新加入","Has salido de la sesión — vuelve a abrir este archivo para volver a unirte","Vous avez quitté la séance — rouvrez ce fichier pour la rejoindre","Sie haben die Vorführung verlassen — öffnen Sie die Datei erneut, um wieder beizutreten","Hai lasciato la sessione — riapri questo file per rientrare","Saiu da sessão — volte a abrir este ficheiro para regressar"],
+ "Unnumbered": ["番号なし","不编号","不編號","Sin número","Sans numéro","Ohne Nummer","Senza numero","Sem número"],
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": ["ショーには含まれますがページ番号を取りません — ページフィールドは前のスライドの番号を引き継ぎます。複数のモーフステップで構成した段階表示や、数えないカードに。","仍在放映中,但不占用页码 — 页码字段沿用上一张幻灯片的页码。适用于用多个变形步骤构成的逐步展示,或不应计数的卡片。","仍在放映中,但不佔用頁碼 — 頁碼欄位沿用上一張投影片的頁碼。適用於用多個變形步驟構成的逐步展示,或不應計數的卡片。","Permanece en la presentación pero no ocupa número de página: el campo de página continúa el de la diapositiva anterior. Para una revelación construida en varios pasos con morph, o una tarjeta que no debe contar.","Reste dans la présentation mais ne prend pas de numéro de page : le champ de page prolonge celui de la diapositive précédente. Pour une révélation construite en plusieurs étapes morph, ou une carte qui ne doit pas compter.","Bleibt in der Vorführung, erhält aber keine Seitenzahl — das Seitenfeld führt die der vorherigen Folie fort. Für eine schrittweise Enthüllung aus mehreren Morph-Folien oder eine Karte, die nicht zählen soll.","Resta nella presentazione ma non occupa un numero di pagina: il campo pagina continua quello della diapositiva precedente. Per una rivelazione costruita in più passaggi morph, o una scheda che non deve contare.","Fica na apresentação mas não ocupa número de página — o campo de página continua o do slide anterior. Para uma revelação construída em vários passos com morph, ou um cartão que não deve contar."],
+ "Unnumbered — in the show, continues the previous page number": ["番号なし — ショーに含まれ、前のページ番号を引き継ぎます","不编号 — 在放映中,沿用上一页的页码","不編號 — 在放映中,沿用上一頁的頁碼","Sin número — en la presentación, continúa el número de página anterior","Sans numéro — dans la présentation, prolonge le numéro de page précédent","Ohne Nummer — in der Vorführung, führt die vorherige Seitenzahl fort","Senza numero — nella presentazione, continua il numero di pagina precedente","Sem número — na apresentação, continua o número de página anterior"],
+ "Reveal step": ["表示ステップ","显示步骤","顯示步驟","Paso de revelado","Étape de révélation","Aufdeckschritt","Passo di rivelazione","Passo de revelação"],
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": ["プレゼン中、その回数目の → を押すまで非表示。← で再び隠れます。複数の要素に同じステップを設定すると一緒に表示されます。","演示时按到该次 → 之前保持隐藏;按 ← 会再次隐藏。给多个元素设置相同步骤可一起显示。","簡報時按到該次 → 之前保持隱藏;按 ← 會再次隱藏。給多個元素設定相同步驟可一起顯示。","Oculto hasta esa pulsación de → al presentar; ← lo vuelve a ocultar. Da a varios elementos el mismo paso para revelarlos juntos.","Masqué jusqu’à cet appui sur → pendant la présentation ; ← le masque à nouveau. Donnez la même étape à plusieurs éléments pour les révéler ensemble.","Beim Präsentieren bis zu diesem Druck auf → verborgen; ← verbirgt es wieder. Geben Sie mehreren Elementen denselben Schritt, um sie zusammen aufzudecken.","Nascosto fino a quella pressione di → durante la presentazione; ← lo nasconde di nuovo. Assegna lo stesso passo a più elementi per rivelarli insieme.","Oculto até essa pressão de → ao apresentar; ← volta a ocultá-lo. Dê o mesmo passo a vários elementos para os revelar em conjunto."],
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": ["クリックでアニメーション:このスライドで n 回目の → まで非表示(0 = スライドと同時に表示)","单击时动画:在此幻灯片上按第 n 次 → 之前隐藏(0 = 随幻灯片显示)","點擊時動畫:在此投影片上按第 n 次 → 之前隱藏(0 = 隨投影片顯示)","Animar al hacer clic: oculto hasta la n-ésima → en esta diapositiva (0 = visible con la diapositiva)","Animer au clic : masqué jusqu’au n-ième → sur cette diapositive (0 = visible avec la diapositive)","Beim Klick animieren: bis zum n-ten → auf dieser Folie verborgen (0 = mit der Folie sichtbar)","Anima al clic: nascosto fino all’n-esimo → su questa diapositiva (0 = visibile con la diapositiva)","Animar ao clicar: oculto até ao n-ésimo → neste slide (0 = visível com o slide)"],
+ "hidden": ["非表示","已隐藏","已隱藏","oculta","masquée","ausgeblendet","nascosta","oculto"],
+ "unnumbered": ["番号なし","不编号","不編號","sin número","sans numéro","ohne Nummer","senza numero","sem número"],
}
diff --git a/slides/src/i18n/packs/ar.ts b/slides/src/i18n/packs/ar.ts
index ce06bdd9..173d798e 100644
--- a/slides/src/i18n/packs/ar.ts
+++ b/slides/src/i18n/packs/ar.ts
@@ -749,4 +749,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "تم فتح {name} — ‏⌘S سيحفظ نسخة",
"⌘S asks where to save, then rewrites that file in place": "‏⌘S يسأل عن مكان الحفظ ثم يعيد كتابة ذلك الملف في مكانه",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} نسخة فارغة من Bento وليس عرضًا محفوظًا. افتحه بمفرده لبدء عرض جديد.",
+ "Unnumbered": "بدون رقم",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "تبقى في العرض لكن لا تأخذ رقم صفحة — حقل الصفحة يواصل رقم الشريحة السابقة. لكشفٍ مبني على عدة خطوات تحوّل، أو لبطاقة لا ينبغي أن تُحتسب.",
+ "Unnumbered — in the show, continues the previous page number": "بدون رقم — في العرض، تواصل رقم الصفحة السابقة",
+ "Reveal step": "خطوة الكشف",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "مخفي حتى تلك الضغطة على سهم التالي أثناء العرض؛ سهم السابق يخفيه من جديد. أعطِ عدة عناصر الخطوة نفسها لكشفها معًا.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "تحريك عند النقر: مخفي حتى الضغطة رقم n على سهم التالي في هذه الشريحة (0 = يظهر مع الشريحة)",
+ "hidden": "مخفية",
+ "unnumbered": "بدون رقم",
}
diff --git a/slides/src/i18n/packs/bn.ts b/slides/src/i18n/packs/bn.ts
index 3153161e..0dc3dc03 100644
--- a/slides/src/i18n/packs/bn.ts
+++ b/slides/src/i18n/packs/bn.ts
@@ -752,4 +752,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} খোলা হয়েছে — ⌘S একটি অনুলিপি সংরক্ষণ করবে",
"⌘S asks where to save, then rewrites that file in place": "⌘S কোথায় সংরক্ষণ করবে জিজ্ঞাসা করে, তারপর সেই ফাইলটি জায়গাতেই পুনর্লিখন করে",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} সংরক্ষিত উপস্থাপনা নয়, Bento-র একটি খালি অনুলিপি। নতুন শুরু করতে এটি আলাদাভাবে খুলুন।",
+ "Unnumbered": "সংখ্যাহীন",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "শোতে থাকে কিন্তু পৃষ্ঠা নম্বর নেয় না — পৃষ্ঠা ক্ষেত্রটি আগের স্লাইডের নম্বর চালিয়ে যায়। কয়েকটি মর্ফ ধাপে তৈরি প্রকাশের জন্য, বা যে কার্ড গণনায় ধরা উচিত নয়।",
+ "Unnumbered — in the show, continues the previous page number": "সংখ্যাহীন — শোতে আছে, আগের পৃষ্ঠা নম্বর চালিয়ে যায়",
+ "Reveal step": "প্রকাশ ধাপ",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "উপস্থাপনার সময় → এর সেই চাপ পর্যন্ত লুকানো; ← আবার লুকিয়ে দেয়। একসাথে প্রকাশ করতে একাধিক উপাদানকে একই ধাপ দিন।",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "ক্লিকে অ্যানিমেট: এই স্লাইডে n-তম → পর্যন্ত লুকানো (0 = স্লাইডের সাথে দেখানো)",
+ "hidden": "লুকানো",
+ "unnumbered": "সংখ্যাহীন",
}
diff --git a/slides/src/i18n/packs/da.ts b/slides/src/i18n/packs/da.ts
index c4ee4f37..191ec7e6 100644
--- a/slides/src/i18n/packs/da.ts
+++ b/slides/src/i18n/packs/da.ts
@@ -741,4 +741,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} åbnet — ⌘S gemmer en kopi",
"⌘S asks where to save, then rewrites that file in place": "⌘S spørger hvor der skal gemmes og overskriver derefter den fil direkte",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} er en tom kopi af Bento, ikke en gemt præsentation. Åbn den alene for at begynde en.",
+ "Unnumbered": "Unummereret",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Bliver i showet, men tager intet sidetal — sidefeltet fortsætter det forrige dias'. Til en afsløring bygget som flere morph-trin, eller et kort der ikke skal tælle.",
+ "Unnumbered — in the show, continues the previous page number": "Unummereret — i showet, fortsætter det forrige sidetal",
+ "Reveal step": "Afsløringstrin",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Skjult indtil det tryk på → under præsentationen; ← skjuler det igen. Giv flere elementer samme trin for at afsløre dem sammen.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animér ved klik: skjult indtil det n'te → på dette dias (0 = vises med diasset)",
+ "hidden": "skjult",
+ "unnumbered": "unummereret",
}
diff --git a/slides/src/i18n/packs/fa.ts b/slides/src/i18n/packs/fa.ts
index c438347c..fe25a84c 100644
--- a/slides/src/i18n/packs/fa.ts
+++ b/slides/src/i18n/packs/fa.ts
@@ -745,4 +745,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} باز شد — ‏⌘S یک رونوشت ذخیره می‌کند",
"⌘S asks where to save, then rewrites that file in place": "‏⌘S محل ذخیره را می‌پرسد و سپس آن پرونده را در جای خود بازنویسی می‌کند",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} یک رونوشت خالی از Bento است، نه ارائه‌ای ذخیره‌شده. برای شروع، آن را جداگانه باز کنید.",
+ "Unnumbered": "بدون شماره",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "در نمایش می‌ماند اما شماره صفحه نمی‌گیرد — فیلد صفحه، شماره اسلاید قبلی را ادامه می‌دهد. برای آشکارسازی‌ای که از چند گام مورف ساخته شده، یا کارتی که نباید شمرده شود.",
+ "Unnumbered — in the show, continues the previous page number": "بدون شماره — در نمایش، شماره صفحه قبلی را ادامه می‌دهد",
+ "Reveal step": "گام آشکارسازی",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "هنگام ارائه تا آن فشار روی کلید بعدی پنهان است؛ کلید قبلی دوباره پنهانش می‌کند. برای آشکار کردن هم‌زمان، به چند عنصر یک گام بدهید.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "انیمیشن با کلیک: تا n‌امین فشار کلید بعدی در این اسلاید پنهان است (۰ = همراه اسلاید نمایش داده می‌شود)",
+ "hidden": "پنهان",
+ "unnumbered": "بدون شماره",
}
diff --git a/slides/src/i18n/packs/fi.ts b/slides/src/i18n/packs/fi.ts
index 97b5ec1f..260a2189 100644
--- a/slides/src/i18n/packs/fi.ts
+++ b/slides/src/i18n/packs/fi.ts
@@ -746,4 +746,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} avattu — ⌘S tallentaa kopion",
"⌘S asks where to save, then rewrites that file in place": "⌘S kysyy tallennuspaikan ja korvaa sitten kyseisen tiedoston suoraan",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} on tyhjä kopio Bentosta, ei tallennettu esitys. Avaa se yksinään aloittaaksesi.",
+ "Unnumbered": "Numeroimaton",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Pysyy esityksessä mutta ei saa sivunumeroa — sivukenttä jatkaa edellisen dian numeroa. Useasta morph-vaiheesta rakennettuun paljastukseen tai korttiin, jota ei lasketa.",
+ "Unnumbered — in the show, continues the previous page number": "Numeroimaton — esityksessä, jatkaa edellistä sivunumeroa",
+ "Reveal step": "Paljastusvaihe",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Piilossa siihen →-painallukseen asti esitettäessä; ← piilottaa sen uudelleen. Anna usealle elementille sama vaihe, niin ne paljastuvat yhdessä.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animoi napsautuksella: piilossa tämän dian n:nteen →-painallukseen asti (0 = näkyy dian mukana)",
+ "hidden": "piilotettu",
+ "unnumbered": "numeroimaton",
}
diff --git a/slides/src/i18n/packs/fil.ts b/slides/src/i18n/packs/fil.ts
index a4410f0c..a61d4a9e 100644
--- a/slides/src/i18n/packs/fil.ts
+++ b/slides/src/i18n/packs/fil.ts
@@ -758,4 +758,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "Binuksan ang {name} — magse-save ng kopya ang ⌘S",
"⌘S asks where to save, then rewrites that file in place": "Tatanungin ng ⌘S kung saan ise-save, pagkatapos ay muling isusulat ang file na iyon sa mismong lugar nito",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "Ang {name} ay walang lamang kopya ng Bento, hindi isang naka-save na deck. Buksan ito nang hiwalay upang magsimula.",
+ "Unnumbered": "Walang numero",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Nananatili sa palabas pero walang numero ng pahina — ipinagpapatuloy ng field ng pahina ang numero ng nakaraang slide. Para sa pagbubunyag na binuo sa ilang morph step, o card na hindi dapat mabilang.",
+ "Unnumbered — in the show, continues the previous page number": "Walang numero — nasa palabas, ipinagpapatuloy ang nakaraang numero ng pahina",
+ "Reveal step": "Hakbang ng pagbubunyag",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Nakatago hanggang sa pindot na iyon ng → habang nagpe-present; itinatago itong muli ng ←. Bigyan ng parehong hakbang ang ilang elemento para sabay silang lumitaw.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "I-animate sa click: nakatago hanggang sa ika-n na → sa slide na ito (0 = ipinapakita kasabay ng slide)",
+ "hidden": "nakatago",
+ "unnumbered": "walang numero",
}
diff --git a/slides/src/i18n/packs/he.ts b/slides/src/i18n/packs/he.ts
index 13f0c121..ed7df44c 100644
--- a/slides/src/i18n/packs/he.ts
+++ b/slides/src/i18n/packs/he.ts
@@ -742,4 +742,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} נפתח — ‏⌘S ישמור עותק",
"⌘S asks where to save, then rewrites that file in place": "‏⌘S שואל היכן לשמור ואז משכתב את הקובץ הזה במקומו",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} הוא עותק ריק של Bento, לא מצגת שמורה. פתחו אותו בנפרד כדי להתחיל אחת.",
+ "Unnumbered": "ללא מספר",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "נשאר במצגת אך אינו מקבל מספר עמוד — שדה העמוד ממשיך את מספר השקופית הקודמת. לחשיפה הבנויה מכמה שלבי מורף, או לכרטיס שאינו אמור להיספר.",
+ "Unnumbered — in the show, continues the previous page number": "ללא מספר — במצגת, ממשיך את מספר העמוד הקודם",
+ "Reveal step": "שלב חשיפה",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "מוסתר עד אותה לחיצה על מקש הבא בזמן ההצגה; מקש הקודם מסתיר אותו שוב. תנו לכמה רכיבים את אותו שלב כדי לחשוף אותם יחד.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "הנפשה בלחיצה: מוסתר עד הלחיצה ה-n על מקש הבא בשקופית זו (0 = מוצג עם השקופית)",
+ "hidden": "מוסתרת",
+ "unnumbered": "ללא מספר",
}
diff --git a/slides/src/i18n/packs/hi.ts b/slides/src/i18n/packs/hi.ts
index 386c1338..c3a396e1 100644
--- a/slides/src/i18n/packs/hi.ts
+++ b/slides/src/i18n/packs/hi.ts
@@ -749,4 +749,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} खोला गया — ⌘S एक प्रतिलिपि सहेजेगा",
"⌘S asks where to save, then rewrites that file in place": "⌘S पूछता है कहाँ सहेजना है, फिर उस फ़ाइल को उसी जगह पुनः लिखता है",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} सहेजी गई प्रस्तुति नहीं, Bento की एक खाली प्रतिलिपि है। नई शुरू करने के लिए इसे अलग से खोलें।",
+ "Unnumbered": "बिना नंबर",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "शो में रहती है पर पेज नंबर नहीं लेती — पेज फ़ील्ड पिछली स्लाइड का नंबर जारी रखता है। कई मॉर्फ़ चरणों से बने प्रकटीकरण के लिए, या ऐसे कार्ड के लिए जिसे गिना नहीं जाना चाहिए।",
+ "Unnumbered — in the show, continues the previous page number": "बिना नंबर — शो में है, पिछला पेज नंबर जारी रखती है",
+ "Reveal step": "प्रकटीकरण चरण",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "प्रस्तुति के दौरान → के उस दबाव तक छिपा; ← इसे फिर छिपा देता है। एक साथ प्रकट करने के लिए कई तत्वों को एक ही चरण दें।",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "क्लिक पर एनिमेट: इस स्लाइड पर n-वें → तक छिपा (0 = स्लाइड के साथ दिखे)",
+ "hidden": "छिपी हुई",
+ "unnumbered": "बिना नंबर",
}
diff --git a/slides/src/i18n/packs/id.ts b/slides/src/i18n/packs/id.ts
index 2de01f9b..5153ab7a 100644
--- a/slides/src/i18n/packs/id.ts
+++ b/slides/src/i18n/packs/id.ts
@@ -739,4 +739,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} dibuka — ⌘S akan menyimpan salinan",
"⌘S asks where to save, then rewrites that file in place": "⌘S menanyakan lokasi penyimpanan, lalu menimpa berkas itu di tempatnya",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} adalah salinan kosong Bento, bukan presentasi tersimpan. Buka tersendiri untuk memulai.",
+ "Unnumbered": "Tanpa nomor",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Tetap dalam pertunjukan tetapi tidak mengambil nomor halaman — bidang halaman melanjutkan nomor slide sebelumnya. Untuk pengungkapan yang dibangun dari beberapa langkah morph, atau kartu yang tidak seharusnya dihitung.",
+ "Unnumbered — in the show, continues the previous page number": "Tanpa nomor — dalam pertunjukan, melanjutkan nomor halaman sebelumnya",
+ "Reveal step": "Langkah pengungkapan",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Tersembunyi hingga tekanan → itu saat presentasi; ← menyembunyikannya lagi. Beri beberapa elemen langkah yang sama agar muncul bersama.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animasikan saat klik: tersembunyi hingga → ke-n pada slide ini (0 = tampil bersama slide)",
+ "hidden": "tersembunyi",
+ "unnumbered": "tanpa nomor",
}
diff --git a/slides/src/i18n/packs/ko.ts b/slides/src/i18n/packs/ko.ts
index cb443a95..f22e8711 100644
--- a/slides/src/i18n/packs/ko.ts
+++ b/slides/src/i18n/packs/ko.ts
@@ -733,4 +733,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} 열림 — ⌘S는 사본을 저장합니다",
"⌘S asks where to save, then rewrites that file in place": "⌘S는 저장 위치를 물은 다음 그 파일을 제자리에서 덮어씁니다",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name}은(는) 저장된 덱이 아니라 Bento의 빈 사본입니다. 새로 시작하려면 따로 여세요.",
+ "Unnumbered": "번호 없음",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "쇼에는 포함되지만 페이지 번호를 차지하지 않습니다 — 페이지 필드는 이전 슬라이드의 번호를 이어갑니다. 여러 모프 단계로 만든 단계별 공개나, 세지 않아야 할 카드에 사용합니다.",
+ "Unnumbered — in the show, continues the previous page number": "번호 없음 — 쇼에 포함되며 이전 페이지 번호를 이어갑니다",
+ "Reveal step": "공개 단계",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "발표 중 해당 횟수의 → 를 누를 때까지 숨겨집니다. ← 는 다시 숨깁니다. 여러 요소에 같은 단계를 주면 함께 나타납니다.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "클릭 시 애니메이션: 이 슬라이드에서 n번째 → 까지 숨김 (0 = 슬라이드와 함께 표시)",
+ "hidden": "숨김",
+ "unnumbered": "번호 없음",
}
diff --git a/slides/src/i18n/packs/ms.ts b/slides/src/i18n/packs/ms.ts
index a412938f..f088bf0a 100644
--- a/slides/src/i18n/packs/ms.ts
+++ b/slides/src/i18n/packs/ms.ts
@@ -742,4 +742,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} dibuka — ⌘S akan menyimpan salinan",
"⌘S asks where to save, then rewrites that file in place": "⌘S bertanya di mana hendak menyimpan, kemudian menulis ganti fail itu di tempatnya",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} ialah salinan kosong Bento, bukan pembentangan tersimpan. Buka ia berasingan untuk memulakan.",
+ "Unnumbered": "Tanpa nombor",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Kekal dalam persembahan tetapi tidak mengambil nombor halaman — medan halaman meneruskan nombor slaid sebelumnya. Untuk pendedahan yang dibina daripada beberapa langkah morph, atau kad yang tidak patut dikira.",
+ "Unnumbered — in the show, continues the previous page number": "Tanpa nombor — dalam persembahan, meneruskan nombor halaman sebelumnya",
+ "Reveal step": "Langkah pendedahan",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Tersembunyi sehingga tekanan → itu semasa membentang; ← menyembunyikannya semula. Beri beberapa elemen langkah yang sama supaya muncul bersama.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animasikan apabila diklik: tersembunyi sehingga → ke-n pada slaid ini (0 = dipaparkan bersama slaid)",
+ "hidden": "tersembunyi",
+ "unnumbered": "tanpa nombor",
}
diff --git a/slides/src/i18n/packs/nb.ts b/slides/src/i18n/packs/nb.ts
index b7bbd1a7..27603d5c 100644
--- a/slides/src/i18n/packs/nb.ts
+++ b/slides/src/i18n/packs/nb.ts
@@ -743,4 +743,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} åpnet — ⌘S lagrer en kopi",
"⌘S asks where to save, then rewrites that file in place": "⌘S spør hvor den skal lagres og skriver deretter over den filen direkte",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} er en tom kopi av Bento, ikke en lagret presentasjon. Åpne den alene for å begynne en.",
+ "Unnumbered": "Unummerert",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Blir i visningen, men tar ikke sidetall — sidefeltet fortsetter det forrige lysbildets. For en avsløring bygget som flere morph-trinn, eller et kort som ikke skal telle.",
+ "Unnumbered — in the show, continues the previous page number": "Unummerert — i visningen, fortsetter forrige sidetall",
+ "Reveal step": "Avsløringstrinn",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Skjult til det trykket på → under presentasjonen; ← skjuler det igjen. Gi flere elementer samme trinn for å avsløre dem sammen.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animer ved klikk: skjult til det n-te → på dette lysbildet (0 = vises med lysbildet)",
+ "hidden": "skjult",
+ "unnumbered": "unummerert",
}
diff --git a/slides/src/i18n/packs/nl.ts b/slides/src/i18n/packs/nl.ts
index 1c6120ba..decdb2bc 100644
--- a/slides/src/i18n/packs/nl.ts
+++ b/slides/src/i18n/packs/nl.ts
@@ -737,4 +737,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} geopend — ⌘S bewaart een kopie",
"⌘S asks where to save, then rewrites that file in place": "⌘S vraagt waar op te slaan en overschrijft dat bestand daarna rechtstreeks",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} is een lege kopie van Bento, geen opgeslagen presentatie. Open het apart om er een te beginnen.",
+ "Unnumbered": "Ongenummerd",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Blijft in de show maar krijgt geen paginanummer — het paginaveld zet het nummer van de vorige dia voort. Voor een onthulling opgebouwd uit meerdere morph-stappen, of een kaart die niet mag meetellen.",
+ "Unnumbered — in the show, continues the previous page number": "Ongenummerd — in de show, zet het vorige paginanummer voort",
+ "Reveal step": "Onthulstap",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Verborgen tot die druk op → tijdens het presenteren; ← verbergt het weer. Geef meerdere elementen dezelfde stap om ze samen te onthullen.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animeren bij klik: verborgen tot de n-de → op deze dia (0 = zichtbaar met de dia)",
+ "hidden": "verborgen",
+ "unnumbered": "ongenummerd",
}
diff --git a/slides/src/i18n/packs/pl.ts b/slides/src/i18n/packs/pl.ts
index dc3dffef..7ebac1e6 100644
--- a/slides/src/i18n/packs/pl.ts
+++ b/slides/src/i18n/packs/pl.ts
@@ -740,4 +740,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "Otwarto {name} — ⌘S zapisze kopię",
"⌘S asks where to save, then rewrites that file in place": "⌘S zapyta, gdzie zapisać, a następnie nadpisze ten plik w miejscu",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} to pusta kopia Bento, a nie zapisana prezentacja. Otwórz ją osobno, aby rozpocząć.",
+ "Unnumbered": "Bez numeru",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Pozostaje w pokazie, ale nie zajmuje numeru strony — pole strony kontynuuje numer poprzedniego slajdu. Do odsłaniania zbudowanego z kilku kroków morfowania lub karty, która nie powinna być liczona.",
+ "Unnumbered — in the show, continues the previous page number": "Bez numeru — w pokazie, kontynuuje poprzedni numer strony",
+ "Reveal step": "Krok odsłaniania",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Ukryty do tego naciśnięcia → podczas prezentacji; ← ukrywa go ponownie. Nadaj kilku elementom ten sam krok, aby odsłonić je razem.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animuj po kliknięciu: ukryty do n-tego → na tym slajdzie (0 = widoczny wraz ze slajdem)",
+ "hidden": "ukryty",
+ "unnumbered": "bez numeru",
}
diff --git a/slides/src/i18n/packs/ru.ts b/slides/src/i18n/packs/ru.ts
index 0f4629a3..cd865748 100644
--- a/slides/src/i18n/packs/ru.ts
+++ b/slides/src/i18n/packs/ru.ts
@@ -741,4 +741,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "Открыт {name} — ⌘S сохранит копию",
"⌘S asks where to save, then rewrites that file in place": "⌘S спросит, куда сохранить, а затем перезапишет этот файл на месте",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} — пустая копия Bento, а не сохранённая презентация. Откройте её отдельно, чтобы начать.",
+ "Unnumbered": "Без номера",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Остаётся в показе, но не занимает номер страницы — поле страницы продолжает номер предыдущего слайда. Для раскрытия, собранного из нескольких шагов морфинга, или карточки, которую не нужно считать.",
+ "Unnumbered — in the show, continues the previous page number": "Без номера — в показе, продолжает предыдущий номер страницы",
+ "Reveal step": "Шаг раскрытия",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Скрыт до этого нажатия → во время показа; ← снова скрывает. Задайте нескольким элементам один шаг, чтобы раскрыть их вместе.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Анимация по щелчку: скрыт до n-го → на этом слайде (0 = показывается вместе со слайдом)",
+ "hidden": "скрыт",
+ "unnumbered": "без номера",
}
diff --git a/slides/src/i18n/packs/sv.ts b/slides/src/i18n/packs/sv.ts
index b80ce292..1b387884 100644
--- a/slides/src/i18n/packs/sv.ts
+++ b/slides/src/i18n/packs/sv.ts
@@ -738,4 +738,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} öppnad — ⌘S sparar en kopia",
"⌘S asks where to save, then rewrites that file in place": "⌘S frågar var den ska sparas och skriver sedan över den filen direkt",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} är en tom kopia av Bento, inte en sparad presentation. Öppna den för sig för att börja en.",
+ "Unnumbered": "Onumrerad",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Stannar i visningen men tar inget sidnummer — sidfältet fortsätter föregående bilds nummer. För ett avslöjande byggt som flera morph-steg, eller ett kort som inte ska räknas.",
+ "Unnumbered — in the show, continues the previous page number": "Onumrerad — i visningen, fortsätter föregående sidnummer",
+ "Reveal step": "Avslöjandesteg",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Dold fram till det trycket på → under presentationen; ← döljer det igen. Ge flera element samma steg för att avslöja dem tillsammans.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animera vid klick: dold fram till det n:te → på den här bilden (0 = visas med bilden)",
+ "hidden": "dold",
+ "unnumbered": "onumrerad",
}
diff --git a/slides/src/i18n/packs/th.ts b/slides/src/i18n/packs/th.ts
index 602d1e9d..956757eb 100644
--- a/slides/src/i18n/packs/th.ts
+++ b/slides/src/i18n/packs/th.ts
@@ -743,4 +743,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "เปิด {name} แล้ว — ⌘S จะบันทึกสำเนา",
"⌘S asks where to save, then rewrites that file in place": "⌘S จะถามที่บันทึก แล้วเขียนทับไฟล์นั้นในที่เดิม",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} เป็นสำเนาเปล่าของ Bento ไม่ใช่งานนำเสนอที่บันทึกไว้ เปิดแยกต่างหากเพื่อเริ่มงานใหม่",
+ "Unnumbered": "ไม่มีเลขหน้า",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "ยังอยู่ในการนำเสนอแต่ไม่นับเลขหน้า — ช่องเลขหน้าจะใช้เลขของสไลด์ก่อนหน้าต่อ สำหรับการเปิดเผยที่สร้างจากหลายขั้นมอร์ฟ หรือการ์ดที่ไม่ควรนับ",
+ "Unnumbered — in the show, continues the previous page number": "ไม่มีเลขหน้า — อยู่ในการนำเสนอ ใช้เลขหน้าก่อนหน้าต่อ",
+ "Reveal step": "ขั้นการเปิดเผย",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "ซ่อนอยู่จนกว่าจะกด → ครั้งนั้นระหว่างนำเสนอ กด ← เพื่อซ่อนอีกครั้ง กำหนดขั้นเดียวกันให้หลายองค์ประกอบเพื่อให้ปรากฏพร้อมกัน",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "เคลื่อนไหวเมื่อคลิก: ซ่อนอยู่จนกว่าจะกด → ครั้งที่ n ในสไลด์นี้ (0 = แสดงพร้อมสไลด์)",
+ "hidden": "ซ่อน",
+ "unnumbered": "ไม่มีเลขหน้า",
}
diff --git a/slides/src/i18n/packs/tk.ts b/slides/src/i18n/packs/tk.ts
index 0fe637c5..5ef5b207 100644
--- a/slides/src/i18n/packs/tk.ts
+++ b/slides/src/i18n/packs/tk.ts
@@ -4,8 +4,10 @@
// never enters the module graph. scripts/build-i18n.mjs --packs emits it as
// downloadable JSON. See docs/i18n-packs.md.
//
-// Translator: Mekan Soltanov (github.com/msoltanov). Complete at 706/706.
-// Corrections go to the translator.
+// Translator: Mekan Soltanov (github.com/msoltanov). Complete at 706/706;
+// the eight strings for unnumbered slides and reveal steps (2026-09-13)
+// are machine-drafted, awaiting the translator's review. Corrections go
+// to the translator.
//
// Terminology follows the Latin-script conventions Turkmen speakers meet in
// localized office software (slaýd, prezentasiýa, ýerleşiş, element, geçiş,
@@ -760,4 +762,12 @@ export const strings: Catalog = {
"⌘S asks where to save, then rewrites that file in place": "⌘S nirä saklamalydygyny soraýar, soňra şol faýlyň üstüne göni ýazýar",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} saklanan prezentasiýa däl-de, Bento-nyň boş nusgasy. Täzesine başlamak üçin ony aýratyn açyň.",
"Your work auto-saves; restore earlier versions from Save → Version history.": "Işiňiz awtomatik saklanýar; öňki wersiýalary «Barada» → «Wersiýa taryhy» arkaly dikeldiň.",
+ "Unnumbered": "Belgisiz",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Görkezişde galýar, ýöne sahypa belgisini almaýar — sahypa meýdany öňki slaýdyň belgisini dowam etdirýär. Birnäçe morf ädiminden gurlan açyş üçin ýa-da sanalmaly däl kart üçin.",
+ "Unnumbered — in the show, continues the previous page number": "Belgisiz — görkezişde, öňki sahypa belgisini dowam etdirýär",
+ "Reveal step": "Açyş ädimi",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Prezentasiýa wagtynda → şol basyşyna çenli gizlin; ← ony ýene gizleýär. Bilelikde açmak üçin birnäçe elemente şol bir ädimi beriň.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Basylanda animasiýa: bu slaýdda n-nji → çenli gizlin (0 = slaýd bilen görkezilýär)",
+ "hidden": "gizlin",
+ "unnumbered": "belgisiz",
}
diff --git a/slides/src/i18n/packs/tr.ts b/slides/src/i18n/packs/tr.ts
index e3412310..bde6b38b 100644
--- a/slides/src/i18n/packs/tr.ts
+++ b/slides/src/i18n/packs/tr.ts
@@ -740,4 +740,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} açıldı — ⌘S bir kopya kaydedecek",
"⌘S asks where to save, then rewrites that file in place": "⌘S nereye kaydedileceğini sorar, sonra o dosyanın üzerine doğrudan yazar",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} kaydedilmiş bir sunu değil, Bento'nun boş bir kopyası. Yeni bir sunuya başlamak için onu tek başına açın.",
+ "Unnumbered": "Numarasız",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Gösteride kalır ama sayfa numarası almaz — sayfa alanı önceki slaydın numarasını sürdürür. Birkaç morf adımından oluşan bir açığa çıkarma ya da sayılmaması gereken bir kart için.",
+ "Unnumbered — in the show, continues the previous page number": "Numarasız — gösteride, önceki sayfa numarasını sürdürür",
+ "Reveal step": "Açığa çıkarma adımı",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Sunum sırasında → tuşuna o basışa kadar gizli; ← yeniden gizler. Birlikte açığa çıkarmak için birkaç öğeye aynı adımı verin.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Tıklayınca canlandır: bu slaytta n’inci → tuşuna kadar gizli (0 = slaytla birlikte gösterilir)",
+ "hidden": "gizli",
+ "unnumbered": "numarasız",
}
diff --git a/slides/src/i18n/packs/uk.ts b/slides/src/i18n/packs/uk.ts
index a32eb818..2502c2b0 100644
--- a/slides/src/i18n/packs/uk.ts
+++ b/slides/src/i18n/packs/uk.ts
@@ -749,4 +749,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "Відкрито {name} — ⌘S збереже копію",
"⌘S asks where to save, then rewrites that file in place": "⌘S запитає, куди зберегти, а потім перезапише цей файл на місці",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} — порожня копія Bento, а не збережена презентація. Відкрийте її окремо, щоб почати.",
+ "Unnumbered": "Без номера",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Залишається в показі, але не займає номер сторінки — поле сторінки продовжує номер попереднього слайда. Для розкриття, зібраного з кількох кроків морфінгу, або картки, яку не слід рахувати.",
+ "Unnumbered — in the show, continues the previous page number": "Без номера — у показі, продовжує попередній номер сторінки",
+ "Reveal step": "Крок розкриття",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Приховано до цього натискання → під час показу; ← знову приховує. Дайте кільком елементам один крок, щоб розкрити їх разом.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Анімація за клацанням: приховано до n-го → на цьому слайді (0 = показується разом зі слайдом)",
+ "hidden": "прихований",
+ "unnumbered": "без номера",
}
diff --git a/slides/src/i18n/packs/ur.ts b/slides/src/i18n/packs/ur.ts
index 867a00e6..a7ab549f 100644
--- a/slides/src/i18n/packs/ur.ts
+++ b/slides/src/i18n/packs/ur.ts
@@ -759,4 +759,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "{name} کھل گیا — ‏⌘S ایک نقل محفوظ کرے گا",
"⌘S asks where to save, then rewrites that file in place": "‏⌘S پوچھتا ہے کہاں محفوظ کرنا ہے، پھر اسی فائل کو اسی جگہ دوبارہ لکھتا ہے",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} محفوظ شدہ پیشکش نہیں بلکہ Bento کی خالی نقل ہے۔ نئی شروع کرنے کے لیے اسے الگ کھولیں۔",
+ "Unnumbered": "بغیر نمبر",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "شو میں رہتی ہے مگر صفحہ نمبر نہیں لیتی — صفحے کا خانہ پچھلی سلائیڈ کا نمبر جاری رکھتا ہے۔ کئی مورف مراحل سے بنی نمائش کے لیے، یا ایسے کارڈ کے لیے جسے گنا نہ جانا چاہیے۔",
+ "Unnumbered — in the show, continues the previous page number": "بغیر نمبر — شو میں ہے، پچھلا صفحہ نمبر جاری رکھتی ہے",
+ "Reveal step": "نمائش کا مرحلہ",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "پیش کرتے وقت اگلی کلید کی اس دبانے تک پوشیدہ؛ پچھلی کلید اسے دوبارہ چھپا دیتی ہے۔ ایک ساتھ دکھانے کے لیے کئی عناصر کو ایک ہی مرحلہ دیں۔",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "کلک پر حرکت: اس سلائیڈ پر اگلی کلید کی n ویں دبانے تک پوشیدہ (0 = سلائیڈ کے ساتھ دکھایا جائے)",
+ "hidden": "پوشیدہ",
+ "unnumbered": "بغیر نمبر",
}
diff --git a/slides/src/i18n/packs/vi.ts b/slides/src/i18n/packs/vi.ts
index 43e2052b..ea993a59 100644
--- a/slides/src/i18n/packs/vi.ts
+++ b/slides/src/i18n/packs/vi.ts
@@ -739,4 +739,12 @@ export const strings: Catalog = {
"Opened {name} — ⌘S will save a copy": "Đã mở {name} — ⌘S sẽ lưu một bản sao",
"⌘S asks where to save, then rewrites that file in place": "⌘S hỏi nơi lưu, rồi ghi đè tệp đó tại chỗ",
"{name} is an empty copy of Bento, not a saved deck. Open it on its own to start one.": "{name} là một bản sao trống của Bento, không phải bản trình chiếu đã lưu. Hãy mở riêng để bắt đầu.",
+ "Unnumbered": "Không đánh số",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Vẫn trong buổi trình chiếu nhưng không nhận số trang — trường số trang tiếp tục số của trang chiếu trước. Dành cho phần hé lộ dựng từ nhiều bước morph, hoặc một thẻ không nên được tính.",
+ "Unnumbered — in the show, continues the previous page number": "Không đánh số — trong buổi trình chiếu, tiếp tục số trang trước",
+ "Reveal step": "Bước hé lộ",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Ẩn cho đến lần nhấn → đó khi trình bày; ← ẩn lại. Đặt cùng một bước cho nhiều phần tử để hé lộ chúng cùng lúc.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Hoạt ảnh khi nhấp: ẩn cho đến lần nhấn → thứ n trên trang chiếu này (0 = hiện cùng trang chiếu)",
+ "hidden": "đã ẩn",
+ "unnumbered": "không đánh số",
}
diff --git a/slides/src/i18n/pt.ts b/slides/src/i18n/pt.ts
index ecc76187..776aa2d4 100644
--- a/slides/src/i18n/pt.ts
+++ b/slides/src/i18n/pt.ts
@@ -801,4 +801,12 @@ export const pt: Catalog = {
"The show has ended — this copy stays a working deck": "A sessão terminou — esta cópia continua a ser uma apresentação utilizável",
"Your audience copy is no longer valid — ask the presenter for a new one": "A sua cópia para o público já não é válida — peça uma nova ao apresentador",
"You left the show — reopen this file to rejoin": "Saiu da sessão — volte a abrir este ficheiro para regressar",
+ "Unnumbered": "Sem número",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "Fica na apresentação mas não ocupa número de página — o campo de página continua o do slide anterior. Para uma revelação construída em vários passos com morph, ou um cartão que não deve contar.",
+ "Unnumbered — in the show, continues the previous page number": "Sem número — na apresentação, continua o número de página anterior",
+ "Reveal step": "Passo de revelação",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "Oculto até essa pressão de → ao apresentar; ← volta a ocultá-lo. Dê o mesmo passo a vários elementos para os revelar em conjunto.",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "Animar ao clicar: oculto até ao n-ésimo → neste slide (0 = visível com o slide)",
+ "hidden": "oculto",
+ "unnumbered": "sem número",
}
diff --git a/slides/src/i18n/zh-Hans.ts b/slides/src/i18n/zh-Hans.ts
index 4d6c289b..a82f7b5d 100644
--- a/slides/src/i18n/zh-Hans.ts
+++ b/slides/src/i18n/zh-Hans.ts
@@ -803,4 +803,12 @@ export const zhHans: Catalog = {
"The show has ended — this copy stays a working deck": "演示已结束 — 此副本仍是可用的演示文稿",
"Your audience copy is no longer valid — ask the presenter for a new one": "你的观众副本已失效 — 请向演讲者索取新的副本",
"You left the show — reopen this file to rejoin": "你已退出演示 — 重新打开此文件即可重新加入",
+ "Unnumbered": "不编号",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "仍在放映中,但不占用页码 — 页码字段沿用上一张幻灯片的页码。适用于用多个变形步骤构成的逐步展示,或不应计数的卡片。",
+ "Unnumbered — in the show, continues the previous page number": "不编号 — 在放映中,沿用上一页的页码",
+ "Reveal step": "显示步骤",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "演示时按到该次 → 之前保持隐藏;按 ← 会再次隐藏。给多个元素设置相同步骤可一起显示。",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "单击时动画:在此幻灯片上按第 n 次 → 之前隐藏(0 = 随幻灯片显示)",
+ "hidden": "已隐藏",
+ "unnumbered": "不编号",
}
diff --git a/slides/src/i18n/zh-Hant.ts b/slides/src/i18n/zh-Hant.ts
index 83f456ff..4f9c02be 100644
--- a/slides/src/i18n/zh-Hant.ts
+++ b/slides/src/i18n/zh-Hant.ts
@@ -803,4 +803,12 @@ export const zhHant: Catalog = {
"The show has ended — this copy stays a working deck": "簡報已結束 — 此副本仍是可用的簡報",
"Your audience copy is no longer valid — ask the presenter for a new one": "你的觀眾副本已失效 — 請向講者索取新的副本",
"You left the show — reopen this file to rejoin": "你已退出簡報 — 重新開啟此檔案即可重新加入",
+ "Unnumbered": "不編號",
+ "Stays in the show but takes no page number — the page field continues the previous slide’s. For a reveal built as several morph steps, or a card that should not count.": "仍在放映中,但不佔用頁碼 — 頁碼欄位沿用上一張投影片的頁碼。適用於用多個變形步驟構成的逐步展示,或不應計數的卡片。",
+ "Unnumbered — in the show, continues the previous page number": "不編號 — 在放映中,沿用上一頁的頁碼",
+ "Reveal step": "顯示步驟",
+ "Hidden until that press of → while presenting; ← hides it again. Give several elements the same step to reveal them together.": "簡報時按到該次 → 之前保持隱藏;按 ← 會再次隱藏。給多個元素設定相同步驟可一起顯示。",
+ "Animate on click: hidden until the n-th → on this slide (0 = shown with the slide)": "點擊時動畫:在此投影片上按第 n 次 → 之前隱藏(0 = 隨投影片顯示)",
+ "hidden": "已隱藏",
+ "unnumbered": "不編號",
}
diff --git a/slides/src/model.ts b/slides/src/model.ts
index bd25c4e3..4254e193 100644
--- a/slides/src/model.ts
+++ b/slides/src/model.ts
@@ -55,6 +55,16 @@ export interface ElementBase {
enterDur?: number
/** stagger step within the entrance sequence; equal values enter together */
order?: number
+ /**
+ * Reveal step ("animate on click", discussion #282): 1 or more means the
+ * element is HIDDEN when the slide appears and revealed on the n-th → —
+ * running its `enter` then, or a plain fade when it has none; ← hides it
+ * again; → leaves the slide only once every step is shown. Arriving
+ * backward shows every step. Absent/0 = shown with the slide. Presentation
+ * state, not slides: one slide, one page number, one morph pairing. An
+ * older shell shows every element at once. Decisions in src/steps.ts.
+ */
+ step?: number
/** animate numeric parts of the text from 0 to their final value */
countUp?: boolean
/** continuous ambient motion (slow zoom, for full-bleed photos) */
@@ -390,6 +400,18 @@ export interface Slide {
* office-suite behaviour of counting it.
*/
hidden?: boolean
+ /**
+ * In the walk, but takes no page number. The arrow keys reach it like any
+ * slide; `{{page}}` on it shows the number of the slide before it, so it
+ * reads as a CONTINUATION of that page. For a build — three recommendations
+ * revealed one slide at a time with `morph` — the audience sees "18" three
+ * times instead of 18, 19, 20 (discussion #282); equally for an interstitial
+ * or a section card that should not count. Distinct from `hidden` (out of
+ * the walk) and from `stateOf` (a variant reached by link): this is the
+ * third answer to `paginates`, and the ONLY one that stays in `inLinearFlow`.
+ * Absent = counts, so every existing file is unchanged.
+ */
+ unnumbered?: boolean
/**
* present-mode hover behaviour:
* - focus-group: dim every element outside the hovered element's group
@@ -1147,11 +1169,12 @@ export function layoutElementIds(doc: BentoDoc): Set<string> {
*
* The single answer to that question — page fields, the presenter's counter,
* the sidebar — so they cannot disagree about which slide is "4". Interactive
- * states never count; hidden slides count only when the deck opts into
+ * states never count; an `unnumbered` slide never counts (it continues the
+ * page before it); hidden slides count only when the deck opts into
* office-suite numbering.
*/
export const paginates = (s: Slide, doc: BentoDoc): boolean =>
- !s.stateOf && (!s.hidden || !!doc.present?.numberHidden)
+ !s.stateOf && !s.unnumbered && (!s.hidden || !!doc.present?.numberHidden)
/**
* Is this slide part of the linear walk?
diff --git a/slides/src/modelkeys.generated.ts b/slides/src/modelkeys.generated.ts
index 4e047cef..cc9aba83 100644
--- a/slides/src/modelkeys.generated.ts
+++ b/slides/src/modelkeys.generated.ts
@@ -11,7 +11,7 @@
export const MODEL_KEYS = {
"doc": ["assets", "blobs", "collab", "docId", "fonts", "format", "layouts", "meta", "modified", "present", "readonly", "size", "slides", "template", "theme", "title", "version"],
- "slide": ["background", "comments", "elements", "hidden", "hover", "id", "name", "notes", "stateOf", "themeRefs", "transition"],
+ "slide": ["background", "comments", "elements", "hidden", "hover", "id", "name", "notes", "stateOf", "themeRefs", "transition", "unnumbered"],
"comment": ["at", "author", "elementId", "id", "replies", "resolved", "text", "x", "y"],
"element": {
"text": ["align", "backdropFilter", "blend", "blur", "color", "colorGradient", "fontFamily", "fontSize", "fontWeight", "fx", "group", "groupId", "h", "html", "id", "letterSpacing", "lineHeight", "link", "morphId", "opacity", "placeholder", "role", "rotation", "shadow", "showOnHover", "textStroke", "themeRefs", "type", "valign", "w", "x", "y"],
@@ -22,7 +22,7 @@ export const MODEL_KEYS = {
"table": ["backdropFilter", "blend", "blur", "columns", "fx", "group", "groupId", "h", "header", "id", "link", "morphId", "opacity", "role", "rotation", "rows", "shadow", "showOnHover", "style", "themeRefs", "type", "w", "x", "y"],
"media": ["autoplay", "backdropFilter", "blend", "blur", "controls", "fit", "fx", "group", "groupId", "h", "id", "kind", "link", "loop", "morphId", "muted", "opacity", "poster", "radius", "role", "rotation", "shadow", "showOnHover", "src", "themeRefs", "type", "w", "x", "y"],
},
- "fx": ["ambient", "countUp", "enter", "enterDur", "ken", "loop", "order"],
+ "fx": ["ambient", "countUp", "enter", "enterDur", "ken", "loop", "order", "step"],
"fxKen": ["dir", "duration", "scale"],
"fxLoop": ["delay", "distance", "duration", "ease", "path", "speeds", "type"],
"shadow": ["blur", "color", "x", "y"],
diff --git a/slides/src/present.ts b/slides/src/present.ts
index 7a70b937..fc55bb77 100644
--- a/slides/src/present.ts
+++ b/slides/src/present.ts
@@ -17,6 +17,7 @@ import { t } from './i18n'
import { lsGet, lsSet } from '../../kernel/src/storage.ts'
import type { ShowEvent, ShowVerbs } from '../../kernel/src/sync/session.ts'
import { FollowState, laserDue } from './follow'
+import { StepState, stepOf, shownAt } from './steps'
import { offlineEnabled } from './update'
const MORPH_DURATION_DEFAULT = 0.65
@@ -140,13 +141,53 @@ export function startPresentation(
const p = doc.slides.findIndex((s) => s.id === pid)
return p >= 0 ? p : i
}
+ // ——— reveal steps (fx.step): → reveals the next step before it leaves the
+ // slide, ← hides the last one before it leaves. Decisions in steps.ts.
+ const steps = new StepState<SlideElement>()
+ /** Hide/show every stepped element of a section for the current step. */
+ const applyStep = (section: HTMLElement, slide: Slide, step: number) => {
+ for (const el of slide.elements ?? []) {
+ if (!stepOf(el)) continue
+ const node = section.querySelector<HTMLElement>(`[data-el-id="${CSS.escape(el.id)}"]`)
+ node?.classList.toggle('bento-step-hidden', !shownAt(el, step))
+ }
+ }
+ const currentSection = () => deck.getCurrentSlide() as HTMLElement | null
+ const revealStep = (r: { step: number; reveal: SlideElement[] }) => {
+ const cur = deck.getIndices().h
+ const section = currentSection()
+ if (!section) return
+ applyStep(section, doc.slides[cur], r.step)
+ if (!reduceMotion) runEnterFx(doc.slides[cur], section, new Set(r.reveal.map((el) => el.id)), true)
+ sendNav(cur)
+ updateSpeakerControls()
+ }
+ const hideStep = (r: { step: number; hide: SlideElement[] }) => {
+ const cur = deck.getIndices().h
+ const section = currentSection()
+ if (!section) return
+ for (const el of r.hide) {
+ const node = section.querySelector<HTMLElement>(`[data-el-id="${CSS.escape(el.id)}"]`)
+ if (!node) continue
+ anim.killTweensOf(node)
+ applyElementFrame(node, el)
+ resetXform(node)
+ }
+ applyStep(section, doc.slides[cur], r.step)
+ sendNav(cur)
+ updateSpeakerControls()
+ }
const goNext = () => {
+ const r = steps.next()
+ if (r.kind === 'step') return revealStep(r)
const cur = deck.getIndices().h
for (let i = (isState(cur) ? anchorOf(cur) : cur) + 1; i < doc.slides.length; i++) {
if (!isState(i)) return deck.slide(i, 0)
}
}
const goPrev = () => {
+ const r = steps.prev()
+ if (r.kind === 'step') return hideStep(r)
const cur = deck.getIndices().h
if (isState(cur)) return deck.slide(anchorOf(cur), 0)
for (let i = cur - 1; i >= 0; i--) {
@@ -154,6 +195,7 @@ export function startPresentation(
}
}
const hasNext = () => {
+ if (steps.hasNext()) return true
const cur = deck.getIndices().h
for (let i = (isState(cur) ? anchorOf(cur) : cur) + 1; i < doc.slides.length; i++) {
if (!isState(i)) return true
@@ -161,6 +203,7 @@ export function startPresentation(
return false
}
const hasPrev = () => {
+ if (steps.hasPrev()) return true
const cur = deck.getIndices().h
if (isState(cur)) return true // right-swipe returns to the parent slide
for (let i = cur - 1; i >= 0; i--) {
@@ -727,7 +770,7 @@ export function startPresentation(
}
const sendNav = (idx: number) => {
if (!showOn) return
- bc?.presenter?.verbs()?.nav({ id: doc.slides[idx]?.id, i: visibleIndex(idx), lock: showLock })
+ bc?.presenter?.verbs()?.nav({ id: doc.slides[idx]?.id, i: visibleIndex(idx), lock: showLock, step: steps.step })
}
// Second-screen placement is set up in the EDITOR (properties panel) before
@@ -766,7 +809,10 @@ export function startPresentation(
const cur = deck.getIndices().h
const anchor = isState(cur) ? anchorOf(cur) : cur
const count = d.querySelector('.sv-count')
- if (count) count.textContent = `${visibleIndex(cur)} / ${visibleTotal}`
+ if (count) {
+ const max = doc.slides[cur] ? Math.max(0, ...doc.slides[cur].elements.map(stepOf)) : 0
+ count.textContent = `${visibleIndex(cur)} / ${visibleTotal}` + (max ? ` · ${steps.step}/${max}` : '')
+ }
d.querySelectorAll<HTMLElement>('.sv-thumb').forEach((th) => {
const on = Number(th.dataset.idx) === anchor
th.classList.toggle('current', on)
@@ -1270,6 +1316,11 @@ export function startPresentation(
// (Reveal keeps sections mounted) — start clean before any fx runs.
sweepSymbolSpans(to)
const forward = toIdx > fromIdx
+ // Reveal steps: forward arrives with them hidden, backward fully shown —
+ // unless the audience is following a presenter who named the step.
+ steps.enter(doc.slides[toIdx]?.elements ?? [], forward)
+ if (pendingStep !== null) { steps.set(pendingStep); pendingStep = null }
+ applyStep(to, doc.slides[toIdx], steps.step)
// Morph forward into a morph slide, and un-morph when backing out of one.
const morphing =
from &&
@@ -1281,7 +1332,7 @@ export function startPresentation(
runMorphArrivalCountUps(doc.slides[fromIdx], doc.slides[toIdx], to)
}
}
- else if (!reduceMotion) runEnterFx(doc.slides[toIdx], to)
+ else if (!reduceMotion) runEnterFx(doc.slides[toIdx], to, undefined, false, steps.step)
if (!reduceMotion) {
runAmbientFx(doc.slides[toIdx], to)
restartSvgAnimations(to)
@@ -1318,6 +1369,32 @@ export function startPresentation(
if (deckReady) deck.slide(index, 0)
else pendingIndex = index
}
+ // A presenter's nav names the step too. Same slide: apply it here (reveal
+ // forward with the entrance, hide backward); another slide: park it for
+ // slidechanged, which enters the slide and then sets it.
+ let pendingStep: number | null = null
+ const followStep = (index: number, step: number | undefined) => {
+ if (typeof step !== 'number') return
+ if (index !== deck.getIndices().h) { pendingStep = step; return }
+ const was = steps.step
+ steps.set(step)
+ if (steps.step === was) return
+ const section = currentSection()
+ const slide = doc.slides[index]
+ if (!section || !slide) return
+ if (steps.step > was) {
+ applyStep(section, slide, steps.step)
+ const ids = new Set(slide.elements.filter((el) => stepOf(el) > was && stepOf(el) <= steps.step).map((el) => el.id))
+ if (!reduceMotion) runEnterFx(slide, section, ids, true)
+ } else {
+ for (const el of slide.elements) {
+ if (stepOf(el) <= steps.step || stepOf(el) > was) continue
+ const node = section.querySelector<HTMLElement>(`[data-el-id="${CSS.escape(el.id)}"]`)
+ if (node) { anim.killTweensOf(node); applyElementFrame(node, el); resetXform(node) }
+ }
+ applyStep(section, slide, steps.step)
+ }
+ }
// ——— the audience side: follow the presenter ———
// The decisions live in follow.ts (rig-driven); this is the DOM around them.
@@ -1370,7 +1447,7 @@ export function startPresentation(
overlay.querySelector<HTMLElement>('.bento-show-card')?.setAttribute('hidden', '')
const jump = follow.nav(doc.slides, p)
updateFollowChip()
- if (jump !== null) goTo(jump)
+ if (jump !== null) { followStep(jump, (p as { step?: number }).step); goTo(jump) }
} else if (e.kind === 'black') {
follow.applyLock(p.lock)
updateFollowChip()
@@ -1397,8 +1474,10 @@ export function startPresentation(
setTimeout(onResize, 600)
const first = slidesEl.children[startIndex] as HTMLElement | undefined
if (first) {
+ steps.enter(doc.slides[startIndex]?.elements ?? [], true)
+ applyStep(first, doc.slides[startIndex], steps.step)
if (!reduceMotion) {
- runEnterFx(doc.slides[startIndex], first)
+ runEnterFx(doc.slides[startIndex], first, undefined, false, steps.step)
runAmbientFx(doc.slides[startIndex], first)
restartSvgAnimations(first)
}
@@ -1510,10 +1589,18 @@ function enterSpec(kind: EnterKind, enterDur?: number) {
}
/** Staggered entrance animations + count-ups for the incoming slide. */
-function runEnterFx(slide: Slide, section: HTMLElement) {
+/**
+ * `only` restricts the run to those element ids (a reveal step); `revealing`
+ * gives an element with no `fx.enter` of its own a plain fade, because a
+ * stepped element that simply pops in reads as a glitch, not a reveal. `step`
+ * `atStep` (slide entry) leaves elements hidden by the step counter alone — they run
+ * their entrance when their step comes.
+ */
+function runEnterFx(slide: Slide, section: HTMLElement, only?: Set<string>, revealing = false, atStep = 0) {
const entering = fxNodes(slide, section)
// reveal-set members are shown/hidden by hover, never by entrance tweens
- .filter(([el]) => (el.fx!.enter || el.fx!.countUp) && !el.showOnHover)
+ .filter(([el]) => (el.fx!.enter || el.fx!.countUp || (revealing && only?.has(el.id))) && !el.showOnHover)
+ .filter(([el]) => (only ? only.has(el.id) : shownAt(el, atStep)))
.sort((a, b) => (a[0].fx!.order ?? 0) - (b[0].fx!.order ?? 0))
// Delay derives from fx.order when set (equal order ⇒ elements enter
// together — how a diagram reveals band-by-band), else from list position.
@@ -1523,8 +1610,9 @@ function runEnterFx(slide: Slide, section: HTMLElement) {
// motion-path loops own the transform — an entrance tween on the same
// node would fight it and freeze the dot off its path
if (fx.loop?.type === 'motion-path') return
- if (fx.enter) {
- const spec = enterSpec(fx.enter, fx.enterDur)
+ const kind = fx.enter ?? (revealing ? 'fade' : undefined)
+ if (kind) {
+ const spec = enterSpec(kind, fx.enterDur)
anim.fromTo(
node,
spec.from,
@@ -1533,7 +1621,7 @@ function runEnterFx(slide: Slide, section: HTMLElement) {
x: 0,
y: 0,
duration: spec.duration,
- delay: 0.12 + Math.min(step, 24) * 0.05,
+ delay: (revealing ? 0 : 0.12) + Math.min(step, 24) * 0.05,
ease: spec.ease,
},
)
diff --git a/slides/src/steps.ts b/slides/src/steps.ts
new file mode 100644
index 00000000..ba715d46
--- /dev/null
+++ b/slides/src/steps.ts
@@ -0,0 +1,88 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+/**
+ * Reveal steps — "animate on click" within one slide (discussion #282).
+ *
+ * An element with `fx.step = n` (n ≥ 1) is hidden when the slide appears and
+ * revealed on the n-th press of →, running its entrance then; ← hides the
+ * last revealed step again; only when every step is shown does → move on to
+ * the next slide. Elements without a step (or step 0) are there from the
+ * start. Arriving BACKWARD lands with every step shown, the way PowerPoint and
+ * reveal.js do, so ← walks a talk back through the same frames it went
+ * forward through.
+ *
+ * This is presentation STATE, not slides: the deck stays one slide, the page
+ * number stays one number, morph pairing and `stateOf` see one slide. An
+ * older shell that does not know `fx.step` shows every element at once —
+ * the same slide, fully revealed — which is what additivity promises.
+ *
+ * present.ts owns the DOM (hide/show, the entrance tween); this owns the
+ * decisions, so scripts/test-slides-steps.ts can drive them without a DOM.
+ */
+
+export type Stepped = { id: string; fx?: { step?: number } }
+
+/** The element's step: 0 = shown with the slide. Non-integers and negatives
+ * are treated as 0 rather than trusted — the shape gate bounds the value,
+ * but a hand-written file may carry anything. */
+export const stepOf = (el: Stepped): number => {
+ const s = el.fx?.step
+ return typeof s === 'number' && Number.isFinite(s) && s > 0 ? Math.floor(s) : 0
+}
+
+/** The last step on the slide — 0 when nothing is stepped. Steps need not be
+ * contiguous (1, 2, 5 is fine: the gaps are pressed through in one go). */
+export const maxStep = (elements: ReadonlyArray<Stepped>): number =>
+ elements.reduce((m, el) => Math.max(m, stepOf(el)), 0)
+
+/** The steps actually present, ascending — what → walks through. */
+export const stepsOf = (elements: ReadonlyArray<Stepped>): number[] =>
+ [...new Set(elements.map(stepOf).filter((s) => s > 0))].sort((a, b) => a - b)
+
+/** Is this element visible at the given step? */
+export const shownAt = (el: Stepped, step: number): boolean => stepOf(el) <= step
+
+/**
+ * The step counter for the slide on screen. `next()`/`prev()` answer what a
+ * keypress does: advance within the slide ('step', with the elements that
+ * just appeared or disappeared) or leave it ('slide').
+ */
+export class StepState<E extends Stepped = Stepped> {
+ step = 0
+ private steps: number[] = []
+ private elements: ReadonlyArray<E> = []
+
+ /** A slide arrived. Forward = start hidden; backward = everything shown. */
+ enter(elements: ReadonlyArray<E>, forward: boolean) {
+ this.elements = elements
+ this.steps = stepsOf(elements)
+ this.step = forward ? 0 : (this.steps[this.steps.length - 1] ?? 0)
+ }
+
+ /** Jump to an exact step (the audience following a presenter's nav). */
+ set(step: number) {
+ const max = this.steps[this.steps.length - 1] ?? 0
+ this.step = Math.max(0, Math.min(max, Math.floor(step)))
+ }
+
+ hasNext(): boolean { return this.steps.some((s) => s > this.step) }
+ hasPrev(): boolean { return this.step > 0 }
+
+ next(): { kind: 'slide' } | { kind: 'step'; step: number; reveal: E[] } {
+ const to = this.steps.find((s) => s > this.step)
+ if (to === undefined) return { kind: 'slide' }
+ const from = this.step
+ this.step = to
+ // everything between the old step and the new one appears together
+ return { kind: 'step', step: to, reveal: this.elements.filter((el) => stepOf(el) > from && stepOf(el) <= to) }
+ }
+
+ prev(): { kind: 'slide' } | { kind: 'step'; step: number; hide: E[] } {
+ if (this.step === 0) return { kind: 'slide' }
+ const below = this.steps.filter((s) => s < this.step)
+ const to = below[below.length - 1] ?? 0
+ const from = this.step
+ this.step = to
+ return { kind: 'step', step: to, hide: this.elements.filter((el) => stepOf(el) > to && stepOf(el) <= from) }
+ }
+}
diff --git a/slides/src/styles.css b/slides/src/styles.css
index 2228bc69..85140734 100644
--- a/slides/src/styles.css
+++ b/slides/src/styles.css
@@ -525,6 +525,9 @@ a.ed-btn { text-decoration: none; } /* the update block's "What's new" link is
text-decoration: line-through;
opacity: 0.75;
}
+/* An unnumbered slide is in the show but continues the previous page number:
+ the sidebar shows that number, dimmed, with a trailing dot as the marker. */
+.ed-thumb-num.ed-num-unnumbered { opacity: 0.6; font-style: italic; }
.ed-stage .bento-el { cursor: grab; }
.ed-stage .bento-el:active { cursor: grabbing; }
@@ -1684,6 +1687,11 @@ body.ed-col-resizing { cursor: col-resize; user-select: none; }
background: #000;
}
.bento-blackout[hidden] { display: none; }
+/* Reveal steps (fx.step): an element whose step has not come yet. Visibility,
+ not display — it keeps its box (nothing reflows when it appears), keeps
+ morph and layout measurements honest, and its entrance tween can start
+ from opacity 0 the moment the class comes off. Present-mode only. */
+.bento-present-overlay .bento-step-hidden { visibility: hidden !important; pointer-events: none; }
/* transient confirmation pill in present mode (e.g. Reduced motion on/off) */
.bento-present-toast {
diff --git a/slides/src/untrusted.ts b/slides/src/untrusted.ts
index df40ba7b..979a96af 100644
--- a/slides/src/untrusted.ts
+++ b/slides/src/untrusted.ts
@@ -247,6 +247,7 @@ const fx = shape(MODEL_KEYS.fx, {
enter: oneOf('fade-up', 'fade', 'fade-down', 'slide-left', 'slide-right', 'slide-up', 'slide-down'),
enterDur: num(0, 600),
order: num(-1e4, 1e4),
+ step: num(0, 1e4),
countUp: bool,
ambient: oneOf('kenburns'),
ken: shape(MODEL_KEYS.fxKen, {
@@ -482,7 +483,7 @@ const SLIDE_CHECKS: Record<string, Check> = {
// the shorthand's length — wide enough for a multi-stop linear-gradient(),
// still no url() reaching for the network from a pasted slide
background: color(LIMITS.scalar), notes: str(LIMITS.html),
- hidden: bool,
+ hidden: bool, unnumbered: bool,
transition: oneOf('none', 'fade', 'slide', 'zoom', 'morph'),
hover: shape(['type', 'dim', 'default'], {
type: oneOf('focus-group', 'reveal'), dim: num(0, 1), default: cssValue(),