dce-reactkit 3.2.6 → 3.2.8
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/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/types/LogAction.d.ts +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/types/LogAction.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/SimpleDateChooser.tsx +2 -2
- package/src/types/LogAction.ts +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -1379,7 +1379,7 @@ const SimpleDateChooser = (props) => {
|
|
|
1379
1379
|
const dayOptions = [];
|
|
1380
1380
|
choices.forEach((choice) => {
|
|
1381
1381
|
// Create month option
|
|
1382
|
-
monthOptions.push(React.createElement("option", { key: choice.month
|
|
1382
|
+
monthOptions.push(React.createElement("option", { key: `${choice.year}-${choice.month}`, value: `${choice.month}-${choice.year}`, "aria-label": `choose ${choice.choiceName}`, onSelect: () => {
|
|
1383
1383
|
onChange(choice.month, choice.days[0], choice.year);
|
|
1384
1384
|
} }, choice.choiceName));
|
|
1385
1385
|
if (month === choice.month) {
|
|
@@ -1387,7 +1387,7 @@ const SimpleDateChooser = (props) => {
|
|
|
1387
1387
|
// Create day options
|
|
1388
1388
|
choice.days.forEach((dayChoice) => {
|
|
1389
1389
|
const ordinal = getOrdinal(dayChoice);
|
|
1390
|
-
dayOptions.push(React.createElement("option", { key: dayChoice
|
|
1390
|
+
dayOptions.push(React.createElement("option", { key: `${choice.year}-${choice.month}-${dayChoice}`, value: dayChoice, "aria-label": `choose date ${dayChoice}` },
|
|
1391
1391
|
dayChoice,
|
|
1392
1392
|
ordinal));
|
|
1393
1393
|
});
|
|
@@ -2166,8 +2166,8 @@ var LogAction;
|
|
|
2166
2166
|
LogAction["Interrupt"] = "Interrupt";
|
|
2167
2167
|
// Target was created by the user (it did not exist before)
|
|
2168
2168
|
LogAction["Create"] = "Create";
|
|
2169
|
-
// Target was
|
|
2170
|
-
LogAction["
|
|
2169
|
+
// Target was modified by the user (it existed and was changed)
|
|
2170
|
+
LogAction["Modify"] = "Modify";
|
|
2171
2171
|
// Target was deleted by the user (it existed and now it doesn't)
|
|
2172
2172
|
LogAction["Delete"] = "Delete";
|
|
2173
2173
|
// Target was added by the user (it already existed and was added to another place)
|