sag_components 2.0.0-beta295 → 2.0.0-beta297

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
@@ -10590,23 +10590,24 @@ const QuarterPopupPicker = ({
10590
10590
  };
10591
10591
 
10592
10592
  /* eslint-disable import/no-extraneous-dependencies */
10593
- const QuarterPicker = ({
10594
- availableQuarters,
10595
- // ["Q1-2024"]
10596
- label,
10597
- onChange,
10598
- borderRadius,
10599
- required,
10600
- width,
10601
- height,
10602
- placeholder,
10603
- disabled,
10604
- borderColor,
10605
- borderColorFocus,
10606
- textColor,
10607
- selectedValue,
10608
- startYear
10609
- }) => {
10593
+ const QuarterPicker = _ref => {
10594
+ let {
10595
+ availableQuarters,
10596
+ // ["Q1-2024"]
10597
+ label,
10598
+ onChange,
10599
+ borderRadius,
10600
+ required,
10601
+ width,
10602
+ height,
10603
+ placeholder,
10604
+ disabled,
10605
+ borderColor,
10606
+ borderColorFocus,
10607
+ textColor,
10608
+ selectedValue,
10609
+ startYear
10610
+ } = _ref;
10610
10611
  const [isFocused, setIsFocused] = useState(false);
10611
10612
  const [isOpen, setIsOpen] = useState(false);
10612
10613
  const [value, setValue] = useState('');
@@ -11048,22 +11049,23 @@ const MonthPopupPicker = ({
11048
11049
  };
11049
11050
 
11050
11051
  /* eslint-disable import/no-extraneous-dependencies */
11051
- const MonthPicker = ({
11052
- availableMonths,
11053
- label,
11054
- onChange,
11055
- borderRadius,
11056
- required,
11057
- width,
11058
- height,
11059
- placeholder,
11060
- disabled,
11061
- borderColor,
11062
- borderColorFocus,
11063
- textColor,
11064
- selectedValue,
11065
- startYear
11066
- }) => {
11052
+ const MonthPicker = _ref => {
11053
+ let {
11054
+ availableMonths,
11055
+ label,
11056
+ onChange,
11057
+ borderRadius,
11058
+ required,
11059
+ width,
11060
+ height,
11061
+ placeholder,
11062
+ disabled,
11063
+ borderColor,
11064
+ borderColorFocus,
11065
+ textColor,
11066
+ selectedValue,
11067
+ startYear
11068
+ } = _ref;
11067
11069
  const [isFocused, setIsFocused] = useState(false);
11068
11070
  const [isOpen, setIsOpen] = useState(false);
11069
11071
  const [value, setValue] = useState('');
@@ -24174,21 +24176,22 @@ const DeleteIcon = styled.div`
24174
24176
  position: absolute;
24175
24177
  `;
24176
24178
 
24177
- const QuickFilterDropdownSingle = ({
24178
- label,
24179
- hoverColor,
24180
- options,
24181
- selectedValue,
24182
- placeHolder,
24183
- onChange,
24184
- disabled,
24185
- width,
24186
- error,
24187
- errorMessage,
24188
- xIconShow,
24189
- labelColor,
24190
- showLabelOnTop
24191
- }) => {
24179
+ const QuickFilterDropdownSingle = _ref => {
24180
+ let {
24181
+ label,
24182
+ hoverColor,
24183
+ options,
24184
+ selectedValue,
24185
+ placeHolder,
24186
+ onChange,
24187
+ disabled,
24188
+ width,
24189
+ error,
24190
+ errorMessage,
24191
+ xIconShow,
24192
+ labelColor,
24193
+ showLabelOnTop
24194
+ } = _ref;
24192
24195
  const [isFocused, setIsFocused] = useState(false);
24193
24196
  const [showOptions, setShowOptions] = useState(false);
24194
24197
  const [inputValue, setInputValue] = useState("");
@@ -24640,25 +24643,26 @@ const IconContainer$2 = styled.div`
24640
24643
  cursor: pointer;
24641
24644
  `;
24642
24645
 
24643
- const QuickFilterDropdownMultiSelection = ({
24644
- label,
24645
- labelEmptyValue,
24646
- options,
24647
- selectedValue,
24648
- placeHolder,
24649
- onChange,
24650
- required,
24651
- disabled,
24652
- width,
24653
- height,
24654
- error,
24655
- errorMessage,
24656
- labelColor,
24657
- xIconShow,
24658
- checkBoxColor,
24659
- showLabelOnTop,
24660
- dropdownHeight
24661
- }) => {
24646
+ const QuickFilterDropdownMultiSelection = _ref => {
24647
+ let {
24648
+ label,
24649
+ labelEmptyValue,
24650
+ options,
24651
+ selectedValue,
24652
+ placeHolder,
24653
+ onChange,
24654
+ required,
24655
+ disabled,
24656
+ width,
24657
+ height,
24658
+ error,
24659
+ errorMessage,
24660
+ labelColor,
24661
+ xIconShow,
24662
+ checkBoxColor,
24663
+ showLabelOnTop,
24664
+ dropdownHeight
24665
+ } = _ref;
24662
24666
  const [isFocused, setIsFocused] = useState(false);
24663
24667
  const [showOptions, setShowOptions] = useState(false);
24664
24668
  const [inputValue, setInputValue] = useState('');
@@ -34988,17 +34992,18 @@ css`
34988
34992
  * • onApply(start,end) — callback, both numbers (inclusive)
34989
34993
  * • onCancel() — callback
34990
34994
  */
34991
- const WeeksCalendar = ({
34992
- year,
34993
- defaultStartWeek = null,
34994
- defaultEndWeek = null,
34995
- backgroundColor = "#066768",
34996
- hoverBackgroundColor = "#E6F0F0",
34997
- allowedWeekRange = null,
34998
- // New prop for range restriction
34999
- onApply,
35000
- onCancel
35001
- }) => {
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;
35002
35007
  // state -------------------------------------------------
35003
35008
  const [startWeek, setStartWeek] = useState(defaultStartWeek);
35004
35009
  const [endWeek, setEndWeek] = useState(defaultEndWeek);
@@ -36198,9 +36203,9 @@ const ToggleSlider = styled.span`
36198
36203
  }
36199
36204
  `;
36200
36205
 
36201
- /**
36202
- * ToggleSwitch component for on/off states.
36203
- * Supports small/large sizes and disabled state.
36206
+ /**
36207
+ * ToggleSwitch component for on/off states.
36208
+ * Supports small/large sizes and disabled state.
36204
36209
  */
36205
36210
  function ToggleSwitch(_ref) {
36206
36211
  let {
@@ -47148,7 +47153,7 @@ const Table = props => {
47148
47153
  onHeroClick = () => {},
47149
47154
  dotIndicatorColor = "#34D399",
47150
47155
  onEditableClick = () => {},
47151
- activeFilters = {},
47156
+ activeFilters = [],
47152
47157
  resetFiltersKey = 0,
47153
47158
  ref = null,
47154
47159
  titleSize,
@@ -47618,7 +47623,7 @@ const VendorSelectionTitle = styled.h5`
47618
47623
  `;
47619
47624
  const VendorBackTitle = styled.span`
47620
47625
  margin-left: 4px;
47621
- font-size: 16px;
47626
+ font-size: 14px;
47622
47627
  font-weight: 400;
47623
47628
  `;
47624
47629
  const VendorRoute = styled.div`