react-weekly-planning 1.0.33 → 1.0.35

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.
Files changed (60) hide show
  1. package/{lib → dist/lib}/utils.js +0 -13
  2. package/index.js +70 -70
  3. package/package.json +1 -8
  4. package/__tests__/page.test.js +0 -106
  5. package/__tests__/page.test.tsx +0 -129
  6. package/babel.config.js +0 -1
  7. package/components/AddTask/index.tsx +0 -43
  8. package/components/CalendarForWeek.tsx +0 -233
  9. package/components/CalendarForday.tsx +0 -131
  10. package/components/DayContainer/index.tsx +0 -36
  11. package/components/GroupContainer/index.tsx +0 -42
  12. package/components/GroupsHeadContainer/index.tsx +0 -19
  13. package/components/SumHoursContainer/index.tsx +0 -39
  14. package/components/SumHoursHead/index.tsx +0 -22
  15. package/components/TaskContainer/index.tsx +0 -86
  16. package/components/TaskList/index.tsx +0 -13
  17. package/contexts/CalendarContext.tsx +0 -38
  18. package/definition.txt +0 -319
  19. package/definitions/index.ts +0 -1084
  20. package/docs/global.html +0 -4983
  21. package/docs/index.html +0 -475
  22. package/docs/index.ts.html +0 -551
  23. package/docs/scripts/app.min.js +0 -1
  24. package/docs/scripts/linenumber.js +0 -26
  25. package/docs/scripts/search.js +0 -39
  26. package/docs/styles/app.min.css +0 -1
  27. package/docs/styles/iframe.css +0 -13
  28. package/docs/styles/prettify-jsdoc.css +0 -111
  29. package/docs/styles/prettify-tomorrow.css +0 -132
  30. package/docs/styles/reset.css +0 -44
  31. package/hooks/useCalendarDateState.ts +0 -45
  32. package/index.tsx +0 -77
  33. package/jest.config.js +0 -9
  34. package/jest.config.ts +0 -10
  35. package/lib/slyles.ts +0 -25
  36. package/lib/utils.ts +0 -990
  37. package/myJsDoc.js +0 -0
  38. package/out/index.html +0 -129
  39. package/out/scripts/app.min.js +0 -1
  40. package/out/scripts/linenumber.js +0 -26
  41. package/out/scripts/search.js +0 -39
  42. package/out/styles/app.min.css +0 -1
  43. package/out/styles/iframe.css +0 -13
  44. package/out/styles/prettify-jsdoc.css +0 -111
  45. package/out/styles/prettify-tomorrow.css +0 -132
  46. package/out/styles/reset.css +0 -44
  47. /package/{components → dist/components}/AddTask/index.js +0 -0
  48. /package/{components → dist/components}/CalendarForWeek.js +0 -0
  49. /package/{components → dist/components}/CalendarForday.js +0 -0
  50. /package/{components → dist/components}/DayContainer/index.js +0 -0
  51. /package/{components → dist/components}/GroupContainer/index.js +0 -0
  52. /package/{components → dist/components}/GroupsHeadContainer/index.js +0 -0
  53. /package/{components → dist/components}/SumHoursContainer/index.js +0 -0
  54. /package/{components → dist/components}/SumHoursHead/index.js +0 -0
  55. /package/{components → dist/components}/TaskContainer/index.js +0 -0
  56. /package/{components → dist/components}/TaskList/index.js +0 -0
  57. /package/{contexts → dist/contexts}/CalendarContext.js +0 -0
  58. /package/{definitions → dist/definitions}/index.js +0 -0
  59. /package/{hooks → dist/hooks}/useCalendarDateState.js +0 -0
  60. /package/{lib → dist/lib}/slyles.js +0 -0
