react-weekly-planning 1.0.0 → 1.0.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Kacou Yao Yves Morel
3
+ Copyright (c) [2024] [Kacou Yao Yves Morel]
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -3,7 +3,9 @@
3
3
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
4
4
 
5
5
 
6
- ### Detailed Description and Use Cases
6
+ ### Description and Use Cases
7
+
8
+ `react-weekly-planning` provides a React component for weekly planning. Easily set up and manage a weekly schedule with customizable tasks, groups and views.
7
9
 
8
10
  #### `weekOffset`
9
11
 
package/docs/index.html CHANGED
@@ -390,7 +390,8 @@ taskId, taskStart taskEnd, task, taskDate, groupId, dayIndex
390
390
  <li>
391
391
  <p><strong>Parameters</strong>:</p>
392
392
  <ul>
393
- <li><code>offset</code> (number): This represents the difference in days between the current date and the same date from the previous week. A shift of 7 days takes us to the following week, while a shift of -7 days takes us back to last week.</li>
393
+ <li><code>offset</code> (number): This represents the difference in days between the current calendar date and the same date from the previous week. A shift of 7 days takes us to the following week, while a shift of -7 days takes us back to last week. <code>weekOffset</code> is different and represents the difference in days between the current date and the week we want to reach. <strong>A shift of 14 days brings us back to the next week starting from the current date <code>new Date()</code></strong>.
394
+ <strong>The current date <code>new Date()</code> is not necessarily the one selected in the calendar</strong>.</li>
394
395
  <li><code>calendarDate</code> (Date): The current calendar date.</li>
395
396
  </ul>
396
397
  </li>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-weekly-planning",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -8,10 +8,28 @@
8
8
  "build": "tsc",
9
9
  "doc": "jsdoc -c jsdoc.json"
10
10
  },
11
- "keywords": [],
12
- "author": "",
11
+ "keywords": [
12
+ "react",
13
+ "react-weekly-planning",
14
+ "schedule customizable",
15
+ "calendar",
16
+ "planning",
17
+ "weekly",
18
+ "task management",
19
+ "group tasks",
20
+ "schedule",
21
+ "event planning",
22
+ "date picker",
23
+ "week offset",
24
+ "calendar component",
25
+ "React calendar",
26
+ "task scheduler",
27
+ "weekly planning",
28
+ "productivity"
29
+ ],
30
+ "author": "Kacou Yao Yves Morel",
13
31
  "license": "MIT",
14
- "description": "",
32
+ "description": "react-weekly-planning provides a React component for weekly planning. Easily set up and manage a weekly schedule with customizable tasks, groups and views.",
15
33
  "dependencies": {
16
34
  "@babel/types": "^7.24.5",
17
35
  "@types/babel__generator": "^7.6.8",