@intlayer/design-system 9.4.0 → 9.4.2

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 (185) hide show
  1. package/README.md +1 -1
  2. package/dist/esm/api/index.mjs +2 -2
  3. package/dist/esm/api/useUser/index.mjs +1 -1
  4. package/dist/esm/components/Avatar/index.mjs +1 -1
  5. package/dist/esm/components/Avatar/index.mjs.map +1 -1
  6. package/dist/esm/components/Badge/index.mjs +3 -3
  7. package/dist/esm/components/Badge/index.mjs.map +1 -1
  8. package/dist/esm/components/Breadcrumb/index.mjs +5 -5
  9. package/dist/esm/components/Breadcrumb/index.mjs.map +1 -1
  10. package/dist/esm/components/Browser/Browser.mjs +4 -4
  11. package/dist/esm/components/Browser/Browser.mjs.map +1 -1
  12. package/dist/esm/components/Button/Button.mjs +1 -0
  13. package/dist/esm/components/Button/Button.mjs.map +1 -1
  14. package/dist/esm/components/Carousel/index.mjs +5 -5
  15. package/dist/esm/components/Carousel/index.mjs.map +1 -1
  16. package/dist/esm/components/CollapsibleTable/CollapsibleTable.mjs +5 -5
  17. package/dist/esm/components/CollapsibleTable/CollapsibleTable.mjs.map +1 -1
  18. package/dist/esm/components/Container/index.mjs +2 -2
  19. package/dist/esm/components/Container/index.mjs.map +1 -1
  20. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  21. package/dist/esm/components/DictionaryEditor/ItemLayout.mjs +1 -1
  22. package/dist/esm/components/DictionaryEditor/ItemLayout.mjs.map +1 -1
  23. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +7 -7
  24. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  25. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  26. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +9 -9
  27. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  28. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +4 -4
  29. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  30. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  31. package/dist/esm/components/DictionaryFieldEditor/{ContentEditor.mjs → NodeEditor.mjs} +9 -9
  32. package/dist/esm/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -0
  33. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +3 -3
  34. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  35. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +2 -2
  36. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
  37. package/dist/esm/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +2 -2
  38. package/dist/esm/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
  39. package/dist/esm/components/DictionaryFieldEditor/index.mjs +3 -3
  40. package/dist/esm/components/Footer/index.mjs +5 -3
  41. package/dist/esm/components/Footer/index.mjs.map +1 -1
  42. package/dist/esm/components/Form/elements/OTPElement.mjs +1 -1
  43. package/dist/esm/components/HeightResizer/index.mjs +1 -1
  44. package/dist/esm/components/HeightResizer/index.mjs.map +1 -1
  45. package/dist/esm/components/IDE/Code.mjs +1 -1
  46. package/dist/esm/components/IDE/Code.mjs.map +1 -1
  47. package/dist/esm/components/IDE/FileList.mjs +1 -1
  48. package/dist/esm/components/IDE/FileList.mjs.map +1 -1
  49. package/dist/esm/components/IDE/FileTree.mjs +1 -1
  50. package/dist/esm/components/IDE/FileTree.mjs.map +1 -1
  51. package/dist/esm/components/IDE/IDE.mjs +10 -7
  52. package/dist/esm/components/IDE/IDE.mjs.map +1 -1
  53. package/dist/esm/components/IDE/MarkDownRender.mjs +4 -3
  54. package/dist/esm/components/IDE/MarkDownRender.mjs.map +1 -1
  55. package/dist/esm/components/Input/Checkbox.mjs +4 -4
  56. package/dist/esm/components/Input/Checkbox.mjs.map +1 -1
  57. package/dist/esm/components/Input/Input.mjs +2 -2
  58. package/dist/esm/components/Input/Input.mjs.map +1 -1
  59. package/dist/esm/components/Input/OTPInput.mjs +1 -1
  60. package/dist/esm/components/Input/OTPInput.mjs.map +1 -1
  61. package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs +2 -2
  62. package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs.map +1 -1
  63. package/dist/esm/components/LanguageBackground/LanguageSection.mjs +6 -8
  64. package/dist/esm/components/LanguageBackground/LanguageSection.mjs.map +1 -1
  65. package/dist/esm/components/LanguageBackground/index.mjs +2 -2
  66. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +3 -3
  67. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
  68. package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs +1 -1
  69. package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs.map +1 -1
  70. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +9 -8
  71. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
  72. package/dist/esm/components/MarkdownEditor/MarkdownEditor.mjs +2 -2
  73. package/dist/esm/components/MarkdownEditor/MarkdownEditor.mjs.map +1 -1
  74. package/dist/esm/components/MarkdownEditor/generative/AISelector.mjs +3 -3
  75. package/dist/esm/components/MarkdownEditor/generative/AISelector.mjs.map +1 -1
  76. package/dist/esm/components/MarkdownEditor/generative/AISelectorCommands.mjs +2 -2
  77. package/dist/esm/components/MarkdownEditor/generative/AISelectorCommands.mjs.map +1 -1
  78. package/dist/esm/components/MarkdownEditor/generative/GenerativeMenuSwitch.mjs +2 -2
  79. package/dist/esm/components/MarkdownEditor/generative/GenerativeMenuSwitch.mjs.map +1 -1
  80. package/dist/esm/components/Modal/Modal.mjs +2 -3
  81. package/dist/esm/components/Modal/Modal.mjs.map +1 -1
  82. package/dist/esm/components/Navbar/DesktopNavbar.mjs +3 -3
  83. package/dist/esm/components/Navbar/DesktopNavbar.mjs.map +1 -1
  84. package/dist/esm/components/Navbar/MobileNavbar.mjs +2 -2
  85. package/dist/esm/components/Navbar/MobileNavbar.mjs.map +1 -1
  86. package/dist/esm/components/Pagination/Pagination.mjs +1 -1
  87. package/dist/esm/components/Pattern/GridDistortionPattern.mjs +2 -2
  88. package/dist/esm/components/Pattern/GridDistortionPattern.mjs.map +1 -1
  89. package/dist/esm/components/Pattern/GridPattern.mjs +1 -1
  90. package/dist/esm/components/Pattern/GridPattern.mjs.map +1 -1
  91. package/dist/esm/components/RightDrawer/RightDrawer.mjs +5 -5
  92. package/dist/esm/components/RightDrawer/RightDrawer.mjs.map +1 -1
  93. package/dist/esm/components/Select/Multiselect.mjs +2 -2
  94. package/dist/esm/components/Select/Multiselect.mjs.map +1 -1
  95. package/dist/esm/components/Select/Select.mjs +2 -2
  96. package/dist/esm/components/Select/Select.mjs.map +1 -1
  97. package/dist/esm/components/Status/index.mjs +28 -0
  98. package/dist/esm/components/Status/index.mjs.map +1 -0
  99. package/dist/esm/components/Steps/index.mjs +3 -3
  100. package/dist/esm/components/Steps/index.mjs.map +1 -1
  101. package/dist/esm/components/SwitchSelector/SwitchSelector.mjs +12 -11
  102. package/dist/esm/components/SwitchSelector/SwitchSelector.mjs.map +1 -1
  103. package/dist/esm/components/SwitchSelector/VerticalSwitchSelector.mjs +6 -6
  104. package/dist/esm/components/SwitchSelector/VerticalSwitchSelector.mjs.map +1 -1
  105. package/dist/esm/components/Tab/Tab.mjs +2 -2
  106. package/dist/esm/components/Tab/Tab.mjs.map +1 -1
  107. package/dist/esm/components/TabSelector/TabSelector.mjs +5 -5
  108. package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
  109. package/dist/esm/components/Table/SmartTable.mjs +2 -2
  110. package/dist/esm/components/Table/SmartTable.mjs.map +1 -1
  111. package/dist/esm/components/Table/Table.mjs +1 -1
  112. package/dist/esm/components/Table/Table.mjs.map +1 -1
  113. package/dist/esm/components/Table/TableElements.mjs +2 -2
  114. package/dist/esm/components/Table/TableElements.mjs.map +1 -1
  115. package/dist/esm/components/Tag/index.mjs +1 -1
  116. package/dist/esm/components/Tag/index.mjs.map +1 -1
  117. package/dist/esm/components/TechLogo/TechLogo.mjs +2 -0
  118. package/dist/esm/components/TechLogo/TechLogo.mjs.map +1 -1
  119. package/dist/esm/components/TechLogo/logos/HTMX.mjs +31 -0
  120. package/dist/esm/components/TechLogo/logos/HTMX.mjs.map +1 -0
  121. package/dist/esm/components/TechLogo/logos/Remix.mjs +22 -0
  122. package/dist/esm/components/TechLogo/logos/Remix.mjs.map +1 -0
  123. package/dist/esm/components/TechLogo/techLogos.mjs +5 -1
  124. package/dist/esm/components/TechLogo/techLogos.mjs.map +1 -1
  125. package/dist/esm/components/Terminal/Terminal.mjs +4 -4
  126. package/dist/esm/components/Terminal/Terminal.mjs.map +1 -1
  127. package/dist/esm/components/TextArea/TextArea.mjs.map +1 -1
  128. package/dist/esm/components/Toaster/Toast.mjs +4 -4
  129. package/dist/esm/components/Toaster/Toast.mjs.map +1 -1
  130. package/dist/esm/components/index.mjs +8 -7
  131. package/dist/esm/hooks/index.mjs +7 -7
  132. package/dist/esm/hooks/usePersistedStore.mjs +6 -18
  133. package/dist/esm/hooks/usePersistedStore.mjs.map +1 -1
  134. package/dist/esm/providers/ReactQueryProvider.mjs +10 -2
  135. package/dist/esm/providers/ReactQueryProvider.mjs.map +1 -1
  136. package/dist/esm/providers/ThemeProvider.mjs +27 -15
  137. package/dist/esm/providers/ThemeProvider.mjs.map +1 -1
  138. package/dist/esm/routes.mjs +3 -1
  139. package/dist/esm/routes.mjs.map +1 -1
  140. package/dist/esm/structured-data/buildItemListJsonLd.mjs +27 -0
  141. package/dist/esm/structured-data/buildItemListJsonLd.mjs.map +1 -0
  142. package/dist/esm/structured-data/index.mjs +2 -1
  143. package/dist/types/components/Badge/index.d.ts.map +1 -1
  144. package/dist/types/components/Button/Button.d.ts +2 -2
  145. package/dist/types/components/Button/Button.d.ts.map +1 -1
  146. package/dist/types/components/Container/index.d.ts.map +1 -1
  147. package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
  148. package/dist/types/components/DictionaryFieldEditor/NodeEditor.d.ts +10 -0
  149. package/dist/types/components/DictionaryFieldEditor/NodeEditor.d.ts.map +1 -0
  150. package/dist/types/components/DictionaryFieldEditor/index.d.ts +2 -2
  151. package/dist/types/components/Footer/index.d.ts.map +1 -1
  152. package/dist/types/components/Form/FormBase.d.ts +1 -1
  153. package/dist/types/components/IDE/MarkDownRender.d.ts +1 -0
  154. package/dist/types/components/IDE/MarkDownRender.d.ts.map +1 -1
  155. package/dist/types/components/LanguageBackground/LanguageSection.d.ts +5 -1
  156. package/dist/types/components/LanguageBackground/LanguageSection.d.ts.map +1 -1
  157. package/dist/types/components/LanguageBackground/index.d.ts +2 -2
  158. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts.map +1 -1
  159. package/dist/types/components/Status/index.d.ts +8 -0
  160. package/dist/types/components/Status/index.d.ts.map +1 -0
  161. package/dist/types/components/SwitchSelector/SwitchSelector.d.ts +3 -3
  162. package/dist/types/components/SwitchSelector/SwitchSelector.d.ts.map +1 -1
  163. package/dist/types/components/Table/TableElements.d.ts.map +1 -1
  164. package/dist/types/components/TechLogo/TechLogo.d.ts.map +1 -1
  165. package/dist/types/components/TechLogo/logos/HTMX.d.ts +6 -0
  166. package/dist/types/components/TechLogo/logos/HTMX.d.ts.map +1 -0
  167. package/dist/types/components/TechLogo/logos/Remix.d.ts +6 -0
  168. package/dist/types/components/TechLogo/logos/Remix.d.ts.map +1 -0
  169. package/dist/types/components/TechLogo/techLogos.d.ts +4 -2
  170. package/dist/types/components/TechLogo/types.d.ts +1 -1
  171. package/dist/types/components/TextArea/TextArea.d.ts +1 -1
  172. package/dist/types/components/index.d.ts +3 -2
  173. package/dist/types/providers/ThemeProvider.d.ts.map +1 -1
  174. package/dist/types/routes.d.ts +3 -1
  175. package/dist/types/routes.d.ts.map +1 -1
  176. package/dist/types/structured-data/buildItemListJsonLd.d.ts +36 -0
  177. package/dist/types/structured-data/buildItemListJsonLd.d.ts.map +1 -0
  178. package/dist/types/structured-data/index.d.ts +2 -1
  179. package/package.json +53 -53
  180. package/src/components/MarkdownEditor/markdown-editor.css +16 -16
  181. package/styles/globals.css +71 -0
  182. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs.map +0 -1
  183. package/dist/types/components/DictionaryFieldEditor/ContentEditor.d.ts +0 -10
  184. package/dist/types/components/DictionaryFieldEditor/ContentEditor.d.ts.map +0 -1
  185. package/tailwind.css +0 -269
