@semcore/flags 2.2.2 → 2.2.5
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/README.md +10 -4
- package/lib/cjs/Flags.js +9 -7
- package/lib/cjs/Flags.js.map +1 -1
- package/lib/cjs/index.js +5 -1
- package/lib/es6/Flags.js +7 -6
- package/lib/es6/Flags.js.map +1 -1
- package/lib/sprites/sprite@1x.css +269 -269
- package/lib/sprites/sprite@1x.png +0 -0
- package/lib/sprites/sprite@2x.css +269 -269
- package/lib/sprites/sprite@2x.png +0 -0
- package/lib/types/index.d.ts +3 -3
- package/package.json +8 -3
- package/src/{Flags.js → Flags.jsx} +0 -0
- package/src/index.d.ts +3 -3
|
Binary file
|
package/lib/types/index.d.ts
CHANGED
|
@@ -503,7 +503,7 @@ export declare enum iso2Name {
|
|
|
503
503
|
eh,
|
|
504
504
|
ye,
|
|
505
505
|
zm,
|
|
506
|
-
zw
|
|
506
|
+
zw,
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
export declare enum iso3Name {
|
|
@@ -1008,8 +1008,8 @@ export declare enum iso3Name {
|
|
|
1008
1008
|
esh,
|
|
1009
1009
|
yem,
|
|
1010
1010
|
zmb,
|
|
1011
|
-
zwe
|
|
1012
|
-
}
|
|
1011
|
+
zwe,
|
|
1012
|
+
}
|
|
1013
1013
|
|
|
1014
1014
|
type iso2 = keyof typeof iso2Name;
|
|
1015
1015
|
type iso3 = keyof typeof iso3Name;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/flags",
|
|
3
3
|
"description": "SEMRush Flags Component",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.5",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "build --source=js && flags-sprite",
|
|
13
|
-
"
|
|
13
|
+
"upload-static": "gcs-upload lib/sprites/*",
|
|
14
14
|
"test": "jest"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
"react": "16.8 - 17"
|
|
23
23
|
},
|
|
24
24
|
"jest": {
|
|
25
|
-
"preset": "jest-preset-ui"
|
|
25
|
+
"preset": "@semcore/jest-preset-ui"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/semrush/intergalactic.git",
|
|
30
|
+
"directory": "semcore/flags"
|
|
26
31
|
}
|
|
27
32
|
}
|
|
File without changes
|
package/src/index.d.ts
CHANGED
|
@@ -503,7 +503,7 @@ export declare enum iso2Name {
|
|
|
503
503
|
eh,
|
|
504
504
|
ye,
|
|
505
505
|
zm,
|
|
506
|
-
zw
|
|
506
|
+
zw,
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
export declare enum iso3Name {
|
|
@@ -1008,8 +1008,8 @@ export declare enum iso3Name {
|
|
|
1008
1008
|
esh,
|
|
1009
1009
|
yem,
|
|
1010
1010
|
zmb,
|
|
1011
|
-
zwe
|
|
1012
|
-
}
|
|
1011
|
+
zwe,
|
|
1012
|
+
}
|
|
1013
1013
|
|
|
1014
1014
|
type iso2 = keyof typeof iso2Name;
|
|
1015
1015
|
type iso3 = keyof typeof iso3Name;
|