@inkeep/agents-ui 0.14.19 → 0.14.21

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 (197) hide show
  1. package/dist/color-mode/index.d.ts +21 -0
  2. package/dist/index.d.ts +1 -5103
  3. package/dist/primitives/atoms/avatars/ai.d.ts +3 -0
  4. package/dist/primitives/atoms/avatars/user.d.ts +3 -0
  5. package/dist/primitives/atoms/cmdk/command-score.d.ts +1 -0
  6. package/dist/primitives/atoms/cmdk/index.d.ts +460 -0
  7. package/dist/primitives/atoms/codeblock/index.d.ts +10 -0
  8. package/dist/primitives/atoms/custom-styles.d.ts +5 -0
  9. package/dist/primitives/atoms/dialog.d.ts +94 -0
  10. package/dist/primitives/atoms/error-boundary.d.ts +6 -0
  11. package/dist/primitives/atoms/icons/built-in-icon-renderer.d.ts +6 -0
  12. package/dist/primitives/atoms/icons/built-in-icons.d.ts +83 -0
  13. package/dist/primitives/atoms/icons/checkbox-icon.d.ts +1 -0
  14. package/dist/primitives/atoms/icons/collections/bi.d.ts +4 -0
  15. package/dist/primitives/atoms/icons/collections/fi.d.ts +2 -0
  16. package/dist/primitives/atoms/icons/collections/gr.d.ts +2 -0
  17. package/dist/primitives/atoms/icons/collections/io5.d.ts +34 -0
  18. package/dist/primitives/atoms/icons/collections/pi.d.ts +4 -0
  19. package/dist/primitives/atoms/icons/custom-icon.d.ts +6 -0
  20. package/dist/primitives/atoms/icons/generate-icon.d.ts +28 -0
  21. package/dist/primitives/atoms/icons/index.d.ts +2 -0
  22. package/dist/primitives/atoms/icons/inkeep-default-icons.d.ts +2 -0
  23. package/dist/primitives/atoms/link.d.ts +14 -0
  24. package/dist/primitives/atoms/markdown/components.d.ts +31 -0
  25. package/dist/primitives/atoms/markdown/index.d.ts +17 -0
  26. package/dist/primitives/atoms/markdown/rehype-inline-code-property.d.ts +1 -0
  27. package/dist/primitives/atoms/portal-with-theme.d.ts +2 -0
  28. package/dist/primitives/atoms/portal.d.ts +8 -0
  29. package/dist/primitives/atoms/select.d.ts +136 -0
  30. package/dist/primitives/atoms/shadow/context.d.ts +14 -0
  31. package/dist/primitives/atoms/shadow/create.d.ts +8 -0
  32. package/dist/primitives/atoms/shadow/index.d.ts +1 -0
  33. package/dist/primitives/atoms/shadow/root.d.ts +5 -0
  34. package/dist/primitives/atoms/shadow/use-ensured-forwarded-ref.d.ts +2 -0
  35. package/dist/primitives/atoms/shadow/utils.d.ts +9 -0
  36. package/dist/primitives/components/chat-button.d.ts +18 -0
  37. package/dist/primitives/components/embedded-chat/chat-provider.d.ts +19 -0
  38. package/dist/primitives/components/embedded-chat/use-captcha.d.ts +13 -0
  39. package/dist/primitives/components/embedded-chat/use-chat-action.d.ts +9 -0
  40. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +27 -0
  41. package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -1
  42. package/dist/primitives/components/embedded-chat/use-stream-processor.d.ts +28 -0
  43. package/dist/primitives/components/embedded-chat/use-stream-processor.js +27 -28
  44. package/dist/primitives/components/embedded-chat.cjs +3 -3
  45. package/dist/primitives/components/embedded-chat.d.ts +431 -0
  46. package/dist/primitives/components/embedded-chat.js +791 -795
  47. package/dist/primitives/components/embedded-search/search-provider.d.ts +21 -0
  48. package/dist/primitives/components/embedded-search/transform-results.d.ts +3 -0
  49. package/dist/primitives/components/embedded-search/url-query.d.ts +4 -0
  50. package/dist/primitives/components/embedded-search/use-inkeep-search.d.ts +19 -0
  51. package/dist/primitives/components/embedded-search/use-search-filter.d.ts +1 -0
  52. package/dist/primitives/components/embedded-search.d.ts +249 -0
  53. package/dist/primitives/components/factory.d.ts +19 -0
  54. package/dist/primitives/components/index.d.ts +10 -0
  55. package/dist/primitives/components/modal/modal-provider.d.ts +12 -0
  56. package/dist/primitives/components/modal/use-inkeep-modal.d.ts +7 -0
  57. package/dist/primitives/components/modal/widget-auto-focus.d.ts +2 -0
  58. package/dist/primitives/components/modal.d.ts +18 -0
  59. package/dist/primitives/components/presence.d.ts +8 -0
  60. package/dist/primitives/components/searchbar.d.ts +23 -0
  61. package/dist/primitives/components/sidebar-chat/index.d.ts +9 -0
  62. package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.d.ts +5 -0
  63. package/dist/primitives/components/tagline-logo-icon.d.ts +1 -0
  64. package/dist/primitives/components/use-component-trigger.d.ts +5 -0
  65. package/dist/primitives/constants/search.d.ts +1 -0
  66. package/dist/primitives/hooks/index.d.ts +11 -0
  67. package/dist/primitives/hooks/use-boolean.d.ts +10 -0
  68. package/dist/primitives/hooks/use-component-classnames.d.ts +6 -0
  69. package/dist/primitives/hooks/use-container-size.d.ts +5 -0
  70. package/dist/primitives/hooks/use-copy-to-clipboard.d.ts +3 -0
  71. package/dist/primitives/hooks/use-debounce.d.ts +1 -0
  72. package/dist/primitives/hooks/use-instant-update.d.ts +17 -0
  73. package/dist/primitives/hooks/use-is-mounted.d.ts +1 -0
  74. package/dist/primitives/hooks/use-media-query.d.ts +1 -0
  75. package/dist/primitives/hooks/use-resize-observer.d.ts +12 -0
  76. package/dist/primitives/hooks/use-scrolling-fades.d.ts +2 -0
  77. package/dist/primitives/hooks/use-settle-action.d.ts +3 -0
  78. package/dist/primitives/hooks/use-simple-scroll.d.ts +5 -0
  79. package/dist/primitives/hooks/use-streaming-events.d.ts +8 -0
  80. package/dist/primitives/index.d.ts +13 -0
  81. package/dist/primitives/providers/attachment-item-provider.d.ts +9 -0
  82. package/dist/primitives/providers/attachments-bar-provider.d.ts +30 -0
  83. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  84. package/dist/primitives/providers/base-events-provider.d.ts +8 -0
  85. package/dist/primitives/providers/base-events-provider.js +1 -1
  86. package/dist/primitives/providers/chat-form-provider.d.ts +26 -0
  87. package/dist/primitives/providers/config-provider.d.ts +25 -0
  88. package/dist/primitives/providers/feedback-item-provider.d.ts +10 -0
  89. package/dist/primitives/providers/feedback-provider.d.ts +16 -0
  90. package/dist/primitives/providers/form-field-provider.d.ts +15 -0
  91. package/dist/primitives/providers/help-menu-provider.d.ts +11 -0
  92. package/dist/primitives/providers/hover-popover-provider.d.ts +10 -0
  93. package/dist/primitives/providers/index.d.ts +17 -0
  94. package/dist/primitives/providers/markdown-provider.d.ts +9 -0
  95. package/dist/primitives/providers/message-attachments-provider.d.ts +13 -0
  96. package/dist/primitives/providers/message-provider.d.ts +10 -0
  97. package/dist/primitives/providers/root-provider.d.ts +8 -0
  98. package/dist/primitives/providers/search-events-provider.d.ts +8 -0
  99. package/dist/primitives/providers/sidebar-chat-provider.d.ts +83 -0
  100. package/dist/primitives/providers/source-item-provider.d.ts +12 -0
  101. package/dist/primitives/providers/theme-provider.d.ts +3 -0
  102. package/dist/primitives/providers/widget-provider.d.ts +10 -0
  103. package/dist/primitives/utils/component-ids.d.ts +572 -0
  104. package/dist/primitives/utils/compose-event-handlers.d.ts +3 -0
  105. package/dist/primitives/utils/compose-refs.d.ts +5 -0
  106. package/dist/primitives/utils/default-settings.d.ts +167 -0
  107. package/dist/primitives/utils/form.d.ts +3 -0
  108. package/dist/primitives/utils/generate-uid.d.ts +2 -0
  109. package/dist/primitives/utils/get-message-metadata.d.ts +8 -0
  110. package/dist/primitives/utils/get-source-icon.d.ts +2 -0
  111. package/dist/primitives/utils/highlight-emphasis.d.ts +4 -0
  112. package/dist/primitives/utils/merge-props.d.ts +7 -0
  113. package/dist/primitives/utils/misc.d.ts +12 -0
  114. package/dist/primitives/utils/split-props.d.ts +15 -0
  115. package/dist/react/chat-button.d.ts +14 -0
  116. package/dist/react/embedded-chat.d.ts +14 -0
  117. package/dist/react/embedded-search-and-chat.d.ts +40 -0
  118. package/dist/react/embedded-search-and-chat.impl.d.ts +9 -0
  119. package/dist/react/embedded-search.d.ts +17 -0
  120. package/dist/react/index.d.ts +12 -0
  121. package/dist/react/modal.chat.d.ts +6 -0
  122. package/dist/react/modal.d.ts +23 -0
  123. package/dist/react/modal.search-and-chat.d.ts +6 -0
  124. package/dist/react/modal.search.d.ts +6 -0
  125. package/dist/react/searchbar.d.ts +13 -0
  126. package/dist/react/sidebar-chat.d.ts +6 -0
  127. package/dist/react/utils.d.ts +6 -0
  128. package/dist/react/widget-toggle.d.ts +14 -0
  129. package/dist/styled/components/chat-button.d.ts +8 -0
  130. package/dist/styled/components/data-summary-group.d.ts +11 -0
  131. package/dist/styled/components/embedded-chat.d.ts +190 -0
  132. package/dist/styled/components/embedded-search/results-loading.d.ts +1 -0
  133. package/dist/styled/components/embedded-search.d.ts +73 -0
  134. package/dist/styled/components/index.d.ts +11 -0
  135. package/dist/styled/components/loading-indicator.d.ts +1 -0
  136. package/dist/styled/components/message.cjs +1 -1
  137. package/dist/styled/components/message.d.ts +4 -0
  138. package/dist/styled/components/message.js +46 -47
  139. package/dist/styled/components/modal.d.ts +6 -0
  140. package/dist/styled/components/searchbar.d.ts +11 -0
  141. package/dist/styled/components/shadow.d.ts +3 -0
  142. package/dist/styled/components/sidebar-chat.d.ts +6 -0
  143. package/dist/styled/components/ui/markdown-styles.d.ts +23 -0
  144. package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.d.ts +7 -0
  145. package/dist/styled/components/ui/recipes/attachment.d.ts +4 -0
  146. package/dist/styled/components/ui/recipes/button.d.ts +6 -0
  147. package/dist/styled/components/ui/recipes/checkbox.d.ts +4 -0
  148. package/dist/styled/components/ui/recipes/citation.d.ts +4 -0
  149. package/dist/styled/components/ui/recipes/icon.d.ts +2 -0
  150. package/dist/styled/components/ui/recipes/index.d.ts +15 -0
  151. package/dist/styled/components/ui/recipes/input.d.ts +5 -0
  152. package/dist/styled/components/ui/recipes/link.d.ts +2 -0
  153. package/dist/styled/components/ui/recipes/markdown.cjs +1 -1
  154. package/dist/styled/components/ui/recipes/markdown.d.ts +16 -0
  155. package/dist/styled/components/ui/recipes/markdown.js +1 -1
  156. package/dist/styled/components/ui/recipes/modal.d.ts +4 -0
  157. package/dist/styled/components/ui/recipes/popover.d.ts +4 -0
  158. package/dist/styled/components/ui/recipes/scrollable.d.ts +4 -0
  159. package/dist/styled/components/ui/recipes/select.d.ts +4 -0
  160. package/dist/styled/components/ui/recipes/skeleton.d.ts +2 -0
  161. package/dist/styled/components/ui/recipes/widget-toggle.d.ts +4 -0
  162. package/dist/styled/index.d.ts +2 -0
  163. package/dist/styled/utils.d.ts +4 -0
  164. package/dist/theme/color-utils.d.ts +1 -0
  165. package/dist/theme/colors.d.ts +104 -0
  166. package/dist/theme/index.d.ts +125 -0
  167. package/dist/theme/utils/create-css-variables.d.ts +2 -0
  168. package/dist/theme/utils/generate-theme-variables.d.ts +3 -0
  169. package/dist/types/color-mode.d.ts +44 -0
  170. package/dist/types/config/ai.d.ts +243 -0
  171. package/dist/types/config/base.d.ts +344 -0
  172. package/dist/types/config/components.d.ts +10 -0
  173. package/dist/types/config/filters.d.ts +17 -0
  174. package/dist/types/config/index.d.ts +36 -0
  175. package/dist/types/config/modal.d.ts +33 -0
  176. package/dist/types/config/search.d.ts +95 -0
  177. package/dist/types/config/settings/actions.d.ts +37 -0
  178. package/dist/types/config/settings/form.d.ts +128 -0
  179. package/dist/types/config/settings/jsonschema.d.ts +105 -0
  180. package/dist/types/config/settings/workflow.d.ts +86 -0
  181. package/dist/types/events.d.ts +173 -0
  182. package/dist/types/icons/built-in.d.ts +1 -0
  183. package/dist/types/icons/custom.d.ts +29 -0
  184. package/dist/types/icons/index.d.ts +2 -0
  185. package/dist/types/index.d.ts +20 -0
  186. package/dist/types/js/index.d.ts +54 -0
  187. package/dist/types/message.d.ts +43 -0
  188. package/dist/types/shadow.d.ts +15 -0
  189. package/dist/types/sources.d.ts +108 -0
  190. package/dist/types/theme.d.ts +25 -0
  191. package/dist/types/widget.d.ts +28 -0
  192. package/package.json +2 -4
  193. package/dist/index.d.cts +0 -5103
  194. package/dist/types/message.cjs +0 -1
  195. package/dist/types/message.js +0 -5
  196. package/dist/types/types.d.cts +0 -1758
  197. package/dist/types/types.d.ts +0 -1758