@@ -139,6 +139,7 @@ declare const Website_Doc_Environment_Express_Path: '/doc/environment/express';
139
139
  declare const Website_Doc_Environment_NestJS_Path: '/doc/environment/nest';
140
140
  declare const Website_Doc_Environment_Fastify_Path: '/doc/environment/fastify';
141
141
  declare const Website_Doc_Environment_Hono_Path: '/doc/environment/hono';
142
+ declare const Website_Doc_Environment_Htmx_Path: '/doc/environment/htmx';
142
143
  declare const Website_Doc_CLI_Fill_Path: '/doc/concept/cli/fill';
143
144
  declare const Website_Doc_CLI_Translate_Path: '/doc/concept/cli/doc-translate';
144
145
  declare const Website_Doc_CLI_Review_Path: '/doc/concept/cli/doc-review';
@@ -204,6 +205,7 @@ declare const Website_Doc_Environment_Express: "https://intlayer.org/doc/environ
204
205
  declare const Website_Doc_Environment_NestJS: "https://intlayer.org/doc/environment/nest";
205
206
  declare const Website_Doc_Environment_Fastify: "https://intlayer.org/doc/environment/fastify";
206
207
  declare const Website_Doc_Environment_Hono: "https://intlayer.org/doc/environment/hono";
208
+ declare const Website_Doc_Environment_Htmx: "https://intlayer.org/doc/environment/htmx";
207
209
  declare const Website_Doc_CLI_Fill: "https://intlayer.org/doc/concept/cli/fill";
208
210
  declare const Website_Doc_CLI_Translate: "https://intlayer.org/doc/concept/cli/doc-translate";
209
211
  declare const Website_Doc_CLI_Review: "https://intlayer.org/doc/concept/cli/doc-review";
@@ -302,5 +304,5 @@ declare const External_ExampleIntlayerWithViteAndPreact: 'https://github.com/aym
302
304
  declare const External_ExampleIntlayerWithReactNative: 'https://github.com/aymericzip/intlayer/tree/main/examples/react-native-app';
303
305
  declare const External_ExampleIntlayerWithExpress: 'https://github.com/aymericzip/intlayer/tree/main/examples/express-app';
304
306
  //#endregion
