cozy-search 0.23.3 → 0.24.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.
@@ -13,7 +13,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
 
16
- var _Card = _interopRequireDefault(require("cozy-ui/transpiled/react/Card"));
16
+ var _Box = _interopRequireDefault(require("cozy-ui/transpiled/react/Box"));
17
17
 
18
18
  var _Icon = _interopRequireDefault(require("cozy-ui/transpiled/react/Icon"));
19
19
 
@@ -121,8 +121,13 @@ var ApiKeyStep = function ApiKeyStep(_ref) {
121
121
  icon: _Eye.default
122
122
  }))
123
123
  }
124
- })), /*#__PURE__*/_react.default.createElement(_Card.default, {
125
- className: (0, _classnames.default)(' u-p-1 u-bdw-0', {
124
+ })), /*#__PURE__*/_react.default.createElement(_Box.default, {
125
+ display: "block",
126
+ border: 1,
127
+ borderColor: "var(--dividerColor)",
128
+ borderRadius: 8,
129
+ padding: 2,
130
+ className: (0, _classnames.default)({
126
131
  'u-bg-primaryBackgroundLight': theme === 'light',
127
132
  'u-bg-coolGrey': theme === 'dark'
128
133
  })
@@ -13,7 +13,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
14
  var _react2 = _interopRequireDefault(require("react"));
15
15
 
16
- var _Card = _interopRequireDefault(require("cozy-ui/transpiled/react/Card"));
16
+ var _Box = _interopRequireDefault(require("cozy-ui/transpiled/react/Box"));
17
17
 
18
18
  var _Typography = _interopRequireDefault(require("cozy-ui/transpiled/react/Typography"));
19
19
 
@@ -31,8 +31,12 @@ var UserMessage = function UserMessage() {
31
31
 
32
32
  return /*#__PURE__*/_react2.default.createElement(_react.MessagePrimitive.Root, {
33
33
  className: "u-mt-1"
34
- }, /*#__PURE__*/_react2.default.createElement(_Card.default, {
35
- className: (0, _classnames.default)('u-bdrs-5 u-bdw-0 u-ml-auto u-p-half', styles['cozyThread-user-messages'], styles["cozyThread-user-messages--".concat(theme)])
34
+ }, /*#__PURE__*/_react2.default.createElement(_Box.default, {
35
+ display: "block",
36
+ border: 0,
37
+ borderRadius: 10,
38
+ padding: 0.5,
39
+ className: (0, _classnames.default)('u-ml-auto', styles['cozyThread-user-messages'], styles["cozyThread-user-messages--".concat(theme)])
36
40
  }, /*#__PURE__*/_react2.default.createElement(_react.MessagePrimitive.Parts, {
37
41
  components: {
38
42
  Text: function Text(_ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cozy-search",
3
3
  "description": "UI components about search bar and IA assistant",
4
- "version": "0.23.3",
4
+ "version": "0.24.0",
5
5
  "author": {
6
6
  "name": "Cozy Cloud",
7
7
  "url": "https://github.com/cozy"
@@ -26,7 +26,6 @@
26
26
  "babel-plugin-module-resolver": "^4.0.0",
27
27
  "babel-plugin-tsconfig-paths": "^1.0.3",
28
28
  "babel-preset-cozy-app": "^2.8.4",
29
- "cozy-bar": "^29.0.0",
30
29
  "cozy-client": "60.23.0",
31
30
  "cozy-device-helper": "^4.0.3",
32
31
  "cozy-flags": "^4.9.1",
@@ -35,8 +34,8 @@
35
34
  "cozy-minilog": "^3.10.1",
36
35
  "cozy-pouch-link": "^54.0.0",
37
36
  "cozy-realtime": "^5.9.1",
38
- "cozy-ui": "^137.0.1",
39
- "cozy-ui-plus": "^5.3.1",
37
+ "cozy-ui": "^138.1.0",
38
+ "cozy-ui-plus": "^6.0.0",
40
39
  "cross-fetch": "^4.0.0",
41
40
  "jest": "30.3.0",
42
41
  "react": "18.2.0",
@@ -61,7 +60,6 @@
61
60
  "./dist/stylesheet.css": "./dist/stylesheet.css"
62
61
  },
63
62
  "peerDependencies": {
64
- "cozy-bar": ">=29.0.0",
65
63
  "cozy-client": ">=60.21.0",
66
64
  "cozy-device-helper": ">=3.7.1",
67
65
  "cozy-flags": ">=4.6.1",
@@ -70,8 +68,8 @@
70
68
  "cozy-minilog": ">=3.3.1",
71
69
  "cozy-pouch-link": "54.0.0",
72
70
  "cozy-realtime": ">=5.6.4",
73
- "cozy-ui": ">=137.0.1",
74
- "cozy-ui-plus": ">=1.2.0",
71
+ "cozy-ui": ">=138.1.0",
72
+ "cozy-ui-plus": ">=6.0.0",
75
73
  "react": ">=18.0.0",
76
74
  "react-dom": ">=18.0.0",
77
75
  "react-router-dom": "^6.28.0",
@@ -94,5 +92,5 @@
94
92
  "lint": "cd .. && yarn eslint --ext js,jsx,ts packages/cozy-search"
95
93
  },
96
94
  "types": "dist/index.d.ts",
97
- "gitHead": "e10a9ecf005814f4ff42fc35114172085c34abd5"
95
+ "gitHead": "9655a128354d92bbb108ed6ec830704dd158d48a"
98
96
  }