@smart-cloud/ai-kit-ui 1.5.14 → 1.5.15

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 (54) hide show
  1. package/dist/LocaleDirectionProvider.d.ts +5 -0
  2. package/dist/index.cjs +9 -9
  3. package/dist/index.js +9 -9
  4. package/dist/locale.d.ts +13 -0
  5. package/package.json +35 -19
  6. package/eslint.config.js +0 -18
  7. package/src/ShadowBoundary.tsx +0 -229
  8. package/src/ai-chatbot/AiChatbot.tsx +0 -2325
  9. package/src/ai-chatbot/attachmentStorage.ts +0 -238
  10. package/src/ai-chatbot/index.tsx +0 -1
  11. package/src/ai-feature/AiFeature.tsx +0 -2334
  12. package/src/ai-feature/AiFeatureBorder.tsx +0 -22
  13. package/src/ai-feature/ProofreadDiff.tsx +0 -118
  14. package/src/ai-feature/index.tsx +0 -2
  15. package/src/ai-feature/utils.tsx +0 -20
  16. package/src/doc-search/DocSearch.tsx +0 -1313
  17. package/src/doc-search/index.tsx +0 -1
  18. package/src/doc-search/initialFilters.ts +0 -10
  19. package/src/errorHandling.ts +0 -305
  20. package/src/i18n/ar.ts +0 -254
  21. package/src/i18n/de.ts +0 -257
  22. package/src/i18n/en.ts +0 -269
  23. package/src/i18n/es.ts +0 -257
  24. package/src/i18n/fr.ts +0 -258
  25. package/src/i18n/he.ts +0 -250
  26. package/src/i18n/hi.ts +0 -256
  27. package/src/i18n/hu.ts +0 -269
  28. package/src/i18n/id.ts +0 -256
  29. package/src/i18n/index.ts +0 -47
  30. package/src/i18n/it.ts +0 -259
  31. package/src/i18n/ja.ts +0 -256
  32. package/src/i18n/ko.ts +0 -254
  33. package/src/i18n/nb.ts +0 -254
  34. package/src/i18n/nl.ts +0 -255
  35. package/src/i18n/pl.ts +0 -258
  36. package/src/i18n/pt.ts +0 -254
  37. package/src/i18n/ru.ts +0 -254
  38. package/src/i18n/sv.ts +0 -253
  39. package/src/i18n/th.ts +0 -252
  40. package/src/i18n/tr.ts +0 -256
  41. package/src/i18n/ua.ts +0 -257
  42. package/src/i18n/zh.ts +0 -247
  43. package/src/index.tsx +0 -7
  44. package/src/poweredBy.tsx +0 -39
  45. package/src/styles/ai-kit-ui.css +0 -1006
  46. package/src/useAiRun.ts +0 -182
  47. package/src/withAiKitShell.tsx +0 -363
  48. package/tests/ai-disclosures.test.ts +0 -126
  49. package/tests/doc-search-initial-filters.test.ts +0 -20
  50. package/tests/error-handling.test.ts +0 -140
  51. package/tsconfig.json +0 -32
  52. package/tsconfig.node.json +0 -13
  53. package/tsconfig.types.json +0 -13
  54. package/tsup.config.ts +0 -22
@@ -0,0 +1,5 @@
1
+ import { type PropsWithChildren } from "react";
2
+ /** Controlled per-root direction: never reads or changes documentElement.dir. */
3
+ export declare function LocaleDirectionProvider({ initialDirection, children }: PropsWithChildren<{
4
+ initialDirection?: "ltr" | "rtl";
5
+ }>): import("react").JSX.Element;