@mohamed-karawia/library 0.1.2 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -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,38 +16,38 @@ var _io = require("react-icons/io");
|
|
12
16
|
// Icons
|
13
17
|
// List and Gallery controls
|
14
18
|
var controls = [{
|
15
|
-
icon: /*#__PURE__*/
|
19
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineUserAdd, null),
|
16
20
|
action: 'add',
|
17
21
|
name: 'Add member'
|
18
22
|
}, {
|
19
|
-
icon: /*#__PURE__*/
|
23
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineDelete, null),
|
20
24
|
action: 'remove',
|
21
25
|
name: 'Add member'
|
22
26
|
}, {
|
23
|
-
icon: /*#__PURE__*/
|
27
|
+
icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAirplane, null),
|
24
28
|
action: 'add',
|
25
29
|
name: 'Some Icon'
|
26
30
|
}, {
|
27
|
-
icon: /*#__PURE__*/
|
31
|
+
icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAlarm, null),
|
28
32
|
action: 'alarm',
|
29
33
|
name: 'Another Icons'
|
30
34
|
}, {
|
31
|
-
icon: /*#__PURE__*/
|
35
|
+
icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAlarm, null),
|
32
36
|
action: 'alarm',
|
33
37
|
name: 'Another Icons'
|
34
38
|
}, {
|
35
|
-
icon: /*#__PURE__*/
|
39
|
+
icon: /*#__PURE__*/_react.default.createElement(_io.IoIosAlarm, null),
|
36
40
|
action: 'alarm',
|
37
41
|
name: 'Another Icons'
|
38
42
|
}]; // Cards Controls
|
39
43
|
|
40
44
|
exports.controls = controls;
|
41
45
|
var cardControls = [{
|
42
|
-
icon: /*#__PURE__*/
|
46
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineHeart, null),
|
43
47
|
action: 'like',
|
44
48
|
name: 'Add member'
|
45
49
|
}, {
|
46
|
-
icon: /*#__PURE__*/
|
50
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineAudioMuted, null),
|
47
51
|
action: 'mute',
|
48
52
|
name: 'Add member'
|
49
53
|
}]; // List and Gallery data
|
package/package.json
CHANGED
@@ -10,12 +10,14 @@
|
|
10
10
|
]
|
11
11
|
]
|
12
12
|
},
|
13
|
-
"version": "0.1.
|
13
|
+
"version": "0.1.6",
|
14
14
|
"private": false,
|
15
15
|
"dependencies": {
|
16
16
|
"@babel/cli": "^7.16.7",
|
17
17
|
"@babel/runtime": "^7.15.4",
|
18
18
|
"@editorjs/header": "^2.6.1",
|
19
|
+
"@editorjs/image": "^2.6.2",
|
20
|
+
"@editorjs/marker": "^1.2.2",
|
19
21
|
"@editorjs/table": "^2.0.1",
|
20
22
|
"@giphy/js-fetch-api": "^4.1.2",
|
21
23
|
"@giphy/react-components": "^5.3.1",
|
@@ -40,6 +42,7 @@
|
|
40
42
|
"react-dropzone": "^11.4.0",
|
41
43
|
"react-dropzone-component": "^3.2.0",
|
42
44
|
"react-dropzone-uploader": "^2.11.0",
|
45
|
+
"react-editor-js": "^2.0.6",
|
43
46
|
"react-h5-audio-player": "^3.7.1",
|
44
47
|
"react-icons": "^4.2.0",
|
45
48
|
"react-jinke-music-player": "^4.24.1",
|
@@ -94,8 +97,6 @@
|
|
94
97
|
},
|
95
98
|
"devDependencies": {
|
96
99
|
"@editorjs/editorjs": "^2.22.2",
|
97
|
-
"@editorjs/image": "^2.6.2",
|
98
|
-
"@editorjs/marker": "^1.2.2",
|
99
100
|
"@editorjs/paragraph": "^2.8.0",
|
100
101
|
"@editorjs/simple-image": "^1.4.1",
|
101
102
|
"@geometricpanda/storybook-addon-badges": "^0.0.4",
|
@@ -108,7 +109,6 @@
|
|
108
109
|
"@storybook/preset-create-react-app": "^3.2.0",
|
109
110
|
"@storybook/react": "^6.3.7",
|
110
111
|
"chromatic": "^5.9.2",
|
111
|
-
"react-editor-js": "^1.10.0",
|
112
112
|
"storybook-addon-designs": "^6.1.0",
|
113
113
|
"storybook-dark-mode": "^1.0.8",
|
114
114
|
"storybook-formik": "^2.1.8"
|
@@ -117,7 +117,8 @@
|
|
117
117
|
"fsevents": "^2.3.2"
|
118
118
|
},
|
119
119
|
"description": "In order to get the Storybook development enviornment going on your machine first `clone` this repo and `cd` to the project.",
|
120
|
-
"main": "dist/index
|
120
|
+
"main": "dist/index",
|
121
|
+
"typings": "dist/index",
|
121
122
|
"repository": {
|
122
123
|
"type": "git",
|
123
124
|
"url": "git+https://github.com/collectiveness/react-storybook.git"
|