@semcore/flags 17.0.0-prerelease.43 → 17.0.1
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 +6 -0
- package/lib/cjs/Flags.js +3 -3
- package/lib/es6/Flags.js +3 -3
- package/lib/sprites/sprite@1x.css +256 -256
- package/lib/sprites/sprite@2x.css +257 -257
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/lib/cjs/Flags.js
CHANGED
|
@@ -13,16 +13,16 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
|
14
14
|
var _countries = _interopRequireDefault(require("./countries.json"));
|
|
15
15
|
/*!__reshadow-styles__:"./style/flags.shadow.css"*/
|
|
16
|
-
const styles = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
16
|
+
const styles = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SFlags_13v27_gg_{position:relative;display:inline-block;width:16px;height:16px}.___SFlags_13v27_gg_::after{content:\"\";position:absolute;top:3px;left:1px;display:block;width:14px;height:11px;background-color:var(--intergalactic-bg-secondary-neutral-active, #c4c7cf);z-index:-1}.___SFlags_13v27_gg_[data-capital-letters]{display:inline-flex;justify-content:center;align-items:center;background:var(--intergalactic-bg-primary-neutral-active, #e0e1e9)}.___SFlags_13v27_gg_[data-capital-letters]::before{content:attr(data-capital-letters);font-family:sans-serif;font-size:calc(var(--intergalactic-fs-50, 10px) - 2px);line-height:normal;font-weight:var(--intergalactic-bold, 700);color:var(--intergalactic-text-secondary, #6c6e79)}", /*__inner_css_end__*/"13v27_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SFlags": "
|
|
19
|
+
"__SFlags": "___SFlags_13v27_gg_"
|
|
20
20
|
});
|
|
21
21
|
const iso2Name = exports.iso2Name = _countries.default.iso2Name;
|
|
22
22
|
const iso3iso2 = exports.iso3iso2 = _countries.default.iso3iso2;
|
|
23
23
|
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
const version = "17.0.
|
|
25
|
+
const version = "17.0.1";
|
|
26
26
|
const versionForClassName = version.split('.').join('_');
|
|
27
27
|
const normalizeName = name => {
|
|
28
28
|
if (!name) return name;
|
package/lib/es6/Flags.js
CHANGED
|
@@ -7,16 +7,16 @@ import cn from 'classnames';
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import countries from './countries.json';
|
|
9
9
|
/*!__reshadow-styles__:"./style/flags.shadow.css"*/
|
|
10
|
-
const styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
10
|
+
const styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SFlags_13v27_gg_{position:relative;display:inline-block;width:16px;height:16px}.___SFlags_13v27_gg_::after{content:\"\";position:absolute;top:3px;left:1px;display:block;width:14px;height:11px;background-color:var(--intergalactic-bg-secondary-neutral-active, #c4c7cf);z-index:-1}.___SFlags_13v27_gg_[data-capital-letters]{display:inline-flex;justify-content:center;align-items:center;background:var(--intergalactic-bg-primary-neutral-active, #e0e1e9)}.___SFlags_13v27_gg_[data-capital-letters]::before{content:attr(data-capital-letters);font-family:sans-serif;font-size:calc(var(--intergalactic-fs-50, 10px) - 2px);line-height:normal;font-weight:var(--intergalactic-bold, 700);color:var(--intergalactic-text-secondary, #6c6e79)}", /*__inner_css_end__*/"13v27_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SFlags": "
|
|
13
|
+
"__SFlags": "___SFlags_13v27_gg_"
|
|
14
14
|
});
|
|
15
15
|
export const iso2Name = countries.iso2Name;
|
|
16
16
|
export const iso3iso2 = countries.iso3iso2;
|
|
17
17
|
|
|
18
18
|
// @ts-ignore
|
|
19
|
-
const version = "17.0.
|
|
19
|
+
const version = "17.0.1";
|
|
20
20
|
const versionForClassName = version.split('.').join('_');
|
|
21
21
|
const normalizeName = name => {
|
|
22
22
|
if (!name) return name;
|