@semcore/button
Advanced tools
Comparing version 3.3.3-0 to 3.3.3-1
@@ -5,3 +5,3 @@ # Changelog | ||
## [3.3.3-0] - 2022-2-1 | ||
## [3.3.3-1] - 2022-2-7 | ||
@@ -8,0 +8,0 @@ ### Changed |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
var _typeof = require("@babel/runtime/helpers/typeof"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -38,6 +38,10 @@ value: true | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } | ||
@@ -52,3 +56,3 @@ | ||
/*__inner_css_start__*/ | ||
".___SButton_xlrhc_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:inherit;font-weight:400;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;color:#666;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.___SButton_xlrhc_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_xlrhc_gg_:active,.___SButton_xlrhc_gg_:focus,.___SButton_xlrhc_gg_:hover{outline:0;text-decoration:none}.___SButton_xlrhc_gg_.__disabled_xlrhc_gg_{opacity:.3;cursor:default;pointer-events:none}.___SButton_xlrhc_gg_.__keyboardFocused_xlrhc_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3);z-index:1}.___SButton_xlrhc_gg_._size_s_xlrhc_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButton_xlrhc_gg_._size_m_xlrhc_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButton_xlrhc_gg_._size_l_xlrhc_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButton_xlrhc_gg_._size_xl_xlrhc_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_{color:#fff;background-color:#2b94e1}.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_:hover{background-color:#0071bc}.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_.__active_xlrhc_gg_{background-color:#006bb3}.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_{color:#fff;background-color:#4fae33}.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_:hover{background-color:#1d9c00}.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_.__active_xlrhc_gg_{background-color:#1c9400}.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_{background-color:#ff7f00;color:#fff}.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_:hover{background-color:#c60}.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_.__active_xlrhc_gg_{background-color:#c26100}.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_{background-color:#ed2d2d;color:#fff}.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_:hover{background-color:#d00000}.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_.__active_xlrhc_gg_{background-color:#c60000}.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_{background-color:#fff;color:#333}.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_:hover{background-color:#eee}.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_.__active_xlrhc_gg_{background-color:#e4e1e1}.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_{color:#757575;border-color:#a6b0b3;background-color:rgba(166,176,179,.1)}.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(166,176,179,.3)}.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_{background-color:rgba(43,148,225,.05);color:#2b94e1;border-color:#2b94e1}.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_:hover{background-color:rgba(0,113,188,.2)}.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(0,113,188,.3)}.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_{background-color:hsla(0,0%,100%,.05);color:#fff;border-color:#fff}.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_.__active_xlrhc_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_{color:#0071bc;background-color:transparent}.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_:hover{background-color:rgba(43,148,225,.2)}.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(43,148,225,.3)}.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_{color:#757575;background-color:transparent}.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(166,176,179,.3)}.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_{color:#fff;background-color:transparent}.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_.__active_xlrhc_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_xlrhc_gg_._neighborLocation_right_xlrhc_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_{border-radius:0;margin-left:-1px}.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-danger_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-info_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-success_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-warning_xlrhc_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-invert_xlrhc_gg_{border-left-color:rgba(0,0,0,.5)}.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-danger_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-info_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-success_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-warning_xlrhc_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-invert_xlrhc_gg_{border-left-color:rgba(0,0,0,.5)}.___SSpin_xlrhc_gg_{position:absolute;top:0;left:0;display:flex}.___SInner_xlrhc_gg_,.___SSpin_xlrhc_gg_{width:100%;height:100%}.___SInner_xlrhc_gg_{display:inline-flex;align-items:center;justify-content:center}.___SInner_xlrhc_gg_.__loading_xlrhc_gg_{visibility:hidden}.___SText_xlrhc_gg_{display:inline-flex;line-height:1.1}.___SText_xlrhc_gg_._size_s_xlrhc_gg_{margin-left:4px;margin-right:4px}.___SText_xlrhc_gg_._size_l_xlrhc_gg_,.___SText_xlrhc_gg_._size_m_xlrhc_gg_{margin-left:8px;margin-right:8px}.___SText_xlrhc_gg_._size_xl_xlrhc_gg_{margin-left:12px;margin-right:12px}.___SAddon_xlrhc_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_xlrhc_gg_._size_s_xlrhc_gg_:not(:only-child):first-child{margin-left:4px}.___SAddon_xlrhc_gg_._size_s_xlrhc_gg_:not(:only-child):last-child{margin-right:4px}.___SAddon_xlrhc_gg_._size_s_xlrhc_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SAddon_xlrhc_gg_._size_m_xlrhc_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_xlrhc_gg_._size_m_xlrhc_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_xlrhc_gg_._size_m_xlrhc_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_xlrhc_gg_._size_l_xlrhc_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_xlrhc_gg_._size_l_xlrhc_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_xlrhc_gg_._size_l_xlrhc_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_xlrhc_gg_._size_xl_xlrhc_gg_:not(:only-child):first-child{margin-left:12px}.___SAddon_xlrhc_gg_._size_xl_xlrhc_gg_:not(:only-child):last-child{margin-right:12px}.___SAddon_xlrhc_gg_._size_xl_xlrhc_gg_:only-child{margin-left:-6px;margin-right:-6px}" | ||
".___SButton_1ntop_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:inherit;font-weight:400;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;color:#666666;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.___SButton_1ntop_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_1ntop_gg_:active,.___SButton_1ntop_gg_:focus,.___SButton_1ntop_gg_:hover{outline:0;text-decoration:none}.___SButton_1ntop_gg_.__disabled_1ntop_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SButton_1ntop_gg_.__keyboardFocused_1ntop_gg_{box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3);z-index:1}.___SButton_1ntop_gg_._size_s_1ntop_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButton_1ntop_gg_._size_m_1ntop_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButton_1ntop_gg_._size_l_1ntop_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButton_1ntop_gg_._size_xl_1ntop_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_{color:#fff;background-color:#2b94e1}.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_:hover{background-color:#0071bc}.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_.__active_1ntop_gg_{background-color:#006bb3}.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_{color:#fff;background-color:#4fae33}.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_:hover{background-color:#1d9c00}.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_.__active_1ntop_gg_{background-color:#1c9400}.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_{background-color:#ff7f00;color:#fff}.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_:hover{background-color:#cc6600}.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_.__active_1ntop_gg_{background-color:#c26100}.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_{background-color:#ed2d2d;color:#fff}.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_:hover{background-color:#d00000}.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_.__active_1ntop_gg_{background-color:#c60000}.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_{background-color:#fff;color:#333333}.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_:hover{background-color:#eeeeee}.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_.__active_1ntop_gg_{background-color:#e4e1e1}.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_{color:#757575;border-color:#a6b0b3;background-color:rgba(166,176,179,.1)}.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(166,176,179,.3)}.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_{background-color:rgba(43,148,225,.05);color:#2b94e1;border-color:#2b94e1}.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_:hover{background-color:rgba(0,113,188,.2)}.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(0,113,188,.3)}.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_{background-color:hsla(0,0%,100%,.05);color:#fff;border-color:#fff}.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_.__active_1ntop_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_{color:#0071bc;background-color:transparent}.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_:hover{background-color:rgba(43,148,225,.2)}.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(43,148,225,.3)}.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_{color:#757575;background-color:transparent}.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(166,176,179,.3)}.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_{color:#fff;background-color:transparent}.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_.__active_1ntop_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1ntop_gg_._neighborLocation_right_1ntop_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_{border-radius:0;margin-left:-1px}.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-danger_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-info_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-success_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-warning_1ntop_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-invert_1ntop_gg_{border-left-color:rgba(0,0,0,.5)}.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-danger_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-info_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-success_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-warning_1ntop_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-invert_1ntop_gg_{border-left-color:rgba(0,0,0,.5)}.___SSpin_1ntop_gg_{position:absolute;top:0;left:0;display:flex}.___SInner_1ntop_gg_,.___SSpin_1ntop_gg_{width:100%;height:100%}.___SInner_1ntop_gg_{display:inline-flex;align-items:center;justify-content:center}.___SInner_1ntop_gg_.__loading_1ntop_gg_{visibility:hidden}.___SText_1ntop_gg_{display:inline-flex;line-height:1.1}.___SText_1ntop_gg_._size_s_1ntop_gg_{margin-left:4px;margin-right:4px}.___SText_1ntop_gg_._size_l_1ntop_gg_,.___SText_1ntop_gg_._size_m_1ntop_gg_{margin-left:8px;margin-right:8px}.___SText_1ntop_gg_._size_xl_1ntop_gg_{margin-left:12px;margin-right:12px}.___SAddon_1ntop_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_1ntop_gg_._size_s_1ntop_gg_:not(:only-child):first-child{margin-left:4px}.___SAddon_1ntop_gg_._size_s_1ntop_gg_:not(:only-child):last-child{margin-right:4px}.___SAddon_1ntop_gg_._size_s_1ntop_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SAddon_1ntop_gg_._size_m_1ntop_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1ntop_gg_._size_m_1ntop_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1ntop_gg_._size_m_1ntop_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_1ntop_gg_._size_l_1ntop_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1ntop_gg_._size_l_1ntop_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1ntop_gg_._size_l_1ntop_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_1ntop_gg_._size_xl_1ntop_gg_:not(:only-child):first-child{margin-left:12px}.___SAddon_1ntop_gg_._size_xl_1ntop_gg_:not(:only-child):last-child{margin-right:12px}.___SAddon_1ntop_gg_._size_xl_1ntop_gg_:only-child{margin-left:-6px;margin-right:-6px}" | ||
/*__inner_css_end__*/ | ||
@@ -58,29 +62,29 @@ , "1o9hhkh_gg_") | ||
, { | ||
"__SButton": "___SButton_xlrhc_gg_", | ||
"_disabled": "__disabled_xlrhc_gg_", | ||
"_keyboardFocused": "__keyboardFocused_xlrhc_gg_", | ||
"_size_s": "_size_s_xlrhc_gg_", | ||
"_size_m": "_size_m_xlrhc_gg_", | ||
"_size_l": "_size_l_xlrhc_gg_", | ||
"_size_xl": "_size_xl_xlrhc_gg_", | ||
"_theme_primary-info": "_theme_primary-info_xlrhc_gg_", | ||
"_active": "__active_xlrhc_gg_", | ||
"_theme_primary-success": "_theme_primary-success_xlrhc_gg_", | ||
"_theme_primary-warning": "_theme_primary-warning_xlrhc_gg_", | ||
"_theme_primary-danger": "_theme_primary-danger_xlrhc_gg_", | ||
"_theme_primary-invert": "_theme_primary-invert_xlrhc_gg_", | ||
"_theme_secondary-muted": "_theme_secondary-muted_xlrhc_gg_", | ||
"_theme_secondary-info": "_theme_secondary-info_xlrhc_gg_", | ||
"_theme_secondary-invert": "_theme_secondary-invert_xlrhc_gg_", | ||
"_theme_tertiary-info": "_theme_tertiary-info_xlrhc_gg_", | ||
"_theme_tertiary-muted": "_theme_tertiary-muted_xlrhc_gg_", | ||
"_theme_tertiary-invert": "_theme_tertiary-invert_xlrhc_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_xlrhc_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_xlrhc_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_xlrhc_gg_", | ||
"__SSpin": "___SSpin_xlrhc_gg_", | ||
"__SInner": "___SInner_xlrhc_gg_", | ||
"_loading": "__loading_xlrhc_gg_", | ||
"__SText": "___SText_xlrhc_gg_", | ||
"__SAddon": "___SAddon_xlrhc_gg_" | ||
"__SButton": "___SButton_1ntop_gg_", | ||
"_disabled": "__disabled_1ntop_gg_", | ||
"_keyboardFocused": "__keyboardFocused_1ntop_gg_", | ||
"_size_s": "_size_s_1ntop_gg_", | ||
"_size_m": "_size_m_1ntop_gg_", | ||
"_size_l": "_size_l_1ntop_gg_", | ||
"_size_xl": "_size_xl_1ntop_gg_", | ||
"_theme_primary-info": "_theme_primary-info_1ntop_gg_", | ||
"_active": "__active_1ntop_gg_", | ||
"_theme_primary-success": "_theme_primary-success_1ntop_gg_", | ||
"_theme_primary-warning": "_theme_primary-warning_1ntop_gg_", | ||
"_theme_primary-danger": "_theme_primary-danger_1ntop_gg_", | ||
"_theme_primary-invert": "_theme_primary-invert_1ntop_gg_", | ||
"_theme_secondary-muted": "_theme_secondary-muted_1ntop_gg_", | ||
"_theme_secondary-info": "_theme_secondary-info_1ntop_gg_", | ||
"_theme_secondary-invert": "_theme_secondary-invert_1ntop_gg_", | ||
"_theme_tertiary-info": "_theme_tertiary-info_1ntop_gg_", | ||
"_theme_tertiary-muted": "_theme_tertiary-muted_1ntop_gg_", | ||
"_theme_tertiary-invert": "_theme_tertiary-invert_1ntop_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_1ntop_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_1ntop_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_1ntop_gg_", | ||
"__SSpin": "___SSpin_1ntop_gg_", | ||
"__SInner": "___SInner_1ntop_gg_", | ||
"_loading": "__loading_1ntop_gg_", | ||
"__SText": "___SText_1ntop_gg_", | ||
"__SAddon": "___SAddon_1ntop_gg_" | ||
}); | ||
@@ -87,0 +91,0 @@ var MAP_USE_DEFAULT_THEME = { |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _typeof = require("@babel/runtime/helpers/typeof"); | ||
@@ -29,2 +29,6 @@ Object.defineProperty(exports, "__esModule", { | ||
}); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
//# sourceMappingURL=index.js.map |
@@ -8,4 +8,4 @@ "use strict"; | ||
}); | ||
exports.SPIN_THEME_MAP = exports.SPIN_SIZE_MAP = void 0; | ||
exports["default"] = SpinButton; | ||
exports.SPIN_THEME_MAP = exports.SPIN_SIZE_MAP = void 0; | ||
@@ -20,2 +20,3 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); | ||
var _excluded = ["theme", "size"]; | ||
var SPIN_SIZE_MAP = { | ||
@@ -44,3 +45,3 @@ xl: 'm', | ||
size = _ref.size, | ||
others = (0, _objectWithoutProperties2["default"])(_ref, ["theme", "size"]); | ||
others = (0, _objectWithoutProperties2["default"])(_ref, _excluded); | ||
return /*#__PURE__*/_react["default"].createElement(_spin["default"], (0, _extends2["default"])({ | ||
@@ -47,0 +48,0 @@ size: typeof size == 'string' ? SPIN_SIZE_MAP[size] : size, |
@@ -12,5 +12,5 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
@@ -34,3 +34,3 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
/*__inner_css_start__*/ | ||
".___SButton_xlrhc_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:inherit;font-weight:400;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;color:#666;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.___SButton_xlrhc_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_xlrhc_gg_:active,.___SButton_xlrhc_gg_:focus,.___SButton_xlrhc_gg_:hover{outline:0;text-decoration:none}.___SButton_xlrhc_gg_.__disabled_xlrhc_gg_{opacity:.3;cursor:default;pointer-events:none}.___SButton_xlrhc_gg_.__keyboardFocused_xlrhc_gg_{box-shadow:0 0 0 3px rgba(43,148,225,.3);z-index:1}.___SButton_xlrhc_gg_._size_s_xlrhc_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButton_xlrhc_gg_._size_m_xlrhc_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButton_xlrhc_gg_._size_l_xlrhc_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButton_xlrhc_gg_._size_xl_xlrhc_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_{color:#fff;background-color:#2b94e1}.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_:hover{background-color:#0071bc}.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-info_xlrhc_gg_.__active_xlrhc_gg_{background-color:#006bb3}.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_{color:#fff;background-color:#4fae33}.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_:hover{background-color:#1d9c00}.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-success_xlrhc_gg_.__active_xlrhc_gg_{background-color:#1c9400}.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_{background-color:#ff7f00;color:#fff}.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_:hover{background-color:#c60}.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-warning_xlrhc_gg_.__active_xlrhc_gg_{background-color:#c26100}.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_{background-color:#ed2d2d;color:#fff}.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_:hover{background-color:#d00000}.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-danger_xlrhc_gg_.__active_xlrhc_gg_{background-color:#c60000}.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_{background-color:#fff;color:#333}.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_:hover{background-color:#eee}.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_primary-invert_xlrhc_gg_.__active_xlrhc_gg_{background-color:#e4e1e1}.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_{color:#757575;border-color:#a6b0b3;background-color:rgba(166,176,179,.1)}.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_secondary-muted_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(166,176,179,.3)}.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_{background-color:rgba(43,148,225,.05);color:#2b94e1;border-color:#2b94e1}.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_:hover{background-color:rgba(0,113,188,.2)}.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_secondary-info_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(0,113,188,.3)}.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_{background-color:hsla(0,0%,100%,.05);color:#fff;border-color:#fff}.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_secondary-invert_xlrhc_gg_.__active_xlrhc_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_{color:#0071bc;background-color:transparent}.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_:hover{background-color:rgba(43,148,225,.2)}.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_tertiary-info_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(43,148,225,.3)}.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_{color:#757575;background-color:transparent}.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_tertiary-muted_xlrhc_gg_.__active_xlrhc_gg_{background-color:rgba(166,176,179,.3)}.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_{color:#fff;background-color:transparent}.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_:active,.___SButton_xlrhc_gg_._theme_tertiary-invert_xlrhc_gg_.__active_xlrhc_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_xlrhc_gg_._neighborLocation_right_xlrhc_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_{border-radius:0;margin-left:-1px}.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-danger_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-info_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-success_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-warning_xlrhc_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_xlrhc_gg_._neighborLocation_both_xlrhc_gg_._theme_primary-invert_xlrhc_gg_{border-left-color:rgba(0,0,0,.5)}.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-danger_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-info_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-success_xlrhc_gg_,.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-warning_xlrhc_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_xlrhc_gg_._neighborLocation_left_xlrhc_gg_._theme_primary-invert_xlrhc_gg_{border-left-color:rgba(0,0,0,.5)}.___SSpin_xlrhc_gg_{position:absolute;top:0;left:0;display:flex}.___SInner_xlrhc_gg_,.___SSpin_xlrhc_gg_{width:100%;height:100%}.___SInner_xlrhc_gg_{display:inline-flex;align-items:center;justify-content:center}.___SInner_xlrhc_gg_.__loading_xlrhc_gg_{visibility:hidden}.___SText_xlrhc_gg_{display:inline-flex;line-height:1.1}.___SText_xlrhc_gg_._size_s_xlrhc_gg_{margin-left:4px;margin-right:4px}.___SText_xlrhc_gg_._size_l_xlrhc_gg_,.___SText_xlrhc_gg_._size_m_xlrhc_gg_{margin-left:8px;margin-right:8px}.___SText_xlrhc_gg_._size_xl_xlrhc_gg_{margin-left:12px;margin-right:12px}.___SAddon_xlrhc_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_xlrhc_gg_._size_s_xlrhc_gg_:not(:only-child):first-child{margin-left:4px}.___SAddon_xlrhc_gg_._size_s_xlrhc_gg_:not(:only-child):last-child{margin-right:4px}.___SAddon_xlrhc_gg_._size_s_xlrhc_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SAddon_xlrhc_gg_._size_m_xlrhc_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_xlrhc_gg_._size_m_xlrhc_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_xlrhc_gg_._size_m_xlrhc_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_xlrhc_gg_._size_l_xlrhc_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_xlrhc_gg_._size_l_xlrhc_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_xlrhc_gg_._size_l_xlrhc_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_xlrhc_gg_._size_xl_xlrhc_gg_:not(:only-child):first-child{margin-left:12px}.___SAddon_xlrhc_gg_._size_xl_xlrhc_gg_:not(:only-child):last-child{margin-right:12px}.___SAddon_xlrhc_gg_._size_xl_xlrhc_gg_:only-child{margin-left:-6px;margin-right:-6px}" | ||
".___SButton_1ntop_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:inherit;font-weight:400;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;color:#666666;outline:0;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.___SButton_1ntop_gg_::-moz-focus-inner{padding:0;border:none}.___SButton_1ntop_gg_:active,.___SButton_1ntop_gg_:focus,.___SButton_1ntop_gg_:hover{outline:0;text-decoration:none}.___SButton_1ntop_gg_.__disabled_1ntop_gg_{opacity:0.3;cursor:default;pointer-events:none}.___SButton_1ntop_gg_.__keyboardFocused_1ntop_gg_{box-shadow:0 0 0 3px rgba(43, 148, 225, 0.3);z-index:1}.___SButton_1ntop_gg_._size_s_1ntop_gg_{height:18px;min-width:18px;border-radius:2px;font-size:10px}.___SButton_1ntop_gg_._size_m_1ntop_gg_{height:26px;min-width:26px;border-radius:3px;font-size:12px}.___SButton_1ntop_gg_._size_l_1ntop_gg_{height:32px;min-width:32px;border-radius:4px;font-size:14px}.___SButton_1ntop_gg_._size_xl_1ntop_gg_{height:42px;min-width:42px;border-radius:5px;font-size:16px}.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_{color:#fff;background-color:#2b94e1}.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_:hover{background-color:#0071bc}.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-info_1ntop_gg_.__active_1ntop_gg_{background-color:#006bb3}.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_{color:#fff;background-color:#4fae33}.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_:hover{background-color:#1d9c00}.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-success_1ntop_gg_.__active_1ntop_gg_{background-color:#1c9400}.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_{background-color:#ff7f00;color:#fff}.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_:hover{background-color:#cc6600}.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-warning_1ntop_gg_.__active_1ntop_gg_{background-color:#c26100}.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_{background-color:#ed2d2d;color:#fff}.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_:hover{background-color:#d00000}.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-danger_1ntop_gg_.__active_1ntop_gg_{background-color:#c60000}.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_{background-color:#fff;color:#333333}.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_:hover{background-color:#eeeeee}.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_primary-invert_1ntop_gg_.__active_1ntop_gg_{background-color:#e4e1e1}.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_{color:#757575;border-color:#a6b0b3;background-color:rgba(166,176,179,.1)}.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_secondary-muted_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(166,176,179,.3)}.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_{background-color:rgba(43,148,225,.05);color:#2b94e1;border-color:#2b94e1}.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_:hover{background-color:rgba(0,113,188,.2)}.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_secondary-info_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(0,113,188,.3)}.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_{background-color:hsla(0,0%,100%,.05);color:#fff;border-color:#fff}.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_secondary-invert_1ntop_gg_.__active_1ntop_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_{color:#0071bc;background-color:transparent}.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_:hover{background-color:rgba(43,148,225,.2)}.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_tertiary-info_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(43,148,225,.3)}.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_{color:#757575;background-color:transparent}.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_:hover{background-color:rgba(166,176,179,.2)}.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_tertiary-muted_1ntop_gg_.__active_1ntop_gg_{background-color:rgba(166,176,179,.3)}.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_{color:#fff;background-color:transparent}.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_:hover{background-color:hsla(0,0%,100%,.2)}.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_:active,.___SButton_1ntop_gg_._theme_tertiary-invert_1ntop_gg_.__active_1ntop_gg_{background-color:hsla(0,0%,100%,.3)}.___SButton_1ntop_gg_._neighborLocation_right_1ntop_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_{border-radius:0;margin-left:-1px}.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-danger_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-info_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-success_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-warning_1ntop_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1ntop_gg_._neighborLocation_both_1ntop_gg_._theme_primary-invert_1ntop_gg_{border-left-color:rgba(0,0,0,.5)}.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-danger_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-info_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-success_1ntop_gg_,.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-warning_1ntop_gg_{border-left-color:hsla(0,0%,100%,.5)}.___SButton_1ntop_gg_._neighborLocation_left_1ntop_gg_._theme_primary-invert_1ntop_gg_{border-left-color:rgba(0,0,0,.5)}.___SSpin_1ntop_gg_{position:absolute;top:0;left:0;display:flex}.___SInner_1ntop_gg_,.___SSpin_1ntop_gg_{width:100%;height:100%}.___SInner_1ntop_gg_{display:inline-flex;align-items:center;justify-content:center}.___SInner_1ntop_gg_.__loading_1ntop_gg_{visibility:hidden}.___SText_1ntop_gg_{display:inline-flex;line-height:1.1}.___SText_1ntop_gg_._size_s_1ntop_gg_{margin-left:4px;margin-right:4px}.___SText_1ntop_gg_._size_l_1ntop_gg_,.___SText_1ntop_gg_._size_m_1ntop_gg_{margin-left:8px;margin-right:8px}.___SText_1ntop_gg_._size_xl_1ntop_gg_{margin-left:12px;margin-right:12px}.___SAddon_1ntop_gg_{display:inline-flex;align-items:center;justify-content:center}.___SAddon_1ntop_gg_._size_s_1ntop_gg_:not(:only-child):first-child{margin-left:4px}.___SAddon_1ntop_gg_._size_s_1ntop_gg_:not(:only-child):last-child{margin-right:4px}.___SAddon_1ntop_gg_._size_s_1ntop_gg_:only-child{margin-left:-2px;margin-right:-2px}.___SAddon_1ntop_gg_._size_m_1ntop_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1ntop_gg_._size_m_1ntop_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1ntop_gg_._size_m_1ntop_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_1ntop_gg_._size_l_1ntop_gg_:not(:only-child):first-child{margin-left:8px}.___SAddon_1ntop_gg_._size_l_1ntop_gg_:not(:only-child):last-child{margin-right:8px}.___SAddon_1ntop_gg_._size_l_1ntop_gg_:only-child{margin-left:-4px;margin-right:-4px}.___SAddon_1ntop_gg_._size_xl_1ntop_gg_:not(:only-child):first-child{margin-left:12px}.___SAddon_1ntop_gg_._size_xl_1ntop_gg_:not(:only-child):last-child{margin-right:12px}.___SAddon_1ntop_gg_._size_xl_1ntop_gg_:only-child{margin-left:-6px;margin-right:-6px}" | ||
/*__inner_css_end__*/ | ||
@@ -40,29 +40,29 @@ , "1o9hhkh_gg_") | ||
, { | ||
"__SButton": "___SButton_xlrhc_gg_", | ||
"_disabled": "__disabled_xlrhc_gg_", | ||
"_keyboardFocused": "__keyboardFocused_xlrhc_gg_", | ||
"_size_s": "_size_s_xlrhc_gg_", | ||
"_size_m": "_size_m_xlrhc_gg_", | ||
"_size_l": "_size_l_xlrhc_gg_", | ||
"_size_xl": "_size_xl_xlrhc_gg_", | ||
"_theme_primary-info": "_theme_primary-info_xlrhc_gg_", | ||
"_active": "__active_xlrhc_gg_", | ||
"_theme_primary-success": "_theme_primary-success_xlrhc_gg_", | ||
"_theme_primary-warning": "_theme_primary-warning_xlrhc_gg_", | ||
"_theme_primary-danger": "_theme_primary-danger_xlrhc_gg_", | ||
"_theme_primary-invert": "_theme_primary-invert_xlrhc_gg_", | ||
"_theme_secondary-muted": "_theme_secondary-muted_xlrhc_gg_", | ||
"_theme_secondary-info": "_theme_secondary-info_xlrhc_gg_", | ||
"_theme_secondary-invert": "_theme_secondary-invert_xlrhc_gg_", | ||
"_theme_tertiary-info": "_theme_tertiary-info_xlrhc_gg_", | ||
"_theme_tertiary-muted": "_theme_tertiary-muted_xlrhc_gg_", | ||
"_theme_tertiary-invert": "_theme_tertiary-invert_xlrhc_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_xlrhc_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_xlrhc_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_xlrhc_gg_", | ||
"__SSpin": "___SSpin_xlrhc_gg_", | ||
"__SInner": "___SInner_xlrhc_gg_", | ||
"_loading": "__loading_xlrhc_gg_", | ||
"__SText": "___SText_xlrhc_gg_", | ||
"__SAddon": "___SAddon_xlrhc_gg_" | ||
"__SButton": "___SButton_1ntop_gg_", | ||
"_disabled": "__disabled_1ntop_gg_", | ||
"_keyboardFocused": "__keyboardFocused_1ntop_gg_", | ||
"_size_s": "_size_s_1ntop_gg_", | ||
"_size_m": "_size_m_1ntop_gg_", | ||
"_size_l": "_size_l_1ntop_gg_", | ||
"_size_xl": "_size_xl_1ntop_gg_", | ||
"_theme_primary-info": "_theme_primary-info_1ntop_gg_", | ||
"_active": "__active_1ntop_gg_", | ||
"_theme_primary-success": "_theme_primary-success_1ntop_gg_", | ||
"_theme_primary-warning": "_theme_primary-warning_1ntop_gg_", | ||
"_theme_primary-danger": "_theme_primary-danger_1ntop_gg_", | ||
"_theme_primary-invert": "_theme_primary-invert_1ntop_gg_", | ||
"_theme_secondary-muted": "_theme_secondary-muted_1ntop_gg_", | ||
"_theme_secondary-info": "_theme_secondary-info_1ntop_gg_", | ||
"_theme_secondary-invert": "_theme_secondary-invert_1ntop_gg_", | ||
"_theme_tertiary-info": "_theme_tertiary-info_1ntop_gg_", | ||
"_theme_tertiary-muted": "_theme_tertiary-muted_1ntop_gg_", | ||
"_theme_tertiary-invert": "_theme_tertiary-invert_1ntop_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_1ntop_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_1ntop_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_1ntop_gg_", | ||
"__SSpin": "___SSpin_1ntop_gg_", | ||
"__SInner": "___SInner_1ntop_gg_", | ||
"_loading": "__loading_1ntop_gg_", | ||
"__SText": "___SText_1ntop_gg_", | ||
"__SAddon": "___SAddon_1ntop_gg_" | ||
}); | ||
@@ -69,0 +69,0 @@ export var MAP_USE_DEFAULT_THEME = { |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
var _excluded = ["theme", "size"]; | ||
import React from 'react'; | ||
@@ -25,3 +26,3 @@ import Spin from '@semcore/spin'; | ||
size = _ref.size, | ||
others = _objectWithoutProperties(_ref, ["theme", "size"]); | ||
others = _objectWithoutProperties(_ref, _excluded); | ||
@@ -28,0 +29,0 @@ return /*#__PURE__*/React.createElement(Spin, _extends({ |
{ | ||
"name": "@semcore/button", | ||
"description": "SEMRush Button Component", | ||
"version": "3.3.3-0", | ||
"version": "3.3.3-1", | ||
"main": "lib/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "lib/es6/index.js", |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
86433
1645