From 94cf406c004ce5b82ecbe6eec8b45a50d556d0c5 Mon Sep 17 00:00:00 2001 From: Alexandre Anicio Date: Fri, 7 Feb 2025 15:22:46 -0300 Subject: [PATCH 1/4] BA-2192: move native features into packages --- .scripts/copy-dts.js | 41 + packages/authentication/CHANGELOG.md | 7 + packages/authentication/package.json | 2 +- packages/components/.eslintrc.js | 2 +- packages/components/.gitignore | 6 +- .../.storybook/__mocks__/navigation.tsx | 7 +- .../components/.storybook/__mocks__/theme.ts | 10 +- .../.storybook/decorators/withProviders.tsx | 5 +- packages/components/CHANGELOG.md | 16 + packages/components/README.md | 60 +- .../ActivityLogsFragment.graphql.ts | 257 - .../ActivityLogsPaginationQuery.graphql.ts | 258 - .../ActivityLogsQuery.graphql.ts | 255 - .../AddProfilePopoverUserQuery.graphql.ts | 92 - .../AllProfilesListFragment.graphql.ts | 204 - .../AllProfilesListPaginationQuery.graphql.ts | 276 - .../ArchiveChatRoomMutation.graphql.ts | 151 - .../BlockToggleFragment.graphql.ts | 66 - .../BlockToggleMutation.graphql.ts | 234 - .../ChangeUserRoleMutation.graphql.ts | 160 - ...RoomMessagesListPaginationQuery.graphql.ts | 385 -- ...RoomParticipantsPaginationQuery.graphql.ts | 312 - .../__generated__/ChatRoomQuery.graphql.ts | 469 -- .../__generated__/ChatRoomsQuery.graphql.ts | 509 -- .../CommentCreateMutation.graphql.ts | 512 -- .../CommentDeleteMutation.graphql.ts | 226 - .../CommentItemRefetchQuery.graphql.ts | 451 -- .../CommentItemWithQuery.graphql.ts | 416 -- .../CommentItem_comment.graphql.ts | 260 - .../CommentItem_target.graphql.ts | 43 - .../CommentPinMutation.graphql.ts | 123 - .../CommentUpdateMutation.graphql.ts | 480 -- .../CommentsForTestingQuery.graphql.ts | 549 -- .../__generated__/CommentsFragment.graphql.ts | 114 - .../CommentsListPaginationQuery.graphql.ts | 453 -- .../CommentsListWithQuery.graphql.ts | 541 -- .../CommentsList_comments.graphql.ts | 228 - .../CommentsRefetchQuery.graphql.ts | 430 -- .../CommentsSubscription.graphql.ts | 515 -- .../CommentsUpdateWithQuery.graphql.ts | 416 -- .../CommentsWithQuery.graphql.ts | 549 -- .../CreateChatRoomMutation.graphql.ts | 421 -- .../FollowToggleMutation.graphql.ts | 223 - .../FollowToggleUpdatableFragment.graphql.ts | 51 - .../GroupDetailsQuery.graphql.ts | 321 - .../GroupTitleFragment.graphql.ts | 86 - .../LastMessageFragment.graphql.ts | 80 - .../MemberItemFragment.graphql.ts | 102 - .../MembersListFragment.graphql.ts | 211 - .../MessageItemFragment.graphql.ts | 129 - .../MessageUpdateMutation.graphql.ts | 277 - .../MessagesListFragment.graphql.ts | 318 - .../NotificationItemFragment.graphql.ts | 237 - .../NotificationItemWithQuery.graphql.ts | 342 -- .../NotificationUserMenuFragment.graphql.ts | 51 - .../NotificationsListFragment.graphql.ts | 211 - .../NotificationsListQuery.graphql.ts | 382 -- ...ificationsMarkAllAsReadMutation.graphql.ts | 152 - ...NotificationsMarkAsReadMutation.graphql.ts | 185 - .../NotificationsPopoverQuery.graphql.ts | 100 - .../OrganizationCreateMutation.graphql.ts | 318 - .../ProfileComponentFragment.graphql.ts | 231 - .../ProfileItemFragment.graphql.ts | 116 - .../ProfileUpdateMutation.graphql.ts | 343 -- .../ProfilesListFragment.graphql.ts | 184 - .../ProfilesListQuery.graphql.ts | 273 - .../ReactionButtonMutation.graphql.ts | 251 - .../ReactionButtonWithQuery.graphql.ts | 416 -- .../ReactionButton_target.graphql.ts | 98 - .../ReadMessagesMutation.graphql.ts | 211 - .../__generated__/RoomFragment.graphql.ts | 82 - .../RoomTitleFragment.graphql.ts | 162 - .../RoomsListFragment.graphql.ts | 226 - .../SendMessageMutation.graphql.ts | 296 - .../__generated__/TitleFragment.graphql.ts | 62 - .../UnreadChatMutation.graphql.ts | 210 - .../UnreadMessagesCountFragment.graphql.ts | 75 - .../UpdateChatRoomMutation.graphql.ts | 455 -- .../UserMembersListFragment.graphql.ts | 229 - .../UserMembersListPaginationQuery.graphql.ts | 379 -- .../__generated__/UserProfileQuery.graphql.ts | 181 - .../chatRoomsPaginationQuery.graphql.ts | 465 -- .../notificationsListRefetchable.graphql.ts | 399 -- .../profilesListRefetchable.graphql.ts | 293 - ...eMessageCountUpdateSubscription.graphql.ts | 331 - .../useMessagesListSubscription.graphql.ts | 284 - .../useNotificationsSubscription.graphql.ts | 434 -- .../useRoomListSubscription.graphql.ts | 448 -- ...embersListPaginationRefetchable.graphql.ts | 381 -- packages/components/__mocks__/theme.ts | 10 +- .../__test_utils__/withProviders/index.tsx | 3 +- packages/components/babel.config.js | 2 +- .../components/baseapp-frontend-imports.d.ts | 54 + packages/components/index.ts | 6 - .../__shared__/ActionsOverlay/constants.ts | 4 - .../components/modules/__shared__/README.md | 15 + .../__shared__/{ => common}/constants.ts | 0 .../modules/__shared__/common/index.ts | 4 + .../modules/__shared__/{ => common}/types.ts | 0 .../modules/__shared__/native/index.ts | 0 .../DefaultHoverOverlay/index.tsx | 3 +- .../DefaultHoverOverlay/types.ts | 0 .../ThreeDotsMenuHoverOverlay/index.tsx | 4 +- .../ThreeDotsMenuHoverOverlay/types.ts | 0 .../__storybook__/ActionsOverlay.mdx | 1 + .../ActionsOverlayOnButton/index.tsx | 0 .../ActionsOverlay/__storybook__/stories.tsx | 4 +- .../web/ActionsOverlay/constants.ts | 4 + .../{ => web}/ActionsOverlay/index.tsx | 20 +- .../{ => web}/ActionsOverlay/styled.tsx | 0 .../{ => web}/ActionsOverlay/types.ts | 2 +- .../__storybook__/ReactionButton.mdx | 1 + .../ReactionButtonWithQuery/index.tsx | 12 +- .../__storybook__/mockResolvers.ts | 0 .../ReactionButton/__storybook__/stories.tsx | 0 .../{ => web}/ReactionButton/index.tsx | 2 +- .../{ => web}/ReactionButton/types.ts | 4 +- .../{ => web}/SearchNotFoundState/index.tsx | 2 +- .../SocialInput/SubmitActions/index.tsx | 6 +- .../SocialInput/SubmitActions/types.ts | 0 .../SocialInput/__storybook__/SocialInput.mdx | 4 +- .../SocialInputWithForm/index.tsx | 4 +- .../SocialInput/__storybook__/stories.tsx | 0 .../{ => web}/SocialInput/index.tsx | 4 +- .../{ => web}/SocialInput/styled.tsx | 0 .../__shared__/{ => web}/SocialInput/types.ts | 4 +- .../__storybook__/SocialUpsertActions.mdx | 4 +- .../__storybook__/stories.tsx | 0 .../{ => web}/SocialUpsertActions/index.tsx | 3 +- .../Timestamp/__storybook__/Timestamp.mdx | 4 +- .../Timestamp/__storybook__/stories.tsx | 0 .../__shared__/{ => web}/Timestamp/index.tsx | 0 .../__shared__/{ => web}/Timestamp/types.ts | 0 .../{ => web}/UpdateSubmitActions/index.tsx | 3 +- .../{ => web}/UpdateSubmitActions/types.ts | 0 .../modules/__shared__/{ => web}/index.ts | 12 +- .../components/modules/activity-log/README.md | 15 + .../graphql/queries/ActivityLogs.ts | 0 .../graphql/queries/ActivityLogsFragment.ts | 6 +- .../modules/activity-log/common/index.ts | 5 + .../activity-log/{ => common}/types.ts | 7 +- .../modules/activity-log/native/index.ts | 0 .../EventFilterChip/index.tsx | 0 .../EventFilterChip/types.ts | 0 .../ActivityLogComponent/LogGroups/index.tsx | 6 +- .../ActivityLogComponent/LogGroups/types.ts | 7 +- .../ActivityLogComponent/LogItem/index.tsx | 0 .../ActivityLogComponent/LogItem/types.ts | 2 +- .../ActivityLogComponent/constants.ts | 0 .../{ => web}/ActivityLogComponent/index.tsx | 9 +- .../{ => web}/ActivityLogComponent/types.ts | 2 +- .../modules/activity-log/{ => web}/index.ts | 5 +- .../CommentReactionButton/types.ts | 5 - .../modules/comments/CommentUpdate/types.ts | 11 - .../components/modules/comments/README.md | 15 + .../comments/{ => common}/constants.ts | 0 .../context/CommentReplyProvider/constants.ts | 0 .../context/CommentReplyProvider/index.tsx | 0 .../context/CommentReplyProvider/types.ts | 0 .../context/useCommentReply/index.tsx | 0 .../withCommentReplyProvider/index.tsx | 0 .../graphql/mutations/CommentCreate.ts | 2 +- .../graphql/mutations/CommentDelete.ts | 6 +- .../graphql/mutations/CommentPin.ts | 6 +- .../graphql/mutations/CommentUpdate.ts | 2 +- .../graphql/queries/CommentItem.ts | 0 .../{ => common}/graphql/queries/Comments.ts | 0 .../graphql/queries/CommentsList.ts | 4 +- .../subscriptions/CommentsSubscription.tsx | 4 +- .../modules/comments/common/index.ts | 19 + .../modules/comments/context/index.ts | 6 - .../components/modules/comments/native/.keep | 0 .../modules/comments/native/index.ts | 0 .../__storybook__/CommentCreate.mdx | 4 +- .../CommentCreateWithProvider/index.tsx | 2 +- .../CommentCreate/__storybook__/stories.tsx | 0 .../{ => web}/CommentCreate/index.tsx | 9 +- .../comments/{ => web}/CommentCreate/types.ts | 2 +- .../CommentItem/CommentPinnedBadge/index.tsx | 2 +- .../CommentItem/CommentPinnedBadge/types.ts | 0 .../CommentReactionButton/index.tsx | 8 +- .../CommentReactionButton/types.ts | 5 + .../CommentItem/CommentReplyButton/index.tsx | 3 +- .../CommentItem/CommentReplyButton/types.ts | 0 .../CommentItem/CommentsReplies/index.tsx | 8 +- .../CommentItem/CommentsReplies/styled.tsx | 0 .../CommentItem/CommentsReplies/types.ts | 2 +- .../CommentItem/__storybook__/CommentItem.mdx | 4 +- .../CommentItemWithQuery/index.tsx | 6 +- .../__storybook__/mockResolvers.ts | 0 .../CommentItem/__storybook__/stories.tsx | 0 .../comments/{ => web}/CommentItem/index.tsx | 13 +- .../comments/{ => web}/CommentItem/styled.tsx | 0 .../comments/{ => web}/CommentItem/types.ts | 12 +- .../CommentItem/useCommentOptions/index.tsx | 10 +- .../CommentItem/useCommentOptions/types.ts | 2 +- .../__storybook__/CommentUpdate.mdx | 2 +- .../CommentsUpdateWithQuery/index.tsx | 7 +- .../__storybook__/mockResolvers.ts | 0 .../CommentUpdate/__storybook__/stories.tsx | 0 .../{ => web}/CommentUpdate/index.tsx | 9 +- .../comments/web/CommentUpdate/types.ts | 11 + .../Comments/__storybook__/Comments.mdx | 4 +- .../__storybook__/CommentsWithQuery/index.tsx | 6 +- .../Comments/__storybook__/mockResolvers.ts | 0 .../Comments/__storybook__/stories.tsx | 0 .../Comments/__tests__/Comments.cy.tsx | 0 .../Comments/__tests__/__mocks__/requests.ts | 0 .../Comments/__tests__/__mocks__/resolvers.ts | 0 .../__utils__/CommentsForTesting/index.tsx | 6 +- .../comments/{ => web}/Comments/index.tsx | 3 +- .../comments/{ => web}/Comments/types.ts | 6 +- .../__storybook__/CommentsList.mdx | 4 +- .../CommentsListWithQuery/index.tsx | 6 +- .../__storybook__/mockResolvers.ts | 0 .../CommentsList/__storybook__/stories.tsx | 0 .../comments/{ => web}/CommentsList/index.tsx | 8 +- .../comments/{ => web}/CommentsList/types.ts | 2 +- .../modules/comments/{ => web}/index.ts | 16 +- .../MessagesGroup/SystemMessage/types.ts | 5 - .../components/modules/messages/README.md | 15 + .../modules/messages/__shared__/index.ts | 2 - .../messages/{ => common}/constants.ts | 4 - .../context/ChatRoomProvider/constants.ts | 0 .../context/ChatRoomProvider/index.tsx | 0 .../context/ChatRoomProvider/types.ts | 0 .../context/useChatRoom/index.tsx | 0 .../context/withChatRoomProvider/index.tsx | 0 .../graphql/fragments/GroupTitle.ts | 0 .../graphql/fragments/LastMessage.ts | 0 .../graphql/fragments/MembersList.ts | 0 .../graphql/fragments/MessageItem.ts | 0 .../graphql/fragments/MessagesList.ts | 0 .../{ => common}/graphql/fragments/Room.ts | 0 .../graphql/fragments/RoomTitle.ts | 0 .../graphql/fragments/RoomsList.ts | 4 +- .../{ => common}/graphql/fragments/Title.ts | 0 .../graphql/fragments/UnreadMessagesCount.ts | 0 .../graphql/mutations/ArchiveChatRoom.ts | 2 +- .../graphql/mutations/CreateChatRoom.ts | 5 +- .../graphql/mutations/MessageUpdate.ts | 2 +- .../graphql/mutations/ReadMessages.ts | 2 +- .../graphql/mutations/SendMessage.ts | 2 +- .../graphql/mutations/UnreadChat.ts | 2 +- .../graphql/mutations/UpdateChatRoom.ts | 3 +- .../graphql/queries/ChatRoomQuery.ts | 0 .../graphql/queries/ChatRoomsQuery.ts | 0 .../graphql/queries/GroupDetailsQuery.ts | 0 .../useMessageCountUpdateSubscription.tsx | 4 +- .../useMessagesListSubscription.tsx | 4 +- .../subscriptions/useRoomListSubscription.tsx | 8 +- .../modules/messages/common/index.ts | 35 + .../modules/messages/common/types.ts | 10 + .../modules/messages/{ => common}/utils.ts | 6 +- .../modules/messages/context/index.ts | 6 - packages/components/modules/messages/index.ts | 49 - .../modules/messages/native/index.ts | 0 packages/components/modules/messages/types.ts | 11 - .../ChatRoomHeader/ChatRoomOptions/index.tsx | 0 .../ChatRoomHeader/ChatRoomOptions/types.ts | 0 .../ChatRoom/ChatRoomHeader/index.tsx | 25 +- .../ChatRoom/ChatRoomHeader/styled.tsx | 0 .../ChatRoom/ChatRoomHeader/types.ts | 2 +- .../messages/{ => web}/ChatRoom/index.tsx | 6 +- .../messages/{ => web}/ChatRoom/styled.tsx | 0 .../messages/{ => web}/ChatRoom/types.ts | 0 .../ChatRoomsList/ChatRoomItem/index.tsx | 27 +- .../ChatRoomsList/ChatRoomItem/styled.tsx | 0 .../ChatRoomsList/ChatRoomItem/types.ts | 6 +- .../ChatRoomsList/ChatRoomItem/utils.ts | 0 .../EmptyChatRoomsState/index.tsx | 2 +- .../{ => web}/ChatRoomsList/constants.ts | 0 .../{ => web}/ChatRoomsList/index.tsx | 11 +- .../{ => web}/ChatRoomsList/styled.tsx | 0 .../messages/{ => web}/ChatRoomsList/types.ts | 6 +- .../ChatRoomListItem/index.tsx | 6 +- .../ChatRoomListItem/styled.tsx | 0 .../ChatRoomListItem/types.ts | 2 +- .../{ => web}/CreateChatRoomList/index.tsx | 15 +- .../{ => web}/CreateChatRoomList/styled.tsx | 0 .../{ => web}/CreateChatRoomList/types.ts | 4 +- .../CreateGroup/ConnectionsList/index.tsx | 6 +- .../CreateGroup/ConnectionsList/styled.tsx | 0 .../CreateGroup/ConnectionsList/types.ts | 4 +- .../CreateGroup/ProfileCard/index.tsx | 4 +- .../CreateGroup/ProfileCard/styled.tsx | 0 .../CreateGroup/ProfileCard/types.ts | 2 +- .../{ => web}/CreateGroup/constants.ts | 2 +- .../messages/{ => web}/CreateGroup/index.tsx | 17 +- .../messages/{ => web}/CreateGroup/styled.tsx | 0 .../messages/{ => web}/CreateGroup/types.ts | 4 +- .../messages/{ => web}/EditGroup/constants.ts | 2 +- .../messages/{ => web}/EditGroup/index.tsx | 17 +- .../messages/{ => web}/EditGroup/styled.tsx | 0 .../messages/{ => web}/EditGroup/types.ts | 2 +- .../GroupDetails/GroupDetailsHeader/index.tsx | 4 +- .../GroupDetailsHeader/styled.tsx | 0 .../GroupDetails/GroupDetailsHeader/types.ts | 0 .../ProfileCard/AdminOptionsMenu/index.tsx | 0 .../ProfileCard/AdminOptionsMenu/types.ts | 0 .../ProfileCard/MemberOptionsMenu/index.tsx | 0 .../ProfileCard/MemberOptionsMenu/types.ts | 0 .../GroupDetails/ProfileCard/constants.ts | 0 .../GroupDetails/ProfileCard/index.tsx | 14 +- .../GroupDetails/ProfileCard/styled.tsx | 0 .../GroupDetails/ProfileCard/types.ts | 2 +- .../messages/{ => web}/GroupDetails/index.tsx | 20 +- .../{ => web}/GroupDetails/styled.tsx | 0 .../messages/{ => web}/GroupDetails/types.ts | 2 +- .../{ => web}/MessageUpdate/index.tsx | 9 +- .../messages/{ => web}/MessageUpdate/types.ts | 4 +- .../MessagesGroup/SystemMessage/index.tsx | 2 +- .../MessagesGroup/SystemMessage/styled.tsx | 0 .../MessagesGroup/SystemMessage/types.ts | 5 + .../UserMessage/MessageItem/index.tsx | 13 +- .../UserMessage/MessageItem/styled.tsx | 0 .../UserMessage/MessageItem/types.ts | 2 +- .../UserMessage/Timestamp/index.tsx | 0 .../UserMessage/Timestamp/types.ts | 0 .../MessagesGroup/UserMessage/index.tsx | 4 +- .../MessagesGroup/UserMessage/types.ts | 2 +- .../MessagesList/MessagesGroup/index.tsx | 2 +- .../MessagesList/MessagesGroup/styled.tsx | 0 .../MessagesList/MessagesGroup/types.ts | 2 +- .../MessagesList/MessagesGroup/utils.ts | 0 .../{ => web}/MessagesList/constants.ts | 0 .../messages/{ => web}/MessagesList/index.tsx | 18 +- .../messages/{ => web}/MessagesList/types.ts | 2 +- .../__storybook__/MessagesModule.mdx | 2 +- .../SendMessage/__storybook__/stories.tsx | 0 .../messages/{ => web}/SendMessage/index.tsx | 8 +- .../messages/{ => web}/SendMessage/types.ts | 2 +- .../EditGroupTitleAndImage/constants.tsx | 0 .../EditGroupTitleAndImage/index.tsx | 4 +- .../EditGroupTitleAndImage/styled.tsx | 0 .../EditGroupTitleAndImage/types.ts | 7 +- .../EditGroupTitleAndImage/utils.ts | 0 .../EmptyProfilesListState/index.tsx | 2 +- .../__shared__/LeaveGroupDialog/index.tsx | 4 +- .../__shared__/LeaveGroupDialog/types.ts | 0 .../modules/messages/web/__shared__/types.ts | 4 + .../components/modules/messages/web/index.ts | 28 + .../components/modules/navigations/README.md | 15 + .../modules/navigations/common/index.ts | 0 .../modules/navigations/native/index.ts | 0 .../AccountPopover/CurrentUser/index.tsx | 0 .../AccountPopover/LogoutItem/index.tsx | 0 .../AccountPopover/LogoutItem/types.ts | 0 .../AccountPopover/MenuItems/index.tsx | 0 .../AccountPopover/MenuItems/types.ts | 0 .../__storybook__/AccountPopover.mdx | 4 +- .../__storybook__/mockResolvers.ts | 0 .../__storybook__/static/profile-1.png | Bin .../__storybook__/static/profile-2.png | Bin .../__storybook__/static/profile-3.png | Bin .../__storybook__/static/profile-4.png | Bin .../AccountPopover/__storybook__/stories.tsx | 2 +- .../__tests__/AccountPopover.cy.tsx | 2 +- .../AccountPopoverForTesting/index.tsx | 4 +- .../__tests__/__mocks__/profiles.ts | 0 .../__tests__/__mocks__/theme.ts | 10 +- .../__tests__/__mocks__/user.ts | 0 .../__tests__}/withProviders/index.tsx | 6 +- .../__tests__}/withProviders/types.ts | 0 .../AccountMenu/AccountPopover/index.tsx | 7 +- .../AccountMenu/AccountPopover/styled.tsx | 0 .../AccountMenu/AccountPopover/types.ts | 8 +- .../{ => web}/Header/AccountMenu/index.tsx | 0 .../{ => web}/Header/AccountMenu/types.ts | 0 .../{ => web}/Header/__storybook__/Header.mdx | 8 +- .../Header/__storybook__/stories.tsx | 9 +- .../navigations/{ => web}/Header/index.tsx | 3 +- .../navigations/{ => web}/Header/styled.tsx | 2 +- .../navigations/{ => web}/Header/types.ts | 2 +- .../NavCentered/__storybook__/NavCentered.mdx | 4 +- .../NavCentered/__storybook__/stories.tsx | 2 +- .../{ => web}/NavCentered/index.tsx | 7 +- .../{ => web}/NavCentered/types.ts | 0 .../NavHorizontal/HeaderShadow/index.tsx | 0 .../__storybook__/NavHorizontal.mdx | 6 +- .../NavHorizontal/__storybook__/stories.tsx | 2 +- .../{ => web}/NavHorizontal/index.tsx | 8 +- .../{ => web}/NavHorizontal/types.ts | 0 .../NavSectionMini/NavList/NavItem/index.tsx | 3 +- .../NavSectionMini/NavList/NavItem/styled.tsx | 0 .../NavMini/NavSectionMini/NavList/index.tsx | 2 +- .../NavMini/NavSectionMini/index.tsx | 0 .../NavMini/__storybook__/NavMini.mdx | 7 +- .../NavMini/__storybook__/stories.tsx | 6 +- .../navigations/{ => web}/NavMini/index.tsx | 8 +- .../navigations/{ => web}/NavMini/types.ts | 2 +- .../NavVertical/__storybook__/NavVertical.mdx | 5 +- .../NavVertical/__storybook__/stories.tsx | 6 +- .../{ => web}/NavVertical/index.tsx | 10 +- .../{ => web}/NavVertical/types.ts | 2 +- .../NavigationLayout/MainContainer/index.tsx | 0 .../NavigationLayout/MainContainer/styled.tsx | 0 .../NavigationLayout/MainContainer/types.ts | 0 .../__storybook__/NavigationLayout.mdx | 8 +- .../__storybook__/stories.tsx | 11 +- .../{ => web}/NavigationLayout/index.tsx | 0 .../{ => web}/NavigationLayout/types.ts | 2 +- .../ViewportHeightContainer/index.tsx | 0 .../ViewportHeightContainer/styled.tsx | 0 .../ViewportHeightContainer/types.ts | 2 +- .../NavList/NavItem/index.tsx | 3 +- .../NavList/NavItem/styled.tsx | 0 .../NavList/NavItem/types.ts | 0 .../NavSectionHorizontal/NavList/index.tsx | 0 .../NavSectionHorizontal/NavList/types.ts | 0 .../NavSectionHorizontal/index.tsx | 0 .../__shared__}/NavSectionHorizontal/types.ts | 0 .../Group/NavList/NavItem/index.tsx | 2 +- .../Group/NavList/NavItem/styled.tsx | 0 .../Group/NavList/index.tsx | 0 .../NavSectionVertical/Group/index.tsx | 0 .../NavSectionVertical/Group/types.ts | 0 .../__shared__}/NavSectionVertical/index.tsx | 0 .../__shared__}/NavToggleButton/index.tsx | 3 +- .../__shared__}/NavToggleButton/types.ts | 2 +- .../__shared__}/VerticalDrawer/index.tsx | 3 +- .../__shared__}/VerticalDrawer/types.ts | 0 .../__shared__}/useActiveLink.ts | 0 .../navigations/{ => web}/constants.ts | 0 .../modules/navigations/{ => web}/index.ts | 0 .../modules/navigations/{ => web}/types.ts | 0 .../NotificationItemRenderer/types.ts | 5 - .../modules/notifications/README.md | 15 + .../notifications/{ => common}/constants.ts | 0 .../mutations/NotificationsMarkAllAsRead.ts | 2 +- .../mutations/NotificationsMarkAsRead.ts | 2 +- .../graphql/queries/NotificationItem.ts | 0 .../graphql/queries/NotificationUserMenu.ts | 0 .../graphql/queries/NotificationsList.ts | 0 .../graphql/queries/NotificationsPopover.ts | 0 .../useNotificationsSubscription.ts | 4 +- .../modules/notifications/common/index.ts | 13 + .../modules/notifications/native/index.ts | 0 .../NotificationsList/EmptyState/index.tsx | 2 +- .../NotificationsList/EmptyState/styled.tsx | 0 .../NotificationsList/LoadingState/index.tsx | 2 +- .../MarkAllAsReadButton/index.tsx | 2 +- .../MarkAllAsReadButton/types.ts | 0 .../NotificationItem/CommentCreated/index.tsx | 0 .../NotificationItem/CommentReply/index.tsx | 0 .../Notification/NotificationAvatar/index.tsx | 2 +- .../Notification/NotificationAvatar/types.ts | 0 .../NotificationBody/index.tsx | 2 +- .../NotificationBody/styled.tsx | 0 .../NotificationBody/types.ts | 0 .../NotificationHeader/index.tsx | 0 .../NotificationHeader/types.ts | 0 .../NotificationContent/index.tsx | 0 .../Notification/NotificationContent/types.ts | 0 .../Notification/NotificationRoot/index.tsx | 0 .../NotificationItem/Notification/index.tsx | 0 .../NotificationItemRenderer/index.tsx | 2 +- .../NotificationItemRenderer/types.ts | 5 + .../ReactionCreated/index.tsx | 0 .../__storybook__/NotificationItem.mdx | 4 +- .../NotificationItemWithQuery/index.tsx | 4 +- .../__storybook__/mockResolvers.ts | 0 .../__storybook__/stories.tsx | 0 .../NotificationItem/index.tsx | 3 +- .../NotificationItem/types.ts | 2 +- .../__storybook__/NotificationsList.mdx | 4 +- .../__storybook__/mockResolvers.ts | 0 .../__storybook__/stories.tsx | 0 .../{ => web}/NotificationsList/constants.ts | 0 .../{ => web}/NotificationsList/index.tsx | 18 +- .../{ => web}/NotificationsList/styled.tsx | 0 .../{ => web}/NotificationsList/types.ts | 2 +- .../__storybook__/NotificationsPopover.mdx | 2 +- .../__storybook__/mockResolvers.ts | 0 .../__storybook__/stories.tsx | 0 .../index.tsx | 2 +- .../index.tsx | 19 +- .../__tests__/NotificationsPopover.cy.tsx} | 24 +- .../NotificationsPopoverForTesting}/index.tsx | 2 +- .../__tests__/__mocks__/requests.ts | 0 .../{ => web}/NotificationsPopover/index.tsx | 20 +- .../{ => web}/NotificationsPopover/types.ts | 0 .../modules/notifications/{ => web}/index.ts | 3 +- .../modules/profiles/Members/index.tsx | 69 - .../modules/profiles/Members/types.ts | 27 - .../AddProfileMenuItem/types.ts | 8 - .../modules/profiles/ProfilePopover/index.ts | 10 - .../components/modules/profiles/README.md | 15 + .../modules/profiles/common/constants.ts | 42 + .../graphql/mutations/BlockToggle.ts | 0 .../graphql/mutations/ChangeUserRole.ts | 2 +- .../graphql/mutations/FollowToggle.ts | 0 .../graphql/mutations/OrganizationCreate.ts | 2 +- .../graphql/mutations/ProfileUpdate.ts | 4 +- .../graphql/queries/AddProfilePopover.ts | 0 .../graphql/queries/AllProfilesList.ts | 4 +- .../graphql/queries/BlockToggle.ts | 0 .../queries/FollowToggleUpdatableFragment.ts | 0 .../graphql/queries/MemberItem.ts | 0 .../graphql/queries/ProfileComponent.ts | 0 .../graphql/queries/ProfileItem.ts | 0 .../graphql/queries/ProfilesList.ts | 0 .../graphql/queries/UserMembersList.ts | 0 .../graphql/queries/UserProfile.ts | 0 .../modules/profiles/common/index.ts | 23 + .../modules/profiles/common/types.ts | 20 + .../modules/profiles/common/utils.ts | 31 + .../components/modules/profiles/common/zod.ts | 18 + packages/components/modules/profiles/index.ts | 4 - .../native/ProfileComponent/index.tsx | 91 + .../native/ProfileComponent/styles.ts | 71 + .../profiles/native/ProfileComponent/types.ts | 5 + .../BottomDrawer/index.tsx | 62 + .../BottomDrawer/styles.ts | 23 + .../BottomDrawer/types.ts | 10 + .../native/ProfileSettingsComponent/index.tsx | 349 ++ .../native/ProfileSettingsComponent/styles.ts | 107 + .../native/ProfileSettingsComponent/types.ts | 5 + .../modules/profiles/native/index.ts | 7 + .../BlockButtonWithDialog/constants.ts | 0 .../BlockButtonWithDialog/index.tsx | 8 +- .../BlockButtonWithDialog/styled.tsx | 0 .../BlockButtonWithDialog/types.ts | 2 +- .../FollowToggleButton/index.tsx | 7 +- .../FollowToggleButton/types.ts | 0 .../{ => web}/ProfileComponent/index.tsx | 12 +- .../{ => web}/ProfileComponent/styled.tsx | 0 .../{ => web}/ProfileComponent/types.ts | 2 +- .../ProfileMembers}/MemberItem/index.tsx | 8 +- .../ProfileMembers}/MemberItem/styled.tsx | 0 .../ProfileMembers}/MemberItem/types.ts | 4 +- .../ProfileMembers}/MemberListItem/index.tsx | 2 +- .../ProfileMembers}/MemberListItem/types.ts | 4 +- .../ProfileMembers}/MembersList/index.tsx | 14 +- .../web/ProfileMembers/MembersList/types.ts | 15 + .../ProfileMembers}/constants.ts | 0 .../profiles/web/ProfileMembers/index.tsx | 50 + .../ProfileMembers}/styled.tsx | 0 .../profiles/web/ProfileMembers/types.ts | 13 + .../{Members => web/ProfileMembers}/utils.ts | 0 .../components/modules/profiles/web/index.ts | 18 + .../CreateProfileModal}/constants.ts | 0 .../CreateProfileModal}/index.tsx | 11 +- .../CreateProfileModal}/styled.tsx | 0 .../CreateProfileModal}/types.ts | 2 +- .../AddProfileMenuItem/index.tsx | 10 +- .../AddProfileMenuItem/styled.tsx | 0 .../AddProfileMenuItem/types.ts | 8 + .../profile-popover}/CurrentProfile/index.tsx | 2 +- .../ProfilesList/EmptyState/index.tsx | 20 + .../ProfilesList/EmptyState/styled.tsx | 13 + .../ProfilesList/LoadingState/index.tsx | 0 .../ProfilesList/LoadingState/styled.tsx | 0 .../ProfilesList/ProfileMenuItem/index.tsx | 5 +- .../ProfilesList/ProfileMenuItem/styled.tsx | 0 .../ProfilesList/ProfileMenuItem/types.ts | 6 +- .../profile-popover}/ProfilesList/index.tsx | 12 +- .../profile-popover}/ProfilesList/styled.tsx | 0 .../profile-popover}/ProfilesList/types.ts | 2 +- .../SwitchProfileMenu/index.tsx | 2 +- .../SwitchProfileMenu/types.ts | 0 packages/components/package.json | 65 +- packages/components/schema.graphql | 1321 +++- packages/components/tailwind.config.js | 12 +- packages/components/tsconfig.build.json | 19 +- packages/components/tsconfig.json | 1 + packages/components/tsup.config.ts | 34 + .../config/.eslintrc-with-restricted-paths.js | 35 + packages/config/CHANGELOG.md | 6 + packages/config/package.json | 3 +- packages/design-system/.eslintrc.js | 2 +- packages/design-system/.gitignore | 65 + .../.storybook/__mocks__/next-font.ts | 1 - .../.storybook/__mocks__/theme.ts | 19 +- .../.storybook/decorators/withProviders.tsx | 2 +- packages/design-system/.storybook/preview.ts | 4 +- packages/design-system/CHANGELOG.md | 13 + packages/design-system/README.md | 34 +- .../avatars/AvatarWithPlaceholder/styled.tsx | 13 - .../avatars/CircledAvatar/styled.tsx | 18 - .../design-system/components/common/index.ts | 1 + .../components/dialogs/Dialog/styled.tsx | 13 - .../design-system/components/images/index.ts | 1 - .../components/inputs/Searchbar/index.tsx | 85 - .../native/appbars/AppBar/index.tsx | 42 + .../native/appbars/AppBar/styles.ts | 32 + .../components/native/appbars/AppBar/types.ts | 9 + .../components/native/appbars/index.ts | 2 + .../native/buttons/Button/index.tsx | 81 + .../native/buttons/Button/styles.ts | 131 + .../components/native/buttons/Button/types.ts | 26 + .../native/buttons/IconButton/index.tsx | 7 + .../components/native/buttons/index.ts | 3 + .../native/displays/FeedbackScreen/index.tsx | 11 + .../native/displays/LoadingScreen/index.tsx | 15 + .../native/displays/LoadingScreen/styles.ts | 9 + .../native/displays/LoadingScreen/types.ts | 3 + .../components/native/displays/index.ts | 2 + .../native/drawers/BottomDrawer/index.tsx | 46 + .../native/drawers/BottomDrawer/styles.ts | 28 + .../native/drawers/BottomDrawer/types.ts | 8 + .../components/native/drawers/index.ts | 2 + .../native/icons/CameraIcon/index.tsx | 35 + .../native/icons/CameraOutlinedIcon/index.tsx | 54 + .../native/icons/EditIcon/index.tsx | 34 + .../native/icons/FlowerIcon/index.tsx | 82 + .../native/icons/HomeIcon/index.tsx | 38 + .../native/icons/ImageIcon/index.tsx | 34 + .../native/icons/MenuIcon/index.tsx | 42 + .../native/icons/MessageIcon/index.tsx | 32 + .../native/icons/OptionsIcon/index.tsx | 76 + .../native/icons/ProfileIcon/index.tsx | 38 + .../native/icons/SettingsIcon/index.tsx | 38 + .../native/icons/ShareIcon/index.tsx | 34 + .../native/icons/TrashIcon/index.tsx | 80 + .../components/native/icons/index.ts | 14 + .../components/native/icons/types.ts | 5 + .../components/native/images/Image/index.tsx | 34 + .../components/native/images/Image/types.ts | 17 + .../components/native/images/index.ts | 2 + .../native/inputs/PasswordInput/index.tsx | 31 + .../native/inputs/TextInput/index.tsx | 50 + .../native/inputs/TextInput/styles.ts | 61 + .../native/inputs/TextInput/types.ts | 13 + .../components/native/inputs/index.ts | 3 + .../native/typographies/Text/index.tsx | 16 + .../native/typographies/Text/styles.ts | 14 + .../native/typographies/Text/types.ts | 13 + .../components/native/typographies/index.ts | 2 + .../native/views/CollapsibleView/index.tsx | 35 + .../native/views/CollapsibleView/styles.ts | 13 + .../native/views/CollapsibleView/types.ts | 5 + .../native/views/PageViewWithHeader/index.tsx | 11 + .../native/views/PageViewWithHeader/styles.ts | 9 + .../native/views/PageViewWithHeader/types.ts | 3 + .../native/views/ParallaxScrollView/index.tsx | 49 + .../native/views/ParallaxScrollView/styles.ts | 21 + .../native/views/ParallaxScrollView/types.ts | 5 + .../components/native/views/View/index.tsx | 25 + .../components/native/views/View/styles.ts | 10 + .../components/native/views/View/types.ts | 7 + .../components/native/views/index.ts | 8 + .../animate/MotionContainer/index.tsx | 3 +- .../animate/MotionContainer/types.ts | 0 .../animate/MotionViewport/index.tsx | 3 +- .../{ => web}/animate/MotionViewport/types.ts | 0 .../components/{ => web}/animate/index.ts | 2 + .../components/{ => web}/animate/types.ts | 6 +- .../{ => web}/animate/variants/actions.ts | 0 .../{ => web}/animate/variants/background.ts | 0 .../{ => web}/animate/variants/bounce.ts | 0 .../{ => web}/animate/variants/container.ts | 0 .../{ => web}/animate/variants/fade.ts | 0 .../{ => web}/animate/variants/flip.ts | 0 .../{ => web}/animate/variants/index.ts | 0 .../{ => web}/animate/variants/path.ts | 0 .../{ => web}/animate/variants/rotate.ts | 0 .../{ => web}/animate/variants/scale.ts | 0 .../{ => web}/animate/variants/slide.ts | 0 .../{ => web}/animate/variants/transition.ts | 0 .../{ => web}/animate/variants/zoom.ts | 0 .../__storybook__/AvatarWithPlaceholder.mdx | 2 +- .../__storybook__/stories.tsx | 0 .../avatars/AvatarWithPlaceholder/index.tsx | 0 .../avatars/AvatarWithPlaceholder/styled.tsx | 17 + .../avatars/AvatarWithPlaceholder/types.ts | 0 .../{ => web}/avatars/CircledAvatar/index.tsx | 2 + .../web/avatars/CircledAvatar/styled.tsx | 18 + .../{ => web}/avatars/CircledAvatar/types.ts | 0 .../__storybook__/ClickableAvatar.mdx | 2 +- .../ClickableAvatar/__storybook__/stories.tsx | 0 .../avatars/ClickableAvatar/index.tsx | 2 +- .../avatars/ClickableAvatar/styled.tsx | 0 .../avatars/ClickableAvatar/types.ts | 0 .../components/{ => web}/avatars/index.ts | 2 + .../__storybook__/FileUploadButton.mdx | 0 .../__storybook__/stories.tsx | 0 .../buttons/FileUploadButton/index.tsx | 2 + .../buttons/FileUploadButton/types.ts | 0 .../IconButton/__storybook__/IconButton.mdx | 3 +- .../IconButton/__storybook__/stories.tsx | 0 .../{ => web}/buttons/IconButton/index.tsx | 0 .../{ => web}/buttons/IconButton/styled.tsx | 4 +- .../{ => web}/buttons/IconButton/types.ts | 0 .../components/{ => web}/buttons/index.ts | 2 + .../__storybook__/ConfirmDialog.mdx | 3 +- .../ConfirmDialog/__storybook__/stories.tsx | 0 .../{ => web}/dialogs/ConfirmDialog/index.tsx | 2 + .../{ => web}/dialogs/ConfirmDialog/types.ts | 0 .../Dialog/__storybook__/BaseDialog.mdx | 2 +- .../dialogs/Dialog/__storybook__/stories.tsx | 0 .../{ => web}/dialogs/Dialog/index.tsx | 6 +- .../components/web/dialogs/Dialog/styled.tsx | 17 + .../{ => web}/dialogs/Dialog/types.ts | 0 .../components/{ => web}/dialogs/index.ts | 2 + .../__storybook__/LoadingState.mdx | 2 +- .../LoadingState/__storybook__/stories.tsx | 0 .../{ => web}/displays/LoadingState/index.tsx | 0 .../{ => web}/displays/LoadingState/types.ts | 0 .../components/{ => web}/displays/index.ts | 2 + .../__storybook__/SwipeableDrawer.mdx | 2 +- .../SwipeableDrawer/__storybook__/stories.tsx | 0 .../drawers/SwipeableDrawer/constants.ts | 0 .../drawers/SwipeableDrawer/index.tsx | 2 + .../drawers/SwipeableDrawer/styled.tsx | 10 +- .../drawers/SwipeableDrawer/types.ts | 0 .../components/{ => web}/drawers/index.ts | 2 + .../Dropzone/__storybook__/dropzone.mdx | 2 +- .../Dropzone/__storybook__/stories.tsx | 2 +- .../{ => web/dropzones}/Dropzone/index.tsx | 2 + .../{ => web/dropzones}/Dropzone/styled.tsx | 20 +- .../{ => web/dropzones}/Dropzone/types.ts | 6 +- .../components/web/dropzones/index.ts | 4 + .../{ => web}/icons/AddIcon/index.tsx | 0 .../{ => web}/icons/ArchiveIcon/index.tsx | 0 .../{ => web}/icons/AttachmentIcon/index.tsx | 0 .../icons/AvatarUploadFallbackIcon/index.tsx | 0 .../icons/BaseAppLogoCondensed/index.tsx | 0 .../{ => web}/icons/BlockIcon/index.tsx | 0 .../{ => web}/icons/CheckMarkIcon/index.tsx | 0 .../{ => web}/icons/ChevronIcon/constants.ts | 0 .../{ => web}/icons/ChevronIcon/index.tsx | 0 .../{ => web}/icons/ChevronIcon/types.ts | 0 .../{ => web}/icons/CloseIcon/index.tsx | 0 .../icons/CommentReplyIcon/index.tsx | 0 .../{ => web}/icons/CopyIcon/index.tsx | 0 .../{ => web}/icons/DownloadIcon/index.tsx | 0 .../{ => web}/icons/FavoriteIcon/index.tsx | 0 .../icons/FavoriteSelectedIcon/index.tsx | 0 .../{ => web}/icons/LinkIcon/index.tsx | 0 .../{ => web}/icons/MentionIcon/index.tsx | 0 .../{ => web}/icons/MenuIcon/index.tsx | 0 .../icons/NotificationBellIcon/index.tsx | 0 .../icons/OutlinedEditIcon/index.tsx | 0 .../{ => web}/icons/PenEditIcon/index.tsx | 0 .../{ => web}/icons/PinIcon/index.tsx | 0 .../components/{ => web}/icons/README.md | 0 .../{ => web}/icons/SendMessageIcon/index.tsx | 0 .../{ => web}/icons/ShareIcon/index.tsx | 0 .../{ => web}/icons/ThreeDotsIcon/index.tsx | 0 .../{ => web}/icons/TrashCanIcon/index.tsx | 0 .../{ => web}/icons/UnarchiveIcon/index.tsx | 0 .../{ => web}/icons/UnblockIcon/index.tsx | 0 .../{ => web}/icons/UnreadIcon/index.tsx | 0 .../icons/__storybook__/Iconography.mdx | 0 .../components/{ => web}/icons/index.ts | 2 + .../illustrations/ABTestingImage/index.tsx | 0 .../illustrations/AboutUsImage/index.tsx | 0 .../AddProductsToCartImage/index.tsx | 0 .../BeingCreativeImage/index.tsx | 0 .../BringSolutionsImage/index.tsx | 0 .../illustrations/BusinessDealImage/index.tsx | 0 .../illustrations/ChartsImage/index.tsx | 0 .../illustrations/ClickbaitImage/index.tsx | 0 .../illustrations/CodingImage/index.tsx | 0 .../illustrations/ComingSoonImage/index.tsx | 0 .../DesignThinkingImage/index.tsx | 0 .../DigitalAdsPerformanceImage/index.tsx | 0 .../illustrations/DownloadingImage/index.tsx | 0 .../DrawingWIthTabletImage/index.tsx | 0 .../illustrations/FixingBugsImage/index.tsx | 0 .../illustrations/GetInspiredImage/index.tsx | 0 .../GiftingOnlineImage/index.tsx | 0 .../InterfaceTestingImage/index.tsx | 0 .../InvestingTestingImage/index.tsx | 0 .../ListeningFeedbackImage/index.tsx | 0 .../illustrations/LoadingImage/index.tsx | 0 .../MarketingTargetImage/index.tsx | 0 .../ModularCodingApplicationImage/index.tsx | 0 .../illustrations/NewsletterImage/index.tsx | 0 .../illustrations/OfficeDeskImage/index.tsx | 0 .../OverworkedEmployee/index.tsx | 0 .../PageUnderConstructionImage/index.tsx | 0 .../PaymentWithCardImage/index.tsx | 0 .../ProtectPrivacyImage/index.tsx | 0 .../illustrations/SearchingImage/index.tsx | 0 .../illustrations/ShareImage/index.tsx | 0 .../SocialMediaDiscussionImage/index.tsx | 0 .../illustrations/SuccessImage/index.tsx | 0 .../illustrations/TrophyAwardsImage/index.tsx | 0 .../VideoConferenceImage/index.tsx | 0 .../VirtualRealityImage/index.tsx | 0 .../illustrations/WeAreHiringImage/index.tsx | 0 .../WeGotAProblemImage/index.tsx | 0 .../illustrations/WelcomeImage/index.tsx | 0 .../illustrations/WorkFromHomeImage/index.tsx | 0 .../__storybook__/Illustrations.mdx | 0 .../{ => web}/illustrations/index.ts | 2 + .../{ => web/images}/Iconify/index.tsx | 0 .../{ => web/images}/Iconify/types.ts | 0 .../__storybook__/ImageWithFallback.mdx | 0 .../__storybook__/stories.tsx | 0 .../images/ImageWithFallback/index.tsx | 2 + .../images/ImageWithFallback/types.ts | 0 .../components/web/images/index.ts | 6 + .../Searchbar/__storybook__/Searchbar.mdx | 0 .../Searchbar/__storybook__/stories.tsx | 0 .../components/web/inputs/Searchbar/index.tsx | 82 + .../{ => web}/inputs/Searchbar/types.ts | 0 .../__storybook__/SocialTextField.mdx | 2 +- .../SocialTextField/__storybook__/stories.tsx | 0 .../inputs/SocialTextField/index.tsx | 7 +- .../inputs/SocialTextField/styled.tsx | 10 +- .../{ => web}/inputs/SocialTextField/types.ts | 0 .../TextField/__storybook__/TextField.mdx | 2 +- .../TextField/__storybook__/stories.tsx | 0 .../{ => web}/inputs/TextField/index.tsx | 0 .../{ => web}/inputs/TextField/types.ts | 0 .../__storybook__/TextareaField.mdx | 2 +- .../TextareaField/__storybook__/stories.tsx | 0 .../{ => web}/inputs/TextareaField/index.tsx | 2 + .../{ => web}/inputs/TextareaField/styled.tsx | 6 +- .../{ => web}/inputs/TextareaField/types.ts | 0 .../components/{ => web}/inputs/index.ts | 5 +- .../logos}/CustomLogoCondensed/index.tsx | 3 +- .../logos}/Logo/__storybook__/Logo.mdx | 5 +- .../logos}/Logo/__storybook__/stories.tsx | 4 +- .../components/{ => web/logos}/Logo/index.tsx | 1 + .../components/{ => web/logos}/Logo/types.ts | 0 .../{ => web/logos}/ProjectLogo/index.tsx | 3 +- .../{ => web/logos}/ProjectLogo/types.ts | 0 .../components/web/logos/index.ts | 8 + .../Popover/__storybook__/Popover.mdx | 4 +- .../Popover/__storybook__/stories.tsx | 2 +- .../{ => web/popovers}/Popover/index.tsx | 2 + .../{ => web/popovers}/Popover/styled.tsx | 10 +- .../{ => web/popovers}/Popover/types.ts | 4 + .../{ => web/popovers}/Popover/utils.ts | 0 .../components/web/popovers/index.ts | 4 + .../Scrollbar/__storybook__/Scrollbar.mdx | 4 +- .../Scrollbar/__storybook__/stories.tsx | 2 +- .../{ => web/scrollbars}/Scrollbar/index.tsx | 0 .../{ => web/scrollbars}/Scrollbar/styled.ts | 14 +- .../{ => web/scrollbars}/Scrollbar/types.ts | 0 .../components/web/scrollbars/index.ts | 4 + .../__storybook__/TypographyWithEllipsis.mdx | 2 +- .../__storybook__/stories.tsx | 0 .../TypographyWithEllipsis/index.tsx | 12 +- .../TypographyWithEllipsis/types.ts | 0 .../{ => web}/typographies/index.ts | 3 + packages/design-system/hooks/common/index.ts | 5 + .../hooks/{ => common}/usePopover/index.ts | 6 +- packages/design-system/hooks/native/index.ts | 3 + .../hooks/native/useColorMode/index.ts | 5 + packages/design-system/hooks/web/index.ts | 9 + .../{ => web}/useLogoOverrides/constants.ts | 0 .../hooks/{ => web}/useLogoOverrides/index.ts | 0 .../hooks/{ => web}/useLogoOverrides/types.ts | 0 .../hooks/{ => web}/useResponsive/index.ts | 10 +- .../hooks/web/useResponsive/types.ts | 5 + packages/design-system/index.ts | 69 - .../design-system/layouts/common/index.ts | 1 + .../native/BottomNavigationLayout/index.tsx | 48 + .../native/BottomNavigationLayout/styles.ts | 27 + .../native/BottomNavigationLayout/types.ts | 16 + .../DrawerContent/DrawerItem/index.tsx | 41 + .../DrawerContent/DrawerItem/styles.ts | 20 + .../DrawerContent/DrawerItem/types.ts | 7 + .../DrawerContent/index.tsx | 27 + .../DrawerContent/styles.ts | 32 + .../DrawerContent/types.ts | 9 + .../SidebarNavigationLayout/Header/index.tsx | 19 + .../SidebarNavigationLayout/Header/styles.ts | 11 + .../native/SidebarNavigationLayout/index.tsx | 35 + .../native/SidebarNavigationLayout/styles.ts | 27 + .../native/SidebarNavigationLayout/types.ts | 28 + .../design-system/layouts/native/index.ts | 7 + packages/design-system/layouts/web/index.ts | 1 + packages/design-system/package.json | 68 +- .../design-system/providers/common/index.ts | 1 + .../providers/native/ThemeProvider/index.tsx | 74 + .../providers/native/ThemeProvider/types.ts | 10 + .../design-system/providers/native/index.ts | 5 + .../{ => web}/MotionLazyProvider/index.tsx | 1 + .../{ => web}/SnackbarProvider/index.tsx | 0 .../{ => web}/SnackbarProvider/types.ts | 0 .../{ => web}/ThemeProvider/index.tsx | 12 +- .../{ => web}/ThemeProvider/types.ts | 8 +- packages/design-system/providers/web/index.ts | 11 + packages/design-system/styles/common/index.ts | 1 + packages/design-system/styles/font.ts | 15 - .../design-system/styles/native/gradient.ts | 41 + packages/design-system/styles/native/index.ts | 9 + .../design-system/styles/native/palette.ts | 81 + .../design-system/styles/native/shadow.ts | 33 + .../styles/native/systemTokens.ts | 164 + .../styles/native/transparent.ts | 144 + packages/design-system/styles/native/types.ts | 199 + .../design-system/styles/native/typography.ts | 118 + .../styles/{ => web}/breakpoint.ts | 0 packages/design-system/styles/web/globals.ts | 2 + packages/design-system/styles/web/index.ts | 19 + .../styles/{ => web}/material/css.ts | 2 + .../{ => web}/material/custom-shadows.ts | 2 +- .../styles/{ => web}/material/globals.css | 0 .../{ => web}/material/module-augmentation.ts | 4 +- .../{ => web}/material/options/contrast.ts | 4 +- .../overrides/components/accordion.tsx | 0 .../material/overrides/components/alert.tsx | 0 .../material/overrides/components/appbar.tsx | 0 .../overrides/components/autocomplete.tsx | 0 .../material/overrides/components/avatar.tsx | 0 .../overrides/components/backdrop.tsx | 0 .../material/overrides/components/badge.tsx | 0 .../overrides/components/breadcrumbs.tsx | 0 .../overrides/components/button-group.tsx | 0 .../material/overrides/components/button.tsx | 0 .../material/overrides/components/card.tsx | 0 .../overrides/components/checkbox.tsx | 0 .../material/overrides/components/chip.tsx | 0 .../overrides/components/css-baseline.tsx | 0 .../overrides/components/data-grid.tsx | 0 .../overrides/components/date-picker.tsx | 2 +- .../material/overrides/components/dialog.tsx | 0 .../material/overrides/components/drawer.tsx | 0 .../material/overrides/components/fab.tsx | 0 .../material/overrides/components/list.tsx | 0 .../overrides/components/loading-button.tsx | 0 .../material/overrides/components/menu.tsx | 0 .../overrides/components/pagination.tsx | 0 .../material/overrides/components/paper.tsx | 0 .../material/overrides/components/popover.tsx | 0 .../overrides/components/progress.tsx | 0 .../material/overrides/components/radio.tsx | 0 .../material/overrides/components/rating.tsx | 0 .../material/overrides/components/select.tsx | 0 .../overrides/components/skeleton.tsx | 0 .../material/overrides/components/slider.tsx | 0 .../material/overrides/components/stepper.tsx | 0 .../overrides/components/svg-icon.tsx | 0 .../material/overrides/components/switch.tsx | 0 .../material/overrides/components/table.tsx | 0 .../material/overrides/components/tabs.tsx | 0 .../overrides/components/textfield.tsx | 0 .../overrides/components/timeline.tsx | 0 .../overrides/components/toggle-button.tsx | 0 .../material/overrides/components/tooltip.tsx | 0 .../overrides/components/tree-view.tsx | 0 .../overrides/components/typography.tsx | 0 .../material/overrides/default-props.tsx | 4 +- .../{ => web}/material/overrides/index.ts | 0 .../design-system/styles/{ => web}/palette.ts | 2 +- .../design-system/styles/{ => web}/presets.ts | 4 +- .../design-system/styles/{ => web}/shadow.ts | 4 +- .../styles/{ => web}/tailwind/globals.css | 0 .../{ => web}/tailwind/plugins/index.ts | 0 .../{ => web}/tailwind/plugins/types.ts | 0 .../design-system/{ => styles/web}/types.ts | 0 .../styles/{ => web}/typography.ts | 0 packages/design-system/tailwind.config.js | 12 +- packages/design-system/tsconfig.build.json | 19 +- packages/design-system/tsconfig.json | 2 +- packages/design-system/tsup.config.ts | 32 + packages/design-system/utils/common/index.ts | 1 + packages/design-system/utils/native/index.ts | 4 + .../native/withNativeController/index.tsx | 53 + .../native/withNativeController/types.ts | 10 + packages/design-system/utils/web/index.ts | 1 + packages/graphql/CHANGELOG.md | 7 + packages/graphql/package.json | 2 +- packages/provider/CHANGELOG.md | 7 + packages/provider/package.json | 2 +- packages/test/CHANGELOG.md | 6 + packages/test/package.json | 2 +- packages/test/utils/mocks.ts | 2 +- packages/tsconfig/CHANGELOG.md | 6 + packages/tsconfig/lib.json | 7 +- packages/tsconfig/package.json | 2 +- packages/utils/CHANGELOG.md | 6 + packages/utils/functions/cookie/types.ts | 42 +- .../functions/token/setTokenAsync/index.ts | 41 +- packages/utils/package.json | 2 +- .../wagtail/.storybook/__mocks__/theme.ts | 10 +- .../.storybook/decorators/withProviders.tsx | 3 +- packages/wagtail/CHANGELOG.md | 10 + .../BannerDescriptionRichText/styled.tsx | 6 +- .../components/Blocks/BannerBlock/styled.tsx | 12 +- .../Blocks/RichTextBlock/styled.tsx | 6 +- .../Blocks/SectionStreamBlock/styled.tsx | 6 +- .../PageTypes/StandardPage/styled.tsx | 7 +- packages/wagtail/package.json | 2 +- packages/wagtail/tailwind.config.js | 12 +- pnpm-lock.yaml | 5368 +++++++++++------ pnpm-workspace.yaml | 12 +- turbo.json | 10 + 985 files changed, 10306 insertions(+), 25114 deletions(-) create mode 100644 .scripts/copy-dts.js delete mode 100644 packages/components/__generated__/ActivityLogsFragment.graphql.ts delete mode 100644 packages/components/__generated__/ActivityLogsPaginationQuery.graphql.ts delete mode 100644 packages/components/__generated__/ActivityLogsQuery.graphql.ts delete mode 100644 packages/components/__generated__/AddProfilePopoverUserQuery.graphql.ts delete mode 100644 packages/components/__generated__/AllProfilesListFragment.graphql.ts delete mode 100644 packages/components/__generated__/AllProfilesListPaginationQuery.graphql.ts delete mode 100644 packages/components/__generated__/ArchiveChatRoomMutation.graphql.ts delete mode 100644 packages/components/__generated__/BlockToggleFragment.graphql.ts delete mode 100644 packages/components/__generated__/BlockToggleMutation.graphql.ts delete mode 100644 packages/components/__generated__/ChangeUserRoleMutation.graphql.ts delete mode 100644 packages/components/__generated__/ChatRoomMessagesListPaginationQuery.graphql.ts delete mode 100644 packages/components/__generated__/ChatRoomParticipantsPaginationQuery.graphql.ts delete mode 100644 packages/components/__generated__/ChatRoomQuery.graphql.ts delete mode 100644 packages/components/__generated__/ChatRoomsQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentCreateMutation.graphql.ts delete mode 100644 packages/components/__generated__/CommentDeleteMutation.graphql.ts delete mode 100644 packages/components/__generated__/CommentItemRefetchQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentItemWithQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentItem_comment.graphql.ts delete mode 100644 packages/components/__generated__/CommentItem_target.graphql.ts delete mode 100644 packages/components/__generated__/CommentPinMutation.graphql.ts delete mode 100644 packages/components/__generated__/CommentUpdateMutation.graphql.ts delete mode 100644 packages/components/__generated__/CommentsForTestingQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentsFragment.graphql.ts delete mode 100644 packages/components/__generated__/CommentsListPaginationQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentsListWithQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentsList_comments.graphql.ts delete mode 100644 packages/components/__generated__/CommentsRefetchQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentsSubscription.graphql.ts delete mode 100644 packages/components/__generated__/CommentsUpdateWithQuery.graphql.ts delete mode 100644 packages/components/__generated__/CommentsWithQuery.graphql.ts delete mode 100644 packages/components/__generated__/CreateChatRoomMutation.graphql.ts delete mode 100644 packages/components/__generated__/FollowToggleMutation.graphql.ts delete mode 100644 packages/components/__generated__/FollowToggleUpdatableFragment.graphql.ts delete mode 100644 packages/components/__generated__/GroupDetailsQuery.graphql.ts delete mode 100644 packages/components/__generated__/GroupTitleFragment.graphql.ts delete mode 100644 packages/components/__generated__/LastMessageFragment.graphql.ts delete mode 100644 packages/components/__generated__/MemberItemFragment.graphql.ts delete mode 100644 packages/components/__generated__/MembersListFragment.graphql.ts delete mode 100644 packages/components/__generated__/MessageItemFragment.graphql.ts delete mode 100644 packages/components/__generated__/MessageUpdateMutation.graphql.ts delete mode 100644 packages/components/__generated__/MessagesListFragment.graphql.ts delete mode 100644 packages/components/__generated__/NotificationItemFragment.graphql.ts delete mode 100644 packages/components/__generated__/NotificationItemWithQuery.graphql.ts delete mode 100644 packages/components/__generated__/NotificationUserMenuFragment.graphql.ts delete mode 100644 packages/components/__generated__/NotificationsListFragment.graphql.ts delete mode 100644 packages/components/__generated__/NotificationsListQuery.graphql.ts delete mode 100644 packages/components/__generated__/NotificationsMarkAllAsReadMutation.graphql.ts delete mode 100644 packages/components/__generated__/NotificationsMarkAsReadMutation.graphql.ts delete mode 100644 packages/components/__generated__/NotificationsPopoverQuery.graphql.ts delete mode 100644 packages/components/__generated__/OrganizationCreateMutation.graphql.ts delete mode 100644 packages/components/__generated__/ProfileComponentFragment.graphql.ts delete mode 100644 packages/components/__generated__/ProfileItemFragment.graphql.ts delete mode 100644 packages/components/__generated__/ProfileUpdateMutation.graphql.ts delete mode 100644 packages/components/__generated__/ProfilesListFragment.graphql.ts delete mode 100644 packages/components/__generated__/ProfilesListQuery.graphql.ts delete mode 100644 packages/components/__generated__/ReactionButtonMutation.graphql.ts delete mode 100644 packages/components/__generated__/ReactionButtonWithQuery.graphql.ts delete mode 100644 packages/components/__generated__/ReactionButton_target.graphql.ts delete mode 100644 packages/components/__generated__/ReadMessagesMutation.graphql.ts delete mode 100644 packages/components/__generated__/RoomFragment.graphql.ts delete mode 100644 packages/components/__generated__/RoomTitleFragment.graphql.ts delete mode 100644 packages/components/__generated__/RoomsListFragment.graphql.ts delete mode 100644 packages/components/__generated__/SendMessageMutation.graphql.ts delete mode 100644 packages/components/__generated__/TitleFragment.graphql.ts delete mode 100644 packages/components/__generated__/UnreadChatMutation.graphql.ts delete mode 100644 packages/components/__generated__/UnreadMessagesCountFragment.graphql.ts delete mode 100644 packages/components/__generated__/UpdateChatRoomMutation.graphql.ts delete mode 100644 packages/components/__generated__/UserMembersListFragment.graphql.ts delete mode 100644 packages/components/__generated__/UserMembersListPaginationQuery.graphql.ts delete mode 100644 packages/components/__generated__/UserProfileQuery.graphql.ts delete mode 100644 packages/components/__generated__/chatRoomsPaginationQuery.graphql.ts delete mode 100644 packages/components/__generated__/notificationsListRefetchable.graphql.ts delete mode 100644 packages/components/__generated__/profilesListRefetchable.graphql.ts delete mode 100644 packages/components/__generated__/useMessageCountUpdateSubscription.graphql.ts delete mode 100644 packages/components/__generated__/useMessagesListSubscription.graphql.ts delete mode 100644 packages/components/__generated__/useNotificationsSubscription.graphql.ts delete mode 100644 packages/components/__generated__/useRoomListSubscription.graphql.ts delete mode 100644 packages/components/__generated__/userMembersListPaginationRefetchable.graphql.ts create mode 100644 packages/components/baseapp-frontend-imports.d.ts delete mode 100644 packages/components/index.ts delete mode 100644 packages/components/modules/__shared__/ActionsOverlay/constants.ts create mode 100644 packages/components/modules/__shared__/README.md rename packages/components/modules/__shared__/{ => common}/constants.ts (100%) create mode 100644 packages/components/modules/__shared__/common/index.ts rename packages/components/modules/__shared__/{ => common}/types.ts (100%) create mode 100644 packages/components/modules/__shared__/native/index.ts rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/DefaultHoverOverlay/index.tsx (87%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/DefaultHoverOverlay/types.ts (100%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/ThreeDotsMenuHoverOverlay/index.tsx (87%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/ThreeDotsMenuHoverOverlay/types.ts (100%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/__storybook__/ActionsOverlay.mdx (99%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/__storybook__/ActionsOverlayOnButton/index.tsx (100%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/__storybook__/stories.tsx (94%) create mode 100644 packages/components/modules/__shared__/web/ActionsOverlay/constants.ts rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/index.tsx (91%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/styled.tsx (100%) rename packages/components/modules/__shared__/{ => web}/ActionsOverlay/types.ts (96%) rename packages/components/modules/__shared__/{ => web}/ReactionButton/__storybook__/ReactionButton.mdx (99%) rename packages/components/modules/__shared__/{ => web}/ReactionButton/__storybook__/ReactionButtonWithQuery/index.tsx (79%) rename packages/components/modules/__shared__/{ => web}/ReactionButton/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/__shared__/{ => web}/ReactionButton/__storybook__/stories.tsx (100%) rename packages/components/modules/__shared__/{ => web}/ReactionButton/index.tsx (93%) rename packages/components/modules/__shared__/{ => web}/ReactionButton/types.ts (74%) rename packages/components/modules/__shared__/{ => web}/SearchNotFoundState/index.tsx (86%) rename packages/components/modules/__shared__/{ => web}/SocialInput/SubmitActions/index.tsx (69%) rename packages/components/modules/__shared__/{ => web}/SocialInput/SubmitActions/types.ts (100%) rename packages/components/modules/__shared__/{ => web}/SocialInput/__storybook__/SocialInput.mdx (97%) rename packages/components/modules/__shared__/{ => web}/SocialInput/__storybook__/SocialInputWithForm/index.tsx (89%) rename packages/components/modules/__shared__/{ => web}/SocialInput/__storybook__/stories.tsx (100%) rename packages/components/modules/__shared__/{ => web}/SocialInput/index.tsx (97%) rename packages/components/modules/__shared__/{ => web}/SocialInput/styled.tsx (100%) rename packages/components/modules/__shared__/{ => web}/SocialInput/types.ts (90%) rename packages/components/modules/__shared__/{ => web}/SocialUpsertActions/__storybook__/SocialUpsertActions.mdx (99%) rename packages/components/modules/__shared__/{ => web}/SocialUpsertActions/__storybook__/stories.tsx (100%) rename packages/components/modules/__shared__/{ => web}/SocialUpsertActions/index.tsx (62%) rename packages/components/modules/__shared__/{ => web}/Timestamp/__storybook__/Timestamp.mdx (95%) rename packages/components/modules/__shared__/{ => web}/Timestamp/__storybook__/stories.tsx (100%) rename packages/components/modules/__shared__/{ => web}/Timestamp/index.tsx (100%) rename packages/components/modules/__shared__/{ => web}/Timestamp/types.ts (100%) rename packages/components/modules/__shared__/{ => web}/UpdateSubmitActions/index.tsx (78%) rename packages/components/modules/__shared__/{ => web}/UpdateSubmitActions/types.ts (100%) rename packages/components/modules/__shared__/{ => web}/index.ts (65%) create mode 100644 packages/components/modules/activity-log/README.md rename packages/components/modules/activity-log/{ => common}/graphql/queries/ActivityLogs.ts (100%) rename packages/components/modules/activity-log/{ => common}/graphql/queries/ActivityLogsFragment.ts (89%) create mode 100644 packages/components/modules/activity-log/common/index.ts rename packages/components/modules/activity-log/{ => common}/types.ts (53%) create mode 100644 packages/components/modules/activity-log/native/index.ts rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/EventFilterChip/index.tsx (100%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/EventFilterChip/types.ts (100%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/LogGroups/index.tsx (93%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/LogGroups/types.ts (74%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/LogItem/index.tsx (100%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/LogItem/types.ts (71%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/constants.ts (100%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/index.tsx (88%) rename packages/components/modules/activity-log/{ => web}/ActivityLogComponent/types.ts (76%) rename packages/components/modules/activity-log/{ => web}/index.ts (83%) delete mode 100644 packages/components/modules/comments/CommentItem/CommentReactionButton/types.ts delete mode 100644 packages/components/modules/comments/CommentUpdate/types.ts create mode 100644 packages/components/modules/comments/README.md rename packages/components/modules/comments/{ => common}/constants.ts (100%) rename packages/components/modules/comments/{ => common}/context/CommentReplyProvider/constants.ts (100%) rename packages/components/modules/comments/{ => common}/context/CommentReplyProvider/index.tsx (100%) rename packages/components/modules/comments/{ => common}/context/CommentReplyProvider/types.ts (100%) rename packages/components/modules/comments/{ => common}/context/useCommentReply/index.tsx (100%) rename packages/components/modules/comments/{ => common}/context/withCommentReplyProvider/index.tsx (100%) rename packages/components/modules/comments/{ => common}/graphql/mutations/CommentCreate.ts (94%) rename packages/components/modules/comments/{ => common}/graphql/mutations/CommentDelete.ts (87%) rename packages/components/modules/comments/{ => common}/graphql/mutations/CommentPin.ts (86%) rename packages/components/modules/comments/{ => common}/graphql/mutations/CommentUpdate.ts (92%) rename packages/components/modules/comments/{ => common}/graphql/queries/CommentItem.ts (100%) rename packages/components/modules/comments/{ => common}/graphql/queries/Comments.ts (100%) rename packages/components/modules/comments/{ => common}/graphql/queries/CommentsList.ts (82%) rename packages/components/modules/comments/{ => common}/graphql/subscriptions/CommentsSubscription.tsx (91%) create mode 100644 packages/components/modules/comments/common/index.ts delete mode 100644 packages/components/modules/comments/context/index.ts create mode 100644 packages/components/modules/comments/native/.keep create mode 100644 packages/components/modules/comments/native/index.ts rename packages/components/modules/comments/{ => web}/CommentCreate/__storybook__/CommentCreate.mdx (95%) rename packages/components/modules/comments/{ => web}/CommentCreate/__storybook__/CommentCreateWithProvider/index.tsx (80%) rename packages/components/modules/comments/{ => web}/CommentCreate/__storybook__/stories.tsx (100%) rename packages/components/modules/comments/{ => web}/CommentCreate/index.tsx (94%) rename packages/components/modules/comments/{ => web}/CommentCreate/types.ts (73%) rename packages/components/modules/comments/{ => web}/CommentItem/CommentPinnedBadge/index.tsx (85%) rename packages/components/modules/comments/{ => web}/CommentItem/CommentPinnedBadge/types.ts (100%) rename packages/components/modules/comments/{ => web}/CommentItem/CommentReactionButton/index.tsx (80%) create mode 100644 packages/components/modules/comments/web/CommentItem/CommentReactionButton/types.ts rename packages/components/modules/comments/{ => web}/CommentItem/CommentReplyButton/index.tsx (80%) rename packages/components/modules/comments/{ => web}/CommentItem/CommentReplyButton/types.ts (100%) rename packages/components/modules/comments/{ => web}/CommentItem/CommentsReplies/index.tsx (91%) rename packages/components/modules/comments/{ => web}/CommentItem/CommentsReplies/styled.tsx (100%) rename packages/components/modules/comments/{ => web}/CommentItem/CommentsReplies/types.ts (79%) rename packages/components/modules/comments/{ => web}/CommentItem/__storybook__/CommentItem.mdx (97%) rename packages/components/modules/comments/{ => web}/CommentItem/__storybook__/CommentItemWithQuery/index.tsx (70%) rename packages/components/modules/comments/{ => web}/CommentItem/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/comments/{ => web}/CommentItem/__storybook__/stories.tsx (100%) rename packages/components/modules/comments/{ => web}/CommentItem/index.tsx (91%) rename packages/components/modules/comments/{ => web}/CommentItem/styled.tsx (100%) rename packages/components/modules/comments/{ => web}/CommentItem/types.ts (74%) rename packages/components/modules/comments/{ => web}/CommentItem/useCommentOptions/index.tsx (82%) rename packages/components/modules/comments/{ => web}/CommentItem/useCommentOptions/types.ts (50%) rename packages/components/modules/comments/{ => web}/CommentUpdate/__storybook__/CommentUpdate.mdx (95%) rename packages/components/modules/comments/{ => web}/CommentUpdate/__storybook__/CommentsUpdateWithQuery/index.tsx (76%) rename packages/components/modules/comments/{ => web}/CommentUpdate/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/comments/{ => web}/CommentUpdate/__storybook__/stories.tsx (100%) rename packages/components/modules/comments/{ => web}/CommentUpdate/index.tsx (92%) create mode 100644 packages/components/modules/comments/web/CommentUpdate/types.ts rename packages/components/modules/comments/{ => web}/Comments/__storybook__/Comments.mdx (97%) rename packages/components/modules/comments/{ => web}/Comments/__storybook__/CommentsWithQuery/index.tsx (64%) rename packages/components/modules/comments/{ => web}/Comments/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/comments/{ => web}/Comments/__storybook__/stories.tsx (100%) rename packages/components/modules/comments/{ => web}/Comments/__tests__/Comments.cy.tsx (100%) rename packages/components/modules/comments/{ => web}/Comments/__tests__/__mocks__/requests.ts (100%) rename packages/components/modules/comments/{ => web}/Comments/__tests__/__mocks__/resolvers.ts (100%) rename packages/components/modules/comments/{ => web}/Comments/__tests__/__utils__/CommentsForTesting/index.tsx (68%) rename packages/components/modules/comments/{ => web}/Comments/index.tsx (91%) rename packages/components/modules/comments/{ => web}/Comments/types.ts (62%) rename packages/components/modules/comments/{ => web}/CommentsList/__storybook__/CommentsList.mdx (96%) rename packages/components/modules/comments/{ => web}/CommentsList/__storybook__/CommentsListWithQuery/index.tsx (70%) rename packages/components/modules/comments/{ => web}/CommentsList/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/comments/{ => web}/CommentsList/__storybook__/stories.tsx (100%) rename packages/components/modules/comments/{ => web}/CommentsList/index.tsx (87%) rename packages/components/modules/comments/{ => web}/CommentsList/types.ts (79%) rename packages/components/modules/comments/{ => web}/index.ts (54%) delete mode 100644 packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/types.ts create mode 100644 packages/components/modules/messages/README.md delete mode 100644 packages/components/modules/messages/__shared__/index.ts rename packages/components/modules/messages/{ => common}/constants.ts (60%) rename packages/components/modules/messages/{ => common}/context/ChatRoomProvider/constants.ts (100%) rename packages/components/modules/messages/{ => common}/context/ChatRoomProvider/index.tsx (100%) rename packages/components/modules/messages/{ => common}/context/ChatRoomProvider/types.ts (100%) rename packages/components/modules/messages/{ => common}/context/useChatRoom/index.tsx (100%) rename packages/components/modules/messages/{ => common}/context/withChatRoomProvider/index.tsx (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/GroupTitle.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/LastMessage.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/MembersList.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/MessageItem.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/MessagesList.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/Room.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/RoomTitle.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/RoomsList.ts (84%) rename packages/components/modules/messages/{ => common}/graphql/fragments/Title.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/fragments/UnreadMessagesCount.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/mutations/ArchiveChatRoom.ts (92%) rename packages/components/modules/messages/{ => common}/graphql/mutations/CreateChatRoom.ts (89%) rename packages/components/modules/messages/{ => common}/graphql/mutations/MessageUpdate.ts (92%) rename packages/components/modules/messages/{ => common}/graphql/mutations/ReadMessages.ts (92%) rename packages/components/modules/messages/{ => common}/graphql/mutations/SendMessage.ts (93%) rename packages/components/modules/messages/{ => common}/graphql/mutations/UnreadChat.ts (92%) rename packages/components/modules/messages/{ => common}/graphql/mutations/UpdateChatRoom.ts (90%) rename packages/components/modules/messages/{ => common}/graphql/queries/ChatRoomQuery.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/queries/ChatRoomsQuery.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/queries/GroupDetailsQuery.ts (100%) rename packages/components/modules/messages/{ => common}/graphql/subscriptions/useMessageCountUpdateSubscription.tsx (93%) rename packages/components/modules/messages/{ => common}/graphql/subscriptions/useMessagesListSubscription.tsx (88%) rename packages/components/modules/messages/{ => common}/graphql/subscriptions/useRoomListSubscription.tsx (94%) create mode 100644 packages/components/modules/messages/common/index.ts create mode 100644 packages/components/modules/messages/common/types.ts rename packages/components/modules/messages/{ => common}/utils.ts (89%) delete mode 100644 packages/components/modules/messages/context/index.ts delete mode 100644 packages/components/modules/messages/index.ts create mode 100644 packages/components/modules/messages/native/index.ts delete mode 100644 packages/components/modules/messages/types.ts rename packages/components/modules/messages/{ => web}/ChatRoom/ChatRoomHeader/ChatRoomOptions/index.tsx (100%) rename packages/components/modules/messages/{ => web}/ChatRoom/ChatRoomHeader/ChatRoomOptions/types.ts (100%) rename packages/components/modules/messages/{ => web}/ChatRoom/ChatRoomHeader/index.tsx (83%) rename packages/components/modules/messages/{ => web}/ChatRoom/ChatRoomHeader/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/ChatRoom/ChatRoomHeader/types.ts (77%) rename packages/components/modules/messages/{ => web}/ChatRoom/index.tsx (87%) rename packages/components/modules/messages/{ => web}/ChatRoom/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/ChatRoom/types.ts (100%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/ChatRoomItem/index.tsx (85%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/ChatRoomItem/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/ChatRoomItem/types.ts (62%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/ChatRoomItem/utils.ts (100%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/EmptyChatRoomsState/index.tsx (91%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/constants.ts (100%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/index.tsx (92%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/ChatRoomsList/types.ts (74%) rename packages/components/modules/messages/{ => web}/CreateChatRoomList/ChatRoomListItem/index.tsx (92%) rename packages/components/modules/messages/{ => web}/CreateChatRoomList/ChatRoomListItem/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/CreateChatRoomList/ChatRoomListItem/types.ts (52%) rename packages/components/modules/messages/{ => web}/CreateChatRoomList/index.tsx (88%) rename packages/components/modules/messages/{ => web}/CreateChatRoomList/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/CreateChatRoomList/types.ts (76%) rename packages/components/modules/messages/{ => web}/CreateGroup/ConnectionsList/index.tsx (83%) rename packages/components/modules/messages/{ => web}/CreateGroup/ConnectionsList/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/CreateGroup/ConnectionsList/types.ts (74%) rename packages/components/modules/messages/{ => web}/CreateGroup/ProfileCard/index.tsx (94%) rename packages/components/modules/messages/{ => web}/CreateGroup/ProfileCard/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/CreateGroup/ProfileCard/types.ts (67%) rename packages/components/modules/messages/{ => web}/CreateGroup/constants.ts (92%) rename packages/components/modules/messages/{ => web}/CreateGroup/index.tsx (94%) rename packages/components/modules/messages/{ => web}/CreateGroup/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/CreateGroup/types.ts (80%) rename packages/components/modules/messages/{ => web}/EditGroup/constants.ts (93%) rename packages/components/modules/messages/{ => web}/EditGroup/index.tsx (89%) rename packages/components/modules/messages/{ => web}/EditGroup/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/EditGroup/types.ts (92%) rename packages/components/modules/messages/{ => web}/GroupDetails/GroupDetailsHeader/index.tsx (80%) rename packages/components/modules/messages/{ => web}/GroupDetails/GroupDetailsHeader/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/GroupDetailsHeader/types.ts (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/AdminOptionsMenu/index.tsx (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/AdminOptionsMenu/types.ts (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/MemberOptionsMenu/index.tsx (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/MemberOptionsMenu/types.ts (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/constants.ts (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/index.tsx (87%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/ProfileCard/types.ts (79%) rename packages/components/modules/messages/{ => web}/GroupDetails/index.tsx (90%) rename packages/components/modules/messages/{ => web}/GroupDetails/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/GroupDetails/types.ts (91%) rename packages/components/modules/messages/{ => web}/MessageUpdate/index.tsx (93%) rename packages/components/modules/messages/{ => web}/MessageUpdate/types.ts (55%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/SystemMessage/index.tsx (85%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/SystemMessage/styled.tsx (100%) create mode 100644 packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/types.ts rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/UserMessage/MessageItem/index.tsx (86%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/UserMessage/MessageItem/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/UserMessage/MessageItem/types.ts (72%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/UserMessage/Timestamp/index.tsx (100%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/UserMessage/Timestamp/types.ts (100%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/UserMessage/index.tsx (98%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/UserMessage/types.ts (87%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/index.tsx (98%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/types.ts (92%) rename packages/components/modules/messages/{ => web}/MessagesList/MessagesGroup/utils.ts (100%) rename packages/components/modules/messages/{ => web}/MessagesList/constants.ts (100%) rename packages/components/modules/messages/{ => web}/MessagesList/index.tsx (87%) rename packages/components/modules/messages/{ => web}/MessagesList/types.ts (78%) rename packages/components/modules/messages/{ => web}/SendMessage/__storybook__/MessagesModule.mdx (96%) rename packages/components/modules/messages/{ => web}/SendMessage/__storybook__/stories.tsx (100%) rename packages/components/modules/messages/{ => web}/SendMessage/index.tsx (94%) rename packages/components/modules/messages/{ => web}/SendMessage/types.ts (69%) rename packages/components/modules/messages/{ => web}/__shared__/EditGroupTitleAndImage/constants.tsx (100%) rename packages/components/modules/messages/{ => web}/__shared__/EditGroupTitleAndImage/index.tsx (88%) rename packages/components/modules/messages/{ => web}/__shared__/EditGroupTitleAndImage/styled.tsx (100%) rename packages/components/modules/messages/{ => web}/__shared__/EditGroupTitleAndImage/types.ts (84%) rename packages/components/modules/messages/{ => web}/__shared__/EditGroupTitleAndImage/utils.ts (100%) rename packages/components/modules/messages/{ => web/__shared__}/EmptyProfilesListState/index.tsx (95%) rename packages/components/modules/messages/{ => web}/__shared__/LeaveGroupDialog/index.tsx (92%) rename packages/components/modules/messages/{ => web}/__shared__/LeaveGroupDialog/types.ts (100%) create mode 100644 packages/components/modules/messages/web/__shared__/types.ts create mode 100644 packages/components/modules/messages/web/index.ts create mode 100644 packages/components/modules/navigations/README.md create mode 100644 packages/components/modules/navigations/common/index.ts create mode 100644 packages/components/modules/navigations/native/index.ts rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/CurrentUser/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/LogoutItem/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/LogoutItem/types.ts (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/MenuItems/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/MenuItems/types.ts (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__storybook__/AccountPopover.mdx (97%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__storybook__/static/profile-1.png (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__storybook__/static/profile-2.png (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__storybook__/static/profile-3.png (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__storybook__/static/profile-4.png (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__storybook__/stories.tsx (94%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__tests__/AccountPopover.cy.tsx (98%) rename packages/components/modules/navigations/{Header/AccountMenu/AccountPopover/__tests__/__utils__ => web/Header/AccountMenu/AccountPopover/__tests__}/AccountPopoverForTesting/index.tsx (68%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__tests__/__mocks__/profiles.ts (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__tests__/__mocks__/theme.ts (72%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/__tests__/__mocks__/user.ts (100%) rename packages/components/modules/navigations/{Header/AccountMenu/AccountPopover/__tests__/__utils__ => web/Header/AccountMenu/AccountPopover/__tests__}/withProviders/index.tsx (86%) rename packages/components/modules/navigations/{Header/AccountMenu/AccountPopover/__tests__/__utils__ => web/Header/AccountMenu/AccountPopover/__tests__}/withProviders/types.ts (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/index.tsx (91%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/styled.tsx (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/AccountPopover/types.ts (75%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/Header/AccountMenu/types.ts (100%) rename packages/components/modules/navigations/{ => web}/Header/__storybook__/Header.mdx (90%) rename packages/components/modules/navigations/{ => web}/Header/__storybook__/stories.tsx (86%) rename packages/components/modules/navigations/{ => web}/Header/index.tsx (89%) rename packages/components/modules/navigations/{ => web}/Header/styled.tsx (95%) rename packages/components/modules/navigations/{ => web}/Header/types.ts (96%) rename packages/components/modules/navigations/{ => web}/NavCentered/__storybook__/NavCentered.mdx (96%) rename packages/components/modules/navigations/{ => web}/NavCentered/__storybook__/stories.tsx (86%) rename packages/components/modules/navigations/{ => web}/NavCentered/index.tsx (68%) rename packages/components/modules/navigations/{ => web}/NavCentered/types.ts (100%) rename packages/components/modules/navigations/{ => web}/NavHorizontal/HeaderShadow/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/NavHorizontal/__storybook__/NavHorizontal.mdx (95%) rename packages/components/modules/navigations/{ => web}/NavHorizontal/__storybook__/stories.tsx (85%) rename packages/components/modules/navigations/{ => web}/NavHorizontal/index.tsx (77%) rename packages/components/modules/navigations/{ => web}/NavHorizontal/types.ts (100%) rename packages/components/modules/navigations/{ => web}/NavMini/NavSectionMini/NavList/NavItem/index.tsx (92%) rename packages/components/modules/navigations/{ => web}/NavMini/NavSectionMini/NavList/NavItem/styled.tsx (100%) rename packages/components/modules/navigations/{ => web}/NavMini/NavSectionMini/NavList/index.tsx (97%) rename packages/components/modules/navigations/{ => web}/NavMini/NavSectionMini/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/NavMini/__storybook__/NavMini.mdx (91%) rename packages/components/modules/navigations/{ => web}/NavMini/__storybook__/stories.tsx (77%) rename packages/components/modules/navigations/{ => web}/NavMini/index.tsx (80%) rename packages/components/modules/navigations/{ => web}/NavMini/types.ts (79%) rename packages/components/modules/navigations/{ => web}/NavVertical/__storybook__/NavVertical.mdx (94%) rename packages/components/modules/navigations/{ => web}/NavVertical/__storybook__/stories.tsx (78%) rename packages/components/modules/navigations/{ => web}/NavVertical/index.tsx (78%) rename packages/components/modules/navigations/{ => web}/NavVertical/types.ts (79%) rename packages/components/modules/navigations/{ => web}/NavigationLayout/MainContainer/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/NavigationLayout/MainContainer/styled.tsx (100%) rename packages/components/modules/navigations/{ => web}/NavigationLayout/MainContainer/types.ts (100%) rename packages/components/modules/navigations/{ => web}/NavigationLayout/__storybook__/NavigationLayout.mdx (94%) rename packages/components/modules/navigations/{ => web}/NavigationLayout/__storybook__/stories.tsx (87%) rename packages/components/modules/navigations/{ => web}/NavigationLayout/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/NavigationLayout/types.ts (88%) rename packages/components/modules/navigations/{ => web}/ViewportHeightContainer/index.tsx (100%) rename packages/components/modules/navigations/{ => web}/ViewportHeightContainer/styled.tsx (100%) rename packages/components/modules/navigations/{ => web}/ViewportHeightContainer/types.ts (73%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionHorizontal/NavList/NavItem/index.tsx (92%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionHorizontal/NavList/NavItem/styled.tsx (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionHorizontal/NavList/NavItem/types.ts (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionHorizontal/NavList/index.tsx (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionHorizontal/NavList/types.ts (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionHorizontal/index.tsx (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionHorizontal/types.ts (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionVertical/Group/NavList/NavItem/index.tsx (96%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionVertical/Group/NavList/NavItem/styled.tsx (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionVertical/Group/NavList/index.tsx (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionVertical/Group/index.tsx (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionVertical/Group/types.ts (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavSectionVertical/index.tsx (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavToggleButton/index.tsx (87%) rename packages/components/modules/navigations/{shared => web/__shared__}/NavToggleButton/types.ts (74%) rename packages/components/modules/navigations/{shared => web/__shared__}/VerticalDrawer/index.tsx (88%) rename packages/components/modules/navigations/{shared => web/__shared__}/VerticalDrawer/types.ts (100%) rename packages/components/modules/navigations/{shared => web/__shared__}/useActiveLink.ts (100%) rename packages/components/modules/navigations/{ => web}/constants.ts (100%) rename packages/components/modules/navigations/{ => web}/index.ts (100%) rename packages/components/modules/navigations/{ => web}/types.ts (100%) delete mode 100644 packages/components/modules/notifications/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts create mode 100644 packages/components/modules/notifications/README.md rename packages/components/modules/notifications/{ => common}/constants.ts (100%) rename packages/components/modules/notifications/{ => common}/graphql/mutations/NotificationsMarkAllAsRead.ts (95%) rename packages/components/modules/notifications/{ => common}/graphql/mutations/NotificationsMarkAsRead.ts (91%) rename packages/components/modules/notifications/{ => common}/graphql/queries/NotificationItem.ts (100%) rename packages/components/modules/notifications/{ => common}/graphql/queries/NotificationUserMenu.ts (100%) rename packages/components/modules/notifications/{ => common}/graphql/queries/NotificationsList.ts (100%) rename packages/components/modules/notifications/{ => common}/graphql/queries/NotificationsPopover.ts (100%) rename packages/components/modules/notifications/{ => common}/graphql/subscriptions/useNotificationsSubscription.ts (90%) create mode 100644 packages/components/modules/notifications/common/index.ts create mode 100644 packages/components/modules/notifications/native/index.ts rename packages/components/modules/notifications/{ => web}/NotificationsList/EmptyState/index.tsx (95%) rename packages/components/modules/notifications/{ => web}/NotificationsList/EmptyState/styled.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/LoadingState/index.tsx (91%) rename packages/components/modules/notifications/{ => web}/NotificationsList/MarkAllAsReadButton/index.tsx (86%) rename packages/components/modules/notifications/{ => web}/NotificationsList/MarkAllAsReadButton/types.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/CommentCreated/index.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/CommentReply/index.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationAvatar/index.tsx (93%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationAvatar/types.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/index.tsx (92%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/styled.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/types.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/index.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/types.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationContent/index.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationContent/types.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/NotificationRoot/index.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/Notification/index.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/NotificationItemRenderer/index.tsx (93%) create mode 100644 packages/components/modules/notifications/web/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/ReactionCreated/index.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/__storybook__/NotificationItem.mdx (99%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/__storybook__/NotificationItemWithQuery/index.tsx (86%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/__storybook__/stories.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/index.tsx (84%) rename packages/components/modules/notifications/{ => web}/NotificationsList/NotificationItem/types.ts (85%) rename packages/components/modules/notifications/{ => web}/NotificationsList/__storybook__/NotificationsList.mdx (99%) rename packages/components/modules/notifications/{ => web}/NotificationsList/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/__storybook__/stories.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/constants.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/index.tsx (88%) rename packages/components/modules/notifications/{ => web}/NotificationsList/styled.tsx (100%) rename packages/components/modules/notifications/{ => web}/NotificationsList/types.ts (94%) rename packages/components/modules/notifications/{ => web}/NotificationsPopover/__storybook__/NotificationsPopover.mdx (99%) rename packages/components/modules/notifications/{ => web}/NotificationsPopover/__storybook__/mockResolvers.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsPopover/__storybook__/stories.tsx (100%) rename packages/components/modules/notifications/{__tests__/__utils__/CustomNotificationItemForTest => web/NotificationsPopover/__tests__/CustomNotificationItemForTesting}/index.tsx (88%) rename packages/components/modules/notifications/{__tests__/__utils__/CustomNotificationListForTest => web/NotificationsPopover/__tests__/CustomNotificationListForTesting}/index.tsx (75%) rename packages/components/modules/notifications/{__tests__/Notifications.cy.tsx => web/NotificationsPopover/__tests__/NotificationsPopover.cy.tsx} (92%) rename packages/components/modules/notifications/{__tests__/__utils__/NotificationsForTesting => web/NotificationsPopover/__tests__/NotificationsPopoverForTesting}/index.tsx (78%) rename packages/components/modules/notifications/{ => web/NotificationsPopover}/__tests__/__mocks__/requests.ts (100%) rename packages/components/modules/notifications/{ => web}/NotificationsPopover/index.tsx (82%) rename packages/components/modules/notifications/{ => web}/NotificationsPopover/types.ts (100%) rename packages/components/modules/notifications/{ => web}/index.ts (89%) delete mode 100644 packages/components/modules/profiles/Members/index.tsx delete mode 100644 packages/components/modules/profiles/Members/types.ts delete mode 100644 packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/types.ts delete mode 100644 packages/components/modules/profiles/ProfilePopover/index.ts create mode 100644 packages/components/modules/profiles/README.md create mode 100644 packages/components/modules/profiles/common/constants.ts rename packages/components/modules/profiles/{ => common}/graphql/mutations/BlockToggle.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/mutations/ChangeUserRole.ts (92%) rename packages/components/modules/profiles/{ => common}/graphql/mutations/FollowToggle.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/mutations/OrganizationCreate.ts (92%) rename packages/components/modules/profiles/{ => common}/graphql/mutations/ProfileUpdate.ts (71%) rename packages/components/modules/profiles/{ => common}/graphql/queries/AddProfilePopover.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/AllProfilesList.ts (80%) rename packages/components/modules/profiles/{ => common}/graphql/queries/BlockToggle.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/FollowToggleUpdatableFragment.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/MemberItem.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/ProfileComponent.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/ProfileItem.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/ProfilesList.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/UserMembersList.ts (100%) rename packages/components/modules/profiles/{ => common}/graphql/queries/UserProfile.ts (100%) create mode 100644 packages/components/modules/profiles/common/index.ts create mode 100644 packages/components/modules/profiles/common/types.ts create mode 100644 packages/components/modules/profiles/common/utils.ts create mode 100644 packages/components/modules/profiles/common/zod.ts delete mode 100644 packages/components/modules/profiles/index.ts create mode 100644 packages/components/modules/profiles/native/ProfileComponent/index.tsx create mode 100644 packages/components/modules/profiles/native/ProfileComponent/styles.ts create mode 100644 packages/components/modules/profiles/native/ProfileComponent/types.ts create mode 100644 packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/index.tsx create mode 100644 packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/styles.ts create mode 100644 packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/types.ts create mode 100644 packages/components/modules/profiles/native/ProfileSettingsComponent/index.tsx create mode 100644 packages/components/modules/profiles/native/ProfileSettingsComponent/styles.ts create mode 100644 packages/components/modules/profiles/native/ProfileSettingsComponent/types.ts create mode 100644 packages/components/modules/profiles/native/index.ts rename packages/components/modules/profiles/{ => web}/ProfileComponent/BlockButtonWithDialog/constants.ts (100%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/BlockButtonWithDialog/index.tsx (90%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/BlockButtonWithDialog/styled.tsx (100%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/BlockButtonWithDialog/types.ts (76%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/FollowToggleButton/index.tsx (87%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/FollowToggleButton/types.ts (100%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/index.tsx (93%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/styled.tsx (100%) rename packages/components/modules/profiles/{ => web}/ProfileComponent/types.ts (53%) rename packages/components/modules/profiles/{Members => web/ProfileMembers}/MemberItem/index.tsx (92%) rename packages/components/modules/profiles/{Members => web/ProfileMembers}/MemberItem/styled.tsx (100%) rename packages/components/modules/profiles/{Members => web/ProfileMembers}/MemberItem/types.ts (70%) rename packages/components/modules/profiles/{Members => web/ProfileMembers}/MemberListItem/index.tsx (97%) rename packages/components/modules/profiles/{Members => web/ProfileMembers}/MemberListItem/types.ts (67%) rename packages/components/modules/profiles/{Members => web/ProfileMembers}/MembersList/index.tsx (86%) create mode 100644 packages/components/modules/profiles/web/ProfileMembers/MembersList/types.ts rename packages/components/modules/profiles/{Members => web/ProfileMembers}/constants.ts (100%) create mode 100644 packages/components/modules/profiles/web/ProfileMembers/index.tsx rename packages/components/modules/profiles/{Members => web/ProfileMembers}/styled.tsx (100%) create mode 100644 packages/components/modules/profiles/web/ProfileMembers/types.ts rename packages/components/modules/profiles/{Members => web/ProfileMembers}/utils.ts (100%) create mode 100644 packages/components/modules/profiles/web/index.ts rename packages/components/modules/profiles/{ProfilePopover/AddProfileModal => web/profile-popover/AddProfileMenuItem/CreateProfileModal}/constants.ts (100%) rename packages/components/modules/profiles/{ProfilePopover/AddProfileModal => web/profile-popover/AddProfileMenuItem/CreateProfileModal}/index.tsx (92%) rename packages/components/modules/profiles/{ProfilePopover/AddProfileModal => web/profile-popover/AddProfileMenuItem/CreateProfileModal}/styled.tsx (100%) rename packages/components/modules/profiles/{ProfilePopover/AddProfileModal => web/profile-popover/AddProfileMenuItem/CreateProfileModal}/types.ts (87%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/AddProfileMenuItem/index.tsx (77%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/AddProfileMenuItem/styled.tsx (100%) create mode 100644 packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/types.ts rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/CurrentProfile/index.tsx (97%) create mode 100644 packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/index.tsx create mode 100644 packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/styled.tsx rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/LoadingState/index.tsx (100%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/LoadingState/styled.tsx (100%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/ProfileMenuItem/index.tsx (87%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/ProfileMenuItem/styled.tsx (100%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/ProfileMenuItem/types.ts (80%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/index.tsx (90%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/styled.tsx (100%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/ProfilesList/types.ts (89%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/SwitchProfileMenu/index.tsx (88%) rename packages/components/modules/profiles/{ProfilePopover => web/profile-popover}/SwitchProfileMenu/types.ts (100%) create mode 100644 packages/components/tsup.config.ts create mode 100644 packages/config/.eslintrc-with-restricted-paths.js create mode 100644 packages/design-system/.gitignore delete mode 100644 packages/design-system/.storybook/__mocks__/next-font.ts delete mode 100644 packages/design-system/components/avatars/AvatarWithPlaceholder/styled.tsx delete mode 100644 packages/design-system/components/avatars/CircledAvatar/styled.tsx create mode 100644 packages/design-system/components/common/index.ts delete mode 100644 packages/design-system/components/dialogs/Dialog/styled.tsx delete mode 100644 packages/design-system/components/images/index.ts delete mode 100644 packages/design-system/components/inputs/Searchbar/index.tsx create mode 100644 packages/design-system/components/native/appbars/AppBar/index.tsx create mode 100644 packages/design-system/components/native/appbars/AppBar/styles.ts create mode 100644 packages/design-system/components/native/appbars/AppBar/types.ts create mode 100644 packages/design-system/components/native/appbars/index.ts create mode 100644 packages/design-system/components/native/buttons/Button/index.tsx create mode 100644 packages/design-system/components/native/buttons/Button/styles.ts create mode 100644 packages/design-system/components/native/buttons/Button/types.ts create mode 100644 packages/design-system/components/native/buttons/IconButton/index.tsx create mode 100644 packages/design-system/components/native/buttons/index.ts create mode 100644 packages/design-system/components/native/displays/FeedbackScreen/index.tsx create mode 100644 packages/design-system/components/native/displays/LoadingScreen/index.tsx create mode 100644 packages/design-system/components/native/displays/LoadingScreen/styles.ts create mode 100644 packages/design-system/components/native/displays/LoadingScreen/types.ts create mode 100644 packages/design-system/components/native/displays/index.ts create mode 100644 packages/design-system/components/native/drawers/BottomDrawer/index.tsx create mode 100644 packages/design-system/components/native/drawers/BottomDrawer/styles.ts create mode 100644 packages/design-system/components/native/drawers/BottomDrawer/types.ts create mode 100644 packages/design-system/components/native/drawers/index.ts create mode 100644 packages/design-system/components/native/icons/CameraIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/CameraOutlinedIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/EditIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/FlowerIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/HomeIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/ImageIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/MenuIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/MessageIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/OptionsIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/ProfileIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/SettingsIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/ShareIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/TrashIcon/index.tsx create mode 100644 packages/design-system/components/native/icons/index.ts create mode 100644 packages/design-system/components/native/icons/types.ts create mode 100644 packages/design-system/components/native/images/Image/index.tsx create mode 100644 packages/design-system/components/native/images/Image/types.ts create mode 100644 packages/design-system/components/native/images/index.ts create mode 100644 packages/design-system/components/native/inputs/PasswordInput/index.tsx create mode 100644 packages/design-system/components/native/inputs/TextInput/index.tsx create mode 100644 packages/design-system/components/native/inputs/TextInput/styles.ts create mode 100644 packages/design-system/components/native/inputs/TextInput/types.ts create mode 100644 packages/design-system/components/native/inputs/index.ts create mode 100644 packages/design-system/components/native/typographies/Text/index.tsx create mode 100644 packages/design-system/components/native/typographies/Text/styles.ts create mode 100644 packages/design-system/components/native/typographies/Text/types.ts create mode 100644 packages/design-system/components/native/typographies/index.ts create mode 100644 packages/design-system/components/native/views/CollapsibleView/index.tsx create mode 100644 packages/design-system/components/native/views/CollapsibleView/styles.ts create mode 100644 packages/design-system/components/native/views/CollapsibleView/types.ts create mode 100644 packages/design-system/components/native/views/PageViewWithHeader/index.tsx create mode 100644 packages/design-system/components/native/views/PageViewWithHeader/styles.ts create mode 100644 packages/design-system/components/native/views/PageViewWithHeader/types.ts create mode 100644 packages/design-system/components/native/views/ParallaxScrollView/index.tsx create mode 100644 packages/design-system/components/native/views/ParallaxScrollView/styles.ts create mode 100644 packages/design-system/components/native/views/ParallaxScrollView/types.ts create mode 100644 packages/design-system/components/native/views/View/index.tsx create mode 100644 packages/design-system/components/native/views/View/styles.ts create mode 100644 packages/design-system/components/native/views/View/types.ts create mode 100644 packages/design-system/components/native/views/index.ts rename packages/design-system/components/{ => web}/animate/MotionContainer/index.tsx (90%) rename packages/design-system/components/{ => web}/animate/MotionContainer/types.ts (100%) rename packages/design-system/components/{ => web}/animate/MotionViewport/index.tsx (90%) rename packages/design-system/components/{ => web}/animate/MotionViewport/types.ts (100%) rename packages/design-system/components/{ => web}/animate/index.ts (91%) rename packages/design-system/components/{ => web}/animate/types.ts (87%) rename packages/design-system/components/{ => web}/animate/variants/actions.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/background.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/bounce.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/container.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/fade.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/flip.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/index.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/path.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/rotate.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/scale.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/slide.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/transition.ts (100%) rename packages/design-system/components/{ => web}/animate/variants/zoom.ts (100%) rename packages/design-system/components/{ => web}/avatars/AvatarWithPlaceholder/__storybook__/AvatarWithPlaceholder.mdx (99%) rename packages/design-system/components/{ => web}/avatars/AvatarWithPlaceholder/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/avatars/AvatarWithPlaceholder/index.tsx (100%) create mode 100644 packages/design-system/components/web/avatars/AvatarWithPlaceholder/styled.tsx rename packages/design-system/components/{ => web}/avatars/AvatarWithPlaceholder/types.ts (100%) rename packages/design-system/components/{ => web}/avatars/CircledAvatar/index.tsx (97%) create mode 100644 packages/design-system/components/web/avatars/CircledAvatar/styled.tsx rename packages/design-system/components/{ => web}/avatars/CircledAvatar/types.ts (100%) rename packages/design-system/components/{ => web}/avatars/ClickableAvatar/__storybook__/ClickableAvatar.mdx (99%) rename packages/design-system/components/{ => web}/avatars/ClickableAvatar/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/avatars/ClickableAvatar/index.tsx (93%) rename packages/design-system/components/{ => web}/avatars/ClickableAvatar/styled.tsx (100%) rename packages/design-system/components/{ => web}/avatars/ClickableAvatar/types.ts (100%) rename packages/design-system/components/{ => web}/avatars/index.ts (96%) rename packages/design-system/components/{ => web}/buttons/FileUploadButton/__storybook__/FileUploadButton.mdx (100%) rename packages/design-system/components/{ => web}/buttons/FileUploadButton/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/buttons/FileUploadButton/index.tsx (99%) rename packages/design-system/components/{ => web}/buttons/FileUploadButton/types.ts (100%) rename packages/design-system/components/{ => web}/buttons/IconButton/__storybook__/IconButton.mdx (93%) rename packages/design-system/components/{ => web}/buttons/IconButton/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/buttons/IconButton/index.tsx (100%) rename packages/design-system/components/{ => web}/buttons/IconButton/styled.tsx (77%) rename packages/design-system/components/{ => web}/buttons/IconButton/types.ts (100%) rename packages/design-system/components/{ => web}/buttons/index.ts (93%) rename packages/design-system/components/{ => web}/dialogs/ConfirmDialog/__storybook__/ConfirmDialog.mdx (94%) rename packages/design-system/components/{ => web}/dialogs/ConfirmDialog/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/dialogs/ConfirmDialog/index.tsx (98%) rename packages/design-system/components/{ => web}/dialogs/ConfirmDialog/types.ts (100%) rename packages/design-system/components/{ => web}/dialogs/Dialog/__storybook__/BaseDialog.mdx (96%) rename packages/design-system/components/{ => web}/dialogs/Dialog/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/dialogs/Dialog/index.tsx (85%) create mode 100644 packages/design-system/components/web/dialogs/Dialog/styled.tsx rename packages/design-system/components/{ => web}/dialogs/Dialog/types.ts (100%) rename packages/design-system/components/{ => web}/dialogs/index.ts (92%) rename packages/design-system/components/{ => web}/displays/LoadingState/__storybook__/LoadingState.mdx (94%) rename packages/design-system/components/{ => web}/displays/LoadingState/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/displays/LoadingState/index.tsx (100%) rename packages/design-system/components/{ => web}/displays/LoadingState/types.ts (100%) rename packages/design-system/components/{ => web}/displays/index.ts (87%) rename packages/design-system/components/{ => web}/drawers/SwipeableDrawer/__storybook__/SwipeableDrawer.mdx (99%) rename packages/design-system/components/{ => web}/drawers/SwipeableDrawer/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/drawers/SwipeableDrawer/constants.ts (100%) rename packages/design-system/components/{ => web}/drawers/SwipeableDrawer/index.tsx (98%) rename packages/design-system/components/{ => web}/drawers/SwipeableDrawer/styled.tsx (66%) rename packages/design-system/components/{ => web}/drawers/SwipeableDrawer/types.ts (100%) rename packages/design-system/components/{ => web}/drawers/index.ts (88%) rename packages/design-system/components/{ => web/dropzones}/Dropzone/__storybook__/dropzone.mdx (97%) rename packages/design-system/components/{ => web/dropzones}/Dropzone/__storybook__/stories.tsx (94%) rename packages/design-system/components/{ => web/dropzones}/Dropzone/index.tsx (99%) rename packages/design-system/components/{ => web/dropzones}/Dropzone/styled.tsx (74%) rename packages/design-system/components/{ => web/dropzones}/Dropzone/types.ts (76%) create mode 100644 packages/design-system/components/web/dropzones/index.ts rename packages/design-system/components/{ => web}/icons/AddIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/ArchiveIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/AttachmentIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/AvatarUploadFallbackIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/BaseAppLogoCondensed/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/BlockIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/CheckMarkIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/ChevronIcon/constants.ts (100%) rename packages/design-system/components/{ => web}/icons/ChevronIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/ChevronIcon/types.ts (100%) rename packages/design-system/components/{ => web}/icons/CloseIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/CommentReplyIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/CopyIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/DownloadIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/FavoriteIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/FavoriteSelectedIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/LinkIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/MentionIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/MenuIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/NotificationBellIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/OutlinedEditIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/PenEditIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/PinIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/README.md (100%) rename packages/design-system/components/{ => web}/icons/SendMessageIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/ShareIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/ThreeDotsIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/TrashCanIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/UnarchiveIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/UnblockIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/UnreadIcon/index.tsx (100%) rename packages/design-system/components/{ => web}/icons/__storybook__/Iconography.mdx (100%) rename packages/design-system/components/{ => web}/icons/index.ts (99%) rename packages/design-system/components/{ => web}/illustrations/ABTestingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/AboutUsImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/AddProductsToCartImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/BeingCreativeImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/BringSolutionsImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/BusinessDealImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/ChartsImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/ClickbaitImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/CodingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/ComingSoonImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/DesignThinkingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/DigitalAdsPerformanceImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/DownloadingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/DrawingWIthTabletImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/FixingBugsImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/GetInspiredImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/GiftingOnlineImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/InterfaceTestingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/InvestingTestingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/ListeningFeedbackImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/LoadingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/MarketingTargetImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/ModularCodingApplicationImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/NewsletterImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/OfficeDeskImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/OverworkedEmployee/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/PageUnderConstructionImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/PaymentWithCardImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/ProtectPrivacyImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/SearchingImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/ShareImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/SocialMediaDiscussionImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/SuccessImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/TrophyAwardsImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/VideoConferenceImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/VirtualRealityImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/WeAreHiringImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/WeGotAProblemImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/WelcomeImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/WorkFromHomeImage/index.tsx (100%) rename packages/design-system/components/{ => web}/illustrations/__storybook__/Illustrations.mdx (100%) rename packages/design-system/components/{ => web}/illustrations/index.ts (99%) rename packages/design-system/components/{ => web/images}/Iconify/index.tsx (100%) rename packages/design-system/components/{ => web/images}/Iconify/types.ts (100%) rename packages/design-system/components/{ => web}/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx (100%) rename packages/design-system/components/{ => web}/images/ImageWithFallback/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/images/ImageWithFallback/index.tsx (98%) rename packages/design-system/components/{ => web}/images/ImageWithFallback/types.ts (100%) create mode 100644 packages/design-system/components/web/images/index.ts rename packages/design-system/components/{ => web}/inputs/Searchbar/__storybook__/Searchbar.mdx (100%) rename packages/design-system/components/{ => web}/inputs/Searchbar/__storybook__/stories.tsx (100%) create mode 100644 packages/design-system/components/web/inputs/Searchbar/index.tsx rename packages/design-system/components/{ => web}/inputs/Searchbar/types.ts (100%) rename packages/design-system/components/{ => web}/inputs/SocialTextField/__storybook__/SocialTextField.mdx (99%) rename packages/design-system/components/{ => web}/inputs/SocialTextField/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/inputs/SocialTextField/index.tsx (86%) rename packages/design-system/components/{ => web}/inputs/SocialTextField/styled.tsx (61%) rename packages/design-system/components/{ => web}/inputs/SocialTextField/types.ts (100%) rename packages/design-system/components/{ => web}/inputs/TextField/__storybook__/TextField.mdx (96%) rename packages/design-system/components/{ => web}/inputs/TextField/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/inputs/TextField/index.tsx (100%) rename packages/design-system/components/{ => web}/inputs/TextField/types.ts (100%) rename packages/design-system/components/{ => web}/inputs/TextareaField/__storybook__/TextareaField.mdx (95%) rename packages/design-system/components/{ => web}/inputs/TextareaField/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/inputs/TextareaField/index.tsx (95%) rename packages/design-system/components/{ => web}/inputs/TextareaField/styled.tsx (79%) rename packages/design-system/components/{ => web}/inputs/TextareaField/types.ts (100%) rename packages/design-system/components/{ => web}/inputs/index.ts (96%) rename packages/design-system/components/{ => web/logos}/CustomLogoCondensed/index.tsx (75%) rename packages/design-system/components/{ => web/logos}/Logo/__storybook__/Logo.mdx (84%) rename packages/design-system/components/{ => web/logos}/Logo/__storybook__/stories.tsx (80%) rename packages/design-system/components/{ => web/logos}/Logo/index.tsx (90%) rename packages/design-system/components/{ => web/logos}/Logo/types.ts (100%) rename packages/design-system/components/{ => web/logos}/ProjectLogo/index.tsx (81%) rename packages/design-system/components/{ => web/logos}/ProjectLogo/types.ts (100%) create mode 100644 packages/design-system/components/web/logos/index.ts rename packages/design-system/components/{ => web/popovers}/Popover/__storybook__/Popover.mdx (92%) rename packages/design-system/components/{ => web/popovers}/Popover/__storybook__/stories.tsx (97%) rename packages/design-system/components/{ => web/popovers}/Popover/index.tsx (98%) rename packages/design-system/components/{ => web/popovers}/Popover/styled.tsx (85%) rename packages/design-system/components/{ => web/popovers}/Popover/types.ts (87%) rename packages/design-system/components/{ => web/popovers}/Popover/utils.ts (100%) create mode 100644 packages/design-system/components/web/popovers/index.ts rename packages/design-system/components/{ => web/scrollbars}/Scrollbar/__storybook__/Scrollbar.mdx (91%) rename packages/design-system/components/{ => web/scrollbars}/Scrollbar/__storybook__/stories.tsx (92%) rename packages/design-system/components/{ => web/scrollbars}/Scrollbar/index.tsx (100%) rename packages/design-system/components/{ => web/scrollbars}/Scrollbar/styled.ts (70%) rename packages/design-system/components/{ => web/scrollbars}/Scrollbar/types.ts (100%) create mode 100644 packages/design-system/components/web/scrollbars/index.ts rename packages/design-system/components/{ => web}/typographies/TypographyWithEllipsis/__storybook__/TypographyWithEllipsis.mdx (99%) rename packages/design-system/components/{ => web}/typographies/TypographyWithEllipsis/__storybook__/stories.tsx (100%) rename packages/design-system/components/{ => web}/typographies/TypographyWithEllipsis/index.tsx (62%) rename packages/design-system/components/{ => web}/typographies/TypographyWithEllipsis/types.ts (100%) rename packages/design-system/components/{ => web}/typographies/index.ts (53%) create mode 100644 packages/design-system/hooks/common/index.ts rename packages/design-system/hooks/{ => common}/usePopover/index.ts (84%) create mode 100644 packages/design-system/hooks/native/index.ts create mode 100644 packages/design-system/hooks/native/useColorMode/index.ts create mode 100644 packages/design-system/hooks/web/index.ts rename packages/design-system/hooks/{ => web}/useLogoOverrides/constants.ts (100%) rename packages/design-system/hooks/{ => web}/useLogoOverrides/index.ts (100%) rename packages/design-system/hooks/{ => web}/useLogoOverrides/types.ts (100%) rename packages/design-system/hooks/{ => web}/useResponsive/index.ts (72%) create mode 100644 packages/design-system/hooks/web/useResponsive/types.ts delete mode 100644 packages/design-system/index.ts create mode 100644 packages/design-system/layouts/common/index.ts create mode 100644 packages/design-system/layouts/native/BottomNavigationLayout/index.tsx create mode 100644 packages/design-system/layouts/native/BottomNavigationLayout/styles.ts create mode 100644 packages/design-system/layouts/native/BottomNavigationLayout/types.ts create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/index.tsx create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/styles.ts create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/types.ts create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/index.tsx create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/styles.ts create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/types.ts create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/Header/index.tsx create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/Header/styles.ts create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/index.tsx create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/styles.ts create mode 100644 packages/design-system/layouts/native/SidebarNavigationLayout/types.ts create mode 100644 packages/design-system/layouts/native/index.ts create mode 100644 packages/design-system/layouts/web/index.ts create mode 100644 packages/design-system/providers/common/index.ts create mode 100644 packages/design-system/providers/native/ThemeProvider/index.tsx create mode 100644 packages/design-system/providers/native/ThemeProvider/types.ts create mode 100644 packages/design-system/providers/native/index.ts rename packages/design-system/providers/{ => web}/MotionLazyProvider/index.tsx (93%) rename packages/design-system/providers/{ => web}/SnackbarProvider/index.tsx (100%) rename packages/design-system/providers/{ => web}/SnackbarProvider/types.ts (100%) rename packages/design-system/providers/{ => web}/ThemeProvider/index.tsx (83%) rename packages/design-system/providers/{ => web}/ThemeProvider/types.ts (73%) create mode 100644 packages/design-system/providers/web/index.ts create mode 100644 packages/design-system/styles/common/index.ts delete mode 100644 packages/design-system/styles/font.ts create mode 100644 packages/design-system/styles/native/gradient.ts create mode 100644 packages/design-system/styles/native/index.ts create mode 100644 packages/design-system/styles/native/palette.ts create mode 100644 packages/design-system/styles/native/shadow.ts create mode 100644 packages/design-system/styles/native/systemTokens.ts create mode 100644 packages/design-system/styles/native/transparent.ts create mode 100644 packages/design-system/styles/native/types.ts create mode 100644 packages/design-system/styles/native/typography.ts rename packages/design-system/styles/{ => web}/breakpoint.ts (100%) create mode 100644 packages/design-system/styles/web/globals.ts create mode 100644 packages/design-system/styles/web/index.ts rename packages/design-system/styles/{ => web}/material/css.ts (99%) rename packages/design-system/styles/{ => web}/material/custom-shadows.ts (96%) rename packages/design-system/styles/{ => web}/material/globals.css (100%) rename packages/design-system/styles/{ => web}/material/module-augmentation.ts (94%) rename packages/design-system/styles/{ => web}/material/options/contrast.ts (89%) rename packages/design-system/styles/{ => web}/material/overrides/components/accordion.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/alert.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/appbar.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/autocomplete.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/avatar.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/backdrop.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/badge.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/breadcrumbs.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/button-group.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/button.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/card.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/checkbox.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/chip.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/css-baseline.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/data-grid.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/date-picker.tsx (97%) rename packages/design-system/styles/{ => web}/material/overrides/components/dialog.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/drawer.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/fab.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/list.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/loading-button.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/menu.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/pagination.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/paper.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/popover.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/progress.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/radio.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/rating.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/select.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/skeleton.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/slider.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/stepper.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/svg-icon.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/switch.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/table.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/tabs.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/textfield.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/timeline.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/toggle-button.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/tooltip.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/tree-view.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/components/typography.tsx (100%) rename packages/design-system/styles/{ => web}/material/overrides/default-props.tsx (99%) rename packages/design-system/styles/{ => web}/material/overrides/index.ts (100%) rename packages/design-system/styles/{ => web}/palette.ts (98%) rename packages/design-system/styles/{ => web}/presets.ts (91%) rename packages/design-system/styles/{ => web}/shadow.ts (96%) rename packages/design-system/styles/{ => web}/tailwind/globals.css (100%) rename packages/design-system/styles/{ => web}/tailwind/plugins/index.ts (100%) rename packages/design-system/styles/{ => web}/tailwind/plugins/types.ts (100%) rename packages/design-system/{ => styles/web}/types.ts (100%) rename packages/design-system/styles/{ => web}/typography.ts (100%) create mode 100644 packages/design-system/tsup.config.ts create mode 100644 packages/design-system/utils/common/index.ts create mode 100644 packages/design-system/utils/native/index.ts create mode 100644 packages/design-system/utils/native/withNativeController/index.tsx create mode 100644 packages/design-system/utils/native/withNativeController/types.ts create mode 100644 packages/design-system/utils/web/index.ts diff --git a/.scripts/copy-dts.js b/.scripts/copy-dts.js new file mode 100644 index 00000000..2081a46b --- /dev/null +++ b/.scripts/copy-dts.js @@ -0,0 +1,41 @@ +const fs = require('fs') +const path = require('path') +const { promisify } = require('util') + +const mkdir = promisify(fs.mkdir) +const copyFile = promisify(fs.copyFile) +const readdir = promisify(fs.readdir) + +async function* walk(dir) { + const entries = await readdir(dir, { withFileTypes: true }) + for (const entry of entries) { + const res = path.resolve(dir, entry.name) + if (entry.isDirectory()) { + yield* walk(res) + } else { + yield res + } + } +} + +async function copyDTS() { + const declarationsDir = path.join(process.cwd(), 'tmp-dts') + const distDir = path.join(process.cwd(), 'dist') + + for await (const filePath of walk(declarationsDir)) { + if (filePath.endsWith('.d.ts')) { + // Convert: tmp-dts/modules/.../file.d.ts → dist/.../file.d.ts + const relativePath = path.relative(declarationsDir, filePath) + const destPath = path.join( + distDir, + relativePath.replace(/^modules\//, '') + ) + + await mkdir(path.dirname(destPath), { recursive: true }) + await copyFile(filePath, destPath) + } + } + console.log('Declaration files copied. 😉') +} + +copyDTS().catch(console.error) \ No newline at end of file diff --git a/packages/authentication/CHANGELOG.md b/packages/authentication/CHANGELOG.md index de17b59b..10582d56 100644 --- a/packages/authentication/CHANGELOG.md +++ b/packages/authentication/CHANGELOG.md @@ -1,5 +1,12 @@ # @baseapp-frontend/authentication +## 4.1.4 + +### Patch Changes + +- Updated dependencies + - @baseapp-frontend/utils@3.1.3 + ## 4.1.3 ### Patch Changes diff --git a/packages/authentication/package.json b/packages/authentication/package.json index b29ac836..43bed09e 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -1,7 +1,7 @@ { "name": "@baseapp-frontend/authentication", "description": "Authentication modules.", - "version": "4.1.3", + "version": "4.1.4", "main": "./index.ts", "types": "dist/index.d.ts", "sideEffects": false, diff --git a/packages/components/.eslintrc.js b/packages/components/.eslintrc.js index 80d06564..2ec4f971 100644 --- a/packages/components/.eslintrc.js +++ b/packages/components/.eslintrc.js @@ -1 +1 @@ -module.exports = require('@baseapp-frontend/config/.eslintrc.js') +module.exports = require('@baseapp-frontend/config/.eslintrc-with-restricted-paths.js') diff --git a/packages/components/.gitignore b/packages/components/.gitignore index a00d9bac..d02d5915 100644 --- a/packages/components/.gitignore +++ b/packages/components/.gitignore @@ -58,4 +58,8 @@ cypress/downloads .sentryclirc # editorconfig -.editorconfig \ No newline at end of file +.editorconfig + +# babel & tsc +/tmp-babel +/tmp-dts \ No newline at end of file diff --git a/packages/components/.storybook/__mocks__/navigation.tsx b/packages/components/.storybook/__mocks__/navigation.tsx index 8c271400..fc51f58a 100644 --- a/packages/components/.storybook/__mocks__/navigation.tsx +++ b/packages/components/.storybook/__mocks__/navigation.tsx @@ -1,4 +1,9 @@ -import { FavoriteIcon, MentionIcon, MenuIcon, PenEditIcon } from '@baseapp-frontend/design-system' +import { + FavoriteIcon, + MentionIcon, + MenuIcon, + PenEditIcon, +} from '@baseapp-frontend/design-system/components/web/icons' export const navDataMock = [ { diff --git a/packages/components/.storybook/__mocks__/theme.ts b/packages/components/.storybook/__mocks__/theme.ts index 5093a3d9..338e75ab 100644 --- a/packages/components/.storybook/__mocks__/theme.ts +++ b/packages/components/.storybook/__mocks__/theme.ts @@ -1,19 +1,17 @@ +import { ThemeProviderProps } from '@baseapp-frontend/design-system/providers/web' import { - ThemeProviderProps, breakpoints, createCustomShadows, createPalette, createShadows, - primaryFont, - secondaryFont, typography, -} from '@baseapp-frontend/design-system' +} from '@baseapp-frontend/design-system/styles/web' const defaultTheme: ThemeProviderProps = { palette: createPalette('light'), breakpoints: breakpoints, - primaryFont: primaryFont, - secondaryFont: secondaryFont, + primaryFont: undefined, + secondaryFont: undefined, settings: { themeMode: 'light', themeContrast: 'default', diff --git a/packages/components/.storybook/decorators/withProviders.tsx b/packages/components/.storybook/decorators/withProviders.tsx index 05e24f08..0e99597f 100644 --- a/packages/components/.storybook/decorators/withProviders.tsx +++ b/packages/components/.storybook/decorators/withProviders.tsx @@ -1,6 +1,7 @@ -import React, { useEffect } from 'react' +import React from 'react' -import { LoadingState, ThemeProvider } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' +import { ThemeProvider } from '@baseapp-frontend/design-system/providers/web' import { RelayTestProvider, createTestEnvironment } from '@baseapp-frontend/graphql' import { NotificationProvider } from '@baseapp-frontend/utils' diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 35996480..018a883c 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,21 @@ # @baseapp-frontend/components +## 1.0.0 + +### Major Changes + +- Rearrange each `module` code into folders, `common` for multi-platform code, `native` for native code and `web` for web code. +- Transpile and bundle the package code using `babel`, `tsup` and `tsc`. +- Migrate native `profile` components from the template into this package. + +### Patch Changes + +- Updated dependencies + - @baseapp-frontend/design-system@1.0.0 + - @baseapp-frontend/utils@3.1.3 + - @baseapp-frontend/authentication@4.1.4 + - @baseapp-frontend/graphql@1.2.4 + ## 0.0.58 ### Patch Changes diff --git a/packages/components/README.md b/packages/components/README.md index bf794b72..96f55484 100644 --- a/packages/components/README.md +++ b/packages/components/README.md @@ -18,10 +18,64 @@ pnpm install @baseapp-frontend/components ## **What is in here?** -This package contains essential BaseApp components such as `Comments`, `Notifications` and `Navigation`. It also includes Storybook, a tool for component documentation and visualization. To run the Storybook locally, navigate to the package folder and run the following command: +This package contains essential BaseApp modules such as `comments`, `notifications`, `messages` and `navigations`. It also includes Storybook, a tool for component documentation and visualization. To run the Storybook locally, navigate to the package folder and run the following command: ```bash -cd packages/components +# at root level -yarn storybook +pnpm storybook --filter components ``` + +## **Build Process** + +We use a hybrid build pipeline combining `Babel`, `tsup`, and `TypeScript Compiler` to balance type accuracy, Relay compatibility, and modern bundling: + +1. **Source Code:** Original TypeScript/React files with Relay GraphQL queries. + +2. **Babel Transformation:** + + * Transpiles TypeScript to JavaScript. + + * Applies Relay compiler transformations (replaces graphql tags with artifact imports). + + * Outputs processed files to a temporary directory `tmp-babel`. + +3. **tsup Bundling:** + + * Bundling tool (using esbuild) consumes the `tmp-babel` files. + + * Generates ESM and CJS bundles in `dist`. + +4. **TypeScript Compiler (tsc):** + + * Runs in parallel to generate .d.ts type declarations. + + * Outputs declarations to `tmp-dts`. + +5. **Merge Outputs:** + + * Copies type declarations from `tmp-dts` to `dist`. + + * Final `dist` contains both runtime bundles and accurate type definitions. + +### Pros +One of the biggest wins with this setup is that it leverages tsc to generate type declarations. It is both reliable and fast—even for large projects—so we get accurate types without the performance hit we might see with other solutions. + +On the Relay side, using Babel with the official Relay plugin is way more reliable, since it's battle-tested than any custom solution we might try, especially since tools like tsup or esbuild just aren’t built to handle Relay’s GraphQL transformations on their own. + +Plus, we still benefit from dual module output (ESM and CJS) along with optimized, compact bundles produced by esbuild and other cool features tsup provides. + +### Cons +That said, the build process is a bit more complex since it involves multiple tools running in parallel—Babel for the Relay transformations, tsup for bundling, and tsc for type declarations. + +Coordinating these steps and managing temporary directories can add some overhead to our build process. Even though relying on tsc for declarations is much faster than using tsup’s dts process for large projects, the overall pipeline is still more intricate compared to a single-tool solution. This added complexity means there’s a bit more to maintain and tweak as any of these tools evolve. + +Furthermore, as the tsup bundling process becomes more complex—for example, if we introduce tree shaking we might need to reconsider how we generate our type declarations, since the current tsc setup may not perfectly align with those bundling features. + +### Alternatives Considered + +We did explore a few different strategies. A pure tsup/ESBuild pipeline is certainly simpler and can offer faster builds in some cases, but it falls short when it comes to Relay support—neither tsup nor esbuild can handle Relay’s GraphQL transforms without help, and their built-in dts generation isn’t as speedy as tsc on larger codebases. + +A Babel-only setup was another option, and while it can handle Relay transformations using the official plugin, it tends to produce larger bundles and doesn’t offer the flexibility of generating both ESM and CJS outputs and others features provided by tsup. + +In the end, the hybrid approach was chosen because it strikes the best balance between reliability, performance, and compatibility—even if it means juggling a few more moving parts. \ No newline at end of file diff --git a/packages/components/__generated__/ActivityLogsFragment.graphql.ts b/packages/components/__generated__/ActivityLogsFragment.graphql.ts deleted file mode 100644 index 8e036f1f..00000000 --- a/packages/components/__generated__/ActivityLogsFragment.graphql.ts +++ /dev/null @@ -1,257 +0,0 @@ -/** - * @generated SignedSource<<9b6fd566697e49370aeb48f13f3d18ef>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ActivityLogsFragment$data = { - readonly activityLogs: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly createdAt: any - readonly id: string - readonly url: string | null | undefined - readonly user: - | { - readonly avatar: - | { - readonly url: string - } - | null - | undefined - readonly email: string | null | undefined - readonly fullName: string | null | undefined - readonly id: string - } - | null - | undefined - readonly verb: string | null | undefined - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - } - | null - | undefined - readonly ' $fragmentType': 'ActivityLogsFragment' -} -export type ActivityLogsFragment$key = { - readonly ' $data'?: ActivityLogsFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'ActivityLogsFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['activityLogs'], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: [], - operation: require('./ActivityLogsPaginationQuery.graphql'), - }, - }, - name: 'ActivityLogsFragment', - selections: [ - { - alias: 'activityLogs', - args: null, - concreteType: 'ActivityLogConnection', - kind: 'LinkedField', - name: '__ActivityLogs_activityLogs_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ActivityLogEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ActivityLog', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'createdAt', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'email', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [v2 /*: any*/], - storageKey: 'avatar(height:48,width:48)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - } -})() - -;(node as any).hash = 'ba76e757af14e0dbe50c2ee788f01632' - -export default node diff --git a/packages/components/__generated__/ActivityLogsPaginationQuery.graphql.ts b/packages/components/__generated__/ActivityLogsPaginationQuery.graphql.ts deleted file mode 100644 index 382ff1f3..00000000 --- a/packages/components/__generated__/ActivityLogsPaginationQuery.graphql.ts +++ /dev/null @@ -1,258 +0,0 @@ -/** - * @generated SignedSource<<7e37dbc54f4e804a1f8393e08030b101>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ActivityLogsPaginationQuery$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - userName?: string | null | undefined -} -export type ActivityLogsPaginationQuery$data = { - readonly ' $fragmentSpreads': FragmentRefs<'ActivityLogsFragment'> -} -export type ActivityLogsPaginationQuery = { - response: ActivityLogsPaginationQuery$data - variables: ActivityLogsPaginationQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ActivityLogsPaginationQuery', - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - ], - kind: 'FragmentSpread', - name: 'ActivityLogsFragment', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ActivityLogsPaginationQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ActivityLogConnection', - kind: 'LinkedField', - name: 'activityLogs', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ActivityLogEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ActivityLog', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'createdAt', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'email', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [v3 /*: any*/], - storageKey: 'avatar(height:48,width:48)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v1 /*: any*/, - filters: null, - handle: 'connection', - key: 'ActivityLogs_activityLogs', - kind: 'LinkedHandle', - name: 'activityLogs', - }, - ], - }, - params: { - cacheID: '79c66245f518478d20204207fd2aa732', - id: null, - metadata: {}, - name: 'ActivityLogsPaginationQuery', - operationKind: 'query', - text: 'query ActivityLogsPaginationQuery(\n $count: Int = 10\n $cursor: String\n) {\n ...ActivityLogsFragment_1G22uz\n}\n\nfragment ActivityLogsFragment_1G22uz on Query {\n activityLogs(first: $count, after: $cursor) {\n edges {\n node {\n id\n createdAt\n verb\n url\n user {\n id\n fullName\n email\n avatar(width: 48, height: 48) {\n url\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'ba76e757af14e0dbe50c2ee788f01632' - -export default node diff --git a/packages/components/__generated__/ActivityLogsQuery.graphql.ts b/packages/components/__generated__/ActivityLogsQuery.graphql.ts deleted file mode 100644 index da5e5402..00000000 --- a/packages/components/__generated__/ActivityLogsQuery.graphql.ts +++ /dev/null @@ -1,255 +0,0 @@ -/** - * @generated SignedSource<<19973e03f96279570ada8d066a149d0b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ActivityLogsQuery$variables = { - after?: string | null | undefined - first?: number | null | undefined -} -export type ActivityLogsQuery$data = { - readonly ' $fragmentSpreads': FragmentRefs<'ActivityLogsFragment'> -} -export type ActivityLogsQuery = { - response: ActivityLogsQuery$data - variables: ActivityLogsQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'after', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'first', - }, - v2 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'after', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'first', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'ActivityLogsQuery', - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'first', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'after', - }, - ], - kind: 'FragmentSpread', - name: 'ActivityLogsFragment', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'ActivityLogsQuery', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ActivityLogConnection', - kind: 'LinkedField', - name: 'activityLogs', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ActivityLogEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ActivityLog', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'createdAt', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - v4 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'email', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [v4 /*: any*/], - storageKey: 'avatar(height:48,width:48)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v2 /*: any*/, - filters: null, - handle: 'connection', - key: 'ActivityLogs_activityLogs', - kind: 'LinkedHandle', - name: 'activityLogs', - }, - ], - }, - params: { - cacheID: '23080349fdcee969cb4dfd8eb05d574d', - id: null, - metadata: {}, - name: 'ActivityLogsQuery', - operationKind: 'query', - text: 'query ActivityLogsQuery(\n $first: Int\n $after: String\n) {\n ...ActivityLogsFragment_3JmDlL\n}\n\nfragment ActivityLogsFragment_3JmDlL on Query {\n activityLogs(first: $first, after: $after) {\n edges {\n node {\n id\n createdAt\n verb\n url\n user {\n id\n fullName\n email\n avatar(width: 48, height: 48) {\n url\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'daa3b9b572d3c7596c5dc4d6185f9be9' - -export default node diff --git a/packages/components/__generated__/AddProfilePopoverUserQuery.graphql.ts b/packages/components/__generated__/AddProfilePopoverUserQuery.graphql.ts deleted file mode 100644 index 3cfcfe6f..00000000 --- a/packages/components/__generated__/AddProfilePopoverUserQuery.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<<826dab81a76b2c242dd4287f68e97aa7>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' - -export type AddProfilePopoverUserQuery$variables = Record -export type AddProfilePopoverUserQuery$data = { - readonly me: - | { - readonly canAdd: boolean | null | undefined - readonly id: string - } - | null - | undefined -} -export type AddProfilePopoverUserQuery = { - response: AddProfilePopoverUserQuery$data - variables: AddProfilePopoverUserQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - { - alias: 'canAdd', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'organizations.add_organization', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"organizations.add_organization")', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - ], - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'AddProfilePopoverUserQuery', - selections: v0 /*: any*/, - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'AddProfilePopoverUserQuery', - selections: v0 /*: any*/, - }, - params: { - cacheID: '87aa4dfa44991de604d1fec2587ed858', - id: null, - metadata: {}, - name: 'AddProfilePopoverUserQuery', - operationKind: 'query', - text: 'query AddProfilePopoverUserQuery {\n me {\n canAdd: hasPerm(perm: "organizations.add_organization")\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '26d662ddabbbf711436626f9ec735331' - -export default node diff --git a/packages/components/__generated__/AllProfilesListFragment.graphql.ts b/packages/components/__generated__/AllProfilesListFragment.graphql.ts deleted file mode 100644 index d0b579a5..00000000 --- a/packages/components/__generated__/AllProfilesListFragment.graphql.ts +++ /dev/null @@ -1,204 +0,0 @@ -/** - * @generated SignedSource<<24f2c4202c29cd58a90fc8b782d50cdc>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type AllProfilesListFragment$data = { - readonly allProfiles: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly hasNextPage: boolean - } - readonly totalCount: number | null | undefined - } - | null - | undefined - readonly ' $fragmentType': 'AllProfilesListFragment' -} -export type AllProfilesListFragment$key = { - readonly ' $data'?: AllProfilesListFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'AllProfilesListFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['allProfiles'] - return { - argumentDefinitions: [ - { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: '-created', - kind: 'LocalArgument', - name: 'orderBy', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'q', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: [], - operation: require('./AllProfilesListPaginationQuery.graphql'), - }, - }, - name: 'AllProfilesListFragment', - selections: [ - { - alias: 'allProfiles', - args: [ - { - kind: 'Variable', - name: 'orderBy', - variableName: 'orderBy', - }, - { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - ], - concreteType: 'ProfileConnection', - kind: 'LinkedField', - name: '__AllProfilesListFragment_allProfiles_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileItemFragment', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - } -})() - -;(node as any).hash = '145d7609bc0dcee3b0940096fa289337' - -export default node diff --git a/packages/components/__generated__/AllProfilesListPaginationQuery.graphql.ts b/packages/components/__generated__/AllProfilesListPaginationQuery.graphql.ts deleted file mode 100644 index 8da15e9e..00000000 --- a/packages/components/__generated__/AllProfilesListPaginationQuery.graphql.ts +++ /dev/null @@ -1,276 +0,0 @@ -/** - * @generated SignedSource<<55c88f2688f5b804fbf33dbcd243bab6>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type AllProfilesListPaginationQuery$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - orderBy?: string | null | undefined - q?: string | null | undefined -} -export type AllProfilesListPaginationQuery$data = { - readonly ' $fragmentSpreads': FragmentRefs<'AllProfilesListFragment'> -} -export type AllProfilesListPaginationQuery = { - response: AllProfilesListPaginationQuery$data - variables: AllProfilesListPaginationQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: '-created', - kind: 'LocalArgument', - name: 'orderBy', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'q', - }, - ], - v1 = { - kind: 'Variable', - name: 'orderBy', - variableName: 'orderBy', - }, - v2 = { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - v3 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - v1 /*: any*/, - v2 /*: any*/, - ], - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'AllProfilesListPaginationQuery', - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - v1 /*: any*/, - v2 /*: any*/, - ], - kind: 'FragmentSpread', - name: 'AllProfilesListFragment', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'AllProfilesListPaginationQuery', - selections: [ - { - alias: null, - args: v3 /*: any*/, - concreteType: 'ProfileConnection', - kind: 'LinkedField', - name: 'allProfiles', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v3 /*: any*/, - filters: ['orderBy', 'q'], - handle: 'connection', - key: 'AllProfilesListFragment_allProfiles', - kind: 'LinkedHandle', - name: 'allProfiles', - }, - ], - }, - params: { - cacheID: '14ee435dd3957e0c7247d383714e53f4', - id: null, - metadata: {}, - name: 'AllProfilesListPaginationQuery', - operationKind: 'query', - text: 'query AllProfilesListPaginationQuery(\n $count: Int = 5\n $cursor: String\n $orderBy: String = "-created"\n $q: String = null\n) {\n ...AllProfilesListFragment_40Ewnb\n}\n\nfragment AllProfilesListFragment_40Ewnb on Query {\n allProfiles(after: $cursor, first: $count, orderBy: $orderBy, q: $q) {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n ...ProfileItemFragment\n __typename\n }\n cursor\n }\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '145d7609bc0dcee3b0940096fa289337' - -export default node diff --git a/packages/components/__generated__/ArchiveChatRoomMutation.graphql.ts b/packages/components/__generated__/ArchiveChatRoomMutation.graphql.ts deleted file mode 100644 index 239315cd..00000000 --- a/packages/components/__generated__/ArchiveChatRoomMutation.graphql.ts +++ /dev/null @@ -1,151 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' - -export type ChatRoomArchiveInput = { - archive: boolean - clientMutationId?: string | null | undefined - profileId: string - roomId: string -} -export type ArchiveChatRoomMutation$variables = { - input: ChatRoomArchiveInput -} -export type ArchiveChatRoomMutation$data = { - readonly chatRoomArchive: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly room: - | { - readonly id: string - } - | null - | undefined - } - | null - | undefined -} -export type ArchiveChatRoomMutation = { - response: ArchiveChatRoomMutation$data - variables: ArchiveChatRoomMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - alias: null, - args: [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - concreteType: 'ChatRoomArchivePayload', - kind: 'LinkedField', - name: 'chatRoomArchive', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ArchiveChatRoomMutation', - selections: v1 /*: any*/, - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ArchiveChatRoomMutation', - selections: v1 /*: any*/, - }, - params: { - cacheID: 'bb8d4b659a98b51a62538601cd17a068', - id: null, - metadata: {}, - name: 'ArchiveChatRoomMutation', - operationKind: 'mutation', - text: 'mutation ArchiveChatRoomMutation(\n $input: ChatRoomArchiveInput!\n) {\n chatRoomArchive(input: $input) {\n room {\n id\n }\n errors {\n field\n messages\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'c78639eb713e79457e32bc4388498618' - -export default node diff --git a/packages/components/__generated__/BlockToggleFragment.graphql.ts b/packages/components/__generated__/BlockToggleFragment.graphql.ts deleted file mode 100644 index 6933ec0e..00000000 --- a/packages/components/__generated__/BlockToggleFragment.graphql.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * @generated SignedSource<<736dea7090465a624ce8a92c4ec975ae>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type BlockToggleFragment$data = { - readonly id: string - readonly isBlockedByMe: boolean | null | undefined - readonly name?: string | null | undefined - readonly ' $fragmentType': 'BlockToggleFragment' -} -export type BlockToggleFragment$key = { - readonly ' $data'?: BlockToggleFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'BlockToggleFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'BlockToggleFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isBlockedByMe', - storageKey: null, - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - ], - type: 'Profile', - abstractKey: null, - }, - ], - type: 'BlocksInterface', - abstractKey: '__isBlocksInterface', -} - -;(node as any).hash = 'e03ed2e064ae6dbdca724087c1dfdd16' - -export default node diff --git a/packages/components/__generated__/BlockToggleMutation.graphql.ts b/packages/components/__generated__/BlockToggleMutation.graphql.ts deleted file mode 100644 index 701e71a7..00000000 --- a/packages/components/__generated__/BlockToggleMutation.graphql.ts +++ /dev/null @@ -1,234 +0,0 @@ -/** - * @generated SignedSource<<67a5f0e7cdc45cc2315b67143872610e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type BlockToggleInput = { - actorObjectId: string - clientMutationId?: string | null | undefined - targetObjectId: string -} -export type BlockToggleMutation$variables = { - input: BlockToggleInput -} -export type BlockToggleMutation$data = { - readonly blockToggle: - | { - readonly block: - | { - readonly node: - | { - readonly id: string - } - | null - | undefined - } - | null - | undefined - readonly blockDeletedId: string | null | undefined - readonly target: - | { - readonly id: string - readonly isBlockedByMe: boolean | null | undefined - readonly ' $fragmentSpreads': FragmentRefs<'BlockToggleFragment'> - } - | null - | undefined - } - | null - | undefined -} -export type BlockToggleMutation = { - response: BlockToggleMutation$data - variables: BlockToggleMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - concreteType: 'BlockEdge', - kind: 'LinkedField', - name: 'block', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Block', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [v2 /*: any*/], - storageKey: null, - }, - ], - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'blockDeletedId', - storageKey: null, - }, - v5 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isBlockedByMe', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'BlockToggleMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'BlockTogglePayload', - kind: 'LinkedField', - name: 'blockToggle', - plural: false, - selections: [ - v3 /*: any*/, - v4 /*: any*/, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - v2 /*: any*/, - v5 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'BlockToggleFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'BlockToggleMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'BlockTogglePayload', - kind: 'LinkedField', - name: 'blockToggle', - plural: false, - selections: [ - v3 /*: any*/, - v4 /*: any*/, - { - alias: null, - args: null, - filters: null, - handle: 'deleteRecord', - key: '', - kind: 'ScalarHandle', - name: 'blockDeletedId', - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 /*: any*/, - v5 /*: any*/, - { - kind: 'TypeDiscriminator', - abstractKey: '__isBlocksInterface', - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - ], - type: 'Profile', - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'ffed8bf057da30f64200e9f801d9186c', - id: null, - metadata: {}, - name: 'BlockToggleMutation', - operationKind: 'mutation', - text: 'mutation BlockToggleMutation(\n $input: BlockToggleInput!\n) {\n blockToggle(input: $input) {\n block {\n node {\n id\n }\n }\n blockDeletedId\n target {\n __typename\n id\n isBlockedByMe\n ...BlockToggleFragment\n }\n }\n}\n\nfragment BlockToggleFragment on BlocksInterface {\n __isBlocksInterface: __typename\n id\n isBlockedByMe\n ... on Profile {\n id\n name\n }\n}\n', - }, - } -})() - -;(node as any).hash = '065f29d79d6f508cd4db5788802958e5' - -export default node diff --git a/packages/components/__generated__/ChangeUserRoleMutation.graphql.ts b/packages/components/__generated__/ChangeUserRoleMutation.graphql.ts deleted file mode 100644 index 76003eb7..00000000 --- a/packages/components/__generated__/ChangeUserRoleMutation.graphql.ts +++ /dev/null @@ -1,160 +0,0 @@ -/** - * @generated SignedSource<<05311bb05e2c36ab1ed76caf2054ef2b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' - -export type ProfileRoles = 'ADMIN' | 'MANAGER' | '%future added value' -export type RoleUpdateInput = { - clientMutationId?: string | null | undefined - profileId: string - roleType?: ProfileRoles | null | undefined - userId: string -} -export type ChangeUserRoleMutation$variables = { - input: RoleUpdateInput -} -export type ChangeUserRoleMutation$data = { - readonly profileRoleUpdate: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly profileUserRole: - | { - readonly id: string - readonly role: ProfileRoles | null | undefined - } - | null - | undefined - } - | null - | undefined -} -export type ChangeUserRoleMutation = { - response: ChangeUserRoleMutation$data - variables: ChangeUserRoleMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - alias: null, - args: [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - concreteType: 'RoleUpdatePayload', - kind: 'LinkedField', - name: 'profileRoleUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ProfileUserRole', - kind: 'LinkedField', - name: 'profileUserRole', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'role', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ChangeUserRoleMutation', - selections: v1 /*: any*/, - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ChangeUserRoleMutation', - selections: v1 /*: any*/, - }, - params: { - cacheID: 'b8717d03953ac3aeaf61e4a3b826c7d1', - id: null, - metadata: {}, - name: 'ChangeUserRoleMutation', - operationKind: 'mutation', - text: 'mutation ChangeUserRoleMutation(\n $input: RoleUpdateInput!\n) {\n profileRoleUpdate(input: $input) {\n profileUserRole {\n id\n role\n }\n errors {\n field\n messages\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'e4f28862dc2b186db3b3fb452cf749bb' - -export default node diff --git a/packages/components/__generated__/ChatRoomMessagesListPaginationQuery.graphql.ts b/packages/components/__generated__/ChatRoomMessagesListPaginationQuery.graphql.ts deleted file mode 100644 index f0e03e41..00000000 --- a/packages/components/__generated__/ChatRoomMessagesListPaginationQuery.graphql.ts +++ /dev/null @@ -1,385 +0,0 @@ -/** - * @generated SignedSource<<39f8d49d41c823e22d2be2830169f552>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomMessagesListPaginationQuery$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - id: string -} -export type ChatRoomMessagesListPaginationQuery$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'MessagesListFragment'> - } - | null - | undefined -} -export type ChatRoomMessagesListPaginationQuery = { - response: ChatRoomMessagesListPaginationQuery$data - variables: ChatRoomMessagesListPaginationQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: 20, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ChatRoomMessagesListPaginationQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - ], - kind: 'FragmentSpread', - name: 'MessagesListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ChatRoomMessagesListPaginationQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: v4 /*: any*/, - concreteType: 'MessageConnection', - kind: 'LinkedField', - name: 'allMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 32, - }, - { - kind: 'Literal', - name: 'width', - value: 32, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:32,width:32)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messageType', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'extraData', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: [v3 /*: any*/], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v4 /*: any*/, - filters: null, - handle: 'connection', - key: 'chatRoom_allMessages', - kind: 'LinkedHandle', - name: 'allMessages', - }, - ], - type: 'ChatRoom', - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '9ddf1824c13a8a7892f2f6d07274bc3b', - id: null, - metadata: {}, - name: 'ChatRoomMessagesListPaginationQuery', - operationKind: 'query', - text: 'query ChatRoomMessagesListPaginationQuery(\n $count: Int = 20\n $cursor: String\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...MessagesListFragment_1G22uz\n id\n }\n}\n\nfragment MessageItemFragment on Message {\n id\n content\n created\n extraData\n inReplyTo {\n id\n }\n isRead\n pk\n profile {\n id\n }\n verb\n}\n\nfragment MessagesListFragment_1G22uz on ChatRoom {\n id\n isGroup\n unreadMessages {\n count\n markedUnread\n id\n }\n allMessages(first: $count, after: $cursor) {\n totalCount\n edges {\n node {\n id\n created\n profile {\n id\n name\n image(height: 32, width: 32) {\n url\n }\n }\n isRead\n messageType\n ...MessageItemFragment\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = '9a3c1fd2e9507a24075ab2654972c7cf' - -export default node diff --git a/packages/components/__generated__/ChatRoomParticipantsPaginationQuery.graphql.ts b/packages/components/__generated__/ChatRoomParticipantsPaginationQuery.graphql.ts deleted file mode 100644 index 1fe20371..00000000 --- a/packages/components/__generated__/ChatRoomParticipantsPaginationQuery.graphql.ts +++ /dev/null @@ -1,312 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomParticipantsPaginationQuery$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - id: string -} -export type ChatRoomParticipantsPaginationQuery$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'MembersListFragment'> - } - | null - | undefined -} -export type ChatRoomParticipantsPaginationQuery = { - response: ChatRoomParticipantsPaginationQuery$data - variables: ChatRoomParticipantsPaginationQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ChatRoomParticipantsPaginationQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - ], - kind: 'FragmentSpread', - name: 'MembersListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ChatRoomParticipantsPaginationQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: v4 /*: any*/, - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'role', - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v4 /*: any*/, - filters: null, - handle: 'connection', - key: 'ChatRoom_participants', - kind: 'LinkedHandle', - name: 'participants', - }, - ], - type: 'ChatRoom', - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '8cb8f1bdc2aa4700b94a7e47557c0da4', - id: null, - metadata: {}, - name: 'ChatRoomParticipantsPaginationQuery', - operationKind: 'query', - text: 'query ChatRoomParticipantsPaginationQuery(\n $count: Int = 5\n $cursor: String\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...MembersListFragment_1G22uz\n id\n }\n}\n\nfragment MembersListFragment_1G22uz on ChatRoom {\n id\n participants(first: $count, after: $cursor) {\n edges {\n node {\n id\n profile {\n id\n ...ProfileItemFragment\n }\n role\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '49f7bb8685111dd9a1075b9147c84abb' - -export default node diff --git a/packages/components/__generated__/ChatRoomQuery.graphql.ts b/packages/components/__generated__/ChatRoomQuery.graphql.ts deleted file mode 100644 index 2dc921b8..00000000 --- a/packages/components/__generated__/ChatRoomQuery.graphql.ts +++ /dev/null @@ -1,469 +0,0 @@ -/** - * @generated SignedSource<<117c133e1e86b1597b3571fe2492c791>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomQuery$variables = { - roomId: string -} -export type ChatRoomQuery$data = { - readonly chatRoom: - | { - readonly id: string - readonly participantsCount: number - readonly ' $fragmentSpreads': FragmentRefs<'MessagesListFragment' | 'TitleFragment'> - } - | null - | undefined -} -export type ChatRoomQuery = { - response: ChatRoomQuery$data - variables: ChatRoomQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'roomId', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'roomId', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'participantsCount', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - v5 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - v6 = [ - { - kind: 'Literal', - name: 'first', - value: 20, - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ChatRoomQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'chatRoom', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'TitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'MessagesListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ChatRoomQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'chatRoom', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'first', - value: 2, - }, - ], - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v2 /*: any*/, - v4 /*: any*/, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:100,width:100)', - }, - ], - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:2)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: v6 /*: any*/, - concreteType: 'MessageConnection', - kind: 'LinkedField', - name: 'allMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v2 /*: any*/, - v4 /*: any*/, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 32, - }, - { - kind: 'Literal', - name: 'width', - value: 32, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:32,width:32)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messageType', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'extraData', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: [v2 /*: any*/], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'allMessages(first:20)', - }, - { - alias: null, - args: v6 /*: any*/, - filters: null, - handle: 'connection', - key: 'chatRoom_allMessages', - kind: 'LinkedHandle', - name: 'allMessages', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'afc29c79eba4d84f8cb3363107dee423', - id: null, - metadata: {}, - name: 'ChatRoomQuery', - operationKind: 'query', - text: 'query ChatRoomQuery(\n $roomId: ID!\n) {\n chatRoom(id: $roomId) {\n id\n participantsCount\n ...TitleFragment\n ...MessagesListFragment\n }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n id\n image(width: 144, height: 144) {\n url\n }\n title\n}\n\nfragment MessageItemFragment on Message {\n id\n content\n created\n extraData\n inReplyTo {\n id\n }\n isRead\n pk\n profile {\n id\n }\n verb\n}\n\nfragment MessagesListFragment on ChatRoom {\n id\n isGroup\n unreadMessages {\n count\n markedUnread\n id\n }\n allMessages(first: 20) {\n totalCount\n edges {\n node {\n id\n created\n profile {\n id\n name\n image(height: 32, width: 32) {\n url\n }\n }\n isRead\n messageType\n ...MessageItemFragment\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment RoomTitleFragment on ChatRoom {\n id\n participants(first: 2) {\n edges {\n node {\n profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n }\n id\n }\n }\n }\n}\n\nfragment TitleFragment on ChatRoom {\n id\n isGroup\n ...RoomTitleFragment\n ...GroupTitleFragment\n}\n', - }, - } -})() - -;(node as any).hash = '998cbccbc4fba49d248f69c77ca826fd' - -export default node diff --git a/packages/components/__generated__/ChatRoomsQuery.graphql.ts b/packages/components/__generated__/ChatRoomsQuery.graphql.ts deleted file mode 100644 index fcc30c73..00000000 --- a/packages/components/__generated__/ChatRoomsQuery.graphql.ts +++ /dev/null @@ -1,509 +0,0 @@ -/** - * @generated SignedSource<<8ef0beddf36004152e35b57685261dd0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomsQuery$variables = Record -export type ChatRoomsQuery$data = { - readonly me: - | { - readonly id: string - readonly profile: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'RoomsListFragment'> - } - | null - | undefined - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs<'AllProfilesListFragment'> -} -export type ChatRoomsQuery = { - response: ChatRoomsQuery$data - variables: ChatRoomsQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v1 = { - kind: 'Literal', - name: 'first', - value: 5, - }, - v2 = [ - v1 /*: any*/, - { - kind: 'Literal', - name: 'orderBy', - value: '-created', - }, - ], - v3 = { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - v5 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - v6 = { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:100,width:100)', - }, - v7 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v8 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - v9 = [ - { - kind: 'Literal', - name: 'archived', - value: false, - }, - v1 /*: any*/, - { - kind: 'Literal', - name: 'q', - value: '', - }, - { - kind: 'Literal', - name: 'unreadMessages', - value: false, - }, - ] - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'ChatRoomsQuery', - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'AllProfilesListFragment', - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v0 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'RoomsListFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'ChatRoomsQuery', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ProfileConnection', - kind: 'LinkedField', - name: 'allProfiles', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v0 /*: any*/, - v4 /*: any*/, - v6 /*: any*/, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v0 /*: any*/, - ], - storageKey: null, - }, - v7 /*: any*/, - ], - storageKey: null, - }, - v8 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: 'allProfiles(first:5,orderBy:"-created")', - }, - { - alias: null, - args: v2 /*: any*/, - filters: ['orderBy', 'q'], - handle: 'connection', - key: 'AllProfilesListFragment_allProfiles', - kind: 'LinkedHandle', - name: 'allProfiles', - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v0 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: v9 /*: any*/, - concreteType: 'ChatRoomConnection', - kind: 'LinkedField', - name: 'chatRooms', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'lastMessageTime', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'lastMessage', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'first', - value: 2, - }, - ], - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v0 /*: any*/, - v4 /*: any*/, - v6 /*: any*/, - ], - storageKey: null, - }, - v0 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:2)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v0 /*: any*/, - ], - storageKey: null, - }, - v7 /*: any*/, - ], - storageKey: null, - }, - v8 /*: any*/, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: 'chatRooms(archived:false,first:5,q:"",unreadMessages:false)', - }, - { - alias: null, - args: v9 /*: any*/, - filters: ['q', 'unreadMessages', 'archived'], - handle: 'connection', - key: 'roomsList_chatRooms', - kind: 'LinkedHandle', - name: 'chatRooms', - }, - ], - type: 'ChatRoomsInterface', - abstractKey: '__isChatRoomsInterface', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'b7aec8f21dba53c91ee4320c81d17a52', - id: null, - metadata: {}, - name: 'ChatRoomsQuery', - operationKind: 'query', - text: 'query ChatRoomsQuery {\n ...AllProfilesListFragment\n me {\n id\n profile {\n id\n ...RoomsListFragment\n }\n }\n}\n\nfragment AllProfilesListFragment on Query {\n allProfiles(first: 5, orderBy: "-created") {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n ...ProfileItemFragment\n __typename\n }\n cursor\n }\n }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n id\n image(width: 144, height: 144) {\n url\n }\n title\n}\n\nfragment LastMessageFragment on ChatRoom {\n id\n lastMessageTime\n lastMessage {\n id\n content\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n\nfragment RoomTitleFragment on ChatRoom {\n id\n participants(first: 2) {\n edges {\n node {\n profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n }\n id\n }\n }\n }\n}\n\nfragment RoomsListFragment on ChatRoomsInterface {\n __isChatRoomsInterface: __typename\n chatRooms(first: 5, q: "", unreadMessages: false, archived: false) {\n edges {\n node {\n id\n ...LastMessageFragment\n ...TitleFragment\n ...UnreadMessagesCountFragment\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n id\n}\n\nfragment TitleFragment on ChatRoom {\n id\n isGroup\n ...RoomTitleFragment\n ...GroupTitleFragment\n}\n\nfragment UnreadMessagesCountFragment on ChatRoom {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '92001c5e34f05864902f11eb244a7e16' - -export default node diff --git a/packages/components/__generated__/CommentCreateMutation.graphql.ts b/packages/components/__generated__/CommentCreateMutation.graphql.ts deleted file mode 100644 index 2845592c..00000000 --- a/packages/components/__generated__/CommentCreateMutation.graphql.ts +++ /dev/null @@ -1,512 +0,0 @@ -/** - * @generated SignedSource<<35765f1d23fc101e8417e89d7675db1c>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentCreateInput = { - body: string - clientMutationId?: string | null | undefined - inReplyToId?: string | null | undefined - profileId?: string | null | undefined - targetObjectId: string -} -export type CommentCreateMutation$variables = { - connections: ReadonlyArray - input: CommentCreateInput -} -export type CommentCreateMutation$data = { - readonly commentCreate: - | { - readonly comment: - | { - readonly node: - | { - readonly id: string - readonly inReplyTo: - | { - readonly commentsCount: { - readonly main: number | null | undefined - readonly replies: number | null | undefined - readonly total: number | null | undefined - } - readonly id: string - } - | null - | undefined - readonly target: - | { - readonly commentsCount: { - readonly main: number | null | undefined - readonly replies: number | null | undefined - readonly total: number | null | undefined - } - readonly id: string - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined - } - | null - | undefined - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - } - | null - | undefined -} -export type CommentCreateMutation = { - response: CommentCreateMutation$data - variables: CommentCreateMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - v2 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - v5 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'main', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'replies', - storageKey: null, - }, - ], - storageKey: null, - }, - v6 = [v3 /*: any*/, v5 /*: any*/], - v7 = { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: v6 /*: any*/, - storageKey: null, - }, - v8 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - v9 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v10 = [v4 /*: any*/] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'CommentCreateMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'CommentCreatePayload', - kind: 'LinkedField', - name: 'commentCreate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'comment', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: v6 /*: any*/, - storageKey: null, - }, - v7 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_comment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v8 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'CommentCreateMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'CommentCreatePayload', - kind: 'LinkedField', - name: 'commentCreate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'comment', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v3 /*: any*/, - v5 /*: any*/, - ], - storageKey: null, - }, - v7 /*: any*/, - v9 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v3 /*: any*/, - v9 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v10 /*: any*/, - storageKey: null, - }, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v10 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - filters: null, - handle: 'prependEdge', - key: '', - kind: 'LinkedHandle', - name: 'comment', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - v8 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '1df6b1cc4ffb8c4f9160a80391bb797e', - id: null, - metadata: {}, - name: 'CommentCreateMutation', - operationKind: 'mutation', - text: 'mutation CommentCreateMutation(\n $input: CommentCreateInput!\n) {\n commentCreate(input: $input) {\n comment {\n node {\n id\n target {\n __typename\n id\n commentsCount {\n total\n main\n replies\n }\n }\n inReplyTo {\n id\n commentsCount {\n total\n main\n replies\n }\n }\n ...CommentItem_comment\n }\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'a8c11febd85db3454fcae2f3629bdff2' - -export default node diff --git a/packages/components/__generated__/CommentDeleteMutation.graphql.ts b/packages/components/__generated__/CommentDeleteMutation.graphql.ts deleted file mode 100644 index 9a6a2ecb..00000000 --- a/packages/components/__generated__/CommentDeleteMutation.graphql.ts +++ /dev/null @@ -1,226 +0,0 @@ -/** - * @generated SignedSource<<0229842a12c307dba7d6d460d4411782>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' - -export type CommentDeleteMutation$variables = { - id: string -} -export type CommentDeleteMutation$data = { - readonly commentDelete: - | { - readonly deletedId: string | null | undefined - readonly inReplyTo: - | { - readonly commentsCount: { - readonly main: number | null | undefined - readonly replies: number | null | undefined - readonly total: number | null | undefined - } - readonly id: string - } - | null - | undefined - readonly target: - | { - readonly commentsCount: { - readonly main: number | null | undefined - readonly replies: number | null | undefined - readonly total: number | null | undefined - } - readonly id: string - } - | null - | undefined - } - | null - | undefined -} -export type CommentDeleteMutation = { - response: CommentDeleteMutation$data - variables: CommentDeleteMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - ], - v1 = [ - { - fields: [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - kind: 'ObjectValue', - name: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'deletedId', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'main', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'replies', - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = [v3 /*: any*/, v4 /*: any*/], - v6 = { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'CommentDeleteMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'CommentDeletePayload', - kind: 'LinkedField', - name: 'commentDelete', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - v6 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'CommentDeleteMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'CommentDeletePayload', - kind: 'LinkedField', - name: 'commentDelete', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - filters: null, - handle: 'deleteRecord', - key: '', - kind: 'ScalarHandle', - name: 'deletedId', - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v3 /*: any*/, - v4 /*: any*/, - ], - storageKey: null, - }, - v6 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '3f9b66fbbc156f14c485bd1a520b7c8c', - id: null, - metadata: {}, - name: 'CommentDeleteMutation', - operationKind: 'mutation', - text: 'mutation CommentDeleteMutation(\n $id: ID!\n) {\n commentDelete(input: {id: $id}) {\n deletedId\n target {\n __typename\n id\n commentsCount {\n total\n main\n replies\n }\n }\n inReplyTo {\n id\n commentsCount {\n total\n main\n replies\n }\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = '453e11c9b3acd12fc26471e671726bfc' - -export default node diff --git a/packages/components/__generated__/CommentItemRefetchQuery.graphql.ts b/packages/components/__generated__/CommentItemRefetchQuery.graphql.ts deleted file mode 100644 index 7c9a8e27..00000000 --- a/packages/components/__generated__/CommentItemRefetchQuery.graphql.ts +++ /dev/null @@ -1,451 +0,0 @@ -/** - * @generated SignedSource<<5474c2f1eadf62d16b8b79ebb88d7135>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentItemRefetchQuery$variables = { - id: string - isRepliesExpanded?: boolean | null | undefined -} -export type CommentItemRefetchQuery$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined -} -export type CommentItemRefetchQuery = { - response: CommentItemRefetchQuery$data - variables: CommentItemRefetchQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - v1 = { - defaultValue: false, - kind: 'LocalArgument', - name: 'isRepliesExpanded', - }, - v2 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v5 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - v7 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v8 = { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v4 /*: any*/, - v5 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - v9 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v10 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v11 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v10 /*: any*/, - storageKey: null, - }, - v12 = { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - v13 = { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - v14 = { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - v15 = { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - v16 = [ - { - kind: 'Literal', - name: 'first', - value: 5, - }, - { - kind: 'Literal', - name: 'orderBy', - value: '-is_pinned,-created', - }, - ], - v17 = { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v10 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - v18 = { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - } - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'CommentItemRefetchQuery', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'isRepliesExpanded', - variableName: 'isRepliesExpanded', - }, - ], - kind: 'FragmentSpread', - name: 'CommentItem_comment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'CommentItemRefetchQuery', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - v4 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - v5 /*: any*/, - v6 /*: any*/, - v7 /*: any*/, - v8 /*: any*/, - v9 /*: any*/, - v11 /*: any*/, - v12 /*: any*/, - v13 /*: any*/, - v14 /*: any*/, - v15 /*: any*/, - { - condition: 'isRepliesExpanded', - kind: 'Condition', - passingValue: true, - selections: [ - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: v16 /*: any*/, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: 'comments', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v4 /*: any*/, - v7 /*: any*/, - v5 /*: any*/, - v6 /*: any*/, - v8 /*: any*/, - v9 /*: any*/, - v11 /*: any*/, - v12 /*: any*/, - v13 /*: any*/, - v14 /*: any*/, - v15 /*: any*/, - v3 /*: any*/, - v17 /*: any*/, - v18 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'comments(first:5,orderBy:"-is_pinned,-created")', - }, - { - alias: null, - args: v16 /*: any*/, - filters: [], - handle: 'connection', - key: 'CommentsList_comments', - kind: 'LinkedHandle', - name: 'comments', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - }, - ], - }, - v17 /*: any*/, - v18 /*: any*/, - ], - type: 'Comment', - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'df527927045fb9f7719d99ca6e66ec58', - id: null, - metadata: {}, - name: 'CommentItemRefetchQuery', - operationKind: 'query', - text: 'query CommentItemRefetchQuery(\n $isRepliesExpanded: Boolean = false\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...CommentItem_comment_2aaWJ5\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_comment_2aaWJ5 on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...CommentsList_comments @include(if: $isRepliesExpanded)\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment CommentsList_comments on CommentsInterface {\n __isCommentsInterface: __typename\n id\n commentsCount {\n total\n }\n comments(first: 5, orderBy: "-is_pinned,-created") {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n isPinned\n ...CommentItem_comment\n __typename\n }\n cursor\n }\n }\n ...CommentItem_target\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = '6b85079a50a9d42f07d0859fcf536a61' - -export default node diff --git a/packages/components/__generated__/CommentItemWithQuery.graphql.ts b/packages/components/__generated__/CommentItemWithQuery.graphql.ts deleted file mode 100644 index e9d8504f..00000000 --- a/packages/components/__generated__/CommentItemWithQuery.graphql.ts +++ /dev/null @@ -1,416 +0,0 @@ -/** - * @generated SignedSource<<26b726b1c2638811a0aef0344cd70967>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentItemWithQuery$variables = Record -export type CommentItemWithQuery$data = { - readonly target: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined -} -export type CommentItemWithQuery = { - response: CommentItemWithQuery$data - variables: CommentItemWithQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - kind: 'Literal', - name: 'id', - value: 'test-id', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v3 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v4 = { - enumValues: null, - nullable: false, - plural: false, - type: 'String', - }, - v5 = { - enumValues: null, - nullable: true, - plural: false, - type: 'String', - }, - v6 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Boolean', - }, - v7 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Int', - }, - v8 = { - enumValues: null, - nullable: false, - plural: false, - type: 'ID', - }, - v9 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Int', - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'CommentItemWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_comment', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'CommentItemWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - type: 'Comment', - abstractKey: null, - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - }, - params: { - cacheID: '5163abd4a91f774725f50d7ce4c25b6e', - id: null, - metadata: { - relayTestingSelectionTypeInfo: { - target: { - enumValues: null, - nullable: true, - plural: false, - type: 'Node', - }, - 'target.__isCommentsInterface': v4 /*: any*/, - 'target.__isReactionsInterface': v4 /*: any*/, - 'target.__typename': v4 /*: any*/, - 'target.body': v5 /*: any*/, - 'target.canChange': v6 /*: any*/, - 'target.canDelete': v6 /*: any*/, - 'target.canPin': v6 /*: any*/, - 'target.canReport': v6 /*: any*/, - 'target.commentsCount': { - enumValues: null, - nullable: false, - plural: false, - type: 'CommentsCount', - }, - 'target.commentsCount.total': v7 /*: any*/, - 'target.created': { - enumValues: null, - nullable: false, - plural: false, - type: 'DateTime', - }, - 'target.id': v8 /*: any*/, - 'target.isPinned': { - enumValues: null, - nullable: false, - plural: false, - type: 'Boolean', - }, - 'target.myReaction': { - enumValues: null, - nullable: true, - plural: false, - type: 'Reaction', - }, - 'target.myReaction.id': v8 /*: any*/, - 'target.myReaction.reactionType': { - enumValues: ['LIKE', 'DISLIKE'], - nullable: true, - plural: false, - type: 'ReactionTypes', - }, - 'target.pk': v9 /*: any*/, - 'target.reactionsCount': { - enumValues: null, - nullable: true, - plural: false, - type: 'ReactionsCount', - }, - 'target.reactionsCount.total': v7 /*: any*/, - 'target.user': { - enumValues: null, - nullable: true, - plural: false, - type: 'User', - }, - 'target.user.avatar': { - enumValues: null, - nullable: true, - plural: false, - type: 'File', - }, - 'target.user.avatar.url': v4 /*: any*/, - 'target.user.fullName': v5 /*: any*/, - 'target.user.id': v8 /*: any*/, - 'target.user.pk': v9 /*: any*/, - }, - }, - name: 'CommentItemWithQuery', - operationKind: 'query', - text: 'query CommentItemWithQuery {\n target: node(id: "test-id") {\n __typename\n ...CommentItem_comment\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'b82095e37c4404b9cfe9b3703c7ee2c7' - -export default node diff --git a/packages/components/__generated__/CommentItem_comment.graphql.ts b/packages/components/__generated__/CommentItem_comment.graphql.ts deleted file mode 100644 index 840a0d12..00000000 --- a/packages/components/__generated__/CommentItem_comment.graphql.ts +++ /dev/null @@ -1,260 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentItem_comment$data = { - readonly body: string | null | undefined - readonly canChange: boolean | null | undefined - readonly canDelete: boolean | null | undefined - readonly canPin: boolean | null | undefined - readonly canReport: boolean | null | undefined - readonly commentsCount: { - readonly total: number | null | undefined - } - readonly created: any - readonly id: string - readonly isPinned: boolean - readonly pk: number - readonly user: - | { - readonly avatar: - | { - readonly url: string - } - | null - | undefined - readonly fullName: string | null | undefined - readonly id: string - readonly pk: number - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs< - 'CommentItem_target' | 'CommentsList_comments' | 'ReactionButton_target' - > - readonly ' $fragmentType': 'CommentItem_comment' -} -export type CommentItem_comment$key = { - readonly ' $data'?: CommentItem_comment$data - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> -} - -const node: ReaderFragment = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: false, - kind: 'LocalArgument', - name: 'isRepliesExpanded', - }, - ], - kind: 'Fragment', - metadata: { - refetch: { - connection: null, - fragmentPathInResult: ['node'], - operation: require('./CommentItemRefetchQuery.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'CommentItem_comment', - selections: [ - v0 /*: any*/, - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v0 /*: any*/, - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - { - condition: 'isRepliesExpanded', - kind: 'Condition', - passingValue: true, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentsList_comments', - }, - ], - }, - { - args: null, - kind: 'FragmentSpread', - name: 'ReactionButton_target', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_target', - }, - ], - type: 'Comment', - abstractKey: null, - } -})() - -;(node as any).hash = '6b85079a50a9d42f07d0859fcf536a61' - -export default node diff --git a/packages/components/__generated__/CommentItem_target.graphql.ts b/packages/components/__generated__/CommentItem_target.graphql.ts deleted file mode 100644 index a7cf5dbf..00000000 --- a/packages/components/__generated__/CommentItem_target.graphql.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentItem_target$data = { - readonly id: string - readonly ' $fragmentType': 'CommentItem_target' -} -export type CommentItem_target$key = { - readonly ' $data'?: CommentItem_target$data - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_target'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'CommentItem_target', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', -} - -;(node as any).hash = '6b7c78ab34a5b8f4ef45b6facdfadf6b' - -export default node diff --git a/packages/components/__generated__/CommentPinMutation.graphql.ts b/packages/components/__generated__/CommentPinMutation.graphql.ts deleted file mode 100644 index 6c13ea30..00000000 --- a/packages/components/__generated__/CommentPinMutation.graphql.ts +++ /dev/null @@ -1,123 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' - -export type CommentPinMutation$variables = { - id: string -} -export type CommentPinMutation$data = { - readonly commentPin: - | { - readonly comment: - | { - readonly id: string - readonly isPinned: boolean - } - | null - | undefined - } - | null - | undefined -} -export type CommentPinMutation = { - response: CommentPinMutation$data - variables: CommentPinMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - ], - v1 = [ - { - alias: null, - args: [ - { - fields: [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - kind: 'ObjectValue', - name: 'input', - }, - ], - concreteType: 'CommentPinPayload', - kind: 'LinkedField', - name: 'commentPin', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'comment', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'CommentPinMutation', - selections: v1 /*: any*/, - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'CommentPinMutation', - selections: v1 /*: any*/, - }, - params: { - cacheID: 'f52c4201ceaafbbba2ed048338c7b9d6', - id: null, - metadata: {}, - name: 'CommentPinMutation', - operationKind: 'mutation', - text: 'mutation CommentPinMutation(\n $id: ID!\n) {\n commentPin(input: {id: $id}) {\n comment {\n id\n isPinned\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = '26f8620978ac19cc3f24ec49176a04b6' - -export default node diff --git a/packages/components/__generated__/CommentUpdateMutation.graphql.ts b/packages/components/__generated__/CommentUpdateMutation.graphql.ts deleted file mode 100644 index a2645c33..00000000 --- a/packages/components/__generated__/CommentUpdateMutation.graphql.ts +++ /dev/null @@ -1,480 +0,0 @@ -/** - * @generated SignedSource<<68f58ad13b68215f1d467721750edfc9>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentUpdateInput = { - body: string - clientMutationId?: string | null | undefined - id: string -} -export type CommentUpdateMutation$variables = { - input: CommentUpdateInput -} -export type CommentUpdateMutation$data = { - readonly commentUpdate: - | { - readonly comment: - | { - readonly body: string | null | undefined - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'CommentsList_comments'> - } - | null - | undefined - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - } - | null - | undefined -} -export type CommentUpdateMutation = { - response: CommentUpdateMutation$data - variables: CommentUpdateMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v6 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - v7 = [ - { - kind: 'Literal', - name: 'first', - value: 5, - }, - { - kind: 'Literal', - name: 'orderBy', - value: '-is_pinned,-created', - }, - ], - v8 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'CommentUpdateMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'CommentUpdatePayload', - kind: 'LinkedField', - name: 'commentUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'comment', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'CommentsList_comments', - }, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'CommentUpdateMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'CommentUpdatePayload', - kind: 'LinkedField', - name: 'commentUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'comment', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - v6 /*: any*/, - { - alias: null, - args: v7 /*: any*/, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: 'comments', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v8 /*: any*/, - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v2 /*: any*/, - v8 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v6 /*: any*/, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'comments(first:5,orderBy:"-is_pinned,-created")', - }, - { - alias: null, - args: v7 /*: any*/, - filters: [], - handle: 'connection', - key: 'CommentsList_comments', - kind: 'LinkedHandle', - name: 'comments', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '516cc6fe05cec2d5539841a5d9b94dad', - id: null, - metadata: {}, - name: 'CommentUpdateMutation', - operationKind: 'mutation', - text: 'mutation CommentUpdateMutation(\n $input: CommentUpdateInput!\n) {\n commentUpdate(input: $input) {\n comment {\n id\n body\n ...CommentsList_comments\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment CommentsList_comments on CommentsInterface {\n __isCommentsInterface: __typename\n id\n commentsCount {\n total\n }\n comments(first: 5, orderBy: "-is_pinned,-created") {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n isPinned\n ...CommentItem_comment\n __typename\n }\n cursor\n }\n }\n ...CommentItem_target\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'a65012ae50ff01b71fc9c930881f0c1a' - -export default node diff --git a/packages/components/__generated__/CommentsForTestingQuery.graphql.ts b/packages/components/__generated__/CommentsForTestingQuery.graphql.ts deleted file mode 100644 index 4996a5db..00000000 --- a/packages/components/__generated__/CommentsForTestingQuery.graphql.ts +++ /dev/null @@ -1,549 +0,0 @@ -/** - * @generated SignedSource<<5d94d7b19e6b427961938a0399937d23>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsForTestingQuery$variables = Record -export type CommentsForTestingQuery$data = { - readonly target: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentsFragment'> - } - | null - | undefined -} -export type CommentsForTestingQuery = { - response: CommentsForTestingQuery$data - variables: CommentsForTestingQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - kind: 'Literal', - name: 'id', - value: 'test-id', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v4 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - v5 = [ - { - kind: 'Literal', - name: 'first', - value: 5, - }, - { - kind: 'Literal', - name: 'orderBy', - value: '-is_pinned,-created', - }, - ], - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v7 = { - enumValues: null, - nullable: false, - plural: false, - type: 'String', - }, - v8 = { - enumValues: null, - nullable: true, - plural: false, - type: 'String', - }, - v9 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Boolean', - }, - v10 = { - enumValues: null, - nullable: false, - plural: false, - type: 'CommentsCount', - }, - v11 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Int', - }, - v12 = { - enumValues: null, - nullable: false, - plural: false, - type: 'ID', - }, - v13 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Boolean', - }, - v14 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Int', - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'CommentsForTestingQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentsFragment', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'CommentsForTestingQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isCommentsEnabled', - storageKey: null, - }, - v4 /*: any*/, - { - alias: null, - args: v5 /*: any*/, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: 'comments', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v6 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v2 /*: any*/, - v6 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v4 /*: any*/, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'comments(first:5,orderBy:"-is_pinned,-created")', - }, - { - alias: null, - args: v5 /*: any*/, - filters: [], - handle: 'connection', - key: 'CommentsList_comments', - kind: 'LinkedHandle', - name: 'comments', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - }, - params: { - cacheID: '1b17e21396b3429eed413e765e7845c6', - id: null, - metadata: { - relayTestingSelectionTypeInfo: { - target: { - enumValues: null, - nullable: true, - plural: false, - type: 'Node', - }, - 'target.__isCommentsInterface': v7 /*: any*/, - 'target.__typename': v7 /*: any*/, - 'target.comments': { - enumValues: null, - nullable: true, - plural: false, - type: 'CommentConnection', - }, - 'target.comments.edges': { - enumValues: null, - nullable: false, - plural: true, - type: 'CommentEdge', - }, - 'target.comments.edges.cursor': v7 /*: any*/, - 'target.comments.edges.node': { - enumValues: null, - nullable: true, - plural: false, - type: 'Comment', - }, - 'target.comments.edges.node.__isCommentsInterface': v7 /*: any*/, - 'target.comments.edges.node.__isReactionsInterface': v7 /*: any*/, - 'target.comments.edges.node.__typename': v7 /*: any*/, - 'target.comments.edges.node.body': v8 /*: any*/, - 'target.comments.edges.node.canChange': v9 /*: any*/, - 'target.comments.edges.node.canDelete': v9 /*: any*/, - 'target.comments.edges.node.canPin': v9 /*: any*/, - 'target.comments.edges.node.canReport': v9 /*: any*/, - 'target.comments.edges.node.commentsCount': v10 /*: any*/, - 'target.comments.edges.node.commentsCount.total': v11 /*: any*/, - 'target.comments.edges.node.created': { - enumValues: null, - nullable: false, - plural: false, - type: 'DateTime', - }, - 'target.comments.edges.node.id': v12 /*: any*/, - 'target.comments.edges.node.isPinned': v13 /*: any*/, - 'target.comments.edges.node.myReaction': { - enumValues: null, - nullable: true, - plural: false, - type: 'Reaction', - }, - 'target.comments.edges.node.myReaction.id': v12 /*: any*/, - 'target.comments.edges.node.myReaction.reactionType': { - enumValues: ['LIKE', 'DISLIKE'], - nullable: true, - plural: false, - type: 'ReactionTypes', - }, - 'target.comments.edges.node.pk': v14 /*: any*/, - 'target.comments.edges.node.reactionsCount': { - enumValues: null, - nullable: true, - plural: false, - type: 'ReactionsCount', - }, - 'target.comments.edges.node.reactionsCount.total': v11 /*: any*/, - 'target.comments.edges.node.user': { - enumValues: null, - nullable: true, - plural: false, - type: 'User', - }, - 'target.comments.edges.node.user.avatar': { - enumValues: null, - nullable: true, - plural: false, - type: 'File', - }, - 'target.comments.edges.node.user.avatar.url': v7 /*: any*/, - 'target.comments.edges.node.user.fullName': v8 /*: any*/, - 'target.comments.edges.node.user.id': v12 /*: any*/, - 'target.comments.edges.node.user.pk': v14 /*: any*/, - 'target.comments.pageInfo': { - enumValues: null, - nullable: false, - plural: false, - type: 'PageInfo', - }, - 'target.comments.pageInfo.endCursor': v8 /*: any*/, - 'target.comments.pageInfo.hasNextPage': v13 /*: any*/, - 'target.commentsCount': v10 /*: any*/, - 'target.commentsCount.total': v11 /*: any*/, - 'target.id': v12 /*: any*/, - 'target.isCommentsEnabled': v13 /*: any*/, - }, - }, - name: 'CommentsForTestingQuery', - operationKind: 'query', - text: 'query CommentsForTestingQuery {\n target: node(id: "test-id") {\n __typename\n ...CommentsFragment\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment CommentsFragment on CommentsInterface {\n __isCommentsInterface: __typename\n id\n __typename\n isCommentsEnabled\n commentsCount {\n total\n }\n ...CommentsList_comments\n ...CommentItem_target\n}\n\nfragment CommentsList_comments on CommentsInterface {\n __isCommentsInterface: __typename\n id\n commentsCount {\n total\n }\n comments(first: 5, orderBy: "-is_pinned,-created") {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n isPinned\n ...CommentItem_comment\n __typename\n }\n cursor\n }\n }\n ...CommentItem_target\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'cce9412db51dd89e09f6b47cfc6315b5' - -export default node diff --git a/packages/components/__generated__/CommentsFragment.graphql.ts b/packages/components/__generated__/CommentsFragment.graphql.ts deleted file mode 100644 index 7b45dda5..00000000 --- a/packages/components/__generated__/CommentsFragment.graphql.ts +++ /dev/null @@ -1,114 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsFragment$data = { - readonly __typename: string - readonly commentsCount: { - readonly total: number | null | undefined - } - readonly id: string - readonly isCommentsEnabled: boolean - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_target' | 'CommentsList_comments'> - readonly ' $fragmentType': 'CommentsFragment' -} -export type CommentsFragment$key = { - readonly ' $data'?: CommentsFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'CommentsFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [ - { - defaultValue: true, - kind: 'LocalArgument', - name: 'isCommentsOpened', - }, - ], - kind: 'Fragment', - metadata: { - refetch: { - connection: null, - fragmentPathInResult: ['node'], - operation: require('./CommentsRefetchQuery.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'CommentsFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isCommentsEnabled', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - storageKey: null, - }, - { - condition: 'isCommentsOpened', - kind: 'Condition', - passingValue: true, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentsList_comments', - }, - ], - }, - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_target', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', -} - -;(node as any).hash = '5c6447c09e41ab2fcd66157fb900571a' - -export default node diff --git a/packages/components/__generated__/CommentsListPaginationQuery.graphql.ts b/packages/components/__generated__/CommentsListPaginationQuery.graphql.ts deleted file mode 100644 index ff00314c..00000000 --- a/packages/components/__generated__/CommentsListPaginationQuery.graphql.ts +++ /dev/null @@ -1,453 +0,0 @@ -/** - * @generated SignedSource<<831af848ccdb0938fdc0f4c912b20292>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsListPaginationQuery$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - id: string - orderBy?: string | null | undefined - q?: string | null | undefined -} -export type CommentsListPaginationQuery$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentsList_comments'> - } - | null - | undefined -} -export type CommentsListPaginationQuery = { - response: CommentsListPaginationQuery$data - variables: CommentsListPaginationQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - v2 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - v3 = { - defaultValue: '-is_pinned,-created', - kind: 'LocalArgument', - name: 'orderBy', - }, - v4 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'q', - }, - v5 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v6 = { - kind: 'Variable', - name: 'orderBy', - variableName: 'orderBy', - }, - v7 = { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - v8 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v9 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v10 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v11 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v10 /*: any*/, - storageKey: null, - }, - v12 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - v6 /*: any*/, - v7 /*: any*/, - ], - v13 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/, v4 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'CommentsListPaginationQuery', - selections: [ - { - alias: null, - args: v5 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - v6 /*: any*/, - v7 /*: any*/, - ], - kind: 'FragmentSpread', - name: 'CommentsList_comments', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/, v3 /*: any*/, v4 /*: any*/, v2 /*: any*/], - kind: 'Operation', - name: 'CommentsListPaginationQuery', - selections: [ - { - alias: null, - args: v5 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v8 /*: any*/, - v9 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - v11 /*: any*/, - { - alias: null, - args: v12 /*: any*/, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: 'comments', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v9 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v13 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v9 /*: any*/, - v13 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v11 /*: any*/, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - v8 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v10 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v9 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v12 /*: any*/, - filters: [], - handle: 'connection', - key: 'CommentsList_comments', - kind: 'LinkedHandle', - name: 'comments', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'de4d3ba673b6bcb9b4d69c8a90a02017', - id: null, - metadata: {}, - name: 'CommentsListPaginationQuery', - operationKind: 'query', - text: 'query CommentsListPaginationQuery(\n $count: Int = 5\n $cursor: String\n $orderBy: String = "-is_pinned,-created"\n $q: String\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...CommentsList_comments_40Ewnb\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment CommentsList_comments_40Ewnb on CommentsInterface {\n __isCommentsInterface: __typename\n id\n commentsCount {\n total\n }\n comments(first: $count, after: $cursor, q: $q, orderBy: $orderBy) {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n isPinned\n ...CommentItem_comment\n __typename\n }\n cursor\n }\n }\n ...CommentItem_target\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = '873f3258ff0a18f046b689e6aafb00c9' - -export default node diff --git a/packages/components/__generated__/CommentsListWithQuery.graphql.ts b/packages/components/__generated__/CommentsListWithQuery.graphql.ts deleted file mode 100644 index 35edcaa8..00000000 --- a/packages/components/__generated__/CommentsListWithQuery.graphql.ts +++ /dev/null @@ -1,541 +0,0 @@ -/** - * @generated SignedSource<<42b9c29b4cdce4190e8bad3f0ae90ea4>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsListWithQuery$variables = Record -export type CommentsListWithQuery$data = { - readonly target: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentsList_comments'> - } - | null - | undefined -} -export type CommentsListWithQuery = { - response: CommentsListWithQuery$data - variables: CommentsListWithQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - kind: 'Literal', - name: 'id', - value: 'test-id', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v4 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - v5 = [ - { - kind: 'Literal', - name: 'first', - value: 5, - }, - { - kind: 'Literal', - name: 'orderBy', - value: '-is_pinned,-created', - }, - ], - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v7 = { - enumValues: null, - nullable: false, - plural: false, - type: 'String', - }, - v8 = { - enumValues: null, - nullable: true, - plural: false, - type: 'String', - }, - v9 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Boolean', - }, - v10 = { - enumValues: null, - nullable: false, - plural: false, - type: 'CommentsCount', - }, - v11 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Int', - }, - v12 = { - enumValues: null, - nullable: false, - plural: false, - type: 'ID', - }, - v13 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Boolean', - }, - v14 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Int', - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'CommentsListWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentsList_comments', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'CommentsListWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - v4 /*: any*/, - { - alias: null, - args: v5 /*: any*/, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: 'comments', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v6 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v2 /*: any*/, - v6 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v4 /*: any*/, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'comments(first:5,orderBy:"-is_pinned,-created")', - }, - { - alias: null, - args: v5 /*: any*/, - filters: [], - handle: 'connection', - key: 'CommentsList_comments', - kind: 'LinkedHandle', - name: 'comments', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - }, - params: { - cacheID: 'eba3177159560ce677a33d0e4bfd216c', - id: null, - metadata: { - relayTestingSelectionTypeInfo: { - target: { - enumValues: null, - nullable: true, - plural: false, - type: 'Node', - }, - 'target.__isCommentsInterface': v7 /*: any*/, - 'target.__typename': v7 /*: any*/, - 'target.comments': { - enumValues: null, - nullable: true, - plural: false, - type: 'CommentConnection', - }, - 'target.comments.edges': { - enumValues: null, - nullable: false, - plural: true, - type: 'CommentEdge', - }, - 'target.comments.edges.cursor': v7 /*: any*/, - 'target.comments.edges.node': { - enumValues: null, - nullable: true, - plural: false, - type: 'Comment', - }, - 'target.comments.edges.node.__isCommentsInterface': v7 /*: any*/, - 'target.comments.edges.node.__isReactionsInterface': v7 /*: any*/, - 'target.comments.edges.node.__typename': v7 /*: any*/, - 'target.comments.edges.node.body': v8 /*: any*/, - 'target.comments.edges.node.canChange': v9 /*: any*/, - 'target.comments.edges.node.canDelete': v9 /*: any*/, - 'target.comments.edges.node.canPin': v9 /*: any*/, - 'target.comments.edges.node.canReport': v9 /*: any*/, - 'target.comments.edges.node.commentsCount': v10 /*: any*/, - 'target.comments.edges.node.commentsCount.total': v11 /*: any*/, - 'target.comments.edges.node.created': { - enumValues: null, - nullable: false, - plural: false, - type: 'DateTime', - }, - 'target.comments.edges.node.id': v12 /*: any*/, - 'target.comments.edges.node.isPinned': v13 /*: any*/, - 'target.comments.edges.node.myReaction': { - enumValues: null, - nullable: true, - plural: false, - type: 'Reaction', - }, - 'target.comments.edges.node.myReaction.id': v12 /*: any*/, - 'target.comments.edges.node.myReaction.reactionType': { - enumValues: ['LIKE', 'DISLIKE'], - nullable: true, - plural: false, - type: 'ReactionTypes', - }, - 'target.comments.edges.node.pk': v14 /*: any*/, - 'target.comments.edges.node.reactionsCount': { - enumValues: null, - nullable: true, - plural: false, - type: 'ReactionsCount', - }, - 'target.comments.edges.node.reactionsCount.total': v11 /*: any*/, - 'target.comments.edges.node.user': { - enumValues: null, - nullable: true, - plural: false, - type: 'User', - }, - 'target.comments.edges.node.user.avatar': { - enumValues: null, - nullable: true, - plural: false, - type: 'File', - }, - 'target.comments.edges.node.user.avatar.url': v7 /*: any*/, - 'target.comments.edges.node.user.fullName': v8 /*: any*/, - 'target.comments.edges.node.user.id': v12 /*: any*/, - 'target.comments.edges.node.user.pk': v14 /*: any*/, - 'target.comments.pageInfo': { - enumValues: null, - nullable: false, - plural: false, - type: 'PageInfo', - }, - 'target.comments.pageInfo.endCursor': v8 /*: any*/, - 'target.comments.pageInfo.hasNextPage': v13 /*: any*/, - 'target.commentsCount': v10 /*: any*/, - 'target.commentsCount.total': v11 /*: any*/, - 'target.id': v12 /*: any*/, - }, - }, - name: 'CommentsListWithQuery', - operationKind: 'query', - text: 'query CommentsListWithQuery {\n target: node(id: "test-id") {\n __typename\n ...CommentsList_comments\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment CommentsList_comments on CommentsInterface {\n __isCommentsInterface: __typename\n id\n commentsCount {\n total\n }\n comments(first: 5, orderBy: "-is_pinned,-created") {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n isPinned\n ...CommentItem_comment\n __typename\n }\n cursor\n }\n }\n ...CommentItem_target\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'acb6e47e69c86ce2d6db47adc66589dc' - -export default node diff --git a/packages/components/__generated__/CommentsList_comments.graphql.ts b/packages/components/__generated__/CommentsList_comments.graphql.ts deleted file mode 100644 index 12279aec..00000000 --- a/packages/components/__generated__/CommentsList_comments.graphql.ts +++ /dev/null @@ -1,228 +0,0 @@ -/** - * @generated SignedSource<<2a592a8b26b777216c55f7feb42ca225>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsList_comments$data = { - readonly comments: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly id: string - readonly isPinned: boolean - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - } - | null - | undefined - readonly commentsCount: { - readonly total: number | null | undefined - } - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_target'> - readonly ' $fragmentType': 'CommentsList_comments' -} -export type CommentsList_comments$key = { - readonly ' $data'?: CommentsList_comments$data - readonly ' $fragmentSpreads': FragmentRefs<'CommentsList_comments'> -} - -const node: ReaderFragment = (function () { - var v0 = ['comments'], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: '-is_pinned,-created', - kind: 'LocalArgument', - name: 'orderBy', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'q', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: ['node'], - operation: require('./CommentsListPaginationQuery.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'CommentsList_comments', - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: 'comments', - args: null, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: '__CommentsList_comments_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_comment', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_target', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - } -})() - -;(node as any).hash = '873f3258ff0a18f046b689e6aafb00c9' - -export default node diff --git a/packages/components/__generated__/CommentsRefetchQuery.graphql.ts b/packages/components/__generated__/CommentsRefetchQuery.graphql.ts deleted file mode 100644 index 856bdd0a..00000000 --- a/packages/components/__generated__/CommentsRefetchQuery.graphql.ts +++ /dev/null @@ -1,430 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsRefetchQuery$variables = { - id: string - isCommentsOpened?: boolean | null | undefined -} -export type CommentsRefetchQuery$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentsFragment'> - } - | null - | undefined -} -export type CommentsRefetchQuery = { - response: CommentsRefetchQuery$data - variables: CommentsRefetchQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - v1 = { - defaultValue: true, - kind: 'LocalArgument', - name: 'isCommentsOpened', - }, - v2 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v5 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v6 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - v7 = [ - { - kind: 'Literal', - name: 'first', - value: 5, - }, - { - kind: 'Literal', - name: 'orderBy', - value: '-is_pinned,-created', - }, - ], - v8 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'CommentsRefetchQuery', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'isCommentsOpened', - variableName: 'isCommentsOpened', - }, - ], - kind: 'FragmentSpread', - name: 'CommentsFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'CommentsRefetchQuery', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - v4 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isCommentsEnabled', - storageKey: null, - }, - v6 /*: any*/, - { - condition: 'isCommentsOpened', - kind: 'Condition', - passingValue: true, - selections: [ - { - alias: null, - args: v7 /*: any*/, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: 'comments', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v8 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v4 /*: any*/, - v8 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v6 /*: any*/, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - v3 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'comments(first:5,orderBy:"-is_pinned,-created")', - }, - { - alias: null, - args: v7 /*: any*/, - filters: [], - handle: 'connection', - key: 'CommentsList_comments', - kind: 'LinkedHandle', - name: 'comments', - }, - ], - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '29c62fd9e62f6ecb8ffe052163e053c6', - id: null, - metadata: {}, - name: 'CommentsRefetchQuery', - operationKind: 'query', - text: 'query CommentsRefetchQuery(\n $isCommentsOpened: Boolean = true\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...CommentsFragment_2iZoM\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment CommentsFragment_2iZoM on CommentsInterface {\n __isCommentsInterface: __typename\n id\n __typename\n isCommentsEnabled\n commentsCount {\n total\n }\n ...CommentsList_comments @include(if: $isCommentsOpened)\n ...CommentItem_target\n}\n\nfragment CommentsList_comments on CommentsInterface {\n __isCommentsInterface: __typename\n id\n commentsCount {\n total\n }\n comments(first: 5, orderBy: "-is_pinned,-created") {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n isPinned\n ...CommentItem_comment\n __typename\n }\n cursor\n }\n }\n ...CommentItem_target\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = '5c6447c09e41ab2fcd66157fb900571a' - -export default node diff --git a/packages/components/__generated__/CommentsSubscription.graphql.ts b/packages/components/__generated__/CommentsSubscription.graphql.ts deleted file mode 100644 index ce87d021..00000000 --- a/packages/components/__generated__/CommentsSubscription.graphql.ts +++ /dev/null @@ -1,515 +0,0 @@ -/** - * @generated SignedSource<<51bf797c859d8ccb125c0762e04dd7fe>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, GraphQLSubscription } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsSubscription$variables = { - connections: ReadonlyArray - targetObjectId?: string | null | undefined -} -export type CommentsSubscription$data = { - readonly onCommentChange: - | { - readonly createdComment: - | { - readonly node: - | { - readonly id: string - readonly target: - | { - readonly commentsCount: { - readonly main: number | null | undefined - readonly replies: number | null | undefined - readonly total: number | null | undefined - } - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined - } - | null - | undefined - readonly deletedCommentId: string | null | undefined - readonly updatedComment: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined - } - | null - | undefined -} -export type CommentsSubscription = { - response: CommentsSubscription$data - variables: CommentsSubscription$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'targetObjectId', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'targetObjectId', - variableName: 'targetObjectId', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_comment', - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - v5 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'main', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'replies', - storageKey: null, - }, - ], - storageKey: null, - }, - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'deletedCommentId', - storageKey: null, - }, - v7 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v8 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - v9 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v10 = { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v2 /*: any*/, - v7 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - v11 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v12 = [v4 /*: any*/], - v13 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v12 /*: any*/, - storageKey: null, - }, - v14 = { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - v15 = { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - v16 = { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - v17 = { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - v18 = { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v12 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - v19 = { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'CommentsSubscription', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'OnCommentChange', - kind: 'LinkedField', - name: 'onCommentChange', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'createdComment', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [v5 /*: any*/], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'updatedComment', - plural: false, - selections: [v3 /*: any*/], - storageKey: null, - }, - v6 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Subscription', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'CommentsSubscription', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'OnCommentChange', - kind: 'LinkedField', - name: 'onCommentChange', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'createdComment', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v7 /*: any*/, - v8 /*: any*/, - v9 /*: any*/, - v10 /*: any*/, - v11 /*: any*/, - v13 /*: any*/, - v14 /*: any*/, - v15 /*: any*/, - v16 /*: any*/, - v17 /*: any*/, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v5 /*: any*/, - v2 /*: any*/, - ], - storageKey: null, - }, - v18 /*: any*/, - v19 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - filters: null, - handle: 'prependEdge', - key: '', - kind: 'LinkedHandle', - name: 'createdComment', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'updatedComment', - plural: false, - selections: [ - v2 /*: any*/, - v7 /*: any*/, - v8 /*: any*/, - v9 /*: any*/, - v10 /*: any*/, - v11 /*: any*/, - v13 /*: any*/, - v14 /*: any*/, - v15 /*: any*/, - v16 /*: any*/, - v17 /*: any*/, - v18 /*: any*/, - v19 /*: any*/, - ], - storageKey: null, - }, - v6 /*: any*/, - { - alias: null, - args: null, - filters: null, - handle: 'deleteRecord', - key: '', - kind: 'ScalarHandle', - name: 'deletedCommentId', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'e23e08eb3ec21610ecbc8771eed8f73f', - id: null, - metadata: {}, - name: 'CommentsSubscription', - operationKind: 'subscription', - text: 'subscription CommentsSubscription(\n $targetObjectId: ID\n) {\n onCommentChange(targetObjectId: $targetObjectId) {\n createdComment {\n node {\n id\n ...CommentItem_comment\n target {\n __typename\n commentsCount {\n total\n main\n replies\n }\n id\n }\n }\n }\n updatedComment {\n ...CommentItem_comment\n id\n }\n deletedCommentId\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'f649494aea3b062943d369c8368ca337' - -export default node diff --git a/packages/components/__generated__/CommentsUpdateWithQuery.graphql.ts b/packages/components/__generated__/CommentsUpdateWithQuery.graphql.ts deleted file mode 100644 index 568fcb04..00000000 --- a/packages/components/__generated__/CommentsUpdateWithQuery.graphql.ts +++ /dev/null @@ -1,416 +0,0 @@ -/** - * @generated SignedSource<<07b041b7516968adca021d17a0dd0a4d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsUpdateWithQuery$variables = Record -export type CommentsUpdateWithQuery$data = { - readonly target: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined -} -export type CommentsUpdateWithQuery = { - response: CommentsUpdateWithQuery$data - variables: CommentsUpdateWithQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - kind: 'Literal', - name: 'id', - value: 'test-id', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v3 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v4 = { - enumValues: null, - nullable: false, - plural: false, - type: 'String', - }, - v5 = { - enumValues: null, - nullable: true, - plural: false, - type: 'String', - }, - v6 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Boolean', - }, - v7 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Int', - }, - v8 = { - enumValues: null, - nullable: false, - plural: false, - type: 'ID', - }, - v9 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Int', - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'CommentsUpdateWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_comment', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'CommentsUpdateWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - type: 'Comment', - abstractKey: null, - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - }, - params: { - cacheID: 'db4077014bdf5986fbfdc07879a630e9', - id: null, - metadata: { - relayTestingSelectionTypeInfo: { - target: { - enumValues: null, - nullable: true, - plural: false, - type: 'Node', - }, - 'target.__isCommentsInterface': v4 /*: any*/, - 'target.__isReactionsInterface': v4 /*: any*/, - 'target.__typename': v4 /*: any*/, - 'target.body': v5 /*: any*/, - 'target.canChange': v6 /*: any*/, - 'target.canDelete': v6 /*: any*/, - 'target.canPin': v6 /*: any*/, - 'target.canReport': v6 /*: any*/, - 'target.commentsCount': { - enumValues: null, - nullable: false, - plural: false, - type: 'CommentsCount', - }, - 'target.commentsCount.total': v7 /*: any*/, - 'target.created': { - enumValues: null, - nullable: false, - plural: false, - type: 'DateTime', - }, - 'target.id': v8 /*: any*/, - 'target.isPinned': { - enumValues: null, - nullable: false, - plural: false, - type: 'Boolean', - }, - 'target.myReaction': { - enumValues: null, - nullable: true, - plural: false, - type: 'Reaction', - }, - 'target.myReaction.id': v8 /*: any*/, - 'target.myReaction.reactionType': { - enumValues: ['LIKE', 'DISLIKE'], - nullable: true, - plural: false, - type: 'ReactionTypes', - }, - 'target.pk': v9 /*: any*/, - 'target.reactionsCount': { - enumValues: null, - nullable: true, - plural: false, - type: 'ReactionsCount', - }, - 'target.reactionsCount.total': v7 /*: any*/, - 'target.user': { - enumValues: null, - nullable: true, - plural: false, - type: 'User', - }, - 'target.user.avatar': { - enumValues: null, - nullable: true, - plural: false, - type: 'File', - }, - 'target.user.avatar.url': v4 /*: any*/, - 'target.user.fullName': v5 /*: any*/, - 'target.user.id': v8 /*: any*/, - 'target.user.pk': v9 /*: any*/, - }, - }, - name: 'CommentsUpdateWithQuery', - operationKind: 'query', - text: 'query CommentsUpdateWithQuery {\n target: node(id: "test-id") {\n __typename\n ...CommentItem_comment\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = '5c2efd65e04ffa6eb22f008b49c78153' - -export default node diff --git a/packages/components/__generated__/CommentsWithQuery.graphql.ts b/packages/components/__generated__/CommentsWithQuery.graphql.ts deleted file mode 100644 index 751ea6b0..00000000 --- a/packages/components/__generated__/CommentsWithQuery.graphql.ts +++ /dev/null @@ -1,549 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type CommentsWithQuery$variables = Record -export type CommentsWithQuery$data = { - readonly target: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentsFragment'> - } - | null - | undefined -} -export type CommentsWithQuery = { - response: CommentsWithQuery$data - variables: CommentsWithQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - kind: 'Literal', - name: 'id', - value: 'test-id', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v4 = { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - v5 = [ - { - kind: 'Literal', - name: 'first', - value: 5, - }, - { - kind: 'Literal', - name: 'orderBy', - value: '-is_pinned,-created', - }, - ], - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v7 = { - enumValues: null, - nullable: false, - plural: false, - type: 'String', - }, - v8 = { - enumValues: null, - nullable: true, - plural: false, - type: 'String', - }, - v9 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Boolean', - }, - v10 = { - enumValues: null, - nullable: false, - plural: false, - type: 'CommentsCount', - }, - v11 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Int', - }, - v12 = { - enumValues: null, - nullable: false, - plural: false, - type: 'ID', - }, - v13 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Boolean', - }, - v14 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Int', - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'CommentsWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentsFragment', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'CommentsWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isCommentsEnabled', - storageKey: null, - }, - v4 /*: any*/, - { - alias: null, - args: v5 /*: any*/, - concreteType: 'CommentConnection', - kind: 'LinkedField', - name: 'comments', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Comment', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - v6 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v2 /*: any*/, - v6 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - v4 /*: any*/, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'comments(first:5,orderBy:"-is_pinned,-created")', - }, - { - alias: null, - args: v5 /*: any*/, - filters: [], - handle: 'connection', - key: 'CommentsList_comments', - kind: 'LinkedHandle', - name: 'comments', - }, - ], - type: 'CommentsInterface', - abstractKey: '__isCommentsInterface', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - }, - params: { - cacheID: '9482acd41c824d468c0704483b67ac7c', - id: null, - metadata: { - relayTestingSelectionTypeInfo: { - target: { - enumValues: null, - nullable: true, - plural: false, - type: 'Node', - }, - 'target.__isCommentsInterface': v7 /*: any*/, - 'target.__typename': v7 /*: any*/, - 'target.comments': { - enumValues: null, - nullable: true, - plural: false, - type: 'CommentConnection', - }, - 'target.comments.edges': { - enumValues: null, - nullable: false, - plural: true, - type: 'CommentEdge', - }, - 'target.comments.edges.cursor': v7 /*: any*/, - 'target.comments.edges.node': { - enumValues: null, - nullable: true, - plural: false, - type: 'Comment', - }, - 'target.comments.edges.node.__isCommentsInterface': v7 /*: any*/, - 'target.comments.edges.node.__isReactionsInterface': v7 /*: any*/, - 'target.comments.edges.node.__typename': v7 /*: any*/, - 'target.comments.edges.node.body': v8 /*: any*/, - 'target.comments.edges.node.canChange': v9 /*: any*/, - 'target.comments.edges.node.canDelete': v9 /*: any*/, - 'target.comments.edges.node.canPin': v9 /*: any*/, - 'target.comments.edges.node.canReport': v9 /*: any*/, - 'target.comments.edges.node.commentsCount': v10 /*: any*/, - 'target.comments.edges.node.commentsCount.total': v11 /*: any*/, - 'target.comments.edges.node.created': { - enumValues: null, - nullable: false, - plural: false, - type: 'DateTime', - }, - 'target.comments.edges.node.id': v12 /*: any*/, - 'target.comments.edges.node.isPinned': v13 /*: any*/, - 'target.comments.edges.node.myReaction': { - enumValues: null, - nullable: true, - plural: false, - type: 'Reaction', - }, - 'target.comments.edges.node.myReaction.id': v12 /*: any*/, - 'target.comments.edges.node.myReaction.reactionType': { - enumValues: ['LIKE', 'DISLIKE'], - nullable: true, - plural: false, - type: 'ReactionTypes', - }, - 'target.comments.edges.node.pk': v14 /*: any*/, - 'target.comments.edges.node.reactionsCount': { - enumValues: null, - nullable: true, - plural: false, - type: 'ReactionsCount', - }, - 'target.comments.edges.node.reactionsCount.total': v11 /*: any*/, - 'target.comments.edges.node.user': { - enumValues: null, - nullable: true, - plural: false, - type: 'User', - }, - 'target.comments.edges.node.user.avatar': { - enumValues: null, - nullable: true, - plural: false, - type: 'File', - }, - 'target.comments.edges.node.user.avatar.url': v7 /*: any*/, - 'target.comments.edges.node.user.fullName': v8 /*: any*/, - 'target.comments.edges.node.user.id': v12 /*: any*/, - 'target.comments.edges.node.user.pk': v14 /*: any*/, - 'target.comments.pageInfo': { - enumValues: null, - nullable: false, - plural: false, - type: 'PageInfo', - }, - 'target.comments.pageInfo.endCursor': v8 /*: any*/, - 'target.comments.pageInfo.hasNextPage': v13 /*: any*/, - 'target.commentsCount': v10 /*: any*/, - 'target.commentsCount.total': v11 /*: any*/, - 'target.id': v12 /*: any*/, - 'target.isCommentsEnabled': v13 /*: any*/, - }, - }, - name: 'CommentsWithQuery', - operationKind: 'query', - text: 'query CommentsWithQuery {\n target: node(id: "test-id") {\n __typename\n ...CommentsFragment\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment CommentsFragment on CommentsInterface {\n __isCommentsInterface: __typename\n id\n __typename\n isCommentsEnabled\n commentsCount {\n total\n }\n ...CommentsList_comments\n ...CommentItem_target\n}\n\nfragment CommentsList_comments on CommentsInterface {\n __isCommentsInterface: __typename\n id\n commentsCount {\n total\n }\n comments(first: 5, orderBy: "-is_pinned,-created") {\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n id\n isPinned\n ...CommentItem_comment\n __typename\n }\n cursor\n }\n }\n ...CommentItem_target\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = '64b3a06f269b694de19ac7c4ca12ab26' - -export default node diff --git a/packages/components/__generated__/CreateChatRoomMutation.graphql.ts b/packages/components/__generated__/CreateChatRoomMutation.graphql.ts deleted file mode 100644 index 8abb12a1..00000000 --- a/packages/components/__generated__/CreateChatRoomMutation.graphql.ts +++ /dev/null @@ -1,421 +0,0 @@ -/** - * @generated SignedSource<<50f38d77bf34b9af4a05c8f95b5bf9e0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomCreateInput = { - clientMutationId?: string | null | undefined - isGroup?: boolean | null | undefined - participants: ReadonlyArray - profileId: string - title?: string | null | undefined -} -export type CreateChatRoomMutation$variables = { - connections: ReadonlyArray - input: ChatRoomCreateInput -} -export type CreateChatRoomMutation$data = { - readonly chatRoomCreate: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly room: - | { - readonly node: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs< - 'LastMessageFragment' | 'TitleFragment' | 'UnreadMessagesCountFragment' - > - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type CreateChatRoomMutation = { - response: CreateChatRoomMutation$data - variables: CreateChatRoomMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - v2 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'CreateChatRoomMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomCreatePayload', - kind: 'LinkedField', - name: 'chatRoomCreate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'LastMessageFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'TitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'UnreadMessagesCountFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'CreateChatRoomMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomCreatePayload', - kind: 'LinkedField', - name: 'chatRoomCreate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'lastMessageTime', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'lastMessage', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'first', - value: 2, - }, - ], - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:100,width:100)', - }, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:2)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - filters: null, - handle: 'prependEdge', - key: '', - kind: 'LinkedHandle', - name: 'room', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'f180343b233d0cf61738ce2e0b866977', - id: null, - metadata: {}, - name: 'CreateChatRoomMutation', - operationKind: 'mutation', - text: 'mutation CreateChatRoomMutation(\n $input: ChatRoomCreateInput!\n) {\n chatRoomCreate(input: $input) {\n room {\n node {\n id\n ...LastMessageFragment\n ...TitleFragment\n ...UnreadMessagesCountFragment\n }\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n id\n image(width: 144, height: 144) {\n url\n }\n title\n}\n\nfragment LastMessageFragment on ChatRoom {\n id\n lastMessageTime\n lastMessage {\n id\n content\n }\n}\n\nfragment RoomTitleFragment on ChatRoom {\n id\n participants(first: 2) {\n edges {\n node {\n profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n }\n id\n }\n }\n }\n}\n\nfragment TitleFragment on ChatRoom {\n id\n isGroup\n ...RoomTitleFragment\n ...GroupTitleFragment\n}\n\nfragment UnreadMessagesCountFragment on ChatRoom {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '304767b39c282d78401577a512369b3e' - -export default node diff --git a/packages/components/__generated__/FollowToggleMutation.graphql.ts b/packages/components/__generated__/FollowToggleMutation.graphql.ts deleted file mode 100644 index 18f528bf..00000000 --- a/packages/components/__generated__/FollowToggleMutation.graphql.ts +++ /dev/null @@ -1,223 +0,0 @@ -/** - * @generated SignedSource<<8262681c5d1a1ba5f85d82327c6d6cbc>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type FollowToggleInput = { - actorObjectId: string - clientMutationId?: string | null | undefined - targetObjectId: string -} -export type FollowToggleMutation$variables = { - input: FollowToggleInput -} -export type FollowToggleMutation$data = { - readonly followToggle: - | { - readonly follow: - | { - readonly node: - | { - readonly target: { - readonly $updatableFragmentSpreads: FragmentRefs<'FollowToggleUpdatableFragment'> - readonly followersCount: number | null | undefined - readonly isFollowedByMe: boolean | null | undefined - } - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type FollowToggleMutation = { - response: FollowToggleMutation$data - variables: FollowToggleMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isFollowedByMe', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'followersCount', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'FollowToggleMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'FollowTogglePayload', - kind: 'LinkedField', - name: 'followToggle', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'FollowEdge', - kind: 'LinkedField', - name: 'follow', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Follow', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'FollowToggleUpdatableFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'FollowToggleMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'FollowTogglePayload', - kind: 'LinkedField', - name: 'followToggle', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'FollowEdge', - kind: 'LinkedField', - name: 'follow', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Follow', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'ebebfbcba39ec99da7c9589554a460d5', - id: null, - metadata: {}, - name: 'FollowToggleMutation', - operationKind: 'mutation', - text: 'mutation FollowToggleMutation(\n $input: FollowToggleInput!\n) {\n followToggle(input: $input) {\n follow {\n node {\n target {\n isFollowedByMe\n followersCount\n __typename\n id\n }\n id\n }\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'd58a9c2e3572d54fec982030e1ccaab0' - -export default node diff --git a/packages/components/__generated__/FollowToggleUpdatableFragment.graphql.ts b/packages/components/__generated__/FollowToggleUpdatableFragment.graphql.ts deleted file mode 100644 index 0860759f..00000000 --- a/packages/components/__generated__/FollowToggleUpdatableFragment.graphql.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * @generated SignedSource<<0c7af4c419997e9ef8ef7bf922938d7c>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, UpdatableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type FollowToggleUpdatableFragment$data = { - followersCount: number | null | undefined - isFollowedByMe: boolean | null | undefined - readonly ' $fragmentType': 'FollowToggleUpdatableFragment' -} -export type FollowToggleUpdatableFragment$key = { - readonly ' $data'?: FollowToggleUpdatableFragment$data - readonly $updatableFragmentSpreads: FragmentRefs<'FollowToggleUpdatableFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'FollowToggleUpdatableFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isFollowedByMe', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'followersCount', - storageKey: null, - }, - ], - type: 'Profile', - abstractKey: null, -} - -;(node as any).hash = '4d151f5906c7d00fa429a6ccd27ca8bd' - -export default node diff --git a/packages/components/__generated__/GroupDetailsQuery.graphql.ts b/packages/components/__generated__/GroupDetailsQuery.graphql.ts deleted file mode 100644 index 062cc975..00000000 --- a/packages/components/__generated__/GroupDetailsQuery.graphql.ts +++ /dev/null @@ -1,321 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type GroupDetailsQuery$variables = { - roomId: string -} -export type GroupDetailsQuery$data = { - readonly chatRoom: - | { - readonly id: string - readonly participantsCount: number - readonly ' $fragmentSpreads': FragmentRefs<'GroupTitleFragment' | 'MembersListFragment'> - } - | null - | undefined -} -export type GroupDetailsQuery = { - response: GroupDetailsQuery$data - variables: GroupDetailsQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'roomId', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'roomId', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'participantsCount', - storageKey: null, - }, - v4 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - v5 = [ - { - kind: 'Literal', - name: 'first', - value: 5, - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'GroupDetailsQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'chatRoom', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'GroupTitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'MembersListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'GroupDetailsQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'chatRoom', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v4 /*: any*/, - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - { - alias: null, - args: v5 /*: any*/, - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v4 /*: any*/, - storageKey: 'image(height:100,width:100)', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'role', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:5)', - }, - { - alias: null, - args: v5 /*: any*/, - filters: null, - handle: 'connection', - key: 'ChatRoom_participants', - kind: 'LinkedHandle', - name: 'participants', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '6989f29aa2fb2a66b1bbaa0655b8371b', - id: null, - metadata: {}, - name: 'GroupDetailsQuery', - operationKind: 'query', - text: 'query GroupDetailsQuery(\n $roomId: ID!\n) {\n chatRoom(id: $roomId) {\n id\n participantsCount\n ...GroupTitleFragment\n ...MembersListFragment\n }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n id\n image(width: 144, height: 144) {\n url\n }\n title\n}\n\nfragment MembersListFragment on ChatRoom {\n id\n participants(first: 5) {\n edges {\n node {\n id\n profile {\n id\n ...ProfileItemFragment\n }\n role\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '9ee8b8ab9e1dd4679a2b518e8193f1c2' - -export default node diff --git a/packages/components/__generated__/GroupTitleFragment.graphql.ts b/packages/components/__generated__/GroupTitleFragment.graphql.ts deleted file mode 100644 index 1ef7ed51..00000000 --- a/packages/components/__generated__/GroupTitleFragment.graphql.ts +++ /dev/null @@ -1,86 +0,0 @@ -/** - * @generated SignedSource<<2bee0b25aad7bd9395d4f3183680b1be>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type GroupTitleFragment$data = { - readonly id: string - readonly image: - | { - readonly url: string - } - | null - | undefined - readonly title: string | null | undefined - readonly ' $fragmentType': 'GroupTitleFragment' -} -export type GroupTitleFragment$key = { - readonly ' $data'?: GroupTitleFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'GroupTitleFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'GroupTitleFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - ], - type: 'ChatRoom', - abstractKey: null, -} - -;(node as any).hash = 'ebf3753368c34b19880bd97c408df707' - -export default node diff --git a/packages/components/__generated__/LastMessageFragment.graphql.ts b/packages/components/__generated__/LastMessageFragment.graphql.ts deleted file mode 100644 index a0dd18b3..00000000 --- a/packages/components/__generated__/LastMessageFragment.graphql.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type LastMessageFragment$data = { - readonly id: string - readonly lastMessage: - | { - readonly content: string | null | undefined - readonly id: string - } - | null - | undefined - readonly lastMessageTime: any | null | undefined - readonly ' $fragmentType': 'LastMessageFragment' -} -export type LastMessageFragment$key = { - readonly ' $data'?: LastMessageFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'LastMessageFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'LastMessageFragment', - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'lastMessageTime', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'lastMessage', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ChatRoom', - abstractKey: null, - } -})() - -;(node as any).hash = '6aa67bb28e1946c5fb70f4ebf6213e7b' - -export default node diff --git a/packages/components/__generated__/MemberItemFragment.graphql.ts b/packages/components/__generated__/MemberItemFragment.graphql.ts deleted file mode 100644 index 649d5581..00000000 --- a/packages/components/__generated__/MemberItemFragment.graphql.ts +++ /dev/null @@ -1,102 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ProfileRoleStatus = 'ACTIVE' | 'INACTIVE' | 'PENDING' | '%future added value' -export type ProfileRoles = 'ADMIN' | 'MANAGER' | '%future added value' - -export type MemberItemFragment$data = { - readonly id: string - readonly role: ProfileRoles | null | undefined - readonly status: ProfileRoleStatus | null | undefined - readonly user: { - readonly id: string - readonly profile: - | { - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> - } - | null - | undefined - } - readonly ' $fragmentType': 'MemberItemFragment' -} -export type MemberItemFragment$key = { - readonly ' $data'?: MemberItemFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'MemberItemFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'MemberItemFragment', - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileItemFragment', - }, - ], - storageKey: null, - }, - v0 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'role', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'status', - storageKey: null, - }, - ], - type: 'ProfileUserRole', - abstractKey: null, - } -})() - -;(node as any).hash = '18aa448d266fed6b34c6377032e7a213' - -export default node diff --git a/packages/components/__generated__/MembersListFragment.graphql.ts b/packages/components/__generated__/MembersListFragment.graphql.ts deleted file mode 100644 index 99c532f6..00000000 --- a/packages/components/__generated__/MembersListFragment.graphql.ts +++ /dev/null @@ -1,211 +0,0 @@ -/** - * @generated SignedSource<<7f07ba9c3e069b0f8d6d3e0c80d4963f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomParticipantRoles = 'ADMIN' | 'MEMBER' | '%future added value' - -export type MembersListFragment$data = { - readonly id: string - readonly participants: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly id: string - readonly profile: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> - } - | null - | undefined - readonly role: ChatRoomParticipantRoles | null | undefined - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - } - | null - | undefined - readonly ' $fragmentType': 'MembersListFragment' -} -export type MembersListFragment$key = { - readonly ' $data'?: MembersListFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'MembersListFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['participants'], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: ['node'], - operation: require('./ChatRoomParticipantsPaginationQuery.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'MembersListFragment', - selections: [ - v1 /*: any*/, - { - alias: 'participants', - args: null, - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: '__ChatRoom_participants_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v1 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileItemFragment', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'role', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ChatRoom', - abstractKey: null, - } -})() - -;(node as any).hash = '49f7bb8685111dd9a1075b9147c84abb' - -export default node diff --git a/packages/components/__generated__/MessageItemFragment.graphql.ts b/packages/components/__generated__/MessageItemFragment.graphql.ts deleted file mode 100644 index 8bfffb2a..00000000 --- a/packages/components/__generated__/MessageItemFragment.graphql.ts +++ /dev/null @@ -1,129 +0,0 @@ -/** - * @generated SignedSource<<98457f1eacc573a4e2f55afe1a4060e0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type Verbs = 'SENT_MESSAGE' | '%future added value' - -export type MessageItemFragment$data = { - readonly content: string | null | undefined - readonly created: any - readonly extraData: any | null | undefined - readonly id: string - readonly inReplyTo: - | { - readonly id: string - } - | null - | undefined - readonly isRead: boolean | null | undefined - readonly pk: number - readonly profile: - | { - readonly id: string - } - | null - | undefined - readonly verb: Verbs | null | undefined - readonly ' $fragmentType': 'MessageItemFragment' -} -export type MessageItemFragment$key = { - readonly ' $data'?: MessageItemFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'MessageItemFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v1 = [v0 /*: any*/] - return { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'MessageItemFragment', - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'extraData', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: v1 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: v1 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - ], - type: 'Message', - abstractKey: null, - } -})() - -;(node as any).hash = 'c4f28d75734c65a3d4e80722daecfd7e' - -export default node diff --git a/packages/components/__generated__/MessageUpdateMutation.graphql.ts b/packages/components/__generated__/MessageUpdateMutation.graphql.ts deleted file mode 100644 index 228e669f..00000000 --- a/packages/components/__generated__/MessageUpdateMutation.graphql.ts +++ /dev/null @@ -1,277 +0,0 @@ -/** - * @generated SignedSource<<13703386b1a0dc3c0c167df73f3cc551>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomEditMessageInput = { - clientMutationId?: string | null | undefined - content: string - id: string -} -export type MessageUpdateMutation$variables = { - input: ChatRoomEditMessageInput -} -export type MessageUpdateMutation$data = { - readonly chatRoomEditMessage: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly message: - | { - readonly node: - | { - readonly content: string | null | undefined - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'MessageItemFragment'> - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type MessageUpdateMutation = { - response: MessageUpdateMutation$data - variables: MessageUpdateMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = [v2 /*: any*/] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'MessageUpdateMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomEditMessagePayload', - kind: 'LinkedField', - name: 'chatRoomEditMessage', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'message', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'MessageItemFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'MessageUpdateMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomEditMessagePayload', - kind: 'LinkedField', - name: 'chatRoomEditMessage', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'message', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'extraData', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'f9b41a8750ea7be70eae5f1bccf57cbd', - id: null, - metadata: {}, - name: 'MessageUpdateMutation', - operationKind: 'mutation', - text: 'mutation MessageUpdateMutation(\n $input: ChatRoomEditMessageInput!\n) {\n chatRoomEditMessage(input: $input) {\n message {\n node {\n id\n content\n ...MessageItemFragment\n }\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment MessageItemFragment on Message {\n id\n content\n created\n extraData\n inReplyTo {\n id\n }\n isRead\n pk\n profile {\n id\n }\n verb\n}\n', - }, - } -})() - -;(node as any).hash = 'b118f4853919251adbfb8bcdbf909ca5' - -export default node diff --git a/packages/components/__generated__/MessagesListFragment.graphql.ts b/packages/components/__generated__/MessagesListFragment.graphql.ts deleted file mode 100644 index eeb23669..00000000 --- a/packages/components/__generated__/MessagesListFragment.graphql.ts +++ /dev/null @@ -1,318 +0,0 @@ -/** - * @generated SignedSource<<89d17b7a6ecad5b65bc1bfa05cf71913>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type MessageType = 'SYSTEM_GENERATED' | 'USER_MESSAGE' | '%future added value' - -export type MessagesListFragment$data = { - readonly allMessages: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly created: any - readonly id: string - readonly isRead: boolean | null | undefined - readonly messageType: MessageType | null | undefined - readonly profile: - | { - readonly id: string - readonly image: - | { - readonly url: string - } - | null - | undefined - readonly name: string | null | undefined - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs<'MessageItemFragment'> - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - readonly totalCount: number | null | undefined - } - | null - | undefined - readonly id: string - readonly isGroup: boolean - readonly unreadMessages: - | { - readonly count: number - readonly markedUnread: boolean - } - | null - | undefined - readonly ' $fragmentType': 'MessagesListFragment' -} -export type MessagesListFragment$key = { - readonly ' $data'?: MessagesListFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'MessagesListFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['allMessages'], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: 20, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: ['node'], - operation: require('./ChatRoomMessagesListPaginationQuery.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'MessagesListFragment', - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: 'allMessages', - args: null, - concreteType: 'MessageConnection', - kind: 'LinkedField', - name: '__chatRoom_allMessages_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 32, - }, - { - kind: 'Literal', - name: 'width', - value: 32, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:32,width:32)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messageType', - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'MessageItemFragment', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ChatRoom', - abstractKey: null, - } -})() - -;(node as any).hash = '9a3c1fd2e9507a24075ab2654972c7cf' - -export default node diff --git a/packages/components/__generated__/NotificationItemFragment.graphql.ts b/packages/components/__generated__/NotificationItemFragment.graphql.ts deleted file mode 100644 index 4b7cb49c..00000000 --- a/packages/components/__generated__/NotificationItemFragment.graphql.ts +++ /dev/null @@ -1,237 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type NotificationsNotificationLevelChoices = - | 'ERROR' - | 'INFO' - | 'SUCCESS' - | 'WARNING' - | '%future added value' - -export type NotificationItemFragment$data = { - readonly actionObject: - | { - readonly __typename: string - readonly body?: string | null | undefined - readonly id: string - } - | null - | undefined - readonly actor: - | { - readonly avatar?: - | { - readonly url: string - } - | null - | undefined - readonly fullName?: string | null | undefined - readonly id: string - } - | null - | undefined - readonly data: any | null | undefined - readonly description: string | null | undefined - readonly id: string - readonly level: NotificationsNotificationLevelChoices - readonly pk: number - readonly target: - | { - readonly __typename: string - readonly body?: string | null | undefined - readonly id: string - } - | null - | undefined - readonly timestamp: any - readonly unread: boolean - readonly verb: string - readonly ' $fragmentType': 'NotificationItemFragment' -} -export type NotificationItemFragment$key = { - readonly ' $data'?: NotificationItemFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'NotificationItemFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v1 = [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - ], - type: 'Comment', - abstractKey: null, - }, - ] - return { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'NotificationItemFragment', - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'unread', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'timestamp', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'level', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'description', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'data', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actor', - plural: false, - selections: [ - v0 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:48,width:48)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: v1 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actionObject', - plural: false, - selections: v1 /*: any*/, - storageKey: null, - }, - ], - type: 'Notification', - abstractKey: null, - } -})() - -;(node as any).hash = '18973be33a78d4c8acc5affd35b1a004' - -export default node diff --git a/packages/components/__generated__/NotificationItemWithQuery.graphql.ts b/packages/components/__generated__/NotificationItemWithQuery.graphql.ts deleted file mode 100644 index a8e08b4c..00000000 --- a/packages/components/__generated__/NotificationItemWithQuery.graphql.ts +++ /dev/null @@ -1,342 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type NotificationItemWithQuery$variables = Record -export type NotificationItemWithQuery$data = { - readonly target: - | { - readonly ' $fragmentSpreads': FragmentRefs<'NotificationItemFragment'> - } - | null - | undefined -} -export type NotificationItemWithQuery = { - response: NotificationItemWithQuery$data - variables: NotificationItemWithQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - kind: 'Literal', - name: 'id', - value: 'test-id', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = [ - v2 /*: any*/, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - ], - type: 'Comment', - abstractKey: null, - }, - ], - v4 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Node', - }, - v5 = { - enumValues: null, - nullable: false, - plural: false, - type: 'String', - }, - v6 = { - enumValues: null, - nullable: true, - plural: false, - type: 'String', - }, - v7 = { - enumValues: null, - nullable: false, - plural: false, - type: 'ID', - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'NotificationItemWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'NotificationItemFragment', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'NotificationItemWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'unread', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'timestamp', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'level', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'description', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'data', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actor', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:48,width:48)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actionObject', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - ], - type: 'Notification', - abstractKey: null, - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - }, - params: { - cacheID: '2a1ab89672542581137a24207ae151e2', - id: null, - metadata: { - relayTestingSelectionTypeInfo: { - target: v4 /*: any*/, - 'target.__typename': v5 /*: any*/, - 'target.actionObject': v4 /*: any*/, - 'target.actionObject.__typename': v5 /*: any*/, - 'target.actionObject.body': v6 /*: any*/, - 'target.actionObject.id': v7 /*: any*/, - 'target.actor': v4 /*: any*/, - 'target.actor.__typename': v5 /*: any*/, - 'target.actor.avatar': { - enumValues: null, - nullable: true, - plural: false, - type: 'File', - }, - 'target.actor.avatar.url': v5 /*: any*/, - 'target.actor.fullName': v6 /*: any*/, - 'target.actor.id': v7 /*: any*/, - 'target.data': { - enumValues: null, - nullable: true, - plural: false, - type: 'GenericScalar', - }, - 'target.description': v6 /*: any*/, - 'target.id': v7 /*: any*/, - 'target.level': { - enumValues: ['SUCCESS', 'INFO', 'WARNING', 'ERROR'], - nullable: false, - plural: false, - type: 'NotificationsNotificationLevelChoices', - }, - 'target.pk': { - enumValues: null, - nullable: false, - plural: false, - type: 'Int', - }, - 'target.target': v4 /*: any*/, - 'target.target.__typename': v5 /*: any*/, - 'target.target.body': v6 /*: any*/, - 'target.target.id': v7 /*: any*/, - 'target.timestamp': { - enumValues: null, - nullable: false, - plural: false, - type: 'DateTime', - }, - 'target.unread': { - enumValues: null, - nullable: false, - plural: false, - type: 'Boolean', - }, - 'target.verb': v5 /*: any*/, - }, - }, - name: 'NotificationItemWithQuery', - operationKind: 'query', - text: 'query NotificationItemWithQuery {\n target: node(id: "test-id") {\n __typename\n ...NotificationItemFragment\n id\n }\n}\n\nfragment NotificationItemFragment on Notification {\n id\n pk\n unread\n timestamp\n level\n verb\n description\n data\n actor {\n __typename\n id\n ... on User {\n avatar(width: 48, height: 48) {\n url\n }\n fullName\n }\n }\n target {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n actionObject {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'fdd4687d40d788b8c366d75a02c97403' - -export default node diff --git a/packages/components/__generated__/NotificationUserMenuFragment.graphql.ts b/packages/components/__generated__/NotificationUserMenuFragment.graphql.ts deleted file mode 100644 index 9bfcfbd3..00000000 --- a/packages/components/__generated__/NotificationUserMenuFragment.graphql.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type NotificationUserMenuFragment$data = { - readonly id: string - readonly notificationsUnreadCount: number | null | undefined - readonly ' $fragmentType': 'NotificationUserMenuFragment' -} -export type NotificationUserMenuFragment$key = { - readonly ' $data'?: NotificationUserMenuFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'NotificationUserMenuFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'NotificationUserMenuFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, -} - -;(node as any).hash = '806ea8a5677a68e99edd0409886cb453' - -export default node diff --git a/packages/components/__generated__/NotificationsListFragment.graphql.ts b/packages/components/__generated__/NotificationsListFragment.graphql.ts deleted file mode 100644 index 99e95e1c..00000000 --- a/packages/components/__generated__/NotificationsListFragment.graphql.ts +++ /dev/null @@ -1,211 +0,0 @@ -/** - * @generated SignedSource<<6ec9786cfaace144fd2292befacf45ff>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type NotificationsListFragment$data = { - readonly id: string - readonly notifications: - | { - readonly edges: ReadonlyArray< - | { - readonly cursor: string - readonly node: - | { - readonly id: string - readonly unread: boolean - readonly ' $fragmentSpreads': FragmentRefs<'NotificationItemFragment'> - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - } - | null - | undefined - readonly notificationsUnreadCount: number | null | undefined - readonly ' $fragmentType': 'NotificationsListFragment' -} -export type NotificationsListFragment$key = { - readonly ' $data'?: NotificationsListFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'NotificationsListFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['notifications'], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'verbs', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: ['node'], - operation: require('./notificationsListRefetchable.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'NotificationsListFragment', - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - }, - { - alias: 'notifications', - args: [ - { - kind: 'Variable', - name: 'verbs', - variableName: 'verbs', - }, - ], - concreteType: 'NotificationConnection', - kind: 'LinkedField', - name: '__user_notifications_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'NotificationEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'unread', - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'NotificationItemFragment', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, - } -})() - -;(node as any).hash = 'a6a3cbaf1db8c4d17187ab6631bf2764' - -export default node diff --git a/packages/components/__generated__/NotificationsListQuery.graphql.ts b/packages/components/__generated__/NotificationsListQuery.graphql.ts deleted file mode 100644 index ad5b8526..00000000 --- a/packages/components/__generated__/NotificationsListQuery.graphql.ts +++ /dev/null @@ -1,382 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type NotificationsListQuery$variables = { - count: number - cursor?: string | null | undefined - verbs?: string | null | undefined -} -export type NotificationsListQuery$data = { - readonly me: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'NotificationsListFragment'> - } - | null - | undefined -} -export type NotificationsListQuery = { - response: NotificationsListQuery$data - variables: NotificationsListQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'verbs', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v2 = { - kind: 'Variable', - name: 'verbs', - variableName: 'verbs', - }, - v3 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - v2 /*: any*/, - ], - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v5 = [ - v1 /*: any*/, - v4 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - ], - type: 'Comment', - abstractKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'NotificationsListQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - v1 /*: any*/, - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - v2 /*: any*/, - ], - kind: 'FragmentSpread', - name: 'NotificationsListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'NotificationsListQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - }, - { - alias: null, - args: v3 /*: any*/, - concreteType: 'NotificationConnection', - kind: 'LinkedField', - name: 'notifications', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'NotificationEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'unread', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'timestamp', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'level', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'description', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'data', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actor', - plural: false, - selections: [ - v4 /*: any*/, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:48,width:48)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actionObject', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v3 /*: any*/, - filters: ['verbs'], - handle: 'connection', - key: 'user_notifications', - kind: 'LinkedHandle', - name: 'notifications', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '5020e8d54e518cc03c83a9dae0d7a755', - id: null, - metadata: {}, - name: 'NotificationsListQuery', - operationKind: 'query', - text: 'query NotificationsListQuery(\n $count: Int!\n $cursor: String\n $verbs: String\n) {\n me {\n id\n ...NotificationsListFragment_LXqp7\n }\n}\n\nfragment NotificationItemFragment on Notification {\n id\n pk\n unread\n timestamp\n level\n verb\n description\n data\n actor {\n __typename\n id\n ... on User {\n avatar(width: 48, height: 48) {\n url\n }\n fullName\n }\n }\n target {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n actionObject {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n}\n\nfragment NotificationsListFragment_LXqp7 on User {\n id\n notificationsUnreadCount\n notifications(first: $count, after: $cursor, verbs: $verbs) {\n edges {\n cursor\n node {\n id\n unread\n ...NotificationItemFragment\n __typename\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = '0554d356cc26427a8f329cf061e2faee' - -export default node diff --git a/packages/components/__generated__/NotificationsMarkAllAsReadMutation.graphql.ts b/packages/components/__generated__/NotificationsMarkAllAsReadMutation.graphql.ts deleted file mode 100644 index b3211f67..00000000 --- a/packages/components/__generated__/NotificationsMarkAllAsReadMutation.graphql.ts +++ /dev/null @@ -1,152 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' - -export type NotificationsMarkAllAsReadInput = { - clientMutationId?: string | null | undefined - read: boolean -} -export type NotificationsMarkAllAsReadMutation$variables = { - input: NotificationsMarkAllAsReadInput -} -export type NotificationsMarkAllAsReadMutation$data = { - readonly notificationsMarkAllAsRead: - | { - readonly recipient: - | { - readonly id: string - readonly notificationsUnreadCount: number | null | undefined - } - | null - | undefined - } - | null - | undefined -} -export type NotificationsMarkAllAsReadMutation = { - response: NotificationsMarkAllAsReadMutation$data - variables: NotificationsMarkAllAsReadMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'NotificationsMarkAllAsReadMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'NotificationsMarkAllAsReadPayload', - kind: 'LinkedField', - name: 'notificationsMarkAllAsRead', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'recipient', - plural: false, - selections: [v2 /*: any*/, v3 /*: any*/], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'NotificationsMarkAllAsReadMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'NotificationsMarkAllAsReadPayload', - kind: 'LinkedField', - name: 'notificationsMarkAllAsRead', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'recipient', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 /*: any*/, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'a11d630beface00eb5af3e151d4990b0', - id: null, - metadata: {}, - name: 'NotificationsMarkAllAsReadMutation', - operationKind: 'mutation', - text: 'mutation NotificationsMarkAllAsReadMutation(\n $input: NotificationsMarkAllAsReadInput!\n) {\n notificationsMarkAllAsRead(input: $input) {\n recipient {\n __typename\n id\n notificationsUnreadCount\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'e279aaf7402cac25fd7acbce4f1b9504' - -export default node diff --git a/packages/components/__generated__/NotificationsMarkAsReadMutation.graphql.ts b/packages/components/__generated__/NotificationsMarkAsReadMutation.graphql.ts deleted file mode 100644 index 0eba9c06..00000000 --- a/packages/components/__generated__/NotificationsMarkAsReadMutation.graphql.ts +++ /dev/null @@ -1,185 +0,0 @@ -/** - * @generated SignedSource<<6fa920771fe1f2348b09495ed550e086>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' - -export type NotificationsMarkAsReadInput = { - clientMutationId?: string | null | undefined - notificationIds?: ReadonlyArray | null | undefined - read: boolean -} -export type NotificationsMarkAsReadMutation$variables = { - input: NotificationsMarkAsReadInput -} -export type NotificationsMarkAsReadMutation$data = { - readonly notificationsMarkAsRead: - | { - readonly notifications: - | ReadonlyArray< - | { - readonly id: string - readonly unread: boolean - } - | null - | undefined - > - | null - | undefined - readonly recipient: - | { - readonly id: string - readonly notificationsUnreadCount: number | null | undefined - } - | null - | undefined - } - | null - | undefined -} -export type NotificationsMarkAsReadMutation = { - response: NotificationsMarkAsReadMutation$data - variables: NotificationsMarkAsReadMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'notifications', - plural: true, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'unread', - storageKey: null, - }, - ], - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'NotificationsMarkAsReadMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'NotificationsMarkAsReadPayload', - kind: 'LinkedField', - name: 'notificationsMarkAsRead', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'recipient', - plural: false, - selections: [v2 /*: any*/, v3 /*: any*/], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'NotificationsMarkAsReadMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'NotificationsMarkAsReadPayload', - kind: 'LinkedField', - name: 'notificationsMarkAsRead', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'recipient', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 /*: any*/, - v3 /*: any*/, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '0698b685c49a59a3df4f281ad894f4e3', - id: null, - metadata: {}, - name: 'NotificationsMarkAsReadMutation', - operationKind: 'mutation', - text: 'mutation NotificationsMarkAsReadMutation(\n $input: NotificationsMarkAsReadInput!\n) {\n notificationsMarkAsRead(input: $input) {\n recipient {\n __typename\n id\n notificationsUnreadCount\n }\n notifications {\n id\n unread\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = '0cbe23296c6c313d6443121d9695dc09' - -export default node diff --git a/packages/components/__generated__/NotificationsPopoverQuery.graphql.ts b/packages/components/__generated__/NotificationsPopoverQuery.graphql.ts deleted file mode 100644 index f9c5d372..00000000 --- a/packages/components/__generated__/NotificationsPopoverQuery.graphql.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * @generated SignedSource<<825304d1f6b032e0c874b6420362ea1b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type NotificationsPopoverQuery$variables = Record -export type NotificationsPopoverQuery$data = { - readonly me: - | { - readonly ' $fragmentSpreads': FragmentRefs<'NotificationUserMenuFragment'> - } - | null - | undefined -} -export type NotificationsPopoverQuery = { - response: NotificationsPopoverQuery$data - variables: NotificationsPopoverQuery$variables -} - -const node: ConcreteRequest = { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'NotificationsPopoverQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'NotificationUserMenuFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'NotificationsPopoverQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '58c1485b5059fc1681a5b306cec797c7', - id: null, - metadata: {}, - name: 'NotificationsPopoverQuery', - operationKind: 'query', - text: 'query NotificationsPopoverQuery {\n me {\n ...NotificationUserMenuFragment\n id\n }\n}\n\nfragment NotificationUserMenuFragment on User {\n id\n notificationsUnreadCount\n}\n', - }, -} - -;(node as any).hash = '5da34ad328e48607b7590cb556daeb22' - -export default node diff --git a/packages/components/__generated__/OrganizationCreateMutation.graphql.ts b/packages/components/__generated__/OrganizationCreateMutation.graphql.ts deleted file mode 100644 index 81cfb851..00000000 --- a/packages/components/__generated__/OrganizationCreateMutation.graphql.ts +++ /dev/null @@ -1,318 +0,0 @@ -/** - * @generated SignedSource<<10ad363cb9eb54dcb1214025cca561fe>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type OrganizationCreateInput = { - clientMutationId?: string | null | undefined - name: string - urlPath?: string | null | undefined -} -export type OrganizationCreateMutation$variables = { - connections: ReadonlyArray - input: OrganizationCreateInput -} -export type OrganizationCreateMutation$data = { - readonly organizationCreate: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly organization: - | { - readonly node: - | { - readonly id: string - } - | null - | undefined - } - | null - | undefined - readonly profile: - | { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type OrganizationCreateMutation = { - response: OrganizationCreateMutation$data - variables: OrganizationCreateMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - v2 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'OrganizationEdge', - kind: 'LinkedField', - name: 'organization', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Organization', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [v3 /*: any*/], - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - } - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'OrganizationCreateMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'OrganizationCreatePayload', - kind: 'LinkedField', - name: 'organizationCreate', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileItemFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v5 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'OrganizationCreateMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'OrganizationCreatePayload', - kind: 'LinkedField', - name: 'organizationCreate', - plural: false, - selections: [ - v4 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - filters: null, - handle: 'prependEdge', - key: '', - kind: 'LinkedHandle', - name: 'profile', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - v5 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '695d91d3d1771c63d98fd763396c8088', - id: null, - metadata: {}, - name: 'OrganizationCreateMutation', - operationKind: 'mutation', - text: 'mutation OrganizationCreateMutation(\n $input: OrganizationCreateInput!\n) {\n organizationCreate(input: $input) {\n organization {\n node {\n id\n }\n }\n profile {\n node {\n ...ProfileItemFragment\n id\n }\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '555c8c1ef3a4c59a8cd9cf1c8396dc13' - -export default node diff --git a/packages/components/__generated__/ProfileComponentFragment.graphql.ts b/packages/components/__generated__/ProfileComponentFragment.graphql.ts deleted file mode 100644 index 63f366f5..00000000 --- a/packages/components/__generated__/ProfileComponentFragment.graphql.ts +++ /dev/null @@ -1,231 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ProfilesProfileStatusChoices = 'A_1' | 'A_2' | '%future added value' - -export type ProfileComponentFragment$data = { - readonly bannerImage: - | { - readonly url: string - } - | null - | undefined - readonly biography: string | null | undefined - readonly canChange: boolean | null | undefined - readonly followersCount: number | null | undefined - readonly followingCount: number | null | undefined - readonly id: string - readonly image: - | { - readonly url: string - } - | null - | undefined - readonly isBlockedByMe: boolean | null | undefined - readonly isFollowedByMe: boolean | null | undefined - readonly name: string | null | undefined - readonly owner: { - readonly phoneNumber: string | null | undefined - } - readonly status: ProfilesProfileStatusChoices - readonly urlPath: - | { - readonly path: string - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs<'BlockToggleFragment'> - readonly ' $fragmentType': 'ProfileComponentFragment' -} -export type ProfileComponentFragment$key = { - readonly ' $data'?: ProfileComponentFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'ProfileComponentFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ] - return { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'ProfileComponentFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'status', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'biography', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 96, - }, - { - kind: 'Literal', - name: 'width', - value: 96, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v0 /*: any*/, - storageKey: 'image(height:96,width:96)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 290, - }, - { - kind: 'Literal', - name: 'width', - value: 868, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'bannerImage', - plural: false, - selections: v0 /*: any*/, - storageKey: 'bannerImage(height:290,width:868)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isFollowedByMe', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'followersCount', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'followingCount', - storageKey: null, - }, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'owner', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'phoneNumber', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isBlockedByMe', - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'BlockToggleFragment', - }, - ], - type: 'Profile', - abstractKey: null, - } -})() - -;(node as any).hash = '14c553f27fa01a11431eb14bb57b92c8' - -export default node diff --git a/packages/components/__generated__/ProfileItemFragment.graphql.ts b/packages/components/__generated__/ProfileItemFragment.graphql.ts deleted file mode 100644 index 78be7cd9..00000000 --- a/packages/components/__generated__/ProfileItemFragment.graphql.ts +++ /dev/null @@ -1,116 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ProfileItemFragment$data = { - readonly id: string - readonly image: - | { - readonly url: string - } - | null - | undefined - readonly name: string | null | undefined - readonly urlPath: - | { - readonly path: string - } - | null - | undefined - readonly ' $fragmentType': 'ProfileItemFragment' -} -export type ProfileItemFragment$key = { - readonly ' $data'?: ProfileItemFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [ - { - defaultValue: 100, - kind: 'LocalArgument', - name: 'avatarSize', - }, - ], - kind: 'Fragment', - metadata: null, - name: 'ProfileItemFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Variable', - name: 'height', - variableName: 'avatarSize', - }, - { - kind: 'Variable', - name: 'width', - variableName: 'avatarSize', - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Profile', - abstractKey: null, -} - -;(node as any).hash = 'b32115278ad65ec9a310b97d23b5c85b' - -export default node diff --git a/packages/components/__generated__/ProfileUpdateMutation.graphql.ts b/packages/components/__generated__/ProfileUpdateMutation.graphql.ts deleted file mode 100644 index 5fa7fbd6..00000000 --- a/packages/components/__generated__/ProfileUpdateMutation.graphql.ts +++ /dev/null @@ -1,343 +0,0 @@ -/** - * @generated SignedSource<<836b5baa0a9d93ecb928d3531107a238>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ProfileUpdateInput = { - bannerImage?: string | null | undefined - biography?: string | null | undefined - clientMutationId?: string | null | undefined - id: string - image?: string | null | undefined - name?: string | null | undefined - owner?: string | null | undefined - phoneNumber?: string | null | undefined - urlPath?: string | null | undefined -} -export type ProfileUpdateMutation$variables = { - input: ProfileUpdateInput -} -export type ProfileUpdateMutation$data = { - readonly profileUpdate: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly profile: - | { - readonly ' $fragmentSpreads': FragmentRefs<'ProfileComponentFragment'> - } - | null - | undefined - } - | null - | undefined -} -export type ProfileUpdateMutation = { - response: ProfileUpdateMutation$data - variables: ProfileUpdateMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ProfileUpdateMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ProfileUpdatePayload', - kind: 'LinkedField', - name: 'profileUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileComponentFragment', - }, - ], - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ProfileUpdateMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ProfileUpdatePayload', - kind: 'LinkedField', - name: 'profileUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'status', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'biography', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 96, - }, - { - kind: 'Literal', - name: 'width', - value: 96, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v4 /*: any*/, - storageKey: 'image(height:96,width:96)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 290, - }, - { - kind: 'Literal', - name: 'width', - value: 868, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'bannerImage', - plural: false, - selections: v4 /*: any*/, - storageKey: 'bannerImage(height:290,width:868)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isFollowedByMe', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'followersCount', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'followingCount', - storageKey: null, - }, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'owner', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'phoneNumber', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isBlockedByMe', - storageKey: null, - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isBlocksInterface', - }, - ], - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'c0e960cbeeab17c8f65cbae625436ab9', - id: null, - metadata: {}, - name: 'ProfileUpdateMutation', - operationKind: 'mutation', - text: 'mutation ProfileUpdateMutation(\n $input: ProfileUpdateInput!\n) {\n profileUpdate(input: $input) {\n profile {\n ...ProfileComponentFragment\n id\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment BlockToggleFragment on BlocksInterface {\n __isBlocksInterface: __typename\n id\n isBlockedByMe\n ... on Profile {\n id\n name\n }\n}\n\nfragment ProfileComponentFragment on Profile {\n id\n status\n name\n biography\n image(height: 96, width: 96) {\n url\n }\n bannerImage(height: 290, width: 868) {\n url\n }\n isFollowedByMe\n followersCount\n followingCount\n canChange: hasPerm(perm: "change")\n urlPath {\n path\n id\n }\n owner {\n phoneNumber\n id\n }\n isBlockedByMe\n ...BlockToggleFragment\n}\n', - }, - } -})() - -;(node as any).hash = 'b15251b426798b8c3457aed1249f8a64' - -export default node diff --git a/packages/components/__generated__/ProfilesListFragment.graphql.ts b/packages/components/__generated__/ProfilesListFragment.graphql.ts deleted file mode 100644 index 3a70d8c7..00000000 --- a/packages/components/__generated__/ProfilesListFragment.graphql.ts +++ /dev/null @@ -1,184 +0,0 @@ -/** - * @generated SignedSource<<7d7b83632e53e7be35ccbbafa28ea310>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ProfilesListFragment$data = { - readonly id: string - readonly profiles: - | { - readonly edges: ReadonlyArray< - | { - readonly cursor: string - readonly node: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - } - | null - | undefined - readonly ' $fragmentType': 'ProfilesListFragment' -} -export type ProfilesListFragment$key = { - readonly ' $data'?: ProfilesListFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'ProfilesListFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['profiles'], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: ['node'], - operation: require('./profilesListRefetchable.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'ProfilesListFragment', - selections: [ - v1 /*: any*/, - { - alias: 'profiles', - args: null, - concreteType: 'ProfileConnection', - kind: 'LinkedField', - name: '__ProfilesListFragment_profiles_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileItemFragment', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, - } -})() - -;(node as any).hash = '220e97b8d45724f507762ff4f3d39dce' - -export default node diff --git a/packages/components/__generated__/ProfilesListQuery.graphql.ts b/packages/components/__generated__/ProfilesListQuery.graphql.ts deleted file mode 100644 index 7ce825d5..00000000 --- a/packages/components/__generated__/ProfilesListQuery.graphql.ts +++ /dev/null @@ -1,273 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ProfilesListQuery$variables = { - count: number - cursor?: string | null | undefined -} -export type ProfilesListQuery$data = { - readonly me: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'ProfilesListFragment'> - } - | null - | undefined -} -export type ProfilesListQuery = { - response: ProfilesListQuery$data - variables: ProfilesListQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v2 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ProfilesListQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - v1 /*: any*/, - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - ], - kind: 'FragmentSpread', - name: 'ProfilesListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ProfilesListQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ProfileConnection', - kind: 'LinkedField', - name: 'profiles', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v1 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v2 /*: any*/, - filters: null, - handle: 'connection', - key: 'ProfilesListFragment_profiles', - kind: 'LinkedHandle', - name: 'profiles', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '4254a9462b2759817c71e9febce50ff8', - id: null, - metadata: {}, - name: 'ProfilesListQuery', - operationKind: 'query', - text: 'query ProfilesListQuery(\n $count: Int!\n $cursor: String\n) {\n me {\n id\n ...ProfilesListFragment_1G22uz\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n\nfragment ProfilesListFragment_1G22uz on User {\n id\n profiles(first: $count, after: $cursor) {\n edges {\n cursor\n node {\n id\n ...ProfileItemFragment\n __typename\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'f29be79e4f4e86911f0532d2c86db263' - -export default node diff --git a/packages/components/__generated__/ReactionButtonMutation.graphql.ts b/packages/components/__generated__/ReactionButtonMutation.graphql.ts deleted file mode 100644 index 2f1cb05a..00000000 --- a/packages/components/__generated__/ReactionButtonMutation.graphql.ts +++ /dev/null @@ -1,251 +0,0 @@ -/** - * @generated SignedSource<<506d303912dd2531951af07ebbd603b3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ReactionTypes = 'DISLIKE' | 'LIKE' | '%future added value' -export type ReactionToggleInput = { - clientMutationId?: string | null | undefined - profileObjectId?: string | null | undefined - reactionType: ReactionTypes - targetObjectId: string -} -export type ReactionButtonMutation$variables = { - input: ReactionToggleInput -} -export type ReactionButtonMutation$data = { - readonly reactionToggle: - | { - readonly reaction: - | { - readonly node: - | { - readonly id: string - readonly reactionType: ReactionTypes | null | undefined - } - | null - | undefined - } - | null - | undefined - readonly reactionDeletedId: string | null | undefined - readonly target: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'ReactionButton_target'> - } - | null - | undefined - } - | null - | undefined -} -export type ReactionButtonMutation = { - response: ReactionButtonMutation$data - variables: ReactionButtonMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - v4 = { - alias: null, - args: null, - concreteType: 'ReactionEdge', - kind: 'LinkedField', - name: 'reaction', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionDeletedId', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ReactionButtonMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ReactionTogglePayload', - kind: 'LinkedField', - name: 'reactionToggle', - plural: false, - selections: [ - v4 /*: any*/, - v5 /*: any*/, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - v2 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'ReactionButton_target', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ReactionButtonMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ReactionTogglePayload', - kind: 'LinkedField', - name: 'reactionToggle', - plural: false, - selections: [ - v4 /*: any*/, - v5 /*: any*/, - { - alias: null, - args: null, - filters: null, - handle: 'deleteRecord', - key: '', - kind: 'ScalarHandle', - name: 'reactionDeletedId', - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v2 /*: any*/, - { - kind: 'TypeDiscriminator', - abstractKey: '__isReactionsInterface', - }, - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '10b1f38991c6795cddbb1a4cf30f2286', - id: null, - metadata: {}, - name: 'ReactionButtonMutation', - operationKind: 'mutation', - text: 'mutation ReactionButtonMutation(\n $input: ReactionToggleInput!\n) {\n reactionToggle(input: $input) {\n reaction {\n node {\n id\n reactionType\n }\n }\n reactionDeletedId\n target {\n __typename\n id\n ...ReactionButton_target\n }\n }\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = '3c678770713154c56e2c50d7d9bc17f4' - -export default node diff --git a/packages/components/__generated__/ReactionButtonWithQuery.graphql.ts b/packages/components/__generated__/ReactionButtonWithQuery.graphql.ts deleted file mode 100644 index 52e4c6f7..00000000 --- a/packages/components/__generated__/ReactionButtonWithQuery.graphql.ts +++ /dev/null @@ -1,416 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ReactionButtonWithQuery$variables = Record -export type ReactionButtonWithQuery$data = { - readonly target: - | { - readonly ' $fragmentSpreads': FragmentRefs<'CommentItem_comment'> - } - | null - | undefined -} -export type ReactionButtonWithQuery = { - response: ReactionButtonWithQuery$data - variables: ReactionButtonWithQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - kind: 'Literal', - name: 'id', - value: 'test-id', - }, - ], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v3 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - v4 = { - enumValues: null, - nullable: false, - plural: false, - type: 'String', - }, - v5 = { - enumValues: null, - nullable: true, - plural: false, - type: 'String', - }, - v6 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Boolean', - }, - v7 = { - enumValues: null, - nullable: true, - plural: false, - type: 'Int', - }, - v8 = { - enumValues: null, - nullable: false, - plural: false, - type: 'ID', - }, - v9 = { - enumValues: null, - nullable: false, - plural: false, - type: 'Int', - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'ReactionButtonWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'CommentItem_comment', - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'ReactionButtonWithQuery', - selections: [ - { - alias: 'target', - args: v0 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v1 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isPinned', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - v1 /*: any*/, - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 50, - }, - { - kind: 'Literal', - name: 'width', - value: 50, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:50,width:50)', - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'CommentsCount', - kind: 'LinkedField', - name: 'commentsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: 'canChange', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'change', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"change")', - }, - { - alias: 'canDelete', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'delete', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"delete")', - }, - { - alias: 'canReport', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'report', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"report")', - }, - { - alias: 'canPin', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'pin', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"pin")', - }, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: v3 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - }, - { - kind: 'TypeDiscriminator', - abstractKey: '__isCommentsInterface', - }, - ], - type: 'Comment', - abstractKey: null, - }, - ], - storageKey: 'node(id:"test-id")', - }, - ], - }, - params: { - cacheID: 'c8523e79b838681dfb707c627f361688', - id: null, - metadata: { - relayTestingSelectionTypeInfo: { - target: { - enumValues: null, - nullable: true, - plural: false, - type: 'Node', - }, - 'target.__isCommentsInterface': v4 /*: any*/, - 'target.__isReactionsInterface': v4 /*: any*/, - 'target.__typename': v4 /*: any*/, - 'target.body': v5 /*: any*/, - 'target.canChange': v6 /*: any*/, - 'target.canDelete': v6 /*: any*/, - 'target.canPin': v6 /*: any*/, - 'target.canReport': v6 /*: any*/, - 'target.commentsCount': { - enumValues: null, - nullable: false, - plural: false, - type: 'CommentsCount', - }, - 'target.commentsCount.total': v7 /*: any*/, - 'target.created': { - enumValues: null, - nullable: false, - plural: false, - type: 'DateTime', - }, - 'target.id': v8 /*: any*/, - 'target.isPinned': { - enumValues: null, - nullable: false, - plural: false, - type: 'Boolean', - }, - 'target.myReaction': { - enumValues: null, - nullable: true, - plural: false, - type: 'Reaction', - }, - 'target.myReaction.id': v8 /*: any*/, - 'target.myReaction.reactionType': { - enumValues: ['LIKE', 'DISLIKE'], - nullable: true, - plural: false, - type: 'ReactionTypes', - }, - 'target.pk': v9 /*: any*/, - 'target.reactionsCount': { - enumValues: null, - nullable: true, - plural: false, - type: 'ReactionsCount', - }, - 'target.reactionsCount.total': v7 /*: any*/, - 'target.user': { - enumValues: null, - nullable: true, - plural: false, - type: 'User', - }, - 'target.user.avatar': { - enumValues: null, - nullable: true, - plural: false, - type: 'File', - }, - 'target.user.avatar.url': v4 /*: any*/, - 'target.user.fullName': v5 /*: any*/, - 'target.user.id': v8 /*: any*/, - 'target.user.pk': v9 /*: any*/, - }, - }, - name: 'ReactionButtonWithQuery', - operationKind: 'query', - text: 'query ReactionButtonWithQuery {\n target: node(id: "test-id") {\n __typename\n ...CommentItem_comment\n id\n }\n}\n\nfragment CommentItem_comment on Comment {\n id\n pk\n body\n isPinned\n user {\n id\n pk\n fullName\n avatar(width: 50, height: 50) {\n url\n }\n }\n created\n commentsCount {\n total\n }\n canChange: hasPerm(perm: "change")\n canDelete: hasPerm(perm: "delete")\n canReport: hasPerm(perm: "report")\n canPin: hasPerm(perm: "pin")\n ...ReactionButton_target\n ...CommentItem_target\n}\n\nfragment CommentItem_target on CommentsInterface {\n __isCommentsInterface: __typename\n id\n}\n\nfragment ReactionButton_target on ReactionsInterface {\n __isReactionsInterface: __typename\n id\n reactionsCount {\n total\n }\n myReaction {\n id\n reactionType\n }\n}\n', - }, - } -})() - -;(node as any).hash = '03cac874433a23a0b1fe9361e70a0999' - -export default node diff --git a/packages/components/__generated__/ReactionButton_target.graphql.ts b/packages/components/__generated__/ReactionButton_target.graphql.ts deleted file mode 100644 index 84b0a2fa..00000000 --- a/packages/components/__generated__/ReactionButton_target.graphql.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @generated SignedSource<<59639a33778217be42f4d4e323bb8a11>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ReactionTypes = 'DISLIKE' | 'LIKE' | '%future added value' - -export type ReactionButton_target$data = { - readonly id: string - readonly myReaction: - | { - readonly id: string - readonly reactionType: ReactionTypes | null | undefined - } - | null - | undefined - readonly reactionsCount: - | { - readonly total: number | null | undefined - } - | null - | undefined - readonly ' $fragmentType': 'ReactionButton_target' -} -export type ReactionButton_target$key = { - readonly ' $data'?: ReactionButton_target$data - readonly ' $fragmentSpreads': FragmentRefs<'ReactionButton_target'> -} - -const node: ReaderFragment = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'ReactionButton_target', - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ReactionsCount', - kind: 'LinkedField', - name: 'reactionsCount', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'total', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Reaction', - kind: 'LinkedField', - name: 'myReaction', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'reactionType', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ReactionsInterface', - abstractKey: '__isReactionsInterface', - } -})() - -;(node as any).hash = 'c3861c327bdc15c2a59dfbfe2ce2ed12' - -export default node diff --git a/packages/components/__generated__/ReadMessagesMutation.graphql.ts b/packages/components/__generated__/ReadMessagesMutation.graphql.ts deleted file mode 100644 index 0f90873b..00000000 --- a/packages/components/__generated__/ReadMessagesMutation.graphql.ts +++ /dev/null @@ -1,211 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomReadMessagesInput = { - clientMutationId?: string | null | undefined - messageIds?: ReadonlyArray | null | undefined - profileId: string - roomId: string -} -export type ReadMessagesMutation$variables = { - input: ChatRoomReadMessagesInput -} -export type ReadMessagesMutation$data = { - readonly chatRoomReadMessages: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly room: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'UnreadMessagesCountFragment'> - } - | null - | undefined - } - | null - | undefined -} -export type ReadMessagesMutation = { - response: ReadMessagesMutation$data - variables: ReadMessagesMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'ReadMessagesMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomReadMessagesPayload', - kind: 'LinkedField', - name: 'chatRoomReadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - v2 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'UnreadMessagesCountFragment', - }, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'ReadMessagesMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomReadMessagesPayload', - kind: 'LinkedField', - name: 'chatRoomReadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '4bebc93464740f3be7c5f5fdd1a3d6df', - id: null, - metadata: {}, - name: 'ReadMessagesMutation', - operationKind: 'mutation', - text: 'mutation ReadMessagesMutation(\n $input: ChatRoomReadMessagesInput!\n) {\n chatRoomReadMessages(input: $input) {\n room {\n id\n ...UnreadMessagesCountFragment\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment UnreadMessagesCountFragment on ChatRoom {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'eeed77ccb23fc338a5f401cb106e66fb' - -export default node diff --git a/packages/components/__generated__/RoomFragment.graphql.ts b/packages/components/__generated__/RoomFragment.graphql.ts deleted file mode 100644 index 0f2a563c..00000000 --- a/packages/components/__generated__/RoomFragment.graphql.ts +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @generated SignedSource<<8af33bd4cbd98a8efc5eb4bdfbc354d1>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type RoomFragment$data = { - readonly id: string - readonly isGroup: boolean - readonly participantsCount: number - readonly ' $fragmentSpreads': FragmentRefs< - 'LastMessageFragment' | 'MessagesListFragment' | 'TitleFragment' | 'UnreadMessagesCountFragment' - > - readonly ' $fragmentType': 'RoomFragment' -} -export type RoomFragment$key = { - readonly ' $data'?: RoomFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'RoomFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'RoomFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'participantsCount', - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'LastMessageFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'MessagesListFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'TitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'UnreadMessagesCountFragment', - }, - ], - type: 'ChatRoom', - abstractKey: null, -} - -;(node as any).hash = 'eaa59457c134fb1f7bad4797532926da' - -export default node diff --git a/packages/components/__generated__/RoomTitleFragment.graphql.ts b/packages/components/__generated__/RoomTitleFragment.graphql.ts deleted file mode 100644 index 8ab59b6b..00000000 --- a/packages/components/__generated__/RoomTitleFragment.graphql.ts +++ /dev/null @@ -1,162 +0,0 @@ -/** - * @generated SignedSource<<2cd670197e6d509befc2130de4f31474>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type RoomTitleFragment$data = { - readonly id: string - readonly participants: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly profile: - | { - readonly id: string - readonly image: - | { - readonly url: string - } - | null - | undefined - readonly name: string | null | undefined - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined - > - } - | null - | undefined - readonly ' $fragmentType': 'RoomTitleFragment' -} -export type RoomTitleFragment$key = { - readonly ' $data'?: RoomTitleFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'RoomTitleFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'RoomTitleFragment', - selections: [ - v0 /*: any*/, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'first', - value: 2, - }, - ], - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:2)', - }, - ], - type: 'ChatRoom', - abstractKey: null, - } -})() - -;(node as any).hash = '89160f172288e6c8c11de9207b13170b' - -export default node diff --git a/packages/components/__generated__/RoomsListFragment.graphql.ts b/packages/components/__generated__/RoomsListFragment.graphql.ts deleted file mode 100644 index 81f0fb50..00000000 --- a/packages/components/__generated__/RoomsListFragment.graphql.ts +++ /dev/null @@ -1,226 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type RoomsListFragment$data = { - readonly chatRooms: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs< - 'LastMessageFragment' | 'TitleFragment' | 'UnreadMessagesCountFragment' - > - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - } - | null - | undefined - readonly id: string - readonly ' $fragmentType': 'RoomsListFragment' -} -export type RoomsListFragment$key = { - readonly ' $data'?: RoomsListFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'RoomsListFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['chatRooms'], - v1 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - argumentDefinitions: [ - { - defaultValue: false, - kind: 'LocalArgument', - name: 'archived', - }, - { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: '', - kind: 'LocalArgument', - name: 'q', - }, - { - defaultValue: false, - kind: 'LocalArgument', - name: 'unreadMessages', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: ['node'], - operation: require('./chatRoomsPaginationQuery.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'RoomsListFragment', - selections: [ - { - alias: 'chatRooms', - args: [ - { - kind: 'Variable', - name: 'archived', - variableName: 'archived', - }, - { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - { - kind: 'Variable', - name: 'unreadMessages', - variableName: 'unreadMessages', - }, - ], - concreteType: 'ChatRoomConnection', - kind: 'LinkedField', - name: '__roomsList_chatRooms_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'LastMessageFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'TitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'UnreadMessagesCountFragment', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v1 /*: any*/, - ], - type: 'ChatRoomsInterface', - abstractKey: '__isChatRoomsInterface', - } -})() - -;(node as any).hash = '3a66898cb96bbf4ce999aa5ad9822ca0' - -export default node diff --git a/packages/components/__generated__/SendMessageMutation.graphql.ts b/packages/components/__generated__/SendMessageMutation.graphql.ts deleted file mode 100644 index 4ac8e316..00000000 --- a/packages/components/__generated__/SendMessageMutation.graphql.ts +++ /dev/null @@ -1,296 +0,0 @@ -/** - * @generated SignedSource<<02cc7cf8caa3d796e42f687781773bfc>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomSendMessageInput = { - clientMutationId?: string | null | undefined - content: string - inReplyToId?: string | null | undefined - profileId: string - roomId: string -} -export type SendMessageMutation$variables = { - connections: ReadonlyArray - input: ChatRoomSendMessageInput -} -export type SendMessageMutation$data = { - readonly chatRoomSendMessage: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly message: - | { - readonly node: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'MessageItemFragment'> - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type SendMessageMutation = { - response: SendMessageMutation$data - variables: SendMessageMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - v2 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = [v3 /*: any*/] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'SendMessageMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomSendMessagePayload', - kind: 'LinkedField', - name: 'chatRoomSendMessage', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'message', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'MessageItemFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'SendMessageMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomSendMessagePayload', - kind: 'LinkedField', - name: 'chatRoomSendMessage', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'message', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'extraData', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: v5 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - filters: null, - handle: 'prependEdge', - key: '', - kind: 'LinkedHandle', - name: 'message', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '1d655e68797f0439e7ca317168d662ce', - id: null, - metadata: {}, - name: 'SendMessageMutation', - operationKind: 'mutation', - text: 'mutation SendMessageMutation(\n $input: ChatRoomSendMessageInput!\n) {\n chatRoomSendMessage(input: $input) {\n message {\n node {\n id\n ...MessageItemFragment\n }\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment MessageItemFragment on Message {\n id\n content\n created\n extraData\n inReplyTo {\n id\n }\n isRead\n pk\n profile {\n id\n }\n verb\n}\n', - }, - } -})() - -;(node as any).hash = '7fd0124ce48b9ceff7e9bf2091d0709e' - -export default node diff --git a/packages/components/__generated__/TitleFragment.graphql.ts b/packages/components/__generated__/TitleFragment.graphql.ts deleted file mode 100644 index 799ba1a3..00000000 --- a/packages/components/__generated__/TitleFragment.graphql.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type TitleFragment$data = { - readonly id: string - readonly isGroup: boolean - readonly ' $fragmentSpreads': FragmentRefs<'GroupTitleFragment' | 'RoomTitleFragment'> - readonly ' $fragmentType': 'TitleFragment' -} -export type TitleFragment$key = { - readonly ' $data'?: TitleFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'TitleFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'TitleFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - args: null, - kind: 'FragmentSpread', - name: 'RoomTitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'GroupTitleFragment', - }, - ], - type: 'ChatRoom', - abstractKey: null, -} - -;(node as any).hash = '0b053ad212f52bdfe86f56b46c3873bf' - -export default node diff --git a/packages/components/__generated__/UnreadChatMutation.graphql.ts b/packages/components/__generated__/UnreadChatMutation.graphql.ts deleted file mode 100644 index be824171..00000000 --- a/packages/components/__generated__/UnreadChatMutation.graphql.ts +++ /dev/null @@ -1,210 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomUnreadInput = { - clientMutationId?: string | null | undefined - profileId: string - roomId: string -} -export type UnreadChatMutation$variables = { - input: ChatRoomUnreadInput -} -export type UnreadChatMutation$data = { - readonly chatRoomUnread: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly room: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'UnreadMessagesCountFragment'> - } - | null - | undefined - } - | null - | undefined -} -export type UnreadChatMutation = { - response: UnreadChatMutation$data - variables: UnreadChatMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'UnreadChatMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomUnreadPayload', - kind: 'LinkedField', - name: 'chatRoomUnread', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - v2 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'UnreadMessagesCountFragment', - }, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'UnreadChatMutation', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomUnreadPayload', - kind: 'LinkedField', - name: 'chatRoomUnread', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'b5c9682f04c174e181c522db06feb0a5', - id: null, - metadata: {}, - name: 'UnreadChatMutation', - operationKind: 'mutation', - text: 'mutation UnreadChatMutation(\n $input: ChatRoomUnreadInput!\n) {\n chatRoomUnread(input: $input) {\n room {\n id\n ...UnreadMessagesCountFragment\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment UnreadMessagesCountFragment on ChatRoom {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'fb95629ed4c89ffb9689a72b91d6cefa' - -export default node diff --git a/packages/components/__generated__/UnreadMessagesCountFragment.graphql.ts b/packages/components/__generated__/UnreadMessagesCountFragment.graphql.ts deleted file mode 100644 index 8d90ae31..00000000 --- a/packages/components/__generated__/UnreadMessagesCountFragment.graphql.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * @generated SignedSource<<19f40b24ac8ca99201010ad3a7d437bd>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { Fragment, ReaderFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type UnreadMessagesCountFragment$data = { - readonly id: string - readonly unreadMessages: - | { - readonly count: number - readonly markedUnread: boolean - } - | null - | undefined - readonly ' $fragmentType': 'UnreadMessagesCountFragment' -} -export type UnreadMessagesCountFragment$key = { - readonly ' $data'?: UnreadMessagesCountFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'UnreadMessagesCountFragment'> -} - -const node: ReaderFragment = { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'UnreadMessagesCountFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'ChatRoom', - abstractKey: null, -} - -;(node as any).hash = '153dd01c7e0a3cfb050cbc4215409310' - -export default node diff --git a/packages/components/__generated__/UpdateChatRoomMutation.graphql.ts b/packages/components/__generated__/UpdateChatRoomMutation.graphql.ts deleted file mode 100644 index 21ff329a..00000000 --- a/packages/components/__generated__/UpdateChatRoomMutation.graphql.ts +++ /dev/null @@ -1,455 +0,0 @@ -/** - * @generated SignedSource<<38492937ede5a38d6dd9cc7dd9180ac3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Mutation } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type ChatRoomUpdateInput = { - addParticipants?: ReadonlyArray | null | undefined - clientMutationId?: string | null | undefined - deleteImage?: boolean | null | undefined - profileId: string - removeParticipants?: ReadonlyArray | null | undefined - roomId: string - title?: string | null | undefined -} -export type UpdateChatRoomMutation$variables = { - connections: ReadonlyArray - input: ChatRoomUpdateInput -} -export type UpdateChatRoomMutation$data = { - readonly chatRoomUpdate: - | { - readonly errors: - | ReadonlyArray< - | { - readonly field: string - readonly messages: ReadonlyArray - } - | null - | undefined - > - | null - | undefined - readonly removedParticipants: - | ReadonlyArray< - | { - readonly id: string - } - | null - | undefined - > - | null - | undefined - readonly room: - | { - readonly node: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs< - 'LastMessageFragment' | 'TitleFragment' | 'UnreadMessagesCountFragment' - > - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type UpdateChatRoomMutation = { - response: UpdateChatRoomMutation$data - variables: UpdateChatRoomMutation$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'input', - }, - v2 = [ - { - kind: 'Variable', - name: 'input', - variableName: 'input', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - concreteType: 'ErrorType', - kind: 'LinkedField', - name: 'errors', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'field', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'messages', - storageKey: null, - }, - ], - storageKey: null, - }, - v5 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'UpdateChatRoomMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomUpdatePayload', - kind: 'LinkedField', - name: 'chatRoomUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'LastMessageFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'TitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'UnreadMessagesCountFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'removedParticipants', - plural: true, - selections: [v3 /*: any*/], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Mutation', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'UpdateChatRoomMutation', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomUpdatePayload', - kind: 'LinkedField', - name: 'chatRoomUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'lastMessageTime', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'lastMessage', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'first', - value: 2, - }, - ], - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:100,width:100)', - }, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:2)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v5 /*: any*/, - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'removedParticipants', - plural: true, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - filters: null, - handle: 'deleteEdge', - key: '', - kind: 'ScalarHandle', - name: 'id', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - ], - storageKey: null, - }, - v4 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '02ee6230858c1fc8bfc1d3cdff0ff168', - id: null, - metadata: {}, - name: 'UpdateChatRoomMutation', - operationKind: 'mutation', - text: 'mutation UpdateChatRoomMutation(\n $input: ChatRoomUpdateInput!\n) {\n chatRoomUpdate(input: $input) {\n room {\n node {\n id\n ...LastMessageFragment\n ...TitleFragment\n ...UnreadMessagesCountFragment\n }\n }\n removedParticipants {\n id\n }\n errors {\n field\n messages\n }\n }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n id\n image(width: 144, height: 144) {\n url\n }\n title\n}\n\nfragment LastMessageFragment on ChatRoom {\n id\n lastMessageTime\n lastMessage {\n id\n content\n }\n}\n\nfragment RoomTitleFragment on ChatRoom {\n id\n participants(first: 2) {\n edges {\n node {\n profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n }\n id\n }\n }\n }\n}\n\nfragment TitleFragment on ChatRoom {\n id\n isGroup\n ...RoomTitleFragment\n ...GroupTitleFragment\n}\n\nfragment UnreadMessagesCountFragment on ChatRoom {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '814ba3e87407537b5be32eb40c45a80d' - -export default node diff --git a/packages/components/__generated__/UserMembersListFragment.graphql.ts b/packages/components/__generated__/UserMembersListFragment.graphql.ts deleted file mode 100644 index 282c31d4..00000000 --- a/packages/components/__generated__/UserMembersListFragment.graphql.ts +++ /dev/null @@ -1,229 +0,0 @@ -/** - * @generated SignedSource<<44456281204431792d1fc91d06873cee>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ReaderFragment, RefetchableFragment } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type UserMembersListFragment$data = { - readonly canChangeRole: boolean | null | undefined - readonly id: string - readonly members: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'MemberItemFragment'> - } - | null - | undefined - } - | null - | undefined - > - readonly pageInfo: { - readonly endCursor: string | null | undefined - readonly hasNextPage: boolean - } - readonly totalCount: number | null | undefined - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> - readonly ' $fragmentType': 'UserMembersListFragment' -} -export type UserMembersListFragment$key = { - readonly ' $data'?: UserMembersListFragment$data - readonly ' $fragmentSpreads': FragmentRefs<'UserMembersListFragment'> -} - -const node: ReaderFragment = (function () { - var v0 = ['members'] - return { - argumentDefinitions: [ - { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'orderBy', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'q', - }, - ], - kind: 'Fragment', - metadata: { - connection: [ - { - count: 'count', - cursor: 'cursor', - direction: 'forward', - path: v0 /*: any*/, - }, - ], - refetch: { - connection: { - forward: { - count: 'count', - cursor: 'cursor', - }, - backward: null, - path: v0 /*: any*/, - }, - fragmentPathInResult: ['node'], - operation: require('./userMembersListPaginationRefetchable.graphql'), - identifierInfo: { - identifierField: 'id', - identifierQueryVariableName: 'id', - }, - }, - }, - name: 'UserMembersListFragment', - selections: [ - { - alias: 'canChangeRole', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'baseapp_profiles.change_profileuserrole', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"baseapp_profiles.change_profileuserrole")', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileItemFragment', - }, - { - alias: 'members', - args: [ - { - kind: 'Variable', - name: 'orderBy', - variableName: 'orderBy', - }, - { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - ], - concreteType: 'ProfileUserRoleConnection', - kind: 'LinkedField', - name: '__UserMembersFragment_members_connection', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ProfileUserRoleEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ProfileUserRole', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'MemberItemFragment', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - ], - type: 'Profile', - abstractKey: null, - } -})() - -;(node as any).hash = '36d39484eb42189ff857dac6fec4b13d' - -export default node diff --git a/packages/components/__generated__/UserMembersListPaginationQuery.graphql.ts b/packages/components/__generated__/UserMembersListPaginationQuery.graphql.ts deleted file mode 100644 index abf2194c..00000000 --- a/packages/components/__generated__/UserMembersListPaginationQuery.graphql.ts +++ /dev/null @@ -1,379 +0,0 @@ -/** - * @generated SignedSource<<8af0ed87aaf7bcb1f2d2c88c2a39acb6>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type UserMembersListPaginationQuery$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - orderBy?: string | null | undefined - profileId: string - q?: string | null | undefined -} -export type UserMembersListPaginationQuery$data = { - readonly profile: - | { - readonly pk: number - readonly ' $fragmentSpreads': FragmentRefs<'UserMembersListFragment'> - } - | null - | undefined -} -export type UserMembersListPaginationQuery = { - response: UserMembersListPaginationQuery$data - variables: UserMembersListPaginationQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'orderBy', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'profileId', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'q', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'profileId', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v3 = { - kind: 'Variable', - name: 'orderBy', - variableName: 'orderBy', - }, - v4 = { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - v5 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - v7 = { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - v8 = { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v5 /*: any*/, - ], - storageKey: null, - }, - v9 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - v3 /*: any*/, - v4 /*: any*/, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'UserMembersListPaginationQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v2 /*: any*/, - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - v3 /*: any*/, - v4 /*: any*/, - ], - kind: 'FragmentSpread', - name: 'UserMembersListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'UserMembersListPaginationQuery', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: 'canChangeRole', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'baseapp_profiles.change_profileuserrole', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"baseapp_profiles.change_profileuserrole")', - }, - v5 /*: any*/, - v6 /*: any*/, - v7 /*: any*/, - v8 /*: any*/, - { - alias: null, - args: v9 /*: any*/, - concreteType: 'ProfileUserRoleConnection', - kind: 'LinkedField', - name: 'members', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ProfileUserRoleEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ProfileUserRole', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v5 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/], - storageKey: null, - }, - v5 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'role', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'status', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v9 /*: any*/, - filters: ['orderBy', 'q'], - handle: 'connection', - key: 'UserMembersFragment_members', - kind: 'LinkedHandle', - name: 'members', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '4c26b6c390f8f6f6311b61783c7aa5ba', - id: null, - metadata: {}, - name: 'UserMembersListPaginationQuery', - operationKind: 'query', - text: 'query UserMembersListPaginationQuery(\n $count: Int = 10\n $cursor: String\n $orderBy: String\n $profileId: ID!\n $q: String\n) {\n profile(id: $profileId) {\n pk\n ...UserMembersListFragment_40Ewnb\n id\n }\n}\n\nfragment MemberItemFragment on ProfileUserRole {\n id\n user {\n profile {\n ...ProfileItemFragment\n id\n }\n id\n }\n role\n status\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n\nfragment UserMembersListFragment_40Ewnb on Profile {\n canChangeRole: hasPerm(perm: "baseapp_profiles.change_profileuserrole")\n ...ProfileItemFragment\n members(first: $count, after: $cursor, orderBy: $orderBy, q: $q) {\n totalCount\n edges {\n node {\n ...MemberItemFragment\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n id\n}\n', - }, - } -})() - -;(node as any).hash = '86d1da775d16041c78aa054204fed0cd' - -export default node diff --git a/packages/components/__generated__/UserProfileQuery.graphql.ts b/packages/components/__generated__/UserProfileQuery.graphql.ts deleted file mode 100644 index 4fb2e338..00000000 --- a/packages/components/__generated__/UserProfileQuery.graphql.ts +++ /dev/null @@ -1,181 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type UserProfileQuery$variables = Record -export type UserProfileQuery$data = { - readonly me: - | { - readonly profile: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'ProfileItemFragment'> - } - | null - | undefined - } - | null - | undefined -} -export type UserProfileQuery = { - response: UserProfileQuery$data - variables: UserProfileQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - } - return { - fragment: { - argumentDefinitions: [], - kind: 'Fragment', - metadata: null, - name: 'UserProfileQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v0 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'ProfileItemFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [], - kind: 'Operation', - name: 'UserProfileQuery', - selections: [ - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'me', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v0 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v0 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - v0 /*: any*/, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'bf91f0acfc2126f408b4cbe09838bbda', - id: null, - metadata: {}, - name: 'UserProfileQuery', - operationKind: 'query', - text: 'query UserProfileQuery {\n me {\n profile {\n id\n ...ProfileItemFragment\n }\n id\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '66224b5e2a7b852c882a5c0b76571987' - -export default node diff --git a/packages/components/__generated__/chatRoomsPaginationQuery.graphql.ts b/packages/components/__generated__/chatRoomsPaginationQuery.graphql.ts deleted file mode 100644 index a1bfd747..00000000 --- a/packages/components/__generated__/chatRoomsPaginationQuery.graphql.ts +++ /dev/null @@ -1,465 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type chatRoomsPaginationQuery$variables = { - archived?: boolean | null | undefined - count?: number | null | undefined - cursor?: string | null | undefined - id: string - q?: string | null | undefined - unreadMessages?: boolean | null | undefined -} -export type chatRoomsPaginationQuery$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'RoomsListFragment'> - } - | null - | undefined -} -export type chatRoomsPaginationQuery = { - response: chatRoomsPaginationQuery$data - variables: chatRoomsPaginationQuery$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: false, - kind: 'LocalArgument', - name: 'archived', - }, - v1 = { - defaultValue: 5, - kind: 'LocalArgument', - name: 'count', - }, - v2 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - v3 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - v4 = { - defaultValue: '', - kind: 'LocalArgument', - name: 'q', - }, - v5 = { - defaultValue: false, - kind: 'LocalArgument', - name: 'unreadMessages', - }, - v6 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v7 = { - kind: 'Variable', - name: 'archived', - variableName: 'archived', - }, - v8 = { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - v9 = { - kind: 'Variable', - name: 'unreadMessages', - variableName: 'unreadMessages', - }, - v10 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v11 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v12 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - v7 /*: any*/, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - v8 /*: any*/, - v9 /*: any*/, - ], - v13 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: [ - v0 /*: any*/, - v1 /*: any*/, - v2 /*: any*/, - v3 /*: any*/, - v4 /*: any*/, - v5 /*: any*/, - ], - kind: 'Fragment', - metadata: null, - name: 'chatRoomsPaginationQuery', - selections: [ - { - alias: null, - args: v6 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - v7 /*: any*/, - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - v8 /*: any*/, - v9 /*: any*/, - ], - kind: 'FragmentSpread', - name: 'RoomsListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [ - v0 /*: any*/, - v1 /*: any*/, - v2 /*: any*/, - v4 /*: any*/, - v5 /*: any*/, - v3 /*: any*/, - ], - kind: 'Operation', - name: 'chatRoomsPaginationQuery', - selections: [ - { - alias: null, - args: v6 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v10 /*: any*/, - v11 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: v12 /*: any*/, - concreteType: 'ChatRoomConnection', - kind: 'LinkedField', - name: 'chatRooms', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v11 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'lastMessageTime', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'lastMessage', - plural: false, - selections: [ - v11 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'first', - value: 2, - }, - ], - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v11 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v13 /*: any*/, - storageKey: 'image(height:100,width:100)', - }, - ], - storageKey: null, - }, - v11 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:2)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v13 /*: any*/, - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v11 /*: any*/, - ], - storageKey: null, - }, - v10 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v12 /*: any*/, - filters: ['q', 'unreadMessages', 'archived'], - handle: 'connection', - key: 'roomsList_chatRooms', - kind: 'LinkedHandle', - name: 'chatRooms', - }, - ], - type: 'ChatRoomsInterface', - abstractKey: '__isChatRoomsInterface', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'b1100ee4f24d18cdd232451eaaf87847', - id: null, - metadata: {}, - name: 'chatRoomsPaginationQuery', - operationKind: 'query', - text: 'query chatRoomsPaginationQuery(\n $archived: Boolean = false\n $count: Int = 5\n $cursor: String\n $q: String = ""\n $unreadMessages: Boolean = false\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...RoomsListFragment_3I5PKK\n id\n }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n id\n image(width: 144, height: 144) {\n url\n }\n title\n}\n\nfragment LastMessageFragment on ChatRoom {\n id\n lastMessageTime\n lastMessage {\n id\n content\n }\n}\n\nfragment RoomTitleFragment on ChatRoom {\n id\n participants(first: 2) {\n edges {\n node {\n profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n }\n id\n }\n }\n }\n}\n\nfragment RoomsListFragment_3I5PKK on ChatRoomsInterface {\n __isChatRoomsInterface: __typename\n chatRooms(first: $count, after: $cursor, q: $q, unreadMessages: $unreadMessages, archived: $archived) {\n edges {\n node {\n id\n ...LastMessageFragment\n ...TitleFragment\n ...UnreadMessagesCountFragment\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n id\n}\n\nfragment TitleFragment on ChatRoom {\n id\n isGroup\n ...RoomTitleFragment\n ...GroupTitleFragment\n}\n\nfragment UnreadMessagesCountFragment on ChatRoom {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '3a66898cb96bbf4ce999aa5ad9822ca0' - -export default node diff --git a/packages/components/__generated__/notificationsListRefetchable.graphql.ts b/packages/components/__generated__/notificationsListRefetchable.graphql.ts deleted file mode 100644 index 5217389d..00000000 --- a/packages/components/__generated__/notificationsListRefetchable.graphql.ts +++ /dev/null @@ -1,399 +0,0 @@ -/** - * @generated SignedSource<<5221e4123978058c8380e80899aa4ff8>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type notificationsListRefetchable$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - id: string - verbs?: string | null | undefined -} -export type notificationsListRefetchable$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'NotificationsListFragment'> - } - | null - | undefined -} -export type notificationsListRefetchable = { - response: notificationsListRefetchable$data - variables: notificationsListRefetchable$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - v2 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - v3 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'verbs', - }, - v4 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v5 = { - kind: 'Variable', - name: 'verbs', - variableName: 'verbs', - }, - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v7 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v8 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - v5 /*: any*/, - ], - v9 = [ - v7 /*: any*/, - v6 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - ], - type: 'Comment', - abstractKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'notificationsListRefetchable', - selections: [ - { - alias: null, - args: v4 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - v5 /*: any*/, - ], - kind: 'FragmentSpread', - name: 'NotificationsListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/, v3 /*: any*/, v2 /*: any*/], - kind: 'Operation', - name: 'notificationsListRefetchable', - selections: [ - { - alias: null, - args: v4 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v6 /*: any*/, - v7 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - }, - { - alias: null, - args: v8 /*: any*/, - concreteType: 'NotificationConnection', - kind: 'LinkedField', - name: 'notifications', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'NotificationEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v7 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'unread', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'timestamp', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'level', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'description', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'data', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actor', - plural: false, - selections: [ - v6 /*: any*/, - v7 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:48,width:48)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: v9 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actionObject', - plural: false, - selections: v9 /*: any*/, - storageKey: null, - }, - v6 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v8 /*: any*/, - filters: ['verbs'], - handle: 'connection', - key: 'user_notifications', - kind: 'LinkedHandle', - name: 'notifications', - }, - ], - type: 'User', - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'cb6015305038b797b1e0172988517f82', - id: null, - metadata: {}, - name: 'notificationsListRefetchable', - operationKind: 'query', - text: 'query notificationsListRefetchable(\n $count: Int = 10\n $cursor: String\n $verbs: String\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...NotificationsListFragment_LXqp7\n id\n }\n}\n\nfragment NotificationItemFragment on Notification {\n id\n pk\n unread\n timestamp\n level\n verb\n description\n data\n actor {\n __typename\n id\n ... on User {\n avatar(width: 48, height: 48) {\n url\n }\n fullName\n }\n }\n target {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n actionObject {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n}\n\nfragment NotificationsListFragment_LXqp7 on User {\n id\n notificationsUnreadCount\n notifications(first: $count, after: $cursor, verbs: $verbs) {\n edges {\n cursor\n node {\n id\n unread\n ...NotificationItemFragment\n __typename\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = 'a6a3cbaf1db8c4d17187ab6631bf2764' - -export default node diff --git a/packages/components/__generated__/profilesListRefetchable.graphql.ts b/packages/components/__generated__/profilesListRefetchable.graphql.ts deleted file mode 100644 index ba0b3a3a..00000000 --- a/packages/components/__generated__/profilesListRefetchable.graphql.ts +++ /dev/null @@ -1,293 +0,0 @@ -/** - * @generated SignedSource<<9122eddc8565511648fff888985f63a5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type profilesListRefetchable$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - id: string -} -export type profilesListRefetchable$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'ProfilesListFragment'> - } - | null - | undefined -} -export type profilesListRefetchable = { - response: profilesListRefetchable$data - variables: profilesListRefetchable$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - ] - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'profilesListRefetchable', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - ], - kind: 'FragmentSpread', - name: 'ProfilesListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'profilesListRefetchable', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v3 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: v4 /*: any*/, - concreteType: 'ProfileConnection', - kind: 'LinkedField', - name: 'profiles', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ProfileEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - v2 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v4 /*: any*/, - filters: null, - handle: 'connection', - key: 'ProfilesListFragment_profiles', - kind: 'LinkedHandle', - name: 'profiles', - }, - ], - type: 'User', - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '4076e2b1f754ffe0e086cd58c1941149', - id: null, - metadata: {}, - name: 'profilesListRefetchable', - operationKind: 'query', - text: 'query profilesListRefetchable(\n $count: Int = 10\n $cursor: String\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ProfilesListFragment_1G22uz\n id\n }\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n\nfragment ProfilesListFragment_1G22uz on User {\n id\n profiles(first: $count, after: $cursor) {\n edges {\n cursor\n node {\n id\n ...ProfileItemFragment\n __typename\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = '220e97b8d45724f507762ff4f3d39dce' - -export default node diff --git a/packages/components/__generated__/useMessageCountUpdateSubscription.graphql.ts b/packages/components/__generated__/useMessageCountUpdateSubscription.graphql.ts deleted file mode 100644 index 3a40e9cf..00000000 --- a/packages/components/__generated__/useMessageCountUpdateSubscription.graphql.ts +++ /dev/null @@ -1,331 +0,0 @@ -/** - * @generated SignedSource<<8bfa4f42731ce1a16abdbd7f88920027>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, GraphQLSubscription } from 'relay-runtime' - -export type useMessageCountUpdateSubscription$variables = { - profileId: string -} -export type useMessageCountUpdateSubscription$data = { - readonly chatRoomOnMessagesCountUpdate: - | { - readonly profile: - | { - readonly chatRooms: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly allMessages: - | { - readonly edges: ReadonlyArray< - | { - readonly node: - | { - readonly id: string - readonly isRead: boolean | null | undefined - } - | null - | undefined - } - | null - | undefined - > - } - | null - | undefined - readonly id: string - readonly unreadMessages: - | { - readonly count: number - readonly markedUnread: boolean - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined - > - readonly totalCount: number | null | undefined - } - | null - | undefined - readonly id: string - } - | null - | undefined - } - | null - | undefined -} -export type useMessageCountUpdateSubscription = { - response: useMessageCountUpdateSubscription$data - variables: useMessageCountUpdateSubscription$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'profileId', - }, - ], - v1 = [ - { - kind: 'Variable', - name: 'profileId', - variableName: 'profileId', - }, - ], - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - v5 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v6 = { - alias: null, - args: null, - concreteType: 'MessageConnection', - kind: 'LinkedField', - name: 'allMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'useMessageCountUpdateSubscription', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomOnMessagesCountUpdate', - kind: 'LinkedField', - name: 'chatRoomOnMessagesCountUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ChatRoomConnection', - kind: 'LinkedField', - name: 'chatRooms', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [v4 /*: any*/, v5 /*: any*/], - storageKey: null, - }, - v6 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Subscription', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'useMessageCountUpdateSubscription', - selections: [ - { - alias: null, - args: v1 /*: any*/, - concreteType: 'ChatRoomOnMessagesCountUpdate', - kind: 'LinkedField', - name: 'chatRoomOnMessagesCountUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ChatRoomConnection', - kind: 'LinkedField', - name: 'chatRooms', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [v4 /*: any*/, v5 /*: any*/, v2 /*: any*/], - storageKey: null, - }, - v6 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'ee87a4300f113870813418b0a818d031', - id: null, - metadata: {}, - name: 'useMessageCountUpdateSubscription', - operationKind: 'subscription', - text: 'subscription useMessageCountUpdateSubscription(\n $profileId: ID!\n) {\n chatRoomOnMessagesCountUpdate(profileId: $profileId) {\n profile {\n id\n chatRooms {\n totalCount\n edges {\n node {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n allMessages {\n edges {\n node {\n id\n isRead\n }\n }\n }\n }\n }\n }\n }\n }\n}\n', - }, - } -})() - -;(node as any).hash = '57b09f90d1cdf7f57abc3956378d6b27' - -export default node diff --git a/packages/components/__generated__/useMessagesListSubscription.graphql.ts b/packages/components/__generated__/useMessagesListSubscription.graphql.ts deleted file mode 100644 index 9706f661..00000000 --- a/packages/components/__generated__/useMessagesListSubscription.graphql.ts +++ /dev/null @@ -1,284 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, GraphQLSubscription } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type useMessagesListSubscription$variables = { - connections: ReadonlyArray - roomId: string -} -export type useMessagesListSubscription$data = { - readonly chatRoomOnNewMessage: - | { - readonly message: - | { - readonly node: - | { - readonly actionObject: - | { - readonly id: string - } - | null - | undefined - readonly ' $fragmentSpreads': FragmentRefs<'MessageItemFragment'> - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type useMessagesListSubscription = { - response: useMessagesListSubscription$data - variables: useMessagesListSubscription$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'roomId', - }, - v2 = [ - { - kind: 'Variable', - name: 'roomId', - variableName: 'roomId', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = [v3 /*: any*/] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'useMessagesListSubscription', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomOnNewMessage', - kind: 'LinkedField', - name: 'chatRoomOnNewMessage', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'message', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: null, - kind: 'FragmentSpread', - name: 'MessageItemFragment', - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actionObject', - plural: false, - selections: v4 /*: any*/, - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Subscription', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'useMessagesListSubscription', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomOnNewMessage', - kind: 'LinkedField', - name: 'chatRoomOnNewMessage', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'MessageEdge', - kind: 'LinkedField', - name: 'message', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'created', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'extraData', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'inReplyTo', - plural: false, - selections: v4 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isRead', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: v4 /*: any*/, - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actionObject', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - filters: null, - handle: 'prependEdge', - key: '', - kind: 'LinkedHandle', - name: 'message', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: '883bb43d76a5fc883f45f30697fd86db', - id: null, - metadata: {}, - name: 'useMessagesListSubscription', - operationKind: 'subscription', - text: 'subscription useMessagesListSubscription(\n $roomId: ID!\n) {\n chatRoomOnNewMessage(roomId: $roomId) {\n message {\n node {\n ...MessageItemFragment\n actionObject {\n __typename\n id\n }\n id\n }\n }\n }\n}\n\nfragment MessageItemFragment on Message {\n id\n content\n created\n extraData\n inReplyTo {\n id\n }\n isRead\n pk\n profile {\n id\n }\n verb\n}\n', - }, - } -})() - -;(node as any).hash = '3a374ae22dfceafafaa817179b020ccb' - -export default node diff --git a/packages/components/__generated__/useNotificationsSubscription.graphql.ts b/packages/components/__generated__/useNotificationsSubscription.graphql.ts deleted file mode 100644 index 4731d830..00000000 --- a/packages/components/__generated__/useNotificationsSubscription.graphql.ts +++ /dev/null @@ -1,434 +0,0 @@ -/** - * @generated SignedSource<<15b1893b77e04b106ddad384ee4ed089>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, GraphQLSubscription } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type useNotificationsSubscription$variables = { - connections: ReadonlyArray -} -export type useNotificationsSubscription$data = { - readonly onNotificationChange: - | { - readonly createdNotification: - | { - readonly node: - | { - readonly recipient: { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'NotificationUserMenuFragment'> - } - readonly ' $fragmentSpreads': FragmentRefs<'NotificationItemFragment'> - } - | null - | undefined - } - | null - | undefined - readonly deletedNotificationId: string | null | undefined - readonly updatedNotification: - | { - readonly id: string - readonly ' $fragmentSpreads': FragmentRefs<'NotificationItemFragment'> - } - | null - | undefined - } - | null - | undefined -} -export type useNotificationsSubscription = { - response: useNotificationsSubscription$data - variables: useNotificationsSubscription$variables -} - -const node: ConcreteRequest = (function () { - var v0 = [ - { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - ], - v1 = { - args: null, - kind: 'FragmentSpread', - name: 'NotificationItemFragment', - }, - v2 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'deletedNotificationId', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'pk', - storageKey: null, - }, - v5 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'unread', - storageKey: null, - }, - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'timestamp', - storageKey: null, - }, - v7 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'level', - storageKey: null, - }, - v8 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'verb', - storageKey: null, - }, - v9 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'description', - storageKey: null, - }, - v10 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'data', - storageKey: null, - }, - v11 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v12 = { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actor', - plural: false, - selections: [ - v11 /*: any*/, - v2 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 48, - }, - { - kind: 'Literal', - name: 'width', - value: 48, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'avatar', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'avatar(height:48,width:48)', - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'fullName', - storageKey: null, - }, - ], - type: 'User', - abstractKey: null, - }, - ], - storageKey: null, - }, - v13 = [ - v2 /*: any*/, - v11 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'body', - storageKey: null, - }, - ], - type: 'Comment', - abstractKey: null, - }, - ], - v14 = { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'target', - plural: false, - selections: v13 /*: any*/, - storageKey: null, - }, - v15 = { - alias: null, - args: null, - concreteType: null, - kind: 'LinkedField', - name: 'actionObject', - plural: false, - selections: v13 /*: any*/, - storageKey: null, - } - return { - fragment: { - argumentDefinitions: v0 /*: any*/, - kind: 'Fragment', - metadata: null, - name: 'useNotificationsSubscription', - selections: [ - { - alias: null, - args: null, - concreteType: 'OnNotificationChange', - kind: 'LinkedField', - name: 'onNotificationChange', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'NotificationEdge', - kind: 'LinkedField', - name: 'createdNotification', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v1 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'recipient', - plural: false, - selections: [ - v2 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'NotificationUserMenuFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'updatedNotification', - plural: false, - selections: [v2 /*: any*/, v1 /*: any*/], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - type: 'Subscription', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: v0 /*: any*/, - kind: 'Operation', - name: 'useNotificationsSubscription', - selections: [ - { - alias: null, - args: null, - concreteType: 'OnNotificationChange', - kind: 'LinkedField', - name: 'onNotificationChange', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'NotificationEdge', - kind: 'LinkedField', - name: 'createdNotification', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v2 /*: any*/, - v4 /*: any*/, - v5 /*: any*/, - v6 /*: any*/, - v7 /*: any*/, - v8 /*: any*/, - v9 /*: any*/, - v10 /*: any*/, - v12 /*: any*/, - v14 /*: any*/, - v15 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'recipient', - plural: false, - selections: [ - v2 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'notificationsUnreadCount', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - filters: null, - handle: 'prependEdge', - key: '', - kind: 'LinkedHandle', - name: 'createdNotification', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - { - alias: null, - args: null, - concreteType: 'Notification', - kind: 'LinkedField', - name: 'updatedNotification', - plural: false, - selections: [ - v2 /*: any*/, - v4 /*: any*/, - v5 /*: any*/, - v6 /*: any*/, - v7 /*: any*/, - v8 /*: any*/, - v9 /*: any*/, - v10 /*: any*/, - v12 /*: any*/, - v14 /*: any*/, - v15 /*: any*/, - ], - storageKey: null, - }, - v3 /*: any*/, - { - alias: null, - args: null, - filters: null, - handle: 'deleteRecord', - key: '', - kind: 'ScalarHandle', - name: 'deletedNotificationId', - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'dba91e538812ad2152bd5fb5c1284af4', - id: null, - metadata: {}, - name: 'useNotificationsSubscription', - operationKind: 'subscription', - text: 'subscription useNotificationsSubscription {\n onNotificationChange {\n createdNotification {\n node {\n ...NotificationItemFragment\n recipient {\n id\n ...NotificationUserMenuFragment\n }\n id\n }\n }\n updatedNotification {\n id\n ...NotificationItemFragment\n }\n deletedNotificationId\n }\n}\n\nfragment NotificationItemFragment on Notification {\n id\n pk\n unread\n timestamp\n level\n verb\n description\n data\n actor {\n __typename\n id\n ... on User {\n avatar(width: 48, height: 48) {\n url\n }\n fullName\n }\n }\n target {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n actionObject {\n id\n __typename\n ... on Comment {\n id\n body\n }\n }\n}\n\nfragment NotificationUserMenuFragment on User {\n id\n notificationsUnreadCount\n}\n', - }, - } -})() - -;(node as any).hash = '1bca63a0d3abbb5c3d3ca3fbfa6e7d37' - -export default node diff --git a/packages/components/__generated__/useRoomListSubscription.graphql.ts b/packages/components/__generated__/useRoomListSubscription.graphql.ts deleted file mode 100644 index 80f0a53b..00000000 --- a/packages/components/__generated__/useRoomListSubscription.graphql.ts +++ /dev/null @@ -1,448 +0,0 @@ -/** - * @generated SignedSource<<7f5339b06e4da843c62ab00d6f096c7e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, GraphQLSubscription } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type useRoomListSubscription$variables = { - connections: ReadonlyArray - profileId: string -} -export type useRoomListSubscription$data = { - readonly chatRoomOnRoomUpdate: - | { - readonly removedParticipants: - | ReadonlyArray< - | { - readonly id: string - readonly profile: - | { - readonly id: string - } - | null - | undefined - } - | null - | undefined - > - | null - | undefined - readonly room: - | { - readonly node: - | { - readonly id: string - readonly isArchived: boolean | null | undefined - readonly participantsCount: number - readonly title: string | null | undefined - readonly ' $fragmentSpreads': FragmentRefs< - 'LastMessageFragment' | 'TitleFragment' | 'UnreadMessagesCountFragment' - > - } - | null - | undefined - } - | null - | undefined - } - | null - | undefined -} -export type useRoomListSubscription = { - response: useRoomListSubscription$data - variables: useRoomListSubscription$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'connections', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'profileId', - }, - v2 = [ - { - kind: 'Variable', - name: 'profileId', - variableName: 'profileId', - }, - ], - v3 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v4 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isArchived', - storageKey: null, - }, - v5 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'participantsCount', - storageKey: null, - }, - v6 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'title', - storageKey: null, - }, - v7 = { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [v3 /*: any*/], - storageKey: null, - }, - v8 = [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'useRoomListSubscription', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomOnRoomUpdate', - kind: 'LinkedField', - name: 'chatRoomOnRoomUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - v4 /*: any*/, - v5 /*: any*/, - v6 /*: any*/, - { - args: null, - kind: 'FragmentSpread', - name: 'LastMessageFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'TitleFragment', - }, - { - args: null, - kind: 'FragmentSpread', - name: 'UnreadMessagesCountFragment', - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'removedParticipants', - plural: true, - selections: [v3 /*: any*/, v7 /*: any*/], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - type: 'Subscription', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v1 /*: any*/, v0 /*: any*/], - kind: 'Operation', - name: 'useRoomListSubscription', - selections: [ - { - alias: null, - args: v2 /*: any*/, - concreteType: 'ChatRoomOnRoomUpdate', - kind: 'LinkedField', - name: 'chatRoomOnRoomUpdate', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomEdge', - kind: 'LinkedField', - name: 'room', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoom', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v3 /*: any*/, - v4 /*: any*/, - v5 /*: any*/, - v6 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'lastMessageTime', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'Message', - kind: 'LinkedField', - name: 'lastMessage', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'content', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'isGroup', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'first', - value: 2, - }, - ], - concreteType: 'ChatRoomParticipantConnection', - kind: 'LinkedField', - name: 'participants', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipantEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v8 /*: any*/, - storageKey: 'image(height:100,width:100)', - }, - ], - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: 'participants(first:2)', - }, - { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 144, - }, - { - kind: 'Literal', - name: 'width', - value: 144, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: v8 /*: any*/, - storageKey: 'image(height:144,width:144)', - }, - { - alias: null, - args: null, - concreteType: 'UnreadMessageCount', - kind: 'LinkedField', - name: 'unreadMessages', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'count', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'markedUnread', - storageKey: null, - }, - v3 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ChatRoomParticipant', - kind: 'LinkedField', - name: 'removedParticipants', - plural: true, - selections: [ - v3 /*: any*/, - { - alias: null, - args: null, - filters: null, - handle: 'deleteEdge', - key: '', - kind: 'ScalarHandle', - name: 'id', - handleArgs: [ - { - kind: 'Variable', - name: 'connections', - variableName: 'connections', - }, - ], - }, - v7 /*: any*/, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'b33e570c1e964cbbf0ebdbe2cf54b30b', - id: null, - metadata: {}, - name: 'useRoomListSubscription', - operationKind: 'subscription', - text: 'subscription useRoomListSubscription(\n $profileId: ID!\n) {\n chatRoomOnRoomUpdate(profileId: $profileId) {\n room {\n node {\n id\n isArchived\n participantsCount\n title\n ...LastMessageFragment\n ...TitleFragment\n ...UnreadMessagesCountFragment\n }\n }\n removedParticipants {\n id\n profile {\n id\n }\n }\n }\n}\n\nfragment GroupTitleFragment on ChatRoom {\n id\n image(width: 144, height: 144) {\n url\n }\n title\n}\n\nfragment LastMessageFragment on ChatRoom {\n id\n lastMessageTime\n lastMessage {\n id\n content\n }\n}\n\nfragment RoomTitleFragment on ChatRoom {\n id\n participants(first: 2) {\n edges {\n node {\n profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n }\n id\n }\n }\n }\n}\n\nfragment TitleFragment on ChatRoom {\n id\n isGroup\n ...RoomTitleFragment\n ...GroupTitleFragment\n}\n\nfragment UnreadMessagesCountFragment on ChatRoom {\n id\n unreadMessages {\n count\n markedUnread\n id\n }\n}\n', - }, - } -})() - -;(node as any).hash = '1a6290e220a68b34641d01ea3ab017a1' - -export default node diff --git a/packages/components/__generated__/userMembersListPaginationRefetchable.graphql.ts b/packages/components/__generated__/userMembersListPaginationRefetchable.graphql.ts deleted file mode 100644 index 7f5e6515..00000000 --- a/packages/components/__generated__/userMembersListPaginationRefetchable.graphql.ts +++ /dev/null @@ -1,381 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ - -/* eslint-disable */ -// @ts-nocheck -import { ConcreteRequest, Query } from 'relay-runtime' -import { FragmentRefs } from 'relay-runtime' - -export type userMembersListPaginationRefetchable$variables = { - count?: number | null | undefined - cursor?: string | null | undefined - id: string - orderBy?: string | null | undefined - q?: string | null | undefined -} -export type userMembersListPaginationRefetchable$data = { - readonly node: - | { - readonly ' $fragmentSpreads': FragmentRefs<'UserMembersListFragment'> - } - | null - | undefined -} -export type userMembersListPaginationRefetchable = { - response: userMembersListPaginationRefetchable$data - variables: userMembersListPaginationRefetchable$variables -} - -const node: ConcreteRequest = (function () { - var v0 = { - defaultValue: 10, - kind: 'LocalArgument', - name: 'count', - }, - v1 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'cursor', - }, - v2 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'id', - }, - v3 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'orderBy', - }, - v4 = { - defaultValue: null, - kind: 'LocalArgument', - name: 'q', - }, - v5 = [ - { - kind: 'Variable', - name: 'id', - variableName: 'id', - }, - ], - v6 = { - kind: 'Variable', - name: 'orderBy', - variableName: 'orderBy', - }, - v7 = { - kind: 'Variable', - name: 'q', - variableName: 'q', - }, - v8 = { - alias: null, - args: null, - kind: 'ScalarField', - name: '__typename', - storageKey: null, - }, - v9 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'id', - storageKey: null, - }, - v10 = { - alias: null, - args: null, - kind: 'ScalarField', - name: 'name', - storageKey: null, - }, - v11 = { - alias: null, - args: [ - { - kind: 'Literal', - name: 'height', - value: 100, - }, - { - kind: 'Literal', - name: 'width', - value: 100, - }, - ], - concreteType: 'File', - kind: 'LinkedField', - name: 'image', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'url', - storageKey: null, - }, - ], - storageKey: 'image(height:100,width:100)', - }, - v12 = { - alias: null, - args: null, - concreteType: 'URLPath', - kind: 'LinkedField', - name: 'urlPath', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'path', - storageKey: null, - }, - v9 /*: any*/, - ], - storageKey: null, - }, - v13 = [ - { - kind: 'Variable', - name: 'after', - variableName: 'cursor', - }, - { - kind: 'Variable', - name: 'first', - variableName: 'count', - }, - v6 /*: any*/, - v7 /*: any*/, - ] - return { - fragment: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/, v3 /*: any*/, v4 /*: any*/], - kind: 'Fragment', - metadata: null, - name: 'userMembersListPaginationRefetchable', - selections: [ - { - alias: null, - args: v5 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - { - args: [ - { - kind: 'Variable', - name: 'count', - variableName: 'count', - }, - { - kind: 'Variable', - name: 'cursor', - variableName: 'cursor', - }, - v6 /*: any*/, - v7 /*: any*/, - ], - kind: 'FragmentSpread', - name: 'UserMembersListFragment', - }, - ], - storageKey: null, - }, - ], - type: 'Query', - abstractKey: null, - }, - kind: 'Request', - operation: { - argumentDefinitions: [v0 /*: any*/, v1 /*: any*/, v3 /*: any*/, v4 /*: any*/, v2 /*: any*/], - kind: 'Operation', - name: 'userMembersListPaginationRefetchable', - selections: [ - { - alias: null, - args: v5 /*: any*/, - concreteType: null, - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v8 /*: any*/, - v9 /*: any*/, - { - kind: 'InlineFragment', - selections: [ - { - alias: 'canChangeRole', - args: [ - { - kind: 'Literal', - name: 'perm', - value: 'baseapp_profiles.change_profileuserrole', - }, - ], - kind: 'ScalarField', - name: 'hasPerm', - storageKey: 'hasPerm(perm:"baseapp_profiles.change_profileuserrole")', - }, - v10 /*: any*/, - v11 /*: any*/, - v12 /*: any*/, - { - alias: null, - args: v13 /*: any*/, - concreteType: 'ProfileUserRoleConnection', - kind: 'LinkedField', - name: 'members', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'totalCount', - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'ProfileUserRoleEdge', - kind: 'LinkedField', - name: 'edges', - plural: true, - selections: [ - { - alias: null, - args: null, - concreteType: 'ProfileUserRole', - kind: 'LinkedField', - name: 'node', - plural: false, - selections: [ - v9 /*: any*/, - { - alias: null, - args: null, - concreteType: 'User', - kind: 'LinkedField', - name: 'user', - plural: false, - selections: [ - { - alias: null, - args: null, - concreteType: 'Profile', - kind: 'LinkedField', - name: 'profile', - plural: false, - selections: [ - v9 /*: any*/, - v10 /*: any*/, - v11 /*: any*/, - v12 /*: any*/, - ], - storageKey: null, - }, - v9 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'role', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'status', - storageKey: null, - }, - v8 /*: any*/, - ], - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'cursor', - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: null, - concreteType: 'PageInfo', - kind: 'LinkedField', - name: 'pageInfo', - plural: false, - selections: [ - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'endCursor', - storageKey: null, - }, - { - alias: null, - args: null, - kind: 'ScalarField', - name: 'hasNextPage', - storageKey: null, - }, - ], - storageKey: null, - }, - ], - storageKey: null, - }, - { - alias: null, - args: v13 /*: any*/, - filters: ['orderBy', 'q'], - handle: 'connection', - key: 'UserMembersFragment_members', - kind: 'LinkedHandle', - name: 'members', - }, - ], - type: 'Profile', - abstractKey: null, - }, - ], - storageKey: null, - }, - ], - }, - params: { - cacheID: 'face3a956a429a02eac4e1ebaedda0ff', - id: null, - metadata: {}, - name: 'userMembersListPaginationRefetchable', - operationKind: 'query', - text: 'query userMembersListPaginationRefetchable(\n $count: Int = 10\n $cursor: String\n $orderBy: String\n $q: String\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...UserMembersListFragment_40Ewnb\n id\n }\n}\n\nfragment MemberItemFragment on ProfileUserRole {\n id\n user {\n profile {\n ...ProfileItemFragment\n id\n }\n id\n }\n role\n status\n}\n\nfragment ProfileItemFragment on Profile {\n id\n name\n image(width: 100, height: 100) {\n url\n }\n urlPath {\n path\n id\n }\n}\n\nfragment UserMembersListFragment_40Ewnb on Profile {\n canChangeRole: hasPerm(perm: "baseapp_profiles.change_profileuserrole")\n ...ProfileItemFragment\n members(first: $count, after: $cursor, orderBy: $orderBy, q: $q) {\n totalCount\n edges {\n node {\n ...MemberItemFragment\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n id\n}\n', - }, - } -})() - -;(node as any).hash = '36d39484eb42189ff857dac6fec4b13d' - -export default node diff --git a/packages/components/__mocks__/theme.ts b/packages/components/__mocks__/theme.ts index 5093a3d9..338e75ab 100644 --- a/packages/components/__mocks__/theme.ts +++ b/packages/components/__mocks__/theme.ts @@ -1,19 +1,17 @@ +import { ThemeProviderProps } from '@baseapp-frontend/design-system/providers/web' import { - ThemeProviderProps, breakpoints, createCustomShadows, createPalette, createShadows, - primaryFont, - secondaryFont, typography, -} from '@baseapp-frontend/design-system' +} from '@baseapp-frontend/design-system/styles/web' const defaultTheme: ThemeProviderProps = { palette: createPalette('light'), breakpoints: breakpoints, - primaryFont: primaryFont, - secondaryFont: secondaryFont, + primaryFont: undefined, + secondaryFont: undefined, settings: { themeMode: 'light', themeContrast: 'default', diff --git a/packages/components/__test_utils__/withProviders/index.tsx b/packages/components/__test_utils__/withProviders/index.tsx index 34ab2c8e..e91d06d5 100644 --- a/packages/components/__test_utils__/withProviders/index.tsx +++ b/packages/components/__test_utils__/withProviders/index.tsx @@ -1,6 +1,7 @@ import React, { FC } from 'react' -import { LoadingState, ThemeProvider } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' +import { ThemeProvider } from '@baseapp-frontend/design-system/providers/web' import { RelayTestProvider } from '@baseapp-frontend/graphql' import { NotificationProvider } from '@baseapp-frontend/utils' diff --git a/packages/components/babel.config.js b/packages/components/babel.config.js index 8b7955ae..8c641c1c 100644 --- a/packages/components/babel.config.js +++ b/packages/components/babel.config.js @@ -1,6 +1,6 @@ module.exports = { presets: [ - '@babel/preset-env', + ['@babel/preset-env', { modules: false }], [ '@babel/preset-react', { diff --git a/packages/components/baseapp-frontend-imports.d.ts b/packages/components/baseapp-frontend-imports.d.ts new file mode 100644 index 00000000..759413ee --- /dev/null +++ b/packages/components/baseapp-frontend-imports.d.ts @@ -0,0 +1,54 @@ +/** + * @fileoverview + * This file is a dedicated `.d.ts` declarations file that explicitly imports from + * numerous subpaths within our monorepo packages (e.g. `@baseapp-frontend/components`, + * `@baseapp-frontend/design-system`). + * + * Purpose: + * - Provide the code editor with a “preview” of all available + * subpath imports, even if no file in our workspace has imported them yet. + * - Ensure auto-import suggestions display these subpaths immediately, without + * waiting for an existing import to reveal them. + * + * In other words, we’re “seeding” the TypeScript language service with references + * to many subpaths in our monorepo. By listing them here, we avoid the scenario where + * the editor only autocompletes subpaths that are already imported elsewhere. + */ +// @baseapp-frontend/design-system +import '@baseapp-frontend/design-system/components/common' +import '@baseapp-frontend/design-system/components/native/appbars' +import '@baseapp-frontend/design-system/components/native/buttons' +import '@baseapp-frontend/design-system/components/native/displays' +import '@baseapp-frontend/design-system/components/native/drawers' +import '@baseapp-frontend/design-system/components/native/icons' +import '@baseapp-frontend/design-system/components/native/images' +import '@baseapp-frontend/design-system/components/native/inputs' +import '@baseapp-frontend/design-system/components/native/typographies' +import '@baseapp-frontend/design-system/components/native/views' +import '@baseapp-frontend/design-system/components/web/animate' +import '@baseapp-frontend/design-system/components/web/avatars' +import '@baseapp-frontend/design-system/components/web/buttons' +import '@baseapp-frontend/design-system/components/web/dialogs' +import '@baseapp-frontend/design-system/components/web/displays' +import '@baseapp-frontend/design-system/components/web/drawers' +import '@baseapp-frontend/design-system/components/web/dropzones' +import '@baseapp-frontend/design-system/components/web/icons' +import '@baseapp-frontend/design-system/components/web/illustrations' +import '@baseapp-frontend/design-system/components/web/images' +import '@baseapp-frontend/design-system/components/web/inputs' +import '@baseapp-frontend/design-system/components/web/logos' +import '@baseapp-frontend/design-system/components/web/popovers' +import '@baseapp-frontend/design-system/components/web/scrollbars' +import '@baseapp-frontend/design-system/components/web/typographies' +import '@baseapp-frontend/design-system/hooks/common' +import '@baseapp-frontend/design-system/hooks/native' +import '@baseapp-frontend/design-system/hooks/web' +import '@baseapp-frontend/design-system/providers/common' +import '@baseapp-frontend/design-system/providers/native' +import '@baseapp-frontend/design-system/providers/web' +import '@baseapp-frontend/design-system/styles/common' +import '@baseapp-frontend/design-system/styles/native' +import '@baseapp-frontend/design-system/styles/web' +import '@baseapp-frontend/design-system/utils/common' +import '@baseapp-frontend/design-system/utils/native' +import '@baseapp-frontend/design-system/utils/web' diff --git a/packages/components/index.ts b/packages/components/index.ts deleted file mode 100644 index 0e9f42bb..00000000 --- a/packages/components/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './modules/__shared__' -export * from './modules/comments' -export * from './modules/messages' -export * from './modules/navigations' -export * from './modules/profiles' -export * from './modules/notifications' diff --git a/packages/components/modules/__shared__/ActionsOverlay/constants.ts b/packages/components/modules/__shared__/ActionsOverlay/constants.ts deleted file mode 100644 index ba73fe66..00000000 --- a/packages/components/modules/__shared__/ActionsOverlay/constants.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const HOVER_OVERLAY_MODES = { - DEFAULT: 'default', - THREE_DOTS_MENU: 'three-dots-menu', -} as const diff --git a/packages/components/modules/__shared__/README.md b/packages/components/modules/__shared__/README.md new file mode 100644 index 00000000..656c28d6 --- /dev/null +++ b/packages/components/modules/__shared__/README.md @@ -0,0 +1,15 @@ +# Module: `__shared__` + +This module is divided into three primary folders: + +- **`common/`**: Contains platform-independent logic (utilities, hooks, or components that work in both web and native). + - Can import from within or other `common/` folders. + - Must not import from `web/` or `native/`. +- **`web/`**: Contains web-specific components and logic (e.g., React DOM, browser APIs, Material UI and others). + - Can import from within or `common/`. + - Must not import from `native/`. +- **`native/`**: Contains native-specific components and logic (e.g., React Native, Expo, React Native Paper and others) + - Can import from within or `common/`. + - Must not import from `web/`. + +This structure ensures platform-specific code remains isolated, while shared code lives in one place. diff --git a/packages/components/modules/__shared__/constants.ts b/packages/components/modules/__shared__/common/constants.ts similarity index 100% rename from packages/components/modules/__shared__/constants.ts rename to packages/components/modules/__shared__/common/constants.ts diff --git a/packages/components/modules/__shared__/common/index.ts b/packages/components/modules/__shared__/common/index.ts new file mode 100644 index 00000000..984fce82 --- /dev/null +++ b/packages/components/modules/__shared__/common/index.ts @@ -0,0 +1,4 @@ +// exports common __shared__ code + +export * from './constants' +export type * from './types' diff --git a/packages/components/modules/__shared__/types.ts b/packages/components/modules/__shared__/common/types.ts similarity index 100% rename from packages/components/modules/__shared__/types.ts rename to packages/components/modules/__shared__/common/types.ts diff --git a/packages/components/modules/__shared__/native/index.ts b/packages/components/modules/__shared__/native/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/__shared__/ActionsOverlay/DefaultHoverOverlay/index.tsx b/packages/components/modules/__shared__/web/ActionsOverlay/DefaultHoverOverlay/index.tsx similarity index 87% rename from packages/components/modules/__shared__/ActionsOverlay/DefaultHoverOverlay/index.tsx rename to packages/components/modules/__shared__/web/ActionsOverlay/DefaultHoverOverlay/index.tsx index f64a2c38..067a40e3 100644 --- a/packages/components/modules/__shared__/ActionsOverlay/DefaultHoverOverlay/index.tsx +++ b/packages/components/modules/__shared__/web/ActionsOverlay/DefaultHoverOverlay/index.tsx @@ -1,6 +1,7 @@ import React, { FC } from 'react' -import { IconButton, TrashCanIcon } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { TrashCanIcon } from '@baseapp-frontend/design-system/components/web/icons' import { ActionOverlayTooltipContainer } from '../styled' import { DefaultHoverOverlayProps } from './types' diff --git a/packages/components/modules/__shared__/ActionsOverlay/DefaultHoverOverlay/types.ts b/packages/components/modules/__shared__/web/ActionsOverlay/DefaultHoverOverlay/types.ts similarity index 100% rename from packages/components/modules/__shared__/ActionsOverlay/DefaultHoverOverlay/types.ts rename to packages/components/modules/__shared__/web/ActionsOverlay/DefaultHoverOverlay/types.ts diff --git a/packages/components/modules/__shared__/ActionsOverlay/ThreeDotsMenuHoverOverlay/index.tsx b/packages/components/modules/__shared__/web/ActionsOverlay/ThreeDotsMenuHoverOverlay/index.tsx similarity index 87% rename from packages/components/modules/__shared__/ActionsOverlay/ThreeDotsMenuHoverOverlay/index.tsx rename to packages/components/modules/__shared__/web/ActionsOverlay/ThreeDotsMenuHoverOverlay/index.tsx index 6b48e31a..30055a00 100644 --- a/packages/components/modules/__shared__/ActionsOverlay/ThreeDotsMenuHoverOverlay/index.tsx +++ b/packages/components/modules/__shared__/web/ActionsOverlay/ThreeDotsMenuHoverOverlay/index.tsx @@ -1,6 +1,8 @@ import React, { FC } from 'react' -import { IconButton, Popover, ThreeDotsIcon, TrashCanIcon } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { ThreeDotsIcon, TrashCanIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Popover } from '@baseapp-frontend/design-system/components/web/popovers' import { MenuItem, MenuList, Typography } from '@mui/material' diff --git a/packages/components/modules/__shared__/ActionsOverlay/ThreeDotsMenuHoverOverlay/types.ts b/packages/components/modules/__shared__/web/ActionsOverlay/ThreeDotsMenuHoverOverlay/types.ts similarity index 100% rename from packages/components/modules/__shared__/ActionsOverlay/ThreeDotsMenuHoverOverlay/types.ts rename to packages/components/modules/__shared__/web/ActionsOverlay/ThreeDotsMenuHoverOverlay/types.ts diff --git a/packages/components/modules/__shared__/ActionsOverlay/__storybook__/ActionsOverlay.mdx b/packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/ActionsOverlay.mdx similarity index 99% rename from packages/components/modules/__shared__/ActionsOverlay/__storybook__/ActionsOverlay.mdx rename to packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/ActionsOverlay.mdx index 899122c7..5a5fa808 100644 --- a/packages/components/modules/__shared__/ActionsOverlay/__storybook__/ActionsOverlay.mdx +++ b/packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/ActionsOverlay.mdx @@ -62,3 +62,4 @@ export const DefaultActionsOverlay = ( ) } +``` diff --git a/packages/components/modules/__shared__/ActionsOverlay/__storybook__/ActionsOverlayOnButton/index.tsx b/packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/ActionsOverlayOnButton/index.tsx similarity index 100% rename from packages/components/modules/__shared__/ActionsOverlay/__storybook__/ActionsOverlayOnButton/index.tsx rename to packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/ActionsOverlayOnButton/index.tsx diff --git a/packages/components/modules/__shared__/ActionsOverlay/__storybook__/stories.tsx b/packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/stories.tsx similarity index 94% rename from packages/components/modules/__shared__/ActionsOverlay/__storybook__/stories.tsx rename to packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/stories.tsx index 4e61b79b..1c820747 100644 --- a/packages/components/modules/__shared__/ActionsOverlay/__storybook__/stories.tsx +++ b/packages/components/modules/__shared__/web/ActionsOverlay/__storybook__/stories.tsx @@ -1,4 +1,4 @@ -import { ArchiveIcon, PenEditIcon } from '@baseapp-frontend/design-system' +import { ArchiveIcon, PenEditIcon } from '@baseapp-frontend/design-system/components/web/icons' import type { Meta, StoryObj } from '@storybook/react' @@ -48,7 +48,7 @@ export const ActionsOverlayWithThreeDotsMenu: Story = { ContainerProps: { flexDirection: 'row-reverse', }, - hoverOverlayMode: HOVER_OVERLAY_MODES.THREE_DOTS_MENU, + hoverOverlayMode: HOVER_OVERLAY_MODES.threeDotsMenu, actions: [ { label: 'Edit', diff --git a/packages/components/modules/__shared__/web/ActionsOverlay/constants.ts b/packages/components/modules/__shared__/web/ActionsOverlay/constants.ts new file mode 100644 index 00000000..6df98022 --- /dev/null +++ b/packages/components/modules/__shared__/web/ActionsOverlay/constants.ts @@ -0,0 +1,4 @@ +export const HOVER_OVERLAY_MODES = { + default: 'default', + threeDotsMenu: 'three-dots-menu', +} as const diff --git a/packages/components/modules/__shared__/ActionsOverlay/index.tsx b/packages/components/modules/__shared__/web/ActionsOverlay/index.tsx similarity index 91% rename from packages/components/modules/__shared__/ActionsOverlay/index.tsx rename to packages/components/modules/__shared__/web/ActionsOverlay/index.tsx index ff56b0dc..96d189bb 100644 --- a/packages/components/modules/__shared__/ActionsOverlay/index.tsx +++ b/packages/components/modules/__shared__/web/ActionsOverlay/index.tsx @@ -1,12 +1,10 @@ import { forwardRef, useState } from 'react' -import { - ConfirmDialog, - SwipeableDrawer as DefaultSwipeableDrawer, - IconButton, - TrashCanIcon, - usePopover, -} from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { ConfirmDialog } from '@baseapp-frontend/design-system/components/web/dialogs' +import { SwipeableDrawer as DefaultSwipeableDrawer } from '@baseapp-frontend/design-system/components/web/drawers' +import { TrashCanIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { usePopover } from '@baseapp-frontend/design-system/hooks/common' import { LoadingButton } from '@mui/lab' import { Box, Divider, Typography } from '@mui/material' @@ -32,7 +30,7 @@ const ActionsOverlay = forwardRef( ContainerProps = {}, SwipeableDrawerProps = {}, SwipeableDrawer = DefaultSwipeableDrawer, - hoverOverlayMode = HOVER_OVERLAY_MODES.DEFAULT, + hoverOverlayMode = HOVER_OVERLAY_MODES.default, }, ref, ) => { @@ -186,7 +184,7 @@ const ActionsOverlay = forwardRef( } if (deviceHasHover && isHoveringItem) { - if (hoverOverlayMode === HOVER_OVERLAY_MODES.DEFAULT) { + if (hoverOverlayMode === HOVER_OVERLAY_MODES.default) { return ( ( ) } - if (hoverOverlayMode === HOVER_OVERLAY_MODES.THREE_DOTS_MENU) { + if (hoverOverlayMode === HOVER_OVERLAY_MODES.threeDotsMenu) { return ( ( onMouseLeave={handleClosePopover} position="relative" {...longPressHandlers()} - {...(hoverOverlayMode === HOVER_OVERLAY_MODES.THREE_DOTS_MENU && { + {...(hoverOverlayMode === HOVER_OVERLAY_MODES.threeDotsMenu && { sx: { width: '100%', display: 'flex', diff --git a/packages/components/modules/__shared__/ActionsOverlay/styled.tsx b/packages/components/modules/__shared__/web/ActionsOverlay/styled.tsx similarity index 100% rename from packages/components/modules/__shared__/ActionsOverlay/styled.tsx rename to packages/components/modules/__shared__/web/ActionsOverlay/styled.tsx diff --git a/packages/components/modules/__shared__/ActionsOverlay/types.ts b/packages/components/modules/__shared__/web/ActionsOverlay/types.ts similarity index 96% rename from packages/components/modules/__shared__/ActionsOverlay/types.ts rename to packages/components/modules/__shared__/web/ActionsOverlay/types.ts index 463fc0e6..1c5318af 100644 --- a/packages/components/modules/__shared__/ActionsOverlay/types.ts +++ b/packages/components/modules/__shared__/web/ActionsOverlay/types.ts @@ -1,6 +1,6 @@ import { FC } from 'react' -import type { SwipeableDrawerProps } from '@baseapp-frontend/design-system' +import type { SwipeableDrawerProps } from '@baseapp-frontend/design-system/components/web/drawers' import { ValueOf } from '@baseapp-frontend/utils' import { BoxProps } from '@mui/material' diff --git a/packages/components/modules/__shared__/ReactionButton/__storybook__/ReactionButton.mdx b/packages/components/modules/__shared__/web/ReactionButton/__storybook__/ReactionButton.mdx similarity index 99% rename from packages/components/modules/__shared__/ReactionButton/__storybook__/ReactionButton.mdx rename to packages/components/modules/__shared__/web/ReactionButton/__storybook__/ReactionButton.mdx index 7aa8c9b9..25942039 100644 --- a/packages/components/modules/__shared__/ReactionButton/__storybook__/ReactionButton.mdx +++ b/packages/components/modules/__shared__/web/ReactionButton/__storybook__/ReactionButton.mdx @@ -40,3 +40,4 @@ export const DefaultComments = (target) => ( handleSuccess={() => console.log('Successfully handled reaction')} /> ) +``` diff --git a/packages/components/modules/__shared__/ReactionButton/__storybook__/ReactionButtonWithQuery/index.tsx b/packages/components/modules/__shared__/web/ReactionButton/__storybook__/ReactionButtonWithQuery/index.tsx similarity index 79% rename from packages/components/modules/__shared__/ReactionButton/__storybook__/ReactionButtonWithQuery/index.tsx rename to packages/components/modules/__shared__/web/ReactionButton/__storybook__/ReactionButtonWithQuery/index.tsx index d259c998..65dc2ed0 100644 --- a/packages/components/modules/__shared__/ReactionButton/__storybook__/ReactionButtonWithQuery/index.tsx +++ b/packages/components/modules/__shared__/web/ReactionButton/__storybook__/ReactionButtonWithQuery/index.tsx @@ -1,6 +1,10 @@ import React from 'react' -import { FavoriteIcon, FavoriteSelectedIcon, IconButton } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { + FavoriteIcon, + FavoriteSelectedIcon, +} from '@baseapp-frontend/design-system/components/web/icons' import { Typography } from '@mui/material' import { graphql, useFragment, useLazyLoadQuery } from 'react-relay' @@ -9,10 +13,10 @@ import ReactionButton from '../..' import { CommentItem_comment$data, CommentItem_comment$key, -} from '../../../../../__generated__/CommentItem_comment.graphql' -import { ReactionButtonWithQuery as Query } from '../../../../../__generated__/ReactionButtonWithQuery.graphql' +} from '../../../../../../__generated__/CommentItem_comment.graphql' +import { ReactionButtonWithQuery as Query } from '../../../../../../__generated__/ReactionButtonWithQuery.graphql' // TODO: review this import -import { CommentItemFragmentQuery } from '../../../../comments' +import { CommentItemFragmentQuery } from '../../../../../comments/common' import { ReactionButtonProps } from '../../types' const ReactionButtonWithQuery = (props: ReactionButtonProps) => { diff --git a/packages/components/modules/__shared__/ReactionButton/__storybook__/mockResolvers.ts b/packages/components/modules/__shared__/web/ReactionButton/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/__shared__/ReactionButton/__storybook__/mockResolvers.ts rename to packages/components/modules/__shared__/web/ReactionButton/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/__shared__/ReactionButton/__storybook__/stories.tsx b/packages/components/modules/__shared__/web/ReactionButton/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/__shared__/ReactionButton/__storybook__/stories.tsx rename to packages/components/modules/__shared__/web/ReactionButton/__storybook__/stories.tsx diff --git a/packages/components/modules/__shared__/ReactionButton/index.tsx b/packages/components/modules/__shared__/web/ReactionButton/index.tsx similarity index 93% rename from packages/components/modules/__shared__/ReactionButton/index.tsx rename to packages/components/modules/__shared__/web/ReactionButton/index.tsx index baff4eea..34e22317 100644 --- a/packages/components/modules/__shared__/ReactionButton/index.tsx +++ b/packages/components/modules/__shared__/web/ReactionButton/index.tsx @@ -2,7 +2,7 @@ import { FC } from 'react' import { graphql, useFragment, useMutation } from 'react-relay' -import { ReactionButtonMutation } from '../../../__generated__/ReactionButtonMutation.graphql' +import { ReactionButtonMutation } from '../../../../__generated__/ReactionButtonMutation.graphql' import { ReactionButtonProps } from './types' const fragmentQuery = graphql` diff --git a/packages/components/modules/__shared__/ReactionButton/types.ts b/packages/components/modules/__shared__/web/ReactionButton/types.ts similarity index 74% rename from packages/components/modules/__shared__/ReactionButton/types.ts rename to packages/components/modules/__shared__/web/ReactionButton/types.ts index fdd006c7..41f7d0f6 100644 --- a/packages/components/modules/__shared__/ReactionButton/types.ts +++ b/packages/components/modules/__shared__/web/ReactionButton/types.ts @@ -1,10 +1,10 @@ import { ReactElement } from 'react' -import { ReactionTypes } from '../../../__generated__/ReactionButtonMutation.graphql' +import { ReactionTypes } from '../../../../__generated__/ReactionButtonMutation.graphql' import { ReactionButton_target$data, ReactionButton_target$key, -} from '../../../__generated__/ReactionButton_target.graphql' +} from '../../../../__generated__/ReactionButton_target.graphql' type ReactionButtonChildren = (props: { handleReaction: () => void diff --git a/packages/components/modules/__shared__/SearchNotFoundState/index.tsx b/packages/components/modules/__shared__/web/SearchNotFoundState/index.tsx similarity index 86% rename from packages/components/modules/__shared__/SearchNotFoundState/index.tsx rename to packages/components/modules/__shared__/web/SearchNotFoundState/index.tsx index 974cb046..43a9b85c 100644 --- a/packages/components/modules/__shared__/SearchNotFoundState/index.tsx +++ b/packages/components/modules/__shared__/web/SearchNotFoundState/index.tsx @@ -1,4 +1,4 @@ -import { SearchingImage } from '@baseapp-frontend/design-system' +import { SearchingImage } from '@baseapp-frontend/design-system/components/web/illustrations' import { Box, Typography } from '@mui/material' diff --git a/packages/components/modules/__shared__/SocialInput/SubmitActions/index.tsx b/packages/components/modules/__shared__/web/SocialInput/SubmitActions/index.tsx similarity index 69% rename from packages/components/modules/__shared__/SocialInput/SubmitActions/index.tsx rename to packages/components/modules/__shared__/web/SocialInput/SubmitActions/index.tsx index 8c646728..c326782d 100644 --- a/packages/components/modules/__shared__/SocialInput/SubmitActions/index.tsx +++ b/packages/components/modules/__shared__/web/SocialInput/SubmitActions/index.tsx @@ -1,9 +1,7 @@ import React, { FC } from 'react' -import { - SendMessageIcon as DefaultSendMessageIcon, - IconButton, -} from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { SendMessageIcon as DefaultSendMessageIcon } from '@baseapp-frontend/design-system/components/web/icons' import { SubmitActionsProps } from './types' diff --git a/packages/components/modules/__shared__/SocialInput/SubmitActions/types.ts b/packages/components/modules/__shared__/web/SocialInput/SubmitActions/types.ts similarity index 100% rename from packages/components/modules/__shared__/SocialInput/SubmitActions/types.ts rename to packages/components/modules/__shared__/web/SocialInput/SubmitActions/types.ts diff --git a/packages/components/modules/__shared__/SocialInput/__storybook__/SocialInput.mdx b/packages/components/modules/__shared__/web/SocialInput/__storybook__/SocialInput.mdx similarity index 97% rename from packages/components/modules/__shared__/SocialInput/__storybook__/SocialInput.mdx rename to packages/components/modules/__shared__/web/SocialInput/__storybook__/SocialInput.mdx index 34d5ea1b..e8fa255d 100644 --- a/packages/components/modules/__shared__/SocialInput/__storybook__/SocialInput.mdx +++ b/packages/components/modules/__shared__/web/SocialInput/__storybook__/SocialInput.mdx @@ -41,7 +41,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { SocialInput } from '@baseapp-frontend/design-system' +import { SocialInput } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const useForm = () => ({ @@ -67,4 +67,4 @@ const MyComponent = () => { ) } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/__shared__/SocialInput/__storybook__/SocialInputWithForm/index.tsx b/packages/components/modules/__shared__/web/SocialInput/__storybook__/SocialInputWithForm/index.tsx similarity index 89% rename from packages/components/modules/__shared__/SocialInput/__storybook__/SocialInputWithForm/index.tsx rename to packages/components/modules/__shared__/web/SocialInput/__storybook__/SocialInputWithForm/index.tsx index c95470b4..9a082be1 100644 --- a/packages/components/modules/__shared__/SocialInput/__storybook__/SocialInputWithForm/index.tsx +++ b/packages/components/modules/__shared__/web/SocialInput/__storybook__/SocialInputWithForm/index.tsx @@ -5,8 +5,8 @@ import SocialInput from '../..' import { DEFAULT_SOCIAL_UPSERT_FORM_VALUES, SOCIAL_UPSERT_FORM_VALIDATION_SCHEMA, -} from '../../../constants' -import { SocialUpsertForm } from '../../../types' + SocialUpsertForm, +} from '../../../../common' import { SocialInputProps } from '../../types' const SocialInputWithForm = (props: SocialInputProps) => { diff --git a/packages/components/modules/__shared__/SocialInput/__storybook__/stories.tsx b/packages/components/modules/__shared__/web/SocialInput/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/__shared__/SocialInput/__storybook__/stories.tsx rename to packages/components/modules/__shared__/web/SocialInput/__storybook__/stories.tsx diff --git a/packages/components/modules/__shared__/SocialInput/index.tsx b/packages/components/modules/__shared__/web/SocialInput/index.tsx similarity index 97% rename from packages/components/modules/__shared__/SocialInput/index.tsx rename to packages/components/modules/__shared__/web/SocialInput/index.tsx index f74a3f26..1502368f 100644 --- a/packages/components/modules/__shared__/SocialInput/index.tsx +++ b/packages/components/modules/__shared__/web/SocialInput/index.tsx @@ -2,10 +2,10 @@ import { KeyboardEventHandler, forwardRef } from 'react' -import { SocialTextField as DefaultSocialTextField } from '@baseapp-frontend/design-system' +import { SocialTextField as DefaultSocialTextField } from '@baseapp-frontend/design-system/components/web/inputs' +import { SOCIAL_UPSERT_FORM } from '../../common' import DefaultSocialUpsertActions from '../SocialUpsertActions' -import { SOCIAL_UPSERT_FORM } from '../constants' import DefaultSubmitActions from './SubmitActions' import { Form } from './styled' import { SocialInputProps } from './types' diff --git a/packages/components/modules/__shared__/SocialInput/styled.tsx b/packages/components/modules/__shared__/web/SocialInput/styled.tsx similarity index 100% rename from packages/components/modules/__shared__/SocialInput/styled.tsx rename to packages/components/modules/__shared__/web/SocialInput/styled.tsx diff --git a/packages/components/modules/__shared__/SocialInput/types.ts b/packages/components/modules/__shared__/web/SocialInput/types.ts similarity index 90% rename from packages/components/modules/__shared__/SocialInput/types.ts rename to packages/components/modules/__shared__/web/SocialInput/types.ts index 666a952e..78ac9f9b 100644 --- a/packages/components/modules/__shared__/SocialInput/types.ts +++ b/packages/components/modules/__shared__/web/SocialInput/types.ts @@ -1,10 +1,10 @@ import { FC } from 'react' -import { SocialTextFieldProps } from '@baseapp-frontend/design-system' +import { SocialTextFieldProps } from '@baseapp-frontend/design-system/components/web/inputs' import { UseFormReturn } from 'react-hook-form' -import { SocialUpsertForm } from '../types' +import { SocialUpsertForm } from '../../common' import { SubmitActionsProps } from './SubmitActions/types' export interface SocialInputProps { diff --git a/packages/components/modules/__shared__/SocialUpsertActions/__storybook__/SocialUpsertActions.mdx b/packages/components/modules/__shared__/web/SocialUpsertActions/__storybook__/SocialUpsertActions.mdx similarity index 99% rename from packages/components/modules/__shared__/SocialUpsertActions/__storybook__/SocialUpsertActions.mdx rename to packages/components/modules/__shared__/web/SocialUpsertActions/__storybook__/SocialUpsertActions.mdx index e1ab0e24..03495dda 100644 --- a/packages/components/modules/__shared__/SocialUpsertActions/__storybook__/SocialUpsertActions.mdx +++ b/packages/components/modules/__shared__/web/SocialUpsertActions/__storybook__/SocialUpsertActions.mdx @@ -33,10 +33,10 @@ Currently, this component does not accept any props as it renders a fixed set of ## Example Usage ```javascript -import { SocialUpsertActions } from '@baseapp-frontend/design-system' +import { SocialUpsertActions } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/__shared__/SocialUpsertActions/__storybook__/stories.tsx b/packages/components/modules/__shared__/web/SocialUpsertActions/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/__shared__/SocialUpsertActions/__storybook__/stories.tsx rename to packages/components/modules/__shared__/web/SocialUpsertActions/__storybook__/stories.tsx diff --git a/packages/components/modules/__shared__/SocialUpsertActions/index.tsx b/packages/components/modules/__shared__/web/SocialUpsertActions/index.tsx similarity index 62% rename from packages/components/modules/__shared__/SocialUpsertActions/index.tsx rename to packages/components/modules/__shared__/web/SocialUpsertActions/index.tsx index 1e41f819..733269c2 100644 --- a/packages/components/modules/__shared__/SocialUpsertActions/index.tsx +++ b/packages/components/modules/__shared__/web/SocialUpsertActions/index.tsx @@ -1,6 +1,7 @@ import React from 'react' -import { AttachmentIcon, IconButton, MentionIcon } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { AttachmentIcon, MentionIcon } from '@baseapp-frontend/design-system/components/web/icons' const SocialUpsertActions = () => (
diff --git a/packages/components/modules/__shared__/Timestamp/__storybook__/Timestamp.mdx b/packages/components/modules/__shared__/web/Timestamp/__storybook__/Timestamp.mdx similarity index 95% rename from packages/components/modules/__shared__/Timestamp/__storybook__/Timestamp.mdx rename to packages/components/modules/__shared__/web/Timestamp/__storybook__/Timestamp.mdx index 04d63508..e185372c 100644 --- a/packages/components/modules/__shared__/Timestamp/__storybook__/Timestamp.mdx +++ b/packages/components/modules/__shared__/web/Timestamp/__storybook__/Timestamp.mdx @@ -28,10 +28,10 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { Timestamp } from '@baseapp-frontend/design-system' +import { Timestamp } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/__shared__/Timestamp/__storybook__/stories.tsx b/packages/components/modules/__shared__/web/Timestamp/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/__shared__/Timestamp/__storybook__/stories.tsx rename to packages/components/modules/__shared__/web/Timestamp/__storybook__/stories.tsx diff --git a/packages/components/modules/__shared__/Timestamp/index.tsx b/packages/components/modules/__shared__/web/Timestamp/index.tsx similarity index 100% rename from packages/components/modules/__shared__/Timestamp/index.tsx rename to packages/components/modules/__shared__/web/Timestamp/index.tsx diff --git a/packages/components/modules/__shared__/Timestamp/types.ts b/packages/components/modules/__shared__/web/Timestamp/types.ts similarity index 100% rename from packages/components/modules/__shared__/Timestamp/types.ts rename to packages/components/modules/__shared__/web/Timestamp/types.ts diff --git a/packages/components/modules/__shared__/UpdateSubmitActions/index.tsx b/packages/components/modules/__shared__/web/UpdateSubmitActions/index.tsx similarity index 78% rename from packages/components/modules/__shared__/UpdateSubmitActions/index.tsx rename to packages/components/modules/__shared__/web/UpdateSubmitActions/index.tsx index 0c955a07..a7a7268b 100644 --- a/packages/components/modules/__shared__/UpdateSubmitActions/index.tsx +++ b/packages/components/modules/__shared__/web/UpdateSubmitActions/index.tsx @@ -1,6 +1,7 @@ import React, { FC } from 'react' -import { CheckMarkIcon, CloseIcon, IconButton } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { CheckMarkIcon, CloseIcon } from '@baseapp-frontend/design-system/components/web/icons' import { UpdateSubmitActionsProps } from './types' diff --git a/packages/components/modules/__shared__/UpdateSubmitActions/types.ts b/packages/components/modules/__shared__/web/UpdateSubmitActions/types.ts similarity index 100% rename from packages/components/modules/__shared__/UpdateSubmitActions/types.ts rename to packages/components/modules/__shared__/web/UpdateSubmitActions/types.ts diff --git a/packages/components/modules/__shared__/index.ts b/packages/components/modules/__shared__/web/index.ts similarity index 65% rename from packages/components/modules/__shared__/index.ts rename to packages/components/modules/__shared__/web/index.ts index 0a3f45fa..386b7df0 100644 --- a/packages/components/modules/__shared__/index.ts +++ b/packages/components/modules/__shared__/web/index.ts @@ -1,10 +1,18 @@ +// exports web __shared__ components + +export { default as ActionsOverlay } from './ActionsOverlay' +export * from './ActionsOverlay/constants' +export type * from './ActionsOverlay/types' + +export { default as ReactionButton } from './ReactionButton' +export type * from './ReactionButton/types' + export { default as SocialInput } from './SocialInput' export type * from './SocialInput/types' export { default as SocialUpsertActions } from './SocialUpsertActions' -export { default as ReactionButton } from './ReactionButton' -export type * from './ReactionButton/types' +export { default as SearchNotFoundState } from './SearchNotFoundState' export { default as Timestamp } from './Timestamp' export type * from './Timestamp/types' diff --git a/packages/components/modules/activity-log/README.md b/packages/components/modules/activity-log/README.md new file mode 100644 index 00000000..9449b59a --- /dev/null +++ b/packages/components/modules/activity-log/README.md @@ -0,0 +1,15 @@ +# Module: `activity-log` + +This module is divided into three primary folders: + +- **`common/`**: Contains platform-independent logic (utilities, hooks, or components that work in both web and native). + - Can import from within or other `common/` folders. + - Imports from `web/` or `native/` are not allowed. +- **`web/`**: Contains web-specific components and logic (e.g., React DOM, browser APIs, Material UI and others). + - Can import from within or `common/`. + - Must not import from `native/`. +- **`native/`**: Contains native-specific components and logic (e.g., React Native, Expo, React Native Paper and others) + - Can import from within or `common/`. + - Must not import from `web/`. + +This separation ensures platform-specific code remains isolated, while shared code lives in one place. diff --git a/packages/components/modules/activity-log/graphql/queries/ActivityLogs.ts b/packages/components/modules/activity-log/common/graphql/queries/ActivityLogs.ts similarity index 100% rename from packages/components/modules/activity-log/graphql/queries/ActivityLogs.ts rename to packages/components/modules/activity-log/common/graphql/queries/ActivityLogs.ts diff --git a/packages/components/modules/activity-log/graphql/queries/ActivityLogsFragment.ts b/packages/components/modules/activity-log/common/graphql/queries/ActivityLogsFragment.ts similarity index 89% rename from packages/components/modules/activity-log/graphql/queries/ActivityLogsFragment.ts rename to packages/components/modules/activity-log/common/graphql/queries/ActivityLogsFragment.ts index f0c7d70d..3703a992 100644 --- a/packages/components/modules/activity-log/graphql/queries/ActivityLogsFragment.ts +++ b/packages/components/modules/activity-log/common/graphql/queries/ActivityLogsFragment.ts @@ -2,9 +2,9 @@ import { useMemo } from 'react' import { graphql, usePaginationFragment } from 'react-relay' -import { ActivityLogsFragment$key } from '../../../../__generated__/ActivityLogsFragment.graphql' -import { ActivityLogsPaginationQuery } from '../../../../__generated__/ActivityLogsPaginationQuery.graphql' -import { LogGroup } from '../../ActivityLogComponent/LogGroups/types' +import { ActivityLogsFragment$key } from '../../../../../__generated__/ActivityLogsFragment.graphql' +import { ActivityLogsPaginationQuery } from '../../../../../__generated__/ActivityLogsPaginationQuery.graphql' +import { LogGroup } from '../../types' export const ActivityLogsFragmentQuery = graphql` fragment ActivityLogsFragment on Query diff --git a/packages/components/modules/activity-log/common/index.ts b/packages/components/modules/activity-log/common/index.ts new file mode 100644 index 00000000..9ca71f14 --- /dev/null +++ b/packages/components/modules/activity-log/common/index.ts @@ -0,0 +1,5 @@ +// exports common activity-log code + +export * from './graphql/queries/ActivityLogs' +export * from './graphql/queries/ActivityLogsFragment' +export type * from './types' diff --git a/packages/components/modules/activity-log/types.ts b/packages/components/modules/activity-log/common/types.ts similarity index 53% rename from packages/components/modules/activity-log/types.ts rename to packages/components/modules/activity-log/common/types.ts index d1af87a4..76c05001 100644 --- a/packages/components/modules/activity-log/types.ts +++ b/packages/components/modules/activity-log/common/types.ts @@ -1,5 +1,10 @@ -import { ActivityLogsFragment$data } from '../../__generated__/ActivityLogsFragment.graphql' +import { ActivityLogsFragment$data } from '../../../__generated__/ActivityLogsFragment.graphql' export type ActivityLogs = NonNullable export type ActivityLogEdges = ActivityLogs['edges'] export type ActivityLogNode = NonNullable['node'] + +export interface LogGroup { + lastActivityTimestamp: string + logs: ActivityLogNode[] +} diff --git a/packages/components/modules/activity-log/native/index.ts b/packages/components/modules/activity-log/native/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/activity-log/ActivityLogComponent/EventFilterChip/index.tsx b/packages/components/modules/activity-log/web/ActivityLogComponent/EventFilterChip/index.tsx similarity index 100% rename from packages/components/modules/activity-log/ActivityLogComponent/EventFilterChip/index.tsx rename to packages/components/modules/activity-log/web/ActivityLogComponent/EventFilterChip/index.tsx diff --git a/packages/components/modules/activity-log/ActivityLogComponent/EventFilterChip/types.ts b/packages/components/modules/activity-log/web/ActivityLogComponent/EventFilterChip/types.ts similarity index 100% rename from packages/components/modules/activity-log/ActivityLogComponent/EventFilterChip/types.ts rename to packages/components/modules/activity-log/web/ActivityLogComponent/EventFilterChip/types.ts diff --git a/packages/components/modules/activity-log/ActivityLogComponent/LogGroups/index.tsx b/packages/components/modules/activity-log/web/ActivityLogComponent/LogGroups/index.tsx similarity index 93% rename from packages/components/modules/activity-log/ActivityLogComponent/LogGroups/index.tsx rename to packages/components/modules/activity-log/web/ActivityLogComponent/LogGroups/index.tsx index 75c2a9e9..f180cd92 100644 --- a/packages/components/modules/activity-log/ActivityLogComponent/LogGroups/index.tsx +++ b/packages/components/modules/activity-log/web/ActivityLogComponent/LogGroups/index.tsx @@ -3,10 +3,10 @@ import { FC } from 'react' import { Avatar, Box, CircularProgress, Typography } from '@mui/material' import { Virtuoso } from 'react-virtuoso' -import { Timestamp } from '../../../__shared__' -import { ActivityLogNode } from '../../types' +import { Timestamp } from '../../../../__shared__/web' +import { ActivityLogNode, LogGroup } from '../../../common' import LogItem from '../LogItem' -import { LogGroup, LogGroupsProps } from './types' +import { LogGroupsProps } from './types' const LogGroups: FC = ({ logGroups, diff --git a/packages/components/modules/activity-log/ActivityLogComponent/LogGroups/types.ts b/packages/components/modules/activity-log/web/ActivityLogComponent/LogGroups/types.ts similarity index 74% rename from packages/components/modules/activity-log/ActivityLogComponent/LogGroups/types.ts rename to packages/components/modules/activity-log/web/ActivityLogComponent/LogGroups/types.ts index 42e45e20..6652995c 100644 --- a/packages/components/modules/activity-log/ActivityLogComponent/LogGroups/types.ts +++ b/packages/components/modules/activity-log/web/ActivityLogComponent/LogGroups/types.ts @@ -4,12 +4,7 @@ import { LoadMoreFn } from 'react-relay' import { VirtuosoProps } from 'react-virtuoso' import { OperationType } from 'relay-runtime' -import { ActivityLogNode } from '../../types' - -export interface LogGroup { - lastActivityTimestamp: string - logs: ActivityLogNode[] -} +import { LogGroup } from '../../../common' export interface LogGroupsProps { logGroups: LogGroup[] diff --git a/packages/components/modules/activity-log/ActivityLogComponent/LogItem/index.tsx b/packages/components/modules/activity-log/web/ActivityLogComponent/LogItem/index.tsx similarity index 100% rename from packages/components/modules/activity-log/ActivityLogComponent/LogItem/index.tsx rename to packages/components/modules/activity-log/web/ActivityLogComponent/LogItem/index.tsx diff --git a/packages/components/modules/activity-log/ActivityLogComponent/LogItem/types.ts b/packages/components/modules/activity-log/web/ActivityLogComponent/LogItem/types.ts similarity index 71% rename from packages/components/modules/activity-log/ActivityLogComponent/LogItem/types.ts rename to packages/components/modules/activity-log/web/ActivityLogComponent/LogItem/types.ts index 79e9360c..5451e5e4 100644 --- a/packages/components/modules/activity-log/ActivityLogComponent/LogItem/types.ts +++ b/packages/components/modules/activity-log/web/ActivityLogComponent/LogItem/types.ts @@ -1,6 +1,6 @@ import { SxProps, Theme } from '@mui/system' -import { ActivityLogNode } from '../../types' +import { ActivityLogNode } from '../../../common' export interface LogItemProps { log: ActivityLogNode diff --git a/packages/components/modules/activity-log/ActivityLogComponent/constants.ts b/packages/components/modules/activity-log/web/ActivityLogComponent/constants.ts similarity index 100% rename from packages/components/modules/activity-log/ActivityLogComponent/constants.ts rename to packages/components/modules/activity-log/web/ActivityLogComponent/constants.ts diff --git a/packages/components/modules/activity-log/ActivityLogComponent/index.tsx b/packages/components/modules/activity-log/web/ActivityLogComponent/index.tsx similarity index 88% rename from packages/components/modules/activity-log/ActivityLogComponent/index.tsx rename to packages/components/modules/activity-log/web/ActivityLogComponent/index.tsx index 611537c2..a25356b6 100644 --- a/packages/components/modules/activity-log/ActivityLogComponent/index.tsx +++ b/packages/components/modules/activity-log/web/ActivityLogComponent/index.tsx @@ -1,15 +1,14 @@ 'use client' -import { FC, useState, useTransition } from 'react' -import type { ChangeEvent } from 'react' +import { type ChangeEvent, type FC, useState, useTransition } from 'react' -import { Searchbar } from '@baseapp-frontend/design-system' +import { Searchbar } from '@baseapp-frontend/design-system/components/web/inputs' import { Box, Typography } from '@mui/material' import { useForm } from 'react-hook-form' -import SearchNotFoundState from '../../__shared__/SearchNotFoundState' -import { useActivityLogs } from '../graphql/queries/ActivityLogsFragment' +import { SearchNotFoundState } from '../../../__shared__/web' +import { useActivityLogs } from '../../common' import EventFilterChip from './EventFilterChip' import DefaultLogGroups from './LogGroups' import { ActivityLogComponentProps, EventFilterOption } from './types' diff --git a/packages/components/modules/activity-log/ActivityLogComponent/types.ts b/packages/components/modules/activity-log/web/ActivityLogComponent/types.ts similarity index 76% rename from packages/components/modules/activity-log/ActivityLogComponent/types.ts rename to packages/components/modules/activity-log/web/ActivityLogComponent/types.ts index 25a85e63..f5491c3f 100644 --- a/packages/components/modules/activity-log/ActivityLogComponent/types.ts +++ b/packages/components/modules/activity-log/web/ActivityLogComponent/types.ts @@ -1,6 +1,6 @@ import { FC } from 'react' -import { ActivityLogsPaginationQuery$data } from '../../../__generated__/ActivityLogsPaginationQuery.graphql' +import { ActivityLogsPaginationQuery$data } from '../../../../__generated__/ActivityLogsPaginationQuery.graphql' import { LogGroupsProps } from './LogGroups/types' import { EVENT_FILTER_OPTIONS } from './constants' diff --git a/packages/components/modules/activity-log/index.ts b/packages/components/modules/activity-log/web/index.ts similarity index 83% rename from packages/components/modules/activity-log/index.ts rename to packages/components/modules/activity-log/web/index.ts index d053519b..5bfb7fa2 100644 --- a/packages/components/modules/activity-log/index.ts +++ b/packages/components/modules/activity-log/web/index.ts @@ -1,3 +1,5 @@ +// exports web activity-log components + export { default as ActivityLogComponent } from './ActivityLogComponent' export type * from './ActivityLogComponent/types' @@ -9,6 +11,3 @@ export type * from './ActivityLogComponent/LogGroups/types' export { default as LogItem } from './ActivityLogComponent/LogItem' export type * from './ActivityLogComponent/LogItem/types' - -export * from './graphql/queries/ActivityLogs' -export * from './graphql/queries/ActivityLogsFragment' diff --git a/packages/components/modules/comments/CommentItem/CommentReactionButton/types.ts b/packages/components/modules/comments/CommentItem/CommentReactionButton/types.ts deleted file mode 100644 index 0438fc03..00000000 --- a/packages/components/modules/comments/CommentItem/CommentReactionButton/types.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { ReactionButton_target$key } from '../../../../__generated__/ReactionButton_target.graphql' - -export interface CommentReactionButtonProps { - target: ReactionButton_target$key -} diff --git a/packages/components/modules/comments/CommentUpdate/types.ts b/packages/components/modules/comments/CommentUpdate/types.ts deleted file mode 100644 index b1d0a605..00000000 --- a/packages/components/modules/comments/CommentUpdate/types.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { FC } from 'react' - -import { CommentItem_comment$data } from '../../../__generated__/CommentItem_comment.graphql' -import { type SocialInputProps } from '../../__shared__/SocialInput/types' - -export interface CommentUpdateProps { - comment: CommentItem_comment$data - onCancel: () => void - SocialInput?: FC - SocialInputProps?: Partial -} diff --git a/packages/components/modules/comments/README.md b/packages/components/modules/comments/README.md new file mode 100644 index 00000000..dc048a45 --- /dev/null +++ b/packages/components/modules/comments/README.md @@ -0,0 +1,15 @@ +# Module: `comments` + +This module is divided into three primary folders: + +- **`common/`**: Contains platform-independent logic (utilities, hooks, or components that work in both web and native). + - Can import from within or other `common/` folders. + - Must not import from `web/` or `native/`. +- **`web/`**: Contains web-specific components and logic (e.g., React DOM, browser APIs, Material UI and others). + - Can import from within or `common/`. + - Must not import from `native/`. +- **`native/`**: Contains native-specific components and logic (e.g., React Native, Expo, React Native Paper and others) + - Can import from within or `common/`. + - Must not import from `web/`. + +This structure ensures platform-specific code remains isolated, while shared code lives in one place. diff --git a/packages/components/modules/comments/constants.ts b/packages/components/modules/comments/common/constants.ts similarity index 100% rename from packages/components/modules/comments/constants.ts rename to packages/components/modules/comments/common/constants.ts diff --git a/packages/components/modules/comments/context/CommentReplyProvider/constants.ts b/packages/components/modules/comments/common/context/CommentReplyProvider/constants.ts similarity index 100% rename from packages/components/modules/comments/context/CommentReplyProvider/constants.ts rename to packages/components/modules/comments/common/context/CommentReplyProvider/constants.ts diff --git a/packages/components/modules/comments/context/CommentReplyProvider/index.tsx b/packages/components/modules/comments/common/context/CommentReplyProvider/index.tsx similarity index 100% rename from packages/components/modules/comments/context/CommentReplyProvider/index.tsx rename to packages/components/modules/comments/common/context/CommentReplyProvider/index.tsx diff --git a/packages/components/modules/comments/context/CommentReplyProvider/types.ts b/packages/components/modules/comments/common/context/CommentReplyProvider/types.ts similarity index 100% rename from packages/components/modules/comments/context/CommentReplyProvider/types.ts rename to packages/components/modules/comments/common/context/CommentReplyProvider/types.ts diff --git a/packages/components/modules/comments/context/useCommentReply/index.tsx b/packages/components/modules/comments/common/context/useCommentReply/index.tsx similarity index 100% rename from packages/components/modules/comments/context/useCommentReply/index.tsx rename to packages/components/modules/comments/common/context/useCommentReply/index.tsx diff --git a/packages/components/modules/comments/context/withCommentReplyProvider/index.tsx b/packages/components/modules/comments/common/context/withCommentReplyProvider/index.tsx similarity index 100% rename from packages/components/modules/comments/context/withCommentReplyProvider/index.tsx rename to packages/components/modules/comments/common/context/withCommentReplyProvider/index.tsx diff --git a/packages/components/modules/comments/graphql/mutations/CommentCreate.ts b/packages/components/modules/comments/common/graphql/mutations/CommentCreate.ts similarity index 94% rename from packages/components/modules/comments/graphql/mutations/CommentCreate.ts rename to packages/components/modules/comments/common/graphql/mutations/CommentCreate.ts index c1d0f02b..a454a137 100644 --- a/packages/components/modules/comments/graphql/mutations/CommentCreate.ts +++ b/packages/components/modules/comments/common/graphql/mutations/CommentCreate.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { CommentCreateMutation } from '../../../../__generated__/CommentCreateMutation.graphql' +import { CommentCreateMutation } from '../../../../../__generated__/CommentCreateMutation.graphql' export const CommentCreateMutationQuery = graphql` mutation CommentCreateMutation($input: CommentCreateInput!, $connections: [ID!]!) { diff --git a/packages/components/modules/comments/graphql/mutations/CommentDelete.ts b/packages/components/modules/comments/common/graphql/mutations/CommentDelete.ts similarity index 87% rename from packages/components/modules/comments/graphql/mutations/CommentDelete.ts rename to packages/components/modules/comments/common/graphql/mutations/CommentDelete.ts index 074c7e51..5e9ae190 100644 --- a/packages/components/modules/comments/graphql/mutations/CommentDelete.ts +++ b/packages/components/modules/comments/common/graphql/mutations/CommentDelete.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { CommentDeleteMutation } from '../../../../__generated__/CommentDeleteMutation.graphql' +import { CommentDeleteMutation } from '../../../../../__generated__/CommentDeleteMutation.graphql' export const CommentDeleteMutationQuery = graphql` mutation CommentDeleteMutation($id: ID!) { @@ -28,7 +28,7 @@ export const CommentDeleteMutationQuery = graphql` } ` -const useCommentDeleteMutation = (): [ +export const useCommentDeleteMutation = (): [ (config: UseMutationConfig) => Disposable, boolean, ] => { @@ -54,5 +54,3 @@ const useCommentDeleteMutation = (): [ return [commit, isMutationInFlight] } - -export default useCommentDeleteMutation diff --git a/packages/components/modules/comments/graphql/mutations/CommentPin.ts b/packages/components/modules/comments/common/graphql/mutations/CommentPin.ts similarity index 86% rename from packages/components/modules/comments/graphql/mutations/CommentPin.ts rename to packages/components/modules/comments/common/graphql/mutations/CommentPin.ts index e9997117..07db5947 100644 --- a/packages/components/modules/comments/graphql/mutations/CommentPin.ts +++ b/packages/components/modules/comments/common/graphql/mutations/CommentPin.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { CommentPinMutation } from '../../../../__generated__/CommentPinMutation.graphql' +import { CommentPinMutation } from '../../../../../__generated__/CommentPinMutation.graphql' export const CommentPinMutationQuery = graphql` mutation CommentPinMutation($id: ID!) { @@ -15,7 +15,7 @@ export const CommentPinMutationQuery = graphql` } ` -const useCommentPinMutation = (): [ +export const useCommentPinMutation = (): [ (config: UseMutationConfig) => Disposable, boolean, ] => { @@ -40,5 +40,3 @@ const useCommentPinMutation = (): [ return [commit, isMutationInFlight] } - -export default useCommentPinMutation diff --git a/packages/components/modules/comments/graphql/mutations/CommentUpdate.ts b/packages/components/modules/comments/common/graphql/mutations/CommentUpdate.ts similarity index 92% rename from packages/components/modules/comments/graphql/mutations/CommentUpdate.ts rename to packages/components/modules/comments/common/graphql/mutations/CommentUpdate.ts index 2391d2b5..57ba3bdc 100644 --- a/packages/components/modules/comments/graphql/mutations/CommentUpdate.ts +++ b/packages/components/modules/comments/common/graphql/mutations/CommentUpdate.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { CommentUpdateMutation } from '../../../../__generated__/CommentUpdateMutation.graphql' +import { CommentUpdateMutation } from '../../../../../__generated__/CommentUpdateMutation.graphql' export const CommentUpdateMutationQuery = graphql` mutation CommentUpdateMutation($input: CommentUpdateInput!) { diff --git a/packages/components/modules/comments/graphql/queries/CommentItem.ts b/packages/components/modules/comments/common/graphql/queries/CommentItem.ts similarity index 100% rename from packages/components/modules/comments/graphql/queries/CommentItem.ts rename to packages/components/modules/comments/common/graphql/queries/CommentItem.ts diff --git a/packages/components/modules/comments/graphql/queries/Comments.ts b/packages/components/modules/comments/common/graphql/queries/Comments.ts similarity index 100% rename from packages/components/modules/comments/graphql/queries/Comments.ts rename to packages/components/modules/comments/common/graphql/queries/Comments.ts diff --git a/packages/components/modules/comments/graphql/queries/CommentsList.ts b/packages/components/modules/comments/common/graphql/queries/CommentsList.ts similarity index 82% rename from packages/components/modules/comments/graphql/queries/CommentsList.ts rename to packages/components/modules/comments/common/graphql/queries/CommentsList.ts index f333ba9d..886e5b64 100644 --- a/packages/components/modules/comments/graphql/queries/CommentsList.ts +++ b/packages/components/modules/comments/common/graphql/queries/CommentsList.ts @@ -1,7 +1,7 @@ import { graphql, usePaginationFragment } from 'react-relay' -import { CommentsListPaginationQuery } from '../../../../__generated__/CommentsListPaginationQuery.graphql' -import { CommentsList_comments$key } from '../../../../__generated__/CommentsList_comments.graphql' +import { CommentsListPaginationQuery } from '../../../../../__generated__/CommentsListPaginationQuery.graphql' +import { CommentsList_comments$key } from '../../../../../__generated__/CommentsList_comments.graphql' export const CommentsListFragmentQuery = graphql` fragment CommentsList_comments on CommentsInterface diff --git a/packages/components/modules/comments/graphql/subscriptions/CommentsSubscription.tsx b/packages/components/modules/comments/common/graphql/subscriptions/CommentsSubscription.tsx similarity index 91% rename from packages/components/modules/comments/graphql/subscriptions/CommentsSubscription.tsx rename to packages/components/modules/comments/common/graphql/subscriptions/CommentsSubscription.tsx index 2f0fa4ae..b643e80b 100644 --- a/packages/components/modules/comments/graphql/subscriptions/CommentsSubscription.tsx +++ b/packages/components/modules/comments/common/graphql/subscriptions/CommentsSubscription.tsx @@ -45,9 +45,7 @@ export const useCommentChangeSubscription = (targetObjectId?: string) => { return useSubscription(config) } -const CommentsSubscription = ({ targetObjectId }: { targetObjectId?: string }) => { +export const CommentsSubscription = ({ targetObjectId }: { targetObjectId?: string }) => { useCommentChangeSubscription(targetObjectId) return null } - -export default CommentsSubscription diff --git a/packages/components/modules/comments/common/index.ts b/packages/components/modules/comments/common/index.ts new file mode 100644 index 00000000..0c2b61e4 --- /dev/null +++ b/packages/components/modules/comments/common/index.ts @@ -0,0 +1,19 @@ +// exports common comments code + +export { default as CommentReplyProvider } from './context/CommentReplyProvider' +export * from './context/CommentReplyProvider/types' +export { default as useCommentReply } from './context/useCommentReply' +export { default as withCommentReplyProvider } from './context/withCommentReplyProvider' + +export * from './constants' + +export * from './graphql/mutations/CommentCreate' +export * from './graphql/mutations/CommentDelete' +export * from './graphql/mutations/CommentPin' +export * from './graphql/mutations/CommentUpdate' + +export * from './graphql/queries/Comments' +export * from './graphql/queries/CommentItem' +export * from './graphql/queries/CommentsList' + +export * from './graphql/subscriptions/CommentsSubscription' diff --git a/packages/components/modules/comments/context/index.ts b/packages/components/modules/comments/context/index.ts deleted file mode 100644 index 52d6b477..00000000 --- a/packages/components/modules/comments/context/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export { default as CommentReplyProvider } from './CommentReplyProvider' -export * from './CommentReplyProvider/types' - -export { default as useCommentReply } from './useCommentReply' - -export { default as withCommentReplyProvider } from './withCommentReplyProvider' diff --git a/packages/components/modules/comments/native/.keep b/packages/components/modules/comments/native/.keep new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/comments/native/index.ts b/packages/components/modules/comments/native/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/comments/CommentCreate/__storybook__/CommentCreate.mdx b/packages/components/modules/comments/web/CommentCreate/__storybook__/CommentCreate.mdx similarity index 95% rename from packages/components/modules/comments/CommentCreate/__storybook__/CommentCreate.mdx rename to packages/components/modules/comments/web/CommentCreate/__storybook__/CommentCreate.mdx index 18352400..a2725e3f 100644 --- a/packages/components/modules/comments/CommentCreate/__storybook__/CommentCreate.mdx +++ b/packages/components/modules/comments/web/CommentCreate/__storybook__/CommentCreate.mdx @@ -34,7 +34,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { CommentCreate } from '@baseapp-frontend/design-system' +import { CommentCreate } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const handleSubmit = (comment) => { @@ -43,4 +43,4 @@ const MyComponent = () => { return } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/comments/CommentCreate/__storybook__/CommentCreateWithProvider/index.tsx b/packages/components/modules/comments/web/CommentCreate/__storybook__/CommentCreateWithProvider/index.tsx similarity index 80% rename from packages/components/modules/comments/CommentCreate/__storybook__/CommentCreateWithProvider/index.tsx rename to packages/components/modules/comments/web/CommentCreate/__storybook__/CommentCreateWithProvider/index.tsx index 87cacdec..fa67294b 100644 --- a/packages/components/modules/comments/CommentCreate/__storybook__/CommentCreateWithProvider/index.tsx +++ b/packages/components/modules/comments/web/CommentCreate/__storybook__/CommentCreateWithProvider/index.tsx @@ -1,7 +1,7 @@ import React from 'react' import CommentCreate from '../..' -import CommentReplyProvider from '../../../context/CommentReplyProvider' +import { CommentReplyProvider } from '../../../../common' import { CommentCreateProps } from '../../types' const CommentCreateWithProvider = (props: CommentCreateProps) => ( diff --git a/packages/components/modules/comments/CommentCreate/__storybook__/stories.tsx b/packages/components/modules/comments/web/CommentCreate/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/comments/CommentCreate/__storybook__/stories.tsx rename to packages/components/modules/comments/web/CommentCreate/__storybook__/stories.tsx diff --git a/packages/components/modules/comments/CommentCreate/index.tsx b/packages/components/modules/comments/web/CommentCreate/index.tsx similarity index 94% rename from packages/components/modules/comments/CommentCreate/index.tsx rename to packages/components/modules/comments/web/CommentCreate/index.tsx index 1569f035..ea8b5d0a 100644 --- a/packages/components/modules/comments/CommentCreate/index.tsx +++ b/packages/components/modules/comments/web/CommentCreate/index.tsx @@ -9,14 +9,13 @@ import { zodResolver } from '@hookform/resolvers/zod' import { useForm } from 'react-hook-form' import { ConnectionHandler } from 'react-relay' -import DefaultSocialInput from '../../__shared__/SocialInput' import { DEFAULT_SOCIAL_UPSERT_FORM_VALUES, SOCIAL_UPSERT_FORM_VALIDATION_SCHEMA, -} from '../../__shared__/constants' -import { SocialUpsertForm } from '../../__shared__/types' -import { useCommentReply } from '../context' -import { useCommentCreateMutation } from '../graphql/mutations/CommentCreate' + SocialUpsertForm, +} from '../../../__shared__/common' +import { SocialInput as DefaultSocialInput } from '../../../__shared__/web' +import { useCommentCreateMutation, useCommentReply } from '../../common' import { CommentCreateProps } from './types' let nextClientMutationId = 0 diff --git a/packages/components/modules/comments/CommentCreate/types.ts b/packages/components/modules/comments/web/CommentCreate/types.ts similarity index 73% rename from packages/components/modules/comments/CommentCreate/types.ts rename to packages/components/modules/comments/web/CommentCreate/types.ts index 27167394..a8cd870c 100644 --- a/packages/components/modules/comments/CommentCreate/types.ts +++ b/packages/components/modules/comments/web/CommentCreate/types.ts @@ -1,6 +1,6 @@ import { FC } from 'react' -import type { SocialInputProps } from '../../__shared__/SocialInput/types' +import type { SocialInputProps } from '../../../__shared__/web' export interface CommentCreateProps { targetObjectId: string diff --git a/packages/components/modules/comments/CommentItem/CommentPinnedBadge/index.tsx b/packages/components/modules/comments/web/CommentItem/CommentPinnedBadge/index.tsx similarity index 85% rename from packages/components/modules/comments/CommentItem/CommentPinnedBadge/index.tsx rename to packages/components/modules/comments/web/CommentItem/CommentPinnedBadge/index.tsx index 3b6b3595..6b68cd80 100644 --- a/packages/components/modules/comments/CommentItem/CommentPinnedBadge/index.tsx +++ b/packages/components/modules/comments/web/CommentItem/CommentPinnedBadge/index.tsx @@ -1,6 +1,6 @@ import { FC } from 'react' -import { PinIcon } from '@baseapp-frontend/design-system' +import { PinIcon } from '@baseapp-frontend/design-system/components/web/icons' import { Typography } from '@mui/material' diff --git a/packages/components/modules/comments/CommentItem/CommentPinnedBadge/types.ts b/packages/components/modules/comments/web/CommentItem/CommentPinnedBadge/types.ts similarity index 100% rename from packages/components/modules/comments/CommentItem/CommentPinnedBadge/types.ts rename to packages/components/modules/comments/web/CommentItem/CommentPinnedBadge/types.ts diff --git a/packages/components/modules/comments/CommentItem/CommentReactionButton/index.tsx b/packages/components/modules/comments/web/CommentItem/CommentReactionButton/index.tsx similarity index 80% rename from packages/components/modules/comments/CommentItem/CommentReactionButton/index.tsx rename to packages/components/modules/comments/web/CommentItem/CommentReactionButton/index.tsx index e8e317a6..aba9f754 100644 --- a/packages/components/modules/comments/CommentItem/CommentReactionButton/index.tsx +++ b/packages/components/modules/comments/web/CommentItem/CommentReactionButton/index.tsx @@ -1,10 +1,14 @@ import { FC } from 'react' -import { FavoriteIcon, FavoriteSelectedIcon, IconButton } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { + FavoriteIcon, + FavoriteSelectedIcon, +} from '@baseapp-frontend/design-system/components/web/icons' import { Typography } from '@mui/material' -import ReactionButton from '../../../__shared__/ReactionButton' +import { ReactionButton } from '../../../../__shared__/web' import { CommentReactionButtonProps } from './types' const CommentReactionButton: FC = ({ target: targetRef }) => ( diff --git a/packages/components/modules/comments/web/CommentItem/CommentReactionButton/types.ts b/packages/components/modules/comments/web/CommentItem/CommentReactionButton/types.ts new file mode 100644 index 00000000..8ca834f7 --- /dev/null +++ b/packages/components/modules/comments/web/CommentItem/CommentReactionButton/types.ts @@ -0,0 +1,5 @@ +import type { ReactionButton_target$key } from '../../../../../__generated__/ReactionButton_target.graphql' + +export interface CommentReactionButtonProps { + target: ReactionButton_target$key +} diff --git a/packages/components/modules/comments/CommentItem/CommentReplyButton/index.tsx b/packages/components/modules/comments/web/CommentItem/CommentReplyButton/index.tsx similarity index 80% rename from packages/components/modules/comments/CommentItem/CommentReplyButton/index.tsx rename to packages/components/modules/comments/web/CommentItem/CommentReplyButton/index.tsx index b1fb0efc..09939e19 100644 --- a/packages/components/modules/comments/CommentItem/CommentReplyButton/index.tsx +++ b/packages/components/modules/comments/web/CommentItem/CommentReplyButton/index.tsx @@ -1,6 +1,7 @@ import { FC } from 'react' -import { CommentReplyIcon, IconButton } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { CommentReplyIcon } from '@baseapp-frontend/design-system/components/web/icons' import { Typography } from '@mui/material' diff --git a/packages/components/modules/comments/CommentItem/CommentReplyButton/types.ts b/packages/components/modules/comments/web/CommentItem/CommentReplyButton/types.ts similarity index 100% rename from packages/components/modules/comments/CommentItem/CommentReplyButton/types.ts rename to packages/components/modules/comments/web/CommentItem/CommentReplyButton/types.ts diff --git a/packages/components/modules/comments/CommentItem/CommentsReplies/index.tsx b/packages/components/modules/comments/web/CommentItem/CommentsReplies/index.tsx similarity index 91% rename from packages/components/modules/comments/CommentItem/CommentsReplies/index.tsx rename to packages/components/modules/comments/web/CommentItem/CommentsReplies/index.tsx index 4a8a8f6a..b5bf4f5a 100644 --- a/packages/components/modules/comments/CommentItem/CommentsReplies/index.tsx +++ b/packages/components/modules/comments/web/CommentItem/CommentsReplies/index.tsx @@ -3,9 +3,11 @@ import { FC, useMemo, useTransition } from 'react' import { Box } from '@mui/material' import { Virtuoso } from 'react-virtuoso' -import { NUMBER_OF_COMMENTS_TO_LOAD_NEXT } from '../../constants' -import { useCommentList } from '../../graphql/queries/CommentsList' -import CommentsSubscription from '../../graphql/subscriptions/CommentsSubscription' +import { + CommentsSubscription, + NUMBER_OF_COMMENTS_TO_LOAD_NEXT, + useCommentList, +} from '../../../common' import { LoadMoreRepliesButton } from './styled' import { CommentsRepliesProps } from './types' diff --git a/packages/components/modules/comments/CommentItem/CommentsReplies/styled.tsx b/packages/components/modules/comments/web/CommentItem/CommentsReplies/styled.tsx similarity index 100% rename from packages/components/modules/comments/CommentItem/CommentsReplies/styled.tsx rename to packages/components/modules/comments/web/CommentItem/CommentsReplies/styled.tsx diff --git a/packages/components/modules/comments/CommentItem/CommentsReplies/types.ts b/packages/components/modules/comments/web/CommentItem/CommentsReplies/types.ts similarity index 79% rename from packages/components/modules/comments/CommentItem/CommentsReplies/types.ts rename to packages/components/modules/comments/web/CommentItem/CommentsReplies/types.ts index 2ad25b17..45d9bcf1 100644 --- a/packages/components/modules/comments/CommentItem/CommentsReplies/types.ts +++ b/packages/components/modules/comments/web/CommentItem/CommentsReplies/types.ts @@ -2,7 +2,7 @@ import type { FC } from 'react' import type { VirtuosoProps } from 'react-virtuoso' -import { CommentsList_comments$key } from '../../../../__generated__/CommentsList_comments.graphql' +import { CommentsList_comments$key } from '../../../../../__generated__/CommentsList_comments.graphql' import type { CommentItemProps } from '../types' export interface CommentsRepliesProps { diff --git a/packages/components/modules/comments/CommentItem/__storybook__/CommentItem.mdx b/packages/components/modules/comments/web/CommentItem/__storybook__/CommentItem.mdx similarity index 97% rename from packages/components/modules/comments/CommentItem/__storybook__/CommentItem.mdx rename to packages/components/modules/comments/web/CommentItem/__storybook__/CommentItem.mdx index d3b7dc45..af2bdd8f 100644 --- a/packages/components/modules/comments/CommentItem/__storybook__/CommentItem.mdx +++ b/packages/components/modules/comments/web/CommentItem/__storybook__/CommentItem.mdx @@ -47,7 +47,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { CommentItem } from '@baseapp-frontend/design-system' +import { CommentItem } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const comment = { @@ -81,4 +81,4 @@ const MyComponent = () => { ) } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/comments/CommentItem/__storybook__/CommentItemWithQuery/index.tsx b/packages/components/modules/comments/web/CommentItem/__storybook__/CommentItemWithQuery/index.tsx similarity index 70% rename from packages/components/modules/comments/CommentItem/__storybook__/CommentItemWithQuery/index.tsx rename to packages/components/modules/comments/web/CommentItem/__storybook__/CommentItemWithQuery/index.tsx index 5c1158f4..78751d5d 100644 --- a/packages/components/modules/comments/CommentItem/__storybook__/CommentItemWithQuery/index.tsx +++ b/packages/components/modules/comments/web/CommentItem/__storybook__/CommentItemWithQuery/index.tsx @@ -1,9 +1,9 @@ import { graphql, useLazyLoadQuery } from 'react-relay' import CommentItem from '../..' -import { CommentItemWithQuery as Query } from '../../../../../__generated__/CommentItemWithQuery.graphql' -import { CommentItem_comment$key } from '../../../../../__generated__/CommentItem_comment.graphql' -import CommentReplyProvider from '../../../context/CommentReplyProvider' +import { CommentItemWithQuery as Query } from '../../../../../../__generated__/CommentItemWithQuery.graphql' +import { CommentItem_comment$key } from '../../../../../../__generated__/CommentItem_comment.graphql' +import { CommentReplyProvider } from '../../../../common' import { CommentItemProps } from '../../types' const CommentItemWithQuery = (props: CommentItemProps) => { diff --git a/packages/components/modules/comments/CommentItem/__storybook__/mockResolvers.ts b/packages/components/modules/comments/web/CommentItem/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/comments/CommentItem/__storybook__/mockResolvers.ts rename to packages/components/modules/comments/web/CommentItem/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/comments/CommentItem/__storybook__/stories.tsx b/packages/components/modules/comments/web/CommentItem/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/comments/CommentItem/__storybook__/stories.tsx rename to packages/components/modules/comments/web/CommentItem/__storybook__/stories.tsx diff --git a/packages/components/modules/comments/CommentItem/index.tsx b/packages/components/modules/comments/web/CommentItem/index.tsx similarity index 91% rename from packages/components/modules/comments/CommentItem/index.tsx rename to packages/components/modules/comments/web/CommentItem/index.tsx index e2dd51d0..c9a0bfcf 100644 --- a/packages/components/modules/comments/CommentItem/index.tsx +++ b/packages/components/modules/comments/web/CommentItem/index.tsx @@ -2,19 +2,16 @@ import { FC, useRef, useState, useTransition } from 'react' -import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' import { Typography } from '@mui/material' import { useRefetchableFragment } from 'react-relay' -import { CommentItemRefetchQuery } from '../../../__generated__/CommentItemRefetchQuery.graphql' -import { CommentItem_comment$key } from '../../../__generated__/CommentItem_comment.graphql' -import ActionsOverlay from '../../__shared__/ActionsOverlay' -import DefaultTimestamp from '../../__shared__/Timestamp' +import { CommentItemRefetchQuery } from '../../../../__generated__/CommentItemRefetchQuery.graphql' +import { CommentItem_comment$key } from '../../../../__generated__/CommentItem_comment.graphql' +import { ActionsOverlay, Timestamp as DefaultTimestamp } from '../../../__shared__/web' +import { CommentItemFragmentQuery, useCommentDeleteMutation, useCommentReply } from '../../common' import DefaultCommentUpdate from '../CommentUpdate' -import { useCommentReply } from '../context' -import useCommentDeleteMutation from '../graphql/mutations/CommentDelete' -import { CommentItemFragmentQuery } from '../graphql/queries/CommentItem' import DefaultCommentPinnedBadge from './CommentPinnedBadge' import DefaultCommentReactionButton from './CommentReactionButton' import DefaultCommentReplyButton from './CommentReplyButton' diff --git a/packages/components/modules/comments/CommentItem/styled.tsx b/packages/components/modules/comments/web/CommentItem/styled.tsx similarity index 100% rename from packages/components/modules/comments/CommentItem/styled.tsx rename to packages/components/modules/comments/web/CommentItem/styled.tsx diff --git a/packages/components/modules/comments/CommentItem/types.ts b/packages/components/modules/comments/web/CommentItem/types.ts similarity index 74% rename from packages/components/modules/comments/CommentItem/types.ts rename to packages/components/modules/comments/web/CommentItem/types.ts index 6f03c1b2..1a45e54b 100644 --- a/packages/components/modules/comments/CommentItem/types.ts +++ b/packages/components/modules/comments/web/CommentItem/types.ts @@ -2,10 +2,9 @@ import type { FC } from 'react' import type { BoxProps } from '@mui/material' -import { CommentItem_comment$key } from '../../../__generated__/CommentItem_comment.graphql' -import { CommentItem_target$key } from '../../../__generated__/CommentItem_target.graphql' -import { ActionOverlayProps } from '../../__shared__/ActionsOverlay/types' -import type { TimestampProps } from '../../__shared__/Timestamp/types' +import type { CommentItem_comment$key } from '../../../../__generated__/CommentItem_comment.graphql' +import type { CommentItem_target$key } from '../../../../__generated__/CommentItem_target.graphql' +import type { ActionOverlayProps, TimestampProps } from '../../../__shared__/web' import type { CommentUpdateProps } from '../CommentUpdate/types' import type { CommentPinnedBadgeProps } from './CommentPinnedBadge/types' import type { CommentReactionButtonProps } from './CommentReactionButton/types' @@ -40,8 +39,3 @@ export interface CommentItemProps { export interface CommentContainerWrapperProps extends BoxProps { currentThreadDepth: number } - -export type LongPressHandler = { - isLongPressingComment: boolean - shouldOpenCommentOptions: boolean -} diff --git a/packages/components/modules/comments/CommentItem/useCommentOptions/index.tsx b/packages/components/modules/comments/web/CommentItem/useCommentOptions/index.tsx similarity index 82% rename from packages/components/modules/comments/CommentItem/useCommentOptions/index.tsx rename to packages/components/modules/comments/web/CommentItem/useCommentOptions/index.tsx index a108b30a..fa2358e2 100644 --- a/packages/components/modules/comments/CommentItem/useCommentOptions/index.tsx +++ b/packages/components/modules/comments/web/CommentItem/useCommentOptions/index.tsx @@ -1,7 +1,11 @@ -import { LinkIcon, PenEditIcon, PinIcon } from '@baseapp-frontend/design-system' +import { + LinkIcon, + PenEditIcon, + PinIcon, +} from '@baseapp-frontend/design-system/components/web/icons' -import { OverlayAction } from '../../../__shared__/ActionsOverlay/types' -import useCommentPinMutation from '../../graphql/mutations/CommentPin' +import { OverlayAction } from '../../../../__shared__/web' +import { useCommentPinMutation } from '../../../common' import { UseCommentOptionsParams } from './types' const useCommentOptions = ({ comment, onEdit }: UseCommentOptionsParams): OverlayAction[] => { diff --git a/packages/components/modules/comments/CommentItem/useCommentOptions/types.ts b/packages/components/modules/comments/web/CommentItem/useCommentOptions/types.ts similarity index 50% rename from packages/components/modules/comments/CommentItem/useCommentOptions/types.ts rename to packages/components/modules/comments/web/CommentItem/useCommentOptions/types.ts index f39645ca..916cb25a 100644 --- a/packages/components/modules/comments/CommentItem/useCommentOptions/types.ts +++ b/packages/components/modules/comments/web/CommentItem/useCommentOptions/types.ts @@ -1,4 +1,4 @@ -import { CommentItem_comment$data } from '../../../../__generated__/CommentItem_comment.graphql' +import { CommentItem_comment$data } from '../../../../../__generated__/CommentItem_comment.graphql' export interface UseCommentOptionsParams { comment?: CommentItem_comment$data diff --git a/packages/components/modules/comments/CommentUpdate/__storybook__/CommentUpdate.mdx b/packages/components/modules/comments/web/CommentUpdate/__storybook__/CommentUpdate.mdx similarity index 95% rename from packages/components/modules/comments/CommentUpdate/__storybook__/CommentUpdate.mdx rename to packages/components/modules/comments/web/CommentUpdate/__storybook__/CommentUpdate.mdx index 2da44287..e5aa7509 100644 --- a/packages/components/modules/comments/CommentUpdate/__storybook__/CommentUpdate.mdx +++ b/packages/components/modules/comments/web/CommentUpdate/__storybook__/CommentUpdate.mdx @@ -31,7 +31,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { CommentUpdate } from '@baseapp-frontend/design-system' +import { CommentUpdate } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const comment = { diff --git a/packages/components/modules/comments/CommentUpdate/__storybook__/CommentsUpdateWithQuery/index.tsx b/packages/components/modules/comments/web/CommentUpdate/__storybook__/CommentsUpdateWithQuery/index.tsx similarity index 76% rename from packages/components/modules/comments/CommentUpdate/__storybook__/CommentsUpdateWithQuery/index.tsx rename to packages/components/modules/comments/web/CommentUpdate/__storybook__/CommentsUpdateWithQuery/index.tsx index a03799b7..1ff4870d 100644 --- a/packages/components/modules/comments/CommentUpdate/__storybook__/CommentsUpdateWithQuery/index.tsx +++ b/packages/components/modules/comments/web/CommentUpdate/__storybook__/CommentsUpdateWithQuery/index.tsx @@ -6,10 +6,9 @@ import CommentUpdate from '../..' import { CommentItem_comment$data, CommentItem_comment$key, -} from '../../../../../__generated__/CommentItem_comment.graphql' -import { CommentsUpdateWithQuery as Query } from '../../../../../__generated__/CommentsUpdateWithQuery.graphql' -import CommentReplyProvider from '../../../context/CommentReplyProvider' -import { CommentItemFragmentQuery } from '../../../graphql/queries/CommentItem' +} from '../../../../../../__generated__/CommentItem_comment.graphql' +import { CommentsUpdateWithQuery as Query } from '../../../../../../__generated__/CommentsUpdateWithQuery.graphql' +import { CommentItemFragmentQuery, CommentReplyProvider } from '../../../../common' import { CommentUpdateProps } from '../../types' const CommentsUpdateWithQuery = (props: CommentUpdateProps) => { diff --git a/packages/components/modules/comments/CommentUpdate/__storybook__/mockResolvers.ts b/packages/components/modules/comments/web/CommentUpdate/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/comments/CommentUpdate/__storybook__/mockResolvers.ts rename to packages/components/modules/comments/web/CommentUpdate/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/comments/CommentUpdate/__storybook__/stories.tsx b/packages/components/modules/comments/web/CommentUpdate/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/comments/CommentUpdate/__storybook__/stories.tsx rename to packages/components/modules/comments/web/CommentUpdate/__storybook__/stories.tsx diff --git a/packages/components/modules/comments/CommentUpdate/index.tsx b/packages/components/modules/comments/web/CommentUpdate/index.tsx similarity index 92% rename from packages/components/modules/comments/CommentUpdate/index.tsx rename to packages/components/modules/comments/web/CommentUpdate/index.tsx index 4b213984..a71fde2d 100644 --- a/packages/components/modules/comments/CommentUpdate/index.tsx +++ b/packages/components/modules/comments/web/CommentUpdate/index.tsx @@ -7,14 +7,13 @@ import { setFormRelayErrors } from '@baseapp-frontend/utils' import { zodResolver } from '@hookform/resolvers/zod' import { useForm } from 'react-hook-form' -import DefaultSocialInput from '../../__shared__/SocialInput' -import UpdateSubmitActions from '../../__shared__/UpdateSubmitActions' import { SOCIAL_UPSERT_FORM, SOCIAL_UPSERT_FORM_VALIDATION_SCHEMA, -} from '../../__shared__/constants' -import { SocialUpsertForm } from '../../__shared__/types' -import { useCommentUpdateMutation } from '../graphql/mutations/CommentUpdate' + SocialUpsertForm, +} from '../../../__shared__/common' +import { SocialInput as DefaultSocialInput, UpdateSubmitActions } from '../../../__shared__/web' +import { useCommentUpdateMutation } from '../../common' import { CommentUpdateProps } from './types' /** diff --git a/packages/components/modules/comments/web/CommentUpdate/types.ts b/packages/components/modules/comments/web/CommentUpdate/types.ts new file mode 100644 index 00000000..74d9b797 --- /dev/null +++ b/packages/components/modules/comments/web/CommentUpdate/types.ts @@ -0,0 +1,11 @@ +import { type FC } from 'react' + +import type { CommentItem_comment$data } from '../../../../__generated__/CommentItem_comment.graphql' +import type { SocialInputProps } from '../../../__shared__/web' + +export interface CommentUpdateProps { + comment: CommentItem_comment$data + onCancel: () => void + SocialInput?: FC + SocialInputProps?: Partial +} diff --git a/packages/components/modules/comments/Comments/__storybook__/Comments.mdx b/packages/components/modules/comments/web/Comments/__storybook__/Comments.mdx similarity index 97% rename from packages/components/modules/comments/Comments/__storybook__/Comments.mdx rename to packages/components/modules/comments/web/Comments/__storybook__/Comments.mdx index 058d4496..966c9444 100644 --- a/packages/components/modules/comments/Comments/__storybook__/Comments.mdx +++ b/packages/components/modules/comments/web/Comments/__storybook__/Comments.mdx @@ -39,7 +39,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { Comments } from '@baseapp-frontend/design-system' +import { Comments } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const targetRef = useRef(null) @@ -55,4 +55,4 @@ const MyComponent = () => { ) } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/comments/Comments/__storybook__/CommentsWithQuery/index.tsx b/packages/components/modules/comments/web/Comments/__storybook__/CommentsWithQuery/index.tsx similarity index 64% rename from packages/components/modules/comments/Comments/__storybook__/CommentsWithQuery/index.tsx rename to packages/components/modules/comments/web/Comments/__storybook__/CommentsWithQuery/index.tsx index 325fd58f..a524ade8 100644 --- a/packages/components/modules/comments/Comments/__storybook__/CommentsWithQuery/index.tsx +++ b/packages/components/modules/comments/web/Comments/__storybook__/CommentsWithQuery/index.tsx @@ -1,9 +1,9 @@ import { graphql, useLazyLoadQuery } from 'react-relay' import Comments from '../..' -import { CommentsFragment$key } from '../../../../../__generated__/CommentsFragment.graphql' -import { CommentsWithQuery as Query } from '../../../../../__generated__/CommentsWithQuery.graphql' -import { CommentsProps } from '../../types' +import type { CommentsFragment$key } from '../../../../../../__generated__/CommentsFragment.graphql' +import type { CommentsWithQuery as Query } from '../../../../../../__generated__/CommentsWithQuery.graphql' +import type { CommentsProps } from '../../types' const CommentsWithQuery = (props: CommentsProps) => { const data = useLazyLoadQuery( diff --git a/packages/components/modules/comments/Comments/__storybook__/mockResolvers.ts b/packages/components/modules/comments/web/Comments/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/comments/Comments/__storybook__/mockResolvers.ts rename to packages/components/modules/comments/web/Comments/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/comments/Comments/__storybook__/stories.tsx b/packages/components/modules/comments/web/Comments/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/comments/Comments/__storybook__/stories.tsx rename to packages/components/modules/comments/web/Comments/__storybook__/stories.tsx diff --git a/packages/components/modules/comments/Comments/__tests__/Comments.cy.tsx b/packages/components/modules/comments/web/Comments/__tests__/Comments.cy.tsx similarity index 100% rename from packages/components/modules/comments/Comments/__tests__/Comments.cy.tsx rename to packages/components/modules/comments/web/Comments/__tests__/Comments.cy.tsx diff --git a/packages/components/modules/comments/Comments/__tests__/__mocks__/requests.ts b/packages/components/modules/comments/web/Comments/__tests__/__mocks__/requests.ts similarity index 100% rename from packages/components/modules/comments/Comments/__tests__/__mocks__/requests.ts rename to packages/components/modules/comments/web/Comments/__tests__/__mocks__/requests.ts diff --git a/packages/components/modules/comments/Comments/__tests__/__mocks__/resolvers.ts b/packages/components/modules/comments/web/Comments/__tests__/__mocks__/resolvers.ts similarity index 100% rename from packages/components/modules/comments/Comments/__tests__/__mocks__/resolvers.ts rename to packages/components/modules/comments/web/Comments/__tests__/__mocks__/resolvers.ts diff --git a/packages/components/modules/comments/Comments/__tests__/__utils__/CommentsForTesting/index.tsx b/packages/components/modules/comments/web/Comments/__tests__/__utils__/CommentsForTesting/index.tsx similarity index 68% rename from packages/components/modules/comments/Comments/__tests__/__utils__/CommentsForTesting/index.tsx rename to packages/components/modules/comments/web/Comments/__tests__/__utils__/CommentsForTesting/index.tsx index 394ec0e7..e6f3d5c5 100644 --- a/packages/components/modules/comments/Comments/__tests__/__utils__/CommentsForTesting/index.tsx +++ b/packages/components/modules/comments/web/Comments/__tests__/__utils__/CommentsForTesting/index.tsx @@ -1,8 +1,8 @@ import { graphql, useLazyLoadQuery } from 'react-relay' -import { CommentsForTestingQuery } from '../../../../../../__generated__/CommentsForTestingQuery.graphql' -import { CommentsFragment$key } from '../../../../../../__generated__/CommentsFragment.graphql' -import withProviders from '../../../../../../__test_utils__/withProviders' +import { CommentsForTestingQuery } from '../../../../../../../__generated__/CommentsForTestingQuery.graphql' +import { CommentsFragment$key } from '../../../../../../../__generated__/CommentsFragment.graphql' +import withProviders from '../../../../../../../__test_utils__/withProviders' import Comments from '../../../index' import { CommentsProps } from '../../../types' diff --git a/packages/components/modules/comments/Comments/index.tsx b/packages/components/modules/comments/web/Comments/index.tsx similarity index 91% rename from packages/components/modules/comments/Comments/index.tsx rename to packages/components/modules/comments/web/Comments/index.tsx index 2d13c587..442cc7dd 100644 --- a/packages/components/modules/comments/Comments/index.tsx +++ b/packages/components/modules/comments/web/Comments/index.tsx @@ -2,10 +2,9 @@ import { FC, useEffect, useRef } from 'react' import { useFragment } from 'react-relay' +import { CommentsFragmentQuery, useCommentReply, withCommentReplyProvider } from '../../common' import DefaultCommentCreate from '../CommentCreate' import DefaultCommentsList from '../CommentsList' -import { useCommentReply, withCommentReplyProvider } from '../context' -import { CommentsFragmentQuery } from '../graphql/queries/Comments' import { CommentsProps } from './types' const Comments: FC = ({ diff --git a/packages/components/modules/comments/Comments/types.ts b/packages/components/modules/comments/web/Comments/types.ts similarity index 62% rename from packages/components/modules/comments/Comments/types.ts rename to packages/components/modules/comments/web/Comments/types.ts index b16c6bb7..e95c5835 100644 --- a/packages/components/modules/comments/Comments/types.ts +++ b/packages/components/modules/comments/web/Comments/types.ts @@ -1,8 +1,8 @@ import { FC } from 'react' -import { CommentsFragment$key } from '../../../__generated__/CommentsFragment.graphql' -import { CommentCreateProps } from '../CommentCreate/types' -import { CommentsListProps } from '../CommentsList/types' +import type { CommentsFragment$key } from '../../../../__generated__/CommentsFragment.graphql' +import type { CommentCreateProps } from '../CommentCreate/types' +import type { CommentsListProps } from '../CommentsList/types' export interface CommentsProps { target: CommentsFragment$key diff --git a/packages/components/modules/comments/CommentsList/__storybook__/CommentsList.mdx b/packages/components/modules/comments/web/CommentsList/__storybook__/CommentsList.mdx similarity index 96% rename from packages/components/modules/comments/CommentsList/__storybook__/CommentsList.mdx rename to packages/components/modules/comments/web/CommentsList/__storybook__/CommentsList.mdx index fbcbc022..b8ef5a29 100644 --- a/packages/components/modules/comments/CommentsList/__storybook__/CommentsList.mdx +++ b/packages/components/modules/comments/web/CommentsList/__storybook__/CommentsList.mdx @@ -39,7 +39,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { CommentsList } from '@baseapp-frontend/design-system' +import { CommentsList } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const targetRef = useRef(null) @@ -49,4 +49,4 @@ const MyComponent = () => { return } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/comments/CommentsList/__storybook__/CommentsListWithQuery/index.tsx b/packages/components/modules/comments/web/CommentsList/__storybook__/CommentsListWithQuery/index.tsx similarity index 70% rename from packages/components/modules/comments/CommentsList/__storybook__/CommentsListWithQuery/index.tsx rename to packages/components/modules/comments/web/CommentsList/__storybook__/CommentsListWithQuery/index.tsx index 694c63a1..a0dd8029 100644 --- a/packages/components/modules/comments/CommentsList/__storybook__/CommentsListWithQuery/index.tsx +++ b/packages/components/modules/comments/web/CommentsList/__storybook__/CommentsListWithQuery/index.tsx @@ -1,9 +1,9 @@ import { graphql, useLazyLoadQuery } from 'react-relay' import CommentsList from '../..' -import { CommentsListWithQuery as Query } from '../../../../../__generated__/CommentsListWithQuery.graphql' -import { CommentsList_comments$key } from '../../../../../__generated__/CommentsList_comments.graphql' -import CommentReplyProvider from '../../../context/CommentReplyProvider' +import { CommentsListWithQuery as Query } from '../../../../../../__generated__/CommentsListWithQuery.graphql' +import { CommentsList_comments$key } from '../../../../../../__generated__/CommentsList_comments.graphql' +import { CommentReplyProvider } from '../../../../common' import { CommentsListProps } from '../../types' const CommentsListWithQuery = (props: CommentsListProps) => { diff --git a/packages/components/modules/comments/CommentsList/__storybook__/mockResolvers.ts b/packages/components/modules/comments/web/CommentsList/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/comments/CommentsList/__storybook__/mockResolvers.ts rename to packages/components/modules/comments/web/CommentsList/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/comments/CommentsList/__storybook__/stories.tsx b/packages/components/modules/comments/web/CommentsList/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/comments/CommentsList/__storybook__/stories.tsx rename to packages/components/modules/comments/web/CommentsList/__storybook__/stories.tsx diff --git a/packages/components/modules/comments/CommentsList/index.tsx b/packages/components/modules/comments/web/CommentsList/index.tsx similarity index 87% rename from packages/components/modules/comments/CommentsList/index.tsx rename to packages/components/modules/comments/web/CommentsList/index.tsx index fda954df..c02d1324 100644 --- a/packages/components/modules/comments/CommentsList/index.tsx +++ b/packages/components/modules/comments/web/CommentsList/index.tsx @@ -1,15 +1,13 @@ import { FC, useMemo } from 'react' -import { LoadingState } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' import { Box } from '@mui/material' import { Virtuoso } from 'react-virtuoso' +import { CommentsSubscription, NUMBER_OF_COMMENTS_TO_LOAD_NEXT, useCommentList } from '../../common' import DefaultCommentItem from '../CommentItem' -import { NUMBER_OF_COMMENTS_TO_LOAD_NEXT } from '../constants' -import { useCommentList } from '../graphql/queries/CommentsList' -import CommentsSubscription from '../graphql/subscriptions/CommentsSubscription' -import { CommentsListProps } from './types' +import type { CommentsListProps } from './types' const CommentsList: FC = ({ target: targetRef, diff --git a/packages/components/modules/comments/CommentsList/types.ts b/packages/components/modules/comments/web/CommentsList/types.ts similarity index 79% rename from packages/components/modules/comments/CommentsList/types.ts rename to packages/components/modules/comments/web/CommentsList/types.ts index ec2d04d0..30858956 100644 --- a/packages/components/modules/comments/CommentsList/types.ts +++ b/packages/components/modules/comments/web/CommentsList/types.ts @@ -2,7 +2,7 @@ import type { FC } from 'react' import type { VirtuosoProps } from 'react-virtuoso' -import { CommentsList_comments$key } from '../../../__generated__/CommentsList_comments.graphql' +import type { CommentsList_comments$key } from '../../../../__generated__/CommentsList_comments.graphql' import type { CommentItemProps } from '../CommentItem/types' export interface CommentsListProps { diff --git a/packages/components/modules/comments/index.ts b/packages/components/modules/comments/web/index.ts similarity index 54% rename from packages/components/modules/comments/index.ts rename to packages/components/modules/comments/web/index.ts index 5952ea63..2fda8f5b 100644 --- a/packages/components/modules/comments/index.ts +++ b/packages/components/modules/comments/web/index.ts @@ -1,3 +1,5 @@ +// exports web comments components + export { default as CommentCreate } from './CommentCreate' export type * from './CommentCreate/types' @@ -15,17 +17,3 @@ export type * from './CommentsList/types' export { default as CommentsReplies } from './CommentItem/CommentsReplies' export type * from './CommentItem/CommentsReplies/types' - -export * from './context' - -export * from './graphql/mutations/CommentCreate' -export * from './graphql/mutations/CommentDelete' -export * from './graphql/mutations/CommentPin' -export * from './graphql/mutations/CommentUpdate' - -export * from './graphql/queries/Comments' -export * from './graphql/queries/CommentItem' -export * from './graphql/queries/CommentsList' - -export * from './graphql/subscriptions/CommentsSubscription' -export { default as CommentsSubscription } from './graphql/subscriptions/CommentsSubscription' diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/types.ts b/packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/types.ts deleted file mode 100644 index 67770e46..00000000 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/types.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { MessageItemFragment$key } from '../../../../../__generated__/MessageItemFragment.graphql' - -export interface SystemMessageProps { - messageRef: MessageItemFragment$key -} diff --git a/packages/components/modules/messages/README.md b/packages/components/modules/messages/README.md new file mode 100644 index 00000000..569329e8 --- /dev/null +++ b/packages/components/modules/messages/README.md @@ -0,0 +1,15 @@ +# Module: `messages` + +This module is divided into three primary folders: + +- **`common/`**: Contains platform-independent logic (utilities, hooks, or components that work in both web and native). + - Can import from within or other `common/` folders. + - Must not import from `web/` or `native/`. +- **`web/`**: Contains web-specific components and logic (e.g., React DOM, browser APIs, Material UI and others). + - Can import from within or `common/`. + - Must not import from `native/`. +- **`native/`**: Contains native-specific components and logic (e.g., React Native, Expo, React Native Paper and others) + - Can import from within or `common/`. + - Must not import from `web/`. + +This structure ensures platform-specific code remains isolated, while shared code lives in one place. diff --git a/packages/components/modules/messages/__shared__/index.ts b/packages/components/modules/messages/__shared__/index.ts deleted file mode 100644 index f02bdd5e..00000000 --- a/packages/components/modules/messages/__shared__/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as EditGroupTitleAndImage } from './EditGroupTitleAndImage' -export type * from './EditGroupTitleAndImage/types' diff --git a/packages/components/modules/messages/constants.ts b/packages/components/modules/messages/common/constants.ts similarity index 60% rename from packages/components/modules/messages/constants.ts rename to packages/components/modules/messages/common/constants.ts index 629cc96f..dc9c96cf 100644 --- a/packages/components/modules/messages/constants.ts +++ b/packages/components/modules/messages/common/constants.ts @@ -1,10 +1,6 @@ -import { ValueOf } from '@baseapp-frontend/utils' - export const MAXIMUM_DIFF_TO_GROUP_MESSAGES_CREATED_TIME = 3 // in minutes export const MESSAGE_TYPE = { user: 'USER_MESSAGE', system: 'SYSTEM_GENERATED', } as const - -export type MessageTypeOptions = ValueOf diff --git a/packages/components/modules/messages/context/ChatRoomProvider/constants.ts b/packages/components/modules/messages/common/context/ChatRoomProvider/constants.ts similarity index 100% rename from packages/components/modules/messages/context/ChatRoomProvider/constants.ts rename to packages/components/modules/messages/common/context/ChatRoomProvider/constants.ts diff --git a/packages/components/modules/messages/context/ChatRoomProvider/index.tsx b/packages/components/modules/messages/common/context/ChatRoomProvider/index.tsx similarity index 100% rename from packages/components/modules/messages/context/ChatRoomProvider/index.tsx rename to packages/components/modules/messages/common/context/ChatRoomProvider/index.tsx diff --git a/packages/components/modules/messages/context/ChatRoomProvider/types.ts b/packages/components/modules/messages/common/context/ChatRoomProvider/types.ts similarity index 100% rename from packages/components/modules/messages/context/ChatRoomProvider/types.ts rename to packages/components/modules/messages/common/context/ChatRoomProvider/types.ts diff --git a/packages/components/modules/messages/context/useChatRoom/index.tsx b/packages/components/modules/messages/common/context/useChatRoom/index.tsx similarity index 100% rename from packages/components/modules/messages/context/useChatRoom/index.tsx rename to packages/components/modules/messages/common/context/useChatRoom/index.tsx diff --git a/packages/components/modules/messages/context/withChatRoomProvider/index.tsx b/packages/components/modules/messages/common/context/withChatRoomProvider/index.tsx similarity index 100% rename from packages/components/modules/messages/context/withChatRoomProvider/index.tsx rename to packages/components/modules/messages/common/context/withChatRoomProvider/index.tsx diff --git a/packages/components/modules/messages/graphql/fragments/GroupTitle.ts b/packages/components/modules/messages/common/graphql/fragments/GroupTitle.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/GroupTitle.ts rename to packages/components/modules/messages/common/graphql/fragments/GroupTitle.ts diff --git a/packages/components/modules/messages/graphql/fragments/LastMessage.ts b/packages/components/modules/messages/common/graphql/fragments/LastMessage.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/LastMessage.ts rename to packages/components/modules/messages/common/graphql/fragments/LastMessage.ts diff --git a/packages/components/modules/messages/graphql/fragments/MembersList.ts b/packages/components/modules/messages/common/graphql/fragments/MembersList.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/MembersList.ts rename to packages/components/modules/messages/common/graphql/fragments/MembersList.ts diff --git a/packages/components/modules/messages/graphql/fragments/MessageItem.ts b/packages/components/modules/messages/common/graphql/fragments/MessageItem.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/MessageItem.ts rename to packages/components/modules/messages/common/graphql/fragments/MessageItem.ts diff --git a/packages/components/modules/messages/graphql/fragments/MessagesList.ts b/packages/components/modules/messages/common/graphql/fragments/MessagesList.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/MessagesList.ts rename to packages/components/modules/messages/common/graphql/fragments/MessagesList.ts diff --git a/packages/components/modules/messages/graphql/fragments/Room.ts b/packages/components/modules/messages/common/graphql/fragments/Room.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/Room.ts rename to packages/components/modules/messages/common/graphql/fragments/Room.ts diff --git a/packages/components/modules/messages/graphql/fragments/RoomTitle.ts b/packages/components/modules/messages/common/graphql/fragments/RoomTitle.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/RoomTitle.ts rename to packages/components/modules/messages/common/graphql/fragments/RoomTitle.ts diff --git a/packages/components/modules/messages/graphql/fragments/RoomsList.ts b/packages/components/modules/messages/common/graphql/fragments/RoomsList.ts similarity index 84% rename from packages/components/modules/messages/graphql/fragments/RoomsList.ts rename to packages/components/modules/messages/common/graphql/fragments/RoomsList.ts index 0c99a863..683df98b 100644 --- a/packages/components/modules/messages/graphql/fragments/RoomsList.ts +++ b/packages/components/modules/messages/common/graphql/fragments/RoomsList.ts @@ -1,7 +1,7 @@ import { graphql, usePaginationFragment } from 'react-relay' -import { RoomsListFragment$key } from '../../../../__generated__/RoomsListFragment.graphql' -import { chatRoomsPaginationQuery } from '../../../../__generated__/chatRoomsPaginationQuery.graphql' +import { RoomsListFragment$key } from '../../../../../__generated__/RoomsListFragment.graphql' +import { chatRoomsPaginationQuery } from '../../../../../__generated__/chatRoomsPaginationQuery.graphql' export const RoomsListFragment = graphql` fragment RoomsListFragment on ChatRoomsInterface diff --git a/packages/components/modules/messages/graphql/fragments/Title.ts b/packages/components/modules/messages/common/graphql/fragments/Title.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/Title.ts rename to packages/components/modules/messages/common/graphql/fragments/Title.ts diff --git a/packages/components/modules/messages/graphql/fragments/UnreadMessagesCount.ts b/packages/components/modules/messages/common/graphql/fragments/UnreadMessagesCount.ts similarity index 100% rename from packages/components/modules/messages/graphql/fragments/UnreadMessagesCount.ts rename to packages/components/modules/messages/common/graphql/fragments/UnreadMessagesCount.ts diff --git a/packages/components/modules/messages/graphql/mutations/ArchiveChatRoom.ts b/packages/components/modules/messages/common/graphql/mutations/ArchiveChatRoom.ts similarity index 92% rename from packages/components/modules/messages/graphql/mutations/ArchiveChatRoom.ts rename to packages/components/modules/messages/common/graphql/mutations/ArchiveChatRoom.ts index 78bf099d..eae6eb63 100644 --- a/packages/components/modules/messages/graphql/mutations/ArchiveChatRoom.ts +++ b/packages/components/modules/messages/common/graphql/mutations/ArchiveChatRoom.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { ArchiveChatRoomMutation } from '../../../../__generated__/ArchiveChatRoomMutation.graphql' +import { ArchiveChatRoomMutation } from '../../../../../__generated__/ArchiveChatRoomMutation.graphql' export const ArchiveChatRoomMutationQuery = graphql` mutation ArchiveChatRoomMutation($input: ChatRoomArchiveInput!) { diff --git a/packages/components/modules/messages/graphql/mutations/CreateChatRoom.ts b/packages/components/modules/messages/common/graphql/mutations/CreateChatRoom.ts similarity index 89% rename from packages/components/modules/messages/graphql/mutations/CreateChatRoom.ts rename to packages/components/modules/messages/common/graphql/mutations/CreateChatRoom.ts index 079dddb9..fb5ccdd7 100644 --- a/packages/components/modules/messages/graphql/mutations/CreateChatRoom.ts +++ b/packages/components/modules/messages/common/graphql/mutations/CreateChatRoom.ts @@ -2,10 +2,9 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { CreateChatRoomMutation } from '../../../../__generated__/CreateChatRoomMutation.graphql' -import { useChatRoom } from '../../context' +import { CreateChatRoomMutation } from '../../../../../__generated__/CreateChatRoomMutation.graphql' +import useChatRoom from '../../context/useChatRoom' -// node should be same as in RoomsList export const CreateChatRoomMutationQuery = graphql` mutation CreateChatRoomMutation($input: ChatRoomCreateInput!, $connections: [ID!]!) { chatRoomCreate(input: $input) { diff --git a/packages/components/modules/messages/graphql/mutations/MessageUpdate.ts b/packages/components/modules/messages/common/graphql/mutations/MessageUpdate.ts similarity index 92% rename from packages/components/modules/messages/graphql/mutations/MessageUpdate.ts rename to packages/components/modules/messages/common/graphql/mutations/MessageUpdate.ts index 2aebc8cb..adfd2e8c 100644 --- a/packages/components/modules/messages/graphql/mutations/MessageUpdate.ts +++ b/packages/components/modules/messages/common/graphql/mutations/MessageUpdate.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { MessageUpdateMutation } from '../../../../__generated__/MessageUpdateMutation.graphql' +import { MessageUpdateMutation } from '../../../../../__generated__/MessageUpdateMutation.graphql' export const MessageUpdateMutationQuery = graphql` mutation MessageUpdateMutation($input: ChatRoomEditMessageInput!) { diff --git a/packages/components/modules/messages/graphql/mutations/ReadMessages.ts b/packages/components/modules/messages/common/graphql/mutations/ReadMessages.ts similarity index 92% rename from packages/components/modules/messages/graphql/mutations/ReadMessages.ts rename to packages/components/modules/messages/common/graphql/mutations/ReadMessages.ts index a6c4a363..8b32b1e6 100644 --- a/packages/components/modules/messages/graphql/mutations/ReadMessages.ts +++ b/packages/components/modules/messages/common/graphql/mutations/ReadMessages.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { ReadMessagesMutation } from '../../../../__generated__/ReadMessagesMutation.graphql' +import { ReadMessagesMutation } from '../../../../../__generated__/ReadMessagesMutation.graphql' export const ReadMessagesMutationQuery = graphql` mutation ReadMessagesMutation($input: ChatRoomReadMessagesInput!) { diff --git a/packages/components/modules/messages/graphql/mutations/SendMessage.ts b/packages/components/modules/messages/common/graphql/mutations/SendMessage.ts similarity index 93% rename from packages/components/modules/messages/graphql/mutations/SendMessage.ts rename to packages/components/modules/messages/common/graphql/mutations/SendMessage.ts index b70aa8c4..acb8db34 100644 --- a/packages/components/modules/messages/graphql/mutations/SendMessage.ts +++ b/packages/components/modules/messages/common/graphql/mutations/SendMessage.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { SendMessageMutation } from '../../../../__generated__/SendMessageMutation.graphql' +import { SendMessageMutation } from '../../../../../__generated__/SendMessageMutation.graphql' export const SendMessageMutationQuery = graphql` mutation SendMessageMutation($input: ChatRoomSendMessageInput!, $connections: [ID!]!) { diff --git a/packages/components/modules/messages/graphql/mutations/UnreadChat.ts b/packages/components/modules/messages/common/graphql/mutations/UnreadChat.ts similarity index 92% rename from packages/components/modules/messages/graphql/mutations/UnreadChat.ts rename to packages/components/modules/messages/common/graphql/mutations/UnreadChat.ts index 0a5d7476..85c6b83f 100644 --- a/packages/components/modules/messages/graphql/mutations/UnreadChat.ts +++ b/packages/components/modules/messages/common/graphql/mutations/UnreadChat.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { UnreadChatMutation } from '../../../../__generated__/UnreadChatMutation.graphql' +import { UnreadChatMutation } from '../../../../../__generated__/UnreadChatMutation.graphql' export const UnreadChatMutationQuery = graphql` mutation UnreadChatMutation($input: ChatRoomUnreadInput!) { diff --git a/packages/components/modules/messages/graphql/mutations/UpdateChatRoom.ts b/packages/components/modules/messages/common/graphql/mutations/UpdateChatRoom.ts similarity index 90% rename from packages/components/modules/messages/graphql/mutations/UpdateChatRoom.ts rename to packages/components/modules/messages/common/graphql/mutations/UpdateChatRoom.ts index 34411f2f..6a874664 100644 --- a/packages/components/modules/messages/graphql/mutations/UpdateChatRoom.ts +++ b/packages/components/modules/messages/common/graphql/mutations/UpdateChatRoom.ts @@ -2,9 +2,8 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { UpdateChatRoomMutation } from '../../../../__generated__/UpdateChatRoomMutation.graphql' +import { UpdateChatRoomMutation } from '../../../../../__generated__/UpdateChatRoomMutation.graphql' -// node should be the same as in RoomsList export const UpdateChatRoomMutationQuery = graphql` mutation UpdateChatRoomMutation($input: ChatRoomUpdateInput!, $connections: [ID!]!) { chatRoomUpdate(input: $input) { diff --git a/packages/components/modules/messages/graphql/queries/ChatRoomQuery.ts b/packages/components/modules/messages/common/graphql/queries/ChatRoomQuery.ts similarity index 100% rename from packages/components/modules/messages/graphql/queries/ChatRoomQuery.ts rename to packages/components/modules/messages/common/graphql/queries/ChatRoomQuery.ts diff --git a/packages/components/modules/messages/graphql/queries/ChatRoomsQuery.ts b/packages/components/modules/messages/common/graphql/queries/ChatRoomsQuery.ts similarity index 100% rename from packages/components/modules/messages/graphql/queries/ChatRoomsQuery.ts rename to packages/components/modules/messages/common/graphql/queries/ChatRoomsQuery.ts diff --git a/packages/components/modules/messages/graphql/queries/GroupDetailsQuery.ts b/packages/components/modules/messages/common/graphql/queries/GroupDetailsQuery.ts similarity index 100% rename from packages/components/modules/messages/graphql/queries/GroupDetailsQuery.ts rename to packages/components/modules/messages/common/graphql/queries/GroupDetailsQuery.ts diff --git a/packages/components/modules/messages/graphql/subscriptions/useMessageCountUpdateSubscription.tsx b/packages/components/modules/messages/common/graphql/subscriptions/useMessageCountUpdateSubscription.tsx similarity index 93% rename from packages/components/modules/messages/graphql/subscriptions/useMessageCountUpdateSubscription.tsx rename to packages/components/modules/messages/common/graphql/subscriptions/useMessageCountUpdateSubscription.tsx index b5f13a64..3bcdc739 100644 --- a/packages/components/modules/messages/graphql/subscriptions/useMessageCountUpdateSubscription.tsx +++ b/packages/components/modules/messages/common/graphql/subscriptions/useMessageCountUpdateSubscription.tsx @@ -35,7 +35,7 @@ const MessageCountUpdateSubscription = graphql` } ` -const useMessageCountUpdate = () => { +export const useMessageCountUpdate = () => { const { currentProfile: profile } = useCurrentProfile() const config = useMemo( @@ -51,5 +51,3 @@ const useMessageCountUpdate = () => { return useSubscription(config) } - -export default useMessageCountUpdate diff --git a/packages/components/modules/messages/graphql/subscriptions/useMessagesListSubscription.tsx b/packages/components/modules/messages/common/graphql/subscriptions/useMessagesListSubscription.tsx similarity index 88% rename from packages/components/modules/messages/graphql/subscriptions/useMessagesListSubscription.tsx rename to packages/components/modules/messages/common/graphql/subscriptions/useMessagesListSubscription.tsx index 383f5fc3..a3c1ccb2 100644 --- a/packages/components/modules/messages/graphql/subscriptions/useMessagesListSubscription.tsx +++ b/packages/components/modules/messages/common/graphql/subscriptions/useMessagesListSubscription.tsx @@ -17,7 +17,7 @@ export const newMessageSubscription = graphql` } ` -const useMessagesListSubscription = (roomId: string) => { +export const useMessagesListSubscription = (roomId: string) => { const config = useMemo(() => { const connectionID = ConnectionHandler.getConnectionID(roomId, 'chatRoom_allMessages') return { @@ -32,5 +32,3 @@ const useMessagesListSubscription = (roomId: string) => { return useSubscription(config) } - -export default useMessagesListSubscription diff --git a/packages/components/modules/messages/graphql/subscriptions/useRoomListSubscription.tsx b/packages/components/modules/messages/common/graphql/subscriptions/useRoomListSubscription.tsx similarity index 94% rename from packages/components/modules/messages/graphql/subscriptions/useRoomListSubscription.tsx rename to packages/components/modules/messages/common/graphql/subscriptions/useRoomListSubscription.tsx index 57490f5f..ab80f54b 100644 --- a/packages/components/modules/messages/graphql/subscriptions/useRoomListSubscription.tsx +++ b/packages/components/modules/messages/common/graphql/subscriptions/useRoomListSubscription.tsx @@ -8,8 +8,8 @@ import { RecordSourceSelectorProxy } from 'relay-runtime' import { useRoomListSubscription$data, useRoomListSubscription as useRoomListSubscriptionType, -} from '../../../../__generated__/useRoomListSubscription.graphql' -import { useChatRoom } from '../../context' +} from '../../../../../__generated__/useRoomListSubscription.graphql' +import useChatRoom from '../../context/useChatRoom' import { getChatRoomConnections } from '../../utils' // isArchived is needed to bump the chatRoom up in the correct connection @@ -38,7 +38,7 @@ export const RoomListSubscriptionQuery = graphql` } ` -const useRoomListSubscription = ({ +export const useRoomListSubscription = ({ connections, profileId, onRemoval, @@ -99,5 +99,3 @@ const useRoomListSubscription = ({ return useSubscription(config) } - -export default useRoomListSubscription diff --git a/packages/components/modules/messages/common/index.ts b/packages/components/modules/messages/common/index.ts new file mode 100644 index 00000000..aea0bf83 --- /dev/null +++ b/packages/components/modules/messages/common/index.ts @@ -0,0 +1,35 @@ +// exports common messages code + +export { default as ChatRoomProvider } from './context/ChatRoomProvider' +export * from './context/ChatRoomProvider/types' +export { default as useChatRoom } from './context/useChatRoom' +export { default as withChatRoomProvider } from './context/withChatRoomProvider' + +export * from './graphql/mutations/ArchiveChatRoom' +export * from './graphql/mutations/CreateChatRoom' +export * from './graphql/mutations/ReadMessages' +export * from './graphql/mutations/SendMessage' +export * from './graphql/mutations/UnreadChat' +export * from './graphql/mutations/UpdateChatRoom' + +export * from './graphql/queries/ChatRoomQuery' +export * from './graphql/queries/ChatRoomsQuery' +export * from './graphql/queries/GroupDetailsQuery' + +export * from './graphql/fragments/GroupTitle' +export * from './graphql/fragments/LastMessage' +export * from './graphql/fragments/MembersList' +export * from './graphql/fragments/MessageItem' +export * from './graphql/fragments/MessagesList' +export * from './graphql/fragments/Room' +export * from './graphql/fragments/RoomsList' +export * from './graphql/fragments/Title' +export * from './graphql/fragments/UnreadMessagesCount' + +export * from './graphql/subscriptions/useMessagesListSubscription' +export * from './graphql/subscriptions/useMessageCountUpdateSubscription' +export * from './graphql/subscriptions/useRoomListSubscription' + +export * from './constants' +export type * from './types' +export * from './utils' diff --git a/packages/components/modules/messages/common/types.ts b/packages/components/modules/messages/common/types.ts new file mode 100644 index 00000000..fa1c3c3d --- /dev/null +++ b/packages/components/modules/messages/common/types.ts @@ -0,0 +1,10 @@ +import { ValueOf } from '@baseapp-frontend/utils' + +import { MessagesListFragment$data } from '../../../__generated__/MessagesListFragment.graphql' +import { MESSAGE_TYPE } from './constants' + +export type AllMessages = NonNullable +export type MessageEdges = AllMessages['edges'] +export type MessageNode = NonNullable['node'] + +export type MessageTypeOptions = ValueOf diff --git a/packages/components/modules/messages/utils.ts b/packages/components/modules/messages/common/utils.ts similarity index 89% rename from packages/components/modules/messages/utils.ts rename to packages/components/modules/messages/common/utils.ts index ecaca010..c663880b 100644 --- a/packages/components/modules/messages/utils.ts +++ b/packages/components/modules/messages/common/utils.ts @@ -4,9 +4,9 @@ import { useFragment } from 'react-relay' import ConnectionHandler from 'relay-connection-handler-plus' import { RecordProxy, RecordSourceSelectorProxy, Variables } from 'relay-runtime' -import { GroupTitleFragment$key } from '../../__generated__/GroupTitleFragment.graphql' -import { RoomTitleFragment$key } from '../../__generated__/RoomTitleFragment.graphql' -import { TitleFragment$data } from '../../__generated__/TitleFragment.graphql' +import { GroupTitleFragment$key } from '../../../__generated__/GroupTitleFragment.graphql' +import { RoomTitleFragment$key } from '../../../__generated__/RoomTitleFragment.graphql' +import { TitleFragment$data } from '../../../__generated__/TitleFragment.graphql' import { GroupTitleFragment } from './graphql/fragments/GroupTitle' import { RoomTitleFragment } from './graphql/fragments/RoomTitle' diff --git a/packages/components/modules/messages/context/index.ts b/packages/components/modules/messages/context/index.ts deleted file mode 100644 index 8907c9ee..00000000 --- a/packages/components/modules/messages/context/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export { default as ChatRoomProvider } from './ChatRoomProvider' -export * from './ChatRoomProvider/types' - -export { default as useChatRoom } from './useChatRoom' - -export { default as withChatRoomProvider } from './withChatRoomProvider' diff --git a/packages/components/modules/messages/index.ts b/packages/components/modules/messages/index.ts deleted file mode 100644 index 3048a781..00000000 --- a/packages/components/modules/messages/index.ts +++ /dev/null @@ -1,49 +0,0 @@ -export { default as MessagesList } from './MessagesList' -export type * from './MessagesList/types' - -export { default as ChatRoom } from './ChatRoom' -export type * from './ChatRoom/types' - -export { default as ChatRoomsList } from './ChatRoomsList' -export type * from './ChatRoomsList/types' - -export { default as SendMessage } from './SendMessage' -export type * from './SendMessage/types' - -export { default as CreateChatRoomList } from './CreateChatRoomList' -export type * from './CreateChatRoomList/types' - -export { default as CreateGroup } from './CreateGroup' -export type * from './CreateGroup/types' - -export { default as EditGroup } from './EditGroup' -export type * from './EditGroup/types' - -export { default as GroupDetails } from './GroupDetails' -export type * from './GroupDetails/types' - -export * from './context' - -export * from './graphql/mutations/ArchiveChatRoom' -export * from './graphql/mutations/CreateChatRoom' -export * from './graphql/mutations/ReadMessages' -export * from './graphql/mutations/SendMessage' -export * from './graphql/mutations/UnreadChat' -export * from './graphql/mutations/UpdateChatRoom' - -export * from './graphql/queries/ChatRoomQuery' -export * from './graphql/queries/ChatRoomsQuery' -export * from './graphql/queries/GroupDetailsQuery' - -export * from './graphql/fragments/LastMessage' -export * from './graphql/fragments/MembersList' -export * from './graphql/fragments/MessageItem' -export * from './graphql/fragments/MessagesList' -export * from './graphql/fragments/Room' -export * from './graphql/fragments/RoomsList' -export * from './graphql/fragments/Title' -export * from './graphql/fragments/UnreadMessagesCount' - -export { default as useMessagesListSubscription } from './graphql/subscriptions/useMessagesListSubscription' -export { default as useMessageCountUpdateSubscription } from './graphql/subscriptions/useMessageCountUpdateSubscription' -export { default as useRoomListSubscription } from './graphql/subscriptions/useRoomListSubscription' diff --git a/packages/components/modules/messages/native/index.ts b/packages/components/modules/messages/native/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/messages/types.ts b/packages/components/modules/messages/types.ts deleted file mode 100644 index 0375596e..00000000 --- a/packages/components/modules/messages/types.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { AllProfilesListFragment$data } from '../../__generated__/AllProfilesListFragment.graphql' -import { MessagesListFragment$data } from '../../__generated__/MessagesListFragment.graphql' - -export type AllMessages = NonNullable -export type MessageEdges = AllMessages['edges'] -export type MessageNode = NonNullable['node'] - -export type AllProfiles = NonNullable -export type AllProfilesEdges = AllProfiles['edges'] -export type ProfileEdge = AllProfilesEdges[number] -export type ProfileNode = NonNullable['node'] diff --git a/packages/components/modules/messages/ChatRoom/ChatRoomHeader/ChatRoomOptions/index.tsx b/packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/ChatRoomOptions/index.tsx similarity index 100% rename from packages/components/modules/messages/ChatRoom/ChatRoomHeader/ChatRoomOptions/index.tsx rename to packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/ChatRoomOptions/index.tsx diff --git a/packages/components/modules/messages/ChatRoom/ChatRoomHeader/ChatRoomOptions/types.ts b/packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/ChatRoomOptions/types.ts similarity index 100% rename from packages/components/modules/messages/ChatRoom/ChatRoomHeader/ChatRoomOptions/types.ts rename to packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/ChatRoomOptions/types.ts diff --git a/packages/components/modules/messages/ChatRoom/ChatRoomHeader/index.tsx b/packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/index.tsx similarity index 83% rename from packages/components/modules/messages/ChatRoom/ChatRoomHeader/index.tsx rename to packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/index.tsx index 8290219d..2a126741 100644 --- a/packages/components/modules/messages/ChatRoom/ChatRoomHeader/index.tsx +++ b/packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/index.tsx @@ -1,23 +1,24 @@ import { FC, useState } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { - AvatarWithPlaceholder, - IconButton, - Iconify, - Popover, - ThreeDotsIcon, - usePopover, - useResponsive, -} from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { ThreeDotsIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Iconify } from '@baseapp-frontend/design-system/components/web/images' +import { Popover } from '@baseapp-frontend/design-system/components/web/popovers' +import { usePopover } from '@baseapp-frontend/design-system/hooks/common' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' import { Box, Typography } from '@mui/material' import { useFragment } from 'react-relay' +import { + TitleFragment, + getParticipantCountString, + useChatRoom, + useNameAndAvatar, +} from '../../../common' import LeaveGroupDialog from '../../__shared__/LeaveGroupDialog' -import { useChatRoom } from '../../context' -import { TitleFragment } from '../../graphql/fragments/Title' -import { getParticipantCountString, useNameAndAvatar } from '../../utils' import ChatRoomOptions from './ChatRoomOptions' import { BackButtonContainer, ChatHeaderContainer, ChatTitleContainer } from './styled' import { ChatRoomHeaderProps } from './types' diff --git a/packages/components/modules/messages/ChatRoom/ChatRoomHeader/styled.tsx b/packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/styled.tsx similarity index 100% rename from packages/components/modules/messages/ChatRoom/ChatRoomHeader/styled.tsx rename to packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/styled.tsx diff --git a/packages/components/modules/messages/ChatRoom/ChatRoomHeader/types.ts b/packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/types.ts similarity index 77% rename from packages/components/modules/messages/ChatRoom/ChatRoomHeader/types.ts rename to packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/types.ts index 54603b2a..b6b82790 100644 --- a/packages/components/modules/messages/ChatRoom/ChatRoomHeader/types.ts +++ b/packages/components/modules/messages/web/ChatRoom/ChatRoomHeader/types.ts @@ -1,6 +1,6 @@ import { BoxProps } from '@mui/material' -import { TitleFragment$key } from '../../../../__generated__/TitleFragment.graphql' +import { TitleFragment$key } from '../../../../../__generated__/TitleFragment.graphql' export interface ChatRoomHeaderProps { participantsCount: number diff --git a/packages/components/modules/messages/ChatRoom/index.tsx b/packages/components/modules/messages/web/ChatRoom/index.tsx similarity index 87% rename from packages/components/modules/messages/ChatRoom/index.tsx rename to packages/components/modules/messages/web/ChatRoom/index.tsx index 006736c4..601b4272 100644 --- a/packages/components/modules/messages/ChatRoom/index.tsx +++ b/packages/components/modules/messages/web/ChatRoom/index.tsx @@ -2,15 +2,15 @@ import { FC, Suspense } from 'react' -import { LoadingState } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' import { Box } from '@mui/material' import { useLazyLoadQuery } from 'react-relay' -import { ChatRoomQuery as ChatRoomQueryType } from '../../../__generated__/ChatRoomQuery.graphql' +import { ChatRoomQuery as ChatRoomQueryType } from '../../../../__generated__/ChatRoomQuery.graphql' +import { ChatRoomQuery } from '../../common' import DefaultMessagesList from '../MessagesList' import DefaultSendMessage from '../SendMessage' -import { ChatRoomQuery } from '../graphql/queries/ChatRoomQuery' import ChatRoomHeader from './ChatRoomHeader' import { ChatBodyContainer, ChatRoomContainer } from './styled' import { ChatRoomProps } from './types' diff --git a/packages/components/modules/messages/ChatRoom/styled.tsx b/packages/components/modules/messages/web/ChatRoom/styled.tsx similarity index 100% rename from packages/components/modules/messages/ChatRoom/styled.tsx rename to packages/components/modules/messages/web/ChatRoom/styled.tsx diff --git a/packages/components/modules/messages/ChatRoom/types.ts b/packages/components/modules/messages/web/ChatRoom/types.ts similarity index 100% rename from packages/components/modules/messages/ChatRoom/types.ts rename to packages/components/modules/messages/web/ChatRoom/types.ts diff --git a/packages/components/modules/messages/ChatRoomsList/ChatRoomItem/index.tsx b/packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/index.tsx similarity index 85% rename from packages/components/modules/messages/ChatRoomsList/ChatRoomItem/index.tsx rename to packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/index.tsx index c1fb75b9..9f7bbe6c 100644 --- a/packages/components/modules/messages/ChatRoomsList/ChatRoomItem/index.tsx +++ b/packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/index.tsx @@ -1,27 +1,30 @@ import { FC, SyntheticEvent, useCallback, useRef } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' import { ArchiveIcon, - AvatarWithPlaceholder, UnarchiveIcon, UnreadIcon, -} from '@baseapp-frontend/design-system' +} from '@baseapp-frontend/design-system/components/web/icons' import { Box, Badge as DefaultBadge, Typography } from '@mui/material' import { ConnectionHandler, useFragment } from 'react-relay' import { RecordSourceSelectorProxy } from 'relay-runtime' -import { LastMessageFragment$key } from '../../../../__generated__/LastMessageFragment.graphql' -import { TitleFragment$key } from '../../../../__generated__/TitleFragment.graphql' -import { UnreadMessagesCountFragment$key } from '../../../../__generated__/UnreadMessagesCountFragment.graphql' -import ActionsOverlay from '../../../__shared__/ActionsOverlay' -import { LastMessageFragment } from '../../graphql/fragments/LastMessage' -import { TitleFragment } from '../../graphql/fragments/Title' -import { UnreadMessagesCountFragment } from '../../graphql/fragments/UnreadMessagesCount' -import { useArchiveChatRoomMutation } from '../../graphql/mutations/ArchiveChatRoom' -import { useUnreadChatMutation } from '../../graphql/mutations/UnreadChat' -import { getChatRoomConnections, useNameAndAvatar } from '../../utils' +import { LastMessageFragment$key } from '../../../../../__generated__/LastMessageFragment.graphql' +import { TitleFragment$key } from '../../../../../__generated__/TitleFragment.graphql' +import { UnreadMessagesCountFragment$key } from '../../../../../__generated__/UnreadMessagesCountFragment.graphql' +import { ActionsOverlay } from '../../../../__shared__/web' +import { + LastMessageFragment, + TitleFragment, + UnreadMessagesCountFragment, + getChatRoomConnections, + useArchiveChatRoomMutation, + useNameAndAvatar, + useUnreadChatMutation, +} from '../../../common' import { StyledChatCard } from './styled' import { ChatRoomItemProps } from './types' import { formatDate } from './utils' diff --git a/packages/components/modules/messages/ChatRoomsList/ChatRoomItem/styled.tsx b/packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/styled.tsx similarity index 100% rename from packages/components/modules/messages/ChatRoomsList/ChatRoomItem/styled.tsx rename to packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/styled.tsx diff --git a/packages/components/modules/messages/ChatRoomsList/ChatRoomItem/types.ts b/packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/types.ts similarity index 62% rename from packages/components/modules/messages/ChatRoomsList/ChatRoomItem/types.ts rename to packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/types.ts index 37c3e0ae..91354e88 100644 --- a/packages/components/modules/messages/ChatRoomsList/ChatRoomItem/types.ts +++ b/packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/types.ts @@ -2,9 +2,9 @@ import { FC } from 'react' import type { BadgeProps, BoxProps } from '@mui/material' -import { LastMessageFragment$key } from '../../../../__generated__/LastMessageFragment.graphql' -import { TitleFragment$key } from '../../../../__generated__/TitleFragment.graphql' -import { UnreadMessagesCountFragment$key } from '../../../../__generated__/UnreadMessagesCountFragment.graphql' +import { LastMessageFragment$key } from '../../../../../__generated__/LastMessageFragment.graphql' +import { TitleFragment$key } from '../../../../../__generated__/TitleFragment.graphql' +import { UnreadMessagesCountFragment$key } from '../../../../../__generated__/UnreadMessagesCountFragment.graphql' export interface ChatRoomItemProps { roomRef: { readonly id: string } & LastMessageFragment$key & diff --git a/packages/components/modules/messages/ChatRoomsList/ChatRoomItem/utils.ts b/packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/utils.ts similarity index 100% rename from packages/components/modules/messages/ChatRoomsList/ChatRoomItem/utils.ts rename to packages/components/modules/messages/web/ChatRoomsList/ChatRoomItem/utils.ts diff --git a/packages/components/modules/messages/ChatRoomsList/EmptyChatRoomsState/index.tsx b/packages/components/modules/messages/web/ChatRoomsList/EmptyChatRoomsState/index.tsx similarity index 91% rename from packages/components/modules/messages/ChatRoomsList/EmptyChatRoomsState/index.tsx rename to packages/components/modules/messages/web/ChatRoomsList/EmptyChatRoomsState/index.tsx index 8f8cf7c8..7ce5963a 100644 --- a/packages/components/modules/messages/ChatRoomsList/EmptyChatRoomsState/index.tsx +++ b/packages/components/modules/messages/web/ChatRoomsList/EmptyChatRoomsState/index.tsx @@ -1,4 +1,4 @@ -import { SocialMediaDiscussionImage } from '@baseapp-frontend/design-system' +import { SocialMediaDiscussionImage } from '@baseapp-frontend/design-system/components/web/illustrations' import { Box, Typography } from '@mui/material' diff --git a/packages/components/modules/messages/ChatRoomsList/constants.ts b/packages/components/modules/messages/web/ChatRoomsList/constants.ts similarity index 100% rename from packages/components/modules/messages/ChatRoomsList/constants.ts rename to packages/components/modules/messages/web/ChatRoomsList/constants.ts diff --git a/packages/components/modules/messages/ChatRoomsList/index.tsx b/packages/components/modules/messages/web/ChatRoomsList/index.tsx similarity index 92% rename from packages/components/modules/messages/ChatRoomsList/index.tsx rename to packages/components/modules/messages/web/ChatRoomsList/index.tsx index 4d61f87b..c21e2563 100644 --- a/packages/components/modules/messages/ChatRoomsList/index.tsx +++ b/packages/components/modules/messages/web/ChatRoomsList/index.tsx @@ -2,17 +2,16 @@ import { ChangeEventHandler, FC, useCallback, useMemo, useState, useTransition } from 'react' -import { Searchbar as DefaultSearchbar, LoadingState } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' +import { Searchbar as DefaultSearchbar } from '@baseapp-frontend/design-system/components/web/inputs' import { Box, CircularProgress, Tab, Tabs, Typography } from '@mui/material' import { useForm } from 'react-hook-form' import { Virtuoso } from 'react-virtuoso' -import { RoomsListFragment$key } from '../../../__generated__/RoomsListFragment.graphql' -import SearchNotFoundState from '../../__shared__/SearchNotFoundState' -import { useChatRoom } from '../context' -import { useRoomsList } from '../graphql/fragments/RoomsList' -import useRoomListSubscription from '../graphql/subscriptions/useRoomListSubscription' +import { RoomsListFragment$key } from '../../../../__generated__/RoomsListFragment.graphql' +import { SearchNotFoundState } from '../../../__shared__/web' +import { useChatRoom, useRoomListSubscription, useRoomsList } from '../../common' import DefaultChatRoomItem from './ChatRoomItem' import DefaultEmptyChatRoomsState from './EmptyChatRoomsState' import { CHAT_TAB_LABEL, CHAT_TAB_VALUES } from './constants' diff --git a/packages/components/modules/messages/ChatRoomsList/styled.tsx b/packages/components/modules/messages/web/ChatRoomsList/styled.tsx similarity index 100% rename from packages/components/modules/messages/ChatRoomsList/styled.tsx rename to packages/components/modules/messages/web/ChatRoomsList/styled.tsx diff --git a/packages/components/modules/messages/ChatRoomsList/types.ts b/packages/components/modules/messages/web/ChatRoomsList/types.ts similarity index 74% rename from packages/components/modules/messages/ChatRoomsList/types.ts rename to packages/components/modules/messages/web/ChatRoomsList/types.ts index 2fac7a99..10f7af91 100644 --- a/packages/components/modules/messages/ChatRoomsList/types.ts +++ b/packages/components/modules/messages/web/ChatRoomsList/types.ts @@ -1,12 +1,12 @@ import { FC } from 'react' -import { SearchbarProps } from '@baseapp-frontend/design-system' +import { SearchbarProps } from '@baseapp-frontend/design-system/components/web/inputs' import { ValueOf } from '@baseapp-frontend/utils' import { VirtuosoProps } from 'react-virtuoso' -import { ChatRoomsQuery$data } from '../../../__generated__/ChatRoomsQuery.graphql' -import { RoomsListFragment$data } from '../../../__generated__/RoomsListFragment.graphql' +import { ChatRoomsQuery$data } from '../../../../__generated__/ChatRoomsQuery.graphql' +import { RoomsListFragment$data } from '../../../../__generated__/RoomsListFragment.graphql' import { ChatRoomItemProps } from './ChatRoomItem/types' import { CHAT_TAB_VALUES } from './constants' diff --git a/packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/index.tsx b/packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/index.tsx similarity index 92% rename from packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/index.tsx rename to packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/index.tsx index 923372ee..6ef3afd7 100644 --- a/packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/index.tsx +++ b/packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/index.tsx @@ -3,14 +3,14 @@ import { FC } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' import { LoadingButton } from '@mui/lab' import { Box, Typography } from '@mui/material' import { ConnectionHandler, useFragment } from 'react-relay' -import { ProfileItemFragment } from '../../../profiles/graphql/queries/ProfileItem' -import { useCreateChatRoomMutation } from '../../graphql/mutations/CreateChatRoom' +import { ProfileItemFragment } from '../../../../profiles/common' +import { useCreateChatRoomMutation } from '../../../common' import { MainContainer } from './styled' import { ChatRoomListItemProps } from './types' diff --git a/packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/styled.tsx b/packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/styled.tsx similarity index 100% rename from packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/styled.tsx rename to packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/styled.tsx diff --git a/packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/types.ts b/packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/types.ts similarity index 52% rename from packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/types.ts rename to packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/types.ts index 5b81bf0b..14aa32d7 100644 --- a/packages/components/modules/messages/CreateChatRoomList/ChatRoomListItem/types.ts +++ b/packages/components/modules/messages/web/CreateChatRoomList/ChatRoomListItem/types.ts @@ -1,4 +1,4 @@ -import { ProfileItemFragment$key } from '../../../../__generated__/ProfileItemFragment.graphql' +import { ProfileItemFragment$key } from '../../../../../__generated__/ProfileItemFragment.graphql' export interface ChatRoomListItemProps { profile: ProfileItemFragment$key diff --git a/packages/components/modules/messages/CreateChatRoomList/index.tsx b/packages/components/modules/messages/web/CreateChatRoomList/index.tsx similarity index 88% rename from packages/components/modules/messages/CreateChatRoomList/index.tsx rename to packages/components/modules/messages/web/CreateChatRoomList/index.tsx index b05bcd8f..3816785f 100644 --- a/packages/components/modules/messages/CreateChatRoomList/index.tsx +++ b/packages/components/modules/messages/web/CreateChatRoomList/index.tsx @@ -3,21 +3,18 @@ import { ChangeEventHandler, FC, useMemo, useTransition } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { - AvatarWithPlaceholder, - Searchbar as DefaultSearchbar, - LoadingState, -} from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' +import { Searchbar as DefaultSearchbar } from '@baseapp-frontend/design-system/components/web/inputs' import { Box, Typography } from '@mui/material' import Image from 'next/image' import { useForm } from 'react-hook-form' import { Virtuoso } from 'react-virtuoso' -import SearchNotFoundState from '../../__shared__/SearchNotFoundState' -import { useAllProfilesList } from '../../profiles/graphql/queries/AllProfilesList' -import EmptyProfilesListState from '../EmptyProfilesListState' -import { ProfileEdge, ProfileNode } from '../types' +import { SearchNotFoundState } from '../../../__shared__/web' +import { ProfileEdge, ProfileNode, useAllProfilesList } from '../../../profiles/common' +import EmptyProfilesListState from '../__shared__/EmptyProfilesListState' import DefaultChatRoomListItem from './ChatRoomListItem' import { GroupChatContainer, MainContainer, SearchbarContainer } from './styled' import { CreateChatRoomListProps } from './types' diff --git a/packages/components/modules/messages/CreateChatRoomList/styled.tsx b/packages/components/modules/messages/web/CreateChatRoomList/styled.tsx similarity index 100% rename from packages/components/modules/messages/CreateChatRoomList/styled.tsx rename to packages/components/modules/messages/web/CreateChatRoomList/styled.tsx diff --git a/packages/components/modules/messages/CreateChatRoomList/types.ts b/packages/components/modules/messages/web/CreateChatRoomList/types.ts similarity index 76% rename from packages/components/modules/messages/CreateChatRoomList/types.ts rename to packages/components/modules/messages/web/CreateChatRoomList/types.ts index 339566ff..04ede995 100644 --- a/packages/components/modules/messages/CreateChatRoomList/types.ts +++ b/packages/components/modules/messages/web/CreateChatRoomList/types.ts @@ -1,10 +1,10 @@ import { FC, PropsWithChildren } from 'react' -import { SearchbarProps } from '@baseapp-frontend/design-system' +import { SearchbarProps } from '@baseapp-frontend/design-system/components/web/inputs' import { VirtuosoProps } from 'react-virtuoso' -import { ChatRoomsQuery$data } from '../../../__generated__/ChatRoomsQuery.graphql' +import { ChatRoomsQuery$data } from '../../../../__generated__/ChatRoomsQuery.graphql' import { ChatRoomListItemProps } from './ChatRoomListItem/types' export interface CreateChatRoomListProps extends PropsWithChildren { diff --git a/packages/components/modules/messages/CreateGroup/ConnectionsList/index.tsx b/packages/components/modules/messages/web/CreateGroup/ConnectionsList/index.tsx similarity index 83% rename from packages/components/modules/messages/CreateGroup/ConnectionsList/index.tsx rename to packages/components/modules/messages/web/CreateGroup/ConnectionsList/index.tsx index fdcd5926..2228e978 100644 --- a/packages/components/modules/messages/CreateGroup/ConnectionsList/index.tsx +++ b/packages/components/modules/messages/web/CreateGroup/ConnectionsList/index.tsx @@ -2,13 +2,13 @@ import { FC } from 'react' -import { LoadingState } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' import { Box } from '@mui/material' import { Virtuoso } from 'react-virtuoso' -import DefaultSearchNotFoundState from '../../../__shared__/SearchNotFoundState' -import DefaultEmptyProfilesListState from '../../EmptyProfilesListState' +import { SearchNotFoundState as DefaultSearchNotFoundState } from '../../../../__shared__/web' +import DefaultEmptyProfilesListState from '../../__shared__/EmptyProfilesListState' import { ConnectionsListProps } from './types' const ConnectionsList: FC = ({ diff --git a/packages/components/modules/messages/CreateGroup/ConnectionsList/styled.tsx b/packages/components/modules/messages/web/CreateGroup/ConnectionsList/styled.tsx similarity index 100% rename from packages/components/modules/messages/CreateGroup/ConnectionsList/styled.tsx rename to packages/components/modules/messages/web/CreateGroup/ConnectionsList/styled.tsx diff --git a/packages/components/modules/messages/CreateGroup/ConnectionsList/types.ts b/packages/components/modules/messages/web/CreateGroup/ConnectionsList/types.ts similarity index 74% rename from packages/components/modules/messages/CreateGroup/ConnectionsList/types.ts rename to packages/components/modules/messages/web/CreateGroup/ConnectionsList/types.ts index 95eb94e0..e206a39f 100644 --- a/packages/components/modules/messages/CreateGroup/ConnectionsList/types.ts +++ b/packages/components/modules/messages/web/CreateGroup/ConnectionsList/types.ts @@ -3,8 +3,8 @@ import { FC } from 'react' import { LoadMoreFn } from 'react-relay' import { VirtuosoProps } from 'react-virtuoso' -import { AllProfilesListPaginationQuery } from '../../../../__generated__/AllProfilesListPaginationQuery.graphql' -import { ProfileNode } from '../../types' +import { AllProfilesListPaginationQuery } from '../../../../../__generated__/AllProfilesListPaginationQuery.graphql' +import { ProfileNode } from '../../../../profiles/common' export interface ConnectionsListProps { VirtuosoProps?: Partial> diff --git a/packages/components/modules/messages/CreateGroup/ProfileCard/index.tsx b/packages/components/modules/messages/web/CreateGroup/ProfileCard/index.tsx similarity index 94% rename from packages/components/modules/messages/CreateGroup/ProfileCard/index.tsx rename to packages/components/modules/messages/web/CreateGroup/ProfileCard/index.tsx index 6fe2c617..f77a3079 100644 --- a/packages/components/modules/messages/CreateGroup/ProfileCard/index.tsx +++ b/packages/components/modules/messages/web/CreateGroup/ProfileCard/index.tsx @@ -2,12 +2,12 @@ import { FC } from 'react' -import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' import { Box, Button, Typography } from '@mui/material' import { useFragment } from 'react-relay' -import { ProfileItemFragment } from '../../../profiles/graphql/queries/ProfileItem' +import { ProfileItemFragment } from '../../../../profiles/common' import { MainContainer } from './styled' import { ProfileCardProps } from './types' diff --git a/packages/components/modules/messages/CreateGroup/ProfileCard/styled.tsx b/packages/components/modules/messages/web/CreateGroup/ProfileCard/styled.tsx similarity index 100% rename from packages/components/modules/messages/CreateGroup/ProfileCard/styled.tsx rename to packages/components/modules/messages/web/CreateGroup/ProfileCard/styled.tsx diff --git a/packages/components/modules/messages/CreateGroup/ProfileCard/types.ts b/packages/components/modules/messages/web/CreateGroup/ProfileCard/types.ts similarity index 67% rename from packages/components/modules/messages/CreateGroup/ProfileCard/types.ts rename to packages/components/modules/messages/web/CreateGroup/ProfileCard/types.ts index 8241a08d..41e9e1d0 100644 --- a/packages/components/modules/messages/CreateGroup/ProfileCard/types.ts +++ b/packages/components/modules/messages/web/CreateGroup/ProfileCard/types.ts @@ -1,4 +1,4 @@ -import { ProfileItemFragment$key } from '../../../../__generated__/ProfileItemFragment.graphql' +import { ProfileItemFragment$key } from '../../../../../__generated__/ProfileItemFragment.graphql' export interface ProfileCardProps { profile: ProfileItemFragment$key diff --git a/packages/components/modules/messages/CreateGroup/constants.ts b/packages/components/modules/messages/web/CreateGroup/constants.ts similarity index 92% rename from packages/components/modules/messages/CreateGroup/constants.ts rename to packages/components/modules/messages/web/CreateGroup/constants.ts index d54419e1..a5a8be26 100644 --- a/packages/components/modules/messages/CreateGroup/constants.ts +++ b/packages/components/modules/messages/web/CreateGroup/constants.ts @@ -1,6 +1,6 @@ import { z } from 'zod' -import { TitleAndImage } from '../__shared__' +import { TitleAndImage } from '../__shared__/types' import { CreateGroupUpload } from './types' export const FORM_VALUE: Record & diff --git a/packages/components/modules/messages/CreateGroup/index.tsx b/packages/components/modules/messages/web/CreateGroup/index.tsx similarity index 94% rename from packages/components/modules/messages/CreateGroup/index.tsx rename to packages/components/modules/messages/web/CreateGroup/index.tsx index c863cbd8..e0bbfcfd 100644 --- a/packages/components/modules/messages/CreateGroup/index.tsx +++ b/packages/components/modules/messages/web/CreateGroup/index.tsx @@ -3,12 +3,9 @@ import { ChangeEventHandler, FC, useMemo, useTransition } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { - CheckMarkIcon, - CloseIcon, - Searchbar as DefaultSearchbar, - IconButton, -} from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { CheckMarkIcon, CloseIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Searchbar as DefaultSearchbar } from '@baseapp-frontend/design-system/components/web/inputs' import { filterDirtyValues, setFormRelayErrors, useNotification } from '@baseapp-frontend/utils' import { zodResolver } from '@hookform/resolvers/zod' @@ -16,11 +13,9 @@ import { Box, Typography, useTheme } from '@mui/material' import { useForm } from 'react-hook-form' import { ConnectionHandler } from 'relay-runtime' -import { useAllProfilesList } from '../../profiles/graphql/queries/AllProfilesList' -import { EditGroupTitleAndImage } from '../__shared__' -import { useChatRoom } from '../context' -import { useCreateChatRoomMutation } from '../graphql/mutations/CreateChatRoom' -import { ProfileNode } from '../types' +import { ProfileNode, useAllProfilesList } from '../../../profiles/common' +import { useChatRoom, useCreateChatRoomMutation } from '../../common' +import EditGroupTitleAndImage from '../__shared__/EditGroupTitleAndImage' import DefaultConnectionsList from './ConnectionsList' import DefaultProfileCard from './ProfileCard' import { DEFAULT_FORM_VALIDATION, DEFAULT_FORM_VALUES, FORM_VALUE } from './constants' diff --git a/packages/components/modules/messages/CreateGroup/styled.tsx b/packages/components/modules/messages/web/CreateGroup/styled.tsx similarity index 100% rename from packages/components/modules/messages/CreateGroup/styled.tsx rename to packages/components/modules/messages/web/CreateGroup/styled.tsx diff --git a/packages/components/modules/messages/CreateGroup/types.ts b/packages/components/modules/messages/web/CreateGroup/types.ts similarity index 80% rename from packages/components/modules/messages/CreateGroup/types.ts rename to packages/components/modules/messages/web/CreateGroup/types.ts index 2e472ed4..cd4e9771 100644 --- a/packages/components/modules/messages/CreateGroup/types.ts +++ b/packages/components/modules/messages/web/CreateGroup/types.ts @@ -1,8 +1,8 @@ import { FC, PropsWithChildren } from 'react' -import { SearchbarProps } from '@baseapp-frontend/design-system' +import { SearchbarProps } from '@baseapp-frontend/design-system/components/web/inputs' -import { ChatRoomsQuery$data } from '../../../__generated__/ChatRoomsQuery.graphql' +import { ChatRoomsQuery$data } from '../../../../__generated__/ChatRoomsQuery.graphql' import { ConnectionsListProps } from './ConnectionsList/types' import { ProfileCardProps } from './ProfileCard/types' diff --git a/packages/components/modules/messages/EditGroup/constants.ts b/packages/components/modules/messages/web/EditGroup/constants.ts similarity index 93% rename from packages/components/modules/messages/EditGroup/constants.ts rename to packages/components/modules/messages/web/EditGroup/constants.ts index 2c3cc097..2cceacaa 100644 --- a/packages/components/modules/messages/EditGroup/constants.ts +++ b/packages/components/modules/messages/web/EditGroup/constants.ts @@ -1,6 +1,6 @@ import { z } from 'zod' -import { TitleAndImage } from '../__shared__' +import { TitleAndImage } from '../__shared__/types' import { EditGroupUpload } from './types' export const FORM_VALUE: Record & diff --git a/packages/components/modules/messages/EditGroup/index.tsx b/packages/components/modules/messages/web/EditGroup/index.tsx similarity index 89% rename from packages/components/modules/messages/EditGroup/index.tsx rename to packages/components/modules/messages/web/EditGroup/index.tsx index b4e93ba9..b51959d2 100644 --- a/packages/components/modules/messages/EditGroup/index.tsx +++ b/packages/components/modules/messages/web/EditGroup/index.tsx @@ -3,7 +3,8 @@ import { FC } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { CheckMarkIcon, CloseIcon, IconButton } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { CheckMarkIcon, CloseIcon } from '@baseapp-frontend/design-system/components/web/icons' import { filterDirtyValues, setFormRelayErrors, useNotification } from '@baseapp-frontend/utils' import { zodResolver } from '@hookform/resolvers/zod' @@ -11,12 +12,14 @@ import { Box, Typography } from '@mui/material' import { useForm } from 'react-hook-form' import { usePreloadedQuery } from 'react-relay' -import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../__generated__/GroupDetailsQuery.graphql' -import { EditGroupTitleAndImage } from '../__shared__' -import { useUpdateChatRoomMutation } from '../graphql/mutations/UpdateChatRoom' -import { GroupDetailsQuery } from '../graphql/queries/GroupDetailsQuery' -import useRoomListSubscription from '../graphql/subscriptions/useRoomListSubscription' -import { useGroupNameAndAvatar } from '../utils' +import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../../__generated__/GroupDetailsQuery.graphql' +import { + GroupDetailsQuery, + useGroupNameAndAvatar, + useRoomListSubscription, + useUpdateChatRoomMutation, +} from '../../common' +import EditGroupTitleAndImage from '../__shared__/EditGroupTitleAndImage' import { DEFAULT_FORM_VALIDATION, FORM_VALUE, getDefaultFormValues } from './constants' import { HeaderContainer } from './styled' import { EditGroupProps } from './types' diff --git a/packages/components/modules/messages/EditGroup/styled.tsx b/packages/components/modules/messages/web/EditGroup/styled.tsx similarity index 100% rename from packages/components/modules/messages/EditGroup/styled.tsx rename to packages/components/modules/messages/web/EditGroup/styled.tsx diff --git a/packages/components/modules/messages/EditGroup/types.ts b/packages/components/modules/messages/web/EditGroup/types.ts similarity index 92% rename from packages/components/modules/messages/EditGroup/types.ts rename to packages/components/modules/messages/web/EditGroup/types.ts index 90067795..3d84d47f 100644 --- a/packages/components/modules/messages/EditGroup/types.ts +++ b/packages/components/modules/messages/web/EditGroup/types.ts @@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react' import { PreloadedQuery } from 'react-relay' -import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../__generated__/GroupDetailsQuery.graphql' +import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../../__generated__/GroupDetailsQuery.graphql' export interface EditGroupProps extends PropsWithChildren { queryRef: PreloadedQuery diff --git a/packages/components/modules/messages/GroupDetails/GroupDetailsHeader/index.tsx b/packages/components/modules/messages/web/GroupDetails/GroupDetailsHeader/index.tsx similarity index 80% rename from packages/components/modules/messages/GroupDetails/GroupDetailsHeader/index.tsx rename to packages/components/modules/messages/web/GroupDetails/GroupDetailsHeader/index.tsx index 063a32f0..1a65464f 100644 --- a/packages/components/modules/messages/GroupDetails/GroupDetailsHeader/index.tsx +++ b/packages/components/modules/messages/web/GroupDetails/GroupDetailsHeader/index.tsx @@ -1,6 +1,8 @@ import { FC } from 'react' -import { IconButton, Iconify, PenEditIcon } from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { PenEditIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Iconify } from '@baseapp-frontend/design-system/components/web/images' import { Typography } from '@mui/material' diff --git a/packages/components/modules/messages/GroupDetails/GroupDetailsHeader/styled.tsx b/packages/components/modules/messages/web/GroupDetails/GroupDetailsHeader/styled.tsx similarity index 100% rename from packages/components/modules/messages/GroupDetails/GroupDetailsHeader/styled.tsx rename to packages/components/modules/messages/web/GroupDetails/GroupDetailsHeader/styled.tsx diff --git a/packages/components/modules/messages/GroupDetails/GroupDetailsHeader/types.ts b/packages/components/modules/messages/web/GroupDetails/GroupDetailsHeader/types.ts similarity index 100% rename from packages/components/modules/messages/GroupDetails/GroupDetailsHeader/types.ts rename to packages/components/modules/messages/web/GroupDetails/GroupDetailsHeader/types.ts diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/AdminOptionsMenu/index.tsx b/packages/components/modules/messages/web/GroupDetails/ProfileCard/AdminOptionsMenu/index.tsx similarity index 100% rename from packages/components/modules/messages/GroupDetails/ProfileCard/AdminOptionsMenu/index.tsx rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/AdminOptionsMenu/index.tsx diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/AdminOptionsMenu/types.ts b/packages/components/modules/messages/web/GroupDetails/ProfileCard/AdminOptionsMenu/types.ts similarity index 100% rename from packages/components/modules/messages/GroupDetails/ProfileCard/AdminOptionsMenu/types.ts rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/AdminOptionsMenu/types.ts diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/MemberOptionsMenu/index.tsx b/packages/components/modules/messages/web/GroupDetails/ProfileCard/MemberOptionsMenu/index.tsx similarity index 100% rename from packages/components/modules/messages/GroupDetails/ProfileCard/MemberOptionsMenu/index.tsx rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/MemberOptionsMenu/index.tsx diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/MemberOptionsMenu/types.ts b/packages/components/modules/messages/web/GroupDetails/ProfileCard/MemberOptionsMenu/types.ts similarity index 100% rename from packages/components/modules/messages/GroupDetails/ProfileCard/MemberOptionsMenu/types.ts rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/MemberOptionsMenu/types.ts diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/constants.ts b/packages/components/modules/messages/web/GroupDetails/ProfileCard/constants.ts similarity index 100% rename from packages/components/modules/messages/GroupDetails/ProfileCard/constants.ts rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/constants.ts diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/index.tsx b/packages/components/modules/messages/web/GroupDetails/ProfileCard/index.tsx similarity index 87% rename from packages/components/modules/messages/GroupDetails/ProfileCard/index.tsx rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/index.tsx index f7bf4a6c..3d496f74 100644 --- a/packages/components/modules/messages/GroupDetails/ProfileCard/index.tsx +++ b/packages/components/modules/messages/web/GroupDetails/ProfileCard/index.tsx @@ -3,18 +3,16 @@ import { FC } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { - AvatarWithPlaceholder, - Popover, - ThreeDotsIcon, - usePopover, -} from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' +import { ThreeDotsIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Popover } from '@baseapp-frontend/design-system/components/web/popovers' +import { usePopover } from '@baseapp-frontend/design-system/hooks/common' import { Box, IconButton, Typography } from '@mui/material' import { useFragment } from 'react-relay' -import { ProfileItemFragment$key } from '../../../../__generated__/ProfileItemFragment.graphql' -import { ProfileItemFragment } from '../../../profiles/graphql/queries/ProfileItem' +import { ProfileItemFragment$key } from '../../../../../__generated__/ProfileItemFragment.graphql' +import { ProfileItemFragment } from '../../../../profiles/common' import AdminOptionsMenu from './AdminOptionsMenu' import MemberOptionsMenu from './MemberOptionsMenu' import { ADMIN_LABEL, CHAT_ROOM_PARTICIPANT_ROLES } from './constants' diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/styled.tsx b/packages/components/modules/messages/web/GroupDetails/ProfileCard/styled.tsx similarity index 100% rename from packages/components/modules/messages/GroupDetails/ProfileCard/styled.tsx rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/styled.tsx diff --git a/packages/components/modules/messages/GroupDetails/ProfileCard/types.ts b/packages/components/modules/messages/web/GroupDetails/ProfileCard/types.ts similarity index 79% rename from packages/components/modules/messages/GroupDetails/ProfileCard/types.ts rename to packages/components/modules/messages/web/GroupDetails/ProfileCard/types.ts index ceace4fd..50eef869 100644 --- a/packages/components/modules/messages/GroupDetails/ProfileCard/types.ts +++ b/packages/components/modules/messages/web/GroupDetails/ProfileCard/types.ts @@ -1,4 +1,4 @@ -import { MembersListFragment$data } from '../../../../__generated__/MembersListFragment.graphql' +import { MembersListFragment$data } from '../../../../../__generated__/MembersListFragment.graphql' type GroupMembers = NonNullable export type GroupMembersEdge = NonNullable diff --git a/packages/components/modules/messages/GroupDetails/index.tsx b/packages/components/modules/messages/web/GroupDetails/index.tsx similarity index 90% rename from packages/components/modules/messages/GroupDetails/index.tsx rename to packages/components/modules/messages/web/GroupDetails/index.tsx index 2dec802a..97500f42 100644 --- a/packages/components/modules/messages/GroupDetails/index.tsx +++ b/packages/components/modules/messages/web/GroupDetails/index.tsx @@ -3,20 +3,24 @@ import { FC, Suspense, useRef, useState } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { CircledAvatar, LoadingState } from '@baseapp-frontend/design-system' +import { CircledAvatar } from '@baseapp-frontend/design-system/components/web/avatars' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' import { Box, Typography, useTheme } from '@mui/material' import { ConnectionHandler, usePaginationFragment, usePreloadedQuery } from 'react-relay' import { Virtuoso } from 'react-virtuoso' -import { ChatRoomParticipantsPaginationQuery } from '../../../__generated__/ChatRoomParticipantsPaginationQuery.graphql' -import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../__generated__/GroupDetailsQuery.graphql' -import { MembersListFragment$key } from '../../../__generated__/MembersListFragment.graphql' +import { ChatRoomParticipantsPaginationQuery } from '../../../../__generated__/ChatRoomParticipantsPaginationQuery.graphql' +import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../../__generated__/GroupDetailsQuery.graphql' +import { MembersListFragment$key } from '../../../../__generated__/MembersListFragment.graphql' +import { + GroupDetailsQuery, + MembersListFragment, + getParticipantCountString, + useGroupNameAndAvatar, + useRoomListSubscription, +} from '../../common' import LeaveGroupDialog from '../__shared__/LeaveGroupDialog' -import { MembersListFragment } from '../graphql/fragments/MembersList' -import { GroupDetailsQuery } from '../graphql/queries/GroupDetailsQuery' -import useRoomListSubscription from '../graphql/subscriptions/useRoomListSubscription' -import { getParticipantCountString, useGroupNameAndAvatar } from '../utils' import { GroupDetailsHeader } from './GroupDetailsHeader' import DefaultProfileCard from './ProfileCard' import { CHAT_ROOM_PARTICIPANT_ROLES } from './ProfileCard/constants' diff --git a/packages/components/modules/messages/GroupDetails/styled.tsx b/packages/components/modules/messages/web/GroupDetails/styled.tsx similarity index 100% rename from packages/components/modules/messages/GroupDetails/styled.tsx rename to packages/components/modules/messages/web/GroupDetails/styled.tsx diff --git a/packages/components/modules/messages/GroupDetails/types.ts b/packages/components/modules/messages/web/GroupDetails/types.ts similarity index 91% rename from packages/components/modules/messages/GroupDetails/types.ts rename to packages/components/modules/messages/web/GroupDetails/types.ts index cd937b45..18b2394d 100644 --- a/packages/components/modules/messages/GroupDetails/types.ts +++ b/packages/components/modules/messages/web/GroupDetails/types.ts @@ -3,7 +3,7 @@ import { FC } from 'react' import { PreloadedQuery } from 'react-relay' import { VirtuosoProps } from 'react-virtuoso' -import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../__generated__/GroupDetailsQuery.graphql' +import { GroupDetailsQuery as GroupDetailsQueryType } from '../../../../__generated__/GroupDetailsQuery.graphql' import { ProfileCardProps } from './ProfileCard/types' export type GroupDetailsProps = { diff --git a/packages/components/modules/messages/MessageUpdate/index.tsx b/packages/components/modules/messages/web/MessageUpdate/index.tsx similarity index 93% rename from packages/components/modules/messages/MessageUpdate/index.tsx rename to packages/components/modules/messages/web/MessageUpdate/index.tsx index 18e5560d..a58731be 100644 --- a/packages/components/modules/messages/MessageUpdate/index.tsx +++ b/packages/components/modules/messages/web/MessageUpdate/index.tsx @@ -7,14 +7,13 @@ import { setFormRelayErrors } from '@baseapp-frontend/utils' import { zodResolver } from '@hookform/resolvers/zod' import { useForm } from 'react-hook-form' -import { UpdateSubmitActions } from '../../__shared__' -import DefaultSocialInput from '../../__shared__/SocialInput' import { SOCIAL_UPSERT_FORM, SOCIAL_UPSERT_FORM_VALIDATION_SCHEMA, -} from '../../__shared__/constants' -import { SocialUpsertForm } from '../../__shared__/types' -import { useMessageUpdateMutation } from '../graphql/mutations/MessageUpdate' + SocialUpsertForm, +} from '../../../__shared__/common' +import { SocialInput as DefaultSocialInput, UpdateSubmitActions } from '../../../__shared__/web' +import { useMessageUpdateMutation } from '../../common/graphql/mutations/MessageUpdate' import { MessageUpdateProps } from './types' /** diff --git a/packages/components/modules/messages/MessageUpdate/types.ts b/packages/components/modules/messages/web/MessageUpdate/types.ts similarity index 55% rename from packages/components/modules/messages/MessageUpdate/types.ts rename to packages/components/modules/messages/web/MessageUpdate/types.ts index a20ae461..34c3f766 100644 --- a/packages/components/modules/messages/MessageUpdate/types.ts +++ b/packages/components/modules/messages/web/MessageUpdate/types.ts @@ -1,7 +1,7 @@ import { FC } from 'react' -import { MessageItemFragment$data } from '../../../__generated__/MessageItemFragment.graphql' -import { type SocialInputProps } from '../../__shared__/SocialInput/types' +import { MessageItemFragment$data } from '../../../../__generated__/MessageItemFragment.graphql' +import { SocialInputProps } from '../../../__shared__/web' export interface MessageUpdateProps { message: MessageItemFragment$data diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/index.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/index.tsx similarity index 85% rename from packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/index.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/index.tsx index f2009d10..2d8f83e4 100644 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/index.tsx +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/index.tsx @@ -2,7 +2,7 @@ import { FC } from 'react' import { useFragment } from 'react-relay' -import { MessageItemFragment } from '../../../graphql/fragments/MessageItem' +import { MessageItemFragment } from '../../../../common' import { SystemMessageTypography } from './styled' import { SystemMessageProps } from './types' diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/styled.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/styled.tsx similarity index 100% rename from packages/components/modules/messages/MessagesList/MessagesGroup/SystemMessage/styled.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/styled.tsx diff --git a/packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/types.ts b/packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/types.ts new file mode 100644 index 00000000..ac9e24c1 --- /dev/null +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/SystemMessage/types.ts @@ -0,0 +1,5 @@ +import { MessageItemFragment$key } from '../../../../../../__generated__/MessageItemFragment.graphql' + +export interface SystemMessageProps { + messageRef: MessageItemFragment$key +} diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/index.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/index.tsx similarity index 86% rename from packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/index.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/index.tsx index c8475f1f..44f94e37 100644 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/index.tsx +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/index.tsx @@ -1,15 +1,18 @@ import { FC, useRef, useState } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { CopyIcon, DownloadIcon, PenEditIcon } from '@baseapp-frontend/design-system' +import { + CopyIcon, + DownloadIcon, + PenEditIcon, +} from '@baseapp-frontend/design-system/components/web/icons' import { Typography } from '@mui/material' import { useFragment } from 'react-relay' -import ActionsOverlay from '../../../../../__shared__/ActionsOverlay' -import { HOVER_OVERLAY_MODES } from '../../../../../__shared__/ActionsOverlay/constants' +import { ActionsOverlay, HOVER_OVERLAY_MODES } from '../../../../../../__shared__/web' +import { MessageItemFragment } from '../../../../../common' import MessageUpdate from '../../../../MessageUpdate' -import { MessageItemFragment } from '../../../../graphql/fragments/MessageItem' import { MessageItemContainer } from './styled' import { MessageItemProps } from './types' @@ -71,7 +74,7 @@ const MessageItem: FC = ({ messageRef, isFirstGroupedMessage } hasPermission: true, }, ]} - hoverOverlayMode={HOVER_OVERLAY_MODES.THREE_DOTS_MENU} + hoverOverlayMode={HOVER_OVERLAY_MODES.threeDotsMenu} enableDelete handleDeleteItem={() => {}} // TODO: Implement delete message isDeletingItem={false} diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/styled.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/styled.tsx similarity index 100% rename from packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/styled.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/styled.tsx diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/types.ts b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/types.ts similarity index 72% rename from packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/types.ts rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/types.ts index ade93782..5e8cd310 100644 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/MessageItem/types.ts +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/MessageItem/types.ts @@ -1,6 +1,6 @@ import { BoxProps } from '@mui/material' -import { MessageItemFragment$key } from '../../../../../../__generated__/MessageItemFragment.graphql' +import { MessageItemFragment$key } from '../../../../../../../__generated__/MessageItemFragment.graphql' export interface MessageItemProps { messageRef: MessageItemFragment$key diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/Timestamp/index.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/Timestamp/index.tsx similarity index 100% rename from packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/Timestamp/index.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/Timestamp/index.tsx diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/Timestamp/types.ts b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/Timestamp/types.ts similarity index 100% rename from packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/Timestamp/types.ts rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/Timestamp/types.ts diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/index.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/index.tsx similarity index 98% rename from packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/index.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/index.tsx index 023a498c..2ac246a2 100644 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/index.tsx +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/index.tsx @@ -1,12 +1,12 @@ import { FC, useCallback, useMemo } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' import { Box, Typography } from '@mui/material' import { DateTime } from 'luxon' -import { MAXIMUM_DIFF_TO_GROUP_MESSAGES_CREATED_TIME } from '../../../constants' +import { MAXIMUM_DIFF_TO_GROUP_MESSAGES_CREATED_TIME } from '../../../../common' import DefaultMessageItem from './MessageItem' import Timestamp from './Timestamp' import { UserMessageProps } from './types' diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/types.ts b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/types.ts similarity index 87% rename from packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/types.ts rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/types.ts index 8dcd33d7..361a4b03 100644 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/UserMessage/types.ts +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/UserMessage/types.ts @@ -1,6 +1,6 @@ import { FC } from 'react' -import { MessageNode } from '../../../types' +import { MessageNode } from '../../../../common' import { MessageItemProps } from './MessageItem/types' export interface UserMessageProps { diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/index.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/index.tsx similarity index 98% rename from packages/components/modules/messages/MessagesList/MessagesGroup/index.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/index.tsx index f38e2398..f4a60555 100644 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/index.tsx +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/index.tsx @@ -4,7 +4,7 @@ import { datesDontHaveSameDay } from '@baseapp-frontend/utils' import { Box, Divider, Typography, useTheme } from '@mui/material' -import { MESSAGE_TYPE } from '../../constants' +import { MESSAGE_TYPE } from '../../../common' import DefaultSystemMessage from './SystemMessage' import DefaultUserMessage from './UserMessage' import { DateGroupTypography } from './styled' diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/styled.tsx b/packages/components/modules/messages/web/MessagesList/MessagesGroup/styled.tsx similarity index 100% rename from packages/components/modules/messages/MessagesList/MessagesGroup/styled.tsx rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/styled.tsx diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/types.ts b/packages/components/modules/messages/web/MessagesList/MessagesGroup/types.ts similarity index 92% rename from packages/components/modules/messages/MessagesList/MessagesGroup/types.ts rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/types.ts index 1b470397..6a4b46bd 100644 --- a/packages/components/modules/messages/MessagesList/MessagesGroup/types.ts +++ b/packages/components/modules/messages/web/MessagesList/MessagesGroup/types.ts @@ -1,6 +1,6 @@ import { FC } from 'react' -import { MessageNode } from '../../types' +import { MessageNode } from '../../../common' import { SystemMessageProps } from './SystemMessage/types' import { UserMessageProps } from './UserMessage/types' diff --git a/packages/components/modules/messages/MessagesList/MessagesGroup/utils.ts b/packages/components/modules/messages/web/MessagesList/MessagesGroup/utils.ts similarity index 100% rename from packages/components/modules/messages/MessagesList/MessagesGroup/utils.ts rename to packages/components/modules/messages/web/MessagesList/MessagesGroup/utils.ts diff --git a/packages/components/modules/messages/MessagesList/constants.ts b/packages/components/modules/messages/web/MessagesList/constants.ts similarity index 100% rename from packages/components/modules/messages/MessagesList/constants.ts rename to packages/components/modules/messages/web/MessagesList/constants.ts diff --git a/packages/components/modules/messages/MessagesList/index.tsx b/packages/components/modules/messages/web/MessagesList/index.tsx similarity index 87% rename from packages/components/modules/messages/MessagesList/index.tsx rename to packages/components/modules/messages/web/MessagesList/index.tsx index 4918b773..a2843758 100644 --- a/packages/components/modules/messages/MessagesList/index.tsx +++ b/packages/components/modules/messages/web/MessagesList/index.tsx @@ -1,19 +1,21 @@ import { FC, useCallback, useEffect, useMemo, useRef } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { LoadingState } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' import { Box } from '@mui/material' import { usePaginationFragment } from 'react-relay' import { Virtuoso, VirtuosoHandle } from 'react-virtuoso' -import { ChatRoomMessagesListPaginationQuery } from '../../../__generated__/ChatRoomMessagesListPaginationQuery.graphql' -import { MessagesListFragment$key } from '../../../__generated__/MessagesListFragment.graphql' -import { MESSAGE_TYPE } from '../constants' -import { useChatRoom } from '../context' -import { MessagesListFragment } from '../graphql/fragments/MessagesList' -import { useReadMessageMutation } from '../graphql/mutations/ReadMessages' -import useMessagesListSubscription from '../graphql/subscriptions/useMessagesListSubscription' +import { ChatRoomMessagesListPaginationQuery } from '../../../../__generated__/ChatRoomMessagesListPaginationQuery.graphql' +import { MessagesListFragment$key } from '../../../../__generated__/MessagesListFragment.graphql' +import { + MESSAGE_TYPE, + MessagesListFragment, + useChatRoom, + useMessagesListSubscription, + useReadMessageMutation, +} from '../../common' import DefaultMessagesGroup from './MessagesGroup' import { MESSAGES_TO_LOAD_NEXT } from './constants' import { MessagesListProps } from './types' diff --git a/packages/components/modules/messages/MessagesList/types.ts b/packages/components/modules/messages/web/MessagesList/types.ts similarity index 78% rename from packages/components/modules/messages/MessagesList/types.ts rename to packages/components/modules/messages/web/MessagesList/types.ts index 032ccb8c..7369b70c 100644 --- a/packages/components/modules/messages/MessagesList/types.ts +++ b/packages/components/modules/messages/web/MessagesList/types.ts @@ -2,7 +2,7 @@ import { FC } from 'react' import { VirtuosoProps } from 'react-virtuoso' -import { MessagesListFragment$key } from '../../../__generated__/MessagesListFragment.graphql' +import { MessagesListFragment$key } from '../../../../__generated__/MessagesListFragment.graphql' import { MessagesGroupProps } from './MessagesGroup/types' export interface MessagesListProps { diff --git a/packages/components/modules/messages/SendMessage/__storybook__/MessagesModule.mdx b/packages/components/modules/messages/web/SendMessage/__storybook__/MessagesModule.mdx similarity index 96% rename from packages/components/modules/messages/SendMessage/__storybook__/MessagesModule.mdx rename to packages/components/modules/messages/web/SendMessage/__storybook__/MessagesModule.mdx index 9b1e6783..3d068ee0 100644 --- a/packages/components/modules/messages/SendMessage/__storybook__/MessagesModule.mdx +++ b/packages/components/modules/messages/web/SendMessage/__storybook__/MessagesModule.mdx @@ -32,7 +32,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { SendMessage } from '@baseapp-frontend/design-system' +import { SendMessage } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return diff --git a/packages/components/modules/messages/SendMessage/__storybook__/stories.tsx b/packages/components/modules/messages/web/SendMessage/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/messages/SendMessage/__storybook__/stories.tsx rename to packages/components/modules/messages/web/SendMessage/__storybook__/stories.tsx diff --git a/packages/components/modules/messages/SendMessage/index.tsx b/packages/components/modules/messages/web/SendMessage/index.tsx similarity index 94% rename from packages/components/modules/messages/SendMessage/index.tsx rename to packages/components/modules/messages/web/SendMessage/index.tsx index 00ff308f..15a9214f 100644 --- a/packages/components/modules/messages/SendMessage/index.tsx +++ b/packages/components/modules/messages/web/SendMessage/index.tsx @@ -9,13 +9,13 @@ import { zodResolver } from '@hookform/resolvers/zod' import { useForm } from 'react-hook-form' import { ConnectionHandler } from 'react-relay' -import DefaultSocialInput from '../../__shared__/SocialInput' import { DEFAULT_SOCIAL_UPSERT_FORM_VALUES, SOCIAL_UPSERT_FORM_VALIDATION_SCHEMA, -} from '../../__shared__/constants' -import { SocialUpsertForm } from '../../__shared__/types' -import { useSendMessageMutation } from '../graphql/mutations/SendMessage' + SocialUpsertForm, +} from '../../../__shared__/common' +import { SocialInput as DefaultSocialInput } from '../../../__shared__/web' +import { useSendMessageMutation } from '../../common' import { SendMessageProps } from './types' let nextClientMutationId = 0 diff --git a/packages/components/modules/messages/SendMessage/types.ts b/packages/components/modules/messages/web/SendMessage/types.ts similarity index 69% rename from packages/components/modules/messages/SendMessage/types.ts rename to packages/components/modules/messages/web/SendMessage/types.ts index 88f32660..8c4f26df 100644 --- a/packages/components/modules/messages/SendMessage/types.ts +++ b/packages/components/modules/messages/web/SendMessage/types.ts @@ -1,6 +1,6 @@ import { FC } from 'react' -import { type SocialInputProps } from '../../__shared__/SocialInput/types' +import { SocialInputProps } from '../../../__shared__/web' export interface SendMessageProps { roomId: string diff --git a/packages/components/modules/messages/__shared__/EditGroupTitleAndImage/constants.tsx b/packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/constants.tsx similarity index 100% rename from packages/components/modules/messages/__shared__/EditGroupTitleAndImage/constants.tsx rename to packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/constants.tsx diff --git a/packages/components/modules/messages/__shared__/EditGroupTitleAndImage/index.tsx b/packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/index.tsx similarity index 88% rename from packages/components/modules/messages/__shared__/EditGroupTitleAndImage/index.tsx rename to packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/index.tsx index 50010400..13b2b208 100644 --- a/packages/components/modules/messages/__shared__/EditGroupTitleAndImage/index.tsx +++ b/packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/index.tsx @@ -1,6 +1,8 @@ import { FC } from 'react' -import { CircledAvatar, FileUploadButton, TextField } from '@baseapp-frontend/design-system' +import { CircledAvatar } from '@baseapp-frontend/design-system/components/web/avatars' +import { FileUploadButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { TextField } from '@baseapp-frontend/design-system/components/web/inputs' import { Box, Button, Typography, useTheme } from '@mui/material' diff --git a/packages/components/modules/messages/__shared__/EditGroupTitleAndImage/styled.tsx b/packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/styled.tsx similarity index 100% rename from packages/components/modules/messages/__shared__/EditGroupTitleAndImage/styled.tsx rename to packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/styled.tsx diff --git a/packages/components/modules/messages/__shared__/EditGroupTitleAndImage/types.ts b/packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/types.ts similarity index 84% rename from packages/components/modules/messages/__shared__/EditGroupTitleAndImage/types.ts rename to packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/types.ts index 4fe4fab9..1c80b2c5 100644 --- a/packages/components/modules/messages/__shared__/EditGroupTitleAndImage/types.ts +++ b/packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/types.ts @@ -1,5 +1,7 @@ import { Control, FieldError, UseFormSetValue, UseFormTrigger, UseFormWatch } from 'react-hook-form' +import { TitleAndImage } from '../types' + export interface EditGroupTitleAndImageProps { control: Control FORM_VALUE: Record @@ -10,8 +12,3 @@ export interface EditGroupTitleAndImageProps { trigger: UseFormTrigger watch: UseFormWatch } - -export interface TitleAndImage { - title: string - image?: string | File | Blob | null -} diff --git a/packages/components/modules/messages/__shared__/EditGroupTitleAndImage/utils.ts b/packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/utils.ts similarity index 100% rename from packages/components/modules/messages/__shared__/EditGroupTitleAndImage/utils.ts rename to packages/components/modules/messages/web/__shared__/EditGroupTitleAndImage/utils.ts diff --git a/packages/components/modules/messages/EmptyProfilesListState/index.tsx b/packages/components/modules/messages/web/__shared__/EmptyProfilesListState/index.tsx similarity index 95% rename from packages/components/modules/messages/EmptyProfilesListState/index.tsx rename to packages/components/modules/messages/web/__shared__/EmptyProfilesListState/index.tsx index 9f8a9863..652caf31 100644 --- a/packages/components/modules/messages/EmptyProfilesListState/index.tsx +++ b/packages/components/modules/messages/web/__shared__/EmptyProfilesListState/index.tsx @@ -1,4 +1,4 @@ -import { WeAreHiringImage } from '@baseapp-frontend/design-system' +import { WeAreHiringImage } from '@baseapp-frontend/design-system/components/web/illustrations' import { Box, Typography } from '@mui/material' diff --git a/packages/components/modules/messages/__shared__/LeaveGroupDialog/index.tsx b/packages/components/modules/messages/web/__shared__/LeaveGroupDialog/index.tsx similarity index 92% rename from packages/components/modules/messages/__shared__/LeaveGroupDialog/index.tsx rename to packages/components/modules/messages/web/__shared__/LeaveGroupDialog/index.tsx index 4f4d10e1..b7f0f884 100644 --- a/packages/components/modules/messages/__shared__/LeaveGroupDialog/index.tsx +++ b/packages/components/modules/messages/web/__shared__/LeaveGroupDialog/index.tsx @@ -2,13 +2,13 @@ import { FC } from 'react' -import { ConfirmDialog } from '@baseapp-frontend/design-system' +import { ConfirmDialog } from '@baseapp-frontend/design-system/components/web/dialogs' import { useNotification } from '@baseapp-frontend/utils' import { LoadingButton } from '@mui/lab' import { ConnectionHandler } from 'react-relay' -import { useUpdateChatRoomMutation } from '../../graphql/mutations/UpdateChatRoom' +import { useUpdateChatRoomMutation } from '../../../common' import { LeaveGroupDialogProps } from './types' const LeaveGroupDialog: FC = ({ diff --git a/packages/components/modules/messages/__shared__/LeaveGroupDialog/types.ts b/packages/components/modules/messages/web/__shared__/LeaveGroupDialog/types.ts similarity index 100% rename from packages/components/modules/messages/__shared__/LeaveGroupDialog/types.ts rename to packages/components/modules/messages/web/__shared__/LeaveGroupDialog/types.ts diff --git a/packages/components/modules/messages/web/__shared__/types.ts b/packages/components/modules/messages/web/__shared__/types.ts new file mode 100644 index 00000000..4961a6ed --- /dev/null +++ b/packages/components/modules/messages/web/__shared__/types.ts @@ -0,0 +1,4 @@ +export interface TitleAndImage { + title: string + image?: string | File | Blob | null +} diff --git a/packages/components/modules/messages/web/index.ts b/packages/components/modules/messages/web/index.ts new file mode 100644 index 00000000..75135ae3 --- /dev/null +++ b/packages/components/modules/messages/web/index.ts @@ -0,0 +1,28 @@ +// exports web messages components + +export { default as ChatRoom } from './ChatRoom' +export type * from './ChatRoom/types' + +export { default as ChatRoomsList } from './ChatRoomsList' +export type * from './ChatRoomsList/types' + +export { default as CreateChatRoomList } from './CreateChatRoomList' +export type * from './CreateChatRoomList/types' + +export { default as CreateGroup } from './CreateGroup' +export type * from './CreateGroup/types' + +export { default as EditGroup } from './EditGroup' +export type * from './EditGroup/types' + +export { default as GroupDetails } from './GroupDetails' +export type * from './GroupDetails/types' + +export { default as MessagesList } from './MessagesList' +export type * from './MessagesList/types' + +export { default as MessageUpdate } from './MessageUpdate' +export type * from './MessageUpdate/types' + +export { default as SendMessage } from './SendMessage' +export type * from './SendMessage/types' diff --git a/packages/components/modules/navigations/README.md b/packages/components/modules/navigations/README.md new file mode 100644 index 00000000..0ee40415 --- /dev/null +++ b/packages/components/modules/navigations/README.md @@ -0,0 +1,15 @@ +# Module: `navigations` + +This module is divided into three primary folders: + +- **`common/`**: Contains platform-independent logic (utilities, hooks, or components that work in both web and native). + - Can import from within or other `common/` folders. + - Must not import from `web/` or `native/`. +- **`web/`**: Contains web-specific components and logic (e.g., React DOM, browser APIs, Material UI and others). + - Can import from within or `common/`. + - Must not import from `native/`. +- **`native/`**: Contains native-specific components and logic (e.g., React Native, Expo, React Native Paper and others) + - Can import from within or `common/`. + - Must not import from `web/`. + +This structure ensures platform-specific code remains isolated, while shared code lives in one place. diff --git a/packages/components/modules/navigations/common/index.ts b/packages/components/modules/navigations/common/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/navigations/native/index.ts b/packages/components/modules/navigations/native/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/CurrentUser/index.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/CurrentUser/index.tsx similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/CurrentUser/index.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/CurrentUser/index.tsx diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/LogoutItem/index.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/LogoutItem/index.tsx similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/LogoutItem/index.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/LogoutItem/index.tsx diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/LogoutItem/types.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/LogoutItem/types.ts similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/LogoutItem/types.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/LogoutItem/types.ts diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/MenuItems/index.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/MenuItems/index.tsx similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/MenuItems/index.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/MenuItems/index.tsx diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/MenuItems/types.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/MenuItems/types.ts similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/MenuItems/types.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/MenuItems/types.ts diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/AccountPopover.mdx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/AccountPopover.mdx similarity index 97% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/AccountPopover.mdx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/AccountPopover.mdx index 22282e97..b68827ca 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/AccountPopover.mdx +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/AccountPopover.mdx @@ -43,7 +43,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { AccountPopover } from '@baseapp-frontend/design-system' +import { AccountPopover } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( @@ -74,4 +74,4 @@ const MyComponent = () => { ) } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/mockResolvers.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/mockResolvers.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-1.png b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-1.png similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-1.png rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-1.png diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-2.png b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-2.png similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-2.png rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-2.png diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-3.png b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-3.png similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-3.png rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-3.png diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-4.png b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-4.png similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/static/profile-4.png rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/static/profile-4.png diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/stories.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/stories.tsx similarity index 94% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/stories.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/stories.tsx index c82da4e8..bf3812d3 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__storybook__/stories.tsx +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__storybook__/stories.tsx @@ -4,7 +4,7 @@ import { createTestEnvironment } from '@baseapp-frontend/graphql' import { Meta, StoryObj } from '@storybook/react' import AccountPopover from '..' -import { withTokenSetup } from '../../../../../../.storybook/decorators' +import { withTokenSetup } from '../../../../../../../.storybook/decorators' import { AccountPopoverProps } from '../types' import { mockResolvers } from './mockResolvers' diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/AccountPopover.cy.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/AccountPopover.cy.tsx similarity index 98% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/AccountPopover.cy.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/AccountPopover.cy.tsx index 308ea5a5..15bc531e 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/AccountPopover.cy.tsx +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/AccountPopover.cy.tsx @@ -4,13 +4,13 @@ import * as utilsPackage from '@baseapp-frontend/utils' import 'cypress-wait-until' +import AccountPopoverForTesting from './AccountPopoverForTesting' import { mockAddProfileData, mockProfilesListFactory, mockUserProfileData, } from './__mocks__/profiles' import { userMockData } from './__mocks__/user' -import AccountPopoverForTesting from './__utils__/AccountPopoverForTesting' describe('AccountPopover', () => { beforeEach(() => { diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/AccountPopoverForTesting/index.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/AccountPopoverForTesting/index.tsx similarity index 68% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/AccountPopoverForTesting/index.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/AccountPopoverForTesting/index.tsx index afb65f32..4f77a677 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/AccountPopoverForTesting/index.tsx +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/AccountPopoverForTesting/index.tsx @@ -1,5 +1,5 @@ -import AccountPopover from '../../../index' -import { AccountPopoverProps } from '../../../types' +import AccountPopover from '../..' +import { AccountPopoverProps } from '../../types' import withProviders from '../withProviders' const AccountPopoverForTesting = (props?: Partial) => ( diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__mocks__/profiles.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/__mocks__/profiles.ts similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__mocks__/profiles.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/__mocks__/profiles.ts diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__mocks__/theme.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/__mocks__/theme.ts similarity index 72% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__mocks__/theme.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/__mocks__/theme.ts index 5093a3d9..338e75ab 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__mocks__/theme.ts +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/__mocks__/theme.ts @@ -1,19 +1,17 @@ +import { ThemeProviderProps } from '@baseapp-frontend/design-system/providers/web' import { - ThemeProviderProps, breakpoints, createCustomShadows, createPalette, createShadows, - primaryFont, - secondaryFont, typography, -} from '@baseapp-frontend/design-system' +} from '@baseapp-frontend/design-system/styles/web' const defaultTheme: ThemeProviderProps = { palette: createPalette('light'), breakpoints: breakpoints, - primaryFont: primaryFont, - secondaryFont: secondaryFont, + primaryFont: undefined, + secondaryFont: undefined, settings: { themeMode: 'light', themeContrast: 'default', diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__mocks__/user.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/__mocks__/user.ts similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__mocks__/user.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/__mocks__/user.ts diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/withProviders/index.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/withProviders/index.tsx similarity index 86% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/withProviders/index.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/withProviders/index.tsx index 84a55e41..a852ed26 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/withProviders/index.tsx +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/withProviders/index.tsx @@ -1,15 +1,15 @@ import { FC } from 'react' import { InitialProfileProviderForTesting } from '@baseapp-frontend/authentication' -import { ThemeProvider } from '@baseapp-frontend/design-system' +import { ThemeProvider } from '@baseapp-frontend/design-system/providers/web' import { RelayTestProvider } from '@baseapp-frontend/graphql' import { NotificationProvider } from '@baseapp-frontend/utils' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { Provider as JotaiProvider } from 'jotai' -import { AccountPopoverProps } from '../../../types' -import defaultTheme from '../../__mocks__/theme' +import { AccountPopoverProps } from '../../types' +import defaultTheme from '../__mocks__/theme' import { WithProvidersOptions } from './types' const queryClient = new QueryClient() diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/withProviders/types.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/withProviders/types.ts similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/__tests__/__utils__/withProviders/types.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/__tests__/withProviders/types.ts diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/index.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/index.tsx similarity index 91% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/index.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/index.tsx index ae61aa25..ec802b9e 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/index.tsx +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/index.tsx @@ -3,16 +3,19 @@ import { FC, useEffect, useState } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { ClickableAvatar, Popover, usePopover } from '@baseapp-frontend/design-system' +import { ClickableAvatar } from '@baseapp-frontend/design-system/components/web/avatars' +import { Popover } from '@baseapp-frontend/design-system/components/web/popovers' +import { usePopover } from '@baseapp-frontend/design-system/hooks/common' import Divider from '@mui/material/Divider' +// TODO: review importing components directly from another module import { AddProfileMenuItem as DefaultAddProfileMenuItem, CurrentProfile as DefaultCurrentProfile, ProfilesList as DefaultProfilesList, SwitchProfileMenu as DefaultSwitchProfileMenu, -} from '../../../../profiles' +} from '../../../../../profiles/web' import DefaultCurrentUser from './CurrentUser' import LogoutItem from './LogoutItem' import DefaultMenuItems from './MenuItems' diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/styled.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/styled.tsx similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/styled.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/styled.tsx diff --git a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/types.ts b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/types.ts similarity index 75% rename from packages/components/modules/navigations/Header/AccountMenu/AccountPopover/types.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/types.ts index d84dffc1..70948436 100644 --- a/packages/components/modules/navigations/Header/AccountMenu/AccountPopover/types.ts +++ b/packages/components/modules/navigations/web/Header/AccountMenu/AccountPopover/types.ts @@ -2,9 +2,11 @@ import type { FC } from 'react' import type { CSSProperties } from '@mui/material/styles/createMixins' -import type { AddProfileMenuItemProps } from '../../../../profiles/ProfilePopover/AddProfileMenuItem/types' -import type { ProfilesListProps } from '../../../../profiles/ProfilePopover/ProfilesList/types' -import type { SwitchProfileMenuProps } from '../../../../profiles/ProfilePopover/SwitchProfileMenu/types' +import type { + AddProfileMenuItemProps, + ProfilesListProps, + SwitchProfileMenuProps, +} from '../../../../../profiles/web' import type { LogoutItemProps } from './LogoutItem/types' import type { MenuItemsProps } from './MenuItems/types' diff --git a/packages/components/modules/navigations/Header/AccountMenu/index.tsx b/packages/components/modules/navigations/web/Header/AccountMenu/index.tsx similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/index.tsx rename to packages/components/modules/navigations/web/Header/AccountMenu/index.tsx diff --git a/packages/components/modules/navigations/Header/AccountMenu/types.ts b/packages/components/modules/navigations/web/Header/AccountMenu/types.ts similarity index 100% rename from packages/components/modules/navigations/Header/AccountMenu/types.ts rename to packages/components/modules/navigations/web/Header/AccountMenu/types.ts diff --git a/packages/components/modules/navigations/Header/__storybook__/Header.mdx b/packages/components/modules/navigations/web/Header/__storybook__/Header.mdx similarity index 90% rename from packages/components/modules/navigations/Header/__storybook__/Header.mdx rename to packages/components/modules/navigations/web/Header/__storybook__/Header.mdx index 13e75bea..3dc2a91f 100644 --- a/packages/components/modules/navigations/Header/__storybook__/Header.mdx +++ b/packages/components/modules/navigations/web/Header/__storybook__/Header.mdx @@ -40,9 +40,9 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { Header } from '@baseapp-frontend/design-system' -import { LogoIcon } from '@baseapp-frontend/design-system' -import { AccountMenu } from '@baseapp-frontend/design-system' +import { Header } from '@baseapp-frontend/design-system/web' +import { LogoIcon } from '@baseapp-frontend/design-system/web' +import { AccountMenu } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( @@ -54,4 +54,4 @@ const MyComponent = () => { } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/navigations/Header/__storybook__/stories.tsx b/packages/components/modules/navigations/web/Header/__storybook__/stories.tsx similarity index 86% rename from packages/components/modules/navigations/Header/__storybook__/stories.tsx rename to packages/components/modules/navigations/web/Header/__storybook__/stories.tsx index cbf3e029..7f788290 100644 --- a/packages/components/modules/navigations/Header/__storybook__/stories.tsx +++ b/packages/components/modules/navigations/web/Header/__storybook__/stories.tsx @@ -1,10 +1,13 @@ -import { BaseAppLogoCondensed, SendMessageIcon } from '@baseapp-frontend/design-system' +import { + BaseAppLogoCondensed, + SendMessageIcon, +} from '@baseapp-frontend/design-system/components/web/icons' import { Meta, StoryObj } from '@storybook/react' import Header from '..' -import defaultTheme from '../../../../.storybook/__mocks__/theme' -import { withTokenSetup } from '../../../../.storybook/decorators' +import defaultTheme from '../../../../../.storybook/__mocks__/theme' +import { withTokenSetup } from '../../../../../.storybook/decorators' import { HeaderProps } from '../types' const meta: Meta = { diff --git a/packages/components/modules/navigations/Header/index.tsx b/packages/components/modules/navigations/web/Header/index.tsx similarity index 89% rename from packages/components/modules/navigations/Header/index.tsx rename to packages/components/modules/navigations/web/Header/index.tsx index abb04000..12147281 100644 --- a/packages/components/modules/navigations/Header/index.tsx +++ b/packages/components/modules/navigations/web/Header/index.tsx @@ -2,7 +2,8 @@ import { FC } from 'react' -import { Logo, MenuIcon } from '@baseapp-frontend/design-system' +import { MenuIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Logo } from '@baseapp-frontend/design-system/components/web/logos' import IconButton from '@mui/material/IconButton' import Toolbar from '@mui/material/Toolbar' diff --git a/packages/components/modules/navigations/Header/styled.tsx b/packages/components/modules/navigations/web/Header/styled.tsx similarity index 95% rename from packages/components/modules/navigations/Header/styled.tsx rename to packages/components/modules/navigations/web/Header/styled.tsx index b7b00200..1ae4b5e5 100644 --- a/packages/components/modules/navigations/Header/styled.tsx +++ b/packages/components/modules/navigations/web/Header/styled.tsx @@ -1,4 +1,4 @@ -import { bgBlur } from '@baseapp-frontend/design-system' +import { bgBlur } from '@baseapp-frontend/design-system/styles/web' import { AppBar } from '@mui/material' import { styled } from '@mui/material/styles' diff --git a/packages/components/modules/navigations/Header/types.ts b/packages/components/modules/navigations/web/Header/types.ts similarity index 96% rename from packages/components/modules/navigations/Header/types.ts rename to packages/components/modules/navigations/web/Header/types.ts index d60a4ebc..415f77af 100644 --- a/packages/components/modules/navigations/Header/types.ts +++ b/packages/components/modules/navigations/web/Header/types.ts @@ -1,6 +1,6 @@ import { FC, PropsWithChildren } from 'react' -import { ThemeLayout, UISettings } from '@baseapp-frontend/design-system' +import { ThemeLayout, UISettings } from '@baseapp-frontend/design-system/styles/web' import { AppBarProps, ToolbarProps as MuiToolbarProps } from '@mui/material' diff --git a/packages/components/modules/navigations/NavCentered/__storybook__/NavCentered.mdx b/packages/components/modules/navigations/web/NavCentered/__storybook__/NavCentered.mdx similarity index 96% rename from packages/components/modules/navigations/NavCentered/__storybook__/NavCentered.mdx rename to packages/components/modules/navigations/web/NavCentered/__storybook__/NavCentered.mdx index 1d1d9ec4..7f8e5506 100644 --- a/packages/components/modules/navigations/NavCentered/__storybook__/NavCentered.mdx +++ b/packages/components/modules/navigations/web/NavCentered/__storybook__/NavCentered.mdx @@ -36,7 +36,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { NavCentered } from '@baseapp-frontend/design-system' +import { NavCentered } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [openNav, setOpenNav] = useState(false) @@ -54,4 +54,4 @@ const MyComponent = () => { } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/navigations/NavCentered/__storybook__/stories.tsx b/packages/components/modules/navigations/web/NavCentered/__storybook__/stories.tsx similarity index 86% rename from packages/components/modules/navigations/NavCentered/__storybook__/stories.tsx rename to packages/components/modules/navigations/web/NavCentered/__storybook__/stories.tsx index 4e8c70c2..34ce6698 100644 --- a/packages/components/modules/navigations/NavCentered/__storybook__/stories.tsx +++ b/packages/components/modules/navigations/web/NavCentered/__storybook__/stories.tsx @@ -1,7 +1,7 @@ import { Meta, StoryObj } from '@storybook/react' import NavCentered from '..' -import { navDataMock } from '../../../../.storybook/__mocks__/navigation' +import { navDataMock } from '../../../../../.storybook/__mocks__/navigation' import { NavCenteredProps } from '../types' const meta: Meta = { diff --git a/packages/components/modules/navigations/NavCentered/index.tsx b/packages/components/modules/navigations/web/NavCentered/index.tsx similarity index 68% rename from packages/components/modules/navigations/NavCentered/index.tsx rename to packages/components/modules/navigations/web/NavCentered/index.tsx index 558961a2..9cc8382c 100644 --- a/packages/components/modules/navigations/NavCentered/index.tsx +++ b/packages/components/modules/navigations/web/NavCentered/index.tsx @@ -2,10 +2,11 @@ import React, { FC, memo } from 'react' -import { Scrollbar, useResponsive } from '@baseapp-frontend/design-system' +import { Scrollbar } from '@baseapp-frontend/design-system/components/web/scrollbars' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' -import NavSectionHorizontal from '../shared/NavSectionHorizontal' -import VerticalDrawer from '../shared/VerticalDrawer' +import NavSectionHorizontal from '../__shared__/NavSectionHorizontal' +import VerticalDrawer from '../__shared__/VerticalDrawer' import { NavCenteredProps } from './types' const NavCentered: FC = ({ navData, openNav, onCloseNav }) => { diff --git a/packages/components/modules/navigations/NavCentered/types.ts b/packages/components/modules/navigations/web/NavCentered/types.ts similarity index 100% rename from packages/components/modules/navigations/NavCentered/types.ts rename to packages/components/modules/navigations/web/NavCentered/types.ts diff --git a/packages/components/modules/navigations/NavHorizontal/HeaderShadow/index.tsx b/packages/components/modules/navigations/web/NavHorizontal/HeaderShadow/index.tsx similarity index 100% rename from packages/components/modules/navigations/NavHorizontal/HeaderShadow/index.tsx rename to packages/components/modules/navigations/web/NavHorizontal/HeaderShadow/index.tsx diff --git a/packages/components/modules/navigations/NavHorizontal/__storybook__/NavHorizontal.mdx b/packages/components/modules/navigations/web/NavHorizontal/__storybook__/NavHorizontal.mdx similarity index 95% rename from packages/components/modules/navigations/NavHorizontal/__storybook__/NavHorizontal.mdx rename to packages/components/modules/navigations/web/NavHorizontal/__storybook__/NavHorizontal.mdx index 1279f39f..9a0874f6 100644 --- a/packages/components/modules/navigations/NavHorizontal/__storybook__/NavHorizontal.mdx +++ b/packages/components/modules/navigations/web/NavHorizontal/__storybook__/NavHorizontal.mdx @@ -22,7 +22,7 @@ import { Meta } from '@storybook/addon-docs' ## Props - **navData** (array): Navigation items data containing routes and content -- **openNav** (boolean): Controls visibility of mobile navigation drawer +- **openNav** (boolean): Controls visibility of mobile navigation drawer - **onCloseNav** (function): Callback when mobile navigation drawer closes ## Notes @@ -37,7 +37,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { NavHorizontal } from '@baseapp-frontend/design-system' +import { NavHorizontal } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [openNav, setOpenNav] = useState(false) @@ -55,4 +55,4 @@ const MyComponent = () => { } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/navigations/NavHorizontal/__storybook__/stories.tsx b/packages/components/modules/navigations/web/NavHorizontal/__storybook__/stories.tsx similarity index 85% rename from packages/components/modules/navigations/NavHorizontal/__storybook__/stories.tsx rename to packages/components/modules/navigations/web/NavHorizontal/__storybook__/stories.tsx index a2ce6710..ed2ef812 100644 --- a/packages/components/modules/navigations/NavHorizontal/__storybook__/stories.tsx +++ b/packages/components/modules/navigations/web/NavHorizontal/__storybook__/stories.tsx @@ -1,7 +1,7 @@ import { Meta, StoryObj } from '@storybook/react' import NavHorizontal from '..' -import { navDataMock } from '../../../../.storybook/__mocks__/navigation' +import { navDataMock } from '../../../../../.storybook/__mocks__/navigation' import { NavHorizontalProps } from '../types' const meta: Meta = { diff --git a/packages/components/modules/navigations/NavHorizontal/index.tsx b/packages/components/modules/navigations/web/NavHorizontal/index.tsx similarity index 77% rename from packages/components/modules/navigations/NavHorizontal/index.tsx rename to packages/components/modules/navigations/web/NavHorizontal/index.tsx index 8a8181c4..bcf63506 100644 --- a/packages/components/modules/navigations/NavHorizontal/index.tsx +++ b/packages/components/modules/navigations/web/NavHorizontal/index.tsx @@ -2,15 +2,17 @@ import { FC, memo } from 'react' -import { Scrollbar, bgBlur, useResponsive } from '@baseapp-frontend/design-system' +import { Scrollbar } from '@baseapp-frontend/design-system/components/web/scrollbars' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' +import { bgBlur } from '@baseapp-frontend/design-system/styles/web' import AppBar from '@mui/material/AppBar' import Toolbar from '@mui/material/Toolbar' import { useTheme } from '@mui/material/styles' +import NavSectionHorizontal from '../__shared__/NavSectionHorizontal' +import VerticalDrawer from '../__shared__/VerticalDrawer' import { HEADER_HEIGHT } from '../constants' -import NavSectionHorizontal from '../shared/NavSectionHorizontal' -import VerticalDrawer from '../shared/VerticalDrawer' import HeaderShadow from './HeaderShadow' import { NavHorizontalProps } from './types' diff --git a/packages/components/modules/navigations/NavHorizontal/types.ts b/packages/components/modules/navigations/web/NavHorizontal/types.ts similarity index 100% rename from packages/components/modules/navigations/NavHorizontal/types.ts rename to packages/components/modules/navigations/web/NavHorizontal/types.ts diff --git a/packages/components/modules/navigations/NavMini/NavSectionMini/NavList/NavItem/index.tsx b/packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/NavItem/index.tsx similarity index 92% rename from packages/components/modules/navigations/NavMini/NavSectionMini/NavList/NavItem/index.tsx rename to packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/NavItem/index.tsx index 4209f0ec..2453c534 100644 --- a/packages/components/modules/navigations/NavMini/NavSectionMini/NavList/NavItem/index.tsx +++ b/packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/NavItem/index.tsx @@ -1,6 +1,7 @@ import React, { forwardRef } from 'react' -import { ChevronIcon, Iconify } from '@baseapp-frontend/design-system' +import { ChevronIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Iconify } from '@baseapp-frontend/design-system/components/web/images' import Box from '@mui/material/Box' import Link from '@mui/material/Link' diff --git a/packages/components/modules/navigations/NavMini/NavSectionMini/NavList/NavItem/styled.tsx b/packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/NavItem/styled.tsx similarity index 100% rename from packages/components/modules/navigations/NavMini/NavSectionMini/NavList/NavItem/styled.tsx rename to packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/NavItem/styled.tsx diff --git a/packages/components/modules/navigations/NavMini/NavSectionMini/NavList/index.tsx b/packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/index.tsx similarity index 97% rename from packages/components/modules/navigations/NavMini/NavSectionMini/NavList/index.tsx rename to packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/index.tsx index 28675594..a25ea982 100644 --- a/packages/components/modules/navigations/NavMini/NavSectionMini/NavList/index.tsx +++ b/packages/components/modules/navigations/web/NavMini/NavSectionMini/NavList/index.tsx @@ -6,7 +6,7 @@ import Popover from '@mui/material/Popover' import Stack from '@mui/material/Stack' import { usePathname } from 'next/navigation' -import { useActiveLink } from '../../../shared/useActiveLink' +import { useActiveLink } from '../../../__shared__/useActiveLink' import type { NavListProps } from '../../../types' import NavItem from './NavItem' diff --git a/packages/components/modules/navigations/NavMini/NavSectionMini/index.tsx b/packages/components/modules/navigations/web/NavMini/NavSectionMini/index.tsx similarity index 100% rename from packages/components/modules/navigations/NavMini/NavSectionMini/index.tsx rename to packages/components/modules/navigations/web/NavMini/NavSectionMini/index.tsx diff --git a/packages/components/modules/navigations/NavMini/__storybook__/NavMini.mdx b/packages/components/modules/navigations/web/NavMini/__storybook__/NavMini.mdx similarity index 91% rename from packages/components/modules/navigations/NavMini/__storybook__/NavMini.mdx rename to packages/components/modules/navigations/web/NavMini/__storybook__/NavMini.mdx index 88250694..d9f2d75e 100644 --- a/packages/components/modules/navigations/NavMini/__storybook__/NavMini.mdx +++ b/packages/components/modules/navigations/web/NavMini/__storybook__/NavMini.mdx @@ -3,6 +3,7 @@ import { Meta } from '@storybook/addon-docs' # Component Documentation + ## NavMini - **Purpose**: A compact navigation component that provides a fixed-width mini sidebar menu with icon-only display for desktop views and transforms into a drawer for mobile views. @@ -41,9 +42,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { NavMini } from '@baseapp-frontend/design-system' -import { FavoriteIcon, MentionIcon, MenuIcon, PenEditIcon } from '@baseapp-frontend/design-system' -import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system' +import { NavMini, FavoriteIcon, MentionIcon, MenuIcon, PenEditIcon, BaseAppLogoCondensed } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( @@ -72,4 +71,4 @@ const MyComponent = () => { } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/navigations/NavMini/__storybook__/stories.tsx b/packages/components/modules/navigations/web/NavMini/__storybook__/stories.tsx similarity index 77% rename from packages/components/modules/navigations/NavMini/__storybook__/stories.tsx rename to packages/components/modules/navigations/web/NavMini/__storybook__/stories.tsx index a08ff5ed..4fdd2d52 100644 --- a/packages/components/modules/navigations/NavMini/__storybook__/stories.tsx +++ b/packages/components/modules/navigations/web/NavMini/__storybook__/stories.tsx @@ -1,10 +1,10 @@ -import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system' +import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system/components/web/icons' import { Meta, StoryObj } from '@storybook/react' import NavMini from '..' -import { navDataMock } from '../../../../.storybook/__mocks__/navigation' -import defaultTheme from '../../../../.storybook/__mocks__/theme' +import { navDataMock } from '../../../../../.storybook/__mocks__/navigation' +import defaultTheme from '../../../../../.storybook/__mocks__/theme' import { NavMiniProps } from '../types' const meta: Meta = { diff --git a/packages/components/modules/navigations/NavMini/index.tsx b/packages/components/modules/navigations/web/NavMini/index.tsx similarity index 80% rename from packages/components/modules/navigations/NavMini/index.tsx rename to packages/components/modules/navigations/web/NavMini/index.tsx index fdb928a6..5da29a4c 100644 --- a/packages/components/modules/navigations/NavMini/index.tsx +++ b/packages/components/modules/navigations/web/NavMini/index.tsx @@ -2,14 +2,16 @@ import { FC } from 'react' -import { Logo, hideScroll, useResponsive } from '@baseapp-frontend/design-system' +import { Logo } from '@baseapp-frontend/design-system/components/web/logos' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' +import { hideScroll } from '@baseapp-frontend/design-system/styles/web' import Box from '@mui/material/Box' import Stack from '@mui/material/Stack' +import NavToggleButton from '../__shared__/NavToggleButton' +import VerticalDrawer from '../__shared__/VerticalDrawer' import { NAV_WIDTH } from '../constants' -import NavToggleButton from '../shared/NavToggleButton' -import VerticalDrawer from '../shared/VerticalDrawer' import NavSectionMini from './NavSectionMini' import { NavMiniProps } from './types' diff --git a/packages/components/modules/navigations/NavMini/types.ts b/packages/components/modules/navigations/web/NavMini/types.ts similarity index 79% rename from packages/components/modules/navigations/NavMini/types.ts rename to packages/components/modules/navigations/web/NavMini/types.ts index 8a5e0f96..2f5e560b 100644 --- a/packages/components/modules/navigations/NavMini/types.ts +++ b/packages/components/modules/navigations/web/NavMini/types.ts @@ -1,4 +1,4 @@ -import { UISettings } from '@baseapp-frontend/design-system' +import { UISettings } from '@baseapp-frontend/design-system/styles/web' import { NavigationData } from '../types' diff --git a/packages/components/modules/navigations/NavVertical/__storybook__/NavVertical.mdx b/packages/components/modules/navigations/web/NavVertical/__storybook__/NavVertical.mdx similarity index 94% rename from packages/components/modules/navigations/NavVertical/__storybook__/NavVertical.mdx rename to packages/components/modules/navigations/web/NavVertical/__storybook__/NavVertical.mdx index 7eb17c70..280f6c1b 100644 --- a/packages/components/modules/navigations/NavVertical/__storybook__/NavVertical.mdx +++ b/packages/components/modules/navigations/web/NavVertical/__storybook__/NavVertical.mdx @@ -41,8 +41,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { NavVertical } from '@baseapp-frontend/design-system' -import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system' +import { NavVertical, BaseAppLogoCondensed } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [openNav, setOpenNav] = useState(false) @@ -61,4 +60,4 @@ const MyComponent = () => { } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/navigations/NavVertical/__storybook__/stories.tsx b/packages/components/modules/navigations/web/NavVertical/__storybook__/stories.tsx similarity index 78% rename from packages/components/modules/navigations/NavVertical/__storybook__/stories.tsx rename to packages/components/modules/navigations/web/NavVertical/__storybook__/stories.tsx index e62c5578..944226a9 100644 --- a/packages/components/modules/navigations/NavVertical/__storybook__/stories.tsx +++ b/packages/components/modules/navigations/web/NavVertical/__storybook__/stories.tsx @@ -1,10 +1,10 @@ -import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system' +import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system/components/web/icons' import { Meta, StoryObj } from '@storybook/react' import NavVertical from '..' -import { navDataMock } from '../../../../.storybook/__mocks__/navigation' -import defaultTheme from '../../../../.storybook/__mocks__/theme' +import { navDataMock } from '../../../../../.storybook/__mocks__/navigation' +import defaultTheme from '../../../../../.storybook/__mocks__/theme' import { NavVerticalProps } from '../types' const meta: Meta = { diff --git a/packages/components/modules/navigations/NavVertical/index.tsx b/packages/components/modules/navigations/web/NavVertical/index.tsx similarity index 78% rename from packages/components/modules/navigations/NavVertical/index.tsx rename to packages/components/modules/navigations/web/NavVertical/index.tsx index a8237f85..122fe403 100644 --- a/packages/components/modules/navigations/NavVertical/index.tsx +++ b/packages/components/modules/navigations/web/NavVertical/index.tsx @@ -2,15 +2,17 @@ import { FC } from 'react' -import { Logo, Scrollbar, useResponsive } from '@baseapp-frontend/design-system' +import { Logo } from '@baseapp-frontend/design-system/components/web/logos' +import { Scrollbar } from '@baseapp-frontend/design-system/components/web/scrollbars' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' import Box from '@mui/material/Box' import Stack from '@mui/material/Stack' +import NavSectionVertical from '../__shared__/NavSectionVertical' +import NavToggleButton from '../__shared__/NavToggleButton' +import VerticalDrawer from '../__shared__/VerticalDrawer' import { NAV_WIDTH } from '../constants' -import NavSectionVertical from '../shared/NavSectionVertical' -import NavToggleButton from '../shared/NavToggleButton' -import VerticalDrawer from '../shared/VerticalDrawer' import { NavVerticalProps } from './types' const NavVertical: FC = ({ diff --git a/packages/components/modules/navigations/NavVertical/types.ts b/packages/components/modules/navigations/web/NavVertical/types.ts similarity index 79% rename from packages/components/modules/navigations/NavVertical/types.ts rename to packages/components/modules/navigations/web/NavVertical/types.ts index 1cf116b0..14ae3f41 100644 --- a/packages/components/modules/navigations/NavVertical/types.ts +++ b/packages/components/modules/navigations/web/NavVertical/types.ts @@ -1,4 +1,4 @@ -import { UISettings } from '@baseapp-frontend/design-system' +import { UISettings } from '@baseapp-frontend/design-system/styles/web' import { NavigationData } from '../types' diff --git a/packages/components/modules/navigations/NavigationLayout/MainContainer/index.tsx b/packages/components/modules/navigations/web/NavigationLayout/MainContainer/index.tsx similarity index 100% rename from packages/components/modules/navigations/NavigationLayout/MainContainer/index.tsx rename to packages/components/modules/navigations/web/NavigationLayout/MainContainer/index.tsx diff --git a/packages/components/modules/navigations/NavigationLayout/MainContainer/styled.tsx b/packages/components/modules/navigations/web/NavigationLayout/MainContainer/styled.tsx similarity index 100% rename from packages/components/modules/navigations/NavigationLayout/MainContainer/styled.tsx rename to packages/components/modules/navigations/web/NavigationLayout/MainContainer/styled.tsx diff --git a/packages/components/modules/navigations/NavigationLayout/MainContainer/types.ts b/packages/components/modules/navigations/web/NavigationLayout/MainContainer/types.ts similarity index 100% rename from packages/components/modules/navigations/NavigationLayout/MainContainer/types.ts rename to packages/components/modules/navigations/web/NavigationLayout/MainContainer/types.ts diff --git a/packages/components/modules/navigations/NavigationLayout/__storybook__/NavigationLayout.mdx b/packages/components/modules/navigations/web/NavigationLayout/__storybook__/NavigationLayout.mdx similarity index 94% rename from packages/components/modules/navigations/NavigationLayout/__storybook__/NavigationLayout.mdx rename to packages/components/modules/navigations/web/NavigationLayout/__storybook__/NavigationLayout.mdx index 74bafa13..f8e042e9 100644 --- a/packages/components/modules/navigations/NavigationLayout/__storybook__/NavigationLayout.mdx +++ b/packages/components/modules/navigations/web/NavigationLayout/__storybook__/NavigationLayout.mdx @@ -40,8 +40,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { NavigationLayout } from '@baseapp-frontend/design-system' -import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system' +import { NavigationLayout, BaseAppLogoCondensed } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( @@ -87,7 +86,7 @@ return ( onRegisterClick: () => router.push('/signup'), onLoginClick: () => router.push('/login'), AccountPopoverProps: { - MenuItems: null, // Alternatively, you can add a custom `MenuItems` component (e.g. `MenuItems: CustomMenuItems`) + MenuItems: null, // Alternatively, you can add a custom `MenuItems` component (e.g. `MenuItems: CustomMenuItems`) SwitchProfileMenu: null, CurrentUser: null, CurrentProfile: null, @@ -99,4 +98,5 @@ return ( > {children} -) \ No newline at end of file +) +``` diff --git a/packages/components/modules/navigations/NavigationLayout/__storybook__/stories.tsx b/packages/components/modules/navigations/web/NavigationLayout/__storybook__/stories.tsx similarity index 87% rename from packages/components/modules/navigations/NavigationLayout/__storybook__/stories.tsx rename to packages/components/modules/navigations/web/NavigationLayout/__storybook__/stories.tsx index f8bff485..5f76ad0d 100644 --- a/packages/components/modules/navigations/NavigationLayout/__storybook__/stories.tsx +++ b/packages/components/modules/navigations/web/NavigationLayout/__storybook__/stories.tsx @@ -1,11 +1,14 @@ -import { BaseAppLogoCondensed, SendMessageIcon } from '@baseapp-frontend/design-system' +import { + BaseAppLogoCondensed, + SendMessageIcon, +} from '@baseapp-frontend/design-system/components/web/icons' import { Meta, StoryObj } from '@storybook/react' import NavigationLayout from '..' -import { navDataMock } from '../../../../.storybook/__mocks__/navigation' -import defaultTheme from '../../../../.storybook/__mocks__/theme' -import { withTokenSetup } from '../../../../.storybook/decorators' +import { navDataMock } from '../../../../../.storybook/__mocks__/navigation' +import defaultTheme from '../../../../../.storybook/__mocks__/theme' +import { withTokenSetup } from '../../../../../.storybook/decorators' import { NavigationLayoutProps } from '../types' const meta: Meta = { diff --git a/packages/components/modules/navigations/NavigationLayout/index.tsx b/packages/components/modules/navigations/web/NavigationLayout/index.tsx similarity index 100% rename from packages/components/modules/navigations/NavigationLayout/index.tsx rename to packages/components/modules/navigations/web/NavigationLayout/index.tsx diff --git a/packages/components/modules/navigations/NavigationLayout/types.ts b/packages/components/modules/navigations/web/NavigationLayout/types.ts similarity index 88% rename from packages/components/modules/navigations/NavigationLayout/types.ts rename to packages/components/modules/navigations/web/NavigationLayout/types.ts index 9fe17d46..a8b014dc 100644 --- a/packages/components/modules/navigations/NavigationLayout/types.ts +++ b/packages/components/modules/navigations/web/NavigationLayout/types.ts @@ -1,6 +1,6 @@ import { FC, PropsWithChildren } from 'react' -import { UISettings } from '@baseapp-frontend/design-system' +import { UISettings } from '@baseapp-frontend/design-system/styles/web' import { ToolbarProps as MuiToolbarProps } from '@mui/material' diff --git a/packages/components/modules/navigations/ViewportHeightContainer/index.tsx b/packages/components/modules/navigations/web/ViewportHeightContainer/index.tsx similarity index 100% rename from packages/components/modules/navigations/ViewportHeightContainer/index.tsx rename to packages/components/modules/navigations/web/ViewportHeightContainer/index.tsx diff --git a/packages/components/modules/navigations/ViewportHeightContainer/styled.tsx b/packages/components/modules/navigations/web/ViewportHeightContainer/styled.tsx similarity index 100% rename from packages/components/modules/navigations/ViewportHeightContainer/styled.tsx rename to packages/components/modules/navigations/web/ViewportHeightContainer/styled.tsx diff --git a/packages/components/modules/navigations/ViewportHeightContainer/types.ts b/packages/components/modules/navigations/web/ViewportHeightContainer/types.ts similarity index 73% rename from packages/components/modules/navigations/ViewportHeightContainer/types.ts rename to packages/components/modules/navigations/web/ViewportHeightContainer/types.ts index e68f0eac..1d1bc34a 100644 --- a/packages/components/modules/navigations/ViewportHeightContainer/types.ts +++ b/packages/components/modules/navigations/web/ViewportHeightContainer/types.ts @@ -1,6 +1,6 @@ import { PropsWithChildren } from 'react' -import { ThemeLayout } from '@baseapp-frontend/design-system' +import { ThemeLayout } from '@baseapp-frontend/design-system/styles/web' import type { BoxProps } from '@mui/material' diff --git a/packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/NavItem/index.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/NavItem/index.tsx similarity index 92% rename from packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/NavItem/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/NavItem/index.tsx index a5ad3937..08d1f03c 100644 --- a/packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/NavItem/index.tsx +++ b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/NavItem/index.tsx @@ -1,6 +1,7 @@ import { forwardRef } from 'react' -import { ChevronIcon, Iconify } from '@baseapp-frontend/design-system' +import { ChevronIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { Iconify } from '@baseapp-frontend/design-system/components/web/images' import Box from '@mui/material/Box' import Tooltip from '@mui/material/Tooltip' diff --git a/packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/NavItem/styled.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/NavItem/styled.tsx similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/NavItem/styled.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/NavItem/styled.tsx diff --git a/packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/NavItem/types.ts b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/NavItem/types.ts similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/NavItem/types.ts rename to packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/NavItem/types.ts diff --git a/packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/index.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/index.tsx similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/index.tsx diff --git a/packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/types.ts b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/types.ts similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionHorizontal/NavList/types.ts rename to packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/NavList/types.ts diff --git a/packages/components/modules/navigations/shared/NavSectionHorizontal/index.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/index.tsx similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionHorizontal/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/index.tsx diff --git a/packages/components/modules/navigations/shared/NavSectionHorizontal/types.ts b/packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/types.ts similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionHorizontal/types.ts rename to packages/components/modules/navigations/web/__shared__/NavSectionHorizontal/types.ts diff --git a/packages/components/modules/navigations/shared/NavSectionVertical/Group/NavList/NavItem/index.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/NavList/NavItem/index.tsx similarity index 96% rename from packages/components/modules/navigations/shared/NavSectionVertical/Group/NavList/NavItem/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/NavList/NavItem/index.tsx index e6e32535..60f96098 100644 --- a/packages/components/modules/navigations/shared/NavSectionVertical/Group/NavList/NavItem/index.tsx +++ b/packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/NavList/NavItem/index.tsx @@ -1,6 +1,6 @@ import { forwardRef } from 'react' -import { ChevronIcon } from '@baseapp-frontend/design-system' +import { ChevronIcon } from '@baseapp-frontend/design-system/components/web/icons' import { Box, Link, Tooltip } from '@mui/material' diff --git a/packages/components/modules/navigations/shared/NavSectionVertical/Group/NavList/NavItem/styled.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/NavList/NavItem/styled.tsx similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionVertical/Group/NavList/NavItem/styled.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/NavList/NavItem/styled.tsx diff --git a/packages/components/modules/navigations/shared/NavSectionVertical/Group/NavList/index.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/NavList/index.tsx similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionVertical/Group/NavList/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/NavList/index.tsx diff --git a/packages/components/modules/navigations/shared/NavSectionVertical/Group/index.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/index.tsx similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionVertical/Group/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/index.tsx diff --git a/packages/components/modules/navigations/shared/NavSectionVertical/Group/types.ts b/packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/types.ts similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionVertical/Group/types.ts rename to packages/components/modules/navigations/web/__shared__/NavSectionVertical/Group/types.ts diff --git a/packages/components/modules/navigations/shared/NavSectionVertical/index.tsx b/packages/components/modules/navigations/web/__shared__/NavSectionVertical/index.tsx similarity index 100% rename from packages/components/modules/navigations/shared/NavSectionVertical/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavSectionVertical/index.tsx diff --git a/packages/components/modules/navigations/shared/NavToggleButton/index.tsx b/packages/components/modules/navigations/web/__shared__/NavToggleButton/index.tsx similarity index 87% rename from packages/components/modules/navigations/shared/NavToggleButton/index.tsx rename to packages/components/modules/navigations/web/__shared__/NavToggleButton/index.tsx index f405699c..c5894666 100644 --- a/packages/components/modules/navigations/shared/NavToggleButton/index.tsx +++ b/packages/components/modules/navigations/web/__shared__/NavToggleButton/index.tsx @@ -1,4 +1,5 @@ -import { ChevronIcon, bgBlur } from '@baseapp-frontend/design-system' +import { ChevronIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { bgBlur } from '@baseapp-frontend/design-system/styles/web' import IconButton from '@mui/material/IconButton' import { useTheme } from '@mui/material/styles' diff --git a/packages/components/modules/navigations/shared/NavToggleButton/types.ts b/packages/components/modules/navigations/web/__shared__/NavToggleButton/types.ts similarity index 74% rename from packages/components/modules/navigations/shared/NavToggleButton/types.ts rename to packages/components/modules/navigations/web/__shared__/NavToggleButton/types.ts index f14099c9..e9878ddb 100644 --- a/packages/components/modules/navigations/shared/NavToggleButton/types.ts +++ b/packages/components/modules/navigations/web/__shared__/NavToggleButton/types.ts @@ -1,4 +1,4 @@ -import { UISettings } from '@baseapp-frontend/design-system' +import { UISettings } from '@baseapp-frontend/design-system/styles/web' import { IconButtonProps } from '@mui/material/IconButton' diff --git a/packages/components/modules/navigations/shared/VerticalDrawer/index.tsx b/packages/components/modules/navigations/web/__shared__/VerticalDrawer/index.tsx similarity index 88% rename from packages/components/modules/navigations/shared/VerticalDrawer/index.tsx rename to packages/components/modules/navigations/web/__shared__/VerticalDrawer/index.tsx index 1f1ebccd..12f707b6 100644 --- a/packages/components/modules/navigations/shared/VerticalDrawer/index.tsx +++ b/packages/components/modules/navigations/web/__shared__/VerticalDrawer/index.tsx @@ -2,7 +2,8 @@ import { FC, useEffect } from 'react' -import { Logo, Scrollbar } from '@baseapp-frontend/design-system' +import { Logo } from '@baseapp-frontend/design-system/components/web/logos' +import { Scrollbar } from '@baseapp-frontend/design-system/components/web/scrollbars' import Box from '@mui/material/Box' import Drawer from '@mui/material/Drawer' diff --git a/packages/components/modules/navigations/shared/VerticalDrawer/types.ts b/packages/components/modules/navigations/web/__shared__/VerticalDrawer/types.ts similarity index 100% rename from packages/components/modules/navigations/shared/VerticalDrawer/types.ts rename to packages/components/modules/navigations/web/__shared__/VerticalDrawer/types.ts diff --git a/packages/components/modules/navigations/shared/useActiveLink.ts b/packages/components/modules/navigations/web/__shared__/useActiveLink.ts similarity index 100% rename from packages/components/modules/navigations/shared/useActiveLink.ts rename to packages/components/modules/navigations/web/__shared__/useActiveLink.ts diff --git a/packages/components/modules/navigations/constants.ts b/packages/components/modules/navigations/web/constants.ts similarity index 100% rename from packages/components/modules/navigations/constants.ts rename to packages/components/modules/navigations/web/constants.ts diff --git a/packages/components/modules/navigations/index.ts b/packages/components/modules/navigations/web/index.ts similarity index 100% rename from packages/components/modules/navigations/index.ts rename to packages/components/modules/navigations/web/index.ts diff --git a/packages/components/modules/navigations/types.ts b/packages/components/modules/navigations/web/types.ts similarity index 100% rename from packages/components/modules/navigations/types.ts rename to packages/components/modules/navigations/web/types.ts diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts b/packages/components/modules/notifications/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts deleted file mode 100644 index 04efd14d..00000000 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { NotificationItemFragment$data } from '../../../../../__generated__/NotificationItemFragment.graphql' - -export interface NotificationItemRendererProps { - notification: NotificationItemFragment$data -} diff --git a/packages/components/modules/notifications/README.md b/packages/components/modules/notifications/README.md new file mode 100644 index 00000000..a5dd3340 --- /dev/null +++ b/packages/components/modules/notifications/README.md @@ -0,0 +1,15 @@ +# Module: `notifications` + +This module is divided into three primary folders: + +- **`common/`**: Contains platform-independent logic (utilities, hooks, or components that work in both web and native). + - Can import from within or other `common/` folders. + - Must not import from `web/` or `native/`. +- **`web/`**: Contains web-specific components and logic (e.g., React DOM, browser APIs, Material UI and others). + - Can import from within or `common/`. + - Must not import from `native/`. +- **`native/`**: Contains native-specific components and logic (e.g., React Native, Expo, React Native Paper and others) + - Can import from within or `common/`. + - Must not import from `web/`. + +This structure ensures platform-specific code remains isolated, while shared code lives in one place. diff --git a/packages/components/modules/notifications/constants.ts b/packages/components/modules/notifications/common/constants.ts similarity index 100% rename from packages/components/modules/notifications/constants.ts rename to packages/components/modules/notifications/common/constants.ts diff --git a/packages/components/modules/notifications/graphql/mutations/NotificationsMarkAllAsRead.ts b/packages/components/modules/notifications/common/graphql/mutations/NotificationsMarkAllAsRead.ts similarity index 95% rename from packages/components/modules/notifications/graphql/mutations/NotificationsMarkAllAsRead.ts rename to packages/components/modules/notifications/common/graphql/mutations/NotificationsMarkAllAsRead.ts index c5a38ea3..cd93554f 100644 --- a/packages/components/modules/notifications/graphql/mutations/NotificationsMarkAllAsRead.ts +++ b/packages/components/modules/notifications/common/graphql/mutations/NotificationsMarkAllAsRead.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { NotificationsMarkAllAsReadMutation } from '../../../../__generated__/NotificationsMarkAllAsReadMutation.graphql' +import { NotificationsMarkAllAsReadMutation } from '../../../../../__generated__/NotificationsMarkAllAsReadMutation.graphql' const NotificationsMarkAllAsReadMutationQuery = graphql` mutation NotificationsMarkAllAsReadMutation($input: NotificationsMarkAllAsReadInput!) { diff --git a/packages/components/modules/notifications/graphql/mutations/NotificationsMarkAsRead.ts b/packages/components/modules/notifications/common/graphql/mutations/NotificationsMarkAsRead.ts similarity index 91% rename from packages/components/modules/notifications/graphql/mutations/NotificationsMarkAsRead.ts rename to packages/components/modules/notifications/common/graphql/mutations/NotificationsMarkAsRead.ts index f59d0100..dbabdd5c 100644 --- a/packages/components/modules/notifications/graphql/mutations/NotificationsMarkAsRead.ts +++ b/packages/components/modules/notifications/common/graphql/mutations/NotificationsMarkAsRead.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { NotificationsMarkAsReadMutation } from '../../../../__generated__/NotificationsMarkAsReadMutation.graphql' +import { NotificationsMarkAsReadMutation } from '../../../../../__generated__/NotificationsMarkAsReadMutation.graphql' const NotificationsMarkAsReadMutationQuery = graphql` mutation NotificationsMarkAsReadMutation($input: NotificationsMarkAsReadInput!) { diff --git a/packages/components/modules/notifications/graphql/queries/NotificationItem.ts b/packages/components/modules/notifications/common/graphql/queries/NotificationItem.ts similarity index 100% rename from packages/components/modules/notifications/graphql/queries/NotificationItem.ts rename to packages/components/modules/notifications/common/graphql/queries/NotificationItem.ts diff --git a/packages/components/modules/notifications/graphql/queries/NotificationUserMenu.ts b/packages/components/modules/notifications/common/graphql/queries/NotificationUserMenu.ts similarity index 100% rename from packages/components/modules/notifications/graphql/queries/NotificationUserMenu.ts rename to packages/components/modules/notifications/common/graphql/queries/NotificationUserMenu.ts diff --git a/packages/components/modules/notifications/graphql/queries/NotificationsList.ts b/packages/components/modules/notifications/common/graphql/queries/NotificationsList.ts similarity index 100% rename from packages/components/modules/notifications/graphql/queries/NotificationsList.ts rename to packages/components/modules/notifications/common/graphql/queries/NotificationsList.ts diff --git a/packages/components/modules/notifications/graphql/queries/NotificationsPopover.ts b/packages/components/modules/notifications/common/graphql/queries/NotificationsPopover.ts similarity index 100% rename from packages/components/modules/notifications/graphql/queries/NotificationsPopover.ts rename to packages/components/modules/notifications/common/graphql/queries/NotificationsPopover.ts diff --git a/packages/components/modules/notifications/graphql/subscriptions/useNotificationsSubscription.ts b/packages/components/modules/notifications/common/graphql/subscriptions/useNotificationsSubscription.ts similarity index 90% rename from packages/components/modules/notifications/graphql/subscriptions/useNotificationsSubscription.ts rename to packages/components/modules/notifications/common/graphql/subscriptions/useNotificationsSubscription.ts index ea6fbdf5..4303cdbc 100644 --- a/packages/components/modules/notifications/graphql/subscriptions/useNotificationsSubscription.ts +++ b/packages/components/modules/notifications/common/graphql/subscriptions/useNotificationsSubscription.ts @@ -25,7 +25,7 @@ const NotificationsSubscription = graphql` } ` -const useNotificationsSubscription = (userId = '') => { +export const useNotificationsSubscription = (userId = '') => { const config = useMemo(() => { const connectionID = ConnectionHandler.getConnectionID(userId, USER_NOTIFICATIONS_KEY) @@ -38,5 +38,3 @@ const useNotificationsSubscription = (userId = '') => { return useSubscription(config) } - -export default useNotificationsSubscription diff --git a/packages/components/modules/notifications/common/index.ts b/packages/components/modules/notifications/common/index.ts new file mode 100644 index 00000000..e11c29ab --- /dev/null +++ b/packages/components/modules/notifications/common/index.ts @@ -0,0 +1,13 @@ +// exports common notifications code + +export * from './graphql/mutations/NotificationsMarkAllAsRead' +export * from './graphql/mutations/NotificationsMarkAsRead' + +export * from './graphql/queries/NotificationItem' +export * from './graphql/queries/NotificationsList' +export * from './graphql/queries/NotificationsPopover' +export * from './graphql/queries/NotificationUserMenu' + +export * from './graphql/subscriptions/useNotificationsSubscription' + +export * from './constants' diff --git a/packages/components/modules/notifications/native/index.ts b/packages/components/modules/notifications/native/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/components/modules/notifications/NotificationsList/EmptyState/index.tsx b/packages/components/modules/notifications/web/NotificationsList/EmptyState/index.tsx similarity index 95% rename from packages/components/modules/notifications/NotificationsList/EmptyState/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/EmptyState/index.tsx index eba8d543..d56eab3d 100644 --- a/packages/components/modules/notifications/NotificationsList/EmptyState/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/EmptyState/index.tsx @@ -1,4 +1,4 @@ -import { NotificationBellIcon } from '@baseapp-frontend/design-system' +import { NotificationBellIcon } from '@baseapp-frontend/design-system/components/web/icons' import { Box, Typography } from '@mui/material' diff --git a/packages/components/modules/notifications/NotificationsList/EmptyState/styled.tsx b/packages/components/modules/notifications/web/NotificationsList/EmptyState/styled.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/EmptyState/styled.tsx rename to packages/components/modules/notifications/web/NotificationsList/EmptyState/styled.tsx diff --git a/packages/components/modules/notifications/NotificationsList/LoadingState/index.tsx b/packages/components/modules/notifications/web/NotificationsList/LoadingState/index.tsx similarity index 91% rename from packages/components/modules/notifications/NotificationsList/LoadingState/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/LoadingState/index.tsx index b4ae9d70..2cacd951 100644 --- a/packages/components/modules/notifications/NotificationsList/LoadingState/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/LoadingState/index.tsx @@ -1,4 +1,4 @@ -import { LoadingState as BaseAppLoadingState } from '@baseapp-frontend/design-system' +import { LoadingState as BaseAppLoadingState } from '@baseapp-frontend/design-system/components/web/displays' import { Box, Typography } from '@mui/material' diff --git a/packages/components/modules/notifications/NotificationsList/MarkAllAsReadButton/index.tsx b/packages/components/modules/notifications/web/NotificationsList/MarkAllAsReadButton/index.tsx similarity index 86% rename from packages/components/modules/notifications/NotificationsList/MarkAllAsReadButton/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/MarkAllAsReadButton/index.tsx index e230aa37..7cb25641 100644 --- a/packages/components/modules/notifications/NotificationsList/MarkAllAsReadButton/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/MarkAllAsReadButton/index.tsx @@ -2,7 +2,7 @@ import { FC } from 'react' import LoadingButton from '@mui/lab/LoadingButton' -import { useNotificationsMarkAllAsRead } from '../../graphql/mutations/NotificationsMarkAllAsRead' +import { useNotificationsMarkAllAsRead } from '../../../common' import { MarkAllAsReadButtonProps } from './types' const MarkAllAsReadButton: FC = ({ refetch }) => { diff --git a/packages/components/modules/notifications/NotificationsList/MarkAllAsReadButton/types.ts b/packages/components/modules/notifications/web/NotificationsList/MarkAllAsReadButton/types.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/MarkAllAsReadButton/types.ts rename to packages/components/modules/notifications/web/NotificationsList/MarkAllAsReadButton/types.ts diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/CommentCreated/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/CommentCreated/index.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/CommentCreated/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/CommentCreated/index.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/CommentReply/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/CommentReply/index.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/CommentReply/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/CommentReply/index.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationAvatar/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationAvatar/index.tsx similarity index 93% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationAvatar/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationAvatar/index.tsx index 72e1e3f9..b37e6cd3 100644 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationAvatar/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationAvatar/index.tsx @@ -1,6 +1,6 @@ import { FC } from 'react' -import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' import { NotificationAvatarProps } from './types' diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationAvatar/types.ts b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationAvatar/types.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationAvatar/types.ts rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationAvatar/types.ts diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/index.tsx similarity index 92% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/index.tsx index 489bd96b..6547373d 100644 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/index.tsx @@ -1,6 +1,6 @@ import { FC } from 'react' -import { TypographyWithEllipsis } from '@baseapp-frontend/design-system' +import { TypographyWithEllipsis } from '@baseapp-frontend/design-system/components/web/typographies' import { BodyTypographyContainer } from './styled' import { NotificationBodyProps } from './types' diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/styled.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/styled.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/styled.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/styled.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/types.ts b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/types.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/types.ts rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationBody/types.ts diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/index.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/index.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/types.ts b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/types.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/types.ts rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/NotificationHeader/types.ts diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/index.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/index.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/types.ts b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/types.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationContent/types.ts rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationContent/types.ts diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationRoot/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationRoot/index.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/NotificationRoot/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/NotificationRoot/index.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/index.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/Notification/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/Notification/index.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/NotificationItemRenderer/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/NotificationItemRenderer/index.tsx similarity index 93% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/NotificationItemRenderer/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/NotificationItemRenderer/index.tsx index f7d8af59..2b8735ff 100644 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/NotificationItemRenderer/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/NotificationItemRenderer/index.tsx @@ -1,6 +1,6 @@ import { FC } from 'react' -import { NOTIFICATION_VERB } from '../../../constants' +import { NOTIFICATION_VERB } from '../../../../common' import CommentCreated from '../CommentCreated' import CommentReply from '../CommentReply' import ReactionCreated from '../ReactionCreated' diff --git a/packages/components/modules/notifications/web/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts new file mode 100644 index 00000000..e0773035 --- /dev/null +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/NotificationItemRenderer/types.ts @@ -0,0 +1,5 @@ +import { NotificationItemFragment$data } from '../../../../../../__generated__/NotificationItemFragment.graphql' + +export interface NotificationItemRendererProps { + notification: NotificationItemFragment$data +} diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/ReactionCreated/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/ReactionCreated/index.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/ReactionCreated/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/ReactionCreated/index.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/NotificationItem.mdx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/NotificationItem.mdx similarity index 99% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/NotificationItem.mdx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/NotificationItem.mdx index fd4ce96b..8e08d677 100644 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/NotificationItem.mdx +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/NotificationItem.mdx @@ -29,7 +29,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { NotificationItem } from '@baseapp-frontend/design-system' +import { NotificationItem } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const notification = { @@ -47,4 +47,4 @@ const MyComponent = () => { ) } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/NotificationItemWithQuery/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/NotificationItemWithQuery/index.tsx similarity index 86% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/NotificationItemWithQuery/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/NotificationItemWithQuery/index.tsx index e0f9fe4f..683a31fe 100644 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/NotificationItemWithQuery/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/NotificationItemWithQuery/index.tsx @@ -1,8 +1,8 @@ import { graphql, useLazyLoadQuery } from 'react-relay' import NotificationItem from '../..' -import { NotificationItemFragment$key } from '../../../../../../__generated__/NotificationItemFragment.graphql' -import { NotificationItemWithQuery as Query } from '../../../../../../__generated__/NotificationItemWithQuery.graphql' +import { NotificationItemFragment$key } from '../../../../../../../__generated__/NotificationItemFragment.graphql' +import { NotificationItemWithQuery as Query } from '../../../../../../../__generated__/NotificationItemWithQuery.graphql' import { NotificationItemProps } from '../../types' const NotificationItemWithQuery = (props: NotificationItemProps) => { diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/mockResolvers.ts b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/mockResolvers.ts rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/stories.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/__storybook__/stories.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/__storybook__/stories.tsx diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/index.tsx b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/index.tsx similarity index 84% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/index.tsx index 9b5b833e..b732eda4 100644 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/index.tsx @@ -3,8 +3,7 @@ import { FC } from 'react' import { Box } from '@mui/material' import { useFragment } from 'react-relay' -import { useNotificationsMarkAsRead } from '../../graphql/mutations/NotificationsMarkAsRead' -import { NotificationItemFragment } from '../../graphql/queries/NotificationItem' +import { NotificationItemFragment, useNotificationsMarkAsRead } from '../../../common' import DefaultNotificationItemRenderer from './NotificationItemRenderer' import { NotificationItemProps } from './types' diff --git a/packages/components/modules/notifications/NotificationsList/NotificationItem/types.ts b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/types.ts similarity index 85% rename from packages/components/modules/notifications/NotificationsList/NotificationItem/types.ts rename to packages/components/modules/notifications/web/NotificationsList/NotificationItem/types.ts index f1d607ba..b3195c47 100644 --- a/packages/components/modules/notifications/NotificationsList/NotificationItem/types.ts +++ b/packages/components/modules/notifications/web/NotificationsList/NotificationItem/types.ts @@ -3,7 +3,7 @@ import { FC } from 'react' import { NotificationItemFragment$data, NotificationItemFragment$key, -} from '../../../../__generated__/NotificationItemFragment.graphql' +} from '../../../../../__generated__/NotificationItemFragment.graphql' import { NotificationItemRendererProps } from './NotificationItemRenderer/types' export interface NotificationItemProps { diff --git a/packages/components/modules/notifications/NotificationsList/__storybook__/NotificationsList.mdx b/packages/components/modules/notifications/web/NotificationsList/__storybook__/NotificationsList.mdx similarity index 99% rename from packages/components/modules/notifications/NotificationsList/__storybook__/NotificationsList.mdx rename to packages/components/modules/notifications/web/NotificationsList/__storybook__/NotificationsList.mdx index 67e9a2f7..c710eb9d 100644 --- a/packages/components/modules/notifications/NotificationsList/__storybook__/NotificationsList.mdx +++ b/packages/components/modules/notifications/web/NotificationsList/__storybook__/NotificationsList.mdx @@ -44,7 +44,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { NotificationsList } from '@baseapp-frontend/design-system' +import { NotificationsList } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [isDrawerOpened, setIsDrawerOpened] = useState(false) @@ -64,4 +64,4 @@ const MyComponent = () => { ) } export default MyComponent -``` \ No newline at end of file +``` diff --git a/packages/components/modules/notifications/NotificationsList/__storybook__/mockResolvers.ts b/packages/components/modules/notifications/web/NotificationsList/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/__storybook__/mockResolvers.ts rename to packages/components/modules/notifications/web/NotificationsList/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/notifications/NotificationsList/__storybook__/stories.tsx b/packages/components/modules/notifications/web/NotificationsList/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/__storybook__/stories.tsx rename to packages/components/modules/notifications/web/NotificationsList/__storybook__/stories.tsx diff --git a/packages/components/modules/notifications/NotificationsList/constants.ts b/packages/components/modules/notifications/web/NotificationsList/constants.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsList/constants.ts rename to packages/components/modules/notifications/web/NotificationsList/constants.ts diff --git a/packages/components/modules/notifications/NotificationsList/index.tsx b/packages/components/modules/notifications/web/NotificationsList/index.tsx similarity index 88% rename from packages/components/modules/notifications/NotificationsList/index.tsx rename to packages/components/modules/notifications/web/NotificationsList/index.tsx index 00380a12..d6d408e1 100644 --- a/packages/components/modules/notifications/NotificationsList/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsList/index.tsx @@ -1,23 +1,21 @@ import { FC, Suspense, useMemo } from 'react' -import { - CloseIcon, - LoadingState as DefaultLoadingState, - IconButton, - useResponsive, -} from '@baseapp-frontend/design-system' +import { IconButton } from '@baseapp-frontend/design-system/components/web/buttons' +import { LoadingState as DefaultLoadingState } from '@baseapp-frontend/design-system/components/web/displays' +import { CloseIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' import { Box, Divider, Typography } from '@mui/material' import { useLazyLoadQuery, usePaginationFragment } from 'react-relay' import { Virtuoso } from 'react-virtuoso' -import { NotificationsListFragment$key } from '../../../__generated__/NotificationsListFragment.graphql' -import { NotificationsListQuery as NotificationsListQueryType } from '../../../__generated__/NotificationsListQuery.graphql' +import { NotificationsListFragment$key } from '../../../../__generated__/NotificationsListFragment.graphql' +import { NotificationsListQuery as NotificationsListQueryType } from '../../../../__generated__/NotificationsListQuery.graphql' import { NotificationsListFragment, NotificationsListQuery, -} from '../graphql/queries/NotificationsList' -import useNotificationsSubscription from '../graphql/subscriptions/useNotificationsSubscription' + useNotificationsSubscription, +} from '../../common' import DefaultEmptyState from './EmptyState' import MarkAllAsReadButton from './MarkAllAsReadButton' import DefaultNotificationItem from './NotificationItem' diff --git a/packages/components/modules/notifications/NotificationsList/styled.tsx b/packages/components/modules/notifications/web/NotificationsList/styled.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsList/styled.tsx rename to packages/components/modules/notifications/web/NotificationsList/styled.tsx diff --git a/packages/components/modules/notifications/NotificationsList/types.ts b/packages/components/modules/notifications/web/NotificationsList/types.ts similarity index 94% rename from packages/components/modules/notifications/NotificationsList/types.ts rename to packages/components/modules/notifications/web/NotificationsList/types.ts index 00d61bdb..9b08e6a1 100644 --- a/packages/components/modules/notifications/NotificationsList/types.ts +++ b/packages/components/modules/notifications/web/NotificationsList/types.ts @@ -1,6 +1,6 @@ import { Dispatch, FC, SetStateAction } from 'react' -import { LoadingStateProps } from '@baseapp-frontend/design-system' +import { LoadingStateProps } from '@baseapp-frontend/design-system/components/web/displays' import { NotificationItemProps } from './NotificationItem/types' diff --git a/packages/components/modules/notifications/NotificationsPopover/__storybook__/NotificationsPopover.mdx b/packages/components/modules/notifications/web/NotificationsPopover/__storybook__/NotificationsPopover.mdx similarity index 99% rename from packages/components/modules/notifications/NotificationsPopover/__storybook__/NotificationsPopover.mdx rename to packages/components/modules/notifications/web/NotificationsPopover/__storybook__/NotificationsPopover.mdx index 637d28f9..4547b716 100644 --- a/packages/components/modules/notifications/NotificationsPopover/__storybook__/NotificationsPopover.mdx +++ b/packages/components/modules/notifications/web/NotificationsPopover/__storybook__/NotificationsPopover.mdx @@ -136,4 +136,4 @@ const Example = () => ( ) export default Example -``` \ No newline at end of file +``` diff --git a/packages/components/modules/notifications/NotificationsPopover/__storybook__/mockResolvers.ts b/packages/components/modules/notifications/web/NotificationsPopover/__storybook__/mockResolvers.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsPopover/__storybook__/mockResolvers.ts rename to packages/components/modules/notifications/web/NotificationsPopover/__storybook__/mockResolvers.ts diff --git a/packages/components/modules/notifications/NotificationsPopover/__storybook__/stories.tsx b/packages/components/modules/notifications/web/NotificationsPopover/__storybook__/stories.tsx similarity index 100% rename from packages/components/modules/notifications/NotificationsPopover/__storybook__/stories.tsx rename to packages/components/modules/notifications/web/NotificationsPopover/__storybook__/stories.tsx diff --git a/packages/components/modules/notifications/__tests__/__utils__/CustomNotificationItemForTest/index.tsx b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/CustomNotificationItemForTesting/index.tsx similarity index 88% rename from packages/components/modules/notifications/__tests__/__utils__/CustomNotificationItemForTest/index.tsx rename to packages/components/modules/notifications/web/NotificationsPopover/__tests__/CustomNotificationItemForTesting/index.tsx index 5214a913..de9c3617 100644 --- a/packages/components/modules/notifications/__tests__/__utils__/CustomNotificationItemForTest/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/CustomNotificationItemForTesting/index.tsx @@ -3,8 +3,8 @@ import { FC } from 'react' import { Box } from '@mui/material' import { useFragment } from 'react-relay' +import { NotificationItemFragment } from '../../../../common' import { NotificationItemProps } from '../../../NotificationsList/NotificationItem/types' -import { NotificationItemFragment } from '../../../graphql/queries/NotificationItem' const CustomNotificationItemForTest: FC = ({ notification: notificationRef, diff --git a/packages/components/modules/notifications/__tests__/__utils__/CustomNotificationListForTest/index.tsx b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/CustomNotificationListForTesting/index.tsx similarity index 75% rename from packages/components/modules/notifications/__tests__/__utils__/CustomNotificationListForTest/index.tsx rename to packages/components/modules/notifications/web/NotificationsPopover/__tests__/CustomNotificationListForTesting/index.tsx index 7743d215..87522085 100644 --- a/packages/components/modules/notifications/__tests__/__utils__/CustomNotificationListForTest/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/CustomNotificationListForTesting/index.tsx @@ -1,18 +1,15 @@ import { FC, Suspense, useMemo } from 'react' -import { LoadingState as DefaultLoadingState } from '@baseapp-frontend/design-system' +import { LoadingState as DefaultLoadingState } from '@baseapp-frontend/design-system/components/web/displays' import { Box, Typography } from '@mui/material' import { useLazyLoadQuery, usePaginationFragment } from 'react-relay' -import { NotificationsListFragment$key } from '../../../../../__generated__/NotificationsListFragment.graphql' -import { NotificationsListQuery as NotificationsListQueryType } from '../../../../../__generated__/NotificationsListQuery.graphql' +import { NotificationsListFragment$key } from '../../../../../../__generated__/NotificationsListFragment.graphql' +import { NotificationsListQuery as NotificationsListQueryType } from '../../../../../../__generated__/NotificationsListQuery.graphql' +import { NotificationsListFragment, NotificationsListQuery } from '../../../../common' import DefaultNotificationItem from '../../../NotificationsList/NotificationItem' import { NotificationsListProps } from '../../../NotificationsList/types' -import { - NotificationsListFragment, - NotificationsListQuery, -} from '../../../graphql/queries/NotificationsList' const CustomNotificationListForTest: FC = ({ NotificationItem = DefaultNotificationItem, @@ -22,10 +19,10 @@ const CustomNotificationListForTest: FC = ({ fetchPolicy: 'store-and-network', }) - const { data, loadNext, isLoadingNext, hasNext, refetch } = usePaginationFragment< - NotificationsListQueryType, - NotificationsListFragment$key - >(NotificationsListFragment, me) + const { data } = usePaginationFragment( + NotificationsListFragment, + me, + ) const notifications = useMemo( () => data?.notifications?.edges.filter((edge) => edge?.node).map((edge) => edge?.node) || [], diff --git a/packages/components/modules/notifications/__tests__/Notifications.cy.tsx b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/NotificationsPopover.cy.tsx similarity index 92% rename from packages/components/modules/notifications/__tests__/Notifications.cy.tsx rename to packages/components/modules/notifications/web/NotificationsPopover/__tests__/NotificationsPopover.cy.tsx index 1885e251..77391904 100644 --- a/packages/components/modules/notifications/__tests__/Notifications.cy.tsx +++ b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/NotificationsPopover.cy.tsx @@ -1,5 +1,8 @@ import { createTestEnvironment } from '@baseapp-frontend/graphql' +import CustomNotificationItemForTesting from './CustomNotificationItemForTesting' +import CustomNotificationListForTesting from './CustomNotificationListForTesting' +import NotificationsPopoverForTesting from './NotificationsPopoverForTesting' import { emptyNotificationsListMockData, markNotificationAsReadMockData, @@ -8,9 +11,6 @@ import { unreadNotificationsEmptyMockData, unreadNotificationsMockData, } from './__mocks__/requests' -import CustomNotificationItemForTest from './__utils__/CustomNotificationItemForTest' -import CustomNotificationListForTest from './__utils__/CustomNotificationListForTest' -import NotificationsForTesting from './__utils__/NotificationsForTesting' describe('Notifications', () => { it('should render show notification drawer with empty state', () => { @@ -18,7 +18,7 @@ describe('Notifications', () => { cy.viewport(1024, 768) - cy.mount().then(() => { + cy.mount().then(() => { resolveMostRecentOperation({ data: unreadNotificationsEmptyMockData, }) @@ -58,7 +58,7 @@ describe('Notifications', () => { const { environment, resolveMostRecentOperation } = createTestEnvironment() cy.viewport('iphone-x') - cy.mount().then(() => { + cy.mount().then(() => { resolveMostRecentOperation({ data: unreadNotificationsMockData, }) @@ -141,9 +141,9 @@ describe('Notifications', () => { const { environment, resolveMostRecentOperation } = createTestEnvironment() cy.mount( - , ).then(() => { resolveMostRecentOperation({ @@ -175,10 +175,10 @@ describe('Notifications', () => { const { environment, resolveMostRecentOperation } = createTestEnvironment() cy.mount( - , ).then(() => { @@ -220,11 +220,11 @@ describe('Notifications', () => { const { environment, resolveMostRecentOperation } = createTestEnvironment() cy.mount( - , ).then(() => { diff --git a/packages/components/modules/notifications/__tests__/__utils__/NotificationsForTesting/index.tsx b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/NotificationsPopoverForTesting/index.tsx similarity index 78% rename from packages/components/modules/notifications/__tests__/__utils__/NotificationsForTesting/index.tsx rename to packages/components/modules/notifications/web/NotificationsPopover/__tests__/NotificationsPopoverForTesting/index.tsx index da50a458..d530a1ee 100644 --- a/packages/components/modules/notifications/__tests__/__utils__/NotificationsForTesting/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/NotificationsPopoverForTesting/index.tsx @@ -1,4 +1,4 @@ -import withProviders from '../../../../../__test_utils__/withProviders' +import withProviders from '../../../../../../__test_utils__/withProviders' import { NotificationsPopover, NotificationsPopoverProps } from '../../../index' const NotificationsPopoverForTesting = (props?: Partial) => { diff --git a/packages/components/modules/notifications/__tests__/__mocks__/requests.ts b/packages/components/modules/notifications/web/NotificationsPopover/__tests__/__mocks__/requests.ts similarity index 100% rename from packages/components/modules/notifications/__tests__/__mocks__/requests.ts rename to packages/components/modules/notifications/web/NotificationsPopover/__tests__/__mocks__/requests.ts diff --git a/packages/components/modules/notifications/NotificationsPopover/index.tsx b/packages/components/modules/notifications/web/NotificationsPopover/index.tsx similarity index 82% rename from packages/components/modules/notifications/NotificationsPopover/index.tsx rename to packages/components/modules/notifications/web/NotificationsPopover/index.tsx index 7bdd0e01..4bdebc1e 100644 --- a/packages/components/modules/notifications/NotificationsPopover/index.tsx +++ b/packages/components/modules/notifications/web/NotificationsPopover/index.tsx @@ -2,23 +2,23 @@ import { FC, Suspense, useState } from 'react' -import { - NotificationBellIcon as DefaultNotificationBellIcon, - useResponsive, - varHover, -} from '@baseapp-frontend/design-system' +import { varHover } from '@baseapp-frontend/design-system/components/web/animate' +import { NotificationBellIcon as DefaultNotificationBellIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' import { Badge as DefaultBadge, Drawer as DefaultDrawer } from '@mui/material' import IconButton from '@mui/material/IconButton' import { m } from 'framer-motion' import { useFragment, useLazyLoadQuery } from 'react-relay' -import { NotificationUserMenuFragment$key } from '../../../__generated__/NotificationUserMenuFragment.graphql' -import { NotificationsPopoverQuery as NotificationsPopoverQueryType } from '../../../__generated__/NotificationsPopoverQuery.graphql' +import { NotificationUserMenuFragment$key } from '../../../../__generated__/NotificationUserMenuFragment.graphql' +import { NotificationsPopoverQuery as NotificationsPopoverQueryType } from '../../../../__generated__/NotificationsPopoverQuery.graphql' +import { + NotificationUserMenuFragment, + NotificationsPopoverQuery, + useNotificationsSubscription, +} from '../../common' import DefaultNotificationsList from '../NotificationsList' -import { NotificationUserMenuFragment } from '../graphql/queries/NotificationUserMenu' -import { NotificationsPopoverQuery } from '../graphql/queries/NotificationsPopover' -import useNotificationsSubscription from '../graphql/subscriptions/useNotificationsSubscription' import { NotificationsPopoverProps } from './types' const NotificationsPopover: FC = ({ diff --git a/packages/components/modules/notifications/NotificationsPopover/types.ts b/packages/components/modules/notifications/web/NotificationsPopover/types.ts similarity index 100% rename from packages/components/modules/notifications/NotificationsPopover/types.ts rename to packages/components/modules/notifications/web/NotificationsPopover/types.ts diff --git a/packages/components/modules/notifications/index.ts b/packages/components/modules/notifications/web/index.ts similarity index 89% rename from packages/components/modules/notifications/index.ts rename to packages/components/modules/notifications/web/index.ts index f4496d83..530916c4 100644 --- a/packages/components/modules/notifications/index.ts +++ b/packages/components/modules/notifications/web/index.ts @@ -1,4 +1,5 @@ -// TODO add to storybook: We need to figure out how to deal with the subscriptions in order to do the storybook +// exports web notifications components + export { default as NotificationsPopover } from './NotificationsPopover' export type * from './NotificationsPopover/types' diff --git a/packages/components/modules/profiles/Members/index.tsx b/packages/components/modules/profiles/Members/index.tsx deleted file mode 100644 index 8ae63583..00000000 --- a/packages/components/modules/profiles/Members/index.tsx +++ /dev/null @@ -1,69 +0,0 @@ -import { FC, Suspense } from 'react' - -import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { LoadingState as DefaultLoadingState } from '@baseapp-frontend/design-system' - -import { Typography } from '@mui/material' -import { useLazyLoadQuery } from 'react-relay' - -import { UserMembersListPaginationQuery as IUserMembersListPaginationQuery } from '../../../__generated__/UserMembersListPaginationQuery.graphql' -import { UserMembersListPaginationQuery } from '../graphql/queries/UserMembersList' -import DefaultMemberItem from './MemberItem' -import MembersList from './MembersList' -import { NUMBER_OF_MEMBERS_ON_FIRST_LOAD } from './constants' -import { UserMembersProps, UserMembersSuspendedProps } from './types' - -const Members: FC = ({ - MemberItem, - LoadingState, - LoadingStateProps, - membersContainerHeight, -}) => { - const { currentProfile } = useCurrentProfile() - - const data = useLazyLoadQuery(UserMembersListPaginationQuery, { - profileId: currentProfile?.id || '', - count: NUMBER_OF_MEMBERS_ON_FIRST_LOAD, - orderBy: 'status', - }) - - if (!data.profile) return null - return ( - - ) -} - -const MembersSuspended: FC = ({ - title = 'Members', - subtitle, - MemberItem = DefaultMemberItem, - LoadingState = DefaultLoadingState, - LoadingStateProps = {}, - InitialLoadingState = DefaultLoadingState, - membersContainerHeight = 400, -}) => ( - <> - - {title} - - - {subtitle} - - }> - - - -) - -export default MembersSuspended diff --git a/packages/components/modules/profiles/Members/types.ts b/packages/components/modules/profiles/Members/types.ts deleted file mode 100644 index b1c06a40..00000000 --- a/packages/components/modules/profiles/Members/types.ts +++ /dev/null @@ -1,27 +0,0 @@ -import type { FC } from 'react' - -import type { LoadingStateProps } from '@baseapp-frontend/design-system' - -import type { UserMembersListFragment$key } from '../../../__generated__/UserMembersListFragment.graphql' -import type { MemberItemProps } from './MemberItem/types' - -export interface MemberListProps { - MemberItem: FC - MemberItemProps?: Partial - userRef: UserMembersListFragment$key - LoadingState: FC - LoadingStateProps: LoadingStateProps - membersContainerHeight?: number -} - -export interface UserMembersSuspendedProps { - MemberItem?: FC - LoadingState?: FC - LoadingStateProps?: LoadingStateProps - title?: string - subtitle?: string - InitialLoadingState?: FC - membersContainerHeight?: number -} - -export interface UserMembersProps extends Omit {} diff --git a/packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/types.ts b/packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/types.ts deleted file mode 100644 index c6a758a7..00000000 --- a/packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/types.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { FC } from 'react' - -import { AddProfileModalProps } from '../AddProfileModal/types' - -export interface AddProfileMenuItemProps { - addNewProfileLabel?: string - CreateProfileModal?: FC -} diff --git a/packages/components/modules/profiles/ProfilePopover/index.ts b/packages/components/modules/profiles/ProfilePopover/index.ts deleted file mode 100644 index e61a0d61..00000000 --- a/packages/components/modules/profiles/ProfilePopover/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -export { default as AddProfileMenuItem } from './AddProfileMenuItem' -export type * from './AddProfileMenuItem/types' - -export { default as CurrentProfile } from './CurrentProfile' - -export { default as ProfilesList } from './ProfilesList' -export type * from './ProfilesList/types' - -export { default as SwitchProfileMenu } from './SwitchProfileMenu' -export type * from './SwitchProfileMenu/types' diff --git a/packages/components/modules/profiles/README.md b/packages/components/modules/profiles/README.md new file mode 100644 index 00000000..a248f27d --- /dev/null +++ b/packages/components/modules/profiles/README.md @@ -0,0 +1,15 @@ +# Module: `profiles` + +This module is divided into three primary folders: + +- **`common/`**: Contains platform-independent logic (utilities, hooks, or components that work in both web and native). + - Can import from within or other `common/` folders. + - Must not import from `web/` or `native/`. +- **`web/`**: Contains web-specific components and logic (e.g., React DOM, browser APIs, Material UI and others). + - Can import from within or `common/`. + - Must not import from `native/`. +- **`native/`**: Contains native-specific components and logic (e.g., React Native, Expo, React Native Paper and others) + - Can import from within or `common/`. + - Must not import from `web/`. + +This structure ensures platform-specific code remains isolated, while shared code lives in one place. diff --git a/packages/components/modules/profiles/common/constants.ts b/packages/components/modules/profiles/common/constants.ts new file mode 100644 index 00000000..1cae3f88 --- /dev/null +++ b/packages/components/modules/profiles/common/constants.ts @@ -0,0 +1,42 @@ +import { z } from 'zod' + +import { ProfileUpdateForm } from './types' +import { PROFILE_FORM_VALIDATION } from './zod' + +export const PROFILE_FORM_VALUE: Record = { + id: 'id', + bannerImage: 'bannerImage', + biography: 'biography', + image: 'image', + name: 'name', + phoneNumber: 'phoneNumber', + urlPath: 'urlPath', +} + +export const DEFAULT_PROFILE_FORM_VALUES: ProfileUpdateForm = { + id: '', + bannerImage: '', + biography: '', + image: '', + name: '', + phoneNumber: '', + urlPath: '', +} + +export const DEFAULT_PROFILE_FORM_VALIDATION = z.object({ + [PROFILE_FORM_VALUE.id]: z.any(), + [PROFILE_FORM_VALUE.bannerImage]: z.any(), + [PROFILE_FORM_VALUE.biography]: z.string(), + [PROFILE_FORM_VALUE.image]: z.any(), + [PROFILE_FORM_VALUE.name]: z.string().min(1, { message: PROFILE_FORM_VALIDATION.name.empty }), + [PROFILE_FORM_VALUE.phoneNumber]: z.string(), + [PROFILE_FORM_VALUE.urlPath]: z.string(), +}) + +// .svg is not supported by the backend, so better not use 'image/*' +export const DEFAULT_IMAGE_FORMATS = 'image/png, image/gif, image/jpeg' +// use "DEFAULT_IMAGE_MAX_SIZE = undefined" to allow uploads of any size +export const DEFAULT_IMAGE_MAX_SIZE = 10 * 1024 * 1024 +export const DEFAULT_BANNER_IMAGE_FORMATS = 'image/png, image/gif, image/jpeg' +// use "DEFAULT_BANNER_IMAGE_MAX_SIZE = undefined" to allow uploads of any size +export const DEFAULT_BANNER_IMAGE_MAX_SIZE = 10 * 1024 * 1024 diff --git a/packages/components/modules/profiles/graphql/mutations/BlockToggle.ts b/packages/components/modules/profiles/common/graphql/mutations/BlockToggle.ts similarity index 100% rename from packages/components/modules/profiles/graphql/mutations/BlockToggle.ts rename to packages/components/modules/profiles/common/graphql/mutations/BlockToggle.ts diff --git a/packages/components/modules/profiles/graphql/mutations/ChangeUserRole.ts b/packages/components/modules/profiles/common/graphql/mutations/ChangeUserRole.ts similarity index 92% rename from packages/components/modules/profiles/graphql/mutations/ChangeUserRole.ts rename to packages/components/modules/profiles/common/graphql/mutations/ChangeUserRole.ts index decd8915..264d3904 100644 --- a/packages/components/modules/profiles/graphql/mutations/ChangeUserRole.ts +++ b/packages/components/modules/profiles/common/graphql/mutations/ChangeUserRole.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { ChangeUserRoleMutation } from '../../../../__generated__/ChangeUserRoleMutation.graphql' +import { ChangeUserRoleMutation } from '../../../../../__generated__/ChangeUserRoleMutation.graphql' export const ChangeUserRoleMutationQuery = graphql` mutation ChangeUserRoleMutation($input: RoleUpdateInput!) { diff --git a/packages/components/modules/profiles/graphql/mutations/FollowToggle.ts b/packages/components/modules/profiles/common/graphql/mutations/FollowToggle.ts similarity index 100% rename from packages/components/modules/profiles/graphql/mutations/FollowToggle.ts rename to packages/components/modules/profiles/common/graphql/mutations/FollowToggle.ts diff --git a/packages/components/modules/profiles/graphql/mutations/OrganizationCreate.ts b/packages/components/modules/profiles/common/graphql/mutations/OrganizationCreate.ts similarity index 92% rename from packages/components/modules/profiles/graphql/mutations/OrganizationCreate.ts rename to packages/components/modules/profiles/common/graphql/mutations/OrganizationCreate.ts index 28e0ee92..b5b116df 100644 --- a/packages/components/modules/profiles/graphql/mutations/OrganizationCreate.ts +++ b/packages/components/modules/profiles/common/graphql/mutations/OrganizationCreate.ts @@ -2,7 +2,7 @@ import { useNotification } from '@baseapp-frontend/utils' import { Disposable, UseMutationConfig, graphql, useMutation } from 'react-relay' -import { OrganizationCreateMutation } from '../../../../__generated__/OrganizationCreateMutation.graphql' +import { OrganizationCreateMutation } from '../../../../../__generated__/OrganizationCreateMutation.graphql' export const OrganizationCreateMutationQuery = graphql` mutation OrganizationCreateMutation($input: OrganizationCreateInput!, $connections: [ID!]!) { diff --git a/packages/components/modules/profiles/graphql/mutations/ProfileUpdate.ts b/packages/components/modules/profiles/common/graphql/mutations/ProfileUpdate.ts similarity index 71% rename from packages/components/modules/profiles/graphql/mutations/ProfileUpdate.ts rename to packages/components/modules/profiles/common/graphql/mutations/ProfileUpdate.ts index 2c84fb85..43a66d02 100644 --- a/packages/components/modules/profiles/graphql/mutations/ProfileUpdate.ts +++ b/packages/components/modules/profiles/common/graphql/mutations/ProfileUpdate.ts @@ -1,8 +1,8 @@ import { graphql, useMutation } from 'react-relay' -import { ProfileUpdateMutation } from '../../../../__generated__/ProfileUpdateMutation.graphql' +import { ProfileUpdateMutation } from '../../../../../__generated__/ProfileUpdateMutation.graphql' -const ProfileUpdateMutationQuery = graphql` +export const ProfileUpdateMutationQuery = graphql` mutation ProfileUpdateMutation($input: ProfileUpdateInput!) { profileUpdate(input: $input) { profile { diff --git a/packages/components/modules/profiles/graphql/queries/AddProfilePopover.ts b/packages/components/modules/profiles/common/graphql/queries/AddProfilePopover.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/AddProfilePopover.ts rename to packages/components/modules/profiles/common/graphql/queries/AddProfilePopover.ts diff --git a/packages/components/modules/profiles/graphql/queries/AllProfilesList.ts b/packages/components/modules/profiles/common/graphql/queries/AllProfilesList.ts similarity index 80% rename from packages/components/modules/profiles/graphql/queries/AllProfilesList.ts rename to packages/components/modules/profiles/common/graphql/queries/AllProfilesList.ts index 9142aa43..03659172 100644 --- a/packages/components/modules/profiles/graphql/queries/AllProfilesList.ts +++ b/packages/components/modules/profiles/common/graphql/queries/AllProfilesList.ts @@ -1,7 +1,7 @@ import { graphql, usePaginationFragment } from 'react-relay' -import { AllProfilesListFragment$key } from '../../../../__generated__/AllProfilesListFragment.graphql' -import { AllProfilesListPaginationQuery } from '../../../../__generated__/AllProfilesListPaginationQuery.graphql' +import { AllProfilesListFragment$key } from '../../../../../__generated__/AllProfilesListFragment.graphql' +import { AllProfilesListPaginationQuery } from '../../../../../__generated__/AllProfilesListPaginationQuery.graphql' export const fragmentQuery = graphql` fragment AllProfilesListFragment on Query diff --git a/packages/components/modules/profiles/graphql/queries/BlockToggle.ts b/packages/components/modules/profiles/common/graphql/queries/BlockToggle.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/BlockToggle.ts rename to packages/components/modules/profiles/common/graphql/queries/BlockToggle.ts diff --git a/packages/components/modules/profiles/graphql/queries/FollowToggleUpdatableFragment.ts b/packages/components/modules/profiles/common/graphql/queries/FollowToggleUpdatableFragment.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/FollowToggleUpdatableFragment.ts rename to packages/components/modules/profiles/common/graphql/queries/FollowToggleUpdatableFragment.ts diff --git a/packages/components/modules/profiles/graphql/queries/MemberItem.ts b/packages/components/modules/profiles/common/graphql/queries/MemberItem.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/MemberItem.ts rename to packages/components/modules/profiles/common/graphql/queries/MemberItem.ts diff --git a/packages/components/modules/profiles/graphql/queries/ProfileComponent.ts b/packages/components/modules/profiles/common/graphql/queries/ProfileComponent.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/ProfileComponent.ts rename to packages/components/modules/profiles/common/graphql/queries/ProfileComponent.ts diff --git a/packages/components/modules/profiles/graphql/queries/ProfileItem.ts b/packages/components/modules/profiles/common/graphql/queries/ProfileItem.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/ProfileItem.ts rename to packages/components/modules/profiles/common/graphql/queries/ProfileItem.ts diff --git a/packages/components/modules/profiles/graphql/queries/ProfilesList.ts b/packages/components/modules/profiles/common/graphql/queries/ProfilesList.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/ProfilesList.ts rename to packages/components/modules/profiles/common/graphql/queries/ProfilesList.ts diff --git a/packages/components/modules/profiles/graphql/queries/UserMembersList.ts b/packages/components/modules/profiles/common/graphql/queries/UserMembersList.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/UserMembersList.ts rename to packages/components/modules/profiles/common/graphql/queries/UserMembersList.ts diff --git a/packages/components/modules/profiles/graphql/queries/UserProfile.ts b/packages/components/modules/profiles/common/graphql/queries/UserProfile.ts similarity index 100% rename from packages/components/modules/profiles/graphql/queries/UserProfile.ts rename to packages/components/modules/profiles/common/graphql/queries/UserProfile.ts diff --git a/packages/components/modules/profiles/common/index.ts b/packages/components/modules/profiles/common/index.ts new file mode 100644 index 00000000..b75f8f88 --- /dev/null +++ b/packages/components/modules/profiles/common/index.ts @@ -0,0 +1,23 @@ +// exports common profiles code + +export * from './graphql/mutations/BlockToggle' +export * from './graphql/mutations/ChangeUserRole' +export * from './graphql/mutations/FollowToggle' +export * from './graphql/mutations/OrganizationCreate' +export * from './graphql/mutations/ProfileUpdate' + +export * from './graphql/queries/AddProfilePopover' +export * from './graphql/queries/AllProfilesList' +export * from './graphql/queries/BlockToggle' +export * from './graphql/queries/FollowToggleUpdatableFragment' +export * from './graphql/queries/MemberItem' +export * from './graphql/queries/ProfileComponent' +export * from './graphql/queries/ProfileItem' +export * from './graphql/queries/ProfilesList' +export * from './graphql/queries/UserMembersList' +export * from './graphql/queries/UserProfile' + +export * from './constants' +export type * from './types' +export * from './utils' +export * from './zod' diff --git a/packages/components/modules/profiles/common/types.ts b/packages/components/modules/profiles/common/types.ts new file mode 100644 index 00000000..d0c6c1bd --- /dev/null +++ b/packages/components/modules/profiles/common/types.ts @@ -0,0 +1,20 @@ +import { AllProfilesListFragment$data } from '../../../__generated__/AllProfilesListFragment.graphql' +import { ProfileComponentFragment$data } from '../../../__generated__/ProfileComponentFragment.graphql' + +export type AllProfiles = NonNullable +export type AllProfilesEdges = AllProfiles['edges'] +export type ProfileEdge = AllProfilesEdges[number] +export type ProfileNode = NonNullable['node'] + +export interface ProfileUpdateForm + extends Pick { + bannerImage?: string | File | Blob + image?: string | File | Blob + phoneNumber?: string + urlPath?: string +} + +export type UploadablesObj = { + image?: File | Blob + bannerImage?: File | Blob +} diff --git a/packages/components/modules/profiles/common/utils.ts b/packages/components/modules/profiles/common/utils.ts new file mode 100644 index 00000000..7a1da08f --- /dev/null +++ b/packages/components/modules/profiles/common/utils.ts @@ -0,0 +1,31 @@ +import { getInitialValues } from '@baseapp-frontend/utils' + +import { ProfileComponentFragment$data } from '../../../__generated__/ProfileComponentFragment.graphql' +import { DEFAULT_PROFILE_FORM_VALUES } from './constants' + +// TODO: move this to a shared location, currently the template also uses it at apps/web/components/design-system/inputs/PhoneNumberField/constants.ts +export const DEFAULT_PHONE_NUMBER_COUNTRY_CODE = '+1' + +export const getDefaultValues = (profile?: ProfileComponentFragment$data | null) => { + const formattedProfile = { + ...profile, + phoneNumber: profile?.owner?.phoneNumber ?? DEFAULT_PHONE_NUMBER_COUNTRY_CODE, + image: profile?.image?.url ?? '', + bannerImage: profile?.bannerImage?.url ?? '', + urlPath: profile?.urlPath?.path ?? '', + biography: profile?.biography ?? '', + } + const defaultValues = getInitialValues({ + current: formattedProfile, + initial: DEFAULT_PROFILE_FORM_VALUES, + }) + + return defaultValues +} + +// TODO: maybe move this to @baseapp-frontend/utils +export const getImageUrl = (image?: string | File | Blob | MediaSource | null) => { + if (typeof image === 'string') return image + if (image instanceof Blob) return URL.createObjectURL(image) + return '' +} diff --git a/packages/components/modules/profiles/common/zod.ts b/packages/components/modules/profiles/common/zod.ts new file mode 100644 index 00000000..478b25e2 --- /dev/null +++ b/packages/components/modules/profiles/common/zod.ts @@ -0,0 +1,18 @@ +export const PROFILE_FORM_VALIDATION = { + default: { + empty: 'This field is required.', + }, + firstName: { + empty: 'Please enter a first name.', + }, + lastName: { + empty: 'Please enter a last name.', + }, + name: { + empty: 'Please enter a name.', + }, + phoneNumber: { + empty: 'Please enter a phone number.', + invalid: 'Invalid phone number.', + }, +} diff --git a/packages/components/modules/profiles/index.ts b/packages/components/modules/profiles/index.ts deleted file mode 100644 index 355326d9..00000000 --- a/packages/components/modules/profiles/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './ProfilePopover' -export { default as Members } from './Members' -export { default as ProfileComponent } from './ProfileComponent' -export type * from './ProfileComponent/types' diff --git a/packages/components/modules/profiles/native/ProfileComponent/index.tsx b/packages/components/modules/profiles/native/ProfileComponent/index.tsx new file mode 100644 index 00000000..3d1b0f2c --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileComponent/index.tsx @@ -0,0 +1,91 @@ +import React from 'react' + +import { Button } from '@baseapp-frontend/design-system/components/native/buttons' +import { EditIcon, ShareIcon } from '@baseapp-frontend/design-system/components/native/icons' +import { Text } from '@baseapp-frontend/design-system/components/native/typographies' +import { PageViewWithHeader, View } from '@baseapp-frontend/design-system/components/native/views' +import { useTheme } from '@baseapp-frontend/design-system/providers/native' + +import { useRouter } from 'expo-router' +import { Image } from 'react-native' +import { useFragment } from 'react-relay' + +import { ProfileComponentFragment } from '../../common' +import { createStyles } from './styles' +import { ProfileComponentProps } from './types' + +const ProfileComponent = ({ profile: profileRef }: ProfileComponentProps) => { + const theme = useTheme() + const styles = createStyles(theme) + const profile = useFragment(ProfileComponentFragment, profileRef) + const router = useRouter() + + return ( + + + + + + + + + + {profile?.name} + + + @{profile?.urlPath?.path} + + + + + + {profile?.followersCount} + + + Followers + + + + + {profile?.followingCount} + + + Following + + + + + {profile?.biography} + + + + + + + + + ) +} + +export default ProfileComponent diff --git a/packages/components/modules/profiles/native/ProfileComponent/styles.ts b/packages/components/modules/profiles/native/ProfileComponent/styles.ts new file mode 100644 index 00000000..2bb08c73 --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileComponent/styles.ts @@ -0,0 +1,71 @@ +import { Theme } from '@baseapp-frontend/design-system/styles/native' + +import { StyleSheet } from 'react-native' + +export const createStyles = (theme: Theme) => + StyleSheet.create({ + container: { + backgroundColor: theme.colors.surface.background, + flex: 1, + paddingTop: 0, + paddingHorizontal: 16, + paddingBottom: 16, + }, + headerContainer: { + position: 'relative', + alignItems: 'center', + marginBottom: 48, + }, + bannerImage: { + width: '100%', + borderRadius: 8, + backgroundColor: theme.colors.surface.disabled, + height: 120, + }, + profileImage: { + position: 'absolute', + bottom: -50, + width: 96, + height: 96, + borderRadius: 50, + borderWidth: 2, + borderColor: theme.colors.surface.background, + }, + infoContainer: { + marginTop: 24, + alignItems: 'center', + gap: 24, + }, + statsContainer: { + flexDirection: 'row', + justifyContent: 'space-evenly', + width: '100%', + }, + nameContainer: { + alignItems: 'center', + }, + statContainer: { + alignItems: 'center', + flex: 1, + }, + leftBorder: { + borderLeftWidth: 1, + borderColor: theme.colors.surface.border, + borderStyle: 'solid', + }, + biography: { + width: '100%', + }, + buttonContainer: { + flexDirection: 'row', + justifyContent: 'center', + gap: 12, + width: '100%', + }, + button: { + flex: 1, + }, + buttonContent: { + paddingLeft: -16, + }, + }) diff --git a/packages/components/modules/profiles/native/ProfileComponent/types.ts b/packages/components/modules/profiles/native/ProfileComponent/types.ts new file mode 100644 index 00000000..12b9f2e3 --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileComponent/types.ts @@ -0,0 +1,5 @@ +import { ProfileComponentFragment$key } from '../../../../__generated__/ProfileComponentFragment.graphql' + +export interface ProfileComponentProps { + profile: ProfileComponentFragment$key +} diff --git a/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/index.tsx b/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/index.tsx new file mode 100644 index 00000000..0e87f851 --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/index.tsx @@ -0,0 +1,62 @@ +import { FC } from 'react' + +import { BottomDrawer as BaseAppBottomDrawer } from '@baseapp-frontend/design-system/components/native/drawers' +import { + CameraOutlinedIcon, + FlowerIcon, + TrashIcon, +} from '@baseapp-frontend/design-system/components/native/icons' +import { Text } from '@baseapp-frontend/design-system/components/native/typographies' +import { View } from '@baseapp-frontend/design-system/components/native/views' +import { useTheme } from '@baseapp-frontend/design-system/providers/native' + +import { Pressable } from 'react-native' + +import { createStyles } from './styles' +import { BottomDrawerProps } from './types' + +const BottomDrawer: FC = ({ + bottomDrawerRef, + handleSheetChanges, + type = 'image', + handleViewPhotoLibrary, + handleTakePhoto, + handleRemoveImage, +}) => { + const theme = useTheme() + const styles = createStyles(theme) + + return ( + + + + + Upload a new {type} + + + + + + View photo library + + + + + + Take a photo + + + + + handleRemoveImage(type)} style={styles.modalItem}> + + + Remove {type} + + + + + ) +} + +export default BottomDrawer diff --git a/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/styles.ts b/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/styles.ts new file mode 100644 index 00000000..a56070b0 --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/styles.ts @@ -0,0 +1,23 @@ +import { Theme } from '@baseapp-frontend/design-system/styles/native' + +import { StyleSheet } from 'react-native' + +export const createStyles = (theme: Theme) => + StyleSheet.create({ + modalContent: { + paddingHorizontal: 16, + paddingVertical: 12, + borderBottomWidth: 1, + borderBottomColor: theme.colors.surface.disabled, + width: '100%', + gap: 4, + }, + modalItem: { + flexDirection: 'row', + alignItems: 'center', + justifyContent: 'flex-start', + gap: 8, + padding: 8, + width: '100%', + }, + }) diff --git a/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/types.ts b/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/types.ts new file mode 100644 index 00000000..f5283951 --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileSettingsComponent/BottomDrawer/types.ts @@ -0,0 +1,10 @@ +import { BottomSheetModal } from '@gorhom/bottom-sheet' + +export type BottomDrawerProps = { + bottomDrawerRef: React.RefObject + handleSheetChanges: (index: number) => void + type?: 'image' | 'banner' + handleViewPhotoLibrary: () => void + handleTakePhoto: () => void + handleRemoveImage: (type: 'image' | 'banner') => void +} diff --git a/packages/components/modules/profiles/native/ProfileSettingsComponent/index.tsx b/packages/components/modules/profiles/native/ProfileSettingsComponent/index.tsx new file mode 100644 index 00000000..e530e241 --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileSettingsComponent/index.tsx @@ -0,0 +1,349 @@ +import { FC, useCallback, useRef, useState } from 'react' + +import { AppBar } from '@baseapp-frontend/design-system/components/native/appbars' +import { Button } from '@baseapp-frontend/design-system/components/native/buttons' +import { CameraIcon, ImageIcon } from '@baseapp-frontend/design-system/components/native/icons' +import { TextInput } from '@baseapp-frontend/design-system/components/native/inputs' +import { View } from '@baseapp-frontend/design-system/components/native/views' +import { useTheme } from '@baseapp-frontend/design-system/providers/native' +import { + ACCESS_KEY_NAME, + filterDirtyValues, + getTokenAsync, + setFormRelayErrors, + useNotification, +} from '@baseapp-frontend/utils' + +import { type BottomSheetModal } from '@gorhom/bottom-sheet' +import { zodResolver } from '@hookform/resolvers/zod' +import * as FileSystem from 'expo-file-system' +import * as ImagePicker from 'expo-image-picker' +import { FieldValues, useForm } from 'react-hook-form' +import { Image, Platform, Pressable } from 'react-native' +import { ScrollView } from 'react-native-gesture-handler' +import { useFragment } from 'react-relay' + +import { + DEFAULT_PROFILE_FORM_VALIDATION, + PROFILE_FORM_VALUE, + ProfileComponentFragment, + ProfileUpdateForm, + getDefaultValues, + getImageUrl, + useProfileMutation, +} from '../../common' +import BottomDrawer from './BottomDrawer' +import { createStyles } from './styles' +import { ProfileSettingsComponentProps } from './types' + +const ProfileSettingsComponent: FC = ({ profile: profileRef }) => { + const theme = useTheme() + const styles = createStyles(theme) + const profile = useFragment(ProfileComponentFragment, profileRef) + const bottomDrawerRef = useRef(null) + const [commitMutation, isMutationInFlight] = useProfileMutation() + const [fieldType, setFieldType] = useState<'image' | 'banner'>('image') + // const { updateProfileIfActive } = useCurrentProfile() + const { sendToast } = useNotification() + + const formReturn = useForm({ + defaultValues: getDefaultValues(profile), + resolver: zodResolver(DEFAULT_PROFILE_FORM_VALIDATION), + mode: 'onBlur', + }) + + const uploadFile = async (fileUri: string, fieldName: 'image' | 'bannerImage') => { + try { + const authToken = await getTokenAsync(ACCESS_KEY_NAME) + const fileInfo = await FileSystem.getInfoAsync(fileUri) + if (!fileInfo.exists) { + sendToast('File does not exist', { type: 'error' }) + } + + bottomDrawerRef.current?.close() + + // TODO: see if we can abstract file uploads into a shared function + const response = await FileSystem.uploadAsync( + process.env.EXPO_PUBLIC_RELAY_ENDPOINT as string, + fileUri, + { + httpMethod: 'POST', + uploadType: FileSystem.FileSystemUploadType.MULTIPART, + fieldName, + parameters: { + // TODO: see if we can reuse the query from the mutation + query: `mutation ProfileUpdateMutation($input: ProfileUpdateInput!) { + profileUpdate(input: $input) { + profile { + id + } + errors { + field + messages + } + } + }`, + variables: JSON.stringify({ + input: { + id: profile.id, + [fieldName]: fileUri, + }, + }), + }, + headers: { + 'Content-Type': 'multipart/form-data', + Authorization: `Bearer ${authToken}`, + }, + }, + ) + if (response.status !== 200) { + formReturn.setError(fieldName, { message: 'Failed to upload file' }) + } + } catch (error) { + formReturn.setError(fieldName, { message: 'Failed to upload file' }) + } + } + + const { + control, + handleSubmit, + reset, + watch, + setValue, + clearErrors, + formState: { isDirty, dirtyFields }, + } = formReturn + + const watchImage = watch(PROFILE_FORM_VALUE.image) + const watchBannerImage = watch(PROFILE_FORM_VALUE.bannerImage) + const imageUrl = getImageUrl(watchImage) + const bannerImageUrl = getImageUrl(watchBannerImage) + const hasChanged = isDirty || Object.keys(dirtyFields).length > 0 + + const onSubmit = async (data: FieldValues) => { + const dirtyValues = filterDirtyValues({ values: data, dirtyFields }) + const { id } = data + + if (dirtyValues.image) { + await uploadFile(dirtyValues.image, 'image') + delete dirtyValues.image + } + if (dirtyValues.bannerImage) { + await uploadFile(dirtyValues.bannerImage, 'bannerImage') + delete dirtyValues.bannerImage + } + + commitMutation({ + variables: { + input: { id, ...dirtyValues }, + }, + onCompleted: (response: any) => { + const errors = response?.profileUpdate?.errors + if (errors) { + sendToast('Something went wrong', { type: 'error' }) + setFormRelayErrors(formReturn, errors) + } else { + sendToast('Profile updated', { type: 'success' }) + } + }, + }) + reset({}, { keepValues: true }) + } + + function handleSave(data: FieldValues): void { + onSubmit(data) + } + + const handleImageSelection = async ( + result: ImagePicker.ImagePickerResult, + type: 'image' | 'banner', + ) => { + if (!result.canceled) { + const loadedImage = result.assets[0]?.uri + const fieldName = type === 'image' ? PROFILE_FORM_VALUE.image : PROFILE_FORM_VALUE.bannerImage + + setValue(fieldName, loadedImage, { shouldValidate: true, shouldDirty: true }) + } + bottomDrawerRef.current?.close() + } + const aspectRatio = fieldType === 'image' ? ([1, 1] as const) : ([16, 9] as const) + + const handleViewPhotoLibrary = async () => { + const permissionResult = await ImagePicker.requestMediaLibraryPermissionsAsync() + if (permissionResult.granted === false) { + sendToast('Permission to access photo library is required!', { type: 'error' }) + return + } + + const result = await ImagePicker.launchImageLibraryAsync({ + mediaTypes: 'images', + allowsEditing: Platform.OS === 'android', + aspect: [aspectRatio[0], aspectRatio[1]], + quality: 1, + }) + + handleImageSelection(result, fieldType) + } + + const handleTakePhoto = async () => { + const permissionResult = await ImagePicker.requestCameraPermissionsAsync() + if (permissionResult.granted === false) { + sendToast('Permission to access camera is required!', { type: 'error' }) + return + } + + const result = await ImagePicker.launchCameraAsync({ + allowsEditing: Platform.OS === 'android', + aspect: [aspectRatio[0], aspectRatio[1]], + quality: 1, + }) + + handleImageSelection(result, fieldType) + } + + // TODO: add this back when support multiple profiles + // useEffect(() => { + // if (profile) { + // updateProfileIfActive({ + // id: profile.id, + // name: profile.name ?? null, + // urlPath: profile.urlPath?.path ?? null, + // image: profile.image?.url ?? null, + // }) + // } + // }, [profile?.id, profile?.name, profile?.urlPath?.path, profile?.image?.url]) + + const handleRemoveImage = (type: 'image' | 'banner') => { + clearErrors(type === 'image' ? 'image' : 'bannerImage') + setValue(type === 'image' ? 'image' : 'bannerImage', undefined, { + shouldValidate: false, + shouldDirty: true, + shouldTouch: true, + }) + } + + // callbacks + const handlePresentModalPress = useCallback(() => { + bottomDrawerRef.current?.present() + }, []) + + const handleSheetChanges = useCallback((index: number) => { + // TODO: handle sheet changes + console.log('index', index) + }, []) + + const handleEditBanner = () => { + setFieldType('banner') + handlePresentModalPress() + } + + const handleEditProfile = () => { + setFieldType('image') + handlePresentModalPress() + } + + const hasErrorImage = imageUrl.includes('error') + const hasErrorBanner = bannerImageUrl.includes('error') + + return ( + + + + + + + + + + + + + {imageUrl ? ( + + ) : ( + + )} + + + + + + + + + + {/* TODO: Add a formattable TextInput for phone numbers */} + + + + + + + + + + + + + + ) +} + +export default ProfileSettingsComponent diff --git a/packages/components/modules/profiles/native/ProfileSettingsComponent/styles.ts b/packages/components/modules/profiles/native/ProfileSettingsComponent/styles.ts new file mode 100644 index 00000000..b3c5981c --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileSettingsComponent/styles.ts @@ -0,0 +1,107 @@ +import { Theme } from '@baseapp-frontend/design-system/styles/native' + +import { StyleSheet } from 'react-native' + +export const createStyles = (theme: Theme) => + StyleSheet.create({ + pageContainer: { + paddingHorizontal: 0, + paddingTop: 0, + flex: 1, + }, + scrollViewContainer: { + padding: 0, + flex: 1, + }, + container: { + backgroundColor: theme.colors.surface.background, + padding: 16, + paddingVertical: 24, + flex: 1, + }, + titleContainer: { + gap: 8, + }, + headerContainer: { + position: 'relative', + alignItems: 'center', + marginBottom: 48, + }, + bannerContainer: { + position: 'relative', + width: '100%', + height: 120, + borderRadius: 8, + }, + bannerImage: { + width: '100%', + borderRadius: 8, + height: 120, + flex: 1, + backgroundColor: theme.colors.surface.disabled, + }, + profileContainer: { + position: 'absolute', + bottom: -50, + width: 96, + height: 96, + borderRadius: 50, + alignItems: 'center', + justifyContent: 'center', + borderColor: theme.colors.surface.active, + borderWidth: 1, + }, + profileImage: { + borderRadius: 50, + width: 96, + height: 96, + borderWidth: 2, + borderColor: theme.colors.surface.background, + position: 'relative', + }, + editIconContainer: { + position: 'absolute', + alignItems: 'center', + justifyContent: 'center', + bottom: 8, + right: 8, + backgroundColor: theme.colors.object.disabled, + borderWidth: 1, + borderColor: theme.colors.surface.background, + borderRadius: 50, + height: 32, + width: 32, + }, + formContainer: { + gap: 32, + paddingTop: 32, + }, + formGroup: { + gap: 24, + }, + input: { + borderColor: theme.colors.surface.border, + borderRadius: 8, + }, + bioInput: { + height: 120, + }, + saveButtonContainer: { + alignSelf: 'flex-end', + }, + saveButton: { + backgroundColor: theme.colors.object.high, + minWidth: 120, + }, + saveButtonLabel: { + color: theme.colors.object.contrast, + }, + saveButtonDisabled: { + backgroundColor: theme.colors.object.disabled, + minWidth: 120, + }, + errorBorder: { + borderColor: theme.colors.error.main, + borderWidth: 2, + }, + }) diff --git a/packages/components/modules/profiles/native/ProfileSettingsComponent/types.ts b/packages/components/modules/profiles/native/ProfileSettingsComponent/types.ts new file mode 100644 index 00000000..7a89539c --- /dev/null +++ b/packages/components/modules/profiles/native/ProfileSettingsComponent/types.ts @@ -0,0 +1,5 @@ +import { ProfileComponentFragment$key } from '../../../../__generated__/ProfileComponentFragment.graphql' + +export type ProfileSettingsComponentProps = { + profile: ProfileComponentFragment$key +} diff --git a/packages/components/modules/profiles/native/index.ts b/packages/components/modules/profiles/native/index.ts new file mode 100644 index 00000000..7955f28d --- /dev/null +++ b/packages/components/modules/profiles/native/index.ts @@ -0,0 +1,7 @@ +// exports native profiles components + +export { default as ProfileComponent } from './ProfileComponent' +export type * from './ProfileComponent/types' + +export { default as ProfileSettingsComponent } from './ProfileSettingsComponent' +export type * from './ProfileSettingsComponent/types' diff --git a/packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/constants.ts b/packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/constants.ts similarity index 100% rename from packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/constants.ts rename to packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/constants.ts diff --git a/packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/index.tsx b/packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/index.tsx similarity index 90% rename from packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/index.tsx rename to packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/index.tsx index e47c2ce2..aef87683 100644 --- a/packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/index.tsx +++ b/packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/index.tsx @@ -1,14 +1,14 @@ import { FC, useState } from 'react' -import { BlockIcon, ConfirmDialog, UnblockIcon } from '@baseapp-frontend/design-system' +import { ConfirmDialog } from '@baseapp-frontend/design-system/components/web/dialogs' +import { BlockIcon, UnblockIcon } from '@baseapp-frontend/design-system/components/web/icons' import { useNotification } from '@baseapp-frontend/utils' import { Button, CircularProgress, Typography } from '@mui/material' import { useFragment, useMutation } from 'react-relay' -import { BlockToggleMutation } from '../../../../__generated__/BlockToggleMutation.graphql' -import { BlockToggleMutationQuery } from '../../graphql/mutations/BlockToggle' -import { BlockToggleFragment } from '../../graphql/queries/BlockToggle' +import { BlockToggleMutation } from '../../../../../__generated__/BlockToggleMutation.graphql' +import { BlockToggleFragment, BlockToggleMutationQuery } from '../../../common' import { BLOCK_UNBLOCK_DIALOG_TEXTS } from './constants' import { ActionButton } from './styled' import { BlockButtonWithDialogProps } from './types' diff --git a/packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/styled.tsx b/packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/styled.tsx similarity index 100% rename from packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/styled.tsx rename to packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/styled.tsx diff --git a/packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/types.ts b/packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/types.ts similarity index 76% rename from packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/types.ts rename to packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/types.ts index 2237df49..167b28c9 100644 --- a/packages/components/modules/profiles/ProfileComponent/BlockButtonWithDialog/types.ts +++ b/packages/components/modules/profiles/web/ProfileComponent/BlockButtonWithDialog/types.ts @@ -1,6 +1,6 @@ import { ButtonProps } from '@mui/material' -import { BlockToggleFragment$key } from '../../../../__generated__/BlockToggleFragment.graphql' +import { BlockToggleFragment$key } from '../../../../../__generated__/BlockToggleFragment.graphql' export interface ActionButtonProps extends ButtonProps { isBlocked?: boolean | null diff --git a/packages/components/modules/profiles/ProfileComponent/FollowToggleButton/index.tsx b/packages/components/modules/profiles/web/ProfileComponent/FollowToggleButton/index.tsx similarity index 87% rename from packages/components/modules/profiles/ProfileComponent/FollowToggleButton/index.tsx rename to packages/components/modules/profiles/web/ProfileComponent/FollowToggleButton/index.tsx index 1775904c..99083218 100644 --- a/packages/components/modules/profiles/ProfileComponent/FollowToggleButton/index.tsx +++ b/packages/components/modules/profiles/web/ProfileComponent/FollowToggleButton/index.tsx @@ -1,15 +1,14 @@ import { FC } from 'react' -import { Iconify } from '@baseapp-frontend/design-system' +import { Iconify } from '@baseapp-frontend/design-system/components/web/images' import { useNotification } from '@baseapp-frontend/utils' import { Button } from '@mui/material' import { useMutation, useRelayEnvironment } from 'react-relay' import { RecordSourceSelectorProxy, commitLocalUpdate } from 'relay-runtime' -import { FollowToggleMutation } from '../../../../__generated__/FollowToggleMutation.graphql' -import { FollowToggleMutationQuery } from '../../graphql/mutations/FollowToggle' -import { FollowToggleUpdatableFragment } from '../../graphql/queries/FollowToggleUpdatableFragment' +import { FollowToggleMutation } from '../../../../../__generated__/FollowToggleMutation.graphql' +import { FollowToggleMutationQuery, FollowToggleUpdatableFragment } from '../../../common' import { FollowToggleButtonProps } from './types' const FollowToggleButton: FC = ({ diff --git a/packages/components/modules/profiles/ProfileComponent/FollowToggleButton/types.ts b/packages/components/modules/profiles/web/ProfileComponent/FollowToggleButton/types.ts similarity index 100% rename from packages/components/modules/profiles/ProfileComponent/FollowToggleButton/types.ts rename to packages/components/modules/profiles/web/ProfileComponent/FollowToggleButton/types.ts diff --git a/packages/components/modules/profiles/ProfileComponent/index.tsx b/packages/components/modules/profiles/web/ProfileComponent/index.tsx similarity index 93% rename from packages/components/modules/profiles/ProfileComponent/index.tsx rename to packages/components/modules/profiles/web/ProfileComponent/index.tsx index 4f59260e..4b6a04ef 100644 --- a/packages/components/modules/profiles/ProfileComponent/index.tsx +++ b/packages/components/modules/profiles/web/ProfileComponent/index.tsx @@ -2,15 +2,15 @@ import { FC, useState } from 'react' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' +import { SwipeableDrawer } from '@baseapp-frontend/design-system/components/web/drawers' import { - AvatarWithPlaceholder, - ImageWithFallback, OutlinedEditIcon, ShareIcon, - SwipeableDrawer, ThreeDotsIcon, - useResponsive, -} from '@baseapp-frontend/design-system' +} from '@baseapp-frontend/design-system/components/web/icons' +import { ImageWithFallback } from '@baseapp-frontend/design-system/components/web/images' +import { useResponsive } from '@baseapp-frontend/design-system/hooks/web' import { useNotification } from '@baseapp-frontend/utils' import { Button, MenuItem, Typography } from '@mui/material' @@ -18,7 +18,7 @@ import { useRouter } from 'next/navigation' import numbro from 'numbro' import { useFragment } from 'react-relay' -import { ProfileComponentFragment } from '../graphql/queries/ProfileComponent' +import { ProfileComponentFragment } from '../../common' import BlockButtonWithDialog from './BlockButtonWithDialog' import FollowToggleButton from './FollowToggleButton' import { diff --git a/packages/components/modules/profiles/ProfileComponent/styled.tsx b/packages/components/modules/profiles/web/ProfileComponent/styled.tsx similarity index 100% rename from packages/components/modules/profiles/ProfileComponent/styled.tsx rename to packages/components/modules/profiles/web/ProfileComponent/styled.tsx diff --git a/packages/components/modules/profiles/ProfileComponent/types.ts b/packages/components/modules/profiles/web/ProfileComponent/types.ts similarity index 53% rename from packages/components/modules/profiles/ProfileComponent/types.ts rename to packages/components/modules/profiles/web/ProfileComponent/types.ts index ab5c1257..ab9a7942 100644 --- a/packages/components/modules/profiles/ProfileComponent/types.ts +++ b/packages/components/modules/profiles/web/ProfileComponent/types.ts @@ -1,4 +1,4 @@ -import { ProfileComponentFragment$key } from '../../../__generated__/ProfileComponentFragment.graphql' +import { ProfileComponentFragment$key } from '../../../../__generated__/ProfileComponentFragment.graphql' export interface ProfileComponentProps { profile?: ProfileComponentFragment$key | null diff --git a/packages/components/modules/profiles/Members/MemberItem/index.tsx b/packages/components/modules/profiles/web/ProfileMembers/MemberItem/index.tsx similarity index 92% rename from packages/components/modules/profiles/Members/MemberItem/index.tsx rename to packages/components/modules/profiles/web/ProfileMembers/MemberItem/index.tsx index 92c0ed83..0fd34585 100644 --- a/packages/components/modules/profiles/Members/MemberItem/index.tsx +++ b/packages/components/modules/profiles/web/ProfileMembers/MemberItem/index.tsx @@ -1,14 +1,14 @@ import { FC, useState } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { AvatarWithPlaceholder, ConfirmDialog } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' +import { ConfirmDialog } from '@baseapp-frontend/design-system/components/web/dialogs' import { Box, Button, MenuItem, SelectChangeEvent, Typography } from '@mui/material' import { useFragment } from 'react-relay' -import { ProfileItemFragment$key } from '../../../../__generated__/ProfileItemFragment.graphql' -import { useChangeUserRoleMutation } from '../../graphql/mutations/ChangeUserRole' -import { ProfileItemFragment } from '../../graphql/queries/ProfileItem' +import { ProfileItemFragment$key } from '../../../../../__generated__/ProfileItemFragment.graphql' +import { ProfileItemFragment, useChangeUserRoleMutation } from '../../../common' import { MemberRoles, MemberStatuses, roleOptions } from '../constants' import { capitalizeFirstLetter } from '../utils' import { MemberItemContainer, MemberPersonalInformation, Select } from './styled' diff --git a/packages/components/modules/profiles/Members/MemberItem/styled.tsx b/packages/components/modules/profiles/web/ProfileMembers/MemberItem/styled.tsx similarity index 100% rename from packages/components/modules/profiles/Members/MemberItem/styled.tsx rename to packages/components/modules/profiles/web/ProfileMembers/MemberItem/styled.tsx diff --git a/packages/components/modules/profiles/Members/MemberItem/types.ts b/packages/components/modules/profiles/web/ProfileMembers/MemberItem/types.ts similarity index 70% rename from packages/components/modules/profiles/Members/MemberItem/types.ts rename to packages/components/modules/profiles/web/ProfileMembers/MemberItem/types.ts index 50993670..f4e2e3e7 100644 --- a/packages/components/modules/profiles/Members/MemberItem/types.ts +++ b/packages/components/modules/profiles/web/ProfileMembers/MemberItem/types.ts @@ -1,7 +1,7 @@ import type { AvatarProps, BoxProps } from '@mui/material' -import { MemberItemFragment$data } from '../../../../__generated__/MemberItemFragment.graphql' -import type { ProfileItemFragment$key } from '../../../../__generated__/ProfileItemFragment.graphql' +import type { MemberItemFragment$data } from '../../../../../__generated__/MemberItemFragment.graphql' +import type { ProfileItemFragment$key } from '../../../../../__generated__/ProfileItemFragment.graphql' export interface MemberPersonalInformationProps extends BoxProps { isActive: boolean diff --git a/packages/components/modules/profiles/Members/MemberListItem/index.tsx b/packages/components/modules/profiles/web/ProfileMembers/MemberListItem/index.tsx similarity index 97% rename from packages/components/modules/profiles/Members/MemberListItem/index.tsx rename to packages/components/modules/profiles/web/ProfileMembers/MemberListItem/index.tsx index 4ca7905e..bade758e 100644 --- a/packages/components/modules/profiles/Members/MemberListItem/index.tsx +++ b/packages/components/modules/profiles/web/ProfileMembers/MemberListItem/index.tsx @@ -3,7 +3,7 @@ import { FC } from 'react' import { Divider } from '@mui/material' import { useFragment } from 'react-relay' -import { MemberItemFragment } from '../../graphql/queries/MemberItem' +import { MemberItemFragment } from '../../../common' import { MemberStatuses } from '../constants' import { MemberListItemProps } from './types' diff --git a/packages/components/modules/profiles/Members/MemberListItem/types.ts b/packages/components/modules/profiles/web/ProfileMembers/MemberListItem/types.ts similarity index 67% rename from packages/components/modules/profiles/Members/MemberListItem/types.ts rename to packages/components/modules/profiles/web/ProfileMembers/MemberListItem/types.ts index 9c304662..83768683 100644 --- a/packages/components/modules/profiles/Members/MemberListItem/types.ts +++ b/packages/components/modules/profiles/web/ProfileMembers/MemberListItem/types.ts @@ -1,7 +1,7 @@ import { FC } from 'react' -import { MemberItemFragment$key } from '../../../../__generated__/MemberItemFragment.graphql' -import { UserMembersListFragment$data } from '../../../../__generated__/UserMembersListFragment.graphql' +import { MemberItemFragment$key } from '../../../../../__generated__/MemberItemFragment.graphql' +import { UserMembersListFragment$data } from '../../../../../__generated__/UserMembersListFragment.graphql' import { MemberItemProps } from '../MemberItem/types' export interface MemberListItemProps { diff --git a/packages/components/modules/profiles/Members/MembersList/index.tsx b/packages/components/modules/profiles/web/ProfileMembers/MembersList/index.tsx similarity index 86% rename from packages/components/modules/profiles/Members/MembersList/index.tsx rename to packages/components/modules/profiles/web/ProfileMembers/MembersList/index.tsx index e7812ef4..1fbbb3a4 100644 --- a/packages/components/modules/profiles/Members/MembersList/index.tsx +++ b/packages/components/modules/profiles/web/ProfileMembers/MembersList/index.tsx @@ -1,22 +1,22 @@ import { FC, useMemo, useTransition } from 'react' -import { LoadingState as DefaultLoadingState, Searchbar } from '@baseapp-frontend/design-system' +import { LoadingState as DefaultLoadingState } from '@baseapp-frontend/design-system/components/web/displays' +import { Searchbar } from '@baseapp-frontend/design-system/components/web/inputs' import { Box, Typography } from '@mui/material' import { useForm } from 'react-hook-form' import { useFragment, usePaginationFragment } from 'react-relay' import { Virtuoso } from 'react-virtuoso' -import { MemberItemFragment$key } from '../../../../__generated__/MemberItemFragment.graphql' -import { ProfileItemFragment$key } from '../../../../__generated__/ProfileItemFragment.graphql' -import { ProfileItemFragment } from '../../graphql/queries/ProfileItem' -import { UserMembersListFragment } from '../../graphql/queries/UserMembersList' +import { MemberItemFragment$key } from '../../../../../__generated__/MemberItemFragment.graphql' +import { ProfileItemFragment$key } from '../../../../../__generated__/ProfileItemFragment.graphql' +import { ProfileItemFragment, UserMembersListFragment } from '../../../common' import DefaultMemberItem from '../MemberItem' import MemberListItem from '../MemberListItem' import { MemberStatuses, NUMBER_OF_MEMBERS_TO_LOAD_NEXT } from '../constants' -import { MemberListProps } from '../types' +import { MembersListProps } from './types' -const MembersList: FC = ({ +const MembersList: FC = ({ userRef, MemberItem = DefaultMemberItem, MemberItemProps = {}, diff --git a/packages/components/modules/profiles/web/ProfileMembers/MembersList/types.ts b/packages/components/modules/profiles/web/ProfileMembers/MembersList/types.ts new file mode 100644 index 00000000..6443e722 --- /dev/null +++ b/packages/components/modules/profiles/web/ProfileMembers/MembersList/types.ts @@ -0,0 +1,15 @@ +import { FC } from 'react' + +import { LoadingStateProps } from '@baseapp-frontend/design-system/components/web/displays' + +import { UserMembersListFragment$key } from '../../../../../__generated__/UserMembersListFragment.graphql' +import { MemberItemProps } from '../MemberItem/types' + +export interface MembersListProps { + MemberItem?: FC + MemberItemProps?: Partial + userRef: UserMembersListFragment$key + LoadingState?: FC + LoadingStateProps?: LoadingStateProps + membersContainerHeight?: number +} diff --git a/packages/components/modules/profiles/Members/constants.ts b/packages/components/modules/profiles/web/ProfileMembers/constants.ts similarity index 100% rename from packages/components/modules/profiles/Members/constants.ts rename to packages/components/modules/profiles/web/ProfileMembers/constants.ts diff --git a/packages/components/modules/profiles/web/ProfileMembers/index.tsx b/packages/components/modules/profiles/web/ProfileMembers/index.tsx new file mode 100644 index 00000000..37f3eaff --- /dev/null +++ b/packages/components/modules/profiles/web/ProfileMembers/index.tsx @@ -0,0 +1,50 @@ +import { FC, Suspense } from 'react' + +import { useCurrentProfile } from '@baseapp-frontend/authentication' +import { LoadingState as DefaultLoadingState } from '@baseapp-frontend/design-system/components/web/displays' + +import { Typography } from '@mui/material' +import { useLazyLoadQuery } from 'react-relay' + +import { UserMembersListPaginationQuery as UserMembersListPaginationQueryType } from '../../../../__generated__/UserMembersListPaginationQuery.graphql' +import { UserMembersListPaginationQuery } from '../../common' +import MembersList from './MembersList' +import { NUMBER_OF_MEMBERS_ON_FIRST_LOAD } from './constants' +import type { ProfileMembersProps, ProfileMembersSuspendedProps } from './types' + +const ProfileMembers: FC = ({ MembersListProps = {} }) => { + const { currentProfile } = useCurrentProfile() + + const data = useLazyLoadQuery( + UserMembersListPaginationQuery, + { + profileId: currentProfile?.id || '', + count: NUMBER_OF_MEMBERS_ON_FIRST_LOAD, + orderBy: 'status', + }, + ) + + if (!data.profile) return null + return +} + +const ProfileMembersSuspended: FC = ({ + title = 'Members', + subtitle, + InitialLoadingState = DefaultLoadingState, + ...props +}) => ( + <> + + {title} + + + {subtitle} + + }> + + + +) + +export default ProfileMembersSuspended diff --git a/packages/components/modules/profiles/Members/styled.tsx b/packages/components/modules/profiles/web/ProfileMembers/styled.tsx similarity index 100% rename from packages/components/modules/profiles/Members/styled.tsx rename to packages/components/modules/profiles/web/ProfileMembers/styled.tsx diff --git a/packages/components/modules/profiles/web/ProfileMembers/types.ts b/packages/components/modules/profiles/web/ProfileMembers/types.ts new file mode 100644 index 00000000..196649a1 --- /dev/null +++ b/packages/components/modules/profiles/web/ProfileMembers/types.ts @@ -0,0 +1,13 @@ +import type { FC } from 'react' + +import { MembersListProps } from './MembersList/types' + +export interface ProfileMembersSuspendedProps { + MembersListProps?: Partial + title?: string + subtitle?: string + InitialLoadingState?: FC +} + +export interface ProfileMembersProps + extends Omit {} diff --git a/packages/components/modules/profiles/Members/utils.ts b/packages/components/modules/profiles/web/ProfileMembers/utils.ts similarity index 100% rename from packages/components/modules/profiles/Members/utils.ts rename to packages/components/modules/profiles/web/ProfileMembers/utils.ts diff --git a/packages/components/modules/profiles/web/index.ts b/packages/components/modules/profiles/web/index.ts new file mode 100644 index 00000000..d0c9af0a --- /dev/null +++ b/packages/components/modules/profiles/web/index.ts @@ -0,0 +1,18 @@ +// exports web profiles components + +export { default as AddProfileMenuItem } from './profile-popover/AddProfileMenuItem' +export type * from './profile-popover/AddProfileMenuItem/types' + +export { default as CurrentProfile } from './profile-popover/CurrentProfile' + +export { default as ProfilesList } from './profile-popover/ProfilesList' +export type * from './profile-popover/ProfilesList/types' + +export { default as SwitchProfileMenu } from './profile-popover/SwitchProfileMenu' +export type * from './profile-popover/SwitchProfileMenu/types' + +export { default as ProfileMembers } from './ProfileMembers' +export type * from './ProfileMembers/types' + +export { default as ProfileComponent } from './ProfileComponent' +export type * from './ProfileComponent/types' diff --git a/packages/components/modules/profiles/ProfilePopover/AddProfileModal/constants.ts b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/constants.ts similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/AddProfileModal/constants.ts rename to packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/constants.ts diff --git a/packages/components/modules/profiles/ProfilePopover/AddProfileModal/index.tsx b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/index.tsx similarity index 92% rename from packages/components/modules/profiles/ProfilePopover/AddProfileModal/index.tsx rename to packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/index.tsx index 0050a67c..058643bb 100644 --- a/packages/components/modules/profiles/ProfilePopover/AddProfileModal/index.tsx +++ b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/index.tsx @@ -1,6 +1,7 @@ import { FC } from 'react' -import { CloseIcon, TextField } from '@baseapp-frontend/design-system' +import { CloseIcon } from '@baseapp-frontend/design-system/components/web/icons' +import { TextField } from '@baseapp-frontend/design-system/components/web/inputs' import { setFormRelayErrors } from '@baseapp-frontend/utils' import { zodResolver } from '@hookform/resolvers/zod' @@ -20,14 +21,14 @@ import { useForm } from 'react-hook-form' import { ConnectionHandler } from 'react-relay' import slugify from 'slugify' -import { useOrganizationCreateMutation } from '../../graphql/mutations/OrganizationCreate' +import { useOrganizationCreateMutation } from '../../../../common' import { schema } from './constants' import { Form } from './styled' -import { AddProfileModalProps, OrganizationCreateForm } from './types' +import { CreateProfileModalProps, OrganizationCreateForm } from './types' let nextClientMutationId = 0 -const AddProfileModal: FC = ({ +const CreateProfileModal: FC = ({ addNewProfileLabel = 'New organization', termsAndConditionsUrl = '', addNewProfileDescription = 'Create an organization and invite multiple members to manage and collaborate.', @@ -166,4 +167,4 @@ const AddProfileModal: FC = ({ ) } -export default AddProfileModal +export default CreateProfileModal diff --git a/packages/components/modules/profiles/ProfilePopover/AddProfileModal/styled.tsx b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/styled.tsx similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/AddProfileModal/styled.tsx rename to packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/styled.tsx diff --git a/packages/components/modules/profiles/ProfilePopover/AddProfileModal/types.ts b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/types.ts similarity index 87% rename from packages/components/modules/profiles/ProfilePopover/AddProfileModal/types.ts rename to packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/types.ts index 39df059c..1ca54295 100644 --- a/packages/components/modules/profiles/ProfilePopover/AddProfileModal/types.ts +++ b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/types.ts @@ -1,4 +1,4 @@ -export interface AddProfileModalProps { +export interface CreateProfileModalProps { addNewProfileLabel?: string termsAndConditionsUrl?: string addNewProfileDescription?: string diff --git a/packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/index.tsx b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/index.tsx similarity index 77% rename from packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/index.tsx rename to packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/index.tsx index d8cbff61..85598ad9 100644 --- a/packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/index.tsx +++ b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/index.tsx @@ -2,19 +2,19 @@ import { FC, Suspense, useState } from 'react' -import { AddIcon } from '@baseapp-frontend/design-system' +import { AddIcon } from '@baseapp-frontend/design-system/components/web/icons' import { ButtonBase, MenuItem, Stack } from '@mui/material' import { useLazyLoadQuery } from 'react-relay' -import { AddProfilePopoverUserQuery as AddProfilePopoverUserQueryType } from '../../../../__generated__/AddProfilePopoverUserQuery.graphql' -import { AddProfilePopoverUserQuery } from '../../graphql/queries/AddProfilePopover' -import AddProfileModal from '../AddProfileModal' +import { AddProfilePopoverUserQuery as AddProfilePopoverUserQueryType } from '../../../../../__generated__/AddProfilePopoverUserQuery.graphql' +import { AddProfilePopoverUserQuery } from '../../../common' +import DefaultCreateProfileModal from './CreateProfileModal' import { AddProfileMenuItemProps } from './types' const AddProfileMenuItem: FC = ({ addNewProfileLabel = 'New organization', - CreateProfileModal = AddProfileModal, + CreateProfileModal = DefaultCreateProfileModal, }) => { const [open, setOpen] = useState(false) const { me } = useLazyLoadQuery(AddProfilePopoverUserQuery, {}) diff --git a/packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/styled.tsx b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/styled.tsx similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/AddProfileMenuItem/styled.tsx rename to packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/styled.tsx diff --git a/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/types.ts b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/types.ts new file mode 100644 index 00000000..dda0dcac --- /dev/null +++ b/packages/components/modules/profiles/web/profile-popover/AddProfileMenuItem/types.ts @@ -0,0 +1,8 @@ +import { FC } from 'react' + +import { CreateProfileModalProps } from './CreateProfileModal/types' + +export interface AddProfileMenuItemProps { + addNewProfileLabel?: string + CreateProfileModal?: FC +} diff --git a/packages/components/modules/profiles/ProfilePopover/CurrentProfile/index.tsx b/packages/components/modules/profiles/web/profile-popover/CurrentProfile/index.tsx similarity index 97% rename from packages/components/modules/profiles/ProfilePopover/CurrentProfile/index.tsx rename to packages/components/modules/profiles/web/profile-popover/CurrentProfile/index.tsx index ae1efb8e..883bf752 100644 --- a/packages/components/modules/profiles/ProfilePopover/CurrentProfile/index.tsx +++ b/packages/components/modules/profiles/web/profile-popover/CurrentProfile/index.tsx @@ -1,7 +1,7 @@ import { FC } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' import { Box, Typography } from '@mui/material' diff --git a/packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/index.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/index.tsx new file mode 100644 index 00000000..48a2dbaf --- /dev/null +++ b/packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/index.tsx @@ -0,0 +1,20 @@ +import { SearchingImage } from '@baseapp-frontend/design-system/components/web/illustrations' + +import { Box, Typography } from '@mui/material' + +import { Container } from './styled' + +// TODO: check no profiles empty state +const EmptyState = () => ( + + + + There are no profiles created. + + Your future profiles will be shown here. + + + +) + +export default EmptyState diff --git a/packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/styled.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/styled.tsx new file mode 100644 index 00000000..f2c3ef48 --- /dev/null +++ b/packages/components/modules/profiles/web/profile-popover/ProfilesList/EmptyState/styled.tsx @@ -0,0 +1,13 @@ +import { Box } from '@mui/material' +import { styled } from '@mui/material/styles' + +export const Container = styled(Box)(({ theme }) => ({ + height: '100%', + width: '100%', + display: 'grid', + gap: theme.spacing(2), + justifyItems: 'center', + alignContent: 'center', + gridAutoRows: 'min-content', + backgroundColor: theme.palette.common.white, +})) diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/LoadingState/index.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/LoadingState/index.tsx similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/LoadingState/index.tsx rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/LoadingState/index.tsx diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/LoadingState/styled.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/LoadingState/styled.tsx similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/LoadingState/styled.tsx rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/LoadingState/styled.tsx diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/index.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/index.tsx similarity index 87% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/index.tsx rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/index.tsx index acf0bf2e..03840361 100644 --- a/packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/index.tsx +++ b/packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/index.tsx @@ -1,12 +1,13 @@ import { FC } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { AvatarWithPlaceholder, CheckMarkIcon } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/components/web/avatars' +import { CheckMarkIcon } from '@baseapp-frontend/design-system/components/web/icons' import { Box, Typography } from '@mui/material' import { useFragment } from 'react-relay' -import { ProfileItemFragment } from '../../../graphql/queries/ProfileItem' +import { ProfileItemFragment } from '../../../../common' import { StyledMenuItem } from './styled' import { ProfileMenuItemProps } from './types' diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/styled.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/styled.tsx similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/styled.tsx rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/styled.tsx diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/types.ts b/packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/types.ts similarity index 80% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/types.ts rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/types.ts index 24da3dfa..0d1d76bd 100644 --- a/packages/components/modules/profiles/ProfilePopover/ProfilesList/ProfileMenuItem/types.ts +++ b/packages/components/modules/profiles/web/profile-popover/ProfilesList/ProfileMenuItem/types.ts @@ -1,11 +1,11 @@ -import type { AvatarWithPlaceholderProps } from '@baseapp-frontend/design-system' +import type { AvatarWithPlaceholderProps } from '@baseapp-frontend/design-system/components/web/avatars' import { type MenuItemProps } from '@mui/material' -import { +import type { ProfileItemFragment$data, ProfileItemFragment$key, -} from '../../../../../__generated__/ProfileItemFragment.graphql' +} from '../../../../../../__generated__/ProfileItemFragment.graphql' export interface ProfileMenuItemProps { profileRef: ProfileItemFragment$key diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/index.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/index.tsx similarity index 90% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/index.tsx rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/index.tsx index 37f4ad3b..b52d0ba9 100644 --- a/packages/components/modules/profiles/ProfilePopover/ProfilesList/index.tsx +++ b/packages/components/modules/profiles/web/profile-popover/ProfilesList/index.tsx @@ -3,7 +3,7 @@ import { FC, Suspense, useMemo } from 'react' import { useCurrentProfile } from '@baseapp-frontend/authentication' -import { ChevronIcon } from '@baseapp-frontend/design-system' +import { ChevronIcon } from '@baseapp-frontend/design-system/components/web/icons' import { useNotification } from '@baseapp-frontend/utils' import { Box, ButtonBase, Divider, Slide } from '@mui/material' @@ -13,11 +13,11 @@ import { Virtuoso } from 'react-virtuoso' import { ProfileItemFragment$data, ProfileItemFragment$key, -} from '../../../../__generated__/ProfileItemFragment.graphql' -import { ProfilesListFragment$key } from '../../../../__generated__/ProfilesListFragment.graphql' -import { ProfilesListQuery as ProfilesListQueryType } from '../../../../__generated__/ProfilesListQuery.graphql' -import EmptyState from '../../../notifications/NotificationsList/EmptyState' -import { ProfilesListFragment, ProfilesListQuery } from '../../graphql/queries/ProfilesList' +} from '../../../../../__generated__/ProfileItemFragment.graphql' +import { ProfilesListFragment$key } from '../../../../../__generated__/ProfilesListFragment.graphql' +import { ProfilesListQuery as ProfilesListQueryType } from '../../../../../__generated__/ProfilesListQuery.graphql' +import { ProfilesListFragment, ProfilesListQuery } from '../../../common' +import EmptyState from './EmptyState' import LoadingState from './LoadingState' import ProfileMenuItem from './ProfileMenuItem' import { CancelMenuItem, StyledList } from './styled' diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/styled.tsx b/packages/components/modules/profiles/web/profile-popover/ProfilesList/styled.tsx similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/styled.tsx rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/styled.tsx diff --git a/packages/components/modules/profiles/ProfilePopover/ProfilesList/types.ts b/packages/components/modules/profiles/web/profile-popover/ProfilesList/types.ts similarity index 89% rename from packages/components/modules/profiles/ProfilePopover/ProfilesList/types.ts rename to packages/components/modules/profiles/web/profile-popover/ProfilesList/types.ts index 2e8c1e38..af1dca46 100644 --- a/packages/components/modules/profiles/ProfilePopover/ProfilesList/types.ts +++ b/packages/components/modules/profiles/web/profile-popover/ProfilesList/types.ts @@ -1,4 +1,4 @@ -import { LoadingStateProps } from '@baseapp-frontend/design-system/components/displays/LoadingState/types' +import { LoadingStateProps } from '@baseapp-frontend/design-system/components/web/displays' import type { ProfileMenuItemProps } from './ProfileMenuItem/types' diff --git a/packages/components/modules/profiles/ProfilePopover/SwitchProfileMenu/index.tsx b/packages/components/modules/profiles/web/profile-popover/SwitchProfileMenu/index.tsx similarity index 88% rename from packages/components/modules/profiles/ProfilePopover/SwitchProfileMenu/index.tsx rename to packages/components/modules/profiles/web/profile-popover/SwitchProfileMenu/index.tsx index ef71b733..4cb33dd7 100644 --- a/packages/components/modules/profiles/ProfilePopover/SwitchProfileMenu/index.tsx +++ b/packages/components/modules/profiles/web/profile-popover/SwitchProfileMenu/index.tsx @@ -1,6 +1,6 @@ import { FC } from 'react' -import { ChevronIcon } from '@baseapp-frontend/design-system' +import { ChevronIcon } from '@baseapp-frontend/design-system/components/web/icons' import { Box, ButtonBase, MenuItem, Stack } from '@mui/material' diff --git a/packages/components/modules/profiles/ProfilePopover/SwitchProfileMenu/types.ts b/packages/components/modules/profiles/web/profile-popover/SwitchProfileMenu/types.ts similarity index 100% rename from packages/components/modules/profiles/ProfilePopover/SwitchProfileMenu/types.ts rename to packages/components/modules/profiles/web/profile-popover/SwitchProfileMenu/types.ts diff --git a/packages/components/package.json b/packages/components/package.json index d0dc58b0..b7f3ca39 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,29 +1,75 @@ { "name": "@baseapp-frontend/components", "description": "BaseApp components modules such as comments, notifications, messages, and more.", - "version": "0.0.58", - "main": "./index.ts", - "types": "dist/index.d.ts", + "version": "1.0.0", "sideEffects": false, "scripts": { - "build": "rm -rf dist && pnpm relay && tsc --build tsconfig.build.json", - "dev": "rm -rf dist && pnpm relay && tsc --watch", + "babel:bundle": "babel modules -d tmp-babel --extensions .ts,.tsx --ignore '**/__tests__/**','**/__storybook__/**'", + "tsup:bundle": "tsup tmp-babel --tsconfig tsconfig.build.json", + "tsc:declaration": "tsc -p tsconfig.build.json --emitDeclarationOnly", + "copy:dts": "node ../../.scripts/copy-dts.js", + "clean:tmp": "rm -rf tmp-babel tmp-dts", + "build": "rm -rf dist && pnpm relay && pnpm babel:bundle && pnpm tsup:bundle && pnpm tsc:declaration && pnpm copy:dts && pnpm clean:tmp", + "dev": "tsup --watch", "relay": "relay-compiler", "relay-download-schema": "dotenv -- bash -c 'get-graphql-schema \"$NEXT_PUBLIC_RELAY_ENDPOINT\" > schema.graphql'", "relay-update-schema": "pnpm relay-download-schema && pnpm relay", "lint": "eslint . --ext .tsx --ext .ts && tsc --noEmit", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", + "prettier": "prettier --write .", "storybook": "pnpm relay && storybook dev -p 6007", "storybook:build": "storybook build", "cypress:clean": "rm -rf ./cypress/downloads ./cypress/screenshots ./cypress/videos", "cypress:open": "cypress open --browser chrome", "test:component": "cypress run --component --browser chrome --headed", - "test:unit": "jest --config ./jest.config.ts" + "test:unit": "jest --config ./jest.config.ts", + "prepublishOnly": "pnpm run build" }, + "exports": { + "./shared/*": { + "types": "./dist/__shared__/*/index.d.ts", + "import": "./dist/__shared__/*/index.mjs", + "require": "./dist/__shared__/*/index.js" + }, + "./activity-log/*": { + "types": "./dist/activity-log/*/index.d.ts", + "import": "./dist/activity-log/*/index.mjs", + "require": "./dist/activity-log/*/index.js" + }, + "./comments/*": { + "types": "./dist/comments/*/index.d.ts", + "import": "./dist/comments/*/index.mjs", + "require": "./dist/comments/*/index.js" + }, + "./messages/*": { + "types": "./dist/messages/*/index.d.ts", + "import": "./dist/messages/*/index.mjs", + "require": "./dist/messages/*/index.js" + }, + "./navigations/*": { + "types": "./dist/navigations/*/index.d.ts", + "import": "./dist/navigations/*/index.mjs", + "require": "./dist/navigations/*/index.js" + }, + "./notifications/*": { + "types": "./dist/notifications/*/index.d.ts", + "import": "./dist/notifications/*/index.mjs", + "require": "./dist/notifications/*/index.js" + }, + "./profiles/*": { + "types": "./dist/profiles/*/index.d.ts", + "import": "./dist/profiles/*/index.mjs", + "require": "./dist/profiles/*/index.js" + } + }, + "files": [ + "dist" + ], "dependencies": { "@emotion/cache": "catalog:material-ui", "@emotion/react": "catalog:material-ui", "@emotion/styled": "catalog:material-ui", + "@gorhom/bottom-sheet": "catalog:react-native-core", "@hookform/resolvers": "catalog:", "@mui/icons-material": "catalog:material-ui", "@mui/lab": "catalog:material-ui", @@ -32,6 +78,9 @@ "@mui/x-date-pickers": "catalog:material-ui", "@storybook/react": "catalog:storybook", "@tanstack/react-query": "catalog:", + "expo-file-system": "catalog:react-native-core", + "expo-image-picker": "catalog:react-native-core", + "expo-router": "catalog:react-native-core", "framer-motion": "^11.5.4", "graphql": "catalog:graphql", "js-cookie": "catalog:", @@ -39,6 +88,8 @@ "next": "catalog:", "numbro": "^2.5.0", "react-hook-form": "catalog:", + "react-native": "catalog:react-native-core", + "react-native-gesture-handler": "catalog:react-native-core", "react-relay": "catalog:graphql", "react-virtuoso": "catalog:", "relay-connection-handler-plus": "catalog:graphql", @@ -57,6 +108,7 @@ "react-dom": "catalog:react18" }, "devDependencies": { + "@babel/cli": "^7.26.4", "@babel/preset-env": "catalog:storybook", "@babel/preset-react": "catalog:storybook", "@babel/preset-typescript": "catalog:storybook", @@ -115,6 +167,7 @@ "tailwindcss": "catalog:tailwind", "ts-jest": "catalog:test", "ts-node": "catalog:test", + "tsup": "catalog:", "typescript": "catalog:", "webpack": "catalog:storybook", "webpack-cli": "catalog:storybook", diff --git a/packages/components/schema.graphql b/packages/components/schema.graphql index ed75c160..b472b93f 100644 --- a/packages/components/schema.graphql +++ b/packages/components/schema.graphql @@ -1,11 +1,17 @@ -"""Exposes a URL that specifies the behaviour of this scalar.""" +""" +Exposes a URL that specifies the behaviour of this scalar. +""" directive @specifiedBy( - """The URL that specifies the behaviour of this scalar.""" + """ + The URL that specifies the behaviour of this scalar. + """ url: String! ) on SCALAR type ActivityLog implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! createdAt: DateTime! updatedAt: DateTime! @@ -16,31 +22,52 @@ type ActivityLog implements Node { url: String pk: Int! metadata: GenericScalar - events(offset: Int, before: String, after: String, first: Int, last: Int, createdFrom: Date, createdTo: Date, userPk: Decimal): NodeLogEventConnection + events( + offset: Int + before: String + after: String + first: Int + last: Int + createdFrom: Date + createdTo: Date + userPk: Decimal + ): NodeLogEventConnection profile: Profile } type ActivityLogConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [ActivityLogEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `ActivityLog` and its cursor.""" +""" +A Relay edge containing a `ActivityLog` and its cursor. +""" type ActivityLogEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: ActivityLog - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } type Block implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -51,26 +78,38 @@ type Block implements Node { } type BlockConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [BlockEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `Block` and its cursor.""" +""" +A Relay edge containing a `Block` and its cursor. +""" type BlockEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Block - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } interface BlocksInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! blockers(offset: Int, before: String, after: String, first: Int, last: Int): BlockConnection blocking(offset: Int, before: String, after: String, first: Int, last: Int): BlockConnection @@ -86,7 +125,9 @@ input BlockToggleInput { } type BlockTogglePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug block: BlockEdge @@ -97,7 +138,9 @@ type BlockTogglePayload { } type ChatRoom implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! title: String image(width: Int!, height: Int!): File @@ -105,9 +148,22 @@ type ChatRoom implements Node { lastMessageTime: DateTime participantsCount: Int! isGroup: Boolean! - participants(offset: Int, before: String, after: String, first: Int, last: Int): ChatRoomParticipantConnection + participants( + offset: Int + before: String + after: String + first: Int + last: Int + ): ChatRoomParticipantConnection pk: Int! - allMessages(offset: Int, before: String, after: String, first: Int, last: Int, verb: Verbs): MessageConnection + allMessages( + offset: Int + before: String + after: String + first: Int + last: Int + verb: Verbs + ): MessageConnection unreadMessages(profileId: ID): UnreadMessageCount isArchived(profileId: ID): Boolean } @@ -120,7 +176,9 @@ input ChatRoomArchiveInput { } type ChatRoomArchivePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug room: ChatRoom @@ -128,10 +186,14 @@ type ChatRoomArchivePayload { } type ChatRoomConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [ChatRoomEdge]! totalCount: Int edgeCount: Int @@ -146,7 +208,9 @@ input ChatRoomCreateInput { } type ChatRoomCreatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug room: ChatRoomEdge @@ -154,12 +218,18 @@ type ChatRoomCreatePayload { clientMutationId: String } -"""A Relay edge containing a `ChatRoom` and its cursor.""" +""" +A Relay edge containing a `ChatRoom` and its cursor. +""" type ChatRoomEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: ChatRoom - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } @@ -170,7 +240,9 @@ input ChatRoomEditMessageInput { } type ChatRoomEditMessagePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug message: MessageEdge @@ -191,7 +263,9 @@ type ChatRoomOnRoomUpdate { } type ChatRoomParticipant implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! profile: Profile role: ChatRoomParticipantRoles @@ -200,30 +274,46 @@ type ChatRoomParticipant implements Node { } type ChatRoomParticipantConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [ChatRoomParticipantEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `ChatRoomParticipant` and its cursor.""" +""" +A Relay edge containing a `ChatRoomParticipant` and its cursor. +""" type ChatRoomParticipantEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: ChatRoomParticipant - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } -"""An enumeration.""" +""" +An enumeration. +""" enum ChatRoomParticipantRoles { - """member""" + """ + member + """ MEMBER - """admin""" + """ + admin + """ ADMIN } @@ -235,7 +325,9 @@ input ChatRoomReadMessagesInput { } type ChatRoomReadMessagesPayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug room: ChatRoom @@ -253,7 +345,9 @@ input ChatRoomSendMessageInput { } type ChatRoomSendMessagePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug message: MessageEdge @@ -261,7 +355,9 @@ type ChatRoomSendMessagePayload { } interface ChatRoomsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! chatRooms( offset: Int @@ -271,7 +367,9 @@ interface ChatRoomsInterface { last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String profileId: String unreadMessages: Boolean @@ -287,7 +385,9 @@ input ChatRoomUnreadInput { } type ChatRoomUnreadPayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug room: ChatRoom @@ -306,7 +406,9 @@ input ChatRoomUpdateInput { } type ChatRoomUpdatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug room: ChatRoomEdge @@ -321,14 +423,18 @@ type Comment implements Node & CommentsInterface & ReactionsInterface & Permissi profile: Profile body: String - """languaged used in the comment""" + """ + languaged used in the comment + """ language: String isEdited: Boolean! isPinned: Boolean! inReplyTo: Comment status: CommentStatus - """The ID of the object""" + """ + The ID of the object + """ id: ID! commentsCount: CommentsCount! comments( @@ -339,12 +445,21 @@ type Comment implements Node & CommentsInterface & ReactionsInterface & Permissi last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): CommentConnection isCommentsEnabled: Boolean! reactionsCount: ReactionsCount - reactions(offset: Int, before: String, after: String, first: Int, last: Int, id: ID): ReactionConnection + reactions( + offset: Int + before: String + after: String + first: Int + last: Int + id: ID + ): ReactionConnection isReactionsEnabled: Boolean! myReaction(profileId: ID): Reaction @@ -352,16 +467,32 @@ type Comment implements Node & CommentsInterface & ReactionsInterface & Permissi Determine if the logged in user has a specific permission for this object. """ hasPerm(perm: String!): Boolean - nodeActivityLogs(visibility: VisibilityTypes, first: Int = 10, offset: Int, before: String, after: String, last: Int, createdFrom: Date, createdTo: Date, userPk: Decimal, profilePk: Decimal, userName: String): ActivityLogConnection + nodeActivityLogs( + visibility: VisibilityTypes + first: Int = 10 + offset: Int + before: String + after: String + last: Int + createdFrom: Date + createdTo: Date + userPk: Decimal + profilePk: Decimal + userName: String + ): ActivityLogConnection pk: Int! target: CommentsInterface } type CommentConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [CommentEdge]! totalCount: Int edgeCount: Int @@ -376,7 +507,9 @@ input CommentCreateInput { } type CommentCreatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug comment: CommentEdge @@ -389,7 +522,9 @@ input CommentDeleteInput { } type CommentDeletePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug deletedId: ID @@ -398,12 +533,18 @@ type CommentDeletePayload { clientMutationId: String } -"""A Relay edge containing a `Comment` and its cursor.""" +""" +A Relay edge containing a `Comment` and its cursor. +""" type CommentEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Comment - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } @@ -413,7 +554,9 @@ input CommentPinInput { } type CommentPinPayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug comment: Comment @@ -429,7 +572,9 @@ type CommentsCount { } interface CommentsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! commentsCount: CommentsCount! comments( @@ -440,13 +585,17 @@ interface CommentsInterface { last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): CommentConnection isCommentsEnabled: Boolean! } -"""An enumeration.""" +""" +An enumeration. +""" enum CommentStatus { DELETED PUBLISHED @@ -459,7 +608,9 @@ input CommentUpdateInput { } type CommentUpdatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug comment: Comment @@ -480,72 +631,118 @@ value as specified by """ scalar DateTime -"""The `Decimal` scalar type represents a python Decimal.""" +""" +The `Decimal` scalar type represents a python Decimal. +""" scalar Decimal -"""Debugging information for the current query.""" +""" +Debugging information for the current query. +""" type DjangoDebug { - """Executed SQL queries for this API query.""" + """ + Executed SQL queries for this API query. + """ sql: [DjangoDebugSQL] - """Raise exceptions for this API query.""" + """ + Raise exceptions for this API query. + """ exceptions: [DjangoDebugException] } -"""Represents a single exception raised.""" +""" +Represents a single exception raised. +""" type DjangoDebugException { - """The class of the exception""" + """ + The class of the exception + """ excType: String! - """The message of the exception""" + """ + The message of the exception + """ message: String! - """The stack trace""" + """ + The stack trace + """ stack: String! } -"""Represents a single database query made to a Django managed DB.""" +""" +Represents a single database query made to a Django managed DB. +""" type DjangoDebugSQL { - """The type of database being used (e.g. postrgesql, mysql, sqlite).""" + """ + The type of database being used (e.g. postrgesql, mysql, sqlite). + """ vendor: String! - """The Django database alias (e.g. 'default').""" + """ + The Django database alias (e.g. 'default'). + """ alias: String! - """The actual SQL sent to this database.""" + """ + The actual SQL sent to this database. + """ sql: String - """Duration of this database query in seconds.""" + """ + Duration of this database query in seconds. + """ duration: Float! - """The raw SQL of this query, without params.""" + """ + The raw SQL of this query, without params. + """ rawSql: String! - """JSON encoded database query parameters.""" + """ + JSON encoded database query parameters. + """ params: String! - """Start time of this database query.""" + """ + Start time of this database query. + """ startTime: Float! - """Stop time of this database query.""" + """ + Stop time of this database query. + """ stopTime: Float! - """Whether this database query took more than 10 seconds.""" + """ + Whether this database query took more than 10 seconds. + """ isSlow: Boolean! - """Whether this database query was a SELECT.""" + """ + Whether this database query was a SELECT. + """ isSelect: Boolean! - """Postgres transaction ID if available.""" + """ + Postgres transaction ID if available. + """ transId: String - """Postgres transaction status if available.""" + """ + Postgres transaction status if available. + """ transStatus: String - """Postgres isolation level if available.""" + """ + Postgres isolation level if available. + """ isoLevel: String - """Postgres connection encoding if available.""" + """ + Postgres connection encoding if available. + """ encoding: String } @@ -559,7 +756,9 @@ type File { } type Follow implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -571,29 +770,55 @@ type Follow implements Node { } type FollowConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [FollowEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `Follow` and its cursor.""" +""" +A Relay edge containing a `Follow` and its cursor. +""" type FollowEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Follow - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } interface FollowsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! - followers(offset: Int, before: String, after: String, first: Int, last: Int, targetIsFollowingBack: Boolean): FollowConnection - following(offset: Int, before: String, after: String, first: Int, last: Int, targetIsFollowingBack: Boolean): FollowConnection + followers( + offset: Int + before: String + after: String + first: Int + last: Int + targetIsFollowingBack: Boolean + ): FollowConnection + following( + offset: Int + before: String + after: String + first: Int + last: Int + targetIsFollowingBack: Boolean + ): FollowConnection followersCount: Int followingCount: Int isFollowedByMe(profileId: ID): Boolean @@ -606,7 +831,9 @@ input FollowToggleInput { } type FollowTogglePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug follow: FollowEdge @@ -631,7 +858,9 @@ schema (one of the key benefits of GraphQL). """ scalar JSONString -"""Languages available""" +""" +Languages available +""" enum Languages { en es @@ -639,7 +868,9 @@ enum Languages { } type Message implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! content(profileId: ID): String @@ -656,25 +887,37 @@ type Message implements Node { } type MessageConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [MessageEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `Message` and its cursor.""" +""" +A Relay edge containing a `Message` and its cursor. +""" type MessageEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Message - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } -"""An enumeration.""" +""" +An enumeration. +""" enum MessageType { USER_MESSAGE SYSTEM_GENERATED @@ -708,8 +951,12 @@ type Mutation { blockToggle(input: BlockToggleInput!): BlockTogglePayload reactionToggle(input: ReactionToggleInput!): ReactionTogglePayload notificationsMarkAsRead(input: NotificationsMarkAsReadInput!): NotificationsMarkAsReadPayload - notificationsMarkAllAsRead(input: NotificationsMarkAllAsReadInput!): NotificationsMarkAllAsReadPayload - notificationSettingToggle(input: NotificationSettingToggleInput!): NotificationSettingTogglePayload + notificationsMarkAllAsRead( + input: NotificationsMarkAllAsReadInput! + ): NotificationsMarkAllAsReadPayload + notificationSettingToggle( + input: NotificationSettingToggleInput! + ): NotificationSettingTogglePayload commentCreate(input: CommentCreateInput!): CommentCreatePayload commentUpdate(input: CommentUpdateInput!): CommentUpdatePayload commentPin(input: CommentPinInput!): CommentPinPayload @@ -722,61 +969,103 @@ type Mutation { profileRoleUpdate(input: RoleUpdateInput!): RoleUpdatePayload } -"""An object with an ID""" +""" +An object with an ID +""" interface Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! } interface NodeActivityLogInterface { - nodeActivityLogs(visibility: VisibilityTypes, first: Int = 10, offset: Int, before: String, after: String, last: Int, createdFrom: Date, createdTo: Date, userPk: Decimal, profilePk: Decimal, userName: String): ActivityLogConnection + nodeActivityLogs( + visibility: VisibilityTypes + first: Int = 10 + offset: Int + before: String + after: String + last: Int + createdFrom: Date + createdTo: Date + userPk: Decimal + profilePk: Decimal + userName: String + ): ActivityLogConnection } type NodeLogEvent implements Node { - """The user associated with the event.""" + """ + The user associated with the event. + """ user: User - """The ID of the object""" + """ + The ID of the object + """ id: ID! pk: Int! - """The object of the event.""" + """ + The object of the event. + """ obj: Node - """The event label.""" + """ + The event label. + """ label: String - """The raw data of the event.""" + """ + The raw data of the event. + """ data: GenericScalar - """The diff between the previous event of the same label.""" + """ + The diff between the previous event of the same label. + """ diff: GenericScalar - """When the event was created.""" + """ + When the event was created. + """ createdAt: DateTime } type NodeLogEventConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [NodeLogEventEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `NodeLogEvent` and its cursor.""" +""" +A Relay edge containing a `NodeLogEvent` and its cursor. +""" type NodeLogEventEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: NodeLogEvent - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } type Notification implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! level: NotificationsNotificationLevelChoices! recipient: User! @@ -797,42 +1086,64 @@ type Notification implements Node { actionObject: Node } -"""An enumeration.""" +""" +An enumeration. +""" enum NotificationChannelTypes { - """All""" + """ + All + """ ALL - """Email""" + """ + Email + """ EMAIL - """Push""" + """ + Push + """ PUSH - """In-App""" + """ + In-App + """ IN_APP } type NotificationConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [NotificationEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `Notification` and its cursor.""" +""" +A Relay edge containing a `Notification` and its cursor. +""" type NotificationEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Notification - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } type NotificationSetting implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -844,21 +1155,31 @@ type NotificationSetting implements Node { } type NotificationSettingConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [NotificationSettingEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `NotificationSetting` and its cursor.""" +""" +A Relay edge containing a `NotificationSetting` and its cursor. +""" type NotificationSettingEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: NotificationSetting - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } @@ -869,7 +1190,9 @@ input NotificationSettingToggleInput { } type NotificationSettingTogglePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug notificationSetting: NotificationSetting @@ -877,22 +1200,43 @@ type NotificationSettingTogglePayload { } interface NotificationsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! notificationsUnreadCount: Int - notifications(offset: Int, before: String, after: String, first: Int, last: Int, level: NotificationsNotificationLevelChoices, unread: Boolean, verbs: String): NotificationConnection - notificationSettings(offset: Int, before: String, after: String, first: Int, last: Int): NotificationSettingConnection + notifications( + offset: Int + before: String + after: String + first: Int + last: Int + level: NotificationsNotificationLevelChoices + unread: Boolean + verbs: String + ): NotificationConnection + notificationSettings( + offset: Int + before: String + after: String + first: Int + last: Int + ): NotificationSettingConnection isNotificationSettingActive(verb: String!, channel: NotificationChannelTypes!): Boolean } input NotificationsMarkAllAsReadInput { - """Mark as read or unread""" + """ + Mark as read or unread + """ read: Boolean! clientMutationId: String } type NotificationsMarkAllAsReadPayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug recipient: NotificationsInterface @@ -900,14 +1244,18 @@ type NotificationsMarkAllAsReadPayload { } input NotificationsMarkAsReadInput { - """Mark as read or unread""" + """ + Mark as read or unread + """ read: Boolean! notificationIds: [ID!] clientMutationId: String } type NotificationsMarkAsReadPayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug recipient: NotificationsInterface @@ -915,18 +1263,28 @@ type NotificationsMarkAsReadPayload { clientMutationId: String } -"""An enumeration.""" +""" +An enumeration. +""" enum NotificationsNotificationLevelChoices { - """success""" + """ + success + """ SUCCESS - """info""" + """ + info + """ INFO - """warning""" + """ + warning + """ WARNING - """error""" + """ + error + """ ERROR } @@ -945,7 +1303,9 @@ type OnNotificationChange { type Organization implements Node & PermissionsInterface { profile: Profile - """The ID of the object""" + """ + The ID of the object + """ id: ID! """ @@ -962,7 +1322,9 @@ input OrganizationCreateInput { } type OrganizationCreatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug organization: OrganizationEdge @@ -970,12 +1332,18 @@ type OrganizationCreatePayload { clientMutationId: String } -"""A Relay edge containing a `Organization` and its cursor.""" +""" +A Relay edge containing a `Organization` and its cursor. +""" type OrganizationEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Organization - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } @@ -985,7 +1353,9 @@ type Page implements Node & PageInterface & PermissionsInterface & CommentsInter user: User status: PageStatus - """The ID of the object""" + """ + The ID of the object + """ id: ID! urlPath: URLPath urlPaths: [URLPath] @@ -1004,7 +1374,9 @@ type Page implements Node & PageInterface & PermissionsInterface & CommentsInter last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): CommentConnection isCommentsEnabled: Boolean! @@ -1014,10 +1386,14 @@ type Page implements Node & PageInterface & PermissionsInterface & CommentsInter } type PageConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [PageEdge]! totalCount: Int edgeCount: Int @@ -1032,19 +1408,27 @@ input PageCreateInput { } type PageCreatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug page: PageEdge clientMutationId: String } -"""A Relay edge containing a `Page` and its cursor.""" +""" +A Relay edge containing a `Page` and its cursor. +""" type PageEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Page - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } @@ -1058,7 +1442,9 @@ input PageEditInput { } type PageEditPayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug page: Page @@ -1069,38 +1455,56 @@ type PageEditPayload { The Relay compliant `PageInfo` type, containing data necessary to paginate this connection. """ type PageInfo { - """When paginating forwards, are there more items?""" + """ + When paginating forwards, are there more items? + """ hasNextPage: Boolean! - """When paginating backwards, are there more items?""" + """ + When paginating backwards, are there more items? + """ hasPreviousPage: Boolean! - """When paginating backwards, the cursor to continue.""" + """ + When paginating backwards, the cursor to continue. + """ startCursor: String - """When paginating forwards, the cursor to continue.""" + """ + When paginating forwards, the cursor to continue. + """ endCursor: String } interface PageInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! urlPath: URLPath urlPaths: [URLPath] metadata: Metadata } -"""An enumeration.""" +""" +An enumeration. +""" enum PageStatus { - """Draft""" + """ + Draft + """ DRAFT - """Published""" + """ + Published + """ PUBLISHED } interface PermissionsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! """ @@ -1110,7 +1514,9 @@ interface PermissionsInterface { } type Profile implements Node & PermissionsInterface & PageInterface & FollowsInterface & BlocksInterface & ChatRoomsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -1136,13 +1542,33 @@ type Profile implements Node & PermissionsInterface & PageInterface & FollowsInt last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): CommentConnection! - reactions(offset: Int, before: String, after: String, first: Int, last: Int, id: ID): ReactionConnection! + reactions( + offset: Int + before: String + after: String + first: Int + last: Int + id: ID + ): ReactionConnection! ratings(offset: Int, before: String, after: String, first: Int, last: Int): RateConnection! user: User - activitylogSet(offset: Int, before: String, after: String, first: Int, last: Int, createdFrom: Date, createdTo: Date, userPk: Decimal, profilePk: Decimal, userName: String): ActivityLogConnection! + activitylogSet( + offset: Int + before: String + after: String + first: Int + last: Int + createdFrom: Date + createdTo: Date + userPk: Decimal + profilePk: Decimal + userName: String + ): ActivityLogConnection! members( offset: Int before: String @@ -1151,17 +1577,67 @@ type Profile implements Node & PermissionsInterface & PageInterface & FollowsInt last: Int role: ProfileRoles - """Ordering""" + """ + Ordering + """ orderBy: String q: String ): ProfileUserRoleConnection - chatroomparticipantSet(offset: Int, before: String, after: String, first: Int, last: Int, profile_TargetContentType: ID): ChatRoomParticipantConnection! - unreadmessagecountSet(offset: Int, before: String, after: String, first: Int, last: Int): UnreadMessageCountConnection! - linkedAsContentActorSet(offset: Int, before: String, after: String, first: Int, last: Int, verb: Verbs): MessageConnection! - linkedAsContentTargetSet(offset: Int, before: String, after: String, first: Int, last: Int, verb: Verbs): MessageConnection! - messageSet(offset: Int, before: String, after: String, first: Int, last: Int, verb: Verbs): MessageConnection! - following(offset: Int, before: String, after: String, first: Int, last: Int, targetIsFollowingBack: Boolean): FollowConnection - followers(offset: Int, before: String, after: String, first: Int, last: Int, targetIsFollowingBack: Boolean): FollowConnection + chatroomparticipantSet( + offset: Int + before: String + after: String + first: Int + last: Int + profile_TargetContentType: ID + ): ChatRoomParticipantConnection! + unreadmessagecountSet( + offset: Int + before: String + after: String + first: Int + last: Int + ): UnreadMessageCountConnection! + linkedAsContentActorSet( + offset: Int + before: String + after: String + first: Int + last: Int + verb: Verbs + ): MessageConnection! + linkedAsContentTargetSet( + offset: Int + before: String + after: String + first: Int + last: Int + verb: Verbs + ): MessageConnection! + messageSet( + offset: Int + before: String + after: String + first: Int + last: Int + verb: Verbs + ): MessageConnection! + following( + offset: Int + before: String + after: String + first: Int + last: Int + targetIsFollowingBack: Boolean + ): FollowConnection + followers( + offset: Int + before: String + after: String + first: Int + last: Int + targetIsFollowingBack: Boolean + ): FollowConnection blocking(offset: Int, before: String, after: String, first: Int, last: Int): BlockConnection blockers(offset: Int, before: String, after: String, first: Int, last: Int): BlockConnection organization: Organization @@ -1183,7 +1659,9 @@ type Profile implements Node & PermissionsInterface & PageInterface & FollowsInt last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String profileId: String unreadMessages: Boolean @@ -1191,15 +1669,31 @@ type Profile implements Node & PermissionsInterface & PageInterface & FollowsInt ): ChatRoomConnection unreadMessagesCount: Int pk: Int! - activityLogs(visibility: VisibilityTypes, first: Int = 10, offset: Int, before: String, after: String, last: Int, createdFrom: Date, createdTo: Date, userPk: Decimal, profilePk: Decimal, userName: String): ActivityLogConnection + activityLogs( + visibility: VisibilityTypes + first: Int = 10 + offset: Int + before: String + after: String + last: Int + createdFrom: Date + createdTo: Date + userPk: Decimal + profilePk: Decimal + userName: String + ): ActivityLogConnection target: ProfileInterface } type ProfileConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [ProfileEdge]! totalCount: Int edgeCount: Int @@ -1219,7 +1713,9 @@ input ProfileCreateInput { } type ProfileCreatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug profile: ProfileEdge @@ -1232,51 +1728,77 @@ input ProfileDeleteInput { } type ProfileDeletePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug deletedId: ID clientMutationId: String } -"""A Relay edge containing a `Profile` and its cursor.""" +""" +A Relay edge containing a `Profile` and its cursor. +""" type ProfileEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Profile - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } interface ProfileInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! profile: Profile } -"""An enumeration.""" +""" +An enumeration. +""" enum ProfileRoles { - """admin""" + """ + admin + """ ADMIN - """manager""" + """ + manager + """ MANAGER } -"""An enumeration.""" +""" +An enumeration. +""" enum ProfileRoleStatus { - """active""" + """ + active + """ ACTIVE - """pending""" + """ + pending + """ PENDING - """inactive""" + """ + inactive + """ INACTIVE } interface ProfilesInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! profiles( offset: Int @@ -1286,17 +1808,25 @@ interface ProfilesInterface { last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): ProfileConnection } -"""An enumeration.""" +""" +An enumeration. +""" enum ProfilesProfileStatusChoices { - """public""" + """ + public + """ A_1 - """private""" + """ + private + """ A_2 } @@ -1313,7 +1843,9 @@ input ProfileUpdateInput { } type ProfileUpdatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug profile: Profile @@ -1321,7 +1853,9 @@ type ProfileUpdatePayload { } type ProfileUserRole implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! user: User! role: ProfileRoles @@ -1330,44 +1864,76 @@ type ProfileUserRole implements Node { } type ProfileUserRoleConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [ProfileUserRoleEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `ProfileUserRole` and its cursor.""" +""" +A Relay edge containing a `ProfileUserRole` and its cursor. +""" type ProfileUserRoleEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: ProfileUserRole - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } type Query { - activityLogs(visibility: VisibilityTypes, first: Int = 10, offset: Int, before: String, after: String, last: Int, createdFrom: Date, createdTo: Date, userPk: Decimal, profilePk: Decimal, userName: String): ActivityLogConnection + activityLogs( + visibility: VisibilityTypes + first: Int = 10 + offset: Int + before: String + after: String + last: Int + createdFrom: Date + createdTo: Date + userPk: Decimal + profilePk: Decimal + userName: String + ): ActivityLogConnection organization( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): Organization chatRoom( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): ChatRoom rate( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): Rate report( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): Report comment( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): Comment allComments( @@ -1378,13 +1944,24 @@ type Query { last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): CommentConnection urlPath(path: String!): URLPath - allPages(offset: Int, before: String, after: String, first: Int, last: Int, status: PageStatus): PageConnection + allPages( + offset: Int + before: String + after: String + first: Int + last: Int + status: PageStatus + ): PageConnection page( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): Page allProfiles( @@ -1395,11 +1972,15 @@ type Query { last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): ProfileConnection profile( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): Profile users( @@ -1410,23 +1991,31 @@ type Query { last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): UserConnection user( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): User me: User node( - """The ID of the object""" + """ + The ID of the object + """ id: ID! ): Node _debug: DjangoDebug } type Rate implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -1438,10 +2027,14 @@ type Rate implements Node { } type RateConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [RateEdge]! totalCount: Int edgeCount: Int @@ -1455,7 +2048,9 @@ input RateCreateInput { } type RateCreatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug rate: RateEdge @@ -1463,17 +2058,25 @@ type RateCreatePayload { clientMutationId: String } -"""A Relay edge containing a `Rate` and its cursor.""" +""" +A Relay edge containing a `Rate` and its cursor. +""" type RateEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Rate - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } interface RatingsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! ratingsCount: Int ratingsSum: Int @@ -1484,7 +2087,9 @@ interface RatingsInterface { } type Reaction implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -1495,21 +2100,31 @@ type Reaction implements Node { } type ReactionConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [ReactionEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `Reaction` and its cursor.""" +""" +A Relay edge containing a `Reaction` and its cursor. +""" type ReactionEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Reaction - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } @@ -1520,10 +2135,19 @@ type ReactionsCount { } interface ReactionsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! reactionsCount: ReactionsCount - reactions(offset: Int, before: String, after: String, first: Int, last: Int, id: ID): ReactionConnection + reactions( + offset: Int + before: String + after: String + first: Int + last: Int + id: ID + ): ReactionConnection isReactionsEnabled: Boolean! myReaction(profileId: ID): Reaction } @@ -1536,7 +2160,9 @@ input ReactionToggleInput { } type ReactionTogglePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug reaction: ReactionEdge @@ -1545,17 +2171,25 @@ type ReactionTogglePayload { clientMutationId: String } -"""An enumeration.""" +""" +An enumeration. +""" enum ReactionTypes { - """like""" + """ + like + """ LIKE - """dislike""" + """ + dislike + """ DISLIKE } type Report implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -1567,10 +2201,14 @@ type Report implements Node { } type ReportConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [ReportEdge]! totalCount: Int edgeCount: Int @@ -1584,7 +2222,9 @@ input ReportCreateInput { } type ReportCreatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug report: ReportEdge @@ -1592,12 +2232,18 @@ type ReportCreatePayload { clientMutationId: String } -"""A Relay edge containing a `Report` and its cursor.""" +""" +A Relay edge containing a `Report` and its cursor. +""" type ReportEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: Report - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } @@ -1610,25 +2256,44 @@ type ReportsCount { } interface ReportsInterface { - """The ID of the object""" + """ + The ID of the object + """ id: ID! reportsCount: ReportsCount - reports(offset: Int, before: String, after: String, first: Int, last: Int, id: ID): ReportConnection + reports( + offset: Int + before: String + after: String + first: Int + last: Int + id: ID + ): ReportConnection myReports: Report } -"""An enumeration.""" +""" +An enumeration. +""" enum ReportTypes { - """Spam""" + """ + Spam + """ SPAM - """Inappropriate""" + """ + Inappropriate + """ INAPPROPRIATE - """Fake""" + """ + Fake + """ FAKE - """Other""" + """ + Other + """ OTHER } @@ -1640,7 +2305,9 @@ input RoleUpdateInput { } type RoleUpdatePayload { - """May contain more than one error for same field.""" + """ + May contain more than one error for same field. + """ errors: [ErrorType] _debug: DjangoDebug profileUserRole: ProfileUserRole @@ -1659,32 +2326,46 @@ type UnreadMessageCount implements Node { markedUnread: Boolean! count: Int! - """The ID of the object""" + """ + The ID of the object + """ id: ID! pk: Int! } type UnreadMessageCountConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [UnreadMessageCountEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `UnreadMessageCount` and its cursor.""" +""" +A Relay edge containing a `UnreadMessageCount` and its cursor. +""" type UnreadMessageCountEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: UnreadMessageCount - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } type URLPath implements Node { - """The ID of the object""" + """ + The ID of the object + """ id: ID! created: DateTime! modified: DateTime! @@ -1713,7 +2394,14 @@ type User implements Node & PermissionsInterface & NotificationsInterface & Page """ isActive: Boolean! isStaff: Boolean - reactions(offset: Int, before: String, after: String, first: Int, last: Int, id: ID): ReactionConnection! + reactions( + offset: Int + before: String + after: String + first: Int + last: Int + id: ID + ): ReactionConnection! comments( offset: Int before: String @@ -1722,12 +2410,23 @@ type User implements Node & PermissionsInterface & NotificationsInterface & Page last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): CommentConnection! - pages(offset: Int, before: String, after: String, first: Int, last: Int, status: PageStatus): PageConnection! + pages( + offset: Int + before: String + after: String + first: Int + last: Int + status: PageStatus + ): PageConnection! - """The ID of the object""" + """ + The ID of the object + """ id: ID! """ @@ -1735,8 +2434,23 @@ type User implements Node & PermissionsInterface & NotificationsInterface & Page """ hasPerm(perm: String!): Boolean notificationsUnreadCount: Int - notifications(offset: Int, before: String, after: String, first: Int, last: Int, level: NotificationsNotificationLevelChoices, unread: Boolean, verbs: String): NotificationConnection - notificationSettings(offset: Int, before: String, after: String, first: Int, last: Int): NotificationSettingConnection + notifications( + offset: Int + before: String + after: String + first: Int + last: Int + level: NotificationsNotificationLevelChoices + unread: Boolean + verbs: String + ): NotificationConnection + notificationSettings( + offset: Int + before: String + after: String + first: Int + last: Int + ): NotificationSettingConnection isNotificationSettingActive(verb: String!, channel: NotificationChannelTypes!): Boolean urlPath: URLPath urlPaths: [URLPath] @@ -1755,12 +2469,26 @@ type User implements Node & PermissionsInterface & NotificationsInterface & Page last: Int q: String - """Ordering""" + """ + Ordering + """ orderBy: String ): ProfileConnection profile: Profile pk: Int! - activityLogs(visibility: VisibilityTypes, first: Int = 10, offset: Int, before: String, after: String, last: Int, createdFrom: Date, createdTo: Date, userPk: Decimal, profilePk: Decimal, userName: String): ActivityLogConnection + activityLogs( + visibility: VisibilityTypes + first: Int = 10 + offset: Int + before: String + after: String + last: Int + createdFrom: Date + createdTo: Date + userPk: Decimal + profilePk: Decimal + userName: String + ): ActivityLogConnection isAuthenticated: Boolean fullName: String shortName: String @@ -1768,38 +2496,57 @@ type User implements Node & PermissionsInterface & NotificationsInterface & Page } type UserConnection { - """Pagination data for this connection.""" + """ + Pagination data for this connection. + """ pageInfo: PageInfo! - """Contains the nodes in this connection.""" + """ + Contains the nodes in this connection. + """ edges: [UserEdge]! totalCount: Int edgeCount: Int } -"""A Relay edge containing a `User` and its cursor.""" +""" +A Relay edge containing a `User` and its cursor. +""" type UserEdge { - """The item at the end of the edge""" + """ + The item at the end of the edge + """ node: User - """A cursor for use in pagination""" + """ + A cursor for use in pagination + """ cursor: String! } -"""An enumeration.""" +""" +An enumeration. +""" enum Verbs { SENT_MESSAGE } -"""An enumeration.""" +""" +An enumeration. +""" enum VisibilityTypes { - """public""" + """ + public + """ PUBLIC - """private""" + """ + private + """ PRIVATE - """internal""" + """ + internal + """ INTERNAL } - diff --git a/packages/components/tailwind.config.js b/packages/components/tailwind.config.js index 5c7aee2c..be4461b1 100644 --- a/packages/components/tailwind.config.js +++ b/packages/components/tailwind.config.js @@ -1,14 +1,12 @@ const { responsiveTypography, hideScrollbar, -} = require('@baseapp-frontend/design-system/styles/tailwind/plugins') -const { breakpoints } = require('@baseapp-frontend/design-system/styles/breakpoint') -const { typography } = require('@baseapp-frontend/design-system/styles/typography') -const { createPalette } = require('@baseapp-frontend/design-system/styles/palette') -const { createShadows } = require('@baseapp-frontend/design-system/styles/shadow') -const { + breakpoints, + typography, + createPalette, + createShadows, createCustomShadows, -} = require('@baseapp-frontend/design-system/styles/material/custom-shadows') +} = require('@baseapp-frontend/design-system/styles/web') /** @type {import('tailwindcss').Config} */ module.exports = { diff --git a/packages/components/tsconfig.build.json b/packages/components/tsconfig.build.json index 177a4f64..7816f458 100644 --- a/packages/components/tsconfig.build.json +++ b/packages/components/tsconfig.build.json @@ -1,4 +1,21 @@ { "extends": "./tsconfig.json", - "exclude": ["node_modules", "cypress", "jest", "**/*.test.ts", "**/*.test.tsx", "**/*.cy.tsx"] + "compilerOptions": { + "incremental": false, + "skipLibCheck": true, + "declaration": true, + "declarationMap": true, + "composite": false, + "outDir": "tmp-dts", + "target": "es2022" + }, + "include": ["modules/**/*"], + "exclude": [ + "node_modules", + "**/*.test.ts", + "**/*.test.tsx", + "**/*.cy.tsx", + "**/__tests__/**", + "**/__storybook__/**" + ] } diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json index b8b75f94..b0f94a1f 100644 --- a/packages/components/tsconfig.json +++ b/packages/components/tsconfig.json @@ -19,6 +19,7 @@ ".eslintrc.js", "*.ts", "*.tsx", + "./baseapp-frontend-imports.d.ts", "babel.config.js", "cypress.config.ts", "webpack.config.ts", diff --git a/packages/components/tsup.config.ts b/packages/components/tsup.config.ts new file mode 100644 index 00000000..5393cb3a --- /dev/null +++ b/packages/components/tsup.config.ts @@ -0,0 +1,34 @@ +/* eslint-disable import/no-extraneous-dependencies */ + +/* eslint-disable no-param-reassign */ +import { defineConfig } from 'tsup' + +export default defineConfig((options) => ({ + clean: false, + dts: false, + entry: ['./modules/**/(common|web|native)/index.ts'], + esbuildOptions(esbuildOptions) { + esbuildOptions.loader = { + ...esbuildOptions.loader, + '.css': 'file', + } + }, + external: [ + 'react', + 'react-dom', + /^@baseapp-frontend\//, + 'react-native', + 'next', + '@mui/material', + '@emotion/*', + 'zod', + 'zustand', + ], + format: ['esm', 'cjs'], + minify: !options.watch, + outDir: 'dist', + sourcemap: true, + splitting: true, + treeshake: false, + tsconfig: 'tsconfig.build.json', +})) diff --git a/packages/config/.eslintrc-with-restricted-paths.js b/packages/config/.eslintrc-with-restricted-paths.js new file mode 100644 index 00000000..ed793592 --- /dev/null +++ b/packages/config/.eslintrc-with-restricted-paths.js @@ -0,0 +1,35 @@ +module.exports = { + ...require('./.eslintrc.js'), + plugins: [...require('./.eslintrc.js').plugins, 'import'], + rules: { + ...require('./.eslintrc.js').rules, + 'import/no-restricted-paths': [ + 'error', + { + zones: [ + { + target: '**/common/**', + from: '**/web/**', + message: 'Files in `common/` cannot import from `web/`.', + }, + { + target: '**/common/**', + from: '**/native/**', + message: 'Files in `common/` cannot import from `native/`.', + }, + + { + target: '**/web/**', + from: '**/native/**', + message: 'Files in` web/` cannot import from `native/`.', + }, + { + target: '/**/native/**', + from: '**/web/**', + message: 'Files in `native/` cannot import from `web/`.', + }, + ], + }, + ], + }, +} diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index f4be9327..265bfead 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,11 @@ # @baseapp-frontend/config +## 2.1.11 + +### Patch Changes + +- Add `.eslintrc-with-restricted-paths` eslint file to be able to restric imports from certain folders. + ## 2.1.10 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 8926264a..d280de23 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,9 +1,10 @@ { "name": "@baseapp-frontend/config", "description": "Reusable configurations for eslint, prettier, jest and relay", - "version": "2.1.10", + "version": "2.1.11", "files": [ ".eslintrc.js", + ".eslintrc-with-restricted-paths.js", "jest.config.js", ".prettierrc.js", "relay.config.ts" diff --git a/packages/design-system/.eslintrc.js b/packages/design-system/.eslintrc.js index 80d06564..2ec4f971 100644 --- a/packages/design-system/.eslintrc.js +++ b/packages/design-system/.eslintrc.js @@ -1 +1 @@ -module.exports = require('@baseapp-frontend/config/.eslintrc.js') +module.exports = require('@baseapp-frontend/config/.eslintrc-with-restricted-paths.js') diff --git a/packages/design-system/.gitignore b/packages/design-system/.gitignore new file mode 100644 index 00000000..d02d5915 --- /dev/null +++ b/packages/design-system/.gitignore @@ -0,0 +1,65 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env +.env.local +.env.development.local +.env.test.local +.env.production.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts + +# workspace files are user-specific +*.sublime-workspace +**/sitemap*.xml +**/*.code-workspace +**/.vscode +**/routes.json +.idea/ + +# lighthouse +.lighthouseci + +# cypress +cypress/videos +cypress/screenshots +cypress/downloads + +# Sentry Config File +.sentryclirc + +# editorconfig +.editorconfig + +# babel & tsc +/tmp-babel +/tmp-dts \ No newline at end of file diff --git a/packages/design-system/.storybook/__mocks__/next-font.ts b/packages/design-system/.storybook/__mocks__/next-font.ts deleted file mode 100644 index ce7e91ba..00000000 --- a/packages/design-system/.storybook/__mocks__/next-font.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '@baseapp-frontend/test/__mocks__/next-font' diff --git a/packages/design-system/.storybook/__mocks__/theme.ts b/packages/design-system/.storybook/__mocks__/theme.ts index 166cec61..5fe0eca8 100644 --- a/packages/design-system/.storybook/__mocks__/theme.ts +++ b/packages/design-system/.storybook/__mocks__/theme.ts @@ -1,16 +1,17 @@ -import { ThemeProviderProps } from '../../providers/ThemeProvider/types' -import { breakpoints } from '../../styles/breakpoint' -import { primaryFont, secondaryFont } from '../../styles/font' -import { createCustomShadows } from '../../styles/material/custom-shadows' -import { createPalette } from '../../styles/palette' -import { createShadows } from '../../styles/shadow' -import { typography } from '../../styles/typography' +import { ThemeProviderProps } from '../../providers/web' +import { + breakpoints, + createCustomShadows, + createPalette, + createShadows, + typography, +} from '../../styles/web' const defaultTheme: ThemeProviderProps = { palette: createPalette('light'), breakpoints: breakpoints, - primaryFont: primaryFont, - secondaryFont: secondaryFont, + primaryFont: undefined, + secondaryFont: undefined, settings: { themeMode: 'light', themeContrast: 'default', diff --git a/packages/design-system/.storybook/decorators/withProviders.tsx b/packages/design-system/.storybook/decorators/withProviders.tsx index 7150a504..def5ad94 100644 --- a/packages/design-system/.storybook/decorators/withProviders.tsx +++ b/packages/design-system/.storybook/decorators/withProviders.tsx @@ -2,7 +2,7 @@ import React from 'react' import type { StoryContext, StoryFn } from '@storybook/react' -import ThemeProvider from '../../providers/ThemeProvider' +import { ThemeProvider } from '../../providers/web' import defaultTheme from '../__mocks__/theme' const withProviders = (Story: StoryFn, context: StoryContext) => { diff --git a/packages/design-system/.storybook/preview.ts b/packages/design-system/.storybook/preview.ts index 3ac8f16b..614012d1 100644 --- a/packages/design-system/.storybook/preview.ts +++ b/packages/design-system/.storybook/preview.ts @@ -1,7 +1,7 @@ import type { Preview } from '@storybook/react' -import '../styles/material/globals.css' -import '../styles/tailwind/globals.css' +import '../styles/web/material/globals.css' +import '../styles/web/tailwind/globals.css' import { withProviders } from './decorators' const preview: Preview = { diff --git a/packages/design-system/CHANGELOG.md b/packages/design-system/CHANGELOG.md index ad4b72ac..1033b6d5 100644 --- a/packages/design-system/CHANGELOG.md +++ b/packages/design-system/CHANGELOG.md @@ -1,5 +1,18 @@ # @baseapp-frontend/design-system +## 1.0.0 + +### Major Changes + +- Rearrange the code inside `components`, `hooks`, `layouts`, `providers`, `styles` and `utils` into folders, `common` for multi-platform code, `native` for native code and `web` for web code. +- Transpile and bundle the package code using `tsup` and `tsc`. +- Migrate native `design-sytem` components from the template into this package. + +### Patch Changes + +- Updated dependencies + - @baseapp-frontend/utils@3.1.3 + ## 0.0.34 ### Patch Changes diff --git a/packages/design-system/README.md b/packages/design-system/README.md index 20366c30..52a36195 100644 --- a/packages/design-system/README.md +++ b/packages/design-system/README.md @@ -4,8 +4,36 @@ This package defines our design system configuration (e.g. color pallete, typography, spacings, etc). It also shares reusable components that make up the design system as a whole. -## **What should be added here?** +## **What is in here?** -In order to add any new feature inside the `design-system` package, we need to ask ourselves some questions: +This package contains essential BaseApp modules such as `comments`, `notifications`, `messages` and `navigations`. It also includes Storybook, a tool for component documentation and visualization. To run the Storybook locally, navigate to the package folder and run the following command: -- Is that feature part of the design system configuration or is it a reusable design component? +```bash +# at root level + +pnpm storybook --filter design-system +``` + +## **Build Process** + +We use a hybrid build pipeline combining `tsup`, and `TypeScript Compiler` to balance type accuracy and modern bundling: + +1. **Source Code:** Original TypeScript/React files with Relay GraphQL queries. + +2. **tsup Bundling:** + + * Bundling tool (using esbuild) consumes the `components`, `hooks`, `layouts`, `providers`, `styles` and `utils` modules. + + * Generates ESM and CJS bundles in `dist`. + +3. **TypeScript Compiler (tsc):** + + * Runs in parallel to generate .d.ts type declarations. + + * Outputs declarations to `tmp-dts`. + +4. **Merge Outputs:** + + * Copies type declarations from `tmp-dts` to `dist`. + + * Final `dist` contains both runtime bundles and accurate type definitions. diff --git a/packages/design-system/components/avatars/AvatarWithPlaceholder/styled.tsx b/packages/design-system/components/avatars/AvatarWithPlaceholder/styled.tsx deleted file mode 100644 index ec2fd497..00000000 --- a/packages/design-system/components/avatars/AvatarWithPlaceholder/styled.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { Avatar, AvatarTypeMap } from '@mui/material' -import { OverridableComponent } from '@mui/material/OverridableComponent' -import { styled } from '@mui/material/styles' - -import { AvatarWithPlaceholderProps } from './types' - -export const AvatarStyled = styled(Avatar)( - ({ theme, width, height }) => ({ - width, - height, - border: `solid 2px ${theme.palette.background.default}`, - }), -) as OverridableComponent> diff --git a/packages/design-system/components/avatars/CircledAvatar/styled.tsx b/packages/design-system/components/avatars/CircledAvatar/styled.tsx deleted file mode 100644 index 3112fac0..00000000 --- a/packages/design-system/components/avatars/CircledAvatar/styled.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Box } from '@mui/material' -import { alpha, styled } from '@mui/material/styles' - -import { AvatarContainerProps } from './types' - -export const AvatarContainer = styled(Box)( - ({ theme, width, height, hasError }) => ({ - display: 'flex', - alignItems: 'center', - justifyContent: 'center', - width: width + 4, - height: height + 4, - background: hasError - ? alpha(theme.palette.error.main, 1) - : alpha(theme.palette.grey[400], 0.32), - borderRadius: '50%', - }), -) diff --git a/packages/design-system/components/common/index.ts b/packages/design-system/components/common/index.ts new file mode 100644 index 00000000..04788df7 --- /dev/null +++ b/packages/design-system/components/common/index.ts @@ -0,0 +1 @@ +// exports common design-system components diff --git a/packages/design-system/components/dialogs/Dialog/styled.tsx b/packages/design-system/components/dialogs/Dialog/styled.tsx deleted file mode 100644 index b8ec41e5..00000000 --- a/packages/design-system/components/dialogs/Dialog/styled.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { Dialog as MUIDialog } from '@mui/material' -import { styled } from '@mui/material/styles' - -import { DialogProps } from './types' - -export const StyledDialog = styled(MUIDialog)(({ customMaxWidth }) => ({ - '& .MuiDialog-paper': { - position: 'relative', - ...(customMaxWidth && { - maxWidth: customMaxWidth, - }), - }, -})) diff --git a/packages/design-system/components/images/index.ts b/packages/design-system/components/images/index.ts deleted file mode 100644 index 6ddce5a4..00000000 --- a/packages/design-system/components/images/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as ImageWithFallback } from './ImageWithFallback' diff --git a/packages/design-system/components/inputs/Searchbar/index.tsx b/packages/design-system/components/inputs/Searchbar/index.tsx deleted file mode 100644 index 1e456dce..00000000 --- a/packages/design-system/components/inputs/Searchbar/index.tsx +++ /dev/null @@ -1,85 +0,0 @@ -'use client' - -import { FC } from 'react' - -import { withController } from '@baseapp-frontend/utils' - -import { CircularProgress, InputAdornment } from '@mui/material' -import { Box } from '@mui/system' - -import Iconify from '../../Iconify' -import { IconButton } from '../../buttons' -import { PureTextField } from '../TextField' -import { SearchbarProps } from './types' - -const Searchbar: FC = ({ - onClear, - onChange, - isPending, - sx, - InputProps, - variant = 'filled', - ...props - // eslint-disable-next-line arrow-body-style -}) => { - return ( - - {isPending ? ( - - - - ) : ( - - )} - - ), - endAdornment: ( - - {onClear && props.value ? ( - - - - ) : ( -
- )} - - ), - sx: { - '& .MuiFilledInput-input': { - height: '17px', - paddingTop: '14px', - paddingBottom: '14px', - paddingRight: '14px', - maxHeight: '17px', - }, - '& .MuiInputAdornment-positionStart': { - marginTop: '0 !important', - }, - }, - ...InputProps, - }} - {...props} - /> - ) -} - -export default withController(Searchbar, { shouldDebounce: true }) diff --git a/packages/design-system/components/native/appbars/AppBar/index.tsx b/packages/design-system/components/native/appbars/AppBar/index.tsx new file mode 100644 index 00000000..248736dd --- /dev/null +++ b/packages/design-system/components/native/appbars/AppBar/index.tsx @@ -0,0 +1,42 @@ +import { FC } from 'react' + +import { useRouter } from 'expo-router' +import { Platform } from 'react-native' +import { Appbar } from 'react-native-paper' + +import { useTheme } from '../../../../providers/native' +import { createStyles } from './styles' +import { AppBarProps } from './types' + +const AppBar: FC = ({ title, goBack, headerStyle, statusBarHeight }) => { + const router = useRouter() + const theme = useTheme() + + const styles = createStyles(theme) + + const isAndroid = Platform.OS === 'android' + + const titleStyle = [styles.title, isAndroid && styles.titleAndroid] + + const handleGoBack = () => { + if (goBack) { + goBack() + } else { + router.back() + } + } + + return ( + + + + + ) +} + +export default AppBar diff --git a/packages/design-system/components/native/appbars/AppBar/styles.ts b/packages/design-system/components/native/appbars/AppBar/styles.ts new file mode 100644 index 00000000..f1f79d24 --- /dev/null +++ b/packages/design-system/components/native/appbars/AppBar/styles.ts @@ -0,0 +1,32 @@ +import { StyleSheet } from 'react-native' + +import { Theme } from '../../../../styles/native' + +export const createStyles = (theme: Theme) => + StyleSheet.create({ + container: { + backgroundColor: theme.colors.surface.background, + borderBottomWidth: 1, + borderBottomColor: theme.colors.surface.border, + paddingHorizontal: 8, + paddingBottom: 0, + elevation: 0, + }, + title: { + alignSelf: 'center', + color: theme.colors.object.high, + overflow: 'hidden', + textAlign: 'center', + fontSize: 14, + fontStyle: 'normal', + fontWeight: 600, + lineHeight: 22, + }, + titleAndroid: { + marginLeft: -8, + }, + backActionAndroid: { + position: 'absolute', + left: 8, + }, + }) diff --git a/packages/design-system/components/native/appbars/AppBar/types.ts b/packages/design-system/components/native/appbars/AppBar/types.ts new file mode 100644 index 00000000..7a909e5a --- /dev/null +++ b/packages/design-system/components/native/appbars/AppBar/types.ts @@ -0,0 +1,9 @@ +import type { StyleProp } from 'react-native/Libraries/StyleSheet/StyleSheet' +import type { ViewStyle } from 'react-native/Libraries/StyleSheet/StyleSheetTypes' + +export type AppBarProps = { + title: string + goBack?: () => void + headerStyle?: StyleProp + statusBarHeight?: number | undefined +} diff --git a/packages/design-system/components/native/appbars/index.ts b/packages/design-system/components/native/appbars/index.ts new file mode 100644 index 00000000..7d5abd9b --- /dev/null +++ b/packages/design-system/components/native/appbars/index.ts @@ -0,0 +1,2 @@ +export { default as AppBar } from './AppBar' +export type * from './AppBar/types' diff --git a/packages/design-system/components/native/buttons/Button/index.tsx b/packages/design-system/components/native/buttons/Button/index.tsx new file mode 100644 index 00000000..0329b546 --- /dev/null +++ b/packages/design-system/components/native/buttons/Button/index.tsx @@ -0,0 +1,81 @@ +import { FC } from 'react' + +import { type GestureResponderEvent, Keyboard } from 'react-native' +import { Button as PaperButton } from 'react-native-paper' + +import { useTheme } from '../../../../providers/native' +import { + compactStyles, + createContainedStyles, + createOutlinedStyles, + createSoftStyles, + largeSizeStyles, + mediumSizeStyles, + smallSizeStyles, + textStyles, +} from './styles' +import { ButtonProps, StyleSheetSchema } from './types' + +const Button: FC = ({ + dismissKeyboardOnPress = true, + onPress, + disabled, + style, + contentStyle, + labelStyle, + compact = false, + mode = 'contained', + size = 'large', + color = 'primary', + ...props +}) => { + const theme = useTheme() + + const buttonVariant = { + contained: createContainedStyles(theme, { variant: color, disabled }), + text: textStyles, + outlined: createOutlinedStyles(theme, { variant: color, disabled }), + soft: createSoftStyles(theme, { variant: color, disabled }), + } as const + + const buttonSize = { + small: smallSizeStyles, + medium: mediumSizeStyles, + large: largeSizeStyles, + } as const + + const variantStyles = buttonVariant[mode] + const sizeStyles = buttonSize[size] + const buttonCompactStyles = compact ? compactStyles : ({} as StyleSheetSchema) + + const handlePress = (e: GestureResponderEvent) => { + if (dismissKeyboardOnPress) { + Keyboard.dismiss() + } + onPress?.(e) + } + + const resolvedMode = mode === 'soft' ? 'contained' : mode + const resolvedRippleColor = + color === 'inherit' ? theme.colors.object.contrast : theme.colors[color].overlay + + return ( + + ) +} + +export default Button diff --git a/packages/design-system/components/native/buttons/Button/styles.ts b/packages/design-system/components/native/buttons/Button/styles.ts new file mode 100644 index 00000000..36679857 --- /dev/null +++ b/packages/design-system/components/native/buttons/Button/styles.ts @@ -0,0 +1,131 @@ +import { StyleSheet } from 'react-native' + +import { Theme, typography } from '../../../../styles/native' +import { ButtonStylesOptions } from './types' + +export const baseButtonStyles = StyleSheet.create({ + wrapper: { + backgroundColor: 'transparent', + borderRadius: 8, + shadowOpacity: 0, + }, + content: { + gap: 8, + }, + text: { + marginVertical: 0, + marginHorizontal: 0, + textTransform: 'none', + letterSpacing: 0, + }, +}) + +export const createContainedStyles = ( + { colors }: Theme, + { disabled, variant }: ButtonStylesOptions, +) => { + const backgroundColor = variant === 'inherit' ? colors.object.high : colors[variant].main + const textColor = variant === 'inherit' ? colors.object.contrast : colors[variant].contrast + + return StyleSheet.create({ + ...baseButtonStyles, + wrapper: { + ...baseButtonStyles.wrapper, + backgroundColor: colors.surface.background, + }, + content: { + ...baseButtonStyles.content, + backgroundColor: disabled ? colors.surface.disabled : backgroundColor, + }, + text: { + ...baseButtonStyles.text, + color: disabled ? colors.object.disabled : textColor, + }, + }) +} + +export const textStyles = StyleSheet.create(baseButtonStyles) + +export const createOutlinedStyles = ( + { colors }: Theme, + { disabled, variant }: ButtonStylesOptions, +) => { + const borderColor = variant === 'inherit' ? colors.surface.border : colors[variant].low + const textColor = variant === 'inherit' ? colors.object.contrast : colors[variant].high + + return StyleSheet.create({ + ...baseButtonStyles, + wrapper: { + ...baseButtonStyles.wrapper, + borderColor: disabled ? colors.surface.disabled : borderColor, + }, + text: { + ...baseButtonStyles.text, + color: disabled ? colors.object.disabled : textColor, + }, + }) +} + +export const createSoftStyles = ({ colors }: Theme, { disabled, variant }: ButtonStylesOptions) => { + const backgroundColor = variant === 'inherit' ? colors.surface.active : colors[variant].overlay + const textColor = variant === 'inherit' ? colors.object.high : colors[variant].high + // if variant inherid display no shadow to the button + return StyleSheet.create({ + ...baseButtonStyles, + wrapper: { + ...baseButtonStyles.wrapper, + backgroundColor: colors.surface.background, + }, + content: { + ...baseButtonStyles.content, + backgroundColor: disabled ? colors.surface.disabled : backgroundColor, + }, + text: { + ...baseButtonStyles.text, + color: disabled ? colors.object.disabled : textColor, + }, + }) +} + +export const smallSizeStyles = StyleSheet.create({ + content: { + ...baseButtonStyles.content, + paddingVertical: 4, + paddingHorizontal: 8, + }, + text: { + ...baseButtonStyles.text, + ...typography.buttonSmall, + }, +}) + +export const mediumSizeStyles = StyleSheet.create({ + content: { + ...baseButtonStyles.content, + paddingVertical: 6, + paddingHorizontal: 12, + }, + text: { + ...baseButtonStyles.text, + ...typography.buttonMedium, + }, +}) + +export const largeSizeStyles = StyleSheet.create({ + content: { + ...baseButtonStyles.content, + paddingVertical: 11, + paddingHorizontal: 16, + }, + text: { + ...baseButtonStyles.text, + ...typography.buttonLarge, + }, +}) + +export const compactStyles = StyleSheet.create({ + content: { + paddingVertical: 0, + paddingHorizontal: 0, + }, +}) diff --git a/packages/design-system/components/native/buttons/Button/types.ts b/packages/design-system/components/native/buttons/Button/types.ts new file mode 100644 index 00000000..100cf3b5 --- /dev/null +++ b/packages/design-system/components/native/buttons/Button/types.ts @@ -0,0 +1,26 @@ +import { ButtonProps as PaperButtonProps } from 'react-native-paper' + +import { ColorVariant } from '../../../../styles/native' + +type ButtonMode = 'text' | 'outlined' | 'contained' | 'soft' +type ButtonSize = 'small' | 'medium' | 'large' + +type ButtonColor = ColorVariant | 'inherit' + +export type ButtonStylesOptions = { + variant: ButtonColor + disabled?: boolean +} + +export type StyleSheetSchema = { + content: {} + text: {} + wrapper: {} +} + +export interface ButtonProps extends Omit { + mode?: ButtonMode + size?: ButtonSize + color?: ButtonColor + dismissKeyboardOnPress?: boolean +} diff --git a/packages/design-system/components/native/buttons/IconButton/index.tsx b/packages/design-system/components/native/buttons/IconButton/index.tsx new file mode 100644 index 00000000..cee3ec7a --- /dev/null +++ b/packages/design-system/components/native/buttons/IconButton/index.tsx @@ -0,0 +1,7 @@ +import type { FC } from 'react' + +import { Pressable, type PressableProps } from 'react-native' + +const IconButton: FC = (props) => + +export default IconButton diff --git a/packages/design-system/components/native/buttons/index.ts b/packages/design-system/components/native/buttons/index.ts new file mode 100644 index 00000000..f6bb4d89 --- /dev/null +++ b/packages/design-system/components/native/buttons/index.ts @@ -0,0 +1,3 @@ +export { default as Button } from './Button' +export type * from './Button/types' +export { default as IconButton } from './IconButton' diff --git a/packages/design-system/components/native/displays/FeedbackScreen/index.tsx b/packages/design-system/components/native/displays/FeedbackScreen/index.tsx new file mode 100644 index 00000000..c24cc078 --- /dev/null +++ b/packages/design-system/components/native/displays/FeedbackScreen/index.tsx @@ -0,0 +1,11 @@ +import Text from '../../typographies/Text' +import View from '../../views/View' + +// TODO: implement a generic feedback screen +const FeedbackScreen = () => ( + + You don't have enough permissions to access this page. + +) + +export default FeedbackScreen diff --git a/packages/design-system/components/native/displays/LoadingScreen/index.tsx b/packages/design-system/components/native/displays/LoadingScreen/index.tsx new file mode 100644 index 00000000..a37c1d61 --- /dev/null +++ b/packages/design-system/components/native/displays/LoadingScreen/index.tsx @@ -0,0 +1,15 @@ +import { FC } from 'react' + +import { ActivityIndicator } from 'react-native-paper' + +import View from '../../views/View' +import { styles } from './styles' +import { LoadingScreenProps } from './types' + +const LoadingScreen: FC = (props) => ( + + + +) + +export default LoadingScreen diff --git a/packages/design-system/components/native/displays/LoadingScreen/styles.ts b/packages/design-system/components/native/displays/LoadingScreen/styles.ts new file mode 100644 index 00000000..7cb38b55 --- /dev/null +++ b/packages/design-system/components/native/displays/LoadingScreen/styles.ts @@ -0,0 +1,9 @@ +import { StyleSheet } from 'react-native' + +export const styles = StyleSheet.create({ + container: { + flex: 1, + justifyContent: 'center', + alignItems: 'center', + }, +}) diff --git a/packages/design-system/components/native/displays/LoadingScreen/types.ts b/packages/design-system/components/native/displays/LoadingScreen/types.ts new file mode 100644 index 00000000..c592f765 --- /dev/null +++ b/packages/design-system/components/native/displays/LoadingScreen/types.ts @@ -0,0 +1,3 @@ +import type { ActivityIndicatorProps } from 'react-native-paper' + +export interface LoadingScreenProps extends ActivityIndicatorProps {} diff --git a/packages/design-system/components/native/displays/index.ts b/packages/design-system/components/native/displays/index.ts new file mode 100644 index 00000000..9994d354 --- /dev/null +++ b/packages/design-system/components/native/displays/index.ts @@ -0,0 +1,2 @@ +export { default as FeedbackScreen } from './FeedbackScreen' +export { default as LoadingScreen } from './LoadingScreen' diff --git a/packages/design-system/components/native/drawers/BottomDrawer/index.tsx b/packages/design-system/components/native/drawers/BottomDrawer/index.tsx new file mode 100644 index 00000000..fd2bb832 --- /dev/null +++ b/packages/design-system/components/native/drawers/BottomDrawer/index.tsx @@ -0,0 +1,46 @@ +import { useCallback } from 'react' + +import { + BottomSheetBackdrop, + BottomSheetBackdropProps, + BottomSheetModal, + BottomSheetView, +} from '@gorhom/bottom-sheet' + +import { useTheme } from '../../../../providers/native' +import { createStyles } from './styles' +import { BottomDrawerProps } from './types' + +const BottomDrawer = ({ + bottomDrawerRef, + handleSheetChanges, + snapPoints = ['30%'], + children, +}: BottomDrawerProps) => { + const theme = useTheme() + const styles = createStyles(theme) + + const renderBackdrop = useCallback( + (props: BottomSheetBackdropProps) => ( + + ), + [], + ) + + return ( + + {children} + + ) +} + +export default BottomDrawer diff --git a/packages/design-system/components/native/drawers/BottomDrawer/styles.ts b/packages/design-system/components/native/drawers/BottomDrawer/styles.ts new file mode 100644 index 00000000..b4cbbe0a --- /dev/null +++ b/packages/design-system/components/native/drawers/BottomDrawer/styles.ts @@ -0,0 +1,28 @@ +import { StyleSheet } from 'react-native' + +import type { Theme } from '../../../../styles/native' + +export const createStyles = (theme: Theme) => + StyleSheet.create({ + modal: { + borderRadius: 16, + borderWidth: 1, + borderColor: theme.colors.surface.disabled, + backgroundColor: theme.colors.surface.background, + }, + backgroundStyle: { + backgroundColor: theme.colors.surface.background, + }, + contentContainer: { + position: 'relative', + width: '100%', + }, + handleIndicatorStyle: { + backgroundColor: theme.colors.object.disabled, + width: 64, + height: 6, + }, + handleStyle: { + backgroundColor: 'transparent', + }, + }) diff --git a/packages/design-system/components/native/drawers/BottomDrawer/types.ts b/packages/design-system/components/native/drawers/BottomDrawer/types.ts new file mode 100644 index 00000000..ffde9821 --- /dev/null +++ b/packages/design-system/components/native/drawers/BottomDrawer/types.ts @@ -0,0 +1,8 @@ +import type { BottomSheetModal } from '@gorhom/bottom-sheet' + +export type BottomDrawerProps = { + bottomDrawerRef: React.RefObject + handleSheetChanges: (index: number) => void + snapPoints?: string[] + children?: React.ReactNode +} diff --git a/packages/design-system/components/native/drawers/index.ts b/packages/design-system/components/native/drawers/index.ts new file mode 100644 index 00000000..c4e15c8e --- /dev/null +++ b/packages/design-system/components/native/drawers/index.ts @@ -0,0 +1,2 @@ +export { default as BottomDrawer } from './BottomDrawer' +export type * from './BottomDrawer/types' diff --git a/packages/design-system/components/native/icons/CameraIcon/index.tsx b/packages/design-system/components/native/icons/CameraIcon/index.tsx new file mode 100644 index 00000000..ef33b5c3 --- /dev/null +++ b/packages/design-system/components/native/icons/CameraIcon/index.tsx @@ -0,0 +1,35 @@ +import { FC } from 'react' + +import Svg, { Circle, G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const CameraIcon: FC = ({ + isActive = false, + color, + width = '20', + height = '20', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + ) +} + +export default CameraIcon diff --git a/packages/design-system/components/native/icons/CameraOutlinedIcon/index.tsx b/packages/design-system/components/native/icons/CameraOutlinedIcon/index.tsx new file mode 100644 index 00000000..6443693b --- /dev/null +++ b/packages/design-system/components/native/icons/CameraOutlinedIcon/index.tsx @@ -0,0 +1,54 @@ +import { FC } from 'react' + +import Svg, { Circle, G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const CameraIcon: FC = ({ + isActive = false, + color, + width = '20', + height = '20', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + ) +} + +export default CameraIcon diff --git a/packages/design-system/components/native/icons/EditIcon/index.tsx b/packages/design-system/components/native/icons/EditIcon/index.tsx new file mode 100644 index 00000000..a28ed5f4 --- /dev/null +++ b/packages/design-system/components/native/icons/EditIcon/index.tsx @@ -0,0 +1,34 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const EditIcon: FC = ({ + isActive = false, + color, + width = '20', + height = '20', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + ) +} + +export default EditIcon diff --git a/packages/design-system/components/native/icons/FlowerIcon/index.tsx b/packages/design-system/components/native/icons/FlowerIcon/index.tsx new file mode 100644 index 00000000..dfbf90fc --- /dev/null +++ b/packages/design-system/components/native/icons/FlowerIcon/index.tsx @@ -0,0 +1,82 @@ +import { FC } from 'react' + +import Svg, { G, Path, Rect } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const FlowerIcon: FC = ({ + isActive = false, + color, + width = '21', + height = '21', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + + + ) +} + +export default FlowerIcon diff --git a/packages/design-system/components/native/icons/HomeIcon/index.tsx b/packages/design-system/components/native/icons/HomeIcon/index.tsx new file mode 100644 index 00000000..4709ffec --- /dev/null +++ b/packages/design-system/components/native/icons/HomeIcon/index.tsx @@ -0,0 +1,38 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const HomeIcon: FC = ({ + isActive = false, + color, + width = '25', + height = '24', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + ) +} + +export default HomeIcon diff --git a/packages/design-system/components/native/icons/ImageIcon/index.tsx b/packages/design-system/components/native/icons/ImageIcon/index.tsx new file mode 100644 index 00000000..da23ca8b --- /dev/null +++ b/packages/design-system/components/native/icons/ImageIcon/index.tsx @@ -0,0 +1,34 @@ +import { FC } from 'react' + +import Svg, { Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const ImageIcon: FC = ({ + isActive = false, + color, + width = '33', + height = '33', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + ) +} + +export default ImageIcon diff --git a/packages/design-system/components/native/icons/MenuIcon/index.tsx b/packages/design-system/components/native/icons/MenuIcon/index.tsx new file mode 100644 index 00000000..692b2d52 --- /dev/null +++ b/packages/design-system/components/native/icons/MenuIcon/index.tsx @@ -0,0 +1,42 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const MenuIcon: FC = ({ + isActive = false, + color, + width = '20', + height = '20', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + + ) +} + +export default MenuIcon diff --git a/packages/design-system/components/native/icons/MessageIcon/index.tsx b/packages/design-system/components/native/icons/MessageIcon/index.tsx new file mode 100644 index 00000000..05a1a01d --- /dev/null +++ b/packages/design-system/components/native/icons/MessageIcon/index.tsx @@ -0,0 +1,32 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const MessageIcon: FC = ({ + isActive = false, + color, + width = '24', + height = '24', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + ) +} + +export default MessageIcon diff --git a/packages/design-system/components/native/icons/OptionsIcon/index.tsx b/packages/design-system/components/native/icons/OptionsIcon/index.tsx new file mode 100644 index 00000000..75234c8c --- /dev/null +++ b/packages/design-system/components/native/icons/OptionsIcon/index.tsx @@ -0,0 +1,76 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const OptionsIcon: FC = ({ + isActive = false, + color, + width = '25', + height = '24', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + + + + ) +} + +export default OptionsIcon diff --git a/packages/design-system/components/native/icons/ProfileIcon/index.tsx b/packages/design-system/components/native/icons/ProfileIcon/index.tsx new file mode 100644 index 00000000..02407c64 --- /dev/null +++ b/packages/design-system/components/native/icons/ProfileIcon/index.tsx @@ -0,0 +1,38 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const ProfileIcon: FC = ({ + isActive = false, + color, + width = '25', + height = '24', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + ) +} + +export default ProfileIcon diff --git a/packages/design-system/components/native/icons/SettingsIcon/index.tsx b/packages/design-system/components/native/icons/SettingsIcon/index.tsx new file mode 100644 index 00000000..2d39cba8 --- /dev/null +++ b/packages/design-system/components/native/icons/SettingsIcon/index.tsx @@ -0,0 +1,38 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const SettingsIcon: FC = ({ + isActive = false, + color, + width = '25', + height = '24', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + ) +} + +export default SettingsIcon diff --git a/packages/design-system/components/native/icons/ShareIcon/index.tsx b/packages/design-system/components/native/icons/ShareIcon/index.tsx new file mode 100644 index 00000000..db5ae9ac --- /dev/null +++ b/packages/design-system/components/native/icons/ShareIcon/index.tsx @@ -0,0 +1,34 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const ShareIcon: FC = ({ + isActive = false, + color, + width = '20', + height = '20', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + ) +} + +export default ShareIcon diff --git a/packages/design-system/components/native/icons/TrashIcon/index.tsx b/packages/design-system/components/native/icons/TrashIcon/index.tsx new file mode 100644 index 00000000..4565bcd3 --- /dev/null +++ b/packages/design-system/components/native/icons/TrashIcon/index.tsx @@ -0,0 +1,80 @@ +import { FC } from 'react' + +import Svg, { G, Path } from 'react-native-svg' + +import { useTheme } from '../../../../providers/native' +import { SvgIconProps } from '../types' + +const TrashIcon: FC = ({ + isActive = false, + color, + width = '21', + height = '21', + ...props +}) => { + const { colors } = useTheme() + + const defaultColor = color ?? colors.object.high + const svgColor = isActive ? colors.primary.high : defaultColor + + return ( + + + + + + + + + + + + + ) +} + +export default TrashIcon diff --git a/packages/design-system/components/native/icons/index.ts b/packages/design-system/components/native/icons/index.ts new file mode 100644 index 00000000..5ac580c3 --- /dev/null +++ b/packages/design-system/components/native/icons/index.ts @@ -0,0 +1,14 @@ +export { default as CameraIcon } from './CameraIcon' +export { default as CameraOutlinedIcon } from './CameraOutlinedIcon' +export { default as EditIcon } from './EditIcon' +export { default as FlowerIcon } from './FlowerIcon' +export { default as HomeIcon } from './HomeIcon' +export { default as ImageIcon } from './ImageIcon' +export { default as MenuIcon } from './MenuIcon' +export { default as MessageIcon } from './MessageIcon' +export { default as OptionsIcon } from './OptionsIcon' +export { default as ProfileIcon } from './ProfileIcon' +export { default as SettingsIcon } from './SettingsIcon' +export { default as ShareIcon } from './ShareIcon' +export { default as TrashIcon } from './TrashIcon' +export type * from './types' diff --git a/packages/design-system/components/native/icons/types.ts b/packages/design-system/components/native/icons/types.ts new file mode 100644 index 00000000..73288cba --- /dev/null +++ b/packages/design-system/components/native/icons/types.ts @@ -0,0 +1,5 @@ +import { type SvgProps } from 'react-native-svg' + +export interface SvgIconProps extends SvgProps { + isActive?: boolean +} diff --git a/packages/design-system/components/native/images/Image/index.tsx b/packages/design-system/components/native/images/Image/index.tsx new file mode 100644 index 00000000..4eb74d9a --- /dev/null +++ b/packages/design-system/components/native/images/Image/index.tsx @@ -0,0 +1,34 @@ +import { FC } from 'react' + +import { type ImageStyle, Image as NativeImage } from 'react-native' + +import { useColorMode } from '../../../../hooks/native' +import { ImageProps } from './types' + +const Image: FC = ({ + source, + darkSource, + lightSource, + width, + height, + style, + ...props +}) => { + const mode = useColorMode() + + const dimensionsStyles: ImageStyle = width && height ? { width, height } : {} + + if (lightSource && darkSource) { + return ( + + ) + } + + return +} + +export default Image diff --git a/packages/design-system/components/native/images/Image/types.ts b/packages/design-system/components/native/images/Image/types.ts new file mode 100644 index 00000000..15f1dfae --- /dev/null +++ b/packages/design-system/components/native/images/Image/types.ts @@ -0,0 +1,17 @@ +import { ImageProps as NativeImageProps } from 'react-native' + +type Source = NativeImageProps['source'] + +export type SingleSource = { + source: Source + lightSource?: never + darkSource?: never +} + +export type DoubleSource = { + source?: never + lightSource: Source + darkSource: Source +} + +export type ImageProps = Omit & (SingleSource | DoubleSource) diff --git a/packages/design-system/components/native/images/index.ts b/packages/design-system/components/native/images/index.ts new file mode 100644 index 00000000..2ea772cf --- /dev/null +++ b/packages/design-system/components/native/images/index.ts @@ -0,0 +1,2 @@ +export { default as Image } from './Image' +export type * from './Image/types' diff --git a/packages/design-system/components/native/inputs/PasswordInput/index.tsx b/packages/design-system/components/native/inputs/PasswordInput/index.tsx new file mode 100644 index 00000000..af28a904 --- /dev/null +++ b/packages/design-system/components/native/inputs/PasswordInput/index.tsx @@ -0,0 +1,31 @@ +import { FC, useState } from 'react' + +import { TextInput as PaperTextInput } from 'react-native-paper' + +import { withNativeController } from '../../../../utils/native' +import { PureTextInput } from '../TextInput' +import type { TextInputProps } from '../TextInput/types' + +const PasswordInput: FC = (props) => { + const [hidePassword, setHidePassword] = useState(true) + + const handlePasswordToggle = () => { + setHidePassword((prevState) => !prevState) + } + + return ( + + } + {...props} + /> + ) +} + +export default withNativeController(PasswordInput) diff --git a/packages/design-system/components/native/inputs/TextInput/index.tsx b/packages/design-system/components/native/inputs/TextInput/index.tsx new file mode 100644 index 00000000..fdf8c1dd --- /dev/null +++ b/packages/design-system/components/native/inputs/TextInput/index.tsx @@ -0,0 +1,50 @@ +import { FC, useState } from 'react' + +import { Ionicons } from '@expo/vector-icons' +import { TextInput as PaperTextInput } from 'react-native-paper' + +import { useTheme } from '../../../../providers/native' +import { withNativeController } from '../../../../utils/native' +import Text from '../../typographies/Text' +import View from '../../views/View' +import { createOutlinedStyles, styles } from './styles' +import type { PureTextInputProps, TextInputProps } from './types' + +const TextInput: FC = (props) => { + const { disabled, helperText } = props + + const [isFocused, setIsFocused] = useState(false) + const theme = useTheme() + + const outlinedStyles = createOutlinedStyles(theme, { + isFocused, + isError: !!helperText, + isDisabled: disabled, + }) + + return ( + + setIsFocused(true)} + onBlur={() => setIsFocused(false)} + outlineStyle={[outlinedStyles.wrapper]} + activeOutlineColor={theme.colors.object.high} + {...props} + /> + {helperText && !disabled && ( + + + + {helperText} + + + )} + + ) +} + +export default withNativeController(TextInput) + +// exporting the TextInput without the controller, it's useful when a component +// that inherits from TextField needs to use the same controller +export const PureTextInput = TextInput as FC diff --git a/packages/design-system/components/native/inputs/TextInput/styles.ts b/packages/design-system/components/native/inputs/TextInput/styles.ts new file mode 100644 index 00000000..8509d73e --- /dev/null +++ b/packages/design-system/components/native/inputs/TextInput/styles.ts @@ -0,0 +1,61 @@ +import { StyleSheet, ViewStyle } from 'react-native' + +import { Theme } from '../../../../styles/native' +import { OutlinedStylesOptions } from './types' + +export const baseInputStyles = StyleSheet.create({ + wrapper: { + borderRadius: 8, + }, + content: {}, + text: {}, +}) + +const getOutlinedWrapperStyles = ({ colors }: Theme, options: OutlinedStylesOptions): ViewStyle => { + const { isFocused, isError, isDisabled } = options + + if (isDisabled) { + return { + borderColor: colors.surface.disabled, + borderStyle: 'dashed', + } + } + if (isError && isFocused) { + return { + borderColor: colors.error.main, + borderStyle: 'solid', + } + } + if (isFocused) { + return { + borderColor: colors.object.high, + borderStyle: 'solid', + } + } + + return { + borderColor: colors.surface.border, + borderStyle: 'solid', + } +} + +export const createOutlinedStyles = (theme: Theme, options: OutlinedStylesOptions) => + StyleSheet.create({ + ...baseInputStyles, + wrapper: { + ...baseInputStyles.wrapper, + ...getOutlinedWrapperStyles(theme, options), + }, + }) + +export const styles = StyleSheet.create({ + container: { + gap: 8, + }, + errorContainer: { + alignItems: 'center', + flexDirection: 'row', + gap: 4, + paddingLeft: 12, + }, +}) diff --git a/packages/design-system/components/native/inputs/TextInput/types.ts b/packages/design-system/components/native/inputs/TextInput/types.ts new file mode 100644 index 00000000..4eb9279c --- /dev/null +++ b/packages/design-system/components/native/inputs/TextInput/types.ts @@ -0,0 +1,13 @@ +import type { FormControl } from '@baseapp-frontend/utils/types/form' + +import type { TextInputProps as PaperTextInputProps } from 'react-native-paper' + +export type PureTextInputProps = PaperTextInputProps + +export type TextInputProps = PaperTextInputProps & FormControl + +export type OutlinedStylesOptions = { + isFocused?: boolean + isError?: boolean + isDisabled?: boolean +} diff --git a/packages/design-system/components/native/inputs/index.ts b/packages/design-system/components/native/inputs/index.ts new file mode 100644 index 00000000..c6eee22d --- /dev/null +++ b/packages/design-system/components/native/inputs/index.ts @@ -0,0 +1,3 @@ +export { default as PasswordInput } from './PasswordInput' +export { default as TextInput } from './TextInput' +export type * from './TextInput/types' diff --git a/packages/design-system/components/native/typographies/Text/index.tsx b/packages/design-system/components/native/typographies/Text/index.tsx new file mode 100644 index 00000000..69e30af0 --- /dev/null +++ b/packages/design-system/components/native/typographies/Text/index.tsx @@ -0,0 +1,16 @@ +import { FC } from 'react' + +import { Text as PaperText } from 'react-native-paper' + +import { useTheme } from '../../../../providers/native' +import { createStyles } from './styles' +import { TextProps } from './types' + +const Text: FC = ({ color = 'high', variant = 'body1', style, ...props }) => { + const theme = useTheme() + const styles = createStyles(theme, { color, variant }) + + return +} + +export default Text diff --git a/packages/design-system/components/native/typographies/Text/styles.ts b/packages/design-system/components/native/typographies/Text/styles.ts new file mode 100644 index 00000000..ba5eb942 --- /dev/null +++ b/packages/design-system/components/native/typographies/Text/styles.ts @@ -0,0 +1,14 @@ +import { StyleSheet } from 'react-native' + +import { Theme, typography } from '../../../../styles/native' +import { TextStylesOptions } from './types' + +export const createStyles = (theme: Theme, { color, variant }: TextStylesOptions) => + StyleSheet.create({ + text: { + color: theme.colors.object[color], + }, + typography: { + ...typography[variant], + }, + }) diff --git a/packages/design-system/components/native/typographies/Text/types.ts b/packages/design-system/components/native/typographies/Text/types.ts new file mode 100644 index 00000000..95d6ce77 --- /dev/null +++ b/packages/design-system/components/native/typographies/Text/types.ts @@ -0,0 +1,13 @@ +import { ComponentProps } from 'react' + +import { Text as PaperText } from 'react-native-paper' + +import { FontVariants, SystemTokens } from '../../../../styles/native' + +export type TextColorVariant = keyof SystemTokens['object'] + +type PaperTextProps = Omit, 'variant'> + +export type TextStylesOptions = { variant: FontVariants; color: TextColorVariant } + +export type TextProps = PaperTextProps & { variant?: FontVariants; color?: TextColorVariant } diff --git a/packages/design-system/components/native/typographies/index.ts b/packages/design-system/components/native/typographies/index.ts new file mode 100644 index 00000000..ada7aca9 --- /dev/null +++ b/packages/design-system/components/native/typographies/index.ts @@ -0,0 +1,2 @@ +export { default as Text } from './Text' +export type * from './Text/types' diff --git a/packages/design-system/components/native/views/CollapsibleView/index.tsx b/packages/design-system/components/native/views/CollapsibleView/index.tsx new file mode 100644 index 00000000..6b915044 --- /dev/null +++ b/packages/design-system/components/native/views/CollapsibleView/index.tsx @@ -0,0 +1,35 @@ +import { FC, useState } from 'react' + +import Ionicons from '@expo/vector-icons/Ionicons' +import { TouchableOpacity } from 'react-native' + +import { useTheme } from '../../../../providers/native' +import Text from '../../typographies/Text' +import View from '../View' +import { styles } from './styles' +import { CollapsibleViewProps } from './types' + +const CollapsibleView: FC = ({ children, title }) => { + const { colors } = useTheme() + const [isOpen, setIsOpen] = useState(false) + + return ( + + setIsOpen((value) => !value)} + activeOpacity={0.8} + > + + {title} + + {isOpen && {children}} + + ) +} + +export default CollapsibleView diff --git a/packages/design-system/components/native/views/CollapsibleView/styles.ts b/packages/design-system/components/native/views/CollapsibleView/styles.ts new file mode 100644 index 00000000..76936ef7 --- /dev/null +++ b/packages/design-system/components/native/views/CollapsibleView/styles.ts @@ -0,0 +1,13 @@ +import { StyleSheet } from 'react-native' + +export const styles = StyleSheet.create({ + heading: { + flexDirection: 'row', + alignItems: 'center', + gap: 6, + }, + content: { + marginTop: 6, + marginLeft: 24, + }, +}) diff --git a/packages/design-system/components/native/views/CollapsibleView/types.ts b/packages/design-system/components/native/views/CollapsibleView/types.ts new file mode 100644 index 00000000..036369cb --- /dev/null +++ b/packages/design-system/components/native/views/CollapsibleView/types.ts @@ -0,0 +1,5 @@ +import { PropsWithChildren } from 'react' + +export interface CollapsibleViewProps extends PropsWithChildren { + title: string +} diff --git a/packages/design-system/components/native/views/PageViewWithHeader/index.tsx b/packages/design-system/components/native/views/PageViewWithHeader/index.tsx new file mode 100644 index 00000000..4e5cad32 --- /dev/null +++ b/packages/design-system/components/native/views/PageViewWithHeader/index.tsx @@ -0,0 +1,11 @@ +import { FC } from 'react' + +import View from '../View' +import { styles } from './styles' +import type { PageViewWithHeaderProps } from './types' + +const PageViewWithHeader: FC = ({ style, ...props }) => ( + +) + +export default PageViewWithHeader diff --git a/packages/design-system/components/native/views/PageViewWithHeader/styles.ts b/packages/design-system/components/native/views/PageViewWithHeader/styles.ts new file mode 100644 index 00000000..c24fde01 --- /dev/null +++ b/packages/design-system/components/native/views/PageViewWithHeader/styles.ts @@ -0,0 +1,9 @@ +import { StyleSheet } from 'react-native' + +export const styles = StyleSheet.create({ + container: { + flexGrow: 1, + paddingHorizontal: 12, + paddingTop: 12, + }, +}) diff --git a/packages/design-system/components/native/views/PageViewWithHeader/types.ts b/packages/design-system/components/native/views/PageViewWithHeader/types.ts new file mode 100644 index 00000000..6654f904 --- /dev/null +++ b/packages/design-system/components/native/views/PageViewWithHeader/types.ts @@ -0,0 +1,3 @@ +import { ViewProps } from '../View/types' + +export interface PageViewWithHeaderProps extends ViewProps {} diff --git a/packages/design-system/components/native/views/ParallaxScrollView/index.tsx b/packages/design-system/components/native/views/ParallaxScrollView/index.tsx new file mode 100644 index 00000000..ff4aaea3 --- /dev/null +++ b/packages/design-system/components/native/views/ParallaxScrollView/index.tsx @@ -0,0 +1,49 @@ +import type { FC } from 'react' + +import Animated, { + interpolate, + useAnimatedRef, + useAnimatedStyle, + useScrollViewOffset, +} from 'react-native-reanimated' + +import { useTheme } from '../../../../providers/native' +import View from '../View' +import { createStyles } from './styles' +import { ParallaxScrollViewProps } from './types' + +const HEADER_HEIGHT = 250 + +const ParallaxScrollView: FC = ({ children, headerImage }) => { + const scrollRef = useAnimatedRef() + const scrollOffset = useScrollViewOffset(scrollRef) + const theme = useTheme() + + const styles = createStyles(theme) + + const headerAnimatedStyle = useAnimatedStyle(() => ({ + transform: [ + { + translateY: interpolate( + scrollOffset.value, + [-HEADER_HEIGHT, 0, HEADER_HEIGHT], + [-HEADER_HEIGHT / 2, 0, HEADER_HEIGHT * 0.75], + ), + }, + { + scale: interpolate(scrollOffset.value, [-HEADER_HEIGHT, 0, HEADER_HEIGHT], [2, 1, 1]), + }, + ], + })) + + return ( + + + {headerImage} + {children} + + + ) +} + +export default ParallaxScrollView diff --git a/packages/design-system/components/native/views/ParallaxScrollView/styles.ts b/packages/design-system/components/native/views/ParallaxScrollView/styles.ts new file mode 100644 index 00000000..b63745e9 --- /dev/null +++ b/packages/design-system/components/native/views/ParallaxScrollView/styles.ts @@ -0,0 +1,21 @@ +import { StyleSheet } from 'react-native' + +import { Theme } from '../../../../styles/native' + +export const createStyles = ({ colors }: Theme) => + StyleSheet.create({ + container: { + flex: 1, + }, + header: { + height: 250, + overflow: 'hidden', + backgroundColor: colors.surface.background, + }, + content: { + flex: 1, + padding: 32, + gap: 16, + overflow: 'hidden', + }, + }) diff --git a/packages/design-system/components/native/views/ParallaxScrollView/types.ts b/packages/design-system/components/native/views/ParallaxScrollView/types.ts new file mode 100644 index 00000000..06c0e149 --- /dev/null +++ b/packages/design-system/components/native/views/ParallaxScrollView/types.ts @@ -0,0 +1,5 @@ +import type { PropsWithChildren, ReactElement } from 'react' + +export interface ParallaxScrollViewProps extends PropsWithChildren { + headerImage: ReactElement +} diff --git a/packages/design-system/components/native/views/View/index.tsx b/packages/design-system/components/native/views/View/index.tsx new file mode 100644 index 00000000..e6e4a6c3 --- /dev/null +++ b/packages/design-system/components/native/views/View/index.tsx @@ -0,0 +1,25 @@ +import { FC } from 'react' + +import { Keyboard, View as NativeView, TouchableWithoutFeedback } from 'react-native' + +import { useTheme } from '../../../../providers/native' +import { createStyles } from './styles' +import type { ViewProps } from './types' + +const View: FC = ({ style, dismissKeyboard = true, ...props }) => { + const theme = useTheme() + + const styles = createStyles(theme) + + if (dismissKeyboard) { + return ( + + + + ) + } + + return +} + +export default View diff --git a/packages/design-system/components/native/views/View/styles.ts b/packages/design-system/components/native/views/View/styles.ts new file mode 100644 index 00000000..1f252ffb --- /dev/null +++ b/packages/design-system/components/native/views/View/styles.ts @@ -0,0 +1,10 @@ +import { StyleSheet } from 'react-native' + +import { Theme } from '../../../../styles/native' + +export const createStyles = ({ colors }: Theme) => + StyleSheet.create({ + container: { + backgroundColor: colors.surface.background, + }, + }) diff --git a/packages/design-system/components/native/views/View/types.ts b/packages/design-system/components/native/views/View/types.ts new file mode 100644 index 00000000..e3ef67f3 --- /dev/null +++ b/packages/design-system/components/native/views/View/types.ts @@ -0,0 +1,7 @@ +import { ComponentProps } from 'react' + +import { View } from 'react-native' + +export interface ViewProps extends ComponentProps { + dismissKeyboard?: boolean +} diff --git a/packages/design-system/components/native/views/index.ts b/packages/design-system/components/native/views/index.ts new file mode 100644 index 00000000..9b5f2fc0 --- /dev/null +++ b/packages/design-system/components/native/views/index.ts @@ -0,0 +1,8 @@ +export { default as CollapsibleView } from './CollapsibleView' +export type * from './CollapsibleView/types' +export { default as PageViewWithHeader } from './PageViewWithHeader' +export type * from './PageViewWithHeader/types' +export { default as ParallaxScrollView } from './ParallaxScrollView' +export type * from './ParallaxScrollView/types' +export { default as View } from './View' +export type * from './View/types' diff --git a/packages/design-system/components/animate/MotionContainer/index.tsx b/packages/design-system/components/web/animate/MotionContainer/index.tsx similarity index 90% rename from packages/design-system/components/animate/MotionContainer/index.tsx rename to packages/design-system/components/web/animate/MotionContainer/index.tsx index 10003cce..45f2c658 100644 --- a/packages/design-system/components/animate/MotionContainer/index.tsx +++ b/packages/design-system/components/web/animate/MotionContainer/index.tsx @@ -8,12 +8,13 @@ import { m } from 'framer-motion' import { varContainer } from '../variants' import { MotionContainerProps } from './types' -const MotionContainer: FC = ({ +export const MotionContainer: FC = ({ animate, action = false, children, ...other }) => { + console.log('hi') if (action) { return ( = ({ const smDown = useResponsive('down', 'sm') if (smDown && disableAnimatedMobile) { + // @ts-ignore return {children} } diff --git a/packages/design-system/components/animate/MotionViewport/types.ts b/packages/design-system/components/web/animate/MotionViewport/types.ts similarity index 100% rename from packages/design-system/components/animate/MotionViewport/types.ts rename to packages/design-system/components/web/animate/MotionViewport/types.ts diff --git a/packages/design-system/components/animate/index.ts b/packages/design-system/components/web/animate/index.ts similarity index 91% rename from packages/design-system/components/animate/index.ts rename to packages/design-system/components/web/animate/index.ts index 76fbb37a..659d7de3 100644 --- a/packages/design-system/components/animate/index.ts +++ b/packages/design-system/components/web/animate/index.ts @@ -1,3 +1,5 @@ +'use client' + export * from './variants' export { default as MotionContainer } from './MotionContainer' diff --git a/packages/design-system/components/animate/types.ts b/packages/design-system/components/web/animate/types.ts similarity index 87% rename from packages/design-system/components/animate/types.ts rename to packages/design-system/components/web/animate/types.ts index c3ed2e42..f95b5f9a 100644 --- a/packages/design-system/components/animate/types.ts +++ b/packages/design-system/components/web/animate/types.ts @@ -1,7 +1,5 @@ -'use client' - -import { BoxProps } from '@mui/material/Box' -import { MotionProps } from 'framer-motion' +import type { BoxProps } from '@mui/material/Box' +import type { MotionProps } from 'framer-motion' type EaseType = | 'linear' diff --git a/packages/design-system/components/animate/variants/actions.ts b/packages/design-system/components/web/animate/variants/actions.ts similarity index 100% rename from packages/design-system/components/animate/variants/actions.ts rename to packages/design-system/components/web/animate/variants/actions.ts diff --git a/packages/design-system/components/animate/variants/background.ts b/packages/design-system/components/web/animate/variants/background.ts similarity index 100% rename from packages/design-system/components/animate/variants/background.ts rename to packages/design-system/components/web/animate/variants/background.ts diff --git a/packages/design-system/components/animate/variants/bounce.ts b/packages/design-system/components/web/animate/variants/bounce.ts similarity index 100% rename from packages/design-system/components/animate/variants/bounce.ts rename to packages/design-system/components/web/animate/variants/bounce.ts diff --git a/packages/design-system/components/animate/variants/container.ts b/packages/design-system/components/web/animate/variants/container.ts similarity index 100% rename from packages/design-system/components/animate/variants/container.ts rename to packages/design-system/components/web/animate/variants/container.ts diff --git a/packages/design-system/components/animate/variants/fade.ts b/packages/design-system/components/web/animate/variants/fade.ts similarity index 100% rename from packages/design-system/components/animate/variants/fade.ts rename to packages/design-system/components/web/animate/variants/fade.ts diff --git a/packages/design-system/components/animate/variants/flip.ts b/packages/design-system/components/web/animate/variants/flip.ts similarity index 100% rename from packages/design-system/components/animate/variants/flip.ts rename to packages/design-system/components/web/animate/variants/flip.ts diff --git a/packages/design-system/components/animate/variants/index.ts b/packages/design-system/components/web/animate/variants/index.ts similarity index 100% rename from packages/design-system/components/animate/variants/index.ts rename to packages/design-system/components/web/animate/variants/index.ts diff --git a/packages/design-system/components/animate/variants/path.ts b/packages/design-system/components/web/animate/variants/path.ts similarity index 100% rename from packages/design-system/components/animate/variants/path.ts rename to packages/design-system/components/web/animate/variants/path.ts diff --git a/packages/design-system/components/animate/variants/rotate.ts b/packages/design-system/components/web/animate/variants/rotate.ts similarity index 100% rename from packages/design-system/components/animate/variants/rotate.ts rename to packages/design-system/components/web/animate/variants/rotate.ts diff --git a/packages/design-system/components/animate/variants/scale.ts b/packages/design-system/components/web/animate/variants/scale.ts similarity index 100% rename from packages/design-system/components/animate/variants/scale.ts rename to packages/design-system/components/web/animate/variants/scale.ts diff --git a/packages/design-system/components/animate/variants/slide.ts b/packages/design-system/components/web/animate/variants/slide.ts similarity index 100% rename from packages/design-system/components/animate/variants/slide.ts rename to packages/design-system/components/web/animate/variants/slide.ts diff --git a/packages/design-system/components/animate/variants/transition.ts b/packages/design-system/components/web/animate/variants/transition.ts similarity index 100% rename from packages/design-system/components/animate/variants/transition.ts rename to packages/design-system/components/web/animate/variants/transition.ts diff --git a/packages/design-system/components/animate/variants/zoom.ts b/packages/design-system/components/web/animate/variants/zoom.ts similarity index 100% rename from packages/design-system/components/animate/variants/zoom.ts rename to packages/design-system/components/web/animate/variants/zoom.ts diff --git a/packages/design-system/components/avatars/AvatarWithPlaceholder/__storybook__/AvatarWithPlaceholder.mdx b/packages/design-system/components/web/avatars/AvatarWithPlaceholder/__storybook__/AvatarWithPlaceholder.mdx similarity index 99% rename from packages/design-system/components/avatars/AvatarWithPlaceholder/__storybook__/AvatarWithPlaceholder.mdx rename to packages/design-system/components/web/avatars/AvatarWithPlaceholder/__storybook__/AvatarWithPlaceholder.mdx index e06e8278..698414da 100644 --- a/packages/design-system/components/avatars/AvatarWithPlaceholder/__storybook__/AvatarWithPlaceholder.mdx +++ b/packages/design-system/components/web/avatars/AvatarWithPlaceholder/__storybook__/AvatarWithPlaceholder.mdx @@ -40,7 +40,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system' +import { AvatarWithPlaceholder } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( diff --git a/packages/design-system/components/avatars/AvatarWithPlaceholder/__storybook__/stories.tsx b/packages/design-system/components/web/avatars/AvatarWithPlaceholder/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/avatars/AvatarWithPlaceholder/__storybook__/stories.tsx rename to packages/design-system/components/web/avatars/AvatarWithPlaceholder/__storybook__/stories.tsx diff --git a/packages/design-system/components/avatars/AvatarWithPlaceholder/index.tsx b/packages/design-system/components/web/avatars/AvatarWithPlaceholder/index.tsx similarity index 100% rename from packages/design-system/components/avatars/AvatarWithPlaceholder/index.tsx rename to packages/design-system/components/web/avatars/AvatarWithPlaceholder/index.tsx diff --git a/packages/design-system/components/web/avatars/AvatarWithPlaceholder/styled.tsx b/packages/design-system/components/web/avatars/AvatarWithPlaceholder/styled.tsx new file mode 100644 index 00000000..32615215 --- /dev/null +++ b/packages/design-system/components/web/avatars/AvatarWithPlaceholder/styled.tsx @@ -0,0 +1,17 @@ +'use client' + +import { ComponentType } from 'react' + +import { Avatar, AvatarTypeMap } from '@mui/material' +import { OverridableComponent } from '@mui/material/OverridableComponent' +import { styled } from '@mui/material/styles' + +import { AvatarWithPlaceholderProps } from './types' + +export const AvatarStyled: ComponentType = styled( + Avatar, +)(({ theme, width, height }) => ({ + width, + height, + border: `solid 2px ${theme.palette.background.default}`, +})) as OverridableComponent> diff --git a/packages/design-system/components/avatars/AvatarWithPlaceholder/types.ts b/packages/design-system/components/web/avatars/AvatarWithPlaceholder/types.ts similarity index 100% rename from packages/design-system/components/avatars/AvatarWithPlaceholder/types.ts rename to packages/design-system/components/web/avatars/AvatarWithPlaceholder/types.ts diff --git a/packages/design-system/components/avatars/CircledAvatar/index.tsx b/packages/design-system/components/web/avatars/CircledAvatar/index.tsx similarity index 97% rename from packages/design-system/components/avatars/CircledAvatar/index.tsx rename to packages/design-system/components/web/avatars/CircledAvatar/index.tsx index becc7c31..3f793f07 100644 --- a/packages/design-system/components/avatars/CircledAvatar/index.tsx +++ b/packages/design-system/components/web/avatars/CircledAvatar/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { FC } from 'react' import AvatarWithPlaceholder from '../AvatarWithPlaceholder' diff --git a/packages/design-system/components/web/avatars/CircledAvatar/styled.tsx b/packages/design-system/components/web/avatars/CircledAvatar/styled.tsx new file mode 100644 index 00000000..443f08e4 --- /dev/null +++ b/packages/design-system/components/web/avatars/CircledAvatar/styled.tsx @@ -0,0 +1,18 @@ +import { ComponentType } from 'react' + +import { Box } from '@mui/material' +import { alpha, styled } from '@mui/material/styles' + +import { AvatarContainerProps } from './types' + +export const AvatarContainer: ComponentType = styled( + Box, +)(({ theme, width, height, hasError }) => ({ + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + width: width + 4, + height: height + 4, + background: hasError ? alpha(theme.palette.error.main, 1) : alpha(theme.palette.grey[400], 0.32), + borderRadius: '50%', +})) diff --git a/packages/design-system/components/avatars/CircledAvatar/types.ts b/packages/design-system/components/web/avatars/CircledAvatar/types.ts similarity index 100% rename from packages/design-system/components/avatars/CircledAvatar/types.ts rename to packages/design-system/components/web/avatars/CircledAvatar/types.ts diff --git a/packages/design-system/components/avatars/ClickableAvatar/__storybook__/ClickableAvatar.mdx b/packages/design-system/components/web/avatars/ClickableAvatar/__storybook__/ClickableAvatar.mdx similarity index 99% rename from packages/design-system/components/avatars/ClickableAvatar/__storybook__/ClickableAvatar.mdx rename to packages/design-system/components/web/avatars/ClickableAvatar/__storybook__/ClickableAvatar.mdx index 6b33c484..c67297c9 100644 --- a/packages/design-system/components/avatars/ClickableAvatar/__storybook__/ClickableAvatar.mdx +++ b/packages/design-system/components/web/avatars/ClickableAvatar/__storybook__/ClickableAvatar.mdx @@ -35,7 +35,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { ClickableAvatar } from '@baseapp-frontend/design-system' +import { ClickableAvatar } from '@baseapp-frontend/design-system/web' import Image from 'next/image' diff --git a/packages/design-system/components/avatars/ClickableAvatar/__storybook__/stories.tsx b/packages/design-system/components/web/avatars/ClickableAvatar/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/avatars/ClickableAvatar/__storybook__/stories.tsx rename to packages/design-system/components/web/avatars/ClickableAvatar/__storybook__/stories.tsx diff --git a/packages/design-system/components/avatars/ClickableAvatar/index.tsx b/packages/design-system/components/web/avatars/ClickableAvatar/index.tsx similarity index 93% rename from packages/design-system/components/avatars/ClickableAvatar/index.tsx rename to packages/design-system/components/web/avatars/ClickableAvatar/index.tsx index 58200fc9..4d10e832 100644 --- a/packages/design-system/components/avatars/ClickableAvatar/index.tsx +++ b/packages/design-system/components/web/avatars/ClickableAvatar/index.tsx @@ -4,7 +4,7 @@ import { FC } from 'react' import { m } from 'framer-motion' -import { varHover } from '../../animate' +import { varHover } from '../../animate/variants' import AvatarWithPlaceholder from '../AvatarWithPlaceholder' import { IconButtonStyled } from './styled' import { ClickableAvatarProps } from './types' diff --git a/packages/design-system/components/avatars/ClickableAvatar/styled.tsx b/packages/design-system/components/web/avatars/ClickableAvatar/styled.tsx similarity index 100% rename from packages/design-system/components/avatars/ClickableAvatar/styled.tsx rename to packages/design-system/components/web/avatars/ClickableAvatar/styled.tsx diff --git a/packages/design-system/components/avatars/ClickableAvatar/types.ts b/packages/design-system/components/web/avatars/ClickableAvatar/types.ts similarity index 100% rename from packages/design-system/components/avatars/ClickableAvatar/types.ts rename to packages/design-system/components/web/avatars/ClickableAvatar/types.ts diff --git a/packages/design-system/components/avatars/index.ts b/packages/design-system/components/web/avatars/index.ts similarity index 96% rename from packages/design-system/components/avatars/index.ts rename to packages/design-system/components/web/avatars/index.ts index 71b7fd28..525f5be0 100644 --- a/packages/design-system/components/avatars/index.ts +++ b/packages/design-system/components/web/avatars/index.ts @@ -1,3 +1,5 @@ +'use client' + export { default as AvatarWithPlaceholder } from './AvatarWithPlaceholder' export type * from './AvatarWithPlaceholder/types' diff --git a/packages/design-system/components/buttons/FileUploadButton/__storybook__/FileUploadButton.mdx b/packages/design-system/components/web/buttons/FileUploadButton/__storybook__/FileUploadButton.mdx similarity index 100% rename from packages/design-system/components/buttons/FileUploadButton/__storybook__/FileUploadButton.mdx rename to packages/design-system/components/web/buttons/FileUploadButton/__storybook__/FileUploadButton.mdx diff --git a/packages/design-system/components/buttons/FileUploadButton/__storybook__/stories.tsx b/packages/design-system/components/web/buttons/FileUploadButton/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/buttons/FileUploadButton/__storybook__/stories.tsx rename to packages/design-system/components/web/buttons/FileUploadButton/__storybook__/stories.tsx diff --git a/packages/design-system/components/buttons/FileUploadButton/index.tsx b/packages/design-system/components/web/buttons/FileUploadButton/index.tsx similarity index 99% rename from packages/design-system/components/buttons/FileUploadButton/index.tsx rename to packages/design-system/components/web/buttons/FileUploadButton/index.tsx index 3e6ea4f1..1f1afb9c 100644 --- a/packages/design-system/components/buttons/FileUploadButton/index.tsx +++ b/packages/design-system/components/web/buttons/FileUploadButton/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { ChangeEventHandler, FC, useRef } from 'react' import { useNotification } from '@baseapp-frontend/utils' diff --git a/packages/design-system/components/buttons/FileUploadButton/types.ts b/packages/design-system/components/web/buttons/FileUploadButton/types.ts similarity index 100% rename from packages/design-system/components/buttons/FileUploadButton/types.ts rename to packages/design-system/components/web/buttons/FileUploadButton/types.ts diff --git a/packages/design-system/components/buttons/IconButton/__storybook__/IconButton.mdx b/packages/design-system/components/web/buttons/IconButton/__storybook__/IconButton.mdx similarity index 93% rename from packages/design-system/components/buttons/IconButton/__storybook__/IconButton.mdx rename to packages/design-system/components/web/buttons/IconButton/__storybook__/IconButton.mdx index 9c8a7b4e..61b94a4e 100644 --- a/packages/design-system/components/buttons/IconButton/__storybook__/IconButton.mdx +++ b/packages/design-system/components/web/buttons/IconButton/__storybook__/IconButton.mdx @@ -43,8 +43,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { IconButton } from '@baseapp-frontend/design-system' -import { CloseIcon } from '@baseapp-frontend/design-system/icons' +import { IconButton, CloseIcon } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( diff --git a/packages/design-system/components/buttons/IconButton/__storybook__/stories.tsx b/packages/design-system/components/web/buttons/IconButton/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/buttons/IconButton/__storybook__/stories.tsx rename to packages/design-system/components/web/buttons/IconButton/__storybook__/stories.tsx diff --git a/packages/design-system/components/buttons/IconButton/index.tsx b/packages/design-system/components/web/buttons/IconButton/index.tsx similarity index 100% rename from packages/design-system/components/buttons/IconButton/index.tsx rename to packages/design-system/components/web/buttons/IconButton/index.tsx diff --git a/packages/design-system/components/buttons/IconButton/styled.tsx b/packages/design-system/components/web/buttons/IconButton/styled.tsx similarity index 77% rename from packages/design-system/components/buttons/IconButton/styled.tsx rename to packages/design-system/components/web/buttons/IconButton/styled.tsx index 4497ba00..42b3b2c0 100644 --- a/packages/design-system/components/buttons/IconButton/styled.tsx +++ b/packages/design-system/components/web/buttons/IconButton/styled.tsx @@ -1,9 +1,11 @@ +import { ComponentType } from 'react' + import { IconButton as MUIIconButton } from '@mui/material' import { styled } from '@mui/material/styles' import { IconButtonProps } from './types' -export const StyledIconButton = styled((props) => ( +export const StyledIconButton: ComponentType = styled((props) => ( ))(({ hasTooltip, theme }) => ({ '&.Mui-disabled': { diff --git a/packages/design-system/components/buttons/IconButton/types.ts b/packages/design-system/components/web/buttons/IconButton/types.ts similarity index 100% rename from packages/design-system/components/buttons/IconButton/types.ts rename to packages/design-system/components/web/buttons/IconButton/types.ts diff --git a/packages/design-system/components/buttons/index.ts b/packages/design-system/components/web/buttons/index.ts similarity index 93% rename from packages/design-system/components/buttons/index.ts rename to packages/design-system/components/web/buttons/index.ts index 8699dcfd..f5ee32d8 100644 --- a/packages/design-system/components/buttons/index.ts +++ b/packages/design-system/components/web/buttons/index.ts @@ -1,3 +1,5 @@ +'use client' + export { default as IconButton } from './IconButton' export type * from './IconButton/types' diff --git a/packages/design-system/components/dialogs/ConfirmDialog/__storybook__/ConfirmDialog.mdx b/packages/design-system/components/web/dialogs/ConfirmDialog/__storybook__/ConfirmDialog.mdx similarity index 94% rename from packages/design-system/components/dialogs/ConfirmDialog/__storybook__/ConfirmDialog.mdx rename to packages/design-system/components/web/dialogs/ConfirmDialog/__storybook__/ConfirmDialog.mdx index bcc51eca..8a02ec09 100644 --- a/packages/design-system/components/dialogs/ConfirmDialog/__storybook__/ConfirmDialog.mdx +++ b/packages/design-system/components/web/dialogs/ConfirmDialog/__storybook__/ConfirmDialog.mdx @@ -42,8 +42,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { ConfirmDialog } from '@baseapp-frontend/design-system' -import { Button } from '@baseapp-frontend/design-system' +import { ConfirmDialog, Button } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [open, setOpen] = useState(false) diff --git a/packages/design-system/components/dialogs/ConfirmDialog/__storybook__/stories.tsx b/packages/design-system/components/web/dialogs/ConfirmDialog/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/dialogs/ConfirmDialog/__storybook__/stories.tsx rename to packages/design-system/components/web/dialogs/ConfirmDialog/__storybook__/stories.tsx diff --git a/packages/design-system/components/dialogs/ConfirmDialog/index.tsx b/packages/design-system/components/web/dialogs/ConfirmDialog/index.tsx similarity index 98% rename from packages/design-system/components/dialogs/ConfirmDialog/index.tsx rename to packages/design-system/components/web/dialogs/ConfirmDialog/index.tsx index 53062d92..26b857b6 100644 --- a/packages/design-system/components/dialogs/ConfirmDialog/index.tsx +++ b/packages/design-system/components/web/dialogs/ConfirmDialog/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { FC } from 'react' import Button from '@mui/material/Button' diff --git a/packages/design-system/components/dialogs/ConfirmDialog/types.ts b/packages/design-system/components/web/dialogs/ConfirmDialog/types.ts similarity index 100% rename from packages/design-system/components/dialogs/ConfirmDialog/types.ts rename to packages/design-system/components/web/dialogs/ConfirmDialog/types.ts diff --git a/packages/design-system/components/dialogs/Dialog/__storybook__/BaseDialog.mdx b/packages/design-system/components/web/dialogs/Dialog/__storybook__/BaseDialog.mdx similarity index 96% rename from packages/design-system/components/dialogs/Dialog/__storybook__/BaseDialog.mdx rename to packages/design-system/components/web/dialogs/Dialog/__storybook__/BaseDialog.mdx index 94041e66..13736eb3 100644 --- a/packages/design-system/components/dialogs/Dialog/__storybook__/BaseDialog.mdx +++ b/packages/design-system/components/web/dialogs/Dialog/__storybook__/BaseDialog.mdx @@ -34,7 +34,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { Dialog } from '@baseapp-frontend/design-system' +import { Dialog } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [open, setOpen] = useState(false) diff --git a/packages/design-system/components/dialogs/Dialog/__storybook__/stories.tsx b/packages/design-system/components/web/dialogs/Dialog/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/dialogs/Dialog/__storybook__/stories.tsx rename to packages/design-system/components/web/dialogs/Dialog/__storybook__/stories.tsx diff --git a/packages/design-system/components/dialogs/Dialog/index.tsx b/packages/design-system/components/web/dialogs/Dialog/index.tsx similarity index 85% rename from packages/design-system/components/dialogs/Dialog/index.tsx rename to packages/design-system/components/web/dialogs/Dialog/index.tsx index 1af2e31d..a9765a3b 100644 --- a/packages/design-system/components/dialogs/Dialog/index.tsx +++ b/packages/design-system/components/web/dialogs/Dialog/index.tsx @@ -1,9 +1,11 @@ +'use client' + import { FC, MouseEventHandler } from 'react' import { Box } from '@mui/material' -import { IconButton } from '../../buttons' -import { CloseIcon } from '../../icons' +import IconButton from '../../buttons/IconButton' +import CloseIcon from '../../icons/CloseIcon' import { StyledDialog } from './styled' import { DialogProps } from './types' diff --git a/packages/design-system/components/web/dialogs/Dialog/styled.tsx b/packages/design-system/components/web/dialogs/Dialog/styled.tsx new file mode 100644 index 00000000..dc75b7bf --- /dev/null +++ b/packages/design-system/components/web/dialogs/Dialog/styled.tsx @@ -0,0 +1,17 @@ +import { ComponentType } from 'react' + +import { Dialog as MUIDialog } from '@mui/material' +import { styled } from '@mui/material/styles' + +import { DialogProps } from './types' + +export const StyledDialog: ComponentType = styled(MUIDialog)( + ({ customMaxWidth }) => ({ + '& .MuiDialog-paper': { + position: 'relative', + ...(customMaxWidth && { + maxWidth: customMaxWidth, + }), + }, + }), +) diff --git a/packages/design-system/components/dialogs/Dialog/types.ts b/packages/design-system/components/web/dialogs/Dialog/types.ts similarity index 100% rename from packages/design-system/components/dialogs/Dialog/types.ts rename to packages/design-system/components/web/dialogs/Dialog/types.ts diff --git a/packages/design-system/components/dialogs/index.ts b/packages/design-system/components/web/dialogs/index.ts similarity index 92% rename from packages/design-system/components/dialogs/index.ts rename to packages/design-system/components/web/dialogs/index.ts index d0c52916..e73c08bc 100644 --- a/packages/design-system/components/dialogs/index.ts +++ b/packages/design-system/components/web/dialogs/index.ts @@ -1,3 +1,5 @@ +'use client' + export { default as ConfirmDialog } from './ConfirmDialog' export type * from './ConfirmDialog/types' diff --git a/packages/design-system/components/displays/LoadingState/__storybook__/LoadingState.mdx b/packages/design-system/components/web/displays/LoadingState/__storybook__/LoadingState.mdx similarity index 94% rename from packages/design-system/components/displays/LoadingState/__storybook__/LoadingState.mdx rename to packages/design-system/components/web/displays/LoadingState/__storybook__/LoadingState.mdx index fb6dda59..6d576a9d 100644 --- a/packages/design-system/components/displays/LoadingState/__storybook__/LoadingState.mdx +++ b/packages/design-system/components/web/displays/LoadingState/__storybook__/LoadingState.mdx @@ -33,7 +33,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { LoadingState } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return diff --git a/packages/design-system/components/displays/LoadingState/__storybook__/stories.tsx b/packages/design-system/components/web/displays/LoadingState/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/displays/LoadingState/__storybook__/stories.tsx rename to packages/design-system/components/web/displays/LoadingState/__storybook__/stories.tsx diff --git a/packages/design-system/components/displays/LoadingState/index.tsx b/packages/design-system/components/web/displays/LoadingState/index.tsx similarity index 100% rename from packages/design-system/components/displays/LoadingState/index.tsx rename to packages/design-system/components/web/displays/LoadingState/index.tsx diff --git a/packages/design-system/components/displays/LoadingState/types.ts b/packages/design-system/components/web/displays/LoadingState/types.ts similarity index 100% rename from packages/design-system/components/displays/LoadingState/types.ts rename to packages/design-system/components/web/displays/LoadingState/types.ts diff --git a/packages/design-system/components/displays/index.ts b/packages/design-system/components/web/displays/index.ts similarity index 87% rename from packages/design-system/components/displays/index.ts rename to packages/design-system/components/web/displays/index.ts index c54d6bd4..98fdb8c4 100644 --- a/packages/design-system/components/displays/index.ts +++ b/packages/design-system/components/web/displays/index.ts @@ -1,2 +1,4 @@ +'use client' + export { default as LoadingState } from './LoadingState' export type * from './LoadingState/types' diff --git a/packages/design-system/components/drawers/SwipeableDrawer/__storybook__/SwipeableDrawer.mdx b/packages/design-system/components/web/drawers/SwipeableDrawer/__storybook__/SwipeableDrawer.mdx similarity index 99% rename from packages/design-system/components/drawers/SwipeableDrawer/__storybook__/SwipeableDrawer.mdx rename to packages/design-system/components/web/drawers/SwipeableDrawer/__storybook__/SwipeableDrawer.mdx index f39f792b..232aeef4 100644 --- a/packages/design-system/components/drawers/SwipeableDrawer/__storybook__/SwipeableDrawer.mdx +++ b/packages/design-system/components/web/drawers/SwipeableDrawer/__storybook__/SwipeableDrawer.mdx @@ -40,7 +40,7 @@ import { Meta } from '@storybook/addon-docs' ```javascript import { useState } from 'react' -import { SwipeableDrawer } from '@baseapp-frontend/design-system' +import { SwipeableDrawer } from '@baseapp-frontend/design-system/web' import { Button, Typography } from '@mui/material' diff --git a/packages/design-system/components/drawers/SwipeableDrawer/__storybook__/stories.tsx b/packages/design-system/components/web/drawers/SwipeableDrawer/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/drawers/SwipeableDrawer/__storybook__/stories.tsx rename to packages/design-system/components/web/drawers/SwipeableDrawer/__storybook__/stories.tsx diff --git a/packages/design-system/components/drawers/SwipeableDrawer/constants.ts b/packages/design-system/components/web/drawers/SwipeableDrawer/constants.ts similarity index 100% rename from packages/design-system/components/drawers/SwipeableDrawer/constants.ts rename to packages/design-system/components/web/drawers/SwipeableDrawer/constants.ts diff --git a/packages/design-system/components/drawers/SwipeableDrawer/index.tsx b/packages/design-system/components/web/drawers/SwipeableDrawer/index.tsx similarity index 98% rename from packages/design-system/components/drawers/SwipeableDrawer/index.tsx rename to packages/design-system/components/web/drawers/SwipeableDrawer/index.tsx index 80827a24..01a72daa 100644 --- a/packages/design-system/components/drawers/SwipeableDrawer/index.tsx +++ b/packages/design-system/components/web/drawers/SwipeableDrawer/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { FC } from 'react' import { Global } from '@emotion/react' diff --git a/packages/design-system/components/drawers/SwipeableDrawer/styled.tsx b/packages/design-system/components/web/drawers/SwipeableDrawer/styled.tsx similarity index 66% rename from packages/design-system/components/drawers/SwipeableDrawer/styled.tsx rename to packages/design-system/components/web/drawers/SwipeableDrawer/styled.tsx index e2f88ccd..431f18e5 100644 --- a/packages/design-system/components/drawers/SwipeableDrawer/styled.tsx +++ b/packages/design-system/components/web/drawers/SwipeableDrawer/styled.tsx @@ -1,9 +1,11 @@ -import { Box } from '@mui/material' +import { ComponentType } from 'react' + +import { Box, BoxProps } from '@mui/material' import { styled } from '@mui/material/styles' import { SWIPE_AREA_WIDTH } from './constants' -export const SwipeableContainer = styled(Box)(({ theme }) => ({ +export const SwipeableContainer: ComponentType = styled(Box)(({ theme }) => ({ backgroundColor: theme.palette.background.default, display: 'flex', alignItems: 'center', @@ -18,7 +20,7 @@ export const SwipeableContainer = styled(Box)(({ theme }) => ({ left: 0, })) -export const Puller = styled(Box)(({ theme }) => ({ +export const Puller: ComponentType = styled(Box)(({ theme }) => ({ width: 64, height: 6, backgroundColor: theme.palette.text.disabled, @@ -26,7 +28,7 @@ export const Puller = styled(Box)(({ theme }) => ({ left: 'calc(50% - 32px)', })) -export const ContentContainer = styled(Box)(({ theme }) => ({ +export const ContentContainer: ComponentType = styled(Box)(({ theme }) => ({ backgroundColor: theme.palette.background.default, padding: theme.spacing(1.5, 2), width: '100%', diff --git a/packages/design-system/components/drawers/SwipeableDrawer/types.ts b/packages/design-system/components/web/drawers/SwipeableDrawer/types.ts similarity index 100% rename from packages/design-system/components/drawers/SwipeableDrawer/types.ts rename to packages/design-system/components/web/drawers/SwipeableDrawer/types.ts diff --git a/packages/design-system/components/drawers/index.ts b/packages/design-system/components/web/drawers/index.ts similarity index 88% rename from packages/design-system/components/drawers/index.ts rename to packages/design-system/components/web/drawers/index.ts index 733344f3..21a9aef4 100644 --- a/packages/design-system/components/drawers/index.ts +++ b/packages/design-system/components/web/drawers/index.ts @@ -1,2 +1,4 @@ +'use client' + export { default as SwipeableDrawer } from './SwipeableDrawer' export type * from './SwipeableDrawer/types' diff --git a/packages/design-system/components/Dropzone/__storybook__/dropzone.mdx b/packages/design-system/components/web/dropzones/Dropzone/__storybook__/dropzone.mdx similarity index 97% rename from packages/design-system/components/Dropzone/__storybook__/dropzone.mdx rename to packages/design-system/components/web/dropzones/Dropzone/__storybook__/dropzone.mdx index 8abfc482..03a2679b 100644 --- a/packages/design-system/components/Dropzone/__storybook__/dropzone.mdx +++ b/packages/design-system/components/web/dropzones/Dropzone/__storybook__/dropzone.mdx @@ -1,6 +1,6 @@ import { Meta } from '@storybook/addon-docs' - + # Component Documentation diff --git a/packages/design-system/components/Dropzone/__storybook__/stories.tsx b/packages/design-system/components/web/dropzones/Dropzone/__storybook__/stories.tsx similarity index 94% rename from packages/design-system/components/Dropzone/__storybook__/stories.tsx rename to packages/design-system/components/web/dropzones/Dropzone/__storybook__/stories.tsx index aee75411..ff5ad00c 100644 --- a/packages/design-system/components/Dropzone/__storybook__/stories.tsx +++ b/packages/design-system/components/web/dropzones/Dropzone/__storybook__/stories.tsx @@ -4,7 +4,7 @@ import Dropzone from '..' import { DropzoneProps } from '../types' const meta: Meta = { - title: '@baseapp-frontend | designSystem/Dropzone/Dropzone', + title: '@baseapp-frontend | designSystem/Dropzones/Dropzone', component: Dropzone, } diff --git a/packages/design-system/components/Dropzone/index.tsx b/packages/design-system/components/web/dropzones/Dropzone/index.tsx similarity index 99% rename from packages/design-system/components/Dropzone/index.tsx rename to packages/design-system/components/web/dropzones/Dropzone/index.tsx index 0ac9be55..292c7548 100644 --- a/packages/design-system/components/Dropzone/index.tsx +++ b/packages/design-system/components/web/dropzones/Dropzone/index.tsx @@ -1,3 +1,5 @@ +'use client' + import React, { FC, useState } from 'react' import { getImageString, useNotification } from '@baseapp-frontend/utils' diff --git a/packages/design-system/components/Dropzone/styled.tsx b/packages/design-system/components/web/dropzones/Dropzone/styled.tsx similarity index 74% rename from packages/design-system/components/Dropzone/styled.tsx rename to packages/design-system/components/web/dropzones/Dropzone/styled.tsx index 003ff621..ad7c63d3 100644 --- a/packages/design-system/components/Dropzone/styled.tsx +++ b/packages/design-system/components/web/dropzones/Dropzone/styled.tsx @@ -1,8 +1,10 @@ +import { ComponentType } from 'react' + import { CancelOutlined, PortraitOutlined } from '@mui/icons-material' -import { Box } from '@mui/material' +import { Box, BoxProps } from '@mui/material' import { alpha, styled } from '@mui/material/styles' -import { InputContainerProps } from './types' +import { DropzoneTextProps, InputContainerProps } from './types' const getColor = ({ theme, isDragAccept, isDragReject, isFocused }: InputContainerProps) => { if (isDragAccept) { @@ -19,21 +21,21 @@ const getColor = ({ theme, isDragAccept, isDragReject, isFocused }: InputContain export const PortraitOutlinedIcon = styled(PortraitOutlined)(({ theme }) => ({ color: theme.palette.grey[600], -})) +})) as ComponentType export const CancelIcon = styled(CancelOutlined)(({ theme }) => ({ color: theme.palette.error.main, -})) +})) as ComponentType -export const DropzoneText = styled('span', { - shouldForwardProp: (props) => props !== 'hasError', -})(({ theme }) => ({ +export const DropzoneText: ComponentType = styled('span', { + shouldForwardProp: (prop) => prop !== 'hasError', +})(({ theme }) => ({ color: theme.palette.primary.main, textAlign: 'center', width: '100%', })) -export const InputContainer = styled('div', { +export const InputContainer: ComponentType = styled('div', { shouldForwardProp: (prop) => prop !== 'isDragAccept' && prop !== 'isDragReject' && prop !== 'isFocused', })(({ theme, isDragAccept, isDragReject, isFocused }) => ({ @@ -57,7 +59,7 @@ export const InputContainer = styled('div', { }, })) -export const ButtonContainer = styled(Box)(({ theme }) => ({ +export const ButtonContainer: ComponentType = styled(Box)(({ theme }) => ({ display: 'flex', flexDirection: 'column', justifySelf: 'center', diff --git a/packages/design-system/components/Dropzone/types.ts b/packages/design-system/components/web/dropzones/Dropzone/types.ts similarity index 76% rename from packages/design-system/components/Dropzone/types.ts rename to packages/design-system/components/web/dropzones/Dropzone/types.ts index 0b731d5c..eba1d03c 100644 --- a/packages/design-system/components/Dropzone/types.ts +++ b/packages/design-system/components/web/dropzones/Dropzone/types.ts @@ -1,4 +1,4 @@ -import { InputHTMLAttributes } from 'react' +import { HTMLAttributes, InputHTMLAttributes } from 'react' import { Theme } from '@mui/material/styles' import type { Accept, DropzoneOptions } from 'react-dropzone' @@ -10,6 +10,10 @@ export interface InputContainerProps { isFocused: boolean } +export interface DropzoneTextProps extends HTMLAttributes { + hasError?: boolean +} + export interface DropzoneProps { accept: Accept storedImg?: string diff --git a/packages/design-system/components/web/dropzones/index.ts b/packages/design-system/components/web/dropzones/index.ts new file mode 100644 index 00000000..f4348083 --- /dev/null +++ b/packages/design-system/components/web/dropzones/index.ts @@ -0,0 +1,4 @@ +'use client' + +export { default as Dropzone } from './Dropzone' +export type * from './Dropzone/types' diff --git a/packages/design-system/components/icons/AddIcon/index.tsx b/packages/design-system/components/web/icons/AddIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/AddIcon/index.tsx rename to packages/design-system/components/web/icons/AddIcon/index.tsx diff --git a/packages/design-system/components/icons/ArchiveIcon/index.tsx b/packages/design-system/components/web/icons/ArchiveIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/ArchiveIcon/index.tsx rename to packages/design-system/components/web/icons/ArchiveIcon/index.tsx diff --git a/packages/design-system/components/icons/AttachmentIcon/index.tsx b/packages/design-system/components/web/icons/AttachmentIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/AttachmentIcon/index.tsx rename to packages/design-system/components/web/icons/AttachmentIcon/index.tsx diff --git a/packages/design-system/components/icons/AvatarUploadFallbackIcon/index.tsx b/packages/design-system/components/web/icons/AvatarUploadFallbackIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/AvatarUploadFallbackIcon/index.tsx rename to packages/design-system/components/web/icons/AvatarUploadFallbackIcon/index.tsx diff --git a/packages/design-system/components/icons/BaseAppLogoCondensed/index.tsx b/packages/design-system/components/web/icons/BaseAppLogoCondensed/index.tsx similarity index 100% rename from packages/design-system/components/icons/BaseAppLogoCondensed/index.tsx rename to packages/design-system/components/web/icons/BaseAppLogoCondensed/index.tsx diff --git a/packages/design-system/components/icons/BlockIcon/index.tsx b/packages/design-system/components/web/icons/BlockIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/BlockIcon/index.tsx rename to packages/design-system/components/web/icons/BlockIcon/index.tsx diff --git a/packages/design-system/components/icons/CheckMarkIcon/index.tsx b/packages/design-system/components/web/icons/CheckMarkIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/CheckMarkIcon/index.tsx rename to packages/design-system/components/web/icons/CheckMarkIcon/index.tsx diff --git a/packages/design-system/components/icons/ChevronIcon/constants.ts b/packages/design-system/components/web/icons/ChevronIcon/constants.ts similarity index 100% rename from packages/design-system/components/icons/ChevronIcon/constants.ts rename to packages/design-system/components/web/icons/ChevronIcon/constants.ts diff --git a/packages/design-system/components/icons/ChevronIcon/index.tsx b/packages/design-system/components/web/icons/ChevronIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/ChevronIcon/index.tsx rename to packages/design-system/components/web/icons/ChevronIcon/index.tsx diff --git a/packages/design-system/components/icons/ChevronIcon/types.ts b/packages/design-system/components/web/icons/ChevronIcon/types.ts similarity index 100% rename from packages/design-system/components/icons/ChevronIcon/types.ts rename to packages/design-system/components/web/icons/ChevronIcon/types.ts diff --git a/packages/design-system/components/icons/CloseIcon/index.tsx b/packages/design-system/components/web/icons/CloseIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/CloseIcon/index.tsx rename to packages/design-system/components/web/icons/CloseIcon/index.tsx diff --git a/packages/design-system/components/icons/CommentReplyIcon/index.tsx b/packages/design-system/components/web/icons/CommentReplyIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/CommentReplyIcon/index.tsx rename to packages/design-system/components/web/icons/CommentReplyIcon/index.tsx diff --git a/packages/design-system/components/icons/CopyIcon/index.tsx b/packages/design-system/components/web/icons/CopyIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/CopyIcon/index.tsx rename to packages/design-system/components/web/icons/CopyIcon/index.tsx diff --git a/packages/design-system/components/icons/DownloadIcon/index.tsx b/packages/design-system/components/web/icons/DownloadIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/DownloadIcon/index.tsx rename to packages/design-system/components/web/icons/DownloadIcon/index.tsx diff --git a/packages/design-system/components/icons/FavoriteIcon/index.tsx b/packages/design-system/components/web/icons/FavoriteIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/FavoriteIcon/index.tsx rename to packages/design-system/components/web/icons/FavoriteIcon/index.tsx diff --git a/packages/design-system/components/icons/FavoriteSelectedIcon/index.tsx b/packages/design-system/components/web/icons/FavoriteSelectedIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/FavoriteSelectedIcon/index.tsx rename to packages/design-system/components/web/icons/FavoriteSelectedIcon/index.tsx diff --git a/packages/design-system/components/icons/LinkIcon/index.tsx b/packages/design-system/components/web/icons/LinkIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/LinkIcon/index.tsx rename to packages/design-system/components/web/icons/LinkIcon/index.tsx diff --git a/packages/design-system/components/icons/MentionIcon/index.tsx b/packages/design-system/components/web/icons/MentionIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/MentionIcon/index.tsx rename to packages/design-system/components/web/icons/MentionIcon/index.tsx diff --git a/packages/design-system/components/icons/MenuIcon/index.tsx b/packages/design-system/components/web/icons/MenuIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/MenuIcon/index.tsx rename to packages/design-system/components/web/icons/MenuIcon/index.tsx diff --git a/packages/design-system/components/icons/NotificationBellIcon/index.tsx b/packages/design-system/components/web/icons/NotificationBellIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/NotificationBellIcon/index.tsx rename to packages/design-system/components/web/icons/NotificationBellIcon/index.tsx diff --git a/packages/design-system/components/icons/OutlinedEditIcon/index.tsx b/packages/design-system/components/web/icons/OutlinedEditIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/OutlinedEditIcon/index.tsx rename to packages/design-system/components/web/icons/OutlinedEditIcon/index.tsx diff --git a/packages/design-system/components/icons/PenEditIcon/index.tsx b/packages/design-system/components/web/icons/PenEditIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/PenEditIcon/index.tsx rename to packages/design-system/components/web/icons/PenEditIcon/index.tsx diff --git a/packages/design-system/components/icons/PinIcon/index.tsx b/packages/design-system/components/web/icons/PinIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/PinIcon/index.tsx rename to packages/design-system/components/web/icons/PinIcon/index.tsx diff --git a/packages/design-system/components/icons/README.md b/packages/design-system/components/web/icons/README.md similarity index 100% rename from packages/design-system/components/icons/README.md rename to packages/design-system/components/web/icons/README.md diff --git a/packages/design-system/components/icons/SendMessageIcon/index.tsx b/packages/design-system/components/web/icons/SendMessageIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/SendMessageIcon/index.tsx rename to packages/design-system/components/web/icons/SendMessageIcon/index.tsx diff --git a/packages/design-system/components/icons/ShareIcon/index.tsx b/packages/design-system/components/web/icons/ShareIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/ShareIcon/index.tsx rename to packages/design-system/components/web/icons/ShareIcon/index.tsx diff --git a/packages/design-system/components/icons/ThreeDotsIcon/index.tsx b/packages/design-system/components/web/icons/ThreeDotsIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/ThreeDotsIcon/index.tsx rename to packages/design-system/components/web/icons/ThreeDotsIcon/index.tsx diff --git a/packages/design-system/components/icons/TrashCanIcon/index.tsx b/packages/design-system/components/web/icons/TrashCanIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/TrashCanIcon/index.tsx rename to packages/design-system/components/web/icons/TrashCanIcon/index.tsx diff --git a/packages/design-system/components/icons/UnarchiveIcon/index.tsx b/packages/design-system/components/web/icons/UnarchiveIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/UnarchiveIcon/index.tsx rename to packages/design-system/components/web/icons/UnarchiveIcon/index.tsx diff --git a/packages/design-system/components/icons/UnblockIcon/index.tsx b/packages/design-system/components/web/icons/UnblockIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/UnblockIcon/index.tsx rename to packages/design-system/components/web/icons/UnblockIcon/index.tsx diff --git a/packages/design-system/components/icons/UnreadIcon/index.tsx b/packages/design-system/components/web/icons/UnreadIcon/index.tsx similarity index 100% rename from packages/design-system/components/icons/UnreadIcon/index.tsx rename to packages/design-system/components/web/icons/UnreadIcon/index.tsx diff --git a/packages/design-system/components/icons/__storybook__/Iconography.mdx b/packages/design-system/components/web/icons/__storybook__/Iconography.mdx similarity index 100% rename from packages/design-system/components/icons/__storybook__/Iconography.mdx rename to packages/design-system/components/web/icons/__storybook__/Iconography.mdx diff --git a/packages/design-system/components/icons/index.ts b/packages/design-system/components/web/icons/index.ts similarity index 99% rename from packages/design-system/components/icons/index.ts rename to packages/design-system/components/web/icons/index.ts index e4eb91a2..797df81a 100644 --- a/packages/design-system/components/icons/index.ts +++ b/packages/design-system/components/web/icons/index.ts @@ -1,3 +1,5 @@ +'use client' + export { default as AddIcon } from './AddIcon' export { default as ArchiveIcon } from './ArchiveIcon' export { default as AttachmentIcon } from './AttachmentIcon' diff --git a/packages/design-system/components/illustrations/ABTestingImage/index.tsx b/packages/design-system/components/web/illustrations/ABTestingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ABTestingImage/index.tsx rename to packages/design-system/components/web/illustrations/ABTestingImage/index.tsx diff --git a/packages/design-system/components/illustrations/AboutUsImage/index.tsx b/packages/design-system/components/web/illustrations/AboutUsImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/AboutUsImage/index.tsx rename to packages/design-system/components/web/illustrations/AboutUsImage/index.tsx diff --git a/packages/design-system/components/illustrations/AddProductsToCartImage/index.tsx b/packages/design-system/components/web/illustrations/AddProductsToCartImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/AddProductsToCartImage/index.tsx rename to packages/design-system/components/web/illustrations/AddProductsToCartImage/index.tsx diff --git a/packages/design-system/components/illustrations/BeingCreativeImage/index.tsx b/packages/design-system/components/web/illustrations/BeingCreativeImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/BeingCreativeImage/index.tsx rename to packages/design-system/components/web/illustrations/BeingCreativeImage/index.tsx diff --git a/packages/design-system/components/illustrations/BringSolutionsImage/index.tsx b/packages/design-system/components/web/illustrations/BringSolutionsImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/BringSolutionsImage/index.tsx rename to packages/design-system/components/web/illustrations/BringSolutionsImage/index.tsx diff --git a/packages/design-system/components/illustrations/BusinessDealImage/index.tsx b/packages/design-system/components/web/illustrations/BusinessDealImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/BusinessDealImage/index.tsx rename to packages/design-system/components/web/illustrations/BusinessDealImage/index.tsx diff --git a/packages/design-system/components/illustrations/ChartsImage/index.tsx b/packages/design-system/components/web/illustrations/ChartsImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ChartsImage/index.tsx rename to packages/design-system/components/web/illustrations/ChartsImage/index.tsx diff --git a/packages/design-system/components/illustrations/ClickbaitImage/index.tsx b/packages/design-system/components/web/illustrations/ClickbaitImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ClickbaitImage/index.tsx rename to packages/design-system/components/web/illustrations/ClickbaitImage/index.tsx diff --git a/packages/design-system/components/illustrations/CodingImage/index.tsx b/packages/design-system/components/web/illustrations/CodingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/CodingImage/index.tsx rename to packages/design-system/components/web/illustrations/CodingImage/index.tsx diff --git a/packages/design-system/components/illustrations/ComingSoonImage/index.tsx b/packages/design-system/components/web/illustrations/ComingSoonImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ComingSoonImage/index.tsx rename to packages/design-system/components/web/illustrations/ComingSoonImage/index.tsx diff --git a/packages/design-system/components/illustrations/DesignThinkingImage/index.tsx b/packages/design-system/components/web/illustrations/DesignThinkingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/DesignThinkingImage/index.tsx rename to packages/design-system/components/web/illustrations/DesignThinkingImage/index.tsx diff --git a/packages/design-system/components/illustrations/DigitalAdsPerformanceImage/index.tsx b/packages/design-system/components/web/illustrations/DigitalAdsPerformanceImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/DigitalAdsPerformanceImage/index.tsx rename to packages/design-system/components/web/illustrations/DigitalAdsPerformanceImage/index.tsx diff --git a/packages/design-system/components/illustrations/DownloadingImage/index.tsx b/packages/design-system/components/web/illustrations/DownloadingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/DownloadingImage/index.tsx rename to packages/design-system/components/web/illustrations/DownloadingImage/index.tsx diff --git a/packages/design-system/components/illustrations/DrawingWIthTabletImage/index.tsx b/packages/design-system/components/web/illustrations/DrawingWIthTabletImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/DrawingWIthTabletImage/index.tsx rename to packages/design-system/components/web/illustrations/DrawingWIthTabletImage/index.tsx diff --git a/packages/design-system/components/illustrations/FixingBugsImage/index.tsx b/packages/design-system/components/web/illustrations/FixingBugsImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/FixingBugsImage/index.tsx rename to packages/design-system/components/web/illustrations/FixingBugsImage/index.tsx diff --git a/packages/design-system/components/illustrations/GetInspiredImage/index.tsx b/packages/design-system/components/web/illustrations/GetInspiredImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/GetInspiredImage/index.tsx rename to packages/design-system/components/web/illustrations/GetInspiredImage/index.tsx diff --git a/packages/design-system/components/illustrations/GiftingOnlineImage/index.tsx b/packages/design-system/components/web/illustrations/GiftingOnlineImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/GiftingOnlineImage/index.tsx rename to packages/design-system/components/web/illustrations/GiftingOnlineImage/index.tsx diff --git a/packages/design-system/components/illustrations/InterfaceTestingImage/index.tsx b/packages/design-system/components/web/illustrations/InterfaceTestingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/InterfaceTestingImage/index.tsx rename to packages/design-system/components/web/illustrations/InterfaceTestingImage/index.tsx diff --git a/packages/design-system/components/illustrations/InvestingTestingImage/index.tsx b/packages/design-system/components/web/illustrations/InvestingTestingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/InvestingTestingImage/index.tsx rename to packages/design-system/components/web/illustrations/InvestingTestingImage/index.tsx diff --git a/packages/design-system/components/illustrations/ListeningFeedbackImage/index.tsx b/packages/design-system/components/web/illustrations/ListeningFeedbackImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ListeningFeedbackImage/index.tsx rename to packages/design-system/components/web/illustrations/ListeningFeedbackImage/index.tsx diff --git a/packages/design-system/components/illustrations/LoadingImage/index.tsx b/packages/design-system/components/web/illustrations/LoadingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/LoadingImage/index.tsx rename to packages/design-system/components/web/illustrations/LoadingImage/index.tsx diff --git a/packages/design-system/components/illustrations/MarketingTargetImage/index.tsx b/packages/design-system/components/web/illustrations/MarketingTargetImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/MarketingTargetImage/index.tsx rename to packages/design-system/components/web/illustrations/MarketingTargetImage/index.tsx diff --git a/packages/design-system/components/illustrations/ModularCodingApplicationImage/index.tsx b/packages/design-system/components/web/illustrations/ModularCodingApplicationImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ModularCodingApplicationImage/index.tsx rename to packages/design-system/components/web/illustrations/ModularCodingApplicationImage/index.tsx diff --git a/packages/design-system/components/illustrations/NewsletterImage/index.tsx b/packages/design-system/components/web/illustrations/NewsletterImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/NewsletterImage/index.tsx rename to packages/design-system/components/web/illustrations/NewsletterImage/index.tsx diff --git a/packages/design-system/components/illustrations/OfficeDeskImage/index.tsx b/packages/design-system/components/web/illustrations/OfficeDeskImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/OfficeDeskImage/index.tsx rename to packages/design-system/components/web/illustrations/OfficeDeskImage/index.tsx diff --git a/packages/design-system/components/illustrations/OverworkedEmployee/index.tsx b/packages/design-system/components/web/illustrations/OverworkedEmployee/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/OverworkedEmployee/index.tsx rename to packages/design-system/components/web/illustrations/OverworkedEmployee/index.tsx diff --git a/packages/design-system/components/illustrations/PageUnderConstructionImage/index.tsx b/packages/design-system/components/web/illustrations/PageUnderConstructionImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/PageUnderConstructionImage/index.tsx rename to packages/design-system/components/web/illustrations/PageUnderConstructionImage/index.tsx diff --git a/packages/design-system/components/illustrations/PaymentWithCardImage/index.tsx b/packages/design-system/components/web/illustrations/PaymentWithCardImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/PaymentWithCardImage/index.tsx rename to packages/design-system/components/web/illustrations/PaymentWithCardImage/index.tsx diff --git a/packages/design-system/components/illustrations/ProtectPrivacyImage/index.tsx b/packages/design-system/components/web/illustrations/ProtectPrivacyImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ProtectPrivacyImage/index.tsx rename to packages/design-system/components/web/illustrations/ProtectPrivacyImage/index.tsx diff --git a/packages/design-system/components/illustrations/SearchingImage/index.tsx b/packages/design-system/components/web/illustrations/SearchingImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/SearchingImage/index.tsx rename to packages/design-system/components/web/illustrations/SearchingImage/index.tsx diff --git a/packages/design-system/components/illustrations/ShareImage/index.tsx b/packages/design-system/components/web/illustrations/ShareImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/ShareImage/index.tsx rename to packages/design-system/components/web/illustrations/ShareImage/index.tsx diff --git a/packages/design-system/components/illustrations/SocialMediaDiscussionImage/index.tsx b/packages/design-system/components/web/illustrations/SocialMediaDiscussionImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/SocialMediaDiscussionImage/index.tsx rename to packages/design-system/components/web/illustrations/SocialMediaDiscussionImage/index.tsx diff --git a/packages/design-system/components/illustrations/SuccessImage/index.tsx b/packages/design-system/components/web/illustrations/SuccessImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/SuccessImage/index.tsx rename to packages/design-system/components/web/illustrations/SuccessImage/index.tsx diff --git a/packages/design-system/components/illustrations/TrophyAwardsImage/index.tsx b/packages/design-system/components/web/illustrations/TrophyAwardsImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/TrophyAwardsImage/index.tsx rename to packages/design-system/components/web/illustrations/TrophyAwardsImage/index.tsx diff --git a/packages/design-system/components/illustrations/VideoConferenceImage/index.tsx b/packages/design-system/components/web/illustrations/VideoConferenceImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/VideoConferenceImage/index.tsx rename to packages/design-system/components/web/illustrations/VideoConferenceImage/index.tsx diff --git a/packages/design-system/components/illustrations/VirtualRealityImage/index.tsx b/packages/design-system/components/web/illustrations/VirtualRealityImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/VirtualRealityImage/index.tsx rename to packages/design-system/components/web/illustrations/VirtualRealityImage/index.tsx diff --git a/packages/design-system/components/illustrations/WeAreHiringImage/index.tsx b/packages/design-system/components/web/illustrations/WeAreHiringImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/WeAreHiringImage/index.tsx rename to packages/design-system/components/web/illustrations/WeAreHiringImage/index.tsx diff --git a/packages/design-system/components/illustrations/WeGotAProblemImage/index.tsx b/packages/design-system/components/web/illustrations/WeGotAProblemImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/WeGotAProblemImage/index.tsx rename to packages/design-system/components/web/illustrations/WeGotAProblemImage/index.tsx diff --git a/packages/design-system/components/illustrations/WelcomeImage/index.tsx b/packages/design-system/components/web/illustrations/WelcomeImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/WelcomeImage/index.tsx rename to packages/design-system/components/web/illustrations/WelcomeImage/index.tsx diff --git a/packages/design-system/components/illustrations/WorkFromHomeImage/index.tsx b/packages/design-system/components/web/illustrations/WorkFromHomeImage/index.tsx similarity index 100% rename from packages/design-system/components/illustrations/WorkFromHomeImage/index.tsx rename to packages/design-system/components/web/illustrations/WorkFromHomeImage/index.tsx diff --git a/packages/design-system/components/illustrations/__storybook__/Illustrations.mdx b/packages/design-system/components/web/illustrations/__storybook__/Illustrations.mdx similarity index 100% rename from packages/design-system/components/illustrations/__storybook__/Illustrations.mdx rename to packages/design-system/components/web/illustrations/__storybook__/Illustrations.mdx diff --git a/packages/design-system/components/illustrations/index.ts b/packages/design-system/components/web/illustrations/index.ts similarity index 99% rename from packages/design-system/components/illustrations/index.ts rename to packages/design-system/components/web/illustrations/index.ts index e380c55f..c8be33bd 100644 --- a/packages/design-system/components/illustrations/index.ts +++ b/packages/design-system/components/web/illustrations/index.ts @@ -1,3 +1,5 @@ +'use client' + export { default as ABTestingImage } from './ABTestingImage' export { default as AboutUsImage } from './AboutUsImage' export { default as AddProductsToCartImage } from './AddProductsToCartImage' diff --git a/packages/design-system/components/Iconify/index.tsx b/packages/design-system/components/web/images/Iconify/index.tsx similarity index 100% rename from packages/design-system/components/Iconify/index.tsx rename to packages/design-system/components/web/images/Iconify/index.tsx diff --git a/packages/design-system/components/Iconify/types.ts b/packages/design-system/components/web/images/Iconify/types.ts similarity index 100% rename from packages/design-system/components/Iconify/types.ts rename to packages/design-system/components/web/images/Iconify/types.ts diff --git a/packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx b/packages/design-system/components/web/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx similarity index 100% rename from packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx rename to packages/design-system/components/web/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx diff --git a/packages/design-system/components/images/ImageWithFallback/__storybook__/stories.tsx b/packages/design-system/components/web/images/ImageWithFallback/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/images/ImageWithFallback/__storybook__/stories.tsx rename to packages/design-system/components/web/images/ImageWithFallback/__storybook__/stories.tsx diff --git a/packages/design-system/components/images/ImageWithFallback/index.tsx b/packages/design-system/components/web/images/ImageWithFallback/index.tsx similarity index 98% rename from packages/design-system/components/images/ImageWithFallback/index.tsx rename to packages/design-system/components/web/images/ImageWithFallback/index.tsx index 5c69830b..31aae9a6 100644 --- a/packages/design-system/components/images/ImageWithFallback/index.tsx +++ b/packages/design-system/components/web/images/ImageWithFallback/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { FC } from 'react' import Image from 'next/image' diff --git a/packages/design-system/components/images/ImageWithFallback/types.ts b/packages/design-system/components/web/images/ImageWithFallback/types.ts similarity index 100% rename from packages/design-system/components/images/ImageWithFallback/types.ts rename to packages/design-system/components/web/images/ImageWithFallback/types.ts diff --git a/packages/design-system/components/web/images/index.ts b/packages/design-system/components/web/images/index.ts new file mode 100644 index 00000000..dac3b1cf --- /dev/null +++ b/packages/design-system/components/web/images/index.ts @@ -0,0 +1,6 @@ +'use client' + +export { default as Iconify } from './Iconify' +export type * from './Iconify/types' +export { default as ImageWithFallback } from './ImageWithFallback' +export type * from './ImageWithFallback/types' diff --git a/packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx b/packages/design-system/components/web/inputs/Searchbar/__storybook__/Searchbar.mdx similarity index 100% rename from packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx rename to packages/design-system/components/web/inputs/Searchbar/__storybook__/Searchbar.mdx diff --git a/packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx b/packages/design-system/components/web/inputs/Searchbar/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx rename to packages/design-system/components/web/inputs/Searchbar/__storybook__/stories.tsx diff --git a/packages/design-system/components/web/inputs/Searchbar/index.tsx b/packages/design-system/components/web/inputs/Searchbar/index.tsx new file mode 100644 index 00000000..01dde963 --- /dev/null +++ b/packages/design-system/components/web/inputs/Searchbar/index.tsx @@ -0,0 +1,82 @@ +'use client' + +import { FC } from 'react' + +import { withController } from '@baseapp-frontend/utils' + +import { CircularProgress, InputAdornment } from '@mui/material' +import { Box } from '@mui/system' + +import IconButton from '../../buttons/IconButton' +import Iconify from '../../images/Iconify' +import { PureTextField } from '../TextField' +import { SearchbarProps } from './types' + +const Searchbar: FC = ({ + onClear, + onChange, + isPending, + sx, + InputProps, + variant = 'filled', + ...props +}) => ( + + {isPending ? ( + + + + ) : ( + + )} + + ), + endAdornment: ( + + {onClear && props.value ? ( + + + + ) : ( +
+ )} + + ), + sx: { + '& .MuiFilledInput-input': { + height: '17px', + paddingTop: '14px', + paddingBottom: '14px', + paddingRight: '14px', + maxHeight: '17px', + }, + '& .MuiInputAdornment-positionStart': { + marginTop: '0 !important', + }, + }, + ...InputProps, + }} + {...props} + /> +) + +export default withController(Searchbar, { shouldDebounce: true }) diff --git a/packages/design-system/components/inputs/Searchbar/types.ts b/packages/design-system/components/web/inputs/Searchbar/types.ts similarity index 100% rename from packages/design-system/components/inputs/Searchbar/types.ts rename to packages/design-system/components/web/inputs/Searchbar/types.ts diff --git a/packages/design-system/components/inputs/SocialTextField/__storybook__/SocialTextField.mdx b/packages/design-system/components/web/inputs/SocialTextField/__storybook__/SocialTextField.mdx similarity index 99% rename from packages/design-system/components/inputs/SocialTextField/__storybook__/SocialTextField.mdx rename to packages/design-system/components/web/inputs/SocialTextField/__storybook__/SocialTextField.mdx index 0157b19a..bc145d60 100644 --- a/packages/design-system/components/inputs/SocialTextField/__storybook__/SocialTextField.mdx +++ b/packages/design-system/components/web/inputs/SocialTextField/__storybook__/SocialTextField.mdx @@ -39,7 +39,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { SocialTextField } from '@baseapp-frontend/design-system' +import { SocialTextField } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [value, setValue] = useState < string > '' diff --git a/packages/design-system/components/inputs/SocialTextField/__storybook__/stories.tsx b/packages/design-system/components/web/inputs/SocialTextField/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/inputs/SocialTextField/__storybook__/stories.tsx rename to packages/design-system/components/web/inputs/SocialTextField/__storybook__/stories.tsx diff --git a/packages/design-system/components/inputs/SocialTextField/index.tsx b/packages/design-system/components/web/inputs/SocialTextField/index.tsx similarity index 86% rename from packages/design-system/components/inputs/SocialTextField/index.tsx rename to packages/design-system/components/web/inputs/SocialTextField/index.tsx index 4667d4e0..53d2af2e 100644 --- a/packages/design-system/components/inputs/SocialTextField/index.tsx +++ b/packages/design-system/components/web/inputs/SocialTextField/index.tsx @@ -4,9 +4,10 @@ import { FC } from 'react' import { Typography } from '@mui/material' -import { IconButton } from '../../buttons' -import { CloseIcon, CommentReplyIcon } from '../../icons' -import { TypographyWithEllipsis } from '../../typographies' +import IconButton from '../../buttons/IconButton' +import CloseIcon from '../../icons/CloseIcon' +import CommentReplyIcon from '../../icons/CommentReplyIcon' +import TypographyWithEllipsis from '../../typographies/TypographyWithEllipsis' import TextareaField from '../TextareaField' import { Container, OutsideReplyContainer, ReplyContainer } from './styled' import { SocialTextFieldProps } from './types' diff --git a/packages/design-system/components/inputs/SocialTextField/styled.tsx b/packages/design-system/components/web/inputs/SocialTextField/styled.tsx similarity index 61% rename from packages/design-system/components/inputs/SocialTextField/styled.tsx rename to packages/design-system/components/web/inputs/SocialTextField/styled.tsx index f64fbe85..9d572ad6 100644 --- a/packages/design-system/components/inputs/SocialTextField/styled.tsx +++ b/packages/design-system/components/web/inputs/SocialTextField/styled.tsx @@ -1,7 +1,9 @@ -import { Box } from '@mui/material' +import { ComponentType } from 'react' + +import { Box, BoxProps } from '@mui/material' import { styled } from '@mui/material/styles' -export const Container = styled(Box)(({ theme }) => ({ +export const Container: ComponentType = styled(Box)(({ theme }) => ({ display: 'grid', borderRadius: 8, border: `1px solid ${theme.palette.grey[200]}`, @@ -12,7 +14,7 @@ export const Container = styled(Box)(({ theme }) => ({ }, })) -export const OutsideReplyContainer = styled(Box)(({ theme }) => ({ +export const OutsideReplyContainer: ComponentType = styled(Box)(({ theme }) => ({ alignItems: 'center', backgroundColor: 'transparent', display: 'flex', @@ -20,7 +22,7 @@ export const OutsideReplyContainer = styled(Box)(({ theme }) => ({ padding: theme.spacing(1.5, 1.5, 0, 1.5), })) -export const ReplyContainer = styled(Box)(({ theme }) => ({ +export const ReplyContainer: ComponentType = styled(Box)(({ theme }) => ({ borderRadius: 6, display: 'grid', gap: theme.spacing(0.5), diff --git a/packages/design-system/components/inputs/SocialTextField/types.ts b/packages/design-system/components/web/inputs/SocialTextField/types.ts similarity index 100% rename from packages/design-system/components/inputs/SocialTextField/types.ts rename to packages/design-system/components/web/inputs/SocialTextField/types.ts diff --git a/packages/design-system/components/inputs/TextField/__storybook__/TextField.mdx b/packages/design-system/components/web/inputs/TextField/__storybook__/TextField.mdx similarity index 96% rename from packages/design-system/components/inputs/TextField/__storybook__/TextField.mdx rename to packages/design-system/components/web/inputs/TextField/__storybook__/TextField.mdx index e522646a..3ef2486f 100644 --- a/packages/design-system/components/inputs/TextField/__storybook__/TextField.mdx +++ b/packages/design-system/components/web/inputs/TextField/__storybook__/TextField.mdx @@ -45,7 +45,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { TextField } from '@baseapp-frontend/design-system' +import { TextField } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [value, setValue] = useState < string > '' diff --git a/packages/design-system/components/inputs/TextField/__storybook__/stories.tsx b/packages/design-system/components/web/inputs/TextField/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/inputs/TextField/__storybook__/stories.tsx rename to packages/design-system/components/web/inputs/TextField/__storybook__/stories.tsx diff --git a/packages/design-system/components/inputs/TextField/index.tsx b/packages/design-system/components/web/inputs/TextField/index.tsx similarity index 100% rename from packages/design-system/components/inputs/TextField/index.tsx rename to packages/design-system/components/web/inputs/TextField/index.tsx diff --git a/packages/design-system/components/inputs/TextField/types.ts b/packages/design-system/components/web/inputs/TextField/types.ts similarity index 100% rename from packages/design-system/components/inputs/TextField/types.ts rename to packages/design-system/components/web/inputs/TextField/types.ts diff --git a/packages/design-system/components/inputs/TextareaField/__storybook__/TextareaField.mdx b/packages/design-system/components/web/inputs/TextareaField/__storybook__/TextareaField.mdx similarity index 95% rename from packages/design-system/components/inputs/TextareaField/__storybook__/TextareaField.mdx rename to packages/design-system/components/web/inputs/TextareaField/__storybook__/TextareaField.mdx index cb9b0165..37104412 100644 --- a/packages/design-system/components/inputs/TextareaField/__storybook__/TextareaField.mdx +++ b/packages/design-system/components/web/inputs/TextareaField/__storybook__/TextareaField.mdx @@ -37,7 +37,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { TextareaField } from '@baseapp-frontend/design-system' +import { TextareaField } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [value, setValue] = useState < string > '' diff --git a/packages/design-system/components/inputs/TextareaField/__storybook__/stories.tsx b/packages/design-system/components/web/inputs/TextareaField/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/inputs/TextareaField/__storybook__/stories.tsx rename to packages/design-system/components/web/inputs/TextareaField/__storybook__/stories.tsx diff --git a/packages/design-system/components/inputs/TextareaField/index.tsx b/packages/design-system/components/web/inputs/TextareaField/index.tsx similarity index 95% rename from packages/design-system/components/inputs/TextareaField/index.tsx rename to packages/design-system/components/web/inputs/TextareaField/index.tsx index 48559032..25ca4e46 100644 --- a/packages/design-system/components/inputs/TextareaField/index.tsx +++ b/packages/design-system/components/web/inputs/TextareaField/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { FC } from 'react' import { withController } from '@baseapp-frontend/utils' diff --git a/packages/design-system/components/inputs/TextareaField/styled.tsx b/packages/design-system/components/web/inputs/TextareaField/styled.tsx similarity index 79% rename from packages/design-system/components/inputs/TextareaField/styled.tsx rename to packages/design-system/components/web/inputs/TextareaField/styled.tsx index 6199dbd6..3a19f7b2 100644 --- a/packages/design-system/components/inputs/TextareaField/styled.tsx +++ b/packages/design-system/components/web/inputs/TextareaField/styled.tsx @@ -1,9 +1,13 @@ +import { ComponentType } from 'react' + import { styled } from '@mui/material/styles' import { PureTextField } from '../TextField' import { TextareaFieldProps } from './types' -export const Textarea = styled(PureTextField)(({ theme, hideBorder }) => ({ +export const Textarea: ComponentType = styled( + PureTextField, +)(({ theme, hideBorder }) => ({ '& .MuiInputBase-root': { padding: 0, }, diff --git a/packages/design-system/components/inputs/TextareaField/types.ts b/packages/design-system/components/web/inputs/TextareaField/types.ts similarity index 100% rename from packages/design-system/components/inputs/TextareaField/types.ts rename to packages/design-system/components/web/inputs/TextareaField/types.ts diff --git a/packages/design-system/components/inputs/index.ts b/packages/design-system/components/web/inputs/index.ts similarity index 96% rename from packages/design-system/components/inputs/index.ts rename to packages/design-system/components/web/inputs/index.ts index 0992a866..d45d9d44 100644 --- a/packages/design-system/components/inputs/index.ts +++ b/packages/design-system/components/web/inputs/index.ts @@ -1,11 +1,10 @@ +'use client' + export { default as Searchbar } from './Searchbar' export type * from './Searchbar/types' - export { default as SocialTextField } from './SocialTextField' export type * from './SocialTextField/types' - export { default as TextareaField } from './TextareaField' - export { default as TextField } from './TextField' export * from './TextField' export type * from './TextField/types' diff --git a/packages/design-system/components/CustomLogoCondensed/index.tsx b/packages/design-system/components/web/logos/CustomLogoCondensed/index.tsx similarity index 75% rename from packages/design-system/components/CustomLogoCondensed/index.tsx rename to packages/design-system/components/web/logos/CustomLogoCondensed/index.tsx index 73f3943f..f7a1b63d 100644 --- a/packages/design-system/components/CustomLogoCondensed/index.tsx +++ b/packages/design-system/components/web/logos/CustomLogoCondensed/index.tsx @@ -4,8 +4,9 @@ import { FC } from 'react' import Image from 'next/image' -import useLogoOverrides from '../../hooks/useLogoOverrides' +import { useLogoOverrides } from '../../../../hooks/web' +// TODO: move this to @baseapp-frontend/design-system/components/web/logos const CustomLogoCondensed: FC = () => { const { logos } = useLogoOverrides() if (!logos?.square) { diff --git a/packages/design-system/components/Logo/__storybook__/Logo.mdx b/packages/design-system/components/web/logos/Logo/__storybook__/Logo.mdx similarity index 84% rename from packages/design-system/components/Logo/__storybook__/Logo.mdx rename to packages/design-system/components/web/logos/Logo/__storybook__/Logo.mdx index b2bf5b96..3f62b584 100644 --- a/packages/design-system/components/Logo/__storybook__/Logo.mdx +++ b/packages/design-system/components/web/logos/Logo/__storybook__/Logo.mdx @@ -1,6 +1,6 @@ import { Meta } from '@storybook/addon-docs' - + # Component Documentation @@ -31,8 +31,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { Logo } from '@baseapp-frontend/design-system' -import { BaseAppLogoCondensed } from '@baseapp-frontend/design-system/icons' +import { Logo, BaseAppLogoCondensed } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( diff --git a/packages/design-system/components/Logo/__storybook__/stories.tsx b/packages/design-system/components/web/logos/Logo/__storybook__/stories.tsx similarity index 80% rename from packages/design-system/components/Logo/__storybook__/stories.tsx rename to packages/design-system/components/web/logos/Logo/__storybook__/stories.tsx index ecfb4758..29c3263a 100644 --- a/packages/design-system/components/Logo/__storybook__/stories.tsx +++ b/packages/design-system/components/web/logos/Logo/__storybook__/stories.tsx @@ -3,11 +3,11 @@ import { ComponentType } from 'react' import { Meta, StoryObj } from '@storybook/react' import Logo from '..' -import { BaseAppLogoCondensed } from '../../icons' +import BaseAppLogoCondensed from '../../../icons/BaseAppLogoCondensed' import { LogoProps } from '../types' const meta: Meta = { - title: '@baseapp-frontend | designSystem/General/Logo', + title: '@baseapp-frontend | designSystem/Popvers/Logo', component: Logo as ComponentType, } diff --git a/packages/design-system/components/Logo/index.tsx b/packages/design-system/components/web/logos/Logo/index.tsx similarity index 90% rename from packages/design-system/components/Logo/index.tsx rename to packages/design-system/components/web/logos/Logo/index.tsx index 2a98465c..12ce958c 100644 --- a/packages/design-system/components/Logo/index.tsx +++ b/packages/design-system/components/web/logos/Logo/index.tsx @@ -6,6 +6,7 @@ import { Box, Link } from '@mui/material' import { LogoProps } from './types' +// TODO: move this to @baseapp-frontend/design-system/components/web/logos const Logo = forwardRef( ({ children, disabledLink = false, sx, ...other }, ref) => { const logo = ( diff --git a/packages/design-system/components/Logo/types.ts b/packages/design-system/components/web/logos/Logo/types.ts similarity index 100% rename from packages/design-system/components/Logo/types.ts rename to packages/design-system/components/web/logos/Logo/types.ts diff --git a/packages/design-system/components/ProjectLogo/index.tsx b/packages/design-system/components/web/logos/ProjectLogo/index.tsx similarity index 81% rename from packages/design-system/components/ProjectLogo/index.tsx rename to packages/design-system/components/web/logos/ProjectLogo/index.tsx index 45dc3155..ea385555 100644 --- a/packages/design-system/components/ProjectLogo/index.tsx +++ b/packages/design-system/components/web/logos/ProjectLogo/index.tsx @@ -6,9 +6,10 @@ import { useSSR } from '@baseapp-frontend/utils' import Image from 'next/image' -import useLogoOverrides from '../../hooks/useLogoOverrides' +import { useLogoOverrides } from '../../../../hooks/web' import { ProjectLogoProps } from './types' +// TODO: move this to @baseapp-frontend/design-system/components/web/logos const ProjectLogo: FC = ({ src, alt, width, height, priority, className }) => { const { logos } = useLogoOverrides() const { isSSR } = useSSR() diff --git a/packages/design-system/components/ProjectLogo/types.ts b/packages/design-system/components/web/logos/ProjectLogo/types.ts similarity index 100% rename from packages/design-system/components/ProjectLogo/types.ts rename to packages/design-system/components/web/logos/ProjectLogo/types.ts diff --git a/packages/design-system/components/web/logos/index.ts b/packages/design-system/components/web/logos/index.ts new file mode 100644 index 00000000..e033eb0f --- /dev/null +++ b/packages/design-system/components/web/logos/index.ts @@ -0,0 +1,8 @@ +'use client' + +// TODO: move this to @baseapp-frontend/design-system/components/web/logos +export { default as ProjectLogo } from './ProjectLogo' +export type * from './ProjectLogo/types' +export { default as CustomLogoCondensed } from './CustomLogoCondensed' +export { default as Logo } from './Logo' +export type * from './Logo/types' diff --git a/packages/design-system/components/Popover/__storybook__/Popover.mdx b/packages/design-system/components/web/popovers/Popover/__storybook__/Popover.mdx similarity index 92% rename from packages/design-system/components/Popover/__storybook__/Popover.mdx rename to packages/design-system/components/web/popovers/Popover/__storybook__/Popover.mdx index e11adbe8..2b1bb7eb 100644 --- a/packages/design-system/components/Popover/__storybook__/Popover.mdx +++ b/packages/design-system/components/web/popovers/Popover/__storybook__/Popover.mdx @@ -1,6 +1,6 @@ import { Meta } from '@storybook/addon-docs' - + # Component Documentation @@ -31,7 +31,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { Popover } from '@baseapp-frontend/design-system' +import { Popover } from '@baseapp-frontend/design-system/web' const MyComponent = () => { const [anchorEl, setAnchorEl] = useState(null) diff --git a/packages/design-system/components/Popover/__storybook__/stories.tsx b/packages/design-system/components/web/popovers/Popover/__storybook__/stories.tsx similarity index 97% rename from packages/design-system/components/Popover/__storybook__/stories.tsx rename to packages/design-system/components/web/popovers/Popover/__storybook__/stories.tsx index 0b2b5401..aab5d278 100644 --- a/packages/design-system/components/Popover/__storybook__/stories.tsx +++ b/packages/design-system/components/web/popovers/Popover/__storybook__/stories.tsx @@ -7,7 +7,7 @@ import Popover from '..' import { MenuPopoverProps } from '../types' const meta: Meta = { - title: '@baseapp-frontend | designSystem/Popover/Popover', + title: '@baseapp-frontend | designSystem/Popovers/Popover', component: Popover, } diff --git a/packages/design-system/components/Popover/index.tsx b/packages/design-system/components/web/popovers/Popover/index.tsx similarity index 98% rename from packages/design-system/components/Popover/index.tsx rename to packages/design-system/components/web/popovers/Popover/index.tsx index b30a6e01..0eb90b35 100644 --- a/packages/design-system/components/Popover/index.tsx +++ b/packages/design-system/components/web/popovers/Popover/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { FC } from 'react' import { menuItemClasses } from '@mui/material/MenuItem' diff --git a/packages/design-system/components/Popover/styled.tsx b/packages/design-system/components/web/popovers/Popover/styled.tsx similarity index 85% rename from packages/design-system/components/Popover/styled.tsx rename to packages/design-system/components/web/popovers/Popover/styled.tsx index 39d78eea..13717215 100644 --- a/packages/design-system/components/Popover/styled.tsx +++ b/packages/design-system/components/web/popovers/Popover/styled.tsx @@ -1,13 +1,15 @@ 'use client' +import { StyledComponent } from '@emotion/styled' import { alpha, styled } from '@mui/material/styles' -import { bgBlur } from '../../styles/material/css' -import { MenuPopoverArrowValue } from './types' +import { bgBlur } from '../../../../styles/web/material/css' +import { StyledArrowProps } from './types' -export const StyledArrow = styled('span')<{ arrow: MenuPopoverArrowValue }>(({ arrow, theme }) => { +export const StyledArrow: StyledComponent = styled('span', { + shouldForwardProp: (prop) => prop !== 'arrow', +})(({ arrow, theme }) => { const SIZE = 14 - const POSITION = -(SIZE / 2) + 0.5 const topStyle = { diff --git a/packages/design-system/components/Popover/types.ts b/packages/design-system/components/web/popovers/Popover/types.ts similarity index 87% rename from packages/design-system/components/Popover/types.ts rename to packages/design-system/components/web/popovers/Popover/types.ts index a9eb7a7d..2b45d086 100644 --- a/packages/design-system/components/Popover/types.ts +++ b/packages/design-system/components/web/popovers/Popover/types.ts @@ -19,3 +19,7 @@ export interface MenuPopoverProps extends Omit { arrow?: MenuPopoverArrowValue hiddenArrow?: boolean } + +export type StyledArrowProps = { + arrow: MenuPopoverArrowValue +} diff --git a/packages/design-system/components/Popover/utils.ts b/packages/design-system/components/web/popovers/Popover/utils.ts similarity index 100% rename from packages/design-system/components/Popover/utils.ts rename to packages/design-system/components/web/popovers/Popover/utils.ts diff --git a/packages/design-system/components/web/popovers/index.ts b/packages/design-system/components/web/popovers/index.ts new file mode 100644 index 00000000..71205948 --- /dev/null +++ b/packages/design-system/components/web/popovers/index.ts @@ -0,0 +1,4 @@ +'use client' + +export { default as Popover } from './Popover' +export type * from './Popover/types' diff --git a/packages/design-system/components/Scrollbar/__storybook__/Scrollbar.mdx b/packages/design-system/components/web/scrollbars/Scrollbar/__storybook__/Scrollbar.mdx similarity index 91% rename from packages/design-system/components/Scrollbar/__storybook__/Scrollbar.mdx rename to packages/design-system/components/web/scrollbars/Scrollbar/__storybook__/Scrollbar.mdx index 868f263c..f30381bf 100644 --- a/packages/design-system/components/Scrollbar/__storybook__/Scrollbar.mdx +++ b/packages/design-system/components/web/scrollbars/Scrollbar/__storybook__/Scrollbar.mdx @@ -1,6 +1,6 @@ import { Meta } from '@storybook/addon-docs' - + # Component Documentation @@ -34,7 +34,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { Scrollbar } from '@baseapp-frontend/design-system' +import { Scrollbar } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( diff --git a/packages/design-system/components/Scrollbar/__storybook__/stories.tsx b/packages/design-system/components/web/scrollbars/Scrollbar/__storybook__/stories.tsx similarity index 92% rename from packages/design-system/components/Scrollbar/__storybook__/stories.tsx rename to packages/design-system/components/web/scrollbars/Scrollbar/__storybook__/stories.tsx index 0c126911..f1186bae 100644 --- a/packages/design-system/components/Scrollbar/__storybook__/stories.tsx +++ b/packages/design-system/components/web/scrollbars/Scrollbar/__storybook__/stories.tsx @@ -5,7 +5,7 @@ import Scrollbar from '..' import { ScrollbarProps } from '../types' const meta: Meta = { - title: '@baseapp-frontend | designSystem/General/Scrollbar', + title: '@baseapp-frontend | designSystem/Scrollbars/Scrollbar', component: Scrollbar, } diff --git a/packages/design-system/components/Scrollbar/index.tsx b/packages/design-system/components/web/scrollbars/Scrollbar/index.tsx similarity index 100% rename from packages/design-system/components/Scrollbar/index.tsx rename to packages/design-system/components/web/scrollbars/Scrollbar/index.tsx diff --git a/packages/design-system/components/Scrollbar/styled.ts b/packages/design-system/components/web/scrollbars/Scrollbar/styled.ts similarity index 70% rename from packages/design-system/components/Scrollbar/styled.ts rename to packages/design-system/components/web/scrollbars/Scrollbar/styled.ts index f6d29129..29ee38d9 100644 --- a/packages/design-system/components/Scrollbar/styled.ts +++ b/packages/design-system/components/web/scrollbars/Scrollbar/styled.ts @@ -1,14 +1,18 @@ 'use client' +import { HTMLAttributes } from 'react' + import { StyledComponent } from '@emotion/styled' import { alpha, styled } from '@mui/material/styles' import SimpleBar from 'simplebar-react' -export const StyledRootScrollbar = styled('div')(() => ({ - flexGrow: 1, - height: 'fit-content', - overflow: 'hidden', -})) +export const StyledRootScrollbar: StyledComponent> = styled('div')( + () => ({ + flexGrow: 1, + height: 'fit-content', + overflow: 'hidden', + }), +) // @ts-ignore TODO: investigate import issue export const StyledScrollbar: StyledComponent = styled(SimpleBar)(({ theme }) => ({ diff --git a/packages/design-system/components/Scrollbar/types.ts b/packages/design-system/components/web/scrollbars/Scrollbar/types.ts similarity index 100% rename from packages/design-system/components/Scrollbar/types.ts rename to packages/design-system/components/web/scrollbars/Scrollbar/types.ts diff --git a/packages/design-system/components/web/scrollbars/index.ts b/packages/design-system/components/web/scrollbars/index.ts new file mode 100644 index 00000000..1c56c7ba --- /dev/null +++ b/packages/design-system/components/web/scrollbars/index.ts @@ -0,0 +1,4 @@ +'use client' + +export { default as Scrollbar } from './Scrollbar' +export type * from './Scrollbar/types' diff --git a/packages/design-system/components/typographies/TypographyWithEllipsis/__storybook__/TypographyWithEllipsis.mdx b/packages/design-system/components/web/typographies/TypographyWithEllipsis/__storybook__/TypographyWithEllipsis.mdx similarity index 99% rename from packages/design-system/components/typographies/TypographyWithEllipsis/__storybook__/TypographyWithEllipsis.mdx rename to packages/design-system/components/web/typographies/TypographyWithEllipsis/__storybook__/TypographyWithEllipsis.mdx index f44350d5..44916b45 100644 --- a/packages/design-system/components/typographies/TypographyWithEllipsis/__storybook__/TypographyWithEllipsis.mdx +++ b/packages/design-system/components/web/typographies/TypographyWithEllipsis/__storybook__/TypographyWithEllipsis.mdx @@ -32,7 +32,7 @@ import { Meta } from '@storybook/addon-docs' ## Example Usage ```javascript -import { TypographyWithEllipsis } from '@baseapp-frontend/design-system' +import { TypographyWithEllipsis } from '@baseapp-frontend/design-system/web' const MyComponent = () => { return ( diff --git a/packages/design-system/components/typographies/TypographyWithEllipsis/__storybook__/stories.tsx b/packages/design-system/components/web/typographies/TypographyWithEllipsis/__storybook__/stories.tsx similarity index 100% rename from packages/design-system/components/typographies/TypographyWithEllipsis/__storybook__/stories.tsx rename to packages/design-system/components/web/typographies/TypographyWithEllipsis/__storybook__/stories.tsx diff --git a/packages/design-system/components/typographies/TypographyWithEllipsis/index.tsx b/packages/design-system/components/web/typographies/TypographyWithEllipsis/index.tsx similarity index 62% rename from packages/design-system/components/typographies/TypographyWithEllipsis/index.tsx rename to packages/design-system/components/web/typographies/TypographyWithEllipsis/index.tsx index ec727d3c..fb544bf1 100644 --- a/packages/design-system/components/typographies/TypographyWithEllipsis/index.tsx +++ b/packages/design-system/components/web/typographies/TypographyWithEllipsis/index.tsx @@ -1,11 +1,17 @@ +'use client' + +import { StyledComponent } from '@emotion/styled' import { Typography } from '@mui/material' import { styled } from '@mui/material/styles' import { TypographyWithEllipsisProps } from './types' -const TypographyWithEllipsis = styled((props) => , { - shouldForwardProp: (prop) => prop !== 'lineClamp', -})(({ lineClamp }) => ({ +const TypographyWithEllipsis: StyledComponent = styled( + (props) => , + { + shouldForwardProp: (prop) => prop !== 'lineClamp', + }, +)(({ lineClamp }) => ({ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap', diff --git a/packages/design-system/components/typographies/TypographyWithEllipsis/types.ts b/packages/design-system/components/web/typographies/TypographyWithEllipsis/types.ts similarity index 100% rename from packages/design-system/components/typographies/TypographyWithEllipsis/types.ts rename to packages/design-system/components/web/typographies/TypographyWithEllipsis/types.ts diff --git a/packages/design-system/components/typographies/index.ts b/packages/design-system/components/web/typographies/index.ts similarity index 53% rename from packages/design-system/components/typographies/index.ts rename to packages/design-system/components/web/typographies/index.ts index 046e3dce..db2da606 100644 --- a/packages/design-system/components/typographies/index.ts +++ b/packages/design-system/components/web/typographies/index.ts @@ -1 +1,4 @@ +'use client' + export { default as TypographyWithEllipsis } from './TypographyWithEllipsis' +export type * from './TypographyWithEllipsis/types' diff --git a/packages/design-system/hooks/common/index.ts b/packages/design-system/hooks/common/index.ts new file mode 100644 index 00000000..9d76921c --- /dev/null +++ b/packages/design-system/hooks/common/index.ts @@ -0,0 +1,5 @@ +'use client' + +// exports common design-system hooks + +export { default as usePopover } from './usePopover' diff --git a/packages/design-system/hooks/usePopover/index.ts b/packages/design-system/hooks/common/usePopover/index.ts similarity index 84% rename from packages/design-system/hooks/usePopover/index.ts rename to packages/design-system/hooks/common/usePopover/index.ts index 476d8f52..e979afe7 100644 --- a/packages/design-system/hooks/usePopover/index.ts +++ b/packages/design-system/hooks/common/usePopover/index.ts @@ -1,6 +1,8 @@ +'use client' + import { MouseEvent, useCallback, useState } from 'react' -export function usePopover() { +const usePopover = () => { const [open, setOpen] = useState(null) const onOpen = useCallback((event: MouseEvent) => { @@ -18,3 +20,5 @@ export function usePopover() { setOpen, } } + +export default usePopover diff --git a/packages/design-system/hooks/native/index.ts b/packages/design-system/hooks/native/index.ts new file mode 100644 index 00000000..30b3303d --- /dev/null +++ b/packages/design-system/hooks/native/index.ts @@ -0,0 +1,3 @@ +// exports native design-system hooks + +export { default as useColorMode } from './useColorMode' diff --git a/packages/design-system/hooks/native/useColorMode/index.ts b/packages/design-system/hooks/native/useColorMode/index.ts new file mode 100644 index 00000000..7e2b30f5 --- /dev/null +++ b/packages/design-system/hooks/native/useColorMode/index.ts @@ -0,0 +1,5 @@ +import { useColorScheme } from 'react-native' + +const useColorMode = () => useColorScheme() ?? 'light' + +export default useColorMode diff --git a/packages/design-system/hooks/web/index.ts b/packages/design-system/hooks/web/index.ts new file mode 100644 index 00000000..95c1ea61 --- /dev/null +++ b/packages/design-system/hooks/web/index.ts @@ -0,0 +1,9 @@ +'use client' + +// exports web design-system hooks + +export { default as useLogoOverrides } from './useLogoOverrides' +export type { LogoOverrides, LogoOverridesKeys } from './useLogoOverrides/types' + +export { default as useResponsive } from './useResponsive' +export type * from './useResponsive/types' diff --git a/packages/design-system/hooks/useLogoOverrides/constants.ts b/packages/design-system/hooks/web/useLogoOverrides/constants.ts similarity index 100% rename from packages/design-system/hooks/useLogoOverrides/constants.ts rename to packages/design-system/hooks/web/useLogoOverrides/constants.ts diff --git a/packages/design-system/hooks/useLogoOverrides/index.ts b/packages/design-system/hooks/web/useLogoOverrides/index.ts similarity index 100% rename from packages/design-system/hooks/useLogoOverrides/index.ts rename to packages/design-system/hooks/web/useLogoOverrides/index.ts diff --git a/packages/design-system/hooks/useLogoOverrides/types.ts b/packages/design-system/hooks/web/useLogoOverrides/types.ts similarity index 100% rename from packages/design-system/hooks/useLogoOverrides/types.ts rename to packages/design-system/hooks/web/useLogoOverrides/types.ts diff --git a/packages/design-system/hooks/useResponsive/index.ts b/packages/design-system/hooks/web/useResponsive/index.ts similarity index 72% rename from packages/design-system/hooks/useResponsive/index.ts rename to packages/design-system/hooks/web/useResponsive/index.ts index 0280930c..4f8f8725 100644 --- a/packages/design-system/hooks/useResponsive/index.ts +++ b/packages/design-system/hooks/web/useResponsive/index.ts @@ -1,13 +1,11 @@ 'use client' -import { Breakpoint, useTheme } from '@mui/material/styles' +import { type Breakpoint, useTheme } from '@mui/material/styles' import useMediaQuery from '@mui/material/useMediaQuery' -export type Query = 'up' | 'down' | 'between' | 'only' +import { Query, Value } from './types' -export type Value = Breakpoint | number - -export function useResponsive(query: Query, start?: Value, end?: Value) { +const useResponsive = (query: Query, start?: Value, end?: Value) => { const theme = useTheme() const mediaUp = useMediaQuery(theme.breakpoints.up(start as Value)) @@ -32,3 +30,5 @@ export function useResponsive(query: Query, start?: Value, end?: Value) { return mediaOnly } + +export default useResponsive diff --git a/packages/design-system/hooks/web/useResponsive/types.ts b/packages/design-system/hooks/web/useResponsive/types.ts new file mode 100644 index 00000000..48e23ab8 --- /dev/null +++ b/packages/design-system/hooks/web/useResponsive/types.ts @@ -0,0 +1,5 @@ +import type { Breakpoint } from '@mui/material/styles' + +export type Query = 'up' | 'down' | 'between' | 'only' + +export type Value = Breakpoint | number diff --git a/packages/design-system/index.ts b/packages/design-system/index.ts deleted file mode 100644 index 74d72ee2..00000000 --- a/packages/design-system/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -'use client' - -// styles configuration -import './styles/tailwind/globals.css' - -export * from './styles/breakpoint' -export * from './styles/font' -export * from './styles/palette' -export * from './styles/presets' -export * from './styles/shadow' -export * from './styles/typography' - -export * from './styles/tailwind/plugins' - -export { componentsOverrides } from './styles/material/overrides' -export { createContrast } from './styles/material/options/contrast' -export { createCustomShadows } from './styles/material/custom-shadows' -export * from './styles/material/css' - -// components -export * from './components/animate' -export * from './components/avatars' -export * from './components/buttons' -export * from './components/dialogs' -export * from './components/displays' -export * from './components/drawers' -export * from './components/icons' -export * from './components/illustrations' -export * from './components/images' -export * from './components/inputs' -export * from './components/typographies' - -export { default as Iconify } from './components/Iconify' -export type * from './components/Iconify/types' - -export { default as Scrollbar } from './components/Scrollbar' -export type * from './components/Scrollbar/types' - -export { default as ProjectLogo } from './components/ProjectLogo' -export type * from './components/ProjectLogo/types' - -export { default as CustomLogoCondensed } from './components/CustomLogoCondensed' - -export { default as Logo } from './components/Logo' -export type * from './components/Logo/types' - -export { default as Popover } from './components/Popover' -export type * from './components/Popover/types' - -export { default as Dropzone } from './components/Dropzone' -export type * from './components/Dropzone/types' - -// providers -export { default as MotionLazyProvider } from './providers/MotionLazyProvider' - -export { default as SnackbarProvider } from './providers/SnackbarProvider' -export type { SnackbarProviderProps } from './providers/SnackbarProvider/types' - -export { default as ThemeProvider } from './providers/ThemeProvider' -export type { ThemeProviderProps } from './providers/ThemeProvider/types' - -// hooks -export { default as useLogoOverrides } from './hooks/useLogoOverrides' -export type { LogoOverrides, LogoOverridesKeys } from './hooks/useLogoOverrides/types' -export * from './hooks/useResponsive' -export * from './hooks/usePopover' - -// types -export type * from './types' diff --git a/packages/design-system/layouts/common/index.ts b/packages/design-system/layouts/common/index.ts new file mode 100644 index 00000000..67ea2f3d --- /dev/null +++ b/packages/design-system/layouts/common/index.ts @@ -0,0 +1 @@ +// exports common design-system layouts diff --git a/packages/design-system/layouts/native/BottomNavigationLayout/index.tsx b/packages/design-system/layouts/native/BottomNavigationLayout/index.tsx new file mode 100644 index 00000000..638f84e4 --- /dev/null +++ b/packages/design-system/layouts/native/BottomNavigationLayout/index.tsx @@ -0,0 +1,48 @@ +import React, { FC } from 'react' + +import { usePathname } from 'expo-router' +import { TabList, TabSlot, TabTrigger, Tabs } from 'expo-router/ui' + +import { Text } from '../../../components/native/typographies' +import { useTheme } from '../../../providers/native' +import { createStyles } from './styles' +import { BottomNavigationLayoutProps } from './types' + +const BottomNavigationLayout: FC = ({ tabs }) => { + const pathname = usePathname() + + const theme = useTheme() + const styles = createStyles(theme) + + return ( + + + + {tabs.map(({ href, label, name, Icon }) => { + const isTabActive = pathname === href + + return ( + + {Icon && } + {label && ( + + {label} + + )} + + ) + })} + + + ) +} + +export default BottomNavigationLayout diff --git a/packages/design-system/layouts/native/BottomNavigationLayout/styles.ts b/packages/design-system/layouts/native/BottomNavigationLayout/styles.ts new file mode 100644 index 00000000..77680cab --- /dev/null +++ b/packages/design-system/layouts/native/BottomNavigationLayout/styles.ts @@ -0,0 +1,27 @@ +import { StyleSheet } from 'react-native' + +import { Theme } from '../../../styles/native' + +export const createStyles = (theme: Theme) => + StyleSheet.create({ + tabList: { + height: 74, + paddingHorizontal: 16, + paddingVertical: 12, + backgroundColor: theme.colors.surface.background, + display: 'flex', + alignItems: 'center', + justifyContent: 'space-evenly', + }, + tab: { + alignItems: 'center', + gap: 4, + display: 'flex', + justifyContent: 'center', + paddingHorizontal: 12, + height: 50, + }, + tabText: { + textAlign: 'center', + }, + }) diff --git a/packages/design-system/layouts/native/BottomNavigationLayout/types.ts b/packages/design-system/layouts/native/BottomNavigationLayout/types.ts new file mode 100644 index 00000000..1465748d --- /dev/null +++ b/packages/design-system/layouts/native/BottomNavigationLayout/types.ts @@ -0,0 +1,16 @@ +import { FC } from 'react' + +import { Href } from 'expo-router' + +import { SvgIconProps } from '../../../components/native/icons' + +export type TabItem = { + name: string + href: Href + Icon?: FC + label?: string +} + +export interface BottomNavigationLayoutProps { + tabs: TabItem[] +} diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/index.tsx b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/index.tsx new file mode 100644 index 00000000..129828ba --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/index.tsx @@ -0,0 +1,41 @@ +import { FC } from 'react' + +import { usePathname, useRouter } from 'expo-router' +import { Pressable } from 'react-native' + +import { Text } from '../../../../../components/native/typographies' +import { useTheme } from '../../../../../providers/native' +import { createStyles } from './styles' +import { DrawerItemProps } from './types' + +const DrawerItem: FC = ({ href, Icon, label }) => { + const theme = useTheme() + const router = useRouter() + const pathname = usePathname() + + const isItemActive = pathname === href + + const styles = createStyles(theme, { isActive: isItemActive }) + + const handlePress = () => { + router.push(href) + } + + return ( + + + + {label} + + + ) +} + +export default DrawerItem diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/styles.ts b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/styles.ts new file mode 100644 index 00000000..819779e3 --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/styles.ts @@ -0,0 +1,20 @@ +import { StyleSheet } from 'react-native' + +import { Theme } from '../../../../../styles/native' +import { DraweItemStylesOptions } from './types' + +export const createStyles = (theme: Theme, { isActive }: DraweItemStylesOptions) => + StyleSheet.create({ + container: { + alignItems: 'center', + backgroundColor: isActive ? theme.colors.primary.overlay : 'transparent', + borderRadius: 8, + display: 'flex', + gap: 16, + flexDirection: 'row', + height: 44, + justifyContent: 'flex-start', + paddingHorizontal: 12, + width: '100%', + }, + }) diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/types.ts b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/types.ts new file mode 100644 index 00000000..7b4a8569 --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/DrawerItem/types.ts @@ -0,0 +1,7 @@ +import type { SectionItem } from '../../types' + +export type DraweItemStylesOptions = { + isActive?: boolean +} + +export interface DrawerItemProps extends SectionItem {} diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/index.tsx b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/index.tsx new file mode 100644 index 00000000..c58ad670 --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/index.tsx @@ -0,0 +1,27 @@ +import { FC } from 'react' + +import { Text } from '../../../../components/native/typographies' +import { View } from '../../../../components/native/views' +import DrawerItem from './DrawerItem' +import { styles } from './styles' +import { DrawerContentProps } from './types' + +const DrawerContent: FC = ({ ProjectLogo, sections }) => ( + + + + {sections.map((section) => ( + + + {section.label} + + {section.items.map(({ href, Icon, label }) => ( + + ))} + + ))} + + +) + +export default DrawerContent diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/styles.ts b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/styles.ts new file mode 100644 index 00000000..48fae549 --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/styles.ts @@ -0,0 +1,32 @@ +import { StyleSheet } from 'react-native' + +export const styles = StyleSheet.create({ + container: { + alignItems: 'center', + gap: 8, + height: 64, + justifyContent: 'flex-start', + padding: 16, + paddingTop: 48, + paddingBottom: 40, + paddingHorizontal: 16, + width: '100%', + flex: 1, + }, + projectImage: { + alignSelf: 'flex-start', + }, + sectionsContainer: { + gap: 4, + width: '100%', + }, + sectionContainer: { + width: '100%', + }, + sectionLabel: { + paddingBottom: 8, + paddingHorizontal: 12, + paddingTop: 16, + width: '100%', + }, +}) diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/types.ts b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/types.ts new file mode 100644 index 00000000..19eadeb0 --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/DrawerContent/types.ts @@ -0,0 +1,9 @@ +import { FC } from 'react' + +import { ImageProps } from '../../../../components/native/images' +import type { Section } from '../types' + +export interface DrawerContentProps { + ProjectLogo: FC> + sections: Section[] +} diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/Header/index.tsx b/packages/design-system/layouts/native/SidebarNavigationLayout/Header/index.tsx new file mode 100644 index 00000000..653e0e2d --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/Header/index.tsx @@ -0,0 +1,19 @@ +import { FC } from 'react' + +import type { DrawerHeaderProps } from '@react-navigation/drawer' + +import { IconButton } from '../../../../components/native/buttons' +import { MenuIcon } from '../../../../components/native/icons' +import { View } from '../../../../components/native/views' +import { styles } from './styles' + +const Header: FC = ({ navigation }) => ( + + + + + + +) + +export default Header diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/Header/styles.ts b/packages/design-system/layouts/native/SidebarNavigationLayout/Header/styles.ts new file mode 100644 index 00000000..88162e8a --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/Header/styles.ts @@ -0,0 +1,11 @@ +import { StyleSheet } from 'react-native' + +export const styles = StyleSheet.create({ + container: { + alignItems: 'center', + height: 64, + justifyContent: 'space-between', + paddingHorizontal: 16, + flexDirection: 'row', + }, +}) diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/index.tsx b/packages/design-system/layouts/native/SidebarNavigationLayout/index.tsx new file mode 100644 index 00000000..104b9e2f --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/index.tsx @@ -0,0 +1,35 @@ +import React, { FC } from 'react' + +import type { DrawerContentComponentProps } from '@react-navigation/drawer' +import Drawer from 'expo-router/drawer' + +import DefaultDrawerContent from './DrawerContent' +import DefaultHeader from './Header' +import { SidebarNavigationLayoutProps } from './types' + +const SidebarNavigationLayout: FC = ({ + DrawerContent = DefaultDrawerContent, + DrawerContentProps, + Header = DefaultHeader, + DrawerProps = {}, +}) => { + const renderDrawerContent = (props: DrawerContentComponentProps) => ( + + ) + + return ( + + ) +} + +export default SidebarNavigationLayout diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/styles.ts b/packages/design-system/layouts/native/SidebarNavigationLayout/styles.ts new file mode 100644 index 00000000..77680cab --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/styles.ts @@ -0,0 +1,27 @@ +import { StyleSheet } from 'react-native' + +import { Theme } from '../../../styles/native' + +export const createStyles = (theme: Theme) => + StyleSheet.create({ + tabList: { + height: 74, + paddingHorizontal: 16, + paddingVertical: 12, + backgroundColor: theme.colors.surface.background, + display: 'flex', + alignItems: 'center', + justifyContent: 'space-evenly', + }, + tab: { + alignItems: 'center', + gap: 4, + display: 'flex', + justifyContent: 'center', + paddingHorizontal: 12, + height: 50, + }, + tabText: { + textAlign: 'center', + }, + }) diff --git a/packages/design-system/layouts/native/SidebarNavigationLayout/types.ts b/packages/design-system/layouts/native/SidebarNavigationLayout/types.ts new file mode 100644 index 00000000..f2b36540 --- /dev/null +++ b/packages/design-system/layouts/native/SidebarNavigationLayout/types.ts @@ -0,0 +1,28 @@ +import { ComponentProps, FC } from 'react' + +import type { DrawerHeaderProps } from '@react-navigation/drawer' +import { Href } from 'expo-router' +import Drawer from 'expo-router/drawer' + +import { SvgIconProps } from '../../../components/native/icons' +import { DrawerContentProps } from './DrawerContent/types' + +type DrawerProps = ComponentProps + +export type SectionItem = { + href: Href + Icon: FC + label: string +} + +export type Section = { + label: string + items: SectionItem[] +} + +export interface SidebarNavigationLayoutProps { + DrawerProps?: Partial + DrawerContent?: FC + DrawerContentProps: DrawerContentProps + Header?: FC +} diff --git a/packages/design-system/layouts/native/index.ts b/packages/design-system/layouts/native/index.ts new file mode 100644 index 00000000..86a7c607 --- /dev/null +++ b/packages/design-system/layouts/native/index.ts @@ -0,0 +1,7 @@ +// exports native design-system layouts + +export { default as BottomNavigationLayout } from './BottomNavigationLayout' +export type * from './BottomNavigationLayout/types' + +export { default as SidebarNavigationLayout } from './SidebarNavigationLayout' +export type * from './SidebarNavigationLayout/types' diff --git a/packages/design-system/layouts/web/index.ts b/packages/design-system/layouts/web/index.ts new file mode 100644 index 00000000..e23d2021 --- /dev/null +++ b/packages/design-system/layouts/web/index.ts @@ -0,0 +1 @@ +// exports web design-system layouts diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 63819bd9..ceeef6ea 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -1,22 +1,65 @@ { "name": "@baseapp-frontend/design-system", "description": "Design System components and configurations.", - "version": "0.0.34", - "main": "./index.ts", - "types": "dist/index.d.ts", + "version": "1.0.0", "sideEffects": false, "scripts": { - "build": "rm -rf dist && tsc --build tsconfig.build.json", - "dev": "rm -rf dist && tsc --watch", + "tsup:bundle": "tsup --tsconfig tsconfig.build.json", + "tsc:declaration": "tsc -p tsconfig.build.json --emitDeclarationOnly", + "copy:dts": "node ../../.scripts/copy-dts.js", + "clean:tmp": "rm -rf tmp-dts", + "build": "rm -rf dist && pnpm tsup:bundle && pnpm tsc:declaration && pnpm copy:dts && pnpm clean:tmp", + "dev": "tsup --watch", "lint": "eslint . --ext .tsx --ext .ts && tsc --noEmit", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", "storybook": "storybook dev -p 6006", - "storybook:build": "storybook build" + "storybook:build": "storybook build", + "prepublishOnly": "pnpm run build" }, + "exports": { + "./components/*": { + "types": "./dist/components/*/index.d.ts", + "import": "./dist/components/*/index.mjs", + "require": "./dist/components/*/index.js" + }, + "./hooks/*": { + "types": "./dist/hooks/*/index.d.ts", + "import": "./dist/hooks/*/index.mjs", + "require": "./dist/hooks/*/index.js" + }, + "./layouts/*": { + "types": "./dist/layouts/*/index.d.ts", + "import": "./dist/layouts/*/index.mjs", + "require": "./dist/layouts/*/index.js" + }, + "./providers/*": { + "types": "./dist/providers/*/index.d.ts", + "import": "./dist/providers/*/index.mjs", + "require": "./dist/providers/*/index.js" + }, + "./styles/*": { + "types": "./dist/styles/*/index.d.ts", + "import": "./dist/styles/*/index.mjs", + "require": "./dist/styles/*/index.js" + }, + "./styles/web/globals.css": { + "default": "./dist/styles/web/index.css" + }, + "./utils/*": { + "types": "./dist/utils/*/index.d.ts", + "import": "./dist/utils/*/index.mjs", + "require": "./dist/utils/*/index.js" + } + }, + "files": [ + "dist" + ], "dependencies": { "@emotion/cache": "catalog:material-ui", "@emotion/react": "catalog:material-ui", "@emotion/styled": "catalog:material-ui", + "@expo/vector-icons": "^14.0.4", + "@gorhom/bottom-sheet": "catalog:react-native-core", "@iconify/react": "^5.0.1", "@mui/icons-material": "catalog:material-ui", "@mui/lab": "catalog:material-ui", @@ -24,7 +67,11 @@ "@mui/material-nextjs": "catalog:material-ui", "@mui/system": "catalog:material-ui", "@mui/x-date-pickers": "catalog:material-ui", + "@react-navigation/drawer": "catalog:react-native-core", + "@react-navigation/native": "catalog:react-native-core", "@storybook/react": "catalog:storybook", + "color": "^4.2.3", + "expo-router": "catalog:react-native-core", "framer-motion": "^11.2.10", "jotai": "catalog:", "lodash": "catalog:", @@ -32,6 +79,10 @@ "react-dropzone": "^14.2.3", "react-hook-form": "catalog:", "react-lazy-load-image-component": "^1.6.2", + "react-native": "catalog:react-native-core", + "react-native-paper": "catalog:react-native-core", + "react-native-reanimated": "catalog:react-native-core", + "react-native-svg": "^15.9.0", "simplebar-react": "^3.2.5" }, "peerDependencies": { @@ -44,8 +95,8 @@ "@babel/preset-react": "catalog:storybook", "@babel/preset-typescript": "catalog:storybook", "@baseapp-frontend/config": "workspace:*", - "@baseapp-frontend/tsconfig": "workspace:*", "@baseapp-frontend/test": "workspace:*", + "@baseapp-frontend/tsconfig": "workspace:*", "@chromatic-com/storybook": "catalog:storybook", "@storybook/addon-docs": "catalog:storybook", "@storybook/addon-essentials": "catalog:storybook", @@ -57,10 +108,12 @@ "@storybook/react-webpack5": "catalog:storybook", "@storybook/test": "catalog:storybook", "@tailwindcss/typography": "catalog:tailwind", + "@types/color": "^4.2.0", "@types/lodash": "catalog:", "@types/react": "catalog:react18", "@types/react-dom": "catalog:react18", "autoprefixer": "catalog:tailwind", + "chokidar-cli": "^3.0.0", "css-loader": "catalog:storybook", "eslint-plugin-storybook": "catalog:lint", "postcss": "catalog:tailwind", @@ -68,6 +121,7 @@ "storybook": "catalog:storybook", "style-loader": "catalog:storybook", "tailwindcss": "catalog:tailwind", + "tsup": "catalog:", "typescript": "catalog:" }, "license": "MIT", diff --git a/packages/design-system/providers/common/index.ts b/packages/design-system/providers/common/index.ts new file mode 100644 index 00000000..f3722ff6 --- /dev/null +++ b/packages/design-system/providers/common/index.ts @@ -0,0 +1 @@ +// exports common design-system providers diff --git a/packages/design-system/providers/native/ThemeProvider/index.tsx b/packages/design-system/providers/native/ThemeProvider/index.tsx new file mode 100644 index 00000000..02f3c353 --- /dev/null +++ b/packages/design-system/providers/native/ThemeProvider/index.tsx @@ -0,0 +1,74 @@ +import { FC, createContext, useContext, useMemo } from 'react' + +import merge from 'lodash/merge' +import { type MD2Theme, PaperProvider } from 'react-native-paper' + +import useColorMode from '../../../hooks/native/useColorMode' +import { Theme, shadow, systemTokens, typography } from '../../../styles/native' +import { ThemeProviderProps } from './types' + +const ThemeContext = createContext(null) + +export const useTheme = () => { + const theme = useContext(ThemeContext) + if (!theme) { + throw new Error('Missing ThemeProvider.') + } + return theme +} + +const ThemeProvider: FC = ({ children, theme: themeOverrides, fonts }) => { + const mode = useColorMode() + + const theme: Theme = useMemo(() => { + const baseTheme = { + typography, + shadow, + colors: { + object: systemTokens.object[mode], + surface: systemTokens.surface[mode], + primary: systemTokens.primary[mode], + secondary: systemTokens.secondary[mode], + info: systemTokens.info[mode], + success: systemTokens.success[mode], + warning: systemTokens.warning[mode], + error: systemTokens.error[mode], + }, + } + + return merge(baseTheme, themeOverrides) + }, [mode, themeOverrides]) + + const paperTheme: MD2Theme = { + dark: false, + roundness: 4, + version: 2, + isV3: false, + colors: { + primary: theme.colors.primary.main, + background: theme.colors.surface.background, + surface: theme.colors.surface.background, + accent: theme.colors.secondary.main, + error: theme.colors.error.main, + text: theme.colors.object.high, + onSurface: theme.colors.object.high, + disabled: theme.colors.object.disabled, + placeholder: theme.colors.object.low, + backdrop: theme.colors.surface.active, // TODO: check backdrop color + notification: theme.colors.info.main, + tooltip: theme.colors.surface.active, // TODO: check tooltip color + }, + fonts, + animation: { + scale: 1.0, + }, + } + + return ( + + {children} + + ) +} + +export default ThemeProvider diff --git a/packages/design-system/providers/native/ThemeProvider/types.ts b/packages/design-system/providers/native/ThemeProvider/types.ts new file mode 100644 index 00000000..be2d7def --- /dev/null +++ b/packages/design-system/providers/native/ThemeProvider/types.ts @@ -0,0 +1,10 @@ +import { PropsWithChildren } from 'react' + +import type { Fonts } from 'react-native-paper/lib/typescript/types' + +import { Theme } from '../../../styles/native' + +export interface ThemeProviderProps extends PropsWithChildren { + theme?: Partial + fonts: Fonts +} diff --git a/packages/design-system/providers/native/index.ts b/packages/design-system/providers/native/index.ts new file mode 100644 index 00000000..edad89aa --- /dev/null +++ b/packages/design-system/providers/native/index.ts @@ -0,0 +1,5 @@ +// exports native design-system providers + +export { default as ThemeProvider } from './ThemeProvider' +export type * from './ThemeProvider/types' +export { useTheme } from './ThemeProvider' diff --git a/packages/design-system/providers/MotionLazyProvider/index.tsx b/packages/design-system/providers/web/MotionLazyProvider/index.tsx similarity index 93% rename from packages/design-system/providers/MotionLazyProvider/index.tsx rename to packages/design-system/providers/web/MotionLazyProvider/index.tsx index ae282fb0..09cd4be1 100644 --- a/packages/design-system/providers/MotionLazyProvider/index.tsx +++ b/packages/design-system/providers/web/MotionLazyProvider/index.tsx @@ -6,6 +6,7 @@ import { LazyMotion, domMax, m } from 'framer-motion' const MotionLazyProvider: FC = ({ children }) => ( + {/* @ts-ignore */} {children} ) diff --git a/packages/design-system/providers/SnackbarProvider/index.tsx b/packages/design-system/providers/web/SnackbarProvider/index.tsx similarity index 100% rename from packages/design-system/providers/SnackbarProvider/index.tsx rename to packages/design-system/providers/web/SnackbarProvider/index.tsx diff --git a/packages/design-system/providers/SnackbarProvider/types.ts b/packages/design-system/providers/web/SnackbarProvider/types.ts similarity index 100% rename from packages/design-system/providers/SnackbarProvider/types.ts rename to packages/design-system/providers/web/SnackbarProvider/types.ts diff --git a/packages/design-system/providers/ThemeProvider/index.tsx b/packages/design-system/providers/web/ThemeProvider/index.tsx similarity index 83% rename from packages/design-system/providers/ThemeProvider/index.tsx rename to packages/design-system/providers/web/ThemeProvider/index.tsx index 6ac5820d..6d7430ee 100644 --- a/packages/design-system/providers/ThemeProvider/index.tsx +++ b/packages/design-system/providers/web/ThemeProvider/index.tsx @@ -7,9 +7,7 @@ import CssBaseline from '@mui/material/CssBaseline' import { ThemeProvider as MuiThemeProvider, createTheme } from '@mui/material/styles' import merge from 'lodash/merge' -import { createContrast } from '../../styles/material/options/contrast' -import { componentsOverrides } from '../../styles/material/overrides' -import { createPresets } from '../../styles/presets' +import { componentsOverrides, createContrast, createPresets } from '../../../styles/web' import { ThemeProviderProps } from './types' const ThemeProvider: FC = ({ @@ -46,8 +44,8 @@ const ThemeProvider: FC = ({ shadows, shape: { borderRadius: 8 }, typography: { - fontFamily: primaryFont.style.fontFamily, - fontSecondaryFamily: secondaryFont.style.fontFamily, + fontFamily: primaryFont?.style?.fontFamily, + fontSecondaryFamily: secondaryFont?.style?.fontFamily, fontWeightRegular: 400, fontWeightMedium: 500, fontWeightSemiBold: 600, @@ -62,8 +60,8 @@ const ThemeProvider: FC = ({ presets.customShadows, contrast.palette, customShadows, - primaryFont.style.fontFamily, - secondaryFont.style.fontFamily, + primaryFont?.style?.fontFamily, + secondaryFont?.style?.fontFamily, typography, palette, shadows, diff --git a/packages/design-system/providers/ThemeProvider/types.ts b/packages/design-system/providers/web/ThemeProvider/types.ts similarity index 73% rename from packages/design-system/providers/ThemeProvider/types.ts rename to packages/design-system/providers/web/ThemeProvider/types.ts index c0906d68..23031f28 100644 --- a/packages/design-system/providers/ThemeProvider/types.ts +++ b/packages/design-system/providers/web/ThemeProvider/types.ts @@ -1,9 +1,9 @@ import { PropsWithChildren } from 'react' import { ThemeOptions } from '@mui/material' -import { NextFont } from 'next/dist/compiled/@next/font' +import type { NextFont } from 'next/dist/compiled/@next/font' -import { Breakpoint, Palette, UISettings } from '../../types' +import { Breakpoint, Palette, UISettings } from '../../../styles/web/types' export interface ThemeProviderProps extends PropsWithChildren { settings: UISettings @@ -11,8 +11,8 @@ export interface ThemeProviderProps extends PropsWithChildren { palette: Palette & Record breakpoints: Breakpoint & Record typography: Record - primaryFont: NextFont - secondaryFont: NextFont + primaryFont: NextFont | undefined + secondaryFont: NextFont | undefined customShadows: Record customOverrides?: Record /** diff --git a/packages/design-system/providers/web/index.ts b/packages/design-system/providers/web/index.ts new file mode 100644 index 00000000..d8a130b4 --- /dev/null +++ b/packages/design-system/providers/web/index.ts @@ -0,0 +1,11 @@ +'use client' + +// exports web design-system providers + +export { default as MotionLazyProvider } from './MotionLazyProvider' + +export { default as SnackbarProvider } from './SnackbarProvider' +export type { SnackbarProviderProps } from './SnackbarProvider/types' + +export { default as ThemeProvider } from './ThemeProvider' +export type { ThemeProviderProps } from './ThemeProvider/types' diff --git a/packages/design-system/styles/common/index.ts b/packages/design-system/styles/common/index.ts new file mode 100644 index 00000000..4e17074d --- /dev/null +++ b/packages/design-system/styles/common/index.ts @@ -0,0 +1 @@ +// exports common design-system styles diff --git a/packages/design-system/styles/font.ts b/packages/design-system/styles/font.ts deleted file mode 100644 index 9d7a7570..00000000 --- a/packages/design-system/styles/font.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Barlow, Public_Sans } from 'next/font/google' - -export const primaryFont = Public_Sans({ - weight: ['400', '500', '600', '700', '800', '900'], - subsets: ['latin'], - display: 'swap', - fallback: ['Helvetica', 'Arial', 'sans-serif'], -}) - -export const secondaryFont = Barlow({ - weight: ['400', '500', '600', '700', '800', '900'], - subsets: ['latin'], - display: 'swap', - fallback: ['Helvetica', 'Arial', 'sans-serif'], -}) diff --git a/packages/design-system/styles/native/gradient.ts b/packages/design-system/styles/native/gradient.ts new file mode 100644 index 00000000..fe3e833e --- /dev/null +++ b/packages/design-system/styles/native/gradient.ts @@ -0,0 +1,41 @@ +import { error, info, primary, secondary, success, warning } from './palette' +import { GradientColors } from './types' + +export const primaryGradient: GradientColors = { + main: `linear-gradient(135deg, ${primary.light} 0%, ${primary.main} 100%)`, + bold: `linear-gradient(135deg, ${primary.main} 0%, ${primary.dark} 100%)`, +} + +export const secondaryGradient: GradientColors = { + main: `linear-gradient(135deg, ${secondary.light} 0%, ${secondary.main} 100%)`, + bold: `linear-gradient(135deg, ${secondary.main} 0%, ${secondary.dark} 100%)`, +} + +export const infoGradient: GradientColors = { + main: `linear-gradient(135deg, ${info.light} 0%, ${info.main} 100%)`, + bold: `linear-gradient(135deg, ${info.main} 0%, ${info.dark} 100%)`, +} + +export const successGradient: GradientColors = { + main: `linear-gradient(135deg, ${success.light} 0%, ${success.main} 100%)`, + bold: `linear-gradient(135deg, ${success.main} 0%, ${success.dark} 100%)`, +} + +export const warningGradient: GradientColors = { + main: `linear-gradient(135deg, ${warning.light} 0%, ${warning.main} 100%)`, + bold: `linear-gradient(135deg, ${warning.main} 0%, ${warning.dark} 100%)`, +} + +export const errorGradient: GradientColors = { + main: `linear-gradient(135deg, ${error.light} 0%, ${error.main} 100%)`, + bold: `linear-gradient(135deg, ${error.main} 0%, ${error.dark} 100%)`, +} + +export const gradient = { + primary: primaryGradient, + secondary: secondaryGradient, + info: infoGradient, + success: successGradient, + warning: warningGradient, + error: errorGradient, +} diff --git a/packages/design-system/styles/native/index.ts b/packages/design-system/styles/native/index.ts new file mode 100644 index 00000000..10723da7 --- /dev/null +++ b/packages/design-system/styles/native/index.ts @@ -0,0 +1,9 @@ +// exports native design-system styles + +export * from './gradient' +export * from './palette' +export * from './shadow' +export * from './systemTokens' +export * from './transparent' +export * from './types' +export * from './typography' diff --git a/packages/design-system/styles/native/palette.ts b/packages/design-system/styles/native/palette.ts new file mode 100644 index 00000000..339aa16c --- /dev/null +++ b/packages/design-system/styles/native/palette.ts @@ -0,0 +1,81 @@ +import { ColorShade, ColorTone } from './types' + +export const primary: ColorTone = { + lighter: '#DEDCFE', + light: '#9C97FB', + main: '#5852F2', + dark: '#2D29AE', + darker: '#110F74', +} + +export const secondary: ColorTone = { + lighter: '#C8FAD6', + light: '#5BE49B', + main: '#00A76F', + dark: '#007867', + darker: '#004B50', +} + +export const info: ColorTone = { + lighter: '#CAFDF5', + light: '#61F3F3', + main: '#00B8D9', + dark: '#006C9C', + darker: '#003768', +} + +export const success: ColorTone = { + lighter: '#D3FCD2', + light: '#77ED8B', + main: '#22C55E', + dark: '#118D57', + darker: '#065E49', +} + +export const warning: ColorTone = { + lighter: '#FFF5CC', + light: '#FFD666', + main: '#FFAB00', + dark: '#B76E00', + darker: '#7A4100', +} + +export const error: ColorTone = { + lighter: '#FFE9D5', + light: '#FFAC82', + main: '#FF5630', + dark: '#B71D18', + darker: '#7A0916', +} + +export const light: ColorShade = { + 100: '#F9FAFB', + 200: '#F4F6F8', + 300: '#DFE3E8', + 400: '#C4CDD5', + 500: '#919EAB', + 600: '#637381', + 700: '#454F5B', + 800: '#212B36', + 900: '#161C24', +} + +export const dark: ColorShade = { + 100: '#131415', + 200: '#1E2023', + 300: '#2B2F33', + 400: '#383F45', + 500: '#464F56', + 600: '#556069', + 700: '#748590', + 800: '#A5B0B6', + 900: '#E3E6E8', +} + +export const black = { + main: '#000000', +} + +export const white = { + main: '#FFFFFF', +} diff --git a/packages/design-system/styles/native/shadow.ts b/packages/design-system/styles/native/shadow.ts new file mode 100644 index 00000000..ace3b613 --- /dev/null +++ b/packages/design-system/styles/native/shadow.ts @@ -0,0 +1,33 @@ +import { transparent } from './transparent' +import { ComponentShadow, VariantShadow, ZShadow } from './types' + +export const shadowVariant: VariantShadow = { + primary: `0px 8px 16px 0px ${transparent.primary[24]}`, + secondary: `0px 8px 16px 0px ${transparent.secondary[24]}`, + info: `0px 8px 16px 0px ${transparent.info[24]}`, + success: `0px 8px 16px 0px ${transparent.success[24]}`, + warning: `0px 8px 16px 0px ${transparent.warning[24]}`, + error: `0px 8px 16px 0px ${transparent.error[24]}`, +} + +export const shadowComponent: ComponentShadow = { + card: `0px 0px 2px 0px ${transparent.black[20]}, 0px 12px 24px -4px ${transparent.black[12]}`, + dropdown: `0px 0px 2px 0px ${transparent.black[24]}, -20px 20px 40px -4px ${transparent.black[8]}`, + dialog: `-40px 40px 80px -8px ${transparent.black[24]}`, +} + +export const shadowZ: ZShadow = { + z1: `0px 1px 2px 0px ${transparent.black[16]}`, + z4: `0px 4px 8px 0px ${transparent.black[16]}`, + z8: `0px 8px 16px 0px ${transparent.black[16]}`, + z12: `0px 12px 24px -4px ${transparent.black[16]}`, + z16: `0px 16px 32px -4px ${transparent.black[16]}`, + z20: `0px 20px 40px -4px ${transparent.black[16]}`, + z24: `0px 24px 48px 0px ${transparent.black[16]}`, +} + +export const shadow = { + variant: shadowVariant, + component: shadowComponent, + z: shadowZ, +} diff --git a/packages/design-system/styles/native/systemTokens.ts b/packages/design-system/styles/native/systemTokens.ts new file mode 100644 index 00000000..3e26c6a1 --- /dev/null +++ b/packages/design-system/styles/native/systemTokens.ts @@ -0,0 +1,164 @@ +import { dark, error, info, light, primary, secondary, success, warning, white } from './palette' +import { transparent } from './transparent' +import { ColorToken, ObjectToken, SurfaceToken } from './types' + +const objectLight: ObjectToken = { + high: light[900], + low: light[600], + disabled: light[500], + contrast: white.main, +} + +const objectDark: ObjectToken = { + high: white.main, + low: dark[800], + disabled: dark[600], + contrast: dark[100], +} + +const surfaceLight: SurfaceToken = { + background: white.main, + default: white.main, + active: transparent.light[12], + disabled: transparent.light[24], + border: light[400], +} + +const surfaceDark: SurfaceToken = { + background: dark[100], + default: dark[200], + active: transparent.dark[24], + disabled: transparent.dark[32], + border: dark[400], +} + +const primaryColorLight: ColorToken = { + high: primary.dark, + main: primary.main, + low: transparent.primary[48], + overlay: transparent.primary[12], + contrast: white.main, +} + +const primaryColorDark: ColorToken = { + high: primary.light, + main: primary.main, + low: transparent.primary[48], + overlay: transparent.primary[16], + contrast: white.main, +} + +const secondaryColorLight: ColorToken = { + high: secondary.dark, + main: secondary.main, + low: transparent.secondary[48], + overlay: transparent.secondary[12], + contrast: white.main, +} + +const secondaryColorDark: ColorToken = { + high: secondary.light, + main: secondary.main, + low: transparent.secondary[48], + overlay: transparent.secondary[12], + contrast: white.main, +} + +const infoColorLight: ColorToken = { + high: info.dark, + main: info.main, + low: transparent.info[48], + overlay: transparent.info[12], + contrast: white.main, +} + +const infoColorDark: ColorToken = { + high: info.light, + main: info.main, + low: transparent.info[48], + overlay: transparent.info[12], + contrast: white.main, +} + +const successColorLight: ColorToken = { + high: success.dark, + main: success.main, + low: transparent.success[48], + overlay: transparent.success[12], + contrast: white.main, +} + +const successColorDark: ColorToken = { + high: success.light, + main: success.main, + low: transparent.success[48], + overlay: transparent.success[12], + contrast: white.main, +} + +const warningColorLight: ColorToken = { + high: warning.dark, + main: warning.main, + low: transparent.warning[48], + overlay: transparent.warning[12], + contrast: white.main, +} + +const warningColorDark: ColorToken = { + high: warning.light, + main: warning.main, + low: transparent.warning[48], + overlay: transparent.warning[12], + contrast: white.main, +} + +const errorColorLight: ColorToken = { + high: error.dark, + main: error.main, + low: transparent.error[48], + overlay: transparent.error[12], + contrast: white.main, +} + +const errorColorDark: ColorToken = { + high: error.light, + main: error.main, + low: transparent.error[48], + overlay: transparent.error[12], + contrast: white.main, +} + +export const systemTokens = { + object: { + light: objectLight, + dark: objectDark, + }, + surface: { + light: surfaceLight, + dark: surfaceDark, + }, + primary: { + light: primaryColorLight, + dark: primaryColorDark, + }, + secondary: { + light: secondaryColorLight, + dark: secondaryColorDark, + }, + info: { + light: infoColorLight, + dark: infoColorDark, + }, + success: { + light: successColorLight, + dark: successColorDark, + }, + warning: { + light: warningColorLight, + dark: warningColorDark, + }, + error: { + light: errorColorLight, + dark: errorColorDark, + }, +} diff --git a/packages/design-system/styles/native/transparent.ts b/packages/design-system/styles/native/transparent.ts new file mode 100644 index 00000000..5117ec67 --- /dev/null +++ b/packages/design-system/styles/native/transparent.ts @@ -0,0 +1,144 @@ +import color from 'color' + +import { + black, + dark, + error, + info, + light, + primary, + secondary, + success, + warning, + white, +} from './palette' +import { TransparentColors } from './types' + +export const primaryTransparent: TransparentColors = { + 8: color(primary.main).alpha(0.08).rgb().string(), + 12: color(primary.main).alpha(0.12).rgb().string(), + 16: color(primary.main).alpha(0.16).rgb().string(), + 20: color(primary.main).alpha(0.2).rgb().string(), + 24: color(primary.main).alpha(0.24).rgb().string(), + 32: color(primary.main).alpha(0.32).rgb().string(), + 48: color(primary.main).alpha(0.48).rgb().string(), +} + +export const secondaryTransparent: TransparentColors = { + 8: color(secondary.main).alpha(0.08).rgb().string(), + 12: color(secondary.main).alpha(0.12).rgb().string(), + 16: color(secondary.main).alpha(0.16).rgb().string(), + 20: color(secondary.main).alpha(0.2).rgb().string(), + 24: color(secondary.main).alpha(0.24).rgb().string(), + 32: color(secondary.main).alpha(0.32).rgb().string(), + 48: color(secondary.main).alpha(0.48).rgb().string(), +} + +export const infoTransparent: TransparentColors = { + 8: color(info.main).alpha(0.08).rgb().string(), + 12: color(info.main).alpha(0.12).rgb().string(), + 16: color(info.main).alpha(0.16).rgb().string(), + 20: color(info.main).alpha(0.2).rgb().string(), + 24: color(info.main).alpha(0.24).rgb().string(), + 32: color(info.main).alpha(0.32).rgb().string(), + 48: color(info.main).alpha(0.48).rgb().string(), +} + +export const successTransparent: TransparentColors = { + 8: color(success.main).alpha(0.08).rgb().string(), + 12: color(success.main).alpha(0.12).rgb().string(), + 16: color(success.main).alpha(0.16).rgb().string(), + 20: color(success.main).alpha(0.2).rgb().string(), + 24: color(success.main).alpha(0.24).rgb().string(), + 32: color(success.main).alpha(0.32).rgb().string(), + 48: color(success.main).alpha(0.48).rgb().string(), +} + +export const warningTransparent: TransparentColors = { + 8: color(warning.main).alpha(0.08).rgb().string(), + 12: color(warning.main).alpha(0.12).rgb().string(), + 16: color(warning.main).alpha(0.16).rgb().string(), + 20: color(warning.main).alpha(0.2).rgb().string(), + 24: color(warning.main).alpha(0.24).rgb().string(), + 32: color(warning.main).alpha(0.32).rgb().string(), + 48: color(warning.main).alpha(0.48).rgb().string(), +} + +export const errorTransparent: TransparentColors = { + 8: color(error.main).alpha(0.08).rgb().string(), + 12: color(error.main).alpha(0.12).rgb().string(), + 16: color(error.main).alpha(0.16).rgb().string(), + 20: color(error.main).alpha(0.2).rgb().string(), + 24: color(error.main).alpha(0.24).rgb().string(), + 32: color(error.main).alpha(0.32).rgb().string(), + 48: color(error.main).alpha(0.48).rgb().string(), +} + +export const lightTransparent: TransparentColors = { + 8: color(light[500]).alpha(0.08).rgb().string(), + 12: color(light[500]).alpha(0.12).rgb().string(), + 16: color(light[500]).alpha(0.16).rgb().string(), + 20: color(light[500]).alpha(0.2).rgb().string(), + 24: color(light[500]).alpha(0.24).rgb().string(), + 32: color(light[500]).alpha(0.32).rgb().string(), + 48: color(light[500]).alpha(0.48).rgb().string(), + 56: color(light[500]).alpha(0.56).rgb().string(), + 64: color(light[500]).alpha(0.64).rgb().string(), + 72: color(light[500]).alpha(0.72).rgb().string(), + 80: color(light[500]).alpha(0.8).rgb().string(), +} + +export const darkTransparent: TransparentColors = { + 8: color(dark[500]).alpha(0.08).rgb().string(), + 12: color(dark[500]).alpha(0.12).rgb().string(), + 16: color(dark[500]).alpha(0.16).rgb().string(), + 20: color(dark[500]).alpha(0.2).rgb().string(), + 24: color(dark[500]).alpha(0.24).rgb().string(), + 32: color(dark[500]).alpha(0.32).rgb().string(), + 48: color(dark[500]).alpha(0.48).rgb().string(), + 56: color(dark[500]).alpha(0.56).rgb().string(), + 64: color(dark[500]).alpha(0.64).rgb().string(), + 72: color(dark[500]).alpha(0.72).rgb().string(), + 80: color(dark[500]).alpha(0.8).rgb().string(), +} + +export const blackTransparent: TransparentColors = { + 8: color(black.main).alpha(0.08).rgb().string(), + 12: color(black.main).alpha(0.12).rgb().string(), + 16: color(black.main).alpha(0.16).rgb().string(), + 20: color(black.main).alpha(0.2).rgb().string(), + 24: color(black.main).alpha(0.24).rgb().string(), + 32: color(black.main).alpha(0.32).rgb().string(), + 48: color(black.main).alpha(0.48).rgb().string(), + 56: color(black.main).alpha(0.56).rgb().string(), + 64: color(black.main).alpha(0.64).rgb().string(), + 72: color(black.main).alpha(0.72).rgb().string(), + 80: color(black.main).alpha(0.8).rgb().string(), +} + +export const whiteTransparent: TransparentColors = { + 8: color(white.main).alpha(0.08).rgb().string(), + 12: color(white.main).alpha(0.12).rgb().string(), + 16: color(white.main).alpha(0.16).rgb().string(), + 20: color(white.main).alpha(0.2).rgb().string(), + 24: color(white.main).alpha(0.24).rgb().string(), + 32: color(white.main).alpha(0.32).rgb().string(), + 48: color(white.main).alpha(0.48).rgb().string(), + 56: color(white.main).alpha(0.56).rgb().string(), + 64: color(white.main).alpha(0.64).rgb().string(), + 72: color(white.main).alpha(0.72).rgb().string(), + 80: color(white.main).alpha(0.8).rgb().string(), +} + +export const transparent = { + primary: primaryTransparent, + secondary: secondaryTransparent, + info: infoTransparent, + success: successTransparent, + warning: warningTransparent, + error: errorTransparent, + light: lightTransparent, + dark: darkTransparent, + black: blackTransparent, + white: whiteTransparent, +} diff --git a/packages/design-system/styles/native/types.ts b/packages/design-system/styles/native/types.ts new file mode 100644 index 00000000..d6bfbc8b --- /dev/null +++ b/packages/design-system/styles/native/types.ts @@ -0,0 +1,199 @@ +// Palette +export type ColorVariant = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error' + +export type ColorTone = { + lighter: string + light: string + main: string + dark: string + darker: string +} + +export type TransparentColors = { + 8: string + 12: string + 16: string + 20: string + 24: string + 32: string + 48: string + 56?: string + 64?: string + 72?: string + 80?: string +} + +export type GradientColors = { + main: string + bold: string +} + +export type ColorShade = { + 100: string + 200: string + 300: string + 400: string + 500: string + 600: string + 700: string + 800: string + 900: string +} + +// System Tokens + +/** + * Object token. + * + * @description + * Conceptually, objects are a tangible entity that draws focus of attention, creating points of interest. + * + * Object color tokens are to be used by texts, icons and primary shapes. + */ +export type ObjectToken = { + /** + * Addressing the primary point of interest in the interface visual hierarchy. + */ + high: string + /** + * Addressing the secondary point of interest in the interface visual hierarchy. + */ + low: string + /** + * Addressing a disabled point of interest in the interface visual hierarchy. + */ + disabled: string + /** + * Addressing Objects applied on top of High Object token shapes. + */ + contrast: string +} + +/** + * Surface token. + * + * @description + * Conceptually, a surface is where objects are placed, creating boundaries, depth and layout structures. + * + * Surface color tokens are to e used by frames, containers and secondary shapes. + */ +export type SurfaceToken = { + /** + * The ground zero of an interface, where all other elements will be placed on top. Indicates the lowest level of depth. + */ + background: string + /** + * Surface of elements that are placed on top of backgrounds. Indicates a top level of depth. + */ + default: string + /** + * Overlay for when a container and its content are active. To be used when there’s contrast to non-active elements. + */ + active: string + /** + * Overlay for when a container and its content are disabled. To be used when there’s contrast to enabled elements. + */ + disabled: string + /** + * While used in strokes and shapes it indicates the boundaries or divisions of surfaces. + */ + border: string +} + +/** + * Color token. + * + * @description + * Color tokens are used to accent the brand identity (Primary and Secondary) or to convey an intended meaning (Info, Success, Warning and Error). + * + * They are to be used replacing Object and Surface tokens. + */ +export type ColorToken = { + /** + * Applied when a higher contrast is needed, comparing to using the Main token. + */ + high: string + /** + * Default color value for Color Objects and Surfaces. + */ + main: string + /** + * Applied when a lower contrast is needed, comparing to using the Main token. + */ + low: string + /** + * Core low contrast and hierarchy Color Surface. + */ + overlay: string + /** + * Addressing Objects applied on top of Main Color token shapes. + */ + contrast: string +} + +type ColorTokens = Record + +export interface SystemTokens extends ColorTokens { + object: ObjectToken + surface: SurfaceToken +} + +// Typography +export type FontVariants = + | 'caption' + | 'h1' + | 'h2' + | 'h3' + | 'h4' + | 'h5' + | 'h6' + | 'subtitle1' + | 'subtitle2' + | 'body1' + | 'body2' + | 'overline' + | 'buttonSmall' + | 'buttonMedium' + | 'buttonLarge' + | 'inputLabel' + +export type Typography = { + [key in FontVariants]: { + fontFamily: string + fontWeight: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 + fontSize: number + lineHeight?: number + letterSpacing?: number + textTransform?: 'uppercase' | 'none' | 'capitalize' | 'lowercase' + } +} + +// Shadow +export type VariantShadow = Record + +export type ComponentShadow = { + card: string + dropdown: string + dialog: string +} + +export type ZShadow = { + z1: string + z4: string + z8: string + z12: string + z16: string + z20: string + z24: string +} + +// Theme +export type Theme = { + typography: Typography + shadow: { + variant: VariantShadow + component: ComponentShadow + z: ZShadow + } + colors: SystemTokens +} diff --git a/packages/design-system/styles/native/typography.ts b/packages/design-system/styles/native/typography.ts new file mode 100644 index 00000000..4105f9fb --- /dev/null +++ b/packages/design-system/styles/native/typography.ts @@ -0,0 +1,118 @@ +import { StyleSheet } from 'react-native' +import { configureFonts } from 'react-native-paper' + +import { Typography } from './types' + +export const typographyObject: Typography = { + h1: { + fontFamily: 'PublicSans_800ExtraBold', + fontWeight: 800, + fontSize: 40, + lineHeight: 50, + }, + h2: { + fontFamily: 'PublicSans_800ExtraBold', + fontWeight: 800, + fontSize: 32, + lineHeight: 42, + }, + h3: { + fontFamily: 'PublicSans_700Bold', + fontWeight: 700, + fontSize: 24, + lineHeight: 36, + }, + h4: { + fontFamily: 'PublicSans_700Bold', + fontWeight: 700, + fontSize: 20, + lineHeight: 30, + }, + h5: { + fontFamily: 'PublicSans_700Bold', + fontWeight: 700, + fontSize: 18, + lineHeight: 27, + }, + h6: { + fontFamily: 'PublicSans_700Bold', + fontWeight: 700, + fontSize: 17, + lineHeight: 26, + }, + subtitle1: { + fontFamily: 'PublicSans_600SemiBold', + fontWeight: 600, + fontSize: 16, + lineHeight: 24, + }, + subtitle2: { + fontFamily: 'PublicSans_600SemiBold', + fontWeight: 600, + fontSize: 14, + lineHeight: 22, + }, + body1: { + fontFamily: 'PublicSans_400Regular', + fontWeight: 400, + fontSize: 16, + lineHeight: 24, + }, + body2: { + fontFamily: 'PublicSans_400Regular', + fontWeight: 400, + fontSize: 14, + lineHeight: 22, + }, + caption: { + fontFamily: 'PublicSans_400Regular', + fontWeight: 400, + fontSize: 12, + lineHeight: 18, + }, + overline: { + fontFamily: 'PublicSans_500Medium', + fontWeight: 500, + fontSize: 10, + letterSpacing: 0.5, + textTransform: 'uppercase', + lineHeight: 13, + }, + buttonSmall: { + fontFamily: 'PublicSans_700Bold', + fontWeight: 700, + fontSize: 13, + lineHeight: 22, + }, + buttonMedium: { + fontFamily: 'PublicSans_700Bold', + fontWeight: 700, + fontSize: 14, + lineHeight: 24, + }, + buttonLarge: { + fontFamily: 'PublicSans_700Bold', + fontWeight: 700, + fontSize: 15, + lineHeight: 26, + }, + inputLabel: { + fontFamily: 'PublicSans_600SemiBold', + fontWeight: 600, + fontSize: 12, + }, +} + +export const typography: Typography = StyleSheet.create(typographyObject) + +export const fontConfig = { + web: typography, + ios: typography, + android: typography, + default: typography.body1, +} + +export const fonts = configureFonts({ + isV3: false, + config: fontConfig as any, +}) diff --git a/packages/design-system/styles/breakpoint.ts b/packages/design-system/styles/web/breakpoint.ts similarity index 100% rename from packages/design-system/styles/breakpoint.ts rename to packages/design-system/styles/web/breakpoint.ts diff --git a/packages/design-system/styles/web/globals.ts b/packages/design-system/styles/web/globals.ts new file mode 100644 index 00000000..f6b08fec --- /dev/null +++ b/packages/design-system/styles/web/globals.ts @@ -0,0 +1,2 @@ +import './material/globals.css' +import './tailwind/globals.css' diff --git a/packages/design-system/styles/web/index.ts b/packages/design-system/styles/web/index.ts new file mode 100644 index 00000000..ee09fd30 --- /dev/null +++ b/packages/design-system/styles/web/index.ts @@ -0,0 +1,19 @@ +'use client' + +// exports web design-system styles + +export * from './breakpoint' +export * from './palette' +export * from './presets' +export * from './shadow' +export * from './typography' + +export * from './tailwind/plugins' + +export { componentsOverrides } from './material/overrides' +export { createContrast } from './material/options/contrast' +export { createCustomShadows } from './material/custom-shadows' +export * from './material/css' + +export * from './globals' +export * from './types' diff --git a/packages/design-system/styles/material/css.ts b/packages/design-system/styles/web/material/css.ts similarity index 99% rename from packages/design-system/styles/material/css.ts rename to packages/design-system/styles/web/material/css.ts index 0b1edc6b..b8567a10 100644 --- a/packages/design-system/styles/material/css.ts +++ b/packages/design-system/styles/web/material/css.ts @@ -7,6 +7,8 @@ import { menuItemClasses } from '@mui/material/MenuItem' import { Theme, alpha } from '@mui/material/styles' import { CSSObject } from '@mui/system' +import './module-augmentation' + type BgBlurProps = { blur?: number opacity?: number diff --git a/packages/design-system/styles/material/custom-shadows.ts b/packages/design-system/styles/web/material/custom-shadows.ts similarity index 96% rename from packages/design-system/styles/material/custom-shadows.ts rename to packages/design-system/styles/web/material/custom-shadows.ts index bea2a4e3..d0647636 100644 --- a/packages/design-system/styles/material/custom-shadows.ts +++ b/packages/design-system/styles/web/material/custom-shadows.ts @@ -2,8 +2,8 @@ import { alpha } from '@mui/material/styles' -import { ThemeMode } from '../../types' import { common, error, grey, info, primary, secondary, success, warning } from '../palette' +import { ThemeMode } from '../types' export const createCustomShadows = (mode: ThemeMode) => { const color = mode === 'light' ? grey[500] : common.black diff --git a/packages/design-system/styles/material/globals.css b/packages/design-system/styles/web/material/globals.css similarity index 100% rename from packages/design-system/styles/material/globals.css rename to packages/design-system/styles/web/material/globals.css diff --git a/packages/design-system/styles/material/module-augmentation.ts b/packages/design-system/styles/web/material/module-augmentation.ts similarity index 94% rename from packages/design-system/styles/material/module-augmentation.ts rename to packages/design-system/styles/web/material/module-augmentation.ts index 9e641696..5c46f963 100644 --- a/packages/design-system/styles/material/module-augmentation.ts +++ b/packages/design-system/styles/web/material/module-augmentation.ts @@ -1,6 +1,6 @@ import { CSSProperties } from 'react' -import { CustomShadows } from '../../types' +import { CustomShadows } from '../types' declare module '@mui/material/styles' { interface Theme { @@ -10,7 +10,9 @@ declare module '@mui/material/styles' { customShadows?: CustomShadows } interface TypographyVariants { + // @ts-ignore fontSecondaryFamily: CSSProperties['fontFamily'] + // @ts-ignore fontWeightSemiBold: CSSProperties['fontWeight'] } } diff --git a/packages/design-system/styles/material/options/contrast.ts b/packages/design-system/styles/web/material/options/contrast.ts similarity index 89% rename from packages/design-system/styles/material/options/contrast.ts rename to packages/design-system/styles/web/material/options/contrast.ts index 67a23b47..6022a8bc 100644 --- a/packages/design-system/styles/material/options/contrast.ts +++ b/packages/design-system/styles/web/material/options/contrast.ts @@ -1,5 +1,7 @@ -import { ThemeContrast, ThemeMode } from '../../../types' +'use client' + import { grey } from '../../palette' +import type { ThemeContrast, ThemeMode } from '../../types' import { createCustomShadows } from '../custom-shadows' export function createContrast(contrast: ThemeContrast, mode: ThemeMode) { diff --git a/packages/design-system/styles/material/overrides/components/accordion.tsx b/packages/design-system/styles/web/material/overrides/components/accordion.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/accordion.tsx rename to packages/design-system/styles/web/material/overrides/components/accordion.tsx diff --git a/packages/design-system/styles/material/overrides/components/alert.tsx b/packages/design-system/styles/web/material/overrides/components/alert.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/alert.tsx rename to packages/design-system/styles/web/material/overrides/components/alert.tsx diff --git a/packages/design-system/styles/material/overrides/components/appbar.tsx b/packages/design-system/styles/web/material/overrides/components/appbar.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/appbar.tsx rename to packages/design-system/styles/web/material/overrides/components/appbar.tsx diff --git a/packages/design-system/styles/material/overrides/components/autocomplete.tsx b/packages/design-system/styles/web/material/overrides/components/autocomplete.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/autocomplete.tsx rename to packages/design-system/styles/web/material/overrides/components/autocomplete.tsx diff --git a/packages/design-system/styles/material/overrides/components/avatar.tsx b/packages/design-system/styles/web/material/overrides/components/avatar.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/avatar.tsx rename to packages/design-system/styles/web/material/overrides/components/avatar.tsx diff --git a/packages/design-system/styles/material/overrides/components/backdrop.tsx b/packages/design-system/styles/web/material/overrides/components/backdrop.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/backdrop.tsx rename to packages/design-system/styles/web/material/overrides/components/backdrop.tsx diff --git a/packages/design-system/styles/material/overrides/components/badge.tsx b/packages/design-system/styles/web/material/overrides/components/badge.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/badge.tsx rename to packages/design-system/styles/web/material/overrides/components/badge.tsx diff --git a/packages/design-system/styles/material/overrides/components/breadcrumbs.tsx b/packages/design-system/styles/web/material/overrides/components/breadcrumbs.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/breadcrumbs.tsx rename to packages/design-system/styles/web/material/overrides/components/breadcrumbs.tsx diff --git a/packages/design-system/styles/material/overrides/components/button-group.tsx b/packages/design-system/styles/web/material/overrides/components/button-group.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/button-group.tsx rename to packages/design-system/styles/web/material/overrides/components/button-group.tsx diff --git a/packages/design-system/styles/material/overrides/components/button.tsx b/packages/design-system/styles/web/material/overrides/components/button.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/button.tsx rename to packages/design-system/styles/web/material/overrides/components/button.tsx diff --git a/packages/design-system/styles/material/overrides/components/card.tsx b/packages/design-system/styles/web/material/overrides/components/card.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/card.tsx rename to packages/design-system/styles/web/material/overrides/components/card.tsx diff --git a/packages/design-system/styles/material/overrides/components/checkbox.tsx b/packages/design-system/styles/web/material/overrides/components/checkbox.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/checkbox.tsx rename to packages/design-system/styles/web/material/overrides/components/checkbox.tsx diff --git a/packages/design-system/styles/material/overrides/components/chip.tsx b/packages/design-system/styles/web/material/overrides/components/chip.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/chip.tsx rename to packages/design-system/styles/web/material/overrides/components/chip.tsx diff --git a/packages/design-system/styles/material/overrides/components/css-baseline.tsx b/packages/design-system/styles/web/material/overrides/components/css-baseline.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/css-baseline.tsx rename to packages/design-system/styles/web/material/overrides/components/css-baseline.tsx diff --git a/packages/design-system/styles/material/overrides/components/data-grid.tsx b/packages/design-system/styles/web/material/overrides/components/data-grid.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/data-grid.tsx rename to packages/design-system/styles/web/material/overrides/components/data-grid.tsx diff --git a/packages/design-system/styles/material/overrides/components/date-picker.tsx b/packages/design-system/styles/web/material/overrides/components/date-picker.tsx similarity index 97% rename from packages/design-system/styles/material/overrides/components/date-picker.tsx rename to packages/design-system/styles/web/material/overrides/components/date-picker.tsx index 121f9fc5..5617a10f 100644 --- a/packages/design-system/styles/material/overrides/components/date-picker.tsx +++ b/packages/design-system/styles/web/material/overrides/components/date-picker.tsx @@ -1,7 +1,7 @@ import { buttonClasses } from '@mui/material/Button' import { Theme } from '@mui/material/styles' -import Iconify from '../../../../components/Iconify' +import { Iconify } from '../../../../../components/web/images' const dateList = [ 'DatePicker', diff --git a/packages/design-system/styles/material/overrides/components/dialog.tsx b/packages/design-system/styles/web/material/overrides/components/dialog.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/dialog.tsx rename to packages/design-system/styles/web/material/overrides/components/dialog.tsx diff --git a/packages/design-system/styles/material/overrides/components/drawer.tsx b/packages/design-system/styles/web/material/overrides/components/drawer.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/drawer.tsx rename to packages/design-system/styles/web/material/overrides/components/drawer.tsx diff --git a/packages/design-system/styles/material/overrides/components/fab.tsx b/packages/design-system/styles/web/material/overrides/components/fab.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/fab.tsx rename to packages/design-system/styles/web/material/overrides/components/fab.tsx diff --git a/packages/design-system/styles/material/overrides/components/list.tsx b/packages/design-system/styles/web/material/overrides/components/list.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/list.tsx rename to packages/design-system/styles/web/material/overrides/components/list.tsx diff --git a/packages/design-system/styles/material/overrides/components/loading-button.tsx b/packages/design-system/styles/web/material/overrides/components/loading-button.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/loading-button.tsx rename to packages/design-system/styles/web/material/overrides/components/loading-button.tsx diff --git a/packages/design-system/styles/material/overrides/components/menu.tsx b/packages/design-system/styles/web/material/overrides/components/menu.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/menu.tsx rename to packages/design-system/styles/web/material/overrides/components/menu.tsx diff --git a/packages/design-system/styles/material/overrides/components/pagination.tsx b/packages/design-system/styles/web/material/overrides/components/pagination.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/pagination.tsx rename to packages/design-system/styles/web/material/overrides/components/pagination.tsx diff --git a/packages/design-system/styles/material/overrides/components/paper.tsx b/packages/design-system/styles/web/material/overrides/components/paper.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/paper.tsx rename to packages/design-system/styles/web/material/overrides/components/paper.tsx diff --git a/packages/design-system/styles/material/overrides/components/popover.tsx b/packages/design-system/styles/web/material/overrides/components/popover.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/popover.tsx rename to packages/design-system/styles/web/material/overrides/components/popover.tsx diff --git a/packages/design-system/styles/material/overrides/components/progress.tsx b/packages/design-system/styles/web/material/overrides/components/progress.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/progress.tsx rename to packages/design-system/styles/web/material/overrides/components/progress.tsx diff --git a/packages/design-system/styles/material/overrides/components/radio.tsx b/packages/design-system/styles/web/material/overrides/components/radio.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/radio.tsx rename to packages/design-system/styles/web/material/overrides/components/radio.tsx diff --git a/packages/design-system/styles/material/overrides/components/rating.tsx b/packages/design-system/styles/web/material/overrides/components/rating.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/rating.tsx rename to packages/design-system/styles/web/material/overrides/components/rating.tsx diff --git a/packages/design-system/styles/material/overrides/components/select.tsx b/packages/design-system/styles/web/material/overrides/components/select.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/select.tsx rename to packages/design-system/styles/web/material/overrides/components/select.tsx diff --git a/packages/design-system/styles/material/overrides/components/skeleton.tsx b/packages/design-system/styles/web/material/overrides/components/skeleton.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/skeleton.tsx rename to packages/design-system/styles/web/material/overrides/components/skeleton.tsx diff --git a/packages/design-system/styles/material/overrides/components/slider.tsx b/packages/design-system/styles/web/material/overrides/components/slider.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/slider.tsx rename to packages/design-system/styles/web/material/overrides/components/slider.tsx diff --git a/packages/design-system/styles/material/overrides/components/stepper.tsx b/packages/design-system/styles/web/material/overrides/components/stepper.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/stepper.tsx rename to packages/design-system/styles/web/material/overrides/components/stepper.tsx diff --git a/packages/design-system/styles/material/overrides/components/svg-icon.tsx b/packages/design-system/styles/web/material/overrides/components/svg-icon.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/svg-icon.tsx rename to packages/design-system/styles/web/material/overrides/components/svg-icon.tsx diff --git a/packages/design-system/styles/material/overrides/components/switch.tsx b/packages/design-system/styles/web/material/overrides/components/switch.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/switch.tsx rename to packages/design-system/styles/web/material/overrides/components/switch.tsx diff --git a/packages/design-system/styles/material/overrides/components/table.tsx b/packages/design-system/styles/web/material/overrides/components/table.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/table.tsx rename to packages/design-system/styles/web/material/overrides/components/table.tsx diff --git a/packages/design-system/styles/material/overrides/components/tabs.tsx b/packages/design-system/styles/web/material/overrides/components/tabs.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/tabs.tsx rename to packages/design-system/styles/web/material/overrides/components/tabs.tsx diff --git a/packages/design-system/styles/material/overrides/components/textfield.tsx b/packages/design-system/styles/web/material/overrides/components/textfield.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/textfield.tsx rename to packages/design-system/styles/web/material/overrides/components/textfield.tsx diff --git a/packages/design-system/styles/material/overrides/components/timeline.tsx b/packages/design-system/styles/web/material/overrides/components/timeline.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/timeline.tsx rename to packages/design-system/styles/web/material/overrides/components/timeline.tsx diff --git a/packages/design-system/styles/material/overrides/components/toggle-button.tsx b/packages/design-system/styles/web/material/overrides/components/toggle-button.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/toggle-button.tsx rename to packages/design-system/styles/web/material/overrides/components/toggle-button.tsx diff --git a/packages/design-system/styles/material/overrides/components/tooltip.tsx b/packages/design-system/styles/web/material/overrides/components/tooltip.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/tooltip.tsx rename to packages/design-system/styles/web/material/overrides/components/tooltip.tsx diff --git a/packages/design-system/styles/material/overrides/components/tree-view.tsx b/packages/design-system/styles/web/material/overrides/components/tree-view.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/tree-view.tsx rename to packages/design-system/styles/web/material/overrides/components/tree-view.tsx diff --git a/packages/design-system/styles/material/overrides/components/typography.tsx b/packages/design-system/styles/web/material/overrides/components/typography.tsx similarity index 100% rename from packages/design-system/styles/material/overrides/components/typography.tsx rename to packages/design-system/styles/web/material/overrides/components/typography.tsx diff --git a/packages/design-system/styles/material/overrides/default-props.tsx b/packages/design-system/styles/web/material/overrides/default-props.tsx similarity index 99% rename from packages/design-system/styles/material/overrides/default-props.tsx rename to packages/design-system/styles/web/material/overrides/default-props.tsx index dd5efc09..5e710dcb 100644 --- a/packages/design-system/styles/material/overrides/default-props.tsx +++ b/packages/design-system/styles/web/material/overrides/default-props.tsx @@ -1,7 +1,9 @@ +'use client' + import SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon' import { Theme } from '@mui/material/styles' -import Iconify from '../../../components/Iconify' +import { Iconify } from '../../../../components/web/images' const ArrowDownIcon = (props: SvgIconProps) => ( diff --git a/packages/design-system/styles/material/overrides/index.ts b/packages/design-system/styles/web/material/overrides/index.ts similarity index 100% rename from packages/design-system/styles/material/overrides/index.ts rename to packages/design-system/styles/web/material/overrides/index.ts diff --git a/packages/design-system/styles/palette.ts b/packages/design-system/styles/web/palette.ts similarity index 98% rename from packages/design-system/styles/palette.ts rename to packages/design-system/styles/web/palette.ts index ac8e5498..a3c84892 100644 --- a/packages/design-system/styles/palette.ts +++ b/packages/design-system/styles/web/palette.ts @@ -2,7 +2,7 @@ import { alpha } from '@mui/material/styles' -import { Palette, ThemeMode } from '../types' +import { Palette, ThemeMode } from './types' declare module '@mui/material/styles/createPalette' { interface TypeBackground { diff --git a/packages/design-system/styles/presets.ts b/packages/design-system/styles/web/presets.ts similarity index 91% rename from packages/design-system/styles/presets.ts rename to packages/design-system/styles/web/presets.ts index 51eed4ce..649de8c5 100644 --- a/packages/design-system/styles/presets.ts +++ b/packages/design-system/styles/web/presets.ts @@ -2,8 +2,8 @@ import { alpha } from '@mui/material/styles' -import { ColorScheme, PresetType } from '../types' import { grey } from './palette' +import { ColorScheme, PresetType } from './types' export const cyan = { lighter: '#CCF4FE', @@ -68,7 +68,7 @@ export const green = { contrastText: '#FFFFFF', } -export const getPresetOptions = (primary: ColorScheme) => ({ +export const getPresetOptions = (primary: ColorScheme): Record => ({ default: primary, cyan, purple, diff --git a/packages/design-system/styles/shadow.ts b/packages/design-system/styles/web/shadow.ts similarity index 96% rename from packages/design-system/styles/shadow.ts rename to packages/design-system/styles/web/shadow.ts index baeb3dbf..3c843e9b 100644 --- a/packages/design-system/styles/shadow.ts +++ b/packages/design-system/styles/web/shadow.ts @@ -1,9 +1,9 @@ 'use client' -import { Shadows, alpha } from '@mui/material/styles' +import { type Shadows, alpha } from '@mui/material/styles' -import { ThemeMode } from '../types' import { common, grey } from './palette' +import { ThemeMode } from './types' export const createShadows = (mode: ThemeMode): Shadows => { const color = mode === 'light' ? grey[500] : common.black diff --git a/packages/design-system/styles/tailwind/globals.css b/packages/design-system/styles/web/tailwind/globals.css similarity index 100% rename from packages/design-system/styles/tailwind/globals.css rename to packages/design-system/styles/web/tailwind/globals.css diff --git a/packages/design-system/styles/tailwind/plugins/index.ts b/packages/design-system/styles/web/tailwind/plugins/index.ts similarity index 100% rename from packages/design-system/styles/tailwind/plugins/index.ts rename to packages/design-system/styles/web/tailwind/plugins/index.ts diff --git a/packages/design-system/styles/tailwind/plugins/types.ts b/packages/design-system/styles/web/tailwind/plugins/types.ts similarity index 100% rename from packages/design-system/styles/tailwind/plugins/types.ts rename to packages/design-system/styles/web/tailwind/plugins/types.ts diff --git a/packages/design-system/types.ts b/packages/design-system/styles/web/types.ts similarity index 100% rename from packages/design-system/types.ts rename to packages/design-system/styles/web/types.ts diff --git a/packages/design-system/styles/typography.ts b/packages/design-system/styles/web/typography.ts similarity index 100% rename from packages/design-system/styles/typography.ts rename to packages/design-system/styles/web/typography.ts diff --git a/packages/design-system/tailwind.config.js b/packages/design-system/tailwind.config.js index 78cab0d8..94a5455e 100644 --- a/packages/design-system/tailwind.config.js +++ b/packages/design-system/tailwind.config.js @@ -1,9 +1,9 @@ -const { responsiveTypography, hideScrollbar } = require('./styles/tailwind/plugins') -const { breakpoints } = require('./styles/breakpoint') -const { typography } = require('./styles/typography') -const { createPalette } = require('./styles/palette') -const { createShadows } = require('./styles/shadow') -const { createCustomShadows } = require('./styles/material/custom-shadows') +const { responsiveTypography, hideScrollbar } = require('./styles/web/tailwind/plugins') +const { breakpoints } = require('./styles/web/breakpoint') +const { typography } = require('./styles/web/typography') +const { createPalette } = require('./styles/web/palette') +const { createShadows } = require('./styles/web/shadow') +const { createCustomShadows } = require('./styles/web/material/custom-shadows') /** @type {import('tailwindcss').Config} */ module.exports = { diff --git a/packages/design-system/tsconfig.build.json b/packages/design-system/tsconfig.build.json index deebe74b..c2f26674 100644 --- a/packages/design-system/tsconfig.build.json +++ b/packages/design-system/tsconfig.build.json @@ -1,4 +1,21 @@ { "extends": "./tsconfig.json", - "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx", "**/*.cy.tsx"] + "compilerOptions": { + "incremental": false, + "skipLibCheck": true, + "declaration": true, + "declarationMap": true, + "composite": false, + "outDir": "tmp-dts", + "target": "es2022" + }, + "include": ["components", "hooks", "layouts", "providers", "styles", "utils"], + "exclude": [ + "node_modules", + "**/*.test.ts", + "**/*.test.tsx", + "**/*.cy.tsx", + "**/__tests__/**", + "**/__storybook__/**" + ] } diff --git a/packages/design-system/tsconfig.json b/packages/design-system/tsconfig.json index b494fb49..ff6854fd 100644 --- a/packages/design-system/tsconfig.json +++ b/packages/design-system/tsconfig.json @@ -13,5 +13,5 @@ "index.d.ts", "jest.config.ts" ], - "exclude": ["node_modules", "./relay.config.js", "dist"] + "exclude": ["node_modules", "./relay.config.js"] } diff --git a/packages/design-system/tsup.config.ts b/packages/design-system/tsup.config.ts new file mode 100644 index 00000000..ebc0b986 --- /dev/null +++ b/packages/design-system/tsup.config.ts @@ -0,0 +1,32 @@ +/* eslint-disable import/no-extraneous-dependencies */ + +/* eslint-disable no-param-reassign */ +import { defineConfig } from 'tsup' + +export default defineConfig((options) => ({ + clean: false, + dts: false, + entry: ['./(components|hooks|layouts|providers|styles|utils)/(common|web|native)/**/index.ts'], + esbuildOptions(esbuildOptions) { + esbuildOptions.loader = { + ...esbuildOptions.loader, + '.css': 'file', + } + }, + external: [ + 'react', + 'react-dom', + /^@baseapp-frontend\//, + 'react-native', + 'next', + '@mui/material', + '@emotion/*', + ], + format: ['esm', 'cjs'], + minify: !options.watch, + outDir: 'dist', + sourcemap: true, + splitting: true, + treeshake: false, + tsconfig: 'tsconfig.build.json', +})) diff --git a/packages/design-system/utils/common/index.ts b/packages/design-system/utils/common/index.ts new file mode 100644 index 00000000..b3d5ab58 --- /dev/null +++ b/packages/design-system/utils/common/index.ts @@ -0,0 +1 @@ +// exports common design-system utils diff --git a/packages/design-system/utils/native/index.ts b/packages/design-system/utils/native/index.ts new file mode 100644 index 00000000..8d7192ed --- /dev/null +++ b/packages/design-system/utils/native/index.ts @@ -0,0 +1,4 @@ +// exports native design-system utils + +export { default as withNativeController } from './withNativeController' +export type * from './withNativeController/types' diff --git a/packages/design-system/utils/native/withNativeController/index.tsx b/packages/design-system/utils/native/withNativeController/index.tsx new file mode 100644 index 00000000..a682da43 --- /dev/null +++ b/packages/design-system/utils/native/withNativeController/index.tsx @@ -0,0 +1,53 @@ +import React, { FC, forwardRef } from 'react' + +import { Controller } from 'react-hook-form' +import type { TextInput, TextInputProps } from 'react-native' + +import type { WithNativeControllerProps } from './types' + +// TODO: consider moving this to @baseapp-frontend/utils +const withNativeController = (Component: FC) => + forwardRef>( + ({ name, control, helperText, ...props }, ref) => { + if (control) { + const { onChangeText, onBlur, ...restOfTheProps } = props + + return ( + { + const handleOnChangeText = (text: string) => { + field.onChange(text) + onChangeText?.(text) + } + + const handleOnBlur = () => { + field.onBlur() + onBlur?.() + } + + return ( + + ) + }} + /> + ) + } + + return ( + + ) + }, + ) + +export default withNativeController diff --git a/packages/design-system/utils/native/withNativeController/types.ts b/packages/design-system/utils/native/withNativeController/types.ts new file mode 100644 index 00000000..231ca457 --- /dev/null +++ b/packages/design-system/utils/native/withNativeController/types.ts @@ -0,0 +1,10 @@ +import type { ChangeEventHandler, FocusEventHandler } from 'react' + +import type { FormControl } from '@baseapp-frontend/utils/types/form' + +type OptionalActions = { + onChangeText?: (value: any) => void | ChangeEventHandler + onBlur?: (value?: any) => void | FocusEventHandler +} + +export type WithNativeControllerProps = FormControl & T & OptionalActions diff --git a/packages/design-system/utils/web/index.ts b/packages/design-system/utils/web/index.ts new file mode 100644 index 00000000..6ae2950c --- /dev/null +++ b/packages/design-system/utils/web/index.ts @@ -0,0 +1 @@ +// exports web design-system utils diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md index 66184bc2..348a3598 100644 --- a/packages/graphql/CHANGELOG.md +++ b/packages/graphql/CHANGELOG.md @@ -1,5 +1,12 @@ # @baseapp-frontend/graphql +## 1.2.4 + +### Patch Changes + +- Updated dependencies + - @baseapp-frontend/utils@3.1.3 + ## 1.2.3 ### Patch Changes diff --git a/packages/graphql/package.json b/packages/graphql/package.json index ae96ac4f..87cd6720 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -1,7 +1,7 @@ { "name": "@baseapp-frontend/graphql", "description": "GraphQL configurations and utilities", - "version": "1.2.3", + "version": "1.2.4", "main": "./index.ts", "types": "dist/index.d.ts", "sideEffects": false, diff --git a/packages/provider/CHANGELOG.md b/packages/provider/CHANGELOG.md index 16ad43a4..84f9616c 100644 --- a/packages/provider/CHANGELOG.md +++ b/packages/provider/CHANGELOG.md @@ -1,5 +1,12 @@ # @baseapp-frontend/provider +## 2.0.10 + +### Patch Changes + +- Updated dependencies + - @baseapp-frontend/utils@3.1.3 + ## 2.0.9 ### Patch Changes diff --git a/packages/provider/package.json b/packages/provider/package.json index 6b0c92c3..aed8794a 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -1,7 +1,7 @@ { "name": "@baseapp-frontend/provider", "description": "Providers for React Query and Emotion.", - "version": "2.0.9", + "version": "2.0.10", "main": "./index.ts", "types": "dist/index.d.ts", "sideEffects": false, diff --git a/packages/test/CHANGELOG.md b/packages/test/CHANGELOG.md index 54c11aa3..d9931682 100644 --- a/packages/test/CHANGELOG.md +++ b/packages/test/CHANGELOG.md @@ -1,5 +1,11 @@ # @baseapp-frontend/test +## 2.1.1 + +### Patch Changes + +- Fix lint errors. + ## 2.1.0 ### Minor Changes diff --git a/packages/test/package.json b/packages/test/package.json index 5fd4ee38..e7cf5526 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,7 +1,7 @@ { "name": "@baseapp-frontend/test", "description": "Test utils that extends React Testing Library.", - "version": "2.1.0", + "version": "2.1.1", "main": "./index.ts", "types": "dist/index.d.ts", "sideEffects": false, diff --git a/packages/test/utils/mocks.ts b/packages/test/utils/mocks.ts index 8abb693b..e89626b7 100644 --- a/packages/test/utils/mocks.ts +++ b/packages/test/utils/mocks.ts @@ -5,7 +5,7 @@ jest.mock('js-cookie') export type CookiesGetByNameFn = (name: string) => string | undefined -export const cookiesMock = jest.mocked(Cookies) +export const cookiesMock: jest.Mocked = jest.mocked(Cookies) beforeEach(() => { jest.clearAllMocks() diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md index 0a3ef949..b319ee17 100644 --- a/packages/tsconfig/CHANGELOG.md +++ b/packages/tsconfig/CHANGELOG.md @@ -1,5 +1,11 @@ # @baseapp-frontend/tsconfig +## 2.1.1 + +### Patch Changes + +- Change `module` and `moduleResolution` on `lib.json` config. + ## 2.1.0 ### Patch Changes diff --git a/packages/tsconfig/lib.json b/packages/tsconfig/lib.json index 75e4d321..98a833b2 100644 --- a/packages/tsconfig/lib.json +++ b/packages/tsconfig/lib.json @@ -8,8 +8,6 @@ "isolatedModules": true, "jsx": "react-jsx", "lib": ["es2022", "dom", "dom.iterable"], - "module": "NodeNext", - "moduleDetection": "force", "noEmit": false, "noImplicitAny": true, "noImplicitOverride": true, @@ -18,7 +16,10 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, - "target": "es2022", + "moduleDetection": "force", + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "Bundler", "types": ["node"], "verbatimModuleSyntax": false, "paths": { diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index d06756e0..10eba3e5 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -1,7 +1,7 @@ { "name": "@baseapp-frontend/tsconfig", "description": "Reusable typescript configs.", - "version": "2.1.0", + "version": "2.1.1", "files": [ "lib.json", "unit-test.json" diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 34ce082b..52ed6195 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @baseapp-frontend/utils +## 3.1.3 + +### Patch Changes + +- Fix lint errors. + ## 3.1.2 ### Patch Changes diff --git a/packages/utils/functions/cookie/types.ts b/packages/utils/functions/cookie/types.ts index 5e4eb4a9..38dae7a6 100644 --- a/packages/utils/functions/cookie/types.ts +++ b/packages/utils/functions/cookie/types.ts @@ -1,7 +1,45 @@ -import type { CookieAttributes } from 'js-cookie' - import { ServerSideRenderingOption } from '../../types/server' +// TODO: temporary hardcoding CookieAttributes, having problems with importing from js-cookie +interface CookieAttributes { + /** + * Define when the cookie will be removed. Value can be a Number + * which will be interpreted as days from time of creation or a + * Date instance. If omitted, the cookie becomes a session cookie. + */ + expires?: number | Date | undefined + + /** + * Define the path where the cookie is available. Defaults to '/' + */ + path?: string | undefined + + /** + * Define the domain where the cookie is available. Defaults to + * the domain of the page where the cookie was created. + */ + domain?: string | undefined + + /** + * A Boolean indicating if the cookie transmission requires a + * secure protocol (https). Defaults to false. + */ + secure?: boolean | undefined + + /** + * Asserts that a cookie must not be sent with cross-origin requests, + * providing some protection against cross-site request forgery + * attacks (CSRF) + */ + sameSite?: 'strict' | 'Strict' | 'lax' | 'Lax' | 'none' | 'None' | undefined + + /** + * An attribute which will be serialized, conformably to RFC 6265 + * section 5.2. + */ + [property: string]: any +} + export interface GetCookieOptions extends ServerSideRenderingOption { parseJSON?: boolean } diff --git a/packages/utils/functions/token/setTokenAsync/index.ts b/packages/utils/functions/token/setTokenAsync/index.ts index 9ccd0329..c26568ba 100644 --- a/packages/utils/functions/token/setTokenAsync/index.ts +++ b/packages/utils/functions/token/setTokenAsync/index.ts @@ -1,9 +1,48 @@ import { setItemAsync } from 'expo-secure-store' -import { CookieAttributes } from 'js-cookie' import { setCookie } from '../../cookie' import { isMobilePlatform } from '../../os' +// TODO: temporary hardcoding CookieAttributes, having problems with importing from js-cookie +interface CookieAttributes { + /** + * Define when the cookie will be removed. Value can be a Number + * which will be interpreted as days from time of creation or a + * Date instance. If omitted, the cookie becomes a session cookie. + */ + expires?: number | Date | undefined + + /** + * Define the path where the cookie is available. Defaults to '/' + */ + path?: string | undefined + + /** + * Define the domain where the cookie is available. Defaults to + * the domain of the page where the cookie was created. + */ + domain?: string | undefined + + /** + * A Boolean indicating if the cookie transmission requires a + * secure protocol (https). Defaults to false. + */ + secure?: boolean | undefined + + /** + * Asserts that a cookie must not be sent with cross-origin requests, + * providing some protection against cross-site request forgery + * attacks (CSRF) + */ + sameSite?: 'strict' | 'Strict' | 'lax' | 'Lax' | 'none' | 'None' | undefined + + /** + * An attribute which will be serialized, conformably to RFC 6265 + * section 5.2. + */ + [property: string]: any +} + export const setTokenAsync = async (key: string, value: string, config?: CookieAttributes) => { try { if (isMobilePlatform()) { diff --git a/packages/utils/package.json b/packages/utils/package.json index 659a9ff5..9bf2b0f7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@baseapp-frontend/utils", "description": "Util functions, constants and types.", - "version": "3.1.2", + "version": "3.1.3", "main": "./index.ts", "types": "dist/index.d.ts", "sideEffects": false, diff --git a/packages/wagtail/.storybook/__mocks__/theme.ts b/packages/wagtail/.storybook/__mocks__/theme.ts index 5093a3d9..338e75ab 100644 --- a/packages/wagtail/.storybook/__mocks__/theme.ts +++ b/packages/wagtail/.storybook/__mocks__/theme.ts @@ -1,19 +1,17 @@ +import { ThemeProviderProps } from '@baseapp-frontend/design-system/providers/web' import { - ThemeProviderProps, breakpoints, createCustomShadows, createPalette, createShadows, - primaryFont, - secondaryFont, typography, -} from '@baseapp-frontend/design-system' +} from '@baseapp-frontend/design-system/styles/web' const defaultTheme: ThemeProviderProps = { palette: createPalette('light'), breakpoints: breakpoints, - primaryFont: primaryFont, - secondaryFont: secondaryFont, + primaryFont: undefined, + secondaryFont: undefined, settings: { themeMode: 'light', themeContrast: 'default', diff --git a/packages/wagtail/.storybook/decorators/withProviders.tsx b/packages/wagtail/.storybook/decorators/withProviders.tsx index e93f2559..505897d4 100644 --- a/packages/wagtail/.storybook/decorators/withProviders.tsx +++ b/packages/wagtail/.storybook/decorators/withProviders.tsx @@ -1,6 +1,7 @@ import React, { useEffect } from 'react' -import { LoadingState, ThemeProvider } from '@baseapp-frontend/design-system' +import { LoadingState } from '@baseapp-frontend/design-system/components/web/displays' +import { ThemeProvider } from '@baseapp-frontend/design-system/providers/web' import { RelayTestProvider, createTestEnvironment } from '@baseapp-frontend/graphql' import GlobalStyles from '@mui/material/GlobalStyles' diff --git a/packages/wagtail/CHANGELOG.md b/packages/wagtail/CHANGELOG.md index 8c128dc9..96b65f3c 100644 --- a/packages/wagtail/CHANGELOG.md +++ b/packages/wagtail/CHANGELOG.md @@ -1,5 +1,15 @@ # @baseapp-frontend/wagtail +## 2.0.0 + +### Patch Changes + +- Fix lint errors. +- Updated dependencies + - @baseapp-frontend/design-system@1.0.0 + - @baseapp-frontend/utils@3.1.3 + - @baseapp-frontend/graphql@1.2.4 + ## 1.0.19 ### Patch Changes diff --git a/packages/wagtail/modules/components/Blocks/BannerBlock/BannerDescriptionRichText/styled.tsx b/packages/wagtail/modules/components/Blocks/BannerBlock/BannerDescriptionRichText/styled.tsx index ccb36965..72d74d68 100644 --- a/packages/wagtail/modules/components/Blocks/BannerBlock/BannerDescriptionRichText/styled.tsx +++ b/packages/wagtail/modules/components/Blocks/BannerBlock/BannerDescriptionRichText/styled.tsx @@ -1,8 +1,10 @@ 'use client' -import { Box, styled } from '@mui/material' +import { ComponentType } from 'react' -export const RichTextBlockWrapper = styled(Box)(({ theme }) => ({ +import { Box, BoxProps, styled } from '@mui/material' + +export const RichTextBlockWrapper: ComponentType = styled(Box)(({ theme }) => ({ '& p': { ...theme.typography.body1, color: theme.palette.common.white, diff --git a/packages/wagtail/modules/components/Blocks/BannerBlock/styled.tsx b/packages/wagtail/modules/components/Blocks/BannerBlock/styled.tsx index d512f300..c01a86ce 100644 --- a/packages/wagtail/modules/components/Blocks/BannerBlock/styled.tsx +++ b/packages/wagtail/modules/components/Blocks/BannerBlock/styled.tsx @@ -1,10 +1,12 @@ 'use client' -import { Box, styled } from '@mui/material' +import { ComponentType } from 'react' + +import { Box, BoxProps, styled } from '@mui/material' import { ContainerProps } from './types' -export const BannerContainer = styled(Box, { +export const BannerContainer: ComponentType = styled(Box, { shouldForwardProp: (prop) => prop !== 'imagePosition', })(({ theme, imagePosition }) => ({ flexDirection: 'column-reverse', @@ -17,7 +19,7 @@ export const BannerContainer = styled(Box, { }, })) -export const ContentContainer = styled(Box)(({ theme }) => ({ +export const ContentContainer: ComponentType = styled(Box)(({ theme }) => ({ padding: theme.spacing(3.5), display: 'flex', flexDirection: 'column', @@ -27,13 +29,13 @@ export const ContentContainer = styled(Box)(({ theme }) => ({ }, })) -export const TextContainer = styled(Box)(({ theme }) => ({ +export const TextContainer: ComponentType = styled(Box)(({ theme }) => ({ display: 'flex', flexDirection: 'column', gap: theme.spacing(1), })) -export const ImageContainer = styled(Box)(({ theme }) => ({ +export const ImageContainer: ComponentType = styled(Box)(({ theme }) => ({ position: 'relative', height: '215px', [theme.breakpoints.up('md')]: { diff --git a/packages/wagtail/modules/components/Blocks/RichTextBlock/styled.tsx b/packages/wagtail/modules/components/Blocks/RichTextBlock/styled.tsx index 77c5a6ba..22227aa3 100644 --- a/packages/wagtail/modules/components/Blocks/RichTextBlock/styled.tsx +++ b/packages/wagtail/modules/components/Blocks/RichTextBlock/styled.tsx @@ -1,8 +1,10 @@ 'use client' -import { Box, alpha, styled } from '@mui/material' +import { ComponentType } from 'react' -export const RichTextBlockWrapper = styled(Box)(({ theme }) => ({ +import { Box, BoxProps, alpha, styled } from '@mui/material' + +export const RichTextBlockWrapper: ComponentType = styled(Box)(({ theme }) => ({ '& > *:not(:last-child)': { paddingBottom: theme.spacing(2), }, diff --git a/packages/wagtail/modules/components/Blocks/SectionStreamBlock/styled.tsx b/packages/wagtail/modules/components/Blocks/SectionStreamBlock/styled.tsx index ceb3b4dd..c878b753 100644 --- a/packages/wagtail/modules/components/Blocks/SectionStreamBlock/styled.tsx +++ b/packages/wagtail/modules/components/Blocks/SectionStreamBlock/styled.tsx @@ -1,8 +1,10 @@ 'use client' -import { Box, styled } from '@mui/material' +import { ComponentType } from 'react' -export const StreamFieldWrapper = styled(Box)(({ theme }) => ({ +import { Box, BoxProps, styled } from '@mui/material' + +export const StreamFieldWrapper: ComponentType = styled(Box)(({ theme }) => ({ display: 'flex', flexDirection: 'column', gap: theme.spacing(2), diff --git a/packages/wagtail/modules/components/PageTypes/StandardPage/styled.tsx b/packages/wagtail/modules/components/PageTypes/StandardPage/styled.tsx index 45dda2b6..f49c697d 100644 --- a/packages/wagtail/modules/components/PageTypes/StandardPage/styled.tsx +++ b/packages/wagtail/modules/components/PageTypes/StandardPage/styled.tsx @@ -1,9 +1,10 @@ 'use client' -import { styled } from '@mui/material' -import { Box } from '@mui/system' +import { ComponentType } from 'react' -export const ImageBox = styled(Box)(({ theme }) => ({ +import { Box, BoxProps, styled } from '@mui/material' + +export const ImageBox: ComponentType = styled(Box)(({ theme }) => ({ position: 'relative', width: '100%', height: '260px', diff --git a/packages/wagtail/package.json b/packages/wagtail/package.json index 3c16591e..efd64615 100644 --- a/packages/wagtail/package.json +++ b/packages/wagtail/package.json @@ -1,7 +1,7 @@ { "name": "@baseapp-frontend/wagtail", "description": "BaseApp Wagtail", - "version": "1.0.19", + "version": "2.0.0", "main": "./index.ts", "types": "dist/index.d.ts", "sideEffects": false, diff --git a/packages/wagtail/tailwind.config.js b/packages/wagtail/tailwind.config.js index 5c7aee2c..be4461b1 100644 --- a/packages/wagtail/tailwind.config.js +++ b/packages/wagtail/tailwind.config.js @@ -1,14 +1,12 @@ const { responsiveTypography, hideScrollbar, -} = require('@baseapp-frontend/design-system/styles/tailwind/plugins') -const { breakpoints } = require('@baseapp-frontend/design-system/styles/breakpoint') -const { typography } = require('@baseapp-frontend/design-system/styles/typography') -const { createPalette } = require('@baseapp-frontend/design-system/styles/palette') -const { createShadows } = require('@baseapp-frontend/design-system/styles/shadow') -const { + breakpoints, + typography, + createPalette, + createShadows, createCustomShadows, -} = require('@baseapp-frontend/design-system/styles/material/custom-shadows') +} = require('@baseapp-frontend/design-system/styles/web') /** @type {import('tailwindcss').Config} */ module.exports = { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 515691ae..2f6e2614 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,6 +48,9 @@ catalogs: react-virtuoso: specifier: 4.7.11 version: 4.7.11 + tsup: + specifier: 8.3.6 + version: 8.3.6 typescript: specifier: 5.4.5 version: 5.4.5 @@ -139,7 +142,7 @@ catalogs: version: 6.10.2 eslint-plugin-react: specifier: ^7.31.11 - version: 7.37.3 + version: 7.37.4 eslint-plugin-react-hooks: specifier: ^4.6.0 version: 4.6.2 @@ -157,7 +160,7 @@ catalogs: version: 3.4.2 prettier-plugin-tailwindcss: specifier: ^0.6.3 - version: 0.6.9 + version: 0.6.11 material-ui: '@emotion/cache': specifier: 11.11.0 @@ -187,15 +190,42 @@ catalogs: specifier: 7.6.2 version: 7.6.2 react-native-core: + '@gorhom/bottom-sheet': + specifier: ^5.0.6 + version: 5.0.6 + '@react-navigation/drawer': + specifier: ^7.0.19 + version: 7.1.1 + '@react-navigation/native': + specifier: ^7.0.6 + version: 7.0.14 expo-constants: specifier: ~17.0.3 - version: 17.0.3 + version: 17.0.5 + expo-file-system: + specifier: ~18.0.6 + version: 18.0.8 + expo-image-picker: + specifier: ~16.0.4 + version: 16.0.5 + expo-router: + specifier: ~4.0.5 + version: 4.0.17 expo-secure-store: specifier: ~14.0.0 - version: 14.0.0 + version: 14.0.1 react-native: specifier: 0.76.3 version: 0.76.3 + react-native-gesture-handler: + specifier: ~2.20.2 + version: 2.20.2 + react-native-paper: + specifier: ^5.12.5 + version: 5.13.1 + react-native-reanimated: + specifier: ~3.16.3 + version: 3.16.7 react18: '@types/react': specifier: 18.3.3 @@ -304,7 +334,7 @@ catalogs: version: 3.10.1 '@faker-js/faker': specifier: ^9.0.3 - version: 9.3.0 + version: 9.4.0 '@testing-library/cypress': specifier: 10.0.2 version: 10.0.2 @@ -355,7 +385,7 @@ importers: devDependencies: '@changesets/cli': specifier: ^2.27.11 - version: 2.27.11 + version: 2.27.12 '@parcel/packager-ts': specifier: latest version: 2.13.3(@parcel/core@2.13.3) @@ -379,7 +409,7 @@ importers: version: 3.4.2 turbo: specifier: ^2.1.1 - version: 2.3.3 + version: 2.4.0 typescript: specifier: 'catalog:' version: 5.4.5 @@ -428,10 +458,10 @@ importers: version: link:../tsconfig '@faker-js/faker': specifier: catalog:test - version: 9.3.0 + version: 9.4.0 '@testing-library/jest-dom': specifier: catalog:test - version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) + version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': specifier: catalog:test version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -455,19 +485,19 @@ importers: version: 18.3.0 babel-jest: specifier: catalog:test - version: 29.7.0(@babel/core@7.26.0) + version: 29.7.0(@babel/core@7.26.7) jest: specifier: catalog:test - version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: specifier: catalog:test version: 29.7.0 ts-jest: specifier: catalog:test - version: 29.1.4(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) + version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: specifier: catalog:test - version: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) + version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: specifier: 'catalog:' version: 5.4.5 @@ -495,6 +525,9 @@ importers: '@emotion/styled': specifier: catalog:material-ui version: 11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) + '@gorhom/bottom-sheet': + specifier: catalog:react-native-core + version: 5.0.6(@types/react@18.3.3)(react-native-gesture-handler@2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) '@hookform/resolvers': specifier: 'catalog:' version: 3.6.0(react-hook-form@7.51.5(react@18.3.1)) @@ -519,9 +552,18 @@ importers: '@tanstack/react-query': specifier: 'catalog:' version: 5.45.1(react@18.3.1) + expo-file-system: + specifier: catalog:react-native-core + version: 18.0.8(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + expo-image-picker: + specifier: catalog:react-native-core + version: 16.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) + expo-router: + specifier: catalog:react-native-core + version: 4.0.17(c4log3y7thytwjue35umqzwa3y) framer-motion: specifier: ^11.5.4 - version: 11.16.4(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 11.18.2(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) graphql: specifier: catalog:graphql version: 16.8.1 @@ -533,7 +575,7 @@ importers: version: 3.4.4 next: specifier: 'catalog:' - version: 14.3.0-canary.24(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) numbro: specifier: ^2.5.0 version: 2.5.0 @@ -546,6 +588,12 @@ importers: react-hook-form: specifier: 'catalog:' version: 7.51.5(react@18.3.1) + react-native: + specifier: catalog:react-native-core + version: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-gesture-handler: + specifier: catalog:react-native-core + version: 2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) react-relay: specifier: catalog:graphql version: 16.2.0(react@18.3.1) @@ -571,15 +619,18 @@ importers: specifier: 'catalog:' version: 4.5.2(@types/react@18.3.3)(react@18.3.1) devDependencies: + '@babel/cli': + specifier: ^7.26.4 + version: 7.26.4(@babel/core@7.26.7) '@babel/preset-env': specifier: catalog:storybook - version: 7.26.0(@babel/core@7.26.0) + version: 7.26.0(@babel/core@7.26.7) '@babel/preset-react': specifier: catalog:storybook - version: 7.25.9(@babel/core@7.26.0) + version: 7.25.9(@babel/core@7.26.7) '@babel/preset-typescript': specifier: catalog:storybook - version: 7.26.0(@babel/core@7.26.0) + version: 7.26.0(@babel/core@7.26.7) '@baseapp-frontend/config': specifier: workspace:* version: link:../config @@ -597,7 +648,7 @@ importers: version: 3.10.1(webpack-cli@5.1.4)(webpack@5.93.0) '@faker-js/faker': specifier: catalog:test - version: 9.3.0 + version: 9.4.0 '@storybook/addon-docs': specifier: catalog:storybook version: 8.4.7(@types/react@18.3.3)(storybook@8.4.7(prettier@3.4.2)) @@ -621,19 +672,19 @@ importers: version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-webpack5': specifier: catalog:storybook - version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) + version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) '@storybook/test': specifier: catalog:storybook version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@tailwindcss/typography': specifier: catalog:tailwind - version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5))) + version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/cypress': specifier: catalog:test version: 10.0.2(cypress@13.16.1) '@testing-library/jest-dom': specifier: catalog:test - version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5))) + version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': specifier: catalog:test version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -669,10 +720,10 @@ importers: version: 10.4.19(postcss@8.4.38) babel-jest: specifier: catalog:test - version: 29.7.0(@babel/core@7.26.0) + version: 29.7.0(@babel/core@7.26.7) babel-loader: specifier: catalog:storybook - version: 9.2.1(@babel/core@7.26.0)(webpack@5.93.0) + version: 9.2.1(@babel/core@7.26.7)(webpack@5.93.0) babel-plugin-relay: specifier: catalog:graphql version: 17.0.0 @@ -705,7 +756,7 @@ importers: version: 5.6.0(webpack@5.93.0) jest: specifier: catalog:test - version: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: specifier: catalog:test version: 29.7.0 @@ -714,10 +765,10 @@ importers: version: 2.9.3(@types/react@18.3.3)(react@18.3.1) msw: specifier: catalog:storybook - version: 2.6.6(@types/node@22.10.5)(typescript@5.4.5) + version: 2.6.6(@types/node@22.7.2)(typescript@5.4.5) msw-storybook-addon: specifier: catalog:storybook - version: 2.0.4(msw@2.6.6(@types/node@22.10.5)(typescript@5.4.5)) + version: 2.0.4(msw@2.6.6(@types/node@22.7.2)(typescript@5.4.5)) postcss: specifier: catalog:tailwind version: 8.4.38 @@ -738,19 +789,22 @@ importers: version: 4.0.0(webpack@5.93.0) tailwindcss: specifier: catalog:tailwind - version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) ts-jest: specifier: catalog:test - version: 29.1.4(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)))(typescript@5.4.5) + version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: specifier: catalog:test - version: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5) + version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) + tsup: + specifier: 'catalog:' + version: 8.3.6(@swc/core@1.10.12(@swc/helpers@0.5.15))(jiti@1.21.7)(postcss@8.4.38)(typescript@5.4.5)(yaml@2.7.0) typescript: specifier: 'catalog:' version: 5.4.5 webpack: specifier: catalog:storybook - version: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + version: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-cli: specifier: catalog:storybook version: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) @@ -783,7 +837,7 @@ importers: version: 8.57.1 eslint-config-airbnb: specifier: catalog:lint - version: 19.0.4(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.37.3(eslint@8.57.1))(eslint@8.57.1) + version: 19.0.4(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.37.4(eslint@8.57.1))(eslint@8.57.1) eslint-config-airbnb-typescript: specifier: catalog:lint version: 17.1.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5))(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1) @@ -801,7 +855,7 @@ importers: version: 6.10.2(eslint@8.57.1) eslint-plugin-react: specifier: catalog:lint - version: 7.37.3(eslint@8.57.1) + version: 7.37.4(eslint@8.57.1) eslint-plugin-react-hooks: specifier: catalog:lint version: 4.6.2(eslint@8.57.1) @@ -810,7 +864,7 @@ importers: version: 3.4.2 prettier-plugin-tailwindcss: specifier: catalog:lint - version: 0.6.9(@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.4.2))(prettier@3.4.2) + version: 0.6.11(@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.4.2))(prettier@3.4.2) packages/design-system: dependencies: @@ -826,6 +880,12 @@ importers: '@emotion/styled': specifier: catalog:material-ui version: 11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) + '@expo/vector-icons': + specifier: ^14.0.4 + version: 14.0.4 + '@gorhom/bottom-sheet': + specifier: catalog:react-native-core + version: 5.0.6(@types/react@18.3.3)(react-native-gesture-handler@2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) '@iconify/react': specifier: ^5.0.1 version: 5.2.0(react@18.3.1) @@ -840,19 +900,31 @@ importers: version: 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material-nextjs': specifier: catalog:material-ui - version: 6.1.4(@emotion/cache@11.11.0)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(next@14.3.0-canary.24(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 6.1.4(@emotion/cache@11.11.0)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(next@14.3.0-canary.24(@babel/core@7.26.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@mui/system': specifier: catalog:material-ui version: 5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@mui/x-date-pickers': specifier: catalog:material-ui version: 7.6.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(dayjs@1.11.13)(luxon@3.4.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@react-navigation/drawer': + specifier: catalog:react-native-core + version: 7.1.1(spdwnyxuaxm5ofzxwman2mtlfu) + '@react-navigation/native': + specifier: catalog:react-native-core + version: 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) '@storybook/react': specifier: catalog:storybook version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) + color: + specifier: ^4.2.3 + version: 4.2.3 + expo-router: + specifier: catalog:react-native-core + version: 4.0.17(h6bmitmr6bi5wwxdmjsyclx5wa) framer-motion: specifier: ^11.2.10 - version: 11.16.4(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 11.18.2(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) jotai: specifier: 'catalog:' version: 2.9.3(@types/react@18.3.3)(react@18.3.1) @@ -861,7 +933,7 @@ importers: version: 4.17.21 next: specifier: 'catalog:' - version: 14.3.0-canary.24(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: catalog:react18 version: 18.3.1 @@ -877,19 +949,31 @@ importers: react-lazy-load-image-component: specifier: ^1.6.2 version: 1.6.3(react@18.3.1) + react-native: + specifier: catalog:react-native-core + version: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-paper: + specifier: catalog:react-native-core + version: 5.13.1(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-vector-icons@10.2.0)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-reanimated: + specifier: catalog:react-native-core + version: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-svg: + specifier: ^15.9.0 + version: 15.11.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) simplebar-react: specifier: ^3.2.5 version: 3.3.0(react@18.3.1) devDependencies: '@babel/preset-env': specifier: catalog:storybook - version: 7.26.0(@babel/core@7.26.0) + version: 7.26.0(@babel/core@7.26.7) '@babel/preset-react': specifier: catalog:storybook - version: 7.25.9(@babel/core@7.26.0) + version: 7.25.9(@babel/core@7.26.7) '@babel/preset-typescript': specifier: catalog:storybook - version: 7.26.0(@babel/core@7.26.0) + version: 7.26.0(@babel/core@7.26.7) '@baseapp-frontend/config': specifier: workspace:* version: link:../config @@ -916,22 +1000,25 @@ importers: version: 8.4.7(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-styling-webpack': specifier: catalog:storybook - version: 1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + version: 1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) '@storybook/addon-webpack5-compiler-babel': specifier: catalog:storybook - version: 3.0.3(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + version: 3.0.3(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) '@storybook/blocks': specifier: catalog:storybook version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-webpack5': specifier: catalog:storybook - version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) + version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) '@storybook/test': specifier: catalog:storybook version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@tailwindcss/typography': specifier: catalog:tailwind - version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5))) + version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) + '@types/color': + specifier: ^4.2.0 + version: 4.2.0 '@types/lodash': specifier: 'catalog:' version: 4.17.7 @@ -944,9 +1031,12 @@ importers: autoprefixer: specifier: catalog:tailwind version: 10.4.19(postcss@8.4.38) + chokidar-cli: + specifier: ^3.0.0 + version: 3.0.0 css-loader: specifier: catalog:storybook - version: 7.1.2(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + version: 7.1.2(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) eslint-plugin-storybook: specifier: catalog:lint version: 0.8.0(eslint@8.57.1)(typescript@5.4.5) @@ -955,16 +1045,19 @@ importers: version: 8.4.38 postcss-loader: specifier: catalog:storybook - version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) storybook: specifier: catalog:storybook version: 8.4.7(prettier@3.4.2) style-loader: specifier: catalog:storybook - version: 4.0.0(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + version: 4.0.0(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) tailwindcss: specifier: catalog:tailwind - version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + tsup: + specifier: 'catalog:' + version: 8.3.6(@swc/core@1.10.12(@swc/helpers@0.5.15))(jiti@1.21.7)(postcss@8.4.38)(typescript@5.4.5)(yaml@2.7.0) typescript: specifier: 'catalog:' version: 5.4.5 @@ -986,10 +1079,10 @@ importers: version: 29.5.12 parcel: specifier: ^2.12.0 - version: 2.13.3(@swc/helpers@0.5.15)(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) + version: 2.13.3(@swc/helpers@0.5.15)(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) ts-node: specifier: catalog:test - version: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5) + version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: specifier: 'catalog:' version: 5.4.5 @@ -1121,7 +1214,7 @@ importers: version: link:../tsconfig '@testing-library/jest-dom': specifier: catalog:test - version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) + version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': specifier: catalog:test version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1145,19 +1238,19 @@ importers: version: 18.3.0 babel-jest: specifier: catalog:test - version: 29.7.0(@babel/core@7.26.0) + version: 29.7.0(@babel/core@7.26.7) jest: specifier: catalog:test - version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: specifier: catalog:test version: 29.7.0 ts-jest: specifier: catalog:test - version: 29.1.4(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) + version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: specifier: catalog:test - version: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) + version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: specifier: 'catalog:' version: 5.4.5 @@ -1174,10 +1267,10 @@ importers: version: 3.3.0 expo-constants: specifier: catalog:react-native-core - version: 17.0.3(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1)) + version: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) expo-secure-store: specifier: catalog:react-native-core - version: 14.0.0(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) + version: 14.0.1(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) humps: specifier: ^2.0.1 version: 2.0.1 @@ -1195,10 +1288,10 @@ importers: version: 3.4.4 next: specifier: 'catalog:' - version: 14.3.0-canary.24(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) qs: specifier: ^6.12.1 - version: 6.13.1 + version: 6.14.0 react: specifier: catalog:react18 version: 18.3.1 @@ -1207,7 +1300,7 @@ importers: version: 7.51.5(react@18.3.1) react-native: specifier: catalog:react-native-core - version: 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1) + version: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) server-only: specifier: ^0.0.1 version: 0.0.1 @@ -1226,7 +1319,7 @@ importers: version: link:../tsconfig '@testing-library/jest-dom': specifier: catalog:test - version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) + version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': specifier: catalog:test version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1253,7 +1346,7 @@ importers: version: 22.7.2 '@types/qs': specifier: ^6.9.7 - version: 6.9.17 + version: 6.9.18 '@types/react': specifier: catalog:react18 version: 18.3.3 @@ -1262,19 +1355,19 @@ importers: version: 18.3.0 babel-jest: specifier: catalog:test - version: 29.7.0(@babel/core@7.26.0) + version: 29.7.0(@babel/core@7.26.7) jest: specifier: catalog:test - version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: specifier: catalog:test version: 29.7.0 ts-jest: specifier: catalog:test - version: 29.1.4(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) + version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: specifier: catalog:test - version: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) + version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: specifier: 'catalog:' version: 5.4.5 @@ -1307,7 +1400,7 @@ importers: version: 16.8.1 next: specifier: 'catalog:' - version: 14.3.0-canary.24(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: catalog:react18 version: 18.3.1 @@ -1317,13 +1410,13 @@ importers: devDependencies: '@babel/preset-env': specifier: catalog:storybook - version: 7.26.0(@babel/core@7.26.0) + version: 7.26.0(@babel/core@7.26.7) '@babel/preset-react': specifier: catalog:storybook - version: 7.25.9(@babel/core@7.26.0) + version: 7.25.9(@babel/core@7.26.7) '@babel/preset-typescript': specifier: catalog:storybook - version: 7.26.0(@babel/core@7.26.0) + version: 7.26.0(@babel/core@7.26.7) '@baseapp-frontend/config': specifier: workspace:* version: link:../config @@ -1359,13 +1452,13 @@ importers: version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-webpack5': specifier: catalog:storybook - version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) + version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) '@storybook/test': specifier: catalog:storybook version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@tailwindcss/typography': specifier: catalog:tailwind - version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5))) + version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/cypress': specifier: catalog:test version: 10.0.2(cypress@13.16.1) @@ -1392,7 +1485,7 @@ importers: version: 10.4.19(postcss@8.4.38) babel-loader: specifier: catalog:storybook - version: 9.2.1(@babel/core@7.26.0)(webpack@5.93.0) + version: 9.2.1(@babel/core@7.26.7)(webpack@5.93.0) babel-plugin-relay: specifier: catalog:graphql version: 17.0.0 @@ -1422,10 +1515,10 @@ importers: version: 5.6.0(webpack@5.93.0) msw: specifier: catalog:storybook - version: 2.6.6(@types/node@22.10.5)(typescript@5.4.5) + version: 2.6.6(@types/node@22.7.2)(typescript@5.4.5) msw-storybook-addon: specifier: catalog:storybook - version: 2.0.4(msw@2.6.6(@types/node@22.10.5)(typescript@5.4.5)) + version: 2.0.4(msw@2.6.6(@types/node@22.7.2)(typescript@5.4.5)) postcss: specifier: catalog:tailwind version: 8.4.38 @@ -1446,13 +1539,13 @@ importers: version: 4.0.0(webpack@5.93.0) tailwindcss: specifier: catalog:tailwind - version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) typescript: specifier: 'catalog:' version: 5.4.5 webpack: specifier: catalog:storybook - version: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + version: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack-cli@5.1.4) webpack-cli: specifier: catalog:storybook version: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) @@ -1481,6 +1574,13 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} + '@babel/cli@7.26.4': + resolution: {integrity: sha512-+mORf3ezU3p3qr+82WvJSnQNE1GAYeoCfEv4fik6B5/2cvKZ75AX8oawWQdXtM9MmndooQj15Jr9kelRFWsuRw==} + engines: {node: '>=6.9.0'} + hasBin: true + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/code-frame@7.10.4': resolution: {integrity: sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==} @@ -1488,28 +1588,28 @@ packages: resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.26.3': - resolution: {integrity: sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==} + '@babel/compat-data@7.26.5': + resolution: {integrity: sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg==} engines: {node: '>=6.9.0'} - '@babel/core@7.26.0': - resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==} + '@babel/core@7.26.7': + resolution: {integrity: sha512-SRijHmF0PSPgLIBYlWnG0hyeJLwXE2CgpsXaMOrtt2yp9/86ALw6oUlj9KYuZ0JN07T4eBMVIW4li/9S1j2BGA==} engines: {node: '>=6.9.0'} '@babel/generator@7.17.7': resolution: {integrity: sha512-oLcVCTeIFadUoArDTwpluncplrYBmTCCZZgXCbgNGvOBBiSDDK3eWO4b/+eOTli5tKv1lg+a5/NAXg+nTcei1w==} engines: {node: '>=6.9.0'} - '@babel/generator@7.26.3': - resolution: {integrity: sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==} + '@babel/generator@7.26.5': + resolution: {integrity: sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.25.9': resolution: {integrity: sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==} engines: {node: '>=6.9.0'} - '@babel/helper-compilation-targets@7.25.9': - resolution: {integrity: sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==} + '@babel/helper-compilation-targets@7.26.5': + resolution: {integrity: sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==} engines: {node: '>=6.9.0'} '@babel/helper-create-class-features-plugin@7.25.9': @@ -1559,8 +1659,8 @@ packages: resolution: {integrity: sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==} engines: {node: '>=6.9.0'} - '@babel/helper-plugin-utils@7.25.9': - resolution: {integrity: sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==} + '@babel/helper-plugin-utils@7.26.5': + resolution: {integrity: sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==} engines: {node: '>=6.9.0'} '@babel/helper-remap-async-to-generator@7.25.9': @@ -1569,8 +1669,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-replace-supers@7.25.9': - resolution: {integrity: sha512-IiDqTOTBQy0sWyeXyGSC5TBJpGFXBkRynjBeXsvbhQFKj2viwJC76Epz35YLU1fpe/Am6Vppb7W7zM4fPQzLsQ==} + '@babel/helper-replace-supers@7.26.5': + resolution: {integrity: sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -1599,16 +1699,16 @@ packages: resolution: {integrity: sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.26.0': - resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==} + '@babel/helpers@7.26.7': + resolution: {integrity: sha512-8NHiL98vsi0mbPQmYAGWwfcFaOy4j2HY49fXJCfuDcdE7fMIsH9a7GdaeXpIBsbT7307WU8KCMp5pUVDNL4f9A==} engines: {node: '>=6.9.0'} '@babel/highlight@7.25.9': resolution: {integrity: sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.26.3': - resolution: {integrity: sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==} + '@babel/parser@7.26.7': + resolution: {integrity: sha512-kEvgGGgEjRUutvdVvZhbn/BxVt+5VSpwXz1j3WYXQbXDo8KzFOPNG2GQbdAiNq8g6wn1yKk7C/qrke03a84V+w==} engines: {node: '>=6.0.0'} hasBin: true @@ -1825,8 +1925,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-block-scoped-functions@7.25.9': - resolution: {integrity: sha512-toHc9fzab0ZfenFpsyYinOX0J/5dgJVA2fm64xPewu7CoYHWEivIWKxkK2rMi4r3yQqLnVmheMXRdG+k239CgA==} + '@babel/plugin-transform-block-scoped-functions@7.26.5': + resolution: {integrity: sha512-chuTSY+hq09+/f5lMj8ZSYgCFpppV2CbYrhNFJ1BFoXpiWPnnAb7R0MqrafCpN8E1+YRrtM1MXZHJdIx8B6rMQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1903,8 +2003,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-flow-strip-types@7.25.9': - resolution: {integrity: sha512-/VVukELzPDdci7UUsWQaSkhgnjIWXnIyRpM02ldxaVoFK96c41So8JcKT3m0gYjyv7j5FNPGS5vfELrWalkbDA==} + '@babel/plugin-transform-flow-strip-types@7.26.5': + resolution: {integrity: sha512-eGK26RsbIkYUns3Y8qKl362juDDYK+wEdPGHGrhzUl6CewZFo55VZ7hg+CyMFU4dd5QQakBN86nBMpRsFpRvbQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1981,8 +2081,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-nullish-coalescing-operator@7.25.9': - resolution: {integrity: sha512-ENfftpLZw5EItALAD4WsY/KUWvhUlZndm5GC7G3evUsVeSJB6p0pBeLQUnRnBCBx7zV0RKQjR9kCuwrsIrjWog==} + '@babel/plugin-transform-nullish-coalescing-operator@7.26.6': + resolution: {integrity: sha512-CKW8Vu+uUZneQCPtXmSBUC6NCAUdya26hWCElAWh5mVSlSRsmiCPUUDKb3Z0szng1hiAJa098Hkhg9o4SE35Qw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -2125,14 +2225,14 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-typeof-symbol@7.25.9': - resolution: {integrity: sha512-v61XqUMiueJROUv66BVIOi0Fv/CUuZuZMl5NkRoCVxLAnMexZ0A3kMe7vvZ0nulxMuMp0Mk6S5hNh48yki08ZA==} + '@babel/plugin-transform-typeof-symbol@7.26.7': + resolution: {integrity: sha512-jfoTXXZTgGg36BmhqT3cAYK5qkmqvJpvNrPhaK/52Vgjhw4Rq29s9UqpWWV0D6yuRmgiFH/BUVlkl96zJWqnaw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-typescript@7.26.3': - resolution: {integrity: sha512-6+5hpdr6mETwSKjmJUdYw0EIkATiQhnELWlE3kJFBwSg/BGIVwVaVbX+gOXBCdc7Ln1RXZxyWGecIXhUfnl7oA==} + '@babel/plugin-transform-typescript@7.26.7': + resolution: {integrity: sha512-5cJurntg+AT+cgelGP9Bt788DKiAw9gIMSMU2NJrLAilnj0m8WZWUNZPSLOmadYsujHutpgElO+50foX+ib/Wg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -2196,8 +2296,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/runtime@7.26.0': - resolution: {integrity: sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==} + '@babel/runtime@7.26.7': + resolution: {integrity: sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==} engines: {node: '>=6.9.0'} '@babel/template@7.25.9': @@ -2208,16 +2308,16 @@ packages: resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.26.4': - resolution: {integrity: sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==} + '@babel/traverse@7.26.7': + resolution: {integrity: sha512-1x1sgeyRLC3r5fQOM0/xtQKsYjyxmFjaOrLJNtZ81inNjyJHGIolTULPiSc/2qe1/qfpFLisLQYFnnZl7QoedA==} engines: {node: '>=6.9.0'} '@babel/types@7.17.0': resolution: {integrity: sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==} engines: {node: '>=6.9.0'} - '@babel/types@7.26.3': - resolution: {integrity: sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==} + '@babel/types@7.26.7': + resolution: {integrity: sha512-t8kDRGrKXyp6+tjUh7hw2RLyclsW4TRoRvRHtSyAX9Bb5ldlFh+90YAYY6awRXrlB4G5G2izNeGySpATlFzmOg==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': @@ -2232,8 +2332,13 @@ packages: '@bundled-es-modules/tough-cookie@0.1.6': resolution: {integrity: sha512-dvMHbL464C0zI+Yqxbz6kZ5TOEp7GLW+pry/RWndAR8MJQAXZ2rPmIs8tziTZjeIyhSNZgZbCePtfSbdWqStJw==} - '@changesets/apply-release-plan@7.0.7': - resolution: {integrity: sha512-qnPOcmmmnD0MfMg9DjU1/onORFyRpDXkMMl2IJg9mECY6RnxL3wN0TCCc92b2sXt1jt8DgjAUUsZYGUGTdYIXA==} + '@callstack/react-theme-provider@3.0.9': + resolution: {integrity: sha512-tTQ0uDSCL0ypeMa8T/E9wAZRGKWj8kXP7+6RYgPTfOPs9N07C9xM8P02GJ3feETap4Ux5S69D9nteq9mEj86NA==} + peerDependencies: + react: '>=16.3.0' + + '@changesets/apply-release-plan@7.0.8': + resolution: {integrity: sha512-qjMUj4DYQ1Z6qHawsn7S71SujrExJ+nceyKKyI9iB+M5p9lCL55afuEd6uLBPRpLGWQwkwvWegDHtwHJb1UjpA==} '@changesets/assemble-release-plan@6.0.5': resolution: {integrity: sha512-IgvBWLNKZd6k4t72MBTBK3nkygi0j3t3zdC1zrfusYo0KpdsvnDjrMM9vPnTCLCMlfNs55jRL4gIMybxa64FCQ==} @@ -2241,8 +2346,8 @@ packages: '@changesets/changelog-git@0.2.0': resolution: {integrity: sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==} - '@changesets/cli@2.27.11': - resolution: {integrity: sha512-1QislpE+nvJgSZZo9+Lj3Lno5pKBgN46dAV8IVxKJy9wX8AOrs9nn5pYVZuDpoxWJJCALmbfOsHkyxujgetQSg==} + '@changesets/cli@2.27.12': + resolution: {integrity: sha512-9o3fOfHYOvBnyEn0mcahB7wzaA3P4bGJf8PNqGit5PKaMEFdsRixik+txkrJWd2VX+O6wRFXpxQL8j/1ANKE9g==} hasBin: true '@changesets/config@3.0.5': @@ -2315,6 +2420,10 @@ packages: resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} engines: {node: '>=10.0.0'} + '@egjs/hammerjs@2.0.17': + resolution: {integrity: sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==} + engines: {node: '>=0.8.0'} + '@emnapi/runtime@1.3.1': resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==} @@ -2559,53 +2668,58 @@ packages: resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==} engines: {node: '>=0.10.0'} - '@expo/cli@0.22.8': - resolution: {integrity: sha512-MpHrfPKcHL+b1wwx+WiniEL5n33tl964tN8EW1K4okW3/tAPgbu3R00NZs6OExH9PZGQP8OKhCXhZttbK2jUnA==} + '@expo/cli@0.22.11': + resolution: {integrity: sha512-D5Vl7IBLi53WmL57NAFYB1mIqlMQxDIZVzbi/FTpo5a3oIHELKr0ElTKeOLf1f1/Y3FA7cxgphoawdA0+O1JWQ==} hasBin: true '@expo/code-signing-certificates@0.0.5': resolution: {integrity: sha512-BNhXkY1bblxKZpltzAx98G2Egj9g1Q+JRcvR7E99DOj862FTCX+ZPsAUtPTr7aHxwtrL7+fL3r0JSmM9kBm+Bw==} - '@expo/config-plugins@9.0.13': - resolution: {integrity: sha512-9mSjuMoCijA0O4JONJwWXg+xaD4tVeVv7pXWQovnQGxorgMNgygOGEzGi9GXFMki8FJ1Zlt2gyXrcPFXiId7Hw==} + '@expo/config-plugins@9.0.14': + resolution: {integrity: sha512-Lx1ebV95rTFKKQmbu4wMPLz65rKn7mqSpfANdCx+KwRxuLY2JQls8V4h3lQjG6dW8NWf9qV5QaEFAgNB6VMyOQ==} - '@expo/config-types@52.0.2': - resolution: {integrity: sha512-4hYwnaCxOLlXXF1TE17RY+GU1CyBqzRx7s13VUDhU1PQ8Zr9/kzGoJI0McmfayncO9RIeSqeDWO6dELZWk/0uw==} + '@expo/config-types@52.0.3': + resolution: {integrity: sha512-muxvuARmbysH5OGaiBRlh1Y6vfdmL56JtpXxB+y2Hfhu0ezG1U4FjZYBIacthckZPvnDCcP3xIu1R+eTo7/QFA==} - '@expo/config@10.0.7': - resolution: {integrity: sha512-fS9xuxH3U9tuiXofwxrmsan8TfzlDXgPiX38SDMkq/AQctmRtWllD8GNHRIk9Bdz3vODeBv7vRVGKXPBYG72cQ==} + '@expo/config@10.0.8': + resolution: {integrity: sha512-RaKwi8e6PbkMilRexdsxObLMdQwxhY6mlgel+l/eW+IfIw8HEydSU0ERlzYUjlGJxHLHUXe4rC2vw8FEvaowyQ==} '@expo/devcert@1.1.4': resolution: {integrity: sha512-fqBODr8c72+gBSX5Ty3SIzaY4bXainlpab78+vEYEKL3fXmsOswMLf0+KE36mUEAa36BYabX7K3EiXOXX5OPMw==} - '@expo/env@0.4.0': - resolution: {integrity: sha512-g2JYFqck3xKIwJyK+8LxZ2ENZPWtRgjFWpeht9abnKgzXVXBeSNECFBkg+WQjQocSIdxXhEWM6hz4ZAe7Tc4ng==} + '@expo/env@0.4.1': + resolution: {integrity: sha512-oDtbO3i9yXD1nx93acWiPTWGljJ3vABn35x1NAbqtQ2JL6mFOcRcArt1dwi4imZyLnG4VCcjabT9irj+LgYntw==} - '@expo/fingerprint@0.11.6': - resolution: {integrity: sha512-hlVIfMEJYZIqIFMjeGRN5GhK/h6vJ3M4QVc1ZD8F0Bh7gMeI+jZkEyZdL5XT29jergQrksP638e2qFwgrGTw/w==} + '@expo/fingerprint@0.11.7': + resolution: {integrity: sha512-2rfYVS4nqWmOPQk+AL5GPfPSawbqqmI5mL++bxAhWADt+d+fjoQYfIrGtjZxQ30f9o/a1PrRPVSuh2j09+diVg==} hasBin: true - '@expo/image-utils@0.6.3': - resolution: {integrity: sha512-v/JbCKBrHeudxn1gN1TgfPE/pWJSlLPrl29uXJBgrJFQVkViQvUHQNDhaS+UEa9wYI5HHh7XYmtzAehyG4L+GA==} + '@expo/image-utils@0.6.4': + resolution: {integrity: sha512-L++1PBzSvf5iYc6UHJ8Db8GcYNkfLDw+a+zqEFBQ3xqRXP/muxb/O7wuiMFlXrj/cfkx4e0U+z1a4ceV0A7S7Q==} - '@expo/json-file@9.0.0': - resolution: {integrity: sha512-M+55xFVrFzDcgMDf+52lPDLjKB5xwRfStWlv/b/Vu2OLgxGZLWpxoPYjlRoHqxjPbCQIi2ZCbobK+0KuNhsELg==} + '@expo/json-file@9.0.1': + resolution: {integrity: sha512-ZVPhbbEBEwafPCJ0+kI25O2Iivt3XKHEKAADCml1q2cmOIbQnKgLyn8DpOJXqWEyRQr/VWS+hflBh8DU2YFSqg==} - '@expo/metro-config@0.19.8': - resolution: {integrity: sha512-dVAOetouQYuOTEJ2zR0OTLNPOH6zPkeEt5fY53TK0Wxi1QmtsmH6vEWg05U4zkSJ6f1aXmQ0Za77R8QxuukESA==} + '@expo/metro-config@0.19.9': + resolution: {integrity: sha512-JAsLWhFQqwLH0KsI4OMbPXsKFji5KJEmsi+/02Sz1GCT17YrjRmv1fZ91regUS/FUH2Y/PDAE/+2ulrTgMeG7A==} - '@expo/osascript@2.1.4': - resolution: {integrity: sha512-LcPjxJ5FOFpqPORm+5MRLV0CuYWMthJYV6eerF+lQVXKlvgSn3EOqaHC3Vf3H+vmB0f6G4kdvvFtg40vG4bIhA==} + '@expo/metro-runtime@4.0.1': + resolution: {integrity: sha512-CRpbLvdJ1T42S+lrYa1iZp1KfDeBp4oeZOK3hdpiS5n0vR0nhD6sC1gGF0sTboCTp64tLteikz5Y3j53dvgOIw==} + peerDependencies: + react-native: '*' + + '@expo/osascript@2.1.5': + resolution: {integrity: sha512-Cp7YF7msGiTAIbFdzNovwHBfecdMLVL5XzSqq4xQz72ALFCQ3uSIUXRph1QV2r61ugH7Yem0gY8yi7RcDlI4qg==} engines: {node: '>=12'} - '@expo/package-manager@1.7.0': - resolution: {integrity: sha512-yWn5TIjd42wLHZjNtdZkvCkcxqUGxlI4YHb+bQmgm3tWZ8aBHnLhPb0rgU8+hVHCofmRvVUXfVZv8Uh+kkLXgw==} + '@expo/package-manager@1.7.1': + resolution: {integrity: sha512-DKbELrTOdl7U3KT0C07Aka9P+sUP3LL+1UTKf1KmLx2x2gPH1IC+c68N7iQlwNt+yA37qIw6/vKoqyTGu5EL9g==} - '@expo/plist@0.2.0': - resolution: {integrity: sha512-F/IZJQaf8OIVnVA6XWUeMPC3OH6MV00Wxf0WC0JhTQht2QgjyHUa3U5Gs3vRtDq8tXNsZneOQRDVwpaOnd4zTQ==} + '@expo/plist@0.2.1': + resolution: {integrity: sha512-9TaXGuNxa0LQwHQn4rYiU6YaERv6dPnQgsdKWq2rKKTr6LWOtGNQCi/yOk/HBLeZSxBm59APT5/6x60uRvr0Mg==} - '@expo/prebuild-config@8.0.24': - resolution: {integrity: sha512-zxbKW+oHn0/QwKaShjbxD7tv+5WtK2+C5ZJTHztyXJXrBP6BOL5dK4lP2djQVzpHYU1p6ZzKFvp9d1bW/+S32Q==} + '@expo/prebuild-config@8.0.25': + resolution: {integrity: sha512-xYHV8eiydZEDedf2AGaOFRFwcGlaSzrqQH94dwX42urNCU03FO0RUb7yPp4nkb7WNFg5Ov6PDsV7ES+YwzNgYQ==} '@expo/rudder-sdk-node@1.1.1': resolution: {integrity: sha512-uy/hS/awclDJ1S88w9UGpc6Nm9XnNUjzOAAib1A3PVAnGQIwebg8DpFqOthFBTlZxeuV/BKbZ5jmTbtNZkp1WQ==} @@ -2614,6 +2728,9 @@ packages: '@expo/sdk-runtime-versions@1.0.0': resolution: {integrity: sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ==} + '@expo/server@0.5.1': + resolution: {integrity: sha512-lk8pKKw0eVP6rqkDR46vQB3vLA46z4KNGrqHpjD/SvMu1cGaRmQG2cQdX44mQtG8WyO9EYau+fBMHQQS2OTFKg==} + '@expo/spawn-async@1.7.2': resolution: {integrity: sha512-QdWi16+CHB9JYP7gma19OVVg0BFkvU8zNj9GjWorYI8Iv8FUxjOCcYRuAmX4s/h91e4e7BPsskc8cSrZYho9Ew==} engines: {node: '>=12'} @@ -2625,8 +2742,8 @@ packages: resolution: {integrity: sha512-ReZxZ8pdnoI3tP/dNnJdnmAk7uLT4FjsKDGW7YeDdvdOMz2XCQSmSCM9IWlrXuWtMF9zeSB6WJtEhCQ41gQOfw==} hasBin: true - '@faker-js/faker@9.3.0': - resolution: {integrity: sha512-r0tJ3ZOkMd9xsu3VRfqlFR6cz0V/jFYRswAIpC+m/DIfAUXq7g8N7wTAlhSANySXYGKzGryfDXwtwsY8TxEIDw==} + '@faker-js/faker@9.4.0': + resolution: {integrity: sha512-85+k0AxaZSTowL0gXp8zYWDIrWclTbRPg/pm/V0dSFZ6W6D4lhcG3uuZl4zLsEKfEvs69xDbLN2cHQudwp95JA==} engines: {node: '>=18.0.0', npm: '>=9.0.0'} '@floating-ui/core@1.6.9': @@ -2644,6 +2761,27 @@ packages: '@floating-ui/utils@0.2.9': resolution: {integrity: sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==} + '@gorhom/bottom-sheet@5.0.6': + resolution: {integrity: sha512-SI/AhPvgRfnCWN6/+wbE6TXwRE4X8F2fLyE4L/0bRwgE34Zenq585qLT139uEcfCIyovC2swC3ICqQpkmWEcFA==} + peerDependencies: + '@types/react': '*' + '@types/react-native': '*' + react: '*' + react-native: '*' + react-native-gesture-handler: '>=2.16.1' + react-native-reanimated: '>=3.16.0' + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-native': + optional: true + + '@gorhom/portal@1.0.14': + resolution: {integrity: sha512-MXyL4xvCjmgaORr/rtryDNFy3kU4qUbKlwtQqqsygd0xX3mhKjOLn6mQK8wfu0RkoE0pBE0nAasRoHua+/QZ7A==} + peerDependencies: + react: '*' + react-native: '*' + '@hookform/resolvers@3.6.0': resolution: {integrity: sha512-UBcpyOX3+RR+dNnqBd0lchXpoL8p4xC21XP8H6Meb8uve5Br1GCnmg0PcBoKKqPKgGu9GHQ/oygcmPrQhetwqw==} peerDependencies: @@ -2775,25 +2913,36 @@ packages: cpu: [x64] os: [win32] - '@inquirer/confirm@5.1.1': - resolution: {integrity: sha512-vVLSbGci+IKQvDOtzpPTCOiEJCNidHcAq9JYVoWTW0svb5FiwSLotkM+JXNXejfjnzVYV9n0DTBythl9+XgTxg==} + '@inquirer/confirm@5.1.5': + resolution: {integrity: sha512-ZB2Cz8KeMINUvoeDi7IrvghaVkYT2RB0Zb31EaLWOE87u276w4wnApv0SH2qWaJ3r0VSUa3BIuz7qAV2ZvsZlg==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true - '@inquirer/core@10.1.2': - resolution: {integrity: sha512-bHd96F3ezHg1mf/J0Rb4CV8ndCN0v28kUlrHqP7+ECm1C/A+paB7Xh2lbMk6x+kweQC+rZOxM/YeKikzxco8bQ==} + '@inquirer/core@10.1.6': + resolution: {integrity: sha512-Bwh/Zk6URrHwZnSSzAZAKH7YgGYi0xICIBDFOqBQoXNNAzBHw/bgXgLmChfp+GyR3PnChcTbiCTZGC6YJNJkMA==} engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true - '@inquirer/figures@1.0.9': - resolution: {integrity: sha512-BXvGj0ehzrngHTPTDqUoDT3NXL8U0RxUk2zJm2A66RhCEIWdtU1v6GuUqNAgArW4PQ9CinqIWyHdQgdwOj06zQ==} + '@inquirer/figures@1.0.10': + resolution: {integrity: sha512-Ey6176gZmeqZuY/W/nZiUyvmb1/qInjcpiZjXWi6nON+nxJpD1bxtSoBxNliGISae32n6OwbY+TSXPZ1CfS4bw==} engines: {node: '>=18'} - '@inquirer/type@3.0.2': - resolution: {integrity: sha512-ZhQ4TvhwHZF+lGhQ2O/rsjo80XoZR5/5qhOY3t6FJuX5XBg5Be8YzYTvaUGJnc12AUGI2nr4QSUE4PhKSigx7g==} + '@inquirer/type@3.0.4': + resolution: {integrity: sha512-2MNFrDY8jkFYc9Il9DgLsHhMzuHnOYM1+CUYVWbzu9oT0hC7V7EcYvdCKeoll/Fcci04A+ERZ9wcc7cQ8lTkIA==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} @@ -3008,13 +3157,14 @@ packages: cpu: [x64] os: [win32] - '@mswjs/interceptors@0.37.5': - resolution: {integrity: sha512-AAwRb5vXFcY4L+FvZ7LZusDuZ0vEe0Zm8ohn1FM6/X7A3bj4mqmkAcGRWuvC2JwSygNwHAAmMnAI73vPHeqsHA==} + '@mswjs/interceptors@0.37.6': + resolution: {integrity: sha512-wK+5pLK5XFmgtH3aQ2YVvA3HohS3xqV/OxuVOdNx9Wpnz7VE/fnC+e1A7ln6LFYeck7gOJ/dsZV6OLplOtAJ2w==} engines: {node: '>=18'} '@mui/base@5.0.0-beta.40': resolution: {integrity: sha512-I/lGHztkCzvwlXpjD2+SNmvNQvB4227xBXhISPjEaJUXGImOQ9f3D2Yj/T3KasSI/h0MLWy74X0J6clhPmsRbQ==} engines: {node: '>=12.0.0'} + deprecated: This package has been replaced by @base-ui-components/react peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 @@ -3023,9 +3173,10 @@ packages: '@types/react': optional: true - '@mui/base@5.0.0-beta.68': - resolution: {integrity: sha512-F1JMNeLS9Qhjj3wN86JUQYBtJoXyQvknxlzwNl6eS0ZABo1MiohMONj3/WQzYPSXIKC2bS/ZbyBzdHhi2GnEpA==} + '@mui/base@5.0.0-beta.69': + resolution: {integrity: sha512-r2YyGUXpZxj8rLAlbjp1x2BnMERTZ/dMqd9cClKj2OJ7ALAuiv/9X5E9eHfRc9o/dGRuLSMq/WTjREktJVjxVA==} engines: {node: '>=14.0.0'} + deprecated: This package has been replaced by @base-ui-components/react peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -3158,8 +3309,8 @@ packages: '@types/react': optional: true - '@mui/utils@6.3.1': - resolution: {integrity: sha512-sjGjXAngoio6lniQZKJ5zGfjm+LD2wvLwco7FbKe1fu8A7VIFmz2SwkLb+MDPLNX1lE7IscvNNyh1pobtZg2tw==} + '@mui/utils@6.4.2': + resolution: {integrity: sha512-5NkhzlJkmR5+5RSs/Irqin1GPy2Z8vbLk/UzQrH9FEAnm6OA9SvuXjzgklxUs7N65VwEkGpKK1jMZ5K84hRdzQ==} engines: {node: '>=14.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -3264,6 +3415,9 @@ packages: cpu: [x64] os: [win32] + '@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3': + resolution: {integrity: sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==} + '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -3532,86 +3686,86 @@ packages: resolution: {integrity: sha512-yxY9xw2wOUlJaScOXYZmMGoZ4Ck4Kqj+p6Koe5kLkkWM1j98Q0Dj2tf/mNvZi4yrdnlm+dclCwNRnuE8Q9D+pw==} engines: {node: '>= 16.0.0'} - '@parcel/watcher-android-arm64@2.5.0': - resolution: {integrity: sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==} + '@parcel/watcher-android-arm64@2.5.1': + resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [android] - '@parcel/watcher-darwin-arm64@2.5.0': - resolution: {integrity: sha512-hyZ3TANnzGfLpRA2s/4U1kbw2ZI4qGxaRJbBH2DCSREFfubMswheh8TeiC1sGZ3z2jUf3s37P0BBlrD3sjVTUw==} + '@parcel/watcher-darwin-arm64@2.5.1': + resolution: {integrity: sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [darwin] - '@parcel/watcher-darwin-x64@2.5.0': - resolution: {integrity: sha512-9rhlwd78saKf18fT869/poydQK8YqlU26TMiNg7AIu7eBp9adqbJZqmdFOsbZ5cnLp5XvRo9wcFmNHgHdWaGYA==} + '@parcel/watcher-darwin-x64@2.5.1': + resolution: {integrity: sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [darwin] - '@parcel/watcher-freebsd-x64@2.5.0': - resolution: {integrity: sha512-syvfhZzyM8kErg3VF0xpV8dixJ+RzbUaaGaeb7uDuz0D3FK97/mZ5AJQ3XNnDsXX7KkFNtyQyFrXZzQIcN49Tw==} + '@parcel/watcher-freebsd-x64@2.5.1': + resolution: {integrity: sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [freebsd] - '@parcel/watcher-linux-arm-glibc@2.5.0': - resolution: {integrity: sha512-0VQY1K35DQET3dVYWpOaPFecqOT9dbuCfzjxoQyif1Wc574t3kOSkKevULddcR9znz1TcklCE7Ht6NIxjvTqLA==} + '@parcel/watcher-linux-arm-glibc@2.5.1': + resolution: {integrity: sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==} engines: {node: '>= 10.0.0'} cpu: [arm] os: [linux] - '@parcel/watcher-linux-arm-musl@2.5.0': - resolution: {integrity: sha512-6uHywSIzz8+vi2lAzFeltnYbdHsDm3iIB57d4g5oaB9vKwjb6N6dRIgZMujw4nm5r6v9/BQH0noq6DzHrqr2pA==} + '@parcel/watcher-linux-arm-musl@2.5.1': + resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==} engines: {node: '>= 10.0.0'} cpu: [arm] os: [linux] - '@parcel/watcher-linux-arm64-glibc@2.5.0': - resolution: {integrity: sha512-BfNjXwZKxBy4WibDb/LDCriWSKLz+jJRL3cM/DllnHH5QUyoiUNEp3GmL80ZqxeumoADfCCP19+qiYiC8gUBjA==} + '@parcel/watcher-linux-arm64-glibc@2.5.1': + resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] - '@parcel/watcher-linux-arm64-musl@2.5.0': - resolution: {integrity: sha512-S1qARKOphxfiBEkwLUbHjCY9BWPdWnW9j7f7Hb2jPplu8UZ3nes7zpPOW9bkLbHRvWM0WDTsjdOTUgW0xLBN1Q==} + '@parcel/watcher-linux-arm64-musl@2.5.1': + resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] - '@parcel/watcher-linux-x64-glibc@2.5.0': - resolution: {integrity: sha512-d9AOkusyXARkFD66S6zlGXyzx5RvY+chTP9Jp0ypSTC9d4lzyRs9ovGf/80VCxjKddcUvnsGwCHWuF2EoPgWjw==} + '@parcel/watcher-linux-x64-glibc@2.5.1': + resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] - '@parcel/watcher-linux-x64-musl@2.5.0': - resolution: {integrity: sha512-iqOC+GoTDoFyk/VYSFHwjHhYrk8bljW6zOhPuhi5t9ulqiYq1togGJB5e3PwYVFFfeVgc6pbz3JdQyDoBszVaA==} + '@parcel/watcher-linux-x64-musl@2.5.1': + resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] - '@parcel/watcher-win32-arm64@2.5.0': - resolution: {integrity: sha512-twtft1d+JRNkM5YbmexfcH/N4znDtjgysFaV9zvZmmJezQsKpkfLYJ+JFV3uygugK6AtIM2oADPkB2AdhBrNig==} + '@parcel/watcher-win32-arm64@2.5.1': + resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [win32] - '@parcel/watcher-win32-ia32@2.5.0': - resolution: {integrity: sha512-+rgpsNRKwo8A53elqbbHXdOMtY/tAtTzManTWShB5Kk54N8Q9mzNWV7tV+IbGueCbcj826MfWGU3mprWtuf1TA==} + '@parcel/watcher-win32-ia32@2.5.1': + resolution: {integrity: sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==} engines: {node: '>= 10.0.0'} cpu: [ia32] os: [win32] - '@parcel/watcher-win32-x64@2.5.0': - resolution: {integrity: sha512-lPrxve92zEHdgeff3aiu4gDOIt4u7sJYha6wbdEZDCDUhtjTsOMiaJzG5lMY4GkWH8p0fMmO2Ppq5G5XXG+DQw==} + '@parcel/watcher-win32-x64@2.5.1': + resolution: {integrity: sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [win32] - '@parcel/watcher@2.5.0': - resolution: {integrity: sha512-i0GV1yJnm2n3Yq1qw6QrUrd/LI9bE8WEBOTtOkpCXHHdyN3TAGgqAK/DAT05z4fq2x04cARXt2pDmjWjL92iTQ==} + '@parcel/watcher@2.5.1': + resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==} engines: {node: '>= 10.0.0'} '@parcel/workers@2.13.3': @@ -3627,6 +3781,16 @@ packages: '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} + '@radix-ui/react-compose-refs@1.0.0': + resolution: {integrity: sha512-0KaSv6sx787/hK3eF53iOkiSLwAGlFMx5lotrqD2pTjB18KbybKoEIgkNZTKC60YECDQTKGTRcDBILwZVqVKvA==} + peerDependencies: + react: ^16.8 || ^17.0 || ^18.0 + + '@radix-ui/react-slot@1.0.1': + resolution: {integrity: sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==} + peerDependencies: + react: ^16.8 || ^17.0 || ^18.0 + '@react-native/assets-registry@0.76.3': resolution: {integrity: sha512-7Fnc3lzCFFpnoyL1egua6d/qUp0KiIpeSLbfOMln4nI2g2BMzyFHdPjJnpLV2NehmS0omOOkrfRqK5u1F/MXzA==} engines: {node: '>=18'} @@ -3635,8 +3799,8 @@ packages: resolution: {integrity: sha512-mZ7jmIIg4bUnxCqY3yTOkoHvvzsDyrZgfnIKiTGm5QACrsIGa5eT3pMFpMm2OpxGXRDrTMsYdPXE2rCyDX52VQ==} engines: {node: '>=18'} - '@react-native/babel-plugin-codegen@0.76.5': - resolution: {integrity: sha512-xe7HSQGop4bnOLMaXt0aU+rIatMNEQbz242SDl8V9vx5oOTI0VbZV9yLy6yBc6poUlYbcboF20YVjoRsxX4yww==} + '@react-native/babel-plugin-codegen@0.76.6': + resolution: {integrity: sha512-yFC9I/aDBOBz3ZMlqKn2NY/mDUtCksUNZ7AQmBiTAeVTUP0ujEjE0hTOx5Qd+kok7A7hwZEX87HdSgjiJZfr5g==} engines: {node: '>=18'} '@react-native/babel-preset@0.76.3': @@ -3645,8 +3809,8 @@ packages: peerDependencies: '@babel/core': '*' - '@react-native/babel-preset@0.76.5': - resolution: {integrity: sha512-1Nu5Um4EogOdppBLI4pfupkteTjWfmI0hqW8ezWTg7Bezw0FtBj8yS8UYVd3wTnDFT9A5mA2VNoNUqomJnvj2A==} + '@react-native/babel-preset@0.76.6': + resolution: {integrity: sha512-ojlVWY6S/VE/nb9hIRetPMTsW9ZmGb2R3dnToEXAtQQDz41eHMHXbkw/k2h0THp6qhas25ruNvn3N5n2o+lBzg==} engines: {node: '>=18'} peerDependencies: '@babel/core': '*' @@ -3657,8 +3821,8 @@ packages: peerDependencies: '@babel/preset-env': ^7.1.6 - '@react-native/codegen@0.76.5': - resolution: {integrity: sha512-FoZ9VRQ5MpgtDAnVo1rT9nNRfjnWpE40o1GeJSDlpUMttd36bVXvsDm8W/NhX8BKTWXSX+CPQJsRcvN1UPYGKg==} + '@react-native/codegen@0.76.6': + resolution: {integrity: sha512-BABb3e5G/+hyQYEYi0AODWh2km2d8ERoASZr6Hv90pVXdUHRYR+yxCatX7vSd9rnDUYndqRTzD0hZWAucPNAKg==} engines: {node: '>=18'} peerDependencies: '@babel/preset-env': ^7.1.6 @@ -3676,16 +3840,16 @@ packages: resolution: {integrity: sha512-pMHQ3NpPB28RxXciSvm2yD+uDx3pkhzfuWkc7VFgOduyzPSIr0zotUiOJzsAtrj8++bPbOsAraCeQhCqoOTWQw==} engines: {node: '>=18'} - '@react-native/debugger-frontend@0.76.5': - resolution: {integrity: sha512-5gtsLfBaSoa9WP8ToDb/8NnDBLZjv4sybQQj7rDKytKOdsXm3Pr2y4D7x7GQQtP1ZQRqzU0X0OZrhRz9xNnOqA==} + '@react-native/debugger-frontend@0.76.6': + resolution: {integrity: sha512-kP97xMQjiANi5/lmf8MakS7d8FTJl+BqYHQMqyvNiY+eeWyKnhqW2GL2v3eEUBAuyPBgJGivuuO4RvjZujduJg==} engines: {node: '>=18'} '@react-native/dev-middleware@0.76.3': resolution: {integrity: sha512-b+2IpW40z1/S5Jo5JKrWPmucYU/PzeGyGBZZ/SJvmRnBDaP3txb9yIqNZAII1EWsKNhedh8vyRO5PSuJ9Juqzw==} engines: {node: '>=18'} - '@react-native/dev-middleware@0.76.5': - resolution: {integrity: sha512-f8eimsxpkvMgJia7POKoUu9uqjGF6KgkxX4zqr/a6eoR1qdEAWUd6PonSAqtag3PAqvEaJpB99gLH2ZJI1nDGg==} + '@react-native/dev-middleware@0.76.6': + resolution: {integrity: sha512-1bAyd2/X48Nzb45s5l2omM75vy764odx/UnDs4sJfFCuK+cupU4nRPgl0XWIqgdM/2+fbQ3E4QsVS/WIKTFxvQ==} engines: {node: '>=18'} '@react-native/gradle-plugin@0.76.3': @@ -3705,8 +3869,8 @@ packages: '@react-native/normalize-colors@0.76.3': resolution: {integrity: sha512-Yrpmrh4IDEupUUM/dqVxhAN8QW1VEUR3Qrk2lzJC1jB2s46hDe0hrMP2vs12YJqlzshteOthjwXQlY0TgIzgbg==} - '@react-native/normalize-colors@0.76.5': - resolution: {integrity: sha512-6QRLEok1r55gLqj+94mEWUENuU5A6wsr2OoXpyq/CgQ7THWowbHtru/kRGRr6o3AQXrVnZheR60JNgFcpNYIug==} + '@react-native/normalize-colors@0.76.6': + resolution: {integrity: sha512-1n4udXH2Cla31iA/8eLRdhFHpYUYK1NKWCn4m1Sr9L4SarWKAYuRFliK1fcLvPPALCFoFlWvn8I0ekdUOHMzDQ==} '@react-native/virtualized-lists@0.76.3': resolution: {integrity: sha512-wTGv9pVh3vAOWb29xFm+J9VRe9dUcUcb9FyaMLT/Hxa88W4wqa5ZMe1V9UvrrBiA1G5DKjv8/1ZcDsJhyugVKA==} @@ -3719,6 +3883,194 @@ packages: '@types/react': optional: true + '@react-navigation/bottom-tabs@7.2.0': + resolution: {integrity: sha512-1LxjgnbPyFINyf9Qr5d1YE0pYhuJayg5TCIIFQmbcX4PRhX7FKUXV7cX8OzrKXEdZi/UE/VNXugtozPAR9zgvA==} + peerDependencies: + '@react-navigation/native': ^7.0.14 + react: '>= 18.2.0' + react-native: '*' + react-native-safe-area-context: '>= 4.0.0' + react-native-screens: '>= 4.0.0' + + '@react-navigation/core@7.3.1': + resolution: {integrity: sha512-S3KCGvNsoqVk8ErAtQI2EAhg9185lahF5OY01ofrrD4Ij/uk3QEHHjoGQhR5l5DXSCSKr1JbMQA7MEKMsBiWZA==} + peerDependencies: + react: '>= 18.2.0' + + '@react-navigation/drawer@7.1.1': + resolution: {integrity: sha512-34UqRS5OLFaNXPs5ocz3Du9c7em0P7fFMPYCZn/MxadDzQ4Mn/74pmJczmiyvyvz8vcWsNRbZ3Qswm0Dv6z60w==} + peerDependencies: + '@react-navigation/native': ^7.0.14 + react: '>= 18.2.0' + react-native: '*' + react-native-gesture-handler: '>= 2.0.0' + react-native-reanimated: '>= 2.0.0' + react-native-safe-area-context: '>= 4.0.0' + react-native-screens: '>= 4.0.0' + + '@react-navigation/elements@2.2.5': + resolution: {integrity: sha512-sDhE+W14P7MNWLMxXg1MEVXwkLUpMZJGflE6nQNzLmolJQIHgcia0Mrm8uRa3bQovhxYu1UzEojLZ+caoZt7Fg==} + peerDependencies: + '@react-native-masked-view/masked-view': '>= 0.2.0' + '@react-navigation/native': ^7.0.14 + react: '>= 18.2.0' + react-native: '*' + react-native-safe-area-context: '>= 4.0.0' + peerDependenciesMeta: + '@react-native-masked-view/masked-view': + optional: true + + '@react-navigation/native-stack@7.2.0': + resolution: {integrity: sha512-mw7Nq9qQrGsmJmCTwIIWB7yY/3tWYXvQswx+HJScGAadIjemvytJXm1fcl3+YZ9T9Ym0aERcVe5kDs+ny3X4vA==} + peerDependencies: + '@react-navigation/native': ^7.0.14 + react: '>= 18.2.0' + react-native: '*' + react-native-safe-area-context: '>= 4.0.0' + react-native-screens: '>= 4.0.0' + + '@react-navigation/native@7.0.14': + resolution: {integrity: sha512-Gi6lLw4VOGSWAhmUdJOMauOKGK51/YA1CprjXm91sNfgERWvznqEMw8QmUQx9SEqYfi0LfZhbzpMst09SJ00lw==} + peerDependencies: + react: '>= 18.2.0' + react-native: '*' + + '@react-navigation/routers@7.1.2': + resolution: {integrity: sha512-emdEjpVDK8zbiu2GChC8oYIAub9i/OpNuQJekVsbyFCBz4/TzaBzms38Q53YaNhdIFNmiYLfHv/Y1Ub7KYfm3w==} + + '@remix-run/node@2.15.3': + resolution: {integrity: sha512-TYfS6BPhbABBpSRZ6WBA4qIWSwWvJhRVQGXCHUtgOwkuW863rcFmjh9g2Xj/IHyTmbOYPdcjHsIgZ9el4CHOKQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + typescript: ^5.1.0 + peerDependenciesMeta: + typescript: + optional: true + + '@remix-run/router@1.22.0': + resolution: {integrity: sha512-MBOl8MeOzpK0HQQQshKB7pABXbmyHizdTpqnrIseTbsv0nAepwC2ENZa1aaBExNQcpLoXmWthhak8SABLzvGPw==} + engines: {node: '>=14.0.0'} + + '@remix-run/server-runtime@2.15.3': + resolution: {integrity: sha512-taHBe1DEqxZNjjj6OfkSYbup+sZPjbTgUhykaI+nHqrC2NDQuTiisBXhLwtx60GctONR/x0lWhF7R9ZGC5WsHw==} + engines: {node: '>=18.0.0'} + peerDependencies: + typescript: ^5.1.0 + peerDependenciesMeta: + typescript: + optional: true + + '@remix-run/web-blob@3.1.0': + resolution: {integrity: sha512-owGzFLbqPH9PlKb8KvpNJ0NO74HWE2euAn61eEiyCXX/oteoVzTVSN8mpLgDjaxBf2btj5/nUllSUgpyd6IH6g==} + + '@remix-run/web-fetch@4.4.2': + resolution: {integrity: sha512-jgKfzA713/4kAW/oZ4bC3MoLWyjModOVDjFPNseVqcJKSafgIscrYL9G50SurEYLswPuoU3HzSbO0jQCMYWHhA==} + engines: {node: ^10.17 || >=12.3} + + '@remix-run/web-file@3.1.0': + resolution: {integrity: sha512-dW2MNGwoiEYhlspOAXFBasmLeYshyAyhIdrlXBi06Duex5tDr3ut2LFKVj7tyHLmn8nnNwFf1BjNbkQpygC2aQ==} + + '@remix-run/web-form-data@3.1.0': + resolution: {integrity: sha512-NdeohLMdrb+pHxMQ/Geuzdp0eqPbea+Ieo8M8Jx2lGC6TBHsgHzYcBvr0LyPdPVycNRDEpWpiDdCOdCryo3f9A==} + + '@remix-run/web-stream@1.1.0': + resolution: {integrity: sha512-KRJtwrjRV5Bb+pM7zxcTJkhIqWWSy+MYsIxHK+0m5atcznsf15YwUBWHWulZerV2+vvHH1Lp1DD7pw6qKW8SgA==} + + '@rollup/rollup-android-arm-eabi@4.34.1': + resolution: {integrity: sha512-kwctwVlswSEsr4ljpmxKrRKp1eG1v2NAhlzFzDf1x1OdYaMjBYjDCbHkzWm57ZXzTwqn8stMXgROrnMw8dJK3w==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.34.1': + resolution: {integrity: sha512-4H5ZtZitBPlbPsTv6HBB8zh1g5d0T8TzCmpndQdqq20Ugle/nroOyDMf9p7f88Gsu8vBLU78/cuh8FYHZqdXxw==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.34.1': + resolution: {integrity: sha512-f2AJ7Qwx9z25hikXvg+asco8Sfuc5NCLg8rmqQBIOUoWys5sb/ZX9RkMZDPdnnDevXAMJA5AWLnRBmgdXGEUiA==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.34.1': + resolution: {integrity: sha512-+/2JBrRfISCsWE4aEFXxd+7k9nWGXA8+wh7ZUHn/u8UDXOU9LN+QYKKhd57sIn6WRcorOnlqPMYFIwie/OHXWw==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.34.1': + resolution: {integrity: sha512-SUeB0pYjIXwT2vfAMQ7E4ERPq9VGRrPR7Z+S4AMssah5EHIilYqjWQoTn5dkDtuIJUSTs8H+C9dwoEcg3b0sCA==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.34.1': + resolution: {integrity: sha512-L3T66wAZiB/ooiPbxz0s6JEX6Sr2+HfgPSK+LMuZkaGZFAFCQAHiP3dbyqovYdNaiUXcl9TlgnIbcsIicAnOZg==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.34.1': + resolution: {integrity: sha512-UBXdQ4+ATARuFgsFrQ+tAsKvBi/Hly99aSVdeCUiHV9dRTTpMU7OrM3WXGys1l40wKVNiOl0QYY6cZQJ2xhKlQ==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.34.1': + resolution: {integrity: sha512-m/yfZ25HGdcCSwmopEJm00GP7xAUyVcBPjttGLRAqZ60X/bB4Qn6gP7XTwCIU6bITeKmIhhwZ4AMh2XLro+4+w==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.34.1': + resolution: {integrity: sha512-Wy+cUmFuvziNL9qWRRzboNprqSQ/n38orbjRvd6byYWridp5TJ3CD+0+HUsbcWVSNz9bxkDUkyASGP0zS7GAvg==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.34.1': + resolution: {integrity: sha512-CQ3MAGgiFmQW5XJX5W3wnxOBxKwFlUAgSXFA2SwgVRjrIiVt5LHfcQLeNSHKq5OEZwv+VCBwlD1+YKCjDG8cpg==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loongarch64-gnu@4.34.1': + resolution: {integrity: sha512-rSzb1TsY4lSwH811cYC3OC2O2mzNMhM13vcnA7/0T6Mtreqr3/qs6WMDriMRs8yvHDI54qxHgOk8EV5YRAHFbw==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.34.1': + resolution: {integrity: sha512-fwr0n6NS0pG3QxxlqVYpfiY64Fd1Dqd8Cecje4ILAV01ROMp4aEdCj5ssHjRY3UwU7RJmeWd5fi89DBqMaTawg==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.34.1': + resolution: {integrity: sha512-4uJb9qz7+Z/yUp5RPxDGGGUcoh0PnKF33QyWgEZ3X/GocpWb6Mb+skDh59FEt5d8+Skxqs9mng6Swa6B2AmQZg==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.34.1': + resolution: {integrity: sha512-QlIo8ndocWBEnfmkYqj8vVtIUpIqJjfqKggjy7IdUncnt8BGixte1wDON7NJEvLg3Kzvqxtbo8tk+U1acYEBlw==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.34.1': + resolution: {integrity: sha512-hzpleiKtq14GWjz3ahWvJXgU1DQC9DteiwcsY4HgqUJUGxZThlL66MotdUEK9zEo0PK/2ADeZGM9LIondE302A==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.34.1': + resolution: {integrity: sha512-jqtKrO715hDlvUcEsPn55tZt2TEiBvBtCMkUuU0R6fO/WPT7lO9AONjPbd8II7/asSiNVQHCMn4OLGigSuxVQA==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.34.1': + resolution: {integrity: sha512-RnHy7yFf2Wz8Jj1+h8klB93N0NHNHXFhNwAmiy9zJdpY7DE01VbEVtPdrK1kkILeIbHGRJjvfBDBhnxBr8kD4g==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.34.1': + resolution: {integrity: sha512-i7aT5HdiZIcd7quhzvwQ2oAuX7zPYrYfkrd1QFfs28Po/i0q6kas/oRrzGlDhAEyug+1UfUtkWdmoVlLJj5x9Q==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.34.1': + resolution: {integrity: sha512-k3MVFD9Oq+laHkw2N2v7ILgoa9017ZMF/inTtHzyTVZjYs9cSH18sdyAf6spBAJIGwJ5UaC7et2ZH1WCdlhkMw==} + cpu: [x64] + os: [win32] + '@rtsao/scc@1.1.0': resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -3863,8 +4215,8 @@ packages: '@storybook/global@5.0.0': resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} - '@storybook/icons@1.3.0': - resolution: {integrity: sha512-Nz/UzeYQdUZUhacrPyfkiiysSjydyjgg/p0P9HxB4p/WaJUUjMAcaoaLgy3EXx61zZJ3iD36WPuDkZs5QYrA0A==} + '@storybook/icons@1.3.2': + resolution: {integrity: sha512-t3xcbCKkPvqyef8urBM0j/nP6sKtnlRkVgC+8JTbTAZQjaTmOjes3byEgzs89p4B/K6cJsg9wLW2k3SknLtYJw==} engines: {node: '>=14.0.0'} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta @@ -3880,8 +4232,8 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - '@storybook/node-logger@8.4.7': - resolution: {integrity: sha512-bsNMy9RgN4jVw5MMHMf0T04dX8a1lLTWq4iZoZkfdbshDKn5Z16brzPVwhFg2IE0YTEZi9XyA1NJLPgUTCcp7g==} + '@storybook/node-logger@8.5.3': + resolution: {integrity: sha512-V9ZwL7SmXPtLB0uifr3c+HYm+nnEtGYrd5zw9zRF1NFm/3q71bo9++AqwTFW2hQjw711ZXosyw1A/UCt0MYA8g==} peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 @@ -3952,68 +4304,68 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - '@swc/core-darwin-arm64@1.10.4': - resolution: {integrity: sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==} + '@swc/core-darwin-arm64@1.10.12': + resolution: {integrity: sha512-pOANQegUTAriW7jq3SSMZGM5l89yLVMs48R0F2UG6UZsH04SiViCnDctOGlA/Sa++25C+rL9MGMYM1jDLylBbg==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.10.4': - resolution: {integrity: sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==} + '@swc/core-darwin-x64@1.10.12': + resolution: {integrity: sha512-m4kbpIDDsN1FrwfNQMU+FTrss356xsXvatLbearwR+V0lqOkjLBP0VmRvQfHEg+uy13VPyrT9gj4HLoztlci7w==} engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.10.4': - resolution: {integrity: sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==} + '@swc/core-linux-arm-gnueabihf@1.10.12': + resolution: {integrity: sha512-OY9LcupgqEu8zVK+rJPes6LDJJwPDmwaShU96beTaxX2K6VrXbpwm5WbPS/8FfQTsmpnuA7dCcMPUKhNgmzTrQ==} engines: {node: '>=10'} cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.10.4': - resolution: {integrity: sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==} + '@swc/core-linux-arm64-gnu@1.10.12': + resolution: {integrity: sha512-nJD587rO0N4y4VZszz3xzVr7JIiCzSMhEMWnPjuh+xmPxDBz0Qccpr8xCr1cSxpl1uY7ERkqAGlKr6CwoV5kVg==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.10.4': - resolution: {integrity: sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==} + '@swc/core-linux-arm64-musl@1.10.12': + resolution: {integrity: sha512-oqhSmV+XauSf0C//MoQnVErNUB/5OzmSiUzuazyLsD5pwqKNN+leC3JtRQ/QVzaCpr65jv9bKexT9+I2Tt3xDw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.10.4': - resolution: {integrity: sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==} + '@swc/core-linux-x64-gnu@1.10.12': + resolution: {integrity: sha512-XldSIHyjD7m1Gh+/8rxV3Ok711ENLI420CU2EGEqSe3VSGZ7pHJvJn9ZFbYpWhsLxPqBYMFjp3Qw+J6OXCPXCA==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.10.4': - resolution: {integrity: sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==} + '@swc/core-linux-x64-musl@1.10.12': + resolution: {integrity: sha512-wvPXzJxzPgTqhyp1UskOx1hRTtdWxlyFD1cGWOxgLsMik0V9xKRgqKnMPv16Nk7L9xl6quQ6DuUHj9ID7L3oVw==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.10.4': - resolution: {integrity: sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==} + '@swc/core-win32-arm64-msvc@1.10.12': + resolution: {integrity: sha512-TUYzWuu1O7uyIcRfxdm6Wh1u+gNnrW5M1DUgDOGZLsyQzgc2Zjwfh2llLhuAIilvCVg5QiGbJlpibRYJ/8QGsg==} engines: {node: '>=10'} cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.10.4': - resolution: {integrity: sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==} + '@swc/core-win32-ia32-msvc@1.10.12': + resolution: {integrity: sha512-4Qrw+0Xt+Fe2rz4OJ/dEPMeUf/rtuFWWAj/e0vL7J5laUHirzxawLRE5DCJLQTarOiYR6mWnmadt9o3EKzV6Xg==} engines: {node: '>=10'} cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.10.4': - resolution: {integrity: sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==} + '@swc/core-win32-x64-msvc@1.10.12': + resolution: {integrity: sha512-YiloZXLW7rUxJpALwHXaGjVaAEn+ChoblG7/3esque+Y7QCyheoBUJp2DVM1EeVA43jBfZ8tvYF0liWd9Tpz1A==} engines: {node: '>=10'} cpu: [x64] os: [win32] - '@swc/core@1.10.4': - resolution: {integrity: sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==} + '@swc/core@1.10.12': + resolution: {integrity: sha512-+iUL0PYpPm6N9AdV1wvafakvCqFegQus1aoEDxgFsv3/uNVNIyRaupf/v/Zkp5hbep2EzhtoJR0aiJIzDbXWHg==} engines: {node: '>=10'} peerDependencies: '@swc/helpers': '*' @@ -4148,6 +4500,15 @@ packages: '@types/bonjour@3.5.13': resolution: {integrity: sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==} + '@types/color-convert@2.0.4': + resolution: {integrity: sha512-Ub1MmDdyZ7mX//g25uBAoH/mWGd9swVbt8BseymnaE18SU4po/PjmCrHxqIIRjBo3hV/vh1KGr0eMxUhp+t+dQ==} + + '@types/color-name@1.1.5': + resolution: {integrity: sha512-j2K5UJqGTxeesj6oQuGpMgifpT5k9HprgQd8D1Y0lOFqKHl3PJu5GMeS4Y5EgjS55AE6OQxf8mPED9uaGbf4Cg==} + + '@types/color@4.2.0': + resolution: {integrity: sha512-6+xrIRImMtGAL2X3qYkd02Mgs+gFGs+WsK0b7VVMaO4mYRISwyTjcqNrO0mNSmYEoq++rSLDB2F5HDNmqfOe+A==} + '@types/connect-history-api-fallback@1.5.4': resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==} @@ -4172,8 +4533,8 @@ packages: '@types/express-serve-static-core@4.19.6': resolution: {integrity: sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==} - '@types/express-serve-static-core@5.0.4': - resolution: {integrity: sha512-5kz9ScmzBdzTgB/3susoCgfqNDzBjvLL4taparufgSvlwjdLy6UyUy9T/tCpYd2GIdIilCatC4iSQS0QSYHt0w==} + '@types/express-serve-static-core@5.0.6': + resolution: {integrity: sha512-3xhRnjJPkULekpSzgtoNYYcTWgEZkp4myc+Saevii5JPnHNvHMRlBSHDbs7Bh1iPPoVTERHEZXyhyLbMEsExsA==} '@types/express@4.17.21': resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} @@ -4181,6 +4542,9 @@ packages: '@types/graceful-fs@4.1.9': resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} + '@types/hammerjs@2.0.46': + resolution: {integrity: sha512-ynRvcq6wvqexJ9brDMS4BnBLzmr0e14d6ZJTEShTBWKymQiHwlAyGu0ZPEFI2Fh1U53F7tN9ufClWM5KvqkKOw==} + '@types/html-minifier-terser@5.1.2': resolution: {integrity: sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==} @@ -4238,9 +4602,6 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@22.10.5': - resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} - '@types/node@22.7.2': resolution: {integrity: sha512-866lXSrpGpgyHBZUa2m9YNWqHDjjM0aBTJlNtYaGEw4rqY/dcD7deRVTbBBAJelfA7oaGDbNftXF/TL/A6RgoA==} @@ -4250,8 +4611,8 @@ packages: '@types/prop-types@15.7.14': resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==} - '@types/qs@6.9.17': - resolution: {integrity: sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==} + '@types/qs@6.9.18': + resolution: {integrity: sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==} '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} @@ -4333,8 +4694,8 @@ packages: '@types/webpack@4.41.40': resolution: {integrity: sha512-u6kMFSBM9HcoTpUXnL6mt2HSzftqb3JgYV6oxIgL2dl6sX6aCa5k6SOkzv5DuZjBTPUE/dJltKtwwuqrkZHpfw==} - '@types/ws@8.5.13': - resolution: {integrity: sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==} + '@types/ws@8.5.14': + resolution: {integrity: sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw==} '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -4403,8 +4764,8 @@ packages: resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@ungap/structured-clone@1.2.1': - resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==} + '@ungap/structured-clone@1.3.0': + resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} '@urql/core@5.1.0': resolution: {integrity: sha512-yC3sw8yqjbX45GbXxfiBY8GLYCiyW/hLBbQF9l3TJrv4ro00Y0ChkKaD9I2KntRxAVm9IYBqh0awX8fwWAe/Yw==} @@ -4420,8 +4781,8 @@ packages: '@vitest/pretty-format@2.0.5': resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} - '@vitest/pretty-format@2.1.8': - resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} + '@vitest/pretty-format@2.1.9': + resolution: {integrity: sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==} '@vitest/spy@2.0.5': resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} @@ -4429,8 +4790,11 @@ packages: '@vitest/utils@2.0.5': resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} - '@vitest/utils@2.1.8': - resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} + '@vitest/utils@2.1.9': + resolution: {integrity: sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==} + + '@web3-storage/multipart-parser@1.0.0': + resolution: {integrity: sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==} '@webassemblyjs/ast@1.14.1': resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==} @@ -4517,6 +4881,9 @@ packages: '@xtuc/long@4.2.2': resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + '@zxing/text-encoding@0.9.0': + resolution: {integrity: sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==} + abab@2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} deprecated: Use your platform's native atob() and btoa() methods instead @@ -4739,6 +5106,10 @@ packages: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} + async-function@1.0.0: + resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==} + engines: {node: '>= 0.4'} + async-limiter@1.0.1: resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==} @@ -4857,8 +5228,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - babel-preset-expo@12.0.5: - resolution: {integrity: sha512-rEFjN1CoMYEWSRpE+Hvw+zv+nLbDXyRM8vGAoYJtFPJovHupX2VRWPVaqtHlnMTrzsGFQDf4WfQJrjAQ9e2hAQ==} + babel-preset-expo@12.0.6: + resolution: {integrity: sha512-az3H7gDVo0wxNBAFES8h5vLLWE8NPGkD9g5P962hDEOqZUdyPacb9MOzicypeLmcq9zQWr6E3iVtEHoNagCTTQ==} peerDependencies: babel-plugin-react-compiler: ^19.0.0-beta-9ee70a1-20241017 react-compiler-runtime: ^19.0.0-beta-8a03594-20241020 @@ -4988,6 +5359,12 @@ packages: resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} engines: {node: '>=18'} + bundle-require@5.1.0: + resolution: {integrity: sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.18' + busboy@1.6.0: resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} engines: {node: '>=10.16.0'} @@ -4996,6 +5373,10 @@ packages: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + cacache@18.0.4: resolution: {integrity: sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==} engines: {node: ^16.14.0 || >=18.0.0} @@ -5047,8 +5428,8 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - caniuse-lite@1.0.30001692: - resolution: {integrity: sha512-A95VKan0kdtrsnMubMKxEKUKImOPSuCpYgxSQBo036P5YYgVIcOYJEgt/txJWqObiRQeISNCfef9nvlQ0vbV7A==} + caniuse-lite@1.0.30001696: + resolution: {integrity: sha512-pDCPkvzfa39ehJtJ+OwGT/2yvT2SbjfHhiIW2LWOAcMQ7BzwxT/XuyUp4OTOd0XFWA6BKw0JalnBHgSi5DGJBQ==} case-sensitive-paths-webpack-plugin@2.4.0: resolution: {integrity: sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==} @@ -5095,16 +5476,25 @@ packages: resolution: {integrity: sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==} engines: {node: '>= 0.8.0'} + chokidar-cli@3.0.0: + resolution: {integrity: sha512-xVW+Qeh7z15uZRxHOkP93Ux8A0xbPzwK4GaqD8dQOYc34TlkqUhVSS59fK36DOp5WdJlrRzlYSy02Ht99FjZqQ==} + engines: {node: '>= 8.10.0'} + hasBin: true + chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} + chokidar@4.0.3: + resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} + engines: {node: '>= 14.16.0'} + chownr@2.0.0: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} - chromatic@11.22.2: - resolution: {integrity: sha512-Z7+9hD1yp1fUm34XX1wojIco0lQlXOVYhzDSE8v1ZU6qLD2r4N6UHKD+N+XY1Jj+gpsDFWYMTpSnDfcHZf5mhg==} + chromatic@11.25.2: + resolution: {integrity: sha512-/9eQWn6BU1iFsop86t8Au21IksTRxwXAl7if8YHD05L2AbuMjClLWZo5cZojqrJHGKDhTqfrC2X2xE4uSm0iKw==} hasBin: true peerDependencies: '@chromatic-com/cypress': ^0.*.* || ^1.0.0 @@ -5138,8 +5528,8 @@ packages: resolution: {integrity: sha512-HutrvTNsF48wnxkzERIXOe5/mlcfFcbfCmwcg6CJnizbSue78AbDt+1cgl26zwn61WFxhcPykPfZrbqjGmBb4A==} engines: {node: '>=8'} - cjs-module-lexer@1.4.1: - resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==} + cjs-module-lexer@1.4.3: + resolution: {integrity: sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==} clean-css@4.2.4: resolution: {integrity: sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==} @@ -5188,6 +5578,12 @@ packages: client-only@0.0.1: resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} + cliui@5.0.0: + resolution: {integrity: sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==} + + cliui@7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -5231,6 +5627,9 @@ packages: color-string@1.9.1: resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} + color@3.2.1: + resolution: {integrity: sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==} + color@4.2.3: resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} engines: {node: '>=12.5.0'} @@ -5311,6 +5710,10 @@ packages: resolution: {integrity: sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==} engines: {node: '>= 0.10.0'} + consola@3.4.0: + resolution: {integrity: sha512-EiPU8G6dQG0GFHNR8ljnZFki/8a+cQwEQ+7wpxdChl02Q8HXlwEZWD5lqAF8vC2sEC3Tehr8hy7vErz88LHyUA==} + engines: {node: ^14.18.0 || >=16.10.0} + constants-browserify@1.0.0: resolution: {integrity: sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==} @@ -5331,6 +5734,14 @@ packages: cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} + cookie-signature@1.2.2: + resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==} + engines: {node: '>=6.6.0'} + + cookie@0.6.0: + resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} + engines: {node: '>= 0.6'} + cookie@0.7.1: resolution: {integrity: sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==} engines: {node: '>= 0.6'} @@ -5422,6 +5833,13 @@ packages: css-select@4.3.0: resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==} + css-select@5.1.0: + resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} + + css-tree@1.1.3: + resolution: {integrity: sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==} + engines: {node: '>=8.0.0'} + css-what@6.1.0: resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} engines: {node: '>= 6'} @@ -5467,6 +5885,10 @@ packages: resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==} engines: {node: '>=0.10'} + data-uri-to-buffer@3.0.1: + resolution: {integrity: sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==} + engines: {node: '>= 6'} + data-urls@3.0.2: resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} engines: {node: '>=12'} @@ -5520,8 +5942,16 @@ packages: supports-color: optional: true - decimal.js@10.4.3: - resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + decamelize@1.2.0: + resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} + engines: {node: '>=0.10.0'} + + decimal.js@10.5.0: + resolution: {integrity: sha512-8vDa8Qxvr/+d94hSh5P3IJwI5t8/c0KsMp+g8bNw9cY2icONa5aPfvKeieW1WlG0WQYwwhJ7mjui2xtiePQSXw==} + + decode-uri-component@0.2.2: + resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==} + engines: {node: '>=0.10'} dedent@0.7.0: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} @@ -5545,6 +5975,10 @@ packages: deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + deepmerge@3.3.0: + resolution: {integrity: sha512-GRQOafGHwMHpjPx9iCvTgpu9NojZ49q794EEL94JVEw6VaeA8XTUyBKvAkOOjBX9oJNiV6G3P+T+tihFjo2TqA==} + engines: {node: '>=0.10.0'} + deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} @@ -5592,9 +6026,6 @@ packages: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - denodeify@1.2.1: - resolution: {integrity: sha512-KNTihKNmQENUZeKu5fzfpzRqR5S2VMp4gl9RFHiWzj9DfvYQPMJ6XHKNaQxaGCXwPk6y9yme3aUoaiAe+KX+vg==} - depd@1.1.2: resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} engines: {node: '>= 0.6'} @@ -5730,8 +6161,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.5.79: - resolution: {integrity: sha512-nYOxJNxQ9Om4EC88BE4pPoNI8xwSFf8pU/BAeOl4Hh/b/i6V4biTAzwV7pXi3ARKeoYO5JZKMIXTryXSVer5RA==} + electron-to-chromium@1.5.90: + resolution: {integrity: sha512-C3PN4aydfW91Natdyd449Kw+BzhLmof6tzy5W1pFC5SpQxVXT+oyiyOG9AgYYSN9OdA/ik3YkCrpwqI8ug5Tug==} emittery@0.13.1: resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} @@ -5824,8 +6255,8 @@ packages: es-module-lexer@1.6.0: resolution: {integrity: sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ==} - es-object-atoms@1.0.0: - resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} + es-object-atoms@1.1.1: + resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} engines: {node: '>= 0.4'} es-set-tostringtag@2.1.0: @@ -5972,8 +6403,8 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react@7.37.3: - resolution: {integrity: sha512-DomWuTQPFYZwF/7c9W2fkKkStqZmBd3uugfqBYLdkZ3Hii23WzZuOLUskGxB8qkSKqftxEeGL1TB2kMhrce0jA==} + eslint-plugin-react@7.37.4: + resolution: {integrity: sha512-BGP0jRmfYyvOyvMoRX/uoUeW+GqNj9y16bPQzqAHf3AYII/tDs+jMN0dBVkl88/OZwNGwrVFxE7riHsXVfy/LQ==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 @@ -6086,51 +6517,86 @@ packages: resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - expo-asset@11.0.1: - resolution: {integrity: sha512-WatvD7JVC89EsllXFYcS/rji3ajVzE2B/USo0TqedsETixwyVCQfrrvCdCPQyuKghrxVNEj8bQ/Qbea/RZLYjg==} + expo-asset@11.0.3: + resolution: {integrity: sha512-vgJnC82IooAVMy5PxbdFIMNJhW4hKAUyxc5VIiAPPf10vFYw6CqHm+hrehu4ST1I4bvg5PV4uKdPxliebcbgLg==} peerDependencies: expo: '*' react: '*' react-native: '*' - expo-constants@17.0.3: - resolution: {integrity: sha512-lnbcX2sAu8SucHXEXxSkhiEpqH+jGrf+TF+MO6sHWIESjwOUVVYlT8qYdjR9xbxWmqFtrI4KV44FkeJf2DaFjQ==} + expo-constants@17.0.5: + resolution: {integrity: sha512-6SHXh32jCB+vrp2TRDNkoGoM421eOBPZIXX9ixI0hKKz71tIjD+LMr/P+rGUd/ks312MP3WK3j5vcYYPkCD8tQ==} peerDependencies: expo: '*' react-native: '*' - expo-file-system@18.0.6: - resolution: {integrity: sha512-gGEwIJCXV3/wpIJ/wRyhmieLOSAY7HeFFjb+wEfHs04aE63JYR+rXXV4b7rBpEh1ZgNV9U91zfet/iQG7J8HBQ==} + expo-file-system@18.0.8: + resolution: {integrity: sha512-hU4N6Jfr08b5/mXH3A9JDpmmHJrH3rM8Xu46ZxEzqGTmyk+FW9raCPP93uyVl1LIxi8+21/p44ih/SHIwUY4cA==} peerDependencies: expo: '*' react-native: '*' - expo-font@13.0.2: - resolution: {integrity: sha512-H9FaXM7ZW5+EfV38w80BgJG3H17kB7CuVXwHoiszIYyoPfWz9bWesFe4QwNZjTq3pzKes28sSd8irFuflIrSIA==} + expo-font@13.0.3: + resolution: {integrity: sha512-9IdYz+A+b3KvuCYP7DUUXF4VMZjPU+IsvAnLSVJ2TfP6zUD2JjZFx3jeo/cxWRkYk/aLj5+53Te7elTAScNl4Q==} peerDependencies: expo: '*' react: '*' - expo-keep-awake@14.0.1: - resolution: {integrity: sha512-c5mGCAIk2YM+Vsdy90BlEJ4ZX+KG5Au9EkJUIxXWlpnuKmDAJ3N+5nEZ7EUO1ZTheqoSBeAo4jJ8rTWPU+JXdw==} + expo-image-loader@5.0.0: + resolution: {integrity: sha512-Eg+5FHtyzv3Jjw9dHwu2pWy4xjf8fu3V0Asyy42kO+t/FbvW/vjUixpTjPtgKQLQh+2/9Nk4JjFDV6FwCnF2ZA==} + peerDependencies: + expo: '*' + + expo-image-picker@16.0.5: + resolution: {integrity: sha512-Rkc4vihqPN/48PV3QJkrG10Lg5s1LonKmpVnGwBSlHjRR5ngqJH++DYFndgD69hLaWrJukzCYpP3CyTMAAatWg==} + peerDependencies: + expo: '*' + + expo-keep-awake@14.0.2: + resolution: {integrity: sha512-71XAMnoWjKZrN8J7Q3+u0l9Ytp4OfhNAYz8BCWF1/9aFUw09J3I7Z5DuI3MUsVMa/KWi+XhG+eDUFP8cVA19Uw==} peerDependencies: expo: '*' react: '*' - expo-modules-autolinking@2.0.4: - resolution: {integrity: sha512-e0p+19NhmD50U7s7BV7kWIypWmTNC9n/VlJKlXS05hM/zX7pe6JKmXyb+BFnXJq3SLBalLCUY0tu2gEUF3XeVg==} + expo-linking@7.0.5: + resolution: {integrity: sha512-3KptlJtcYDPWohk0MfJU75MJFh2ybavbtcSd84zEPfw9s1q3hjimw3sXnH03ZxP54kiEWldvKmmnGcVffBDB1g==} + peerDependencies: + react: '*' + react-native: '*' + + expo-modules-autolinking@2.0.7: + resolution: {integrity: sha512-rkGc6a/90AC3q8wSy4V+iIpq6Fd0KXmQICKrvfmSWwrMgJmLfwP4QTrvLYPYOOMjFwNJcTaohcH8vzW/wYKrMg==} hasBin: true - expo-modules-core@2.1.2: - resolution: {integrity: sha512-0OhMU5S8zf9c/CRh1MwiXfOInI9wzz6yiIh5RuR/9J7N6xHRum68hInsPbaSc1UQpo08ZZLM4MPsbpoNRUoqIg==} + expo-modules-core@2.2.0: + resolution: {integrity: sha512-mOFEHIe6jZ7G5pYUVSQ2Ghs3CUr9Uz6DOh4JI+4PsTf0gmEvMmMEOrxirS89jRWQjXPJ7QaGBK0CJrZlj/Sdeg==} + + expo-router@4.0.17: + resolution: {integrity: sha512-8ybo6bVwdG1S9hafh9BTOjX1hpCgomdUvs6hKHMM01koo8mQ7zocH/+zxQeaMVDxGhboz2dO5GiDchWJ0OheRA==} + peerDependencies: + '@react-navigation/drawer': ^7.1.1 + '@testing-library/jest-native': '*' + expo: '*' + expo-constants: '*' + expo-linking: '*' + react-native-reanimated: '*' + react-native-safe-area-context: '*' + react-native-screens: '*' + peerDependenciesMeta: + '@react-navigation/drawer': + optional: true + '@testing-library/jest-native': + optional: true + react-native-reanimated: + optional: true - expo-secure-store@14.0.0: - resolution: {integrity: sha512-VyhtRFXP+7hQmHhKlHIOWid1Q/IRpM7Uif32tZHLZHvQ6FNz2cUkr26XWGvCa7btYbrR6OL++FBFZYjbIcRZTw==} + expo-secure-store@14.0.1: + resolution: {integrity: sha512-QUS+j4+UG4jRQalgnpmTvvrFnMVLqPiUZRzYPnG3+JrZ5kwVW2w6YS3WWerPoR7C6g3y/a2htRxRSylsDs+TaQ==} peerDependencies: expo: '*' - expo@52.0.24: - resolution: {integrity: sha512-g9o7Hi1Zqr5MHNR76sMVm3oEwBFWgAozx4CMbVIgJE+wq8Gu0WZyOFOL6NswR5aZs+Cx0CK5hZEXwDtLQql8WQ==} + expo@52.0.28: + resolution: {integrity: sha512-0O/JEYYCFszJ85frislm79YmlrQA5ghAQXV4dqcQcsy9FqftdicD4p/ehT36yiuGIhaKC6fn25LEaJ9JR2ei7g==} hasBin: true peerDependencies: '@expo/dom-webview': '*' @@ -6188,15 +6654,15 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fast-uri@3.0.5: - resolution: {integrity: sha512-5JnBCWpFlMo0a3ciDy/JckMzzv1U9coZrIhedq+HXxxUfDTAiS0LA8OKVao4G9BxmCVck/jtA5r3KAtRWEyD8Q==} + fast-uri@3.0.6: + resolution: {integrity: sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==} fastest-levenshtein@1.0.16: resolution: {integrity: sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==} engines: {node: '>= 4.9.1'} - fastq@1.18.0: - resolution: {integrity: sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==} + fastq@1.19.0: + resolution: {integrity: sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==} faye-websocket@0.11.4: resolution: {integrity: sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==} @@ -6217,6 +6683,14 @@ packages: fd-slicer@1.1.0: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + fdir@6.4.3: + resolution: {integrity: sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fetch-retry@4.1.1: resolution: {integrity: sha512-e6eB7zN6UBSwGVwrbWVH+gdLnkW9WwHhmq2YDK1Sh30pzx1onRVGBvogTlUeWxwTa+L86NYdo4hFkh7O8ZjSnA==} @@ -6240,6 +6714,10 @@ packages: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} + filter-obj@1.1.0: + resolution: {integrity: sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==} + engines: {node: '>=0.10.0'} + finalhandler@1.1.2: resolution: {integrity: sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==} engines: {node: '>= 0.8'} @@ -6293,8 +6771,8 @@ packages: flow-enums-runtime@0.0.6: resolution: {integrity: sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==} - flow-parser@0.258.1: - resolution: {integrity: sha512-Y8CrO98EcXVCiYE4s5z0LTMbeYjKyd3MAEUJqxA7B8yGRlmdrG5UDqq4pVrUAfAu2tMFgpQESvBhBu9Xg1tpow==} + flow-parser@0.259.1: + resolution: {integrity: sha512-xiXLmMH2Z7OmdE9Q+MjljUMr/rbemFqZIRxaeZieVScG4HzQrKKhNcCYZbWTGpoN7ZPi7z8ClQbeVPq6t5AszQ==} engines: {node: '>=0.4.0'} follow-redirects@1.15.9: @@ -6309,8 +6787,9 @@ packages: fontfaceobserver@2.3.0: resolution: {integrity: sha512-6FPvD/IVyT4ZlNe7Wcn5Fb/4ChigpucKYSvD6a+0iMoLn2inpo711eyIcKjmDtE5XNcgAkSH9uN/nfAeZzHEfg==} - for-each@0.3.3: - resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + for-each@0.3.4: + resolution: {integrity: sha512-kKaIINnFpzW6ffJNDjjyjrk21BkDx38c0xa/klsT8VzLCaMEefv4ZTacrcVR4DmgTeBra++jMDAfS/tS799YDw==} + engines: {node: '>= 0.4'} foreground-child@3.3.0: resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} @@ -6341,8 +6820,8 @@ packages: fraction.js@4.3.7: resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} - framer-motion@11.16.4: - resolution: {integrity: sha512-7ncPlBjrYX6iQXcTSw1kvZcHSVjEuOAW3uWuu+/+chUS4UWBMe8kCjniE4VMc2/BMo0su0Uw9sw0aWS9anpPWA==} + framer-motion@11.18.2: + resolution: {integrity: sha512-5F5Och7wrvtLVElIpclDT0CBzMVg3dL22B64aZwHtsIY8RB4mXICLrkajK4G9R+ieSAGcgrLeae2SeUTg2pr6w==} peerDependencies: '@emotion/is-prop-valid': '*' react: ^18.0.0 || ^19.0.0 @@ -6394,6 +6873,9 @@ packages: fs-monkey@1.0.6: resolution: {integrity: sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg==} + fs-readdir-recursive@1.1.0: + resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==} + fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} @@ -6460,8 +6942,8 @@ packages: resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==} engines: {node: '>= 0.4'} - get-tsconfig@4.8.1: - resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==} + get-tsconfig@4.10.0: + resolution: {integrity: sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==} getenv@1.0.0: resolution: {integrity: sha512-7yetJWqbS9sbn0vIfliPsFgoXMKn/YMF+Wuiog97x+urnSRRRZ7xB+uVkwGKzRgq9CDFfMQnE9ruL5DHv9c6Xg==} @@ -6588,18 +7070,12 @@ packages: hermes-estree@0.23.1: resolution: {integrity: sha512-eT5MU3f5aVhTqsfIReZ6n41X5sYn4IdQL0nvz6yO+MMlPxw49aSARHLg/MSehQftyjnrE8X6bYregzSumqc6cg==} - hermes-estree@0.24.0: - resolution: {integrity: sha512-LyoXLB7IFzeZW0EvAbGZacbxBN7t6KKSDqFJPo3Ydow7wDlrDjXwsdiAHV6XOdvEN9MEuWXsSIFN4tzpyrXIHw==} - hermes-estree@0.25.1: resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==} hermes-parser@0.23.1: resolution: {integrity: sha512-oxl5h2DkFW83hT4DAUJorpah8ou4yvmweUzLJmmr6YV2cezduCdlil1AvU/a/xSsAFo4WUcNA4GoV5Bvq6JffA==} - hermes-parser@0.24.0: - resolution: {integrity: sha512-IJooSvvu2qNRe7oo9Rb04sUT4omtZqZqf9uq9WM25Tb6v3usmvA93UqfnnoWs5V0uYjEl9Al6MNU10MCGKLwpg==} - hermes-parser@0.25.1: resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==} @@ -6700,8 +7176,8 @@ packages: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} - http-parser-js@0.5.8: - resolution: {integrity: sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==} + http-parser-js@0.5.9: + resolution: {integrity: sha512-n1XsPy3rXVxlqxVioEWdC+0+M+SQw0DpJynwtOPo1X+ZlvdzTLtDBIJJlDQTnwZIFJrZSzSGmIOUdP8tu+SgLw==} http-proxy-agent@5.0.0: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} @@ -6785,8 +7261,8 @@ packages: resolution: {integrity: sha512-eZ5H8rcgYazHbKC3PG4ClHNykCSxtAhxSSEM+2mb+7evD2CKF5V7c0dNum7AdpDh0ZdICwZY9sRSn8f+KH96sg==} engines: {node: '>=4'} - import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + import-fresh@3.3.1: + resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} engines: {node: '>=6'} import-local@3.2.0: @@ -6860,8 +7336,8 @@ packages: is-arrayish@0.3.2: resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} - is-async-function@2.1.0: - resolution: {integrity: sha512-GExz9MtyhlZyXYLxzlJRj5WUCE661zhDa1Yna52CN57AJsymh+DvXXjyveSioqSRdxvUrdKdvqB1b5cVKsNpWQ==} + is-async-function@2.1.1: + resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==} engines: {node: '>= 0.4'} is-bigint@1.1.0: @@ -7287,6 +7763,10 @@ packages: react: optional: true + joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + js-cookie@3.0.5: resolution: {integrity: sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==} engines: {node: '>=14'} @@ -7598,6 +8078,10 @@ packages: resolution: {integrity: sha512-9bMdFfc80S+vSldBmG3HOuLVHnxRdNTlpzR6QDnzqCQtCzGUEAGTzBKYMeIM+I/sU4oZfgbcbS7X7F65/z/oxQ==} hasBin: true + load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -7644,6 +8128,9 @@ packages: lodash.once@4.1.1: resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==} + lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} @@ -7673,8 +8160,8 @@ packages: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true - loupe@3.1.2: - resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} + loupe@3.1.3: + resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} @@ -7732,6 +8219,9 @@ packages: md5@2.3.0: resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==} + mdn-data@2.0.14: + resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} + media-typer@0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} @@ -7740,8 +8230,8 @@ packages: resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} engines: {node: '>= 4.0.0'} - memfs@4.15.3: - resolution: {integrity: sha512-vR/g1SgqvKJgAyYla+06G4p/EOcEmwhYuVb1yc1ixcKf8o/sh7Zngv63957ZSNd1xrZJoinmNyDf2LzuP8WJXw==} + memfs@4.17.0: + resolution: {integrity: sha512-4eirfZ7thblFmqFjywlTmuWVSvccHAJbn1r8qQLzmTO11qcqpohOjmY2mFce6x7x7WtskzRqApPD0hv+Oa74jg==} engines: {node: '>= 4.0.0'} memoize-one@5.2.1: @@ -7764,61 +8254,61 @@ packages: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} - metro-babel-transformer@0.81.0: - resolution: {integrity: sha512-Dc0QWK4wZIeHnyZ3sevWGTnnSkIDDn/SWyfrn99zbKbDOCoCYy71PAn9uCRrP/hduKLJQOy+tebd63Rr9D8tXg==} + metro-babel-transformer@0.81.1: + resolution: {integrity: sha512-JECKDrQaUnDmj0x/Q/c8c5YwsatVx38Lu+BfCwX9fR8bWipAzkvJocBpq5rOAJRDXRgDcPv2VO4Q4nFYrpYNQg==} engines: {node: '>=18.18'} - metro-cache-key@0.81.0: - resolution: {integrity: sha512-qX/IwtknP9bQZL78OK9xeSvLM/xlGfrs6SlUGgHvrxtmGTRSsxcyqxR+c+7ch1xr05n62Gin/O44QKg5V70rNQ==} + metro-cache-key@0.81.1: + resolution: {integrity: sha512-5fDaHR1yTvpaQuwMAeEoZGsVyvjrkw9IFAS7WixSPvaNY5YfleqoJICPc6hbXFJjvwCCpwmIYFkjqzR/qJ6yqA==} engines: {node: '>=18.18'} - metro-cache@0.81.0: - resolution: {integrity: sha512-DyuqySicHXkHUDZFVJmh0ygxBSx6pCKUrTcSgb884oiscV/ROt1Vhye+x+OIHcsodyA10gzZtrVtxIFV4l9I4g==} + metro-cache@0.81.1: + resolution: {integrity: sha512-Uqcmn6sZ+Y0VJHM88VrG5xCvSeU7RnuvmjPmSOpEcyJJBe02QkfHL05MX2ZyGDTyZdbKCzaX0IijrTe4hN3F0Q==} engines: {node: '>=18.18'} - metro-config@0.81.0: - resolution: {integrity: sha512-6CinEaBe3WLpRlKlYXXu8r1UblJhbwD6Gtnoib5U8j6Pjp7XxMG9h/DGMeNp9aGLDu1OieUqiXpFo7O0/rR5Kg==} + metro-config@0.81.1: + resolution: {integrity: sha512-VAAJmxsKIZ+Fz5/z1LVgxa32gE6+2TvrDSSx45g85WoX4EtLmdBGP3DSlpQW3DqFUfNHJCGwMLGXpJnxifd08g==} engines: {node: '>=18.18'} - metro-core@0.81.0: - resolution: {integrity: sha512-CVkM5YCOAFkNMvJai6KzA0RpztzfEKRX62/PFMOJ9J7K0uq/UkOFLxcgpcncMIrfy0PbfEj811b69tjULUQe1Q==} + metro-core@0.81.1: + resolution: {integrity: sha512-4d2/+02IYqOwJs4dmM0dC8hIZqTzgnx2nzN4GTCaXb3Dhtmi/SJ3v6744zZRnithhN4lxf8TTJSHnQV75M7SSA==} engines: {node: '>=18.18'} - metro-file-map@0.81.0: - resolution: {integrity: sha512-zMDI5uYhQCyxbye/AuFx/pAbsz9K+vKL7h1ShUXdN2fz4VUPiyQYRsRqOoVG1DsiCgzd5B6LW0YW77NFpjDQeg==} + metro-file-map@0.81.1: + resolution: {integrity: sha512-aY72H2ujmRfFxcsbyh83JgqFF+uQ4HFN1VhV2FmcfQG4s1bGKf2Vbkk+vtZ1+EswcBwDZFbkpvAjN49oqwGzAA==} engines: {node: '>=18.18'} - metro-minify-terser@0.81.0: - resolution: {integrity: sha512-U2ramh3W822ZR1nfXgIk+emxsf5eZSg10GbQrT0ZizImK8IZ5BmJY+BHRIkQgHzWFpExOVxC7kWbGL1bZALswA==} + metro-minify-terser@0.81.1: + resolution: {integrity: sha512-p/Qz3NNh1nebSqMlxlUALAnESo6heQrnvgHtAuxufRPtKvghnVDq9hGGex8H7z7YYLsqe42PWdt4JxTA3mgkvg==} engines: {node: '>=18.18'} - metro-resolver@0.81.0: - resolution: {integrity: sha512-Uu2Q+buHhm571cEwpPek8egMbdSTqmwT/5U7ZVNpK6Z2ElQBBCxd7HmFAslKXa7wgpTO2FAn6MqGeERbAtVDUA==} + metro-resolver@0.81.1: + resolution: {integrity: sha512-E61t6fxRoYRkl6Zo3iUfCKW4DYfum/bLjcejXBMt1y3I7LFkK84TCR/Rs9OAwsMCY/7GOPB4+CREYZOtCC7CNA==} engines: {node: '>=18.18'} - metro-runtime@0.81.0: - resolution: {integrity: sha512-6oYB5HOt37RuGz2eV4A6yhcl+PUTwJYLDlY9vhT+aVjbUWI6MdBCf69vc4f5K5Vpt+yOkjy+2LDwLS0ykWFwYw==} + metro-runtime@0.81.1: + resolution: {integrity: sha512-pqu5j5d01rjF85V/K8SDDJ0NR3dRp6bE3z5bKVVb5O2Rx0nbR9KreUxYALQCRCcQHaYySqCg5fYbGKBHC295YQ==} engines: {node: '>=18.18'} - metro-source-map@0.81.0: - resolution: {integrity: sha512-TzsVxhH83dyxg4A4+L1nzNO12I7ps5IHLjKGZH3Hrf549eiZivkdjYiq/S5lOB+p2HiQ+Ykcwtmcja95LIC62g==} + metro-source-map@0.81.1: + resolution: {integrity: sha512-1i8ROpNNiga43F0ZixAXoFE/SS3RqcRDCCslpynb+ytym0VI7pkTH1woAN2HI9pczYtPrp3Nq0AjRpsuY35ieA==} engines: {node: '>=18.18'} - metro-symbolicate@0.81.0: - resolution: {integrity: sha512-C/1rWbNTPYp6yzID8IPuQPpVGzJ2rbWYBATxlvQ9dfK5lVNoxcwz77hjcY8ISLsRRR15hyd/zbjCNKPKeNgE1Q==} + metro-symbolicate@0.81.1: + resolution: {integrity: sha512-Lgk0qjEigtFtsM7C0miXITbcV47E1ZYIfB+m/hCraihiwRWkNUQEPCWvqZmwXKSwVE5mXA0EzQtghAvQSjZDxw==} engines: {node: '>=18.18'} hasBin: true - metro-transform-plugins@0.81.0: - resolution: {integrity: sha512-uErLAPBvttGCrmGSCa0dNHlOTk3uJFVEVWa5WDg6tQ79PRmuYRwzUgLhVzn/9/kyr75eUX3QWXN79Jvu4txt6Q==} + metro-transform-plugins@0.81.1: + resolution: {integrity: sha512-7L1lI44/CyjIoBaORhY9fVkoNe8hrzgxjSCQ/lQlcfrV31cZb7u0RGOQrKmUX7Bw4FpejrB70ArQ7Mse9mk7+Q==} engines: {node: '>=18.18'} - metro-transform-worker@0.81.0: - resolution: {integrity: sha512-HrQ0twiruhKy0yA+9nK5bIe3WQXZcC66PXTvRIos61/EASLAP2DzEmW7IxN/MGsfZegN2UzqL2CG38+mOB45vg==} + metro-transform-worker@0.81.1: + resolution: {integrity: sha512-M+2hVT3rEy5K7PBmGDgQNq3Zx53TjScOcO/CieyLnCRFtBGWZiSJ2+bLAXXOKyKa/y3bI3i0owxtyxuPGDwbZg==} engines: {node: '>=18.18'} - metro@0.81.0: - resolution: {integrity: sha512-kzdzmpL0gKhEthZ9aOV7sTqvg6NuTxDV8SIm9pf9sO8VVEbKrQk5DNcwupOUjgPPFAuKUc2NkT0suyT62hm2xg==} + metro@0.81.1: + resolution: {integrity: sha512-fqRu4fg8ONW7VfqWFMGgKAcOuMzyoQah2azv9Y3VyFXAmG+AoTU6YIFWqAADESCGVWuWEIvxTJhMf3jxU6jwjA==} engines: {node: '>=18.18'} hasBin: true @@ -7913,16 +8403,20 @@ packages: engines: {node: '>=10'} hasBin: true - motion-dom@11.16.4: - resolution: {integrity: sha512-2wuCie206pCiP2K23uvwJeci4pMFfyQKpWI0Vy6HrCTDzDCer4TsYtT7IVnuGbDeoIV37UuZiUr6SZMHEc1Vww==} + motion-dom@11.18.1: + resolution: {integrity: sha512-g76KvA001z+atjfxczdRtw/RXOM3OMSdd1f4DL77qCTF/+avrRJiawSG4yDibEQ215sr9kpinSlX2pCTJ9zbhw==} - motion-utils@11.16.0: - resolution: {integrity: sha512-ngdWPjg31rD4WGXFi0eZ00DQQqKKu04QExyv/ymlC+3k+WIgYVFbt6gS5JsFPbJODTF/r8XiE/X+SsoT9c0ocw==} + motion-utils@11.18.1: + resolution: {integrity: sha512-49Kt+HKjtbJKLtgO/LKj9Ld+6vw9BjH5d9sc40R/kVyH8GLAXgT42M2NnuPcJNuA3s9ZfZBUcwIgpmZWGEE+hA==} mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} + mrmime@1.0.1: + resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==} + engines: {node: '>=10'} + ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -8090,8 +8584,8 @@ packages: nwsapi@2.2.16: resolution: {integrity: sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==} - ob1@0.81.0: - resolution: {integrity: sha512-6Cvrkxt1tqaRdWqTAMcVYEiO5i1xcF9y7t06nFdjFqkfPsEloCf8WwhXdwBpNUkVYSQlSGS7cDgVQR86miBfBQ==} + ob1@0.81.1: + resolution: {integrity: sha512-1PEbvI+AFvOcgdNcO79FtDI1TUO8S3lhiKOyAiyWQF3sFDDKS+aw2/BZvGlArFnSmqckwOOB9chQuIX0/OahoQ==} engines: {node: '>=18.18'} object-assign@4.1.1: @@ -8266,8 +8760,8 @@ packages: package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} - package-manager-detector@0.2.8: - resolution: {integrity: sha512-ts9KSdroZisdvKMWVAVCXiKqnqNfXz4+IbrBG8/BWx/TR5le+jfenvoBuIZ6UWM9nz47W7AbD9qYfAwfWMIwzA==} + package-manager-detector@0.2.9: + resolution: {integrity: sha512-+vYvA/Y31l8Zk8dwxHhL3JfTuHPm6tlxM2A3GeQyl7ovYnSp1+mzAxClxaOr0qO1TtPxbQxetI7v5XqKLJZk7Q==} param-case@3.0.4: resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} @@ -8375,6 +8869,10 @@ packages: resolution: {integrity: sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==} engines: {node: '>=10'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pidtree@0.6.0: resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} engines: {node: '>=0.10'} @@ -8444,6 +8942,24 @@ packages: ts-node: optional: true + postcss-load-config@6.0.1: + resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} + engines: {node: '>= 18'} + peerDependencies: + jiti: '>=1.21.0' + postcss: '>=8.0.9' + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + jiti: + optional: true + postcss: + optional: true + tsx: + optional: true + yaml: + optional: true + postcss-loader@8.1.1: resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==} engines: {node: '>= 18.12.0'} @@ -8510,10 +9026,6 @@ packages: resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} - postcss@8.4.49: - resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} - engines: {node: ^10 || ^12 || >=14} - posthtml-parser@0.11.0: resolution: {integrity: sha512-QecJtfLekJbWVo/dMAA+OSwY79wpRmbqS5TeXvXSX+f0c6pW4/SE6inzZ2qkU7oAMCPqIDkZDvd/bQsSFUnKyw==} engines: {node: '>=12'} @@ -8534,15 +9046,15 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier-plugin-tailwindcss@0.6.9: - resolution: {integrity: sha512-r0i3uhaZAXYP0At5xGfJH876W3HHGHDp+LCRUJrs57PBeQ6mYHMwr25KH8NPX44F2yGTvdnH7OqCshlQx183Eg==} + prettier-plugin-tailwindcss@0.6.11: + resolution: {integrity: sha512-YxaYSIvZPAqhrrEpRtonnrXdghZg1irNg4qrjboCXrpybLWVs55cW2N3juhspVJiO0JBvYJT8SYsJpc8OQSnsA==} engines: {node: '>=14.21.3'} peerDependencies: '@ianvs/prettier-plugin-sort-imports': '*' '@prettier/plugin-pug': '*' '@shopify/prettier-plugin-liquid': '*' '@trivago/prettier-plugin-sort-imports': '*' - '@zackad/prettier-plugin-twig-melody': '*' + '@zackad/prettier-plugin-twig': '*' prettier: ^3.0 prettier-plugin-astro: '*' prettier-plugin-css-order: '*' @@ -8564,7 +9076,7 @@ packages: optional: true '@trivago/prettier-plugin-sort-imports': optional: true - '@zackad/prettier-plugin-twig-melody': + '@zackad/prettier-plugin-twig': optional: true prettier-plugin-astro: optional: true @@ -8683,6 +9195,14 @@ packages: resolution: {integrity: sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==} engines: {node: '>=0.6'} + qs@6.14.0: + resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==} + engines: {node: '>=0.6'} + + query-string@7.1.3: + resolution: {integrity: sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==} + engines: {node: '>=6'} + querystringify@2.2.0: resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} @@ -8721,8 +9241,8 @@ packages: peerDependencies: typescript: '>= 4.3.x' - react-docgen@7.1.0: - resolution: {integrity: sha512-APPU8HB2uZnpl6Vt/+0AFoVYgSRtfiP6FLrZgPPTDmqSb2R4qZRbgd0A3VzIFxDt5e+Fozjx79WjLWnF69DK8g==} + react-docgen@7.1.1: + resolution: {integrity: sha512-hlSJDQ2synMPKFZOsKo9Hi8WWZTC7POR8EmWvTSjow+VDgKzkmjQvFm2fk0tmRw+f0vTOIYKlarR0iL4996pdg==} engines: {node: '>=16.14.0'} react-dom@18.3.1: @@ -8739,6 +9259,21 @@ packages: react-error-overlay@6.0.9: resolution: {integrity: sha512-nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew==} + react-fast-compare@3.2.2: + resolution: {integrity: sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==} + + react-freeze@1.0.4: + resolution: {integrity: sha512-r4F0Sec0BLxWicc7HEyo2x3/2icUTrRmDjaaRyzzn+7aDyFZliszMDOgLVwSnQnYENOlL1o569Ze2HZefk8clA==} + engines: {node: '>=10'} + peerDependencies: + react: '>=17.0.0' + + react-helmet-async@1.3.0: + resolution: {integrity: sha512-9jZ57/dAn9t3q6hneQS0wukqC2ENOBgMNVEhb/ZG9ZSxUetzVIw4iAmEU38IaVg3QGYauQPhSeUTuIUtFglWpg==} + peerDependencies: + react: ^16.6.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.6.0 || ^17.0.0 || ^18.0.0 + react-hook-form@7.51.5: resolution: {integrity: sha512-J2ILT5gWx1XUIJRETiA7M19iXHlG74+6O3KApzvqB/w8S5NQR7AbU8HVZrMALdmDgWpRPYiZJl0zx8Z4L2mP6Q==} engines: {node: '>=12.22.0'} @@ -8762,7 +9297,75 @@ packages: peerDependencies: react: ^15.x.x || ^16.x.x || ^17.x.x || ^18.x.x || ^19.x.x - react-native@0.76.3: + react-native-drawer-layout@4.1.1: + resolution: {integrity: sha512-ob6O3ph7PZ3A2FpdlsSxHuMpHDXREZPR8A6S3q0dSxV7i6d+8Z6CPCTbegfN2QZyizSow9NLrKyXP93tlqZ3dA==} + peerDependencies: + react: '>= 18.2.0' + react-native: '*' + react-native-gesture-handler: '>= 2.0.0' + react-native-reanimated: '>= 2.0.0' + + react-native-gesture-handler@2.20.2: + resolution: {integrity: sha512-HqzFpFczV4qCnwKlvSAvpzEXisL+Z9fsR08YV5LfJDkzuArMhBu2sOoSPUF/K62PCoAb+ObGlTC83TKHfUd0vg==} + peerDependencies: + react: '*' + react-native: '*' + + react-native-gesture-handler@2.22.1: + resolution: {integrity: sha512-E0C9D+Ia2UZYevoSV9rTKjhFWEVdR/3l4Z3TUoQrI/wewgzDlmJOrYvGW5aMlPUuQF2vHQOdFfAWhVEqFu4tWw==} + peerDependencies: + react: '*' + react-native: '*' + + react-native-helmet-async@2.0.4: + resolution: {integrity: sha512-m3CkXWss6B1dd6mCMleLpzDCJJGGaHOLQsUzZv8kAASJmMfmVT4d2fx375iXKTRWT25ThBfae3dECuX5cq/8hg==} + peerDependencies: + react: ^16.6.0 || ^17.0.0 || ^18.0.0 + + react-native-is-edge-to-edge@1.1.6: + resolution: {integrity: sha512-1pHnFTlBahins6UAajXUqeCOHew9l9C2C8tErnpGC3IyLJzvxD+TpYAixnCbrVS52f7+NvMttbiSI290XfwN0w==} + peerDependencies: + react: '>=18.2.0' + react-native: '>=0.73.0' + + react-native-paper@5.13.1: + resolution: {integrity: sha512-8frKVKJ5JBd8WL1G3tpcYzOgK40kxkD/U+yLHGKNeLnD6v1Qc9W6DxWTHWN7lsX/DPYnhgvw1aKkYaPTmDj5pg==} + peerDependencies: + react: '*' + react-native: '*' + react-native-safe-area-context: '*' + react-native-vector-icons: '*' + + react-native-reanimated@3.16.7: + resolution: {integrity: sha512-qoUUQOwE1pHlmQ9cXTJ2MX9FQ9eHllopCLiWOkDkp6CER95ZWeXhJCP4cSm6AD4jigL5jHcZf/SkWrg8ttZUsw==} + peerDependencies: + '@babel/core': ^7.0.0-0 + react: '*' + react-native: '*' + + react-native-safe-area-context@5.1.0: + resolution: {integrity: sha512-Y4vyJX+0HPJUQNVeIJTj2/UOjbSJcB09OEwirAWDrOZ67Lz5p43AmjxSy8nnZft1rMzoh3rcPuonB6jJyHTfCw==} + peerDependencies: + react: '*' + react-native: '*' + + react-native-screens@4.6.0: + resolution: {integrity: sha512-PqGtR/moJLiTMSavhfo5spKXNHZrlxffq3g5UUVPmyuu7MmazFlPvYqiAYnR2iB9tkJYgvZO6sbjYAE7619M0A==} + peerDependencies: + react: '*' + react-native: '*' + + react-native-svg@15.11.1: + resolution: {integrity: sha512-Qmwx/yJKt+AHUr4zjxx/Q69qwKtRfr1+uIfFMQoq3WFRhqU76aL9db1DyvPiY632DAsVGba1pHf92OZPkpjrdQ==} + peerDependencies: + react: '*' + react-native: '*' + + react-native-vector-icons@10.2.0: + resolution: {integrity: sha512-n5HGcxUuVaTf9QJPs/W22xQpC2Z9u0nb0KgLPnVltP8vdUvOp6+R26gF55kilP/fV4eL4vsAHUqUjewppJMBOQ==} + hasBin: true + + react-native@0.76.3: resolution: {integrity: sha512-0TUhgmlouRNf6yuDIIAdbQl0g1VsONgCMsLs7Et64hjj5VLMCA7np+4dMrZvGZ3wRNqzgeyT9oWJsUm49AcwSQ==} engines: {node: '>=18'} hasBin: true @@ -8817,6 +9420,10 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} + readdirp@4.1.1: + resolution: {integrity: sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==} + engines: {node: '>= 14.18.0'} + readline@1.3.0: resolution: {integrity: sha512-k2d6ACCkiNYz222Fs/iNze30rRJ1iIicW7JuX/7/cozvih6YCkFZH+J6mAFDVgv0dRBaAyr4jDqC95R2y4IADg==} @@ -8913,6 +9520,9 @@ packages: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} + require-main-filename@2.0.0: + resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} + requireg@0.2.2: resolution: {integrity: sha512-nYzyjnFcPNGR3lx9lwPPPnuQxv6JWEZd2Ci0u9opN7N5zUEPIhY/GbL3vMGOr2UXwEg9WwSyV9X9Y/kLFgPsOg==} engines: {node: '>= 4.0.0'} @@ -8999,6 +9609,11 @@ packages: resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==} hasBin: true + rollup@4.34.1: + resolution: {integrity: sha512-iYZ/+PcdLYSGfH3S+dGahlW/RWmsqDhLgj1BT9DH/xXJ0ggZN7xkdP9wipPNjjNLczI+fmMLmTB9pye+d2r4GQ==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-applescript@7.0.0: resolution: {integrity: sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==} engines: {node: '>=18'} @@ -9071,6 +9686,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.7.0: + resolution: {integrity: sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==} + engines: {node: '>=10'} + hasBin: true + send@0.19.0: resolution: {integrity: sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==} engines: {node: '>= 0.8.0'} @@ -9097,6 +9717,12 @@ packages: server-only@0.0.1: resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==} + set-blocking@2.0.0: + resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + + set-cookie-parser@2.7.1: + resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==} + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -9122,6 +9748,9 @@ packages: resolution: {integrity: sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==} engines: {node: '>=8'} + shallowequal@1.1.0: + resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} + sharp@0.33.5: resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} @@ -9186,6 +9815,10 @@ packages: sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + slash@2.0.0: + resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==} + engines: {node: '>=6'} + slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -9231,6 +9864,10 @@ packages: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} + source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + spawndamnit@3.0.1: resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} @@ -9247,6 +9884,10 @@ packages: peerDependencies: webpack: ^1 || ^2 || ^3 || ^4 || ^5 + split-on-first@1.1.0: + resolution: {integrity: sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==} + engines: {node: '>=6'} + split@1.0.1: resolution: {integrity: sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==} @@ -9301,6 +9942,9 @@ packages: resolution: {integrity: sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==} engines: {node: '>= 0.10.0'} + stream-slice@0.1.2: + resolution: {integrity: sha512-QzQxpoacatkreL6jsxnVb7X5R/pGw9OUv2qWTYWnmLpg4NdN31snPy/f3TdQE1ZUXaThRvj1Zw4/OGg0ZkaLMA==} + streamsearch@1.1.0: resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} engines: {node: '>=10.0.0'} @@ -9308,6 +9952,10 @@ packages: strict-event-emitter@0.5.1: resolution: {integrity: sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==} + strict-uri-encode@2.0.0: + resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==} + engines: {node: '>=4'} + string-argv@0.3.2: resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} engines: {node: '>=0.6.19'} @@ -9561,9 +10209,6 @@ packages: throttleit@1.0.1: resolution: {integrity: sha512-vDZpf9Chs9mAdfY046mcPt8fg5QSZr37hEH4TXYBnDF+izxgrbRGUAAaBvIk/fJm9aOFCGFd1EsNg5AZCbnQCQ==} - through2@2.0.5: - resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} - through@2.3.8: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} @@ -9576,6 +10221,13 @@ packages: tiny-invariant@1.3.3: resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==} + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinyglobby@0.2.10: + resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} + engines: {node: '>=12.0.0'} + tinyrainbow@1.2.0: resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} engines: {node: '>=14.0.0'} @@ -9584,11 +10236,11 @@ packages: resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} - tldts-core@6.1.71: - resolution: {integrity: sha512-LRbChn2YRpic1KxY+ldL1pGXN/oVvKfCVufwfVzEQdFYNo39uF7AJa/WXdo+gYO7PTvdfkCPCed6Hkvz/kR7jg==} + tldts-core@6.1.76: + resolution: {integrity: sha512-uzhJ02RaMzgQR3yPoeE65DrcHI6LoM4saUqXOt/b5hmb3+mc4YWpdSeAQqVqRUlQ14q8ZuLRWyBR1ictK1dzzg==} - tldts@6.1.71: - resolution: {integrity: sha512-LQIHmHnuzfZgZWAf2HzL83TIIrD8NhhI0DVxqo9/FdOd4ilec+NTNZOlDZf7EwrTNoutccbsHjvWHYXLAtvxjw==} + tldts@6.1.76: + resolution: {integrity: sha512-6U2ti64/nppsDxQs9hw8ephA3nO6nSQvVVfxwRw8wLQPFtLI1cFI1a1eP22g+LUP+1TA2pKKjUTwWB+K2coqmQ==} hasBin: true tmp@0.0.33: @@ -9625,6 +10277,9 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + tr46@3.0.0: resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} engines: {node: '>=12'} @@ -9697,6 +10352,25 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tsup@8.3.6: + resolution: {integrity: sha512-XkVtlDV/58S9Ye0JxUUTcrQk4S+EqlOHKzg6Roa62rdjL1nGWNUstG0xgI4vanHdfIpjP448J8vlN0oK6XOJ5g==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7.36.0 + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.5.0' + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} @@ -9706,38 +10380,41 @@ packages: tunnel-agent@0.6.0: resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} - turbo-darwin-64@2.3.3: - resolution: {integrity: sha512-bxX82xe6du/3rPmm4aCC5RdEilIN99VUld4HkFQuw+mvFg6darNBuQxyWSHZTtc25XgYjQrjsV05888w1grpaA==} + turbo-darwin-64@2.4.0: + resolution: {integrity: sha512-kVMScnPUa3R4n7woNmkR15kOY0aUwCLJcUyH5UC59ggKqr5HIHwweKYK8N1pwBQso0LQF4I9i93hIzfJguCcwQ==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.3.3: - resolution: {integrity: sha512-DYbQwa3NsAuWkCUYVzfOUBbSUBVQzH5HWUFy2Kgi3fGjIWVZOFk86ss+xsWu//rlEAfYwEmopigsPYSmW4X15A==} + turbo-darwin-arm64@2.4.0: + resolution: {integrity: sha512-8JObIpfun1guA7UlFR5jC/SOVm49lRscxMxfg5jZ5ABft79rhFC+ygN9AwAhGKv6W2DUhIh2xENkSgu4EDmUyg==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.3.3: - resolution: {integrity: sha512-eHj9OIB0dFaP6BxB88jSuaCLsOQSYWBgmhy2ErCu6D2GG6xW3b6e2UWHl/1Ho9FsTg4uVgo4DB9wGsKa5erjUA==} + turbo-linux-64@2.4.0: + resolution: {integrity: sha512-xWDGGcRlBuGV7HXWAVuTY6vsQi4aZxGMAnuiuNDg8Ij1aHGohOM0RUsWMXjxz4vuJmjk9+/D6NQqHH3AJEXezg==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.3.3: - resolution: {integrity: sha512-NmDE/NjZoDj1UWBhMtOPmqFLEBKhzGS61KObfrDEbXvU3lekwHeoPvAMfcovzswzch+kN2DrtbNIlz+/rp8OCg==} + turbo-linux-arm64@2.4.0: + resolution: {integrity: sha512-c3En99xMguc/Pdtk/rZP53LnDdw0W6lgUc04he8r8F+UHYSNvgzHh0WGXXmCC6lGbBH72kPhhGx4bAwyvi7dug==} cpu: [arm64] os: [linux] - turbo-windows-64@2.3.3: - resolution: {integrity: sha512-O2+BS4QqjK3dOERscXqv7N2GXNcqHr9hXumkMxDj/oGx9oCatIwnnwx34UmzodloSnJpgSqjl8iRWiY65SmYoQ==} + turbo-stream@2.4.0: + resolution: {integrity: sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g==} + + turbo-windows-64@2.4.0: + resolution: {integrity: sha512-/gOORuOlyA8JDPzyA16CD3wvyRcuBFePa1URAnFUof9hXQmKxK0VvSDO79cYZFsJSchCKNJpckUS0gYxGsWwoA==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.3.3: - resolution: {integrity: sha512-dW4ZK1r6XLPNYLIKjC4o87HxYidtRRcBeo/hZ9Wng2XM/MqqYkAyzJXJGgRMsc0MMEN9z4+ZIfnSNBrA0b08ag==} + turbo-windows-arm64@2.4.0: + resolution: {integrity: sha512-/DJIdTFijEMM5LSiEpSfarDOMOlYqJV+EzmppqWtHqDsOLF4hbbIBH9sJR6OOp5dURAu5eURBYdmvBRz9Lo6TA==} cpu: [arm64] os: [win32] - turbo@2.3.3: - resolution: {integrity: sha512-DUHWQAcC8BTiUZDRzAYGvpSpGLiaOQPfYXlCieQbwUvmml/LRGIe3raKdrOPOoiX0DYlzxs2nH6BoWJoZrj8hA==} + turbo@2.4.0: + resolution: {integrity: sha512-ah/yQp2oMif1X0u7fBJ4MLMygnkbKnW5O8SG6pJvloPCpHfFoZctkSVQiJ3VnvNTq71V2JJIdwmOeu1i34OQyg==} hasBin: true tween-functions@1.2.0: @@ -9778,8 +10455,8 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - type-fest@4.32.0: - resolution: {integrity: sha512-rfgpoi08xagF3JSdtJlCwMq9DGNDE0IMh3Mkpc1wUypg9vPi786AiqeBBKcqvIkq42azsBM85N490fyZjeUftw==} + type-fest@4.33.0: + resolution: {integrity: sha512-s6zVrxuyKbbAsSAD5ZPTB77q4YIdRctkTbJ2/Dqlinwz+8ooH2gd+YA7VA6Pa93KML9GockVvoxjZ2vHP+mu8g==} engines: {node: '>=16'} type-is@1.6.18: @@ -9818,11 +10495,8 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} - undici-types@6.20.0: - resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} - - undici@6.21.0: - resolution: {integrity: sha512-BUgJXc752Kou3oOIuU1i+yZZypyZRqNPW0vqoMPl8VaoalSfeR0D8/t4iAS3yirs79SSMTxTag+ZC86uswv+Cw==} + undici@6.21.1: + resolution: {integrity: sha512-q/1rj5D0/zayJB2FraXdaWxbhWiNKDvu8naDT2dl1yTlvJp4BLtOcp2a5BvgGNQpYYJzau7tf1WgKv3b+7mqpQ==} engines: {node: '>=18.17'} unicode-canonical-property-names-ecmascript@2.0.1: @@ -9897,6 +10571,16 @@ packages: resolution: {integrity: sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==} engines: {node: '>= 0.4'} + use-latest-callback@0.1.11: + resolution: {integrity: sha512-8nhb73STSD/z3GTHklvNjL8F9wMOo0bj0AFnulpIYuFTm6aQlT3ZcNbXF2YurKImIY8+kpSFSDHZZyQmurGrhw==} + peerDependencies: + react: '>=16.8' + + use-latest-callback@0.2.3: + resolution: {integrity: sha512-7vI3fBuyRcP91pazVboc4qu+6ZqM8izPWX9k7cRnT8hbD5svslcknsh3S9BUhaK11OmgTV4oWZZVSeQAiV53SQ==} + peerDependencies: + react: '>=16.8' + use-long-press@3.2.0: resolution: {integrity: sha512-uq5o2qFR1VRjHn8Of7Fl344/AGvgk7C5Mcb4aSb1ZRVp6PkgdXJJLdRrlSTJQVkkQcDuqFbFc3mDX4COg7mRTA==} peerDependencies: @@ -9907,6 +10591,11 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 + use-sync-external-store@1.4.0: + resolution: {integrity: sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -9968,6 +10657,9 @@ packages: walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + warn-once@0.1.1: + resolution: {integrity: sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==} + watchpack@2.4.2: resolution: {integrity: sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==} engines: {node: '>=10.13.0'} @@ -9981,6 +10673,9 @@ packages: weak-lru-cache@1.2.2: resolution: {integrity: sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==} + web-encoding@1.1.5: + resolution: {integrity: sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==} + web-streams-polyfill@3.3.3: resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} engines: {node: '>= 8'} @@ -9988,6 +10683,9 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + webidl-conversions@5.0.0: resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==} engines: {node: '>=8'} @@ -10117,6 +10815,9 @@ packages: whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} @@ -10129,6 +10830,9 @@ packages: resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} engines: {node: '>= 0.4'} + which-module@2.0.1: + resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} + which-typed-array@1.1.18: resolution: {integrity: sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==} engines: {node: '>= 0.4'} @@ -10228,9 +10932,8 @@ packages: xmlchars@2.2.0: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} - xtend@4.0.2: - resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} - engines: {node: '>=0.4'} + y18n@4.0.3: + resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} @@ -10255,10 +10958,24 @@ packages: engines: {node: '>= 14'} hasBin: true + yargs-parser@13.1.2: + resolution: {integrity: sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==} + + yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} + yargs@13.3.2: + resolution: {integrity: sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==} + + yargs@16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} @@ -10315,6 +11032,20 @@ snapshots: '@jridgewell/gen-mapping': 0.3.8 '@jridgewell/trace-mapping': 0.3.25 + '@babel/cli@7.26.4(@babel/core@7.26.7)': + dependencies: + '@babel/core': 7.26.7 + '@jridgewell/trace-mapping': 0.3.25 + commander: 6.2.1 + convert-source-map: 2.0.0 + fs-readdir-recursive: 1.1.0 + glob: 7.2.3 + make-dir: 2.1.0 + slash: 2.0.0 + optionalDependencies: + '@nicolo-ribaudo/chokidar-2': 2.1.8-no-fsevents.3 + chokidar: 3.6.0 + '@babel/code-frame@7.10.4': dependencies: '@babel/highlight': 7.25.9 @@ -10325,20 +11056,20 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/compat-data@7.26.3': {} + '@babel/compat-data@7.26.5': {} - '@babel/core@7.26.0': + '@babel/core@7.26.7': dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.3 - '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) - '@babel/helpers': 7.26.0 - '@babel/parser': 7.26.3 + '@babel/generator': 7.26.5 + '@babel/helper-compilation-targets': 7.26.5 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.7) + '@babel/helpers': 7.26.7 + '@babel/parser': 7.26.7 '@babel/template': 7.25.9 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.7 + '@babel/types': 7.26.7 convert-source-map: 2.0.0 debug: 4.4.0(supports-color@8.1.1) gensync: 1.0.0-beta.2 @@ -10349,55 +11080,55 @@ snapshots: '@babel/generator@7.17.7': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 jsesc: 2.5.2 source-map: 0.5.7 - '@babel/generator@7.26.3': + '@babel/generator@7.26.5': dependencies: - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/parser': 7.26.7 + '@babel/types': 7.26.7 '@jridgewell/gen-mapping': 0.3.8 '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.1.0 '@babel/helper-annotate-as-pure@7.25.9': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 - '@babel/helper-compilation-targets@7.25.9': + '@babel/helper-compilation-targets@7.26.5': dependencies: - '@babel/compat-data': 7.26.3 + '@babel/compat-data': 7.26.5 '@babel/helper-validator-option': 7.25.9 browserslist: 4.24.4 lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-create-class-features-plugin@7.25.9(@babel/core@7.26.0)': + '@babel/helper-create-class-features-plugin@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-member-expression-to-functions': 7.25.9 '@babel/helper-optimise-call-expression': 7.25.9 - '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0) + '@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.7) '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.7 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/helper-create-regexp-features-plugin@7.26.3(@babel/core@7.26.0)': + '@babel/helper-create-regexp-features-plugin@7.26.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 regexpu-core: 6.2.0 semver: 6.3.1 - '@babel/helper-define-polyfill-provider@0.6.3(@babel/core@7.26.0)': + '@babel/helper-define-polyfill-provider@0.6.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-compilation-targets': 7.26.5 + '@babel/helper-plugin-utils': 7.26.5 debug: 4.4.0(supports-color@8.1.1) lodash.debounce: 4.0.8 resolve: 1.22.10 @@ -10406,74 +11137,74 @@ snapshots: '@babel/helper-environment-visitor@7.24.7': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@babel/helper-function-name@7.24.7': dependencies: '@babel/template': 7.25.9 - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@babel/helper-hoist-variables@7.24.7': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@babel/helper-member-expression-to-functions@7.25.9': dependencies: - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.7 + '@babel/types': 7.26.7 transitivePeerDependencies: - supports-color '@babel/helper-module-imports@7.25.9': dependencies: - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.7 + '@babel/types': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.0)': + '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-module-imports': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color '@babel/helper-optimise-call-expression@7.25.9': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 - '@babel/helper-plugin-utils@7.25.9': {} + '@babel/helper-plugin-utils@7.26.5': {} - '@babel/helper-remap-async-to-generator@7.25.9(@babel/core@7.26.0)': + '@babel/helper-remap-async-to-generator@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-wrap-function': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/helper-replace-supers@7.25.9(@babel/core@7.26.0)': + '@babel/helper-replace-supers@7.26.5(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-member-expression-to-functions': 7.25.9 '@babel/helper-optimise-call-expression': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.25.9': dependencies: - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.7 + '@babel/types': 7.26.7 transitivePeerDependencies: - supports-color '@babel/helper-split-export-declaration@7.24.7': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@babel/helper-string-parser@7.25.9': {} @@ -10484,15 +11215,15 @@ snapshots: '@babel/helper-wrap-function@7.25.9': dependencies: '@babel/template': 7.25.9 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.7 + '@babel/types': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/helpers@7.26.0': + '@babel/helpers@7.26.7': dependencies: '@babel/template': 7.25.9 - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@babel/highlight@7.25.9': dependencies: @@ -10501,742 +11232,742 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/parser@7.26.3': + '@babel/parser@7.26.7': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.26.0)': + '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-decorators@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-proposal-decorators@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-decorators': 7.25.9(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 + '@babel/plugin-syntax-decorators': 7.25.9(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-export-default-from@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-proposal-export-default-from@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.26.0)': + '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.7) - '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.26.0)': + '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.0) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.0)': + '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.26.0)': + '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.26.0)': + '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.26.0)': + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.26.0)': + '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-decorators@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-syntax-decorators@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.26.0)': + '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-export-default-from@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-syntax-export-default-from@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.0)': + '@babel/plugin-syntax-flow@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-import-assertions@7.26.0(@babel/core@7.26.0)': + '@babel/plugin-syntax-import-assertions@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-import-attributes@7.26.0(@babel/core@7.26.0)': + '@babel/plugin-syntax-import-attributes@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.26.0)': + '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.26.0)': + '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.26.0)': + '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.26.0)': + '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.26.0)': + '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.26.0)': + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.26.0)': + '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.26.0)': + '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.26.0)': + '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.26.0)': + '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.26.0)': + '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-async-generator-functions@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-async-generator-functions@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.0) - '@babel/traverse': 7.26.4 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.7) + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-async-to-generator@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-async-to-generator@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-module-imports': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.0) + '@babel/helper-plugin-utils': 7.26.5 + '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-block-scoped-functions@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-block-scoped-functions@7.26.5(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-block-scoping@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-block-scoping@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-class-properties@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-class-properties@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-class-static-block@7.26.0(@babel/core@7.26.0)': + '@babel/plugin-transform-class-static-block@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-classes@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-classes@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0) - '@babel/traverse': 7.26.4 + '@babel/helper-compilation-targets': 7.26.5 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.7) + '@babel/traverse': 7.26.7 globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-computed-properties@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-computed-properties@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/template': 7.25.9 - '@babel/plugin-transform-destructuring@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-destructuring@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-dotall-regex@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-dotall-regex@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-duplicate-keys@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-duplicate-keys@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-dynamic-import@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-dynamic-import@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-exponentiation-operator@7.26.3(@babel/core@7.26.0)': + '@babel/plugin-transform-exponentiation-operator@7.26.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-export-namespace-from@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-export-namespace-from@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-flow-strip-types@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-flow-strip-types@7.26.5(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.26.7) - '@babel/plugin-transform-for-of@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-for-of@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-function-name@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-function-name@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/core': 7.26.7 + '@babel/helper-compilation-targets': 7.26.5 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-json-strings@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-json-strings@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-literals@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-literals@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-logical-assignment-operators@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-logical-assignment-operators@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-member-expression-literals@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-member-expression-literals@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-modules-amd@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-modules-amd@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-commonjs@7.26.3(@babel/core@7.26.0)': + '@babel/plugin-transform-modules-commonjs@7.26.3(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-systemjs@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-modules-systemjs@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-umd@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-modules-umd@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-named-capturing-groups-regex@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-named-capturing-groups-regex@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-new-target@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-new-target@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-nullish-coalescing-operator@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-nullish-coalescing-operator@7.26.6(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-numeric-separator@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-numeric-separator@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-object-rest-spread@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-object-rest-spread@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/helper-compilation-targets': 7.26.5 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.7) - '@babel/plugin-transform-object-super@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-object-super@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-optional-catch-binding@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-optional-catch-binding@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-optional-chaining@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-optional-chaining@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-parameters@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-parameters@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-private-methods@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-private-methods@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-private-property-in-object@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-private-property-in-object@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-property-literals@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-property-literals@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-react-display-name@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-react-display-name@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-react-jsx-development@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-react-jsx-development@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-react-jsx-self@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-react-jsx-self@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-react-jsx-source@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-react-jsx-source@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-react-jsx@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-module-imports': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/types': 7.26.3 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.7) + '@babel/types': 7.26.7 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-react-pure-annotations@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-react-pure-annotations@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-regenerator@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-regenerator@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 regenerator-transform: 0.15.2 - '@babel/plugin-transform-regexp-modifiers@7.26.0(@babel/core@7.26.0)': + '@babel/plugin-transform-regexp-modifiers@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-reserved-words@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-reserved-words@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-runtime@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-runtime@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-module-imports': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 - babel-plugin-polyfill-corejs2: 0.4.12(@babel/core@7.26.0) - babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.26.0) - babel-plugin-polyfill-regenerator: 0.6.3(@babel/core@7.26.0) + '@babel/helper-plugin-utils': 7.26.5 + babel-plugin-polyfill-corejs2: 0.4.12(@babel/core@7.26.7) + babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.26.7) + babel-plugin-polyfill-regenerator: 0.6.3(@babel/core@7.26.7) semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-shorthand-properties@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-shorthand-properties@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-spread@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-spread@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-sticky-regex@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-sticky-regex@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-template-literals@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-template-literals@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-typeof-symbol@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-typeof-symbol@7.26.7(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-typescript@7.26.3(@babel/core@7.26.0)': + '@babel/plugin-transform-typescript@7.26.7(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-unicode-escapes@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-unicode-escapes@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-unicode-property-regex@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-unicode-property-regex@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-unicode-regex@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-unicode-regex@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-unicode-sets-regex@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-unicode-sets-regex@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.7) + '@babel/helper-plugin-utils': 7.26.5 - '@babel/preset-env@7.26.0(@babel/core@7.26.0)': + '@babel/preset-env@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/compat-data': 7.26.3 - '@babel/core': 7.26.0 - '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/compat-data': 7.26.5 + '@babel/core': 7.26.7 + '@babel/helper-compilation-targets': 7.26.5 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-validator-option': 7.25.9 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.0) - '@babel/plugin-syntax-import-assertions': 7.26.0(@babel/core@7.26.0) - '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/core@7.26.0) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.26.0) - '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-block-scoped-functions': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-class-static-block': 7.26.0(@babel/core@7.26.0) - '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-dotall-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-dynamic-import': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-exponentiation-operator': 7.26.3(@babel/core@7.26.0) - '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-json-strings': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-amd': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) - '@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-umd': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-new-target': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-nullish-coalescing-operator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-object-super': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-property-literals': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-regexp-modifiers': 7.26.0(@babel/core@7.26.0) - '@babel/plugin-transform-reserved-words': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-template-literals': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-typeof-symbol': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-unicode-escapes': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-unicode-property-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/core@7.26.0) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.26.0) - babel-plugin-polyfill-corejs2: 0.4.12(@babel/core@7.26.0) - babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.26.0) - babel-plugin-polyfill-regenerator: 0.6.3(@babel/core@7.26.0) + '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.7) + '@babel/plugin-syntax-import-assertions': 7.26.0(@babel/core@7.26.7) + '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/core@7.26.7) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.26.7) + '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-block-scoped-functions': 7.26.5(@babel/core@7.26.7) + '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-class-static-block': 7.26.0(@babel/core@7.26.7) + '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-dotall-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-dynamic-import': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-exponentiation-operator': 7.26.3(@babel/core@7.26.7) + '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-json-strings': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-modules-amd': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.7) + '@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-modules-umd': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-new-target': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.26.6(@babel/core@7.26.7) + '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-object-super': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-property-literals': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-regexp-modifiers': 7.26.0(@babel/core@7.26.7) + '@babel/plugin-transform-reserved-words': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-template-literals': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-typeof-symbol': 7.26.7(@babel/core@7.26.7) + '@babel/plugin-transform-unicode-escapes': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-unicode-property-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/core@7.26.7) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.26.7) + babel-plugin-polyfill-corejs2: 0.4.12(@babel/core@7.26.7) + babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.26.7) + babel-plugin-polyfill-regenerator: 0.6.3(@babel/core@7.26.7) core-js-compat: 3.40.0 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/preset-flow@7.25.9(@babel/core@7.26.0)': + '@babel/preset-flow@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-validator-option': 7.25.9 - '@babel/plugin-transform-flow-strip-types': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-flow-strip-types': 7.26.5(@babel/core@7.26.7) - '@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.26.0)': + '@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 - '@babel/types': 7.26.3 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/types': 7.26.7 esutils: 2.0.3 - '@babel/preset-react@7.25.9(@babel/core@7.26.0)': + '@babel/preset-react@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-validator-option': 7.25.9 - '@babel/plugin-transform-react-display-name': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx-development': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-pure-annotations': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-react-display-name': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx-development': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-pure-annotations': 7.25.9(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/preset-typescript@7.26.0(@babel/core@7.26.0)': + '@babel/preset-typescript@7.26.0(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 - '@babel/helper-plugin-utils': 7.25.9 + '@babel/core': 7.26.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-validator-option': 7.25.9 - '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) - '@babel/plugin-transform-typescript': 7.26.3(@babel/core@7.26.0) + '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.7) + '@babel/plugin-transform-typescript': 7.26.7(@babel/core@7.26.7) transitivePeerDependencies: - supports-color - '@babel/register@7.25.9(@babel/core@7.26.0)': + '@babel/register@7.25.9(@babel/core@7.26.7)': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 pirates: 4.0.6 source-map-support: 0.5.21 - '@babel/runtime@7.26.0': + '@babel/runtime@7.26.7': dependencies: regenerator-runtime: 0.14.1 '@babel/template@7.25.9': dependencies: '@babel/code-frame': 7.26.2 - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/parser': 7.26.7 + '@babel/types': 7.26.7 '@babel/traverse@7.23.2': dependencies: '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.3 + '@babel/generator': 7.26.5 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-function-name': 7.24.7 '@babel/helper-hoist-variables': 7.24.7 '@babel/helper-split-export-declaration': 7.24.7 - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/parser': 7.26.7 + '@babel/types': 7.26.7 debug: 4.4.0(supports-color@8.1.1) globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/traverse@7.26.4': + '@babel/traverse@7.26.7': dependencies: '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.7 '@babel/template': 7.25.9 - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 debug: 4.4.0(supports-color@8.1.1) globals: 11.12.0 transitivePeerDependencies: @@ -11247,7 +11978,7 @@ snapshots: '@babel/helper-validator-identifier': 7.25.9 to-fast-properties: 2.0.0 - '@babel/types@7.26.3': + '@babel/types@7.26.7': dependencies: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 @@ -11267,7 +11998,13 @@ snapshots: '@types/tough-cookie': 4.0.5 tough-cookie: 4.1.4 - '@changesets/apply-release-plan@7.0.7': + '@callstack/react-theme-provider@3.0.9(react@18.3.1)': + dependencies: + deepmerge: 3.3.0 + hoist-non-react-statics: 3.3.2 + react: 18.3.1 + + '@changesets/apply-release-plan@7.0.8': dependencies: '@changesets/config': 3.0.5 '@changesets/get-version-range-type': 0.4.0 @@ -11281,7 +12018,7 @@ snapshots: outdent: 0.5.0 prettier: 2.8.8 resolve-from: 5.0.0 - semver: 7.6.3 + semver: 7.7.0 '@changesets/assemble-release-plan@6.0.5': dependencies: @@ -11290,15 +12027,15 @@ snapshots: '@changesets/should-skip-package': 0.1.1 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 - semver: 7.6.3 + semver: 7.7.0 '@changesets/changelog-git@0.2.0': dependencies: '@changesets/types': 6.0.0 - '@changesets/cli@2.27.11': + '@changesets/cli@2.27.12': dependencies: - '@changesets/apply-release-plan': 7.0.7 + '@changesets/apply-release-plan': 7.0.8 '@changesets/assemble-release-plan': 6.0.5 '@changesets/changelog-git': 0.2.0 '@changesets/config': 3.0.5 @@ -11320,10 +12057,10 @@ snapshots: fs-extra: 7.0.1 mri: 1.2.0 p-limit: 2.3.0 - package-manager-detector: 0.2.8 + package-manager-detector: 0.2.9 picocolors: 1.1.1 resolve-from: 5.0.0 - semver: 7.6.3 + semver: 7.7.0 spawndamnit: 3.0.1 term-size: 2.2.1 @@ -11346,7 +12083,7 @@ snapshots: '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 picocolors: 1.1.1 - semver: 7.6.3 + semver: 7.7.0 '@changesets/get-release-plan@4.0.6': dependencies: @@ -11411,7 +12148,7 @@ snapshots: '@chromatic-com/storybook@3.2.3(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))': dependencies: - chromatic: 11.22.2 + chromatic: 11.25.2 filesize: 10.1.6 jsonfile: 6.1.0 react-confetti: 6.2.2(react@18.3.1) @@ -11457,7 +12194,7 @@ snapshots: html-webpack-plugin-4: html-webpack-plugin@4.5.2(webpack@5.93.0) html-webpack-plugin-5: html-webpack-plugin@5.6.0(webpack@5.93.0) local-pkg: 0.4.1 - semver: 7.6.3 + semver: 7.7.0 speed-measure-webpack-plugin: 1.4.2(webpack@5.93.0) tslib: 2.8.1 webpack-dev-server: 4.15.2(webpack-cli@5.1.4)(webpack@5.93.0) @@ -11480,6 +12217,10 @@ snapshots: '@discoveryjs/json-ext@0.5.7': {} + '@egjs/hammerjs@2.0.17': + dependencies: + '@types/hammerjs': 2.0.46 + '@emnapi/runtime@1.3.1': dependencies: tslib: 2.8.1 @@ -11488,7 +12229,7 @@ snapshots: '@emotion/babel-plugin@11.13.5': dependencies: '@babel/helper-module-imports': 7.25.9 - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@emotion/hash': 0.9.2 '@emotion/memoize': 0.9.0 '@emotion/serialize': 1.3.3 @@ -11537,7 +12278,7 @@ snapshots: '@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@emotion/babel-plugin': 11.13.5 '@emotion/cache': 11.14.0 '@emotion/serialize': 1.3.3 @@ -11563,7 +12304,7 @@ snapshots: '@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@emotion/babel-plugin': 11.13.5 '@emotion/is-prop-valid': 1.3.1 '@emotion/react': 11.11.4(@types/react@18.3.3)(react@18.3.1) @@ -11677,7 +12418,7 @@ snapshots: espree: 9.6.1 globals: 13.24.0 ignore: 5.3.2 - import-fresh: 3.3.0 + import-fresh: 3.3.1 js-yaml: 4.1.0 minimatch: 3.1.2 strip-json-comments: 3.1.1 @@ -11690,28 +12431,28 @@ snapshots: dependencies: uuid: 8.3.2 - '@expo/cli@0.22.8(graphql@16.8.1)': + '@expo/cli@0.22.11(graphql@16.8.1)': dependencies: '@0no-co/graphql.web': 1.0.13(graphql@16.8.1) - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@expo/code-signing-certificates': 0.0.5 - '@expo/config': 10.0.7 - '@expo/config-plugins': 9.0.13 + '@expo/config': 10.0.8 + '@expo/config-plugins': 9.0.14 '@expo/devcert': 1.1.4 - '@expo/env': 0.4.0 - '@expo/image-utils': 0.6.3 - '@expo/json-file': 9.0.0 - '@expo/metro-config': 0.19.8 - '@expo/osascript': 2.1.4 - '@expo/package-manager': 1.7.0 - '@expo/plist': 0.2.0 - '@expo/prebuild-config': 8.0.24 + '@expo/env': 0.4.1 + '@expo/image-utils': 0.6.4 + '@expo/json-file': 9.0.1 + '@expo/metro-config': 0.19.9 + '@expo/osascript': 2.1.5 + '@expo/package-manager': 1.7.1 + '@expo/plist': 0.2.1 + '@expo/prebuild-config': 8.0.25 '@expo/rudder-sdk-node': 1.1.1 '@expo/spawn-async': 1.7.2 '@expo/xcpretty': 4.3.2 - '@react-native/dev-middleware': 0.76.5 + '@react-native/dev-middleware': 0.76.6 '@urql/core': 5.1.0(graphql@16.8.1) - '@urql/exchange-retry': 1.3.0(@urql/core@5.1.0(graphql@16.8.1)) + '@urql/exchange-retry': 1.3.0(@urql/core@5.1.0) accepts: 1.3.8 arg: 5.0.2 better-opn: 3.0.2 @@ -11749,7 +12490,7 @@ snapshots: resolve: 1.22.10 resolve-from: 5.0.0 resolve.exports: 2.0.3 - semver: 7.6.3 + semver: 7.7.0 send: 0.19.1 slugify: 1.6.6 source-map-support: 0.5.21 @@ -11759,7 +12500,7 @@ snapshots: temp-dir: 2.0.0 tempy: 0.7.1 terminal-link: 2.1.1 - undici: 6.21.0 + undici: 6.21.1 unique-string: 2.0.0 wrap-ansi: 7.0.0 ws: 8.18.0 @@ -11775,18 +12516,18 @@ snapshots: node-forge: 1.3.1 nullthrows: 1.1.1 - '@expo/config-plugins@9.0.13': + '@expo/config-plugins@9.0.14': dependencies: - '@expo/config-types': 52.0.2 - '@expo/json-file': 9.0.0 - '@expo/plist': 0.2.0 + '@expo/config-types': 52.0.3 + '@expo/json-file': 9.0.1 + '@expo/plist': 0.2.1 '@expo/sdk-runtime-versions': 1.0.0 chalk: 4.1.2 debug: 4.4.0(supports-color@8.1.1) getenv: 1.0.0 glob: 10.4.5 resolve-from: 5.0.0 - semver: 7.6.3 + semver: 7.7.0 slash: 3.0.0 slugify: 1.6.6 xcode: 3.0.1 @@ -11794,21 +12535,21 @@ snapshots: transitivePeerDependencies: - supports-color - '@expo/config-types@52.0.2': {} + '@expo/config-types@52.0.3': {} - '@expo/config@10.0.7': + '@expo/config@10.0.8': dependencies: '@babel/code-frame': 7.10.4 - '@expo/config-plugins': 9.0.13 - '@expo/config-types': 52.0.2 - '@expo/json-file': 9.0.0 + '@expo/config-plugins': 9.0.14 + '@expo/config-types': 52.0.3 + '@expo/json-file': 9.0.1 deepmerge: 4.3.1 getenv: 1.0.0 glob: 10.4.5 require-from-string: 2.0.2 resolve-from: 5.0.0 resolve-workspace-root: 2.0.0 - semver: 7.6.3 + semver: 7.7.0 slugify: 1.6.6 sucrase: 3.35.0 transitivePeerDependencies: @@ -11831,7 +12572,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@expo/env@0.4.0': + '@expo/env@0.4.1': dependencies: chalk: 4.1.2 debug: 4.4.0(supports-color@8.1.1) @@ -11841,7 +12582,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@expo/fingerprint@0.11.6': + '@expo/fingerprint@0.11.7': dependencies: '@expo/spawn-async': 1.7.2 arg: 5.0.2 @@ -11852,11 +12593,11 @@ snapshots: minimatch: 3.1.2 p-limit: 3.1.0 resolve-from: 5.0.0 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - supports-color - '@expo/image-utils@0.6.3': + '@expo/image-utils@0.6.4': dependencies: '@expo/spawn-async': 1.7.2 chalk: 4.1.2 @@ -11865,25 +12606,25 @@ snapshots: jimp-compact: 0.16.1 parse-png: 2.1.0 resolve-from: 5.0.0 - semver: 7.6.3 + semver: 7.7.0 temp-dir: 2.0.0 unique-string: 2.0.0 - '@expo/json-file@9.0.0': + '@expo/json-file@9.0.1': dependencies: '@babel/code-frame': 7.10.4 json5: 2.2.3 write-file-atomic: 2.4.3 - '@expo/metro-config@0.19.8': + '@expo/metro-config@0.19.9': dependencies: - '@babel/core': 7.26.0 - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 - '@expo/config': 10.0.7 - '@expo/env': 0.4.0 - '@expo/json-file': 9.0.0 + '@babel/core': 7.26.7 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.7 + '@babel/types': 7.26.7 + '@expo/config': 10.0.8 + '@expo/env': 0.4.1 + '@expo/json-file': 9.0.1 '@expo/spawn-async': 1.7.2 chalk: 4.1.2 debug: 4.4.0(supports-color@8.1.1) @@ -11893,19 +12634,23 @@ snapshots: jsc-safe-url: 0.2.4 lightningcss: 1.27.0 minimatch: 3.1.2 - postcss: 8.4.49 + postcss: 8.4.38 resolve-from: 5.0.0 transitivePeerDependencies: - supports-color - '@expo/osascript@2.1.4': + '@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))': + dependencies: + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + + '@expo/osascript@2.1.5': dependencies: '@expo/spawn-async': 1.7.2 exec-async: 2.2.0 - '@expo/package-manager@1.7.0': + '@expo/package-manager@1.7.1': dependencies: - '@expo/json-file': 9.0.0 + '@expo/json-file': 9.0.1 '@expo/spawn-async': 1.7.2 ansi-regex: 5.0.1 chalk: 4.1.2 @@ -11918,24 +12663,24 @@ snapshots: split: 1.0.1 sudo-prompt: 9.1.1 - '@expo/plist@0.2.0': + '@expo/plist@0.2.1': dependencies: '@xmldom/xmldom': 0.7.13 base64-js: 1.5.1 xmlbuilder: 14.0.0 - '@expo/prebuild-config@8.0.24': + '@expo/prebuild-config@8.0.25': dependencies: - '@expo/config': 10.0.7 - '@expo/config-plugins': 9.0.13 - '@expo/config-types': 52.0.2 - '@expo/image-utils': 0.6.3 - '@expo/json-file': 9.0.0 - '@react-native/normalize-colors': 0.76.5 + '@expo/config': 10.0.8 + '@expo/config-plugins': 9.0.14 + '@expo/config-types': 52.0.3 + '@expo/image-utils': 0.6.4 + '@expo/json-file': 9.0.1 + '@react-native/normalize-colors': 0.76.6 debug: 4.4.0(supports-color@8.1.1) fs-extra: 9.1.0 resolve-from: 5.0.0 - semver: 7.6.3 + semver: 7.7.0 xml2js: 0.6.0 transitivePeerDependencies: - supports-color @@ -11954,6 +12699,16 @@ snapshots: '@expo/sdk-runtime-versions@1.0.0': {} + '@expo/server@0.5.1(typescript@5.4.5)': + dependencies: + '@remix-run/node': 2.15.3(typescript@5.4.5) + abort-controller: 3.0.0 + debug: 4.4.0(supports-color@8.1.1) + source-map-support: 0.5.21 + transitivePeerDependencies: + - supports-color + - typescript + '@expo/spawn-async@1.7.2': dependencies: cross-spawn: 7.0.6 @@ -11969,7 +12724,7 @@ snapshots: find-up: 5.0.0 js-yaml: 4.1.0 - '@faker-js/faker@9.3.0': {} + '@faker-js/faker@9.4.0': {} '@floating-ui/core@1.6.9': dependencies: @@ -11988,6 +12743,34 @@ snapshots: '@floating-ui/utils@0.2.9': {} + '@gorhom/bottom-sheet@5.0.6(@types/react@18.3.3)(react-native-gesture-handler@2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': + dependencies: + '@gorhom/portal': 1.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + invariant: 2.2.4 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-gesture-handler: 2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.3 + + '@gorhom/bottom-sheet@5.0.6(@types/react@18.3.3)(react-native-gesture-handler@2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': + dependencies: + '@gorhom/portal': 1.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + invariant: 2.2.4 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-gesture-handler: 2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.3 + + '@gorhom/portal@1.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': + dependencies: + nanoid: 3.3.8 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + '@hookform/resolvers@3.6.0(react-hook-form@7.51.5(react@18.3.1))': dependencies: react-hook-form: 7.51.5(react@18.3.1) @@ -12086,31 +12869,31 @@ snapshots: '@img/sharp-win32-x64@0.33.5': optional: true - '@inquirer/confirm@5.1.1(@types/node@22.10.5)': + '@inquirer/confirm@5.1.5(@types/node@22.7.2)': dependencies: - '@inquirer/core': 10.1.2(@types/node@22.10.5) - '@inquirer/type': 3.0.2(@types/node@22.10.5) - '@types/node': 22.10.5 + '@inquirer/core': 10.1.6(@types/node@22.7.2) + '@inquirer/type': 3.0.4(@types/node@22.7.2) + optionalDependencies: + '@types/node': 22.7.2 - '@inquirer/core@10.1.2(@types/node@22.10.5)': + '@inquirer/core@10.1.6(@types/node@22.7.2)': dependencies: - '@inquirer/figures': 1.0.9 - '@inquirer/type': 3.0.2(@types/node@22.10.5) + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.7.2) ansi-escapes: 4.3.2 cli-width: 4.1.0 mute-stream: 2.0.0 signal-exit: 4.1.0 - strip-ansi: 6.0.1 wrap-ansi: 7.0.0 yoctocolors-cjs: 2.1.2 - transitivePeerDependencies: - - '@types/node' + optionalDependencies: + '@types/node': 22.7.2 - '@inquirer/figures@1.0.9': {} + '@inquirer/figures@1.0.10': {} - '@inquirer/type@3.0.2(@types/node@22.10.5)': - dependencies: - '@types/node': 22.10.5 + '@inquirer/type@3.0.4(@types/node@22.7.2)': + optionalDependencies: + '@types/node': 22.7.2 '@isaacs/cliui@8.0.2': dependencies: @@ -12136,62 +12919,27 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 22.10.5 - chalk: 4.1.2 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - slash: 3.0.0 - - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5))': - dependencies: - '@jest/console': 29.7.0 - '@jest/reporters': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 22.10.5 - ansi-escapes: 4.3.2 + '@types/node': 22.7.2 chalk: 4.1.2 - ci-info: 3.9.0 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) - jest-haste-map: 29.7.0 jest-message-util: 29.7.0 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-resolve-dependencies: 29.7.0 - jest-runner: 29.7.0 - jest-runtime: 29.7.0 - jest-snapshot: 29.7.0 jest-util: 29.7.0 - jest-validate: 29.7.0 - jest-watcher: 29.7.0 - micromatch: 4.0.8 - pretty-format: 29.7.0 slash: 3.0.0 - strip-ansi: 6.0.1 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - ts-node - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + jest-config: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -12220,7 +12968,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -12238,7 +12986,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 22.10.5 + '@types/node': 22.7.2 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -12260,7 +13008,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 22.10.5 + '@types/node': 22.7.2 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -12307,7 +13055,7 @@ snapshots: '@jest/transform@29.7.0': dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 babel-plugin-istanbul: 6.1.1 @@ -12330,7 +13078,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -12405,14 +13153,14 @@ snapshots: '@manypkg/find-root@1.1.0': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -12449,7 +13197,7 @@ snapshots: '@msgpackr-extract/msgpackr-extract-win32-x64@3.0.3': optional: true - '@mswjs/interceptors@0.37.5': + '@mswjs/interceptors@0.37.6': dependencies: '@open-draft/deferred-promise': 2.2.0 '@open-draft/logger': 0.3.0 @@ -12460,7 +13208,7 @@ snapshots: '@mui/base@5.0.0-beta.40(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/types': 7.2.21(@types/react@18.3.3) '@mui/utils': 5.16.14(@types/react@18.3.3)(react@18.3.1) @@ -12472,12 +13220,12 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - '@mui/base@5.0.0-beta.68(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/base@5.0.0-beta.69(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/types': 7.2.21(@types/react@18.3.3) - '@mui/utils': 6.3.1(@types/react@18.3.3)(react@18.3.1) + '@mui/utils': 6.4.2(@types/react@18.3.3)(react@18.3.1) '@popperjs/core': 2.11.8 clsx: 2.1.1 prop-types: 15.8.1 @@ -12490,7 +13238,7 @@ snapshots: '@mui/icons-material@5.15.19(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@mui/material': 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 optionalDependencies: @@ -12498,7 +13246,7 @@ snapshots: '@mui/lab@5.0.0-alpha.170(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@mui/base': 5.0.0-beta.40(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material': 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/system': 5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) @@ -12513,11 +13261,11 @@ snapshots: '@emotion/styled': 11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@types/react': 18.3.3 - '@mui/material-nextjs@6.1.4(@emotion/cache@11.11.0)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(next@14.3.0-canary.24(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@mui/material-nextjs@6.1.4(@emotion/cache@11.11.0)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(next@14.3.0-canary.24(@babel/core@7.26.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@emotion/react': 11.11.4(@types/react@18.3.3)(react@18.3.1) - next: 14.3.0-canary.24(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 optionalDependencies: '@emotion/cache': 11.11.0 @@ -12525,7 +13273,7 @@ snapshots: '@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@mui/base': 5.0.0-beta.40(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/core-downloads-tracker': 5.16.14 '@mui/system': 5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) @@ -12546,7 +13294,7 @@ snapshots: '@mui/private-theming@5.16.14(@types/react@18.3.3)(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@mui/utils': 5.16.14(@types/react@18.3.3)(react@18.3.1) prop-types: 15.8.1 react: 18.3.1 @@ -12555,7 +13303,7 @@ snapshots: '@mui/styled-engine@5.16.14(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@emotion/cache': 11.14.0 csstype: 3.1.3 prop-types: 15.8.1 @@ -12566,7 +13314,7 @@ snapshots: '@mui/system@5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@mui/private-theming': 5.16.14(@types/react@18.3.3)(react@18.3.1) '@mui/styled-engine': 5.16.14(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) '@mui/types': 7.2.21(@types/react@18.3.3) @@ -12586,7 +13334,7 @@ snapshots: '@mui/utils@5.16.14(@types/react@18.3.3)(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@mui/types': 7.2.21(@types/react@18.3.3) '@types/prop-types': 15.7.14 clsx: 2.1.1 @@ -12596,9 +13344,9 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - '@mui/utils@6.3.1(@types/react@18.3.3)(react@18.3.1)': + '@mui/utils@6.4.2(@types/react@18.3.3)(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@mui/types': 7.2.21(@types/react@18.3.3) '@types/prop-types': 15.7.14 clsx: 2.1.1 @@ -12610,8 +13358,8 @@ snapshots: '@mui/x-date-pickers@7.6.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(dayjs@1.11.13)(luxon@3.4.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 - '@mui/base': 5.0.0-beta.68(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@babel/runtime': 7.26.7 + '@mui/base': 5.0.0-beta.69(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material': 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/system': 5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@mui/utils': 5.16.14(@types/react@18.3.3)(react@18.3.1) @@ -12662,6 +13410,9 @@ snapshots: '@next/swc-win32-x64-msvc@14.3.0-canary.24': optional: true + '@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3': + optional: true + '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -12672,13 +13423,13 @@ snapshots: '@nodelib/fs.walk@1.2.8': dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.18.0 + fastq: 1.19.0 '@nolyfill/is-core-module@1.0.39': {} '@npmcli/fs@3.1.1': dependencies: - semver: 7.6.3 + semver: 7.7.0 '@open-draft/deferred-promise@2.2.0': {} @@ -12726,14 +13477,14 @@ snapshots: transitivePeerDependencies: - '@parcel/core' - '@parcel/config-default@2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5)': + '@parcel/config-default@2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5)': dependencies: '@parcel/bundler-default': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/compressor-raw': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/core': 2.13.3(@swc/helpers@0.5.15) '@parcel/namer-default': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/optimizer-css': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) - '@parcel/optimizer-htmlnano': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) + '@parcel/optimizer-htmlnano': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) '@parcel/optimizer-image': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/optimizer-svgo': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/optimizer-swc': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(@swc/helpers@0.5.15) @@ -12798,7 +13549,7 @@ snapshots: json5: 2.2.3 msgpackr: 1.11.2 nullthrows: 1.1.1 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@swc/helpers' @@ -12828,7 +13579,7 @@ snapshots: json5: 2.2.3 msgpackr: 1.11.2 nullthrows: 1.1.1 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@swc/helpers' @@ -12848,7 +13599,7 @@ snapshots: '@parcel/rust': 2.13.3 '@parcel/types-internal': 2.13.3 '@parcel/utils': 2.13.3 - '@parcel/watcher': 2.5.0 + '@parcel/watcher': 2.5.1 '@parcel/workers': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/fs@2.13.3(@parcel/core@2.13.3)': @@ -12858,7 +13609,7 @@ snapshots: '@parcel/rust': 2.13.3 '@parcel/types-internal': 2.13.3 '@parcel/utils': 2.13.3 - '@parcel/watcher': 2.5.0 + '@parcel/watcher': 2.5.1 '@parcel/workers': 2.13.3(@parcel/core@2.13.3) '@parcel/graph@3.3.3': @@ -12891,7 +13642,7 @@ snapshots: '@parcel/rust': 2.13.3 '@parcel/utils': 2.13.3 nullthrows: 1.1.1 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@parcel/core' @@ -12903,7 +13654,7 @@ snapshots: '@parcel/rust': 2.13.3 '@parcel/utils': 2.13.3 nullthrows: 1.1.1 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@parcel/core' @@ -12919,12 +13670,12 @@ snapshots: transitivePeerDependencies: - '@parcel/core' - '@parcel/optimizer-htmlnano@2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5)': + '@parcel/optimizer-htmlnano@2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5)': dependencies: '@parcel/diagnostic': 2.13.3 '@parcel/plugin': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/utils': 2.13.3 - htmlnano: 2.1.1(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) + htmlnano: 2.1.1(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) nullthrows: 1.1.1 posthtml: 0.16.6 transitivePeerDependencies: @@ -12962,7 +13713,7 @@ snapshots: '@parcel/plugin': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.13.3 - '@swc/core': 1.10.4(@swc/helpers@0.5.15) + '@swc/core': 1.10.12(@swc/helpers@0.5.15) nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' @@ -12978,8 +13729,8 @@ snapshots: '@parcel/types': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) '@parcel/utils': 2.13.3 '@parcel/workers': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15)) - '@swc/core': 1.10.4(@swc/helpers@0.5.15) - semver: 7.6.3 + '@swc/core': 1.10.12(@swc/helpers@0.5.15) + semver: 7.7.0 transitivePeerDependencies: - '@swc/helpers' @@ -12993,8 +13744,8 @@ snapshots: '@parcel/types': 2.13.3(@parcel/core@2.13.3) '@parcel/utils': 2.13.3 '@parcel/workers': 2.13.3(@parcel/core@2.13.3) - '@swc/core': 1.10.4(@swc/helpers@0.5.15) - semver: 7.6.3 + '@swc/core': 1.10.12(@swc/helpers@0.5.15) + semver: 7.7.0 transitivePeerDependencies: - '@swc/helpers' @@ -13159,7 +13910,7 @@ snapshots: browserslist: 4.24.4 json5: 2.2.3 nullthrows: 1.1.1 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@parcel/core' @@ -13184,7 +13935,7 @@ snapshots: posthtml: 0.16.6 posthtml-parser: 0.12.1 posthtml-render: 3.0.0 - semver: 7.6.3 + semver: 7.7.0 srcset: 4.0.0 transitivePeerDependencies: - '@parcel/core' @@ -13210,7 +13961,7 @@ snapshots: browserslist: 4.24.4 nullthrows: 1.1.1 regenerator-runtime: 0.14.1 - semver: 7.6.3 + semver: 7.7.0 '@parcel/transformer-json@2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))': dependencies: @@ -13228,7 +13979,7 @@ snapshots: clone: 2.1.2 nullthrows: 1.1.1 postcss-value-parser: 4.2.0 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@parcel/core' @@ -13240,7 +13991,7 @@ snapshots: posthtml: 0.16.6 posthtml-parser: 0.12.1 posthtml-render: 3.0.0 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@parcel/core' @@ -13267,7 +14018,7 @@ snapshots: posthtml: 0.16.6 posthtml-parser: 0.12.1 posthtml-render: 3.0.0 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@parcel/core' @@ -13320,65 +14071,65 @@ snapshots: chalk: 4.1.2 nullthrows: 1.1.1 - '@parcel/watcher-android-arm64@2.5.0': + '@parcel/watcher-android-arm64@2.5.1': optional: true - '@parcel/watcher-darwin-arm64@2.5.0': + '@parcel/watcher-darwin-arm64@2.5.1': optional: true - '@parcel/watcher-darwin-x64@2.5.0': + '@parcel/watcher-darwin-x64@2.5.1': optional: true - '@parcel/watcher-freebsd-x64@2.5.0': + '@parcel/watcher-freebsd-x64@2.5.1': optional: true - '@parcel/watcher-linux-arm-glibc@2.5.0': + '@parcel/watcher-linux-arm-glibc@2.5.1': optional: true - '@parcel/watcher-linux-arm-musl@2.5.0': + '@parcel/watcher-linux-arm-musl@2.5.1': optional: true - '@parcel/watcher-linux-arm64-glibc@2.5.0': + '@parcel/watcher-linux-arm64-glibc@2.5.1': optional: true - '@parcel/watcher-linux-arm64-musl@2.5.0': + '@parcel/watcher-linux-arm64-musl@2.5.1': optional: true - '@parcel/watcher-linux-x64-glibc@2.5.0': + '@parcel/watcher-linux-x64-glibc@2.5.1': optional: true - '@parcel/watcher-linux-x64-musl@2.5.0': + '@parcel/watcher-linux-x64-musl@2.5.1': optional: true - '@parcel/watcher-win32-arm64@2.5.0': + '@parcel/watcher-win32-arm64@2.5.1': optional: true - '@parcel/watcher-win32-ia32@2.5.0': + '@parcel/watcher-win32-ia32@2.5.1': optional: true - '@parcel/watcher-win32-x64@2.5.0': + '@parcel/watcher-win32-x64@2.5.1': optional: true - '@parcel/watcher@2.5.0': + '@parcel/watcher@2.5.1': dependencies: detect-libc: 1.0.3 is-glob: 4.0.3 micromatch: 4.0.8 node-addon-api: 7.1.1 optionalDependencies: - '@parcel/watcher-android-arm64': 2.5.0 - '@parcel/watcher-darwin-arm64': 2.5.0 - '@parcel/watcher-darwin-x64': 2.5.0 - '@parcel/watcher-freebsd-x64': 2.5.0 - '@parcel/watcher-linux-arm-glibc': 2.5.0 - '@parcel/watcher-linux-arm-musl': 2.5.0 - '@parcel/watcher-linux-arm64-glibc': 2.5.0 - '@parcel/watcher-linux-arm64-musl': 2.5.0 - '@parcel/watcher-linux-x64-glibc': 2.5.0 - '@parcel/watcher-linux-x64-musl': 2.5.0 - '@parcel/watcher-win32-arm64': 2.5.0 - '@parcel/watcher-win32-ia32': 2.5.0 - '@parcel/watcher-win32-x64': 2.5.0 + '@parcel/watcher-android-arm64': 2.5.1 + '@parcel/watcher-darwin-arm64': 2.5.1 + '@parcel/watcher-darwin-x64': 2.5.1 + '@parcel/watcher-freebsd-x64': 2.5.1 + '@parcel/watcher-linux-arm-glibc': 2.5.1 + '@parcel/watcher-linux-arm-musl': 2.5.1 + '@parcel/watcher-linux-arm64-glibc': 2.5.1 + '@parcel/watcher-linux-arm64-musl': 2.5.1 + '@parcel/watcher-linux-x64-glibc': 2.5.1 + '@parcel/watcher-linux-x64-musl': 2.5.1 + '@parcel/watcher-win32-arm64': 2.5.1 + '@parcel/watcher-win32-ia32': 2.5.1 + '@parcel/watcher-win32-x64': 2.5.1 '@parcel/workers@2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))': dependencies: @@ -13405,165 +14156,176 @@ snapshots: '@popperjs/core@2.11.8': {} + '@radix-ui/react-compose-refs@1.0.0(react@18.3.1)': + dependencies: + '@babel/runtime': 7.26.7 + react: 18.3.1 + + '@radix-ui/react-slot@1.0.1(react@18.3.1)': + dependencies: + '@babel/runtime': 7.26.7 + '@radix-ui/react-compose-refs': 1.0.0(react@18.3.1) + react: 18.3.1 + '@react-native/assets-registry@0.76.3': {} - '@react-native/babel-plugin-codegen@0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.0))': + '@react-native/babel-plugin-codegen@0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.7))': dependencies: - '@react-native/codegen': 0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + '@react-native/codegen': 0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.7)) transitivePeerDependencies: - '@babel/preset-env' - supports-color - '@react-native/babel-plugin-codegen@0.76.5(@babel/preset-env@7.26.0(@babel/core@7.26.0))': + '@react-native/babel-plugin-codegen@0.76.6(@babel/preset-env@7.26.0(@babel/core@7.26.7))': dependencies: - '@react-native/codegen': 0.76.5(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + '@react-native/codegen': 0.76.6(@babel/preset-env@7.26.0(@babel/core@7.26.7)) transitivePeerDependencies: - '@babel/preset-env' - supports-color - '@react-native/babel-preset@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))': - dependencies: - '@babel/core': 7.26.0 - '@babel/plugin-proposal-export-default-from': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-export-default-from': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-flow-strip-types': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-nullish-coalescing-operator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-display-name': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-runtime': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-typescript': 7.26.3(@babel/core@7.26.0) - '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.0) + '@react-native/babel-preset@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))': + dependencies: + '@babel/core': 7.26.7 + '@babel/plugin-proposal-export-default-from': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-export-default-from': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-flow-strip-types': 7.26.5(@babel/core@7.26.7) + '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.7) + '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.26.6(@babel/core@7.26.7) + '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-display-name': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-runtime': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-typescript': 7.26.7(@babel/core@7.26.7) + '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.7) '@babel/template': 7.25.9 - '@react-native/babel-plugin-codegen': 0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + '@react-native/babel-plugin-codegen': 0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.7)) babel-plugin-syntax-hermes-parser: 0.25.1 - babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.26.0) + babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.26.7) react-refresh: 0.14.2 transitivePeerDependencies: - '@babel/preset-env' - supports-color - '@react-native/babel-preset@0.76.5(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))': - dependencies: - '@babel/core': 7.26.0 - '@babel/plugin-proposal-export-default-from': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-export-default-from': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-flow-strip-types': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-nullish-coalescing-operator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-display-name': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-runtime': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-typescript': 7.26.3(@babel/core@7.26.0) - '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.0) + '@react-native/babel-preset@0.76.6(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))': + dependencies: + '@babel/core': 7.26.7 + '@babel/plugin-proposal-export-default-from': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-export-default-from': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-flow-strip-types': 7.26.5(@babel/core@7.26.7) + '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.7) + '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.26.6(@babel/core@7.26.7) + '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-display-name': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-runtime': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-typescript': 7.26.7(@babel/core@7.26.7) + '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.7) '@babel/template': 7.25.9 - '@react-native/babel-plugin-codegen': 0.76.5(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + '@react-native/babel-plugin-codegen': 0.76.6(@babel/preset-env@7.26.0(@babel/core@7.26.7)) babel-plugin-syntax-hermes-parser: 0.25.1 - babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.26.0) + babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.26.7) react-refresh: 0.14.2 transitivePeerDependencies: - '@babel/preset-env' - supports-color - '@react-native/codegen@0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.0))': + '@react-native/codegen@0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.7))': dependencies: - '@babel/parser': 7.26.3 - '@babel/preset-env': 7.26.0(@babel/core@7.26.0) + '@babel/parser': 7.26.7 + '@babel/preset-env': 7.26.0(@babel/core@7.26.7) glob: 7.2.3 hermes-parser: 0.23.1 invariant: 2.2.4 - jscodeshift: 0.14.0(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + jscodeshift: 0.14.0(@babel/preset-env@7.26.0(@babel/core@7.26.7)) mkdirp: 0.5.6 nullthrows: 1.1.1 yargs: 17.7.2 transitivePeerDependencies: - supports-color - '@react-native/codegen@0.76.5(@babel/preset-env@7.26.0(@babel/core@7.26.0))': + '@react-native/codegen@0.76.6(@babel/preset-env@7.26.0(@babel/core@7.26.7))': dependencies: - '@babel/parser': 7.26.3 - '@babel/preset-env': 7.26.0(@babel/core@7.26.0) + '@babel/parser': 7.26.7 + '@babel/preset-env': 7.26.0(@babel/core@7.26.7) glob: 7.2.3 hermes-parser: 0.23.1 invariant: 2.2.4 - jscodeshift: 0.14.0(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + jscodeshift: 0.14.0(@babel/preset-env@7.26.0(@babel/core@7.26.7)) mkdirp: 0.5.6 nullthrows: 1.1.1 yargs: 17.7.2 transitivePeerDependencies: - supports-color - '@react-native/community-cli-plugin@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))': + '@react-native/community-cli-plugin@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))': dependencies: '@react-native/dev-middleware': 0.76.3 - '@react-native/metro-babel-transformer': 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + '@react-native/metro-babel-transformer': 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7)) chalk: 4.1.2 execa: 5.1.1 invariant: 2.2.4 - metro: 0.81.0 - metro-config: 0.81.0 - metro-core: 0.81.0 + metro: 0.81.1 + metro-config: 0.81.1 + metro-core: 0.81.1 node-fetch: 2.7.0 readline: 1.3.0 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' @@ -13574,7 +14336,7 @@ snapshots: '@react-native/debugger-frontend@0.76.3': {} - '@react-native/debugger-frontend@0.76.5': {} + '@react-native/debugger-frontend@0.76.6': {} '@react-native/dev-middleware@0.76.3': dependencies: @@ -13594,10 +14356,10 @@ snapshots: - supports-color - utf-8-validate - '@react-native/dev-middleware@0.76.5': + '@react-native/dev-middleware@0.76.6': dependencies: '@isaacs/ttlcache': 1.4.1 - '@react-native/debugger-frontend': 0.76.5 + '@react-native/debugger-frontend': 0.76.6 chrome-launcher: 0.15.2 chromium-edge-launcher: 0.2.0 connect: 3.7.0 @@ -13616,10 +14378,10 @@ snapshots: '@react-native/js-polyfills@0.76.3': {} - '@react-native/metro-babel-transformer@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))': + '@react-native/metro-babel-transformer@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))': dependencies: - '@babel/core': 7.26.0 - '@react-native/babel-preset': 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + '@babel/core': 7.26.7 + '@react-native/babel-preset': 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7)) hermes-parser: 0.23.1 nullthrows: 1.1.1 transitivePeerDependencies: @@ -13628,42 +14390,243 @@ snapshots: '@react-native/normalize-colors@0.76.3': {} - '@react-native/normalize-colors@0.76.5': {} + '@react-native/normalize-colors@0.76.6': {} - '@react-native/virtualized-lists@0.76.3(@types/react@18.3.3)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': + '@react-native/virtualized-lists@0.76.3(@types/react@18.3.3)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react: 18.3.1 - react-native: 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) optionalDependencies: '@types/react': 18.3.3 - '@rtsao/scc@1.1.0': {} + '@react-navigation/bottom-tabs@7.2.0(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-screens@4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': + dependencies: + '@react-navigation/elements': 2.2.5(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native': 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + color: 4.2.3 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-screens: 4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + transitivePeerDependencies: + - '@react-native-masked-view/masked-view' - '@rushstack/eslint-patch@1.10.5': {} + '@react-navigation/core@7.3.1(react@18.3.1)': + dependencies: + '@react-navigation/routers': 7.1.2 + escape-string-regexp: 4.0.0 + nanoid: 3.3.8 + query-string: 7.1.3 + react: 18.3.1 + react-is: 18.3.1 + use-latest-callback: 0.2.3(react@18.3.1) + use-sync-external-store: 1.4.0(react@18.3.1) - '@segment/loosely-validate-event@2.0.0': + '@react-navigation/drawer@7.1.1(czhcleus3n2dpklc3jueuishla)': dependencies: - component-type: 1.2.2 - join-component: 1.1.0 + '@react-navigation/elements': 2.2.5(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native': 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + color: 4.2.3 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-drawer-layout: 4.1.1(react-native-gesture-handler@2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-gesture-handler: 2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-screens: 4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + use-latest-callback: 0.2.3(react@18.3.1) + transitivePeerDependencies: + - '@react-native-masked-view/masked-view' + optional: true - '@sinclair/typebox@0.27.8': {} + '@react-navigation/drawer@7.1.1(spdwnyxuaxm5ofzxwman2mtlfu)': + dependencies: + '@react-navigation/elements': 2.2.5(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native': 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + color: 4.2.3 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-drawer-layout: 4.1.1(react-native-gesture-handler@2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-gesture-handler: 2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-screens: 4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + use-latest-callback: 0.2.3(react@18.3.1) + transitivePeerDependencies: + - '@react-native-masked-view/masked-view' - '@sinonjs/commons@3.0.1': + '@react-navigation/elements@2.2.5(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': dependencies: - type-detect: 4.0.8 + '@react-navigation/native': 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + color: 4.2.3 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) - '@sinonjs/fake-timers@10.3.0': + '@react-navigation/native-stack@7.2.0(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-screens@4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': dependencies: - '@sinonjs/commons': 3.0.1 + '@react-navigation/elements': 2.2.5(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native': 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-screens: 4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + warn-once: 0.1.1 + transitivePeerDependencies: + - '@react-native-masked-view/masked-view' - '@storybook/addon-actions@8.4.7(storybook@8.4.7(prettier@3.4.2))': + '@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)': dependencies: - '@storybook/global': 5.0.0 - '@types/uuid': 9.0.8 - dequal: 2.0.3 - polished: 4.3.1 + '@react-navigation/core': 7.3.1(react@18.3.1) + escape-string-regexp: 4.0.0 + fast-deep-equal: 3.1.3 + nanoid: 3.3.8 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + use-latest-callback: 0.2.3(react@18.3.1) + + '@react-navigation/routers@7.1.2': + dependencies: + nanoid: 3.3.8 + + '@remix-run/node@2.15.3(typescript@5.4.5)': + dependencies: + '@remix-run/server-runtime': 2.15.3(typescript@5.4.5) + '@remix-run/web-fetch': 4.4.2 + '@web3-storage/multipart-parser': 1.0.0 + cookie-signature: 1.2.2 + source-map-support: 0.5.21 + stream-slice: 0.1.2 + undici: 6.21.1 + optionalDependencies: + typescript: 5.4.5 + + '@remix-run/router@1.22.0': {} + + '@remix-run/server-runtime@2.15.3(typescript@5.4.5)': + dependencies: + '@remix-run/router': 1.22.0 + '@types/cookie': 0.6.0 + '@web3-storage/multipart-parser': 1.0.0 + cookie: 0.6.0 + set-cookie-parser: 2.7.1 + source-map: 0.7.4 + turbo-stream: 2.4.0 + optionalDependencies: + typescript: 5.4.5 + + '@remix-run/web-blob@3.1.0': + dependencies: + '@remix-run/web-stream': 1.1.0 + web-encoding: 1.1.5 + + '@remix-run/web-fetch@4.4.2': + dependencies: + '@remix-run/web-blob': 3.1.0 + '@remix-run/web-file': 3.1.0 + '@remix-run/web-form-data': 3.1.0 + '@remix-run/web-stream': 1.1.0 + '@web3-storage/multipart-parser': 1.0.0 + abort-controller: 3.0.0 + data-uri-to-buffer: 3.0.1 + mrmime: 1.0.1 + + '@remix-run/web-file@3.1.0': + dependencies: + '@remix-run/web-blob': 3.1.0 + + '@remix-run/web-form-data@3.1.0': + dependencies: + web-encoding: 1.1.5 + + '@remix-run/web-stream@1.1.0': + dependencies: + web-streams-polyfill: 3.3.3 + + '@rollup/rollup-android-arm-eabi@4.34.1': + optional: true + + '@rollup/rollup-android-arm64@4.34.1': + optional: true + + '@rollup/rollup-darwin-arm64@4.34.1': + optional: true + + '@rollup/rollup-darwin-x64@4.34.1': + optional: true + + '@rollup/rollup-freebsd-arm64@4.34.1': + optional: true + + '@rollup/rollup-freebsd-x64@4.34.1': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.34.1': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.34.1': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.34.1': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.34.1': + optional: true + + '@rollup/rollup-linux-loongarch64-gnu@4.34.1': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.34.1': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.34.1': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.34.1': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.34.1': + optional: true + + '@rollup/rollup-linux-x64-musl@4.34.1': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.34.1': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.34.1': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.34.1': + optional: true + + '@rtsao/scc@1.1.0': {} + + '@rushstack/eslint-patch@1.10.5': {} + + '@segment/loosely-validate-event@2.0.0': + dependencies: + component-type: 1.2.2 + join-component: 1.1.0 + + '@sinclair/typebox@0.27.8': {} + + '@sinonjs/commons@3.0.1': + dependencies: + type-detect: 4.0.8 + + '@sinonjs/fake-timers@10.3.0': + dependencies: + '@sinonjs/commons': 3.0.1 + + '@storybook/addon-actions@8.4.7(storybook@8.4.7(prettier@3.4.2))': + dependencies: + '@storybook/global': 5.0.0 + '@types/uuid': 9.0.8 + dequal: 2.0.3 + polished: 4.3.1 storybook: 8.4.7(prettier@3.4.2) uuid: 9.0.1 @@ -13745,17 +14708,17 @@ snapshots: storybook: 8.4.7(prettier@3.4.2) ts-dedent: 2.2.0 - '@storybook/addon-styling-webpack@1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2))': + '@storybook/addon-styling-webpack@1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)))': dependencies: - '@storybook/node-logger': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + '@storybook/node-logger': 8.5.3(storybook@8.4.7(prettier@3.4.2)) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) transitivePeerDependencies: - storybook '@storybook/addon-styling-webpack@1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0)': dependencies: - '@storybook/node-logger': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + '@storybook/node-logger': 8.5.3(storybook@8.4.7(prettier@3.4.2)) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) transitivePeerDependencies: - storybook @@ -13768,18 +14731,18 @@ snapshots: memoizerific: 1.11.3 storybook: 8.4.7(prettier@3.4.2) - '@storybook/addon-webpack5-compiler-babel@3.0.3(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2))': + '@storybook/addon-webpack5-compiler-babel@3.0.3(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)))': dependencies: - '@babel/core': 7.26.0 - babel-loader: 9.2.1(@babel/core@7.26.0)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + '@babel/core': 7.26.7 + babel-loader: 9.2.1(@babel/core@7.26.7)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) transitivePeerDependencies: - supports-color - webpack '@storybook/addon-webpack5-compiler-babel@3.0.3(webpack@5.93.0)': dependencies: - '@babel/core': 7.26.0 - babel-loader: 9.2.1(@babel/core@7.26.0)(webpack@5.93.0) + '@babel/core': 7.26.7 + babel-loader: 9.2.1(@babel/core@7.26.7)(webpack@5.93.0) transitivePeerDependencies: - supports-color - webpack @@ -13787,39 +14750,76 @@ snapshots: '@storybook/blocks@8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))': dependencies: '@storybook/csf': 0.1.13 - '@storybook/icons': 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/icons': 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) storybook: 8.4.7(prettier@3.4.2) ts-dedent: 2.2.0 optionalDependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/builder-webpack5@8.4.7(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)': + '@storybook/builder-webpack5@8.4.7(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/semver': 7.5.8 browser-assert: 1.2.1 case-sensitive-paths-webpack-plugin: 2.4.0 - cjs-module-lexer: 1.4.1 + cjs-module-lexer: 1.4.3 constants-browserify: 1.0.0 - css-loader: 6.11.0(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + css-loader: 6.11.0(webpack@5.93.0) es-module-lexer: 1.6.0 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) - html-webpack-plugin: 5.6.0(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.4.5)(webpack@5.93.0) + html-webpack-plugin: 5.6.0(webpack@5.93.0) magic-string: 0.30.17 path-browserify: 1.0.1 process: 0.11.10 - semver: 7.6.3 + semver: 7.7.0 + storybook: 8.4.7(prettier@3.4.2) + style-loader: 3.3.4(webpack@5.93.0) + terser-webpack-plugin: 5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack@5.93.0) + ts-dedent: 2.2.0 + url: 0.11.4 + util: 0.12.5 + util-deprecate: 1.0.2 + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) + webpack-dev-middleware: 6.1.3(webpack@5.93.0) + webpack-hot-middleware: 2.26.1 + webpack-virtual-modules: 0.6.2 + optionalDependencies: + typescript: 5.4.5 + transitivePeerDependencies: + - '@rspack/core' + - '@swc/core' + - esbuild + - uglify-js + - webpack-cli + + '@storybook/builder-webpack5@8.4.7(@swc/core@1.10.12(@swc/helpers@0.5.15))(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)': + dependencies: + '@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.4.2)) + '@types/node': 22.7.2 + '@types/semver': 7.5.8 + browser-assert: 1.2.1 + case-sensitive-paths-webpack-plugin: 2.4.0 + cjs-module-lexer: 1.4.3 + constants-browserify: 1.0.0 + css-loader: 6.11.0(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) + es-module-lexer: 1.6.0 + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) + html-webpack-plugin: 5.6.0(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) + magic-string: 0.30.17 + path-browserify: 1.0.1 + process: 0.11.10 + semver: 7.7.0 storybook: 8.4.7(prettier@3.4.2) - style-loader: 3.3.4(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) - terser-webpack-plugin: 5.3.11(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + style-loader: 3.3.4(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) + terser-webpack-plugin: 5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) ts-dedent: 2.2.0 url: 0.11.4 util: 0.12.5 util-deprecate: 1.0.2 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) - webpack-dev-middleware: 6.1.3(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) + webpack-dev-middleware: 6.1.3(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 optionalDependencies: @@ -13831,14 +14831,14 @@ snapshots: - uglify-js - webpack-cli - '@storybook/builder-webpack5@8.4.7(@swc/core@1.10.4(@swc/helpers@0.5.15))(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': + '@storybook/builder-webpack5@8.4.7(@swc/core@1.10.12(@swc/helpers@0.5.15))(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/semver': 7.5.8 browser-assert: 1.2.1 case-sensitive-paths-webpack-plugin: 2.4.0 - cjs-module-lexer: 1.4.1 + cjs-module-lexer: 1.4.3 constants-browserify: 1.0.0 css-loader: 6.11.0(webpack@5.93.0) es-module-lexer: 1.6.0 @@ -13847,15 +14847,15 @@ snapshots: magic-string: 0.30.17 path-browserify: 1.0.1 process: 0.11.10 - semver: 7.6.3 + semver: 7.7.0 storybook: 8.4.7(prettier@3.4.2) style-loader: 3.3.4(webpack@5.93.0) - terser-webpack-plugin: 5.3.11(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack@5.93.0) + terser-webpack-plugin: 5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack@5.93.0) ts-dedent: 2.2.0 url: 0.11.4 util: 0.12.5 util-deprecate: 1.0.2 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack-cli@5.1.4) webpack-dev-middleware: 6.1.3(webpack@5.93.0) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 @@ -13874,7 +14874,7 @@ snapshots: '@storybook/core-webpack@8.4.7(storybook@8.4.7(prettier@3.4.2))': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 storybook: 8.4.7(prettier@3.4.2) ts-dedent: 2.2.0 @@ -13888,7 +14888,7 @@ snapshots: jsdoc-type-pratt-parser: 4.1.0 process: 0.11.10 recast: 0.23.9 - semver: 7.6.3 + semver: 7.7.0 util: 0.12.5 ws: 8.18.0 optionalDependencies: @@ -13913,7 +14913,7 @@ snapshots: '@storybook/global@5.0.0': {} - '@storybook/icons@1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@storybook/icons@1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -13921,34 +14921,61 @@ snapshots: '@storybook/instrumenter@8.4.7(storybook@8.4.7(prettier@3.4.2))': dependencies: '@storybook/global': 5.0.0 - '@vitest/utils': 2.1.8 + '@vitest/utils': 2.1.9 storybook: 8.4.7(prettier@3.4.2) '@storybook/manager-api@8.4.7(storybook@8.4.7(prettier@3.4.2))': dependencies: storybook: 8.4.7(prettier@3.4.2) - '@storybook/node-logger@8.4.7(storybook@8.4.7(prettier@3.4.2))': + '@storybook/node-logger@8.5.3(storybook@8.4.7(prettier@3.4.2))': dependencies: storybook: 8.4.7(prettier@3.4.2) - '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)': + '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) - '@types/node': 22.10.5 + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.93.0) + '@types/node': 22.7.2 '@types/semver': 7.5.8 find-up: 5.0.0 magic-string: 0.30.17 react: 18.3.1 - react-docgen: 7.1.0 + react-docgen: 7.1.1 react-dom: 18.3.1(react@18.3.1) resolve: 1.22.10 - semver: 7.6.3 + semver: 7.7.0 + storybook: 8.4.7(prettier@3.4.2) + tsconfig-paths: 4.2.0 + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) + optionalDependencies: + typescript: 5.4.5 + transitivePeerDependencies: + - '@storybook/test' + - '@swc/core' + - esbuild + - supports-color + - uglify-js + - webpack-cli + + '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)': + dependencies: + '@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.4.2)) + '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) + '@types/node': 22.7.2 + '@types/semver': 7.5.8 + find-up: 5.0.0 + magic-string: 0.30.17 + react: 18.3.1 + react-docgen: 7.1.1 + react-dom: 18.3.1(react@18.3.1) + resolve: 1.22.10 + semver: 7.7.0 storybook: 8.4.7(prettier@3.4.2) tsconfig-paths: 4.2.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: @@ -13959,23 +14986,23 @@ snapshots: - uglify-js - webpack-cli - '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': + '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.93.0) - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/semver': 7.5.8 find-up: 5.0.0 magic-string: 0.30.17 react: 18.3.1 - react-docgen: 7.1.0 + react-docgen: 7.1.1 react-dom: 18.3.1(react@18.3.1) resolve: 1.22.10 - semver: 7.6.3 + semver: 7.7.0 storybook: 8.4.7(prettier@3.4.2) tsconfig-paths: 4.2.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack-cli@5.1.4) optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: @@ -13990,7 +15017,7 @@ snapshots: dependencies: storybook: 8.4.7(prettier@3.4.2) - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2))': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)))': dependencies: debug: 4.4.0(supports-color@8.1.1) endent: 2.1.0 @@ -14000,7 +15027,7 @@ snapshots: react-docgen-typescript: 2.2.2(typescript@5.4.5) tslib: 2.8.1 typescript: 5.4.5 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) transitivePeerDependencies: - supports-color @@ -14014,7 +15041,7 @@ snapshots: react-docgen-typescript: 2.2.2(typescript@5.4.5) tslib: 2.8.1 typescript: 5.4.5 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) transitivePeerDependencies: - supports-color @@ -14024,12 +15051,32 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.4.7(prettier@3.4.2) - '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)': + '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': + dependencies: + '@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) + '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) + '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) + '@types/node': 22.7.2 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + storybook: 8.4.7(prettier@3.4.2) + optionalDependencies: + typescript: 5.4.5 + transitivePeerDependencies: + - '@rspack/core' + - '@storybook/test' + - '@swc/core' + - esbuild + - supports-color + - uglify-js + - webpack-cli + + '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)': dependencies: - '@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) - '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) + '@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.12(@swc/helpers@0.5.15))(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) + '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) - '@types/node': 22.10.5 + '@types/node': 22.7.2 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 8.4.7(prettier@3.4.2) @@ -14044,12 +15091,12 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': + '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4)': dependencies: - '@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.4(@swc/helpers@0.5.15))(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) - '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.4(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) + '@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.12(@swc/helpers@0.5.15))(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) + '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) - '@types/node': 22.10.5 + '@types/node': 22.7.2 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 8.4.7(prettier@3.4.2) @@ -14095,51 +15142,51 @@ snapshots: dependencies: storybook: 8.4.7(prettier@3.4.2) - '@swc/core-darwin-arm64@1.10.4': + '@swc/core-darwin-arm64@1.10.12': optional: true - '@swc/core-darwin-x64@1.10.4': + '@swc/core-darwin-x64@1.10.12': optional: true - '@swc/core-linux-arm-gnueabihf@1.10.4': + '@swc/core-linux-arm-gnueabihf@1.10.12': optional: true - '@swc/core-linux-arm64-gnu@1.10.4': + '@swc/core-linux-arm64-gnu@1.10.12': optional: true - '@swc/core-linux-arm64-musl@1.10.4': + '@swc/core-linux-arm64-musl@1.10.12': optional: true - '@swc/core-linux-x64-gnu@1.10.4': + '@swc/core-linux-x64-gnu@1.10.12': optional: true - '@swc/core-linux-x64-musl@1.10.4': + '@swc/core-linux-x64-musl@1.10.12': optional: true - '@swc/core-win32-arm64-msvc@1.10.4': + '@swc/core-win32-arm64-msvc@1.10.12': optional: true - '@swc/core-win32-ia32-msvc@1.10.4': + '@swc/core-win32-ia32-msvc@1.10.12': optional: true - '@swc/core-win32-x64-msvc@1.10.4': + '@swc/core-win32-x64-msvc@1.10.12': optional: true - '@swc/core@1.10.4(@swc/helpers@0.5.15)': + '@swc/core@1.10.12(@swc/helpers@0.5.15)': dependencies: '@swc/counter': 0.1.3 '@swc/types': 0.1.17 optionalDependencies: - '@swc/core-darwin-arm64': 1.10.4 - '@swc/core-darwin-x64': 1.10.4 - '@swc/core-linux-arm-gnueabihf': 1.10.4 - '@swc/core-linux-arm64-gnu': 1.10.4 - '@swc/core-linux-arm64-musl': 1.10.4 - '@swc/core-linux-x64-gnu': 1.10.4 - '@swc/core-linux-x64-musl': 1.10.4 - '@swc/core-win32-arm64-msvc': 1.10.4 - '@swc/core-win32-ia32-msvc': 1.10.4 - '@swc/core-win32-x64-msvc': 1.10.4 + '@swc/core-darwin-arm64': 1.10.12 + '@swc/core-darwin-x64': 1.10.12 + '@swc/core-linux-arm-gnueabihf': 1.10.12 + '@swc/core-linux-arm64-gnu': 1.10.12 + '@swc/core-linux-arm64-musl': 1.10.12 + '@swc/core-linux-x64-gnu': 1.10.12 + '@swc/core-linux-x64-musl': 1.10.12 + '@swc/core-win32-arm64-msvc': 1.10.12 + '@swc/core-win32-ia32-msvc': 1.10.12 + '@swc/core-win32-x64-msvc': 1.10.12 '@swc/helpers': 0.5.15 '@swc/counter@0.1.3': {} @@ -14156,13 +15203,13 @@ snapshots: dependencies: '@swc/counter': 0.1.3 - '@tailwindcss/typography@0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)))': + '@tailwindcss/typography@0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))': dependencies: lodash.castarray: 4.4.0 lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 postcss-selector-parser: 6.0.10 - tailwindcss: 3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + tailwindcss: 3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) '@tanstack/query-core@5.45.0': {} @@ -14173,14 +15220,14 @@ snapshots: '@testing-library/cypress@10.0.2(cypress@13.16.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@testing-library/dom': 10.4.0 cypress: 13.16.1 '@testing-library/dom@10.4.0': dependencies: '@babel/code-frame': 7.26.2 - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@types/aria-query': 5.0.4 aria-query: 5.3.0 chalk: 4.1.2 @@ -14188,10 +15235,10 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)))': + '@testing-library/jest-dom@6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))': dependencies: '@adobe/css-tools': 4.4.1 - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 aria-query: 5.3.2 chalk: 3.0.0 css.escape: 1.5.1 @@ -14201,22 +15248,7 @@ snapshots: optionalDependencies: '@jest/globals': 29.7.0 '@types/jest': 29.5.12 - jest: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) - - '@testing-library/jest-dom@6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))': - dependencies: - '@adobe/css-tools': 4.4.1 - '@babel/runtime': 7.26.0 - aria-query: 5.3.2 - chalk: 3.0.0 - css.escape: 1.5.1 - dom-accessibility-api: 0.6.3 - lodash: 4.17.21 - redent: 3.0.0 - optionalDependencies: - '@jest/globals': 29.7.0 - '@types/jest': 29.5.12 - jest: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + jest: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) '@testing-library/jest-dom@6.5.0': dependencies: @@ -14230,7 +15262,7 @@ snapshots: '@testing-library/react@16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 '@testing-library/dom': 10.4.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -14247,7 +15279,7 @@ snapshots: '@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.4.2)': dependencies: '@babel/generator': 7.17.7 - '@babel/parser': 7.26.3 + '@babel/parser': 7.26.7 '@babel/traverse': 7.23.2 '@babel/types': 7.17.0 javascript-natural-sort: 0.7.1 @@ -14268,42 +15300,52 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/parser': 7.26.7 + '@babel/types': 7.26.7 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 '@types/babel__generator@7.6.8': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/parser': 7.26.7 + '@babel/types': 7.26.7 '@types/babel__traverse@7.20.6': dependencies: - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/bonjour@3.5.13': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 + + '@types/color-convert@2.0.4': + dependencies: + '@types/color-name': 1.1.5 + + '@types/color-name@1.1.5': {} + + '@types/color@4.2.0': + dependencies: + '@types/color-convert': 2.0.4 '@types/connect-history-api-fallback@1.5.4': dependencies: - '@types/express-serve-static-core': 5.0.4 - '@types/node': 22.10.5 + '@types/express-serve-static-core': 5.0.6 + '@types/node': 22.7.2 '@types/connect@3.4.38': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/cookie@0.6.0': {} @@ -14323,15 +15365,15 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 22.10.5 - '@types/qs': 6.9.17 + '@types/node': 22.7.2 + '@types/qs': 6.9.18 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 - '@types/express-serve-static-core@5.0.4': + '@types/express-serve-static-core@5.0.6': dependencies: - '@types/node': 22.10.5 - '@types/qs': 6.9.17 + '@types/node': 22.7.2 + '@types/qs': 6.9.18 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -14339,12 +15381,14 @@ snapshots: dependencies: '@types/body-parser': 1.19.5 '@types/express-serve-static-core': 4.19.6 - '@types/qs': 6.9.17 + '@types/qs': 6.9.18 '@types/serve-static': 1.15.7 '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 + + '@types/hammerjs@2.0.46': {} '@types/html-minifier-terser@5.1.2': {} @@ -14354,7 +15398,7 @@ snapshots: '@types/http-proxy@1.17.15': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/humps@2.0.6': {} @@ -14377,7 +15421,7 @@ snapshots: '@types/jsdom@20.0.1': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/tough-cookie': 4.0.5 parse5: 7.2.1 @@ -14395,14 +15439,10 @@ snapshots: '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/node@12.20.55': {} - '@types/node@22.10.5': - dependencies: - undici-types: 6.20.0 - '@types/node@22.7.2': dependencies: undici-types: 6.19.8 @@ -14411,7 +15451,7 @@ snapshots: '@types/prop-types@15.7.14': {} - '@types/qs@6.9.17': {} + '@types/qs@6.9.18': {} '@types/range-parser@1.2.7': {} @@ -14452,7 +15492,7 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/serve-index@1.9.4': dependencies: @@ -14461,7 +15501,7 @@ snapshots: '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/send': 0.17.4 '@types/sinonjs__fake-timers@8.1.1': {} @@ -14470,7 +15510,7 @@ snapshots: '@types/sockjs@0.3.36': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/source-list-map@0.1.6': {} @@ -14490,22 +15530,22 @@ snapshots: '@types/webpack-sources@3.2.3': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/source-list-map': 0.1.6 source-map: 0.7.4 '@types/webpack@4.41.40': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/tapable': 1.0.12 '@types/uglify-js': 3.17.5 '@types/webpack-sources': 3.2.3 anymatch: 3.1.3 source-map: 0.6.1 - '@types/ws@8.5.13': + '@types/ws@8.5.14': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 '@types/yargs-parser@21.0.3': {} @@ -14515,7 +15555,7 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 optional: true '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5)': @@ -14530,7 +15570,7 @@ snapshots: graphemer: 1.4.0 ignore: 5.3.2 natural-compare-lite: 1.4.0 - semver: 7.6.3 + semver: 7.7.0 tsutils: 3.21.0(typescript@5.4.5) optionalDependencies: typescript: 5.4.5 @@ -14575,7 +15615,7 @@ snapshots: debug: 4.4.0(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 - semver: 7.6.3 + semver: 7.7.0 tsutils: 3.21.0(typescript@5.4.5) optionalDependencies: typescript: 5.4.5 @@ -14592,7 +15632,7 @@ snapshots: '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.4.5) eslint: 8.57.1 eslint-scope: 5.1.1 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - supports-color - typescript @@ -14602,7 +15642,7 @@ snapshots: '@typescript-eslint/types': 5.62.0 eslint-visitor-keys: 3.4.3 - '@ungap/structured-clone@1.2.1': {} + '@ungap/structured-clone@1.3.0': {} '@urql/core@5.1.0(graphql@16.8.1)': dependencies: @@ -14611,7 +15651,7 @@ snapshots: transitivePeerDependencies: - graphql - '@urql/exchange-retry@1.3.0(@urql/core@5.1.0(graphql@16.8.1))': + '@urql/exchange-retry@1.3.0(@urql/core@5.1.0)': dependencies: '@urql/core': 5.1.0(graphql@16.8.1) wonka: 6.3.4 @@ -14627,7 +15667,7 @@ snapshots: dependencies: tinyrainbow: 1.2.0 - '@vitest/pretty-format@2.1.8': + '@vitest/pretty-format@2.1.9': dependencies: tinyrainbow: 1.2.0 @@ -14639,15 +15679,17 @@ snapshots: dependencies: '@vitest/pretty-format': 2.0.5 estree-walker: 3.0.3 - loupe: 3.1.2 + loupe: 3.1.3 tinyrainbow: 1.2.0 - '@vitest/utils@2.1.8': + '@vitest/utils@2.1.9': dependencies: - '@vitest/pretty-format': 2.1.8 - loupe: 3.1.2 + '@vitest/pretty-format': 2.1.9 + loupe: 3.1.3 tinyrainbow: 1.2.0 + '@web3-storage/multipart-parser@1.0.0': {} + '@webassemblyjs/ast@1.14.1': dependencies: '@webassemblyjs/helper-numbers': 1.13.2 @@ -14726,17 +15768,17 @@ snapshots: '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4)(webpack@5.93.0)': dependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) '@webpack-cli/info@2.0.2(webpack-cli@5.1.4)(webpack@5.93.0)': dependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4)(webpack-dev-server@5.0.4)(webpack@5.93.0)': dependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) optionalDependencies: webpack-dev-server: 5.0.4(webpack-cli@5.1.4)(webpack@5.93.0) @@ -14749,6 +15791,9 @@ snapshots: '@xtuc/long@4.2.2': {} + '@zxing/text-encoding@0.9.0': + optional: true + abab@2.0.6: {} abort-controller@3.0.0: @@ -14813,7 +15858,7 @@ snapshots: ajv@8.17.1: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.0.5 + fast-uri: 3.0.6 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -14890,7 +15935,7 @@ snapshots: call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.9 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 get-intrinsic: 1.2.7 is-string: 1.1.1 @@ -14902,7 +15947,7 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.9 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 es-shim-unscopables: 1.0.2 array.prototype.findlastindex@1.2.5: @@ -14911,7 +15956,7 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.9 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 es-shim-unscopables: 1.0.2 array.prototype.flat@1.3.3: @@ -14935,7 +15980,7 @@ snapshots: es-abstract: 1.23.9 es-array-method-boxes-properly: 1.0.0 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 is-string: 1.1.1 array.prototype.tosorted@1.1.4: @@ -14978,6 +16023,8 @@ snapshots: astral-regex@2.0.0: {} + async-function@1.0.0: {} + async-limiter@1.0.1: {} async@3.2.6: {} @@ -14991,7 +16038,7 @@ snapshots: autoprefixer@10.4.19(postcss@8.4.38): dependencies: browserslist: 4.24.4 - caniuse-lite: 1.0.30001692 + caniuse-lite: 1.0.30001696 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.1 @@ -15024,40 +16071,40 @@ snapshots: axobject-query@4.1.0: {} - babel-core@7.0.0-bridge.0(@babel/core@7.26.0): + babel-core@7.0.0-bridge.0(@babel/core@7.26.7): dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 - babel-jest@29.7.0(@babel/core@7.26.0): + babel-jest@29.7.0(@babel/core@7.26.7): dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@jest/transform': 29.7.0 '@types/babel__core': 7.20.5 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.26.0) + babel-preset-jest: 29.6.3(@babel/core@7.26.7) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 transitivePeerDependencies: - supports-color - babel-loader@9.2.1(@babel/core@7.26.0)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + babel-loader@9.2.1(@babel/core@7.26.7)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 find-cache-dir: 4.0.0 schema-utils: 4.3.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) - babel-loader@9.2.1(@babel/core@7.26.0)(webpack@5.93.0): + babel-loader@9.2.1(@babel/core@7.26.7)(webpack@5.93.0): dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 find-cache-dir: 4.0.0 schema-utils: 4.3.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) babel-plugin-istanbul@6.1.1: dependencies: - '@babel/helper-plugin-utils': 7.25.9 + '@babel/helper-plugin-utils': 7.26.5 '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.2.1 @@ -15068,43 +16115,43 @@ snapshots: babel-plugin-jest-hoist@29.6.3: dependencies: '@babel/template': 7.25.9 - '@babel/types': 7.26.3 + '@babel/types': 7.26.7 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 babel-plugin-macros@2.8.0: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 cosmiconfig: 6.0.0 resolve: 1.22.10 babel-plugin-macros@3.1.0: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 cosmiconfig: 7.1.0 resolve: 1.22.10 - babel-plugin-polyfill-corejs2@0.4.12(@babel/core@7.26.0): + babel-plugin-polyfill-corejs2@0.4.12(@babel/core@7.26.7): dependencies: - '@babel/compat-data': 7.26.3 - '@babel/core': 7.26.0 - '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.0) + '@babel/compat-data': 7.26.5 + '@babel/core': 7.26.7 + '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.7) semver: 6.3.1 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs3@0.10.6(@babel/core@7.26.0): + babel-plugin-polyfill-corejs3@0.10.6(@babel/core@7.26.7): dependencies: - '@babel/core': 7.26.0 - '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.7) core-js-compat: 3.40.0 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.6.3(@babel/core@7.26.0): + babel-plugin-polyfill-regenerator@0.6.3(@babel/core@7.26.7): dependencies: - '@babel/core': 7.26.0 - '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.0) + '@babel/core': 7.26.7 + '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.7) transitivePeerDependencies: - supports-color @@ -15124,40 +16171,40 @@ snapshots: dependencies: hermes-parser: 0.25.1 - babel-plugin-transform-flow-enums@0.0.2(@babel/core@7.26.0): + babel-plugin-transform-flow-enums@0.0.2(@babel/core@7.26.7): dependencies: - '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.26.0) + '@babel/plugin-syntax-flow': 7.26.0(@babel/core@7.26.7) transitivePeerDependencies: - '@babel/core' - babel-preset-current-node-syntax@1.1.0(@babel/core@7.26.0): - dependencies: - '@babel/core': 7.26.0 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.26.0) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.26.0) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.26.0) - '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/core@7.26.0) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.26.0) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.26.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.26.0) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.0) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.26.0) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.26.0) - - babel-preset-expo@12.0.5(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0)): - dependencies: - '@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.0) - '@babel/preset-react': 7.25.9(@babel/core@7.26.0) - '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) - '@react-native/babel-preset': 0.76.5(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + babel-preset-current-node-syntax@1.1.0(@babel/core@7.26.7): + dependencies: + '@babel/core': 7.26.7 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.26.7) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.26.7) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.26.7) + '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/core@7.26.7) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.26.7) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.26.7) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.26.7) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.7) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.26.7) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.26.7) + + babel-preset-expo@12.0.6(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7)): + dependencies: + '@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.7) + '@babel/preset-react': 7.25.9(@babel/core@7.26.7) + '@babel/preset-typescript': 7.26.0(@babel/core@7.26.7) + '@react-native/babel-preset': 0.76.6(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7)) babel-plugin-react-native-web: 0.19.13 react-refresh: 0.14.2 transitivePeerDependencies: @@ -15165,11 +16212,11 @@ snapshots: - '@babel/preset-env' - supports-color - babel-preset-jest@29.6.3(@babel/core@7.26.0): + babel-preset-jest@29.6.3(@babel/core@7.26.7): dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.0) + babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.7) balanced-match@1.0.2: {} @@ -15262,8 +16309,8 @@ snapshots: browserslist@4.24.4: dependencies: - caniuse-lite: 1.0.30001692 - electron-to-chromium: 1.5.79 + caniuse-lite: 1.0.30001696 + electron-to-chromium: 1.5.90 node-releases: 2.0.19 update-browserslist-db: 1.1.2(browserslist@4.24.4) @@ -15297,12 +16344,19 @@ snapshots: dependencies: run-applescript: 7.0.0 + bundle-require@5.1.0(esbuild@0.24.2): + dependencies: + esbuild: 0.24.2 + load-tsconfig: 0.2.5 + busboy@1.6.0: dependencies: streamsearch: 1.1.0 bytes@3.1.2: {} + cac@6.7.14: {} + cacache@18.0.4: dependencies: '@npmcli/fs': 3.1.1 @@ -15360,7 +16414,7 @@ snapshots: camelcase@6.3.0: {} - caniuse-lite@1.0.30001692: {} + caniuse-lite@1.0.30001696: {} case-sensitive-paths-webpack-plugin@2.4.0: {} @@ -15371,7 +16425,7 @@ snapshots: assertion-error: 2.0.1 check-error: 2.1.1 deep-eql: 5.0.2 - loupe: 3.1.2 + loupe: 3.1.3 pathval: 2.0.0 chalk@2.4.2: @@ -15402,6 +16456,13 @@ snapshots: check-more-types@2.24.0: {} + chokidar-cli@3.0.0: + dependencies: + chokidar: 3.6.0 + lodash.debounce: 4.0.8 + lodash.throttle: 4.1.1 + yargs: 13.3.2 + chokidar@3.6.0: dependencies: anymatch: 3.1.3 @@ -15414,13 +16475,17 @@ snapshots: optionalDependencies: fsevents: 2.3.3 + chokidar@4.0.3: + dependencies: + readdirp: 4.1.1 + chownr@2.0.0: {} - chromatic@11.22.2: {} + chromatic@11.25.2: {} chrome-launcher@0.15.2: dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.4.2 @@ -15431,7 +16496,7 @@ snapshots: chromium-edge-launcher@0.2.0: dependencies: - '@types/node': 22.10.5 + '@types/node': 22.7.2 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.4.2 @@ -15446,7 +16511,7 @@ snapshots: ci-info@4.1.0: {} - cjs-module-lexer@1.4.1: {} + cjs-module-lexer@1.4.3: {} clean-css@4.2.4: dependencies: @@ -15492,6 +16557,18 @@ snapshots: client-only@0.0.1: {} + cliui@5.0.0: + dependencies: + string-width: 4.1.0 + strip-ansi: 5.2.0 + wrap-ansi: 7.0.0 + + cliui@7.0.4: + dependencies: + string-width: 4.1.0 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + cliui@8.0.1: dependencies: string-width: 4.1.0 @@ -15530,13 +16607,16 @@ snapshots: dependencies: color-name: 1.1.4 simple-swizzle: 0.2.2 - optional: true + + color@3.2.1: + dependencies: + color-convert: 1.9.3 + color-string: 1.9.1 color@4.2.3: dependencies: color-convert: 2.0.1 color-string: 1.9.1 - optional: true colorette@2.0.20: {} @@ -15601,6 +16681,8 @@ snapshots: transitivePeerDependencies: - supports-color + consola@3.4.0: {} + constants-browserify@1.0.0: {} content-disposition@0.5.4: @@ -15615,6 +16697,10 @@ snapshots: cookie-signature@1.0.6: {} + cookie-signature@1.2.2: {} + + cookie@0.6.0: {} + cookie@0.7.1: {} cookie@0.7.2: {} @@ -15637,7 +16723,7 @@ snapshots: cosmiconfig@6.0.0: dependencies: '@types/parse-json': 4.0.2 - import-fresh: 3.3.0 + import-fresh: 3.3.1 parse-json: 5.2.0 path-type: 4.0.0 yaml: 1.10.2 @@ -15645,7 +16731,7 @@ snapshots: cosmiconfig@7.1.0: dependencies: '@types/parse-json': 4.0.2 - import-fresh: 3.3.0 + import-fresh: 3.3.1 parse-json: 5.2.0 path-type: 4.0.0 yaml: 1.10.2 @@ -15653,34 +16739,19 @@ snapshots: cosmiconfig@9.0.0(typescript@5.4.5): dependencies: env-paths: 2.2.1 - import-fresh: 3.3.0 + import-fresh: 3.3.1 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: typescript: 5.4.5 - create-jest@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)): - dependencies: - '@jest/types': 29.6.3 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) - jest-util: 29.7.0 - prompts: 2.4.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - - create-jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): + create-jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + jest-config: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -15715,57 +16786,57 @@ snapshots: crypto-random-string@2.0.0: {} - css-loader@6.11.0(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + css-loader@6.11.0(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: - icss-utils: 5.1.0(postcss@8.4.49) - postcss: 8.4.49 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.49) - postcss-modules-local-by-default: 4.2.0(postcss@8.4.49) - postcss-modules-scope: 3.2.1(postcss@8.4.49) - postcss-modules-values: 4.0.0(postcss@8.4.49) + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.38) + postcss-modules-local-by-default: 4.2.0(postcss@8.4.38) + postcss-modules-scope: 3.2.1(postcss@8.4.38) + postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 - semver: 7.6.3 + semver: 7.7.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) css-loader@6.11.0(webpack@5.93.0): dependencies: - icss-utils: 5.1.0(postcss@8.4.49) - postcss: 8.4.49 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.49) - postcss-modules-local-by-default: 4.2.0(postcss@8.4.49) - postcss-modules-scope: 3.2.1(postcss@8.4.49) - postcss-modules-values: 4.0.0(postcss@8.4.49) + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.38) + postcss-modules-local-by-default: 4.2.0(postcss@8.4.38) + postcss-modules-scope: 3.2.1(postcss@8.4.38) + postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 - semver: 7.6.3 + semver: 7.7.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) - css-loader@7.1.2(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + css-loader@7.1.2(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: - icss-utils: 5.1.0(postcss@8.4.49) - postcss: 8.4.49 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.49) - postcss-modules-local-by-default: 4.2.0(postcss@8.4.49) - postcss-modules-scope: 3.2.1(postcss@8.4.49) - postcss-modules-values: 4.0.0(postcss@8.4.49) + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.38) + postcss-modules-local-by-default: 4.2.0(postcss@8.4.38) + postcss-modules-scope: 3.2.1(postcss@8.4.38) + postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 - semver: 7.6.3 + semver: 7.7.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) css-loader@7.1.2(webpack@5.93.0): dependencies: - icss-utils: 5.1.0(postcss@8.4.49) - postcss: 8.4.49 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.49) - postcss-modules-local-by-default: 4.2.0(postcss@8.4.49) - postcss-modules-scope: 3.2.1(postcss@8.4.49) - postcss-modules-values: 4.0.0(postcss@8.4.49) + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.38) + postcss-modules-local-by-default: 4.2.0(postcss@8.4.38) + postcss-modules-scope: 3.2.1(postcss@8.4.38) + postcss-modules-values: 4.0.0(postcss@8.4.38) postcss-value-parser: 4.2.0 - semver: 7.6.3 + semver: 7.7.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) css-select@4.3.0: dependencies: @@ -15775,6 +16846,19 @@ snapshots: domutils: 2.8.0 nth-check: 2.1.1 + css-select@5.1.0: + dependencies: + boolbase: 1.0.0 + css-what: 6.1.0 + domhandler: 5.0.3 + domutils: 3.2.2 + nth-check: 2.1.1 + + css-tree@1.1.3: + dependencies: + mdn-data: 2.0.14 + source-map: 0.6.1 + css-what@6.1.0: {} css.escape@1.5.1: {} @@ -15836,7 +16920,7 @@ snapshots: process: 0.11.10 proxy-from-env: 1.0.0 request-progress: 3.0.0 - semver: 7.6.3 + semver: 7.7.0 supports-color: 8.1.1 tmp: 0.2.3 tree-kill: 1.2.2 @@ -15849,6 +16933,8 @@ snapshots: dependencies: assert-plus: 1.0.0 + data-uri-to-buffer@3.0.1: {} + data-urls@3.0.2: dependencies: abab: 2.0.6 @@ -15895,7 +16981,11 @@ snapshots: optionalDependencies: supports-color: 8.1.1 - decimal.js@10.4.3: {} + decamelize@1.2.0: {} + + decimal.js@10.5.0: {} + + decode-uri-component@0.2.2: {} dedent@0.7.0: {} @@ -15909,6 +16999,8 @@ snapshots: deep-is@0.1.4: {} + deepmerge@3.3.0: {} + deepmerge@4.3.1: {} default-browser-id@5.0.0: {} @@ -15960,8 +17052,6 @@ snapshots: delayed-stream@1.0.0: {} - denodeify@1.2.1: {} - depd@1.1.2: {} depd@2.0.0: {} @@ -16014,7 +17104,7 @@ snapshots: dom-helpers@5.2.1: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 csstype: 3.1.3 dom-serializer@1.4.1: @@ -16088,7 +17178,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.5.79: {} + electron-to-chromium@1.5.90: {} emittery@0.13.1: {} @@ -16156,7 +17246,7 @@ snapshots: data-view-byte-offset: 1.0.1 es-define-property: 1.0.1 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 es-set-tostringtag: 2.1.0 es-to-primitive: 1.3.0 function.prototype.name: 1.1.8 @@ -16225,7 +17315,7 @@ snapshots: es-module-lexer@1.6.0: {} - es-object-atoms@1.0.0: + es-object-atoms@1.1.1: dependencies: es-errors: 1.3.0 @@ -16316,13 +17406,13 @@ snapshots: eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) - eslint-config-airbnb@19.0.4(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.37.3(eslint@8.57.1))(eslint@8.57.1): + eslint-config-airbnb@19.0.4(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.37.4(eslint@8.57.1))(eslint@8.57.1): dependencies: eslint: 8.57.1 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) - eslint-plugin-react: 7.37.3(eslint@8.57.1) + eslint-plugin-react: 7.37.4(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) object.assign: 4.1.7 object.entries: 1.1.8 @@ -16337,7 +17427,7 @@ snapshots: eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) - eslint-plugin-react: 7.37.3(eslint@8.57.1) + eslint-plugin-react: 7.37.4(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) optionalDependencies: typescript: 5.4.5 @@ -16365,7 +17455,7 @@ snapshots: enhanced-resolve: 5.18.0 eslint: 8.57.1 fast-glob: 3.3.3 - get-tsconfig: 4.8.1 + get-tsconfig: 4.10.0 is-bun-module: 1.3.0 is-glob: 4.0.3 stable-hash: 0.0.4 @@ -16437,7 +17527,7 @@ snapshots: dependencies: eslint: 8.57.1 - eslint-plugin-react@7.37.3(eslint@8.57.1): + eslint-plugin-react@7.37.4(eslint@8.57.1): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 @@ -16491,7 +17581,7 @@ snapshots: '@humanwhocodes/config-array': 0.13.0 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.2.1 + '@ungap/structured-clone': 1.3.0 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 @@ -16625,45 +17715,112 @@ snapshots: jest-message-util: 29.7.0 jest-util: 29.7.0 - expo-asset@11.0.1(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + expo-asset@11.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): dependencies: - '@expo/image-utils': 0.6.3 - expo: 52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) - expo-constants: 17.0.3(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1)) + '@expo/image-utils': 0.6.4 + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) invariant: 2.2.4 md5-file: 3.2.3 react: 18.3.1 - react-native: 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) transitivePeerDependencies: - supports-color - expo-constants@17.0.3(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1)): + expo-asset@11.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): dependencies: - '@expo/config': 10.0.7 - '@expo/env': 0.4.0 - expo: 52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) - react-native: 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1) + '@expo/image-utils': 0.6.4 + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + invariant: 2.2.4 + md5-file: 3.2.3 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) transitivePeerDependencies: - supports-color - expo-file-system@18.0.6(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1)): + expo-constants@17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)): dependencies: - expo: 52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) - react-native: 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1) + '@expo/config': 10.0.8 + '@expo/env': 0.4.1 + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + transitivePeerDependencies: + - supports-color + + expo-constants@17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)): + dependencies: + '@expo/config': 10.0.8 + '@expo/env': 0.4.1 + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + transitivePeerDependencies: + - supports-color + + expo-file-system@18.0.8(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)): + dependencies: + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + web-streams-polyfill: 3.3.3 + + expo-file-system@18.0.8(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)): + dependencies: + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) web-streams-polyfill: 3.3.3 - expo-font@13.0.2(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1): + expo-font@13.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1): dependencies: - expo: 52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) fontfaceobserver: 2.3.0 react: 18.3.1 - expo-keep-awake@14.0.1(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1): + expo-font@13.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1): + dependencies: + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + fontfaceobserver: 2.3.0 + react: 18.3.1 + + expo-image-loader@5.0.0(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)): + dependencies: + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + + expo-image-picker@16.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)): + dependencies: + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo-image-loader: 5.0.0(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) + + expo-keep-awake@14.0.2(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1): + dependencies: + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react: 18.3.1 + + expo-keep-awake@14.0.2(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1): dependencies: - expo: 52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) react: 18.3.1 - expo-modules-autolinking@2.0.4: + expo-linking@7.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + invariant: 2.2.4 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + transitivePeerDependencies: + - expo + - supports-color + + expo-linking@7.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + invariant: 2.2.4 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + transitivePeerDependencies: + - expo + - supports-color + + expo-modules-autolinking@2.0.7: dependencies: '@expo/spawn-async': 1.7.2 chalk: 4.1.2 @@ -16674,36 +17831,135 @@ snapshots: require-from-string: 2.0.2 resolve-from: 5.0.0 - expo-modules-core@2.1.2: + expo-modules-core@2.2.0: dependencies: invariant: 2.2.4 - expo-secure-store@14.0.0(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)): + expo-router@4.0.17(c4log3y7thytwjue35umqzwa3y): dependencies: - expo: 52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@expo/metro-runtime': 4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + '@expo/server': 0.5.1(typescript@5.4.5) + '@radix-ui/react-slot': 1.0.1(react@18.3.1) + '@react-navigation/bottom-tabs': 7.2.0(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-screens@4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native': 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native-stack': 7.2.0(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-screens@4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + client-only: 0.0.1 + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + expo-linking: 7.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-helmet-async: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-native-helmet-async: 2.0.4(react@18.3.1) + react-native-is-edge-to-edge: 1.1.6(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-screens: 4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + schema-utils: 4.3.0 + semver: 7.6.3 + server-only: 0.0.1 + optionalDependencies: + '@react-navigation/drawer': 7.1.1(czhcleus3n2dpklc3jueuishla) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + transitivePeerDependencies: + - '@react-native-masked-view/masked-view' + - react + - react-dom + - react-native + - supports-color + - typescript - expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + expo-router@4.0.17(h6bmitmr6bi5wwxdmjsyclx5wa): dependencies: - '@babel/runtime': 7.26.0 - '@expo/cli': 0.22.8(graphql@16.8.1) - '@expo/config': 10.0.7 - '@expo/config-plugins': 9.0.13 - '@expo/fingerprint': 0.11.6 - '@expo/metro-config': 0.19.8 + '@expo/metro-runtime': 4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + '@expo/server': 0.5.1(typescript@5.4.5) + '@radix-ui/react-slot': 1.0.1(react@18.3.1) + '@react-navigation/bottom-tabs': 7.2.0(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-screens@4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native': 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-navigation/native-stack': 7.2.0(@react-navigation/native@7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-screens@4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + client-only: 0.0.1 + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + expo-linking: 7.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-helmet-async: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-native-helmet-async: 2.0.4(react@18.3.1) + react-native-is-edge-to-edge: 1.1.6(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-screens: 4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + schema-utils: 4.3.0 + semver: 7.6.3 + server-only: 0.0.1 + optionalDependencies: + '@react-navigation/drawer': 7.1.1(spdwnyxuaxm5ofzxwman2mtlfu) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + transitivePeerDependencies: + - '@react-native-masked-view/masked-view' + - react + - react-dom + - react-native + - supports-color + - typescript + + expo-secure-store@14.0.1(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)): + dependencies: + expo: 52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + + expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + '@babel/runtime': 7.26.7 + '@expo/cli': 0.22.11(graphql@16.8.1) + '@expo/config': 10.0.8 + '@expo/config-plugins': 9.0.14 + '@expo/fingerprint': 0.11.7 + '@expo/metro-config': 0.19.9 '@expo/vector-icons': 14.0.4 - babel-preset-expo: 12.0.5(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0)) - expo-asset: 11.0.1(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) - expo-constants: 17.0.3(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1)) - expo-file-system: 18.0.6(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1)) - expo-font: 13.0.2(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1) - expo-keep-awake: 14.0.1(expo@52.0.24(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1) - expo-modules-autolinking: 2.0.4 - expo-modules-core: 2.1.2 + babel-preset-expo: 12.0.6(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7)) + expo-asset: 11.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + expo-file-system: 18.0.8(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + expo-font: 13.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1) + expo-keep-awake: 14.0.2(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1) + expo-modules-autolinking: 2.0.7 + expo-modules-core: 2.2.0 fbemitter: 3.0.0 react: 18.3.1 - react-native: 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) web-streams-polyfill: 3.3.3 whatwg-url-without-unicode: 8.0.0-3 + optionalDependencies: + '@expo/metro-runtime': 4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + transitivePeerDependencies: + - '@babel/core' + - '@babel/preset-env' + - babel-plugin-react-compiler + - bufferutil + - encoding + - graphql + - react-compiler-runtime + - supports-color + - utf-8-validate + + expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + '@babel/runtime': 7.26.7 + '@expo/cli': 0.22.11(graphql@16.8.1) + '@expo/config': 10.0.8 + '@expo/config-plugins': 9.0.14 + '@expo/fingerprint': 0.11.7 + '@expo/metro-config': 0.19.9 + '@expo/vector-icons': 14.0.4 + babel-preset-expo: 12.0.6(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7)) + expo-asset: 11.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + expo-constants: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + expo-file-system: 18.0.8(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) + expo-font: 13.0.3(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1) + expo-keep-awake: 14.0.2(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react@18.3.1) + expo-modules-autolinking: 2.0.7 + expo-modules-core: 2.2.0 + fbemitter: 3.0.0 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + web-streams-polyfill: 3.3.3 + whatwg-url-without-unicode: 8.0.0-3 + optionalDependencies: + '@expo/metro-runtime': 4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' @@ -16791,11 +18047,11 @@ snapshots: fast-levenshtein@2.0.6: {} - fast-uri@3.0.5: {} + fast-uri@3.0.6: {} fastest-levenshtein@1.0.16: {} - fastq@1.18.0: + fastq@1.19.0: dependencies: reusify: 1.0.4 @@ -16831,6 +18087,10 @@ snapshots: dependencies: pend: 1.2.0 + fdir@6.4.3(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + fetch-retry@4.1.1: {} figures@3.2.0: @@ -16851,6 +18111,8 @@ snapshots: dependencies: to-regex-range: 5.0.1 + filter-obj@1.1.0: {} + finalhandler@1.1.2: dependencies: debug: 2.6.9 @@ -16925,13 +18187,13 @@ snapshots: flow-enums-runtime@0.0.6: {} - flow-parser@0.258.1: {} + flow-parser@0.259.1: {} follow-redirects@1.15.9: {} fontfaceobserver@2.3.0: {} - for-each@0.3.3: + for-each@0.3.4: dependencies: is-callable: 1.2.7 @@ -16942,7 +18204,7 @@ snapshots: forever-agent@0.6.1: {} - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: '@babel/code-frame': 7.26.2 chalk: 4.1.2 @@ -16954,10 +18216,10 @@ snapshots: minimatch: 3.1.2 node-abort-controller: 3.1.1 schema-utils: 3.3.0 - semver: 7.6.3 + semver: 7.7.0 tapable: 2.2.1 typescript: 5.4.5 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) fork-ts-checker-webpack-plugin@8.0.0(typescript@5.4.5)(webpack@5.93.0): dependencies: @@ -16971,10 +18233,10 @@ snapshots: minimatch: 3.1.2 node-abort-controller: 3.1.1 schema-utils: 3.3.0 - semver: 7.6.3 + semver: 7.7.0 tapable: 2.2.1 typescript: 5.4.5 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) form-data@3.0.2: dependencies: @@ -16992,10 +18254,10 @@ snapshots: fraction.js@4.3.7: {} - framer-motion@11.16.4(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + framer-motion@11.18.2(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - motion-dom: 11.16.4 - motion-utils: 11.16.0 + motion-dom: 11.18.1 + motion-utils: 11.18.1 tslib: 2.8.1 optionalDependencies: '@emotion/is-prop-valid': 1.3.1 @@ -17048,6 +18310,8 @@ snapshots: fs-monkey@1.0.6: {} + fs-readdir-recursive@1.1.0: {} + fs.realpath@1.0.0: {} fsevents@2.3.3: @@ -17084,7 +18348,7 @@ snapshots: call-bind-apply-helpers: 1.0.1 es-define-property: 1.0.1 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 function-bind: 1.1.2 get-proto: 1.0.1 gopd: 1.2.0 @@ -17101,7 +18365,7 @@ snapshots: get-proto@1.0.1: dependencies: dunder-proto: 1.0.1 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 get-stream@4.1.0: dependencies: @@ -17119,7 +18383,7 @@ snapshots: es-errors: 1.3.0 get-intrinsic: 1.2.7 - get-tsconfig@4.8.1: + get-tsconfig@4.10.0: dependencies: resolve-pkg-maps: 1.0.0 @@ -17244,18 +18508,12 @@ snapshots: hermes-estree@0.23.1: {} - hermes-estree@0.24.0: {} - hermes-estree@0.25.1: {} hermes-parser@0.23.1: dependencies: hermes-estree: 0.23.1 - hermes-parser@0.24.0: - dependencies: - hermes-estree: 0.24.0 - hermes-parser@0.25.1: dependencies: hermes-estree: 0.25.1 @@ -17314,9 +18572,9 @@ snapshots: pretty-error: 2.1.2 tapable: 1.1.3 util.promisify: 1.0.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) - html-webpack-plugin@5.6.0(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + html-webpack-plugin@5.6.0(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -17324,7 +18582,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) html-webpack-plugin@5.6.0(webpack@5.93.0): dependencies: @@ -17334,15 +18592,15 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) - htmlnano@2.1.1(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5): + htmlnano@2.1.1(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5): dependencies: cosmiconfig: 9.0.0(typescript@5.4.5) posthtml: 0.16.6 timsort: 0.3.0 optionalDependencies: - postcss: 8.4.49 + postcss: 8.4.38 relateurl: 0.2.7 terser: 5.37.0 transitivePeerDependencies: @@ -17386,7 +18644,7 @@ snapshots: statuses: 2.0.1 toidentifier: 1.0.1 - http-parser-js@0.5.8: {} + http-parser-js@0.5.9: {} http-proxy-agent@5.0.0: dependencies: @@ -17451,9 +18709,9 @@ snapshots: dependencies: safer-buffer: 2.1.2 - icss-utils@5.1.0(postcss@8.4.49): + icss-utils@5.1.0(postcss@8.4.38): dependencies: - postcss: 8.4.49 + postcss: 8.4.38 ieee754@1.2.1: {} @@ -17468,7 +18726,7 @@ snapshots: caller-path: 2.0.0 resolve-from: 3.0.0 - import-fresh@3.3.0: + import-fresh@3.3.1: dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 @@ -17531,11 +18789,11 @@ snapshots: is-arrayish@0.2.1: {} - is-arrayish@0.3.2: - optional: true + is-arrayish@0.3.2: {} - is-async-function@2.1.0: + is-async-function@2.1.1: dependencies: + async-function: 1.0.0 call-bound: 1.0.3 get-proto: 1.0.1 has-tostringtag: 1.0.2 @@ -17560,7 +18818,7 @@ snapshots: is-bun-module@1.3.0: dependencies: - semver: 7.6.3 + semver: 7.7.0 is-callable@1.2.7: {} @@ -17725,8 +18983,8 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: - '@babel/core': 7.26.0 - '@babel/parser': 7.26.3 + '@babel/core': 7.26.7 + '@babel/parser': 7.26.7 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -17735,11 +18993,11 @@ snapshots: istanbul-lib-instrument@6.0.3: dependencies: - '@babel/core': 7.26.0 - '@babel/parser': 7.26.3 + '@babel/core': 7.26.7 + '@babel/parser': 7.26.7 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - supports-color @@ -17767,7 +19025,7 @@ snapshots: iterator.prototype@1.1.5: dependencies: define-data-property: 1.1.4 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 get-intrinsic: 1.2.7 get-proto: 1.0.1 has-symbols: 1.1.0 @@ -17793,7 +19051,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3(babel-plugin-macros@3.1.0) @@ -17813,16 +19071,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)): + jest-cli@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + create-jest: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) + jest-config: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -17832,93 +19090,12 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): - dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) - exit: 0.1.2 - import-local: 3.2.0 - jest-config: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) - jest-util: 29.7.0 - jest-validate: 29.7.0 - yargs: 17.7.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - - jest-config@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)): - dependencies: - '@babel/core': 7.26.0 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.26.0) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0(babel-plugin-macros@3.1.0) - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.8 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - optionalDependencies: - '@types/node': 22.10.5 - ts-node: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5) - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - jest-config@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): + jest-config@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.26.0) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0(babel-plugin-macros@3.1.0) - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.8 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - optionalDependencies: - '@types/node': 22.10.5 - ts-node: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - jest-config@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): - dependencies: - '@babel/core': 7.26.0 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.26.0) + babel-jest: 29.7.0(@babel/core@7.26.7) chalk: 4.1.2 ci-info: 3.9.0 deepmerge: 4.3.1 @@ -17939,7 +19116,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 22.7.2 - ts-node: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) + ts-node: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -17969,7 +19146,7 @@ snapshots: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 22.10.5 + '@types/node': 22.7.2 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -17983,7 +19160,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -17993,7 +19170,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 22.10.5 + '@types/node': 22.7.2 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -18032,7 +19209,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 jest-util: 29.7.0 jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): @@ -18067,7 +19244,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -18095,9 +19272,9 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 chalk: 4.1.2 - cjs-module-lexer: 1.4.1 + cjs-module-lexer: 1.4.3 collect-v8-coverage: 1.0.2 glob: 7.2.3 graceful-fs: 4.2.11 @@ -18115,15 +19292,15 @@ snapshots: jest-snapshot@29.7.0: dependencies: - '@babel/core': 7.26.0 - '@babel/generator': 7.26.3 - '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.0) - '@babel/types': 7.26.3 + '@babel/core': 7.26.7 + '@babel/generator': 7.26.5 + '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.7) + '@babel/types': 7.26.7 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.0) + babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.7) chalk: 4.1.2 expect: 29.7.0 graceful-fs: 4.2.11 @@ -18134,14 +19311,14 @@ snapshots: jest-util: 29.7.0 natural-compare: 1.4.0 pretty-format: 29.7.0 - semver: 7.6.3 + semver: 7.7.0 transitivePeerDependencies: - supports-color jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -18160,7 +19337,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.5 + '@types/node': 22.7.2 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -18169,35 +19346,23 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 22.10.5 - merge-stream: 2.0.0 - supports-color: 8.1.1 - - jest-worker@29.7.0: - dependencies: - '@types/node': 22.10.5 - jest-util: 29.7.0 + '@types/node': 22.7.2 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)): - dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) - '@jest/types': 29.6.3 - import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node + jest-worker@29.7.0: + dependencies: + '@types/node': 22.7.2 + jest-util: 29.7.0 + merge-stream: 2.0.0 + supports-color: 8.1.1 - jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): + jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + jest-cli: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -18215,6 +19380,8 @@ snapshots: '@types/react': 18.3.3 react: 18.3.1 + joycon@3.1.1: {} + js-cookie@3.0.5: {} js-tokens@4.0.0: {} @@ -18234,21 +19401,21 @@ snapshots: jsc-safe-url@0.2.4: {} - jscodeshift@0.14.0(@babel/preset-env@7.26.0(@babel/core@7.26.0)): - dependencies: - '@babel/core': 7.26.0 - '@babel/parser': 7.26.3 - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.26.0) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.26.0) - '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.26.0) - '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) - '@babel/preset-env': 7.26.0(@babel/core@7.26.0) - '@babel/preset-flow': 7.25.9(@babel/core@7.26.0) - '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) - '@babel/register': 7.25.9(@babel/core@7.26.0) - babel-core: 7.0.0-bridge.0(@babel/core@7.26.0) + jscodeshift@0.14.0(@babel/preset-env@7.26.0(@babel/core@7.26.7)): + dependencies: + '@babel/core': 7.26.7 + '@babel/parser': 7.26.7 + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.26.7) + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.26.7) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.26.7) + '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.7) + '@babel/preset-env': 7.26.0(@babel/core@7.26.7) + '@babel/preset-flow': 7.25.9(@babel/core@7.26.7) + '@babel/preset-typescript': 7.26.0(@babel/core@7.26.7) + '@babel/register': 7.25.9(@babel/core@7.26.7) + babel-core: 7.0.0-bridge.0(@babel/core@7.26.7) chalk: 4.1.2 - flow-parser: 0.258.1 + flow-parser: 0.259.1 graceful-fs: 4.2.11 micromatch: 4.0.8 neo-async: 2.6.2 @@ -18269,7 +19436,7 @@ snapshots: cssom: 0.5.0 cssstyle: 2.3.0 data-urls: 3.0.2 - decimal.js: 10.4.3 + decimal.js: 10.5.0 domexception: 4.0.0 escodegen: 2.1.0 form-data: 4.0.1 @@ -18534,6 +19701,8 @@ snapshots: '@lmdb/lmdb-linux-x64': 2.8.5 '@lmdb/lmdb-win32-x64': 2.8.5 + load-tsconfig@0.2.5: {} + loader-runner@4.3.0: {} loader-utils@1.4.2: @@ -18573,6 +19742,8 @@ snapshots: lodash.once@4.1.1: {} + lodash.sortby@4.7.0: {} + lodash.startcase@4.4.0: {} lodash.throttle@4.1.1: {} @@ -18607,7 +19778,7 @@ snapshots: dependencies: js-tokens: 4.0.0 - loupe@3.1.2: {} + loupe@3.1.3: {} lower-case@2.0.2: dependencies: @@ -18638,7 +19809,7 @@ snapshots: make-dir@4.0.0: dependencies: - semver: 7.6.3 + semver: 7.7.0 make-error@1.3.6: {} @@ -18662,13 +19833,15 @@ snapshots: crypt: 0.0.2 is-buffer: 1.1.6 + mdn-data@2.0.14: {} + media-typer@0.3.0: {} memfs@3.5.3: dependencies: fs-monkey: 1.0.6 - memfs@4.15.3: + memfs@4.17.0: dependencies: '@jsonjoy.com/json-pack': 1.1.1(tslib@2.8.1) '@jsonjoy.com/util': 1.5.0(tslib@2.8.1) @@ -18689,49 +19862,48 @@ snapshots: methods@1.1.2: {} - metro-babel-transformer@0.81.0: + metro-babel-transformer@0.81.1: dependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 flow-enums-runtime: 0.0.6 - hermes-parser: 0.24.0 + hermes-parser: 0.25.1 nullthrows: 1.1.1 transitivePeerDependencies: - supports-color - metro-cache-key@0.81.0: + metro-cache-key@0.81.1: dependencies: flow-enums-runtime: 0.0.6 - metro-cache@0.81.0: + metro-cache@0.81.1: dependencies: exponential-backoff: 3.1.1 flow-enums-runtime: 0.0.6 - metro-core: 0.81.0 + metro-core: 0.81.1 - metro-config@0.81.0: + metro-config@0.81.1: dependencies: connect: 3.7.0 cosmiconfig: 5.2.1 flow-enums-runtime: 0.0.6 jest-validate: 29.7.0 - metro: 0.81.0 - metro-cache: 0.81.0 - metro-core: 0.81.0 - metro-runtime: 0.81.0 + metro: 0.81.1 + metro-cache: 0.81.1 + metro-core: 0.81.1 + metro-runtime: 0.81.1 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - metro-core@0.81.0: + metro-core@0.81.1: dependencies: flow-enums-runtime: 0.0.6 lodash.throttle: 4.1.1 - metro-resolver: 0.81.0 + metro-resolver: 0.81.1 - metro-file-map@0.81.0: + metro-file-map@0.81.1: dependencies: - anymatch: 3.1.3 debug: 2.6.9 fb-watchman: 2.0.2 flow-enums-runtime: 0.0.6 @@ -18739,127 +19911,121 @@ snapshots: invariant: 2.2.4 jest-worker: 29.7.0 micromatch: 4.0.8 - node-abort-controller: 3.1.1 nullthrows: 1.1.1 walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.3 transitivePeerDependencies: - supports-color - metro-minify-terser@0.81.0: + metro-minify-terser@0.81.1: dependencies: flow-enums-runtime: 0.0.6 terser: 5.37.0 - metro-resolver@0.81.0: + metro-resolver@0.81.1: dependencies: flow-enums-runtime: 0.0.6 - metro-runtime@0.81.0: + metro-runtime@0.81.1: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 flow-enums-runtime: 0.0.6 - metro-source-map@0.81.0: + metro-source-map@0.81.1: dependencies: - '@babel/traverse': 7.26.4 - '@babel/traverse--for-generate-function-map': '@babel/traverse@7.26.4' - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.7 + '@babel/traverse--for-generate-function-map': '@babel/traverse@7.26.7' + '@babel/types': 7.26.7 flow-enums-runtime: 0.0.6 invariant: 2.2.4 - metro-symbolicate: 0.81.0 + metro-symbolicate: 0.81.1 nullthrows: 1.1.1 - ob1: 0.81.0 + ob1: 0.81.1 source-map: 0.5.7 vlq: 1.0.1 transitivePeerDependencies: - supports-color - metro-symbolicate@0.81.0: + metro-symbolicate@0.81.1: dependencies: flow-enums-runtime: 0.0.6 invariant: 2.2.4 - metro-source-map: 0.81.0 + metro-source-map: 0.81.1 nullthrows: 1.1.1 source-map: 0.5.7 - through2: 2.0.5 vlq: 1.0.1 transitivePeerDependencies: - supports-color - metro-transform-plugins@0.81.0: + metro-transform-plugins@0.81.1: dependencies: - '@babel/core': 7.26.0 - '@babel/generator': 7.26.3 + '@babel/core': 7.26.7 + '@babel/generator': 7.26.5 '@babel/template': 7.25.9 - '@babel/traverse': 7.26.4 + '@babel/traverse': 7.26.7 flow-enums-runtime: 0.0.6 nullthrows: 1.1.1 transitivePeerDependencies: - supports-color - metro-transform-worker@0.81.0: + metro-transform-worker@0.81.1: dependencies: - '@babel/core': 7.26.0 - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 - '@babel/types': 7.26.3 + '@babel/core': 7.26.7 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.7 + '@babel/types': 7.26.7 flow-enums-runtime: 0.0.6 - metro: 0.81.0 - metro-babel-transformer: 0.81.0 - metro-cache: 0.81.0 - metro-cache-key: 0.81.0 - metro-minify-terser: 0.81.0 - metro-source-map: 0.81.0 - metro-transform-plugins: 0.81.0 + metro: 0.81.1 + metro-babel-transformer: 0.81.1 + metro-cache: 0.81.1 + metro-cache-key: 0.81.1 + metro-minify-terser: 0.81.1 + metro-source-map: 0.81.1 + metro-transform-plugins: 0.81.1 nullthrows: 1.1.1 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - metro@0.81.0: + metro@0.81.1: dependencies: '@babel/code-frame': 7.26.2 - '@babel/core': 7.26.0 - '@babel/generator': 7.26.3 - '@babel/parser': 7.26.3 + '@babel/core': 7.26.7 + '@babel/generator': 7.26.5 + '@babel/parser': 7.26.7 '@babel/template': 7.25.9 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/traverse': 7.26.7 + '@babel/types': 7.26.7 accepts: 1.3.8 chalk: 4.1.2 ci-info: 2.0.0 connect: 3.7.0 debug: 2.6.9 - denodeify: 1.2.1 error-stack-parser: 2.1.4 flow-enums-runtime: 0.0.6 graceful-fs: 4.2.11 - hermes-parser: 0.24.0 + hermes-parser: 0.25.1 image-size: 1.2.0 invariant: 2.2.4 jest-worker: 29.7.0 jsc-safe-url: 0.2.4 lodash.throttle: 4.1.1 - metro-babel-transformer: 0.81.0 - metro-cache: 0.81.0 - metro-cache-key: 0.81.0 - metro-config: 0.81.0 - metro-core: 0.81.0 - metro-file-map: 0.81.0 - metro-resolver: 0.81.0 - metro-runtime: 0.81.0 - metro-source-map: 0.81.0 - metro-symbolicate: 0.81.0 - metro-transform-plugins: 0.81.0 - metro-transform-worker: 0.81.0 + metro-babel-transformer: 0.81.1 + metro-cache: 0.81.1 + metro-cache-key: 0.81.1 + metro-config: 0.81.1 + metro-core: 0.81.1 + metro-file-map: 0.81.1 + metro-resolver: 0.81.1 + metro-runtime: 0.81.1 + metro-source-map: 0.81.1 + metro-symbolicate: 0.81.1 + metro-transform-plugins: 0.81.1 + metro-transform-worker: 0.81.1 mime-types: 2.1.35 nullthrows: 1.1.1 serialize-error: 2.1.0 source-map: 0.5.7 - strip-ansi: 6.0.1 throat: 5.0.0 ws: 7.5.10 yargs: 17.7.2 @@ -18939,14 +20105,16 @@ snapshots: mkdirp@1.0.4: {} - motion-dom@11.16.4: + motion-dom@11.18.1: dependencies: - motion-utils: 11.16.0 + motion-utils: 11.18.1 - motion-utils@11.16.0: {} + motion-utils@11.18.1: {} mri@1.2.0: {} + mrmime@1.0.1: {} + ms@2.0.0: {} ms@2.1.2: {} @@ -18969,18 +20137,18 @@ snapshots: optionalDependencies: msgpackr-extract: 3.0.3 - msw-storybook-addon@2.0.4(msw@2.6.6(@types/node@22.10.5)(typescript@5.4.5)): + msw-storybook-addon@2.0.4(msw@2.6.6(@types/node@22.7.2)(typescript@5.4.5)): dependencies: is-node-process: 1.2.0 - msw: 2.6.6(@types/node@22.10.5)(typescript@5.4.5) + msw: 2.6.6(@types/node@22.7.2)(typescript@5.4.5) - msw@2.6.6(@types/node@22.10.5)(typescript@5.4.5): + msw@2.6.6(@types/node@22.7.2)(typescript@5.4.5): dependencies: '@bundled-es-modules/cookie': 2.0.1 '@bundled-es-modules/statuses': 1.0.1 '@bundled-es-modules/tough-cookie': 0.1.6 - '@inquirer/confirm': 5.1.1(@types/node@22.10.5) - '@mswjs/interceptors': 0.37.5 + '@inquirer/confirm': 5.1.5(@types/node@22.7.2) + '@mswjs/interceptors': 0.37.6 '@open-draft/deferred-promise': 2.2.0 '@open-draft/until': 2.1.0 '@types/cookie': 0.6.0 @@ -18992,7 +20160,7 @@ snapshots: outvariant: 1.4.3 path-to-regexp: 6.3.0 strict-event-emitter: 0.5.1 - type-fest: 4.32.0 + type-fest: 4.33.0 yargs: 17.7.2 optionalDependencies: typescript: 5.4.5 @@ -19026,17 +20194,17 @@ snapshots: nested-error-stacks@2.0.1: {} - next@14.3.0-canary.24(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 14.3.0-canary.24 '@swc/helpers': 0.5.10 busboy: 1.6.0 - caniuse-lite: 1.0.30001692 + caniuse-lite: 1.0.30001696 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@18.3.1) + styled-jsx: 5.1.1(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react@18.3.1) optionalDependencies: '@next/swc-darwin-arm64': 14.3.0-canary.24 '@next/swc-darwin-x64': 14.3.0-canary.24 @@ -19096,7 +20264,7 @@ snapshots: dependencies: hosted-git-info: 7.0.2 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.7.0 validate-npm-package-name: 5.0.1 npm-run-path@2.0.2: @@ -19123,7 +20291,7 @@ snapshots: nwsapi@2.2.16: {} - ob1@0.81.0: + ob1@0.81.1: dependencies: flow-enums-runtime: 0.0.6 @@ -19140,7 +20308,7 @@ snapshots: call-bind: 1.0.8 call-bound: 1.0.3 define-properties: 1.2.1 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 has-symbols: 1.1.0 object-keys: 1.1.1 @@ -19148,14 +20316,14 @@ snapshots: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 object.fromentries@2.0.8: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.9 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 object.getownpropertydescriptors@2.1.8: dependencies: @@ -19163,7 +20331,7 @@ snapshots: call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.9 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 gopd: 1.2.0 safe-array-concat: 1.1.3 @@ -19178,7 +20346,7 @@ snapshots: call-bind: 1.0.8 call-bound: 1.0.3 define-properties: 1.2.1 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 objectorarray@1.0.5: {} @@ -19317,16 +20485,16 @@ snapshots: package-json-from-dist@1.0.1: {} - package-manager-detector@0.2.8: {} + package-manager-detector@0.2.9: {} param-case@3.0.4: dependencies: dot-case: 3.0.4 tslib: 2.8.1 - parcel@2.13.3(@swc/helpers@0.5.15)(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5): + parcel@2.13.3(@swc/helpers@0.5.15)(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5): dependencies: - '@parcel/config-default': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(postcss@8.4.49)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) + '@parcel/config-default': 2.13.3(@parcel/core@2.13.3(@swc/helpers@0.5.15))(@swc/helpers@0.5.15)(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) '@parcel/core': 2.13.3(@swc/helpers@0.5.15) '@parcel/diagnostic': 2.13.3 '@parcel/events': 2.13.3 @@ -19430,6 +20598,8 @@ snapshots: picomatch@3.0.1: {} + picomatch@4.0.2: {} + pidtree@0.6.0: {} pify@2.3.0: {} @@ -19460,38 +20630,46 @@ snapshots: polished@4.3.1: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 possible-typed-array-names@1.0.0: {} - postcss-import@15.1.0(postcss@8.4.49): + postcss-import@15.1.0(postcss@8.4.38): dependencies: - postcss: 8.4.49 + postcss: 8.4.38 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.10 - postcss-js@4.0.1(postcss@8.4.49): + postcss-js@4.0.1(postcss@8.4.38): dependencies: camelcase-css: 2.0.1 - postcss: 8.4.49 + postcss: 8.4.38 - postcss-load-config@4.0.2(postcss@8.4.49)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)): + postcss-load-config@4.0.2(postcss@8.4.38)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): dependencies: lilconfig: 3.1.3 yaml: 2.7.0 optionalDependencies: - postcss: 8.4.49 - ts-node: 10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5) + postcss: 8.4.38 + ts-node: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) + + postcss-load-config@6.0.1(jiti@1.21.7)(postcss@8.4.38)(yaml@2.7.0): + dependencies: + lilconfig: 3.1.3 + optionalDependencies: + jiti: 1.21.7 + postcss: 8.4.38 + yaml: 2.7.0 - postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + postcss-loader@8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.7 postcss: 8.4.38 - semver: 7.6.3 + semver: 7.7.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) transitivePeerDependencies: - typescript @@ -19500,36 +20678,36 @@ snapshots: cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.7 postcss: 8.4.38 - semver: 7.6.3 + semver: 7.7.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) transitivePeerDependencies: - typescript - postcss-modules-extract-imports@3.1.0(postcss@8.4.49): + postcss-modules-extract-imports@3.1.0(postcss@8.4.38): dependencies: - postcss: 8.4.49 + postcss: 8.4.38 - postcss-modules-local-by-default@4.2.0(postcss@8.4.49): + postcss-modules-local-by-default@4.2.0(postcss@8.4.38): dependencies: - icss-utils: 5.1.0(postcss@8.4.49) - postcss: 8.4.49 + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 postcss-selector-parser: 7.0.0 postcss-value-parser: 4.2.0 - postcss-modules-scope@3.2.1(postcss@8.4.49): + postcss-modules-scope@3.2.1(postcss@8.4.38): dependencies: - postcss: 8.4.49 + postcss: 8.4.38 postcss-selector-parser: 7.0.0 - postcss-modules-values@4.0.0(postcss@8.4.49): + postcss-modules-values@4.0.0(postcss@8.4.38): dependencies: - icss-utils: 5.1.0(postcss@8.4.49) - postcss: 8.4.49 + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 - postcss-nested@6.2.0(postcss@8.4.49): + postcss-nested@6.2.0(postcss@8.4.38): dependencies: - postcss: 8.4.49 + postcss: 8.4.38 postcss-selector-parser: 6.1.2 postcss-selector-parser@6.0.10: @@ -19561,12 +20739,6 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 - postcss@8.4.49: - dependencies: - nanoid: 3.3.8 - picocolors: 1.1.1 - source-map-js: 1.2.1 - posthtml-parser@0.11.0: dependencies: htmlparser2: 7.2.0 @@ -19586,7 +20758,7 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-tailwindcss@0.6.9(@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.4.2))(prettier@3.4.2): + prettier-plugin-tailwindcss@0.6.11(@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.4.2))(prettier@3.4.2): dependencies: prettier: 3.4.2 optionalDependencies: @@ -19681,6 +20853,17 @@ snapshots: dependencies: side-channel: 1.1.0 + qs@6.14.0: + dependencies: + side-channel: 1.1.0 + + query-string@7.1.3: + dependencies: + decode-uri-component: 0.2.2 + filter-obj: 1.1.0 + split-on-first: 1.1.0 + strict-uri-encode: 2.0.0 + querystringify@2.2.0: {} queue-microtask@1.2.3: {} @@ -19726,11 +20909,11 @@ snapshots: dependencies: typescript: 5.4.5 - react-docgen@7.1.0: + react-docgen@7.1.1: dependencies: - '@babel/core': 7.26.0 - '@babel/traverse': 7.26.4 - '@babel/types': 7.26.3 + '@babel/core': 7.26.7 + '@babel/traverse': 7.26.7 + '@babel/types': 7.26.7 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 '@types/doctrine': 0.0.9 @@ -19756,6 +20939,22 @@ snapshots: react-error-overlay@6.0.9: {} + react-fast-compare@3.2.2: {} + + react-freeze@1.0.4(react@18.3.1): + dependencies: + react: 18.3.1 + + react-helmet-async@1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + '@babel/runtime': 7.26.7 + invariant: 2.2.4 + prop-types: 15.8.1 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-fast-compare: 3.2.2 + shallowequal: 1.1.0 + react-hook-form@7.51.5(react@18.3.1): dependencies: react: 18.3.1 @@ -19774,20 +20973,120 @@ snapshots: lodash.throttle: 4.1.1 react: 18.3.1 - react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1): + react-native-drawer-layout@4.1.1(react-native-gesture-handler@2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-gesture-handler: 2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + use-latest-callback: 0.2.3(react@18.3.1) + optional: true + + react-native-drawer-layout@4.1.1(react-native-gesture-handler@2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-gesture-handler: 2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-reanimated: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + use-latest-callback: 0.2.3(react@18.3.1) + + react-native-gesture-handler@2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + '@egjs/hammerjs': 2.0.17 + hoist-non-react-statics: 3.3.2 + invariant: 2.2.4 + prop-types: 15.8.1 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + + react-native-gesture-handler@2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + '@egjs/hammerjs': 2.0.17 + hoist-non-react-statics: 3.3.2 + invariant: 2.2.4 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + + react-native-helmet-async@2.0.4(react@18.3.1): + dependencies: + invariant: 2.2.4 + react: 18.3.1 + react-fast-compare: 3.2.2 + shallowequal: 1.1.0 + + react-native-is-edge-to-edge@1.1.6(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + + react-native-paper@5.13.1(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-vector-icons@10.2.0)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + '@callstack/react-theme-provider': 3.0.9(react@18.3.1) + color: 3.2.1 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + react-native-safe-area-context: 5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + react-native-vector-icons: 10.2.0 + use-latest-callback: 0.1.11(react@18.3.1) + + react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + '@babel/core': 7.26.7 + '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.26.6(@babel/core@7.26.7) + '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-template-literals': 7.25.9(@babel/core@7.26.7) + '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.7) + '@babel/preset-typescript': 7.26.0(@babel/core@7.26.7) + convert-source-map: 2.0.0 + invariant: 2.2.4 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + transitivePeerDependencies: + - supports-color + + react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + + react-native-screens@4.6.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + react: 18.3.1 + react-freeze: 1.0.4(react@18.3.1) + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + warn-once: 0.1.1 + + react-native-svg@15.11.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1): + dependencies: + css-select: 5.1.0 + css-tree: 1.1.3 + react: 18.3.1 + react-native: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) + warn-once: 0.1.1 + + react-native-vector-icons@10.2.0: + dependencies: + prop-types: 15.8.1 + yargs: 16.2.0 + + react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1): dependencies: '@jest/create-cache-key-function': 29.7.0 '@react-native/assets-registry': 0.76.3 - '@react-native/codegen': 0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.0)) - '@react-native/community-cli-plugin': 0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0)) + '@react-native/codegen': 0.76.3(@babel/preset-env@7.26.0(@babel/core@7.26.7)) + '@react-native/community-cli-plugin': 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7)) '@react-native/gradle-plugin': 0.76.3 '@react-native/js-polyfills': 0.76.3 '@react-native/normalize-colors': 0.76.3 - '@react-native/virtualized-lists': 0.76.3(@types/react@18.3.3)(react-native@0.76.3(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) + '@react-native/virtualized-lists': 0.76.3(@types/react@18.3.3)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 - babel-jest: 29.7.0(@babel/core@7.26.0) + babel-jest: 29.7.0(@babel/core@7.26.7) babel-plugin-syntax-hermes-parser: 0.23.1 base64-js: 1.5.1 chalk: 4.1.2 @@ -19799,8 +21098,8 @@ snapshots: jest-environment-node: 29.7.0 jsc-android: 250231.0.0 memoize-one: 5.2.1 - metro-runtime: 0.81.0 - metro-source-map: 0.81.0 + metro-runtime: 0.81.1 + metro-source-map: 0.81.1 mkdirp: 0.5.6 nullthrows: 1.1.1 pretty-format: 29.7.0 @@ -19810,7 +21109,7 @@ snapshots: react-refresh: 0.14.2 regenerator-runtime: 0.13.11 scheduler: 0.24.0-canary-efb381bbf-20230505 - semver: 7.6.3 + semver: 7.7.0 stacktrace-parser: 0.1.10 whatwg-fetch: 3.6.20 ws: 6.2.3 @@ -19830,7 +21129,7 @@ snapshots: react-relay@16.2.0(react@18.3.1): dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 fbjs: 3.0.5 invariant: 2.2.4 nullthrows: 1.1.1 @@ -19841,7 +21140,7 @@ snapshots: react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 @@ -19888,6 +21187,8 @@ snapshots: dependencies: picomatch: 2.3.1 + readdirp@4.1.1: {} + readline@1.3.0: {} recast@0.21.5: @@ -19920,7 +21221,7 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.9 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 get-intrinsic: 1.2.7 get-proto: 1.0.1 which-builtin-type: 1.2.1 @@ -19937,7 +21238,7 @@ snapshots: regenerator-transform@0.15.2: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 regexp.prototype.flags@1.5.4: dependencies: @@ -19974,7 +21275,7 @@ snapshots: relay-runtime@16.2.0: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 fbjs: 3.0.5 invariant: 2.2.4 transitivePeerDependencies: @@ -19982,7 +21283,7 @@ snapshots: relay-runtime@17.0.0: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 fbjs: 3.0.5 invariant: 2.2.4 transitivePeerDependencies: @@ -19990,7 +21291,7 @@ snapshots: relay-test-utils@17.0.0: dependencies: - '@babel/runtime': 7.26.0 + '@babel/runtime': 7.26.7 fbjs: 3.0.5 invariant: 2.2.4 relay-runtime: 17.0.0 @@ -20023,6 +21324,8 @@ snapshots: require-from-string@2.0.2: {} + require-main-filename@2.0.0: {} + requireg@0.2.2: dependencies: nested-error-stacks: 2.0.1 @@ -20098,6 +21401,31 @@ snapshots: dependencies: glob: 10.4.5 + rollup@4.34.1: + dependencies: + '@types/estree': 1.0.6 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.34.1 + '@rollup/rollup-android-arm64': 4.34.1 + '@rollup/rollup-darwin-arm64': 4.34.1 + '@rollup/rollup-darwin-x64': 4.34.1 + '@rollup/rollup-freebsd-arm64': 4.34.1 + '@rollup/rollup-freebsd-x64': 4.34.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.34.1 + '@rollup/rollup-linux-arm-musleabihf': 4.34.1 + '@rollup/rollup-linux-arm64-gnu': 4.34.1 + '@rollup/rollup-linux-arm64-musl': 4.34.1 + '@rollup/rollup-linux-loongarch64-gnu': 4.34.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.34.1 + '@rollup/rollup-linux-riscv64-gnu': 4.34.1 + '@rollup/rollup-linux-s390x-gnu': 4.34.1 + '@rollup/rollup-linux-x64-gnu': 4.34.1 + '@rollup/rollup-linux-x64-musl': 4.34.1 + '@rollup/rollup-win32-arm64-msvc': 4.34.1 + '@rollup/rollup-win32-ia32-msvc': 4.34.1 + '@rollup/rollup-win32-x64-msvc': 4.34.1 + fsevents: 2.3.3 + run-applescript@7.0.0: {} run-parallel@1.2.0: @@ -20173,6 +21501,8 @@ snapshots: semver@7.6.3: {} + semver@7.7.0: {} + send@0.19.0: dependencies: debug: 2.6.9 @@ -20238,6 +21568,10 @@ snapshots: server-only@0.0.1: {} + set-blocking@2.0.0: {} + + set-cookie-parser@2.7.1: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 @@ -20258,7 +21592,7 @@ snapshots: dependencies: dunder-proto: 1.0.1 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 setimmediate@1.0.5: {} @@ -20270,11 +21604,13 @@ snapshots: dependencies: kind-of: 6.0.3 + shallowequal@1.1.0: {} + sharp@0.33.5: dependencies: color: 4.2.3 detect-libc: 2.0.3 - semver: 7.6.3 + semver: 7.7.0 optionalDependencies: '@img/sharp-darwin-arm64': 0.33.5 '@img/sharp-darwin-x64': 0.33.5 @@ -20352,7 +21688,6 @@ snapshots: simple-swizzle@0.2.2: dependencies: is-arrayish: 0.3.2 - optional: true simplebar-core@1.3.0: dependencies: @@ -20365,6 +21700,8 @@ snapshots: sisteransi@1.0.5: {} + slash@2.0.0: {} + slash@3.0.0: {} slice-ansi@3.0.0: @@ -20410,6 +21747,10 @@ snapshots: source-map@0.7.4: {} + source-map@0.8.0-beta.0: + dependencies: + whatwg-url: 7.1.0 + spawndamnit@3.0.1: dependencies: cross-spawn: 7.0.6 @@ -20439,7 +21780,9 @@ snapshots: speed-measure-webpack-plugin@1.4.2(webpack@5.93.0): dependencies: chalk: 4.1.2 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) + + split-on-first@1.1.0: {} split@1.0.1: dependencies: @@ -20493,10 +21836,14 @@ snapshots: stream-buffers@2.2.0: {} + stream-slice@0.1.2: {} + streamsearch@1.1.0: {} strict-event-emitter@0.5.1: {} + strict-uri-encode@2.0.0: {} + string-argv@0.3.2: {} string-length@4.0.2: @@ -20529,7 +21876,7 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.9 es-errors: 1.3.0 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 get-intrinsic: 1.2.7 gopd: 1.2.0 has-symbols: 1.1.0 @@ -20550,7 +21897,7 @@ snapshots: define-data-property: 1.1.4 define-properties: 1.2.1 es-abstract: 1.23.9 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 has-property-descriptors: 1.0.2 string.prototype.trimend@1.0.9: @@ -20558,13 +21905,13 @@ snapshots: call-bind: 1.0.8 call-bound: 1.0.3 define-properties: 1.2.1 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 string.prototype.trimstart@1.0.8: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-object-atoms: 1.0.0 + es-object-atoms: 1.1.1 string_decoder@1.1.1: dependencies: @@ -20614,28 +21961,28 @@ snapshots: structured-headers@0.4.1: {} - style-loader@3.3.4(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + style-loader@3.3.4(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) style-loader@3.3.4(webpack@5.93.0): dependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) - style-loader@4.0.0(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + style-loader@4.0.0(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) style-loader@4.0.0(webpack@5.93.0): dependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) - styled-jsx@5.1.1(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@18.3.1): + styled-jsx@5.1.1(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react@18.3.1): dependencies: client-only: 0.0.1 react: 18.3.1 optionalDependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 babel-plugin-macros: 3.1.0 stylis@4.2.0: {} @@ -20675,7 +22022,7 @@ snapshots: symbol-tree@3.2.4: {} - tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)): + tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -20691,11 +22038,11 @@ snapshots: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.1.1 - postcss: 8.4.49 - postcss-import: 15.1.0(postcss@8.4.49) - postcss-js: 4.0.1(postcss@8.4.49) - postcss-load-config: 4.0.2(postcss@8.4.49)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) - postcss-nested: 6.2.0(postcss@8.4.49) + postcss: 8.4.38 + postcss-import: 15.1.0(postcss@8.4.38) + postcss-js: 4.0.1(postcss@8.4.38) + postcss-load-config: 4.0.2(postcss@8.4.38)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + postcss-nested: 6.2.0(postcss@8.4.38) postcss-selector-parser: 6.1.2 resolve: 1.22.10 sucrase: 3.35.0 @@ -20736,28 +22083,39 @@ snapshots: ansi-escapes: 4.3.2 supports-hyperlinks: 2.3.0 - terser-webpack-plugin@5.3.11(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + terser-webpack-plugin@5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack@5.93.0): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 4.3.0 serialize-javascript: 6.0.2 terser: 5.37.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) optionalDependencies: - '@swc/core': 1.10.4(@swc/helpers@0.5.15) + '@swc/core': 1.10.12(@swc/helpers@0.5.15) esbuild: 0.24.2 - terser-webpack-plugin@5.3.11(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack@5.93.0): + terser-webpack-plugin@5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + jest-worker: 27.5.1 + schema-utils: 4.3.0 + serialize-javascript: 6.0.2 + terser: 5.37.0 + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) + optionalDependencies: + '@swc/core': 1.10.12(@swc/helpers@0.5.15) + + terser-webpack-plugin@5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack@5.93.0): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 4.3.0 serialize-javascript: 6.0.2 terser: 5.37.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack-cli@5.1.4) optionalDependencies: - '@swc/core': 1.10.4(@swc/helpers@0.5.15) + '@swc/core': 1.10.12(@swc/helpers@0.5.15) terser@4.8.1: dependencies: @@ -20797,11 +22155,6 @@ snapshots: throttleit@1.0.1: {} - through2@2.0.5: - dependencies: - readable-stream: 2.3.8 - xtend: 4.0.2 - through@2.3.8: {} thunky@1.1.0: {} @@ -20810,15 +22163,22 @@ snapshots: tiny-invariant@1.3.3: {} + tinyexec@0.3.2: {} + + tinyglobby@0.2.10: + dependencies: + fdir: 6.4.3(picomatch@4.0.2) + picomatch: 4.0.2 + tinyrainbow@1.2.0: {} tinyspy@3.0.2: {} - tldts-core@6.1.71: {} + tldts-core@6.1.76: {} - tldts@6.1.71: + tldts@6.1.76: dependencies: - tldts-core: 6.1.71 + tldts-core: 6.1.76 tmp@0.0.33: dependencies: @@ -20845,10 +22205,14 @@ snapshots: tough-cookie@5.1.0: dependencies: - tldts: 6.1.71 + tldts: 6.1.76 tr46@0.0.3: {} + tr46@1.0.1: + dependencies: + punycode: 2.3.1 + tr46@3.0.0: dependencies: punycode: 2.3.1 @@ -20863,63 +22227,26 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-jest@29.1.4(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)))(typescript@5.4.5): - dependencies: - bs-logger: 0.2.6 - fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@22.10.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5)) - jest-util: 29.7.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.6.3 - typescript: 5.4.5 - yargs-parser: 21.1.1 - optionalDependencies: - '@babel/core': 7.26.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.26.0) - - ts-jest@29.1.4(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5): + ts-jest@29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) + jest: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 make-error: 1.3.6 - semver: 7.6.3 + semver: 7.7.0 typescript: 5.4.5 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.26.7 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.26.0) - - ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.10.5)(typescript@5.4.5): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.11 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 22.10.5 - acorn: 8.14.0 - acorn-walk: 8.3.4 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.4.5 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - optionalDependencies: - '@swc/core': 1.10.4(@swc/helpers@0.5.15) + babel-jest: 29.7.0(@babel/core@7.26.7) + esbuild: 0.24.2 - ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5): + ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -20937,7 +22264,7 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: - '@swc/core': 1.10.4(@swc/helpers@0.5.15) + '@swc/core': 1.10.12(@swc/helpers@0.5.15) tsconfig-paths@3.15.0: dependencies: @@ -20956,6 +22283,34 @@ snapshots: tslib@2.8.1: {} + tsup@8.3.6(@swc/core@1.10.12(@swc/helpers@0.5.15))(jiti@1.21.7)(postcss@8.4.38)(typescript@5.4.5)(yaml@2.7.0): + dependencies: + bundle-require: 5.1.0(esbuild@0.24.2) + cac: 6.7.14 + chokidar: 4.0.3 + consola: 3.4.0 + debug: 4.4.0(supports-color@8.1.1) + esbuild: 0.24.2 + joycon: 3.1.1 + picocolors: 1.1.1 + postcss-load-config: 6.0.1(jiti@1.21.7)(postcss@8.4.38)(yaml@2.7.0) + resolve-from: 5.0.0 + rollup: 4.34.1 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tinyexec: 0.3.2 + tinyglobby: 0.2.10 + tree-kill: 1.2.2 + optionalDependencies: + '@swc/core': 1.10.12(@swc/helpers@0.5.15) + postcss: 8.4.38 + typescript: 5.4.5 + transitivePeerDependencies: + - jiti + - supports-color + - tsx + - yaml + tsutils@3.21.0(typescript@5.4.5): dependencies: tslib: 1.14.1 @@ -20965,32 +22320,34 @@ snapshots: dependencies: safe-buffer: 5.2.1 - turbo-darwin-64@2.3.3: + turbo-darwin-64@2.4.0: optional: true - turbo-darwin-arm64@2.3.3: + turbo-darwin-arm64@2.4.0: optional: true - turbo-linux-64@2.3.3: + turbo-linux-64@2.4.0: optional: true - turbo-linux-arm64@2.3.3: + turbo-linux-arm64@2.4.0: optional: true - turbo-windows-64@2.3.3: + turbo-stream@2.4.0: {} + + turbo-windows-64@2.4.0: optional: true - turbo-windows-arm64@2.3.3: + turbo-windows-arm64@2.4.0: optional: true - turbo@2.3.3: + turbo@2.4.0: optionalDependencies: - turbo-darwin-64: 2.3.3 - turbo-darwin-arm64: 2.3.3 - turbo-linux-64: 2.3.3 - turbo-linux-arm64: 2.3.3 - turbo-windows-64: 2.3.3 - turbo-windows-arm64: 2.3.3 + turbo-darwin-64: 2.4.0 + turbo-darwin-arm64: 2.4.0 + turbo-linux-64: 2.4.0 + turbo-linux-arm64: 2.4.0 + turbo-windows-64: 2.4.0 + turbo-windows-arm64: 2.4.0 tween-functions@1.2.0: {} @@ -21014,7 +22371,7 @@ snapshots: type-fest@2.19.0: {} - type-fest@4.32.0: {} + type-fest@4.33.0: {} type-is@1.6.18: dependencies: @@ -21030,7 +22387,7 @@ snapshots: typed-array-byte-length@1.0.3: dependencies: call-bind: 1.0.8 - for-each: 0.3.3 + for-each: 0.3.4 gopd: 1.2.0 has-proto: 1.2.0 is-typed-array: 1.1.15 @@ -21039,7 +22396,7 @@ snapshots: dependencies: available-typed-arrays: 1.0.7 call-bind: 1.0.8 - for-each: 0.3.3 + for-each: 0.3.4 gopd: 1.2.0 has-proto: 1.2.0 is-typed-array: 1.1.15 @@ -21048,7 +22405,7 @@ snapshots: typed-array-length@1.0.7: dependencies: call-bind: 1.0.8 - for-each: 0.3.3 + for-each: 0.3.4 gopd: 1.2.0 is-typed-array: 1.1.15 possible-typed-array-names: 1.0.0 @@ -21067,9 +22424,7 @@ snapshots: undici-types@6.19.8: {} - undici-types@6.20.0: {} - - undici@6.21.0: {} + undici@6.21.1: {} unicode-canonical-property-names-ecmascript@2.0.1: {} @@ -21129,7 +22484,15 @@ snapshots: url@0.11.4: dependencies: punycode: 1.4.1 - qs: 6.13.1 + qs: 6.14.0 + + use-latest-callback@0.1.11(react@18.3.1): + dependencies: + react: 18.3.1 + + use-latest-callback@0.2.3(react@18.3.1): + dependencies: + react: 18.3.1 use-long-press@3.2.0(react@18.3.1): dependencies: @@ -21139,6 +22502,10 @@ snapshots: dependencies: react: 18.3.1 + use-sync-external-store@1.4.0(react@18.3.1): + dependencies: + react: 18.3.1 + util-deprecate@1.0.2: {} util.promisify@1.0.0: @@ -21194,6 +22561,8 @@ snapshots: dependencies: makeerror: 1.0.12 + warn-once@0.1.1: {} + watchpack@2.4.2: dependencies: glob-to-regexp: 0.4.1 @@ -21209,10 +22578,18 @@ snapshots: weak-lru-cache@1.2.2: {} + web-encoding@1.1.5: + dependencies: + util: 0.12.5 + optionalDependencies: + '@zxing/text-encoding': 0.9.0 + web-streams-polyfill@3.3.3: {} webidl-conversions@3.0.1: {} + webidl-conversions@4.0.2: {} + webidl-conversions@5.0.0: {} webidl-conversions@7.0.0: {} @@ -21231,7 +22608,7 @@ snapshots: import-local: 3.2.0 interpret: 3.1.1 rechoir: 0.8.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-merge: 5.10.0 optionalDependencies: webpack-dev-server: 5.0.4(webpack-cli@5.1.4)(webpack@5.93.0) @@ -21243,9 +22620,9 @@ snapshots: mime-types: 2.1.35 range-parser: 1.2.1 schema-utils: 4.3.0 - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) - webpack-dev-middleware@6.1.3(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)): + webpack-dev-middleware@6.1.3(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))): dependencies: colorette: 2.0.20 memfs: 3.5.3 @@ -21253,7 +22630,7 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.3.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)) webpack-dev-middleware@6.1.3(webpack@5.93.0): dependencies: @@ -21263,18 +22640,18 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.3.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-dev-middleware@7.4.2(webpack@5.93.0): dependencies: colorette: 2.0.20 - memfs: 4.15.3 + memfs: 4.17.0 mime-types: 2.1.35 on-finished: 2.4.1 range-parser: 1.2.1 schema-utils: 4.3.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-dev-server@4.15.2(webpack-cli@5.1.4)(webpack@5.93.0): dependencies: @@ -21284,7 +22661,7 @@ snapshots: '@types/serve-index': 1.9.4 '@types/serve-static': 1.15.7 '@types/sockjs': 0.3.36 - '@types/ws': 8.5.13 + '@types/ws': 8.5.14 ansi-html-community: 0.0.8 bonjour-service: 1.3.0 chokidar: 3.6.0 @@ -21309,7 +22686,7 @@ snapshots: webpack-dev-middleware: 5.3.4(webpack@5.93.0) ws: 8.18.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) transitivePeerDependencies: - bufferutil @@ -21325,7 +22702,7 @@ snapshots: '@types/serve-index': 1.9.4 '@types/serve-static': 1.15.7 '@types/sockjs': 0.3.36 - '@types/ws': 8.5.13 + '@types/ws': 8.5.14 ansi-html-community: 0.0.8 bonjour-service: 1.3.0 chokidar: 3.6.0 @@ -21350,7 +22727,7 @@ snapshots: webpack-dev-middleware: 7.4.2(webpack@5.93.0) ws: 8.18.0 optionalDependencies: - webpack: 5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4) + webpack: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) transitivePeerDependencies: - bufferutil @@ -21374,7 +22751,38 @@ snapshots: webpack-virtual-modules@0.6.2: {} - webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2): + webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15)): + dependencies: + '@types/eslint-scope': 3.7.7 + '@types/estree': 1.0.6 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/wasm-edit': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + acorn: 8.14.0 + acorn-import-attributes: 1.9.5(acorn@8.14.0) + browserslist: 4.24.4 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.18.0 + es-module-lexer: 1.6.0 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) + watchpack: 2.4.2 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + + webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.6 @@ -21397,15 +22805,17 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.11(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.24.2)) + terser-webpack-plugin: 5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack@5.93.0) watchpack: 2.4.2 webpack-sources: 3.2.3 + optionalDependencies: + webpack-cli: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) transitivePeerDependencies: - '@swc/core' - esbuild - uglify-js - webpack@5.93.0(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack-cli@5.1.4): + webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack-cli@5.1.4): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.6 @@ -21428,7 +22838,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.11(@swc/core@1.10.4(@swc/helpers@0.5.15))(webpack@5.93.0) + terser-webpack-plugin: 5.3.11(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack@5.93.0) watchpack: 2.4.2 webpack-sources: 3.2.3 optionalDependencies: @@ -21440,7 +22850,7 @@ snapshots: websocket-driver@0.7.4: dependencies: - http-parser-js: 0.5.8 + http-parser-js: 0.5.9 safe-buffer: 5.2.1 websocket-extensions: 0.1.4 @@ -21470,6 +22880,12 @@ snapshots: tr46: 0.0.3 webidl-conversions: 3.0.1 + whatwg-url@7.1.0: + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + which-boxed-primitive@1.1.1: dependencies: is-bigint: 1.1.0 @@ -21483,7 +22899,7 @@ snapshots: call-bound: 1.0.3 function.prototype.name: 1.1.8 has-tostringtag: 1.0.2 - is-async-function: 2.1.0 + is-async-function: 2.1.1 is-date-object: 1.1.0 is-finalizationregistry: 1.1.1 is-generator-function: 1.1.0 @@ -21501,12 +22917,14 @@ snapshots: is-weakmap: 2.0.2 is-weakset: 2.0.4 + which-module@2.0.1: {} + which-typed-array@1.1.18: dependencies: available-typed-arrays: 1.0.7 call-bind: 1.0.8 call-bound: 1.0.3 - for-each: 0.3.3 + for-each: 0.3.4 gopd: 1.2.0 has-tostringtag: 1.0.2 @@ -21571,7 +22989,7 @@ snapshots: xmlchars@2.2.0: {} - xtend@4.0.2: {} + y18n@4.0.3: {} y18n@5.0.8: {} @@ -21585,8 +23003,38 @@ snapshots: yaml@2.7.0: {} + yargs-parser@13.1.2: + dependencies: + camelcase: 5.3.1 + decamelize: 1.2.0 + + yargs-parser@20.2.9: {} + yargs-parser@21.1.1: {} + yargs@13.3.2: + dependencies: + cliui: 5.0.0 + find-up: 3.0.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + require-main-filename: 2.0.0 + set-blocking: 2.0.0 + string-width: 4.1.0 + which-module: 2.0.1 + y18n: 4.0.3 + yargs-parser: 13.1.2 + + yargs@16.2.0: + dependencies: + cliui: 7.0.4 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.1.0 + y18n: 5.0.8 + yargs-parser: 20.2.9 + yargs@17.7.2: dependencies: cliui: 8.0.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index efc5494b..abf09a2a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -18,6 +18,7 @@ catalog: next: 14.3.0-canary.24 react-hook-form: 7.51.5 react-virtuoso: 4.7.11 + tsup: 8.3.6 typescript: 5.4.5 zod: 3.24.1 zustand: 4.5.2 @@ -129,6 +130,15 @@ catalogs: prettier: ^3.3.3 react-native-core: + "@gorhom/bottom-sheet": ^5.0.6 + "@react-navigation/drawer": ^7.0.19 + "@react-navigation/native": ^7.0.6 expo-constants: ~17.0.3 + expo-file-system: ~18.0.6 + expo-image-picker: ~16.0.4 + expo-router: ~4.0.5 expo-secure-store: ~14.0.0 - react-native: 0.76.3 \ No newline at end of file + react-native-paper: ^5.12.5 + react-native-reanimated: ~3.16.3 + react-native: 0.76.3 + react-native-gesture-handler: ~2.20.2 diff --git a/turbo.json b/turbo.json index 3c58d575..cd2ff050 100644 --- a/turbo.json +++ b/turbo.json @@ -6,6 +6,16 @@ "cache": false, "persistent": true }, + "@baseapp-frontend/components#build": { + "dependsOn": ["@baseapp-frontend/design-system#build", "^build"], + "inputs": ["$TURBO_DEFAULT$", ".env*"], + "outputs": ["dist/**", ".next/**", "!.next/cache/**"] + }, + "@baseapp-frontend/wagtail#build": { + "dependsOn": ["@baseapp-frontend/design-system#build", "^build"], + "inputs": ["$TURBO_DEFAULT$", ".env*"], + "outputs": ["dist/**", ".next/**", "!.next/cache/**"] + }, "build": { "dependsOn": ["^build"], "inputs": ["$TURBO_DEFAULT$", ".env*"], From 5610035364510993efcecd32428d2828387c6e3f Mon Sep 17 00:00:00 2001 From: Alexandre Anicio Date: Fri, 7 Feb 2025 15:26:47 -0300 Subject: [PATCH 2/4] BA-2192: ignore __generated__ files --- packages/components/.gitignore | 3 +++ packages/components/package.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/components/.gitignore b/packages/components/.gitignore index d02d5915..824c6693 100644 --- a/packages/components/.gitignore +++ b/packages/components/.gitignore @@ -60,6 +60,9 @@ cypress/downloads # editorconfig .editorconfig +# relay +/__generated__ + # babel & tsc /tmp-babel /tmp-dts \ No newline at end of file diff --git a/packages/components/package.json b/packages/components/package.json index b7f3ca39..e1629cf1 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -10,11 +10,11 @@ "copy:dts": "node ../../.scripts/copy-dts.js", "clean:tmp": "rm -rf tmp-babel tmp-dts", "build": "rm -rf dist && pnpm relay && pnpm babel:bundle && pnpm tsup:bundle && pnpm tsc:declaration && pnpm copy:dts && pnpm clean:tmp", - "dev": "tsup --watch", + "dev": "pnpm relay && tsup --watch", "relay": "relay-compiler", "relay-download-schema": "dotenv -- bash -c 'get-graphql-schema \"$NEXT_PUBLIC_RELAY_ENDPOINT\" > schema.graphql'", "relay-update-schema": "pnpm relay-download-schema && pnpm relay", - "lint": "eslint . --ext .tsx --ext .ts && tsc --noEmit", + "lint": "pnpm relay && eslint . --ext .tsx --ext .ts && tsc --noEmit", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", "prettier": "prettier --write .", "storybook": "pnpm relay && storybook dev -p 6007", From 6cf413f3fa107deebf61c022c79a7b5210734a19 Mon Sep 17 00:00:00 2001 From: Alexandre Anicio Date: Fri, 7 Feb 2025 15:27:17 -0300 Subject: [PATCH 3/4] temp: replace catalogs --- packages/authentication/package.json | 44 +- packages/components/package.json | 176 ++--- packages/config/package.json | 32 +- packages/design-system/package.json | 100 +-- packages/eslint-plugin/package.json | 10 +- packages/graphql/package.json | 34 +- packages/provider/package.json | 12 +- packages/test/package.json | 40 +- packages/utils/package.json | 54 +- packages/wagtail/package.json | 102 +-- pnpm-lock.yaml | 955 +++++++++------------------ 11 files changed, 605 insertions(+), 954 deletions(-) diff --git a/packages/authentication/package.json b/packages/authentication/package.json index 43bed09e..035aca7e 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -14,37 +14,37 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "dependencies": { - "@hookform/resolvers": "catalog:", - "@tanstack/react-query": "catalog:", - "jotai": "catalog:", - "js-cookie": "catalog:", - "react-hook-form": "catalog:", - "zod": "catalog:" + "@hookform/resolvers": "3.6.0", + "@tanstack/react-query": "5.45.1", + "jotai": "2.9.3", + "js-cookie": "3.0.5", + "react-hook-form": "7.51.5", + "zod": "3.24.1" }, "peerDependencies": { "@baseapp-frontend/utils": "workspace:*", - "react": "catalog:react18" + "react": "18.3.1" }, "devDependencies": { "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/eslint-plugin": "workspace:*", "@baseapp-frontend/test": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@faker-js/faker": "catalog:test", - "@testing-library/jest-dom": "catalog:test", - "@testing-library/react": "catalog:test", - "@testing-library/user-event": "catalog:test", - "@types/jest": "catalog:test", - "@types/js-cookie": "catalog:", - "@types/node": "catalog:", - "@types/react": "catalog:react18", - "@types/react-dom": "catalog:react18", - "babel-jest": "catalog:test", - "jest": "catalog:test", - "jest-environment-jsdom": "catalog:test", - "ts-jest": "catalog:test", - "ts-node": "catalog:test", - "typescript": "catalog:" + "@faker-js/faker": "^9.0.3", + "@testing-library/jest-dom": "6.4.6", + "@testing-library/react": "16.0.0", + "@testing-library/user-event": "14.5.2", + "@types/jest": "29.5.12", + "@types/js-cookie": "3.0.6", + "@types/node": "22.7.2", + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", + "babel-jest": "29.7.0", + "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", + "ts-jest": "29.1.4", + "ts-node": "10.9.2", + "typescript": "5.4.5" }, "license": "MIT", "repository": { diff --git a/packages/components/package.json b/packages/components/package.json index e1629cf1..1318a017 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -66,112 +66,112 @@ "dist" ], "dependencies": { - "@emotion/cache": "catalog:material-ui", - "@emotion/react": "catalog:material-ui", - "@emotion/styled": "catalog:material-ui", - "@gorhom/bottom-sheet": "catalog:react-native-core", - "@hookform/resolvers": "catalog:", - "@mui/icons-material": "catalog:material-ui", - "@mui/lab": "catalog:material-ui", - "@mui/material": "catalog:material-ui", - "@mui/system": "catalog:material-ui", - "@mui/x-date-pickers": "catalog:material-ui", - "@storybook/react": "catalog:storybook", - "@tanstack/react-query": "catalog:", - "expo-file-system": "catalog:react-native-core", - "expo-image-picker": "catalog:react-native-core", - "expo-router": "catalog:react-native-core", + "@emotion/cache": "11.11.0", + "@emotion/react": "11.11.4", + "@emotion/styled": "11.11.5", + "@gorhom/bottom-sheet": "^5.0.6", + "@hookform/resolvers": "3.6.0", + "@mui/icons-material": "5.15.19", + "@mui/lab": "5.0.0-alpha.170", + "@mui/material": "5.15.19", + "@mui/system": "5.16.12", + "@mui/x-date-pickers": "7.6.2", + "@storybook/react": "8.4.7", + "@tanstack/react-query": "5.45.1", + "expo-file-system": "~18.0.6", + "expo-image-picker": "~16.0.4", + "expo-router": "~4.0.5", "framer-motion": "^11.5.4", - "graphql": "catalog:graphql", - "js-cookie": "catalog:", - "luxon": "catalog:", - "next": "catalog:", + "graphql": "16.8.1", + "js-cookie": "3.0.5", + "luxon": "3.4.4", + "next": "14.3.0-canary.24", "numbro": "^2.5.0", - "react-hook-form": "catalog:", - "react-native": "catalog:react-native-core", - "react-native-gesture-handler": "catalog:react-native-core", - "react-relay": "catalog:graphql", - "react-virtuoso": "catalog:", - "relay-connection-handler-plus": "catalog:graphql", - "relay-runtime": "catalog:graphql", + "react-hook-form": "7.51.5", + "react-native": "0.76.3", + "react-native-gesture-handler": "~2.20.2", + "react-relay": "16.2.0", + "react-virtuoso": "4.7.11", + "relay-connection-handler-plus": "0.1.2", + "relay-runtime": "16.2.0", "slugify": "^1.6.6", "use-long-press": "^3.2.0", - "zod": "catalog:", - "zustand": "catalog:" + "zod": "3.24.1", + "zustand": "4.5.2" }, "peerDependencies": { "@baseapp-frontend/authentication": "workspace:*", "@baseapp-frontend/design-system": "workspace:*", "@baseapp-frontend/graphql": "workspace:*", "@baseapp-frontend/utils": "workspace:*", - "react": "catalog:react18", - "react-dom": "catalog:react18" + "react": "18.3.1", + "react-dom": "18.3.1" }, "devDependencies": { "@babel/cli": "^7.26.4", - "@babel/preset-env": "catalog:storybook", - "@babel/preset-react": "catalog:storybook", - "@babel/preset-typescript": "catalog:storybook", + "@babel/preset-env": "7.26.0", + "@babel/preset-react": "7.25.9", + "@babel/preset-typescript": "7.26.0", "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/test": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@chromatic-com/storybook": "catalog:storybook", - "@cypress/webpack-dev-server": "catalog:test", - "@faker-js/faker": "catalog:test", - "@storybook/addon-docs": "catalog:storybook", - "@storybook/addon-essentials": "catalog:storybook", - "@storybook/addon-interactions": "catalog:storybook", - "@storybook/addon-links": "catalog:storybook", - "@storybook/addon-styling-webpack": "catalog:storybook", - "@storybook/addon-webpack5-compiler-babel": "catalog:storybook", - "@storybook/blocks": "catalog:storybook", - "@storybook/react-webpack5": "catalog:storybook", - "@storybook/test": "catalog:storybook", - "@tailwindcss/typography": "catalog:tailwind", - "@testing-library/cypress": "catalog:test", - "@testing-library/jest-dom": "catalog:test", - "@testing-library/react": "catalog:test", - "@testing-library/user-event": "catalog:test", - "@types/jest": "catalog:test", - "@types/js-cookie": "catalog:", - "@types/luxon": "catalog:", - "@types/react": "catalog:react18", - "@types/react-dom": "catalog:react18", - "@types/react-relay": "catalog:graphql", - "@types/relay-runtime": "catalog:graphql", - "@types/relay-test-utils": "catalog:graphql", - "autoprefixer": "catalog:tailwind", - "babel-jest": "catalog:test", - "babel-loader": "catalog:storybook", - "babel-plugin-relay": "catalog:graphql", - "css-loader": "catalog:storybook", - "cypress": "catalog:test", - "cypress-plugin-steps": "catalog:test", - "cypress-wait-until": "catalog:test", + "@chromatic-com/storybook": "3.2.3", + "@cypress/webpack-dev-server": "3.10.1", + "@faker-js/faker": "^9.0.3", + "@storybook/addon-docs": "8.4.7", + "@storybook/addon-essentials": "8.4.7", + "@storybook/addon-interactions": "8.4.7", + "@storybook/addon-links": "8.4.7", + "@storybook/addon-styling-webpack": "1.0.1", + "@storybook/addon-webpack5-compiler-babel": "3.0.3", + "@storybook/blocks": "8.4.7", + "@storybook/react-webpack5": "8.4.7", + "@storybook/test": "8.4.7", + "@tailwindcss/typography": "0.5.13", + "@testing-library/cypress": "10.0.2", + "@testing-library/jest-dom": "6.4.6", + "@testing-library/react": "16.0.0", + "@testing-library/user-event": "14.5.2", + "@types/jest": "29.5.12", + "@types/js-cookie": "3.0.6", + "@types/luxon": "3.4.2", + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", + "@types/react-relay": "16.0.6", + "@types/relay-runtime": "17.0.3", + "@types/relay-test-utils": "14.1.4", + "autoprefixer": "10.4.19", + "babel-jest": "29.7.0", + "babel-loader": "9.2.1", + "babel-plugin-relay": "17.0.0", + "css-loader": "7.1.2", + "cypress": "13.16.1", + "cypress-plugin-steps": "1.1.1", + "cypress-wait-until": "3.0.2", "dotenv": "^16.4.5", "dotenv-cli": "^7.4.2", - "eslint-plugin-storybook": "catalog:lint", - "get-graphql-schema": "catalog:graphql", - "html-webpack-plugin": "catalog:storybook", - "jest": "catalog:test", - "jest-environment-jsdom": "catalog:test", - "jotai": "catalog:", - "msw": "catalog:storybook", - "msw-storybook-addon": "catalog:storybook", - "postcss": "catalog:tailwind", - "postcss-loader": "catalog:storybook", - "relay-compiler": "catalog:graphql", - "relay-test-utils": "catalog:graphql", - "storybook": "catalog:storybook", - "style-loader": "catalog:storybook", - "tailwindcss": "catalog:tailwind", - "ts-jest": "catalog:test", - "ts-node": "catalog:test", - "tsup": "catalog:", - "typescript": "catalog:", - "webpack": "catalog:storybook", - "webpack-cli": "catalog:storybook", - "webpack-dev-server": "catalog:storybook" + "eslint-plugin-storybook": "^0.8.0", + "get-graphql-schema": "2.1.2", + "html-webpack-plugin": "5.6.0", + "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", + "jotai": "2.9.3", + "msw": "2.6.6", + "msw-storybook-addon": "2.0.4", + "postcss": "8.4.38", + "postcss-loader": "8.1.1", + "relay-compiler": "16.2.0", + "relay-test-utils": "17.0.0", + "storybook": "8.4.7", + "style-loader": "4.0.0", + "tailwindcss": "3.4.4", + "ts-jest": "29.1.4", + "ts-node": "10.9.2", + "tsup": "8.3.6", + "typescript": "5.4.5", + "webpack": "5.93.0", + "webpack-cli": "5.1.4", + "webpack-dev-server": "5.0.4" }, "license": "MIT", "repository": { diff --git a/packages/config/package.json b/packages/config/package.json index d280de23..321691cf 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -11,22 +11,22 @@ ], "devDependencies": { "@baseapp-frontend/eslint-plugin": "workspace:*", - "@emotion/eslint-plugin": "catalog:lint", - "@next/eslint-plugin-next": "catalog:lint", - "@trivago/prettier-plugin-sort-imports": "catalog:lint", - "@typescript-eslint/eslint-plugin": "catalog:lint", - "@typescript-eslint/parser": "catalog:lint", - "eslint": "catalog:lint", - "eslint-config-airbnb": "catalog:lint", - "eslint-config-airbnb-typescript": "catalog:lint", - "eslint-config-next": "catalog:lint", - "eslint-config-prettier": "catalog:lint", - "eslint-plugin-import": "catalog:lint", - "eslint-plugin-jsx-a11y": "catalog:lint", - "eslint-plugin-react": "catalog:lint", - "eslint-plugin-react-hooks": "catalog:lint", - "prettier": "catalog:lint", - "prettier-plugin-tailwindcss": "catalog:lint" + "@emotion/eslint-plugin": "^11.11.0", + "@next/eslint-plugin-next": "^13.1.6", + "@trivago/prettier-plugin-sort-imports": "^4.3.0", + "@typescript-eslint/eslint-plugin": "^5.59.11", + "@typescript-eslint/parser": "^5.29.0", + "eslint": "^8.42.0", + "eslint-config-airbnb": "^19.0.4", + "eslint-config-airbnb-typescript": "^17.0.0", + "eslint-config-next": "^13.4.6", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-jsx-a11y": "^6.6.1", + "eslint-plugin-react": "^7.31.11", + "eslint-plugin-react-hooks": "^4.6.0", + "prettier": "^3.3.3", + "prettier-plugin-tailwindcss": "^0.6.3" }, "license": "MIT", "repository": { diff --git a/packages/design-system/package.json b/packages/design-system/package.json index ceeef6ea..4ca82ce7 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -55,74 +55,74 @@ "dist" ], "dependencies": { - "@emotion/cache": "catalog:material-ui", - "@emotion/react": "catalog:material-ui", - "@emotion/styled": "catalog:material-ui", + "@emotion/cache": "11.11.0", + "@emotion/react": "11.11.4", + "@emotion/styled": "11.11.5", "@expo/vector-icons": "^14.0.4", - "@gorhom/bottom-sheet": "catalog:react-native-core", + "@gorhom/bottom-sheet": "^5.0.6", "@iconify/react": "^5.0.1", - "@mui/icons-material": "catalog:material-ui", - "@mui/lab": "catalog:material-ui", - "@mui/material": "catalog:material-ui", - "@mui/material-nextjs": "catalog:material-ui", - "@mui/system": "catalog:material-ui", - "@mui/x-date-pickers": "catalog:material-ui", - "@react-navigation/drawer": "catalog:react-native-core", - "@react-navigation/native": "catalog:react-native-core", - "@storybook/react": "catalog:storybook", + "@mui/icons-material": "5.15.19", + "@mui/lab": "5.0.0-alpha.170", + "@mui/material": "5.15.19", + "@mui/material-nextjs": "6.1.4", + "@mui/system": "5.16.12", + "@mui/x-date-pickers": "7.6.2", + "@react-navigation/drawer": "^7.0.19", + "@react-navigation/native": "^7.0.6", + "@storybook/react": "8.4.7", "color": "^4.2.3", - "expo-router": "catalog:react-native-core", + "expo-router": "~4.0.5", "framer-motion": "^11.2.10", - "jotai": "catalog:", - "lodash": "catalog:", - "next": "catalog:", + "jotai": "2.9.3", + "lodash": "4.17.21", + "next": "14.3.0-canary.24", "react-dropzone": "^14.2.3", - "react-hook-form": "catalog:", + "react-hook-form": "7.51.5", "react-lazy-load-image-component": "^1.6.2", - "react-native": "catalog:react-native-core", - "react-native-paper": "catalog:react-native-core", - "react-native-reanimated": "catalog:react-native-core", + "react-native": "0.76.3", + "react-native-paper": "^5.12.5", + "react-native-reanimated": "~3.16.3", "react-native-svg": "^15.9.0", "simplebar-react": "^3.2.5" }, "peerDependencies": { "@baseapp-frontend/utils": "workspace:*", - "react": "catalog:react18", - "react-dom": "catalog:react18" + "react": "18.3.1", + "react-dom": "18.3.1" }, "devDependencies": { - "@babel/preset-env": "catalog:storybook", - "@babel/preset-react": "catalog:storybook", - "@babel/preset-typescript": "catalog:storybook", + "@babel/preset-env": "7.26.0", + "@babel/preset-react": "7.25.9", + "@babel/preset-typescript": "7.26.0", "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/test": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@chromatic-com/storybook": "catalog:storybook", - "@storybook/addon-docs": "catalog:storybook", - "@storybook/addon-essentials": "catalog:storybook", - "@storybook/addon-interactions": "catalog:storybook", - "@storybook/addon-links": "catalog:storybook", - "@storybook/addon-styling-webpack": "catalog:storybook", - "@storybook/addon-webpack5-compiler-babel": "catalog:storybook", - "@storybook/blocks": "catalog:storybook", - "@storybook/react-webpack5": "catalog:storybook", - "@storybook/test": "catalog:storybook", - "@tailwindcss/typography": "catalog:tailwind", + "@chromatic-com/storybook": "3.2.3", + "@storybook/addon-docs": "8.4.7", + "@storybook/addon-essentials": "8.4.7", + "@storybook/addon-interactions": "8.4.7", + "@storybook/addon-links": "8.4.7", + "@storybook/addon-styling-webpack": "1.0.1", + "@storybook/addon-webpack5-compiler-babel": "3.0.3", + "@storybook/blocks": "8.4.7", + "@storybook/react-webpack5": "8.4.7", + "@storybook/test": "8.4.7", + "@tailwindcss/typography": "0.5.13", "@types/color": "^4.2.0", - "@types/lodash": "catalog:", - "@types/react": "catalog:react18", - "@types/react-dom": "catalog:react18", - "autoprefixer": "catalog:tailwind", + "@types/lodash": "4.17.7", + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", + "autoprefixer": "10.4.19", "chokidar-cli": "^3.0.0", - "css-loader": "catalog:storybook", - "eslint-plugin-storybook": "catalog:lint", - "postcss": "catalog:tailwind", - "postcss-loader": "catalog:storybook", - "storybook": "catalog:storybook", - "style-loader": "catalog:storybook", - "tailwindcss": "catalog:tailwind", - "tsup": "catalog:", - "typescript": "catalog:" + "css-loader": "7.1.2", + "eslint-plugin-storybook": "^0.8.0", + "postcss": "8.4.38", + "postcss-loader": "8.1.1", + "storybook": "8.4.7", + "style-loader": "4.0.0", + "tailwindcss": "3.4.4", + "tsup": "8.3.6", + "typescript": "5.4.5" }, "license": "MIT", "repository": { diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 6a5f3346..8557aad6 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -16,15 +16,15 @@ "prepare": "pnpm build" }, "dependencies": { - "eslint": "catalog:lint" + "eslint": "^8.42.0" }, "devDependencies": { "@baseapp-frontend/tsconfig": "workspace:*", - "@types/eslint": "catalog:lint", - "@types/jest": "catalog:test", + "@types/eslint": "^9.6.1", + "@types/jest": "29.5.12", "parcel": "^2.12.0", - "ts-node": "catalog:test", - "typescript": "catalog:" + "ts-node": "10.9.2", + "typescript": "5.4.5" }, "license": "MIT", "repository": { diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 87cd6720..d1789da2 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -13,30 +13,30 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "dependencies": { - "graphql": "catalog:graphql", - "graphql-ws": "catalog:graphql", - "isomorphic-ws": "catalog:graphql", - "js-cookie": "catalog:", - "react-relay": "catalog:graphql", - "relay-connection-handler-plus": "catalog:graphql", - "relay-runtime": "catalog:graphql", - "relay-test-utils": "catalog:graphql" + "graphql": "16.8.1", + "graphql-ws": "5.16.0", + "isomorphic-ws": "5.0.0", + "js-cookie": "3.0.5", + "react-relay": "16.2.0", + "relay-connection-handler-plus": "0.1.2", + "relay-runtime": "16.2.0", + "relay-test-utils": "17.0.0" }, "peerDependencies": { "@baseapp-frontend/utils": "workspace:*", - "react": "catalog:react18" + "react": "18.3.1" }, "devDependencies": { "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@types/js-cookie": "catalog:", - "@types/react": "catalog:react18", - "@types/react-dom": "catalog:react18", - "@types/react-relay": "catalog:graphql", - "@types/relay-runtime": "catalog:graphql", - "@types/relay-test-utils": "catalog:graphql", - "relay-compiler": "catalog:graphql", - "typescript": "catalog:" + "@types/js-cookie": "3.0.6", + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", + "@types/react-relay": "16.0.6", + "@types/relay-runtime": "17.0.3", + "@types/relay-test-utils": "14.1.4", + "relay-compiler": "16.2.0", + "typescript": "5.4.5" }, "license": "MIT", "repository": { diff --git a/packages/provider/package.json b/packages/provider/package.json index aed8794a..350d1790 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -13,19 +13,19 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "dependencies": { - "@tanstack/react-query": "catalog:", - "lodash": "catalog:" + "@tanstack/react-query": "5.45.1", + "lodash": "4.17.21" }, "peerDependencies": { "@baseapp-frontend/utils": "workspace:*", - "react": "catalog:react18" + "react": "18.3.1" }, "devDependencies": { "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@types/lodash": "catalog:", - "@types/react": "catalog:react18", - "typescript": "catalog:" + "@types/lodash": "4.17.7", + "@types/react": "18.3.3", + "typescript": "5.4.5" }, "license": "MIT", "repository": { diff --git a/packages/test/package.json b/packages/test/package.json index e7cf5526..2b48f479 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -14,33 +14,33 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "dependencies": { - "@emotion/cache": "catalog:material-ui", - "@emotion/react": "catalog:material-ui", - "@mui/material": "catalog:material-ui", - "@tanstack/react-query": "catalog:", + "@emotion/cache": "11.11.0", + "@emotion/react": "11.11.4", + "@mui/material": "5.15.19", + "@tanstack/react-query": "5.45.1", "axios-mock-adapter": "^1.22.0", - "js-cookie": "catalog:" + "js-cookie": "3.0.5" }, "peerDependencies": { - "react": "catalog:react18" + "react": "18.3.1" }, "devDependencies": { "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@testing-library/jest-dom": "catalog:test", - "@testing-library/react": "catalog:test", - "@testing-library/user-event": "catalog:test", - "@types/jest": "catalog:test", - "@types/js-cookie": "catalog:", - "@types/node": "catalog:", - "@types/react": "catalog:react18", - "@types/react-dom": "catalog:react18", - "babel-jest": "catalog:test", - "jest": "catalog:test", - "jest-environment-jsdom": "catalog:test", - "ts-jest": "catalog:test", - "ts-node": "catalog:test", - "typescript": "catalog:" + "@testing-library/jest-dom": "6.4.6", + "@testing-library/react": "16.0.0", + "@testing-library/user-event": "14.5.2", + "@types/jest": "29.5.12", + "@types/js-cookie": "3.0.6", + "@types/node": "22.7.2", + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", + "babel-jest": "29.7.0", + "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", + "ts-jest": "29.1.4", + "ts-node": "10.9.2", + "typescript": "5.4.5" }, "license": "MIT", "repository": { diff --git a/packages/utils/package.json b/packages/utils/package.json index 9bf2b0f7..8d519163 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -14,47 +14,47 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "dependencies": { - "axios": "catalog:", + "axios": "1.7.2", "events": "^3.3.0", - "expo-constants": "catalog:react-native-core", - "expo-secure-store": "catalog:react-native-core", + "expo-constants": "~17.0.3", + "expo-secure-store": "~14.0.0", "humps": "^2.0.1", - "js-cookie": "catalog:", + "js-cookie": "3.0.5", "jwt-decode": "^4.0.0", - "lodash": "catalog:", - "luxon": "catalog:", - "next": "catalog:", + "lodash": "4.17.21", + "luxon": "3.4.4", + "next": "14.3.0-canary.24", "qs": "^6.12.1", - "react-hook-form": "catalog:", - "react-native": "catalog:react-native-core", + "react-hook-form": "7.51.5", + "react-native": "0.76.3", "server-only": "^0.0.1", - "zustand": "catalog:" + "zustand": "4.5.2" }, "peerDependencies": { - "react": "catalog:react18" + "react": "18.3.1" }, "devDependencies": { "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/test": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@testing-library/jest-dom": "catalog:test", - "@testing-library/react": "catalog:test", - "@testing-library/user-event": "catalog:test", + "@testing-library/jest-dom": "6.4.6", + "@testing-library/react": "16.0.0", + "@testing-library/user-event": "14.5.2", "@types/humps": "^2.0.6", - "@types/jest": "catalog:test", - "@types/js-cookie": "catalog:", - "@types/lodash": "catalog:", - "@types/luxon": "catalog:", - "@types/node": "catalog:", + "@types/jest": "29.5.12", + "@types/js-cookie": "3.0.6", + "@types/lodash": "4.17.7", + "@types/luxon": "3.4.2", + "@types/node": "22.7.2", "@types/qs": "^6.9.7", - "@types/react": "catalog:react18", - "@types/react-dom": "catalog:react18", - "babel-jest": "catalog:test", - "jest": "catalog:test", - "jest-environment-jsdom": "catalog:test", - "ts-jest": "catalog:test", - "ts-node": "catalog:test", - "typescript": "catalog:" + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", + "babel-jest": "29.7.0", + "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", + "ts-jest": "29.1.4", + "ts-node": "10.9.2", + "typescript": "5.4.5" }, "license": "MIT", "repository": { diff --git a/packages/wagtail/package.json b/packages/wagtail/package.json index efd64615..3fe3946e 100644 --- a/packages/wagtail/package.json +++ b/packages/wagtail/package.json @@ -19,69 +19,69 @@ "cypress:open": "cypress open --browser chrome" }, "dependencies": { - "@mui/material": "catalog:material-ui", - "@mui/system": "catalog:material-ui", - "@storybook/react": "catalog:storybook", - "axios": "catalog:", - "graphql": "catalog:graphql", - "next": "catalog:", - "react-relay": "catalog:graphql" + "@mui/material": "5.15.19", + "@mui/system": "5.16.12", + "@storybook/react": "8.4.7", + "axios": "1.7.2", + "graphql": "16.8.1", + "next": "14.3.0-canary.24", + "react-relay": "16.2.0" }, "peerDependencies": { "@baseapp-frontend/design-system": "workspace:*", "@baseapp-frontend/graphql": "workspace:*", "@baseapp-frontend/utils": "workspace:*", - "react": "catalog:react18" + "react": "18.3.1" }, "devDependencies": { - "@babel/preset-env": "catalog:storybook", - "@babel/preset-react": "catalog:storybook", - "@babel/preset-typescript": "catalog:storybook", + "@babel/preset-env": "7.26.0", + "@babel/preset-react": "7.25.9", + "@babel/preset-typescript": "7.26.0", "@baseapp-frontend/config": "workspace:*", "@baseapp-frontend/test": "workspace:*", "@baseapp-frontend/tsconfig": "workspace:*", - "@chromatic-com/storybook": "catalog:storybook", - "@cypress/webpack-dev-server": "catalog:test", - "@storybook/addon-essentials": "catalog:storybook", - "@storybook/addon-interactions": "catalog:storybook", - "@storybook/addon-links": "catalog:storybook", - "@storybook/addon-styling-webpack": "catalog:storybook", - "@storybook/addon-webpack5-compiler-babel": "catalog:storybook", - "@storybook/blocks": "catalog:storybook", - "@storybook/react-webpack5": "catalog:storybook", - "@storybook/test": "catalog:storybook", - "@tailwindcss/typography": "catalog:tailwind", - "@testing-library/cypress": "catalog:test", - "@types/js-cookie": "catalog:", - "@types/luxon": "catalog:", - "@types/react": "catalog:react18", - "@types/react-dom": "catalog:react18", - "@types/react-relay": "catalog:graphql", - "@types/relay-test-utils": "catalog:graphql", - "autoprefixer": "catalog:tailwind", - "babel-loader": "catalog:storybook", - "babel-plugin-relay": "catalog:graphql", - "css-loader": "catalog:storybook", - "cypress": "catalog:test", - "cypress-plugin-steps": "catalog:test", + "@chromatic-com/storybook": "3.2.3", + "@cypress/webpack-dev-server": "3.10.1", + "@storybook/addon-essentials": "8.4.7", + "@storybook/addon-interactions": "8.4.7", + "@storybook/addon-links": "8.4.7", + "@storybook/addon-styling-webpack": "1.0.1", + "@storybook/addon-webpack5-compiler-babel": "3.0.3", + "@storybook/blocks": "8.4.7", + "@storybook/react-webpack5": "8.4.7", + "@storybook/test": "8.4.7", + "@tailwindcss/typography": "0.5.13", + "@testing-library/cypress": "10.0.2", + "@types/js-cookie": "3.0.6", + "@types/luxon": "3.4.2", + "@types/react": "18.3.3", + "@types/react-dom": "18.3.0", + "@types/react-relay": "16.0.6", + "@types/relay-test-utils": "14.1.4", + "autoprefixer": "10.4.19", + "babel-loader": "9.2.1", + "babel-plugin-relay": "17.0.0", + "css-loader": "7.1.2", + "cypress": "13.16.1", + "cypress-plugin-steps": "1.1.1", "dotenv": "^16.4.5", "dotenv-cli": "^7.4.2", - "eslint-plugin-storybook": "catalog:lint", - "get-graphql-schema": "catalog:graphql", - "html-webpack-plugin": "catalog:storybook", - "msw": "catalog:storybook", - "msw-storybook-addon": "catalog:storybook", - "postcss": "catalog:tailwind", - "postcss-loader": "catalog:storybook", - "relay-compiler": "catalog:graphql", - "relay-test-utils": "catalog:graphql", - "storybook": "catalog:storybook", - "style-loader": "catalog:storybook", - "tailwindcss": "catalog:tailwind", - "typescript": "catalog:", - "webpack": "catalog:storybook", - "webpack-cli": "catalog:storybook", - "webpack-dev-server": "catalog:storybook" + "eslint-plugin-storybook": "^0.8.0", + "get-graphql-schema": "2.1.2", + "html-webpack-plugin": "5.6.0", + "msw": "2.6.6", + "msw-storybook-addon": "2.0.4", + "postcss": "8.4.38", + "postcss-loader": "8.1.1", + "relay-compiler": "16.2.0", + "relay-test-utils": "17.0.0", + "storybook": "8.4.7", + "style-loader": "4.0.0", + "tailwindcss": "3.4.4", + "typescript": "5.4.5", + "webpack": "5.93.0", + "webpack-cli": "5.1.4", + "webpack-dev-server": "5.0.4" }, "license": "MIT", "repository": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2f6e2614..dfea4c34 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,149 +6,16 @@ settings: catalogs: default: - '@hookform/resolvers': - specifier: 3.6.0 - version: 3.6.0 - '@tanstack/react-query': - specifier: 5.45.1 - version: 5.45.1 - '@types/js-cookie': - specifier: 3.0.6 - version: 3.0.6 - '@types/lodash': - specifier: 4.17.7 - version: 4.17.7 - '@types/luxon': - specifier: 3.4.2 - version: 3.4.2 '@types/node': specifier: 22.7.2 version: 22.7.2 - axios: - specifier: 1.7.2 - version: 1.7.2 - jotai: - specifier: 2.9.3 - version: 2.9.3 - js-cookie: - specifier: 3.0.5 - version: 3.0.5 - lodash: - specifier: 4.17.21 - version: 4.17.21 - luxon: - specifier: 3.4.4 - version: 3.4.4 - next: - specifier: 14.3.0-canary.24 - version: 14.3.0-canary.24 - react-hook-form: - specifier: 7.51.5 - version: 7.51.5 - react-virtuoso: - specifier: 4.7.11 - version: 4.7.11 - tsup: - specifier: 8.3.6 - version: 8.3.6 typescript: specifier: 5.4.5 version: 5.4.5 - zod: - specifier: 3.24.1 - version: 3.24.1 - zustand: - specifier: 4.5.2 - version: 4.5.2 - graphql: - '@types/react-relay': - specifier: 16.0.6 - version: 16.0.6 - '@types/relay-runtime': - specifier: 17.0.3 - version: 17.0.3 - '@types/relay-test-utils': - specifier: 14.1.4 - version: 14.1.4 - babel-plugin-relay: - specifier: 17.0.0 - version: 17.0.0 - get-graphql-schema: - specifier: 2.1.2 - version: 2.1.2 - graphql: - specifier: 16.8.1 - version: 16.8.1 - graphql-ws: - specifier: 5.16.0 - version: 5.16.0 - isomorphic-ws: - specifier: 5.0.0 - version: 5.0.0 - react-relay: - specifier: 16.2.0 - version: 16.2.0 - relay-compiler: - specifier: 16.2.0 - version: 16.2.0 - relay-connection-handler-plus: - specifier: 0.1.2 - version: 0.1.2 - relay-runtime: - specifier: 16.2.0 - version: 16.2.0 - relay-test-utils: - specifier: 17.0.0 - version: 17.0.0 lint: - '@emotion/eslint-plugin': - specifier: ^11.11.0 - version: 11.12.0 - '@next/eslint-plugin-next': - specifier: ^13.1.6 - version: 13.5.8 - '@trivago/prettier-plugin-sort-imports': - specifier: ^4.3.0 - version: 4.3.0 - '@types/eslint': - specifier: ^9.6.1 - version: 9.6.1 - '@typescript-eslint/eslint-plugin': - specifier: ^5.59.11 - version: 5.62.0 - '@typescript-eslint/parser': - specifier: ^5.29.0 - version: 5.62.0 eslint: specifier: ^8.42.0 version: 8.57.1 - eslint-config-airbnb: - specifier: ^19.0.4 - version: 19.0.4 - eslint-config-airbnb-typescript: - specifier: ^17.0.0 - version: 17.1.0 - eslint-config-next: - specifier: ^13.4.6 - version: 13.5.8 - eslint-config-prettier: - specifier: ^8.8.0 - version: 8.10.0 - eslint-plugin-import: - specifier: ^2.26.0 - version: 2.31.0 - eslint-plugin-jsx-a11y: - specifier: ^6.6.1 - version: 6.10.2 - eslint-plugin-react: - specifier: ^7.31.11 - version: 7.37.4 - eslint-plugin-react-hooks: - specifier: ^4.6.0 - version: 4.6.2 - eslint-plugin-storybook: - specifier: ^0.8.0 - version: 0.8.0 husky: specifier: ^9.1.6 version: 9.1.7 @@ -158,222 +25,6 @@ catalogs: prettier: specifier: ^3.3.3 version: 3.4.2 - prettier-plugin-tailwindcss: - specifier: ^0.6.3 - version: 0.6.11 - material-ui: - '@emotion/cache': - specifier: 11.11.0 - version: 11.11.0 - '@emotion/react': - specifier: 11.11.4 - version: 11.11.4 - '@emotion/styled': - specifier: 11.11.5 - version: 11.11.5 - '@mui/icons-material': - specifier: 5.15.19 - version: 5.15.19 - '@mui/lab': - specifier: 5.0.0-alpha.170 - version: 5.0.0-alpha.170 - '@mui/material': - specifier: 5.15.19 - version: 5.15.19 - '@mui/material-nextjs': - specifier: 6.1.4 - version: 6.1.4 - '@mui/system': - specifier: 5.16.12 - version: 5.16.12 - '@mui/x-date-pickers': - specifier: 7.6.2 - version: 7.6.2 - react-native-core: - '@gorhom/bottom-sheet': - specifier: ^5.0.6 - version: 5.0.6 - '@react-navigation/drawer': - specifier: ^7.0.19 - version: 7.1.1 - '@react-navigation/native': - specifier: ^7.0.6 - version: 7.0.14 - expo-constants: - specifier: ~17.0.3 - version: 17.0.5 - expo-file-system: - specifier: ~18.0.6 - version: 18.0.8 - expo-image-picker: - specifier: ~16.0.4 - version: 16.0.5 - expo-router: - specifier: ~4.0.5 - version: 4.0.17 - expo-secure-store: - specifier: ~14.0.0 - version: 14.0.1 - react-native: - specifier: 0.76.3 - version: 0.76.3 - react-native-gesture-handler: - specifier: ~2.20.2 - version: 2.20.2 - react-native-paper: - specifier: ^5.12.5 - version: 5.13.1 - react-native-reanimated: - specifier: ~3.16.3 - version: 3.16.7 - react18: - '@types/react': - specifier: 18.3.3 - version: 18.3.3 - '@types/react-dom': - specifier: 18.3.0 - version: 18.3.0 - react: - specifier: 18.3.1 - version: 18.3.1 - react-dom: - specifier: 18.3.1 - version: 18.3.1 - storybook: - '@babel/preset-env': - specifier: 7.26.0 - version: 7.26.0 - '@babel/preset-react': - specifier: 7.25.9 - version: 7.25.9 - '@babel/preset-typescript': - specifier: 7.26.0 - version: 7.26.0 - '@chromatic-com/storybook': - specifier: 3.2.3 - version: 3.2.3 - '@storybook/addon-docs': - specifier: 8.4.7 - version: 8.4.7 - '@storybook/addon-essentials': - specifier: 8.4.7 - version: 8.4.7 - '@storybook/addon-interactions': - specifier: 8.4.7 - version: 8.4.7 - '@storybook/addon-links': - specifier: 8.4.7 - version: 8.4.7 - '@storybook/addon-styling-webpack': - specifier: 1.0.1 - version: 1.0.1 - '@storybook/addon-webpack5-compiler-babel': - specifier: 3.0.3 - version: 3.0.3 - '@storybook/blocks': - specifier: 8.4.7 - version: 8.4.7 - '@storybook/react': - specifier: 8.4.7 - version: 8.4.7 - '@storybook/react-webpack5': - specifier: 8.4.7 - version: 8.4.7 - '@storybook/test': - specifier: 8.4.7 - version: 8.4.7 - babel-loader: - specifier: 9.2.1 - version: 9.2.1 - css-loader: - specifier: 7.1.2 - version: 7.1.2 - html-webpack-plugin: - specifier: 5.6.0 - version: 5.6.0 - msw: - specifier: 2.6.6 - version: 2.6.6 - msw-storybook-addon: - specifier: 2.0.4 - version: 2.0.4 - postcss-loader: - specifier: 8.1.1 - version: 8.1.1 - storybook: - specifier: 8.4.7 - version: 8.4.7 - style-loader: - specifier: 4.0.0 - version: 4.0.0 - webpack: - specifier: 5.93.0 - version: 5.93.0 - webpack-cli: - specifier: 5.1.4 - version: 5.1.4 - webpack-dev-server: - specifier: 5.0.4 - version: 5.0.4 - tailwind: - '@tailwindcss/typography': - specifier: 0.5.13 - version: 0.5.13 - autoprefixer: - specifier: 10.4.19 - version: 10.4.19 - postcss: - specifier: 8.4.38 - version: 8.4.38 - tailwindcss: - specifier: 3.4.4 - version: 3.4.4 - test: - '@cypress/webpack-dev-server': - specifier: 3.10.1 - version: 3.10.1 - '@faker-js/faker': - specifier: ^9.0.3 - version: 9.4.0 - '@testing-library/cypress': - specifier: 10.0.2 - version: 10.0.2 - '@testing-library/jest-dom': - specifier: 6.4.6 - version: 6.4.6 - '@testing-library/react': - specifier: 16.0.0 - version: 16.0.0 - '@testing-library/user-event': - specifier: 14.5.2 - version: 14.5.2 - '@types/jest': - specifier: 29.5.12 - version: 29.5.12 - babel-jest: - specifier: 29.7.0 - version: 29.7.0 - cypress: - specifier: 13.16.1 - version: 13.16.1 - cypress-plugin-steps: - specifier: 1.1.1 - version: 1.1.1 - cypress-wait-until: - specifier: 3.0.2 - version: 3.0.2 - jest: - specifier: 29.7.0 - version: 29.7.0 - jest-environment-jsdom: - specifier: 29.7.0 - version: 29.7.0 - ts-jest: - specifier: 29.1.4 - version: 29.1.4 - ts-node: - specifier: 10.9.2 - version: 10.9.2 overrides: wrap-ansi: 7.0.0 @@ -423,25 +74,25 @@ importers: specifier: workspace:* version: link:../utils '@hookform/resolvers': - specifier: 'catalog:' + specifier: 3.6.0 version: 3.6.0(react-hook-form@7.51.5(react@18.3.1)) '@tanstack/react-query': - specifier: 'catalog:' + specifier: 5.45.1 version: 5.45.1(react@18.3.1) jotai: - specifier: 'catalog:' + specifier: 2.9.3 version: 2.9.3(@types/react@18.3.3)(react@18.3.1) js-cookie: - specifier: 'catalog:' + specifier: 3.0.5 version: 3.0.5 react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 react-hook-form: - specifier: 'catalog:' + specifier: 7.51.5 version: 7.51.5(react@18.3.1) zod: - specifier: 'catalog:' + specifier: 3.24.1 version: 3.24.1 devDependencies: '@baseapp-frontend/config': @@ -457,49 +108,49 @@ importers: specifier: workspace:* version: link:../tsconfig '@faker-js/faker': - specifier: catalog:test + specifier: ^9.0.3 version: 9.4.0 '@testing-library/jest-dom': - specifier: catalog:test + specifier: 6.4.6 version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': - specifier: catalog:test + specifier: 16.0.0 version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@testing-library/user-event': - specifier: catalog:test + specifier: 14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) '@types/jest': - specifier: catalog:test + specifier: 29.5.12 version: 29.5.12 '@types/js-cookie': - specifier: 'catalog:' + specifier: 3.0.6 version: 3.0.6 '@types/node': - specifier: 'catalog:' + specifier: 22.7.2 version: 22.7.2 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: catalog:react18 + specifier: 18.3.0 version: 18.3.0 babel-jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@babel/core@7.26.7) jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0 ts-jest: - specifier: catalog:test + specifier: 29.1.4 version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: - specifier: catalog:test + specifier: 10.9.2 version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 packages/components: @@ -517,94 +168,94 @@ importers: specifier: workspace:* version: link:../utils '@emotion/cache': - specifier: catalog:material-ui + specifier: 11.11.0 version: 11.11.0 '@emotion/react': - specifier: catalog:material-ui + specifier: 11.11.4 version: 11.11.4(@types/react@18.3.3)(react@18.3.1) '@emotion/styled': - specifier: catalog:material-ui + specifier: 11.11.5 version: 11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@gorhom/bottom-sheet': - specifier: catalog:react-native-core + specifier: ^5.0.6 version: 5.0.6(@types/react@18.3.3)(react-native-gesture-handler@2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) '@hookform/resolvers': - specifier: 'catalog:' + specifier: 3.6.0 version: 3.6.0(react-hook-form@7.51.5(react@18.3.1)) '@mui/icons-material': - specifier: catalog:material-ui + specifier: 5.15.19 version: 5.15.19(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@mui/lab': - specifier: catalog:material-ui + specifier: 5.0.0-alpha.170 version: 5.0.0-alpha.170(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material': - specifier: catalog:material-ui + specifier: 5.15.19 version: 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/system': - specifier: catalog:material-ui + specifier: 5.16.12 version: 5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@mui/x-date-pickers': - specifier: catalog:material-ui + specifier: 7.6.2 version: 7.6.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(dayjs@1.11.13)(luxon@3.4.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/react': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) '@tanstack/react-query': - specifier: 'catalog:' + specifier: 5.45.1 version: 5.45.1(react@18.3.1) expo-file-system: - specifier: catalog:react-native-core + specifier: ~18.0.6 version: 18.0.8(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) expo-image-picker: - specifier: catalog:react-native-core + specifier: ~16.0.4 version: 16.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(graphql@16.8.1)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) expo-router: - specifier: catalog:react-native-core + specifier: ~4.0.5 version: 4.0.17(c4log3y7thytwjue35umqzwa3y) framer-motion: specifier: ^11.5.4 version: 11.18.2(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) graphql: - specifier: catalog:graphql + specifier: 16.8.1 version: 16.8.1 js-cookie: - specifier: 'catalog:' + specifier: 3.0.5 version: 3.0.5 luxon: - specifier: 'catalog:' + specifier: 3.4.4 version: 3.4.4 next: - specifier: 'catalog:' + specifier: 14.3.0-canary.24 version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) numbro: specifier: ^2.5.0 version: 2.5.0 react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 react-dom: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1(react@18.3.1) react-hook-form: - specifier: 'catalog:' + specifier: 7.51.5 version: 7.51.5(react@18.3.1) react-native: - specifier: catalog:react-native-core + specifier: 0.76.3 version: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) react-native-gesture-handler: - specifier: catalog:react-native-core + specifier: ~2.20.2 version: 2.20.2(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) react-relay: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0(react@18.3.1) react-virtuoso: - specifier: 'catalog:' + specifier: 4.7.11 version: 4.7.11(react-dom@18.3.1(react@18.3.1))(react@18.3.1) relay-connection-handler-plus: - specifier: catalog:graphql + specifier: 0.1.2 version: 0.1.2(relay-runtime@16.2.0) relay-runtime: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0 slugify: specifier: ^1.6.6 @@ -613,23 +264,23 @@ importers: specifier: ^3.2.0 version: 3.2.0(react@18.3.1) zod: - specifier: 'catalog:' + specifier: 3.24.1 version: 3.24.1 zustand: - specifier: 'catalog:' + specifier: 4.5.2 version: 4.5.2(@types/react@18.3.3)(react@18.3.1) devDependencies: '@babel/cli': specifier: ^7.26.4 version: 7.26.4(@babel/core@7.26.7) '@babel/preset-env': - specifier: catalog:storybook + specifier: 7.26.0 version: 7.26.0(@babel/core@7.26.7) '@babel/preset-react': - specifier: catalog:storybook + specifier: 7.25.9 version: 7.25.9(@babel/core@7.26.7) '@babel/preset-typescript': - specifier: catalog:storybook + specifier: 7.26.0 version: 7.26.0(@babel/core@7.26.7) '@baseapp-frontend/config': specifier: workspace:* @@ -641,103 +292,103 @@ importers: specifier: workspace:* version: link:../tsconfig '@chromatic-com/storybook': - specifier: catalog:storybook + specifier: 3.2.3 version: 3.2.3(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@cypress/webpack-dev-server': - specifier: catalog:test + specifier: 3.10.1 version: 3.10.1(webpack-cli@5.1.4)(webpack@5.93.0) '@faker-js/faker': - specifier: catalog:test + specifier: ^9.0.3 version: 9.4.0 '@storybook/addon-docs': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@types/react@18.3.3)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-essentials': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@types/react@18.3.3)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-interactions': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-links': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-styling-webpack': - specifier: catalog:storybook + specifier: 1.0.1 version: 1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0) '@storybook/addon-webpack5-compiler-babel': - specifier: catalog:storybook + specifier: 3.0.3 version: 3.0.3(webpack@5.93.0) '@storybook/blocks': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-webpack5': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) '@storybook/test': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@tailwindcss/typography': - specifier: catalog:tailwind + specifier: 0.5.13 version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/cypress': - specifier: catalog:test + specifier: 10.0.2 version: 10.0.2(cypress@13.16.1) '@testing-library/jest-dom': - specifier: catalog:test + specifier: 6.4.6 version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': - specifier: catalog:test + specifier: 16.0.0 version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@testing-library/user-event': - specifier: catalog:test + specifier: 14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) '@types/jest': - specifier: catalog:test + specifier: 29.5.12 version: 29.5.12 '@types/js-cookie': - specifier: 'catalog:' + specifier: 3.0.6 version: 3.0.6 '@types/luxon': - specifier: 'catalog:' + specifier: 3.4.2 version: 3.4.2 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: catalog:react18 + specifier: 18.3.0 version: 18.3.0 '@types/react-relay': - specifier: catalog:graphql + specifier: 16.0.6 version: 16.0.6 '@types/relay-runtime': - specifier: catalog:graphql + specifier: 17.0.3 version: 17.0.3 '@types/relay-test-utils': - specifier: catalog:graphql + specifier: 14.1.4 version: 14.1.4 autoprefixer: - specifier: catalog:tailwind + specifier: 10.4.19 version: 10.4.19(postcss@8.4.38) babel-jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@babel/core@7.26.7) babel-loader: - specifier: catalog:storybook + specifier: 9.2.1 version: 9.2.1(@babel/core@7.26.7)(webpack@5.93.0) babel-plugin-relay: - specifier: catalog:graphql + specifier: 17.0.0 version: 17.0.0 css-loader: - specifier: catalog:storybook + specifier: 7.1.2 version: 7.1.2(webpack@5.93.0) cypress: - specifier: catalog:test + specifier: 13.16.1 version: 13.16.1 cypress-plugin-steps: - specifier: catalog:test + specifier: 1.1.1 version: 1.1.1(cypress@13.16.1) cypress-wait-until: - specifier: catalog:test + specifier: 3.0.2 version: 3.0.2 dotenv: specifier: ^16.4.5 @@ -746,70 +397,70 @@ importers: specifier: ^7.4.2 version: 7.4.4 eslint-plugin-storybook: - specifier: catalog:lint + specifier: ^0.8.0 version: 0.8.0(eslint@8.57.1)(typescript@5.4.5) get-graphql-schema: - specifier: catalog:graphql + specifier: 2.1.2 version: 2.1.2 html-webpack-plugin: - specifier: catalog:storybook + specifier: 5.6.0 version: 5.6.0(webpack@5.93.0) jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0 jotai: - specifier: 'catalog:' + specifier: 2.9.3 version: 2.9.3(@types/react@18.3.3)(react@18.3.1) msw: - specifier: catalog:storybook + specifier: 2.6.6 version: 2.6.6(@types/node@22.7.2)(typescript@5.4.5) msw-storybook-addon: - specifier: catalog:storybook + specifier: 2.0.4 version: 2.0.4(msw@2.6.6(@types/node@22.7.2)(typescript@5.4.5)) postcss: - specifier: catalog:tailwind + specifier: 8.4.38 version: 8.4.38 postcss-loader: - specifier: catalog:storybook + specifier: 8.1.1 version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.93.0) relay-compiler: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0 relay-test-utils: - specifier: catalog:graphql + specifier: 17.0.0 version: 17.0.0 storybook: - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(prettier@3.4.2) style-loader: - specifier: catalog:storybook + specifier: 4.0.0 version: 4.0.0(webpack@5.93.0) tailwindcss: - specifier: catalog:tailwind + specifier: 3.4.4 version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) ts-jest: - specifier: catalog:test + specifier: 29.1.4 version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: - specifier: catalog:test + specifier: 10.9.2 version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) tsup: - specifier: 'catalog:' + specifier: 8.3.6 version: 8.3.6(@swc/core@1.10.12(@swc/helpers@0.5.15))(jiti@1.21.7)(postcss@8.4.38)(typescript@5.4.5)(yaml@2.7.0) typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 webpack: - specifier: catalog:storybook + specifier: 5.93.0 version: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(esbuild@0.24.2)(webpack-cli@5.1.4) webpack-cli: - specifier: catalog:storybook + specifier: 5.1.4 version: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) webpack-dev-server: - specifier: catalog:storybook + specifier: 5.0.4 version: 5.0.4(webpack-cli@5.1.4)(webpack@5.93.0) packages/config: @@ -818,52 +469,52 @@ importers: specifier: workspace:* version: link:../eslint-plugin '@emotion/eslint-plugin': - specifier: catalog:lint + specifier: ^11.11.0 version: 11.12.0(eslint@8.57.1)(typescript@5.4.5) '@next/eslint-plugin-next': - specifier: catalog:lint + specifier: ^13.1.6 version: 13.5.8 '@trivago/prettier-plugin-sort-imports': - specifier: catalog:lint + specifier: ^4.3.0 version: 4.3.0(prettier@3.4.2) '@typescript-eslint/eslint-plugin': - specifier: catalog:lint + specifier: ^5.59.11 version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5) '@typescript-eslint/parser': - specifier: catalog:lint + specifier: ^5.29.0 version: 5.62.0(eslint@8.57.1)(typescript@5.4.5) eslint: - specifier: catalog:lint + specifier: ^8.42.0 version: 8.57.1 eslint-config-airbnb: - specifier: catalog:lint + specifier: ^19.0.4 version: 19.0.4(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.37.4(eslint@8.57.1))(eslint@8.57.1) eslint-config-airbnb-typescript: - specifier: catalog:lint + specifier: ^17.0.0 version: 17.1.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5))(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1) eslint-config-next: - specifier: catalog:lint + specifier: ^13.4.6 version: 13.5.8(eslint@8.57.1)(typescript@5.4.5) eslint-config-prettier: - specifier: catalog:lint + specifier: ^8.8.0 version: 8.10.0(eslint@8.57.1) eslint-plugin-import: - specifier: catalog:lint + specifier: ^2.26.0 version: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-jsx-a11y: - specifier: catalog:lint + specifier: ^6.6.1 version: 6.10.2(eslint@8.57.1) eslint-plugin-react: - specifier: catalog:lint + specifier: ^7.31.11 version: 7.37.4(eslint@8.57.1) eslint-plugin-react-hooks: - specifier: catalog:lint + specifier: ^4.6.0 version: 4.6.2(eslint@8.57.1) prettier: - specifier: catalog:lint + specifier: ^3.3.3 version: 3.4.2 prettier-plugin-tailwindcss: - specifier: catalog:lint + specifier: ^0.6.3 version: 0.6.11(@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.4.2))(prettier@3.4.2) packages/design-system: @@ -872,91 +523,91 @@ importers: specifier: workspace:* version: link:../utils '@emotion/cache': - specifier: catalog:material-ui + specifier: 11.11.0 version: 11.11.0 '@emotion/react': - specifier: catalog:material-ui + specifier: 11.11.4 version: 11.11.4(@types/react@18.3.3)(react@18.3.1) '@emotion/styled': - specifier: catalog:material-ui + specifier: 11.11.5 version: 11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@expo/vector-icons': specifier: ^14.0.4 version: 14.0.4 '@gorhom/bottom-sheet': - specifier: catalog:react-native-core + specifier: ^5.0.6 version: 5.0.6(@types/react@18.3.3)(react-native-gesture-handler@2.22.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-reanimated@3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) '@iconify/react': specifier: ^5.0.1 version: 5.2.0(react@18.3.1) '@mui/icons-material': - specifier: catalog:material-ui + specifier: 5.15.19 version: 5.15.19(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@mui/lab': - specifier: catalog:material-ui + specifier: 5.0.0-alpha.170 version: 5.0.0-alpha.170(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material': - specifier: catalog:material-ui + specifier: 5.15.19 version: 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material-nextjs': - specifier: catalog:material-ui + specifier: 6.1.4 version: 6.1.4(@emotion/cache@11.11.0)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(next@14.3.0-canary.24(@babel/core@7.26.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@mui/system': - specifier: catalog:material-ui + specifier: 5.16.12 version: 5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@mui/x-date-pickers': - specifier: catalog:material-ui + specifier: 7.6.2 version: 7.6.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(dayjs@1.11.13)(luxon@3.4.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@react-navigation/drawer': - specifier: catalog:react-native-core + specifier: ^7.0.19 version: 7.1.1(spdwnyxuaxm5ofzxwman2mtlfu) '@react-navigation/native': - specifier: catalog:react-native-core + specifier: ^7.0.6 version: 7.0.14(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) '@storybook/react': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) color: specifier: ^4.2.3 version: 4.2.3 expo-router: - specifier: catalog:react-native-core + specifier: ~4.0.5 version: 4.0.17(h6bmitmr6bi5wwxdmjsyclx5wa) framer-motion: specifier: ^11.2.10 version: 11.18.2(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) jotai: - specifier: 'catalog:' + specifier: 2.9.3 version: 2.9.3(@types/react@18.3.3)(react@18.3.1) lodash: - specifier: 'catalog:' + specifier: 4.17.21 version: 4.17.21 next: - specifier: 'catalog:' + specifier: 14.3.0-canary.24 version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 react-dom: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1(react@18.3.1) react-dropzone: specifier: ^14.2.3 version: 14.3.5(react@18.3.1) react-hook-form: - specifier: 'catalog:' + specifier: 7.51.5 version: 7.51.5(react@18.3.1) react-lazy-load-image-component: specifier: ^1.6.2 version: 1.6.3(react@18.3.1) react-native: - specifier: catalog:react-native-core + specifier: 0.76.3 version: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) react-native-paper: - specifier: catalog:react-native-core + specifier: ^5.12.5 version: 5.13.1(react-native-safe-area-context@5.1.0(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native-vector-icons@10.2.0)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) react-native-reanimated: - specifier: catalog:react-native-core + specifier: ~3.16.3 version: 3.16.7(@babel/core@7.26.7)(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) react-native-svg: specifier: ^15.9.0 @@ -966,13 +617,13 @@ importers: version: 3.3.0(react@18.3.1) devDependencies: '@babel/preset-env': - specifier: catalog:storybook + specifier: 7.26.0 version: 7.26.0(@babel/core@7.26.7) '@babel/preset-react': - specifier: catalog:storybook + specifier: 7.25.9 version: 7.25.9(@babel/core@7.26.7) '@babel/preset-typescript': - specifier: catalog:storybook + specifier: 7.26.0 version: 7.26.0(@babel/core@7.26.7) '@baseapp-frontend/config': specifier: workspace:* @@ -984,107 +635,107 @@ importers: specifier: workspace:* version: link:../tsconfig '@chromatic-com/storybook': - specifier: catalog:storybook + specifier: 3.2.3 version: 3.2.3(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-docs': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@types/react@18.3.3)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-essentials': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@types/react@18.3.3)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-interactions': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-links': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-styling-webpack': - specifier: catalog:storybook + specifier: 1.0.1 version: 1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) '@storybook/addon-webpack5-compiler-babel': - specifier: catalog:storybook + specifier: 3.0.3 version: 3.0.3(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) '@storybook/blocks': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-webpack5': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) '@storybook/test': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@tailwindcss/typography': - specifier: catalog:tailwind + specifier: 0.5.13 version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@types/color': specifier: ^4.2.0 version: 4.2.0 '@types/lodash': - specifier: 'catalog:' + specifier: 4.17.7 version: 4.17.7 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: catalog:react18 + specifier: 18.3.0 version: 18.3.0 autoprefixer: - specifier: catalog:tailwind + specifier: 10.4.19 version: 10.4.19(postcss@8.4.38) chokidar-cli: specifier: ^3.0.0 version: 3.0.0 css-loader: - specifier: catalog:storybook + specifier: 7.1.2 version: 7.1.2(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) eslint-plugin-storybook: - specifier: catalog:lint + specifier: ^0.8.0 version: 0.8.0(eslint@8.57.1)(typescript@5.4.5) postcss: - specifier: catalog:tailwind + specifier: 8.4.38 version: 8.4.38 postcss-loader: - specifier: catalog:storybook + specifier: 8.1.1 version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) storybook: - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(prettier@3.4.2) style-loader: - specifier: catalog:storybook + specifier: 4.0.0 version: 4.0.0(webpack@5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))) tailwindcss: - specifier: catalog:tailwind + specifier: 3.4.4 version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) tsup: - specifier: 'catalog:' + specifier: 8.3.6 version: 8.3.6(@swc/core@1.10.12(@swc/helpers@0.5.15))(jiti@1.21.7)(postcss@8.4.38)(typescript@5.4.5)(yaml@2.7.0) typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 packages/eslint-plugin: dependencies: eslint: - specifier: catalog:lint + specifier: ^8.42.0 version: 8.57.1 devDependencies: '@baseapp-frontend/tsconfig': specifier: workspace:* version: link:../tsconfig '@types/eslint': - specifier: catalog:lint + specifier: ^9.6.1 version: 9.6.1 '@types/jest': - specifier: catalog:test + specifier: 29.5.12 version: 29.5.12 parcel: specifier: ^2.12.0 version: 2.13.3(@swc/helpers@0.5.15)(postcss@8.4.38)(relateurl@0.2.7)(terser@5.37.0)(typescript@5.4.5) ts-node: - specifier: catalog:test + specifier: 10.9.2 version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 packages/graphql: @@ -1093,31 +744,31 @@ importers: specifier: workspace:* version: link:../utils graphql: - specifier: catalog:graphql + specifier: 16.8.1 version: 16.8.1 graphql-ws: - specifier: catalog:graphql + specifier: 5.16.0 version: 5.16.0(graphql@16.8.1) isomorphic-ws: - specifier: catalog:graphql + specifier: 5.0.0 version: 5.0.0(ws@8.18.0) js-cookie: - specifier: 'catalog:' + specifier: 3.0.5 version: 3.0.5 react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 react-relay: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0(react@18.3.1) relay-connection-handler-plus: - specifier: catalog:graphql + specifier: 0.1.2 version: 0.1.2(relay-runtime@16.2.0) relay-runtime: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0 relay-test-utils: - specifier: catalog:graphql + specifier: 17.0.0 version: 17.0.0 devDependencies: '@baseapp-frontend/config': @@ -1127,28 +778,28 @@ importers: specifier: workspace:* version: link:../tsconfig '@types/js-cookie': - specifier: 'catalog:' + specifier: 3.0.6 version: 3.0.6 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: catalog:react18 + specifier: 18.3.0 version: 18.3.0 '@types/react-relay': - specifier: catalog:graphql + specifier: 16.0.6 version: 16.0.6 '@types/relay-runtime': - specifier: catalog:graphql + specifier: 17.0.3 version: 17.0.3 '@types/relay-test-utils': - specifier: catalog:graphql + specifier: 14.1.4 version: 14.1.4 relay-compiler: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0 typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 packages/provider: @@ -1157,13 +808,13 @@ importers: specifier: workspace:* version: link:../utils '@tanstack/react-query': - specifier: 'catalog:' + specifier: 5.45.1 version: 5.45.1(react@18.3.1) lodash: - specifier: 'catalog:' + specifier: 4.17.21 version: 4.17.21 react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 devDependencies: '@baseapp-frontend/config': @@ -1173,37 +824,37 @@ importers: specifier: workspace:* version: link:../tsconfig '@types/lodash': - specifier: 'catalog:' + specifier: 4.17.7 version: 4.17.7 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 packages/test: dependencies: '@emotion/cache': - specifier: catalog:material-ui + specifier: 11.11.0 version: 11.11.0 '@emotion/react': - specifier: catalog:material-ui + specifier: 11.11.4 version: 11.11.4(@types/react@18.3.3)(react@18.3.1) '@mui/material': - specifier: catalog:material-ui + specifier: 5.15.19 version: 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-query': - specifier: 'catalog:' + specifier: 5.45.1 version: 5.45.1(react@18.3.1) axios-mock-adapter: specifier: ^1.22.0 version: 1.22.0(axios@1.7.2) js-cookie: - specifier: 'catalog:' + specifier: 3.0.5 version: 3.0.5 react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 devDependencies: '@baseapp-frontend/config': @@ -1213,46 +864,46 @@ importers: specifier: workspace:* version: link:../tsconfig '@testing-library/jest-dom': - specifier: catalog:test + specifier: 6.4.6 version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': - specifier: catalog:test + specifier: 16.0.0 version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@testing-library/user-event': - specifier: catalog:test + specifier: 14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) '@types/jest': - specifier: catalog:test + specifier: 29.5.12 version: 29.5.12 '@types/js-cookie': - specifier: 'catalog:' + specifier: 3.0.6 version: 3.0.6 '@types/node': - specifier: 'catalog:' + specifier: 22.7.2 version: 22.7.2 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: catalog:react18 + specifier: 18.3.0 version: 18.3.0 babel-jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@babel/core@7.26.7) jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0 ts-jest: - specifier: catalog:test + specifier: 29.1.4 version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: - specifier: catalog:test + specifier: 10.9.2 version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 packages/tsconfig: {} @@ -1260,52 +911,52 @@ importers: packages/utils: dependencies: axios: - specifier: 'catalog:' + specifier: 1.7.2 version: 1.7.2 events: specifier: ^3.3.0 version: 3.3.0 expo-constants: - specifier: catalog:react-native-core + specifier: ~17.0.3 version: 17.0.5(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)) expo-secure-store: - specifier: catalog:react-native-core + specifier: ~14.0.0 version: 14.0.1(expo@52.0.28(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@expo/metro-runtime@4.0.1(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1)))(react-native@0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) humps: specifier: ^2.0.1 version: 2.0.1 js-cookie: - specifier: 'catalog:' + specifier: 3.0.5 version: 3.0.5 jwt-decode: specifier: ^4.0.0 version: 4.0.0 lodash: - specifier: 'catalog:' + specifier: 4.17.21 version: 4.17.21 luxon: - specifier: 'catalog:' + specifier: 3.4.4 version: 3.4.4 next: - specifier: 'catalog:' + specifier: 14.3.0-canary.24 version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) qs: specifier: ^6.12.1 version: 6.14.0 react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 react-hook-form: - specifier: 'catalog:' + specifier: 7.51.5 version: 7.51.5(react@18.3.1) react-native: - specifier: catalog:react-native-core + specifier: 0.76.3 version: 0.76.3(@babel/core@7.26.7)(@babel/preset-env@7.26.0(@babel/core@7.26.7))(@types/react@18.3.3)(react@18.3.1) server-only: specifier: ^0.0.1 version: 0.0.1 zustand: - specifier: 'catalog:' + specifier: 4.5.2 version: 4.5.2(@types/react@18.3.3)(react@18.3.1) devDependencies: '@baseapp-frontend/config': @@ -1318,58 +969,58 @@ importers: specifier: workspace:* version: link:../tsconfig '@testing-library/jest-dom': - specifier: catalog:test + specifier: 6.4.6 version: 6.4.6(@jest/globals@29.7.0)(@types/jest@29.5.12)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/react': - specifier: catalog:test + specifier: 16.0.0 version: 16.0.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@testing-library/user-event': - specifier: catalog:test + specifier: 14.5.2 version: 14.5.2(@testing-library/dom@10.4.0) '@types/humps': specifier: ^2.0.6 version: 2.0.6 '@types/jest': - specifier: catalog:test + specifier: 29.5.12 version: 29.5.12 '@types/js-cookie': - specifier: 'catalog:' + specifier: 3.0.6 version: 3.0.6 '@types/lodash': - specifier: 'catalog:' + specifier: 4.17.7 version: 4.17.7 '@types/luxon': - specifier: 'catalog:' + specifier: 3.4.2 version: 3.4.2 '@types/node': - specifier: 'catalog:' + specifier: 22.7.2 version: 22.7.2 '@types/qs': specifier: ^6.9.7 version: 6.9.18 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: catalog:react18 + specifier: 18.3.0 version: 18.3.0 babel-jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@babel/core@7.26.7) jest: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) jest-environment-jsdom: - specifier: catalog:test + specifier: 29.7.0 version: 29.7.0 ts-jest: - specifier: catalog:test + specifier: 29.1.4 version: 29.1.4(@babel/core@7.26.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.7))(esbuild@0.24.2)(jest@29.7.0(@types/node@22.7.2)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)))(typescript@5.4.5) ts-node: - specifier: catalog:test + specifier: 10.9.2 version: 10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5) typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 packages/wagtail: @@ -1384,38 +1035,38 @@ importers: specifier: workspace:* version: link:../utils '@mui/material': - specifier: catalog:material-ui + specifier: 5.15.19 version: 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/system': - specifier: catalog:material-ui + specifier: 5.16.12 version: 5.16.12(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@storybook/react': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5) axios: - specifier: 'catalog:' + specifier: 1.7.2 version: 1.7.2 graphql: - specifier: catalog:graphql + specifier: 16.8.1 version: 16.8.1 next: - specifier: 'catalog:' + specifier: 14.3.0-canary.24 version: 14.3.0-canary.24(@babel/core@7.26.7)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: - specifier: catalog:react18 + specifier: 18.3.1 version: 18.3.1 react-relay: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0(react@18.3.1) devDependencies: '@babel/preset-env': - specifier: catalog:storybook + specifier: 7.26.0 version: 7.26.0(@babel/core@7.26.7) '@babel/preset-react': - specifier: catalog:storybook + specifier: 7.25.9 version: 7.25.9(@babel/core@7.26.7) '@babel/preset-typescript': - specifier: catalog:storybook + specifier: 7.26.0 version: 7.26.0(@babel/core@7.26.7) '@baseapp-frontend/config': specifier: workspace:* @@ -1427,76 +1078,76 @@ importers: specifier: workspace:* version: link:../tsconfig '@chromatic-com/storybook': - specifier: catalog:storybook + specifier: 3.2.3 version: 3.2.3(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@cypress/webpack-dev-server': - specifier: catalog:test + specifier: 3.10.1 version: 3.10.1(webpack-cli@5.1.4)(webpack@5.93.0) '@storybook/addon-essentials': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@types/react@18.3.3)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-interactions': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-links': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-styling-webpack': - specifier: catalog:storybook + specifier: 1.0.1 version: 1.0.1(storybook@8.4.7(prettier@3.4.2))(webpack@5.93.0) '@storybook/addon-webpack5-compiler-babel': - specifier: catalog:storybook + specifier: 3.0.3 version: 3.0.3(webpack@5.93.0) '@storybook/blocks': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-webpack5': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.4.2)))(@swc/core@1.10.12(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.4.5)(webpack-cli@5.1.4) '@storybook/test': - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@tailwindcss/typography': - specifier: catalog:tailwind + specifier: 0.5.13 version: 0.5.13(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5))) '@testing-library/cypress': - specifier: catalog:test + specifier: 10.0.2 version: 10.0.2(cypress@13.16.1) '@types/js-cookie': - specifier: 'catalog:' + specifier: 3.0.6 version: 3.0.6 '@types/luxon': - specifier: 'catalog:' + specifier: 3.4.2 version: 3.4.2 '@types/react': - specifier: catalog:react18 + specifier: 18.3.3 version: 18.3.3 '@types/react-dom': - specifier: catalog:react18 + specifier: 18.3.0 version: 18.3.0 '@types/react-relay': - specifier: catalog:graphql + specifier: 16.0.6 version: 16.0.6 '@types/relay-test-utils': - specifier: catalog:graphql + specifier: 14.1.4 version: 14.1.4 autoprefixer: - specifier: catalog:tailwind + specifier: 10.4.19 version: 10.4.19(postcss@8.4.38) babel-loader: - specifier: catalog:storybook + specifier: 9.2.1 version: 9.2.1(@babel/core@7.26.7)(webpack@5.93.0) babel-plugin-relay: - specifier: catalog:graphql + specifier: 17.0.0 version: 17.0.0 css-loader: - specifier: catalog:storybook + specifier: 7.1.2 version: 7.1.2(webpack@5.93.0) cypress: - specifier: catalog:test + specifier: 13.16.1 version: 13.16.1 cypress-plugin-steps: - specifier: catalog:test + specifier: 1.1.1 version: 1.1.1(cypress@13.16.1) dotenv: specifier: ^16.4.5 @@ -1505,52 +1156,52 @@ importers: specifier: ^7.4.2 version: 7.4.4 eslint-plugin-storybook: - specifier: catalog:lint + specifier: ^0.8.0 version: 0.8.0(eslint@8.57.1)(typescript@5.4.5) get-graphql-schema: - specifier: catalog:graphql + specifier: 2.1.2 version: 2.1.2 html-webpack-plugin: - specifier: catalog:storybook + specifier: 5.6.0 version: 5.6.0(webpack@5.93.0) msw: - specifier: catalog:storybook + specifier: 2.6.6 version: 2.6.6(@types/node@22.7.2)(typescript@5.4.5) msw-storybook-addon: - specifier: catalog:storybook + specifier: 2.0.4 version: 2.0.4(msw@2.6.6(@types/node@22.7.2)(typescript@5.4.5)) postcss: - specifier: catalog:tailwind + specifier: 8.4.38 version: 8.4.38 postcss-loader: - specifier: catalog:storybook + specifier: 8.1.1 version: 8.1.1(postcss@8.4.38)(typescript@5.4.5)(webpack@5.93.0) relay-compiler: - specifier: catalog:graphql + specifier: 16.2.0 version: 16.2.0 relay-test-utils: - specifier: catalog:graphql + specifier: 17.0.0 version: 17.0.0 storybook: - specifier: catalog:storybook + specifier: 8.4.7 version: 8.4.7(prettier@3.4.2) style-loader: - specifier: catalog:storybook + specifier: 4.0.0 version: 4.0.0(webpack@5.93.0) tailwindcss: - specifier: catalog:tailwind + specifier: 3.4.4 version: 3.4.4(ts-node@10.9.2(@swc/core@1.10.12(@swc/helpers@0.5.15))(@types/node@22.7.2)(typescript@5.4.5)) typescript: - specifier: 'catalog:' + specifier: 5.4.5 version: 5.4.5 webpack: - specifier: catalog:storybook + specifier: 5.93.0 version: 5.93.0(@swc/core@1.10.12(@swc/helpers@0.5.15))(webpack-cli@5.1.4) webpack-cli: - specifier: catalog:storybook + specifier: 5.1.4 version: 5.1.4(webpack-dev-server@5.0.4)(webpack@5.93.0) webpack-dev-server: - specifier: catalog:storybook + specifier: 5.0.4 version: 5.0.4(webpack-cli@5.1.4)(webpack@5.93.0) packages: @@ -12280,7 +11931,7 @@ snapshots: dependencies: '@babel/runtime': 7.26.7 '@emotion/babel-plugin': 11.13.5 - '@emotion/cache': 11.14.0 + '@emotion/cache': 11.11.0 '@emotion/serialize': 1.3.3 '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@18.3.1) '@emotion/utils': 1.4.2 From 4dc7aa002ae95ec62c1df7af1f140a958b035cc2 Mon Sep 17 00:00:00 2001 From: Alexandre Anicio Date: Fri, 7 Feb 2025 16:28:07 -0300 Subject: [PATCH 4/4] temp: add prepare scripts --- packages/components/package.json | 3 ++- packages/design-system/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index 1318a017..b1ca8b18 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -23,7 +23,8 @@ "cypress:open": "cypress open --browser chrome", "test:component": "cypress run --component --browser chrome --headed", "test:unit": "jest --config ./jest.config.ts", - "prepublishOnly": "pnpm run build" + "prepublishOnly": "pnpm run build", + "prepare": "pnpm run build" }, "exports": { "./shared/*": { diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 4ca82ce7..1dba7bd5 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -14,7 +14,8 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", "storybook": "storybook dev -p 6006", "storybook:build": "storybook build", - "prepublishOnly": "pnpm run build" + "prepublishOnly": "pnpm run build", + "prepare": "pnpm run build" }, "exports": { "./components/*": {