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.js CHANGED
@@ -24649,26 +24649,25 @@ const IconContainer$2 = styled__default["default"].div`
24649
24649
  cursor: pointer;
24650
24650
  `;
24651
24651
 
24652
- const QuickFilterDropdownMultiSelection = _ref => {
24653
- let {
24654
- label,
24655
- labelEmptyValue,
24656
- options,
24657
- selectedValue,
24658
- placeHolder,
24659
- onChange,
24660
- required,
24661
- disabled,
24662
- width,
24663
- height,
24664
- error,
24665
- errorMessage,
24666
- labelColor,
24667
- xIconShow,
24668
- checkBoxColor,
24669
- showLabelOnTop,
24670
- dropdownHeight
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: ${_ref => {
36124
- let {
36125
- checked,
36126
- disabled
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
- ${_ref2 => {
36133
- let {
36134
- size
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: ${_ref3 => {
36152
- let {
36153
- disabled
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
- ${_ref4 => {
36160
- let {
36161
- size
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: ${_ref5 => {
36173
- let {
36174
- checked,
36175
- size
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;