@inkeep/agents-ui 0.14.20 → 0.14.22
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/color-mode/index.d.ts +21 -0
- package/dist/index.d.ts +1 -5103
- package/dist/primitives/atoms/avatars/ai.d.ts +3 -0
- package/dist/primitives/atoms/avatars/user.d.ts +3 -0
- package/dist/primitives/atoms/cmdk/command-score.d.ts +1 -0
- package/dist/primitives/atoms/cmdk/index.d.ts +460 -0
- package/dist/primitives/atoms/codeblock/index.d.ts +10 -0
- package/dist/primitives/atoms/custom-styles.d.ts +5 -0
- package/dist/primitives/atoms/dialog.d.ts +94 -0
- package/dist/primitives/atoms/error-boundary.d.ts +6 -0
- package/dist/primitives/atoms/icons/built-in-icon-renderer.d.ts +6 -0
- package/dist/primitives/atoms/icons/built-in-icons.d.ts +83 -0
- package/dist/primitives/atoms/icons/checkbox-icon.d.ts +1 -0
- package/dist/primitives/atoms/icons/collections/bi.d.ts +4 -0
- package/dist/primitives/atoms/icons/collections/fi.d.ts +2 -0
- package/dist/primitives/atoms/icons/collections/gr.d.ts +2 -0
- package/dist/primitives/atoms/icons/collections/io5.d.ts +34 -0
- package/dist/primitives/atoms/icons/collections/pi.d.ts +4 -0
- package/dist/primitives/atoms/icons/custom-icon.d.ts +6 -0
- package/dist/primitives/atoms/icons/generate-icon.d.ts +28 -0
- package/dist/primitives/atoms/icons/index.d.ts +2 -0
- package/dist/primitives/atoms/icons/inkeep-default-icons.d.ts +2 -0
- package/dist/primitives/atoms/link.d.ts +14 -0
- package/dist/primitives/atoms/markdown/components.d.ts +31 -0
- package/dist/primitives/atoms/markdown/index.d.ts +17 -0
- package/dist/primitives/atoms/markdown/rehype-inline-code-property.d.ts +1 -0
- package/dist/primitives/atoms/portal-with-theme.d.ts +2 -0
- package/dist/primitives/atoms/portal.d.ts +8 -0
- package/dist/primitives/atoms/select.d.ts +136 -0
- package/dist/primitives/atoms/shadow/context.d.ts +14 -0
- package/dist/primitives/atoms/shadow/create.d.ts +8 -0
- package/dist/primitives/atoms/shadow/index.d.ts +1 -0
- package/dist/primitives/atoms/shadow/root.d.ts +5 -0
- package/dist/primitives/atoms/shadow/use-ensured-forwarded-ref.d.ts +2 -0
- package/dist/primitives/atoms/shadow/utils.d.ts +9 -0
- package/dist/primitives/components/chat-button.d.ts +18 -0
- package/dist/primitives/components/embedded-chat/chat-provider.d.ts +19 -0
- package/dist/primitives/components/embedded-chat/use-captcha.d.ts +13 -0
- package/dist/primitives/components/embedded-chat/use-chat-action.d.ts +9 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +27 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -1
- package/dist/primitives/components/embedded-chat/use-stream-processor.d.ts +28 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.js +27 -28
- package/dist/primitives/components/embedded-chat.cjs +3 -3
- package/dist/primitives/components/embedded-chat.d.ts +431 -0
- package/dist/primitives/components/embedded-chat.js +775 -776
- package/dist/primitives/components/embedded-search/search-provider.d.ts +21 -0
- package/dist/primitives/components/embedded-search/transform-results.d.ts +3 -0
- package/dist/primitives/components/embedded-search/url-query.d.ts +4 -0
- package/dist/primitives/components/embedded-search/use-inkeep-search.d.ts +19 -0
- package/dist/primitives/components/embedded-search/use-search-filter.d.ts +1 -0
- package/dist/primitives/components/embedded-search.d.ts +249 -0
- package/dist/primitives/components/factory.d.ts +19 -0
- package/dist/primitives/components/index.d.ts +10 -0
- package/dist/primitives/components/modal/modal-provider.d.ts +12 -0
- package/dist/primitives/components/modal/use-inkeep-modal.d.ts +7 -0
- package/dist/primitives/components/modal/widget-auto-focus.d.ts +2 -0
- package/dist/primitives/components/modal.d.ts +18 -0
- package/dist/primitives/components/presence.d.ts +8 -0
- package/dist/primitives/components/searchbar.d.ts +23 -0
- package/dist/primitives/components/sidebar-chat/index.d.ts +9 -0
- package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.d.ts +5 -0
- package/dist/primitives/components/tagline-logo-icon.d.ts +1 -0
- package/dist/primitives/components/use-component-trigger.d.ts +5 -0
- package/dist/primitives/constants/search.d.ts +1 -0
- package/dist/primitives/hooks/index.d.ts +11 -0
- package/dist/primitives/hooks/use-boolean.d.ts +10 -0
- package/dist/primitives/hooks/use-component-classnames.d.ts +6 -0
- package/dist/primitives/hooks/use-container-size.d.ts +5 -0
- package/dist/primitives/hooks/use-copy-to-clipboard.d.ts +3 -0
- package/dist/primitives/hooks/use-debounce.d.ts +1 -0
- package/dist/primitives/hooks/use-instant-update.d.ts +17 -0
- package/dist/primitives/hooks/use-is-mounted.d.ts +1 -0
- package/dist/primitives/hooks/use-media-query.d.ts +1 -0
- package/dist/primitives/hooks/use-resize-observer.d.ts +12 -0
- package/dist/primitives/hooks/use-scrolling-fades.d.ts +2 -0
- package/dist/primitives/hooks/use-settle-action.d.ts +3 -0
- package/dist/primitives/hooks/use-simple-scroll.d.ts +5 -0
- package/dist/primitives/hooks/use-streaming-events.d.ts +8 -0
- package/dist/primitives/index.d.ts +13 -0
- package/dist/primitives/providers/attachment-item-provider.d.ts +9 -0
- package/dist/primitives/providers/attachments-bar-provider.d.ts +30 -0
- package/dist/primitives/providers/base-events-provider.cjs +1 -1
- package/dist/primitives/providers/base-events-provider.d.ts +8 -0
- package/dist/primitives/providers/base-events-provider.js +1 -1
- package/dist/primitives/providers/chat-form-provider.d.ts +26 -0
- package/dist/primitives/providers/config-provider.d.ts +25 -0
- package/dist/primitives/providers/feedback-item-provider.d.ts +10 -0
- package/dist/primitives/providers/feedback-provider.d.ts +16 -0
- package/dist/primitives/providers/form-field-provider.d.ts +15 -0
- package/dist/primitives/providers/help-menu-provider.d.ts +11 -0
- package/dist/primitives/providers/hover-popover-provider.d.ts +10 -0
- package/dist/primitives/providers/index.d.ts +17 -0
- package/dist/primitives/providers/markdown-provider.d.ts +9 -0
- package/dist/primitives/providers/message-attachments-provider.d.ts +13 -0
- package/dist/primitives/providers/message-provider.d.ts +10 -0
- package/dist/primitives/providers/root-provider.d.ts +8 -0
- package/dist/primitives/providers/search-events-provider.d.ts +8 -0
- package/dist/primitives/providers/sidebar-chat-provider.d.ts +83 -0
- package/dist/primitives/providers/source-item-provider.d.ts +12 -0
- package/dist/primitives/providers/theme-provider.d.ts +3 -0
- package/dist/primitives/providers/widget-provider.d.ts +10 -0
- package/dist/primitives/utils/component-ids.d.ts +572 -0
- package/dist/primitives/utils/compose-event-handlers.d.ts +3 -0
- package/dist/primitives/utils/compose-refs.d.ts +5 -0
- package/dist/primitives/utils/default-settings.d.ts +167 -0
- package/dist/primitives/utils/form.d.ts +3 -0
- package/dist/primitives/utils/generate-uid.d.ts +2 -0
- package/dist/primitives/utils/get-message-metadata.d.ts +8 -0
- package/dist/primitives/utils/get-source-icon.d.ts +2 -0
- package/dist/primitives/utils/highlight-emphasis.d.ts +4 -0
- package/dist/primitives/utils/merge-props.d.ts +7 -0
- package/dist/primitives/utils/misc.d.ts +12 -0
- package/dist/primitives/utils/split-props.d.ts +15 -0
- package/dist/react/chat-button.d.ts +14 -0
- package/dist/react/embedded-chat.d.ts +14 -0
- package/dist/react/embedded-search-and-chat.d.ts +40 -0
- package/dist/react/embedded-search-and-chat.impl.d.ts +9 -0
- package/dist/react/embedded-search.d.ts +17 -0
- package/dist/react/index.d.ts +12 -0
- package/dist/react/modal.chat.d.ts +6 -0
- package/dist/react/modal.d.ts +23 -0
- package/dist/react/modal.search-and-chat.d.ts +6 -0
- package/dist/react/modal.search.d.ts +6 -0
- package/dist/react/searchbar.d.ts +13 -0
- package/dist/react/sidebar-chat.d.ts +6 -0
- package/dist/react/utils.d.ts +6 -0
- package/dist/react/widget-toggle.d.ts +14 -0
- package/dist/styled/components/chat-button.d.ts +8 -0
- package/dist/styled/components/data-summary-group.d.ts +11 -0
- package/dist/styled/components/embedded-chat.d.ts +190 -0
- package/dist/styled/components/embedded-search/results-loading.d.ts +1 -0
- package/dist/styled/components/embedded-search.d.ts +73 -0
- package/dist/styled/components/index.d.ts +11 -0
- package/dist/styled/components/loading-indicator.d.ts +1 -0
- package/dist/styled/components/message.cjs +1 -1
- package/dist/styled/components/message.d.ts +4 -0
- package/dist/styled/components/message.js +46 -47
- package/dist/styled/components/modal.d.ts +6 -0
- package/dist/styled/components/searchbar.d.ts +11 -0
- package/dist/styled/components/shadow.d.ts +3 -0
- package/dist/styled/components/sidebar-chat.d.ts +6 -0
- package/dist/styled/components/ui/markdown-styles.d.ts +23 -0
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.d.ts +7 -0
- package/dist/styled/components/ui/recipes/attachment.d.ts +4 -0
- package/dist/styled/components/ui/recipes/button.d.ts +6 -0
- package/dist/styled/components/ui/recipes/checkbox.d.ts +4 -0
- package/dist/styled/components/ui/recipes/citation.d.ts +4 -0
- package/dist/styled/components/ui/recipes/icon.d.ts +2 -0
- package/dist/styled/components/ui/recipes/index.d.ts +15 -0
- package/dist/styled/components/ui/recipes/input.d.ts +5 -0
- package/dist/styled/components/ui/recipes/link.d.ts +2 -0
- package/dist/styled/components/ui/recipes/markdown.cjs +1 -1
- package/dist/styled/components/ui/recipes/markdown.d.ts +16 -0
- package/dist/styled/components/ui/recipes/markdown.js +1 -1
- package/dist/styled/components/ui/recipes/modal.d.ts +4 -0
- package/dist/styled/components/ui/recipes/popover.d.ts +4 -0
- package/dist/styled/components/ui/recipes/scrollable.d.ts +4 -0
- package/dist/styled/components/ui/recipes/select.d.ts +4 -0
- package/dist/styled/components/ui/recipes/skeleton.d.ts +2 -0
- package/dist/styled/components/ui/recipes/widget-toggle.d.ts +4 -0
- package/dist/styled/index.d.ts +2 -0
- package/dist/styled/utils.d.ts +4 -0
- package/dist/theme/color-utils.d.ts +1 -0
- package/dist/theme/colors.d.ts +104 -0
- package/dist/theme/index.d.ts +125 -0
- package/dist/theme/utils/create-css-variables.d.ts +2 -0
- package/dist/theme/utils/generate-theme-variables.d.ts +3 -0
- package/dist/types/color-mode.d.ts +44 -0
- package/dist/types/config/ai.d.ts +243 -0
- package/dist/types/config/base.d.ts +344 -0
- package/dist/types/config/components.d.ts +10 -0
- package/dist/types/config/filters.d.ts +17 -0
- package/dist/types/config/index.d.ts +36 -0
- package/dist/types/config/modal.d.ts +33 -0
- package/dist/types/config/search.d.ts +95 -0
- package/dist/types/config/settings/actions.d.ts +37 -0
- package/dist/types/config/settings/form.d.ts +128 -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 +173 -0
- package/dist/types/icons/built-in.d.ts +1 -0
- package/dist/types/icons/custom.d.ts +29 -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 +54 -0
- package/dist/types/message.d.ts +43 -0
- package/dist/types/shadow.d.ts +15 -0
- package/dist/types/sources.d.ts +108 -0
- package/dist/types/theme.d.ts +25 -0
- package/dist/types/widget.d.ts +28 -0
- package/package.json +4 -6
- package/dist/index.d.cts +0 -5103
- package/dist/types/message.cjs +0 -1
- package/dist/types/message.js +0 -5
- package/dist/types/types.d.cts +0 -1758
- package/dist/types/types.d.ts +0 -1758
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function commandScore(string: string, abbreviation: string, aliases: string[]): number;
|
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
import { Primitive } from '@radix-ui/react-primitive';
|
|
2
|
+
import * as RadixDialog from '../dialog';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
type Children = {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
type DivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
8
|
+
type CommandProps = Children & DivProps & {
|
|
9
|
+
/**
|
|
10
|
+
* Accessible label for this command menu. Not shown visibly.
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optionally set to `false` to turn off the automatic filtering and sorting.
|
|
15
|
+
* If `false`, you must conditionally render valid items based on the search query yourself.
|
|
16
|
+
*/
|
|
17
|
+
shouldFilter?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Custom filter function for whether each command menu item should matches the given search query.
|
|
20
|
+
* It should return a number between 0 and 1, with 1 being the best match and 0 being hidden entirely.
|
|
21
|
+
* By default, uses the `command-score` library.
|
|
22
|
+
*/
|
|
23
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
24
|
+
/**
|
|
25
|
+
* Optional default item value when it is initially rendered.
|
|
26
|
+
*/
|
|
27
|
+
defaultValue?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional default query when it is initially rendered.
|
|
30
|
+
*/
|
|
31
|
+
defaultSearch?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Optional controlled state of the selected command menu item.
|
|
34
|
+
*/
|
|
35
|
+
value?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Event handler called when the selected item of the menu changes.
|
|
38
|
+
*/
|
|
39
|
+
onValueChange?: (value: string) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Optionally set to `true` to turn on looping around when using the arrow keys.
|
|
42
|
+
*/
|
|
43
|
+
loop?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Optionally set to `true` to disable selection via pointer events.
|
|
46
|
+
*/
|
|
47
|
+
disablePointerSelection?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Set to `false` to disable ctrl+n/j/p/k shortcuts. Defaults to `true`.
|
|
50
|
+
*/
|
|
51
|
+
vimBindings?: boolean;
|
|
52
|
+
};
|
|
53
|
+
type State = {
|
|
54
|
+
search: string;
|
|
55
|
+
value: string;
|
|
56
|
+
selectedItemId?: string;
|
|
57
|
+
filtered: {
|
|
58
|
+
count: number;
|
|
59
|
+
items: Map<string, number>;
|
|
60
|
+
groups: Set<string>;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type Store = {
|
|
64
|
+
subscribe: (callback: () => void) => () => void;
|
|
65
|
+
snapshot: () => State;
|
|
66
|
+
setState: <K extends keyof State>(key: K, value: State[K], opts?: any) => void;
|
|
67
|
+
emit: () => void;
|
|
68
|
+
};
|
|
69
|
+
type Group = {
|
|
70
|
+
id: string;
|
|
71
|
+
forceMount?: boolean;
|
|
72
|
+
};
|
|
73
|
+
declare const defaultFilter: CommandProps['filter'];
|
|
74
|
+
declare const useStore: () => Store;
|
|
75
|
+
declare const Command: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
76
|
+
asChild?: boolean;
|
|
77
|
+
}, "ref"> & {
|
|
78
|
+
/**
|
|
79
|
+
* Accessible label for this command menu. Not shown visibly.
|
|
80
|
+
*/
|
|
81
|
+
label?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Optionally set to `false` to turn off the automatic filtering and sorting.
|
|
84
|
+
* If `false`, you must conditionally render valid items based on the search query yourself.
|
|
85
|
+
*/
|
|
86
|
+
shouldFilter?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Custom filter function for whether each command menu item should matches the given search query.
|
|
89
|
+
* It should return a number between 0 and 1, with 1 being the best match and 0 being hidden entirely.
|
|
90
|
+
* By default, uses the `command-score` library.
|
|
91
|
+
*/
|
|
92
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
93
|
+
/**
|
|
94
|
+
* Optional default item value when it is initially rendered.
|
|
95
|
+
*/
|
|
96
|
+
defaultValue?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Optional default query when it is initially rendered.
|
|
99
|
+
*/
|
|
100
|
+
defaultSearch?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Optional controlled state of the selected command menu item.
|
|
103
|
+
*/
|
|
104
|
+
value?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Event handler called when the selected item of the menu changes.
|
|
107
|
+
*/
|
|
108
|
+
onValueChange?: (value: string) => void;
|
|
109
|
+
/**
|
|
110
|
+
* Optionally set to `true` to turn on looping around when using the arrow keys.
|
|
111
|
+
*/
|
|
112
|
+
loop?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Optionally set to `true` to disable selection via pointer events.
|
|
115
|
+
*/
|
|
116
|
+
disablePointerSelection?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Set to `false` to disable ctrl+n/j/p/k shortcuts. Defaults to `true`.
|
|
119
|
+
*/
|
|
120
|
+
vimBindings?: boolean;
|
|
121
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
122
|
+
/**
|
|
123
|
+
* Command menu item. Becomes active on pointer enter or through keyboard navigation.
|
|
124
|
+
* Preferably pass a `value`, otherwise the value will be inferred from `children` or
|
|
125
|
+
* the rendered item's `textContent`.
|
|
126
|
+
*/
|
|
127
|
+
declare const Item: React.ForwardRefExoticComponent<Children & Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
128
|
+
asChild?: boolean;
|
|
129
|
+
}, "ref">, "value" | "disabled" | "onSelect"> & {
|
|
130
|
+
/** Whether this item is currently disabled. */
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
/** Event handler for when this item is selected, either via click or keyboard selection. */
|
|
133
|
+
onSelect?: (details: {
|
|
134
|
+
value: string;
|
|
135
|
+
trigger: "click" | "keyboard";
|
|
136
|
+
}) => void;
|
|
137
|
+
/**
|
|
138
|
+
* A unique value for this item.
|
|
139
|
+
* If no value is provided, it will be inferred from `children` or the rendered `textContent`. If your `textContent` changes between renders, you _must_ provide a stable, unique `value`.
|
|
140
|
+
*/
|
|
141
|
+
value?: string;
|
|
142
|
+
/** Optional keywords to match against when filtering. */
|
|
143
|
+
keywords?: string[];
|
|
144
|
+
/** Whether this item is forcibly rendered regardless of filtering. */
|
|
145
|
+
forceMount?: boolean;
|
|
146
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
147
|
+
/**
|
|
148
|
+
* Group command menu items together with a heading.
|
|
149
|
+
* Grouped items are always shown together.
|
|
150
|
+
*/
|
|
151
|
+
declare const Group: React.ForwardRefExoticComponent<Children & Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
152
|
+
asChild?: boolean;
|
|
153
|
+
}, "ref">, "value" | "heading"> & {
|
|
154
|
+
/** Optional heading to render for this group. */
|
|
155
|
+
heading?: React.ReactNode;
|
|
156
|
+
/** If no heading is provided, you must provide a value that is unique for this group. */
|
|
157
|
+
value?: string;
|
|
158
|
+
/** Whether this group is forcibly rendered regardless of filtering. */
|
|
159
|
+
forceMount?: boolean;
|
|
160
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
161
|
+
/**
|
|
162
|
+
* A visual and semantic separator between items or groups.
|
|
163
|
+
* Visible when the search query is empty or `alwaysRender` is true, hidden otherwise.
|
|
164
|
+
*/
|
|
165
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
166
|
+
asChild?: boolean;
|
|
167
|
+
}, "ref"> & {
|
|
168
|
+
/** Whether this separator should always be rendered. Useful if you disable automatic filtering. */
|
|
169
|
+
alwaysRender?: boolean;
|
|
170
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
171
|
+
/**
|
|
172
|
+
* Command menu input.
|
|
173
|
+
* All props are forwarded to the underyling `input` element.
|
|
174
|
+
*/
|
|
175
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<Omit<React.ClassAttributes<HTMLInputElement> & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
176
|
+
asChild?: boolean;
|
|
177
|
+
}, "ref">, "type" | "value" | "onChange"> & {
|
|
178
|
+
/**
|
|
179
|
+
* Optional controlled state for the value of the search input.
|
|
180
|
+
*/
|
|
181
|
+
value?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Event handler called when the search value changes.
|
|
184
|
+
*/
|
|
185
|
+
onValueChange?: (search: string) => void;
|
|
186
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
187
|
+
/**
|
|
188
|
+
* Contains `Item`, `Group`, and `Separator`.
|
|
189
|
+
* Use the `--cmdk-list-height` CSS variable to animate height based on the number of results.
|
|
190
|
+
*/
|
|
191
|
+
declare const List: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
192
|
+
asChild?: boolean;
|
|
193
|
+
}, "ref"> & {
|
|
194
|
+
/**
|
|
195
|
+
* Accessible label for this List of suggestions. Not shown visibly.
|
|
196
|
+
*/
|
|
197
|
+
label?: string;
|
|
198
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
199
|
+
/**
|
|
200
|
+
* Renders the command menu in a Radix Dialog.
|
|
201
|
+
*/
|
|
202
|
+
declare const Dialog: React.ForwardRefExoticComponent<RadixDialog.DialogProps & Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
203
|
+
asChild?: boolean;
|
|
204
|
+
}, "ref"> & {
|
|
205
|
+
/**
|
|
206
|
+
* Accessible label for this command menu. Not shown visibly.
|
|
207
|
+
*/
|
|
208
|
+
label?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Optionally set to `false` to turn off the automatic filtering and sorting.
|
|
211
|
+
* If `false`, you must conditionally render valid items based on the search query yourself.
|
|
212
|
+
*/
|
|
213
|
+
shouldFilter?: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* Custom filter function for whether each command menu item should matches the given search query.
|
|
216
|
+
* It should return a number between 0 and 1, with 1 being the best match and 0 being hidden entirely.
|
|
217
|
+
* By default, uses the `command-score` library.
|
|
218
|
+
*/
|
|
219
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
220
|
+
/**
|
|
221
|
+
* Optional default item value when it is initially rendered.
|
|
222
|
+
*/
|
|
223
|
+
defaultValue?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Optional default query when it is initially rendered.
|
|
226
|
+
*/
|
|
227
|
+
defaultSearch?: string;
|
|
228
|
+
/**
|
|
229
|
+
* Optional controlled state of the selected command menu item.
|
|
230
|
+
*/
|
|
231
|
+
value?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Event handler called when the selected item of the menu changes.
|
|
234
|
+
*/
|
|
235
|
+
onValueChange?: (value: string) => void;
|
|
236
|
+
/**
|
|
237
|
+
* Optionally set to `true` to turn on looping around when using the arrow keys.
|
|
238
|
+
*/
|
|
239
|
+
loop?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Optionally set to `true` to disable selection via pointer events.
|
|
242
|
+
*/
|
|
243
|
+
disablePointerSelection?: boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Set to `false` to disable ctrl+n/j/p/k shortcuts. Defaults to `true`.
|
|
246
|
+
*/
|
|
247
|
+
vimBindings?: boolean;
|
|
248
|
+
} & {
|
|
249
|
+
/** Provide a className to the Dialog overlay. */
|
|
250
|
+
overlayClassName?: string;
|
|
251
|
+
/** Provide a className to the Dialog content. */
|
|
252
|
+
contentClassName?: string;
|
|
253
|
+
/** Provide a custom element the Dialog should portal into. */
|
|
254
|
+
container?: HTMLElement;
|
|
255
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
256
|
+
/**
|
|
257
|
+
* Automatically renders when there are no results for the search query.
|
|
258
|
+
*/
|
|
259
|
+
declare const Empty: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
260
|
+
asChild?: boolean;
|
|
261
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
262
|
+
/**
|
|
263
|
+
* You should conditionally render this with `progress` while loading asynchronous items.
|
|
264
|
+
*/
|
|
265
|
+
declare const Loading: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
266
|
+
asChild?: boolean;
|
|
267
|
+
}, "ref"> & {
|
|
268
|
+
/** Estimated progress of loading asynchronous options. */
|
|
269
|
+
progress?: number;
|
|
270
|
+
/**
|
|
271
|
+
* Accessible label for this loading progressbar. Not shown visibly.
|
|
272
|
+
*/
|
|
273
|
+
label?: string;
|
|
274
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
275
|
+
declare const pkg: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
276
|
+
asChild?: boolean;
|
|
277
|
+
}, "ref"> & {
|
|
278
|
+
/**
|
|
279
|
+
* Accessible label for this command menu. Not shown visibly.
|
|
280
|
+
*/
|
|
281
|
+
label?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Optionally set to `false` to turn off the automatic filtering and sorting.
|
|
284
|
+
* If `false`, you must conditionally render valid items based on the search query yourself.
|
|
285
|
+
*/
|
|
286
|
+
shouldFilter?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Custom filter function for whether each command menu item should matches the given search query.
|
|
289
|
+
* It should return a number between 0 and 1, with 1 being the best match and 0 being hidden entirely.
|
|
290
|
+
* By default, uses the `command-score` library.
|
|
291
|
+
*/
|
|
292
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
293
|
+
/**
|
|
294
|
+
* Optional default item value when it is initially rendered.
|
|
295
|
+
*/
|
|
296
|
+
defaultValue?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Optional default query when it is initially rendered.
|
|
299
|
+
*/
|
|
300
|
+
defaultSearch?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Optional controlled state of the selected command menu item.
|
|
303
|
+
*/
|
|
304
|
+
value?: string;
|
|
305
|
+
/**
|
|
306
|
+
* Event handler called when the selected item of the menu changes.
|
|
307
|
+
*/
|
|
308
|
+
onValueChange?: (value: string) => void;
|
|
309
|
+
/**
|
|
310
|
+
* Optionally set to `true` to turn on looping around when using the arrow keys.
|
|
311
|
+
*/
|
|
312
|
+
loop?: boolean;
|
|
313
|
+
/**
|
|
314
|
+
* Optionally set to `true` to disable selection via pointer events.
|
|
315
|
+
*/
|
|
316
|
+
disablePointerSelection?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* Set to `false` to disable ctrl+n/j/p/k shortcuts. Defaults to `true`.
|
|
319
|
+
*/
|
|
320
|
+
vimBindings?: boolean;
|
|
321
|
+
} & React.RefAttributes<HTMLDivElement>> & {
|
|
322
|
+
List: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
323
|
+
asChild?: boolean;
|
|
324
|
+
}, "ref"> & {
|
|
325
|
+
/**
|
|
326
|
+
* Accessible label for this List of suggestions. Not shown visibly.
|
|
327
|
+
*/
|
|
328
|
+
label?: string;
|
|
329
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
330
|
+
Item: React.ForwardRefExoticComponent<Children & Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
331
|
+
asChild?: boolean;
|
|
332
|
+
}, "ref">, "value" | "disabled" | "onSelect"> & {
|
|
333
|
+
/** Whether this item is currently disabled. */
|
|
334
|
+
disabled?: boolean;
|
|
335
|
+
/** Event handler for when this item is selected, either via click or keyboard selection. */
|
|
336
|
+
onSelect?: (details: {
|
|
337
|
+
value: string;
|
|
338
|
+
trigger: "click" | "keyboard";
|
|
339
|
+
}) => void;
|
|
340
|
+
/**
|
|
341
|
+
* A unique value for this item.
|
|
342
|
+
* If no value is provided, it will be inferred from `children` or the rendered `textContent`. If your `textContent` changes between renders, you _must_ provide a stable, unique `value`.
|
|
343
|
+
*/
|
|
344
|
+
value?: string;
|
|
345
|
+
/** Optional keywords to match against when filtering. */
|
|
346
|
+
keywords?: string[];
|
|
347
|
+
/** Whether this item is forcibly rendered regardless of filtering. */
|
|
348
|
+
forceMount?: boolean;
|
|
349
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
350
|
+
Input: React.ForwardRefExoticComponent<Omit<Omit<React.ClassAttributes<HTMLInputElement> & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
351
|
+
asChild?: boolean;
|
|
352
|
+
}, "ref">, "type" | "value" | "onChange"> & {
|
|
353
|
+
/**
|
|
354
|
+
* Optional controlled state for the value of the search input.
|
|
355
|
+
*/
|
|
356
|
+
value?: string;
|
|
357
|
+
/**
|
|
358
|
+
* Event handler called when the search value changes.
|
|
359
|
+
*/
|
|
360
|
+
onValueChange?: (search: string) => void;
|
|
361
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
362
|
+
Group: React.ForwardRefExoticComponent<Children & Omit<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
363
|
+
asChild?: boolean;
|
|
364
|
+
}, "ref">, "value" | "heading"> & {
|
|
365
|
+
/** Optional heading to render for this group. */
|
|
366
|
+
heading?: React.ReactNode;
|
|
367
|
+
/** If no heading is provided, you must provide a value that is unique for this group. */
|
|
368
|
+
value?: string;
|
|
369
|
+
/** Whether this group is forcibly rendered regardless of filtering. */
|
|
370
|
+
forceMount?: boolean;
|
|
371
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
372
|
+
Separator: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
373
|
+
asChild?: boolean;
|
|
374
|
+
}, "ref"> & {
|
|
375
|
+
/** Whether this separator should always be rendered. Useful if you disable automatic filtering. */
|
|
376
|
+
alwaysRender?: boolean;
|
|
377
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
378
|
+
Dialog: React.ForwardRefExoticComponent<RadixDialog.DialogProps & Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
379
|
+
asChild?: boolean;
|
|
380
|
+
}, "ref"> & {
|
|
381
|
+
/**
|
|
382
|
+
* Accessible label for this command menu. Not shown visibly.
|
|
383
|
+
*/
|
|
384
|
+
label?: string;
|
|
385
|
+
/**
|
|
386
|
+
* Optionally set to `false` to turn off the automatic filtering and sorting.
|
|
387
|
+
* If `false`, you must conditionally render valid items based on the search query yourself.
|
|
388
|
+
*/
|
|
389
|
+
shouldFilter?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Custom filter function for whether each command menu item should matches the given search query.
|
|
392
|
+
* It should return a number between 0 and 1, with 1 being the best match and 0 being hidden entirely.
|
|
393
|
+
* By default, uses the `command-score` library.
|
|
394
|
+
*/
|
|
395
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
396
|
+
/**
|
|
397
|
+
* Optional default item value when it is initially rendered.
|
|
398
|
+
*/
|
|
399
|
+
defaultValue?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Optional default query when it is initially rendered.
|
|
402
|
+
*/
|
|
403
|
+
defaultSearch?: string;
|
|
404
|
+
/**
|
|
405
|
+
* Optional controlled state of the selected command menu item.
|
|
406
|
+
*/
|
|
407
|
+
value?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Event handler called when the selected item of the menu changes.
|
|
410
|
+
*/
|
|
411
|
+
onValueChange?: (value: string) => void;
|
|
412
|
+
/**
|
|
413
|
+
* Optionally set to `true` to turn on looping around when using the arrow keys.
|
|
414
|
+
*/
|
|
415
|
+
loop?: boolean;
|
|
416
|
+
/**
|
|
417
|
+
* Optionally set to `true` to disable selection via pointer events.
|
|
418
|
+
*/
|
|
419
|
+
disablePointerSelection?: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* Set to `false` to disable ctrl+n/j/p/k shortcuts. Defaults to `true`.
|
|
422
|
+
*/
|
|
423
|
+
vimBindings?: boolean;
|
|
424
|
+
} & {
|
|
425
|
+
/** Provide a className to the Dialog overlay. */
|
|
426
|
+
overlayClassName?: string;
|
|
427
|
+
/** Provide a className to the Dialog content. */
|
|
428
|
+
contentClassName?: string;
|
|
429
|
+
/** Provide a custom element the Dialog should portal into. */
|
|
430
|
+
container?: HTMLElement;
|
|
431
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
432
|
+
Empty: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
433
|
+
asChild?: boolean;
|
|
434
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
435
|
+
Loading: React.ForwardRefExoticComponent<Children & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
436
|
+
asChild?: boolean;
|
|
437
|
+
}, "ref"> & {
|
|
438
|
+
/** Estimated progress of loading asynchronous options. */
|
|
439
|
+
progress?: number;
|
|
440
|
+
/**
|
|
441
|
+
* Accessible label for this loading progressbar. Not shown visibly.
|
|
442
|
+
*/
|
|
443
|
+
label?: string;
|
|
444
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
445
|
+
};
|
|
446
|
+
export { useCmdk as useCommandState };
|
|
447
|
+
export { useStore as useCommandStore };
|
|
448
|
+
export { pkg as Command };
|
|
449
|
+
export { defaultFilter };
|
|
450
|
+
export { Command as CommandRoot };
|
|
451
|
+
export { List as CommandList };
|
|
452
|
+
export { Item as CommandItem };
|
|
453
|
+
export { Input as CommandInput };
|
|
454
|
+
export type { Group as CommandGroup };
|
|
455
|
+
export { Separator as CommandSeparator };
|
|
456
|
+
export { Dialog as CommandDialog };
|
|
457
|
+
export { Empty as CommandEmpty };
|
|
458
|
+
export { Loading as CommandLoading };
|
|
459
|
+
/** Run a selector against the store state. */
|
|
460
|
+
declare function useCmdk<T = any>(selector: (state: State) => T): T;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CodeProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
children: string;
|
|
4
|
+
/**
|
|
5
|
+
* Callback when the code is copied.
|
|
6
|
+
* Receives the current language and code that's copied.
|
|
7
|
+
*/
|
|
8
|
+
onCopy?: (language: string, code: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const CodeBlock: ({ className, children, onCopy }: CodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
|
|
2
|
+
import { TrapFocusOptions } from '@zag-js/focus-trap';
|
|
3
|
+
import { Portal as PortalPrimitive } from '@radix-ui/react-portal';
|
|
4
|
+
import { Primitive } from '@radix-ui/react-primitive';
|
|
5
|
+
import { CreateScope } from '@radix-ui/react-context';
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
declare const createDialogScope: CreateScope;
|
|
8
|
+
interface DialogProps {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
defaultOpen?: boolean;
|
|
12
|
+
onOpenChange?(open: boolean): void;
|
|
13
|
+
modal?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const Dialog: React.FC<DialogProps>;
|
|
16
|
+
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
17
|
+
interface DialogTriggerProps extends PrimitiveButtonProps {
|
|
18
|
+
}
|
|
19
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
type PortalProps = React.ComponentPropsWithoutRef<typeof PortalPrimitive>;
|
|
21
|
+
interface DialogPortalProps {
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Specify a container element to portal the content into.
|
|
25
|
+
*/
|
|
26
|
+
container?: PortalProps['container'];
|
|
27
|
+
/**
|
|
28
|
+
* Used to force mounting when more control is needed. Useful when
|
|
29
|
+
* controlling animation with React animation libraries.
|
|
30
|
+
*/
|
|
31
|
+
forceMount?: true;
|
|
32
|
+
}
|
|
33
|
+
declare const DialogPortal: React.FC<DialogPortalProps>;
|
|
34
|
+
interface DialogOverlayProps extends DialogOverlayImplProps {
|
|
35
|
+
/**
|
|
36
|
+
* Used to force mounting when more control is needed. Useful when
|
|
37
|
+
* controlling animation with React animation libraries.
|
|
38
|
+
*/
|
|
39
|
+
forceMount?: true;
|
|
40
|
+
}
|
|
41
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
43
|
+
interface DialogOverlayImplProps extends PrimitiveDivProps {
|
|
44
|
+
}
|
|
45
|
+
interface DialogContentProps extends DialogContentTypeProps {
|
|
46
|
+
/**
|
|
47
|
+
* Used to force mounting when more control is needed. Useful when
|
|
48
|
+
* controlling animation with React animation libraries.
|
|
49
|
+
*/
|
|
50
|
+
forceMount?: true;
|
|
51
|
+
}
|
|
52
|
+
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
interface DialogContentTypeProps extends Omit<DialogContentImplProps, 'trapFocus' | 'disableOutsidePointerEvents'> {
|
|
54
|
+
}
|
|
55
|
+
type DismissableLayerProps = React.ComponentPropsWithoutRef<typeof DismissableLayer>;
|
|
56
|
+
interface DialogContentImplProps extends Omit<DismissableLayerProps, 'onDismiss'> {
|
|
57
|
+
/**
|
|
58
|
+
* When `true`, focus cannot escape the `Content` via keyboard,
|
|
59
|
+
* pointer, or a programmatic focus.
|
|
60
|
+
* @defaultValue false
|
|
61
|
+
*/
|
|
62
|
+
trapFocus?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Event handler called when auto-focusing on open.
|
|
65
|
+
* Can be prevented.
|
|
66
|
+
*/
|
|
67
|
+
onOpenAutoFocus?: TrapFocusOptions['onActivate'];
|
|
68
|
+
/**
|
|
69
|
+
* Event handler called when auto-focusing on close.
|
|
70
|
+
* Can be prevented.
|
|
71
|
+
*/
|
|
72
|
+
onCloseAutoFocus?: TrapFocusOptions['onDeactivate'];
|
|
73
|
+
}
|
|
74
|
+
type PrimitiveHeading2Props = React.ComponentPropsWithoutRef<typeof Primitive.h2>;
|
|
75
|
+
interface DialogTitleProps extends PrimitiveHeading2Props {
|
|
76
|
+
}
|
|
77
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
78
|
+
type PrimitiveParagraphProps = React.ComponentPropsWithoutRef<typeof Primitive.p>;
|
|
79
|
+
interface DialogDescriptionProps extends PrimitiveParagraphProps {
|
|
80
|
+
}
|
|
81
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
82
|
+
interface DialogCloseProps extends PrimitiveButtonProps {
|
|
83
|
+
}
|
|
84
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
85
|
+
declare const Root: React.FC<DialogProps>;
|
|
86
|
+
declare const Trigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
87
|
+
declare const Portal: React.FC<DialogPortalProps>;
|
|
88
|
+
declare const Overlay: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
|
|
89
|
+
declare const Content: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
90
|
+
declare const Title: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
91
|
+
declare const Description: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
92
|
+
declare const Close: React.ForwardRefExoticComponent<DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
93
|
+
export { createDialogScope, Dialog, DialogTrigger, DialogPortal, DialogOverlay, DialogContent, DialogTitle, DialogDescription, DialogClose, Root, Trigger, Portal, Overlay, Content, Title, Description, Close, };
|
|
94
|
+
export type { DialogProps, DialogTriggerProps, DialogPortalProps, DialogOverlayProps, DialogContentProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InkeepCustomIcon } from '../../../types/index.ts';
|
|
2
|
+
import { MemoExoticComponent } from 'react';
|
|
3
|
+
export declare const BuiltInIconRenderer: MemoExoticComponent<({ iconSettings, ...props }: {
|
|
4
|
+
iconSettings: InkeepCustomIcon;
|
|
5
|
+
className?: string;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element | null>;
|