shineout 3.5.3-beta.2 → 3.5.3-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/hooks/use-field-common.js +1 -4
- package/cjs/index.js +1 -1
- package/cjs/tabs/tabs-panel.type.d.ts +1 -1
- package/dist/shineout.js +91 -66
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/hooks/use-field-common.js +2 -5
- package/esm/index.js +1 -1
- package/esm/tabs/tabs-panel.type.d.ts +1 -1
- package/package.json +5 -5
|
@@ -5,12 +5,10 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import { util, usePersistFn, useFormDatum
|
|
8
|
+
import { util, usePersistFn, useFormDatum } from '@sheinx/hooks';
|
|
9
9
|
import { FormField } from '@sheinx/base';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
var useFieldCommon = function useFieldCommon(props, Origin, type) {
|
|
12
|
-
var _props$reserveAble;
|
|
13
|
-
var formConfig = useFormConfig();
|
|
14
12
|
var getValidateProps = usePersistFn(function () {
|
|
15
13
|
return _objectSpread({
|
|
16
14
|
type: type
|
|
@@ -25,8 +23,7 @@ var useFieldCommon = function useFieldCommon(props, Origin, type) {
|
|
|
25
23
|
var FieldParams = {
|
|
26
24
|
name: props.name,
|
|
27
25
|
defaultValue: props.defaultValue,
|
|
28
|
-
reserveAble:
|
|
29
|
-
formName: formConfig.formName,
|
|
26
|
+
reserveAble: props.reserveAble,
|
|
30
27
|
rules: props.rules,
|
|
31
28
|
onError: props.onError,
|
|
32
29
|
bind: props.bind,
|
package/esm/index.js
CHANGED
|
@@ -3,4 +3,4 @@ import { TabsPanelProps as UnStyleTabsPanelProps } from '@sheinx/base';
|
|
|
3
3
|
* @title Tabs.Panel
|
|
4
4
|
* @sort 2
|
|
5
5
|
*/
|
|
6
|
-
export type TabsPanelProps = Omit<UnStyleTabsPanelProps, 'jssStyle' | 'active' | 'shape' | 'isVertical' | 'lazy' | 'inactiveBackground' | 'onChange' | 'onCollapsible'>;
|
|
6
|
+
export type TabsPanelProps = Omit<UnStyleTabsPanelProps, 'jssStyle' | 'active' | 'shape' | 'isVertical' | 'lazy' | 'inactiveBackground' | 'onChange' | 'onCollapsible' | 'setTabs' | 'tabs'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shineout",
|
|
3
|
-
"version": "3.5.3-beta.
|
|
3
|
+
"version": "3.5.3-beta.4",
|
|
4
4
|
"description": "A components library for React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"module": "./esm/index.js",
|
|
17
17
|
"typings": "./cjs/index.d.ts",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@sheinx/base": "3.5.3-beta.
|
|
20
|
-
"@sheinx/hooks": "3.5.3-beta.
|
|
21
|
-
"@sheinx/shineout-style": "3.5.3-beta.
|
|
22
|
-
"@sheinx/theme": "3.5.3-beta.
|
|
19
|
+
"@sheinx/base": "3.5.3-beta.4",
|
|
20
|
+
"@sheinx/hooks": "3.5.3-beta.4",
|
|
21
|
+
"@sheinx/shineout-style": "3.5.3-beta.4",
|
|
22
|
+
"@sheinx/theme": "3.5.3-beta.4",
|
|
23
23
|
"classnames": "^2.0.0",
|
|
24
24
|
"immer": "^10.0.0",
|
|
25
25
|
"deep-eql": "^4.0.0"
|