sag_components 2.0.0-beta255 → 2.0.0-beta256
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 +37 -46
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +37 -46
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -24639,26 +24639,25 @@ const IconContainer$2 = styled.div`
|
|
|
24639
24639
|
cursor: pointer;
|
|
24640
24640
|
`;
|
|
24641
24641
|
|
|
24642
|
-
const QuickFilterDropdownMultiSelection =
|
|
24643
|
-
|
|
24644
|
-
|
|
24645
|
-
|
|
24646
|
-
|
|
24647
|
-
|
|
24648
|
-
|
|
24649
|
-
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24657
|
-
|
|
24658
|
-
|
|
24659
|
-
|
|
24660
|
-
|
|
24661
|
-
} = _ref;
|
|
24642
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
24643
|
+
label,
|
|
24644
|
+
labelEmptyValue,
|
|
24645
|
+
options,
|
|
24646
|
+
selectedValue,
|
|
24647
|
+
placeHolder,
|
|
24648
|
+
onChange,
|
|
24649
|
+
required,
|
|
24650
|
+
disabled,
|
|
24651
|
+
width,
|
|
24652
|
+
height,
|
|
24653
|
+
error,
|
|
24654
|
+
errorMessage,
|
|
24655
|
+
labelColor,
|
|
24656
|
+
xIconShow,
|
|
24657
|
+
checkBoxColor,
|
|
24658
|
+
showLabelOnTop,
|
|
24659
|
+
dropdownHeight
|
|
24660
|
+
}) => {
|
|
24662
24661
|
const [isFocused, setIsFocused] = useState(false);
|
|
24663
24662
|
const [showOptions, setShowOptions] = useState(false);
|
|
24664
24663
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -36110,19 +36109,15 @@ const ToggleInput = styled.input`
|
|
|
36110
36109
|
const ToggleSlider = styled.span`
|
|
36111
36110
|
display: block;
|
|
36112
36111
|
position: relative;
|
|
36113
|
-
background: ${
|
|
36114
|
-
|
|
36115
|
-
|
|
36116
|
-
|
|
36117
|
-
} = _ref;
|
|
36118
|
-
return checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0";
|
|
36119
|
-
}};
|
|
36112
|
+
background: ${({
|
|
36113
|
+
checked,
|
|
36114
|
+
disabled
|
|
36115
|
+
}) => checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0"};
|
|
36120
36116
|
border-radius: 999px;
|
|
36121
36117
|
transition: background 0.2s;
|
|
36122
|
-
${
|
|
36123
|
-
|
|
36124
|
-
|
|
36125
|
-
} = _ref2;
|
|
36118
|
+
${({
|
|
36119
|
+
size
|
|
36120
|
+
}) => {
|
|
36126
36121
|
switch (size) {
|
|
36127
36122
|
case "s":
|
|
36128
36123
|
return css`width: 40px; height: 20px;`;
|
|
@@ -36138,18 +36133,14 @@ const ToggleSlider = styled.span`
|
|
|
36138
36133
|
left: 3px;
|
|
36139
36134
|
top: 50%;
|
|
36140
36135
|
transform: translateY(-50%);
|
|
36141
|
-
background: ${
|
|
36142
|
-
|
|
36143
|
-
|
|
36144
|
-
} = _ref3;
|
|
36145
|
-
return disabled ? "#D0D0D0" : "#fff";
|
|
36146
|
-
}};
|
|
36136
|
+
background: ${({
|
|
36137
|
+
disabled
|
|
36138
|
+
}) => disabled ? "#D0D0D0" : "#fff"};
|
|
36147
36139
|
border-radius: 50%;
|
|
36148
36140
|
transition: left 0.2s, width 0.2s, height 0.2s;
|
|
36149
|
-
${
|
|
36150
|
-
|
|
36151
|
-
|
|
36152
|
-
} = _ref4;
|
|
36141
|
+
${({
|
|
36142
|
+
size
|
|
36143
|
+
}) => {
|
|
36153
36144
|
switch (size) {
|
|
36154
36145
|
case "s":
|
|
36155
36146
|
return css`width: 14px; height: 14px;`;
|
|
@@ -36159,11 +36150,10 @@ const ToggleSlider = styled.span`
|
|
|
36159
36150
|
return css`width: 20px; height: 20px;`;
|
|
36160
36151
|
}
|
|
36161
36152
|
}}
|
|
36162
|
-
left: ${
|
|
36163
|
-
|
|
36164
|
-
|
|
36165
|
-
|
|
36166
|
-
} = _ref5;
|
|
36153
|
+
left: ${({
|
|
36154
|
+
checked,
|
|
36155
|
+
size
|
|
36156
|
+
}) => {
|
|
36167
36157
|
if (!checked) return "3px";
|
|
36168
36158
|
switch (size) {
|
|
36169
36159
|
case "s":
|
|
@@ -42049,6 +42039,7 @@ const EditableCell = styled.div`
|
|
|
42049
42039
|
display: flex;
|
|
42050
42040
|
gap: 10px;
|
|
42051
42041
|
align-items: center;
|
|
42042
|
+
justify-content: end;
|
|
42052
42043
|
`;
|
|
42053
42044
|
const PencilButton = styled.button`
|
|
42054
42045
|
display: flex;
|