@@ -0,0 +1,54 @@
1
+ import { InkeepAIChatSettings } from '../config/ai';
2
+ import { InkeepBaseSettings } from '../config/base';
3
+ import { InkeepModalSettings } from '../config/modal';
4
+ import { InkeepSearchSettings } from '../config/search';
5
+ /**
6
+ * Represents the available Inkeep component types that can be rendered
7
+ * via the global Inkeep object.
8
+ */
9
+ export type InkeepJSComponent = 'EmbeddedChat' | 'EmbeddedSearch' | 'EmbeddedSearchAndChat' | 'ModalChat' | 'ModalSearch' | 'ModalSearchAndChat' | 'ChatButton' | 'SearchBar' | 'SidebarChat';
10
+ export interface InkeepSettings {
11
+ baseSettings?: InkeepBaseSettings;
12
+ aiChatSettings?: InkeepAIChatSettings;
13
+ searchSettings?: InkeepSearchSettings;
14
+ modalSettings?: InkeepModalSettings;
15
+ }
16
+ export type InkeepComponentProps = InkeepSettings & {
17
+ [key: string]: any;
18
+ };
19
+ export type InkeepComponentInitializer = {
20
+ (props: InkeepComponentProps): InkeepComponentInstance | undefined;
21
+ (targetSelector: string, props: InkeepComponentProps): InkeepComponentInstance | undefined;
22
+ };
23
+ export type InkeepJS = Partial<Record<InkeepJSComponent, InkeepComponentInitializer>>;
24
+ /**
25
+ * Represents an instance of any Inkeep component that is returned after initialization.
26
+ * These instances have methods that can be used to update the component's state.
27
+ */
28
+ export interface InkeepComponentInstance {
29
+ /**
30
+ * Updates the component with new props
31
+ * @param newProps The new props to apply to the component
32
+ */
33
+ update: <T extends object>(newProps: T) => void;
34
+ /**
35
+ * Unmounts the component from the DOM but preserves its state
36
+ */
37
+ unmount: () => void;
38
+ /**
39
+ * Remounts a previously unmounted component
40
+ */
41
+ remount: () => void;
42
+ /**
43
+ * Access to chat-specific functionality (only available for components with chat capabilities)
44
+ */
45
+ chat?: {
46
+ [key: string]: (...args: any[]) => any;
47
+ };
48
+ /**
49
+ * Access to search-specific functionality (only available for components with search capabilities)
50
+ */
51
+ search?: {
52
+ [key: string]: (...args: any[]) => any;
53
+ };
54
+ }
@@ -0,0 +1,43 @@
1
+ import { UIMessage } from '@ai-sdk/react';
2
+ export type ArtifactType = 'citation' | (string & {});
3
+ export type ArtifactPart = Extract<Message['parts'][number], {
4
+ type: 'data-artifact';
5
+ }>;
6
+ export type OperationType = 'error' | 'agent_initializing' | 'completion' | 'agent_generate' | 'agent_reasoning' | 'tool_call' | 'tool_result' | 'transfer' | 'delegation_sent' | 'delegation_returned' | 'artifact_saved';
7
+ export type DataParts = {
8
+ operation: {
9
+ type: OperationType;
10
+ ctx: Record<string, unknown>;
11
+ message?: string;
12
+ label?: string;
13
+ };
14
+ summary: {
15
+ type: string;
16
+ label?: string;
17
+ details?: Record<string, unknown>;
18
+ };
19
+ component: {
20
+ type: 'text';
21
+ text?: string;
22
+ } | {
23
+ type: 'component';
24
+ name: string;
25
+ props: Record<string, unknown>;
26
+ };
27
+ artifact: {
28
+ artifactId: string;
29
+ taskId: string;
30
+ name: string;
31
+ description: string;
32
+ artifactType: string;
33
+ type: ArtifactType;
34
+ artifactSummary: {
35
+ record_type: 'custom_question_answer' | 'site';
36
+ title: string;
37
+ url?: string;
38
+ };
39
+ };
40
+ };
41
+ export type Message = UIMessage<unknown, DataParts>;
42
+ export type MessageAction = 'copy' | 'upvote' | 'downvote';
43
+ export type AnswerConfidence = 'very_confident' | 'somewhat_confident' | 'not_confident' | 'no_sources' | 'other';
@@ -0,0 +1,15 @@
1
+ import { ComponentType, HTMLProps, ReactNode } from 'react';
2
+ interface ShadowRootProps {
3
+ mode?: 'closed' | 'open';
4
+ delegatesFocus?: boolean;
5
+ styleSheets?: CSSStyleSheet[];
6
+ ssr?: boolean;
7
+ children?: ReactNode;
8
+ }
9
+ type Root = Record<string, ComponentType<HTMLProps<HTMLElement> & ShadowRootProps>>;
10
+ type RenderFn = ({ children, ssr, root, }: {
11
+ children: ReactNode;
12
+ ssr: boolean;
13
+ root: ShadowRoot | null;
14
+ }) => ReactNode;
15
+ export type { RenderFn, Root, ShadowRootProps };
@@ -0,0 +1,108 @@
1
+ import { InkeepSearchSettings } from './config/search';
2
+ import { UrlQueryParam } from './widget';
3
+ import { InkeepCustomIcon } from './icons';
4
+ export interface Heading {
5
+ anchor?: string | null;
6
+ url?: string | null;
7
+ content: string;
8
+ isMatch?: boolean;
9
+ }
10
+ export interface SourceItem {
11
+ id?: string;
12
+ title: string | undefined;
13
+ url: string;
14
+ description: string | undefined;
15
+ breadcrumbs: string[];
16
+ type: string;
17
+ contentType?: string;
18
+ tag?: string;
19
+ tabs?: (SourceTab | string)[];
20
+ headings?: Heading[];
21
+ preview?: string;
22
+ }
23
+ export type TransformSourceType = 'chatSourceItem' | 'searchResultItem';
24
+ export interface TransformSourceOptions {
25
+ organizationDisplayName?: string;
26
+ tabs?: InkeepSearchSettings['tabs'];
27
+ }
28
+ export type TransformSource = (source: SourceItem, type: TransformSourceType, opts?: TransformSourceOptions) => Partial<TransformedSource>;
29
+ export interface SourceTab {
30
+ [0]: string;
31
+ [1]: {
32
+ breadcrumbs: string[];
33
+ };
34
+ }
35
+ export interface TransformedSource {
36
+ /**
37
+ * ID of the source.
38
+ */
39
+ id?: string;
40
+ /**
41
+ * Title of the source.
42
+ */
43
+ title: string;
44
+ /**
45
+ * URL of the source.
46
+ */
47
+ url: string;
48
+ /**
49
+ * Description of the source.
50
+ */
51
+ description?: string;
52
+ /**
53
+ * Breadcrumbs for the source.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * breadcrumbs: ['Subpath', 'Page']
58
+ * ```
59
+ */
60
+ breadcrumbs?: string[];
61
+ /**
62
+ * Tabs where this source shows up. (Only for searchResultsItem)
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * tabs: ['Docs']
67
+ * tabs: ['Docs', 'API']
68
+ * ```
69
+ * You can also specify different breadcrumbs for specific tab.
70
+ * @example
71
+ * ```ts
72
+ * tabs: ['Docs', ['API', { breadcrumbs: ['Guides', 'API'] }]]
73
+ * ```
74
+ */
75
+ tabs?: (SourceTab | string)[];
76
+ /**
77
+ * Icon of the source.
78
+ *
79
+ * @example
80
+ * ```ts
81
+ * icon: { builtIn: 'LuBookOpen' }
82
+ * icon: { custom: 'https://example.com/icon.svg' }
83
+ * ```
84
+ */
85
+ icon: InkeepCustomIcon;
86
+ /**
87
+ * Whether to open the source in a new tab.
88
+ */
89
+ shouldOpenInNewTab?: boolean;
90
+ /**
91
+ * Search query params to append to the URL.
92
+ *
93
+ * @example
94
+ * If you want to know if the source is from chat or search, you can append the source type to the URL.
95
+ * ```ts
96
+ * appendToUrl: { from: 'chatSourceItem' }
97
+ * ```
98
+ */
99
+ appendToUrl?: UrlQueryParam;
100
+ /**
101
+ * Type of the source.
102
+ */
103
+ type: string;
104
+ /**
105
+ * Tag to append to the source.
106
+ */
107
+ tag?: string;
108
+ }
@@ -0,0 +1,25 @@
1
+ export interface StrictIkpTheme {
2
+ colors: Record<string, any>;
3
+ fontFamily: Record<string, string>;
4
+ fontSize: Record<string, string>;
5
+ zIndex: Record<string, string | number>;
6
+ }
7
+ export interface UserProvidedColorScheme {
8
+ textBold?: string;
9
+ textSubtle?: string;
10
+ lighter?: string;
11
+ light?: string;
12
+ lightSubtle?: string;
13
+ medium?: string;
14
+ mediumSubtle?: string;
15
+ strongerLight?: string;
16
+ strong?: string;
17
+ stronger?: string;
18
+ textColorOnPrimary?: string;
19
+ }
20
+ export type DeepPartial<T> = {
21
+ [P in keyof T]?: T[P] extends Record<string, unknown> ? DeepPartial<T[P]> : T[P];
22
+ };
23
+ export type IkpThemeCategory = keyof StrictIkpTheme;
24
+ export type IkpTheme = DeepPartial<StrictIkpTheme>;
25
+ export type IkpThemeEntry = [keyof IkpTheme, Record<string, unknown>][];
@@ -0,0 +1,28 @@
1
+ export type UrlQueryParam = Record<string, string>;
2
+ export type ModalViewTypes = 'chat' | 'search';
3
+ export type OnToggleView = (opts: {
4
+ view: ModalViewTypes;
5
+ query?: string;
6
+ autoSubmit?: boolean;
7
+ }) => void;
8
+ export interface WidgetView {
9
+ /**
10
+ * Callback fired when the user toggles between chat and search views.
11
+ *
12
+ * The parent component can use this
13
+ * to coordinate showing/hiding the appropriate view.
14
+ */
15
+ onToggleView?: OnToggleView;
16
+ /**
17
+ * The label for the Ask AI button.
18
+ */
19
+ askAILabel?: string;
20
+ /**
21
+ * The label for the Search button.
22
+ */
23
+ searchLabel?: string;
24
+ /**
25
+ * The label for the Ask AI card.
26
+ */
27
+ askAICardLabel?: string;
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-ui",
3
- "version": "0.14.19",
3
+ "version": "0.14.21",
4
4
  "description": "",
5
5
  "homepage": "",
6
6
  "repository": {
@@ -27,7 +27,6 @@
27
27
  }
28
28
  },
29
29
  "./types": {
30
- "source": "./src/types/index.ts",
31
30
  "types": "./dist/types/types.d.ts",
32
31
  "default": "./dist/types/types.d.ts"
33
32
  },
@@ -130,8 +129,7 @@
130
129
  "scripts": {
131
130
  "css:gen": "postcss ./src/styled/index.css -o ./src/styled/inkeep.css",
132
131
  "ui:gen": "vite build",
133
- "types:gen": "vite build --config vite.types.config.mts",
134
- "build": "pnpm css:gen && pnpm ui:gen && pnpm types:gen",
132
+ "build": "pnpm css:gen && pnpm ui:gen",
135
133
  "watch": "vite build --watch",
136
134
  "dev": "pnpm storybook",
137
135
  "lint": "biome lint ./src",