mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +00:00
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]>
21 lines
689 B
TypeScript
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 {}
|
|
}
|