@semcore/flags 3.1.2 → 3.2.0
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 +9 -2
- package/generate.ts +108 -0
- package/lib/cjs/Flags.js +16 -13
- package/lib/cjs/Flags.js.map +1 -1
- package/lib/cjs/aliases.json +5 -5
- package/lib/cjs/countries.json +526 -0
- package/lib/es6/Flags.js +16 -13
- package/lib/es6/Flags.js.map +1 -1
- package/lib/es6/aliases.json +5 -5
- package/lib/es6/countries.json +526 -0
- package/lib/sprites/sprite@1x.css +269 -269
- package/lib/sprites/sprite@2x.css +269 -269
- package/package.json +7 -4
- package/png/1x/{Commonwealth.png → Common-Wealth.png} +0 -0
- package/png/2x/{Commonwealth.png → Common-Wealth.png} +0 -0
- package/lib/cjs/countries.js +0 -533
- package/lib/cjs/countries.js.map +0 -1
- package/lib/es6/countries.js +0 -524
- package/lib/es6/countries.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [3.
|
|
5
|
+
## [3.2.0] - 2022-11-23
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- Fixed few countries flag displaying.
|
|
10
|
+
- Removed North Ireland flag as far as image of North Ireland flag was always missing in repository and random image was displayed instead.
|
|
11
|
+
|
|
12
|
+
## [3.1.3] - 2022-10-28
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Version patch update due to children dependencies update (`@semcore/utils` [3.40.0 ~> 3.40.0]).
|
|
10
17
|
|
|
11
18
|
## [3.1.0] - 2022-10-10
|
|
12
19
|
|
package/generate.ts
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { PNG } from 'pngjs';
|
|
2
|
+
import fs from 'fs/promises';
|
|
3
|
+
import imagemin from 'imagemin';
|
|
4
|
+
import imageminPngquant from 'imagemin-pngquant';
|
|
5
|
+
import expectedOutputRequirements from './src/countries.json';
|
|
6
|
+
import aliases from './src/aliases.json';
|
|
7
|
+
import { fileURLToPath } from 'url';
|
|
8
|
+
import { resolve as resolvePath } from 'path';
|
|
9
|
+
import { version } from './package.json';
|
|
10
|
+
|
|
11
|
+
const __dirname = resolvePath(fileURLToPath(import.meta.url), '..');
|
|
12
|
+
|
|
13
|
+
const normalizeName = (name: string) => {
|
|
14
|
+
if (!name) return name;
|
|
15
|
+
const noExtensions = name.includes('.') ? name.split('.').slice(0, -1).join('.') : name;
|
|
16
|
+
const noApostrophe = noExtensions.split("'").join('');
|
|
17
|
+
const noSpaces = noApostrophe.split(' ').join('-');
|
|
18
|
+
const noComas = noSpaces.split(',').join('-');
|
|
19
|
+
return noComas.toLowerCase();
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const versionHash = version.split('.').join('_');
|
|
23
|
+
|
|
24
|
+
await fs.mkdir(resolvePath(__dirname, 'lib/sprites'), { recursive: true });
|
|
25
|
+
// Minimal size for png icon 14x11
|
|
26
|
+
const FLAG_SIZES = { 1: 16, 2: 32 };
|
|
27
|
+
// Offset for correct position icon
|
|
28
|
+
const OFFSET = { x: 1, y: 3 };
|
|
29
|
+
|
|
30
|
+
for (const scaling of [1, 2]) {
|
|
31
|
+
const spritesList = await fs.readdir(resolvePath(__dirname, `./png/${scaling}x`));
|
|
32
|
+
const spriteHeight = Math.ceil(Math.sqrt(spritesList.length));
|
|
33
|
+
const spriteWidth = Math.ceil(spritesList.length / spriteHeight);
|
|
34
|
+
|
|
35
|
+
const parts = await Promise.all(
|
|
36
|
+
spritesList.map(async (spriteName) => {
|
|
37
|
+
const filePath = resolvePath(__dirname, `./png/${scaling}x/${spriteName}`);
|
|
38
|
+
const buffer = await fs.readFile(filePath);
|
|
39
|
+
const png = PNG.sync.read(buffer);
|
|
40
|
+
|
|
41
|
+
return {
|
|
42
|
+
name: normalizeName(spriteName),
|
|
43
|
+
image: png,
|
|
44
|
+
};
|
|
45
|
+
}),
|
|
46
|
+
);
|
|
47
|
+
for (const part of parts) {
|
|
48
|
+
for (const aliasName of aliases[part.name] ?? []) {
|
|
49
|
+
parts.push({
|
|
50
|
+
...part,
|
|
51
|
+
name: normalizeName(aliasName),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const partWidth = parts.reduce(
|
|
57
|
+
(width, part) => Math.max(width, part.image.width),
|
|
58
|
+
FLAG_SIZES[scaling],
|
|
59
|
+
);
|
|
60
|
+
const partHeight = parts.reduce(
|
|
61
|
+
(height, part) => Math.max(height, part.image.height),
|
|
62
|
+
FLAG_SIZES[scaling],
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
const spriteUrl = `https://static.semrush.com/ui-kit/flags/${version}/sprite@${scaling}x.png`;
|
|
66
|
+
const backgroundWidth = `${(spriteWidth * partWidth) / scaling}px`;
|
|
67
|
+
const backgroundHeight = `${(spriteHeight * partHeight) / scaling}px`;
|
|
68
|
+
const backgroundSize = `${backgroundWidth} ${backgroundHeight}`;
|
|
69
|
+
const cssRules: string[] = [
|
|
70
|
+
`.flag-${versionHash} {\n background-image: url(${spriteUrl});\n background-size: ${backgroundSize}\n}`,
|
|
71
|
+
];
|
|
72
|
+
const sprite = new PNG({
|
|
73
|
+
width: spriteWidth * partWidth,
|
|
74
|
+
height: spriteHeight * partHeight,
|
|
75
|
+
});
|
|
76
|
+
for (let i = 0; i < parts.length; i++) {
|
|
77
|
+
const x = (i % spriteWidth) * partWidth;
|
|
78
|
+
const y = Math.floor(i / spriteWidth) * partHeight;
|
|
79
|
+
const { name, image } = parts[i];
|
|
80
|
+
const cssX = -x / scaling + OFFSET['x'];
|
|
81
|
+
const cssY = -y / scaling + OFFSET['y'];
|
|
82
|
+
cssRules.push(`.flag-${name}-${versionHash} {\n background-position: ${cssX}px ${cssY}px;\n}`);
|
|
83
|
+
// for some weird reasons image.bitblt is undefined so here is a little trick with bind (I hate classes)
|
|
84
|
+
new PNG().bitblt.bind(image)(sprite, 0, 0, image.width, image.height, x, y);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const cssOutput = cssRules.join('\n');
|
|
88
|
+
|
|
89
|
+
const spriteBuffer = PNG.sync.write(sprite);
|
|
90
|
+
const reducedBuffer = await imagemin.buffer(spriteBuffer, {
|
|
91
|
+
plugins: [imageminPngquant({ quality: [0.6, 0.8] })],
|
|
92
|
+
});
|
|
93
|
+
await fs.writeFile(resolvePath(__dirname, `./lib/sprites/sprite@${scaling}x.png`), reducedBuffer);
|
|
94
|
+
await fs.writeFile(resolvePath(__dirname, `./lib/sprites/sprite@${scaling}x.css`), cssOutput);
|
|
95
|
+
|
|
96
|
+
const expectedCountries = Object.values({
|
|
97
|
+
...expectedOutputRequirements.iso2Name,
|
|
98
|
+
...expectedOutputRequirements.nameWithoutIso,
|
|
99
|
+
});
|
|
100
|
+
for (const country of expectedCountries) {
|
|
101
|
+
const normalizedName = normalizeName(country);
|
|
102
|
+
if (!cssOutput.includes(normalizedName)) {
|
|
103
|
+
throw new Error(
|
|
104
|
+
`${country} sprite class name is missing in css output (was searching for ${normalizedName} at ${scaling}x scaling)`,
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
package/lib/cjs/Flags.js
CHANGED
|
@@ -43,7 +43,7 @@ var _canUseDOM = _interopRequireDefault(require("@semcore/utils/lib/canUseDOM"))
|
|
|
43
43
|
|
|
44
44
|
var _isRetina = _interopRequireDefault(require("@semcore/utils/lib/isRetina"));
|
|
45
45
|
|
|
46
|
-
var _countries = require("./countries");
|
|
46
|
+
var _countries = require("./countries.json");
|
|
47
47
|
|
|
48
48
|
var _excluded = ["className"];
|
|
49
49
|
|
|
@@ -56,22 +56,25 @@ var styles = (
|
|
|
56
56
|
/*__reshadow_css_start__*/
|
|
57
57
|
_core.sstyled.insert(
|
|
58
58
|
/*__inner_css_start__*/
|
|
59
|
-
"
|
|
59
|
+
".___SFlags_19ycb_gg_{position:relative;display:inline-block;width:16px;height:16px}.___SFlags_19ycb_gg_:after{content:\"\";position:absolute;top:3px;left:1px;display:block;width:14px;height:11px;background-color:#c4c7cf;z-index:-1}.___SFlags_19ycb_gg_[data-capital-letters]{display:inline-flex;justify-content:center;align-items:center;background:#e0e1e9}.___SFlags_19ycb_gg_[data-capital-letters]:before{content:attr(data-capital-letters);font-family:sans-serif;font-size:8px;line-height:normal;font-weight:700;color:#6c6e79}"
|
|
60
60
|
/*__inner_css_end__*/
|
|
61
|
-
, "
|
|
61
|
+
, "19ycb_gg_")
|
|
62
62
|
/*__reshadow_css_end__*/
|
|
63
63
|
, {
|
|
64
|
-
"__SFlags": "
|
|
64
|
+
"__SFlags": "___SFlags_19ycb_gg_"
|
|
65
65
|
}); // @ts-ignore
|
|
66
66
|
|
|
67
|
-
var version = "3.
|
|
67
|
+
var version = "3.2.0";
|
|
68
68
|
var versionForClassName = version.split('.').join('_');
|
|
69
69
|
|
|
70
|
-
function
|
|
71
|
-
if (
|
|
72
|
-
var
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
var normalizeName = function normalizeName(name) {
|
|
71
|
+
if (!name) return name;
|
|
72
|
+
var noExtensions = name.includes('.') ? name.split('.').slice(0, -1).join('.') : name;
|
|
73
|
+
var noApostrophe = noExtensions.split("'").join('');
|
|
74
|
+
var noSpaces = noApostrophe.split(' ').join('-');
|
|
75
|
+
var noComas = noSpaces.split(',').join('-');
|
|
76
|
+
return noComas.toLowerCase();
|
|
77
|
+
};
|
|
75
78
|
|
|
76
79
|
function getCapitalLetters(iso2, iso3, name) {
|
|
77
80
|
if (name) {
|
|
@@ -115,9 +118,9 @@ function calculateName(iso2, iso3, name) {
|
|
|
115
118
|
|
|
116
119
|
var allNames = _objectSpread(_objectSpread(_objectSpread({}, _countries.iso2Name), iso3Name), _countries.nameWithoutIso);
|
|
117
120
|
|
|
118
|
-
if (name) return
|
|
119
|
-
if (iso2) return
|
|
120
|
-
if (iso3) return
|
|
121
|
+
if (name) return normalizeName(allNames[name.toUpperCase()]);
|
|
122
|
+
if (iso2) return normalizeName(_countries.iso2Name[iso2.toUpperCase()]);
|
|
123
|
+
if (iso3) return normalizeName(_countries.iso2Name[_countries.iso3iso2[iso3.toUpperCase()]]);
|
|
121
124
|
return false;
|
|
122
125
|
}
|
|
123
126
|
|
package/lib/cjs/Flags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flags.js","names":["version","versionForClassName","split","join","
|
|
1
|
+
{"version":3,"file":"Flags.js","names":["version","versionForClassName","split","join","normalizeName","name","noExtensions","includes","slice","noApostrophe","noSpaces","noComas","toLowerCase","getCapitalLetters","iso2","iso3","addLinkStyleSprite","patch","canUseDOM","head","window","document","prevLink","querySelector","link","createElement","classList","add","setAttribute","isRetina","appendChild","_addedStyle","calculateName","iso3Name","Object","fromEntries","entries","iso3iso2","map","pair","iso2Name","allNames","nameWithoutIso","toUpperCase","Flags","props","ref","useBox","tag","SFlags","className","other","staticPath","countryName","capitalLetters","undefined","sstyled","styles","cn","displayName","createBaseComponent"],"sources":["../../src/Flags.jsx"],"sourcesContent":["import React from 'react';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport canUseDOM from '@semcore/utils/lib/canUseDOM';\nimport isRetina from '@semcore/utils/lib/isRetina';\nimport { iso2Name, iso3iso2, nameWithoutIso } from './countries.json';\n\nimport styles from './style/flags.shadow.css';\n\n// @ts-ignore\nconst version = preval`\n module.exports = require('../package.json').version\n`;\nconst versionForClassName = version.split('.').join('_');\n\nconst normalizeName = (name) => {\n if (!name) return name;\n const noExtensions = name.includes('.') ? name.split('.').slice(0, -1).join('.') : name;\n const noApostrophe = noExtensions.split(\"'\").join('');\n const noSpaces = noApostrophe.split(' ').join('-');\n const noComas = noSpaces.split(',').join('-');\n return noComas.toLowerCase();\n};\n\nfunction getCapitalLetters(iso2, iso3, name) {\n if (name) {\n return name;\n }\n if (iso2) {\n return iso2;\n }\n if (iso3) {\n return iso3.slice(0, 2);\n }\n return '__';\n}\n\nexport const addLinkStyleSprite = (patch) => {\n if (!canUseDOM()) return false;\n const head = window.document.head;\n const prevLink = head.querySelector(`._css-style-flags-${versionForClassName}`);\n\n if (!prevLink) {\n const link = document.createElement('link');\n link.classList.add(`_css-style-flags-${versionForClassName}`);\n link.setAttribute('rel', 'stylesheet');\n link.setAttribute('href', `${patch}/sprite@${isRetina() ? '2' : '1'}x.css`);\n document.head.appendChild(link);\n }\n\n return true;\n};\n\nlet _addedStyle = false;\n\nfunction calculateName(iso2, iso3, name) {\n const iso3Name = Object.fromEntries(\n Object.entries(iso3iso2).map((pair) => [pair[0], iso2Name[pair[1]]]),\n );\n const allNames = { ...iso2Name, ...iso3Name, ...nameWithoutIso };\n if (name) return normalizeName(allNames[name.toUpperCase()]);\n if (iso2) return normalizeName(iso2Name[iso2.toUpperCase()]);\n if (iso3) return normalizeName(iso2Name[iso3iso2[iso3.toUpperCase()]]);\n return false;\n}\n\nfunction Flags(props, ref) {\n const [SFlags, { className, ...other }] = useBox(\n {\n tag: 'span',\n 'data-ui-name': 'Flags',\n ...props,\n },\n ref,\n );\n const { iso2, iso3, name, staticPath = `//static.semrush.com/ui-kit/flags/${version}` } = props;\n\n if (!_addedStyle) {\n _addedStyle = addLinkStyleSprite(staticPath);\n }\n\n const countryName = calculateName(iso2, iso3, name);\n\n const capitalLetters = countryName ? undefined : getCapitalLetters(iso2, iso3, name);\n\n return sstyled(styles)(\n <SFlags\n className={cn(\n {\n [`flag-${versionForClassName}`]: countryName,\n [`flag-${countryName}-${versionForClassName}`]: countryName,\n },\n className,\n )}\n data-capital-letters={capitalLetters}\n aria-label={countryName || undefined}\n {...other}\n />,\n );\n}\n\nFlags.displayName = 'Flags';\n\nexport { i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AK,CAACe,WAAN,GAAoB,OAApB;;eAGe,IAAAC,yBAAA,EAAoBhB,KAApB,C"}
|
package/lib/cjs/aliases.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
2
|
+
"france": ["Reunion", "French Guiana", "Guadeloupe", "Saint Pierre and Miquelon"],
|
|
3
|
+
"norway": ["Bouvet Island", "Svalbard and Jan Mayen"],
|
|
4
|
+
"australia": ["Heard Island and McDonald Islands"],
|
|
5
|
+
"united-states": ["United States Minor Outlying Islands"],
|
|
6
|
+
"netherlands": ["Bonaire, Sint Eustatius and Saba"]
|
|
7
7
|
}
|