jb-input-react
Advanced tools
Comparing version 3.3.0 to 3.4.0
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var React = require('react'); | ||
require('jb-input'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
function useEvent(dom, event, handler, passive = false) { | ||
@@ -141,3 +135,3 @@ React.useEffect(() => { | ||
useJBInputAttribute(element, props); | ||
return (React__default["default"].createElement("jb-input", { ref: element, class: props.className }, props.children)); | ||
return (React.createElement("jb-input", { ref: element, class: props.className }, props.children)); | ||
}); | ||
@@ -144,0 +138,0 @@ JBInput.displayName = "JBInput"; |
@@ -7,6 +7,2 @@ (function (global, factory) { | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
function useEvent(dom, event, handler, passive = false) { | ||
@@ -141,3 +137,3 @@ React.useEffect(() => { | ||
useJBInputAttribute(element, props); | ||
return (React__default["default"].createElement("jb-input", { ref: element, class: props.className }, props.children)); | ||
return (React.createElement("jb-input", { ref: element, class: props.className }, props.children)); | ||
}); | ||
@@ -150,5 +146,3 @@ JBInput.displayName = "JBInput"; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
})); | ||
//# sourceMappingURL=JBInput.umd.js.map |
import { JBInputWebComponent } from "jb-input"; | ||
import { ValidationItem } from "jb-validation/types"; | ||
import { ValidationValue } from "jb-input/types"; | ||
import { ValidationItem } from "jb-validation/types.js"; | ||
import { ValidationValue } from "jb-input/types.js"; | ||
import { RefObject } from "react"; | ||
@@ -5,0 +5,0 @@ export type JBInputAttributes = { |
import { RefObject } from "react"; | ||
import { JBInputWebComponent } from "jb-input"; | ||
import { type JBInputEventType } from "jb-input/types"; | ||
import { type JBInputEventType } from "jb-input/types.js"; | ||
export type JBInputEvents = { | ||
@@ -5,0 +5,0 @@ onEnter?: (e: JBInputEventType<CustomEvent>) => void; |
import { JBInputWebComponent } from "jb-input"; | ||
import { ValidationItem } from "jb-validation/types"; | ||
import { ValidationValue } from "jb-input/types"; | ||
import { ValidationItem } from "jb-validation/types.js"; | ||
import { ValidationValue } from "jb-input/types.js"; | ||
import { RefObject, useEffect } from "react"; | ||
@@ -5,0 +5,0 @@ |
import { RefObject, useCallback } from "react"; | ||
import { useEvent } from "../../../common/hooks/use-event.js"; | ||
import { JBInputWebComponent } from "jb-input"; | ||
import { type JBInputEventType } from "jb-input/types"; | ||
import { type JBInputEventType } from "jb-input/types.js"; | ||
@@ -6,0 +6,0 @@ export type JBInputEvents = { |
@@ -18,3 +18,3 @@ { | ||
], | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"bugs": "https://github.com/javadbat/jb-input-react/issues", | ||
@@ -35,4 +35,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"jb-input": ">=3.2.0" | ||
"jb-input": ">=3.2.2" | ||
} | ||
} |
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
72535
23
660
+ Addedjb-core@0.1.0(transitive)
+ Addedjb-input@3.6.2(transitive)
- Removedjb-core@0.0.4(transitive)
- Removedjb-input@3.6.1(transitive)
Updatedjb-input@>=3.2.2