@nutui/nutui-react 2.6.22 → 2.7.0
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/CHANGELOG.md +37 -14
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/AvatarCropper/style/style.css +1 -1
- package/dist/esm/AvatarCropper.js +2 -1
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/Calendar.js +3 -3
- package/dist/esm/CalendarCard.js +1 -1
- package/dist/esm/CalendarItem.js +3 -3
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +2 -3
- package/dist/esm/Divider/style/style.css +1 -1
- package/dist/esm/FixedNav/style/style.css +1 -1
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/InputNumber.js +4 -4
- package/dist/esm/Menu/style/style.css +1 -1
- package/dist/esm/MenuItem/style/style.css +1 -1
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/Overlay/style/style.css +1 -1
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/Tour/style/style.css +1 -1
- package/dist/esm/cascader2.js +1 -1
- package/dist/esm/configprovider2.js +138 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +50 -56
- package/dist/nutui.react.umd.js +50 -56
- package/dist/packages/avatarcropper/avatarcropper.scss +1 -1
- package/dist/packages/divider/divider.scss +1 -2
- package/dist/packages/overlay/overlay.scss +0 -4
- package/dist/style.css +1 -1
- package/dist/styles/variables-jmapp.scss +0 -1
- package/dist/styles/variables.scss +0 -1
- package/dist/types/packages/calendar/calendar.d.ts +10 -0
- package/dist/types/packages/calendar/calendar.taro.d.ts +2 -0
- package/dist/types/packages/calendaritem/calendaritem.d.ts +1 -0
- package/dist/types/packages/calendaritem/calendaritem.taro.d.ts +1 -0
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/inputnumber/inputnumber.d.ts +5 -0
- package/dist/types/packages/inputnumber/inputnumber.taro.d.ts +1 -0
- package/package.json +2 -1
- package/dist/esm/configprovider.taro.js +0 -23
- package/dist/esm/zh-CN.js +0 -141
package/dist/nutui.react.umd.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.nutui = {}, global2.React, global2.ReactDOM));
|
|
3
3
|
})(this, function(exports2, React, ReactDOM) {
|
|
4
4
|
"use strict";/*!
|
|
5
|
-
* @nutui/nutui-react v2.
|
|
5
|
+
* @nutui/nutui-react v2.7.0 Fri Nov 01 2024 15:59:16 GMT+0800 (China Standard Time)
|
|
6
6
|
* (c) 2023 @jdf2e.
|
|
7
7
|
* Released under the MIT License.
|
|
8
8
|
*/
|
|
@@ -1892,20 +1892,20 @@
|
|
|
1892
1892
|
}
|
|
1893
1893
|
const requestAniFrame$1 = requestAniFrame();
|
|
1894
1894
|
const classPrefix$p = "nut-configprovider";
|
|
1895
|
-
const defaultConfigRef
|
|
1895
|
+
const defaultConfigRef = {
|
|
1896
1896
|
current: {
|
|
1897
1897
|
locale: zhCN
|
|
1898
1898
|
}
|
|
1899
1899
|
};
|
|
1900
1900
|
const setDefaultConfig = (config2) => {
|
|
1901
|
-
defaultConfigRef
|
|
1901
|
+
defaultConfigRef.current = config2;
|
|
1902
1902
|
};
|
|
1903
|
-
const getDefaultConfig
|
|
1904
|
-
return defaultConfigRef
|
|
1903
|
+
const getDefaultConfig = () => {
|
|
1904
|
+
return defaultConfigRef.current;
|
|
1905
1905
|
};
|
|
1906
|
-
const ConfigContext
|
|
1907
|
-
const useConfig
|
|
1908
|
-
return React.useContext(ConfigContext
|
|
1906
|
+
const ConfigContext = React.createContext(null);
|
|
1907
|
+
const useConfig = () => {
|
|
1908
|
+
return React.useContext(ConfigContext) ?? getDefaultConfig();
|
|
1909
1909
|
};
|
|
1910
1910
|
function convertThemeVarsToCSSVars(themeVars) {
|
|
1911
1911
|
const cssVars = {};
|
|
@@ -1915,7 +1915,7 @@
|
|
|
1915
1915
|
return cssVars;
|
|
1916
1916
|
}
|
|
1917
1917
|
const useRtl = () => {
|
|
1918
|
-
const { direction } = useConfig
|
|
1918
|
+
const { direction } = useConfig();
|
|
1919
1919
|
if (direction) {
|
|
1920
1920
|
return direction === "rtl";
|
|
1921
1921
|
}
|
|
@@ -1926,7 +1926,7 @@
|
|
|
1926
1926
|
const mergedConfig = useMemo(
|
|
1927
1927
|
() => {
|
|
1928
1928
|
return {
|
|
1929
|
-
...getDefaultConfig
|
|
1929
|
+
...getDefaultConfig(),
|
|
1930
1930
|
...config2,
|
|
1931
1931
|
direction
|
|
1932
1932
|
};
|
|
@@ -1940,7 +1940,7 @@
|
|
|
1940
1940
|
const cssVarStyle = React.useMemo(() => {
|
|
1941
1941
|
return convertThemeVarsToCSSVars(mergedConfig.theme || {});
|
|
1942
1942
|
}, [mergedConfig.theme]);
|
|
1943
|
-
return /* @__PURE__ */ React.createElement(ConfigContext
|
|
1943
|
+
return /* @__PURE__ */ React.createElement(ConfigContext.Provider, { value: mergedConfig }, /* @__PURE__ */ React.createElement(
|
|
1944
1944
|
"div",
|
|
1945
1945
|
{
|
|
1946
1946
|
className: classNames(classPrefix$p, className),
|
|
@@ -8463,7 +8463,7 @@
|
|
|
8463
8463
|
}
|
|
8464
8464
|
};
|
|
8465
8465
|
const FixedNav = (props) => {
|
|
8466
|
-
const { locale } = useConfig
|
|
8466
|
+
const { locale } = useConfig();
|
|
8467
8467
|
const {
|
|
8468
8468
|
className,
|
|
8469
8469
|
overlay,
|
|
@@ -9561,19 +9561,6 @@
|
|
|
9561
9561
|
return pathNodes;
|
|
9562
9562
|
}
|
|
9563
9563
|
}
|
|
9564
|
-
const defaultConfigRef = {
|
|
9565
|
-
current: {
|
|
9566
|
-
locale: zhCN,
|
|
9567
|
-
direction: "ltr"
|
|
9568
|
-
}
|
|
9569
|
-
};
|
|
9570
|
-
const getDefaultConfig = () => {
|
|
9571
|
-
return defaultConfigRef.current;
|
|
9572
|
-
};
|
|
9573
|
-
const ConfigContext = React.createContext(null);
|
|
9574
|
-
const useConfig = () => {
|
|
9575
|
-
return React.useContext(ConfigContext) ?? getDefaultConfig();
|
|
9576
|
-
};
|
|
9577
9564
|
const defaultProps$16 = {
|
|
9578
9565
|
...ComponentDefaults,
|
|
9579
9566
|
activeColor: "",
|
|
@@ -9990,7 +9977,7 @@
|
|
|
9990
9977
|
custom: false
|
|
9991
9978
|
};
|
|
9992
9979
|
const ExistRender = (props) => {
|
|
9993
|
-
const { locale } = useConfig
|
|
9980
|
+
const { locale } = useConfig();
|
|
9994
9981
|
const {
|
|
9995
9982
|
children,
|
|
9996
9983
|
type,
|
|
@@ -10046,7 +10033,7 @@
|
|
|
10046
10033
|
backIcon: null
|
|
10047
10034
|
};
|
|
10048
10035
|
const InternalAddress = (props, ref) => {
|
|
10049
|
-
const { locale } = useConfig
|
|
10036
|
+
const { locale } = useConfig();
|
|
10050
10037
|
const {
|
|
10051
10038
|
style,
|
|
10052
10039
|
className,
|
|
@@ -10441,7 +10428,7 @@
|
|
|
10441
10428
|
}
|
|
10442
10429
|
};
|
|
10443
10430
|
const CalendarItem = React.forwardRef((props, ref) => {
|
|
10444
|
-
const { locale } = useConfig
|
|
10431
|
+
const { locale } = useConfig();
|
|
10445
10432
|
const {
|
|
10446
10433
|
style,
|
|
10447
10434
|
className,
|
|
@@ -10463,6 +10450,7 @@
|
|
|
10463
10450
|
firstDayOfWeek,
|
|
10464
10451
|
disableDate,
|
|
10465
10452
|
renderHeaderButtons,
|
|
10453
|
+
renderBottomButton,
|
|
10466
10454
|
renderDay,
|
|
10467
10455
|
renderDayTop,
|
|
10468
10456
|
renderDayBottom,
|
|
@@ -11005,7 +10993,7 @@
|
|
|
11005
10993
|
);
|
|
11006
10994
|
};
|
|
11007
10995
|
const renderFooter = () => {
|
|
11008
|
-
return /* @__PURE__ */ React.createElement("div", { className: "nut-calendar-footer" }, children, /* @__PURE__ */ React.createElement("div", { className: "calendar-confirm-btn"
|
|
10996
|
+
return /* @__PURE__ */ React.createElement("div", { className: "nut-calendar-footer" }, children, /* @__PURE__ */ React.createElement("div", { onClick: confirm2 }, renderBottomButton ? renderBottomButton() : /* @__PURE__ */ React.createElement("div", { className: "calendar-confirm-btn" }, confirmText || locale.confirm)));
|
|
11009
10997
|
};
|
|
11010
10998
|
return /* @__PURE__ */ React.createElement("div", { className: classes, style }, renderHeader(), renderContent(), popup && !autoBackfill ? renderFooter() : "");
|
|
11011
10999
|
});
|
|
@@ -11043,7 +11031,7 @@
|
|
|
11043
11031
|
}
|
|
11044
11032
|
};
|
|
11045
11033
|
const Calendar = React.forwardRef((props, ref) => {
|
|
11046
|
-
const { locale } = useConfig
|
|
11034
|
+
const { locale } = useConfig();
|
|
11047
11035
|
const {
|
|
11048
11036
|
style,
|
|
11049
11037
|
className,
|
|
@@ -11064,8 +11052,10 @@
|
|
|
11064
11052
|
showSubTitle,
|
|
11065
11053
|
scrollAnimation,
|
|
11066
11054
|
firstDayOfWeek,
|
|
11055
|
+
closeIcon,
|
|
11067
11056
|
disableDate,
|
|
11068
11057
|
renderHeaderButtons,
|
|
11058
|
+
renderBottomButton,
|
|
11069
11059
|
renderDay,
|
|
11070
11060
|
renderDayTop,
|
|
11071
11061
|
renderDayBottom,
|
|
@@ -11108,6 +11098,7 @@
|
|
|
11108
11098
|
children,
|
|
11109
11099
|
type,
|
|
11110
11100
|
autoBackfill,
|
|
11101
|
+
renderBottomButton,
|
|
11111
11102
|
popup,
|
|
11112
11103
|
title: title || locale.calendaritem.title,
|
|
11113
11104
|
defaultValue,
|
|
@@ -11140,6 +11131,7 @@
|
|
|
11140
11131
|
position: "bottom",
|
|
11141
11132
|
round: true,
|
|
11142
11133
|
closeable: true,
|
|
11134
|
+
closeIcon,
|
|
11143
11135
|
destroyOnClose: true,
|
|
11144
11136
|
onOverlayClick: closePopup,
|
|
11145
11137
|
onCloseIconClick: closePopup,
|
|
@@ -11260,7 +11252,7 @@
|
|
|
11260
11252
|
};
|
|
11261
11253
|
const prefixCls = "nut-calendarcard";
|
|
11262
11254
|
const CalendarCard = React.forwardRef((props, ref) => {
|
|
11263
|
-
const { locale } = useConfig
|
|
11255
|
+
const { locale } = useConfig();
|
|
11264
11256
|
const {
|
|
11265
11257
|
style,
|
|
11266
11258
|
className,
|
|
@@ -12106,7 +12098,7 @@
|
|
|
12106
12098
|
duration: 1e3
|
|
12107
12099
|
};
|
|
12108
12100
|
const InternalPicker = (props, ref) => {
|
|
12109
|
-
const { locale } = useConfig
|
|
12101
|
+
const { locale } = useConfig();
|
|
12110
12102
|
const {
|
|
12111
12103
|
children,
|
|
12112
12104
|
visible,
|
|
@@ -12402,7 +12394,7 @@
|
|
|
12402
12394
|
...defaultProps$Y,
|
|
12403
12395
|
...props
|
|
12404
12396
|
};
|
|
12405
|
-
const { locale } = useConfig
|
|
12397
|
+
const { locale } = useConfig();
|
|
12406
12398
|
const lang = locale.datepicker;
|
|
12407
12399
|
const zhCNType = {
|
|
12408
12400
|
day: lang.day,
|
|
@@ -14209,7 +14201,7 @@
|
|
|
14209
14201
|
const Input = React.forwardRef(
|
|
14210
14202
|
(props, ref) => {
|
|
14211
14203
|
const rtl = useRtl();
|
|
14212
|
-
const { locale } = useConfig
|
|
14204
|
+
const { locale } = useConfig();
|
|
14213
14205
|
const {
|
|
14214
14206
|
type,
|
|
14215
14207
|
name,
|
|
@@ -14390,7 +14382,8 @@
|
|
|
14390
14382
|
max: 9999,
|
|
14391
14383
|
step: 1,
|
|
14392
14384
|
digits: 0,
|
|
14393
|
-
async: false
|
|
14385
|
+
async: false,
|
|
14386
|
+
select: true
|
|
14394
14387
|
};
|
|
14395
14388
|
const classPrefix$g = `nut-inputnumber`;
|
|
14396
14389
|
const InputNumber = (props) => {
|
|
@@ -14406,6 +14399,7 @@
|
|
|
14406
14399
|
digits,
|
|
14407
14400
|
step,
|
|
14408
14401
|
async,
|
|
14402
|
+
select,
|
|
14409
14403
|
className,
|
|
14410
14404
|
style,
|
|
14411
14405
|
formatter,
|
|
@@ -14427,10 +14421,10 @@
|
|
|
14427
14421
|
const inputRef = React.useRef(null);
|
|
14428
14422
|
React.useEffect(() => {
|
|
14429
14423
|
var _a, _b;
|
|
14430
|
-
if (focused) {
|
|
14424
|
+
if (select && focused) {
|
|
14431
14425
|
(_b = (_a = inputRef.current) == null ? void 0 : _a.select) == null ? void 0 : _b.call(_a);
|
|
14432
14426
|
}
|
|
14433
|
-
}, [focused]);
|
|
14427
|
+
}, [select, focused]);
|
|
14434
14428
|
const [shadowValue, setShadowValue] = usePropsValue({
|
|
14435
14429
|
value: typeof value === "string" ? parseFloat(value) : value,
|
|
14436
14430
|
defaultValue: typeof defaultValue === "string" ? parseFloat(defaultValue) : defaultValue,
|
|
@@ -15016,7 +15010,7 @@
|
|
|
15016
15010
|
}
|
|
15017
15011
|
};
|
|
15018
15012
|
const NumberKeyboard = (props) => {
|
|
15019
|
-
const { locale } = useConfig
|
|
15013
|
+
const { locale } = useConfig();
|
|
15020
15014
|
const {
|
|
15021
15015
|
title,
|
|
15022
15016
|
rightActions,
|
|
@@ -15882,7 +15876,7 @@
|
|
|
15882
15876
|
};
|
|
15883
15877
|
const SearchBar = (props) => {
|
|
15884
15878
|
const classPrefix2 = "nut-searchbar";
|
|
15885
|
-
const { locale } = useConfig
|
|
15879
|
+
const { locale } = useConfig();
|
|
15886
15880
|
const searchRef = React.useRef(null);
|
|
15887
15881
|
const {
|
|
15888
15882
|
value: outerValue,
|
|
@@ -16035,7 +16029,7 @@
|
|
|
16035
16029
|
autoFocus: false
|
|
16036
16030
|
};
|
|
16037
16031
|
const InternalShortPassword = (props, ref) => {
|
|
16038
|
-
const { locale } = useConfig
|
|
16032
|
+
const { locale } = useConfig();
|
|
16039
16033
|
const {
|
|
16040
16034
|
title,
|
|
16041
16035
|
description,
|
|
@@ -16133,7 +16127,7 @@
|
|
|
16133
16127
|
unsupported: ""
|
|
16134
16128
|
};
|
|
16135
16129
|
const InternalSignature = (props, ref) => {
|
|
16136
|
-
const { locale } = useConfig
|
|
16130
|
+
const { locale } = useConfig();
|
|
16137
16131
|
const {
|
|
16138
16132
|
type,
|
|
16139
16133
|
lineWidth,
|
|
@@ -16314,7 +16308,7 @@
|
|
|
16314
16308
|
autoSize: false
|
|
16315
16309
|
};
|
|
16316
16310
|
const TextArea = (props) => {
|
|
16317
|
-
const { locale } = useConfig
|
|
16311
|
+
const { locale } = useConfig();
|
|
16318
16312
|
const {
|
|
16319
16313
|
className,
|
|
16320
16314
|
value,
|
|
@@ -16738,7 +16732,7 @@
|
|
|
16738
16732
|
}
|
|
16739
16733
|
};
|
|
16740
16734
|
const InternalUploader = (props, ref) => {
|
|
16741
|
-
const { locale } = useConfig
|
|
16735
|
+
const { locale } = useConfig();
|
|
16742
16736
|
const fileListRef = React.useRef([]);
|
|
16743
16737
|
const {
|
|
16744
16738
|
children,
|
|
@@ -17342,7 +17336,7 @@
|
|
|
17342
17336
|
onClose,
|
|
17343
17337
|
onCancel,
|
|
17344
17338
|
onOverlayClick
|
|
17345
|
-
} = props;
|
|
17339
|
+
} = mergeProps(defaultDialogProps, props);
|
|
17346
17340
|
const onHandleClickOverlay = (e) => {
|
|
17347
17341
|
if (closeOnOverlayClick && visible && e.target === e.currentTarget) {
|
|
17348
17342
|
const closed = onOverlayClick && onOverlayClick(e);
|
|
@@ -17372,7 +17366,6 @@
|
|
|
17372
17366
|
/* @__PURE__ */ React.createElement(Content, { ...props, visible })
|
|
17373
17367
|
));
|
|
17374
17368
|
};
|
|
17375
|
-
DialogWrap.defaultProps = defaultDialogProps;
|
|
17376
17369
|
DialogWrap.displayName = "NutDialogWrap";
|
|
17377
17370
|
const defaultProps$E = {
|
|
17378
17371
|
...ComponentDefaults,
|
|
@@ -17391,7 +17384,7 @@
|
|
|
17391
17384
|
beforeClose: () => true
|
|
17392
17385
|
};
|
|
17393
17386
|
const BaseDialog = (props, ref) => {
|
|
17394
|
-
const { locale } = useConfig
|
|
17387
|
+
const { locale } = useConfig();
|
|
17395
17388
|
const {
|
|
17396
17389
|
visible,
|
|
17397
17390
|
footer,
|
|
@@ -17688,7 +17681,7 @@
|
|
|
17688
17681
|
};
|
|
17689
17682
|
const classPrefix$d = `nut-infiniteloading`;
|
|
17690
17683
|
const InfiniteLoading = (props) => {
|
|
17691
|
-
const { locale } = useConfig
|
|
17684
|
+
const { locale } = useConfig();
|
|
17692
17685
|
const {
|
|
17693
17686
|
children,
|
|
17694
17687
|
type,
|
|
@@ -18758,7 +18751,7 @@
|
|
|
18758
18751
|
};
|
|
18759
18752
|
const PullToRefresh = (p2) => {
|
|
18760
18753
|
const classPrefix2 = "nut-pulltorefresh";
|
|
18761
|
-
const { locale } = useConfig
|
|
18754
|
+
const { locale } = useConfig();
|
|
18762
18755
|
const props = {
|
|
18763
18756
|
...defaultProps$x,
|
|
18764
18757
|
...p2,
|
|
@@ -19647,7 +19640,7 @@
|
|
|
19647
19640
|
}
|
|
19648
19641
|
};
|
|
19649
19642
|
const Audio = (props) => {
|
|
19650
|
-
const { locale } = useConfig
|
|
19643
|
+
const { locale } = useConfig();
|
|
19651
19644
|
const {
|
|
19652
19645
|
className,
|
|
19653
19646
|
src,
|
|
@@ -21336,7 +21329,7 @@
|
|
|
21336
21329
|
ellipse: false
|
|
21337
21330
|
};
|
|
21338
21331
|
const Pagination = (props) => {
|
|
21339
|
-
const { locale } = useConfig
|
|
21332
|
+
const { locale } = useConfig();
|
|
21340
21333
|
const {
|
|
21341
21334
|
value,
|
|
21342
21335
|
mode,
|
|
@@ -21683,7 +21676,7 @@
|
|
|
21683
21676
|
showHeader: true
|
|
21684
21677
|
};
|
|
21685
21678
|
const Table = (props) => {
|
|
21686
|
-
const { locale } = useConfig
|
|
21679
|
+
const { locale } = useConfig();
|
|
21687
21680
|
const rtl = useRtl();
|
|
21688
21681
|
defaultProps$a.noData = locale.noData;
|
|
21689
21682
|
const {
|
|
@@ -21953,7 +21946,7 @@
|
|
|
21953
21946
|
};
|
|
21954
21947
|
const classPrefix$2 = "nut-tour";
|
|
21955
21948
|
const Tour = (props) => {
|
|
21956
|
-
const { locale } = useConfig
|
|
21949
|
+
const { locale } = useConfig();
|
|
21957
21950
|
const {
|
|
21958
21951
|
children,
|
|
21959
21952
|
className,
|
|
@@ -22608,7 +22601,7 @@
|
|
|
22608
22601
|
}
|
|
22609
22602
|
};
|
|
22610
22603
|
const TimeSelect = (props) => {
|
|
22611
|
-
const { locale } = useConfig
|
|
22604
|
+
const { locale } = useConfig();
|
|
22612
22605
|
const {
|
|
22613
22606
|
visible,
|
|
22614
22607
|
className,
|
|
@@ -22833,7 +22826,7 @@
|
|
|
22833
22826
|
fontSize: 14
|
|
22834
22827
|
};
|
|
22835
22828
|
const WaterMark = (props) => {
|
|
22836
|
-
const { locale } = useConfig
|
|
22829
|
+
const { locale } = useConfig();
|
|
22837
22830
|
const {
|
|
22838
22831
|
content,
|
|
22839
22832
|
fullPage,
|
|
@@ -22950,6 +22943,7 @@
|
|
|
22950
22943
|
/* @__PURE__ */ React.createElement(Button, { key: "rotate" }, locale.avatarCropper.rotate),
|
|
22951
22944
|
/* @__PURE__ */ React.createElement(Button, { type: "success", key: "confirm" }, locale.confirm)
|
|
22952
22945
|
];
|
|
22946
|
+
defaultProps.editText = locale.edit;
|
|
22953
22947
|
const {
|
|
22954
22948
|
children,
|
|
22955
22949
|
maxZoom,
|
|
@@ -23391,9 +23385,9 @@
|
|
|
23391
23385
|
exports2.Video = Video;
|
|
23392
23386
|
exports2.VirtualList = VirtualList;
|
|
23393
23387
|
exports2.WaterMark = WaterMark;
|
|
23394
|
-
exports2.getDefaultConfig = getDefaultConfig
|
|
23388
|
+
exports2.getDefaultConfig = getDefaultConfig;
|
|
23395
23389
|
exports2.setDefaultConfig = setDefaultConfig;
|
|
23396
|
-
exports2.useConfig = useConfig
|
|
23390
|
+
exports2.useConfig = useConfig;
|
|
23397
23391
|
exports2.useRtl = useRtl;
|
|
23398
23392
|
Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
|
|
23399
23393
|
});
|
|
@@ -49,13 +49,12 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&-vertical {
|
|
52
|
-
position: relative;
|
|
53
|
-
top: $divider-vertical-top;
|
|
54
52
|
display: inline-block;
|
|
55
53
|
width: auto;
|
|
56
54
|
height: $divider-vertical-height;
|
|
57
55
|
border-left: 1px solid $divider-border-color;
|
|
58
56
|
margin: $divider-vertical-margin;
|
|
57
|
+
vertical-align: middle;
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
|