@inkeep/agents-ui 0.1.0 → 0.14.8
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.
- package/LICENSE +64 -0
- package/README.md +1 -67
- package/dist/_virtual/index.cjs +1 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.development.cjs +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.cjs +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
- package/dist/color-mode/index.cjs +1 -0
- package/dist/color-mode/index.js +170 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +5093 -0
- package/dist/index.d.ts +5093 -0
- package/dist/index.js +213 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +9 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +68 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs +9 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +56 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/shim/index.cjs +1 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/shim/index.js +8 -0
- package/dist/primitives/atoms/avatars/ai.cjs +1 -0
- package/dist/primitives/atoms/avatars/ai.js +99 -0
- package/dist/primitives/atoms/avatars/user.cjs +1 -0
- package/dist/primitives/atoms/avatars/user.js +27 -0
- package/dist/primitives/atoms/cmdk/command-score.cjs +1 -0
- package/dist/primitives/atoms/cmdk/command-score.js +46 -0
- package/dist/primitives/atoms/cmdk/index.cjs +1 -0
- package/dist/primitives/atoms/cmdk/index.js +521 -0
- package/dist/primitives/atoms/codeblock/index.cjs +1 -0
- package/dist/primitives/atoms/codeblock/index.js +40 -0
- package/dist/primitives/atoms/custom-styles.cjs +1 -0
- package/dist/primitives/atoms/custom-styles.js +57 -0
- package/dist/primitives/atoms/dialog.cjs +1 -0
- package/dist/primitives/atoms/dialog.js +226 -0
- package/dist/primitives/atoms/error-boundary.cjs +1 -0
- package/dist/primitives/atoms/error-boundary.js +9 -0
- package/dist/primitives/atoms/icons/built-in-icon-renderer.cjs +1 -0
- package/dist/primitives/atoms/icons/built-in-icon-renderer.js +51 -0
- package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -0
- package/dist/primitives/atoms/icons/built-in-icons.js +86 -0
- package/dist/primitives/atoms/icons/checkbox-icon.cjs +1 -0
- package/dist/primitives/atoms/icons/checkbox-icon.js +24 -0
- package/dist/primitives/atoms/icons/collections/bi.cjs +1 -0
- package/dist/primitives/atoms/icons/collections/bi.js +49 -0
- package/dist/primitives/atoms/icons/collections/fi.cjs +1 -0
- package/dist/primitives/atoms/icons/collections/fi.js +29 -0
- package/dist/primitives/atoms/icons/collections/gr.cjs +1 -0
- package/dist/primitives/atoms/icons/collections/gr.js +21 -0
- package/dist/primitives/atoms/icons/collections/io5.cjs +1 -0
- package/dist/primitives/atoms/icons/collections/io5.js +806 -0
- package/dist/primitives/atoms/icons/collections/pi.cjs +1 -0
- package/dist/primitives/atoms/icons/collections/pi.js +49 -0
- package/dist/primitives/atoms/icons/custom-icon.cjs +1 -0
- package/dist/primitives/atoms/icons/custom-icon.js +19 -0
- package/dist/primitives/atoms/icons/generate-icon.cjs +1 -0
- package/dist/primitives/atoms/icons/generate-icon.js +56 -0
- package/dist/primitives/atoms/icons/index.cjs +1 -0
- package/dist/primitives/atoms/icons/index.js +6 -0
- package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -0
- package/dist/primitives/atoms/icons/inkeep-default-icons.js +24 -0
- package/dist/primitives/atoms/link.cjs +1 -0
- package/dist/primitives/atoms/link.js +35 -0
- package/dist/primitives/atoms/markdown/components.cjs +1 -0
- package/dist/primitives/atoms/markdown/components.js +73 -0
- package/dist/primitives/atoms/markdown/index.cjs +1 -0
- package/dist/primitives/atoms/markdown/index.js +115 -0
- package/dist/primitives/atoms/markdown/rehype-inline-code-property.cjs +1 -0
- package/dist/primitives/atoms/markdown/rehype-inline-code-property.js +12 -0
- package/dist/primitives/atoms/portal-with-theme.cjs +1 -0
- package/dist/primitives/atoms/portal-with-theme.js +12 -0
- package/dist/primitives/atoms/portal.cjs +1 -0
- package/dist/primitives/atoms/portal.js +19 -0
- package/dist/primitives/atoms/select.cjs +1 -0
- package/dist/primitives/atoms/select.js +785 -0
- package/dist/primitives/atoms/shadow/context.cjs +1 -0
- package/dist/primitives/atoms/shadow/context.js +54 -0
- package/dist/primitives/atoms/shadow/create.cjs +1 -0
- package/dist/primitives/atoms/shadow/create.js +56 -0
- package/dist/primitives/atoms/shadow/root.cjs +1 -0
- package/dist/primitives/atoms/shadow/root.js +22 -0
- package/dist/primitives/atoms/shadow/use-ensured-forwarded-ref.cjs +1 -0
- package/dist/primitives/atoms/shadow/use-ensured-forwarded-ref.js +11 -0
- package/dist/primitives/atoms/shadow/utils.cjs +1 -0
- package/dist/primitives/atoms/shadow/utils.js +16 -0
- package/dist/primitives/components/chat-button.cjs +1 -0
- package/dist/primitives/components/chat-button.js +46 -0
- package/dist/primitives/components/embedded-chat/chat-provider.cjs +1 -0
- package/dist/primitives/components/embedded-chat/chat-provider.js +20 -0
- package/dist/primitives/components/embedded-chat/use-chat-action.cjs +1 -0
- package/dist/primitives/components/embedded-chat/use-chat-action.js +38 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +160 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.js +82 -0
- package/dist/primitives/components/embedded-chat.cjs +11 -0
- package/dist/primitives/components/embedded-chat.js +1898 -0
- package/dist/primitives/components/embedded-search/search-provider.cjs +1 -0
- package/dist/primitives/components/embedded-search/search-provider.js +26 -0
- package/dist/primitives/components/embedded-search/transform-results.cjs +1 -0
- package/dist/primitives/components/embedded-search/transform-results.js +47 -0
- package/dist/primitives/components/embedded-search/url-query.cjs +1 -0
- package/dist/primitives/components/embedded-search/url-query.js +12 -0
- package/dist/primitives/components/embedded-search/use-inkeep-search.cjs +1 -0
- package/dist/primitives/components/embedded-search/use-inkeep-search.js +35 -0
- package/dist/primitives/components/embedded-search/use-search-filter.cjs +1 -0
- package/dist/primitives/components/embedded-search/use-search-filter.js +77 -0
- package/dist/primitives/components/embedded-search.cjs +1 -0
- package/dist/primitives/components/embedded-search.js +628 -0
- package/dist/primitives/components/factory.cjs +1 -0
- package/dist/primitives/components/factory.js +39 -0
- package/dist/primitives/components/index.cjs +1 -0
- package/dist/primitives/components/index.js +27 -0
- package/dist/primitives/components/modal/modal-provider.cjs +1 -0
- package/dist/primitives/components/modal/modal-provider.js +8 -0
- package/dist/primitives/components/modal/use-inkeep-modal.cjs +1 -0
- package/dist/primitives/components/modal/use-inkeep-modal.js +45 -0
- package/dist/primitives/components/modal/widget-auto-focus.cjs +1 -0
- package/dist/primitives/components/modal/widget-auto-focus.js +16 -0
- package/dist/primitives/components/modal.cjs +1 -0
- package/dist/primitives/components/modal.js +40 -0
- package/dist/primitives/components/presence.cjs +1 -0
- package/dist/primitives/components/presence.js +26 -0
- package/dist/primitives/components/searchbar.cjs +1 -0
- package/dist/primitives/components/searchbar.js +54 -0
- package/dist/primitives/components/sidebar-chat/index.cjs +1 -0
- package/dist/primitives/components/sidebar-chat/index.js +86 -0
- package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.cjs +1 -0
- package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.js +34 -0
- package/dist/primitives/components/tagline-logo-icon.cjs +1 -0
- package/dist/primitives/components/tagline-logo-icon.js +26 -0
- package/dist/primitives/components/use-component-trigger.cjs +1 -0
- package/dist/primitives/components/use-component-trigger.js +16 -0
- package/dist/primitives/constants/search.cjs +1 -0
- package/dist/primitives/constants/search.js +5 -0
- package/dist/primitives/hooks/index.cjs +1 -0
- package/dist/primitives/hooks/index.js +24 -0
- package/dist/primitives/hooks/use-boolean.cjs +1 -0
- package/dist/primitives/hooks/use-boolean.js +17 -0
- package/dist/primitives/hooks/use-component-classnames.cjs +1 -0
- package/dist/primitives/hooks/use-component-classnames.js +14 -0
- package/dist/primitives/hooks/use-container-size.cjs +1 -0
- package/dist/primitives/hooks/use-container-size.js +18 -0
- package/dist/primitives/hooks/use-copy-to-clipboard.cjs +1 -0
- package/dist/primitives/hooks/use-copy-to-clipboard.js +24 -0
- package/dist/primitives/hooks/use-debounce.cjs +1 -0
- package/dist/primitives/hooks/use-debounce.js +16 -0
- package/dist/primitives/hooks/use-instant-update.cjs +1 -0
- package/dist/primitives/hooks/use-instant-update.js +16 -0
- package/dist/primitives/hooks/use-is-mounted.cjs +1 -0
- package/dist/primitives/hooks/use-is-mounted.js +11 -0
- package/dist/primitives/hooks/use-media-query.cjs +1 -0
- package/dist/primitives/hooks/use-media-query.js +14 -0
- package/dist/primitives/hooks/use-resize-observer.cjs +1 -0
- package/dist/primitives/hooks/use-resize-observer.js +32 -0
- package/dist/primitives/hooks/use-scroll-to-bottom.cjs +1 -0
- package/dist/primitives/hooks/use-scroll-to-bottom.js +52 -0
- package/dist/primitives/hooks/use-scrolling-fades.cjs +1 -0
- package/dist/primitives/hooks/use-scrolling-fades.js +18 -0
- package/dist/primitives/hooks/use-settle-action.cjs +1 -0
- package/dist/primitives/hooks/use-settle-action.js +11 -0
- package/dist/primitives/index.cjs +1 -0
- package/dist/primitives/index.js +155 -0
- package/dist/primitives/providers/attachment-item-provider.cjs +1 -0
- package/dist/primitives/providers/attachment-item-provider.js +13 -0
- package/dist/primitives/providers/attachments-bar-provider.cjs +1 -0
- package/dist/primitives/providers/attachments-bar-provider.js +57 -0
- package/dist/primitives/providers/base-events-provider.cjs +1 -0
- package/dist/primitives/providers/base-events-provider.js +37 -0
- package/dist/primitives/providers/chat-form-provider.cjs +1 -0
- package/dist/primitives/providers/chat-form-provider.js +109 -0
- package/dist/primitives/providers/config-provider.cjs +1 -0
- package/dist/primitives/providers/config-provider.js +38 -0
- package/dist/primitives/providers/feedback-item-provider.cjs +1 -0
- package/dist/primitives/providers/feedback-item-provider.js +16 -0
- package/dist/primitives/providers/feedback-provider.cjs +1 -0
- package/dist/primitives/providers/feedback-provider.js +83 -0
- package/dist/primitives/providers/form-field-provider.cjs +1 -0
- package/dist/primitives/providers/form-field-provider.js +17 -0
- package/dist/primitives/providers/help-menu-provider.cjs +1 -0
- package/dist/primitives/providers/help-menu-provider.js +19 -0
- package/dist/primitives/providers/hover-popover-provider.cjs +1 -0
- package/dist/primitives/providers/hover-popover-provider.js +13 -0
- package/dist/primitives/providers/index.cjs +1 -0
- package/dist/primitives/providers/index.js +57 -0
- package/dist/primitives/providers/markdown-provider.cjs +1 -0
- package/dist/primitives/providers/markdown-provider.js +8 -0
- package/dist/primitives/providers/message-attachments-provider.cjs +1 -0
- package/dist/primitives/providers/message-attachments-provider.js +27 -0
- package/dist/primitives/providers/message-provider.cjs +1 -0
- package/dist/primitives/providers/message-provider.js +14 -0
- package/dist/primitives/providers/root-provider.cjs +1 -0
- package/dist/primitives/providers/root-provider.js +21 -0
- package/dist/primitives/providers/search-events-provider.cjs +1 -0
- package/dist/primitives/providers/search-events-provider.js +17 -0
- package/dist/primitives/providers/sidebar-chat-provider.cjs +1 -0
- package/dist/primitives/providers/sidebar-chat-provider.js +41 -0
- package/dist/primitives/providers/source-item-provider.cjs +1 -0
- package/dist/primitives/providers/source-item-provider.js +13 -0
- package/dist/primitives/providers/theme-provider.cjs +3 -0
- package/dist/primitives/providers/theme-provider.js +79 -0
- package/dist/primitives/providers/widget-provider.cjs +1 -0
- package/dist/primitives/providers/widget-provider.js +8 -0
- package/dist/primitives/utils/component-ids.cjs +1 -0
- package/dist/primitives/utils/component-ids.js +309 -0
- package/dist/primitives/utils/compose-event-handlers.cjs +1 -0
- package/dist/primitives/utils/compose-event-handlers.js +10 -0
- package/dist/primitives/utils/compose-refs.cjs +1 -0
- package/dist/primitives/utils/compose-refs.js +30 -0
- package/dist/primitives/utils/default-settings.cjs +1 -0
- package/dist/primitives/utils/default-settings.js +50 -0
- package/dist/primitives/utils/form.cjs +1 -0
- package/dist/primitives/utils/form.js +17 -0
- package/dist/primitives/utils/generate-uid.cjs +1 -0
- package/dist/primitives/utils/generate-uid.js +14 -0
- package/dist/primitives/utils/get-source-icon.cjs +1 -0
- package/dist/primitives/utils/get-source-icon.js +11 -0
- package/dist/primitives/utils/highlight-emphasis.cjs +1 -0
- package/dist/primitives/utils/highlight-emphasis.js +15 -0
- package/dist/primitives/utils/merge-props.cjs +1 -0
- package/dist/primitives/utils/merge-props.js +41 -0
- package/dist/primitives/utils/misc.cjs +1 -0
- package/dist/primitives/utils/misc.js +31 -0
- package/dist/primitives/utils/split-props.cjs +1 -0
- package/dist/primitives/utils/split-props.js +10 -0
- package/dist/react/chat-button.cjs +1 -0
- package/dist/react/chat-button.js +60 -0
- package/dist/react/embedded-chat.cjs +1 -0
- package/dist/react/embedded-chat.js +380 -0
- package/dist/react/embedded-search-and-chat.cjs +1 -0
- package/dist/react/embedded-search-and-chat.impl.cjs +1 -0
- package/dist/react/embedded-search-and-chat.impl.js +43 -0
- package/dist/react/embedded-search-and-chat.js +66 -0
- package/dist/react/embedded-search.cjs +1 -0
- package/dist/react/embedded-search.js +181 -0
- package/dist/react/index.cjs +1 -0
- package/dist/react/index.js +213 -0
- package/dist/react/modal.chat.cjs +1 -0
- package/dist/react/modal.chat.js +21 -0
- package/dist/react/modal.cjs +1 -0
- package/dist/react/modal.js +27 -0
- package/dist/react/modal.search-and-chat.cjs +1 -0
- package/dist/react/modal.search-and-chat.js +27 -0
- package/dist/react/modal.search.cjs +1 -0
- package/dist/react/modal.search.js +21 -0
- package/dist/react/searchbar.cjs +1 -0
- package/dist/react/searchbar.js +68 -0
- package/dist/react/sidebar-chat.cjs +1 -0
- package/dist/react/sidebar-chat.js +49 -0
- package/dist/react/utils.cjs +1 -0
- package/dist/react/utils.js +20 -0
- package/dist/react/widget-toggle.cjs +1 -0
- package/dist/react/widget-toggle.js +65 -0
- package/dist/styled/components/chat-button.cjs +1 -0
- package/dist/styled/components/chat-button.js +56 -0
- package/dist/styled/components/data-summary-group.cjs +1 -0
- package/dist/styled/components/data-summary-group.js +76 -0
- package/dist/styled/components/embedded-chat.cjs +1 -0
- package/dist/styled/components/embedded-chat.js +1816 -0
- package/dist/styled/components/embedded-search/results-loading.cjs +1 -0
- package/dist/styled/components/embedded-search/results-loading.js +39 -0
- package/dist/styled/components/embedded-search.cjs +1 -0
- package/dist/styled/components/embedded-search.js +680 -0
- package/dist/styled/components/index.cjs +1 -0
- package/dist/styled/components/index.js +24 -0
- package/dist/styled/components/loading-indicator.cjs +1 -0
- package/dist/styled/components/loading-indicator.js +36 -0
- package/dist/styled/components/message.cjs +1 -0
- package/dist/styled/components/message.js +140 -0
- package/dist/styled/components/modal.cjs +1 -0
- package/dist/styled/components/modal.js +46 -0
- package/dist/styled/components/searchbar.cjs +1 -0
- package/dist/styled/components/searchbar.js +81 -0
- package/dist/styled/components/shadow.cjs +1 -0
- package/dist/styled/components/shadow.js +8 -0
- package/dist/styled/components/sidebar-chat.cjs +1 -0
- package/dist/styled/components/sidebar-chat.js +90 -0
- package/dist/styled/components/ui/markdown-styles.cjs +1 -0
- package/dist/styled/components/ui/markdown-styles.js +38 -0
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.cjs +1 -0
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.js +32 -0
- package/dist/styled/components/ui/recipes/attachment.cjs +1 -0
- package/dist/styled/components/ui/recipes/attachment.js +28 -0
- package/dist/styled/components/ui/recipes/button.cjs +1 -0
- package/dist/styled/components/ui/recipes/button.js +81 -0
- package/dist/styled/components/ui/recipes/checkbox.cjs +1 -0
- package/dist/styled/components/ui/recipes/checkbox.js +23 -0
- package/dist/styled/components/ui/recipes/citation.cjs +1 -0
- package/dist/styled/components/ui/recipes/citation.js +75 -0
- package/dist/styled/components/ui/recipes/icon.cjs +1 -0
- package/dist/styled/components/ui/recipes/icon.js +6 -0
- package/dist/styled/components/ui/recipes/index.cjs +1 -0
- package/dist/styled/components/ui/recipes/index.js +37 -0
- package/dist/styled/components/ui/recipes/input.cjs +1 -0
- package/dist/styled/components/ui/recipes/input.js +34 -0
- package/dist/styled/components/ui/recipes/link.cjs +1 -0
- package/dist/styled/components/ui/recipes/link.js +13 -0
- package/dist/styled/components/ui/recipes/markdown.cjs +1 -0
- package/dist/styled/components/ui/recipes/markdown.js +103 -0
- package/dist/styled/components/ui/recipes/modal.cjs +1 -0
- package/dist/styled/components/ui/recipes/modal.js +59 -0
- package/dist/styled/components/ui/recipes/popover.cjs +1 -0
- package/dist/styled/components/ui/recipes/popover.js +20 -0
- package/dist/styled/components/ui/recipes/scrollable.cjs +1 -0
- package/dist/styled/components/ui/recipes/scrollable.js +15 -0
- package/dist/styled/components/ui/recipes/select.cjs +1 -0
- package/dist/styled/components/ui/recipes/select.js +38 -0
- package/dist/styled/components/ui/recipes/skeleton.cjs +1 -0
- package/dist/styled/components/ui/recipes/skeleton.js +16 -0
- package/dist/styled/components/ui/recipes/widget-toggle.cjs +1 -0
- package/dist/styled/components/ui/recipes/widget-toggle.js +35 -0
- package/dist/styled/index.cjs +1 -0
- package/dist/styled/index.js +177 -0
- package/dist/styled/inkeep.css.cjs +4049 -0
- package/dist/styled/inkeep.css.js +4053 -0
- package/dist/styled/utils.cjs +1 -0
- package/dist/styled/utils.js +11 -0
- package/dist/theme/color-utils.cjs +1 -0
- package/dist/theme/color-utils.js +21 -0
- package/dist/theme/colors.cjs +1 -0
- package/dist/theme/colors.js +143 -0
- package/dist/theme/index.cjs +1 -0
- package/dist/theme/index.js +58 -0
- package/dist/theme/utils/create-css-variables.cjs +1 -0
- package/dist/theme/utils/create-css-variables.js +24 -0
- package/dist/theme/utils/generate-theme-variables.cjs +1 -0
- package/dist/theme/utils/generate-theme-variables.js +34 -0
- package/dist/types/message.cjs +1 -0
- package/dist/types/message.js +5 -0
- package/dist/types/types.d.cts +1754 -0
- package/dist/types/types.d.ts +1754 -0
- package/package.json +132 -39
- package/LICENSE.md +0 -51
- package/dist/assets/index-3anqgmEs.js +0 -49
- package/dist/assets/index-CF_BRP1w.css +0 -1
- package/dist/index.html +0 -14
|
@@ -0,0 +1,680 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { EmbeddedSearchPrimitiveContent as d, ResultsScrollAreaCorner as l, EmbeddedSearchPrimitiveWrapper as m, EmbeddedSearchPrimitiveRoot as n, EmbeddedSearchPrimitiveInputGroup as c, EmbeddedSearchInputIcon as o, EmbeddedSearchPrimitiveInput as h, EmbeddedSearchPrimitiveLoading as u, EmbeddedSearchPrimitiveResults as p, EmbeddedSearchPrimitiveResultsLoading as b, EmbeddedSearchPrimitiveAskAITrigger as g, EmbeddedSearchPrimitiveAskAITriggerIcon as I, EmbeddedSearchPrimitiveAskAITriggerLabel as x, EmbeddedSearchPrimitiveAskAITriggerQuery as v, EmbeddedSearchPrimitiveAskAITriggerIndicator as S, EmbeddedSearchPrimitiveAskAITriggerIndicatorText as k, EmbeddedSearchPrimitiveResultsEmpty as R, EmbeddedSearchPrimitiveResultsTabList as E, EmbeddedSearchPrimitiveResultsTab as P, EmbeddedSearchPrimitiveResultsContent as w, EmbeddedSearchPrimitiveResultsScrollArea as f, EmbeddedSearchPrimitiveResultsScrollAreaViewport as y, ResultsScrollAreaScrollbar as T, ResultsScrollAreaThumb as N, EmbeddedSearchPrimitiveResultsList as A, EmbeddedSearchPrimitiveResultsItem as _, EmbeddedSearchPrimitiveResultsItemBreadcrumbs as L, ResultsItemBreadcrumbIcon as B, EmbeddedSearchPrimitiveResultsItemIcon as O, EmbeddedSearchPrimitiveResultsItemTitle as C, EmbeddedSearchPrimitiveResultsItemTag as H, EmbeddedSearchPrimitiveResultsItemDescription as D, EmbeddedSearchPrimitiveResultsItemDescriptionPart as j, EmbeddedSearchPrimitiveResultsItemIndicator as F, EmbeddedSearchPrimitiveResultsItemPreview as G, ResultsItemPreviewHeader as Q, EmbeddedSearchPrimitiveResultsItemPreviewHeading as V, EmbeddedSearchPrimitiveResultsItemPreviewTitle as W, EmbeddedSearchPrimitiveResultsItemPreviewTitleLinkIcon as $, ResultsItemPreviewBreadcrumbs as z, EmbeddedSearchPrimitiveResultsItemPreviewBreadcrumbIcon as q, EmbeddedSearchPrimitiveResultsItemPreviewBody as J, EmbeddedSearchPrimitiveResultsItemPreviewOutline as K, EmbeddedSearchPrimitiveResultsItemPreviewOutlineTitle as M, EmbeddedSearchPrimitiveResultsItemPreviewOutlineList as U, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItem as X, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItemIcon as Y, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItemText as Z, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItemLinkIcon as ee, EmbeddedSearchPrimitiveFooter as te, TaglineContainer as ae, TaglineText as re, TaglineLogo as se, TaglineBrandName as ie } from "../../primitives/components/embedded-search.js";
|
|
4
|
+
import { SearchProvider as de } from "../../primitives/components/embedded-search/search-provider.js";
|
|
5
|
+
import { cn as r } from "../utils.js";
|
|
6
|
+
import { citation as s } from "./ui/recipes/citation.js";
|
|
7
|
+
import { link as le } from "./ui/recipes/link.js";
|
|
8
|
+
import { scrollable as me } from "./ui/recipes/scrollable.js";
|
|
9
|
+
import { ResultsLoading as ne } from "./embedded-search/results-loading.js";
|
|
10
|
+
import { merge as ce } from "merge-anything";
|
|
11
|
+
import { markdownStyles as oe } from "./ui/markdown-styles.js";
|
|
12
|
+
const Re = (e) => /* @__PURE__ */ a(de, { ...e }), Ee = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
13
|
+
m,
|
|
14
|
+
{
|
|
15
|
+
className: r(
|
|
16
|
+
"data-[hidden]:hidden rounded-md flex",
|
|
17
|
+
"bg-white dark:bg-gray-dark-950",
|
|
18
|
+
e
|
|
19
|
+
),
|
|
20
|
+
...t
|
|
21
|
+
}
|
|
22
|
+
), Pe = ({
|
|
23
|
+
className: e,
|
|
24
|
+
...t
|
|
25
|
+
}) => /* @__PURE__ */ a(
|
|
26
|
+
n,
|
|
27
|
+
{
|
|
28
|
+
className: r(
|
|
29
|
+
"data-[hidden]:hidden flex flex-col w-full",
|
|
30
|
+
"[--footer-height:theme(spacing.9)]",
|
|
31
|
+
"data-[mobile]:[--input-height:theme(spacing.20)]",
|
|
32
|
+
"[--ask-ai-trigger-height:0px]",
|
|
33
|
+
"[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",
|
|
34
|
+
e
|
|
35
|
+
),
|
|
36
|
+
...t
|
|
37
|
+
}
|
|
38
|
+
), we = d, fe = ({
|
|
39
|
+
className: e,
|
|
40
|
+
...t
|
|
41
|
+
}) => /* @__PURE__ */ a(
|
|
42
|
+
c,
|
|
43
|
+
{
|
|
44
|
+
className: r(
|
|
45
|
+
"flex items-center w-full px-5 pt-3 pb-3 gap-3",
|
|
46
|
+
"[[data-mobile]_&]:max-h-[var(--input-height)]",
|
|
47
|
+
e
|
|
48
|
+
),
|
|
49
|
+
...t
|
|
50
|
+
}
|
|
51
|
+
), ye = ({
|
|
52
|
+
className: e,
|
|
53
|
+
...t
|
|
54
|
+
}) => /* @__PURE__ */ a(
|
|
55
|
+
o,
|
|
56
|
+
{
|
|
57
|
+
className: r("min-w-5 w-5 text-xl", "text-gray-500 dark:text-white-alpha-600", e),
|
|
58
|
+
...t
|
|
59
|
+
}
|
|
60
|
+
), Te = ({
|
|
61
|
+
className: e,
|
|
62
|
+
...t
|
|
63
|
+
}) => /* @__PURE__ */ a(
|
|
64
|
+
h,
|
|
65
|
+
{
|
|
66
|
+
className: r(
|
|
67
|
+
"min-h-[38px] overflow-hidden w-full resize-none",
|
|
68
|
+
"py-1.5 max-h-[10vh] placeholder:text-gray-500",
|
|
69
|
+
"w-full dark:placeholder:text-gray-dark-200",
|
|
70
|
+
"border-none outline-none shadow-none bg-transparent",
|
|
71
|
+
e
|
|
72
|
+
),
|
|
73
|
+
...t
|
|
74
|
+
}
|
|
75
|
+
), Ne = ({
|
|
76
|
+
className: e,
|
|
77
|
+
...t
|
|
78
|
+
}) => /* @__PURE__ */ a(
|
|
79
|
+
u,
|
|
80
|
+
{
|
|
81
|
+
className: r(
|
|
82
|
+
"min-w-5 w-5 text-xl",
|
|
83
|
+
"text-gray-500 dark:text-white-alpha-600",
|
|
84
|
+
"animate-spin",
|
|
85
|
+
e
|
|
86
|
+
),
|
|
87
|
+
...t
|
|
88
|
+
}
|
|
89
|
+
), Ae = ({
|
|
90
|
+
className: e,
|
|
91
|
+
...t
|
|
92
|
+
}) => /* @__PURE__ */ a(
|
|
93
|
+
g,
|
|
94
|
+
{
|
|
95
|
+
className: r(
|
|
96
|
+
s({ slot: "root" }),
|
|
97
|
+
"mx-5 w-[calc(100%_-_theme(spacing.10))]",
|
|
98
|
+
"mb-4 h-11 cursor-pointer",
|
|
99
|
+
"h-[var(--ask-ai-trigger-height)]",
|
|
100
|
+
"grid-template-[none] flex items-center",
|
|
101
|
+
e
|
|
102
|
+
),
|
|
103
|
+
...t
|
|
104
|
+
}
|
|
105
|
+
), _e = ({
|
|
106
|
+
className: e,
|
|
107
|
+
...t
|
|
108
|
+
}) => /* @__PURE__ */ a(
|
|
109
|
+
I,
|
|
110
|
+
{
|
|
111
|
+
className: r(
|
|
112
|
+
"[grid-area:icon] h-5 w-5 flex-shrink-0",
|
|
113
|
+
"[--start-color:theme(colors.inkeep-expanded-primary.300)]",
|
|
114
|
+
"[--end-color:theme(colors.inkeep-expanded-primary.700)]",
|
|
115
|
+
"dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]",
|
|
116
|
+
"dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",
|
|
117
|
+
e
|
|
118
|
+
),
|
|
119
|
+
...t
|
|
120
|
+
}
|
|
121
|
+
), Le = ({
|
|
122
|
+
className: e,
|
|
123
|
+
...t
|
|
124
|
+
}) => /* @__PURE__ */ a(
|
|
125
|
+
x,
|
|
126
|
+
{
|
|
127
|
+
className: r(s({ slot: "title" }), "font-medium text-gray-700", e),
|
|
128
|
+
...t
|
|
129
|
+
}
|
|
130
|
+
), Be = ({
|
|
131
|
+
className: e,
|
|
132
|
+
...t
|
|
133
|
+
}) => /* @__PURE__ */ a(
|
|
134
|
+
v,
|
|
135
|
+
{
|
|
136
|
+
className: r(
|
|
137
|
+
"font-semibold !bg-clip-text text-transparent ml-2",
|
|
138
|
+
"animate-shine [background:linear-gradient(270deg,theme(colors.inkeep-primary.stronger-light),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.800)] ",
|
|
139
|
+
"dark:[background:linear-gradient(270deg,theme(colors.inkeep-expanded-primary.100),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.400)]",
|
|
140
|
+
e
|
|
141
|
+
),
|
|
142
|
+
...t
|
|
143
|
+
}
|
|
144
|
+
), Oe = ({
|
|
145
|
+
className: e,
|
|
146
|
+
...t
|
|
147
|
+
}) => /* @__PURE__ */ a(
|
|
148
|
+
S,
|
|
149
|
+
{
|
|
150
|
+
className: r(
|
|
151
|
+
s({ slot: "indicator" }),
|
|
152
|
+
"ml-1 opacity-100 text-inkeep-primary-stronger-light group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300 ",
|
|
153
|
+
e
|
|
154
|
+
),
|
|
155
|
+
...t
|
|
156
|
+
}
|
|
157
|
+
), Ce = ({
|
|
158
|
+
className: e,
|
|
159
|
+
...t
|
|
160
|
+
}) => /* @__PURE__ */ a(
|
|
161
|
+
k,
|
|
162
|
+
{
|
|
163
|
+
className: r(
|
|
164
|
+
"text-xs flex-shrink-0 ml-auto",
|
|
165
|
+
"group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300",
|
|
166
|
+
"text-inkeep-primary-medium-subtle bg-gray-500 bg-clip-text dark:bg-white-alpha-800",
|
|
167
|
+
e
|
|
168
|
+
),
|
|
169
|
+
...t
|
|
170
|
+
}
|
|
171
|
+
), He = ({
|
|
172
|
+
className: e,
|
|
173
|
+
...t
|
|
174
|
+
}) => /* @__PURE__ */ a(
|
|
175
|
+
p,
|
|
176
|
+
{
|
|
177
|
+
className: r(
|
|
178
|
+
me({ section: "content" }),
|
|
179
|
+
"h-0 max-h-full",
|
|
180
|
+
"data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]",
|
|
181
|
+
"md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]",
|
|
182
|
+
"[[data-mobile]_&]:h-[calc(100vh-var(--input-height)-var(--footer-height)-var(--ask-ai-trigger-height))]",
|
|
183
|
+
"transition-all duration-300 ease-in-out data-[has-content]:pb-2",
|
|
184
|
+
e
|
|
185
|
+
),
|
|
186
|
+
...t
|
|
187
|
+
}
|
|
188
|
+
), De = ({
|
|
189
|
+
className: e,
|
|
190
|
+
...t
|
|
191
|
+
}) => /* @__PURE__ */ a(
|
|
192
|
+
b,
|
|
193
|
+
{
|
|
194
|
+
className: r("group mb-1 relative transition-all w-full h-full", e),
|
|
195
|
+
children: /* @__PURE__ */ a(ne, {}),
|
|
196
|
+
...t
|
|
197
|
+
}
|
|
198
|
+
), je = ({
|
|
199
|
+
className: e,
|
|
200
|
+
...t
|
|
201
|
+
}) => /* @__PURE__ */ a(
|
|
202
|
+
R,
|
|
203
|
+
{
|
|
204
|
+
className: r(
|
|
205
|
+
"flex w-full h-full",
|
|
206
|
+
"overflow-hidden relative grow-[2]",
|
|
207
|
+
"items-center justify-center text-gray-600",
|
|
208
|
+
"dark:text-gray-dark-400 mt-8",
|
|
209
|
+
e
|
|
210
|
+
),
|
|
211
|
+
...t
|
|
212
|
+
}
|
|
213
|
+
), Fe = ({
|
|
214
|
+
className: e,
|
|
215
|
+
...t
|
|
216
|
+
}) => /* @__PURE__ */ a(
|
|
217
|
+
E,
|
|
218
|
+
{
|
|
219
|
+
className: r(
|
|
220
|
+
"shrink-0 max-w-full",
|
|
221
|
+
"flex gap-3 px-5 pb-2 pt-0",
|
|
222
|
+
"overflow-x-auto [scrollbar-width:thin]",
|
|
223
|
+
e
|
|
224
|
+
),
|
|
225
|
+
...t
|
|
226
|
+
}
|
|
227
|
+
), Ge = ({
|
|
228
|
+
className: e,
|
|
229
|
+
...t
|
|
230
|
+
}) => /* @__PURE__ */ a(
|
|
231
|
+
P,
|
|
232
|
+
{
|
|
233
|
+
className: r(
|
|
234
|
+
"px-3 text-1sm font-medium rounded-full shrink-0",
|
|
235
|
+
"py-1 transition-all duration-200 leading-snug",
|
|
236
|
+
"border border-gray-300 dark:border-gray-dark-500",
|
|
237
|
+
"hover:bg-gray-50 dark:hover:bg-white-alpha-50",
|
|
238
|
+
"data-[state=active]:bg-inkeep-primary-light-subtle",
|
|
239
|
+
"hover:data-[state=active]:bg-inkeep-primary-light-subtle",
|
|
240
|
+
"data-[state=active]:text-inkeep-expanded-primary-900",
|
|
241
|
+
"data-[state=active]:border-inkeep-primary-medium-subtle",
|
|
242
|
+
"dark:data-[state=active]:bg-white-alpha-100",
|
|
243
|
+
"dark:hover:data-[state=active]:bg-white-alpha-100",
|
|
244
|
+
"dark:data-[state=active]:text-inkeep-expanded-primary-300",
|
|
245
|
+
"dark:data-[state=active]:border-inkeep-expanded-primary-300",
|
|
246
|
+
"focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",
|
|
247
|
+
e
|
|
248
|
+
),
|
|
249
|
+
...t
|
|
250
|
+
}
|
|
251
|
+
), Qe = ({
|
|
252
|
+
className: e,
|
|
253
|
+
...t
|
|
254
|
+
}) => /* @__PURE__ */ a(
|
|
255
|
+
w,
|
|
256
|
+
{
|
|
257
|
+
className: r("flex overflow-hidden h-full", e),
|
|
258
|
+
...t
|
|
259
|
+
}
|
|
260
|
+
), Ve = ({
|
|
261
|
+
className: e,
|
|
262
|
+
...t
|
|
263
|
+
}) => /* @__PURE__ */ a(
|
|
264
|
+
f,
|
|
265
|
+
{
|
|
266
|
+
className: r(
|
|
267
|
+
"overflow-hidden h-full first:w-full",
|
|
268
|
+
// Dual pane
|
|
269
|
+
"first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_44%]",
|
|
270
|
+
// Fade shadows
|
|
271
|
+
'befter:content-[""] befter:absolute befter:inset-x-0',
|
|
272
|
+
"befter:h-10 befter:pointer-events-none",
|
|
273
|
+
"befter:transition-opacity befter:duration-300",
|
|
274
|
+
"befter:ease-in-out ",
|
|
275
|
+
"before:top-0 after:bottom-0",
|
|
276
|
+
"before:bg-[linear-gradient(white,_transparent)] after:bg-[linear-gradient(transparent,_white)] ",
|
|
277
|
+
"dark:before:bg-[linear-gradient(var(--ikp-color-gray-dark-950),_transparent)] dark:after:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]",
|
|
278
|
+
"has-[[data-scroll-top]]:before:opacity-0",
|
|
279
|
+
"has-[[data-scroll-bottom]]:after:opacity-0",
|
|
280
|
+
e
|
|
281
|
+
),
|
|
282
|
+
...t
|
|
283
|
+
}
|
|
284
|
+
), We = ({
|
|
285
|
+
className: e,
|
|
286
|
+
...t
|
|
287
|
+
}) => /* @__PURE__ */ a(
|
|
288
|
+
y,
|
|
289
|
+
{
|
|
290
|
+
className: r("h-full w-full rounded-[inherit]", e),
|
|
291
|
+
...t
|
|
292
|
+
}
|
|
293
|
+
), $e = ({
|
|
294
|
+
className: e,
|
|
295
|
+
...t
|
|
296
|
+
}) => /* @__PURE__ */ a(
|
|
297
|
+
T,
|
|
298
|
+
{
|
|
299
|
+
className: r(
|
|
300
|
+
"flex select-none touch-none p-0.5",
|
|
301
|
+
"transition-colors duration-[160ms] ease-in-out",
|
|
302
|
+
"w-2.5 border-l border-l-transparent",
|
|
303
|
+
e
|
|
304
|
+
),
|
|
305
|
+
...t
|
|
306
|
+
}
|
|
307
|
+
), ze = ({
|
|
308
|
+
className: e,
|
|
309
|
+
...t
|
|
310
|
+
}) => /* @__PURE__ */ a(
|
|
311
|
+
N,
|
|
312
|
+
{
|
|
313
|
+
className: r("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
|
|
314
|
+
...t
|
|
315
|
+
}
|
|
316
|
+
), qe = l, Je = ({
|
|
317
|
+
className: e,
|
|
318
|
+
...t
|
|
319
|
+
}) => /* @__PURE__ */ a(
|
|
320
|
+
A,
|
|
321
|
+
{
|
|
322
|
+
className: r(
|
|
323
|
+
"w-full flex flex-col",
|
|
324
|
+
"items-center gap-2.5 h-full shrink-0",
|
|
325
|
+
"px-5 py-1 content-center -my-[1px]",
|
|
326
|
+
e
|
|
327
|
+
),
|
|
328
|
+
...t
|
|
329
|
+
}
|
|
330
|
+
), Ke = ({
|
|
331
|
+
className: e,
|
|
332
|
+
...t
|
|
333
|
+
}) => /* @__PURE__ */ a(
|
|
334
|
+
_,
|
|
335
|
+
{
|
|
336
|
+
className: r(s({ slot: "root" }), e),
|
|
337
|
+
...t
|
|
338
|
+
}
|
|
339
|
+
), Me = ({
|
|
340
|
+
className: e,
|
|
341
|
+
...t
|
|
342
|
+
}) => /* @__PURE__ */ a(
|
|
343
|
+
L,
|
|
344
|
+
{
|
|
345
|
+
className: r(s({ slot: "breadcrumbs" }), e),
|
|
346
|
+
...t
|
|
347
|
+
}
|
|
348
|
+
), Ue = ({
|
|
349
|
+
className: e,
|
|
350
|
+
...t
|
|
351
|
+
}) => /* @__PURE__ */ a(
|
|
352
|
+
B,
|
|
353
|
+
{
|
|
354
|
+
className: r(s({ slot: "breadcrumbsIcon" }), e),
|
|
355
|
+
...t
|
|
356
|
+
}
|
|
357
|
+
), Xe = ({
|
|
358
|
+
className: e,
|
|
359
|
+
...t
|
|
360
|
+
}) => /* @__PURE__ */ a(
|
|
361
|
+
O,
|
|
362
|
+
{
|
|
363
|
+
className: r(s({ slot: "icon" }), e),
|
|
364
|
+
...t
|
|
365
|
+
}
|
|
366
|
+
), Ye = ({
|
|
367
|
+
className: e,
|
|
368
|
+
...t
|
|
369
|
+
}) => /* @__PURE__ */ a(
|
|
370
|
+
C,
|
|
371
|
+
{
|
|
372
|
+
className: r(s({ slot: "title" }), e),
|
|
373
|
+
...t
|
|
374
|
+
}
|
|
375
|
+
), Ze = ({
|
|
376
|
+
className: e,
|
|
377
|
+
...t
|
|
378
|
+
}) => /* @__PURE__ */ a(
|
|
379
|
+
H,
|
|
380
|
+
{
|
|
381
|
+
className: r(s({ slot: "tag" }), e),
|
|
382
|
+
...t
|
|
383
|
+
}
|
|
384
|
+
), et = ({
|
|
385
|
+
className: e,
|
|
386
|
+
...t
|
|
387
|
+
}) => /* @__PURE__ */ a(
|
|
388
|
+
D,
|
|
389
|
+
{
|
|
390
|
+
className: r(s({ slot: "description" }), e),
|
|
391
|
+
...t
|
|
392
|
+
}
|
|
393
|
+
), tt = ({
|
|
394
|
+
className: e,
|
|
395
|
+
...t
|
|
396
|
+
}) => /* @__PURE__ */ a(
|
|
397
|
+
j,
|
|
398
|
+
{
|
|
399
|
+
className: r(s({ slot: "descriptionPart" }), e),
|
|
400
|
+
...t
|
|
401
|
+
}
|
|
402
|
+
), at = ({
|
|
403
|
+
className: e,
|
|
404
|
+
...t
|
|
405
|
+
}) => /* @__PURE__ */ a(
|
|
406
|
+
F,
|
|
407
|
+
{
|
|
408
|
+
className: r(s({ slot: "indicator" }), e),
|
|
409
|
+
...t
|
|
410
|
+
}
|
|
411
|
+
), rt = ({
|
|
412
|
+
className: e,
|
|
413
|
+
...t
|
|
414
|
+
}) => /* @__PURE__ */ a(
|
|
415
|
+
G,
|
|
416
|
+
{
|
|
417
|
+
className: r(
|
|
418
|
+
"flex-1 min-w-0 break-words pt-3 pb-4 pr-10 pl-5",
|
|
419
|
+
"hidden md:flex flex-col gap-6",
|
|
420
|
+
e
|
|
421
|
+
),
|
|
422
|
+
...t
|
|
423
|
+
}
|
|
424
|
+
), st = ({
|
|
425
|
+
className: e,
|
|
426
|
+
...t
|
|
427
|
+
}) => /* @__PURE__ */ a(
|
|
428
|
+
Q,
|
|
429
|
+
{
|
|
430
|
+
className: r("flex flex-col gap-5", e),
|
|
431
|
+
...t
|
|
432
|
+
}
|
|
433
|
+
), it = ({
|
|
434
|
+
className: e,
|
|
435
|
+
...t
|
|
436
|
+
}) => /* @__PURE__ */ a(
|
|
437
|
+
V,
|
|
438
|
+
{
|
|
439
|
+
className: r("inline-block", e),
|
|
440
|
+
...t
|
|
441
|
+
}
|
|
442
|
+
), dt = ({
|
|
443
|
+
className: e,
|
|
444
|
+
...t
|
|
445
|
+
}) => /* @__PURE__ */ a(
|
|
446
|
+
W,
|
|
447
|
+
{
|
|
448
|
+
className: r(
|
|
449
|
+
"text-3xl leading-snug tracking-tight",
|
|
450
|
+
"font-semibold hover:text-inkeep-primary-stronger",
|
|
451
|
+
"dark:hover:text-inkeep-expanded-primary-100",
|
|
452
|
+
e
|
|
453
|
+
),
|
|
454
|
+
...t
|
|
455
|
+
}
|
|
456
|
+
), lt = ({
|
|
457
|
+
className: e,
|
|
458
|
+
...t
|
|
459
|
+
}) => /* @__PURE__ */ a(
|
|
460
|
+
$,
|
|
461
|
+
{
|
|
462
|
+
className: r(
|
|
463
|
+
"inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",
|
|
464
|
+
e
|
|
465
|
+
),
|
|
466
|
+
...t
|
|
467
|
+
}
|
|
468
|
+
), mt = ({
|
|
469
|
+
className: e,
|
|
470
|
+
...t
|
|
471
|
+
}) => /* @__PURE__ */ a(
|
|
472
|
+
z,
|
|
473
|
+
{
|
|
474
|
+
className: r(
|
|
475
|
+
s({ slot: "breadcrumbs" }),
|
|
476
|
+
"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",
|
|
477
|
+
e
|
|
478
|
+
),
|
|
479
|
+
...t
|
|
480
|
+
}
|
|
481
|
+
), nt = ({
|
|
482
|
+
className: e,
|
|
483
|
+
...t
|
|
484
|
+
}) => /* @__PURE__ */ a(
|
|
485
|
+
q,
|
|
486
|
+
{
|
|
487
|
+
className: r(s({ slot: "breadcrumbsIcon" }), e),
|
|
488
|
+
...t
|
|
489
|
+
}
|
|
490
|
+
), ct = ({
|
|
491
|
+
className: e,
|
|
492
|
+
componentStyles: t,
|
|
493
|
+
...i
|
|
494
|
+
}) => /* @__PURE__ */ a(
|
|
495
|
+
J,
|
|
496
|
+
{
|
|
497
|
+
className: r(
|
|
498
|
+
"max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",
|
|
499
|
+
e
|
|
500
|
+
),
|
|
501
|
+
componentStyles: ce(oe, t ?? {}),
|
|
502
|
+
...i
|
|
503
|
+
}
|
|
504
|
+
), ot = ({
|
|
505
|
+
className: e,
|
|
506
|
+
...t
|
|
507
|
+
}) => /* @__PURE__ */ a(
|
|
508
|
+
K,
|
|
509
|
+
{
|
|
510
|
+
className: r("flex flex-col gap-3", e),
|
|
511
|
+
...t
|
|
512
|
+
}
|
|
513
|
+
), ht = ({
|
|
514
|
+
className: e,
|
|
515
|
+
...t
|
|
516
|
+
}) => /* @__PURE__ */ a(
|
|
517
|
+
M,
|
|
518
|
+
{
|
|
519
|
+
className: r(
|
|
520
|
+
"text-xs uppercase font-semibold tracking-widest",
|
|
521
|
+
"text-gray-500 dark:text-white-alpha-500",
|
|
522
|
+
e
|
|
523
|
+
),
|
|
524
|
+
...t
|
|
525
|
+
}
|
|
526
|
+
), ut = ({
|
|
527
|
+
className: e,
|
|
528
|
+
...t
|
|
529
|
+
}) => /* @__PURE__ */ a(
|
|
530
|
+
U,
|
|
531
|
+
{
|
|
532
|
+
className: r("flex flex-col gap-4", e),
|
|
533
|
+
...t
|
|
534
|
+
}
|
|
535
|
+
), pt = ({
|
|
536
|
+
className: e,
|
|
537
|
+
...t
|
|
538
|
+
}) => /* @__PURE__ */ a(
|
|
539
|
+
X,
|
|
540
|
+
{
|
|
541
|
+
className: r(
|
|
542
|
+
"flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",
|
|
543
|
+
`${t.href ? "cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 " : ""}`,
|
|
544
|
+
"data-[is-match]:text-inkeep-expanded-primary-700",
|
|
545
|
+
"dark:data-[is-match]:text-inkeep-expanded-primary-300",
|
|
546
|
+
e
|
|
547
|
+
),
|
|
548
|
+
...t
|
|
549
|
+
}
|
|
550
|
+
), bt = ({
|
|
551
|
+
className: e,
|
|
552
|
+
...t
|
|
553
|
+
}) => /* @__PURE__ */ a(Y, { className: r(e), ...t }), gt = ({
|
|
554
|
+
className: e,
|
|
555
|
+
...t
|
|
556
|
+
}) => /* @__PURE__ */ a(Z, { className: r(e), ...t }), It = ({
|
|
557
|
+
className: e,
|
|
558
|
+
...t
|
|
559
|
+
}) => /* @__PURE__ */ a(
|
|
560
|
+
ee,
|
|
561
|
+
{
|
|
562
|
+
className: r("h-3 !min-h-0 !min-w-0", e),
|
|
563
|
+
...t
|
|
564
|
+
}
|
|
565
|
+
), xt = ({
|
|
566
|
+
className: e,
|
|
567
|
+
...t
|
|
568
|
+
}) => /* @__PURE__ */ a(
|
|
569
|
+
te,
|
|
570
|
+
{
|
|
571
|
+
className: r(
|
|
572
|
+
"justify-self-end",
|
|
573
|
+
"px-5 pt-1 pb-3",
|
|
574
|
+
"[[data-mobile]_&]:py-0",
|
|
575
|
+
"[[data-mobile]_&]:items-center",
|
|
576
|
+
"[[data-mobile]_&]:h-[var(--footer-height)]",
|
|
577
|
+
"hidden data-[has-results]:flex",
|
|
578
|
+
e
|
|
579
|
+
),
|
|
580
|
+
...t
|
|
581
|
+
}
|
|
582
|
+
), vt = ({
|
|
583
|
+
className: e,
|
|
584
|
+
...t
|
|
585
|
+
}) => /* @__PURE__ */ a(
|
|
586
|
+
ae,
|
|
587
|
+
{
|
|
588
|
+
className: r("flex items-center whitespace-nowrap", e),
|
|
589
|
+
...t
|
|
590
|
+
}
|
|
591
|
+
), St = ({
|
|
592
|
+
className: e,
|
|
593
|
+
...t
|
|
594
|
+
}) => /* @__PURE__ */ a(
|
|
595
|
+
re,
|
|
596
|
+
{
|
|
597
|
+
className: r("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600", e),
|
|
598
|
+
...t
|
|
599
|
+
}
|
|
600
|
+
), kt = ({
|
|
601
|
+
className: e,
|
|
602
|
+
...t
|
|
603
|
+
}) => /* @__PURE__ */ a(
|
|
604
|
+
se,
|
|
605
|
+
{
|
|
606
|
+
className: r("text-gray-500 dark:text-white-alpha-600", "w-5 ml-1.5 mr-0.5", e),
|
|
607
|
+
...t
|
|
608
|
+
}
|
|
609
|
+
), Rt = ({
|
|
610
|
+
className: e,
|
|
611
|
+
...t
|
|
612
|
+
}) => /* @__PURE__ */ a(
|
|
613
|
+
ie,
|
|
614
|
+
{
|
|
615
|
+
className: r(
|
|
616
|
+
le(),
|
|
617
|
+
"inline-flex text-xs md:text-sm text-gray-500",
|
|
618
|
+
"dark:text-white-alpha-600 font-medium",
|
|
619
|
+
e
|
|
620
|
+
),
|
|
621
|
+
...t
|
|
622
|
+
}
|
|
623
|
+
);
|
|
624
|
+
export {
|
|
625
|
+
Ae as AskAITrigger,
|
|
626
|
+
_e as AskAITriggerIcon,
|
|
627
|
+
Oe as AskAITriggerIndicator,
|
|
628
|
+
Ce as AskAITriggerIndicatorText,
|
|
629
|
+
Le as AskAITriggerLabel,
|
|
630
|
+
Be as AskAITriggerQuery,
|
|
631
|
+
we as Content,
|
|
632
|
+
xt as Footer,
|
|
633
|
+
Te as Input,
|
|
634
|
+
fe as InputGroup,
|
|
635
|
+
ye as InputIcon,
|
|
636
|
+
Ne as Loading,
|
|
637
|
+
Re as Provider,
|
|
638
|
+
He as Results,
|
|
639
|
+
Qe as ResultsContent,
|
|
640
|
+
je as ResultsEmpty,
|
|
641
|
+
Ke as ResultsItem,
|
|
642
|
+
Ue as ResultsItemBreadcrumbIcon,
|
|
643
|
+
Me as ResultsItemBreadcrumbs,
|
|
644
|
+
et as ResultsItemDescription,
|
|
645
|
+
tt as ResultsItemDescriptionPart,
|
|
646
|
+
Xe as ResultsItemIcon,
|
|
647
|
+
at as ResultsItemIndicator,
|
|
648
|
+
rt as ResultsItemPreview,
|
|
649
|
+
ct as ResultsItemPreviewBody,
|
|
650
|
+
nt as ResultsItemPreviewBreadcrumbIcon,
|
|
651
|
+
mt as ResultsItemPreviewBreadcrumbs,
|
|
652
|
+
st as ResultsItemPreviewHeader,
|
|
653
|
+
it as ResultsItemPreviewHeading,
|
|
654
|
+
ot as ResultsItemPreviewOutline,
|
|
655
|
+
pt as ResultsItemPreviewOutlineItem,
|
|
656
|
+
bt as ResultsItemPreviewOutlineItemIcon,
|
|
657
|
+
It as ResultsItemPreviewOutlineItemLinkIcon,
|
|
658
|
+
gt as ResultsItemPreviewOutlineItemText,
|
|
659
|
+
ut as ResultsItemPreviewOutlineList,
|
|
660
|
+
ht as ResultsItemPreviewOutlineTitle,
|
|
661
|
+
dt as ResultsItemPreviewTitle,
|
|
662
|
+
lt as ResultsItemPreviewTitleLinkIcon,
|
|
663
|
+
Ze as ResultsItemTag,
|
|
664
|
+
Ye as ResultsItemTitle,
|
|
665
|
+
Je as ResultsList,
|
|
666
|
+
De as ResultsLoading,
|
|
667
|
+
Ve as ResultsScrollArea,
|
|
668
|
+
qe as ResultsScrollAreaCorner,
|
|
669
|
+
$e as ResultsScrollAreaScrollbar,
|
|
670
|
+
ze as ResultsScrollAreaThumb,
|
|
671
|
+
We as ResultsScrollAreaViewport,
|
|
672
|
+
Ge as ResultsTab,
|
|
673
|
+
Fe as ResultsTabList,
|
|
674
|
+
Pe as Root,
|
|
675
|
+
Rt as TaglineBrandName,
|
|
676
|
+
vt as TaglineContainer,
|
|
677
|
+
kt as TaglineLogo,
|
|
678
|
+
St as TaglineText,
|
|
679
|
+
Ee as Wrapper
|
|
680
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./embedded-chat.cjs"),r=require("./sidebar-chat.cjs"),a=require("./embedded-search.cjs"),t=require("./modal.cjs"),d=require("./chat-button.cjs"),o=require("./searchbar.cjs"),i=require("./shadow.cjs"),s=require("./loading-indicator.cjs"),u=require("./ui/recipes/widget-toggle.cjs"),c=require("./message.cjs"),n=require("./data-summary-group.cjs");exports.EmbeddedChat=e;exports.SidebarChat=r;exports.EmbeddedSearch=a;exports.Modal=t;exports.ChatButton=d;exports.SearchBar=o;exports.Shadow=i.Shadow;exports.LoadingIndicator=s.LoadingIndicator;exports.widgetToggle=u.widgetToggle;exports.EmbeddedChatMessagePart=c.EmbeddedChatMessagePart;exports.DataSummaryGroup=n.DataSummaryGroup;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as r from "./embedded-chat.js";
|
|
2
|
+
import * as a from "./sidebar-chat.js";
|
|
3
|
+
import * as o from "./embedded-search.js";
|
|
4
|
+
import * as e from "./modal.js";
|
|
5
|
+
import * as t from "./chat-button.js";
|
|
6
|
+
import * as m from "./searchbar.js";
|
|
7
|
+
import { Shadow as s } from "./shadow.js";
|
|
8
|
+
import { LoadingIndicator as f } from "./loading-indicator.js";
|
|
9
|
+
import { widgetToggle as x } from "./ui/recipes/widget-toggle.js";
|
|
10
|
+
import { EmbeddedChatMessagePart as c } from "./message.js";
|
|
11
|
+
import { DataSummaryGroup as S } from "./data-summary-group.js";
|
|
12
|
+
export {
|
|
13
|
+
t as ChatButton,
|
|
14
|
+
S as DataSummaryGroup,
|
|
15
|
+
r as EmbeddedChat,
|
|
16
|
+
c as EmbeddedChatMessagePart,
|
|
17
|
+
o as EmbeddedSearch,
|
|
18
|
+
f as LoadingIndicator,
|
|
19
|
+
e as Modal,
|
|
20
|
+
m as SearchBar,
|
|
21
|
+
s as Shadow,
|
|
22
|
+
a as SidebarChat,
|
|
23
|
+
x as widgetToggle
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),n=["Thinking","Looking for content","Analyzing"];function o(){const[i,s]=r.useState(0);return r.useEffect(()=>{const e=setInterval(()=>{s(a=>a+1<n.length?a+1:(clearInterval(e),a))},3500);return()=>clearInterval(e)},[]),t.jsxs("div",{className:"flex items-center space-x-2 font-medium text-sm text-gray-700 dark:text-gray-dark-300","aria-live":"polite",children:[t.jsx("span",{className:"animate-shimmer bg-[linear-gradient(to_bottom_right,_var(--ikp-color-gray-700),_var(--ikp-color-gray-400))] dark:bg-[linear-gradient(to_bottom_right,_var(--ikp-color-gray-dark-300),_var(--ikp-color-gray-dark-100))] bg-clip-text text-transparent",children:n[i]}),t.jsx("div",{className:"flex space-x-1",children:[0,1,2].map(e=>t.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:`${e*.2}s`},children:"."},e))})]})}exports.LoadingIndicator=o;
|