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/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -140,7 +140,7 @@ const SimpleDateChooser: React.FC<Props> = (props) => {
|
|
|
140
140
|
// Create month option
|
|
141
141
|
monthOptions.push(
|
|
142
142
|
<option
|
|
143
|
-
key={choice.month}
|
|
143
|
+
key={`${choice.year}-${choice.month}`}
|
|
144
144
|
value={`${choice.month}-${choice.year}`}
|
|
145
145
|
aria-label={`choose ${choice.choiceName}`}
|
|
146
146
|
onSelect={() => {
|
|
@@ -158,7 +158,7 @@ const SimpleDateChooser: React.FC<Props> = (props) => {
|
|
|
158
158
|
const ordinal = getOrdinal(dayChoice);
|
|
159
159
|
dayOptions.push(
|
|
160
160
|
<option
|
|
161
|
-
key={dayChoice}
|
|
161
|
+
key={`${choice.year}-${choice.month}-${dayChoice}`}
|
|
162
162
|
value={dayChoice}
|
|
163
163
|
aria-label={`choose date ${dayChoice}`}
|
|
164
164
|
>
|
package/src/types/LogAction.ts
CHANGED
|
@@ -19,8 +19,8 @@ enum LogAction {
|
|
|
19
19
|
Interrupt = 'Interrupt',
|
|
20
20
|
// Target was created by the user (it did not exist before)
|
|
21
21
|
Create = 'Create',
|
|
22
|
-
// Target was
|
|
23
|
-
|
|
22
|
+
// Target was modified by the user (it existed and was changed)
|
|
23
|
+
Modify = 'Modify',
|
|
24
24
|
// Target was deleted by the user (it existed and now it doesn't)
|
|
25
25
|
Delete = 'Delete',
|
|
26
26
|
// Target was added by the user (it already existed and was added to another place)
|