sag_components 1.0.173 → 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",
@@ -89,12 +90,16 @@ var Datepicker = function Datepicker(_ref) {
89
90
  return /*#__PURE__*/_react.default.createElement(_DatepickerStyle.DatepickerContainer, {
90
91
  width: width
91
92
  }, /*#__PURE__*/_react.default.createElement(_LocalizationProvider.LocalizationProvider, {
92
- dateAdapter: _AdapterDayjs.AdapterDayjs
93
+ dateAdapter: _AdapterDayjs.AdapterDayjs,
94
+ width: width
93
95
  }, /*#__PURE__*/_react.default.createElement(_demo.DemoContainer, {
94
- components: ["DatePicker"]
96
+ components: ["DatePicker"],
97
+ width: width
95
98
  }, /*#__PURE__*/_react.default.createElement(_DatePicker.DatePicker, {
96
99
  value: valueState,
97
- clearable: true,
100
+ clearable: true
101
+ //renderInput={(params) => <TextField {...params} fullWidth />}
102
+ ,
98
103
  onChange: function onChange(newValue) {
99
104
  setvalueState(newValue);
100
105
  console.log("newValue", newValue.format("YYYY-MM-DD").toString());
@@ -107,6 +112,11 @@ var Datepicker = function Datepicker(_ref) {
107
112
  slots: {
108
113
  openPickerIcon: _CalendarIcon.CalendarIcon
109
114
  },
115
+ slotProps: {
116
+ textField: {
117
+ fullWidth: true
118
+ }
119
+ },
110
120
  format: format
111
121
  }))));
112
122
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.173",
3
+ "version": "1.0.175",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {