Skip to content

Commit

Permalink
chore(frontend): bump deps (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitayutanov authored Feb 6, 2025
1 parent 28aaa5f commit 6a62fe2
Show file tree
Hide file tree
Showing 114 changed files with 3,868 additions and 4,419 deletions.
38 changes: 19 additions & 19 deletions frontend/apps/battleship-zk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@
"@dapps-frontend/error-tracking": "workspace:*",
"@dapps-frontend/hooks": "workspace:*",
"@dapps-frontend/ui": "workspace:*",
"@gear-js/api": "0.39.0",
"@gear-js/react-hooks": "0.14.1",
"@gear-js/api": "0.41.0",
"@gear-js/react-hooks": "0.15.0",
"@gear-js/vara-ui": "0.0.11",
"@mantine/form": "6.0.15",
"@polkadot/api": "14.3.1",
"@polkadot/react-identicon": "3.11.3",
"@polkadot/util": "12.3.2",
"@polkadot/util-crypto": "12.6.2",
"@radix-ui/react-scroll-area": "1.0.4",
"@tanstack/react-query": "5.29.0",
"class-variance-authority": "0.6.1",
"clsx": "1.2.1",
"ffjavascript": "0.3.0",
"framer-motion": "10.12.17",
"@mantine/form": "7.16.2",
"@polkadot/api": "15.4.1",
"@polkadot/react-identicon": "3.12.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1",
"@radix-ui/react-scroll-area": "1.2.2",
"@tanstack/react-query": "5.66.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"ffjavascript": "0.3.1",
"framer-motion": "12.3.1",
"gear-ez-transactions": "workspace:*",
"jotai": "2.2.1",
"lucide-react": "0.259.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.10.0",
"sails-js": "0.3.0"
"jotai": "2.11.3",
"lucide-react": "0.474.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.28.0",
"sails-js": "0.3.1"
}
}
30 changes: 15 additions & 15 deletions frontend/apps/battleship-zk/src/assets/images/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export { ReactComponent as CrossIcon } from './icons/cross.svg';
export { ReactComponent as GearIcon } from './icons/gear.svg';
export { ReactComponent as TwitterIcon } from './icons/twitter.svg';
export { ReactComponent as GithubIcon } from './icons/github.svg';
export { ReactComponent as DiscordIcon } from './icons/discord.svg';
export { ReactComponent as MediumIcon } from './icons/medium.svg';
export { ReactComponent as VaraLogoIcon } from './icons/vara-logo.svg';
export { ReactComponent as ChevronDown } from './icons/chevron-down.svg';
export { ReactComponent as ChevronLeft } from './icons/chevron-left.svg';
export { ReactComponent as ChevronsLeft } from './icons/chevrons-left.svg';
export { ReactComponent as ChevronRight } from './icons/chevron-right.svg';
export { ReactComponent as ChevronsRight } from './icons/chevrons-right.svg';
export { ReactComponent as CaretDown } from './icons/caret-down.svg';
export { ReactComponent as CopyDecoded } from './icons/copy-decoded.svg';
export { ReactComponent as BurgerMenuIcon } from './icons/burger-menu.svg';
export { default as CrossIcon } from './icons/cross.svg?react';
export { default as GearIcon } from './icons/gear.svg?react';
export { default as TwitterIcon } from './icons/twitter.svg?react';
export { default as GithubIcon } from './icons/github.svg?react';
export { default as DiscordIcon } from './icons/discord.svg?react';
export { default as MediumIcon } from './icons/medium.svg?react';
export { default as VaraLogoIcon } from './icons/vara-logo.svg?react';
export { default as ChevronDown } from './icons/chevron-down.svg?react';
export { default as ChevronLeft } from './icons/chevron-left.svg?react';
export { default as ChevronsLeft } from './icons/chevrons-left.svg?react';
export { default as ChevronRight } from './icons/chevron-right.svg?react';
export { default as ChevronsRight } from './icons/chevrons-right.svg?react';
export { default as CaretDown } from './icons/caret-down.svg?react';
export { default as CopyDecoded } from './icons/copy-decoded.svg?react';
export { default as BurgerMenuIcon } from './icons/burger-menu.svg?react';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactComponent as VaraSVG } from '@/assets/images/icons/vara-coin.svg';
import { ReactComponent as TVaraSVG } from '@/assets/images/icons/tvara-coin.svg';
import VaraSVG from '@/assets/images/icons/vara-coin.svg?react';
import TVaraSVG from '@/assets/images/icons/tvara-coin.svg?react';
import { useApi } from '@gear-js/react-hooks';

