@abstraks-dev/ui-library 2.1.1 → 2.2.1

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.
@@ -24,7 +24,7 @@ describe('Camera Icon', () => {
24
24
  const svg = document.querySelector('svg');
25
25
  expect(svg).toHaveAttribute('width', '24');
26
26
  expect(svg).toHaveAttribute('height', '24');
27
- expect(svg).toHaveAttribute('viewBox', '0 0 24 24');
27
+ expect(svg).toHaveAttribute('viewBox', '0 -960 960 960');
28
28
  expect(svg).toHaveAttribute('fill', '#333333');
29
29
  expect(svg).toHaveClass('icon');
30
30
  expect(svg).toHaveClass('camera-icon');
@@ -11,7 +11,7 @@ const CameraIcon = ({
11
11
  componentName = 'camera-icon',
12
12
  additionalClassName = '',
13
13
  dimensions = 24,
14
- viewBox = '0 0 24 24',
14
+ viewBox = '0 -960 960 960',
15
15
  fill = '#333333'
16
16
  }) => /*#__PURE__*/_react.default.createElement("svg", {
17
17
  className: `icon ${componentName} ${additionalClassName}`,
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Check = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = require("prop-types");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ const Check = ({
11
+ componentName = 'check-close',
12
+ additionalClassName = '',
13
+ dimensions = 24,
14
+ viewBox = '0 -960 960 960',
15
+ fill = '#adb5bd'
16
+ }) => /*#__PURE__*/_react.default.createElement("svg", {
17
+ className: `icon ${componentName} ${additionalClassName}`,
18
+ width: dimensions,
19
+ height: dimensions,
20
+ viewBox: viewBox,
21
+ fill: fill
22
+ }, /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"
24
+ }));
25
+ exports.Check = Check;
26
+ Check.propTypes = {
27
+ componentName: _propTypes.string,
28
+ additionalClassName: _propTypes.string,
29
+ dimensions: _propTypes.number,
30
+ viewBox: _propTypes.string,
31
+ fill: _propTypes.string
32
+ };
33
+ var _default = exports.default = Check;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.ChevronDownCircle = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = require("prop-types");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ const ChevronDownCircle = ({
11
+ componentName = 'chevron-down-circle',
12
+ additionalClassName = '',
13
+ dimensions = 24,
14
+ viewBox = '0 -960 960 960',
15
+ fill = '#adb5bd'
16
+ }) => /*#__PURE__*/_react.default.createElement("svg", {
17
+ className: `icon ${componentName} ${additionalClassName}`,
18
+ width: dimensions,
19
+ height: dimensions,
20
+ viewBox: viewBox,
21
+ fill: fill
22
+ }, /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "m480-340 180-180-57-56-123 123-123-123-57 56 180 180Zm0 260q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"
24
+ }));
25
+ exports.ChevronDownCircle = ChevronDownCircle;
26
+ ChevronDownCircle.propTypes = {
27
+ componentName: _propTypes.string,
28
+ additionalClassName: _propTypes.string,
29
+ dimensions: _propTypes.number,
30
+ viewBox: _propTypes.string,
31
+ fill: _propTypes.string
32
+ };
33
+ var _default = exports.default = ChevronDownCircle;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.ChevronLeft = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = require("prop-types");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ const ChevronLeft = ({
11
+ componentName = 'chevron-left',
12
+ additionalClassName = '',
13
+ dimensions = 24,
14
+ viewBox = '0 -960 960 960',
15
+ fill = '#adb5bd'
16
+ }) => /*#__PURE__*/_react.default.createElement("svg", {
17
+ className: `icon ${componentName} ${additionalClassName}`,
18
+ width: dimensions,
19
+ height: dimensions,
20
+ viewBox: viewBox,
21
+ fill: fill
22
+ }, /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"
24
+ }));
25
+ exports.ChevronLeft = ChevronLeft;
26
+ ChevronLeft.propTypes = {
27
+ componentName: _propTypes.string,
28
+ additionalClassName: _propTypes.string,
29
+ dimensions: _propTypes.number,
30
+ viewBox: _propTypes.string,
31
+ fill: _propTypes.string
32
+ };
33
+ var _default = exports.default = ChevronLeft;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.ChevronRight = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = require("prop-types");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ const ChevronRight = ({
11
+ componentName = 'chevron-right',
12
+ additionalClassName = '',
13
+ dimensions = 24,
14
+ viewBox = '0 -960 960 960',
15
+ fill = '#adb5bd'
16
+ }) => /*#__PURE__*/_react.default.createElement("svg", {
17
+ className: `icon ${componentName} ${additionalClassName}`,
18
+ width: dimensions,
19
+ height: dimensions,
20
+ viewBox: viewBox,
21
+ fill: fill
22
+ }, /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"
24
+ }));
25
+ exports.ChevronRight = ChevronRight;
26
+ ChevronRight.propTypes = {
27
+ componentName: _propTypes.string,
28
+ additionalClassName: _propTypes.string,
29
+ dimensions: _propTypes.number,
30
+ viewBox: _propTypes.string,
31
+ fill: _propTypes.string
32
+ };
33
+ var _default = exports.default = ChevronRight;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.ChevronRightCircle = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = require("prop-types");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ const ChevronRightCircle = ({
11
+ componentName = 'chevron-right-circle',
12
+ additionalClassName = '',
13
+ dimensions = 24,
14
+ viewBox = '0 -960 960 960',
15
+ fill = '#adb5bd'
16
+ }) => /*#__PURE__*/_react.default.createElement("svg", {
17
+ className: `icon ${componentName} ${additionalClassName}`,
18
+ width: dimensions,
19
+ height: dimensions,
20
+ viewBox: viewBox,
21
+ fill: fill
22
+ }, /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "M507-480 384-357l56 57 180-180-180-180-56 57 123 123ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"
24
+ }));
25
+ exports.ChevronRightCircle = ChevronRightCircle;
26
+ ChevronRightCircle.propTypes = {
27
+ componentName: _propTypes.string,
28
+ additionalClassName: _propTypes.string,
29
+ dimensions: _propTypes.number,
30
+ viewBox: _propTypes.string,
31
+ fill: _propTypes.string
32
+ };
33
+ var _default = exports.default = ChevronRightCircle;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.ChevronUpCircle = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = require("prop-types");
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ const ChevronUpCircle = ({
11
+ componentName = 'chevron-up-circle',
12
+ additionalClassName = '',
13
+ dimensions = 24,
14
+ viewBox = '0 -960 960 960',
15
+ fill = '#adb5bd'
16
+ }) => /*#__PURE__*/_react.default.createElement("svg", {
17
+ className: `icon ${componentName} ${additionalClassName}`,
18
+ width: dimensions,
19
+ height: dimensions,
20
+ viewBox: viewBox,
21
+ fill: fill
22
+ }, /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "m357-384 123-123 123 123 57-56-180-180-180 180 57 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"
24
+ }));
25
+ exports.ChevronUpCircle = ChevronUpCircle;
26
+ ChevronUpCircle.propTypes = {
27
+ componentName: _propTypes.string,
28
+ additionalClassName: _propTypes.string,
29
+ dimensions: _propTypes.number,
30
+ viewBox: _propTypes.string,
31
+ fill: _propTypes.string
32
+ };
33
+ var _default = exports.default = ChevronUpCircle;
@@ -45,6 +45,12 @@ Object.defineProperty(exports, "CaretDown", {
45
45
  return _CaretDown.CaretDown;
46
46
  }
47
47
  });
