sag_components 2.0.0-beta297 → 2.0.0-beta298

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/dist/index.js CHANGED
@@ -34718,7 +34718,7 @@ const Modal = styled__default["default"].div`
34718
34718
  display: flex;
34719
34719
  gap: 20px;
34720
34720
  padding: 20px;
34721
- margin-top: -30px;
34721
+ margin-top: 10px;
34722
34722
  flex-direction: column;
34723
34723
  background-color: white;
34724
34724
  border-radius: 12px;
@@ -35002,18 +35002,17 @@ styled.css`
35002
35002
  * • onApply(start,end) — callback, both numbers (inclusive)
35003
35003
  * • onCancel() — callback
35004
35004
  */
35005
- const WeeksCalendar = _ref => {
35006
- let {
35007
- year,
35008
- defaultStartWeek = null,
35009
- defaultEndWeek = null,
35010
- backgroundColor = "#066768",
35011
- hoverBackgroundColor = "#E6F0F0",
35012
- allowedWeekRange = null,
35013
- // New prop for range restriction
35014
- onApply,
35015
- onCancel
35016
- } = _ref;
35005
+ const WeeksCalendar = ({
35006
+ year,
35007
+ defaultStartWeek = null,
35008
+ defaultEndWeek = null,
35009
+ backgroundColor = "#066768",
35010
+ hoverBackgroundColor = "#E6F0F0",
35011
+ allowedWeekRange = null,
35012
+ // New prop for range restriction
35013
+ onApply,
35014
+ onCancel
35015
+ }) => {
35017
35016
  // state -------------------------------------------------
35018
35017
  const [startWeek, setStartWeek] = React$1.useState(defaultStartWeek);
35019
35018
  const [endWeek, setEndWeek] = React$1.useState(defaultEndWeek);