@equinor/fusion-react-context-selector 2.0.7 → 2.0.9
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/ContextProvider.d.ts +4 -4
- package/dist/ContextProvider.d.ts.map +1 -1
- package/dist/ContextSearch.d.ts +4 -4
- package/dist/ContextSearch.d.ts.map +1 -1
- package/dist/ContextSearch.styles.d.ts +1 -1
- package/dist/ContextSearch.styles.d.ts.map +1 -1
- package/dist/ContextSelector.d.ts +4 -4
- package/dist/ContextSelector.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PropsWithChildren, ReactElement } from 'react';
|
|
2
2
|
import type { ContextProviderProps } from './types';
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
displayName: string;
|
|
6
|
-
}
|
|
3
|
+
export declare function ContextProvider({ children, ...props }: PropsWithChildren<ContextProviderProps>): ReactElement;
|
|
4
|
+
export declare namespace ContextProvider {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
7
|
export default ContextProvider;
|
|
8
8
|
//# sourceMappingURL=ContextProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextProvider.d.ts","sourceRoot":"","sources":["../src/ContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ContextProvider.d.ts","sourceRoot":"","sources":["../src/ContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;wCAEpB,EAC9B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,GAAG,YAAY;;;;eAO1C,eAAe"}
|
package/dist/ContextSearch.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ export type ContextSearchProps = ContextSelectorProps & {
|
|
|
11
11
|
previewItem?: ContextResultItem;
|
|
12
12
|
onClearContext?: (e: Event) => void;
|
|
13
13
|
};
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
displayName: string;
|
|
17
|
-
}
|
|
14
|
+
export declare function ContextSearch({ children, onSelect, previewItem, onClearContext, ...props }: PropsWithChildren<ContextSearchProps>): ReactElement;
|
|
15
|
+
export declare namespace ContextSearch {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
18
18
|
export default ContextSearch;
|
|
19
19
|
//# sourceMappingURL=ContextSearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSearch.d.ts","sourceRoot":"","sources":["../src/ContextSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,YAAY,EAMlB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAsB,MAAM,SAAS,CAAC;AAQ3F,UAAU,wBAAwB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,wBAAwB,CAAC;IAC1E,MAAM,CAAC,QAAQ,CAAC,SAAS,wBAAyB;
|
|
1
|
+
{"version":3,"file":"ContextSearch.d.ts","sourceRoot":"","sources":["../src/ContextSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,YAAY,EAMlB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAsB,MAAM,SAAS,CAAC;AAQ3F,UAAU,wBAAwB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,wBAAwB,CAAC;IAC1E,MAAM,CAAC,QAAQ,CAAC,SAAS,wBAAyB;IAClD,YAAY,OAAO,EAAE,wBAAwB,EAM5C;CACF;AAED,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACtD,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;CACrC,CAAC;sCAU4B,EAC5B,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,cAAc,EACd,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,GAAG,YAAY;;;;eAkLxC,aAAa"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const useStyles: (props?: {} | undefined) => Record<"
|
|
1
|
+
export declare const useStyles: (props?: {} | undefined) => Record<"closeBtn" | "context" | "ctxSelector" | "hidden" | "icon" | "root" | "subTitle" | "title" | "titleBlock", string>;
|
|
2
2
|
export default useStyles;
|
|
3
3
|
//# sourceMappingURL=ContextSearch.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSearch.styles.d.ts","sourceRoot":"","sources":["../src/ContextSearch.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,uJAsErB,CAAC;
|
|
1
|
+
{"version":3,"file":"ContextSearch.styles.d.ts","sourceRoot":"","sources":["../src/ContextSearch.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,uJAsErB,CAAC;eAEa,SAAS"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ContextSelectorProps } from './types';
|
|
2
2
|
import type { ReactElement, PropsWithChildren } from 'react';
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
displayName: string;
|
|
6
|
-
}
|
|
3
|
+
export declare function ContextSelector({ children, ...props }: PropsWithChildren<ContextSelectorProps>): ReactElement;
|
|
4
|
+
export declare namespace ContextSelector {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
7
|
export default ContextSelector;
|
|
8
8
|
//# sourceMappingURL=ContextSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelector.d.ts","sourceRoot":"","sources":["../src/ContextSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ContextSelector.d.ts","sourceRoot":"","sources":["../src/ContextSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;wCAE7B,EAC9B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,GAAG,YAAY;;;;eAM1C,eAAe"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-react-context-selector",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "React component for context selector",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contextselector",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"url": "https://github.com/equinor/fusion-react-components/issues"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@equinor/fusion-react-searchable-dropdown": "2.0.
|
|
42
|
-
"@equinor/fusion-react-styles": "2.1.
|
|
43
|
-
"@equinor/fusion-react-utils": "3.0.
|
|
41
|
+
"@equinor/fusion-react-searchable-dropdown": "2.0.8",
|
|
42
|
+
"@equinor/fusion-react-styles": "2.1.8",
|
|
43
|
+
"@equinor/fusion-react-utils": "3.0.7",
|
|
44
44
|
"@equinor/fusion-wc-icon": "^2.4.1",
|
|
45
45
|
"@equinor/fusion-wc-searchable-dropdown": "^4.1.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/react": "^19.2.14",
|
|
49
|
-
"react": "^19.2.
|
|
49
|
+
"react": "^19.2.8"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": "^18 || ^19"
|