package/myJsDoc.js DELETED
File without changes
package/out/index.html DELETED
@@ -1,129 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
-
6
- <meta charset="utf-8">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <title> Home</title>
9
-
10
- <script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
11
- <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
12
- <script src="./build/entry.js"></script>
13
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
14
- <!--[if lt IE 9]>
15
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
16
- <![endif]-->
17
- <link href="https://fonts.googleapis.com/css?family=Roboto:100,400,700|Inconsolata,700" rel="stylesheet">
18
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
19
- <link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
20
- <link type="text/css" rel="stylesheet" href="styles/app.min.css">
21
- <link type="text/css" rel="stylesheet" href="styles/iframe.css">
22
- <link type="text/css" rel="stylesheet" href="">
23
- <script async defer src="https://buttons.github.io/buttons.js"></script>
24
-
25
-
26
- </head>
27
-
28
-
29
-
30
- <body class="layout small-header">
31
- <div id="stickyNavbarOverlay"></div>
32
-
33
-
34
- <div class="top-nav">
35
- <div class="inner">
36
- <a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
37
- <span aria-hidden="true"></span>
38
- <span aria-hidden="true"></span>
39
- <span aria-hidden="true"></span>
40
- </a>
41
- <div class="logo">
42
-
43
-
44
- </div>
45
- <div class="menu">
46
-
47
- <div class="navigation">
48
- <a
49
- href="index.html"
50
- class="link"
51
- >
52
- Documentation
53
- </a>
54
-
55
-
56
-
57
- </div>
58
- </div>
59
- </div>
60
- </div>
61
- <div id="main">
62
- <div
63
- class="sidebar "
64
- id="sidebarNav"
65
- >
66
-
67
- <nav>
68
-
69
- <h2><a href="index.html">Documentation</a></h2><div class="category"></div>
70
-
71
- </nav>
72
- </div>
73
- <div class="core" id="main-content-wrapper">
74
- <div class="content">
75
- <header class="page-title">
76
- <p></p>
77
- <h1>Home</h1>
78
- </header>
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
- <h3> </h3>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
- </div>
108
-
109
- <footer class="footer">
110
- <div class="content has-text-centered">
111
- <p>Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a></p>
112
- <p class="sidebar-created-by">
113
- <a href="https://github.com/SoftwareBrothers/better-docs" target="_blank">BetterDocs theme</a> provided with <i class="fas fa-heart"></i> by
114
- <a href="http://softwarebrothers.co" target="_blank">SoftwareBrothers - JavaScript Development Agency</a>
115
- </p>
116
- </div>
117
- </footer>
118
-
119
- </div>
120
- <div id="side-nav" class="side-nav">
121
- </div>
122
- </div>
123
- <script src="scripts/app.min.js"></script>
124
- <script>PR.prettyPrint();</script>
125
- <script src="scripts/linenumber.js"> </script>
126
-
127
-
128
- </body>
129
- </html>
@@ -1 +0,0 @@
1
- "use strict";$().ready(function(){});var sidebarIsVisible=!1,toggleSidebar=function(e){var a=!(0<arguments.length&&void 0!==e)||e;$("#sidebarNav").toggleClass("sticky",a),$("#stickyNavbarOverlay").toggleClass("active",a),$("#hamburger").toggleClass("is-active"),sidebarIsVisible=a};$().ready(function(){$("#hamburger").click(function(){toggleSidebar(!sidebarIsVisible)}),$("#stickyNavbarOverlay").click(function(){sidebarIsVisible&&toggleSidebar(!1)})});var OFFSET=150;$().ready(function(){var o=$("#side-nav"),c=[];if($(".vertical-section").length||o.hide(),$(".vertical-section").each(function(e,a){var i=$(a),t=i.find("> h1").text();if(t){o.append($("<h3/>").text(t));var s=$("<ul></ul>");i.find(".members h4.name").each(function(e,a){var i=$(a),t=i.find(".code-name").clone().children().remove().end().text(),n=i.find("a").attr("href"),r=$('<a href="'.concat(n,'" />')).text(t);s.append($("<li></li>").append(r)),c.push({link:r,offset:i.offset().top})}),o.append(s)}else i.find(".members h4.name").each(function(e,a){var i=$(a),t=i.find(".code-name").clone().children().remove().end().text(),n=i.find("a").attr("href"),r=$('<a href="'.concat(n,'" />')).text(t);o.append(r),c.push({link:r,offset:i.offset().top})})}),!$.trim(o.text()))return o.hide();function e(){for(var e=n.scrollTop(),a=!1,i=c.length-1;0<=i;i--){var t=c[i];t.link.removeClass("is-active"),e+OFFSET>=t.offset?a?t.link.addClass("is-past"):(t.link.addClass("is-active"),a=!0):t.link.removeClass("is-past")}}var n=$("#main-content-wrapper");n.on("scroll",e),e(),c.forEach(function(e){e.link.click(function(){n.animate({scrollTop:e.offset-OFFSET+1},500)})})}),$().ready(function(){$("#sidebarNav a").each(function(e,a){var i=$(a).attr("href");window.location.pathname.match("/"+i)&&($(a).addClass("active"),$("#sidebarNav").scrollTop($(a).offset().top-150))})});
@@ -1,26 +0,0 @@
1
- /*global document */
2
-
3
- (function() {
4
- var source = document.getElementsByClassName('prettyprint source linenums');
5
- var i = 0;
6
- var lineNumber = 0;
7
- var lineId;
8
- var lines;
9
- var totalLines;
10
- var anchorHash;
11
-
12
- if (source && source[0]) {
13
- anchorHash = document.location.hash.substring(1);
14
- lines = source[0].getElementsByTagName('li');
15
- totalLines = lines.length;
16
-
17
- for (; i < totalLines; i++) {
18
- lineNumber++;
19
- lineId = 'line' + lineNumber;
20
- lines[i].id = lineId;
21
- if (lineId === anchorHash) {
22
- lines[i].className += ' selected';
23
- }
24
- }
25
- }
26
- })();
@@ -1,39 +0,0 @@
1
- (function() {
2
- const input = document.querySelector('#search')
3
- const targets = [ ...document.querySelectorAll('#sidebarNav li')]
4
- input.addEventListener('keyup', () => {
5
- // loop over each targets and hide the not corresponding ones
6
- targets.forEach(target => {
7
- if (!target.innerText.toLowerCase().includes(input.value.toLowerCase())) {
8
- target.style.display = 'none'
9
-
10
- /**
11
- * Detects an empty list
12
- * Remove the list and the list's title if the list is not displayed
13
- */
14
- const list = [...target.parentNode.childNodes].filter( elem => elem.style.display !== 'none')
15
-
16
- if (!list.length) {
17
- target.parentNode.style.display = 'none'
18
- target.parentNode.previousSibling.style.display = 'none'
19
- }
20
-
21
- /**
22
- * Detects empty category
23
- * Remove the entire category if no item is displayed
24
- */
25
- const category = [...target.parentNode.parentNode.childNodes]
26
- .filter( elem => elem.tagName !== 'H2' && elem.style.display !== 'none')
27
-
28
- if (!category.length) {
29
- target.parentNode.parentNode.style.display = 'none'
30
- }
31
- } else {
32
- target.parentNode.style.display = 'block'
33
- target.parentNode.previousSibling.style.display = 'block'
34
- target.parentNode.parentNode.style.display = 'block'
35
- target.style.display = 'block'
36
- }
37
- })
38
- })
39
- })()