@commmerce/icons 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -1
- package/dist/svg/building.svg +1 -0
- package/dist/svg/chat.svg +1 -0
- package/dist/svg/eye.svg +1 -0
- package/dist/svg/handshake.svg +1 -0
- package/dist/svg/inbox.svg +1 -0
- package/dist/svg/log-out.svg +1 -0
- package/dist/svg/mail.svg +1 -0
- package/dist/svg/map.svg +1 -0
- package/dist/svg/note.svg +1 -0
- package/dist/svg/refresh.svg +1 -0
- package/dist/svg/tag.svg +1 -0
- package/dist/svg/tasks.svg +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Commmerce UI line icons: a 24px grid, 1.6px round stroke, coloured by `currentColor`.
|
|
4
4
|
|
|
5
|
-
Docs: https://commmerce.com/
|
|
5
|
+
Docs: https://commmerce.com/commmerceui/#icons
|
|
6
6
|
|
|
7
7
|
```js
|
|
8
8
|
import { icons, iconNames } from '@commmerce/icons'; // icons.cart === SVG path data
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// generated
|
|
2
|
-
export type IconName = 'chevron-down' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'close' | 'search' | 'filter' | 'edit' | 'trash' | 'arrow-up-right' | 'calendar' | 'upload' | 'plus' | 'check' | 'bell' | 'help' | 'rocket' | 'home' | 'box' | 'cart' | 'more' | 'drag' | 'eye-off' | 'external' | 'users' | 'chart' | 'settings' | 'store' | 'pin' | 'clock' | 'alert' | 'check-circle' | 'x-circle' | 'bag' | 'sun' | 'moon' | 'menu' | 'copy' | 'code' | 'download' | 'book' | 'pos' | 'website' | 'apps' | 'megaphone' | 'staff' | 'repeat' | 'wallet' | 'user' | 'star' | 'percent' | 'arrow-left' | 'send' | 'link' | 'share' | 'globe' | 'gift';
|
|
2
|
+
export type IconName = 'chevron-down' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'close' | 'search' | 'filter' | 'edit' | 'trash' | 'arrow-up-right' | 'calendar' | 'upload' | 'plus' | 'check' | 'bell' | 'help' | 'rocket' | 'home' | 'box' | 'cart' | 'more' | 'drag' | 'eye-off' | 'external' | 'users' | 'chart' | 'settings' | 'store' | 'pin' | 'clock' | 'alert' | 'check-circle' | 'x-circle' | 'bag' | 'sun' | 'moon' | 'menu' | 'copy' | 'code' | 'download' | 'book' | 'pos' | 'website' | 'apps' | 'megaphone' | 'staff' | 'repeat' | 'wallet' | 'user' | 'star' | 'percent' | 'arrow-left' | 'send' | 'link' | 'share' | 'globe' | 'gift' | 'mail' | 'chat' | 'tag' | 'building' | 'map' | 'note' | 'eye' | 'inbox' | 'handshake' | 'log-out' | 'refresh' | 'tasks';
|
|
3
3
|
export declare const icons: Record<IconName, string>;
|
|
4
4
|
export declare const dotted: IconName[];
|
|
5
5
|
export declare const iconNames: IconName[];
|
package/dist/index.js
CHANGED
|
@@ -56,7 +56,19 @@ export const icons = {
|
|
|
56
56
|
"link": "M10 14a4 4 0 0 0 6 0l3-3a4 4 0 0 0-6-6l-1 1M14 10a4 4 0 0 0-6 0l-3 3a4 4 0 0 0 6 6l1-1",
|
|
57
57
|
"share": "M18 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM6 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM18 22a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8.6 13.5l6.8 4M15.4 6.5l-6.8 4",
|
|
58
58
|
"globe": "M12 21a9 9 0 1 1 0-18 9 9 0 0 1 0 18zM3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18",
|
|
59
|
-
"gift": "M4 11h16v9H4zM3 7h18v4H3zM12 7v13M12 7c-2 0-4-1-4-3s3-1 4 3c1-4 4-5 4-3s-2 3-4 3"
|
|
59
|
+
"gift": "M4 11h16v9H4zM3 7h18v4H3zM12 7v13M12 7c-2 0-4-1-4-3s3-1 4 3c1-4 4-5 4-3s-2 3-4 3",
|
|
60
|
+
"mail": "M3 6h18v12H3zM3 6l9 7 9-7",
|
|
61
|
+
"chat": "M4 5h16v11h-9l-4 4v-4H4zM8 9.5h8M8 12.5h5",
|
|
62
|
+
"tag": "M4 4h7l9 9-7 7-9-9zM8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z",
|
|
63
|
+
"building": "M3 21h18M5 21V4h9v17M14 10h5v11M8 8h3M8 12h3M8 16h3",
|
|
64
|
+
"map": "M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2zM9 4v14M15 6v14",
|
|
65
|
+
"note": "M6 3h8l4 4v14H6zM14 3v4h4M9 12h6M9 15h6M9 18h4",
|
|
66
|
+
"eye": "M3 12s3-6 9-6 9 6 9 6-3 6-9 6-9-6-9-6zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",
|
|
67
|
+
"inbox": "M3 13l3-8h12l3 8v6H3zM3 13h5l1 3h6l1-3h5",
|
|
68
|
+
"handshake": "M3 7v8M21 7v8M3 9l5-3h4l-3 3.5a1.5 1.5 0 0 0 2.2 2L13 9.5l5 5M21 9l-4-3h-5M3 15h2l5 4a1.4 1.4 0 0 0 2-2M10 15l3.5 3a1.4 1.4 0 0 0 2-2l-1.5-1.5",
|
|
69
|
+
"log-out": "M10 4H5v16h5M14 8l4 4-4 4M18 12H9",
|
|
70
|
+
"refresh": "M20 12a8 8 0 0 0-14.9-4M4 12a8 8 0 0 0 14.9 4M5 3.5V8h4.5M19 20.5V16h-4.5",
|
|
71
|
+
"tasks": "M5 5h14v14H5zM8.5 12l2.5 2.5 4.5-5"
|
|
60
72
|
};
|
|
61
73
|
export const dotted = ["more","drag"];
|
|
62
74
|
export const iconNames = Object.keys(icons);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 21h18M5 21V4h9v17M14 10h5v11M8 8h3M8 12h3M8 16h3"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4 5h16v11h-9l-4 4v-4H4zM8 9.5h8M8 12.5h5"/></svg>
|
package/dist/svg/eye.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12s3-6 9-6 9 6 9 6-3 6-9 6-9-6-9-6zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7v8M21 7v8M3 9l5-3h4l-3 3.5a1.5 1.5 0 0 0 2.2 2L13 9.5l5 5M21 9l-4-3h-5M3 15h2l5 4a1.4 1.4 0 0 0 2-2M10 15l3.5 3a1.4 1.4 0 0 0 2-2l-1.5-1.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 13l3-8h12l3 8v6H3zM3 13h5l1 3h6l1-3h5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M10 4H5v16h5M14 8l4 4-4 4M18 12H9"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18v12H3zM3 6l9 7 9-7"/></svg>
|
package/dist/svg/map.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2zM9 4v14M15 6v14"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3h8l4 4v14H6zM14 3v4h4M9 12h6M9 15h6M9 18h4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M20 12a8 8 0 0 0-14.9-4M4 12a8 8 0 0 0 14.9 4M5 3.5V8h4.5M19 20.5V16h-4.5"/></svg>
|
package/dist/svg/tag.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h7l9 9-7 7-9-9zM8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5 5h14v14H5zM8.5 12l2.5 2.5 4.5-5"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commmerce/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Commmerce UI line icons (24px grid, 1.6px stroke) as SVG files and path data.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"icons",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"design-system"
|
|
10
10
|
],
|
|
11
11
|
"author": "Commmerce",
|
|
12
|
-
"homepage": "https://commmerce.com/
|
|
12
|
+
"homepage": "https://commmerce.com/commmerceui/",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"email": "support@commmerce.com"
|
|
15
15
|
},
|