sag_components 2.0.0-beta196 → 2.0.0-beta197

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
@@ -35023,28 +35023,22 @@ const StyledInput$1 = styled.input`
35023
35023
  box-sizing: border-box;
35024
35024
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
35025
35025
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
35026
-
35027
- &:disabled {
35028
- background-color: #f5f5f5;
35029
- cursor: not-allowed;
35030
- }
35031
35026
  `;
35032
35027
  const StyledLabel = styled.label`
35033
35028
  font-size: 14px;
35029
+ /* width: ${props => props.isFocused || props.hasValue ? 'auto' : '150px'}; */
35034
35030
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.hasValue ? props.borderColorFocus : '#757575') || '#333'};
35035
35031
  position: absolute;
35036
35032
  top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
35037
35033
  left: 15px;
35038
35034
  background-color: ${props => props.isFocused || props.hasValue ? 'white' : 'transparent'};
35039
35035
  transform: translateY(-50%);
35040
- transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
35036
+ transition: top 0.3s ease, font-size 0.3s ease;
35041
35037
  display: flex;
35042
35038
  font-weight: 400;
35043
35039
  align-items: center;
35044
35040
  box-sizing: border-box;
35045
- cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35046
- padding: 0 4px;
35047
- z-index: 1;
35041
+ cursor: pointer;
35048
35042
  `;
35049
35043
  const RequiredIndicator = styled.span`
35050
35044
  color: red;
@@ -35060,13 +35054,9 @@ const OptionsContainer = styled.div`
35060
35054
  z-index: 999;
35061
35055
  ${props => props.showAbove ? `
35062
35056
  bottom: 100%;
35063
- margin-bottom: 4px;
35064
35057
  ` : `
35065
35058
  top: 100%;
35066
- margin-top: 4px;
35067
35059
  `}
35068
- left: 0;
35069
- right: 0;
35070
35060
  `;
35071
35061
  const InputContainer$1 = styled.div`
35072
35062
  display: flex;
@@ -35079,22 +35069,20 @@ const InputContainer$1 = styled.div`
35079
35069
  width: 100%;
35080
35070
  height: 100%;
35081
35071
  box-sizing: border-box;
35082
- background-color: ${props => props.disabled ? '#f5f5f5' : 'transparent'};
35083
- border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
35072
+ background-color: transparent;
35073
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
35084
35074
  font-weight: 400;
35085
35075
  font-size: 14px;
35086
35076
  border-radius: 12px;
35087
35077
  outline: none;
35088
35078
  color: ${props => props.disabled ? '#888' : '#212121'};
35089
- position: relative;
35090
- transition: border-color 0.3s ease, background-color 0.3s ease;
35091
35079
 
35092
35080
  &:hover {
35093
35081
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
35094
35082
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35095
35083
  }
35096
35084
 
35097
- &:focus-within {
35085
+ &:focus {
35098
35086
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
35099
35087
  }
35100
35088
  `;
@@ -35104,11 +35092,6 @@ const CalendarDiv = styled.div`
35104
35092
  right: 10px;
35105
35093
  display: flex;
35106
35094
  align-items: center;
35107
- cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35108
-
35109
- svg {
35110
- transition: fill 0.3s ease;
35111
- }
35112
35095
  `;
35113
35096
 
35114
35097
  // src/components/WeeksPicker/WeeksPicker.jsx