polyxd 0.2.1 → 0.3.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 (3) hide show
  1. package/NOTICE +13 -0
  2. package/README.md +5 -1
  3. package/package.json +2 -2
package/NOTICE CHANGED
@@ -135,6 +135,19 @@ Upstream: https://github.com/adobe/spectrum-tokens
135
135
 
136
136
  Vendored under `packages/ds-spectrum/scripts/sources/`, with the upstream licence file beside it.
137
137
 
138
+ ## Template packs
139
+
140
+ Twelve packs are original Polyxd templates, not readings of any design system:
141
+ `@polyxd/ds-sketch`, `@polyxd/ds-wireframe`, `@polyxd/ds-editorial`,
142
+ `@polyxd/ds-brutalist`, `@polyxd/ds-glass`, `@polyxd/ds-terminal`,
143
+ `@polyxd/ds-pastel`, `@polyxd/ds-civic`, `@polyxd/ds-finance`,
144
+ `@polyxd/ds-health`, `@polyxd/ds-neon` and `@polyxd/ds-mono`. Every value in
145
+ them was chosen for the template, they vendor nothing, and they are Apache-2.0
146
+ like the rest of Polyxd. The typefaces some of them name (Caveat, Patrick Hand,
147
+ Fraunces, Nunito, JetBrains Mono, Space Grotesk) are under the SIL Open Font
148
+ License and are loaded from Google Fonts by the page that uses them, never
149
+ distributed here.
150
+
138
151
  ## Specification
139
152
 
140
153
  ### A2UI
package/README.md CHANGED
@@ -3,8 +3,12 @@
3
3
  ```sh
4
4
  npx polyxd pack ./src/tokens.css # a Polyxd pack from your design system's tokens
5
5
  npx polyxd check ./ds-acme/manifest.json
6
+ POLYXD_STUDIO_KEY=… npx polyxd studio push ./ --to https://studio.polyxd.com/api/w/acme
7
+ npx polyxd dev ./screens # preview the documents in a folder as you edit them
6
8
  ```
7
9
 
8
- `pack` reads your CSS custom properties (or a DTCG JSON file), maps what it can onto Polyxd's semantic token contract, and writes a pack plus a mapping file recording every guess. It reports what's still missing and any of your own colour pairs that fail contrast. `check` validates a pack against the contract.
10
+ `pack` reads your CSS custom properties (or a DTCG JSON file), maps what it can onto Polyxd's semantic token contract, and writes a pack plus a mapping file recording every guess. It reports what's still missing and any of your own colour pairs that fail contrast. `check` validates a pack against the contract. `studio push` sends a token package (packed with npm, so private registries never matter), a tarball or a single token file to Polyxd Studio as a new version of your design system; made for a CI step on every release, with an API key from Studio's Team page.
11
+
12
+ `dev` watches a folder of documents and serves a page that renders the selected one with the real renderer in any built-in pack (or yours, with `--pack`), light or dark, phone to desktop, with the static check, the document, its data and the actions it dispatches beside it; it reloads in place on save. `--verify` adds a button that runs the full verifier when `@polyxd/verifier` is installed.
9
13
 
10
14
  [How it guesses](https://polyxd.com/docs/your-design-system/) · [Polyxd](https://polyxd.com) · [Source](https://github.com/visualfart/polyxd)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polyxd",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "The polyxd command: make a Polyxd design-system pack from your own tokens, and check it against the contract",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "NOTICE"
15
15
  ],
16
16
  "dependencies": {
17
- "@polyxd/ds-kit": "^0.2.1"
17
+ "@polyxd/ds-kit": "^0.3.0"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",