preact-intlayer 9.4.3 → 9.4.4

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.
Files changed (90) hide show
  1. package/dist/types/IntlayerNode.d.ts +2 -3
  2. package/dist/types/IntlayerNode.d.ts.map +1 -1
  3. package/dist/types/UI/ContentSelector.d.ts +1 -2
  4. package/dist/types/UI/ContentSelector.d.ts.map +1 -1
  5. package/dist/types/analytics/AnalyticsProvider.d.ts +1 -2
  6. package/dist/types/analytics/AnalyticsProvider.d.ts.map +1 -1
  7. package/dist/types/analytics/exposureSink.d.ts +4 -5
  8. package/dist/types/analytics/exposureSink.d.ts.map +1 -1
  9. package/dist/types/analytics/useAnalytics.d.ts +1 -2
  10. package/dist/types/analytics/useAnalytics.d.ts.map +1 -1
  11. package/dist/types/analytics/useConversion.d.ts +2 -3
  12. package/dist/types/analytics/useConversion.d.ts.map +1 -1
  13. package/dist/types/analytics/useExperiment.d.ts +2 -3
  14. package/dist/types/analytics/useExperiment.d.ts.map +1 -1
  15. package/dist/types/client/IntlayerProvider.d.ts +5 -6
  16. package/dist/types/client/IntlayerProvider.d.ts.map +1 -1
  17. package/dist/types/client/t.d.ts +1 -2
  18. package/dist/types/client/t.d.ts.map +1 -1
  19. package/dist/types/client/useContent.d.ts +2 -4
  20. package/dist/types/client/useContent.d.ts.map +1 -1
  21. package/dist/types/client/useDictionary.d.ts +1 -2
  22. package/dist/types/client/useDictionary.d.ts.map +1 -1
  23. package/dist/types/client/useDictionaryAsync.d.ts +1 -2
  24. package/dist/types/client/useDictionaryAsync.d.ts.map +1 -1
  25. package/dist/types/client/useDictionaryDynamic.d.ts +1 -2
  26. package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
  27. package/dist/types/client/useIntlayer.d.ts +1 -2
  28. package/dist/types/client/useIntlayer.d.ts.map +1 -1
  29. package/dist/types/client/useLoadDynamic.d.ts +1 -2
  30. package/dist/types/client/useLoadDynamic.d.ts.map +1 -1
  31. package/dist/types/client/useLocale.d.ts +1 -2
  32. package/dist/types/client/useLocale.d.ts.map +1 -1
  33. package/dist/types/client/useLocaleBase.d.ts +3 -5
  34. package/dist/types/client/useLocaleBase.d.ts.map +1 -1
  35. package/dist/types/client/useLocaleStorage.d.ts +7 -9
  36. package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
  37. package/dist/types/client/usePathname.d.ts +1 -2
  38. package/dist/types/client/usePathname.d.ts.map +1 -1
  39. package/dist/types/client/useTraduction.d.ts +1 -2
  40. package/dist/types/client/useTraduction.d.ts.map +1 -1
  41. package/dist/types/editor/ContentSelector.d.ts +2 -3
  42. package/dist/types/editor/ContentSelector.d.ts.map +1 -1
  43. package/dist/types/editor/EditorProvider.d.ts +1 -2
  44. package/dist/types/editor/EditorProvider.d.ts.map +1 -1
  45. package/dist/types/editor/useEditor.d.ts +1 -2
  46. package/dist/types/editor/useEditor.d.ts.map +1 -1
  47. package/dist/types/format/useCompact.d.ts +2 -4
  48. package/dist/types/format/useCompact.d.ts.map +1 -1
  49. package/dist/types/format/useCurrency.d.ts +2 -4
  50. package/dist/types/format/useCurrency.d.ts.map +1 -1
  51. package/dist/types/format/useDate.d.ts +1 -2
  52. package/dist/types/format/useDate.d.ts.map +1 -1
  53. package/dist/types/format/useIntl.d.ts +1 -2
  54. package/dist/types/format/useIntl.d.ts.map +1 -1
  55. package/dist/types/format/useList.d.ts +2 -8
  56. package/dist/types/format/useList.d.ts.map +1 -1
  57. package/dist/types/format/useNumber.d.ts +2 -4
  58. package/dist/types/format/useNumber.d.ts.map +1 -1
  59. package/dist/types/format/usePercentage.d.ts +2 -4
  60. package/dist/types/format/usePercentage.d.ts.map +1 -1
  61. package/dist/types/format/useRelativeTime.d.ts +2 -4
  62. package/dist/types/format/useRelativeTime.d.ts.map +1 -1
  63. package/dist/types/format/useUnit.d.ts +2 -4
  64. package/dist/types/format/useUnit.d.ts.map +1 -1
  65. package/dist/types/getDictionary.d.ts +1 -2
  66. package/dist/types/getDictionary.d.ts.map +1 -1
  67. package/dist/types/getIntlayer.d.ts +1 -2
  68. package/dist/types/getIntlayer.d.ts.map +1 -1
  69. package/dist/types/html/HTMLProvider.d.ts +2 -3
  70. package/dist/types/html/HTMLProvider.d.ts.map +1 -1
  71. package/dist/types/html/HTMLRenderer.d.ts +5 -6
  72. package/dist/types/html/HTMLRenderer.d.ts.map +1 -1
  73. package/dist/types/html/types.d.ts +2 -3
  74. package/dist/types/html/types.d.ts.map +1 -1
  75. package/dist/types/markdown/MarkdownProvider.d.ts +3 -4
  76. package/dist/types/markdown/MarkdownProvider.d.ts.map +1 -1
  77. package/dist/types/markdown/MarkdownRenderer.d.ts +5 -6
  78. package/dist/types/markdown/MarkdownRenderer.d.ts.map +1 -1
  79. package/dist/types/markdown/MarkdownRendererPlugin.d.ts +2 -3
  80. package/dist/types/markdown/MarkdownRendererPlugin.d.ts.map +1 -1
  81. package/dist/types/markdown/compiler.d.ts +4 -4
  82. package/dist/types/markdown/compiler.d.ts.map +1 -1
  83. package/dist/types/markdown/runtime.d.ts +2 -2
  84. package/dist/types/markdown/runtime.d.ts.map +1 -1
  85. package/dist/types/plugins.d.ts +16 -17
  86. package/dist/types/plugins.d.ts.map +1 -1
  87. package/dist/types/preactElement/renderPreactElement.d.ts +1 -2
  88. package/dist/types/preactElement/renderPreactElement.d.ts.map +1 -1
  89. package/package.json +10 -10
  90. package/dist/types/intlayer/dist/types/index.d.ts +0 -14
