@inkeep/cxkit-primitives 0.0.0-dev-20250221234142

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 (477) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/dist/atoms/api/analytics/conversation.cjs +1 -0
  4. package/dist/atoms/api/analytics/conversation.d.cts +3 -0
  5. package/dist/atoms/api/analytics/conversation.d.ts +3 -0
  6. package/dist/atoms/api/analytics/conversation.js +37 -0
  7. package/dist/atoms/api/analytics/events.cjs +1 -0
  8. package/dist/atoms/api/analytics/events.d.cts +2 -0
  9. package/dist/atoms/api/analytics/events.d.ts +2 -0
  10. package/dist/atoms/api/analytics/events.js +30 -0
  11. package/dist/atoms/api/analytics/feedback.cjs +1 -0
  12. package/dist/atoms/api/analytics/feedback.d.cts +11 -0
  13. package/dist/atoms/api/analytics/feedback.d.ts +11 -0
  14. package/dist/atoms/api/analytics/feedback.js +26 -0
  15. package/dist/atoms/avatars/ai.cjs +1 -0
  16. package/dist/atoms/avatars/ai.d.cts +3 -0
  17. package/dist/atoms/avatars/ai.d.ts +3 -0
  18. package/dist/atoms/avatars/ai.js +88 -0
  19. package/dist/atoms/avatars/user.cjs +1 -0
  20. package/dist/atoms/avatars/user.d.cts +3 -0
  21. package/dist/atoms/avatars/user.d.ts +3 -0
  22. package/dist/atoms/avatars/user.js +27 -0
  23. package/dist/atoms/codeblock/index.cjs +1 -0
  24. package/dist/atoms/codeblock/index.d.cts +10 -0
  25. package/dist/atoms/codeblock/index.d.ts +10 -0
  26. package/dist/atoms/codeblock/index.js +40 -0
  27. package/dist/atoms/custom-styles.cjs +1 -0
  28. package/dist/atoms/custom-styles.d.cts +5 -0
  29. package/dist/atoms/custom-styles.d.ts +5 -0
  30. package/dist/atoms/custom-styles.js +57 -0
  31. package/dist/atoms/dialog.cjs +1 -0
  32. package/dist/atoms/dialog.d.cts +68 -0
  33. package/dist/atoms/dialog.d.ts +68 -0
  34. package/dist/atoms/dialog.js +185 -0
  35. package/dist/atoms/icons/built-in-icon-renderer.cjs +1 -0
  36. package/dist/atoms/icons/built-in-icon-renderer.d.cts +6 -0
  37. package/dist/atoms/icons/built-in-icon-renderer.d.ts +6 -0
  38. package/dist/atoms/icons/built-in-icon-renderer.js +49 -0
  39. package/dist/atoms/icons/built-in-icons.cjs +1 -0
  40. package/dist/atoms/icons/built-in-icons.d.cts +72 -0
  41. package/dist/atoms/icons/built-in-icons.d.ts +72 -0
  42. package/dist/atoms/icons/built-in-icons.js +79 -0
  43. package/dist/atoms/icons/checkbox-icon.cjs +1 -0
  44. package/dist/atoms/icons/checkbox-icon.d.cts +1 -0
  45. package/dist/atoms/icons/checkbox-icon.d.ts +1 -0
  46. package/dist/atoms/icons/checkbox-icon.js +24 -0
  47. package/dist/atoms/icons/custom-icon.cjs +1 -0
  48. package/dist/atoms/icons/custom-icon.d.cts +6 -0
  49. package/dist/atoms/icons/custom-icon.d.ts +6 -0
  50. package/dist/atoms/icons/custom-icon.js +19 -0
  51. package/dist/atoms/icons/index.cjs +1 -0
  52. package/dist/atoms/icons/index.d.cts +2 -0
  53. package/dist/atoms/icons/index.d.ts +2 -0
  54. package/dist/atoms/icons/index.js +6 -0
  55. package/dist/atoms/icons/inkeep-default-icons.cjs +1 -0
  56. package/dist/atoms/icons/inkeep-default-icons.d.cts +2 -0
  57. package/dist/atoms/icons/inkeep-default-icons.d.ts +2 -0
  58. package/dist/atoms/icons/inkeep-default-icons.js +23 -0
  59. package/dist/atoms/link.cjs +1 -0
  60. package/dist/atoms/link.d.cts +14 -0
  61. package/dist/atoms/link.d.ts +14 -0
  62. package/dist/atoms/link.js +35 -0
  63. package/dist/atoms/markdown/components.cjs +1 -0
  64. package/dist/atoms/markdown/components.d.cts +27 -0
  65. package/dist/atoms/markdown/components.d.ts +27 -0
  66. package/dist/atoms/markdown/components.js +64 -0
  67. package/dist/atoms/markdown/index.cjs +1 -0
  68. package/dist/atoms/markdown/index.d.cts +15 -0
  69. package/dist/atoms/markdown/index.d.ts +15 -0
  70. package/dist/atoms/markdown/index.js +79 -0
  71. package/dist/atoms/markdown/rehype-inline-code-property.cjs +1 -0
  72. package/dist/atoms/markdown/rehype-inline-code-property.d.cts +1 -0
  73. package/dist/atoms/markdown/rehype-inline-code-property.d.ts +1 -0
  74. package/dist/atoms/markdown/rehype-inline-code-property.js +12 -0
  75. package/dist/atoms/portal-with-theme.cjs +1 -0
  76. package/dist/atoms/portal-with-theme.d.cts +2 -0
  77. package/dist/atoms/portal-with-theme.d.ts +2 -0
  78. package/dist/atoms/portal-with-theme.js +12 -0
  79. package/dist/atoms/portal.cjs +1 -0
  80. package/dist/atoms/portal.d.cts +8 -0
  81. package/dist/atoms/portal.d.ts +8 -0
  82. package/dist/atoms/portal.js +19 -0
  83. package/dist/atoms/shadow/context.cjs +2 -0
  84. package/dist/atoms/shadow/context.d.cts +14 -0
  85. package/dist/atoms/shadow/context.d.ts +14 -0
  86. package/dist/atoms/shadow/context.js +55 -0
  87. package/dist/atoms/shadow/create.cjs +1 -0
  88. package/dist/atoms/shadow/create.d.cts +8 -0
  89. package/dist/atoms/shadow/create.d.ts +8 -0
  90. package/dist/atoms/shadow/create.js +56 -0
  91. package/dist/atoms/shadow/index.d.cts +1 -0
  92. package/dist/atoms/shadow/index.d.ts +1 -0
  93. package/dist/atoms/shadow/root.cjs +1 -0
  94. package/dist/atoms/shadow/root.d.cts +5 -0
  95. package/dist/atoms/shadow/root.d.ts +5 -0
  96. package/dist/atoms/shadow/root.js +22 -0
  97. package/dist/atoms/shadow/use-ensured-forwarded-ref.cjs +1 -0
  98. package/dist/atoms/shadow/use-ensured-forwarded-ref.d.cts +2 -0
  99. package/dist/atoms/shadow/use-ensured-forwarded-ref.d.ts +2 -0
  100. package/dist/atoms/shadow/use-ensured-forwarded-ref.js +11 -0
  101. package/dist/atoms/shadow/utils.cjs +1 -0
  102. package/dist/atoms/shadow/utils.d.cts +9 -0
  103. package/dist/atoms/shadow/utils.d.ts +9 -0
  104. package/dist/atoms/shadow/utils.js +16 -0
  105. package/dist/components/chat-button.cjs +1 -0
  106. package/dist/components/chat-button.d.cts +11 -0
  107. package/dist/components/chat-button.d.ts +11 -0
  108. package/dist/components/chat-button.js +42 -0
  109. package/dist/components/embedded-chat/chat-provider.cjs +1 -0
  110. package/dist/components/embedded-chat/chat-provider.d.cts +19 -0
  111. package/dist/components/embedded-chat/chat-provider.d.ts +19 -0
  112. package/dist/components/embedded-chat/chat-provider.js +22 -0
  113. package/dist/components/embedded-chat/use-captcha.cjs +1 -0
  114. package/dist/components/embedded-chat/use-captcha.d.cts +13 -0
  115. package/dist/components/embedded-chat/use-captcha.d.ts +13 -0
  116. package/dist/components/embedded-chat/use-captcha.js +56 -0
  117. package/dist/components/embedded-chat/use-chat-action.cjs +1 -0
  118. package/dist/components/embedded-chat/use-chat-action.d.cts +9 -0
  119. package/dist/components/embedded-chat/use-chat-action.d.ts +9 -0
  120. package/dist/components/embedded-chat/use-chat-action.js +26 -0
  121. package/dist/components/embedded-chat/use-inkeep-chat.cjs +4 -0
  122. package/dist/components/embedded-chat/use-inkeep-chat.d.cts +25 -0
  123. package/dist/components/embedded-chat/use-inkeep-chat.d.ts +25 -0
  124. package/dist/components/embedded-chat/use-inkeep-chat.js +227 -0
  125. package/dist/components/embedded-chat.cjs +17 -0
  126. package/dist/components/embedded-chat.d.cts +415 -0
  127. package/dist/components/embedded-chat.d.ts +415 -0
  128. package/dist/components/embedded-chat.js +1840 -0
  129. package/dist/components/embedded-search/search-provider.cjs +1 -0
  130. package/dist/components/embedded-search/search-provider.d.cts +21 -0
  131. package/dist/components/embedded-search/search-provider.d.ts +21 -0
  132. package/dist/components/embedded-search/search-provider.js +19 -0
  133. package/dist/components/embedded-search/search-query.graphql.cjs +82 -0
  134. package/dist/components/embedded-search/search-query.graphql.js +86 -0
  135. package/dist/components/embedded-search/transform-results.cjs +1 -0
  136. package/dist/components/embedded-search/transform-results.d.cts +3 -0
  137. package/dist/components/embedded-search/transform-results.d.ts +3 -0
  138. package/dist/components/embedded-search/transform-results.js +113 -0
  139. package/dist/components/embedded-search/use-inkeep-search.cjs +1 -0
  140. package/dist/components/embedded-search/use-inkeep-search.d.cts +21 -0
  141. package/dist/components/embedded-search/use-inkeep-search.d.ts +21 -0
  142. package/dist/components/embedded-search/use-inkeep-search.js +137 -0
  143. package/dist/components/embedded-search.cjs +1 -0
  144. package/dist/components/embedded-search.d.cts +229 -0
  145. package/dist/components/embedded-search.d.ts +229 -0
  146. package/dist/components/embedded-search.js +390 -0
  147. package/dist/components/factory.cjs +1 -0
  148. package/dist/components/factory.d.cts +19 -0
  149. package/dist/components/factory.d.ts +19 -0
  150. package/dist/components/factory.js +39 -0
  151. package/dist/components/index.cjs +1 -0
  152. package/dist/components/index.d.cts +11 -0
  153. package/dist/components/index.d.ts +11 -0
  154. package/dist/components/index.js +31 -0
  155. package/dist/components/intelligent-form/actions/context-model-response.cjs +9 -0
  156. package/dist/components/intelligent-form/actions/context-model-response.d.cts +10 -0
  157. package/dist/components/intelligent-form/actions/context-model-response.d.ts +10 -0
  158. package/dist/components/intelligent-form/actions/context-model-response.js +36 -0
  159. package/dist/components/intelligent-form/actions/escalation-schema.cjs +1 -0
  160. package/dist/components/intelligent-form/actions/escalation-schema.d.cts +2 -0
  161. package/dist/components/intelligent-form/actions/escalation-schema.d.ts +2 -0
  162. package/dist/components/intelligent-form/actions/escalation-schema.js +48 -0
  163. package/dist/components/intelligent-form/actions/qa-model-messages.cjs +27 -0
  164. package/dist/components/intelligent-form/actions/qa-model-messages.d.cts +2 -0
  165. package/dist/components/intelligent-form/actions/qa-model-messages.d.ts +2 -0
  166. package/dist/components/intelligent-form/actions/qa-model-messages.js +45 -0
  167. package/dist/components/intelligent-form/actions/qa-model-response.cjs +1 -0
  168. package/dist/components/intelligent-form/actions/qa-model-response.d.cts +14 -0
  169. package/dist/components/intelligent-form/actions/qa-model-response.d.ts +14 -0
  170. package/dist/components/intelligent-form/actions/qa-model-response.js +46 -0
  171. package/dist/components/intelligent-form/intelligent-form-provider.cjs +1 -0
  172. package/dist/components/intelligent-form/intelligent-form-provider.d.cts +29 -0
  173. package/dist/components/intelligent-form/intelligent-form-provider.d.ts +29 -0
  174. package/dist/components/intelligent-form/intelligent-form-provider.js +23 -0
  175. package/dist/components/intelligent-form/use-inkeep-intelligent-form.cjs +1 -0
  176. package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.cts +30 -0
  177. package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.ts +30 -0
  178. package/dist/components/intelligent-form/use-inkeep-intelligent-form.js +157 -0
  179. package/dist/components/intelligent-form.cjs +1 -0
  180. package/dist/components/intelligent-form.d.cts +135 -0
  181. package/dist/components/intelligent-form.d.ts +135 -0
  182. package/dist/components/intelligent-form.js +568 -0
  183. package/dist/components/modal/modal-provider.cjs +1 -0
  184. package/dist/components/modal/modal-provider.d.cts +13 -0
  185. package/dist/components/modal/modal-provider.d.ts +13 -0
  186. package/dist/components/modal/modal-provider.js +8 -0
  187. package/dist/components/modal/use-inkeep-modal.cjs +1 -0
  188. package/dist/components/modal/use-inkeep-modal.d.cts +8 -0
  189. package/dist/components/modal/use-inkeep-modal.d.ts +8 -0
  190. package/dist/components/modal/use-inkeep-modal.js +30 -0
  191. package/dist/components/modal.cjs +1 -0
  192. package/dist/components/modal.d.cts +18 -0
  193. package/dist/components/modal.d.ts +18 -0
  194. package/dist/components/modal.js +40 -0
  195. package/dist/components/searchbar.cjs +1 -0
  196. package/dist/components/searchbar.d.cts +23 -0
  197. package/dist/components/searchbar.d.ts +23 -0
  198. package/dist/components/searchbar.js +54 -0
  199. package/dist/components/tagline-logo-icon.cjs +1 -0
  200. package/dist/components/tagline-logo-icon.d.cts +1 -0
  201. package/dist/components/tagline-logo-icon.d.ts +1 -0
  202. package/dist/components/tagline-logo-icon.js +34 -0
  203. package/dist/hooks/index.cjs +1 -0
  204. package/dist/hooks/index.d.cts +12 -0
  205. package/dist/hooks/index.d.ts +12 -0
  206. package/dist/hooks/index.js +27 -0
  207. package/dist/hooks/use-boolean.cjs +1 -0
  208. package/dist/hooks/use-boolean.d.cts +10 -0
  209. package/dist/hooks/use-boolean.d.ts +10 -0
  210. package/dist/hooks/use-boolean.js +17 -0
  211. package/dist/hooks/use-browser-storage.cjs +1 -0
  212. package/dist/hooks/use-browser-storage.d.cts +17 -0
  213. package/dist/hooks/use-browser-storage.d.ts +17 -0
  214. package/dist/hooks/use-browser-storage.js +88 -0
  215. package/dist/hooks/use-component-classnames.cjs +1 -0
  216. package/dist/hooks/use-component-classnames.d.cts +6 -0
  217. package/dist/hooks/use-component-classnames.d.ts +6 -0
  218. package/dist/hooks/use-component-classnames.js +14 -0
  219. package/dist/hooks/use-container-size.cjs +1 -0
  220. package/dist/hooks/use-container-size.d.cts +5 -0
  221. package/dist/hooks/use-container-size.d.ts +5 -0
  222. package/dist/hooks/use-container-size.js +18 -0
  223. package/dist/hooks/use-copy-to-clipboard.cjs +1 -0
  224. package/dist/hooks/use-copy-to-clipboard.d.cts +3 -0
  225. package/dist/hooks/use-copy-to-clipboard.d.ts +3 -0
  226. package/dist/hooks/use-copy-to-clipboard.js +19 -0
  227. package/dist/hooks/use-instant-update.cjs +1 -0
  228. package/dist/hooks/use-instant-update.d.cts +17 -0
  229. package/dist/hooks/use-instant-update.d.ts +17 -0
  230. package/dist/hooks/use-instant-update.js +16 -0
  231. package/dist/hooks/use-is-mounted.cjs +1 -0
  232. package/dist/hooks/use-is-mounted.d.cts +1 -0
  233. package/dist/hooks/use-is-mounted.d.ts +1 -0
  234. package/dist/hooks/use-is-mounted.js +11 -0
  235. package/dist/hooks/use-media-query.cjs +1 -0
  236. package/dist/hooks/use-media-query.d.cts +1 -0
  237. package/dist/hooks/use-media-query.d.ts +1 -0
  238. package/dist/hooks/use-media-query.js +14 -0
  239. package/dist/hooks/use-resize-observer.cjs +1 -0
  240. package/dist/hooks/use-resize-observer.d.cts +12 -0
  241. package/dist/hooks/use-resize-observer.d.ts +12 -0
  242. package/dist/hooks/use-resize-observer.js +32 -0
  243. package/dist/hooks/use-scroll-to-bottom.cjs +1 -0
  244. package/dist/hooks/use-scroll-to-bottom.d.cts +13 -0
  245. package/dist/hooks/use-scroll-to-bottom.d.ts +13 -0
  246. package/dist/hooks/use-scroll-to-bottom.js +52 -0
  247. package/dist/hooks/use-scrolling-fades.cjs +1 -0
  248. package/dist/hooks/use-scrolling-fades.d.cts +2 -0
  249. package/dist/hooks/use-scrolling-fades.d.ts +2 -0
  250. package/dist/hooks/use-scrolling-fades.js +18 -0
  251. package/dist/hooks/use-settle-action.cjs +1 -0
  252. package/dist/hooks/use-settle-action.d.cts +3 -0
  253. package/dist/hooks/use-settle-action.d.ts +3 -0
  254. package/dist/hooks/use-settle-action.js +11 -0
  255. package/dist/index.cjs +1 -0
  256. package/dist/index.d.cts +11 -0
  257. package/dist/index.d.ts +11 -0
  258. package/dist/index.js +152 -0
  259. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.cjs +1 -0
  260. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.js +92 -0
  261. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.cjs +1 -0
  262. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.js +8 -0
  263. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.cjs +1 -0
  264. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js +8 -0
  265. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.cjs +1 -0
  266. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js +128 -0
  267. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconBase.cjs +1 -0
  268. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconBase.js +109 -0
  269. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconContext.cjs +1 -0
  270. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconContext.js +13 -0
  271. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.cjs +1 -0
  272. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.js +68 -0
  273. package/dist/providers/attachment-item-provider.cjs +1 -0
  274. package/dist/providers/attachment-item-provider.d.cts +9 -0
  275. package/dist/providers/attachment-item-provider.d.ts +9 -0
  276. package/dist/providers/attachment-item-provider.js +13 -0
  277. package/dist/providers/attachments-bar-provider.cjs +1 -0
  278. package/dist/providers/attachments-bar-provider.d.cts +30 -0
  279. package/dist/providers/attachments-bar-provider.d.ts +30 -0
  280. package/dist/providers/attachments-bar-provider.js +64 -0
  281. package/dist/providers/base-events-provider.cjs +1 -0
  282. package/dist/providers/base-events-provider.d.cts +8 -0
  283. package/dist/providers/base-events-provider.d.ts +8 -0
  284. package/dist/providers/base-events-provider.js +39 -0
  285. package/dist/providers/chat-events-provider.cjs +1 -0
  286. package/dist/providers/chat-events-provider.d.cts +12 -0
  287. package/dist/providers/chat-events-provider.d.ts +12 -0
  288. package/dist/providers/chat-events-provider.js +66 -0
  289. package/dist/providers/chat-form-provider.cjs +1 -0
  290. package/dist/providers/chat-form-provider.d.cts +23 -0
  291. package/dist/providers/chat-form-provider.d.ts +23 -0
  292. package/dist/providers/chat-form-provider.js +66 -0
  293. package/dist/providers/config-provider.cjs +1 -0
  294. package/dist/providers/config-provider.d.cts +24 -0
  295. package/dist/providers/config-provider.d.ts +24 -0
  296. package/dist/providers/config-provider.js +37 -0
  297. package/dist/providers/conversation-provider.cjs +1 -0
  298. package/dist/providers/conversation-provider.d.cts +12 -0
  299. package/dist/providers/conversation-provider.d.ts +12 -0
  300. package/dist/providers/conversation-provider.js +49 -0
  301. package/dist/providers/feedback-item-provider.cjs +1 -0
  302. package/dist/providers/feedback-item-provider.d.cts +10 -0
  303. package/dist/providers/feedback-item-provider.d.ts +10 -0
  304. package/dist/providers/feedback-item-provider.js +16 -0
  305. package/dist/providers/feedback-provider.cjs +1 -0
  306. package/dist/providers/feedback-provider.d.cts +19 -0
  307. package/dist/providers/feedback-provider.d.ts +19 -0
  308. package/dist/providers/feedback-provider.js +82 -0
  309. package/dist/providers/form-field-provider.cjs +1 -0
  310. package/dist/providers/form-field-provider.d.cts +15 -0
  311. package/dist/providers/form-field-provider.d.ts +15 -0
  312. package/dist/providers/form-field-provider.js +17 -0
  313. package/dist/providers/help-menu-provider.cjs +1 -0
  314. package/dist/providers/help-menu-provider.d.cts +11 -0
  315. package/dist/providers/help-menu-provider.d.ts +11 -0
  316. package/dist/providers/help-menu-provider.js +19 -0
  317. package/dist/providers/index.cjs +1 -0
  318. package/dist/providers/index.d.cts +19 -0
  319. package/dist/providers/index.d.ts +19 -0
  320. package/dist/providers/index.js +63 -0
  321. package/dist/providers/intelligent-form-field-provider.cjs +1 -0
  322. package/dist/providers/intelligent-form-field-provider.d.cts +15 -0
  323. package/dist/providers/intelligent-form-field-provider.d.ts +15 -0
  324. package/dist/providers/intelligent-form-field-provider.js +19 -0
  325. package/dist/providers/markdown-provider.cjs +1 -0
  326. package/dist/providers/markdown-provider.d.cts +9 -0
  327. package/dist/providers/markdown-provider.d.ts +9 -0
  328. package/dist/providers/markdown-provider.js +8 -0
  329. package/dist/providers/message-attachments-provider.cjs +1 -0
  330. package/dist/providers/message-attachments-provider.d.cts +13 -0
  331. package/dist/providers/message-attachments-provider.d.ts +13 -0
  332. package/dist/providers/message-attachments-provider.js +27 -0
  333. package/dist/providers/message-provider.cjs +1 -0
  334. package/dist/providers/message-provider.d.cts +10 -0
  335. package/dist/providers/message-provider.d.ts +10 -0
  336. package/dist/providers/message-provider.js +14 -0
  337. package/dist/providers/root-provider.cjs +1 -0
  338. package/dist/providers/root-provider.d.cts +8 -0
  339. package/dist/providers/root-provider.d.ts +8 -0
  340. package/dist/providers/root-provider.js +21 -0
  341. package/dist/providers/search-events-provider.cjs +1 -0
  342. package/dist/providers/search-events-provider.d.cts +11 -0
  343. package/dist/providers/search-events-provider.d.ts +11 -0
  344. package/dist/providers/search-events-provider.js +18 -0
  345. package/dist/providers/source-item-provider.cjs +1 -0
  346. package/dist/providers/source-item-provider.d.cts +12 -0
  347. package/dist/providers/source-item-provider.d.ts +12 -0
  348. package/dist/providers/source-item-provider.js +13 -0
  349. package/dist/providers/theme-provider.cjs +1 -0
  350. package/dist/providers/theme-provider.d.cts +3 -0
  351. package/dist/providers/theme-provider.d.ts +3 -0
  352. package/dist/providers/theme-provider.js +65 -0
  353. package/dist/providers/user-provider.cjs +1 -0
  354. package/dist/providers/user-provider.d.cts +13 -0
  355. package/dist/providers/user-provider.d.ts +13 -0
  356. package/dist/providers/user-provider.js +34 -0
  357. package/dist/providers/widget-provider.cjs +1 -0
  358. package/dist/providers/widget-provider.d.cts +9 -0
  359. package/dist/providers/widget-provider.d.ts +9 -0
  360. package/dist/providers/widget-provider.js +8 -0
  361. package/dist/utils/component-ids.cjs +1 -0
  362. package/dist/utils/component-ids.d.cts +632 -0
  363. package/dist/utils/component-ids.d.ts +632 -0
  364. package/dist/utils/component-ids.js +340 -0
  365. package/dist/utils/compose-event-handlers.cjs +1 -0
  366. package/dist/utils/compose-event-handlers.d.cts +3 -0
  367. package/dist/utils/compose-event-handlers.d.ts +3 -0
  368. package/dist/utils/compose-event-handlers.js +10 -0
  369. package/dist/utils/compose-refs.cjs +1 -0
  370. package/dist/utils/compose-refs.d.cts +5 -0
  371. package/dist/utils/compose-refs.d.ts +5 -0
  372. package/dist/utils/compose-refs.js +30 -0
  373. package/dist/utils/default-settings.cjs +1 -0
  374. package/dist/utils/default-settings.d.cts +244 -0
  375. package/dist/utils/default-settings.d.ts +244 -0
  376. package/dist/utils/default-settings.js +75 -0
  377. package/dist/utils/form.cjs +1 -0
  378. package/dist/utils/form.d.cts +3 -0
  379. package/dist/utils/form.d.ts +3 -0
  380. package/dist/utils/form.js +17 -0
  381. package/dist/utils/generate-uid.cjs +1 -0
  382. package/dist/utils/generate-uid.d.cts +2 -0
  383. package/dist/utils/generate-uid.d.ts +2 -0
  384. package/dist/utils/generate-uid.js +14 -0
  385. package/dist/utils/get-message-metadata.cjs +10 -0
  386. package/dist/utils/get-message-metadata.d.cts +8 -0
  387. package/dist/utils/get-message-metadata.d.ts +8 -0
  388. package/dist/utils/get-message-metadata.js +142 -0
  389. package/dist/utils/graphql-client.cjs +1 -0
  390. package/dist/utils/graphql-client.d.cts +8 -0
  391. package/dist/utils/graphql-client.d.ts +8 -0
  392. package/dist/utils/graphql-client.js +23 -0
  393. package/dist/utils/highlight-emphasis.cjs +1 -0
  394. package/dist/utils/highlight-emphasis.d.cts +4 -0
  395. package/dist/utils/highlight-emphasis.d.ts +4 -0
  396. package/dist/utils/highlight-emphasis.js +15 -0
  397. package/dist/utils/merge-props.cjs +1 -0
  398. package/dist/utils/merge-props.d.cts +7 -0
  399. package/dist/utils/merge-props.d.ts +7 -0
  400. package/dist/utils/merge-props.js +41 -0
  401. package/dist/utils/misc.cjs +1 -0
  402. package/dist/utils/misc.d.cts +13 -0
  403. package/dist/utils/misc.d.ts +13 -0
  404. package/dist/utils/misc.js +36 -0
  405. package/dist/utils/reset-query-params.cjs +1 -0
  406. package/dist/utils/reset-query-params.d.cts +1 -0
  407. package/dist/utils/reset-query-params.d.ts +1 -0
  408. package/dist/utils/reset-query-params.js +13 -0
  409. package/dist/utils/tools/links-schema.cjs +1 -0
  410. package/dist/utils/tools/links-schema.d.cts +64 -0
  411. package/dist/utils/tools/links-schema.d.ts +64 -0
  412. package/dist/utils/tools/links-schema.js +85 -0
  413. package/dist/utils/transform-source/breadcrumbs.cjs +1 -0
  414. package/dist/utils/transform-source/breadcrumbs.d.cts +2 -0
  415. package/dist/utils/transform-source/breadcrumbs.d.ts +2 -0
  416. package/dist/utils/transform-source/breadcrumbs.js +16 -0
  417. package/dist/utils/transform-source/common-words/long.cjs +1 -0
  418. package/dist/utils/transform-source/common-words/long.d.cts +1 -0
  419. package/dist/utils/transform-source/common-words/long.d.ts +1 -0
  420. package/dist/utils/transform-source/common-words/long.js +69 -0
  421. package/dist/utils/transform-source/common-words/lowercase.cjs +1 -0
  422. package/dist/utils/transform-source/common-words/lowercase.d.cts +1 -0
  423. package/dist/utils/transform-source/common-words/lowercase.d.ts +1 -0
  424. package/dist/utils/transform-source/common-words/lowercase.js +48 -0
  425. package/dist/utils/transform-source/common-words/short.cjs +1 -0
  426. package/dist/utils/transform-source/common-words/short.d.cts +1 -0
  427. package/dist/utils/transform-source/common-words/short.d.ts +1 -0
  428. package/dist/utils/transform-source/common-words/short.js +141 -0
  429. package/dist/utils/transform-source/description.cjs +1 -0
  430. package/dist/utils/transform-source/description.d.cts +2 -0
  431. package/dist/utils/transform-source/description.d.ts +2 -0
  432. package/dist/utils/transform-source/description.js +10 -0
  433. package/dist/utils/transform-source/icon.cjs +1 -0
  434. package/dist/utils/transform-source/icon.d.cts +2 -0
  435. package/dist/utils/transform-source/icon.d.ts +2 -0
  436. package/dist/utils/transform-source/icon.js +9 -0
  437. package/dist/utils/transform-source/index.cjs +1 -0
  438. package/dist/utils/transform-source/index.d.cts +2 -0
  439. package/dist/utils/transform-source/index.d.ts +2 -0
  440. package/dist/utils/transform-source/index.js +21 -0
  441. package/dist/utils/transform-source/tabs.cjs +1 -0
  442. package/dist/utils/transform-source/tabs.d.cts +2 -0
  443. package/dist/utils/transform-source/tabs.d.ts +2 -0
  444. package/dist/utils/transform-source/tabs.js +13 -0
  445. package/dist/utils/transform-source/title.cjs +1 -0
  446. package/dist/utils/transform-source/title.d.cts +2 -0
  447. package/dist/utils/transform-source/title.d.ts +2 -0
  448. package/dist/utils/transform-source/title.js +12 -0
  449. package/dist/utils/transform-source/utils/description-without-title.cjs +1 -0
  450. package/dist/utils/transform-source/utils/description-without-title.d.cts +11 -0
  451. package/dist/utils/transform-source/utils/description-without-title.d.ts +11 -0
  452. package/dist/utils/transform-source/utils/description-without-title.js +12 -0
  453. package/dist/utils/transform-source/utils/index.cjs +1 -0
  454. package/dist/utils/transform-source/utils/index.d.cts +6 -0
  455. package/dist/utils/transform-source/utils/index.d.ts +6 -0
  456. package/dist/utils/transform-source/utils/index.js +16 -0
  457. package/dist/utils/transform-source/utils/misc.cjs +1 -0
  458. package/dist/utils/transform-source/utils/misc.d.cts +2 -0
  459. package/dist/utils/transform-source/utils/misc.d.ts +2 -0
  460. package/dist/utils/transform-source/utils/misc.js +15 -0
  461. package/dist/utils/transform-source/utils/standardize-common-words.cjs +1 -0
  462. package/dist/utils/transform-source/utils/standardize-common-words.d.cts +1 -0
  463. package/dist/utils/transform-source/utils/standardize-common-words.d.ts +1 -0
  464. package/dist/utils/transform-source/utils/standardize-common-words.js +26 -0
  465. package/dist/utils/transform-source/utils/standardize-organization-display-name.cjs +1 -0
  466. package/dist/utils/transform-source/utils/standardize-organization-display-name.d.cts +8 -0
  467. package/dist/utils/transform-source/utils/standardize-organization-display-name.d.ts +8 -0
  468. package/dist/utils/transform-source/utils/standardize-organization-display-name.js +10 -0
  469. package/dist/utils/transform-source/utils/standardize-suffixes.cjs +1 -0
  470. package/dist/utils/transform-source/utils/standardize-suffixes.d.cts +5 -0
  471. package/dist/utils/transform-source/utils/standardize-suffixes.d.ts +5 -0
  472. package/dist/utils/transform-source/utils/standardize-suffixes.js +16 -0
  473. package/dist/utils/transform-source/utils/strip-branding-keywords.cjs +1 -0
  474. package/dist/utils/transform-source/utils/strip-branding-keywords.d.cts +17 -0
  475. package/dist/utils/transform-source/utils/strip-branding-keywords.d.ts +17 -0
  476. package/dist/utils/transform-source/utils/strip-branding-keywords.js +14 -0
  477. package/package.json +111 -0
