orbcafe-ui 2.0.2 → 3.0.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.
@@ -0,0 +1,57 @@
1
+ # ORBCAFE UI Commercial License
2
+
3
+ ORBCAFE UI is source-available software. The [Community License](LICENSE)
4
+ is free for personal, educational, research, evaluation, development, and
5
+ internal business use. A **commercial license** is required when ORBCAFE UI
6
+ becomes part of a commercial software product or a paid customer delivery.
7
+
8
+ ## When a commercial license is required
9
+
10
+ - **Commercial SaaS** — hosted or subscription services whose UI is built
11
+ with ORBCAFE UI and offered to paying customers.
12
+ - **Commercial software products** — ERP, CRM, MES, WMS, AI/agent platforms,
13
+ analytics platforms, developer platforms, and similar products that are
14
+ sold, licensed, or commercially deployed and include ORBCAFE UI.
15
+ - **Paid customer delivery** — consulting, outsourcing, and
16
+ system-integration projects delivered to a client for a fee, even when the
17
+ resulting system is used only internally by that client.
18
+ - **OEM / white label** — embedding or rebranding ORBCAFE UI inside a
19
+ product, platform, framework, or library provided to third parties.
20
+ - **Redistribution and resale** — selling or commercially redistributing
21
+ ORBCAFE UI itself, modified or not, including as a component library, UI
22
+ kit, design system, theme, or template.
23
+ - **Commercial templates** — paid admin/ERP/dashboard templates built with
24
+ ORBCAFE UI.
25
+ - **Builder platforms** — low-code, no-code, UI builder, page builder,
26
+ website builder, app builder, dashboard builder, or design-system
27
+ platforms that expose ORBCAFE UI components to their customers.
28
+
29
+ Free community templates, demos, and teaching examples remain covered by the
30
+ Community License.
31
+
32
+ ## What a commercial license can include
33
+
34
+ - Production usage rights for commercial products and SaaS
35
+ - Customer delivery rights for consulting and integration projects
36
+ - Redistribution, OEM, and white-label rights
37
+ - Enterprise support and upgrade rights
38
+
39
+ License tiers are planned as **Commercial Project**, **Enterprise**, and
40
+ **OEM**; terms are agreed per engagement while the program is being set up.
41
+
42
+ ## Contact
43
+
44
+ To discuss a commercial license, open an issue in the ORBCAFE UI repository
45
+ and mention "commercial license":
46
+
47
+ <https://github.com/SHENRUIYANG/orbcafe-ui/issues>
48
+
49
+ ---
50
+
51
+ ## 商业授权(中文摘要)
52
+
53
+ ORBCAFE UI 对个人、教育、开发测试以及企业内部使用免费。当 ORBCAFE UI
54
+ 成为商业软件产品或收费客户交付的一部分时(包括收费 SaaS、商业软件、
55
+ 客户项目交付、OEM / White Label、商业模板、UI Builder / Low-Code 产品、
56
+ 再发行或二次销售),需要取得商业授权。请在 GitHub 仓库开 issue 并注明
57
+ "commercial license" 联系商业授权事宜。
package/LICENSE ADDED
@@ -0,0 +1,135 @@
1
+ ORBCAFE UI Community License
2
+ Version 1.0
3
+
4
+ Copyright (c) ORBCAFE. All rights reserved.
5
+
6
+ This license applies to ORBCAFE UI version 3.0.0 and later. Versions of
7
+ ORBCAFE UI published before version 3.0.0 were released under the MIT
8
+ License and remain available under their original license terms.
9
+
10
+ ----------------------------------------------------------------------------
11
+ 1. Definitions
12
+ ----------------------------------------------------------------------------
13
+
14
+ "Software" means the ORBCAFE UI source code, object code, documentation,
15
+ examples, themes, and related assets distributed in this repository and in
16
+ the `orbcafe-ui` npm package.
17
+
18
+ "Licensor" means ORBCAFE, the owner and maintainer of the Software.
19
+
20
+ "You" means the individual or legal entity exercising rights under this
21
+ license.
22
+
23
+ "Internal Business Use" means use of the Software by You or by employees
24
+ and contractors of Your organization, solely to build and operate
25
+ applications, websites, portals, dashboards, and tools that are used
26
+ internally by Your organization and that are not themselves sold, licensed,
27
+ subscribed to, or delivered to third parties as software products or paid
28
+ deliverables. Internal Business Use remains Internal Business Use
29
+ regardless of the size, revenue, or corporate form of Your organization.
30
+
31
+ "Community Use" means any of the following:
32
+
33
+ (a) Personal Use: use by individuals for personal projects, learning,
34
+ experimentation, and hobby development;
35
+ (b) Educational and Research Use: use in teaching, coursework, academic
36
+ research, and non-commercial scientific work;
37
+ (c) Evaluation Use: use to develop, test, prototype, demonstrate, or
38
+ evaluate the Software, including proofs of concept;
39
+ (d) Internal Business Use as defined above;
40
+ (e) Non-commercial Community Projects: use in projects that are not
41
+ sold, licensed, subscribed to, or delivered for a fee, and that do
42
+ not form part of a commercial software product.
43
+
44
+ "Commercial Product Use" means any use of the Software that is not
45
+ Community Use, including without limitation the uses listed in Section 3.
46
+
47
+ ----------------------------------------------------------------------------
48
+ 2. Grant for Community Use
49
+ ----------------------------------------------------------------------------
50
+
51
+ Subject to the conditions of this license, Licensor grants You a
52
+ worldwide, royalty-free, non-exclusive, non-transferable license to use,
53
+ copy, modify, and distribute the Software for Community Use.
54
+
55
+ You may redistribute the Software, in source or object form, only if:
56
+
57
+ (a) the redistribution itself is a Community Use;
58
+ (b) You retain this license text and all copyright notices in every
59
+ copy or substantial portion of the Software; and
60
+ (c) You do not charge a fee for the Software itself and do not present
61
+ the Software, in whole or in part, as a product You sell.
62
+
63
+ ----------------------------------------------------------------------------
64
+ 3. Commercial License Required
65
+ ----------------------------------------------------------------------------
66
+
67
+ A separate written commercial license from the Licensor is required for
68
+ any of the following uses of the Software:
69
+
70
+ (a) Commercial SaaS: offering a hosted or subscription service whose
71
+ user interface is built with the Software, where customers pay to
72
+ access the service;
73
+ (b) Commercial Software Products: distributing or licensing software
74
+ products that include the Software, whether sold perpetually, by
75
+ subscription, or otherwise commercially;
76
+ (c) Paid Customer Delivery: using the Software to build applications,
77
+ portals, or systems that You deliver to a customer or client in
78
+ exchange for payment, including consulting, outsourcing, and
79
+ system-integration engagements, even when the resulting system is
80
+ used only internally by that customer;
81
+ (d) OEM and White Label: embedding the Software in, or rebranding it
82
+ as, a product, platform, framework, or library that You provide to
83
+ third parties;
84
+ (e) Redistribution and Resale: selling, reselling, or commercially
85
+ redistributing the Software itself, with or without modification,
86
+ including as a component library, UI kit, design system, theme, or
87
+ template;
88
+ (f) Commercial Templates: selling or commercially licensing templates,
89
+ starters, or boilerplates built with the Software;
90
+ (g) Builder Platforms: using the Software as a component capability of
91
+ a low-code, no-code, UI builder, page builder, website builder,
92
+ app builder, dashboard builder, or design-system platform offered
93
+ to customers.
94
+
95
+ In short: build for yourself or your own organization — free. Build
96
+ software for customers — a commercial license is required.
97
+
98
+ To obtain a commercial license, see COMMERCIAL_LICENSE.md.
99
+
100
+ ----------------------------------------------------------------------------
101
+ 4. Trademarks
102
+ ----------------------------------------------------------------------------
103
+
104
+ This license does not grant any right to use the names, logos, or
105
+ trademarks of ORBCAFE, including "ORBCAFE" and "ORBCAFE UI". You may
106
+ accurately state that Your application is "built with ORBCAFE UI", but
107
+ You may not present Your product as an official ORBCAFE product, nor use
108
+ the ORBCAFE name or logo in a way that suggests endorsement, without
109
+ prior written permission.
110
+
111
+ ----------------------------------------------------------------------------
112
+ 5. Contributions
113
+ ----------------------------------------------------------------------------
114
+
115
+ Unless You and the Licensor have agreed otherwise in writing,
116
+ contributions You submit to the Software are licensed as described in
117
+ CONTRIBUTING.md, including the grant of rights the Licensor needs to
118
+ distribute the Software under both this Community License and commercial
119
+ licenses.
120
+
121
+ ----------------------------------------------------------------------------
122
+ 6. No Warranty
123
+ ----------------------------------------------------------------------------
124
+
125
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
126
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
127
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
128
+ LICENSOR OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
129
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
130
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
131
+ DEALINGS IN THE SOFTWARE.
132
+
133
+ ----------------------------------------------------------------------------
134
+
135
+ SPDX: LicenseRef-ORBCAFE-Community-1.0
package/README.md CHANGED
@@ -9,6 +9,33 @@ The library is designed for two audiences at once:
9
9
 
