@equinor/fusion-framework-react-components-bookmark 0.1.12 → 0.1.13
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.1.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
|
|
8
|
+
|
|
9
|
+
- align all versions of typescript
|
|
10
|
+
- update types to build
|
|
11
|
+
- a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
|
|
14
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.12
|
|
15
|
+
|
|
3
16
|
## 0.1.12
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { Fragment as _Fragment, jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Menu } from '@equinor/eds-core-react';
|
|
3
3
|
export const MoreMenu = ({ pRef, onClose, open, options }) => {
|
|
4
|
-
return (_jsx(Menu, Object.assign({ open: open, anchorEl: pRef.current }, { children: options.map(({ onClick, name, disabled, Icon }) => (
|
|
4
|
+
return (_jsx(Menu, Object.assign({ open: open, anchorEl: pRef.current }, { children: options.map(({ onClick, name, disabled, Icon }) => (_jsx(Menu.Item, Object.assign({ disabled: disabled, onClick: (e) => {
|
|
5
5
|
e.stopPropagation();
|
|
6
6
|
e.preventDefault();
|
|
7
7
|
onClick();
|
|
8
8
|
onClose();
|
|
9
|
-
} }, { children: [Icon && Icon, name] }), name))) })));
|
|
9
|
+
} }, { children: _jsxs(_Fragment, { children: [Icon && Icon, name] }) }), name))) })));
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=MoreMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoreMenu.js","sourceRoot":"","sources":["../../../../src/components/row/MoreMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAW/C,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAa,EAAE,EAAE;IACpE,OAAO,CACH,KAAC,IAAI,kBAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,gBACnC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAChD,
|
|
1
|
+
{"version":3,"file":"MoreMenu.js","sourceRoot":"","sources":["../../../../src/components/row/MoreMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAW/C,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAa,EAAE,EAAE;IACpE,OAAO,CACH,KAAC,IAAI,kBAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,gBACnC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAChD,KAAC,IAAI,CAAC,IAAI,kBACN,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gBACX,CAAC,CAAC,eAAe,EAAE,CAAC;gBACpB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE,CAAC;YACd,CAAC,gBAGD,8BACK,IAAI,IAAI,IAAI,EACZ,IAAI,IACN,KALE,IAAI,CAMD,CACf,CAAC,IACC,CACV,CAAC;AACN,CAAC,CAAC"}
|