4.0.0 • Published 7 days ago
njamed-dictionary-maker v4.0.0
About Njamed Dictionary Maker
Njamed Dictionary Maker is one big component that makes a dictionary. It takes three props:
data: Dictionary | null;
theme: Theme | null;
appConfig: AppConfig | null;
These are defined as follows:
export type Dictionary = {
entities: {
SeeAlso: SeeAlsoDictionary;
HeadwordAudio: HeadwordAudioDictionary;
Video: VideoDictionary;
ExampleAudio: ExampleAudioDictionary;
Paradigm: ParadigmDictionary;
SemanticDomain: SemanticDomainDictionary;
Image: ImageDictionary;
Phrase: PhraseDictionary;
Sense: SenseDictionary;
SubEntry: SubEntryDictionary;
Entry: EntryDictionary;
AboutSection: AboutSectionDictionary;
};
collections: Collection[];
};
export type DictionaryKey = keyof Dictionary["entities"];
export type Theme = {
palette: {
primary: string;
secondary: string;
tertiary: string;
accent: string;
accentText: string;
green: string;
brown: string;
paper: string;
text: string;
lightText: string;
background: string;
border: string;
error: string;
success: string;
warning: string;
info: string;
};
typography: {
text1: string;
text2: string;
displayFontFamily: string;
};
};
export type AppConfig = {
title: string;
subtitle: string;
audioCloudSrc: string; // e.g. https://res.cloudinary.com/dykmwkpgw/video/upload/dictionary-name/
imgCloudSrc: string; // e.g. https://res.cloudinary.com/dykmwkpgw/image/upload/dictionary-name/
appIconSrc: string; // e.g. https://res.cloudinary.com/dykmwkpgw/image/upload/v1711414367/m2896qvzbcioesyxfvow.svg
icons: { [key: string]: string };
};
3.0.1
7 days ago
3.0.0
7 days ago
4.0.0
7 days ago
1.1.1
22 days ago
1.1.0
22 days ago
1.1.2
22 days ago
2.0.0
22 days ago
0.1.30
1 month ago
0.1.31
1 month ago
1.0.0
1 month ago
0.1.32
1 month ago
0.1.28
1 month ago
0.1.29
1 month ago
0.1.27
1 month ago
0.1.26
1 month ago
0.1.25
1 month ago
0.1.24
1 month ago
0.1.23
1 month ago
0.1.22
1 month ago
0.1.21
1 month ago
0.1.20
1 month ago
0.1.19
2 months ago
0.1.18
2 months ago
0.1.17
2 months ago
0.1.16
2 months ago
0.1.15
2 months ago
0.1.14
2 months ago
0.1.13
2 months ago
0.1.12
2 months ago
0.1.11
2 months ago
0.1.10
2 months ago
0.1.9
2 months ago
0.1.8
2 months ago
0.1.7
2 months ago
0.1.6
2 months ago
0.1.5
2 months ago
0.1.4
2 months ago
0.1.3
2 months ago
0.1.2
2 months ago
0.1.1
2 months ago
0.1.0
2 months ago