@dxos/react-ui-searchlist 0.6.13 → 0.6.14-main.2b6a0f3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/ui/react-ui-searchlist/src/components/SearchList.tsx":{"bytes":21589,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-searchlist/src/components/index.ts":{"bytes":520,"imports":[{"path":"packages/ui/react-ui-searchlist/src/components/SearchList.tsx","kind":"import-statement","original":"./SearchList"}],"format":"esm"},"packages/ui/react-ui-searchlist/src/composites/PopoverCombobox.tsx":{"bytes":13552,"imports":[{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-searchlist/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui-searchlist/src/composites/index.ts":{"bytes":533,"imports":[{"path":"packages/ui/react-ui-searchlist/src/composites/PopoverCombobox.tsx","kind":"import-statement","original":"./PopoverCombobox"}],"format":"esm"},"packages/ui/react-ui-searchlist/src/translations.ts":{"bytes":912,"imports":[],"format":"esm"},"packages/ui/react-ui-searchlist/src/index.ts":{"bytes":817,"imports":[{"path":"packages/ui/react-ui-searchlist/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/ui/react-ui-searchlist/src/composites/index.ts","kind":"import-statement","original":"./composites"},{"path":"packages/ui/react-ui-searchlist/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"}},"outputs":{"packages/ui/react-ui-searchlist/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19857},"packages/ui/react-ui-searchlist/dist/lib/browser/index.mjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Combobox","PopoverCombobox","SearchList","translations"],"entryPoint":"packages/ui/react-ui-searchlist/src/index.ts","inputs":{"packages/ui/react-ui-searchlist/src/components/SearchList.tsx":{"bytesInOutput":4982},"packages/ui/react-ui-searchlist/src/
|
|
1
|
+
{"inputs":{"packages/ui/react-ui-searchlist/src/components/SearchList.tsx":{"bytes":21589,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui-searchlist/src/components/index.ts":{"bytes":520,"imports":[{"path":"packages/ui/react-ui-searchlist/src/components/SearchList.tsx","kind":"import-statement","original":"./SearchList"}],"format":"esm"},"packages/ui/react-ui-searchlist/src/composites/PopoverCombobox.tsx":{"bytes":13552,"imports":[{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/ui/react-ui-searchlist/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui-searchlist/src/composites/index.ts":{"bytes":533,"imports":[{"path":"packages/ui/react-ui-searchlist/src/composites/PopoverCombobox.tsx","kind":"import-statement","original":"./PopoverCombobox"}],"format":"esm"},"packages/ui/react-ui-searchlist/src/translations.ts":{"bytes":912,"imports":[],"format":"esm"},"packages/ui/react-ui-searchlist/src/index.ts":{"bytes":817,"imports":[{"path":"packages/ui/react-ui-searchlist/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/ui/react-ui-searchlist/src/composites/index.ts","kind":"import-statement","original":"./composites"},{"path":"packages/ui/react-ui-searchlist/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"}},"outputs":{"packages/ui/react-ui-searchlist/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19857},"packages/ui/react-ui-searchlist/dist/lib/browser/index.mjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Combobox","PopoverCombobox","SearchList","translations"],"entryPoint":"packages/ui/react-ui-searchlist/src/index.ts","inputs":{"packages/ui/react-ui-searchlist/src/components/SearchList.tsx":{"bytesInOutput":4982},"packages/ui/react-ui-searchlist/src/index.ts":{"bytesInOutput":0},"packages/ui/react-ui-searchlist/src/composites/PopoverCombobox.tsx":{"bytesInOutput":2936},"packages/ui/react-ui-searchlist/src/translations.ts":{"bytesInOutput":123}},"bytes":8364}}}
|
|
@@ -14,8 +14,8 @@ declare const _default: {
|
|
|
14
14
|
} & React.RefAttributes<SVGSVGElement>>;
|
|
15
15
|
Empty: React.ForwardRefExoticComponent<Omit<import("..").SearchListEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
};
|
|
17
|
-
decorators: import("@storybook/react/*").Decorator[];
|
|
18
17
|
render: () => React.JSX.Element;
|
|
18
|
+
decorators: import("@storybook/react/*").Decorator[];
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
export declare const Default: {
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-searchlist",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.14-main.2b6a0f3",
|
|
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
|
+
"sideEffects": false,
|
|
9
10
|
"exports": {
|
|
10
11
|
".": {
|
|
11
12
|
"browser": "./dist/lib/browser/index.mjs",
|
|
@@ -23,9 +24,7 @@
|
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"@radix-ui/react-context": "^1.0.0",
|
|
25
26
|
"@radix-ui/react-use-controllable-state": "^1.0.0",
|
|
26
|
-
"cmdk": "^0.2.0"
|
|
27
|
-
"@dxos/react-ui": "0.6.13",
|
|
28
|
-
"@dxos/react-ui-theme": "0.6.13"
|
|
27
|
+
"cmdk": "^0.2.0"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
30
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -33,14 +32,18 @@
|
|
|
33
32
|
"@types/react-dom": "~18.2.0",
|
|
34
33
|
"react": "~18.2.0",
|
|
35
34
|
"react-dom": "~18.2.0",
|
|
36
|
-
"vite": "
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
35
|
+
"vite": "5.4.7",
|
|
36
|
+
"@dxos/random": "0.6.14-main.2b6a0f3",
|
|
37
|
+
"@dxos/react-ui": "0.6.14-main.2b6a0f3",
|
|
38
|
+
"@dxos/react-ui-theme": "0.6.14-main.2b6a0f3",
|
|
39
|
+
"@dxos/storybook-utils": "0.6.14-main.2b6a0f3"
|
|
39
40
|
},
|
|
40
41
|
"peerDependencies": {
|
|
41
42
|
"@phosphor-icons/react": "^2.1.5",
|
|
42
|
-
"react": "
|
|
43
|
-
"react-dom": "
|
|
43
|
+
"react": "~18.2.0",
|
|
44
|
+
"react-dom": "~18.2.0",
|
|
45
|
+
"@dxos/react-ui": "0.6.14-main.2b6a0f3",
|
|
46
|
+
"@dxos/react-ui-theme": "0.6.14-main.2b6a0f3"
|
|
44
47
|
},
|
|
45
48
|
"publishConfig": {
|
|
46
49
|
"access": "public"
|
|
@@ -37,7 +37,7 @@ const SearchListStory: FC<{ items: StoryItems }> = ({ items = defaultItems }) =>
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export default {
|
|
40
|
-
title: 'react-ui-searchlist/SearchList',
|
|
40
|
+
title: 'ui/react-ui-searchlist/SearchList',
|
|
41
41
|
component: SearchListStory,
|
|
42
42
|
decorators: [withTheme],
|
|
43
43
|
};
|
|
@@ -15,7 +15,7 @@ faker.seed(1234);
|
|
|
15
15
|
|
|
16
16
|
const storybookItems = faker.helpers.uniqueArray(faker.commerce.productName, 16);
|
|
17
17
|
|
|
18
|
-
const
|
|
18
|
+
const DefaultStory = () => {
|
|
19
19
|
return (
|
|
20
20
|
<PopoverCombobox.Root placeholder='Nothing selected'>
|
|
21
21
|
<PopoverCombobox.Trigger />
|
|
@@ -33,10 +33,10 @@ const Story = () => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
export default {
|
|
36
|
-
title: 'react-ui-searchlist/PopoverCombobox',
|
|
36
|
+
title: 'ui/react-ui-searchlist/PopoverCombobox',
|
|
37
37
|
component: PopoverCombobox,
|
|
38
|
+
render: DefaultStory,
|
|
38
39
|
decorators: [withTheme],
|
|
39
|
-
render: Story,
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
export const Default = {
|