sag_components 1.0.175 → 1.0.176

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.
@@ -97,9 +97,12 @@ var Datepicker = function Datepicker(_ref) {
97
97
  width: width
98
98
  }, /*#__PURE__*/_react.default.createElement(_DatePicker.DatePicker, {
99
99
  value: valueState,
100
- clearable: true
101
- //renderInput={(params) => <TextField {...params} fullWidth />}
102
- ,
100
+ clearable: true,
101
+ renderInput: function renderInput(params) {
102
+ return /*#__PURE__*/_react.default.createElement(TextField, Object.assign({}, params, {
103
+ fullWidth: true
104
+ }));
105
+ },
103
106
  onChange: function onChange(newValue) {
104
107
  setvalueState(newValue);
105
108
  console.log("newValue", newValue.format("YYYY-MM-DD").toString());
@@ -111,12 +114,9 @@ var Datepicker = function Datepicker(_ref) {
111
114
  label: text,
112
115
  slots: {
113
116
  openPickerIcon: _CalendarIcon.CalendarIcon
114
- },
115
- slotProps: {
116
- textField: {
117
- fullWidth: true
118
- }
119
- },
117
+ }
118
+ //slotProps={{ textField: { fullWidth: true } }}
119
+ ,
120
120
  format: format
121
121
  }))));
122
122
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.175",
3
+ "version": "1.0.176",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {