@commmerce/icons 1.0.0-rc.5 → 1.1.0
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/LICENSE.md +152 -17
- 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/LICENSE.md
CHANGED
|
@@ -1,17 +1,152 @@
|
|
|
1
|
-
# Commmerce UI Licence
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
1.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
# Commmerce UI Licence
|
|
2
|
+
|
|
3
|
+
Version 1.0 | Copyright © 2026 Outdo Inc. (Commmerce)
|
|
4
|
+
|
|
5
|
+
All rights not expressly granted under this licence are reserved.
|
|
6
|
+
|
|
7
|
+
## 1. Definitions
|
|
8
|
+
|
|
9
|
+
"**Commmerce**" means Outdo Inc. and its affiliates.
|
|
10
|
+
|
|
11
|
+
"**Packages**" means the Commmerce UI software and assets distributed by Commmerce under this licence,
|
|
12
|
+
including the npm packages `@commmerce/tokens`, `@commmerce/icons`, `@commmerce/ui`, `@commmerce/ui-react`
|
|
13
|
+
and `@commmerce/app-bridge`, the Flutter package `commmerce_ui`, and the corresponding files hosted at
|
|
14
|
+
commmerce.com/blog/commmerceui/.
|
|
15
|
+
|
|
16
|
+
"**Commmerce Platform**" means the products, services, infrastructure and applications operated or provided
|
|
17
|
+
by Commmerce.
|
|
18
|
+
|
|
19
|
+
"**Commmerce Software**" means software developed to run on, integrate with, extend or provide functionality
|
|
20
|
+
for a Commmerce Platform, including applications listed in or privately installed through the Commmerce app
|
|
21
|
+
marketplace, and internal business applications used in connection with a Commmerce Platform.
|
|
22
|
+
|
|
23
|
+
"**You**" means the individual or legal entity exercising rights under this licence, including its
|
|
24
|
+
authorised employees, contractors, consultants and agencies acting on its behalf solely for the
|
|
25
|
+
development, maintenance or operation of Commmerce Software.
|
|
26
|
+
|
|
27
|
+
## 2. Licence Grant
|
|
28
|
+
|
|
29
|
+
Subject to your compliance with this licence, Commmerce grants you a worldwide, non-exclusive,
|
|
30
|
+
royalty-free, limited, non-transferable licence to:
|
|
31
|
+
|
|
32
|
+
(a) install, access and use the Packages;
|
|
33
|
+
|
|
34
|
+
(b) incorporate the Packages into Commmerce Software;
|
|
35
|
+
|
|
36
|
+
(c) modify and adapt the Packages solely to the extent reasonably necessary to develop, maintain, customise
|
|
37
|
+
and operate Commmerce Software;
|
|
38
|
+
|
|
39
|
+
(d) distribute the Packages as integrated components of Commmerce Software, in source, bundled, minified,
|
|
40
|
+
compiled or other executable forms; and
|
|
41
|
+
|
|
42
|
+
(e) permit merchants and end users to use Commmerce Software incorporating the Packages.
|
|
43
|
+
|
|
44
|
+
Normal software development and build processes, including bundling, minification, compilation,
|
|
45
|
+
tree-shaking and configuration through documented options, are permitted.
|
|
46
|
+
|
|
47
|
+
No ownership of the Packages or underlying intellectual property is transferred to you.
|
|
48
|
+
|
|
49
|
+
## 3. Starter Applications and Code Samples
|
|
50
|
+
|
|
51
|
+
Starter applications, templates and code samples published by Commmerce may be copied, modified, adapted
|
|
52
|
+
and used as the basis for developing your own Commmerce Software.
|
|
53
|
+
|
|
54
|
+
You may incorporate such modifications into your applications and distribute those applications.
|
|
55
|
+
|
|
56
|
+
The Packages and any separately identified third-party components remain subject to their respective
|
|
57
|
+
licences. This section does not grant rights to Commmerce trademarks, logos or other separately protected
|
|
58
|
+
assets.
|
|
59
|
+
|
|
60
|
+
## 4. Restrictions
|
|
61
|
+
|
|
62
|
+
You must not:
|
|
63
|
+
|
|
64
|
+
(a) use the Packages to develop, operate or distribute software that is not Commmerce Software;
|
|
65
|
+
|
|
66
|
+
(b) redistribute, sublicense, sell, publish or otherwise make the Packages, or modified versions of the
|
|
67
|
+
Packages, available independently or as part of a standalone design system, component library, UI
|
|
68
|
+
toolkit, framework or developer platform intended for use outside the Commmerce ecosystem;
|
|
69
|
+
|
|
70
|
+
(c) extract, repurpose or reuse the Packages or their components to create or distribute a competing
|
|
71
|
+
design system, component library or equivalent developer toolkit;
|
|
72
|
+
|
|
73
|
+
(d) use the Commmerce name, logo or other trademarks in a manner that suggests ownership, official
|
|
74
|
+
affiliation, sponsorship or endorsement, except where expressly authorised under Commmerce's brand or
|
|
75
|
+
developer guidelines; or
|
|
76
|
+
|
|
77
|
+
(e) remove, obscure or alter copyright notices, licence notices or attribution requirements included with
|
|
78
|
+
the Packages.
|
|
79
|
+
|
|
80
|
+
Nothing in this section prevents you from developing and distributing your own applications, business
|
|
81
|
+
logic, integrations, themes or other original software for the Commmerce Platform.
|
|
82
|
+
|
|
83
|
+
## 5. Third-Party Components
|
|
84
|
+
|
|
85
|
+
Certain components, libraries, typefaces or other materials included with or used by the Packages may be
|
|
86
|
+
subject to third-party licences.
|
|
87
|
+
|
|
88
|
+
Those third-party licences govern the applicable components and prevail to the extent of any
|
|
89
|
+
inconsistency with this licence.
|
|
90
|
+
|
|
91
|
+
Applicable third-party notices and licence texts are provided in the relevant Packages or accompanying
|
|
92
|
+
documentation.
|
|
93
|
+
|
|
94
|
+
## 6. Later Versions
|
|
95
|
+
|
|
96
|
+
Commmerce may publish new versions of the Packages under this licence or under different licence terms.
|
|
97
|
+
|
|
98
|
+
Each published version is governed by the licence accompanying that version. No change to a later version
|
|
99
|
+
retroactively changes the licence applicable to an earlier version already distributed.
|
|
100
|
+
|
|
101
|
+
## 7. Intellectual Property and Trademarks
|
|
102
|
+
|
|
103
|
+
The Packages, including their original code, design tokens, component implementations, documentation and
|
|
104
|
+
associated intellectual property, remain the property of Commmerce or their respective rights holders.
|
|
105
|
+
|
|
106
|
+
This licence does not grant any ownership interest or general trademark licence.
|
|
107
|
+
|
|
108
|
+
You may make factual references to compatibility or integration with Commmerce, provided those references
|
|
109
|
+
are accurate and do not imply official endorsement, sponsorship or ownership.
|
|
110
|
+
|
|
111
|
+
## 8. Disclaimer of Warranties
|
|
112
|
+
|
|
113
|
+
To the maximum extent permitted by applicable law, the Packages are provided "AS IS" and "AS AVAILABLE",
|
|
114
|
+
without warranties, representations or conditions of any kind, whether express, implied or statutory,
|
|
115
|
+
including warranties of merchantability, fitness for a particular purpose, title and non-infringement.
|
|
116
|
+
|
|
117
|
+
Commmerce does not warrant that the Packages will be uninterrupted, error-free, secure or compatible with
|
|
118
|
+
every third-party environment.
|
|
119
|
+
|
|
120
|
+
## 9. Limitation of Liability
|
|
121
|
+
|
|
122
|
+
To the maximum extent permitted by applicable law, Commmerce and its affiliates, directors, officers,
|
|
123
|
+
employees and licensors shall not be liable for any indirect, incidental, special, exemplary or
|
|
124
|
+
consequential damages, or for loss of profits, revenue, business opportunities, goodwill, business
|
|
125
|
+
interruption or data arising out of or relating to the Packages or this licence.
|
|
126
|
+
|
|
127
|
+
Nothing in this licence excludes or limits liability to the extent that such exclusion or limitation is
|
|
128
|
+
prohibited by applicable law.
|
|
129
|
+
|
|
130
|
+
## 10. Termination
|
|
131
|
+
|
|
132
|
+
This licence terminates automatically if you materially breach its terms and, where the breach is capable
|
|
133
|
+
of remedy, fail to remedy it within thirty (30) days after receiving written notice.
|
|
134
|
+
|
|
135
|
+
Commmerce may terminate the licence immediately where a breach is incapable of remedy or involves
|
|
136
|
+
unauthorised redistribution, infringement of intellectual property, or a material security risk.
|
|
137
|
+
|
|
138
|
+
Upon termination, you must cease using and distributing the Packages and remove them from systems under
|
|
139
|
+
your control, except to the extent retention is required by applicable law.
|
|
140
|
+
|
|
141
|
+
Where reasonably practicable and where termination does not arise from a security or intellectual property
|
|
142
|
+
violation, Commmerce may permit a limited transition period for existing merchant applications.
|
|
143
|
+
|
|
144
|
+
Termination does not affect rights or obligations accrued before termination.
|
|
145
|
+
|
|
146
|
+
Sections 4, 5, 7, 8, 9 and this section survive termination.
|
|
147
|
+
|
|
148
|
+
## 11. Contact
|
|
149
|
+
|
|
150
|
+
Questions concerning this licence may be sent to: support@commmerce.com
|
|
151
|
+
|
|
152
|
+
End of Licence
|
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.0",
|
|
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
|
},
|