@flux-ui/internals
v3.5.0
Published
Contains internal workings of Flux UI packages.
Maintainers
Readme
@flux-ui/internals
Shared composables, utilities, directives, and data helpers used across the Flux UI packages.
Built with tsdown.
Highlights
The package exposes four sub-entry points alongside the root export:
| Entry | Contents |
|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| @flux-ui/internals | Re-exports of every entry below. |
| @flux-ui/internals/composable | useCalendar, useEventListener, useFocusTrap, useFocusZone, useInView, useRemembered, useScrollPosition, … |
| @flux-ui/internals/data | Data helpers — e.g. color utilities. |
| @flux-ui/internals/directive | Vue directives — focusTrap, heightTransition. |
| @flux-ui/internals/util | Focus helpers (wrapFocus, getFocusableElement(s), getKeyboardFocusableElements, getBidirectionalFocusElement), flattenVNodeTree, animationFrameDebounce, warn, … |
⭐️ Prerequisites
- Bun >= 1.2.13
- Node >= 23
🚀 Getting started
- Make sure the Flux monorepo is checked out.
- Run
bun installin the project root. - Run
bun run --cwd packages/internals buildto build the package.
