Joseph Doherty
fe774f8ee4
fix(theme): correct sticky rail selector, harden bool attrs/tests, doc LoginCard security contract
...
- layout.css: fix @media sticky selector from #sidebar-collapse → #theme-rail (Fix 1)
- NavRailTests/CommonControlsTests: add TDD tests verifying Blazor omits false bool attrs (Fix 2)
- TechButton: rename Extra → AdditionalAttributes, move @attributes splat first (Fix 3)
- LoginCard: add security contract XML/comment docs on ReturnUrl and ChildContent (Fix 4)
- build/pack.sh, push.sh: fix comment from ZB.MOM.WW.Auth → ZB.MOM.WW.Theme (Fix 5)
2026-06-01 05:03:17 -04:00
Joseph Doherty
cac2f659e4
feat(theme): ThemeHead stylesheet entry point
2026-06-01 04:56:26 -04:00
Joseph Doherty
40f6962d05
feat(theme): TechButton/TechCard/TechField
2026-06-01 04:56:06 -04:00
Joseph Doherty
f7ec3fd732
feat(theme): LoginCard
2026-06-01 04:55:24 -04:00
Joseph Doherty
b09de9b777
feat(theme): ThemeShell canonical side-rail
...
Add ThemeShell.razor (regular component, not LayoutComponentBase) with
Product, Accent, Logo, Nav, RailFooter, and ChildContent parameters.
Accent uses nullable AccentStyle so the style attribute is entirely
absent when null. Composes BrandBar inside .side-rail, wraps page in
<main class="page">. Add ThemeShellTests.cs (4 tests: product/nav/body,
accent sets css var, no-accent emits no style, RailFooter). All 18 tests
green, 0 build warnings.
2026-06-01 04:53:52 -04:00
Joseph Doherty
75e58085d1
refactor(theme): unify components into ZB.MOM.WW.Theme namespace
...
Add @namespace ZB.MOM.WW.Theme to each component .razor file so the
Razor compiler places all four components in the flat ZB.MOM.WW.Theme
namespace rather than ZB.MOM.WW.Theme.Components. Remove the now-
redundant global using ZB.MOM.WW.Theme.Components from both _Imports
files. Also add @namespace ZB.MOM.WW.Theme to the root _Imports.razor.
Consumers need only @using ZB.MOM.WW.Theme. All 14 tests green.
2026-06-01 04:53:12 -04:00
Joseph Doherty
a74ad7008d
feat(theme): NavRailItem + NavRailSection
2026-06-01 04:47:36 -04:00
Joseph Doherty
8e70718ca4
feat(theme): BrandBar
2026-06-01 04:46:58 -04:00
Joseph Doherty
af8682c0f2
feat(theme): StatusPill widget
2026-06-01 04:46:24 -04:00
Joseph Doherty
6736415a32
feat(theme): vendor tokens, fonts, and side-rail layout CSS
2026-06-01 04:44:36 -04:00
Joseph Doherty
24fce87c96
feat(theme): scaffold ZB.MOM.WW.Theme RCL + test project
2026-06-01 04:41:48 -04:00