sag_components 2.0.0-beta221 → 2.0.0-beta223

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
@@ -9289,7 +9289,7 @@ const Label$7 = styled.label`
9289
9289
  position: absolute;
9290
9290
  top: ${props => {
9291
9291
  const height = parseInt(props.height.replace('px', ''), 10);
9292
- return props.isFocused || props.hasValue ? '0px' : `${height / 2}px`;
9292
+ return props.isFocused || props.hasValue ? '0px' : `${height / 2 - 4}px`;
9293
9293
  }};
9294
9294
  left: ${props => props.isFocused || props.hasValue ? '23px' : '10px'};
9295
9295
  font-family: Poppins;
@@ -9462,6 +9462,7 @@ const DropdownMultiNew = ({
9462
9462
  required,
9463
9463
  disabled,
9464
9464
  width,
9465
+ height,
9465
9466
  withMarginBottom = true,
9466
9467
  error,
9467
9468
  errorMessage,
@@ -10580,23 +10581,24 @@ const QuarterPopupPicker = ({
10580
10581
  };
10581
10582
 
10582
10583
  /* eslint-disable import/no-extraneous-dependencies */
10583
- const QuarterPicker = ({
10584
- availableQuarters,
10585
- // ["Q1-2024"]
10586
- label,
10587
- onChange,
10588
- borderRadius,
10589
- required,
10590
- width,
10591
- height,
10592
- placeholder,
10593
- disabled,
10594
- borderColor,
10595
- borderColorFocus,
10596
- textColor,
10597
- selectedValue,
10598
- startYear
10599
- }) => {
10584
+ const QuarterPicker = _ref => {
10585
+ let {
10586
+ availableQuarters,
10587
+ // ["Q1-2024"]
10588
+ label,
10589
+ onChange,
10590
+ borderRadius,
10591
+ required,
10592
+ width,
10593
+ height,
10594
+ placeholder,
10595
+ disabled,
10596
+ borderColor,
10597
+ borderColorFocus,
10598
+ textColor,
10599
+ selectedValue,
10600
+ startYear
10601
+ } = _ref;
10600
10602
  const [isFocused, setIsFocused] = useState(false);
10601
10603
  const [isOpen, setIsOpen] = useState(false);
10602
10604
  const [value, setValue] = useState('');
@@ -11038,22 +11040,23 @@ const MonthPopupPicker = ({
11038
11040
  };
11039
11041
 
11040
11042
  /* eslint-disable import/no-extraneous-dependencies */
11041
- const MonthPicker = ({
11042
- availableMonths,
11043
- label,
11044
- onChange,
11045
- borderRadius,
11046
- required,
11047
- width,
11048
- height,
11049
- placeholder,
11050
- disabled,
11051
- borderColor,
11052
- borderColorFocus,
11053
- textColor,
11054
- selectedValue,
11055
- startYear
11056
- }) => {
11043
+ const MonthPicker = _ref => {
11044
+ let {
11045
+ availableMonths,
11046
+ label,
11047
+ onChange,
11048
+ borderRadius,
11049
+ required,
11050
+ width,
11051
+ height,
11052
+ placeholder,
11053
+ disabled,
11054
+ borderColor,
11055
+ borderColorFocus,
11056
+ textColor,
11057
+ selectedValue,
11058
+ startYear
11059
+ } = _ref;
11057
11060
  const [isFocused, setIsFocused] = useState(false);
11058
11061
  const [isOpen, setIsOpen] = useState(false);
11059
11062
  const [value, setValue] = useState('');
@@ -12253,13 +12256,16 @@ const Td$1 = styled.td`
12253
12256
  `;
12254
12257
  const Tr = styled.tr`
12255
12258
  border-bottom: 1px solid #f3f4f6;
12256
- ${({
12257
- enableHover,
12258
- selectHoverColor
12259
- }) => enableHover && `&:hover {
12259
+ ${_ref => {
12260
+ let {
12261
+ enableHover,
12262
+ selectHoverColor
12263
+ } = _ref;
12264
+ return enableHover && `&:hover {
12260
12265
  background-color: ${selectHoverColor};
12261
12266
  cursor: pointer;
12262
- }`}
12267
+ }`;
12268
+ }}
12263
12269
  `;
12264
12270
  const InfoText = styled.div`
12265
12271
  font-weight: 400;
@@ -24161,22 +24167,21 @@ const DeleteIcon = styled.div`
24161
24167
  position: absolute;
24162
24168
  `;
24163
24169
 
24164
- const QuickFilterDropdownSingle = _ref => {
24165
- let {
24166
- label,
24167
- hoverColor,
24168
- options,
24169
- selectedValue,
24170
- placeHolder,
24171
- onChange,
24172
- disabled,
24173
- width,
24174
- error,
24175
- errorMessage,
24176
- xIconShow,
24177
- labelColor,
24178
- showLabelOnTop
24179
- } = _ref;
24170
+ const QuickFilterDropdownSingle = ({
24171
+ label,
24172
+ hoverColor,
24173
+ options,
24174
+ selectedValue,
24175
+ placeHolder,
24176
+ onChange,
24177
+ disabled,
24178
+ width,
24179
+ error,
24180
+ errorMessage,
24181
+ xIconShow,
24182
+ labelColor,
24183
+ showLabelOnTop
24184
+ }) => {
24180
24185
  const [isFocused, setIsFocused] = useState(false);
24181
24186
  const [showOptions, setShowOptions] = useState(false);
24182
24187
  const [inputValue, setInputValue] = useState("");
@@ -24633,26 +24638,25 @@ const IconContainer$2 = styled.div`
24633
24638
  cursor: pointer;
24634
24639
  `;
24635
24640
 
24636
- const QuickFilterDropdownMultiSelection = _ref => {
24637
- let {
24638
- label,
24639
- labelEmptyValue,
24640
- options,
24641
- selectedValue,
24642
- placeHolder,
24643
- onChange,
24644
- required,
24645
- disabled,
24646
- width,
24647
- height,
24648
- error,
24649
- errorMessage,
24650
- labelColor,
24651
- xIconShow,
24652
- checkBoxColor,
24653
- showLabelOnTop,
24654
- dropdownHeight
24655
- } = _ref;
24641
+ const QuickFilterDropdownMultiSelection = ({
24642
+ label,
24643
+ labelEmptyValue,
24644
+ options,
24645
+ selectedValue,
24646
+ placeHolder,
24647
+ onChange,
24648
+ required,
24649
+ disabled,
24650
+ width,
24651
+ height,
24652
+ error,
24653
+ errorMessage,
24654
+ labelColor,
24655
+ xIconShow,
24656
+ checkBoxColor,
24657
+ showLabelOnTop,
24658
+ dropdownHeight
24659
+ }) => {
24656
24660
  const [isFocused, setIsFocused] = useState(false);
24657
24661
  const [showOptions, setShowOptions] = useState(false);
24658
24662
  const [inputValue, setInputValue] = useState('');