diff --git a/packages/checkout/src/shared/components/Skeleton/Skeleton.tsx b/packages/checkout/src/shared/components/Skeleton/Skeleton.tsx
deleted file mode 100644
index 18206657..00000000
--- a/packages/checkout/src/shared/components/Skeleton/Skeleton.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react'
-import { Box, BoxProps } from '@0xsequence/design-system'
-
-import * as styles from './styles.css'
-
-interface SkeletonProps {
- width?: number | string
- height?: number | string
- borderRadius?: BoxProps['borderRadius']
-}
-
-export const Skeleton = ({ width = '100%', height = '100%', borderRadius = 'md' }: SkeletonProps) => {
- return
-}
diff --git a/packages/checkout/src/shared/components/Skeleton/index.ts b/packages/checkout/src/shared/components/Skeleton/index.ts
deleted file mode 100644
index 4220e69f..00000000
--- a/packages/checkout/src/shared/components/Skeleton/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './Skeleton'
diff --git a/packages/checkout/src/shared/components/Skeleton/styles.css.ts b/packages/checkout/src/shared/components/Skeleton/styles.css.ts
deleted file mode 100644
index 5fb23505..00000000
--- a/packages/checkout/src/shared/components/Skeleton/styles.css.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { style, keyframes } from '@vanilla-extract/css'
-
-const PulseSimple = keyframes({
- '0%': { opacity: 0.25 },
- '50%': { opacity: 0.1 },
- '100%': { opacity: 0.25 }
-})
-
-export const skeleton = style({
- height: '76px',
- backgroundColor: '#909090',
- animation: `${PulseSimple} 2s ease-in-out infinite`
-})
diff --git a/packages/checkout/src/views/CheckoutSelection/component/OrderSummaryItem.tsx b/packages/checkout/src/views/CheckoutSelection/component/OrderSummaryItem.tsx
index 93561578..fd9ff1f5 100644
--- a/packages/checkout/src/views/CheckoutSelection/component/OrderSummaryItem.tsx
+++ b/packages/checkout/src/views/CheckoutSelection/component/OrderSummaryItem.tsx
@@ -1,10 +1,9 @@
import React from 'react'
import { ethers } from 'ethers'
import { useConfig } from 'wagmi'
-import { Box, Card, Image, Text } from '@0xsequence/design-system'
+import { Box, Card, Image, Text, Placeholder } from '@0xsequence/design-system'
import { getNativeTokenInfoByChainId, useContractInfo, useTokenMetadata } from '@0xsequence/kit'
import { CoinIcon } from '../../../shared/components/CoinIcon'
-import { Skeleton } from '../../../shared/components/Skeleton'
import { formatDisplay } from '../../../utils'
@@ -72,13 +71,13 @@ export const OrderSummarySkeleton = () => {
return (
-
+
-
-
+
+
-
+
)
}
diff --git a/packages/checkout/src/views/CheckoutSelection/index.tsx b/packages/checkout/src/views/CheckoutSelection/index.tsx
index 471628d9..62bc9102 100644
--- a/packages/checkout/src/views/CheckoutSelection/index.tsx
+++ b/packages/checkout/src/views/CheckoutSelection/index.tsx
@@ -10,7 +10,8 @@ import {
TooltipPrimitive,
Tooltip,
PaymentsIcon,
- vars
+ vars,
+ Placeholder
} from '@0xsequence/design-system'
import { getNativeTokenInfoByChainId, useBalances, useContractInfo, useTokenMetadata, useProjectAccessKey } from '@0xsequence/kit'
@@ -20,7 +21,6 @@ import { OrderSummaryItem } from './component/OrderSummaryItem'
import { fetchSardineClientToken, fetchSardineOrderStatus } from '../../api'
import { CoinIcon } from '../../shared/components/CoinIcon'
-import { Skeleton } from '../../shared/components/Skeleton'
import { HEADER_HEIGHT } from '../../constants'
import { useNavigation, useCheckoutModal } from '../../hooks'
import { compareAddress, formatDisplay } from '../../utils'
@@ -159,7 +159,7 @@ export const CheckoutSelection = () => {
Total
{isPending ? (
-
+
) : (
@@ -220,7 +220,7 @@ export const CheckoutSelection = () => {
{displayCryptoCheckout && (
{isPending ? (
-
+
) : (
Balance: {`${formatDisplay(userBalance)} ${coinSymbol}`}
diff --git a/packages/kit/src/components/TxnDetails/index.tsx b/packages/kit/src/components/TxnDetails/index.tsx
index d09f180e..6019fd9f 100644
--- a/packages/kit/src/components/TxnDetails/index.tsx
+++ b/packages/kit/src/components/TxnDetails/index.tsx
@@ -1,4 +1,4 @@
-import { Box, Card, GradientAvatar, Text } from '@0xsequence/design-system'
+import { Box, Card, GradientAvatar, Placeholder, Text } from '@0xsequence/design-system'
import React, { useEffect, useState } from 'react'
@@ -6,7 +6,7 @@ import { ethers } from 'ethers'
import { useConfig } from 'wagmi'
import { useTokenMetadata, useBalances } from '@0xsequence/kit'
-import { Skeleton, CollectibleTileImage, CoinIcon, formatDisplay } from '@0xsequence/kit-wallet'
+import { CollectibleTileImage, CoinIcon, formatDisplay } from '@0xsequence/kit-wallet'
import { compareAddress, getNativeTokenInfoByChainId } from '../../utils'
import { commons } from '@0xsequence/core'
import { DecodingType, TransferProps, AwardItemProps, decodeTransactions } from '../../utils/txnDecoding'
@@ -24,15 +24,15 @@ export const TxnDetailsSkeleton = () => {
return (
-
+
-
-
+
+
-
-
+
+
)
diff --git a/packages/wallet/src/shared/CoinRow.tsx b/packages/wallet/src/shared/CoinRow.tsx
index f12ca6f7..de7b7ae4 100644
--- a/packages/wallet/src/shared/CoinRow.tsx
+++ b/packages/wallet/src/shared/CoinRow.tsx
@@ -1,7 +1,6 @@
-import { Box, Image, Text, vars } from '@0xsequence/design-system'
+import { Box, Image, Placeholder, Text, vars } from '@0xsequence/design-system'
import React from 'react'
-import { Skeleton } from '../shared/Skeleton'
import { ethers } from 'ethers'
import { CoinIcon } from './CoinIcon'
@@ -29,15 +28,15 @@ export const CoinRowSkeleton = () => {
paddingX="3"
>
-
+
-
-
+
+
-
-
+
+
)
diff --git a/packages/wallet/src/shared/SendItemInfo.tsx b/packages/wallet/src/shared/SendItemInfo.tsx
index 534e4c7a..7bfa9660 100644
--- a/packages/wallet/src/shared/SendItemInfo.tsx
+++ b/packages/wallet/src/shared/SendItemInfo.tsx
@@ -1,7 +1,6 @@
-import { Box, Image, Text, vars } from '@0xsequence/design-system'
+import { Box, Placeholder, Text } from '@0xsequence/design-system'
import React from 'react'
-import { Skeleton } from './Skeleton'
import { ethers } from 'ethers'
import { useConfig } from 'wagmi'
@@ -27,15 +26,15 @@ export const SendItemInfoSkeleton = () => {
return (
-
+
-
-
+
+
-
-
+
+
)
diff --git a/packages/wallet/src/shared/Skeleton/Skeleton.tsx b/packages/wallet/src/shared/Skeleton/Skeleton.tsx
deleted file mode 100644
index 4bbbf12a..00000000
--- a/packages/wallet/src/shared/Skeleton/Skeleton.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react'
-import { Box, BoxProps } from '@0xsequence/design-system'
-
-import * as styles from './styles.css'
-
-interface SkeletonProps {
- width?: number | string
- height?: number | string
- borderRadius?: BoxProps['borderRadius']
- aspectRatio?: '1/1'
-}
-
-export const Skeleton = ({ width = '100%', height = '100%', borderRadius = 'md', aspectRatio }: SkeletonProps) => {
- return
-}
diff --git a/packages/wallet/src/shared/Skeleton/index.ts b/packages/wallet/src/shared/Skeleton/index.ts
deleted file mode 100644
index 4220e69f..00000000
--- a/packages/wallet/src/shared/Skeleton/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './Skeleton'
diff --git a/packages/wallet/src/shared/Skeleton/styles.css.ts b/packages/wallet/src/shared/Skeleton/styles.css.ts
deleted file mode 100644
index 5fb23505..00000000
--- a/packages/wallet/src/shared/Skeleton/styles.css.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { style, keyframes } from '@vanilla-extract/css'
-
-const PulseSimple = keyframes({
- '0%': { opacity: 0.25 },
- '50%': { opacity: 0.1 },
- '100%': { opacity: 0.25 }
-})
-
-export const skeleton = style({
- height: '76px',
- backgroundColor: '#909090',
- animation: `${PulseSimple} 2s ease-in-out infinite`
-})
diff --git a/packages/wallet/src/shared/TransactionHistoryList/TransactionHistoryItem.tsx b/packages/wallet/src/shared/TransactionHistoryList/TransactionHistoryItem.tsx
index 224a2ad7..ea8f6073 100644
--- a/packages/wallet/src/shared/TransactionHistoryList/TransactionHistoryItem.tsx
+++ b/packages/wallet/src/shared/TransactionHistoryList/TransactionHistoryItem.tsx
@@ -3,11 +3,20 @@ import { TokenPrice } from '@0xsequence/api'
import { ethers } from 'ethers'
import { Transaction, TxnTransfer, TxnTransferType } from '@0xsequence/indexer'
import { getNativeTokenInfoByChainId, useCoinPrices, useExchangeRate } from '@0xsequence/kit'
-import { ArrowRightIcon, Box, Text, Image, SendIcon, ReceiveIcon, TransactionIcon, vars } from '@0xsequence/design-system'
+import {
+ ArrowRightIcon,
+ Box,
+ Text,
+ Image,
+ SendIcon,
+ ReceiveIcon,
+ TransactionIcon,
+ vars,
+ Placeholder
+} from '@0xsequence/design-system'
import dayjs from 'dayjs'
import { useConfig } from 'wagmi'
-import { Skeleton } from '../../shared/Skeleton'
import { useSettings, useNavigation } from '../../hooks'
import { formatDisplay, compareAddress } from '../../utils'
@@ -160,7 +169,7 @@ export const TransactionHistoryItem = ({ transaction }: TransactionHistoryItemPr
{tokenLogoUri && }
{getTransferAmountLabel(formatDisplay(amountValue), symbol, transfer.transferType)}
- {isPending && }
+ {isPending && }
{fiatConversionRate && (
{`${fiatCurrency.sign}${(Number(amountValue) * fiatConversionRate * conversionRate).toFixed(2)}`}
diff --git a/packages/wallet/src/shared/TransactionHistoryList/TransactionHistorySkeleton.tsx b/packages/wallet/src/shared/TransactionHistoryList/TransactionHistorySkeleton.tsx
index 82b9d51f..65a10d92 100644
--- a/packages/wallet/src/shared/TransactionHistoryList/TransactionHistorySkeleton.tsx
+++ b/packages/wallet/src/shared/TransactionHistoryList/TransactionHistorySkeleton.tsx
@@ -1,19 +1,17 @@
import React from 'react'
-import { Text, Box } from '@0xsequence/design-system'
-
-import { Skeleton } from '../../shared/Skeleton'
+import { Text, Box, Placeholder } from '@0xsequence/design-system'
export const TransactionHistorySkeleton = () => {
const getTransactionItem = () => {
return (
-
-
+
+
-
-
+
+
)
@@ -21,7 +19,7 @@ export const TransactionHistorySkeleton = () => {
return (
-
+
{Array(8)
.fill(null)
diff --git a/packages/wallet/src/views/CoinDetails/Skeleton.tsx b/packages/wallet/src/views/CoinDetails/Skeleton.tsx
index e00795e8..da034472 100644
--- a/packages/wallet/src/views/CoinDetails/Skeleton.tsx
+++ b/packages/wallet/src/views/CoinDetails/Skeleton.tsx
@@ -1,9 +1,8 @@
import React from 'react'
-import { Box, Button, SendIcon, Text, vars } from '@0xsequence/design-system'
+import { Box, Button, Placeholder, SendIcon, Text } from '@0xsequence/design-system'
import { TransactionHistorySkeleton } from '../../shared/TransactionHistoryList/TransactionHistorySkeleton'
import { NetworkBadge } from '../../shared/NetworkBadge'
-import { Skeleton } from '../../shared/Skeleton'
import { HEADER_HEIGHT } from '../../constants'
import { useScrollbarWidth } from '../../hooks/useScrollbarWidth'
@@ -19,8 +18,8 @@ export const CoinDetailsSkeleton = ({ chainId }: CoinDetailsSkeletonProps) => {
-
-
+
+
@@ -28,8 +27,8 @@ export const CoinDetailsSkeleton = ({ chainId }: CoinDetailsSkeletonProps) => {
Balance
-
-
+
+