Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GarthDB committed Dec 18, 2024
1 parent 9d49872 commit 7834c96
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .changeset/cool-eyes-nail.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,28 @@ Updated (8)
<details open><summary>Updated Properties (8)</summary>

- `checkbox-control-size-small`
- `desktop.value`: `12px` -> `14px`
- `mobile.value`: `16px` -> `18px`
- `desktop.value`: `12px` -> `14px`
- `mobile.value`: `16px` -> `18px`
- `checkbox-control-size-medium`
- `desktop.value`: `14px` -> `16px`
- `mobile.value`: `18px` -> `20px`
- `desktop.value`: `14px` -> `16px`
- `mobile.value`: `18px` -> `20px`
- `checkbox-control-size-large`
- `desktop.value`: `16px` -> `18px`
- `mobile.value`: `20px` -> `22px`
- `desktop.value`: `16px` -> `18px`
- `mobile.value`: `20px` -> `22px`
- `checkbox-control-size-extra-large`
- `desktop.value`: `18px` -> `20px`
- `mobile.value`: `22px` -> `26px`
- `desktop.value`: `18px` -> `20px`
- `mobile.value`: `22px` -> `26px`
- `checkbox-top-to-control-small`
- `desktop.value`: `6px` -> `5px`
- `mobile.value`: `7px` -> `6px`
- `desktop.value`: `6px` -> `5px`
- `mobile.value`: `7px` -> `6px`
- `checkbox-top-to-control-medium`
- `desktop.value`: `9px` -> `8px`
- `mobile.value`: `11px` -> `10px`
- `desktop.value`: `9px` -> `8px`
- `mobile.value`: `11px` -> `10px`
- `checkbox-top-to-control-large`
- `desktop.value`: `12px` -> `11px`
- `mobile.value`: `15px` -> `14px`
- `desktop.value`: `12px` -> `11px`
- `mobile.value`: `15px` -> `14px`
- `checkbox-top-to-control-extra-large`
- `desktop.value`: `15px` -> `14px`
- `mobile.value`: `19px` -> `17px`
- `desktop.value`: `15px` -> `14px`
- `mobile.value`: `19px` -> `17px`

</details>
27 changes: 27 additions & 0 deletions docs/site/public/schemas/token-types/gradient-stop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/gradient-stop.json",
"title": "Color Stop",
"description": "Gradient stop positions, being a ratio along the gradient's axis. Start is 0, end is 1.",
"type": "object",
"allOf": [
{
"$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/token.json"
}
],
"properties": {
"$schema": {
"const": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/gradient-stop.json"
},
"value": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"component": {},
"private": {},
"deprecated": {},
"deprecated_comment": {},
"uuid": {}
}
}
2 changes: 1 addition & 1 deletion docs/site/public/schemas/token-types/multiplier.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"const": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/multiplier.json"
},
"value": {
"type": "string",
"type": "number",
"pattern": "^(?:\\d+\\.?\\d*)|(?:\\.?\\d+)$"
},
"component": {},
Expand Down
27 changes: 27 additions & 0 deletions docs/site/public/schemas/token-types/text-align.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/text-align.json",
"title": "Text align",
"description": "Sets the horizontal alignment of the inline-level content inside a block element",
"type": "object",
"allOf": [
{
"$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/token.json"
}
],
"properties": {
"$schema": {
"const": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/text-align.json"
},
"value": {
"type": "string",
"enum": ["start", "center", "end"],
"default": "start"
},
"component": {},
"private": {},
"deprecated": {},
"deprecated_comment": {},
"uuid": {}
}
}
9 changes: 8 additions & 1 deletion docs/site/public/schemas/token-types/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@
"type": "object",
"properties": {
"value": {
"type": "string"
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"component": {
"type": "string"
Expand Down

0 comments on commit 7834c96

Please sign in to comment.