sag_components 1.0.174 → 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.
@@ -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,13 @@ 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
100
  clearable: true,
101
+ renderInput: function renderInput(params) {
102
+ return /*#__PURE__*/_react.default.createElement(TextField, Object.assign({}, params, {
103
+ fullWidth: true
104
+ }));
105
+ },
101
106
  onChange: function onChange(newValue) {
102
107
  setvalueState(newValue);
103
108
  console.log("newValue", newValue.format("YYYY-MM-DD").toString());
@@ -109,7 +114,9 @@ var Datepicker = function Datepicker(_ref) {
109
114
  label: text,
110
115
  slots: {
111
116
  openPickerIcon: _CalendarIcon.CalendarIcon
112
- },
117
+ }
118
+ //slotProps={{ textField: { fullWidth: true } }}
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.176",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {