@equinor/fusion-framework-react-components-bookmark 0.1.14-next.0 → 0.1.15

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +8 -3
  2. package/dist/esm/components/Bookmark.js +1 -1
  3. package/dist/esm/components/Bookmark.js.map +1 -1
  4. package/dist/esm/components/BookmarkProvider.js +1 -1
  5. package/dist/esm/components/BookmarkProvider.js.map +1 -1
  6. package/dist/esm/components/create-bookmark/CreateBookmark.js +3 -3
  7. package/dist/esm/components/create-bookmark/CreateBookmark.js.map +1 -1
  8. package/dist/esm/components/edit-bookmark/EditBookmark.js +4 -4
  9. package/dist/esm/components/edit-bookmark/EditBookmark.js.map +1 -1
  10. package/dist/esm/components/filter/Filter.js +2 -2
  11. package/dist/esm/components/filter/Filter.js.map +1 -1
  12. package/dist/esm/components/import-bookmark/ImportBookmark.js +2 -2
  13. package/dist/esm/components/import-bookmark/ImportBookmark.js.map +1 -1
  14. package/dist/esm/components/loading/Loading.js +2 -2
  15. package/dist/esm/components/loading/Loading.js.map +1 -1
  16. package/dist/esm/components/row/MoreMenu.js +2 -2
  17. package/dist/esm/components/row/MoreMenu.js.map +1 -1
  18. package/dist/esm/components/row/Row.js +3 -3
  19. package/dist/esm/components/row/Row.js.map +1 -1
  20. package/dist/esm/components/section/Section.js +1 -1
  21. package/dist/esm/components/section/Section.js.map +1 -1
  22. package/dist/esm/components/sectionList/SectionList.js +2 -2
  23. package/dist/esm/components/sectionList/SectionList.js.map +1 -1
  24. package/dist/esm/version.js +2 -0
  25. package/dist/esm/version.js.map +1 -0
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/types/components/BookmarkProvider.d.ts +1 -1
  28. package/dist/types/version.d.ts +1 -0
  29. package/package.json +6 -7
  30. package/src/components/BookmarkProvider.tsx +1 -1
  31. package/src/components/create-bookmark/CreateBookmark.tsx +1 -1
  32. package/src/components/edit-bookmark/EditBookmark.tsx +3 -2
  33. package/src/components/sectionList/SectionList.tsx +2 -1
  34. package/src/version.ts +2 -0
  35. package/tsconfig.json +6 -1
@@ -1,4 +1,4 @@
1
- import { FrameworkEvent, FrameworkEventInit } from '@equinor/fusion-framework-module-event';
1
+ import type { FrameworkEvent, FrameworkEventInit } from '@equinor/fusion-framework-module-event';
2
2
  import { PropsWithChildren } from 'react';
3
3
  export declare const BookmarkProvider: ({ children }: PropsWithChildren<unknown>) => JSX.Element;
