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.js
CHANGED
|
@@ -24649,26 +24649,25 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24649
24649
|
cursor: pointer;
|
|
24650
24650
|
`;
|
|
24651
24651
|
|
|
24652
|
-
const QuickFilterDropdownMultiSelection =
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24657
|
-
|
|
24658
|
-
|
|
24659
|
-
|
|
24660
|
-
|
|
24661
|
-
|
|
24662
|
-
|
|
24663
|
-
|
|
24664
|
-
|
|
24665
|
-
|
|
24666
|
-
|
|
24667
|
-
|
|
24668
|
-
|
|
24669
|
-
|
|
24670
|
-
|
|
24671
|
-
} = _ref;
|
|
24652
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
24653
|
+
label,
|
|
24654
|
+
labelEmptyValue,
|
|
24655
|
+
options,
|
|
24656
|
+
selectedValue,
|
|
24657
|
+
placeHolder,
|
|
24658
|
+
onChange,
|
|
24659
|
+
required,
|
|
24660
|
+
disabled,
|
|
24661
|
+
width,
|
|
24662
|
+
height,
|
|
24663
|
+
error,
|
|
24664
|
+
errorMessage,
|
|
24665
|
+
labelColor,
|
|
24666
|
+
xIconShow,
|
|
24667
|
+
checkBoxColor,
|
|
24668
|
+
showLabelOnTop,
|
|
24669
|
+
dropdownHeight
|
|
24670
|
+
}) => {
|
|
24672
24671
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24673
24672
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24674
24673
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -36120,19 +36119,15 @@ const ToggleInput = styled__default["default"].input`
|
|
|
36120
36119
|
const ToggleSlider = styled__default["default"].span`
|
|
36121
36120
|
display: block;
|
|
36122
36121
|
position: relative;
|
|
36123
|
-
background: ${
|
|
36124
|
-
|
|
36125
|
-
|
|
36126
|
-
|
|
36127
|
-
} = _ref;
|
|
36128
|
-
return checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0";
|
|
36129
|
-
}};
|
|
36122
|
+
background: ${({
|
|
36123
|
+
checked,
|
|
36124
|
+
disabled
|
|
36125
|
+
}) => checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0"};
|
|
36130
36126
|
border-radius: 999px;
|
|
36131
36127
|
transition: background 0.2s;
|
|
36132
|
-
${
|
|
36133
|
-
|
|
36134
|
-
|
|
36135
|
-
} = _ref2;
|
|
36128
|
+
${({
|
|
36129
|
+
size
|
|
36130
|
+
}) => {
|
|
36136
36131
|
switch (size) {
|
|
36137
36132
|
case "s":
|
|
36138
36133
|
return styled.css`width: 40px; height: 20px;`;
|
|
@@ -36148,18 +36143,14 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
36148
36143
|
left: 3px;
|
|
36149
36144
|
top: 50%;
|
|
36150
36145
|
transform: translateY(-50%);
|
|
36151
|
-
background: ${
|
|
36152
|
-
|
|
36153
|
-
|
|
36154
|
-
} = _ref3;
|
|
36155
|
-
return disabled ? "#D0D0D0" : "#fff";
|
|
36156
|
-
}};
|
|
36146
|
+
background: ${({
|
|
36147
|
+
disabled
|
|
36148
|
+
}) => disabled ? "#D0D0D0" : "#fff"};
|
|
36157
36149
|
border-radius: 50%;
|
|
36158
36150
|
transition: left 0.2s, width 0.2s, height 0.2s;
|
|
36159
|
-
${
|
|
36160
|
-
|
|
36161
|
-
|
|
36162
|
-
} = _ref4;
|
|
36151
|
+
${({
|
|
36152
|
+
size
|
|
36153
|
+
}) => {
|
|
36163
36154
|
switch (size) {
|
|
36164
36155
|
case "s":
|
|
36165
36156
|
return styled.css`width: 14px; height: 14px;`;
|
|
@@ -36169,11 +36160,10 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
36169
36160
|
return styled.css`width: 20px; height: 20px;`;
|
|
36170
36161
|
}
|
|
36171
36162
|
}}
|
|
36172
|
-
left: ${
|
|
36173
|
-
|
|
36174
|
-
|
|
36175
|
-
|
|
36176
|
-
} = _ref5;
|
|
36163
|
+
left: ${({
|
|
36164
|
+
checked,
|
|
36165
|
+
size
|
|
36166
|
+
}) => {
|
|
36177
36167
|
if (!checked) return "3px";
|
|
36178
36168
|
switch (size) {
|
|
36179
36169
|
case "s":
|
|
@@ -42059,6 +42049,7 @@ const EditableCell = styled__default["default"].div`
|
|
|
42059
42049
|
display: flex;
|
|
42060
42050
|
gap: 10px;
|
|
42061
42051
|
align-items: center;
|
|
42052
|
+
justify-content: end;
|
|
42062
42053
|
`;
|
|
42063
42054
|
const PencilButton = styled__default["default"].button`
|
|
42064
42055
|
display: flex;
|