@fluenti/solid 0.6.0 → 0.6.1

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.
@@ -1,3 +1,3 @@
1
- import { CompileTimeT } from '../../core/src/index.ts';
1
+ import { CompileTimeT } from '@fluenti/core';
2
2
  export declare const t: CompileTimeT;
3
3
  //# sourceMappingURL=compile-time-t.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { Accessor } from 'solid-js';
2
- import { FluentiCoreConfig, Locale, LocalizedString, Messages, CompiledMessage, MessageDescriptor, DateFormatOptions, NumberFormatOptions, DiagnosticsConfig, CustomFormatter } from '../../core/src/index.ts';
2
+ import { FluentiCoreConfig, Locale, LocalizedString, Messages, CompiledMessage, MessageDescriptor, DateFormatOptions, NumberFormatOptions, DiagnosticsConfig, CustomFormatter } from '@fluenti/core';
3
3
  /** Chunk loader for lazy locale loading */
4
4
  export type ChunkLoader = (locale: string) => Promise<Record<string, CompiledMessage> | {
5
5
  default: Record<string, CompiledMessage>;
@@ -1,2 +1,2 @@
1
- export { msg } from '../../core/src/index.ts';
1
+ export { msg } from '@fluenti/core';
2
2
  //# sourceMappingURL=msg.d.ts.map
@@ -1,4 +1,4 @@
1
- import { PluralCategory } from '../../core/src/runtime.ts';
1
+ import { PluralCategory } from '@fluenti/core/runtime';
2
2
  export declare function resolvePropValue(value: unknown): unknown;
3
3
  export declare function resolveCompiledMessageId(id: string | undefined, message: string, context: string | undefined): string;
4
4
  export declare function buildPlainPluralMessage(forms: Partial<Record<PluralCategory, unknown>>, offset?: number): string | undefined;
@@ -1,6 +1,6 @@
1
- import { FluentiCoreInstanceFull, Locale, Messages, DateFormatOptions, NumberFormatOptions } from '../../core/src/index.ts';
2
- export { detectLocale, getSSRLocaleScript, getHydratedLocale, isRTL, getDirection } from '../../core/src/index.ts';
3
- export type { DetectLocaleOptions } from '../../core/src/index.ts';
1
+ import { FluentiCoreInstanceFull, Locale, Messages, DateFormatOptions, NumberFormatOptions } from '@fluenti/core';
2
+ export { detectLocale, getSSRLocaleScript, getHydratedLocale, isRTL, getDirection } from '@fluenti/core';
3
+ export type { DetectLocaleOptions } from '@fluenti/core';
4
4
  /**
5
5
  * Configuration for `createServerI18n`.
6
6
  */
@@ -1,3 +1,3 @@
1
- import { RuntimeGenerator } from '../../vite-plugin/src/index.ts';
1
+ import { RuntimeGenerator } from '@fluenti/vite-plugin';
2
2
  export declare const solidRuntimeGenerator: RuntimeGenerator;
3
3
  //# sourceMappingURL=solid-runtime.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { Accessor } from 'solid-js';
2
- import { FluentiCoreConfig, Locale, LocalizedString, Messages, CompiledMessage, MessageDescriptor, DateFormatOptions, NumberFormatOptions } from '../../core/src/index.ts';
2
+ import { FluentiCoreConfig, Locale, LocalizedString, Messages, CompiledMessage, MessageDescriptor, DateFormatOptions, NumberFormatOptions } from '@fluenti/core';
3
3
  /** Chunk loader for lazy locale loading */
4
4
  export type ChunkLoader = (locale: string) => Promise<Record<string, CompiledMessage> | {
5
5
  default: Record<string, CompiledMessage>;
@@ -1,6 +1,6 @@
1
1
  import { Plugin } from 'vite';
2
- import { FluentiPluginOptions } from '../../vite-plugin/src/index.ts';
3
- export type { FluentiPluginOptions as FluentiSolidOptions } from '../../vite-plugin/src/index.ts';
2
+ import { FluentiPluginOptions } from '@fluenti/vite-plugin';
3
+ export type { FluentiPluginOptions as FluentiSolidOptions } from '@fluenti/vite-plugin';
4
4
  /**
5
5
  * Fluenti SolidJS Vite plugin.
6
6
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluenti/solid",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "type": "module",
5
5
  "description": "SolidJS compile-time i18n — Trans/Plural/Select components, I18nProvider, useI18n",
6
6
  "homepage": "https://fluenti.dev",
@@ -95,8 +95,8 @@
95
95
  }
96
96
  },
97
97
  "dependencies": {
98
- "@fluenti/vite-plugin": "0.6.0",
99
- "@fluenti/core": "0.6.0"
98
+ "@fluenti/vite-plugin": "0.6.1",
99
+ "@fluenti/core": "0.6.1"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@solidjs/testing-library": "^0.8",