diff --git a/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/orama-chat-assistent-message.tsx b/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/orama-chat-assistent-message.tsx index 4ba13a11..eef6e179 100644 --- a/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/orama-chat-assistent-message.tsx +++ b/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/orama-chat-assistent-message.tsx @@ -1,8 +1,8 @@ import { Component, Host, Prop, h } from '@stencil/core' import type { TChatMessage } from '@/context/chatContext' -import '@phosphor-icons/webcomponents/PhCopy' -import '@phosphor-icons/webcomponents/PhArrowsClockwise' -import '@phosphor-icons/webcomponents/PhThumbsDown' +import '@phosphor-icons/webcomponents/dist/icons/PhCopy.mjs' +import '@phosphor-icons/webcomponents/dist/icons/PhArrowsClockwise.mjs' +import '@phosphor-icons/webcomponents/dist/icons/PhThumbsDown.mjs' import { copyToClipboard } from '@/utils/utils' @Component({ diff --git a/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/readme.md b/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/readme.md index 3dd55062..8a478d28 100644 --- a/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/readme.md +++ b/packages/ui-stencil/src/components/internal/orama-chat-messages-container/orama-chat-assistent-message/readme.md @@ -9,7 +9,7 @@ | Property | Attribute | Description | Type | Default | | --------- | --------- | ----------- | --------------------------------------------------- | ----------- | -| `message` | -- | | `{ role: "user" \| "assistant"; content: string; }` | `undefined` | +| `message` | -- | | `{ role: "assistant" \| "user"; content: string; }` | `undefined` | ## Dependencies diff --git a/packages/ui-stencil/src/components/internal/orama-chat/orama-chat.tsx b/packages/ui-stencil/src/components/internal/orama-chat/orama-chat.tsx index b860ebb7..1a7090f0 100644 --- a/packages/ui-stencil/src/components/internal/orama-chat/orama-chat.tsx +++ b/packages/ui-stencil/src/components/internal/orama-chat/orama-chat.tsx @@ -1,7 +1,7 @@ import { Component, Host, State, h } from '@stencil/core' import { chatContext } from '@/context/chatContext' -import '@phosphor-icons/webcomponents/PhPaperPlaneTilt' -import '@phosphor-icons/webcomponents/PhStop' +import '@phosphor-icons/webcomponents/dist/icons/PhPaperPlaneTilt.mjs' +import '@phosphor-icons/webcomponents/dist/icons/PhStop.mjs' // TODO: Hardcoding suggestions for now const SUGGESTIONS = ['How to get started?', 'What are the prices?', 'What is Orama?'] diff --git a/packages/ui-stencil/src/components/internal/orama-input/orama-input.tsx b/packages/ui-stencil/src/components/internal/orama-input/orama-input.tsx index f39ba64c..93be694e 100644 --- a/packages/ui-stencil/src/components/internal/orama-input/orama-input.tsx +++ b/packages/ui-stencil/src/components/internal/orama-input/orama-input.tsx @@ -1,6 +1,6 @@ import { Component, Host, Prop, h, Element, State, Event, type EventEmitter } from '@stencil/core' -import '@phosphor-icons/webcomponents/PhX' -import '@phosphor-icons/webcomponents/PhMagnifyingGlass' +import '@phosphor-icons/webcomponents/dist/icons/PhX.mjs' +import '@phosphor-icons/webcomponents/dist/icons/PhMagnifyingGlass.mjs' import { getNonExplicitAttributes } from '@/utils/utils' type BaseInputProps = { diff --git a/packages/ui-stencil/src/components/internal/orama-navigation-bar/orama-navigation-bar.tsx b/packages/ui-stencil/src/components/internal/orama-navigation-bar/orama-navigation-bar.tsx index 1ab4c710..31fbacbf 100644 --- a/packages/ui-stencil/src/components/internal/orama-navigation-bar/orama-navigation-bar.tsx +++ b/packages/ui-stencil/src/components/internal/orama-navigation-bar/orama-navigation-bar.tsx @@ -1,7 +1,7 @@ import { Component, Host, h } from '@stencil/core' -import '@phosphor-icons/webcomponents/PhClock' -import '@phosphor-icons/webcomponents/PhPlus' -import '@phosphor-icons/webcomponents/PhCaretLeft' +import '@phosphor-icons/webcomponents/dist/icons/PhClock.mjs' +import '@phosphor-icons/webcomponents/dist/icons/PhPlus.mjs' +import '@phosphor-icons/webcomponents/dist/icons/PhCaretLeft.mjs' @Component({ tag: 'orama-navigation-bar', diff --git a/packages/ui-stencil/src/components/internal/orama-search-results/orama-search-results.tsx b/packages/ui-stencil/src/components/internal/orama-search-results/orama-search-results.tsx index c6a54f21..acfff296 100644 --- a/packages/ui-stencil/src/components/internal/orama-search-results/orama-search-results.tsx +++ b/packages/ui-stencil/src/components/internal/orama-search-results/orama-search-results.tsx @@ -1,6 +1,6 @@ import { Component, Host, h, Element, Prop, Event, type EventEmitter } from '@stencil/core' import type { SearchResult, SearchResultBySection } from '@/types' -import '@phosphor-icons/webcomponents/PhFiles' +import '@phosphor-icons/webcomponents/dist/icons/PhFiles.mjs' export type SearchResultsProps = { sections: SearchResultBySection[] diff --git a/packages/ui-stencil/src/components/internal/orama-toggler/orama-toggler.tsx b/packages/ui-stencil/src/components/internal/orama-toggler/orama-toggler.tsx index f91f95b3..f6bbfda2 100644 --- a/packages/ui-stencil/src/components/internal/orama-toggler/orama-toggler.tsx +++ b/packages/ui-stencil/src/components/internal/orama-toggler/orama-toggler.tsx @@ -1,7 +1,7 @@ import { Component, Host, Prop, h } from '@stencil/core' import { globalContext } from '@/context/GlobalContext' -import '@phosphor-icons/webcomponents/PhMagnifyingGlass' -import '@phosphor-icons/webcomponents/PhSparkle' +import '@phosphor-icons/webcomponents/dist/icons/PhMagnifyingGlass.mjs' +import '@phosphor-icons/webcomponents/dist/icons/PhSparkle.mjs' @Component({ tag: 'orama-toggler', diff --git a/packages/ui-stencil/src/components/orama-search-box/readme.md b/packages/ui-stencil/src/components/orama-search-box/readme.md index bb771822..60096522 100644 --- a/packages/ui-stencil/src/components/orama-search-box/readme.md +++ b/packages/ui-stencil/src/components/orama-search-box/readme.md @@ -11,7 +11,7 @@ | `colorScheme` | `color-scheme` | | `"dark" \| "light" \| "system"` | `'light'` | | `facetProperty` | `facet-property` | | `string` | `undefined` | | `open` | `open` | | `boolean` | `false` | -| `resultMap` | -- | | `{ title?: string; description?: string; path?: string; section?: string; }` | `{}` | +| `resultMap` | -- | | `{ section?: string; title?: string; path?: string; description?: string; }` | `{}` | | `themeConfig` | -- | | `{ typography?: DeepPartial<{ '--font-primary': string; }>; colors?: DeepPartial<{ light: { '--text-color-primary': string; '--text-color-secondary': string; '--text-color-teriary': string; '--text-color-inactive': string; '--background-color-primary': string; '--background-color-secondary': string; '--background-color-tertiary': string; '--background-color-fourth': string; '--border-color-primary': string; '--border-color-secondary': string; '--border-color-inactive': string; '--icon-color-primary': string; '--icon-color-secondary': string; '--icon-color-tertiary': string; '--icon-color-inactive': string; '--icon-color-accent': string; }; dark: { '--text-color-primary': string; '--text-color-secondary': string; '--text-color-teriary': string; '--text-color-inactive': string; '--background-color-primary': string; '--background-color-secondary': string; '--background-color-tertiary': string; '--background-color-fourth': string; '--border-color-primary': string; '--border-color-secondary': string; '--border-color-inactive': string; '--icon-color-primary': string; '--icon-color-secondary': string; '--icon-color-tertiary': string; '--icon-color-inactive': string; '--icon-color-accent': string; }; system: {}; }>; }` | `undefined` |