@equinor/fusion-react-searchable-dropdown 1.0.6 → 2.0.1
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,3 +1,4 @@
|
|
|
1
|
+
import type { ReactElement, PropsWithChildren } from 'react';
|
|
1
2
|
import type { ComponentProps } from '@equinor/fusion-react-utils';
|
|
2
3
|
import type { SearchableDropdownElement, SearchableDropdownResolver } from '@equinor/fusion-wc-searchable-dropdown';
|
|
3
4
|
import { type DropdownProps } from './Dropdown';
|
|
@@ -5,6 +6,6 @@ type ElementProps = DropdownProps & {
|
|
|
5
6
|
resolver?: SearchableDropdownResolver;
|
|
6
7
|
};
|
|
7
8
|
export type SearchableDropdownProps = ComponentProps<SearchableDropdownElement, ElementProps>;
|
|
8
|
-
export declare const SearchableDropdown: ({ children, resolver, ...props }:
|
|
9
|
+
export declare const SearchableDropdown: ({ children, resolver, ...props }: PropsWithChildren<SearchableDropdownProps>) => ReactElement;
|
|
9
10
|
export default SearchableDropdown;
|
|
10
11
|
//# sourceMappingURL=SearchableDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableDropdown.d.ts","sourceRoot":"","sources":["../src/SearchableDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,wCAAwC,CAAC;AAGhD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,KAAK,YAAY,GAAG,aAAa,GAAG;IAAE,QAAQ,CAAC,EAAE,0BAA0B,CAAA;CAAE,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAE9F,eAAO,MAAM,kBAAkB,GAAI,kCAIhC,
|
|
1
|
+
{"version":3,"file":"SearchableDropdown.d.ts","sourceRoot":"","sources":["../src/SearchableDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,wCAAwC,CAAC;AAGhD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,KAAK,YAAY,GAAG,aAAa,GAAG;IAAE,QAAQ,CAAC,EAAE,0BAA0B,CAAA;CAAE,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAE9F,eAAO,MAAM,kBAAkB,GAAI,kCAIhC,iBAAiB,CAAC,uBAAuB,CAAC,KAAG,YAO/C,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableDropdown.js","sourceRoot":"","sources":["../src/SearchableDropdown.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SearchableDropdown.js","sourceRoot":"","sources":["../src/SearchableDropdown.tsx"],"names":[],"mappings":";AAOA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAsB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAMlE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACmC,EAAgB,EAAE;IAC7D,MAAM,WAAW,GAAG,sBAAsB,CAAC,QAAQ,CAAC,CAAC;IACrD,OAAO,CACL,KAAC,gBAAgB,IAAC,GAAG,EAAE,WAAW,YAChC,KAAC,QAAQ,OAAK,KAAK,YAAG,QAAQ,GAAY,GACzB,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-react-searchable-dropdown",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "component for displaying searchable dropdown",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"searchable dropdown",
|
|
@@ -24,19 +24,23 @@
|
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/equinor/fusion-react-components.git"
|
|
27
|
+
"url": "git+https://github.com/equinor/fusion-react-components.git",
|
|
28
|
+
"directory": "packages/searchable-dropdown"
|
|
28
29
|
},
|
|
29
30
|
"bugs": {
|
|
30
31
|
"url": "https://github.com/equinor/fusion-react-components/issues"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@equinor/fusion-react-utils": "^2.1.1",
|
|
34
34
|
"@equinor/fusion-wc-icon": "^2.3.1",
|
|
35
|
-
"@equinor/fusion-wc-searchable-dropdown": "^4.0.5"
|
|
35
|
+
"@equinor/fusion-wc-searchable-dropdown": "^4.0.5",
|
|
36
|
+
"@equinor/fusion-react-utils": "^3.0.1"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@types/react": "^
|
|
39
|
-
"react": "^
|
|
39
|
+
"@types/react": "^19.2.14",
|
|
40
|
+
"react": "^19.2.5"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"react": "^18 || ^19"
|
|
40
44
|
},
|
|
41
45
|
"scripts": {
|
|
42
46
|
"build": "tsc -b",
|