From 346a89df29538102f9112b9d6a44a5f0d7ee99a1 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Wed, 22 Jun 2022 18:52:09 -0500 Subject: [PATCH] up --- package.json | 2 +- src/components/vp-explorer/TensePicker.tsx | 2 +- src/components/vp-explorer/VPExplorer.tsx | 172 ++------------------ src/components/vp-explorer/VPPicker.tsx | 181 +++++++++++++++++++++ src/lib/phrase-building/blocks-utils.ts | 14 +- src/library.ts | 6 + 6 files changed, 217 insertions(+), 160 deletions(-) create mode 100644 src/components/vp-explorer/VPPicker.tsx diff --git a/package.json b/package.json index 7f6c4bb..759376c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "3.0.5", + "version": "3.0.6", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/components/vp-explorer/TensePicker.tsx b/src/components/vp-explorer/TensePicker.tsx index 3ba10a8..940f81c 100644 --- a/src/components/vp-explorer/TensePicker.tsx +++ b/src/components/vp-explorer/TensePicker.tsx @@ -177,7 +177,7 @@ function TensePicker(props: ({ : verbTenseOptions; const showImperativeOption = ("vps" in props && props.vps.verb.voice === "active") || ("vpsComplete" in props && props.vpsComplete.verb.voice !== "active"); - const canHaveFormula = "vps" in props; + const canHaveFormula = "vps" in props && props.mode !== "quiz"; return