305
- export { App_Admin, App_Admin_Affiliate, App_Admin_Affiliate_Path, App_Admin_Dashboard, App_Admin_Dashboard_Path, App_Admin_Discussions, App_Admin_Discussions_Path, App_Admin_Management, App_Admin_Management_Path, App_Admin_Organizations, App_Admin_Organizations_Path, App_Admin_Path, App_Admin_Projects, App_Admin_Projects_Path, App_Admin_PromoCodes, App_Admin_PromoCodes_Path, App_Admin_Reviewers, App_Admin_Reviewers_Path, App_Admin_Users, App_Admin_Users_Path, App_Affiliation, App_Affiliation_Path, App_Auth_AskResetPassword, App_Auth_AskResetPassword_Path, App_Auth_ChangePassword, App_Auth_ChangePassword_Path, App_Auth_Demo_Path, App_Auth_Path, App_Auth_ResetPassword, App_Auth_ResetPassword_Path, App_Auth_SignIn, App_Auth_SignIn_Path, App_Auth_SignUp, App_Auth_SignUp_Path, App_Auth_TwoFactor, App_Auth_TwoFactor_Path, App_Dashboard, App_Dashboard_Analytics, App_Dashboard_Analytics_Path, App_Dashboard_Assets_Path, App_Dashboard_Dictionaries, App_Dashboard_Dictionaries_Path, App_Dashboard_Editor, App_Dashboard_Editor_Path, App_Dashboard_IDE, App_Dashboard_IDE_Path, App_Dashboard_Organization, App_Dashboard_Organization_Path, App_Dashboard_Profile, App_Dashboard_Profile_Path, App_Dashboard_Projects, App_Dashboard_Projects_Path, App_Dashboard_Scanner, App_Dashboard_Scanner_Path, App_Dashboard_Tags, App_Dashboard_Tags_Path, App_Dashboard_Translate, App_Dashboard_Translate_Path, App_Demo, App_Demo_Path, App_Domain, App_Home_Path, App_Init_Path, App_NotFound_Path, App_Onboarding, App_Onboarding_Path, App_Pricing, App_Pricing_Path, App_ReviewerMarketplace, App_ReviewerMarketplace_Dashboard, App_ReviewerMarketplace_Dashboard_Mission_Path, App_ReviewerMarketplace_Dashboard_Path, App_ReviewerMarketplace_Path, App_ReviewerMarketplace_Reviewer_Path, AuthMd_Path, Backend_Domain, Backend_Health, Backend_OAuth2_Token, Backend_Root, Doc_Blog_Path, Doc_Blog_Root_Path, Doc_Blog_Search_Path, Doc_Blog_What_is_i18n_Path, Doc_CLI_Fill_Path, Doc_CLI_Review_Path, Doc_CLI_Translate_Path, Doc_Chat_Path, Doc_Contributors_Path, Doc_Environment_Adonis_Path, Doc_Environment_Angular_Path, Doc_Environment_Astro_Path, Doc_Environment_CRA_Path, Doc_Environment_Express_Path, Doc_Environment_Fastify_Path, Doc_Environment_Hono_Path, Doc_Environment_Lit_Path, Doc_Environment_Lynx_Path, Doc_Environment_NestJS_Path, Doc_Environment_NextJS_14_Path, Doc_Environment_NextJS_15_Path, Doc_Environment_NextJS_16_Path, Doc_Environment_NextJS_Path, Doc_Environment_Nodejs_Path, Doc_Environment_NuxtAndVue_Path, Doc_Environment_ReactNativeAndExpo_Path, Doc_Environment_Tanstack_Path, Doc_Environment_ViteAndPreact_Path, Doc_Environment_ViteAndReact_Path, Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Doc_Environment_ViteAndReact_ReactRouterV7_Path, Doc_Environment_ViteAndSolid_Path, Doc_Environment_ViteAndSvelte_Path, Doc_Environment_ViteAndVue_Path, Doc_FrequentQuestions_Path, Doc_IntlayerCMS_Path, Doc_IntlayerVisualEditor_Path, Doc_Intlayer_with_Lynx_and_React_Path, Doc_MCP_Path, Doc_Path, Doc_PrivacyPolicy_Path, Doc_ReleasesV6_Path, Doc_ReleasesV7_Path, Doc_ReleasesV8_Path, Doc_Root_Path, Doc_Search_Path, Doc_ShowcaseSubmit_Path, Doc_Showcase_Path, Doc_TermsOfService_Path, Doc_Why_Path, External_AI_Landing_Page, External_Discord, External_DockerHub_SelfHost, External_ExampleIntlayerWithExpress, External_ExampleIntlayerWithNextjs, External_ExampleIntlayerWithReactJS, External_ExampleIntlayerWithReactNative, External_ExampleIntlayerWithViteAndPreact, External_ExampleIntlayerWithViteAndReact, External_ExampleIntlayerWithViteAndSolid, External_ExampleIntlayerWithViteAndSvelte, External_ExampleIntlayerWithViteAndVue, External_Examples, External_Github, External_Github_i18n_benchmark, External_LinkedIn, External_ShowcaseApp, LlmsTxt_Path, Mcp_Domain, Mcp_Root, Mcp_Sse, Showcase_Domain, Showcase_Root, Showcase_Root_Path, Showcase_Submit, Showcase_Submit_Path, Website_Benchmark, Website_Benchmark_NextJS, Website_Benchmark_NextJS_Path, Website_Benchmark_Path, Website_Benchmark_Tanstack, Website_Benchmark_Tanstack_Path, Website_Blog, Website_Blog_Path, Website_Blog_Root, Website_Blog_Root_Path, Website_Blog_Search, Website_Blog_Search_Path, Website_Blog_What_is_i18n, Website_Blog_What_is_i18n_Path, Website_CMS, Website_CMS_Path, Website_Changelog, Website_Changelog_Path, Website_Contributors, Website_Contributors_Path, Website_Demo, Website_Demo_Path, Website_Doc, Website_Doc_CLI_Fill, Website_Doc_CLI_Fill_Path, Website_Doc_CLI_Review, Website_Doc_CLI_Review_Path, Website_Doc_CLI_Translate, Website_Doc_CLI_Translate_Path, Website_Doc_Chat, Website_Doc_Chat_Path, Website_Doc_Environment_Adonis, Website_Doc_Environment_Adonis_Path, Website_Doc_Environment_Angular, Website_Doc_Environment_Angular_Path, Website_Doc_Environment_Astro, Website_Doc_Environment_Astro_Path, Website_Doc_Environment_CRA, Website_Doc_Environment_CRA_Path, Website_Doc_Environment_Express, Website_Doc_Environment_Express_Path, Website_Doc_Environment_Fastify, Website_Doc_Environment_Fastify_Path, Website_Doc_Environment_Hono, Website_Doc_Environment_Hono_Path, Website_Doc_Environment_Lit, Website_Doc_Environment_Lit_Path, Website_Doc_Environment_Lynx, Website_Doc_Environment_Lynx_Path, Website_Doc_Environment_NestJS, Website_Doc_Environment_NestJS_Path, Website_Doc_Environment_NextJS, Website_Doc_Environment_NextJS_14, Website_Doc_Environment_NextJS_14_Path, Website_Doc_Environment_NextJS_15, Website_Doc_Environment_NextJS_15_Path, Website_Doc_Environment_NextJS_16, Website_Doc_Environment_NextJS_16_Path, Website_Doc_Environment_NextJS_Path, Website_Doc_Environment_Nodejs, Website_Doc_Environment_Nodejs_Path, Website_Doc_Environment_NuxtAndVue, Website_Doc_Environment_NuxtAndVue_Path, Website_Doc_Environment_ReactNativeAndExpo, Website_Doc_Environment_ReactNativeAndExpo_Path, Website_Doc_Environment_Tanstack, Website_Doc_Environment_Tanstack_Path, Website_Doc_Environment_ViteAndPreact, Website_Doc_Environment_ViteAndPreact_Path, Website_Doc_Environment_ViteAndReact, Website_Doc_Environment_ViteAndReact_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path, Website_Doc_Environment_ViteAndSolid, Website_Doc_Environment_ViteAndSolid_Path, Website_Doc_Environment_ViteAndSvelte, Website_Doc_Environment_ViteAndSvelte_Path, Website_Doc_Environment_ViteAndVue, Website_Doc_Environment_ViteAndVue_Path, Website_Doc_IntlayerCMS, Website_Doc_IntlayerCMS_Path, Website_Doc_IntlayerVisualEditor, Website_Doc_IntlayerVisualEditor_Path, Website_Doc_Intlayer_with_Lynx_and_React, Website_Doc_Intlayer_with_Lynx_and_React_Path, Website_Doc_MCP, Website_Doc_MCP_Path, Website_Doc_Path, Website_Doc_Root, Website_Doc_Root_Path, Website_Doc_Search, Website_Doc_Search_Path, Website_Doc_SelfHosting, Website_Doc_SelfHosting_Path, Website_Doc_Why, Website_Doc_Why_Path, Website_Domain, Website_FrequentQuestions, Website_FrequentQuestions_Path, Website_Home, Website_Home_Path, Website_Markdown_Preview, Website_Markdown_Preview_Path, Website_NotFound, Website_NotFound_Path, Website_Playground, Website_Playground_Path, Website_PrivacyPolicy, Website_PrivacyPolicy_Path, Website_ReleasesV6, Website_ReleasesV6_Path, Website_ReleasesV7, Website_ReleasesV7_Path, Website_ReleasesV8, Website_ReleasesV8_Path, Website_ReleasesV9_Path, Website_Scanner, Website_Scanner_Path, Website_TMS, Website_TMS_Path, Website_TermsOfService, Website_TermsOfService_Path, Website_Translate, Website_Translate_Path, WellKnown_AgentSkillsIndex_Path, WellKnown_AgentSkills_Path, WellKnown_AiCatalog_Path, WellKnown_ApiCatalog_Path, WellKnown_McpServerCard_Path, WellKnown_OAuthAuthorizationServer_Path, WellKnown_OAuthProtectedResource_Path, getAppAdminAffiliateRoute, getAppAdminOrganizationAbsoluteRoute, getAppAdminOrganizationRoute, getAppAdminProjectAbsoluteRoute, getAppAdminProjectRoute, getAppAdminPromoCodeRoute, getAppAdminReviewerRoute, getAppAdminUserAbsoluteRoute, getAppAdminUserRoute, getAppOnboardingFlowAbsoluteRoute, getAppOnboardingFlowRoute, getAppReviewerMissionRoute, getAppReviewerProfileRoute };
307
+ export { App_Admin, App_Admin_Affiliate, App_Admin_Affiliate_Path, App_Admin_Dashboard, App_Admin_Dashboard_Path, App_Admin_Discussions, App_Admin_Discussions_Path, App_Admin_Management, App_Admin_Management_Path, App_Admin_Organizations, App_Admin_Organizations_Path, App_Admin_Path, App_Admin_Projects, App_Admin_Projects_Path, App_Admin_PromoCodes, App_Admin_PromoCodes_Path, App_Admin_Reviewers, App_Admin_Reviewers_Path, App_Admin_Users, App_Admin_Users_Path, App_Affiliation, App_Affiliation_Path, App_Auth_AskResetPassword, App_Auth_AskResetPassword_Path, App_Auth_ChangePassword, App_Auth_ChangePassword_Path, App_Auth_Demo_Path, App_Auth_Path, App_Auth_ResetPassword, App_Auth_ResetPassword_Path, App_Auth_SignIn, App_Auth_SignIn_Path, App_Auth_SignUp, App_Auth_SignUp_Path, App_Auth_TwoFactor, App_Auth_TwoFactor_Path, App_Dashboard, App_Dashboard_Analytics, App_Dashboard_Analytics_Path, App_Dashboard_Assets_Path, App_Dashboard_Dictionaries, App_Dashboard_Dictionaries_Path, App_Dashboard_Editor, App_Dashboard_Editor_Path, App_Dashboard_IDE, App_Dashboard_IDE_Path, App_Dashboard_Organization, App_Dashboard_Organization_Path, App_Dashboard_Profile, App_Dashboard_Profile_Path, App_Dashboard_Projects, App_Dashboard_Projects_Path, App_Dashboard_Scanner, App_Dashboard_Scanner_Path, App_Dashboard_Tags, App_Dashboard_Tags_Path, App_Dashboard_Translate, App_Dashboard_Translate_Path, App_Demo, App_Demo_Path, App_Domain, App_Home_Path, App_Init_Path, App_NotFound_Path, App_Onboarding, App_Onboarding_Path, App_Pricing, App_Pricing_Path, App_ReviewerMarketplace, App_ReviewerMarketplace_Dashboard, App_ReviewerMarketplace_Dashboard_Mission_Path, App_ReviewerMarketplace_Dashboard_Path, App_ReviewerMarketplace_Path, App_ReviewerMarketplace_Reviewer_Path, AuthMd_Path, Backend_Domain, Backend_Health, Backend_OAuth2_Token, Backend_Root, Doc_Blog_Path, Doc_Blog_Root_Path, Doc_Blog_Search_Path, Doc_Blog_What_is_i18n_Path, Doc_CLI_Fill_Path, Doc_CLI_Review_Path, Doc_CLI_Translate_Path, Doc_Chat_Path, Doc_Contributors_Path, Doc_Environment_Adonis_Path, Doc_Environment_Angular_Path, Doc_Environment_Astro_Path, Doc_Environment_CRA_Path, Doc_Environment_Express_Path, Doc_Environment_Fastify_Path, Doc_Environment_Hono_Path, Doc_Environment_Lit_Path, Doc_Environment_Lynx_Path, Doc_Environment_NestJS_Path, Doc_Environment_NextJS_14_Path, Doc_Environment_NextJS_15_Path, Doc_Environment_NextJS_16_Path, Doc_Environment_NextJS_Path, Doc_Environment_Nodejs_Path, Doc_Environment_NuxtAndVue_Path, Doc_Environment_ReactNativeAndExpo_Path, Doc_Environment_Tanstack_Path, Doc_Environment_ViteAndPreact_Path, Doc_Environment_ViteAndReact_Path, Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Doc_Environment_ViteAndReact_ReactRouterV7_Path, Doc_Environment_ViteAndSolid_Path, Doc_Environment_ViteAndSvelte_Path, Doc_Environment_ViteAndVue_Path, Doc_FrequentQuestions_Path, Doc_IntlayerCMS_Path, Doc_IntlayerVisualEditor_Path, Doc_Intlayer_with_Lynx_and_React_Path, Doc_MCP_Path, Doc_Path, Doc_PrivacyPolicy_Path, Doc_ReleasesV6_Path, Doc_ReleasesV7_Path, Doc_ReleasesV8_Path, Doc_Root_Path, Doc_Search_Path, Doc_ShowcaseSubmit_Path, Doc_Showcase_Path, Doc_TermsOfService_Path, Doc_Why_Path, External_AI_Landing_Page, External_Discord, External_DockerHub_SelfHost, External_ExampleIntlayerWithExpress, External_ExampleIntlayerWithNextjs, External_ExampleIntlayerWithReactJS, External_ExampleIntlayerWithReactNative, External_ExampleIntlayerWithViteAndPreact, External_ExampleIntlayerWithViteAndReact, External_ExampleIntlayerWithViteAndSolid, External_ExampleIntlayerWithViteAndSvelte, External_ExampleIntlayerWithViteAndVue, External_Examples, External_Github, External_Github_i18n_benchmark, External_LinkedIn, External_ShowcaseApp, LlmsTxt_Path, Mcp_Domain, Mcp_Root, Mcp_Sse, Showcase_Domain, Showcase_Root, Showcase_Root_Path, Showcase_Submit, Showcase_Submit_Path, Website_Benchmark, Website_Benchmark_NextJS, Website_Benchmark_NextJS_Path, Website_Benchmark_Path, Website_Benchmark_Tanstack, Website_Benchmark_Tanstack_Path, Website_Blog, Website_Blog_Path, Website_Blog_Root, Website_Blog_Root_Path, Website_Blog_Search, Website_Blog_Search_Path, Website_Blog_What_is_i18n, Website_Blog_What_is_i18n_Path, Website_CMS, Website_CMS_Path, Website_Changelog, Website_Changelog_Path, Website_Contributors, Website_Contributors_Path, Website_Demo, Website_Demo_Path, Website_Doc, Website_Doc_CLI_Fill, Website_Doc_CLI_Fill_Path, Website_Doc_CLI_Review, Website_Doc_CLI_Review_Path, Website_Doc_CLI_Translate, Website_Doc_CLI_Translate_Path, Website_Doc_Chat, Website_Doc_Chat_Path, Website_Doc_Environment_Adonis, Website_Doc_Environment_Adonis_Path, Website_Doc_Environment_Angular, Website_Doc_Environment_Angular_Path, Website_Doc_Environment_Astro, Website_Doc_Environment_Astro_Path, Website_Doc_Environment_CRA, Website_Doc_Environment_CRA_Path, Website_Doc_Environment_Express, Website_Doc_Environment_Express_Path, Website_Doc_Environment_Fastify, Website_Doc_Environment_Fastify_Path, Website_Doc_Environment_Hono, Website_Doc_Environment_Hono_Path, Website_Doc_Environment_Htmx, Website_Doc_Environment_Htmx_Path, Website_Doc_Environment_Lit, Website_Doc_Environment_Lit_Path, Website_Doc_Environment_Lynx, Website_Doc_Environment_Lynx_Path, Website_Doc_Environment_NestJS, Website_Doc_Environment_NestJS_Path, Website_Doc_Environment_NextJS, Website_Doc_Environment_NextJS_14, Website_Doc_Environment_NextJS_14_Path, Website_Doc_Environment_NextJS_15, Website_Doc_Environment_NextJS_15_Path, Website_Doc_Environment_NextJS_16, Website_Doc_Environment_NextJS_16_Path, Website_Doc_Environment_NextJS_Path, Website_Doc_Environment_Nodejs, Website_Doc_Environment_Nodejs_Path, Website_Doc_Environment_NuxtAndVue, Website_Doc_Environment_NuxtAndVue_Path, Website_Doc_Environment_ReactNativeAndExpo, Website_Doc_Environment_ReactNativeAndExpo_Path, Website_Doc_Environment_Tanstack, Website_Doc_Environment_Tanstack_Path, Website_Doc_Environment_ViteAndPreact, Website_Doc_Environment_ViteAndPreact_Path, Website_Doc_Environment_ViteAndReact, Website_Doc_Environment_ViteAndReact_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path, Website_Doc_Environment_ViteAndSolid, Website_Doc_Environment_ViteAndSolid_Path, Website_Doc_Environment_ViteAndSvelte, Website_Doc_Environment_ViteAndSvelte_Path, Website_Doc_Environment_ViteAndVue, Website_Doc_Environment_ViteAndVue_Path, Website_Doc_IntlayerCMS, Website_Doc_IntlayerCMS_Path, Website_Doc_IntlayerVisualEditor, Website_Doc_IntlayerVisualEditor_Path, Website_Doc_Intlayer_with_Lynx_and_React, Website_Doc_Intlayer_with_Lynx_and_React_Path, Website_Doc_MCP, Website_Doc_MCP_Path, Website_Doc_Path, Website_Doc_Root, Website_Doc_Root_Path, Website_Doc_Search, Website_Doc_Search_Path, Website_Doc_SelfHosting, Website_Doc_SelfHosting_Path, Website_Doc_Why, Website_Doc_Why_Path, Website_Domain, Website_FrequentQuestions, Website_FrequentQuestions_Path, Website_Home, Website_Home_Path, Website_Markdown_Preview, Website_Markdown_Preview_Path, Website_NotFound, Website_NotFound_Path, Website_Playground, Website_Playground_Path, Website_PrivacyPolicy, Website_PrivacyPolicy_Path, Website_ReleasesV6, Website_ReleasesV6_Path, Website_ReleasesV7, Website_ReleasesV7_Path, Website_ReleasesV8, Website_ReleasesV8_Path, Website_ReleasesV9_Path, Website_Scanner, Website_Scanner_Path, Website_TMS, Website_TMS_Path, Website_TermsOfService, Website_TermsOfService_Path, Website_Translate, Website_Translate_Path, WellKnown_AgentSkillsIndex_Path, WellKnown_AgentSkills_Path, WellKnown_AiCatalog_Path, WellKnown_ApiCatalog_Path, WellKnown_McpServerCard_Path, WellKnown_OAuthAuthorizationServer_Path, WellKnown_OAuthProtectedResource_Path, getAppAdminAffiliateRoute, getAppAdminOrganizationAbsoluteRoute, getAppAdminOrganizationRoute, getAppAdminProjectAbsoluteRoute, getAppAdminProjectRoute, getAppAdminPromoCodeRoute, getAppAdminReviewerRoute, getAppAdminUserAbsoluteRoute, getAppAdminUserRoute, getAppOnboardingFlowAbsoluteRoute, getAppOnboardingFlowRoute, getAppReviewerMissionRoute, getAppReviewerProfileRoute };
306
308
  //# sourceMappingURL=routes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","names":[],"sources":["../../src/routes.ts"],"mappings":";cAGa;cACA;cACA;cACA;cACA;cAKA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cAEA;cAGA,6BAA0B;cAE1B,6BAA0B;;cAI1B;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA,4BAAyB;cAEzB;cACA,4BAAyB;cAGzB;cACA,2BAAwB;cAGxB;cAEA,uBAAoB;cAEpB,+BAA4B;cAE5B,0BAAuB;cAEvB,4BAAyB;cAMzB;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAGA,+BAA4B;cAE5B,uCAAoC;cAEpC,kCAA+B;cAE/B,oCAAiC,cAChC,cACA;cAUD;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAGA;cACA;cACA;cAGA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cAKA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAGA;cAGA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAMA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cACA;cACA;cAKA;cACA;cAKA;cACA;cAMA;cACA;cACA;cAMA;cACA;cAQA;cACA;cACA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cAKA;cAGA;cAGA;cAGA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA"}
