apexgantt 3.17.2 → 3.18.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/LICENSE +116 -0
- package/README.md +53 -0
- package/apexgantt.es.min.js +1 -1
- package/apexgantt.min.js +1 -1
- package/package.json +2 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
## 📄 License Options for ApexGantt
|
|
2
|
+
|
|
3
|
+
ApexGantt is offered under a **dual-license model** to support individuals, startups, and commercial products of all sizes.
|
|
4
|
+
|
|
5
|
+
One license key works across every Apex product, so a customer of one does not buy a second for another.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
### 🔓 Community License (Free)
|
|
10
|
+
|
|
11
|
+
For individuals, non-profits, educators, and small businesses with **less than $2 million USD in annual revenue**.
|
|
12
|
+
|
|
13
|
+
✅ What's allowed:
|
|
14
|
+
|
|
15
|
+
- Personal, educational, or non-profit use
|
|
16
|
+
- Commercial use by small orgs (under $2M annual revenue)
|
|
17
|
+
- Modifications, and redistribution of the library itself (with attribution)
|
|
18
|
+
|
|
19
|
+
🚫 Not allowed:
|
|
20
|
+
|
|
21
|
+
- Use by companies or entities over $2M/year revenue
|
|
22
|
+
- Use in competing charting or project scheduling products
|
|
23
|
+
- Sublicensing under different terms
|
|
24
|
+
- Embedding in a product or platform used by other people, which needs the OEM License below whatever your revenue
|
|
25
|
+
|
|
26
|
+
➡ By using ApexGantt under this license, you confirm that **you qualify as a Small Organization**.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
### 💼 Commercial License (Paid)
|
|
31
|
+
|
|
32
|
+
The Commercial License applies to all paid SKUs (Pro, Premium and OEM).
|
|
33
|
+
|
|
34
|
+
The **Community License** is available at no cost **only** to organizations with **annual revenue under $2M USD**.
|
|
35
|
+
If your organization earns $2M USD or more annually, you must purchase one of our paid licenses.
|
|
36
|
+
|
|
37
|
+
Pro and Premium are priced per developer, and priced on the features you use rather than on your revenue.
|
|
38
|
+
|
|
39
|
+
✅ What's included:
|
|
40
|
+
|
|
41
|
+
- Use in internal tools and commercial applications
|
|
42
|
+
- Modifications and app-level distribution
|
|
43
|
+
- 12-month subscription with updates & support
|
|
44
|
+
|
|
45
|
+
🚫 Not allowed:
|
|
46
|
+
|
|
47
|
+
- Redistribution in toolkits, SDKs, or platforms
|
|
48
|
+
- Use by unlicensed developers
|
|
49
|
+
- Competing charting or project scheduling products
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
### 🏛 Non-Profit Tiers
|
|
54
|
+
|
|
55
|
+
Non-Profits are treated like commercial entities:
|
|
56
|
+
|
|
57
|
+
- Annual operating budget **less than $2 million USD**
|
|
58
|
+
- _Eligible for Community licenses_
|
|
59
|
+
|
|
60
|
+
or
|
|
61
|
+
|
|
62
|
+
- Annual operating budget **greater than $2 million USD**
|
|
63
|
+
- _Commercial license with possible discounts for Community, Pro, Premium and OEM products_
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### 🔄 OEM / Redistribution License (Paid)
|
|
68
|
+
|
|
69
|
+
Required if you are **embedding ApexGantt into a product or platform used by other people**, such as:
|
|
70
|
+
|
|
71
|
+
- No-code dashboards
|
|
72
|
+
- Developer platforms
|
|
73
|
+
- Embedded BI tools
|
|
74
|
+
- SDKs
|
|
75
|
+
|
|
76
|
+
✅ What's included:
|
|
77
|
+
|
|
78
|
+
- Redistribution rights for **one application or product**
|
|
79
|
+
- **Unlimited developer seats** on that application, with no separate per-developer license to buy
|
|
80
|
+
- **Every licensed feature**, at the highest tier
|
|
81
|
+
- 12-month subscription with updates & support
|
|
82
|
+
|
|
83
|
+
Your end users need no license of their own. A second application needs a second OEM license. White-label, resale, and affiliate arrangements are quoted separately.
|
|
84
|
+
|
|
85
|
+
✅ OEM **not required** if your app simply renders static charts and users **cannot** configure or interact with them.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
### ⏳ When a subscription ends
|
|
90
|
+
|
|
91
|
+
Your license key expires, and **licensed features render with a trial watermark**. You no longer receive updates, new features, or technical support. Work built only from free features is unaffected, and your existing deployment keeps running.
|
|
92
|
+
|
|
93
|
+
For OEM licenses, continued redistribution requires an active subscription.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
### ⚠️ License Acceptance
|
|
98
|
+
|
|
99
|
+
By installing ApexGantt (e.g., via `npm install apexgantt`), you are agreeing to the applicable license based on your usage:
|
|
100
|
+
|
|
101
|
+
- Community License (if under $2M revenue)
|
|
102
|
+
- Commercial License (if over $2M revenue)
|
|
103
|
+
- OEM License (if redistributing to third-party users)
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
### 🛠 Need a License or Have Questions?
|
|
108
|
+
|
|
109
|
+
📧 Contact us at [sales@apexcharts.com](mailto:sales@apexcharts.com)
|
|
110
|
+
📚 Read full license agreements here: [https://apexcharts.com/license](https://apexcharts.com/license)
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
Copyright © 2026 ApexCharts. All rights reserved.
|
|
115
|
+
|
|
116
|
+
Thank you for supporting ApexGantt! Your licensing helps keep it free and open for individuals and small teams.
|
package/README.md
CHANGED
|
@@ -1419,3 +1419,56 @@ function GanttChart({tasks}) {
|
|
|
1419
1419
|
return <div ref={containerRef} />;
|
|
1420
1420
|
}
|
|
1421
1421
|
```
|
|
1422
|
+
|
|
1423
|
+
## Family theme tokens (`--apx-*`)
|
|
1424
|
+
|
|
1425
|
+
Every chart in the ApexCharts family reads the same five root tokens, so a page can state its brand once and have trees, flow diagrams, Gantt charts and plots all follow:
|
|
1426
|
+
|
|
1427
|
+
| Token | Role |
|
|
1428
|
+
| ----------------------------------- | ---------------------------------------------------------------- |
|
|
1429
|
+
| `--apx-accent` | The colour that means interactive or selected |
|
|
1430
|
+
| `--apx-fore` | Text and anything that must stay legible on the surface |
|
|
1431
|
+
| `--apx-grid` | Hairlines: borders, gridlines, connectors |
|
|
1432
|
+
| `--apx-surface` | The plane content sits on |
|
|
1433
|
+
| `--apx-series-1` … `--apx-series-N` | An ordered categorical palette (1-based, stops at the first gap) |
|
|
1434
|
+
|
|
1435
|
+
```css
|
|
1436
|
+
:root {
|
|
1437
|
+
--apx-accent: #5b21b6;
|
|
1438
|
+
--apx-fore: #101828;
|
|
1439
|
+
--apx-grid: #e4e7ec;
|
|
1440
|
+
--apx-surface: #ffffff;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
@media (prefers-color-scheme: dark) {
|
|
1444
|
+
:root {
|
|
1445
|
+
--apx-fore: #f8fafc;
|
|
1446
|
+
--apx-grid: #334155;
|
|
1447
|
+
--apx-surface: #0f172a;
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
```
|
|
1451
|
+
|
|
1452
|
+
Custom properties inherit, so declaring them on `:root` reaches every chart on the page. They resolve **below anything you configured explicitly**, so adopting them cannot change a chart that was already themed:
|
|
1453
|
+
|
|
1454
|
+
```
|
|
1455
|
+
product CSS variable > explicit option > --apx-* token > built-in default
|
|
1456
|
+
```
|
|
1457
|
+
|
|
1458
|
+
An option set to a value equal to its built-in default is indistinguishable from one left alone, and the token wins there. Set a product variable if you need a value pinned regardless.
|
|
1459
|
+
|
|
1460
|
+
### Named themes
|
|
1461
|
+
|
|
1462
|
+
`registerTheme` from `@apex/commons` records a named set of tokens on a registry shared by the whole family, so a brand theme registered once from any product is resolvable by name from all of them:
|
|
1463
|
+
|
|
1464
|
+
```js
|
|
1465
|
+
import {registerTheme} from '@apex/commons';
|
|
1466
|
+
|
|
1467
|
+
registerTheme('acme', {
|
|
1468
|
+
tokens: {accent: '#5b21b6', fore: '#101828', grid: '#e4e7ec', surface: '#ffffff'},
|
|
1469
|
+
});
|
|
1470
|
+
```
|
|
1471
|
+
|
|
1472
|
+
A named theme's tokens sit one layer below the CSS `--apx-*` tokens, so the cascade still wins over the registry.
|
|
1473
|
+
|
|
1474
|
+
Gantt reads the CSS `--apx-*` tokens directly. It has no theme-name option, so the named-theme layer does not apply to it; use the CSS tokens (or a `prefers-color-scheme` block over them) to theme it alongside the rest of the family.
|