@mohamed-karawia/library 0.1.5 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) hide show
  1. package/dist/stories/Reusable Components/fakeData.js +24 -4
  2. package/dist/stories/helpers/util.js +16 -14
  3. package/package.json +1 -1
  4. package/src/stories/Reusable Components/fakeData.js +5 -0
  5. package/src/stories/helpers/util.js +1 -0
  6. package/.github/workflows/chromatic.yml +0 -26
  7. package/.storybook/main.js +0 -21
  8. package/.storybook/middleware.js +0 -28
  9. package/.storybook/preview.js +0 -9
  10. package/build-storybook.log +0 -2704
  11. package/dist/stories/API/API.stories.js +0 -24
  12. package/dist/stories/Agora/Chat/Chat.stories.js +0 -24
  13. package/dist/stories/Agora/Room/Room.stories.js +0 -24
  14. package/dist/stories/Buttons/Buttons/Buttons.stories.js +0 -39
  15. package/dist/stories/Buttons/ReactModal/ReactModal.stories.js +0 -30
  16. package/dist/stories/Chat/Chat.stories.js +0 -76
  17. package/dist/stories/Common Inputs/CheckboxGroup/CheckboxGroup.stories.js +0 -58
  18. package/dist/stories/Common Inputs/CustomAutoComplete/CustomAutoComplete.stories.js +0 -56
  19. package/dist/stories/Common Inputs/CustomDropzone/CustomDropzone.stories.js +0 -47
  20. package/dist/stories/Common Inputs/CustomSelect/CustomSelect.stories.js +0 -61
  21. package/dist/stories/Common Inputs/CustomTextarea/CustomTextarea.stories.js +0 -48
  22. package/dist/stories/Common Inputs/DatePicker/DatePicker.stories.js +0 -60
  23. package/dist/stories/Common Inputs/EditorComponent/EditorComponent.stories.js +0 -62
  24. package/dist/stories/Common Inputs/Formik/InputField/InputField.stories.js +0 -43
  25. package/dist/stories/Common Inputs/Formik/RadioField/RadioField.stories.js +0 -60
  26. package/dist/stories/Common Inputs/RadioInput/RadioInput.stories.js +0 -50
  27. package/dist/stories/Common Inputs/RichTextInput/RichTextInput.stories.js +0 -51
  28. package/dist/stories/Common Inputs/TextField/TextField.stories.js +0 -48
  29. package/dist/stories/Containers/BaseMaterial.stories.js +0 -24
  30. package/dist/stories/Containers/WidgetExample/WidgetBody.stories.js +0 -24
  31. package/dist/stories/Containers/WidgetExample/WidgetExample.stories.js +0 -24
  32. package/dist/stories/Containers/WidgetExample/WidgetHead.stories.js +0 -24
  33. package/dist/stories/Enrollment/Admin/CreateForm/CreateForm.stories.js +0 -22
  34. package/dist/stories/Enrollment/Admin/DetailedForm/DetailedForm.stories.js +0 -42
  35. package/dist/stories/Enrollment/Admin/ViewForms/ViewForms.stories.js +0 -65
  36. package/dist/stories/Enrollment/Guest/FillForm/FillForm.stories.js +0 -48
  37. package/dist/stories/Events/CreateEvent/CreateEvent.stories.js +0 -30
  38. package/dist/stories/Events/Event/Event.stories.js +0 -33
  39. package/dist/stories/Events/EventsList/EventsList.stories.js +0 -44
  40. package/dist/stories/Forms/AddPhoto/AddPhoto.stories.js +0 -47
  41. package/dist/stories/Forms/AddSong/AddSong.stories.js +0 -37
  42. package/dist/stories/Forms/AddVideo/AddVideo.stories.js +0 -33
  43. package/dist/stories/Forms/Create-Profile/CreateProfile.stories.js +0 -49
  44. package/dist/stories/Forms/Create-Profile/subcomponents/LogoUploader.stories.js +0 -42
  45. package/dist/stories/Forms/Create-Profile/subcomponents/ProfilePhoto.stories.js +0 -41
  46. package/dist/stories/Forms/Create-Profile/subcomponents/ResetBtn.stories.js +0 -32
  47. package/dist/stories/Forms/CreateAlbum/CreateAlbum.stories.js +0 -47
  48. package/dist/stories/Forms/CreateAnnouncementForm/CreateAnnouncementForm.stories.js +0 -58
  49. package/dist/stories/Forms/CreateMusicAlbum/CreateMusicAlbum.stories.js +0 -47
  50. package/dist/stories/Forms/CreateProfile/CreateProfile.stories.js +0 -24
  51. package/dist/stories/Forms/CreateProfile-3/CreateProfile.stories.js +0 -24
  52. package/dist/stories/Forms/CreateUser/CreateUser.stories.js +0 -26
  53. package/dist/stories/Forms/CreateVideoAlbum/CreateVideoAlbum.stories.js +0 -37
  54. package/dist/stories/Forms/Form/Form.stories.js +0 -24
  55. package/dist/stories/Forms/NewProfile/NewProfile.stories.js +0 -24
  56. package/dist/stories/Layout/Body/Body.stories.js +0 -30
  57. package/dist/stories/Layout/Center/Center.stories.js +0 -24
  58. package/dist/stories/Layout/Head/Head.stories.js +0 -24
  59. package/dist/stories/Layout/Left/Left.stories.js +0 -24
  60. package/dist/stories/Layout/Right/Right.stories.js +0 -24
  61. package/dist/stories/Library/CreateFolder/CreateFolder.stories.js +0 -45
  62. package/dist/stories/Library/Folders/Folders.stories.js +0 -55
  63. package/dist/stories/Library/Notes/Notes.stories.js +0 -42
  64. package/dist/stories/Library/ViewNote/ViewNote.stories.js +0 -24
  65. package/dist/stories/Music Album/ViewAlbum/ViewAlbum.stories.js +0 -115
  66. package/dist/stories/Music Album/ViewAlbums/ViewAlbums.stories.js +0 -107
  67. package/dist/stories/Navbar/Navbar.stories.js +0 -41
  68. package/dist/stories/Pages/Blank/Blank.stories.js +0 -24
  69. package/dist/stories/Pages/Centered/Centered.stories.js +0 -24
  70. package/dist/stories/Pages/Chat/Chat.stories.js +0 -74
  71. package/dist/stories/Pages/Enrollment/DetailedForm/DetailedForm.stories.js +0 -22
  72. package/dist/stories/Pages/Enrollment/FillForm/FillForm.stories.js +0 -22
  73. package/dist/stories/Pages/Enrollment/Forms/Forms.stories.js +0 -22
  74. package/dist/stories/Pages/Events/Event/Event.stories.js +0 -22
  75. package/dist/stories/Pages/Events/Events/Events.stories.js +0 -22
  76. package/dist/stories/Pages/Library/Folders/Library.stories.js +0 -22
  77. package/dist/stories/Pages/Library/Notes/Notes.stories.js +0 -22
  78. package/dist/stories/Pages/Music/MusicAlbum/Music.stories.js +0 -22
  79. package/dist/stories/Pages/Music/MusicAlbums/MusicAlbums.stories.js +0 -22
  80. package/dist/stories/Pages/Photos/Album/Album.stories.js +0 -22
  81. package/dist/stories/Pages/Photos/Albums/Albums.stories.js +0 -22
  82. package/dist/stories/Pages/Video/DetailedVideo/DetailedVideo.stories.js +0 -22
  83. package/dist/stories/Pages/Video/VideoAlbum/Video.stories.js +0 -22
  84. package/dist/stories/Pages/ViewWorld/ViewWorld.stories.js +0 -264
  85. package/dist/stories/Photo Album/DetailedPhoto/DetailedPhoto.stories.js +0 -32
  86. package/dist/stories/Photo Album/ViewAlbum/ViewAlbum.stories.js +0 -115
  87. package/dist/stories/Photo Album/ViewAlbums/ViewAlbums.stories.js +0 -102
  88. package/dist/stories/Reusable Components/Cards/Card-style-1/CardStyle1.stories.js +0 -35
  89. package/dist/stories/Reusable Components/Cards/Card-style-10/CardStyle10.stories.js +0 -37
  90. package/dist/stories/Reusable Components/Cards/Card-style-11/CardStyle11.stories.js +0 -40
  91. package/dist/stories/Reusable Components/Cards/Card-style-2/CardStyle2.stories.js +0 -37
  92. package/dist/stories/Reusable Components/Cards/Card-style-3/CardStyle3.stories.js +0 -34
  93. package/dist/stories/Reusable Components/Cards/Card-style-4/CardStyle4.stories.js +0 -39
  94. package/dist/stories/Reusable Components/Cards/Card-style-6/CardStyle6.stories.js +0 -27
  95. package/dist/stories/Reusable Components/Cards/Card-style-7/CardStyle7.stories.js +0 -37
  96. package/dist/stories/Reusable Components/Cards/Card-style-8/CardStyle8.stories.js +0 -44
  97. package/dist/stories/Reusable Components/Cards/Card-style-9/CardStyle9.stories.js +0 -27
  98. package/dist/stories/Reusable Components/Cards/Card.stories.js +0 -132
  99. package/dist/stories/Reusable Components/Controls/Controls.stories.js +0 -49
  100. package/dist/stories/Reusable Components/Gallery/Gallery.stories.js +0 -56
  101. package/dist/stories/Reusable Components/Lists/Cards/ListCard-1.stories.js +0 -1
  102. package/dist/stories/Reusable Components/Lists/List.stories.js +0 -1
  103. package/dist/stories/Reusable Components/Mention/Mention.stories.js +0 -66
  104. package/dist/stories/Reusable Components/ReusableForm/ReusableForm.stories.js +0 -207
  105. package/dist/stories/Reusable Components/ReusableHeader/ReusableHeader.stories.js +0 -35
  106. package/dist/stories/Reusable Components/ReusableList/ReusableList.stories.js +0 -84
  107. package/dist/stories/Reusable Components/SearchCard/SearchCard.stories.js +0 -24
  108. package/dist/stories/Reusable Components/SpaceContainer/SpaceContainer.stories.js +0 -80
  109. package/dist/stories/Reusable Components/Spinner/Spinner.stories.js +0 -22
  110. package/dist/stories/Reusable Components/WidgetContainer/WidgetContainer.stories.js +0 -80
  111. package/dist/stories/Spaces/WelcomeSpace/WelcomeSpace.stories.js +0 -24
  112. package/dist/stories/VideoAlbum/AlbumsGallery/AlbumsGallery.stories.js +0 -101
  113. package/dist/stories/VideoAlbum/Comments/Comments.stories.js +0 -45
  114. package/dist/stories/VideoAlbum/VideoPlayer/VideoPlayer.stories.js +0 -149
  115. package/dist/stories/VideoAlbum/VideoSpace/VideoSpace.stories.js +0 -49
  116. package/dist/stories/VideoAlbum/ViewAlbum/ViewAlbum.stories.js +0 -113
  117. package/dist/stories/Widgets/LogoWidget/LogoWidget.stories.js +0 -26
  118. package/dist/stories/Widgets/MusicPlayer/MusicPlayer.stories.js +0 -44
  119. package/dist/stories/Widgets/MusicPlayerWidget/MusicPlayerWidget.stories.js +0 -52
  120. package/dist/stories/Widgets/SpacesList/SpacesList.stories.js +0 -52
  121. package/dist/stories/Widgets/SpacesList/SpacesListItem.stories.js +0 -24
  122. package/public/logo192.png +0 -0
  123. package/public/logo512.png +0 -0
  124. package/src/stories/API/API.stories.js +0 -10
  125. package/src/stories/Agora/Chat/Chat.stories.jsx +0 -10
  126. package/src/stories/Agora/Room/Room.stories.jsx +0 -10
  127. package/src/stories/Buttons/Buttons/Buttons.stories.jsx +0 -24
  128. package/src/stories/Buttons/ReactModal/ReactModal.stories.jsx +0 -18
  129. package/src/stories/Chat/Chat.stories.jsx +0 -59
  130. package/src/stories/Common Inputs/CheckboxGroup/CheckboxGroup.stories.jsx +0 -32
  131. package/src/stories/Common Inputs/CustomAutoComplete/CustomAutoComplete.stories.jsx +0 -35
  132. package/src/stories/Common Inputs/CustomDropzone/CustomDropzone.stories.jsx +0 -26
  133. package/src/stories/Common Inputs/CustomSelect/CustomSelect.stories.jsx +0 -36
  134. package/src/stories/Common Inputs/CustomTextarea/CustomTextarea.stories.jsx +0 -31
  135. package/src/stories/Common Inputs/DatePicker/DatePicker.stories.jsx +0 -47
  136. package/src/stories/Common Inputs/EditorComponent/EditorComponent.stories.jsx +0 -60
  137. package/src/stories/Common Inputs/Formik/InputField/InputField.stories.jsx +0 -27
  138. package/src/stories/Common Inputs/Formik/RadioField/RadioField.stories.jsx +0 -41
  139. package/src/stories/Common Inputs/RadioInput/RadioInput.stories.js +0 -30
  140. package/src/stories/Common Inputs/RichTextInput/RichTextInput.stories.js +0 -45
  141. package/src/stories/Common Inputs/TextField/TextField.stories.jsx +0 -31
  142. package/src/stories/Containers/BaseMaterial.stories.js +0 -10
  143. package/src/stories/Containers/WidgetExample/WidgetBody.stories.js +0 -10
  144. package/src/stories/Containers/WidgetExample/WidgetExample.stories.js +0 -10
  145. package/src/stories/Containers/WidgetExample/WidgetHead.stories.js +0 -10
  146. package/src/stories/Enrollment/Admin/CreateForm/CreateForm.stories.jsx +0 -8
  147. package/src/stories/Enrollment/Admin/DetailedForm/DetailedForm.stories.jsx +0 -36
  148. package/src/stories/Enrollment/Admin/ViewForms/ViewForms.stories.jsx +0 -66
  149. package/src/stories/Enrollment/Guest/FillForm/FillForm.stories.jsx +0 -27
  150. package/src/stories/Events/CreateEvent/CreateEvent.stories.jsx +0 -19
  151. package/src/stories/Events/Event/Event.stories.jsx +0 -21
  152. package/src/stories/Events/EventsList/EventsList.stories.jsx +0 -25
  153. package/src/stories/Forms/AddPhoto/AddPhoto.stories.jsx +0 -37
  154. package/src/stories/Forms/AddSong/AddSong.stories.jsx +0 -26
  155. package/src/stories/Forms/AddVideo/AddVideo.stories.jsx +0 -20
  156. package/src/stories/Forms/Create-Profile/CreateProfile.stories.jsx +0 -36
  157. package/src/stories/Forms/Create-Profile/subcomponents/LogoUploader.stories.jsx +0 -27
  158. package/src/stories/Forms/Create-Profile/subcomponents/ProfilePhoto.stories.jsx +0 -26
  159. package/src/stories/Forms/Create-Profile/subcomponents/ResetBtn.stories.jsx +0 -18
  160. package/src/stories/Forms/CreateAlbum/CreateAlbum.stories.jsx +0 -37
  161. package/src/stories/Forms/CreateAnnouncementForm/CreateAnnouncementForm.stories.jsx +0 -44
  162. package/src/stories/Forms/CreateMusicAlbum/CreateMusicAlbum.stories.jsx +0 -38
  163. package/src/stories/Forms/CreateProfile/CreateProfile.stories.js +0 -10
  164. package/src/stories/Forms/CreateProfile-3/CreateProfile.stories.js +0 -10
  165. package/src/stories/Forms/CreateUser/CreateUser.stories.js +0 -10
  166. package/src/stories/Forms/CreateVideoAlbum/CreateVideoAlbum.stories.jsx +0 -23
  167. package/src/stories/Forms/Form/Form.stories.js +0 -10
  168. package/src/stories/Forms/NewProfile/NewProfile.stories.jsx +0 -10
  169. package/src/stories/Layout/Body/Body.stories.js +0 -26
  170. package/src/stories/Layout/Center/Center.stories.js +0 -14
  171. package/src/stories/Layout/Head/Head.stories.js +0 -10
  172. package/src/stories/Layout/Left/Left.stories.js +0 -14
  173. package/src/stories/Layout/Right/Right.stories.js +0 -14
  174. package/src/stories/Library/CreateFolder/CreateFolder.stories.jsx +0 -32
  175. package/src/stories/Library/Folders/Folders.stories.jsx +0 -34
  176. package/src/stories/Library/Notes/Notes.stories.jsx +0 -24
  177. package/src/stories/Library/ViewNote/ViewNote.stories.jsx +0 -16
  178. package/src/stories/Music Album/ViewAlbum/ViewAlbum.stories.jsx +0 -60
  179. package/src/stories/Music Album/ViewAlbums/ViewAlbums.stories.jsx +0 -57
  180. package/src/stories/Navbar/Navbar.stories.js +0 -25
  181. package/src/stories/Pages/Blank/Blank.stories.js +0 -10
  182. package/src/stories/Pages/Centered/Centered.stories.js +0 -14
  183. package/src/stories/Pages/Chat/Chat.stories.jsx +0 -53
  184. package/src/stories/Pages/Enrollment/DetailedForm/DetailedForm.stories.jsx +0 -8
  185. package/src/stories/Pages/Enrollment/FillForm/FillForm.stories.jsx +0 -8
  186. package/src/stories/Pages/Enrollment/Forms/Forms.stories.jsx +0 -8
  187. package/src/stories/Pages/Events/Event/Event.stories.jsx +0 -8
  188. package/src/stories/Pages/Events/Events/Events.stories.jsx +0 -8
  189. package/src/stories/Pages/Library/Folders/Library.stories.jsx +0 -8
  190. package/src/stories/Pages/Library/Notes/Notes.stories.jsx +0 -8
  191. package/src/stories/Pages/Music/MusicAlbum/Music.stories.jsx +0 -8
  192. package/src/stories/Pages/Music/MusicAlbums/MusicAlbums.stories.jsx +0 -8
  193. package/src/stories/Pages/Photos/Album/Album.stories.jsx +0 -8
  194. package/src/stories/Pages/Photos/Albums/Albums.stories.jsx +0 -8
  195. package/src/stories/Pages/Video/DetailedVideo/DetailedVideo.stories.jsx +0 -8
  196. package/src/stories/Pages/Video/VideoAlbum/Video.stories.jsx +0 -8
  197. package/src/stories/Pages/ViewWorld/ViewWorld.stories.js +0 -270
  198. package/src/stories/Photo Album/DetailedPhoto/DetailedPhoto.stories.jsx +0 -20
  199. package/src/stories/Photo Album/ViewAlbum/ViewAlbum.stories.jsx +0 -60
  200. package/src/stories/Photo Album/ViewAlbums/ViewAlbums.stories.jsx +0 -59
  201. package/src/stories/Reusable Components/Cards/Card-style-1/CardStyle1.stories.jsx +0 -22
  202. package/src/stories/Reusable Components/Cards/Card-style-10/CardStyle10.stories.jsx +0 -21
  203. package/src/stories/Reusable Components/Cards/Card-style-11/CardStyle11.stories.jsx +0 -21
  204. package/src/stories/Reusable Components/Cards/Card-style-2/CardStyle2.stories.jsx +0 -24
  205. package/src/stories/Reusable Components/Cards/Card-style-3/CardStyle3.stories.jsx +0 -22
  206. package/src/stories/Reusable Components/Cards/Card-style-4/CardStyle4.stories.jsx +0 -25
  207. package/src/stories/Reusable Components/Cards/Card-style-6/CardStyle6.stories.jsx +0 -9
  208. package/src/stories/Reusable Components/Cards/Card-style-7/CardStyle7.stories.jsx +0 -23
  209. package/src/stories/Reusable Components/Cards/Card-style-8/CardStyle8.stories.jsx +0 -29
  210. package/src/stories/Reusable Components/Cards/Card-style-9/CardStyle9.stories.jsx +0 -14
  211. package/src/stories/Reusable Components/Cards/Card.stories.jsx +0 -118
  212. package/src/stories/Reusable Components/Controls/Controls.stories.jsx +0 -24
  213. package/src/stories/Reusable Components/Gallery/Gallery.stories.jsx +0 -43
  214. package/src/stories/Reusable Components/Lists/Cards/ListCard-1.stories.js +0 -0
  215. package/src/stories/Reusable Components/Lists/List.stories.js +0 -0
  216. package/src/stories/Reusable Components/Mention/Mention.stories.jsx +0 -55
  217. package/src/stories/Reusable Components/ReusableForm/ReusableForm.stories.jsx +0 -167
  218. package/src/stories/Reusable Components/ReusableHeader/ReusableHeader.stories.jsx +0 -22
  219. package/src/stories/Reusable Components/ReusableList/ReusableList.stories.jsx +0 -70
  220. package/src/stories/Reusable Components/SearchCard/SearchCard.stories.js +0 -10
  221. package/src/stories/Reusable Components/SpaceContainer/SpaceContainer.stories.jsx +0 -78
  222. package/src/stories/Reusable Components/Spinner/Spinner.stories.jsx +0 -8
  223. package/src/stories/Reusable Components/WidgetContainer/WidgetContainer.stories.jsx +0 -61
  224. package/src/stories/Spaces/WelcomeSpace/WelcomeSpace.stories.js +0 -10
  225. package/src/stories/VideoAlbum/AlbumsGallery/AlbumsGallery.stories.jsx +0 -59
  226. package/src/stories/VideoAlbum/Comments/Comments.stories.jsx +0 -18
  227. package/src/stories/VideoAlbum/VideoPlayer/VideoPlayer.stories.jsx +0 -82
  228. package/src/stories/VideoAlbum/VideoSpace/VideoSpace.stories.jsx +0 -23
  229. package/src/stories/VideoAlbum/ViewAlbum/ViewAlbum.stories.jsx +0 -57
  230. package/src/stories/Widgets/LogoWidget/LogoWidget.stories.js +0 -12
  231. package/src/stories/Widgets/MusicPlayer/MusicPlayer.stories.jsx +0 -23
  232. package/src/stories/Widgets/MusicPlayerWidget/MusicPlayerWidget.stories.jsx +0 -33
  233. package/src/stories/Widgets/SpacesList/SpacesList.stories.jsx +0 -27
  234. package/src/stories/Widgets/SpacesList/SpacesListItem.stories.jsx +0 -10
  235. package/src/stories/assets/images/album1.jpg +0 -0
  236. package/src/stories/assets/images/album2.jpg +0 -0
  237. package/src/stories/assets/images/album3.jpg +0 -0
  238. package/src/stories/assets/images/album4.jpg +0 -0
  239. package/src/stories/assets/images/album5.jpg +0 -0
  240. package/src/stories/assets/images/album6.jpg +0 -0
  241. package/src/stories/assets/images/art.jpg +0 -0
  242. package/src/stories/assets/images/dance.jpg +0 -0
  243. package/src/stories/assets/images/football.jpg +0 -0
  244. package/src/stories/assets/images/music.jpg +0 -0
  245. package/src/stories/assets/images/music1.jpg +0 -0
  246. package/src/stories/assets/images/music2.jpg +0 -0
  247. package/src/stories/assets/images/music3.jpg +0 -0
  248. package/src/stories/assets/images/music4.jpg +0 -0
  249. package/src/stories/assets/images/music5.jpg +0 -0
  250. package/src/stories/assets/images/music6.jpg +0 -0
  251. package/src/stories/assets/images/reset.png +0 -0
  252. package/src/stories/assets/images/robotics.jpg +0 -0
  253. package/src/stories/assets/images/tennis.jpg +0 -0
