@mohamed-karawia/library 0.1.5 → 0.1.6

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.
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports.dataWithSections = exports.data = exports.cardControls = exports.controls = void 0;
7
9
 
10
+ var _react = _interopRequireDefault(require("react"));
11
+
8
12
  var _ai = require("react-icons/ai");
9
13
 
10
14
  var _io = require("react-icons/io");
@@ -12,22 +16,38 @@ var _io = require("react-icons/io");
12
16
  // Icons
13
17
  // List and Gallery controls
14
18
  var controls = [{
15
- icon: /*#__PURE__*/React.createElement(_io.IoIosAlarm, null),
19
+ icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineUserAdd, null),
20
+ action: 'add',
21
+ name: 'Add member'
22
+ }, {
23
+ icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineDelete, null),
24
+ action: 'remove',
25
+ name: 'Add member'
26
+ }, {
27
+ icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAirplane, null),
28
+ action: 'add',
29
+ name: 'Some Icon'
30
+ }, {
31
+ icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAlarm, null),
32
+ action: 'alarm',
33
+ name: 'Another Icons'
34
+ }, {
35
+ icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAlarm, null),
16
36
  action: 'alarm',
17
37
  name: 'Another Icons'
18
38
  }, {
19
- icon: /*#__PURE__*/React.createElement(_io.IoIosAlarm, null),
39
+ icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAlarm, null),
20
40
  action: 'alarm',
21
41
  name: 'Another Icons'
22
42
  }]; // Cards Controls
23
43
 
24
44
  exports.controls = controls;
25
45
  var cardControls = [{
26
- icon: /*#__PURE__*/React.createElement(_ai.AiOutlineHeart, null),
46
+ icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineHeart, null),
27
47
  action: 'like',
28
48
  name: 'Add member'
29
49
  }, {
30
- icon: /*#__PURE__*/React.createElement(_ai.AiOutlineAudioMuted, null),
50
+ icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineAudioMuted, null),
31
51
  action: 'mute',
32
52
  name: 'Add member'
33
53
  }]; // List and Gallery data
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ]
11
11
  ]
12
12
  },
13
- "version": "0.1.5",
13
+ "version": "0.1.6",
14
14
  "private": false,
15
15
  "dependencies": {
16
16
  "@babel/cli": "^7.16.7",
@@ -1,8 +1,13 @@
1
+ import React from 'react';
1
2
  // Icons
2
3
  import { AiOutlineUserAdd, AiOutlineDelete, AiOutlineHeart, AiOutlineAudioMuted } from "react-icons/ai";
3
4
  import { IoIosAirplane, IoIosAlarm } from "react-icons/io";
4
5
  // List and Gallery controls
5
6
  export const controls = [
7
+ { icon: (<AiOutlineUserAdd />), action: 'add', name: 'Add member' },
8
+ { icon: (<AiOutlineDelete />), action: 'remove', name: 'Add member' },
9
+ { icon: (<IoIosAirplane />), action: 'add', name: 'Some Icon' },
10
+ { icon: (<IoIosAlarm />), action: 'alarm', name: 'Another Icons' },
6
11
  { icon: (<IoIosAlarm />), action: 'alarm', name: 'Another Icons' },
7
12
  { icon: (<IoIosAlarm />), action: 'alarm', name: 'Another Icons' },
8
13
  ]