1
+ {"version":3,"file":"routes.d.ts","names":[],"sources":["../../src/routes.ts"],"mappings":";cAGa;cACA;cACA;cACA;cACA;cAKA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cAEA;cAGA,6BAA0B;cAE1B,6BAA0B;;cAI1B;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA,4BAAyB;cAEzB;cACA,4BAAyB;cAGzB;cACA,2BAAwB;cAGxB;cAEA,uBAAoB;cAEpB,+BAA4B;cAE5B,0BAAuB;cAEvB,4BAAyB;cAMzB;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAGA,+BAA4B;cAE5B,uCAAoC;cAEpC,kCAA+B;cAE/B,oCAAiC,cAChC,cACA;cAUD;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAGA;cACA;cACA;cAGA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cAKA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAGA;cAGA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAMA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cACA;cACA;cAKA;cACA;cAKA;cACA;cAMA;cACA;cACA;cAMA;cACA;cAQA;cACA;cACA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cAKA;cAGA;cAGA;cAGA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA"}
@@ -0,0 +1,36 @@
1
+ //#region src/structured-data/buildItemListJsonLd.d.ts
2
+ /** @module buildItemListJsonLd */
3
+ type ItemListEntry = {
4
+ name: string;
5
+ description: string;
6
+ };
7
+ type BuildItemListJsonLdParams = {
8
+ items: ItemListEntry[];
9
+ /** Name of the list itself, when it has one worth describing. */
10
+ name?: string;
11
+ };
12
+ /**
13
+ * Builds a Schema.org ItemList JSON-LD object.
14
+ *
15
+ * Describes an ordered set of named entries — the sections of a documentation
16
+ * block, for instance. Entries that are not questions must not be declared as
17
+ * a `FAQPage`, which is what this covers.
18
+ *
19
+ * @param params - The entries of the list, and an optional name for the list.
20
+ * @returns A JSON-LD ItemList object ready for serialization.
21
+ */
22
+ declare const buildItemListJsonLd: ({ items, name }: BuildItemListJsonLdParams) => {
23
+ '@context': 'https://schema.org';
24
+ '@type': 'ItemList';
25
+ name?: string;
26
+ numberOfItems: number;
27
+ itemListElement: {
28
+ '@type': 'ListItem';
29
+ position: number;
30
+ name: string;
31
+ description: string;
32
+ }[];
33
+ };
34
+ //#endregion
35
+ export { BuildItemListJsonLdParams, ItemListEntry, buildItemListJsonLd };
36
+ //# sourceMappingURL=buildItemListJsonLd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildItemListJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildItemListJsonLd.ts"],"mappings":";;KAEY;EACV;EACA;;KAGU;EACV,OAAO;;EAEP;;;;;;;;;;;;cAaW,wBAAmB,OAAA,QAG7B;EACW;EACH;;;;IAIE"}
@@ -2,9 +2,10 @@ import { buildAuthorJsonLd } from "./buildAuthorJsonLd.js";
2
2
  import { BreadcrumbItem, BuildBreadcrumbsJsonLdParams, buildBreadcrumbsJsonLd } from "./buildBreadcrumbsJsonLd.js";
