@dxos/react-ui-searchlist 0.7.5-main.9d2a38b → 0.7.5-main.e94eead

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.
@@ -34,7 +34,7 @@ export declare const SearchList: {
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): React.JSX.Element;
37
+ ({ modalId: propsModalId, open: propsOpen, defaultOpen, onOpenChange: propsOnOpenChange, value: propsValue, defaultValue, onValueChange: propsOnValueChange, placeholder, children, }: ComboboxRootProps): import("react/jsx-runtime").JSX.Element;
38
38
  displayName: string;
39
39
  };
40
40
  Trigger: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -6,7 +6,7 @@ declare const _default: {
6
6
  component: React.FC<{
7
7
  items: StoryItems;
8
8
  }>;
9
- decorators: import("@storybook/react/*").Decorator[];
9
+ decorators: import("@storybook/react").Decorator[];
10
10
  };
11
11
  export default _default;
12
12
  export declare const Default: {
@@ -13,13 +13,13 @@ type PopoverComboboxItemProps = SearchListItemProps;
13
13
  type PopoverComboboxArrowProps = PopoverArrowProps;
14
14
  type PopoverComboboxEmptyProps = SearchListEmptyProps;
15
15
  export declare const PopoverCombobox: {
16
- Root: ({ modal, children, open: propsOpen, onOpenChange: propsOnOpenChange, defaultOpen, ...props }: PopoverComboboxRootProps) => React.JSX.Element;
16
+ Root: ({ modal, children, open: propsOpen, onOpenChange: propsOnOpenChange, defaultOpen, ...props }: PopoverComboboxRootProps) => import("react/jsx-runtime").JSX.Element;
17
17
  Content: React.ForwardRefExoticComponent<Omit<PopoverComboboxContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
18
  Trigger: React.ForwardRefExoticComponent<Omit<import("@dxos/react-ui").ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
19
19
  VirtualTrigger: {
20
20
  (props: PopoverVirtualTriggerProps & {
21
21
  __scopePopover?: import("@radix-ui/react-context").Scope;
22
- }): React.JSX.Element;
22
+ }): import("react/jsx-runtime").JSX.Element;
23
23
  displayName: string;
24
24
  };
25
25
  Input: React.ForwardRefExoticComponent<Omit<SearchListInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"PopoverCombobox.d.ts","sourceRoot":"","sources":["../../../../src/composites/PopoverCombobox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAChC,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAEzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,eAAe,CAAC;AAEvB,KAAK,wBAAwB,GAAG,iBAAiB,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAwBxE,KAAK,2BAA2B,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;AAmE7E,KAAK,2BAA2B,GAAG,oBAAoB,CAAC;AAUxD,KAAK,kCAAkC,GAAG,0BAA0B,CAAC;AAIrE,KAAK,yBAAyB,GAAG,oBAAoB,CAAC;AAItD,KAAK,wBAAwB,GAAG,sBAAsB,GACpD,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,GAAG,iBAAiB,CAAC,CAAC;AAYnE,KAAK,wBAAwB,GAAG,mBAAmB,CAAC;AAIpD,KAAK,yBAAyB,GAAG,iBAAiB,CAAC;AAInD,KAAK,yBAAyB,GAAG,oBAAoB,CAAC;AAItD,eAAO,MAAM,eAAe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BAAmB;;;;;;;;CA+B7B,CAAC;AAEF,YAAY,EACV,wBAAwB,EACxB,2BAA2B,EAC3B,2BAA2B,EAC3B,kCAAkC,EAClC,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,GAC1B,CAAC"}
