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/cjs/index.js
CHANGED
|
@@ -1387,7 +1387,7 @@ const SimpleDateChooser = (props) => {
|
|
|
1387
1387
|
const dayOptions = [];
|
|
1388
1388
|
choices.forEach((choice) => {
|
|
1389
1389
|
// Create month option
|
|
1390
|
-
monthOptions.push(React__default["default"].createElement("option", { key: choice.month
|
|
1390
|
+
monthOptions.push(React__default["default"].createElement("option", { key: `${choice.year}-${choice.month}`, value: `${choice.month}-${choice.year}`, "aria-label": `choose ${choice.choiceName}`, onSelect: () => {
|
|
1391
1391
|
onChange(choice.month, choice.days[0], choice.year);
|
|
1392
1392
|
} }, choice.choiceName));
|
|
1393
1393
|
if (month === choice.month) {
|
|
@@ -1395,7 +1395,7 @@ const SimpleDateChooser = (props) => {
|
|
|
1395
1395
|
// Create day options
|
|
1396
1396
|
choice.days.forEach((dayChoice) => {
|
|
1397
1397
|
const ordinal = getOrdinal(dayChoice);
|
|
1398
|
-
dayOptions.push(React__default["default"].createElement("option", { key: dayChoice
|
|
1398
|
+
dayOptions.push(React__default["default"].createElement("option", { key: `${choice.year}-${choice.month}-${dayChoice}`, value: dayChoice, "aria-label": `choose date ${dayChoice}` },
|
|
1399
1399
|
dayChoice,
|
|
1400
1400
|
ordinal));
|
|
1401
1401
|
});
|
|
@@ -2174,8 +2174,8 @@ var LogAction;
|
|
|
2174
2174
|
LogAction["Interrupt"] = "Interrupt";
|
|
2175
2175
|
// Target was created by the user (it did not exist before)
|
|
2176
2176
|
LogAction["Create"] = "Create";
|
|
2177
|
-
// Target was
|
|
2178
|
-
LogAction["
|
|
2177
|
+
// Target was modified by the user (it existed and was changed)
|
|
2178
|
+
LogAction["Modify"] = "Modify";
|
|
2179
2179
|
// Target was deleted by the user (it existed and now it doesn't)
|
|
2180
2180
|
LogAction["Delete"] = "Delete";
|
|
2181
2181
|
// Target was added by the user (it already existed and was added to another place)
|