negodesign 0.0.22 → 0.0.23
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/i18n/config.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/translations.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/i18n/config.js
CHANGED
package/dist/i18n/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { derived, writable } from "svelte/store";
|
|
2
|
-
import { getMergedTranslations } from "./config
|
|
2
|
+
import { getMergedTranslations } from "./config";
|
|
3
3
|
/** Locale atual do sistema de internacionalização. Pode ser alterado diretamente. */
|
|
4
4
|
export const locale = writable("en");
|
|
5
5
|
function translate(currentLocale, key, vars) {
|
package/dist/index.d.ts
CHANGED
|
@@ -23,15 +23,15 @@ import SearchInput from "./components/core/search/SearchInput.svelte";
|
|
|
23
23
|
import NavMenu from "./components/core/nav/ui/nav-menu.svelte";
|
|
24
24
|
import NegoDesign from "./components/NegoDesign.svelte";
|
|
25
25
|
/** Store reativa do idioma atual. Altere com `$locale = "pt"`. */
|
|
26
|
-
export { locale } from "./i18n
|
|
26
|
+
export { locale } from "./i18n";
|
|
27
27
|
/** Lista de idiomas disponíveis. Atualizado automaticamente. */
|
|
28
|
-
export { locales } from "./i18n
|
|
28
|
+
export { locales } from "./i18n";
|
|
29
29
|
/** Função de tradução reativa. Use `$t("chave")` nos templates. */
|
|
30
|
-
export { t } from "./i18n
|
|
30
|
+
export { t } from "./i18n";
|
|
31
31
|
/** Retorna as traduções mescladas (base + customizadas). */
|
|
32
|
-
export { getMergedTranslations } from "./i18n/config
|
|
32
|
+
export { getMergedTranslations } from "./i18n/config";
|
|
33
33
|
/** Retorna a lista de idiomas disponíveis. */
|
|
34
|
-
export { getLocales } from "./i18n/config
|
|
34
|
+
export { getLocales } from "./i18n/config";
|
|
35
35
|
export {
|
|
36
36
|
/** Componente raiz do Negodesign. Configura o tema, idioma e traduções. @property {Record<string, Record<string, string>>} translations - Traduções customizadas @property {Snippet} children - Conteúdo da aplicação */
|
|
37
37
|
NegoDesign, NavMenu, SearchInput, SimpleBadgeCarousel, CarouselHero,
|
package/dist/index.js
CHANGED
|
@@ -23,15 +23,15 @@ import SearchInput from "./components/core/search/SearchInput.svelte";
|
|
|
23
23
|
import NavMenu from "./components/core/nav/ui/nav-menu.svelte";
|
|
24
24
|
import NegoDesign from "./components/NegoDesign.svelte";
|
|
25
25
|
/** Store reativa do idioma atual. Altere com `$locale = "pt"`. */
|
|
26
|
-
export { locale } from "./i18n
|
|
26
|
+
export { locale } from "./i18n";
|
|
27
27
|
/** Lista de idiomas disponíveis. Atualizado automaticamente. */
|
|
28
|
-
export { locales } from "./i18n
|
|
28
|
+
export { locales } from "./i18n";
|
|
29
29
|
/** Função de tradução reativa. Use `$t("chave")` nos templates. */
|
|
30
|
-
export { t } from "./i18n
|
|
30
|
+
export { t } from "./i18n";
|
|
31
31
|
/** Retorna as traduções mescladas (base + customizadas). */
|
|
32
|
-
export { getMergedTranslations } from "./i18n/config
|
|
32
|
+
export { getMergedTranslations } from "./i18n/config";
|
|
33
33
|
/** Retorna a lista de idiomas disponíveis. */
|
|
34
|
-
export { getLocales } from "./i18n/config
|
|
34
|
+
export { getLocales } from "./i18n/config";
|
|
35
35
|
export {
|
|
36
36
|
/** Componente raiz do Negodesign. Configura o tema, idioma e traduções. @property {Record<string, Record<string, string>>} translations - Traduções customizadas @property {Snippet} children - Conteúdo da aplicação */
|
|
37
37
|
NegoDesign, NavMenu, SearchInput, SimpleBadgeCarousel, CarouselHero,
|