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.esm.js CHANGED
@@ -35663,14 +35663,15 @@ const MainContainer = styled.div`
35663
35663
  justify-content: flex-start;
35664
35664
  align-items: flex-start;
35665
35665
  width: ${props => props.width || '300px'};
35666
+ min-width: ${props => props.width || 'unset'};
35666
35667
  height: ${props => props.height || '45px'};
35668
+ min-height: ${props => props.multiline ? '80px' : 'auto'};
35667
35669
  font-family: "Poppins", sans-serif;
35668
35670
  font-weight: 400;
35669
35671
  font-size: 14px;
35670
35672
  border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35671
35673
  padding: 0;
35672
35674
  cursor: ${props => props.disabled ? 'not-allowed' : 'default'};
35673
- min-height: ${props => props.multiline ? '80px' : 'auto'};
35674
35675
  `;
35675
35676
  const Label$3 = styled.label`
35676
35677
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
@@ -36110,19 +36111,15 @@ const ToggleInput = styled.input`
36110
36111
  const ToggleSlider = styled.span`
36111
36112
  display: block;
36112
36113
  position: relative;
36113
- background: ${_ref => {
36114
- let {
36115
- checked,
36116
- disabled
36117
- } = _ref;
36118
- return checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0";
36119
- }};
36114
+ background: ${({
36115
+ checked,
36116
+ disabled
36117
+ }) => checked ? "#006d6a" : disabled ? "#B1B1B1" : "#D0D0D0"};
36120
36118
  border-radius: 999px;
36121
36119
  transition: background 0.2s;
36122
- ${_ref2 => {
36123
- let {
36124
- size
36125
- } = _ref2;
36120
+ ${({
36121
+ size
36122
+ }) => {
36126
36123
  switch (size) {
36127
36124
  case "s":
36128
36125
  return css`width: 40px; height: 20px;`;
@@ -36138,18 +36135,14 @@ const ToggleSlider = styled.span`
36138
36135
  left: 3px;
36139
36136
  top: 50%;
36140
36137
  transform: translateY(-50%);
36141
- background: ${_ref3 => {
36142
- let {
36143
- disabled
36144
- } = _ref3;
36145
- return disabled ? "#D0D0D0" : "#fff";
36146
- }};
36138
+ background: ${({
36139
+ disabled
36140
+ }) => disabled ? "#D0D0D0" : "#fff"};
36147
36141
  border-radius: 50%;
36148
36142
  transition: left 0.2s, width 0.2s, height 0.2s;
36149
- ${_ref4 => {
36150
- let {
36151
- size
36152
- } = _ref4;
36143
+ ${({
36144
+ size
36145
+ }) => {
36153
36146
  switch (size) {
36154
36147
  case "s":
36155
36148
  return css`width: 14px; height: 14px;`;
@@ -36159,11 +36152,10 @@ const ToggleSlider = styled.span`
36159
36152
  return css`width: 20px; height: 20px;`;
36160
36153
  }
36161
36154
  }}
36162
- left: ${_ref5 => {
36163
- let {
36164
- checked,
36165
- size
36166
- } = _ref5;
36155
+ left: ${({
36156
+ checked,
36157
+ size
36158
+ }) => {
36167
36159
  if (!checked) return "3px";
36168
36160
  switch (size) {
36169
36161
  case "s":
@@ -42049,6 +42041,7 @@ const EditableCell = styled.div`
42049
42041
  display: flex;
42050
42042
  gap: 10px;
42051
42043
  align-items: center;
42044
+ justify-content: end;
42052
42045
  `;
42053
42046
  const PencilButton = styled.button`
42054
42047
  display: flex;