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.js CHANGED
@@ -9299,7 +9299,7 @@ const Label$7 = styled__default["default"].label`
9299
9299
  position: absolute;
9300
9300
  top: ${props => {
9301
9301
  const height = parseInt(props.height.replace('px', ''), 10);
9302
- return props.isFocused || props.hasValue ? '0px' : `${height / 2}px`;
9302
+ return props.isFocused || props.hasValue ? '0px' : `${height / 2 - 4}px`;
9303
9303
  }};
9304
9304
  left: ${props => props.isFocused || props.hasValue ? '23px' : '10px'};
9305
9305
  font-family: Poppins;
@@ -9472,6 +9472,7 @@ const DropdownMultiNew = ({
9472
9472
  required,
9473
9473
  disabled,
9474
9474
  width,
9475
+ height,
9475
9476
  withMarginBottom = true,
9476
9477
  error,
9477
9478
  errorMessage,
@@ -10590,23 +10591,24 @@ const QuarterPopupPicker = ({
10590
10591
  };
10591
10592
 
10592
10593
  /* 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
- }) => {
10594
+ const QuarterPicker = _ref => {
10595
+ let {
10596
+ availableQuarters,
10597
+ // ["Q1-2024"]
10598
+ label,
10599
+ onChange,
10600
+ borderRadius,
10601
+ required,
10602
+ width,
10603
+ height,
10604
+ placeholder,
10605
+ disabled,
10606
+ borderColor,
10607
+ borderColorFocus,
10608
+ textColor,
10609
+ selectedValue,
10610
+ startYear
10611
+ } = _ref;
10610
10612
  const [isFocused, setIsFocused] = React$1.useState(false);
10611
10613
  const [isOpen, setIsOpen] = React$1.useState(false);
10612
10614
  const [value, setValue] = React$1.useState('');
@@ -11048,22 +11050,23 @@ const MonthPopupPicker = ({
11048
11050
  };
11049
11051
 
11050
11052
  /* 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
- }) => {
11053
+ const MonthPicker = _ref => {
11054
+ let {
11055
+ availableMonths,
11056
+ label,
11057
+ onChange,
11058
+ borderRadius,
11059
+ required,
11060
+ width,
11061
+ height,
11062
+ placeholder,
11063
+ disabled,
11064
+ borderColor,
11065
+ borderColorFocus,
11066
+ textColor,
11067
+ selectedValue,
11068
+ startYear
11069
+ } = _ref;
11067
11070
  const [isFocused, setIsFocused] = React$1.useState(false);
11068
11071
  const [isOpen, setIsOpen] = React$1.useState(false);
11069
11072
  const [value, setValue] = React$1.useState('');
@@ -12263,13 +12266,16 @@ const Td$1 = styled__default["default"].td`
12263
12266
  `;
12264
12267
  const Tr = styled__default["default"].tr`
12265
12268
  border-bottom: 1px solid #f3f4f6;
12266
- ${({
12267
- enableHover,
12268
- selectHoverColor
12269
- }) => enableHover && `&:hover {
12269
+ ${_ref => {
12270
+ let {
12271
+ enableHover,
12272
+ selectHoverColor
12273
+ } = _ref;
12274
+ return enableHover && `&:hover {
12270
12275
  background-color: ${selectHoverColor};
12271
12276
  cursor: pointer;
12272
- }`}
12277
+ }`;
12278
+ }}
12273
12279
  `;
12274
12280
  const InfoText = styled__default["default"].div`
12275
12281
  font-weight: 400;
@@ -24171,22 +24177,21 @@ const DeleteIcon = styled__default["default"].div`
24171
24177
  position: absolute;
24172
24178
  `;
24173
24179
 
24174
- const QuickFilterDropdownSingle = _ref => {
24175
- let {
24176
- label,
24177
- hoverColor,
24178
- options,
24179
- selectedValue,
24180
- placeHolder,
24181
- onChange,
24182
- disabled,
24183
- width,
24184
- error,
24185
- errorMessage,
24186
- xIconShow,
24187
- labelColor,
24188
- showLabelOnTop
24189
- } = _ref;
24180
+ const QuickFilterDropdownSingle = ({
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
+ }) => {
24190
24195
  const [isFocused, setIsFocused] = React$1.useState(false);
24191
24196
  const [showOptions, setShowOptions] = React$1.useState(false);
24192
24197
  const [inputValue, setInputValue] = React$1.useState("");
@@ -24643,26 +24648,25 @@ const IconContainer$2 = styled__default["default"].div`
24643
24648
  cursor: pointer;
24644
24649
  `;
24645
24650
 
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;
24651
+ const QuickFilterDropdownMultiSelection = ({
24652
+ label,
24653
+ labelEmptyValue,
24654
+ options,
24655
+ selectedValue,
24656
+ placeHolder,
24657
+ onChange,
24658
+ required,
24659
+ disabled,
24660
+ width,
24661
+ height,
24662
+ error,
24663
+ errorMessage,
24664
+ labelColor,
24665
+ xIconShow,
24666
+ checkBoxColor,
24667
+ showLabelOnTop,
24668
+ dropdownHeight
24669
+ }) => {
24666
24670
  const [isFocused, setIsFocused] = React$1.useState(false);
24667
24671
  const [showOptions, setShowOptions] = React$1.useState(false);
24668
24672
  const [inputValue, setInputValue] = React$1.useState('');