10
10
  ![ORBCAFE UI examples home](docs/images/examples/home.png)
11
11
 
12
+ ## License
13
+
14
+ ORBCAFE UI is **source-available** software under the [ORBCAFE UI Community License](LICENSE), with commercial licenses available for commercial product use.
15
+
16
+ Free for:
17
+
18
+ - Personal use, education, and research
19
+ - Development, testing, evaluation, and prototypes
20
+ - Internal business applications (ERP portals, dashboards, AI agents, internal tools — any company size)
21
+ - Community projects and free demos/templates
22
+
23
+ A commercial license is required when ORBCAFE UI is used in:
24
+
25
+ - Commercial SaaS or commercial software products
26
+ - Paid customer delivery projects (consulting, outsourcing, system integration)
27
+ - OEM / white-label products, redistribution, or resale
28
+ - Commercial templates and commercial UI libraries built on ORBCAFE UI
29
+ - Low-code / no-code platforms, UI builders, and design-system platforms
30
+
31
+ > **Build for yourself — free. Build software for customers — commercial license.**
32
+
33
+ For commercial licensing, see [COMMERCIAL_LICENSE.md](COMMERCIAL_LICENSE.md). Versions of ORBCAFE UI published before v3.0.0 remain available under the MIT License.
34
+
35
+ ### 授权说明(中文摘要)
36
+
37
+ ORBCAFE UI 采用 **Community License + Commercial License** 双授权模式。对个人使用、学习教育、开发测试、企业内部应用以及社区项目免费;当 ORBCAFE UI 成为商业 SaaS、商业软件产品、收费客户项目交付、OEM / White Label、商业模板、UI Builder / Low-Code 产品的一部分,或被再发行、二次销售时,需要取得商业授权。原则很简单:**给自己或自己公司做 — 免费;给客户做软件 — 需要商业授权。**
38
+
12
39
  ## Highlights