3
3
  import { BuildCreativeWorkJsonLdParams, CreativeWorkType, SchemaOrgPersonNode, buildCreativeWorkJsonLd } from "./buildCreativeWorkJsonLd.js";
4
4
  import { BuildFAQPageJsonLdParams, FAQItem, buildFAQPageJsonLd } from "./buildFAQPageJsonLd.js";
5
+ import { BuildItemListJsonLdParams, ItemListEntry, buildItemListJsonLd } from "./buildItemListJsonLd.js";
5
6
  import { BuildOrganizationJsonLdParams, buildOrganizationJsonLd } from "./buildOrganizationJsonLd.js";
6
7
  import { BuildProductJsonLdParams, SchemaOrgOffer, buildProductJsonLd } from "./buildProductJsonLd.js";
7
8
  import { BuildSoftwareApplicationJsonLdParams, buildSoftwareApplicationJsonLd } from "./buildSoftwareApplicationJsonLd.js";
8
9
  import { BuildWebsiteJsonLdParams, buildWebsiteJsonLd } from "./buildWebsiteJsonLd.js";
9
10
  import { normalizeJsonLdUrl, normalizeJsonLdUrls } from "./normalizeJsonLdUrl.js";
10
- export { type BreadcrumbItem, type BuildBreadcrumbsJsonLdParams, type BuildCreativeWorkJsonLdParams, type BuildFAQPageJsonLdParams, type BuildOrganizationJsonLdParams, type BuildProductJsonLdParams, type BuildSoftwareApplicationJsonLdParams, type BuildWebsiteJsonLdParams, type CreativeWorkType, type FAQItem, type SchemaOrgOffer, type SchemaOrgPersonNode, buildAuthorJsonLd, buildBreadcrumbsJsonLd, buildCreativeWorkJsonLd, buildFAQPageJsonLd, buildOrganizationJsonLd, buildProductJsonLd, buildSoftwareApplicationJsonLd, buildWebsiteJsonLd, normalizeJsonLdUrl, normalizeJsonLdUrls };
11
+ export { type BreadcrumbItem, type BuildBreadcrumbsJsonLdParams, type BuildCreativeWorkJsonLdParams, type BuildFAQPageJsonLdParams, type BuildItemListJsonLdParams, type BuildOrganizationJsonLdParams, type BuildProductJsonLdParams, type BuildSoftwareApplicationJsonLdParams, type BuildWebsiteJsonLdParams, type CreativeWorkType, type FAQItem, type ItemListEntry, type SchemaOrgOffer, type SchemaOrgPersonNode, buildAuthorJsonLd, buildBreadcrumbsJsonLd, buildCreativeWorkJsonLd, buildFAQPageJsonLd, buildItemListJsonLd, buildOrganizationJsonLd, buildProductJsonLd, buildSoftwareApplicationJsonLd, buildWebsiteJsonLd, normalizeJsonLdUrl, normalizeJsonLdUrls };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "9.4.0",
3
+ "version": "9.4.2",
4
4
  "private": false,
5
5
  "description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
6
6
  "keywords": [
@@ -78,8 +78,8 @@
78
78
  "import": "./dist/esm/tailwind.config.mjs",
79
79
  "default": "./dist/esm/tailwind.config.mjs"
80
80
  },
81
- "./css": "./tailwind.css",
82
- "./css-output": "./dist/tailwind.css",
81
+ "./css": "./styles/globals.css",
82
+ "./css-output": "./dist/styles/globals.css",
83
83
  "./markdown-editor.css": "./src/components/MarkdownEditor/markdown-editor.css",
84
84
  "./package.json": "./package.json",
