@ntix/components-scorad 1.0.0 → 1.0.2

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 ADDED
@@ -0,0 +1,32 @@
1
+ # @ntix/components-scorad
2
+
3
+ Copyright (c) 2025 Antix Software Limited ([antix.co.uk](https://antix.co.uk))
4
+
5
+ ## 1. PURPOSE
6
+ This license governs the use of the @ntix/components-scorad software package, including all source code, assets, and compiled distributions (the "Software"). The Software is owned and managed by Antix Software Limited.
7
+
8
+ ## 2. EVALUATION & PERSONAL USE
9
+ Permission is granted to any person obtaining a copy of this Software to use it for **personal, educational, or internal evaluation purposes** only.
10
+
11
+ * This allows for local testing, prototyping, and development-environment integration.
12
+ * Any deployment to a production environment or use beyond evaluation requires adherence to the terms below.
13
+
14
+ ## 3. COMMERCIAL USE
15
+ **Commercial Use requires a separate paid license agreement from Antix.** Commercial Use includes, but is not limited to:
16
+ * Use within a for-profit organization.
17
+ * Integration into revenue-generating products or services.
18
+ * Use within private medical systems or Electronic Health Record (EHR) platforms.
19
+
20
+ To purchase a Commercial License, please contact Antix at [hello@antix.co.uk].
21
+
22
+ ## 4. NON-PROFIT, RESEARCH & PUBLIC HEALTH
23
+ For use by registered non-profit organizations, academic researchers, or public health bodies, you must **inform Antix prior to deployment**.
24
+
25
+ Please provide a project summary to [hello@antix.co.uk]. Antix reserves the right to grant or withhold permission based on the project's adherence to clinical safety and quality standards.
26
+
27
+ ## 5. RESTRICTIONS
28
+ * **Redistribution:** You may not redistribute, sub-license, or sell the Software as a standalone library or part of a third-party UI kit.
29
+ * **Attribution:** All copies of the Software must retain the original Antix copyright notices.
30
+
31
+ ## 6. LIMITATION OF LIABILITY
32
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. IN NO EVENT SHALL ANTIX BE LIABLE FOR ANY CLAIM, DAMAGES, MEDICAL INACCURACIES, OR OTHER LIABILITY ARISING FROM THE USE OF THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # @ntix/components-scorad
2
+
3
+ A professional-grade component library for calculating and visualizing SCORAD (SCORing Atopic Dermatitis) assessments. Developed by Antix Software Limited.
4
+
5
+ ## Features
6
+
7
+ - Interactive Body Maps: High-performance SVG-based surface area selection.
8
+ - SCORAD Formula: Sections A (Extent), B (Intensity), and C (Subjective).
9
+ - Custom Elements: Easy integration with any framework or plain HTML.
10
+
11
+ ## Installation
12
+
13
+ ```shell
14
+ npm install @ntix/components-scorad
15
+ ```
16
+
17
+ ## Quick Start
18
+
19
+ ### 1. Configuration (CSS Variables)
20
+ This library uses CSS variables for theming. Add these to your global styles:
21
+
22
+ ```css
23
+ :root {
24
+ --color: #444;
25
+ --background-color: #eee;
26
+ --scorad-h: 75;
27
+
28
+ color: var(--color);
29
+ background-color: var(--background-color);
30
+ }
31
+ ```
32
+
33
+ ### 2. Usage
34
+ Import the package to register the custom elements:
35
+
36
+ ```js
37
+ import '@ntix/components-scorad';
38
+ ```
39
+
40
+ Then add the component to your HTML:
41
+
42
+ ```html
43
+ <scorad-component></scorad-component>
44
+ ```
45
+
46
+ ## Licensing
47
+
48
+ This package is NOT open-source. Usage is governed by the Antix Software License.
49
+ For the full legal terms, please refer to the LICENSE.md file included in this package.
50
+
51
+ - Personal & Evaluation: Free for personal projects and local evaluation.
52
+ - Commercial Use: Requires a paid license agreement.
53
+ - Non-Profit & Research: Free use permitted, but you MUST inform Antix prior to deployment.
54
+
55
+ Contact: hello@antix.co.uk
56
+
57
+ ## Clinical Disclaimer
58
+
59
+ The SCORAD calculation is a clinical tool intended for use by healthcare professionals. Antix Software Limited does not provide medical advice. The Software is provided "as is," and Antix is not liable for clinical decisions or diagnostic inaccuracies.
60
+
61
+ ---
62
+
63
+ (c) 2025 Antix Software Limited ([antix.co.uk](https://antix.co.uk)). All rights reserved.