@elliemae/ds-icons 2.0.0-rc.10 → 2.0.0-rc.11

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,12 +1,79 @@
1
1
  'use strict';
2
2
 
3
- var createIcon = require('./utils/createIcon.js');
3
+ require('core-js/modules/esnext.async-iterator.filter.js');
4
+ require('core-js/modules/esnext.iterator.constructor.js');
5
+ require('core-js/modules/esnext.iterator.filter.js');
6
+ require('core-js/modules/esnext.async-iterator.for-each.js');
7
+ require('core-js/modules/esnext.iterator.for-each.js');
8
+ var _jsx = require('@babel/runtime/helpers/jsx');
9
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
10
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
11
+ require('react');
12
+ var dsClassnames = require('@elliemae/ds-classnames');
13
+ var jsxRuntime = require('react/jsx-runtime');
4
14
 
5
- /* eslint-disable */
6
- var ChevronSmallDown = createIcon({
7
- paths: ['M9.5 13a.503.503 0 0 1-.313-.109l-5-4a.5013.5013 0 0 1-.078-.703c.173-.214.488-.25.703-.078L9.5 11.86l4.688-3.75c.218-.172.531-.136.703.078.172.216.138.53-.078.703l-5 4A.501.501 0 0 1 9.5 13z'],
8
- height: 20,
9
- width: 20
10
- });
15
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
16
 
12
- module.exports = ChevronSmallDown;
17
+ var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
18
+ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
19
+ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
20
+
21
+ var _path;
22
+
23
+ const _excluded = ["containerProps", "size", "color", "className", "style", "innerRef"];
24
+
25
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
26
+
27
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
28
+
29
+ function SvgIcon(props) {
30
+ const {
31
+ containerProps = {},
32
+ size,
33
+ color,
34
+ className = '',
35
+ style = {},
36
+ innerRef
37
+ } = props,
38
+ rest = _objectWithoutProperties__default["default"](props, _excluded);
39
+
40
+ const fill = !color && !props.fill ? '#000' : props.fill;
41
+ const width = !size && !props.width ? 12 : props.width;
42
+ const height = !size && !props.height ? 12 : props.height;
43
+ const {
44
+ cssClassName
45
+ } = dsClassnames.convertPropToCssClassName('icon', className, {
46
+ size,
47
+ color
48
+ });
49
+ return /*#__PURE__*/jsxRuntime.jsx("span", _objectSpread(_objectSpread(_objectSpread({
50
+ ref: innerRef,
51
+ className: cssClassName
52
+ }, rest), containerProps), {}, {
53
+ style: _objectSpread({
54
+ width,
55
+ height
56
+ }, style),
57
+ children: /*#__PURE__*/_jsx__default["default"]("svg", {
58
+ width: width && String(width),
59
+ height: height && String(height),
60
+ style: {
61
+ width,
62
+ height
63
+ },
64
+ fill: fill,
65
+ viewBox: "0 0 20 20"
66
+ }, void 0, /*#__PURE__*/_jsx__default["default"]("g", {
67
+ fillRule: "evenodd",
68
+ stroke: "none",
69
+ strokeWidth: "1"
70
+ }, void 0, /*#__PURE__*/_jsx__default["default"]("g", {
71
+ fill: fill,
72
+ fillRule: "nonzero"
73
+ }, void 0, _path || (_path = /*#__PURE__*/_jsx__default["default"]("path", {
74
+ d: "M9.5 13a.503.503 0 0 1-.313-.109l-5-4a.5013.5013 0 0 1-.078-.703c.173-.214.488-.25.703-.078L9.5 11.86l4.688-3.75c.218-.172.531-.136.703.078.172.216.138.53-.078.703l-5 4A.501.501 0 0 1 9.5 13z"
75
+ })))))
76
+ }));
77
+ }
78
+
79
+ module.exports = SvgIcon;
@@ -1,12 +1,79 @@
1
1
  'use strict';
2
2
 
3
- var createIcon = require('./utils/createIcon.js');
3
+ require('core-js/modules/esnext.async-iterator.filter.js');
4
+ require('core-js/modules/esnext.iterator.constructor.js');
5
+ require('core-js/modules/esnext.iterator.filter.js');
6
+ require('core-js/modules/esnext.async-iterator.for-each.js');
7
+ require('core-js/modules/esnext.iterator.for-each.js');
8
+ var _jsx = require('@babel/runtime/helpers/jsx');
9
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
10
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
11
+ require('react');
12
+ var dsClassnames = require('@elliemae/ds-classnames');
13
+ var jsxRuntime = require('react/jsx-runtime');
4
14
 
