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.js CHANGED
@@ -8940,28 +8940,27 @@ const IconContainer$5 = styled__default["default"].div`
8940
8940
  cursor: pointer;
8941
8941
  `;
8942
8942
 
8943
- const DropdownSingleNew = _ref => {
8944
- let {
8945
- label,
8946
- labelEmptyValue,
8947
- options,
8948
- selectedValue,
8949
- onChange,
8950
- required,
8951
- disabled,
8952
- width,
8953
- height,
8954
- minHeight,
8955
- withMarginBottom = true,
8956
- error,
8957
- errorMessage,
8958
- xIconShow,
8959
- labelColor,
8960
- showLabelOnTop,
8961
- orderBy,
8962
- placeHolder = "",
8963
- elementType
8964
- } = _ref;
8943
+ const DropdownSingleNew = ({
8944
+ label,
8945
+ labelEmptyValue,
8946
+ options,
8947
+ selectedValue,
8948
+ onChange,
8949
+ required,
8950
+ disabled,
8951
+ width,
8952
+ height,
8953
+ minHeight,
8954
+ withMarginBottom = true,
8955
+ error,
8956
+ errorMessage,
8957
+ xIconShow,
8958
+ labelColor,
8959
+ showLabelOnTop,
8960
+ orderBy,
8961
+ placeHolder = "",
8962
+ elementType
8963
+ }) => {
8965
8964
  const [isFocused, setIsFocused] = React$1.useState(false);
8966
8965
  const [showOptions, setShowOptions] = React$1.useState(false);
8967
8966
  const [showAbove, setShowAbove] = React$1.useState(false);
@@ -34986,18 +34985,17 @@ styled.css`
34986
34985
  * • onApply(start,end) — callback, both numbers (inclusive)
34987
34986
  * • onCancel() — callback
34988
34987
  */
34989
- const WeeksCalendar = _ref => {
34990
- let {
34991
- year,
34992
- defaultStartWeek = null,
34993
- defaultEndWeek = null,
34994
- backgroundColor = "#066768",
34995
- hoverBackgroundColor = "#E6F0F0",
34996
- allowedWeekRange = null,
34997
- // New prop for range restriction
34998
- onApply,
34999
- onCancel
35000
- } = _ref;
34988
+ const WeeksCalendar = ({
34989
+ year,
34990
+ defaultStartWeek = null,
34991
+ defaultEndWeek = null,
34992
+ backgroundColor = "#066768",
34993
+ hoverBackgroundColor = "#E6F0F0",
34994
+ allowedWeekRange = null,
34995
+ // New prop for range restriction
34996
+ onApply,
34997
+ onCancel
34998
+ }) => {
35001
34999
  // state -------------------------------------------------
35002
35000
  const [startWeek, setStartWeek] = React$1.useState(defaultStartWeek);
35003
35001
  const [endWeek, setEndWeek] = React$1.useState(defaultEndWeek);
@@ -57461,7 +57459,7 @@ const scrollableStyles = `
57461
57459
  }
57462
57460
  `;
57463
57461
  const TooltipWrapper = styled__default["default"](Tooltip$2)`
57464
- max-width: 100%;
57462
+ width: 100%;
57465
57463
  `;
57466
57464
  const DropdownContainer = styled__default["default"].div`
57467
57465
  position: relative;