13
40
 
14
41
  | Area | What you get |
@@ -41,9 +68,9 @@ The library is designed for two audiences at once:
41
68
 
42
69
  ## Install
43
70
 
44
- > Upgrading from v1? Version 2 is a breaking MUI-to-ORBIS migration. Follow the [v2 migration guide](MIGRATION_V2.md) before changing a production dependency.
71
+ > Upgrading from v1? Version 2 was a breaking MUI-to-ORBIS migration — follow the [v2 migration guide](MIGRATION_V2.md) first. Version 3 keeps the v2 API; the major bump marks the switch from MIT to the Community License (see [License](#license)).
45
72
 
46
- Install the package. `orbcafe-ui@2` is **MUI-free** — the runtime dependencies (Radix primitives, `class-variance-authority`, `tailwind-merge`, `clsx`, `dayjs`, ...) ship with the package, so you do **not** need `@mui/*`, `@emotion/*`, or `lucide-react`:
73
+ Install the package. `orbcafe-ui@3` is **MUI-free** — the runtime dependencies (Radix primitives, `class-variance-authority`, `tailwind-merge`, `clsx`, `dayjs`, ...) ship with the package, so you do **not** need `@mui/*`, `@emotion/*`, or `lucide-react`:
47
74
 
48
75
  ```bash
49
76
  npm install orbcafe-ui
@@ -170,7 +197,7 @@ When using Codex or another AI coding agent with ORBCAFE UI, ask it to follow th
170
197
 
171
198
  1. Route the request through `skills/orbcafe-ui-component-usage`.
172
199
  2. Map natural names like "table", "F4", "pad table", "planning Gantt", or "copilot" to canonical exports.
173
- 3. Check the target module skill, for example `orbcafe-stdreport-workflow`, `orbcafe-planning-gantt`, `orbcafe-pad-workflow`, or `orbcafe-agentui-chat`.
200
+ 3. Check the target module skill, for example `orbcafe-stdreport-workflow`, `orbcafe-cardpage-workflow`, `orbcafe-planning-gantt`, `orbcafe-pad-workflow`, or `orbcafe-agentui-chat`.
174
201
  4. Import only from `orbcafe-ui`.
175
202
  5. Validate against the official Next.js examples.
176
203
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orbcafe-ui",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "ORBCAFE UI components — ORBIS brand system, MUI-free",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -38,7 +38,7 @@
38
38
  "ui"
39
39
  ],
40
40
  "author": "ORBAI Team",
41
- "license": "MIT",
41
+ "license": "SEE LICENSE IN LICENSE",
42
42
  "repository": {
43
43
  "type": "git",
44
44
  "url": "git+https://github.com/SHENRUIYANG/orbcafe-ui.git"
@@ -50,7 +50,8 @@
50
50
  "dist",
51
51
  "bin",
52
52
  "MIGRATION_V2.md",
53
- "BRAND_THEMING.md"
53
+ "BRAND_THEMING.md",
54
+ "COMMERCIAL_LICENSE.md"
54
55
  ],
55
56
  "publishConfig": {
56
57
  "access": "public"