@atlaskit/field-range
Advanced tools
Comparing version 9.0.3 to 9.0.4
# @atlaskit/field-range | ||
## 9.0.4 | ||
### Patch Changes | ||
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc | ||
## 9.0.3 | ||
@@ -4,0 +10,0 @@ |
@@ -16,2 +16,6 @@ "use strict"; | ||
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); | ||
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); | ||
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); | ||
@@ -21,6 +25,2 @@ | ||
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); | ||
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
@@ -32,3 +32,6 @@ | ||
/* eslint-disable react/prop-types */ | ||
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); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
if (process.env.NODE_ENV !== 'production' && !process.env.CI) { | ||
@@ -42,2 +45,4 @@ // eslint-disable-next-line no-console | ||
var _super = _createSuper(Slider); | ||
// eslint-disable-next-line | ||
@@ -48,3 +53,3 @@ function Slider(props) { | ||
(0, _classCallCheck2.default)(this, Slider); | ||
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(Slider).call(this, props)); | ||
_this = _super.call(this, props); | ||
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "inputElement", void 0); | ||
@@ -120,3 +125,3 @@ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "state", void 0); | ||
valuePercent = _this$state.valuePercent; | ||
return _react.default.createElement(_styled.Input, { | ||
return /*#__PURE__*/_react.default.createElement(_styled.Input, { | ||
type: "range", | ||
@@ -123,0 +128,0 @@ value: value.toString(), |
{ | ||
"name": "@atlaskit/field-range", | ||
"version": "9.0.2", | ||
"version": "9.0.4", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/field-range", | ||
"version": "9.0.2", | ||
"version": "9.0.4", | ||
"sideEffects": false | ||
} |
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn"; | ||
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf"; | ||
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
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); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
/* eslint-disable react/prop-types */ | ||
@@ -21,2 +25,4 @@ import React, { Component } from 'react'; | ||
var _super = _createSuper(Slider); | ||
// eslint-disable-next-line | ||
@@ -28,3 +34,3 @@ function Slider(props) { | ||
_this = _possibleConstructorReturn(this, _getPrototypeOf(Slider).call(this, props)); | ||
_this = _super.call(this, props); | ||
@@ -105,3 +111,3 @@ _defineProperty(_assertThisInitialized(_this), "inputElement", void 0); | ||
valuePercent = _this$state.valuePercent; | ||
return React.createElement(Input, { | ||
return /*#__PURE__*/React.createElement(Input, { | ||
type: "range", | ||
@@ -108,0 +114,0 @@ value: value.toString(), |
{ | ||
"name": "@atlaskit/field-range", | ||
"version": "9.0.2", | ||
"version": "9.0.4", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/field-range", | ||
"version": "9.0.3", | ||
"version": "9.0.4", | ||
"description": "Component which renders a slider and is a substitute of the native input[range] element", | ||
@@ -13,3 +13,2 @@ "publishConfig": { | ||
"module": "dist/esm/index.js", | ||
"module:es2019": "dist/es2019/index.js", | ||
"sideEffects": false, | ||
@@ -16,0 +15,0 @@ "atlaskit:src": "src/index.js", |
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
43386
402