sag_components 1.0.537 → 1.0.540

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.
@@ -77,7 +77,6 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
77
77
  // defines shape: squire or round
78
78
  const getTextFieldStyle = () => {
79
79
  if (shape === 'round') {
80
- // round
81
80
  return {
82
81
  '& .MuiOutlinedInput-root': {
83
82
  width: {
@@ -94,38 +93,34 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
94
93
  marginLeft: '6px'
95
94
  },
96
95
  alignItems: multiline ? 'flex-start' : 'center',
96
+ '& .MuiAutocomplete-inputRoot': {
97
+ paddingLeft: '10px !important',
98
+ borderRadius: '12px'
99
+ },
100
+ '& .MuiInputLabel-shrink': {
101
+ marginLeft: '1px',
102
+ paddingLeft: '4px',
103
+ paddingRight: 0,
104
+ background: 'white',
105
+ paddingTop: 0
106
+ },
107
+ '& .MuiInputLabel-root': {
108
+ fontFamily: 'Poppins'
109
+ },
110
+ '& .MuiInputBase-inputSizeSmall': {
111
+ fontFamily: 'Poppins'
112
+ },
97
113
  '&.Mui-focused fieldset': {
98
- borderColor: outlineColor // Change outline color when focused
114
+ borderColor: outlineColor
99
115
  }
100
- // '&.Mui-error .MuiOutlinedInput-notchedOutline': {
101
- // borderColor: '#D23630', // Change outline color when there's an error
102
- // },
103
116
  },
104
-
105
117
  '& label.Mui-focused': {
106
118
  color: labelColor
107
119
  },
108
- '& .MuiAutocomplete-inputRoot': {
109
- paddingLeft: '10px !important',
110
- borderRadius: '12px'
111
- },
112
- '& .MuiInputLabel-outlined': {
120
+ '& .MuiInputLabel-outlined, & .MuiInputLabel-filled': {
113
121
  paddingLeft: '10px',
114
- color: outlineColor,
122
+ color: labelColor,
115
123
  paddingTop: '4px'
116
- },
117
- '& .MuiInputLabel-shrink': {
118
- marginLeft: '1px',
119
- paddingLeft: '4px',
120
- paddingRight: 0,
121
- background: 'white',
122
- paddingTop: 0
123
- },
124
- '& .MuiInputLabel-root': {
125
- fontFamily: 'Poppins'
126
- },
127
- '& .MuiInputBase-inputSizeSmall': {
128
- fontFamily: 'Poppins'
129
124
  }
130
125
  };
131
126
  }
@@ -8,4 +8,4 @@ exports.TextFieldContainer = void 0;
8
8
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
9
9
  var _styledComponents = _interopRequireDefault(require("styled-components"));
10
10
  var _templateObject;
11
- const TextFieldContainer = exports.TextFieldContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n width: ", "; \n text-align: left; \n position: relative; \n align-items: flex-start;\n justify-content: flex-start;\n font-family: \"Poppins\"; \n font-size: 14px;\n"])), props => props.width);
11
+ const TextFieldContainer = exports.TextFieldContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\nfont-family: \"Poppins\";\n display: flex;\n width: ", "; \n text-align: left; \n position: relative; \n align-items: flex-start;\n justify-content: flex-start;\n font-size: 14px;\n"])), props => props.width);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.537",
3
+ "version": "1.0.540",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {