@mohamed-karawia/library 0.1.20 → 0.1.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,8 +33,6 @@ var _WidgetContainer = _interopRequireDefault(require("../../Reusable Components
33
33
 
34
34
  var _Community = _interopRequireDefault(require("../../Reusable Components/Community/Community"));
35
35
 
36
- var _styling = _interopRequireDefault(require("../../styling.json"));
37
-
38
36
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
39
37
 
40
38
  var _excluded = ["cover", "title", "date", "disc", "backgroundColor", "titleColor", "titleSize", "dateColor", "dateSize", "discColor", "discSize", "headerStyles"];
@@ -43,6 +41,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
43
41
 
44
42
  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; }
45
43
 
44
+ // import styles from '../../styling.json'
46
45
  var listControls = [{
47
46
  icon: /*#__PURE__*/_react.default.createElement(_bs.BsGear, null),
48
47
  action: 'config',
@@ -29,10 +29,6 @@ var _CreateEvent = _interopRequireDefault(require("../CreateEvent/CreateEvent"))
29
29
 
30
30
  var _EventsPreview = _interopRequireDefault(require("../../PreviewComponents/EventsPreview/EventsPreview"));
31
31
 
32
- var _EventsList = require("./EventsList.stories");
33
-
34
- var _Events = require("../../Pages/Events/Events/Events.stories");
35
-
36
32
  var _Tabs = _interopRequireDefault(require("../../Reusable Components/Tabs/Tabs"));
37
33
 
38
34
  var _Sections = _interopRequireDefault(require("../../Sections/Sections"));
@@ -33,10 +33,6 @@ var _Sections = _interopRequireDefault(require("../../Sections/Sections"));
33
33
 
34
34
  var _FoldersPreview = _interopRequireDefault(require("../../PreviewComponents/FoldersPreview/FoldersPreview"));
35
35
 
36
- var _Library = require("../../Pages/Library/Folders/Library.stories");
37
-
38
- var _Folders = require("./Folders.stories");
39
-
40
36
  var _Community = _interopRequireDefault(require("../../Reusable Components/Community/Community"));
41
37
 
42
38
  var _templateObject;
@@ -39,8 +39,6 @@ var _Community = _interopRequireDefault(require("../../Reusable Components/Commu
39
39
 
40
40
  var _constatnts = require("../../Pages/ViewWorld/constatnts");
41
41
 
42
- var _styling = _interopRequireDefault(require("../../styling.json"));
43
-
44
42
  var _templateObject;
45
43
 
46
44
  var _excluded = ["album", "cardBackgroundColor", "songTitleColor"];
@@ -49,6 +47,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
49
47
 
50
48
  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; }
51
49
 
50
+ // import styles from '../../styling.json'
52
51
  var listControls = [{
53
52
  icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineFileAdd, null),
54
53
  action: 'add',
@@ -221,10 +220,10 @@ var ViewAlbum = function ViewAlbum(_ref) {
221
220
  cardStyle: 'card-style-3',
222
221
  cardClicked: function cardClicked() {
223
222
  return alert('clicked');
224
- },
225
- headerStyles: _styling.default.widgetContainer.header,
226
- sectionHeaderStyles: _styling.default.widgetContainer.body.sectionHeaderStyles,
227
- customCardStyles: _styling.default.widgetContainer.body.customCardStyles
223
+ } // headerStyles: styles.widgetContainer.header,
224
+ // sectionHeaderStyles: styles.widgetContainer.body.sectionHeaderStyles,
225
+ // customCardStyles: styles.widgetContainer.body.customCardStyles,
226
+
228
227
  }
229
228
  }),
230
229
  center: centerContext,
@@ -27,12 +27,11 @@ var _Right = _interopRequireDefault(require("../../Layout/Right/Right"));
27
27
 
28
28
  var _WidgetContainer = _interopRequireDefault(require("../../Reusable Components/WidgetContainer/WidgetContainer"));
29
29
 
30
- var _styling = _interopRequireDefault(require("../../styling.json"));
31
-
32
30
  var _templateObject;
33
31
 
34
32
  var _excluded = ["context"];
35
33
 
34
+ // import styles from '../../styling.json'
36
35
  var Community = function Community(_ref) {
37
36
  var context = _ref.context,
38
37
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
@@ -62,10 +61,10 @@ var Community = function Community(_ref) {
62
61
  spaces: spaces,
63
62
  cardClicked: function cardClicked() {
64
63
  return alert('clicked');
65
- },
66
- headerStyles: _styling.default.widgetContainer.header,
67
- sectionHeaderStyles: _styling.default.widgetContainer.body.sectionHeaderStyles,
68
- customCardStyles: _styling.default.widgetContainer.body.customCardStyles
64
+ } // headerStyles: styles.widgetContainer.header,
65
+ // sectionHeaderStyles: styles.widgetContainer.body.sectionHeaderStyles,
66
+ // customCardStyles: styles.widgetContainer.body.customCardStyles,
67
+
69
68
  }
70
69
  })), /*#__PURE__*/_react.default.createElement(_Center.default, null, props.center), /*#__PURE__*/_react.default.createElement(_Right.default, null, props.right)));
71
70
  };
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ]
11
11
  ]
12
12
  },
13
- "version": "0.1.20",
13
+ "version": "0.1.21",
14
14
  "private": false,
15
15
  "dependencies": {
16
16
  "@babel/cli": "^7.16.7",