@velarscript/web 0.33.1 → 0.34.0

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 +9 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @velarscript/web
2
2
 
3
- **VelarScript 0.33.1 · Web surface `web@0.14`.** The counter is what a project
3
+ **VelarScript 0.34.0 · Web surface `web@0.14`.** The counter is what a project
4
4
  declares in `velar.json`'s `surfaces` and what a mismatch is refused by; the
5
5
  release number every toolchain package steps to says only what you installed.
6
6
 
@@ -40,8 +40,15 @@ those two slots; a bare number is refused with the percentage it meant, and
40
40
  One-off base properties use the same checked table through JSX directives, and
41
41
  remain ordered after any composed Look:
42
42
 
43
+ <!-- velar-preamble
44
+ import {rgb} from "velar/look"
45
+ const paper = rgb(255, 255, 255)
46
+ const accent = rgb(45, 79, 190)
47
+ const controlLook = look:
48
+ padding = 8px
49
+ -->
43
50
  ```velar fragment
44
- <button
51
+ const saveButton = <button
45
52
  look={controlLook}
46
53
  look:color={paper}
47
54
  look:background={accent}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velarscript/web",
3
- "version": "0.33.1",
3
+ "version": "0.34.0",
4
4
  "description": "The official VelarScript Web framework contract and browser runtime.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@velarscript/compiler": "0.33.1"
36
+ "@velarscript/compiler": "0.34.0"
37
37
  },
38
38
  "exports": {
39
39
  ".": {