@datatechsolutions/tympan 0.3.1 → 0.4.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/{Avatar-P14MVkK1.js → Avatar-CU7B1WsX.js} +61 -1
- package/dist/{Avatar-P14MVkK1.js.map → Avatar-CU7B1WsX.js.map} +1 -1
- package/dist/avatars.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.js +2 -2
- package/dist/{index-6wR5ThnX.d.ts → index-J-7EBkCL.d.ts} +172 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{src-C9whlpC7.js → src-uCyIE-Te.js} +909 -379
- package/dist/src-uCyIE-Te.js.map +1 -0
- package/dist/styles.css +476 -0
- package/package.json +2 -2
- package/src/components/calendar/Calendar.css +260 -0
- package/src/components/calendar/Calendar.test.tsx +178 -0
- package/src/components/calendar/Calendar.tsx +341 -0
- package/src/components/date-range-field/DateRangeField.css +140 -0
- package/src/components/date-range-field/DateRangeField.test.tsx +187 -0
- package/src/components/date-range-field/DateRangeField.tsx +231 -0
- package/src/components/tooltip/Tooltip.css +70 -0
- package/src/components/tooltip/Tooltip.test.tsx +209 -0
- package/src/components/tooltip/Tooltip.tsx +102 -0
- package/src/index.ts +3 -0
- package/src/internal/messages/core-es.ts +17 -0
- package/src/internal/messages.ts +51 -0
- package/src/styles.css +3 -0
- package/dist/src-C9whlpC7.js.map +0 -1
|
@@ -2227,6 +2227,26 @@ const coreEs = {
|
|
|
2227
2227
|
placeholder: "Seleccione…",
|
|
2228
2228
|
done: "Listo"
|
|
2229
2229
|
},
|
|
2230
|
+
calendar: {
|
|
2231
|
+
previousMonth: (target) => `Mes anterior, ${target}`,
|
|
2232
|
+
nextMonth: (target) => `Mes siguiente, ${target}`,
|
|
2233
|
+
monthPicker: "Mes",
|
|
2234
|
+
yearPicker: "Año"
|
|
2235
|
+
},
|
|
2236
|
+
dateRangeField: {
|
|
2237
|
+
start: "Fecha inicial",
|
|
2238
|
+
end: "Fecha final",
|
|
2239
|
+
presets: "Períodos rápidos",
|
|
2240
|
+
apply: "Aplicar",
|
|
2241
|
+
cancel: "Cancelar",
|
|
2242
|
+
endBeforeStart: "La fecha final es anterior a la fecha inicial.",
|
|
2243
|
+
tooManyDays: (max) => `El período es más largo que ${es.n(max)} ${es.word(max, {
|
|
2244
|
+
one: "día",
|
|
2245
|
+
other: "días"
|
|
2246
|
+
})}.`,
|
|
2247
|
+
unavailableDay: "El período incluye un día que no se puede elegir.",
|
|
2248
|
+
outOfBounds: "El período incluye un día fuera de las fechas permitidas."
|
|
2249
|
+
},
|
|
2230
2250
|
notice: { toneWord: {
|
|
2231
2251
|
danger: "Error:",
|
|
2232
2252
|
warning: "Atención:",
|
|
@@ -2380,6 +2400,26 @@ const defaultMessages = {
|
|
|
2380
2400
|
placeholder: "Select…",
|
|
2381
2401
|
done: "Done"
|
|
2382
2402
|
},
|
|
2403
|
+
calendar: {
|
|
2404
|
+
previousMonth: (target) => `Previous month, ${target}`,
|
|
2405
|
+
nextMonth: (target) => `Next month, ${target}`,
|
|
2406
|
+
monthPicker: "Month",
|
|
2407
|
+
yearPicker: "Year"
|
|
2408
|
+
},
|
|
2409
|
+
dateRangeField: {
|
|
2410
|
+
start: "Start date",
|
|
2411
|
+
end: "End date",
|
|
2412
|
+
presets: "Presets",
|
|
2413
|
+
apply: "Apply",
|
|
2414
|
+
cancel: "Cancel",
|
|
2415
|
+
endBeforeStart: "The end date is before the start date.",
|
|
2416
|
+
tooManyDays: (max) => `The range is longer than ${en.n(max)} ${en.word(max, {
|
|
2417
|
+
one: "day",
|
|
2418
|
+
other: "days"
|
|
2419
|
+
})}.`,
|
|
2420
|
+
unavailableDay: "The range includes a day that cannot be chosen.",
|
|
2421
|
+
outOfBounds: "The range includes a day outside the allowed dates."
|
|
2422
|
+
},
|
|
2383
2423
|
notice: { toneWord: {
|
|
2384
2424
|
danger: "Error:",
|
|
2385
2425
|
warning: "Warning:",
|
|
@@ -2530,6 +2570,26 @@ const messagesPtBR = {
|
|
|
2530
2570
|
placeholder: "Selecione…",
|
|
2531
2571
|
done: "Concluir"
|
|
2532
2572
|
},
|
|
2573
|
+
calendar: {
|
|
2574
|
+
previousMonth: (target) => `Mês anterior, ${target}`,
|
|
2575
|
+
nextMonth: (target) => `Próximo mês, ${target}`,
|
|
2576
|
+
monthPicker: "Mês",
|
|
2577
|
+
yearPicker: "Ano"
|
|
2578
|
+
},
|
|
2579
|
+
dateRangeField: {
|
|
2580
|
+
start: "Data inicial",
|
|
2581
|
+
end: "Data final",
|
|
2582
|
+
presets: "Períodos rápidos",
|
|
2583
|
+
apply: "Aplicar",
|
|
2584
|
+
cancel: "Cancelar",
|
|
2585
|
+
endBeforeStart: "A data final é anterior à data inicial.",
|
|
2586
|
+
tooManyDays: (max) => `O período é maior que ${pt.n(max)} ${pt.word(max, {
|
|
2587
|
+
one: "dia",
|
|
2588
|
+
other: "dias"
|
|
2589
|
+
})}.`,
|
|
2590
|
+
unavailableDay: "O período inclui um dia que não pode ser escolhido.",
|
|
2591
|
+
outOfBounds: "O período inclui um dia fora das datas permitidas."
|
|
2592
|
+
},
|
|
2533
2593
|
notice: { toneWord: {
|
|
2534
2594
|
danger: "Erro:",
|
|
2535
2595
|
warning: "Atenção:",
|
|
@@ -2812,4 +2872,4 @@ function Avatar({ src, fallbackText, name, decorative = false, actorKind = "pers
|
|
|
2812
2872
|
//#endregion
|
|
2813
2873
|
export { catalogueForLocale as a, messagesEs as c, compileIcuMessages as d, pseudoLocalize as f, substitute as h, useMessages as i, messagesPtBR as l, formatMessage as m, devWarning as n, defaultMessages as o, pseudoString as p, TympanProvider as r, mergeMessages as s, Avatar as t, shippedCatalogues as u };
|
|
2814
2874
|
|
|
2815
|
-
//# sourceMappingURL=Avatar-
|
|
2875
|
+
//# sourceMappingURL=Avatar-CU7B1WsX.js.map
|