@canonical/design-system 0.1.1 → 0.1.2
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/.github/PULL_REQUEST_TEMPLATE.md +13 -0
- package/.github/workflows/ci.yml +39 -0
- package/.mcp.json +1 -3
- package/biome.json +1 -1
- package/bun.lock +38 -35
- package/data/apps_launchpad/component/badge.ttl +2 -1
- package/data/apps_launchpad/component/button.ttl +2 -1
- package/data/apps_launchpad/component/combobox.ttl +2 -1
- package/data/apps_launchpad/component/text_input.ttl +2 -1
- package/data/apps_launchpad/component/tooltip.ttl +2 -1
- package/data/global/component/announcement.ttl +1 -1
- package/data/global/component/button.ttl +3 -1
- package/data/global/component/code_snippet.ttl +1 -1
- package/data/global/component/heading.ttl +3 -2
- package/data/global/component/tile.ttl +1 -1
- package/data/global/component/tooltip.ttl +38 -19
- package/data/global/pattern/dropdown_button.ttl +1 -1
- package/data/global/pattern/timeline.ttl +8 -4
- package/definitions/ontology.ttl +108 -161
- package/package.json +1 -1
- package/skills/anatomy-author/SKILL.md +5 -0
- package/skills/component-specifier/SKILL.md +5 -2
- package/skills/design-auditor/SKILL.md +5 -0
- package/source.json +7 -2
- package/src/cli.ts +33 -33
- package/src/collect/generateTurtle.tests.ts +181 -176
- package/src/collect/generateTurtle.ts +189 -138
- package/src/collect/index.ts +5 -2
- package/src/collect/scanAnnotations.tests.ts +116 -110
- package/src/collect/scanAnnotations.ts +35 -33
- package/src/collect/types.ts +34 -33
- package/src/collect/validateCollectConfig.tests.ts +135 -112
- package/src/collect/validateCollectConfig.ts +60 -54
- package/src/collect-implementations.ts +101 -88
- package/src/commands/extract.tests.ts +31 -32
- package/src/commands/extract.ts +29 -27
- package/src/commands/index.ts +1 -1
- package/src/commands/list.tests.ts +13 -14
- package/src/commands/list.ts +9 -9
- package/src/commands/transform.tests.ts +21 -21
- package/src/commands/transform.ts +118 -114
- package/src/config/types.ts +40 -40
- package/src/config/validateConfig.tests.ts +31 -31
- package/src/config/validateConfig.ts +9 -9
- package/src/constants.ts +7 -8
- package/src/graph/GraphStore.tests.ts +111 -111
- package/src/graph/GraphStore.ts +205 -189
- package/src/graph/PrefixMap.tests.ts +124 -122
- package/src/graph/PrefixMap.ts +77 -77
- package/src/graph/buildUri.tests.ts +116 -116
- package/src/graph/buildUri.ts +45 -45
- package/src/graph/index.ts +2 -2
- package/src/graph/types.ts +3 -3
- package/src/providers/CodaProvider.tests.ts +233 -233
- package/src/providers/CodaProvider.ts +145 -145
- package/src/providers/CodaProvider.types.generated.ts +12484 -12123
- package/src/providers/index.ts +13 -13
- package/src/serializers/JSONSerializer.tests.ts +64 -64
- package/src/serializers/JSONSerializer.ts +51 -51
- package/src/serializers/TTLSerializer.tests.ts +45 -45
- package/src/serializers/TTLSerializer.ts +64 -57
- package/src/serializers/index.ts +4 -1
- package/src/serializers/types.ts +3 -3
- package/src/transform/resolveReferences.tests.ts +47 -43
- package/src/transform/resolveReferences.ts +18 -18
- package/src/transform/resolveValue.tests.ts +55 -49
- package/src/transform/resolveValue.ts +48 -48
- package/src/transform/transform.tests.ts +90 -77
- package/src/transform/transform.ts +77 -77
- package/src/transform/transformRow.tests.ts +372 -356
- package/src/transform/transformRow.ts +222 -191
- package/src/transform/types.ts +4 -4
- package/tsconfig.json +2 -1
- package/.gemini/settings.json +0 -14
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
|
|
3
|
+
[What this PR does and why]
|
|
4
|
+
|
|
5
|
+
## QA
|
|
6
|
+
|
|
7
|
+
- [Add QA steps]
|
|
8
|
+
|
|
9
|
+
### Checklist
|
|
10
|
+
|
|
11
|
+
- [ ] PR title follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format
|
|
12
|
+
- [ ] Code follows the [code standards](https://github.com/canonical/code-standards)
|
|
13
|
+
- [ ] `check`, `test` pass locally
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
pull-requests: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
check:
|
|
14
|
+
name: Lint and type-check
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- uses: oven-sh/setup-bun@v2
|
|
19
|
+
- run: bun install --frozen-lockfile
|
|
20
|
+
- run: bun run check
|
|
21
|
+
- run: bun run check:ts
|
|
22
|
+
|
|
23
|
+
test:
|
|
24
|
+
name: Test
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@v4
|
|
28
|
+
- uses: oven-sh/setup-bun@v2
|
|
29
|
+
- run: bun install --frozen-lockfile
|
|
30
|
+
- run: bun run test
|
|
31
|
+
|
|
32
|
+
pr-lint:
|
|
33
|
+
name: Validate PR title
|
|
34
|
+
if: github.event_name == 'pull_request'
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
steps:
|
|
37
|
+
- uses: amannn/action-semantic-pull-request@v6
|
|
38
|
+
env:
|
|
39
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/.mcp.json
CHANGED
package/biome.json
CHANGED
package/bun.lock
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"lockfileVersion": 1,
|
|
3
|
+
"configVersion": 0,
|
|
3
4
|
"workspaces": {
|
|
4
5
|
"": {
|
|
5
6
|
"name": "design-system",
|
|
6
7
|
"dependencies": {
|
|
7
8
|
"ajv": "^8.17.1",
|
|
8
9
|
"jsonld": "^9.0.0",
|
|
9
|
-
"n3": "^
|
|
10
|
+
"n3": "^2.0.1",
|
|
10
11
|
},
|
|
11
12
|
"devDependencies": {
|
|
12
|
-
"@biomejs/biome": "^2.3.
|
|
13
|
-
"@canonical/biome-config": "^0.
|
|
14
|
-
"@canonical/typescript-config-react": "^0.
|
|
13
|
+
"@biomejs/biome": "^2.3.14",
|
|
14
|
+
"@canonical/biome-config": "^0.12.0",
|
|
15
|
+
"@canonical/typescript-config-react": "^0.12.0",
|
|
15
16
|
"@types/bun": "latest",
|
|
16
17
|
"@types/jsonld": "^1.5.15",
|
|
17
18
|
"@types/n3": "^1.26.1",
|
|
18
|
-
"openapi-typescript": "^7.
|
|
19
|
-
"vite-tsconfig-paths": "^
|
|
20
|
-
"vitest": "^4.0.
|
|
19
|
+
"openapi-typescript": "^7.12.0",
|
|
20
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
21
|
+
"vitest": "^4.0.18",
|
|
21
22
|
},
|
|
22
23
|
},
|
|
23
24
|
},
|
|
@@ -26,29 +27,29 @@
|
|
|
26
27
|
|
|
27
28
|
"@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="],
|
|
28
29
|
|
|
29
|
-
"@biomejs/biome": ["@biomejs/biome@2.
|
|
30
|
+
"@biomejs/biome": ["@biomejs/biome@2.4.8", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.4.8", "@biomejs/cli-darwin-x64": "2.4.8", "@biomejs/cli-linux-arm64": "2.4.8", "@biomejs/cli-linux-arm64-musl": "2.4.8", "@biomejs/cli-linux-x64": "2.4.8", "@biomejs/cli-linux-x64-musl": "2.4.8", "@biomejs/cli-win32-arm64": "2.4.8", "@biomejs/cli-win32-x64": "2.4.8" }, "bin": { "biome": "bin/biome" } }, "sha512-ponn0oKOky1oRXBV+rlSaUlixUxf1aZvWC19Z41zBfUOUesthrQqL3OtiAlSB1EjFjyWpn98Q64DHelhA6jNlA=="],
|
|
30
31
|
|
|
31
|
-
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.
|
|
32
|
+
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.4.8", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ARx0tECE8I7S2C2yjnWYLNbBdDoPdq3oyNLhMglmuctThwUsuzFWRKrHmIGwIRWKz0Mat9DuzLEDp52hGnrxGQ=="],
|
|
32
33
|
|
|
33
|
-
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.
|
|
34
|
+
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.4.8", "", { "os": "darwin", "cpu": "x64" }, "sha512-Jg9/PsB9vDCJlANE8uhG7qDhb5w0Ix69D7XIIc8IfZPUoiPrbLm33k2Ig3NOJ/7nb3UbesFz3D1aDKm9DvzjhQ=="],
|
|
34
35
|
|
|
35
|
-
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.
|
|
36
|
+
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.4.8", "", { "os": "linux", "cpu": "arm64" }, "sha512-5CdrsJct76XG2hpKFwXnEtlT1p+4g4yV+XvvwBpzKsTNLO9c6iLlAxwcae2BJ7ekPGWjNGw9j09T5KGPKKxQig=="],
|
|
36
37
|
|
|
37
|
-
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.
|
|
38
|
+
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.4.8", "", { "os": "linux", "cpu": "arm64" }, "sha512-Zo9OhBQDJ3IBGPlqHiTISloo5H0+FBIpemqIJdW/0edJ+gEcLR+MZeZozcUyz3o1nXkVA7++DdRKQT0599j9jA=="],
|
|
38
39
|
|
|
39
|
-
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.
|
|
40
|
+
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.4.8", "", { "os": "linux", "cpu": "x64" }, "sha512-PdKXspVEaMCQLjtZCn6vfSck/li4KX9KGwSDbZdgIqlrizJ2MnMcE3TvHa2tVfXNmbjMikzcfJpuPWH695yJrw=="],
|
|
40
41
|
|
|
41
|
-
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.
|
|
42
|
+
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.4.8", "", { "os": "linux", "cpu": "x64" }, "sha512-Gi8quv8MEuDdKaPFtS2XjEnMqODPsRg6POT6KhoP+VrkNb+T2ywunVB+TvOU0LX1jAZzfBr+3V1mIbBhzAMKvw=="],
|
|
42
43
|
|
|
43
|
-
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.
|
|
44
|
+
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.4.8", "", { "os": "win32", "cpu": "arm64" }, "sha512-LoFatS0tnHv6KkCVpIy3qZCih+MxUMvdYiPWLHRri7mhi2vyOOs8OrbZBcLTUEWCS+ktO72nZMy4F96oMhkOHQ=="],
|
|
44
45
|
|
|
45
|
-
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.
|
|
46
|
+
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.4.8", "", { "os": "win32", "cpu": "x64" }, "sha512-vAn7iXDoUbqFXqVocuq1sMYAd33p8+mmurqJkWl6CtIhobd/O6moe4rY5AJvzbunn/qZCdiDVcveqtkFh1e7Hg=="],
|
|
46
47
|
|
|
47
|
-
"@canonical/biome-config": ["@canonical/biome-config@0.
|
|
48
|
+
"@canonical/biome-config": ["@canonical/biome-config@0.12.0", "", { "peerDependencies": { "@biomejs/biome": "2.3.11" } }, "sha512-xjNZpn8EcW8Y9dF8YmJb7OP7DvPF+H4rGiQSTpoNIEaDkoo1XHt9WZ4JNRmLxYoyiuLcmIoMQKu7/cYiK6mw8Q=="],
|
|
48
49
|
|
|
49
|
-
"@canonical/typescript-config-base": ["@canonical/typescript-config-base@0.
|
|
50
|
+
"@canonical/typescript-config-base": ["@canonical/typescript-config-base@0.12.0", "", { "peerDependencies": { "typescript": "^5.9.3" } }, "sha512-R2KJ2TniG+woMCt5vi0kzcKzZErwvSk3ETZkWEGpShWyo/MAPRAMx0oXweeXRlrErYURBdHqdMke4JprHEMZOQ=="],
|
|
50
51
|
|
|
51
|
-
"@canonical/typescript-config-react": ["@canonical/typescript-config-react@0.
|
|
52
|
+
"@canonical/typescript-config-react": ["@canonical/typescript-config-react@0.12.0", "", { "dependencies": { "@canonical/typescript-config-base": "^0.12.0" }, "peerDependencies": { "typescript": "^5.9.3" } }, "sha512-VpAd2Pz0Qdd2FBrKNeK89ueX4RcdCJ3tm3oIwPsekeTUEdWs+S5+MYY0Ywj/w0N9cB+AnDaSvsyZj1+PS6EUbA=="],
|
|
52
53
|
|
|
53
54
|
"@digitalbazaar/http-client": ["@digitalbazaar/http-client@4.2.0", "", { "dependencies": { "ky": "^1.7.5", "undici": "^6.21.2" } }, "sha512-OGju/GYp0V72qlZ/Pd4jGEwqBwT/Za/tw+Z3AC7lgMheGqsbhTZrtc5iLz9z59G/Q53QyE2fnjHV8N9wjBpiWA=="],
|
|
54
55
|
|
|
@@ -158,7 +159,7 @@
|
|
|
158
159
|
|
|
159
160
|
"@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.53.3", "", { "os": "win32", "cpu": "x64" }, "sha512-UhTd8u31dXadv0MopwGgNOBpUVROFKWVQgAg5N1ESyCz8AuBcMqm4AuTjrwgQKGDfoFuz02EuMRHQIw/frmYKQ=="],
|
|
160
161
|
|
|
161
|
-
"@standard-schema/spec": ["@standard-schema/spec@1.
|
|
162
|
+
"@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
|
162
163
|
|
|
163
164
|
"@types/bun": ["@types/bun@1.3.3", "", { "dependencies": { "bun-types": "1.3.3" } }, "sha512-ogrKbJ2X5N0kWLLFKeytG0eHDleBYtngtlbu9cyBKFtNL3cnpDZkNdQj8flVf6WTZUX5ulI9AY1oa7ljhSrp+g=="],
|
|
164
165
|
|
|
@@ -174,19 +175,19 @@
|
|
|
174
175
|
|
|
175
176
|
"@types/node": ["@types/node@24.10.1", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ=="],
|
|
176
177
|
|
|
177
|
-
"@vitest/expect": ["@vitest/expect@4.0
|
|
178
|
+
"@vitest/expect": ["@vitest/expect@4.1.0", "", { "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", "@vitest/spy": "4.1.0", "@vitest/utils": "4.1.0", "chai": "^6.2.2", "tinyrainbow": "^3.0.3" } }, "sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA=="],
|
|
178
179
|
|
|
179
|
-
"@vitest/mocker": ["@vitest/mocker@4.0
|
|
180
|
+
"@vitest/mocker": ["@vitest/mocker@4.1.0", "", { "dependencies": { "@vitest/spy": "4.1.0", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0-0" }, "optionalPeers": ["msw", "vite"] }, "sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw=="],
|
|
180
181
|
|
|
181
|
-
"@vitest/pretty-format": ["@vitest/pretty-format@4.0
|
|
182
|
+
"@vitest/pretty-format": ["@vitest/pretty-format@4.1.0", "", { "dependencies": { "tinyrainbow": "^3.0.3" } }, "sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A=="],
|
|
182
183
|
|
|
183
|
-
"@vitest/runner": ["@vitest/runner@4.0
|
|
184
|
+
"@vitest/runner": ["@vitest/runner@4.1.0", "", { "dependencies": { "@vitest/utils": "4.1.0", "pathe": "^2.0.3" } }, "sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ=="],
|
|
184
185
|
|
|
185
|
-
"@vitest/snapshot": ["@vitest/snapshot@4.0
|
|
186
|
+
"@vitest/snapshot": ["@vitest/snapshot@4.1.0", "", { "dependencies": { "@vitest/pretty-format": "4.1.0", "@vitest/utils": "4.1.0", "magic-string": "^0.30.21", "pathe": "^2.0.3" } }, "sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg=="],
|
|
186
187
|
|
|
187
|
-
"@vitest/spy": ["@vitest/spy@4.0
|
|
188
|
+
"@vitest/spy": ["@vitest/spy@4.1.0", "", {}, "sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw=="],
|
|
188
189
|
|
|
189
|
-
"@vitest/utils": ["@vitest/utils@4.0
|
|
190
|
+
"@vitest/utils": ["@vitest/utils@4.1.0", "", { "dependencies": { "@vitest/pretty-format": "4.1.0", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.0.3" } }, "sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw=="],
|
|
190
191
|
|
|
191
192
|
"abort-controller": ["abort-controller@3.0.0", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="],
|
|
192
193
|
|
|
@@ -212,15 +213,17 @@
|
|
|
212
213
|
|
|
213
214
|
"canonicalize": ["canonicalize@2.1.0", "", { "bin": { "canonicalize": "bin/canonicalize.js" } }, "sha512-F705O3xrsUtgt98j7leetNhTWPe+5S72rlL5O4jA1pKqBVQ/dT1O1D6PFxmSXvc0SUOinWS57DKx0I3CHrXJHQ=="],
|
|
214
215
|
|
|
215
|
-
"chai": ["chai@6.2.
|
|
216
|
+
"chai": ["chai@6.2.2", "", {}, "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg=="],
|
|
216
217
|
|
|
217
218
|
"change-case": ["change-case@5.4.4", "", {}, "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w=="],
|
|
218
219
|
|
|
219
220
|
"colorette": ["colorette@1.4.0", "", {}, "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g=="],
|
|
220
221
|
|
|
222
|
+
"convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],
|
|
223
|
+
|
|
221
224
|
"debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
|
|
222
225
|
|
|
223
|
-
"es-module-lexer": ["es-module-lexer@
|
|
226
|
+
"es-module-lexer": ["es-module-lexer@2.0.0", "", {}, "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw=="],
|
|
224
227
|
|
|
225
228
|
"esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],
|
|
226
229
|
|
|
@@ -230,7 +233,7 @@
|
|
|
230
233
|
|
|
231
234
|
"events": ["events@3.3.0", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="],
|
|
232
235
|
|
|
233
|
-
"expect-type": ["expect-type@1.
|
|
236
|
+
"expect-type": ["expect-type@1.3.0", "", {}, "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA=="],
|
|
234
237
|
|
|
235
238
|
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
|
236
239
|
|
|
@@ -268,13 +271,13 @@
|
|
|
268
271
|
|
|
269
272
|
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
|
270
273
|
|
|
271
|
-
"n3": ["n3@
|
|
274
|
+
"n3": ["n3@2.0.3", "", { "dependencies": { "buffer": "^6.0.3", "readable-stream": "^4.0.0" } }, "sha512-um/toGVENTarHBYIK2TdH6ByBhW75WpdKpv8iTYt9wF2QfBk8s8a16iaWZFUAAC1BKfGdb99kfgx6pltdDwfKA=="],
|
|
272
275
|
|
|
273
276
|
"nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="],
|
|
274
277
|
|
|
275
278
|
"obug": ["obug@2.1.1", "", {}, "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ=="],
|
|
276
279
|
|
|
277
|
-
"openapi-typescript": ["openapi-typescript@7.
|
|
280
|
+
"openapi-typescript": ["openapi-typescript@7.13.0", "", { "dependencies": { "@redocly/openapi-core": "^1.34.6", "ansi-colors": "^4.1.3", "change-case": "^5.4.4", "parse-json": "^8.3.0", "supports-color": "^10.2.2", "yargs-parser": "^21.1.1" }, "peerDependencies": { "typescript": "^5.x" }, "bin": { "openapi-typescript": "bin/cli.js" } }, "sha512-EFP392gcqXS7ntPvbhBzbF8TyBA+baIYEm791Hy5YkjDYKTnk/Tn5OQeKm5BIZvJihpp8Zzr4hzx0Irde1LNGQ=="],
|
|
278
281
|
|
|
279
282
|
"parse-json": ["parse-json@8.3.0", "", { "dependencies": { "@babel/code-frame": "^7.26.2", "index-to-position": "^1.1.0", "type-fest": "^4.39.1" } }, "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ=="],
|
|
280
283
|
|
|
@@ -308,7 +311,7 @@
|
|
|
308
311
|
|
|
309
312
|
"stackback": ["stackback@0.0.2", "", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="],
|
|
310
313
|
|
|
311
|
-
"std-env": ["std-env@
|
|
314
|
+
"std-env": ["std-env@4.0.0", "", {}, "sha512-zUMPtQ/HBY3/50VbpkupYHbRroTRZJPRLvreamgErJVys0ceuzMkD44J/QjqhHjOzK42GQ3QZIeFG1OYfOtKqQ=="],
|
|
312
315
|
|
|
313
316
|
"string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="],
|
|
314
317
|
|
|
@@ -334,9 +337,9 @@
|
|
|
334
337
|
|
|
335
338
|
"vite": ["vite@7.2.6", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", "tinyglobby": "^0.2.15" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "jiti": ">=1.21.0", "less": "^4.0.0", "lightningcss": "^1.21.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-tI2l/nFHC5rLh7+5+o7QjKjSR04ivXDF4jcgV0f/bTQ+OJiITy5S6gaynVsEM+7RqzufMnVbIon6Sr5x1SDYaQ=="],
|
|
336
339
|
|
|
337
|
-
"vite-tsconfig-paths": ["vite-tsconfig-paths@
|
|
340
|
+
"vite-tsconfig-paths": ["vite-tsconfig-paths@6.1.1", "", { "dependencies": { "debug": "^4.1.1", "globrex": "^0.1.2", "tsconfck": "^3.0.3" }, "peerDependencies": { "vite": "*" } }, "sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg=="],
|
|
338
341
|
|
|
339
|
-
"vitest": ["vitest@4.0
|
|
342
|
+
"vitest": ["vitest@4.1.0", "", { "dependencies": { "@vitest/expect": "4.1.0", "@vitest/mocker": "4.1.0", "@vitest/pretty-format": "4.1.0", "@vitest/runner": "4.1.0", "@vitest/snapshot": "4.1.0", "@vitest/spy": "4.1.0", "@vitest/utils": "4.1.0", "es-module-lexer": "^2.0.0", "expect-type": "^1.3.0", "magic-string": "^0.30.21", "obug": "^2.1.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "std-env": "^4.0.0-rc.1", "tinybench": "^2.9.0", "tinyexec": "^1.0.2", "tinyglobby": "^0.2.15", "tinyrainbow": "^3.0.3", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0-0", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "4.1.0", "@vitest/browser-preview": "4.1.0", "@vitest/browser-webdriverio": "4.1.0", "@vitest/ui": "4.1.0", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw=="],
|
|
340
343
|
|
|
341
344
|
"why-is-node-running": ["why-is-node-running@2.3.0", "", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="],
|
|
342
345
|
|
|
@@ -18,5 +18,6 @@ ds:apps_launchpad.component.badge a ds:Component;
|
|
|
18
18
|
ds:summary "The variant of the button.";
|
|
19
19
|
ds:propertyType "choice";
|
|
20
20
|
ds:optional "true";
|
|
21
|
-
ds:defaultValue "secondary"
|
|
21
|
+
ds:defaultValue "secondary";
|
|
22
|
+
ds:constraints "primary, secondary, tertiary, danger"
|
|
22
23
|
].
|
|
@@ -18,7 +18,8 @@ ds:apps_launchpad.component.button a ds:Component;
|
|
|
18
18
|
ds:summary "The variant of the button.";
|
|
19
19
|
ds:propertyType "choice";
|
|
20
20
|
ds:optional "true";
|
|
21
|
-
ds:defaultValue "secondary"
|
|
21
|
+
ds:defaultValue "secondary";
|
|
22
|
+
ds:constraints "primary, secondary, tertiary, danger"
|
|
22
23
|
], [
|
|
23
24
|
a ds:Property;
|
|
24
25
|
ds:name "disabled";
|
|
@@ -28,7 +28,8 @@ ds:apps_launchpad.component.combobox a ds:Component;
|
|
|
28
28
|
ds:summary "Selects the tooltip variant";
|
|
29
29
|
ds:propertyType "choice";
|
|
30
30
|
ds:optional "false";
|
|
31
|
-
ds:defaultValue "Standard"
|
|
31
|
+
ds:defaultValue "Standard";
|
|
32
|
+
ds:constraints "Standard\nDense\nWrapper\nData"
|
|
32
33
|
], [
|
|
33
34
|
a ds:Property;
|
|
34
35
|
ds:name "aria-busy";
|
|
@@ -31,5 +31,6 @@ ds:apps_launchpad.component.text_input a ds:Component;
|
|
|
31
31
|
ds:summary "Selects the tooltip variant";
|
|
32
32
|
ds:propertyType "choice";
|
|
33
33
|
ds:optional "false";
|
|
34
|
-
ds:defaultValue "Standard"
|
|
34
|
+
ds:defaultValue "Standard";
|
|
35
|
+
ds:constraints "Standard\nDense\nWrapper\nData"
|
|
35
36
|
].
|
|
@@ -16,7 +16,8 @@ ds:apps_launchpad.component.tooltip a ds:Component;
|
|
|
16
16
|
ds:summary "Preferred placement relative to trigger";
|
|
17
17
|
ds:propertyType "choice";
|
|
18
18
|
ds:optional "false";
|
|
19
|
-
ds:defaultValue "Auto"
|
|
19
|
+
ds:defaultValue "Auto";
|
|
20
|
+
ds:constraints "Left\nRight\nUp\nDown"
|
|
20
21
|
], [
|
|
21
22
|
a ds:Property;
|
|
22
23
|
ds:name "delay";
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
ds:global.component.announcement a ds:Component;
|
|
4
4
|
ds:name "Announcement";
|
|
5
|
-
ds:summary "a
|
|
5
|
+
ds:summary "An announcement is a persistent, high-visibility UI block used to communicate time-sensitive or critical contextual information directly within a page. These are not triggered by specific system or user events, instead they are non-transient call-outs used for broad organizational updates, compliance warnings, or upcoming deadlines.";
|
|
6
6
|
ds:anatomyDsl "---\nnode:\n uri: global.component.announcement\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: center\n layout.justify: center\n size.width: fill\n spacing.internal: spacing/medium\n appearance.background: color/surface/announcement\n edges:\n - node:\n role: message\n styles:\n typography.size: font/size/small\n typography.color: color/text/on-announcement\n relation:\n cardinality: \"1\"\n slotName: default";
|
|
7
7
|
ds:tier ds:global.
|
|
@@ -19,12 +19,14 @@ ds:global.component.button a ds:Component;
|
|
|
19
19
|
a ds:Property;
|
|
20
20
|
ds:name "anticipation";
|
|
21
21
|
ds:propertyType "choice";
|
|
22
|
-
ds:optional "false"
|
|
22
|
+
ds:optional "false";
|
|
23
|
+
ds:constraints "Should affect background color, border and text color\n(or)\nFully specify the token mapping"
|
|
23
24
|
], [
|
|
24
25
|
a ds:Property;
|
|
25
26
|
ds:name "variantSpecial";
|
|
26
27
|
ds:propertyType "choice";
|
|
27
28
|
ds:optional "false";
|
|
29
|
+
ds:constraints "[default, special, exceptional]";
|
|
28
30
|
ds:defaultValue "default"
|
|
29
31
|
];
|
|
30
32
|
ds:hasModifierFamily ds:global.modifier_family.anticipation, ds:global.modifier_family.importance.
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
ds:global.component.code_snippet a ds:Component;
|
|
4
4
|
ds:name "CodeSnippet";
|
|
5
|
-
ds:summary "";
|
|
5
|
+
ds:summary "The code snippet component displays multi-line or complex code, commands, and technical content that requires distinct visual treatment from surrounding content. This covers full code files, terminal commands, and their output. It supports showing code in multiple languages and different versions of a product or library. For single-line code, use the Code component's inline variant instead.";
|
|
6
6
|
ds:anatomyDsl "---\nnode:\n uri: global.component.code_snippet\n styles:\n layout.type: stack\n layout.direction: vertical\n appearance.background: color/surface/code\n appearance.radius: radius/code\n appearance.border: border/style/code\n edges:\n - node:\n uri: global.subcomponent.code_snippet-header\n relation:\n cardinality: \"0..1\"\n slotName: header\n - node:\n uri: global.subcomponent.code_snippet-content\n relation:\n cardinality: \"1\"\n slotName: default";
|
|
7
7
|
ds:tier ds:global.
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
ds:global.component.heading a ds:Component;
|
|
4
4
|
ds:name "Heading";
|
|
5
|
-
ds:summary "The heading component is used to
|
|
5
|
+
ds:summary "The heading component is used to signify the hierarchical structure of a page serving as titles for different segments of the page such as entire page, section or blocks (when applicable). It breaks up content into digestible parts, helping users scan the interface and understand the relationship between different blocks of information, relying on hierarchy. ";
|
|
6
6
|
ds:anatomyDsl "---\nnode:\n uri: global.component.heading\n styles:\n typography.weight: font/weight/bold\n typography.color: color/text/heading\n edges:\n - switch:\n on: props\n cases:\n - node:\n role: h1\n styles:\n typography.size: font/size/heading/1\n spacing.margin.bottom: spacing/heading/1\n - node:\n role: h2\n styles:\n typography.size: font/size/heading/2\n spacing.margin.bottom: spacing/heading/2\n - node:\n role: h3\n styles:\n typography.size: font/size/heading/3\n spacing.margin.bottom: spacing/heading/3\n - node:\n role: h4\n styles:\n typography.size: font/size/heading/4\n spacing.margin.bottom: spacing/heading/4\n - node:\n role: h5\n styles:\n typography.size: font/size/heading/5\n spacing.margin.bottom: spacing/heading/5\n - node:\n role: h6\n styles:\n typography.size: font/size/heading/6\n spacing.margin.bottom: spacing/heading/6\n relation:\n cardinality: \"1\"";
|
|
7
7
|
ds:tier ds:global;
|
|
8
8
|
ds:hasProperty [
|
|
9
9
|
a ds:Property;
|
|
10
10
|
ds:name "importance";
|
|
11
11
|
ds:propertyType "number";
|
|
12
|
-
ds:optional "false"
|
|
12
|
+
ds:optional "false";
|
|
13
|
+
ds:constraints "1 to 6"
|
|
13
14
|
].
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
ds:global.component.tile a ds:Component;
|
|
4
4
|
ds:name "Tile";
|
|
5
|
-
ds:summary "The tile component is a flexible container for information or actions that is meant to be grouped together but does not repeat the same structure. It acts as a container that creates a clear boundary between different pieces of content, making complex layouts easier to scan and organize. It is often used for dashboards, “Bento box” navigation, and rich media layouts.\
|
|
5
|
+
ds:summary "The tile component is a flexible container for information or actions that is meant to be grouped together but does not repeat the same structure. It acts as a container that creates a clear boundary between different pieces of content, making complex layouts easier to scan and organize. It is often used for dashboards, “Bento box” navigation, and rich media layouts.\nFor information that repeats its structure and belongs in a series, use Card instead.";
|
|
6
6
|
ds:anatomyDsl "---\nnode:\n uri: global.component.tile\n styles:\n layout.type: stack\n layout.direction: vertical\n interaction.cursor: pointer\n appearance.background: color/surface/tile\n appearance.radius: radius/tile\n edges:\n - node:\n uri: global.subcomponent.tile-header\n relation:\n cardinality: \"0..1\"\n slotName: header\n - node:\n uri: global.subcomponent.tile-content\n relation:\n cardinality: \"1\"\n slotName: default\n\n";
|
|
7
7
|
ds:tier ds:global;
|
|
8
8
|
ds:hasProperty [
|
|
@@ -15,14 +15,16 @@ ds:global.component.tooltip a ds:Component;
|
|
|
15
15
|
ds:summary "Selects the tooltip variant";
|
|
16
16
|
ds:optional "false";
|
|
17
17
|
ds:propertyType "choice";
|
|
18
|
-
ds:defaultValue "Standard"
|
|
18
|
+
ds:defaultValue "Standard";
|
|
19
|
+
ds:constraints "Standard\nDense\nWrapper\nData"
|
|
19
20
|
], [
|
|
20
21
|
a ds:Property;
|
|
21
22
|
ds:name "Surround UI theme";
|
|
22
23
|
ds:summary "Sets tooltip theme based on surrounding UI context";
|
|
23
24
|
ds:optional "false";
|
|
24
25
|
ds:propertyType "choice";
|
|
25
|
-
ds:defaultValue "Paper"
|
|
26
|
+
ds:defaultValue "Paper";
|
|
27
|
+
ds:constraints "Paper\nDark"
|
|
26
28
|
], [
|
|
27
29
|
a ds:Property;
|
|
28
30
|
ds:name "Standard tooltip";
|
|
@@ -39,14 +41,16 @@ ds:global.component.tooltip a ds:Component;
|
|
|
39
41
|
ds:summary "Sets arrow orientation";
|
|
40
42
|
ds:optional "false";
|
|
41
43
|
ds:propertyType "choice";
|
|
42
|
-
ds:defaultValue "Left"
|
|
44
|
+
ds:defaultValue "Left";
|
|
45
|
+
ds:constraints "Left\nRight\nUp\nDown"
|
|
43
46
|
], [
|
|
44
47
|
a ds:Property;
|
|
45
48
|
ds:name "Max width";
|
|
46
49
|
ds:summary "Maximum width of tooltip container";
|
|
47
50
|
ds:optional "false";
|
|
48
51
|
ds:propertyType "number";
|
|
49
|
-
ds:defaultValue "284"
|
|
52
|
+
ds:defaultValue "284";
|
|
53
|
+
ds:constraints "px"
|
|
50
54
|
], [
|
|
51
55
|
a ds:Property;
|
|
52
56
|
ds:name "Dense tooltip";
|
|
@@ -57,14 +61,16 @@ ds:global.component.tooltip a ds:Component;
|
|
|
57
61
|
ds:summary "Preferred placement relative to trigger";
|
|
58
62
|
ds:optional "false";
|
|
59
63
|
ds:propertyType "choice";
|
|
60
|
-
ds:defaultValue "Auto"
|
|
64
|
+
ds:defaultValue "Auto";
|
|
65
|
+
ds:constraints "Left\nRight\nUp\nDown"
|
|
61
66
|
], [
|
|
62
67
|
a ds:Property;
|
|
63
68
|
ds:name "Max width";
|
|
64
69
|
ds:summary "Maximum width of tooltip container";
|
|
65
70
|
ds:optional "false";
|
|
66
71
|
ds:propertyType "number";
|
|
67
|
-
ds:defaultValue "284"
|
|
72
|
+
ds:defaultValue "284";
|
|
73
|
+
ds:constraints "px"
|
|
68
74
|
], [
|
|
69
75
|
a ds:Property;
|
|
70
76
|
ds:name "Wrapper tooltip";
|
|
@@ -79,14 +85,16 @@ ds:global.component.tooltip a ds:Component;
|
|
|
79
85
|
ds:summary "Preferred placement relative to trigger";
|
|
80
86
|
ds:optional "false";
|
|
81
87
|
ds:propertyType "choice";
|
|
82
|
-
ds:defaultValue "Auto"
|
|
88
|
+
ds:defaultValue "Auto";
|
|
89
|
+
ds:constraints "Left\nRight\nUp\nDown"
|
|
83
90
|
], [
|
|
84
91
|
a ds:Property;
|
|
85
92
|
ds:name "Max width";
|
|
86
93
|
ds:summary "Maximum width of tooltip container";
|
|
87
94
|
ds:optional "false";
|
|
88
95
|
ds:propertyType "number";
|
|
89
|
-
ds:defaultValue "284"
|
|
96
|
+
ds:defaultValue "284";
|
|
97
|
+
ds:constraints "px"
|
|
90
98
|
], [
|
|
91
99
|
a ds:Property;
|
|
92
100
|
ds:name "Wrapper item";
|
|
@@ -97,7 +105,8 @@ ds:global.component.tooltip a ds:Component;
|
|
|
97
105
|
ds:summary "Selects which content block appears in this wrapper row";
|
|
98
106
|
ds:optional "false";
|
|
99
107
|
ds:propertyType "element";
|
|
100
|
-
ds:defaultValue "none"
|
|
108
|
+
ds:defaultValue "none";
|
|
109
|
+
ds:constraints "Text\nImage\nCTA\nTable\nChart legend\nKVP"
|
|
101
110
|
], [
|
|
102
111
|
a ds:Property;
|
|
103
112
|
ds:name "Key-value pair (when selected as wrapper item)";
|
|
@@ -108,21 +117,24 @@ ds:global.component.tooltip a ds:Component;
|
|
|
108
117
|
ds:summary "Whether value is single or multi-entry";
|
|
109
118
|
ds:optional "false";
|
|
110
119
|
ds:propertyType "choice";
|
|
111
|
-
ds:defaultValue "Single"
|
|
120
|
+
ds:defaultValue "Single";
|
|
121
|
+
ds:constraints "Single\nMulti"
|
|
112
122
|
], [
|
|
113
123
|
a ds:Property;
|
|
114
124
|
ds:name "Value layout";
|
|
115
125
|
ds:summary "How value is arranged visually";
|
|
116
126
|
ds:optional "false";
|
|
117
127
|
ds:propertyType "choice";
|
|
118
|
-
ds:defaultValue "Inline"
|
|
128
|
+
ds:defaultValue "Inline";
|
|
129
|
+
ds:constraints "Inline\nStacked"
|
|
119
130
|
], [
|
|
120
131
|
a ds:Property;
|
|
121
132
|
ds:name "Layout";
|
|
122
133
|
ds:summary "Layout control. Not for users.";
|
|
123
134
|
ds:optional "false";
|
|
124
135
|
ds:propertyType "choice";
|
|
125
|
-
ds:defaultValue "Horizontal"
|
|
136
|
+
ds:defaultValue "Horizontal";
|
|
137
|
+
ds:constraints "Horizontal\nVertical"
|
|
126
138
|
], [
|
|
127
139
|
a ds:Property;
|
|
128
140
|
ds:name "Data tooltip";
|
|
@@ -133,21 +145,24 @@ ds:global.component.tooltip a ds:Component;
|
|
|
133
145
|
ds:summary "Shows legend header";
|
|
134
146
|
ds:optional "true";
|
|
135
147
|
ds:propertyType "boolean";
|
|
136
|
-
ds:defaultValue "Yes"
|
|
148
|
+
ds:defaultValue "Yes";
|
|
149
|
+
ds:constraints "Yes\nNo"
|
|
137
150
|
], [
|
|
138
151
|
a ds:Property;
|
|
139
152
|
ds:name "Indicator";
|
|
140
153
|
ds:summary "Shows colour marker matching chart encoding";
|
|
141
154
|
ds:optional "true";
|
|
142
155
|
ds:propertyType "boolean";
|
|
143
|
-
ds:defaultValue "Yes"
|
|
156
|
+
ds:defaultValue "Yes";
|
|
157
|
+
ds:constraints "Yes\nNo"
|
|
144
158
|
], [
|
|
145
159
|
a ds:Property;
|
|
146
160
|
ds:name "Show cursor";
|
|
147
161
|
ds:summary "Tooltip follows cursor instead of anchoring to trigger";
|
|
148
162
|
ds:optional "false";
|
|
149
163
|
ds:propertyType "boolean";
|
|
150
|
-
ds:defaultValue "Yes"
|
|
164
|
+
ds:defaultValue "Yes";
|
|
165
|
+
ds:constraints "Yes\nNo"
|
|
151
166
|
], [
|
|
152
167
|
a ds:Property;
|
|
153
168
|
ds:name "Cursor animation (framer)";
|
|
@@ -158,26 +173,30 @@ ds:global.component.tooltip a ds:Component;
|
|
|
158
173
|
ds:summary "Cursor-follow placement direction";
|
|
159
174
|
ds:optional "false";
|
|
160
175
|
ds:propertyType "choice";
|
|
161
|
-
ds:defaultValue "Right"
|
|
176
|
+
ds:defaultValue "Right";
|
|
177
|
+
ds:constraints "Right"
|
|
162
178
|
], [
|
|
163
179
|
a ds:Property;
|
|
164
180
|
ds:name "cursorFollow.offsetX";
|
|
165
181
|
ds:summary "Horizontal offset from cursor";
|
|
166
182
|
ds:optional "false";
|
|
167
183
|
ds:propertyType "number";
|
|
168
|
-
ds:defaultValue "16"
|
|
184
|
+
ds:defaultValue "16";
|
|
185
|
+
ds:constraints "px"
|
|
169
186
|
], [
|
|
170
187
|
a ds:Property;
|
|
171
188
|
ds:name "cursorFollow.offsetY";
|
|
172
189
|
ds:summary "Vertical offset from cursor";
|
|
173
190
|
ds:optional "false";
|
|
174
191
|
ds:propertyType "number";
|
|
175
|
-
ds:defaultValue "8"
|
|
192
|
+
ds:defaultValue "8";
|
|
193
|
+
ds:constraints "px"
|
|
176
194
|
], [
|
|
177
195
|
a ds:Property;
|
|
178
196
|
ds:name "Motion feel";
|
|
179
197
|
ds:summary "High-level motion tuning preset";
|
|
180
198
|
ds:optional "true";
|
|
181
199
|
ds:propertyType "choice";
|
|
182
|
-
ds:defaultValue "Snappy"
|
|
200
|
+
ds:defaultValue "Snappy";
|
|
201
|
+
ds:constraints "Snappy\nNo-bounce"
|
|
183
202
|
].
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
ds:global.pattern.dropdown_button a ds:Pattern;
|
|
4
4
|
ds:name "DropdownButton";
|
|
5
|
-
ds:summary "";
|
|
5
|
+
ds:summary "A Dropdown Button is a specialized button that includes a persistent chevron icon to indicate nested functionality. Unlike standard Buttons that execute a single, immediate action, the Dropdown Button reveals a contextually relevant menu of options or controls. This visual cue ensures users understand that an interaction will expand the interface to provide further choices rather than triggering an instantaneous system change.\n\n";
|
|
6
6
|
ds:anatomyDsl "";
|
|
7
7
|
ds:tier ds:global.
|