5
- /* eslint-disable */
6
- var CloseXsmall = createIcon({
7
- paths: ['M13.071 13.289l-2.828-2.828 2.828-2.828-.707-.707-2.828 2.828-2.828-2.828-.707.707 2.828 2.828-2.828 2.828.707.707 2.828-2.828 2.828 2.828z'],
8
- height: 20,
9
- width: 20
10
- });
15
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
16
 
12
- module.exports = CloseXsmall;
17
+ var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
18
+ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
19
+ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
20
+
21
+ var _path;
22
+
23
+ const _excluded = ["containerProps", "size", "color", "className", "style", "innerRef"];
24
+
25
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
26
+
27
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
28
+
29
+ function SvgIcon(props) {
30
+ const {
31
+ containerProps = {},
32
+ size,
33
+ color,
34
+ className = '',
35
+ style = {},
36
+ innerRef
37
+ } = props,
38
+ rest = _objectWithoutProperties__default["default"](props, _excluded);
39
+
40
+ const fill = !color && !props.fill ? '#000' : props.fill;
41
+ const width = !size && !props.width ? 16 : props.width;
42
+ const height = !size && !props.height ? 16 : props.height;
43
+ const {
44
+ cssClassName
45
+ } = dsClassnames.convertPropToCssClassName('icon', className, {
46
+ size,
47
+ color
48
+ });
49
+ return /*#__PURE__*/jsxRuntime.jsx("span", _objectSpread(_objectSpread(_objectSpread({
50
+ ref: innerRef,
51
+ className: cssClassName
52
+ }, rest), containerProps), {}, {
53
+ style: _objectSpread({
54
+ width,
55
+ height
56
+ }, style),
57
+ children: /*#__PURE__*/_jsx__default["default"]("svg", {
58
+ width: width && String(width),
59
+ height: height && String(height),
60
+ style: {
61
+ width,
62
+ height
63
+ },
64
+ fill: fill,
65
+ viewBox: "0 0 20 20"
66
+ }, void 0, /*#__PURE__*/_jsx__default["default"]("g", {
67
+ fillRule: "evenodd",
68
+ stroke: "none",
69
+ strokeWidth: "1"
70
+ }, void 0, /*#__PURE__*/_jsx__default["default"]("g", {
71
+ fill: fill,
72
+ fillRule: "nonzero"
73
+ }, void 0, _path || (_path = /*#__PURE__*/_jsx__default["default"]("path", {
74
+ d: "M13.071 13.289l-2.828-2.828 2.828-2.828-.707-.707-2.828 2.828-2.828-2.828-.707.707 2.828 2.828-2.828 2.828.707.707 2.828-2.828 2.828 2.828z"
75
+ })))))
76
+ }));
77
+ }
78
+
79
+ module.exports = SvgIcon;
@@ -1,12 +1,78 @@
1
1
  'use strict';
2
2
 
3
- var createIcon = require('./utils/createIcon.js');
3
+ require('core-js/modules/esnext.async-iterator.filter.js');
4
+ require('core-js/modules/esnext.iterator.constructor.js');
5
+ require('core-js/modules/esnext.iterator.filter.js');
6
+ require('core-js/modules/esnext.async-iterator.for-each.js');
7
+ require('core-js/modules/esnext.iterator.for-each.js');
8
+ var _jsx = require('@babel/runtime/helpers/jsx');
9
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
10
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
11
+ require('react');
12
+ var dsClassnames = require('@elliemae/ds-classnames');
13
+ var jsxRuntime = require('react/jsx-runtime');
4
14
 
5
- /* eslint-disable */
6
- var InfoCircleSmall = createIcon({
7
- paths: ['M10.3 7.5h-2v1h1v4h-1v1h3v-1h-1zm-1-2h1v1h-1v-1zm.5-3a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15zm0 14c-3.584 0-6.5-2.916-6.5-6.5s2.916-6.5 6.5-6.5 6.5 2.916 6.5 6.5-2.916 6.5-6.5 6.5z'],
8
- height: 20,
9
- width: 20
10
- });
15
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
16
 
