@julo-ui/dom-utils
Advanced tools
Comparing version 0.0.2 to 0.0.3
export { default as ariaAttr } from './aria-attr.js'; | ||
export { default as dataAttr } from './data-attr.js'; | ||
export { default as isInputEvent } from './is-input-event.js'; | ||
export { default as isRef } from './is-ref.js'; | ||
export { default as mergeRefs } from './merge-refs.js'; | ||
export { default as isInputEvent } from './is-input-event.js'; | ||
import './types.js'; | ||
import 'react'; |
@@ -26,2 +26,3 @@ "use strict"; | ||
isInputEvent: () => is_input_event_default, | ||
isRef: () => is_ref_default, | ||
mergeRefs: () => merge_refs_default | ||
@@ -39,2 +40,15 @@ }); | ||
// src/is-input-event.ts | ||
var import_object_utils = require("@julo-ui/object-utils"); | ||
function isInputEvent(value) { | ||
return value && (0, import_object_utils.isObject)(value) && (0, import_object_utils.isObject)(value.target); | ||
} | ||
var is_input_event_default = isInputEvent; | ||
// src/is-ref.ts | ||
function isRef(ref) { | ||
return typeof ref === "object" && ref !== null && "current" in ref; | ||
} | ||
var is_ref_default = isRef; | ||
// src/merge-refs.ts | ||
@@ -49,9 +63,2 @@ var import_function_utils = require("@julo-ui/function-utils"); | ||
var merge_refs_default = mergeRefs; | ||
// src/is-input-event.ts | ||
var import_object_utils = require("@julo-ui/object-utils"); | ||
function isInputEvent(value) { | ||
return value && (0, import_object_utils.isObject)(value) && (0, import_object_utils.isObject)(value.target); | ||
} | ||
var is_input_event_default = isInputEvent; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -62,3 +69,4 @@ 0 && (module.exports = { | ||
isInputEvent, | ||
isRef, | ||
mergeRefs | ||
}); |
@@ -1,3 +0,3 @@ | ||
declare type Booleanish = boolean | 'true' | 'false'; | ||
type Booleanish = boolean | 'true' | 'false'; | ||
export { Booleanish }; |
{ | ||
"name": "@julo-ui/dom-utils", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Dom Utilities across Julo UI package", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
Mixed license
License(Experimental) Package contains multiple licenses.
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
15034
28
365
1