UNPKG

@heroui/shared-utils

Version:

A set of HeroUI utilities

12 lines (11 loc) 864 B
export { Dict, __DEV__, __TEST__, dataAttr, isArray, isEmpty, isEmptyArray, isEmptyObject, isFunction, isNumeric, isObject } from './assertion.js'; export { clsx } from './clsx.js'; export { MergeObject, arrayToObject, cleanObject, cleanObjectKeys, compact, copyObject, getKeyValue, getProp, omitObject, renameProp } from './object.js'; export { safeAriaLabel, safeText } from './text.js'; export { getMargin } from './dimensions.js'; export { callAll, callAllHandlers, capitalize, debounce, extractProperty, get, getUniqueID, intersectionBy, kebabCase, mapKeys, objectToDeps, omit, removeEvents, uniqBy } from './functions.js'; export { clamp, clampPercentage, range } from './numbers.js'; export { warn } from './console.js'; export { Timer } from './types.js'; export { getGregorianYearOffset } from './dates.js'; export { isPatternNumeric } from './regex.js';