Skip to content

Commit

Permalink
Update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
2-towns committed Nov 22, 2024
1 parent e0699c4 commit bc40143
Show file tree
Hide file tree
Showing 10 changed files with 72 additions and 100 deletions.
2 changes: 0 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ const config: StorybookConfig = {
"../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
],
addons: [
"@storybook/addon-onboarding",
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
],
Expand Down
103 changes: 18 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components"
},
"version": "0.0.45",
"version": "0.0.46",
"type": "module",
"scripts": {
"prepack": "npm run build",
Expand All @@ -31,23 +31,19 @@
"UI",
"React"
],
"dependencies": {
"lucide-react": "^0.453.0"
},
"dependencies": {},
"peerDependencies": {
"@codex-storage/sdk-js": ">=0.0.14",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"postcss-nesting": "^13.0.1"
"react-dom": "^18.3.1"
},
"devDependencies": {
"postcss-nesting": "^13.0.1",
"vite-plugin-svgr": "^4.3.0",
"@svgr/plugin-svgo": "^8.1.0",
"@codex-storage/sdk-js": "^0.0.15",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/addon-onboarding": "^8.2.9",
"@storybook/blocks": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
Expand Down
12 changes: 12 additions & 0 deletions src/assets/icons/info-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/assets/icons/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/assets/icons/stop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "./alert.css";
import { ReactNode } from "react";
import InfoCircleIcon from "../../assets/icons/info-circle.svg?react";

type Props = {
variant: "success" | "warning" | "toast";
Expand Down Expand Up @@ -36,6 +37,8 @@ export function Alert({
<b>{title}</b>
<div>{children}</div>
</div>

<InfoCircleIcon></InfoCircleIcon>
</div>
);
}
Loading

0 comments on commit bc40143

Please sign in to comment.