cozy-ui 122.12.1 → 122.13.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [122.13.0](https://github.com/cozy/cozy-ui/compare/v122.12.1...v122.13.0) (2025-05-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Update isTwakeTheme condition to force it to `true` ([a1db759](https://github.com/cozy/cozy-ui/commit/a1db759))
|
|
7
|
+
|
|
1
8
|
## [122.12.1](https://github.com/cozy/cozy-ui/compare/v122.12.0...v122.12.1) (2025-05-07)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import flag from 'cozy-flags'
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
|
-
*
|
|
2
|
+
* Forced to `true`, we don't want to use Cozy theme anymore
|
|
5
3
|
* @returns {boolean}
|
|
6
4
|
*/
|
|
7
5
|
export const isTwakeTheme = () => {
|
|
@@ -9,8 +7,5 @@ export const isTwakeTheme = () => {
|
|
|
9
7
|
return false
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
return
|
|
13
|
-
flag('ui.theme-twake.enabled') ||
|
|
14
|
-
localStorage.getItem('ui-theme-name') === 'Twake'
|
|
15
|
-
)
|
|
10
|
+
return true
|
|
16
11
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import flag from 'cozy-flags';
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
2
|
+
* Forced to `true`, we don't want to use Cozy theme anymore
|
|
4
3
|
* @returns {boolean}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
5
|
export var isTwakeTheme = function isTwakeTheme() {
|
|
8
6
|
if (process.env.NODE_ENV === 'test') {
|
|
9
7
|
return false;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
return
|
|
10
|
+
return true;
|
|
13
11
|
};
|