4
4
  declare module '@equinor/fusion-framework-module-event' {
@@ -0,0 +1 @@
1
+ export declare const version = "0.1.15";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-react-components-bookmark",
3
- "version": "0.1.14-next.0",
3
+ "version": "0.1.15",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "exports": {
@@ -24,7 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@equinor/eds-utils": "^0.7.0",
27
- "@equinor/fusion-framework-react-module-bookmark": "^2.0.13-next.0"
27
+ "@equinor/fusion-framework-react": "^5.2.2",
28
+ "@equinor/fusion-framework-react-module-bookmark": "^2.0.12"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@emotion/css": "^11.10.6",
@@ -33,11 +34,12 @@
33
34
  "@equinor/eds-core-react": "^0.30.0",
34
35
  "@equinor/eds-icons": "^0.19.1",
35
36
  "@equinor/eds-tokens": "^0.9.0",
37
+ "@equinor/fusion-framework-module-app": "^5.2.1",
38
+ "@equinor/fusion-framework-module-event": "^4.0.2",
36
39
  "@types/react": "^17.0.11",
37
40
  "react": "^17.0.2",
38
- "react-dom": "^17.0.2",
39
41
  "styled-components": "^5.3.9",
40
- "typescript": "^5.0.4"
42
+ "typescript": "^5.1.3"
41
43
  },
42
44
  "peerDependencies": {
43
45
  "@emotion/css": "^11.10.6",
@@ -52,9 +54,6 @@
52
54
  "peerDependenciesMeta": {
53
55
  "@types/react": {
54
56
  "optional": true
55
- },
56
- "react-dom": {
57
- "optional": true
58
57
  }
59
58
  }
60
59
  }
@@ -1,5 +1,5 @@
1
1
  import { Snackbar } from '@equinor/eds-core-react';
2
- import { FrameworkEvent, FrameworkEventInit } from '@equinor/fusion-framework-module-event';
2
+ import type { FrameworkEvent, FrameworkEventInit } from '@equinor/fusion-framework-module-event';
3
3
  import { useFramework } from '@equinor/fusion-framework-react';
4
4
  import { PropsWithChildren, useEffect, useState } from 'react';
5
5
  import { CreateBookmarkModal } from './create-bookmark';
@@ -1,6 +1,6 @@
1
1
  import styled from '@emotion/styled';
2
2
  import { Button, Checkbox, Dialog, Input, Label, TextField } from '@equinor/eds-core-react';
3
- import { AppModule } from '@equinor/fusion-framework-module-app';
3
+ import type { AppModule } from '@equinor/fusion-framework-module-app';
4
4
  import { useFramework } from '@equinor/fusion-framework-react';
5
5
  import { useBookmark } from '@equinor/fusion-framework-react-module-bookmark';
6
6
  import { ChangeEvent, useState } from 'react';
@@ -1,8 +1,9 @@
1
1
  import { css } from '@emotion/css';
2
2
  import styled from '@emotion/styled';
3
3
  import { Button, Checkbox, Dialog, Input, Label, TextField } from '@equinor/eds-core-react';
4
- import { AppModule } from '@equinor/fusion-framework-module-app';
5
- import { PatchBookmark } from '@equinor/fusion-framework-module-bookmark';
4
+ import type { AppModule } from '@equinor/fusion-framework-module-app';
5
+ // TODO - export from `@equinor/fusion-framework-react-module-bookmark`
6
+ import type { PatchBookmark } from '@equinor/fusion-framework-module-bookmark';
6
7
  import { useFramework } from '@equinor/fusion-framework-react';
7
8
  import { useBookmark } from '@equinor/fusion-framework-react-module-bookmark';
8
9
  import { ChangeEvent, useEffect, useState } from 'react';
@@ -3,7 +3,8 @@ import { useBookmarkGrouping } from '../../hooks';
3
3
  import { Row } from '../row/Row';
4
4
  import { Section } from '../section/Section';
5
5
  import { SharedIcon } from '../shared/SharedIcon';
6
- import { Bookmark } from '@equinor/fusion-framework-module-bookmark';
6
+ // TODO - export from `@equinor/fusion-framework-react-module-bookmark`
7
+ import type { Bookmark } from '@equinor/fusion-framework-module-bookmark';
7
8
  import { useBookmark } from '@equinor/fusion-framework-react-module-bookmark';
8
9
  import { useCurrentUser } from '@equinor/fusion-framework-react/hooks';
9
10
  import { useCallback, useEffect, useState } from 'react';
package/src/version.ts ADDED
@@ -0,0 +1,2 @@
1
+ // Generated by genversion.
2
+ export const version = '0.1.15';
package/tsconfig.json CHANGED
@@ -7,7 +7,12 @@
7
7
  "baseUrl": "src",
8
8
  },
9
9
  "references": [
10
-
10
+ {
11
+ "path": "../../framework"
12
+ },
13
+ {
14
+ "path": "../../modules/bookmark"
15
+ }
11
16
  ],
12
17
  "include": [
13
18
  "src/**/*"