sag_components 2.0.0-beta284 → 2.0.0-beta285

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
@@ -8930,28 +8930,27 @@ const IconContainer$5 = styled.div`
8930
8930
  cursor: pointer;
8931
8931
  `;
8932
8932
 
8933
- const DropdownSingleNew = _ref => {
8934
- let {
8935
- label,
8936
- labelEmptyValue,
8937
- options,
8938
- selectedValue,
8939
- onChange,
8940
- required,
8941
- disabled,
8942
- width,
8943
- height,
8944
- minHeight,
8945
- withMarginBottom = true,
8946
- error,
8947
- errorMessage,
8948
- xIconShow,
8949
- labelColor,
8950
- showLabelOnTop,
8951
- orderBy,
8952
- placeHolder = "",
8953
- elementType
8954
- } = _ref;
8933
+ const DropdownSingleNew = ({
8934
+ label,
8935
+ labelEmptyValue,
8936
+ options,
8937
+ selectedValue,
8938
+ onChange,
8939
+ required,
8940
+ disabled,
8941
+ width,
8942
+ height,
8943
+ minHeight,
8944
+ withMarginBottom = true,
8945
+ error,
8946
+ errorMessage,
8947
+ xIconShow,
8948
+ labelColor,
8949
+ showLabelOnTop,
8950
+ orderBy,
8951
+ placeHolder = "",
8952
+ elementType
8953
+ }) => {
8955
8954
  const [isFocused, setIsFocused] = useState(false);
8956
8955
  const [showOptions, setShowOptions] = useState(false);
8957
8956
  const [showAbove, setShowAbove] = useState(false);
@@ -34976,18 +34975,17 @@ css`
34976
34975
  * • onApply(start,end) — callback, both numbers (inclusive)
34977
34976
  * • onCancel() — callback
34978
34977
  */
34979
- const WeeksCalendar = _ref => {
34980
- let {
34981
- year,
34982
- defaultStartWeek = null,
34983
- defaultEndWeek = null,
34984
- backgroundColor = "#066768",
34985
- hoverBackgroundColor = "#E6F0F0",
34986
- allowedWeekRange = null,
34987
- // New prop for range restriction
34988
- onApply,
34989
- onCancel
34990
- } = _ref;
34978
+ const WeeksCalendar = ({
34979
+ year,
34980
+ defaultStartWeek = null,
34981
+ defaultEndWeek = null,
34982
+ backgroundColor = "#066768",
34983
+ hoverBackgroundColor = "#E6F0F0",
34984
+ allowedWeekRange = null,
34985
+ // New prop for range restriction
34986
+ onApply,
34987
+ onCancel
34988
+ }) => {
34991
34989
  // state -------------------------------------------------
34992
34990
  const [startWeek, setStartWeek] = useState(defaultStartWeek);
34993
34991
  const [endWeek, setEndWeek] = useState(defaultEndWeek);
@@ -57451,7 +57449,7 @@ const scrollableStyles = `
57451
57449
  }
57452
57450
  `;
57453
57451
  const TooltipWrapper = styled(Tooltip$2)`
57454
- max-width: 100%;
57452
+ width: 100%;
57455
57453
  `;
57456
57454
  const DropdownContainer = styled.div`
57457
57455
  position: relative;