@@ -1,45 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Folder = exports.default = void 0;
9
-
10
- var _CreateFolder = _interopRequireDefault(require("./CreateFolder"));
11
-
12
- var _default = {
13
- title: 'Library/Create New Folder',
14
- component: _CreateFolder.default
15
- };
16
- exports.default = _default;
17
- var formStyles = {
18
- headerStyles: {
19
- padding: 10,
20
- headerBackground: 'black',
21
- titleColor: '#ffff'
22
- },
23
- sectionPadding: 10,
24
- bodyRowGap: 10
25
- };
26
-
27
- var saveHandler = function saveHandler(photo) {
28
- console.log(photo);
29
- };
30
-
31
- var cancelHandler = function cancelHandler() {
32
- console.log('Canceled');
33
- };
34
-
35
- var Folder = function Folder(args) {
36
- return /*#__PURE__*/React.createElement(_CreateFolder.default, Object.assign({
37
- saveHandler: saveHandler,
38
- cancelHandler: cancelHandler,
39
- saveBtnText: "Create",
40
- cancelBtnText: "Cancel",
41
- formStyles: formStyles
42
- }, args));
43
- };
44
-
45
- exports.Folder = Folder;
@@ -1,55 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.viewFolders = exports.default = void 0;
9
-
10
- var _Folders = _interopRequireDefault(require("./Folders"));
11
-
12
- var _default = {
13
- title: 'Library/Folders',
14
- component: _Folders.default
15
- };
16
- exports.default = _default;
17
- var folders = [{
18
- title: 'Folder one',
19
- description: 'Discription for folder one'
20
- }, {
21
- title: 'Folder two',
22
- description: 'Discription for folder two'
23
- }, {
24
- title: 'Folder three',
25
- description: 'Discription for folder three'
26
- }, {
27
- title: 'Folder four',
28
- description: 'Discription for folder four'
29
- }, {
30
- title: 'Folder five',
31
- description: 'Discription for folder five'
32
- }, {
33
- title: 'Folder six',
34
- description: 'Discription for folder six'
35
- }];
36
-
37
- var Template = function Template(args) {
38
- return /*#__PURE__*/React.createElement(_Folders.default, args);
39
- };
40
-
41
- var viewFolders = Template.bind({});
42
- exports.viewFolders = viewFolders;
43
- viewFolders.args = {
44
- folders: folders,
45
- folderTitle: 'Your Folders',
46
- columnsNumber: 3,
47
- headerStyles: {
48
- padding: 10,
49
- headerBackground: '#ff2d2d',
50
- titleColor: 'white',
51
- controlsStyles: {
52
- iconSize: 25
53
- }
54
- }
55
- };
@@ -1,42 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.List = exports.default = void 0;
9
-
10
- var _Notes = _interopRequireDefault(require("./Notes"));
11
-
12
- var _default = {
13
- title: 'Library/Notes List',
14
- component: _Notes.default
15
- };
16
- exports.default = _default;
17
- var notes = [{
18
- title: 'Study notes',
19
- date: '15/11/2020'
20
- }, {
21
- title: 'Music notes',
22
- date: '14/12/2020'
23
- }, {
24
- title: 'Workout notes',
25
- date: '5/8/2021'
26
- }, {
27
- title: 'Gaming notes',
28
- date: '14/4/2023'
29
- }, {
30
- title: 'Working notes',
31
- date: '5/6/2021'
32
- }];
33
-
34
- var Template = function Template(args) {
35
- return /*#__PURE__*/React.createElement(_Notes.default, args);
36
- };
37
-
38
- var List = Template.bind({});
39
- exports.List = List;
40
- List.args = {
41
- notes: notes
42
- };
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Note = exports.default = void 0;
9
-
10
- var _ViewNote = _interopRequireDefault(require("./ViewNote"));
11
-
12
- var _default = {
13
- title: 'Library/View Note',
14
- component: _ViewNote.default
15
- };
16
- exports.default = _default;
17
-
18
- var Template = function Template(args) {
19
- return /*#__PURE__*/React.createElement(_ViewNote.default, args);
20
- };
21
-
22
- var Note = Template.bind({});
23
- exports.Note = Note;
24
- Note.args = {};
@@ -1,115 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Album = exports.default = void 0;
9
-
10
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
11
-
12
- var _react = _interopRequireWildcard(require("react"));
13
-
14
- var _ViewAlbum = _interopRequireDefault(require("./ViewAlbum"));
15
-
16
- var _util = require("../../helpers/util");
17
-
18
- var _music = _interopRequireDefault(require("../../assets/images/music1.jpg"));
19
-
20
- var _music2 = _interopRequireDefault(require("../../assets/images/music2.jpg"));
21
-
22
- var _music3 = _interopRequireDefault(require("../../assets/images/music3.jpg"));
23
-
24
- var _music4 = _interopRequireDefault(require("../../assets/images/music4.jpg"));
25
-
26
- var _music5 = _interopRequireDefault(require("../../assets/images/music5.jpg"));
27
-
28
- var _music6 = _interopRequireDefault(require("../../assets/images/music6.jpg"));
29
-
30
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
-
32
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
-
34
- var _default = {
35
- title: 'Music Albums/Album List',
36
- component: _ViewAlbum.default
37
- };
38
- exports.default = _default;
39
-
40
- var Album = function Album(args) {
41
- var _useState = (0, _react.useState)([{
42
- index: 0,
43
- cover: _music4.default,
44
- title: 'Plans We Made',
45
- description: 'Son Lux',
46
- time: '5:20'
47
- }, {
48
- index: 2,
49
- cover: _music6.default,
50
- title: 'Still Loving You',
51
- description: 'Scorpions',
52
- time: '4:20'
53
- }, {
54
- index: 1,
55
- cover: _music5.default,
56
- title: 'Night',
57
- description: 'Frank Ocean',
58
- time: '5:20'
59
- }, {
60
- index: 3,
61
- cover: _music.default,
62
- title: 'Somebody Else',
63
- description: '1975',
64
- time: '5:20'
65
- }, {
66
- index: 4,
67
- cover: _music3.default,
68
- title: 'Enter Sandman',
69
- description: 'Metallica',
70
- time: '5:20'
71
- }, {
72
- index: 5,
73
- cover: _music2.default,
74
- title: 'November Rain',
75
- description: "Guns N' Roses",
76
- time: '5:20'
77
- }]),
78
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
79
- album = _useState2[0],
80
- setAlbum = _useState2[1];
81
-
82
- var cardIconClicked = function cardIconClicked(action, index) {
83
- switch (action) {
84
- case 'delete':
85
- onDeleteSong(index);
86
- break;
87
-
88
- default:
89
- break;
90
- }
91
- };
92
-
93
- var onAddSong = function onAddSong(song) {
94
- var newSong = {
95
- song: song.file,
96
- img: song.cover.meta.previewUrl,
97
- title: song.title,
98
- description: song.artist,
99
- time: new Date(song.song.meta.duration * 1000).toISOString().substr(14, 5)
100
- };
101
- setAlbum((0, _util.addObjectToArray)(album, newSong));
102
- };
103
-
104
- var onDeleteSong = function onDeleteSong(index) {
105
- setAlbum((0, _util.deleteFromArrayByIndex)(album, index));
106
- };
107
-
108
- return /*#__PURE__*/_react.default.createElement(_ViewAlbum.default, Object.assign({
109
- album: album,
110
- onAddSong: onAddSong,
111
- cardIconClicked: cardIconClicked
112
- }, args));
113
- };
114
-
115
- exports.Album = Album;
@@ -1,107 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Albums = exports.default = void 0;
9
-
10
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
11
-
12
- var _react = _interopRequireWildcard(require("react"));
13
-
14
- var _ViewAlbums = _interopRequireDefault(require("./ViewAlbums"));
15
-
16
- var _util = require("../../helpers/util");
17
-
18
- var _music = _interopRequireDefault(require("../../assets/images/music1.jpg"));
19
-
20
- var _music2 = _interopRequireDefault(require("../../assets/images/music2.jpg"));
21
-
22
- var _music3 = _interopRequireDefault(require("../../assets/images/music3.jpg"));
23
-
24
- var _music4 = _interopRequireDefault(require("../../assets/images/music4.jpg"));
25
-
26
- var _music5 = _interopRequireDefault(require("../../assets/images/music5.jpg"));
27
-
28
- var _music6 = _interopRequireDefault(require("../../assets/images/music6.jpg"));
29
-
30
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
-
32
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
-
34
- var _default = {
35
- title: 'Music Albums/Music Albums',
36
- component: _ViewAlbums.default
37
- };
38
- exports.default = _default;
39
-
40
- var Albums = function Albums(args) {
41
- var _useState = (0, _react.useState)([{
42
- index: 0,
43
- img: _music4.default,
44
- title: 'Tomorrows |',
45
- description: 'Son Lux'
46
- }, {
47
- index: 1,
48
- img: _music5.default,
49
- title: 'Blond',
50
- description: 'Frank Ocean'
51
- }, {
52
- index: 2,
53
- img: _music6.default,
54
- title: 'Love At First Sting',
55
- description: 'Scorpions'
56
- }, {
57
- index: 3,
58
- img: _music.default,
59
- title: 'The 1975',
60
- description: '1975'
61
- }, {
62
- index: 4,
63
- img: _music3.default,
64
- title: 'Hardwired...To Self-Destruct',
65
- description: 'Metallica'
66
- }, {
67
- index: 5,
68
- img: _music2.default,
69
- title: 'Use Your IIIlusion |',
70
- description: "Guns N' Roses"
71
- }]),
72
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
73
- albums = _useState2[0],
74
- setAlbums = _useState2[1];
75
-
76
- var cardIconClicked = function cardIconClicked(action, index) {
77
- switch (action) {
78
- case 'delete':
79
- deleteFromAlbums(index);
80
- break;
81
-
82
- default:
83
- break;
84
- }
85
- };
86
-
87
- var onAddAlbum = function onAddAlbum(album) {
88
- var newAlbum = {
89
- img: album.cover.preview,
90
- title: album.title,
91
- description: album.artist
92
- };
93
- setAlbums((0, _util.addObjectToArray)(albums, newAlbum));
94
- };
95
-
96
- var deleteFromAlbums = function deleteFromAlbums(index) {
97
- setAlbums((0, _util.deleteFromArrayByIndex)(albums, index));
98
- };
99
-
100
- return /*#__PURE__*/_react.default.createElement(_ViewAlbums.default, Object.assign({
101
- albums: albums,
102
- cardIconClicked: cardIconClicked,
103
- onAddAlbum: onAddAlbum
104
- }, args));
105
- };
106
-
107
- exports.Albums = Albums;
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Default = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _Navbar = _interopRequireDefault(require("./Navbar"));
13
-
14
- var _default = {
15
- title: 'Navbar/Default',
16
- component: _Navbar.default,
17
- argTypes: {
18
- iconSize: {
19
- options: ['sm', 'md', 'lg'],
20
- control: {
21
- type: 'select'
22
- }
23
- },
24
- iconBackgroundColor: {
25
- type: 'string'
26
- },
27
- navbarColor: {
28
- type: 'string'
29
- },
30
- dropDownItemHeight: {
31
- type: 'string'
32
- }
33
- }
34
- };
35
- exports.default = _default;
36
-
37
- var Default = function Default(props) {
38
- return /*#__PURE__*/_react.default.createElement(_Navbar.default, props);
39
- };
40
-
41
- exports.Default = Default;
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Default = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _Blank = _interopRequireDefault(require("./Blank"));
13
-
14
- var _default = {
15
- title: 'Pages/Blank',
16
- component: _Blank.default
17
- };
18
- exports.default = _default;
19
-
20
- var Default = function Default(props) {
21
- return /*#__PURE__*/_react.default.createElement(_Blank.default, props);
22
- };
23
-
24
- exports.Default = Default;
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Default = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _Centered = _interopRequireDefault(require("./Centered"));
13
-
14
- var _default = {
15
- title: 'Pages/Centered',
16
- component: _Centered.default
17
- };
18
- exports.default = _default;
19
-
20
- var Default = function Default(props) {
21
- return /*#__PURE__*/_react.default.createElement(_Centered.default, props, "Welcome To Community Builder Pro");
22
- };
23
-
24
- exports.Default = Default;
@@ -1,74 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Page = exports.default = void 0;
9
-
10
- var _Chat = _interopRequireDefault(require("./Chat"));
11
-
12
- var _default = {
13
- title: 'Pages/Chat',
14
- component: _Chat.default
15
- };
16
- exports.default = _default;
17
- var users = [{
18
- id: 'walter',
19
- display: 'Walter White'
20
- }, {
21
- id: 'jesse',
22
- display: 'Jesse Pinkman'
23
- }, {
24
- id: 'gus',
25
- display: 'Gustavo "Gus" Fring'
26
- }, {
27
- id: 'saul',
28
- display: 'Saul Goodman'
29
- }, {
30
- id: 'hank',
31
- display: 'Hank Schrader'
32
- }, {
33
- id: 'skyler',
34
- display: 'Skyler White'
35
- }, {
36
- id: 'mike',
37
- display: 'Mike Ehrmantraut'
38
- }, {
39
- id: 'lydia',
40
- display: 'Lydìã Rôdarté-Qüayle'
41
- }];
42
- var data = [{
43
- username: 'Test User',
44
- img: "https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png",
45
- date: '5/11/2021',
46
- text: 'This is fake chat test This is fake chat test This is fake chat test This is fake chat test This is fake chat test '
47
- }, {
48
- username: 'Test User',
49
- img: "https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png",
50
- date: '5/11/2021',
51
- text: 'This is fake chat test This is fake chat test This is fake chat test This is fake chat test This is fake chat test ',
52
- media: /*#__PURE__*/React.createElement("img", {
53
- src: "https://arabhardware.net/wp-content/uploads/2020/03/valorant-2020-4k-0f-scaled.jpg"
54
- })
55
- }, {
56
- username: 'Test User',
57
- img: "https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png",
58
- date: '5/11/2021',
59
- text: 'This is fake chat test This is fake chat test This is fake chat test This is fake chat test This is fake chat test '
60
- }, {
61
- username: 'Test User',
62
- img: "https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png",
63
- date: '5/11/2021',
64
- text: 'This is fake chat test This is fake chat test This is fake chat test This is fake chat test This is fake chat test '
65
- }];
66
-
67
- var Page = function Page(args) {
68
- return /*#__PURE__*/React.createElement(_Chat.default, Object.assign({
69
- users: users,
70
- data: data
71
- }, args));
72
- };
73
-
74
- exports.Page = Page;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Form = exports.default = void 0;
9
-
10
- var _DetailedForm = _interopRequireDefault(require("./DetailedForm"));
11
-
12
- var _default = {
13
- title: 'Pages/Enrollment/Detailed Form',
14
- component: _DetailedForm.default
15
- };
16
- exports.default = _default;
17
-
18
- var Form = function Form(args) {
19
- return /*#__PURE__*/React.createElement(_DetailedForm.default, args);
20
- };
21
-
22
- exports.Form = Form;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.form = exports.default = void 0;
9
-
10
- var _FillForm = _interopRequireDefault(require("./FillForm"));
11
-
12
- var _default = {
13
- title: 'Pages/Enrollment/Fill Form',
14
- component: _FillForm.default
15
- };
16
- exports.default = _default;
17
-
18
- var form = function form(args) {
19
- return /*#__PURE__*/React.createElement(_FillForm.default, args);
20
- };
21
-
22
- exports.form = form;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.ViewForms = exports.default = void 0;
9
-
10
- var _Forms = _interopRequireDefault(require("./Forms"));
11
-
12
- var _default = {
13
- title: 'Pages/Enrollment/Forms',
14
- component: _Forms.default
15
- };
16
- exports.default = _default;
17
-
18
- var ViewForms = function ViewForms(args) {
19
- return /*#__PURE__*/React.createElement(_Forms.default, args);
20
- };
21
-
22
- exports.ViewForms = ViewForms;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.DetailedEvent = exports.default = void 0;
9
-
10
- var _Event = _interopRequireDefault(require("./Event"));
11
-
12
- var _default = {
13
- title: 'Pages/Events/Detailed Event',
14
- component: _Event.default
15
- };
16
- exports.default = _default;
17
-
18
- var DetailedEvent = function DetailedEvent(args) {
19
- return /*#__PURE__*/React.createElement(_Event.default, args);
20
- };
21
-
22
- exports.DetailedEvent = DetailedEvent;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.eventsList = exports.default = void 0;
9
-
10
- var _Events = _interopRequireDefault(require("./Events"));
11
-
12
- var _default = {
13
- title: 'pages/Events/Events list',
14
- component: _Events.default
15
- };
16
- exports.default = _default;
17
-
18
- var eventsList = function eventsList(args) {
19
- return /*#__PURE__*/React.createElement(_Events.default, args);
20
- };
21
-
22
- exports.eventsList = eventsList;