shineout 3.7.10-beta.3 → 3.7.10-beta.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/cjs/form/form.type.d.ts +15 -0
- package/cjs/index.js +1 -1
- package/dist/shineout.js +9 -9
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/form/form.type.d.ts +15 -0
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/form/form.type.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormFieldProps as UiFormFieldProps, FormFieldSetProps as UiFormFieldSetProps, FormItemProps as UiFormItemProps, FormProps as UiFormProps, ObjectType, FormFlowProps as UiFormFlowProps, FormRef as UiFormRef, FormDatum as UiFormDatum } from '@sheinx/base';
|
|
2
|
+
import { ButtonProps } from '../button/button.type';
|
|
2
3
|
/**
|
|
3
4
|
* @title FormRef
|
|
4
5
|
* @sort 6
|
|
@@ -58,3 +59,17 @@ export type FormFieldSetProps<T> = UiFormFieldSetProps<T>;
|
|
|
58
59
|
* @cn 表单流程组件,用于监听表单数据变化并执行相应的副作用。适用于实现表单联动、条件渲染等场景
|
|
59
60
|
*/
|
|
60
61
|
export type FormFlowProps = UiFormFlowProps;
|
|
62
|
+
/**
|
|
63
|
+
* @title Form.Button
|
|
64
|
+
* @sort 8
|
|
65
|
+
* @en Form button component with htmlType='button'. Prevents accidental form submission when users press Enter in form inputs. Users must explicitly click the button to submit the form. Internally calls formFunc.submit() for better control over submission logic
|
|
66
|
+
* @cn 表单按钮组件,htmlType='button'。防止用户在表单输入框中按回车键时意外提交表单。用户必须显式点击按钮才能提交表单。内部调用 formFunc.submit() 以更好地控制提交逻辑
|
|
67
|
+
*/
|
|
68
|
+
export type FormButtonProps = ButtonProps;
|
|
69
|
+
/**
|
|
70
|
+
* @title Form.Submit
|
|
71
|
+
* @sort 9
|
|
72
|
+
* @en Form submit button component with htmlType='submit'. Uses native browser submit behavior. When users press Enter in any form input, it will trigger this button automatically. Suitable for simple forms where Enter-to-submit behavior is desired
|
|
73
|
+
* @cn 表单提交按钮组件,htmlType='submit'。使用浏览器原生提交行为。当用户在任何表单输入框中按回车键时,会自动触发此按钮。适用于希望支持回车提交的简单表单
|
|
74
|
+
*/
|
|
75
|
+
export type FormSubmitProps = ButtonProps;
|
package/cjs/index.js
CHANGED
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.7.10-beta.
|
|
525
|
+
version: '3.7.10-beta.4'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12234
12234
|
};
|
|
12235
12235
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12236
12236
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12237
|
-
/* harmony default export */ var version = ('3.7.10-beta.
|
|
12237
|
+
/* harmony default export */ var version = ('3.7.10-beta.4');
|
|
12238
12238
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12239
12239
|
|
|
12240
12240
|
|
|
@@ -26599,14 +26599,14 @@ var getCardStyle = function getCardStyle() {
|
|
|
26599
26599
|
bottom: 0,
|
|
26600
26600
|
right: -1,
|
|
26601
26601
|
width: 1,
|
|
26602
|
-
background:
|
|
26602
|
+
background: src.tabsCardCheckedBackgroundColor
|
|
26603
26603
|
})),
|
|
26604
26604
|
'&[dir=rtl]': objectSpread2_default()(objectSpread2_default()({}, active({
|
|
26605
26605
|
top: 0,
|
|
26606
26606
|
bottom: 0,
|
|
26607
26607
|
left: -1,
|
|
26608
26608
|
width: 1,
|
|
26609
|
-
background:
|
|
26609
|
+
background: src.tabsCardCheckedBackgroundColor
|
|
26610
26610
|
})), {}, {
|
|
26611
26611
|
'& $cardHr': {
|
|
26612
26612
|
'&:before': {
|
|
@@ -26639,7 +26639,7 @@ var getCardStyle = function getCardStyle() {
|
|
|
26639
26639
|
bottom: 0,
|
|
26640
26640
|
left: -1,
|
|
26641
26641
|
width: 1,
|
|
26642
|
-
background:
|
|
26642
|
+
background: src.tabsCardCheckedBackgroundColor
|
|
26643
26643
|
})),
|
|
26644
26644
|
'&[dir=rtl]': objectSpread2_default()({
|
|
26645
26645
|
'& $cardHr': {
|
|
@@ -26654,7 +26654,7 @@ var getCardStyle = function getCardStyle() {
|
|
|
26654
26654
|
bottom: 0,
|
|
26655
26655
|
right: -1,
|
|
26656
26656
|
width: 1,
|
|
26657
|
-
background:
|
|
26657
|
+
background: src.tabsCardCheckedBackgroundColor
|
|
26658
26658
|
}))
|
|
26659
26659
|
},
|
|
26660
26660
|
'&[data-soui-position^="top-"][data-soui-shape="card"]': objectSpread2_default()({
|
|
@@ -26671,7 +26671,7 @@ var getCardStyle = function getCardStyle() {
|
|
|
26671
26671
|
left: 0,
|
|
26672
26672
|
right: 0,
|
|
26673
26673
|
height: 1,
|
|
26674
|
-
background:
|
|
26674
|
+
background: src.tabsCardCheckedBackgroundColor
|
|
26675
26675
|
})),
|
|
26676
26676
|
'&[data-soui-position^="bottom-"][data-soui-shape="card"]': objectSpread2_default()({
|
|
26677
26677
|
'& $tab,& $next,& $prev': {
|
|
@@ -26693,13 +26693,13 @@ var getCardStyle = function getCardStyle() {
|
|
|
26693
26693
|
left: 0,
|
|
26694
26694
|
right: 0,
|
|
26695
26695
|
height: 1,
|
|
26696
|
-
background:
|
|
26696
|
+
background: src.tabsCardCheckedBackgroundColor
|
|
26697
26697
|
}))
|
|
26698
26698
|
};
|
|
26699
26699
|
};
|
|
26700
26700
|
var getLineStyle = function getLineStyle() {
|
|
26701
26701
|
return {
|
|
26702
|
-
'$tab': {
|
|
26702
|
+
'&[data-soui-shape="line"] $tab': {
|
|
26703
26703
|
'&:after': {
|
|
26704
26704
|
display: 'none'
|
|
26705
26705
|
}
|
|
@@ -71931,7 +71931,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
71931
71931
|
|
|
71932
71932
|
|
|
71933
71933
|
/* harmony default export */ var src_0 = ({
|
|
71934
|
-
version: '3.7.10-beta.
|
|
71934
|
+
version: '3.7.10-beta.4'
|
|
71935
71935
|
});
|
|
71936
71936
|
}();
|
|
71937
71937
|
/******/ return __webpack_exports__;
|