rsuite 5.54.0 → 5.55.1
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 +30 -0
- package/Calendar/styles/index.css +3 -0
- package/Calendar/styles/index.less +3 -1
- package/DatePicker/styles/index.css +7 -2
- package/DatePicker/styles/index.less +5 -2
- package/DateRangePicker/styles/index.css +19 -11
- package/DateRangePicker/styles/index.less +5 -1
- package/Message/styles/index.css +1 -1
- package/Nav/styles/index.css +1 -2
- package/Nav/styles/index.less +1 -2
- package/Pagination/styles/index.css +3 -0
- package/Pagination/styles/pagination-group.less +4 -0
- package/Tabs/styles/index.css +1 -2
- package/cjs/Calendar/CalendarContainer.d.ts +4 -0
- package/cjs/Calendar/CalendarContainer.js +3 -1
- package/cjs/Calendar/TableCell.js +3 -2
- package/cjs/Calendar/types.d.ts +1 -0
- package/cjs/Cascader/DropdownMenu.js +3 -1
- package/cjs/Cascader/TreeView.js +3 -1
- package/cjs/DOMHelper/index.d.ts +23 -32
- package/cjs/DatePicker/DatePicker.d.ts +6 -0
- package/cjs/DatePicker/DatePicker.js +4 -3
- package/cjs/DateRangePicker/DateRangePicker.js +4 -3
- package/cjs/InputNumber/InputNumber.d.ts +36 -11
- package/cjs/InputNumber/InputNumber.js +47 -28
- package/cjs/Pagination/LimitPicker.d.ts +15 -0
- package/cjs/Pagination/LimitPicker.js +51 -0
- package/cjs/Pagination/Pagination.js +7 -8
- package/cjs/Pagination/PaginationButton.js +3 -18
- package/cjs/Pagination/PaginationGroup.d.ts +35 -7
- package/cjs/Pagination/PaginationGroup.js +77 -98
- package/cjs/RangeSlider/RangeSlider.js +14 -11
- package/cjs/Slider/Handle.js +19 -62
- package/cjs/Slider/ProgressBar.js +2 -1
- package/cjs/Slider/Slider.js +14 -10
- package/cjs/Slider/useDrag.d.ts +16 -0
- package/cjs/Slider/useDrag.js +88 -0
- package/cjs/Slider/utils.d.ts +6 -2
- package/cjs/Slider/utils.js +15 -1
- package/cjs/internals/Overlay/positionUtils.d.ts +1 -6
- package/cjs/locales/cs_CZ.d.ts +120 -0
- package/cjs/locales/cs_CZ.js +88 -0
- package/cjs/locales/index.d.ts +1 -0
- package/cjs/locales/index.js +4 -2
- package/dist/rsuite-no-reset-rtl.css +24 -14
- package/dist/rsuite-no-reset-rtl.min.css +1 -1
- package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
- package/dist/rsuite-no-reset.css +24 -14
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +24 -14
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +24 -14
- package/dist/rsuite.js +88 -55
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Calendar/CalendarContainer.d.ts +4 -0
- package/esm/Calendar/CalendarContainer.js +3 -1
- package/esm/Calendar/TableCell.js +5 -4
- package/esm/Calendar/types.d.ts +1 -0
- package/esm/Cascader/DropdownMenu.js +3 -1
- package/esm/Cascader/TreeView.js +3 -1
- package/esm/DOMHelper/index.d.ts +23 -32
- package/esm/DatePicker/DatePicker.d.ts +6 -0
- package/esm/DatePicker/DatePicker.js +4 -3
- package/esm/DateRangePicker/DateRangePicker.js +4 -3
- package/esm/InputNumber/InputNumber.d.ts +36 -11
- package/esm/InputNumber/InputNumber.js +49 -30
- package/esm/Pagination/LimitPicker.d.ts +15 -0
- package/esm/Pagination/LimitPicker.js +44 -0
- package/esm/Pagination/Pagination.js +7 -7
- package/esm/Pagination/PaginationButton.js +4 -18
- package/esm/Pagination/PaginationGroup.d.ts +35 -7
- package/esm/Pagination/PaginationGroup.js +79 -98
- package/esm/RangeSlider/RangeSlider.js +15 -12
- package/esm/Slider/Handle.js +19 -61
- package/esm/Slider/ProgressBar.js +2 -1
- package/esm/Slider/Slider.js +16 -12
- package/esm/Slider/useDrag.d.ts +16 -0
- package/esm/Slider/useDrag.js +82 -0
- package/esm/Slider/utils.d.ts +6 -2
- package/esm/Slider/utils.js +15 -3
- package/esm/internals/Overlay/positionUtils.d.ts +1 -6
- package/esm/locales/cs_CZ.d.ts +120 -0
- package/esm/locales/cs_CZ.js +82 -0
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +2 -1
- package/locales/cs_CZ/package.json +7 -0
- package/package.json +2 -2
- package/styles/variables.less +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useRef, useEffect, useCallback, useState } from 'react';
|
|
3
|
+
import PointerMoveTracker from 'dom-lib/PointerMoveTracker';
|
|
4
|
+
import addStyle from 'dom-lib/addStyle';
|
|
5
|
+
import getWidth from 'dom-lib/getWidth';
|
|
6
|
+
import { useEventCallback } from '../utils';
|
|
7
|
+
var useDrag = function useDrag(props) {
|
|
8
|
+
var rootRef = useRef(null);
|
|
9
|
+
var tooltipRef = useRef(null);
|
|
10
|
+
var tooltip = props.tooltip,
|
|
11
|
+
disabled = props.disabled,
|
|
12
|
+
onDragMove = props.onDragMove,
|
|
13
|
+
onDragEnd = props.onDragEnd,
|
|
14
|
+
onDragStart = props.onDragStart;
|
|
15
|
+
var _useState = useState(false),
|
|
16
|
+
active = _useState[0],
|
|
17
|
+
setActive = _useState[1];
|
|
18
|
+
var moveTracker = useRef();
|
|
19
|
+
|
|
20
|
+
// Release the move event
|
|
21
|
+
var releaseMoves = useCallback(function () {
|
|
22
|
+
var _moveTracker$current;
|
|
23
|
+
(_moveTracker$current = moveTracker.current) === null || _moveTracker$current === void 0 ? void 0 : _moveTracker$current.releaseMoves();
|
|
24
|
+
moveTracker.current = null;
|
|
25
|
+
}, []);
|
|
26
|
+
var setTooltipPosition = useCallback(function () {
|
|
27
|
+
var tooltipElement = tooltipRef.current;
|
|
28
|
+
if (tooltip && tooltipElement) {
|
|
29
|
+
var width = getWidth(tooltipElement);
|
|
30
|
+
// Set the position of the tooltip
|
|
31
|
+
addStyle(tooltipElement, 'left', "-" + width / 2 + "px");
|
|
32
|
+
}
|
|
33
|
+
}, [tooltip]);
|
|
34
|
+
var handleDragMove = useEventCallback(function (_deltaX, _deltaY, event) {
|
|
35
|
+
var _moveTracker$current2;
|
|
36
|
+
if ((_moveTracker$current2 = moveTracker.current) !== null && _moveTracker$current2 !== void 0 && _moveTracker$current2.isDragging()) {
|
|
37
|
+
var _rootRef$current;
|
|
38
|
+
onDragMove === null || onDragMove === void 0 ? void 0 : onDragMove(event, (_rootRef$current = rootRef.current) === null || _rootRef$current === void 0 ? void 0 : _rootRef$current.dataset);
|
|
39
|
+
setTooltipPosition();
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var handleDragEnd = useEventCallback(function (event) {
|
|
43
|
+
var _rootRef$current2;
|
|
44
|
+
setActive(false);
|
|
45
|
+
releaseMoves();
|
|
46
|
+
onDragEnd === null || onDragEnd === void 0 ? void 0 : onDragEnd(event, (_rootRef$current2 = rootRef.current) === null || _rootRef$current2 === void 0 ? void 0 : _rootRef$current2.dataset);
|
|
47
|
+
});
|
|
48
|
+
var getMouseMoveTracker = useCallback(function () {
|
|
49
|
+
return moveTracker.current || new PointerMoveTracker(document.body, {
|
|
50
|
+
onMove: handleDragMove,
|
|
51
|
+
onMoveEnd: handleDragEnd,
|
|
52
|
+
useTouchEvent: true
|
|
53
|
+
});
|
|
54
|
+
}, [handleDragEnd, handleDragMove]);
|
|
55
|
+
var onMoveStart = useEventCallback(function (event) {
|
|
56
|
+
var _moveTracker$current3, _rootRef$current3;
|
|
57
|
+
if (disabled) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
moveTracker.current = getMouseMoveTracker();
|
|
61
|
+
(_moveTracker$current3 = moveTracker.current) === null || _moveTracker$current3 === void 0 ? void 0 : _moveTracker$current3.captureMoves(event);
|
|
62
|
+
(_rootRef$current3 = rootRef.current) === null || _rootRef$current3 === void 0 ? void 0 : _rootRef$current3.focus();
|
|
63
|
+
setActive(true);
|
|
64
|
+
onDragStart === null || onDragStart === void 0 ? void 0 : onDragStart(event);
|
|
65
|
+
});
|
|
66
|
+
var onMouseEnter = useEventCallback(function () {
|
|
67
|
+
setTooltipPosition();
|
|
68
|
+
});
|
|
69
|
+
useEffect(function () {
|
|
70
|
+
return function () {
|
|
71
|
+
releaseMoves();
|
|
72
|
+
};
|
|
73
|
+
}, [releaseMoves]);
|
|
74
|
+
return {
|
|
75
|
+
active: active,
|
|
76
|
+
rootRef: rootRef,
|
|
77
|
+
tooltipRef: tooltipRef,
|
|
78
|
+
onMoveStart: onMoveStart,
|
|
79
|
+
onMouseEnter: onMouseEnter
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export default useDrag;
|
package/esm/Slider/utils.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const precisionMath: (value: any) => number;
|
|
2
|
-
declare function checkValue<T extends number | undefined>(value: T, min: number, max: number):
|
|
3
|
-
export
|
|
3
|
+
export declare function checkValue<T extends number | undefined | null>(value: T, min: number, max: number): number | T;
|
|
4
|
+
export declare function getPosition(e: React.MouseEvent | React.TouchEvent): {
|
|
5
|
+
pageX: number;
|
|
6
|
+
pageY: number;
|
|
7
|
+
};
|
package/esm/Slider/utils.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
export var precisionMath = function precisionMath(value) {
|
|
3
3
|
return parseFloat(value.toFixed(10));
|
|
4
4
|
};
|
|
5
|
-
function checkValue(value, min, max) {
|
|
6
|
-
if (typeof value === 'undefined') {
|
|
5
|
+
export function checkValue(value, min, max) {
|
|
6
|
+
if (typeof value === 'undefined' || value === null) {
|
|
7
7
|
return value;
|
|
8
8
|
}
|
|
9
9
|
if (value < min) {
|
|
@@ -14,4 +14,16 @@ function checkValue(value, min, max) {
|
|
|
14
14
|
}
|
|
15
15
|
return value;
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export function getPosition(e) {
|
|
18
|
+
var _event, _event2;
|
|
19
|
+
var event = 'touches' in e ? e.touches[0] : e;
|
|
20
|
+
|
|
21
|
+
// For touchend event, we need to use `changedTouches` instead of `touches`
|
|
22
|
+
if (e.type === 'touchend' && 'changedTouches' in e) {
|
|
23
|
+
event = e.changedTouches[0];
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
pageX: ((_event = event) === null || _event === void 0 ? void 0 : _event.pageX) || 0,
|
|
27
|
+
pageY: ((_event2 = event) === null || _event2 === void 0 ? void 0 : _event2.pageY) || 0
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -30,12 +30,7 @@ export interface Dimensions {
|
|
|
30
30
|
scrollY: number;
|
|
31
31
|
}
|
|
32
32
|
declare const _default: (props: UtilProps) => {
|
|
33
|
-
getPosition(target: HTMLElement, container: HTMLElement):
|
|
34
|
-
top: number;
|
|
35
|
-
left: number;
|
|
36
|
-
height: number;
|
|
37
|
-
width: number;
|
|
38
|
-
} | DOMRect | null;
|
|
33
|
+
getPosition(target: HTMLElement, container: HTMLElement): import("dom-lib/getOffset").Offset | DOMRect | null;
|
|
39
34
|
getCursorOffsetPosition(target: HTMLElement, container: HTMLElement, cursorPosition: CursorPosition): Offset;
|
|
40
35
|
calcAutoPlacement(targetOffset: any, container: any, overlay: any): any;
|
|
41
36
|
calcOverlayPosition(overlayNode: HTMLElement, target: HTMLElement, container: HTMLElement, cursorPosition?: CursorPosition | null): PositionType;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
common: {
|
|
3
|
+
loading: string;
|
|
4
|
+
emptyMessage: string;
|
|
5
|
+
remove: string;
|
|
6
|
+
clear: string;
|
|
7
|
+
};
|
|
8
|
+
Plaintext: {
|
|
9
|
+
unfilled: string;
|
|
10
|
+
notSelected: string;
|
|
11
|
+
notUploaded: string;
|
|
12
|
+
};
|
|
13
|
+
Pagination: {
|
|
14
|
+
more: string;
|
|
15
|
+
prev: string;
|
|
16
|
+
next: string;
|
|
17
|
+
first: string;
|
|
18
|
+
last: string;
|
|
19
|
+
limit: string;
|
|
20
|
+
total: string;
|
|
21
|
+
skip: string;
|
|
22
|
+
};
|
|
23
|
+
Calendar: {
|
|
24
|
+
sunday: string;
|
|
25
|
+
monday: string;
|
|
26
|
+
tuesday: string;
|
|
27
|
+
wednesday: string;
|
|
28
|
+
thursday: string;
|
|
29
|
+
friday: string;
|
|
30
|
+
saturday: string;
|
|
31
|
+
ok: string;
|
|
32
|
+
today: string;
|
|
33
|
+
yesterday: string;
|
|
34
|
+
hours: string;
|
|
35
|
+
minutes: string;
|
|
36
|
+
seconds: string;
|
|
37
|
+
/**
|
|
38
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
39
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
40
|
+
**/
|
|
41
|
+
formattedMonthPattern: string;
|
|
42
|
+
formattedDayPattern: string;
|
|
43
|
+
dateLocale: any;
|
|
44
|
+
};
|
|
45
|
+
DatePicker: {
|
|
46
|
+
sunday: string;
|
|
47
|
+
monday: string;
|
|
48
|
+
tuesday: string;
|
|
49
|
+
wednesday: string;
|
|
50
|
+
thursday: string;
|
|
51
|
+
friday: string;
|
|
52
|
+
saturday: string;
|
|
53
|
+
ok: string;
|
|
54
|
+
today: string;
|
|
55
|
+
yesterday: string;
|
|
56
|
+
hours: string;
|
|
57
|
+
minutes: string;
|
|
58
|
+
seconds: string;
|
|
59
|
+
/**
|
|
60
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
61
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
62
|
+
**/
|
|
63
|
+
formattedMonthPattern: string;
|
|
64
|
+
formattedDayPattern: string;
|
|
65
|
+
dateLocale: any;
|
|
66
|
+
};
|
|
67
|
+
DateRangePicker: {
|
|
68
|
+
last7Days: string;
|
|
69
|
+
sunday: string;
|
|
70
|
+
monday: string;
|
|
71
|
+
tuesday: string;
|
|
72
|
+
wednesday: string;
|
|
73
|
+
thursday: string;
|
|
74
|
+
friday: string;
|
|
75
|
+
saturday: string;
|
|
76
|
+
ok: string;
|
|
77
|
+
today: string;
|
|
78
|
+
yesterday: string;
|
|
79
|
+
hours: string;
|
|
80
|
+
minutes: string;
|
|
81
|
+
seconds: string;
|
|
82
|
+
/**
|
|
83
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
84
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
85
|
+
**/
|
|
86
|
+
formattedMonthPattern: string;
|
|
87
|
+
formattedDayPattern: string;
|
|
88
|
+
dateLocale: any;
|
|
89
|
+
};
|
|
90
|
+
Picker: {
|
|
91
|
+
noResultsText: string;
|
|
92
|
+
placeholder: string;
|
|
93
|
+
searchPlaceholder: string;
|
|
94
|
+
checkAll: string;
|
|
95
|
+
};
|
|
96
|
+
InputPicker: {
|
|
97
|
+
newItem: string;
|
|
98
|
+
createOption: string;
|
|
99
|
+
};
|
|
100
|
+
Uploader: {
|
|
101
|
+
inited: string;
|
|
102
|
+
progress: string;
|
|
103
|
+
error: string;
|
|
104
|
+
complete: string;
|
|
105
|
+
emptyFile: string;
|
|
106
|
+
upload: string;
|
|
107
|
+
removeFile: string;
|
|
108
|
+
};
|
|
109
|
+
CloseButton: {
|
|
110
|
+
closeLabel: string;
|
|
111
|
+
};
|
|
112
|
+
Breadcrumb: {
|
|
113
|
+
expandText: string;
|
|
114
|
+
};
|
|
115
|
+
Toggle: {
|
|
116
|
+
on: string;
|
|
117
|
+
off: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
export default _default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
+
import cs from 'date-fns/locale/cs';
|
|
4
|
+
var Calendar = {
|
|
5
|
+
sunday: 'Ne',
|
|
6
|
+
monday: 'Po',
|
|
7
|
+
tuesday: 'Út',
|
|
8
|
+
wednesday: 'St',
|
|
9
|
+
thursday: 'Čt',
|
|
10
|
+
friday: 'Pá',
|
|
11
|
+
saturday: 'So',
|
|
12
|
+
ok: 'OK',
|
|
13
|
+
today: 'Dnes',
|
|
14
|
+
yesterday: 'Včera',
|
|
15
|
+
hours: 'Hodiny',
|
|
16
|
+
minutes: 'Minuty',
|
|
17
|
+
seconds: 'Sekundy',
|
|
18
|
+
/**
|
|
19
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
20
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
21
|
+
**/
|
|
22
|
+
formattedMonthPattern: 'MMM yyyy',
|
|
23
|
+
formattedDayPattern: 'dd. MMM yyyy',
|
|
24
|
+
dateLocale: cs
|
|
25
|
+
};
|
|
26
|
+
export default {
|
|
27
|
+
common: {
|
|
28
|
+
loading: 'Načítaní...',
|
|
29
|
+
emptyMessage: 'Nejsou k dispozici žádné data',
|
|
30
|
+
remove: 'Odstarnit',
|
|
31
|
+
clear: 'Vymazat'
|
|
32
|
+
},
|
|
33
|
+
Plaintext: {
|
|
34
|
+
unfilled: 'Nevyplněno',
|
|
35
|
+
notSelected: 'Nevybráno',
|
|
36
|
+
notUploaded: 'Nenahráno'
|
|
37
|
+
},
|
|
38
|
+
Pagination: {
|
|
39
|
+
more: 'Víc',
|
|
40
|
+
prev: 'Předchozí',
|
|
41
|
+
next: 'Další',
|
|
42
|
+
first: 'První',
|
|
43
|
+
last: 'Poslední',
|
|
44
|
+
limit: '{0} / stránku',
|
|
45
|
+
total: 'Celkový počet řádků : {0}',
|
|
46
|
+
skip: 'Jít na {0}'
|
|
47
|
+
},
|
|
48
|
+
Calendar: Calendar,
|
|
49
|
+
DatePicker: _extends({}, Calendar),
|
|
50
|
+
DateRangePicker: _extends({}, Calendar, {
|
|
51
|
+
last7Days: 'Posledních 7 dní'
|
|
52
|
+
}),
|
|
53
|
+
Picker: {
|
|
54
|
+
noResultsText: 'Nenalezeny žádné výsledky',
|
|
55
|
+
placeholder: 'Vybrat',
|
|
56
|
+
searchPlaceholder: 'Vyhledat',
|
|
57
|
+
checkAll: 'Vybrat vše'
|
|
58
|
+
},
|
|
59
|
+
InputPicker: {
|
|
60
|
+
newItem: 'Nová položka ',
|
|
61
|
+
createOption: 'Vytvořit možnost "{0}"'
|
|
62
|
+
},
|
|
63
|
+
Uploader: {
|
|
64
|
+
inited: 'Púvodní',
|
|
65
|
+
progress: 'Nahrávání',
|
|
66
|
+
error: 'Error',
|
|
67
|
+
complete: 'Dokočeno',
|
|
68
|
+
emptyFile: 'Prázdný soubor',
|
|
69
|
+
upload: 'Nahrát',
|
|
70
|
+
removeFile: 'Odstranit soubor'
|
|
71
|
+
},
|
|
72
|
+
CloseButton: {
|
|
73
|
+
closeLabel: 'Zavřít'
|
|
74
|
+
},
|
|
75
|
+
Breadcrumb: {
|
|
76
|
+
expandText: 'Zobrazit cestu'
|
|
77
|
+
},
|
|
78
|
+
Toggle: {
|
|
79
|
+
on: 'Otevřít',
|
|
80
|
+
off: 'Zavřít'
|
|
81
|
+
}
|
|
82
|
+
};
|
package/esm/locales/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { default as faIR } from './fa_IR';
|
|
|
22
22
|
export { default as frFR } from './fr_FR';
|
|
23
23
|
export { default as jaJP } from './ja_JP';
|
|
24
24
|
export { default as neNP } from './ne_NP';
|
|
25
|
+
export { default as csCZ } from './cs_CZ';
|
|
25
26
|
declare type PickKeys<T> = {
|
|
26
27
|
[keys in keyof T]?: T[keys];
|
|
27
28
|
};
|
package/esm/locales/index.js
CHANGED
|
@@ -21,4 +21,5 @@ export { default as zhTW } from './zh_TW';
|
|
|
21
21
|
export { default as faIR } from './fa_IR';
|
|
22
22
|
export { default as frFR } from './fr_FR';
|
|
23
23
|
export { default as jaJP } from './ja_JP';
|
|
24
|
-
export { default as neNP } from './ne_NP';
|
|
24
|
+
export { default as neNP } from './ne_NP';
|
|
25
|
+
export { default as csCZ } from './cs_CZ';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rsuite",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.55.1",
|
|
4
4
|
"description": "A suite of react components",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/react-window": "^1.8.5",
|
|
34
34
|
"classnames": "^2.3.1",
|
|
35
35
|
"date-fns": "^2.29.3",
|
|
36
|
-
"dom-lib": "^3.1
|
|
36
|
+
"dom-lib": "^3.3.1",
|
|
37
37
|
"lodash": "^4.17.11",
|
|
38
38
|
"prop-types": "^15.8.1",
|
|
39
39
|
"react-use-set": "^1.0.0",
|
package/styles/variables.less
CHANGED
|
@@ -848,6 +848,7 @@
|
|
|
848
848
|
@zindex-date-range-picker-calendar-dropdown: 1;
|
|
849
849
|
@zindex-date-range-picker-table-cell-content: 1;
|
|
850
850
|
@zindex-badge-content: 1;
|
|
851
|
+
@zindex-message-full: 3;
|
|
851
852
|
@zindex-dropdown: 5;
|
|
852
853
|
@zindex-picker-toggle: 5; // The same with zindex-dropdown
|
|
853
854
|
@zindex-picker-input: (@zindex-picker-toggle + 1); // Greater than picker toggle
|
|
@@ -862,7 +863,6 @@
|
|
|
862
863
|
@zindex-popover: 1060;
|
|
863
864
|
@zindex-tooltip: 1070;
|
|
864
865
|
@zindex-notification: 1080;
|
|
865
|
-
@zindex-message-full: 1090;
|
|
866
866
|
|
|
867
867
|
//#==== Uploader
|
|
868
868
|
@zindex-uploader-picture-preview: 1;
|