@symbiote-native/css-parser 0.1.0 → 0.1.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/README.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @symbiote-native/css-parser
|
|
2
2
|
|
|
3
|
-
The **build-time CSS compiler** of [
|
|
3
|
+
The **build-time CSS compiler** of [SymbioteNative](../../README.md) — turns a Vue SFC `<style>` block,
|
|
4
4
|
or a standalone `.css`/`.module.css` file, into a React Native style object at build time, resolved
|
|
5
5
|
back at render time through a class-name registry shared by every adapter (React's `className`,
|
|
6
6
|
Vue's `class`/`:class`, Angular's `addClass`/`removeClass`). It also compiles SCSS/Sass, Less, and
|
|
7
7
|
Stylus sources down to plain CSS before the same pipeline runs, so scoped styles, `:global()`, and
|
|
8
8
|
CSS Modules all work identically regardless of source language.
|
|
9
9
|
|
|
10
|
-
> New to
|
|
10
|
+
> New to SymbioteNative? The [root README](../../README.md) has the architecture. Styling with CSS
|
|
11
11
|
> classes (instead of `StyleSheet.create`) is the supported convention across every example app —
|
|
12
12
|
> this package is what makes it work at build time; [`@symbiote-native/engine`](../engine)'s
|
|
13
13
|
> `style-registry` is what resolves it at runtime.
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
not yet generate a typed `.d.ts` for an **inline** Vue `<style module>` block (only standalone
|
|
108
108
|
`.module.css` files get the strict, no-index-signature type — Vue's own Volar plugin gives inline
|
|
109
109
|
blocks a looser, typo-tolerant type for free) and has no Svelte support yet (no Svelte adapter
|
|
110
|
-
exists in
|
|
110
|
+
exists in SymbioteNative today).
|
|
111
111
|
|
|
112
112
|
## Related packages
|
|
113
113
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/css-parser",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Build-time CSS/SCSS/Less/Stylus compiler for
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Build-time CSS/SCSS/Less/Stylus compiler for SymbioteNative — compiles stylesheets to React Native style objects, resolved at runtime via a cross-adapter class-name registry.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/OneEyed1366/symbiote-native.git",
|