@@ -3,23 +3,23 @@ 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) => React.JSX.Element;
6
+ Root: ({ modal, children, open: propsOpen, onOpenChange: propsOnOpenChange, defaultOpen, ...props }: import("./PopoverCombobox").PopoverComboboxRootProps) => import("react/jsx-runtime").JSX.Element;
7
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>>;
8
+ Trigger: React.ForwardRefExoticComponent<Omit<import("@dxos/react-ui").ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
9
  VirtualTrigger: {
10
- (props: import("packages/ui/react-ui/dist/types/src").PopoverVirtualTriggerProps & {
10
+ (props: import("@dxos/react-ui").PopoverVirtualTriggerProps & {
11
11
  __scopePopover?: import("@radix-ui/react-context").Scope;
12
- }): React.JSX.Element;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  Input: React.ForwardRefExoticComponent<Omit<import("..").SearchListInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
16
16
  List: React.ForwardRefExoticComponent<Omit<import("./PopoverCombobox").PopoverComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
17
  Item: React.ForwardRefExoticComponent<Omit<import("..").SearchListItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
- Arrow: React.ForwardRefExoticComponent<import("packages/ui/react-ui/dist/types/src").PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
18
+ Arrow: React.ForwardRefExoticComponent<import("@dxos/react-ui").PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
19
19
  Empty: React.ForwardRefExoticComponent<Omit<import("..").SearchListEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
20
  };
21
- render: () => React.JSX.Element;
22
- decorators: import("@storybook/react/*").Decorator[];
21
+ render: () => import("react/jsx-runtime").JSX.Element;
22
+ decorators: import("@storybook/react").Decorator[];
23
23
  };
24
24
  export default _default;
25
25
  export declare const Default: {
@@ -1 +1 @@
1
- {"version":3,"file":"PopoverCombobox.stories.d.ts","sourceRoot":"","sources":["../../../../src/composites/PopoverCombobox.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;gBAsCw+E,MAAO,GAAG,CAAC,OAAO;;;;;;;;;;;;AAVphF,wBAKE;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
1
+ {"version":3,"file":"PopoverCombobox.stories.d.ts","sourceRoot":"","sources":["../../../../src/composites/PopoverCombobox.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;uBAsCg/E,mBAAmB;;;;;;;;;;;;AAV7hF,wBAKE;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-searchlist",
3
- "version": "0.7.5-main.9d2a38b",
3
+ "version": "0.7.5-main.e94eead",
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",
7
7
  "license": "MIT",
8
8
  "author": "DXOS.org",
9
9
  "sideEffects": true,
10
+ "type": "module",
10
11
  "exports": {
11
12
  ".": {
12
13
  "types": "./dist/types/src/index.d.ts",
@@ -23,8 +24,8 @@
23
24
  "src"
24
25
  ],
25
26
  "dependencies": {
26
- "@radix-ui/react-context": "^1.0.0",
27
- "@radix-ui/react-use-controllable-state": "^1.0.0",
27
+ "@radix-ui/react-context": "1.1.1",
28
+ "@radix-ui/react-use-controllable-state": "1.1.0",
28
29
  "cmdk": "^0.2.0"
29
30
  },
30
31
  "devDependencies": {
@@ -34,17 +35,17 @@
34
35
  "react": "~18.2.0",
35
36
  "react-dom": "~18.2.0",
36
37
  "vite": "5.4.7",
37
- "@dxos/random": "0.7.5-main.9d2a38b",
38
- "@dxos/react-ui": "0.7.5-main.9d2a38b",
39
- "@dxos/react-ui-theme": "0.7.5-main.9d2a38b",
40
- "@dxos/storybook-utils": "0.7.5-main.9d2a38b"
38
+ "@dxos/random": "0.7.5-main.e94eead",
39
+ "@dxos/react-ui": "0.7.5-main.e94eead",
40
+ "@dxos/storybook-utils": "0.7.5-main.e94eead",
41
+ "@dxos/react-ui-theme": "0.7.5-main.e94eead"
41
42
  },
42
43
  "peerDependencies": {
43
44
  "@phosphor-icons/react": "^2.1.5",
44
45
  "react": "~18.2.0",
45
46
  "react-dom": "~18.2.0",
46
- "@dxos/react-ui": "0.7.5-main.9d2a38b",
47
- "@dxos/react-ui-theme": "0.7.5-main.9d2a38b"
47
+ "@dxos/react-ui-theme": "0.7.5-main.e94eead",
48
+ "@dxos/react-ui": "0.7.5-main.e94eead"
48
49
  },
49
50
  "publishConfig": {
50
51
  "access": "public"