pcm-shared-components 0.0.195 → 0.0.197
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.
|
@@ -40,6 +40,7 @@ export const CurrencyTextInput = props => {
|
|
|
40
40
|
error,
|
|
41
41
|
helperText,
|
|
42
42
|
disabled,
|
|
43
|
+
textColor,
|
|
43
44
|
theme
|
|
44
45
|
} = props;
|
|
45
46
|
const compTheme = theme ? theme : useTheme();
|
|
@@ -173,6 +174,11 @@ export const CurrencyTextInput = props => {
|
|
|
173
174
|
onChange: event => {
|
|
174
175
|
handleOnChange(event);
|
|
175
176
|
},
|
|
177
|
+
sx: {
|
|
178
|
+
input: {
|
|
179
|
+
color: textColor
|
|
180
|
+
}
|
|
181
|
+
},
|
|
176
182
|
inputProps: {
|
|
177
183
|
autoComplete: "new-password",
|
|
178
184
|
style: {
|
|
@@ -210,12 +216,16 @@ CurrencyTextInput.defaultProps = {
|
|
|
210
216
|
error: false,
|
|
211
217
|
disabled: false,
|
|
212
218
|
helperText: '',
|
|
219
|
+
textColor: 'inherit',
|
|
213
220
|
theme: undefined
|
|
214
221
|
};
|
|
215
222
|
CurrencyTextInput.propTypes = {
|
|
216
223
|
/** Unique id of the component */
|
|
217
224
|
id: PropTypes.string,
|
|
218
225
|
|
|
226
|
+
/** The text color*/
|
|
227
|
+
textColor: PropTypes.string,
|
|
228
|
+
|
|
219
229
|
/** Name of the target often used to update state*/
|
|
220
230
|
name: PropTypes.string,
|
|
221
231
|
|
|
@@ -270,6 +270,7 @@
|
|
|
270
270
|
"bottom": "bottom",
|
|
271
271
|
"boxed": "Boxed",
|
|
272
272
|
"bulk_update": "Bulk Update",
|
|
273
|
+
"calendar_view": "Calendar View",
|
|
273
274
|
"campground_settings": {
|
|
274
275
|
"cancellation_policy": {
|
|
275
276
|
"day_cancel_policy_notes": "Prevents a reservation from being canceled from the online client portal if the arrival date of the reservation is within the specified range."
|
|
@@ -346,6 +347,7 @@
|
|
|
346
347
|
"go_to_documentation": "Go to Documentation",
|
|
347
348
|
"go_to_list": "Go To List",
|
|
348
349
|
"got_to_list": "Go To List",
|
|
350
|
+
"grid_view": "Grid View",
|
|
349
351
|
"horizontal": "Horizontal",
|
|
350
352
|
"id": "ID",
|
|
351
353
|
"in": "In",
|
|
@@ -270,6 +270,7 @@
|
|
|
270
270
|
"bottom": "fondo",
|
|
271
271
|
"boxed": "en caja",
|
|
272
272
|
"bulk_update": "Actualización masiva",
|
|
273
|
+
"calendar_view": "Vista de calendario",
|
|
273
274
|
"campground_settings": {
|
|
274
275
|
"cancellation_policy": {
|
|
275
276
|
"day_cancel_policy_notes": "Evita que se cancele una reserva desde el portal de clientes online si la fecha de llegada de la reserva está dentro del rango especificado."
|
|
@@ -346,6 +347,7 @@
|
|
|
346
347
|
"go_to_documentation": "Ir a la documentación",
|
|
347
348
|
"go_to_list": "Ir a la lista",
|
|
348
349
|
"got_to_list": "Ir a la lista",
|
|
350
|
+
"grid_view": "Vista en cuadrícula",
|
|
349
351
|
"horizontal": "Horizontal",
|
|
350
352
|
"id": "IDENTIFICACIÓN",
|
|
351
353
|
"in": "En",
|
|
@@ -270,6 +270,7 @@
|
|
|
270
270
|
"bottom": "bas",
|
|
271
271
|
"boxed": "Encadré",
|
|
272
272
|
"bulk_update": "Mises à jour en masse",
|
|
273
|
+
"calendar_view": "Calendrier",
|
|
273
274
|
"campground_settings": {
|
|
274
275
|
"cancellation_policy": {
|
|
275
276
|
"day_cancel_policy_notes": "Empêche une réservation d'être annulée à partir du portail client en ligne si la date d'arrivée de la réservation se situe dans la plage spécifiée."
|
|
@@ -346,6 +347,7 @@
|
|
|
346
347
|
"go_to_documentation": "Accéder à la documentation",
|
|
347
348
|
"go_to_list": "Aller à la liste",
|
|
348
349
|
"got_to_list": "Aller à la liste",
|
|
350
|
+
"grid_view": "La Grille",
|
|
349
351
|
"horizontal": "Horizontal",
|
|
350
352
|
"id": "ID",
|
|
351
353
|
"in": "Entrer",
|