Files
ui/pkgs/data/gui.config.ts
zeekayandHanzo Dev bb684a303e feat(data): @hanzo/data — cross-platform metadata-driven data-app layer
Typed field system (26 types) → record table / card / detail, on @hanzo/gui
(web + native + desktop), shorthand style props, zero Tailwind. The universal
object/field/record/view core for any Base-backed CRM, CMS, or commerce app.
Registry-dispatched (add a type = one registerField call). Ships TS source
(zero-build internal package). tsc --noEmit clean against @hanzo/gui 7.2.2.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-10 10:19:52 -07:00

21 lines
689 B
TypeScript

// Hanzogui config for @hanzo/data typechecking.
//
// The canonical v5 default config — the same shape Hanzo's admin SPAs use, so
// the shorthand style props (`bg`, `p`, `items`, `justify`, `rounded`, …) the
// field/table components use typecheck against the real Gui token unions.
// Consumers supply their own config + theme at runtime; this exists so the
// library type-checks standalone.
import { defaultConfig } from '@hanzogui/config/v5'
import { createHanzogui } from '@hanzo/gui'
export const config = createHanzogui(defaultConfig)
export default config
export type Conf = typeof config
declare module '@hanzo/gui' {
interface HanzoguiCustomConfig extends Conf {}
}