UNPKG

@lucidclient/elements

Version:

A lightweight, reactive UI library that bridges HTML and JavaScript through attributes, powered by SolidJS. Adds reactive state and dynamic behaviors to markup while maintaining simplicity.

37 lines (34 loc) 1.7 kB
export { A as ActionKey, j as BindActionDirectives, B as BindAttributeName, i as BindStateDirectives, E as EffectDirectives, h as HandlerDirectives, H as HandlerNamespace, f as HandlerSpecifier, g as HandlerSpecifiersMap, L as LoopDirectives, M as MemeberKey, b as ScopedAction, c as ScopedMember, a as ScopedState, e as StateDirectives, S as StateKey, d as StateValue } from '../directives-DK-Zzqy-.cjs'; import { S as Store, a as StoreState, b as StoreActions, d as StoreModule } from '../store-DC2Sun0s.cjs'; export { A as Action, D as DirectiveMap, E as Effect, R as Refs, g as StoreData, e as StoreDirectives, f as StoreEffects, h as StoreInterface, c as StoreMember } from '../store-DC2Sun0s.cjs'; import { a as Handlers } from '../handlers-J7pohxAt.cjs'; export { H as Handler, b as HandlerInitOptions } from '../handlers-J7pohxAt.cjs'; import 'solid-js/store'; import 'solid-js'; type ElementsInstance = { options: { debug: boolean; attributes: { prefix: string; selectors: { store: string; state: string; bind: string; effect: string; loop: string; handler: string; ref: string; }; seperators: { scope: string; handler: string; }; }; }; started: boolean; handlers: Handlers; stores: Map<string, Store<StoreState, StoreActions>>; storeModules: Map<string, StoreModule<StoreState, StoreActions>>; syncedElements: Map<Element, () => void>; }; export { type ElementsInstance, Handlers, Store, StoreActions, StoreModule, StoreState };