rsuite 5.59.0 → 5.59.2

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.
Files changed (181) hide show
  1. package/AvatarGroup/styles/index.css +2 -0
  2. package/AvatarGroup/styles/index.less +2 -0
  3. package/CHANGELOG.md +26 -0
  4. package/CheckPicker/styles/index.css +2 -0
  5. package/CheckTree/styles/index.css +2 -0
  6. package/CheckTreePicker/styles/index.css +2 -0
  7. package/Checkbox/styles/index.css +2 -0
  8. package/Checkbox/styles/index.less +2 -0
  9. package/DateRangePicker/styles/index.css +27 -0
  10. package/DateRangePicker/styles/index.less +27 -0
  11. package/MultiCascadeTree/styles/index.css +2 -0
  12. package/MultiCascader/styles/index.css +2 -0
  13. package/Placeholder/styles/index.css +42 -6
  14. package/Placeholder/styles/index.less +18 -9
  15. package/Placeholder/styles/mixin.less +7 -0
  16. package/Sidenav/styles/index.css +3 -0
  17. package/Sidenav/styles/index.less +4 -0
  18. package/TagInput/styles/index.css +2 -0
  19. package/TagPicker/styles/index.css +2 -0
  20. package/cjs/@types/common.d.ts +1 -1
  21. package/cjs/Avatar/Avatar.js +16 -8
  22. package/cjs/Avatar/useImage.js +0 -1
  23. package/cjs/AvatarGroup/AvatarGroup.d.ts +1 -0
  24. package/cjs/AvatarGroup/AvatarGroup.js +12 -12
  25. package/cjs/Calendar/CalendarContainer.js +4 -4
  26. package/cjs/Checkbox/Checkbox.js +1 -1
  27. package/cjs/DatePicker/DatePicker.d.ts +3 -38
  28. package/cjs/DatePicker/DatePicker.js +86 -137
  29. package/cjs/DatePicker/PredefinedRanges.d.ts +1 -1
  30. package/cjs/DatePicker/PredefinedRanges.js +3 -3
  31. package/cjs/DatePicker/Toolbar.d.ts +1 -1
  32. package/cjs/DatePicker/Toolbar.js +13 -12
  33. package/cjs/DatePicker/hooks/useFocus.d.ts +13 -0
  34. package/cjs/DatePicker/hooks/useFocus.js +96 -0
  35. package/cjs/DatePicker/hooks/useMonthView.d.ts +10 -0
  36. package/cjs/DatePicker/hooks/useMonthView.js +28 -0
  37. package/cjs/DatePicker/index.d.ts +2 -1
  38. package/cjs/DatePicker/types.d.ts +37 -0
  39. package/cjs/DatePicker/utils.d.ts +9 -0
  40. package/cjs/DatePicker/utils.js +20 -2
  41. package/cjs/DateRangePicker/DateRangePicker.d.ts +15 -3
  42. package/cjs/DateRangePicker/DateRangePicker.js +58 -68
  43. package/cjs/DateRangePicker/DateRangePickerContext.d.ts +4 -1
  44. package/cjs/DateRangePicker/DateRangePickerContext.js +4 -4
  45. package/cjs/DateRangePicker/Header.d.ts +11 -0
  46. package/cjs/DateRangePicker/Header.js +65 -0
  47. package/cjs/DateRangePicker/disabledDateUtils.d.ts +1 -1
  48. package/cjs/DateRangePicker/disabledDateUtils.js +1 -1
  49. package/cjs/DateRangePicker/index.js +5 -0
  50. package/cjs/Form/Form.d.ts +56 -39
  51. package/cjs/Form/Form.js +70 -208
  52. package/cjs/Form/FormContext.d.ts +13 -10
  53. package/cjs/Form/FormContext.js +11 -5
  54. package/cjs/Form/{useFormClassNames.d.ts → hooks/useFormClassNames.d.ts} +2 -2
  55. package/cjs/Form/{useFormClassNames.js → hooks/useFormClassNames.js} +2 -2
  56. package/cjs/Form/hooks/useFormRef.d.ts +55 -0
  57. package/cjs/Form/hooks/useFormRef.js +45 -0
  58. package/cjs/Form/hooks/useFormValidate.d.ts +19 -0
  59. package/cjs/Form/hooks/useFormValidate.js +157 -0
  60. package/cjs/Form/hooks/useFormValue.d.ts +7 -0
  61. package/cjs/Form/hooks/useFormValue.js +42 -0
  62. package/cjs/Form/{useSchemaModel.js → hooks/useSchemaModel.js} +5 -0
  63. package/cjs/Form/index.d.ts +3 -2
  64. package/cjs/Form/index.js +3 -9
  65. package/cjs/FormControl/FormControl.d.ts +1 -1
  66. package/cjs/FormControl/FormControl.js +51 -69
  67. package/cjs/FormControl/hooks/useField.d.ts +18 -0
  68. package/cjs/FormControl/hooks/useField.js +54 -0
  69. package/cjs/FormControl/hooks/useRegisterModel.d.ts +3 -0
  70. package/cjs/FormControl/hooks/useRegisterModel.js +22 -0
  71. package/cjs/FormControl/utils.d.ts +1 -0
  72. package/cjs/FormControl/utils.js +8 -0
  73. package/cjs/FormControlLabel/FormControlLabel.js +12 -9
  74. package/cjs/FormErrorMessage/FormErrorMessage.js +2 -5
  75. package/cjs/FormGroup/FormGroup.d.ts +18 -4
  76. package/cjs/FormGroup/FormGroup.js +28 -2
  77. package/cjs/FormGroup/index.d.ts +1 -0
  78. package/cjs/FormGroup/index.js +4 -3
  79. package/cjs/FormHelpText/FormHelpText.d.ts +2 -1
  80. package/cjs/FormHelpText/FormHelpText.js +16 -9
  81. package/cjs/Input/Input.js +4 -5
  82. package/cjs/Placeholder/PlaceholderGraph.d.ts +13 -1
  83. package/cjs/Placeholder/PlaceholderGrid.d.ts +27 -1
  84. package/cjs/Placeholder/PlaceholderGrid.js +10 -13
  85. package/cjs/Placeholder/PlaceholderParagraph.d.ts +24 -1
  86. package/cjs/Placeholder/PlaceholderParagraph.js +13 -9
  87. package/cjs/utils/dateUtils.d.ts +72 -10
  88. package/cjs/utils/dateUtils.js +88 -29
  89. package/dist/rsuite-no-reset-rtl.css +76 -6
  90. package/dist/rsuite-no-reset-rtl.min.css +1 -1
  91. package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
  92. package/dist/rsuite-no-reset.css +76 -6
  93. package/dist/rsuite-no-reset.min.css +1 -1
  94. package/dist/rsuite-no-reset.min.css.map +1 -1
  95. package/dist/rsuite-rtl.css +76 -6
  96. package/dist/rsuite-rtl.min.css +1 -1
  97. package/dist/rsuite-rtl.min.css.map +1 -1
  98. package/dist/rsuite.css +76 -6
  99. package/dist/rsuite.js +221 -57
  100. package/dist/rsuite.js.map +1 -1
  101. package/dist/rsuite.min.css +1 -1
  102. package/dist/rsuite.min.css.map +1 -1
  103. package/dist/rsuite.min.js +1 -1
  104. package/dist/rsuite.min.js.LICENSE.txt +35 -0
  105. package/dist/rsuite.min.js.map +1 -1
  106. package/esm/@types/common.d.ts +1 -1
  107. package/esm/Avatar/Avatar.js +12 -4
  108. package/esm/Avatar/useImage.js +0 -1
  109. package/esm/AvatarGroup/AvatarGroup.d.ts +1 -0
  110. package/esm/AvatarGroup/AvatarGroup.js +12 -12
  111. package/esm/Calendar/CalendarContainer.js +5 -5
  112. package/esm/Checkbox/Checkbox.js +1 -1
  113. package/esm/DatePicker/DatePicker.d.ts +3 -38
  114. package/esm/DatePicker/DatePicker.js +88 -139
  115. package/esm/DatePicker/PredefinedRanges.d.ts +1 -1
  116. package/esm/DatePicker/PredefinedRanges.js +3 -3
  117. package/esm/DatePicker/Toolbar.d.ts +1 -1
  118. package/esm/DatePicker/Toolbar.js +13 -12
  119. package/esm/DatePicker/hooks/useFocus.d.ts +13 -0
  120. package/esm/DatePicker/hooks/useFocus.js +90 -0
  121. package/esm/DatePicker/hooks/useMonthView.d.ts +10 -0
  122. package/esm/DatePicker/hooks/useMonthView.js +22 -0
  123. package/esm/DatePicker/index.d.ts +2 -1
  124. package/esm/DatePicker/types.d.ts +37 -0
  125. package/esm/DatePicker/utils.d.ts +9 -0
  126. package/esm/DatePicker/utils.js +18 -2
  127. package/esm/DateRangePicker/DateRangePicker.d.ts +15 -3
  128. package/esm/DateRangePicker/DateRangePicker.js +61 -71
  129. package/esm/DateRangePicker/DateRangePickerContext.d.ts +4 -1
  130. package/esm/DateRangePicker/DateRangePickerContext.js +2 -2
  131. package/esm/DateRangePicker/Header.d.ts +11 -0
  132. package/esm/DateRangePicker/Header.js +59 -0
  133. package/esm/DateRangePicker/disabledDateUtils.d.ts +1 -1
  134. package/esm/DateRangePicker/disabledDateUtils.js +1 -1
  135. package/esm/DateRangePicker/index.js +4 -0
  136. package/esm/Form/Form.d.ts +56 -39
  137. package/esm/Form/Form.js +68 -205
  138. package/esm/Form/FormContext.d.ts +13 -10
  139. package/esm/Form/FormContext.js +6 -2
  140. package/esm/Form/{useFormClassNames.d.ts → hooks/useFormClassNames.d.ts} +2 -2
  141. package/esm/Form/{useFormClassNames.js → hooks/useFormClassNames.js} +2 -2
  142. package/esm/Form/hooks/useFormRef.d.ts +55 -0
  143. package/esm/Form/hooks/useFormRef.js +40 -0
  144. package/esm/Form/hooks/useFormValidate.d.ts +19 -0
  145. package/esm/Form/hooks/useFormValidate.js +152 -0
  146. package/esm/Form/hooks/useFormValue.d.ts +7 -0
  147. package/esm/Form/hooks/useFormValue.js +37 -0
  148. package/esm/Form/{useSchemaModel.js → hooks/useSchemaModel.js} +5 -0
  149. package/esm/Form/index.d.ts +3 -2
  150. package/esm/Form/index.js +1 -1
  151. package/esm/FormControl/FormControl.d.ts +1 -1
  152. package/esm/FormControl/FormControl.js +49 -67
  153. package/esm/FormControl/hooks/useField.d.ts +18 -0
  154. package/esm/FormControl/hooks/useField.js +48 -0
  155. package/esm/FormControl/hooks/useRegisterModel.d.ts +3 -0
  156. package/esm/FormControl/hooks/useRegisterModel.js +17 -0
  157. package/esm/FormControl/utils.d.ts +1 -0
  158. package/esm/FormControl/utils.js +4 -0
  159. package/esm/FormControlLabel/FormControlLabel.js +12 -8
  160. package/esm/FormErrorMessage/FormErrorMessage.js +2 -5
  161. package/esm/FormGroup/FormGroup.d.ts +18 -4
  162. package/esm/FormGroup/FormGroup.js +27 -1
  163. package/esm/FormGroup/index.d.ts +1 -0
  164. package/esm/FormGroup/index.js +1 -0
  165. package/esm/FormHelpText/FormHelpText.d.ts +2 -1
  166. package/esm/FormHelpText/FormHelpText.js +17 -9
  167. package/esm/Input/Input.js +4 -5
  168. package/esm/Placeholder/PlaceholderGraph.d.ts +13 -1
  169. package/esm/Placeholder/PlaceholderGrid.d.ts +27 -1
  170. package/esm/Placeholder/PlaceholderGrid.js +10 -13
  171. package/esm/Placeholder/PlaceholderParagraph.d.ts +24 -1
  172. package/esm/Placeholder/PlaceholderParagraph.js +12 -8
  173. package/esm/utils/dateUtils.d.ts +72 -10
  174. package/esm/utils/dateUtils.js +86 -28
  175. package/package.json +2 -2
  176. package/cjs/FormControl/useRegisterModel.d.ts +0 -4
  177. package/cjs/FormControl/useRegisterModel.js +0 -18
  178. package/esm/FormControl/useRegisterModel.d.ts +0 -4
  179. package/esm/FormControl/useRegisterModel.js +0 -13
  180. /package/cjs/Form/{useSchemaModel.d.ts → hooks/useSchemaModel.d.ts} +0 -0
  181. /package/esm/Form/{useSchemaModel.d.ts → hooks/useSchemaModel.d.ts} +0 -0
