@dxos/react-ui 0.1.41-next.d517c89 → 0.3.3-main.3ce60d4
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/README.md +5 -1
- package/README.yml +1 -0
- package/dist/lib/browser/index.mjs +2096 -2849
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/components/Avatars/Avatar.d.ts +51 -0
- package/dist/types/src/components/Avatars/Avatar.d.ts.map +1 -0
- package/dist/types/src/components/Avatars/Avatar.stories.d.ts +27 -0
- package/dist/types/src/components/Avatars/Avatar.stories.d.ts.map +1 -0
- package/dist/types/src/components/Avatars/AvatarGroup.d.ts +21 -0
- package/dist/types/src/components/Avatars/AvatarGroup.d.ts.map +1 -0
- package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts +9 -0
- package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts.map +1 -0
- package/dist/types/src/components/Avatars/index.d.ts +3 -0
- package/dist/types/src/components/Avatars/index.d.ts.map +1 -0
- package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts +29 -0
- package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts +9 -0
- package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
- package/dist/types/src/components/Breadcrumb/index.d.ts +2 -0
- package/dist/types/src/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/types/src/components/Buttons/Button.d.ts +24 -0
- package/dist/types/src/components/Buttons/Button.d.ts.map +1 -0
- package/dist/types/src/components/Buttons/Button.stories.d.ts +37 -0
- package/dist/types/src/components/Buttons/Button.stories.d.ts.map +1 -0
- package/dist/types/src/components/Buttons/Toggle.d.ts +8 -0
- package/dist/types/src/components/Buttons/Toggle.d.ts.map +1 -0
- package/dist/types/src/components/Buttons/Toggle.stories.d.ts +10 -0
- package/dist/types/src/components/Buttons/Toggle.stories.d.ts.map +1 -0
- package/dist/types/src/components/Buttons/ToggleGroup.d.ts +28 -0
- package/dist/types/src/components/Buttons/ToggleGroup.d.ts.map +1 -0
- package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts +15 -0
- package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts.map +1 -0
- package/dist/types/src/components/Buttons/index.d.ts +4 -0
- package/dist/types/src/components/Buttons/index.d.ts.map +1 -0
- package/dist/types/src/components/Card/Card.d.ts +44 -0
- package/dist/types/src/components/Card/Card.d.ts.map +1 -0
- package/dist/types/src/components/Card/Card.stories.d.ts +49 -0
- package/dist/types/src/components/Card/Card.stories.d.ts.map +1 -0
- package/dist/types/src/components/Card/index.d.ts +2 -0
- package/dist/types/src/components/Card/index.d.ts.map +1 -0
- package/dist/types/src/components/Card/testing.d.ts +9 -0
- package/dist/types/src/components/Card/testing.d.ts.map +1 -0
- package/dist/types/src/components/Center/Center.d.ts +4 -0
- package/dist/types/src/components/Center/Center.d.ts.map +1 -0
- package/dist/types/src/components/Center/Center.stories.d.ts +11 -0
- package/dist/types/src/components/Center/Center.stories.d.ts.map +1 -0
- package/dist/types/src/components/Center/index.d.ts +2 -0
- package/dist/types/src/components/Center/index.d.ts.map +1 -0
- package/dist/types/src/components/ComboBox/ComboBox.d.ts +49 -0
- package/dist/types/src/components/ComboBox/ComboBox.d.ts.map +1 -0
- package/dist/types/src/components/ComboBox/ComboBox.stories.d.ts +25 -0
- package/dist/types/src/components/ComboBox/ComboBox.stories.d.ts.map +1 -0
- package/dist/types/src/components/ComboBox/index.d.ts +2 -0
- package/dist/types/src/components/ComboBox/index.d.ts.map +1 -0
- package/dist/types/src/components/DensityProvider/DensityProvider.d.ts +11 -0
- package/dist/types/src/components/DensityProvider/DensityProvider.d.ts.map +1 -0
- package/dist/types/src/components/DensityProvider/index.d.ts +2 -0
- package/dist/types/src/components/DensityProvider/index.d.ts.map +1 -0
- package/dist/types/src/components/Dialogs/AlertDialog.d.ts +29 -0
- package/dist/types/src/components/Dialogs/AlertDialog.d.ts.map +1 -0
- package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts +23 -0
- package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts.map +1 -0
- package/dist/types/src/components/Dialogs/Dialog.d.ts +27 -0
- package/dist/types/src/components/Dialogs/Dialog.d.ts.map +1 -0
- package/dist/types/src/components/Dialogs/Dialog.stories.d.ts +21 -0
- package/dist/types/src/components/Dialogs/Dialog.stories.d.ts.map +1 -0
- package/dist/types/src/components/Dialogs/index.d.ts +3 -0
- package/dist/types/src/components/Dialogs/index.d.ts.map +1 -0
- package/dist/types/src/components/DropdownMenu/DropdownMenu.d.ts +44 -0
- package/dist/types/src/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/types/src/components/DropdownMenu/DropdownMenu.stories.d.ts +14 -0
- package/dist/types/src/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
- package/dist/types/src/components/DropdownMenu/index.d.ts +2 -0
- package/dist/types/src/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts +11 -0
- package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts.map +1 -0
- package/dist/types/src/components/ElevationProvider/index.d.ts +2 -0
- package/dist/types/src/components/ElevationProvider/index.d.ts.map +1 -0
- package/dist/types/src/components/Input/Input.d.ts +55 -0
- package/dist/types/src/components/Input/Input.d.ts.map +1 -0
- package/dist/types/src/components/Input/Input.stories.d.ts +151 -0
- package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -0
- package/dist/types/src/components/Input/index.d.ts +2 -0
- package/dist/types/src/components/Input/index.d.ts.map +1 -0
- package/dist/types/src/components/Link/Link.d.ts +8 -0
- package/dist/types/src/components/Link/Link.d.ts.map +1 -0
- package/dist/types/src/components/Link/Link.stories.d.ts +10 -0
- package/dist/types/src/components/Link/Link.stories.d.ts.map +1 -0
- package/dist/types/src/components/Link/index.d.ts +2 -0
- package/dist/types/src/components/Link/index.d.ts.map +1 -0
- package/dist/types/src/components/List/List.d.ts +25 -0
- package/dist/types/src/components/List/List.d.ts.map +1 -0
- package/dist/types/src/components/List/List.stories.d.ts +29 -0
- package/dist/types/src/components/List/List.stories.d.ts.map +1 -0
- package/dist/types/src/components/List/Tree.d.ts +21 -0
- package/dist/types/src/components/List/Tree.d.ts.map +1 -0
- package/dist/types/src/components/List/Tree.stories.d.ts +29 -0
- package/dist/types/src/components/List/Tree.stories.d.ts.map +1 -0
- package/dist/types/src/components/List/index.d.ts +3 -0
- package/dist/types/src/components/List/index.d.ts.map +1 -0
- package/dist/types/src/components/Main/Main.d.ts +57 -0
- package/dist/types/src/components/Main/Main.d.ts.map +1 -0
- package/dist/types/src/components/Main/Main.stories.d.ts +11 -0
- package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -0
- package/dist/types/src/components/Main/index.d.ts +2 -0
- package/dist/types/src/components/Main/index.d.ts.map +1 -0
- package/dist/types/src/components/Main/useSwipeToDismiss.d.ts +11 -0
- package/dist/types/src/components/Main/useSwipeToDismiss.d.ts.map +1 -0
- package/dist/types/src/components/Message/Message.d.ts +23 -0
- package/dist/types/src/components/Message/Message.d.ts.map +1 -0
- package/dist/types/src/components/Message/Message.stories.d.ts +19 -0
- package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -0
- package/dist/types/src/components/Message/index.d.ts +2 -0
- package/dist/types/src/components/Message/index.d.ts.map +1 -0
- package/dist/types/src/components/Popover/Popover.d.ts +32 -0
- package/dist/types/src/components/Popover/Popover.d.ts.map +1 -0
- package/dist/types/src/components/Popover/Popover.stories.d.ts +15 -0
- package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/types/src/components/Popover/index.d.ts +2 -0
- package/dist/types/src/components/Popover/index.d.ts.map +1 -0
- package/dist/types/src/components/ProgressBar/ProgressBar.d.ts +7 -0
- package/dist/types/src/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/types/src/components/ProgressBar/ProgressBar.stories.d.ts +12 -0
- package/dist/types/src/components/ProgressBar/ProgressBar.stories.d.ts.map +1 -0
- package/dist/types/src/components/ProgressBar/index.d.ts +2 -0
- package/dist/types/src/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/types/src/components/ScrollArea/ScrollArea.d.ts +27 -0
- package/dist/types/src/components/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +14 -0
- package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -0
- package/dist/types/src/components/ScrollArea/index.d.ts +2 -0
- package/dist/types/src/components/ScrollArea/index.d.ts.map +1 -0
- package/dist/types/src/components/Select/Select.d.ts +60 -0
- package/dist/types/src/components/Select/Select.d.ts.map +1 -0
- package/dist/types/src/components/Select/Select.stories.d.ts +16 -0
- package/dist/types/src/components/Select/Select.stories.d.ts.map +1 -0
- package/dist/types/src/components/Select/index.d.ts +2 -0
- package/dist/types/src/components/Select/index.d.ts.map +1 -0
- package/dist/types/src/components/Separator/Separator.d.ts +7 -0
- package/dist/types/src/components/Separator/Separator.d.ts.map +1 -0
- package/dist/types/src/components/Separator/index.d.ts +2 -0
- package/dist/types/src/components/Separator/index.d.ts.map +1 -0
- package/dist/types/src/components/Tag/Tag.d.ts +10 -0
- package/dist/types/src/components/Tag/Tag.d.ts.map +1 -0
- package/dist/types/src/components/Tag/Tag.stories.d.ts +10 -0
- package/dist/types/src/components/Tag/Tag.stories.d.ts.map +1 -0
- package/dist/types/src/components/Tag/index.d.ts +2 -0
- package/dist/types/src/components/Tag/index.d.ts.map +1 -0
- package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts +16 -0
- package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts +20 -0
- package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts.map +1 -0
- package/dist/types/src/components/ThemeProvider/index.d.ts +2 -0
- package/dist/types/src/components/ThemeProvider/index.d.ts.map +1 -0
- package/dist/types/src/components/Toast/Toast.d.ts +34 -0
- package/dist/types/src/components/Toast/Toast.d.ts.map +1 -0
- package/dist/types/src/components/Toast/Toast.stories.d.ts +34 -0
- package/dist/types/src/components/Toast/Toast.stories.d.ts.map +1 -0
- package/dist/types/src/components/Toast/index.d.ts +2 -0
- package/dist/types/src/components/Toast/index.d.ts.map +1 -0
- package/dist/types/src/components/Toolbar/Toolbar.d.ts +42 -0
- package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts +10 -0
- package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +1 -0
- package/dist/types/src/components/Toolbar/index.d.ts +2 -0
- package/dist/types/src/components/Toolbar/index.d.ts.map +1 -0
- package/dist/types/src/components/Tooltip/Tooltip.d.ts +23 -0
- package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts +19 -0
- package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/types/src/components/Tooltip/index.d.ts +2 -0
- package/dist/types/src/components/Tooltip/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +25 -6
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +6 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -0
- package/dist/types/src/hooks/useDensityContext.d.ts +3 -0
- package/dist/types/src/hooks/useDensityContext.d.ts.map +1 -0
- package/dist/types/src/hooks/useElevationContext.d.ts +3 -0
- package/dist/types/src/hooks/useElevationContext.d.ts.map +1 -0
- package/dist/types/src/hooks/useThemeContext.d.ts +2 -0
- package/dist/types/src/hooks/useThemeContext.d.ts.map +1 -0
- package/dist/types/src/hooks/useTranslationsContext.d.ts +4 -0
- package/dist/types/src/hooks/useTranslationsContext.d.ts.map +1 -0
- package/dist/types/src/hooks/useVisualViewport.d.ts +6 -0
- package/dist/types/src/hooks/useVisualViewport.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +6 -5
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/playground/Controls.stories.d.ts +11 -0
- package/dist/types/src/playground/Controls.stories.d.ts.map +1 -0
- package/dist/types/src/playground/Surfaces.stories.d.ts +9 -0
- package/dist/types/src/playground/Surfaces.stories.d.ts.map +1 -0
- package/dist/types/src/playground/helpers.d.ts +6 -0
- package/dist/types/src/playground/helpers.d.ts.map +1 -0
- package/dist/types/src/util/ThemedClassName.d.ts +5 -0
- package/dist/types/src/util/ThemedClassName.d.ts.map +1 -0
- package/dist/types/src/util/hasIosKeyboard.d.ts +2 -0
- package/dist/types/src/util/hasIosKeyboard.d.ts.map +1 -0
- package/dist/types/src/util/index.d.ts +2 -2
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/package.json +43 -41
- package/src/components/Avatars/Avatar.stories.tsx +104 -0
- package/src/components/Avatars/Avatar.tsx +303 -0
- package/src/components/Avatars/AvatarGroup.stories.tsx +49 -0
- package/src/components/Avatars/AvatarGroup.tsx +111 -0
- package/src/components/Avatars/index.ts +6 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +46 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +116 -0
- package/src/{composites/JoinDialog → components/Breadcrumb}/index.ts +1 -1
- package/src/components/Buttons/Button.stories.tsx +85 -0
- package/src/components/Buttons/Button.tsx +93 -0
- package/src/components/Buttons/Toggle.stories.tsx +28 -0
- package/src/components/Buttons/Toggle.tsx +23 -0
- package/src/components/Buttons/ToggleGroup.stories.tsx +38 -0
- package/src/components/Buttons/ToggleGroup.tsx +41 -0
- package/src/components/Buttons/index.ts +7 -0
- package/src/components/Card/Card.stories.tsx +215 -0
- package/src/components/Card/Card.tsx +114 -0
- package/src/{panels/SpacePanel → components/Card}/index.ts +1 -1
- package/src/components/Card/testing.ts +90 -0
- package/src/components/Center/Center.stories.tsx +18 -0
- package/src/components/Center/Center.tsx +16 -0
- package/src/{layouts/PanelDialog → components/Center}/index.ts +1 -1
- package/src/components/ComboBox/ComboBox.stories.tsx +82 -0
- package/src/components/ComboBox/ComboBox.tsx +218 -0
- package/src/components/ComboBox/index.ts +5 -0
- package/src/components/DensityProvider/DensityProvider.tsx +21 -0
- package/src/components/DensityProvider/index.ts +5 -0
- package/src/components/Dialogs/AlertDialog.stories.tsx +68 -0
- package/src/components/Dialogs/AlertDialog.tsx +157 -0
- package/src/components/Dialogs/Dialog.stories.tsx +52 -0
- package/src/components/Dialogs/Dialog.tsx +143 -0
- package/src/components/Dialogs/index.ts +6 -0
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +102 -0
- package/src/components/DropdownMenu/DropdownMenu.tsx +171 -0
- package/src/{layouts/PanelPopover → components/DropdownMenu}/index.ts +1 -1
- package/src/components/ElevationProvider/ElevationProvider.tsx +21 -0
- package/src/components/ElevationProvider/index.ts +5 -0
- package/src/components/Input/Input.stories.tsx +199 -0
- package/src/components/Input/Input.tsx +369 -0
- package/src/{composites/SpaceDialog → components/Input}/index.ts +1 -1
- package/src/components/Link/Link.stories.tsx +13 -0
- package/src/components/Link/Link.tsx +20 -0
- package/src/components/Link/index.ts +5 -0
- package/src/components/List/List.stories.tsx +184 -0
- package/src/components/List/List.tsx +173 -0
- package/src/components/List/Tree.stories.tsx +80 -0
- package/src/components/List/Tree.tsx +76 -0
- package/src/components/List/index.ts +6 -0
- package/src/components/Main/Main.stories.tsx +52 -0
- package/src/components/Main/Main.tsx +271 -0
- package/src/components/Main/index.ts +5 -0
- package/src/components/Main/useSwipeToDismiss.ts +103 -0
- package/src/components/Message/Message.stories.tsx +39 -0
- package/src/components/Message/Message.tsx +109 -0
- package/src/components/Message/index.ts +5 -0
- package/src/components/Popover/Popover.stories.tsx +38 -0
- package/src/components/Popover/Popover.tsx +123 -0
- package/src/components/Popover/index.ts +5 -0
- package/src/components/ProgressBar/ProgressBar.stories.tsx +33 -0
- package/src/components/ProgressBar/ProgressBar.tsx +29 -0
- package/src/components/ProgressBar/index.ts +5 -0
- package/src/components/ScrollArea/ScrollArea.stories.tsx +43 -0
- package/src/components/ScrollArea/ScrollArea.tsx +105 -0
- package/src/components/ScrollArea/index.ts +5 -0
- package/src/components/Select/Select.stories.tsx +68 -0
- package/src/components/Select/Select.tsx +223 -0
- package/src/components/Select/index.ts +5 -0
- package/src/components/Separator/Separator.tsx +28 -0
- package/src/components/Separator/index.ts +5 -0
- package/src/components/Tag/Tag.stories.tsx +42 -0
- package/src/components/Tag/Tag.tsx +23 -0
- package/src/components/Tag/index.ts +5 -0
- package/src/components/ThemeProvider/ThemeProvider.tsx +76 -0
- package/src/components/ThemeProvider/TranslationsProvider.tsx +63 -0
- package/src/components/ThemeProvider/index.ts +5 -0
- package/src/components/Toast/Toast.stories.tsx +61 -0
- package/src/components/Toast/Toast.tsx +126 -0
- package/src/components/Toast/index.ts +5 -0
- package/src/components/Toolbar/Toolbar.stories.tsx +77 -0
- package/src/components/Toolbar/Toolbar.tsx +99 -0
- package/src/components/Toolbar/index.ts +5 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +41 -0
- package/src/components/Tooltip/Tooltip.tsx +84 -0
- package/src/components/Tooltip/index.ts +5 -0
- package/src/components/index.ts +27 -7
- package/src/hooks/index.ts +9 -0
- package/src/hooks/useDensityContext.ts +14 -0
- package/src/hooks/useElevationContext.ts +14 -0
- package/src/hooks/useThemeContext.ts +9 -0
- package/src/hooks/useTranslationsContext.ts +9 -0
- package/src/hooks/useVisualViewport.ts +24 -0
- package/src/index.ts +8 -6
- package/src/playground/Controls.stories.tsx +90 -0
- package/src/playground/Surfaces.stories.tsx +43 -0
- package/src/playground/helpers.tsx +32 -0
- package/src/util/ThemedClassName.ts +7 -0
- package/src/util/hasIosKeyboard.ts +8 -0
- package/src/util/index.ts +2 -2
- package/dist/lib/browser/chunk-5VRACIDE.mjs +0 -10
- package/dist/lib/browser/chunk-5VRACIDE.mjs.map +0 -7
- package/dist/lib/browser/testing/index.mjs +0 -64
- package/dist/lib/browser/testing/index.mjs.map +0 -7
- package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts +0 -9
- package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts.map +0 -1
- package/dist/types/src/components/Clipboard/CopyButton.d.ts +0 -5
- package/dist/types/src/components/Clipboard/CopyButton.d.ts.map +0 -1
- package/dist/types/src/components/Clipboard/index.d.ts +0 -3
- package/dist/types/src/components/Clipboard/index.d.ts.map +0 -1
- package/dist/types/src/components/IdentityList/DeviceList.d.ts +0 -7
- package/dist/types/src/components/IdentityList/DeviceList.d.ts.map +0 -1
- package/dist/types/src/components/IdentityList/IdentityListItem.d.ts +0 -7
- package/dist/types/src/components/IdentityList/IdentityListItem.d.ts.map +0 -1
- package/dist/types/src/components/IdentityList/IdentityListItem.stories.d.ts +0 -21
- package/dist/types/src/components/IdentityList/IdentityListItem.stories.d.ts.map +0 -1
- package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts +0 -7
- package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts.map +0 -1
- package/dist/types/src/components/IdentityList/SpaceMemberListContainer.d.ts +0 -9
- package/dist/types/src/components/IdentityList/SpaceMemberListContainer.d.ts.map +0 -1
- package/dist/types/src/components/IdentityList/index.d.ts +0 -5
- package/dist/types/src/components/IdentityList/index.d.ts.map +0 -1
- package/dist/types/src/components/InvitationEmoji/InvitationEmoji.d.ts +0 -7
- package/dist/types/src/components/InvitationEmoji/InvitationEmoji.d.ts.map +0 -1
- package/dist/types/src/components/InvitationEmoji/index.d.ts +0 -2
- package/dist/types/src/components/InvitationEmoji/index.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/InvitationList.d.ts +0 -7
- package/dist/types/src/components/InvitationList/InvitationList.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts +0 -10
- package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts +0 -7
- package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/InvitationListItem.d.ts +0 -9
- package/dist/types/src/components/InvitationList/InvitationListItem.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/InvitationListProps.d.ts +0 -4
- package/dist/types/src/components/InvitationList/InvitationListProps.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.d.ts +0 -15
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.stories.d.ts +0 -9
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.stories.d.ts.map +0 -1
- package/dist/types/src/components/InvitationList/index.d.ts +0 -5
- package/dist/types/src/components/InvitationList/index.d.ts.map +0 -1
- package/dist/types/src/components/PanelSeparator/PanelSeparator.d.ts +0 -3
- package/dist/types/src/components/PanelSeparator/PanelSeparator.d.ts.map +0 -1
- package/dist/types/src/components/PanelSeparator/index.d.ts +0 -2
- package/dist/types/src/components/PanelSeparator/index.d.ts.map +0 -1
- package/dist/types/src/components/SpaceList/SpaceListItem.d.ts +0 -7
- package/dist/types/src/components/SpaceList/SpaceListItem.d.ts.map +0 -1
- package/dist/types/src/components/SpaceList/index.d.ts +0 -2
- package/dist/types/src/components/SpaceList/index.d.ts.map +0 -1
- package/dist/types/src/composites/DevicesDialog/DevicesDialog.d.ts +0 -6
- package/dist/types/src/composites/DevicesDialog/DevicesDialog.d.ts.map +0 -1
- package/dist/types/src/composites/DevicesDialog/index.d.ts +0 -2
- package/dist/types/src/composites/DevicesDialog/index.d.ts.map +0 -1
- package/dist/types/src/composites/IdentityPopover/IdentityPopover.d.ts +0 -9
- package/dist/types/src/composites/IdentityPopover/IdentityPopover.d.ts.map +0 -1
- package/dist/types/src/composites/IdentityPopover/index.d.ts +0 -2
- package/dist/types/src/composites/IdentityPopover/index.d.ts.map +0 -1
- package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts +0 -6
- package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts.map +0 -1
- package/dist/types/src/composites/JoinDialog/JoinDialog.stories.d.ts +0 -10
- package/dist/types/src/composites/JoinDialog/JoinDialog.stories.d.ts.map +0 -1
- package/dist/types/src/composites/JoinDialog/index.d.ts +0 -2
- package/dist/types/src/composites/JoinDialog/index.d.ts.map +0 -1
- package/dist/types/src/composites/Shell/Shell.d.ts +0 -6
- package/dist/types/src/composites/Shell/Shell.d.ts.map +0 -1
- package/dist/types/src/composites/Shell/Shell.stories.d.ts +0 -10
- package/dist/types/src/composites/Shell/Shell.stories.d.ts.map +0 -1
- package/dist/types/src/composites/Shell/ShellContext.d.ts +0 -22
- package/dist/types/src/composites/Shell/ShellContext.d.ts.map +0 -1
- package/dist/types/src/composites/Shell/index.d.ts +0 -3
- package/dist/types/src/composites/Shell/index.d.ts.map +0 -1
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts +0 -6
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts.map +0 -1
- package/dist/types/src/composites/SpaceDialog/index.d.ts +0 -2
- package/dist/types/src/composites/SpaceDialog/index.d.ts.map +0 -1
- package/dist/types/src/composites/index.d.ts +0 -5
- package/dist/types/src/composites/index.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelAlertDialog/PanelAlertDialog.d.ts +0 -14
- package/dist/types/src/layouts/PanelAlertDialog/PanelAlertDialog.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelAlertDialog/index.d.ts +0 -2
- package/dist/types/src/layouts/PanelAlertDialog/index.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelDialog/PanelDialog.d.ts +0 -14
- package/dist/types/src/layouts/PanelDialog/PanelDialog.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelDialog/index.d.ts +0 -2
- package/dist/types/src/layouts/PanelDialog/index.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelPopover/PanelPopover.d.ts +0 -11
- package/dist/types/src/layouts/PanelPopover/PanelPopover.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelPopover/index.d.ts +0 -2
- package/dist/types/src/layouts/PanelPopover/index.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelSidebar/PanelSidebar.d.ts +0 -19
- package/dist/types/src/layouts/PanelSidebar/PanelSidebar.d.ts.map +0 -1
- package/dist/types/src/layouts/PanelSidebar/index.d.ts +0 -2
- package/dist/types/src/layouts/PanelSidebar/index.d.ts.map +0 -1
- package/dist/types/src/layouts/index.d.ts +0 -5
- package/dist/types/src/layouts/index.d.ts.map +0 -1
- package/dist/types/src/panels/DevicesPanel/DevicesPanel.d.ts +0 -10
- package/dist/types/src/panels/DevicesPanel/DevicesPanel.d.ts.map +0 -1
- package/dist/types/src/panels/DevicesPanel/index.d.ts +0 -2
- package/dist/types/src/panels/DevicesPanel/index.d.ts.map +0 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts +0 -6
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts.map +0 -1
- package/dist/types/src/panels/IdentityPanel/index.d.ts +0 -2
- package/dist/types/src/panels/IdentityPanel/index.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts +0 -13
- package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts +0 -3
- package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts +0 -54
- package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/index.d.ts +0 -3
- package/dist/types/src/panels/JoinPanel/index.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/joinMachine.d.ts +0 -64
- package/dist/types/src/panels/JoinPanel/joinMachine.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/AdditionMethodSelector.d.ts +0 -4
- package/dist/types/src/panels/JoinPanel/view-states/AdditionMethodSelector.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/IdentityAdded.d.ts +0 -15
- package/dist/types/src/panels/JoinPanel/view-states/IdentityAdded.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/IdentityInput.d.ts +0 -6
- package/dist/types/src/panels/JoinPanel/view-states/IdentityInput.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAccepted.d.ts +0 -10
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAccepted.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAuthenticator.d.ts +0 -7
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAuthenticator.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/InvitationInput.d.ts +0 -6
- package/dist/types/src/panels/JoinPanel/view-states/InvitationInput.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/InvitationRescuer.d.ts +0 -6
- package/dist/types/src/panels/JoinPanel/view-states/InvitationRescuer.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/ViewState.d.ts +0 -10
- package/dist/types/src/panels/JoinPanel/view-states/ViewState.d.ts.map +0 -1
- package/dist/types/src/panels/JoinPanel/view-states/index.d.ts +0 -8
- package/dist/types/src/panels/JoinPanel/view-states/index.d.ts.map +0 -1
- package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts +0 -12
- package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts.map +0 -1
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts +0 -8
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts.map +0 -1
- package/dist/types/src/panels/SpacePanel/index.d.ts +0 -2
- package/dist/types/src/panels/SpacePanel/index.d.ts.map +0 -1
- package/dist/types/src/panels/index.d.ts +0 -5
- package/dist/types/src/panels/index.d.ts.map +0 -1
- package/dist/types/src/playwright/invitations-manager.d.ts +0 -25
- package/dist/types/src/playwright/invitations-manager.d.ts.map +0 -1
- package/dist/types/src/playwright/invitations.spec.d.ts +0 -2
- package/dist/types/src/playwright/invitations.spec.d.ts.map +0 -1
- package/dist/types/src/playwright/playwright.config.d.ts +0 -3
- package/dist/types/src/playwright/playwright.config.d.ts.map +0 -1
- package/dist/types/src/stories/Invitations.stories.d.ts +0 -14
- package/dist/types/src/stories/Invitations.stories.d.ts.map +0 -1
- package/dist/types/src/styles/dialogStyles.d.ts +0 -3
- package/dist/types/src/styles/dialogStyles.d.ts.map +0 -1
- package/dist/types/src/styles/index.d.ts +0 -4
- package/dist/types/src/styles/index.d.ts.map +0 -1
- package/dist/types/src/styles/invitationStatusStyles.d.ts +0 -20
- package/dist/types/src/styles/invitationStatusStyles.d.ts.map +0 -1
- package/dist/types/src/styles/panelStyles.d.ts +0 -4
- package/dist/types/src/styles/panelStyles.d.ts.map +0 -1
- package/dist/types/src/testing/index.d.ts +0 -2
- package/dist/types/src/testing/index.d.ts.map +0 -1
- package/dist/types/src/testing/shell-manager.d.ts +0 -17
- package/dist/types/src/testing/shell-manager.d.ts.map +0 -1
- package/dist/types/src/translations/index.d.ts +0 -5
- package/dist/types/src/translations/index.d.ts.map +0 -1
- package/dist/types/src/translations/locales/en-US.d.ts +0 -66
- package/dist/types/src/translations/locales/en-US.d.ts.map +0 -1
- package/dist/types/src/util/invitationStatusValue.d.ts +0 -8
- package/dist/types/src/util/invitationStatusValue.d.ts.map +0 -1
- package/dist/types/src/util/toEmoji.d.ts +0 -2
- package/dist/types/src/util/toEmoji.d.ts.map +0 -1
- package/src/components/Clipboard/ClipboardProvider.tsx +0 -26
- package/src/components/Clipboard/CopyButton.tsx +0 -38
- package/src/components/Clipboard/index.ts +0 -6
- package/src/components/IdentityList/DeviceList.tsx +0 -31
- package/src/components/IdentityList/IdentityListItem.stories.tsx +0 -23
- package/src/components/IdentityList/IdentityListItem.tsx +0 -48
- package/src/components/IdentityList/SpaceMemberList.tsx +0 -33
- package/src/components/IdentityList/SpaceMemberListContainer.tsx +0 -32
- package/src/components/IdentityList/index.ts +0 -8
- package/src/components/InvitationEmoji/InvitationEmoji.tsx +0 -32
- package/src/components/InvitationEmoji/index.ts +0 -5
- package/src/components/InvitationList/InvitationList.stories.tsx +0 -65
- package/src/components/InvitationList/InvitationList.tsx +0 -33
- package/src/components/InvitationList/InvitationListContainer.tsx +0 -27
- package/src/components/InvitationList/InvitationListItem.tsx +0 -91
- package/src/components/InvitationList/InvitationListProps.ts +0 -7
- package/src/components/InvitationList/InvitationStatusAvatar.stories.tsx +0 -52
- package/src/components/InvitationList/InvitationStatusAvatar.tsx +0 -91
- package/src/components/InvitationList/index.ts +0 -8
- package/src/components/PanelSeparator/PanelSeparator.tsx +0 -17
- package/src/components/PanelSeparator/index.ts +0 -5
- package/src/components/SpaceList/SpaceListItem.tsx +0 -32
- package/src/components/SpaceList/index.ts +0 -5
- package/src/composites/DevicesDialog/DevicesDialog.tsx +0 -39
- package/src/composites/DevicesDialog/index.ts +0 -5
- package/src/composites/IdentityPopover/IdentityPopover.tsx +0 -54
- package/src/composites/IdentityPopover/index.ts +0 -5
- package/src/composites/JoinDialog/JoinDialog.stories.tsx +0 -74
- package/src/composites/JoinDialog/JoinDialog.tsx +0 -35
- package/src/composites/Shell/Shell.stories.tsx +0 -93
- package/src/composites/Shell/Shell.tsx +0 -100
- package/src/composites/Shell/ShellContext.tsx +0 -178
- package/src/composites/Shell/index.ts +0 -6
- package/src/composites/SpaceDialog/SpaceDialog.tsx +0 -39
- package/src/composites/index.ts +0 -8
- package/src/layouts/PanelAlertDialog/PanelAlertDialog.tsx +0 -40
- package/src/layouts/PanelAlertDialog/index.ts +0 -5
- package/src/layouts/PanelDialog/PanelDialog.tsx +0 -41
- package/src/layouts/PanelPopover/PanelPopover.tsx +0 -40
- package/src/layouts/PanelSidebar/PanelSidebar.tsx +0 -124
- package/src/layouts/PanelSidebar/index.ts +0 -5
- package/src/layouts/index.ts +0 -8
- package/src/panels/DevicesPanel/DevicesPanel.tsx +0 -113
- package/src/panels/DevicesPanel/index.ts +0 -5
- package/src/panels/IdentityPanel/IdentityPanel.tsx +0 -43
- package/src/panels/IdentityPanel/index.ts +0 -5
- package/src/panels/JoinPanel/JoinHeading.tsx +0 -73
- package/src/panels/JoinPanel/JoinPanel.tsx +0 -247
- package/src/panels/JoinPanel/JoinPanelProps.ts +0 -90
- package/src/panels/JoinPanel/index.ts +0 -6
- package/src/panels/JoinPanel/joinMachine.ts +0 -444
- package/src/panels/JoinPanel/view-states/AdditionMethodSelector.tsx +0 -63
- package/src/panels/JoinPanel/view-states/IdentityAdded.tsx +0 -99
- package/src/panels/JoinPanel/view-states/IdentityInput.tsx +0 -81
- package/src/panels/JoinPanel/view-states/InvitationAccepted.tsx +0 -74
- package/src/panels/JoinPanel/view-states/InvitationAuthenticator.tsx +0 -152
- package/src/panels/JoinPanel/view-states/InvitationInput.tsx +0 -75
- package/src/panels/JoinPanel/view-states/InvitationRescuer.tsx +0 -115
- package/src/panels/JoinPanel/view-states/ViewState.tsx +0 -153
- package/src/panels/JoinPanel/view-states/index.ts +0 -11
- package/src/panels/SpacePanel/SpacePanel.stories.tsx +0 -15
- package/src/panels/SpacePanel/SpacePanel.tsx +0 -105
- package/src/panels/index.ts +0 -8
- package/src/playwright/invitations-manager.ts +0 -165
- package/src/playwright/invitations.spec.ts +0 -393
- package/src/playwright/playwright.config.ts +0 -7
- package/src/stories/Invitations.stories.tsx +0 -187
- package/src/styles/dialogStyles.ts +0 -8
- package/src/styles/index.ts +0 -7
- package/src/styles/invitationStatusStyles.ts +0 -42
- package/src/styles/panelStyles.ts +0 -7
- package/src/testing/index.ts +0 -5
- package/src/testing/shell-manager.ts +0 -79
- package/src/translations/index.ts +0 -7
- package/src/translations/locales/en-US.ts +0 -69
- package/src/util/invitationStatusValue.ts +0 -22
- package/src/util/toEmoji.ts +0 -22
- package/theme-extensions.js +0 -11
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import '@dxosTheme';
|
|
6
|
+
|
|
7
|
+
import React, { type PropsWithChildren } from 'react';
|
|
8
|
+
|
|
9
|
+
import { baseSurface, chromeSurface, groupSurface, mx, surfaceElevation } from '@dxos/react-ui-theme';
|
|
10
|
+
|
|
11
|
+
const Surface = ({ children, level }: PropsWithChildren & { level: 'base' | 'group' | 'chrome' }) => {
|
|
12
|
+
const surface =
|
|
13
|
+
level === 'chrome'
|
|
14
|
+
? [chromeSurface, surfaceElevation({ elevation: 'chrome' })]
|
|
15
|
+
: level === 'group'
|
|
16
|
+
? [groupSurface, surfaceElevation({ elevation: 'group' })]
|
|
17
|
+
: [baseSurface];
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<div role='region' className={mx('flex m-8 p-2 w-[320px] h-[160px] rounded-lg', ...surface)}>
|
|
21
|
+
<div>{level}</div>
|
|
22
|
+
{children}
|
|
23
|
+
</div>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const SurfacesStory = () => {
|
|
28
|
+
return (
|
|
29
|
+
<>
|
|
30
|
+
<Surface level='base' />
|
|
31
|
+
<Surface level='group' />
|
|
32
|
+
<Surface level='chrome' />
|
|
33
|
+
</>
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default {
|
|
38
|
+
component: SurfacesStory,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const Default = {
|
|
42
|
+
args: {},
|
|
43
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import '@dxosTheme';
|
|
6
|
+
|
|
7
|
+
import React, { type FunctionComponent } from 'react';
|
|
8
|
+
|
|
9
|
+
import { type Density } from '@dxos/react-ui-types';
|
|
10
|
+
|
|
11
|
+
import { DensityProvider, ElevationProvider } from '../components';
|
|
12
|
+
|
|
13
|
+
// TODO(burdon): Grid: density, variant (context?), elevation.
|
|
14
|
+
export const createScenarios =
|
|
15
|
+
(Component: FunctionComponent<any>) =>
|
|
16
|
+
({ ...props }) => {
|
|
17
|
+
const densities: Density[] = ['coarse', 'fine'];
|
|
18
|
+
return (
|
|
19
|
+
<div className='flex flex-col space-y-8'>
|
|
20
|
+
{densities.map((density) => (
|
|
21
|
+
<div key={density}>
|
|
22
|
+
<ElevationProvider elevation='chrome'>
|
|
23
|
+
<DensityProvider density={density}>
|
|
24
|
+
<label className='p-2 text-xs'>{density}</label>
|
|
25
|
+
<Component {...props} />
|
|
26
|
+
</DensityProvider>
|
|
27
|
+
</ElevationProvider>
|
|
28
|
+
</div>
|
|
29
|
+
))}
|
|
30
|
+
</div>
|
|
31
|
+
);
|
|
32
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
export const hasIosKeyboard = () => {
|
|
6
|
+
// TODO(thure): UA sniffing is never good, however I haven’t found a better way to query for whether the on-screen keyboard will appear on `focus` outside of a click handler.
|
|
7
|
+
return !!navigator.userAgent.match(/iP(ad|od|hone).+Safari/);
|
|
8
|
+
};
|
package/src/util/index.ts
CHANGED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import "../chunk-5VRACIDE.mjs";
|
|
2
|
-
|
|
3
|
-
// packages/apps/patterns/react-ui/src/testing/shell-manager.ts
|
|
4
|
-
var ShellManager = class {
|
|
5
|
-
authenticatorIsVisible(type, scope) {
|
|
6
|
-
return (scope || this.page).getByTestId(`${type === "device" ? "halo" : "space"}-auth-code-input`).isVisible();
|
|
7
|
-
}
|
|
8
|
-
async invitationFailed(scope, timeout = 3e3) {
|
|
9
|
-
const peer = scope || this.page;
|
|
10
|
-
try {
|
|
11
|
-
await peer.locator("[data-testid=invitation-rescuer-reset]:not([disabled])").waitFor({
|
|
12
|
-
timeout
|
|
13
|
-
});
|
|
14
|
-
return true;
|
|
15
|
-
} catch (e) {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
async inputInvitation(type, invitation, scope) {
|
|
20
|
-
await (scope || this.page).getByTestId(`${type === "device" ? "halo" : "space"}-invitation-input`).type(invitation);
|
|
21
|
-
await this.page.keyboard.press("Enter");
|
|
22
|
-
}
|
|
23
|
-
async invitationInputContinue(type, scope) {
|
|
24
|
-
await (scope || this.page).getByTestId(`${type === "device" ? "halo" : "space"}-invitation-input-continue`).click();
|
|
25
|
-
}
|
|
26
|
-
async cancelInvitation(type, kind, scope) {
|
|
27
|
-
if (kind === "guest") {
|
|
28
|
-
await (scope || this.page).getByTestId(`${type === "device" ? "halo" : "space"}-invitation-authenticator-cancel`).click();
|
|
29
|
-
} else {
|
|
30
|
-
await (scope || this.page).getByTestId("cancel-invitation").nth(0).click();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
async readyToAuthenticate(type, scope, timeout = 3e3) {
|
|
34
|
-
const peer = scope || this.page;
|
|
35
|
-
try {
|
|
36
|
-
await peer.locator(`[data-testid=${type === "device" ? "halo" : "space"}-auth-code-input]:not([disabled])`).waitFor({
|
|
37
|
-
timeout
|
|
38
|
-
});
|
|
39
|
-
return true;
|
|
40
|
-
} catch (e) {
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
async authenticateInvitation(type, authCode, scope) {
|
|
45
|
-
const peer = scope || this.page;
|
|
46
|
-
await peer.getByTestId(`${type === "device" ? "halo" : "space"}-auth-code-input`).type(authCode);
|
|
47
|
-
await peer.getByTestId(`${type === "device" ? "halo" : "space"}-invitation-authenticator-next`).click();
|
|
48
|
-
}
|
|
49
|
-
async clearAuthCode(type, scope) {
|
|
50
|
-
const peer = scope || this.page;
|
|
51
|
-
await peer.getByTestId(`${type === "device" ? "halo" : "space"}-auth-code-input`).fill("");
|
|
52
|
-
await peer.getByTestId(`${type === "device" ? "halo" : "space"}-auth-code-input`).focus();
|
|
53
|
-
}
|
|
54
|
-
async resetInvitation(scope) {
|
|
55
|
-
await (scope || this.page).getByTestId("invitation-rescuer-reset").click();
|
|
56
|
-
}
|
|
57
|
-
async doneInvitation(type, scope) {
|
|
58
|
-
await (scope || this.page).getByTestId(type === "device" ? "halo-invitation-accepted-done" : "space-invitation-accepted-done").click();
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
export {
|
|
62
|
-
ShellManager
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/testing/shell-manager.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport type { Locator, Page, FrameLocator } from 'playwright';\n\ntype Scope = Locator | FrameLocator | Page;\n\nexport class ShellManager {\n page!: Page;\n\n authenticatorIsVisible(type: 'device' | 'space', scope?: Scope) {\n return (scope || this.page).getByTestId(`${type === 'device' ? 'halo' : 'space'}-auth-code-input`).isVisible();\n }\n\n async invitationFailed(scope?: Scope, timeout = 3000) {\n const peer = scope || this.page;\n try {\n await peer.locator('[data-testid=invitation-rescuer-reset]:not([disabled])').waitFor({ timeout });\n return true;\n } catch {\n return false;\n }\n }\n\n async inputInvitation(type: 'device' | 'space', invitation: string, scope?: Scope) {\n await (scope || this.page).getByTestId(`${type === 'device' ? 'halo' : 'space'}-invitation-input`).type(invitation);\n await this.page.keyboard.press('Enter');\n }\n\n async invitationInputContinue(type: 'device' | 'space', scope?: Scope) {\n await (scope || this.page).getByTestId(`${type === 'device' ? 'halo' : 'space'}-invitation-input-continue`).click();\n }\n\n async cancelInvitation(type: 'device' | 'space', kind: 'host' | 'guest', scope?: Scope) {\n if (kind === 'guest') {\n await (scope || this.page)\n .getByTestId(`${type === 'device' ? 'halo' : 'space'}-invitation-authenticator-cancel`)\n .click();\n } else {\n await (scope || this.page).getByTestId('cancel-invitation').nth(0).click();\n }\n }\n\n async readyToAuthenticate(type: 'device' | 'space', scope?: Scope, timeout = 3000) {\n const peer = scope || this.page;\n try {\n await peer\n .locator(`[data-testid=${type === 'device' ? 'halo' : 'space'}-auth-code-input]:not([disabled])`)\n .waitFor({ timeout });\n return true;\n } catch {\n return false;\n }\n }\n\n async authenticateInvitation(type: 'device' | 'space', authCode: string, scope?: Scope) {\n const peer = scope || this.page;\n // TODO(wittjosiah): Update ids.\n await peer.getByTestId(`${type === 'device' ? 'halo' : 'space'}-auth-code-input`).type(authCode);\n await peer.getByTestId(`${type === 'device' ? 'halo' : 'space'}-invitation-authenticator-next`).click();\n }\n\n async clearAuthCode(type: 'device' | 'space', scope?: Scope) {\n const peer = scope || this.page;\n await peer.getByTestId(`${type === 'device' ? 'halo' : 'space'}-auth-code-input`).fill('');\n await peer.getByTestId(`${type === 'device' ? 'halo' : 'space'}-auth-code-input`).focus();\n }\n\n async resetInvitation(scope?: Scope) {\n await (scope || this.page).getByTestId('invitation-rescuer-reset').click();\n }\n\n async doneInvitation(type: 'device' | 'space', scope?: Scope) {\n await (scope || this.page)\n .getByTestId(type === 'device' ? 'halo-invitation-accepted-done' : 'space-invitation-accepted-done')\n .click();\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;AAQO,IAAMA,eAAN,MAAMA;EAGXC,uBAAuBC,MAA0BC,OAAe;AAC9D,YAAQA,SAAS,KAAKC,MAAMC,YAAY,GAAGH,SAAS,WAAW,SAAS,yBAAyB,EAAEI,UAAS;EAC9G;EAEA,MAAMC,iBAAiBJ,OAAeK,UAAU,KAAM;AACpD,UAAMC,OAAON,SAAS,KAAKC;AAC3B,QAAI;AACF,YAAMK,KAAKC,QAAQ,wDAAA,EAA0DC,QAAQ;QAAEH;MAAQ,CAAA;AAC/F,aAAO;IACT,SAAQ,GAAN;AACA,aAAO;IACT;EACF;EAEA,MAAMI,gBAAgBV,MAA0BW,YAAoBV,OAAe;AACjF,WAAOA,SAAS,KAAKC,MAAMC,YAAY,GAAGH,SAAS,WAAW,SAAS,0BAA0B,EAAEA,KAAKW,UAAAA;AACxG,UAAM,KAAKT,KAAKU,SAASC,MAAM,OAAA;EACjC;EAEA,MAAMC,wBAAwBd,MAA0BC,OAAe;AACrE,WAAOA,SAAS,KAAKC,MAAMC,YAAY,GAAGH,SAAS,WAAW,SAAS,mCAAmC,EAAEe,MAAK;EACnH;EAEA,MAAMC,iBAAiBhB,MAA0BiB,MAAwBhB,OAAe;AACtF,QAAIgB,SAAS,SAAS;AACpB,aAAOhB,SAAS,KAAKC,MAClBC,YAAY,GAAGH,SAAS,WAAW,SAAS,yCAAyC,EACrFe,MAAK;IACV,OAAO;AACL,aAAOd,SAAS,KAAKC,MAAMC,YAAY,mBAAA,EAAqBe,IAAI,CAAA,EAAGH,MAAK;IAC1E;EACF;EAEA,MAAMI,oBAAoBnB,MAA0BC,OAAeK,UAAU,KAAM;AACjF,UAAMC,OAAON,SAAS,KAAKC;AAC3B,QAAI;AACF,YAAMK,KACHC,QAAQ,gBAAgBR,SAAS,WAAW,SAAS,0CAA0C,EAC/FS,QAAQ;QAAEH;MAAQ,CAAA;AACrB,aAAO;IACT,SAAQ,GAAN;AACA,aAAO;IACT;EACF;EAEA,MAAMc,uBAAuBpB,MAA0BqB,UAAkBpB,OAAe;AACtF,UAAMM,OAAON,SAAS,KAAKC;AAE3B,UAAMK,KAAKJ,YAAY,GAAGH,SAAS,WAAW,SAAS,yBAAyB,EAAEA,KAAKqB,QAAAA;AACvF,UAAMd,KAAKJ,YAAY,GAAGH,SAAS,WAAW,SAAS,uCAAuC,EAAEe,MAAK;EACvG;EAEA,MAAMO,cAActB,MAA0BC,OAAe;AAC3D,UAAMM,OAAON,SAAS,KAAKC;AAC3B,UAAMK,KAAKJ,YAAY,GAAGH,SAAS,WAAW,SAAS,yBAAyB,EAAEuB,KAAK,EAAA;AACvF,UAAMhB,KAAKJ,YAAY,GAAGH,SAAS,WAAW,SAAS,yBAAyB,EAAEwB,MAAK;EACzF;EAEA,MAAMC,gBAAgBxB,OAAe;AACnC,WAAOA,SAAS,KAAKC,MAAMC,YAAY,0BAAA,EAA4BY,MAAK;EAC1E;EAEA,MAAMW,eAAe1B,MAA0BC,OAAe;AAC5D,WAAOA,SAAS,KAAKC,MAClBC,YAAYH,SAAS,WAAW,kCAAkC,gCAAgC,EAClGe,MAAK;EACV;AACF;",
|
|
6
|
-
"names": ["ShellManager", "authenticatorIsVisible", "type", "scope", "page", "getByTestId", "isVisible", "invitationFailed", "timeout", "peer", "locator", "waitFor", "inputInvitation", "invitation", "keyboard", "press", "invitationInputContinue", "click", "cancelInvitation", "kind", "nth", "readyToAuthenticate", "authenticateInvitation", "authCode", "clearAuthCode", "fill", "focus", "resetInvitation", "doneInvitation"]
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
export declare type ClipboardContextValue = {
|
|
3
|
-
textValue: string;
|
|
4
|
-
setTextValue: (nextValue: string) => Promise<void>;
|
|
5
|
-
};
|
|
6
|
-
export declare const ClipboardContext: React.Context<ClipboardContextValue>;
|
|
7
|
-
export declare const useClipboardContext: () => ClipboardContextValue;
|
|
8
|
-
export declare const ClipboardProvider: ({ children }: PropsWithChildren<{}>) => JSX.Element;
|
|
9
|
-
//# sourceMappingURL=ClipboardProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClipboardProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/ClipboardProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAqC,MAAM,OAAO,CAAC;AAEnG,oBAAY,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,sCAG3B,CAAC;AAEH,eAAO,MAAM,mBAAmB,6BAAqC,CAAC;AAEtE,eAAO,MAAM,iBAAiB,iBAAkB,kBAAkB,EAAE,CAAC,gBAOpE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/CopyButton.tsx"],"names":[],"mappings":"AAWA,oBAAY,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAIF,eAAO,MAAM,UAAU,cAAe,eAAe,gBAoBpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Clipboard/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Device } from '@dxos/protocols/proto/dxos/client/services';
|
|
2
|
-
export interface DeviceListProps {
|
|
3
|
-
devices: Device[];
|
|
4
|
-
onSelect?: (device: Device) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const DeviceList: ({ devices, onSelect }: DeviceListProps) => JSX.Element;
|
|
7
|
-
//# sourceMappingURL=DeviceList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceList.d.ts","sourceRoot":"","sources":["../../../../../src/components/IdentityList/DeviceList.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAIpE,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,eAAO,MAAM,UAAU,0BAA2B,eAAe,gBAehE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Identity, SpaceMember } from '@dxos/client';
|
|
2
|
-
export declare const IdentityListItem: ({ identity, presence, onClick }: {
|
|
3
|
-
identity: Identity;
|
|
4
|
-
presence?: SpaceMember.PresenceState | undefined;
|
|
5
|
-
onClick?: (() => void) | undefined;
|
|
6
|
-
}) => JSX.Element;
|
|
7
|
-
//# sourceMappingURL=IdentityListItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/IdentityList/IdentityListItem.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGrD,eAAO,MAAM,gBAAgB;cAKjB,QAAQ;;qBAEF,IAAI;iBAgCrB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import '@dxosTheme';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: ({ identity, presence, onClick }: {
|
|
4
|
-
identity: import("@dxos/client").Identity;
|
|
5
|
-
presence?: import("@dxos/client").SpaceMember.PresenceState | undefined;
|
|
6
|
-
onClick?: (() => void) | undefined;
|
|
7
|
-
}) => JSX.Element;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const Default: {
|
|
11
|
-
args: {
|
|
12
|
-
identity: {
|
|
13
|
-
identityKey: {
|
|
14
|
-
toHex: () => string;
|
|
15
|
-
truncate: () => string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
presence: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=IdentityListItem.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityListItem.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/IdentityList/IdentityListItem.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;;;;;;;;AAIpB,wBAEE;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SpaceMember } from '@dxos/client';
|
|
2
|
-
export interface SpaceMemberListProps {
|
|
3
|
-
members: SpaceMember[];
|
|
4
|
-
onSelect?: (member: SpaceMember) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const SpaceMemberList: ({ members, onSelect }: SpaceMemberListProps) => JSX.Element;
|
|
7
|
-
//# sourceMappingURL=SpaceMemberList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceMemberList.d.ts","sourceRoot":"","sources":["../../../../../src/components/IdentityList/SpaceMemberList.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAIhD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,eAAe,0BAA2B,oBAAoB,gBAiB1E,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PublicKey } from '@dxos/keys';
|
|
2
|
-
import { SpaceMember } from '@dxos/react-client';
|
|
3
|
-
export interface SpaceMemberListContainerProps {
|
|
4
|
-
spaceKey: PublicKey;
|
|
5
|
-
includeSelf?: boolean;
|
|
6
|
-
onSelect?: (member: SpaceMember) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const SpaceMemberListContainer: ({ spaceKey, includeSelf, onSelect }: SpaceMemberListContainerProps) => JSX.Element;
|
|
9
|
-
//# sourceMappingURL=SpaceMemberListContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceMemberListContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/IdentityList/SpaceMemberListContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,WAAW,EAAyB,MAAM,oBAAoB,CAAC;AAIxE,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,wBAAwB,wCAAyC,6BAA6B,gBAe1G,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/IdentityList/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export declare type InvitationEmojiProps = {
|
|
3
|
-
invitationId?: string;
|
|
4
|
-
size?: 'lg' | 'sm';
|
|
5
|
-
} & ComponentPropsWithoutRef<'div'>;
|
|
6
|
-
export declare const InvitationEmoji: ({ invitationId, size, ...rootProps }: InvitationEmojiProps) => JSX.Element;
|
|
7
|
-
//# sourceMappingURL=InvitationEmoji.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationEmoji.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationEmoji/InvitationEmoji.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAMxD,oBAAY,oBAAoB,GAAG;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,eAAe,yCAAiD,oBAAoB,gBAgBhG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationEmoji/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CancellableInvitationObservable } from '@dxos/client';
|
|
2
|
-
import { InvitationListItemProps } from './InvitationListItem';
|
|
3
|
-
export interface InvitationListProps extends Omit<InvitationListItemProps, 'invitation' | 'value'> {
|
|
4
|
-
invitations: CancellableInvitationObservable[];
|
|
5
|
-
}
|
|
6
|
-
export declare const InvitationList: ({ invitations, ...invitationProps }: InvitationListProps) => JSX.Element;
|
|
7
|
-
//# sourceMappingURL=InvitationList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationList.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/InvitationList.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAIpE,OAAO,EAAsB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,uBAAuB,EAAE,YAAY,GAAG,OAAO,CAAC;IAChG,WAAW,EAAE,+BAA+B,EAAE,CAAC;CAChD;AAED,eAAO,MAAM,cAAc,wCAAyC,mBAAmB,gBAgBtF,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import '@dxosTheme';
|
|
2
|
-
import { StoryFn } from '@storybook/react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
component: ({ invitations, ...invitationProps }: import("./InvitationList").InvitationListProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
decorators: ((Story: StoryFn) => JSX.Element)[];
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=InvitationList.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationList.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/InvitationList.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;;;;AAa3C,wBAEE;AAEF,eAAO,MAAM,OAAO;yBAER,OAAO;CAuClB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PublicKey } from '@dxos/keys';
|
|
2
|
-
import { SharedInvitationListProps } from './InvitationListProps';
|
|
3
|
-
export interface InvitationListContainerProps extends SharedInvitationListProps {
|
|
4
|
-
spaceKey: PublicKey;
|
|
5
|
-
}
|
|
6
|
-
export declare const InvitationListContainer: ({ spaceKey, createInvitationUrl }: InvitationListContainerProps) => JSX.Element;
|
|
7
|
-
//# sourceMappingURL=InvitationListContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationListContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/InvitationListContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAElE,MAAM,WAAW,4BAA6B,SAAQ,yBAAyB;IAC7E,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,uBAAuB,sCAAuC,4BAA4B,gBAUtG,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CancellableInvitationObservable } from '@dxos/client';
|
|
2
|
-
import { SharedInvitationListProps } from './InvitationListProps';
|
|
3
|
-
export interface InvitationListItemProps extends SharedInvitationListProps {
|
|
4
|
-
invitation: CancellableInvitationObservable;
|
|
5
|
-
value: string;
|
|
6
|
-
onClickRemove: (invitation: CancellableInvitationObservable) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const InvitationListItem: ({ invitation, value, onClickRemove, createInvitationUrl }: InvitationListItemProps) => JSX.Element;
|
|
9
|
-
//# sourceMappingURL=InvitationListItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/InvitationListItem.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAM/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAGlE,MAAM,WAAW,uBAAwB,SAAQ,yBAAyB;IACxE,UAAU,EAAE,+BAA+B,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,UAAU,EAAE,+BAA+B,KAAK,IAAI,CAAC;CACtE;AAED,eAAO,MAAM,kBAAkB,8DAK5B,uBAAuB,gBA8DzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationListProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/InvitationListProps.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,yBAAyB;IACxC,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;CACzD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { Invitation } from '@dxos/client';
|
|
3
|
-
import { Size } from '@dxos/react-components';
|
|
4
|
-
export interface InvitationStatusAvatarSlots {
|
|
5
|
-
svg?: ComponentPropsWithoutRef<'svg'>;
|
|
6
|
-
}
|
|
7
|
-
export interface InvitationStatusAvatarProps {
|
|
8
|
-
size?: Size;
|
|
9
|
-
status: Invitation.State;
|
|
10
|
-
haltedAt?: Invitation.State;
|
|
11
|
-
slots?: InvitationStatusAvatarSlots;
|
|
12
|
-
invitationId?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const InvitationStatusAvatar: ({ size, status, haltedAt, slots, invitationId }: InvitationStatusAvatarProps) => JSX.Element;
|
|
15
|
-
//# sourceMappingURL=InvitationStatusAvatar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationStatusAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/InvitationStatusAvatar.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAe,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAM3D,MAAM,WAAW,2BAA2B;IAC1C,GAAG,CAAC,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC;IACzB,QAAQ,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC;IAC5B,KAAK,CAAC,EAAE,2BAA2B,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAqBD,eAAO,MAAM,sBAAsB,oDAMhC,2BAA2B,gBAwC7B,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { StoryFn } from '@storybook/react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: ({ size, status, haltedAt, slots, invitationId }: import("./InvitationStatusAvatar").InvitationStatusAvatarProps) => JSX.Element;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Default: {
|
|
7
|
-
decorators: ((Story: StoryFn) => JSX.Element)[];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=InvitationStatusAvatar.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationStatusAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/InvitationStatusAvatar.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;;;;AAsB3C,wBAEE;AAEF,eAAO,MAAM,OAAO;yBAER,OAAO;CAoBlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/InvitationList/index.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelSeparator.d.ts","sourceRoot":"","sources":["../../../../../src/components/PanelSeparator/PanelSeparator.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,cAAc,4BAA6B,eAAe,MAAM,CAAC,gBAQ7E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PanelSeparator/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Space } from '@dxos/client';
|
|
3
|
-
export declare const SpaceListItem: React.ForwardRefExoticComponent<{
|
|
4
|
-
space: Space;
|
|
5
|
-
onClick?: (() => void) | undefined;
|
|
6
|
-
} & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
-
//# sourceMappingURL=SpaceListItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceList/SpaceListItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAExD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAI1C,eAAO,MAAM,aAAa;WACM,KAAK;qBAAkB,IAAI;uCAoB1D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceList/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PanelDialogProps } from '../../layouts';
|
|
2
|
-
import { DevicesPanelProps } from '../../panels';
|
|
3
|
-
export interface DevicesDialogProps extends Omit<PanelDialogProps, 'titleId' | 'children'>, Omit<DevicesPanelProps, 'doneActionParent'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const DevicesDialog: ({ slots, ...devicesDialogProps }: DevicesDialogProps) => JSX.Element;
|
|
6
|
-
//# sourceMappingURL=DevicesDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DevicesDialog.d.ts","sourceRoot":"","sources":["../../../../../src/composites/DevicesDialog/DevicesDialog.tsx"],"names":[],"mappings":"AASA,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAgB,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAE/D,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,UAAU,CAAC,EACpD,IAAI,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;CAAG;AAElD,eAAO,MAAM,aAAa,qCAAsC,kBAAkB,gBAsBjF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/composites/DevicesDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import { Identity } from '@dxos/client';
|
|
3
|
-
import { PanelPopover } from '../../layouts';
|
|
4
|
-
export interface IdentityPopoverProps extends Partial<ComponentProps<typeof PanelPopover>> {
|
|
5
|
-
identity: Identity;
|
|
6
|
-
onClickManageProfile?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const IdentityPopover: ({ identity, openTrigger, slots, triggerIsInToolbar, onClickManageProfile, ...popoverProps }: IdentityPopoverProps) => JSX.Element;
|
|
9
|
-
//# sourceMappingURL=IdentityPopover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityPopover.d.ts","sourceRoot":"","sources":["../../../../../src/composites/IdentityPopover/IdentityPopover.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;IACxF,QAAQ,EAAE,QAAQ,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,eAAe,gGAOzB,oBAAoB,gBA6BtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/composites/IdentityPopover/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PanelAlertDialogProps } from '../../layouts';
|
|
2
|
-
import { JoinPanelProps } from '../../panels';
|
|
3
|
-
export interface JoinDialogProps extends Omit<PanelAlertDialogProps, 'titleId' | 'children'>, Omit<JoinPanelProps, 'exitActionParent' | 'doneActionParent'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const JoinDialog: ({ slots, ...joinPanelProps }: JoinDialogProps) => JSX.Element;
|
|
6
|
-
//# sourceMappingURL=JoinDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JoinDialog.d.ts","sourceRoot":"","sources":["../../../../../src/composites/JoinDialog/JoinDialog.tsx"],"names":[],"mappings":"AASA,OAAO,EAAoB,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,qBAAqB,EAAE,SAAS,GAAG,UAAU,CAAC,EACzD,IAAI,CAAC,cAAc,EAAE,kBAAkB,GAAG,kBAAkB,CAAC;CAAG;AAEpE,eAAO,MAAM,UAAU,iCAAkC,eAAe,gBAkBvE,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import '@dxosTheme';
|
|
2
|
-
import { StoryContext, StoryFn } from '@storybook/react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
component: ({ slots, ...joinPanelProps }: import("./JoinDialog").JoinDialogProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
decorators: ((Story: StoryFn, { args }: StoryContext) => JSX.Element)[];
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=JoinDialog.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JoinDialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/composites/JoinDialog/JoinDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;;;;AAYzD,wBAEE;AAmDF,eAAO,MAAM,OAAO;yBAjDgB,OAAO,YAAY,YAAY;CAmDlE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/composites/JoinDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Shell.d.ts","sourceRoot":"","sources":["../../../../../src/composites/Shell/Shell.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AASrD,eAAO,MAAM,KAAK;aAAoC,YAAY;YAAU,MAAM;wBAoFjF,CAAC"}
|