85
85
  "./accordion": {
@@ -413,14 +413,14 @@
413
413
  "files": [
414
414
  "dist",
415
415
  "package.json",
416
- "tailwind.css",
416
+ "styles/globals.css",
417
417
  "tw-source.css",
418
418
  "src/components/MarkdownEditor/markdown-editor.css"
419
419
  ],
420
420
  "scripts": {
421
421
  "build": "bun --bun tsdown --config tsdown.config.ts",
422
422
  "build:ci": "bun --bun tsdown --config tsdown.config.ts",
423
- "build:css": "npx tailwindcss --minify -i ./tailwind.css -o ./dist/tailwind.css",
423
+ "build:css": "npx tailwindcss --minify -i ./styles/globals.css -o ./dist/styles/globals.css",
424
424
  "build:intlayer": "intlayer build",
425
425
  "build:package": "bun --bun tsdown --config tsdown.config.ts",
426
426
  "build:storybook": "storybook build",
@@ -445,57 +445,57 @@
445
445
  "typecheck_": "tsc --noEmit --project tsconfig.types.json"
446
446
  },
447
447
  "dependencies": {
448
- "@better-auth/passkey": "1.7.1",
449
- "@better-auth/sso": "1.7.1",
450
- "@intlayer/api": "9.4.0",
451
- "@intlayer/config": "9.4.0-canary.0",
452
- "@intlayer/core": "9.4.0-canary.0",
453
- "@intlayer/dictionaries-entry": "9.4.0-canary.0",
454
- "@intlayer/editor-react": "9.4.0",
455
- "@intlayer/engine": "9.4.0",
456
- "@intlayer/types": "9.4.0",
448
+ "@better-auth/passkey": "1.7.2",
449
+ "@better-auth/sso": "1.7.2",
450
+ "@intlayer/api": "9.4.2",
451
+ "@intlayer/config": "9.4.2",
452
+ "@intlayer/core": "9.4.2",
453
+ "@intlayer/dictionaries-entry": "9.4.2",
454
+ "@intlayer/editor-react": "9.4.2",
455
+ "@intlayer/engine": "9.4.2",
456
+ "@intlayer/types": "9.4.2",
457
457
  "@radix-ui/react-dialog": "1.1.23",
458
458
  "@radix-ui/react-select": "2.3.7",
459
459
  "@radix-ui/react-slot": "1.3.3",
460
460
  "@radix-ui/react-toast": "1.2.23",
461
461
  "@tailwindcss/aspect-ratio": "0.4.2",
462
- "@tanstack/query-async-storage-persister": "5.101.4",
463
- "@tanstack/react-query-persist-client": "5.101.4",
462
+ "@tanstack/query-async-storage-persister": "5.102.8",
463
+ "@tanstack/react-query-persist-client": "5.102.8",
464
464
  "@tanstack/react-virtual": "3.14.10",
465
- "@tiptap/core": "3.30.1",
466
- "@tiptap/extension-character-count": "3.30.1",
467
- "@tiptap/extension-color": "3.30.1",
468
- "@tiptap/extension-highlight": "3.30.1",
469
- "@tiptap/extension-horizontal-rule": "3.30.1",
470
- "@tiptap/extension-image": "3.30.1",
471
- "@tiptap/extension-link": "3.30.1",
472
- "@tiptap/extension-placeholder": "3.30.1",
473
- "@tiptap/extension-task-item": "3.30.1",
474
- "@tiptap/extension-task-list": "3.30.1",
475
- "@tiptap/extension-text-style": "3.30.1",
476
- "@tiptap/extension-underline": "3.30.1",
477
- "@tiptap/extension-youtube": "3.30.1",
478
- "@tiptap/pm": "3.30.1",
479
- "@tiptap/react": "3.30.1",
480
- "@tiptap/starter-kit": "3.30.1",
481
- "@tiptap/suggestion": "3.30.1",
482
- "better-auth": "1.7.1",
465
+ "@tiptap/core": "3.31.0",
466
+ "@tiptap/extension-character-count": "3.31.0",
467
+ "@tiptap/extension-color": "3.31.0",
468
+ "@tiptap/extension-highlight": "3.31.0",
469
+ "@tiptap/extension-horizontal-rule": "3.31.0",
470
+ "@tiptap/extension-image": "3.31.0",
471
+ "@tiptap/extension-link": "3.31.0",
472
+ "@tiptap/extension-placeholder": "3.31.0",
473
+ "@tiptap/extension-task-item": "3.31.0",
474
+ "@tiptap/extension-task-list": "3.31.0",
475
+ "@tiptap/extension-text-style": "3.31.0",
476
+ "@tiptap/extension-underline": "3.31.0",
477
+ "@tiptap/extension-youtube": "3.31.0",
478
+ "@tiptap/pm": "3.31.0",
479
+ "@tiptap/react": "3.31.0",
480
+ "@tiptap/starter-kit": "3.31.0",
481
+ "@tiptap/suggestion": "3.31.0",
482
+ "better-auth": "1.7.2",
483
483
  "class-variance-authority": "0.7.1",
484
484
  "cmdk": "1.1.1",
485
- "cnfast": "^0.1.0",
485
+ "cnfast": "0.1.0",
486
486
  "defu": "6.1.7",
487
- "dompurify": "3.4.13",
488
- "isomorphic-dompurify": "3.22.0",
489
- "react-intlayer": "9.4.0",
487
+ "dompurify": "3.4.14",
488
+ "isomorphic-dompurify": "4.1.0",
489
+ "react-intlayer": "9.4.2",
490
490
  "rollup-preserve-directives": "1.1.3",
491
491
  "tiptap-extension-code-block-shiki": "^1.2.0",
492
492
  "tiptap-extension-global-drag-handle": "^0.1.18",
493
493
  "tiptap-markdown": "^0.9.0",
494
494
  "tunnel-rat": "^0.1.2",
495
- "zod": "4.4.3"
495
+ "zod": "4.5.4"
496
496
  },
497
497
  "devDependencies": {
498
- "@intlayer/backend": "9.4.0-canary.0",
498
+ "@intlayer/backend": "9.4.2",
499
499
  "@shikijs/transformers": "4.4.3",
500
500
  "@storybook/addon-a11y": "8.6.14",
501
501
  "@storybook/addon-essentials": "8.6.14",
@@ -515,43 +515,43 @@
515
515
  "@tailwindcss/cli": "4.3.3",
516
516
  "@tailwindcss/vite": "4.3.3",
517
517
  "@testing-library/jest-dom": "7.0.1",
518
- "@testing-library/react": "16.3.2",
519
- "@testing-library/user-event": "14.6.4",
518
+ "@testing-library/react": "16.3.3",
519
+ "@testing-library/user-event": "14.6.6",
520
520
  "@types/dompurify": "3.2.0",
521
521
  "@types/espree": "11.1.0",
522
- "@types/node": "26.3.0",
522
+ "@types/node": "26.4.1",
523
523
  "@types/react": "19.2.18",
524
524
  "@types/react-dom": "19.2.5",
525
525
  "@utils/ts-config": "1.0.4",
526
526
  "@utils/ts-config-types": "1.0.4",
527
527
  "fast-glob": "3.3.3",
528
- "intlayer": "9.4.0-canary.0",
528
+ "intlayer": "9.4.2",
529
529
  "rimraf": "6.1.3",
530
530
  "shiki": "4.4.3",
531
531
  "storybook": "8.6.14",
532
532
  "tsdown": "0.22.14",
533
533
  "typescript": "7.0.2",
534
534
  "vite": "8.2.2",
535
- "vite-intlayer": "9.4.0-canary.0",
536
- "vite-plugin-dts": "5.0.3",
535
+ "vite-intlayer": "9.4.2",
536
+ "vite-plugin-dts": "5.1.0",
537
537
  "vitest": "4.1.11"
538
538
  },
539
539
  "peerDependencies": {
540
540
  "@better-fetch/fetch": "1.3.1",
541
541
  "@hookform/resolvers": "5.9.1",
542
- "@intlayer/backend": "9.4.0-canary.0",
542
+ "@intlayer/backend": "9.4.2",
543
543
  "@monaco-editor/react": "4.7.0",
544
544
  "@shikijs/transformers": "4.4.3",
545
- "@tanstack/react-query": "5.102.4",
546
- "@tanstack/react-query-devtools": "5.102.4",
545
+ "@tanstack/react-query": "5.102.8",
546
+ "@tanstack/react-query-devtools": "5.102.8",
547
547
  "framer-motion": "13.1.1",
548
548
  "fuse.js": "7.5.0",
549
- "intlayer": "9.4.0-canary.0",
550
- "lucide-react": "1.34.0",
549
+ "intlayer": "9.4.2",
550
+ "lucide-react": "1.39.0",
551
551
  "react": ">=16.0.0",
552
552
  "react-dom": ">=16.0.0",
553
- "react-hook-form": "7.86.0",
554
- "react-intlayer": "9.4.0",
553
+ "react-hook-form": "7.87.0",
554
+ "react-intlayer": "9.4.2",
555
555
  "shiki": "4.4.3",
556
556
  "tailwindcss": "4.3.3"
557
557
  },
@@ -3,14 +3,14 @@
3
3
  *
4
4
  * Exposed via the `@intlayer/design-system/markdown-editor.css` export and
5
5
  * imported only by consumers that actually use the editor (currently the
6
- * `apps/app` CMS dashboard), rather than from the shared `tailwind.css`
6
+ * `apps/app` CMS dashboard), rather than from the shared `styles/globals.css`
7
7
  * entry — this keeps the ProseMirror specific rules (placeholder, task
8
8
  * checkboxes, image placeholder, drag handle) out of every other consumer's