@@ -3,7 +3,7 @@
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
5
  exports.__esModule = true;
6
- exports.disabledTime = disabledTime;
6
+ exports.disableTime = disableTime;
7
7
  exports.getMonthView = getMonthView;
8
8
  exports.copyTime = copyTime;
9
9
  exports.reverseDateRangeOmitTime = reverseDateRangeOmitTime;
@@ -100,67 +100,116 @@ var _isLastDayOfMonth = _interopRequireDefault(require("date-fns/isLastDayOfMont
100
100
  exports.isLastDayOfMonth = _isLastDayOfMonth.default;
101
101
  var _lastDayOfMonth = _interopRequireDefault(require("date-fns/lastDayOfMonth"));
102
102
  exports.lastDayOfMonth = _lastDayOfMonth.default;
103
- var disabledTimeProps = ['disabledHours', 'disabledMinutes', 'disabledSeconds'];
104
- var hideTimeProps = ['hideHours', 'hideMinutes', 'hideSeconds'];
105
- var calendarOnlyProps = disabledTimeProps.concat(hideTimeProps);
103
+ var TimeProp;
104
+ (function (TimeProp) {
105
+ TimeProp["DisabledHours"] = "disabledHours";
106
+ TimeProp["DisabledMinutes"] = "disabledMinutes";
107
+ TimeProp["DisabledSeconds"] = "disabledSeconds";
108
+ TimeProp["ShouldDisableHour"] = "shouldDisableHour";
109
+ TimeProp["ShouldDisableMinute"] = "shouldDisableMinute";
110
+ TimeProp["ShouldDisableSecond"] = "shouldDisableSecond";
111
+ TimeProp["HideHours"] = "hideHours";
112
+ TimeProp["HideMinutes"] = "hideMinutes";
113
+ TimeProp["HideSeconds"] = "hideSeconds";
114
+ })(TimeProp || (TimeProp = {}));
115
+ var calendarOnlyProps = [TimeProp.DisabledHours, TimeProp.DisabledMinutes, TimeProp.DisabledSeconds, TimeProp.HideHours, TimeProp.HideMinutes, TimeProp.HideSeconds];
106
116
  exports.calendarOnlyProps = calendarOnlyProps;
107
- function validTime(calendarProps, date) {
117
+ var HOURS_PATTERN = /(Hours?)/;
118
+ var MINUTES_PATTERN = /(Minutes?)/;
119
+ var SECONDS_PATTERN = /(Seconds?)/;
120
+ /**
121
+ * Verify that the time is valid.
122
+ *
123
+ * @param props - The calendar props.
124
+ * @param date - The date to check.
125
+ * @returns Whether the time is disabled.
126
+ */
127
+ function disableTime(props, date) {
108
128
  if (!date) {
109
129
  return false;
110
130
  }
111
- return Object.keys(calendarProps).some(function (key) {
112
- if (/(Hours)/.test(key)) {
113
- var _calendarProps$key;
114
- return (_calendarProps$key = calendarProps[key]) === null || _calendarProps$key === void 0 ? void 0 : _calendarProps$key.call(calendarProps, (0, _getHours.default)(date), date);
131
+ var disabledTimeProps = [TimeProp.DisabledHours, TimeProp.DisabledMinutes, TimeProp.DisabledSeconds, TimeProp.ShouldDisableHour, TimeProp.ShouldDisableMinute, TimeProp.ShouldDisableSecond];
132
+ var calendarProps = (0, _pick.default)(props, disabledTimeProps);
133
+ var mapProps = new Map(Object.entries(calendarProps));
134
+ return Array.from(mapProps.keys()).some(function (key) {
135
+ if (HOURS_PATTERN.test(key)) {
136
+ var _mapProps$get;
137
+ return (_mapProps$get = mapProps.get(key)) === null || _mapProps$get === void 0 ? void 0 : _mapProps$get((0, _getHours.default)(date), date);
115
138
  }
116
- if (/(Minutes)/.test(key)) {
117
- var _calendarProps$key2;
118
- return (_calendarProps$key2 = calendarProps[key]) === null || _calendarProps$key2 === void 0 ? void 0 : _calendarProps$key2.call(calendarProps, (0, _getMinutes.default)(date), date);
139
+ if (MINUTES_PATTERN.test(key)) {
140
+ var _mapProps$get2;
141
+ return (_mapProps$get2 = mapProps.get(key)) === null || _mapProps$get2 === void 0 ? void 0 : _mapProps$get2((0, _getMinutes.default)(date), date);
119
142
  }
120
- if (/(Seconds)/.test(key)) {
121
- var _calendarProps$key3;
122
- return (_calendarProps$key3 = calendarProps[key]) === null || _calendarProps$key3 === void 0 ? void 0 : _calendarProps$key3.call(calendarProps, (0, _getSeconds.default)(date), date);
143
+ if (SECONDS_PATTERN.test(key)) {
144
+ var _mapProps$get3;
145
+ return (_mapProps$get3 = mapProps.get(key)) === null || _mapProps$get3 === void 0 ? void 0 : _mapProps$get3((0, _getSeconds.default)(date), date);
123
146
  }
124
147
  return false;
125
148
  });
126
149
  }
127
150
 
128
151
  /**
129
- * Verify that the time is valid.
152
+ * Omit the calendar-only props from an object.
130
153
  *
131
- * @param props
132
- * @param date
154
+ * @param props - The object to omit props from.
155
+ * @returns The object with calendar-only props omitted.
133
156
  */
134
- function disabledTime(props, date) {
135
- var calendarProps = (0, _pick.default)(props, disabledTimeProps);
136
- return validTime(calendarProps, date);
137
- }
138
157
  var omitHideDisabledProps = function omitHideDisabledProps(props) {
139
158
  return (0, _omitBy.default)(props, function (_val, key) {
140
- return key.startsWith('disabled') || key.startsWith('hide');
159
+ return key.startsWith('disabled') || key.startsWith('hide') || key.startsWith('shouldDisable');
141
160
  });
142
161
  };
162
+
163
+ /**
164
+ * Check if the time should be rendered based on the format.
165
+ *
166
+ * @param format - The format string.
167
+ * @returns Whether the time should be rendered.
168
+ */
143
169
  exports.omitHideDisabledProps = omitHideDisabledProps;
144
170
  var shouldRenderTime = function shouldRenderTime(format) {
145
171
  return /([Hhms])/.test(format);
146
172
  };
173
+
174
+ /**
175
+ * Check if the month should be rendered based on the format.
176
+ *
177
+ * @param format - The format string.
178
+ * @returns Whether the month should be rendered.
179
+ */
147
180
  exports.shouldRenderTime = shouldRenderTime;
148
181
  var shouldRenderMonth = function shouldRenderMonth(format) {
149
182
  return /[Yy]/.test(format) && /[ML]/.test(format);
150
183
  };
184
+
185
+ /**
186
+ * Check if the date should be rendered based on the format.
187
+ *
188
+ * @param format - The format string.
189
+ * @returns Whether the date should be rendered.
190
+ */
151
191
  exports.shouldRenderMonth = shouldRenderMonth;
152
192
  var shouldRenderDate = function shouldRenderDate(format) {
153
193
  return /[Yy]/.test(format) && /[ML]/.test(format) && /[Dd]/.test(format);
154
- }; // for date-fns v1 and v2
194
+ };
195
+
196
+ /**
197
+ * Check if only the time should be rendered based on the format.
198
+ *
199
+ * @param format - The format string.
200
+ * @returns Whether only the time should be rendered.
201
+ */
155
202
  exports.shouldRenderDate = shouldRenderDate;
156
203
  var shouldOnlyRenderTime = function shouldOnlyRenderTime(format) {
157
204
  return /([Hhms])/.test(format) && !/([YyMDd])/.test(format);
158
- }; // for date-fns v1 and v2
205
+ };
159
206
 
160
207
  /**
161
- * Get all weeks of this month
162
- * @params monthDate
163
- * @return date[]
208
+ * Get all weeks of a month.
209
+ *
210
+ * @param monthDate - The date of the month.
211
+ * @param isoWeek - Whether to use ISO week numbering.
212
+ * @returns An array of weeks in the month.
164
213
  */
165
214
  exports.shouldOnlyRenderTime = shouldOnlyRenderTime;
166
215
  function getMonthView(monthDate, isoWeek) {
@@ -184,7 +233,11 @@ function getMonthView(monthDate, isoWeek) {
184
233
  }
185
234
 
186
235
  /**
187
- * Copy the time of one date to another
236
+ * Copy the time from one date to another.
237
+ *
238
+ * @param from - The source date.
239
+ * @param to - The target date.
240
+ * @returns The target date with the time copied from the source date.
188
241
  */
189
242
  function copyTime(_ref) {
190
243
  var from = _ref.from,
@@ -201,6 +254,9 @@ function copyTime(_ref) {
201
254
 
202
255
  /**
203
256
  * Swap two dates without swapping the time.
257
+ *
258
+ * @param dateRange - The date range to reverse.
259
+ * @returns The reversed date range.
204
260
  */
205
261
  function reverseDateRangeOmitTime(dateRange) {
206
262
  var start = dateRange[0],
@@ -219,6 +275,9 @@ function reverseDateRangeOmitTime(dateRange) {
219
275
 
220
276
  /**
221
277
  * Get the time with AM and PM reversed.
278
+ *
279
+ * @param date - The date to reverse the time meridian.
280
+ * @returns The date with the time meridian reversed.
222
281
  */
223
282
  var getReversedTimeMeridian = function getReversedTimeMeridian(date) {
224
283
  var clonedDate = new Date(date.valueOf());
@@ -1678,6 +1678,8 @@ tbody.rs-anim-collapse.rs-anim-in {
1678
1678
  -webkit-box-align: end;
1679
1679
  -ms-flex-align: end;
1680
1680
  align-items: flex-end;
1681
+ -ms-flex-wrap: wrap;
1682
+ flex-wrap: wrap;
1681
1683
  }
1682
1684
  .rs-avatar-group-stack .rs-avatar {
1683
1685
  -webkit-box-sizing: content-box;
@@ -4029,6 +4031,8 @@ tbody.rs-anim-collapse.rs-anim-in {
4029
4031
  left: -10px;
4030
4032
  bottom: -10px;
4031
4033
  right: -10px;
4034
+ min-width: 36px;
4035
+ min-height: 36px;
4032
4036
  }
4033
4037
  .rs-checkbox-control::before,
4034
4038
  .rs-checkbox-control .rs-checkbox-inner::before,
@@ -4676,6 +4680,33 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
4676
4680
  border-bottom: 1px solid #e5e5ea;
4677
4681
  border-bottom: 1px solid var(--rs-border-primary);
4678
4682
  }
4683
+ .rs-picker-daterange-header .rs-picker-header-date:focus {
4684
+ background-color: transparent;
4685
+ }
4686
+ .rs-picker-daterange-header.rs-picker-tab-active-end,
4687
+ .rs-picker-daterange-header.rs-picker-tab-active-start {
4688
+ position: relative;
4689
+ display: -webkit-box;
4690
+ display: -ms-flexbox;
4691
+ display: flex;
4692
+ -webkit-box-align: center;
4693
+ -ms-flex-align: center;
4694
+ align-items: center;
4695
+ -ms-flex-pack: distribute;
4696
+ justify-content: space-around;
4697
+ }
4698
+ .rs-picker-daterange-header.rs-picker-tab-active-end::after,
4699
+ .rs-picker-daterange-header.rs-picker-tab-active-start::after {
4700
+ content: ' ';
4701
+ position: absolute;
4702
+ width: 50%;
4703
+ bottom: -1px;
4704
+ border-bottom: 2px solid #3498ff;
4705
+ right: 0;
4706
+ }
4707
+ .rs-picker-daterange-header.rs-picker-tab-active-end::after {
4708
+ right: 50%;
4709
+ }
4679
4710
  .rs-picker-daterange-calendar-group {
4680
4711
  height: 274px;
4681
4712
  min-width: 492px;
@@ -11274,12 +11305,40 @@ textarea.rs-inline-edit-sm .rs-plaintext {
11274
11305
  background: var(--rs-bg-card);
11275
11306
  position: absolute;
11276
11307
  }
11277
- .rs-placeholder-paragraph-rows {
11308
+ .rs-placeholder-paragraph-group {
11278
11309
  width: 100%;
11279
11310
  }
11280
- .rs-placeholder-paragraph-rows > p {
11311
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(9) {
11312
+ width: 75%;
11313
+ }
11314
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(8) {
11315
+ width: 60%;
11316
+ }
11317
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(7) {
11318
+ width: 85%;
11319
+ }
11320
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(6) {
11321
+ width: 70%;
11322
+ }
11323
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(5) {
11324
+ width: 90%;
11325
+ }
11326
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(4) {
11327
+ width: 65%;
11328
+ }
11329
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(3) {
11330
+ width: 80%;
11331
+ }
11332
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(2) {
11333
+ width: 50%;
11334
+ }
11335
+ .rs-placeholder-paragraph .rs-placeholder-row:nth-child(1) {
11336
+ width: 100%;
11337
+ }
11338
+ .rs-placeholder-row {
11281
11339
  background-color: #f2f2f5;
11282
11340
  background-color: var(--rs-placeholder);
11341
+ width: 100%;
11283
11342
  }
11284
11343
  .rs-placeholder-grid-col {
11285
11344
  -webkit-box-flex: 1;
@@ -11296,15 +11355,23 @@ textarea.rs-inline-edit-sm .rs-plaintext {
11296
11355
  -ms-flex-align: end;
11297
11356
  align-items: flex-end;
11298
11357
  }
11299
- .rs-placeholder-grid-col > p {
11300
- background-color: #f2f2f5;
11301
- background-color: var(--rs-placeholder);
11302
- }
11303
11358
  .rs-placeholder-grid-col:first-child {
11304
11359
  -webkit-box-align: start;
11305
11360
  -ms-flex-align: start;
11306
11361
  align-items: flex-start;
11307
11362
  }
11363
+ .rs-placeholder-grid-col .rs-placeholder-row {
11364
+ width: 30%;
11365
+ }
11366
+ .rs-placeholder-grid-col .rs-placeholder-row:nth-child(3) {
11367
+ width: 35%;
11368
+ }
11369
+ .rs-placeholder-grid-col .rs-placeholder-row:nth-child(2) {
11370
+ width: 25%;
11371
+ }
11372
+ .rs-placeholder-grid-col .rs-placeholder-row:nth-child(1) {
11373
+ width: 50%;
11374
+ }
11308
11375
  .rs-placeholder-graph {
11309
11376
  display: inline-block;
11310
11377
  width: 100%;
@@ -12439,6 +12506,9 @@ textarea.rs-inline-edit-sm .rs-plaintext {
12439
12506
  -webkit-transition: none;
12440
12507
  transition: none;
12441
12508
  }
12509
+ .rs-sidenav-nav .rs-dropdown-item {
12510
+ display: block;
12511
+ }
12442
12512
  .rs-sidenav-nav > .rs-sidenav-item,
12443
12513
  .rs-sidenav-nav > .rs-dropdown {
12444
12514
  margin: 0 !important;