Skip to content

Commit

Permalink
feat: static icon components generation (#47)
Browse files Browse the repository at this point in the history
* feat: rework dynamic icons component

* fix: added icon/[iconSymbol] page to make sure that icons loaded separately

* fix: added page to test single icon

* fix: change icon size

* fix: used <GithubSVGIcon /> in <StaticIcon />. Get rid of useEffect

* fix: refactor components generation flow

* feat: added script to generate components

* fix: use generated components in docs

* fix: removed 'use client' directive

* fix: moved helper functions out for capitalize.ts

* fix: transform all numbers to words

* fix: added icons in tsup configuration

* fix: get rid of react-inlinesvg

* feat: added tailwind support

* fix: shared symbolToComponentName function between main package and web3-icons

* fix: update documentation

* fix: minify index.css using nanocss

* fix: aliases generation (#49)

* fix: pool symbols for `updateAliasesWithAddressBook`

---------

Co-authored-by: Aleksei <al.gorbunov@slotegrator.space>
Co-authored-by: Oleksandr <argeares97@gmail.com>
  • Loading branch information
3 people authored Oct 31, 2024
1 parent cf5798b commit 44f7016
Show file tree
Hide file tree
Showing 805 changed files with 18,275 additions and 6,806 deletions.
20 changes: 12 additions & 8 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
{
"name": "Oleksandr Tkach",
"url": "https://github.com/Argeare5"
},
{
"name": "Aleksey Gorbunov",
"url": "https://github.com/isArlekin"
}
],
"repository": {
Expand All @@ -33,23 +37,23 @@
"dependencies": {
"@bgd-labs/react-web3-icons": "workspace:^",
"clsx": "^2.1.1",
"framer-motion": "^11.3.2",
"framer-motion": "^11.11.10",
"fuse.js": "^7.0.0",
"next": "^14.2.5",
"next-themes": "^0.3.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-inlinesvg": "^4.1.3",
"tailwind-merge": "^2.4.0",
"use-debounce": "^10.0.1"
"react-inlinesvg": "^4.1.4",
"tailwind-merge": "^2.5.4",
"use-debounce": "^10.0.4"
},
"devDependencies": {
"@types/node": "^20.14.10",
"@types/node": "^22.8.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"postcss": "^8.4.39",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.4",
"postcss": "^8.4.47",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "^1.0.7"
},
"packageManager": "pnpm@8.15.5"
Expand Down
Loading

0 comments on commit 44f7016

Please sign in to comment.