@equinor/fusion-framework-react-app 5.5.2 → 5.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @equinor/fusion-framework-module-app@6.1.4
9
+ - @equinor/fusion-framework-react@7.3.8
10
+ - @equinor/fusion-framework-app@9.2.3
11
+
12
+ ## 5.5.3
13
+
14
+ ### Patch Changes
15
+
16
+ - [#2687](https://github.com/equinor/fusion-framework/pull/2687) [`22219ab`](https://github.com/equinor/fusion-framework/commit/22219ab3c07b5578c48a012632fe16d9a823a3bf) Thanks [@odinr](https://github.com/odinr)! - - Added hook for using theme in ag-grid
17
+ - Fixed issue with export types of bookmarks
18
+
3
19
  ## 5.5.2
4
20
 
5
21
  ### Patch Changes
@@ -0,0 +1,9 @@
1
+ import { useAppModule } from '../useAppModule';
2
+ export const useTheme = () => {
3
+ const agGrid = useAppModule('agGrid');
4
+ if (!agGrid) {
5
+ throw new Error('agGrid module is not available');
6
+ }
7
+ return agGrid.theme;
8
+ };
9
+ //# sourceMappingURL=useTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTheme.js","sourceRoot":"","sources":["../../../src/ag-grid/useTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAU,EAAE;IAChC,MAAM,MAAM,GAAG,YAAY,CAAe,QAAQ,CAAC,CAAC;IAEpD,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,MAAM,CAAC,KAAc,CAAC;AACjC,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { useBookmark as _useBookmark } from '@equinor/fusion-framework-react-module-bookmark';
1
+ import { useBookmark as _useBookmark, } from '@equinor/fusion-framework-react-module-bookmark';
2
2
  /**
3
3
  * @deprecated Use useBookmark from @equinor/fusion-framework-react-module-bookmark
4
4
  * For application development the useCurrentBookmark should be sufficient enough
@@ -1 +1 @@
1
- {"version":3,"file":"useBookmark.js","sourceRoot":"","sources":["../../../src/bookmark/useBookmark.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAE9F;;;;;;;;;;;;;;;;GAgBG;AACH,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAU,EAAE,CAAC,YAAY,EAAE,CAAC;AAEvD,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"useBookmark.js","sourceRoot":"","sources":["../../../src/bookmark/useBookmark.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,IAAI,YAAY,GAE9B,MAAM,iDAAiD,CAAC;AAEzD;;;;;;;;;;;;;;;;GAgBG;AACH,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,GAA6B,EAAE,CAAC,YAAY,EAAE,CAAC;AAE1E,eAAe,WAAW,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '5.5.2';
2
+ export const version = '5.5.4';
3
3
  //# sourceMappingURL=version.js.map