reddokia 1.0.0-alpha.2 → 1.0.0-alpha.3

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.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,10 +1,15 @@
1
1
  # <img alt="" src="./public/favicon.svg" height="36" align="top">&nbsp;<picture><source media="(prefers-color-scheme: dark)" srcset="./public/logo-dark.svg"><source media="(prefers-color-scheme: light)" srcset="./public/logo-light.svg"><img alt="RedDokia" src="./public/logo-dark.svg" height="36" align="top"></picture>
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/reddokia?color=F97316&label=npm)](https://www.npmjs.com/package/reddokia)
4
+ [![npm downloads](https://img.shields.io/npm/dm/reddokia?color=3B82F6&label=downloads)](https://www.npmjs.com/package/reddokia)
5
+ [![license](https://img.shields.io/badge/license-MIT-10B981)](./LICENSE)
6
+
3
7
  **The Docking Engine for Modern Web Apps.**
4
8
 
5
9
  Build desktop-class dockable workspaces with a few lines of declarative layout code for **React 18/19**, **Vue 3**, **Svelte 5**, and **Vanilla TS/JS**.
6
10
  Split, float, or pop out any panel to an external monitor without ever losing canvas or editor state.
7
11
 
12
+ - **npm Package**: https://www.npmjs.com/package/reddokia
8
13
  - **Official Home & Live Demo**: https://redcamel.github.io/RedDokia/
9
14
  - **Interactive Tutorials (20 Steps + 2 Showcases)**: https://redcamel.github.io/RedDokia/examples/
10
15
  - **Documentation & API (EN)**: https://redcamel.github.io/RedDokia/docs/en/
@@ -24,10 +29,26 @@ Split, float, or pop out any panel to an external monitor without ever losing ca
24
29
 
25
30
  ## Installation
26
31
 
32
+ Install `reddokia` from [npm](https://www.npmjs.com/package/reddokia):
33
+
27
34
  ```bash
28
35
  npm install reddokia
29
36
  ```
30
37
 
38
+ Or import the pure ESM bundle directly in the browser without any build step (via CDN or GitHub Pages):
39
+
40
+ ```html
41
+ <script type="module">
42
+ // via jsDelivr CDN (npm)
43
+ import { RedDokia, RedDokiaIcons } from 'https://cdn.jsdelivr.net/npm/reddokia/dist/reddokia.js';
44
+
45
+ // or directly from GitHub Pages
46
+ // import { RedDokia, RedDokiaIcons } from 'https://redcamel.github.io/RedDokia/dist/reddokia.js';
47
+ </script>
48
+ ```
49
+
50
+ > **Note**: Scoped `.rd-*` styles are automatically injected when you import `reddokia`. No extra CSS import is required unless your environment enforces a strict CSP (`import 'reddokia/style.css'`).
51
+
31
52
  ### Package Exports
32
53
 
33
54
  | Entry Point | Target | Notes |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reddokia",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.3",
4
4
  "description": "Zero-dependency docking workbench engine for Vanilla, React, Vue 3 & Svelte 5.",
5
5
  "author": "RedCamel (https://github.com/redcamel)",
6
6
  "license": "MIT",