@lobehub/ui 1.151.2 → 1.151.4
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/es/ChatHeader/style.d.ts +1 -1
- package/es/ChatHeader/style.js +4 -2
- package/es/mdx/Card.js +7 -3
- package/package.json +1 -1
package/es/ChatHeader/style.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
2
2
|
center: import("antd-style").SerializedStyles;
|
|
3
|
-
container:
|
|
3
|
+
container: string;
|
|
4
4
|
left: import("antd-style").SerializedStyles;
|
|
5
5
|
right: import("antd-style").SerializedStyles;
|
|
6
6
|
}>;
|
package/es/ChatHeader/style.js
CHANGED
|
@@ -4,10 +4,12 @@ import { createStyles } from 'antd-style';
|
|
|
4
4
|
import { rgba } from 'polished';
|
|
5
5
|
export var useStyles = createStyles(function (_ref) {
|
|
6
6
|
var css = _ref.css,
|
|
7
|
-
token = _ref.token
|
|
7
|
+
token = _ref.token,
|
|
8
|
+
stylish = _ref.stylish,
|
|
9
|
+
cx = _ref.cx;
|
|
8
10
|
return {
|
|
9
11
|
center: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n "]))),
|
|
10
|
-
container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n
|
|
12
|
+
container: cx(stylish.blurStrong, css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: absolute;\n z-index: 10;\n\n overflow: hidden;\n grid-area: header;\n align-self: stretch;\n\n width: 100%;\n height: 64px;\n\n background: linear-gradient(\n to bottom,\n ", ",\n ", "\n );\n border-block-end: 1px solid ", ";\n "])), rgba(token.colorBgLayout, 0.8), rgba(token.colorBgLayout, 0.4), token.colorBorder)),
|
|
11
13
|
left: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n flex: 1;\n "]))),
|
|
12
14
|
right: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n flex: none;\n "])))
|
|
13
15
|
};
|
package/es/mdx/Card.js
CHANGED
|
@@ -27,7 +27,7 @@ var useStyles = createStyles(function (_ref) {
|
|
|
27
27
|
var Card = function Card(_ref2) {
|
|
28
28
|
var tag = _ref2.tag,
|
|
29
29
|
_ref2$tagColor = _ref2.tagColor,
|
|
30
|
-
tagColor = _ref2$tagColor === void 0 ? '
|
|
30
|
+
tagColor = _ref2$tagColor === void 0 ? 'blue' : _ref2$tagColor,
|
|
31
31
|
icon = _ref2.icon,
|
|
32
32
|
title = _ref2.title,
|
|
33
33
|
desc = _ref2.desc,
|
|
@@ -58,14 +58,18 @@ var Card = function Card(_ref2) {
|
|
|
58
58
|
align: 'flex-start',
|
|
59
59
|
className: styles.content,
|
|
60
60
|
style: {
|
|
61
|
-
paddingBottom: 0
|
|
61
|
+
paddingBottom: '0.2em',
|
|
62
|
+
paddingTop: '1.8em'
|
|
62
63
|
},
|
|
63
64
|
children: /*#__PURE__*/_jsx(Tag, {
|
|
64
65
|
bordered: false,
|
|
65
66
|
color: tagColor,
|
|
66
67
|
style: {
|
|
67
68
|
borderRadius: '1em',
|
|
68
|
-
fontSize: '0.8em'
|
|
69
|
+
fontSize: '0.8em',
|
|
70
|
+
fontWeight: 500,
|
|
71
|
+
paddingBlock: '0.1em',
|
|
72
|
+
paddingInline: '0.6em'
|
|
69
73
|
},
|
|
70
74
|
children: tag
|
|
71
75
|
})
|