12
- module.exports = InfoCircleSmall;
17
+ var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
18
+ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
19
+ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
20
+
21
+ var _path;
22
+
23
+ const _excluded = ["containerProps", "size", "color", "className", "style", "innerRef"];
24
+
25
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
26
+
27
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
28
+
29
+ function SvgIcon(props) {
30
+ const {
31
+ containerProps = {},
32
+ size,
33
+ color,
34
+ className = '',
35
+ style = {},
36
+ innerRef
37
+ } = props,
38
+ rest = _objectWithoutProperties__default["default"](props, _excluded);
39
+
40
+ const fill = !color && !props.fill ? '#000' : props.fill;
41
+ const width = !size && !props.width ? 16 : props.width;
42
+ const height = !size && !props.height ? 16 : props.height;
43
+ const {
44
+ cssClassName
45
+ } = dsClassnames.convertPropToCssClassName('icon', className, {
46
+ size,
47
+ color
48
+ });
49
+ return /*#__PURE__*/jsxRuntime.jsx("span", _objectSpread(_objectSpread(_objectSpread({
50
+ ref: innerRef,
51
+ className: cssClassName
52
+ }, rest), containerProps), {}, {
53
+ style: _objectSpread({
54
+ width,
55
+ height
56
+ }, style),
57
+ children: /*#__PURE__*/_jsx__default["default"]("svg", {
58
+ width: width && String(width),
59
+ height: height && String(height),
60
+ style: {
61
+ width,
62
+ height
63
+ },
64
+ fill: fill,
65
+ viewBox: "0 0 20 20"
66
+ }, void 0, /*#__PURE__*/_jsx__default["default"]("g", {
67
+ stroke: "none",
68
+ strokeWidth: "1",
69
+ fillRule: "evenodd"
70
+ }, void 0, /*#__PURE__*/_jsx__default["default"]("g", {
71
+ fill: fill
72
+ }, void 0, _path || (_path = /*#__PURE__*/_jsx__default["default"]("path", {
73
+ d: "M10.3 7.5h-2v1h1v4h-1v1h3v-1h-1zm-1-2h1v1h-1v-1zm.5-3a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15zm0 14c-3.584 0-6.5-2.916-6.5-6.5s2.916-6.5 6.5-6.5 6.5 2.916 6.5 6.5-2.916 6.5-6.5 6.5z"
74
+ })))))
75
+ }));
76
+ }
77
+
78
+ module.exports = SvgIcon;
@@ -1,10 +1,71 @@
1
- import createIcon from './utils/createIcon.js';
1
+ import 'core-js/modules/esnext.async-iterator.filter.js';
2
+ import 'core-js/modules/esnext.iterator.constructor.js';
3
+ import 'core-js/modules/esnext.iterator.filter.js';
4
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
5
+ import 'core-js/modules/esnext.iterator.for-each.js';
6
+ import _jsx from '@babel/runtime/helpers/esm/jsx';
7
+ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
8
+ import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
9
+ import 'react';
10
+ import { convertPropToCssClassName } from '@elliemae/ds-classnames';
11
+ import { jsx } from 'react/jsx-runtime';
2
12
 
3
- /* eslint-disable */
4
- var ChevronSmallDown = createIcon({
5
- paths: ['M9.5 13a.503.503 0 0 1-.313-.109l-5-4a.5013.5013 0 0 1-.078-.703c.173-.214.488-.25.703-.078L9.5 11.86l4.688-3.75c.218-.172.531-.136.703.078.172.216.138.53-.078.703l-5 4A.501.501 0 0 1 9.5 13z'],
6
- height: 20,
7
- width: 20
8
- });
13
+ var _path;
9
14
 
