mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Match the layout convention used elsewhere in the Hanzo / Liquidity stack
(pkgs/* for libraries, apps/* for consumer apps, templates/* for starters).
Layout changes:
pkgs/ ← code/{compiler,core,packages,ui,ui-admin}/
apps/ ← code/{admin-base,admin-tasks,demos,gui.hanzo.ai,
kitchen-sink*,sandbox,tests}/
templates/ ← code/starters/* (flattened — no more starters/ subdir)
Updated:
- package.json workspaces glob.
- All scripts/* path references (postinstall, format, repair, release,
sync-gui-versions, ci-serve, check-references, etc).
- ../../tasks/scripts/sync-admin-ui.sh — DEFAULT_SRC now points at
../gui/apps/admin-tasks (and scrubbed Tamagui mentions in comments).
- ~/work/hanzo/HANZO_BINARY.md doctrine doc.
- ~/work/hanzo/ui/pkg/ui/BASES.md framework-bases doc.
- gui CLAUDE.md, CONTRIBUTING.md.
- Memory entries.
Side-effect fix: ui-admin/src/primitives/index.ts now re-exports
PageShell from ../shell/PageShell. Several IAM identity pages
(GroupEdit, OrgEdit, GroupTree, UserEdit, RoleEdit) imported PageShell
from ./primitives — pre-existing barrel mismatch the test suite missed
because the smoke tests don't full-render. The rename surfaced it via
production build; back-compat re-export keeps both barrels working.
Verification:
- bun install: clean.
- ui-admin tests: 127/127 green.
- admin-tasks vite build: 721 KB JS / 213 KB gzip + 10 KB CSS, clean.
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`extract-tests > converts a style object to class names 1`] = `":root ._bg-red{background-color:red;}"`;
|
|
|
|
exports[`extract-tests > converts a style object to class names 2`] = `":root ._tr-rotateY10de41674{transform:rotateY(10deg);}"`;
|
|
|
|
exports[`extract-tests > converts a style object to class names 3`] = `":root ._bxsh-0px0px10pxr30539967{box-shadow:0px 0px 10px red;}"`;
|
|
|
|
exports[`extract-tests > supports RTL properties 1`] = `
|
|
[
|
|
[
|
|
"paddingStart",
|
|
"100px",
|
|
"_paddingStart-100px",
|
|
undefined,
|
|
[
|
|
":root ._paddingStart-100px{padding-start:100px;}",
|
|
],
|
|
],
|
|
[
|
|
"paddingEnd",
|
|
"10px",
|
|
"_paddingEnd-10px",
|
|
undefined,
|
|
[
|
|
":root ._paddingEnd-10px{padding-end:10px;}",
|
|
],
|
|
],
|
|
[
|
|
"marginStart",
|
|
"50px",
|
|
"_marginStart-50px",
|
|
undefined,
|
|
[
|
|
":root ._marginStart-50px{margin-start:50px;}",
|
|
],
|
|
],
|
|
[
|
|
"marginEnd",
|
|
"2px",
|
|
"_marginEnd-2px",
|
|
undefined,
|
|
[
|
|
":root ._marginEnd-2px{margin-end:2px;}",
|
|
],
|
|
],
|
|
]
|
|
`;
|