@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
17 lines (16 loc) • 2.69 kB
TypeScript
import { AnyFunction, AnyNumber, AnyString, ChangeEvent, ChangeEventHandler, CreateContextOptions, CreateContextReturn, Dict, Environment, FocusEvent, FocusEventHandler, KeyboardEvent, KeyboardEventHandler, MouseEvent, MouseEventHandler, PropsOf, RefPropsOf, RenderProps, RightJoinProps, Sort, SortOrder } from "./types.js";
import { compareBy, toggleItem } from "./array.js";
import { isArray, isFunction, isJsx, isNumber, isObject, isReactText, isString } from "./assertion.js";
import { __DEV__, activeClassName, activeItemShade, dimmedBorderColor } from "./consts.js";
import { formatIsoDate, generateDateByUTCValue, getCurrentYear, getDateUTCValue, isValidDate, parseIsoDate, sameDate, sameYear, sameYearSameMonth, utcDateToLocale, validateDateFormat } from "./dates.js";
import { addBodyClass, addElement, removeBodyClass, removeElement } from "./dom.js";
import { DateFormat, FormatDateOptions, dateFormats, formatDate } from "./formatDate.js";
import { callAll, noop, runIfFn } from "./function.js";
import { random } from "./number.js";
import { filterUndefined, merge, objectFilter } from "./object.js";
import { UseControlledProps, assignRef, createContext, mergeRefs, useCallbackRef, useClickOutside, useControlled, useIds, useIsMounted } from "./react.js";
import { generateMenuItemId, normalizeToId } from "./string.js";
import { HSLToRGBA, cs, ellipsisOverflow, hexToRGBA, parseHSL, vuiColorToRGBA } from "./styles.js";
import { uid } from "./uid.js";
import { isActivePath } from "./window.js";
export { type AnyFunction, type AnyNumber, type AnyString, type ChangeEvent, type ChangeEventHandler, type CreateContextOptions, type CreateContextReturn, DateFormat, type Dict, type Environment, type FocusEvent, type FocusEventHandler, FormatDateOptions, HSLToRGBA, type KeyboardEvent, type KeyboardEventHandler, type MouseEvent, type MouseEventHandler, type PropsOf, type RefPropsOf, type RenderProps, type RightJoinProps, type Sort, type SortOrder, UseControlledProps, __DEV__, activeClassName, activeItemShade, addBodyClass, addElement, assignRef, callAll, compareBy, createContext, cs, dateFormats, dimmedBorderColor, ellipsisOverflow, filterUndefined, formatDate, formatIsoDate, generateDateByUTCValue, generateMenuItemId, getCurrentYear, getDateUTCValue, hexToRGBA, isActivePath, isArray, isFunction, isJsx, isNumber, isObject, isReactText, isString, isValidDate, merge, mergeRefs, noop, normalizeToId, objectFilter, parseHSL, parseIsoDate, random, removeBodyClass, removeElement, runIfFn, sameDate, sameYear, sameYearSameMonth, toggleItem, uid, useCallbackRef, useClickOutside, useControlled, useIds, useIsMounted, utcDateToLocale, validateDateFormat, vuiColorToRGBA };