sag_components 1.0.176 → 1.0.177

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