@fest-lib/dom 0.1.20 → 0.1.21

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 (3) hide show
  1. package/README.md +16 -45
  2. package/dist/dom.js +727 -664
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,57 +1,28 @@
1
- <h1 align="center">🏠 DOM.ts 🏠</h1>
1
+ # DOM.ts
2
2
 
3
- <p align="center">
4
- <b>Powerful DOM management & manipulation library pack</b>
5
- </p>
6
- <p align="center">
7
- <a href="https://github.com/fest-live/dom.ts"><img src="https://img.shields.io/github/stars/fest-live/dom.ts?style=flat-square" alt="GitHub stars"></a>
8
- <a href="https://github.com/fest-live/dom.ts/actions"><img src="https://img.shields.io/github/workflow/status/fest-live/dom.ts/CI?style=flat-square" alt="Build Status"></a>
9
- <a href="https://www.npmjs.com/package/@fest-lib/dom"><img src="https://img.shields.io/npm/v/dom.ts?style=flat-square" alt="NPM version"></a>
10
- <a href="https://github.com/fest-live/dom.ts/blob/main/LICENSE"><img src="https://img.shields.io/github/license/fest-live/dom.ts?style=flat-square" alt="License"></a>
11
- </p>
3
+ `@fest-lib/dom` — browser DOM helpers for fest-lib. Depends on `@fest-lib/core`.
12
4
 
13
- ---
5
+ Agate measurement (viewport, zoom, launcher grid), appear/shape/animation decor, style/behavior mixins, observers, and inline stylesheet loaders used by LUR.E and FL.UI.
14
6
 
15
- ## 🚀 Features
16
-
17
- - ⚡️ **Ultra-fast** DOM manipulation
18
- - 🧩 **Modular** architecture
19
- - 🧰 **Generic API** for flexible usage
20
-
21
- ---
22
-
23
- ## 📦 Installation
7
+ ## Install
24
8
 
25
9
  ```bash
26
10
  npm install @fest-lib/dom
27
- # or
28
- yarn add @fest-lib/dom
29
11
  ```
30
12
 
31
- ---
32
-
33
- ## 🔌 Generic API
13
+ ```ts
14
+ import { loadInlineStyle } from "@fest-lib/dom";
34
15
 
35
- > _API documentation coming soon!_
36
-
37
- - [ ] **Comprehensive API Reference**
38
- - [ ] **Usage Examples**
39
- - [ ] **TypeScript Support**
40
-
41
- ---
42
-
43
- ## 🤝 Contributing
16
+ await loadInlineStyle(cssText);
17
+ ```
44
18
 
45
- Pull requests, issues, and suggestions are welcome!
46
- See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
19
+ ## Layout
47
20
 
48
- ---
21
+ | Path | Role |
22
+ | --- | --- |
23
+ | `src/agate/*` | viewport, zoom, measure, launcher grid |
24
+ | `src/decor/*` | animation, appear, shape |
25
+ | `src/mixin/*` | observer, style, behavior, store, handler |
26
+ | `src/mixin/junction/*` | pointer/junction mixins (moving toward LUR.E) |
49
27
 
50
- <p align="center">
51
- <a href="https://github.com/fest-live/dom.ts">
52
- <img src="https://img.shields.io/badge/Star%20on-GitHub-24292f?logo=github&style=for-the-badge" alt="Star on GitHub"/>
53
- </a>
54
- <a href="https://www.npmjs.com/package/dom.ts">
55
- <img src="https://img.shields.io/badge/View%20on-npm-cc3534?logo=npm&style=for-the-badge" alt="View on npm"/>
56
- </a>
57
- </p>
28
+ Peer: `@fest-lib/core`. Build: `npm run build`. Publish: `npm run publish`.