function VaraIcon() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactComponent as CoinSVG } from '@/assets/images/icons/coin.svg';
import { ReactComponent as StarSVG } from '@/assets/images/icons/star.svg';
import CoinSVG from '@/assets/images/icons/coin.svg?react';
import StarSVG from '@/assets/images/icons/star.svg?react';
import styles from './Balance.module.scss';
import clsx from 'clsx';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import seaPng from '@/assets/images/sea.png';
import styles from './map.module.scss';
import clsx from 'clsx';
import { useEffect, useState } from 'react';
import { ReactComponent as CellCrossSVG } from '@/assets/images/icons/cross.svg';
import CellCrossSVG from '@/assets/images/icons/cross.svg?react';
import smokeSVG from '@/assets/images/smoke.gif';
import shipX1SVG from '@/assets/images/icons/ship-x1.svg';
import shipX2SVG from '@/assets/images/icons/ship-x2.svg';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactComponent as ArrowRight } from '@/assets/images/icons/arrow-right.svg';
import { ReactComponent as AndroidLine } from '@/assets/images/icons/android-line.svg';
import { ReactComponent as AdminLine } from '@/assets/images/icons/admin-line.svg';
import { ReactComponent as SearchLine } from '@/assets/images/icons/search-line.svg';
import ArrowRight from '@/assets/images/icons/arrow-right.svg?react';
import AndroidLine from '@/assets/images/icons/android-line.svg?react';
import AdminLine from '@/assets/images/icons/admin-line.svg?react';
import SearchLine from '@/assets/images/icons/search-line.svg?react';
import { Button } from '@/components/ui/button/button';
import { Heading } from '@/components/ui/heading';
import styles from './SelectGameMode.module.scss';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Modal } from '@/components/ui/modal';
import { ReactComponent as VaraSVG } from '@/assets/images/icons/vara-coin.svg';
import { ReactComponent as TVaraSVG } from '@/assets/images/icons/tvara-coin.svg';
import VaraSVG from '@/assets/images/icons/vara-coin.svg?react';
import TVaraSVG from '@/assets/images/icons/tvara-coin.svg?react';
import { useApi } from '@gear-js/react-hooks';
import { TextField } from '@/components/layout/text-field';
import { Button } from '@gear-js/vara-ui';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getVaraAddress, useAccount, useAlert, useBalanceFormat } from '@gear-js
import { decodeAddress } from '@gear-js/api';
import { stringShorten } from '@polkadot/util';
import { copyToClipboard } from '@/app/utils/utils';
import { ReactComponent as FilledCrossSVG } from '../../assets/icons/filled-cross.svg';
import FilledCrossSVG from '../../assets/icons/filled-cross.svg?react';
import {
useEventGameCancelled,
useEventPlayerJoinedGame,
Expand Down
20 changes: 10 additions & 10 deletions frontend/apps/battleship-zk/src/features/wallet/assets/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export { ReactComponent as PolkadotSVG } from './images/icons/polkadot.svg';
export { ReactComponent as NovaSVG } from './images/icons/nova.svg';
export { ReactComponent as SubWalletSVG } from './images/icons/subwallet.svg';
export { ReactComponent as TalismanSVG } from './images/icons/talisman.svg';
export { ReactComponent as EnkryptSVG } from './images/icons/enkrypt.svg';
export { ReactComponent as ExitIcon } from './images/icons/exit.svg';
export { ReactComponent as EditIcon } from './images/icons/edit.svg';
export { ReactComponent as CopyIcon } from './images/icons/copy.svg';
export { ReactComponent as VaraIcon } from './images/icons/ava-vara.svg';
export { ReactComponent as DownIcon } from './images/icons/down.svg';
export { default as PolkadotSVG } from './images/icons/polkadot.svg?react';
export { default as NovaSVG } from './images/icons/nova.svg?react';
export { default as SubWalletSVG } from './images/icons/subwallet.svg?react';
export { default as TalismanSVG } from './images/icons/talisman.svg?react';
export { default as EnkryptSVG } from './images/icons/enkrypt.svg?react';
export { default as ExitIcon } from './images/icons/exit.svg?react';
export { default as EditIcon } from './images/icons/edit.svg?react';
export { default as CopyIcon } from './images/icons/copy.svg?react';
export { default as VaraIcon } from './images/icons/ava-vara.svg?react';
export { default as DownIcon } from './images/icons/down.svg?react';
34 changes: 17 additions & 17 deletions frontend/apps/battleship/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
"@dapps-frontend/error-tracking": "workspace:*",
"@dapps-frontend/hooks": "workspace:*",
"@dapps-frontend/ui": "workspace:*",
"@gear-js/api": "0.39.0",
"@gear-js/react-hooks": "0.14.1",
"@gear-js/api": "0.41.0",
"@gear-js/react-hooks": "0.15.0",
"@gear-js/vara-ui": "0.0.11",
"@polkadot/api": "14.3.1",
"@polkadot/react-identicon": "3.11.3",
"@polkadot/util": "12.3.2",
"@polkadot/util-crypto": "12.6.2",
"@radix-ui/react-scroll-area": "1.0.4",
"@tanstack/react-query": "5.29.0",
"class-variance-authority": "0.6.1",
"clsx": "1.2.1",
"framer-motion": "10.12.17",
"@polkadot/api": "15.4.1",
"@polkadot/react-identicon": "3.12.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1",
"@radix-ui/react-scroll-area": "1.2.2",
"@tanstack/react-query": "5.66.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"framer-motion": "12.3.1",
"gear-ez-transactions": "workspace:*",
"jotai": "2.2.1",
"lucide-react": "0.259.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.10.0",
"sails-js": "0.3.0"
"jotai": "2.11.3",
"lucide-react": "0.474.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.28.0",
"sails-js": "0.3.1"
}
}
30 changes: 15 additions & 15 deletions frontend/apps/battleship/src/assets/images/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export { ReactComponent as CrossIcon } from './icons/cross.svg';
export { ReactComponent as GearIcon } from './icons/gear.svg';
export { ReactComponent as TwitterIcon } from './icons/twitter.svg';
export { ReactComponent as GithubIcon } from './icons/github.svg';
export { ReactComponent as DiscordIcon } from './icons/discord.svg';
export { ReactComponent as MediumIcon } from './icons/medium.svg';
export { ReactComponent as VaraLogoIcon } from './icons/vara-logo.svg';
export { ReactComponent as ChevronDown } from './icons/chevron-down.svg';
export { ReactComponent as ChevronLeft } from './icons/chevron-left.svg';
export { ReactComponent as ChevronsLeft } from './icons/chevrons-left.svg';
export { ReactComponent as ChevronRight } from './icons/chevron-right.svg';
export { ReactComponent as ChevronsRight } from './icons/chevrons-right.svg';
export { ReactComponent as CaretDown } from './icons/caret-down.svg';
export { ReactComponent as CopyDecoded } from './icons/copy-decoded.svg';
export { ReactComponent as BurgerMenuIcon } from './icons/burger-menu.svg';
export { default as CrossIcon } from './icons/cross.svg?react';
export { default as GearIcon } from './icons/gear.svg?react';
export { default as TwitterIcon } from './icons/twitter.svg?react';
export { default as GithubIcon } from './icons/github.svg?react';
export { default as DiscordIcon } from './icons/discord.svg?react';
export { default as MediumIcon } from './icons/medium.svg?react';
export { default as VaraLogoIcon } from './icons/vara-logo.svg?react';
export { default as ChevronDown } from './icons/chevron-down.svg?react';
export { default as ChevronLeft } from './icons/chevron-left.svg?react';
export { default as ChevronsLeft } from './icons/chevrons-left.svg?react';
export { default as ChevronRight } from './icons/chevron-right.svg?react';
export { default as ChevronsRight } from './icons/chevrons-right.svg?react';
export { default as CaretDown } from './icons/caret-down.svg?react';
export { default as CopyDecoded } from './icons/copy-decoded.svg?react';
export { default as BurgerMenuIcon } from './icons/burger-menu.svg?react';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactComponent as CoinSVG } from '@/assets/images/icons/coin.svg';
import { ReactComponent as StarSVG } from '@/assets/images/icons/star.svg';
import CoinSVG from '@/assets/images/icons/coin.svg?react';
import StarSVG from '@/assets/images/icons/star.svg?react';
import styles from './Balance.module.scss';
import clsx from 'clsx';

