New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ventura

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ventura - npm Package Compare versions

Comparing version 1.12.0 to 1.13.0

1

dist/components/Slider/Slider.d.ts

@@ -11,2 +11,3 @@ import React from 'react';

showTooltip?: boolean;
className?: string;
};

@@ -13,0 +14,0 @@ declare const Slider: React.FC<Props>;

4

dist/components/Slider/Slider.js

@@ -16,3 +16,3 @@ "use strict";

var _b;
var value = _a.value, onChange = _a.onChange, valueBoundaries = _a.valueBoundaries, textBoundaries = _a.textBoundaries, stepSize = _a.stepSize, _c = _a.numberOfDecimals, numberOfDecimals = _c === void 0 ? 0 : _c, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.showTooltip, showTooltip = _e === void 0 ? true : _e;
var value = _a.value, onChange = _a.onChange, valueBoundaries = _a.valueBoundaries, textBoundaries = _a.textBoundaries, stepSize = _a.stepSize, _c = _a.numberOfDecimals, numberOfDecimals = _c === void 0 ? 0 : _c, _d = _a.isDisabled, isDisabled = _d === void 0 ? false : _d, _e = _a.showTooltip, showTooltip = _e === void 0 ? true : _e, className = _a.className;
var formatValue = function (val) {

@@ -25,3 +25,3 @@ return (Math.round(val * (Math.pow(10, numberOfDecimals) || 1)) / (Math.pow(10, numberOfDecimals) || 1)).toFixed(numberOfDecimals);

_b[Slider_module_css_1.default.disabled] = isDisabled,
_b));
_b), className);
return (react_1.default.createElement("div", { className: classNames },

@@ -28,0 +28,0 @@ react_1.default.createElement(react_compound_slider_1.Slider, { step: stepSize !== null && stepSize !== void 0 ? stepSize : (maxValue - minValue) / 100, domain: valueBoundaries, className: Slider_module_css_1.default.slider, onChange: function (values) { return onChange(values[0]); }, values: [value], disabled: isDisabled },

{
"name": "ventura",
"version": "1.12.0",
"version": "1.13.0",
"repository": "git@github.com:kodiak-packages/ventura.git",

@@ -30,3 +30,3 @@ "author": "Kodiak",

"@testing-library/dom": "^7.26.3",
"@testing-library/jest-dom": "^5.11.2",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^10.4.8",

@@ -33,0 +33,0 @@ "@testing-library/user-event": "^12.1.6",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc