@semcore/dot
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -5,2 +5,8 @@ # Changelog | ||
## [2.2.2] - 2021-06-29 | ||
### Fixed | ||
- Fixed animation `Dot`. | ||
## [2.2.1] - 2021-06-08 | ||
@@ -7,0 +13,0 @@ |
@@ -26,3 +26,3 @@ "use strict"; | ||
var _react = _interopRequireWildcard(require("react")); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -48,15 +48,15 @@ var _flexBox = require("@semcore/flex-box"); | ||
/*__inner_css_start__*/ | ||
".___SDot_1evdt_gg_{display:inline-flex;align-items:center;justify-content:center;font-size:10px;line-height:normal;background-color:#ff7f00;color:#fff;box-sizing:border-box;z-index:1;border-radius:100%;vertical-align:middle;-webkit-animation:show .3s ease-out;animation:show .3s ease-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.___SDot_1evdt_gg_._size_xl_1evdt_gg_{height:16px;min-width:16px;padding:3px 4px;border-radius:8px}.___SDot_1evdt_gg_._size_l_1evdt_gg_{height:12px;min-width:12px;border-radius:6px}.___SDot_1evdt_gg_._size_m_1evdt_gg_{height:6px;min-width:6px;border-radius:3px}.___SDot_1evdt_gg_.__up_1evdt_gg_{position:absolute;top:0;right:0;margin-top:-3px;margin-right:-3px}.___SDot_1evdt_gg_.__hidden_1evdt_gg_{-webkit-animation:hidden .3s ease-out;animation:hidden .3s ease-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes show_1ipu3t8{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes show_1ipu3t8{0%{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes hidden_1ipu3t8{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes hidden_1ipu3t8{0%{transform:scale(1)}to{transform:scale(0)}}" | ||
".___SDot_1rayk_gg_{display:inline-flex;align-items:center;justify-content:center;font-size:10px;line-height:normal;background-color:#ff7f00;color:#fff;box-sizing:border-box;z-index:1;border-radius:100%;vertical-align:middle;-webkit-animation-name:show_1oyfg14;animation-name:show_1oyfg14;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.___SDot_1rayk_gg_._size_xl_1rayk_gg_{height:16px;min-width:16px;padding:3px 4px;border-radius:8px}.___SDot_1rayk_gg_._size_l_1rayk_gg_{height:12px;min-width:12px;border-radius:6px}.___SDot_1rayk_gg_._size_m_1rayk_gg_{height:6px;min-width:6px;border-radius:3px}.___SDot_1rayk_gg_.__up_1rayk_gg_{position:absolute;top:0;right:0;margin-top:-3px;margin-right:-3px}.___SDot_1rayk_gg_.__hidden_1rayk_gg_{-webkit-animation-name:hidden_1oyfg14;animation-name:hidden_1oyfg14}@-webkit-keyframes hidden_1oyfg14{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes hidden_1oyfg14{0%{transform:scale(1)}to{transform:scale(0)}}@-webkit-keyframes show_1oyfg14{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes show_1oyfg14{0%{transform:scale(0)}to{transform:scale(1)}}" | ||
/*__inner_css_end__*/ | ||
, "1ipu3t8_gg_") | ||
, "1oyfg14_gg_") | ||
/*__reshadow_css_end__*/ | ||
, { | ||
"__SDot": "___SDot_1evdt_gg_", | ||
"_size_xl": "_size_xl_1evdt_gg_", | ||
"_size_l": "_size_l_1evdt_gg_", | ||
"_size_m": "_size_m_1evdt_gg_", | ||
"_up": "__up_1evdt_gg_", | ||
"_hidden": "__hidden_1evdt_gg_", | ||
"@show": "show_1ipu3t8", | ||
"@hidden": "hidden_1ipu3t8" | ||
"__SDot": "___SDot_1rayk_gg_", | ||
"_size_xl": "_size_xl_1rayk_gg_", | ||
"_size_l": "_size_l_1rayk_gg_", | ||
"_size_m": "_size_m_1rayk_gg_", | ||
"_up": "__up_1rayk_gg_", | ||
"_hidden": "__hidden_1rayk_gg_", | ||
"@hidden": "hidden_1oyfg14", | ||
"@show": "show_1oyfg14" | ||
}); | ||
@@ -63,0 +63,0 @@ |
@@ -18,5 +18,5 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import React, { HTMLAttributes } from 'react'; | ||
import React from 'react'; | ||
import createComponent, { Component, Root, sstyled } from '@semcore/core'; | ||
import { Box, IBoxProps } from '@semcore/flex-box'; | ||
import { Box } from '@semcore/flex-box'; | ||
import logger from '@semcore/utils/lib/logger'; | ||
@@ -30,15 +30,15 @@ import getOriginChildren from '@semcore/utils/lib/getOriginChildren'; | ||
/*__inner_css_start__*/ | ||
".___SDot_1evdt_gg_{display:inline-flex;align-items:center;justify-content:center;font-size:10px;line-height:normal;background-color:#ff7f00;color:#fff;box-sizing:border-box;z-index:1;border-radius:100%;vertical-align:middle;-webkit-animation:show .3s ease-out;animation:show .3s ease-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.___SDot_1evdt_gg_._size_xl_1evdt_gg_{height:16px;min-width:16px;padding:3px 4px;border-radius:8px}.___SDot_1evdt_gg_._size_l_1evdt_gg_{height:12px;min-width:12px;border-radius:6px}.___SDot_1evdt_gg_._size_m_1evdt_gg_{height:6px;min-width:6px;border-radius:3px}.___SDot_1evdt_gg_.__up_1evdt_gg_{position:absolute;top:0;right:0;margin-top:-3px;margin-right:-3px}.___SDot_1evdt_gg_.__hidden_1evdt_gg_{-webkit-animation:hidden .3s ease-out;animation:hidden .3s ease-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes show_1ipu3t8{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes show_1ipu3t8{0%{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes hidden_1ipu3t8{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes hidden_1ipu3t8{0%{transform:scale(1)}to{transform:scale(0)}}" | ||
".___SDot_1rayk_gg_{display:inline-flex;align-items:center;justify-content:center;font-size:10px;line-height:normal;background-color:#ff7f00;color:#fff;box-sizing:border-box;z-index:1;border-radius:100%;vertical-align:middle;-webkit-animation-name:show_1oyfg14;animation-name:show_1oyfg14;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.___SDot_1rayk_gg_._size_xl_1rayk_gg_{height:16px;min-width:16px;padding:3px 4px;border-radius:8px}.___SDot_1rayk_gg_._size_l_1rayk_gg_{height:12px;min-width:12px;border-radius:6px}.___SDot_1rayk_gg_._size_m_1rayk_gg_{height:6px;min-width:6px;border-radius:3px}.___SDot_1rayk_gg_.__up_1rayk_gg_{position:absolute;top:0;right:0;margin-top:-3px;margin-right:-3px}.___SDot_1rayk_gg_.__hidden_1rayk_gg_{-webkit-animation-name:hidden_1oyfg14;animation-name:hidden_1oyfg14}@-webkit-keyframes hidden_1oyfg14{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes hidden_1oyfg14{0%{transform:scale(1)}to{transform:scale(0)}}@-webkit-keyframes show_1oyfg14{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes show_1oyfg14{0%{transform:scale(0)}to{transform:scale(1)}}" | ||
/*__inner_css_end__*/ | ||
, "1ipu3t8_gg_") | ||
, "1oyfg14_gg_") | ||
/*__reshadow_css_end__*/ | ||
, { | ||
"__SDot": "___SDot_1evdt_gg_", | ||
"_size_xl": "_size_xl_1evdt_gg_", | ||
"_size_l": "_size_l_1evdt_gg_", | ||
"_size_m": "_size_m_1evdt_gg_", | ||
"_up": "__up_1evdt_gg_", | ||
"_hidden": "__hidden_1evdt_gg_", | ||
"@show": "show_1ipu3t8", | ||
"@hidden": "hidden_1ipu3t8" | ||
"__SDot": "___SDot_1rayk_gg_", | ||
"_size_xl": "_size_xl_1rayk_gg_", | ||
"_size_l": "_size_l_1rayk_gg_", | ||
"_size_m": "_size_m_1rayk_gg_", | ||
"_up": "__up_1rayk_gg_", | ||
"_hidden": "__hidden_1rayk_gg_", | ||
"@hidden": "hidden_1oyfg14", | ||
"@show": "show_1oyfg14" | ||
}); | ||
@@ -45,0 +45,0 @@ |
{ | ||
"name": "@semcore/dot", | ||
"description": "SEMRush Dot Component", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"main": "lib/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "lib/es6/index.js", |
@@ -1,5 +0,5 @@ | ||
import React, { HTMLAttributes } from 'react'; | ||
import React from 'react'; | ||
import createComponent, { Component, Root, sstyled } from '@semcore/core'; | ||
import { Box, IBoxProps } from '@semcore/flex-box'; | ||
import { Box } from '@semcore/flex-box'; | ||
import logger from '@semcore/utils/lib/logger'; | ||
@@ -28,5 +28,3 @@ import getOriginChildren from '@semcore/utils/lib/getOriginChildren'; | ||
return sstyled(styles)( | ||
<SDot render={Box} tag="span" use:size={size} hidden={invisible} />, | ||
); | ||
return sstyled(styles)(<SDot render={Box} tag="span" use:size={size} hidden={invisible} />); | ||
} | ||
@@ -33,0 +31,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
25538
435