@sps-woodland/focused-task
v8.53.9
Published
SPS Woodland Design System focused task component
Keywords
Readme
@sps-woodland/focused-task
SPS Woodland Design System focused task component.
Heads up — this is a wrapper package. The component source now lives in
@sps-woodland/core. This package re-exports from core so existing imports keep working, but new code should prefer the core paths.
Preferred imports (core)
import { FocusedTask, FocusedTaskActions, useFocusedTask } from "@sps-woodland/core/focused-task";
// or, if you only need the actions footer:
import { FocusedTaskActions } from "@sps-woodland/core/focused-task-actions";
import "@sps-woodland/core/focused-task/style.css";FocusedTask is barrel-only (the family name and the parent component share a
name). The useFocusedTask hook is also barrel-only. FocusedTaskActions
additionally has its own flat subpath.
Legacy imports (still supported)
import { FocusedTask, FocusedTaskActions, useFocusedTask } from "@sps-woodland/focused-task";
import "@sps-woodland/focused-task/style.css";