10
- export { ChevronSmallDown as default };
15
+ const _excluded = ["containerProps", "size", "color", "className", "style", "innerRef"];
16
+
17
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
18
+
19
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
20
+
21
+ function SvgIcon(props) {
22
+ const {
23
+ containerProps = {},
24
+ size,
25
+ color,
26
+ className = '',
27
+ style = {},
28
+ innerRef
29
+ } = props,
30
+ rest = _objectWithoutProperties(props, _excluded);
31
+
32
+ const fill = !color && !props.fill ? '#000' : props.fill;
33
+ const width = !size && !props.width ? 12 : props.width;
34
+ const height = !size && !props.height ? 12 : props.height;
35
+ const {
36
+ cssClassName
37
+ } = convertPropToCssClassName('icon', className, {
38
+ size,
39
+ color
40
+ });
41
+ return /*#__PURE__*/jsx("span", _objectSpread(_objectSpread(_objectSpread({
42
+ ref: innerRef,
43
+ className: cssClassName
44
+ }, rest), containerProps), {}, {
45
+ style: _objectSpread({
46
+ width,
47
+ height
48
+ }, style),
49
+ children: /*#__PURE__*/_jsx("svg", {
50
+ width: width && String(width),
51
+ height: height && String(height),
52
+ style: {
53
+ width,
54
+ height
55
+ },
56
+ fill: fill,
57
+ viewBox: "0 0 20 20"
58
+ }, void 0, /*#__PURE__*/_jsx("g", {
59
+ fillRule: "evenodd",
60
+ stroke: "none",
61
+ strokeWidth: "1"
62
+ }, void 0, /*#__PURE__*/_jsx("g", {
63
+ fill: fill,
64
+ fillRule: "nonzero"
65
+ }, void 0, _path || (_path = /*#__PURE__*/_jsx("path", {
66
+ d: "M9.5 13a.503.503 0 0 1-.313-.109l-5-4a.5013.5013 0 0 1-.078-.703c.173-.214.488-.25.703-.078L9.5 11.86l4.688-3.75c.218-.172.531-.136.703.078.172.216.138.53-.078.703l-5 4A.501.501 0 0 1 9.5 13z"
67
+ })))))
68
+ }));
69
+ }
70
+
71
+ export { SvgIcon as default };
@@ -1,10 +1,71 @@
1
- import createIcon from './utils/createIcon.js';
1
+ import 'core-js/modules/esnext.async-iterator.filter.js';
2
+ import 'core-js/modules/esnext.iterator.constructor.js';
3
+ import 'core-js/modules/esnext.iterator.filter.js';
4
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
5
+ import 'core-js/modules/esnext.iterator.for-each.js';
6
+ import _jsx from '@babel/runtime/helpers/esm/jsx';
7
+ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
8
+ import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
9
+ import 'react';
10
+ import { convertPropToCssClassName } from '@elliemae/ds-classnames';
11
+ import { jsx } from 'react/jsx-runtime';
2
12
 
3
- /* eslint-disable */
4
- var CloseXsmall = createIcon({
5
- paths: ['M13.071 13.289l-2.828-2.828 2.828-2.828-.707-.707-2.828 2.828-2.828-2.828-.707.707 2.828 2.828-2.828 2.828.707.707 2.828-2.828 2.828 2.828z'],
6
- height: 20,
7
- width: 20
8
- });
13
+ var _path;
9
14
 
10
- export { CloseXsmall as default };
15
+ const _excluded = ["containerProps", "size", "color", "className", "style", "innerRef"];
16
+
17
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
18
+
19
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
20
+
21
+ function SvgIcon(props) {
22
+ const {
23
+ containerProps = {},
24
+ size,
25
+ color,
26
+ className = '',
27
+ style = {},
28
+ innerRef
29
+ } = props,
30
+ rest = _objectWithoutProperties(props, _excluded);
31
+
32
+ const fill = !color && !props.fill ? '#000' : props.fill;
33
+ const width = !size && !props.width ? 16 : props.width;
34
+ const height = !size && !props.height ? 16 : props.height;
35
+ const {
36
+ cssClassName
37
+ } = convertPropToCssClassName('icon', className, {
38
+ size,
39
+ color
40
+ });
41
+ return /*#__PURE__*/jsx("span", _objectSpread(_objectSpread(_objectSpread({
42
+ ref: innerRef,
43
+ className: cssClassName
44
+ }, rest), containerProps), {}, {
45
+ style: _objectSpread({
46
+ width,
47
+ height
48
+ }, style),
49
+ children: /*#__PURE__*/_jsx("svg", {
50
+ width: width && String(width),
51
+ height: height && String(height),
52
+ style: {
53
+ width,
54
+ height
55
+ },
56
+ fill: fill,
57
+ viewBox: "0 0 20 20"
58
+ }, void 0, /*#__PURE__*/_jsx("g", {
59
+ fillRule: "evenodd",
60
+ stroke: "none",
61
+ strokeWidth: "1"
62
+ }, void 0, /*#__PURE__*/_jsx("g", {
63
+ fill: fill,
64
+ fillRule: "nonzero"
65
+ }, void 0, _path || (_path = /*#__PURE__*/_jsx("path", {
66
+ d: "M13.071 13.289l-2.828-2.828 2.828-2.828-.707-.707-2.828 2.828-2.828-2.828-.707.707 2.828 2.828-2.828 2.828.707.707 2.828-2.828 2.828 2.828z"
67
+ })))))
68
+ }));
69
+ }
70
+
71
+ export { SvgIcon as default };
@@ -1,10 +1,70 @@
1
- import createIcon from './utils/createIcon.js';
1
+ import 'core-js/modules/esnext.async-iterator.filter.js';
2
+ import 'core-js/modules/esnext.iterator.constructor.js';
3
+ import 'core-js/modules/esnext.iterator.filter.js';
4
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
5
+ import 'core-js/modules/esnext.iterator.for-each.js';
6
+ import _jsx from '@babel/runtime/helpers/esm/jsx';
7
+ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
8
+ import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
9
+ import 'react';
10
+ import { convertPropToCssClassName } from '@elliemae/ds-classnames';
11
+ import { jsx } from 'react/jsx-runtime';
2
12
 
