cozy-ui 138.0.0 → 138.1.1

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,17 @@
1
+ ## [138.1.1](https://github.com/cozy/cozy-ui/compare/v138.1.0...v138.1.1) (2026-03-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **AppTitle:** Use direct Svg instead of Icon to avoid DOM error ([02c0e14](https://github.com/cozy/cozy-ui/commit/02c0e14))
7
+
8
+ # [138.1.0](https://github.com/cozy/cozy-ui/compare/v138.0.0...v138.1.0) (2026-03-24)
9
+
10
+
11
+ ### Features
12
+
13
+ * Replace deprecated button in documentation ([a474191](https://github.com/cozy/cozy-ui/commit/a474191))
14
+
1
15
  # [138.0.0](https://github.com/cozy/cozy-ui/compare/v137.0.1...v138.0.0) (2026-03-24)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "138.0.0",
3
+ "version": "138.1.1",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -21,13 +21,10 @@ const AppTitle = ({ appIcon, appTextIcon }) => {
21
21
  size="32"
22
22
  className={styles['c-apptitle-app-icon']}
23
23
  />
24
- <Icon
25
- icon={TwakeTextIcon}
26
- width="auto"
24
+ <TwakeTextIcon
27
25
  height="22"
28
26
  className={cx(
29
27
  'u-mr-half',
30
- 'u-w-auto',
31
28
  isLight ? styles['c-apptitle-light'] : styles['c-apptitle-dark']
32
29
  )}
33
30
  />
@@ -7,9 +7,9 @@ const rootDirectory = path.join(__dirname, '../')
7
7
  const formatViewport = viewport => `${viewport.width}x${viewport.height}`
8
8
 
9
9
  const getDefaultScreenshotName = ({ component, viewport, suffix, theme }) =>
10
- `${component.testId}-${
11
- suffix ? `${suffix}-` : ''
12
- }${theme}-normal-${formatViewport(viewport)}.png` // TODO: normal keyword should be removed after verifying if screenshots are all good
10
+ `${component.testId}-${suffix ? `${suffix}-` : ''}${theme}-${formatViewport(
11
+ viewport
12
+ )}.png`
13
13
 
14
14
  /**
15
15
  * Screenshot a component to the screenshot directory, taking care of
@@ -28,11 +28,9 @@ var AppTitle = function AppTitle(_ref) {
28
28
  icon: appIcon,
29
29
  size: "32",
30
30
  className: styles['c-apptitle-app-icon']
31
- }), /*#__PURE__*/React.createElement(Icon, {
32
- icon: TwakeTextIcon,
33
- width: "auto",
31
+ }), /*#__PURE__*/React.createElement(TwakeTextIcon, {
34
32
  height: "22",
35
- className: cx('u-mr-half', 'u-w-auto', isLight ? styles['c-apptitle-light'] : styles['c-apptitle-dark'])
33
+ className: cx('u-mr-half', isLight ? styles['c-apptitle-light'] : styles['c-apptitle-dark'])
36
34
  }), /*#__PURE__*/React.createElement(Icon, {
37
35
  icon: appTextIcon,
38
36
  width: "auto",