@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: 'rgb(0,0,0,0.4)',
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: '#ffffff',
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: '#ffffff',
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: 'rgb(0,0,0,0.4)',
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: '#ffffff',
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) => {
@@ -6,7 +6,6 @@
6
6
  border-radius: 10px;
7
7
  overflow: hidden;
8
8
  position: relative;
9
- background-color: white;
10
9
  width: 130px;
11
10
  padding: 0px 35px 30px 30px;
12
11
  display: flex;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version": "3.0.57",
4
+ "version":"3.0.58-test",
5
5
  "scripts": {
6
6
  "watch": "tsgo --noEmit --watch --project tsconfig.app.json",
7
7
  "start": "vite",