@dialpad/dialtone-cli 1.2.0 → 1.4.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.
- package/README.md +8 -5
- package/build/index.js +52073 -20604
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -35,16 +35,17 @@ dialtone component button --slots # slots only
|
|
|
35
35
|
dialtone component button --examples # usage example
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
### `dialtone token
|
|
38
|
+
### `dialtone token [query]`
|
|
39
39
|
|
|
40
|
-
Look up design tokens.
|
|
40
|
+
Look up design tokens. Use `--name=--dt-*` for canonical CSS names so the leading dashes are parsed as a value. Exact legacy names retain their values and qualified migration guidance; add `--values --format json` to inspect that metadata.
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
43
|
dialtone token "color foreground"
|
|
44
|
-
dialtone token "
|
|
44
|
+
dialtone token "spacing 100"
|
|
45
45
|
dialtone token "color foreground" --values # show theme values
|
|
46
46
|
dialtone token "color foreground" --all # include HSL tokens
|
|
47
47
|
dialtone token "color foreground" --limit 0 # show all results
|
|
48
|
+
dialtone token --name=--dt-spacing-100 --values # canonical CSS token identifier
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
### `dialtone utility <query>`
|
|
@@ -119,8 +120,10 @@ When working with Dialtone components, tokens, or utility classes, use the `dial
|
|
|
119
120
|
- Structured data: add `--format json` to any command
|
|
120
121
|
|
|
121
122
|
Prefer the CLI over reading source files for design system information. It searches
|
|
122
|
-
the
|
|
123
|
-
|
|
123
|
+
the generated API and leaves deprecated items out of general discovery. Exact
|
|
124
|
+
legacy component, utility or token names retain their contract. Use `--format json`
|
|
125
|
+
to inspect utility migration metadata. Token lookups print migration notes to stderr
|
|
126
|
+
in all formats; add `--values --format json` for structured metadata.
|
|
124
127
|
```
|
|
125
128
|
|
|
126
129
|
### Skills
|