@lobehub/ui 1.138.13 → 1.138.15
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/Form/components/FormGroup.js +1 -1
- package/es/Form/index.js +1 -1
- package/es/Form/style.d.ts +1 -0
- package/es/Form/style.js +3 -2
- package/es/Video/index.js +2 -0
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ export var useStyles = createStyles(function (_ref) {
|
|
|
18
18
|
isDarkMode = _ref.isDarkMode,
|
|
19
19
|
responsive = _ref.responsive,
|
|
20
20
|
prefixCls = _ref.prefixCls;
|
|
21
|
-
var pureStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: transparent;\n border: none;\n border-radius: 0;\n\n .", "-collapse-header {\n padding-block: 0 20px !important;\n padding-inline: 2px !important;\n background: transparent !important;\n border-radius: 0 !important;\n }\n\n .", "-collapse-content {\n border-color: ", ";\n }\n\n .", "-collapse-content-box {\n padding-inline: 2px !important;\n background: transparent;\n border-radius: 0;\n }\n "])), prefixCls, prefixCls, token.colorFillSecondary, prefixCls);
|
|
21
|
+
var pureStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: transparent;\n border: none;\n border-radius: 0;\n\n .", "-collapse-header {\n padding-block: 0 20px !important;\n padding-inline: 2px !important;\n background: transparent !important;\n border-radius: 0 !important;\n }\n\n .", "-collapse-content {\n background: transparent;\n border-color: ", ";\n }\n\n .", "-collapse-content-box {\n padding-inline: 2px !important;\n background: transparent;\n border-radius: 0;\n }\n "])), prefixCls, prefixCls, token.colorFillSecondary, prefixCls);
|
|
22
22
|
var blockStyle = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: ", ";\n border: none;\n border-radius: ", "px;\n\n .", "-collapse-content {\n border: none !important;\n }\n "])), token.colorFillQuaternary, token.borderRadiusLG, prefixCls);
|
|
23
23
|
var ghostStyle = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n background: transparent;\n border: 1px solid ", ";\n .", "-collapse-header {\n background: transparent !important;\n }\n\n .", "-collapse-content-box {\n background: transparent;\n }\n "])), token.colorBorderSecondary, prefixCls, prefixCls);
|
|
24
24
|
var defaultStyle = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n background: ", ";\n border: 1px solid ", ";\n border-radius: ", "px;\n "])), token.colorFillQuaternary, token.colorBorderSecondary, token.borderRadiusLG);
|
package/es/Form/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var FormParent = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
48
48
|
}, groupIndex);
|
|
49
49
|
};
|
|
50
50
|
return /*#__PURE__*/_jsxs(AntForm, _objectSpread(_objectSpread({
|
|
51
|
-
className: cx(styles.form, className),
|
|
51
|
+
className: cx(styles.form, variant === 'pure' && styles.pure, className),
|
|
52
52
|
colon: false,
|
|
53
53
|
form: form,
|
|
54
54
|
layout: 'horizontal',
|
package/es/Form/style.d.ts
CHANGED
package/es/Form/style.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
|
|
2
|
-
var _templateObject;
|
|
2
|
+
var _templateObject, _templateObject2;
|
|
3
3
|
import { createStyles } from 'antd-style';
|
|
4
4
|
export var useStyles = createStyles(function (_ref) {
|
|
5
5
|
var css = _ref.css,
|
|
@@ -7,6 +7,7 @@ export var useStyles = createStyles(function (_ref) {
|
|
|
7
7
|
prefixCls = _ref.prefixCls,
|
|
8
8
|
responsive = _ref.responsive;
|
|
9
9
|
return {
|
|
10
|
-
form: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n width: 100%;\n\n ", " {\n gap: 0;\n }\n\n .", "-form-item {\n margin: 0 !important;\n }\n\n .", "-form-item .", "-form-item-label > label {\n height: unset;\n }\n\n .", "-row {\n position: relative;\n flex-wrap: nowrap;\n }\n\n .", "-form-item-label {\n position: relative;\n flex: 1;\n max-width: 100%;\n }\n\n .", "-form-item-row {\n align-items: center;\n ", " {\n align-items: stretch;\n }\n }\n\n .", "-form-item-control {\n position: relative;\n flex: 0;\n min-width: unset !important;\n }\n\n .", "-collapse-item {\n overflow: hidden !important;\n border-radius: ", "px !important;\n }\n "])), responsive.mobile, prefixCls, prefixCls, prefixCls, prefixCls, prefixCls, prefixCls, responsive.mobile, prefixCls, prefixCls, token.borderRadius)
|
|
10
|
+
form: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n width: 100%;\n\n ", " {\n gap: 0;\n }\n\n .", "-form-item {\n margin: 0 !important;\n }\n\n .", "-form-item .", "-form-item-label > label {\n height: unset;\n }\n\n .", "-row {\n position: relative;\n flex-wrap: nowrap;\n }\n\n .", "-form-item-label {\n position: relative;\n flex: 1;\n max-width: 100%;\n }\n\n .", "-form-item-row {\n align-items: center;\n ", " {\n align-items: stretch;\n }\n }\n\n .", "-form-item-control {\n position: relative;\n flex: 0;\n min-width: unset !important;\n }\n\n .", "-collapse-item {\n overflow: hidden !important;\n border-radius: ", "px !important;\n }\n "])), responsive.mobile, prefixCls, prefixCls, prefixCls, prefixCls, prefixCls, prefixCls, responsive.mobile, prefixCls, prefixCls, token.borderRadius),
|
|
11
|
+
pure: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n gap: 64px;\n "])))
|
|
11
12
|
};
|
|
12
13
|
});
|
package/es/Video/index.js
CHANGED
|
@@ -80,9 +80,11 @@ var Video = /*#__PURE__*/memo(function (_ref) {
|
|
|
80
80
|
size: 'normal'
|
|
81
81
|
})
|
|
82
82
|
}), /*#__PURE__*/_jsx("video", _objectSpread(_objectSpread({
|
|
83
|
+
autoPlay: true,
|
|
83
84
|
className: cx(styles.video, classNames === null || classNames === void 0 ? void 0 : classNames.video, className),
|
|
84
85
|
controls: showControls,
|
|
85
86
|
height: height,
|
|
87
|
+
muted: true,
|
|
86
88
|
onEnded: function onEnded() {
|
|
87
89
|
return setIsPlaying(false);
|
|
88
90
|
},
|