Expand Down
2 changes: 1 addition & 1 deletion frontend/apps/battleship/src/components/ui/input/Input.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { InputProps } from '@gear-js/vara-ui';
import clsx from 'clsx';
import { ReactComponent as SearchSVG } from '@/assets/images/icons/search.svg';
import SearchSVG from '@/assets/images/icons/search.svg?react';
import styles from './Input.module.scss';

function Input(props: Omit<InputProps, 'size' | 'color'>) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import seaPng from '@/assets/images/sea.png';
import styles from './map.module.scss';
import clsx from 'clsx';
import { useEffect, useState } from 'react';
import { ReactComponent as CellCrossSVG } from '@/assets/images/icons/cross.svg';
import CellCrossSVG from '@/assets/images/icons/cross.svg?react';
import smokeSVG from '@/assets/images/smoke.gif';
import shipX1SVG from '@/assets/images/icons/ship-x1.svg';
import shipX2SVG from '@/assets/images/icons/ship-x2.svg';
Expand Down
20 changes: 10 additions & 10 deletions frontend/apps/battleship/src/features/wallet/assets/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export { ReactComponent as PolkadotSVG } from './images/icons/polkadot.svg';
export { ReactComponent as NovaSVG } from './images/icons/nova.svg';
export { ReactComponent as SubWalletSVG } from './images/icons/subwallet.svg';
export { ReactComponent as TalismanSVG } from './images/icons/talisman.svg';
export { ReactComponent as EnkryptSVG } from './images/icons/enkrypt.svg';
export { ReactComponent as ExitIcon } from './images/icons/exit.svg';
export { ReactComponent as EditIcon } from './images/icons/edit.svg';
export { ReactComponent as CopyIcon } from './images/icons/copy.svg';
export { ReactComponent as VaraIcon } from './images/icons/ava-vara.svg';
export { ReactComponent as DownIcon } from './images/icons/down.svg';
export { default as PolkadotSVG } from './images/icons/polkadot.svg?react';
export { default as NovaSVG } from './images/icons/nova.svg?react';
export { default as SubWalletSVG } from './images/icons/subwallet.svg?react';
export { default as TalismanSVG } from './images/icons/talisman.svg?react';
export { default as EnkryptSVG } from './images/icons/enkrypt.svg?react';
export { default as ExitIcon } from './images/icons/exit.svg?react';
export { default as EditIcon } from './images/icons/edit.svg?react';
export { default as CopyIcon } from './images/icons/copy.svg?react';
export { default as VaraIcon } from './images/icons/ava-vara.svg?react';
export { default as DownIcon } from './images/icons/down.svg?react';
26 changes: 13 additions & 13 deletions frontend/apps/galactic-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"dependencies": {
"@dapps-frontend/error-tracking": "workspace:*",
"@dapps-frontend/ui": "workspace:*",
"@gear-js/api": "0.39.0",
"@gear-js/react-hooks": "0.14.1",
"@gear-js/api": "0.41.0",
"@gear-js/react-hooks": "0.15.0",
"@gear-js/ui": "0.5.21",
"@mantine/form": "6.0.8",
"@polkadot/api": "14.3.1",
"@polkadot/util-crypto": "12.6.2",
"@tanstack/react-query": "5.29.0",
"clsx": "2.1.0",
"framer-motion": "10.16.4",
"jotai": "2.2.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.10.0",
"sails-js": "0.3.0"
"@mantine/form": "7.16.2",
"@polkadot/api": "15.4.1",
"@polkadot/util-crypto": "13.3.1",
"@tanstack/react-query": "5.66.0",
"clsx": "2.1.1",
"framer-motion": "12.3.1",
"jotai": "2.11.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.28.0",
"sails-js": "0.3.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { usePending } from './';
import { useCheckBalance } from '@dapps-frontend/hooks';
import { useAlert } from '@gear-js/react-hooks';
import { GenericTransactionReturn, TransactionReturn } from '@gear-js/react-hooks/dist/esm/hooks/sails/types';
import { GenericTransactionReturn, TransactionReturn } from '@gear-js/react-hooks/dist/hooks/sails/types';

export type Options = {
onSuccess?: () => void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Link } from 'react-router-dom';
import { Header as CommonHeader, MenuHandler } from '@dapps-frontend/ui';
import { ReactComponent as GalexSVG } from '@/assets/images/logo.svg';
import { ReactComponent as VaraSVG } from '@/assets/images/logo-vara.svg';
import GalexSVG from '@/assets/images/logo.svg?react';
import VaraSVG from '@/assets/images/logo-vara.svg?react';
import { cx } from '@/utils';
import { useLaunchState } from '@/features/session';
import { useAccount } from '@gear-js/react-hooks';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MouseEvent, useEffect, useRef } from 'react';
import clsx from 'clsx';
import { motion } from 'framer-motion';
import { ReactComponent as CrossIcon } from '@/assets/images/icons/cross-icon.svg';
import CrossIcon from '@/assets/images/icons/cross-icon.svg?react';
import { variantsOverlay, variantsPanel } from '@/components/layout/modal/Modal.variants';
import { Button } from '@gear-js/vara-ui';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clsx from 'clsx';
import { ReactComponent as CrossIconSVG } from '@/assets/images/icons/cross-icon.svg';
import CrossIconSVG from '@/assets/images/icons/cross-icon.svg?react';
import { useAtom, useSetAtom } from 'jotai';
import { Button } from '@gear-js/vara-ui';
import { useAccount } from '@gear-js/react-hooks';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useForm } from '@mantine/form';
import { Card } from '@/components';
import { ChangeEvent, Dispatch, SetStateAction } from 'react';
import { RegistrationStatus } from '@/features/session/types';
import { ReactComponent as RocketSVG } from '../../assets/rocket.svg';
import RocketSVG from '../../assets/rocket.svg?react';
import { INITIAL_VALUES, VALIDATE, WEATHERS } from '../../consts';
import { Range } from '../range';
import { Probability } from '../probability';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { cx } from '@/utils';
import { Modal } from '@/components/layout/modal';
import { ReactComponent as VaraSVG } from '@/assets/images/icons/vara-coin.svg';
import { ReactComponent as TVaraSVG } from '@/assets/images/icons/tvara-coin.svg';
import VaraSVG from '@/assets/images/icons/vara-coin.svg?react';
import TVaraSVG from '@/assets/images/icons/tvara-coin.svg?react';
import { useApi } from '@gear-js/react-hooks';
import { TextField } from '@/components/layout/TextField';
import { Button } from '@gear-js/vara-ui';
import { isNotEmpty, useForm } from '@mantine/form';
import { ReactComponent as UserSVG } from '../../assets/ic-user-small-24.svg';
import UserSVG from '../../assets/ic-user-small-24.svg?react';
import styles from './GameFoundModal.module.scss';

