From e4fbb4785399dab6b44dc82c49afadaf40b750a3 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 11 Apr 2024 20:58:34 -0400 Subject: [PATCH] Start big update --- .editorconfig | 6 + .eslintrc.json | 11 + .vscode/settings.json | 17 +- index.html | 2 +- package.json | 10 + postcss.config.js | 8 + prettier.config.js | 7 + src/App.tsx | 18 +- .../avatar/AvatarEditorThumbnailsHelper.ts | 6 +- src/common/ButtonGroup.tsx | 22 - src/common/Flex.tsx | 4 +- src/common/Grid.tsx | 4 +- src/common/InfiniteGrid.tsx | 7 +- src/common/InfiniteScroll.tsx | 6 +- src/common/card/NitroCardHeaderView.tsx | 8 +- src/common/card/NitroCardSubHeaderView.tsx | 23 - src/common/card/NitroCardView.tsx | 4 +- .../accordion/NitroCardAccordionSetView.tsx | 4 +- src/common/card/index.ts | 3 +- .../card/tabs/NitroCardTabsItemView.tsx | 4 +- src/common/card/tabs/NitroCardTabsView.tsx | 2 +- .../draggable-window/DraggableWindow.tsx | 2 +- src/common/index.ts | 1 - src/common/layout/LayoutCounterTimeView.tsx | 11 +- .../layout/LayoutFurniIconImageView.tsx | 2 +- src/common/layout/LayoutGiftTagView.tsx | 12 +- src/common/layout/LayoutGridItem.tsx | 2 +- src/common/layout/LayoutImage.tsx | 2 +- src/common/layout/LayoutItemCountView.tsx | 2 +- src/common/layout/LayoutMiniCameraView.tsx | 2 +- .../layout/LayoutNotificationAlertView.tsx | 2 +- .../layout/LayoutNotificationBubbleView.tsx | 4 +- .../layout/LayoutPrizeProductImageView.tsx | 2 +- src/common/layout/LayoutProgressBar.tsx | 8 +- src/common/layout/LayoutRoomThumbnailView.tsx | 2 +- src/common/layout/LayoutTrophyView.tsx | 8 +- .../LayoutLimitedEditionCompletePlateView.tsx | 9 +- src/components/{main => }/MainView.tsx | 58 +- .../achievements/AchievementsView.tsx | 20 +- .../views/AchievementDetailsView.tsx | 18 +- .../achievement-list/AchievementListView.tsx | 2 +- .../AchievementsCategoryListItemView.tsx | 8 +- .../AchievementsCategoryListView.tsx | 2 +- .../AvatarEditorFigurePreviewView.tsx | 18 +- .../avatar-editor/AvatarEditorIcon.tsx | 38 +- .../avatar-editor/AvatarEditorModelView.tsx | 35 +- .../avatar-editor/AvatarEditorView.tsx | 26 +- .../AvatarEditorWardrobeView.tsx | 20 +- .../AvatarEditorFigureSetItemView.tsx | 7 +- .../figure-set/AvatarEditorFigureSetView.tsx | 11 +- .../AvatarEditorPaletteSetItemView.tsx | 5 +- .../AvatarEditorPaletteSetView.tsx | 11 +- src/components/camera/CameraWidgetView.tsx | 6 +- .../camera/views/CameraWidgetCaptureView.tsx | 10 +- .../camera/views/CameraWidgetCheckoutView.tsx | 60 +- .../views/CameraWidgetShowPhotoView.tsx | 4 +- .../views/editor/CameraWidgetEditorView.tsx | 28 +- .../CameraWidgetEffectListItemView.tsx | 6 +- .../CameraWidgetEffectListView.tsx | 2 +- src/components/campaign/CalendarItemView.tsx | 8 +- src/components/campaign/CalendarView.tsx | 30 +- src/components/campaign/CampaignView.tsx | 2 +- src/components/catalog/CatalogView.tsx | 12 +- .../catalog-header/CatalogHeaderView.tsx | 5 +- .../catalog/views/gift/CatalogGiftView.tsx | 68 +- .../navigation/CatalogNavigationItemView.tsx | 12 +- .../navigation/CatalogNavigationSetView.tsx | 2 +- .../navigation/CatalogNavigationView.tsx | 2 +- .../page/common/CatalogGridOfferView.tsx | 4 +- .../page/common/CatalogRedeemVoucherView.tsx | 10 +- .../views/page/common/CatalogSearchView.tsx | 10 +- .../layout/CatalogLayoutBadgeDisplayView.tsx | 22 +- .../layout/CatalogLayoutColorGroupingView.tsx | 32 +- .../page/layout/CatalogLayoutDefaultView.tsx | 16 +- .../CatalogLayoutGuildCustomFurniView.tsx | 20 +- .../layout/CatalogLayoutGuildForumView.tsx | 16 +- .../CatalogLayoutGuildFrontpageView.tsx | 11 +- .../layout/CatalogLayoutInfoLoyaltyView.tsx | 4 +- .../page/layout/CatalogLayoutPets3View.tsx | 16 +- .../page/layout/CatalogLayoutRoomAdsView.tsx | 38 +- .../layout/CatalogLayoutRoomBundleView.tsx | 16 +- .../layout/CatalogLayoutSingleBundleView.tsx | 16 +- .../layout/CatalogLayoutSoundMachineView.tsx | 22 +- .../page/layout/CatalogLayoutSpacesView.tsx | 14 +- .../page/layout/CatalogLayoutTrophiesView.tsx | 10 +- .../page/layout/CatalogLayoutVipBuyView.tsx | 34 +- .../CatalogLayoutFrontPageItemView.tsx | 4 +- .../CatalogLayoutMarketplaceItemView.tsx | 10 +- .../CatalogLayoutMarketplaceOwnItemsView.tsx | 6 +- ...atalogLayoutMarketplacePublicItemsView.tsx | 10 +- ...CatalogLayoutMarketplaceSearchFormView.tsx | 28 +- .../marketplace/MarketplacePostOfferView.tsx | 24 +- .../page/layout/pets/CatalogLayoutPetView.tsx | 28 +- .../vip-gifts/CatalogLayoutVipGiftsView.tsx | 6 +- .../page/layout/vip-gifts/VipGiftItemView.tsx | 4 +- .../widgets/CatalogBundleGridWidgetView.tsx | 4 +- .../CatalogGuildSelectorWidgetView.tsx | 16 +- .../widgets/CatalogItemGridWidgetView.tsx | 2 +- .../widgets/CatalogLimitedItemWidgetView.tsx | 10 +- .../widgets/CatalogPriceDisplayWidgetView.tsx | 12 +- .../widgets/CatalogPurchaseWidgetView.tsx | 8 +- .../widgets/CatalogSimplePriceWidgetView.tsx | 15 +- .../page/widgets/CatalogSpacesWidgetView.tsx | 8 +- .../page/widgets/CatalogSpinnerWidgetView.tsx | 8 +- .../widgets/CatalogViewProductWidgetView.tsx | 8 +- .../views/targeted-offer/OfferBubbleView.tsx | 8 +- .../views/targeted-offer/OfferWindowView.tsx | 49 +- .../chat-history/ChatHistoryView.tsx | 12 +- .../floorplan-editor/FloorplanEditorView.tsx | 12 +- .../views/FloorplanCanvasView.tsx | 20 +- .../views/FloorplanImportExportView.tsx | 10 +- .../views/FloorplanOptionsView.tsx | 38 +- .../views/friends-bar/FriendBarItemView.tsx | 14 +- .../views/friends-bar/FriendsBarView.tsx | 10 +- .../FriendsListRemoveConfirmationView.tsx | 8 +- .../FriendsListRoomInviteView.tsx | 12 +- .../friends-list/FriendsListSearchView.tsx | 32 +- .../views/friends-list/FriendsListView.tsx | 10 +- .../FriendsListGroupItemView.tsx | 30 +- .../FriendsListRequestItemView.tsx | 16 +- .../FriendsListRequestView.tsx | 8 +- .../views/messenger/FriendsMessengerView.tsx | 46 +- .../FriendsMessengerThreadGroup.tsx | 12 +- .../FriendsMessengerThreadView.tsx | 2 +- src/components/game-center/GameCenterView.tsx | 4 +- .../game-center/views/GameListView.tsx | 11 +- .../game-center/views/GameStageView.tsx | 3 +- src/components/game-center/views/GameView.tsx | 15 +- .../groups/views/GroupBadgeCreatorView.tsx | 20 +- .../groups/views/GroupCreatorView.tsx | 28 +- .../groups/views/GroupInformationView.tsx | 50 +- .../groups/views/GroupManagerView.tsx | 16 +- .../groups/views/GroupMembersView.tsx | 36 +- .../groups/views/GroupRoomInformationView.tsx | 18 +- .../groups/views/tabs/GroupTabBadgeView.tsx | 4 +- .../groups/views/tabs/GroupTabColorsView.tsx | 20 +- .../tabs/GroupTabCreatorConfirmationView.tsx | 22 +- .../views/tabs/GroupTabIdentityView.tsx | 32 +- .../views/tabs/GroupTabSettingsView.tsx | 30 +- src/components/guide-tool/GuideToolView.tsx | 12 +- .../guide-tool/views/GuideToolAcceptView.tsx | 16 +- .../guide-tool/views/GuideToolMenuView.tsx | 50 +- .../guide-tool/views/GuideToolOngoingView.tsx | 42 +- .../views/GuideToolUserCreateRequestView.tsx | 10 +- .../views/GuideToolUserFeedbackView.tsx | 22 +- .../views/GuideToolUserNoHelpersView.tsx | 8 +- .../views/GuideToolUserPendingView.tsx | 12 +- .../views/GuideToolUserSomethingWrogView.tsx | 8 +- .../views/GuideToolUserThanksView.tsx | 6 +- src/components/hc-center/HcCenterView.tsx | 30 +- src/components/help/HelpView.tsx | 8 +- .../help/views/DescribeReportView.tsx | 8 +- src/components/help/views/HelpIndexView.tsx | 14 +- .../help/views/ReportSummaryView.tsx | 6 +- .../help/views/SanctionStatusView.tsx | 8 +- .../help/views/SelectReportedChatsView.tsx | 10 +- .../help/views/SelectReportedUserView.tsx | 6 +- src/components/help/views/SelectTopicView.tsx | 6 +- .../NameChangeConfirmationView.tsx | 6 +- .../views/name-change/NameChangeInitView.tsx | 6 +- .../views/name-change/NameChangeInputView.tsx | 10 +- src/components/hotel-view/HotelView.tsx | 30 +- .../views/widgets/GetWidgetLayout.tsx | 2 +- .../views/widgets/WidgetSlotView.tsx | 2 +- .../bonus-rare/BonusRareWidgetView.tsx | 4 +- .../hall-of-fame-item/HallOfFameItemView.tsx | 2 +- .../hall-of-fame/HallOfFameWidgetView.tsx | 2 +- .../promo-article/PromoArticleWidgetView.tsx | 10 +- .../widget-container/WidgetContainerView.tsx | 4 +- src/components/inventory/InventoryView.tsx | 10 +- .../views/InventoryCategoryEmptyView.tsx | 6 +- .../views/badge/InventoryBadgeItemView.tsx | 2 +- .../views/badge/InventoryBadgeView.tsx | 16 +- .../views/bot/InventoryBotItemView.tsx | 4 +- .../inventory/views/bot/InventoryBotView.tsx | 10 +- .../furniture/InventoryFurnitureItemView.tsx | 2 +- .../InventoryFurnitureSearchView.tsx | 8 +- .../furniture/InventoryFurnitureView.tsx | 16 +- .../views/furniture/InventoryTradeView.tsx | 64 +- .../views/pet/InventoryPetItemView.tsx | 4 +- .../inventory/views/pet/InventoryPetView.tsx | 10 +- src/components/loading/LoadingView.tsx | 10 +- src/components/mod-tools/ModToolsView.tsx | 20 +- .../mod-tools/views/chatlog/ChatlogView.tsx | 28 +- .../mod-tools/views/room/ModToolsRoomView.tsx | 48 +- .../views/tickets/ModToolsIssueInfoView.tsx | 6 +- .../views/tickets/ModToolsMyIssuesTabView.tsx | 32 +- .../tickets/ModToolsOpenIssuesTabView.tsx | 26 +- .../tickets/ModToolsPickedIssuesTabView.tsx | 24 +- .../views/tickets/ModToolsTicketsView.tsx | 2 +- .../views/user/ModToolsUserModActionView.tsx | 12 +- .../views/user/ModToolsUserRoomVisitsView.tsx | 18 +- .../mod-tools/views/user/ModToolsUserView.tsx | 4 +- src/components/navigator/NavigatorView.tsx | 6 +- .../views/NavigatorDoorStateView.tsx | 20 +- .../views/NavigatorRoomCreatorView.tsx | 46 +- .../navigator/views/NavigatorRoomInfoView.tsx | 36 +- .../navigator/views/NavigatorRoomLinkView.tsx | 16 +- .../NavigatorRoomSettingsAccessTabView.tsx | 62 +- .../NavigatorRoomSettingsBasicTabView.tsx | 44 +- .../NavigatorRoomSettingsModTabView.tsx | 30 +- .../NavigatorRoomSettingsRightsTabView.tsx | 10 +- .../NavigatorRoomSettingsView.tsx | 12 +- .../NavigatorRoomSettingsVipChatTabView.tsx | 18 +- .../NavigatorSearchResultItemInfoView.tsx | 24 +- .../search/NavigatorSearchResultItemView.tsx | 10 +- .../search/NavigatorSearchResultView.tsx | 16 +- .../views/search/NavigatorSearchView.tsx | 10 +- src/components/nitropedia/NitropediaView.tsx | 6 +- .../NotificationCenterView.tsx | 5 +- .../alert-layouts/NitroSystemAlertView.tsx | 8 +- .../NotificationDefaultAlertView.tsx | 20 +- .../NotificationSearchAlertView.tsx | 6 +- .../NotificationClubGiftBubbleView.tsx | 10 +- .../NotificationDefaultBubbleView.tsx | 6 +- .../NotificationDefaultConfirmView.tsx | 6 +- src/components/purse/PurseView.tsx | 16 +- src/components/purse/views/CurrencyView.tsx | 8 +- src/components/purse/views/SeasonalView.tsx | 6 +- src/components/right-side/RightSideView.tsx | 2 +- src/components/room/RoomView.tsx | 6 +- .../AvatarInfoPetTrainingPanelView.tsx | 10 +- .../AvatarInfoRentableBotChatView.tsx | 32 +- .../AvatarInfoUseProductConfirmView.tsx | 24 +- .../avatar-info/AvatarInfoUseProductView.tsx | 2 +- .../avatar-info/AvatarInfoWidgetView.tsx | 2 +- .../infostand/InfoStandWidgetBotView.tsx | 30 +- .../infostand/InfoStandWidgetFurniView.tsx | 88 +-- .../infostand/InfoStandWidgetPetView.tsx | 122 ++-- .../InfoStandWidgetRentableBotView.tsx | 54 +- ...nfoStandWidgetUserRelationshipItemView.tsx | 4 +- .../InfoStandWidgetUserRelationshipsView.tsx | 6 +- .../infostand/InfoStandWidgetUserTagsView.tsx | 2 +- .../infostand/InfoStandWidgetUserView.tsx | 81 +-- .../menu/AvatarInfoWidgetAvatarView.tsx | 10 +- .../menu/AvatarInfoWidgetDecorateView.tsx | 2 +- .../menu/AvatarInfoWidgetFurniView.tsx | 9 +- .../menu/AvatarInfoWidgetNameView.tsx | 2 +- .../menu/AvatarInfoWidgetOwnAvatarView.tsx | 28 +- .../menu/AvatarInfoWidgetOwnPetView.tsx | 10 +- .../menu/AvatarInfoWidgetPetView.tsx | 2 +- .../menu/AvatarInfoWidgetRentableBotView.tsx | 20 +- .../chat-input/ChatInputStyleSelectorView.tsx | 16 +- .../room/widgets/chat-input/ChatInputView.tsx | 4 +- .../room/widgets/chat/ChatWidgetView.tsx | 2 +- .../widgets/choosers/ChooserWidgetView.tsx | 10 +- .../choosers/FurniChooserWidgetView.tsx | 2 +- .../choosers/UserChooserWidgetView.tsx | 2 +- .../context-menu/ContextMenuCaretView.tsx | 2 +- .../context-menu/ContextMenuHeaderView.tsx | 2 +- .../context-menu/ContextMenuListItemView.tsx | 2 +- .../widgets/context-menu/ContextMenuView.tsx | 12 +- .../widgets/doorbell/DoorbellWidgetView.tsx | 24 +- .../FriendRequestDialogView.tsx | 22 +- .../FriendRequestWidgetView.tsx | 2 +- .../FurnitureBackgroundColorView.tsx | 16 +- .../furniture/FurnitureBadgeDisplayView.tsx | 2 +- .../furniture/FurnitureCraftingView.tsx | 46 +- .../widgets/furniture/FurnitureDimmerView.tsx | 36 +- .../furniture/FurnitureExchangeCreditView.tsx | 16 +- .../furniture/FurnitureExternalImageView.tsx | 2 +- .../furniture/FurnitureFriendFurniView.tsx | 28 +- .../furniture/FurnitureGiftOpeningView.tsx | 22 +- .../furniture/FurnitureHighScoreView.tsx | 28 +- .../furniture/FurnitureMannequinView.tsx | 40 +- .../FurnitureMysteryBoxOpenDialogView.tsx | 6 +- .../FurnitureMysteryTrophyOpenDialogView.tsx | 24 +- .../furniture/FurnitureSpamWallPostItView.tsx | 10 +- .../furniture/FurnitureStackHeightView.tsx | 18 +- .../furniture/FurnitureStickieView.tsx | 10 +- .../widgets/furniture/FurnitureTrophyView.tsx | 2 +- .../furniture/FurnitureWidgetsView.tsx | 7 +- .../furniture/FurnitureYoutubeDisplayView.tsx | 14 +- .../context-menu/EffectBoxConfirmView.tsx | 10 +- .../context-menu/FurnitureContextMenuView.tsx | 2 +- .../MonsterPlantSeedConfirmView.tsx | 24 +- .../PurchasableClothingConfirmView.tsx | 24 +- .../playlist-editor/DiskInventoryView.tsx | 22 +- .../FurniturePlaylistEditorWidgetView.tsx | 8 +- .../playlist-editor/SongPlaylistView.tsx | 31 +- .../mysterybox/MysteryBoxExtensionView.tsx | 16 +- .../object-location/ObjectLocationView.tsx | 6 +- .../pet-package/PetPackageWidgetView.tsx | 30 +- .../RoomFilterWordsWidgetView.tsx | 14 +- .../room-promotes/RoomPromotesWidgetView.tsx | 16 +- .../views/RoomPromoteEditWidgetView.tsx | 18 +- .../views/RoomPromoteMyOwnEventWidgetView.tsx | 2 +- .../views/RoomPromoteOtherEventWidgetView.tsx | 12 +- .../room-tools/RoomToolsWidgetView.tsx | 46 +- .../user-location/UserLocationView.tsx | 2 +- .../word-quiz/WordQuizQuestionView.tsx | 32 +- .../widgets/word-quiz/WordQuizVoteView.tsx | 10 +- .../widgets/word-quiz/WordQuizWidgetView.tsx | 2 +- src/components/toolbar/ToolbarItemView.tsx | 22 + src/components/toolbar/ToolbarMeView.tsx | 18 +- src/components/toolbar/ToolbarView.tsx | 62 +- .../user-profile/UserProfileView.tsx | 14 +- .../views/FriendsContainerView.tsx | 10 +- .../views/GroupsContainerView.tsx | 22 +- .../views/RelationshipsContainerView.tsx | 22 +- .../user-profile/views/UserContainerView.tsx | 36 +- .../user-settings/UserSettingsView.tsx | 72 +- src/components/wired/views/WiredBaseView.tsx | 16 +- .../wired/views/WiredFurniSelectorView.tsx | 6 +- .../views/actions/WiredActionBaseView.tsx | 10 +- .../WiredActionBotChangeFigureView.tsx | 16 +- .../WiredActionBotFollowAvatarView.tsx | 26 +- .../WiredActionBotGiveHandItemView.tsx | 14 +- .../views/actions/WiredActionBotMoveView.tsx | 10 +- .../WiredActionBotTalkToAvatarView.tsx | 32 +- .../views/actions/WiredActionBotTalkView.tsx | 32 +- .../actions/WiredActionBotTeleportView.tsx | 10 +- .../WiredActionCallAnotherStackView.tsx | 2 +- .../views/actions/WiredActionChaseView.tsx | 2 +- .../views/actions/WiredActionChatView.tsx | 10 +- .../views/actions/WiredActionFleeView.tsx | 2 +- .../actions/WiredActionGiveRewardView.tsx | 50 +- ...redActionGiveScoreToPredefinedTeamView.tsx | 26 +- .../actions/WiredActionGiveScoreView.tsx | 16 +- .../views/actions/WiredActionJoinTeamView.tsx | 14 +- .../actions/WiredActionKickFromRoomView.tsx | 10 +- .../actions/WiredActionLeaveTeamView.tsx | 2 +- .../WiredActionMoveAndRotateFurniView.tsx | 28 +- .../actions/WiredActionMoveFurniToView.tsx | 24 +- .../actions/WiredActionMoveFurniView.tsx | 34 +- .../views/actions/WiredActionMuteUserView.tsx | 16 +- .../views/actions/WiredActionResetView.tsx | 2 +- .../WiredActionSetFurniStateToView.tsx | 26 +- .../views/actions/WiredActionTeleportView.tsx | 2 +- .../WiredActionToggleFurniStateView.tsx | 2 +- .../WiredConditionActorHasHandItem.tsx | 8 +- .../WiredConditionActorIsGroupMemberView.tsx | 2 +- .../WiredConditionActorIsOnFurniView.tsx | 2 +- .../WiredConditionActorIsTeamMemberView.tsx | 14 +- .../WiredConditionActorIsWearingBadgeView.tsx | 10 +- ...WiredConditionActorIsWearingEffectView.tsx | 10 +- .../conditions/WiredConditionBaseView.tsx | 2 +- .../WiredConditionDateRangeView.tsx | 16 +- .../WiredConditionFurniHasAvatarOnView.tsx | 2 +- .../WiredConditionFurniHasFurniOnView.tsx | 14 +- .../WiredConditionFurniHasNotFurniOnView.tsx | 14 +- .../WiredConditionFurniIsOfTypeView.tsx | 2 +- ...WiredConditionFurniMatchesSnapshotView.tsx | 26 +- .../WiredConditionTimeElapsedLessView.tsx | 10 +- .../WiredConditionTimeElapsedMoreView.tsx | 10 +- .../WiredConditionUserCountInRoomView.tsx | 16 +- .../WiredTriggerAvatarEnterRoomView.tsx | 22 +- .../WiredTriggerAvatarSaysSomethingView.tsx | 26 +- .../WiredTriggerAvatarWalksOffFurniView.tsx | 2 +- .../WiredTriggerAvatarWalksOnFurni.tsx | 2 +- .../views/triggers/WiredTriggerBaseView.tsx | 2 +- .../WiredTriggerBotReachedAvatarView.tsx | 10 +- .../WiredTriggerBotReachedStuffView.tsx | 10 +- .../triggers/WiredTriggerCollisionView.tsx | 2 +- .../triggers/WiredTriggerExecuteOnceView.tsx | 10 +- ...iredTriggerExecutePeriodicallyLongView.tsx | 10 +- .../WiredTriggerExecutePeriodicallyView.tsx | 10 +- .../triggers/WiredTriggerGameEndsView.tsx | 2 +- .../triggers/WiredTriggerGameStartsView.tsx | 2 +- .../WiredTriggerScoreAchievedView.tsx | 10 +- .../triggers/WiredTriggerToggleFurniView.tsx | 2 +- src/index.css | 681 ++++++++++++++++++ src/index.tsx | 2 +- tailwind.config.js | 35 + yarn.lock | 455 +++++++++++- 365 files changed, 3900 insertions(+), 2737 deletions(-) create mode 100644 .editorconfig create mode 100644 postcss.config.js create mode 100644 prettier.config.js delete mode 100644 src/common/ButtonGroup.tsx delete mode 100644 src/common/card/NitroCardSubHeaderView.tsx rename src/components/{main => }/MainView.tsx (61%) create mode 100644 src/components/toolbar/ToolbarItemView.tsx create mode 100644 src/index.css create mode 100644 tailwind.config.js diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..a8dfa3ee --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +[*] +charset = utf-8 +insert_final_newline = true +end_of_line = lf +indent_style = space +indent_size = 4 diff --git a/.eslintrc.json b/.eslintrc.json index 695c05dd..bd3e3f3a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -105,6 +105,17 @@ { "prevent": true } + ], + "react/jsx-sort-props": [ + "error", + { + "callbacksLast": true, + "shorthandFirst": true, + "shorthandLast": false, + "ignoreCase": true, + "noSortAlphabetically": false, + "reservedFirst": true + } ] } } diff --git a/.vscode/settings.json b/.vscode/settings.json index ba397879..ad273d94 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,9 +8,9 @@ "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit", "source.fixAll.sortJSON": "never", - "source.organizeImports": "explicit" + "source.organizeImports": "always" }, - "editor.formatOnSave": false, + "editor.formatOnSave": true, "git.ignoreLimitWarning": true, "files.eol": "\n", "files.insertFinalNewline": true, @@ -27,6 +27,15 @@ } ], "javascript.format.enable": false, - "thunder-client.saveToWorkspace": false, - "thunder-client.workspaceRelativePath": "." + "editor.linkedEditing": false, + "tailwindCSS.includeLanguages": { + "html": "html", + "javascript": "javascript", + "css": "css" + }, + "tailwindCSS.experimental.classRegex": [ + ], + "editor.quickSuggestions": { + "strings": true + } } diff --git a/index.html b/index.html index 18b1a792..76d642b0 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ -
+