48
+ Object.defineProperty(exports, "Check", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _Check.Check;
52
+ }
53
+ });
48
54
  Object.defineProperty(exports, "CheckCircle", {
49
55
  enumerable: true,
50
56
  get: function () {
@@ -57,6 +63,36 @@ Object.defineProperty(exports, "ChevronDown", {
57
63
  return _ChevronDown.ChevronDown;
58
64
  }
59
65
  });
66
+ Object.defineProperty(exports, "ChevronDownCircle", {
67
+ enumerable: true,
68
+ get: function () {
69
+ return _ChevronDownCircle.ChevronDownCircle;
70
+ }
71
+ });
72
+ Object.defineProperty(exports, "ChevronLeft", {
73
+ enumerable: true,
74
+ get: function () {
75
+ return _ChevronLeft.ChevronLeft;
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "ChevronRight", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _ChevronRight.ChevronRight;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "ChevronRightCircle", {
85
+ enumerable: true,
86
+ get: function () {
87
+ return _ChevronRightCircle.ChevronRightCircle;
88
+ }
89
+ });
90
+ Object.defineProperty(exports, "ChevronUpCircle", {
91
+ enumerable: true,
92
+ get: function () {
93
+ return _ChevronUpCircle.ChevronUpCircle;
94
+ }
95
+ });
60
96
  Object.defineProperty(exports, "Close", {
61
97
  enumerable: true,
62
98
  get: function () {
@@ -178,8 +214,14 @@ var _ArrowRight = require("./ArrowRight");
178
214
  var _BookOpen = require("./BookOpen");
179
215
  var _Camera = require("./Camera");
180
216
  var _CaretDown = require("./CaretDown");
217
+ var _Check = require("./Check");
181
218
  var _CheckCircle = require("./CheckCircle");
182
219
  var _ChevronDown = require("./ChevronDown");
220
+ var _ChevronDownCircle = require("./ChevronDownCircle");
221
+ var _ChevronLeft = require("./ChevronLeft");
222
+ var _ChevronRight = require("./ChevronRight");
223
+ var _ChevronRightCircle = require("./ChevronRightCircle");
224
+ var _ChevronUpCircle = require("./ChevronUpCircle");
183
225
  var _Close = require("./Close");
184
226
  var _Comment = require("./Comment");
185
227
  var _EditSquare = require("./EditSquare");
package/dist/index.js CHANGED
@@ -38,8 +38,14 @@ var _exportNames = {
38
38
  ArrowRight: true,
39
39
  BookOpen: true,
40
40
  CameraIcon: true,
41
+ Check: true,
41
42
  CheckCircle: true,
42
43
  ChevronDown: true,
44
+ even: true,
45
+ ChevronLeft: true,
46
+ ChevronRight: true,
47
+ ChevronRightCircle: true,
48
+ ChevronUpCircle: true,
43
49
  Close: true,
44
50
  Comment: true,
45
51
  EditSquare: true,
@@ -151,6 +157,12 @@ Object.defineProperty(exports, "CaretDown", {
151
157
  return _CaretDown.default;
152
158
  }
153
159
  });
160
+ Object.defineProperty(exports, "Check", {
161
+ enumerable: true,
162
+ get: function () {
163
+ return _Check.Check;
164
+ }
165
+ });
154
166
  Object.defineProperty(exports, "CheckCircle", {
155
167
  enumerable: true,
156
168
  get: function () {
@@ -169,6 +181,30 @@ Object.defineProperty(exports, "ChevronDown", {
169
181
  return _ChevronDown.ChevronDown;
170
182
  }
171
183
  });
184
+ Object.defineProperty(exports, "ChevronLeft", {
185
+ enumerable: true,
186
+ get: function () {
187
+ return _ChevronLeft.ChevronLeft;
188
+ }
189
+ });
190
+ Object.defineProperty(exports, "ChevronRight", {
191
+ enumerable: true,
192
+ get: function () {
193
+ return _ChevronRight.ChevronRight;
194
+ }
195
+ });
196
+ Object.defineProperty(exports, "ChevronRightCircle", {
197
+ enumerable: true,
198
+ get: function () {
199
+ return _ChevronRightCircle.ChevronRightCircle;
200
+ }
201
+ });
202
+ Object.defineProperty(exports, "ChevronUpCircle", {
203
+ enumerable: true,
204
+ get: function () {
205
+ return _ChevronUpCircle.ChevronUpCircle;
206
+ }
207
+ });
172
208
  Object.defineProperty(exports, "Close", {
173
209
  enumerable: true,
174
210
  get: function () {
@@ -397,6 +433,12 @@ Object.defineProperty(exports, "TrashX", {
397
433
  return _TrashX.TrashX;
398
434
  }
399
435
  });
436
+ Object.defineProperty(exports, "even", {
437
+ enumerable: true,
438
+ get: function () {
439
+ return _ChevronDownCircle.even;
440
+ }
441
+ });
400
442
  var _utils = require("./utils");
401
443
  Object.keys(_utils).forEach(function (key) {
402
444
  if (key === "default" || key === "__esModule") return;
@@ -455,8 +497,14 @@ var _ArrowIcon = require("./icons/ArrowIcon");
455
497
  var _ArrowRight = require("./icons/ArrowRight");
456
498
  var _BookOpen = require("./icons/BookOpen");
457
499
  var _Camera = require("./icons/Camera");
500
+ var _Check = require("./icons/Check");
458
501
  var _CheckCircle = require("./icons/CheckCircle");
459
502
  var _ChevronDown = require("./icons/ChevronDown");
503
+ var _ChevronDownCircle = require("./icons/ChevronDownCircle");
504
+ var _ChevronLeft = require("./icons/ChevronLeft");
505
+ var _ChevronRight = require("./icons/ChevronRight");
506
+ var _ChevronRightCircle = require("./icons/ChevronRightCircle");
507
+ var _ChevronUpCircle = require("./icons/ChevronUpCircle");
460
508
  var _Close = require("./icons/Close");
461
509
  var _Comment = require("./icons/Comment");
462
510
  var _EditSquare = require("./icons/EditSquare");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abstraks-dev/ui-library",
3
- "version": "2.1.1",
3
+ "version": "2.2.1",
4
4
  "description": "User Interface library",
5
5
  "main": "dist/index.js",
6
6
  "files": [