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.esm.js CHANGED
@@ -34708,7 +34708,7 @@ const Modal = styled.div`
34708
34708
  display: flex;
34709
34709
  gap: 20px;
34710
34710
  padding: 20px;
34711
- margin-top: -30px;
34711
+ margin-top: 10px;
34712
34712
  flex-direction: column;
34713
34713
  background-color: white;
34714
34714
  border-radius: 12px;
@@ -34992,18 +34992,17 @@ css`
34992
34992
  * • onApply(start,end) — callback, both numbers (inclusive)
34993
34993
  * • onCancel() — callback
34994
34994
  */
34995
- const WeeksCalendar = _ref => {
34996
- let {
34997
- year,
34998
- defaultStartWeek = null,
34999
- defaultEndWeek = null,
35000
- backgroundColor = "#066768",
35001
- hoverBackgroundColor = "#E6F0F0",
35002
- allowedWeekRange = null,
35003
- // New prop for range restriction
35004
- onApply,
35005
- onCancel
35006
- } = _ref;
34995
+ const WeeksCalendar = ({
34996
+ year,
34997
+ defaultStartWeek = null,
34998
+ defaultEndWeek = null,
34999
+ backgroundColor = "#066768",
35000
+ hoverBackgroundColor = "#E6F0F0",
35001
+ allowedWeekRange = null,
35002
+ // New prop for range restriction
35003
+ onApply,
35004
+ onCancel
35005
+ }) => {
35007
35006
  // state -------------------------------------------------
35008
35007
  const [startWeek, setStartWeek] = useState(defaultStartWeek);
35009
35008
  const [endWeek, setEndWeek] = useState(defaultEndWeek);