@dxos/react-ui-searchlist 0.6.7 → 0.6.8-main.046e6cf
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.
|
@@ -26,18 +26,18 @@ type SearchListEmptyProps = ThemedClassName<ComponentPropsWithRef<typeof Command
|
|
|
26
26
|
type SearchListItemProps = ThemedClassName<ComponentPropsWithRef<typeof CommandItem>>;
|
|
27
27
|
type ComboboxTriggerProps = ButtonProps;
|
|
28
28
|
export declare const SearchList: {
|
|
29
|
-
Root: React.ForwardRefExoticComponent<
|
|
30
|
-
Input: React.ForwardRefExoticComponent<
|
|
31
|
-
Content: React.ForwardRefExoticComponent<
|
|
32
|
-
Empty: React.ForwardRefExoticComponent<
|
|
33
|
-
Item: React.ForwardRefExoticComponent<
|
|
29
|
+
Root: React.ForwardRefExoticComponent<Omit<SearchListRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
Input: React.ForwardRefExoticComponent<Omit<SearchListInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
31
|
+
Content: React.ForwardRefExoticComponent<Omit<SearchListContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
Empty: React.ForwardRefExoticComponent<Omit<SearchListEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
Item: React.ForwardRefExoticComponent<Omit<SearchListItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
};
|
|
35
35
|
export declare const Combobox: {
|
|
36
36
|
Root: {
|
|
37
|
-
({ modalId: propsModalId, open: propsOpen, defaultOpen, onOpenChange: propsOnOpenChange, value: propsValue, defaultValue, onValueChange: propsOnValueChange, placeholder, children, }: ComboboxRootProps): JSX.Element;
|
|
37
|
+
({ modalId: propsModalId, open: propsOpen, defaultOpen, onOpenChange: propsOnOpenChange, value: propsValue, defaultValue, onValueChange: propsOnValueChange, placeholder, children, }: ComboboxRootProps): React.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
|
-
Trigger: React.ForwardRefExoticComponent<
|
|
40
|
+
Trigger: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
41
41
|
useComboboxContext: (consumerName: string) => Partial<ComboboxContextValue>;
|
|
42
42
|
};
|
|
43
43
|
export type { SearchListRootProps, SearchListInputProps, SearchListContentProps, SearchListEmptyProps, SearchListItemProps, ComboboxRootProps, ComboboxTriggerProps, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchList.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"SearchList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchList.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;;;;eAUN,UAAU;;;;AAe7C,wBAIE;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
|
|
@@ -12,16 +12,16 @@ type PopoverComboboxItemProps = SearchListItemProps;
|
|
|
12
12
|
type PopoverComboboxArrowProps = PopoverArrowProps;
|
|
13
13
|
type PopoverComboboxEmptyProps = SearchListEmptyProps;
|
|
14
14
|
export declare const PopoverCombobox: {
|
|
15
|
-
Root: ({ modal, children, open: propsOpen, onOpenChange: propsOnOpenChange, defaultOpen, ...props }: PopoverComboboxRootProps) => JSX.Element;
|
|
16
|
-
Content: React.ForwardRefExoticComponent<
|
|
17
|
-
Trigger: React.ForwardRefExoticComponent<
|
|
18
|
-
Input: React.ForwardRefExoticComponent<
|
|
19
|
-
List: React.ForwardRefExoticComponent<
|
|
20
|
-
Item: React.ForwardRefExoticComponent<
|
|
15
|
+
Root: ({ modal, children, open: propsOpen, onOpenChange: propsOnOpenChange, defaultOpen, ...props }: PopoverComboboxRootProps) => React.JSX.Element;
|
|
16
|
+
Content: React.ForwardRefExoticComponent<Omit<PopoverComboboxContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
Trigger: React.ForwardRefExoticComponent<Omit<import("@dxos/react-ui").ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
Input: React.ForwardRefExoticComponent<Omit<SearchListInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
+
List: React.ForwardRefExoticComponent<Omit<PopoverComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
Item: React.ForwardRefExoticComponent<Omit<SearchListItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
21
|
Arrow: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-popover").PopoverArrowProps, "className"> & {
|
|
22
22
|
classNames?: import("@dxos/react-ui").ClassNameValue;
|
|
23
23
|
} & React.RefAttributes<SVGSVGElement>>;
|
|
24
|
-
Empty: React.ForwardRefExoticComponent<
|
|
24
|
+
Empty: React.ForwardRefExoticComponent<Omit<SearchListEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
};
|
|
26
26
|
export type { PopoverComboboxRootProps, PopoverComboboxContentProps, PopoverComboboxTriggerProps, PopoverComboboxInputProps, PopoverComboboxListProps, PopoverComboboxItemProps, PopoverComboboxArrowProps, PopoverComboboxEmptyProps, };
|
|
27
27
|
//# sourceMappingURL=PopoverCombobox.d.ts.map
|
|
@@ -3,19 +3,19 @@ import React from 'react';
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: {
|
|
6
|
-
Root: ({ modal, children, open: propsOpen, onOpenChange: propsOnOpenChange, defaultOpen, ...props }: import("./PopoverCombobox").PopoverComboboxRootProps) => JSX.Element;
|
|
7
|
-
Content: React.ForwardRefExoticComponent<
|
|
8
|
-
Trigger: React.ForwardRefExoticComponent<
|
|
9
|
-
Input: React.ForwardRefExoticComponent<
|
|
10
|
-
List: React.ForwardRefExoticComponent<
|
|
11
|
-
Item: React.ForwardRefExoticComponent<
|
|
6
|
+
Root: ({ modal, children, open: propsOpen, onOpenChange: propsOnOpenChange, defaultOpen, ...props }: import("./PopoverCombobox").PopoverComboboxRootProps) => React.JSX.Element;
|
|
7
|
+
Content: React.ForwardRefExoticComponent<Omit<import("./PopoverCombobox").PopoverComboboxContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Trigger: React.ForwardRefExoticComponent<Omit<import("packages/ui/react-ui/dist/types/src").ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
Input: React.ForwardRefExoticComponent<Omit<import("..").SearchListInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
List: React.ForwardRefExoticComponent<Omit<import("./PopoverCombobox").PopoverComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Item: React.ForwardRefExoticComponent<Omit<import("..").SearchListItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
Arrow: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-popover").PopoverArrowProps, "className"> & {
|
|
13
13
|
classNames?: import("packages/ui/react-ui-types/dist/types/src").ClassNameValue;
|
|
14
14
|
} & React.RefAttributes<SVGSVGElement>>;
|
|
15
|
-
Empty: React.ForwardRefExoticComponent<
|
|
15
|
+
Empty: React.ForwardRefExoticComponent<Omit<import("..").SearchListEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
};
|
|
17
17
|
decorators: import("@storybook/react/*").Decorator[];
|
|
18
|
-
render: () => JSX.Element;
|
|
18
|
+
render: () => React.JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
export declare const Default: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-searchlist",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8-main.046e6cf",
|
|
4
4
|
"description": "A themed ⌘K-style combobox component, triggered by a button (or keyboard shortcut), where values are queried only within the invoked modal.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"@radix-ui/react-context": "^1.0.0",
|
|
25
25
|
"@radix-ui/react-use-controllable-state": "^1.0.0",
|
|
26
26
|
"cmdk": "^0.2.0",
|
|
27
|
-
"@dxos/react-ui": "0.6.
|
|
28
|
-
"@dxos/react-ui-theme": "0.6.
|
|
27
|
+
"@dxos/react-ui": "0.6.8-main.046e6cf",
|
|
28
|
+
"@dxos/react-ui-theme": "0.6.8-main.046e6cf"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@phosphor-icons/react": "^2.1.5",
|
|
32
|
-
"@types/react": "
|
|
33
|
-
"@types/react-dom": "
|
|
32
|
+
"@types/react": "~18.2.0",
|
|
33
|
+
"@types/react-dom": "~18.2.0",
|
|
34
34
|
"react": "~18.2.0",
|
|
35
35
|
"react-dom": "~18.2.0",
|
|
36
36
|
"vite": "^5.3.4",
|
|
37
|
-
"@dxos/random": "0.6.
|
|
38
|
-
"@dxos/storybook-utils": "0.6.
|
|
37
|
+
"@dxos/random": "0.6.8-main.046e6cf",
|
|
38
|
+
"@dxos/storybook-utils": "0.6.8-main.046e6cf"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@phosphor-icons/react": "^2.1.5",
|