@brainfish-ai/components 0.24.7 → 0.24.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/dist/combobox.d.ts +6 -1
- package/dist/components/ui/combobox.d.ts +2 -0
- package/dist/esm/chunks/{ChatSearch.s2AQdrx5.js → ChatSearch.DGeR-vOp.js} +2 -2
- package/dist/esm/chunks/{ChatSearch.s2AQdrx5.js.map → ChatSearch.DGeR-vOp.js.map} +1 -1
- package/dist/esm/chunks/{combobox.BpGnNZ6a.js → combobox.CJKym3Z1.js} +4 -2
- package/dist/esm/chunks/combobox.CJKym3Z1.js.map +1 -0
- package/dist/esm/chunks/{dark.Cl9Z44CU.js → dark.Cq2RCgy4.js} +3 -2
- package/dist/esm/chunks/dark.Cq2RCgy4.js.map +1 -0
- package/dist/esm/chunks/{font-picker.CtGg-OWt.js → font-picker.DisEoE8a.js} +2 -2
- package/dist/esm/chunks/{font-picker.CtGg-OWt.js.map → font-picker.DisEoE8a.js.map} +1 -1
- package/dist/esm/chunks/{header-nav.D8xGU5LA.js → header-nav.BfxbPhBr.js} +2 -2
- package/dist/esm/chunks/{header-nav.D8xGU5LA.js.map → header-nav.BfxbPhBr.js.map} +1 -1
- package/dist/esm/chunks/{layout.CYR502iz.js → layout.CHuG_3b_.js} +2 -2
- package/dist/esm/chunks/{layout.CYR502iz.js.map → layout.CHuG_3b_.js.map} +1 -1
- package/dist/esm/chunks/{logo.BXk28Fqo.js → logo.D5BMN6Db.js} +14 -4
- package/dist/esm/chunks/logo.D5BMN6Db.js.map +1 -0
- package/dist/esm/colors.js +1 -1
- package/dist/esm/components/article-suggestions-banner.js +1 -1
- package/dist/esm/components/chat-search.js +1 -1
- package/dist/esm/components/combobox.js +1 -1
- package/dist/esm/components/convos.js +1 -1
- package/dist/esm/components/font-picker.js +1 -1
- package/dist/esm/components/logo.js +1 -1
- package/dist/esm/components/ui/combobox.js +2 -0
- package/dist/esm/components/ui/combobox.js.map +1 -0
- package/dist/esm/components/ui/popover.js +20 -12
- package/dist/esm/components/ui/popover.js.map +1 -1
- package/dist/esm/global.css +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/layouts/full-layout.js +2 -2
- package/dist/esm/layouts/header-nav.js +1 -1
- package/dist/esm/scenes/knowledge-review.js +1 -1
- package/dist/index.d.ts +13 -2
- package/dist/popover.d.ts +7 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/esm/chunks/combobox.BpGnNZ6a.js.map +0 -1
- package/dist/esm/chunks/dark.Cl9Z44CU.js.map +0 -1
- package/dist/esm/chunks/logo.BXk28Fqo.js.map +0 -1
package/dist/combobox.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React_2 from 'react';
|
|
2
2
|
|
|
3
|
-
export declare function Combobox<T extends ComboboxItem = ComboboxItem>({ options, defaultValueLabel, placeholder, noResultsLabel, className, onOpenChange, onChange, dropdownWidth, value: controlledValue, disabled, renderItem, renderValue, renderTrigger, }: ComboboxProps<T>): React_2.JSX.Element;
|
|
3
|
+
export declare function Combobox<T extends ComboboxItem = ComboboxItem>({ options, defaultValueLabel, placeholder, noResultsLabel, className, onOpenChange, onChange, dropdownWidth, value: controlledValue, disabled, renderItem, renderValue, renderTrigger, appendToBody, }: ComboboxProps<T>): React_2.JSX.Element;
|
|
4
4
|
|
|
5
5
|
export declare interface ComboboxItem {
|
|
6
6
|
value: string;
|
|
@@ -33,6 +33,11 @@ export declare interface ComboboxProps<T extends ComboboxItem = ComboboxItem> {
|
|
|
33
33
|
selectedItem: T | undefined;
|
|
34
34
|
isOpen: boolean;
|
|
35
35
|
}) => React_2.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* When false, the dropdown stays in the React tree instead of portaling to body.
|
|
38
|
+
* Use inside modals/dialogs so the list is not detached from the dialog layer.
|
|
39
|
+
*/
|
|
40
|
+
appendToBody?: boolean;
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
export declare interface ComboboxRenderItemProps<T extends ComboboxItem = ComboboxItem> {
|
|
@@ -25,7 +25,7 @@ import { F as Feedback } from './feedback.W2OzN-5r.js';
|
|
|
25
25
|
import { G as GeneratingStar } from './generating-star.DMDPNTaM.js';
|
|
26
26
|
import { getCountry } from 'countries-and-timezones';
|
|
27
27
|
import { Switch } from '../components/ui/switch.js';
|
|
28
|
-
import { C as Combobox } from './combobox.
|
|
28
|
+
import { C as Combobox } from './combobox.CJKym3Z1.js';
|
|
29
29
|
import { T as TwoLevelCombobox } from './two-level-combobox.BXs2z9u5.js';
|
|
30
30
|
import { u as useBooleanFlagValue, F as FeatureFlagProvider } from './feature-flags.C57XMODn.js';
|
|
31
31
|
import { X as X$1 } from 'lucide-react';
|
|
@@ -6667,4 +6667,4 @@ const ChatSearch = forwardRef(({ featureFlags, ...props }, ref) => /* @__PURE__
|
|
|
6667
6667
|
ChatSearch.displayName = "ChatSearch";
|
|
6668
6668
|
|
|
6669
6669
|
export { ChatSearch as C, ChatSearchProvider as a, useIsChatSearchDirty as b, useChatSearch as u };
|
|
6670
|
-
//# sourceMappingURL=ChatSearch.
|
|
6670
|
+
//# sourceMappingURL=ChatSearch.DGeR-vOp.js.map
|