@omercnet/paseo-queens 0.1.0-next.128.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -144,10 +144,6 @@ function QueensPopoverGame({
144
144
  ? theme.colors.statusDanger
145
145
  : theme.colors.foregroundMuted;
146
146
  const puzzleNumber = state.activePuzzleIndex + 1;
147
- const selectPuzzle = (index: number) => {
148
- const clampedIndex = Math.min(Math.max(index, 0), state.puzzles.length - 1);
149
- session.dispatch({ type: "select-puzzle", index: clampedIndex, now: Date.now() });
150
- };
151
147
 
152
148
  return (
153
149
  <View style={styles.root}>
@@ -231,19 +227,19 @@ function QueensPopoverGame({
231
227
  canUndo={progress.history.length > 0}
232
228
  canHint={!progress.solved}
233
229
  canReset={hasProgress}
234
- canGoPrevious={state.activePuzzleIndex > 0}
235
- canGoNext={state.activePuzzleIndex < state.puzzles.length - 1}
230
+ canGoPrevious={false}
231
+ canGoNext={false}
236
232
  saving={session.saving}
237
233
  disabled={session.saving}
238
234
  dense
239
- showNavigation
235
+ showNavigation={false}
240
236
  showSavingStatus={false}
241
237
  theme={theme}
242
238
  onUndo={() => session.dispatch({ type: "undo", now: Date.now() })}
243
239
  onHint={() => session.dispatch({ type: "hint", now: Date.now() })}
244
240
  onReset={() => session.dispatch({ type: "reset", now: Date.now() })}
245
- onPrevious={() => selectPuzzle(state.activePuzzleIndex - 1)}
246
- onNext={() => selectPuzzle(state.activePuzzleIndex + 1)}
241
+ onPrevious={IGNORE_GESTURE}
242
+ onNext={IGNORE_GESTURE}
247
243
  />
248
244
  </View>
249
245
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-queens",
3
- "version": "0.1.0-next.128.1",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "description": "A cross-platform Queens logic puzzle for Paseo.",
6
6
  "license": "MIT",