tp-react-elements-dev 1.0.0 → 1.2.0

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.
package/dist/index.esm.js CHANGED
@@ -50089,11 +50089,28 @@ const Monthpickerrender = ({ props }) => {
50089
50089
  paddingLeft: "0px !important",
50090
50090
  paddingRight: "0px !important",
50091
50091
  },
50092
- }, renderInput: (params) => (jsxRuntimeExports.jsx(TextField, Object.assign({}, params, { fullWidth: true, disabled: props.item.disable || false, InputLabelProps: {
50093
- shrink: true,
50094
- }, inputProps: {
50095
- min: props.item.minDate,
50096
- } }))), ToolbarComponent: ({ date, decreaseMonth, increaseMonth }) => (jsxRuntimeExports.jsxs("div", { children: [jsxRuntimeExports.jsx("button", Object.assign({ onClick: decreaseMonth }, { children: "<" })), jsxRuntimeExports.jsx("span", { children: date.getMonth() + 1 }), jsxRuntimeExports.jsx("button", Object.assign({ onClick: increaseMonth }, { children: ">" }))] })), minDate: props.item.minDate ? dayjs(props.item.minDate, 'MM/YYYY') : null, maxDate: props.item.maxDate ? dayjs(props.item.maxDate, 'MM/YYYY') : null }) })) })), ((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.helperText) && (jsxRuntimeExports.jsxs("span", Object.assign({ style: {
50092
+ },
50093
+ // renderInput={(params:any) => (
50094
+ // <TextField
50095
+ // {...params}
50096
+ // fullWidth
50097
+ // disabled={props.item.disable || false}
50098
+ // InputLabelProps={{
50099
+ // shrink: true,
50100
+ // }}
50101
+ // inputProps={{
50102
+ // min: props.item.minDate,
50103
+ // }}
50104
+ // />
50105
+ // )}
50106
+ // ToolbarComponent={({ date, decreaseMonth, increaseMonth }:any) => (
50107
+ // <div>
50108
+ // <button onClick={decreaseMonth}>&lt;</button>
50109
+ // <span>{date.getMonth() + 1}</span>
50110
+ // <button onClick={increaseMonth}>&gt;</button>
50111
+ // </div>
50112
+ // )}
50113
+ minDate: props.item.minDate ? dayjs(props.item.minDate, 'MM/YYYY') : null, maxDate: props.item.maxDate ? dayjs(props.item.maxDate, 'MM/YYYY') : null }) })) })), ((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.helperText) && (jsxRuntimeExports.jsxs("span", Object.assign({ style: {
50097
50114
  fontFamily: "Roboto-Reg",
50098
50115
  fontSize: "11px",
50099
50116
  color: "#3651d3",