@alicloud/console-base-rc-region-flag
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -20,13 +20,5 @@ "use strict"; | ||
function _templateObject() { | ||
var data = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n \n svg {\n display: block;\n border: 1px solid rgba(204, 204, 204, 0.4);\n }\n"]); | ||
var _templateObject; | ||
_templateObject = function _templateObject() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
var ScFlag = _styledComponents.default.i(_templateObject()); | ||
var ScFlag = _styledComponents.default.i(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n \n svg {\n display: block;\n border: 1px solid rgba(204, 204, 204, 0.4);\n }\n"]))); | ||
/** | ||
@@ -33,0 +25,0 @@ * 将 regionId 转成国旗(区旗)图标 |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral"; | ||
function _templateObject() { | ||
var data = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n \n svg {\n display: block;\n border: 1px solid rgba(204, 204, 204, 0.4);\n }\n"]); | ||
var _templateObject; | ||
_templateObject = function _templateObject() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import SvgInner from './svg-inner'; | ||
var ScFlag = styled.i(_templateObject()); | ||
var ScFlag = styled.i(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n \n svg {\n display: block;\n border: 1px solid rgba(204, 204, 204, 0.4);\n }\n"]))); | ||
/** | ||
@@ -19,0 +11,0 @@ * 将 regionId 转成国旗(区旗)图标 |
{ | ||
"name": "@alicloud/console-base-rc-region-flag", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "ConsoleBase 组件 - Region 旗帜", | ||
@@ -28,4 +28,4 @@ "license": "MIT", | ||
"@alicloud/console-toolkit-cli": "^1.2.0", | ||
"@alicloud/console-toolkit-preset-component": "^1.2.8", | ||
"@alicloud/demo-rc-elements": "^1.1.3", | ||
"@alicloud/console-toolkit-preset-component": "^1.2.9", | ||
"@alicloud/demo-rc-elements": "^1.1.4", | ||
"@types/jest": "^26.0.20", | ||
@@ -50,7 +50,7 @@ "@types/styled-components": "^5.1.7", | ||
"build:typings": "tsc --outDir build/types --declaration --emitDeclarationOnly", | ||
"build": "yarn build:esm && yarn build:cjs && yarn build:bundle && yarn build:typings", | ||
"build": "yarn build:esm && yarn build:cjs && yarn build:typings", | ||
"clean": "rm -rf build", | ||
"prepublishOnly": "yarn clean && yarn build" | ||
}, | ||
"gitHead": "929dc4e5f98edc015ab07bf77c40894443871ad9" | ||
"gitHead": "774f52f5345cc19f2dfbc1f96975e8662f97d811" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
4
54328
58
998