UNPKG

@zeix/ui-element

Version:

UIElement - minimal reactive framework based on Web Components

13 lines (12 loc) 1.22 kB
/** * @name UIElement * @version 0.12.2 * @author Esther Brunner */ export { type Signal, type MaybeSignal, type State, type Computed, type ComputedCallback, type EffectMatcher, type EnqueueDedupe, UNSET, state, computed, effect, batch, watch, enqueue, isState, isComputed, isSignal, toSignal, } from '@zeix/cause-effect'; export { type Component, type ComponentProps, type ValidPropertyKey, type ReservedWords, type Initializer, type AttributeParser, type SignalProducer, type MethodProducer, type Cleanup, type FxFunction, RESET, component, } from './src/component'; export { type LogLevel, LOG_DEBUG, LOG_INFO, LOG_WARN, LOG_ERROR, log, } from './src/core/util'; export { type PassedSignals, first, all, selection, on, emit, pass, } from './src/core/ui'; export { type Context, type UnknownContext, type ContextType, provide, consume, } from './src/core/context'; export { asBoolean, asInteger, asNumber, asString, asEnum, asJSON, } from './src/lib/parsers'; export { type SignalLike, type UpdateOperation, type ElementUpdater, type ElementInserter, updateElement, insertOrRemoveElement, setText, setProperty, setAttribute, toggleAttribute, toggleClass, setStyle, dangerouslySetInnerHTML, } from './src/lib/effects';