@@ -1 +1 @@
1
- {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;cA0Ba,kBAAS,wBAAA,SAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;qBA0Ba,kBAAS,wBAAA,SAAA,KAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../intlayer/dist/types/index.js";
2
1
  //#region src/format/usePercentage.d.ts
3
2
  /**
4
3
  * React hook to provide a percentage formatter function
@@ -18,9 +17,8 @@ import { LocalesValues } from "../intlayer/dist/types/index.js";
18
17
  * @returns {(value: string | number, options?: Omit<PercentageOptions, "value">) => string}
19
18
  * A function that formats numbers or numeric strings into localized percentages.
20
19
  */
21
- declare const usePercentage: () => (value: string | number, args_1?: Intl.NumberFormatOptions & {
22
- locale?: LocalesValues;
20
+ export declare const usePercentage: () => (value: string | number, args_1?: Intl.NumberFormatOptions & {
21
+ locale?: import("@intlayer/types").LocalesValues;
23
22
  }) => string;
24
23
  //#endregion
25
- export { usePercentage };
26
24
  //# sourceMappingURL=usePercentage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;cAsBa,sBAAa,wBAAA,SAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAsBa,sBAAa,wBAAA,SAAA,KAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../intlayer/dist/types/index.js";
2
1
  //#region src/format/useRelativeTime.d.ts
3
2
  /**
4
3
  * Client-side React hook for accessing a localized relative time formatter.
@@ -18,10 +17,9 @@ import { LocalesValues } from "../intlayer/dist/types/index.js";
18
17
  * @returns {ReturnType<typeof createRelativeTime>} A relative time formatting function
19
18
  * bound to the current client locale.
20
19
  */
21
- declare const useRelativeTime: () => (from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
22
- locale?: LocalesValues;
20
+ export declare const useRelativeTime: () => (from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
21
+ locale?: import("@intlayer/types").LocalesValues;
23
22
  unit?: Intl.RelativeTimeFormatUnit;
24
23
  }) => string;
25
24
  //#endregion
26
- export { useRelativeTime };
27
25
  //# sourceMappingURL=useRelativeTime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;cAsBa,wBAAe,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAsBa,wBAAe,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../intlayer/dist/types/index.js";
2
1
  //#region src/format/useUnit.d.ts
3
2
  /**
4
3
  * React hook that provides a unit formatting function
@@ -17,9 +16,8 @@ import { LocalesValues } from "../intlayer/dist/types/index.js";
17
16
  *
18
17
  * @returns {Function} A unit formatting function that accepts a value and optional formatting options.
19
18
  */
20
- declare const useUnit: () => (value: string | number, options?: Intl.NumberFormatOptions & {
21
- locale?: LocalesValues;
19
+ export declare const useUnit: () => (value: string | number, options?: Intl.NumberFormatOptions & {
20
+ locale?: import("@intlayer/types").LocalesValues;
22
21
  }) => string;
23
22
  //#endregion
24
- export { useUnit };
25
23
  //# sourceMappingURL=useUnit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAqBa,gBAAO,wBAAA,UAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAqBa,gBAAO,wBAAA,UAAA,KAAA"}
@@ -7,7 +7,6 @@ import { Dictionary, DictionarySelectorForGroup, QualifiedDictionaryGroup, Resol
7
7
  * content for the given locale or selector (`{ item }`, `{ variant }`,
8
8
  * optionally combined with `locale`).
9
9
  */
10
- declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, ExtractSelectorLocale<A>>;
10
+ export declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, ExtractSelectorLocale<A>>;
11
11
  //#endregion
12
- export { getDictionary };
13
12
  //# sourceMappingURL=getDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;;;;;;cAmBa,sBACL,UAAU,aAAa,gCACvB,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,MAClB,qBACD,kCAAkC,GAAG,IACrC,sBAAsB"}
1
+ {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;;;;;;qBAmBa,sBACL,UAAU,aAAa,gCACvB,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,MAClB,qBACD,kCAAkC,GAAG,IACrC,sBAAsB"}
@@ -6,7 +6,6 @@ import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySe
6
6
  * locale or selector (`{ item }`, `{ variant }`,
7
7
  * optionally combined with `locale`).
8
8
  */
9
- declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>;
9
+ export declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>;
10
10
  //#endregion
11
- export { getIntlayer };
12
11
  //# sourceMappingURL=getIntlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../src/getIntlayer.ts"],"mappings":";;;;;;;;cAgBa,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,qBACD,yBAAyB,GAAG,IAC5B,sBAAsB"}
1
+ {"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../src/getIntlayer.ts"],"mappings":";;;;;;;;qBAgBa,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,qBACD,yBAAyB,GAAG,IAC5B,sBAAsB"}
@@ -10,8 +10,7 @@ type HTMLProviderProps = RenderableProps<{
10
10
  */
11
11
  components?: HTMLComponents<'permissive', {}>;
12
12
  }>;
13
- declare const useHTMLContext: () => HTMLContextValue;
14
- declare const HTMLProvider: FunctionalComponent<HTMLProviderProps>;
13
+ export declare const useHTMLContext: () => HTMLContextValue;
14
+ export declare const HTMLProvider: FunctionalComponent<HTMLProviderProps>;
15
15
  //#endregion
16
- export { HTMLProvider, useHTMLContext };
17
16
  //# sourceMappingURL=HTMLProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HTMLProvider.d.ts","names":[],"sources":["../../../src/html/HTMLProvider.tsx"],"mappings":";;;KAQK;EACH,aAAa;;KAGV,oBAAoB;;;;EAIvB,aAAa;;cAKF,sBAAc;cAEd,cAAc,oBAAoB"}
1
+ {"version":3,"file":"HTMLProvider.d.ts","names":[],"sources":["../../../src/html/HTMLProvider.tsx"],"mappings":";;;KAQK;EACH,aAAa;;KAGV,oBAAoB;;;;EAIvB,aAAa;;qBAKF,sBAAc;qBAEd,cAAc,oBAAoB"}
@@ -2,7 +2,7 @@ import { HTMLComponents } from "./types.js";
2
2
  import { FunctionComponent, JSX } from "preact";
3
3
  import { KeyPath } from "@intlayer/types/keyPath";
4
4
  //#region src/html/HTMLRenderer.d.ts
5
- type RenderHTMLProps = {
5
+ export type RenderHTMLProps = {
6
6
  /**
7
7
  * Component overrides for HTML tags.
8
8
  * Allows you to customize how specific HTML elements are rendered.
@@ -15,15 +15,15 @@ type RenderHTMLProps = {
15
15
  * This function does not use context from HTMLProvider. Use `useHTMLRenderer`
16
16
  * hook if you want to leverage provider context.
17
17
  */
18
- declare const renderHTML: (content: string, { components }?: RenderHTMLProps) => JSX.Element;
18
+ export declare const renderHTML: (content: string, { components }?: RenderHTMLProps) => JSX.Element;
19
19
  /**
20
20
  * Hook that returns a function to render HTML content.
21
21
  *
22
22
  * This hook considers the configuration from the `HTMLProvider` context if available,
23
23
  * falling back to the provided components.
24
24
  */
25
- declare const useHTMLRenderer: ({ components }?: RenderHTMLProps) => (content: string) => JSX.Element;
26
- type HTMLRendererProps = RenderHTMLProps & {
25
+ export declare const useHTMLRenderer: ({ components }?: RenderHTMLProps) => (content: string) => JSX.Element;
26
+ export type HTMLRendererProps = RenderHTMLProps & {
27
27
  /**
28
28
  * The HTML content to render as a string.
29
29
  */
@@ -42,7 +42,6 @@ type HTMLRendererProps = RenderHTMLProps & {
42
42
  /**
43
43
  * Preact component that renders HTML-like content to JSX.
44
44
  */
45
- declare const HTMLRenderer: FunctionComponent<HTMLRendererProps>;
45
+ export declare const HTMLRenderer: FunctionComponent<HTMLRendererProps>;
46
46
  //#endregion
47
- export { HTMLRenderer, HTMLRendererProps, RenderHTMLProps, renderHTML, useHTMLRenderer };
48
47
  //# sourceMappingURL=HTMLRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HTMLRenderer.d.ts","names":[],"sources":["../../../src/html/HTMLRenderer.tsx"],"mappings":";;;;KAOY;;;;;EAKV,aAAa;;;;;;;;cASF,aAAU,mBACN,eACM,oBACpB,IAAI;;;;;;;cAuCM,oBAAe,eAAoB,qBAAe,oBAGtC,IAAA;KAUb,oBAAoB;;;;EAI9B;;;;EAIA;;;;EAIA,aAAa;EACb;EACA,UAAU;;;;;cAMC,cAAc,kBAAkB"}
1
+ {"version":3,"file":"HTMLRenderer.d.ts","names":[],"sources":["../../../src/html/HTMLRenderer.tsx"],"mappings":";;;;YAOY;;;;;EAKV,aAAa;;;;;;;;qBASF,aAAU,mBACN,eACM,oBACpB,IAAI;;;;;;;qBAuCM,oBAAe,eAAoB,qBAAe,oBAGtC,IAAA;YAUb,oBAAoB;;;;EAI9B;;;;EAIA;;;;EAIA,aAAa;EACb;EACA,UAAU;;;;;qBAMC,cAAc,kBAAkB"}
@@ -22,16 +22,15 @@ type RestHTMLComponents<T> = { [K in Exclude<keyof HTMLTagsType, keyof T>]?: Fun
22
22
  /**
23
23
  * The supported modes for the HTMLComponents type.
24
24
  */
25
- type HTMLComponentMode = 'permissive' | 'optional' | 'inclusive' | 'strict';
25
+ export type HTMLComponentMode = 'permissive' | 'optional' | 'inclusive' | 'strict';
26
26
  /**
27
27
  * The main component definition with Mode support.
28
28
  */
29
- type HTMLComponents<Mode extends HTMLComponentMode = 'optional', T = {}> = Mode extends 'strict' ? DefinedComponents<T, true> : Mode extends 'inclusive' // Inclusive: Keys in T are required. Rest of HTML is optional.
29
+ export type HTMLComponents<Mode extends HTMLComponentMode = 'optional', T = {}> = Mode extends 'strict' ? DefinedComponents<T, true> : Mode extends 'inclusive' // Inclusive: Keys in T are required. Rest of HTML is optional.
30
30
  ? DefinedComponents<T, true> & RestHTMLComponents<T> : Mode extends 'permissive' // Permissive: Keys in T optional. Rest of HTML optional. Any other string allowed.
31
31
  ? DefinedComponents<T, false> & RestHTMLComponents<T> & {
32
32
  [key: string]: FunctionalComponent<JSX.HTMLAttributes<HTMLElement>>;
33
33
  } // Optional (Default): Keys in T optional. Rest of HTML optional.
34
34
  : DefinedComponents<T, false> & RestHTMLComponents<T>;
35
35
  //#endregion
36
- export { HTMLComponentMode, HTMLComponents };
37
36
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/html/types.ts"],"mappings":";;;;;;KAMK,gBAAgB,SAAS,0BAE1B,uBACE;;;;KAMD,aAAa,KAAK,gBAAgB,IAAI,oBACvC,IAAI,kBAAkB,KACtB,IAAI,eAAe;;;;;KAMlB,kBAAkB,GAAG,8BAA8B,6BAGjD,WAAW,IAAI,oBACd,aAAa,KAAK,gBAAgB,EAAE,aAKrC,WAAW,KAAK,oBACf,aAAa,KAAK,gBAAgB,EAAE;;;;;KAQvC,mBAAmB,QACrB,KAAK,cAAc,oBAAoB,MAAM,oBAC5C,gBAAgB,IAAI,oBAChB,IAAI,kBAAkB,KACtB,IAAI,eAAe;;;;KAOf;;;;KASA,eACV,aAAa,gCACb,UACE,wBAEA,kBAAkB,WAClB;GAEE,kBAAkB,WAAW,mBAAmB,KAChD;GAEE,kBAAkB,YAChB,mBAAmB;GAChB,cAAc,oBAAoB,IAAI,eAAe;;GAG1D,kBAAkB,YAAY,mBAAmB"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/html/types.ts"],"mappings":";;;;;;KAMK,gBAAgB,SAAS,0BAE1B,uBACE;;;;KAMD,aAAa,KAAK,gBAAgB,IAAI,oBACvC,IAAI,kBAAkB,KACtB,IAAI,eAAe;;;;;KAMlB,kBAAkB,GAAG,8BAA8B,6BAGjD,WAAW,IAAI,oBACd,aAAa,KAAK,gBAAgB,EAAE,aAKrC,WAAW,KAAK,oBACf,aAAa,KAAK,gBAAgB,EAAE;;;;;KAQvC,mBAAmB,QACrB,KAAK,cAAc,oBAAoB,MAAM,oBAC5C,gBAAgB,IAAI,oBAChB,IAAI,kBAAkB,KACtB,IAAI,eAAe;;;;YAOf;;;;YASA,eACV,aAAa,gCACb,UACE,wBAEA,kBAAkB,WAClB;GAEE,kBAAkB,WAAW,mBAAmB,KAChD;GAEE,kBAAkB,YAChB,mBAAmB;GAChB,cAAc,oBAAoB,IAAI,eAAe;;GAG1D,kBAAkB,YAAY,mBAAmB"}
@@ -8,7 +8,7 @@ type PropsWithChildren<P = {}> = P & {
8
8
  /**
9
9
  * Refined options for the MarkdownProvider.
10
10
  */
11
- type MarkdownProviderOptions = {
11
+ export type MarkdownProviderOptions = {
12
12
  /**
13
13
  * Forces the compiler to always output content with a block-level wrapper.
14
14
  */
@@ -45,8 +45,7 @@ type MarkdownProviderProps = PropsWithChildren<MarkdownProviderOptions & {
45
45
  */
46
46
  renderMarkdown?: (markdown: string | ParsedMarkdown, options?: MarkdownProviderOptions, components?: HTMLComponents<'permissive', {}>, wrapper?: ComponentType<any> | keyof JSX.IntrinsicElements) => ComponentChildren | Promise<ComponentChildren>;
47
47
  }>;
48
- declare const useMarkdownContext: () => MarkdownContextValue;
49
- declare const MarkdownProvider: FunctionComponent<MarkdownProviderProps>;
48
+ export declare const useMarkdownContext: () => MarkdownContextValue;
49
+ export declare const MarkdownProvider: FunctionComponent<MarkdownProviderProps>;
50
50
  //#endregion
51
- export { MarkdownProvider, MarkdownProviderOptions, useMarkdownContext };
52
51
  //# sourceMappingURL=MarkdownProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownProvider.d.ts","names":[],"sources":["../../../src/markdown/MarkdownProvider.tsx"],"mappings":";;;;KAWK,kBAAkB,UAAU;EAAM,WAAW;;;;;KAKtC;;;;EAIV;;;;EAIA;;;;EAIA;;;;EAIA;;KASG;EACH,aAAa;EACb,iBACE,mBAAmB,gBACnB,UAAU,yBACV,aAAa,kCACb,UAAU,2BAA2B,IAAI,sBACtC,oBAAoB,QAAQ;;KAG9B,wBAAwB,kBAC3B;;;;EAIE,aAAa;;;;EAIb,UAAU,2BAA2B,IAAI;;;;;EAKzC,kBACE,mBAAmB,gBACnB,UAAU,yBACV,aAAa,kCACb,UAAU,2BAA2B,IAAI,sBACtC,oBAAoB,QAAQ;;cAQxB,0BAAkB;cAuBlB,kBAAkB,kBAAkB"}
1
+ {"version":3,"file":"MarkdownProvider.d.ts","names":[],"sources":["../../../src/markdown/MarkdownProvider.tsx"],"mappings":";;;;KAWK,kBAAkB,UAAU;EAAM,WAAW;;;;;YAKtC;;;;EAIV;;;;EAIA;;;;EAIA;;;;EAIA;;KASG;EACH,aAAa;EACb,iBACE,mBAAmB,gBACnB,UAAU,yBACV,aAAa,kCACb,UAAU,2BAA2B,IAAI,sBACtC,oBAAoB,QAAQ;;KAG9B,wBAAwB,kBAC3B;;;;EAIE,aAAa;;;;EAIb,UAAU,2BAA2B,IAAI;;;;;EAKzC,kBACE,mBAAmB,gBACnB,UAAU,yBACV,aAAa,kCACb,UAAU,2BAA2B,IAAI,sBACtC,oBAAoB,QAAQ;;qBAQxB,0BAAkB;qBAuBlB,kBAAkB,kBAAkB"}
@@ -3,7 +3,7 @@ import { ParsedMarkdown } from "./compiler.js";
3
3
  import { MarkdownProviderOptions } from "./MarkdownProvider.js";
4
4
  import { ComponentChildren, ComponentType, FunctionComponent, JSX } from "preact";
5
5
  //#region src/markdown/MarkdownRenderer.d.ts
6
- type RenderMarkdownProps = MarkdownProviderOptions & {
6
+ export type RenderMarkdownProps = MarkdownProviderOptions & {
7
7
  /**
8
8
  * Component overrides for HTML tags.
9
9
  * Only used if not wrapped in a MarkdownProvider.
@@ -15,9 +15,9 @@ type RenderMarkdownProps = MarkdownProviderOptions & {
15
15
  */
16
16
  wrapper?: ComponentType<any> | keyof JSX.IntrinsicElements;
17
17
  };
18
- declare const renderMarkdown: (content: string | ParsedMarkdown, { components, wrapper, forceBlock, forceInline, preserveFrontmatter, tagfilter }?: RenderMarkdownProps) => JSX.Element;
19
- declare const useMarkdownRenderer: ({ components, wrapper, forceBlock, forceInline, preserveFrontmatter, tagfilter }?: RenderMarkdownProps) => (content: string | ParsedMarkdown) => ComponentChildren;
20
- type MarkdownRendererProps = RenderMarkdownProps & {
18
+ export declare const renderMarkdown: (content: string | ParsedMarkdown, { components, wrapper, forceBlock, forceInline, preserveFrontmatter, tagfilter }?: RenderMarkdownProps) => JSX.Element;
19
+ export declare const useMarkdownRenderer: ({ components, wrapper, forceBlock, forceInline, preserveFrontmatter, tagfilter }?: RenderMarkdownProps) => (content: string | ParsedMarkdown) => ComponentChildren;
20
+ export type MarkdownRendererProps = RenderMarkdownProps & {
21
21
  /**
22
22
  * The markdown content to render.
23
23
  */
@@ -41,7 +41,6 @@ type MarkdownRendererProps = RenderMarkdownProps & {
41
41
  * It uses the renderMarkdown function from the MarkdownProvider context if available.
42
42
  * Otherwise, it falls back to the default compiler with provided components and options.
43
43
  */
44
- declare const MarkdownRenderer: FunctionComponent<MarkdownRendererProps>;
44
+ export declare const MarkdownRenderer: FunctionComponent<MarkdownRendererProps>;
45
45
  //#endregion
46
- export { MarkdownRenderer, MarkdownRendererProps, RenderMarkdownProps, renderMarkdown, useMarkdownRenderer };
47
46
  //# sourceMappingURL=MarkdownRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownRenderer.d.ts","names":[],"sources":["../../../src/markdown/MarkdownRenderer.tsx"],"mappings":";;;;;KAiBY,sBAAsB;;;;;EAKhC,aAAa;;;;;EAKb,UAAU,2BAA2B,IAAI;;cAG9B,iBAAc,kBACP,kBAAc,YAAA,SAAA,YAAA,aAAA,qBAAA,cAQ7B,wBACF,IAAI;cAeM,wBAAmB,YAAA,SAAA,YAAA,aAAA,qBAAA,cAO7B,yBAAmB,kBAGM,mBAAc;KA0B9B,wBAAwB;;;;EAIlC,mBAAmB;;;;;EAKnB,kBACE,mBAAmB,gBACnB;IACE,aAAa;IACb,UAAU,2BAA2B,IAAI;IACzC;IACA;IACA;IACA;QAEC,oBAAoB,QAAQ;;;;;;;;cAStB,kBAAkB,kBAAkB"}
1
+ {"version":3,"file":"MarkdownRenderer.d.ts","names":[],"sources":["../../../src/markdown/MarkdownRenderer.tsx"],"mappings":";;;;;YAiBY,sBAAsB;;;;;EAKhC,aAAa;;;;;EAKb,UAAU,2BAA2B,IAAI;;qBAG9B,iBAAc,kBACP,kBAAc,YAAA,SAAA,YAAA,aAAA,qBAAA,cAQ7B,wBACF,IAAI;qBAeM,wBAAmB,YAAA,SAAA,YAAA,aAAA,qBAAA,cAO7B,yBAAmB,kBAGM,mBAAc;YA0B9B,wBAAwB;;;;EAIlC,mBAAmB;;;;;EAKnB,kBACE,mBAAmB,gBACnB;IACE,aAAa;IACb,UAAU,2BAA2B,IAAI;IACzC;IACA;IACA;IACA;QAEC,oBAAoB,QAAQ;;;;;;;;qBAStB,kBAAkB,kBAAkB"}
@@ -12,11 +12,10 @@ type MarkdownRendererPluginProps = {
12
12
  options?: MarkdownProviderOptions;
13
13
  components?: HTMLComponents<'permissive', {}>;
14
14
  };
15
- declare const MarkdownRendererPlugin: FunctionComponent<MarkdownRendererPluginProps>;
15
+ export declare const MarkdownRendererPlugin: FunctionComponent<MarkdownRendererPluginProps>;
16
16
  type MarkdownMetadataRendererProps = MarkdownRendererPluginProps & {
17
17
  metadataKeyPath: KeyPath[];
18
18
  };
19
- declare const MarkdownMetadataRenderer: FunctionComponent<MarkdownMetadataRendererProps>;
19
+ export declare const MarkdownMetadataRenderer: FunctionComponent<MarkdownMetadataRendererProps>;
20
20
  //#endregion
21
- export { MarkdownMetadataRenderer, MarkdownRendererPlugin };
22
21
  //# sourceMappingURL=MarkdownRendererPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownRendererPlugin.d.ts","names":[],"sources":["../../../src/markdown/MarkdownRendererPlugin.tsx"],"mappings":";;;;;;KAeK;EACH;EACA,SAAS;EACT,SAAS;EACT;EACA,UAAU;EACV,aAAa;;cAGF,wBAAwB,kBACnC;KAYG,gCAAgC;EACnC,iBAAiB;;cAGN,0BAA0B,kBACrC"}
1
+ {"version":3,"file":"MarkdownRendererPlugin.d.ts","names":[],"sources":["../../../src/markdown/MarkdownRendererPlugin.tsx"],"mappings":";;;;;;KAeK;EACH;EACA,SAAS;EACT,SAAS;EACT;EACA,UAAU;EACV,aAAa;;qBAGF,wBAAwB,kBACnC;KAYG,gCAAgC;EACnC,iBAAiB;;qBAGN,0BAA0B,kBACrC"}
@@ -4,7 +4,7 @@ import { CompileOptions, ParsedMarkdown } from "@intlayer/core/markdown";
4
4
  * Options accepted by `compileMarkdown` and `parseMarkdown` to customise
5
5
  * rendering behaviour (custom components, sanitizer, slugify, rule hooks, …).
6
6
  */
7
- type MarkdownCompilerOptions = CompileOptions;
7
+ export type MarkdownCompilerOptions = CompileOptions;
8
8
  /**
9
9
  * **Step 1 of 2 — parse only.**
10
10
  * Converts a raw markdown string into a `ParsedMarkdown` AST without rendering
@@ -23,7 +23,7 @@ type MarkdownCompilerOptions = CompileOptions;
23
23
  * const element = compileMarkdown(ast, { forceBlock: true });
24
24
  * ```
25
25
  */
26
- declare const parseMarkdown: (markdown?: string, options?: MarkdownCompilerOptions) => ParsedMarkdown;
26
+ export declare const parseMarkdown: (markdown?: string, options?: MarkdownCompilerOptions) => ParsedMarkdown;
27
27
  /**
28
28
  * **Steps 1 + 2 — parse and render in one shot.**
29
29
  * Accepts a raw markdown string or a pre-parsed `ParsedMarkdown` AST and
@@ -39,7 +39,7 @@ declare const parseMarkdown: (markdown?: string, options?: MarkdownCompilerOptio
39
39
  * const element = compileMarkdown('# Hello **world**', { forceBlock: true });
40
40
  * ```
41
41
  */
42
- declare const compileMarkdown: (input?: string | ParsedMarkdown, options?: MarkdownCompilerOptions) => unknown;
42
+ export declare const compileMarkdown: (input?: string | ParsedMarkdown, options?: MarkdownCompilerOptions) => unknown;
43
43
  //#endregion
44
- export { MarkdownCompilerOptions, type ParsedMarkdown, compileMarkdown, parseMarkdown };
44
+ export type { ParsedMarkdown };
45
45
  //# sourceMappingURL=compiler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compiler.d.ts","names":[],"sources":["../../../src/markdown/compiler.ts"],"mappings":";;;;;;KAkBY,0BAA0B;;;;;;;;;;;;;;;;;;;cA2BzB,gBAAa,mBACR,UACP,4BACR;;;;;;;;;;;;;;;;cAmCU,kBAAe,iBACV,gBAAc,UACrB"}
1
+ {"version":3,"file":"compiler.d.ts","names":[],"sources":["../../../src/markdown/compiler.ts"],"mappings":";;;;;;YAkBY,0BAA0B;;;;;;;;;;;;;;;;;;;qBA2BzB,gBAAa,mBACR,UACP,4BACR;;;;;;;;;;;;;;;;qBAmCU,kBAAe,iBACV,gBAAc,UACrB"}
@@ -3,7 +3,7 @@ import { MarkdownRuntime } from "@intlayer/core/markdown";
3
3
  /**
4
4
  * Preact-specific runtime for the markdown processor.
5
5
  */
6
- declare const preactRuntime: MarkdownRuntime;
6
+ export declare const preactRuntime: MarkdownRuntime;
7
7
  //#endregion
8
- export { preactRuntime as default, preactRuntime };
8
+ export { preactRuntime as default };
9
9
  //# sourceMappingURL=runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","names":[],"sources":["../../../src/markdown/runtime.ts"],"mappings":";;;;;cAgBa,eAAe"}
1
+ {"version":3,"file":"runtime.d.ts","names":[],"sources":["../../../src/markdown/runtime.ts"],"mappings":";;;;;qBAgBa,eAAe"}
@@ -9,38 +9,38 @@ import { NodeType } from "@intlayer/types/nodeType";
9
9
  /** ---------------------------------------------
10
10
  * INTLAYER NODE PLUGIN
11
11
  * --------------------------------------------- */
12
- type IntlayerNodeCond<T> = T extends number | string ? IntlayerNode<T> : never;
12
+ export type IntlayerNodeCond<T> = T extends number | string ? IntlayerNode<T> : never;
13
13
  /** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
14
- declare const intlayerNodePlugins: Plugins;
14
+ export declare const intlayerNodePlugins: Plugins;
15
15
  /** ---------------------------------------------
16
16
  * PREACT NODE PLUGIN
17
17
  * --------------------------------------------- */
18
- type PreactNodeCond<T> = T extends {
18
+ export type PreactNodeCond<T> = T extends {
19
19
  props: any;
20
20
  key: any;
21
21
  } ? VNode : never;
22
22
  /** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
23
- declare const preactNodePlugins: Plugins;
23
+ export declare const preactNodePlugins: Plugins;
24
24
  /** ---------------------------------------------
25
25
  * INSERTION PLUGIN
26
26
  * --------------------------------------------- */
27
- type InsertionCond<T, _S, L extends LocalesValues> = T extends {
27
+ export type InsertionCond<T, _S, L extends LocalesValues> = T extends {
28
28
  nodeType: NodeType | string;
29
29
  [NodeTypes.INSERTION]: infer I;
30
30
  fields: readonly (infer F)[];
31
31
  } ? <V extends { [K in Extract<F, string>]: string | number | VNode; }>(values: V) => I extends string ? V[keyof V] extends string | number ? IntlayerNode<string> : IntlayerNode<VNode> : DeepTransformContent<I, L> : never;
32
32
  /** Insertion plugin for Preact. Handles component/node insertion. */
33
- declare const insertionPlugin: Plugins;
33
+ export declare const insertionPlugin: Plugins;
34
34
  /**
35
35
  * MARKDOWN PLUGIN
36
36
  */
37
- type MarkdownStringCond<T> = T extends string ? IntlayerNode<string, {
37
+ export type MarkdownStringCond<T> = T extends string ? IntlayerNode<string, {
38
38
  metadata: DeepTransformContent<string>;
39
39
  use: (components?: HTMLComponents<'permissive', {}>) => VNode;
40
40
  }> : never;
41
41
  /** Markdown string plugin. Replaces string node with a component that render the markdown. */
42
- declare const markdownStringPlugin: Plugins;
43
- type MarkdownCond<T> = T extends {
42
+ export declare const markdownStringPlugin: Plugins;
43
+ export type MarkdownCond<T> = T extends {
44
44
  nodeType: NodeType | string;
45
45
  [NodeTypes.MARKDOWN]: infer _M;
46
46
  metadata?: infer U;
@@ -49,11 +49,11 @@ type MarkdownCond<T> = T extends {
49
49
  use: (components?: HTMLComponents<'permissive', U>) => VNode;
50
50
  metadata: DeepTransformContent<U>;
51
51
  } : never;
52
- declare const markdownPlugin: Plugins;
52
+ export declare const markdownPlugin: Plugins;
53
53
  /** ---------------------------------------------
54
54
  * HTML PLUGIN
55
55
  * --------------------------------------------- */
56
- type HTMLPluginCond<T> = T extends {
56
+ export type HTMLPluginCond<T> = T extends {
57
57
  nodeType: NodeType | string;
58
58
  [NodeTypes.HTML]: infer I;
59
59
  tags?: infer U;
@@ -61,11 +61,11 @@ type HTMLPluginCond<T> = T extends {
61
61
  use: (components?: HTMLComponents<'permissive', U>) => IntlayerNode<I>;
62
62
  } : never;
63
63
  /** HTML plugin. Replaces node with a function that takes components => VNode. */
64
- declare const htmlPlugin: Plugins;
64
+ export declare const htmlPlugin: Plugins;
65
65
  /** ---------------------------------------------
66
66
  * PLUGINS RESULT
67
67
  * --------------------------------------------- */
68
- interface IInterpreterPluginPreact<T, S, L extends LocalesValues> {
68
+ export interface IInterpreterPluginPreact<T, S, L extends LocalesValues> {
69
69
  preactNode: PreactNodeCond<T>;
70
70
  preactIntlayerNode: IntlayerNodeCond<T>;
71
71
  preactInsertion: InsertionCond<T, S, L>;
@@ -77,19 +77,18 @@ interface IInterpreterPluginPreact<T, S, L extends LocalesValues> {
77
77
  *
78
78
  * Otherwise the the `preact-intlayer` plugins will override the types of `intlayer` functions.
79
79
  */
80
- type IInterpreterPluginState = Omit<IInterpreterPluginState$1, 'insertion'> & {
80
+ export type IInterpreterPluginState = Omit<IInterpreterPluginState$1, 'insertion'> & {
81
81
  preactNode: true;
82
82
  preactIntlayerNode: true;
83
83
  preactInsertion: true;
84
84
  preactMarkdown: true;
85
85
  preactHtml: true;
86
86
  };
87
- type DeepTransformContent<T, L extends LocalesValues = DeclaredLocales> = DeepTransformContent$1<T, IInterpreterPluginState, L>;
87
+ export type DeepTransformContent<T, L extends LocalesValues = DeclaredLocales> = DeepTransformContent$1<T, IInterpreterPluginState, L>;
88
88
  /**
89
89
  * Get the plugins array for Preact content transformation.
90
90
  * This function is used by both getIntlayer and getDictionary to ensure consistent plugin configuration.
91
91
  */
92
- declare const getPlugins: (locale?: LocalesValues, fallback?: boolean) => Plugins[];
92
+ export declare const getPlugins: (locale?: LocalesValues, fallback?: boolean) => Plugins[];
93
93
  //#endregion
94
- export { DeepTransformContent, HTMLPluginCond, IInterpreterPluginPreact, IInterpreterPluginState, InsertionCond, IntlayerNodeCond, MarkdownCond, MarkdownStringCond, PreactNodeCond, getPlugins, htmlPlugin, insertionPlugin, intlayerNodePlugins, markdownPlugin, markdownStringPlugin, preactNodePlugins };
95
94
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.tsx"],"mappings":";;;;;;;;;;;KA8DY,iBAAiB,KAAK,4BAC9B,aAAa;;cAIJ,qBAAqB;;;;KA2CtB,eAAe,KAAK;EAC9B;EACA;IAEE;;cAIS,mBAAmB;;;;KA8CpB,cAAc,GAAG,IAAI,UAAU,iBAAiB;EAC1D,UAAU;GACT,UAAU,kBAAkB;EAC7B,wBAAwB;KAErB,aAAa,KAAK,QAAQ,+BAA+B,UACxD,QAAQ,MACL,mBACD,QAAQ,6BACN,uBACA,aAAa,SACf,qBAAqB,GAAG;;cAuEnB,iBAAiB;;;;KA4GlB,mBAAmB,KAAK,mBAChC;EAGI,UAAU;EACV,MAAM,aAAa,qCAAqC;;;cA4BnD,sBAAsB;KAiGvB,aAAa,KAAK;EAC5B,UAAU;GACT,UAAU,iBAAiB;EAC5B,iBAAiB;EACjB,aAAa;;EAGT,MAAM,aAAa,6BAA6B,OAAO;EACvD,UAAU,qBAAqB;;cAIxB,gBAAgB;;;;KA8BjB,eAAe,KAAK;EAC9B,UAAU;GACT,UAAU,aAAa;EACxB,aAAa;;EAGT,MAAM,aAAa,6BAA6B,OAAO,aAAa;;;cAW7D,YAAY;;;;UAkER,yBAAyB,GAAG,GAAG,UAAU;EACxD,YAAY,eAAe;EAC3B,oBAAoB,iBAAiB;EACrC,iBAAiB,cAAc,GAAG,GAAG;EACrC,gBAAgB,aAAa;EAC7B,YAAY,eAAe;;;;;;;KAQjB,0BAA0B,KACpC;EAGA;EACA;EACA;EACA;EACA;;KAGU,qBACV,GACA,UAAU,gBAAgB,mBACxB,uBAAyB,GAAG,yBAAyB;;;;;cAQ5C,aAAU,SACZ,eAAa,uBAErB"}
1
+ {"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.tsx"],"mappings":";;;;;;;;;;;YA8DY,iBAAiB,KAAK,4BAC9B,aAAa;;qBAIJ,qBAAqB;;;;YA2CtB,eAAe,KAAK;EAC9B;EACA;IAEE;;qBAIS,mBAAmB;;;;YA8CpB,cAAc,GAAG,IAAI,UAAU,iBAAiB;EAC1D,UAAU;GACT,UAAU,kBAAkB;EAC7B,wBAAwB;KAErB,aAAa,KAAK,QAAQ,+BAA+B,UACxD,QAAQ,MACL,mBACD,QAAQ,6BACN,uBACA,aAAa,SACf,qBAAqB,GAAG;;qBAuEnB,iBAAiB;;;;YA4GlB,mBAAmB,KAAK,mBAChC;EAGI,UAAU;EACV,MAAM,aAAa,qCAAqC;;;qBA4BnD,sBAAsB;YAiGvB,aAAa,KAAK;EAC5B,UAAU;GACT,UAAU,iBAAiB;EAC5B,iBAAiB;EACjB,aAAa;;EAGT,MAAM,aAAa,6BAA6B,OAAO;EACvD,UAAU,qBAAqB;;qBAIxB,gBAAgB;;;;YA8BjB,eAAe,KAAK;EAC9B,UAAU;GACT,UAAU,aAAa;EACxB,aAAa;;EAGT,MAAM,aAAa,6BAA6B,OAAO,aAAa;;;qBAW7D,YAAY;;;;iBAkER,yBAAyB,GAAG,GAAG,UAAU;EACxD,YAAY,eAAe;EAC3B,oBAAoB,iBAAiB;EACrC,iBAAiB,cAAc,GAAG,GAAG;EACrC,gBAAgB,aAAa;EAC7B,YAAY,eAAe;;;;;;;YAQjB,0BAA0B,KACpC;EAGA;EACA;EACA;EACA;EACA;;YAGU,qBACV,GACA,UAAU,gBAAgB,mBACxB,uBAAyB,GAAG,yBAAyB;;;;;qBAQ5C,aAAU,SACZ,eAAa,uBAErB"}
@@ -1,6 +1,5 @@
1
1
  import { VNode } from "preact";
2
2
  //#region src/preactElement/renderPreactElement.d.ts
3
- declare const renderPreactElement: (element: VNode<any>) => any;
3
+ export declare const renderPreactElement: (element: VNode<any>) => any;
4
4
  //#endregion
5
- export { renderPreactElement };
6
5
  //# sourceMappingURL=renderPreactElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderPreactElement.d.ts","names":[],"sources":["../../../src/preactElement/renderPreactElement.ts"],"mappings":";;cAGa,sBAAmB,SAAa"}
1
+ {"version":3,"file":"renderPreactElement.d.ts","names":[],"sources":["../../../src/preactElement/renderPreactElement.ts"],"mappings":";;qBAGa,sBAAmB,SAAa"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "preact-intlayer",
3
- "version": "9.4.3",
3
+ "version": "9.4.4",
4
4
  "private": false,
5
5
  "description": "Easily internationalize i18n your Preact applications with type-safe multilingual content management.",
6
6
  "keywords": [
@@ -100,12 +100,12 @@
100
100
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
101
101
  },
102
102
  "dependencies": {
103
- "@intlayer/api": "9.4.3",
104
- "@intlayer/config": "9.4.3",
105
- "@intlayer/core": "9.4.3",
106
- "@intlayer/editor": "9.4.3",
107
- "@intlayer/engine": "9.4.3",
108
- "@intlayer/types": "9.4.3"
103
+ "@intlayer/api": "9.4.4",
104
+ "@intlayer/config": "9.4.4",
105
+ "@intlayer/core": "9.4.4",
106
+ "@intlayer/editor": "9.4.4",
107
+ "@intlayer/engine": "9.4.4",
108
+ "@intlayer/types": "9.4.4"
109
109
  },
110
110
  "devDependencies": {
111
111
  "@types/node": "26.4.1",
@@ -114,15 +114,15 @@
114
114
  "@utils/tsdown-config": "1.0.4",
115
115
  "preact": "10.29.8",
116
116
  "rimraf": "6.1.3",
117
- "tsdown": "0.22.14",
117
+ "tsdown": "0.23.0",
118
118
  "typescript": "7.0.2",
119
- "vitest": "4.1.11"
119
+ "vitest": "5.0.0"
120
120
  },
121
121
  "peerDependencies": {
122
122
  "preact": ">=8.0.0"
123
123
  },
124
124
  "optionalDependencies": {
125
- "@intlayer/analytics": "9.4.3"
125
+ "@intlayer/analytics": "9.4.4"
126
126
  },
127
127
  "engines": {
128
128
  "node": ">=14.18"
@@ -1,14 +0,0 @@
1
- import "@intlayer/core/interpreter";
2
- import { LocalesValues as LocalesValues$1 } from "@intlayer/types/module_augmentation";
3
- import { Locale as Locale$1 } from "@intlayer/types/allLocales";
4
- import "@intlayer/core/transpiler";
5
- import { Dictionary } from "@intlayer/types/dictionary";
6
- import "@intlayer/types/config";
7
- import "@intlayer/types/locales";
8
- import "@intlayer/config/built";
9
- import "@intlayer/core/file";
10
- import "@intlayer/core/formatters";
11
- import "@intlayer/core/localization";
12
- import "@intlayer/core/markdown";
13
- import "@intlayer/core/utils";
14
- export type { Locale$1 as Locale, LocalesValues$1 as LocalesValues };