rsuite 5.72.0 → 5.73.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 +33 -0
- package/Calendar/styles/index.css +28 -31
- package/Calendar/styles/index.less +21 -27
- package/CheckPicker/styles/index.css +0 -1
- package/CheckTree/styles/index.css +0 -1
- package/CheckTree/styles/index.less +0 -1
- package/CheckTreePicker/styles/index.css +0 -1
- package/Checkbox/styles/mixin.less +1 -1
- package/DatePicker/styles/index.css +28 -34
- package/DatePicker/styles/index.less +0 -4
- package/DateRangePicker/styles/index.css +28 -37
- package/DateRangePicker/styles/index.less +0 -4
- package/InputPicker/styles/index.css +0 -1
- package/Pagination/styles/index.css +0 -1
- package/RadioTile/styles/index.css +69 -0
- package/RadioTile/styles/index.less +3 -1
- package/Rate/styles/index.less +1 -1
- package/SelectPicker/styles/index.css +0 -1
- package/Slider/styles/index.less +1 -1
- package/TagInput/styles/index.css +0 -4
- package/TagPicker/styles/index.css +0 -4
- package/TagPicker/styles/index.less +0 -2
- package/TimePicker/styles/index.css +28 -34
- package/TimeRangePicker/styles/index.css +28 -37
- package/Tree/styles/index.css +0 -3
- package/Tree/styles/index.less +0 -6
- package/TreePicker/styles/index.css +0 -3
- package/cjs/Calendar/CalendarHeader.js +4 -4
- package/cjs/Calendar/{MonthDropdown.d.ts → MonthDropdown/MonthDropdown.d.ts} +1 -2
- package/cjs/Calendar/{MonthDropdown.js → MonthDropdown/MonthDropdown.js} +14 -20
- package/{esm/Calendar → cjs/Calendar/MonthDropdown}/MonthDropdownItem.d.ts +1 -1
- package/cjs/Calendar/{MonthDropdownItem.js → MonthDropdown/MonthDropdownItem.js} +6 -6
- package/cjs/Calendar/MonthDropdown/index.d.ts +2 -0
- package/cjs/Calendar/MonthDropdown/index.js +8 -0
- package/cjs/Calendar/hooks/useCalendarState.d.ts +1 -1
- package/cjs/Calendar/hooks/useCalendarState.js +15 -8
- package/cjs/Calendar/utils/index.d.ts +1 -0
- package/cjs/Calendar/utils/index.js +4 -2
- package/cjs/Calendar/utils/isEveryDateInMonth.d.ts +1 -0
- package/cjs/Calendar/utils/isEveryDateInMonth.js +15 -0
- package/cjs/CascadeTree/TreeView.js +3 -3
- package/cjs/CustomProvider/CustomProvider.d.ts +31 -13
- package/cjs/CustomProvider/CustomProvider.js +20 -6
- package/cjs/DatePicker/DatePicker.js +12 -12
- package/cjs/DateRangePicker/DateRangePicker.js +1 -1
- package/cjs/Drawer/Drawer.js +6 -15
- package/cjs/Dropdown/Dropdown.d.ts +1 -1
- package/cjs/Dropdown/DropdownItem.d.ts +1 -1
- package/cjs/Dropdown/DropdownMenu.d.ts +1 -1
- package/cjs/Dropdown/DropdownMenu.js +3 -3
- package/cjs/Dropdown/DropdownToggle.d.ts +1 -1
- package/cjs/FormControl/hooks/useField.js +3 -0
- package/cjs/FormHelpText/FormHelpText.js +2 -2
- package/cjs/IconButton/IconButton.d.ts +1 -1
- package/cjs/Modal/Modal.d.ts +4 -0
- package/cjs/Modal/Modal.js +12 -13
- package/cjs/Modal/ModalBody.js +6 -5
- package/cjs/Modal/ModalContext.d.ts +4 -0
- package/cjs/Modal/ModalHeader.js +4 -4
- package/cjs/MultiCascadeTree/TreeView.js +3 -3
- package/cjs/Nav/NavDropdownItem.d.ts +1 -1
- package/cjs/Nav/NavDropdownMenu.d.ts +1 -1
- package/cjs/Nav/NavDropdownMenu.js +3 -3
- package/cjs/Nav/NavItem.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdown.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdownItem.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdownMenu.d.ts +1 -1
- package/cjs/Navbar/NavbarDropdownMenu.js +3 -3
- package/cjs/Navbar/NavbarItem.d.ts +1 -1
- package/cjs/Pagination/Pagination.js +5 -5
- package/cjs/Panel/AccordionButton.js +2 -2
- package/cjs/Sidenav/ExpandedSidenavDropdown.d.ts +1 -1
- package/cjs/Sidenav/ExpandedSidenavDropdownItem.d.ts +1 -1
- package/cjs/Sidenav/ExpandedSidenavDropdownMenu.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdown.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdownItem.d.ts +1 -1
- package/cjs/Sidenav/SidenavDropdownMenu.d.ts +1 -1
- package/cjs/Sidenav/SidenavItem.d.ts +1 -1
- package/cjs/Sidenav/SidenavToggle.js +3 -3
- package/cjs/Steps/StepItem.d.ts +1 -1
- package/cjs/internals/Picker/ListItemGroup.js +1 -1
- package/cjs/internals/Picker/PickerIndicator.js +2 -2
- package/cjs/internals/Picker/PickerToggle.d.ts +1 -1
- package/cjs/internals/SearchBox/SearchBox.js +1 -1
- package/cjs/internals/constants/statusIcons.js +7 -7
- package/cjs/internals/hooks/useFocusVirtualListItem.d.ts +5 -2
- package/cjs/internals/hooks/useFocusVirtualListItem.js +23 -7
- package/cjs/internals/hooks/useToggleCaret.d.ts +1 -1
- package/cjs/locales/hu_HU.d.ts +2 -0
- package/cjs/locales/hu_HU.js +3 -1
- package/dist/rsuite-no-reset-rtl.css +28 -46
- 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 +28 -46
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +28 -46
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +28 -46
- package/dist/rsuite.js +450 -5234
- 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.js +1 -1
- package/esm/Calendar/CalendarHeader.js +4 -4
- package/esm/Calendar/{MonthDropdown.d.ts → MonthDropdown/MonthDropdown.d.ts} +1 -2
- package/esm/Calendar/{MonthDropdown.js → MonthDropdown/MonthDropdown.js} +13 -18
- package/{cjs/Calendar → esm/Calendar/MonthDropdown}/MonthDropdownItem.d.ts +1 -1
- package/esm/Calendar/{MonthDropdownItem.js → MonthDropdown/MonthDropdownItem.js} +6 -6
- package/esm/Calendar/MonthDropdown/index.d.ts +2 -0
- package/esm/Calendar/MonthDropdown/index.js +3 -0
- package/esm/Calendar/hooks/useCalendarState.d.ts +1 -1
- package/esm/Calendar/hooks/useCalendarState.js +16 -9
- package/esm/Calendar/utils/index.d.ts +1 -0
- package/esm/Calendar/utils/index.js +2 -1
- package/esm/Calendar/utils/isEveryDateInMonth.d.ts +1 -0
- package/esm/Calendar/utils/isEveryDateInMonth.js +11 -0
- package/esm/CascadeTree/TreeView.js +3 -3
- package/esm/CustomProvider/CustomProvider.d.ts +31 -13
- package/esm/CustomProvider/CustomProvider.js +20 -6
- package/esm/DatePicker/DatePicker.js +3 -3
- package/esm/DateRangePicker/DateRangePicker.js +2 -2
- package/esm/Drawer/Drawer.js +6 -13
- package/esm/Dropdown/Dropdown.d.ts +1 -1
- package/esm/Dropdown/DropdownItem.d.ts +1 -1
- package/esm/Dropdown/DropdownMenu.d.ts +1 -1
- package/esm/Dropdown/DropdownMenu.js +3 -3
- package/esm/Dropdown/DropdownToggle.d.ts +1 -1
- package/esm/FormControl/hooks/useField.js +4 -1
- package/esm/FormHelpText/FormHelpText.js +2 -2
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/Modal/Modal.d.ts +4 -0
- package/esm/Modal/Modal.js +13 -14
- package/esm/Modal/ModalBody.js +6 -5
- package/esm/Modal/ModalContext.d.ts +4 -0
- package/esm/Modal/ModalHeader.js +4 -4
- package/esm/MultiCascadeTree/TreeView.js +3 -3
- package/esm/Nav/NavDropdownItem.d.ts +1 -1
- package/esm/Nav/NavDropdownMenu.d.ts +1 -1
- package/esm/Nav/NavDropdownMenu.js +3 -3
- package/esm/Nav/NavItem.d.ts +1 -1
- package/esm/Navbar/NavbarDropdown.d.ts +1 -1
- package/esm/Navbar/NavbarDropdownItem.d.ts +1 -1
- package/esm/Navbar/NavbarDropdownMenu.d.ts +1 -1
- package/esm/Navbar/NavbarDropdownMenu.js +3 -3
- package/esm/Navbar/NavbarItem.d.ts +1 -1
- package/esm/Pagination/Pagination.js +10 -10
- package/esm/Panel/AccordionButton.js +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdown.d.ts +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdownItem.d.ts +1 -1
- package/esm/Sidenav/ExpandedSidenavDropdownMenu.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdown.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdownItem.d.ts +1 -1
- package/esm/Sidenav/SidenavDropdownMenu.d.ts +1 -1
- package/esm/Sidenav/SidenavItem.d.ts +1 -1
- package/esm/Sidenav/SidenavToggle.js +3 -3
- package/esm/Steps/StepItem.d.ts +1 -1
- package/esm/internals/Picker/ListItemGroup.js +2 -2
- package/esm/internals/Picker/PickerIndicator.js +1 -1
- package/esm/internals/Picker/PickerToggle.d.ts +1 -1
- package/esm/internals/SearchBox/SearchBox.js +2 -2
- package/esm/internals/constants/statusIcons.js +7 -7
- package/esm/internals/hooks/useFocusVirtualListItem.d.ts +5 -2
- package/esm/internals/hooks/useFocusVirtualListItem.js +23 -7
- package/esm/internals/hooks/useToggleCaret.d.ts +1 -1
- package/esm/locales/hu_HU.d.ts +2 -0
- package/esm/locales/hu_HU.js +3 -1
- package/internals/Picker/styles/mixin.less +0 -1
- package/package.json +2 -2
- package/styles/variables.less +1 -1
- package/cjs/Drawer/DrawerContext.d.ts +0 -9
- package/cjs/Drawer/DrawerContext.js +0 -9
- package/esm/Drawer/DrawerContext.d.ts +0 -9
- package/esm/Drawer/DrawerContext.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## [5.73.1](https://github.com/rsuite/rsuite/compare/v5.73.0...v5.73.1) (2024-10-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Calendar:** fix not triggering the `onToggleTimeDropdown` event when collapsing the time panel ([#4009](https://github.com/rsuite/rsuite/issues/4009)) ([9e2d69e](https://github.com/rsuite/rsuite/commit/9e2d69e232b1317e00b856a470e97c2d7b4ddd37))
|
|
7
|
+
* **CheckTree:** fix focus lost when search keyword matches selected item ([#4017](https://github.com/rsuite/rsuite/issues/4017)) ([119fed2](https://github.com/rsuite/rsuite/commit/119fed2778c2defb5cb772050cc52e9f72f63d87))
|
|
8
|
+
* **Modal:** the style of Modal is messy when it's rendered inside of a Drawer ([#4016](https://github.com/rsuite/rsuite/issues/4016)) ([922ab04](https://github.com/rsuite/rsuite/commit/922ab04eb09f0437fa21db91b69cf7c8d9e407fc))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **FormErrorMessage:** support display react element ([#4013](https://github.com/rsuite/rsuite/issues/4013)) ([50f22fc](https://github.com/rsuite/rsuite/commit/50f22fc104aa0e32c255aed4da89b6cb2c6a2447))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [5.73.0](https://github.com/rsuite/rsuite/compare/v5.72.0...v5.73.0) (2024-10-18)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* bump @rsuite/icons 1.2.0 and replace deprecated icons ([#4002](https://github.com/rsuite/rsuite/issues/4002)) ([2a287c1](https://github.com/rsuite/rsuite/commit/2a287c1145abac326d56412f9fc5fabbf55c19d6))
|
|
23
|
+
* **Calendar:** fix the week not aligning in the cell ([#3994](https://github.com/rsuite/rsuite/issues/3994)) ([14ae7a4](https://github.com/rsuite/rsuite/commit/14ae7a4ed5a3e267358de083e84c4fa086d1f1f0))
|
|
24
|
+
* examples/custom-multiple-themes/package.json to reduce vulnerabilities ([#3962](https://github.com/rsuite/rsuite/issues/3962)) ([16bc650](https://github.com/rsuite/rsuite/commit/16bc650b87e3c8ab0b70a07e1c44b44d6838c022))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **Calendar:** support localized month calendar ([#3995](https://github.com/rsuite/rsuite/issues/3995)) ([b4f80d8](https://github.com/rsuite/rsuite/commit/b4f80d85abbc5760ab29e19bf5bb55715dbd0988))
|
|
30
|
+
* **CustomProvider:** add support for csp and disableInlineStyles ([#4004](https://github.com/rsuite/rsuite/issues/4004)) ([84b6e98](https://github.com/rsuite/rsuite/commit/84b6e9832127db8ef66e74e072387729dedd5388))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
1
34
|
# [5.72.0](https://github.com/rsuite/rsuite/compare/v5.71.0...v5.72.0) (2024-10-11)
|
|
2
35
|
|
|
3
36
|
|
|
@@ -1374,22 +1374,14 @@
|
|
|
1374
1374
|
box-shadow: inset 0 0 0 1px var(--rs-input-focus-border);
|
|
1375
1375
|
}
|
|
1376
1376
|
.rs-calendar-panel .rs-calendar-table-cell-day {
|
|
1377
|
-
margin-top: 3px;
|
|
1378
1377
|
display: block;
|
|
1379
1378
|
text-align: center;
|
|
1380
1379
|
}
|
|
1381
1380
|
.rs-calendar-panel .rs-calendar-month-dropdown {
|
|
1382
|
-
margin-
|
|
1383
|
-
margin-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
width: calc(100% - 24px);
|
|
1387
|
-
}
|
|
1388
|
-
.rs-calendar-panel:not(.rs-calendar-compact) .rs-calendar-month-dropdown-scroll {
|
|
1389
|
-
height: 644px;
|
|
1390
|
-
}
|
|
1391
|
-
.rs-calendar-panel.rs-calendar-compact .rs-calendar-month-dropdown-scroll {
|
|
1392
|
-
height: 344px;
|
|
1381
|
+
margin-left: 10px;
|
|
1382
|
+
margin-right: 10px;
|
|
1383
|
+
border-radius: 6px;
|
|
1384
|
+
width: calc(100% - 20px);
|
|
1393
1385
|
}
|
|
1394
1386
|
.rs-calendar-panel:not(.rs-calendar-compact) .rs-calendar-table-row:not(.rs-calendar-table-header-row) .rs-calendar-table-cell-content {
|
|
1395
1387
|
width: 100%;
|
|
@@ -1414,7 +1406,20 @@
|
|
|
1414
1406
|
border-bottom-right-radius: 6px;
|
|
1415
1407
|
}
|
|
1416
1408
|
.rs-calendar-panel.rs-calendar-compact .rs-calendar-table-row:not(.rs-calendar-table-header-row) .rs-calendar-table-cell-content {
|
|
1417
|
-
height:
|
|
1409
|
+
min-height: 38px;
|
|
1410
|
+
display: -webkit-box;
|
|
1411
|
+
display: -ms-flexbox;
|
|
1412
|
+
display: flex;
|
|
1413
|
+
-webkit-box-align: center;
|
|
1414
|
+
-ms-flex-align: center;
|
|
1415
|
+
align-items: center;
|
|
1416
|
+
-webkit-box-pack: center;
|
|
1417
|
+
-ms-flex-pack: center;
|
|
1418
|
+
justify-content: center;
|
|
1419
|
+
-webkit-box-orient: vertical;
|
|
1420
|
+
-webkit-box-direction: normal;
|
|
1421
|
+
-ms-flex-direction: column;
|
|
1422
|
+
flex-direction: column;
|
|
1418
1423
|
}
|
|
1419
1424
|
.rs-calendar-btn-close {
|
|
1420
1425
|
position: absolute;
|
|
@@ -1439,8 +1444,12 @@
|
|
|
1439
1444
|
background-color: var(--rs-btn-subtle-hover-bg);
|
|
1440
1445
|
}
|
|
1441
1446
|
.rs-calendar-panel .rs-calendar-btn-close {
|
|
1442
|
-
bottom:
|
|
1443
|
-
margin: 0
|
|
1447
|
+
bottom: 4px;
|
|
1448
|
+
margin: 0 11px;
|
|
1449
|
+
border-radius: 0 0 6px 6px;
|
|
1450
|
+
}
|
|
1451
|
+
.rs-calendar-panel.rs-calendar-bordered .rs-calendar-btn-close {
|
|
1452
|
+
bottom: 5px;
|
|
1444
1453
|
}
|
|
1445
1454
|
.rs-calendar-month-view .rs-calendar-header-month-toolbar {
|
|
1446
1455
|
padding-left: 24px;
|
|
@@ -1805,6 +1814,7 @@
|
|
|
1805
1814
|
background-color: var(--rs-bg-overlay);
|
|
1806
1815
|
overflow: hidden;
|
|
1807
1816
|
z-index: 1;
|
|
1817
|
+
height: calc(100% - 48px);
|
|
1808
1818
|
}
|
|
1809
1819
|
.rs-calendar-month-view .rs-calendar-month-dropdown {
|
|
1810
1820
|
display: block;
|
|
@@ -1814,7 +1824,7 @@
|
|
|
1814
1824
|
animation: 0.3s linear slideDown;
|
|
1815
1825
|
}
|
|
1816
1826
|
.rs-calendar-month-dropdown-scroll {
|
|
1817
|
-
height:
|
|
1827
|
+
height: 100%;
|
|
1818
1828
|
}
|
|
1819
1829
|
.rs-calendar-month-dropdown-row {
|
|
1820
1830
|
position: relative;
|
|
@@ -1837,21 +1847,10 @@
|
|
|
1837
1847
|
color: var(--rs-text-active);
|
|
1838
1848
|
}
|
|
1839
1849
|
.rs-calendar-month-dropdown-list {
|
|
1840
|
-
display:
|
|
1841
|
-
|
|
1842
|
-
}
|
|
1843
|
-
.rs-calendar-month-dropdown-list::before,
|
|
1844
|
-
.rs-calendar-month-dropdown-list::after {
|
|
1845
|
-
content: ' ';
|
|
1846
|
-
display: table;
|
|
1847
|
-
}
|
|
1848
|
-
.rs-calendar-month-dropdown-list::after {
|
|
1849
|
-
clear: both;
|
|
1850
|
+
display: grid;
|
|
1851
|
+
grid-template-columns: repeat(4, 25%);
|
|
1850
1852
|
}
|
|
1851
1853
|
.rs-calendar-month-dropdown-cell {
|
|
1852
|
-
display: inline-block;
|
|
1853
|
-
float: left;
|
|
1854
|
-
width: calc((100% - 1px * 12 ) / 6);
|
|
1855
1854
|
margin: 1px;
|
|
1856
1855
|
text-align: center;
|
|
1857
1856
|
vertical-align: middle;
|
|
@@ -1873,8 +1872,6 @@
|
|
|
1873
1872
|
padding: 5px;
|
|
1874
1873
|
cursor: pointer;
|
|
1875
1874
|
border-radius: 6px;
|
|
1876
|
-
width: 30px;
|
|
1877
|
-
height: 30px;
|
|
1878
1875
|
}
|
|
1879
1876
|
.rs-calendar-month-dropdown-cell-content:hover {
|
|
1880
1877
|
background-color: #f2faff;
|
|
@@ -89,25 +89,15 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&-panel &-table-cell-day {
|
|
92
|
-
margin-top: 3px;
|
|
93
92
|
display: block;
|
|
94
93
|
text-align: center;
|
|
95
94
|
}
|
|
96
95
|
|
|
97
96
|
&-panel &-month-dropdown {
|
|
98
|
-
margin-
|
|
99
|
-
margin-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
width: ~'calc(100% - 24px)';
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&-panel:not(&-compact) &-month-dropdown-scroll {
|
|
106
|
-
height: 644px; // Flow design
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&-panel&-compact &-month-dropdown-scroll {
|
|
110
|
-
height: 344px; // Flow design
|
|
97
|
+
margin-left: 10px;
|
|
98
|
+
margin-right: 10px;
|
|
99
|
+
border-radius: 6px;
|
|
100
|
+
width: ~'calc(100% - 20px)';
|
|
111
101
|
}
|
|
112
102
|
|
|
113
103
|
&-panel:not(&-compact) &-table-row:not(&-table-header-row) &-table-cell-content {
|
|
@@ -139,7 +129,11 @@
|
|
|
139
129
|
}
|
|
140
130
|
|
|
141
131
|
&-panel&-compact &-table-row:not(&-table-header-row) &-table-cell-content {
|
|
142
|
-
height: @calendar-panel-compact-cell-height;
|
|
132
|
+
min-height: @calendar-panel-compact-cell-height;
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
flex-direction: column;
|
|
143
137
|
}
|
|
144
138
|
|
|
145
139
|
&-btn-close {
|
|
@@ -156,13 +150,18 @@
|
|
|
156
150
|
z-index: 1;
|
|
157
151
|
|
|
158
152
|
&:hover {
|
|
159
|
-
background-color: var(--rs-btn-subtle-hover-bg)
|
|
153
|
+
background-color: var(--rs-btn-subtle-hover-bg);
|
|
160
154
|
}
|
|
161
155
|
}
|
|
162
156
|
|
|
163
157
|
&-panel &-btn-close {
|
|
164
|
-
bottom:
|
|
165
|
-
margin: 0
|
|
158
|
+
bottom: 4px;
|
|
159
|
+
margin: 0 11px;
|
|
160
|
+
border-radius: 0 0 6px 6px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&-panel&-bordered &-btn-close {
|
|
164
|
+
bottom: 5px;
|
|
166
165
|
}
|
|
167
166
|
}
|
|
168
167
|
|
|
@@ -463,6 +462,7 @@
|
|
|
463
462
|
background-color: var(--rs-bg-overlay);
|
|
464
463
|
overflow: hidden;
|
|
465
464
|
z-index: @zindex-date-range-picker-table-cell-content;
|
|
465
|
+
height: calc(100% - 48px);
|
|
466
466
|
|
|
467
467
|
.rs-calendar-month-view & {
|
|
468
468
|
display: block;
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
&-scroll {
|
|
476
|
-
height:
|
|
476
|
+
height: 100%;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
&-row {
|
|
@@ -499,15 +499,11 @@
|
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
&-list {
|
|
502
|
-
display:
|
|
503
|
-
|
|
504
|
-
.clearfix();
|
|
502
|
+
display: grid;
|
|
503
|
+
grid-template-columns: repeat(4, 25%);
|
|
505
504
|
}
|
|
506
505
|
|
|
507
506
|
&-cell {
|
|
508
|
-
display: inline-block;
|
|
509
|
-
float: left;
|
|
510
|
-
width: ~'calc((100% - @{calendar-table-cell-content-today-border-width} * 12 ) / 6)';
|
|
511
507
|
margin: 1px;
|
|
512
508
|
text-align: center;
|
|
513
509
|
vertical-align: middle;
|
|
@@ -520,8 +516,6 @@
|
|
|
520
516
|
|
|
521
517
|
&-cell-content {
|
|
522
518
|
.picker-calendar-cell-content();
|
|
523
|
-
width: @calendar-in-menu-content-side-length;
|
|
524
|
-
height: @calendar-in-menu-content-side-length;
|
|
525
519
|
}
|
|
526
520
|
|
|
527
521
|
&-cell:not(&-cell-active).disabled &-cell-content {
|
|
@@ -3627,7 +3627,6 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
|
|
|
3627
3627
|
border-radius: 6px;
|
|
3628
3628
|
}
|
|
3629
3629
|
.rs-check-tree-node .rs-check-item.rs-checkbox-disabled .rs-checkbox-label {
|
|
3630
|
-
cursor: not-allowed;
|
|
3631
3630
|
color: #717273;
|
|
3632
3631
|
color: var(--rs-text-disabled);
|
|
3633
3632
|
background: none;
|
|
@@ -3627,7 +3627,6 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
|
|
|
3627
3627
|
border-radius: 6px;
|
|
3628
3628
|
}
|
|
3629
3629
|
.rs-check-tree-node .rs-check-item.rs-checkbox-disabled .rs-checkbox-label {
|
|
3630
|
-
cursor: not-allowed;
|
|
3631
3630
|
color: #717273;
|
|
3632
3631
|
color: var(--rs-text-disabled);
|
|
3633
3632
|
background: none;
|
|
@@ -2102,22 +2102,14 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2102
2102
|
box-shadow: inset 0 0 0 1px var(--rs-input-focus-border);
|
|
2103
2103
|
}
|
|
2104
2104
|
.rs-calendar-panel .rs-calendar-table-cell-day {
|
|
2105
|
-
margin-top: 3px;
|
|
2106
2105
|
display: block;
|
|
2107
2106
|
text-align: center;
|
|
2108
2107
|
}
|
|
2109
2108
|
.rs-calendar-panel .rs-calendar-month-dropdown {
|
|
2110
|
-
margin-
|
|
2111
|
-
margin-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
width: calc(100% - 24px);
|
|
2115
|
-
}
|
|
2116
|
-
.rs-calendar-panel:not(.rs-calendar-compact) .rs-calendar-month-dropdown-scroll {
|
|
2117
|
-
height: 644px;
|
|
2118
|
-
}
|
|
2119
|
-
.rs-calendar-panel.rs-calendar-compact .rs-calendar-month-dropdown-scroll {
|
|
2120
|
-
height: 344px;
|
|
2109
|
+
margin-left: 10px;
|
|
2110
|
+
margin-right: 10px;
|
|
2111
|
+
border-radius: 6px;
|
|
2112
|
+
width: calc(100% - 20px);
|
|
2121
2113
|
}
|
|
2122
2114
|
.rs-calendar-panel:not(.rs-calendar-compact) .rs-calendar-table-row:not(.rs-calendar-table-header-row) .rs-calendar-table-cell-content {
|
|
2123
2115
|
width: 100%;
|
|
@@ -2142,7 +2134,20 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2142
2134
|
border-bottom-right-radius: 6px;
|
|
2143
2135
|
}
|
|
2144
2136
|
.rs-calendar-panel.rs-calendar-compact .rs-calendar-table-row:not(.rs-calendar-table-header-row) .rs-calendar-table-cell-content {
|
|
2145
|
-
height:
|
|
2137
|
+
min-height: 38px;
|
|
2138
|
+
display: -webkit-box;
|
|
2139
|
+
display: -ms-flexbox;
|
|
2140
|
+
display: flex;
|
|
2141
|
+
-webkit-box-align: center;
|
|
2142
|
+
-ms-flex-align: center;
|
|
2143
|
+
align-items: center;
|
|
2144
|
+
-webkit-box-pack: center;
|
|
2145
|
+
-ms-flex-pack: center;
|
|
2146
|
+
justify-content: center;
|
|
2147
|
+
-webkit-box-orient: vertical;
|
|
2148
|
+
-webkit-box-direction: normal;
|
|
2149
|
+
-ms-flex-direction: column;
|
|
2150
|
+
flex-direction: column;
|
|
2146
2151
|
}
|
|
2147
2152
|
.rs-calendar-btn-close {
|
|
2148
2153
|
position: absolute;
|
|
@@ -2167,8 +2172,12 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2167
2172
|
background-color: var(--rs-btn-subtle-hover-bg);
|
|
2168
2173
|
}
|
|
2169
2174
|
.rs-calendar-panel .rs-calendar-btn-close {
|
|
2170
|
-
bottom:
|
|
2171
|
-
margin: 0
|
|
2175
|
+
bottom: 4px;
|
|
2176
|
+
margin: 0 11px;
|
|
2177
|
+
border-radius: 0 0 6px 6px;
|
|
2178
|
+
}
|
|
2179
|
+
.rs-calendar-panel.rs-calendar-bordered .rs-calendar-btn-close {
|
|
2180
|
+
bottom: 5px;
|
|
2172
2181
|
}
|
|
2173
2182
|
.rs-calendar-month-view .rs-calendar-header-month-toolbar {
|
|
2174
2183
|
padding-left: 24px;
|
|
@@ -2533,6 +2542,7 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2533
2542
|
background-color: var(--rs-bg-overlay);
|
|
2534
2543
|
overflow: hidden;
|
|
2535
2544
|
z-index: 1;
|
|
2545
|
+
height: calc(100% - 48px);
|
|
2536
2546
|
}
|
|
2537
2547
|
.rs-calendar-month-view .rs-calendar-month-dropdown {
|
|
2538
2548
|
display: block;
|
|
@@ -2542,7 +2552,7 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2542
2552
|
animation: 0.3s linear slideDown;
|
|
2543
2553
|
}
|
|
2544
2554
|
.rs-calendar-month-dropdown-scroll {
|
|
2545
|
-
height:
|
|
2555
|
+
height: 100%;
|
|
2546
2556
|
}
|
|
2547
2557
|
.rs-calendar-month-dropdown-row {
|
|
2548
2558
|
position: relative;
|
|
@@ -2565,21 +2575,10 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2565
2575
|
color: var(--rs-text-active);
|
|
2566
2576
|
}
|
|
2567
2577
|
.rs-calendar-month-dropdown-list {
|
|
2568
|
-
display:
|
|
2569
|
-
|
|
2570
|
-
}
|
|
2571
|
-
.rs-calendar-month-dropdown-list::before,
|
|
2572
|
-
.rs-calendar-month-dropdown-list::after {
|
|
2573
|
-
content: ' ';
|
|
2574
|
-
display: table;
|
|
2575
|
-
}
|
|
2576
|
-
.rs-calendar-month-dropdown-list::after {
|
|
2577
|
-
clear: both;
|
|
2578
|
+
display: grid;
|
|
2579
|
+
grid-template-columns: repeat(4, 25%);
|
|
2578
2580
|
}
|
|
2579
2581
|
.rs-calendar-month-dropdown-cell {
|
|
2580
|
-
display: inline-block;
|
|
2581
|
-
float: left;
|
|
2582
|
-
width: calc((100% - 1px * 12 ) / 6);
|
|
2583
2582
|
margin: 1px;
|
|
2584
2583
|
text-align: center;
|
|
2585
2584
|
vertical-align: middle;
|
|
@@ -2601,8 +2600,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2601
2600
|
padding: 5px;
|
|
2602
2601
|
cursor: pointer;
|
|
2603
2602
|
border-radius: 6px;
|
|
2604
|
-
width: 30px;
|
|
2605
|
-
height: 30px;
|
|
2606
2603
|
}
|
|
2607
2604
|
.rs-calendar-month-dropdown-cell-content:hover {
|
|
2608
2605
|
background-color: #f2faff;
|
|
@@ -4145,9 +4142,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
4145
4142
|
color: #fff;
|
|
4146
4143
|
color: var(--rs-calendar-date-selected-text);
|
|
4147
4144
|
}
|
|
4148
|
-
.rs-picker-popup .rs-calendar .rs-calendar-month-dropdown-scroll {
|
|
4149
|
-
height: 227px;
|
|
4150
|
-
}
|
|
4151
4145
|
.rs-picker-popup .rs-calendar .rs-calendar-time-dropdown-column > ul {
|
|
4152
4146
|
height: 198px;
|
|
4153
4147
|
}
|
|
@@ -2102,22 +2102,14 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2102
2102
|
box-shadow: inset 0 0 0 1px var(--rs-input-focus-border);
|
|
2103
2103
|
}
|
|
2104
2104
|
.rs-calendar-panel .rs-calendar-table-cell-day {
|
|
2105
|
-
margin-top: 3px;
|
|
2106
2105
|
display: block;
|
|
2107
2106
|
text-align: center;
|
|
2108
2107
|
}
|
|
2109
2108
|
.rs-calendar-panel .rs-calendar-month-dropdown {
|
|
2110
|
-
margin-
|
|
2111
|
-
margin-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
width: calc(100% - 24px);
|
|
2115
|
-
}
|
|
2116
|
-
.rs-calendar-panel:not(.rs-calendar-compact) .rs-calendar-month-dropdown-scroll {
|
|
2117
|
-
height: 644px;
|
|
2118
|
-
}
|
|
2119
|
-
.rs-calendar-panel.rs-calendar-compact .rs-calendar-month-dropdown-scroll {
|
|
2120
|
-
height: 344px;
|
|
2109
|
+
margin-left: 10px;
|
|
2110
|
+
margin-right: 10px;
|
|
2111
|
+
border-radius: 6px;
|
|
2112
|
+
width: calc(100% - 20px);
|
|
2121
2113
|
}
|
|
2122
2114
|
.rs-calendar-panel:not(.rs-calendar-compact) .rs-calendar-table-row:not(.rs-calendar-table-header-row) .rs-calendar-table-cell-content {
|
|
2123
2115
|
width: 100%;
|
|
@@ -2142,7 +2134,20 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2142
2134
|
border-bottom-right-radius: 6px;
|
|
2143
2135
|
}
|
|
2144
2136
|
.rs-calendar-panel.rs-calendar-compact .rs-calendar-table-row:not(.rs-calendar-table-header-row) .rs-calendar-table-cell-content {
|
|
2145
|
-
height:
|
|
2137
|
+
min-height: 38px;
|
|
2138
|
+
display: -webkit-box;
|
|
2139
|
+
display: -ms-flexbox;
|
|
2140
|
+
display: flex;
|
|
2141
|
+
-webkit-box-align: center;
|
|
2142
|
+
-ms-flex-align: center;
|
|
2143
|
+
align-items: center;
|
|
2144
|
+
-webkit-box-pack: center;
|
|
2145
|
+
-ms-flex-pack: center;
|
|
2146
|
+
justify-content: center;
|
|
2147
|
+
-webkit-box-orient: vertical;
|
|
2148
|
+
-webkit-box-direction: normal;
|
|
2149
|
+
-ms-flex-direction: column;
|
|
2150
|
+
flex-direction: column;
|
|
2146
2151
|
}
|
|
2147
2152
|
.rs-calendar-btn-close {
|
|
2148
2153
|
position: absolute;
|
|
@@ -2167,8 +2172,12 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2167
2172
|
background-color: var(--rs-btn-subtle-hover-bg);
|
|
2168
2173
|
}
|
|
2169
2174
|
.rs-calendar-panel .rs-calendar-btn-close {
|
|
2170
|
-
bottom:
|
|
2171
|
-
margin: 0
|
|
2175
|
+
bottom: 4px;
|
|
2176
|
+
margin: 0 11px;
|
|
2177
|
+
border-radius: 0 0 6px 6px;
|
|
2178
|
+
}
|
|
2179
|
+
.rs-calendar-panel.rs-calendar-bordered .rs-calendar-btn-close {
|
|
2180
|
+
bottom: 5px;
|
|
2172
2181
|
}
|
|
2173
2182
|
.rs-calendar-month-view .rs-calendar-header-month-toolbar {
|
|
2174
2183
|
padding-left: 24px;
|
|
@@ -2533,6 +2542,7 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2533
2542
|
background-color: var(--rs-bg-overlay);
|
|
2534
2543
|
overflow: hidden;
|
|
2535
2544
|
z-index: 1;
|
|
2545
|
+
height: calc(100% - 48px);
|
|
2536
2546
|
}
|
|
2537
2547
|
.rs-calendar-month-view .rs-calendar-month-dropdown {
|
|
2538
2548
|
display: block;
|
|
@@ -2542,7 +2552,7 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2542
2552
|
animation: 0.3s linear slideDown;
|
|
2543
2553
|
}
|
|
2544
2554
|
.rs-calendar-month-dropdown-scroll {
|
|
2545
|
-
height:
|
|
2555
|
+
height: 100%;
|
|
2546
2556
|
}
|
|
2547
2557
|
.rs-calendar-month-dropdown-row {
|
|
2548
2558
|
position: relative;
|
|
@@ -2565,21 +2575,10 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2565
2575
|
color: var(--rs-text-active);
|
|
2566
2576
|
}
|
|
2567
2577
|
.rs-calendar-month-dropdown-list {
|
|
2568
|
-
display:
|
|
2569
|
-
|
|
2570
|
-
}
|
|
2571
|
-
.rs-calendar-month-dropdown-list::before,
|
|
2572
|
-
.rs-calendar-month-dropdown-list::after {
|
|
2573
|
-
content: ' ';
|
|
2574
|
-
display: table;
|
|
2575
|
-
}
|
|
2576
|
-
.rs-calendar-month-dropdown-list::after {
|
|
2577
|
-
clear: both;
|
|
2578
|
+
display: grid;
|
|
2579
|
+
grid-template-columns: repeat(4, 25%);
|
|
2578
2580
|
}
|
|
2579
2581
|
.rs-calendar-month-dropdown-cell {
|
|
2580
|
-
display: inline-block;
|
|
2581
|
-
float: left;
|
|
2582
|
-
width: calc((100% - 1px * 12 ) / 6);
|
|
2583
2582
|
margin: 1px;
|
|
2584
2583
|
text-align: center;
|
|
2585
2584
|
vertical-align: middle;
|
|
@@ -2601,8 +2600,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
2601
2600
|
padding: 5px;
|
|
2602
2601
|
cursor: pointer;
|
|
2603
2602
|
border-radius: 6px;
|
|
2604
|
-
width: 30px;
|
|
2605
|
-
height: 30px;
|
|
2606
2603
|
}
|
|
2607
2604
|
.rs-calendar-month-dropdown-cell-content:hover {
|
|
2608
2605
|
background-color: #f2faff;
|
|
@@ -4140,9 +4137,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
4140
4137
|
color: #fff;
|
|
4141
4138
|
color: var(--rs-calendar-date-selected-text);
|
|
4142
4139
|
}
|
|
4143
|
-
.rs-picker-popup .rs-calendar .rs-calendar-month-dropdown-scroll {
|
|
4144
|
-
height: 227px;
|
|
4145
|
-
}
|
|
4146
4140
|
.rs-picker-popup .rs-calendar .rs-calendar-time-dropdown-column > ul {
|
|
4147
4141
|
height: 198px;
|
|
4148
4142
|
}
|
|
@@ -4192,9 +4186,6 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
4192
4186
|
.rs-picker-popup .rs-calendar-month-dropdown {
|
|
4193
4187
|
z-index: 1;
|
|
4194
4188
|
}
|
|
4195
|
-
.rs-picker-popup .rs-calendar-month-dropdown-list {
|
|
4196
|
-
width: 185px;
|
|
4197
|
-
}
|
|
4198
4189
|
.rs-picker-popup .rs-picker-daterange-panel-show-one-calendar .rs-picker-toolbar-ranges {
|
|
4199
4190
|
width: 190px;
|
|
4200
4191
|
}
|