type Props = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import clsx from 'clsx';
import { getVaraAddress, withoutCommas } from '@gear-js/react-hooks';
import { HexString } from '@gear-js/api';
import { Container } from '@/components';
import { ReactComponent as LeftDoubleArrowSVG } from '../../assets/left-double-arrow.svg';
import { ReactComponent as LeftArrowSVG } from '../../assets/left-arrow.svg';
import LeftDoubleArrowSVG from '../../assets/left-double-arrow.svg?react';
import LeftArrowSVG from '../../assets/left-arrow.svg?react';
import { PLAYER_COLORS } from '../../consts';
import { Event, Rank, Session as SessionType, Turns, Participant, RankWithName } from '../../types';
import { Traits } from '../traits';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { CSSProperties, Fragment } from 'react';
import { cx } from '@/utils';
import { shortenString } from '@/features/session/utils';
import { getVaraAddress } from '@gear-js/react-hooks';
import { ReactComponent as CheckSVG } from '../../assets/check.svg';
import { ReactComponent as CrossSVG } from '../../assets/cross.svg';
import CheckSVG from '../../assets/check.svg?react';
import CrossSVG from '../../assets/cross.svg?react';
import { PLAYER_COLORS, TABLE_HEADINGS } from '../../consts';
import { Event } from '../../types';
import styles from './Table.module.scss';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactElement } from 'react';
import { cx } from '@/utils';
import styles from './Warning.module.scss';
import { ReactComponent as ErrorIcon } from '../../assets/error-icon.svg';
import ErrorIcon from '../../assets/error-icon.svg?react';

type Props = {
title: string;
Expand Down
Loading

0 comments on commit 6a62fe2

Please sign in to comment.