sag_components 2.0.0-beta255 → 2.0.0-beta257

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
@@ -35673,14 +35673,15 @@ const MainContainer = styled__default["default"].div`
35673
35673
  justify-content: flex-start;
35674
35674
  align-items: flex-start;
35675
35675
  width: ${props => props.width || '300px'};
35676
+ min-width: ${props => props.width || 'unset'};
35676
35677
  height: ${props => props.height || '45px'};
35678
+ min-height: ${props => props.multiline ? '80px' : 'auto'};
35677
35679
  font-family: "Poppins", sans-serif;
35678
35680
  font-weight: 400;
35679
35681
  font-size: 14px;
35680
35682
  border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35681
35683
  padding: 0;
35682
35684
  cursor: ${props => props.disabled ? 'not-allowed' : 'default'};
35683
- min-height: ${props => props.multiline ? '80px' : 'auto'};
35684
35685
  `;
35685
35686
  const Label$3 = styled__default["default"].label`
35686
35687
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
@@ -36120,19 +36121,15 @@ const ToggleInput = styled__default["default"].input`
36120
36121
  const ToggleSlider = styled__default["default"].span`
36121
36122
  display: block;
36122
36123
  position: relative;
36123
- background: ${_ref => {
36124
- let {
36125
- checked,
36126
- disabled
36127
- } = _ref;
36128
- return checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0";
36129
- }};
36124
+ background: ${({
36125
+ checked,
36126
+ disabled
36127
+ }) => checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0"};
36130
36128
  border-radius: 999px;
36131
36129
  transition: background 0.2s;
36132
- ${_ref2 => {
36133
- let {
36134
- size
36135
- } = _ref2;
36130
+ ${({
36131
+ size
36132
+ }) => {
36136
36133
  switch (size) {
36137
36134
  case "s":
36138
36135
  return styled.css`width: 40px; height: 20px;`;
@@ -36148,18 +36145,14 @@ const ToggleSlider = styled__default["default"].span`
36148
36145
  left: 3px;
36149
36146
  top: 50%;
36150
36147
  transform: translateY(-50%);
36151
- background: ${_ref3 => {
36152
- let {
36153
- disabled
36154
- } = _ref3;
36155
- return disabled ? "#D0D0D0" : "#fff";
36156
- }};
36148
+ background: ${({
36149
+ disabled
36150
+ }) => disabled ? "#D0D0D0" : "#fff"};
36157
36151
  border-radius: 50%;
36158
36152
  transition: left 0.2s, width 0.2s, height 0.2s;
36159
- ${_ref4 => {
36160
- let {
36161
- size
36162
- } = _ref4;
36153
+ ${({
36154
+ size
36155
+ }) => {
36163
36156
  switch (size) {
36164
36157
  case "s":
36165
36158
  return styled.css`width: 14px; height: 14px;`;
@@ -36169,11 +36162,10 @@ const ToggleSlider = styled__default["default"].span`
36169
36162
  return styled.css`width: 20px; height: 20px;`;
36170
36163
  }
36171
36164
  }}
36172
- left: ${_ref5 => {
36173
- let {
36174
- checked,
36175
- size
36176
- } = _ref5;
36165
+ left: ${({
36166
+ checked,
36167
+ size
36168
+ }) => {
36177
36169
  if (!checked) return "3px";
36178
36170
  switch (size) {
36179
36171
  case "s":
@@ -42059,6 +42051,7 @@ const EditableCell = styled__default["default"].div`
42059
42051
  display: flex;
42060
42052
  gap: 10px;
42061
42053
  align-items: center;
42054
+ justify-content: end;
42062
42055
  `;
42063
42056
  const PencilButton = styled__default["default"].button`
42064
42057
  display: flex;