Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apps/www/src/app/examples/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import {
import React, { useState } from "react";
import {
BellIcon,
BellSlashIcon,
CoinColoredIcon,
CoinIcon,
FilterIcon,
OrganizationIcon,
SidebarIcon,
Expand Down Expand Up @@ -42,7 +45,7 @@ const Page = () => {
}}
>
<Sidebar.Header
logo={<BellIcon width={24} height={24} />}
logo={<SidebarIcon width={24} height={24} />}
title="Raystack"
onLogoClick={() => console.log("Logo clicked")}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/raystack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"build:icons": "node scripts/create-icons.js"
"build:icons": "node v1/icons/create-icons.js"
},
"typesVersions": {
"*": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
const fs = require("fs/promises");
const path = require("path");

const ICON_FOLDER = path.join(__dirname, "..", "v1", "icons");
const ICON_FOLDER = path.join(__dirname);
const ICON_ASSETS = path.join(ICON_FOLDER, "assets");

const FILE_INITIAL_CONTENT = `// This file is automatically generated by "npm run build:icons"
// Do not edit this file manually
// filled icons should be named without -filled suffix
// outline icons need not have any suffix
`;

const getIconName = (filename) => {
Expand Down
9 changes: 9 additions & 0 deletions packages/raystack/v1/icons/filled/bell-slash-filled.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 packages/raystack/v1/icons/filled/buildings-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/raystack/v1/icons/filled/check-circle-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions packages/raystack/v1/icons/filled/coin-colored-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/raystack/v1/icons/filled/coin-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/raystack/v1/icons/filled/cross-circle-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/raystack/v1/icons/filled/organization-filled.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 packages/raystack/v1/icons/filled/shopping-bag-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/raystack/v1/icons/filled/sidebar-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/raystack/v1/icons/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// This file is automatically generated by "npm run build:icons"
// Do not edit this file manually
// filled icons should be named without -filled suffix
// outline icons need not have any suffix

export { ReactComponent as BellSlashIcon } from "./assets/bell-slash.svg";
export { ReactComponent as BellIcon } from "./assets/bell.svg";
Expand Down
5 changes: 5 additions & 0 deletions packages/raystack/v1/icons/outline/bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/raystack/v1/icons/outline/filter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.