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 CHANGED
@@ -24639,26 +24639,25 @@ const IconContainer$2 = styled.div`
24639
24639
  cursor: pointer;
24640
24640
  `;
24641
24641
 
24642
- const QuickFilterDropdownMultiSelection = _ref => {
24643
- let {
24644
- label,
24645
- labelEmptyValue,
24646
- options,
24647
- selectedValue,
24648
- placeHolder,
24649
- onChange,
24650
- required,
24651
- disabled,
24652
- width,
24653
- height,
24654
- error,
24655
- errorMessage,
24656
- labelColor,
24657
- xIconShow,
24658
- checkBoxColor,
24659
- showLabelOnTop,
24660
- dropdownHeight
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: ${_ref => {
36114
- let {
36115
- checked,
36116
- disabled
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
- ${_ref2 => {
36123
- let {
36124
- size
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: ${_ref3 => {
36142
- let {
36143
- disabled
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
- ${_ref4 => {
36150
- let {
36151
- size
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: ${_ref5 => {
36163
- let {
36164
- checked,
36165
- size
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;