@equinor/fusion-react-context-selector 0.1.2 → 0.1.4

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  [![Published on npm](https://img.shields.io/npm/v/@equinor/fusion-react-context-selector.svg)](https://www.npmjs.com/package/@equinor/fusion-react-context-selector)
5
5
 
6
- [Storybook](https://equinor.github.io/fusion-react-components/?path=/docs/data-searchabledropdown)
6
+ [Storybook](https://equinor.github.io/fusion-react-components/?path=/docs/data-contextselector)
7
7
 
8
8
  [Fusion Web Component](https://github.com/equinor/fusion-web-components/tree/main/packages/searchable-dropdown)
9
9
 
@@ -17,6 +17,6 @@ npm install @equinor/fusion-react-context-selector
17
17
 
18
18
  | Name | Description
19
19
  | -------- | -------------
20
- | `select() => SearchableDropdownResult` | Returns `SearchableDropdownResult` of selected items.
20
+ | `onSelect() => ContextResult` | Returns `ContextResult` of selected items in event details.
21
21
 
22
22
  <!--prettier-ignore-end-->
@@ -1,9 +1,9 @@
1
1
  import { DropdownProps, SearchableDropdownResolver } from '@equinor/fusion-react-searchable-dropdown';
2
- declare type ElementResolver = {
2
+ type ElementResolver = {
3
3
  resolver?: SearchableDropdownResolver;
4
4
  };
5
5
  export { SearchableDropdownResult as ContextResult, SearchableDropdownResultItem as ContextResultItem, } from '@equinor/fusion-react-searchable-dropdown';
6
- export declare type ContextSelectorProps = DropdownProps & ElementResolver;
6
+ export type ContextSelectorProps = DropdownProps & ElementResolver;
7
7
  export declare const ContextSelector: ({ children, ...props }: React.PropsWithChildren<ContextSelectorProps>) => JSX.Element;
8
8
  export default ContextSelector;
9
9
  //# sourceMappingURL=ContextSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextSelector.d.ts","sourceRoot":"","sources":["../src/ContextSelector.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,aAAa,EACb,0BAA0B,EAC3B,MAAM,2CAA2C,CAAC;AAEnD,aAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,0BAA0B,CAAC;CACvC,CAAC;AAEF,OAAO,EACL,wBAAwB,IAAI,aAAa,EACzC,4BAA4B,IAAI,iBAAiB,GAClD,MAAM,2CAA2C,CAAC;AAEnD,oBAAY,oBAAoB,GAAG,aAAa,GAAG,eAAe,CAAC;AAEnE,eAAO,MAAM,eAAe,2BAA4B,MAAM,iBAAiB,CAAC,oBAAoB,CAAC,KAAG,WAOvG,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"ContextSelector.d.ts","sourceRoot":"","sources":["../src/ContextSelector.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,aAAa,EACb,0BAA0B,EAC3B,MAAM,2CAA2C,CAAC;AAEnD,KAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,0BAA0B,CAAC;CACvC,CAAC;AAEF,OAAO,EACL,wBAAwB,IAAI,aAAa,EACzC,4BAA4B,IAAI,iBAAiB,GAClD,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG,eAAe,CAAC;AAEnE,eAAO,MAAM,eAAe,2BAA4B,MAAM,iBAAiB,CAAC,oBAAoB,CAAC,KAAG,WAOvG,CAAC;AAEF,eAAe,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-react-context-selector",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "React component for context selector",
5
5
  "keywords": [
6
6
  "contextselector",
@@ -37,8 +37,8 @@
37
37
  "url": "https://github.com/equinor/fusion-react-components/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@equinor/fusion-react-searchable-dropdown": "^0.1.3",
41
- "@equinor/fusion-react-utils": "^2.0.3"
40
+ "@equinor/fusion-react-searchable-dropdown": "^0.1.5",
41
+ "@equinor/fusion-react-utils": "^2.0.4"
42
42
  },
43
- "gitHead": "48dfe916c373b950155b22252ef5d9bad8b1f6e3"
43
+ "gitHead": "405d5e40eb412d44db10373a8cc00b25d9908d45"
44
44
  }