mirror of
https://github.com/hanzoai/gui.git
synced 2026-11-21 10:31:32 +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.
60 lines
631 B
CSS
60 lines
631 B
CSS
/* mimic the native viewport full width/height + flex */
|
|
body,
|
|
#root,
|
|
#__next {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
min-width: calc(100vw - (100vw - 100%)); /* reserve space for scrollbar */
|
|
margin: 0;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
li,
|
|
select,
|
|
input,
|
|
button,
|
|
[role='slider'],
|
|
[role='listbox'] {
|
|
outline: none;
|
|
}
|
|
|
|
.is_Fieldset {
|
|
all: unset;
|
|
}
|
|
|
|
p,
|
|
input,
|
|
textarea,
|
|
button,
|
|
ul,
|
|
ol,
|
|
li,
|
|
pre,
|
|
dialog {
|
|
all: unset;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
a.is_Button,
|
|
.is_Anchor:has(.is_Button) {
|
|
text-decoration: none;
|
|
}
|