@@ -0,0 +1,185 @@
1
+ "use client";
2
+ import { jsx as i, Fragment as w } from "react/jsx-runtime";
3
+ import * as c from "react";
4
+ import { createContextScope as M } from "@radix-ui/react-context";
5
+ import { useId as D } from "@radix-ui/react-id";
6
+ import { useControllableState as S } from "@radix-ui/react-use-controllable-state";
7
+ import { DismissableLayer as k } from "@radix-ui/react-dismissable-layer";
8
+ import { FocusScope as L } from "@radix-ui/react-focus-scope";
9
+ import { Presence as h } from "@radix-ui/react-presence";
10
+ import { Primitive as f } from "@radix-ui/react-primitive";
11
+ import { useFocusGuards as G } from "@radix-ui/react-focus-guards";
12
+ import { RemoveScroll as j } from "react-remove-scroll";
13
+ import { hideOthers as H } from "aria-hidden";
14
+ import { Slot as K } from "@radix-ui/react-slot";
15
+ import { useComposedRefs as R } from "../utils/compose-refs.js";
16
+ import { composeEventHandlers as u } from "../utils/compose-event-handlers.js";
17
+ const C = "Dialog", [U, lo] = M(C), [V, p] = U(C), y = (o) => {
18
+ const { __scopeDialog: t, children: n, open: r, defaultOpen: e, onOpenChange: s, modal: l = !0 } = o, a = c.useRef(null), d = c.useRef(null), [g = !1, m] = S({
19
+ prop: r,
20
+ defaultProp: e,
21
+ onChange: s
22
+ });
23
+ return /* @__PURE__ */ i(
24
+ V,
25
+ {
26
+ scope: t,
27
+ triggerRef: a,
28
+ contentRef: d,
29
+ contentId: D(),
30
+ titleId: D(),
31
+ descriptionId: D(),
32
+ open: g,
33
+ onOpenChange: m,
34
+ onOpenToggle: c.useCallback(() => m((F) => !F), [m]),
35
+ modal: l,
36
+ children: n
37
+ }
38
+ );
39
+ };
40
+ y.displayName = C;
41
+ const E = "DialogTrigger", Y = c.forwardRef(
42
+ (o, t) => {
43
+ const { __scopeDialog: n, ...r } = o, e = p(E, n), s = R(t, e.triggerRef);
44
+ return /* @__PURE__ */ i(
45
+ f.button,
46
+ {
47
+ type: "button",
48
+ "aria-haspopup": "dialog",
49
+ "aria-expanded": e.open,
50
+ "aria-controls": e.contentId,
51
+ "data-state": _(e.open),
52
+ ...r,
53
+ ref: s,
54
+ onClick: u(o.onClick, e.onOpenToggle)
55
+ }
56
+ );
57
+ }
58
+ );
59
+ Y.displayName = E;
60
+ const I = "DialogOverlay", N = c.forwardRef(
61
+ (o, t) => /* @__PURE__ */ i(h, { present: !0, children: /* @__PURE__ */ i(Z, { ...o, ref: t }) })
62
+ );
63
+ N.displayName = I;
64
+ const Z = c.forwardRef(
65
+ (o, t) => {
66
+ const { __scopeDialog: n, ...r } = o, e = p(I, n);
67
+ return (
68
+ // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
69
+ // ie. when `Overlay` and `Content` are siblings
70
+ /* @__PURE__ */ i(j, { as: K, allowPinchZoom: !0, shards: [e.contentRef], enabled: e.open, children: /* @__PURE__ */ i(
71
+ f.div,
72
+ {
73
+ "data-state": _(e.open),
74
+ ...r,
75
+ ref: t,
76
+ style: { pointerEvents: "auto", ...r.style }
77
+ }
78
+ ) })
79
+ );
80
+ }
81
+ ), O = "DialogContent", v = c.forwardRef(
82
+ (o, t) => /* @__PURE__ */ i(h, { present: !0, children: /* @__PURE__ */ i(q, { ...o, ref: t }) })
83
+ );
84
+ v.displayName = O;
85
+ const q = c.forwardRef(
86
+ (o, t) => {
87
+ const n = p(O, o.__scopeDialog), r = c.useRef(null), e = R(t, n.contentRef, r);
88
+ return c.useEffect(() => {
89
+ const s = r.current;
90
+ if (s) return H(s);
91
+ }, []), /* @__PURE__ */ i(
92
+ z,
93
+ {
94
+ ...o,
95
+ ref: e,
96
+ trapFocus: n.open,
97
+ disableOutsidePointerEvents: !1,
98
+ onCloseAutoFocus: u(o.onCloseAutoFocus, (s) => {
99
+ s.preventDefault(), n.triggerRef.current?.focus();
100
+ }),
101
+ onPointerDownOutside: u(o.onPointerDownOutside, (s) => {
102
+ if (!n.open) return;
103
+ const l = s.detail.originalEvent, a = l.button === 0 && l.ctrlKey === !0;
104
+ (l.button === 2 || a) && s.preventDefault();
105
+ }),
106
+ onFocusOutside: u(o.onFocusOutside, (s) => {
107
+ s.preventDefault();
108
+ })
109
+ }
110
+ );
111
+ }
112
+ ), z = c.forwardRef(
113
+ (o, t) => {
114
+ const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: e, onCloseAutoFocus: s, ...l } = o, a = p(O, n), d = c.useRef(null), g = R(t, d);
115
+ return G(), /* @__PURE__ */ i(w, { children: /* @__PURE__ */ i(
116
+ L,
117
+ {
118
+ asChild: !0,
119
+ loop: !0,
120
+ trapped: r,
121
+ onMountAutoFocus: e,
122
+ onUnmountAutoFocus: s,
123
+ children: /* @__PURE__ */ i(
124
+ k,
125
+ {
126
+ role: "dialog",
127
+ id: a.contentId,
128
+ "aria-describedby": a.descriptionId,
129
+ "aria-labelledby": a.titleId,
130
+ "data-state": _(a.open),
131
+ ...l,
132
+ ref: g,
133
+ onDismiss: () => a.onOpenChange(!1)
134
+ }
135
+ )
136
+ }
137
+ ) });
138
+ }
139
+ ), P = "DialogTitle", b = c.forwardRef(
140
+ (o, t) => {
141
+ const { __scopeDialog: n, ...r } = o, e = p(P, n);
142
+ return /* @__PURE__ */ i(f.h2, { id: e.titleId, ...r, ref: t });
143
+ }
144
+ );
145
+ b.displayName = P;
146
+ const A = "DialogDescription", B = c.forwardRef(
147
+ (o, t) => {
148
+ const { __scopeDialog: n, ...r } = o, e = p(A, n);
149
+ return /* @__PURE__ */ i(f.p, { id: e.descriptionId, ...r, ref: t });
150
+ }
151
+ );
152
+ B.displayName = A;
153
+ const T = "DialogClose", x = c.forwardRef(
154
+ (o, t) => {
155
+ const { __scopeDialog: n, ...r } = o, e = p(T, n);
156
+ return /* @__PURE__ */ i(
157
+ f.button,
158
+ {
159
+ type: "button",
160
+ ...r,
161
+ ref: t,
162
+ onClick: u(o.onClick, () => e.onOpenChange(!1))
163
+ }
164
+ );
165
+ }
166
+ );
167
+ x.displayName = T;
168
+ function _(o) {
169
+ return o ? "open" : "closed";
170
+ }
171
+ const po = y, uo = N, fo = v, go = b, mo = x;
172
+ export {
173
+ mo as Close,
174
+ fo as Content,
175
+ y as Dialog,
176
+ x as DialogClose,
177
+ v as DialogContent,
178
+ B as DialogDescription,
179
+ b as DialogTitle,
180
+ Y as DialogTrigger,
181
+ uo as Overlay,
182
+ po as Root,
183
+ go as Title,
184
+ lo as createDialogScope
185
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),u=require("react-svg"),r=require("../../components/factory.cjs"),o=require("./built-in-icons.cjs"),c=require("react"),s=r.ikp("svg",{_id:"icon",role:"presentation","aria-hidden":!0,focusable:!1,"data-type":"built-in"}),l=r.ikp(u.ReactSVG,{_id:"icon","data-type":"custom"}),a=r.ikp("img",{_id:"icon","data-type":"custom"}),m=c.memo(({iconSettings:t,...n})=>{if(!t)return i.jsx("div",{style:{width:"1em",minHeight:"1em"}});if("builtIn"in t){const e=o.iconMap[t.builtIn];return e?i.jsx(s,{...n,asChild:!0,children:i.jsx(e,{})}):null}if("custom"in t){const e=t.custom;return e.toLowerCase().endsWith(".svg")?i.jsx(l,{src:e,wrapper:"div",...n}):i.jsx(a,{src:t.custom,alt:"custom icon",...n})}return null},(t,n)=>I(t.iconSettings,n.iconSettings));function I(t,n){return"builtIn"in t&&"builtIn"in n?t.builtIn===n.builtIn:"custom"in t&&"custom"in n?t.custom===n.custom:!1}exports.BuiltInIconRenderer=m;
@@ -0,0 +1,6 @@
1
+ import { InkeepCustomIcon } from '@inkeep/cxkit-types';
2
+ import { MemoExoticComponent } from 'react';
3
+ export declare const BuiltInIconRenderer: MemoExoticComponent<({ iconSettings, ...props }: {
4
+ iconSettings: InkeepCustomIcon;
5
+ className?: string;
6
+ }) => import("react/jsx-runtime").JSX.Element | null>;
@@ -0,0 +1,6 @@
1
+ import { InkeepCustomIcon } from '@inkeep/cxkit-types';
2
+ import { MemoExoticComponent } from 'react';
3
+ export declare const BuiltInIconRenderer: MemoExoticComponent<({ iconSettings, ...props }: {
4
+ iconSettings: InkeepCustomIcon;
5
+ className?: string;
6
+ }) => import("react/jsx-runtime").JSX.Element | null>;
@@ -0,0 +1,49 @@
1
+ "use client";
2
+ import { jsx as o } from "react/jsx-runtime";
3
+ import { ReactSVG as e } from "react-svg";
4
+ import { ikp as r } from "../../components/factory.js";
5
+ import { iconMap as u } from "./built-in-icons.js";
6
+ import { memo as c } from "react";
7
+ const m = r("svg", {
8
+ _id: "icon",
9
+ // viewBox: '0 0 24 24',
10
+ role: "presentation",
11
+ "aria-hidden": !0,
12
+ focusable: !1,
13
+ "data-type": "built-in"
14
+ }), s = r(e, {
15
+ _id: "icon",
16
+ "data-type": "custom"
17
+ }), l = r("img", {
18
+ _id: "icon",
19
+ "data-type": "custom"
20
+ }), v = c(
21
+ ({ iconSettings: t, ...n }) => {
22
+ if (!t)
23
+ return /* @__PURE__ */ o(
24
+ "div",
25
+ {
26
+ style: {
27
+ width: "1em",
28
+ minHeight: "1em"
29
+ }
30
+ }
31
+ );
32
+ if ("builtIn" in t) {
33
+ const i = u[t.builtIn];
34
+ return i ? /* @__PURE__ */ o(m, { ...n, asChild: !0, children: /* @__PURE__ */ o(i, {}) }) : null;
35
+ }
36
+ if ("custom" in t) {
37
+ const i = t.custom;
38
+ return i.toLowerCase().endsWith(".svg") ? /* @__PURE__ */ o(s, { src: i, wrapper: "div", ...n }) : /* @__PURE__ */ o(l, { src: t.custom, alt: "custom icon", ...n });
39
+ }
40
+ return null;
41
+ },
42
+ (t, n) => a(t.iconSettings, n.iconSettings)
43
+ );
44
+ function a(t, n) {
45
+ return "builtIn" in t && "builtIn" in n ? t.builtIn === n.builtIn : "custom" in t && "custom" in n ? t.custom === n.custom : !1;
46
+ }
47
+ export {
48
+ v as BuiltInIconRenderer
49
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.cjs"),a=require("../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.cjs"),e=require("../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.cjs"),n=require("../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.cjs"),u={FaBook:o.FaBook,FaGithub:o.FaGithub,FaDatabase:o.FaDatabase,FaStackOverflow:o.FaStackOverflow,FaChrome:o.FaChrome,FaPhone:o.FaPhone,FaEnvelope:o.FaEnvelope,FaPencil:o.FaPencil,FaBlog:o.FaBlog,FaSort:o.FaSort,FaPenSquare:o.FaPenToSquare,FaChevronRight:o.FaChevronRight,FaChevronUp:o.FaChevronUp,FaFilePdf:o.FaFilePdf,FaDiscourse:o.FaDiscourse,FaDiscord:o.FaDiscord,FaSlack:o.FaSlack,IoDocumentTextSharp:e.IoDocumentTextSharp,IoDocumentSharp:e.IoDocumentSharp,IoSend:e.IoSend,IoInformationCircleOutline:e.IoInformationCircleOutline,IoLinkOutline:e.IoLinkOutline,IoThumbsUpSharp:e.IoThumbsUpSharp,IoThumbsDownSharp:e.IoThumbsDownSharp,IoSearch:e.IoSearch,IoCopyOutline:e.IoCopyOutline,IoCopy:e.IoCopy,IoReturnDownBackOutline:e.IoReturnDownBackOutline,IoChevronForwardOutline:e.IoChevronForwardOutline,IoReturnDownForward:e.IoReturnDownForward,IoCloseOutline:e.IoCloseOutline,IoCheckmarkOutline:e.IoCheckmarkOutline,IoBookOutline:e.IoBookOutline,IoReaderOutline:e.IoReaderOutline,IoHelpBuoyOutline:e.IoHelpBuoyOutline,IoPeopleOutline:e.IoPeopleOutline,IoDocumentTextOutline:e.IoDocumentTextOutline,IoChatbubblesOutline:e.IoChatbubblesOutline,FaRegFilePdf:o.FaRegFilePdf,IoLogoDiscord:e.IoLogoDiscord,IoLogoGithub:e.IoLogoGithub,IoTerminal:e.IoTerminal,FaBriefcase:o.FaBriefcase,IoPlayCircleOutline:e.IoPlayCircleOutline,IoPencilOutline:e.IoPencilOutline,IoCheckmarkDoneOutline:e.IoCheckmarkDoneOutline,IoHomeOutline:e.IoHomeOutline,IoMail:e.IoMail,IoOpenOutline:e.IoOpenOutline,FaTelegram:o.FaTelegram,FaTable:o.FaTable,FaMagnifyingGlass:o.FaMagnifyingGlass,LuArrowLeft:n.LuArrowLeft,LuCircleCheck:n.LuCircleCheck,LuCommand:n.LuCommand,LuCopy:n.LuCopy,LuCheck:n.LuCheck,LuCornerDownLeft:n.LuCornerDownLeft,LuRepeat:n.LuRepeat,LuThumbsDown:n.LuThumbsDown,LuThumbsUp:n.LuThumbsUp,LuUsers:n.LuUsers,LuUser:n.LuUser,LuArrowUpRight:n.LuArrowUpRight,LuBookOpen:n.LuBookOpen,LuChevronDown:n.LuChevronDown,LuLoaderCircle:n.LuLoaderCircle,FiEdit:a.FiEdit,LuSparkles:n.LuSparkles};exports.iconMap=u;
@@ -0,0 +1,72 @@
1
+ import { IconType } from 'react-icons/lib';
2
+ export declare const iconMap: {
3
+ FaBook: IconType;
4
+ FaGithub: IconType;
5
+ FaDatabase: IconType;
6
+ FaStackOverflow: IconType;
7
+ FaChrome: IconType;
8
+ FaPhone: IconType;
9
+ FaEnvelope: IconType;
10
+ FaPencil: IconType;
11
+ FaBlog: IconType;
12
+ FaSort: IconType;
13
+ FaPenSquare: IconType;
14
+ FaChevronRight: IconType;
15
+ FaChevronUp: IconType;
16
+ FaFilePdf: IconType;
17
+ FaDiscourse: IconType;
18
+ FaDiscord: IconType;
19
+ FaSlack: IconType;
20
+ IoDocumentTextSharp: IconType;
21
+ IoDocumentSharp: IconType;
22
+ IoSend: IconType;
23
+ IoInformationCircleOutline: IconType;
24
+ IoLinkOutline: IconType;
25
+ IoThumbsUpSharp: IconType;
26
+ IoThumbsDownSharp: IconType;
27
+ IoSearch: IconType;
28
+ IoCopyOutline: IconType;
29
+ IoCopy: IconType;
30
+ IoReturnDownBackOutline: IconType;
31
+ IoChevronForwardOutline: IconType;
32
+ IoReturnDownForward: IconType;
33
+ IoCloseOutline: IconType;
34
+ IoCheckmarkOutline: IconType;
35
+ IoBookOutline: IconType;
36
+ IoReaderOutline: IconType;
37
+ IoHelpBuoyOutline: IconType;
38
+ IoPeopleOutline: IconType;
39
+ IoDocumentTextOutline: IconType;
40
+ IoChatbubblesOutline: IconType;
41
+ FaRegFilePdf: IconType;
42
+ IoLogoDiscord: IconType;
43
+ IoLogoGithub: IconType;
44
+ IoTerminal: IconType;
45
+ FaBriefcase: IconType;
46
+ IoPlayCircleOutline: IconType;
47
+ IoPencilOutline: IconType;
48
+ IoCheckmarkDoneOutline: IconType;
49
+ IoHomeOutline: IconType;
50
+ IoMail: IconType;
51
+ IoOpenOutline: IconType;
52
+ FaTelegram: IconType;
53
+ FaTable: IconType;
54
+ FaMagnifyingGlass: IconType;
55
+ LuArrowLeft: IconType;
56
+ LuCircleCheck: IconType;
57
+ LuCommand: IconType;
58
+ LuCopy: IconType;
59
+ LuCheck: IconType;
60
+ LuCornerDownLeft: IconType;
61
+ LuRepeat: IconType;
62
+ LuThumbsDown: IconType;
63
+ LuThumbsUp: IconType;
64
+ LuUsers: IconType;
65
+ LuUser: IconType;
66
+ LuArrowUpRight: IconType;
67
+ LuBookOpen: IconType;
68
+ LuChevronDown: IconType;
69
+ LuLoaderCircle: IconType;
70
+ FiEdit: IconType;
71
+ LuSparkles: IconType;
72
+ };
@@ -0,0 +1,72 @@
1
+ import { IconType } from 'react-icons/lib';
2
+ export declare const iconMap: {
3
+ FaBook: IconType;
4
+ FaGithub: IconType;
5
+ FaDatabase: IconType;
6
+ FaStackOverflow: IconType;
7
+ FaChrome: IconType;
8
+ FaPhone: IconType;
9
+ FaEnvelope: IconType;
10
+ FaPencil: IconType;
11
+ FaBlog: IconType;
12
+ FaSort: IconType;
13
+ FaPenSquare: IconType;
14
+ FaChevronRight: IconType;
15
+ FaChevronUp: IconType;
16
+ FaFilePdf: IconType;
17
+ FaDiscourse: IconType;
18
+ FaDiscord: IconType;
19
+ FaSlack: IconType;
20
+ IoDocumentTextSharp: IconType;
21
+ IoDocumentSharp: IconType;
22
+ IoSend: IconType;
23
+ IoInformationCircleOutline: IconType;
24
+ IoLinkOutline: IconType;
25
+ IoThumbsUpSharp: IconType;
26
+ IoThumbsDownSharp: IconType;
27
+ IoSearch: IconType;
28
+ IoCopyOutline: IconType;
29
+ IoCopy: IconType;
30
+ IoReturnDownBackOutline: IconType;
31
+ IoChevronForwardOutline: IconType;
32
+ IoReturnDownForward: IconType;
33
+ IoCloseOutline: IconType;
34
+ IoCheckmarkOutline: IconType;
35
+ IoBookOutline: IconType;
36
+ IoReaderOutline: IconType;
37
+ IoHelpBuoyOutline: IconType;
38
+ IoPeopleOutline: IconType;
39
+ IoDocumentTextOutline: IconType;
40
+ IoChatbubblesOutline: IconType;
41
+ FaRegFilePdf: IconType;
42
+ IoLogoDiscord: IconType;
43
+ IoLogoGithub: IconType;
44
+ IoTerminal: IconType;
45
+ FaBriefcase: IconType;
46
+ IoPlayCircleOutline: IconType;
47
+ IoPencilOutline: IconType;
48
+ IoCheckmarkDoneOutline: IconType;
49
+ IoHomeOutline: IconType;
50
+ IoMail: IconType;
51
+ IoOpenOutline: IconType;
52
+ FaTelegram: IconType;
53
+ FaTable: IconType;
54
+ FaMagnifyingGlass: IconType;
55
+ LuArrowLeft: IconType;
56
+ LuCircleCheck: IconType;
57
+ LuCommand: IconType;
58
+ LuCopy: IconType;
59
+ LuCheck: IconType;
60
+ LuCornerDownLeft: IconType;
61
+ LuRepeat: IconType;
62
+ LuThumbsDown: IconType;
63
+ LuThumbsUp: IconType;
64
+ LuUsers: IconType;
65
+ LuUser: IconType;
66
+ LuArrowUpRight: IconType;
67
+ LuBookOpen: IconType;
68
+ LuChevronDown: IconType;
69
+ LuLoaderCircle: IconType;
70
+ FiEdit: IconType;
71
+ LuSparkles: IconType;
72
+ };
@@ -0,0 +1,79 @@
1
+ "use client";
2
+ import { FaMagnifyingGlass as o, FaTable as e, FaTelegram as a, FaBriefcase as n, FaRegFilePdf as r, FaSlack as u, FaDiscord as i, FaDiscourse as t, FaFilePdf as l, FaChevronUp as I, FaChevronRight as F, FaPenToSquare as c, FaSort as h, FaBlog as m, FaPencil as p, FaEnvelope as L, FaPhone as O, FaChrome as s, FaStackOverflow as C, FaDatabase as k, FaGithub as D, FaBook as f } from "../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.js";
3
+ import { FiEdit as S } from "../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.js";
4
+ import { IoOpenOutline as b, IoMail as d, IoHomeOutline as w, IoCheckmarkDoneOutline as T, IoPencilOutline as g, IoPlayCircleOutline as P, IoTerminal as B, IoLogoGithub as R, IoLogoDiscord as v, IoChatbubblesOutline as y, IoDocumentTextOutline as U, IoPeopleOutline as x, IoHelpBuoyOutline as G, IoReaderOutline as M, IoBookOutline as q, IoCheckmarkOutline as A, IoCloseOutline as E, IoReturnDownForward as H, IoChevronForwardOutline as j, IoReturnDownBackOutline as z, IoCopy as J, IoCopyOutline as K, IoSearch as N, IoThumbsDownSharp as Q, IoThumbsUpSharp as V, IoLinkOutline as W, IoInformationCircleOutline as X, IoSend as Y, IoDocumentSharp as Z, IoDocumentTextSharp as _ } from "../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js";
5
+ import { LuSparkles as $, LuLoaderCircle as oo, LuChevronDown as eo, LuBookOpen as ao, LuArrowUpRight as no, LuUser as ro, LuUsers as uo, LuThumbsUp as io, LuThumbsDown as to, LuRepeat as lo, LuCornerDownLeft as Io, LuCheck as Fo, LuCopy as co, LuCommand as ho, LuCircleCheck as mo, LuArrowLeft as po } from "../../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.js";
6
+ const ko = {
7
+ FaBook: f,
8
+ FaGithub: D,
9
+ FaDatabase: k,
10
+ FaStackOverflow: C,
11
+ FaChrome: s,
12
+ FaPhone: O,
13
+ FaEnvelope: L,
14
+ FaPencil: p,
15
+ FaBlog: m,
16
+ FaSort: h,
17
+ FaPenSquare: c,
18
+ FaChevronRight: F,
19
+ FaChevronUp: I,
20
+ FaFilePdf: l,
21
+ FaDiscourse: t,
22
+ FaDiscord: i,
23
+ FaSlack: u,
24
+ IoDocumentTextSharp: _,
25
+ IoDocumentSharp: Z,
26
+ IoSend: Y,
27
+ IoInformationCircleOutline: X,
28
+ IoLinkOutline: W,
29
+ IoThumbsUpSharp: V,
30
+ IoThumbsDownSharp: Q,
31
+ IoSearch: N,
32
+ IoCopyOutline: K,
33
+ IoCopy: J,
34
+ IoReturnDownBackOutline: z,
35
+ IoChevronForwardOutline: j,
36
+ IoReturnDownForward: H,
37
+ IoCloseOutline: E,
38
+ IoCheckmarkOutline: A,
39
+ IoBookOutline: q,
40
+ IoReaderOutline: M,
41
+ IoHelpBuoyOutline: G,
42
+ IoPeopleOutline: x,
43
+ IoDocumentTextOutline: U,
44
+ IoChatbubblesOutline: y,
45
+ FaRegFilePdf: r,
46
+ IoLogoDiscord: v,
47
+ IoLogoGithub: R,
48
+ IoTerminal: B,
49
+ FaBriefcase: n,
50
+ IoPlayCircleOutline: P,
51
+ IoPencilOutline: g,
52
+ IoCheckmarkDoneOutline: T,
53
+ IoHomeOutline: w,
54
+ IoMail: d,
55
+ IoOpenOutline: b,
56
+ FaTelegram: a,
57
+ FaTable: e,
58
+ FaMagnifyingGlass: o,
59
+ LuArrowLeft: po,
60
+ LuCircleCheck: mo,
61
+ LuCommand: ho,
62
+ LuCopy: co,
63
+ LuCheck: Fo,
64
+ LuCornerDownLeft: Io,
65
+ LuRepeat: lo,
66
+ LuThumbsDown: to,
67
+ LuThumbsUp: io,
68
+ LuUsers: uo,
69
+ LuUser: ro,
70
+ LuArrowUpRight: no,
71
+ LuBookOpen: ao,
72
+ LuChevronDown: eo,
73
+ LuLoaderCircle: oo,
74
+ FiEdit: S,
75
+ LuSparkles: $
76
+ };
77
+ export {
78
+ ko as iconMap
79
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");function o(){return e.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[e.jsx("title",{children:"Checkbox Icon"}),e.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}exports.CheckboxIcon=o;
@@ -0,0 +1 @@
1
+ export declare function CheckboxIcon(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function CheckboxIcon(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ "use client";
2
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
3
+ function t() {
4
+ return /* @__PURE__ */ o(
5
+ "svg",
6
+ {
7
+ viewBox: "0 0 12 10",
8
+ style: {
9
+ width: "1.2em",
10
+ fill: "none",
11
+ strokeWidth: 2,
12
+ stroke: "currentColor",
13
+ strokeDasharray: 16
14
+ },
15
+ children: [
16
+ /* @__PURE__ */ e("title", { children: "Checkbox Icon" }),
17
+ /* @__PURE__ */ e("polyline", { points: "1.5 6 4.5 9 10.5 1" })
18
+ ]
19
+ }
20
+ );
21
+ }
22
+ export {
23
+ t as CheckboxIcon
24
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),i=require("../../providers/config-provider.cjs"),r=require("./built-in-icon-renderer.cjs"),l=require("./inkeep-default-icons.cjs");function I({iconKey:n,...e}){const t=l.defaultBuiltInIcons[n],o=t?{builtIn:t}:{custom:""},{baseSettings:s}=i.useInkeepConfig(),c=s.customIcons?.[n]||o;return u.jsx(r.BuiltInIconRenderer,{"data-icon":n,iconSettings:c,...e})}exports.CustomIcon=I;
@@ -0,0 +1,6 @@
1
+ import { CustomIcons } from '@inkeep/cxkit-types';
2
+ export interface CustomIconProps {
3
+ iconKey: keyof CustomIcons;
4
+ className?: string;
5
+ }
6
+ export declare function CustomIcon({ iconKey, ...props }: CustomIconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { CustomIcons } from '@inkeep/cxkit-types';
2
+ export interface CustomIconProps {
3
+ iconKey: keyof CustomIcons;
4
+ className?: string;
5
+ }
6
+ export declare function CustomIcon({ iconKey, ...props }: CustomIconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ import { jsx as e } from "react/jsx-runtime";
3
+ import { useInkeepConfig as r } from "../../providers/config-provider.js";
4
+ import { BuiltInIconRenderer as u } from "./built-in-icon-renderer.js";
5
+ import { defaultBuiltInIcons as m } from "./inkeep-default-icons.js";
6
+ function p({ iconKey: t, ...o }) {
7
+ const n = m[t], s = n ? { builtIn: n } : { custom: "" }, { baseSettings: c } = r(), i = c.customIcons?.[t] || s;
8
+ return /* @__PURE__ */ e(
9
+ u,
10
+ {
11
+ "data-icon": t,
12
+ iconSettings: i,
13
+ ...o
14
+ }
15
+ );
16
+ }
17
+ export {
18
+ p as CustomIcon
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./custom-icon.cjs"),n=require("./built-in-icon-renderer.cjs");exports.CustomIcon=e.CustomIcon;exports.BuiltInIconRenderer=n.BuiltInIconRenderer;
@@ -0,0 +1,2 @@
1
+ export * from './custom-icon';
2
+ export * from './built-in-icon-renderer';
@@ -0,0 +1,2 @@
1
+ export * from './custom-icon';
2
+ export * from './built-in-icon-renderer';
@@ -0,0 +1,6 @@
1
+ import { CustomIcon as e } from "./custom-icon.js";
2
+ import { BuiltInIconRenderer as t } from "./built-in-icon-renderer.js";
3
+ export {
4
+ t as BuiltInIconRenderer,
5
+ e as CustomIcon
6
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={search:"IoSearch",thumbsUp:"LuThumbsUp",thumbsDown:"LuThumbsDown",messageCopy:"LuCopy",messageCopied:"LuCheck",messageRevise:"FiEdit",codeCopy:"LuCopy",codeCopied:"LuCheck",openLinkInNewTab:"LuArrowUpRight",openLinkInSameTab:"LuCornerDownLeft",breadcrumbSeparator:"FaChevronRight",switchToSearch:"IoSearch",switchToChat:"LuSparkles",chatSubmit:"IoSend",close:"IoCloseOutline",info:"IoInformationCircleOutline",command:"LuCommand"};exports.defaultBuiltInIcons=e;
@@ -0,0 +1,2 @@
1
+ import { CustomIcons } from '@inkeep/cxkit-types';
2
+ export declare const defaultBuiltInIcons: CustomIcons;
@@ -0,0 +1,2 @@
1
+ import { CustomIcons } from '@inkeep/cxkit-types';
2
+ export declare const defaultBuiltInIcons: CustomIcons;
@@ -0,0 +1,23 @@
1
+ "use client";
2
+ const e = {
3
+ search: "IoSearch",
4
+ thumbsUp: "LuThumbsUp",
5
+ thumbsDown: "LuThumbsDown",
6
+ messageCopy: "LuCopy",
7
+ messageCopied: "LuCheck",
8
+ messageRevise: "FiEdit",
9
+ codeCopy: "LuCopy",
10
+ codeCopied: "LuCheck",
11
+ openLinkInNewTab: "LuArrowUpRight",
12
+ openLinkInSameTab: "LuCornerDownLeft",
13
+ breadcrumbSeparator: "FaChevronRight",
14
+ switchToSearch: "IoSearch",
15
+ switchToChat: "LuSparkles",
16
+ chatSubmit: "IoSend",
17
+ close: "IoCloseOutline",
18
+ info: "IoInformationCircleOutline",
19
+ command: "LuCommand"
20
+ };
21
+ export {
22
+ e as defaultBuiltInIcons
23
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("react"),f=require("../providers/config-provider.cjs"),i=a.forwardRef(({isExternal:e,...r},n)=>s.jsx("a",{target:e?"_blank":void 0,rel:e?"noopener":void 0,...r,ref:n}));i.displayName="Link";const o=a.forwardRef(({href:e,appendToUrl:r,...n},t)=>{const{baseSettings:c}=f.useInkeepConfig(),d=Object.assign({},c.appendQueryParamsToUrls,r),u=e&&p(e,d);return s.jsx(i,{ref:t,href:u,...n})});o.displayName="LinkWithQueryParams";function p(e,r){if(!r)return e;try{const n=new URL(e);for(const t of Object.keys(r))r[t]&&n.searchParams.append(t,r[t]);return n.href}catch{return e}}exports.Link=i;exports.LinkWithQueryParams=o;
@@ -0,0 +1,14 @@
1
+ import { ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes } from 'react';
2
+ import { UrlQueryParam } from '@inkeep/cxkit-types';
3
+ export interface LinkProps extends ComponentPropsWithRef<'a'> {
4
+ /**
5
+ * If `true`, the link will open in new tab
6
+ *
7
+ * @default false
8
+ */
9
+ isExternal?: boolean;
10
+ }
11
+ export declare const Link: ForwardRefExoticComponent<Omit<LinkProps, "ref"> & RefAttributes<HTMLAnchorElement>>;
12
+ export declare const LinkWithQueryParams: ForwardRefExoticComponent<Omit<LinkProps & {
13
+ appendToUrl?: UrlQueryParam;
14
+ }, "ref"> & RefAttributes<HTMLAnchorElement>>;
@@ -0,0 +1,14 @@
1
+ import { ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes } from 'react';
2
+ import { UrlQueryParam } from '@inkeep/cxkit-types';
3
+ export interface LinkProps extends ComponentPropsWithRef<'a'> {
4
+ /**
5
+ * If `true`, the link will open in new tab
6
+ *
7
+ * @default false
8
+ */
9
+ isExternal?: boolean;
10
+ }
11
+ export declare const Link: ForwardRefExoticComponent<Omit<LinkProps, "ref"> & RefAttributes<HTMLAnchorElement>>;
12
+ export declare const LinkWithQueryParams: ForwardRefExoticComponent<Omit<LinkProps & {
13
+ appendToUrl?: UrlQueryParam;
14
+ }, "ref"> & RefAttributes<HTMLAnchorElement>>;