jb-input-react
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -1,4 +0,3 @@ | ||
import { JBInputWebComponent } from "jb-input"; | ||
import { ValidationItem } from "jb-validation/types.js"; | ||
import { ValidationValue } from "jb-input/types.js"; | ||
import { JBInputWebComponent, type ValidationValue } from "jb-input"; | ||
import { type ValidationItem } from "jb-validation"; | ||
import { RefObject } from "react"; | ||
@@ -5,0 +4,0 @@ export type JBInputAttributes = { |
import { RefObject } from "react"; | ||
import { JBInputWebComponent } from "jb-input"; | ||
import { type JBInputEventType } from "jb-input/types.js"; | ||
import { type JBInputWebComponent, type JBInputEventType } from "jb-input"; | ||
export type JBInputEvents = { | ||
@@ -5,0 +4,0 @@ onEnter?: (e: JBInputEventType<CustomEvent>) => void; |
import React, { DetailedHTMLProps, HTMLAttributes } from 'react'; | ||
import 'jb-input'; | ||
import { JBInputWebComponent } from 'jb-input'; | ||
import { JBInputWebComponent, JBInputEventType } from 'jb-input'; | ||
import { type JBInputEvents, useJBInputEvents } from './events-hook.js'; | ||
import { type JBInputAttributes, useJBInputAttribute } from './attributes-hook.js'; | ||
export { JBInputEvents, useJBInputEvents, JBInputAttributes, useJBInputAttribute }; | ||
export { JBInputEvents, useJBInputEvents, JBInputAttributes, useJBInputAttribute, JBInputEventType }; | ||
interface JBInputType extends DetailedHTMLProps<HTMLAttributes<JBInputWebComponent>, JBInputWebComponent> { | ||
@@ -8,0 +8,0 @@ class?: string; |
@@ -1,1 +0,1 @@ | ||
export {JBInput,useJBInputAttribute,useJBInputEvents} from './dist/JBInput.js'; | ||
export * from './dist/JBInput.js'; |
@@ -1,4 +0,3 @@ | ||
import { JBInputWebComponent } from "jb-input"; | ||
import { ValidationItem } from "jb-validation/types.js"; | ||
import { ValidationValue } from "jb-input/types.js"; | ||
import { JBInputWebComponent, type ValidationValue} from "jb-input"; | ||
import { type ValidationItem } from "jb-validation"; | ||
import { RefObject, useEffect } from "react"; | ||
@@ -5,0 +4,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.js"; | ||
import { type JBInputWebComponent, type JBInputEventType} from "jb-input"; | ||
@@ -6,0 +5,0 @@ export type JBInputEvents = { |
@@ -18,3 +18,3 @@ { | ||
], | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"bugs": "https://github.com/javadbat/jb-input-react/issues", | ||
@@ -21,0 +21,0 @@ "license": "MIT", |
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
78792
28
834