From 8f559e06651992f539b3e5d476ed5121a4f96ce2 Mon Sep 17 00:00:00 2001
From: lingdocs <71590811+lingdocs@users.noreply.github.com>
Date: Wed, 27 Jul 2022 13:36:12 -0500
Subject: [PATCH] ability to avoid using tails on the roots and stems display
---
package.json | 2 +-
public/index.html | 1 +
src/components/verb-info/VerbInfo.tsx | 7 ++++---
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index 18c33a0..69c3c0a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@lingdocs/pashto-inflector",
- "version": "3.5.8",
+ "version": "3.5.9",
"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/public/index.html b/public/index.html
index 34750cf..94b7605 100644
--- a/public/index.html
+++ b/public/index.html
@@ -23,6 +23,7 @@
+
Pashto Verb Explorer
diff --git a/src/components/verb-info/VerbInfo.tsx b/src/components/verb-info/VerbInfo.tsx
index ede4e80..15b416e 100644
--- a/src/components/verb-info/VerbInfo.tsx
+++ b/src/components/verb-info/VerbInfo.tsx
@@ -39,11 +39,12 @@ const title: CSSProperties = {
marginTop: "0.5rem",
};
-export function RootsAndStems({ textOptions, info, hidePastParticiple, highlighted }: {
+export function RootsAndStems({ textOptions, info, hidePastParticiple, highlighted, noTails }: {
textOptions: T.TextOptions,
info: T.NonComboVerbInfo | T.PassiveRootsStems,
hidePastParticiple?: boolean,
highlighted?: T.RootsOrStemsToHighlight,
+ noTails?: boolean,
}) {
const hasPerfectiveSplit = !!(info.root.perfectiveSplit || info.stem.perfectiveSplit);
const showPersInf = hasPersInfs(info);
@@ -117,7 +118,7 @@ export function RootsAndStems({ textOptions, info, hidePastParticiple, highlight
@@ -129,7 +130,7 @@ export function RootsAndStems({ textOptions, info, hidePastParticiple, highlight