@sovereignfs/ui 0.105.0 → 0.106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ versions follow [semver](https://semver.org/). A version's section is written in
5
5
  and becomes the release notes when the version is published. This file starts at 0.96.0; earlier versions are in the repository's
6
6
  history and tags.
7
7
 
8
+ ## [0.106.0] - 2026-11-22
9
+
10
+ ### Added
11
+
12
+ - `LinkSovereignPanel`: linking an account of an app's own to the person's Sovereign account, after their password, and what came back
13
+ (`LinkOutcome`: `done`, `taken`, `address`).
14
+
8
15
  ## [0.105.0] - 2026-11-21
9
16
 
10
17
  ### Added
package/dist/index.d.ts CHANGED
@@ -329,6 +329,28 @@ interface ChangePasswordFormProps {
329
329
  /** Changing the password (auth.md §7): it asks for the current one, and ends every other session. */
330
330
  declare function ChangePasswordForm({ error, done, pending, onSubmit, }: ChangePasswordFormProps): react.JSX.Element;
331
331
 
332
+ /** How a link came back from Sovereign: `done`, or why it was refused. */
333
+ type LinkOutcome = 'done' | 'taken' | 'address';
334
+ interface LinkSovereignPanelProps {
335
+ /** Whether this account already signs in through Sovereign. */
336
+ linked: boolean;
337
+ /** What the instance is called, as people know it. Default "Sovereign". */
338
+ instanceName?: string;
339
+ /** How the last link came back (the page reads it from its address). */
340
+ outcome?: LinkOutcome | undefined;
341
+ error?: string | undefined;
342
+ pending?: boolean;
343
+ /** The password, once the person submits it. The panel never sends anything itself. */
344
+ onSubmit: (values: {
345
+ password: string;
346
+ }) => void;
347
+ }
348
+ /**
349
+ * Linking an account of the app's own to the person's Sovereign account (auth.md §8.2): after their password, they sign in at Sovereign,
350
+ * and whoever signs in there is linked to this account. Nothing is ever linked because two addresses match.
351
+ */
352
+ declare function LinkSovereignPanel({ linked, instanceName, outcome, error, pending, onSubmit, }: LinkSovereignPanelProps): react.JSX.Element;
353
+
332
354
  /** A change to the second step, which always asks for the password first. */
333
355
  type TwoFactorAction = 'enable' | 'regenerate' | 'disable';
334
356
  /** What starting a change came to: a sentence to show, an enrolment to confirm, new backup codes, or the second step turned off. */
@@ -4200,5 +4222,5 @@ interface QrCodeProps {
4200
4222
  */
4201
4223
  declare function QrCode({ modules, label }: QrCodeProps): react.JSX.Element;
4202
4224
 
4203
- export { Accordion, Alert, AppTile, AppsLauncher, AspectRatio, AuthButton, AuthCard, AuthCodeInput, AuthDivider, AuthError, AuthField, AuthFooter, AuthForm, AuthLink, AuthLinkButton, AuthNotice, AuthShell, Avatar, AvatarStack, Badge, BalanceChip, BrandBadge, Breadcrumb, Button, ButtonGroup, ButtonLink, Calendar, Card, CardTile, CardTileGrid, ChangePasswordForm, CheckableListRow, Checkbox, CodeTextarea, Collapsible, ColorPicker, Combobox, Command, ConfirmDialog, ConsentPrompt, ContextMenu, CopyButton, CurrencyInput, DataTable, DatePicker, DateRangePicker, DeviceOnlyGate, DeviceStorageKeyGate, Dialog, DragHandleRow, Drawer, EmptyState, ExportPanel, FileDropzone, FloatingActionButton, ForgotPasswordForm, FormField, GripIcon, Header, HeaderFooterLayout, HoverCard, IOS_INSTALL_STEPS, Icon, IconPicker, Input, InstallHint, InstallPrompt, Item, Kbd, Label, LegalLinks, LockedState, MOBILE_BREAKPOINT_PX, Markdown, Marker, MemberMultiSelect, Menu, MenuEntries, Menubar, Message, MessageScroller, MobileAppsDrawer, MobileFooter, MobileHeader, NavList, NavTabs, NavigationMenu, NewCardTile, NotificationsPanel, OfflineGate, OverlayHeader, PageContainer, PageHeader, PageLayout, Pagination, PhotoGallery, PhotoGrid, PhotoViewer, Popover, ProfilePanel, Progress, PushControl, QrCode, QuantityStepper, RadioGroup, RangeCalendar, RecoveryKit, ResetPasswordForm, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResponsiveSurface, RootLayout, SWIPE_STACK_TRANSITION_MS, ScrollArea, SegmentedControl, Select, SessionsPanel, Sheet, SignInForm, SignUpForm, Slider, Spinner, SplitMethodSelector, SplitPane, StatusBadge, StepStrip, SuggestionInput, SwipableMobileCarousel, SwipableMobileCarouselDots, SwipableMobileCarouselSlide, SwipableMobileCarouselSlideBody, SwipableMobileCarouselSlideFooter, SwipableMobileCarouselSlideHeader, SwipeStack, SwipeStackCard, SystemBanner, THEME_PRESETS, THEME_PRESET_NAMES, Table, TableBody, TableCell, TableHead, TableHeaderCell, TableRow, Tabs, TagInput, Textarea, ThreeColumnLayout, ToastProvider, Toggle, Tooltip, TwoFactorForm, TwoFactorPanel, Typography, UpdateNotice, UserMenu, isInstalledDisplay, recoveryKitFileName, recoveryKitFileText, shouldHandleDndEvent, useCarouselRouteSync, useCommitOnEnterOrBlur, useDoubleTapHandler, useInstallPrompt, useIsMobile, useIsOffline, useLongPress, useOfflineTileState, useOverlaySecondRow, useReorderSensors, useResponsiveLayout, useSingleOrDoubleTap, useSnapCarousel, useSwipeReveal, useSwipeStack, useToast };
4204
- export type { AccordionItem, AccordionProps, ActionResult, AlertProps, AlertVariant, AppTileProps, AppsLauncherItem, AppsLauncherProps, AspectRatioProps, AuthCardProps, AuthCodeInputProps, AuthFieldControl, AuthFieldProps, AuthFooterProps, AuthLinkRenderer, AvatarProps, AvatarStackPerson, AvatarStackProps, BadgeProps, BadgeStatus, BadgeVariant, BalanceChipProps, BannerVariant, BrandBadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant, CalendarProps, CardProps, CardTileGridProps, CardTileProps, ChangePasswordFormProps, CheckableListRowProps, CheckboxProps, CodeTextareaProps, CollapsibleProps, ColorPickerProps, ColorPickerSwatch, ComboboxOption, ComboboxProps, CommandItem, CommandProps, CommitOnEnterOrBlurHandlers, ConfirmDialogProps, ConsentPromptProps, ContextMenuProps, CopyButtonProps, CurrencyInputProps, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DeviceOnlyGateProps, DeviceStorageKeyGateProps, DeviceStorageKeyGateStatus, DialogProps, DialogSize, DragHandleRowProps, DrawerProps, EmptyStateProps, ExportPanelProps, ExportPanelStatus, ExportStartResult, FileDropzoneProps, FloatingActionButtonProps, FooterIcon, ForgotPasswordFormProps, FormFieldProps, FormFieldRenderProps, GripIconProps, HeaderFooterLayoutProps, HeaderPlugin, HeaderProps, HoverCardProps, IconName, IconPickerProps, IconProps, InputProps, InstallHintProps, InstallKind, InstallPromptProps, ItemProps, KbdProps, LabelProps, LegalLinksProps, LockedReason, LockedStateProps, LongPressHandlers, MarkdownProps, MarkerProps, MemberMultiSelectOption, MemberMultiSelectProps, MenuEntry, MenuItem, MenuLabel, MenuProps, MenuSeparator, MenubarMenu, MenubarProps, MessageProps, MessageScrollerProps, MessageSender, MobileAppsDrawerItem, MobileAppsDrawerProps, MobileFooterProps, MobileHeaderProps, NavListGroup, NavListItem, NavListLinkProps, NavListProps, NavTabItem, NavTabLinkProps, NavTabsProps, NavigationMenuItem, NavigationMenuProps, NewCardTileProps, NotificationsPanelItem, NotificationsPanelProps, OfflineGateProps, OfflineTileState, OverlayHeaderProps, PageContainerProps, PageHeaderProps, PageLayoutPadding, PageLayoutProps, PaginationProps, PanelAction, Photo, PhotoGalleryProps, PhotoGridProps, PhotoViewerProps, PopoverProps, ProfilePanelProps, ProgressProps, PushControlProps, PushControlState, QrCodeProps, QuantityStepperProps, RadioGroupItem, RadioGroupProps, RangeCalendarProps, RecoveryKitProps, ResetPasswordFormProps, ResizableDirection, ResizableHandleProps, ResizablePanelGroupProps, ResizablePanelProps, ResponsiveSurfaceProps, RootLayoutProps, RootLayoutVariant, ScrollAreaProps, SegmentedControlProps, SegmentedOption, SelectProps, SessionRow, SessionsPanelProps, SheetProps, SignInFormProps, SignUpFormProps, SignUpValues, SliderProps, SortDirection, SpinnerProps, SplitMethod, SplitMethodSelectorProps, SplitPaneProps, StatusBadgeProps, StatusBadgeStatus, StepStripItem, StepStripProps, SuggestionInputProps, SuggestionOption, SwipableMobileCarouselDotsProps, SwipableMobileCarouselIndicatorProps, SwipableMobileCarouselProps, SwipableMobileCarouselSlideBodyProps, SwipableMobileCarouselSlideFooterProps, SwipableMobileCarouselSlideHeaderProps, SwipableMobileCarouselSlideProps, SwipeDirection, SwipeDirectionMeta, SwipeStackCardProps, SwipeStackProps, SystemBannerProps, TabItem, TableProps, TabsProps, TagInputProps, TextareaProps, ThemePresetName, ThemePresetTokens, ThreeColumnLayoutProps, ToastContextValue, ToastItem, ToggleProps, TooltipProps, TwoFactorAction, TwoFactorFormProps, TwoFactorPanelProps, TwoFactorStart, TypographyProps, TypographyVariant, UpdateNoticeProps, UseCarouselRouteSyncOptions, UseCarouselRouteSyncResult, UseInstallPrompt, UseLongPressOptions, UseReorderSensorsOptions, UseResponsiveLayoutOptions, UseResponsiveLayoutResult, UseSnapCarouselOptions, UseSnapCarouselResult, UseSwipeRevealHandlers, UseSwipeRevealOptions, UseSwipeRevealResult, UseSwipeStackHandlers, UseSwipeStackOptions, UseSwipeStackResult, UserMenuItem, UserMenuProps };
4225
+ export { Accordion, Alert, AppTile, AppsLauncher, AspectRatio, AuthButton, AuthCard, AuthCodeInput, AuthDivider, AuthError, AuthField, AuthFooter, AuthForm, AuthLink, AuthLinkButton, AuthNotice, AuthShell, Avatar, AvatarStack, Badge, BalanceChip, BrandBadge, Breadcrumb, Button, ButtonGroup, ButtonLink, Calendar, Card, CardTile, CardTileGrid, ChangePasswordForm, CheckableListRow, Checkbox, CodeTextarea, Collapsible, ColorPicker, Combobox, Command, ConfirmDialog, ConsentPrompt, ContextMenu, CopyButton, CurrencyInput, DataTable, DatePicker, DateRangePicker, DeviceOnlyGate, DeviceStorageKeyGate, Dialog, DragHandleRow, Drawer, EmptyState, ExportPanel, FileDropzone, FloatingActionButton, ForgotPasswordForm, FormField, GripIcon, Header, HeaderFooterLayout, HoverCard, IOS_INSTALL_STEPS, Icon, IconPicker, Input, InstallHint, InstallPrompt, Item, Kbd, Label, LegalLinks, LinkSovereignPanel, LockedState, MOBILE_BREAKPOINT_PX, Markdown, Marker, MemberMultiSelect, Menu, MenuEntries, Menubar, Message, MessageScroller, MobileAppsDrawer, MobileFooter, MobileHeader, NavList, NavTabs, NavigationMenu, NewCardTile, NotificationsPanel, OfflineGate, OverlayHeader, PageContainer, PageHeader, PageLayout, Pagination, PhotoGallery, PhotoGrid, PhotoViewer, Popover, ProfilePanel, Progress, PushControl, QrCode, QuantityStepper, RadioGroup, RangeCalendar, RecoveryKit, ResetPasswordForm, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResponsiveSurface, RootLayout, SWIPE_STACK_TRANSITION_MS, ScrollArea, SegmentedControl, Select, SessionsPanel, Sheet, SignInForm, SignUpForm, Slider, Spinner, SplitMethodSelector, SplitPane, StatusBadge, StepStrip, SuggestionInput, SwipableMobileCarousel, SwipableMobileCarouselDots, SwipableMobileCarouselSlide, SwipableMobileCarouselSlideBody, SwipableMobileCarouselSlideFooter, SwipableMobileCarouselSlideHeader, SwipeStack, SwipeStackCard, SystemBanner, THEME_PRESETS, THEME_PRESET_NAMES, Table, TableBody, TableCell, TableHead, TableHeaderCell, TableRow, Tabs, TagInput, Textarea, ThreeColumnLayout, ToastProvider, Toggle, Tooltip, TwoFactorForm, TwoFactorPanel, Typography, UpdateNotice, UserMenu, isInstalledDisplay, recoveryKitFileName, recoveryKitFileText, shouldHandleDndEvent, useCarouselRouteSync, useCommitOnEnterOrBlur, useDoubleTapHandler, useInstallPrompt, useIsMobile, useIsOffline, useLongPress, useOfflineTileState, useOverlaySecondRow, useReorderSensors, useResponsiveLayout, useSingleOrDoubleTap, useSnapCarousel, useSwipeReveal, useSwipeStack, useToast };
4226
+ export type { AccordionItem, AccordionProps, ActionResult, AlertProps, AlertVariant, AppTileProps, AppsLauncherItem, AppsLauncherProps, AspectRatioProps, AuthCardProps, AuthCodeInputProps, AuthFieldControl, AuthFieldProps, AuthFooterProps, AuthLinkRenderer, AvatarProps, AvatarStackPerson, AvatarStackProps, BadgeProps, BadgeStatus, BadgeVariant, BalanceChipProps, BannerVariant, BrandBadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant, CalendarProps, CardProps, CardTileGridProps, CardTileProps, ChangePasswordFormProps, CheckableListRowProps, CheckboxProps, CodeTextareaProps, CollapsibleProps, ColorPickerProps, ColorPickerSwatch, ComboboxOption, ComboboxProps, CommandItem, CommandProps, CommitOnEnterOrBlurHandlers, ConfirmDialogProps, ConsentPromptProps, ContextMenuProps, CopyButtonProps, CurrencyInputProps, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DeviceOnlyGateProps, DeviceStorageKeyGateProps, DeviceStorageKeyGateStatus, DialogProps, DialogSize, DragHandleRowProps, DrawerProps, EmptyStateProps, ExportPanelProps, ExportPanelStatus, ExportStartResult, FileDropzoneProps, FloatingActionButtonProps, FooterIcon, ForgotPasswordFormProps, FormFieldProps, FormFieldRenderProps, GripIconProps, HeaderFooterLayoutProps, HeaderPlugin, HeaderProps, HoverCardProps, IconName, IconPickerProps, IconProps, InputProps, InstallHintProps, InstallKind, InstallPromptProps, ItemProps, KbdProps, LabelProps, LegalLinksProps, LinkOutcome, LinkSovereignPanelProps, LockedReason, LockedStateProps, LongPressHandlers, MarkdownProps, MarkerProps, MemberMultiSelectOption, MemberMultiSelectProps, MenuEntry, MenuItem, MenuLabel, MenuProps, MenuSeparator, MenubarMenu, MenubarProps, MessageProps, MessageScrollerProps, MessageSender, MobileAppsDrawerItem, MobileAppsDrawerProps, MobileFooterProps, MobileHeaderProps, NavListGroup, NavListItem, NavListLinkProps, NavListProps, NavTabItem, NavTabLinkProps, NavTabsProps, NavigationMenuItem, NavigationMenuProps, NewCardTileProps, NotificationsPanelItem, NotificationsPanelProps, OfflineGateProps, OfflineTileState, OverlayHeaderProps, PageContainerProps, PageHeaderProps, PageLayoutPadding, PageLayoutProps, PaginationProps, PanelAction, Photo, PhotoGalleryProps, PhotoGridProps, PhotoViewerProps, PopoverProps, ProfilePanelProps, ProgressProps, PushControlProps, PushControlState, QrCodeProps, QuantityStepperProps, RadioGroupItem, RadioGroupProps, RangeCalendarProps, RecoveryKitProps, ResetPasswordFormProps, ResizableDirection, ResizableHandleProps, ResizablePanelGroupProps, ResizablePanelProps, ResponsiveSurfaceProps, RootLayoutProps, RootLayoutVariant, ScrollAreaProps, SegmentedControlProps, SegmentedOption, SelectProps, SessionRow, SessionsPanelProps, SheetProps, SignInFormProps, SignUpFormProps, SignUpValues, SliderProps, SortDirection, SpinnerProps, SplitMethod, SplitMethodSelectorProps, SplitPaneProps, StatusBadgeProps, StatusBadgeStatus, StepStripItem, StepStripProps, SuggestionInputProps, SuggestionOption, SwipableMobileCarouselDotsProps, SwipableMobileCarouselIndicatorProps, SwipableMobileCarouselProps, SwipableMobileCarouselSlideBodyProps, SwipableMobileCarouselSlideFooterProps, SwipableMobileCarouselSlideHeaderProps, SwipableMobileCarouselSlideProps, SwipeDirection, SwipeDirectionMeta, SwipeStackCardProps, SwipeStackProps, SystemBannerProps, TabItem, TableProps, TabsProps, TagInputProps, TextareaProps, ThemePresetName, ThemePresetTokens, ThreeColumnLayoutProps, ToastContextValue, ToastItem, ToggleProps, TooltipProps, TwoFactorAction, TwoFactorFormProps, TwoFactorPanelProps, TwoFactorStart, TypographyProps, TypographyVariant, UpdateNoticeProps, UseCarouselRouteSyncOptions, UseCarouselRouteSyncResult, UseInstallPrompt, UseLongPressOptions, UseReorderSensorsOptions, UseResponsiveLayoutOptions, UseResponsiveLayoutResult, UseSnapCarouselOptions, UseSnapCarouselResult, UseSwipeRevealHandlers, UseSwipeRevealOptions, UseSwipeRevealResult, UseSwipeStackHandlers, UseSwipeStackOptions, UseSwipeStackResult, UserMenuItem, UserMenuProps };