@mohamed-karawia/library 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. package/.env +3 -0
  2. package/.eslintcache +1 -0
  3. package/dist/stories/helpers/util.js +16 -14
  4. package/package.json +1 -1
  5. package/src/stories/helpers/util.js +1 -0
  6. package/dist/stories/API/API.stories.js +0 -24
  7. package/dist/stories/Agora/Chat/Chat.stories.js +0 -24
  8. package/dist/stories/Agora/Room/Room.stories.js +0 -24
  9. package/dist/stories/Buttons/Buttons/Buttons.stories.js +0 -39
  10. package/dist/stories/Buttons/ReactModal/ReactModal.stories.js +0 -30
  11. package/dist/stories/Chat/Chat.stories.js +0 -76
  12. package/dist/stories/Common Inputs/CheckboxGroup/CheckboxGroup.stories.js +0 -58
  13. package/dist/stories/Common Inputs/CustomAutoComplete/CustomAutoComplete.stories.js +0 -56
  14. package/dist/stories/Common Inputs/CustomDropzone/CustomDropzone.stories.js +0 -47
  15. package/dist/stories/Common Inputs/CustomSelect/CustomSelect.stories.js +0 -61
  16. package/dist/stories/Common Inputs/CustomTextarea/CustomTextarea.stories.js +0 -48
  17. package/dist/stories/Common Inputs/DatePicker/DatePicker.stories.js +0 -60
  18. package/dist/stories/Common Inputs/EditorComponent/EditorComponent.stories.js +0 -62
  19. package/dist/stories/Common Inputs/Formik/InputField/InputField.stories.js +0 -43
  20. package/dist/stories/Common Inputs/Formik/RadioField/RadioField.stories.js +0 -60
  21. package/dist/stories/Common Inputs/RadioInput/RadioInput.stories.js +0 -50
  22. package/dist/stories/Common Inputs/RichTextInput/RichTextInput.stories.js +0 -51
  23. package/dist/stories/Common Inputs/TextField/TextField.stories.js +0 -48
  24. package/dist/stories/Containers/BaseMaterial.stories.js +0 -24
  25. package/dist/stories/Containers/WidgetExample/WidgetBody.stories.js +0 -24
  26. package/dist/stories/Containers/WidgetExample/WidgetExample.stories.js +0 -24
  27. package/dist/stories/Containers/WidgetExample/WidgetHead.stories.js +0 -24
  28. package/dist/stories/Enrollment/Admin/CreateForm/CreateForm.stories.js +0 -22
  29. package/dist/stories/Enrollment/Admin/DetailedForm/DetailedForm.stories.js +0 -42
  30. package/dist/stories/Enrollment/Admin/ViewForms/ViewForms.stories.js +0 -65
  31. package/dist/stories/Enrollment/Guest/FillForm/FillForm.stories.js +0 -48
  32. package/dist/stories/Events/CreateEvent/CreateEvent.stories.js +0 -30
  33. package/dist/stories/Events/Event/Event.stories.js +0 -33
  34. package/dist/stories/Events/EventsList/EventsList.stories.js +0 -44
  35. package/dist/stories/Forms/AddPhoto/AddPhoto.stories.js +0 -47
  36. package/dist/stories/Forms/AddSong/AddSong.stories.js +0 -37
  37. package/dist/stories/Forms/AddVideo/AddVideo.stories.js +0 -33
  38. package/dist/stories/Forms/Create-Profile/CreateProfile.stories.js +0 -49
  39. package/dist/stories/Forms/Create-Profile/subcomponents/LogoUploader.stories.js +0 -42
  40. package/dist/stories/Forms/Create-Profile/subcomponents/ProfilePhoto.stories.js +0 -41
  41. package/dist/stories/Forms/Create-Profile/subcomponents/ResetBtn.stories.js +0 -32
  42. package/dist/stories/Forms/CreateAlbum/CreateAlbum.stories.js +0 -47
  43. package/dist/stories/Forms/CreateAnnouncementForm/CreateAnnouncementForm.stories.js +0 -58
  44. package/dist/stories/Forms/CreateMusicAlbum/CreateMusicAlbum.stories.js +0 -47
  45. package/dist/stories/Forms/CreateProfile/CreateProfile.stories.js +0 -24
  46. package/dist/stories/Forms/CreateProfile-3/CreateProfile.stories.js +0 -24
  47. package/dist/stories/Forms/CreateUser/CreateUser.stories.js +0 -26
  48. package/dist/stories/Forms/CreateVideoAlbum/CreateVideoAlbum.stories.js +0 -37
  49. package/dist/stories/Forms/Form/Form.stories.js +0 -24
  50. package/dist/stories/Forms/NewProfile/NewProfile.stories.js +0 -24
  51. package/dist/stories/Layout/Body/Body.stories.js +0 -30
  52. package/dist/stories/Layout/Center/Center.stories.js +0 -24
  53. package/dist/stories/Layout/Head/Head.stories.js +0 -24
  54. package/dist/stories/Layout/Left/Left.stories.js +0 -24
  55. package/dist/stories/Layout/Right/Right.stories.js +0 -24
  56. package/dist/stories/Library/CreateFolder/CreateFolder.stories.js +0 -45
  57. package/dist/stories/Library/Folders/Folders.stories.js +0 -55
  58. package/dist/stories/Library/Notes/Notes.stories.js +0 -42
  59. package/dist/stories/Library/ViewNote/ViewNote.stories.js +0 -24
  60. package/dist/stories/Music Album/ViewAlbum/ViewAlbum.stories.js +0 -115
  61. package/dist/stories/Music Album/ViewAlbums/ViewAlbums.stories.js +0 -107
  62. package/dist/stories/Navbar/Navbar.stories.js +0 -41
  63. package/dist/stories/Pages/Blank/Blank.stories.js +0 -24
  64. package/dist/stories/Pages/Centered/Centered.stories.js +0 -24
  65. package/dist/stories/Pages/Chat/Chat.stories.js +0 -74
  66. package/dist/stories/Pages/Enrollment/DetailedForm/DetailedForm.stories.js +0 -22
  67. package/dist/stories/Pages/Enrollment/FillForm/FillForm.stories.js +0 -22
  68. package/dist/stories/Pages/Enrollment/Forms/Forms.stories.js +0 -22
  69. package/dist/stories/Pages/Events/Event/Event.stories.js +0 -22
  70. package/dist/stories/Pages/Events/Events/Events.stories.js +0 -22
  71. package/dist/stories/Pages/Library/Folders/Library.stories.js +0 -22
  72. package/dist/stories/Pages/Library/Notes/Notes.stories.js +0 -22
  73. package/dist/stories/Pages/Music/MusicAlbum/Music.stories.js +0 -22
  74. package/dist/stories/Pages/Music/MusicAlbums/MusicAlbums.stories.js +0 -22
  75. package/dist/stories/Pages/Photos/Album/Album.stories.js +0 -22
  76. package/dist/stories/Pages/Photos/Albums/Albums.stories.js +0 -22
  77. package/dist/stories/Pages/Video/DetailedVideo/DetailedVideo.stories.js +0 -22
  78. package/dist/stories/Pages/Video/VideoAlbum/Video.stories.js +0 -22
  79. package/dist/stories/Pages/ViewWorld/ViewWorld.stories.js +0 -264
  80. package/dist/stories/Photo Album/DetailedPhoto/DetailedPhoto.stories.js +0 -32
  81. package/dist/stories/Photo Album/ViewAlbum/ViewAlbum.stories.js +0 -115
  82. package/dist/stories/Photo Album/ViewAlbums/ViewAlbums.stories.js +0 -102
  83. package/dist/stories/Reusable Components/Cards/Card-style-1/CardStyle1.stories.js +0 -35
  84. package/dist/stories/Reusable Components/Cards/Card-style-10/CardStyle10.stories.js +0 -37
  85. package/dist/stories/Reusable Components/Cards/Card-style-11/CardStyle11.stories.js +0 -40
  86. package/dist/stories/Reusable Components/Cards/Card-style-2/CardStyle2.stories.js +0 -37
  87. package/dist/stories/Reusable Components/Cards/Card-style-3/CardStyle3.stories.js +0 -34
  88. package/dist/stories/Reusable Components/Cards/Card-style-4/CardStyle4.stories.js +0 -39
  89. package/dist/stories/Reusable Components/Cards/Card-style-6/CardStyle6.stories.js +0 -27
  90. package/dist/stories/Reusable Components/Cards/Card-style-7/CardStyle7.stories.js +0 -37
  91. package/dist/stories/Reusable Components/Cards/Card-style-8/CardStyle8.stories.js +0 -44
  92. package/dist/stories/Reusable Components/Cards/Card-style-9/CardStyle9.stories.js +0 -27
  93. package/dist/stories/Reusable Components/Cards/Card.stories.js +0 -132
  94. package/dist/stories/Reusable Components/Controls/Controls.stories.js +0 -49
  95. package/dist/stories/Reusable Components/Gallery/Gallery.stories.js +0 -56
  96. package/dist/stories/Reusable Components/Lists/Cards/ListCard-1.stories.js +0 -1
  97. package/dist/stories/Reusable Components/Lists/List.stories.js +0 -1
  98. package/dist/stories/Reusable Components/Mention/Mention.stories.js +0 -66
  99. package/dist/stories/Reusable Components/ReusableForm/ReusableForm.stories.js +0 -207
  100. package/dist/stories/Reusable Components/ReusableHeader/ReusableHeader.stories.js +0 -35
  101. package/dist/stories/Reusable Components/ReusableList/ReusableList.stories.js +0 -84
  102. package/dist/stories/Reusable Components/SearchCard/SearchCard.stories.js +0 -24
  103. package/dist/stories/Reusable Components/SpaceContainer/SpaceContainer.stories.js +0 -80
  104. package/dist/stories/Reusable Components/Spinner/Spinner.stories.js +0 -22
  105. package/dist/stories/Reusable Components/WidgetContainer/WidgetContainer.stories.js +0 -80
  106. package/dist/stories/Spaces/WelcomeSpace/WelcomeSpace.stories.js +0 -24
  107. package/dist/stories/VideoAlbum/AlbumsGallery/AlbumsGallery.stories.js +0 -101
  108. package/dist/stories/VideoAlbum/Comments/Comments.stories.js +0 -45
  109. package/dist/stories/VideoAlbum/VideoPlayer/VideoPlayer.stories.js +0 -149
  110. package/dist/stories/VideoAlbum/VideoSpace/VideoSpace.stories.js +0 -49
  111. package/dist/stories/VideoAlbum/ViewAlbum/ViewAlbum.stories.js +0 -113
  112. package/dist/stories/Widgets/LogoWidget/LogoWidget.stories.js +0 -26
  113. package/dist/stories/Widgets/MusicPlayer/MusicPlayer.stories.js +0 -44
  114. package/dist/stories/Widgets/MusicPlayerWidget/MusicPlayerWidget.stories.js +0 -52
  115. package/dist/stories/Widgets/SpacesList/SpacesList.stories.js +0 -52
  116. package/dist/stories/Widgets/SpacesList/SpacesListItem.stories.js +0 -24
  117. package/public/logo192.png +0 -0
  118. package/public/logo512.png +0 -0
  119. package/src/stories/API/API.stories.js +0 -10
  120. package/src/stories/Agora/Chat/Chat.stories.jsx +0 -10
  121. package/src/stories/Agora/Room/Room.stories.jsx +0 -10
  122. package/src/stories/Buttons/Buttons/Buttons.stories.jsx +0 -24
  123. package/src/stories/Buttons/ReactModal/ReactModal.stories.jsx +0 -18
  124. package/src/stories/Chat/Chat.stories.jsx +0 -59
  125. package/src/stories/Common Inputs/CheckboxGroup/CheckboxGroup.stories.jsx +0 -32
  126. package/src/stories/Common Inputs/CustomAutoComplete/CustomAutoComplete.stories.jsx +0 -35
  127. package/src/stories/Common Inputs/CustomDropzone/CustomDropzone.stories.jsx +0 -26
  128. package/src/stories/Common Inputs/CustomSelect/CustomSelect.stories.jsx +0 -36
  129. package/src/stories/Common Inputs/CustomTextarea/CustomTextarea.stories.jsx +0 -31
  130. package/src/stories/Common Inputs/DatePicker/DatePicker.stories.jsx +0 -47
  131. package/src/stories/Common Inputs/EditorComponent/EditorComponent.stories.jsx +0 -60
  132. package/src/stories/Common Inputs/Formik/InputField/InputField.stories.jsx +0 -27
  133. package/src/stories/Common Inputs/Formik/RadioField/RadioField.stories.jsx +0 -41
  134. package/src/stories/Common Inputs/RadioInput/RadioInput.stories.js +0 -30
  135. package/src/stories/Common Inputs/RichTextInput/RichTextInput.stories.js +0 -45
  136. package/src/stories/Common Inputs/TextField/TextField.stories.jsx +0 -31
  137. package/src/stories/Containers/BaseMaterial.stories.js +0 -10
  138. package/src/stories/Containers/WidgetExample/WidgetBody.stories.js +0 -10
  139. package/src/stories/Containers/WidgetExample/WidgetExample.stories.js +0 -10
  140. package/src/stories/Containers/WidgetExample/WidgetHead.stories.js +0 -10
  141. package/src/stories/Enrollment/Admin/CreateForm/CreateForm.stories.jsx +0 -8
  142. package/src/stories/Enrollment/Admin/DetailedForm/DetailedForm.stories.jsx +0 -36
  143. package/src/stories/Enrollment/Admin/ViewForms/ViewForms.stories.jsx +0 -66
  144. package/src/stories/Enrollment/Guest/FillForm/FillForm.stories.jsx +0 -27
  145. package/src/stories/Events/CreateEvent/CreateEvent.stories.jsx +0 -19
  146. package/src/stories/Events/Event/Event.stories.jsx +0 -21
  147. package/src/stories/Events/EventsList/EventsList.stories.jsx +0 -25
  148. package/src/stories/Forms/AddPhoto/AddPhoto.stories.jsx +0 -37
  149. package/src/stories/Forms/AddSong/AddSong.stories.jsx +0 -26
  150. package/src/stories/Forms/AddVideo/AddVideo.stories.jsx +0 -20
  151. package/src/stories/Forms/Create-Profile/CreateProfile.stories.jsx +0 -36
  152. package/src/stories/Forms/Create-Profile/subcomponents/LogoUploader.stories.jsx +0 -27
  153. package/src/stories/Forms/Create-Profile/subcomponents/ProfilePhoto.stories.jsx +0 -26
  154. package/src/stories/Forms/Create-Profile/subcomponents/ResetBtn.stories.jsx +0 -18
  155. package/src/stories/Forms/CreateAlbum/CreateAlbum.stories.jsx +0 -37
  156. package/src/stories/Forms/CreateAnnouncementForm/CreateAnnouncementForm.stories.jsx +0 -44
  157. package/src/stories/Forms/CreateMusicAlbum/CreateMusicAlbum.stories.jsx +0 -38
  158. package/src/stories/Forms/CreateProfile/CreateProfile.stories.js +0 -10
  159. package/src/stories/Forms/CreateProfile-3/CreateProfile.stories.js +0 -10
  160. package/src/stories/Forms/CreateUser/CreateUser.stories.js +0 -10
  161. package/src/stories/Forms/CreateVideoAlbum/CreateVideoAlbum.stories.jsx +0 -23
  162. package/src/stories/Forms/Form/Form.stories.js +0 -10
  163. package/src/stories/Forms/NewProfile/NewProfile.stories.jsx +0 -10
  164. package/src/stories/Layout/Body/Body.stories.js +0 -26
  165. package/src/stories/Layout/Center/Center.stories.js +0 -14
  166. package/src/stories/Layout/Head/Head.stories.js +0 -10
  167. package/src/stories/Layout/Left/Left.stories.js +0 -14
  168. package/src/stories/Layout/Right/Right.stories.js +0 -14
  169. package/src/stories/Library/CreateFolder/CreateFolder.stories.jsx +0 -32
  170. package/src/stories/Library/Folders/Folders.stories.jsx +0 -34
  171. package/src/stories/Library/Notes/Notes.stories.jsx +0 -24
  172. package/src/stories/Library/ViewNote/ViewNote.stories.jsx +0 -16
  173. package/src/stories/Music Album/ViewAlbum/ViewAlbum.stories.jsx +0 -60
  174. package/src/stories/Music Album/ViewAlbums/ViewAlbums.stories.jsx +0 -57
  175. package/src/stories/Navbar/Navbar.stories.js +0 -25
  176. package/src/stories/Pages/Blank/Blank.stories.js +0 -10
  177. package/src/stories/Pages/Centered/Centered.stories.js +0 -14
  178. package/src/stories/Pages/Chat/Chat.stories.jsx +0 -53
  179. package/src/stories/Pages/Enrollment/DetailedForm/DetailedForm.stories.jsx +0 -8
  180. package/src/stories/Pages/Enrollment/FillForm/FillForm.stories.jsx +0 -8
  181. package/src/stories/Pages/Enrollment/Forms/Forms.stories.jsx +0 -8
  182. package/src/stories/Pages/Events/Event/Event.stories.jsx +0 -8
  183. package/src/stories/Pages/Events/Events/Events.stories.jsx +0 -8
  184. package/src/stories/Pages/Library/Folders/Library.stories.jsx +0 -8
  185. package/src/stories/Pages/Library/Notes/Notes.stories.jsx +0 -8
  186. package/src/stories/Pages/Music/MusicAlbum/Music.stories.jsx +0 -8
  187. package/src/stories/Pages/Music/MusicAlbums/MusicAlbums.stories.jsx +0 -8
  188. package/src/stories/Pages/Photos/Album/Album.stories.jsx +0 -8
  189. package/src/stories/Pages/Photos/Albums/Albums.stories.jsx +0 -8
  190. package/src/stories/Pages/Video/DetailedVideo/DetailedVideo.stories.jsx +0 -8
  191. package/src/stories/Pages/Video/VideoAlbum/Video.stories.jsx +0 -8
  192. package/src/stories/Pages/ViewWorld/ViewWorld.stories.js +0 -270
  193. package/src/stories/Photo Album/DetailedPhoto/DetailedPhoto.stories.jsx +0 -20
  194. package/src/stories/Photo Album/ViewAlbum/ViewAlbum.stories.jsx +0 -60
  195. package/src/stories/Photo Album/ViewAlbums/ViewAlbums.stories.jsx +0 -59
  196. package/src/stories/Reusable Components/Cards/Card-style-1/CardStyle1.stories.jsx +0 -22
  197. package/src/stories/Reusable Components/Cards/Card-style-10/CardStyle10.stories.jsx +0 -21
  198. package/src/stories/Reusable Components/Cards/Card-style-11/CardStyle11.stories.jsx +0 -21
  199. package/src/stories/Reusable Components/Cards/Card-style-2/CardStyle2.stories.jsx +0 -24
  200. package/src/stories/Reusable Components/Cards/Card-style-3/CardStyle3.stories.jsx +0 -22
  201. package/src/stories/Reusable Components/Cards/Card-style-4/CardStyle4.stories.jsx +0 -25
  202. package/src/stories/Reusable Components/Cards/Card-style-6/CardStyle6.stories.jsx +0 -9
  203. package/src/stories/Reusable Components/Cards/Card-style-7/CardStyle7.stories.jsx +0 -23
  204. package/src/stories/Reusable Components/Cards/Card-style-8/CardStyle8.stories.jsx +0 -29
  205. package/src/stories/Reusable Components/Cards/Card-style-9/CardStyle9.stories.jsx +0 -14
  206. package/src/stories/Reusable Components/Cards/Card.stories.jsx +0 -118
  207. package/src/stories/Reusable Components/Controls/Controls.stories.jsx +0 -24
  208. package/src/stories/Reusable Components/Gallery/Gallery.stories.jsx +0 -43
  209. package/src/stories/Reusable Components/Lists/Cards/ListCard-1.stories.js +0 -0
  210. package/src/stories/Reusable Components/Lists/List.stories.js +0 -0
  211. package/src/stories/Reusable Components/Mention/Mention.stories.jsx +0 -55
  212. package/src/stories/Reusable Components/ReusableForm/ReusableForm.stories.jsx +0 -167
  213. package/src/stories/Reusable Components/ReusableHeader/ReusableHeader.stories.jsx +0 -22
  214. package/src/stories/Reusable Components/ReusableList/ReusableList.stories.jsx +0 -70
  215. package/src/stories/Reusable Components/SearchCard/SearchCard.stories.js +0 -10
  216. package/src/stories/Reusable Components/SpaceContainer/SpaceContainer.stories.jsx +0 -78
  217. package/src/stories/Reusable Components/Spinner/Spinner.stories.jsx +0 -8
  218. package/src/stories/Reusable Components/WidgetContainer/WidgetContainer.stories.jsx +0 -61
  219. package/src/stories/Spaces/WelcomeSpace/WelcomeSpace.stories.js +0 -10
  220. package/src/stories/VideoAlbum/AlbumsGallery/AlbumsGallery.stories.jsx +0 -59
  221. package/src/stories/VideoAlbum/Comments/Comments.stories.jsx +0 -18
  222. package/src/stories/VideoAlbum/VideoPlayer/VideoPlayer.stories.jsx +0 -82
  223. package/src/stories/VideoAlbum/VideoSpace/VideoSpace.stories.jsx +0 -23
  224. package/src/stories/VideoAlbum/ViewAlbum/ViewAlbum.stories.jsx +0 -57
  225. package/src/stories/Widgets/LogoWidget/LogoWidget.stories.js +0 -12
  226. package/src/stories/Widgets/MusicPlayer/MusicPlayer.stories.jsx +0 -23
  227. package/src/stories/Widgets/MusicPlayerWidget/MusicPlayerWidget.stories.jsx +0 -33
  228. package/src/stories/Widgets/SpacesList/SpacesList.stories.jsx +0 -27
  229. package/src/stories/Widgets/SpacesList/SpacesListItem.stories.jsx +0 -10
  230. package/src/stories/assets/images/album1.jpg +0 -0
  231. package/src/stories/assets/images/album2.jpg +0 -0
  232. package/src/stories/assets/images/album3.jpg +0 -0
  233. package/src/stories/assets/images/album4.jpg +0 -0
  234. package/src/stories/assets/images/album5.jpg +0 -0
  235. package/src/stories/assets/images/album6.jpg +0 -0
  236. package/src/stories/assets/images/art.jpg +0 -0
  237. package/src/stories/assets/images/dance.jpg +0 -0
  238. package/src/stories/assets/images/football.jpg +0 -0
  239. package/src/stories/assets/images/music.jpg +0 -0
  240. package/src/stories/assets/images/music1.jpg +0 -0
  241. package/src/stories/assets/images/music2.jpg +0 -0
  242. package/src/stories/assets/images/music3.jpg +0 -0
  243. package/src/stories/assets/images/music4.jpg +0 -0
  244. package/src/stories/assets/images/music5.jpg +0 -0
  245. package/src/stories/assets/images/music6.jpg +0 -0
  246. package/src/stories/assets/images/reset.png +0 -0
  247. package/src/stories/assets/images/robotics.jpg +0 -0
  248. package/src/stories/assets/images/tennis.jpg +0 -0
