Skip to content

Commit 6ecd196

Browse files
committed
Merge branch 'main' into table-network-status-improvement
2 parents 0544ec9 + 8f26188 commit 6ecd196

32 files changed

+1299
-432
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ updates:
1818
versions: ["*"]
1919
- dependency-name: "@chainlink/local"
2020
versions: ["*"]
21-
- dependency-name: "chainlink-algolia-search"
22-
versions: ["*"]
21+
- dependency-name: "@chainlink/cl-search-frontend"
22+
update-types: ["version-update:semver-patch"]
2323
# For all deps
2424
- dependency-name: "*"
2525
# ignore all major updates

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ typechain-types
1414
public/snippets
1515
public/search-index.json
1616
vercel.json
17-
src/content/quickstarts/**/*.mdx
17+
1818

1919
coverage

package-lock.json

Lines changed: 364 additions & 191 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"@astrojs/react": "^4.3.0",
5050
"@astrojs/sitemap": "^3.4.1",
5151
"@astrojs/vercel": "^8.1.5",
52+
"@chainlink/cl-search-frontend": "^0.11.1",
5253
"@chainlink/components": "^0.4.18",
5354
"@chainlink/contracts": "1.4.0",
5455
"@chainlink/contracts-ccip": "1.6.0",
@@ -62,10 +63,9 @@
6263
"@openzeppelin/contracts": "^4.9.6",
6364
"astro": "^5.9.3",
6465
"bignumber.js": "^9.3.0",
65-
"chainlink-algolia-search": "^0.10.1",
6666
"clipboard": "^2.0.11",
6767
"dotenv": "^16.5.0",
68-
"ethers": "^6.14.3",
68+
"ethers": "^6.14.4",
6969
"focus-trap-react": "^11.0.4",
7070
"github-slugger": "^2.0.0",
7171
"graphql": "^16.11.0",
@@ -74,14 +74,14 @@
7474
"marked": "^15.0.12",
7575
"nanostores": "^0.11.4",
7676
"pino": "^9.7.0",
77-
"preact": "^10.26.8",
78-
"react-instantsearch": "^7.15.8",
77+
"preact": "^10.26.9",
78+
"react-instantsearch": "^7.16.0",
7979
"rehype-autolink-headings": "^7.1.0",
8080
"rehype-slug": "^6.0.0",
8181
"rehype-wrap-all": "^1.1.0",
8282
"remark-directive": "^3.0.1",
83-
"swagger-ui-dist": "^5.24.0",
84-
"swagger-ui-react": "^5.24.0",
83+
"swagger-ui-dist": "^5.24.2",
84+
"swagger-ui-react": "^5.24.2",
8585
"uuid": "^11.1.0"
8686
},
8787
"devDependencies": {
@@ -97,7 +97,7 @@
9797
"@rollup/plugin-yaml": "^4.1.2",
9898
"@types/jest": "^29.5.14",
9999
"@types/lodash": "^4.17.17",
100-
"@types/node": "^20.19.0",
100+
"@types/node": "^20.19.1",
101101
"@types/node-fetch": "^2.6.12",
102102
"@types/prismjs": "^1.26.5",
103103
"@types/react": "^19.1.8",
@@ -113,7 +113,7 @@
113113
"eslint-plugin-n": "^15.7.0",
114114
"eslint-plugin-prettier": "^5.4.1",
115115
"eslint-plugin-promise": "^6.1.1",
116-
"hardhat": "^2.24.2",
116+
"hardhat": "^2.24.3",
117117
"husky": "^9.1.7",
118118
"jest-yaml-transform": "^0.2.0",
119119
"lint-staged": "^15.5.2",
@@ -124,7 +124,7 @@
124124
"solhint": "^5.1.0",
125125
"solhint-plugin-chainlink-solidity": "github:smartcontractkit/chainlink-solhint-rules",
126126
"solhint-plugin-prettier": "^0.1.0",
127-
"ts-jest": "^29.3.4",
127+
"ts-jest": "^29.4.0",
128128
"tsconfig-paths": "^4.2.0",
129129
"tsx": "^4.20.3",
130130
"typescript": "^5.8.3",

public/changelog.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,27 @@
298298
}
299299
},
300300
"data": [
301+
{
302+
"category": "integration",
303+
"date": "2025-06-17",
304+
"description": "Newly supported tokens: EmCH, xSILO",
305+
"relatedTokens": [
306+
{
307+
"assetName": "EmGEMx Switzerland",
308+
"baseAsset": "EmCH",
309+
"url": "https://docs.chain.link/ccip/directory/mainnet/token/EmCH",
310+
"iconUrl": "https://d2f70xi62kby8n.cloudfront.net/tokens/emch.webp?auto=compress%2Cformat"
311+
},
312+
{
313+
"assetName": "xSILO",
314+
"baseAsset": "xSILO",
315+
"url": "https://docs.chain.link/ccip/directory/mainnet/token/xSILO",
316+
"iconUrl": "https://d2f70xi62kby8n.cloudfront.net/tokens/xsilo.webp?auto=compress%2Cformat"
317+
}
318+
],
319+
"title": "Cross-chain token (CCT) standard: Added support for new tokens",
320+
"topic": "CCIP"
321+
},
301322
{
302323
"category": "integration",
303324
"date": "2025-06-15",

public/files/json/feeds-aptos-mainnet.json

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -181,36 +181,6 @@
181181
},
182182
"decimals": 18
183183
},
184-
{
185-
"compareOffchain": "",
186-
"contractAddress": "x",
187-
"name": "CAKE / USD",
188-
"path": "cake-usd",
189-
"proxyAddress": "0x01d1399b32000332000000000000000000000000000000000000000000000000",
190-
"threshold": 0.5,
191-
"heartbeat": 86400,
192-
"valuePrefix": "",
193-
"assetName": "PancakeSwap",
194-
"feedCategory": "low",
195-
"feedType": "Crypto",
196-
"docs": {
197-
"assetClass": "Crypto",
198-
"assetName": "PancakeSwap",
199-
"baseAsset": "CAKE",
200-
"blockchainName": "Aptos",
201-
"clicProductName": "CAKE/USD-RefPrice-DF-Aptos-001",
202-
"deliveryChannelCode": "DF",
203-
"feedCategory": "low",
204-
"feedType": "Crypto",
205-
"marketHours": "Crypto",
206-
"productSubType": "Reference",
207-
"productType": "Price",
208-
"productTypeCode": "RefPrice",
209-
"quoteAsset": "USD",
210-
"quoteAssetClic": "USD_FX"
211-
},
212-
"decimals": 18
213-
},
214184
{
215185
"compareOffchain": "",
216186
"contractAddress": "x",
128 KB
Loading
91.3 KB
Loading
139 KB
Loading

src/components/Header/Nav/NavBar.tsx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ import { useScrollPosition } from "./useScrollPosition.tsx"
77
import { ProductNavigation } from "./ProductNavigation/ProductNavigation.tsx"
88
import { useHideHeader } from "./useHideHeader.tsx"
99
import ProductChainTable from "../../QuickLinks/sections/ProductChainTable.tsx"
10+
import AlgoliaSearch from "../aiSearch/Search.tsx"
1011

1112
export type SearchTrigger = React.ReactNode
1213

1314
export type NavBarProps = {
14-
searchTrigger?: SearchTrigger
15+
showSearch: boolean
16+
algoliaVars: { algoliaAppId: string; algoliaPublicApiKey: string }
1517
path: string
1618
onHideChange?: (hidden: boolean) => void
1719
productsNav: ProductsNav
@@ -21,14 +23,7 @@ export type NavBarProps = {
2123

2224
export const navBarHeight = 64
2325

24-
export const NavBar = ({
25-
path,
26-
searchTrigger,
27-
onHideChange,
28-
productsNav,
29-
subProductsNav,
30-
doubleNavbar,
31-
}: NavBarProps) => {
26+
export const NavBar = ({ path, algoliaVars, onHideChange, productsNav, subProductsNav, doubleNavbar }: NavBarProps) => {
3227
const [isMenuOpen, setIsMenuOpen] = useState(false)
3328
const [isModalOpen, setIsModalOpen] = useState(false)
3429
const [isMegaMenuOpen, setShowMegaMenu] = useState(false)
@@ -76,7 +71,6 @@ export const NavBar = ({
7671
<div className={styles.menuSection}>
7772
<ProductNavigation
7873
path={path}
79-
searchTrigger={searchTrigger}
8074
setNavMenuOpen={setIsMenuOpen}
8175
productsNav={productsNav}
8276
subProductsNav={subProductsNav}
@@ -86,7 +80,7 @@ export const NavBar = ({
8680
/>
8781
</div>
8882
<div className={styles.rightSection} onMouseEnter={exitMegamenu}>
89-
{searchTrigger && <div className={styles.searchTrigger}>{searchTrigger}</div>}
83+
<AlgoliaSearch algoliaVars={algoliaVars} />
9084
</div>
9185
</div>
9286
</div>

0 commit comments

Comments
 (0)