@open-slide/core 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{build-CCZDC8eF.js → build-ZM7IfDO-.js} +1 -1
- package/dist/cli/bin.js +3 -3
- package/dist/{config-C7sZtiY2.js → config-BAZeaz2P.js} +248 -232
- package/dist/{config-D1bANimZ.d.ts → config-D_5nlXFU.d.ts} +6 -1
- package/dist/{dev-kLS_4CAI.js → dev-BQkNTG_t.js} +1 -1
- package/dist/format-CYOb2cAQ.js +1573 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +38 -4
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1135
- package/dist/{preview-DUkOjOx8.js → preview-D8hUtbRA.js} +1 -1
- package/dist/{types-Bvk1pM70.d.ts → types-AalTbxMj.d.ts} +17 -0
- package/dist/vite/index.d.ts +2 -2
- package/dist/vite/index.js +1 -1
- package/package.json +2 -1
- package/src/app/components/language-toggle.tsx +39 -0
- package/src/app/components/pptx-progress-toast.tsx +32 -0
- package/src/app/components/sidebar/sidebar-footer.tsx +51 -0
- package/src/app/components/sidebar/sidebar.tsx +8 -1
- package/src/app/lib/design-presets.ts +1 -1
- package/src/app/lib/export-pptx.ts +284 -0
- package/src/app/lib/locale-store.ts +67 -0
- package/src/app/lib/use-locale.ts +4 -16
- package/src/app/routes/slide.tsx +68 -0
- package/src/app/virtual.d.ts +1 -0
- package/src/locale/en.ts +19 -0
- package/src/locale/ja.ts +20 -0
- package/src/locale/types.ts +19 -0
- package/src/locale/zh-cn.ts +18 -0
- package/src/locale/zh-tw.ts +18 -0
- package/dist/en-hyGpmL1O.js +0 -375
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Locale } from "./types-
|
|
1
|
+
import { Locale } from "./types-AalTbxMj.js";
|
|
2
2
|
|
|
3
3
|
//#region src/config.d.ts
|
|
4
4
|
type OpenSlideBuildConfig = {
|
|
@@ -11,6 +11,11 @@ type OpenSlideConfig = {
|
|
|
11
11
|
themesDir?: string;
|
|
12
12
|
assetsDir?: string;
|
|
13
13
|
port?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Pick the UI language from the language switcher in the slide UI
|
|
16
|
+
* instead. When set, this only seeds the initial language until the user
|
|
17
|
+
* chooses one (their choice is then remembered locally).
|
|
18
|
+
*/
|
|
14
19
|
locale?: Locale;
|
|
15
20
|
build?: OpenSlideBuildConfig;
|
|
16
21
|
}; //#endregion
|