Comparing version 1.17.4 to 1.18.0
@@ -16,2 +16,3 @@ import React, { ChangeEventHandler, FocusEventHandler } from 'react'; | ||
isDisabled?: boolean; | ||
stepSize?: number | 'any'; | ||
} | ||
@@ -18,0 +19,0 @@ declare const Input: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>; |
@@ -12,9 +12,9 @@ "use strict"; | ||
var _b; | ||
var name = _a.name, value = _a.value, defaultValue = _a.defaultValue, onChange = _a.onChange, onBlur = _a.onBlur, placeholder = _a.placeholder, _c = _a.type, type = _c === void 0 ? 'text' : _c, _d = _a.isInvalid, isInvalid = _d === void 0 ? false : _d, _e = _a.spellCheck, spellCheck = _e === void 0 ? false : _e, _f = _a.autoComplete, autoComplete = _f === void 0 ? false : _f, _g = _a.isDisabled, isDisabled = _g === void 0 ? false : _g, maxLength = _a.maxLength, className = _a.className; | ||
var name = _a.name, value = _a.value, defaultValue = _a.defaultValue, onChange = _a.onChange, onBlur = _a.onBlur, placeholder = _a.placeholder, _c = _a.type, type = _c === void 0 ? 'text' : _c, _d = _a.isInvalid, isInvalid = _d === void 0 ? false : _d, _e = _a.spellCheck, spellCheck = _e === void 0 ? false : _e, _f = _a.autoComplete, autoComplete = _f === void 0 ? false : _f, _g = _a.isDisabled, isDisabled = _g === void 0 ? false : _g, maxLength = _a.maxLength, className = _a.className, stepSize = _a.stepSize; | ||
var inputClassNames = classnames_1.default(css_reset_module_css_1.default.ventura, Input_module_css_1.default.input, (_b = {}, | ||
_b[Input_module_css_1.default.containsError] = isInvalid, | ||
_b), className); | ||
return (react_1.default.createElement("input", { name: name, value: value, defaultValue: defaultValue, onChange: onChange, placeholder: placeholder, type: type, spellCheck: spellCheck, autoComplete: autoComplete ? 'on' : 'off', maxLength: maxLength, ref: ref, className: inputClassNames, "data-testid": name && "input-" + name, onBlur: onBlur, disabled: isDisabled })); | ||
return (react_1.default.createElement("input", { name: name, value: value, defaultValue: defaultValue, onChange: onChange, placeholder: placeholder, type: type, spellCheck: spellCheck, autoComplete: autoComplete ? 'on' : 'off', maxLength: maxLength, ref: ref, className: inputClassNames, "data-testid": name && "input-" + name, onBlur: onBlur, disabled: isDisabled, step: stepSize })); | ||
}); | ||
exports.default = Input; | ||
//# sourceMappingURL=Input.js.map |
@@ -15,4 +15,6 @@ import './index.css'; | ||
export { default as Tooltip } from './components/Tooltip/Tooltip'; | ||
export { default as Tabs } from './components/Tabs/Tabs'; | ||
export { default as Tab } from './components/Tabs/Tab/Tab'; | ||
export { default as toaster } from './components/Toaster/Toaster'; | ||
export * from 'react-feather'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -40,2 +40,6 @@ "use strict"; | ||
Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return Tooltip_1.default; } }); | ||
var Tabs_1 = require("./components/Tabs/Tabs"); | ||
Object.defineProperty(exports, "Tabs", { enumerable: true, get: function () { return Tabs_1.default; } }); | ||
var Tab_1 = require("./components/Tabs/Tab/Tab"); | ||
Object.defineProperty(exports, "Tab", { enumerable: true, get: function () { return Tab_1.default; } }); | ||
var Toaster_1 = require("./components/Toaster/Toaster"); | ||
@@ -42,0 +46,0 @@ Object.defineProperty(exports, "toaster", { enumerable: true, get: function () { return Toaster_1.default; } }); |
{ | ||
"name": "ventura", | ||
"version": "1.17.4", | ||
"version": "1.18.0", | ||
"repository": "git@github.com:kodiak-packages/ventura.git", | ||
@@ -5,0 +5,0 @@ "author": "Kodiak", |
@@ -18,3 +18,3 @@ TODO: Display logo | ||
[➡️ Go to full documentation](https://ventura.madebykodiak.com) | ||
[➡️ Go to full documentation](https://kodiak-packages.github.io/ventura) | ||
@@ -21,0 +21,0 @@ This library is documented using [Docz](https://www.docz.site/). |
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
Sorry, the diff of this file is not supported yet
161650
164
2464