react-intlayer 9.4.3 → 9.5.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.
Files changed (147) hide show
  1. package/README.md +0 -2
  2. package/dist/cjs/markdown/MarkdownProvider.cjs.map +1 -1
  3. package/dist/cjs/markdown/processor.cjs +4 -13
  4. package/dist/cjs/markdown/processor.cjs.map +1 -1
  5. package/dist/cjs/markdown/runtime.cjs +31 -3
  6. package/dist/cjs/markdown/runtime.cjs.map +1 -1
  7. package/dist/esm/markdown/MarkdownProvider.mjs.map +1 -1
  8. package/dist/esm/markdown/processor.mjs +4 -13
  9. package/dist/esm/markdown/processor.mjs.map +1 -1
  10. package/dist/esm/markdown/runtime.mjs +31 -3
  11. package/dist/esm/markdown/runtime.mjs.map +1 -1
  12. package/dist/types/IntlayerNode.d.ts +2 -3
  13. package/dist/types/IntlayerNode.d.ts.map +1 -1
  14. package/dist/types/UI/ContentSelector.d.ts +1 -2
  15. package/dist/types/UI/ContentSelector.d.ts.map +1 -1
  16. package/dist/types/analytics/AnalyticsProvider.d.ts +1 -2
  17. package/dist/types/analytics/AnalyticsProvider.d.ts.map +1 -1
  18. package/dist/types/analytics/exposureSink.d.ts +4 -5
  19. package/dist/types/analytics/exposureSink.d.ts.map +1 -1
  20. package/dist/types/analytics/useAnalytics.d.ts +1 -2
  21. package/dist/types/analytics/useAnalytics.d.ts.map +1 -1
  22. package/dist/types/analytics/useConversion.d.ts +2 -3
  23. package/dist/types/analytics/useConversion.d.ts.map +1 -1
  24. package/dist/types/analytics/useExperiment.d.ts +2 -3
  25. package/dist/types/analytics/useExperiment.d.ts.map +1 -1
  26. package/dist/types/client/IntlayerProvider.d.ts +5 -6
  27. package/dist/types/client/IntlayerProvider.d.ts.map +1 -1
  28. package/dist/types/client/format/useCompact.d.ts +2 -4
  29. package/dist/types/client/format/useCompact.d.ts.map +1 -1
  30. package/dist/types/client/format/useCurrency.d.ts +2 -4
  31. package/dist/types/client/format/useCurrency.d.ts.map +1 -1
  32. package/dist/types/client/format/useDate.d.ts +1 -2
  33. package/dist/types/client/format/useDate.d.ts.map +1 -1
  34. package/dist/types/client/format/useIntl.d.ts +1 -2
  35. package/dist/types/client/format/useIntl.d.ts.map +1 -1
  36. package/dist/types/client/format/useList.d.ts +2 -8
  37. package/dist/types/client/format/useList.d.ts.map +1 -1
  38. package/dist/types/client/format/useNumber.d.ts +2 -4
  39. package/dist/types/client/format/useNumber.d.ts.map +1 -1
  40. package/dist/types/client/format/usePercentage.d.ts +2 -4
  41. package/dist/types/client/format/usePercentage.d.ts.map +1 -1
  42. package/dist/types/client/format/useRelativeTime.d.ts +2 -4
  43. package/dist/types/client/format/useRelativeTime.d.ts.map +1 -1
  44. package/dist/types/client/format/useUnit.d.ts +2 -4
  45. package/dist/types/client/format/useUnit.d.ts.map +1 -1
  46. package/dist/types/client/t.d.ts +1 -2
  47. package/dist/types/client/t.d.ts.map +1 -1
  48. package/dist/types/client/useDictionary.d.ts +1 -2
  49. package/dist/types/client/useDictionary.d.ts.map +1 -1
  50. package/dist/types/client/useDictionaryAsync.d.ts +1 -2
  51. package/dist/types/client/useDictionaryAsync.d.ts.map +1 -1
  52. package/dist/types/client/useDictionaryDynamic.d.ts +1 -2
  53. package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
  54. package/dist/types/client/useI18n.d.ts +2 -3
  55. package/dist/types/client/useI18n.d.ts.map +1 -1
  56. package/dist/types/client/useIntlayer.d.ts +1 -2
  57. package/dist/types/client/useIntlayer.d.ts.map +1 -1
  58. package/dist/types/client/useLoadDynamic.d.ts +2 -3
  59. package/dist/types/client/useLoadDynamic.d.ts.map +1 -1
  60. package/dist/types/client/useLocale.d.ts +3 -4
  61. package/dist/types/client/useLocale.d.ts.map +1 -1
  62. package/dist/types/client/useLocaleBase.d.ts +3 -5
  63. package/dist/types/client/useLocaleBase.d.ts.map +1 -1
  64. package/dist/types/client/useLocaleStorage.d.ts +7 -9
  65. package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
  66. package/dist/types/client/usePathname.d.ts +1 -2
  67. package/dist/types/client/usePathname.d.ts.map +1 -1
  68. package/dist/types/client/useRewriteURL.d.ts +1 -2
  69. package/dist/types/client/useRewriteURL.d.ts.map +1 -1
  70. package/dist/types/client/useTraduction.d.ts +1 -2
  71. package/dist/types/client/useTraduction.d.ts.map +1 -1
  72. package/dist/types/editor/ContentSelector.d.ts +2 -3
  73. package/dist/types/editor/ContentSelector.d.ts.map +1 -1
  74. package/dist/types/editor/EditorProvider.d.ts +1 -2
  75. package/dist/types/editor/EditorProvider.d.ts.map +1 -1
  76. package/dist/types/editor/useEditor.d.ts +1 -2
  77. package/dist/types/editor/useEditor.d.ts.map +1 -1
  78. package/dist/types/getDictionary.d.ts +1 -2
  79. package/dist/types/getDictionary.d.ts.map +1 -1
  80. package/dist/types/getIntlayer.d.ts +1 -2
  81. package/dist/types/getIntlayer.d.ts.map +1 -1
  82. package/dist/types/html/HTMLComponentTypes.d.ts +2 -3
  83. package/dist/types/html/HTMLComponentTypes.d.ts.map +1 -1
  84. package/dist/types/html/HTMLProvider.d.ts +2 -3
  85. package/dist/types/html/HTMLProvider.d.ts.map +1 -1
  86. package/dist/types/html/HTMLRenderer.d.ts +5 -6
  87. package/dist/types/html/HTMLRenderer.d.ts.map +1 -1
  88. package/dist/types/html/HTMLRendererPlugin.d.ts +1 -2
  89. package/dist/types/html/HTMLRendererPlugin.d.ts.map +1 -1
  90. package/dist/types/html/types.d.ts +1 -2
  91. package/dist/types/html/types.d.ts.map +1 -1
  92. package/dist/types/index.d.ts +10 -18
  93. package/dist/types/index.d.ts.map +1 -1
  94. package/dist/types/markdown/MarkdownProvider.d.ts +5 -6
  95. package/dist/types/markdown/MarkdownProvider.d.ts.map +1 -1
  96. package/dist/types/markdown/MarkdownRenderer.d.ts +5 -6
  97. package/dist/types/markdown/MarkdownRenderer.d.ts.map +1 -1
  98. package/dist/types/markdown/MarkdownRendererPlugin.d.ts +1 -2
  99. package/dist/types/markdown/MarkdownRendererPlugin.d.ts.map +1 -1
  100. package/dist/types/markdown/processor.d.ts +4 -4
  101. package/dist/types/markdown/processor.d.ts.map +1 -1
  102. package/dist/types/markdown/runtime.d.ts +2 -3
  103. package/dist/types/markdown/runtime.d.ts.map +1 -1
  104. package/dist/types/plugins.d.ts +16 -17
  105. package/dist/types/plugins.d.ts.map +1 -1
  106. package/dist/types/reactElement/renderReactElement.d.ts +1 -2
  107. package/dist/types/reactElement/renderReactElement.d.ts.map +1 -1
  108. package/dist/types/server/IntlayerServerProvider.d.ts +8 -9
  109. package/dist/types/server/IntlayerServerProvider.d.ts.map +1 -1
  110. package/dist/types/server/format/useCompact.d.ts +1 -2
  111. package/dist/types/server/format/useCompact.d.ts.map +1 -1
  112. package/dist/types/server/format/useCurrency.d.ts +1 -2
  113. package/dist/types/server/format/useCurrency.d.ts.map +1 -1
  114. package/dist/types/server/format/useDate.d.ts +1 -2
  115. package/dist/types/server/format/useDate.d.ts.map +1 -1
  116. package/dist/types/server/format/useIntl.d.ts +1 -2
  117. package/dist/types/server/format/useIntl.d.ts.map +1 -1
  118. package/dist/types/server/format/useList.d.ts +1 -2
  119. package/dist/types/server/format/useList.d.ts.map +1 -1
  120. package/dist/types/server/format/useNumber.d.ts +1 -2
  121. package/dist/types/server/format/useNumber.d.ts.map +1 -1
  122. package/dist/types/server/format/usePercentage.d.ts +1 -2
  123. package/dist/types/server/format/usePercentage.d.ts.map +1 -1
  124. package/dist/types/server/format/useRelativeTime.d.ts +1 -2
  125. package/dist/types/server/format/useRelativeTime.d.ts.map +1 -1
  126. package/dist/types/server/format/useUnit.d.ts +1 -2
  127. package/dist/types/server/format/useUnit.d.ts.map +1 -1
  128. package/dist/types/server/serverContext.d.ts +3 -4
  129. package/dist/types/server/serverContext.d.ts.map +1 -1
  130. package/dist/types/server/t.d.ts +1 -2
  131. package/dist/types/server/t.d.ts.map +1 -1
  132. package/dist/types/server/useDictionary.d.ts +1 -2
  133. package/dist/types/server/useDictionary.d.ts.map +1 -1
  134. package/dist/types/server/useDictionaryAsync.d.ts +1 -2
  135. package/dist/types/server/useDictionaryAsync.d.ts.map +1 -1
  136. package/dist/types/server/useDictionaryDynamic.d.ts +1 -2
  137. package/dist/types/server/useDictionaryDynamic.d.ts.map +1 -1
  138. package/dist/types/server/useI18n.d.ts +2 -3
  139. package/dist/types/server/useI18n.d.ts.map +1 -1
  140. package/dist/types/server/useIntlayer.d.ts +1 -2
  141. package/dist/types/server/useIntlayer.d.ts.map +1 -1
  142. package/dist/types/server/useLoadDynamic.d.ts +1 -2
  143. package/dist/types/server/useLoadDynamic.d.ts.map +1 -1
  144. package/dist/types/server/useLocale.d.ts +2 -3
  145. package/dist/types/server/useLocale.d.ts.map +1 -1
  146. package/package.json +11 -11
  147. package/dist/types/intlayer/dist/types/index.d.ts +0 -14
@@ -1 +1 @@
1
- {"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../../src/client/format/useCompact.ts"],"mappings":";;;;;;;;;;;;cAgBa,mBAAU,wBAAA,UAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../../src/client/format/useCompact.ts"],"mappings":";;;;;;;;;;;qBAgBa,mBAAU,wBAAA,UAAA,KAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../../intlayer/dist/types/index.js";
2
1
  //#region src/client/format/useCurrency.d.ts
3
2
  /**
4
3
  * React client hook that provides a currency formatter
@@ -24,9 +23,8 @@ import { LocalesValues } from "../../intlayer/dist/types/index.js";
24
23
  * // "¥9,876,543"
25
24
  * ```
26
25
  */
27
- declare const useCurrency: () => (value: string | number, options?: Intl.NumberFormatOptions & {
28
- locale?: LocalesValues;
26
+ export declare const useCurrency: () => (value: string | number, options?: Intl.NumberFormatOptions & {
27
+ locale?: import("@intlayer/types").LocalesValues;
29
28
  }) => string;
30
29
  //#endregion
31
- export { useCurrency };
32
30
  //# sourceMappingURL=useCurrency.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../../src/client/format/useCurrency.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;cA8Ba,oBAAW,wBAAA,UAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../../src/client/format/useCurrency.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;qBA8Ba,oBAAW,wBAAA,UAAA,KAAA"}
@@ -26,7 +26,6 @@ import { date } from "@intlayer/core/formatters";
26
26
  *
27
27
  * @see createDate
28
28
  */
29
- declare const useDate: () => (...args: Parameters<typeof date>) => string;
29
+ export declare const useDate: () => (...args: Parameters<typeof date>) => string;
30
30
  //#endregion
31
- export { useDate };
32
31
  //# sourceMappingURL=useDate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../../src/client/format/useDate.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgCa,mBAAO,MAGD,kBAAkB"}
1
+ {"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../../src/client/format/useDate.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgCa,mBAAO,MAGD,kBAAkB"}
@@ -29,7 +29,6 @@ import { WrappedIntl } from "@intlayer/core/formatters";
29
29
  * const date2 = new intl.DateTimeFormat('fr-FR').format(new Date());
30
30
  * ```
31
31
  */
32
- declare const useIntl: (locale?: LocalesValues) => WrappedIntl;
32
+ export declare const useIntl: (locale?: LocalesValues) => WrappedIntl;
33
33
  //#endregion
34
- export { useIntl };
35
34
  //# sourceMappingURL=useIntl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../../src/client/format/useIntl.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCa,UAAO,SAAa,kBAAa"}
1
+ {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../../src/client/format/useIntl.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmCa,UAAO,SAAa,kBAAa"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../../intlayer/dist/types/index.js";
2
1
  //#region src/client/format/useList.d.ts
3
2
  /**
4
3
  * React client hook that provides a list formatter
@@ -21,13 +20,8 @@ import { LocalesValues } from "../../intlayer/dist/types/index.js";
21
20
  * // "1, 2 und 3"
22
21
  * ```
23
22
  */
24
- declare const useList: () => (values: (string | number)[], options?: {
25
- localeMatcher?: 'lookup' | 'best fit';
26
- type?: 'conjunction' | 'disjunction' | 'unit';
27
- style?: 'long' | 'short' | 'narrow';
28
- } & {
29
- locale?: LocalesValues;
23
+ export declare const useList: () => (values: (string | number)[], options?: import("@intlayer/core/formatters").ListFormatOptions & {
24
+ locale?: import("@intlayer/types").LocalesValues;
30
25
  }) => string;
31
26
  //#endregion
32
- export { useList };
33
27
  //# sourceMappingURL=useList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useList.d.ts","names":[],"sources":["../../../../src/client/format/useList.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;cA2Ba,gBAAO,6BAAA;;;;;WAAP"}
1
+ {"version":3,"file":"useList.d.ts","names":[],"sources":["../../../../src/client/format/useList.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;qBA2Ba,gBAAO,6BAAA,8CAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../../intlayer/dist/types/index.js";
2
1
  //#region src/client/format/useNumber.d.ts
3
2
  /**
4
3
  * React client hook that provides a localized number formatter.
@@ -22,9 +21,8 @@ import { LocalesValues } from "../../intlayer/dist/types/index.js";
22
21
  * @returns {(value: string | number, options?: import("../createNumber").NumberProps) => string}
23
22
  * A number formatting function bound to the active locale.
24
23
  */
25
- declare const useNumber: () => (value: string | number, args_1?: Intl.NumberFormatOptions & {
26
- locale?: LocalesValues;
24
+ export declare const useNumber: () => (value: string | number, args_1?: Intl.NumberFormatOptions & {
25
+ locale?: import("@intlayer/types").LocalesValues;
27
26
  }) => string;
28
27
  //#endregion
29
- export { useNumber };
30
28
  //# sourceMappingURL=useNumber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../../src/client/format/useNumber.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;cA4Ba,kBAAS,wBAAA,SAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../../src/client/format/useNumber.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;qBA4Ba,kBAAS,wBAAA,SAAA,KAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../../intlayer/dist/types/index.js";
2
1
  //#region src/client/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/client/format/usePercentage.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;cAwBa,sBAAa,wBAAA,SAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../../src/client/format/usePercentage.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAwBa,sBAAa,wBAAA,SAAA,KAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../../intlayer/dist/types/index.js";
2
1
  //#region src/client/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/client/format/useRelativeTime.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;cAwBa,wBAAe,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../../src/client/format/useRelativeTime.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAwBa,wBAAe,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA"}
@@ -1,4 +1,3 @@
1
- import { LocalesValues } from "../../intlayer/dist/types/index.js";
2
1
  //#region src/client/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/client/format/useUnit.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAuBa,gBAAO,wBAAA,UAAA,KAAA;WAAA"}
1
+ {"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../../src/client/format/useUnit.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAuBa,gBAAO,wBAAA,UAAA,KAAA"}
@@ -24,7 +24,6 @@ import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augme
24
24
  * };
25
25
  * ```
26
26
  */
27
- declare const t: <Content = string>(multilangContent: StrictModeLocaleMap<Content>, locale?: LocalesValues) => Content;
27
+ export declare const t: <Content = string>(multilangContent: StrictModeLocaleMap<Content>, locale?: LocalesValues) => Content;
28
28
  //#endregion
29
- export { t };
30
29
  //# sourceMappingURL=t.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"t.d.ts","names":[],"sources":["../../../src/client/t.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;cAkCa,IAAK,kBAAgB,kBACd,oBAAoB,UAAQ,SACrC,kBAAa"}
1
+ {"version":3,"file":"t.d.ts","names":[],"sources":["../../../src/client/t.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;qBAkCa,IAAK,kBAAgB,kBACd,oBAAoB,UAAQ,SACrC,kBAAa"}
@@ -10,7 +10,6 @@ import { Dictionary, DictionarySelectorForGroup, QualifiedDictionaryGroup } from
10
10
  * use the locale from the client context. The same applies to the variant,
11
11
  * which falls back to the provider's ambient `variant`.
12
12
  */
13
- declare const useDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => import("@intlayer/core/interpreter").DeepTransformContent<import("@intlayer/types").ResolveQualifiedDictionaryContent<T, A>, IInterpreterPluginState, import("@intlayer/types").ExtractSelectorLocale<A>>;
13
+ export declare const useDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => import("@intlayer/core/interpreter").DeepTransformContent<import("@intlayer/types").ResolveQualifiedDictionaryContent<T, A>, IInterpreterPluginState, import("@intlayer/types").ExtractSelectorLocale<A>>;
14
14
  //#endregion
15
- export { useDictionary };
16
15
  //# sourceMappingURL=useDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionary.d.ts","names":[],"sources":["../../../src/client/useDictionary.ts"],"mappings":";;;;;;;;;;;;cA2Ba,sBACL,UAAU,aAAa,gCACvB,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,2CAAC,+CAAA,kCAAA,GAAA,IAAA,mDAAA,sBAAA"}
1
+ {"version":3,"file":"useDictionary.d.ts","names":[],"sources":["../../../src/client/useDictionary.ts"],"mappings":";;;;;;;;;;;;qBA2Ba,sBACL,UAAU,aAAa,gCACvB,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,2CAAC,+CAAA,kCAAA,GAAA,IAAA,mDAAA,sBAAA"}
@@ -6,7 +6,6 @@ import { Dictionary } from "@intlayer/types/dictionary";
6
6
  *
7
7
  * If the locale is not provided, it will use the locale from the client context
8
8
  */
9
- declare const useDictionaryAsync: <const T extends Dictionary, const L extends LocalesValues = DeclaredLocales>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: L) => Promise<T>;
9
+ export declare const useDictionaryAsync: <const T extends Dictionary, const L extends LocalesValues = DeclaredLocales>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: L) => Promise<T>;
10
10
  //#endregion
11
- export { useDictionaryAsync };
12
11
  //# sourceMappingURL=useDictionaryAsync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":";;;;;;;;cAkBa,2BACL,UAAU,kBACV,UAAU,gBAAgB,iBAAe,mBAE5B,0BAA0B,QAAQ,KAAG,SAC/C,MACR,QAAQ"}
1
+ {"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":";;;;;;;;qBAkBa,2BACL,UAAU,kBACV,UAAU,gBAAgB,iBAAe,mBAE5B,0BAA0B,QAAQ,KAAG,SAC/C,MACR,QAAQ"}
@@ -13,7 +13,6 @@ import { QualifiedDynamicLoaderMap } from "@intlayer/core/dictionaryManipulator"
13
13
  * If the locale is not provided (directly or through the selector), the client
14
14
  * context locale is used.
15
15
  */
16
- declare const useDictionaryDynamic: <const T extends Dictionary, const K extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<K> = DeclaredLocales>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>> | QualifiedDynamicLoaderMap, key: K, localeOrSelector?: A) => any;
16
+ export declare const useDictionaryDynamic: <const T extends Dictionary, const K extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<K> = DeclaredLocales>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>> | QualifiedDynamicLoaderMap, key: K, localeOrSelector?: A) => any;
17
17
  //#endregion
18
- export { useDictionaryDynamic };
19
18
  //# sourceMappingURL=useDictionaryDynamic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":";;;;;;;;;;;;;;;cAsCa,6BACL,UAAU,kBACV,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,mBAGzE,0BAA0B,QAAQ,MAClC,2BAAyB,KACxB,GAAC,mBACa"}
1
+ {"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":";;;;;;;;;;;;;;;qBAsCa,6BACL,UAAU,kBACV,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,mBAGzE,0BAA0B,QAAQ,MAClC,2BAAyB,KACxB,GAAC,mBACa"}
@@ -1,7 +1,7 @@
1
1
  import { DeepTransformContent } from "../plugins.js";
2
2
  import { DeclaredLocales, DictionaryKeys, DictionaryRegistryContent } from "@intlayer/types/module_augmentation";
3
- import { GetSubPath } from "@intlayer/types/dictionary";
4
3
  import { ValidDotPathsFor } from "@intlayer/core/transpiler";
4
+ import { GetSubPath } from "@intlayer/types/dictionary";
5
5
  //#region src/client/useI18n.d.ts
6
6
  /**
7
7
  * Hook that provides a translation function `t()` for accessing nested content by key.
@@ -20,7 +20,6 @@ import { ValidDotPathsFor } from "@intlayer/core/transpiler";
20
20
  * const ariaLabel = t('button.ariaLabel').value; // 'Close modal'
21
21
  * ```
22
22
  */
23
- declare const useI18n: <T extends DictionaryKeys, L extends DeclaredLocales = DeclaredLocales>(namespace: T, locale?: L) => <P extends ValidDotPathsFor<T>>(path: P) => GetSubPath<DeepTransformContent<DictionaryRegistryContent<T>>, P>;
23
+ export declare const useI18n: <T extends DictionaryKeys, L extends DeclaredLocales = DeclaredLocales>(namespace: T, locale?: L) => <P extends ValidDotPathsFor<T>>(path: P) => GetSubPath<DeepTransformContent<DictionaryRegistryContent<T>>, P>;
24
24
  //#endregion
25
- export { useI18n };
26
25
  //# sourceMappingURL=useI18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useI18n.d.ts","names":[],"sources":["../../../src/client/useI18n.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;cA+Ba,UACX,UAAU,gBACV,UAAU,kBAAkB,iBAAe,WAEhC,GAAC,SACH,OAkBE,UAAU,iBAAiB,IAAE,MAChC,MAEL,WAAW,qBAAqB,0BAA0B,KAAK"}
1
+ {"version":3,"file":"useI18n.d.ts","names":[],"sources":["../../../src/client/useI18n.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;qBA+Ba,UACX,UAAU,gBACV,UAAU,kBAAkB,iBAAe,WAEhC,GAAC,SACH,OAkBE,UAAU,iBAAiB,IAAE,MAChC,MAEL,WAAW,qBAAqB,0BAA0B,KAAK"}
@@ -29,7 +29,6 @@ import { DeclaredLocales, DictionaryKeys, DictionarySelectorForKey, LocalesValue
29
29
  * };
30
30
  * ```
31
31
  */
32
- declare const useIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => import("@intlayer/core/interpreter").DeepTransformContent<import("@intlayer/types").DictionaryRegistryResult<T, A>, IInterpreterPluginState, import("@intlayer/types").ExtractSelectorLocale<A>>;
32
+ export declare const useIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => import("@intlayer/core/interpreter").DeepTransformContent<import("@intlayer/types").DictionaryRegistryResult<T, A>, IInterpreterPluginState, import("@intlayer/types").ExtractSelectorLocale<A>>;
33
33
  //#endregion
34
- export { useIntlayer };
35
34
  //# sourceMappingURL=useIntlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4Ca,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,2CAAC,+CAAA,yBAAA,GAAA,IAAA,mDAAA,sBAAA"}
1
+ {"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4Ca,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,2CAAC,+CAAA,yBAAA,GAAA,IAAA,mDAAA,sBAAA"}
@@ -1,5 +1,5 @@
1
1
  //#region src/client/useLoadDynamic.d.ts
2
- declare const useLoadDynamic: <T>(key: string, promise: Promise<T>) => T;
2
+ export declare const useLoadDynamic: <T>(key: string, promise: Promise<T>) => T;
3
3
  /**
4
4
  * Fills the same cache {@link useLoadDynamic} reads, ahead of render.
5
5
  *
@@ -19,7 +19,6 @@ declare const useLoadDynamic: <T>(key: string, promise: Promise<T>) => T;
19
19
  * dictionary twice never issues a second request.
20
20
  * @returns A promise that settles — never rejects — once the entry is readable.
21
21
  */
22
- declare const preloadDynamic: <T>(key: string, loader: () => Promise<T>) => Promise<void>;
22
+ export declare const preloadDynamic: <T>(key: string, loader: () => Promise<T>) => Promise<void>;
23
23
  //#endregion
24
- export { preloadDynamic, useLoadDynamic };
25
24
  //# sourceMappingURL=useLoadDynamic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLoadDynamic.d.ts","names":[],"sources":["../../../src/client/useLoadDynamic.ts"],"mappings":";cAqCa,iBAAkB,GAAC,aAAa,SAAW,QAAQ,OAAK;;;;;;;;;;;;;;;;;;;;cA2BxD,iBAAkB,GAAC,aACnB,cACG,QAAQ,OACrB"}
1
+ {"version":3,"file":"useLoadDynamic.d.ts","names":[],"sources":["../../../src/client/useLoadDynamic.ts"],"mappings":";qBAqCa,iBAAkB,GAAC,aAAa,SAAW,QAAQ,OAAK;;;;;;;;;;;;;;;;;;;;qBA2BxD,iBAAkB,GAAC,aACnB,cACG,QAAQ,OACrB"}
@@ -1,10 +1,10 @@
1
1
  import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
2
2
  //#region src/client/useLocale.d.ts
3
- type UseLocaleProps = {
3
+ export type UseLocaleProps = {
4
4
  isCookieEnabled?: boolean;
5
5
  onLocaleChange?: (locale: DeclaredLocales) => void;
6
6
  };
7
- type UseLocaleResult = {
7
+ export type UseLocaleResult = {
8
8
  locale: DeclaredLocales;
9
9
  defaultLocale: DeclaredLocales;
10
10
  availableLocales: DeclaredLocales[];
@@ -33,7 +33,6 @@ type UseLocaleResult = {
33
33
  * };
34
34
  * ```
35
35
  */
36
- declare const useLocale: ({ isCookieEnabled, onLocaleChange }?: UseLocaleProps) => UseLocaleResult;
36
+ export declare const useLocale: ({ isCookieEnabled, onLocaleChange }?: UseLocaleProps) => UseLocaleResult;
37
37
  //#endregion
38
- export { UseLocaleProps, UseLocaleResult, useLocale };
39
38
  //# sourceMappingURL=useLocale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;KAWY;EACV;EACA,kBAAkB,QAAQ;;KAGhB;EACV,QAAQ;EACR,eAAe;EACf,kBAAkB;EAClB,YAAY,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;cA0BT,cAAS,iBAAA,mBAGnB,mBAAsB"}
1
+ {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;YAWY;EACV;EACA,kBAAkB,QAAQ;;YAGhB;EACV,QAAQ;EACR,eAAe;EACf,kBAAkB;EAClB,YAAY,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;qBA0BT,cAAS,iBAAA,mBAGnB,mBAAsB"}
@@ -1,14 +1,12 @@
1
- import { LocalesValues } from "../intlayer/dist/types/index.js";
2
1
  //#region src/client/useLocaleBase.d.ts
3
2
  /**
4
3
  * On the client side, hook to get the current locale and all related fields
5
4
  */
6
- declare const useLocaleBase: () => {
7
- locale: LocalesValues;
5
+ export declare const useLocaleBase: () => {
6
+ locale: import("@intlayer/types").LocalesValues;
8
7
  defaultLocale: any;
9
8
  availableLocales: any;
10
- setLocale: (newLocale: LocalesValues) => void;
9
+ setLocale: (newLocale: import("@intlayer/types").LocalesValues) => void;
11
10
  };
12
11
  //#endregion
13
- export { useLocaleBase };
14
12
  //# sourceMappingURL=useLocaleBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLocaleBase.d.ts","names":[],"sources":["../../../src/client/useLocaleBase.ts"],"mappings":";;;;;cAWa;UAAA;;;yBAAA"}
1
+ {"version":3,"file":"useLocaleBase.d.ts","names":[],"sources":["../../../src/client/useLocaleBase.ts"],"mappings":";;;;qBAWa"}
@@ -1,4 +1,3 @@
1
- import { Locale } from "../intlayer/dist/types/index.js";
2
1
  import { LocalesValues } from "@intlayer/types/module_augmentation";
3
2
  //#region src/client/useLocaleStorage.d.ts
4
3
  /**
@@ -7,28 +6,28 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
7
6
  /**
8
7
  * Get the locale cookie
9
8
  */
10
- declare const localeInStorage: Locale;
9
+ export declare const localeInStorage: import("@intlayer/types").Locale;
11
10
  /**
12
11
  * @deprecated Use localeInStorage instead
13
12
  *
14
13
  * Get the locale cookie
15
14
  */
16
- declare const localeCookie: Locale;
15
+ export declare const localeCookie: import("@intlayer/types").Locale;
17
16
  /**
18
17
  * Set the locale cookie
19
18
  */
20
- declare const setLocaleInStorage: (locale: LocalesValues, isCookieEnabled?: boolean) => void;
19
+ export declare const setLocaleInStorage: (locale: LocalesValues, isCookieEnabled?: boolean) => void;
21
20
  /**
22
21
  * @deprecated Use setLocaleInStorage instead
23
22
  *
24
23
  * Set the locale cookie
25
24
  */
26
- declare const setLocaleCookie: typeof setLocaleInStorage;
25
+ export declare const setLocaleCookie: typeof setLocaleInStorage;
27
26
  /**
28
27
  * Hook that provides the locale cookie and a function to set it
29
28
  */
30
- declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
31
- getLocale: () => Locale;
29
+ export declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
30
+ getLocale: () => import("@intlayer/types").Locale;
32
31
  setLocale: (locale: LocalesValues) => void;
33
32
  };
34
33
  /**
@@ -38,7 +37,6 @@ declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
38
37
  *
39
38
  * Hook that provides the locale cookie and a function to set it
40
39
  */
41
- declare const useLocaleCookie: typeof useLocaleStorage;
40
+ export declare const useLocaleCookie: typeof useLocaleStorage;
42
41
  //#endregion
43
- export { localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage };
44
42
  //# sourceMappingURL=useLocaleStorage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;;;cAea,iBAAA;;;;;;cAMA,cAAA;;;;cAKA,qBAAkB,QACrB,eAAa;;;;;;cAaV,wBAAe;;;;cAKf,mBAAgB;mBAAhB;sBAAA;;;;;;;;;cAiBA,wBAAe"}
1
+ {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;;qBAea,2CAAe;;;;;;qBAMf,wCAAY;;;;qBAKZ,qBAAkB,QACrB,eAAa;;;;;;qBAaV,wBAAe;;;;qBAKf,mBAAgB;;sBAAhB;;;;;;;;;qBAiBA,wBAAe"}
@@ -17,7 +17,6 @@
17
17
  * };
18
18
  * ```
19
19
  */
20
- declare const usePathname: () => string;
20
+ export declare const usePathname: () => string;
21
21
  //#endregion
22
- export { usePathname };
23
22
  //# sourceMappingURL=usePathname.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAuBa"}
1
+ {"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAuBa"}
@@ -17,7 +17,6 @@
17
17
  * };
18
18
  * ```
19
19
  */
20
- declare const useRewriteURL: () => void;
20
+ export declare const useRewriteURL: () => void;
21
21
  //#endregion
22
- export { useRewriteURL };
23
22
  //# sourceMappingURL=useRewriteURL.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRewriteURL.d.ts","names":[],"sources":["../../../src/client/useRewriteURL.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cA0Ba"}
1
+ {"version":3,"file":"useRewriteURL.d.ts","names":[],"sources":["../../../src/client/useRewriteURL.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBA0Ba"}
@@ -21,7 +21,6 @@ import { StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
21
21
  * - this function will require each locale to be defined if defined in the project configuration.
22
22
  * - If a locale is missing, it will make each existing locale optional and raise an error if the locale is not found.
23
23
  */
24
- declare const useTranslation: <const Content = string>(languageContent: StrictModeLocaleMap<Content>) => Content;
24
+ export declare const useTranslation: <const Content = string>(languageContent: StrictModeLocaleMap<Content>) => Content;
25
25
  //#endregion
26
- export { useTranslation };
27
26
  //# sourceMappingURL=useTraduction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTraduction.d.ts","names":[],"sources":["../../../src/client/useTraduction.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;cA0Ba,uBAAwB,kBAAgB,iBAClC,oBAAoB,aACpC"}
1
+ {"version":3,"file":"useTraduction.d.ts","names":[],"sources":["../../../src/client/useTraduction.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;qBA0Ba,uBAAwB,kBAAgB,iBAClC,oBAAoB,aACpC"}
@@ -1,8 +1,7 @@
1
1
  import { NodeProps } from "@intlayer/core/interpreter";
2
2
  import { FC, HTMLAttributes } from "react";
3
3
  //#region src/editor/ContentSelector.d.ts
4
- type ContentSelectorProps = NodeProps & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
5
- declare const ContentSelector: FC<ContentSelectorProps>;
4
+ export type ContentSelectorProps = NodeProps & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
5
+ export declare const ContentSelector: FC<ContentSelectorProps>;
6
6
  //#endregion
7
- export { ContentSelector, ContentSelectorProps };
8
7
  //# sourceMappingURL=ContentSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentSelector.d.ts","names":[],"sources":["../../../src/editor/ContentSelector.tsx"],"mappings":";;;KAMY,uBAAuB,YACjC,KAAK,eAAe;cAET,iBAAiB,GAAG"}
1
+ {"version":3,"file":"ContentSelector.d.ts","names":[],"sources":["../../../src/editor/ContentSelector.tsx"],"mappings":";;;YAMY,uBAAuB,YACjC,KAAK,eAAe;qBAET,iBAAiB,GAAG"}
@@ -1,6 +1,5 @@
1
1
  import { FC, PropsWithChildren } from "react";
2
2
  //#region src/editor/EditorProvider.d.ts
3
- declare const EditorProvider: FC<PropsWithChildren>;
3
+ export declare const EditorProvider: FC<PropsWithChildren>;
4
4
  //#endregion
5
- export { EditorProvider };
6
5
  //# sourceMappingURL=EditorProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorProvider.d.ts","names":[],"sources":["../../../src/editor/EditorProvider.tsx"],"mappings":";;cAGa,gBAAgB,GAAG"}
1
+ {"version":3,"file":"EditorProvider.d.ts","names":[],"sources":["../../../src/editor/EditorProvider.tsx"],"mappings":";;qBAGa,gBAAgB,GAAG"}
@@ -4,7 +4,6 @@
4
4
  * Syncs the current locale from the Intlayer context into the editor manager so
5
5
  * the editor always knows which locale the app is displaying.
6
6
  */
7
- declare const useEditor: () => void;
7
+ export declare const useEditor: () => void;
8
8
  //#endregion
9
- export { useEditor };
10
9
  //# sourceMappingURL=useEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.tsx"],"mappings":";;;;;;cAaa"}
1
+ {"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.tsx"],"mappings":";;;;;;qBAaa"}
@@ -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"}
@@ -26,16 +26,15 @@ type RestHTMLComponents<T> = { [K in Exclude<keyof HTMLTagsType, keyof T>]?: FC<
26
26
  /**
27
27
  * The supported modes for the HTMLComponents type.
28
28
  */
29
- type HTMLComponentMode = 'permissive' | 'optional' | 'inclusive' | 'strict';
29
+ export type HTMLComponentMode = 'permissive' | 'optional' | 'inclusive' | 'strict';
30
30
  /**
31
31
  * The main component definition with Mode support.
32
32
  */
33
- 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.
33
+ 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.
34
34
  ? DefinedComponents<T, true> & RestHTMLComponents<T> : Mode extends 'permissive' // Permissive: Keys in T optional. Rest of HTML optional. Any other string allowed.
35
35
  ? DefinedComponents<T, false> & RestHTMLComponents<T> & {
36
36
  [key: string]: FC<any>;
37
37
  } // Optional (Default): Keys in T optional. Rest of HTML optional.
38
38
  : DefinedComponents<T, false> & RestHTMLComponents<T>;
39
39
  //#endregion
40
- export { HTMLComponentMode, HTMLComponents };
41
40
  //# sourceMappingURL=HTMLComponentTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HTMLComponentTypes.d.ts","names":[],"sources":["../../../src/html/HTMLComponentTypes.tsx"],"mappings":";;;;;;KAMK,YAAY,KAAK,8BAElB,8BAEE,gCAEE;;;;KAKH,gBAAgB,SAAS,0BAE1B,0BACK,KAAK,cAAc,sBAAsB,YAAY,MAAM;;;;KAM/D,aAAa,KAAK,gBAAgB,IAAI,oBACvC,eAAe,KACf,eAAe;;;;;KAMd,kBAAkB,GAAG,8BAA8B,6BAGjD,WAAW,IAAI,GAAG,aAAa,KAAK,gBAAgB,EAAE,aAItD,WAAW,KAAK,GAAG,aAAa,KAAK,gBAAgB,EAAE;;;;;KAOzD,mBAAmB,QACrB,KAAK,cAAc,oBAAoB,MAAM,GAC5C,gBAAgB,IAAI,oBAChB,eAAe,KACf,eAAe;;;;KAOX;;;;KASA,eACV,aAAa,gCACb,UACE,wBAEA,kBAAkB,WAClB;GAEE,kBAAkB,WAAW,mBAAmB,KAChD;GAEE,kBAAkB,YAChB,mBAAmB;GAChB,cAAc;;GAGnB,kBAAkB,YAAY,mBAAmB"}
1
+ {"version":3,"file":"HTMLComponentTypes.d.ts","names":[],"sources":["../../../src/html/HTMLComponentTypes.tsx"],"mappings":";;;;;;KAMK,YAAY,KAAK,8BAElB,8BAEE,gCAEE;;;;KAKH,gBAAgB,SAAS,0BAE1B,0BACK,KAAK,cAAc,sBAAsB,YAAY,MAAM;;;;KAM/D,aAAa,KAAK,gBAAgB,IAAI,oBACvC,eAAe,KACf,eAAe;;;;;KAMd,kBAAkB,GAAG,8BAA8B,6BAGjD,WAAW,IAAI,GAAG,aAAa,KAAK,gBAAgB,EAAE,aAItD,WAAW,KAAK,GAAG,aAAa,KAAK,gBAAgB,EAAE;;;;;KAOzD,mBAAmB,QACrB,KAAK,cAAc,oBAAoB,MAAM,GAC5C,gBAAgB,IAAI,oBAChB,eAAe,KACf,eAAe;;;;YAOX;;;;YASA,eACV,aAAa,gCACb,UACE,wBAEA,kBAAkB,WAClB;GAEE,kBAAkB,WAAW,mBAAmB,KAChD;GAEE,kBAAkB,YAChB,mBAAmB;GAChB,cAAc;;GAGnB,kBAAkB,YAAY,mBAAmB"}
@@ -10,8 +10,7 @@ type HTMLProviderProps = PropsWithChildren<{
10
10
  */
11
11
  components?: HTMLComponents<'permissive', {}>;
12
12
  }>;
13
- declare const useHTMLContext: () => HTMLContextValue;
14
- declare const HTMLProvider: FC<HTMLProviderProps>;
13
+ export declare const useHTMLContext: () => HTMLContextValue;
14
+ export declare const HTMLProvider: FC<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":";;;KAUK;EACH,aAAa;;KAGV,oBAAoB;;;;EAIvB,aAAa;;cAKF,sBAAc;cAEd,cAAc,GAAG"}
1
+ {"version":3,"file":"HTMLProvider.d.ts","names":[],"sources":["../../../src/html/HTMLProvider.tsx"],"mappings":";;;KAUK;EACH,aAAa;;KAGV,oBAAoB;;;;EAIvB,aAAa;;qBAKF,sBAAc;qBAEd,cAAc,GAAG"}