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
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
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
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
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
|
-
|
|
12268
|
-
|
|
12269
|
-
|
|
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 =
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
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 =
|
|
24647
|
-
|
|
24648
|
-
|
|
24649
|
-
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24657
|
-
|
|
24658
|
-
|
|
24659
|
-
|
|
24660
|
-
|
|
24661
|
-
|
|
24662
|
-
|
|
24663
|
-
|
|
24664
|
-
|
|
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('');
|