Skip to content

Commit 93facfe

Browse files
committed
feat: added new icons & removed old ones
1 parent bf61899 commit 93facfe

File tree

146 files changed

+330
-1107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+330
-1107
lines changed

Diff for: .qodo/history.sqlite

20 KB
Binary file not shown.

Diff for: jest.config.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/** @type {import('jest').Config} */
2+
module.exports = {
3+
preset: "ts-jest",
4+
testEnvironment: "jsdom",
5+
globals: {
6+
"ts-jest": {
7+
isolatedModules: true,
8+
tsconfig: "tsconfig.test.json",
9+
},
10+
},
11+
moduleNameMapper: {
12+
"^src/(.*)$": "<rootDir>/src/$1",
13+
},
14+
transform: {
15+
"^.+\\.[t|j]sx?$": "babel-jest",
16+
"\\.xml$": "jest-raw-loader",
17+
},
18+
testPathIgnorePatterns: ["/node_modules/", "<rootDir>/e2e"],
19+
transformIgnorePatterns: ["<rootDir>/node_modules/(?!(node-fetch)/)"],
20+
};

Diff for: src/icons/new/IcApps.tsx renamed to src/icons/ic-apps.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcApps = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconApps = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcApps = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcApps;

Diff for: src/icons/new/IcArrowDown.tsx renamed to src/icons/ic-arrow-down.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcArrowDown = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconArrowDown = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcArrowDown = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcArrowDown;

Diff for: src/icons/new/IcArrowLeft.tsx renamed to src/icons/ic-arrow-left.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcArrowLeft = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconArrowLeft = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcArrowLeft = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcArrowLeft;

Diff for: src/icons/new/IcArrowRight.tsx renamed to src/icons/ic-arrow-right.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcArrowRight = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconArrowRight = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcArrowRight = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcArrowRight;

Diff for: src/icons/new/IcArrowUpRight.tsx renamed to src/icons/ic-arrow-up-right.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcArrowUpRight = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconArrowUpRight = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcArrowUpRight = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcArrowUpRight;

Diff for: src/icons/new/IcArrowUp.tsx renamed to src/icons/ic-arrow-up.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcArrowUp = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconArrowUp = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcArrowUp = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcArrowUp;

Diff for: src/icons/new/IcBookmark.tsx renamed to src/icons/ic-bookmark.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcBookmark = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconBookmark = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -15,4 +15,3 @@ const SvgIcBookmark = (props: SVGProps<SVGSVGElement>) => (
1515
/>
1616
</svg>
1717
);
18-
export default SvgIcBookmark;

Diff for: src/icons/new/IcBuilding.tsx renamed to src/icons/ic-building.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcBuilding = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconBuilding = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -19,4 +19,3 @@ const SvgIcBuilding = (props: SVGProps<SVGSVGElement>) => (
1919
/>
2020
</svg>
2121
);
22-
export default SvgIcBuilding;

Diff for: src/icons/new/IcCalendar.tsx renamed to src/icons/ic-calendar.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcCalendar = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconCalendar = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -19,4 +19,3 @@ const SvgIcCalendar = (props: SVGProps<SVGSVGElement>) => (
1919
/>
2020
</svg>
2121
);
22-
export default SvgIcCalendar;

Diff for: src/icons/new/IcCancel.tsx renamed to src/icons/ic-cancel.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcCancel = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconCancel = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcCancel = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcCancel;

Diff for: src/icons/new/IcCart.tsx renamed to src/icons/ic-cart.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcCart = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconCart = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -15,4 +15,3 @@ const SvgIcCart = (props: SVGProps<SVGSVGElement>) => (
1515
/>
1616
</svg>
1717
);
18-
export default SvgIcCart;

Diff for: src/icons/new/IcCategories.tsx renamed to src/icons/ic-categories.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcCategories = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconCategories = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -21,4 +21,3 @@ const SvgIcCategories = (props: SVGProps<SVGSVGElement>) => (
2121
/>
2222
</svg>
2323
);
24-
export default SvgIcCategories;

Diff for: src/icons/new/IcChartBar.tsx renamed to src/icons/ic-chart-bar.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChartBar = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChartBar = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -17,4 +17,3 @@ const SvgIcChartBar = (props: SVGProps<SVGSVGElement>) => (
1717
/>
1818
</svg>
1919
);
20-
export default SvgIcChartBar;

Diff for: src/icons/new/IcChartColumn.tsx renamed to src/icons/ic-chart-column.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChartColumn = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChartColumn = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -14,4 +14,3 @@ const SvgIcChartColumn = (props: SVGProps<SVGSVGElement>) => (
1414
/>
1515
</svg>
1616
);
17-
export default SvgIcChartColumn;

