@invoicebox/ui 0.1.0-alpha.55 → 0.1.0-alpha.57
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/dist/components/common/Calendar/index.css +5 -5
- package/dist/components/common/Calendar/index.js +8 -0
- package/dist/components/common/Calendar/palette.d.ts +9 -0
- package/dist/components/common/Calendar/palette.js +17 -0
- package/dist/components/common/Flag/components/ArmFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/ArmFlag/index.js +37 -0
- package/dist/components/common/Flag/components/ArmFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/ArmFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/AzeFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/AzeFlag/index.js +47 -0
- package/dist/components/common/Flag/components/AzeFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/AzeFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/BlrFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/BlrFlag/index.js +42 -0
- package/dist/components/common/Flag/components/BlrFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/BlrFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/ChnFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/ChnFlag/index.js +41 -0
- package/dist/components/common/Flag/components/ChnFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/ChnFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/EngFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/EngFlag/index.js +63 -0
- package/dist/components/common/Flag/components/EngFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/EngFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/EspFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/EspFlag/index.js +95 -0
- package/dist/components/common/Flag/components/EspFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/EspFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/KazFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/KazFlag/index.js +33 -0
- package/dist/components/common/Flag/components/KazFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/KazFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/KgzFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/KgzFlag/index.js +30 -0
- package/dist/components/common/Flag/components/KgzFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/KgzFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/MdaFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/MdaFlag/index.js +59 -0
- package/dist/components/common/Flag/components/MdaFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/MdaFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/RusFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/RusFlag/index.js +39 -0
- package/dist/components/common/Flag/components/RusFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/RusFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/TjkFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/TjkFlag/index.js +44 -0
- package/dist/components/common/Flag/components/TjkFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/TjkFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/components/UzbFlag/index.d.ts +1 -0
- package/dist/components/common/Flag/components/UzbFlag/index.js +50 -0
- package/dist/components/common/Flag/components/UzbFlag/index.stories.d.ts +5 -0
- package/dist/components/common/Flag/components/UzbFlag/index.stories.js +14 -0
- package/dist/components/common/Flag/index.d.ts +12 -0
- package/dist/components/common/Flag/index.js +49 -0
- package/dist/components/common/Flag/index.stories.d.ts +6 -0
- package/dist/components/common/Flag/index.stories.js +23 -0
- package/dist/components/common/Flag/styles.d.ts +5 -0
- package/dist/components/common/Flag/styles.js +18 -0
- package/dist/components/common/Typography/index.d.ts +0 -1
- package/dist/components/common/Typography/index.js +9 -26
- package/dist/components/common/Typography/index.stories.js +2 -3
- package/dist/components/form/CountrySelect/components/CountryItem/index.d.ts +13 -0
- package/dist/components/form/CountrySelect/components/CountryItem/index.js +42 -0
- package/dist/components/form/CountrySelect/components/CountryItem/index.stories.d.ts +5 -0
- package/dist/components/form/CountrySelect/components/CountryItem/index.stories.js +34 -0
- package/dist/components/form/CountrySelect/components/CountryItem/stlyes.d.ts +9 -0
- package/dist/components/form/CountrySelect/components/CountryItem/stlyes.js +31 -0
- package/dist/components/form/CountrySelect/index.d.ts +22 -0
- package/dist/components/form/CountrySelect/index.js +123 -0
- package/dist/components/form/CountrySelect/index.stories.d.ts +5 -0
- package/dist/components/form/CountrySelect/index.stories.js +57 -0
- package/dist/components/form/CountrySelect/logic.d.ts +5 -0
- package/dist/components/form/CountrySelect/logic.js +25 -0
- package/dist/components/form/CountrySelect/palette.d.ts +9 -0
- package/dist/components/form/CountrySelect/palette.js +17 -0
- package/dist/components/form/CountrySelect/stlyes.d.ts +8 -0
- package/dist/components/form/CountrySelect/stlyes.js +27 -0
- package/dist/components/form/SearchInput/components/CrossIcon/index.d.ts +1 -0
- package/dist/components/form/SearchInput/components/CrossIcon/index.js +23 -0
- package/dist/components/form/SearchInput/components/CrossIcon/index.stories.d.ts +5 -0
- package/dist/components/form/SearchInput/components/CrossIcon/index.stories.js +14 -0
- package/dist/components/form/SearchInput/components/SearchIcon/index.d.ts +1 -0
- package/dist/components/form/SearchInput/components/SearchIcon/index.js +24 -0
- package/dist/components/form/SearchInput/components/SearchIcon/index.stories.d.ts +5 -0
- package/dist/components/form/SearchInput/components/SearchIcon/index.stories.js +14 -0
- package/dist/components/form/SearchInput/index.d.ts +7 -0
- package/dist/components/form/SearchInput/index.js +50 -0
- package/dist/components/form/SearchInput/index.stories.d.ts +5 -0
- package/dist/components/form/SearchInput/index.stories.js +38 -0
- package/dist/components/form/SearchInput/palette.d.ts +5 -0
- package/dist/components/form/SearchInput/palette.js +11 -0
- package/dist/components/form/SearchInput/styles.d.ts +7 -0
- package/dist/components/form/SearchInput/styles.js +25 -0
- package/dist/components/form/Select/hooks/useOptionGroups.d.ts +5 -0
- package/dist/components/form/Select/hooks/useOptionGroups.js +33 -0
- package/dist/components/form/Select/index.d.ts +12 -5
- package/dist/components/form/Select/index.js +23 -10
- package/dist/components/form/Select/index.stories.js +16 -5
- package/dist/components/form/Select/styles.d.ts +2 -0
- package/dist/components/form/Select/styles.js +14 -5
- package/dist/hooks/useCss/index.d.ts +6 -0
- package/dist/hooks/useCss/index.js +31 -0
- package/dist/hooks/useCss/index.stories.d.ts +4 -0
- package/dist/hooks/useCss/index.stories.js +38 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +14 -6
- package/dist/palette/colors.stories.js +1 -0
- package/dist/palette/context.d.ts +6 -0
- package/dist/palette/context.js +7 -1
- package/dist/palette/provider.js +7 -1
- package/dist/palette/usePalette.d.ts +3 -0
- package/package.json +1 -1
- package/dist/components/common/Typography/docs.stories.d.ts +0 -6
- package/dist/components/common/Typography/docs.stories.js +0 -20
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.KgzFlag = void 0;
|
|
7
|
+
var KgzFlag = exports.KgzFlag = function KgzFlag() {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: "100%",
|
|
10
|
+
height: "100%",
|
|
11
|
+
viewBox: "0 0 22 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
15
|
+
width: "22",
|
|
16
|
+
height: "16",
|
|
17
|
+
rx: "2",
|
|
18
|
+
fill: "#F93939"
|
|
19
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
clipRule: "evenodd",
|
|
22
|
+
d: "M10.6919 10.1175C10.7935 10.1282 10.8962 10.1335 10.9999 10.1335C11.1047 10.1335 11.2063 10.1282 11.3079 10.1175L10.9999 9.3335L10.6919 10.1175ZM9.27134 9.53616C8.72343 9.09456 8.38086 8.4503 8.38086 7.7335C8.38086 6.88763 8.85857 6.14416 9.57934 5.7175L10.4761 8.00016L9.27134 9.53616ZM12.4205 5.7175C13.1412 6.14416 13.619 6.88763 13.619 7.7335C13.619 8.45136 13.2753 9.09563 12.7285 9.53616L11.5237 8.00016L12.4205 5.7175ZM12.3157 5.65776C11.9281 5.45083 11.4797 5.3335 10.9999 5.3335C10.5201 5.3335 10.0707 5.45083 9.6841 5.65776L10.9999 7.33243L12.3157 5.65776Z",
|
|
23
|
+
fill: "#FFDA2C"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
clipRule: "evenodd",
|
|
27
|
+
d: "M10.9999 12.8002C13.6033 12.8002 15.7142 10.6509 15.7142 8.0002C15.7142 5.34953 13.6033 3.2002 10.9999 3.2002C8.3966 3.2002 6.28564 5.34953 6.28564 8.0002C6.28564 10.6509 8.3966 12.8002 10.9999 12.8002ZM10.9999 11.7335C13.025 11.7335 14.6666 10.0621 14.6666 8.0002C14.6666 5.93833 13.025 4.26686 10.9999 4.26686C8.97488 4.26686 7.33326 5.93833 7.33326 8.0002C7.33326 10.0621 8.97488 11.7335 10.9999 11.7335Z",
|
|
28
|
+
fill: "#FFDA2C"
|
|
29
|
+
}));
|
|
30
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.Default = void 0;
|
|
7
|
+
var _ = require(".");
|
|
8
|
+
var meta = {
|
|
9
|
+
title: 'common/Flag/_components/KgzFlag',
|
|
10
|
+
component: _.KgzFlag,
|
|
11
|
+
tags: ['autodocs']
|
|
12
|
+
};
|
|
13
|
+
var _default = exports["default"] = meta;
|
|
14
|
+
var Default = exports.Default = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MdaFlag: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MdaFlag = void 0;
|
|
7
|
+
var MdaFlag = exports.MdaFlag = function MdaFlag() {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: "100%",
|
|
10
|
+
height: "100%",
|
|
11
|
+
viewBox: "0 0 22 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
clipPath: "url(#clip0_216_201747)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17
|
+
width: "22",
|
|
18
|
+
height: "16",
|
|
19
|
+
rx: "2",
|
|
20
|
+
fill: "#FFDA2C"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M0 0H8V16H0V0Z",
|
|
25
|
+
fill: "#1A47B8"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M9 5.125H14V10.75H9V5.125ZM9 10.75L11.5 13L14 10.75H9ZM11 4H12V5.125H11V4Z",
|
|
30
|
+
fill: "#AE6A3E"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
fillRule: "evenodd",
|
|
33
|
+
clipRule: "evenodd",
|
|
34
|
+
d: "M10 6H13V9H10V6Z",
|
|
35
|
+
fill: "#AF010D"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
clipRule: "evenodd",
|
|
39
|
+
d: "M10 9H13V10.2H10V9ZM10 10.2L11.5 11L13 10.2H10Z",
|
|
40
|
+
fill: "#1A47B8"
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
|
+
fillRule: "evenodd",
|
|
43
|
+
clipRule: "evenodd",
|
|
44
|
+
d: "M11.5 7C11.776 7 12 7.321 12 7.7575V9.2425C12 9.6625 11.768 10 11.5 10C11.224 10 11 9.679 11 9.2425V7.7575C11 7.3375 11.232 7 11.5 7Z",
|
|
45
|
+
fill: "#FFDA2C"
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M15 0H23V16H15V0Z",
|
|
50
|
+
fill: "#AF010D"
|
|
51
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
52
|
+
id: "clip0_216_201747"
|
|
53
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
54
|
+
width: "22",
|
|
55
|
+
height: "16",
|
|
56
|
+
rx: "2",
|
|
57
|
+
fill: "white"
|
|
58
|
+
}))));
|
|
59
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.Default = void 0;
|
|
7
|
+
var _ = require(".");
|
|
8
|
+
var meta = {
|
|
9
|
+
title: 'common/Flag/_components/MdaFlag',
|
|
10
|
+
component: _.MdaFlag,
|
|
11
|
+
tags: ['autodocs']
|
|
12
|
+
};
|
|
13
|
+
var _default = exports["default"] = meta;
|
|
14
|
+
var Default = exports.Default = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RusFlag: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RusFlag = void 0;
|
|
7
|
+
var RusFlag = exports.RusFlag = function RusFlag() {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: "100%",
|
|
10
|
+
height: "100%",
|
|
11
|
+
viewBox: "0 0 22 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
clipPath: "url(#clip0_1738_85108)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17
|
+
width: "22",
|
|
18
|
+
height: "16",
|
|
19
|
+
rx: "2",
|
|
20
|
+
fill: "#1A47B8"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M0 10.6667H22V16.0001H0V10.6667Z",
|
|
25
|
+
fill: "#F93939"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M0 0H22V5.33333H0V0Z",
|
|
30
|
+
fill: "white"
|
|
31
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
32
|
+
id: "clip0_1738_85108"
|
|
33
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
34
|
+
width: "22",
|
|
35
|
+
height: "16",
|
|
36
|
+
rx: "2",
|
|
37
|
+
fill: "white"
|
|
38
|
+
}))));
|
|
39
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.Default = void 0;
|
|
7
|
+
var _ = require(".");
|
|
8
|
+
var meta = {
|
|
9
|
+
title: 'common/Flag/_components/RusFlag',
|
|
10
|
+
component: _.RusFlag,
|
|
11
|
+
tags: ['autodocs']
|
|
12
|
+
};
|
|
13
|
+
var _default = exports["default"] = meta;
|
|
14
|
+
var Default = exports.Default = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TjkFlag: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TjkFlag = void 0;
|
|
7
|
+
var TjkFlag = exports.TjkFlag = function TjkFlag() {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: "100%",
|
|
10
|
+
height: "100%",
|
|
11
|
+
viewBox: "0 0 22 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
clipPath: "url(#clip0_216_201755)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17
|
+
width: "22",
|
|
18
|
+
height: "16",
|
|
19
|
+
rx: "2",
|
|
20
|
+
fill: "white"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M0 11H22V16H0V11Z",
|
|
25
|
+
fill: "#249F58"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M12.5401 7.6799C12.5611 7.78337 12.5716 7.89004 12.5716 7.9999C12.5716 8.8831 11.8676 9.5999 11.0001 9.5999C10.1327 9.5999 9.42871 8.8831 9.42871 7.9999C9.42871 7.89004 9.43919 7.78337 9.46014 7.6799C9.60681 8.1663 10.2396 8.53324 11.0001 8.53324C11.7607 8.53324 12.3935 8.1663 12.5401 7.6799ZM11.0001 7.46657C11.2893 7.46657 11.5239 7.22764 11.5239 6.93324C11.5239 6.63884 11.2893 6.3999 11.0001 6.3999C10.711 6.3999 10.4763 6.63884 10.4763 6.93324C10.4763 7.22764 10.711 7.46657 11.0001 7.46657Z",
|
|
30
|
+
fill: "#FFDA2C"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
fillRule: "evenodd",
|
|
33
|
+
clipRule: "evenodd",
|
|
34
|
+
d: "M0 0H22V5H0V0Z",
|
|
35
|
+
fill: "#AF010D"
|
|
36
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
37
|
+
id: "clip0_216_201755"
|
|
38
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
39
|
+
width: "22",
|
|
40
|
+
height: "16",
|
|
41
|
+
rx: "2",
|
|
42
|
+
fill: "white"
|
|
43
|
+
}))));
|
|
44
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.Default = void 0;
|
|
7
|
+
var _ = require(".");
|
|
8
|
+
var meta = {
|
|
9
|
+
title: 'common/Flag/_components/TjkFlag',
|
|
10
|
+
component: _.TjkFlag,
|
|
11
|
+
tags: ['autodocs']
|
|
12
|
+
};
|
|
13
|
+
var _default = exports["default"] = meta;
|
|
14
|
+
var Default = exports.Default = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UzbFlag: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.UzbFlag = void 0;
|
|
7
|
+
var UzbFlag = exports.UzbFlag = function UzbFlag() {
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: "100%",
|
|
10
|
+
height: "100%",
|
|
11
|
+
viewBox: "0 0 22 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
clipPath: "url(#clip0_216_201760)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17
|
+
width: "22",
|
|
18
|
+
height: "16",
|
|
19
|
+
rx: "2",
|
|
20
|
+
fill: "#F93939"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M0 12H22V16H0V12Z",
|
|
25
|
+
fill: "#00B731"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M0 0H22V4H0V0Z",
|
|
30
|
+
fill: "#03BCDB"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
fillRule: "evenodd",
|
|
33
|
+
clipRule: "evenodd",
|
|
34
|
+
d: "M0 5.44444H22V11H0V5.44444ZM5.2381 4.23889C5.07467 4.3 4.89762 4.33333 4.71429 4.33333C3.84686 4.33333 3.14286 3.58667 3.14286 2.66667C3.14286 1.74667 3.84686 1 4.71429 1C4.89762 1 5.07467 1.03333 5.2381 1.09444C4.62733 1.32333 4.19048 1.94111 4.19048 2.66667C4.19048 3.39222 4.62733 4.01111 5.2381 4.23889Z",
|
|
35
|
+
fill: "white"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
opacity: "0.5",
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M6 2H7.2V3H6V2ZM7.2 1H8.4V2H7.2V1ZM8.4 2H9.6V3H8.4V2ZM9.6 1H10.8V2H9.6V1ZM10.8 2H12V3H10.8V2ZM9.6 3H10.8V4H9.6V3ZM7.2 3H8.4V4H7.2V3Z",
|
|
41
|
+
fill: "#1A47B8"
|
|
42
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
43
|
+
id: "clip0_216_201760"
|
|
44
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
45
|
+
width: "22",
|
|
46
|
+
height: "16",
|
|
47
|
+
rx: "2",
|
|
48
|
+
fill: "white"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.Default = void 0;
|
|
7
|
+
var _ = require(".");
|
|
8
|
+
var meta = {
|
|
9
|
+
title: 'common/Flag/_components/UzbFlag',
|
|
10
|
+
component: _.UzbFlag,
|
|
11
|
+
tags: ['autodocs']
|
|
12
|
+
};
|
|
13
|
+
var _default = exports["default"] = meta;
|
|
14
|
+
var Default = exports.Default = {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const flagKeys: readonly ["RUS", "BLR", "KAZ", "AZE", "ARM", "KGZ", "MDA", "TJK", "UZB", "CHN", "ENG", "ESP"];
|
|
2
|
+
export type TFlagKey = (typeof flagKeys)[number];
|
|
3
|
+
export type TProps = {
|
|
4
|
+
flag: TFlagKey;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const Flag: {
|
|
9
|
+
({ flag, width, height }: TProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
flags: readonly ["RUS", "BLR", "KAZ", "AZE", "ARM", "KGZ", "MDA", "TJK", "UZB", "CHN", "ENG", "ESP"];
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.Flag = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var S = _interopRequireWildcard(require("./styles"));
|
|
10
|
+
var _RusFlag = require("./components/RusFlag");
|
|
11
|
+
var _KazFlag = require("./components/KazFlag");
|
|
12
|
+
var _BlrFlag = require("./components/BlrFlag");
|
|
13
|
+
var _AzeFlag = require("./components/AzeFlag");
|
|
14
|
+
var _ArmFlag = require("./components/ArmFlag");
|
|
15
|
+
var _KgzFlag = require("./components/KgzFlag");
|
|
16
|
+
var _MdaFlag = require("./components/MdaFlag");
|
|
17
|
+
var _TjkFlag = require("./components/TjkFlag");
|
|
18
|
+
var _UzbFlag = require("./components/UzbFlag");
|
|
19
|
+
var _ChnFlag = require("./components/ChnFlag");
|
|
20
|
+
var _EngFlag = require("./components/EngFlag");
|
|
21
|
+
var _EspFlag = require("./components/EspFlag");
|
|
22
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
23
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
var flagKeys = ['RUS', 'BLR', 'KAZ', 'AZE', 'ARM', 'KGZ', 'MDA', 'TJK', 'UZB', 'CHN', 'ENG', 'ESP'];
|
|
26
|
+
var map = {
|
|
27
|
+
RUS: /*#__PURE__*/_react["default"].createElement(_RusFlag.RusFlag, null),
|
|
28
|
+
KAZ: /*#__PURE__*/_react["default"].createElement(_KazFlag.KazFlag, null),
|
|
29
|
+
BLR: /*#__PURE__*/_react["default"].createElement(_BlrFlag.BlrFlag, null),
|
|
30
|
+
AZE: /*#__PURE__*/_react["default"].createElement(_AzeFlag.AzeFlag, null),
|
|
31
|
+
ARM: /*#__PURE__*/_react["default"].createElement(_ArmFlag.ArmFlag, null),
|
|
32
|
+
KGZ: /*#__PURE__*/_react["default"].createElement(_KgzFlag.KgzFlag, null),
|
|
33
|
+
MDA: /*#__PURE__*/_react["default"].createElement(_MdaFlag.MdaFlag, null),
|
|
34
|
+
TJK: /*#__PURE__*/_react["default"].createElement(_TjkFlag.TjkFlag, null),
|
|
35
|
+
UZB: /*#__PURE__*/_react["default"].createElement(_UzbFlag.UzbFlag, null),
|
|
36
|
+
CHN: /*#__PURE__*/_react["default"].createElement(_ChnFlag.ChnFlag, null),
|
|
37
|
+
ENG: /*#__PURE__*/_react["default"].createElement(_EngFlag.EngFlag, null),
|
|
38
|
+
ESP: /*#__PURE__*/_react["default"].createElement(_EspFlag.EspFlag, null)
|
|
39
|
+
};
|
|
40
|
+
var Flag = exports.Flag = function Flag(_ref) {
|
|
41
|
+
var flag = _ref.flag,
|
|
42
|
+
width = _ref.width,
|
|
43
|
+
height = _ref.height;
|
|
44
|
+
return /*#__PURE__*/_react["default"].createElement(S.FlagWrapper, {
|
|
45
|
+
$width: width,
|
|
46
|
+
$height: height
|
|
47
|
+
}, map[flag]);
|
|
48
|
+
};
|
|
49
|
+
Flag.flags = flagKeys;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.Default = void 0;
|
|
7
|
+
var _ = require(".");
|
|
8
|
+
var meta = {
|
|
9
|
+
title: 'common/Flag',
|
|
10
|
+
component: _.Flag,
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
parameters: {
|
|
13
|
+
layout: 'centered'
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
var _default = exports["default"] = meta;
|
|
17
|
+
var Default = exports.Default = {
|
|
18
|
+
args: {
|
|
19
|
+
flag: 'RUS',
|
|
20
|
+
width: 44,
|
|
21
|
+
height: 32
|
|
22
|
+
}
|
|
23
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const FlagWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
+
$width: number;
|
|
4
|
+
$height: number;
|
|
5
|
+
}>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.FlagWrapper = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
var FlagWrapper = exports.FlagWrapper = _styledComponents["default"].div.withConfig({
|
|
10
|
+
displayName: "styles__FlagWrapper",
|
|
11
|
+
componentId: "sc-1te2h7u-0"
|
|
12
|
+
})(["box-shadow:0 1px 5px rgba(53,63,71,0.2);width:", "px;height:", "px;display:flex;justify-content:center;align-items:center;"], function (_ref) {
|
|
13
|
+
var $width = _ref.$width;
|
|
14
|
+
return $width;
|
|
15
|
+
}, function (_ref2) {
|
|
16
|
+
var $height = _ref2.$height;
|
|
17
|
+
return $height;
|
|
18
|
+
});
|
|
@@ -22,5 +22,4 @@ export type TProps = {
|
|
|
22
22
|
variant: keyof typeof typography;
|
|
23
23
|
} & (TDivProps | TParagraphProps | TSpanProps | THeadingProps | TButtonProps | TInputProps);
|
|
24
24
|
export declare const Typography: FC<TProps>;
|
|
25
|
-
export declare const TypographyGlobalStyle: FC;
|
|
26
25
|
export {};
|
|
@@ -4,46 +4,29 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.
|
|
8
|
-
var _react =
|
|
7
|
+
exports.Typography = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var S = _interopRequireWildcard(require("./styles"));
|
|
10
|
+
var _useCss = require("../../../hooks/useCss");
|
|
10
11
|
var _excluded = ["variant", "element"];
|
|
11
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
16
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
17
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
+
var CSS_ID = 'INVOICEBOX_UI_TYPOGRAPHY';
|
|
16
19
|
var Typography = exports.Typography = function Typography(_ref) {
|
|
17
20
|
var variant = _ref.variant,
|
|
18
21
|
_ref$element = _ref.element,
|
|
19
22
|
element = _ref$element === void 0 ? 'div' : _ref$element,
|
|
20
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
24
|
+
(0, _useCss.useCss)({
|
|
25
|
+
id: CSS_ID,
|
|
26
|
+
css: "@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap')"
|
|
27
|
+
});
|
|
21
28
|
return /*#__PURE__*/_react["default"].createElement(S.Wrapper, _extends({
|
|
22
29
|
as: element,
|
|
23
30
|
$variant: variant
|
|
24
31
|
}, rest));
|
|
25
|
-
};
|
|
26
|
-
var TypographyGlobalStyle = exports.TypographyGlobalStyle = function TypographyGlobalStyle() {
|
|
27
|
-
(0, _react.useEffect)(function () {
|
|
28
|
-
var primaryLink = document.createElement('link');
|
|
29
|
-
primaryLink.rel = 'preconnect';
|
|
30
|
-
primaryLink.href = 'https://fonts.googleapis.com';
|
|
31
|
-
var secondaryLink = document.createElement('link');
|
|
32
|
-
secondaryLink.rel = 'preconnect';
|
|
33
|
-
secondaryLink.href = 'https://fonts.gstatic.com';
|
|
34
|
-
secondaryLink.crossOrigin = '';
|
|
35
|
-
var thirdLink = document.createElement('link');
|
|
36
|
-
thirdLink.rel = 'stylesheet';
|
|
37
|
-
thirdLink.href = 'https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap';
|
|
38
|
-
var links = [primaryLink, secondaryLink, thirdLink];
|
|
39
|
-
links.forEach(function (link) {
|
|
40
|
-
return document.head.appendChild(link);
|
|
41
|
-
});
|
|
42
|
-
return function () {
|
|
43
|
-
links.forEach(function (link) {
|
|
44
|
-
return document.head.removeChild(link);
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
}, []);
|
|
48
|
-
return null;
|
|
49
32
|
};
|
|
@@ -7,7 +7,6 @@ exports["default"] = exports.List = exports.Default = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _ = require(".");
|
|
9
9
|
var _typography = require("./typography");
|
|
10
|
-
var _markdownToJsx = _interopRequireDefault(require("markdown-to-jsx"));
|
|
11
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
11
|
var meta = {
|
|
13
12
|
title: 'common/Typography',
|
|
@@ -29,9 +28,9 @@ var List = exports.List = {
|
|
|
29
28
|
}, Object.keys(_typography.typography).map(function (variant) {
|
|
30
29
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
31
30
|
key: variant
|
|
32
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
31
|
+
}, /*#__PURE__*/_react["default"].createElement("h3", null, variant), /*#__PURE__*/_react["default"].createElement(_.Typography, {
|
|
33
32
|
variant: variant
|
|
34
|
-
}, dummyText), /*#__PURE__*/_react["default"].createElement(
|
|
33
|
+
}, dummyText), /*#__PURE__*/_react["default"].createElement("pre", null, /*#__PURE__*/_react["default"].createElement("code", null, _typography.typography[variant].join('').replaceAll(' ', '').split('\n').filter(Boolean).join('\n'))), /*#__PURE__*/_react["default"].createElement("hr", null));
|
|
35
34
|
}));
|
|
36
35
|
}
|
|
37
36
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TFlagKey } from '../../../../common/Flag';
|
|
2
|
+
import { TCountrySelectPalette } from '../../palette';
|
|
3
|
+
export type TProps<TValue> = {
|
|
4
|
+
countryLabel: string;
|
|
5
|
+
onSelect: (value: TValue) => void;
|
|
6
|
+
value: TValue;
|
|
7
|
+
isSelected: boolean;
|
|
8
|
+
description: string;
|
|
9
|
+
selectedLabel: string;
|
|
10
|
+
palette: TCountrySelectPalette;
|
|
11
|
+
flag?: TFlagKey;
|
|
12
|
+
};
|
|
13
|
+
export declare const CountryItem: <TValue>({ isSelected, flag, onSelect, description, value, countryLabel, selectedLabel, palette, }: TProps<TValue>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.CountryItem = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var S = _interopRequireWildcard(require("./stlyes"));
|
|
10
|
+
var _Flag = require("../../../../common/Flag");
|
|
11
|
+
var _Typography = require("../../../../common/Typography");
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
|
+
var CountryItem = exports.CountryItem = function CountryItem(_ref) {
|
|
15
|
+
var isSelected = _ref.isSelected,
|
|
16
|
+
flag = _ref.flag,
|
|
17
|
+
onSelect = _ref.onSelect,
|
|
18
|
+
description = _ref.description,
|
|
19
|
+
value = _ref.value,
|
|
20
|
+
countryLabel = _ref.countryLabel,
|
|
21
|
+
selectedLabel = _ref.selectedLabel,
|
|
22
|
+
palette = _ref.palette;
|
|
23
|
+
var handleSelect = (0, _react.useCallback)(function () {
|
|
24
|
+
return onSelect(value);
|
|
25
|
+
}, [onSelect, value]);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement(S.Wrapper, {
|
|
27
|
+
$palette: palette,
|
|
28
|
+
onClick: handleSelect,
|
|
29
|
+
type: "button"
|
|
30
|
+
}, /*#__PURE__*/_react["default"].createElement(S.Title, {
|
|
31
|
+
$isSelected: isSelected,
|
|
32
|
+
$palette: palette
|
|
33
|
+
}, flag && /*#__PURE__*/_react["default"].createElement(_Flag.Flag, {
|
|
34
|
+
flag: flag,
|
|
35
|
+
width: 17,
|
|
36
|
+
height: 12
|
|
37
|
+
}), /*#__PURE__*/_react["default"].createElement(_Typography.Typography, {
|
|
38
|
+
variant: 'captionRegular'
|
|
39
|
+
}, countryLabel, " ", isSelected && selectedLabel)), /*#__PURE__*/_react["default"].createElement(_Typography.Typography, {
|
|
40
|
+
variant: 'captionRegular'
|
|
41
|
+
}, description));
|
|
42
|
+
};
|