@dfds-ui/icons 0.9.5 → 0.9.6-alpha.0e1d4db0
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/SystemIcon.d.ts +29 -0
- package/SystemIcon.js +34 -0
- package/cjs/SystemIcon.d.ts +29 -0
- package/cjs/SystemIcon.js +49 -0
- package/cjs/flags/FlagInt.js +13 -4
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +14 -0
- package/flags/FlagInt.js +13 -4
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/package.json +2 -2
- package/svgs/flags/FlagINT.svg +1 -7
package/SystemIcon.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as systemIcons from './system';
|
|
2
|
+
declare type SystemIcon = keyof typeof systemIcons;
|
|
3
|
+
declare type Size = 's' | 'm' | 'l' | 'xl';
|
|
4
|
+
export declare type SystemIconProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Name of the icon in the System set of icons.
|
|
7
|
+
*/
|
|
8
|
+
icon: SystemIcon;
|
|
9
|
+
/**
|
|
10
|
+
* Predefined size to use.
|
|
11
|
+
*/
|
|
12
|
+
size: Size;
|
|
13
|
+
/**
|
|
14
|
+
* Class name to be assigned to the component.
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Setting the `inline` prop to `true` will set negative margins which will compensate for the existing padding/space
|
|
19
|
+
* that appears inside the icon's sources. Use this only when inline icons inside a text-block.
|
|
20
|
+
*
|
|
21
|
+
* NB! Using `inline` will result in the `size` prop being ignored.
|
|
22
|
+
*/
|
|
23
|
+
inline?: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* The `SystemIcon` component is a helper component for displaying icons in the **system** set in "sane" sizes.
|
|
27
|
+
*/
|
|
28
|
+
export declare const SystemIcon: ({ icon, size, className, inline }: SystemIconProps) => JSX.Element;
|
|
29
|
+
export {};
|
package/SystemIcon.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { css } from '@emotion/react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import * as systemIcons from './system';
|
|
4
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
5
|
+
var sizes = {
|
|
6
|
+
s: '1rem',
|
|
7
|
+
m: '1.5rem',
|
|
8
|
+
l: '2rem',
|
|
9
|
+
xl: '2.5rem'
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
var inlineCss = function inlineCss(size) {
|
|
13
|
+
return /*#__PURE__*/css("margin-top:calc(-", size, " / 6);margin-bottom:calc(-", size, " / 6);" + (process.env.NODE_ENV === "production" ? "" : ";label:inlineCss;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TeXN0ZW1JY29uLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF3Q3VDIiwiZmlsZSI6Ii4uL3NyYy9TeXN0ZW1JY29uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0ICogYXMgc3lzdGVtSWNvbnMgZnJvbSAnLi9zeXN0ZW0nXG5cbnR5cGUgU3lzdGVtSWNvbiA9IGtleW9mIHR5cGVvZiBzeXN0ZW1JY29uc1xuXG50eXBlIFNpemUgPSAncycgfCAnbScgfCAnbCcgfCAneGwnXG5cbmV4cG9ydCB0eXBlIFN5c3RlbUljb25Qcm9wcyA9IHtcbiAgLyoqXG4gICAqIE5hbWUgb2YgdGhlIGljb24gaW4gdGhlIFN5c3RlbSBzZXQgb2YgaWNvbnMuXG4gICAqL1xuICBpY29uOiBTeXN0ZW1JY29uXG5cbiAgLyoqXG4gICAqIFByZWRlZmluZWQgc2l6ZSB0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nQgY29uc3QgU3lzdGVtSWNvbiA9ICh7IGljb24sIHNpemUgPSAnbScsIGNsYXNzTmFtZSwgaW5saW5lIH06IFN5c3RlbUljb25Qcm9wcykgPT4ge1xuICBjb25zdCBJY29uID0gc3lzdGVtSWNvbnNbaWNvbl1cbiAgY29uc3Qgc2l6ZVZhbHVlID0gaW5saW5lID8gJzEuNWVtJyA6IHNpemVzW3NpemVdXG4gIHJldHVybiA8SWNvbiBjbGFzc05hbWU9e2NsYXNzTmFtZX0gaGVpZ2h0PXtzaXplVmFsdWV9IHdpZHRoPXtzaXplVmFsdWV9IGNzcz17aW5saW5lICYmIGlubGluZUNzcyhzaXplVmFsdWUpfSAvPlxufVxuIl19 */");
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The `SystemIcon` component is a helper component for displaying icons in the **system** set in "sane" sizes.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export var SystemIcon = function SystemIcon(_ref) {
|
|
21
|
+
var icon = _ref.icon,
|
|
22
|
+
_ref$size = _ref.size,
|
|
23
|
+
size = _ref$size === void 0 ? 'm' : _ref$size,
|
|
24
|
+
className = _ref.className,
|
|
25
|
+
inline = _ref.inline;
|
|
26
|
+
var Icon = systemIcons[icon];
|
|
27
|
+
var sizeValue = inline ? '1.5em' : sizes[size];
|
|
28
|
+
return ___EmotionJSX(Icon, {
|
|
29
|
+
className: className,
|
|
30
|
+
height: sizeValue,
|
|
31
|
+
width: sizeValue,
|
|
32
|
+
css: inline && inlineCss(sizeValue)
|
|
33
|
+
});
|
|
34
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as systemIcons from './system';
|
|
2
|
+
declare type SystemIcon = keyof typeof systemIcons;
|
|
3
|
+
declare type Size = 's' | 'm' | 'l' | 'xl';
|
|
4
|
+
export declare type SystemIconProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Name of the icon in the System set of icons.
|
|
7
|
+
*/
|
|
8
|
+
icon: SystemIcon;
|
|
9
|
+
/**
|
|
10
|
+
* Predefined size to use.
|
|
11
|
+
*/
|
|
12
|
+
size: Size;
|
|
13
|
+
/**
|
|
14
|
+
* Class name to be assigned to the component.
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Setting the `inline` prop to `true` will set negative margins which will compensate for the existing padding/space
|
|
19
|
+
* that appears inside the icon's sources. Use this only when inline icons inside a text-block.
|
|
20
|
+
*
|
|
21
|
+
* NB! Using `inline` will result in the `size` prop being ignored.
|
|
22
|
+
*/
|
|
23
|
+
inline?: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* The `SystemIcon` component is a helper component for displaying icons in the **system** set in "sane" sizes.
|
|
27
|
+
*/
|
|
28
|
+
export declare const SystemIcon: ({ icon, size, className, inline }: SystemIconProps) => JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SystemIcon = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = require("@emotion/react");
|
|
9
|
+
|
|
10
|
+
var _react2 = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var systemIcons = _interopRequireWildcard(require("./system"));
|
|
13
|
+
|
|
14
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
+
|
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
|
|
20
|
+
const sizes = {
|
|
21
|
+
s: '1rem',
|
|
22
|
+
m: '1.5rem',
|
|
23
|
+
l: '2rem',
|
|
24
|
+
xl: '2.5rem'
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const inlineCss = size => /*#__PURE__*/(0, _react.css)("margin-top:calc(-", size, " / 6);margin-bottom:calc(-", size, " / 6);" + (process.env.NODE_ENV === "production" ? "" : ";label:inlineCss;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9TeXN0ZW1JY29uLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF3Q3VDIiwiZmlsZSI6Ii4uLy4uL3NyYy9TeXN0ZW1JY29uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0ICogYXMgc3lzdGVtSWNvbnMgZnJvbSAnLi9zeXN0ZW0nXG5cbnR5cGUgU3lzdGVtSWNvbiA9IGtleW9mIHR5cGVvZiBzeXN0ZW1JY29uc1xuXG50eXBlIFNpemUgPSAncycgfCAnbScgfCAnbCcgfCAneGwnXG5cbmV4cG9ydCB0eXBl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fSAvIDYpO1xuYFxuLyoqXG4gKiBUaGUgYFN5c3RlbUljb25gIGNvbXBvbmVudCBpcyBhIGhlbHBlciBjb21wb25lbnQgZm9yIGRpc3BsYXlpbmcgaWNvbnMgaW4gdGhlICoqc3lzdGVtKiogc2V0IGluIFwic2FuZVwiIHNpemVzLlxuICovXG5leHBvcnQgY29uc3QgU3lzdGVtSWNvbiA9ICh7IGljb24sIHNpemUgPSAnbScsIGNsYXNzTmFtZSwgaW5saW5lIH06IFN5c3RlbUljb25Qcm9wcykgPT4ge1xuICBjb25zdCBJY29uID0gc3lzdGVtSWNvbnNbaWNvbl1cbiAgY29uc3Qgc2l6ZVZhbHVlID0gaW5saW5lID8gJzEuNWVtJyA6IHNpemVzW3NpemVdXG4gIHJldHVybiA8SWNvbiBjbGFzc05hbWU9e2NsYXNzTmFtZX0gaGVpZ2h0PXtzaXplVmFsdWV9IHdpZHRoPXtzaXplVmFsdWV9IGNzcz17aW5saW5lICYmIGlubGluZUNzcyhzaXplVmFsdWUpfSAvPlxufVxuIl19 */");
|
|
28
|
+
/**
|
|
29
|
+
* The `SystemIcon` component is a helper component for displaying icons in the **system** set in "sane" sizes.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
const SystemIcon = ({
|
|
34
|
+
icon,
|
|
35
|
+
size = 'm',
|
|
36
|
+
className,
|
|
37
|
+
inline
|
|
38
|
+
}) => {
|
|
39
|
+
const Icon = systemIcons[icon];
|
|
40
|
+
const sizeValue = inline ? '1.5em' : sizes[size];
|
|
41
|
+
return (0, _react.jsx)(Icon, {
|
|
42
|
+
className: className,
|
|
43
|
+
height: sizeValue,
|
|
44
|
+
width: sizeValue,
|
|
45
|
+
css: inline && inlineCss(sizeValue)
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
exports.SystemIcon = SystemIcon;
|
package/cjs/flags/FlagInt.js
CHANGED
|
@@ -18,14 +18,23 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
18
18
|
const SvgFlagInt = /*#__PURE__*/(0, _react.forwardRef)((props, svgRef) => (0, _react2.jsx)("svg", _extends({
|
|
19
19
|
width: "1.25em",
|
|
20
20
|
height: "1em",
|
|
21
|
-
viewBox: "0 0
|
|
21
|
+
viewBox: "0 0 25 20",
|
|
22
|
+
fill: "none",
|
|
22
23
|
ref: svgRef
|
|
23
24
|
}, props), (0, _react2.jsx)("path", {
|
|
24
25
|
fill: "#fff",
|
|
25
|
-
d: "M0
|
|
26
|
+
d: "M0 0h25v20H0z"
|
|
26
27
|
}), (0, _react2.jsx)("path", {
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
clipRule: "evenodd",
|
|
30
|
+
d: "M14.6 16.105c.235-.388.433-.796.59-1.22.275.12.543.258.8.41a6.625 6.625 0 0 1-1.4.81h.01zm-5.66-1.22c.158.424.356.832.59 1.22a6.203 6.203 0 0 1-1.42-.81c.264-.153.538-.29.82-.41h.01zm3.11 1.71c-.59 0-1.33-.8-1.88-2.19a7.418 7.418 0 0 1 1.88-.27 7.38 7.38 0 0 1 1.88.27c-.54 1.41-1.28 2.21-1.88 2.21v-.02zm3.54-3c.244-.959.386-1.941.42-2.93h2.6a6.659 6.659 0 0 1-1.63 3.72 8.327 8.327 0 0 0-1.39-.79zm-3.53-.77a8.735 8.735 0 0 0-2.28.31 12.68 12.68 0 0 1-.33-2.47h5.23a13.519 13.519 0 0 1-.33 2.47 8.806 8.806 0 0 0-2.3-.31h.01zm-3.95-2.16c.035.989.176 1.971.42 2.93a8.281 8.281 0 0 0-1.42.79 6.582 6.582 0 0 1-1.61-3.72h2.61zm6.6-1.35H9.44c.031-.76.128-1.516.29-2.26a8.585 8.585 0 0 0 4.65 0c.159.751.256 1.513.29 2.28l.04-.02zm1.34 0a14.809 14.809 0 0 0-.38-2.78c.507-.224.99-.499 1.44-.82a6.521 6.521 0 0 1 1.5 3.62l-2.56-.02zm-7.57-2.76c-.216.912-.34 1.843-.37 2.78H5.5a6.516 6.516 0 0 1 1.55-3.62c.447.327.926.609 1.43.84zm.4-1.31a6.336 6.336 0 0 1-.86-.46 6.488 6.488 0 0 1 1.5-.9 7.775 7.775 0 0 0-.64 1.36zm6.39-.02a8.557 8.557 0 0 0-.64-1.36 6.696 6.696 0 0 1 1.49.9 7.067 7.067 0 0 1-.89.48l.04-.02zm-1.24.47a6.99 6.99 0 0 1-1.98.36 6.995 6.995 0 0 1-1.94-.34c.55-1.47 1.32-2.34 1.93-2.34.61 0 1.4.87 1.95 2.34l.04-.02zm5.97 4.3A8 8 0 0 0 11.995 2a8 8 0 1 0 5.115 14.155l.09-.09a7.927 7.927 0 0 0 2.8-6.07z",
|
|
31
|
+
fill: "#49A2DF"
|
|
32
|
+
}), (0, _react2.jsx)("path", {
|
|
33
|
+
fillRule: "evenodd",
|
|
34
|
+
clipRule: "evenodd",
|
|
35
|
+
d: "M0 0h25v20H0V0zm1.25 18.75h22.5V1.25H1.25v17.5z",
|
|
36
|
+
fill: "#2D2926",
|
|
37
|
+
fillOpacity: 0.15
|
|
29
38
|
})));
|
|
30
39
|
var _default = SvgFlagInt;
|
|
31
40
|
exports.default = _default;
|
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -117,4 +117,18 @@ Object.keys(_logistics).forEach(function (key) {
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
+
var _SystemIcon = require("./SystemIcon");
|
|
121
|
+
|
|
122
|
+
Object.keys(_SystemIcon).forEach(function (key) {
|
|
123
|
+
if (key === "default" || key === "__esModule") return;
|
|
124
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
125
|
+
if (key in exports && exports[key] === _SystemIcon[key]) return;
|
|
126
|
+
Object.defineProperty(exports, key, {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function get() {
|
|
129
|
+
return _SystemIcon[key];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
|
|
120
134
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/flags/FlagInt.js
CHANGED
|
@@ -7,14 +7,23 @@ var SvgFlagInt = /*#__PURE__*/forwardRef(function (props, svgRef) {
|
|
|
7
7
|
return ___EmotionJSX("svg", _extends({
|
|
8
8
|
width: "1.25em",
|
|
9
9
|
height: "1em",
|
|
10
|
-
viewBox: "0 0
|
|
10
|
+
viewBox: "0 0 25 20",
|
|
11
|
+
fill: "none",
|
|
11
12
|
ref: svgRef
|
|
12
13
|
}, props), ___EmotionJSX("path", {
|
|
13
14
|
fill: "#fff",
|
|
14
|
-
d: "M0
|
|
15
|
+
d: "M0 0h25v20H0z"
|
|
15
16
|
}), ___EmotionJSX("path", {
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
clipRule: "evenodd",
|
|
19
|
+
d: "M14.6 16.105c.235-.388.433-.796.59-1.22.275.12.543.258.8.41a6.625 6.625 0 0 1-1.4.81h.01zm-5.66-1.22c.158.424.356.832.59 1.22a6.203 6.203 0 0 1-1.42-.81c.264-.153.538-.29.82-.41h.01zm3.11 1.71c-.59 0-1.33-.8-1.88-2.19a7.418 7.418 0 0 1 1.88-.27 7.38 7.38 0 0 1 1.88.27c-.54 1.41-1.28 2.21-1.88 2.21v-.02zm3.54-3c.244-.959.386-1.941.42-2.93h2.6a6.659 6.659 0 0 1-1.63 3.72 8.327 8.327 0 0 0-1.39-.79zm-3.53-.77a8.735 8.735 0 0 0-2.28.31 12.68 12.68 0 0 1-.33-2.47h5.23a13.519 13.519 0 0 1-.33 2.47 8.806 8.806 0 0 0-2.3-.31h.01zm-3.95-2.16c.035.989.176 1.971.42 2.93a8.281 8.281 0 0 0-1.42.79 6.582 6.582 0 0 1-1.61-3.72h2.61zm6.6-1.35H9.44c.031-.76.128-1.516.29-2.26a8.585 8.585 0 0 0 4.65 0c.159.751.256 1.513.29 2.28l.04-.02zm1.34 0a14.809 14.809 0 0 0-.38-2.78c.507-.224.99-.499 1.44-.82a6.521 6.521 0 0 1 1.5 3.62l-2.56-.02zm-7.57-2.76c-.216.912-.34 1.843-.37 2.78H5.5a6.516 6.516 0 0 1 1.55-3.62c.447.327.926.609 1.43.84zm.4-1.31a6.336 6.336 0 0 1-.86-.46 6.488 6.488 0 0 1 1.5-.9 7.775 7.775 0 0 0-.64 1.36zm6.39-.02a8.557 8.557 0 0 0-.64-1.36 6.696 6.696 0 0 1 1.49.9 7.067 7.067 0 0 1-.89.48l.04-.02zm-1.24.47a6.99 6.99 0 0 1-1.98.36 6.995 6.995 0 0 1-1.94-.34c.55-1.47 1.32-2.34 1.93-2.34.61 0 1.4.87 1.95 2.34l.04-.02zm5.97 4.3A8 8 0 0 0 11.995 2a8 8 0 1 0 5.115 14.155l.09-.09a7.927 7.927 0 0 0 2.8-6.07z",
|
|
20
|
+
fill: "#49A2DF"
|
|
21
|
+
}), ___EmotionJSX("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M0 0h25v20H0V0zm1.25 18.75h22.5V1.25H1.25v17.5z",
|
|
25
|
+
fill: "#2D2926",
|
|
26
|
+
fillOpacity: 0.15
|
|
18
27
|
}));
|
|
19
28
|
});
|
|
20
29
|
export default SvgFlagInt;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Shared icons within DFDS",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "0.9.
|
|
6
|
+
"version": "0.9.6-alpha.0e1d4db0",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"react": ">= 16.8.0",
|
|
16
16
|
"react-dom": ">= 16.8.0"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "0e1d4db02a4846fa5040393863c4a1bd98a3c6cb",
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
}
|
package/svgs/flags/FlagINT.svg
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<svg version="1.1"
|
|
3
|
-
xmlns="http://www.w3.org/2000/svg" width="40" height="32" viewBox="0 0 40 32">
|
|
4
|
-
<title>International english</title>
|
|
5
|
-
<path fill="#fff" d="M0 0h40v32h-40v-32z"></path>
|
|
6
|
-
<path fill="#68b2e3" d="M23.361 25.768c0.374-0.621 0.691-1.274 0.944-1.952 0.438 0.192 0.867 0.413 1.28 0.656-0.691 0.523-1.445 0.957-2.24 1.296h0.016zM19.297 20.52c-1.234 0.005-2.459 0.17-3.648 0.496-0.306-1.296-0.482-2.619-0.528-3.952h8.368c-0.054 1.331-0.23 2.654-0.528 3.952-1.2-0.328-2.437-0.493-3.68-0.496h0.016zM14.304 23.816c0.253 0.678 0.57 1.331 0.944 1.952-0.811-0.33-1.576-0.766-2.272-1.296 0.422-0.245 0.861-0.464 1.312-0.656h0.016zM12.976 17.064c0.056 1.582 0.282 3.154 0.672 4.688-0.797 0.346-1.559 0.77-2.272 1.264-1.464-1.664-2.365-3.747-2.576-5.952h4.176zM13.568 10.488c-0.346 1.459-0.544 2.949-0.592 4.448h-4.176c0.21-2.139 1.075-4.163 2.48-5.792 0.715 0.523 1.482 0.974 2.288 1.344zM14.208 8.392c-0.477-0.21-0.938-0.456-1.376-0.736 0.731-0.586 1.538-1.070 2.4-1.44-0.411 0.691-0.754 1.419-1.024 2.176zM22.449 9.112c-1.022 0.344-2.090 0.538-3.168 0.576-1.054-0.034-2.101-0.218-3.104-0.544 0.88-2.352 2.112-3.744 3.088-3.744s2.24 1.392 3.12 3.744l0.064-0.032zM24.433 8.36c-0.277-0.754-0.621-1.482-1.026-2.176 0.854 0.374 1.656 0.858 2.386 1.44-0.456 0.29-0.933 0.547-1.424 0.768l0.064-0.032zM23.535 14.904h-8.431c0.050-1.216 0.205-2.426 0.464-3.616 1.208 0.339 2.458 0.512 3.712 0.512 1.259 0.002 2.514-0.171 3.727-0.512 0.254 1.202 0.41 2.421 0.464 3.648l0.064-0.032zM25.681 14.904c-0.062-1.499-0.266-2.987-0.61-4.448 0.811-0.358 1.584-0.798 2.306-1.312 1.374 1.638 2.213 3.661 2.4 5.792l-4.096-0.032zM19.281 26.552c-0.944 0-2.128-1.28-3.008-3.504 0.979-0.272 1.991-0.418 3.008-0.432 1.016 0.014 2.029 0.158 3.008 0.432-0.864 2.256-2.048 3.536-3.008 3.536v-0.032zM24.945 21.752c0.389-1.534 0.616-3.106 0.672-4.688h4.16c-0.229 2.206-1.139 4.288-2.608 5.952-0.699-0.491-1.443-0.915-2.224-1.264zM32 15.992c-0.003-7.069-5.738-12.797-12.807-12.792-7.069 0.003-12.798 5.738-12.793 12.806 0.003 7.069 5.738 12.797 12.807 12.794 2.986-0.002 5.874-1.046 8.17-2.952l0.144-0.144c2.851-2.419 4.49-5.971 4.479-9.712z"></path>
|
|
7
|
-
</svg>
|
|
1
|
+
<svg width="25" height="20" viewBox="0 0 25 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M0 0h25v20H0z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.6 16.105c.235-.388.433-.796.59-1.22.275.12.543.258.8.41a6.625 6.625 0 0 1-1.4.81h.01zm-5.66-1.22c.158.424.356.832.59 1.22a6.203 6.203 0 0 1-1.42-.81c.264-.153.538-.29.82-.41h.01zm3.11 1.71c-.59 0-1.33-.8-1.88-2.19a7.418 7.418 0 0 1 1.88-.27 7.38 7.38 0 0 1 1.88.27c-.54 1.41-1.28 2.21-1.88 2.21v-.02zm3.54-3c.244-.959.386-1.941.42-2.93h2.6a6.659 6.659 0 0 1-1.63 3.72 8.327 8.327 0 0 0-1.39-.79zm-3.53-.77a8.735 8.735 0 0 0-2.28.31 12.68 12.68 0 0 1-.33-2.47h5.23a13.519 13.519 0 0 1-.33 2.47 8.806 8.806 0 0 0-2.3-.31h.01zm-3.95-2.16c.035.989.176 1.971.42 2.93a8.281 8.281 0 0 0-1.42.79 6.582 6.582 0 0 1-1.61-3.72h2.61zm6.6-1.35H9.44c.031-.76.128-1.516.29-2.26a8.585 8.585 0 0 0 4.65 0c.159.751.256 1.513.29 2.28l.04-.02zm1.34 0a14.809 14.809 0 0 0-.38-2.78c.507-.224.99-.499 1.44-.82a6.521 6.521 0 0 1 1.5 3.62l-2.56-.02zm-7.57-2.76c-.216.912-.34 1.843-.37 2.78H5.5a6.516 6.516 0 0 1 1.55-3.62c.447.327.926.609 1.43.84zm.4-1.31a6.336 6.336 0 0 1-.86-.46 6.488 6.488 0 0 1 1.5-.9 7.775 7.775 0 0 0-.64 1.36zm6.39-.02a8.557 8.557 0 0 0-.64-1.36 6.696 6.696 0 0 1 1.49.9 7.067 7.067 0 0 1-.89.48l.04-.02zm-1.24.47a6.99 6.99 0 0 1-1.98.36 6.995 6.995 0 0 1-1.94-.34c.55-1.47 1.32-2.34 1.93-2.34.61 0 1.4.87 1.95 2.34l.04-.02zm5.97 4.3A8 8 0 0 0 11.995 2a8 8 0 1 0 5.115 14.155l.09-.09a7.927 7.927 0 0 0 2.8-6.07z" fill="#49A2DF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0h25v20H0V0zm1.25 18.75h22.5V1.25H1.25v17.5z" fill="#2D2926" fill-opacity=".15"/></svg>
|