tp-react-elements-dev 1.0.0 → 1.1.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.js CHANGED
@@ -50109,11 +50109,28 @@ const Monthpickerrender = ({ props }) => {
50109
50109
  paddingLeft: "0px !important",
50110
50110
  paddingRight: "0px !important",
50111
50111
  },
50112
- }, renderInput: (params) => (jsxRuntimeExports.jsx(TextField, Object.assign({}, params, { fullWidth: true, disabled: props.item.disable || false, InputLabelProps: {
50113
- shrink: true,
50114
- }, inputProps: {
50115
- min: props.item.minDate,
50116
- } }))), 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: {
50112
+ },
50113
+ // renderInput={(params:any) => (
50114
+ // <TextField
50115
+ // {...params}
50116
+ // fullWidth
50117
+ // disabled={props.item.disable || false}
50118
+ // InputLabelProps={{
50119
+ // shrink: true,
50120
+ // }}
50121
+ // inputProps={{
50122
+ // min: props.item.minDate,
50123
+ // }}
50124
+ // />
50125
+ // )}
50126
+ // ToolbarComponent={({ date, decreaseMonth, increaseMonth }:any) => (
50127
+ // <div>
50128
+ // <button onClick={decreaseMonth}>&lt;</button>
50129
+ // <span>{date.getMonth() + 1}</span>
50130
+ // <button onClick={increaseMonth}>&gt;</button>
50131
+ // </div>
50132
+ // )}
50133
+ 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: {
50117
50134
  fontFamily: "Roboto-Reg",
50118
50135
  fontSize: "11px",
50119
50136
  color: "#3651d3",