cozy-harvest-lib 30.6.4 → 30.7.0
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/.storybook/StoryContainer.tsx +1 -1
- package/.storybook/manager-head.html +1 -0
- package/CHANGELOG.md +26 -0
- package/jest.config.js +1 -5
- package/package.json +4 -4
|
@@ -18,7 +18,7 @@ defaultClient.ensureStore()
|
|
|
18
18
|
export const StoryContainer = ({ children }: {children: ReactNode}) => {
|
|
19
19
|
return (
|
|
20
20
|
<CozyClientProvider client={defaultClient}>
|
|
21
|
-
<CozyTheme>
|
|
21
|
+
<CozyTheme ignoreCozySettings={true}>
|
|
22
22
|
<BreakpointsProvider>
|
|
23
23
|
<DialogContextApp>
|
|
24
24
|
<I18n lang="en" dictRequire={() => enLocale}>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<meta name="color-scheme" content="only light">
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [30.7.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@30.6.5...cozy-harvest-lib@30.7.0) (2024-11-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **cozy-harvest-lib:** Make test working after no-hosting cozy-ui ([ead9c6f](https://github.com/cozy/cozy-libs/commit/ead9c6f34f50708f72eb6e0d2f7ced4f354e1d12))
|
|
12
|
+
* **cozy-harvest-lib:** Make test works with cozy-client ([bce0da5](https://github.com/cozy/cozy-libs/commit/bce0da5531afea157da2c2fd72ed3645a831e853))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **cozy-harvest-lib:** Force light theme inside Storybook ([ec78500](https://github.com/cozy/cozy-libs/commit/ec78500ff71551a27e6036d861a19071d119b4ef))
|
|
18
|
+
* **cozy-harvest-lib:** Update cozy-ui from 112.2.0 to 113.1.0 ([92c0722](https://github.com/cozy/cozy-libs/commit/92c072200b3d223466d55bacd794bdcff1b18359))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [30.6.5](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@30.6.4...cozy-harvest-lib@30.6.5) (2024-11-22)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package cozy-harvest-lib
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
6
32
|
## [30.6.4](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@30.6.3...cozy-harvest-lib@30.6.4) (2024-11-18)
|
|
7
33
|
|
|
8
34
|
**Note:** Version bump only for package cozy-harvest-lib
|
package/jest.config.js
CHANGED
|
@@ -17,11 +17,7 @@ module.exports = {
|
|
|
17
17
|
'\\.(png|gif|jpe?g|svg|css)$': '<rootDir>/src/__mocks__/fileMock.js',
|
|
18
18
|
// identity-obj-proxy module is installed by cozy-scripts
|
|
19
19
|
'.styl$': 'identity-obj-proxy',
|
|
20
|
-
|
|
21
|
-
// Can be removed when cozy-client's version in the workspace is > 14.4.0.
|
|
22
|
-
// Since otherwise harvest tries to mock unexisting methods from
|
|
23
|
-
// cozy-client/models/account (getContractSyncStatusFromAccount for ex)
|
|
24
|
-
'^cozy-client$': '<rootDir>/node_modules/cozy-client/dist/index.js'
|
|
20
|
+
'^cozy-ui(.*)': '<rootDir>/node_modules/cozy-ui/$1'
|
|
25
21
|
},
|
|
26
22
|
transformIgnorePatterns: ['node_modules/(?!(cozy-ui|cozy-keys-lib))'],
|
|
27
23
|
setupFilesAfterEnv: ['<rootDir>/src/jest.setup.js']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-harvest-lib",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.7.0",
|
|
4
4
|
"description": "Provides logic, modules and components for Cozy's harvest applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"cozy-keys-lib": "^6.1.1",
|
|
74
74
|
"cozy-realtime": "^5.6.1",
|
|
75
75
|
"cozy-tsconfig": "^1.8.1",
|
|
76
|
-
"cozy-ui": "^
|
|
77
|
-
"cozy-viewer": "^2.
|
|
76
|
+
"cozy-ui": "^113.1.0",
|
|
77
|
+
"cozy-viewer": "^2.9.1",
|
|
78
78
|
"enzyme": "3.11.0",
|
|
79
79
|
"enzyme-adapter-react-16": "1.15.6",
|
|
80
80
|
"form-data": "4.0.0",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"react-router-dom": ">=4.3.1"
|
|
111
111
|
},
|
|
112
112
|
"sideEffects": false,
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "7b897f6e8327175b29bb2b35d388ef8753c8e846"
|
|
114
114
|
}
|