@inkeep/agents-ui 0.0.0-dev-20260313222128
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 -0
- 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.d.ts +20 -0
- package/dist/color-mode/index.js +170 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +238 -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.d.ts +3 -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.d.ts +3 -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.d.ts +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.d.ts +460 -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.d.ts +10 -0
- package/dist/primitives/atoms/codeblock/index.js +40 -0
- package/dist/primitives/atoms/combobox.cjs +1 -0
- package/dist/primitives/atoms/combobox.js +275 -0
- package/dist/primitives/atoms/custom-styles.cjs +1 -0
- package/dist/primitives/atoms/custom-styles.d.ts +5 -0
- package/dist/primitives/atoms/custom-styles.js +57 -0
- package/dist/primitives/atoms/dialog.cjs +1 -0
- package/dist/primitives/atoms/dialog.d.ts +94 -0
- package/dist/primitives/atoms/dialog.js +227 -0
- package/dist/primitives/atoms/error-boundary.cjs +1 -0
- package/dist/primitives/atoms/error-boundary.d.ts +6 -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.d.ts +6 -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.d.ts +86 -0
- package/dist/primitives/atoms/icons/built-in-icons.js +89 -0
- package/dist/primitives/atoms/icons/checkbox-icon.cjs +1 -0
- package/dist/primitives/atoms/icons/checkbox-icon.d.ts +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.d.ts +4 -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.d.ts +2 -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.d.ts +2 -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.d.ts +34 -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.d.ts +4 -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.d.ts +6 -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.d.ts +28 -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.d.ts +2 -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.d.ts +2 -0
- package/dist/primitives/atoms/icons/inkeep-default-icons.js +28 -0
- package/dist/primitives/atoms/link.cjs +1 -0
- package/dist/primitives/atoms/link.d.ts +14 -0
- package/dist/primitives/atoms/link.js +35 -0
- package/dist/primitives/atoms/markdown/components.cjs +1 -0
- package/dist/primitives/atoms/markdown/components.d.ts +31 -0
- package/dist/primitives/atoms/markdown/components.js +76 -0
- package/dist/primitives/atoms/markdown/index.cjs +1 -0
- package/dist/primitives/atoms/markdown/index.d.ts +17 -0
- package/dist/primitives/atoms/markdown/index.js +121 -0
- package/dist/primitives/atoms/markdown/rehype-inline-code-property.cjs +1 -0
- package/dist/primitives/atoms/markdown/rehype-inline-code-property.d.ts +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.d.ts +2 -0
- package/dist/primitives/atoms/portal-with-theme.js +12 -0
- package/dist/primitives/atoms/portal.cjs +1 -0
- package/dist/primitives/atoms/portal.d.ts +8 -0
- package/dist/primitives/atoms/portal.js +19 -0
- package/dist/primitives/atoms/select.cjs +1 -0
- package/dist/primitives/atoms/select.d.ts +136 -0
- package/dist/primitives/atoms/select.js +785 -0
- package/dist/primitives/atoms/shadow/context.cjs +1 -0
- package/dist/primitives/atoms/shadow/context.d.ts +14 -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.d.ts +8 -0
- package/dist/primitives/atoms/shadow/create.js +56 -0
- package/dist/primitives/atoms/shadow/index.d.ts +1 -0
- package/dist/primitives/atoms/shadow/root.cjs +1 -0
- package/dist/primitives/atoms/shadow/root.d.ts +5 -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.d.ts +2 -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.d.ts +9 -0
- package/dist/primitives/atoms/shadow/utils.js +16 -0
- package/dist/primitives/components/chat-bubble/index.cjs +1 -0
- package/dist/primitives/components/chat-bubble/index.d.ts +10 -0
- package/dist/primitives/components/chat-bubble/index.js +38 -0
- package/dist/primitives/components/chat-button.cjs +1 -0
- package/dist/primitives/components/chat-button.d.ts +20 -0
- package/dist/primitives/components/chat-button.js +51 -0
- package/dist/primitives/components/chat-history/index.cjs +1 -0
- package/dist/primitives/components/chat-history/index.d.ts +27 -0
- package/dist/primitives/components/chat-history/index.js +105 -0
- package/dist/primitives/components/data-summaries.cjs +1 -0
- package/dist/primitives/components/data-summaries.d.ts +14 -0
- package/dist/primitives/components/data-summaries.js +38 -0
- package/dist/primitives/components/embedded-chat/chat-provider.cjs +1 -0
- package/dist/primitives/components/embedded-chat/chat-provider.d.ts +19 -0
- package/dist/primitives/components/embedded-chat/chat-provider.js +20 -0
- package/dist/primitives/components/embedded-chat/use-captcha.cjs +1 -0
- package/dist/primitives/components/embedded-chat/use-captcha.d.ts +30 -0
- package/dist/primitives/components/embedded-chat/use-captcha.js +67 -0
- package/dist/primitives/components/embedded-chat/use-chat-action.cjs +1 -0
- package/dist/primitives/components/embedded-chat/use-chat-action.d.ts +9 -0
- package/dist/primitives/components/embedded-chat/use-chat-action.js +41 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +57 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +312 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.d.ts +30 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.js +159 -0
- package/dist/primitives/components/embedded-chat.cjs +11 -0
- package/dist/primitives/components/embedded-chat.d.ts +461 -0
- package/dist/primitives/components/embedded-chat.js +2051 -0
- package/dist/primitives/components/embedded-search/search-provider.cjs +1 -0
- package/dist/primitives/components/embedded-search/search-provider.d.ts +21 -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.d.ts +3 -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.d.ts +4 -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.d.ts +19 -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.d.ts +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.d.ts +249 -0
- package/dist/primitives/components/embedded-search.js +628 -0
- package/dist/primitives/components/factory.cjs +1 -0
- package/dist/primitives/components/factory.d.ts +19 -0
- package/dist/primitives/components/factory.js +39 -0
- package/dist/primitives/components/index.cjs +1 -0
- package/dist/primitives/components/index.d.ts +13 -0
- package/dist/primitives/components/index.js +33 -0
- package/dist/primitives/components/modal/modal-provider.cjs +1 -0
- package/dist/primitives/components/modal/modal-provider.d.ts +12 -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.d.ts +7 -0
- package/dist/primitives/components/modal/use-inkeep-modal.js +9 -0
- package/dist/primitives/components/modal/widget-auto-focus.cjs +1 -0
- package/dist/primitives/components/modal/widget-auto-focus.d.ts +2 -0
- package/dist/primitives/components/modal/widget-auto-focus.js +25 -0
- package/dist/primitives/components/modal.cjs +1 -0
- package/dist/primitives/components/modal.d.ts +18 -0
- package/dist/primitives/components/modal.js +40 -0
- package/dist/primitives/components/presence.cjs +1 -0
- package/dist/primitives/components/presence.d.ts +8 -0
- package/dist/primitives/components/presence.js +26 -0
- package/dist/primitives/components/searchbar.cjs +1 -0
- package/dist/primitives/components/searchbar.d.ts +23 -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.d.ts +9 -0
- package/dist/primitives/components/sidebar-chat/index.js +67 -0
- package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.cjs +1 -0
- package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.d.ts +5 -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.d.ts +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.d.ts +5 -0
- package/dist/primitives/components/use-component-trigger.js +17 -0
- package/dist/primitives/constants/search.cjs +1 -0
- package/dist/primitives/constants/search.d.ts +1 -0
- package/dist/primitives/constants/search.js +5 -0
- package/dist/primitives/hooks/index.cjs +1 -0
- package/dist/primitives/hooks/index.d.ts +12 -0
- package/dist/primitives/hooks/index.js +26 -0
- package/dist/primitives/hooks/use-anonymous-session.cjs +1 -0
- package/dist/primitives/hooks/use-anonymous-session.d.ts +12 -0
- package/dist/primitives/hooks/use-anonymous-session.js +82 -0
- package/dist/primitives/hooks/use-boolean.cjs +1 -0
- package/dist/primitives/hooks/use-boolean.d.ts +10 -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.d.ts +6 -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.d.ts +5 -0
- package/dist/primitives/hooks/use-container-size.js +18 -0
- package/dist/primitives/hooks/use-conversation-loader.cjs +1 -0
- package/dist/primitives/hooks/use-conversation-loader.d.ts +13 -0
- package/dist/primitives/hooks/use-conversation-loader.js +36 -0
- package/dist/primitives/hooks/use-copy-to-clipboard.cjs +1 -0
- package/dist/primitives/hooks/use-copy-to-clipboard.d.ts +3 -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.d.ts +1 -0
- package/dist/primitives/hooks/use-debounce.js +16 -0
- package/dist/primitives/hooks/use-inkeep-api-client.cjs +1 -0
- package/dist/primitives/hooks/use-inkeep-api-client.d.ts +33 -0
- package/dist/primitives/hooks/use-inkeep-api-client.js +87 -0
- package/dist/primitives/hooks/use-inkeep-open-state.cjs +1 -0
- package/dist/primitives/hooks/use-inkeep-open-state.d.ts +18 -0
- package/dist/primitives/hooks/use-inkeep-open-state.js +47 -0
- package/dist/primitives/hooks/use-instant-update.cjs +1 -0
- package/dist/primitives/hooks/use-instant-update.d.ts +16 -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.d.ts +1 -0
- package/dist/primitives/hooks/use-is-mounted.js +11 -0
- package/dist/primitives/hooks/use-local-storage.cjs +1 -0
- package/dist/primitives/hooks/use-local-storage.d.ts +8 -0
- package/dist/primitives/hooks/use-local-storage.js +26 -0
- package/dist/primitives/hooks/use-media-query.cjs +1 -0
- package/dist/primitives/hooks/use-media-query.d.ts +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.d.ts +12 -0
- package/dist/primitives/hooks/use-resize-observer.js +32 -0
- package/dist/primitives/hooks/use-scrolling-fades.cjs +1 -0
- package/dist/primitives/hooks/use-scrolling-fades.d.ts +2 -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.d.ts +3 -0
- package/dist/primitives/hooks/use-settle-action.js +11 -0
- package/dist/primitives/hooks/use-simple-scroll.cjs +1 -0
- package/dist/primitives/hooks/use-simple-scroll.d.ts +16 -0
- package/dist/primitives/hooks/use-simple-scroll.js +51 -0
- package/dist/primitives/hooks/use-streaming-events.cjs +1 -0
- package/dist/primitives/hooks/use-streaming-events.d.ts +8 -0
- package/dist/primitives/hooks/use-streaming-events.js +33 -0
- package/dist/primitives/index.cjs +1 -0
- package/dist/primitives/index.d.ts +13 -0
- package/dist/primitives/index.js +174 -0
- package/dist/primitives/providers/attachment-item-provider.cjs +1 -0
- package/dist/primitives/providers/attachment-item-provider.d.ts +9 -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.d.ts +30 -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.d.ts +8 -0
- package/dist/primitives/providers/base-events-provider.js +37 -0
- package/dist/primitives/providers/chat-bubble-provider.cjs +1 -0
- package/dist/primitives/providers/chat-bubble-provider.d.ts +22 -0
- package/dist/primitives/providers/chat-bubble-provider.js +19 -0
- package/dist/primitives/providers/chat-form-provider.cjs +1 -0
- package/dist/primitives/providers/chat-form-provider.d.ts +26 -0
- package/dist/primitives/providers/chat-form-provider.js +109 -0
- package/dist/primitives/providers/chat-history-provider.cjs +1 -0
- package/dist/primitives/providers/chat-history-provider.d.ts +32 -0
- package/dist/primitives/providers/chat-history-provider.js +105 -0
- package/dist/primitives/providers/config-provider.cjs +1 -0
- package/dist/primitives/providers/config-provider.d.ts +24 -0
- package/dist/primitives/providers/config-provider.js +40 -0
- package/dist/primitives/providers/feedback-item-provider.cjs +1 -0
- package/dist/primitives/providers/feedback-item-provider.d.ts +10 -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.d.ts +16 -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.d.ts +15 -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.d.ts +11 -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.d.ts +10 -0
- package/dist/primitives/providers/hover-popover-provider.js +13 -0
- package/dist/primitives/providers/index.cjs +1 -0
- package/dist/primitives/providers/index.d.ts +19 -0
- package/dist/primitives/providers/index.js +65 -0
- package/dist/primitives/providers/markdown-provider.cjs +1 -0
- package/dist/primitives/providers/markdown-provider.d.ts +9 -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.d.ts +13 -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.d.ts +10 -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.d.ts +8 -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.d.ts +8 -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.d.ts +61 -0
- package/dist/primitives/providers/sidebar-chat-provider.js +37 -0
- package/dist/primitives/providers/source-item-provider.cjs +1 -0
- package/dist/primitives/providers/source-item-provider.d.ts +12 -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.d.ts +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.d.ts +10 -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.d.ts +662 -0
- package/dist/primitives/utils/component-ids.js +361 -0
- package/dist/primitives/utils/compose-event-handlers.cjs +1 -0
- package/dist/primitives/utils/compose-event-handlers.d.ts +3 -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.d.ts +5 -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.d.ts +169 -0
- package/dist/primitives/utils/default-settings.js +52 -0
- package/dist/primitives/utils/form.cjs +1 -0
- package/dist/primitives/utils/form.d.ts +3 -0
- package/dist/primitives/utils/form.js +19 -0
- package/dist/primitives/utils/generate-uid.cjs +1 -0
- package/dist/primitives/utils/generate-uid.d.ts +2 -0
- package/dist/primitives/utils/generate-uid.js +14 -0
- package/dist/primitives/utils/get-message-metadata.d.ts +8 -0
- package/dist/primitives/utils/get-source-icon.cjs +1 -0
- package/dist/primitives/utils/get-source-icon.d.ts +2 -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.d.ts +4 -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.d.ts +7 -0
- package/dist/primitives/utils/merge-props.js +41 -0
- package/dist/primitives/utils/misc.cjs +1 -0
- package/dist/primitives/utils/misc.d.ts +12 -0
- package/dist/primitives/utils/misc.js +31 -0
- package/dist/primitives/utils/split-props.cjs +1 -0
- package/dist/primitives/utils/split-props.d.ts +14 -0
- package/dist/primitives/utils/split-props.js +10 -0
- package/dist/react/chat-button-modal.cjs +1 -0
- package/dist/react/chat-button-modal.d.ts +22 -0
- package/dist/react/chat-button-modal.js +41 -0
- package/dist/react/chat-button.cjs +1 -0
- package/dist/react/chat-button.d.ts +28 -0
- package/dist/react/chat-button.js +73 -0
- package/dist/react/embedded-chat.cjs +1 -0
- package/dist/react/embedded-chat.d.ts +15 -0
- package/dist/react/embedded-chat.js +431 -0
- package/dist/react/embedded-search-and-chat.cjs +1 -0
- package/dist/react/embedded-search-and-chat.d.ts +40 -0
- package/dist/react/embedded-search-and-chat.impl.cjs +1 -0
- package/dist/react/embedded-search-and-chat.impl.d.ts +9 -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.d.ts +17 -0
- package/dist/react/embedded-search.js +181 -0
- package/dist/react/index.cjs +1 -0
- package/dist/react/index.d.ts +13 -0
- package/dist/react/index.js +238 -0
- package/dist/react/modal.chat.cjs +1 -0
- package/dist/react/modal.chat.d.ts +9 -0
- package/dist/react/modal.chat.js +21 -0
- package/dist/react/modal.cjs +1 -0
- package/dist/react/modal.d.ts +23 -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.d.ts +6 -0
- package/dist/react/modal.search-and-chat.js +27 -0
- package/dist/react/modal.search.cjs +1 -0
- package/dist/react/modal.search.d.ts +6 -0
- package/dist/react/modal.search.js +21 -0
- package/dist/react/searchbar.cjs +1 -0
- package/dist/react/searchbar.d.ts +13 -0
- package/dist/react/searchbar.js +68 -0
- package/dist/react/sidebar-chat.cjs +1 -0
- package/dist/react/sidebar-chat.d.ts +4 -0
- package/dist/react/sidebar-chat.js +53 -0
- package/dist/react/utils.cjs +1 -0
- package/dist/react/utils.d.ts +6 -0
- package/dist/react/utils.js +20 -0
- package/dist/react/widget-toggle.cjs +1 -0
- package/dist/react/widget-toggle.d.ts +14 -0
- package/dist/react/widget-toggle.js +65 -0
- package/dist/styled/components/chat-bubble.cjs +1 -0
- package/dist/styled/components/chat-bubble.d.ts +5 -0
- package/dist/styled/components/chat-bubble.js +70 -0
- package/dist/styled/components/chat-button.cjs +1 -0
- package/dist/styled/components/chat-button.d.ts +9 -0
- package/dist/styled/components/chat-button.js +60 -0
- package/dist/styled/components/chat-history.cjs +1 -0
- package/dist/styled/components/chat-history.d.ts +15 -0
- package/dist/styled/components/chat-history.js +197 -0
- package/dist/styled/components/data-summary-group.cjs +1 -0
- package/dist/styled/components/data-summary-group.d.ts +11 -0
- package/dist/styled/components/data-summary-group.js +96 -0
- package/dist/styled/components/embedded-chat/session-loading.cjs +1 -0
- package/dist/styled/components/embedded-chat/session-loading.d.ts +1 -0
- package/dist/styled/components/embedded-chat/session-loading.js +23 -0
- package/dist/styled/components/embedded-chat.cjs +1 -0
- package/dist/styled/components/embedded-chat.d.ts +211 -0
- package/dist/styled/components/embedded-chat.js +1997 -0
- package/dist/styled/components/embedded-search/results-loading.cjs +1 -0
- package/dist/styled/components/embedded-search/results-loading.d.ts +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.d.ts +73 -0
- package/dist/styled/components/embedded-search.js +680 -0
- package/dist/styled/components/index.cjs +1 -0
- package/dist/styled/components/index.d.ts +13 -0
- package/dist/styled/components/index.js +28 -0
- package/dist/styled/components/loading-indicator.cjs +1 -0
- package/dist/styled/components/loading-indicator.d.ts +1 -0
- package/dist/styled/components/loading-indicator.js +36 -0
- package/dist/styled/components/message.cjs +1 -0
- package/dist/styled/components/message.d.ts +4 -0
- package/dist/styled/components/message.js +333 -0
- package/dist/styled/components/modal.cjs +1 -0
- package/dist/styled/components/modal.d.ts +6 -0
- package/dist/styled/components/modal.js +46 -0
- package/dist/styled/components/searchbar.cjs +1 -0
- package/dist/styled/components/searchbar.d.ts +11 -0
- package/dist/styled/components/searchbar.js +81 -0
- package/dist/styled/components/shadow.cjs +1 -0
- package/dist/styled/components/shadow.d.ts +3 -0
- package/dist/styled/components/shadow.js +8 -0
- package/dist/styled/components/sidebar-chat.cjs +1 -0
- package/dist/styled/components/sidebar-chat.d.ts +6 -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.d.ts +23 -0
- package/dist/styled/components/ui/markdown-styles.js +39 -0
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.cjs +1 -0
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.d.ts +7 -0
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.js +33 -0
- package/dist/styled/components/ui/recipes/attachment.cjs +1 -0
- package/dist/styled/components/ui/recipes/attachment.d.ts +4 -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.d.ts +6 -0
- package/dist/styled/components/ui/recipes/button.js +87 -0
- package/dist/styled/components/ui/recipes/checkbox.cjs +1 -0
- package/dist/styled/components/ui/recipes/checkbox.d.ts +4 -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.d.ts +4 -0
- package/dist/styled/components/ui/recipes/citation.js +75 -0
- package/dist/styled/components/ui/recipes/combobox.cjs +1 -0
- package/dist/styled/components/ui/recipes/combobox.d.ts +4 -0
- package/dist/styled/components/ui/recipes/combobox.js +57 -0
- package/dist/styled/components/ui/recipes/icon.cjs +1 -0
- package/dist/styled/components/ui/recipes/icon.d.ts +2 -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.d.ts +16 -0
- package/dist/styled/components/ui/recipes/index.js +39 -0
- package/dist/styled/components/ui/recipes/input.cjs +1 -0
- package/dist/styled/components/ui/recipes/input.d.ts +5 -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.d.ts +2 -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.d.ts +16 -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.d.ts +4 -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.d.ts +4 -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.d.ts +4 -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.d.ts +4 -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.d.ts +2 -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.d.ts +4 -0
- package/dist/styled/components/ui/recipes/widget-toggle.js +35 -0
- package/dist/styled/index.cjs +1 -0
- package/dist/styled/index.d.ts +2 -0
- package/dist/styled/index.js +200 -0
- package/dist/styled/inkeep.css.cjs +4567 -0
- package/dist/styled/inkeep.css.js +4571 -0
- package/dist/styled/utils.cjs +1 -0
- package/dist/styled/utils.d.ts +4 -0
- package/dist/styled/utils.js +11 -0
- package/dist/theme/color-utils.cjs +1 -0
- package/dist/theme/color-utils.d.ts +1 -0
- package/dist/theme/color-utils.js +21 -0
- package/dist/theme/colors.cjs +1 -0
- package/dist/theme/colors.d.ts +104 -0
- package/dist/theme/colors.js +143 -0
- package/dist/theme/index.cjs +1 -0
- package/dist/theme/index.d.ts +125 -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.d.ts +2 -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.d.ts +3 -0
- package/dist/theme/utils/generate-theme-variables.js +34 -0
- package/dist/types/color-mode.d.ts +44 -0
- package/dist/types/config/ai.d.ts +269 -0
- package/dist/types/config/base.d.ts +358 -0
- package/dist/types/config/components.d.ts +16 -0
- package/dist/types/config/filters.d.ts +17 -0
- package/dist/types/config/index.d.ts +36 -0
- package/dist/types/config/open-settings.d.ts +70 -0
- package/dist/types/config/search.d.ts +95 -0
- package/dist/types/config/settings/actions.d.ts +112 -0
- package/dist/types/config/settings/form.d.ts +83 -0
- package/dist/types/config/settings/jsonschema.d.ts +105 -0
- package/dist/types/config/settings/workflow.d.ts +86 -0
- package/dist/types/events.d.ts +188 -0
- package/dist/types/icons/built-in.d.ts +1 -0
- package/dist/types/icons/custom.d.ts +33 -0
- package/dist/types/icons/index.d.ts +2 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/js/index.d.ts +55 -0
- package/dist/types/message.d.ts +43 -0
- package/dist/types/shadow.d.ts +15 -0
- package/dist/types/sources.d.ts +100 -0
- package/dist/types/theme.d.ts +25 -0
- package/dist/types/widget.d.ts +27 -0
- package/package.json +140 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { SidebarChatPrimitiveRoot as i, SidebarChatPrimitiveResizer as o, CloseButton as s, Header as n } from "../../primitives/components/sidebar-chat/index.js";
|
|
4
|
+
import { cn as r } from "../utils.js";
|
|
5
|
+
import { button as d } from "./ui/recipes/button.js";
|
|
6
|
+
import { scrollable as l } from "./ui/recipes/scrollable.js";
|
|
7
|
+
const g = ({
|
|
8
|
+
className: t,
|
|
9
|
+
...a
|
|
10
|
+
}) => /* @__PURE__ */ e(
|
|
11
|
+
i,
|
|
12
|
+
{
|
|
13
|
+
...a,
|
|
14
|
+
className: r(
|
|
15
|
+
"w-[--width] h-full relative bg-white dark:bg-gray-dark-950",
|
|
16
|
+
// For resizer
|
|
17
|
+
"data-[position=left]:pr-1 data-[position=left]:border-r data-[position=left]:mr-1",
|
|
18
|
+
"data-[position=right]:pl-1 data-[position=right]:border-l data-[position=right]:ml-1",
|
|
19
|
+
// Presence-based animations using data-state from the Presence component
|
|
20
|
+
"data-[state=open]:data-[position=left]:animate-sidebar-in-left",
|
|
21
|
+
"data-[state=open]:data-[position=right]:animate-sidebar-in-right",
|
|
22
|
+
"data-[state=closed]:data-[position=left]:animate-sidebar-out-left",
|
|
23
|
+
"data-[state=closed]:data-[position=right]:animate-sidebar-out-right",
|
|
24
|
+
t
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
), c = ({
|
|
28
|
+
className: t,
|
|
29
|
+
...a
|
|
30
|
+
}) => /* @__PURE__ */ e(
|
|
31
|
+
o,
|
|
32
|
+
{
|
|
33
|
+
className: r(
|
|
34
|
+
"px-1 bg-transparent opacity-0 hover:opacity-100",
|
|
35
|
+
"cursor-ew-resize",
|
|
36
|
+
"absolute top-0 bottom-0 z-[1]",
|
|
37
|
+
'[[data-position="left"]>&]:-right-1',
|
|
38
|
+
'[[data-position="right"]>&]:-left-1',
|
|
39
|
+
'after:content-[""] after:absolute after:top-0 after:bottom-0 after:w-0.5 after:bg-inkeep-primary-medium dark:after:bg-inkeep-primary-light [[data-position="right"]>&]:after:right-1 [[data-position="left"]>&]:after:left-1',
|
|
40
|
+
// Hide resizer when sidebar is closed using presence states
|
|
41
|
+
"data-[state=closed]:opacity-0 data-[state=closed]:pointer-events-none",
|
|
42
|
+
"data-[state=open]:pointer-events-auto",
|
|
43
|
+
"transition-opacity duration-200",
|
|
44
|
+
t
|
|
45
|
+
),
|
|
46
|
+
...a
|
|
47
|
+
}
|
|
48
|
+
), u = ({
|
|
49
|
+
className: t,
|
|
50
|
+
...a
|
|
51
|
+
}) => /* @__PURE__ */ e(
|
|
52
|
+
n,
|
|
53
|
+
{
|
|
54
|
+
className: r(
|
|
55
|
+
l({ section: "header" }),
|
|
56
|
+
"w-full flex flex-row items-center px-3 py-3",
|
|
57
|
+
"bg-white dark:bg-gray-dark-950",
|
|
58
|
+
"after:absolute",
|
|
59
|
+
"after:left-0",
|
|
60
|
+
"after:top-full",
|
|
61
|
+
"after:h-3",
|
|
62
|
+
"after:w-full",
|
|
63
|
+
"after:text-white",
|
|
64
|
+
"after:dark:text-gray-dark-950",
|
|
65
|
+
"after:bg-[linear-gradient(currentColor,_transparent)]",
|
|
66
|
+
"after:z-start",
|
|
67
|
+
t
|
|
68
|
+
),
|
|
69
|
+
...a
|
|
70
|
+
}
|
|
71
|
+
), x = ({
|
|
72
|
+
className: t,
|
|
73
|
+
...a
|
|
74
|
+
}) => /* @__PURE__ */ e(
|
|
75
|
+
s,
|
|
76
|
+
{
|
|
77
|
+
className: r(
|
|
78
|
+
d({ variant: "ghost", size: "xs" }),
|
|
79
|
+
"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",
|
|
80
|
+
t
|
|
81
|
+
),
|
|
82
|
+
...a
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
export {
|
|
86
|
+
x as CloseButton,
|
|
87
|
+
u as Header,
|
|
88
|
+
c as Resizer,
|
|
89
|
+
g as Root
|
|
90
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./recipes/button.cjs"),t=require("./recipes/link.cjs"),e=require("./recipes/markdown.cjs"),o=require("../../utils.cjs"),n={markdownHr:o.cn("my-4"),markdownH1:o.cn(e.heading({size:"lg"}),"mb-3"),markdownH2:o.cn(e.heading({size:"md"}),"mb-2"),markdownP:o.cn("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:o.cn("[&_a]:break-words [&_a]:inline"),markdownUl:e.list({style:"unordered"}),markdownOl:o.cn(e.list({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:o.cn(t.link(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:e.sup(),markdownSup:e.sup(),markdownTable:e.table({slot:"root"}),markdownTh:e.table({slot:"th"}),markdownTd:e.table({slot:"td"}),markdownCode:e.code(),codeblockContainer:e.codeblock({slot:"container"}),codeblockHeader:e.codeblock({slot:"header"}),codeblockCopyButton:o.cn(r.button({}),e.codeblock({slot:"copyButton"})),codeblockHighlighterWrapper:o.cn(),codeblockHighlighter:e.codeblock({slot:"highlighter"}),codeblockCode:"font-mono",markdownInput:o.cn("mr-1")};exports.markdownStyles=n;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const markdownStyles: {
|
|
2
|
+
markdownHr: string;
|
|
3
|
+
markdownH1: string;
|
|
4
|
+
markdownH2: string;
|
|
5
|
+
markdownP: string;
|
|
6
|
+
markdownLi: string;
|
|
7
|
+
markdownUl: string;
|
|
8
|
+
markdownOl: string;
|
|
9
|
+
markdownLink: string;
|
|
10
|
+
markdownSourceLink: string;
|
|
11
|
+
markdownSup: string;
|
|
12
|
+
markdownTable: string;
|
|
13
|
+
markdownTh: string;
|
|
14
|
+
markdownTd: string;
|
|
15
|
+
markdownCode: string;
|
|
16
|
+
codeblockContainer: string;
|
|
17
|
+
codeblockHeader: string;
|
|
18
|
+
codeblockCopyButton: string;
|
|
19
|
+
codeblockHighlighterWrapper: string;
|
|
20
|
+
codeblockHighlighter: string;
|
|
21
|
+
codeblockCode: string;
|
|
22
|
+
markdownInput: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { button as d } from "./recipes/button.js";
|
|
3
|
+
import { link as i } from "./recipes/link.js";
|
|
4
|
+
import { codeblock as r, code as m, table as e, sup as t, list as n, heading as a } from "./recipes/markdown.js";
|
|
5
|
+
import { cn as o } from "../../utils.js";
|
|
6
|
+
const c = {
|
|
7
|
+
markdownHr: o("my-4"),
|
|
8
|
+
markdownH1: o(a({ size: "lg" }), "mb-3"),
|
|
9
|
+
markdownH2: o(a({ size: "md" }), "mb-2"),
|
|
10
|
+
markdownP: o("mb-3 break-words whitespace-pre-wrap", "[&+ol,&+li]:mt-0"),
|
|
11
|
+
markdownLi: o("[&_a]:break-words [&_a]:inline"),
|
|
12
|
+
markdownUl: n({ style: "unordered" }),
|
|
13
|
+
markdownOl: o(
|
|
14
|
+
n({ style: "ordered" }),
|
|
15
|
+
"[inset-inline-start:var(--start,0px)]",
|
|
16
|
+
"[counter-reset:item_calc(var(--start,0)_-_1)]"
|
|
17
|
+
),
|
|
18
|
+
markdownLink: o(
|
|
19
|
+
i(),
|
|
20
|
+
"text-inkeep-primary-stronger hover:text-inkeep-primary-strong",
|
|
21
|
+
"dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"
|
|
22
|
+
),
|
|
23
|
+
markdownSourceLink: t(),
|
|
24
|
+
markdownSup: t(),
|
|
25
|
+
markdownTable: e({ slot: "root" }),
|
|
26
|
+
markdownTh: e({ slot: "th" }),
|
|
27
|
+
markdownTd: e({ slot: "td" }),
|
|
28
|
+
markdownCode: m(),
|
|
29
|
+
codeblockContainer: r({ slot: "container" }),
|
|
30
|
+
codeblockHeader: r({ slot: "header" }),
|
|
31
|
+
codeblockCopyButton: o(d({}), r({ slot: "copyButton" })),
|
|
32
|
+
codeblockHighlighterWrapper: o(),
|
|
33
|
+
codeblockHighlighter: r({ slot: "highlighter" }),
|
|
34
|
+
codeblockCode: "font-mono",
|
|
35
|
+
markdownInput: o("mr-1")
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
c as markdownStyles
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),a=e.cva(["max-h-screen max-w-screen relative","grow-[5] mx-auto justify-self-center text-left"],{variants:{size:{default:["grow-0 justify-self-center self-center","m-auto max-h-[100vw] max-w-screen","w-full","md:w-[min(600px,100%)] md:h-[min(760px,100%)]","lg:w-[min(800px,100%)] lg:h-[min(800px,100%)]","2xl:w-[min(880px,100%)] 2xl:h-[min(900px,100%)]"],expand:["w-full h-full"],"shrink-vertically":["w-full h-auto self-start max-h-full"],"full-viewport":["fixed top-0 left-0 w-screen h-screen z-dropdown"]},variant:{"container-with-shadow":"shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]","no-shadow":"shadow-[none]"}},defaultVariants:{size:"default",variant:"container-with-shadow"}});exports.aiChatPageWrapper=a;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
+
export declare const aiChatPageWrapper: (props?: ({
|
|
4
|
+
size?: "default" | "expand" | "shrink-vertically" | "full-viewport" | null | undefined;
|
|
5
|
+
variant?: "container-with-shadow" | "no-shadow" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
7
|
+
export type AiChatPageWrapperVariants = VariantProps<typeof aiChatPageWrapper>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const t = e(
|
|
4
|
+
["max-h-screen max-w-screen relative", "grow-[5] mx-auto justify-self-center text-left"],
|
|
5
|
+
{
|
|
6
|
+
variants: {
|
|
7
|
+
size: {
|
|
8
|
+
default: [
|
|
9
|
+
"grow-0 justify-self-center self-center",
|
|
10
|
+
"m-auto max-h-[100vw] max-w-screen",
|
|
11
|
+
"w-full",
|
|
12
|
+
"md:w-[min(600px,100%)] md:h-[min(760px,100%)]",
|
|
13
|
+
"lg:w-[min(800px,100%)] lg:h-[min(800px,100%)]",
|
|
14
|
+
"2xl:w-[min(880px,100%)] 2xl:h-[min(900px,100%)]"
|
|
15
|
+
],
|
|
16
|
+
expand: ["w-full h-full"],
|
|
17
|
+
"shrink-vertically": ["w-full h-auto self-start max-h-full"],
|
|
18
|
+
"full-viewport": ["fixed top-0 left-0 w-screen h-screen z-dropdown"]
|
|
19
|
+
},
|
|
20
|
+
variant: {
|
|
21
|
+
"container-with-shadow": "shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]",
|
|
22
|
+
"no-shadow": "shadow-[none]"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
size: "default",
|
|
27
|
+
variant: "container-with-shadow"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
t as aiChatPageWrapper
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),e=require("./button.cjs"),a=t.cva("",{variants:{slot:{root:["flex items-center pl-2","text-xs rounded-md h-6","bg-gray-300 dark:bg-white-alpha-200","min-w-0 w-fit"],icon:["mr-[0.5em]","text-gray-600 dark:text-white-alpha-600"],title:["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],delete:[e.button({variant:"iconButton",size:"md"}),"h-4 px-1 min-w-[unset]","text-gray-600 dark:text-white-alpha-600","hover:bg-transparent hover:text-gray-700","dark:hover:text-white-alpha-500","[&_svg]:w-4 [&_svg]:h-4"]}}});exports.attachment=a;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as t } from "class-variance-authority";
|
|
3
|
+
import { button as e } from "./button.js";
|
|
4
|
+
const i = t("", {
|
|
5
|
+
variants: {
|
|
6
|
+
slot: {
|
|
7
|
+
root: [
|
|
8
|
+
"flex items-center pl-2",
|
|
9
|
+
"text-xs rounded-md h-6",
|
|
10
|
+
"bg-gray-300 dark:bg-white-alpha-200",
|
|
11
|
+
"min-w-0 w-fit"
|
|
12
|
+
],
|
|
13
|
+
icon: ["mr-[0.5em]", "text-gray-600 dark:text-white-alpha-600"],
|
|
14
|
+
title: ["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],
|
|
15
|
+
delete: [
|
|
16
|
+
e({ variant: "iconButton", size: "md" }),
|
|
17
|
+
"h-4 px-1 min-w-[unset]",
|
|
18
|
+
"text-gray-600 dark:text-white-alpha-600",
|
|
19
|
+
"hover:bg-transparent hover:text-gray-700",
|
|
20
|
+
"dark:hover:text-white-alpha-500",
|
|
21
|
+
"[&_svg]:w-4 [&_svg]:h-4"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
i as attachment
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),a=e.cva(["inline-flex","items-center","justify-center","align-middle","select-none","relative","whitespace-nowrap","appearance-none","rounded-md","leading-[1.2]","transition-all","duration-300","cursor-pointer","font-semibold","focus:outline-none","focus:z-base","focus-visible:ring","focus-visible:ring-gray-500","dark:focus-visible:ring-white-alpha-900","focus-visible:ring-2","disabled:opacity-40","disabled:cursor-not-allowed","disabled:shadow-none"],{variants:{variant:{solid:["bg-gray-100 dark:bg-white-alpha-100","text-gray-800 dark:text-white-alpha-950","hover:bg-gray-200 dark:hover:bg-white-alpha-200","hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100","active:bg-gray-300 dark:active:bg-white-alpha-400"],iconButton:["px-1 text-gray-500 text-md","hover:text-inkeep-primary-strong","dark:text-gray-dark-200","dark:hover:text-inkeep-expanded-primary-300"],ghost:["text-gray-800 dark:text-white-alpha-950","hover:bg-gray-100 dark:hover:bg-white-alpha-100","active:bg-gray-200 dark:active:bg-white-alpha-200"],outline:["border dark:border-white-alpha-200","text-gray-600 dark:text-gray-200","hover:bg-gray-50 dark:hover:bg-white-alpha-100","active:bg-gray-50 dark:active:bg-white-alpha-100"],primaryFilled:["bg-inkeep-expanded-primary-500 text-inkeep-primary-text-color-on-primary hover:bg-inkeep-expanded-primary-700 active:bg-inkeep-expanded-primary-700","dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950","dark:hover:bg-inkeep-expanded-primary-200","dark:active:bg-inkeep-expanded-primary-200"]},size:{sm:"h-8 min-w-8 text-sm px-3",md:"h-9 min-w-9 text-sm px-4",xs:"h-6 min-w-6 text-xs px-2"},preset:{neutralFilled:["bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900","dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950","dark:hover:bg-inkeep-expanded-primary-200","dark:active:bg-inkeep-expanded-primary-200"]}},defaultVariants:{size:"md"}});exports.button=a;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const button: (props?: ({
|
|
3
|
+
variant?: "solid" | "iconButton" | "ghost" | "outline" | "primaryFilled" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "xs" | null | undefined;
|
|
5
|
+
preset?: "neutralFilled" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const r = e(
|
|
4
|
+
[
|
|
5
|
+
// Base styles
|
|
6
|
+
"inline-flex",
|
|
7
|
+
"items-center",
|
|
8
|
+
"justify-center",
|
|
9
|
+
"align-middle",
|
|
10
|
+
"select-none",
|
|
11
|
+
"relative",
|
|
12
|
+
"whitespace-nowrap",
|
|
13
|
+
"appearance-none",
|
|
14
|
+
"rounded-md",
|
|
15
|
+
"leading-[1.2]",
|
|
16
|
+
"transition-all",
|
|
17
|
+
"duration-300",
|
|
18
|
+
"cursor-pointer",
|
|
19
|
+
"font-semibold",
|
|
20
|
+
// Focus styles
|
|
21
|
+
"focus:outline-none",
|
|
22
|
+
"focus:z-base",
|
|
23
|
+
"focus-visible:ring",
|
|
24
|
+
"focus-visible:ring-gray-500",
|
|
25
|
+
"dark:focus-visible:ring-white-alpha-900",
|
|
26
|
+
"focus-visible:ring-2",
|
|
27
|
+
// Disabled styles
|
|
28
|
+
"disabled:opacity-40",
|
|
29
|
+
"disabled:cursor-not-allowed",
|
|
30
|
+
"disabled:shadow-none"
|
|
31
|
+
],
|
|
32
|
+
{
|
|
33
|
+
variants: {
|
|
34
|
+
variant: {
|
|
35
|
+
solid: [
|
|
36
|
+
"bg-gray-100 dark:bg-white-alpha-100",
|
|
37
|
+
"text-gray-800 dark:text-white-alpha-950",
|
|
38
|
+
"hover:bg-gray-200 dark:hover:bg-white-alpha-200",
|
|
39
|
+
"hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100",
|
|
40
|
+
"active:bg-gray-300 dark:active:bg-white-alpha-400"
|
|
41
|
+
],
|
|
42
|
+
iconButton: [
|
|
43
|
+
"px-1 text-gray-500 text-md",
|
|
44
|
+
"hover:text-inkeep-primary-strong",
|
|
45
|
+
"dark:text-gray-dark-200",
|
|
46
|
+
"dark:hover:text-inkeep-expanded-primary-300"
|
|
47
|
+
],
|
|
48
|
+
ghost: [
|
|
49
|
+
"text-gray-800 dark:text-white-alpha-950",
|
|
50
|
+
"hover:bg-gray-100 dark:hover:bg-white-alpha-100",
|
|
51
|
+
"active:bg-gray-200 dark:active:bg-white-alpha-200"
|
|
52
|
+
],
|
|
53
|
+
outline: [
|
|
54
|
+
"border dark:border-white-alpha-200",
|
|
55
|
+
"text-gray-600 dark:text-gray-200",
|
|
56
|
+
"hover:bg-gray-50 dark:hover:bg-white-alpha-100",
|
|
57
|
+
"active:bg-gray-50 dark:active:bg-white-alpha-100"
|
|
58
|
+
],
|
|
59
|
+
primaryFilled: [
|
|
60
|
+
"bg-inkeep-expanded-primary-500 text-inkeep-primary-text-color-on-primary hover:bg-inkeep-expanded-primary-700 active:bg-inkeep-expanded-primary-700",
|
|
61
|
+
"dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950",
|
|
62
|
+
"dark:hover:bg-inkeep-expanded-primary-200",
|
|
63
|
+
"dark:active:bg-inkeep-expanded-primary-200"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
size: {
|
|
67
|
+
sm: "h-8 min-w-8 text-sm px-3",
|
|
68
|
+
md: "h-9 min-w-9 text-sm px-4",
|
|
69
|
+
xs: "h-6 min-w-6 text-xs px-2"
|
|
70
|
+
},
|
|
71
|
+
preset: {
|
|
72
|
+
neutralFilled: [
|
|
73
|
+
"bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900",
|
|
74
|
+
"dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950",
|
|
75
|
+
"dark:hover:bg-inkeep-expanded-primary-200",
|
|
76
|
+
"dark:active:bg-inkeep-expanded-primary-200"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
defaultVariants: {
|
|
81
|
+
size: "md"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
export {
|
|
86
|
+
r as button
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva("",{variants:{slot:{root:["peer h-4 w-4 rounded-sm shrink-0","border-2 border-inherit cursor-pointer","disabled:opacity-50","data-[state=checked]:bg-gray-1000","dark:data-[state=checked]:bg-white-alpha-950","data-[state=checked]:border-gray-1000","dark:data-[state=checked]:border-white-alpha-950","text-white data-[state=checked]:text-white","dark:data-[state=checked]:text-gray-1000"],indicator:["flex items-center justify-center","text-current animate-checkbox-check"]}}});exports.checkbox=t;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const a = e("", {
|
|
4
|
+
variants: {
|
|
5
|
+
slot: {
|
|
6
|
+
root: [
|
|
7
|
+
"peer h-4 w-4 rounded-sm shrink-0",
|
|
8
|
+
"border-2 border-inherit cursor-pointer",
|
|
9
|
+
"disabled:opacity-50",
|
|
10
|
+
"data-[state=checked]:bg-gray-1000",
|
|
11
|
+
"dark:data-[state=checked]:bg-white-alpha-950",
|
|
12
|
+
"data-[state=checked]:border-gray-1000",
|
|
13
|
+
"dark:data-[state=checked]:border-white-alpha-950",
|
|
14
|
+
"text-white data-[state=checked]:text-white",
|
|
15
|
+
"dark:data-[state=checked]:text-gray-1000"
|
|
16
|
+
],
|
|
17
|
+
indicator: ["flex items-center justify-center", "text-current animate-checkbox-check"]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
a as checkbox
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-4 grid gap-x-2 gap-y-1",'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',"items-center",'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'],breadcrumbs:["[grid-area:breadcrumbs]","whitespace-nowrap line-clamp-1","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs truncate inline-block"],breadcrumbsIcon:"last-of-type:hidden text-xs mb-0.5 mx-[5px]",icon:["[grid-area:icon]","text-gray-500","group-selected:text-inkeep-primary-text-subtle","dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"],title:["[grid-area:title]","text-gray-800 dark:text-white-alpha-950","group-selected:text-inkeep-primary-text-bold","dark:group-selected:text-white","font-medium line-clamp-1","whitespace-nowrap text-ellipsis inline-block"],tag:["[grid-area:tag] w-fit justify-self-end","text-xs px-1 uppercase rounded-sm align-middle","font-bold inline-block whitespace-nowrap",'data-[type^="github"]:text-purple-500','data-[type="stackoverflow"]:text-green-500',"shadow-[inset_0_0_0_1px_currentColor]"],description:["[grid-area:description]","text-1sm line-clamp-1","text-gray-700 dark:text-white-alpha-700"],descriptionPart:["data-[highlighted]:font-semibold","data-[highlighted]:text-inkeep-primary-text-subtle","dark:data-[highlighted]:text-gray-dark-50"],indicator:["[grid-area:indicator]","self-center justify-self-end","opacity-0 group-selected:opacity-100","transition-opacity duration-100 ease-in-out ml-auto","md:data-[view=dual-pane]:hidden"]}}});exports.citation=t;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const citation: (props?: ({
|
|
3
|
+
slot?: "root" | "icon" | "title" | "indicator" | "breadcrumbs" | "breadcrumbsIcon" | "tag" | "description" | "descriptionPart" | null | undefined;
|
|
4
|
+
} & ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const a = e(
|
|
4
|
+
["transition-all data-[disable-transitions]:transition-none", "duration-100 ease-in-out"],
|
|
5
|
+
{
|
|
6
|
+
variants: {
|
|
7
|
+
slot: {
|
|
8
|
+
root: [
|
|
9
|
+
"group w-full overflow-hidden border rounded-lg",
|
|
10
|
+
"text-inkeep-primary-text-bold selected:text-inkeep-primary-strong",
|
|
11
|
+
"focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",
|
|
12
|
+
"dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300",
|
|
13
|
+
"bg-white selected:bg-inkeep-primary-light-subtle",
|
|
14
|
+
"dark:bg-transparent dark:selected:bg-white-alpha-200",
|
|
15
|
+
"border-gray-200 selected:border-inkeep-primary-medium-subtle",
|
|
16
|
+
"dark:border-white-alpha-200",
|
|
17
|
+
"dark:selected:border-inkeep-expanded-primary-300",
|
|
18
|
+
"py-2 px-4 grid gap-x-2 gap-y-1",
|
|
19
|
+
'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',
|
|
20
|
+
"items-center",
|
|
21
|
+
'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'
|
|
22
|
+
],
|
|
23
|
+
breadcrumbs: [
|
|
24
|
+
"[grid-area:breadcrumbs]",
|
|
25
|
+
"whitespace-nowrap line-clamp-1",
|
|
26
|
+
"flex items-center text-gray-600",
|
|
27
|
+
"dark:text-white-alpha-600 text-xs truncate inline-block"
|
|
28
|
+
],
|
|
29
|
+
breadcrumbsIcon: "last-of-type:hidden text-xs mb-0.5 mx-[5px]",
|
|
30
|
+
icon: [
|
|
31
|
+
"[grid-area:icon]",
|
|
32
|
+
"text-gray-500",
|
|
33
|
+
"group-selected:text-inkeep-primary-text-subtle",
|
|
34
|
+
"dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"
|
|
35
|
+
],
|
|
36
|
+
title: [
|
|
37
|
+
"[grid-area:title]",
|
|
38
|
+
"text-gray-800 dark:text-white-alpha-950",
|
|
39
|
+
"group-selected:text-inkeep-primary-text-bold",
|
|
40
|
+
"dark:group-selected:text-white",
|
|
41
|
+
"font-medium line-clamp-1",
|
|
42
|
+
"whitespace-nowrap text-ellipsis inline-block"
|
|
43
|
+
],
|
|
44
|
+
tag: [
|
|
45
|
+
"[grid-area:tag] w-fit justify-self-end",
|
|
46
|
+
"text-xs px-1 uppercase rounded-sm align-middle",
|
|
47
|
+
"font-bold inline-block whitespace-nowrap",
|
|
48
|
+
'data-[type^="github"]:text-purple-500',
|
|
49
|
+
'data-[type="stackoverflow"]:text-green-500',
|
|
50
|
+
"shadow-[inset_0_0_0_1px_currentColor]"
|
|
51
|
+
],
|
|
52
|
+
description: [
|
|
53
|
+
"[grid-area:description]",
|
|
54
|
+
"text-1sm line-clamp-1",
|
|
55
|
+
"text-gray-700 dark:text-white-alpha-700"
|
|
56
|
+
],
|
|
57
|
+
descriptionPart: [
|
|
58
|
+
"data-[highlighted]:font-semibold",
|
|
59
|
+
"data-[highlighted]:text-inkeep-primary-text-subtle",
|
|
60
|
+
"dark:data-[highlighted]:text-gray-dark-50"
|
|
61
|
+
],
|
|
62
|
+
indicator: [
|
|
63
|
+
"[grid-area:indicator]",
|
|
64
|
+
"self-center justify-self-end",
|
|
65
|
+
"opacity-0 group-selected:opacity-100",
|
|
66
|
+
"transition-opacity duration-100 ease-in-out ml-auto",
|
|
67
|
+
"md:data-[view=dual-pane]:hidden"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
export {
|
|
74
|
+
a as citation
|
|
75
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("class-variance-authority"),t=require("./input.cjs"),r=a.cva("",{variants:{slot:{control:[t.input({size:"md",variant:"outline"}),"!h-auto min-h-9 py-1 px-3 flex flex-wrap items-center gap-1.5 rounded-md","data-[invalid]:border-[--error-border-color] data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"],input:["min-w-0 flex-1 border-0 bg-transparent outline-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-500","data-[invalid]:placeholder-opacity-80"],trigger:["flex items-center justify-center shrink-0 h-full","opacity-45 text-md","data-[disabled]:opacity-30 data-[disabled]:pointer-events-none"],selectedTags:["flex flex-row flex-wrap items-center gap-1.5 min-h-0 min-w-0","flex-grow-0 flex-shrink","[&_[data-part=tag]]:inline-flex [&_[data-part=tag]]:gap-1 [&_[data-part=tag]]:flex-shrink-0 [&_[data-part=tag]]:items-center [&_[data-part=tag]]:rounded-md [&_[data-part=tag]]:whitespace-nowrap","[&_[data-part=tag]]:bg-gray-100 [&_[data-part=tag]]:dark:bg-gray-dark-800 [&_[data-part=tag]]:text-gray-800 [&_[data-part=tag]]:dark:text-gray-dark-50","[&_[data-part=tag]]:text-sm [&_[data-part=tag]]:py-0.5 [&_[data-part=tag]]:pl-2 [&_[data-part=tag]]:pr-1","[&_[data-part=tag-clear]]:flex [&_[data-part=tag-clear]]:items-center [&_[data-part=tag-clear]]:justify-center [&_[data-part=tag-clear]]:w-5 [&_[data-part=tag-clear]]:h-5 [&_[data-part=tag-clear]]:rounded-md [&_[data-part=tag-clear]]:shrink-0","[&_[data-part=tag-clear]:hover]:bg-gray-200 [&_[data-part=tag-clear]:hover]:dark:bg-gray-dark-600 [&_[data-part=tag-clear]]:text-current [&_[data-part=tag-clear]]:cursor-pointer [&_[data-part=tag-clear]]:outline-none"],content:["relative p-1 z-dropdown min-w-[var(--reference-width,8rem)] max-h-[min(24rem,var(--available-height))]","overflow-auto rounded-md border","[scrollbar-width:thin] [--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]","bg-white dark:bg-gray-dark-950 shadow-md","data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out"],list:[""],item:["hover:bg-gray-100 dark:hover:bg-gray-dark-800","data-[highlighted]:bg-gray-100 dark:data-[highlighted]:bg-gray-dark-800","relative flex w-full text-sm cursor-pointer py-1.5","select-none outline-none pl-2 pr-8 rounded-md items-center","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[state=checked]:font-medium"],itemText:["flex-1 truncate"],itemIndicator:["absolute right-2 flex h-3.5 w-3.5","items-center justify-center"],emptyMessage:["py-2 px-3 text-center text-sm opacity-70 "]}}});exports.combobox=r;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const combobox: (props?: ({
|
|
3
|
+
slot?: "control" | "input" | "trigger" | "selectedTags" | "content" | "list" | "item" | "itemText" | "itemIndicator" | "emptyMessage" | null | undefined;
|
|
4
|
+
} & ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as a } from "class-variance-authority";
|
|
3
|
+
import { input as t } from "./input.js";
|
|
4
|
+
const d = a("", {
|
|
5
|
+
variants: {
|
|
6
|
+
slot: {
|
|
7
|
+
control: [
|
|
8
|
+
t({ size: "md", variant: "outline" }),
|
|
9
|
+
"!h-auto min-h-9 py-1 px-3 flex flex-wrap items-center gap-1.5 rounded-md",
|
|
10
|
+
"data-[invalid]:border-[--error-border-color] data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"
|
|
11
|
+
],
|
|
12
|
+
input: [
|
|
13
|
+
"min-w-0 flex-1 border-0 bg-transparent outline-none",
|
|
14
|
+
"placeholder:text-gray-500 dark:placeholder:text-gray-dark-500",
|
|
15
|
+
"data-[invalid]:placeholder-opacity-80"
|
|
16
|
+
],
|
|
17
|
+
trigger: [
|
|
18
|
+
"flex items-center justify-center shrink-0 h-full",
|
|
19
|
+
"opacity-45 text-md",
|
|
20
|
+
"data-[disabled]:opacity-30 data-[disabled]:pointer-events-none"
|
|
21
|
+
],
|
|
22
|
+
selectedTags: [
|
|
23
|
+
"flex flex-row flex-wrap items-center gap-1.5 min-h-0 min-w-0",
|
|
24
|
+
"flex-grow-0 flex-shrink",
|
|
25
|
+
"[&_[data-part=tag]]:inline-flex [&_[data-part=tag]]:gap-1 [&_[data-part=tag]]:flex-shrink-0 [&_[data-part=tag]]:items-center [&_[data-part=tag]]:rounded-md [&_[data-part=tag]]:whitespace-nowrap",
|
|
26
|
+
"[&_[data-part=tag]]:bg-gray-100 [&_[data-part=tag]]:dark:bg-gray-dark-800 [&_[data-part=tag]]:text-gray-800 [&_[data-part=tag]]:dark:text-gray-dark-50",
|
|
27
|
+
"[&_[data-part=tag]]:text-sm [&_[data-part=tag]]:py-0.5 [&_[data-part=tag]]:pl-2 [&_[data-part=tag]]:pr-1",
|
|
28
|
+
"[&_[data-part=tag-clear]]:flex [&_[data-part=tag-clear]]:items-center [&_[data-part=tag-clear]]:justify-center [&_[data-part=tag-clear]]:w-5 [&_[data-part=tag-clear]]:h-5 [&_[data-part=tag-clear]]:rounded-md [&_[data-part=tag-clear]]:shrink-0",
|
|
29
|
+
"[&_[data-part=tag-clear]:hover]:bg-gray-200 [&_[data-part=tag-clear]:hover]:dark:bg-gray-dark-600 [&_[data-part=tag-clear]]:text-current [&_[data-part=tag-clear]]:cursor-pointer [&_[data-part=tag-clear]]:outline-none"
|
|
30
|
+
],
|
|
31
|
+
content: [
|
|
32
|
+
"relative p-1 z-dropdown min-w-[var(--reference-width,8rem)] max-h-[min(24rem,var(--available-height))]",
|
|
33
|
+
"overflow-auto rounded-md border",
|
|
34
|
+
"[scrollbar-width:thin] [--scrollbar-color:var(--color-gray-300)]",
|
|
35
|
+
"dark:[--scrollbar-color:var(--color-gray-dark-600)]",
|
|
36
|
+
"[scrollbar-color:var(--scrollbar-color)_transparent]",
|
|
37
|
+
"bg-white dark:bg-gray-dark-950 shadow-md",
|
|
38
|
+
"data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out"
|
|
39
|
+
],
|
|
40
|
+
list: [""],
|
|
41
|
+
item: [
|
|
42
|
+
"hover:bg-gray-100 dark:hover:bg-gray-dark-800",
|
|
43
|
+
"data-[highlighted]:bg-gray-100 dark:data-[highlighted]:bg-gray-dark-800",
|
|
44
|
+
"relative flex w-full text-sm cursor-pointer py-1.5",
|
|
45
|
+
"select-none outline-none pl-2 pr-8 rounded-md items-center",
|
|
46
|
+
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
47
|
+
"data-[state=checked]:font-medium"
|
|
48
|
+
],
|
|
49
|
+
itemText: ["flex-1 truncate"],
|
|
50
|
+
itemIndicator: ["absolute right-2 flex h-3.5 w-3.5", "items-center justify-center"],
|
|
51
|
+
emptyMessage: ["py-2 px-3 text-center text-sm opacity-70 "]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
d as combobox
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),i=e.cva("size-4 inline-block leading-[1em] shrink-0 text-current align-middle");exports.icon=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./ai-chat-page-wrapper.cjs"),t=require("./attachment.cjs"),r=require("./button.cjs"),c=require("./checkbox.cjs"),i=require("./citation.cjs"),n=require("./combobox.cjs"),a=require("./icon.cjs"),l=require("./input.cjs"),s=require("./link.cjs"),e=require("./markdown.cjs"),u=require("./modal.cjs"),b=require("./popover.cjs"),p=require("./scrollable.cjs"),g=require("./select.cjs"),q=require("./skeleton.cjs"),d=require("./widget-toggle.cjs");exports.aiChatPageWrapper=o.aiChatPageWrapper;exports.attachment=t.attachment;exports.button=r.button;exports.checkbox=c.checkbox;exports.citation=i.citation;exports.combobox=n.combobox;exports.icon=a.icon;exports.input=l.input;exports.link=s.link;exports.code=e.code;exports.codeblock=e.codeblock;exports.heading=e.heading;exports.list=e.list;exports.sup=e.sup;exports.table=e.table;exports.modal=u.modal;exports.popover=b.popover;exports.scrollable=p.scrollable;exports.select=g.select;exports.skeleton=q.skeleton;exports.widgetToggle=d.widgetToggle;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './ai-chat-page-wrapper';
|
|
2
|
+
export * from './attachment';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './checkbox';
|
|
5
|
+
export * from './citation';
|
|
6
|
+
export * from './combobox';
|
|
7
|
+
export * from './icon';
|
|
8
|
+
export * from './input';
|
|
9
|
+
export * from './link';
|
|
10
|
+
export * from './markdown';
|
|
11
|
+
export * from './modal';
|
|
12
|
+
export * from './popover';
|
|
13
|
+
export * from './scrollable';
|
|
14
|
+
export * from './select';
|
|
15
|
+
export * from './skeleton';
|
|
16
|
+
export * from './widget-toggle';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { aiChatPageWrapper as e } from "./ai-chat-page-wrapper.js";
|
|
2
|
+
import { attachment as p } from "./attachment.js";
|
|
3
|
+
import { button as x } from "./button.js";
|
|
4
|
+
import { checkbox as a } from "./checkbox.js";
|
|
5
|
+
import { citation as l } from "./citation.js";
|
|
6
|
+
import { combobox as n } from "./combobox.js";
|
|
7
|
+
import { icon as d } from "./icon.js";
|
|
8
|
+
import { input as s } from "./input.js";
|
|
9
|
+
import { link as k } from "./link.js";
|
|
10
|
+
import { code as v, codeblock as w, heading as C, list as P, sup as T, table as W } from "./markdown.js";
|
|
11
|
+
import { modal as q } from "./modal.js";
|
|
12
|
+
import { popover as z } from "./popover.js";
|
|
13
|
+
import { scrollable as B } from "./scrollable.js";
|
|
14
|
+
import { select as E } from "./select.js";
|
|
15
|
+
import { skeleton as G } from "./skeleton.js";
|
|
16
|
+
import { widgetToggle as I } from "./widget-toggle.js";
|
|
17
|
+
export {
|
|
18
|
+
e as aiChatPageWrapper,
|
|
19
|
+
p as attachment,
|
|
20
|
+
x as button,
|
|
21
|
+
a as checkbox,
|
|
22
|
+
l as citation,
|
|
23
|
+
v as code,
|
|
24
|
+
w as codeblock,
|
|
25
|
+
n as combobox,
|
|
26
|
+
C as heading,
|
|
27
|
+
d as icon,
|
|
28
|
+
s as input,
|
|
29
|
+
k as link,
|
|
30
|
+
P as list,
|
|
31
|
+
q as modal,
|
|
32
|
+
z as popover,
|
|
33
|
+
B as scrollable,
|
|
34
|
+
E as select,
|
|
35
|
+
G as skeleton,
|
|
36
|
+
T as sup,
|
|
37
|
+
W as table,
|
|
38
|
+
I as widgetToggle
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),o=r.cva(["w-full min-w-0 outline-none relative","appearance-none [transition-property:common]","[transition-duration:0.02s]","disabled:opacity-40 disabled:cursor-not-allowed","[--focus-border-color:theme(colors.blue.500)]","[--error-border-color:theme(colors.red.500)]","dark:[--focus-border-color:theme(colors.blue.300)]","dark:[--error-border-color:theme(colors.red.300)]"],{variants:{variant:{outline:["border border-inherit bg-inherit","focus:[&:not([data-invalid])]:border-[--focus-border-color]","focus:[&:not([data-invalid])]:shadow-[0_0_0_1px_var(--focus-border-color)]","data-[invalid]:border-[--error-border-color]","data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"]},size:{md:"px-3 py-1 h-9 text-sm rounded-md",sm:"px-3 py-1 text-sm rounded-md"}}});exports.input=o;
|