9
9
  * CSS bundle.
10
10
  */
11
11
 
12
12
  :root,
13
- [data-theme="light"] {
13
+ [data-theme='light'] {
14
14
  --novel-highlight-default: #ffffff;
15
15
  --novel-highlight-purple: #f6f3f8;
16
16
  --novel-highlight-red: #fdebeb;
@@ -27,7 +27,7 @@
27
27
  --novel-stone-800: rgba(69, 69, 69);
28
28
  }
29
29
 
30
- [data-theme="dark"] {
30
+ [data-theme='dark'] {
31
31
  --novel-highlight-default: #000000;
32
32
  --novel-highlight-purple: #3f2c4b;
33
33
  --novel-highlight-red: #5c1a1a;
@@ -132,7 +132,7 @@
132
132
  }
133
133
 
134
134
  .img-placeholder::before {
135
- content: "";
135
+ content: '';
136
136
  box-sizing: border-box;
137
137
  position: absolute;
138
138
  top: 50%;
@@ -152,23 +152,23 @@
152
152
  }
153
153
 
154
154
  /* Task list checkboxes */
155
- ul[data-type="taskList"] {
155
+ ul[data-type='taskList'] {
156
156
  list-style: none;
157
157
  padding: 0;
158
158
  }
159
159
 
160
- ul[data-type="taskList"] li > label {
160
+ ul[data-type='taskList'] li > label {
161
161
  margin-right: 0.2rem;
162
162
  user-select: none;
163
163
  }
164
164
 
165
165
  @media screen and (max-width: 768px) {
166
- ul[data-type="taskList"] li > label {
166
+ ul[data-type='taskList'] li > label {
167
167
  margin-right: 0.5rem;
168
168
  }
169
169
  }
170
170
 
171
- ul[data-type="taskList"] li > label input[type="checkbox"] {
171
+ ul[data-type='taskList'] li > label input[type='checkbox'] {
172
172
  -webkit-appearance: none;
173
173
  appearance: none;
174
174
  background-color: var(--background);
@@ -184,16 +184,16 @@ ul[data-type="taskList"] li > label input[type="checkbox"] {
184
184
  place-content: center;
185
185
  }
186
186
 
187
- ul[data-type="taskList"] li > label input[type="checkbox"]:hover {
187
+ ul[data-type='taskList'] li > label input[type='checkbox']:hover {
188
188
  background-color: var(--accent);
189
189
  }
190
190
 
191
- ul[data-type="taskList"] li > label input[type="checkbox"]:active {
191
+ ul[data-type='taskList'] li > label input[type='checkbox']:active {
192
192
  background-color: var(--accent);
193
193
  }
194
194
 
195
- ul[data-type="taskList"] li > label input[type="checkbox"]::before {
196
- content: "";
195
+ ul[data-type='taskList'] li > label input[type='checkbox']::before {
196
+ content: '';
197
197
  width: 0.65em;
198
198
  height: 0.65em;
199
199
  transform: scale(0);
@@ -203,11 +203,11 @@ ul[data-type="taskList"] li > label input[type="checkbox"]::before {
203
203
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
204
204
  }
205
205
 
206
- ul[data-type="taskList"] li > label input[type="checkbox"]:checked::before {
206
+ ul[data-type='taskList'] li > label input[type='checkbox']:checked::before {
207
207
  transform: scale(1);
208
208
  }
209
209
 
210
- ul[data-type="taskList"] li[data-checked="true"] > div > p {
210
+ ul[data-type='taskList'] li[data-checked='true'] > div > p {
211
211
  color: var(--muted-foreground);
212
212
  text-decoration: line-through;
213
213
  text-decoration-thickness: 2px;
@@ -260,7 +260,7 @@ ul[data-type="taskList"] li[data-checked="true"] > div > p {
260
260
  }
261
261
  }
262
262
 
263
- [data-theme="dark"] .drag-handle {
263
+ [data-theme='dark'] .drag-handle {
264
264
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' style='fill: rgba(255, 255, 255, 0.5)'%3E%3Cpath d='M3,2 C2.44771525,2 2,1.55228475 2,1 C2,0.44771525 2.44771525,0 3,0 C3.55228475,0 4,0.44771525 4,1 C4,1.55228475 3.55228475,2 3,2 Z M3,6 C2.44771525,6 2,5.55228475 2,5 C2,4.44771525 2.44771525,4 3,4 C3.55228475,4 4,4.44771525 4,5 C4,5.55228475 3.55228475,6 3,6 Z M3,10 C2.44771525,10 2,9.55228475 2,9 C2,8.44771525 2.44771525,8 3,8 C3.55228475,8 4,8.44771525 4,9 C4,9.55228475 3.55228475,10 3,10 Z M7,2 C6.44771525,2 6,1.55228475 6,1 C6,0.44771525 6.44771525,0 7,0 C7.55228475,0 8,0.44771525 8,1 C8,1.55228475 7.55228475,2 7,2 Z M7,6 C6.44771525,6 6,5.55228475 6,5 C6,4.44771525 6.44771525,4 7,4 C7.55228475,4 8,4.44771525 8,5 C8,5.55228475 7.55228475,6 7,6 Z M7,10 C6.44771525,10 6,9.55228475 6,9 C6,8.44771525 6.44771525,8 7,8 C7.55228475,8 8,8.44771525 8,9 C8,9.55228475 7.55228475,10 7,10 Z'%3E%3C/path%3E%3C/svg%3E");
265
265
  }
266
266
 
@@ -274,7 +274,7 @@ ul[data-type="taskList"] li[data-checked="true"] > div > p {
274
274
  background-color: var(--muted) !important;
275
275
  }
276
276
 
277
- [data-theme="dark"] .ProseMirror pre.shiki span {
277
+ [data-theme='dark'] .ProseMirror pre.shiki span {
278
278
  /* biome-ignore lint/complexity/noImportantStyles: override shiki inline token color with the dark-theme variable */
279
279
  color: var(--shiki-dark, inherit) !important;
280
280
  }
@@ -0,0 +1,71 @@
1
+ @import 'tailwindcss';
2
+
3
+ @import 'fonts.css';
4
+ @import 'themes.css';
5
+
6
+ @plugin "@tailwindcss/aspect-ratio";
7
+ @source "../src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}";
8
+
9
+
10
+ @theme {
11
+ --font-sans: 'Geist', 'Inter', ui-sans-serif, system-ui, sans-serif;
12
+
13
+ --color-background: var(--background);
14
+ --color-foreground: var(--foreground);
15
+
16
+ --color-text: var(--foreground);
17
+ --color-text-opposite: var(--background);
18
+ --color-foreground-opposite: var(--background);
19
+ --color-neutral: var(--color-foreground);
20
+
21
+ --color-card: var(--card);
22
+ --color-card-hover: var(--card-hover);
23
+
24
+ --color-muted: var(--muted);
25
+ --color-muted-foreground: var(--muted-foreground);
26
+
27
+ --color-popover: var(--popover);
28
+ --color-popover-foreground: var(--popover-foreground);
29
+
30
+ --color-primary: var(--primary);
31
+ --color-primary-foreground: var(--primary-foreground);
32
+
33
+ --color-secondary: var(--secondary);
34
+ --color-secondary-foreground: var(--secondary-foreground);
35
+
36
+ --color-accent: var(--accent);
37
+ --color-accent-foreground: var(--accent-foreground);
38
+
39
+ --color-border: var(--border);
40
+ --color-input: var(--input);
41
+ --color-ring: var(--ring);
42
+
43
+ --color-hypertext: var(--hypertext);
44
+ --color-hypertext-hover: var(--hypertext-hover);
45
+ --color-hypertext-active: var(--hypertext-active);
46
+
47
+ --color-success: var(--success);
48
+ --color-warning: var(--warning);
49
+ --color-error: var(--error);
50
+
51
+ --color-neutral: var(--neutral);
52
+ --color-white: var(--white);
53
+ --color-black: var(--black);
54
+
55
+ --radius-lg: var(--radius);
56
+ --radius-md: calc(var(--radius) - 2px);
57
+ --radius-sm: calc(var(--radius) - 4px);
58
+ }
59
+
60
+ html {
61
+ font-family: var(--font-sans);
62
+ }
63
+
64
+ body {
65
+ background: var(--background);
66
+ color: var(--foreground);
67
+ }
68
+
69
+ * {
70
+ border-color: var(--border);
71
+ }
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentEditor.mjs","names":[],"sources":["../../../../src/components/DictionaryFieldEditor/ContentEditor.tsx"],"sourcesContent":["'use client';\n\nimport { useGetDictionaries } from '@api/index';\nimport { getContentNodeByKeyPath } from '@intlayer/core/dictionaryManipulator';\nimport {\n useEditedContent,\n useEditorLocale,\n useFocusUnmergedDictionary,\n} from '@intlayer/editor-react';\nimport type { Dictionary, LocalDictionaryId } from '@intlayer/types/dictionary';\nimport {\n type FC,\n useCallback,\n useDeferredValue,\n useEffect,\n useMemo,\n useState,\n useTransition,\n} from 'react';\nimport { useIntlayer } from 'react-intlayer';\nimport { Container } from '../Container';\nimport { LocaleSwitcherContent } from '../LocaleSwitcherContentDropDown';\nimport { Pagination } from '../Pagination';\nimport { TextEditorContainer } from './ContentEditorView/TextEditor';\nimport { getIsEditableSection } from './getIsEditableSection';\nimport { KeyPathBreadcrumb } from './KeyPathBreadcrumb';\nimport { NavigationViewNode } from './NavigationView/NavigationViewNode';\n\ntype NodeEditorProps = {\n dictionary: Dictionary;\n};\n\n/** Render a variant (named string or structured object) for display. */\nconst formatVariant = (\n variant: string | Record<string, string | number> | undefined\n): string =>\n variant !== null && typeof variant === 'object'\n ? JSON.stringify(variant)\n : (variant ?? '');\n\nexport const ContentEditor: FC<NodeEditorProps> = ({ dictionary }) => {\n const { itemPagination, variantSwitcher } = useIntlayer('content-editor');\n const { editedContent } = useEditedContent();\n const {\n focusedContent,\n setFocusedContentKeyPath: _setFocusedContentKeyPath,\n } = useFocusUnmergedDictionary();\n const [, startTransition] = useTransition();\n const setFocusedContentKeyPath: typeof _setFocusedContentKeyPath = (\n keyPath\n ) => startTransition(() => _setFocusedContentKeyPath(keyPath));\n\n const [activeDictionary, setActiveDictionary] =\n useState<Dictionary>(dictionary);\n\n // Re-sync the locally tracked dictionary whenever the incoming prop changes\n // identity — not only when its `localId` changes. After a save, the query\n // refetches and hands back the same `localId` with fresh content; keying the\n // effect on `localId` alone left `activeDictionary` (the render source) stale\n // until a full page reload. The prop reference is stable across unrelated\n // re-renders (query data / store entry), so sibling switches made via\n // `switchSibling` are preserved.\n useEffect(() => {\n setActiveDictionary(dictionary);\n }, [dictionary]);\n\n const hasQualifier =\n dictionary.item !== undefined || dictionary.variant !== undefined;\n\n const { data: siblingsData } = useGetDictionaries(\n { keys: [dictionary.key] },\n { enabled: hasQualifier && !!dictionary.key }\n );\n\n const allSiblings = useMemo<Dictionary[]>(\n () => (siblingsData?.data ?? []) as unknown as Dictionary[],\n [siblingsData]\n );\n\n const itemDicts = useMemo<Dictionary[]>(() => {\n if (dictionary.item === undefined) return [];\n return allSiblings\n .filter((d) => d.item !== undefined)\n .sort((a, b) => (a.item ?? 0) - (b.item ?? 0));\n }, [dictionary, allSiblings]);\n\n const variantDicts = useMemo<Dictionary[]>(() => {\n if (dictionary.variant === undefined) return [];\n return allSiblings.filter((d) => d.variant !== undefined);\n }, [dictionary, allSiblings]);\n\n const switchSibling = useCallback(\n (sibling: Dictionary) => {\n setActiveDictionary(sibling);\n setFocusedContentKeyPath([]);\n },\n [setFocusedContentKeyPath]\n );\n\n const { content, key, localId } = activeDictionary;\n const focusedKeyPath = focusedContent?.keyPath;\n const section =\n typeof editedContent?.[localId as LocalDictionaryId]?.content ===\n 'undefined'\n ? content\n : editedContent?.[localId as LocalDictionaryId]?.content;\n\n const currentLocale = useEditorLocale();\n const focusedSection = getContentNodeByKeyPath(\n section,\n focusedKeyPath ?? [],\n currentLocale\n );\n\n const deferredKeyPath = useDeferredValue(focusedKeyPath);\n const deferredSection = useDeferredValue(focusedSection);\n const isStale = deferredSection !== focusedSection;\n\n const isEditableBaseSection = getIsEditableSection(section);\n const isEditableFocusedSection = getIsEditableSection(deferredSection);\n\n useEffect(() => {\n if (typeof focusedSection === 'undefined') {\n setFocusedContentKeyPath(focusedContent?.keyPath?.slice(0, -1) ?? []);\n }\n }, []);\n\n const currentItemIndex = itemDicts.findIndex(\n (dictionary) => dictionary.localId === activeDictionary.localId\n );\n const currentVariant = activeDictionary.variant;\n\n return (\n <div>\n {/* Qualifier navigation controls */}\n {hasQualifier && (\n <div className=\"mb-4 flex flex-wrap items-center gap-4\">\n {itemDicts.length > 0 && (\n <div className=\"flex items-center gap-2\">\n <span className=\"font-medium text-muted text-xs\">\n {itemPagination.label}\n </span>\n <Pagination\n currentPage={currentItemIndex >= 0 ? currentItemIndex + 1 : 1}\n totalPages={itemDicts.length}\n onPageChange={(page) => {\n const target = itemDicts[page - 1];\n if (target) switchSibling(target);\n }}\n size=\"sm\"\n />\n </div>\n )}\n\n {variantDicts.length > 0 && (\n <div className=\"flex flex-wrap items-center gap-2\">\n <span className=\"font-medium text-muted text-xs\">\n {variantSwitcher.label}:\n </span>\n {variantDicts.map((sibling) => {\n const isActive = sibling.localId === activeDictionary.localId;\n return (\n <button\n key={sibling.localId}\n type=\"button\"\n onClick={() => !isActive && switchSibling(sibling)}\n className={`rounded-lg px-3 py-1 text-xs transition-colors ${\n isActive\n ? 'bg-text font-semibold text-text-opposite'\n : 'cursor-pointer border border-border hover:bg-text/10'\n }`}\n >\n {formatVariant(sibling.variant)}\n </button>\n );\n })}\n {currentVariant !== undefined &&\n !variantDicts.some((d) => d.localId === dictionary.localId) && (\n <span className=\"rounded-lg bg-text px-3 py-1 font-semibold text-text-opposite text-xs\">\n {formatVariant(currentVariant)}\n </span>\n )}\n </div>\n )}\n </div>\n )}\n\n <div className=\"mb-6 flex items-center justify-between gap-2\">\n <KeyPathBreadcrumb\n dictionaryKey={key}\n keyPath={focusedKeyPath ?? []}\n onClickKeyPath={setFocusedContentKeyPath}\n />\n <div className=\"flex items-center gap-2\">\n <LocaleSwitcherContent />\n </div>\n </div>\n <div className=\"flex flex-1 gap-2 overflow-visible max-md:flex-col\">\n {typeof section === 'object' &&\n section &&\n !isEditableBaseSection &&\n Object.keys(section).length > 0 && (\n <Container\n border\n background=\"none\"\n className=\"top-10 flex h-full flex-col items-start gap-0.5 overflow-auto p-2 md:sticky md:max-w-[50%]\"\n roundedSize=\"2xl\"\n transparency=\"xs\"\n >\n <NavigationViewNode\n keyPath={[]}\n section={section}\n dictionary={activeDictionary}\n />\n </Container>\n )}\n {(isEditableFocusedSection || (deferredKeyPath ?? []).length > 0) && (\n <div\n className={\n isStale\n ? 'pointer-events-none flex-1 opacity-50 transition-opacity'\n : 'flex-1 transition-opacity'\n }\n >\n <TextEditorContainer\n keyPath={deferredKeyPath ?? []}\n section={deferredSection}\n dictionary={activeDictionary}\n />\n </div>\n )}\n </div>\n </div>\n );\n};\n"],"mappings":"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"}
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
- //#region src/components/DictionaryFieldEditor/ContentEditor.d.ts
4
- type NodeEditorProps = {
5
- dictionary: Dictionary;
6
- };
7
- declare const ContentEditor: FC<NodeEditorProps>;
8
- //#endregion
9
- export { ContentEditor };
10
- //# sourceMappingURL=ContentEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentEditor.d.ts","names":[],"sources":["../../../../src/components/DictionaryFieldEditor/ContentEditor.tsx"],"mappings":";;;KA4BK;EACH,YAAY;;cAWD,eAAe,GAAG"}