Adjust imports for @0x1eef/Quran
This commit is contained in:
parent
c61c6e77e3
commit
91ef95810c
12 changed files with 561 additions and 802 deletions
1342
package-lock.json
generated
1342
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -9,6 +9,7 @@
|
|||
"eslint:apply": "npx eslint --config etc/eslint.config.mjs --fix src/js/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@0x1eef/Quran": "file:./packages/typescript/Quran",
|
||||
"@preact/compat": "^17.1.2",
|
||||
"classnames": "^2.3",
|
||||
"preact": "^10.23.2",
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1d5150a4ab28c9cb72377324aaf1fc86e81d8fea
|
||||
Subproject commit 5bd37df63b5ec9007f6c8202f334137a0b4cb40c
|
|
@ -1,4 +1,4 @@
|
|||
import type { Surah, Ayah } from "Quran";
|
||||
import type { Surah, Ayah } from "@0x1eef/Quran";
|
||||
import { SoundOnIcon, SoundOffIcon } from "~/components/Icon";
|
||||
|
||||
export type TAudioStatus = "play" | "pause" | "wait" | "end";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import type { ReactNode } from "react";
|
||||
import type { TLocale } from "Quran";
|
||||
import type { TLocale } from "@0x1eef/Quran";
|
||||
import { Theme } from "~/hooks/useTheme";
|
||||
import { LanguageSelect, ThemeSelect } from "~/components/Select";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Quran, TLocale } from "Quran";
|
||||
import { Quran, TLocale } from "@0x1eef/Quran";
|
||||
import { Select } from "~/components/Select";
|
||||
|
||||
type Props = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { TLocale } from "Quran";
|
||||
import type { TLocale } from "@0x1eef/Quran";
|
||||
import { useTheme } from "~/hooks/useTheme";
|
||||
import { formatNumber, TFunction } from "~/lib/t";
|
||||
import { Arrow } from "~/components/Icon";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { Surah, Ayah, TAyat, TLocale } from "Quran";
|
||||
import type { Surah, Ayah, TAyat, TLocale } from "@0x1eef/Quran";
|
||||
import { formatNumber, TFunction } from "~/lib/t";
|
||||
|
||||
type Props = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { Surah, Ayah, TAyat, TLocale } from "Quran";
|
||||
import type { Surah, Ayah, TAyat, TLocale } from "@0x1eef/Quran";
|
||||
import { useTheme } from "~/hooks/useTheme";
|
||||
import { AudioControl, TAudioStatus } from "~/components/AudioControl";
|
||||
import { Head } from "~/components/Head";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { Surah, Ayah, TLocale } from "Quran";
|
||||
import type { Surah, Ayah, TLocale } from "@0x1eef/Quran";
|
||||
import { formatNumber } from "~/lib/t";
|
||||
|
||||
type Maybe<T> = T | null | undefined;
|
||||
|
|
|
@ -17,7 +17,7 @@ import { RandomSurah } from "~/components/RandomSurah";
|
|||
/**
|
||||
* import: libs
|
||||
*/
|
||||
import { Quran } from "Quran";
|
||||
import { Quran } from "@0x1eef/Quran";
|
||||
import { T } from "~/lib/t";
|
||||
import classNames from "classnames";
|
||||
import "core-js";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { TLocale } from "Quran";
|
||||
import type { TLocale } from "@0x1eef/Quran";
|
||||
|
||||
type PhraseMap<T> = {
|
||||
[key: string]: undefined | string | PhraseMap<T>;
|
||||
|
|
Loading…
Reference in a new issue