shineout 3.6.0-beta.2 → 3.6.0-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/index.js +1 -1
- package/cjs/tabs/tabs-panel.type.d.ts +1 -1
- package/cjs/transfer/interface.d.ts +1 -0
- package/cjs/transfer/transfer.type.d.ts +2 -2
- package/cjs/utils/strings.d.ts +1 -1
- package/cjs/utils/strings.js +4 -4
- package/dist/shineout.js +1642 -444
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/esm/tabs/tabs-panel.type.d.ts +1 -1
- package/esm/transfer/interface.d.ts +1 -0
- package/esm/transfer/transfer.type.d.ts +2 -2
- package/esm/utils/strings.d.ts +1 -1
- package/esm/utils/strings.js +4 -4
- package/package.json +5 -5
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' | 'setTabs' | 'tabs'>;
|
|
6
|
+
export type TabsPanelProps = Omit<UnStyleTabsPanelProps, 'jssStyle' | 'active' | 'shape' | 'isVertical' | 'lazy' | 'inactiveBackground' | 'onChange' | 'onCollapsible' | 'setTabs' | 'tabs' | 'index'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TransferProps as
|
|
1
|
+
import { TransferProps as UnStyledTransferProps } from '@sheinx/base';
|
|
2
2
|
import { KeygenResult } from '@sheinx/hooks';
|
|
3
3
|
import { GetWithFieldProps } from '../hooks/use-field-common';
|
|
4
|
-
export interface BaseTransferProps<DataItem, Value extends KeygenResult[]> extends Omit<
|
|
4
|
+
export interface BaseTransferProps<DataItem, Value extends KeygenResult[]> extends Omit<UnStyledTransferProps<DataItem, Value>, 'jssStyle'> {
|
|
5
5
|
/**
|
|
6
6
|
* @en The set of values displayed in the box data on the right
|
|
7
7
|
* @cn 显示在右侧框数据的值集合
|
package/esm/utils/strings.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export declare function substitute(str: string | Function, obj: {
|
|
|
4
4
|
}): any;
|
|
5
5
|
export declare function removeProtocol(url: string): string;
|
|
6
6
|
export declare function getRTLPosition(position: string): string;
|
|
7
|
-
export declare function getDirectionIconName(mode?: string, double?: boolean): "
|
|
7
|
+
export declare function getDirectionIconName(mode?: string, double?: boolean): "ArrowRightDouble" | "AngleRight" | "ArrowLeftDouble" | "AngleLeft";
|
package/esm/utils/strings.js
CHANGED
|
@@ -56,12 +56,12 @@ export function getDirectionIconName() {
|
|
|
56
56
|
var rtl = true;
|
|
57
57
|
if (mode === 'left') {
|
|
58
58
|
if (rtl) {
|
|
59
|
-
return double ? '
|
|
59
|
+
return double ? 'ArrowRightDouble' : 'AngleRight';
|
|
60
60
|
}
|
|
61
|
-
return double ? '
|
|
61
|
+
return double ? 'ArrowLeftDouble' : 'AngleLeft';
|
|
62
62
|
}
|
|
63
63
|
if (rtl) {
|
|
64
|
-
return double ? '
|
|
64
|
+
return double ? 'ArrowLeftDouble' : 'AngleLeft';
|
|
65
65
|
}
|
|
66
|
-
return double ? '
|
|
66
|
+
return double ? 'ArrowRightDouble' : 'AngleRight';
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shineout",
|
|
3
|
-
"version": "3.6.0-beta.
|
|
3
|
+
"version": "3.6.0-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.6.0-beta.
|
|
20
|
-
"@sheinx/hooks": "3.6.0-beta.
|
|
21
|
-
"@sheinx/shineout-style": "3.6.0-beta.
|
|
22
|
-
"@sheinx/theme": "3.6.0-beta.
|
|
19
|
+
"@sheinx/base": "3.6.0-beta.4",
|
|
20
|
+
"@sheinx/hooks": "3.6.0-beta.4",
|
|
21
|
+
"@sheinx/shineout-style": "3.6.0-beta.4",
|
|
22
|
+
"@sheinx/theme": "3.6.0-beta.4",
|
|
23
23
|
"classnames": "^2.0.0",
|
|
24
24
|
"immer": "^10.0.0",
|
|
25
25
|
"deep-eql": "^4.0.0"
|