cozy-ui-plus 13.0.7 → 13.0.8

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
@@ -3,6 +3,12 @@
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
+ ## [13.0.8](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@13.0.7...cozy-ui-plus@13.0.8) (2026-09-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **cozy-ui-plus:** Only extract stylesheet when building ([fe27bbe](https://github.com/cozy/cozy-libs/commit/fe27bbe6562c5cc1e386e334d2d2a09121a5b4bc))
11
+
6
12
  ## [13.0.7](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@13.0.6...cozy-ui-plus@13.0.7) (2026-09-23)
7
13
 
8
14
  **Note:** Version bump only for package cozy-ui-plus
package/babel.config.js CHANGED
@@ -1,23 +1,34 @@
1
+ const cssModulesOptions = {
2
+ extensions: ['.styl'],
3
+ preprocessCss: './preprocess',
4
+ generateScopedName: '[name]__[local]___[hash:base64:5]'
5
+ }
6
+
1
7
  module.exports = {
2
8
  presets: ['cozy-app'],
3
9
  env: {
4
10
  transpilation: {
5
- ignore: ['**/*.spec.jsx', '**/*.spec.js', '**/*.spec.tsx', '**/*.spec.ts']
11
+ ignore: [
12
+ '**/*.spec.jsx',
13
+ '**/*.spec.js',
14
+ '**/*.spec.tsx',
15
+ '**/*.spec.ts'
16
+ ],
17
+ // Only the build writes the stylesheet, otherwise each babel-jest
18
+ // worker overwrites it with the styles of its own test files
19
+ plugins: [
20
+ [
21
+ 'css-modules-transform',
22
+ { ...cssModulesOptions, extractCss: './dist/stylesheet.css' }
23
+ ]
24
+ ]
6
25
  },
7
26
  test: {
8
27
  presets: [['cozy-app', { transformRuntime: { helpers: true } }]]
9
28
  }
10
29
  },
11
30
  plugins: [
12
- [
13
- 'css-modules-transform',
14
- {
15
- extensions: ['.styl'],
16
- preprocessCss: './preprocess',
17
- extractCss: './dist/stylesheet.css',
18
- generateScopedName: '[name]__[local]___[hash:base64:5]'
19
- }
20
- ],
31
+ ['css-modules-transform', cssModulesOptions],
21
32
  ['inline-json-import', {}]
22
33
  ],
23
34
  ignore: ['examples/**/*', '**/*.md', '**/*.styl', '**/*.json', '**/*.snap']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui-plus",
3
- "version": "13.0.7",
3
+ "version": "13.0.8",
4
4
  "description": "Cozy-ui-plus is an extension of cozy-ui and provides components based on cozy-client",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "cozy-intent": "^2.31.1",
39
39
  "cozy-interapp": "^0.19.0",
40
40
  "cozy-logger": "^1.18.1",
41
- "cozy-sharing": "^38.1.3",
41
+ "cozy-sharing": "^38.1.4",
42
42
  "cozy-stack-client": "^60.21.1",
43
43
  "cozy-ui": "^138.1.0",
44
44
  "jest": "30.3.0",
@@ -78,5 +78,5 @@
78
78
  "react-dom": "^16 || ^17 || ^18",
79
79
  "twake-i18n": ">=0.3.0"
80
80
  },
81
- "gitHead": "8c012d67c3b598402f84b65bdc9f0f6f7e9d4e95"
81
+ "gitHead": "2928778c60c287a513ae3e131177ef20b3d35ef5"
82
82
  }