sag_components 1.0.174 → 1.0.175

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.
@@ -63,7 +63,8 @@ var Datepicker = function Datepicker(_ref) {
63
63
  fontSize: "14px",
64
64
  fontWidth: 400,
65
65
  paddingLeft: "10px !important",
66
- borderRadius: "12px"
66
+ borderRadius: "12px",
67
+ width: width
67
68
  },
68
69
  "& .MuiInputLabel-outlined": {
69
70
  fontFamily: "Lato",
@@ -95,9 +96,10 @@ var Datepicker = function Datepicker(_ref) {
95
96
  components: ["DatePicker"],
96
97
  width: width
97
98
  }, /*#__PURE__*/_react.default.createElement(_DatePicker.DatePicker, {
98
- width: width,
99
99
  value: valueState,
100
- clearable: true,
100
+ clearable: true
101
+ //renderInput={(params) => <TextField {...params} fullWidth />}
102
+ ,
101
103
  onChange: function onChange(newValue) {
102
104
  setvalueState(newValue);
103
105
  console.log("newValue", newValue.format("YYYY-MM-DD").toString());
@@ -110,6 +112,11 @@ var Datepicker = function Datepicker(_ref) {
110
112
  slots: {
111
113
  openPickerIcon: _CalendarIcon.CalendarIcon
112
114
  },
115
+ slotProps: {
116
+ textField: {
117
+ fullWidth: true
118
+ }
119
+ },
113
120
  format: format
114
121
  }))));
115
122
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.174",
3
+ "version": "1.0.175",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {