@ydtb/tk-scope-ui
v0.24.0
Published
Reusable UI component library for tk-scope.
Readme
@ydtb/tk-scope-ui
Reusable UI component library for tk-scope.
Role
This package owns primitive and mid-level reusable UI building blocks.
Examples:
- buttons
- inputs
- dialogs
- popovers
- tooltips
- tables
- settings form components
- shared styling helpers and theme-aware components
Rule of thumb:
- if a component can be reused across many unrelated screens without implying the dashboard shell, it belongs here
Relationship to other workspace packages
- Used by
@ydtb/tk-scope-shellto build the actual application chrome - Used by
@ydtb/tk-scope-appfor runtime-aware screens and adapters - Should stay below both of those packages in the dependency graph
Boundary
@ydtb/tk-scope-ui should:
- provide reusable components
- stay presentation-focused
- avoid app-specific routing, permissions, and platform policy
@ydtb/tk-scope-ui should not:
- define the dashboard shell architecture
- depend on
@ydtb/tk-scope-shell - depend on
@ydtb/tk-scope-app
Dependency direction
@ydtb/tk-scope-ui← lowest visual layer@ydtb/tk-scope-shelldepends on@ydtb/tk-scope-ui@ydtb/tk-scope-appmay depend on@ydtb/tk-scope-ui
Example
<ScopeViewSelector> is a good example of the upper edge of this package: reusable UI that is still a component, not shell chrome.
