@arquimedes.co/eureka-forms 3.0.57 → 3.0.58-test
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.
|
@@ -132,7 +132,7 @@ const StyledDay = styled(MuiPickerDay)(({ theme }) => ({
|
|
|
132
132
|
backgroundColor: theme.palette.primary.main + '33',
|
|
133
133
|
},
|
|
134
134
|
'&.Erk-MuiPickerDay-dayOutsideMonth': {
|
|
135
|
-
color:
|
|
135
|
+
color: theme.palette.text.disabled,
|
|
136
136
|
'&.Mui-selected': {
|
|
137
137
|
color: theme.palette.primary.contrastText,
|
|
138
138
|
},
|
|
@@ -178,7 +178,7 @@ orientation: _orientation, ...others }) {
|
|
|
178
178
|
layout: {
|
|
179
179
|
sx: {
|
|
180
180
|
//Pasar esto al componente de layout?
|
|
181
|
-
backgroundColor: '
|
|
181
|
+
backgroundColor: 'background.paper',
|
|
182
182
|
textTransform: 'capitalize',
|
|
183
183
|
'& .Erk-MuiDayCalendar-weekDayLabel': {
|
|
184
184
|
gridColumn: 1,
|
|
@@ -237,7 +237,7 @@ orientation: _orientation, ...others }) {
|
|
|
237
237
|
},
|
|
238
238
|
layout: {
|
|
239
239
|
sx: {
|
|
240
|
-
backgroundColor: '
|
|
240
|
+
backgroundColor: 'background.paper',
|
|
241
241
|
textTransform: 'capitalize',
|
|
242
242
|
'& .Erk-MuiDayCalendar-weekDayLabel': {
|
|
243
243
|
cursor: 'default',
|
|
@@ -75,7 +75,7 @@ const StyledDay = styled(MuiDateRangePickerDay)(({ theme }) => ({
|
|
|
75
75
|
backgroundColor: theme.palette.primary.main + '33',
|
|
76
76
|
},
|
|
77
77
|
'&.Erk-MuiDateRangePickerDay-dayOutsideMonth': {
|
|
78
|
-
color:
|
|
78
|
+
color: theme.palette.text.disabled,
|
|
79
79
|
'&.Mui-selected': {
|
|
80
80
|
color: theme.palette.primary.contrastText,
|
|
81
81
|
},
|
|
@@ -152,7 +152,7 @@ function CustomDatePickerRange({ error, disabled, readOnly, helperText, size = '
|
|
|
152
152
|
shortcuts: shortcuts ? { items: shortcuts } : undefined,
|
|
153
153
|
layout: {
|
|
154
154
|
sx: {
|
|
155
|
-
backgroundColor: '
|
|
155
|
+
backgroundColor: 'background.paper',
|
|
156
156
|
textTransform: 'capitalize',
|
|
157
157
|
'& .Erk-MuiDayCalendar-weekDayLabel': {
|
|
158
158
|
cursor: 'default',
|
|
@@ -46,6 +46,7 @@ function CustomSelect({ value, onChange, label, error, required, pickDays, helpe
|
|
|
46
46
|
},
|
|
47
47
|
], style: { zIndex: 1301 }, children: _jsxs("div", { className: styles.container, style: {
|
|
48
48
|
paddingTop: error && helperText ? '0px' : '30px',
|
|
49
|
+
backgroundColor: palette.background.paper,
|
|
49
50
|
}, children: [error && helperText && (_jsx("div", { className: styles.errorMessage, style: {
|
|
50
51
|
color: palette.error.main,
|
|
51
52
|
}, children: helperText })), pickDays && (_jsx("div", { className: styles.numberPickerContainer, children: _jsx(StyledTextField, { label: "D\u00EDas", type: "number", labelMargin: 0, value: (value?.days ?? minDays) + '', onChange: (event) => handleChange({ ...value, days: parseInt(event.target.value) }), slotProps: { htmlInput: { min: minDays, max: maxDays } } }) })), pickHours && (_jsx("div", { className: styles.numberPickerContainer, children: _jsx(StyledTextField, { label: "Horas", type: "number", labelMargin: 0, value: (value?.hours ?? minHours) + '', onChange: (event) => handleChange({ ...value, hours: parseInt(event.target.value) }), slotProps: { htmlInput: { min: minHours, max: maxHours } } }) })), pickMinutes && (_jsx("div", { className: styles.numberPickerContainer, children: _jsx(StyledTextField, { type: "number", label: "Minutos", labelMargin: 0, slotProps: { htmlInput: { min: minMinutes, max: maxMinutes } }, value: (value?.minutes ?? minMinutes) + '', onChange: (event) => handleChange({ ...value, minutes: parseInt(event.target.value) }) }) })), working === undefined && (_jsxs("div", { className: styles.workingContainer, children: ["H\u00E1biles:", _jsx(ErkToggle, { checked: !!value?.working, disabled: working !== undefined, onChange: (working) => {
|
package/package.json
CHANGED