@fest-lib/style-lib 0.1.1 → 0.1.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.
- package/README.md +7 -1
- package/dist/style-lib.js +1201 -859
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,14 @@ Extends `@fest-lib/dom` (sheets / `handleStyleChange`) and `@fest-lib/lure` (`bi
|
|
|
8
8
|
|
|
9
9
|
| File | Role |
|
|
10
10
|
| --- | --- |
|
|
11
|
+
| `src/types.ts` | interfaces / types / meta |
|
|
12
|
+
| `src/maps.ts` | Map / Set / WeakMap / WeakSet caches |
|
|
13
|
+
| `src/constants.ts` | CSS unit / property / theme-attr / layer tables |
|
|
14
|
+
| `src/utils.ts` | small shared helpers (detectors, parse, CSSOM guards) |
|
|
11
15
|
| `src/Styles.ts` | `S`, `css`, `bindStyle`, `compileInlineStyleAttribute` |
|
|
12
|
-
| `src/
|
|
16
|
+
| `src/layers.ts` | `@layer` order / wrap / unwrap / CSSOM `getOrCreateLayerRule` |
|
|
17
|
+
| `src/cssom.ts` | `getStyleRule`, `ensureStyleScopeSelector`, fetch/cache |
|
|
18
|
+
| `src/baker.ts` | computed-style bake into `@layer ux-baked` (`#id` / `data-style-id`) |
|
|
13
19
|
| `src/sheets.ts` | `loadAsAdopted`, `observeStyleTree`, rehydrate |
|
|
14
20
|
| `src/property.ts` | `setStyleProperty` / Typed OM write |
|
|
15
21
|
| `src/Animate.ts` / `Animatable.ts` | WAAPI templates |
|