shineout 3.6.0-beta.13 → 3.6.0-beta.14
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/alert/alert.d.ts +1 -2
- package/cjs/avatar/avatar.d.ts +1 -2
- package/cjs/avatar/group.d.ts +1 -2
- package/cjs/badge/badge.d.ts +1 -2
- package/cjs/breadcrumb/breadcrumb.d.ts +1 -2
- package/cjs/button/button.d.ts +1 -2
- package/cjs/button/group.d.ts +1 -2
- package/cjs/card/accordion.d.ts +1 -2
- package/cjs/card/body.d.ts +1 -2
- package/cjs/card/card.d.ts +1 -2
- package/cjs/card/footer.d.ts +1 -2
- package/cjs/card/header.d.ts +1 -2
- package/cjs/card/index.d.ts +5 -6
- package/cjs/card-group/card-group.d.ts +1 -2
- package/cjs/card-group/index.d.ts +1 -2
- package/cjs/card-group/item.d.ts +1 -2
- package/cjs/carousel/carousel.d.ts +1 -2
- package/cjs/cascader/cascader.d.ts +1 -2
- package/cjs/checkbox/checkbox.d.ts +1 -2
- package/cjs/checkbox/group.d.ts +1 -2
- package/cjs/collapse/collapse-item.d.ts +1 -2
- package/cjs/collapse/collapse.d.ts +1 -2
- package/cjs/date-picker/date-picker.d.ts +1 -2
- package/cjs/descriptions/descriptions.d.ts +1 -2
- package/cjs/divider/divider.d.ts +1 -2
- package/cjs/drawer/drawer.d.ts +1 -2
- package/cjs/dropdown/dropdown.d.ts +1 -2
- package/cjs/editable-area/editable-area.d.ts +1 -2
- package/cjs/empty/empty.d.ts +1 -2
- package/cjs/form/form-button.d.ts +3 -4
- package/cjs/form/form-field.d.ts +1 -2
- package/cjs/form/form-fieldset.d.ts +1 -2
- package/cjs/form/form-item.d.ts +1 -2
- package/cjs/form/form.d.ts +1 -2
- package/cjs/form/index.d.ts +6 -6
- package/cjs/gap/gap.d.ts +1 -2
- package/cjs/hooks/use-field-common.d.ts +1 -1
- package/cjs/icon/icon.d.ts +1 -2
- package/cjs/image/group.d.ts +1 -2
- package/cjs/image/image.d.ts +1 -2
- package/cjs/index.js +1 -1
- package/cjs/input/group.d.ts +1 -2
- package/cjs/input/input.d.ts +1 -1
- package/cjs/input/number.d.ts +1 -2
- package/cjs/input/password.d.ts +1 -2
- package/cjs/link/link.d.ts +1 -2
- package/cjs/list/base-item.d.ts +1 -2
- package/cjs/list/list.d.ts +1 -2
- package/cjs/menu/menu.d.ts +1 -2
- package/cjs/menu/search.d.ts +1 -2
- package/cjs/modal/modal.d.ts +1 -2
- package/cjs/modal/submit.d.ts +1 -2
- package/cjs/pagination/pagination.d.ts +1 -2
- package/cjs/popover/confirm.d.ts +1 -2
- package/cjs/popover/popover.d.ts +2 -3
- package/cjs/progress/progress.d.ts +1 -2
- package/cjs/radio/group.d.ts +1 -2
- package/cjs/radio/radio.d.ts +1 -2
- package/cjs/rate/rate.d.ts +1 -2
- package/cjs/slider/slider.d.ts +1 -2
- package/cjs/spin/spin.d.ts +1 -2
- package/cjs/steps/step.d.ts +1 -2
- package/cjs/steps/steps.d.ts +1 -2
- package/cjs/sticky/sticky.d.ts +1 -2
- package/cjs/switch/switch.d.ts +1 -2
- package/cjs/table/table.d.ts +1 -2
- package/cjs/tabs/tabs-panel.d.ts +1 -2
- package/cjs/tabs/tabs.d.ts +1 -2
- package/cjs/tag/tag-input.d.ts +1 -2
- package/cjs/tag/tag.d.ts +1 -2
- package/cjs/tests/t-01-tabs-link.d.ts +1 -2
- package/cjs/textarea/textarea.d.ts +1 -2
- package/cjs/tooltip/tooltip.d.ts +1 -2
- package/cjs/transfer/transfer.d.ts +1 -2
- package/cjs/tree/tree.d.ts +1 -2
- package/cjs/tree-select/tree-select.d.ts +1 -2
- package/cjs/upload/button.d.ts +1 -2
- package/cjs/upload/image.d.ts +1 -2
- package/cjs/upload/upload.d.ts +1 -2
- package/cjs/utils/dom/detect.d.ts +1 -1
- package/dist/shineout.js +7 -8
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/alert/alert.d.ts +1 -2
- package/esm/avatar/avatar.d.ts +1 -2
- package/esm/avatar/group.d.ts +1 -2
- package/esm/badge/badge.d.ts +1 -2
- package/esm/breadcrumb/breadcrumb.d.ts +1 -2
- package/esm/button/button.d.ts +1 -2
- package/esm/button/group.d.ts +1 -2
- package/esm/card/accordion.d.ts +1 -2
- package/esm/card/body.d.ts +1 -2
- package/esm/card/card.d.ts +1 -2
- package/esm/card/footer.d.ts +1 -2
- package/esm/card/header.d.ts +1 -2
- package/esm/card/index.d.ts +5 -6
- package/esm/card-group/card-group.d.ts +1 -2
- package/esm/card-group/index.d.ts +1 -2
- package/esm/card-group/item.d.ts +1 -2
- package/esm/carousel/carousel.d.ts +1 -2
- package/esm/cascader/cascader.d.ts +1 -2
- package/esm/checkbox/checkbox.d.ts +1 -2
- package/esm/checkbox/group.d.ts +1 -2
- package/esm/collapse/collapse-item.d.ts +1 -2
- package/esm/collapse/collapse.d.ts +1 -2
- package/esm/date-picker/date-picker.d.ts +1 -2
- package/esm/descriptions/descriptions.d.ts +1 -2
- package/esm/divider/divider.d.ts +1 -2
- package/esm/drawer/drawer.d.ts +1 -2
- package/esm/dropdown/dropdown.d.ts +1 -2
- package/esm/editable-area/editable-area.d.ts +1 -2
- package/esm/empty/empty.d.ts +1 -2
- package/esm/form/form-button.d.ts +3 -4
- package/esm/form/form-field.d.ts +1 -2
- package/esm/form/form-fieldset.d.ts +1 -2
- package/esm/form/form-item.d.ts +1 -2
- package/esm/form/form.d.ts +1 -2
- package/esm/form/index.d.ts +6 -6
- package/esm/gap/gap.d.ts +1 -2
- package/esm/hooks/use-field-common.d.ts +1 -1
- package/esm/icon/icon.d.ts +1 -2
- package/esm/image/group.d.ts +1 -2
- package/esm/image/image.d.ts +1 -2
- package/esm/index.js +1 -1
- package/esm/input/group.d.ts +1 -2
- package/esm/input/input.d.ts +1 -1
- package/esm/input/number.d.ts +1 -2
- package/esm/input/password.d.ts +1 -2
- package/esm/link/link.d.ts +1 -2
- package/esm/list/base-item.d.ts +1 -2
- package/esm/list/list.d.ts +1 -2
- package/esm/menu/menu.d.ts +1 -2
- package/esm/menu/search.d.ts +1 -2
- package/esm/modal/modal.d.ts +1 -2
- package/esm/modal/submit.d.ts +1 -2
- package/esm/pagination/pagination.d.ts +1 -2
- package/esm/popover/confirm.d.ts +1 -2
- package/esm/popover/popover.d.ts +2 -3
- package/esm/progress/progress.d.ts +1 -2
- package/esm/radio/group.d.ts +1 -2
- package/esm/radio/radio.d.ts +1 -2
- package/esm/rate/rate.d.ts +1 -2
- package/esm/slider/slider.d.ts +1 -2
- package/esm/spin/spin.d.ts +1 -2
- package/esm/steps/step.d.ts +1 -2
- package/esm/steps/steps.d.ts +1 -2
- package/esm/sticky/sticky.d.ts +1 -2
- package/esm/switch/switch.d.ts +1 -2
- package/esm/table/table.d.ts +1 -2
- package/esm/tabs/tabs-panel.d.ts +1 -2
- package/esm/tabs/tabs.d.ts +1 -2
- package/esm/tag/tag-input.d.ts +1 -2
- package/esm/tag/tag.d.ts +1 -2
- package/esm/tests/t-01-tabs-link.d.ts +1 -2
- package/esm/textarea/textarea.d.ts +1 -2
- package/esm/tooltip/tooltip.d.ts +1 -2
- package/esm/transfer/transfer.d.ts +1 -2
- package/esm/tree/tree.d.ts +1 -2
- package/esm/tree-select/tree-select.d.ts +1 -2
- package/esm/upload/button.d.ts +1 -2
- package/esm/upload/image.d.ts +1 -2
- package/esm/upload/upload.d.ts +1 -2
- package/esm/utils/dom/detect.d.ts +1 -1
- package/package.json +5 -5
package/cjs/tooltip/tooltip.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { KeygenResult } from '@sheinx/hooks';
|
|
3
2
|
import { TransferProps } from './transfer.type';
|
|
4
|
-
declare const _default: <DataItem, Value extends KeygenResult[]>(props: TransferProps<DataItem, Value>) => JSX.Element;
|
|
3
|
+
declare const _default: <DataItem, Value extends KeygenResult[]>(props: TransferProps<DataItem, Value>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default _default;
|
package/cjs/tree/tree.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TreeProps } from './tree.type';
|
|
3
2
|
declare const Tree: {
|
|
4
|
-
<DataItem, Value extends any[]>(props: TreeProps<DataItem, Value>): JSX.Element;
|
|
3
|
+
<DataItem, Value extends any[]>(props: TreeProps<DataItem, Value>): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
displayName: string;
|
|
6
5
|
};
|
|
7
6
|
export default Tree;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TreeSelectValueType } from '@sheinx/base';
|
|
3
2
|
import { TreeSelectProps } from './tree-select.type';
|
|
4
|
-
declare const _default: <DataItem, Value extends TreeSelectValueType>(props: TreeSelectProps<DataItem, Value>) => JSX.Element;
|
|
3
|
+
declare const _default: <DataItem, Value extends TreeSelectValueType>(props: TreeSelectProps<DataItem, Value>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default _default;
|
package/cjs/upload/button.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { UploadButtonProps } from './button.type';
|
|
3
|
-
declare const _default: <T>(props: UploadButtonProps<T>) => JSX.Element;
|
|
2
|
+
declare const _default: <T>(props: UploadButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/cjs/upload/image.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { UploadImageProps } from './image.type';
|
|
3
|
-
declare const _default: <T>(props: UploadImageProps<T>) => JSX.Element;
|
|
2
|
+
declare const _default: <T>(props: UploadImageProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/cjs/upload/upload.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const TRANSFORMS: {
|
|
|
5
5
|
MozTransform: string;
|
|
6
6
|
transform: string;
|
|
7
7
|
};
|
|
8
|
-
export declare function getTransformName(): "transform" | "webkitTransform" | "msTransform" | "
|
|
8
|
+
export declare function getTransformName(): "transform" | "webkitTransform" | "msTransform" | "MozTransform" | "OTransform";
|
|
9
9
|
export declare function has3d(): boolean;
|
|
10
10
|
export declare const eventPassive: boolean | {
|
|
11
11
|
passive: boolean;
|
package/dist/shineout.js
CHANGED
|
@@ -12130,7 +12130,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12130
12130
|
};
|
|
12131
12131
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12132
12132
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12133
|
-
/* harmony default export */ var version = ('3.6.0-beta.
|
|
12133
|
+
/* harmony default export */ var version = ('3.6.0-beta.14');
|
|
12134
12134
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12135
12135
|
|
|
12136
12136
|
|
|
@@ -41473,7 +41473,6 @@ function useFormControl(props) {
|
|
|
41473
41473
|
var formValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
41474
41474
|
var errors = arguments.length > 1 ? arguments[1] : undefined;
|
|
41475
41475
|
var severErrors = arguments.length > 2 ? arguments[2] : undefined;
|
|
41476
|
-
var names = arguments.length > 3 ? arguments[3] : undefined;
|
|
41477
41476
|
if (!name) return;
|
|
41478
41477
|
if (isArray(name)) {
|
|
41479
41478
|
var _value = getValue(name, formValue);
|
|
@@ -41485,7 +41484,7 @@ function useFormControl(props) {
|
|
|
41485
41484
|
var dv = isArray(defaultValue) ? defaultValue : [];
|
|
41486
41485
|
var nextValue = [];
|
|
41487
41486
|
name.forEach(function (n, index) {
|
|
41488
|
-
if (
|
|
41487
|
+
if (_value[index] === undefined && dv[index] !== undefined) {
|
|
41489
41488
|
nextValue[index] = dv[index];
|
|
41490
41489
|
} else {
|
|
41491
41490
|
nextValue[index] = _value[index];
|
|
@@ -41499,7 +41498,7 @@ function useFormControl(props) {
|
|
|
41499
41498
|
setErrorState(_error2);
|
|
41500
41499
|
}
|
|
41501
41500
|
if (!shallowEqual(_value2, latestInfo.valueState)) {
|
|
41502
|
-
if (
|
|
41501
|
+
if (_value2 === undefined && defaultValue !== undefined) {
|
|
41503
41502
|
setValueState(defaultValue);
|
|
41504
41503
|
} else {
|
|
41505
41504
|
setValueState(_value2);
|
|
@@ -48842,7 +48841,7 @@ var useForm = function useForm(props) {
|
|
|
48842
48841
|
Object.keys(context.updateMap).forEach(function (key) {
|
|
48843
48842
|
var _context$updateMap$ke;
|
|
48844
48843
|
(_context$updateMap$ke = context.updateMap[key]) === null || _context$updateMap$ke === void 0 || _context$updateMap$ke.forEach(function (update) {
|
|
48845
|
-
update(context.value, context.errors, context.serverErrors
|
|
48844
|
+
update(context.value, context.errors, context.serverErrors);
|
|
48846
48845
|
});
|
|
48847
48846
|
});
|
|
48848
48847
|
Object.keys(context.flowMap).forEach(function (key) {
|
|
@@ -48860,12 +48859,12 @@ var useForm = function useForm(props) {
|
|
|
48860
48859
|
var _context$updateMap$pa;
|
|
48861
48860
|
var parentKey = key.split('.')[0];
|
|
48862
48861
|
(_context$updateMap$pa = context.updateMap[parentKey]) === null || _context$updateMap$pa === void 0 || _context$updateMap$pa.forEach(function (update) {
|
|
48863
|
-
update(context.value, context.errors, context.serverErrors
|
|
48862
|
+
update(context.value, context.errors, context.serverErrors);
|
|
48864
48863
|
});
|
|
48865
48864
|
} else {
|
|
48866
48865
|
var _context$updateMap$ke2;
|
|
48867
48866
|
(_context$updateMap$ke2 = context.updateMap[key]) === null || _context$updateMap$ke2 === void 0 || _context$updateMap$ke2.forEach(function (update) {
|
|
48868
|
-
update(context.value, context.errors, context.serverErrors
|
|
48867
|
+
update(context.value, context.errors, context.serverErrors);
|
|
48869
48868
|
});
|
|
48870
48869
|
}
|
|
48871
48870
|
(_context$flowMap$key = context.flowMap[key]) === null || _context$flowMap$key === void 0 || _context$flowMap$key.forEach(function (update) {
|
|
@@ -68929,7 +68928,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
68929
68928
|
|
|
68930
68929
|
|
|
68931
68930
|
/* harmony default export */ var src_0 = ({
|
|
68932
|
-
version: '3.6.0-beta.
|
|
68931
|
+
version: '3.6.0-beta.14'
|
|
68933
68932
|
});
|
|
68934
68933
|
}();
|
|
68935
68934
|
/******/ return __webpack_exports__;
|