Diff for: src/icons/new/IcCheckmarkCircle.tsx renamed to src/icons/ic-checkmark-circle.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcCheckmarkCircle = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconCheckmarkCircle = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -19,4 +19,3 @@ const SvgIcCheckmarkCircle = (props: SVGProps<SVGSVGElement>) => (
1919
/>
2020
</svg>
2121
);
22-
export default SvgIcCheckmarkCircle;

Diff for: src/icons/new/IcCheckmark.tsx renamed to src/icons/ic-checkmark.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcCheckmark = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconCheckmark = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcCheckmark = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcCheckmark;

Diff for: src/icons/new/IcChevronDoubleLeft.tsx renamed to src/icons/ic-chevron-double-left.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronDoubleLeft = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronDoubleLeft = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -17,4 +17,3 @@ const SvgIcChevronDoubleLeft = (props: SVGProps<SVGSVGElement>) => (
1717
/>
1818
</svg>
1919
);
20-
export default SvgIcChevronDoubleLeft;

Diff for: src/icons/new/IcChevronDoubleRight.tsx renamed to src/icons/ic-chevron-double-right.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronDoubleRight = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronDoubleRight = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -17,4 +17,3 @@ const SvgIcChevronDoubleRight = (props: SVGProps<SVGSVGElement>) => (
1717
/>
1818
</svg>
1919
);
20-
export default SvgIcChevronDoubleRight;

Diff for: src/icons/new/IcChevronDown.tsx renamed to src/icons/ic-chevron-down.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronDown = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronDown = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronDown = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronDown;

Diff for: src/icons/new/IcChevronLeft.tsx renamed to src/icons/ic-chevron-left.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronLeft = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronLeft = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronLeft = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronLeft;

Diff for: src/icons/new/IcChevronLineLeft.tsx renamed to src/icons/ic-chevron-line-left.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronLineLeft = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronLineLeft = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronLineLeft = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronLineLeft;

Diff for: src/icons/new/IcChevronLineRight.tsx renamed to src/icons/ic-chevron-line-right.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronLineRight = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronLineRight = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronLineRight = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronLineRight;

Diff for: src/icons/new/IcChevronRight.tsx renamed to src/icons/ic-chevron-right.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronRight = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronRight = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronRight = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronRight;

Diff for: src/icons/new/IcChevronSmallDown.tsx renamed to src/icons/ic-chevron-small-down.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronSmallDown = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronSmallDown = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronSmallDown = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronSmallDown;

Diff for: src/icons/new/IcChevronSmallLeft.tsx renamed to src/icons/ic-chevron-small-left.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronSmallLeft = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronSmallLeft = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronSmallLeft = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronSmallLeft;

Diff for: src/icons/new/IcChevronSmallRight.tsx renamed to src/icons/ic-chevron-small-right.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronSmallRight = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronSmallRight = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronSmallRight = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronSmallRight;

Diff for: src/icons/new/IcChevronSmallUp.tsx renamed to src/icons/ic-chevron-small-up.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronSmallUp = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronSmallUp = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronSmallUp = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronSmallUp;

Diff for: src/icons/new/IcChevronUp.tsx renamed to src/icons/ic-chevron-up.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcChevronUp = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconChevronUp = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcChevronUp = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcChevronUp;

Diff for: src/icons/new/IcCircle.tsx renamed to src/icons/ic-circle.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcCircle = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconCircle = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcCircle = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcCircle;

Diff for: src/icons/new/IcClear.tsx renamed to src/icons/ic-clear.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcClear = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconClear = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -19,4 +19,3 @@ const SvgIcClear = (props: SVGProps<SVGSVGElement>) => (
1919
/>
2020
</svg>
2121
);
22-
export default SvgIcClear;

Diff for: src/icons/new/IcClose.tsx renamed to src/icons/ic-close.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SVGProps } from "react";
2-
const SvgIcClose = (props: SVGProps<SVGSVGElement>) => (
2+
export const IconClose = (props: SVGProps<SVGSVGElement>) => (
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
55
width={24}
@@ -13,4 +13,3 @@ const SvgIcClose = (props: SVGProps<SVGSVGElement>) => (
1313
/>
1414
</svg>
1515
);
16-
export default SvgIcClose;

0 commit comments

Comments
 (0)