@bundle-stats/ui 3.2.0 → 3.2.1-beta.8
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.
- package/CHANGELOG.md +12 -0
- package/lib/assets/icons/arrow.svg +1 -0
- package/lib/assets/icons/cancel.svg +1 -0
- package/lib/assets/icons/clock.svg +1 -0
- package/lib/assets/icons/close.svg +1 -0
- package/lib/assets/icons/commit.svg +1 -0
- package/lib/assets/icons/filter.svg +1 -0
- package/lib/assets/icons/help.svg +1 -0
- package/lib/assets/icons/menu.svg +1 -0
- package/lib/{ui/icon/assets → assets/icons}/sort.svg +0 -0
- package/lib/assets/icons/warning.svg +1 -0
- package/lib/assets/icons.svg +1 -0
- package/lib/ui/icon/icon.js +4 -191
- package/lib/utils.js +6 -3
- package/lib-esm/app/app.js +60 -50
- package/lib-esm/app/header/header.js +22 -19
- package/lib-esm/assets/icons/arrow.svg +1 -0
- package/lib-esm/assets/icons/cancel.svg +1 -0
- package/lib-esm/assets/icons/clock.svg +1 -0
- package/lib-esm/assets/icons/close.svg +1 -0
- package/lib-esm/assets/icons/commit.svg +1 -0
- package/lib-esm/assets/icons/filter.svg +1 -0
- package/lib-esm/assets/icons/help.svg +1 -0
- package/lib-esm/assets/icons/menu.svg +1 -0
- package/lib-esm/{ui/icon/assets → assets/icons}/sort.svg +0 -0
- package/lib-esm/assets/icons/warning.svg +1 -0
- package/lib-esm/assets/icons.svg +1 -0
- package/lib-esm/components/asset-info/asset-info.js +8 -6
- package/lib-esm/components/bundle-assets/bundle-assets.js +93 -80
- package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js +15 -12
- package/lib-esm/components/bundle-assets-totals-table/bundle-assets-totals-table.js +6 -5
- package/lib-esm/components/bundle-modules/bundle-modules.js +82 -67
- package/lib-esm/components/bundle-modules/bundle-modules.utils.js +9 -6
- package/lib-esm/components/bundle-modules/index.js +6 -3
- package/lib-esm/components/bundle-packages/bundle-packages.js +29 -24
- package/lib-esm/components/component-link.js +7 -6
- package/lib-esm/components/delta/delta.js +7 -6
- package/lib-esm/components/job-meta/job-meta.js +5 -4
- package/lib-esm/components/job-name/job-name.js +14 -11
- package/lib-esm/components/metric/metric.js +10 -9
- package/lib-esm/components/metrics-table/metrics-table.js +24 -20
- package/lib-esm/components/metrics-table-options/metrics-table-options.js +7 -5
- package/lib-esm/components/summary/summary.js +44 -32
- package/lib-esm/components/summary/summary.stories.js +11 -8
- package/lib-esm/components/summary-item/summary-item.js +18 -15
- package/lib-esm/components/total-size-type-title/total-size-type-title.js +17 -14
- package/lib-esm/hooks/rows-filter.js +7 -6
- package/lib-esm/hooks/rows-sort.js +8 -7
- package/lib-esm/hooks/search-params.js +73 -69
- package/lib-esm/layout/footer/footer.js +33 -30
- package/lib-esm/layout/header/header.js +17 -14
- package/lib-esm/layout/header/header.stories.js +45 -30
- package/lib-esm/prototypes/typography.stories.js +5 -4
- package/lib-esm/stories/wrapper.js +20 -14
- package/lib-esm/ui/container/container.js +12 -9
- package/lib-esm/ui/dropdown/dropdown.stories.js +9 -6
- package/lib-esm/ui/file-name/file-name.js +10 -7
- package/lib-esm/ui/filters/filters.container.js +14 -8
- package/lib-esm/ui/filters/filters.js +41 -19
- package/lib-esm/ui/filters/filters.stories.js +4 -3
- package/lib-esm/ui/filters/filters.utils.js +12 -6
- package/lib-esm/ui/horizontal-bar-chart/horizontal-bar-chart.js +7 -6
- package/lib-esm/ui/icon/icon.js +12 -209
- package/lib-esm/ui/input/input.js +6 -5
- package/lib-esm/ui/loader/loader.js +10 -7
- package/lib-esm/ui/logo/logo.js +7 -6
- package/lib-esm/ui/logo/logo.stories.js +7 -1
- package/lib-esm/ui/panels/panels.js +10 -7
- package/lib-esm/ui/popover/popover.js +8 -7
- package/lib-esm/ui/sort-dropdown/sort-dropdown.js +10 -7
- package/lib-esm/ui/table/table.js +8 -7
- package/lib-esm/ui/tabs/tabs.js +9 -6
- package/lib-esm/ui/toolbar/toolbar.stories.js +10 -7
- package/lib-esm/utils.js +13 -4
- package/package.json +20 -14
- package/src/assets/icons/arrow.svg +1 -0
- package/src/assets/icons/cancel.svg +1 -0
- package/src/assets/icons/clock.svg +1 -0
- package/src/assets/icons/close.svg +1 -0
- package/src/assets/icons/commit.svg +1 -0
- package/src/assets/icons/filter.svg +1 -0
- package/src/assets/icons/help.svg +1 -0
- package/src/assets/icons/menu.svg +1 -0
- package/src/{ui/icon/assets → assets/icons}/sort.svg +0 -0
- package/src/assets/icons/warning.svg +1 -0
- package/src/assets/icons.svg +1 -0
- package/src/ui/icon/icon.jsx +7 -42
- package/src/utils.jsx +5 -3
- package/lib/ui/icon/assets/arrow.svg +0 -4
- package/lib/ui/icon/assets/branch.svg +0 -3
- package/lib/ui/icon/assets/cancel.svg +0 -4
- package/lib/ui/icon/assets/clock.svg +0 -3
- package/lib/ui/icon/assets/close.svg +0 -4
- package/lib/ui/icon/assets/commit.svg +0 -3
- package/lib/ui/icon/assets/filter.svg +0 -4
- package/lib/ui/icon/assets/help.svg +0 -4
- package/lib/ui/icon/assets/job.svg +0 -3
- package/lib/ui/icon/assets/menu.svg +0 -4
- package/lib/ui/icon/assets/package.svg +0 -3
- package/lib/ui/icon/assets/pull-request.svg +0 -3
- package/lib/ui/icon/assets/repository.svg +0 -3
- package/lib/ui/icon/assets/warning.svg +0 -4
- package/lib-esm/ui/icon/assets/arrow.svg +0 -4
- package/lib-esm/ui/icon/assets/branch.svg +0 -3
- package/lib-esm/ui/icon/assets/cancel.svg +0 -4
- package/lib-esm/ui/icon/assets/clock.svg +0 -3
- package/lib-esm/ui/icon/assets/close.svg +0 -4
- package/lib-esm/ui/icon/assets/commit.svg +0 -3
- package/lib-esm/ui/icon/assets/filter.svg +0 -4
- package/lib-esm/ui/icon/assets/help.svg +0 -4
- package/lib-esm/ui/icon/assets/job.svg +0 -3
- package/lib-esm/ui/icon/assets/menu.svg +0 -4
- package/lib-esm/ui/icon/assets/package.svg +0 -3
- package/lib-esm/ui/icon/assets/pull-request.svg +0 -3
- package/lib-esm/ui/icon/assets/repository.svg +0 -3
- package/lib-esm/ui/icon/assets/warning.svg +0 -4
- package/src/ui/icon/assets/arrow.svg +0 -4
- package/src/ui/icon/assets/branch.svg +0 -3
- package/src/ui/icon/assets/cancel.svg +0 -4
- package/src/ui/icon/assets/clock.svg +0 -3
- package/src/ui/icon/assets/close.svg +0 -4
- package/src/ui/icon/assets/commit.svg +0 -3
- package/src/ui/icon/assets/filter.svg +0 -4
- package/src/ui/icon/assets/help.svg +0 -4
- package/src/ui/icon/assets/job.svg +0 -3
- package/src/ui/icon/assets/menu.svg +0 -4
- package/src/ui/icon/assets/package.svg +0 -3
- package/src/ui/icon/assets/pull-request.svg +0 -3
- package/src/ui/icon/assets/repository.svg +0 -3
- package/src/ui/icon/assets/warning.svg +0 -4
|
@@ -4,11 +4,12 @@ import React from 'react';
|
|
|
4
4
|
import cx from 'classnames';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import css from './input.module.css';
|
|
7
|
-
export const Input =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
export const Input = _ref => {
|
|
8
|
+
let {
|
|
9
|
+
className,
|
|
10
|
+
size,
|
|
11
|
+
...restProps
|
|
12
|
+
} = _ref;
|
|
12
13
|
const rootClassName = cx(css.root, className, css[size]);
|
|
13
14
|
return /*#__PURE__*/React.createElement("input", _extends({
|
|
14
15
|
className: rootClassName
|
|
@@ -4,13 +4,16 @@ import React from 'react';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import css from './loader.module.css';
|
|
7
|
-
export const Loader =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
export const Loader = _ref => {
|
|
8
|
+
let {
|
|
9
|
+
className,
|
|
10
|
+
size,
|
|
11
|
+
...restProps
|
|
12
|
+
} = _ref;
|
|
13
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
14
|
+
className: cx(css.root, className, css[size])
|
|
15
|
+
}, restProps));
|
|
16
|
+
};
|
|
14
17
|
Loader.SIZE_SMALL = 'small';
|
|
15
18
|
Loader.SIZE_MEDIUM = 'medium';
|
|
16
19
|
Loader.SIZE_LARGE = 'large';
|
package/lib-esm/ui/logo/logo.js
CHANGED
|
@@ -78,12 +78,13 @@ const ICONS = {
|
|
|
78
78
|
[KIND_LOGO]: LogoSvg,
|
|
79
79
|
[KIND_WEBPACK]: WebpackSvg
|
|
80
80
|
};
|
|
81
|
-
export const Logo =
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
export const Logo = _ref => {
|
|
82
|
+
let {
|
|
83
|
+
className,
|
|
84
|
+
as: Component,
|
|
85
|
+
kind,
|
|
86
|
+
...props
|
|
87
|
+
} = _ref;
|
|
87
88
|
const rootClassName = cx(css.root, css[kind], className);
|
|
88
89
|
const Svg = ICONS[kind] || LogoSvg;
|
|
89
90
|
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
@@ -5,7 +5,13 @@ import { getWrapperDecorator } from '../../stories';
|
|
|
5
5
|
import { KIND_DEFAULT, KIND_LOGOTYPE, KINDS } from './logo.constants';
|
|
6
6
|
import { Logo } from '.';
|
|
7
7
|
|
|
8
|
-
const selectKind = (value
|
|
8
|
+
const selectKind = function (value) {
|
|
9
|
+
if (value === void 0) {
|
|
10
|
+
value = KIND_DEFAULT;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return select('Kind', KINDS, value);
|
|
14
|
+
};
|
|
9
15
|
|
|
10
16
|
const stories = storiesOf('UI/Logo', module);
|
|
11
17
|
stories.addDecorator(getWrapperDecorator());
|
|
@@ -15,13 +15,16 @@ const cloneElement = element => {
|
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
export const Panels =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
export const Panels = _ref => {
|
|
19
|
+
let {
|
|
20
|
+
className,
|
|
21
|
+
children,
|
|
22
|
+
...restProps
|
|
23
|
+
} = _ref;
|
|
24
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
25
|
+
className: cx(css.root, className)
|
|
26
|
+
}, restProps), React.Children.map(children, cloneElement));
|
|
27
|
+
};
|
|
25
28
|
Panels.defaultProps = {
|
|
26
29
|
className: '',
|
|
27
30
|
children: null
|
|
@@ -6,13 +6,14 @@ import cx from 'classnames';
|
|
|
6
6
|
import { usePopoverState, Popover as UIPopover, PopoverDisclosure as UIPopoverDisclosure, PopoverArrow as UIPopoverArrow } from 'reakit/Popover';
|
|
7
7
|
import { Icon } from '../icon';
|
|
8
8
|
import css from './popover.module.css';
|
|
9
|
-
export const Popover =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
export const Popover = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
className,
|
|
12
|
+
icon,
|
|
13
|
+
label,
|
|
14
|
+
ariaLabel,
|
|
15
|
+
children
|
|
16
|
+
} = _ref;
|
|
16
17
|
const popover = usePopoverState({
|
|
17
18
|
baseId: process.env.NODE_ENV === 'test' && 'id-test',
|
|
18
19
|
gutter: 24,
|
|
@@ -22,12 +22,14 @@ export const SortDropdown = props => {
|
|
|
22
22
|
label: customLabel,
|
|
23
23
|
glyph: "sort",
|
|
24
24
|
align: "right"
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
}, _ref => {
|
|
26
|
+
let {
|
|
27
|
+
MenuItem,
|
|
28
|
+
menu,
|
|
29
|
+
menuItemClassName,
|
|
30
|
+
menuItemActiveClassName
|
|
31
|
+
} = _ref;
|
|
32
|
+
|
|
31
33
|
const getButtonOnClick = (newField, newDirection) => () => {
|
|
32
34
|
onChange({
|
|
33
35
|
field: newField,
|
|
@@ -38,7 +40,8 @@ export const SortDropdown = props => {
|
|
|
38
40
|
|
|
39
41
|
return /*#__PURE__*/React.createElement("div", {
|
|
40
42
|
className: css.items
|
|
41
|
-
}, Object.entries(fields).map(
|
|
43
|
+
}, Object.entries(fields).map(_ref2 => {
|
|
44
|
+
let [key, item] = _ref2;
|
|
42
45
|
const buttonProps = direction === 'asc' ? {
|
|
43
46
|
className: css.itemAsc,
|
|
44
47
|
onClick: getButtonOnClick(key, 'desc'),
|
|
@@ -62,13 +62,14 @@ Td.propTypes = {
|
|
|
62
62
|
/** Adopted child class name */
|
|
63
63
|
className: PropTypes.string
|
|
64
64
|
};
|
|
65
|
-
export const Table =
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
export const Table = _ref => {
|
|
66
|
+
let {
|
|
67
|
+
className,
|
|
68
|
+
emptyMessage,
|
|
69
|
+
compact,
|
|
70
|
+
outline,
|
|
71
|
+
children
|
|
72
|
+
} = _ref;
|
|
72
73
|
const rootClassName = cx(css.root, className, compact && css.compact, outline && css.outline);
|
|
73
74
|
|
|
74
75
|
if (!children) {
|
package/lib-esm/ui/tabs/tabs.js
CHANGED
|
@@ -14,12 +14,15 @@ const cloneElement = element => {
|
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export const Tabs =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
export const Tabs = _ref => {
|
|
18
|
+
let {
|
|
19
|
+
className,
|
|
20
|
+
children
|
|
21
|
+
} = _ref;
|
|
22
|
+
return /*#__PURE__*/React.createElement("nav", {
|
|
23
|
+
className: cx(css.root, className)
|
|
24
|
+
}, React.Children.map(children, cloneElement));
|
|
25
|
+
};
|
|
23
26
|
Tabs.defaultProps = {
|
|
24
27
|
className: ''
|
|
25
28
|
};
|
|
@@ -6,11 +6,14 @@ const stories = storiesOf('UI/Toolbar', module);
|
|
|
6
6
|
stories.addDecorator(getWrapperDecorator());
|
|
7
7
|
stories.add('default', () => /*#__PURE__*/React.createElement(Toolbar, null, /*#__PURE__*/React.createElement("div", null, "Content")));
|
|
8
8
|
stories.add('with actions', () => /*#__PURE__*/React.createElement(Toolbar, {
|
|
9
|
-
renderActions:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
renderActions: _ref => {
|
|
10
|
+
let {
|
|
11
|
+
actionClassName
|
|
12
|
+
} = _ref;
|
|
13
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
14
|
+
className: actionClassName
|
|
15
|
+
}, "Action 1"), /*#__PURE__*/React.createElement("div", {
|
|
16
|
+
className: actionClassName
|
|
17
|
+
}, "Action 2"));
|
|
18
|
+
}
|
|
16
19
|
}, "Content"));
|
package/lib-esm/utils.js
CHANGED
|
@@ -2,7 +2,11 @@ import _chunk from "lodash/chunk";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cx from 'classnames';
|
|
4
4
|
import COLORS from './chart-colors.json';
|
|
5
|
-
export const getColors = (count
|
|
5
|
+
export const getColors = function (count) {
|
|
6
|
+
if (count === void 0) {
|
|
7
|
+
count = 2;
|
|
8
|
+
}
|
|
9
|
+
|
|
6
10
|
const chunks = _chunk(COLORS, Math.round(COLORS.length / count));
|
|
7
11
|
|
|
8
12
|
return chunks.map((chunkColors, index) => {
|
|
@@ -22,13 +26,18 @@ export const getRenderChildWithClassName = className => child => {
|
|
|
22
26
|
return null;
|
|
23
27
|
}
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
const {
|
|
30
|
+
props
|
|
31
|
+
} = child;
|
|
32
|
+
|
|
33
|
+
if (!props) {
|
|
26
34
|
return /*#__PURE__*/React.createElement("div", {
|
|
27
35
|
className: className
|
|
28
36
|
}, child);
|
|
29
37
|
}
|
|
30
38
|
|
|
31
|
-
return /*#__PURE__*/React.cloneElement(child, { ...
|
|
32
|
-
className: cx(className,
|
|
39
|
+
return /*#__PURE__*/React.cloneElement(child, { ...props,
|
|
40
|
+
className: cx(className, props.className) // eslint-disable-line react/prop-types
|
|
41
|
+
|
|
33
42
|
});
|
|
34
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bundle-stats/ui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1-beta.8",
|
|
4
4
|
"description": "UI components for BundleStats projects.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-esm/index.js",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"build-esm": "babel -D src -d lib-esm --ignore **/__tests__/**/* --ignore /prototypes/**",
|
|
13
13
|
"build-storybook": "npx build-storybook -c ./build/storybook",
|
|
14
14
|
"generate-chart-colors": "node scripts/generate-chart-colors.js",
|
|
15
|
+
"generate-svg-sprite": "npx svg-sprite -s --si src/assets/icons/*.svg && mv symbol/svg/sprite.symbol.svg src/assets/icons.svg",
|
|
15
16
|
"lint": "../../node_modules/.bin/eslint . --ext .jsx,.js",
|
|
16
17
|
"start": "cross-env NODE_ENV=development start-storybook -c ./build/storybook -p 8080",
|
|
17
18
|
"test": "npm run test:unit && npm run test:storyshots",
|
|
@@ -35,32 +36,37 @@
|
|
|
35
36
|
},
|
|
36
37
|
"homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/ui#readme",
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@babel/cli": "7.
|
|
39
|
-
"@babel/core": "7.
|
|
40
|
-
"@babel/
|
|
41
|
-
"@babel/preset-
|
|
39
|
+
"@babel/cli": "7.16.0",
|
|
40
|
+
"@babel/core": "7.16.0",
|
|
41
|
+
"@babel/plugin-proposal-class-properties": "7.16.0",
|
|
42
|
+
"@babel/preset-env": "7.16.4",
|
|
43
|
+
"@babel/preset-react": "7.16.0",
|
|
42
44
|
"@simplyianm/babel-plugin-inline-react-svg": "1.2.0",
|
|
43
45
|
"@storybook/addon-knobs": "6.3.1",
|
|
44
|
-
"@storybook/addon-
|
|
45
|
-
"@storybook/
|
|
46
|
-
"@storybook/
|
|
46
|
+
"@storybook/addon-postcss": "2.0.0",
|
|
47
|
+
"@storybook/addon-storyshots": "6.3.12",
|
|
48
|
+
"@storybook/addons": "6.3.12",
|
|
49
|
+
"@storybook/builder-webpack5": "^6.3.12",
|
|
50
|
+
"@storybook/manager-webpack5": "^6.3.12",
|
|
51
|
+
"@storybook/react": "6.3.12",
|
|
47
52
|
"babel-core": "7.0.0-bridge.0",
|
|
48
|
-
"babel-jest": "
|
|
53
|
+
"babel-jest": "27.3.1",
|
|
49
54
|
"babel-plugin-lodash": "3.3.4",
|
|
50
55
|
"babel-plugin-require-context-hook": "1.0.0",
|
|
51
|
-
"chromatic": "6.0.
|
|
56
|
+
"chromatic": "6.0.6",
|
|
52
57
|
"classnames": "2.3.1",
|
|
53
58
|
"colormap": "2.3.2",
|
|
54
|
-
"core-js": "3.
|
|
59
|
+
"core-js": "3.19.1",
|
|
55
60
|
"cross-env": "7.0.3",
|
|
56
61
|
"enzyme": "3.11.0",
|
|
57
62
|
"enzyme-adapter-react-16": "1.15.6",
|
|
58
63
|
"enzyme-to-json": "3.6.2",
|
|
59
64
|
"hex-rgb": "5.0.0",
|
|
60
65
|
"identity-obj-proxy": "3.0.0",
|
|
61
|
-
"jest": "
|
|
66
|
+
"jest": "27.3.1",
|
|
62
67
|
"jest-date-mock": "1.0.8",
|
|
63
68
|
"lodash": "4.17.21",
|
|
69
|
+
"postcss": "8.3.11",
|
|
64
70
|
"prop-types": "15.7.2",
|
|
65
71
|
"react": "16.14.0",
|
|
66
72
|
"react-dom": "16.14.0",
|
|
@@ -78,11 +84,11 @@
|
|
|
78
84
|
"react-router-dom": "^5.3.0"
|
|
79
85
|
},
|
|
80
86
|
"dependencies": {
|
|
81
|
-
"@bundle-stats/utils": "^3.2.
|
|
87
|
+
"@bundle-stats/utils": "^3.2.1-beta.8",
|
|
82
88
|
"date-fns": "^2.6.0",
|
|
83
89
|
"query-string": "^7.0.0",
|
|
84
90
|
"reakit": "^1.3.6",
|
|
85
91
|
"use-query-params": "^1.2.2"
|
|
86
92
|
},
|
|
87
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "46335ff5ced2c000c843d25fe83b040fb3c43477"
|
|
88
94
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-git-commit"><circle cx="12" cy="12" r="4"></circle><line x1="1.05" y1="12" x2="7" y2="12"></line><line x1="17.01" y1="12" x2="22.96" y2="12"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart" transform="rotate(-90deg)"><line x1="12" y1="20" x2="12" y2="10"></line><line x1="18" y1="20" x2="18" y2="4"></line><line x1="6" y1="20" x2="6" y2="16"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-help-circle"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-triangle"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16"><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="afeather afeather-arrow-down" id="arrow" xmlns="http://www.w3.org/2000/svg"><path d="M12 5v14M19 12l-7 7-7-7"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="bfeather bfeather-x-circle" id="cancel" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M15 9l-6 6M9 9l6 6"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cfeather cfeather-clock" id="clock" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="dfeather dfeather-x" id="close" xmlns="http://www.w3.org/2000/svg"><path d="M18 6L6 18M6 6l12 12"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="efeather efeather-git-commit" id="commit" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="4"/><path d="M1.05 12H7M17.01 12h5.95"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ffeather ffeather-bar-chart" id="filter" xmlns="http://www.w3.org/2000/svg"><path d="M12 20V10M18 20V4M6 20v-4"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="gfeather gfeather-help-circle" id="help" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3M12 17h.01"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="hfeather hfeather-menu" id="menu" xmlns="http://www.w3.org/2000/svg"><path d="M3 12h18M3 6h18M3 18h18"/></symbol><symbol viewBox="0 0 24 24" fill="currentColor" id="sort" xmlns="http://www.w3.org/2000/svg"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"/><path d="M0 0h24v24H0z" fill="none"/></symbol><symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="jfeather jfeather-alert-triangle" id="warning" xmlns="http://www.w3.org/2000/svg"><path d="M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0zM12 9v4M12 17h.01"/></symbol></svg>
|
package/src/ui/icon/icon.jsx
CHANGED
|
@@ -2,25 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import cx from 'classnames';
|
|
4
4
|
|
|
5
|
-
import ArrowIcon from './assets/arrow.svg';
|
|
6
|
-
import BranchIcon from './assets/branch.svg';
|
|
7
|
-
import CancelIcon from './assets/cancel.svg';
|
|
8
|
-
import ClockIcon from './assets/clock.svg';
|
|
9
|
-
import CloseIcon from './assets/close.svg';
|
|
10
|
-
import CommitIcon from './assets/commit.svg';
|
|
11
|
-
import FilterIcon from './assets/filter.svg';
|
|
12
|
-
import HelpIcon from './assets/help.svg';
|
|
13
|
-
import MenuIcon from './assets/menu.svg';
|
|
14
|
-
import PackageIcon from './assets/package.svg';
|
|
15
|
-
import PullRequestIcon from './assets/pull-request.svg';
|
|
16
|
-
import SortIcon from './assets/sort.svg';
|
|
17
|
-
import WarningIcon from './assets/warning.svg';
|
|
18
|
-
|
|
19
5
|
import css from './icon.module.css';
|
|
20
6
|
|
|
21
7
|
const ICONS = {
|
|
22
8
|
ARROW: 'arrow',
|
|
23
|
-
BRANCH: 'branch',
|
|
24
9
|
CANCEL: 'cancel',
|
|
25
10
|
CLOSE: 'close',
|
|
26
11
|
CLOCK: 'clock',
|
|
@@ -28,37 +13,17 @@ const ICONS = {
|
|
|
28
13
|
FILTER: 'filter',
|
|
29
14
|
HELP: 'help',
|
|
30
15
|
MENU: 'menu',
|
|
31
|
-
PACKAGE: 'package',
|
|
32
|
-
PR: 'pr',
|
|
33
16
|
SORT: 'sort',
|
|
34
17
|
WARNING: 'warning',
|
|
35
18
|
};
|
|
36
19
|
|
|
37
|
-
const
|
|
38
|
-
[
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
[ICONS.FILTER]: FilterIcon,
|
|
45
|
-
[ICONS.HELP]: HelpIcon,
|
|
46
|
-
[ICONS.MENU]: MenuIcon,
|
|
47
|
-
[ICONS.PACKAGE]: PackageIcon,
|
|
48
|
-
[ICONS.PR]: PullRequestIcon,
|
|
49
|
-
[ICONS.SORT]: SortIcon,
|
|
50
|
-
[ICONS.WARNING]: WarningIcon,
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export const Icon = ({ className, glyph, as: Component, size, ...restProps }) => {
|
|
54
|
-
const Svg = typeof glyph === 'string' ? ICON_MAP[glyph] : glyph;
|
|
55
|
-
|
|
56
|
-
return (
|
|
57
|
-
<Component className={cx(css.root, className, css[size])} {...restProps}>
|
|
58
|
-
<Svg className={css.icon} />
|
|
59
|
-
</Component>
|
|
60
|
-
);
|
|
61
|
-
};
|
|
20
|
+
export const Icon = ({ className, glyph, as: Component, size, ...restProps }) => (
|
|
21
|
+
<Component className={cx(css.root, className, css[size])} {...restProps}>
|
|
22
|
+
<svg className={css.icon}>
|
|
23
|
+
<use xlinkHref={`#${glyph}`} />
|
|
24
|
+
</svg>
|
|
25
|
+
</Component>
|
|
26
|
+
);
|
|
62
27
|
|
|
63
28
|
Icon.ICONS = ICONS;
|
|
64
29
|
|
package/src/utils.jsx
CHANGED
|
@@ -25,12 +25,14 @@ export const getRenderChildWithClassName = (className) => (child) => {
|
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
const { props } = child;
|
|
29
|
+
|
|
30
|
+
if (!props) {
|
|
29
31
|
return <div className={className}>{child}</div>;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
return React.cloneElement(child, {
|
|
33
|
-
...
|
|
34
|
-
className: cx(className,
|
|
35
|
+
...props,
|
|
36
|
+
className: cx(className, props.className), // eslint-disable-line react/prop-types
|
|
35
37
|
});
|
|
36
38
|
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 640 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
2
|
-
<path d="M512 192c-70.625 0-128 57.344-128 128 0 47.219 25.875 88.062 64 110.281V448s0 128-128 128c-53.062 0-94.656 11.375-128 28.812V302.281c38.156-22.219 64-63.062 64-110.281 0-70.656-57.344-128-128-128S0 121.344 0 192c0 47.219 25.844 88.062 64 110.281V721.75C25.844 743.938 0 784.75 0 832c0 70.625 57.344 128 128 128s128-57.375 128-128c0-33.5-13.188-63.75-34.25-86.625C240.375 722.5 270.656 704 320 704c254 0 256-256 256-256v-17.719c38.125-22.219 64-63.062 64-110.281 0-70.656-57.375-128-128-128zm-384-64c35.406 0 64 28.594 64 64s-28.594 64-64 64-64-28.594-64-64 28.594-64 64-64zm0 768c-35.406 0-64-28.625-64-64 0-35.312 28.594-64 64-64s64 28.688 64 64c0 35.375-28.594 64-64 64zm384-512c-35.375 0-64-28.594-64-64s28.625-64 64-64 64 28.594 64 64-28.625 64-64 64z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="currentColor">
|
|
2
|
-
<path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/>
|
|
3
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
4
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 896 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
2
|
-
<path d="M694.875 448C666.375 337.781 567.125 256 448 256c-119.094 0-218.375 81.781-246.906 192H0v128h201.094C229.625 686.25 328.906 768 448 768c119.125 0 218.375-81.75 246.875-192H896V448H694.875zM448 640c-70.656 0-128-57.375-128-128 0-70.656 57.344-128 128-128 70.625 0 128 57.344 128 128 0 70.625-57.375 128-128 128z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" fill="currentColor">
|
|
2
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
3
|
-
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"/>
|
|
4
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor">
|
|
2
|
-
<path d="M73.1 54.9c10.1 0 18.3 8.2 18.3 18.3s-8.2 18.3-18.3 18.3-18.3-8.2-18.3-18.3S63 54.9 73.1 54.9zM256 201.1c0 30.3-24.6 54.9-54.9 54.9h-128l54.9-54.9h23.2c6.3 10.9 18.1 18.3 31.7 18.3 20.2 0 36.6-16.4 36.6-36.6s-16.4-36.6-36.6-36.6c-13.5 0-25.4 7.4-31.7 18.3h-41.5L26.3 248C10.5 238.4 0 221 0 201.1V54.9C0 24.6 24.6 0 54.9 0v41.5C44 47.8 36.6 59.6 36.6 73.2c0 20.2 16.4 36.6 36.6 36.6 13.5 0 25.3-7.3 31.6-18.2l46.4-.1c6.3 10.9 18.1 18.3 31.7 18.3 20.2 0 36.6-16.4 36.6-36.6s-16.4-36.6-36.6-36.6c-13.5 0-25.4 7.4-31.7 18.3l-46.3.1c-3.2-5.6-7.9-10.2-13.4-13.5V0h109.7C231.4 0 256 24.6 256 54.9v146.2zm-91.4-18.2c0-10.1 8.2-18.3 18.3-18.3s18.3 8.2 18.3 18.3-8.2 18.3-18.3 18.3-18.3-8.2-18.3-18.3zm0-109.8c0-10.1 8.2-18.3 18.3-18.3s18.3 8.2 18.3 18.3-8.2 18.3-18.3 18.3-18.3-8.2-18.3-18.3z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
2
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
3
|
-
<path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
|
4
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
2
|
-
<path d="M480 64L0 192v576l480 128 480-128V192L480 64zM63.875 720.934L63.5 288l384.498 102.533.001 432.833L63.875 720.934zM63.5 224l160.254-42.734L640 292.265v.135l-160 42.667L63.5 224zm832.625 496.934L512.001 823.366l.001-432.833L640 356.4v156l128-34.135V322.267L896.5 288l-.375 432.934zM768 258.267v-.125L351.734 147.138 480 112.934 896.5 224 768 258.267z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 768 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
2
|
-
<path d="M128 64C57.344 64 0 121.344 0 192c0 47.219 25.906 88.062 64 110.281V721.75C25.906 743.938 0 784.75 0 832c0 70.625 57.344 128 128 128s128-57.375 128-128c0-47.25-25.844-88.062-64-110.25V302.281c38.156-22.219 64-63.062 64-110.281 0-70.656-57.344-128-128-128zm0 832c-35.312 0-64-28.625-64-64 0-35.312 28.688-64 64-64 35.406 0 64 28.688 64 64 0 35.375-28.594 64-64 64zm0-640c-35.312 0-64-28.594-64-64s28.688-64 64-64c35.406 0 64 28.594 64 64s-28.594 64-64 64zm576 465.75V320c0-192.5-192-192-192-192h-64V0L256 192l192 192V256h64c56.438 0 64 64 64 64v401.75c-38.125 22.188-64 62.938-64 110.25 0 70.625 57.375 128 128 128s128-57.375 128-128c0-47.25-25.875-88.062-64-110.25zM640 896c-35.312 0-64-28.625-64-64 0-35.312 28.688-64 64-64 35.375 0 64 28.688 64 64 0 35.375-28.625 64-64 64z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor">
|
|
2
|
-
<path d="M112 64H96v16h16V64zm0-32H96v16h16V32zm96-32H48S32 0 32 16v192c0 16 16 16 16 16h32v32l24-24 24 24v-32h80s16-.3 16-16V16c0-16-16-16-16-16zm0 192c0 15.4-16 16-16 16h-64v-16H80v16H64c-16 0-16-16-16-16v-16h160v16zm0-32H80V16h128.2l-.2 144zm-96-32H96v16h16v-16zm0-32H96v16h16V96z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 640 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
2
|
-
<path d="M512 192c-70.625 0-128 57.344-128 128 0 47.219 25.875 88.062 64 110.281V448s0 128-128 128c-53.062 0-94.656 11.375-128 28.812V302.281c38.156-22.219 64-63.062 64-110.281 0-70.656-57.344-128-128-128S0 121.344 0 192c0 47.219 25.844 88.062 64 110.281V721.75C25.844 743.938 0 784.75 0 832c0 70.625 57.344 128 128 128s128-57.375 128-128c0-33.5-13.188-63.75-34.25-86.625C240.375 722.5 270.656 704 320 704c254 0 256-256 256-256v-17.719c38.125-22.219 64-63.062 64-110.281 0-70.656-57.375-128-128-128zm-384-64c35.406 0 64 28.594 64 64s-28.594 64-64 64-64-28.594-64-64 28.594-64 64-64zm0 768c-35.406 0-64-28.625-64-64 0-35.312 28.594-64 64-64s64 28.688 64 64c0 35.375-28.594 64-64 64zm384-512c-35.375 0-64-28.594-64-64s28.625-64 64-64 64 28.594 64 64-28.625 64-64 64z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="currentColor">
|
|
2
|
-
<path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/>
|
|
3
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
4
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 896 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
|
2
|
-
<path d="M694.875 448C666.375 337.781 567.125 256 448 256c-119.094 0-218.375 81.781-246.906 192H0v128h201.094C229.625 686.25 328.906 768 448 768c119.125 0 218.375-81.75 246.875-192H896V448H694.875zM448 640c-70.656 0-128-57.375-128-128 0-70.656 57.344-128 128-128 70.625 0 128 57.344 128 128 0 70.625-57.375 128-128 128z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" fill="currentColor">
|
|
2
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
3
|
-
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"/>
|
|
4
|
-
</svg>
|