Repository navigation
·
0 commits
to main
since this release
npm packages
Toaster
- The
toaster,notification-centerandonboarding-islanditems install@cloudlet/toast@1.7.0,
which adds the@cloudlet/toast/guidesubpath the Island tour is built on; what changed in the
package is in its changelog.
Website
- The Onboarding docs have a section on the tour in the Island,
/docs/components/onboarding#island:
a live example where the page stays bright and pressable under the tour and a button sends a
notification in the middle of it, the item's installation, its props and labels, and how the
agent sees a tour that holds the Island. - A new Toaster page,
/docs/components/toaster/guide, documents@cloudlet/toast/guide: your own
content in the Island withuseIslandGuide, whatshowanswers, notifications that wait while it
is there, focus, F6 and the arrow keys, and following the Island's frame; with a live hint. - The agents reference lists the Toaster record's
guest, set while a tour holds the Island. - Installation lists the
onboarding-islanditem.
Onboarding
- New registry item
onboarding-island(npx shadcn@latest add @cloudlet/onboarding-island):
OnboardingIslandshows the tour's steps in the Island of a mounted Toaster instead of the dark
pill. The page stays bright, scrolls and takes presses; a ring springs from target to target and a
thin thread runs from the Island to it, bending towards the pointer. It takes the props of
Onboardingexceptoverlay, pluscontroller, andlabels.tournames the Island for screen
readers while the tour holds it. A tour opened by a press moves focus into the Island; Tab and F6
reach it, ← → and Esc work there. Notifications sent during the tour wait in the stack, and those
still there open after it (give oneduration: nullto outlive the tour). The item bringsonboardingand depends on@cloudlet/toast; it does not bring
toaster, so your own Toaster file stays as it is. useOnboardingIslandAgentin the same item connects that tour to the experimental agent bridge
with the same record, verbs and rules as the highlight's; the Toaster's record says the Island is
taken by the tour,guest: { ref }with the tour record'sref(passed as the newguestRef
prop), and refuses to open notifications until it ends. Screen readers keep naming the Island by
labels.tour.- The
onboardingitem has a new file,engine.ts: the steps without a face (the current step, its
waits, the memory and how the tour finished), shared by the highlight and the Island.
onboarding-agent.tsnow imports it instead ofonboarding.tsx, so the agent adapter no longer
pulls in the highlight and its CSS. Nothing changes in howOnboardingbehaves; installing the
item again adds the file.