svelte-intlayer 9.3.3 → 9.4.0-canary.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/README.md CHANGED
@@ -327,4 +327,4 @@ Contribute on [GitHub](https://github.com/aymericzip/intlayer), [GitLab](https:/
327
327
 
328
328
  If you like Intlayer, give us a ⭐ on GitHub. It helps others discover the project! [See why GitHub Stars matter](https://github.com/aymericzip/intlayer/blob/main/CONTRIBUTING.md#why-github-stars-matter-).
329
329
 
330
- [![Star History Chart](https://api.star-history.com/svg?repos=aymericzip/intlayer&type=Date)](https://star-history.com/#aymericzip/intlayer&Date)
330
+ [![Star History Chart](https://star-history.dera.page/svg?repos=aymericzip/intlayer&type=Date)](https://star-history.dera.page/#aymericzip/intlayer&Date)
@@ -2,13 +2,13 @@ import type { LocalesValues } from '@intlayer/types/module_augmentation';
2
2
  /**
3
3
  * Get the locale cookie
4
4
  */
5
- export declare const localeInStorage: import("intlayer").Locale | undefined;
5
+ export declare const localeInStorage: import("@intlayer/types").Locale | undefined;
6
6
  /**
7
7
  * @deprecated Use localeInStorage instead
8
8
  *
9
9
  * Get the locale cookie
10
10
  */
11
- export declare const localeCookie: import("intlayer").Locale | undefined;
11
+ export declare const localeCookie: import("@intlayer/types").Locale | undefined;
12
12
  /**
13
13
  * Set the locale cookie
14
14
  */
@@ -1,3 +1,3 @@
1
1
  export declare const useCompact: () => import("svelte/store").Readable<(value: string | number, options?: (Intl.NumberFormatOptions & {
2
- locale?: import("intlayer").LocalesValues;
2
+ locale?: import("@intlayer/types").LocalesValues;
3
3
  }) | undefined) => string>;
@@ -1,3 +1,3 @@
1
1
  export declare const useCurrency: () => import("svelte/store").Readable<(value: string | number, options?: (Intl.NumberFormatOptions & {
2
- locale?: import("intlayer").LocalesValues;
2
+ locale?: import("@intlayer/types").LocalesValues;
3
3
  }) | undefined) => string>;
@@ -5,5 +5,5 @@
5
5
  * A store containing a date/time formatting function bound to the active locale.
6
6
  */
7
7
  export declare const useDate: () => import("svelte/store").Readable<(date: string | number | Date, options?: import("@intlayer/core/formatters").DateTimePreset | (Intl.DateTimeFormatOptions & {
8
- locale?: import("intlayer").LocalesValues;
8
+ locale?: import("@intlayer/types").LocalesValues;
9
9
  }) | undefined) => string>;
@@ -3,5 +3,5 @@ export declare const useList: () => import("svelte/store").Readable<(values: (st
3
3
  type?: "conjunction" | "disjunction" | "unit";
4
4
  style?: "long" | "short" | "narrow";
5
5
  } & {
6
- locale?: import("intlayer").LocalesValues;
6
+ locale?: import("@intlayer/types").LocalesValues;
7
7
  }) | undefined) => string>;
@@ -5,5 +5,5 @@
5
5
  * A store containing a number formatting function bound to the active locale.
6
6
  */
7
7
  export declare const useNumber: () => import("svelte/store").Readable<(value: string | number, args_1?: (Intl.NumberFormatOptions & {
8
- locale?: import("intlayer").LocalesValues;
8
+ locale?: import("@intlayer/types").LocalesValues;
9
9
  }) | undefined) => string>;
@@ -1,3 +1,3 @@
1
1
  export declare const usePercentage: () => import("svelte/store").Readable<(value: string | number, args_1?: (Intl.NumberFormatOptions & {
2
- locale?: import("intlayer").LocalesValues;
2
+ locale?: import("@intlayer/types").LocalesValues;
3
3
  }) | undefined) => string>;
@@ -1,4 +1,4 @@
1
1
  export declare const useRelativeTime: () => import("svelte/store").Readable<(from: string | number | Date, to?: string | number | Date | undefined, options?: (Intl.RelativeTimeFormatOptions & {
2
- locale?: import("intlayer").LocalesValues;
2
+ locale?: import("@intlayer/types").LocalesValues;
3
3
  unit?: Intl.RelativeTimeFormatUnit;
4
4
  }) | undefined) => string>;
@@ -1,3 +1,3 @@
1
1
  export declare const useUnit: () => import("svelte/store").Readable<(value: string | number, options?: (Intl.NumberFormatOptions & {
2
- locale?: import("intlayer").LocalesValues;
2
+ locale?: import("@intlayer/types").LocalesValues;
3
3
  }) | undefined) => string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-intlayer",
3
- "version": "9.3.3",
3
+ "version": "9.4.0-canary.0",
4
4
  "description": "Easily internationalize i18n your Svelte applications with type-safe multilingual content management.",
5
5
  "keywords": [
6
6
  "intlayer",
@@ -82,11 +82,11 @@
82
82
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
83
83
  },
84
84
  "dependencies": {
85
- "@intlayer/api": "9.3.2",
86
- "@intlayer/config": "9.3.3",
87
- "@intlayer/core": "9.3.3",
88
- "@intlayer/editor": "9.3.3",
89
- "@intlayer/types": "9.3.3"
85
+ "@intlayer/api": "9.4.0-canary.0",
86
+ "@intlayer/config": "9.4.0-canary.0",
87
+ "@intlayer/core": "9.4.0-canary.0",
88
+ "@intlayer/editor": "9.4.0-canary.0",
89
+ "@intlayer/types": "9.4.0-canary.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@sveltejs/adapter-auto": "7.0.1",
@@ -101,14 +101,14 @@
101
101
  "svelte-check": "4.7.5",
102
102
  "tsdown": "0.22.14",
103
103
  "typescript": "5.9.3",
104
- "vite": "8.2.1",
104
+ "vite": "8.2.2",
105
105
  "vitest": "4.1.11"
106
106
  },
107
107
  "peerDependencies": {
108
108
  "svelte": ">=5.0.0"
109
109
  },
110
110
  "optionalDependencies": {
111
- "@intlayer/analytics": "9.3.3"
111
+ "@intlayer/analytics": "9.4.0-canary.0"
112
112
  },
113
113
  "engines": {
114
114
  "node": ">=14.18"