Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update tokens for better documentation #8395

Merged
merged 21 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
eadf729
feat(core tokens): add calcite-schema to all core tokens
alisonailea Dec 11, 2023
ea1aee3
feat(semantic tokens): add calcite-schema to all semantic tokens
alisonailea Dec 11, 2023
0a04ad7
feat(token transformer): add transformer - stringify all token values
alisonailea Dec 11, 2023
e45a271
chore: remove unused transformers
alisonailea Dec 11, 2023
00df48f
chore(token transformer): update the name of the evaluateMath function
alisonailea Dec 11, 2023
5c61fab
fix(token transformer): correctly set lineheight in CSS
alisonailea Dec 11, 2023
1ccd45f
fix(token transformer): correctly set rgba or hex on color tokens
alisonailea Dec 11, 2023
bff6e41
chore(token transformers): update register transformers
alisonailea Dec 11, 2023
375bc88
chore(token transformer): update platform transformers
alisonailea Dec 11, 2023
774e28f
fix: update docs platform output to stringify token values
alisonailea Dec 11, 2023
a698947
fix(token transformer): define dirname
alisonailea Dec 11, 2023
58c2e4d
fix: update docs output to be an array of tokens
alisonailea Dec 14, 2023
c51b535
fix(z-index tokens): add schema
alisonailea Dec 14, 2023
3cd6a7e
Merge branch 'main' of github.com:Esri/calcite-components into astump…
alisonailea Dec 14, 2023
3d77ff9
fix: token schemas
alisonailea Dec 15, 2023
0d1fe7c
fix: remove test script
alisonailea Dec 16, 2023
c92a3d6
fix(token transformer): remove original from docs output
alisonailea Dec 18, 2023
276573c
refactor(corner tokens): split corner tokens into their own file
alisonailea Dec 18, 2023
32d6763
Merge branch 'main' of github.com:Esri/calcite-components into astump…
alisonailea Dec 18, 2023
8fb920b
Merge branch 'main' of github.com:Esri/calcite-components into astump…
alisonailea Dec 18, 2023
4032fc6
fix(font tokens): Add schema
alisonailea Dec 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/calcite-design-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"lint:json": "prettier --write \"**/*.json\" >/dev/null",
"lint:md": "markdownlint \"**/*.md\" --fix --dot --ignore-path ../../.gitignore && prettier --write \"**/*.md\" >/dev/null",
"lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null",
"lint": "concurrently npm:lint:*",
"test": "jest"
"lint": "concurrently npm:lint:*"
}
}
30 changes: 30 additions & 0 deletions packages/calcite-design-tokens/src/component/button.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"component": {
"button": {
"background": {
"type": "color",
"value": "{semantic.color.background.default}",
"attributes": {
"calcite-schema": {
"system": "calcite",
"tier": "component",
"domain": "",
"component": "button",
"pattern": "",
"element": "",
"category": "color",
"group": "",
"kind": "",
"appearance": "",
"property": "background",
"variant": "",
"state": "",
"scale": "",
"context": "",
"mode": ""
}
}
}
}
}
}
Loading
Loading