3
- /* eslint-disable */
4
- var InfoCircleSmall = createIcon({
5
- paths: ['M10.3 7.5h-2v1h1v4h-1v1h3v-1h-1zm-1-2h1v1h-1v-1zm.5-3a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15zm0 14c-3.584 0-6.5-2.916-6.5-6.5s2.916-6.5 6.5-6.5 6.5 2.916 6.5 6.5-2.916 6.5-6.5 6.5z'],
6
- height: 20,
7
- width: 20
8
- });
13
+ var _path;
9
14
 
10
- export { InfoCircleSmall as default };
15
+ const _excluded = ["containerProps", "size", "color", "className", "style", "innerRef"];
16
+
17
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
18
+
19
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
20
+
21
+ function SvgIcon(props) {
22
+ const {
23
+ containerProps = {},
24
+ size,
25
+ color,
26
+ className = '',
27
+ style = {},
28
+ innerRef
29
+ } = props,
30
+ rest = _objectWithoutProperties(props, _excluded);
31
+
32
+ const fill = !color && !props.fill ? '#000' : props.fill;
33
+ const width = !size && !props.width ? 16 : props.width;
34
+ const height = !size && !props.height ? 16 : props.height;
35
+ const {
36
+ cssClassName
37
+ } = convertPropToCssClassName('icon', className, {
38
+ size,
39
+ color
40
+ });
41
+ return /*#__PURE__*/jsx("span", _objectSpread(_objectSpread(_objectSpread({
42
+ ref: innerRef,
43
+ className: cssClassName
44
+ }, rest), containerProps), {}, {
45
+ style: _objectSpread({
46
+ width,
47
+ height
48
+ }, style),
49
+ children: /*#__PURE__*/_jsx("svg", {
50
+ width: width && String(width),
51
+ height: height && String(height),
52
+ style: {
53
+ width,
54
+ height
55
+ },
56
+ fill: fill,
57
+ viewBox: "0 0 20 20"
58
+ }, void 0, /*#__PURE__*/_jsx("g", {
59
+ stroke: "none",
60
+ strokeWidth: "1",
61
+ fillRule: "evenodd"
62
+ }, void 0, /*#__PURE__*/_jsx("g", {
63
+ fill: fill
64
+ }, void 0, _path || (_path = /*#__PURE__*/_jsx("path", {
65
+ d: "M10.3 7.5h-2v1h1v4h-1v1h3v-1h-1zm-1-2h1v1h-1v-1zm.5-3a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15zm0 14c-3.584 0-6.5-2.916-6.5-6.5s2.916-6.5 6.5-6.5 6.5 2.916 6.5 6.5-2.916 6.5-6.5 6.5z"
66
+ })))))
67
+ }));
68
+ }
69
+
70
+ export { SvgIcon as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-icons",
3
- "version": "2.0.0-rc.10",
3
+ "version": "2.0.0-rc.11",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Icons",
6
6
  "module": "./esm/index.js",
@@ -1561,7 +1561,7 @@
1561
1561
  "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w"
1562
1562
  },
1563
1563
  "dependencies": {
1564
- "@elliemae/ds-classnames": "2.0.0-rc.10",
1564
+ "@elliemae/ds-classnames": "2.0.0-rc.11",
1565
1565
  "react-desc": "~4.1.3"
1566
1566
  },
1567
1567
  "peerDependencies": {
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const _default: (rest: any) => JSX.Element;
3
- export default _default;
2
+ declare function SvgIcon(props: any): JSX.Element;
3
+ export default SvgIcon;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const _default: (rest: any) => JSX.Element;
3
- export default _default;
2
+ declare function SvgIcon(props: any): JSX.Element;
3
+ export default SvgIcon;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const _default: (rest: any) => JSX.Element;
3
- export default _default;
2
+ declare function SvgIcon(props: any): JSX.Element;
3
+ export default SvgIcon;