expose renderSandwich

This commit is contained in:
adueck 2023-01-14 17:40:12 +05:00
parent ea5196c803
commit db458f291c
7 changed files with 9 additions and 12 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "pashto-inflector", "name": "pashto-inflector",
"version": "5.3.3", "version": "5.3.4",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "pashto-inflector", "name": "pashto-inflector",
"version": "5.3.3", "version": "5.3.4",
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "pashto-inflector", "name": "pashto-inflector",
"version": "5.3.3", "version": "5.3.4",
"author": "lingdocs.com", "author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com", "homepage": "https://verbs.lingdocs.com",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/ps-react", "name": "@lingdocs/ps-react",
"version": "5.3.3", "version": "5.3.4",
"description": "Pashto inflector library module with React components", "description": "Pashto inflector library module with React components",
"main": "dist/components/library.js", "main": "dist/components/library.js",
"module": "dist/components/library.js", "module": "dist/components/library.js",

View File

@ -149,6 +149,9 @@ import {
import { import {
renderAPSelection, renderAPSelection,
} from "./src/phrase-building/render-ap"; } from "./src/phrase-building/render-ap";
import {
renderSandwich,
} from "./src/phrase-building/render-sandwich";
import { import {
humanReadableVerbForm, humanReadableVerbForm,
humanReadableEquativeTense, humanReadableEquativeTense,
@ -219,6 +222,7 @@ export {
makeLocativeAdverbSelection, makeLocativeAdverbSelection,
makeParticipleSelection, makeParticipleSelection,
randFromArray, randFromArray,
renderSandwich,
renderEP, renderEP,
renderVP, renderVP,
compileEP, compileEP,

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/inflect", "name": "@lingdocs/inflect",
"version": "5.3.3", "version": "5.3.4",
"description": "Pashto inflector library", "description": "Pashto inflector library",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/lib/library.d.ts", "types": "dist/lib/library.d.ts",

View File

@ -30,7 +30,6 @@ import {
kidsBlank, kidsBlank,
} from "../misc-helpers"; } from "../misc-helpers";
type BlankoutOptions = { type BlankoutOptions = {
equative?: boolean, equative?: boolean,
ba?: boolean, ba?: boolean,

View File

@ -38,12 +38,6 @@ export const sandwiches: T.Sandwich[] = [
after: { p: "لپاره", f: "lapaara" }, after: { p: "لپاره", f: "lapaara" },
e: "for", e: "for",
}, },
{
type: "sandwich",
before: { p: "د", f: "du" },
after: { p: "دپاره", f: "dupáara" },
e: "for",
},
{ {
type: "sandwich", type: "sandwich",
before: { p: "د", f: "du" }, before: { p: "د", f: "du" },