@@ -1,30 +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 _CreateEvent = _interopRequireDefault(require("./CreateEvent"));
11
-
12
- var _default = {
13
- title: 'Events/Create Event',
14
- component: _CreateEvent.default
15
- };
16
- exports.default = _default;
17
-
18
- var Template = function Template(args) {
19
- return /*#__PURE__*/React.createElement(_CreateEvent.default, args);
20
- };
21
-
22
- var Form = Template.bind({});
23
- exports.Form = Form;
24
- Form.args = {
25
- // saveHandler: saveHandler,
26
- // cancelHandler: cancelHandler,
27
- saveBtnText: "Create",
28
- cancelBtnText: "Cancel" // formStyles: formStyles,
29
-
30
- };
@@ -1,33 +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.Detailed = exports.default = void 0;
9
-
10
- var _Event = _interopRequireDefault(require("./Event"));
11
-
12
- var _default = {
13
- title: 'Events/Detailed Event',
14
- component: _Event.default
15
- };
16
- exports.default = _default;
17
-
18
- var Detailed = function Detailed(args) {
19
- return /*#__PURE__*/React.createElement(_Event.default, Object.assign({
20
- cover: "https://lh3.googleusercontent.com/proxy/CPYbedfVXH1yUpEF4dAQoqrLVpc8f_e4y11lx7InsxCU21OtHOfv7iHVcYIDD_gp89pnLCt81KBtdORJtSXxykoo-OxBNaQBBU-P",
21
- title: "ACDC Concert",
22
- date: "15/11/1976 : 16/11/1976",
23
- disc: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Officia impedit fugiat reprehenderit adipisci eos atque ullam error quia amet nihil, exercitationem beatae distinctio eligendi neque, consequuntur odit commodi id porro.",
24
- backgroundColor: "black",
25
- headerBackground: "black",
26
- headerTitleColor: "white",
27
- titleColor: "white",
28
- discColor: "white",
29
- dateColor: "white"
30
- }, args));
31
- };
32
-
33
- exports.Detailed = Detailed;
@@ -1,44 +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 _EventsList = _interopRequireDefault(require("./EventsList"));
11
-
12
- var _default = {
13
- title: 'Events/Events List',
14
- component: _EventsList.default
15
- };
16
- exports.default = _default;
17
- var events = [{
18
- title: 'Event one',
19
- date: '15/11/2020 : 5/8/2021'
20
- }, {
21
- title: 'Event two',
22
- date: '14/12/2020 : 14/4/2023'
23
- }, {
24
- title: 'Event three',
25
- date: '5/6/2021 : 5/8/2021'
26
- }, {
27
- title: 'Event four',
28
- date: '14/4/2023'
29
- }, {
30
- title: 'Event five',
31
- date: '5/6/2021 : 14/4/2023'
32
- }];
33
-
34
- var Template = function Template(args) {
35
- return /*#__PURE__*/React.createElement(_EventsList.default, args);
36
- };
37
-
38
- var List = Template.bind({});
39
- exports.List = List;
40
- List.args = {
41
- events: events,
42
- iconColor: '#FE1744',
43
- cardTitleFontSize: 15
44
- };
@@ -1,47 +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.Photo = exports.default = void 0;
9
-
10
- var _AddPhoto = _interopRequireDefault(require("./AddPhoto"));
11
-
12
- var _default = {
13
- title: 'forms/Add Photo',
14
- component: _AddPhoto.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 Template = function Template(args) {
36
- return /*#__PURE__*/React.createElement(_AddPhoto.default, args);
37
- };
38
-
39
- var Photo = Template.bind({});
40
- exports.Photo = Photo;
41
- Photo.args = {
42
- saveHandler: saveHandler,
43
- cancelHandler: cancelHandler,
44
- saveBtnText: "Create",
45
- cancelBtnText: "Cancel",
46
- formStyles: formStyles
47
- };
@@ -1,37 +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.Song = exports.default = void 0;
9
-
10
- var _AddSong = _interopRequireDefault(require("./AddSong"));
11
-
12
- var _default = {
13
- title: 'Music Albums/Add Song',
14
- component: _AddSong.default
15
- };
16
- exports.default = _default;
17
-
18
- var onAddSong = function onAddSong(song) {
19
- console.log(song);
20
- };
21
-
22
- var cancelHandler = function cancelHandler() {
23
- console.log('Canceled');
24
- };
25
-
26
- var Template = function Template(args) {
27
- return /*#__PURE__*/React.createElement(_AddSong.default, args);
28
- };
29
-
30
- var Song = Template.bind({});
31
- exports.Song = Song;
32
- Song.args = {
33
- saveHandler: onAddSong,
34
- candelHandler: cancelHandler,
35
- saveBtnText: "Create",
36
- cancelBtnText: "Cancel"
37
- };
@@ -1,33 +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.Video = exports.default = void 0;
9
-
10
- var _AddVideo = _interopRequireDefault(require("./AddVideo"));
11
-
12
- var _default = {
13
- title: 'Forms/Add Video',
14
- component: _AddVideo.default
15
- };
16
- exports.default = _default;
17
-
18
- var saveHandler = function saveHandler(photo) {
19
- console.log(photo);
20
- };
21
-
22
- var cancelHandler = function cancelHandler() {
23
- console.log('Canceled');
24
- };
25
-
26
- var Video = function Video(args) {
27
- return /*#__PURE__*/React.createElement(_AddVideo.default, Object.assign({
28
- saveHandler: saveHandler,
29
- cancelHandler: cancelHandler
30
- }, args, args));
31
- };
32
-
33
- exports.Video = Video;
@@ -1,49 +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 _CreateProfile = _interopRequireDefault(require("./CreateProfile"));
13
-
14
- var _storybookFormik = _interopRequireDefault(require("storybook-formik"));
15
-
16
- var _default = {
17
- title: 'Forms/Create-Profile-2',
18
- component: _CreateProfile.default,
19
- decorators: [_storybookFormik.default]
20
- };
21
- exports.default = _default;
22
-
23
- var Template = function Template(args) {
24
- return /*#__PURE__*/_react.default.createElement(_CreateProfile.default, args);
25
- };
26
-
27
- var Default = Template.bind({});
28
- exports.Default = Default;
29
- Default.parameters = {
30
- formik: {
31
- initialValues: {
32
- profilePhoto: null,
33
- username: '',
34
- servername: '',
35
- logo: null,
36
- preset: '',
37
- theme: '',
38
- themeSelected: '',
39
- styles: {
40
- width: '',
41
- border: '',
42
- borderColor: '',
43
- color: '',
44
- height: '',
45
- font: ''
46
- }
47
- }
48
- }
49
- };
@@ -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.Default = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _LogoUploader = _interopRequireDefault(require("./LogoUploader"));
13
-
14
- var _storybookFormik = _interopRequireDefault(require("storybook-formik"));
15
-
16
- var _default = {
17
- component: _LogoUploader.default,
18
- title: 'Components/CreateProfile/Subcomponents/LogoUploader',
19
- decorators: [_storybookFormik.default]
20
- };
21
- exports.default = _default;
22
-
23
- var Template = function Template(args) {
24
- return /*#__PURE__*/_react.default.createElement(_LogoUploader.default, args);
25
- };
26
-
27
- var Default = Template.bind({});
28
- exports.Default = Default;
29
- Default.args = {
30
- logo: null,
31
- value: 'logo'
32
- };
33
- Default.parameters = {
34
- formik: {
35
- initialValues: {
36
- logo: null
37
- }
38
- },
39
- onSubmit: function onSubmit(v) {
40
- return console.log(v);
41
- }
42
- };
@@ -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 _ProfilePhoto = _interopRequireDefault(require("./ProfilePhoto"));
13
-
14
- var _storybookFormik = _interopRequireDefault(require("storybook-formik"));
15
-
16
- var _default = {
17
- component: _ProfilePhoto.default,
18
- title: 'Components/CreateProfile/Subcomponents/ProfilePhoto',
19
- decorators: [_storybookFormik.default]
20
- };
21
- exports.default = _default;
22
-
23
- var Template = function Template(args) {
24
- return /*#__PURE__*/_react.default.createElement(_ProfilePhoto.default, args);
25
- };
26
-
27
- var Default = Template.bind({});
28
- exports.Default = Default;
29
- Default.args = {
30
- profilePhoto: null
31
- };
32
- Default.parameters = {
33
- formik: {
34
- initialValues: {
35
- profilePhoto: null
36
- }
37
- },
38
- onSubmit: function onSubmit(v) {
39
- return console.log(v);
40
- }
41
- };
@@ -1,32 +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 _ResetBtn = _interopRequireDefault(require("./ResetBtn"));
13
-
14
- var _storybookFormik = _interopRequireDefault(require("storybook-formik"));
15
-
16
- var _default = {
17
- component: _ResetBtn.default,
18
- title: 'Components/CreateProfile/Subcomponents/ResetButton',
19
- decorators: [_storybookFormik.default]
20
- };
21
- exports.default = _default;
22
-
23
- var Template = function Template(args) {
24
- return /*#__PURE__*/_react.default.createElement(_ResetBtn.default, args);
25
- };
26
-
27
- var Default = Template.bind({});
28
- exports.Default = Default;
29
- Default.args = {
30
- initValue: '',
31
- value: 'servername'
32
- };
@@ -1,47 +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 _CreateAlbum = _interopRequireDefault(require("./CreateAlbum"));
11
-
12
- var _default = {
13
- title: 'Forms/Create Album',
14
- component: _CreateAlbum.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(album) {
28
- console.log(album);
29
- };
30
-
31
- var cancelHandler = function cancelHandler() {
32
- console.log('Canceled');
33
- };
34
-
35
- var Template = function Template(args) {
36
- return /*#__PURE__*/React.createElement(_CreateAlbum.default, args);
37
- };
38
-
39
- var Album = Template.bind({});
40
- exports.Album = Album;
41
- Album.args = {
42
- saveHandler: saveHandler,
43
- cancelHandler: cancelHandler,
44
- saveBtnText: "Create",
45
- cancelBtnText: "Cancel",
46
- formStyles: formStyles
47
- };
@@ -1,58 +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 _react = _interopRequireDefault(require("react"));
11
-
12
- var Yup = _interopRequireWildcard(require("yup"));
13
-
14
- var _CreateAnnouncementForm = _interopRequireDefault(require("./CreateAnnouncementForm"));
15
-
16
- 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); }
17
-
18
- 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; }
19
-
20
- var _default = {
21
- title: 'forms/Create Announcment',
22
- component: _CreateAnnouncementForm.default
23
- };
24
- exports.default = _default;
25
- var formSchema = Yup.object().shape({
26
- title: Yup.string().required("Required"),
27
- discription: Yup.string().required("Required")
28
- });
29
- var formStyles = {
30
- headerStyles: {
31
- padding: 10,
32
- headerBackground: 'black',
33
- titleColor: '#ffff'
34
- },
35
- sectionPadding: 10,
36
- bodyRowGap: 10
37
- };
38
-
39
- var saveHandler = function saveHandler(announcment) {
40
- console.log(announcment);
41
- };
42
-
43
- var cancelHandler = function cancelHandler() {
44
- console.log('Canceled');
45
- };
46
-
47
- var form = function form(args) {
48
- return /*#__PURE__*/_react.default.createElement(_CreateAnnouncementForm.default, Object.assign({
49
- formSchema: formSchema,
50
- saveHandler: saveHandler,
51
- cancelHandler: cancelHandler,
52
- saveBtnText: "Create",
53
- cancelBtnText: "Cancel",
54
- formStyles: formStyles
55
- }, args));
56
- };
57
-
58
- exports.form = form;
@@ -1,47 +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 _CreateMusicAlbum = _interopRequireDefault(require("./CreateMusicAlbum"));
11
-
12
- var _default = {
13
- title: 'Forms/Create Music Album',
14
- component: _CreateMusicAlbum.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(album) {
28
- console.log(album);
29
- };
30
-
31
- var cancelHandler = function cancelHandler() {
32
- console.log('Canceled');
33
- };
34
-
35
- var Template = function Template(args) {
36
- return /*#__PURE__*/React.createElement(_CreateMusicAlbum.default, args);
37
- };
38
-
39
- var Album = Template.bind({});
40
- exports.Album = Album;
41
- Album.args = {
42
- saveHandler: saveHandler,
43
- cancelHandler: cancelHandler,
44
- saveBtnText: 'Create',
45
- cancelBtnText: 'Cancel',
46
- formStyles: formStyles
47
- };
@@ -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.Profile = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _CreateProfile = _interopRequireDefault(require("./CreateProfile"));
13
-
14
- var _default = {
15
- title: 'Forms/Create Profile',
16
- component: _CreateProfile.default
17
- };
18
- exports.default = _default;
19
-
20
- var Profile = function Profile(args) {
21
- return /*#__PURE__*/_react.default.createElement(_CreateProfile.default, args);
22
- };
23
-
24
- exports.Profile = Profile;
@@ -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 _CreateProfile = _interopRequireDefault(require("./CreateProfile"));
13
-
14
- var _default = {
15
- title: 'Forms/CreateProfile/Item',
16
- component: _CreateProfile.default
17
- };
18
- exports.default = _default;
19
-
20
- var Default = function Default(args) {
21
- return /*#__PURE__*/_react.default.createElement(_CreateProfile.default, args);
22
- };
23
-
24
- exports.Default = Default;
@@ -1,26 +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 _CreateUser = _interopRequireDefault(require("./CreateUser"));
13
-
14
- var _default = {
15
- title: "Forms/CreateUser",
16
- component: _CreateUser.default
17
- };
18
- exports.default = _default;
19
-
20
- var Default = function Default(props) {
21
- return /*#__PURE__*/_react.default.createElement(_CreateUser.default, {
22
- inputBGColor: "yellow"
23
- });
24
- };
25
-
26
- exports.Default = Default;
@@ -1,37 +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 _react = _interopRequireDefault(require("react"));
11
-
12
- var _CreateVideoAlbum = _interopRequireDefault(require("./CreateVideoAlbum"));
13
-
14
- var _default = {
15
- title: 'Forms/Create Video Album',
16
- component: _CreateVideoAlbum.default
17
- };
18
- exports.default = _default;
19
-
20
- var onSave = function onSave(album) {
21
- console.log(album);
22
- };
23
-
24
- var onCancel = function onCancel() {
25
- console.log('Cancel');
26
- };
27
-
28
- var Form = function Form(args) {
29
- return /*#__PURE__*/_react.default.createElement(_CreateVideoAlbum.default, Object.assign({
30
- saveHandler: onSave,
31
- cancelHandler: onCancel,
32
- saveBtnText: "Create",
33
- cancelBtnText: "Cancel"
34
- }, args));
35
- };
36
-
37
- exports.Form = Form;
@@ -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 _Form = _interopRequireDefault(require("./Form"));
13
-
14
- var _default = {
15
- title: 'Forms/RadioInputForm',
16
- component: _Form.default
17
- };
18
- exports.default = _default;
19
-
20
- var Default = function Default(args) {
21
- return /*#__PURE__*/_react.default.createElement(_Form.default, args);
22
- };
23
-
24
- exports.Default = Default;